rebill-web-components-sdk 1.8.3-beta.3 → 1.8.3-beta.5

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 (297) hide show
  1. package/dist/cjs/apm-checkout_16.cjs.entry.js +2 -2
  2. package/dist/cjs/apm-checkout_16.cjs.entry.js.map +1 -1
  3. package/dist/cjs/card-identification.card-iframe.card-skeleton.rebill-input-combo.rebill-installments.entry.cjs.js.map +1 -1
  4. package/dist/cjs/card-identification_5.cjs.entry.js +1 -1
  5. package/dist/cjs/card-identification_5.cjs.entry.js.map +1 -1
  6. package/dist/cjs/card-skeleton.cjs.entry.js +1 -1
  7. package/dist/cjs/card-skeleton.cjs.entry.js.map +1 -1
  8. package/dist/cjs/card-skeleton.entry.cjs.js.map +1 -1
  9. package/dist/cjs/collapsible-card.cjs.entry.js +1 -1
  10. package/dist/cjs/collapsible-card.cjs.entry.js.map +1 -1
  11. package/dist/cjs/collapsible-card.entry.cjs.js.map +1 -1
  12. package/dist/cjs/{organization-logo-BZqb4lkj.js → organization-logo-D4gP9Bg_.js} +3 -3
  13. package/dist/cjs/{organization-logo-BZqb4lkj.js.map → organization-logo-D4gP9Bg_.js.map} +1 -1
  14. package/dist/cjs/{organization-logo-Dnfazz63.js → organization-logo-x4KEuA72.js} +3 -3
  15. package/dist/cjs/{organization-logo-Dnfazz63.js.map → organization-logo-x4KEuA72.js.map} +1 -1
  16. package/dist/cjs/organization-logo.cjs.entry.js +1 -1
  17. package/dist/cjs/organization-logo_4.cjs.entry.js +1 -1
  18. package/dist/cjs/otp-component.cjs.entry.js +5 -5
  19. package/dist/cjs/otp-component.cjs.entry.js.map +1 -1
  20. package/dist/cjs/otp-component.entry.cjs.js.map +1 -1
  21. package/dist/cjs/otp-component.rebill-modal-overlay.rebill-mode-sandbox.rebill-mode-sandbox-mobile.rebill-summary.success-page.user-information.entry.cjs.js.map +1 -1
  22. package/dist/cjs/otp-component_7.cjs.entry.js +10 -10
  23. package/dist/cjs/otp-component_7.cjs.entry.js.map +1 -1
  24. package/dist/cjs/rebill-address.cjs.entry.js +1 -1
  25. package/dist/cjs/rebill-address.cjs.entry.js.map +1 -1
  26. package/dist/cjs/rebill-address.entry.cjs.js.map +1 -1
  27. package/dist/cjs/rebill-checkout.cjs.entry.js +1 -1
  28. package/dist/cjs/rebill-icon.rebill-typography.entry.cjs.js.map +1 -1
  29. package/dist/cjs/rebill-icon_2.cjs.entry.js +1 -1
  30. package/dist/cjs/rebill-icon_2.cjs.entry.js.map +1 -1
  31. package/dist/cjs/rebill-input-text.cjs.entry.js +2 -2
  32. package/dist/cjs/rebill-input-text.cjs.entry.js.map +1 -1
  33. package/dist/cjs/rebill-input-text.entry.cjs.js.map +1 -1
  34. package/dist/cjs/rebill-mode-sandbox-mobile.cjs.entry.js +4 -4
  35. package/dist/cjs/rebill-mode-sandbox-mobile.cjs.entry.js.map +1 -1
  36. package/dist/cjs/rebill-mode-sandbox-mobile.entry.cjs.js.map +1 -1
  37. package/dist/cjs/rebill-renewal.cjs.entry.js +1 -1
  38. package/dist/cjs/rebill-renewal.cjs.entry.js.map +1 -1
  39. package/dist/cjs/rebill-renewal.entry.cjs.js.map +1 -1
  40. package/dist/cjs/rebill-typography.cjs.entry.js +1 -1
  41. package/dist/cjs/rebill-typography.cjs.entry.js.map +1 -1
  42. package/dist/cjs/rebill-typography.entry.cjs.js.map +1 -1
  43. package/dist/cjs/renewal-success-page.cjs.entry.js +1 -1
  44. package/dist/cjs/renewal-success-page.cjs.entry.js.map +1 -1
  45. package/dist/cjs/renewal-success-page.entry.cjs.js.map +1 -1
  46. package/dist/cjs/renewal-success-page.renewal-summary.entry.cjs.js.map +1 -1
  47. package/dist/cjs/renewal-success-page_2.cjs.entry.js +1 -1
  48. package/dist/cjs/renewal-success-page_2.cjs.entry.js.map +1 -1
  49. package/dist/cjs/root-component.cjs.entry.js +1 -1
  50. package/dist/cjs/root-component.cjs.entry.js.map +1 -1
  51. package/dist/cjs/root-component.entry.cjs.js.map +1 -1
  52. package/dist/cjs/selectable-card.cjs.entry.js +1 -1
  53. package/dist/cjs/selectable-card.cjs.entry.js.map +1 -1
  54. package/dist/cjs/selectable-card.entry.cjs.js.map +1 -1
  55. package/dist/cjs/success-page.cjs.entry.js +1 -1
  56. package/dist/cjs/success-page.cjs.entry.js.map +1 -1
  57. package/dist/cjs/success-page.entry.cjs.js.map +1 -1
  58. package/dist/collection/components/checkout/address/address.css +0 -6
  59. package/dist/collection/components/checkout/card-success-page/success-page.css +0 -6
  60. package/dist/collection/components/checkout/otp/otp.css +16 -16
  61. package/dist/collection/components/checkout/otp/otp.js +4 -4
  62. package/dist/collection/components/checkout/otp/otp.js.map +1 -1
  63. package/dist/collection/components/checkout/payment-method-selector/card-fields/iframe/skeleton/cardSkeleton.css +0 -6
  64. package/dist/collection/components/renewal/rebill-renewal.css +0 -6
  65. package/dist/collection/components/renewal/renewal-success-page/renewal-success-page.css +0 -6
  66. package/dist/collection/components/root-component/root-component.css +0 -6
  67. package/dist/collection/components/shared/collapsible-card/collapsible-card.css +0 -6
  68. package/dist/collection/components/shared/inputs/input-text/input-text.css +4 -4
  69. package/dist/collection/components/shared/inputs/input-text/input-text.js +1 -1
  70. package/dist/collection/components/shared/inputs/input-text/input-text.js.map +1 -1
  71. package/dist/collection/components/shared/mode-sandbox/mode-sandbox-mobile.css +21 -16
  72. package/dist/collection/components/shared/mode-sandbox/mode-sandbox-mobile.js +3 -3
  73. package/dist/collection/components/shared/mode-sandbox/mode-sandbox-mobile.js.map +1 -1
  74. package/dist/collection/components/shared/organization-logo/organization-logo.css +0 -6
  75. package/dist/collection/components/shared/selectable-card/selectable-card.css +0 -6
  76. package/dist/collection/components/shared/typography/typography.css +0 -6
  77. package/dist/components/CardSkeleton.js +1 -1
  78. package/dist/components/CardSkeleton.js.map +1 -1
  79. package/dist/components/address.js +1 -1
  80. package/dist/components/address.js.map +1 -1
  81. package/dist/components/collapsible-card2.js +1 -1
  82. package/dist/components/collapsible-card2.js.map +1 -1
  83. package/dist/components/input-text.js +2 -2
  84. package/dist/components/input-text.js.map +1 -1
  85. package/dist/components/mode-sandbox-mobile.js +4 -4
  86. package/dist/components/mode-sandbox-mobile.js.map +1 -1
  87. package/dist/components/organization-logo2.js +1 -1
  88. package/dist/components/organization-logo2.js.map +1 -1
  89. package/dist/components/otp.js +5 -5
  90. package/dist/components/otp.js.map +1 -1
  91. package/dist/components/{p-F4jLIfkG.js → p-0BTfY4S5.js} +7 -7
  92. package/dist/components/{p-F4jLIfkG.js.map → p-0BTfY4S5.js.map} +1 -1
  93. package/dist/components/{p-BhZLfMCq.js → p-8Z6_-yhm.js} +4 -4
  94. package/dist/components/p-8Z6_-yhm.js.map +1 -0
  95. package/dist/components/{p-N7wfNpl2.js → p-B9aIvZlq.js} +4 -4
  96. package/dist/components/{p-N7wfNpl2.js.map → p-B9aIvZlq.js.map} +1 -1
  97. package/dist/components/{p-C1Jzk6t7.js → p-B9aJ7_rc.js} +9 -9
  98. package/dist/components/{p-C1Jzk6t7.js.map → p-B9aJ7_rc.js.map} +1 -1
  99. package/dist/components/{p-C-BFyHag.js → p-BId02g8-.js} +9 -9
  100. package/dist/components/p-BId02g8-.js.map +1 -0
  101. package/dist/components/{p-BGIg233G.js → p-BOrcSA8T.js} +3 -3
  102. package/dist/components/{p-BGIg233G.js.map → p-BOrcSA8T.js.map} +1 -1
  103. package/dist/components/{p-D_sGE3-j.js → p-BRjIL3fw.js} +3 -3
  104. package/dist/components/{p-D_sGE3-j.js.map → p-BRjIL3fw.js.map} +1 -1
  105. package/dist/components/{p-FoWuzUYH.js → p-BVfV2NVA.js} +6 -6
  106. package/dist/components/{p-FoWuzUYH.js.map → p-BVfV2NVA.js.map} +1 -1
  107. package/dist/components/{p-mGnGyYiQ.js → p-BVtSIdnS.js} +4 -4
  108. package/dist/components/{p-mGnGyYiQ.js.map → p-BVtSIdnS.js.map} +1 -1
  109. package/dist/components/{p-D6JNNodL.js → p-BZ90sz6G.js} +3 -3
  110. package/dist/components/{p-D6JNNodL.js.map → p-BZ90sz6G.js.map} +1 -1
  111. package/dist/components/{p-JVLfbdAy.js → p-C0a5bxXF.js} +3 -3
  112. package/dist/components/{p-JVLfbdAy.js.map → p-C0a5bxXF.js.map} +1 -1
  113. package/dist/components/{p-D_PXcKNq.js → p-C8bwQKOB.js} +3 -3
  114. package/dist/components/{p-D_PXcKNq.js.map → p-C8bwQKOB.js.map} +1 -1
  115. package/dist/components/{p-CKHlNMVF.js → p-CjKgYUL9.js} +3 -3
  116. package/dist/components/{p-CKHlNMVF.js.map → p-CjKgYUL9.js.map} +1 -1
  117. package/dist/components/{p-Mn8ErAAb.js → p-CwHrjjgl.js} +4 -4
  118. package/dist/components/{p-Mn8ErAAb.js.map → p-CwHrjjgl.js.map} +1 -1
  119. package/dist/components/{p-ojGSd7eA.js → p-D8FW7I0M.js} +3 -3
  120. package/dist/components/{p-ojGSd7eA.js.map → p-D8FW7I0M.js.map} +1 -1
  121. package/dist/components/{p-CdLmSaw6.js → p-DAJuJoZn.js} +4 -4
  122. package/dist/components/{p-CdLmSaw6.js.map → p-DAJuJoZn.js.map} +1 -1
  123. package/dist/components/{p-BaN8grjD.js → p-DNxp10y2.js} +5 -5
  124. package/dist/components/{p-BaN8grjD.js.map → p-DNxp10y2.js.map} +1 -1
  125. package/dist/components/{p-BshrHj7X.js → p-DQi9Jit7.js} +5 -5
  126. package/dist/components/{p-BshrHj7X.js.map → p-DQi9Jit7.js.map} +1 -1
  127. package/dist/components/{p-fLN8M37t.js → p-DbLIZ0gI.js} +3 -3
  128. package/dist/components/{p-fLN8M37t.js.map → p-DbLIZ0gI.js.map} +1 -1
  129. package/dist/components/{p-C81ESSvH.js → p-DlgrkLu0.js} +4 -4
  130. package/dist/components/{p-C81ESSvH.js.map → p-DlgrkLu0.js.map} +1 -1
  131. package/dist/components/{p-CGfY7lYE.js → p-DmG9jqf9.js} +3 -3
  132. package/dist/components/{p-CGfY7lYE.js.map → p-DmG9jqf9.js.map} +1 -1
  133. package/dist/components/{p-B2TDQClH.js → p-Dua4qdwP.js} +3 -3
  134. package/dist/components/{p-B2TDQClH.js.map → p-Dua4qdwP.js.map} +1 -1
  135. package/dist/components/{p-CgtGqqWz.js → p-Dy2kgG1_.js} +3 -3
  136. package/dist/components/{p-CgtGqqWz.js.map → p-Dy2kgG1_.js.map} +1 -1
  137. package/dist/components/{p-e4my43Fj.js → p-J04T9w3B.js} +4 -4
  138. package/dist/components/{p-e4my43Fj.js.map → p-J04T9w3B.js.map} +1 -1
  139. package/dist/components/{p-BMR1f9Ny.js → p-J4ePC1Gr.js} +7 -7
  140. package/dist/components/{p-BMR1f9Ny.js.map → p-J4ePC1Gr.js.map} +1 -1
  141. package/dist/components/{p-6crhm8xF.js → p-KnZ28rwQ.js} +7 -7
  142. package/dist/components/{p-6crhm8xF.js.map → p-KnZ28rwQ.js.map} +1 -1
  143. package/dist/components/p-ReaNe705.js +85 -0
  144. package/dist/components/p-ReaNe705.js.map +1 -0
  145. package/dist/components/{p--nzbbHU3.js → p-bhvS6Qdq.js} +3 -3
  146. package/dist/components/{p--nzbbHU3.js.map → p-bhvS6Qdq.js.map} +1 -1
  147. package/dist/components/{p-BKW3nMqk.js → p-d3WZKgsB.js} +5 -5
  148. package/dist/components/{p-BKW3nMqk.js.map → p-d3WZKgsB.js.map} +1 -1
  149. package/dist/components/{p-De6XbCCz.js → p-gCWikaoG.js} +7 -7
  150. package/dist/components/{p-De6XbCCz.js.map → p-gCWikaoG.js.map} +1 -1
  151. package/dist/components/{p-8OkGYgSm.js → p-nhr8VHHV.js} +4 -4
  152. package/dist/components/{p-8OkGYgSm.js.map → p-nhr8VHHV.js.map} +1 -1
  153. package/dist/components/{p-DWoIf2g_.js → p-rT7t0c3J.js} +9 -9
  154. package/dist/components/{p-DWoIf2g_.js.map → p-rT7t0c3J.js.map} +1 -1
  155. package/dist/components/{p-C1R9RQEK.js → p-u7D3-_Vp.js} +4 -4
  156. package/dist/components/{p-C1R9RQEK.js.map → p-u7D3-_Vp.js.map} +1 -1
  157. package/dist/components/rebill-renewal.js +1 -1
  158. package/dist/components/rebill-renewal.js.map +1 -1
  159. package/dist/components/renewal-success-page2.js +1 -1
  160. package/dist/components/renewal-success-page2.js.map +1 -1
  161. package/dist/components/root-component.js +1 -1
  162. package/dist/components/root-component.js.map +1 -1
  163. package/dist/components/selectable-card2.js +1 -1
  164. package/dist/components/selectable-card2.js.map +1 -1
  165. package/dist/components/success-page2.js +1 -1
  166. package/dist/components/success-page2.js.map +1 -1
  167. package/dist/components/typography.js +1 -1
  168. package/dist/components/typography.js.map +1 -1
  169. package/dist/esm/apm-checkout_16.entry.js +2 -2
  170. package/dist/esm/apm-checkout_16.entry.js.map +1 -1
  171. package/dist/esm/card-identification.card-iframe.card-skeleton.rebill-input-combo.rebill-installments.entry.js.map +1 -1
  172. package/dist/esm/card-identification_5.entry.js +1 -1
  173. package/dist/esm/card-identification_5.entry.js.map +1 -1
  174. package/dist/esm/card-skeleton.entry.js +1 -1
  175. package/dist/esm/card-skeleton.entry.js.map +1 -1
  176. package/dist/esm/collapsible-card.entry.js +1 -1
  177. package/dist/esm/collapsible-card.entry.js.map +1 -1
  178. package/dist/esm/{organization-logo-DTXw5Lu4.js → organization-logo-BPE5_Qxz.js} +3 -3
  179. package/dist/esm/{organization-logo-6pnwjRAd.js.map → organization-logo-BPE5_Qxz.js.map} +1 -1
  180. package/dist/{rebill-web-components-sdk/organization-logo-6pnwjRAd.js → esm/organization-logo-FuaJxXfD.js} +3 -3
  181. package/dist/{rebill-web-components-sdk/organization-logo-6pnwjRAd.js.map → esm/organization-logo-FuaJxXfD.js.map} +1 -1
  182. package/dist/esm/organization-logo.entry.js +1 -1
  183. package/dist/esm/organization-logo_4.entry.js +1 -1
  184. package/dist/esm/otp-component.entry.js +5 -5
  185. package/dist/esm/otp-component.entry.js.map +1 -1
  186. package/dist/esm/otp-component.rebill-modal-overlay.rebill-mode-sandbox.rebill-mode-sandbox-mobile.rebill-summary.success-page.user-information.entry.js.map +1 -1
  187. package/dist/esm/otp-component_7.entry.js +10 -10
  188. package/dist/esm/otp-component_7.entry.js.map +1 -1
  189. package/dist/esm/rebill-address.entry.js +1 -1
  190. package/dist/esm/rebill-address.entry.js.map +1 -1
  191. package/dist/esm/rebill-checkout.entry.js +1 -1
  192. package/dist/esm/rebill-icon.rebill-typography.entry.js.map +1 -1
  193. package/dist/esm/rebill-icon_2.entry.js +1 -1
  194. package/dist/esm/rebill-icon_2.entry.js.map +1 -1
  195. package/dist/esm/rebill-input-text.entry.js +2 -2
  196. package/dist/esm/rebill-input-text.entry.js.map +1 -1
  197. package/dist/esm/rebill-mode-sandbox-mobile.entry.js +4 -4
  198. package/dist/esm/rebill-mode-sandbox-mobile.entry.js.map +1 -1
  199. package/dist/esm/rebill-renewal.entry.js +1 -1
  200. package/dist/esm/rebill-renewal.entry.js.map +1 -1
  201. package/dist/esm/rebill-typography.entry.js +1 -1
  202. package/dist/esm/rebill-typography.entry.js.map +1 -1
  203. package/dist/esm/renewal-success-page.entry.js +1 -1
  204. package/dist/esm/renewal-success-page.entry.js.map +1 -1
  205. package/dist/esm/renewal-success-page.renewal-summary.entry.js.map +1 -1
  206. package/dist/esm/renewal-success-page_2.entry.js +1 -1
  207. package/dist/esm/renewal-success-page_2.entry.js.map +1 -1
  208. package/dist/esm/root-component.entry.js +1 -1
  209. package/dist/esm/root-component.entry.js.map +1 -1
  210. package/dist/esm/selectable-card.entry.js +1 -1
  211. package/dist/esm/selectable-card.entry.js.map +1 -1
  212. package/dist/esm/success-page.entry.js +1 -1
  213. package/dist/esm/success-page.entry.js.map +1 -1
  214. package/dist/rebill-web-components-sdk/card-identification.card-iframe.card-skeleton.rebill-input-combo.rebill-installments.entry.esm.js.map +1 -1
  215. package/dist/rebill-web-components-sdk/card-skeleton.entry.esm.js.map +1 -1
  216. package/dist/rebill-web-components-sdk/card-skeleton.entry.js +1 -1
  217. package/dist/rebill-web-components-sdk/card-skeleton.entry.js.map +1 -1
  218. package/dist/rebill-web-components-sdk/collapsible-card.entry.esm.js.map +1 -1
  219. package/dist/rebill-web-components-sdk/collapsible-card.entry.js +1 -1
  220. package/dist/rebill-web-components-sdk/collapsible-card.entry.js.map +1 -1
  221. package/dist/{esm/organization-logo-6pnwjRAd.js → rebill-web-components-sdk/organization-logo-FuaJxXfD.js} +3 -3
  222. package/dist/{esm/organization-logo-DTXw5Lu4.js.map → rebill-web-components-sdk/organization-logo-FuaJxXfD.js.map} +1 -1
  223. package/dist/rebill-web-components-sdk/organization-logo.entry.js +1 -1
  224. package/dist/rebill-web-components-sdk/otp-component.entry.esm.js.map +1 -1
  225. package/dist/rebill-web-components-sdk/otp-component.entry.js +5 -5
  226. package/dist/rebill-web-components-sdk/otp-component.entry.js.map +1 -1
  227. package/dist/rebill-web-components-sdk/otp-component.rebill-modal-overlay.rebill-mode-sandbox.rebill-mode-sandbox-mobile.rebill-summary.success-page.user-information.entry.esm.js.map +1 -1
  228. package/dist/rebill-web-components-sdk/p-07de170b.entry.js +2 -0
  229. package/dist/rebill-web-components-sdk/{p-d189dea8.entry.js.map → p-07de170b.entry.js.map} +1 -1
  230. package/dist/rebill-web-components-sdk/p-2be8b27e.entry.js +2 -0
  231. package/dist/rebill-web-components-sdk/{p-a3f63a73.entry.js.map → p-2be8b27e.entry.js.map} +1 -1
  232. package/dist/rebill-web-components-sdk/p-2f00f173.entry.js +2 -0
  233. package/dist/rebill-web-components-sdk/{p-e16cc3b0.entry.js.map → p-2f00f173.entry.js.map} +1 -1
  234. package/dist/rebill-web-components-sdk/p-3b7a11c7.entry.js +2 -0
  235. package/dist/rebill-web-components-sdk/{p-f02133d8.entry.js.map → p-3b7a11c7.entry.js.map} +1 -1
  236. package/dist/rebill-web-components-sdk/p-3c6aaa56.entry.js +2 -0
  237. package/dist/rebill-web-components-sdk/{p-174a9543.entry.js.map → p-3c6aaa56.entry.js.map} +1 -1
  238. package/dist/rebill-web-components-sdk/p-5485215c.entry.js +2 -0
  239. package/dist/rebill-web-components-sdk/{p-62fc3d11.entry.js.map → p-5485215c.entry.js.map} +1 -1
  240. package/dist/rebill-web-components-sdk/{p-68a78ab6.entry.js → p-932d5912.entry.js} +2 -2
  241. package/dist/rebill-web-components-sdk/{p-3fca32f8.entry.js → p-a09e3090.entry.js} +2 -2
  242. package/dist/rebill-web-components-sdk/p-a780e6e8.entry.js +2 -0
  243. package/dist/rebill-web-components-sdk/p-a780e6e8.entry.js.map +1 -0
  244. package/dist/rebill-web-components-sdk/p-bf4f1bcc.entry.js +2 -0
  245. package/dist/rebill-web-components-sdk/{p-b8591c64.entry.js.map → p-bf4f1bcc.entry.js.map} +1 -1
  246. package/dist/rebill-web-components-sdk/p-cecc2fbe.entry.js +2 -0
  247. package/dist/rebill-web-components-sdk/p-cecc2fbe.entry.js.map +1 -0
  248. package/dist/rebill-web-components-sdk/{p-DTsMkxC1.js → p-tu-WZjQJ.js} +2 -2
  249. package/dist/rebill-web-components-sdk/{p-DTsMkxC1.js.map → p-tu-WZjQJ.js.map} +1 -1
  250. package/dist/rebill-web-components-sdk/rebill-address.entry.esm.js.map +1 -1
  251. package/dist/rebill-web-components-sdk/rebill-address.entry.js +1 -1
  252. package/dist/rebill-web-components-sdk/rebill-address.entry.js.map +1 -1
  253. package/dist/rebill-web-components-sdk/rebill-checkout.entry.js +1 -1
  254. package/dist/rebill-web-components-sdk/rebill-icon.rebill-typography.entry.esm.js.map +1 -1
  255. package/dist/rebill-web-components-sdk/rebill-input-text.entry.esm.js.map +1 -1
  256. package/dist/rebill-web-components-sdk/rebill-input-text.entry.js +2 -2
  257. package/dist/rebill-web-components-sdk/rebill-input-text.entry.js.map +1 -1
  258. package/dist/rebill-web-components-sdk/rebill-mode-sandbox-mobile.entry.esm.js.map +1 -1
  259. package/dist/rebill-web-components-sdk/rebill-mode-sandbox-mobile.entry.js +4 -4
  260. package/dist/rebill-web-components-sdk/rebill-mode-sandbox-mobile.entry.js.map +1 -1
  261. package/dist/rebill-web-components-sdk/rebill-renewal.entry.esm.js.map +1 -1
  262. package/dist/rebill-web-components-sdk/rebill-renewal.entry.js +1 -1
  263. package/dist/rebill-web-components-sdk/rebill-renewal.entry.js.map +1 -1
  264. package/dist/rebill-web-components-sdk/rebill-typography.entry.esm.js.map +1 -1
  265. package/dist/rebill-web-components-sdk/rebill-typography.entry.js +1 -1
  266. package/dist/rebill-web-components-sdk/rebill-typography.entry.js.map +1 -1
  267. package/dist/rebill-web-components-sdk/renewal-success-page.entry.esm.js.map +1 -1
  268. package/dist/rebill-web-components-sdk/renewal-success-page.entry.js +1 -1
  269. package/dist/rebill-web-components-sdk/renewal-success-page.entry.js.map +1 -1
  270. package/dist/rebill-web-components-sdk/renewal-success-page.renewal-summary.entry.esm.js.map +1 -1
  271. package/dist/rebill-web-components-sdk/root-component.entry.esm.js.map +1 -1
  272. package/dist/rebill-web-components-sdk/root-component.entry.js +1 -1
  273. package/dist/rebill-web-components-sdk/root-component.entry.js.map +1 -1
  274. package/dist/rebill-web-components-sdk/selectable-card.entry.esm.js.map +1 -1
  275. package/dist/rebill-web-components-sdk/selectable-card.entry.js +1 -1
  276. package/dist/rebill-web-components-sdk/selectable-card.entry.js.map +1 -1
  277. package/dist/rebill-web-components-sdk/success-page.entry.esm.js.map +1 -1
  278. package/dist/rebill-web-components-sdk/success-page.entry.js +1 -1
  279. package/dist/rebill-web-components-sdk/success-page.entry.js.map +1 -1
  280. package/package.json +1 -1
  281. package/dist/components/p-BhZLfMCq.js.map +0 -1
  282. package/dist/components/p-Bl3lkRJY.js +0 -85
  283. package/dist/components/p-Bl3lkRJY.js.map +0 -1
  284. package/dist/components/p-C-BFyHag.js.map +0 -1
  285. package/dist/rebill-web-components-sdk/p-174a9543.entry.js +0 -2
  286. package/dist/rebill-web-components-sdk/p-62fc3d11.entry.js +0 -2
  287. package/dist/rebill-web-components-sdk/p-8edd1215.entry.js +0 -2
  288. package/dist/rebill-web-components-sdk/p-8edd1215.entry.js.map +0 -1
  289. package/dist/rebill-web-components-sdk/p-a3f63a73.entry.js +0 -2
  290. package/dist/rebill-web-components-sdk/p-b8591c64.entry.js +0 -2
  291. package/dist/rebill-web-components-sdk/p-d189dea8.entry.js +0 -2
  292. package/dist/rebill-web-components-sdk/p-daa7cbb2.entry.js +0 -2
  293. package/dist/rebill-web-components-sdk/p-daa7cbb2.entry.js.map +0 -1
  294. package/dist/rebill-web-components-sdk/p-e16cc3b0.entry.js +0 -2
  295. package/dist/rebill-web-components-sdk/p-f02133d8.entry.js +0 -2
  296. /package/dist/rebill-web-components-sdk/{p-68a78ab6.entry.js.map → p-932d5912.entry.js.map} +0 -0
  297. /package/dist/rebill-web-components-sdk/{p-3fca32f8.entry.js.map → p-a09e3090.entry.js.map} +0 -0
