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,19 +9,7 @@ import formsSchema from "../../locales/forms/type";
9
9
  import formWrapperSchema from "../../locales/forms/wrapper-type";
10
10
  export class FormInput {
11
11
  constructor() {
12
- this.label = undefined;
13
- this.class = undefined;
14
- this.isError = undefined;
15
- this.wrapperId = undefined;
16
- this.form = undefined;
17
- this.inputPreFix = undefined;
18
- this.isRequired = undefined;
19
- this.errorMessage = undefined;
20
- this.wrapperClass = undefined;
21
- this.inputParams = undefined;
22
- this.numberDirection = undefined;
23
12
  this.language = 'en';
24
- this.formLocaleName = undefined;
25
13
  this.sharedLocales = sharedLocalesSchema.getDefault();
26
14
  this.locale = formWrapperSchema.getDefault();
27
15
  }
@@ -57,7 +45,7 @@ export class FormInput {
57
45
  const prefix = this.el.getElementsByClassName('prefix')[0];
58
46
  const prefixWidth = prefix ? prefix.getBoundingClientRect().width : 0;
59
47
  const texts = this.locale[this.formLocaleName];
60
- return (h(Host, { key: '08f97ac90a418cd34827b198d28f9bd9a8f54910' }, h("label", { key: '43c5604c2bb7d702698a432e30f9295823f15e8e', id: this.wrapperId, class: cn('relative w-full inline-flex flex-col', this.wrapperClass) }, label && (h("div", { key: '6c4c8ff42a9a8021bb915346a76f7870cd0b993c', class: "mb-[4px]" }, texts[label] || label, isRequired && h("span", { key: '72ae334e39d7c0dfd6f9267d25223e5918b5052e', class: "ms-0.5 text-red-600" }, "*"))), h("div", { key: '575b07e9c586e33174c2e80e5d23a8000022affa', dir: this.numberDirection ? 'ltr' : this.sharedLocales.direction, class: cn('relative', { 'opacity-75': (_a = this.inputParams) === null || _a === void 0 ? void 0 : _a.disabled }) }, this.inputPreFix && h("div", { key: '12a6f50823c4953be91f790cbac4fd89a27168a8', class: "prefix absolute h-[38px] px-2 left-0 top-0 pointer-events-none items-center justify-center flex" }, this.inputPreFix), h("input", Object.assign({ key: '1c98c3d942b3c3671481a3fa02f8bce3f9617630' }, this.inputParams, { style: Object.assign({}, (prefixWidth ? { paddingLeft: `${prefixWidth}px` } : {})), placeholder: texts[this.inputParams.placeholder] || this.inputParams.placeholder, class: cn('border appearance-none [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none form-input 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-input-' + this.inputParams.name, { '!border-red-500 focus:shadow-[0_0_0_0.2rem_rgba(239,68,68,0.25)]': isError, 'rtl-form-input': this.sharedLocales.direction === 'rtl' && this.numberDirection }, inputClass) }))), h("div", { key: 'cac6af4cd19eaa2e9d37630e4c5baadf9aea068d', class: cn('absolute text-[12px] pt-[1px] -z-10 text-red-500 opacity-0 -translate-y-[4px] bottom-0 transition duration-300', {
48
+ return (h(Host, { key: 'b0cac5ae28b82ee1c401cb0d88a16ec1d5ab2931' }, h("label", { key: '003c6a9df43f26c09014ef991378ae5ab44f32fb', id: this.wrapperId, class: cn('relative w-full inline-flex flex-col', this.wrapperClass) }, label && (h("div", { key: 'a4e71b0b9cf769a87365ca76f0cbd2aa32d0102d', class: "mb-[4px]" }, texts[label] || label, isRequired && h("span", { key: '9b6979bd4464859dc6624a735cb5b200f5ea7464', class: "ms-0.5 text-red-600" }, "*"))), h("div", { key: '8152e0ba42bbda04dbca1e464e55b69546dd2daa', dir: this.numberDirection ? 'ltr' : this.sharedLocales.direction, class: cn('relative', { 'opacity-75': (_a = this.inputParams) === null || _a === void 0 ? void 0 : _a.disabled }) }, this.inputPreFix && h("div", { key: 'fe9f842609675fd21b7e79ae2c043983e1f4ae67', class: "prefix absolute h-[38px] px-2 left-0 top-0 pointer-events-none items-center justify-center flex" }, this.inputPreFix), h("input", Object.assign({ key: '0f08ee5d3d5af2e6c972b8e30d00c9d850b4576b' }, this.inputParams, { style: Object.assign({}, (prefixWidth ? { paddingLeft: `${prefixWidth}px` } : {})), placeholder: texts[this.inputParams.placeholder] || this.inputParams.placeholder, class: cn('border appearance-none [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none form-input 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-input-' + this.inputParams.name, { '!border-red-500 focus:shadow-[0_0_0_0.2rem_rgba(239,68,68,0.25)]': isError, 'rtl-form-input': this.sharedLocales.direction === 'rtl' && this.numberDirection }, inputClass) }))), h("div", { key: '275578dc457285802848e376f43ccc29182acc10', class: cn('absolute text-[12px] pt-[1px] -z-10 text-red-500 opacity-0 -translate-y-[4px] bottom-0 transition duration-300', {
61
49
  'translate-y-full error-message opacity-100': isError,
62
50
  }) }, texts[errorMessage] || this.locale.inputValueIsIncorrect || errorMessage))));
63
51
  }
@@ -76,6 +64,7 @@ export class FormInput {
76
64
  return {
77
65
  "label": {
78
66
  "type": "string",
67
+ "attribute": "label",
79
68
  "mutable": false,
80
69
  "complexType": {
81
70
  "original": "string",
@@ -88,11 +77,13 @@ export class FormInput {
88
77
  "tags": [],
89
78
  "text": ""
90
79
  },
91
- "attribute": "label",
80
+ "getter": false,
81
+ "setter": false,
92
82
  "reflect": false
93
83
  },
94
84
  "class": {
95
85
  "type": "string",
86
+ "attribute": "class",
96
87
  "mutable": false,
97
88
  "complexType": {
98
89
  "original": "string",
@@ -105,11 +96,13 @@ export class FormInput {
105
96
  "tags": [],
106
97
  "text": ""
107
98
  },
108
- "attribute": "class",
99
+ "getter": false,
100
+ "setter": false,
109
101
  "reflect": false
110
102
  },
111
103
  "isError": {
112
104
  "type": "boolean",
105
+ "attribute": "is-error",
113
106
  "mutable": false,
114
107
  "complexType": {
115
108
  "original": "boolean",
@@ -122,11 +115,13 @@ export class FormInput {
122
115
  "tags": [],
123
116
  "text": ""
124
117
  },
125
- "attribute": "is-error",
118
+ "getter": false,
119
+ "setter": false,
126
120
  "reflect": false
127
121
  },
128
122
  "wrapperId": {
129
123
  "type": "string",
124
+ "attribute": "wrapper-id",
130
125
  "mutable": false,
131
126
  "complexType": {
132
127
  "original": "string",
@@ -139,11 +134,13 @@ export class FormInput {
139
134
  "tags": [],
140
135
  "text": ""
141
136
  },
142
- "attribute": "wrapper-id",
137
+ "getter": false,
138
+ "setter": false,
143
139
  "reflect": false
144
140
  },
145
141
  "form": {
146
142
  "type": "unknown",
143
+ "attribute": "form",
147
144
  "mutable": false,
148
145
  "complexType": {
149
146
  "original": "FormHook<any>",
@@ -161,10 +158,13 @@ export class FormInput {
161
158
  "docs": {
162
159
  "tags": [],
163
160
  "text": ""
164
- }
161
+ },
162
+ "getter": false,
163
+ "setter": false
165
164
  },
166
165
  "inputPreFix": {
167
166
  "type": "string",
167
+ "attribute": "input-pre-fix",
168
168
  "mutable": false,
169
169
  "complexType": {
170
170
  "original": "string",
@@ -177,11 +177,13 @@ export class FormInput {
177
177
  "tags": [],
178
178
  "text": ""
179
179
  },
180
- "attribute": "input-pre-fix",
180
+ "getter": false,
181
+ "setter": false,
181
182
  "reflect": false
182
183
  },
183
184
  "isRequired": {
184
185
  "type": "boolean",
186
+ "attribute": "is-required",
185
187
  "mutable": false,
186
188
  "complexType": {
187
189
  "original": "boolean",
@@ -194,11 +196,13 @@ export class FormInput {
194
196
  "tags": [],
195
197
  "text": ""
196
198
  },
197
- "attribute": "is-required",
199
+ "getter": false,
200
+ "setter": false,
198
201
  "reflect": false
199
202
  },
200
203
  "errorMessage": {
201
204
  "type": "string",
205
+ "attribute": "error-message",
202
206
  "mutable": false,
203
207
  "complexType": {
204
208
  "original": "string",
@@ -211,11 +215,13 @@ export class FormInput {
211
215
  "tags": [],
212
216
  "text": ""
213
217
  },
214
- "attribute": "error-message",
218
+ "getter": false,
219
+ "setter": false,
215
220
  "reflect": false
216
221
  },
217
222
  "wrapperClass": {
218
223
  "type": "string",
224
+ "attribute": "wrapper-class",
219
225
  "mutable": false,
220
226
  "complexType": {
221
227
  "original": "string",
@@ -228,11 +234,13 @@ export class FormInput {
228
234
  "tags": [],
229
235
  "text": ""
230
236
  },
231
- "attribute": "wrapper-class",
237
+ "getter": false,
238
+ "setter": false,
232
239
  "reflect": false
233
240
  },
234
241
  "inputParams": {
235
242
  "type": "unknown",
243
+ "attribute": "input-params",
236
244
  "mutable": false,
237
245
  "complexType": {
238
246
  "original": "InputParams",
@@ -250,10 +258,13 @@ export class FormInput {
250
258
  "docs": {
251
259
  "tags": [],
252
260
  "text": ""
253
- }
261
+ },
262
+ "getter": false,
263
+ "setter": false
254
264
  },
255
265
  "numberDirection": {
256
266
  "type": "boolean",
267
+ "attribute": "number-direction",
257
268
  "mutable": false,
258
269
  "complexType": {
259
270
  "original": "boolean",
@@ -266,11 +277,13 @@ export class FormInput {
266
277
  "tags": [],
267
278
  "text": ""
268
279
  },
269
- "attribute": "number-direction",
280
+ "getter": false,
281
+ "setter": false,
270
282
  "reflect": false
271
283
  },
272
284
  "language": {
273
285
  "type": "string",
286
+ "attribute": "language",
274
287
  "mutable": false,
275
288
  "complexType": {
276
289
  "original": "LanguageKeys",
@@ -289,12 +302,14 @@ export class FormInput {
289
302
  "tags": [],
290
303
  "text": ""
291
304
  },
292
- "attribute": "language",
305
+ "getter": false,
306
+ "setter": false,
293
307
  "reflect": false,
294
308
  "defaultValue": "'en'"
295
309
  },
296
310
  "formLocaleName": {
297
311
  "type": "string",
312
+ "attribute": "form-locale-name",
298
313
  "mutable": false,
299
314
  "complexType": {
300
315
  "original": "LocaleFormKeys",
@@ -313,7 +328,8 @@ export class FormInput {
313
328
  "tags": [],
314
329
  "text": ""
315
330
  },
316
- "attribute": "form-locale-name",
331
+ "getter": false,
332
+ "setter": false,
317
333
  "reflect": false
318
334
  }
319
335
  };
@@ -11,6 +11,16 @@ import generalSchema from "../../locales/general/type";
11
11
  import formWrapperSchema from "../../locales/forms/wrapper-type";
12
12
  export class FormSelect {
13
13
  constructor() {
14
+ this.language = 'en';
15
+ this.placeholder = 'Select an option';
16
+ this.isOpen = false;
17
+ this.selectedValue = '';
18
+ this.openUpwards = false;
19
+ this.options = [];
20
+ this.fetchingErrorMessage = null;
21
+ this.sharedLocales = sharedLocalesSchema.getDefault();
22
+ this.locale = formWrapperSchema.getDefault();
23
+ this.generalLocales = generalSchema.getDefault();
14
24
  this.toggleDropdown = () => {
15
25
  if (this.isOpen)
16
26
  this.isOpen = false;
@@ -26,28 +36,6 @@ export class FormSelect {
26
36
  this.isOpen = false;
27
37
  }
28
38
  };
29
- this.name = undefined;
30
- this.label = undefined;
31
- this.isError = undefined;
32
- this.wrapperId = undefined;
33
- this.disabled = undefined;
34
- this.form = undefined;
35
- this.isRequired = undefined;
36
- this.errorMessage = undefined;
37
- this.wrapperClass = undefined;
38
- this.fetcher = undefined;
39
- this.language = 'en';
40
- this.formLocaleName = undefined;
41
- this.placeholder = 'Select an option';
42
- this.isLoading = undefined;
43
- this.isOpen = false;
44
- this.selectedValue = '';
45
- this.openUpwards = false;
46
- this.options = [];
47
- this.fetchingErrorMessage = null;
48
- this.sharedLocales = sharedLocalesSchema.getDefault();
49
- this.locale = formWrapperSchema.getDefault();
50
- this.generalLocales = generalSchema.getDefault();
51
39
  }
52
40
  async changeLanguage(newLanguage) {
53
41
  const currentFormSchema = formWrapperSchema.fields[this.formLocaleName];
@@ -126,18 +114,18 @@ export class FormSelect {
126
114
  if (!selectedItem) {
127
115
  this.selectedValue = '';
128
116
  }
129
- return (h(Host, { key: '7c09d1d2a6011b3fb778e8b5b8177dd469b72d51' }, h("label", { key: '222ef0ec6dad3e36188d6456a52c444d9b279b35', id: this.wrapperId, class: cn('relative w-full inline-flex flex-col', this.wrapperClass) }, this.label && (h("div", { key: 'f3695a6fafbdf4d677565315d09d24f1d2c9867d', class: "mb-[4px]" }, texts[this.label] || this.label, this.isRequired && h("span", { key: '7a55a5547e5ece619053d26d92cabb3e682876dc', class: "ms-0.5 text-red-600" }, "*"))), h("form-shadow-input", { key: 'ba25ce0a91b4882e4142409d9cc7d5ab78408701', name: this.name, form: this.form, value: this.selectedValue }), h("div", { key: '2205934c0dbb676c3641e795eb700031e916e40f', class: "relative" }, h("button", { key: 'fe7d579ef39392a71a3d789cecd90257f19d9123', type: "button", name: this.name, disabled: this.disabled, onClick: this.toggleDropdown, class: cn('select-button enabled:focus:border-slate-600 enabled:focus:shadow-[0_0_0_0.2rem_rgba(71,85,105,0.25)] border bg-white h-[38px] flex justify-between overflow-hidden disabled:opacity-75 flex-1 py-[6px] px-[12px] transition-all duration-300 rounded-md outline-none w-full', {
117
+ return (h(Host, { key: '1ff82e08313b26762cdb10b0644da833ee0c8a90' }, h("label", { key: 'ce9150eafa0a6fd22a44834ca470dea5dc3a889c', id: this.wrapperId, class: cn('relative w-full inline-flex flex-col', this.wrapperClass) }, this.label && (h("div", { key: '12133b48bc98fda1d5a4446121c672db6bf8d720', class: "mb-[4px]" }, texts[this.label] || this.label, this.isRequired && h("span", { key: 'dd77ecdbb8b9914f48b1c7c019716808c6c952d9', class: "ms-0.5 text-red-600" }, "*"))), h("form-shadow-input", { key: 'db9fe2cf551644c11099dd4ad4afef776c72f7e2', name: this.name, form: this.form, value: this.selectedValue }), h("div", { key: '203c528ba4aa08396cff87fb4020d5d35148332a', class: "relative" }, h("button", { key: '7e1a5dab513d5e0cf4f5b5b6575910e90ec936c6', type: "button", name: this.name, disabled: this.disabled, onClick: this.toggleDropdown, class: cn('select-button enabled:focus:border-slate-600 enabled:focus:shadow-[0_0_0_0.2rem_rgba(71,85,105,0.25)] border bg-white h-[38px] flex justify-between overflow-hidden disabled:opacity-75 flex-1 py-[6px] px-[12px] transition-all duration-300 rounded-md outline-none w-full', {
130
118
  'text-[#9CA3AF]': !selectedItem,
131
119
  '!border-red-500 focus:shadow-[0_0_0_0.2rem_rgba(239,68,68,0.25)]': this.isError,
132
120
  'enabled:border-slate-600 enabled:shadow-[0_0_0_0.2rem_rgba(71,85,105,0.25)]': this.isOpen,
133
- }) }, selectedItem ? selectedItem.label : h("span", null, texts[this.placeholder]), h("svg", { key: 'af475a91bd09592908222231c398641e01149eab', fill: "none", "stroke-width": "2", viewBox: "0 0 24 24", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", class: cn('select-arrow size-6 transition duration-300', { 'rotate-180': this.isOpen }) }, h("path", { key: '0cf52274e8c3ca3bc5642c49f99c535938b29dff', d: "m6 9 6 6 6-6" }))), h("div", { key: 'c68a881201aadca0a2569f4c7f9e92434114dc42', class: cn('select-container z-[10] flex flex-col pointer-events-none absolute w-full bg-white border rounded-md shadow opacity-0 transition-opacity duration-300 max-h-[250px] overflow-auto', {
121
+ }) }, selectedItem ? selectedItem.label : h("span", null, texts[this.placeholder]), h("svg", { key: 'd023aed2d66fa43d3212cc9099e86fc2a71fce42', fill: "none", "stroke-width": "2", viewBox: "0 0 24 24", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", class: cn('select-arrow size-6 transition duration-300', { 'rotate-180': this.isOpen }) }, h("path", { key: 'd9652952cdebdebf555abcb4484217e8e552d8b0', d: "m6 9 6 6 6-6" }))), h("div", { key: '15aea6cbbfeaa3d2e4d382e33cc3046b81e77c35', class: cn('select-container z-[10] flex flex-col pointer-events-none absolute w-full bg-white border rounded-md shadow opacity-0 transition-opacity duration-300 max-h-[250px] overflow-auto', {
134
122
  'opacity-100 pointer-events-auto': this.isOpen,
135
123
  'top-0 -mt-[8px] -translate-y-full': this.openUpwards,
136
124
  'top-0 mt-[8px] translate-y-[38px]': !this.openUpwards,
137
125
  }) }, !!this.options.length &&
138
126
  this.options.map(option => (h("button", { type: "button", onClick: () => this.handleSelection(option), class: cn('select-option flex justify-between px-4 py-2 hover:bg-slate-100 transition-colors duration-300', {
139
127
  'bg-slate-200': this.selectedValue === option.value,
140
- }) }, h("div", null, option.label), h("svg", { fill: "none", "stroke-width": "2", viewBox: "0 0 24 24", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", class: cn('size-5 opacity-0 transition duration-300', { 'opacity-100': this.selectedValue === option.value }) }, h("path", { d: "M20 6 9 17l-5-5" }))))), !this.options.length && (h("div", { key: '156d706fdf814ae44b1ba066358b72f742c8bdf4', class: cn('select-empty-container h-[100px] flex items-center justify-center', { 'text-red-500': this.fetchingErrorMessage }) }, this.fetchingErrorMessage && (this.sharedLocales.errors[this.fetchingErrorMessage] || this.sharedLocales.errors.wildCard), !this.fetchingErrorMessage && (this.isLoading ? h("img", { class: "spin-slow size-[22px]", src: Loader }) : this.generalLocales.noSelectOptions))))), h("div", { key: '65b91e834ec46582abd4771273af7bfec186b5cd', class: cn('absolute pt-[1px] -z-10 text-[12px] text-red-500 opacity-0 -translate-y-[4px] bottom-0 transition duration-300', {
128
+ }) }, h("div", null, option.label), h("svg", { fill: "none", "stroke-width": "2", viewBox: "0 0 24 24", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round", class: cn('size-5 opacity-0 transition duration-300', { 'opacity-100': this.selectedValue === option.value }) }, h("path", { d: "M20 6 9 17l-5-5" }))))), !this.options.length && (h("div", { key: '04cf1f955e0cf5bbc2364aeae6cdf44c96bbdb1d', class: cn('select-empty-container h-[100px] flex items-center justify-center', { 'text-red-500': this.fetchingErrorMessage }) }, this.fetchingErrorMessage && (this.sharedLocales.errors[this.fetchingErrorMessage] || this.sharedLocales.errors.wildCard), !this.fetchingErrorMessage && (this.isLoading ? h("img", { class: "spin-slow size-[22px]", src: Loader }) : this.generalLocales.noSelectOptions))))), h("div", { key: '81fb7d093af79c05cc7da4e257ba1127c8110cf3', class: cn('absolute pt-[1px] -z-10 text-[12px] text-red-500 opacity-0 -translate-y-[4px] bottom-0 transition duration-300', {
141
129
  'translate-y-full error-message opacity-100': this.isError,
142
130
  }) }, texts[this.errorMessage] || this.locale.inputValueIsIncorrect || this.errorMessage))));
143
131
  }
@@ -156,6 +144,7 @@ export class FormSelect {
156
144
  return {
157
145
  "name": {
158
146
  "type": "string",
147
+ "attribute": "name",
159
148
  "mutable": false,
160
149
  "complexType": {
161
150
  "original": "string",
@@ -168,11 +157,13 @@ export class FormSelect {
168
157
  "tags": [],
169
158
  "text": ""
170
159
  },
171
- "attribute": "name",
160
+ "getter": false,
161
+ "setter": false,
172
162
  "reflect": false
173
163
  },
174
164
  "label": {
175
165
  "type": "string",
166
+ "attribute": "label",
176
167
  "mutable": false,
177
168
  "complexType": {
178
169
  "original": "string",
@@ -185,11 +176,13 @@ export class FormSelect {
185
176
  "tags": [],
186
177
  "text": ""
187
178
  },
188
- "attribute": "label",
179
+ "getter": false,
180
+ "setter": false,
189
181
  "reflect": false
190
182
  },
191
183
  "isError": {
192
184
  "type": "boolean",
185
+ "attribute": "is-error",
193
186
  "mutable": false,
194
187
  "complexType": {
195
188
  "original": "boolean",
@@ -202,11 +195,13 @@ export class FormSelect {
202
195
  "tags": [],
203
196
  "text": ""
204
197
  },
205
- "attribute": "is-error",
198
+ "getter": false,
199
+ "setter": false,
206
200
  "reflect": false
207
201
  },
208
202
  "wrapperId": {
209
203
  "type": "string",
204
+ "attribute": "wrapper-id",
210
205
  "mutable": false,
211
206
  "complexType": {
212
207
  "original": "string",
@@ -219,11 +214,13 @@ export class FormSelect {
219
214
  "tags": [],
220
215
  "text": ""
221
216
  },
222
- "attribute": "wrapper-id",
217
+ "getter": false,
218
+ "setter": false,
223
219
  "reflect": false
224
220
  },
225
221
  "disabled": {
226
222
  "type": "boolean",
223
+ "attribute": "disabled",
227
224
  "mutable": false,
228
225
  "complexType": {
229
226
  "original": "boolean",
@@ -236,11 +233,13 @@ export class FormSelect {
236
233
  "tags": [],
237
234
  "text": ""
238
235
  },
239
- "attribute": "disabled",
236
+ "getter": false,
237
+ "setter": false,
240
238
  "reflect": false
241
239
  },
242
240
  "form": {
243
241
  "type": "unknown",
242
+ "attribute": "form",
244
243
  "mutable": false,
245
244
  "complexType": {
246
245
  "original": "FormHook<any>",
@@ -258,10 +257,13 @@ export class FormSelect {
258
257
  "docs": {
259
258
  "tags": [],
260
259
  "text": ""
261
- }
260
+ },
261
+ "getter": false,
262
+ "setter": false
262
263
  },
263
264
  "isRequired": {
264
265
  "type": "boolean",
266
+ "attribute": "is-required",
265
267
  "mutable": false,
266
268
  "complexType": {
267
269
  "original": "boolean",
@@ -274,11 +276,13 @@ export class FormSelect {
274
276
  "tags": [],
275
277
  "text": ""
276
278
  },
277
- "attribute": "is-required",
279
+ "getter": false,
280
+ "setter": false,
278
281
  "reflect": false
279
282
  },
280
283
  "errorMessage": {
281
284
  "type": "string",
285
+ "attribute": "error-message",
282
286
  "mutable": false,
283
287
  "complexType": {
284
288
  "original": "string",
@@ -291,11 +295,13 @@ export class FormSelect {
291
295
  "tags": [],
292
296
  "text": ""
293
297
  },
294
- "attribute": "error-message",
298
+ "getter": false,
299
+ "setter": false,
295
300
  "reflect": false
296
301
  },
297
302
  "wrapperClass": {
298
303
  "type": "string",
304
+ "attribute": "wrapper-class",
299
305
  "mutable": false,
300
306
  "complexType": {
301
307
  "original": "string",
@@ -308,11 +314,13 @@ export class FormSelect {
308
314
  "tags": [],
309
315
  "text": ""
310
316
  },
311
- "attribute": "wrapper-class",
317
+ "getter": false,
318
+ "setter": false,
312
319
  "reflect": false
313
320
  },
314
321
  "fetcher": {
315
322
  "type": "unknown",
323
+ "attribute": "fetcher",
316
324
  "mutable": false,
317
325
  "complexType": {
318
326
  "original": "FormSelectFetcher",
@@ -330,10 +338,13 @@ export class FormSelect {
330
338
  "docs": {
331
339
  "tags": [],
332
340
  "text": ""
333
- }
341
+ },
342
+ "getter": false,
343
+ "setter": false
334
344
  },
335
345
  "language": {
336
346
  "type": "string",
347
+ "attribute": "language",
337
348
  "mutable": false,
338
349
  "complexType": {
339
350
  "original": "LanguageKeys",
@@ -352,12 +363,14 @@ export class FormSelect {
352
363
  "tags": [],
353
364
  "text": ""
354
365
  },
355
- "attribute": "language",
366
+ "getter": false,
367
+ "setter": false,
356
368
  "reflect": false,
357
369
  "defaultValue": "'en'"
358
370
  },
359
371
  "formLocaleName": {
360
372
  "type": "string",
373
+ "attribute": "form-locale-name",
361
374
  "mutable": false,
362
375
  "complexType": {
363
376
  "original": "LocaleFormKeys",
@@ -376,11 +389,13 @@ export class FormSelect {
376
389
  "tags": [],
377
390
  "text": ""
378
391
  },
379
- "attribute": "form-locale-name",
392
+ "getter": false,
393
+ "setter": false,
380
394
  "reflect": false
381
395
  },
382
396
  "placeholder": {
383
397
  "type": "string",
398
+ "attribute": "placeholder",
384
399
  "mutable": false,
385
400
  "complexType": {
386
401
  "original": "string",
@@ -393,7 +408,8 @@ export class FormSelect {
393
408
  "tags": [],
394
409
  "text": ""
395
410
  },
396
- "attribute": "placeholder",
411
+ "getter": false,
412
+ "setter": false,
397
413
  "reflect": false,
398
414
  "defaultValue": "'Select an option'"
399
415
  }
@@ -4,11 +4,6 @@
4
4
  */
5
5
  import { h } from "@stencil/core";
6
6
  export class FormInput {
7
- constructor() {
8
- this.name = undefined;
9
- this.value = undefined;
10
- this.form = undefined;
11
- }
12
7
  async handleNameChange(newName) {
13
8
  this.form.validateForm(newName, this.value);
14
9
  }
@@ -16,7 +11,7 @@ export class FormInput {
16
11
  this.form.validateForm(this.name, newValue);
17
12
  }
18
13
  render() {
19
- return h("input", { key: 'da15d10ac425aae7ceb2ba883eaf7c99afb2826a', name: this.name, type: "string", hidden: true, value: this.value });
14
+ return h("input", { key: '4f247b45d7d81a2b7c66584e4b9a1ba9bf6aa51d', name: this.name, type: "string", hidden: true, value: this.value });
20
15
  }
21
16
  static get is() { return "form-shadow-input"; }
22
17
  static get originalStyleUrls() {
@@ -33,6 +28,7 @@ export class FormInput {
33
28
  return {
34
29
  "name": {
35
30
  "type": "string",
31
+ "attribute": "name",
36
32
  "mutable": false,
37
33
  "complexType": {
38
34
  "original": "string",
@@ -45,11 +41,13 @@ export class FormInput {
45
41
  "tags": [],
46
42
  "text": ""
47
43
  },
48
- "attribute": "name",
44
+ "getter": false,
45
+ "setter": false,
49
46
  "reflect": false
50
47
  },
51
48
  "value": {
52
49
  "type": "string",
50
+ "attribute": "value",
53
51
  "mutable": false,
54
52
  "complexType": {
55
53
  "original": "string",
@@ -62,11 +60,13 @@ export class FormInput {
62
60
  "tags": [],
63
61
  "text": ""
64
62
  },
65
- "attribute": "value",
63
+ "getter": false,
64
+ "setter": false,
66
65
  "reflect": false
67
66
  },
68
67
  "form": {
69
68
  "type": "unknown",
69
+ "attribute": "form",
70
70
  "mutable": false,
71
71
  "complexType": {
72
72
  "original": "FormHook<any>",
@@ -84,7 +84,9 @@ export class FormInput {
84
84
  "docs": {
85
85
  "tags": [],
86
86
  "text": ""
87
- }
87
+ },
88
+ "getter": false,
89
+ "setter": false
88
90
  }
89
91
  };
90
92
  }
@@ -16,7 +16,7 @@ export class FormStructureError {
16
16
  this.sharedLocales = await getSharedLocal(newLanguage);
17
17
  }
18
18
  render() {
19
- return (h(Host, { key: 'cee688ac1ec62d591964671a05378217dc775d57' }, h("div", { key: 'c1962aa0c81c391288b00e780e2b58f40a2edc59', dir: this.sharedLocales.direction, class: "py-[16px] min-h-[100px] flex items-center" }, h("div", { key: 'b70e1299210be11ec992638a7a3047bf927bad60', class: "px-[16px] py-[8px] border text-[#58151c] border-[#f2aeb5] bg-[#f7d7d8] text-[20px] rounded-[8px] w-fit mx-auto" }, this.sharedLocales.errors.wrongFormStructure))));
19
+ return (h(Host, { key: 'f96a75cd8fd48527aae5f84239336b51c8a7ec07' }, h("div", { key: 'e13020485055e4477e5de1e962a983f3a1df22db', dir: this.sharedLocales.direction, class: "py-[16px] min-h-[100px] flex items-center" }, h("div", { key: '583cdb18a531f88152236605c608c808fce1b32a', class: "px-[16px] py-[8px] border text-[#58151c] border-[#f2aeb5] bg-[#f7d7d8] text-[20px] rounded-[8px] w-fit mx-auto" }, this.sharedLocales.errors.wrongFormStructure))));
20
20
  }
21
21
  static get is() { return "form-structure-error"; }
22
22
  static get originalStyleUrls() {
@@ -33,6 +33,7 @@ export class FormStructureError {
33
33
  return {
34
34
  "language": {
35
35
  "type": "string",
36
+ "attribute": "language",
36
37
  "mutable": false,
37
38
  "complexType": {
38
39
  "original": "LanguageKeys",
@@ -51,7 +52,8 @@ export class FormStructureError {
51
52
  "tags": [],
52
53
  "text": ""
53
54
  },
54
- "attribute": "language",
55
+ "getter": false,
56
+ "setter": false,
55
57
  "reflect": false,
56
58
  "defaultValue": "'en'"
57
59
  }