adp-web-components 0.0.64 → 0.0.65

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 (317) hide show
  1. package/package.json +1 -1
  2. package/dist/cjs/app-globals-4aa8f46f.js +0 -46
  3. package/dist/cjs/cn-f559f9e5.js +0 -2588
  4. package/dist/cjs/contact-us-form.cjs.entry.js +0 -209
  5. package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +0 -445
  6. package/dist/cjs/dynamic-claim_6.cjs.entry.js +0 -1170
  7. package/dist/cjs/dynamic-redeem.cjs.entry.js +0 -156
  8. package/dist/cjs/form-dialog_8.cjs.entry.js +0 -503
  9. package/dist/cjs/get-local-language-927b0db0.js +0 -2381
  10. package/dist/cjs/index-603d8f32.js +0 -1610
  11. package/dist/cjs/index.cjs.js +0 -6
  12. package/dist/cjs/loader-baf2418b.js +0 -9
  13. package/dist/cjs/loader.cjs.js +0 -19
  14. package/dist/cjs/loading-spinner.cjs.entry.js +0 -27
  15. package/dist/cjs/part-lookup.cjs.entry.js +0 -129
  16. package/dist/cjs/service-booking-form.cjs.entry.js +0 -209
  17. package/dist/cjs/shift-components.cjs.js +0 -29
  18. package/dist/cjs/urls-9077b31c.js +0 -4874
  19. package/dist/cjs/vehicle-lookup.cjs.entry.js +0 -202
  20. package/dist/collection/collection-manifest.json +0 -35
  21. package/dist/collection/components/components/loading-spinner.css +0 -1
  22. package/dist/collection/components/components/loading-spinner.js +0 -47
  23. package/dist/collection/components/form-elements/form-dialog.css +0 -1
  24. package/dist/collection/components/form-elements/form-dialog.js +0 -137
  25. package/dist/collection/components/form-elements/form-input.css +0 -1
  26. package/dist/collection/components/form-elements/form-input.js +0 -323
  27. package/dist/collection/components/form-elements/form-select.css +0 -1
  28. package/dist/collection/components/form-elements/form-select.js +0 -400
  29. package/dist/collection/components/form-elements/form-shadow-input.css +0 -1
  30. package/dist/collection/components/form-elements/form-shadow-input.js +0 -100
  31. package/dist/collection/components/form-elements/form-structure-error.css +0 -1
  32. package/dist/collection/components/form-elements/form-structure-error.js +0 -72
  33. package/dist/collection/components/form-elements/form-structure.css +0 -1
  34. package/dist/collection/components/form-elements/form-structure.js +0 -269
  35. package/dist/collection/components/form-elements/form-submit.css +0 -1
  36. package/dist/collection/components/form-elements/form-submit.js +0 -140
  37. package/dist/collection/components/form-elements/form-text-area.css +0 -1
  38. package/dist/collection/components/form-elements/form-text-area.js +0 -264
  39. package/dist/collection/components/forms/contact-us/element-mapper.js +0 -87
  40. package/dist/collection/components/forms/contact-us/form.css +0 -1
  41. package/dist/collection/components/forms/contact-us/validations.js +0 -19
  42. package/dist/collection/components/forms/contact-us-form.js +0 -280
  43. package/dist/collection/components/forms/service-booking/element-mapper.js +0 -87
  44. package/dist/collection/components/forms/service-booking/form.css +0 -1
  45. package/dist/collection/components/forms/service-booking/validations.js +0 -19
  46. package/dist/collection/components/forms/service-booking-form.js +0 -280
  47. package/dist/collection/components/part-lookup/dead-stock-lookup.css +0 -1
  48. package/dist/collection/components/part-lookup/dead-stock-lookup.js +0 -405
  49. package/dist/collection/components/part-lookup/distributor-lookup.css +0 -1
  50. package/dist/collection/components/part-lookup/distributor-lookup.js +0 -470
  51. package/dist/collection/components/part-lookup/manufacturer-lookup.css +0 -1
  52. package/dist/collection/components/part-lookup/manufacturer-lookup.js +0 -468
  53. package/dist/collection/components/part-lookup/part-lookup.css +0 -1
  54. package/dist/collection/components/part-lookup/part-lookup.js +0 -376
  55. package/dist/collection/components/vehicle-lookup/assets/cancelled.svg +0 -8
  56. package/dist/collection/components/vehicle-lookup/assets/check.svg +0 -4
  57. package/dist/collection/components/vehicle-lookup/assets/expired.svg +0 -9
  58. package/dist/collection/components/vehicle-lookup/assets/loader.svg +0 -11
  59. package/dist/collection/components/vehicle-lookup/assets/pending.svg +0 -9
  60. package/dist/collection/components/vehicle-lookup/assets/processed.svg +0 -9
  61. package/dist/collection/components/vehicle-lookup/assets/x-mark.svg +0 -4
  62. package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +0 -10
  63. package/dist/collection/components/vehicle-lookup/components/Loading.js +0 -10
  64. package/dist/collection/components/vehicle-lookup/components/SSCTable.js +0 -16
  65. package/dist/collection/components/vehicle-lookup/components/StatusCard.js +0 -11
  66. package/dist/collection/components/vehicle-lookup/dynamic-claim.css +0 -1
  67. package/dist/collection/components/vehicle-lookup/dynamic-claim.js +0 -625
  68. package/dist/collection/components/vehicle-lookup/dynamic-redeem.css +0 -1
  69. package/dist/collection/components/vehicle-lookup/dynamic-redeem.js +0 -373
  70. package/dist/collection/components/vehicle-lookup/paint-thickness.css +0 -1
  71. package/dist/collection/components/vehicle-lookup/paint-thickness.js +0 -410
  72. package/dist/collection/components/vehicle-lookup/service-history.css +0 -1
  73. package/dist/collection/components/vehicle-lookup/service-history.js +0 -393
  74. package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +0 -1
  75. package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +0 -414
  76. package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +0 -1
  77. package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +0 -405
  78. package/dist/collection/components/vehicle-lookup/vehicle-specification.css +0 -1
  79. package/dist/collection/components/vehicle-lookup/vehicle-specification.js +0 -405
  80. package/dist/collection/components/vehicle-lookup/warranty-details.css +0 -1
  81. package/dist/collection/components/vehicle-lookup/warranty-details.js +0 -780
  82. package/dist/collection/global/api/partInformation.js +0 -32
  83. package/dist/collection/global/api/urls.js +0 -6
  84. package/dist/collection/global/api/vehicleInformation.js +0 -48
  85. package/dist/collection/global/assets/eye.svg +0 -5
  86. package/dist/collection/global/assets/loader.svg +0 -11
  87. package/dist/collection/global/assets/white-loader.svg +0 -11
  88. package/dist/collection/global/lib/cn.js +0 -9
  89. package/dist/collection/global/lib/form-hook.js +0 -162
  90. package/dist/collection/global/lib/general.js +0 -9
  91. package/dist/collection/global/lib/get-local-language.js +0 -20
  92. package/dist/collection/global/lib/image-expansion.js +0 -69
  93. package/dist/collection/global/lib/middleware.js +0 -39
  94. package/dist/collection/global/lib/recaptcha.js +0 -25
  95. package/dist/collection/global/lib/utils.js +0 -7
  96. package/dist/collection/global/lib/validate-form-structure.js +0 -47
  97. package/dist/collection/global/lib/validate-vin.js +0 -62
  98. package/dist/collection/global/types/components.js +0 -1
  99. package/dist/collection/global/types/forms.js +0 -1
  100. package/dist/collection/global/types/general.js +0 -1
  101. package/dist/collection/global/types/locales/error-schema.js +0 -17
  102. package/dist/collection/global/types/locales/forms/contact-us-schema.js +0 -24
  103. package/dist/collection/global/types/locales/forms/index.js +0 -11
  104. package/dist/collection/global/types/locales/general.js +0 -11
  105. package/dist/collection/global/types/locales/index.js +0 -33
  106. package/dist/collection/global/types/locales/inquiryTypes.js +0 -15
  107. package/dist/collection/global/types/locales/part-lookup/dead-stock-schema.js +0 -10
  108. package/dist/collection/global/types/locales/part-lookup/distributor-schema.js +0 -21
  109. package/dist/collection/global/types/locales/part-lookup/index.js +0 -13
  110. package/dist/collection/global/types/locales/part-lookup/manufacturer-schema.js +0 -22
  111. package/dist/collection/global/types/locales/vehicle-lookup/accessories-schema.js +0 -13
  112. package/dist/collection/global/types/locales/vehicle-lookup/dynamic-claim-schema.js +0 -21
  113. package/dist/collection/global/types/locales/vehicle-lookup/dynamic-redeem-schema.js +0 -19
  114. package/dist/collection/global/types/locales/vehicle-lookup/index.js +0 -21
  115. package/dist/collection/global/types/locales/vehicle-lookup/paint-thickness-schema.js +0 -14
  116. package/dist/collection/global/types/locales/vehicle-lookup/service-history-schema.js +0 -15
  117. package/dist/collection/global/types/locales/vehicle-lookup/specification-schema.js +0 -15
  118. package/dist/collection/global/types/locales/vehicle-lookup/warranty-schema.js +0 -23
  119. package/dist/collection/global/types/part-information.js +0 -1
  120. package/dist/collection/global/types/vehicle-information.js +0 -5
  121. package/dist/collection/index.js +0 -1
  122. package/dist/collection/templates/part-lookup/mock-data.js +0 -199
  123. package/dist/collection/templates/vehicle-lookup/mock-data.js +0 -4165
  124. package/dist/collection/templates/vehicle-lookup/vehicle-lookup.js +0 -285
  125. package/dist/collection/templates/vehicle-lookup/warranty-mock-data.js +0 -3000
  126. package/dist/components/contact-us-form.d.ts +0 -11
  127. package/dist/components/contact-us-form.js +0 -5
  128. package/dist/components/dead-stock-lookup.d.ts +0 -11
  129. package/dist/components/dead-stock-lookup.js +0 -5
  130. package/dist/components/distributor-lookup.d.ts +0 -11
  131. package/dist/components/distributor-lookup.js +0 -5
  132. package/dist/components/dynamic-claim.d.ts +0 -11
  133. package/dist/components/dynamic-claim.js +0 -5
  134. package/dist/components/dynamic-redeem.d.ts +0 -11
  135. package/dist/components/dynamic-redeem.js +0 -5
  136. package/dist/components/form-dialog.d.ts +0 -11
  137. package/dist/components/form-dialog.js +0 -5
  138. package/dist/components/form-input.d.ts +0 -11
  139. package/dist/components/form-input.js +0 -5
  140. package/dist/components/form-select.d.ts +0 -11
  141. package/dist/components/form-select.js +0 -5
  142. package/dist/components/form-shadow-input.d.ts +0 -11
  143. package/dist/components/form-shadow-input.js +0 -5
  144. package/dist/components/form-structure-error.d.ts +0 -11
  145. package/dist/components/form-structure-error.js +0 -5
  146. package/dist/components/form-structure.d.ts +0 -11
  147. package/dist/components/form-structure.js +0 -5
  148. package/dist/components/form-submit.d.ts +0 -11
  149. package/dist/components/form-submit.js +0 -5
  150. package/dist/components/form-text-area.d.ts +0 -11
  151. package/dist/components/form-text-area.js +0 -5
  152. package/dist/components/index.d.ts +0 -33
  153. package/dist/components/index.js +0 -5
  154. package/dist/components/loading-spinner.d.ts +0 -11
  155. package/dist/components/loading-spinner.js +0 -5
  156. package/dist/components/manufacturer-lookup.d.ts +0 -11
  157. package/dist/components/manufacturer-lookup.js +0 -5
  158. package/dist/components/p-01a60c8e.js +0 -5
  159. package/dist/components/p-03ca6b85.js +0 -5
  160. package/dist/components/p-11e905aa.js +0 -5
  161. package/dist/components/p-2e7ae444.js +0 -5
  162. package/dist/components/p-44f7385b.js +0 -5
  163. package/dist/components/p-4bdd257d.js +0 -5
  164. package/dist/components/p-5b5994b7.js +0 -5
  165. package/dist/components/p-694357f2.js +0 -5
  166. package/dist/components/p-704d0d50.js +0 -5
  167. package/dist/components/p-75476014.js +0 -5
  168. package/dist/components/p-769837da.js +0 -5
  169. package/dist/components/p-795bd4fb.js +0 -5
  170. package/dist/components/p-7d44e969.js +0 -5
  171. package/dist/components/p-822360ad.js +0 -5
  172. package/dist/components/p-8a0c9244.js +0 -5
  173. package/dist/components/p-8b1d90d7.js +0 -5
  174. package/dist/components/p-91e526bd.js +0 -5
  175. package/dist/components/p-932ff922.js +0 -5
  176. package/dist/components/p-98d9e7ab.js +0 -5
  177. package/dist/components/p-9a1668ef.js +0 -5
  178. package/dist/components/p-a21e2e2e.js +0 -5
  179. package/dist/components/p-b8bb9e86.js +0 -5
  180. package/dist/components/p-c08fb055.js +0 -5
  181. package/dist/components/p-d5ff7544.js +0 -5
  182. package/dist/components/p-d6dd8770.js +0 -5
  183. package/dist/components/p-ec497dac.js +0 -5
  184. package/dist/components/p-fab97ac7.js +0 -5
  185. package/dist/components/paint-thickness.d.ts +0 -11
  186. package/dist/components/paint-thickness.js +0 -5
  187. package/dist/components/part-lookup.d.ts +0 -11
  188. package/dist/components/part-lookup.js +0 -5
  189. package/dist/components/service-booking-form.d.ts +0 -11
  190. package/dist/components/service-booking-form.js +0 -5
  191. package/dist/components/service-history.d.ts +0 -11
  192. package/dist/components/service-history.js +0 -5
  193. package/dist/components/vehicle-accessories.d.ts +0 -11
  194. package/dist/components/vehicle-accessories.js +0 -5
  195. package/dist/components/vehicle-lookup.d.ts +0 -11
  196. package/dist/components/vehicle-lookup.js +0 -5
  197. package/dist/components/vehicle-specification.d.ts +0 -11
  198. package/dist/components/vehicle-specification.js +0 -5
  199. package/dist/components/warranty-details.d.ts +0 -11
  200. package/dist/components/warranty-details.js +0 -5
  201. package/dist/esm/app-globals-68faa233.js +0 -44
  202. package/dist/esm/cn-cc419b94.js +0 -2586
  203. package/dist/esm/contact-us-form.entry.js +0 -205
  204. package/dist/esm/dead-stock-lookup_3.entry.js +0 -439
  205. package/dist/esm/dynamic-claim_6.entry.js +0 -1161
  206. package/dist/esm/dynamic-redeem.entry.js +0 -152
  207. package/dist/esm/form-dialog_8.entry.js +0 -492
  208. package/dist/esm/get-local-language-9f948ba1.js +0 -2376
  209. package/dist/esm/index-cac905b0.js +0 -1581
  210. package/dist/esm/index.js +0 -4
  211. package/dist/esm/loader-027b88af.js +0 -7
  212. package/dist/esm/loader.js +0 -15
  213. package/dist/esm/loading-spinner.entry.js +0 -23
  214. package/dist/esm/part-lookup.entry.js +0 -125
  215. package/dist/esm/service-booking-form.entry.js +0 -205
  216. package/dist/esm/shift-components.js +0 -24
  217. package/dist/esm/urls-e22234f9.js +0 -4870
  218. package/dist/esm/vehicle-lookup.entry.js +0 -198
  219. package/dist/index.cjs.js +0 -1
  220. package/dist/index.js +0 -1
  221. package/dist/locales/ar.json +0 -185
  222. package/dist/locales/en.json +0 -185
  223. package/dist/locales/ku.json +0 -185
  224. package/dist/locales/ru.json +0 -185
  225. package/dist/shift-components/index.esm.js +0 -4
  226. package/dist/shift-components/p-0a36abe1.entry.js +0 -5
  227. package/dist/shift-components/p-102b7ce6.entry.js +0 -5
  228. package/dist/shift-components/p-172a640a.js +0 -5
  229. package/dist/shift-components/p-43a41164.entry.js +0 -5
  230. package/dist/shift-components/p-446d908d.js +0 -5
  231. package/dist/shift-components/p-65102e7a.js +0 -6
  232. package/dist/shift-components/p-678fdf8a.entry.js +0 -5
  233. package/dist/shift-components/p-78ca0788.entry.js +0 -5
  234. package/dist/shift-components/p-932ff922.js +0 -5
  235. package/dist/shift-components/p-98d9e7ab.js +0 -5
  236. package/dist/shift-components/p-a21e2e2e.js +0 -5
  237. package/dist/shift-components/p-adf4369b.entry.js +0 -5
  238. package/dist/shift-components/p-b20a4b26.entry.js +0 -5
  239. package/dist/shift-components/p-df5bd4cc.entry.js +0 -5
  240. package/dist/shift-components/p-fe255b2e.entry.js +0 -5
  241. package/dist/shift-components/shift-components.esm.js +0 -5
  242. package/dist/types/components/components/loading-spinner.d.ts +0 -4
  243. package/dist/types/components/form-elements/form-dialog.d.ts +0 -13
  244. package/dist/types/components/form-elements/form-input.d.ts +0 -28
  245. package/dist/types/components/form-elements/form-select.d.ts +0 -39
  246. package/dist/types/components/form-elements/form-shadow-input.d.ts +0 -9
  247. package/dist/types/components/form-elements/form-structure-error.d.ts +0 -8
  248. package/dist/types/components/form-elements/form-structure.d.ts +0 -23
  249. package/dist/types/components/form-elements/form-submit.d.ts +0 -12
  250. package/dist/types/components/form-elements/form-text-area.d.ts +0 -24
  251. package/dist/types/components/forms/contact-us/element-mapper.d.ts +0 -3
  252. package/dist/types/components/forms/contact-us/validations.d.ts +0 -26
  253. package/dist/types/components/forms/contact-us-form.d.ts +0 -32
  254. package/dist/types/components/forms/service-booking/element-mapper.d.ts +0 -3
  255. package/dist/types/components/forms/service-booking/validations.d.ts +0 -26
  256. package/dist/types/components/forms/service-booking-form.d.ts +0 -32
  257. package/dist/types/components/part-lookup/dead-stock-lookup.d.ts +0 -31
  258. package/dist/types/components/part-lookup/distributor-lookup.d.ts +0 -32
  259. package/dist/types/components/part-lookup/manufacturer-lookup.d.ts +0 -33
  260. package/dist/types/components/part-lookup/part-lookup.d.ts +0 -43
  261. package/dist/types/components/vehicle-lookup/components/CardsContainer.d.ts +0 -10
  262. package/dist/types/components/vehicle-lookup/components/Loading.d.ts +0 -5
  263. package/dist/types/components/vehicle-lookup/components/SSCTable.d.ts +0 -8
  264. package/dist/types/components/vehicle-lookup/components/StatusCard.d.ts +0 -12
  265. package/dist/types/components/vehicle-lookup/dynamic-claim.d.ts +0 -55
  266. package/dist/types/components/vehicle-lookup/dynamic-redeem.d.ts +0 -39
  267. package/dist/types/components/vehicle-lookup/paint-thickness.d.ts +0 -35
  268. package/dist/types/components/vehicle-lookup/service-history.d.ts +0 -30
  269. package/dist/types/components/vehicle-lookup/vehicle-accessories.d.ts +0 -35
  270. package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +0 -53
  271. package/dist/types/components/vehicle-lookup/vehicle-specification.d.ts +0 -29
  272. package/dist/types/components/vehicle-lookup/warranty-details.d.ts +0 -57
  273. package/dist/types/components.d.ts +0 -760
  274. package/dist/types/global/api/partInformation.d.ts +0 -19
  275. package/dist/types/global/api/urls.d.ts +0 -2
  276. package/dist/types/global/api/vehicleInformation.d.ts +0 -33
  277. package/dist/types/global/lib/cn.d.ts +0 -2
  278. package/dist/types/global/lib/form-hook.d.ts +0 -47
  279. package/dist/types/global/lib/general.d.ts +0 -1
  280. package/dist/types/global/lib/get-local-language.d.ts +0 -2
  281. package/dist/types/global/lib/image-expansion.d.ts +0 -9
  282. package/dist/types/global/lib/middleware.d.ts +0 -0
  283. package/dist/types/global/lib/recaptcha.d.ts +0 -16
  284. package/dist/types/global/lib/utils.d.ts +0 -1
  285. package/dist/types/global/lib/validate-form-structure.d.ts +0 -3
  286. package/dist/types/global/lib/validate-vin.d.ts +0 -1
  287. package/dist/types/global/types/components.d.ts +0 -7
  288. package/dist/types/global/types/forms.d.ts +0 -63
  289. package/dist/types/global/types/general.d.ts +0 -23
  290. package/dist/types/global/types/locales/error-schema.d.ts +0 -23
  291. package/dist/types/global/types/locales/forms/contact-us-schema.d.ts +0 -37
  292. package/dist/types/global/types/locales/forms/index.d.ts +0 -45
  293. package/dist/types/global/types/locales/general.d.ts +0 -11
  294. package/dist/types/global/types/locales/index.d.ts +0 -382
  295. package/dist/types/global/types/locales/inquiryTypes.d.ts +0 -19
  296. package/dist/types/global/types/locales/part-lookup/dead-stock-schema.d.ts +0 -9
  297. package/dist/types/global/types/locales/part-lookup/distributor-schema.d.ts +0 -31
  298. package/dist/types/global/types/locales/part-lookup/index.d.ts +0 -79
  299. package/dist/types/global/types/locales/part-lookup/manufacturer-schema.d.ts +0 -33
  300. package/dist/types/global/types/locales/vehicle-lookup/accessories-schema.d.ts +0 -15
  301. package/dist/types/global/types/locales/vehicle-lookup/dynamic-claim-schema.d.ts +0 -31
  302. package/dist/types/global/types/locales/vehicle-lookup/dynamic-redeem-schema.d.ts +0 -27
  303. package/dist/types/global/types/locales/vehicle-lookup/index.d.ts +0 -173
  304. package/dist/types/global/types/locales/vehicle-lookup/paint-thickness-schema.d.ts +0 -17
  305. package/dist/types/global/types/locales/vehicle-lookup/service-history-schema.d.ts +0 -19
  306. package/dist/types/global/types/locales/vehicle-lookup/specification-schema.d.ts +0 -19
  307. package/dist/types/global/types/locales/vehicle-lookup/warranty-schema.d.ts +0 -35
  308. package/dist/types/global/types/part-information.d.ts +0 -53
  309. package/dist/types/global/types/vehicle-information.d.ts +0 -168
  310. package/dist/types/index.d.ts +0 -10
  311. package/dist/types/stencil-public-runtime.d.ts +0 -1680
  312. package/loader/cdn.js +0 -5
  313. package/loader/index.cjs.js +0 -5
  314. package/loader/index.d.ts +0 -24
  315. package/loader/index.es2017.js +0 -5
  316. package/loader/index.js +0 -6
  317. package/loader/package.json +0 -11