@@ -6,7 +6,7 @@ import './payment-button-BTfA3gUi.js';
6
6
  import './processing-payment-CqkxDOH6.js';
7
7
  import './summary-C0kDi3Qu.js';
8
8
  import './user-information-static-XK4HDNmA.js';
9
- import './organization-logo-6pnwjRAd.js';
9
+ import './organization-logo-FuaJxXfD.js';
10
10
  import { s as state, S as SESSION_TYPE_ENUM, I as I18nService, a as SessionStore, D as DEFAULT_DISPLAY_CONFIG, i as initializeI18nWithSessionLanguage, P as PAYMENT_METHOD_ENUM, o as onChange, b as SESSION_ITEM_TYPE_ENUM } from './i18n.service-Du3vb0yg.js';
11
11
  import { m as mapRequiredFields, P as PaymentStatusE, i as isFieldRequired, a as PaymentErrorMapper, g as getFieldValues } from './required-fields-mappers-Dl2TD0jm.js';
12
12
  import { B as BREAKPOINT_ENUM, g as getBreakpoint, i as isBreakpointBelow } from './breakpoint-Do_vNuMa.js';
@@ -1 +1 @@
1
- {"version":3,"file":"rebill-icon.rebill-typography.entry.js","sources":["src/components/shared/icon/icon.tsx","src/components/shared/typography/typography.css?tag=rebill-typography","src/components/shared/typography/typography.tsx"],"sourcesContent":["import { Component, h, Prop, State } from '@stencil/core';\nimport { getAssetURL } from '../../../utils/assets';\nimport { colorClassMapper, COLORS_ENUM } from '../../../utils/color-class-mapper';\n\n@Component({\n tag: 'rebill-icon',\n shadow: false,\n})\nexport class Icon {\n @Prop() name: string = 'card';\n @Prop() size: string;\n @Prop() color: COLORS_ENUM | 'currentColor' = 'currentColor';\n\n @State() svgContent: string = '';\n\n componentWillLoad() {\n this.loadIcon();\n }\n\n async loadIcon() {\n if (!this.name) return;\n try {\n const iconURL = getAssetURL(`icons/${this.name}.svg`);\n const response = await fetch(iconURL);\n if (!response.ok) {\n console.warn(`Icon not found: ${this.name} at ${iconURL}`);\n return;\n }\n const svgText = await response.text();\n this.svgContent = svgText;\n } catch (error) {\n console.error('Error loading SVG:', error);\n }\n }\n\n render() {\n const colorValue =\n this.color === 'currentColor' ? 'currentColor' : colorClassMapper(this.color);\n\n let processedSvgContent = this.svgContent;\n if (this.svgContent && this.color !== 'currentColor') {\n processedSvgContent = this.svgContent\n .replace(/fill=\"[^\"]*\"/g, `fill=\"${colorValue}\"`)\n .replace(/stroke=\"[^\"]*\"/g, `stroke=\"${colorValue}\"`)\n .replace(/fill='[^']*'/g, `fill='${colorValue}'`)\n .replace(/stroke='[^']*'/g, `stroke='${colorValue}'`);\n }\n\n return (\n <div\n style={{\n width: this.size,\n height: this.size,\n color: colorValue,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n }}\n innerHTML={processedSvgContent}\n ></div>\n );\n }\n}\n","@import '../../../styles/variables.css';\n\n:host {\n display: block;\n margin: 0;\n padding: 0;\n}\n\n/* Heading styles */\n.typography-h1 {\n font-size: 6rem;\n font-weight: 300;\n line-height: 1.167;\n letter-spacing: -0.01562em;\n}\n\n.typography-h2 {\n font-size: 3.75rem;\n font-weight: 300;\n line-height: 1.2;\n letter-spacing: -0.00833em;\n}\n\n.typography-h3 {\n font-size: 1.375rem;\n font-weight: 600;\n font-style: Medium;\n line-height: 20px;\n letter-spacing: 0px;\n margin-bottom: 0;\n margin-top: 0;\n}\n\n.typography-h4 {\n font-size: 2.125rem;\n font-weight: 600;\n line-height: 1.235;\n letter-spacing: 0.00735em;\n margin-bottom: 0;\n margin-top: 0;\n}\n\n.typography-h5 {\n font-size: 1.5rem;\n font-weight: 400;\n line-height: 1.334;\n letter-spacing: 0;\n}\n\n.typography-h6 {\n font-size: 1.25rem;\n font-weight: 500;\n line-height: 1.6;\n letter-spacing: 0.0075em;\n margin-bottom: 0;\n margin-top: 0;\n}\n.typography-subtitle-bold {\n font-size: 14px;\n font-weight: 500;\n letter-spacing: 0;\n margin-bottom: 0;\n margin-top: 0;\n}\n/* Subtitle styles */\n.typography-subtitle1 {\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.75;\n letter-spacing: 0.00938em;\n margin-bottom: 0;\n margin-top: 0;\n}\n\n.typography-subtitle2 {\n font-size: 12px;\n font-weight: 400;\n}\n.typography-subtitle3 {\n font-size: 10px;\n font-weight: 500;\n}\n/* Body styles */\n.typography-body1 {\n font-size: 16px;\n font-weight: 500;\n letter-spacing: 0.00938em;\n}\n\n.typography-body2 {\n font-size: 14px;\n font-weight: 400 !important;\n letter-spacing: 0.01071em;\n margin-bottom: 0;\n margin-top: 0;\n}\n.typography-body3 {\n font-size: 16px;\n font-weight: 500;\n letter-spacing: 0.01071em;\n margin-bottom: 0;\n margin-top: 0;\n}\n\n@media (max-width: 1024px) {\n .typography-body2 {\n line-height: 20px;\n }\n}\n\n/* Button text */\n.typography-button {\n font-size: 0.875rem;\n font-weight: 500;\n line-height: 1.75;\n letter-spacing: 0.02857em;\n text-transform: uppercase;\n}\n\n/* Caption */\n.typography-caption {\n font-size: 0.75rem;\n font-weight: 400;\n line-height: 1.66;\n letter-spacing: 0.03333em;\n}\n\n/* Overline */\n.typography-overline {\n font-size: 14px;\n font-weight: 600;\n line-height: 20px;\n}\n\n/* Italic */\n.typography-italic {\n font-weight: 500;\n font-style: italic;\n font-size: 11px;\n line-height: 24px;\n letter-spacing: 0%;\n}\n\n.typography-information-text {\n font-weight: 500;\n font-size: 11px;\n line-height: 160%;\n}\n\n/* Alignment */\n.typography-align-left {\n text-align: left;\n}\n\n.typography-align-center {\n text-align: center;\n}\n\n.typography-align-right {\n text-align: right;\n}\n\n.typography-align-justify {\n text-align: justify;\n}\n\n/* Additional styles */\n.typography-no-wrap {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* .typography-gutter-bottom {\n margin-bottom: 0.35em;\n} */\n\n.typography-paragraph {\n margin-bottom: 16px;\n}\n.typography-h4-span {\n font-size: 34px;\n font-weight: 500;\n\n letter-spacing: 0%;\n margin-bottom: 0;\n margin-top: 0;\n}\n","import { Component, h, Prop } from '@stencil/core';\nimport { colorClassMapper, COLORS_ENUM } from '../../../utils/color-class-mapper';\n\nexport type TypographyVariant =\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'subtitle1'\n | 'subtitle2'\n | 'subtitle-bold'\n | 'body1'\n | 'body2'\n | 'body3'\n | 'button'\n | 'caption'\n | 'overline'\n | 'italic'\n | 'information-text'\n | 'h4-span'\n | 'subtitle3';\n\n@Component({\n tag: 'rebill-typography',\n styleUrl: 'typography.css',\n shadow: false,\n})\nexport class Typography {\n @Prop() variant: TypographyVariant = 'body1';\n @Prop() color?: COLORS_ENUM;\n @Prop() align?: 'left' | 'center' | 'right' | 'justify';\n @Prop() noWrap?: boolean;\n @Prop() gutterBottom?: boolean;\n @Prop() paragraph?: boolean;\n\n private getColor = () => colorClassMapper(this.color);\n\n render() {\n const Tag = this.getTag();\n const classes = {\n [`typography-${this.variant}`]: true,\n [`typography-align-${this.align}`]: this.align,\n 'typography-no-wrap': this.noWrap,\n 'typography-gutter-bottom': this.gutterBottom,\n 'typography-paragraph': this.paragraph,\n };\n\n return (\n <Tag class={classes} style={{ color: this.getColor() }}>\n <slot></slot>\n </Tag>\n );\n }\n\n private getTag(): string {\n switch (this.variant) {\n case 'h1':\n case 'h2':\n case 'h3':\n case 'h4':\n case 'h5':\n case 'h6':\n return this.variant;\n case 'subtitle1':\n case 'subtitle2':\n case 'subtitle3':\n return 'span';\n case 'body1':\n case 'body2':\n case 'body3':\n return 'span';\n case 'button':\n return 'span';\n case 'caption':\n case 'overline':\n return 'span';\n case 'italic':\n case 'information-text':\n return 'span';\n case 'subtitle-bold':\n return 'span';\n case 'h4-span':\n return 'span';\n default:\n return 'p';\n }\n }\n}\n"],"names":[],"mappings":";;;;;MAQa,IAAI,GAAA,MAAA;;;;IACP,IAAI,GAAW,MAAM;AACrB,IAAA,IAAI;IACJ,KAAK,GAAiC,cAAc;IAEnD,UAAU,GAAW,EAAE;IAEhC,iBAAiB,GAAA;QACf,IAAI,CAAC,QAAQ,EAAE;;AAGjB,IAAA,MAAM,QAAQ,GAAA;QACZ,IAAI,CAAC,IAAI,CAAC,IAAI;YAAE;AAChB,QAAA,IAAI;YACF,MAAM,OAAO,GAAG,WAAW,CAAC,CAAA,MAAA,EAAS,IAAI,CAAC,IAAI,CAAM,IAAA,CAAA,CAAC;AACrD,YAAA,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,OAAO,CAAC;AACrC,YAAA,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE;gBAChB,OAAO,CAAC,IAAI,CAAC,CAAmB,gBAAA,EAAA,IAAI,CAAC,IAAI,CAAO,IAAA,EAAA,OAAO,CAAE,CAAA,CAAC;gBAC1D;;AAEF,YAAA,MAAM,OAAO,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE;AACrC,YAAA,IAAI,CAAC,UAAU,GAAG,OAAO;;QACzB,OAAO,KAAK,EAAE;AACd,YAAA,OAAO,CAAC,KAAK,CAAC,oBAAoB,EAAE,KAAK,CAAC;;;IAI9C,MAAM,GAAA;QACJ,MAAM,UAAU,GACd,IAAI,CAAC,KAAK,KAAK,cAAc,GAAG,cAAc,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC;AAE/E,QAAA,IAAI,mBAAmB,GAAG,IAAI,CAAC,UAAU;QACzC,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,CAAC,KAAK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Y;YAC7C,sBAAsB,EAAE,IAAI,CAAC,SAAS;SACvC;AAED,QAAA,QACE,CAAC,CAAA,GAAG,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAA,EACpD,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT;;IAIF,MAAM,GAAA;AACZ,QAAA,QAAQ,IAAI,CAAC,OAAO;AAClB,YAAA,KAAK,IAAI;AACT,YAAA,KAAK,IAAI;AACT,YAAA,KAAK,IAAI;AACT,YAAA,KAAK,IAAI;AACT,YAAA,KAAK,IAAI;AACT,YAAA,KAAK,IAAI;gBACP,OAAO,IAAI,CAAC,OAAO;AACrB,YAAA,KAAK,WAAW;AAChB,YAAA,KAAK,WAAW;AAChB,YAAA,KAAK,WAAW;AACd,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,OAAO;AACZ,YAAA,KAAK,OAAO;AACZ,YAAA,KAAK,OAAO;AACV,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,QAAQ;AACX,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,SAAS;AACd,YAAA,KAAK,UAAU;AACb,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,QAAQ;AACb,YAAA,KAAK,kBAAkB;AACrB,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,eAAe;AAClB,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,SAAS;AACZ,gBAAA,OAAO,MAAM;AACf,YAAA;AACE,gBAAA,OAAO,GAAG;;;;;;;;"}
1
+ {"version":3,"file":"rebill-icon.rebill-typography.entry.js","sources":["src/components/shared/icon/icon.tsx","src/components/shared/typography/typography.css?tag=rebill-typography","src/components/shared/typography/typography.tsx"],"sourcesContent":["import { Component, h, Prop, State } from '@stencil/core';\nimport { getAssetURL } from '../../../utils/assets';\nimport { colorClassMapper, COLORS_ENUM } from '../../../utils/color-class-mapper';\n\n@Component({\n tag: 'rebill-icon',\n shadow: false,\n})\nexport class Icon {\n @Prop() name: string = 'card';\n @Prop() size: string;\n @Prop() color: COLORS_ENUM | 'currentColor' = 'currentColor';\n\n @State() svgContent: string = '';\n\n componentWillLoad() {\n this.loadIcon();\n }\n\n async loadIcon() {\n if (!this.name) return;\n try {\n const iconURL = getAssetURL(`icons/${this.name}.svg`);\n const response = await fetch(iconURL);\n if (!response.ok) {\n console.warn(`Icon not found: ${this.name} at ${iconURL}`);\n return;\n }\n const svgText = await response.text();\n this.svgContent = svgText;\n } catch (error) {\n console.error('Error loading SVG:', error);\n }\n }\n\n render() {\n const colorValue =\n this.color === 'currentColor' ? 'currentColor' : colorClassMapper(this.color);\n\n let processedSvgContent = this.svgContent;\n if (this.svgContent && this.color !== 'currentColor') {\n processedSvgContent = this.svgContent\n .replace(/fill=\"[^\"]*\"/g, `fill=\"${colorValue}\"`)\n .replace(/stroke=\"[^\"]*\"/g, `stroke=\"${colorValue}\"`)\n .replace(/fill='[^']*'/g, `fill='${colorValue}'`)\n .replace(/stroke='[^']*'/g, `stroke='${colorValue}'`);\n }\n\n return (\n <div\n style={{\n width: this.size,\n height: this.size,\n color: colorValue,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n }}\n innerHTML={processedSvgContent}\n ></div>\n );\n }\n}\n","@import '../../../styles/variables.css';\n\n:host {\n display: block;\n margin: 0;\n padding: 0;\n}\n\n/* Heading styles */\n.typography-h1 {\n font-size: 6rem;\n font-weight: 300;\n line-height: 1.167;\n letter-spacing: -0.01562em;\n}\n\n.typography-h2 {\n font-size: 3.75rem;\n font-weight: 300;\n line-height: 1.2;\n letter-spacing: -0.00833em;\n}\n\n.typography-h3 {\n font-size: 1.375rem;\n font-weight: 600;\n font-style: Medium;\n line-height: 20px;\n letter-spacing: 0px;\n margin-bottom: 0;\n margin-top: 0;\n}\n\n.typography-h4 {\n font-size: 2.125rem;\n font-weight: 600;\n line-height: 1.235;\n letter-spacing: 0.00735em;\n margin-bottom: 0;\n margin-top: 0;\n}\n\n.typography-h5 {\n font-size: 1.5rem;\n font-weight: 400;\n line-height: 1.334;\n letter-spacing: 0;\n}\n\n.typography-h6 {\n font-size: 1.25rem;\n font-weight: 500;\n line-height: 1.6;\n letter-spacing: 0.0075em;\n margin-bottom: 0;\n margin-top: 0;\n}\n.typography-subtitle-bold {\n font-size: 14px;\n font-weight: 500;\n letter-spacing: 0;\n margin-bottom: 0;\n margin-top: 0;\n}\n/* Subtitle styles */\n.typography-subtitle1 {\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.75;\n letter-spacing: 0.00938em;\n margin-bottom: 0;\n margin-top: 0;\n}\n\n.typography-subtitle2 {\n font-size: 12px;\n font-weight: 400;\n}\n.typography-subtitle3 {\n font-size: 10px;\n font-weight: 500;\n}\n/* Body styles */\n.typography-body1 {\n font-size: 16px;\n font-weight: 500;\n letter-spacing: 0.00938em;\n}\n\n.typography-body2 {\n font-size: 14px;\n font-weight: 400 !important;\n letter-spacing: 0.01071em;\n margin-bottom: 0;\n margin-top: 0;\n}\n.typography-body3 {\n font-size: 16px;\n font-weight: 500;\n letter-spacing: 0.01071em;\n margin-bottom: 0;\n margin-top: 0;\n}\n\n@media (max-width: 1024px) {\n .typography-body2 {\n line-height: 20px;\n }\n}\n\n/* Button text */\n.typography-button {\n font-size: 0.875rem;\n font-weight: 500;\n line-height: 1.75;\n letter-spacing: 0.02857em;\n text-transform: uppercase;\n}\n\n/* Caption */\n.typography-caption {\n font-size: 0.75rem;\n font-weight: 400;\n line-height: 1.66;\n letter-spacing: 0.03333em;\n}\n\n/* Overline */\n.typography-overline {\n font-size: 14px;\n font-weight: 600;\n line-height: 20px;\n}\n\n/* Italic */\n.typography-italic {\n font-weight: 500;\n font-style: italic;\n font-size: 11px;\n line-height: 24px;\n letter-spacing: 0%;\n}\n\n.typography-information-text {\n font-weight: 500;\n font-size: 11px;\n line-height: 160%;\n}\n\n/* Alignment */\n.typography-align-left {\n text-align: left;\n}\n\n.typography-align-center {\n text-align: center;\n}\n\n.typography-align-right {\n text-align: right;\n}\n\n.typography-align-justify {\n text-align: justify;\n}\n\n/* Additional styles */\n.typography-no-wrap {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* .typography-gutter-bottom {\n margin-bottom: 0.35em;\n} */\n\n.typography-paragraph {\n margin-bottom: 16px;\n}\n.typography-h4-span {\n font-size: 34px;\n font-weight: 500;\n\n letter-spacing: 0%;\n margin-bottom: 0;\n margin-top: 0;\n}\n","import { Component, h, Prop } from '@stencil/core';\nimport { colorClassMapper, COLORS_ENUM } from '../../../utils/color-class-mapper';\n\nexport type TypographyVariant =\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'subtitle1'\n | 'subtitle2'\n | 'subtitle-bold'\n | 'body1'\n | 'body2'\n | 'body3'\n | 'button'\n | 'caption'\n | 'overline'\n | 'italic'\n | 'information-text'\n | 'h4-span'\n | 'subtitle3';\n\n@Component({\n tag: 'rebill-typography',\n styleUrl: 'typography.css',\n shadow: false,\n})\nexport class Typography {\n @Prop() variant: TypographyVariant = 'body1';\n @Prop() color?: COLORS_ENUM;\n @Prop() align?: 'left' | 'center' | 'right' | 'justify';\n @Prop() noWrap?: boolean;\n @Prop() gutterBottom?: boolean;\n @Prop() paragraph?: boolean;\n\n private getColor = () => colorClassMapper(this.color);\n\n render() {\n const Tag = this.getTag();\n const classes = {\n [`typography-${this.variant}`]: true,\n [`typography-align-${this.align}`]: this.align,\n 'typography-no-wrap': this.noWrap,\n 'typography-gutter-bottom': this.gutterBottom,\n 'typography-paragraph': this.paragraph,\n };\n\n return (\n <Tag class={classes} style={{ color: this.getColor() }}>\n <slot></slot>\n </Tag>\n );\n }\n\n private getTag(): string {\n switch (this.variant) {\n case 'h1':\n case 'h2':\n case 'h3':\n case 'h4':\n case 'h5':\n case 'h6':\n return this.variant;\n case 'subtitle1':\n case 'subtitle2':\n case 'subtitle3':\n return 'span';\n case 'body1':\n case 'body2':\n case 'body3':\n return 'span';\n case 'button':\n return 'span';\n case 'caption':\n case 'overline':\n return 'span';\n case 'italic':\n case 'information-text':\n return 'span';\n case 'subtitle-bold':\n return 'span';\n case 'h4-span':\n return 'span';\n default:\n return 'p';\n }\n }\n}\n"],"names":[],"mappings":";;;;;MAQa,IAAI,GAAA,MAAA;;;;IACP,IAAI,GAAW,MAAM;AACrB,IAAA,IAAI;IACJ,KAAK,GAAiC,cAAc;IAEnD,UAAU,GAAW,EAAE;IAEhC,iBAAiB,GAAA;QACf,IAAI,CAAC,QAAQ,EAAE;;AAGjB,IAAA,MAAM,QAAQ,GAAA;QACZ,IAAI,CAAC,IAAI,CAAC,IAAI;YAAE;AAChB,QAAA,IAAI;YACF,MAAM,OAAO,GAAG,WAAW,CAAC,CAAA,MAAA,EAAS,IAAI,CAAC,IAAI,CAAM,IAAA,CAAA,CAAC;AACrD,YAAA,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,OAAO,CAAC;AACrC,YAAA,IAAI,CAAC,QAAQ,CAAC,EAAE,EAAE;gBAChB,OAAO,CAAC,IAAI,CAAC,CAAmB,gBAAA,EAAA,IAAI,CAAC,IAAI,CAAO,IAAA,EAAA,OAAO,CAAE,CAAA,CAAC;gBAC1D;;AAEF,YAAA,MAAM,OAAO,GAAG,MAAM,QAAQ,CAAC,IAAI,EAAE;AACrC,YAAA,IAAI,CAAC,UAAU,GAAG,OAAO;;QACzB,OAAO,KAAK,EAAE;AACd,YAAA,OAAO,CAAC,KAAK,CAAC,oBAAoB,EAAE,KAAK,CAAC;;;IAI9C,MAAM,GAAA;QACJ,MAAM,UAAU,GACd,IAAI,CAAC,KAAK,KAAK,cAAc,GAAG,cAAc,GAAG,gBAAgB,CAAC,IAAI,CAAC,KAAK,CAAC;AAE/E,QAAA,IAAI,mBAAmB,GAAG,IAAI,CAAC,UAAU;QACzC,IAAI,IAAI,CAAC,UAAU,I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EAAE,IAAI,CAAC,YAAY;YAC7C,sBAAsB,EAAE,IAAI,CAAC,SAAS;SACvC;AAED,QAAA,QACE,CAAC,CAAA,GAAG,EAAC,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,IAAI,CAAC,QAAQ,EAAE,EAAE,EAAA,EACpD,CAAa,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,CAAA,CACT;;IAIF,MAAM,GAAA;AACZ,QAAA,QAAQ,IAAI,CAAC,OAAO;AAClB,YAAA,KAAK,IAAI;AACT,YAAA,KAAK,IAAI;AACT,YAAA,KAAK,IAAI;AACT,YAAA,KAAK,IAAI;AACT,YAAA,KAAK,IAAI;AACT,YAAA,KAAK,IAAI;gBACP,OAAO,IAAI,CAAC,OAAO;AACrB,YAAA,KAAK,WAAW;AAChB,YAAA,KAAK,WAAW;AAChB,YAAA,KAAK,WAAW;AACd,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,OAAO;AACZ,YAAA,KAAK,OAAO;AACZ,YAAA,KAAK,OAAO;AACV,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,QAAQ;AACX,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,SAAS;AACd,YAAA,KAAK,UAAU;AACb,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,QAAQ;AACb,YAAA,KAAK,kBAAkB;AACrB,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,eAAe;AAClB,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,SAAS;AACZ,gBAAA,OAAO,MAAM;AACf,YAAA;AACE,gBAAA,OAAO,GAAG;;;;;;;;"}
@@ -52,7 +52,7 @@ const Icon = class {
52
52
  }
