adp-web-components 0.3.9 → 0.3.12

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 (306) hide show
  1. package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +6 -6
  2. package/dist/cjs/{fetch-from-CDC_gRf3.js → fetch-from-BNNXW9VC.js} +1 -1
  3. package/dist/cjs/flexible-container.cjs.entry.js +1 -1
  4. package/dist/cjs/form-checkbox.cjs.entry.js +2 -2
  5. package/dist/cjs/form-date-picker.cjs.entry.js +4 -4
  6. package/dist/cjs/form-dialog_13.cjs.entry.js +38 -37
  7. package/dist/cjs/{form-input-cvIkC0L1.js → form-input-PYkIVe7J.js} +10 -10
  8. package/dist/cjs/form-input_7.cjs.entry.js +16 -16
  9. package/dist/cjs/form-switch.cjs.entry.js +2 -2
  10. package/dist/cjs/form-time-picker.cjs.entry.js +5 -5
  11. package/dist/cjs/{functions-DJnQ4mku.js → functions-o-EQwu4V.js} +15 -13
  12. package/dist/cjs/general-form.cjs.entry.js +4 -4
  13. package/dist/cjs/general-inquiry-form.cjs.entry.js +4 -4
  14. package/dist/cjs/{get-custom-classes-for-portal-DKFBTajH.js → get-custom-classes-for-portal-4AUxpteB.js} +1 -1
  15. package/dist/cjs/{get-language-from-url-CFD-qrqi.js → get-language-from-url-BB87tzU5.js} +4 -3
  16. package/dist/cjs/{get-local-language-BurP5AR9.js → get-local-language-BBAqu4vR.js} +1 -1
  17. package/dist/cjs/{get-mock-files-rRYh_VpS.js → get-mock-files-JeY1_aCZ.js} +1 -1
  18. package/dist/cjs/information-table.cjs.entry.js +2 -6
  19. package/dist/cjs/loading-spinner.cjs.entry.js +1 -1
  20. package/dist/cjs/manufacturer-part-lookup.cjs.entry.js +4 -4
  21. package/dist/cjs/{mappers-CoVG3ogT.js → mappers-Cwx7L0MJ.js} +5 -5
  22. package/dist/cjs/part-lookup.cjs.entry.js +2 -2
  23. package/dist/cjs/service-booking-form.cjs.entry.js +4 -4
  24. package/dist/cjs/shift-accordion.cjs.entry.js +1 -1
  25. package/dist/cjs/shift-checkbox.cjs.entry.js +1 -1
  26. package/dist/cjs/shift-slider.cjs.entry.js +1 -1
  27. package/dist/cjs/shift-switch.cjs.entry.js +1 -1
  28. package/dist/cjs/shift-tab-content.cjs.entry.js +1 -1
  29. package/dist/cjs/shift-tabs_2.cjs.entry.js +7 -7
  30. package/dist/cjs/ssc-lookup-form.cjs.entry.js +4 -4
  31. package/dist/cjs/test-drive-form.cjs.entry.js +4 -4
  32. package/dist/cjs/vehicle-accessories_7.cjs.entry.js +40 -33
  33. package/dist/cjs/vehicle-lookup.cjs.entry.js +7 -4
  34. package/dist/cjs/vehicle-quotation-form.cjs.entry.js +17 -17
  35. package/dist/collection/components/components/empty.css +1 -1
  36. package/dist/collection/components/components/flexible-container.css +1 -1
  37. package/dist/collection/components/components/information-table.css +1 -1
  38. package/dist/collection/components/components/information-table.js +1 -5
  39. package/dist/collection/components/components/loading-spinner.css +1 -1
  40. package/dist/collection/components/components/shift-accordion.css +1 -1
  41. package/dist/collection/components/components/shift-portal.css +1 -1
  42. package/dist/collection/components/components/shift-select-dropdown.css +1 -1
  43. package/dist/collection/components/components/shift-select.css +1 -1
  44. package/dist/collection/components/components/shift-select.js +3 -3
  45. package/dist/collection/components/components/shift-slider.css +1 -1
  46. package/dist/collection/components/components/shift-tab-content.css +1 -1
  47. package/dist/collection/components/components/shift-tabs.css +1 -1
  48. package/dist/collection/components/form-elements/VehicleImageViewer.js +1 -1
  49. package/dist/collection/components/form-elements/form-date-picker-legacy.js +3 -3
  50. package/dist/collection/components/form-elements/form-file.js +3 -3
  51. package/dist/collection/components/form-elements/form-input.js +3 -3
  52. package/dist/collection/components/form-elements/form-inputs.css +1 -1
  53. package/dist/collection/components/form-elements/form-phone-number.js +1 -1
  54. package/dist/collection/components/form-elements/form-picker-input.js +3 -3
  55. package/dist/collection/components/form-elements/form-select.js +1 -1
  56. package/dist/collection/components/form-elements/form-stepper-control.js +3 -3
  57. package/dist/collection/components/form-elements/form-stepper-submit.js +3 -3
  58. package/dist/collection/components/form-elements/form-stepper.js +3 -2
  59. package/dist/collection/components/form-elements/form-text-area.js +3 -3
  60. package/dist/collection/components/form-elements/form-time-picker-legacy.js +4 -4
  61. package/dist/collection/components/form-elements/form-vin-input.js +3 -3
  62. package/dist/collection/components/forms/defaults/mappers.js +4 -4
  63. package/dist/collection/components/forms/vehicle-quotation/VehicleImageViewer.js +1 -1
  64. package/dist/collection/components/forms/vehicle-quotation/element-mapper.js +13 -13
  65. package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -1
  66. package/dist/collection/components/part-lookup/distributor-lookup.css +1 -1
  67. package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -1
  68. package/dist/collection/components/part-lookup/manufacturer-part-lookup.css +1 -1
  69. package/dist/collection/components/part-lookup/part-lookup.css +1 -1
  70. package/dist/collection/components/part-lookup/part-lookup.js +3 -8
  71. package/dist/collection/components/vehicle-lookup/components/CardsContainer.js +1 -1
  72. package/dist/collection/components/vehicle-lookup/components/claimable-trace-modal.js +1 -1
  73. package/dist/collection/components/vehicle-lookup/vehicle-accessories.css +1 -1
  74. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.css +1 -1
  75. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +11 -6
  76. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.css +1 -1
  77. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +6 -6
  78. package/dist/collection/components/vehicle-lookup/vehicle-lookup.css +1 -1
  79. package/dist/collection/components/vehicle-lookup/vehicle-lookup.js +8 -10
  80. package/dist/collection/components/vehicle-lookup/vehicle-paint-thickness.css +1 -1
  81. package/dist/collection/components/vehicle-lookup/vehicle-sale-information.css +1 -1
  82. package/dist/collection/components/vehicle-lookup/vehicle-sale-information.js +3 -3
  83. package/dist/collection/components/vehicle-lookup/vehicle-service-history.css +1 -1
  84. package/dist/collection/components/vehicle-lookup/vehicle-specification.css +1 -1
  85. package/dist/collection/components/vehicle-lookup/vehicle-specification.js +1 -1
  86. package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.css +1 -1
  87. package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.js +12 -10
  88. package/dist/collection/components/vin-extractor/vin-extractor.js +2 -2
  89. package/dist/collection/features/form-hook/form-hook.js +4 -3
  90. package/dist/collection/features/form-hook/functions.js +13 -11
  91. package/dist/collection/features/form-hook/inputs/form-input.js +10 -10
  92. package/dist/collection/global/lib/fetch-from.js +1 -1
  93. package/dist/collection/global/lib/get-custom-classes-for-portal.js +1 -1
  94. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-menu-dto.js +1 -0
  95. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-menu-line-dto.js +1 -0
  96. package/dist/collection/global/types/generated/vehicle-lookup/vehicle-service-menu-part-dto.js +1 -0
  97. package/dist/collection/templates/vehicle-lookup/mock-data.js +3 -2
  98. package/dist/components/dead-stock-lookup.js +1 -1
  99. package/dist/components/distributor-lookup.js +1 -1
  100. package/dist/components/flexible-container.js +1 -1
  101. package/dist/components/form-checkbox.js +1 -1
  102. package/dist/components/form-date-picker.js +1 -1
  103. package/dist/components/form-file.js +1 -1
  104. package/dist/components/form-input-preview.js +1 -1
  105. package/dist/components/form-input.js +1 -1
  106. package/dist/components/form-phone-number.js +1 -1
  107. package/dist/components/form-picker-input.js +1 -1
  108. package/dist/components/form-select.js +1 -1
  109. package/dist/components/form-shadow-input.js +1 -1
  110. package/dist/components/form-stepper-control.js +1 -1
  111. package/dist/components/form-stepper-submit.js +1 -1
  112. package/dist/components/form-stepper.js +1 -1
  113. package/dist/components/form-structure-error.js +1 -1
  114. package/dist/components/form-structure.js +1 -1
  115. package/dist/components/form-submit.js +1 -1
  116. package/dist/components/form-switch.js +1 -1
  117. package/dist/components/form-text-area.js +1 -1
  118. package/dist/components/form-time-picker.js +1 -1
  119. package/dist/components/form-vin-input.js +1 -1
  120. package/dist/components/general-form.js +1 -1
  121. package/dist/components/general-inquiry-form.js +1 -1
  122. package/dist/components/information-table.js +1 -1
  123. package/dist/components/loading-spinner.js +1 -1
  124. package/dist/components/manufacturer-lookup.js +1 -1
  125. package/dist/components/manufacturer-part-lookup.js +1 -1
  126. package/dist/components/{p-CBlZ51Zd.js → p-5xxH8tbS.js} +1 -1
  127. package/dist/components/{p-C0ldWVb9.js → p-B1G1Emsg.js} +1 -1
  128. package/dist/components/p-B1rySNA6.js +5 -0
  129. package/dist/components/{p-t7qjxYTf.js → p-B7imL20E.js} +1 -1
  130. package/dist/components/{p-06PpSY0r.js → p-BD4roPIb.js} +1 -1
  131. package/dist/components/{p-BqpPyNbD.js → p-BGqJcv0T.js} +1 -1
  132. package/dist/components/{p-D2auksj_.js → p-BKBG7bI_.js} +1 -1
  133. package/dist/components/{p-lD2WKtqZ.js → p-BQ1t34rG.js} +1 -1
  134. package/dist/components/p-BSQr-zbq.js +5 -0
  135. package/dist/components/{p-_0Sj1vUl.js → p-BYDz61s7.js} +1 -1
  136. package/dist/components/{p-BKxVFCQK.js → p-BZQYv_zg.js} +1 -1
  137. package/dist/components/{p-SPx8iUQV.js → p-BhvdrqvQ.js} +1 -1
  138. package/dist/components/{p-By0M3npW.js → p-Br0n06ak.js} +1 -1
  139. package/dist/components/p-BshR1DsJ.js +5 -0
  140. package/dist/components/{p-8VA50wUJ.js → p-BxdK4hSV.js} +1 -1
  141. package/dist/components/{p-Cbda4mAT.js → p-By567P_b.js} +1 -1
  142. package/dist/components/p-BycIovNB.js +5 -0
  143. package/dist/components/p-C3f5RXYo.js +5 -0
  144. package/dist/components/{p-B0540QGq.js → p-Ca2-9IJS.js} +1 -1
  145. package/dist/components/p-CbPeT4Wv.js +5 -0
  146. package/dist/components/{p-CHv5UdMC.js → p-CfUO4dpy.js} +1 -1
  147. package/dist/components/{p-pT509ali.js → p-CjtTghsX.js} +1 -1
  148. package/dist/components/{p-C2LsO81F.js → p-Cl1El__H.js} +1 -1
  149. package/dist/components/p-Cmq7s1Gl.js +5 -0
  150. package/dist/components/{p-DwpWYY23.js → p-Co3Ttxob.js} +1 -1
  151. package/dist/components/{p-DxtdBYcq.js → p-CtJ3xlmH.js} +1 -1
  152. package/dist/components/{p-BT9N29E8.js → p-CtWBJGY9.js} +1 -1
  153. package/dist/components/{p-DR2PKhri.js → p-Cudi9LsD.js} +1 -1
  154. package/dist/components/{p-yapGzeYE.js → p-D7GqNvow.js} +1 -1
  155. package/dist/components/p-DEI9cxLs.js +5 -0
  156. package/dist/components/{p-BUUxvYwf.js → p-DFZphW5t.js} +1 -1
  157. package/dist/components/{p-DOCDhMli.js → p-DPd206Hi.js} +1 -1
  158. package/dist/components/p-DZ2GsnAw.js +5 -0
  159. package/dist/components/{p-DKfNo8L9.js → p-Dm8bWcdH.js} +1 -1
  160. package/dist/components/{p-C-oReaYu.js → p-DzfwEYqx.js} +1 -1
  161. package/dist/components/{p-Bk0lC2Er.js → p-G9UmKW9m.js} +1 -1
  162. package/dist/components/{p-DbkOsb73.js → p-H9rpA_js.js} +1 -1
  163. package/dist/components/{p-Cf37vRoj.js → p-JkEomBDe.js} +1 -1
  164. package/dist/components/p-NkzoTfD6.js +5 -0
  165. package/dist/components/{p-a0c8G-hB.js → p-Tej7fhZH.js} +1 -1
  166. package/dist/components/{p-CElSZ3OW.js → p-VuUMWQot.js} +1 -1
  167. package/dist/components/p-WQVJO8lK.js +5 -0
  168. package/dist/components/p-WfCxXt3e.js +5 -0
  169. package/dist/components/{p-BOfRYXTK.js → p-ecmObcUU.js} +1 -1
  170. package/dist/components/{p-fNN4Scgk.js → p-tVYEiZTA.js} +1 -1
  171. package/dist/components/{p-CKp6TrRG.js → p-xaFnNvO-.js} +1 -1
  172. package/dist/components/part-lookup.js +1 -1
  173. package/dist/components/service-booking-form.js +1 -1
  174. package/dist/components/shift-accordion.js +1 -1
  175. package/dist/components/shift-checkbox.js +1 -1
  176. package/dist/components/shift-portal.js +1 -1
  177. package/dist/components/shift-select-dropdown.js +1 -1
  178. package/dist/components/shift-select.js +1 -1
  179. package/dist/components/shift-slider.js +1 -1
  180. package/dist/components/shift-switch.js +1 -1
  181. package/dist/components/shift-tab-content.js +1 -1
  182. package/dist/components/shift-tabs.js +1 -1
  183. package/dist/components/ssc-lookup-form.js +1 -1
  184. package/dist/components/test-drive-form.js +1 -1
  185. package/dist/components/vehicle-accessories.js +1 -1
  186. package/dist/components/vehicle-claimable-items.js +1 -1
  187. package/dist/components/vehicle-item-claim-form.js +1 -1
  188. package/dist/components/vehicle-lookup.js +1 -1
  189. package/dist/components/vehicle-paint-thickness.js +1 -1
  190. package/dist/components/vehicle-quotation-form.js +1 -1
  191. package/dist/components/vehicle-sale-information.js +1 -1
  192. package/dist/components/vehicle-service-history.js +1 -1
  193. package/dist/components/vehicle-specification.js +1 -1
  194. package/dist/components/vehicle-warranty-details.js +1 -1
  195. package/dist/components/vin-extractor.js +1 -1
  196. package/dist/esm/dead-stock-lookup_3.entry.js +6 -6
  197. package/dist/esm/{fetch-from-CJnc-a42.js → fetch-from-Cmq7s1Gl.js} +1 -1
  198. package/dist/esm/flexible-container.entry.js +1 -1
  199. package/dist/esm/form-checkbox.entry.js +2 -2
  200. package/dist/esm/form-date-picker.entry.js +4 -4
  201. package/dist/esm/form-dialog_13.entry.js +38 -37
  202. package/dist/esm/{form-input-Dcr-Pd8b.js → form-input-DAgayhNz.js} +10 -10
  203. package/dist/esm/form-input_7.entry.js +16 -16
  204. package/dist/esm/form-switch.entry.js +2 -2
  205. package/dist/esm/form-time-picker.entry.js +5 -5
  206. package/dist/esm/{functions-CICb0D47.js → functions-CVTPURU1.js} +15 -13
  207. package/dist/esm/general-form.entry.js +4 -4
  208. package/dist/esm/general-inquiry-form.entry.js +4 -4
  209. package/dist/esm/{get-custom-classes-for-portal-8uDhq9VB.js → get-custom-classes-for-portal-CF78qKTL.js} +1 -1
  210. package/dist/esm/{get-language-from-url-BGvsZ8gr.js → get-language-from-url-BVbqyJmz.js} +4 -3
  211. package/dist/esm/{get-local-language-CGfbeQ6H.js → get-local-language-ExQYUqwW.js} +1 -1
  212. package/dist/esm/{get-mock-files-kUVhroMC.js → get-mock-files-D7WSQrLO.js} +1 -1
  213. package/dist/esm/information-table.entry.js +2 -6
  214. package/dist/esm/loading-spinner.entry.js +1 -1
  215. package/dist/esm/manufacturer-part-lookup.entry.js +4 -4
  216. package/dist/esm/{mappers-CA3VC0xY.js → mappers-BR64PDWN.js} +5 -5
  217. package/dist/esm/part-lookup.entry.js +2 -2
  218. package/dist/esm/service-booking-form.entry.js +4 -4
  219. package/dist/esm/shift-accordion.entry.js +1 -1
  220. package/dist/esm/shift-checkbox.entry.js +1 -1
  221. package/dist/esm/shift-slider.entry.js +1 -1
  222. package/dist/esm/shift-switch.entry.js +1 -1
  223. package/dist/esm/shift-tab-content.entry.js +1 -1
  224. package/dist/esm/shift-tabs_2.entry.js +7 -7
  225. package/dist/esm/ssc-lookup-form.entry.js +4 -4
  226. package/dist/esm/test-drive-form.entry.js +4 -4
  227. package/dist/esm/vehicle-accessories_7.entry.js +40 -33
  228. package/dist/esm/vehicle-lookup.entry.js +7 -4
  229. package/dist/esm/vehicle-quotation-form.entry.js +17 -17
  230. package/dist/integration-manifest.json +2 -2
  231. package/dist/shift-components/{p-dc4b3d53.entry.js → p-066d1aa7.entry.js} +1 -1
  232. package/dist/shift-components/{p-68c80c58.entry.js → p-0cd75c5d.entry.js} +1 -1
  233. package/dist/shift-components/{p-f34c09e1.entry.js → p-0ce901af.entry.js} +1 -1
  234. package/dist/shift-components/{p-1691c4a2.entry.js → p-12803c29.entry.js} +1 -1
  235. package/dist/shift-components/{p-722134e9.entry.js → p-29f31068.entry.js} +1 -1
  236. package/dist/shift-components/{p-5cddee9c.entry.js → p-2af2814d.entry.js} +1 -1
  237. package/dist/shift-components/{p-22319e7b.entry.js → p-2e8a413a.entry.js} +1 -1
  238. package/dist/shift-components/{p-98ed617d.entry.js → p-3911b357.entry.js} +1 -1
  239. package/dist/shift-components/{p-5ee91770.entry.js → p-456a80bf.entry.js} +1 -1
  240. package/dist/shift-components/{p-dd244462.entry.js → p-65d47c58.entry.js} +1 -1
  241. package/dist/shift-components/p-6d0344c8.entry.js +5 -0
  242. package/dist/shift-components/{p-757de959.entry.js → p-73997c04.entry.js} +1 -1
  243. package/dist/shift-components/{p-9e05b0de.entry.js → p-7645500d.entry.js} +1 -1
  244. package/dist/shift-components/{p-18adce4e.entry.js → p-9e405896.entry.js} +1 -1
  245. package/dist/shift-components/p-BB4LQh2g.js +5 -0
  246. package/dist/shift-components/p-BIk1ppUN.js +5 -0
  247. package/dist/shift-components/p-BY1wHcOT.js +5 -0
  248. package/dist/shift-components/p-C9T02-yz.js +5 -0
  249. package/dist/shift-components/p-Cmq7s1Gl.js +5 -0
  250. package/dist/shift-components/p-DH9o3_cP.js +5 -0
  251. package/dist/shift-components/{p-BvmPJ2LT.js → p-UBUcLzuM.js} +1 -1
  252. package/dist/shift-components/{p-332d0309.entry.js → p-a5ab9255.entry.js} +1 -1
  253. package/dist/shift-components/{p-8c30b865.entry.js → p-a6b57150.entry.js} +1 -1
  254. package/dist/shift-components/{p-3f68b714.entry.js → p-aaf49a7a.entry.js} +1 -1
  255. package/dist/shift-components/{p-422557cf.entry.js → p-ac7fcf6c.entry.js} +1 -1
  256. package/dist/shift-components/{p-637ce96d.entry.js → p-b3eb2198.entry.js} +1 -1
  257. package/dist/shift-components/p-bf5ff6d9.entry.js +5 -0
  258. package/dist/shift-components/p-bfdfdac5.entry.js +5 -0
  259. package/dist/shift-components/{p-c7646446.entry.js → p-c41afd6a.entry.js} +1 -1
  260. package/dist/shift-components/{p-767a8ce6.entry.js → p-cf29fbbb.entry.js} +1 -1
  261. package/dist/shift-components/{p-ce83e665.entry.js → p-e08bc5d9.entry.js} +1 -1
  262. package/dist/shift-components/{p-dc1a4f60.entry.js → p-e9d552eb.entry.js} +1 -1
  263. package/dist/shift-components/p-fc9c2c02.entry.js +5 -0
  264. package/dist/shift-components/shift-components.esm.js +1 -1
  265. package/dist/stencil-docs.json +17 -27
  266. package/dist/types/components/components/shift-select.d.ts +1 -1
  267. package/dist/types/components/part-lookup/part-lookup.d.ts +1 -1
  268. package/dist/types/components/vehicle-lookup/vehicle-lookup.d.ts +1 -1
  269. package/dist/types/components.d.ts +4 -4
  270. package/dist/types/global/types/generated/vehicle-lookup/vehicle-lookup-dto.d.ts +2 -0
  271. package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-menu-dto.d.ts +9 -0
  272. package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-menu-line-dto.d.ts +25 -0
  273. package/dist/types/global/types/generated/vehicle-lookup/vehicle-service-menu-part-dto.d.ts +8 -0
  274. package/dist/types/locales/partLookup/distributor/type.d.ts +6 -6
  275. package/dist/types/locales/partLookup/manufacturer/type.d.ts +4 -4
  276. package/dist/types/locales/partLookup/wrapper-type.d.ts +10 -10
  277. package/dist/types/locales/vehicleLookup/accessories/type.d.ts +4 -4
  278. package/dist/types/locales/vehicleLookup/claimableItems/type.d.ts +10 -10
  279. package/dist/types/locales/vehicleLookup/paintThickness/type.d.ts +4 -4
  280. package/dist/types/locales/vehicleLookup/warranty/type.d.ts +4 -4
  281. package/dist/types/locales/vehicleLookup/wrapper-type.d.ts +18 -18
  282. package/package.json +10 -2
  283. package/dist/components/p-BKEmXOAB.js +0 -5
  284. package/dist/components/p-BKvcMw5q.js +0 -5
  285. package/dist/components/p-BOJ0vZBj.js +0 -5
  286. package/dist/components/p-Bj2ygQLZ.js +0 -5
  287. package/dist/components/p-CJnc-a42.js +0 -5
  288. package/dist/components/p-CRrpU891.js +0 -5
  289. package/dist/components/p-CTNsc8c1.js +0 -5
  290. package/dist/components/p-CZWoTJUk.js +0 -5
  291. package/dist/components/p-CpYBh3fY.js +0 -5
  292. package/dist/components/p-Cr10n3sP.js +0 -5
  293. package/dist/components/p-DVoI2Lj0.js +0 -5
  294. package/dist/components/p-f5uKXfCl.js +0 -5
  295. package/dist/shift-components/p-318d897a.entry.js +0 -5
  296. package/dist/shift-components/p-5c0e564b.entry.js +0 -5
  297. package/dist/shift-components/p-751eadda.entry.js +0 -5
  298. package/dist/shift-components/p-B03BLbR_.js +0 -5
  299. package/dist/shift-components/p-B8VkFyfR.js +0 -5
  300. package/dist/shift-components/p-BpFOPbZ9.js +0 -5
  301. package/dist/shift-components/p-BqwYgRto.js +0 -5
  302. package/dist/shift-components/p-CJnc-a42.js +0 -5
  303. package/dist/shift-components/p-f0d01e27.entry.js +0 -5
  304. package/dist/shift-components/p-jnXfhMAx.js +0 -5
  305. /package/dist/components/{p-C1xgsXlk.js → p-BacLEn39.js} +0 -0
  306. /package/dist/shift-components/{p-Dax5QQIX.js → p-6VfKhHyc.js} +0 -0
