rebill-web-components-sdk 1.8.34-beta.1 → 1.8.34

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 (54) hide show
  1. package/dist/cjs/discount-coupon.rebill-divider.entry.cjs.js.map +1 -1
  2. package/dist/cjs/discount-coupon_2.cjs.entry.js +26 -7
  3. package/dist/cjs/index-C-VTnc0I.js.map +1 -1
  4. package/dist/cjs/organization-logo.rebill-card-icon.rebill-checkout-single-column.rebill-footer.entry.cjs.js.map +1 -1
  5. package/dist/cjs/organization-logo_4.cjs.entry.js +1 -1
  6. package/dist/collection/components/checkout/discount-coupon/discount-coupon.js +26 -7
  7. package/dist/collection/components/checkout/discount-coupon/discount-coupon.js.map +1 -1
  8. package/dist/collection/components/checkout/rebill-footer/rebill-footer.css +2 -1
  9. package/dist/components/discount-coupon.js +1 -1
  10. package/dist/components/p-8BpuJ_V5.js.map +1 -1
  11. package/dist/components/{p-DbfmzIIw.js → p-B9sgr8Yu.js} +3 -3
  12. package/dist/components/{p-DbfmzIIw.js.map → p-B9sgr8Yu.js.map} +1 -1
  13. package/dist/components/{p-FjaOut9O.js → p-BZUoWYrL.js} +4 -4
  14. package/dist/components/{p-FjaOut9O.js.map → p-BZUoWYrL.js.map} +1 -1
  15. package/dist/components/{p-r2jtUw42.js → p-B_lR-4t9.js} +3 -3
  16. package/dist/components/{p-r2jtUw42.js.map → p-B_lR-4t9.js.map} +1 -1
  17. package/dist/components/{p-B-sufB9-.js → p-CM-_FFDG.js} +4 -4
  18. package/dist/components/{p-B-sufB9-.js.map → p-CM-_FFDG.js.map} +1 -1
  19. package/dist/components/{p-CtTqLwLn.js → p-D5TXI2Hb.js} +28 -9
  20. package/dist/components/p-D5TXI2Hb.js.map +1 -0
  21. package/dist/components/{p-BCu7Nkqb.js → p-DWIWSpMW.js} +3 -3
  22. package/dist/components/p-DWIWSpMW.js.map +1 -0
  23. package/dist/components/{p-Cnr-CyGT.js → p-Db7dntOn.js} +4 -4
  24. package/dist/components/{p-Cnr-CyGT.js.map → p-Db7dntOn.js.map} +1 -1
  25. package/dist/components/{p-rO7aLibt.js → p-VskO2WrV.js} +3 -3
  26. package/dist/components/{p-rO7aLibt.js.map → p-VskO2WrV.js.map} +1 -1
  27. package/dist/components/rebill-checkout-single-column.js +1 -1
  28. package/dist/components/rebill-checkout.js +6 -6
  29. package/dist/components/rebill-footer.js +1 -1
  30. package/dist/components/rebill-processing-payment.js +1 -1
  31. package/dist/components/rebill-renewal.js +6 -6
  32. package/dist/components/rebill-summary.js +1 -1
  33. package/dist/components/renewal-success-page.js +1 -1
  34. package/dist/components/renewal-summary.js +1 -1
  35. package/dist/components/success-page.js +1 -1
  36. package/dist/esm/discount-coupon.rebill-divider.entry.js.map +1 -1
  37. package/dist/esm/discount-coupon_2.entry.js +26 -7
  38. package/dist/esm/index-D8cwEAmw.js.map +1 -1
  39. package/dist/esm/organization-logo.rebill-card-icon.rebill-checkout-single-column.rebill-footer.entry.js.map +1 -1
  40. package/dist/esm/organization-logo_4.entry.js +1 -1
  41. package/dist/rebill-web-components-sdk/discount-coupon.rebill-divider.entry.esm.js.map +1 -1
  42. package/dist/rebill-web-components-sdk/organization-logo.rebill-card-icon.rebill-checkout-single-column.rebill-footer.entry.esm.js.map +1 -1
  43. package/dist/rebill-web-components-sdk/p-8bf5ce94.entry.js +2 -0
  44. package/dist/rebill-web-components-sdk/p-8bf5ce94.entry.js.map +1 -0
  45. package/dist/rebill-web-components-sdk/p-D8cwEAmw.js.map +1 -1
  46. package/dist/rebill-web-components-sdk/{p-e68db8f7.entry.js → p-d0636f82.entry.js} +2 -2
  47. package/dist/rebill-web-components-sdk/{p-e68db8f7.entry.js.map → p-d0636f82.entry.js.map} +1 -1
  48. package/dist/rebill-web-components-sdk/rebill-web-components-sdk.esm.js +1 -1
  49. package/dist/types/components/checkout/discount-coupon/discount-coupon.d.ts +1 -0
  50. package/package.json +1 -1
  51. package/dist/components/p-BCu7Nkqb.js.map +0 -1
  52. package/dist/components/p-CtTqLwLn.js.map +0 -1
  53. package/dist/rebill-web-components-sdk/p-5eda5359.entry.js +0 -2
  54. package/dist/rebill-web-components-sdk/p-5eda5359.entry.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import{r as e,h as r}from"./p-D8cwEAmw.js";import{s as o,I as i,a as t}from"./p-DkbFAMha.js";import{L as l}from"./p-BzDRvtfU.js";import{B as a,g as n,i as c}from"./p-Do_vNuMa.js";import{C as s}from"./p-DA598vBj.js";const d=":host{display:inline-block}.card-icon-container{display:flex;align-items:center;justify-content:center;margin-right:8px}";var f;(function(e){e["VISA"]="visa";e["MASTERCARD"]="mastercard";e["DISCOVER"]="discover";e["JCB"]="jcb";e["UNIONPAY"]="unionpay";e["MAESTRO"]="maestro";e["MIR"]="mir";e["ELO"]="elo";e["HIPER"]="hiper";e["HIPERCARD"]="hipercard";e["GENERIC"]="generic";e["AMEX"]="amex";e["DINERS"]="diners"})(f||(f={}));const b={visa:f.VISA,mastercard:f.MASTERCARD,"american-express":f.AMEX,amex:f.AMEX,"diners-club":f.DINERS,discover:f.DISCOVER,jcb:f.JCB,unionpay:f.UNIONPAY,maestro:f.MAESTRO,mir:f.MIR,elo:f.ELO,hiper:f.HIPER,hipercard:f.HIPERCARD};const h=class{constructor(r){e(this,r)}cardBrand;width=35;height=24;getCardType(){if(this.cardBrand){const e=this.cardBrand.toLowerCase();return b[e]||f.GENERIC}return f.GENERIC}renderVisaIcon(){return r("svg",{width:"23",height:"16",viewBox:"0 0 23 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r("rect",{x:"0.5",y:"0.5",width:"22",height:"15",rx:"2",fill:"white",stroke:"#D9D9D9"}),r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.02517 10.8392H5.63182L4.58697 6.79524C4.53738 6.60922 4.43208 6.44477 4.27718 6.36726C3.89063 6.17248 3.46468 6.01746 3 5.93928V5.78359H5.24458C5.55437 5.78359 5.78671 6.01746 5.82543 6.28908L6.36756 9.20609L7.76023 5.78359H9.11486L7.02517 10.8392ZM9.88932 10.8392H8.57341L9.65698 5.78359H10.9729L9.88932 10.8392ZM12.6754 7.18413C12.7141 6.91184 12.9464 6.75615 13.2175 6.75615C13.6434 6.71706 14.1074 6.79524 14.4947 6.98935L14.727 5.90087C14.3398 5.74517 13.9138 5.66699 13.5273 5.66699C12.2501 5.66699 11.3207 6.36726 11.3207 7.33915C11.3207 8.07851 11.979 8.46673 12.4437 8.7006C12.9464 8.9338 13.14 9.08949 13.1013 9.32269C13.1013 9.67249 12.7141 9.82818 12.3275 9.82818C11.8629 9.82818 11.3982 9.71158 10.9729 9.5168L10.7406 10.606C11.2052 10.8001 11.708 10.8783 12.1726 10.8783C13.6047 10.9167 14.4947 10.2171 14.4947 9.167C14.4947 7.84464 12.6754 7.76713 12.6754 7.18413ZM19.1 10.8392L18.0552 5.78359H16.9329C16.7005 5.78359 16.4682 5.93928 16.3907 6.17248L14.4559 10.8392H15.8106L16.081 10.1005H17.7454L17.9003 10.8392H19.1ZM17.1265 7.14505L17.513 9.05041H16.4294L17.1265 7.14505Z",fill:"#172B85"}))}renderMastercardIcon(){return r("svg",{width:"35",height:"25",viewBox:"0 0 35 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r("rect",{x:"0.5",y:"1.01758",width:"34",height:"23",rx:"3.5",fill:"white",stroke:"#D9D9D9"}),r("path",{d:"M22.1758 5.51758C25.9444 5.51758 29 8.60848 29 12.4209C28.9998 16.2332 25.9443 19.3232 22.1758 19.3232C20.4864 19.3231 18.9416 18.7007 17.75 17.6719C16.5584 18.7007 15.0137 19.3231 13.3242 19.3232C9.55566 19.3232 6.50018 16.2332 6.5 12.4209C6.5 8.60848 9.55555 5.51758 13.3242 5.51758C15.0134 5.51769 16.5584 6.13943 17.75 7.16797C18.9416 6.13943 20.4866 5.51769 22.1758 5.51758Z",fill:"#ED0006"}),r("path",{d:"M22.1758 5.51758C25.9444 5.51758 29 8.60848 29 12.4209C28.9998 16.2332 25.9443 19.3232 22.1758 19.3232C20.4863 19.3231 18.9416 18.7007 17.75 17.6719C19.2164 16.4058 20.1474 14.524 20.1475 12.4209C20.1475 10.3174 19.2168 8.4341 17.75 7.16797C18.9416 6.13943 20.4866 5.51769 22.1758 5.51758Z",fill:"#F9A000"}),r("path",{d:"M17.75 7.16895C19.2166 8.43507 20.1475 10.3176 20.1475 12.4209C20.1475 14.524 19.2163 16.4058 17.75 17.6719C16.2837 16.4058 15.3525 14.524 15.3525 12.4209C15.3525 10.3176 16.2834 8.43507 17.75 7.16895Z",fill:"#FF5E00"}))}renderAmexIcon(){return r("svg",{width:"23",height:"16",viewBox:"0 0 23 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r("rect",{x:"0.216981",y:"0.216981",width:"22.566",height:"15.566",rx:"0.867925",fill:"#1F72CD",stroke:"#D9D9D9","stroke-width":"0.433962"}),r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.1443 5.62012L2 10.5758H4.56703L4.88527 9.78562H5.61269L5.93093 10.5758H8.75651V9.9727L9.00828 10.5758H10.4699L10.7217 9.95995V10.5758H16.5981L17.3127 9.80614L17.9817 10.5758L21 10.5821L18.8489 8.11177L21 5.62012H18.0285L17.333 6.37551L16.685 5.62012H10.2922L9.74322 6.89921L9.18139 5.62012H6.61972V6.20265L6.33475 5.62012H4.1443ZM12.9196 6.32403H16.2941L17.3262 7.48832L18.3916 6.32403H19.4237L17.8555 8.11127L19.4237 9.87792H18.3448L17.3127 8.7001L16.2419 9.87792H12.9196V6.32403ZM13.7529 7.70949V7.06035V7.05973H15.8585L16.7772 8.09788L15.8178 9.1417H13.7529V8.43302H15.5938V7.70949H13.7529ZM4.64096 6.32403H5.89225L7.31456 9.68447V6.32403H8.68531L9.78388 8.73345L10.7963 6.32403H12.1602V9.88002H11.3303L11.3236 7.09356L10.1137 9.88002H9.37127L8.15459 7.09356V9.88002H6.4473L6.12363 9.08281H4.37497L4.05197 9.87932H3.13722L4.64096 6.32403ZM4.67357 8.34576L5.24969 6.9256L5.82513 8.34576H4.67357Z",fill:"white"}))}renderGenericIcon(){return r("svg",{width:this.width,height:this.height,viewBox:"0 0 14 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r("path",{d:"M0.833984 4.50036V10.1644C0.833984 10.5326 1.13246 10.8311 1.50065 10.8311L12.498 10.8311C12.8662 10.8311 13.1647 10.5326 13.1647 10.1644V4.50036M0.833984 4.50036V1.83561C0.833984 1.46742 1.13246 1.16895 1.50065 1.16895H12.4974C12.8648 1.16895 13.163 1.46624 13.1636 1.83367C13.1651 2.72257 13.1647 3.61146 13.1647 4.50036M0.833984 4.50036H13.1647",stroke:"#788191","stroke-linecap":"round","stroke-linejoin":"round"}))}render(){const e=this.getCardType();switch(e){case f.VISA:return this.renderVisaIcon();case f.MASTERCARD:return this.renderMastercardIcon();case f.AMEX:return this.renderAmexIcon();default:return this.renderGenericIcon()}}};h.style=d;const g=":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}.organization-logo{display:flex;align-items:center;justify-content:flex-start;width:100%}.logo-image{max-height:40px;max-width:120px;width:auto;height:auto;object-fit:contain;border-radius:8px}";const u=class{constructor(r){e(this,r)}organization;render(){return r("div",{key:"42b85645862f2ff4b96202fdffd79ccee2f9a8ae",class:"organization-logo"},this.organization.logoUrl?r("img",{src:this.organization.logoUrl,alt:this.organization.name,class:"logo-image"}):r("rebill-icon",{name:"logo-default",class:"logo-image"}))}};u.style=g;const m=".checkout-single-column{min-height:100vh;background:var(--rebill-color-background);display:flex;flex-direction:column;position:relative;overflow-x:hidden;min-width:320px}.checkout-single-column__header{display:flex;justify-content:flex-start;align-items:center;height:72px;width:100%;max-width:1448px;min-width:348px;background:var(--rebill-color-background);margin-left:30px;box-sizing:border-box}.checkout-single-column__main-content{flex:1;display:flex;justify-content:center;align-items:center;min-height:0;width:100%;box-sizing:border-box;max-width:450px;margin:0 auto;gap:2rem}.checkout-single-column__footer-container{margin-top:auto;height:60px;display:flex;align-items:center;justify-content:flex-start;width:100%;box-sizing:border-box}.checkout-single-column__footer-content{width:100%;max-width:450px;min-width:auto;flex-shrink:1;flex-basis:auto;box-sizing:border-box}@media (max-width: 1024px){.checkout-single-column__header{width:100%;max-width:100%;justify-content:flex-start}.checkout-single-column__main-content{gap:0;align-items:center;justify-content:center;padding-top:2rem;flex:1;min-height:0;width:100%}.checkout-single-column__footer-container{width:100%;height:auto;min-height:60px;justify-content:center}.checkout-single-column__footer-content{width:100%;min-width:auto;max-width:100%;flex-basis:auto}}@media (max-width: 767px){.checkout-single-column__header{height:60px;margin-left:12px;margin-right:12px;width:100%}.checkout-single-column__main-content{padding-top:1rem;align-items:center;justify-content:center;flex:1;width:100%}.checkout-single-column__footer-container{margin-left:12px;margin-right:12px;height:auto;min-height:60px;width:100%;justify-content:center}}@media (min-width: 1025px){.checkout-single-column{background:var(--rebill-color-background-left)}.checkout-single-column__footer-container{margin-left:16px}.checkout-single-column__header{background:var(--rebill-color-background-left)}}";const p=class{constructor(r){e(this,r)}render(){return r("div",{key:"4056fd4deda029182f012a7afd3dd876b54bb506",class:"checkout-single-column"},r("header",{key:"775292efa3ddfdd2707cac5d99adace78ad785c2",class:"checkout-single-column__header"},r("div",{key:"4c74d05163e7551c2fe1e61cf66c9742157de486",class:"header-container"},r("organization-logo",{key:"1dbbc337a78533944a9b202a120fd5e3b45001ac",organization:o.data.organization}))),r("main",{key:"a6756aaace6d8a44c3686beb474a18e23094df77",class:"checkout-single-column__main-content"},r("slot",{key:"545d2e2f13c0cc0c5c16332c21d58ed20e97bd0a"})),r("div",{key:"ef18a63a502d084739fbba677078ad981203e17a",class:"checkout-single-column__footer-container"},r("rebill-footer",{key:"0d77c24a49add92de8b63a418b631b45134588eb",class:"checkout-single-column__footer-content"})))}};p.style=m;const x=".language-selector{display:flex;align-items:center;margin-right:12px;height:24px}.rebill-footer__footer-content{display:flex;justify-content:space-between;align-items:center;width:100%;margin:18px}.terms-and-conditions{display:flex;align-items:center;gap:4px;margin-left:12px}.footer-powered{margin-right:4px}.footer-separator{margin-right:6px;margin-left:6px}.footer-link,.footer-powered,.footer-separator{display:flex;align-items:center}.footer-link a{font-size:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;text-decoration:none}";const k=class{constructor(r){e(this,r)}breakpoint=a.DESKTOP;resizeHandler=()=>{this.breakpoint=n(window.innerWidth)};disconnectedCallback(){window.removeEventListener("resize",this.resizeHandler)}async componentWillLoad(){this.resizeHandler();window.addEventListener("resize",this.resizeHandler);const e=i.getCurrentLanguage();t.changeLanguage(e)}handleLanguageChange=e=>{i.changeLanguage(e.detail.value);t.changeLanguage(e.detail.value)};render(){return r("div",{key:"2bf71ea419e16951f8ba3e1d9a74d460ea234271",class:"rebill-footer__footer-content"},r("div",{key:"5d475f95f2e99d14bcb5ac94807403b47c746955",class:"terms-and-conditions"},!c(this.breakpoint,a.DESKTOP)&&r("rebill-typography",{key:"e32913e5ff5be1045650d32607319fc704eb08fd",variant:"subtitle3",color:s.SECONDARY,class:"footer-powered"},i.translate("footer.poweredBy")),r("rebill-icon",{key:"98445973ff58f009ef8530ee5b85b82cee2ebbf5",name:"rebill-logo",color:s.SECONDARY}),r("rebill-icon",{key:"2a3e9923ff4587db6d7f98f60c7a63b435cbe041",name:"rebill",color:s.SECONDARY}),r("rebill-typography",{key:"a13ace0f701b6039a142cef96784940fedc57a42",variant:"subtitle3",color:s.SECONDARY,class:"footer-separator"},"|"),r("rebill-typography",{key:"bf4d69c5b8b2fedf56c6acb21a406e823bc12778",variant:"subtitle3",color:s.SECONDARY,class:"footer-link"},r("a",{key:"a17ff0764546610bd2d1bb14a44e54b947794a8f",href:"https://www.rebill.com/terminos-y-condiciones-usuarios-finales",target:"_blank"},i.translate("footer.termsAndConditions")))),r("div",{key:"76611d3afd818621460a0ca43ded9da3ee69bbc6",class:"language-selector"},r("rebill-icon",{key:"ea078f2e51059969e8a94a6f13239d214ef8b26a",name:"world"}),r("rebill-input-select",{key:"ff844420ba1b8d754c0d75c80993203bd5931486",id:"language-selector",variant:"underlined",backgroundColor:c(this.breakpoint,a.DESKTOP)?"":"var(--rebill-color-background-left)",options:[{label:"EN",value:l.EN},{label:"ES",value:l.ES},{label:"PT",value:l.PT}],value:o.currentLocale,"on-input":this.handleLanguageChange,fontSize:"10px",dropPosition:"up",arrowIcon:"down",class:"language-selector-input"})))}};k.style=x;export{u as organization_logo,h as rebill_card_icon,p as rebill_checkout_single_column,k as rebill_footer};
2
- //# sourceMappingURL=p-e68db8f7.entry.js.map
1
+ import{r as e,h as r}from"./p-D8cwEAmw.js";import{s as o,I as i,a as t}from"./p-DkbFAMha.js";import{L as l}from"./p-BzDRvtfU.js";import{B as a,g as n,i as c}from"./p-Do_vNuMa.js";import{C as s}from"./p-DA598vBj.js";const d=":host{display:inline-block}.card-icon-container{display:flex;align-items:center;justify-content:center;margin-right:8px}";var f;(function(e){e["VISA"]="visa";e["MASTERCARD"]="mastercard";e["DISCOVER"]="discover";e["JCB"]="jcb";e["UNIONPAY"]="unionpay";e["MAESTRO"]="maestro";e["MIR"]="mir";e["ELO"]="elo";e["HIPER"]="hiper";e["HIPERCARD"]="hipercard";e["GENERIC"]="generic";e["AMEX"]="amex";e["DINERS"]="diners"})(f||(f={}));const b={visa:f.VISA,mastercard:f.MASTERCARD,"american-express":f.AMEX,amex:f.AMEX,"diners-club":f.DINERS,discover:f.DISCOVER,jcb:f.JCB,unionpay:f.UNIONPAY,maestro:f.MAESTRO,mir:f.MIR,elo:f.ELO,hiper:f.HIPER,hipercard:f.HIPERCARD};const h=class{constructor(r){e(this,r)}cardBrand;width=35;height=24;getCardType(){if(this.cardBrand){const e=this.cardBrand.toLowerCase();return b[e]||f.GENERIC}return f.GENERIC}renderVisaIcon(){return r("svg",{width:"23",height:"16",viewBox:"0 0 23 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r("rect",{x:"0.5",y:"0.5",width:"22",height:"15",rx:"2",fill:"white",stroke:"#D9D9D9"}),r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.02517 10.8392H5.63182L4.58697 6.79524C4.53738 6.60922 4.43208 6.44477 4.27718 6.36726C3.89063 6.17248 3.46468 6.01746 3 5.93928V5.78359H5.24458C5.55437 5.78359 5.78671 6.01746 5.82543 6.28908L6.36756 9.20609L7.76023 5.78359H9.11486L7.02517 10.8392ZM9.88932 10.8392H8.57341L9.65698 5.78359H10.9729L9.88932 10.8392ZM12.6754 7.18413C12.7141 6.91184 12.9464 6.75615 13.2175 6.75615C13.6434 6.71706 14.1074 6.79524 14.4947 6.98935L14.727 5.90087C14.3398 5.74517 13.9138 5.66699 13.5273 5.66699C12.2501 5.66699 11.3207 6.36726 11.3207 7.33915C11.3207 8.07851 11.979 8.46673 12.4437 8.7006C12.9464 8.9338 13.14 9.08949 13.1013 9.32269C13.1013 9.67249 12.7141 9.82818 12.3275 9.82818C11.8629 9.82818 11.3982 9.71158 10.9729 9.5168L10.7406 10.606C11.2052 10.8001 11.708 10.8783 12.1726 10.8783C13.6047 10.9167 14.4947 10.2171 14.4947 9.167C14.4947 7.84464 12.6754 7.76713 12.6754 7.18413ZM19.1 10.8392L18.0552 5.78359H16.9329C16.7005 5.78359 16.4682 5.93928 16.3907 6.17248L14.4559 10.8392H15.8106L16.081 10.1005H17.7454L17.9003 10.8392H19.1ZM17.1265 7.14505L17.513 9.05041H16.4294L17.1265 7.14505Z",fill:"#172B85"}))}renderMastercardIcon(){return r("svg",{width:"35",height:"25",viewBox:"0 0 35 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r("rect",{x:"0.5",y:"1.01758",width:"34",height:"23",rx:"3.5",fill:"white",stroke:"#D9D9D9"}),r("path",{d:"M22.1758 5.51758C25.9444 5.51758 29 8.60848 29 12.4209C28.9998 16.2332 25.9443 19.3232 22.1758 19.3232C20.4864 19.3231 18.9416 18.7007 17.75 17.6719C16.5584 18.7007 15.0137 19.3231 13.3242 19.3232C9.55566 19.3232 6.50018 16.2332 6.5 12.4209C6.5 8.60848 9.55555 5.51758 13.3242 5.51758C15.0134 5.51769 16.5584 6.13943 17.75 7.16797C18.9416 6.13943 20.4866 5.51769 22.1758 5.51758Z",fill:"#ED0006"}),r("path",{d:"M22.1758 5.51758C25.9444 5.51758 29 8.60848 29 12.4209C28.9998 16.2332 25.9443 19.3232 22.1758 19.3232C20.4863 19.3231 18.9416 18.7007 17.75 17.6719C19.2164 16.4058 20.1474 14.524 20.1475 12.4209C20.1475 10.3174 19.2168 8.4341 17.75 7.16797C18.9416 6.13943 20.4866 5.51769 22.1758 5.51758Z",fill:"#F9A000"}),r("path",{d:"M17.75 7.16895C19.2166 8.43507 20.1475 10.3176 20.1475 12.4209C20.1475 14.524 19.2163 16.4058 17.75 17.6719C16.2837 16.4058 15.3525 14.524 15.3525 12.4209C15.3525 10.3176 16.2834 8.43507 17.75 7.16895Z",fill:"#FF5E00"}))}renderAmexIcon(){return r("svg",{width:"23",height:"16",viewBox:"0 0 23 16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r("rect",{x:"0.216981",y:"0.216981",width:"22.566",height:"15.566",rx:"0.867925",fill:"#1F72CD",stroke:"#D9D9D9","stroke-width":"0.433962"}),r("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M4.1443 5.62012L2 10.5758H4.56703L4.88527 9.78562H5.61269L5.93093 10.5758H8.75651V9.9727L9.00828 10.5758H10.4699L10.7217 9.95995V10.5758H16.5981L17.3127 9.80614L17.9817 10.5758L21 10.5821L18.8489 8.11177L21 5.62012H18.0285L17.333 6.37551L16.685 5.62012H10.2922L9.74322 6.89921L9.18139 5.62012H6.61972V6.20265L6.33475 5.62012H4.1443ZM12.9196 6.32403H16.2941L17.3262 7.48832L18.3916 6.32403H19.4237L17.8555 8.11127L19.4237 9.87792H18.3448L17.3127 8.7001L16.2419 9.87792H12.9196V6.32403ZM13.7529 7.70949V7.06035V7.05973H15.8585L16.7772 8.09788L15.8178 9.1417H13.7529V8.43302H15.5938V7.70949H13.7529ZM4.64096 6.32403H5.89225L7.31456 9.68447V6.32403H8.68531L9.78388 8.73345L10.7963 6.32403H12.1602V9.88002H11.3303L11.3236 7.09356L10.1137 9.88002H9.37127L8.15459 7.09356V9.88002H6.4473L6.12363 9.08281H4.37497L4.05197 9.87932H3.13722L4.64096 6.32403ZM4.67357 8.34576L5.24969 6.9256L5.82513 8.34576H4.67357Z",fill:"white"}))}renderGenericIcon(){return r("svg",{width:this.width,height:this.height,viewBox:"0 0 14 12",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r("path",{d:"M0.833984 4.50036V10.1644C0.833984 10.5326 1.13246 10.8311 1.50065 10.8311L12.498 10.8311C12.8662 10.8311 13.1647 10.5326 13.1647 10.1644V4.50036M0.833984 4.50036V1.83561C0.833984 1.46742 1.13246 1.16895 1.50065 1.16895H12.4974C12.8648 1.16895 13.163 1.46624 13.1636 1.83367C13.1651 2.72257 13.1647 3.61146 13.1647 4.50036M0.833984 4.50036H13.1647",stroke:"#788191","stroke-linecap":"round","stroke-linejoin":"round"}))}render(){const e=this.getCardType();switch(e){case f.VISA:return this.renderVisaIcon();case f.MASTERCARD:return this.renderMastercardIcon();case f.AMEX:return this.renderAmexIcon();default:return this.renderGenericIcon()}}};h.style=d;const g=":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}.organization-logo{display:flex;align-items:center;justify-content:flex-start;width:100%}.logo-image{max-height:40px;max-width:120px;width:auto;height:auto;object-fit:contain;border-radius:8px}";const m=class{constructor(r){e(this,r)}organization;render(){return r("div",{key:"42b85645862f2ff4b96202fdffd79ccee2f9a8ae",class:"organization-logo"},this.organization.logoUrl?r("img",{src:this.organization.logoUrl,alt:this.organization.name,class:"logo-image"}):r("rebill-icon",{name:"logo-default",class:"logo-image"}))}};m.style=g;const u=".checkout-single-column{min-height:100vh;background:var(--rebill-color-background);display:flex;flex-direction:column;position:relative;overflow-x:hidden;min-width:320px}.checkout-single-column__header{display:flex;justify-content:flex-start;align-items:center;height:72px;width:100%;max-width:1448px;min-width:348px;background:var(--rebill-color-background);margin-left:30px;box-sizing:border-box}.checkout-single-column__main-content{flex:1;display:flex;justify-content:center;align-items:center;min-height:0;width:100%;box-sizing:border-box;max-width:450px;margin:0 auto;gap:2rem}.checkout-single-column__footer-container{margin-top:auto;height:60px;display:flex;align-items:center;justify-content:flex-start;width:100%;box-sizing:border-box}.checkout-single-column__footer-content{width:100%;max-width:450px;min-width:auto;flex-shrink:1;flex-basis:auto;box-sizing:border-box}@media (max-width: 1024px){.checkout-single-column__header{width:100%;max-width:100%;justify-content:flex-start}.checkout-single-column__main-content{gap:0;align-items:center;justify-content:center;padding-top:2rem;flex:1;min-height:0;width:100%}.checkout-single-column__footer-container{width:100%;height:auto;min-height:60px;justify-content:center}.checkout-single-column__footer-content{width:100%;min-width:auto;max-width:100%;flex-basis:auto}}@media (max-width: 767px){.checkout-single-column__header{height:60px;margin-left:12px;margin-right:12px;width:100%}.checkout-single-column__main-content{padding-top:1rem;align-items:center;justify-content:center;flex:1;width:100%}.checkout-single-column__footer-container{margin-left:12px;margin-right:12px;height:auto;min-height:60px;width:100%;justify-content:center}}@media (min-width: 1025px){.checkout-single-column{background:var(--rebill-color-background-left)}.checkout-single-column__footer-container{margin-left:16px}.checkout-single-column__header{background:var(--rebill-color-background-left)}}";const p=class{constructor(r){e(this,r)}render(){return r("div",{key:"4056fd4deda029182f012a7afd3dd876b54bb506",class:"checkout-single-column"},r("header",{key:"775292efa3ddfdd2707cac5d99adace78ad785c2",class:"checkout-single-column__header"},r("div",{key:"4c74d05163e7551c2fe1e61cf66c9742157de486",class:"header-container"},r("organization-logo",{key:"1dbbc337a78533944a9b202a120fd5e3b45001ac",organization:o.data.organization}))),r("main",{key:"a6756aaace6d8a44c3686beb474a18e23094df77",class:"checkout-single-column__main-content"},r("slot",{key:"545d2e2f13c0cc0c5c16332c21d58ed20e97bd0a"})),r("div",{key:"ef18a63a502d084739fbba677078ad981203e17a",class:"checkout-single-column__footer-container"},r("rebill-footer",{key:"0d77c24a49add92de8b63a418b631b45134588eb",class:"checkout-single-column__footer-content"})))}};p.style=u;const x=".language-selector{display:flex;align-items:center;margin-right:12px;height:24px}.rebill-footer__footer-content{display:flex;justify-content:space-between;align-items:center;width:100%;margin-bottom:18px;margin-top:18px}.terms-and-conditions{display:flex;align-items:center;gap:4px;margin-left:12px}.footer-powered{margin-right:4px}.footer-separator{margin-right:6px;margin-left:6px}.footer-link,.footer-powered,.footer-separator{display:flex;align-items:center}.footer-link a{font-size:inherit;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;text-decoration:none}";const k=class{constructor(r){e(this,r)}breakpoint=a.DESKTOP;resizeHandler=()=>{this.breakpoint=n(window.innerWidth)};disconnectedCallback(){window.removeEventListener("resize",this.resizeHandler)}async componentWillLoad(){this.resizeHandler();window.addEventListener("resize",this.resizeHandler);const e=i.getCurrentLanguage();t.changeLanguage(e)}handleLanguageChange=e=>{i.changeLanguage(e.detail.value);t.changeLanguage(e.detail.value)};render(){return r("div",{key:"2bf71ea419e16951f8ba3e1d9a74d460ea234271",class:"rebill-footer__footer-content"},r("div",{key:"5d475f95f2e99d14bcb5ac94807403b47c746955",class:"terms-and-conditions"},!c(this.breakpoint,a.DESKTOP)&&r("rebill-typography",{key:"e32913e5ff5be1045650d32607319fc704eb08fd",variant:"subtitle3",color:s.SECONDARY,class:"footer-powered"},i.translate("footer.poweredBy")),r("rebill-icon",{key:"98445973ff58f009ef8530ee5b85b82cee2ebbf5",name:"rebill-logo",color:s.SECONDARY}),r("rebill-icon",{key:"2a3e9923ff4587db6d7f98f60c7a63b435cbe041",name:"rebill",color:s.SECONDARY}),r("rebill-typography",{key:"a13ace0f701b6039a142cef96784940fedc57a42",variant:"subtitle3",color:s.SECONDARY,class:"footer-separator"},"|"),r("rebill-typography",{key:"bf4d69c5b8b2fedf56c6acb21a406e823bc12778",variant:"subtitle3",color:s.SECONDARY,class:"footer-link"},r("a",{key:"a17ff0764546610bd2d1bb14a44e54b947794a8f",href:"https://www.rebill.com/terminos-y-condiciones-usuarios-finales",target:"_blank"},i.translate("footer.termsAndConditions")))),r("div",{key:"76611d3afd818621460a0ca43ded9da3ee69bbc6",class:"language-selector"},r("rebill-icon",{key:"ea078f2e51059969e8a94a6f13239d214ef8b26a",name:"world"}),r("rebill-input-select",{key:"ff844420ba1b8d754c0d75c80993203bd5931486",id:"language-selector",variant:"underlined",backgroundColor:c(this.breakpoint,a.DESKTOP)?"":"var(--rebill-color-background-left)",options:[{label:"EN",value:l.EN},{label:"ES",value:l.ES},{label:"PT",value:l.PT}],value:o.currentLocale,"on-input":this.handleLanguageChange,fontSize:"10px",dropPosition:"up",arrowIcon:"down",class:"language-selector-input"})))}};k.style=x;export{m as organization_logo,h as rebill_card_icon,p as rebill_checkout_single_column,k as rebill_footer};
2
+ //# sourceMappingURL=p-d0636f82.entry.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["registerInstance","h","state","I18nService","SessionStore","LOCALES_ENUM","BREAKPOINT_ENUM","getBreakpoint","isBreakpointBelow","COLORS_ENUM","cardIconCss","PAYMENT_ICON_TYPE_ENUM","CARD_TYPE_MAP","visa","VISA","mastercard","MASTERCARD","AMEX","amex","DINERS","discover","DISCOVER","jcb","JCB","unionpay","UNIONPAY","maestro","MAESTRO","mir","MIR","elo","ELO","hiper","HIPER","hipercard","HIPERCARD","CardIcon","constructor","hostRef","this","cardBrand","width","height","getCardType","brandLower","toLowerCase","GENERIC","renderVisaIcon","viewBox","fill","xmlns","x","y","rx","stroke","d","renderMastercardIcon","renderAmexIcon","renderGenericIcon","render","cardType","style","organizationLogoCss","OrganizationLogo","organization","key","class","logoUrl","src","alt","name","checkoutSingleColumnCss","LayoutCheckoutSingleColumn","data","rebillFooterCss","RebillFooter","breakpoint","DESKTOP","resizeHandler","window","innerWidth","disconnectedCallback","removeEventListener","componentWillLoad","addEventListener","language","getCurrentLanguage","changeLanguage","handleLanguageChange","event","detail","value","variant","color","SECONDARY","translate","href","target","id","backgroundColor","options","label","EN","ES","PT","currentLocale","fontSize","dropPosition","arrowIcon"],"sources":["0"],"mappings":"YAAcA,OAAkBC,MAAS,8BAC3BC,OAAYC,OAAkBC,MAAoB,8BAClDC,MAAoB,8BACpBC,OAAsBC,OAAoBC,MAAyB,8BACnEC,MAAmB,kBAEjC,MAAMC,EAAc,2HAEpB,IAAIC,GACJ,SAAWA,GACPA,EAAuB,QAAU,OACjCA,EAAuB,cAAgB,aACvCA,EAAuB,YAAc,WACrCA,EAAuB,OAAS,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Ac,KAAMC,UAAW,OAAQ1C,MAAO,6BAC9I,GAEJS,EAAad,MAAQa,SAEZX,uBAAuC3B,sBAA8BoC,mCAA6DG","ignoreList":[]}
1
+ {"version":3,"names":["registerInstance","h","state","I18nService","SessionStore","LOCALES_ENUM","BREAKPOINT_ENUM","getBreakpoint","isBreakpointBelow","COLORS_ENUM","cardIconCss","PAYMENT_ICON_TYPE_ENUM","CARD_TYPE_MAP","visa","VISA","mastercard","MASTERCARD","AMEX","amex","DINERS","discover","DISCOVER","jcb","JCB","unionpay","UNIONPAY","maestro","MAESTRO","mir","MIR","elo","ELO","hiper","HIPER","hipercard","HIPERCARD","CardIcon","constructor","hostRef","this","cardBrand","width","height","getCardType","brandLower","toLowerCase","GENERIC","renderVisaIcon","viewBox","fill","xmlns","x","y","rx","stroke","d","renderMastercardIcon","renderAmexIcon","renderGenericIcon","render","cardType","style","organizationLogoCss","OrganizationLogo","organization","key","class","logoUrl","src","alt","name","checkoutSingleColumnCss","LayoutCheckoutSingleColumn","data","rebillFooterCss","RebillFooter","breakpoint","DESKTOP","resizeHandler","window","innerWidth","disconnectedCallback","removeEventListener","componentWillLoad","addEventListener","language","getCurrentLanguage","changeLanguage","handleLanguageChange","event","detail","value","variant","color","SECONDARY","translate","href","target","id","backgroundColor","options","label","EN","ES","PT","currentLocale","fontSize","dropPosition","arrowIcon"],"sources":["0"],"mappings":"YAAcA,OAAkBC,MAAS,8BAC3BC,OAAYC,OAAkBC,MAAoB,8BAClDC,MAAoB,8BACpBC,OAAsBC,OAAoBC,MAAyB,8BACnEC,MAAmB,kBAEjC,MAAMC,EAAc,2HAEpB,IAAIC,GACJ,SAAWA,GACPA,EAAuB,QAAU,OACjCA,EAAuB,cAAgB,aACvCA,EAAuB,YAAc,WACrCA,EAAuB,OAAS,MAChCA,EAAuB,YAAc,WACrCA,EAAuB,WAAa,UACpCA,EAAuB,OAAS,MAChCA,EAAuB,OAAS,MAChCA,EAAuB,SAAW,QAClCA,EAAuB,aAAe,YAC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 @@
1
- import{p as e,b as t}from"./p-D8cwEAmw.js";export{s as setNonce}from"./p-D8cwEAmw.js";import{g as r}from"./p-DQuL1Twl.js";var a=()=>{const t=import.meta.url;const r={};if(t!==""){r.resourcesUrl=new URL(".",t).href}return e(r)};a().then((async e=>{await r();return t(JSON.parse('[["p-6667496c",[[256,"rebill-checkout",{"productId":[1,"product-id"],"planId":[1,"plan-id"],"publicKey":[1,"public-key"],"instantProduct":[1,"instant-product"],"instantPlan":[1,"instant-plan"],"display":[1],"customerInformation":[1,"customer-information"],"oneClickCheckout":[4,"one-click-checkout"],"css":[1],"language":[1],"checkoutLandingSession":[1,"checkout-landing-session"],"externalPayment":[1,"external-payment"],"rejectedPaymentCard":[32],"rejectedPaymentAPM":[32],"countries":[32],"currentPaymentMethod":[32],"checkoutResponse":[32],"isSubmitting":[32],"isCardSubmitting":[32],"isCardSuccess":[32],"isAPMSubmitting":[32],"isAPMSuccess":[32],"storedCheckoutResults":[32],"alertErrorKeys":[32],"currentApmPaymentMethod":[32],"breakpoint":[32],"showRefreshModal":[32],"cardError":[32],"initialData":[32],"allRequiredFields":[32],"currentRequiredFields":[32],"customerExists":[32],"showOtp":[32],"otpVerified":[32],"responseCheckoutCard":[32],"cardMode":[32],"submit":[64]},[[0,"paymentMethodSelected","handlePaymentMethodSelected"],[0,"input","handleInputChange"],[0,"onRebillAccountClick","handleRebillAccountClick"],[0,"returnForm","handleReturnForm"],[0,"signOut","handleSignOut"],[0,"codeVerified","handleCodeVerified"]],{"language":["handleLanguageChange"]}]]],["p-e242be38",[[256,"rebill-renewal",{"renewalData":[1,"renewal-data"],"renewalToken":[1,"renewal-token"],"currentPaymentMethod":[32],"isSubmitting":[32],"isCardSubmitting":[32],"isCardSuccess":[32],"errorMessage":[32],"breakpoint":[32],"errorPaymentCard":[32],"errorPaymentAPM":[32],"initialData":[32],"checkoutResponse":[32],"currentApmPaymentMethod":[32],"countries":[32],"allRequiredFields":[32],"currentRequiredFields":[32],"errorCardInvalid":[32],"cardMode":[32]},[[0,"paymentMethodSelected","handlePaymentMethodSelected"],[0,"bankSelected","handleBankSelected"],[0,"cardSelected","handleCardSelected"]]]]],["p-6a4ae871",[[256,"root-component",{"isLoading":[32],"currentLang":[32],"formData":[32]}]]],["p-7b1b38fc",[[256,"rebill-card-carousel",{"interval":[2],"size":[1],"color":[1],"showAllCards":[4,"show-all-cards"],"currentIndex":[32]}]]],["p-31ee0e1d",[[260,"rebill-flex-container",{"direction":[1],"wrap":[1],"gap":[1],"alignItems":[1,"align-items"],"justifyContent":[1,"justify-content"]}]]],["p-36e626c4",[[260,"rebill-grid-container",{"columns":[2],"gap":[1],"alignItems":[1,"align-items"],"justifyContent":[1,"justify-content"]}]]],["p-1a748630",[[256,"renewal-success-page",{"typePaymentMethod":[1,"type-payment-method"],"country":[1],"bank":[1],"paymentMethodName":[1,"payment-method-name"],"cardLastFour":[1,"card-last-four"],"paymentDate":[1,"payment-date"],"referenceNumber":[1,"reference-number"],"trialPeriodDays":[2,"trial-period-days"],"debitDay":[2,"debit-day"],"planAmount":[2,"plan-amount"],"timeToRedirect":[2,"time-to-redirect"],"currentLocale":[32],"breakpoint":[32],"loaderProgress":[32],"isLoadingLottie":[32],"showRedirectMessage":[32]}],[256,"renewal-summary",{"displayedComponents":[16],"totalAmount":[2,"total-amount"],"subscriptionTitle":[1,"subscription-title"],"subscriptionAmount":[2,"subscription-amount"],"nextChargeDate":[1,"next-charge-date"],"frequency":[16],"currency":[1],"couponCode":[1,"coupon-code"],"discountAmount":[2,"discount-amount"],"discountPercentage":[2,"discount-percentage"],"forceUpdate":[32]}]]],["p-8193a731",[[256,"input-otp",{"error":[1],"otp":[1],"clearable":[4],"placeholder":[1],"otpValue":[32]}]]],["p-8953054b",[[256,"rebill-card",{"cardTitle":[1,"card-title"],"cardLabels":[16]}]]],["p-6a236181",[[260,"rebill-container",{"maxWidth":[1,"max-width"],"padding":[1],"fluid":[4]}],[256,"rebill-input-checkbox",{"label":[1],"checked":[1540],"error":[1],"id":[1],"disabled":[4]},[[4,"change","handleFormChange"]]]]],["p-b6b1ce59",[[256,"rebill-timeline-debit-day",{"debitDay":[2,"debit-day"],"totalAmount":[2,"total-amount"],"planAmount":[2,"plan-amount"],"currency":[1],"debitStrategy":[1,"debit-strategy"],"language":[1],"discountApplied":[4,"discount-applied"],"discountType":[1,"discount-type"],"discountedPercentage":[2,"discounted-percentage"],"discountDuration":[2,"discount-duration"],"discountAmount":[2,"discount-amount"],"currentLanguage":[32]}],[256,"rebill-timeline-free-trial",{"trialPeriodEndsAt":[1,"trial-period-ends-at"],"trialPeriodEndsReminderAt":[1,"trial-period-ends-reminder-at"],"trialPeriodDays":[2,"trial-period-days"],"subtotal":[2],"currency":[1],"language":[1],"discountApplied":[4,"discount-applied"],"discountType":[1,"discount-type"],"discountedPercentage":[2,"discounted-percentage"],"discountDuration":[2,"discount-duration"],"discountAmount":[2,"discount-amount"],"currentLanguage":[32]}]]],["p-6ec44283",[[260,"rebill-form",{"validationSchema":[8,"validation-schema"],"initialData":[16],"renderForm":[16],"formData":[32],"errors":[32],"submitForm":[64],"resetValidation":[64],"clearError":[64]},[[0,"input","handleInputChange"],[0,"blur","handleBlur"]],{"initialData":["handleInitialDataChange"],"validationSchema":["handleValidationSchemaChange"]}]]],["p-872610b6",[[256,"rebill-vertical-divider",{"height":[1],"color":[1],"thickness":[1],"dashed":[4],"connectorActive":[4,"connector-active"],"withDot":[4,"with-dot"]}]]],["p-b59254ca",[[260,"rebill-typography",{"variant":[1],"color":[1],"align":[1],"noWrap":[4,"no-wrap"],"gutterBottom":[4,"gutter-bottom"],"paragraph":[4]}],[256,"rebill-icon",{"name":[1],"size":[1],"color":[1],"svgContent":[32]}]]],["p-628ad459",[[260,"collapsible-card",{"header":[1],"open":[4],"variant":[1],"isOpen":[32]}]]],["p-5eda5359",[[256,"discount-coupon",{"hideLabel":[4,"hide-label"],"displayMode":[1,"display-mode"],"readonlyCouponCode":[1,"readonly-coupon-code"],"readonlyDiscountAmount":[2,"readonly-discount-amount"],"readonlyCurrency":[1,"readonly-currency"],"couponCode":[32],"actionStatus":[32],"isLoading":[32],"isError":[32],"currentLocale":[32]}],[256,"rebill-divider"]]],["p-485727f6",[[256,"rebill-alert",{"type":[1],"message":[1],"alertTitle":[1,"alert-title"],"icon":[1],"variant":[1],"size":[1],"colorIcon":[1,"color-icon"]}]]],["p-a616ee91",[[256,"rebill-input-text",{"label":[1],"placeholder":[1],"value":[1537],"error":[1],"id":[1],"disabled":[4],"leftIcon":[1,"left-icon"],"rightIcon":[1,"right-icon"],"clearable":[4],"variant":[1],"uppercase":[4],"getInputElement":[64]},[[4,"change","handleFormChange"]]]]],["p-c72d163e",[[256,"rebill-input-select",{"label":[1],"options":[16],"value":[1537],"error":[1],"id":[1],"disabled":[4],"placeholder":[1],"variant":[1],"arrowIcon":[1,"arrow-icon"],"dropPosition":[1,"drop-position"],"fontSize":[1,"font-size"],"backgroundColor":[1,"background-color"],"searchable":[4],"searchPlaceholder":[1,"search-placeholder"],"loading":[4],"isOpen":[32],"componentId":[32],"highlightedIndex":[32],"searchTerm":[32],"filteredOptions":[32],"languageUpdateTrigger":[32]},[[4,"change","handleFormChange"],[4,"closeAllSelects","handleCloseAllSelects"],[4,"click","handleDocumentClick"],[0,"keydown","handleKeyDown"]]]]],["p-567ae839",[[260,"rebill-button",{"type":[1],"disabled":[4],"id":[1],"loading":[4],"showSpinnerWithText":[4,"show-spinner-with-text"],"nonClickable":[4,"non-clickable"],"variant":[1],"theme":[1],"size":[1],"icon":[1],"iconColor":[1,"icon-color"]}]]],["p-e68db8f7",[[256,"rebill-card-icon",{"cardBrand":[1,"card-brand"],"width":[2],"height":[2]}],[260,"rebill-checkout-single-column"],[256,"rebill-footer",{"breakpoint":[32]}],[256,"organization-logo",{"organization":[16]}]]],["p-852bb04c",[[256,"rebill-summary",{"totalAmount":[8,"total-amount"],"itemTitle":[1,"item-title"],"itemDescription":[1,"item-description"],"itemAmount":[8,"item-amount"],"planFrequency":[1,"plan-frequency"],"planFrequencyCount":[2,"plan-frequency-count"],"subtotal":[8],"discount":[8],"currency":[1],"displayedComponents":[16],"allowCoupon":[4,"allow-coupon"],"currentBreakpoint":[1,"current-breakpoint"],"discountType":[1,"discount-type"],"discountedPercentage":[2,"discounted-percentage"],"discountDuration":[2,"discount-duration"],"discountAmount":[2,"discount-amount"],"discountApplied":[32]},[[0,"discountApplied","handleDiscountApplied"]]],[256,"success-page",{"typePaymentMethod":[1,"type-payment-method"],"country":[1],"bank":[1],"paymentMethodName":[1,"payment-method-name"],"cardLastFour":[1,"card-last-four"],"paymentDate":[1,"payment-date"],"referenceNumber":[1,"reference-number"],"trialPeriodDays":[2,"trial-period-days"],"debitDay":[2,"debit-day"],"planAmount":[2,"plan-amount"],"timeToRedirect":[2,"time-to-redirect"],"currentLocale":[32],"breakpoint":[32],"loaderProgress":[32],"isLoadingLottie":[32],"showRedirectMessage":[32]}],[256,"otp-component",{"timeLeft":[32],"isTimerRunning":[32],"codeResent":[32],"isVerifying":[32],"otpValue":[32],"error":[32]}],[256,"user-information",{"userInformation":[16],"errors":[16],"customerExists":[4,"customer-exists"],"disabled":[4]},[[0,"input","handleInputChange"],[0,"blur","handleBlur"]]],[256,"rebill-mode-sandbox",{"isPanelVisible":[32],"isPanelClosing":[32],"isCardsPanelVisible":[32],"isCardsPanelClosing":[32],"currentLanguage":[32]}],[256,"rebill-mode-sandbox-mobile",{"isPanelVisible":[32],"currentLanguage":[32]}],[256,"rebill-modal-overlay",{"visible":[32],"languageUpdateTrigger":[32]}]]],["p-b75b53a8",[[256,"rebill-installments",{"error":[1],"currentValue":[32],"isDisabled":[32],"value":[32],"placeholder":[32]}],[256,"card-identification",{"documentTypeError":[1,"document-type-error"],"documentNumberError":[1,"document-number-error"],"disabled":[4],"documentTypes":[32],"country":[32],"currentLanguage":[32]}],[256,"card-iframe",{"customCSS":[1,"custom-c-s-s"],"iframeLoaded":[32],"currentLang":[32],"initialLang":[32],"iframeHeight":[32]}],[256,"rebill-input-combo",{"label":[1],"options":[16],"selectValue":[1537,"select-value"],"inputValue":[1537,"input-value"],"inputPlaceholder":[1,"input-placeholder"],"selectPlaceholder":[1,"select-placeholder"],"error":[1],"selectId":[1,"select-id"],"inputId":[1,"input-id"],"disabled":[4],"selectWidth":[1,"select-width"],"isOpen":[32],"highlightedIndex":[32],"componentId":[32]},[[4,"change","handleFormChange"],[4,"closeAllSelects","handleCloseAllSelects"],[4,"click","handleDocumentClick"]]],[256,"card-skeleton"]]],["p-80dcd17e",[[256,"payment-method-selector",{"enabledPaymentMethods":[16],"defaultSelected":[1,"default-selected"],"showErrorComponent":[4,"show-error-component"],"cardError":[16],"country":[1],"installmentsError":[1,"installments-error"],"documentTypeError":[1,"document-type-error"],"showDocument":[4,"show-document"],"documentNumberError":[1,"document-number-error"],"customCSS":[1,"custom-c-s-s"],"errorComponent":[16],"disabled":[4],"icon":[32],"selectedPaymentMethod":[32],"saveCard":[32]},[[0,"selectableCardClick","handleSelectableCardClick"]]],[256,"apm-checkout",{"paymentMethod":[1,"payment-method"],"referenceId":[1,"reference-id"],"qrCodeData":[1,"qr-code-data"],"code":[1],"providerName":[1,"provider-name"],"expirationDate":[1,"expiration-date"],"country":[1],"redirectUrl":[1,"redirect-url"],"timeToRedirect":[2,"time-to-redirect"],"checkoutRequestId":[1,"checkout-request-id"],"bearerToken":[1,"bearer-token"],"bankTransferData":[8,"bank-transfer-data"],"showRedirectMessage":[32],"isPolling":[32],"minutesLeft":[32],"qrStartTime":[32],"downloadData":[32]}],[256,"rebill-processing-payment",{"currentLocale":[32],"breakpoint":[32],"loaderProgress":[32],"isLoadingLottie":[32]}],[256,"rebill-address",{"billingView":[1537,"billing-view"],"disabled":[4],"countryOptions":[16],"errors":[16],"currentBillingStateOptions":[32],"isLoadingAddress":[32]}],[256,"user-information-static",{"userInfo":[16],"variant":[1]}],[256,"payment-button",{"isDisabled":[4,"is-disabled"],"isLoading":[4,"is-loading"],"paymentMethod":[1,"payment-method"],"isRenewal":[4,"is-renewal"],"trialPeriodDays":[2,"trial-period-days"],"redirectUrl":[4,"redirect-url"],"timeToRedirect":[2,"time-to-redirect"],"country":[1],"currentLanguage":[32],"countdownSeconds":[32],"paymentMethodDisplayName":[32]},null,{"redirectUrl":["onRedirectPropsChange"],"timeToRedirect":["onRedirectPropsChange"]}],[256,"rebill-bank-selector",{"banks":[16],"defaultSelectedBankId":[1,"default-selected-bank-id"],"error":[1],"disabled":[4],"selectedBankId":[32],"languageUpdateTrigger":[32]}],[256,"user-information-phone",{"error":[1],"countryCode":[1,"country-code"],"disabled":[4],"languageUpdateTrigger":[32]}],[256,"rebill-checkout-form",{"validationSchema":[8,"validation-schema"],"initialData":[16],"renderForm":[16],"resetValidation":[64]},[[0,"change","handleFormChange"]]],[256,"card-fields-wrapper",{"installmentsError":[1,"installments-error"],"documentTypeError":[1,"document-type-error"],"documentNumberError":[1,"document-number-error"],"showDocument":[4,"show-document"],"customCSS":[1,"custom-c-s-s"]}],[256,"bank-transfer",{"bankTransferData":[8,"bank-transfer-data"]}],[256,"qr-code",{"qrCodeData":[1,"qr-code-data"],"providerName":[1,"provider-name"],"expirationDate":[1,"expiration-date"],"paymentMethod":[1,"payment-method"],"code":[1],"qrCodeSvg":[32],"isImage":[32],"timeLeft":[32],"formattedTime":[32],"hasCopied":[32]}],[256,"rebill-address-form",{"addressType":[1,"address-type"],"countryOptions":[16],"stateOptions":[16],"errors":[16],"disabled":[4]}],[256,"rebill-address-search",{"addressType":[1,"address-type"],"placeholder":[1],"error":[1],"disabled":[4],"isInitialized":[32],"currentLocale":[32]}],[256,"apm-download",{"data":[16]}],[256,"single-payment-method",{"paymentMethod":[1,"payment-method"],"currencyCountry":[1,"currency-country"],"paymentMethodDetails":[16],"icons":[16]}],[256,"rebill-input-phone",{"placeholder":[1],"value":[1537],"error":[1],"phoneNumberId":[1,"phone-number-id"],"countryCodeId":[1,"country-code-id"],"validationErrorId":[1,"validation-error-id"],"disabled":[4],"initialCountry":[1,"initial-country"],"required":[4],"searchable":[4],"searchPlaceholder":[1,"search-placeholder"],"selectedCountry":[32],"isDropdownOpen":[32],"validationError":[32],"searchTerm":[32],"filteredCountries":[32],"componentId":[32],"languageUpdateTrigger":[32]},[[4,"change","handleFormChange"],[4,"closeAllSelects","handleCloseAllSelects"],[4,"click","handleDocumentClick"]]],[256,"reference-code",{"referenceId":[1,"reference-id"],"providerName":[1,"provider-name"],"expirationDate":[1,"expiration-date"],"instructions":[16],"showInstructions":[32]}],[260,"selectable-card",{"selected":[4],"label":[1],"cardKey":[1,"card-key"],"disabled":[4]}]]]]'),e)}));
1
+ import{p as e,b as t}from"./p-D8cwEAmw.js";export{s as setNonce}from"./p-D8cwEAmw.js";import{g as r}from"./p-DQuL1Twl.js";var a=()=>{const t=import.meta.url;const r={};if(t!==""){r.resourcesUrl=new URL(".",t).href}return e(r)};a().then((async e=>{await r();return t(JSON.parse('[["p-6667496c",[[256,"rebill-checkout",{"productId":[1,"product-id"],"planId":[1,"plan-id"],"publicKey":[1,"public-key"],"instantProduct":[1,"instant-product"],"instantPlan":[1,"instant-plan"],"display":[1],"customerInformation":[1,"customer-information"],"oneClickCheckout":[4,"one-click-checkout"],"css":[1],"language":[1],"checkoutLandingSession":[1,"checkout-landing-session"],"externalPayment":[1,"external-payment"],"rejectedPaymentCard":[32],"rejectedPaymentAPM":[32],"countries":[32],"currentPaymentMethod":[32],"checkoutResponse":[32],"isSubmitting":[32],"isCardSubmitting":[32],"isCardSuccess":[32],"isAPMSubmitting":[32],"isAPMSuccess":[32],"storedCheckoutResults":[32],"alertErrorKeys":[32],"currentApmPaymentMethod":[32],"breakpoint":[32],"showRefreshModal":[32],"cardError":[32],"initialData":[32],"allRequiredFields":[32],"currentRequiredFields":[32],"customerExists":[32],"showOtp":[32],"otpVerified":[32],"responseCheckoutCard":[32],"cardMode":[32],"submit":[64]},[[0,"paymentMethodSelected","handlePaymentMethodSelected"],[0,"input","handleInputChange"],[0,"onRebillAccountClick","handleRebillAccountClick"],[0,"returnForm","handleReturnForm"],[0,"signOut","handleSignOut"],[0,"codeVerified","handleCodeVerified"]],{"language":["handleLanguageChange"]}]]],["p-e242be38",[[256,"rebill-renewal",{"renewalData":[1,"renewal-data"],"renewalToken":[1,"renewal-token"],"currentPaymentMethod":[32],"isSubmitting":[32],"isCardSubmitting":[32],"isCardSuccess":[32],"errorMessage":[32],"breakpoint":[32],"errorPaymentCard":[32],"errorPaymentAPM":[32],"initialData":[32],"checkoutResponse":[32],"currentApmPaymentMethod":[32],"countries":[32],"allRequiredFields":[32],"currentRequiredFields":[32],"errorCardInvalid":[32],"cardMode":[32]},[[0,"paymentMethodSelected","handlePaymentMethodSelected"],[0,"bankSelected","handleBankSelected"],[0,"cardSelected","handleCardSelected"]]]]],["p-6a4ae871",[[256,"root-component",{"isLoading":[32],"currentLang":[32],"formData":[32]}]]],["p-7b1b38fc",[[256,"rebill-card-carousel",{"interval":[2],"size":[1],"color":[1],"showAllCards":[4,"show-all-cards"],"currentIndex":[32]}]]],["p-31ee0e1d",[[260,"rebill-flex-container",{"direction":[1],"wrap":[1],"gap":[1],"alignItems":[1,"align-items"],"justifyContent":[1,"justify-content"]}]]],["p-36e626c4",[[260,"rebill-grid-container",{"columns":[2],"gap":[1],"alignItems":[1,"align-items"],"justifyContent":[1,"justify-content"]}]]],["p-1a748630",[[256,"renewal-success-page",{"typePaymentMethod":[1,"type-payment-method"],"country":[1],"bank":[1],"paymentMethodName":[1,"payment-method-name"],"cardLastFour":[1,"card-last-four"],"paymentDate":[1,"payment-date"],"referenceNumber":[1,"reference-number"],"trialPeriodDays":[2,"trial-period-days"],"debitDay":[2,"debit-day"],"planAmount":[2,"plan-amount"],"timeToRedirect":[2,"time-to-redirect"],"currentLocale":[32],"breakpoint":[32],"loaderProgress":[32],"isLoadingLottie":[32],"showRedirectMessage":[32]}],[256,"renewal-summary",{"displayedComponents":[16],"totalAmount":[2,"total-amount"],"subscriptionTitle":[1,"subscription-title"],"subscriptionAmount":[2,"subscription-amount"],"nextChargeDate":[1,"next-charge-date"],"frequency":[16],"currency":[1],"couponCode":[1,"coupon-code"],"discountAmount":[2,"discount-amount"],"discountPercentage":[2,"discount-percentage"],"forceUpdate":[32]}]]],["p-8193a731",[[256,"input-otp",{"error":[1],"otp":[1],"clearable":[4],"placeholder":[1],"otpValue":[32]}]]],["p-8953054b",[[256,"rebill-card",{"cardTitle":[1,"card-title"],"cardLabels":[16]}]]],["p-6a236181",[[260,"rebill-container",{"maxWidth":[1,"max-width"],"padding":[1],"fluid":[4]}],[256,"rebill-input-checkbox",{"label":[1],"checked":[1540],"error":[1],"id":[1],"disabled":[4]},[[4,"change","handleFormChange"]]]]],["p-b6b1ce59",[[256,"rebill-timeline-debit-day",{"debitDay":[2,"debit-day"],"totalAmount":[2,"total-amount"],"planAmount":[2,"plan-amount"],"currency":[1],"debitStrategy":[1,"debit-strategy"],"language":[1],"discountApplied":[4,"discount-applied"],"discountType":[1,"discount-type"],"discountedPercentage":[2,"discounted-percentage"],"discountDuration":[2,"discount-duration"],"discountAmount":[2,"discount-amount"],"currentLanguage":[32]}],[256,"rebill-timeline-free-trial",{"trialPeriodEndsAt":[1,"trial-period-ends-at"],"trialPeriodEndsReminderAt":[1,"trial-period-ends-reminder-at"],"trialPeriodDays":[2,"trial-period-days"],"subtotal":[2],"currency":[1],"language":[1],"discountApplied":[4,"discount-applied"],"discountType":[1,"discount-type"],"discountedPercentage":[2,"discounted-percentage"],"discountDuration":[2,"discount-duration"],"discountAmount":[2,"discount-amount"],"currentLanguage":[32]}]]],["p-6ec44283",[[260,"rebill-form",{"validationSchema":[8,"validation-schema"],"initialData":[16],"renderForm":[16],"formData":[32],"errors":[32],"submitForm":[64],"resetValidation":[64],"clearError":[64]},[[0,"input","handleInputChange"],[0,"blur","handleBlur"]],{"initialData":["handleInitialDataChange"],"validationSchema":["handleValidationSchemaChange"]}]]],["p-872610b6",[[256,"rebill-vertical-divider",{"height":[1],"color":[1],"thickness":[1],"dashed":[4],"connectorActive":[4,"connector-active"],"withDot":[4,"with-dot"]}]]],["p-b59254ca",[[260,"rebill-typography",{"variant":[1],"color":[1],"align":[1],"noWrap":[4,"no-wrap"],"gutterBottom":[4,"gutter-bottom"],"paragraph":[4]}],[256,"rebill-icon",{"name":[1],"size":[1],"color":[1],"svgContent":[32]}]]],["p-628ad459",[[260,"collapsible-card",{"header":[1],"open":[4],"variant":[1],"isOpen":[32]}]]],["p-8bf5ce94",[[256,"discount-coupon",{"hideLabel":[4,"hide-label"],"displayMode":[1,"display-mode"],"readonlyCouponCode":[1,"readonly-coupon-code"],"readonlyDiscountAmount":[2,"readonly-discount-amount"],"readonlyCurrency":[1,"readonly-currency"],"couponCode":[32],"actionStatus":[32],"isLoading":[32],"isError":[32],"currentLocale":[32]}],[256,"rebill-divider"]]],["p-485727f6",[[256,"rebill-alert",{"type":[1],"message":[1],"alertTitle":[1,"alert-title"],"icon":[1],"variant":[1],"size":[1],"colorIcon":[1,"color-icon"]}]]],["p-a616ee91",[[256,"rebill-input-text",{"label":[1],"placeholder":[1],"value":[1537],"error":[1],"id":[1],"disabled":[4],"leftIcon":[1,"left-icon"],"rightIcon":[1,"right-icon"],"clearable":[4],"variant":[1],"uppercase":[4],"getInputElement":[64]},[[4,"change","handleFormChange"]]]]],["p-c72d163e",[[256,"rebill-input-select",{"label":[1],"options":[16],"value":[1537],"error":[1],"id":[1],"disabled":[4],"placeholder":[1],"variant":[1],"arrowIcon":[1,"arrow-icon"],"dropPosition":[1,"drop-position"],"fontSize":[1,"font-size"],"backgroundColor":[1,"background-color"],"searchable":[4],"searchPlaceholder":[1,"search-placeholder"],"loading":[4],"isOpen":[32],"componentId":[32],"highlightedIndex":[32],"searchTerm":[32],"filteredOptions":[32],"languageUpdateTrigger":[32]},[[4,"change","handleFormChange"],[4,"closeAllSelects","handleCloseAllSelects"],[4,"click","handleDocumentClick"],[0,"keydown","handleKeyDown"]]]]],["p-567ae839",[[260,"rebill-button",{"type":[1],"disabled":[4],"id":[1],"loading":[4],"showSpinnerWithText":[4,"show-spinner-with-text"],"nonClickable":[4,"non-clickable"],"variant":[1],"theme":[1],"size":[1],"icon":[1],"iconColor":[1,"icon-color"]}]]],["p-d0636f82",[[256,"rebill-card-icon",{"cardBrand":[1,"card-brand"],"width":[2],"height":[2]}],[260,"rebill-checkout-single-column"],[256,"rebill-footer",{"breakpoint":[32]}],[256,"organization-logo",{"organization":[16]}]]],["p-852bb04c",[[256,"rebill-summary",{"totalAmount":[8,"total-amount"],"itemTitle":[1,"item-title"],"itemDescription":[1,"item-description"],"itemAmount":[8,"item-amount"],"planFrequency":[1,"plan-frequency"],"planFrequencyCount":[2,"plan-frequency-count"],"subtotal":[8],"discount":[8],"currency":[1],"displayedComponents":[16],"allowCoupon":[4,"allow-coupon"],"currentBreakpoint":[1,"current-breakpoint"],"discountType":[1,"discount-type"],"discountedPercentage":[2,"discounted-percentage"],"discountDuration":[2,"discount-duration"],"discountAmount":[2,"discount-amount"],"discountApplied":[32]},[[0,"discountApplied","handleDiscountApplied"]]],[256,"success-page",{"typePaymentMethod":[1,"type-payment-method"],"country":[1],"bank":[1],"paymentMethodName":[1,"payment-method-name"],"cardLastFour":[1,"card-last-four"],"paymentDate":[1,"payment-date"],"referenceNumber":[1,"reference-number"],"trialPeriodDays":[2,"trial-period-days"],"debitDay":[2,"debit-day"],"planAmount":[2,"plan-amount"],"timeToRedirect":[2,"time-to-redirect"],"currentLocale":[32],"breakpoint":[32],"loaderProgress":[32],"isLoadingLottie":[32],"showRedirectMessage":[32]}],[256,"otp-component",{"timeLeft":[32],"isTimerRunning":[32],"codeResent":[32],"isVerifying":[32],"otpValue":[32],"error":[32]}],[256,"user-information",{"userInformation":[16],"errors":[16],"customerExists":[4,"customer-exists"],"disabled":[4]},[[0,"input","handleInputChange"],[0,"blur","handleBlur"]]],[256,"rebill-mode-sandbox",{"isPanelVisible":[32],"isPanelClosing":[32],"isCardsPanelVisible":[32],"isCardsPanelClosing":[32],"currentLanguage":[32]}],[256,"rebill-mode-sandbox-mobile",{"isPanelVisible":[32],"currentLanguage":[32]}],[256,"rebill-modal-overlay",{"visible":[32],"languageUpdateTrigger":[32]}]]],["p-b75b53a8",[[256,"rebill-installments",{"error":[1],"currentValue":[32],"isDisabled":[32],"value":[32],"placeholder":[32]}],[256,"card-identification",{"documentTypeError":[1,"document-type-error"],"documentNumberError":[1,"document-number-error"],"disabled":[4],"documentTypes":[32],"country":[32],"currentLanguage":[32]}],[256,"card-iframe",{"customCSS":[1,"custom-c-s-s"],"iframeLoaded":[32],"currentLang":[32],"initialLang":[32],"iframeHeight":[32]}],[256,"rebill-input-combo",{"label":[1],"options":[16],"selectValue":[1537,"select-value"],"inputValue":[1537,"input-value"],"inputPlaceholder":[1,"input-placeholder"],"selectPlaceholder":[1,"select-placeholder"],"error":[1],"selectId":[1,"select-id"],"inputId":[1,"input-id"],"disabled":[4],"selectWidth":[1,"select-width"],"isOpen":[32],"highlightedIndex":[32],"componentId":[32]},[[4,"change","handleFormChange"],[4,"closeAllSelects","handleCloseAllSelects"],[4,"click","handleDocumentClick"]]],[256,"card-skeleton"]]],["p-80dcd17e",[[256,"payment-method-selector",{"enabledPaymentMethods":[16],"defaultSelected":[1,"default-selected"],"showErrorComponent":[4,"show-error-component"],"cardError":[16],"country":[1],"installmentsError":[1,"installments-error"],"documentTypeError":[1,"document-type-error"],"showDocument":[4,"show-document"],"documentNumberError":[1,"document-number-error"],"customCSS":[1,"custom-c-s-s"],"errorComponent":[16],"disabled":[4],"icon":[32],"selectedPaymentMethod":[32],"saveCard":[32]},[[0,"selectableCardClick","handleSelectableCardClick"]]],[256,"apm-checkout",{"paymentMethod":[1,"payment-method"],"referenceId":[1,"reference-id"],"qrCodeData":[1,"qr-code-data"],"code":[1],"providerName":[1,"provider-name"],"expirationDate":[1,"expiration-date"],"country":[1],"redirectUrl":[1,"redirect-url"],"timeToRedirect":[2,"time-to-redirect"],"checkoutRequestId":[1,"checkout-request-id"],"bearerToken":[1,"bearer-token"],"bankTransferData":[8,"bank-transfer-data"],"showRedirectMessage":[32],"isPolling":[32],"minutesLeft":[32],"qrStartTime":[32],"downloadData":[32]}],[256,"rebill-processing-payment",{"currentLocale":[32],"breakpoint":[32],"loaderProgress":[32],"isLoadingLottie":[32]}],[256,"rebill-address",{"billingView":[1537,"billing-view"],"disabled":[4],"countryOptions":[16],"errors":[16],"currentBillingStateOptions":[32],"isLoadingAddress":[32]}],[256,"user-information-static",{"userInfo":[16],"variant":[1]}],[256,"payment-button",{"isDisabled":[4,"is-disabled"],"isLoading":[4,"is-loading"],"paymentMethod":[1,"payment-method"],"isRenewal":[4,"is-renewal"],"trialPeriodDays":[2,"trial-period-days"],"redirectUrl":[4,"redirect-url"],"timeToRedirect":[2,"time-to-redirect"],"country":[1],"currentLanguage":[32],"countdownSeconds":[32],"paymentMethodDisplayName":[32]},null,{"redirectUrl":["onRedirectPropsChange"],"timeToRedirect":["onRedirectPropsChange"]}],[256,"rebill-bank-selector",{"banks":[16],"defaultSelectedBankId":[1,"default-selected-bank-id"],"error":[1],"disabled":[4],"selectedBankId":[32],"languageUpdateTrigger":[32]}],[256,"user-information-phone",{"error":[1],"countryCode":[1,"country-code"],"disabled":[4],"languageUpdateTrigger":[32]}],[256,"rebill-checkout-form",{"validationSchema":[8,"validation-schema"],"initialData":[16],"renderForm":[16],"resetValidation":[64]},[[0,"change","handleFormChange"]]],[256,"card-fields-wrapper",{"installmentsError":[1,"installments-error"],"documentTypeError":[1,"document-type-error"],"documentNumberError":[1,"document-number-error"],"showDocument":[4,"show-document"],"customCSS":[1,"custom-c-s-s"]}],[256,"bank-transfer",{"bankTransferData":[8,"bank-transfer-data"]}],[256,"qr-code",{"qrCodeData":[1,"qr-code-data"],"providerName":[1,"provider-name"],"expirationDate":[1,"expiration-date"],"paymentMethod":[1,"payment-method"],"code":[1],"qrCodeSvg":[32],"isImage":[32],"timeLeft":[32],"formattedTime":[32],"hasCopied":[32]}],[256,"rebill-address-form",{"addressType":[1,"address-type"],"countryOptions":[16],"stateOptions":[16],"errors":[16],"disabled":[4]}],[256,"rebill-address-search",{"addressType":[1,"address-type"],"placeholder":[1],"error":[1],"disabled":[4],"isInitialized":[32],"currentLocale":[32]}],[256,"apm-download",{"data":[16]}],[256,"single-payment-method",{"paymentMethod":[1,"payment-method"],"currencyCountry":[1,"currency-country"],"paymentMethodDetails":[16],"icons":[16]}],[256,"rebill-input-phone",{"placeholder":[1],"value":[1537],"error":[1],"phoneNumberId":[1,"phone-number-id"],"countryCodeId":[1,"country-code-id"],"validationErrorId":[1,"validation-error-id"],"disabled":[4],"initialCountry":[1,"initial-country"],"required":[4],"searchable":[4],"searchPlaceholder":[1,"search-placeholder"],"selectedCountry":[32],"isDropdownOpen":[32],"validationError":[32],"searchTerm":[32],"filteredCountries":[32],"componentId":[32],"languageUpdateTrigger":[32]},[[4,"change","handleFormChange"],[4,"closeAllSelects","handleCloseAllSelects"],[4,"click","handleDocumentClick"]]],[256,"reference-code",{"referenceId":[1,"reference-id"],"providerName":[1,"provider-name"],"expirationDate":[1,"expiration-date"],"instructions":[16],"showInstructions":[32]}],[260,"selectable-card",{"selected":[4],"label":[1],"cardKey":[1,"card-key"],"disabled":[4]}]]]]'),e)}));
2
2
  //# sourceMappingURL=rebill-web-components-sdk.esm.js.map
@@ -24,6 +24,7 @@ export declare class DiscountCoupon {
24
24
  componentDidUpdate(): void;
25
25
  private onApplyCoupon;
26
26
  private onCancelCoupon;
27
+ private renderCouponChip;
27
28
  private renderReadonlyView;
28
29
  render(): any;
29
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rebill-web-components-sdk",
3
- "version": "1.8.34-beta.1",
3
+ "version": "1.8.34",
4
4
  "description": "Stencil Component Starter",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.js",
@@ -1 +0,0 @@
1
- {"file":"p-BCu7Nkqb.js","mappings":";;;;;;;;;AAAA,MAAM,eAAe,GAAG,4jBAA4jB;;MCYvkB,YAAY,iBAAAA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IAAI,EAAE,KAAK,EAAE,YAAY,CAAC,EAAE,EAAE;gBACvC,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,YAAY,CAAC,EAAE,EAAE;AACxC,aAAA,EACD,KAAK,EAAEC,KAAY,CAAC,aAAa,EAAA,UAAA,EACvB,IAAI,CAAC,oBAAoB,EACnC,QAAQ,EAAC,MAAM,EACf,YAAY,EAAC,IAAI,EACjB,SAAS,EAAC,MAAM,EAChB,KAAK,EAAC,yBAAyB,EAAA,CAC/B,CACE,CACF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","names":["__stencil_proxyCustomElement","HTMLElement","sessionState"],"sources":["src/components/checkout/rebill-footer/rebill-footer.css?tag=rebill-footer","src/components/checkout/rebill-footer/rebill-footer.tsx"],"sourcesContent":[".language-selector {\n display: flex;\n align-items: center;\n margin-right: 12px;\n height: 24px;\n}\n.rebill-footer__footer-content {\n display: flex;\n justify-content: space-between;\n align-items: center;\n width: 100%;\n margin: 18px;\n}\n\n.terms-and-conditions {\n display: flex;\n align-items: center;\n gap: 4px;\n margin-left: 12px;\n}\n\n.footer-powered {\n margin-right: 4px;\n}\n\n.footer-separator {\n margin-right: 6px;\n margin-left: 6px;\n}\n\n.footer-link,\n.footer-powered,\n.footer-separator {\n display: flex;\n align-items: center;\n}\n\n.footer-link a {\n font-size: inherit;\n font-weight: inherit;\n line-height: inherit;\n letter-spacing: inherit;\n color: inherit;\n text-decoration: none;\n}\n","import { Component, h, State } from '@stencil/core';\nimport { I18nService } from '../../../i18n/i18n.service';\nimport { LOCALES_ENUM } from '../../../models/enums/locales.enum';\nimport { sessionState, SessionStore } from '../../../store/session.store';\nimport { BREAKPOINT_ENUM, getBreakpoint, isBreakpointBelow } from '../../../utils/breakpoint';\nimport { COLORS_ENUM } from '../../../utils/color-class-mapper';\n\n@Component({\n tag: 'rebill-footer',\n styleUrl: 'rebill-footer.css',\n shadow: false,\n})\nexport class RebillFooter {\n @State() breakpoint: BREAKPOINT_ENUM = BREAKPOINT_ENUM.DESKTOP;\n\n resizeHandler = () => {\n this.breakpoint = getBreakpoint(window.innerWidth);\n };\n\n disconnectedCallback() {\n window.removeEventListener('resize', this.resizeHandler);\n }\n\n async componentWillLoad() {\n this.resizeHandler();\n window.addEventListener('resize', this.resizeHandler);\n const language = I18nService.getCurrentLanguage();\n SessionStore.changeLanguage(language);\n }\n private handleLanguageChange = (event: any) => {\n I18nService.changeLanguage(event.detail.value);\n SessionStore.changeLanguage(event.detail.value);\n };\n render() {\n return (\n <div class=\"rebill-footer__footer-content\">\n <div class=\"terms-and-conditions\">\n {!isBreakpointBelow(this.breakpoint, BREAKPOINT_ENUM.DESKTOP) && (\n <rebill-typography\n variant=\"subtitle3\"\n color={COLORS_ENUM.SECONDARY}\n class=\"footer-powered\"\n >\n {I18nService.translate('footer.poweredBy')}\n </rebill-typography>\n )}\n <rebill-icon name=\"rebill-logo\" color={COLORS_ENUM.SECONDARY} />\n <rebill-icon name=\"rebill\" color={COLORS_ENUM.SECONDARY} />\n <rebill-typography\n variant=\"subtitle3\"\n color={COLORS_ENUM.SECONDARY}\n class=\"footer-separator\"\n >\n |\n </rebill-typography>\n <rebill-typography variant=\"subtitle3\" color={COLORS_ENUM.SECONDARY} class=\"footer-link\">\n <a\n href=\"https://www.rebill.com/terminos-y-condiciones-usuarios-finales\"\n target=\"_blank\"\n >\n {I18nService.translate('footer.termsAndConditions')}\n </a>\n </rebill-typography>\n </div>\n <div class=\"language-selector\">\n <rebill-icon name=\"world\" />\n <rebill-input-select\n id=\"language-selector\"\n variant=\"underlined\"\n backgroundColor={\n isBreakpointBelow(this.breakpoint, BREAKPOINT_ENUM.DESKTOP)\n ? ''\n : 'var(--rebill-color-background-left)'\n }\n options={[\n { label: 'EN', value: LOCALES_ENUM.EN },\n { label: 'ES', value: LOCALES_ENUM.ES },\n { label: 'PT', value: LOCALES_ENUM.PT },\n ]}\n value={sessionState.currentLocale}\n on-input={this.handleLanguageChange}\n fontSize=\"10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;;","names":["__stencil_proxyCustomElement","HTMLElement","sessionState"],"sources":["src/components/checkout/discount-coupon/discount-coupon.css?tag=discount-coupon","src/components/checkout/discount-coupon/discount-coupon.tsx"],"sourcesContent":[".summary-row {\n gap: 12px;\n}\n.coupon-chip {\n display: flex;\n align-items: center;\n background: var(--rebill-color-background);\n border: 1px solid var(--rebill-color-border-primary);\n justify-content: space-between;\n border-radius: 6px;\n padding: 4px 8px;\n gap: 8px;\n width: fit-content;\n}\n\n.coupon-chip--readonly {\n cursor: default;\n}\n\n.coupon-icon {\n width: 28px;\n height: 28px;\n display: flex;\n align-items: center;\n justify-content: center;\n vertical-align: middle;\n}\n\n.coupon-close {\n cursor: pointer;\n}\n\n.coupon-content {\n display: flex;\n flex-direction: row;\n align-items: flex-start;\n gap: 4px;\n}\n","import { Component, Element, Event, EventEmitter, h, Prop, State } from '@stencil/core';\nimport { api } from '../../../api';\nimport { I18nService } from '../../../i18n/i18n.service';\nimport { sessionState, SessionStore } from '../../../store/session.store';\nimport { formatAmountWithoutCurrency } from '../../../utils';\nimport { COLORS_ENUM } from '../../../utils/color-class-mapper';\n\nenum ACTION_STATUS {\n EDITING = 'editing',\n APPLIED = 'applied',\n NOT_APPLIED = 'not_applied',\n}\n\n@Component({\n tag: 'discount-coupon',\n styleUrl: 'discount-coupon.css',\n shadow: false,\n})\nexport class DiscountCoupon {\n @Element() el: HTMLElement;\n @Prop() hideLabel: boolean = false;\n @Prop() displayMode: 'editable' | 'readonly' = 'editable';\n @Prop() readonlyCouponCode?: string;\n @Prop() readonlyDiscountAmount?: number;\n @Prop() readonlyCurrency?: string;\n @State() couponCode: string = '';\n @State() actionStatus: ACTION_STATUS = ACTION_STATUS.NOT_APPLIED;\n @State() isLoading: boolean = false;\n @State() isError: boolean = false;\n @State() currentLocale: string = sessionState.currentLocale;\n @Event() discountApplied: EventEmitter<boolean>;\n private inputRef: HTMLRebillInputTextElement;\n private unsubscribeCurrentLocaleStore?: () => void;\n\n componentWillLoad() {\n this.unsubscribeCurrentLocaleStore = SessionStore.onChange('currentLocale', () => {\n this.currentLocale = sessionState.currentLocale;\n });\n\n if (this.readonlyCouponCode) {\n return;\n }\n\n if (\n sessionState.data.pricing.discountCouponCode &&\n sessionState.data.pricing.discountAmount > 0\n ) {\n this.actionStatus = ACTION_STATUS.APPLIED;\n this.couponCode = sessionState.data.pricing.discountCouponCode;\n }\n }\n\n disconnectedCallback() {\n if (this.unsubscribeCurrentLocaleStore) {\n this.unsubscribeCurrentLocaleStore();\n }\n }\n componentDidUpdate() {\n if (this.readonlyCouponCode) {\n return;\n }\n\n if (this.actionStatus === ACTION_STATUS.EDITING && this.inputRef) {\n setTimeout(async () => {\n const inputElement = await this.inputRef.getInputElement();\n if (inputElement) {\n inputElement.focus();\n }\n }, 0);\n }\n }\n\n private async onApplyCoupon() {\n if (this.readonlyCouponCode) return;\n const sessionId = sessionState.data.sessionId;\n if (!sessionId) {\n return;\n }\n this.isLoading = true;\n try {\n const response = await api.discountCoupon.applyDiscountCoupon({\n couponCode: this.couponCode,\n quantity: 1,\n sessionId: sessionId,\n organizationId: sessionState.data.organization.id,\n });\n this.actionStatus = ACTION_STATUS.APPLIED;\n SessionStore.setDiscount({\n couponCode: this.couponCode,\n amount: response.amount,\n discountType: response.discountType,\n discountAmount: response.discountedAmount,\n discountedPercentage: response?.discountedPercentage || 0,\n discountDuration: response?.discountDuration || null,\n });\n this.discountApplied.emit(true);\n } catch (error) {\n this.actionStatus = ACTION_STATUS.EDITING;\n this.discountApplied.emit(false);\n this.isError = true;\n SessionStore.setDiscount(null);\n } finally {\n this.isLoading = false;\n }\n }\n\n private onCancelCoupon() {\n if (this.readonlyCouponCode) return;\n this.actionStatus = ACTION_STATUS.NOT_APPLIED;\n this.couponCode = '';\n this.isError = false;\n }\n\n private renderReadonlyView() {\n if (!this.readonlyCouponCode && this.readonlyDiscountAmount) {\n return null;\n }\n\n return (\n <div class=\"coupon-chip coupon-chip--readonly\">\n <rebill-icon name=\"tag-sale\" size=\"16px\" />\n <div class=\"coupon-content\">\n <rebill-typography variant=\"overline\" color={COLORS_ENUM.PRIMARY_DARK_TEXT}>\n {this.readonlyCouponCode}\n </rebill-typography>\n {this.readonlyDiscountAmount && (\n <rebill-typography variant=\"overline\" color={COLORS_ENUM.GREEN}>\n -$\n {formatAmountWithoutCurrency(\n this.readonlyDiscountAmount,\n this.readonlyCurrency as any,\n )}\n </rebill-typography>\n )}\n </div>\n </div>\n );\n }\n\n render() {\n if (this.readonlyCouponCode) {\n return this.renderReadonlyView();\n }\n\n return (\n <div>\n <div\n class=\"summary-row\"\n style={{\n alignItems: this.actionStatus === ACTION_STATUS.EDITING ? 'flex-start' : 'center',\n display: 'flex',\n }}\n >\n {!this.hideLabel && (\n <rebill-typography\n variant=\"body2\"\n style={{ marginTop: this.actionStatus === ACTION_STATUS.EDITING ? '7px' : '0px' }}\n >\n {I18nService.translate('discountCoupons.discount')}\n </rebill-typography>\n )}\n {this.actionStatus === ACTION_STATUS.NOT_APPLIED && (\n <rebill-button\n variant=\"filled\"\n size=\"small\"\n theme=\"primary-dark\"\n onClick={() => (this.actionStatus = ACTION_STATUS.EDITING)}\n >\n {I18nService.translate('discountCoupons.addDiscount')}\n </rebill-button>\n )}\n {this.actionStatus === ACTION_STATUS.EDITING && (\n <div class=\"summary-row\" style={{ alignItems: 'flex-start', display: 'flex' }}>\n <rebill-input-text\n ref={el => (this.inputRef = el)}\n id=\"discountCoupon\"\n value={this.couponCode}\n placeholder={I18nService.translate('discountCoupons.addDiscount')}\n disabled={this.isLoading}\n error={this.isError ? I18nService.translate('discountCoupons.error') : ''}\n clearable={true}\n uppercase={true}\n onInput={e => {\n e.stopPropagation();\n if (e.detail && e.detail.value !== undefined) {\n this.couponCode = e.detail.value;\n }\n }}\n onBlur={() => {\n if (!this.couponCode.trim()) {\n this.onCancelCoupon();\n }\n }}\n />\n <rebill-button\n variant=\"filled\"\n theme=\"primary-dark\"\n size=\"small\"\n loading={this.isLoading}\n disabled={this.isLoading || !this.couponCode.trim()}\n onClick={() => this.onApplyCoupon()}\n style={{ marginTop: this.actionStatus === ACTION_STATUS.EDITING ? '3px' : '0px' }}\n >\n {I18nService.translate('discountCoupons.apply')}\n </rebill-button>\n </div>\n )}\n {this.actionStatus === ACTION_STATUS.APPLIED && (\n <div class=\"coupon-chip\">\n <rebill-icon name=\"tag-sale\" size=\"16px\" />\n <div\n class=\"coupon-content\"\n onClick={() => (this.actionStatus = ACTION_STATUS.EDITING)}\n >\n <rebill-typography variant=\"overline\" color={COLORS_ENUM.PRIMARY_DARK_TEXT}>\n {sessionState.data.pricing.discountCouponCode}\n </rebill-typography>\n <rebill-typography variant=\"overline\" color={COLORS_ENUM.GREEN}>\n -$\n {formatAmountWithoutCurrency(\n sessionState.data.pricing.discountAmount,\n sessionState.data.pricing.currency,\n )}\n </rebill-typography>\n </div>\n <div\n class=\"coupon-close\"\n onClick={() => {\n this.actionStatus = ACTION_STATUS.NOT_APPLIED;\n this.couponCode = '';\n SessionStore.setDiscount(null);\n this.discountApplied.emit(false);\n }}\n >\n <rebill-icon name=\"x\" size=\"20px\" color={COLORS_ENUM.PRIMARY_DARK_TEXT} />\n </div>\n </div>\n )}\n </div>\n </div>\n );\n }\n}\n"],"version":3}
@@ -1,2 +0,0 @@
1
- import{r as i,c as t,g as o,h as s}from"./p-D8cwEAmw.js";import{a as e}from"./p-CTo1s54i.js";import{s as r,a as n,g as l,I as a}from"./p-DkbFAMha.js";import{C as c}from"./p-DA598vBj.js";import"./p-E-ZsRS8r.js";import"./p-D339jHg4.js";const p=".summary-row{gap:12px}.coupon-chip{display:flex;align-items:center;background:var(--rebill-color-background);border:1px solid var(--rebill-color-border-primary);justify-content:space-between;border-radius:6px;padding:4px 8px;gap:8px;width:fit-content}.coupon-chip--readonly{cursor:default}.coupon-icon{width:28px;height:28px;display:flex;align-items:center;justify-content:center;vertical-align:middle}.coupon-close{cursor:pointer}.coupon-content{display:flex;flex-direction:row;align-items:flex-start;gap:4px}";var d;(function(i){i["EDITING"]="editing";i["APPLIED"]="applied";i["NOT_APPLIED"]="not_applied"})(d||(d={}));const u=class{constructor(o){i(this,o);this.discountApplied=t(this,"discountApplied")}get el(){return o(this)}hideLabel=false;displayMode="editable";readonlyCouponCode;readonlyDiscountAmount;readonlyCurrency;couponCode="";actionStatus=d.NOT_APPLIED;isLoading=false;isError=false;currentLocale=r.currentLocale;discountApplied;inputRef;unsubscribeCurrentLocaleStore;componentWillLoad(){this.unsubscribeCurrentLocaleStore=n.onChange("currentLocale",(()=>{this.currentLocale=r.currentLocale}));if(this.readonlyCouponCode){return}if(r.data.pricing.discountCouponCode&&r.data.pricing.discountAmount>0){this.actionStatus=d.APPLIED;this.couponCode=r.data.pricing.discountCouponCode}}disconnectedCallback(){if(this.unsubscribeCurrentLocaleStore){this.unsubscribeCurrentLocaleStore()}}componentDidUpdate(){if(this.readonlyCouponCode){return}if(this.actionStatus===d.EDITING&&this.inputRef){setTimeout((async()=>{const i=await this.inputRef.getInputElement();if(i){i.focus()}}),0)}}async onApplyCoupon(){if(this.readonlyCouponCode)return;const i=r.data.sessionId;if(!i){return}this.isLoading=true;try{const t=await e.discountCoupon.applyDiscountCoupon({couponCode:this.couponCode,quantity:1,sessionId:i,organizationId:r.data.organization.id});this.actionStatus=d.APPLIED;n.setDiscount({couponCode:this.couponCode,amount:t.amount,discountType:t.discountType,discountAmount:t.discountedAmount,discountedPercentage:t?.discountedPercentage||0,discountDuration:t?.discountDuration||null});this.discountApplied.emit(true)}catch(i){this.actionStatus=d.EDITING;this.discountApplied.emit(false);this.isError=true;n.setDiscount(null)}finally{this.isLoading=false}}onCancelCoupon(){if(this.readonlyCouponCode)return;this.actionStatus=d.NOT_APPLIED;this.couponCode="";this.isError=false}renderReadonlyView(){if(!this.readonlyCouponCode&&this.readonlyDiscountAmount){return null}return s("div",{class:"coupon-chip coupon-chip--readonly"},s("rebill-icon",{name:"tag-sale",size:"16px"}),s("div",{class:"coupon-content"},s("rebill-typography",{variant:"overline",color:c.PRIMARY_DARK_TEXT},this.readonlyCouponCode),this.readonlyDiscountAmount&&s("rebill-typography",{variant:"overline",color:c.GREEN},"-$",l(this.readonlyDiscountAmount,this.readonlyCurrency))))}render(){if(this.readonlyCouponCode){return this.renderReadonlyView()}return s("div",null,s("div",{class:"summary-row",style:{alignItems:this.actionStatus===d.EDITING?"flex-start":"center",display:"flex"}},!this.hideLabel&&s("rebill-typography",{variant:"body2",style:{marginTop:this.actionStatus===d.EDITING?"7px":"0px"}},a.translate("discountCoupons.discount")),this.actionStatus===d.NOT_APPLIED&&s("rebill-button",{variant:"filled",size:"small",theme:"primary-dark",onClick:()=>this.actionStatus=d.EDITING},a.translate("discountCoupons.addDiscount")),this.actionStatus===d.EDITING&&s("div",{class:"summary-row",style:{alignItems:"flex-start",display:"flex"}},s("rebill-input-text",{ref:i=>this.inputRef=i,id:"discountCoupon",value:this.couponCode,placeholder:a.translate("discountCoupons.addDiscount"),disabled:this.isLoading,error:this.isError?a.translate("discountCoupons.error"):"",clearable:true,uppercase:true,onInput:i=>{i.stopPropagation();if(i.detail&&i.detail.value!==undefined){this.couponCode=i.detail.value}},onBlur:()=>{if(!this.couponCode.trim()){this.onCancelCoupon()}}}),s("rebill-button",{variant:"filled",theme:"primary-dark",size:"small",loading:this.isLoading,disabled:this.isLoading||!this.couponCode.trim(),onClick:()=>this.onApplyCoupon(),style:{marginTop:this.actionStatus===d.EDITING?"3px":"0px"}},a.translate("discountCoupons.apply"))),this.actionStatus===d.APPLIED&&s("div",{class:"coupon-chip"},s("rebill-icon",{name:"tag-sale",size:"16px"}),s("div",{class:"coupon-content",onClick:()=>this.actionStatus=d.EDITING},s("rebill-typography",{variant:"overline",color:c.PRIMARY_DARK_TEXT},r.data.pricing.discountCouponCode),s("rebill-typography",{variant:"overline",color:c.GREEN},"-$",l(r.data.pricing.discountAmount,r.data.pricing.currency))),s("div",{class:"coupon-close",onClick:()=>{this.actionStatus=d.NOT_APPLIED;this.couponCode="";n.setDiscount(null);this.discountApplied.emit(false)}},s("rebill-icon",{name:"x",size:"20px",color:c.PRIMARY_DARK_TEXT})))))}};u.style=p;const h=".rebill-divider{border:none;border-top:0.5px solid var(--rebill-color-border-primary);width:100%;height:0.5px}";const f=class{constructor(t){i(this,t)}render(){return s("div",{key:"235a217e9c4f42dacd8fffb3d73a47ca85b81d69",class:"rebill-divider"})}};f.style=h;export{u as discount_coupon,f as rebill_divider};
2
- //# sourceMappingURL=p-5eda5359.entry.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["registerInstance","createEvent","getElement","h","api","state","SessionStore","formatAmountWithoutCurrency","I18nService","COLORS_ENUM","discountCouponCss","ACTION_STATUS","DiscountCoupon","constructor","hostRef","this","discountApplied","el","hideLabel","displayMode","readonlyCouponCode","readonlyDiscountAmount","readonlyCurrency","couponCode","actionStatus","NOT_APPLIED","isLoading","isError","currentLocale","inputRef","unsubscribeCurrentLocaleStore","componentWillLoad","onChange","data","pricing","discountCouponCode","discountAmount","APPLIED","disconnectedCallback","componentDidUpdate","EDITING","setTimeout","async","inputElement","getInputElement","focus","onApplyCoupon","sessionId","response","discountCoupon","applyDiscountCoupon","quantity","organizationId","organization","id","setDiscount","amount","discountType","discountedAmount","discountedPercentage","discountDuration","emit","error","onCancelCoupon","renderReadonlyView","class","name","size","variant","color","PRIMARY_DARK_TEXT","GREEN","render","style","alignItems","display","marginTop","translate","theme","onClick","ref","value","placeholder","disabled","clearable","uppercase","onInput","e","stopPropagation","detail","undefined","onBlur","trim","loading","currency","dividerCss","Divider","key"],"sources":["0"],"mappings":"YAAcA,OAAuBC,OAAkBC,OAAYC,MAAS,8BAC9DC,MAAW,8BACXC,OAAYC,OAAmBC,OAAkCC,MAAmB,8BACpFC,MAAmB,wBAC1B,wBACA,kBAEP,MAAMC,EAAoB,igBAE1B,IAAIC,GACJ,SAAWA,GACPA,EAAc,WAAa,UAC3BA,EAAc,WAAa,UAC3BA,EAAc,eAAiB,aAClC,EAJD,CAIGA,IAAkBA,EAAgB,CA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