53
53
  };
54
54
 
55
- const typographyCss = ":root{--rebill-color-primary:#3b82f6;--rebill-color-primary-light:rgba(59, 130, 246, 0.1);--rebill-color-primary-hover:#2563eb;--rebill-color-primary-dark:#001131;--rebill-color-primary-dark-text:#000000;--rebill-color-primary-dark-hover:#001c4a;--rebill-color-primary-dark-light:rgba(0, 17, 49, 0.1);--rebill-color-error:#ef4444;--rebill-color-error-background:#fef2f2;--rebill-color-error-light:rgba(239, 68, 68, 0.1);--rebill-color-error-dark:#6f101b;--rebill-color-background:#ffffff;--rebill-color-background-left:#fafafa;--rebill-color-background-right:#f4f5f6;--rebill-color-background-secondary:#f7f8fa;--rebill-color-border:#ebedef;--rebill-color-timeline-connector:#c4c8cf;--rebill-color-neutrals-700:#58616e;--rebill-color-neutrals-500:#9ca3af;--rebill-color-border-primary:#e4e4e7;--rebill-color-text-primary:#3b4049;--rebill-color-text-secondary:#6b7280;--rebill-color-grey-700:#7d7d7d;--rebill-color-text-secondary-light:#a1a1aa;--rebill-color-text-on-primary:#ffffff;--rebill-color-disabled:#9ca3af;--rebill-color-shadow:rgba(0, 0, 0, 0.1);--rebill-color-green:#10b981;--rebill-color-green-text:#257c67;--rebill-color-green-light:rgba(183, 233, 221, 0.15);--rebill-color-green-light-2:rgba(183, 233, 221, 1);--rebill-color-info-background:#d5e4ff;--rebill-color-info-border:#0156f6;--rebill-color-info-text:#172b85;--rebill-color-background-secondary-light:#f7f8fa;--rebill-breakpoint-mobile:768px;--rebill-breakpoint-tablet:1024px;--rebill-breakpoint-desktop:1025px;--rebill-color-orange:#ff9400;--rebill-color-black:#1e2025;--rebill-color-grey-300:#3b4049;--rebill-color-grey-100:#aeaeae}*{transition:none !important}.qr-container,.qr-image,.qr-image svg,.qr-image img,[class*='qr-'],[class*='success'],[class*='receipt']{transition:none !important;animation:none !important;will-change:auto !important}button:active,button:focus,button:hover{isolation:isolate}:host{display:block;margin:0;padding:0}.typography-h1{font-size:6rem;font-weight:300;line-height:1.167;letter-spacing:-0.01562em}.typography-h2{font-size:3.75rem;font-weight:300;line-height:1.2;letter-spacing:-0.00833em}.typography-h3{font-size:1.375rem;font-weight:600;font-style:Medium;line-height:20px;letter-spacing:0px;margin-bottom:0;margin-top:0}.typography-h4{font-size:2.125rem;font-weight:600;line-height:1.235;letter-spacing:0.00735em;margin-bottom:0;margin-top:0}.typography-h5{font-size:1.5rem;font-weight:400;line-height:1.334;letter-spacing:0}.typography-h6{font-size:1.25rem;font-weight:500;line-height:1.6;letter-spacing:0.0075em;margin-bottom:0;margin-top:0}.typography-subtitle-bold{font-size:14px;font-weight:500;letter-spacing:0;margin-bottom:0;margin-top:0}.typography-subtitle1{font-size:1rem;font-weight:400;line-height:1.75;letter-spacing:0.00938em;margin-bottom:0;margin-top:0}.typography-subtitle2{font-size:12px;font-weight:400}.typography-subtitle3{font-size:10px;font-weight:500}.typography-body1{font-size:16px;font-weight:500;letter-spacing:0.00938em}.typography-body2{font-size:14px;font-weight:400 !important;letter-spacing:0.01071em;margin-bottom:0;margin-top:0}.typography-body3{font-size:16px;font-weight:500;letter-spacing:0.01071em;margin-bottom:0;margin-top:0}@media (max-width: 1024px){.typography-body2{line-height:20px}}.typography-button{font-size:0.875rem;font-weight:500;line-height:1.75;letter-spacing:0.02857em;text-transform:uppercase}.typography-caption{font-size:0.75rem;font-weight:400;line-height:1.66;letter-spacing:0.03333em}.typography-overline{font-size:14px;font-weight:600;line-height:20px}.typography-italic{font-weight:500;font-style:italic;font-size:11px;line-height:24px;letter-spacing:0%}.typography-information-text{font-weight:500;font-size:11px;line-height:160%}.typography-align-left{text-align:left}.typography-align-center{text-align:center}.typography-align-right{text-align:right}.typography-align-justify{text-align:justify}.typography-no-wrap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.typography-paragraph{margin-bottom:16px}.typography-h4-span{font-size:34px;font-weight:500;letter-spacing:0%;margin-bottom:0;margin-top:0}";
55
+ const typographyCss = ":root{--rebill-color-primary:#3b82f6;--rebill-color-primary-light:rgba(59, 130, 246, 0.1);--rebill-color-primary-hover:#2563eb;--rebill-color-primary-dark:#001131;--rebill-color-primary-dark-text:#000000;--rebill-color-primary-dark-hover:#001c4a;--rebill-color-primary-dark-light:rgba(0, 17, 49, 0.1);--rebill-color-error:#ef4444;--rebill-color-error-background:#fef2f2;--rebill-color-error-light:rgba(239, 68, 68, 0.1);--rebill-color-error-dark:#6f101b;--rebill-color-background:#ffffff;--rebill-color-background-left:#fafafa;--rebill-color-background-right:#f4f5f6;--rebill-color-background-secondary:#f7f8fa;--rebill-color-border:#ebedef;--rebill-color-timeline-connector:#c4c8cf;--rebill-color-neutrals-700:#58616e;--rebill-color-neutrals-500:#9ca3af;--rebill-color-border-primary:#e4e4e7;--rebill-color-text-primary:#3b4049;--rebill-color-text-secondary:#6b7280;--rebill-color-grey-700:#7d7d7d;--rebill-color-text-secondary-light:#a1a1aa;--rebill-color-text-on-primary:#ffffff;--rebill-color-disabled:#9ca3af;--rebill-color-shadow:rgba(0, 0, 0, 0.1);--rebill-color-green:#10b981;--rebill-color-green-text:#257c67;--rebill-color-green-light:rgba(183, 233, 221, 0.15);--rebill-color-green-light-2:rgba(183, 233, 221, 1);--rebill-color-info-background:#d5e4ff;--rebill-color-info-border:#0156f6;--rebill-color-info-text:#172b85;--rebill-color-background-secondary-light:#f7f8fa;--rebill-breakpoint-mobile:768px;--rebill-breakpoint-tablet:1024px;--rebill-breakpoint-desktop:1025px;--rebill-color-orange:#ff9400;--rebill-color-black:#1e2025;--rebill-color-grey-300:#3b4049;--rebill-color-grey-100:#aeaeae}.qr-container,.qr-image,.qr-image svg,.qr-image img,[class*='qr-'],[class*='success'],[class*='receipt']{transition:none !important;animation:none !important;will-change:auto !important}button:active,button:focus,button:hover{isolation:isolate}:host{display:block;margin:0;padding:0}.typography-h1{font-size:6rem;font-weight:300;line-height:1.167;letter-spacing:-0.01562em}.typography-h2{font-size:3.75rem;font-weight:300;line-height:1.2;letter-spacing:-0.00833em}.typography-h3{font-size:1.375rem;font-weight:600;font-style:Medium;line-height:20px;letter-spacing:0px;margin-bottom:0;margin-top:0}.typography-h4{font-size:2.125rem;font-weight:600;line-height:1.235;letter-spacing:0.00735em;margin-bottom:0;margin-top:0}.typography-h5{font-size:1.5rem;font-weight:400;line-height:1.334;letter-spacing:0}.typography-h6{font-size:1.25rem;font-weight:500;line-height:1.6;letter-spacing:0.0075em;margin-bottom:0;margin-top:0}.typography-subtitle-bold{font-size:14px;font-weight:500;letter-spacing:0;margin-bottom:0;margin-top:0}.typography-subtitle1{font-size:1rem;font-weight:400;line-height:1.75;letter-spacing:0.00938em;margin-bottom:0;margin-top:0}.typography-subtitle2{font-size:12px;font-weight:400}.typography-subtitle3{font-size:10px;font-weight:500}.typography-body1{font-size:16px;font-weight:500;letter-spacing:0.00938em}.typography-body2{font-size:14px;font-weight:400 !important;letter-spacing:0.01071em;margin-bottom:0;margin-top:0}.typography-body3{font-size:16px;font-weight:500;letter-spacing:0.01071em;margin-bottom:0;margin-top:0}@media (max-width: 1024px){.typography-body2{line-height:20px}}.typography-button{font-size:0.875rem;font-weight:500;line-height:1.75;letter-spacing:0.02857em;text-transform:uppercase}.typography-caption{font-size:0.75rem;font-weight:400;line-height:1.66;letter-spacing:0.03333em}.typography-overline{font-size:14px;font-weight:600;line-height:20px}.typography-italic{font-weight:500;font-style:italic;font-size:11px;line-height:24px;letter-spacing:0%}.typography-information-text{font-weight:500;font-size:11px;line-height:160%}.typography-align-left{text-align:left}.typography-align-center{text-align:center}.typography-align-right{text-align:right}.typography-align-justify{text-align:justify}.typography-no-wrap{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.typography-paragraph{margin-bottom:16px}.typography-h4-span{font-size:34px;font-weight:500;letter-spacing:0%;margin-bottom:0;margin-top:0}";
56
56
 
