rebill-web-components-sdk 1.14.0 → 1.14.1-beta.2

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 (291) hide show
  1. package/dist/cjs/card-fields-wrapper_16.cjs.entry.js +102 -29
  2. package/dist/cjs/card-skeleton_2.cjs.entry.js +1 -1
  3. package/dist/cjs/collapsible-card_3.cjs.entry.js +2 -2
  4. package/dist/cjs/index-C-VTnc0I.js.map +1 -1
  5. package/dist/cjs/input-otp.cjs.entry.js +2 -2
  6. package/dist/cjs/loader.cjs.js +1 -1
  7. package/dist/cjs/rebill-alert.cjs.entry.js +2 -2
  8. package/dist/cjs/rebill-card-carousel.cjs.entry.js +1 -1
  9. package/dist/cjs/rebill-card.rebill-input-email.rebill-mode-sandbox.rebill-mode-sandbox-mobile.user-information.entry.cjs.js.map +1 -0
  10. package/dist/cjs/{rebill-card_3.cjs.entry.js → rebill-card_5.cjs.entry.js} +126 -5
  11. package/dist/cjs/rebill-container_2.cjs.entry.js +2 -2
  12. package/dist/cjs/rebill-flex-container.cjs.entry.js +1 -1
  13. package/dist/cjs/rebill-grid-container.cjs.entry.js +1 -1
  14. package/dist/cjs/rebill-input-select.cjs.entry.js +2 -2
  15. package/dist/cjs/rebill-input-text.cjs.entry.js +2 -2
  16. package/dist/cjs/rebill-save-card.cjs.entry.js +215 -48
  17. package/dist/cjs/rebill-save-card.entry.cjs.js.map +1 -1
  18. package/dist/cjs/rebill-vertical-divider.cjs.entry.js +1 -1
  19. package/dist/cjs/rebill-web-components-sdk.cjs.js +1 -1
  20. package/dist/cjs/save-card-success.cjs.entry.js +1 -1
  21. package/dist/cjs/save-card.store-C0-ettWj.js +114 -0
  22. package/dist/cjs/save-card.store-C0-ettWj.js.map +1 -0
  23. package/dist/collection/api/entities/sessions/save-card-types.js.map +1 -1
  24. package/dist/collection/collection-manifest.json +1 -1
  25. package/dist/collection/components/checkout/address/address-form/address-form.js +19 -1
  26. package/dist/collection/components/checkout/address/address-form/address-form.js.map +1 -1
  27. package/dist/collection/components/checkout/address/address.js +84 -16
  28. package/dist/collection/components/checkout/address/address.js.map +1 -1
  29. package/dist/collection/components/checkout/payment-method-selector/card-fields/iframe/CardIframe.js +13 -8
  30. package/dist/collection/components/checkout/payment-method-selector/card-fields/iframe/CardIframe.js.map +1 -1
  31. package/dist/collection/components/save-card/rebill-save-card.css +22 -4
  32. package/dist/collection/components/save-card/rebill-save-card.js +373 -54
  33. package/dist/collection/components/save-card/rebill-save-card.js.map +1 -1
  34. package/dist/collection/components/save-card/save-card-success.js +1 -1
  35. package/dist/collection/components/shared/alert/alert.js +2 -2
  36. package/dist/collection/components/shared/card/card.js +1 -1
  37. package/dist/collection/components/shared/card-carousel/card-carousel.js +1 -1
  38. package/dist/collection/components/shared/collapsible-card/collapsible-card.js +1 -1
  39. package/dist/collection/components/shared/divider/divider.js +1 -1
  40. package/dist/collection/components/shared/divider/vertical-divider.js +1 -1
  41. package/dist/collection/components/shared/form/form.js +1 -1
  42. package/dist/collection/components/shared/inputs/input-checkbox/input-checkbox.js +1 -1
  43. package/dist/collection/components/shared/inputs/input-combo/input-combo.js +1 -1
  44. package/dist/collection/components/shared/inputs/input-email/input-email.js +3 -3
  45. package/dist/collection/components/shared/inputs/input-otp/input-otp.js +2 -2
  46. package/dist/collection/components/shared/inputs/input-phone/input-phone.js +2 -2
  47. package/dist/collection/components/shared/inputs/input-select/input-select.js +2 -2
  48. package/dist/collection/components/shared/inputs/input-text/input-text.js +2 -2
  49. package/dist/collection/components/shared/layouts/generics/container.js +1 -1
  50. package/dist/collection/components/shared/layouts/generics/flex.js +1 -1
  51. package/dist/collection/components/shared/layouts/generics/grid.js +1 -1
  52. package/dist/collection/components/shared/mode-sandbox/mode-sandbox-mobile.js +1 -1
  53. package/dist/collection/store/save-card.store.js +67 -0
  54. package/dist/collection/store/save-card.store.js.map +1 -1
  55. package/dist/components/apm-checkout.js +1 -1
  56. package/dist/components/bank-transfer.js +1 -1
  57. package/dist/components/card-fields-wrapper.js +1 -1
  58. package/dist/components/card-identification.js +1 -1
  59. package/dist/components/card-iframe.js +1 -1
  60. package/dist/components/change-card-success.js +1 -1
  61. package/dist/components/collapsible-card.js +1 -1
  62. package/dist/components/discount-coupon.js +1 -1
  63. package/dist/components/input-otp.js +1 -1
  64. package/dist/components/otp-component.js +1 -1
  65. package/dist/components/{p-DfYEqVHr.js → p-1WdafZG0.js} +4 -4
  66. package/dist/components/{p-DfYEqVHr.js.map → p-1WdafZG0.js.map} +1 -1
  67. package/dist/components/{p-qCb12gak.js → p-3Ihmrdft.js} +6 -6
  68. package/dist/components/{p-qCb12gak.js.map → p-3Ihmrdft.js.map} +1 -1
  69. package/dist/components/p-8BpuJ_V5.js.map +1 -1
  70. package/dist/components/{p-CCA0nTis.js → p-B1btJnXD.js} +3 -3
  71. package/dist/components/{p-CCA0nTis.js.map → p-B1btJnXD.js.map} +1 -1
  72. package/dist/components/{p-DHn1KNTn.js → p-B89k6_xt.js} +3 -3
  73. package/dist/components/{p-DHn1KNTn.js.map → p-B89k6_xt.js.map} +1 -1
  74. package/dist/components/{p-DLZE3LVM.js → p-BH6zJexK.js} +5 -5
  75. package/dist/components/{p-DLZE3LVM.js.map → p-BH6zJexK.js.map} +1 -1
  76. package/dist/components/{p-BZxvjXEC.js → p-BJ2zD3os.js} +3 -3
  77. package/dist/components/{p-BZxvjXEC.js.map → p-BJ2zD3os.js.map} +1 -1
  78. package/dist/components/{p-87ZC8uIa.js → p-BKdB3oFz.js} +91 -23
  79. package/dist/components/p-BKdB3oFz.js.map +1 -0
  80. package/dist/components/{p-jUI1lEeR.js → p-BUGY_mo4.js} +6 -6
  81. package/dist/components/{p-jUI1lEeR.js.map → p-BUGY_mo4.js.map} +1 -1
  82. package/dist/components/p-Bwi147bt.js +111 -0
  83. package/dist/components/p-Bwi147bt.js.map +1 -0
  84. package/dist/components/{p-DZ9qxFFv.js → p-ByXGiP3o.js} +3 -3
  85. package/dist/components/{p-DZ9qxFFv.js.map → p-ByXGiP3o.js.map} +1 -1
  86. package/dist/components/{p-BiGQe-Yz.js → p-C5EWL51u.js} +3 -3
  87. package/dist/components/{p-BiGQe-Yz.js.map → p-C5EWL51u.js.map} +1 -1
  88. package/dist/components/{p-B77GMAoY.js → p-C910ppCS.js} +5 -5
  89. package/dist/components/{p-B77GMAoY.js.map → p-C910ppCS.js.map} +1 -1
  90. package/dist/components/{p-BCdVi2Dn.js → p-CHY0Axj0.js} +3 -3
  91. package/dist/components/{p-BCdVi2Dn.js.map → p-CHY0Axj0.js.map} +1 -1
  92. package/dist/components/{p-DDlyMcpw.js → p-COW97bWc.js} +3 -3
  93. package/dist/components/{p-DDlyMcpw.js.map → p-COW97bWc.js.map} +1 -1
  94. package/dist/components/{p-BRA2Q28g.js → p-CTuYoS-i.js} +3 -3
  95. package/dist/components/{p-BRA2Q28g.js.map → p-CTuYoS-i.js.map} +1 -1
  96. package/dist/components/{p-Bm-V0Wjr.js → p-CfTcm65s.js} +3 -3
  97. package/dist/components/{p-Bm-V0Wjr.js.map → p-CfTcm65s.js.map} +1 -1
  98. package/dist/components/{p-CEYFBN7i.js → p-CgH4O9wo.js} +7 -5
  99. package/dist/components/p-CgH4O9wo.js.map +1 -0
  100. package/dist/components/{p-D4_8mp40.js → p-CgMB67-H.js} +5 -5
  101. package/dist/components/{p-D4_8mp40.js.map → p-CgMB67-H.js.map} +1 -1
  102. package/dist/components/{p-C7ZDl2RV.js → p-CmkDHbBC.js} +3 -3
  103. package/dist/components/{p-C7ZDl2RV.js.map → p-CmkDHbBC.js.map} +1 -1
  104. package/dist/components/{p-BQYcBHS2.js → p-Cua1mcO8.js} +4 -4
  105. package/dist/components/{p-BQYcBHS2.js.map → p-Cua1mcO8.js.map} +1 -1
  106. package/dist/components/{p-BRyONfjg.js → p-D0EWTEtS.js} +3 -3
  107. package/dist/components/{p-BRyONfjg.js.map → p-D0EWTEtS.js.map} +1 -1
  108. package/dist/components/{p-BuVrQmQt.js → p-DFDw4MdH.js} +4 -4
  109. package/dist/components/{p-BuVrQmQt.js.map → p-DFDw4MdH.js.map} +1 -1
  110. package/dist/components/{p-CtigCUvO.js → p-DJKDQKKd.js} +3 -3
  111. package/dist/components/{p-CtigCUvO.js.map → p-DJKDQKKd.js.map} +1 -1
  112. package/dist/components/{p-2fMjtqFV.js → p-DLWoy271.js} +3 -3
  113. package/dist/components/{p-2fMjtqFV.js.map → p-DLWoy271.js.map} +1 -1
  114. package/dist/components/{p-xsCsaZ2p.js → p-DON8wehW.js} +4 -4
  115. package/dist/components/{p-xsCsaZ2p.js.map → p-DON8wehW.js.map} +1 -1
  116. package/dist/components/{p-CiUKc0hs.js → p-DPge7f8E.js} +5 -5
  117. package/dist/components/{p-CiUKc0hs.js.map → p-DPge7f8E.js.map} +1 -1
  118. package/dist/components/{p-COjLaOqL.js → p-DYqD-pCX.js} +3 -3
  119. package/dist/components/{p-COjLaOqL.js.map → p-DYqD-pCX.js.map} +1 -1
  120. package/dist/components/{p-SIJDmwq0.js → p-D_FXxyrh.js} +3 -3
  121. package/dist/components/{p-SIJDmwq0.js.map → p-D_FXxyrh.js.map} +1 -1
  122. package/dist/components/{p-BFvCmiVf.js → p-DcewHmbH.js} +3 -3
  123. package/dist/components/{p-BFvCmiVf.js.map → p-DcewHmbH.js.map} +1 -1
  124. package/dist/components/{p-3sc5p1S1.js → p-Di6CGqhM.js} +4 -4
  125. package/dist/components/{p-3sc5p1S1.js.map → p-Di6CGqhM.js.map} +1 -1
  126. package/dist/components/{p-CA2wncS8.js → p-DnO9ETJ-.js} +4 -4
  127. package/dist/components/{p-CA2wncS8.js.map → p-DnO9ETJ-.js.map} +1 -1
  128. package/dist/components/{p-D264GbCo.js → p-Dp1qr9HC.js} +4 -4
  129. package/dist/components/{p-D264GbCo.js.map → p-Dp1qr9HC.js.map} +1 -1
  130. package/dist/components/{p-DWQXSS-9.js → p-DpGsdz9-.js} +6 -6
  131. package/dist/components/{p-DWQXSS-9.js.map → p-DpGsdz9-.js.map} +1 -1
  132. package/dist/components/{p-CWcIo9VA.js → p-Dq0CI_AE.js} +4 -4
  133. package/dist/components/{p-CWcIo9VA.js.map → p-Dq0CI_AE.js.map} +1 -1
  134. package/dist/components/{p-CylGwUrH.js → p-Dr0xSYhQ.js} +4 -4
  135. package/dist/components/{p-CylGwUrH.js.map → p-Dr0xSYhQ.js.map} +1 -1
  136. package/dist/components/{p-Cxq61FXy.js → p-I-Ug9mYZ.js} +3 -3
  137. package/dist/components/{p-Cxq61FXy.js.map → p-I-Ug9mYZ.js.map} +1 -1
  138. package/dist/components/{p-CcMg9ZYY.js → p-MvA0QFx7.js} +7 -7
  139. package/dist/components/{p-CcMg9ZYY.js.map → p-MvA0QFx7.js.map} +1 -1
  140. package/dist/components/{p-DamML5Nw.js → p-_7thrXj4.js} +16 -11
  141. package/dist/components/p-_7thrXj4.js.map +1 -0
  142. package/dist/components/{p-DnijLaRX.js → p-cExSE7J-.js} +5 -5
  143. package/dist/components/{p-DnijLaRX.js.map → p-cExSE7J-.js.map} +1 -1
  144. package/dist/components/{p-BnD3UzU7.js → p-jzFI1Uox.js} +9 -9
  145. package/dist/components/{p-BnD3UzU7.js.map → p-jzFI1Uox.js.map} +1 -1
  146. package/dist/components/{p-DtUgdTC9.js → p-kfkNkZ54.js} +4 -4
  147. package/dist/components/{p-DtUgdTC9.js.map → p-kfkNkZ54.js.map} +1 -1
  148. package/dist/components/{p-84u3l7mA.js → p-kjW6ymd_.js} +3 -3
  149. package/dist/components/{p-84u3l7mA.js.map → p-kjW6ymd_.js.map} +1 -1
  150. package/dist/components/{p-B9wPHpzo.js → p-lsoOQ3ly.js} +10 -10
  151. package/dist/components/{p-B9wPHpzo.js.map → p-lsoOQ3ly.js.map} +1 -1
  152. package/dist/components/{p-lN9vCyxi.js → p-v_0FeR3T.js} +5 -5
  153. package/dist/components/{p-lN9vCyxi.js.map → p-v_0FeR3T.js.map} +1 -1
  154. package/dist/components/payment-method-selector.js +1 -1
  155. package/dist/components/qr-code.js +1 -1
  156. package/dist/components/rebill-address-form.js +1 -1
  157. package/dist/components/rebill-address-search.js +1 -1
  158. package/dist/components/rebill-address.js +1 -1
  159. package/dist/components/rebill-alert.js +1 -1
  160. package/dist/components/rebill-bank-selector.js +1 -1
  161. package/dist/components/rebill-card-carousel.js +1 -1
  162. package/dist/components/rebill-card.js +1 -1
  163. package/dist/components/rebill-change-card.js +25 -25
  164. package/dist/components/rebill-checkout-form.js +1 -1
  165. package/dist/components/rebill-checkout-single-column.js +1 -1
  166. package/dist/components/rebill-checkout.js +37 -37
  167. package/dist/components/rebill-container.js +1 -1
  168. package/dist/components/rebill-divider.js +1 -1
  169. package/dist/components/rebill-flex-container.js +1 -1
  170. package/dist/components/rebill-footer.js +1 -1
  171. package/dist/components/rebill-form.js +1 -1
  172. package/dist/components/rebill-grid-container.js +1 -1
  173. package/dist/components/rebill-input-checkbox.js +1 -1
  174. package/dist/components/rebill-input-combo.js +1 -1
  175. package/dist/components/rebill-input-email.js +1 -1
  176. package/dist/components/rebill-input-phone.js +1 -1
  177. package/dist/components/rebill-input-select.js +1 -1
  178. package/dist/components/rebill-input-text.js +1 -1
  179. package/dist/components/rebill-installments.js +1 -1
  180. package/dist/components/rebill-mode-sandbox-mobile.js +1 -1
  181. package/dist/components/rebill-processing-payment.js +1 -1
  182. package/dist/components/rebill-renewal.js +28 -28
  183. package/dist/components/rebill-save-card.js +289 -108
  184. package/dist/components/rebill-save-card.js.map +1 -1
  185. package/dist/components/rebill-summary.js +1 -1
  186. package/dist/components/rebill-timeline-debit-day.js +1 -1
  187. package/dist/components/rebill-timeline-free-trial.js +1 -1
  188. package/dist/components/rebill-vertical-divider.js +1 -1
  189. package/dist/components/renewal-success-page.js +1 -1
  190. package/dist/components/renewal-summary.js +1 -1
  191. package/dist/components/root-component.js +5 -5
  192. package/dist/components/save-card-success.js +1 -1
  193. package/dist/components/success-page.js +1 -1
  194. package/dist/components/user-information-phone.js +1 -1
  195. package/dist/components/user-information.js +1 -1
  196. package/dist/esm/card-fields-wrapper_16.entry.js +102 -29
  197. package/dist/esm/card-skeleton_2.entry.js +1 -1
  198. package/dist/esm/collapsible-card_3.entry.js +2 -2
  199. package/dist/esm/index-D8cwEAmw.js.map +1 -1
  200. package/dist/esm/input-otp.entry.js +2 -2
  201. package/dist/esm/loader.js +1 -1
  202. package/dist/esm/rebill-alert.entry.js +2 -2
  203. package/dist/esm/rebill-card-carousel.entry.js +1 -1
  204. package/dist/esm/rebill-card.rebill-input-email.rebill-mode-sandbox.rebill-mode-sandbox-mobile.user-information.entry.js.map +1 -0
  205. package/dist/esm/{rebill-card_3.entry.js → rebill-card_5.entry.js} +127 -8
  206. package/dist/esm/rebill-container_2.entry.js +2 -2
  207. package/dist/esm/rebill-flex-container.entry.js +1 -1
  208. package/dist/esm/rebill-grid-container.entry.js +1 -1
  209. package/dist/esm/rebill-input-select.entry.js +2 -2
  210. package/dist/esm/rebill-input-text.entry.js +2 -2
  211. package/dist/esm/rebill-save-card.entry.js +216 -49
  212. package/dist/esm/rebill-save-card.entry.js.map +1 -1
  213. package/dist/esm/rebill-vertical-divider.entry.js +1 -1
  214. package/dist/esm/rebill-web-components-sdk.js +1 -1
  215. package/dist/esm/save-card-success.entry.js +1 -1
  216. package/dist/esm/save-card.store-BM_SO0jb.js +111 -0
  217. package/dist/esm/save-card.store-BM_SO0jb.js.map +1 -0
  218. package/dist/rebill-web-components-sdk/p-0f61d4ee.entry.js +2 -0
  219. package/dist/rebill-web-components-sdk/p-0f61d4ee.entry.js.map +1 -0
  220. package/dist/rebill-web-components-sdk/{p-ec1f70cb.entry.js → p-26ebd8f3.entry.js} +2 -2
  221. package/dist/rebill-web-components-sdk/{p-cc1bae75.entry.js → p-2d14392a.entry.js} +2 -2
  222. package/dist/rebill-web-components-sdk/{p-19e00efb.entry.js → p-3a9f4f48.entry.js} +2 -2
  223. package/dist/rebill-web-components-sdk/p-4091d28e.entry.js +2 -0
  224. package/dist/rebill-web-components-sdk/{p-0729aaef.entry.js → p-43e34e5e.entry.js} +2 -2
  225. package/dist/rebill-web-components-sdk/{p-f3e245b1.entry.js → p-66df6d6e.entry.js} +2 -2
  226. package/dist/rebill-web-components-sdk/p-78afb857.entry.js +2 -0
  227. package/dist/rebill-web-components-sdk/p-78afb857.entry.js.map +1 -0
  228. package/dist/rebill-web-components-sdk/p-83aceff4.entry.js +2 -0
  229. package/dist/rebill-web-components-sdk/p-91c54933.entry.js +2 -0
  230. package/dist/rebill-web-components-sdk/{p-e5ef5347.entry.js → p-9a552223.entry.js} +2 -2
  231. package/dist/rebill-web-components-sdk/p-BbRjSt43.js +2 -0
  232. package/dist/rebill-web-components-sdk/p-BbRjSt43.js.map +1 -0
  233. package/dist/rebill-web-components-sdk/p-D8cwEAmw.js.map +1 -1
  234. package/dist/rebill-web-components-sdk/{p-723f9a4f.entry.js → p-ab09fb85.entry.js} +2 -2
  235. package/dist/rebill-web-components-sdk/{p-3fef5bce.entry.js → p-d568e485.entry.js} +2 -2
  236. package/dist/rebill-web-components-sdk/p-db086835.entry.js +2 -0
  237. package/dist/rebill-web-components-sdk/{p-a491b682.entry.js.map → p-db086835.entry.js.map} +1 -1
  238. package/dist/rebill-web-components-sdk/p-fc94bfc9.entry.js +2 -0
  239. package/dist/rebill-web-components-sdk/p-fc94bfc9.entry.js.map +1 -0
  240. package/dist/rebill-web-components-sdk/rebill-card.rebill-input-email.rebill-mode-sandbox.rebill-mode-sandbox-mobile.user-information.entry.esm.js.map +1 -0
  241. package/dist/rebill-web-components-sdk/rebill-save-card.entry.esm.js.map +1 -1
  242. package/dist/rebill-web-components-sdk/rebill-web-components-sdk.esm.js +1 -1
  243. package/dist/types/api/entities/sessions/save-card-types.d.ts +1 -0
  244. package/dist/types/components/checkout/address/address-form/address-form.d.ts +7 -0
  245. package/dist/types/components/checkout/address/address.d.ts +10 -0
  246. package/dist/types/components/save-card/rebill-save-card.d.ts +52 -2
  247. package/dist/types/components.d.ts +94 -4
  248. package/dist/types/store/save-card.store.d.ts +29 -0
  249. package/package.json +1 -1
  250. package/dist/cjs/rebill-card.rebill-input-email.user-information.entry.cjs.js.map +0 -1
  251. package/dist/cjs/rebill-mode-sandbox.rebill-mode-sandbox-mobile.entry.cjs.js.map +0 -1
  252. package/dist/cjs/rebill-mode-sandbox_2.cjs.entry.js +0 -128
  253. package/dist/cjs/save-card.store-BfkywQ8a.js +0 -47
  254. package/dist/cjs/save-card.store-BfkywQ8a.js.map +0 -1
  255. package/dist/components/p-87ZC8uIa.js.map +0 -1
  256. package/dist/components/p-CEYFBN7i.js.map +0 -1
  257. package/dist/components/p-DamML5Nw.js.map +0 -1
  258. package/dist/components/p-Dx3yZEnZ.js +0 -44
  259. package/dist/components/p-Dx3yZEnZ.js.map +0 -1
  260. package/dist/esm/rebill-card.rebill-input-email.user-information.entry.js.map +0 -1
  261. package/dist/esm/rebill-mode-sandbox.rebill-mode-sandbox-mobile.entry.js.map +0 -1
  262. package/dist/esm/rebill-mode-sandbox_2.entry.js +0 -125
  263. package/dist/esm/save-card.store-C1USvXoT.js +0 -44
  264. package/dist/esm/save-card.store-C1USvXoT.js.map +0 -1
  265. package/dist/rebill-web-components-sdk/p-33e1e225.entry.js +0 -2
  266. package/dist/rebill-web-components-sdk/p-33e1e225.entry.js.map +0 -1
  267. package/dist/rebill-web-components-sdk/p-8b2df3d4.entry.js +0 -2
  268. package/dist/rebill-web-components-sdk/p-8b2df3d4.entry.js.map +0 -1
  269. package/dist/rebill-web-components-sdk/p-IYNhYifJ.js +0 -2
  270. package/dist/rebill-web-components-sdk/p-IYNhYifJ.js.map +0 -1
  271. package/dist/rebill-web-components-sdk/p-a25de6a7.entry.js +0 -2
  272. package/dist/rebill-web-components-sdk/p-a491b682.entry.js +0 -2
  273. package/dist/rebill-web-components-sdk/p-bd2976fb.entry.js +0 -2
  274. package/dist/rebill-web-components-sdk/p-bd2976fb.entry.js.map +0 -1
  275. package/dist/rebill-web-components-sdk/p-e338cbb0.entry.js +0 -2
  276. package/dist/rebill-web-components-sdk/p-eb451b53.entry.js +0 -2
  277. package/dist/rebill-web-components-sdk/p-ed14911b.entry.js +0 -2
  278. package/dist/rebill-web-components-sdk/p-ed14911b.entry.js.map +0 -1
  279. package/dist/rebill-web-components-sdk/rebill-card.rebill-input-email.user-information.entry.esm.js.map +0 -1
  280. package/dist/rebill-web-components-sdk/rebill-mode-sandbox.rebill-mode-sandbox-mobile.entry.esm.js.map +0 -1
  281. /package/dist/rebill-web-components-sdk/{p-ec1f70cb.entry.js.map → p-26ebd8f3.entry.js.map} +0 -0
  282. /package/dist/rebill-web-components-sdk/{p-cc1bae75.entry.js.map → p-2d14392a.entry.js.map} +0 -0
  283. /package/dist/rebill-web-components-sdk/{p-19e00efb.entry.js.map → p-3a9f4f48.entry.js.map} +0 -0
  284. /package/dist/rebill-web-components-sdk/{p-e338cbb0.entry.js.map → p-4091d28e.entry.js.map} +0 -0
  285. /package/dist/rebill-web-components-sdk/{p-0729aaef.entry.js.map → p-43e34e5e.entry.js.map} +0 -0
  286. /package/dist/rebill-web-components-sdk/{p-f3e245b1.entry.js.map → p-66df6d6e.entry.js.map} +0 -0
  287. /package/dist/rebill-web-components-sdk/{p-a25de6a7.entry.js.map → p-83aceff4.entry.js.map} +0 -0
  288. /package/dist/rebill-web-components-sdk/{p-eb451b53.entry.js.map → p-91c54933.entry.js.map} +0 -0
  289. /package/dist/rebill-web-components-sdk/{p-e5ef5347.entry.js.map → p-9a552223.entry.js.map} +0 -0
  290. /package/dist/rebill-web-components-sdk/{p-723f9a4f.entry.js.map → p-ab09fb85.entry.js.map} +0 -0
  291. /package/dist/rebill-web-components-sdk/{p-3fef5bce.entry.js.map → p-d568e485.entry.js.map} +0 -0
