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,151 +4,106 @@
4
4
  */
5
5
  import { Host, h } from "@stencil/core";
6
6
  import cn from "../../global/lib/cn";
7
- import { getLocaleLanguage, getSharedLocal, sharedLocalesSchema } from "../../global/lib/get-local-language";
8
- import { getPartInformation } from "../../global/api/partInformation";
7
+ import { MaterialCard, MaterialCardChildren } from "../components/material-card";
9
8
  import distributerSchema from "../../locales/partLookup/distributor/type";
10
- let mockData = {};
9
+ import { VehicleInfoLayout } from "../../features/vehicle-info-layout/index";
10
+ import { setPartLookupData, setPartLookupErrorState } from "../../features/part-lookup-components/index";
11
+ import { getLocaleLanguage, getSharedLocal, sharedLocalesSchema } from "../../features/multi-lingual/index";
11
12
  export class DistributorLookup {
12
13
  constructor() {
13
- this.baseUrl = '';
14
- this.isDev = false;
14
+ // ====== Start Localization
15
+ this.language = 'en';
16
+ this.locale = Object.assign({ sharedLocales: sharedLocalesSchema.getDefault() }, distributerSchema.getDefault());
17
+ // ====== End Localization
18
+ // ====== Start Vehicle info layout prop
19
+ this.coreOnly = false;
20
+ this.headers = {};
15
21
  this.queryString = '';
22
+ this.isError = false;
23
+ this.isLoading = false;
24
+ // ====== End Part Lookup Component Shared Logic
25
+ // ===== Start Component Logic
16
26
  this.hiddenFields = '';
17
- this.language = 'en';
18
27
  this.localizationName = '';
19
- this.errorCallback = undefined;
20
- this.loadingStateChange = undefined;
21
- this.loadedResponse = undefined;
22
- this.state = 'idle';
23
- this.errorMessage = null;
24
- this.partInformation = undefined;
25
- this.externalPartNumber = null;
26
- this.sharedLocales = sharedLocalesSchema.getDefault();
27
- this.locale = distributerSchema.getDefault();
28
28
  }
29
29
  async componentWillLoad() {
30
30
  await this.changeLanguage(this.language);
31
31
  }
32
32
  async changeLanguage(newLanguage) {
33
- const localeResponses = await Promise.all([getLocaleLanguage(newLanguage, 'partLookup.distributor', distributerSchema), getSharedLocal(newLanguage)]);
34
- this.locale = localeResponses[0];
35
- this.sharedLocales = localeResponses[1];
33
+ const [sharedLocales, locale] = await Promise.all([getSharedLocal(newLanguage), getLocaleLanguage(newLanguage, 'partLookup.distributor', distributerSchema)]);
34
+ this.locale = Object.assign({ sharedLocales }, locale);
36
35
  }
37
- handleSettingData(response) {
38
- this.partInformation = response;
36
+ async setMockData(newMockData) {
37
+ this.mockData = newMockData;
39
38
  }
40
- async setData(newData, headers = {}) {
41
- clearTimeout(this.networkTimeoutRef);
42
- if (this.abortController)
43
- this.abortController.abort();
44
- this.abortController = new AbortController();
45
- let scopedTimeoutRef;
46
- const isPartNumberRequest = typeof newData === 'string';
47
- const partNumber = isPartNumberRequest ? newData : newData === null || newData === void 0 ? void 0 : newData.partNumber;
48
- this.externalPartNumber = partNumber;
49
- try {
50
- if (!partNumber || partNumber.trim().length === 0) {
51
- this.state = 'idle';
52
- return;
53
- }
54
- if (this.state === 'data' || this.state === 'error') {
55
- this.state = (this.state + '-loading');
56
- }
57
- else
58
- this.state = 'loading';
59
- await new Promise(r => {
60
- scopedTimeoutRef = setTimeout(r, 700);
61
- this.networkTimeoutRef = scopedTimeoutRef;
62
- });
63
- const partResponse = isPartNumberRequest ? await getPartInformation(this, { scopedTimeoutRef, partNumber, mockData }, headers) : newData;
64
- if (this.networkTimeoutRef === scopedTimeoutRef) {
65
- if (!partResponse)
66
- throw new Error('wrongResponseFormat');
67
- this.handleSettingData(partResponse);
68
- }
69
- this.errorMessage = null;
70
- this.state = 'data';
71
- }
72
- catch (error) {
73
- if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
74
- return;
75
- if (this.errorCallback)
76
- this.errorCallback(error.message);
77
- console.error(error);
78
- this.setErrorMessage(error.message);
79
- }
39
+ async fetchData(newData, headers = {}) {
40
+ await setPartLookupData(this, newData, headers);
80
41
  }
81
42
  async setErrorMessage(message) {
82
- this.state = 'error';
83
- this.partInformation = null;
84
- this.errorMessage = message;
43
+ setPartLookupErrorState(this, message);
85
44
  }
86
- async fetchData(partNumber = this.externalPartNumber, headers = {}) {
87
- await this.setData(partNumber, headers);
88
- }
89
- async loadingListener() {
45
+ onLoadingChange(newValue) {
90
46
  if (this.loadingStateChange)
91
- this.loadingStateChange(this.state.includes('loading'));
92
- }
93
- async setMockData(newMockData) {
94
- mockData = newMockData;
47
+ this.loadingStateChange(newValue);
95
48
  }
96
49
  render() {
97
- var _a, _b, _c, _d, _e, _f;
98
- const texts = this.locale;
99
- const localName = this.partInformation ? this.localizationName || 'russian' : 'russian';
100
- const hiddenFields = this.partInformation ? ((_a = this.hiddenFields.split(',')) === null || _a === void 0 ? void 0 : _a.map(field => field.trim())) || [] : [];
101
- const partsInformation = this.partInformation
102
- ? [
103
- { label: texts.description, key: 'partDescription', value: this.partInformation.partDescription },
104
- { label: texts.productGroup, key: 'group', value: this.partInformation.group },
105
- {
106
- label: texts.localDescription.replace('$', localName),
107
- key: 'localDescription',
108
- value: this.partInformation.localDescription,
109
- },
110
- {
111
- label: texts.dealerPurchasePrice,
112
- key: 'purchasePrice',
113
- value: null,
114
- values: (_b = this.partInformation.prices) === null || _b === void 0 ? void 0 : _b.map(price => {
115
- var _a;
116
- return { header: price === null || price === void 0 ? void 0 : price.countryName, body: (_a = price === null || price === void 0 ? void 0 : price.purchasePrice) === null || _a === void 0 ? void 0 : _a.formattedValue };
117
- }),
118
- },
119
- {
120
- label: texts.recommendedRetailPrice,
121
- key: 'retailPrice',
122
- value: null,
123
- values: (_c = this.partInformation.prices) === null || _c === void 0 ? void 0 : _c.map(price => {
124
- var _a;
125
- return { header: price === null || price === void 0 ? void 0 : price.countryName, body: (_a = price === null || price === void 0 ? void 0 : price.retailPrice) === null || _a === void 0 ? void 0 : _a.formattedValue };
126
- }),
127
- },
128
- {
129
- label: texts.supersessions,
130
- key: 'supersededTo',
131
- value: null,
132
- values: (_d = this.partInformation.supersededTo) === null || _d === void 0 ? void 0 : _d.map(part => {
133
- return { header: null, body: part };
134
- }),
135
- },
136
- ]
137
- : [];
50
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
51
+ const localName = this.partLookup ? this.localizationName || 'russian' : 'russian';
52
+ const hiddenFields = ((_b = (_a = this.hiddenFields) === null || _a === void 0 ? void 0 : _a.split(',')) === null || _b === void 0 ? void 0 : _b.map(field => field.trim())) || [];
53
+ const partsInformation = [
54
+ { label: this.locale.description, key: 'partDescription', value: (_c = this.partLookup) === null || _c === void 0 ? void 0 : _c.partDescription },
55
+ { label: this.locale.productGroup, key: 'productGroup', value: (_d = this.partLookup) === null || _d === void 0 ? void 0 : _d.productGroup },
56
+ {
57
+ key: 'localDescription',
58
+ value: (_e = this.partLookup) === null || _e === void 0 ? void 0 : _e.localDescription,
59
+ label: this.locale.localDescription.replace('$', localName),
60
+ },
61
+ {
62
+ key: 'purchasePrice',
63
+ label: this.locale.dealerPurchasePrice,
64
+ values: (_g = (_f = this.partLookup) === null || _f === void 0 ? void 0 : _f.prices) === null || _g === void 0 ? void 0 : _g.map(price => { var _a; return ({ header: price === null || price === void 0 ? void 0 : price.countryName, body: (_a = price === null || price === void 0 ? void 0 : price.purchasePrice) === null || _a === void 0 ? void 0 : _a.formattedValue }); }),
65
+ },
66
+ {
67
+ key: 'retailPrice',
68
+ label: this.locale.recommendedRetailPrice,
69
+ values: (_j = (_h = this.partLookup) === null || _h === void 0 ? void 0 : _h.prices) === null || _j === void 0 ? void 0 : _j.map(price => { var _a; return ({ header: price === null || price === void 0 ? void 0 : price.countryName, body: (_a = price === null || price === void 0 ? void 0 : price.retailPrice) === null || _a === void 0 ? void 0 : _a.formattedValue }); }),
70
+ },
71
+ {
72
+ key: 'supersededTo',
73
+ label: this.locale.supersessions,
74
+ values: (_l = (_k = this.partLookup) === null || _k === void 0 ? void 0 : _k.supersededTo) === null || _l === void 0 ? void 0 : _l.map(part => ({ header: null, body: part })),
75
+ },
76
+ ];
138
77
  const displayedFields = partsInformation.filter(part => !hiddenFields.includes(part.key));
139
- const displayDistributer = this.partInformation
140
- ? !this.partInformation.stockParts.some(({ quantityLookUpResult }) => quantityLookUpResult === 'LookupIsSkipped' || quantityLookUpResult === 'QuantityNotWithinLookupThreshold')
141
- : false;
142
- return (h(Host, null, h("div", { dir: this.sharedLocales.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, h("div", null, h("loading-spinner", { isLoading: this.state.includes('loading') }), h("div", { class: cn('transition-all !duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, ['error', 'error-loading'].includes(this.state) && (h("div", { class: "py-[16px] min-h-[100px] flex items-center" }, h("div", { class: " px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.sharedLocales.errors[this.errorMessage] || this.sharedLocales.errors.wildCard))), ['data', 'data-loading'].includes(this.state) && (h("div", null, h("div", { class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, h("div", { class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.info), h("div", { class: "py-[10px] px-[30px] flex flex-col gap-[15px]" }, h("div", { class: "grid grid-cols-3 gap-[50px]" }, displayedFields.map(({ label, value, values, key }) => (h("div", { key: key, class: "flex flex-col flex-1" }, h("strong", { class: "py-[10px] px-0 border-b-[gray] border-b" }, label), values ? (h("div", null, values
78
+ const tableHeaders = [
79
+ {
80
+ width: 300,
81
+ key: 'locationName',
82
+ label: this.locale.location,
83
+ },
84
+ {
85
+ width: 300,
86
+ key: 'quantityLookUpResult',
87
+ label: this.locale.availability,
88
+ },
89
+ ];
90
+ const displayDistributer = !((_m = this.partLookup) === null || _m === void 0 ? void 0 : _m.stockParts.some(({ quantityLookUpResult }) => quantityLookUpResult === 'LookupIsSkipped' || quantityLookUpResult === 'QuantityNotWithinLookupThreshold'));
91
+ const rows = displayDistributer
92
+ ? (_o = this.partLookup) === null || _o === void 0 ? void 0 : _o.stockParts.map(stock => ({
93
+ locationName: stock.locationName,
94
+ quantityLookUpResult: () => (h("div", { class: cn('text-[red]', {
95
+ 'text-[green]': stock.quantityLookUpResult === 'Available',
96
+ 'text-[orange]': stock.quantityLookUpResult === 'PartiallyAvailable',
97
+ }) }, h("strong", null, stock.quantityLookUpResult === 'Available'
98
+ ? this.locale.available
99
+ : stock.quantityLookUpResult === 'PartiallyAvailable'
100
+ ? this.locale.partiallyAvailable
101
+ : this.locale.notAvailable))),
102
+ }))
103
+ : [];
104
+ return (h(Host, { key: 'e838fa3aa5efadd03fd0f84d009ad1340f82712d' }, h(VehicleInfoLayout, { key: '90ba7279bd942a17f5216c26cfa83eb1a96c0d74', isError: this.isError, coreOnly: this.coreOnly, isLoading: this.isLoading, header: (_p = this.partLookup) === null || _p === void 0 ? void 0 : _p.partNumber, direction: this.locale.sharedLocales.direction, errorMessage: this.locale.sharedLocales.errors[this.errorMessage] || this.locale.sharedLocales.errors.wildCard }, h("div", { key: '5a32a08a7dd5fc325a50dca8bcebe1fd586d3133', class: "p-[16px]" }, h("flexible-container", { key: '5a9afa5234303bd9cd2141cc533ce629c0276119' }, h("div", { key: '3541f2e4ec5e78e5d18f96fa9aa0116c3c4f588a', class: "flex [&>div]:grow overflow-auto gap-[16px] items-stretch justify-center md:justify-between flex-wrap" }, displayedFields.map(({ label, value, values }) => values ? (h(MaterialCard, { title: label, minWidth: "250px" }, h(MaterialCardChildren, { class: "flex flex-wrap gap-[8px] p-[2px]" }, values
143
105
  .filter(x => x.body)
144
- .map(x => (h("span", { key: x.header + x.body, class: "inline-flex items-center bg-red-50 text-red-800 text-sm font-medium px-3 py-1 me-1 mt-2 rounded-lg border border-red-300" }, x.header && h("span", { class: "font-semibold" }, x.header, ":"), h("span", { class: "ml-1" }, x.body)))))) : (h("div", { class: "py-[10px] px-0" }, value)))))))), displayDistributer && (h("div", { class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, h("div", { class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.distributorStock), h("div", { class: "flex flex-col gap-[15px]" }, h("table", { class: "w-full overflow-auto relative border-collapse" }, h("thead", { class: "top-0 font-bold sticky bg-white" }, h("tr", null, [texts.location, texts.availability].map(title => (h("th", { key: title, class: "px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, title))))), h("tbody", null, (_f = (_e = this.partInformation) === null || _e === void 0 ? void 0 : _e.stockParts) === null || _f === void 0 ? void 0 : _f.map(stock => (h("tr", { class: "transition-colors duration-100 border-b border-[#d6d8dc] last:border-none hover:bg-slate-100", key: stock.locationID }, h("td", { class: cn('px-[10px] py-[20px] text-center whitespace-nowrap') }, stock.locationName), h("td", { class: cn('px-[10px] py-[20px] text-center whitespace-nowrap') }, h("div", { class: cn('text-[red]', {
145
- 'text-[green]': stock.quantityLookUpResult === 'Available',
146
- 'text-[orange]': stock.quantityLookUpResult === 'PartiallyAvailable',
147
- }) }, h("strong", null, stock.quantityLookUpResult === 'Available'
148
- ? texts.available
149
- : stock.quantityLookUpResult === 'PartiallyAvailable'
150
- ? texts.partiallyAvailable
151
- : texts.notAvailable))))))))))))))))));
106
+ .map(x => (h("span", { class: "inline-flex items-center bg-red-50 text-red-800 font-medium px-3 text-[16px] py-1 me-1 mt-2 rounded-lg border border-red-300" }, x.header && h("span", { class: "font-semibold" }, x.header, ":"), h("span", { class: "ml-1" }, x.body))))))) : (h(MaterialCard, { desc: (value === null || value === void 0 ? void 0 : value.toString()) || '', title: label, minWidth: "250px" }))))), h("div", { key: '41a48a4f865da6afdac19d1287e50fcb79ed2e23', class: "mt-[32px] mx-auto w-fit max-w-full" }, h("div", { key: 'df8f9b01081366d7e1e7cef0541c217d45b4ec89', class: "bg-[#f6f6f6] h-[50px] flex items-center justify-center px-[16px] font-bold text-[18px]" }, this.locale.distributorStock), h("div", { key: '57e6c9290eecbdf59bb7b665c14ba567d98267f3', class: "overflow-x-auto" }, h("information-table", { key: '4dea80fc98daced8716bc74c09b099305a892ab8', isLoading: this.isLoading, rows: rows, headers: tableHeaders })))))));
152
107
  }