57
57
  const Typography = class {
58
58
  constructor(hostRef) {
@@ -1 +1 @@
1
- {"file":"rebill-icon.rebill-typography.entry.js","mappings":";;;;;MAQa,IAAI,GAAA,MAAA;;;;IACP,IAAI,GAAW,MAAM;AACrB,IAAA,IAAI;IACJ,KAAK,GAAiC,cAAc;IAEnD,UAAU,GAAW,EAAE;IAEhC,iBAAiB,GAAA;QACf,IAAI,CAAC,QAAQ,EAAE;;AAGjB,IAAA,MAAM,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AI;AACT,YAAA,KAAK,IAAI;AACT,YAAA,KAAK,IAAI;AACT,YAAA,KAAK,IAAI;gBACP,OAAO,IAAI,CAAC,OAAO;AACrB,YAAA,KAAK,WAAW;AAChB,YAAA,KAAK,WAAW;AAChB,YAAA,KAAK,WAAW;AACd,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,OAAO;AACZ,YAAA,KAAK,OAAO;AACZ,YAAA,KAAK,OAAO;AACV,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,QAAQ;AACX,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,SAAS;AACd,YAAA,KAAK,UAAU;AACb,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,QAAQ;AACb,YAAA,KAAK,kBAAkB;AACrB,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,eAAe;AAClB,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,SAAS;AACZ,gBAAA,OAAO,MAAM;AACf,YAAA;AACE,gBAAA,OAAO,GAAG;;;;;;;;","names":[],"sources":["src/components/shared/icon/icon.tsx","src/components/shared/typography/typography.css?tag=rebill-typography","src/components/shared/typography/typography.tsx"],"sourcesContent":["import { Component, h, Prop, State } from '@stencil/core';\nimport { getAssetURL } from '../../../utils/assets';\nimport { colorClassMapper, COLORS_ENUM } from '../../../utils/color-class-mapper';\n\n@Component({\n tag: 'rebill-icon',\n shadow: false,\n})\nexport class Icon {\n @Prop() name: string = 'card';\n @Prop() size: string;\n @Prop() color: COLORS_ENUM | 'currentColor' = 'currentColor';\n\n @State() svgContent: string = '';\n\n componentWillLoad() {\n this.loadIcon();\n }\n\n async loadIcon() {\n if (!this.name) return;\n try {\n const iconURL = getAssetURL(`icons/${this.name}.svg`);\n const response = await fetch(iconURL);\n if (!response.ok) {\n console.warn(`Icon not found: ${this.name} at ${iconURL}`);\n return;\n }\n const svgText = await response.text();\n this.svgContent = svgText;\n } catch (error) {\n console.error('Error loading SVG:', error);\n }\n }\n\n render() {\n const colorValue =\n this.color === 'currentColor' ? 'currentColor' : colorClassMapper(this.color);\n\n let processedSvgContent = this.svgContent;\n if (this.svgContent && this.color !== 'currentColor') {\n processedSvgContent = this.svgContent\n .replace(/fill=\"[^\"]*\"/g, `fill=\"${colorValue}\"`)\n .replace(/stroke=\"[^\"]*\"/g, `stroke=\"${colorValue}\"`)\n .replace(/fill='[^']*'/g, `fill='${colorValue}'`)\n .replace(/stroke='[^']*'/g, `stroke='${colorValue}'`);\n }\n\n return (\n <div\n style={{\n width: this.size,\n height: this.size,\n color: colorValue,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n }}\n innerHTML={processedSvgContent}\n ></div>\n );\n }\n}\n","@import '../../../styles/variables.css';\n\n:host {\n display: block;\n margin: 0;\n padding: 0;\n}\n\n/* Heading styles */\n.typography-h1 {\n font-size: 6rem;\n font-weight: 300;\n line-height: 1.167;\n letter-spacing: -0.01562em;\n}\n\n.typography-h2 {\n font-size: 3.75rem;\n font-weight: 300;\n line-height: 1.2;\n letter-spacing: -0.00833em;\n}\n\n.typography-h3 {\n font-size: 1.375rem;\n font-weight: 600;\n font-style: Medium;\n line-height: 20px;\n letter-spacing: 0px;\n margin-bottom: 0;\n margin-top: 0;\n}\n\n.typography-h4 {\n font-size: 2.125rem;\n font-weight: 600;\n line-height: 1.235;\n letter-spacing: 0.00735em;\n margin-bottom: 0;\n margin-top: 0;\n}\n\n.typography-h5 {\n font-size: 1.5rem;\n font-weight: 400;\n line-height: 1.334;\n letter-spacing: 0;\n}\n\n.typography-h6 {\n font-size: 1.25rem;\n font-weight: 500;\n line-height: 1.6;\n letter-spacing: 0.0075em;\n margin-bottom: 0;\n margin-top: 0;\n}\n.typography-subtitle-bold {\n font-size: 14px;\n font-weight: 500;\n letter-spacing: 0;\n margin-bottom: 0;\n margin-top: 0;\n}\n/* Subtitle styles */\n.typography-subtitle1 {\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.75;\n letter-spacing: 0.00938em;\n margin-bottom: 0;\n margin-top: 0;\n}\n\n.typography-subtitle2 {\n font-size: 12px;\n font-weight: 400;\n}\n.typography-subtitle3 {\n font-size: 10px;\n font-weight: 500;\n}\n/* Body styles */\n.typography-body1 {\n font-size: 16px;\n font-weight: 500;\n letter-spacing: 0.00938em;\n}\n\n.typography-body2 {\n font-size: 14px;\n font-weight: 400 !important;\n letter-spacing: 0.01071em;\n margin-bottom: 0;\n margin-top: 0;\n}\n.typography-body3 {\n font-size: 16px;\n font-weight: 500;\n letter-spacing: 0.01071em;\n margin-bottom: 0;\n margin-top: 0;\n}\n\n@media (max-width: 1024px) {\n .typography-body2 {\n line-height: 20px;\n }\n}\n\n/* Button text */\n.typography-button {\n font-size: 0.875rem;\n font-weight: 500;\n line-height: 1.75;\n letter-spacing: 0.02857em;\n text-transform: uppercase;\n}\n\n/* Caption */\n.typography-caption {\n font-size: 0.75rem;\n font-weight: 400;\n line-height: 1.66;\n letter-spacing: 0.03333em;\n}\n\n/* Overline */\n.typography-overline {\n font-size: 14px;\n font-weight: 600;\n line-height: 20px;\n}\n\n/* Italic */\n.typography-italic {\n font-weight: 500;\n font-style: italic;\n font-size: 11px;\n line-height: 24px;\n letter-spacing: 0%;\n}\n\n.typography-information-text {\n font-weight: 500;\n font-size: 11px;\n line-height: 160%;\n}\n\n/* Alignment */\n.typography-align-left {\n text-align: left;\n}\n\n.typography-align-center {\n text-align: center;\n}\n\n.typography-align-right {\n text-align: right;\n}\n\n.typography-align-justify {\n text-align: justify;\n}\n\n/* Additional styles */\n.typography-no-wrap {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* .typography-gutter-bottom {\n margin-bottom: 0.35em;\n} */\n\n.typography-paragraph {\n margin-bottom: 16px;\n}\n.typography-h4-span {\n font-size: 34px;\n font-weight: 500;\n\n letter-spacing: 0%;\n margin-bottom: 0;\n margin-top: 0;\n}\n","import { Component, h, Prop } from '@stencil/core';\nimport { colorClassMapper, COLORS_ENUM } from '../../../utils/color-class-mapper';\n\nexport type TypographyVariant =\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'subtitle1'\n | 'subtitle2'\n | 'subtitle-bold'\n | 'body1'\n | 'body2'\n | 'body3'\n | 'button'\n | 'caption'\n | 'overline'\n | 'italic'\n | 'information-text'\n | 'h4-span'\n | 'subtitle3';\n\n@Component({\n tag: 'rebill-typography',\n styleUrl: 'typography.css',\n shadow: false,\n})\nexport class Typography {\n @Prop() variant: TypographyVariant = 'body1';\n @Prop() color?: COLORS_ENUM;\n @Prop() align?: 'left' | 'center' | 'right' | 'justify';\n @Prop() noWrap?: boolean;\n @Prop() gutterBottom?: boolean;\n @Prop() paragraph?: boolean;\n\n private getColor = () => colorClassMapper(this.color);\n\n render() {\n const Tag = this.getTag();\n const classes = {\n [`typography-${this.variant}`]: true,\n [`typography-align-${this.align}`]: this.align,\n 'typography-no-wrap': this.noWrap,\n 'typography-gutter-bottom': this.gutterBottom,\n 'typography-paragraph': this.paragraph,\n };\n\n return (\n <Tag class={classes} style={{ color: this.getColor() }}>\n <slot></slot>\n </Tag>\n );\n }\n\n private getTag(): string {\n switch (this.variant) {\n case 'h1':\n case 'h2':\n case 'h3':\n case 'h4':\n case 'h5':\n case 'h6':\n return this.variant;\n case 'subtitle1':\n case 'subtitle2':\n case 'subtitle3':\n return 'span';\n case 'body1':\n case 'body2':\n case 'body3':\n return 'span';\n case 'button':\n return 'span';\n case 'caption':\n case 'overline':\n return 'span';\n case 'italic':\n case 'information-text':\n return 'span';\n case 'subtitle-bold':\n return 'span';\n case 'h4-span':\n return 'span';\n default:\n return 'p';\n }\n }\n}\n"],"version":3}
1
+ {"file":"rebill-icon.rebill-typography.entry.js","mappings":";;;;;MAQa,IAAI,GAAA,MAAA;;;;IACP,IAAI,GAAW,MAAM;AACrB,IAAA,IAAI;IACJ,KAAK,GAAiC,cAAc;IAEnD,UAAU,GAAW,EAAE;IAEhC,iBAAiB,GAAA;QACf,IAAI,CAAC,QAAQ,EAAE;;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AACT,YAAA,KAAK,IAAI;AACT,YAAA,KAAK,IAAI;AACT,YAAA,KAAK,IAAI;AACT,YAAA,KAAK,IAAI;gBACP,OAAO,IAAI,CAAC,OAAO;AACrB,YAAA,KAAK,WAAW;AAChB,YAAA,KAAK,WAAW;AAChB,YAAA,KAAK,WAAW;AACd,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,OAAO;AACZ,YAAA,KAAK,OAAO;AACZ,YAAA,KAAK,OAAO;AACV,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,QAAQ;AACX,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,SAAS;AACd,YAAA,KAAK,UAAU;AACb,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,QAAQ;AACb,YAAA,KAAK,kBAAkB;AACrB,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,eAAe;AAClB,gBAAA,OAAO,MAAM;AACf,YAAA,KAAK,SAAS;AACZ,gBAAA,OAAO,MAAM;AACf,YAAA;AACE,gBAAA,OAAO,GAAG;;;;;;;;","names":[],"sources":["src/components/shared/icon/icon.tsx","src/components/shared/typography/typography.css?tag=rebill-typography","src/components/shared/typography/typography.tsx"],"sourcesContent":["import { Component, h, Prop, State } from '@stencil/core';\nimport { getAssetURL } from '../../../utils/assets';\nimport { colorClassMapper, COLORS_ENUM } from '../../../utils/color-class-mapper';\n\n@Component({\n tag: 'rebill-icon',\n shadow: false,\n})\nexport class Icon {\n @Prop() name: string = 'card';\n @Prop() size: string;\n @Prop() color: COLORS_ENUM | 'currentColor' = 'currentColor';\n\n @State() svgContent: string = '';\n\n componentWillLoad() {\n this.loadIcon();\n }\n\n async loadIcon() {\n if (!this.name) return;\n try {\n const iconURL = getAssetURL(`icons/${this.name}.svg`);\n const response = await fetch(iconURL);\n if (!response.ok) {\n console.warn(`Icon not found: ${this.name} at ${iconURL}`);\n return;\n }\n const svgText = await response.text();\n this.svgContent = svgText;\n } catch (error) {\n console.error('Error loading SVG:', error);\n }\n }\n\n render() {\n const colorValue =\n this.color === 'currentColor' ? 'currentColor' : colorClassMapper(this.color);\n\n let processedSvgContent = this.svgContent;\n if (this.svgContent && this.color !== 'currentColor') {\n processedSvgContent = this.svgContent\n .replace(/fill=\"[^\"]*\"/g, `fill=\"${colorValue}\"`)\n .replace(/stroke=\"[^\"]*\"/g, `stroke=\"${colorValue}\"`)\n .replace(/fill='[^']*'/g, `fill='${colorValue}'`)\n .replace(/stroke='[^']*'/g, `stroke='${colorValue}'`);\n }\n\n return (\n <div\n style={{\n width: this.size,\n height: this.size,\n color: colorValue,\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n }}\n innerHTML={processedSvgContent}\n ></div>\n );\n }\n}\n","@import '../../../styles/variables.css';\n\n:host {\n display: block;\n margin: 0;\n padding: 0;\n}\n\n/* Heading styles */\n.typography-h1 {\n font-size: 6rem;\n font-weight: 300;\n line-height: 1.167;\n letter-spacing: -0.01562em;\n}\n\n.typography-h2 {\n font-size: 3.75rem;\n font-weight: 300;\n line-height: 1.2;\n letter-spacing: -0.00833em;\n}\n\n.typography-h3 {\n font-size: 1.375rem;\n font-weight: 600;\n font-style: Medium;\n line-height: 20px;\n letter-spacing: 0px;\n margin-bottom: 0;\n margin-top: 0;\n}\n\n.typography-h4 {\n font-size: 2.125rem;\n font-weight: 600;\n line-height: 1.235;\n letter-spacing: 0.00735em;\n margin-bottom: 0;\n margin-top: 0;\n}\n\n.typography-h5 {\n font-size: 1.5rem;\n font-weight: 400;\n line-height: 1.334;\n letter-spacing: 0;\n}\n\n.typography-h6 {\n font-size: 1.25rem;\n font-weight: 500;\n line-height: 1.6;\n letter-spacing: 0.0075em;\n margin-bottom: 0;\n margin-top: 0;\n}\n.typography-subtitle-bold {\n font-size: 14px;\n font-weight: 500;\n letter-spacing: 0;\n margin-bottom: 0;\n margin-top: 0;\n}\n/* Subtitle styles */\n.typography-subtitle1 {\n font-size: 1rem;\n font-weight: 400;\n line-height: 1.75;\n letter-spacing: 0.00938em;\n margin-bottom: 0;\n margin-top: 0;\n}\n\n.typography-subtitle2 {\n font-size: 12px;\n font-weight: 400;\n}\n.typography-subtitle3 {\n font-size: 10px;\n font-weight: 500;\n}\n/* Body styles */\n.typography-body1 {\n font-size: 16px;\n font-weight: 500;\n letter-spacing: 0.00938em;\n}\n\n.typography-body2 {\n font-size: 14px;\n font-weight: 400 !important;\n letter-spacing: 0.01071em;\n margin-bottom: 0;\n margin-top: 0;\n}\n.typography-body3 {\n font-size: 16px;\n font-weight: 500;\n letter-spacing: 0.01071em;\n margin-bottom: 0;\n margin-top: 0;\n}\n\n@media (max-width: 1024px) {\n .typography-body2 {\n line-height: 20px;\n }\n}\n\n/* Button text */\n.typography-button {\n font-size: 0.875rem;\n font-weight: 500;\n line-height: 1.75;\n letter-spacing: 0.02857em;\n text-transform: uppercase;\n}\n\n/* Caption */\n.typography-caption {\n font-size: 0.75rem;\n font-weight: 400;\n line-height: 1.66;\n letter-spacing: 0.03333em;\n}\n\n/* Overline */\n.typography-overline {\n font-size: 14px;\n font-weight: 600;\n line-height: 20px;\n}\n\n/* Italic */\n.typography-italic {\n font-weight: 500;\n font-style: italic;\n font-size: 11px;\n line-height: 24px;\n letter-spacing: 0%;\n}\n\n.typography-information-text {\n font-weight: 500;\n font-size: 11px;\n line-height: 160%;\n}\n\n/* Alignment */\n.typography-align-left {\n text-align: left;\n}\n\n.typography-align-center {\n text-align: center;\n}\n\n.typography-align-right {\n text-align: right;\n}\n\n.typography-align-justify {\n text-align: justify;\n}\n\n/* Additional styles */\n.typography-no-wrap {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n/* .typography-gutter-bottom {\n margin-bottom: 0.35em;\n} */\n\n.typography-paragraph {\n margin-bottom: 16px;\n}\n.typography-h4-span {\n font-size: 34px;\n font-weight: 500;\n\n letter-spacing: 0%;\n margin-bottom: 0;\n margin-top: 0;\n}\n","import { Component, h, Prop } from '@stencil/core';\nimport { colorClassMapper, COLORS_ENUM } from '../../../utils/color-class-mapper';\n\nexport type TypographyVariant =\n | 'h1'\n | 'h2'\n | 'h3'\n | 'h4'\n | 'h5'\n | 'h6'\n | 'subtitle1'\n | 'subtitle2'\n | 'subtitle-bold'\n | 'body1'\n | 'body2'\n | 'body3'\n | 'button'\n | 'caption'\n | 'overline'\n | 'italic'\n | 'information-text'\n | 'h4-span'\n | 'subtitle3';\n\n@Component({\n tag: 'rebill-typography',\n styleUrl: 'typography.css',\n shadow: false,\n})\nexport class Typography {\n @Prop() variant: TypographyVariant = 'body1';\n @Prop() color?: COLORS_ENUM;\n @Prop() align?: 'left' | 'center' | 'right' | 'justify';\n @Prop() noWrap?: boolean;\n @Prop() gutterBottom?: boolean;\n @Prop() paragraph?: boolean;\n\n private getColor = () => colorClassMapper(this.color);\n\n render() {\n const Tag = this.getTag();\n const classes = {\n [`typography-${this.variant}`]: true,\n [`typography-align-${this.align}`]: this.align,\n 'typography-no-wrap': this.noWrap,\n 'typography-gutter-bottom': this.gutterBottom,\n 'typography-paragraph': this.paragraph,\n };\n\n return (\n <Tag class={classes} style={{ color: this.getColor() }}>\n <slot></slot>\n </Tag>\n );\n }\n\n private getTag(): string {\n switch (this.variant) {\n case 'h1':\n case 'h2':\n case 'h3':\n case 'h4':\n case 'h5':\n case 'h6':\n return this.variant;\n case 'subtitle1':\n case 'subtitle2':\n case 'subtitle3':\n return 'span';\n case 'body1':\n case 'body2':\n case 'body3':\n return 'span';\n case 'button':\n return 'span';\n case 'caption':\n case 'overline':\n return 'span';\n case 'italic':\n case 'information-text':\n return 'span';\n case 'subtitle-bold':\n return 'span';\n case 'h4-span':\n return 'span';\n default:\n return 'p';\n }\n }\n}\n"],"version":3}
@@ -1,6 +1,6 @@
1
1
  import { r as registerInstance, d as createEvent, e as getElement, h } from './index-C_sJwcUU.js';
2
2
 
3
- const inputTextCss = ".input-container{display:flex;flex-direction:column}.input-label{font-size:0.875rem;color:var(--rebill-color-text-primary);font-weight:500;margin-bottom:0.375rem}.input-label.disabled{cursor:not-allowed}.input-element{border-radius:var(--input-group-inner-border-radius, 8px);border:1.5px solid var(--rebill-color-border);padding:10px 14px;font-size:0.875rem;color:var(--rebill-color-text-primary);outline:none;transition:border-color 0.2s;background:var(--rebill-color-background);height:38.33px;box-sizing:border-box}.input-element.input-error{border-color:var(--rebill-color-error)}.input-element:disabled{background-color:var(--rebill-color-background);border-color:var(--rebill-color-disabled);color:var(--rebill-color-text-secondary);cursor:not-allowed;opacity:0.7}select.input-element{padding:10px 30px 10px 14px;appearance:none;cursor:pointer}select.input-element:disabled{cursor:not-allowed}.input-element:focus{border-color:var(--rebill-color-primary)}.input-element:disabled:focus{border-color:var(--rebill-color-disabled)}.input-element::placeholder{color:var(--rebill-color-text-secondary-light);font-size:0.875rem;opacity:1}.select-wrapper.disabled .select-icon{color:var(--rebill-color-disabled)}.error-message{color:var(--rebill-color-error);font-size:0.75rem;margin-top:0.375rem}.input-wrapper{position:relative;display:flex;align-items:center}.input-element{width:100%;box-sizing:border-box}.icon-left,.icon-right{position:absolute;display:flex;align-items:center;justify-content:center;top:50%;transform:translateY(-50%)}.icon-left{left:0.75rem;color:var(--rebill-color-text-secondary-light)}.icon-right{right:0.75rem;cursor:pointer;color:var(--rebill-color-text-secondary-light)}.input-element.input-error:focus{flex-direction:column;box-shadow:0 0 0 2px var(--rebill-color-error-light)}.floating-label{position:relative}.floating-label .input-label{position:absolute;top:50%;left:0.75rem;transform:translateY(-50%);color:var(--rebill-color-text-secondary-light);transition:all 0.1s ease-in-out;pointer-events:none}.floating-label .input-element::placeholder{color:transparent}.floating-label .input-element:focus~.input-label,.floating-label .input-element:not(:placeholder-shown)~.input-label{top:0;font-size:0.62rem;color:var(--rebill-color-text-secondary);background-color:var(--rebill-color-background);padding:0 4px;left:0.75rem}.floating-label.has-left-icon .input-label{left:2.5rem}.input-element:disabled{color:var(--rebill-color-neutrals-500)}.input-wrapper:has(.input-element:disabled) .icon-left,.input-wrapper:has(.input-element:disabled) .icon-right{color:var(--rebill-color-text-secondary-light) !important}";
3
+ const inputTextCss = ".input-container{display:flex;flex-direction:column}.input-label{font-size:0.875rem;color:var(--rebill-color-text-primary);font-weight:500;margin-bottom:0.375rem}.input-label.disabled{cursor:not-allowed}.input-element{border-radius:var(--input-group-inner-border-radius, 8px);border:1.5px solid var(--rebill-color-border);padding:10px 14px;font-size:0.875rem;color:var(--rebill-color-text-primary);outline:none;transition:border-color 0.2s;background:var(--rebill-color-background);height:38.33px;box-sizing:border-box}.input-element.input-error{border-color:var(--rebill-color-error)}.input-element:disabled{background-color:var(--rebill-color-background);border-color:var(--rebill-color-disabled);color:var(--rebill-color-text-secondary);cursor:not-allowed;opacity:0.7}select.input-element{padding:10px 30px 10px 14px;appearance:none;cursor:pointer}select.input-element:disabled{cursor:not-allowed}.input-element:focus{border-color:var(--rebill-color-primary)}.input-element:disabled:focus{border-color:var(--rebill-color-disabled)}.input-element::placeholder{color:var(--rebill-color-text-secondary-light);font-size:0.875rem;opacity:1}.select-wrapper.disabled .select-icon{color:var(--rebill-color-disabled)}.error-message{color:var(--rebill-color-error);font-size:0.75rem;margin-top:0.375rem}.input-wrapper{position:relative;display:flex;align-items:center}.input-element{width:100%;box-sizing:border-box}.icon-left,.icon-right{position:absolute;display:flex;align-items:center;justify-content:center;top:50%;transform:translateY(-50%)}.icon-left{left:0.75rem;color:var(--rebill-color-text-secondary-light)}.icon-right{right:0.75rem;cursor:pointer;color:var(--rebill-color-text-secondary-light)}.input-element.input-error:focus{flex-direction:column;box-shadow:0 0 0 2px var(--rebill-color-error-light)}.floating-label{position:relative}.floating-label .input-text__input-label{position:absolute;top:50%;left:0.75rem;transform:translateY(-50%);color:var(--rebill-color-text-secondary-light);transition:all 0.1s ease-in-out;pointer-events:none}.floating-label .input-element::placeholder{color:transparent}.floating-label .input-element:focus~.input-text__input-label,.floating-label .input-element:not(:placeholder-shown)~.input-text__input-label{top:0;font-size:0.62rem;color:var(--rebill-color-text-secondary);background-color:var(--rebill-color-background);padding:0 4px;left:0.75rem}.floating-label.has-left-icon .input-text__input-label{left:2.5rem}.input-element:disabled{color:var(--rebill-color-neutrals-500)}.input-wrapper:has(.input-element:disabled) .icon-left,.input-wrapper:has(.input-element:disabled) .icon-right{color:var(--rebill-color-text-secondary-light) !important}";
4
4
 
5
5
  const InputText = class {
6
6
  constructor(hostRef) {
@@ -98,7 +98,7 @@ const InputText = class {
98
98
  return (h("div", { key: 'ae839c43b839fd758395e38d5fe0a72c55a8ee9f', class: "input-container" }, !isFloating && this.label && (h("label", { key: 'fb636004e05ca2b8e76c2081d060e1a9bd2f9c16', class: `input-label ${this.disabled ? 'disabled' : ''}` }, this.label)), h("div", { key: '9eb98685027a407cc996e84bf305982e52c0284c', class: wrapperClasses }, this.leftIcon && (h("div", { key: '571a39e99cb432c3d64d0d0215ae984460df7f4c', class: "icon-left" }, h("rebill-icon", { key: '179a0b6cd7d749ed04d57000336b1ab852f07972', name: this.leftIcon }))), h("input", { key: 'b572b87584c7bada77123da31b221526e277488b', ref: el => (this.inputElement = el), type: "text", class: inputClasses, placeholder: isFloating ? this.label : this.placeholder, value: this.value, onInput: this.onInput, onBlur: this.onBlur, disabled: this.disabled, style: {
99
99
  paddingLeft: this.leftIcon ? '2.5rem' : '0.75rem',
100
100
  paddingRight: this.clearable || this.rightIcon ? '2.5rem' : '0.75rem',
101
- } }), isFloating && h("label", { key: '429c7dcec5eb91009fb641d81b46044968f9926e', class: "input-label" }, this.label), this.clearable && this.value && (h("div", { key: 'd99318529056a6fc248a5a88049f284f4d637201', class: "icon-right", onClick: this.onClear }, h("rebill-icon", { key: '2a50251d20d1edeadffac9ebe9fb2c5d8d7818bf', name: "x" }))), this.rightIcon && !this.clearable && (h("div", { key: 'e5bc2350e31b100edee41a17a357418cc36504c0', class: "icon-right", onClick: this.onRightIconClick }, h("rebill-icon", { key: 'a5b39c778c1cc826ca7ee48d045015f5caed7dd0', name: this.rightIcon })))), this.error && h("span", { key: '091b3de24f95ca6911d05521d10736179bcde4f8', class: "error-message" }, this.error)));
101
+ } }), isFloating && h("label", { key: 'f08d35728ba65ec0e63deda11f2441418ad8c6d1', class: "input-text__input-label input-label" }, this.label), this.clearable && this.value && (h("div", { key: 'eb160ca725fca0bb8087b1d06565bcd61839678c', class: "icon-right", onClick: this.onClear }, h("rebill-icon", { key: 'fd75c41488a3eb7ad9226a53d524a7ce68617a9f', name: "x" }))), this.rightIcon && !this.clearable && (h("div", { key: '8c90dafb6d714066c5491a3d39d8029824da3b75', class: "icon-right", onClick: this.onRightIconClick }, h("rebill-icon", { key: 'b4ac09f67ac75efb529e55134b2be0794486846c', name: this.rightIcon })))), this.error && h("span", { key: '6143b1e1a982362681bcb6326a815b7b5fb85c67', class: "error-message" }, this.error)));
102
102
  }