@@ -1,405 +0,0 @@
1
- /*!
2
- * Built by ShiftSoftware
3
- * Copyright (c)
4
- */
5
- import { Host, h } from "@stencil/core";
6
- import { localeSchema } from "../../global/types/locales/index";
7
- import cn from "../../global/lib/cn";
8
- import { getLocaleLanguage } from "../../global/lib/get-local-language";
9
- import { getVehicleInformation } from "../../global/api/vehicleInformation";
10
- let mockData = {};
11
- export class VehicleSpecification {
12
- constructor() {
13
- this.baseUrl = '';
14
- this.isDev = false;
15
- this.queryString = '';
16
- this.language = 'en';
17
- this.errorCallback = undefined;
18
- this.loadingStateChange = undefined;
19
- this.loadedResponse = undefined;
20
- this.locale = localeSchema.getDefault();
21
- this.state = 'idle';
22
- this.externalVin = null;
23
- this.errorMessage = null;
24
- this.vehicleInformation = undefined;
25
- }
26
- async componentWillLoad() {
27
- await this.changeLanguage(this.language);
28
- }
29
- async changeLanguage(newLanguage) {
30
- this.locale = await getLocaleLanguage(newLanguage);
31
- }
32
- async setData(newData, headers = {}) {
33
- clearTimeout(this.networkTimeoutRef);
34
- if (this.abortController)
35
- this.abortController.abort();
36
- this.abortController = new AbortController();
37
- let scopedTimeoutRef;
38
- const isVinRequest = typeof newData === 'string';
39
- const vin = isVinRequest ? newData : newData === null || newData === void 0 ? void 0 : newData.vin;
40
- this.externalVin = vin;
41
- try {
42
- if (!vin || vin.trim().length === 0) {
43
- this.state = 'idle';
44
- return;
45
- }
46
- if (this.state === 'data' || this.state === 'error') {
47
- this.state = (this.state + '-loading');
48
- }
49
- else
50
- this.state = 'loading';
51
- await new Promise(r => {
52
- scopedTimeoutRef = setTimeout(r, 700);
53
- this.networkTimeoutRef = scopedTimeoutRef;
54
- });
55
- const vehicleResponse = isVinRequest ? await getVehicleInformation(this, { scopedTimeoutRef, vin, mockData }, headers) : newData;
56
- if (this.networkTimeoutRef === scopedTimeoutRef) {
57
- if (!vehicleResponse)
58
- throw new Error('wrongResponseFormat');
59
- this.vehicleInformation = vehicleResponse;
60
- }
61
- this.errorMessage = null;
62
- this.state = 'data';
63
- }
64
- catch (error) {
65
- if (error && (error === null || error === void 0 ? void 0 : error.name) === 'AbortError')
66
- return;
67
- if (this.errorCallback)
68
- this.errorCallback(error.message);
69
- console.error(error);
70
- this.setErrorMessage(error.message);
71
- }
72
- }
73
- async setErrorMessage(message) {
74
- this.state = 'error';
75
- this.vehicleInformation = null;
76
- this.errorMessage = message;
77
- }
78
- async fetchData(requestedVin = this.externalVin, headers = {}) {
79
- await this.setData(requestedVin, headers);
80
- }
81
- async loadingListener() {
82
- if (this.loadingStateChange)
83
- this.loadingStateChange(this.state.includes('loading'));
84
- }
85
- async setMockData(newMockData) {
86
- mockData = newMockData;
87
- }
88
- render() {
89
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
90
- const texts = this.locale.vehicleLookup.specification;
91
- let productionDate = null;
92
- try {
93
- if ((_b = (_a = this.vehicleInformation) === null || _a === void 0 ? void 0 : _a.vehicleSpecification) === null || _b === void 0 ? void 0 : _b.productionDate) {
94
- const productionDateObj = new Date((_d = (_c = this.vehicleInformation) === null || _c === void 0 ? void 0 : _c.vehicleSpecification) === null || _d === void 0 ? void 0 : _d.productionDate);
95
- productionDate = productionDateObj.toLocaleDateString(this.locale.language, {
96
- year: 'numeric',
97
- month: 'long',
98
- });
99
- }
100
- }
101
- catch (error) {
102
- productionDate = null;
103
- }
104
- const getProductionDate = () => h("div", { key: '0276f288abb652f5faca27063f7997c33c7b4d10', class: "px-[10px] py-[20px] text-center whitespace-nowrap" }, productionDate);
105
- return (h(Host, { key: 'ec811ba660dd646d7f2c6f5a40d51446deeab609' }, h("div", { key: 'e605e2704d99ce125ba7a3c12b5929345a91b2ca', dir: this.locale.direction, class: "min-h-[100px] relative transition-all duration-300 overflow-hidden" }, h("div", { key: '7d08aca7a8c8135ef752c5b2b4f6e88bdb246d6a' }, h("loading-spinner", { key: '58d7fc89e492bae48842da0364cb0cf3e6c94558', isLoading: this.state.includes('loading') }), h("div", { key: 'a0436131dbcb3ea9b0bc5b397b3d0053b29e734c', class: cn('transition-all !duration-700', { 'scale-0': this.state.includes('loading') || this.state === 'idle', 'opacity-0': this.state.includes('loading') }) }, h("div", { key: 'cef0faee4c43cdf206722fed1a3beada4f452003', class: cn('text-center pt-[4px] text-[20px]', { 'text-red-600': !!this.errorMessage }) }, (_e = this.vehicleInformation) === null || _e === void 0 ? void 0 : _e.vin), ['error', 'error-loading'].includes(this.state) && (h("div", { key: '0db4babc9c8267d83d5912d019ffe39c9323e63b', class: "py-[16px] min-h-[100px] flex items-center" }, h("div", { key: '61a98fda9e0b85639558b38d6610e28d8c9fb2d7', class: "px-[16px] py-[8px] border reject-card text-[20px] rounded-[8px] w-fit mx-auto" }, this.locale.errors[this.errorMessage] || this.locale.errors.wildCard))), ['data', 'data-loading'].includes(this.state) && (h("div", { key: 'fabcbd7fcafe01d462cfd6fb40f695289626c1ef', class: "flex mt-[12px] max-h-[70dvh] overflow-hidden rounded-[4px] flex-col border border-[#d6d8dc]" }, h("div", { key: 'e8def902efddbadcb001939fcaf36df7d6105f77', class: "w-full h-[40px] flex shrink-0 justify-center text-[18px] items-center text-[#383c43] text-center bg-[#e1e3e5]" }, texts.vehicleSpecification), h("div", { key: '9549d9b13e8e867bcf20754617a0bd1fcac5f614', class: "h-0 overflow-auto flex-1" }, !((_f = this.vehicleInformation) === null || _f === void 0 ? void 0 : _f.vehicleSpecification) && h("div", { key: '0696a9268ccc42982ab477a9f220fa86d78bf09e', class: "h-[80px] flex items-center justify-center text-[18px]" }, texts.noData), !!((_g = this.vehicleInformation) === null || _g === void 0 ? void 0 : _g.vehicleSpecification) && (h("table", { key: 'a5a68cb3d651ff1eccae2329b168ae6b3239a1e5', class: "w-full overflow-auto relative border-collapse" }, h("thead", { key: '64790bd99f16b667e2fc8dd91a050b529d513453', class: "top-0 font-bold sticky bg-white" }, h("tr", { key: '4af030fe0558cfef57adbce3daa852202f6e054a' }, ['model', 'variant', 'katashiki', 'modelYear', ...(!!productionDate ? ['productionDate'] : []), 'sfx'].map(title => (h("th", { key: title, class: "px-[10px] py-[20px] text-center whitespace-nowrap border-b border-[#d6d8dc]" }, texts[title]))))), h("tbody", { key: 'e04fa62e1edd297eae5489ac3af6bb08df1eba7b' }, h("tr", { key: '87308b742d6066223658d85b0b3f5753b20d8ab0' }, h("td", { key: '6c73664be5835a44e56f260adc0c3be6183f1835', class: "px-[10px] py-[20px] text-center whitespace-nowrap" }, ((_j = (_h = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _h === void 0 ? void 0 : _h.vehicleVariantInfo) === null || _j === void 0 ? void 0 : _j.modelCode) || '...', " ", h("br", { key: '13720de0557e0ae14b9b4e2f048ee505ed34e762', class: "my-2" }), ((_l = (_k = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _k === void 0 ? void 0 : _k.vehicleSpecification) === null || _l === void 0 ? void 0 : _l.modelDesc) || '...'), h("td", { key: '7ade0121f6b97f0e3b8eb04740ea839c16b7f722', class: "px-[10px] py-[20px] text-center whitespace-nowrap" }, ((_o = (_m = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _m === void 0 ? void 0 : _m.identifiers) === null || _o === void 0 ? void 0 : _o.variant) || '...', " ", h("br", { key: '8f08a28e700f9521a9fc08d1ee637ce3d6db3484' }), ((_q = (_p = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _p === void 0 ? void 0 : _p.vehicleSpecification) === null || _q === void 0 ? void 0 : _q.variantDesc) || '...'), ['identifiers.katashiki', 'vehicleVariantInfo.modelYear', ...(!!productionDate ? [getProductionDate] : []), 'vehicleVariantInfo.sfx'].map(infoPath => {
106
- var _a;
107
- if (typeof infoPath === 'function')
108
- return infoPath();
109
- const [place, field] = infoPath.split('.');
110
- const targetPlace = (_a = this === null || this === void 0 ? void 0 : this.vehicleInformation) === null || _a === void 0 ? void 0 : _a[place];
111
- const cellValue = targetPlace && targetPlace[field] ? targetPlace[field].toString() : '';
112
- return (h("td", { key: infoPath, class: cn('px-[10px] py-[20px] text-center whitespace-nowrap') }, cellValue.trim() ? cellValue : '...'));
113
- })))))))))))));
114
- }
115
- static get is() { return "vehicle-specification"; }
116
- static get encapsulation() { return "shadow"; }
117
- static get originalStyleUrls() {
118
- return {
119
- "$": ["vehicle-specification.css"]
120
- };
121
- }
122
- static get styleUrls() {
123
- return {
124
- "$": ["vehicle-specification.css"]
125
- };
126
- }
127
- static get properties() {
128
- return {
129
- "baseUrl": {
130
- "type": "string",
131
- "mutable": false,
132
- "complexType": {
133
- "original": "string",
134
- "resolved": "string",
135
- "references": {}
136
- },
137
- "required": false,
138
- "optional": false,
139
- "docs": {
140
- "tags": [],
141
- "text": ""
142
- },
143
- "attribute": "base-url",
144
- "reflect": false,
145
- "defaultValue": "''"
146
- },
147
- "isDev": {
148
- "type": "boolean",
149
- "mutable": false,
150
- "complexType": {
151
- "original": "boolean",
152
- "resolved": "boolean",
153
- "references": {}
154
- },
155
- "required": false,
156
- "optional": false,
157
- "docs": {
158
- "tags": [],
159
- "text": ""
160
- },
161
- "attribute": "is-dev",
162
- "reflect": false,
163
- "defaultValue": "false"
164
- },
165
- "queryString": {
166
- "type": "string",
167
- "mutable": false,
168
- "complexType": {
169
- "original": "string",
170
- "resolved": "string",
171
- "references": {}
172
- },
173
- "required": false,
174
- "optional": false,
175
- "docs": {
176
- "tags": [],
177
- "text": ""
178
- },
179
- "attribute": "query-string",
180
- "reflect": false,
181
- "defaultValue": "''"
182
- },
183
- "language": {
184
- "type": "string",
185
- "mutable": false,
186
- "complexType": {
187
- "original": "LanguageKeys",
188
- "resolved": "\"ar\" | \"en\" | \"ku\" | \"ru\"",
189
- "references": {
190
- "LanguageKeys": {
191
- "location": "import",
192
- "path": "~types/locales",
193
- "id": "src/global/types/locales/index.ts::LanguageKeys"
194
- }
195
- }
196
- },
197
- "required": false,
198
- "optional": false,
199
- "docs": {
200
- "tags": [],
201
- "text": ""
202
- },
203
- "attribute": "language",
204
- "reflect": false,
205
- "defaultValue": "'en'"
206
- },
207
- "errorCallback": {
208
- "type": "unknown",
209
- "mutable": false,
210
- "complexType": {
211
- "original": "(errorMessage: ErrorKeys) => void",
212
- "resolved": "(errorMessage: ErrorKeys) => void",
213
- "references": {
214
- "ErrorKeys": {
215
- "location": "import",
216
- "path": "~types/locales",
217
- "id": "src/global/types/locales/index.ts::ErrorKeys"
218
- }
219
- }
220
- },
221
- "required": false,
222
- "optional": false,
223
- "docs": {
224
- "tags": [],
225
- "text": ""
226
- }
227
- },
228
- "loadingStateChange": {
229
- "type": "unknown",
230
- "mutable": false,
231
- "complexType": {
232
- "original": "(isLoading: boolean) => void",
233
- "resolved": "(isLoading: boolean) => void",
234
- "references": {}
235
- },
236
- "required": false,
237
- "optional": true,
238
- "docs": {
239
- "tags": [],
240
- "text": ""
241
- }
242
- },
243
- "loadedResponse": {
244
- "type": "unknown",
245
- "mutable": false,
246
- "complexType": {
247
- "original": "(response: VehicleInformation) => void",
248
- "resolved": "(response: VehicleInformation) => void",
249
- "references": {
250
- "VehicleInformation": {
251
- "location": "import",
252
- "path": "~types/vehicle-information",
253
- "id": "src/global/types/vehicle-information.ts::VehicleInformation"
254
- }
255
- }
256
- },
257
- "required": false,
258
- "optional": true,
259
- "docs": {
260
- "tags": [],
261
- "text": ""
262
- }
263
- }
264
- };
265
- }
266
- static get states() {
267
- return {
268
- "locale": {},
269
- "state": {},
270
- "externalVin": {},
271
- "errorMessage": {},
272
- "vehicleInformation": {}
273
- };
274
- }
275
- static get methods() {
276
- return {
277
- "setData": {
278
- "complexType": {
279
- "signature": "(newData: VehicleInformation | string, headers?: any) => Promise<void>",
280
- "parameters": [{
281
- "name": "newData",
282
- "type": "string | VehicleInformation",
283
- "docs": ""
284
- }, {
285
- "name": "headers",
286
- "type": "any",
287
- "docs": ""
288
- }],
289
- "references": {
290
- "Promise": {
291
- "location": "global",
292
- "id": "global::Promise"
293
- },
294
- "VehicleInformation": {
295
- "location": "import",
296
- "path": "~types/vehicle-information",
297
- "id": "src/global/types/vehicle-information.ts::VehicleInformation"
298
- },
299
- "ReturnType": {
300
- "location": "global",
301
- "id": "global::ReturnType"
302
- }
303
- },
304
- "return": "Promise<void>"
305
- },
306
- "docs": {
307
- "text": "",
308
- "tags": []
309
- }
310
- },
311
- "setErrorMessage": {
312
- "complexType": {
313
- "signature": "(message: ErrorKeys) => Promise<void>",
314
- "parameters": [{
315
- "name": "message",
316
- "type": "OptionalKeys<{ wildCard: string; noBaseUrl: string; invalidVin: string; noPartsFound: string; vinNumberRequired: string; wrongFormStructure: string; partNumberRequired: string; noServiceAvailable: string; wrongResponseFormat: string; requestFailedPleaseTryAgainLater: string; }>",
317
- "docs": ""
318
- }],
319
- "references": {
320
- "Promise": {
321
- "location": "global",
322
- "id": "global::Promise"
323
- },
324
- "ErrorKeys": {
325
- "location": "import",
326
- "path": "~types/locales",
327
- "id": "src/global/types/locales/index.ts::ErrorKeys"
328
- }
329
- },
330
- "return": "Promise<void>"
331
- },
332
- "docs": {
333
- "text": "",
334
- "tags": []
335
- }
336
- },
337
- "fetchData": {
338
- "complexType": {
339
- "signature": "(requestedVin?: string, headers?: any) => Promise<void>",
340
- "parameters": [{
341
- "name": "requestedVin",
342
- "type": "string",
343
- "docs": ""
344
- }, {
345
- "name": "headers",
346
- "type": "any",
347
- "docs": ""
348
- }],
349
- "references": {
350
- "Promise": {
351
- "location": "global",
352
- "id": "global::Promise"
353
- }
354
- },
355
- "return": "Promise<void>"
356
- },
357
- "docs": {
358
- "text": "",
359
- "tags": []
360
- }
361
- },
362
- "setMockData": {
363
- "complexType": {
364
- "signature": "(newMockData: MockJson<VehicleInformation>) => Promise<void>",
365
- "parameters": [{
366
- "name": "newMockData",
367
- "type": "{ [key: string]: VehicleInformation; }",
368
- "docs": ""
369
- }],
370
- "references": {
371
- "Promise": {
372
- "location": "global",
373
- "id": "global::Promise"
374
- },
375
- "MockJson": {
376
- "location": "import",
377
- "path": "~types/components",
378
- "id": "src/global/types/components.ts::MockJson"
379
- },
380
- "VehicleInformation": {
381
- "location": "import",
382
- "path": "~types/vehicle-information",
383
- "id": "src/global/types/vehicle-information.ts::VehicleInformation"
384
- }
385
- },
386
- "return": "Promise<void>"
387
- },
388
- "docs": {
389
- "text": "",
390
- "tags": []
391
- }
392
- }
393
- };
394
- }
395
- static get elementRef() { return "el"; }
396
- static get watchers() {
397
- return [{
398
- "propName": "language",
399
- "methodName": "changeLanguage"
400
- }, {
401
- "propName": "state",
402
- "methodName": "loadingListener"
403
- }];
404
- }
405
- }
@@ -1 +0,0 @@
1
- *,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: ;border:0 solid #e5e7eb;box-sizing:border-box}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.15 | MIT License | https://tailwindcss.com*/:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}.collapse{visibility:collapse}.absolute{left:0;position:absolute;top:0}.relative{position:relative}.sticky{position:sticky}.mx-auto{margin-left:auto;margin-right:auto}.mt-4{margin-top:1rem}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-0{height:0!important;height:0}.flex-shrink{flex-shrink:1}.border-collapse{border-collapse:collapse}.flex-wrap{flex-wrap:wrap}.border{border-width:1px}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pr-1{padding-right:4px}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.font-semibold{font-weight:600}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition:all;transition-duration:.3s}.duration-1000{transition-duration:1s}.duration-500{transition-duration:.5s}.duration-700{transition-duration:.7s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.success-card{background:#d0e7de;background-color:#d0e7de;border-color:#a2d0bb!important;border-color:#a2d0bb;color:#0b3521}.reject-card{background:#f7d7d8;background-color:#f7d7d8;border-color:#f2aeb5!important;border-color:#f2aeb5;color:#58151c}:host{all:initial!important;display:block}*{font-family:Arial}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.fade-in{animation:fadeIn .3s ease-in forwards;opacity:0}@keyframes fadeOut{0%{opacity:1}to{opacity:0}}.fade-out{animation:fadeIn .3s ease-in forwards;opacity:1}.loading-spinner{align-items:center;display:flex;height:100%;justify-content:center;pointer-events:none;transition:all;transition-duration:.1s;width:100%}.loading-spinner img{height:40px;width:40px}.warranty{overflow:hidden;position:relative;transition:all;transition-duration:.3s}.hide{opacity:0}.card{border:1px solid;border-radius:6px;flex-shrink:0;gap:8px;padding:8px 12px}.card,.card p{align-items:center;display:flex}.card p{flex:1 1 0%;font-size:16px;height:25px;margin:0;padding-left:50px}.card p.no-padding{padding-left:4px}.card img{height:25px;width:25px}.recaptcha-response{border:1px solid;border-radius:8px;font-size:20px;margin:16px auto 0;padding:8px 16px;width:-moz-fit-content;width:fit-content}.warning-card{background:#fcf8e3;border-color:#faebcc!important;color:#8a6d3b}.span-entire-2nd-row{grid-column:1/3;grid-row:2/3}.warranty-tags{display:grid;gap:12px;grid-template-columns:1fr 1fr;max-width:1000px}.pt-3,.py-3{padding-top:12px}.pb-3,.py-3{padding-bottom:12px}.pt-4,.py-4{padding-top:16px}.pb-4,.py-4{padding-bottom:16px}.max-w-500{max-width:500px}.mt-4,.my-4{margin-bottom:16px;margin-top:16px}.warranty *{box-sizing:border-box}.wrapper-table{border:1px solid #d6d8dc;border-radius:4px;display:flex;flex-direction:column;margin-top:12px;max-height:70vh;overflow:hidden}.ssc-table-container{flex:1 1 0%;height:0;overflow:auto}.wrapper-table .header{align-items:center;background:#e1e3e5;color:#383c43;display:flex;flex-shrink:0;font-size:18px;height:40px;justify-content:center;width:100%}.ssc-table{border-collapse:collapse;overflow:auto;position:relative;width:100%}.ssc-table thead{background-color:#fff;font-weight:700;position:sticky;top:0}.ssc-table td,.ssc-table th{border-bottom:1px solid #d6d8dc;padding:10px 20px;text-align:center;transition:all;transition-duration:.3s;white-space:nowrap}.ssc-table tr:hover{background:#f4f4f4}.ssc-table tr:last-child td{border:none}.table-cell-container{align-items:center;display:flex;gap:8px;justify-content:center;width:100%}.table-cell-labors-container,.table-cell-parts-container{flex-wrap:wrap}.table-cell-labors-container div,.table-cell-parts-container div{border-radius:4px;font-size:14px;padding:4px 8px}.table-cell-labors-container div.success,.table-cell-parts-container div.success{background:#d0e7de}.table-cell-labors-container div.reject,.table-cell-parts-container div.reject{background:#f7d7d8}.table-status-icon{height:20px;width:20px}.warranty-vin{font-size:20px;padding-top:4px;text-align:center}.recaptcha-container{display:flex;justify-content:center;overflow:hidden}.static{position:static}.w-full{width:100%}.min-h-\[100px\]{min-height:100px}.w-fit{width:fit-content}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.items-center{align-items:center}.rounded-\[8px\]{border-radius:8px}.px-\[16px\]{padding-left:16px;padding-right:16px}.py-\[16px\]{padding-bottom:16px;padding-top:16px}.py-\[8px\]{padding-bottom:8px;padding-top:8px}.text-\[20px\]{font-size:20px}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.\!duration-700{transition-duration:.7s!important}.top-0{top:0}.mt-\[12px\]{margin-top:12px}.table{display:table}.h-\[40px\]{height:40px}.h-\[80px\]{height:80px}.max-h-\[70dvh\]{max-height:70dvh}.flex-1{flex:1 1 0%}.shrink-0{flex-shrink:0}.scale-0{--tw-scale-x:0;--tw-scale-y:0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.flex-col{flex-direction:column}.justify-center{justify-content:center}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-\[4px\]{border-radius:4px}.border-b{border-bottom-width:1px}.\!border-none{border-style:none!important}.border-\[\#d6d8dc\]{--tw-border-opacity:1;border-color:rgb(214 216 220/var(--tw-border-opacity,1))}.bg-\[\#e1e3e5\]{--tw-bg-opacity:1;background-color:rgb(225 227 229/var(--tw-bg-opacity,1))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity,1))}.px-\[10px\]{padding-left:10px;padding-right:10px}.py-\[20px\]{padding-bottom:20px;padding-top:20px}.pt-\[4px\]{padding-top:4px}.text-center{text-align:center}.text-\[18px\]{font-size:18px}.font-bold{font-weight:700}.text-\[\#383c43\]{--tw-text-opacity:1;color:rgb(56 60 67/var(--tw-text-opacity,1))}.text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity,1))}.opacity-0{opacity:0}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-100{transition-duration:.1s}.duration-300{transition-duration:.3s}.hover\:bg-slate-100:hover{--tw-bg-opacity:1;background-color:rgb(241 245 249/var(--tw-bg-opacity,1))}