adp-web-components 0.1.77 → 0.1.79

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 (299) hide show
  1. package/dist/cjs/dead-stock-lookup_3.cjs.entry.js +11 -11
  2. package/dist/cjs/decode-time-offset-CY6JVxX3.js +37 -0
  3. package/dist/cjs/flexible-container.cjs.entry.js +1 -1
  4. package/dist/cjs/form-checkbox.cjs.entry.js +4 -4
  5. package/dist/cjs/form-date-picker.cjs.entry.js +1 -1
  6. package/dist/cjs/form-dialog_13.cjs.entry.js +1351 -0
  7. package/dist/cjs/{form-input-C3gQ_Noj.js → form-input-DH-U4kEM.js} +8 -6
  8. package/dist/cjs/form-input_4.cjs.entry.js +15 -18
  9. package/dist/cjs/form-switch.cjs.entry.js +5 -5
  10. package/dist/cjs/form-time-picker.cjs.entry.js +6 -6
  11. package/dist/cjs/general-form.cjs.entry.js +83 -0
  12. package/dist/cjs/general-inquiry-form.cjs.entry.js +19 -19
  13. package/dist/cjs/{get-language-from-url-Bqqqxz28.js → get-language-from-url-Cr3n1fd0.js} +13 -4
  14. package/dist/cjs/{get-local-language-BAmoMEw4.js → get-local-language-Ch0JsFp-.js} +2 -2
  15. package/dist/cjs/information-table.cjs.entry.js +1 -1
  16. package/dist/{esm/index-BILW0yP6.js → cjs/loader-icon-j5dMQ4bN.js} +16 -1
  17. package/dist/cjs/loader.cjs.js +1 -1
  18. package/dist/cjs/manufacturer-part-lookup.cjs.entry.js +6 -6
  19. package/dist/cjs/part-lookup.cjs.entry.js +5 -5
  20. package/dist/cjs/{loader-icon-OQu1-3ya.js → phone-validator-BUa89UAk.js} +23 -22
  21. package/dist/cjs/service-booking-form.cjs.entry.js +19 -19
  22. package/dist/cjs/shift-checkbox.cjs.entry.js +1 -1
  23. package/dist/cjs/shift-components.cjs.js +1 -1
  24. package/dist/cjs/shift-switch.cjs.entry.js +1 -1
  25. package/dist/cjs/shift-tab-content.cjs.entry.js +1 -1
  26. package/dist/cjs/shift-tabs_2.cjs.entry.js +9 -9
  27. package/dist/cjs/ssc-lookup-form.cjs.entry.js +19 -19
  28. package/dist/cjs/{state-object-9UAuyk6N.js → state-object-DY2MVbpe.js} +21 -9
  29. package/dist/cjs/test-drive-form.cjs.entry.js +19 -19
  30. package/dist/cjs/{type-BSH0OxyO.js → type-BkehR16K.js} +1 -1
  31. package/dist/cjs/{type-BvWomz0N.js → type-CjTn3Uuy.js} +1 -1
  32. package/dist/cjs/{type-CFTS0FUJ.js → type-DhEJjKzj.js} +1 -1
  33. package/dist/cjs/{types-B3WMBBhs.js → types-DV_cOCRi.js} +18 -0
  34. package/dist/cjs/{validation-DEdJb-KL.js → validation-N-XMdEIM.js} +15 -2
  35. package/dist/cjs/vehicle-accessories_7.cjs.entry.js +17 -17
  36. package/dist/cjs/vehicle-lookup.cjs.entry.js +3 -3
  37. package/dist/cjs/vehicle-quotation-form.cjs.entry.js +17 -17
  38. package/dist/cjs/{white-loader-55klC_ZH.js → white-loader-kSznMo_u.js} +4 -0
  39. package/dist/collection/collection-manifest.json +2 -0
  40. package/dist/collection/components/components/empty.css +1 -1
  41. package/dist/collection/components/components/flexible-container.css +1 -1
  42. package/dist/collection/components/components/information-table.css +1 -1
  43. package/dist/collection/components/components/shift-tab-content.css +1 -1
  44. package/dist/collection/components/components/shift-tabs.css +1 -1
  45. package/dist/collection/components/form-elements/form-file.js +605 -0
  46. package/dist/collection/components/form-elements/form-input.js +2 -2
  47. package/dist/collection/components/form-elements/form-inputs.css +1 -1
  48. package/dist/collection/components/form-elements/form-phone-number.js +2 -2
  49. package/dist/collection/components/form-elements/form-picker-input.js +2 -2
  50. package/dist/collection/components/form-elements/form-select.js +1 -1
  51. package/dist/collection/components/form-elements/form-shadow-input.js +1 -1
  52. package/dist/collection/components/form-elements/form-stepper-control.js +2 -2
  53. package/dist/collection/components/form-elements/form-stepper-submit.js +2 -2
  54. package/dist/collection/components/form-elements/form-stepper.js +1 -1
  55. package/dist/collection/components/form-elements/form-structure-error.js +1 -1
  56. package/dist/collection/components/form-elements/form-submit.js +2 -2
  57. package/dist/collection/components/form-elements/form-switch.js +1 -1
  58. package/dist/collection/components/form-elements/form-text-area.js +2 -2
  59. package/dist/collection/components/form-elements/form-time-picker-legacy.js +5 -5
  60. package/dist/collection/components/form-elements/form-vin-input.js +2 -2
  61. package/dist/collection/components/forms/defaults/mappers.js +13 -1
  62. package/dist/collection/components/forms/defaults/validation.js +9 -1
  63. package/dist/collection/components/forms/general-form.js +490 -0
  64. package/dist/collection/components/forms/general-inquiry.js +2 -2
  65. package/dist/collection/components/forms/service-booking.js +2 -2
  66. package/dist/collection/components/forms/ssc-lookup.js +2 -2
  67. package/dist/collection/components/forms/test-drive.js +2 -2
  68. package/dist/collection/components/forms/vehicle-quotation.js +2 -2
  69. package/dist/collection/components/part-lookup/dead-stock-lookup.css +1 -1
  70. package/dist/collection/components/part-lookup/dead-stock-lookup.js +2 -2
  71. package/dist/collection/components/part-lookup/distributor-lookup.css +1 -1
  72. package/dist/collection/components/part-lookup/distributor-lookup.js +2 -2
  73. package/dist/collection/components/part-lookup/manufacturer-lookup.css +1 -1
  74. package/dist/collection/components/part-lookup/manufacturer-part-lookup.css +1 -1
  75. package/dist/collection/components/part-lookup/manufacturer-part-lookup.js +1 -1
  76. package/dist/collection/components/part-lookup/part-lookup.css +1 -1
  77. package/dist/collection/components/vehicle-lookup/vehicle-accessories.js +2 -2
  78. package/dist/collection/components/vehicle-lookup/vehicle-claimable-items.js +4 -4
  79. package/dist/collection/components/vehicle-lookup/vehicle-item-claim-form.js +8 -8
  80. package/dist/collection/components/vehicle-lookup/vehicle-sale-information.js +2 -2
  81. package/dist/collection/components/vehicle-lookup/vehicle-service-history.js +1 -1
  82. package/dist/collection/components/vehicle-lookup/vehicle-specification.js +1 -1
  83. package/dist/collection/components/vehicle-lookup/vehicle-warranty-details.js +4 -4
  84. package/dist/collection/components/vin-extractor/vin-extractor.js +1 -1
  85. package/dist/collection/features/form-hook/form-hook.js +13 -4
  86. package/dist/collection/features/form-hook/functions.js +17 -4
  87. package/dist/collection/features/form-hook/inputs/form-input.js +7 -5
  88. package/dist/components/dead-stock-lookup.js +1 -1
  89. package/dist/components/distributor-lookup.js +1 -1
  90. package/dist/components/flexible-container.js +1 -1
  91. package/dist/components/form-checkbox.js +1 -1
  92. package/dist/components/form-date-picker.js +1 -1
  93. package/dist/components/form-dialog.js +1 -1
  94. package/dist/components/form-file.d.ts +11 -0
  95. package/dist/components/form-file.js +5 -0
  96. package/dist/components/form-input-preview.js +1 -1
  97. package/dist/components/form-input.js +1 -1
  98. package/dist/components/form-phone-number.js +1 -1
  99. package/dist/components/form-picker-input.js +1 -1
  100. package/dist/components/form-select.js +1 -1
  101. package/dist/components/form-shadow-input.js +1 -1
  102. package/dist/components/form-stepper-control.js +1 -1
  103. package/dist/components/form-stepper-submit.js +1 -1
  104. package/dist/components/form-stepper.js +1 -1
  105. package/dist/components/form-structure-error.js +1 -1
  106. package/dist/components/form-structure.js +1 -1
  107. package/dist/components/form-submit.js +1 -1
  108. package/dist/components/form-switch.js +1 -1
  109. package/dist/components/form-text-area.js +1 -1
  110. package/dist/components/form-time-picker.js +1 -1
  111. package/dist/components/form-vin-input.js +1 -1
  112. package/dist/components/general-form.d.ts +11 -0
  113. package/dist/components/general-form.js +5 -0
  114. package/dist/components/general-inquiry-form.js +1 -1
  115. package/dist/components/information-table.js +1 -1
  116. package/dist/components/manufacturer-lookup.js +1 -1
  117. package/dist/components/manufacturer-part-lookup.js +1 -1
  118. package/dist/components/{p-7EgXGKIp.js → p-7Ml46qau.js} +1 -1
  119. package/dist/components/{p-B9DO0698.js → p-B-MZjoBg.js} +1 -1
  120. package/dist/components/{p-pM1_gpUu.js → p-B-XBWavF.js} +1 -1
  121. package/dist/components/p-B14TvlWp.js +5 -0
  122. package/dist/components/p-B1HbKT92.js +5 -0
  123. package/dist/components/p-B20yJV8N.js +5 -0
  124. package/dist/components/{p-CnU-FAvr.js → p-B74EVzB0.js} +1 -1
  125. package/dist/components/p-B882WrlQ.js +5 -0
  126. package/dist/components/{p-27kjA_Yu.js → p-BLhi8bD5.js} +1 -1
  127. package/dist/components/p-BN3IFAWI.js +5 -0
  128. package/dist/components/{p-C34ZMIUx.js → p-BWfCJC3Q.js} +1 -1
  129. package/dist/components/p-BeL46S5b.js +5 -0
  130. package/dist/components/p-Bsnu7u9K.js +5 -0
  131. package/dist/components/{p-CKmHT-QE.js → p-BxeKiQ5h.js} +1 -1
  132. package/dist/components/p-CEnsN9BF.js +5 -0
  133. package/dist/components/{p-CRhdQvF0.js → p-COS-bXsj.js} +1 -1
  134. package/dist/components/{p-Bbn0Tw-8.js → p-CQSAEcTB.js} +1 -1
  135. package/dist/components/{p-DLXbMIN9.js → p-Ch14UUZ8.js} +1 -1
  136. package/dist/components/{p-DAqyVen6.js → p-CjrMk4Te.js} +1 -1
  137. package/dist/components/{p-Bw_VvuFc.js → p-ClKZfnwN.js} +1 -1
  138. package/dist/components/p-D0oHH_yi.js +5 -0
  139. package/dist/components/{p-CYyIlZJC.js → p-D7IQ_tmq.js} +1 -1
  140. package/dist/components/{p-BmyNDE_E.js → p-DATl4ttx.js} +1 -1
  141. package/dist/components/{p-CWpqw5J1.js → p-DD8S-FqN.js} +1 -1
  142. package/dist/components/p-DIx4B8Yb.js +5 -0
  143. package/dist/components/p-DN4c_zdE.js +5 -0
  144. package/dist/components/p-DQqF8boi.js +5 -0
  145. package/dist/components/p-DSTKQdoW.js +5 -0
  146. package/dist/components/p-DT2OVZtH.js +5 -0
  147. package/dist/components/p-DY9gBU2J.js +5 -0
  148. package/dist/components/p-DldJIun-.js +5 -0
  149. package/dist/components/{p-H7Rx-uvh.js → p-DndpWsL0.js} +1 -1
  150. package/dist/components/p-DwyZCgYl.js +5 -0
  151. package/dist/components/p-JSG4fAIl.js +5 -0
  152. package/dist/components/{p-BG1Acvil.js → p-LsPt2IQQ.js} +1 -1
  153. package/dist/components/{p-DJaWpqrV.js → p-MJwr71KB.js} +1 -1
  154. package/dist/components/p-MdiEjk1X.js +5 -0
  155. package/dist/{shift-components/p-CWP4hZcw.js → components/p-YQJevg3-.js} +1 -1
  156. package/dist/components/p-aHqL2KKd.js +5 -0
  157. package/dist/components/{p--puhRiiY.js → p-aMPZ6-pL.js} +1 -1
  158. package/dist/components/{p-CIQ6QH_J.js → p-pckxVoM8.js} +1 -1
  159. package/dist/components/p-rvbbkr0i.js +5 -0
  160. package/dist/components/{p-BlA4goTb.js → p-uy_bFOsR.js} +1 -1
  161. package/dist/components/p-yQwcy8rT.js +5 -0
  162. package/dist/components/part-lookup.js +1 -1
  163. package/dist/components/service-booking-form.js +1 -1
  164. package/dist/components/shift-accordion.js +1 -1
  165. package/dist/components/shift-checkbox.js +1 -1
  166. package/dist/components/shift-slider.js +1 -1
  167. package/dist/components/shift-switch.js +1 -1
  168. package/dist/components/shift-tab-content.js +1 -1
  169. package/dist/components/shift-tabs.js +1 -1
  170. package/dist/components/ssc-lookup-form.js +1 -1
  171. package/dist/components/test-drive-form.js +1 -1
  172. package/dist/components/vehicle-accessories.js +1 -1
  173. package/dist/components/vehicle-claimable-items.js +1 -1
  174. package/dist/components/vehicle-item-claim-form.js +1 -1
  175. package/dist/components/vehicle-lookup.js +1 -1
  176. package/dist/components/vehicle-paint-thickness.js +1 -1
  177. package/dist/components/vehicle-quotation-form.js +1 -1
  178. package/dist/components/vehicle-sale-information.js +1 -1
  179. package/dist/components/vehicle-service-history.js +1 -1
  180. package/dist/components/vehicle-specification.js +1 -1
  181. package/dist/components/vehicle-warranty-details.js +1 -1
  182. package/dist/components/vin-extractor.js +1 -1
  183. package/dist/esm/dead-stock-lookup_3.entry.js +11 -11
  184. package/dist/esm/{decode-time-offset-Cfi43WoV.js → decode-time-offset-DFZOybyr.js} +1 -1
  185. package/dist/esm/flexible-container.entry.js +1 -1
  186. package/dist/esm/form-checkbox.entry.js +4 -4
  187. package/dist/esm/form-date-picker.entry.js +1 -1
  188. package/dist/esm/form-dialog_13.entry.js +1337 -0
  189. package/dist/esm/{form-input-C5O2h7ti.js → form-input-DKjuSVBS.js} +8 -6
  190. package/dist/esm/form-input_4.entry.js +14 -17
  191. package/dist/esm/form-switch.entry.js +5 -5
  192. package/dist/esm/form-time-picker.entry.js +6 -6
  193. package/dist/esm/general-form.entry.js +81 -0
  194. package/dist/esm/general-inquiry-form.entry.js +11 -11
  195. package/dist/esm/{get-language-from-url-Ba709Um1.js → get-language-from-url-OJporG8v.js} +13 -4
  196. package/dist/esm/{get-local-language-BOhWqeWJ.js → get-local-language-Ce9BLJNB.js} +2 -2
  197. package/dist/esm/information-table.entry.js +1 -1
  198. package/dist/{cjs/index-D5c513Xn.js → esm/loader-icon-DM4Vm5gX.js} +12 -2
  199. package/dist/esm/loader.js +1 -1
  200. package/dist/esm/manufacturer-part-lookup.entry.js +6 -6
  201. package/dist/esm/part-lookup.entry.js +5 -5
  202. package/dist/esm/{loader-icon-Dsip-ysn.js → phone-validator-DuWpgjxr.js} +22 -20
  203. package/dist/esm/service-booking-form.entry.js +10 -10
  204. package/dist/esm/shift-checkbox.entry.js +1 -1
  205. package/dist/esm/shift-components.js +1 -1
  206. package/dist/esm/shift-switch.entry.js +1 -1
  207. package/dist/esm/shift-tab-content.entry.js +1 -1
  208. package/dist/esm/shift-tabs_2.entry.js +9 -9
  209. package/dist/esm/ssc-lookup-form.entry.js +10 -10
  210. package/dist/esm/{state-object-DAThqvht.js → state-object-BYbNPk-P.js} +17 -5
  211. package/dist/esm/test-drive-form.entry.js +10 -10
  212. package/dist/esm/{type-DDlXvsYW.js → type-8o_W9bXK.js} +1 -1
  213. package/dist/esm/{type-Dw5qeiT3.js → type-C2SCytyp.js} +1 -1
  214. package/dist/esm/{type-DwvmWsdz.js → type-DCLi-Gh3.js} +1 -1
  215. package/dist/esm/{types-CWP4hZcw.js → types-BDhR4pDq.js} +18 -1
  216. package/dist/esm/{validation-iKTmTjB0.js → validation-CjIBF497.js} +11 -3
  217. package/dist/esm/vehicle-accessories_7.entry.js +17 -17
  218. package/dist/esm/vehicle-lookup.entry.js +3 -3
  219. package/dist/esm/vehicle-quotation-form.entry.js +7 -7
  220. package/dist/esm/{white-loader-BpnYQ3A6.js → white-loader-CG4JPVdv.js} +4 -1
  221. package/dist/shift-components/{p-76fe6d18.entry.js → p-0174f4a6.entry.js} +1 -1
  222. package/dist/shift-components/{p-2fe3538e.entry.js → p-0ea039a0.entry.js} +1 -1
  223. package/dist/shift-components/{p-ca99ff7e.entry.js → p-19b5c5da.entry.js} +1 -1
  224. package/dist/shift-components/{p-389fbad6.entry.js → p-30d616e8.entry.js} +1 -1
  225. package/dist/shift-components/p-37bbc653.entry.js +5 -0
  226. package/dist/shift-components/{p-6b9cc078.entry.js → p-39128baf.entry.js} +1 -1
  227. package/dist/shift-components/p-3c5f015c.entry.js +5 -0
  228. package/dist/shift-components/{p-0d80679a.entry.js → p-45232ee9.entry.js} +1 -1
  229. package/dist/shift-components/p-600141c0.entry.js +5 -0
  230. package/dist/shift-components/p-6b9c8723.entry.js +5 -0
  231. package/dist/shift-components/p-6fca3b48.entry.js +5 -0
  232. package/dist/shift-components/p-74392ec2.entry.js +5 -0
  233. package/dist/shift-components/p-7PtHUjhE.js +5 -0
  234. package/dist/shift-components/{p-398ca2dd.entry.js → p-7ce7efb2.entry.js} +1 -1
  235. package/dist/shift-components/{p-f4914abc.entry.js → p-8049016c.entry.js} +1 -1
  236. package/dist/shift-components/{p-ad9a34aa.entry.js → p-8c4579f1.entry.js} +1 -1
  237. package/dist/shift-components/{p-8281a1ba.entry.js → p-9270fdea.entry.js} +1 -1
  238. package/dist/shift-components/p-95496452.entry.js +5 -0
  239. package/dist/shift-components/{p-69e9751f.entry.js → p-971f2432.entry.js} +1 -1
  240. package/dist/{components/p-DkIqSrtn.js → shift-components/p-BDhR4pDq.js} +1 -1
  241. package/dist/shift-components/p-BffuX06w.js +5 -0
  242. package/dist/shift-components/{p-Birh6Z1w.js → p-BrJd1o0-.js} +1 -1
  243. package/dist/shift-components/{p-D6pA5cwZ.js → p-CCt3VwsZ.js} +1 -1
  244. package/dist/shift-components/{p-XyQhTm0V.js → p-Cv7m_MLQ.js} +1 -1
  245. package/dist/shift-components/p-D-IGTVAo.js +5 -0
  246. package/dist/shift-components/p-Dfy8LG6W.js +5 -0
  247. package/dist/shift-components/p-DgArUiaY.js +5 -0
  248. package/dist/shift-components/{p-DJSST74z.js → p-DyLtxN1c.js} +1 -1
  249. package/dist/shift-components/{p-72fb32e6.entry.js → p-b58252b3.entry.js} +1 -1
  250. package/dist/shift-components/{p-61725969.entry.js → p-b73dc0eb.entry.js} +1 -1
  251. package/dist/shift-components/{p-969047f1.entry.js → p-d9491f0a.entry.js} +1 -1
  252. package/dist/shift-components/{p-48622d1c.entry.js → p-ea04ef58.entry.js} +1 -1
  253. package/dist/shift-components/{p-055c46ae.entry.js → p-fd8cce34.entry.js} +1 -1
  254. package/dist/shift-components/{p-BVrQRz1r.js → p-nGZ6Nphz.js} +1 -1
  255. package/dist/shift-components/p-yjI-v4gh.js +5 -0
  256. package/dist/shift-components/p-zqc-VRCh.js +5 -0
  257. package/dist/shift-components/shift-components.esm.js +1 -1
  258. package/dist/types/components/form-elements/form-file.d.ts +51 -0
  259. package/dist/types/components/forms/defaults/mappers.d.ts +10 -0
  260. package/dist/types/components/forms/defaults/validation.d.ts +6 -0
  261. package/dist/types/components/forms/general-form.d.ts +40 -0
  262. package/dist/types/components.d.ts +136 -0
  263. package/dist/types/features/form-hook/form-hook.d.ts +2 -1
  264. package/package.json +1 -1
  265. package/dist/cjs/decode-time-offset-DqzP0mck.js +0 -37
  266. package/dist/cjs/form-dialog_12.cjs.entry.js +0 -1092
  267. package/dist/components/p-1rMNgTmN.js +0 -5
  268. package/dist/components/p-B4O925yv.js +0 -5
  269. package/dist/components/p-B7jki48I.js +0 -5
  270. package/dist/components/p-B9WVNn55.js +0 -5
  271. package/dist/components/p-BAXJUlT3.js +0 -5
  272. package/dist/components/p-BqEpcTHM.js +0 -5
  273. package/dist/components/p-BrYiFmwV.js +0 -5
  274. package/dist/components/p-Btio2HOp.js +0 -5
  275. package/dist/components/p-CGTnKwGx.js +0 -5
  276. package/dist/components/p-CHFEweyc.js +0 -5
  277. package/dist/components/p-CIpGuibo.js +0 -5
  278. package/dist/components/p-CsuuEdZV.js +0 -5
  279. package/dist/components/p-DBiatJcb.js +0 -5
  280. package/dist/components/p-DXTNpTRN.js +0 -5
  281. package/dist/components/p-RgH4pvBx.js +0 -5
  282. package/dist/components/p-aU8QeNSR.js +0 -5
  283. package/dist/components/p-bj5xjS7q.js +0 -5
  284. package/dist/components/p-oOwj68Rk.js +0 -5
  285. package/dist/components/p-rFExZsrl.js +0 -5
  286. package/dist/esm/form-dialog_12.entry.js +0 -1079
  287. package/dist/shift-components/p-56cb9747.entry.js +0 -5
  288. package/dist/shift-components/p-84b2e4ef.entry.js +0 -5
  289. package/dist/shift-components/p-9df9af1a.entry.js +0 -5
  290. package/dist/shift-components/p-BAltXAam.js +0 -5
  291. package/dist/shift-components/p-BILW0yP6.js +0 -5
  292. package/dist/shift-components/p-Bp-HDfJB.js +0 -5
  293. package/dist/shift-components/p-CK-8T86o.js +0 -5
  294. package/dist/shift-components/p-CfAzoJ2t.js +0 -5
  295. package/dist/shift-components/p-Cfs-79nK.js +0 -5
  296. package/dist/shift-components/p-CyHfimfF.js +0 -5
  297. package/dist/shift-components/p-ae6d8792.entry.js +0 -5
  298. package/dist/shift-components/p-c0db198d.entry.js +0 -5
  299. package/dist/shift-components/p-d5fed00e.entry.js +0 -5