103
103
  };
104
104
  InputText.style = inputTextCss;
@@ -1 +1 @@
1
- {"version":3,"file":"rebill-input-text.entry.js","sources":["src/components/shared/inputs/input-text/input-text.css?tag=rebill-input-text","src/components/shared/inputs/input-text/input-text.tsx"],"sourcesContent":["@import '../shared-input.css';\n\n.input-wrapper {\n position: relative;\n display: flex;\n align-items: center;\n}\n\n.input-element {\n width: 100%;\n box-sizing: border-box;\n}\n\n.icon-left,\n.icon-right {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.icon-left {\n left: 0.75rem;\n color: var(--rebill-color-text-secondary-light);\n}\n\n.icon-right {\n right: 0.75rem;\n cursor: pointer;\n color: var(--rebill-color-text-secondary-light);\n}\n\n.input-element.input-error:focus {\n flex-direction: column;\n box-shadow: 0 0 0 2px var(--rebill-color-error-light);\n}\n\n/* Floating label styles */\n.floating-label {\n position: relative;\n}\n\n.floating-label .input-label {\n position: absolute;\n top: 50%;\n left: 0.75rem;\n transform: translateY(-50%);\n color: var(--rebill-color-text-secondary-light);\n transition: all 0.1s ease-in-out;\n pointer-events: none;\n}\n\n.floating-label .input-element::placeholder {\n color: transparent;\n}\n\n.floating-label .input-element:focus ~ .input-label,\n.floating-label .input-element:not(:placeholder-shown) ~ .input-label {\n top: 0;\n font-size: 0.62rem;\n color: var(--rebill-color-text-secondary);\n background-color: var(--rebill-color-background);\n padding: 0 4px;\n left: 0.75rem;\n}\n\n.floating-label.has-left-icon .input-label {\n left: 2.5rem;\n}\n\n/* Disabled state styles */\n.input-element:disabled {\n color: var(--rebill-color-neutrals-500);\n}\n\n.input-wrapper:has(.input-element:disabled) .icon-left,\n.input-wrapper:has(.input-element:disabled) .icon-right {\n color: var(--rebill-color-text-secondary-light) !important;\n}\n","import { Component, Element, Event, EventEmitter, Listen, Method, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'rebill-input-text',\n styleUrl: 'input-text.css',\n shadow: false,\n})\nexport class InputText {\n @Element() el: HTMLElement;\n private inputElement: HTMLInputElement;\n\n /** Etiqueta que se muestra arriba del input */\n @Prop() label: string = '';\n /** Placeholder del input */\n @Prop() placeholder: string = '';\n /** Valor del input */\n @Prop({ mutable: true, reflect: true }) value: string = '';\n /** Mensaje de error */\n @Prop() error: string = '';\n /** ID del input */\n @Prop() id: string = '';\n /** Estado deshabilitado */\n @Prop() disabled: boolean = false;\n /** Icono a la izquierda */\n @Prop() leftIcon: string;\n /** Icono a la derecha */\n @Prop() rightIcon: string;\n /** Permitir limpiar el input */\n @Prop() clearable: boolean = false;\n /** Variacion de estilo del input */\n @Prop() variant: 'default' | 'floating' = 'default';\n /** Convertir texto a mayúsculas automáticamente */\n @Prop() uppercase: boolean = false;\n /** Evento al cambiar el valor */\n @Event() input: EventEmitter<{ id: string; value: string }>;\n /** Evento al hacer clic en el icono derecho */\n @Event() rightIconClick: EventEmitter<{ id: string }>;\n /** Evento al salir del input */\n @Event() blur: EventEmitter<{ id: string; value: string }>;\n @Listen('change', { target: 'document' })\n handleFormChange(event: CustomEvent) {\n const formData = event.detail;\n if (formData && this.id in formData) {\n this.value = formData[this.id];\n }\n }\n\n private onInput = (event: Event) => {\n if (this.disabled) return;\n const input = event.target as HTMLInputElement;\n let inputValue = input.value;\n\n if (this.id === 'email') {\n inputValue = inputValue.toLowerCase();\n input.value = inputValue;\n } else if (this.uppercase) {\n inputValue = inputValue.toUpperCase();\n input.value = inputValue;\n }\n\n this.value = inputValue;\n this.input.emit({ id: this.id, value: this.value });\n };\n\n private onClear = () => {\n if (this.disabled) return;\n this.value = '';\n this.input.emit({ id: this.id, value: this.value });\n };\n\n private onRightIconClick = () => {\n if (this.disabled) return;\n this.rightIconClick.emit({ id: this.id });\n };\n\n private onBlur = () => {\n const trimmedValue = this.value.trim();\n\n if (trimmedValue !== this.value) {\n this.value = trimmedValue;\n this.input.emit({ id: this.id, value: this.value });\n }\n\n this.blur.emit({ id: this.id, value: this.value });\n };\n\n @Method()\n async getInputElement(): Promise<HTMLInputElement | null> {\n return this.inputElement;\n }\n\n render() {\n const isFloating = this.variant === 'floating';\n\n const inputClasses = {\n 'input-element': true,\n 'input-error': !!this.error,\n };\n\n const wrapperClasses = {\n 'input-wrapper': true,\n 'floating-label': isFloating,\n 'has-left-icon': !!this.leftIcon,\n 'has-right-icon': !!this.rightIcon,\n };\n\n return (\n <div class=\"input-container\">\n {!isFloating && this.label && (\n <label class={`input-label ${this.disabled ? 'disabled' : ''}`}>{this.label}</label>\n )}\n <div class={wrapperClasses}>\n {this.leftIcon && (\n <div class=\"icon-left\">\n <rebill-icon name={this.leftIcon}></rebill-icon>\n </div>\n )}\n <input\n ref={el => (this.inputElement = el)}\n type=\"text\"\n class={inputClasses}\n placeholder={isFloating ? this.label : this.placeholder}\n value={this.value}\n onInput={this.onInput}\n onBlur={this.onBlur}\n disabled={this.disabled}\n style={{\n paddingLeft: this.leftIcon ? '2.5rem' : '0.75rem',\n paddingRight: this.clearable || this.rightIcon ? '2.5rem' : '0.75rem',\n }}\n />\n {isFloating && <label class=\"input-label\">{this.label}</label>}\n {this.clearable && this.value && (\n <div class=\"icon-right\" onClick={this.onClear}>\n <rebill-icon name=\"x\"></rebill-icon>\n </div>\n )}\n {this.rightIcon && !this.clearable && (\n <div class=\"icon-right\" onClick={this.onRightIconClick}>\n <rebill-icon name={this.rightIcon}></rebill-icon>\n </div>\n )}\n </div>\n {this.error && <span class=\"error-message\">{this.error}</span>}\n </div>\n );\n }\n}\n"],"names":[],"mappings":";;AAAA,MAAM,YAAY,GAAG,olFAAolF;;MCO5lF,SAAS,GAAA,MAAA;;;;;;;;AAEZ,IAAA,YAAY;;IAGZ,KAAK,GAAW,EAAE;;IAElB,WAAW,GAAW,EAAE;;IAEQ,KAAK,GAAW,EAAE;;IAElD,KAAK,GAAW,EAAE;;IAElB,EAAE,GAAW,EAAE;;IAEf,QAAQ,GAAY,KAAK;;AAEzB,IAAA,QAAQ;;AAER,IAAA,SAAS;;IAET,SAAS,GAAY,KAAK;;IAE1B,OAAO,GAA2B,SAAS;;IAE3C,SAAS,GAAY,KAAK;;AAEzB,IAAA,KAAK;;AAEL,IAAA,cAAc;;AAEd,IAAA,IAAI;AAEb,IAAA,gBAAgB,CAAC,KAAkB,EAAA;AACjC,QAAA,MAAM,QAAQ,GAAG,KAAK,CAAC,MAAM;QAC7B,IAAI,QAAQ,IAAI,IAAI,CAAC,EAAE,IAAI,QAAQ,EAAE;YACnC,IAAI,CAAC,KAAK,GAAG,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;;;AAI1B,IAAA,OAAO,GAAG,CAAC,KAAY,KAAI;QACjC,IAAI,IAAI,CAAC,QAAQ;YAAE;AACnB,QAAA,MAAM,KAAK,GAAG,KAAK,CAAC,MAA0B;AAC9C,QAAA,IAAI,UAAU,GAAG,KAAK,CAAC,KAAK;AAE5B,QAAA,IAAI,IAAI,CAAC,EAAE,KAAK,OAAO,EAAE;AACvB,YAAA,UAAU,GAAG,UAAU,CAAC,WAAW,EAAE;AACrC,YAAA,KAAK,CAAC,KAAK,GAAG,UAAU;;AACnB,aAAA,IAAI,IAAI,CAAC,SAAS,EAAE;AACzB,YAAA,UAAU,GAAG,UAAU,CAAC,WAAW,EAAE;AACrC,YAAA,KAAK,CAAC,KAAK,GAAG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AAO,EAAE,IAAI,CAAC,OAAO,EACrB,MAAM,EAAE,IAAI,CAAC,MAAM,EACnB,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,KAAK,EAAE;gBACL,WAAW,EAAE,IAAI,CAAC,QAAQ,GAAG,QAAQ,GAAG,SAAS;AACjD,gBAAA,YAAY,EAAE,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,SAAS,GAAG,QAAQ,GAAG,SAAS;AACtE,aAAA,EACD,CAAA,EACD,UAAU,IAAI,8DAAO,KAAK,EAAC,aAAa,EAAE,EAAA,IAAI,CAAC,KAAK,CAAS,EAC7D,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,KAAK,KAC3B,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,YAAY,EAAC,OAAO,EAAE,IAAI,CAAC,OAAO,EAAA,EAC3C,CAAA,CAAA,aAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAa,IAAI,EAAC,GAAG,EAAA,CAAe,CAChC,CACP,EACA,IAAI,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,SAAS,KAChC,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,YAAY,EAAC,OAAO,EAAE,IAAI,CAAC,gBAAgB,EAAA,EACpD,CAAa,CAAA,aAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAE,IAAI,CAAC,SAAS,EAAgB,CAAA,CAC7C,CACP,CACG,EACL,IAAI,CAAC,KAAK,IAAI,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,KAAK,EAAC,eAAe,EAAE,EAAA,IAAI,CAAC,KAAK,CAAQ,CAC1D;;;;;;;"}
1
+ {"version":3,"file":"rebill-input-text.entry.js","sources":["src/components/shared/inputs/input-text/input-text.css?tag=rebill-input-text","src/components/shared/inputs/input-text/input-text.tsx"],"sourcesContent":["@import '../shared-input.css';\n\n.input-wrapper {\n position: relative;\n display: flex;\n align-items: center;\n}\n\n.input-element {\n width: 100%;\n box-sizing: border-box;\n}\n\n.icon-left,\n.icon-right {\n position: absolute;\n display: flex;\n align-items: center;\n justify-content: center;\n top: 50%;\n transform: translateY(-50%);\n}\n\n.icon-left {\n left: 0.75rem;\n color: var(--rebill-color-text-secondary-light);\n}\n\n.icon-right {\n right: 0.75rem;\n cursor: pointer;\n color: var(--rebill-color-text-secondary-light);\n}\n\n.input-element.input-error:focus {\n flex-direction: column;\n box-shadow: 0 0 0 2px var(--rebill-color-error-light);\n}\n\n/* Floating label styles */\n.floating-label {\n position: relative;\n}\n\n.floating-label .input-text__input-label {\n position: absolute;\n top: 50%;\n left: 0.75rem;\n transform: translateY(-50%);\n color: var(--rebill-color-text-secondary-light);\n transition: all 0.1s ease-in-out;\n pointer-events: none;\n}\n\n.floating-label .input-element::placeholder {\n color: transparent;\n}\n\n.floating-label .input-element:focus ~ .input-text__input-label,\n.floating-label .input-element:not(:placeholder-shown) ~ .input-text__input-label {\n top: 0;\n font-size: 0.62rem;\n color: var(--rebill-color-text-secondary);\n background-color: var(--rebill-color-background);\n padding: 0 4px;\n left: 0.75rem;\n}\n\n.floating-label.has-left-icon .input-text__input-label {\n left: 2.5rem;\n}\n\n/* Disabled state styles */\n.input-element:disabled {\n color: var(--rebill-color-neutrals-500);\n}\n\n.input-wrapper:has(.input-element:disabled) .icon-left,\n.input-wrapper:has(.input-element:disabled) .icon-right {\n color: var(--rebill-color-text-secondary-light) !important;\n}\n","import { Component, Element, Event, EventEmitter, Listen, Method, Prop, h } from '@stencil/core';\n\n@Component({\n tag: 'rebill-input-text',\n styleUrl: 'input-text.css',\n shadow: false,\n})\nexport class InputText {\n @Element() el: HTMLElement;\n private inputElement: HTMLInputElement;\n\n /** Etiqueta que se muestra arriba del input */\n @Prop() label: string = '';\n /** Placeholder del input */\n @Prop() placeholder: string = '';\n /** Valor del input */\n @Prop({ mutable: true, reflect: true }) value: string = '';\n /** Mensaje de error */\n @Prop() error: string = '';\n /** ID del input */\n @Prop() id: string = '';\n /** Estado deshabilitado */\n @Prop() disabled: boolean = false;\n /** Icono a la izquierda */\n @Prop() leftIcon: string;\n /** Icono a la derecha */\n @Prop() rightIcon: string;\n /** Permitir limpiar el input */\n @Prop() clearable: boolean = false;\n /** Variacion de estilo del input */\n @Prop() variant: 'default' | 'floating' = 'default';\n /** Convertir texto a mayúsculas automáticamente */\n @Prop() uppercase: boolean = false;\n /** Evento al cambiar el valor */\n @Event() input: EventEmitter<{ id: string; value: string }>;\n /** Evento al hacer clic en el icono derecho */\n @Event() rightIconClick: EventEmitter<{ id: string }>;\n /** Evento al salir del input */\n @Event() blur: EventEmitter<{ id: string; value: string }>;\n @Listen('change', { target: 'document' })\n handleFormChange(event: CustomEvent) {\n const formData = event.detail;\n if (formData && this.id in formData) {\n this.value = formData[this.id];\n }\n }\n\n private onInput = (event: Event) => {\n if (this.disabled) return;\n const input = event.target as HTMLInputElement;\n let inputValue = input.value;\n\n if (this.id === 'email') {\n inputValue = inputValue.toLowerCase();\n input.value = inputValue;\n } else if (this.uppercase) {\n inputValue = inputValue.toUpperCase();\n input.value = inputValue;\n }\n\n this.value = inputValue;\n this.input.emit({ id: this.id, value: this.value });\n };\n\n private onClear = () => {\n if (this.disabled) return;\n this.value = '';\n this.input.emit({ id: this.id, value: this.value });\n };\n\n private onRightIconClick = () => {\n if (this.disabled) return;\n this.rightIconClick.emit({ id: this.id });\n };\n\n private onBlur = () => {\n const trimmedValue = this.value.trim();\n\n if (trimmedValue !== this.value) {\n this.value = trimmedValue;\n this.input.emit({ id: this.id, value: this.value });\n }\n\n this.blur.emit({ id: this.id, value: this.value });\n };\n\n @Method()\n async getInputElement(): Promise<HTMLInputElement | null> {\n return this.inputElement;\n }\n\n render() {\n const isFloating = this.variant === 'floating';\n\n const inputClasses = {\n 'input-element': true,\n 'input-error': !!this.error,\n };\n\n const wrapperClasses = {\n 'input-wrapper': true,\n 'floating-label': isFloating,\n 'has-left-icon': !!this.leftIcon,\n 'has-right-icon': !!this.rightIcon,\n };\n\n return (\n <div class=\"input-container\">\n {!isFloating && this.label && (\n <label class={`input-label ${this.disabled ? 'disabled' : ''}`}>{this.label}</label>\n )}\n <div class={wrapperClasses}>\n {this.leftIcon && (\n <div class=\"icon-left\">\n <rebill-icon name={this.leftIcon}></rebill-icon>\n </div>\n )}\n <input\n ref={el => (this.inputElement = el)}\n type=\"text\"\n class={inputClasses}\n placeholder={isFloating ? this.label : this.placeholder}\n value={this.value}\n onInput={this.onInput}\n onBlur={this.onBlur}\n disabled={this.disabled}\n style={{\n paddingLeft: this.leftIcon ? '2.5rem' : '0.75rem',\n paddingRight: this.clearable || this.rightIcon ? '2.5rem' : '0.75rem',\n }}\n />\n {isFloating && <label class=\"input-text__input-label input-label\">{this.label}</label>}\n {this.clearable && this.value && (\n <div class=\"icon-right\" onClick={this.onClear}>\n <rebill-icon name=\"x\"></rebill-icon>\n </div>\n )}\n {this.rightIcon && !this.clearable && (\n <div class=\"icon-right\" onClick={this.onRightIconClick}>\n <rebill-icon name={this.rightIcon}></rebill-icon>\n </div>\n )}\n </div>\n {this.error && <span class=\"error-message\">{this.error}</span>}\n </div>\n );\n }\n}\n"],"names":[],"mappings":";;AAAA,MAAM,YAAY,GAAG,ooFAAooF;;MCO5oF,SAAS,GAAA,MAAA;;;;;;;;AAEZ,IAAA,YAAY;;IAGZ,KAAK,GAAW,EAAE;;IAElB,WAAW,GAAW,EAAE;;IAEQ,KAAK,GAAW,EAAE;;IAElD,KAAK,GAAW,EAAE;;IAElB,EAAE,GAAW,EAAE;;IAEf,QAAQ,GAAY,KAAK;;AAEzB,IAAA,QAAQ;;AAER,IAAA,SAAS;;IAET,SAAS,GAAY,KAAK;;IAE1B,OAAO,GAA2B,SAAS;;IAE3C,SAAS,GAAY,KAAK;;AAEzB,IAAA,KAAK;;AAEL,IAAA,cAAc;;AAEd,IAAA,IAAI;AAEb,IAAA,gBAAgB,CAAC,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AA,GAAA,EAAA,0CAAA,EAAa,IAAI,EAAC,GAAG,EAAA,CAAe,CAChC,CACP,EACA,IAAI,CAAC,SAAS,IAAI,CAAC,IAAI,CAAC,SAAS,KAChC,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAC,YAAY,EAAC,OAAO,EAAE,IAAI,CAAC,gBAAgB,EAAA,EACpD,CAAa,CAAA,aAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,IAAI,EAAE,IAAI,CAAC,SAAS,EAAgB,CAAA,CAC7C,CACP,CACG,EACL,IAAI,CAAC,KAAK,IAAI,CAAA,CAAA,MAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAM,KAAK,EAAC,eAAe,EAAE,EAAA,IAAI,CAAC,KAAK,CAAQ,CAC1D;;;;;;;"}
@@ -3,7 +3,7 @@ import { I as I18nService, c as instance } from './i18n.service-Du3vb0yg.js';
3
3
  import { c as copyToClipboard } from './clipboard-OxmhgFET.js';