153
108
  static get is() { return "distributor-lookup"; }
154
109
  static get encapsulation() { return "shadow"; }
@@ -164,13 +119,20 @@ export class DistributorLookup {
164
119
  }
165
120
  static get properties() {
166
121
  return {
167
- "baseUrl": {
122
+ "language": {
168
123
  "type": "string",
124
+ "attribute": "language",
169
125
  "mutable": false,
170
126
  "complexType": {
171
- "original": "string",
172
- "resolved": "string",
173
- "references": {}
127
+ "original": "LanguageKeys",
128
+ "resolved": "\"ar\" | \"en\" | \"ku\" | \"ru\"",
129
+ "references": {
130
+ "LanguageKeys": {
131
+ "location": "import",
132
+ "path": "~features/multi-lingual",
133
+ "id": "src/features/multi-lingual/index.ts::LanguageKeys"
134
+ }
135
+ }
174
136
  },
175
137
  "required": false,
176
138
  "optional": false,
@@ -178,12 +140,14 @@ export class DistributorLookup {
178
140
  "tags": [],
179
141
  "text": ""
180
142
  },
181
- "attribute": "base-url",
143
+ "getter": false,
144
+ "setter": false,
182
145
  "reflect": false,
183
- "defaultValue": "''"
146
+ "defaultValue": "'en'"
184
147
  },
185
- "isDev": {
148
+ "coreOnly": {
186
149
  "type": "boolean",
150
+ "attribute": "core-only",
187
151
  "mutable": false,
188
152
  "complexType": {
189
153
  "original": "boolean",
@@ -196,16 +160,18 @@ export class DistributorLookup {
196
160
  "tags": [],
197
161
  "text": ""
198
162
  },
199
- "attribute": "is-dev",
163
+ "getter": false,
164
+ "setter": false,
200
165
  "reflect": false,
201
166
  "defaultValue": "false"
202
167
  },
203
- "queryString": {
204
- "type": "string",
168
+ "isDev": {
169
+ "type": "boolean",
170
+ "attribute": "is-dev",
205
171
  "mutable": false,
206
172
  "complexType": {
207
- "original": "string",
208
- "resolved": "string",
173
+ "original": "boolean",
174
+ "resolved": "boolean",
209
175
  "references": {}
210
176
  },
211
177
  "required": false,
@@ -214,12 +180,13 @@ export class DistributorLookup {
214
180
  "tags": [],
215
181
  "text": ""
216
182
  },
217
- "attribute": "query-string",
218
- "reflect": false,
219
- "defaultValue": "''"
183
+ "getter": false,
184
+ "setter": false,
185
+ "reflect": false
220
186
  },
221
- "hiddenFields": {
187
+ "baseUrl": {
222
188
  "type": "string",
189
+ "attribute": "base-url",
223
190
  "mutable": false,
224
191
  "complexType": {
225
192
  "original": "string",
@@ -227,28 +194,23 @@ export class DistributorLookup {
227
194
  "references": {}
228
195
  },
229
196
  "required": false,
230
- "optional": true,
197
+ "optional": false,
231
198
  "docs": {
232
199
  "tags": [],
233
200
  "text": ""
234
201
  },
235
- "attribute": "hidden-fields",
236
- "reflect": false,
237
- "defaultValue": "''"
202
+ "getter": false,
203
+ "setter": false,
204
+ "reflect": false
238
205
  },
239
- "language": {
240
- "type": "string",
206
+ "headers": {
207
+ "type": "unknown",
208
+ "attribute": "headers",
241
209
  "mutable": false,
242
210
  "complexType": {
243
- "original": "LanguageKeys",
244
- "resolved": "\"ar\" | \"en\" | \"ku\" | \"ru\"",
245
- "references": {
246
- "LanguageKeys": {
247
- "location": "import",
248
- "path": "~types/locale",
249
- "id": "src/global/types/locale.ts::LanguageKeys"
250
- }
251
- }
211
+ "original": "object",
212
+ "resolved": "object",
213
+ "references": {}
252
214
  },
253
215
  "required": false,
254
216
  "optional": false,
@@ -256,12 +218,13 @@ export class DistributorLookup {
256
218
  "tags": [],
257
219
  "text": ""
258
220
  },
259
- "attribute": "language",
260
- "reflect": false,
261
- "defaultValue": "'en'"
221
+ "getter": false,
222
+ "setter": false,
223
+ "defaultValue": "{}"
262
224
  },
263
- "localizationName": {
225
+ "queryString": {
264
226
  "type": "string",
227
+ "attribute": "query-string",
265
228
  "mutable": false,
266
229
  "complexType": {
267
230
  "original": "string",
@@ -269,32 +232,43 @@ export class DistributorLookup {
269
232
  "references": {}
270
233
  },
271
234
  "required": false,
272
- "optional": true,
235
+ "optional": false,
273
236
  "docs": {
274
237
  "tags": [],
275
238
  "text": ""
276
239
  },
277
- "attribute": "localization-name",
240
+ "getter": false,
241
+ "setter": false,
278
242
  "reflect": false,
279
243
  "defaultValue": "''"
280
244
  },
281
245
  "errorCallback": {
282
246
  "type": "unknown",
247
+ "attribute": "error-callback",
283
248
  "mutable": false,
284
249
  "complexType": {
285
- "original": "(errorMessage: string) => void",
286
- "resolved": "(errorMessage: string) => void",
287
- "references": {}
250
+ "original": "(errorMessage: ErrorKeys) => void",
251
+ "resolved": "(errorMessage: OptionalKeys<{ noBaseUrl: string; invalidVin: string; vinNumberRequired: string; partNumberRequired: string; wrongResponseFormat: string; noPartsFound: string; noServiceAvailable: string; wrongFormStructure: string; wildCard: string; requestFailedPleaseTryAgainLater: string; }>) => void",
252
+ "references": {
253
+ "ErrorKeys": {
254
+ "location": "import",
255
+ "path": "~features/multi-lingual",
256
+ "id": "src/features/multi-lingual/index.ts::ErrorKeys"
257
+ }
258
+ }
288
259
  },
289
260
  "required": false,
290
- "optional": false,
261
+ "optional": true,
291
262
  "docs": {
292
263
  "tags": [],
293
264
  "text": ""
294
- }
265
+ },
266
+ "getter": false,
267
+ "setter": false
295
268
  },
296
269
  "loadingStateChange": {
297
270
  "type": "unknown",
271
+ "attribute": "loading-state-change",
298
272
  "mutable": false,
299
273
  "complexType": {
300
274
  "original": "(isLoading: boolean) => void",
@@ -306,19 +280,22 @@ export class DistributorLookup {
306
280
  "docs": {
307
281
  "tags": [],
308
282
  "text": ""
309
- }
283
+ },
284
+ "getter": false,
285
+ "setter": false
310
286
  },
311
287
  "loadedResponse": {
312
288
  "type": "unknown",
289
+ "attribute": "loaded-response",
313
290
  "mutable": false,
314
291
  "complexType": {
315
- "original": "(response: PartInformation) => void",
316
- "resolved": "(response: PartInformation) => void",
292
+ "original": "(response: PartLookupDTO) => void",
293
+ "resolved": "(response: PartLookupDTO) => void",
317
294
  "references": {
318
- "PartInformation": {
295
+ "PartLookupDTO": {
319
296
  "location": "import",
320
- "path": "~types/part-information",
321
- "id": "src/global/types/part-information.ts::PartInformation"
297
+ "path": "~types/generated/part/part-lookup-dto",
298
+ "id": "src/global/types/generated/part/part-lookup-dto.ts::PartLookupDTO"
322
299
  }
323
300
  }
324
301
  },
@@ -327,62 +304,70 @@ export class DistributorLookup {
327
304
  "docs": {
328
305
  "tags": [],
329
306
  "text": ""
330
- }
307
+ },
308
+ "getter": false,
309
+ "setter": false
310
+ },
311
+ "hiddenFields": {
312
+ "type": "string",
313
+ "attribute": "hidden-fields",
314
+ "mutable": false,
315
+ "complexType": {
316
+ "original": "string",
317
+ "resolved": "string",
318
+ "references": {}
319
+ },
320
+ "required": false,
321
+ "optional": true,
322
+ "docs": {
323
+ "tags": [],
324
+ "text": ""
325
+ },
326
+ "getter": false,
327
+ "setter": false,
328
+ "reflect": false,
329
+ "defaultValue": "''"
330
+ },
331
+ "localizationName": {
332
+ "type": "string",
333
+ "attribute": "localization-name",
334
+ "mutable": false,
335
+ "complexType": {
336
+ "original": "string",
337
+ "resolved": "string",
338
+ "references": {}
339
+ },
340
+ "required": false,
341
+ "optional": true,
342
+ "docs": {
343
+ "tags": [],
344
+ "text": ""
345
+ },
346
+ "getter": false,
347
+ "setter": false,
348
+ "reflect": false,
349
+ "defaultValue": "''"
331
350
  }
332
351
  };
333
352
  }
334
353
  static get states() {
335
354
  return {
336
- "state": {},
355
+ "locale": {},
356
+ "searchString": {},
357
+ "isError": {},
337
358
  "errorMessage": {},
338
- "partInformation": {},
339
- "externalPartNumber": {},
340
- "sharedLocales": {},
341
- "locale": {}
359
+ "isLoading": {},
360
+ "partLookup": {}
342
361
  };
343
362
  }
344
363
  static get methods() {
345
364
  return {
346
- "setData": {
347
- "complexType": {
348
- "signature": "(newData: PartInformation | string, headers?: any) => Promise<void>",
349
- "parameters": [{
350
- "name": "newData",
351
- "type": "string | PartInformation",
352
- "docs": ""
353
- }, {
354
- "name": "headers",
355
- "type": "any",
356
- "docs": ""
357
- }],
358
- "references": {
359
- "Promise": {
360
- "location": "global",
361
- "id": "global::Promise"
362
- },
363
- "PartInformation": {
364
- "location": "import",
365
- "path": "~types/part-information",
366
- "id": "src/global/types/part-information.ts::PartInformation"
367
- },
368
- "ReturnType": {
369
- "location": "global",
370
- "id": "global::ReturnType"
371
- }
372
- },
373
- "return": "Promise<void>"
374
- },
375
- "docs": {
376
- "text": "",
377
- "tags": []
378
- }
379
- },
380
- "setErrorMessage": {
365
+ "setMockData": {
381
366
  "complexType": {
382
- "signature": "(message: ErrorKeys) => Promise<void>",
367
+ "signature": "(newMockData: PartLookupMock) => Promise<void>",
383
368
  "parameters": [{
384
- "name": "message",
385
- "type": "\"noBaseUrl\" | \"invalidVin\" | \"vinNumberRequired\" | \"partNumberRequired\" | \"wrongResponseFormat\" | \"noPartsFound\" | \"noServiceAvailable\" | \"wrongFormStructure\" | \"wildCard\" | \"requestFailedPleaseTryAgainLater\"",
369
+ "name": "newMockData",
370
+ "type": "{ [key: string]: PartLookupDTO; }",
386
371
  "docs": ""
387
372
  }],
388
373
  "references": {
@@ -390,10 +375,10 @@ export class DistributorLookup {
390
375
  "location": "global",
391
376
  "id": "global::Promise"
392
377
  },
393
- "ErrorKeys": {
378
+ "PartLookupMock": {
394
379
  "location": "import",
395
- "path": "~lib/get-local-language",
396
- "id": "src/global/lib/get-local-language.ts::ErrorKeys"
380
+ "path": "~features/part-lookup-components",
381
+ "id": "src/features/part-lookup-components/index.ts::PartLookupMock"
397
382
  }
398
383
  },
399
384
  "return": "Promise<void>"
@@ -405,10 +390,10 @@ export class DistributorLookup {
405
390
  },
406
391
  "fetchData": {
407
392
  "complexType": {
408
- "signature": "(partNumber?: string, headers?: any) => Promise<void>",
393
+ "signature": "(newData: PartLookupDTO | string, headers?: any) => Promise<void>",
409
394
  "parameters": [{
410
- "name": "partNumber",
411
- "type": "string",
395
+ "name": "newData",
396
+ "type": "string | PartLookupDTO",
412
397
  "docs": ""
413
398
  }, {
414
399
  "name": "headers",
@@ -419,6 +404,11 @@ export class DistributorLookup {
419
404
  "Promise": {
420
405
  "location": "global",
421
406
  "id": "global::Promise"
407
+ },
408
+ "PartLookupDTO": {
409
+ "location": "import",
410
+ "path": "~types/generated/part/part-lookup-dto",
411
+ "id": "src/global/types/generated/part/part-lookup-dto.ts::PartLookupDTO"
422
412
  }
423
413
  },
424
414
  "return": "Promise<void>"
@@ -428,12 +418,12 @@ export class DistributorLookup {
428
418
  "tags": []
429
419
  }
430
420
  },
431
- "setMockData": {
421
+ "setErrorMessage": {
432
422
  "complexType": {
433
- "signature": "(newMockData: MockJson<PartInformation>) => Promise<void>",
423
+ "signature": "(message: ErrorKeys) => Promise<void>",
434
424
  "parameters": [{
435
- "name": "newMockData",
436
- "type": "{ [key: string]: PartInformation; }",
425
+ "name": "message",
426
+ "type": "\"noBaseUrl\" | \"invalidVin\" | \"vinNumberRequired\" | \"partNumberRequired\" | \"wrongResponseFormat\" | \"noPartsFound\" | \"noServiceAvailable\" | \"wrongFormStructure\" | \"wildCard\" | \"requestFailedPleaseTryAgainLater\"",
437
427
  "docs": ""
438
428
  }],
439
429
  "references": {
@@ -441,15 +431,10 @@ export class DistributorLookup {
441
431
  "location": "global",
442
432
  "id": "global::Promise"
443
433
  },
444
- "MockJson": {
445
- "location": "import",
446
- "path": "~types/components",
447
- "id": "src/global/types/components.ts::MockJson"
448
- },
449
- "PartInformation": {
434
+ "ErrorKeys": {
450
435
  "location": "import",
451
- "path": "~types/part-information",
452
- "id": "src/global/types/part-information.ts::PartInformation"
436
+ "path": "~features/multi-lingual",
437
+ "id": "src/features/multi-lingual/index.ts::ErrorKeys"
453
438
  }
454
439
  },
455
440
  "return": "Promise<void>"
@@ -467,8 +452,8 @@ export class DistributorLookup {
467
452
  "propName": "language",
468
453
  "methodName": "changeLanguage"
469
454
  }, {
470
- "propName": "state",
471
- "methodName": "loadingListener"
455
+ "propName": "isLoading",
456
+ "methodName": "onLoadingChange"
472
457
  }];
473
458
  }
474
459
  }