@@ -4,7 +4,7 @@ var index = require('./index-C-VTnc0I.js');
4
4
  var renewal_store = require('./renewal.store-Ap4GKMXr.js');
5
5
  var i18n_service = require('./i18n.service-BU6GskRx.js');
6
6
  var index$1 = require('./index-wXf6Fdhl.js');
7
- var saveCard_store = require('./save-card.store-BfkywQ8a.js');
7
+ var saveCard_store = require('./save-card.store-C0-ettWj.js');
8
8
  var config = require('./config-Do8H115c.js');
9
9
  var assets = require('./assets-DxsAikMY.js');
10
10
  var getPaymentMethodDisplayName = require('./get-payment-method-display-name-DiTxuFKH.js');
@@ -307,6 +307,7 @@ const Address = class {
307
307
  countryOptions = [];
308
308
  errors = null;
309
309
  unsubscribeAddressStore;
310
+ unsubscribeSaveCardStore;
310
311
  translateError(errorKey) {
311
312
  if (!errorKey)
312
313
  return '';
@@ -319,9 +320,12 @@ const Address = class {
319
320
  async componentDidLoad() {
320
321
  this.syncAddressLineFromStore();
321
322
  // Si ya hay dirección en store (prefilled o vuelve al checkout), mostrar formulario completo
322
- const billing = i18n_service.state.data?.userInformation?.address?.billingAddress;
323
- if (billing?.address || billing?.city) {
323
+ const billing = this.getBillingAddress();
324
+ if (billing?.address || billing?.city || billing?.state || billing?.country || billing?.zip) {
324
325
  this.addressCommitted = true;
326
+ if (billing.country) {
327
+ await this.loadStatesForCountry(billing.country);
328
+ }
325
329
  }
326
330
  this.unsubscribeAddressStore = i18n_service.onChange('data', () => {
327
331
  const billingAddress = i18n_service.state.data.userInformation.address?.billingAddress;
@@ -338,15 +342,47 @@ const Address = class {
338
342
  this.emitInputEventsForAddress(addressData);
339
343
  }
340
344
  });
345
+ // Subscribe a saveCardState (para save-card)
346
+ this.unsubscribeSaveCardStore = saveCard_store.SaveCardStore.onChange('userInformation', () => {
347
+ const billingAddress = saveCard_store.saveCardState.userInformation.address?.billingAddress;
348
+ if (billingAddress) {
349
+ this.addressLine = billingAddress.address ?? '';
350
+ const addressData = {
351
+ country: billingAddress.country || '',
352
+ state: billingAddress.state || '',
353
+ address: billingAddress.address || '',
354
+ city: billingAddress.city || '',
355
+ zip: billingAddress.zip || '',
356
+ addInformation: billingAddress.addInformation || '',
357
+ };
358
+ this.emitInputEventsForAddress(addressData);
359
+ }
360
+ });
361
+ }
362
+ /**
363
+ * Obtiene la dirección de facturación desde el store correspondiente
364
+ * Prioriza sessionState (checkout/renewal), sino usa saveCardState (save-card)
365
+ */
366
+ getBillingAddress() {
367
+ if (i18n_service.state.isInitialized) {
368
+ return i18n_service.state.data?.userInformation?.address?.billingAddress;
369
+ }
370
+ if (saveCard_store.saveCardState.isInitialized) {
371
+ return saveCard_store.saveCardState.userInformation?.address?.billingAddress;
372
+ }
373
+ return null;
341
374
  }
342
375
  syncAddressLineFromStore() {
343
- const billingAddress = i18n_service.state.data?.userInformation?.address?.billingAddress;
376
+ const billingAddress = this.getBillingAddress();
344
377
  this.addressLine = billingAddress?.address ?? '';
345
378
  }
346
379
  disconnectedCallback() {
347
380
  if (this.unsubscribeAddressStore) {
348
381
  this.unsubscribeAddressStore();
349
382
  }
383
+ if (this.unsubscribeSaveCardStore) {
384
+ this.unsubscribeSaveCardStore();
385
+ }
350
386
  }
351
387
  async handleAddressSelected(address) {
352
388
  this.isLoadingAddress = true;
@@ -399,16 +435,16 @@ const Address = class {
399
435
  address.state = partialMatch.value;
400
436
  }
401
437
  else {
402
- address.state = undefined;
438
+ address.state = '';
403
439
  }
404
440
  }
405
441
  }
406
- i18n_service.SessionStore.setBillingAddress(address);
442
+ this.setBillingAddress(address);
407
443
  this.addressUpdated.emit({
408
444
  country: address.country || '',
409
445
  address: address.address || '',
410
446
  city: address.city || '',
411
- state: address.state || undefined,
447
+ state: address.state || '',
412
448
  zip: address.zip || '',
413
449
  addInformation: address.addInformation || '',
414
450
  });
@@ -421,6 +457,27 @@ const Address = class {
421
457
  }, 500);
422
458
  });