4
4
  import { C as COLORS_ENUM } from './color-class-mapper-DA598vBj.js';
5
5
 
6
- const modeSandboxMobileCss = ":host{display:flex;position:relative;width:100%;justify-content:center;align-items:center}.test-mode-container{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}.overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:5;animation:fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);pointer-events:auto;cursor:pointer}.test-mode-chip-mobile{display:flex;width:100%;min-width:auto;max-width:100%;height:40px;background:#ffffff;border:1px solid #e5e7eb;border-radius:20px;box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden;position:relative;z-index:20}.chip-content-mobile{display:flex;align-items:center;gap:2px;justify-content:flex-end;min-height:24px;flex-shrink:0;width:100%;margin:8px}.test-mode-chip-mobile.expanded .chip-content-mobile{justify-content:flex-end;width:100%}.cards-dropdown-panel-header{display:flex;align-items:center;gap:8px;padding:8px}.docs-section{display:flex;align-items:center;gap:8px;cursor:pointer;margin-left:0;transition:background-color 0.2s ease;justify-content:flex-end;padding:8px;margin-top:8px}.cards-dropdown-panel{position:absolute;top:100%;left:0;right:0;width:100%;background:#ffffff;border-top:none;border-left:1px solid #e5e7eb;border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;margin-top:16px;z-index:25;animation:expandDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);transform-origin:top center}.card-section{display:flex;flex-direction:column;justify-content:space-between}.header-content{display:flex;align-items:center;gap:8px;margin:8px}.card-details{background:#fafafa;border-radius:8px;border:1px solid #e5e7eb;margin:8px;min-height:208px;display:flex;flex-direction:column}.card-row{display:flex;gap:12px;align-items:stretch;background:#ffffff;justify-content:space-around;border-radius:8px;border:1px solid #e5e7eb;height:auto;padding:8px;margin:8px}.card-value{display:flex;flex-direction:column;gap:6px;flex:1}.field-value{display:flex;flex-direction:row;align-items:center;gap:8px;max-height:20px}.copy-button{align-items:center;margin-left:auto;margin-right:0}.icon-button{margin-left:auto;margin-right:16px}@keyframes expandDown{from{opacity:0;transform:translateY(-10px) scaleY(0.9)}to{opacity:1;transform:translateY(0) scaleY(1)}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}";
6
+ const modeSandboxMobileCss = ":host{display:flex;position:relative;width:100%;justify-content:center;align-items:center}.mode-sandbox-mobile__test-mode-container{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:8px;width:100%}.mode-sandbox-mobile__overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.5);z-index:5;animation:fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);pointer-events:auto;cursor:pointer}.mode-sandbox-mobile__test-mode-chip-mobile{display:flex;width:100%;min-width:auto;max-width:100%;height:40px;background:#ffffff;border:1px solid #e5e7eb;border-radius:20px;box-shadow:0 1px 3px rgba(0, 0, 0, 0.1);transition:all 0.3s cubic-bezier(0.4, 0, 0.2, 1);overflow:hidden;position:relative;z-index:20}.mode-sandbox-mobile__chip-content-mobile{display:flex;align-items:center;gap:2px;justify-content:flex-end;min-height:24px;flex-shrink:0;width:100%;margin:8px}.mode-sandbox-mobile__info-icon{display:flex;align-items:center}.mode-sandbox-mobile__test-mode-chip-mobile.expanded .mode-sandbox-mobile__chip-content-mobile{justify-content:flex-end;width:100%}.mode-sandbox-mobile__cards-dropdown-panel-header{display:flex;align-items:center;gap:8px;padding:8px}.mode-sandbox-mobile__docs-section{display:flex;align-items:center;gap:8px;cursor:pointer;margin-left:0;transition:background-color 0.2s ease;justify-content:flex-end;padding:8px;margin-top:8px}.mode-sandbox-mobile__cards-dropdown-panel{position:absolute;top:100%;left:0;right:0;width:100%;background:#ffffff;border-top:none;border-left:1px solid #e5e7eb;border-right:1px solid #e5e7eb;border-bottom:1px solid #e5e7eb;margin-top:16px;z-index:25;animation:expandDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);transform-origin:top center}.mode-sandbox-mobile__card-section{display:flex;flex-direction:column;justify-content:space-between}.mode-sandbox-mobile__header-content{display:flex;align-items:center;gap:8px;margin:8px}.mode-sandbox-mobile__card-details{background:#fafafa;border-radius:8px;border:1px solid #e5e7eb;margin:8px;min-height:208px;display:flex;flex-direction:column}.mode-sandbox-mobile__card-row{display:flex;gap:12px;align-items:stretch;background:#ffffff;justify-content:space-around;border-radius:8px;border:1px solid #e5e7eb;height:auto;padding:8px;margin:8px}.mode-sandbox-mobile__card-value{display:flex;flex-direction:column;gap:6px;flex:1}.mode-sandbox-mobile__field-value{display:flex;flex-direction:row;align-items:center;gap:8px;max-height:20px}.mode-sandbox-mobile__copy-button{align-items:center;margin-left:auto;margin-right:0}.mode-sandbox-mobile__icon-button{margin-left:auto;margin-right:16px}@keyframes expandDown{from{opacity:0;transform:translateY(-10px) scaleY(0.9)}to{opacity:1;transform:translateY(0) scaleY(1)}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}";
7
7
 
8
8
  const RebillTestModeChipMobile = class {
9
9
  constructor(hostRef) {
@@ -32,13 +32,13 @@ const RebillTestModeChipMobile = class {
32
32
  window.open('https://v3.docs.rebill.com/sdk/checkout', '_blank');
33
33
  };
34
34
  renderBasicChip() {
35
- return (h("div", { class: "chip-content-mobile" }, h("div", { class: "info-icon" }, h("rebill-icon", { name: "circle-info", size: "24px", color: COLORS_ENUM.ORANGE })), h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, I18nService.translate('sandbox.testMode')), h("div", { class: "icon-button" }, h("rebill-button", { variant: "text", size: "small", onClick: this.togglePanel }, h("rebill-icon", { name: "hamburger" })))));
35
+ return (h("div", { class: "mode-sandbox-mobile__chip-content-mobile" }, h("div", { class: "mode-sandbox-mobile__info-icon" }, h("rebill-icon", { name: "circle-info", size: "24px", color: COLORS_ENUM.ORANGE })), h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, I18nService.translate('sandbox.testMode')), h("div", { class: "mode-sandbox-mobile__icon-button" }, h("rebill-button", { variant: "text", size: "small", onClick: this.togglePanel }, h("rebill-icon", { name: "hamburger" })))));
36
36
  }
37
37
  renderCardsPanel() {
38
- return (h("div", { class: "cards-dropdown-panel" }, h("div", { class: "cards-dropdown-panel-header" }, h("rebill-icon", { name: "card-test" }), h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, I18nService.translate('sandbox.cardTest'))), h("div", { class: "card-details" }, h("div", { class: "card-section" }, h("div", { class: "header-content" }, h("rebill-icon", { name: "succes", color: COLORS_ENUM.GREEN }), h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, I18nService.translate('sandbox.successPayment'))), h("div", { class: "card-row" }, h("div", { class: "card-value" }, h("rebill-typography", { variant: "subtitle3", color: COLORS_ENUM.GREY_700 }, I18nService.translate('sandbox.cardNumber')), h("div", { class: "field-value" }, h("rebill-icon", { name: "visa" }), h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, "4539148803436467"))), h("div", { class: "card-value" }, h("rebill-typography", { variant: "subtitle3", color: COLORS_ENUM.GREY_700 }, I18nService.translate('sandbox.exp')), h("div", { class: "field-value" }, h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, "01/99"))), h("div", { class: "card-value" }, h("rebill-typography", { variant: "subtitle3", color: COLORS_ENUM.GREY_700 }, I18nService.translate('sandbox.cvv')), h("div", { class: "field-value field-value-with-copy" }, h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, "123"), h("div", { class: "copy-button" }, h("rebill-button", { variant: "text", size: "small", onClick: () => this.handleCopy('4539148803436467 01/99 123') }, h("rebill-icon", { name: "copy" }))))))), h("div", { class: "card-section" }, h("div", { class: "header-content" }, h("rebill-icon", { name: "rejected", color: COLORS_ENUM.ERROR }), h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, I18nService.translate('sandbox.rejectedPayment'))), h("div", { class: "card-row" }, h("div", { class: "card-value" }, h("rebill-typography", { variant: "subtitle3", color: COLORS_ENUM.GREY_700 }, I18nService.translate('sandbox.cardNumber')), h("div", { class: "field-value" }, h("rebill-icon", { name: "visa" }), h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, "4485364739527352"))), h("div", { class: "card-value" }, h("rebill-typography", { variant: "subtitle3", color: COLORS_ENUM.GREY_700 }, I18nService.translate('sandbox.exp')), h("div", { class: "field-value" }, h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, "01/99"))), h("div", { class: "card-value" }, h("rebill-typography", { variant: "subtitle3", color: COLORS_ENUM.GREY_700 }, I18nService.translate('sandbox.cvv')), h("div", { class: "field-value field-value-with-copy" }, h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, "123"), h("div", { class: "copy-button" }, h("rebill-button", { variant: "text", size: "small", onClick: () => this.handleCopy('4485364739527352 01/99 123') }, h("rebill-icon", { name: "copy" })))))))), h("div", { class: "docs-section", onClick: this.handleDocsClick }, h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY }, I18nService.translate('sandbox.docs')), h("rebill-icon", { name: "external-link" }))));
38
+ return (h("div", { class: "mode-sandbox-mobile__cards-dropdown-panel" }, h("div", { class: "mode-sandbox-mobile__cards-dropdown-panel-header" }, h("rebill-icon", { name: "card-test" }), h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, I18nService.translate('sandbox.cardTest'))), h("div", { class: "mode-sandbox-mobile__card-details" }, h("div", { class: "mode-sandbox-mobile__card-section" }, h("div", { class: "mode-sandbox-mobile__header-content" }, h("rebill-icon", { name: "succes", color: COLORS_ENUM.GREEN }), h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, I18nService.translate('sandbox.successPayment'))), h("div", { class: "mode-sandbox-mobile__card-row" }, h("div", { class: "mode-sandbox-mobile__card-value" }, h("rebill-typography", { variant: "subtitle3", color: COLORS_ENUM.GREY_700 }, I18nService.translate('sandbox.cardNumber')), h("div", { class: "mode-sandbox-mobile__field-value" }, h("rebill-icon", { name: "visa" }), h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, "4539148803436467"))), h("div", { class: "mode-sandbox-mobile__card-value" }, h("rebill-typography", { variant: "subtitle3", color: COLORS_ENUM.GREY_700 }, I18nService.translate('sandbox.exp')), h("div", { class: "mode-sandbox-mobile__field-value" }, h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, "01/99"))), h("div", { class: "mode-sandbox-mobile__card-value" }, h("rebill-typography", { variant: "subtitle3", color: COLORS_ENUM.GREY_700 }, I18nService.translate('sandbox.cvv')), h("div", { class: "mode-sandbox-mobile__field-value mode-sandbox-mobile__field-value-with-copy" }, h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, "123"), h("div", { class: "mode-sandbox-mobile__copy-button" }, h("rebill-button", { variant: "text", size: "small", onClick: () => this.handleCopy('4539148803436467 01/99 123') }, h("rebill-icon", { name: "copy" }))))))), h("div", { class: "mode-sandbox-mobile__card-section" }, h("div", { class: "mode-sandbox-mobile__header-content" }, h("rebill-icon", { name: "rejected", color: COLORS_ENUM.ERROR }), h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, I18nService.translate('sandbox.rejectedPayment'))), h("div", { class: "mode-sandbox-mobile__card-row" }, h("div", { class: "mode-sandbox-mobile__card-value" }, h("rebill-typography", { variant: "subtitle3", color: COLORS_ENUM.GREY_700 }, I18nService.translate('sandbox.cardNumber')), h("div", { class: "mode-sandbox-mobile__field-value" }, h("rebill-icon", { name: "visa" }), h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, "4485364739527352"))), h("div", { class: "mode-sandbox-mobile__card-value" }, h("rebill-typography", { variant: "subtitle3", color: COLORS_ENUM.GREY_700 }, I18nService.translate('sandbox.exp')), h("div", { class: "mode-sandbox-mobile__field-value" }, h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, "01/99"))), h("div", { class: "mode-sandbox-mobile__card-value" }, h("rebill-typography", { variant: "subtitle3", color: COLORS_ENUM.GREY_700 }, I18nService.translate('sandbox.cvv')), h("div", { class: "mode-sandbox-mobile__field-value mode-sandbox-mobile__field-value-with-copy" }, h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY_DARK }, "123"), h("div", { class: "mode-sandbox-mobile__copy-button" }, h("rebill-button", { variant: "text", size: "small", onClick: () => this.handleCopy('4485364739527352 01/99 123') }, h("rebill-icon", { name: "copy" })))))))), h("div", { class: "mode-sandbox-mobile__docs-section", onClick: this.handleDocsClick }, h("rebill-typography", { variant: "subtitle2", color: COLORS_ENUM.PRIMARY }, I18nService.translate('sandbox.docs')), h("rebill-icon", { name: "external-link" }))));
39
39
  }
