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
@@ -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();
14
- }
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
-
26
- return (this._values[key] = value)
27
- };
28
-
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
- }
66
-
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
- };
105
-
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
- }
117
-
118
- function split(path) {
119
- return path.match(SPLIT_REGEX) || ['']
120
- }
121
-
122
- function forEach(parts, iter, thisArg) {
123
- var len = parts.length,
124
- part,
125
- idx,
126
- isArray,
127
- isBracket;
128
-
129
- for (idx = 0; idx < len; idx++) {
130
- part = parts[idx];
131
-
132
- if (part) {
133
- if (shouldBeQuoted(part)) {
134
- part = '"' + part + '"';
135
- }
136
-
137
- isBracket = isQuoted(part);
138
- isArray = !isBracket && /^\d+$/.test(part);
139
-
140
- iter.call(thisArg, part, isBracket, isArray, idx, parts);
141
- }
142
- }
143
- }
144
-
145
- function isQuoted(str) {
146
- return (
147
- typeof str === 'string' && str && ["'", '"'].indexOf(str.charAt(0)) !== -1
148
- )
149
- }
150
-
151
- function hasLeadingNumber(part) {
152
- return part.match(LEAD_DIGIT_REGEX) && !part.match(DIGIT_REGEX)
153
- }
154
-
155
- function hasSpecialChars(part) {
156
- return SPEC_CHAR_REGEX.test(part)
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;
157
174
  }
158
175
 
159
- function shouldBeQuoted(part) {
160
- return !isQuoted(part) && (hasLeadingNumber(part) || hasSpecialChars(part))
161
- }
162
-
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);
176
+ var propertyExprExports = requirePropertyExpr();
168
177
 
169
- const join = (str, d) => words(str).join(d).toLowerCase();
178
+ var tinyCase;
179
+ var hasRequiredTinyCase;
170
180
 
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
+ 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;
181
185
 
182
- const pascalCase = (str) => upperFirst(camelCase(str));
186
+ const words = (str) => str.match(reWords) || [];
183
187
 
184
- const snakeCase = (str) => join(str, '_');
188
+ const upperFirst = (str) => str[0].toUpperCase() + str.slice(1);
185
189
 
186
- const kebabCase = (str) => join(str, '-');
190
+ const join = (str, d) => words(str).join(d).toLowerCase();
187
191
 
188
- const sentenceCase = (str) => upperFirst(join(str, ' '));
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
+ );
189
202
 
190
- const titleCase = (str) => words(str).map(upperFirst).join(' ');
203
+ const pascalCase = (str) => upperFirst(camelCase(str));
191
204
 
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
- }
205
+ const snakeCase = (str) => join(str, '_');
254
206
 
255
- if (visited[i]) return;
256
- visited[i] = true;
207
+ const kebabCase = (str) => join(str, '-');
257
208
 
258
- var outgoing = outgoingEdges.get(node) || new Set();
259
- outgoing = Array.from(outgoing);
209
+ const sentenceCase = (str) => upperFirst(join(str, ' '));
260
210
 
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
- }
211
+ const titleCase = (str) => words(str).map(upperFirst).join(' ');
269
212
 
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)
213
+ tinyCase = {
214
+ words,
215
+ upperFirst,
216
+ camelCase,
217
+ pascalCase,
218
+ snakeCase,
219
+ kebabCase,
220
+ sentenceCase,
221
+ titleCase,
222
+ };
223
+ return tinyCase;
282
224
  }
283
225
 
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
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;
301
333
  }
302
334
 
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,44 @@ class ObjectSchema extends Schema {
2131
2164
  }
2132
2165
  create$3.prototype = ObjectSchema.prototype;
2133
2166
 
