adp-web-components 0.0.88 → 0.0.90

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (399) hide show
  1. package/dist/cjs/cn-BHnqYtun.js +2597 -0
  2. package/dist/cjs/contact-us-form.cjs.entry.js +10 -21
  3. package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +15 -32
  4. package/dist/cjs/flexible-container.cjs.entry.js +134 -0
  5. package/dist/cjs/form-dialog_8.cjs.entry.js +36 -92
  6. package/dist/cjs/{get-local-language-833c6cb0.js → get-local-language-XsAJEAsO.js} +338 -295
  7. package/dist/cjs/{index-a8de3655.js → index-BjyafrBw.js} +525 -288
  8. package/dist/cjs/information-table.cjs.entry.js +40 -0
  9. package/dist/cjs/loader.cjs.js +3 -6
  10. package/dist/cjs/loading-spinner.cjs.entry.js +6 -10
  11. package/dist/cjs/part-lookup.cjs.entry.js +14 -21
  12. package/dist/cjs/service-booking-form.cjs.entry.js +10 -21
  13. package/dist/cjs/shift-accordion.cjs.entry.js +29 -0
  14. package/dist/cjs/shift-components.cjs.js +7 -8
  15. package/dist/cjs/shift-slider.cjs.entry.js +70 -0
  16. package/dist/cjs/shift-tab-content_7.cjs.entry.js +1487 -0
  17. package/dist/cjs/shift-tabs_2.cjs.entry.js +301 -0
  18. package/dist/cjs/{type-34123f2d.js → type-BAD2dFzP.js} +32 -123
  19. package/dist/cjs/{type-6d925789.js → type-CCsnwaKp.js} +11 -8
  20. package/dist/cjs/{type-f37ab1af.js → type-DT5vXP0E.js} +4 -4
  21. package/dist/cjs/{type-4f0e1603.js → vehicle-info-layout-BSAeLW7e.js} +11 -1
  22. package/dist/cjs/vehicle-lookup.cjs.entry.js +60 -50
  23. package/dist/cjs/vin-extractor.cjs.entry.js +22 -32
  24. package/dist/collection/collection-manifest.json +19 -13
  25. package/dist/collection/components/components/card-content.js +7 -0
  26. package/dist/collection/components/components/flexible-container.css +1 -0
  27. package/dist/collection/components/components/flexible-container.js +317 -0
  28. package/dist/collection/components/components/information-table.css +1 -0
  29. package/dist/collection/components/components/information-table.js +137 -0
  30. package/dist/collection/components/components/loading-spinner.css +1 -1
  31. package/dist/collection/components/components/loading-spinner.js +4 -5
  32. package/dist/collection/components/components/material-card.js +34 -0
  33. package/dist/collection/components/{vehicle-lookup/service-history.css → components/shift-accordion.css} +1 -1
  34. package/dist/collection/components/components/shift-accordion.js +102 -0
  35. package/dist/collection/components/components/shift-slider.css +1 -0
  36. package/dist/collection/components/components/shift-slider.js +95 -0
  37. package/dist/collection/components/components/shift-tab-content.css +1 -0
  38. package/dist/collection/components/components/shift-tab-content.js +98 -0
  39. package/dist/collection/components/components/shift-tabs.css +1 -0
  40. package/dist/collection/components/components/shift-tabs.js +140 -0
  41. package/dist/collection/components/components/vehicle-info-layout.js +7 -0
  42. package/dist/collection/components/form-elements/form-dialog.js +13 -9
  43. package/dist/collection/components/form-elements/form-input.js +42 -26
  44. package/dist/collection/components/form-elements/form-select.js +54 -38
  45. package/dist/collection/components/form-elements/form-shadow-input.js +11 -9
  46. package/dist/collection/components/form-elements/form-structure-error.js +4 -2
  47. package/dist/collection/components/form-elements/form-structure.js +29 -13
  48. package/dist/collection/components/form-elements/form-submit.js +15 -7
  49. package/dist/collection/components/form-elements/form-text-area.js +33 -20
  50. package/dist/collection/components/forms/contact-us-form.js +37 -22
  51. package/dist/collection/components/forms/service-booking-form.js +37 -22
  52. package/dist/collection/components/part-lookup/dead-stock-lookup.js +40 -27
  53. package/dist/collection/components/part-lookup/distributor-lookup.js +46 -29
  54. package/dist/collection/components/part-lookup/manufacturer-lookup.js +54 -35
  55. package/dist/collection/components/part-lookup/part-lookup.js +39 -23
  56. package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +5 -5
  57. package/dist/collection/components/vehicle-lookup/components/StatusCard.js +2 -2
  58. package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
  59. package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +99 -47
  60. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -0
  61. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +959 -0
  62. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -0
  63. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +590 -0
  64. package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
  65. package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +123 -53
  66. package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -0
  67. package/dist/collection/components/vehicle-lookup/{paint-thickness.js → vehicle-paint-thickness.js} +99 -43
  68. package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +3 -0
  69. package/dist/collection/components/vehicle-lookup/{service-history.js → vehicle-service-history.js} +101 -38
  70. package/dist/collection/components/vehicle-lookup/vehicle-specification.css +3 -1
  71. package/dist/collection/components/vehicle-lookup/vehicle-specification.js +66 -38
  72. package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +3 -0
  73. package/dist/collection/components/vehicle-lookup/{warranty-details.js → vehicle-warranty-details.js} +168 -54
  74. package/dist/collection/components/vin-extractor/vin-extractor.js +60 -39
  75. package/dist/collection/global/lib/children-with-tag.js +24 -0
  76. package/dist/collection/global/lib/container-has-tag.js +28 -0
  77. package/dist/collection/global/lib/get-local-language.js +15 -5
  78. package/dist/collection/global/lib/scroll-into-container-view.js +16 -0
  79. package/dist/collection/global/types/generated/part/dead-stock-dto.js +1 -0
  80. package/dist/collection/global/types/generated/part/hs-code-dto.js +1 -0
  81. package/dist/collection/global/types/generated/part/part-lookup-dto.js +1 -0
  82. package/dist/collection/global/types/generated/part/part-price-dto.js +1 -0
  83. package/dist/collection/global/types/generated/part/price-dto.js +1 -0
  84. package/dist/collection/global/types/generated/part/stock-part-dto.js +1 -0
  85. package/dist/collection/global/types/generated/vehicle-lookup/accessory-dto.js +1 -0
  86. package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-dto.js +1 -0
  87. package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-image-dto.js +1 -0
  88. package/dist/collection/global/types/generated/vehicle-lookup/paint-thickness-part-dto.js +1 -0
  89. package/dist/collection/global/types/generated/vehicle-lookup/ssc-dto.js +1 -0
  90. package/dist/collection/global/types/generated/vehicle-lookup/ssc-labor-dto.js +1 -0
  91. package/dist/collection/global/types/generated/vehicle-lookup/ssc-part-dto.js +1 -0
  92. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-broker-sale-information.js +1 -0
  93. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-identifiers-dto.js +1 -0
  94. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-labor-dto.js +1 -0
  95. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-lookup-dto.js +1 -0
  96. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-part-dto.js +1 -0
  97. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-sale-information.js +1 -0
  98. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-history-dto.js +1 -0
  99. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-item-dto.js +1 -0
  100. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-item-group.js +1 -0
  101. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-specification-dto.js +1 -0
  102. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-variant-info-dto.js +1 -0
  103. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-warranty-dto.js +1 -0
  104. package/dist/collection/locale-mapper.js +3 -3
  105. package/dist/collection/locales/partLookup/manufacturer/type.js +3 -3
  106. package/dist/collection/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.js +9 -6
  107. package/dist/collection/locales/vehicleLookup/warranty/type.js +1 -0
  108. package/dist/collection/locales/vehicleLookup/wrapper-type.js +2 -2
  109. package/dist/collection/templates/part-lookup/mock-data.js +14 -14
  110. package/dist/collection/templates/vehicle-lookup/mock-data.js +228 -191
  111. package/dist/collection/templates/vehicle-lookup/warranty-mock-data.js +45 -27
  112. package/dist/components/contact-us-form.js +1 -1
  113. package/dist/components/dead-stock-lookup.js +1 -1
  114. package/dist/components/distributor-lookup.js +1 -1
  115. package/dist/components/flexible-container.d.ts +11 -0
  116. package/dist/components/flexible-container.js +5 -0
  117. package/dist/components/form-dialog.js +1 -1
  118. package/dist/components/form-input.js +1 -1
  119. package/dist/components/form-select.js +1 -1
  120. package/dist/components/form-shadow-input.js +1 -1
  121. package/dist/components/form-structure-error.js +1 -1
  122. package/dist/components/form-structure.js +1 -1
  123. package/dist/components/form-submit.js +1 -1
  124. package/dist/components/form-text-area.js +1 -1
  125. package/dist/components/index.js +1 -1
  126. package/dist/components/{paint-thickness.d.ts → information-table.d.ts} +4 -4
  127. package/dist/components/information-table.js +5 -0
  128. package/dist/components/loading-spinner.js +1 -1
  129. package/dist/components/manufacturer-lookup.js +1 -1
  130. package/dist/components/p-1vy-Ba6r.js +5 -0
  131. package/dist/components/p-B6QhQCZi.js +5 -0
  132. package/dist/components/p-BDkK65_1.js +5 -0
  133. package/dist/components/p-BK16Cn81.js +5 -0
  134. package/dist/components/{p-a054ecb1.js → p-BaJpYztb.js} +1 -1
  135. package/dist/components/p-C-4kx8qU.js +5 -0
  136. package/dist/components/p-C1F_f1WE.js +5 -0
  137. package/dist/components/p-CACnUI7c.js +5 -0
  138. package/dist/components/p-CDOvd2iD.js +5 -0
  139. package/dist/components/p-CGzOJT7g.js +5 -0
  140. package/dist/components/p-CINfIgzX.js +5 -0
  141. package/dist/components/p-CJpwqpuQ.js +5 -0
  142. package/dist/components/p-CK4E5G0i.js +5 -0
  143. package/dist/components/p-CUqXnLyM.js +5 -0
  144. package/dist/components/p-CjWDXQ_q.js +5 -0
  145. package/dist/components/p-Cl9ct-bZ.js +5 -0
  146. package/dist/components/p-CqGVdvFp.js +5 -0
  147. package/dist/components/p-D2bxjSGr.js +5 -0
  148. package/dist/components/p-D63WC2_Y.js +5 -0
  149. package/dist/components/p-D7yku_Qi.js +5 -0
  150. package/dist/components/p-DXHx6lre.js +5 -0
  151. package/dist/components/p-DXj5zsQK.js +5 -0
  152. package/dist/components/p-DsCtgcZn.js +5 -0
  153. package/dist/components/p-DxjQlmaz.js +5 -0
  154. package/dist/components/p-JtBlsz4j.js +5 -0
  155. package/dist/components/p-P3fAKtye.js +5 -0
  156. package/dist/components/p-nxlqujKv.js +5 -0
  157. package/dist/components/p-vvHN2Olh.js +5 -0
  158. package/dist/components/p-yQ70lKV2.js +5 -0
  159. package/dist/components/part-lookup.js +1 -1
  160. package/dist/components/service-booking-form.js +1 -1
  161. package/dist/components/{service-history.d.ts → shift-accordion.d.ts} +4 -4
  162. package/dist/components/shift-accordion.js +5 -0
  163. package/dist/components/{dynamic-claim.d.ts → shift-slider.d.ts} +4 -4
  164. package/dist/components/shift-slider.js +5 -0
  165. package/dist/components/{warranty-details.d.ts → shift-tab-content.d.ts} +4 -4
  166. package/dist/components/shift-tab-content.js +5 -0
  167. package/dist/components/{dynamic-redeem.d.ts → shift-tabs.d.ts} +4 -4
  168. package/dist/components/shift-tabs.js +5 -0
  169. package/dist/components/vehicle-accessories.js +1 -1
  170. package/dist/components/vehicle-claimable-items.d.ts +11 -0
  171. package/dist/components/vehicle-claimable-items.js +5 -0
  172. package/dist/components/vehicle-item-claim-form.d.ts +11 -0
  173. package/dist/components/vehicle-item-claim-form.js +5 -0
  174. package/dist/components/vehicle-lookup.js +1 -1
  175. package/dist/components/vehicle-paint-thickness.d.ts +11 -0
  176. package/dist/components/vehicle-paint-thickness.js +5 -0
  177. package/dist/components/vehicle-service-history.d.ts +11 -0
  178. package/dist/components/vehicle-service-history.js +5 -0
  179. package/dist/components/vehicle-specification.js +1 -1
  180. package/dist/components/vehicle-warranty-details.d.ts +11 -0
  181. package/dist/components/vehicle-warranty-details.js +5 -0
  182. package/dist/components/vin-extractor.js +1 -1
  183. package/dist/esm/cn-BK16Cn81.js +2595 -0
  184. package/dist/esm/contact-us-form.entry.js +10 -19
  185. package/dist/esm/dead-stock-lookup_3.entry.js +15 -30
  186. package/dist/esm/flexible-container.entry.js +132 -0
  187. package/dist/esm/form-dialog_8.entry.js +36 -90
  188. package/dist/esm/{get-local-language-c101a29e.js → get-local-language-BPo-xYwK.js} +339 -296
  189. package/dist/esm/{index-3a623f7c.js → index-CikEOqe0.js} +524 -268
  190. package/dist/esm/information-table.entry.js +38 -0
  191. package/dist/esm/loader.js +3 -4
  192. package/dist/esm/loading-spinner.entry.js +6 -8
  193. package/dist/esm/part-lookup.entry.js +14 -19
  194. package/dist/esm/service-booking-form.entry.js +10 -19
  195. package/dist/esm/shift-accordion.entry.js +27 -0
  196. package/dist/esm/shift-components.js +5 -5
  197. package/dist/esm/shift-slider.entry.js +68 -0
  198. package/dist/esm/shift-tab-content_7.entry.js +1479 -0
  199. package/dist/esm/shift-tabs_2.entry.js +298 -0
  200. package/dist/esm/{type-da6a6181.js → type-CfLRnI1J.js} +10 -7
  201. package/dist/esm/{type-a560f317.js → type-D9Rd8Kcd.js} +5 -5
  202. package/dist/esm/{type-ecf0121e.js → type-DHujxJVp.js} +32 -123
  203. package/dist/esm/vehicle-info-layout-D1bvY1nt.js +43 -0
  204. package/dist/esm/vehicle-lookup.entry.js +55 -43
  205. package/dist/esm/vin-extractor.entry.js +22 -30
  206. package/dist/locales/errors/ru.json +10 -10
  207. package/dist/locales/partLookup/deadStock/ru.json +3 -3
  208. package/dist/locales/partLookup/distributor/ru.json +14 -14
  209. package/dist/locales/partLookup/manufacturer/ar.json +3 -3
  210. package/dist/locales/partLookup/manufacturer/en.json +3 -3
  211. package/dist/locales/partLookup/manufacturer/ku.json +3 -3
  212. package/dist/locales/partLookup/manufacturer/ru.json +15 -15
  213. package/dist/locales/partLookup/manufacturer/type.ts +3 -3
  214. package/dist/locales/vehicleLookup/accessories/ru.json +6 -6
  215. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ar.json +6 -3
  216. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/en.json +4 -1
  217. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ku.json +6 -3
  218. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/ru.json +10 -7
  219. package/dist/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.ts +10 -7
  220. package/dist/locales/vehicleLookup/paintThickness/ru.json +7 -7
  221. package/dist/locales/vehicleLookup/serviceHistory/ru.json +8 -8
  222. package/dist/locales/vehicleLookup/specification/ru.json +8 -8
  223. package/dist/locales/vehicleLookup/warranty/ar.json +1 -0
  224. package/dist/locales/vehicleLookup/warranty/en.json +1 -0
  225. package/dist/locales/vehicleLookup/warranty/ku.json +1 -0
  226. package/dist/locales/vehicleLookup/warranty/ru.json +17 -16
  227. package/dist/locales/vehicleLookup/warranty/type.ts +1 -0
  228. package/dist/locales/vehicleLookup/wrapper-type.ts +2 -2
  229. package/dist/shift-components/p-0c8bbdd0.entry.js +5 -0
  230. package/dist/shift-components/p-238f5df0.entry.js +5 -0
  231. package/dist/shift-components/p-389f444c.entry.js +5 -0
  232. package/dist/shift-components/p-5dd208de.entry.js +5 -0
  233. package/dist/shift-components/p-5f91eb5f.entry.js +5 -0
  234. package/dist/shift-components/p-76dd44e9.entry.js +5 -0
  235. package/dist/shift-components/p-9a51dae0.entry.js +5 -0
  236. package/dist/shift-components/p-BAMA88Mr.js +5 -0
  237. package/dist/shift-components/p-BK16Cn81.js +5 -0
  238. package/dist/shift-components/p-Br0JD1CD.js +5 -0
  239. package/dist/shift-components/p-CIU9c3pi.js +5 -0
  240. package/dist/shift-components/p-CikEOqe0.js +6 -0
  241. package/dist/shift-components/p-CuQ84qxe.js +5 -0
  242. package/dist/shift-components/p-DHb8KxaG.js +5 -0
  243. package/dist/shift-components/p-af44ca99.entry.js +5 -0
  244. package/dist/shift-components/p-b6497f63.entry.js +5 -0
  245. package/dist/shift-components/p-d0e6cd78.entry.js +5 -0
  246. package/dist/shift-components/p-f1225504.entry.js +5 -0
  247. package/dist/shift-components/p-f282c740.entry.js +5 -0
  248. package/dist/shift-components/p-faabbd23.entry.js +5 -0
  249. package/dist/shift-components/p-ff0fec09.entry.js +5 -0
  250. package/dist/shift-components/shift-components.esm.js +1 -1
  251. package/dist/types/components/components/card-content.d.ts +10 -0
  252. package/dist/types/components/components/flexible-container.d.ts +30 -0
  253. package/dist/types/components/components/information-table.d.ts +20 -0
  254. package/dist/types/components/components/material-card.d.ts +16 -0
  255. package/dist/types/components/components/shift-accordion.d.ts +13 -0
  256. package/dist/types/components/components/shift-slider.d.ts +11 -0
  257. package/dist/types/components/components/shift-tab-content.d.ts +12 -0
  258. package/dist/types/components/components/shift-tabs.d.ts +12 -0
  259. package/dist/types/components/components/vehicle-info-layout.d.ts +11 -0
  260. package/dist/types/components/part-lookup/dead-stock-lookup.d.ts +5 -5
  261. package/dist/types/components/part-lookup/distributor-lookup.d.ts +5 -5
  262. package/dist/types/components/part-lookup/manufacturer-lookup.d.ts +5 -5
  263. package/dist/types/components/vehicle-lookup/components/CardsContainer.d.ts +5 -4
  264. package/dist/types/components/vehicle-lookup/components/StatusCard.d.ts +4 -2
  265. package/dist/types/components/vehicle-lookup/vehicle-accessories.d.ts +6 -5
  266. package/dist/types/components/vehicle-lookup/{dynamic-claim.d.ts → vehicle-claimable-items.d.ts} +31 -22
  267. package/dist/types/components/vehicle-lookup/{dynamic-redeem.d.ts → vehicle-item-claim-form.d.ts} +34 -10
  268. package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +20 -16
  269. package/dist/types/components/vehicle-lookup/{paint-thickness.d.ts → vehicle-paint-thickness.d.ts} +8 -6
  270. package/dist/types/components/vehicle-lookup/{service-history.d.ts → vehicle-service-history.d.ts} +7 -6
  271. package/dist/types/components/vehicle-lookup/vehicle-specification.d.ts +6 -5
  272. package/dist/types/components/vehicle-lookup/{warranty-details.d.ts → vehicle-warranty-details.d.ts} +9 -8
  273. package/dist/types/components.d.ts +1060 -195
  274. package/dist/types/global/api/partInformation.d.ts +5 -5
  275. package/dist/types/global/api/vehicleInformation.d.ts +4 -4
  276. package/dist/types/global/lib/children-with-tag.d.ts +1 -0
  277. package/dist/types/global/lib/container-has-tag.d.ts +1 -0
  278. package/dist/types/global/lib/scroll-into-container-view.d.ts +1 -0
  279. package/dist/types/global/types/generated/part/branch-dead-stock-dto.d.ts +5 -0
  280. package/dist/types/global/types/generated/part/dead-stock-dto.d.ts +6 -0
  281. package/dist/types/global/types/generated/part/hs-code-dto.d.ts +5 -0
  282. package/dist/types/global/types/generated/part/part-lookup-dto.d.ts +27 -0
  283. package/dist/types/global/types/generated/part/part-price-dto.d.ts +10 -0
  284. package/dist/types/global/types/generated/part/price-dto.d.ts +6 -0
  285. package/dist/types/global/types/generated/part/stock-part-dto.d.ts +5 -0
  286. package/dist/types/global/types/generated/vehicle-lookup/accessory-dto.d.ts +5 -0
  287. package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-dto.d.ts +6 -0
  288. package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-image-dto.d.ts +4 -0
  289. package/dist/types/global/types/generated/vehicle-lookup/paint-thickness-part-dto.d.ts +5 -0
  290. package/dist/types/global/types/generated/vehicle-lookup/ssc-dto.d.ts +10 -0
  291. package/dist/types/global/types/generated/vehicle-lookup/ssc-labor-dto.d.ts +5 -0
  292. package/dist/types/global/types/generated/vehicle-lookup/ssc-part-dto.d.ts +5 -0
  293. package/dist/types/global/types/generated/vehicle-lookup/vehicle-broker-sale-information.d.ts +7 -0
  294. package/dist/types/global/types/generated/vehicle-lookup/vehicle-identifiers-dto.d.ts +9 -0
  295. package/dist/types/global/types/generated/vehicle-lookup/vehicle-labor-dto.d.ts +6 -0
  296. package/dist/types/global/types/generated/vehicle-lookup/vehicle-lookup-dto.d.ts +27 -0
  297. package/dist/types/global/types/generated/vehicle-lookup/vehicle-part-dto.d.ts +6 -0
  298. package/dist/types/global/types/generated/vehicle-lookup/vehicle-sale-information.d.ts +16 -0
  299. package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-history-dto.d.ts +16 -0
  300. package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-item-dto.d.ts +34 -0
  301. package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-item-group.d.ts +6 -0
  302. package/dist/types/global/types/generated/vehicle-lookup/vehicle-specification-dto.d.ts +22 -0
  303. package/dist/types/global/types/generated/vehicle-lookup/vehicle-variant-info-dto.d.ts +5 -0
  304. package/dist/types/global/types/generated/vehicle-lookup/vehicle-warranty-dto.d.ts +8 -0
  305. package/dist/types/locale-mapper.d.ts +2 -2
  306. package/dist/types/locales/partLookup/distributor/type.d.ts +2 -2
  307. package/dist/types/locales/partLookup/manufacturer/type.d.ts +6 -6
  308. package/dist/types/locales/partLookup/wrapper-type.d.ts +8 -8
  309. package/dist/types/locales/vehicleLookup/accessories/type.d.ts +2 -2
  310. package/dist/types/locales/vehicleLookup/{dynamicClaim → claimableItems}/type.d.ts +28 -16
  311. package/dist/types/locales/vehicleLookup/paintThickness/type.d.ts +4 -4
  312. package/dist/types/locales/vehicleLookup/serviceHistory/type.d.ts +4 -4
  313. package/dist/types/locales/vehicleLookup/warranty/type.d.ts +2 -0
  314. package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +52 -44
  315. package/dist/types/stencil-public-runtime.d.ts +23 -1
  316. package/package.json +10 -8
  317. package/LICENSE +0 -21
  318. package/dist/cjs/app-globals-4aa8f46f.js +0 -46
  319. package/dist/cjs/cn-f559f9e5.js +0 -2588
  320. package/dist/cjs/dynamic-claim_6.cjs.entry.js +0 -1224
  321. package/dist/cjs/dynamic-redeem.cjs.entry.js +0 -210
  322. package/dist/collection/components/vehicle-lookup/components/SSCTable.js +0 -18
  323. package/dist/collection/components/vehicle-lookup/dynamic-claim.css +0 -1
  324. package/dist/collection/components/vehicle-lookup/dynamic-claim.js +0 -756
  325. package/dist/collection/components/vehicle-lookup/dynamic-redeem.css +0 -1
  326. package/dist/collection/components/vehicle-lookup/dynamic-redeem.js +0 -444
  327. package/dist/collection/components/vehicle-lookup/paint-thickness.css +0 -1
  328. package/dist/collection/components/vehicle-lookup/warranty-details.css +0 -1
  329. package/dist/collection/global/types/vehicle-information.js +0 -5
  330. package/dist/collection/templates/vehicle-lookup/vehicle-lookup.js +0 -285
  331. package/dist/components/dynamic-claim.js +0 -5
  332. package/dist/components/dynamic-redeem.js +0 -5
  333. package/dist/components/p-11b381c5.js +0 -5
  334. package/dist/components/p-193d8106.js +0 -5
  335. package/dist/components/p-200d1808.js +0 -5
  336. package/dist/components/p-226ba896.js +0 -5
  337. package/dist/components/p-26f6cc29.js +0 -5
  338. package/dist/components/p-294d8325.js +0 -5
  339. package/dist/components/p-2acdd0af.js +0 -5
  340. package/dist/components/p-2fda2f2f.js +0 -5
  341. package/dist/components/p-3c0afe07.js +0 -5
  342. package/dist/components/p-48a9b8e5.js +0 -5
  343. package/dist/components/p-5454a106.js +0 -5
  344. package/dist/components/p-55c8cd0b.js +0 -5
  345. package/dist/components/p-6a7bbdf3.js +0 -5
  346. package/dist/components/p-79ecb709.js +0 -5
  347. package/dist/components/p-7e46c004.js +0 -5
  348. package/dist/components/p-8b1d90d7.js +0 -5
  349. package/dist/components/p-98d9e7ab.js +0 -5
  350. package/dist/components/p-a3684493.js +0 -5
  351. package/dist/components/p-a6d70cb6.js +0 -5
  352. package/dist/components/p-b09904be.js +0 -5
  353. package/dist/components/p-be50ca5e.js +0 -5
  354. package/dist/components/p-bffefd15.js +0 -5
  355. package/dist/components/p-d87dc098.js +0 -5
  356. package/dist/components/p-da2d6d3a.js +0 -5
  357. package/dist/components/p-f5eeeb44.js +0 -5
  358. package/dist/components/paint-thickness.js +0 -5
  359. package/dist/components/service-history.js +0 -5
  360. package/dist/components/warranty-details.js +0 -5
  361. package/dist/esm/app-globals-68faa233.js +0 -44
  362. package/dist/esm/cn-cc419b94.js +0 -2586
  363. package/dist/esm/dynamic-claim_6.entry.js +0 -1215
  364. package/dist/esm/dynamic-redeem.entry.js +0 -206
  365. package/dist/esm/type-b8db76db.js +0 -34
  366. package/dist/shift-components/p-232a8be0.entry.js +0 -5
  367. package/dist/shift-components/p-303060dd.entry.js +0 -5
  368. package/dist/shift-components/p-3ab6a99b.entry.js +0 -5
  369. package/dist/shift-components/p-446d908d.js +0 -5
  370. package/dist/shift-components/p-5b788e6a.entry.js +0 -5
  371. package/dist/shift-components/p-6723e1a8.js +0 -5
  372. package/dist/shift-components/p-74a3ad1c.entry.js +0 -5
  373. package/dist/shift-components/p-7b7d6d0e.entry.js +0 -5
  374. package/dist/shift-components/p-7fe5bd46.js +0 -5
  375. package/dist/shift-components/p-88368ab5.entry.js +0 -5
  376. package/dist/shift-components/p-9474a4da.js +0 -6
  377. package/dist/shift-components/p-95723679.entry.js +0 -5
  378. package/dist/shift-components/p-98d9e7ab.js +0 -5
  379. package/dist/shift-components/p-a0f7ad13.js +0 -5
  380. package/dist/shift-components/p-a90b4fd3.js +0 -5
  381. package/dist/shift-components/p-dee0018f.entry.js +0 -5
  382. package/dist/shift-components/p-e85c3c9f.js +0 -5
  383. package/dist/shift-components/p-fa9b43e2.entry.js +0 -5
  384. package/dist/types/components/vehicle-lookup/components/SSCTable.d.ts +0 -9
  385. package/dist/types/global/types/part-information.d.ts +0 -53
  386. package/dist/types/global/types/vehicle-information.d.ts +0 -182
  387. package/loader/package.json +0 -11
  388. package/readme.md +0 -15
  389. /package/dist/cjs/{loader-baf2418b.js → loader-jtAYWeFG.js} +0 -0
  390. /package/dist/cjs/{validate-vin-32e95695.js → validate-vin-CJDIXpJO.js} +0 -0
  391. /package/dist/collection/global/types/{part-information.js → generated/part/branch-dead-stock-dto.js} +0 -0
  392. /package/dist/components/{p-00a27a58.js → p-B5YdqGVm.js} +0 -0
  393. /package/dist/components/{p-fab97ac7.js → p-BT4rhLRL.js} +0 -0
  394. /package/dist/components/{p-a21e2e2e.js → p-C-EQDloC.js} +0 -0
  395. /package/dist/components/{p-383b4ddf.js → p-CUREVASG.js} +0 -0
  396. /package/dist/esm/{loader-027b88af.js → loader-C-EQDloC.js} +0 -0
  397. /package/dist/esm/{validate-vin-f4d23a44.js → validate-vin-CUREVASG.js} +0 -0
  398. /package/dist/shift-components/{p-a21e2e2e.js → p-C-EQDloC.js} +0 -0
  399. /package/dist/shift-components/{p-383b4ddf.js → p-CUREVASG.js} +0 -0