40
40
  render() {
41
- return (h("div", { key: '9c89ecbf8e6ee940bd56c01cd6d1ade8106cc008', class: `test-mode-container ${this.isPanelVisible ? 'cards-visible' : ''}` }, this.isPanelVisible && h("div", { key: 'df0e79c1765bfa496e25e2ac64a072ed8b806e08', class: "overlay" }), h("div", { key: '005349daa4967dabcb6ce2c8211e60114b606ecc', class: `test-mode-chip-mobile ${this.isPanelVisible ? 'expanded' : ''}` }, this.renderBasicChip()), this.isPanelVisible && this.renderCardsPanel()));
41
+ return (h("div", { key: '2051c42d557dcdfc491dc679684aa585e6b8375a', class: `mode-sandbox-mobile__test-mode-container ${this.isPanelVisible ? 'cards-visible' : ''}` }, this.isPanelVisible && h("div", { key: '90291e86c59667a2055457ad99aad90deb8f1dd7', class: "mode-sandbox-mobile__overlay" }), h("div", { key: 'c405adb07262da6175badba97245914469480905', class: `mode-sandbox-mobile__test-mode-chip-mobile ${this.isPanelVisible ? 'expanded' : ''}` }, this.renderBasicChip()), this.isPanelVisible && this.renderCardsPanel()));
42
42
  }
43
43
  };
44
44
  RebillTestModeChipMobile.style = modeSandboxMobileCss;
@@ -1 +1 @@
1
- {"version":3,"file":"rebill-mode-sandbox-mobile.entry.js","sources":["src/components/shared/mode-sandbox/mode-sandbox-mobile.css?tag=rebill-mode-sandbox-mobile","src/components/shared/mode-sandbox/mode-sandbox-mobile.tsx"],"sourcesContent":[":host {\n display: flex;\n position: relative;\n width: 100%;\n justify-content: center;\n align-items: center;\n}\n\n.test-mode-container {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 8px;\n width: 100%;\n}\n\n.overlay {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: rgba(0, 0, 0, 0.5);\n z-index: 5;\n animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n pointer-events: auto;\n cursor: pointer;\n}\n\n.test-mode-chip-mobile {\n display: flex;\n width: 100%;\n min-width: auto;\n max-width: 100%;\n height: 40px;\n background: #ffffff;\n border: 1px solid #e5e7eb;\n border-radius: 20px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n overflow: hidden;\n position: relative;\n z-index: 20;\n}\n\n.chip-content-mobile {\n display: flex;\n align-items: center;\n gap: 2px;\n justify-content: flex-end;\n min-height: 24px;\n flex-shrink: 0;\n width: 100%;\n margin: 8px;\n}\n\n.test-mode-chip-mobile.expanded .chip-content-mobile {\n justify-content: flex-end;\n width: 100%;\n}\n\n.cards-dropdown-panel-header {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 8px;\n}\n\n/* Sección de Docs */\n.docs-section {\n display: flex;\n align-items: center;\n gap: 8px;\n cursor: pointer;\n margin-left: 0;\n transition: background-color 0.2s ease;\n justify-content: flex-end;\n padding: 8px;\n margin-top: 8px;\n}\n\n.cards-dropdown-panel {\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n width: 100%;\n background: #ffffff;\n border-top: none;\n border-left: 1px solid #e5e7eb;\n border-right: 1px solid #e5e7eb;\n border-bottom: 1px solid #e5e7eb;\n margin-top: 16px;\n z-index: 25;\n animation: expandDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n transform-origin: top center;\n}\n\n.card-section {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n\n.header-content {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px;\n}\n\n.card-details {\n background: #fafafa;\n border-radius: 8px;\n border: 1px solid #e5e7eb;\n margin: 8px;\n min-height: 208px;\n display: flex;\n flex-direction: column;\n}\n\n.card-row {\n display: flex;\n gap: 12px;\n align-items: stretch;\n background: #ffffff;\n justify-content: space-around;\n border-radius: 8px;\n border: 1px solid #e5e7eb;\n height: auto;\n padding: 8px;\n margin: 8px;\n}\n\n.card-value {\n display: flex;\n flex-direction: column;\n gap: 6px;\n flex: 1;\n}\n\n.field-value {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 8px;\n max-height: 20px;\n}\n\n.copy-button {\n align-items: center;\n margin-left: auto;\n margin-right: 0;\n}\n\n.icon-button {\n margin-left: auto;\n margin-right: 16px;\n}\n\n/* Animaciones */\n\n@keyframes expandDown {\n from {\n opacity: 0;\n transform: translateY(-10px) scaleY(0.9);\n }\n to {\n opacity: 1;\n transform: translateY(0) scaleY(1);\n }\n}\n\n@keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n","import { Component, Element, h, State } from '@stencil/core';\nimport i18n from '../../../i18n/i18n.config';\nimport { I18nService } from '../../../i18n/i18n.service';\nimport { copyToClipboard } from '../../../utils/clipboard';\nimport { COLORS_ENUM } from '../../../utils/color-class-mapper';\n\n@Component({\n tag: 'rebill-mode-sandbox-mobile',\n styleUrl: 'mode-sandbox-mobile.css',\n shadow: false,\n})\nexport class RebillTestModeChipMobile {\n @Element() el: HTMLElement;\n @State() isPanelVisible = false;\n @State() currentLanguage: string = I18nService.getCurrentLanguage();\n\n componentWillLoad() {\n i18n.on('languageChanged', this.handleLanguageChange);\n }\n\n disconnectedCallback() {\n i18n.off('languageChanged', this.handleLanguageChange);\n }\n\n private handleLanguageChange = () => {\n this.currentLanguage = I18nService.getCurrentLanguage();\n };\n\n private togglePanel = () => {\n this.isPanelVisible = !this.isPanelVisible;\n };\n\n private handleCopy = (text: string) => {\n copyToClipboard(text);\n this.isPanelVisible = false;\n };\n\n private handleDocsClick = () => {\n window.open('https://v3.docs.rebill.com/sdk/checkout', '_blank');\n };\n\n private renderBasicChip() {\n return (\n <div class=\"chip-content-mobile\">\n <div class=\"info-icon\">\n <rebill-icon name=\"circle-info\" size=\"24px\" color={COLORS_ENUM.ORANGE} />\n </div>\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n {I18nService.translate('sandbox.testMode')}\n </rebill-typography>\n <div class=\"icon-button\">\n <rebill-button variant=\"text\" size=\"small\" onClick={this.togglePanel}>\n <rebill-icon name=\"hamburger\" />\n </rebill-button>\n </div>\n </div>\n );\n }\n\n private renderCardsPanel() {\n return (\n <div class=\"cards-dropdown-panel\">\n <div class=\"cards-dropdown-panel-header\">\n <rebill-icon name=\"card-test\" />\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n {I18nService.translate('sandbox.cardTest')}\n </rebill-typography>\n </div>\n <div class=\"card-details\">\n <div class=\"card-section\">\n <div class=\"header-content\">\n <rebill-icon name=\"succes\" color={COLORS_ENUM.GREEN} />\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n {I18nService.translate('sandbox.successPayment')}\n </rebill-typography>\n </div>\n <div class=\"card-row\">\n <div class=\"card-value\">\n <rebill-typography variant=\"subtitle3\" color={COLORS_ENUM.GREY_700}>\n {I18nService.translate('sandbox.cardNumber')}\n </rebill-typography>\n <div class=\"field-value\">\n <rebill-icon name=\"visa\" />\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n 4539148803436467\n </rebill-typography>\n </div>\n </div>\n <div class=\"card-value\">\n <rebill-typography variant=\"subtitle3\" color={COLORS_ENUM.GREY_700}>\n {I18nService.translate('sandbox.exp')}\n </rebill-typography>\n <div class=\"field-value\">\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n 01/99\n </rebill-typography>\n </div>\n </div>\n <div class=\"card-value\">\n <rebill-typography variant=\"subtitle3\" color={COLORS_ENUM.GREY_700}>\n {I18nService.translate('sandbox.cvv')}\n </rebill-typography>\n <div class=\"field-value field-value-with-copy\">\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n 123\n </rebill-typography>\n <div class=\"copy-button\">\n <rebill-button\n variant=\"text\"\n size=\"small\"\n onClick={() => this.handleCopy('4539148803436467 01/99 123')}\n >\n <rebill-icon name=\"copy\" />\n </rebill-button>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"card-section\">\n <div class=\"header-content\">\n <rebill-icon name=\"rejected\" color={COLORS_ENUM.ERROR} />\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n {I18nService.translate('sandbox.rejectedPayment')}\n </rebill-typography>\n </div>\n <div class=\"card-row\">\n <div class=\"card-value\">\n <rebill-typography variant=\"subtitle3\" color={COLORS_ENUM.GREY_700}>\n {I18nService.translate('sandbox.cardNumber')}\n </rebill-typography>\n <div class=\"field-value\">\n <rebill-icon name=\"visa\" />\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n 4485364739527352\n </rebill-typography>\n </div>\n </div>\n <div class=\"card-value\">\n <rebill-typography variant=\"subtitle3\" color={COLORS_ENUM.GREY_700}>\n {I18nService.translate('sandbox.exp')}\n </rebill-typography>\n <div class=\"field-value\">\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n 01/99\n </rebill-typography>\n </div>\n </div>\n <div class=\"card-value\">\n <rebill-typography variant=\"subtitle3\" color={COLORS_ENUM.GREY_700}>\n {I18nService.translate('sandbox.cvv')}\n </rebill-typography>\n <div class=\"field-value field-value-with-copy\">\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n 123\n </rebill-typography>\n <div class=\"copy-button\">\n <rebill-button\n variant=\"text\"\n size=\"small\"\n onClick={() => this.handleCopy('4485364739527352 01/99 123')}\n >\n <rebill-icon name=\"copy\" />\n </rebill-button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"docs-section\" onClick={this.handleDocsClick}>\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY}>\n {I18nService.translate('sandbox.docs')}\n </rebill-typography>\n <rebill-icon name=\"external-link\" />\n </div>\n </div>\n );\n }\n\n render() {\n return (\n <div class={`test-mode-container ${this.isPanelVisible ? 'cards-visible' : ''}`}>\n {this.isPanelVisible && <div class=\"overlay\"></div>}\n <div class={`test-mode-chip-mobile ${this.isPanelVisible ? 'expanded' : ''}`}>\n {this.renderBasicChip()}\n </div>\n {this.isPanelVisible && this.renderCardsPanel()}\n </div>\n );\n }\n}\n"],"names":["i18n"],"mappings":";;;;;AAAA,MAAM,oBAAoB,GAAG,6zEAA6zE;;MCW70E,wBAAwB,GAAA,MAAA;;;;;IAE1B,cAAc,GAAG,KAAK;AACtB,IAAA,eAAe,GAAW,WAAW,CAAC,kBAAkB,EAAE;IAEnE,iBAAiB,GAAA;QACfA,QAAI,CAAC,EAAE,CAAC,iBAAiB,EAAE,IAAI,CAAC,oBAAoB,CAAC;;IAGvD,oBAAoB,GAAA;QAClBA,QAAI,CAAC,GAAG,CAAC,iBAAiB,EAAE,IAAI,CAAC,oBAAoB,CAAC;;IAGhD,oBAAoB,GAAG,MAAK;AAClC,QAAA,IAAI,CAAC,eAAe,GAAG,WAAW,CAAC,kBAAkB,EAAE;AACzD,KAAC;IAEO,WAAW,GAAG,MAAK;AACzB,QAAA,IAAI,CAAC,cAAc,GAAG,CAAC,IAAI,CAAC,cAAc;AAC5C,KAAC;AAEO,IAAA,UAAU,GAAG,CAAC,IAAY,KAAI;QACpC,eAAe,CAAC,IAAI,CAAC;AACrB,QAAA,IAAI,CAAC,cAAc,GAAG,KAAK;AAC7B,KAAC;IAEO,eAAe,GAAG,MAAK;AAC7B,QAAA,MAAM,CAAC,IAAI,CAAC,yCAAyC,EAAE,QAAQ,CAAC;AAClE,KAAC;IAEO,eAAe,GAAA;QACrB,QACE,CAAA,CAAA,KAAA,EAAA,EAAK,KAAK,EAAC,qBAAqB,EAAA,EAC9B,CAAK,CAAA,KAAA,EAAA,EAAA,KAAK,EAAC,WAAW,EAAA,EACpB,CAAA,CAAA,aAAA,EAAA,EAAa,IAAI,EAAC,aAAa,EAAC,IAAI,EAAC,MAAM,EAAC,KAAK,EAAE,WAAW,CAAC,MAAM,GAAI,CACrE,EACN,CAAA,CAAA,mBAAA,EAAA,EAAmB,OAAO,EAAC,W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AAO,EAAC,WAAW,EAAC,KAAK,EAAE,WAAW,CAAC,OAAO,EAAA,EAC9D,WAAW,CAAC,SAAS,CAAC,cAAc,CAAC,CACpB,EACpB,CAAA,CAAA,aAAA,EAAA,EAAa,IAAI,EAAC,eAAe,GAAG,CAChC,CACF;;IAIV,MAAM,GAAA;AACJ,QAAA,QACE,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,uBAAuB,IAAI,CAAC,cAAc,GAAG,eAAe,GAAG,EAAE,CAAE,CAAA,EAAA,EAC5E,IAAI,CAAC,cAAc,IAAI,4DAAK,KAAK,EAAC,SAAS,EAAO,CAAA,EACnD,CAAK,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,CAAA,sBAAA,EAAyB,IAAI,CAAC,cAAc,GAAG,UAAU,GAAG,EAAE,EAAE,EAAA,EACzE,IAAI,CAAC,eAAe,EAAE,CACnB,EACL,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,gBAAgB,EAAE,CAC3C;;;;;;;"}
1
+ {"version":3,"file":"rebill-mode-sandbox-mobile.entry.js","sources":["src/components/shared/mode-sandbox/mode-sandbox-mobile.css?tag=rebill-mode-sandbox-mobile","src/components/shared/mode-sandbox/mode-sandbox-mobile.tsx"],"sourcesContent":[":host {\n display: flex;\n position: relative;\n width: 100%;\n justify-content: center;\n align-items: center;\n}\n\n.mode-sandbox-mobile__test-mode-container {\n position: relative;\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 8px;\n width: 100%;\n}\n\n.mode-sandbox-mobile__overlay {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n background: rgba(0, 0, 0, 0.5);\n z-index: 5;\n animation: fadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n pointer-events: auto;\n cursor: pointer;\n}\n\n.mode-sandbox-mobile__test-mode-chip-mobile {\n display: flex;\n width: 100%;\n min-width: auto;\n max-width: 100%;\n height: 40px;\n background: #ffffff;\n border: 1px solid #e5e7eb;\n border-radius: 20px;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n overflow: hidden;\n position: relative;\n z-index: 20;\n}\n\n.mode-sandbox-mobile__chip-content-mobile {\n display: flex;\n align-items: center;\n gap: 2px;\n justify-content: flex-end;\n min-height: 24px;\n flex-shrink: 0;\n width: 100%;\n margin: 8px;\n}\n\n.mode-sandbox-mobile__info-icon {\n display: flex;\n align-items: center;\n}\n\n.mode-sandbox-mobile__test-mode-chip-mobile.expanded .mode-sandbox-mobile__chip-content-mobile {\n justify-content: flex-end;\n width: 100%;\n}\n\n.mode-sandbox-mobile__cards-dropdown-panel-header {\n display: flex;\n align-items: center;\n gap: 8px;\n padding: 8px;\n}\n\n/* Sección de Docs */\n.mode-sandbox-mobile__docs-section {\n display: flex;\n align-items: center;\n gap: 8px;\n cursor: pointer;\n margin-left: 0;\n transition: background-color 0.2s ease;\n justify-content: flex-end;\n padding: 8px;\n margin-top: 8px;\n}\n\n.mode-sandbox-mobile__cards-dropdown-panel {\n position: absolute;\n top: 100%;\n left: 0;\n right: 0;\n width: 100%;\n background: #ffffff;\n border-top: none;\n border-left: 1px solid #e5e7eb;\n border-right: 1px solid #e5e7eb;\n border-bottom: 1px solid #e5e7eb;\n margin-top: 16px;\n z-index: 25;\n animation: expandDown 0.3s cubic-bezier(0.4, 0, 0.2, 1);\n transform-origin: top center;\n}\n\n.mode-sandbox-mobile__card-section {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n}\n\n.mode-sandbox-mobile__header-content {\n display: flex;\n align-items: center;\n gap: 8px;\n margin: 8px;\n}\n\n.mode-sandbox-mobile__card-details {\n background: #fafafa;\n border-radius: 8px;\n border: 1px solid #e5e7eb;\n margin: 8px;\n min-height: 208px;\n display: flex;\n flex-direction: column;\n}\n\n.mode-sandbox-mobile__card-row {\n display: flex;\n gap: 12px;\n align-items: stretch;\n background: #ffffff;\n justify-content: space-around;\n border-radius: 8px;\n border: 1px solid #e5e7eb;\n height: auto;\n padding: 8px;\n margin: 8px;\n}\n\n.mode-sandbox-mobile__card-value {\n display: flex;\n flex-direction: column;\n gap: 6px;\n flex: 1;\n}\n\n.mode-sandbox-mobile__field-value {\n display: flex;\n flex-direction: row;\n align-items: center;\n gap: 8px;\n max-height: 20px;\n}\n\n.mode-sandbox-mobile__copy-button {\n align-items: center;\n margin-left: auto;\n margin-right: 0;\n}\n\n.mode-sandbox-mobile__icon-button {\n margin-left: auto;\n margin-right: 16px;\n}\n\n/* Animaciones */\n\n@keyframes expandDown {\n from {\n opacity: 0;\n transform: translateY(-10px) scaleY(0.9);\n }\n to {\n opacity: 1;\n transform: translateY(0) scaleY(1);\n }\n}\n\n@keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n","import { Component, Element, h, State } from '@stencil/core';\nimport i18n from '../../../i18n/i18n.config';\nimport { I18nService } from '../../../i18n/i18n.service';\nimport { copyToClipboard } from '../../../utils/clipboard';\nimport { COLORS_ENUM } from '../../../utils/color-class-mapper';\n\n@Component({\n tag: 'rebill-mode-sandbox-mobile',\n styleUrl: 'mode-sandbox-mobile.css',\n shadow: false,\n})\nexport class RebillTestModeChipMobile {\n @Element() el: HTMLElement;\n @State() isPanelVisible = false;\n @State() currentLanguage: string = I18nService.getCurrentLanguage();\n\n componentWillLoad() {\n i18n.on('languageChanged', this.handleLanguageChange);\n }\n\n disconnectedCallback() {\n i18n.off('languageChanged', this.handleLanguageChange);\n }\n\n private handleLanguageChange = () => {\n this.currentLanguage = I18nService.getCurrentLanguage();\n };\n\n private togglePanel = () => {\n this.isPanelVisible = !this.isPanelVisible;\n };\n\n private handleCopy = (text: string) => {\n copyToClipboard(text);\n this.isPanelVisible = false;\n };\n\n private handleDocsClick = () => {\n window.open('https://v3.docs.rebill.com/sdk/checkout', '_blank');\n };\n\n private renderBasicChip() {\n return (\n <div class=\"mode-sandbox-mobile__chip-content-mobile\">\n <div class=\"mode-sandbox-mobile__info-icon\">\n <rebill-icon name=\"circle-info\" size=\"24px\" color={COLORS_ENUM.ORANGE} />\n </div>\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n {I18nService.translate('sandbox.testMode')}\n </rebill-typography>\n <div class=\"mode-sandbox-mobile__icon-button\">\n <rebill-button variant=\"text\" size=\"small\" onClick={this.togglePanel}>\n <rebill-icon name=\"hamburger\" />\n </rebill-button>\n </div>\n </div>\n );\n }\n\n private renderCardsPanel() {\n return (\n <div class=\"mode-sandbox-mobile__cards-dropdown-panel\">\n <div class=\"mode-sandbox-mobile__cards-dropdown-panel-header\">\n <rebill-icon name=\"card-test\" />\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n {I18nService.translate('sandbox.cardTest')}\n </rebill-typography>\n </div>\n <div class=\"mode-sandbox-mobile__card-details\">\n <div class=\"mode-sandbox-mobile__card-section\">\n <div class=\"mode-sandbox-mobile__header-content\">\n <rebill-icon name=\"succes\" color={COLORS_ENUM.GREEN} />\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n {I18nService.translate('sandbox.successPayment')}\n </rebill-typography>\n </div>\n <div class=\"mode-sandbox-mobile__card-row\">\n <div class=\"mode-sandbox-mobile__card-value\">\n <rebill-typography variant=\"subtitle3\" color={COLORS_ENUM.GREY_700}>\n {I18nService.translate('sandbox.cardNumber')}\n </rebill-typography>\n <div class=\"mode-sandbox-mobile__field-value\">\n <rebill-icon name=\"visa\" />\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n 4539148803436467\n </rebill-typography>\n </div>\n </div>\n <div class=\"mode-sandbox-mobile__card-value\">\n <rebill-typography variant=\"subtitle3\" color={COLORS_ENUM.GREY_700}>\n {I18nService.translate('sandbox.exp')}\n </rebill-typography>\n <div class=\"mode-sandbox-mobile__field-value\">\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n 01/99\n </rebill-typography>\n </div>\n </div>\n <div class=\"mode-sandbox-mobile__card-value\">\n <rebill-typography variant=\"subtitle3\" color={COLORS_ENUM.GREY_700}>\n {I18nService.translate('sandbox.cvv')}\n </rebill-typography>\n <div class=\"mode-sandbox-mobile__field-value mode-sandbox-mobile__field-value-with-copy\">\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n 123\n </rebill-typography>\n <div class=\"mode-sandbox-mobile__copy-button\">\n <rebill-button\n variant=\"text\"\n size=\"small\"\n onClick={() => this.handleCopy('4539148803436467 01/99 123')}\n >\n <rebill-icon name=\"copy\" />\n </rebill-button>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"mode-sandbox-mobile__card-section\">\n <div class=\"mode-sandbox-mobile__header-content\">\n <rebill-icon name=\"rejected\" color={COLORS_ENUM.ERROR} />\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n {I18nService.translate('sandbox.rejectedPayment')}\n </rebill-typography>\n </div>\n <div class=\"mode-sandbox-mobile__card-row\">\n <div class=\"mode-sandbox-mobile__card-value\">\n <rebill-typography variant=\"subtitle3\" color={COLORS_ENUM.GREY_700}>\n {I18nService.translate('sandbox.cardNumber')}\n </rebill-typography>\n <div class=\"mode-sandbox-mobile__field-value\">\n <rebill-icon name=\"visa\" />\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n 4485364739527352\n </rebill-typography>\n </div>\n </div>\n <div class=\"mode-sandbox-mobile__card-value\">\n <rebill-typography variant=\"subtitle3\" color={COLORS_ENUM.GREY_700}>\n {I18nService.translate('sandbox.exp')}\n </rebill-typography>\n <div class=\"mode-sandbox-mobile__field-value\">\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n 01/99\n </rebill-typography>\n </div>\n </div>\n <div class=\"mode-sandbox-mobile__card-value\">\n <rebill-typography variant=\"subtitle3\" color={COLORS_ENUM.GREY_700}>\n {I18nService.translate('sandbox.cvv')}\n </rebill-typography>\n <div class=\"mode-sandbox-mobile__field-value mode-sandbox-mobile__field-value-with-copy\">\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY_DARK}>\n 123\n </rebill-typography>\n <div class=\"mode-sandbox-mobile__copy-button\">\n <rebill-button\n variant=\"text\"\n size=\"small\"\n onClick={() => this.handleCopy('4485364739527352 01/99 123')}\n >\n <rebill-icon name=\"copy\" />\n </rebill-button>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <div class=\"mode-sandbox-mobile__docs-section\" onClick={this.handleDocsClick}>\n <rebill-typography variant=\"subtitle2\" color={COLORS_ENUM.PRIMARY}>\n {I18nService.translate('sandbox.docs')}\n </rebill-typography>\n <rebill-icon name=\"external-link\" />\n </div>\n </div>\n );\n }\n\n render() {\n return (\n <div\n class={`mode-sandbox-mobile__test-mode-container ${this.isPanelVisible ? 'cards-visible' : ''}`}\n >\n {this.isPanelVisible && <div class=\"mode-sandbox-mobile__overlay\"></div>}\n <div\n class={`mode-sandbox-mobile__test-mode-chip-mobile ${this.isPanelVisible ? 'expanded' : ''}`}\n >\n {this.renderBasicChip()}\n </div>\n {this.isPanelVisible && this.renderCardsPanel()}\n </div>\n );\n }\n}\n"],"names":["i18n"],"mappings":";;;;;AAAA,MAAM,oBAAoB,GAAG,kuFAAkuF;;MCWlvF,wBAAwB,GAAA,MAAA;;;;;IAE1B,cAAc,GAAG,KAAK;AACtB,IAAA,eAAe,GAAW,WAAW,CAAC,kBAAkB,EAAE;IAEnE,iBAAiB,GAAA;QACfA,QAAI,CAAC,EAAE,CAAC,iBAAiB,EAAE,IAAI,CAAC,oBAAoB,CAAC;;IAGvD,oBAAoB,GAAA;QAClBA,QAAI,CAAC,GAAG,CAAC,iBAAiB,EAAE,IAAI,CAAC,oBAAoB,CAAC;;IAGhD,oBAAoB,GAAG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AAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,KAAK,EAAE,CAAA,2CAAA,EAA8C,IAAI,CAAC,cAAc,GAAG,UAAU,GAAG,EAAE,EAAE,EAAA,EAE3F,IAAI,CAAC,eAAe,EAAE,CACnB,EACL,IAAI,CAAC,cAAc,IAAI,IAAI,CAAC,gBAAgB,EAAE,CAC3C;;;;;;;"}
@@ -73,7 +73,7 @@ const getRequiredFieldsForMethod = (paymentMethod, allRequiredFields) => {
73
73
  }