@@ -2,25 +2,27 @@
2
2
  * Built by ShiftSoftware
3
3
  * Copyright (c)
4
4
  */
5
- import { y } from './validation-iKTmTjB0.js';
5
+ import { y } from './validation-CjIBF497.js';
6
6
  import { g as getNestedValue } from './get-nested-value-D0IHkGuC.js';
7
7
 
8
8
  const getInputLocalization = (context, meta, errorMessage) => {
9
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
9
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s;
10
10
  const [locale, language] = (_a = context === null || context === void 0 ? void 0 : context.form) === null || _a === void 0 ? void 0 : _a.getFormLocale();
11
11
  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(locale, meta === null || meta === void 0 ? void 0 : meta.label) || (meta === null || meta === void 0 ? void 0 : meta.label);
12
12
  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(locale, meta === null || meta === void 0 ? void 0 : meta.placeholder) || (meta === null || meta === void 0 ? void 0 : meta.placeholder);
13
13
  let localizationErrorMessage = '';
14
14
  if (errorMessage === null || errorMessage === void 0 ? void 0 : errorMessage.endsWith(y.format('')))
15
15
  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;
16
+ if (errorMessage === null || errorMessage === void 0 ? void 0 : errorMessage.endsWith(y.size('')))
17
+ 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;
16
18
  else if (errorMessage === null || errorMessage === void 0 ? void 0 : errorMessage.endsWith(y.require('')))
17
- 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.require;
19
+ 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;
18
20
  else if (errorMessage === 'minMessage')
19
- localizationErrorMessage = context === null || context === void 0 ? void 0 : context.withSlots(((_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.minMessage) || 'Min date is $minDate$');
21
+ 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$');
20
22
  else if (errorMessage === 'maxMessage')
21
- 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.maxMessage) || 'Max date is $maxDate$');
23
+ 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$');
22
24
  else if (errorMessage === 'betweenMessage')
23
- 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.betweenMessage) || 'Must be between $minDate$ and $maxDate$');
25
+ 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$');
24
26
  const errorTextMessage = localizationErrorMessage || locale[errorMessage] || errorMessage;
25
27
  return { label, placeholder, errorTextMessage };
26
28
  };