@@ -8,23 +8,23 @@ var validation = require('./validation-jJwLyk27.js');
8
8
  var getNestedValue = require('./get-nested-value-lW6t7V4I.js');
9
9
 
10
10
  const getInputLocalization = (context, meta, errorMessage) => {
11
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
12
- const [locale, language] = (_a = context === null || context === void 0 ? void 0 : context.form) === null || _a === void 0 ? void 0 : _a.getFormLocale();
13
- const label = ((_c = (_b = context === null || context === void 0 ? void 0 : context.localization) === null || _b === void 0 ? void 0 : _b[language]) === null || _c === void 0 ? void 0 : _c.label) || getNestedValue.getNestedValue(locale, meta === null || meta === void 0 ? void 0 : meta.label) || (meta === null || meta === void 0 ? void 0 : meta.label);
14
- const placeholder = ((_e = (_d = context === null || context === void 0 ? void 0 : context.localization) === null || _d === void 0 ? void 0 : _d[language]) === null || _e === void 0 ? void 0 : _e.placeholder) || getNestedValue.getNestedValue(locale, meta === null || meta === void 0 ? void 0 : meta.placeholder) || (meta === null || meta === void 0 ? void 0 : meta.placeholder);
11
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;
12
+ const [locale, language] = (_b = (_a = context === null || context === void 0 ? void 0 : context.form) === null || _a === void 0 ? void 0 : _a.getFormLocale()) !== null && _b !== void 0 ? _b : [];
13
+ const label = ((_d = (_c = context === null || context === void 0 ? void 0 : context.localization) === null || _c === void 0 ? void 0 : _c[language]) === null || _d === void 0 ? void 0 : _d.label) || getNestedValue.getNestedValue(locale, meta === null || meta === void 0 ? void 0 : meta.label) || (meta === null || meta === void 0 ? void 0 : meta.label);
14
+ const placeholder = ((_f = (_e = context === null || context === void 0 ? void 0 : context.localization) === null || _e === void 0 ? void 0 : _e[language]) === null || _f === void 0 ? void 0 : _f.placeholder) || getNestedValue.getNestedValue(locale, meta === null || meta === void 0 ? void 0 : meta.placeholder) || (meta === null || meta === void 0 ? void 0 : meta.placeholder);
15
15
  let localizationErrorMessage = '';
16
16
  if (errorMessage === null || errorMessage === void 0 ? void 0 : errorMessage.endsWith(validation.y.format('')))
17
- localizationErrorMessage = (_g = (_f = context === null || context === void 0 ? void 0 : context.localization) === null || _f === void 0 ? void 0 : _f[language]) === null || _g === void 0 ? void 0 : _g.format;
17
+ localizationErrorMessage = (_h = (_g = context === null || context === void 0 ? void 0 : context.localization) === null || _g === void 0 ? void 0 : _g[language]) === null || _h === void 0 ? void 0 : _h.format;
18
18
  if (errorMessage === null || errorMessage === void 0 ? void 0 : errorMessage.endsWith(validation.y.size('')))
19
- localizationErrorMessage = (_j = (_h = context === null || context === void 0 ? void 0 : context.localization) === null || _h === void 0 ? void 0 : _h[language]) === null || _j === void 0 ? void 0 : _j.size;
19
+ localizationErrorMessage = (_k = (_j = context === null || context === void 0 ? void 0 : context.localization) === null || _j === void 0 ? void 0 : _j[language]) === null || _k === void 0 ? void 0 : _k.size;
20
20
  else if (errorMessage === null || errorMessage === void 0 ? void 0 : errorMessage.endsWith(validation.y.require('')))
21
- localizationErrorMessage = (_l = (_k = context === null || context === void 0 ? void 0 : context.localization) === null || _k === void 0 ? void 0 : _k[language]) === null || _l === void 0 ? void 0 : _l.require;
21
+ localizationErrorMessage = (_m = (_l = context === null || context === void 0 ? void 0 : context.localization) === null || _l === void 0 ? void 0 : _l[language]) === null || _m === void 0 ? void 0 : _m.require;
22
22
  else if (errorMessage === 'minMessage')
23
- localizationErrorMessage = context === null || context === void 0 ? void 0 : context.withSlots(((_o = (_m = context === null || context === void 0 ? void 0 : context.localization) === null || _m === void 0 ? void 0 : _m[language]) === null || _o === void 0 ? void 0 : _o.minMessage) || 'Min date is $minDate$');
23
+ localizationErrorMessage = context === null || context === void 0 ? void 0 : context.withSlots(((_p = (_o = context === null || context === void 0 ? void 0 : context.localization) === null || _o === void 0 ? void 0 : _o[language]) === null || _p === void 0 ? void 0 : _p.minMessage) || 'Min date is $minDate$');
24
24
  else if (errorMessage === 'maxMessage')
25
- localizationErrorMessage = context === null || context === void 0 ? void 0 : context.withSlots(((_q = (_p = context === null || context === void 0 ? void 0 : context.localization) === null || _p === void 0 ? void 0 : _p[language]) === null || _q === void 0 ? void 0 : _q.maxMessage) || 'Max date is $maxDate$');
25
+ localizationErrorMessage = context === null || context === void 0 ? void 0 : context.withSlots(((_r = (_q = context === null || context === void 0 ? void 0 : context.localization) === null || _q === void 0 ? void 0 : _q[language]) === null || _r === void 0 ? void 0 : _r.maxMessage) || 'Max date is $maxDate$');
26
26
  else if (errorMessage === 'betweenMessage')
27
- localizationErrorMessage = context === null || context === void 0 ? void 0 : context.withSlots(((_s = (_r = context === null || context === void 0 ? void 0 : context.localization) === null || _r === void 0 ? void 0 : _r[language]) === null || _s === void 0 ? void 0 : _s.betweenMessage) || 'Must be between $minDate$ and $maxDate$');
27
+ localizationErrorMessage = context === null || context === void 0 ? void 0 : context.withSlots(((_t = (_s = context === null || context === void 0 ? void 0 : context.localization) === null || _s === void 0 ? void 0 : _s[language]) === null || _t === void 0 ? void 0 : _t.betweenMessage) || 'Must be between $minDate$ and $maxDate$');
28
28
  const errorTextMessage = localizationErrorMessage || locale[errorMessage] || errorMessage;
29
29
  return { label, placeholder, errorTextMessage };
30
30
  };