2134
- const version = "0.0.89";
2167
+ function yupTypeMapper(keys) {
2168
+ const shape = keys.reduce((acc, key) => {
2169
+ acc[key] = create$6().required().default('');
2170
+ return acc;
2171
+ }, {});
2172
+ return create$3(shape);
2173
+ }
2174
+
2175
+ const globalSchema = yupTypeMapper(['lang', 'direction', 'language', 'noData']);
2176
+
2177
+ const errorsSchema = yupTypeMapper([
2178
+ 'noBaseUrl',
2179
+ 'invalidVin',
2180
+ 'vinNumberRequired',
2181
+ 'partNumberRequired',
2182
+ 'wrongResponseFormat',
2183
+ 'noPartsFound',
2184
+ 'noServiceAvailable',
2185
+ 'wrongFormStructure',
2186
+ 'wildCard',
2187
+ 'requestFailedPleaseTryAgainLater',
2188
+ ]);
2189
+
2190
+ const sharedLocalesSchema = create$3({
2191
+ errors: errorsSchema,
2192
+ }).concat(globalSchema);
2193
+ const ARABIC_JSON_FILE = 'ar.json';
2194
+ const ENGLISH_JSON_FILE = 'en.json';
2195
+ const KURDISH_JSON_FILE = 'ku.json';
2196
+ const RUSSIAN_JSON_FILE = 'ru.json';
2197
+ const languageMapper = {
2198
+ ar: ARABIC_JSON_FILE,
2199
+ en: ENGLISH_JSON_FILE,
2200
+ ku: KURDISH_JSON_FILE,
2201
+ ru: RUSSIAN_JSON_FILE,
2202
+ };
2203
+
2204
+ const version = "0.0.91";
2135
2205
 
2136
2206
  // This file is auto-generated. Do not edit it manually.
2137
2207
  // Use command: yarn generate-locale-mapper
@@ -2175,14 +2245,14 @@ const localeMapper = {
2175
2245
  ],
2176
2246
  "vehicleLookup": [
2177
2247
  "locales/vehicleLookup/accessories/",
2178
- "locales/vehicleLookup/dynamicClaim/",
2248
+ "locales/vehicleLookup/claimableItems/",
2179
2249
  "locales/vehicleLookup/paintThickness/",
2180
2250
  "locales/vehicleLookup/serviceHistory/",
2181
2251
  "locales/vehicleLookup/specification/",
2182
2252
  "locales/vehicleLookup/warranty/"
2183
2253
  ],
2184
- "vehicleLookup.dynamicClaim": [
2185
- "locales/vehicleLookup/dynamicClaim/"
2254
+ "vehicleLookup.claimableItems": [
2255
+ "locales/vehicleLookup/claimableItems/"
2186
2256
  ],
2187
2257
  "vehicleLookup.paintThickness": [
2188
2258
  "locales/vehicleLookup/paintThickness/"
@@ -2201,43 +2271,6 @@ const localeMapper = {
2201
2271
  ]
2202
2272
  };
2203
2273
 
2204
- const ARABIC_JSON_FILE = 'ar.json';
2205
- const ENGLISH_JSON_FILE = 'en.json';
2206
- const KURDISH_JSON_FILE = 'ku.json';
2207
- const RUSSIAN_JSON_FILE = 'ru.json';
2208
- const languageMapper = {
2209
- ar: ARABIC_JSON_FILE,
2210
- en: ENGLISH_JSON_FILE,
2211
- ku: KURDISH_JSON_FILE,
2212
- ru: RUSSIAN_JSON_FILE,
2213
- };
2214
-
2215
- function yupTypeMapper(keys) {
2216
- const shape = keys.reduce((acc, key) => {
2217
- acc[key] = create$6().required().default('');
2218
- return acc;
2219
- }, {});
2220
- return create$3(shape);
2221
- }
2222
-
2223
- const globalSchema = yupTypeMapper(['lang', 'direction', 'language', 'noData']);
2224
-
2225
- const errorsSchema = yupTypeMapper([
2226
- 'noBaseUrl',
2227
- 'invalidVin',
2228
- 'vinNumberRequired',
2229
- 'partNumberRequired',
2230
- 'wrongResponseFormat',
2231
- 'noPartsFound',
2232
- 'noServiceAvailable',
2233
- 'wrongFormStructure',
2234
- 'wildCard',
2235
- 'requestFailedPleaseTryAgainLater',
2236
- ]);
2237
-
2238
- const sharedLocalesSchema = create$3({
2239
- errors: errorsSchema,
2240
- }).concat(globalSchema);
2241
2274
  const cachedLocales = {};
2242
2275
  async function getSharedLocal(languageKey) {
2243
2276
  const [errors, globalKeys] = await Promise.all([getLocaleLanguage(languageKey, 'errors', errorsSchema), getLocaleLanguage(languageKey, '-', globalSchema)]);
@@ -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 };