423
459
  }
460
+ /**
461
+ * Guarda la dirección en el store correspondiente
462
+ */
463
+ setBillingAddress(address) {
464
+ if (i18n_service.state.isInitialized) {
465
+ // Flujo checkout/renewal
466
+ i18n_service.SessionStore.setBillingAddress(address);
467
+ }
468
+ else if (saveCard_store.saveCardState.isInitialized) {
469
+ // Flujo save-card
470
+ const currentAddress = saveCard_store.saveCardState.userInformation.address?.billingAddress || {};
471
+ saveCard_store.SaveCardStore.setUserInformation({
472
+ address: {
473
+ billingAddress: {
474
+ ...currentAddress,
475
+ ...address,
476
+ },
477
+ },
478
+ });
479
+ }
480
+ }
424
481
  emitInputEventsForAddress(address) {
425
482
  // Emit input events for each address field that has a value
426
483
  // This mimics user input to properly clear validation errors
@@ -452,16 +509,17 @@ const Address = class {
452
509
  handleFreeTextAddress = (value) => {
453
510
  // No activar modo manual en blur - solo guardar el valor
454
511
  // El modo manual se activa con Enter (commitRequested) o click en "Ingresar manualmente"
455
- i18n_service.SessionStore.setBillingAddress({ address: value });
512
+ this.setBillingAddress({ address: value });
456
513
  this.addressLine = value;
457
514
  this.emitInputEvent('billing-address', value);
515
+ const billing = this.getBillingAddress();
458
516
  this.addressUpdated.emit({
459
- country: i18n_service.state.data?.userInformation?.address?.billingAddress?.country ?? '',
517
+ country: billing?.country ?? '',
460
518
  address: value,
461
- city: i18n_service.state.data?.userInformation?.address?.billingAddress?.city ?? '',
462
- state: i18n_service.state.data?.userInformation?.address?.billingAddress?.state ?? '',
463
- zip: i18n_service.state.data?.userInformation?.address?.billingAddress?.zip ?? '',
464
- addInformation: i18n_service.state.data?.userInformation?.address?.billingAddress?.addInformation ?? '',
519
+ city: billing?.city ?? '',
520
+ state: billing?.state ?? '',
521
+ zip: billing?.zip ?? '',
522
+ addInformation: billing?.addInformation ?? '',
465
523
  });
466
524
  };
467
525
  async loadStatesForCountry(countryCode) {
@@ -483,14 +541,14 @@ const Address = class {
483
541
  async handleInput(field, value) {
484
542
  if (value === undefined)
485
543
  return;
486
- i18n_service.SessionStore.setBillingAddress({ [field]: value });
544
+ this.setBillingAddress({ [field]: value });
487
545
  // Emit input event to form to sync with form data
488
546
  this.emitInputEvent(`billing-${field}`, value);
489
547
  // If country changes, load states for the new country
490
548
  if (field === 'country') {
491
549
  await this.loadStatesForCountry(value);
492
550
  // Clear the current state selection since the country changed
493
- i18n_service.SessionStore.setBillingAddress({ state: '' });
551
+ this.setBillingAddress({ state: '' });
494
552
  }
495
553
  }
496
554
  renderAddressHeader() {
@@ -500,10 +558,19 @@ const Address = class {
500
558
  // Solo mostrar en el search el error del campo dirección; ciudad/estado/zip tienen su error en su propio campo
501
559
  const addressSearchError = this.translateError(this.errors?.['billing-address']) || '';
502
560
  const errorsToShow = this.isLoadingAddress ? null : this.errors;
503
- return (index.h("div", null, this.renderAddressHeader(), index.h("rebill-address-search", { value: this.addressLine, onAddressSelected: e => this.handleAddressSelected(e.detail), onFreeTextAddress: e => this.handleFreeTextAddress(e.detail), onCommitRequested: () => (this.addressCommitted = true), onManualEntryRequested: () => this.handleManualEntry(), error: addressSearchError, disabled: this.disabled, showManualEntryLink: !this.addressCommitted }), this.addressCommitted && (index.h("rebill-address-form", { countryOptions: this.countryOptions, stateOptions: this.currentBillingStateOptions, errors: errorsToShow, disabled: this.disabled, onFieldChanged: e => this.handleInput(e.detail.field, e.detail.value) }))));
561
+ return (index.h("div", null, this.renderAddressHeader(), index.h("rebill-address-search", { value: this.addressLine, onAddressSelected: e => this.handleAddressSelected(e.detail), onFreeTextAddress: e => this.handleFreeTextAddress(e.detail), onCommitRequested: () => (this.addressCommitted = true), onManualEntryRequested: () => this.handleManualEntry(), error: addressSearchError, disabled: this.disabled, showManualEntryLink: !this.addressCommitted }), this.addressCommitted && (index.h("rebill-address-form", { countryOptions: this.countryOptions, stateOptions: this.currentBillingStateOptions, errors: errorsToShow, disabled: this.disabled, onFieldChanged: e => this.handleInput(e.detail.field, e.detail.value), initialValues: (() => {
562
+ const billing = this.getBillingAddress();
563
+ return {
564
+ country: billing?.country,
565
+ city: billing?.city,
566
+ state: billing?.state,
567
+ zip: billing?.zip,
568
+ addInformation: billing?.addInformation,
569
+ };
570
+ })() }))));
504
571
  }
505
572
  render() {
506
- return (index.h("div", { key: '3cfc235537bf964ad7630456f2178b7ae149ec44' }, this.renderAddressForm()));
573
+ return (index.h("div", { key: 'f37bec4053e01a3893cb9574cdc3f48024da9193' }, this.renderAddressForm()));
507
574
  }
508
575
  };
509
576
  Address.style = addressCss;
@@ -840,7 +907,7 @@ const CardIframe = class {
840
907
  this.postTokenToIframe();
841
908
  this.postItemTypeToIframe();
842
909
  }
843
- else if (saveCard_store.saveCardState.organizationId) {
910
+ else if (saveCard_store.saveCardState.isInitialized) {
844
911
  // Save card flow
845
912
  this.postOrganizationIdToIframe(saveCard_store.saveCardState.organizationId);
846
913
  if (i18n_service.state?.currentLocale) {
@@ -939,7 +1006,7 @@ const CardIframe = class {
939
1006
  return;
940
1007
  }
941
1008
  // If in save card flow, always send null (no checkbox needed)
942
- if (saveCard_store.saveCardState.organizationId) {
1009
+ if (saveCard_store.saveCardState.isInitialized) {
943
1010
  this.iframeRef.contentWindow.postMessage({
944
1011
  type: 'SET_ITEM_TYPE',
945
1012
  payload: { itemType: null },
@@ -1111,7 +1178,7 @@ const CardIframe = class {
1111
1178
  this.postTokenToIframe();
1112
1179
  this.postItemTypeToIframe();
1113
1180
  }
1114
- else if (saveCard_store.saveCardState.organizationId) {
1181
+ else if (saveCard_store.saveCardState.isInitialized) {
1115
1182
  this.postItemTypeToIframe();
1116
1183
  }
1117
1184
  // Send custom CSS immediately when iframe loads
@@ -1134,6 +1201,11 @@ const CardIframe = class {
1134
1201
  renewal_store.RenewalStore.setCardTokenId(null);
1135
1202
  }
1136
1203
  }
1204
+ else if (saveCard_store.saveCardState.isInitialized) {
1205
+ if (!event.data.payload?.complete) {
1206
+ saveCard_store.SaveCardStore.setCardTokenId(null);
1207
+ }
1208
+ }
1137
1209
  else if (i18n_service.state.isInitialized) {
1138
1210
  if (!event.data.payload?.complete) {
1139
1211
  i18n_service.SessionStore.setCardId(null);
@@ -1158,7 +1230,7 @@ const CardIframe = class {
1158
1230
  renewal_store.RenewalStore.setCardInformation(event.data.payload.cardInformation);
1159
1231
  }
1160
1232
  }
1161
- else if (saveCard_store.saveCardState.organizationId) {
1233
+ else if (saveCard_store.saveCardState.isInitialized) {
1162
1234
  // Save card flow
1163
1235
  saveCard_store.SaveCardStore.setCardTokenId(event.data?.payload?.token);
1164
1236
  }
@@ -1227,23 +1299,23 @@ const CardIframe = class {
1227
1299
  }
1228
1300
  };
1229
1301
  render() {
1230
- return (index.h("div", { key: '9a00f86de4c7e39e98219beaa54c461cd8effaec', style: {
1302
+ return (index.h("div", { key: 'a5d6d643d98c163b598f51113cd0e162d90d8394', style: {
1231
1303
  width: '100%',
1232
1304
  height: this.iframeHeight,
1233
1305
  position: 'relative',
1234
1306
  overflow: 'visible',
1235
- } }, !this.iframeLoaded && index.h("card-skeleton", { key: '5d726c3b8d842cfd3f91259d06c1e2eccd0b7807' }), index.h("iframe", { key: '8152c23ca7de08ed2cc975de58d2a4d0e91e8e2c', ref: el => (this.iframeRef = el), src: this.getIframeURL(), style: {
1307
+ } }, !this.iframeLoaded && index.h("card-skeleton", { key: 'e7945844d93f82bfff22d6195e2f0fdd6ec72bb3' }), index.h("iframe", { key: '726d512ed422dc4f6d10e6e52c30b0dca54d0534', ref: el => (this.iframeRef = el), src: this.getIframeURL(), style: {
1236
1308
  width: '100%',
1237
1309
  height: '100%',
1238
1310
  border: 'none',
1239
1311
  overflow: 'hidden',
1240
- }, title: "Card Payment Component", allow: "payment", onLoad: this.handleIframeLoad }), this.showCvcTooltip && this.tooltipPosition && (index.h("div", { key: 'fc8cd729323a77e06f3df3ff3df8704bf861e175', ref: el => (this.tooltipRef = el), class: "cvc-tooltip", style: {
1312
+ }, title: "Card Payment Component", allow: "payment", onLoad: this.handleIframeLoad }), this.showCvcTooltip && this.tooltipPosition && (index.h("div", { key: '89c119329ab442a8f32aa8173fc958ca699d1076', ref: el => (this.tooltipRef = el), class: "cvc-tooltip", style: {
1241
1313
  position: 'absolute',
1242
1314
  top: `${this.tooltipPosition.top}px`,
1243
1315
  left: '100%',
1244
1316
  marginLeft: '8px',
1245
1317
  zIndex: '1000',
1246
- }, onMouseEnter: this.handleTooltipMouseEnter, onMouseLeave: this.handleTooltipMouseLeave }, index.h("p", { key: 'b18fb593ebf86f3d8031fc93a5a7c61fa2d5e9e7', class: "cvc-tooltip-title" }, i18n_service.I18nService.translate('cvcTooltip.title')), index.h("div", { key: 'ff7c1d1e5f33242893a5f229bfeb64990626d2ed', class: "cvc-tooltip-row" }, index.h("img", { key: '060c85ada6290dbd78b071c737b7c4987c93d6b8', src: assets.getAssetURL('icons/cvc-visa.svg'), class: "cvc-tooltip-card-img", alt: "" }), index.h("div", { key: '2bd42e08541ec80ba29d9885b99348d37cf0e1b5', class: "cvc-tooltip-text" }, index.h("strong", { key: '73c46ebaca23a23bf96ae5f455fd186b91734acd' }, i18n_service.I18nService.translate('cvcTooltip.threeDigits')), index.h("p", { key: '922377a69203603d3eb470fcb6aa5dedcbd2cd76' }, i18n_service.I18nService.translate('cvcTooltip.threeDigitsDesc')))), index.h("div", { key: '49b5eb8073a20240b31641ca7df38eb9715bbd68', class: "cvc-tooltip-row" }, index.h("img", { key: '86ede2f56a66cf4e8ca520c2b3938dfb087b78f9', src: assets.getAssetURL('icons/cvc-amex.svg'), class: "cvc-tooltip-card-img", alt: "" }), index.h("div", { key: '885e1fe8fa2749574c1c399d560e3d5e5f8b4cb1', class: "cvc-tooltip-text" }, index.h("strong", { key: '4f0d1dc67a246a2554360b575b6d2aaa4915a2cc' }, i18n_service.I18nService.translate('cvcTooltip.fourDigits')), index.h("p", { key: '72342ade5c9c0a7a9f22150d505b62d2114afb1a' }, i18n_service.I18nService.translate('cvcTooltip.fourDigitsDesc'))))))));
1318
+ }, onMouseEnter: this.handleTooltipMouseEnter, onMouseLeave: this.handleTooltipMouseLeave }, index.h("p", { key: '1982340978040639d529510bf6b19321c760ceb8', class: "cvc-tooltip-title" }, i18n_service.I18nService.translate('cvcTooltip.title')), index.h("div", { key: '28ce4911552a6ea29ebc020ec6cd013e8e871a2c', class: "cvc-tooltip-row" }, index.h("img", { key: 'd525100f4a59428b2a96b84606f2409431c6a10a', src: assets.getAssetURL('icons/cvc-visa.svg'), class: "cvc-tooltip-card-img", alt: "" }), index.h("div", { key: '8c2af4de035f0536c9359c68fc2f5f7f40f91214', class: "cvc-tooltip-text" }, index.h("strong", { key: 'f81efd7e3ff5c91061539ddb7337dbdbff347f42' }, i18n_service.I18nService.translate('cvcTooltip.threeDigits')), index.h("p", { key: '45ab385214375fa12b03d776ed6fab508aabf1b9' }, i18n_service.I18nService.translate('cvcTooltip.threeDigitsDesc')))), index.h("div", { key: '8cf481d1fd7c5efb54d48dc98d2532230548b562', class: "cvc-tooltip-row" }, index.h("img", { key: 'f1449b7c65e09ddf59d22bc8b1634b6bd6e0beb2', src: assets.getAssetURL('icons/cvc-amex.svg'), class: "cvc-tooltip-card-img", alt: "" }), index.h("div", { key: 'cbe485d0f32f6dcc181174a74249585b6a7ac960', class: "cvc-tooltip-text" }, index.h("strong", { key: '04b73f24a5a3024f9726782689680513b226e2ed' }, i18n_service.I18nService.translate('cvcTooltip.fourDigits')), index.h("p", { key: '4a0018cd9428933330f3e9bc01bf9cdcf0980f22' }, i18n_service.I18nService.translate('cvcTooltip.fourDigitsDesc'))))))));
1247
1319
  }
1248
1320
  };
1249
1321
  CardIframe.style = cardIframeCss;
@@ -1260,6 +1332,7 @@ const AddressForm = class {
1260
1332
  stateOptions = [];
1261
1333
  errors = null;
1262
1334
  disabled = false;
1335
+ initialValues;
1263
1336
  showAdditionalInformation = false;
1264
1337
  fieldChanged;
1265
1338
  translateError(errorKey) {
@@ -1278,7 +1351,7 @@ const AddressForm = class {
1278
1351
  };
1279
1352
  render() {
1280
1353
  const translationKey = this.addressType === 'shipping' ? 'shippingAddress' : 'billingAddress';
1281
- return (index.h("div", { key: '0d797ce69e71c0b903e4753cf6c7186e12e9cc70', class: "address-form-container" }, index.h("div", { key: 'c5f5eba79d185d12d1c2bb66587925aa204c9369', class: "address-container" }, index.h("rebill-input-select", { key: '2135c4e6e10093071b68d9fc8864c2c9d40be633', error: this.translateError(this.errors?.[`${this.addressType}-country`]), id: `${this.addressType}-country`, options: this.countryOptions, placeholder: i18n_service.I18nService.translate(`${translationKey}.countryPlaceholder`), onInput: e => this.handleInput('country', e.detail.value), searchable: true, searchPlaceholder: i18n_service.I18nService.translate(`search.searchCountries`), disabled: this.disabled }), index.h("rebill-input-text", { key: '2a83f12486930e3a92e9153a26fe4272a68f3a8f', error: this.translateError(this.errors?.[`${this.addressType}-city`]), id: `${this.addressType}-city`, placeholder: i18n_service.I18nService.translate(`${translationKey}.cityPlaceholder`), variant: "floating", label: i18n_service.I18nService.translate(`${translationKey}.cityPlaceholder`), onInput: e => this.handleInput('city', e.detail.value), disabled: this.disabled }), index.h("div", { key: 'f12a9ff37ac29b831045577b455bd5f8fce6bf6f', class: "state-zip-row" }, index.h("rebill-input-select", { key: '975496900fb7e059849a487a2d0a25845febb2cc', error: this.translateError(this.errors?.[`${this.addressType}-state`]), id: `${this.addressType}-state`, options: this.stateOptions, placeholder: i18n_service.I18nService.translate(`${translationKey}.statePlaceholder`), disabled: this.disabled || this.stateOptions.length === 0, onInput: e => this.handleInput('state', e.detail.value), searchable: true, searchPlaceholder: i18n_service.I18nService.translate(`${translationKey}.searchStates`) }), index.h("rebill-input-text", { key: '6ad9f85136c839312f1613083537a123d398a096', error: this.translateError(this.errors?.[`${this.addressType}-zip`]), id: `${this.addressType}-zip`, placeholder: i18n_service.I18nService.translate(`${translationKey}.zipPlaceholder`), variant: "floating", label: i18n_service.I18nService.translate(`${translationKey}.zipPlaceholder`), onInput: e => this.handleInput('zip', e.detail.value), disabled: this.disabled })), this.showAdditionalInformation && (index.h("rebill-input-text", { key: 'c4dbc1f29ebe2dc85efdcf85d3b5fc115fcb82bb', error: this.translateError(this.errors?.[`${this.addressType}-addInformation`]), id: `${this.addressType}-addInformation`, placeholder: i18n_service.I18nService.translate(`${translationKey}.addInformationPlaceholder`), variant: "floating", label: i18n_service.I18nService.translate(`${translationKey}.addInformationPlaceholder`), onInput: e => this.handleInput('addInformation', e.detail.value), disabled: this.disabled }))), index.h("div", { key: '614efbfb24ed8ff8f9979404b7d9d555398e9dc4', class: "search-link-wrapper" }, !this.showAdditionalInformation && (index.h("button", { key: '603f8f66f48fc140549866cedf9c44756ceffe8e', class: "additional-information", type: "button", onClick: this.handleAdditionalInformation }, index.h("rebill-typography", { key: '231aab49d785dbc7752ade7f3557042d41b8385d', variant: "subtitle2", color: colorClassMapper.COLORS_ENUM.SECONDARY, class: "footer-link" }, i18n_service.I18nService.translate(`${translationKey}.additionalInformation`)))))));
1354
+ return (index.h("div", { key: '926d01f6003574bcba99b18f5cfbf6519c69fdbe', class: "address-form-container" }, index.h("div", { key: '445a48d0a4519b7a6bfb6fd419503ca212cab270', class: "address-container" }, index.h("rebill-input-select", { key: 'fbfd1c02a0d5971f4c3f06e45b32996b6eae54cf', error: this.translateError(this.errors?.[`${this.addressType}-country`]), id: `${this.addressType}-country`, options: this.countryOptions, placeholder: i18n_service.I18nService.translate(`${translationKey}.countryPlaceholder`), onInput: e => this.handleInput('country', e.detail.value), searchable: true, searchPlaceholder: i18n_service.I18nService.translate(`search.searchCountries`), disabled: this.disabled, value: this.initialValues?.country }), index.h("rebill-input-text", { key: 'b29bc51f6d79d66ec5d38ada733f2e934cbd9117', error: this.translateError(this.errors?.[`${this.addressType}-city`]), id: `${this.addressType}-city`, placeholder: i18n_service.I18nService.translate(`${translationKey}.cityPlaceholder`), variant: "floating", label: i18n_service.I18nService.translate(`${translationKey}.cityPlaceholder`), onInput: e => this.handleInput('city', e.detail.value), disabled: this.disabled, value: this.initialValues?.city }), index.h("div", { key: '50a31b282d0f87c0dc0804520a305a8f87c12189', class: "state-zip-row" }, index.h("rebill-input-select", { key: 'c18cb027cb216db0fcbfa07650eaa19f18b8587b', error: this.translateError(this.errors?.[`${this.addressType}-state`]), id: `${this.addressType}-state`, options: this.stateOptions, placeholder: i18n_service.I18nService.translate(`${translationKey}.statePlaceholder`), disabled: this.disabled || this.stateOptions.length === 0, onInput: e => this.handleInput('state', e.detail.value), searchable: true, searchPlaceholder: i18n_service.I18nService.translate(`${translationKey}.searchStates`), value: this.initialValues?.state }), index.h("rebill-input-text", { key: '041f692200f9d29fdc6f4ee2afc6aea678e9e9b7', error: this.translateError(this.errors?.[`${this.addressType}-zip`]), id: `${this.addressType}-zip`, placeholder: i18n_service.I18nService.translate(`${translationKey}.zipPlaceholder`), variant: "floating", label: i18n_service.I18nService.translate(`${translationKey}.zipPlaceholder`), onInput: e => this.handleInput('zip', e.detail.value), disabled: this.disabled, value: this.initialValues?.zip })), this.showAdditionalInformation && (index.h("rebill-input-text", { key: '6b62710688a1f7338b6f80f98b10ccc9fb09047a', error: this.translateError(this.errors?.[`${this.addressType}-addInformation`]), id: `${this.addressType}-addInformation`, placeholder: i18n_service.I18nService.translate(`${translationKey}.addInformationPlaceholder`), variant: "floating", label: i18n_service.I18nService.translate(`${translationKey}.addInformationPlaceholder`), onInput: e => this.handleInput('addInformation', e.detail.value), disabled: this.disabled, value: this.initialValues?.addInformation }))), index.h("div", { key: '08e025262f74f88e9c48ace679ee38c5fff14dc0', class: "search-link-wrapper" }, !this.showAdditionalInformation && (index.h("button", { key: '9711089d661fb4de8f2b0d2f70e21b2b38ad4717', class: "additional-information", type: "button", onClick: this.handleAdditionalInformation }, index.h("rebill-typography", { key: '49af22ecd14eac3d4db5b35c5d405b8696a1732b', variant: "subtitle2", color: colorClassMapper.COLORS_ENUM.SECONDARY, class: "footer-link" }, i18n_service.I18nService.translate(`${translationKey}.additionalInformation`)))))));
1282
1355
  }
1283
1356
  };
1284
1357
  AddressForm.style = addressFormCss;
@@ -2049,7 +2122,7 @@ const Form = class {
2049
2122
  await this.submitForm();
2050
2123
  };
2051
2124
  render() {
2052
- return (index.h("form", { key: 'a15f168b60bd76b089b95ade32786baf7f3fd20a', onSubmit: e => this.handleSubmit(e), noValidate: true }, this.renderForm ? (this.renderForm({
2125
+ return (index.h("form", { key: 'f043cfb9d0e8da2f11a0fd36d956008a30eb587c', onSubmit: e => this.handleSubmit(e), noValidate: true }, this.renderForm ? (this.renderForm({
2053
2126
  submit: () => this.submitForm(),
2054
2127
  formData: this.formData,
2055
2128
  errors: this.errors,
@@ -5408,10 +5481,10 @@ const InputPhone = class {
5408
5481
  const translatedError = this.translateError(this.error);
5409
5482
  const translatedValidationError = this.translateError(this.validationError);
5410
5483
  const displayError = translatedValidationError || translatedError;
5411
- return (index.h("div", { key: 'c6722c7fde107a6d4b0c85d6ae398b4638f4d3b8', class: "input-container" }, index.h("div", { key: '928ef31a64f18e0f1e230364fd1787cb09efb8e9', class: inputClasses }, index.h("div", { key: '72062d3ce0d02d8c44f19c577481ce4f265cc732', class: "input-combo-select country-selector", onClick: this.toggleDropdown }, index.h("span", { key: 'bb6359f023ffcabe84e2a73a772962c3a707530e', class: "flag" }, this.selectedCountry.flag), index.h("span", { key: 'b2e58d1334042645acd4ec8980e9d93dee35d47a', class: "dial-code" }, this.selectedCountry.dialCode), index.h("span", { key: 'd7c9dfde229844c011b3403d95c5073a02275b07', class: `dropdown-arrow ${this.isDropdownOpen ? 'open' : ''}` }, "\u25BC")), this.isDropdownOpen && (index.h("div", { key: 'ce202ca1137c5b1210e3ecc791b46e2eed58cce5', class: "country-dropdown" }, this.searchable && (index.h("div", { key: '53c6ec4126e6024fcfc4c4422f5170b73820eda1', class: "search-container", onClick: this.handleSearchClick }, index.h("div", { key: '2337c04acffd605aacd61f80d4c08c644563a083', class: "search-input-wrapper" }, index.h("rebill-icon", { key: '215b13d7e5335b155fe7d2d078f7b2803c4e6653', name: "search", size: "16px", class: "search-icon" }), index.h("input", { key: 'f6aff1ade2a63b0d07bb6164d836f2c648d79885', ref: el => (this.searchInputRef = el), type: "text", class: "search-input", placeholder: this.searchPlaceholder, value: this.searchTerm, onInput: this.handleSearchInput, onClick: this.handleSearchClick }), this.searchTerm && (index.h("button", { key: 'fd43375ebcf586b8ccc71396390cfa1af7551de3', type: "button", class: "clear-search", onClick: event => {
5484
+ return (index.h("div", { key: '1460230e841bf61c29e0ffedd6eea8a2174c3bde', class: "input-container" }, index.h("div", { key: '8252d784f43a41571269d2142d87d76ffc0afa8c', class: inputClasses }, index.h("div", { key: 'c9536df254df27f4f0d1fbca4711862c0e2052c2', class: "input-combo-select country-selector", onClick: this.toggleDropdown }, index.h("span", { key: '38b45349dde56950f8c06544f1cbce1da3fa972d', class: "flag" }, this.selectedCountry.flag), index.h("span", { key: '84fe84173d3bf32c4a52e375c9cd7cd7d4acd7c1', class: "dial-code" }, this.selectedCountry.dialCode), index.h("span", { key: '0120d56ba107e1f50a528647bd59462efcdc4edb', class: `dropdown-arrow ${this.isDropdownOpen ? 'open' : ''}` }, "\u25BC")), this.isDropdownOpen && (index.h("div", { key: 'f849e19dacefe235676cd338e6137e4844a89d2b', class: "country-dropdown" }, this.searchable && (index.h("div", { key: 'aeabd4c1294540c2c4a8b615232181faccb88485', class: "search-container", onClick: this.handleSearchClick }, index.h("div", { key: 'c4bd435105c67425072797138be885e1fc1c4d6a', class: "search-input-wrapper" }, index.h("rebill-icon", { key: '3a01b14ec4dad622a7cd238124a96f91c0adf3c3', name: "search", size: "16px", class: "search-icon" }), index.h("input", { key: '031cfb885e41d86f24faef6346b3d4e47a822391', ref: el => (this.searchInputRef = el), type: "text", class: "search-input", placeholder: this.searchPlaceholder, value: this.searchTerm, onInput: this.handleSearchInput, onClick: this.handleSearchClick }), this.searchTerm && (index.h("button", { key: '9c3c50b064ad6291e62bdb2c4d66f31a33e43b27', type: "button", class: "clear-search", onClick: event => {
5412
5485
  event.stopPropagation();
5413
5486
  this.clearSearch();
5414
- }, "aria-label": "Clear search" }, index.h("rebill-icon", { key: '67f4c59c438a19d681763b9091a8214a8fe635d5', name: "x", size: "16px" })))))), this.filteredCountries.length > 0 ? (this.filteredCountries.map(country => (index.h("div", { key: country.code, class: "country-option", onClick: e => this.selectCountry(country, e) }, index.h("span", { class: "flag" }, country.flag), index.h("span", { class: "country-name" }, country.name), index.h("span", { class: "dial-code" }, country.dialCode))))) : (index.h("div", { class: "no-results" }, "No se encontraron resultados")))), index.h("input", { key: '02f33987b54147ab3a6355e5bdc55751d3b7c6d7', id: this.phoneNumberId, type: "tel", class: "input-combo-element phone-number-input", placeholder: this.placeholder, value: this.value, onInput: this.onInput, onBlur: this.onPhoneBlurPhone, disabled: this.disabled, required: this.required })), displayError && index.h("span", { key: '0bc9f6ba62c8f9f0a190b2fd386c6f919e1cf5ed', class: "error-message" }, displayError)));
5487
+ }, "aria-label": "Clear search" }, index.h("rebill-icon", { key: '56e86127c617165718123a3610fc39896bde2b1c', name: "x", size: "16px" })))))), this.filteredCountries.length > 0 ? (this.filteredCountries.map(country => (index.h("div", { key: country.code, class: "country-option", onClick: e => this.selectCountry(country, e) }, index.h("span", { class: "flag" }, country.flag), index.h("span", { class: "country-name" }, country.name), index.h("span", { class: "dial-code" }, country.dialCode))))) : (index.h("div", { class: "no-results" }, "No se encontraron resultados")))), index.h("input", { key: '799a0c461f94f234aaaa40ef57ef367828c832ca', id: this.phoneNumberId, type: "tel", class: "input-combo-element phone-number-input", placeholder: this.placeholder, value: this.value, onInput: this.onInput, onBlur: this.onPhoneBlurPhone, disabled: this.disabled, required: this.required })), displayError && index.h("span", { key: '625661cb19d333d06da32b31d89caa31d0437495', class: "error-message" }, displayError)));
5415
5488
  }
5416
5489
  };
5417
5490
  InputPhone.style = inputPhoneCss;
@@ -189,7 +189,7 @@ const InputCombo = class {
189
189
  render() {
190
190
  const selectedLabel = this.getSelectedOptionLabel();
191
191
  const hasSelectValue = this.selectValue !== '';
192
- return (index.h("div", { key: 'bd5709fdfda250d0f0880a614add862588119456', class: "input-container" }, this.label && (index.h("label", { key: 'baf4e8a23722a2db2ab20ba87756ee76a757edb6', class: `input-label ${this.disabled ? 'disabled' : ''}` }, this.label)), index.h("div", { key: 'bbda0bbacff9ce0cdbef4df8ec659872efa33519', class: `input-combo-wrapper combo-wrapper ${this.disabled ? 'disabled' : ''} ${this.error ? 'error' : ''}` }, index.h("div", { key: 'eaa8731e8347e3f1be0f2f5965a9ded1ccbd0b31', class: "select-section", style: { width: this.selectWidth } }, index.h("div", { key: 'c73233ab0a065db726d25cd40bee2267c95b5f18', ref: el => (this.triggerRef = el), class: `input-combo-select select-combo-trigger ${!hasSelectValue ? 'placeholder' : ''}`, onClick: this.toggleDropdown, onKeyDown: this.handleKeyDown, onBlur: this.onSelectBlur, tabIndex: this.disabled ? -1 : 0, role: "combobox", "aria-expanded": this.isOpen.toString(), "aria-haspopup": "listbox" }, index.h("span", { key: '681c3a89650d5f05cec01725b66d901dea2738f6', class: "select-value" }, selectedLabel), index.h("div", { key: '300e04bb6c30d254527059862d0b02da7abaa5fd', class: "icon-wrapper" }, index.h("rebill-icon", { key: '056dcad999aa11e3d91b06c8ccf0261e05738530', name: "chevron-up-down", size: "20px", class: "select-icon" }))), this.isOpen && (index.h("div", { key: '76a47c2679ce04ae2e6b90aad6d4721e0033ab70', ref: el => (this.dropdownRef = el), class: "select-dropdown", role: "listbox" }, this.options.map((option, index$1) => (index.h("div", { class: `select-option ${this.selectValue === option.value ? 'selected' : ''} ${this.highlightedIndex === index$1 ? 'highlighted' : ''}`, onClick: () => this.selectOption(option), role: "option", "aria-selected": this.selectValue === option.value ? 'true' : 'false' }, option.label)))))), index.h("div", { key: '5ee03ab734bed8d3c77c6b0e237b19a0d08e366f', class: "combo-divider" }), index.h("div", { key: 'ed95a6331fdbac42da41ff26b463301ccb478831', class: "input-section" }, index.h("input", { key: '93d8fb221f3b760e27b949e7f302b0da95c4261e', type: "text", class: "input-combo-element combo-input", placeholder: this.inputPlaceholder, value: this.inputValue, onInput: this.onInputChange, onBlur: this.onInputBlur, disabled: this.disabled }))), this.error && index.h("span", { key: 'bb33316a4b800e95407675456ce183a8819c6d05', class: "error-message" }, this.error)));
192
+ return (index.h("div", { key: '21978babf963dd699cc63456153ae0dc0be5457b', class: "input-container" }, this.label && (index.h("label", { key: '2de58639ed1b0d6c1342c4a42bf44301569528f2', class: `input-label ${this.disabled ? 'disabled' : ''}` }, this.label)), index.h("div", { key: 'ab808ff138d15d36757bce1950430b084adceb9c', class: `input-combo-wrapper combo-wrapper ${this.disabled ? 'disabled' : ''} ${this.error ? 'error' : ''}` }, index.h("div", { key: 'b548c102ea267b42ad7e90559d97271fbb5e91b7', class: "select-section", style: { width: this.selectWidth } }, index.h("div", { key: 'fcc1828a74dde49cf6089637ae42d25ee7764374', ref: el => (this.triggerRef = el), class: `input-combo-select select-combo-trigger ${!hasSelectValue ? 'placeholder' : ''}`, onClick: this.toggleDropdown, onKeyDown: this.handleKeyDown, onBlur: this.onSelectBlur, tabIndex: this.disabled ? -1 : 0, role: "combobox", "aria-expanded": this.isOpen.toString(), "aria-haspopup": "listbox" }, index.h("span", { key: 'bddec0b73e4da607021f9ae38d8d5185c107fd9a', class: "select-value" }, selectedLabel), index.h("div", { key: 'ac660349497dece76542cbcaccd735b8e0133617', class: "icon-wrapper" }, index.h("rebill-icon", { key: '9be4f23a0fe6a83ee828f92cd5804fd72109fc2b', name: "chevron-up-down", size: "20px", class: "select-icon" }))), this.isOpen && (index.h("div", { key: '41fe387a47213e475784d0bb9e2639587550fad3', ref: el => (this.dropdownRef = el), class: "select-dropdown", role: "listbox" }, this.options.map((option, index$1) => (index.h("div", { class: `select-option ${this.selectValue === option.value ? 'selected' : ''} ${this.highlightedIndex === index$1 ? 'highlighted' : ''}`, onClick: () => this.selectOption(option), role: "option", "aria-selected": this.selectValue === option.value ? 'true' : 'false' }, option.label)))))), index.h("div", { key: '4f77501fb39e40956469a64071dfe76154cd09f5', class: "combo-divider" }), index.h("div", { key: '75aed3ba97af25bbc707a661ac61053db939c946', class: "input-section" }, index.h("input", { key: '0583bd5baf5b3e1036bf3a0a6682b6ba9f665f67', type: "text", class: "input-combo-element combo-input", placeholder: this.inputPlaceholder, value: this.inputValue, onInput: this.onInputChange, onBlur: this.onInputBlur, disabled: this.disabled }))), this.error && index.h("span", { key: 'ed31be8e12d877a7e4e34d164f78cc90a3500c79', class: "error-message" }, this.error)));
193
193
  }
194
194
  };
195
195
  InputCombo.style = inputComboCss;
@@ -27,7 +27,7 @@ const CollapsibleCard = class {
27
27
  this.toggled.emit(this.isOpen);
28
28
  };
29
29
  render() {
30
- return (index.h("div", { key: '669dbf37153dd9c054fdb6ea54aef525508556e0', class: `collapsible-card ${this.variant}` }, index.h("button", { key: '2948105c3bd885d043e6c3966ce211114ccaa94e', class: "collapsible-card-header", onClick: this.toggle, "aria-expanded": this.isOpen, type: "button" }, index.h("rebill-typography", { key: 'ea4aed0324fa745d8ae6c46c6d1e24af6d6f4da0', variant: this.variant === 'flat' ? 'subtitle2' : 'overline', color: colorClassMapper.COLORS_ENUM.TEXT_PRIMARY }, this.header), index.h("span", { key: '6272ef50372fb696dba2385612eeb1796b0a3689', class: { chevron: true, open: this.isOpen } }, index.h("rebill-icon", { key: 'a17123f387313e1fbd845693b7f27d7d6fd23916', name: "chevron-down", size: "20px", color: "currentColor" }))), index.h("div", { key: '24273d791635aa4dc8457474b6f1f413af221f57', class: { content: true, open: this.isOpen } }, index.h("slot", { key: 'af809b540b5e327c824189189fb3ca6c70b7a468' }))));
30
+ return (index.h("div", { key: '68b26eccac2cef4d777dcdb2eeaac36fe2331e15', class: `collapsible-card ${this.variant}` }, index.h("button", { key: 'f64b2ca3cac02f7eaf9b0634ec7dda58bd1ee1cd', class: "collapsible-card-header", onClick: this.toggle, "aria-expanded": this.isOpen, type: "button" }, index.h("rebill-typography", { key: 'd4f1f18cc22b60da0cb233fc79ea93b6ca8364bc', variant: this.variant === 'flat' ? 'subtitle2' : 'overline', color: colorClassMapper.COLORS_ENUM.TEXT_PRIMARY }, this.header), index.h("span", { key: '63f8bb46ce58585e214ff5bed409c09554faa2a4', class: { chevron: true, open: this.isOpen } }, index.h("rebill-icon", { key: 'f04954e7e5640a7f6e91906dd88d910bd921b45f', name: "chevron-down", size: "20px", color: "currentColor" }))), index.h("div", { key: '34b86ba2c04f4b79d5ade66553108351b214e921', class: { content: true, open: this.isOpen } }, index.h("slot", { key: 'f5bd4a2305c0d750015bf61461a0662dbc8c6cf5' }))));
31
31
  }
32
32
  };
33
33
  CollapsibleCard.style = collapsibleCardCss;
@@ -215,7 +215,7 @@ const Divider = class {
215
215
  index.registerInstance(this, hostRef);
216
216
  }
217
217
  render() {
218
- return index.h("div", { key: '74534e1e97d3162be17a8206cb028c140021a78d', class: "rebill-divider" });
218
+ return index.h("div", { key: 'c0b8c27f99bd5c1bcdc1174af037563ca3a32608', class: "rebill-divider" });
219
219
  }
220
220
  };
221
221
  Divider.style = dividerCss;