@@ -9,15 +9,10 @@ import { isValidStructure } from "../../global/lib/validate-form-structure";
9
9
  import generalSchema from "../../locales/general/type";
10
10
  export class FormStructure {
11
11
  constructor() {
12
- this.theme = undefined;
13
12
  this.themes = {};
14
13
  this.renderControl = {};
15
- this.isLoading = undefined;
16
- this.form = undefined;
17
- this.errorMessage = undefined;
18
14
  this.language = 'en';
19
15
  this.structure = '["submit.Submit"]';
20
- this.formElementMapper = undefined;
21
16
  this.showSuccess = false;
22
17
  this.structureObject = null;
23
18
  this.sharedLocales = sharedLocalesSchema.getDefault();
@@ -82,6 +77,7 @@ export class FormStructure {
82
77
  return {
83
78
  "theme": {
84
79
  "type": "string",
80
+ "attribute": "theme",
85
81
  "mutable": false,
86
82
  "complexType": {
87
83
  "original": "string",
@@ -94,11 +90,13 @@ export class FormStructure {
94
90
  "tags": [],
95
91
  "text": ""
96
92
  },
97
- "attribute": "theme",
93
+ "getter": false,
94
+ "setter": false,
98
95
  "reflect": false
99
96
  },
100
97
  "themes": {
101
98
  "type": "any",
99
+ "attribute": "themes",
102
100
  "mutable": false,
103
101
  "complexType": {
104
102
  "original": "any",
@@ -111,12 +109,14 @@ export class FormStructure {
111
109
  "tags": [],
112
110
  "text": ""
113
111
  },
114
- "attribute": "themes",
112
+ "getter": false,
113
+ "setter": false,
115
114
  "reflect": false,
116
115
  "defaultValue": "{}"
117
116
  },
118
117
  "renderControl": {
119
118
  "type": "unknown",
119
+ "attribute": "render-control",
120
120
  "mutable": false,
121
121
  "complexType": {
122
122
  "original": "{}",
@@ -129,10 +129,13 @@ export class FormStructure {
129
129
  "tags": [],
130
130
  "text": ""
131
131
  },
132
+ "getter": false,
133
+ "setter": false,
132
134
  "defaultValue": "{}"
133
135
  },
134
136
  "isLoading": {
135
137
  "type": "boolean",
138
+ "attribute": "is-loading",
136
139
  "mutable": false,
137
140
  "complexType": {
138
141
  "original": "boolean",
@@ -145,11 +148,13 @@ export class FormStructure {
145
148
  "tags": [],
146
149
  "text": ""
147
150
  },
148
- "attribute": "is-loading",
151
+ "getter": false,
152
+ "setter": false,
149
153
  "reflect": false
150
154
  },
151
155
  "form": {
152
156
  "type": "unknown",
157
+ "attribute": "form",
153
158
  "mutable": false,
154
159
  "complexType": {
155
160
  "original": "FormHook<any>",
@@ -167,10 +172,13 @@ export class FormStructure {
167
172
  "docs": {
168
173
  "tags": [],
169
174
  "text": ""
170
- }
175
+ },
176
+ "getter": false,
177
+ "setter": false
171
178
  },
172
179
  "errorMessage": {
173
180
  "type": "string",
181
+ "attribute": "error-message",
174
182
  "mutable": false,
175
183
  "complexType": {
176
184
  "original": "string",
@@ -183,11 +191,13 @@ export class FormStructure {
183
191
  "tags": [],
184
192
  "text": ""
185
193
  },
186
- "attribute": "error-message",
194
+ "getter": false,
195
+ "setter": false,
187
196
  "reflect": false
188
197
  },
189
198
  "language": {
190
199
  "type": "string",
200
+ "attribute": "language",
191
201
  "mutable": false,
192
202
  "complexType": {
193
203
  "original": "LanguageKeys",
@@ -206,12 +216,14 @@ export class FormStructure {
206
216
  "tags": [],
207
217
  "text": ""
208
218
  },
209
- "attribute": "language",
219
+ "getter": false,
220
+ "setter": false,
210
221
  "reflect": false,
211
222
  "defaultValue": "'en'"
212
223
  },
213
224
  "structure": {
214
225
  "type": "string",
226
+ "attribute": "structure",
215
227
  "mutable": false,
216
228
  "complexType": {
217
229
  "original": "string",
@@ -224,12 +236,14 @@ export class FormStructure {
224
236
  "tags": [],
225
237
  "text": ""
226
238
  },
227
- "attribute": "structure",
239
+ "getter": false,
240
+ "setter": false,
228
241
  "reflect": false,
229
242
  "defaultValue": "'[\"submit.Submit\"]'"
230
243
  },
231
244
  "formElementMapper": {
232
245
  "type": "unknown",
246
+ "attribute": "form-element-mapper",
233
247
  "mutable": false,
234
248
  "complexType": {
235
249
  "original": "FormElementMapper<any>",
@@ -247,7 +261,9 @@ export class FormStructure {
247
261
  "docs": {
248
262
  "tags": [],
249
263
  "text": ""
250
- }
264
+ },
265
+ "getter": false,
266
+ "setter": false
251
267
  }
252
268
  };
253
269
  }
@@ -9,10 +9,8 @@ import Loader from "~assets/white-loader.svg";
9
9
  import generalSchema from "../../locales/general/type";
10
10
  export class FormSubmit {
11
11
  constructor() {
12
- this.isLoading = undefined;
13
12
  this.params = {};
14
13
  this.language = 'en';
15
- this.structureElement = undefined;
16
14
  this.generalLocale = generalSchema.getDefault();
17
15
  }
18
16
  async componentWillLoad() {
@@ -23,9 +21,9 @@ export class FormSubmit {
23
21
  }
24
22
  render() {
25
23
  var _a, _b;
26
- return (h("button", Object.assign({ key: 'fd73828962cc1dfb84a692381b15365c21ca7102', type: "submit" }, this.params, { disabled: this.isLoading, id: this.structureElement.id, class: cn('h-[38px] relative overflow-hidden px-4 enabled:hover:bg-slate-600 transition-colors duration-300 bg-slate-700 enabled:active:bg-slate-800 rounded text-white flex items-center', this.structureElement.class, {
24
+ return (h("button", Object.assign({ key: 'c94f7e2115cde49626240fb41cd5ffc2f59dc140', type: "submit" }, this.params, { disabled: this.isLoading, id: this.structureElement.id, class: cn('h-[38px] relative overflow-hidden px-4 enabled:hover:bg-slate-600 transition-colors duration-300 bg-slate-700 enabled:active:bg-slate-800 rounded text-white flex items-center', this.structureElement.class, {
27
25
  'bg-slate-600': this.isLoading,
28
- }) }), h("div", { key: '3c496ed10354ce7864a8e957c71633507c6f029c', class: "opacity-0" }, this.generalLocale[(_a = this.structureElement.class) === null || _a === void 0 ? void 0 : _a.toLowerCase()] || this.structureElement.class), h("div", { key: 'd9a4290d0cd10c9360313b7cc86a0882102359e6', class: cn('absolute size-full top-0 left-0 flex items-center justify-center transition !duration-1000', { 'translate-y-full': this.isLoading }) }, this.generalLocale[(_b = this.structureElement.class) === null || _b === void 0 ? void 0 : _b.toLowerCase()] || this.structureElement.class), h("div", { key: 'e42e59f474e958017343100a83e6658917d87ecb', class: cn('absolute flex justify-center items-center top-0 left-0 size-full transition !duration-1000 -translate-y-full', { 'translate-y-0': this.isLoading }) }, h("img", { key: 'b78e75832c63b2038110b45df39293452d661d5f', class: "spin-slow size-[22px]", src: Loader }))));
26
+ }) }), h("div", { key: '9ee9ff6643a14d33704c3702ae83a94e5ba8d0ea', class: "opacity-0" }, this.generalLocale[(_a = this.structureElement.class) === null || _a === void 0 ? void 0 : _a.toLowerCase()] || this.structureElement.class), h("div", { key: 'e8babfc5e31a4603c0e77dd65f0b23337a2868c6', class: cn('absolute size-full top-0 left-0 flex items-center justify-center transition !duration-1000', { 'translate-y-full': this.isLoading }) }, this.generalLocale[(_b = this.structureElement.class) === null || _b === void 0 ? void 0 : _b.toLowerCase()] || this.structureElement.class), h("div", { key: 'fad2038a43045dacb8af9b0e4c46311d48edd73e', class: cn('absolute flex justify-center items-center top-0 left-0 size-full transition !duration-1000 -translate-y-full', { 'translate-y-0': this.isLoading }) }, h("img", { key: '90ae6be2efe5c6bb3748f30e0db13cba36a4ad2f', class: "spin-slow size-[22px]", src: Loader }))));
29
27
  }
30
28
  static get is() { return "form-submit"; }
31
29
  static get originalStyleUrls() {
@@ -42,6 +40,7 @@ export class FormSubmit {
42
40
  return {
43
41
  "isLoading": {
44
42
  "type": "boolean",
43
+ "attribute": "is-loading",
45
44
  "mutable": false,
46
45
  "complexType": {
47
46
  "original": "boolean",
@@ -54,11 +53,13 @@ export class FormSubmit {
54
53
  "tags": [],
55
54
  "text": ""
56
55
  },
57
- "attribute": "is-loading",
56
+ "getter": false,
57
+ "setter": false,
58
58
  "reflect": false
59
59
  },
60
60
  "params": {
61
61
  "type": "unknown",
62
+ "attribute": "params",
62
63
  "mutable": false,
63
64
  "complexType": {
64
65
  "original": "FormFieldParams",
@@ -77,10 +78,13 @@ export class FormSubmit {
77
78
  "tags": [],
78
79
  "text": ""
79
80
  },
81
+ "getter": false,
82
+ "setter": false,
80
83
  "defaultValue": "{}"
81
84
  },
82
85
  "language": {
83
86
  "type": "string",
87
+ "attribute": "language",
84
88
  "mutable": false,
85
89
  "complexType": {
86
90
  "original": "LanguageKeys",
@@ -99,12 +103,14 @@ export class FormSubmit {
99
103
  "tags": [],
100
104
  "text": ""
101
105
  },
102
- "attribute": "language",
106
+ "getter": false,
107
+ "setter": false,
103
108
  "reflect": false,
104
109
  "defaultValue": "'en'"
105
110
  },
106
111
  "structureElement": {
107
112
  "type": "unknown",
113
+ "attribute": "structure-element",
108
114
  "mutable": false,
109
115
  "complexType": {
110
116
  "original": "StructureObject",
@@ -122,7 +128,9 @@ export class FormSubmit {
122
128
  "docs": {
123
129
  "tags": [],
124
130
  "text": ""
125
- }
131
+ },
132
+ "getter": false,
133
+ "setter": false
126
134
  }
127
135
  };
128
136
  }
@@ -9,16 +9,7 @@ import formsSchema from "../../locales/forms/type";
9
9
  import formWrapperSchema from "../../locales/forms/wrapper-type";
10
10
  export class FormTextArea {
11
11
  constructor() {
12
- this.label = undefined;
13
- this.isError = undefined;
14
- this.wrapperId = undefined;
15
- this.form = undefined;
16
- this.isRequired = undefined;
17
- this.wrapperClass = undefined;
18
- this.errorMessage = undefined;
19
- this.inputParams = undefined;
20
12
  this.language = 'en';
21
- this.formLocaleName = undefined;
22
13
  this.locale = formWrapperSchema.getDefault();
23
14
  }
24
15
  async componentWillLoad() {
@@ -46,7 +37,7 @@ export class FormTextArea {
46
37
  const prefix = this.el.getElementsByClassName('prefix')[0];
47
38
  const prefixWidth = prefix ? prefix.getBoundingClientRect().width : 0;
48
39
  const texts = this.locale[this.formLocaleName];
49
- return (h(Host, { key: 'cb6185f4484d81e454c28548d6ef07b18d624a5e' }, h("label", { key: 'b796cc38835eca5e2abaea809b7b4ca1e7a4955c', id: this.wrapperId, class: cn('relative w-full inline-flex flex-col', this.wrapperClass) }, label && (h("div", { key: 'e237ef2f3c490d122f4bdd5a4a4d691a4ce4f387', class: "mb-[4px]" }, texts[label] || label, isRequired && h("span", { key: '4a6dec57edee4c72e1fc3940f6be610b975aae35', class: "ms-0.5 text-red-600" }, "*"))), h("div", { key: 'a706e9f14f7b8b18ce86aace5ee9d8cfd9cfc258', class: cn('relative', { 'opacity-75': this.inputParams.disabled }) }, h("textarea", Object.assign({ key: '77685991318ac0c731ac537a996f69b5fa83c168' }, this.inputParams, { style: Object.assign({}, (prefixWidth ? { paddingLeft: `${prefixWidth}px` } : {})), placeholder: texts[this.inputParams.placeholder] || this.inputParams.placeholder, class: cn('border h-[200px] form-input resize-none disabled:bg-white flex-1 py-[6px] px-[12px] transition duration-300 rounded-md outline-none focus:border-slate-600 focus:shadow-[0_0_0_0.2rem_rgba(71,85,105,0.25)] w-full', 'form-textarea-' + this.inputParams.name, { '!border-red-500 focus:shadow-[0_0_0_0.2rem_rgba(239,68,68,0.25)]': isError }) }))), h("div", { key: '0bea59ec98c8a88cc53dd6dd5e47c446c3fb9559', class: cn('absolute text-[12px] -mt-[4px] -z-10 text-red-500 opacity-0 -translate-y-[10px] bottom-0 transition duration-300', {
40
+ return (h(Host, { key: '129d083eebc6aa61667c2a35aa59769cfdc666d4' }, h("label", { key: '4546ff8cad9ea03837abf91f75178c4f6465348c', id: this.wrapperId, class: cn('relative w-full inline-flex flex-col', this.wrapperClass) }, label && (h("div", { key: 'f8a73a3f2d4ac30fe48f6f5d04e24d5f73e72ebd', class: "mb-[4px]" }, texts[label] || label, isRequired && h("span", { key: '326eca0fd9da699170390d4c9e684586d486bda3', class: "ms-0.5 text-red-600" }, "*"))), h("div", { key: '6a16d0dfb0b21718f4a5db79b9b93945955576f8', class: cn('relative', { 'opacity-75': this.inputParams.disabled }) }, h("textarea", Object.assign({ key: '413ba04e282ad253182dd46c73354d45811ac215' }, this.inputParams, { style: Object.assign({}, (prefixWidth ? { paddingLeft: `${prefixWidth}px` } : {})), placeholder: texts[this.inputParams.placeholder] || this.inputParams.placeholder, class: cn('border h-[200px] form-input resize-none disabled:bg-white flex-1 py-[6px] px-[12px] transition duration-300 rounded-md outline-none focus:border-slate-600 focus:shadow-[0_0_0_0.2rem_rgba(71,85,105,0.25)] w-full', 'form-textarea-' + this.inputParams.name, { '!border-red-500 focus:shadow-[0_0_0_0.2rem_rgba(239,68,68,0.25)]': isError }) }))), h("div", { key: '5b45805cf6aa5935638521343ee83f599be38c84', class: cn('absolute text-[12px] -mt-[4px] -z-10 text-red-500 opacity-0 -translate-y-[10px] bottom-0 transition duration-300', {
50
41
  'translate-y-[calc(100%-5px)] error-message opacity-100': isError,
51
42
  }) }, texts[errorMessage] || this.locale.inputValueIsIncorrect || errorMessage))));
52
43
  }
@@ -65,6 +56,7 @@ export class FormTextArea {
65
56
  return {
66
57
  "label": {
67
58
  "type": "string",
59
+ "attribute": "label",
68
60
  "mutable": false,
69
61
  "complexType": {
70
62
  "original": "string",
@@ -77,11 +69,13 @@ export class FormTextArea {
77
69
  "tags": [],
78
70
  "text": ""
79
71
  },
80
- "attribute": "label",
72
+ "getter": false,
73
+ "setter": false,
81
74
  "reflect": false
82
75
  },
83
76
  "isError": {
84
77
  "type": "boolean",
78
+ "attribute": "is-error",
85
79
  "mutable": false,
86
80
  "complexType": {
87
81
  "original": "boolean",
@@ -94,11 +88,13 @@ export class FormTextArea {
94
88
  "tags": [],
95
89
  "text": ""
96
90
  },
97
- "attribute": "is-error",
91
+ "getter": false,
92
+ "setter": false,
98
93
  "reflect": false
99
94
  },
100
95
  "wrapperId": {
101
96
  "type": "string",
97
+ "attribute": "wrapper-id",
102
98
  "mutable": false,
103
99
  "complexType": {
104
100
  "original": "string",
@@ -111,11 +107,13 @@ export class FormTextArea {
111
107
  "tags": [],
112
108
  "text": ""
113
109
  },
114
- "attribute": "wrapper-id",
110
+ "getter": false,
111
+ "setter": false,
115
112
  "reflect": false
116
113
  },
117
114
  "form": {
118
115
  "type": "unknown",
116
+ "attribute": "form",
119
117
  "mutable": false,
120
118
  "complexType": {
121
119
  "original": "FormHook<any>",
@@ -133,10 +131,13 @@ export class FormTextArea {
133
131
  "docs": {
134
132
  "tags": [],
135
133
  "text": ""
136
- }
134
+ },
135
+ "getter": false,
136
+ "setter": false
137
137
  },
138
138
  "isRequired": {
139
139
  "type": "boolean",
140
+ "attribute": "is-required",
140
141
  "mutable": false,
141
142
  "complexType": {
142
143
  "original": "boolean",
@@ -149,11 +150,13 @@ export class FormTextArea {
149
150
  "tags": [],
150
151
  "text": ""
151
152
  },
152
- "attribute": "is-required",
153
+ "getter": false,
154
+ "setter": false,
153
155
  "reflect": false
154
156
  },
155
157
  "wrapperClass": {
156
158
  "type": "string",
159
+ "attribute": "wrapper-class",
157
160
  "mutable": false,
158
161
  "complexType": {
159
162
  "original": "string",
@@ -166,11 +169,13 @@ export class FormTextArea {
166
169
  "tags": [],
167
170
  "text": ""
168
171
  },
169
- "attribute": "wrapper-class",
172
+ "getter": false,
173
+ "setter": false,
170
174
  "reflect": false
171
175
  },
172
176
  "errorMessage": {
173
177
  "type": "string",
178
+ "attribute": "error-message",
174
179
  "mutable": false,
175
180
  "complexType": {
176
181
  "original": "string",
@@ -183,11 +188,13 @@ export class FormTextArea {
183
188
  "tags": [],
184
189
  "text": ""
185
190
  },
186
- "attribute": "error-message",
191
+ "getter": false,
192
+ "setter": false,
187
193
  "reflect": false
188
194
  },
189
195
  "inputParams": {
190
196
  "type": "unknown",
197
+ "attribute": "input-params",
191
198
  "mutable": false,
192
199
  "complexType": {
193
200
  "original": "InputParams",
@@ -205,10 +212,13 @@ export class FormTextArea {
205
212
  "docs": {
206
213
  "tags": [],
207
214
  "text": ""
208
- }
215
+ },
216
+ "getter": false,
217
+ "setter": false
209
218
  },
210
219
  "language": {
211
220
  "type": "string",
221
+ "attribute": "language",
212
222
  "mutable": false,
213
223
  "complexType": {
214
224
  "original": "LanguageKeys",
@@ -227,12 +237,14 @@ export class FormTextArea {
227
237
  "tags": [],
228
238
  "text": ""
229
239
  },
230
- "attribute": "language",
240
+ "getter": false,
241
+ "setter": false,
231
242
  "reflect": false,
232
243
  "defaultValue": "'en'"
233
244
  },
234
245
  "formLocaleName": {
235
246
  "type": "string",
247
+ "attribute": "form-locale-name",
236
248
  "mutable": false,
237
249
  "complexType": {
238
250
  "original": "LocaleFormKeys",
@@ -251,7 +263,8 @@ export class FormTextArea {
251
263
  "tags": [],
252
264
  "text": ""
253
265
  },
254
- "attribute": "form-locale-name",
266
+ "getter": false,
267
+ "setter": false,
255
268
  "reflect": false
256
269
  }
257
270
  };
@@ -10,21 +10,13 @@ import themes from "./contact-us/themes.json";
10
10
  import { contactUsElements } from "./contact-us/element-mapper";
11
11
  export class ContactUsForm {
12
12
  constructor() {
13
- this.recaptchaWidget = null;
14
- this.form = new FormHook(this, contactUsSchema);
15
- this.theme = undefined;
16
- this.baseUrl = undefined;
17
- this.brandId = undefined;
18
13
  this.queryString = '';
19
14
  this.language = 'en';
20
15
  this.structure = '["submit.Submit"]';
21
16
  this.recaptchaKey = '6Lehq6IpAAAAAETTDS2Zh60nHIT1a8oVkRtJ2WsA';
22
- this.errorCallback = undefined;
23
- this.successCallback = undefined;
24
- this.loadingChanges = undefined;
25
- this.isLoading = undefined;
26
17
  this.renderControl = {};
27
- this.errorMessage = undefined;
18
+ this.recaptchaWidget = null;
19
+ this.form = new FormHook(this, contactUsSchema);
28
20
  }
29
21
  async componentDidLoad() {
30
22
  try {
@@ -76,9 +68,9 @@ export class ContactUsForm {
76
68
  }
77
69
  }
78
70
  render() {
79
- return (h(Host, { key: 'f64fd788890359e79cdcba519f14158e8850a5dd', class: cn({
71
+ return (h(Host, { key: '1884a7df751cf38d35ff7bb458da4cacb8ba4718', class: cn({
80
72
  [`contact-us-${this.theme}`]: this.theme,
81
- }) }, h("form-structure", { key: '61198ac4570b33b2484fdf03ea4d45030fe48c3e', themes: themes, form: this.form, theme: this.theme, language: this.language, isLoading: this.isLoading, errorMessage: this.errorMessage, renderControl: this.renderControl, formElementMapper: contactUsElements }, h("slot", { key: '80504b37c6651f8195e919bf026d13df64e856a4' }))));
73
+ }) }, h("form-structure", { key: 'af6fa00de3a6149ff98cd1578e4684b6b9762862', themes: themes, form: this.form, theme: this.theme, language: this.language, isLoading: this.isLoading, errorMessage: this.errorMessage, renderControl: this.renderControl, formElementMapper: contactUsElements }, h("slot", { key: '293f206ca8a13e2276d9a52739967c775b8878e5' }))));
82
74
  }
83
75
  static get is() { return "contact-us-form"; }
84
76
  static get originalStyleUrls() {
@@ -95,6 +87,7 @@ export class ContactUsForm {
95
87
  return {
96
88
  "theme": {
97
89
  "type": "string",
90
+ "attribute": "theme",
98
91
  "mutable": false,
99
92
  "complexType": {
100
93
  "original": "string",
@@ -107,11 +100,13 @@ export class ContactUsForm {
107
100
  "tags": [],
108
101
  "text": ""
109
102
  },
110
- "attribute": "theme",
103
+ "getter": false,
104
+ "setter": false,
111
105
  "reflect": false
112
106
  },
113
107
  "baseUrl": {
114
108
  "type": "string",
109
+ "attribute": "base-url",
115
110
  "mutable": false,
116
111
  "complexType": {
117
112
  "original": "string",
@@ -124,11 +119,13 @@ export class ContactUsForm {
124
119
  "tags": [],
125
120
  "text": ""
126
121
  },
127
- "attribute": "base-url",
122
+ "getter": false,
123
+ "setter": false,
128
124
  "reflect": false
129
125
  },
130
126
  "brandId": {
131
127
  "type": "string",
128
+ "attribute": "brand-id",
132
129
  "mutable": false,
133
130
  "complexType": {
134
131
  "original": "string",
@@ -141,11 +138,13 @@ export class ContactUsForm {
141
138
  "tags": [],
142
139
  "text": ""
143
140
  },
144
- "attribute": "brand-id",
141
+ "getter": false,
142
+ "setter": false,
145
143
  "reflect": false
146
144
  },
147
145
  "queryString": {
148
146
  "type": "string",
147
+ "attribute": "query-string",
149
148
  "mutable": false,
150
149
  "complexType": {
151
150
  "original": "string",
@@ -158,12 +157,14 @@ export class ContactUsForm {
158
157
  "tags": [],
159
158
  "text": ""
160
159
  },
161
- "attribute": "query-string",
160
+ "getter": false,
161
+ "setter": false,
162
162
  "reflect": false,
163
163
  "defaultValue": "''"
164
164
  },
165
165
  "language": {
166
166
  "type": "string",
167
+ "attribute": "language",
167
168
  "mutable": false,
168
169
  "complexType": {
169
170
  "original": "LanguageKeys",
@@ -182,12 +183,14 @@ export class ContactUsForm {
182
183
  "tags": [],
183
184
  "text": ""
184
185
  },
185
- "attribute": "language",
186
+ "getter": false,
187
+ "setter": false,
186
188
  "reflect": false,
187
189
  "defaultValue": "'en'"
188
190
  },
189
191
  "structure": {
190
192
  "type": "string",
193
+ "attribute": "structure",
191
194
  "mutable": false,
192
195
  "complexType": {
193
196
  "original": "string",
@@ -200,12 +203,14 @@ export class ContactUsForm {
200
203
  "tags": [],
201
204
  "text": ""
202
205
  },
203
- "attribute": "structure",
206
+ "getter": false,
207
+ "setter": false,
204
208
  "reflect": false,
205
209
  "defaultValue": "'[\"submit.Submit\"]'"
206
210
  },
207
211
  "recaptchaKey": {
208
212
  "type": "string",
213
+ "attribute": "recaptcha-key",
209
214
  "mutable": false,
210
215
  "complexType": {
211
216
  "original": "string",
@@ -218,12 +223,14 @@ export class ContactUsForm {
218
223
  "tags": [],
219
224
  "text": ""
220
225
  },
221
- "attribute": "recaptcha-key",
226
+ "getter": false,
227
+ "setter": false,
222
228
  "reflect": false,
223
229
  "defaultValue": "'6Lehq6IpAAAAAETTDS2Zh60nHIT1a8oVkRtJ2WsA'"
224
230
  },
225
231
  "errorCallback": {
226
232
  "type": "unknown",
233
+ "attribute": "error-callback",
227
234
  "mutable": false,
228
235
  "complexType": {
229
236
  "original": "(error: any) => void",
@@ -235,10 +242,13 @@ export class ContactUsForm {
235
242
  "docs": {
236
243
  "tags": [],
237
244
  "text": ""
238
- }
245
+ },
246
+ "getter": false,
247
+ "setter": false
239
248
  },
240
249
  "successCallback": {
241
250
  "type": "unknown",
251
+ "attribute": "success-callback",
242
252
  "mutable": false,
243
253
  "complexType": {
244
254
  "original": "(values: any) => void",
@@ -250,10 +260,13 @@ export class ContactUsForm {
250
260
  "docs": {
251
261
  "tags": [],
252
262
  "text": ""
253
- }
263
+ },
264
+ "getter": false,
265
+ "setter": false
254
266
  },
255
267
  "loadingChanges": {
256
268
  "type": "unknown",
269
+ "attribute": "loading-changes",
257
270
  "mutable": false,
258
271
  "complexType": {
259
272
  "original": "(loading: boolean) => void",
@@ -265,7 +278,9 @@ export class ContactUsForm {
265
278
  "docs": {
266
279
  "tags": [],
267
280
  "text": ""
268
- }
281
+ },
282
+ "getter": false,
283
+ "setter": false
269
284
  }
270
285
  };
271
286
  }