74
74
  };
75
75
 
76
- const rebillRenewalCss = ":root{--rebill-color-primary:#3b82f6;--rebill-color-primary-light:rgba(59, 130, 246, 0.1);--rebill-color-primary-hover:#2563eb;--rebill-color-primary-dark:#001131;--rebill-color-primary-dark-text:#000000;--rebill-color-primary-dark-hover:#001c4a;--rebill-color-primary-dark-light:rgba(0, 17, 49, 0.1);--rebill-color-error:#ef4444;--rebill-color-error-background:#fef2f2;--rebill-color-error-light:rgba(239, 68, 68, 0.1);--rebill-color-error-dark:#6f101b;--rebill-color-background:#ffffff;--rebill-color-background-left:#fafafa;--rebill-color-background-right:#f4f5f6;--rebill-color-background-secondary:#f7f8fa;--rebill-color-border:#ebedef;--rebill-color-timeline-connector:#c4c8cf;--rebill-color-neutrals-700:#58616e;--rebill-color-neutrals-500:#9ca3af;--rebill-color-border-primary:#e4e4e7;--rebill-color-text-primary:#3b4049;--rebill-color-text-secondary:#6b7280;--rebill-color-grey-700:#7d7d7d;--rebill-color-text-secondary-light:#a1a1aa;--rebill-color-text-on-primary:#ffffff;--rebill-color-disabled:#9ca3af;--rebill-color-shadow:rgba(0, 0, 0, 0.1);--rebill-color-green:#10b981;--rebill-color-green-text:#257c67;--rebill-color-green-light:rgba(183, 233, 221, 0.15);--rebill-color-green-light-2:rgba(183, 233, 221, 1);--rebill-color-info-background:#d5e4ff;--rebill-color-info-border:#0156f6;--rebill-color-info-text:#172b85;--rebill-color-background-secondary-light:#f7f8fa;--rebill-breakpoint-mobile:768px;--rebill-breakpoint-tablet:1024px;--rebill-breakpoint-desktop:1025px;--rebill-color-orange:#ff9400;--rebill-color-black:#1e2025;--rebill-color-grey-300:#3b4049;--rebill-color-grey-100:#aeaeae}*{transition:none !important}.qr-container,.qr-image,.qr-image svg,.qr-image img,[class*='qr-'],[class*='success'],[class*='receipt']{transition:none !important;animation:none !important;will-change:auto !important}button:active,button:focus,button:hover{isolation:isolate}@media (max-width: 1024px){.rebill-checkout-renewal{flex-direction:column;gap:0;justify-content:flex-start;background:var(--rebill-color-background);padding:20px}.right-section .left-section{width:100%;height:100%;background:var(--rebill-color-background)}.checkout-form-section{display:flex;flex-direction:column;justify-content:flex-start;gap:24px;height:100%;margin-top:24px}.otp-container{display:flex;flex-direction:column;justify-content:flex-start;gap:24px}}@media (min-width: 1025px){.rebill-checkout-renewal{width:100vw;min-height:100vh;display:flex;flex-direction:row;justify-content:center;overflow-y:auto}.left-section{display:flex;width:60%;background:var(--rebill-color-background-left);justify-content:space-around}.right-section{display:flex;padding-top:72px;width:40%;background:var(--rebill-color-background-right);position:sticky;top:0;justify-content:center}.checkout-form-section{display:flex;flex-direction:column;justify-content:flex-start;margin-bottom:36px;margin-top:24px;gap:32px}.left-section-container{max-width:450px;min-width:450px;margin:2.5rem 2rem 1.5rem 2rem;display:flex;flex-direction:column}.checkout-summary-section{max-width:450px;min-width:350px;margin:0rem 2rem;background:var(--rebill-color-background-right);display:flex;flex-direction:column;justify-content:flex-start;width:100%}.checkout-form-section user-information,.checkout-form-section payment-method-selector,.checkout-form-section rebill-address,.checkout-summary-section rebill-summary{width:100%}.pac-container{border-radius:4px;box-shadow:0 4px 8px rgba(0, 0, 0, 0.1);border:1px solid #e0e0e0;margin-top:4px;font-family:inherit}.pac-item{padding:10px 12px;cursor:pointer;border-top:none}.pac-item:first-child{border-top:none}.pac-item:hover{background-color:#f5f5f5}.pac-item-query{font-weight:500}.pac-icon{display:none}}.payment-button-container{display:flex;flex-direction:column;gap:16px;margin-bottom:16px}.animated-component{transition:all 0.3s ease-in-out;overflow:visible}.fade-in{animation:fadeIn 0.4s ease-in-out}.slide-in{animation:slideIn 0.5s ease-out}@keyframes fadeIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes slideIn{from{opacity:0;transform:translateX(-20px);max-height:0}to{opacity:1;transform:translateX(0);max-height:450px}}.animated-component.hide{animation:fadeOut 0.3s ease-in-out forwards}@keyframes fadeOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(20px)}}rebill-mode-sandbox{position:fixed;bottom:50px;left:50%;transform:translateX(-50%);z-index:1000}@media (max-width: 1024px){rebill-test-mode-chip{bottom:46px}}@media (min-width: 1025px){rebill-test-mode-chip{bottom:46px}}.mode-sandbox-mobile-container{display:flex;align-items:center;width:100%;padding:0;margin:0;box-sizing:border-box}@media (min-width: 1451px){.left-section-container{min-width:450px;margin:2.5rem 5rem 1.5rem 5rem}.checkout-summary-section{min-width:450px;margin:0rem 5rem}}";
76
+ const rebillRenewalCss = ":root{--rebill-color-primary:#3b82f6;--rebill-color-primary-light:rgba(59, 130, 246, 0.1);--rebill-color-primary-hover:#2563eb;--rebill-color-primary-dark:#001131;--rebill-color-primary-dark-text:#000000;--rebill-color-primary-dark-hover:#001c4a;--rebill-color-primary-dark-light:rgba(0, 17, 49, 0.1);--rebill-color-error:#ef4444;--rebill-color-error-background:#fef2f2;--rebill-color-error-light:rgba(239, 68, 68, 0.1);--rebill-color-error-dark:#6f101b;--rebill-color-background:#ffffff;--rebill-color-background-left:#fafafa;--rebill-color-background-right:#f4f5f6;--rebill-color-background-secondary:#f7f8fa;--rebill-color-border:#ebedef;--rebill-color-timeline-connector:#c4c8cf;--rebill-color-neutrals-700:#58616e;--rebill-color-neutrals-500:#9ca3af;--rebill-color-border-primary:#e4e4e7;--rebill-color-text-primary:#3b4049;--rebill-color-text-secondary:#6b7280;--rebill-color-grey-700:#7d7d7d;--rebill-color-text-secondary-light:#a1a1aa;--rebill-color-text-on-primary:#ffffff;--rebill-color-disabled:#9ca3af;--rebill-color-shadow:rgba(0, 0, 0, 0.1);--rebill-color-green:#10b981;--rebill-color-green-text:#257c67;--rebill-color-green-light:rgba(183, 233, 221, 0.15);--rebill-color-green-light-2:rgba(183, 233, 221, 1);--rebill-color-info-background:#d5e4ff;--rebill-color-info-border:#0156f6;--rebill-color-info-text:#172b85;--rebill-color-background-secondary-light:#f7f8fa;--rebill-breakpoint-mobile:768px;--rebill-breakpoint-tablet:1024px;--rebill-breakpoint-desktop:1025px;--rebill-color-orange:#ff9400;--rebill-color-black:#1e2025;--rebill-color-grey-300:#3b4049;--rebill-color-grey-100:#aeaeae}.qr-container,.qr-image,.qr-image svg,.qr-image img,[class*='qr-'],[class*='success'],[class*='receipt']{transition:none !important;animation:none !important;will-change:auto !important}button:active,button:focus,button:hover{isolation:isolate}@media (max-width: 1024px){.rebill-checkout-renewal{flex-direction:column;gap:0;justify-content:flex-start;background:var(--rebill-color-background);padding:20px}.right-section .left-section{width:100%;height:100%;background:var(--rebill-color-background)}.checkout-form-section{display:flex;flex-direction:column;justify-content:flex-start;gap:24px;height:100%;margin-top:24px}.otp-container{display:flex;flex-direction:column;justify-content:flex-start;gap:24px}}@media (min-width: 1025px){.rebill-checkout-renewal{width:100vw;min-height:100vh;display:flex;flex-direction:row;justify-content:center;overflow-y:auto}.left-section{display:flex;width:60%;background:var(--rebill-color-background-left);justify-content:space-around}.right-section{display:flex;padding-top:72px;width:40%;background:var(--rebill-color-background-right);position:sticky;top:0;justify-content:center}.checkout-form-section{display:flex;flex-direction:column;justify-content:flex-start;margin-bottom:36px;margin-top:24px;gap:32px}.left-section-container{max-width:450px;min-width:450px;margin:2.5rem 2rem 1.5rem 2rem;display:flex;flex-direction:column}.checkout-summary-section{max-width:450px;min-width:350px;margin:0rem 2rem;background:var(--rebill-color-background-right);display:flex;flex-direction:column;justify-content:flex-start;width:100%}.checkout-form-section user-information,.checkout-form-section payment-method-selector,.checkout-form-section rebill-address,.checkout-summary-section rebill-summary{width:100%}.pac-container{border-radius:4px;box-shadow:0 4px 8px rgba(0, 0, 0, 0.1);border:1px solid #e0e0e0;margin-top:4px;font-family:inherit}.pac-item{padding:10px 12px;cursor:pointer;border-top:none}.pac-item:first-child{border-top:none}.pac-item:hover{background-color:#f5f5f5}.pac-item-query{font-weight:500}.pac-icon{display:none}}.payment-button-container{display:flex;flex-direction:column;gap:16px;margin-bottom:16px}.animated-component{transition:all 0.3s ease-in-out;overflow:visible}.fade-in{animation:fadeIn 0.4s ease-in-out}.slide-in{animation:slideIn 0.5s ease-out}@keyframes fadeIn{from{opacity:0;transform:translateY(-10px)}to{opacity:1;transform:translateY(0)}}@keyframes slideIn{from{opacity:0;transform:translateX(-20px);max-height:0}to{opacity:1;transform:translateX(0);max-height:450px}}.animated-component.hide{animation:fadeOut 0.3s ease-in-out forwards}@keyframes fadeOut{from{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(20px)}}rebill-mode-sandbox{position:fixed;bottom:50px;left:50%;transform:translateX(-50%);z-index:1000}@media (max-width: 1024px){rebill-test-mode-chip{bottom:46px}}@media (min-width: 1025px){rebill-test-mode-chip{bottom:46px}}.mode-sandbox-mobile-container{display:flex;align-items:center;width:100%;padding:0;margin:0;box-sizing:border-box}@media (min-width: 1451px){.left-section-container{min-width:450px;margin:2.5rem 5rem 1.5rem 5rem}.checkout-summary-section{min-width:450px;margin:0rem 5rem}}";
77
77
 
78
78
  const RebillRenewal = class {
79
79
  constructor(hostRef) {