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

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 (82) hide show
  1. package/dist/cjs/organization-logo.rebill-card-icon.rebill-checkout-single-column.rebill-footer.entry.cjs.js.map +1 -1
  2. package/dist/cjs/organization-logo_4.cjs.entry.js +2 -2
  3. package/dist/cjs/organization-logo_4.cjs.entry.js.map +1 -1
  4. 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
  5. package/dist/cjs/otp-component_7.cjs.entry.js +8 -8
  6. package/dist/cjs/otp-component_7.cjs.entry.js.map +1 -1
  7. package/dist/cjs/rebill-footer.cjs.entry.js +2 -2
  8. package/dist/cjs/rebill-footer.cjs.entry.js.map +1 -1
  9. package/dist/cjs/rebill-footer.entry.cjs.js.map +1 -1
  10. package/dist/cjs/renewal-success-page.cjs.entry.js +1 -1
  11. package/dist/cjs/renewal-success-page.cjs.entry.js.map +1 -1
  12. package/dist/cjs/renewal-success-page.entry.cjs.js.map +1 -1
  13. package/dist/cjs/renewal-success-page.renewal-summary.entry.cjs.js.map +1 -1
  14. package/dist/cjs/renewal-success-page_2.cjs.entry.js +1 -1
  15. package/dist/cjs/renewal-success-page_2.cjs.entry.js.map +1 -1
  16. package/dist/cjs/success-page.cjs.entry.js +8 -8
  17. package/dist/cjs/success-page.cjs.entry.js.map +1 -1
  18. package/dist/cjs/success-page.entry.cjs.js.map +1 -1
  19. package/dist/collection/components/checkout/card-success-page/success-page.css +7 -7
  20. package/dist/collection/components/checkout/card-success-page/success-page.js +7 -7
  21. package/dist/collection/components/checkout/card-success-page/success-page.js.map +1 -1
  22. package/dist/collection/components/checkout/rebill-footer/rebill-footer.css +1 -1
  23. package/dist/collection/components/checkout/rebill-footer/rebill-footer.js +1 -1
  24. package/dist/collection/components/checkout/rebill-footer/rebill-footer.js.map +1 -1
  25. package/dist/collection/components/renewal/renewal-success-page/renewal-success-page.css +7 -7
  26. package/dist/components/{p-D8vRh8vG.js → p-BMR1f9Ny.js} +5 -5
  27. package/dist/components/{p-D8vRh8vG.js.map → p-BMR1f9Ny.js.map} +1 -1
  28. package/dist/components/{p-qOI5SAjq.js → p-BshrHj7X.js} +3 -3
  29. package/dist/components/{p-qOI5SAjq.js.map → p-BshrHj7X.js.map} +1 -1
  30. package/dist/components/{p-BEbMMBef.js → p-D6JNNodL.js} +4 -4
  31. package/dist/components/p-D6JNNodL.js.map +1 -0
  32. package/dist/components/{p-DQYI7toy.js → p-De6XbCCz.js} +12 -12
  33. package/dist/components/p-De6XbCCz.js.map +1 -0
  34. package/dist/components/{p-DgvctlA0.js → p-F4jLIfkG.js} +4 -4
  35. package/dist/components/{p-DgvctlA0.js.map → p-F4jLIfkG.js.map} +1 -1
  36. package/dist/components/rebill-footer2.js +2 -2
  37. package/dist/components/rebill-footer2.js.map +1 -1
  38. package/dist/components/renewal-success-page2.js +1 -1
  39. package/dist/components/renewal-success-page2.js.map +1 -1
  40. package/dist/components/success-page2.js +8 -8
  41. package/dist/components/success-page2.js.map +1 -1
  42. package/dist/esm/organization-logo.rebill-card-icon.rebill-checkout-single-column.rebill-footer.entry.js.map +1 -1
  43. package/dist/esm/organization-logo_4.entry.js +2 -2
  44. package/dist/esm/organization-logo_4.entry.js.map +1 -1
  45. 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
  46. package/dist/esm/otp-component_7.entry.js +8 -8
  47. package/dist/esm/otp-component_7.entry.js.map +1 -1
  48. package/dist/esm/rebill-footer.entry.js +2 -2
  49. package/dist/esm/rebill-footer.entry.js.map +1 -1
  50. package/dist/esm/renewal-success-page.entry.js +1 -1
  51. package/dist/esm/renewal-success-page.entry.js.map +1 -1
  52. package/dist/esm/renewal-success-page.renewal-summary.entry.js.map +1 -1
  53. package/dist/esm/renewal-success-page_2.entry.js +1 -1
  54. package/dist/esm/renewal-success-page_2.entry.js.map +1 -1
  55. package/dist/esm/success-page.entry.js +8 -8
  56. package/dist/esm/success-page.entry.js.map +1 -1
  57. package/dist/rebill-web-components-sdk/organization-logo.rebill-card-icon.rebill-checkout-single-column.rebill-footer.entry.esm.js.map +1 -1
  58. 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
  59. package/dist/rebill-web-components-sdk/p-3fca32f8.entry.js +2 -0
  60. package/dist/rebill-web-components-sdk/p-3fca32f8.entry.js.map +1 -0
  61. package/dist/rebill-web-components-sdk/p-d189dea8.entry.js +2 -0
  62. package/dist/rebill-web-components-sdk/{p-123616d2.entry.js.map → p-d189dea8.entry.js.map} +1 -1
  63. package/dist/rebill-web-components-sdk/p-daa7cbb2.entry.js +2 -0
  64. package/dist/rebill-web-components-sdk/p-daa7cbb2.entry.js.map +1 -0
  65. package/dist/rebill-web-components-sdk/rebill-footer.entry.esm.js.map +1 -1
  66. package/dist/rebill-web-components-sdk/rebill-footer.entry.js +2 -2
  67. package/dist/rebill-web-components-sdk/rebill-footer.entry.js.map +1 -1
  68. package/dist/rebill-web-components-sdk/renewal-success-page.entry.esm.js.map +1 -1
  69. package/dist/rebill-web-components-sdk/renewal-success-page.entry.js +1 -1
  70. package/dist/rebill-web-components-sdk/renewal-success-page.entry.js.map +1 -1
  71. package/dist/rebill-web-components-sdk/renewal-success-page.renewal-summary.entry.esm.js.map +1 -1
  72. package/dist/rebill-web-components-sdk/success-page.entry.esm.js.map +1 -1
  73. package/dist/rebill-web-components-sdk/success-page.entry.js +8 -8
  74. package/dist/rebill-web-components-sdk/success-page.entry.js.map +1 -1
  75. package/package.json +1 -1
  76. package/dist/components/p-BEbMMBef.js.map +0 -1
  77. package/dist/components/p-DQYI7toy.js.map +0 -1
  78. package/dist/rebill-web-components-sdk/p-123616d2.entry.js +0 -2
  79. package/dist/rebill-web-components-sdk/p-9dc5e835.entry.js +0 -2
  80. package/dist/rebill-web-components-sdk/p-9dc5e835.entry.js.map +0 -1
  81. package/dist/rebill-web-components-sdk/p-d6225f5e.entry.js +0 -2
  82. package/dist/rebill-web-components-sdk/p-d6225f5e.entry.js.map +0 -1
@@ -200,7 +200,7 @@ const RebillTestModeChipMobile = class {
200
200
  };
201
201
  RebillTestModeChipMobile.style = modeSandboxMobileCss;
202
202
 
203
- const successPageCss = ":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}.text-content{margin-bottom:2rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.success-content{display:flex;flex-direction:column;align-items:center;gap:1rem;width:100%;overflow-x:hidden;box-sizing:border-box}.lottie-container{width:80px;height:80px}.success-content rebill-typography[variant='h3']{margin:0 !important;padding:0 !important}.success-icon{display:flex;justify-content:center;margin:0.5rem 0}.info-card{padding:24px;gap:16px;width:100%;max-width:450px;border:1px solid #ebedef;border-radius:8px;display:flex;flex-direction:column;box-sizing:border-box}.card-row{display:flex;justify-content:space-between;align-items:start;min-height:20px;gap:15%}.card-row:last-of-type{margin-bottom:0}.card-value{display:flex;align-items:center;gap:0.5rem}.payment-method-display{display:flex;align-items:center;gap:8px;justify-content:center}.payment-method-display rebill-card-icon{display:inline-block;flex-shrink:0;margin-right:8px;vertical-align:middle}.payment-method-display rebill-card-icon svg{display:block}.payment-method-display rebill-icon{display:inline-block;vertical-align:middle;margin-right:8px}.payment-method-display rebill-icon div{display:block}.card-divider{height:1px;background:#e5e7eb}.download-container{display:flex;align-items:center;justify-content:flex-start;gap:2px;text-decoration:none;cursor:pointer}.contact-info{text-align:left}.reference-number{word-break:break-all;overflow-wrap:break-word;hyphens:auto;max-width:100%;text-align:right}.total-amount-container{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-direction:row}.trial-pill{background-color:var(--rebill-color-green-light-2);border-radius:4px;padding:4px 6px 4px 6px;display:flex;align-items:center;justify-content:center}.next-charge-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.next-charge-details{display:flex;justify-content:space-between;align-items:flex-start}.next-charge-amount{display:flex;flex-direction:row;align-items:center;gap:4px}.next-charge-date{text-align:right}@media (max-width: 1024px){.success-content{max-width:100%;gap:1.5rem;margin-left:16px;margin-right:16px}.info-card{width:100%;max-width:100%;padding:12px}.text-content{gap:12px}}@media (max-width: 767px){.info-card{padding:12px}.processing-container{padding:0 16px}}";
203
+ const successPageCss = ":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}.text-content{margin-bottom:2rem;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}.success-content{display:flex;flex-direction:column;align-items:center;gap:1rem;width:100%;overflow-x:hidden;box-sizing:border-box}.lottie-container{width:80px;height:80px}.success-content rebill-typography[variant='h3']{margin:0 !important;padding:0 !important}.success-icon{display:flex;justify-content:center;margin:0.5rem 0}.success-page__info-card{padding:24px;gap:16px;width:100%;max-width:450px;border:1px solid #ebedef;border-radius:8px;display:flex;flex-direction:column;box-sizing:border-box}.success-page__card-row{display:flex;justify-content:space-between;align-items:start;min-height:20px;gap:15%}.success-page__card-row:last-of-type{margin-bottom:0}.success-page__card-value{display:flex;align-items:center;gap:0.5rem}.payment-method-display{display:flex;align-items:center;gap:8px;justify-content:center}.payment-method-display rebill-card-icon{display:inline-block;flex-shrink:0;margin-right:8px;vertical-align:middle}.payment-method-display rebill-card-icon svg{display:block}.payment-method-display rebill-icon{display:inline-block;vertical-align:middle;margin-right:8px}.payment-method-display rebill-icon div{display:block}.success-page__card-divider{height:1px;background:#e5e7eb}.download-container{display:flex;align-items:center;justify-content:flex-start;gap:2px;text-decoration:none;cursor:pointer}.contact-info{text-align:left}.reference-number{word-break:break-all;overflow-wrap:break-word;hyphens:auto;max-width:100%;text-align:right}.total-amount-container{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-direction:row}.trial-pill{background-color:var(--rebill-color-green-light-2);border-radius:4px;padding:4px 6px 4px 6px;display:flex;align-items:center;justify-content:center}.next-charge-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.next-charge-details{display:flex;justify-content:space-between;align-items:flex-start}.next-charge-amount{display:flex;flex-direction:row;align-items:center;gap:4px}.next-charge-date{text-align:right}@media (max-width: 1024px){.success-content{max-width:100%;gap:1.5rem;margin-left:16px;margin-right:16px}.success-page__info-card{width:100%;max-width:100%;padding:12px}.text-content{gap:12px}}@media (max-width: 767px){.success-page__info-card{padding:12px}.processing-container{padding:0 16px}}";
204
204
 
205
205
  const CardSuccessPage = class {
206
206
  constructor(hostRef) {
@@ -441,26 +441,26 @@ const CardSuccessPage = class {
441
441
  const hasRedirect = state.data?.itemInformation?.redirectSuccess;
442
442
  return (h("rebill-checkout-single-column", { key: 'd8a814c5353cd2dcaa053ea6c205be11870f7629' }, h("div", { key: '300d2de040e3d30cd48fc33b311b6c068bb5706f', class: "success-content" }, h("rebill-typography", { key: '10bd5be46e1adbd9eb61808ce8e74b5c78d735a8', variant: "h3", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, hasRedirect && this.showRedirectMessage
443
443
  ? I18nService.translate('processing.redirectMessage')
444
- : I18nService.translate('processing.successTitle')), hasRedirect && this.showRedirectMessage ? (h("div", { class: "redirect-message" }, h("div", { class: "lottie-container" }, h("div", { ref: el => (this.lottieContainer = el), class: "lottie-animation" })))) : (h("div", { class: "success-icon" }, h("svg", { width: isBreakpointBelow(this.breakpoint, BREAKPOINT_ENUM.DESKTOP) ? '64' : '96', height: isBreakpointBelow(this.breakpoint, BREAKPOINT_ENUM.DESKTOP) ? '64' : '96', viewBox: "0 0 96 96", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7.99219 47.998C7.99219 25.9067 25.9008 7.99805 47.9922 7.99805C70.0836 7.99805 87.9922 25.9067 87.9922 47.998C87.9922 70.0894 70.0836 87.998 47.9922 87.998C25.9008 87.998 7.99219 70.0894 7.99219 47.998ZM61.5401 39.2645C62.2396 38.4096 62.1136 37.1496 61.2587 36.4501C60.4038 35.7507 59.1437 35.8767 58.4443 36.7316L41.8437 57.0211L35.4064 50.5838C34.6254 49.8028 33.359 49.8028 32.578 50.5838C31.7969 51.3649 31.7969 52.6312 32.578 53.4123L40.578 61.4123C40.9775 61.8118 41.5275 62.0237 42.0918 61.9956C42.6562 61.9674 43.1823 61.7019 43.5401 61.2645L61.5401 39.2645Z", fill: "#35B093" })))), h("div", { key: '8edc86f23dbade40743ea897ad8245da79cd693b', class: "info-card" }, h("div", { key: '2073549702b14faefb4d1703f33b61a6241917b0', class: "card-row" }, h("rebill-typography", { key: '8bfd00b738eca6e29844c1729f9e77c7553ca26b', variant: "body2", color: COLORS_ENUM.SECONDARY }, I18nService.translate('processing.paymentMethod')), h("div", { key: 'e7cd6a08a6d0454faa1786528f9bf205fb904f18', class: "card-value" }, h("div", { key: '43735089b165564e1bf78c6b645d09ca4909fd8f', class: "payment-method-display" }, this.typePaymentMethod === PAYMENT_METHOD_ENUM.CARD && (h(h.Fragment, null, h("rebill-card-icon", { key: '4295a75ad15e4f235592b25ee8ad1c0ec7a12b67', "card-brand": state.data?.cardInformation?.brand || '' }), h("rebill-typography", { key: '0278021e7c3ac767985045f8b4a41325dabccd7b', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, this.textPaymentMethodCard()))), this.typePaymentMethod === PAYMENT_METHOD_ENUM.BANK_TRANSFER && (h("div", { key: 'bd4c711bc5d3958ff620a99c409895a48d58d195', style: { display: 'flex', alignItems: 'center', gap: '8px' } }, h("rebill-icon", { key: '51eee5b6226c21ebc583b5df6f24a78a22a74ca2', name: getPaymentMethodDisplayName(PAYMENT_METHOD_ENUM.BANK_TRANSFER, this.country)?.toLowerCase() || 'card' }), h("rebill-typography", { key: 'cee119901a8af8f7e10c98ea2fa15aa196ea6742', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, I18nService.translate('paymentMethods.bank_transfer'))))))), state?.data?.pricing?.installments &&
445
- state?.data?.cardInformation?.installments?.selectedInstallment && (h("div", { key: '68683469c6394187a8aea13735fdcdcf98a0940f' }, h("div", { key: 'a90ea8bfedda39edfd2349dedb651fafc21d672a', class: "card-row" }, h("rebill-typography", { key: '3845357f007e871538a4b613f54776caf1e8d3ac', variant: "body2", color: COLORS_ENUM.SECONDARY }, I18nService.translate('summary.installments')), h("div", { key: '491c3f62b023d0f6c4bf2be78cd6f6c4db5550e8', style: {
444
+ : I18nService.translate('processing.successTitle')), hasRedirect && this.showRedirectMessage ? (h("div", { class: "redirect-message" }, h("div", { class: "lottie-container" }, h("div", { ref: el => (this.lottieContainer = el), class: "lottie-animation" })))) : (h("div", { class: "success-icon" }, h("svg", { width: isBreakpointBelow(this.breakpoint, BREAKPOINT_ENUM.DESKTOP) ? '64' : '96', height: isBreakpointBelow(this.breakpoint, BREAKPOINT_ENUM.DESKTOP) ? '64' : '96', viewBox: "0 0 96 96", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M7.99219 47.998C7.99219 25.9067 25.9008 7.99805 47.9922 7.99805C70.0836 7.99805 87.9922 25.9067 87.9922 47.998C87.9922 70.0894 70.0836 87.998 47.9922 87.998C25.9008 87.998 7.99219 70.0894 7.99219 47.998ZM61.5401 39.2645C62.2396 38.4096 62.1136 37.1496 61.2587 36.4501C60.4038 35.7507 59.1437 35.8767 58.4443 36.7316L41.8437 57.0211L35.4064 50.5838C34.6254 49.8028 33.359 49.8028 32.578 50.5838C31.7969 51.3649 31.7969 52.6312 32.578 53.4123L40.578 61.4123C40.9775 61.8118 41.5275 62.0237 42.0918 61.9956C42.6562 61.9674 43.1823 61.7019 43.5401 61.2645L61.5401 39.2645Z", fill: "#35B093" })))), h("div", { key: 'a4bec3c9deb9d5cc33a104861b4dfd459f698680', class: "success-page__info-card" }, h("div", { key: '8d1d7bacc956826e7d3c17ede9c1881006dd85d6', class: "success-page__card-row" }, h("rebill-typography", { key: '9cefa0019d0b3111bfe4d86e5d45b3be5096a669', variant: "body2", color: COLORS_ENUM.SECONDARY }, I18nService.translate('processing.paymentMethod')), h("div", { key: '0daedd45d705bbf2cc6126978f6940f67c3adfcb', class: "success-page__card-value" }, h("div", { key: '2046c5f0ce8e12b425a682ca7abc39ce1e595e7c', class: "payment-method-display" }, this.typePaymentMethod === PAYMENT_METHOD_ENUM.CARD && (h(h.Fragment, null, h("rebill-card-icon", { key: 'b738832b38e50744656e9fcf45785062c13d9b2b', "card-brand": state.data?.cardInformation?.brand || '' }), h("rebill-typography", { key: 'e9928ed3a6196280a3cb17883ebcd3cc985a2b43', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, this.textPaymentMethodCard()))), this.typePaymentMethod === PAYMENT_METHOD_ENUM.BANK_TRANSFER && (h("div", { key: 'df21f77c4b1029feb215343aeca6c43c12d95fd1', style: { display: 'flex', alignItems: 'center', gap: '8px' } }, h("rebill-icon", { key: '272644ea6337654a62a73b9ade66ab15d7c940c5', name: getPaymentMethodDisplayName(PAYMENT_METHOD_ENUM.BANK_TRANSFER, this.country)?.toLowerCase() || 'card' }), h("rebill-typography", { key: 'd7240cbef960d4dc28fcd0d0f3e2f2336739c752', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, I18nService.translate('paymentMethods.bank_transfer'))))))), state?.data?.pricing?.installments &&
445
+ state?.data?.cardInformation?.installments?.selectedInstallment && (h("div", { key: '5fe838e33d7f75f91c86c2849224ef2a49342b81' }, h("div", { key: '1aa1b037dcd780c009499ee09df50e68b76df935', class: "success-page__card-row" }, h("rebill-typography", { key: '3e907c933564379479f9ca2acf271916c2bc4928', variant: "body2", color: COLORS_ENUM.SECONDARY }, I18nService.translate('summary.installments')), h("div", { key: 'b0ab2acd74e05f95838de8f6b7d61625fe764d4a', style: {
446
446
  display: 'flex',
447
447
  flexDirection: 'column',
448
448
  gap: '10px',
449
449
  alignItems: 'end',
450
- } }, h("rebill-typography", { key: 'e258fcdcb9e0e06f64d33d27260e0197f87aeeaf', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT, style: { textAlign: 'end' } }, getInstallmentLabelSummary(state.data?.cardInformation?.installments?.selectedInstallment
450
+ } }, h("rebill-typography", { key: 'f61f0a2f3d005fa52cff9c17cadf02ef11b1322d', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT, style: { textAlign: 'end' } }, getInstallmentLabelSummary(state.data?.cardInformation?.installments?.selectedInstallment
451
451
  ?.installment, getRecalculatedInstallmentAmount(state.data?.cardInformation?.installments?.selectedInstallment
452
452
  ?.installmentAmount || 0), state.data?.pricing?.currency, state.data?.cardInformation?.installments?.selectedInstallment
453
453
  ?.cft, state.data?.cardInformation?.installments?.selectedInstallment
454
- ?.model)), h("rebill-typography", { key: 'e9c303c18a41de83c37d8bdea0f5641039d337ea', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, `( ${I18nService.translate('processing.purchaseTotal')}: ${this.getFormattedTotal()} )`), state.data.cardInformation?.installments?.installments.find(installment => installment.installment ===
454
+ ?.model)), h("rebill-typography", { key: '0f42f8250afec3d6b3a79b12a538e27c68fe11dc', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, `( ${I18nService.translate('processing.purchaseTotal')}: ${this.getFormattedTotal()} )`), state.data.cardInformation?.installments?.installments.find(installment => installment.installment ===
455
455
  state.data.cardInformation?.installments?.selectedInstallment
456
- ?.installment)?.model === ENUM_INSTALLMENT_MODEL.CUSTOMER_FINANCED && (h("rebill-typography", { key: '02cef8ae90997f867dc52cdd9644aed6e24866a7', variant: "italic", color: COLORS_ENUM.SECONDARY, style: { textAlign: 'end' } }, `${I18nService.translate('installments.interest')}`)))))), h("div", { key: '3b95e90ec6dc95ab798172cdd1cf843de43ded7d', class: "card-row" }, h("rebill-typography", { key: '3ab957a6cc4e5927201aa1e823b9e3680b8e7704', variant: "body2", color: COLORS_ENUM.SECONDARY }, I18nService.translate('processing.paymentDate')), h("rebill-typography", { key: '700d9713d6cb5d93b7c874477644b5acda6d14c3', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, formatDateTime(this.paymentDate || this.getPaymentDate() || state.createdAt) || '')), h("div", { key: 'c2d955faefbe086b5f5bcc492981f71db01469ac', class: "card-row" }, h("rebill-typography", { key: 'fdca97a647735ad51523965f9f3470c7d8b7f74a', variant: "body2", color: COLORS_ENUM.SECONDARY }, I18nService.translate('processing.paymentEmail')), h("rebill-typography", { key: '5207b7919467c19b78779b6f67e4832ef776f5cb', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, state?.data?.userInformation?.email)), h("div", { key: '7eddb8220b45e4897cfa1c4f088ac47ca1c451ab', class: "card-row" }, h("rebill-typography", { key: 'b13c5ebd52fd9099fb736c6dada79b8b94f5d847', variant: "body2", color: COLORS_ENUM.SECONDARY }, I18nService.translate('processing.paymentReference')), h("rebill-typography", { key: '2da8c0b78a61965cda1dc78fe7e3ef4c9c61720b', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT, class: "reference-number" }, this.referenceNumber || ''))), h("div", { key: '4535a4b39656f821d12b2eee79b3533f12017e6e', class: "info-card" }, h("rebill-typography", { key: '759967e86e0151a4eef36a664ff1d204fcdfdbbd', variant: "subtitle-bold", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, I18nService.translate('processing.purchaseDetails')), h("div", { key: '13574f086265af373b8ad2dc2139b4e8909ed2d1', class: "card-row" }, h("rebill-typography", { key: '6259479a9f8e35903585a5d2af621a8ea9cbd7ae', variant: "body2", color: COLORS_ENUM.SECONDARY }, I18nService.translate('processing.purchaseDetail')), h("rebill-typography", { key: '2c22af2aebe27448c9d94583dad20d75371874db', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, state?.data?.itemInformation?.title || '')), !this.trialPeriodDays && (h("div", { key: 'e9a991e78263d629d99a100b589327c08098695d', class: "card-row" }, h("rebill-typography", { key: 'cdae24e2d3cea6151eb4111ac3aea7873463fe51', variant: "body2", color: COLORS_ENUM.SECONDARY }, I18nService.translate('processing.purchaseSubtotal')), h("rebill-typography", { key: 'fe17633ca12d91450f1db7c312adcd7667162a2d', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, this.getFormattedSubtotal()))), state?.data?.pricing?.discountAmount > 0 && (h("div", { key: 'ea395324305ff5f62aff7abc865d17d1aa6370ec', class: "card-row" }, h("rebill-typography", { key: 'daf4c811790754a23e8589524fd32b3c22092212', variant: "body2", color: COLORS_ENUM.SECONDARY }, I18nService.translate('summary.discount')), h("rebill-typography", { key: '8112ed5dde9a68a3566e637756dc88f1d9e12426', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, this.getFormattedDiscountAmount()))), h("div", { key: '87a970a1cbb34c19baad69e53d9ad8a0fc038509', class: "card-row" }, h("rebill-typography", { key: '41f390483f7cca2a71e036d7292c73201bbcf408', variant: "body2", color: COLORS_ENUM.SECONDARY }, I18nService.translate('processing.purchaseMontoTotal')), h("div", { key: '0c76433af8d39fe1b443b0903c003dcf8366868a', class: "total-amount-container" }, this.trialPeriodDays > 0 && (h("div", { key: '3e8eb8fd520091299787d578b11db7384e2e03ac', class: "trial-pill" }, h("rebill-typography", { key: 'fda9bae9ee798a2ca2ab8ff4594571c00f059397', variant: "body2", align: "center", color: COLORS_ENUM.GREEN_TEXT }, I18nService.translate('processing.trialPill', {
456
+ ?.installment)?.model === ENUM_INSTALLMENT_MODEL.CUSTOMER_FINANCED && (h("rebill-typography", { key: 'e60b60dd9d4140f0f68ac9337c4eeaeb16307e81', variant: "italic", color: COLORS_ENUM.SECONDARY, style: { textAlign: 'end' } }, `${I18nService.translate('installments.interest')}`)))))), h("div", { key: '0e16ac8326cd0542e8656593746fe2ab2c7394ed', class: "success-page__card-row" }, h("rebill-typography", { key: '509f8b0a04aba8edefdf3da8e0f9039d3be47878', variant: "body2", color: COLORS_ENUM.SECONDARY }, I18nService.translate('processing.paymentDate')), h("rebill-typography", { key: 'b3727f8eaab806ccecf422418c5d527ae18bfb31', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, formatDateTime(this.paymentDate || this.getPaymentDate() || state.createdAt) || '')), h("div", { key: 'acf55b48d33c73b0fb1d5f8e68672ea2e33c7fbe', class: "success-page__card-row" }, h("rebill-typography", { key: 'd2c0becdd3096cfc995e7258f0c6741dbaaa5b28', variant: "body2", color: COLORS_ENUM.SECONDARY }, I18nService.translate('processing.paymentEmail')), h("rebill-typography", { key: 'cd337abb3b8828129bf109875c3927ab5a76b507', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, state?.data?.userInformation?.email)), h("div", { key: '7c78a3fc52c5c7966a5d1be7b2027f2e64893fa1', class: "success-page__card-row" }, h("rebill-typography", { key: 'd1097bda8329b97e7e19e15cf05c923899305723', variant: "body2", color: COLORS_ENUM.SECONDARY }, I18nService.translate('processing.paymentReference')), h("rebill-typography", { key: '0fe00585bc2b97f58e43e9647c31a38aa376b617', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT, class: "reference-number" }, this.referenceNumber || ''))), h("div", { key: 'c9ce7fc78430de6ea3ed77a485832c2714cdfcfa', class: "success-page__info-card" }, h("rebill-typography", { key: 'f60ea9706de5730c2c6919b0cef92f545d80cce7', variant: "subtitle-bold", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, I18nService.translate('processing.purchaseDetails')), h("div", { key: '65f24003ad3dad665b9c1ad1f09558caf43acaae', class: "success-page__card-row" }, h("rebill-typography", { key: 'f32902e2254725cc4b7788f70ef2fda36767676b', variant: "body2", color: COLORS_ENUM.SECONDARY }, I18nService.translate('processing.purchaseDetail')), h("rebill-typography", { key: '4ae4fed51cd2a89cdfc2b0e6c86336a5c39de38b', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, state?.data?.itemInformation?.title || '')), !this.trialPeriodDays && (h("div", { key: 'feb4816ba4e9d2fe8e852be99e1af07567eb704e', class: "success-page__card-row" }, h("rebill-typography", { key: 'd54c1b908a56af924dd93fcb32ece6dfecf88931', variant: "body2", color: COLORS_ENUM.SECONDARY }, I18nService.translate('processing.purchaseSubtotal')), h("rebill-typography", { key: '3a1d7af2bc28ae18efaedf5fb9d0489ab9ef295c', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, this.getFormattedSubtotal()))), state?.data?.pricing?.discountAmount > 0 && (h("div", { key: 'e65e71710d6cd3c937f6aaf096543e496b1e2325', class: "success-page__card-row" }, h("rebill-typography", { key: 'a1a46e9e2b0f52c4cc8cdce002aaa1772c9ff696', variant: "body2", color: COLORS_ENUM.SECONDARY }, I18nService.translate('summary.discount')), h("rebill-typography", { key: '1af958f8c84761da45f0c3f20e172e8553006896', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, this.getFormattedDiscountAmount()))), h("div", { key: '9daf0cd1ba58159973ebb43bf9a54e27a4d2507b', class: "success-page__card-row" }, h("rebill-typography", { key: '14d4365b7f5c4db15a2779e6d460293a2f0bddcb', variant: "body2", color: COLORS_ENUM.SECONDARY }, I18nService.translate('processing.purchaseMontoTotal')), h("div", { key: '688710a4705697093b56c93b2c88ea67d44f2e60', class: "total-amount-container" }, this.trialPeriodDays > 0 && (h("div", { key: '9e387c929f2e52effcdc8a04985f7813af8e84e4', class: "trial-pill" }, h("rebill-typography", { key: 'f98ea49edec24bccad87ff8c142914c7ce4eee7b', variant: "body2", align: "center", color: COLORS_ENUM.GREEN_TEXT }, I18nService.translate('processing.trialPill', {
457
457
  days: this.trialPeriodDays,
458
458
  count: this.trialPeriodDays,
459
- })))), h("rebill-typography", { key: 'ac783c2d0e2fa3dd7291ca76d9b6d6039ae616ae', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, this.getFormattedTotal()))), (this.trialPeriodDays || this.hasDebitDay()) && h("div", { key: '3bf3d9231d94c178a645eff20f8bfe57ab1c32fd', class: "card-divider" }), (this.hasFreeTrial() || this.hasDebitDay()) && (h("div", { key: '2731602e0f42a0d5ea8b65763856e294bb9db328', class: "next-charge-section" }, h("div", { key: 'c0e72b6515642bb4cc9761f147638f48f44f79bc', class: "next-charge-header" }, h("rebill-typography", { key: '70d2909338d3b911a1921c988a3889f104caa394', variant: "subtitle-bold", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, I18nService.translate('processing.nextCharge')), h("rebill-typography", { key: '322dd7e33f1d076f0082ab6203c14cd0f11ed770', variant: "subtitle-bold", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, I18nService.translate('processing.onDate', {
459
+ })))), h("rebill-typography", { key: 'bd7340197baddea2e7131074841caec3ab1cc1d4', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, this.getFormattedTotal()))), (this.trialPeriodDays || this.hasDebitDay()) && (h("div", { key: 'bb8305da72fe5f3a93f9350f1c60058d32734e21', class: "success-page__card-divider" })), (this.hasFreeTrial() || this.hasDebitDay()) && (h("div", { key: 'cb25a584c12fe4540c94e0d6c6256e54d3521f4e', class: "next-charge-section" }, h("div", { key: '0e3a9c7d5b719f09476a1f44c783144f28169a85', class: "next-charge-header" }, h("rebill-typography", { key: '4651348020cfbfaf44e70ea381a07f363a0a991a', variant: "subtitle-bold", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, I18nService.translate('processing.nextCharge')), h("rebill-typography", { key: 'a42507762f10f315c17a033dab4648f37eb46706', variant: "subtitle-bold", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, I18nService.translate('processing.onDate', {
460
460
  date: this.hasFreeTrial()
461
461
  ? this.getTrialEndDateFormatted()
462
462
  : this.getDebitDateFormatted(),
463
- }))), h("div", { key: 'a3a8a56842225c57dd3f62ad0821b24b68ad0c21', class: "card-row" }, h("rebill-typography", { key: 'cc6b3580960e72bbaf299f1e741e99cebb4d8e9e', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, this.hasFreeTrial() ? I18nService.translate('processing.atEndOfTrial') : ''), h("rebill-typography", { key: '2e0eb39c3f7e5a3fe7f3c0a88a3554633795f29c', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, this.getFormattedSubtotal(this.planAmount), ' ', I18nService.translate('processing.perMonth'))))), h("div", { key: '5b28ad767c43b723895f5fa90c33ac2a26b04135', class: "card-divider" }), h("div", { key: 'ff69f73a10dda77ba6fe3a4405f06fe6f4ca12bc', class: "download-container" }, h("svg", { key: '7f366f2e9d37f23188b917b7022f7e3026603228', class: "download-icon", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'a22fadfdcd5006bff972e80b23519a6c112c72d1', d: "M13.498 9.83333V12.1667C13.498 12.903 12.9011 13.5 12.1647 13.5H3.83138C3.095 13.5 2.49805 12.903 2.49805 12.1667V9.83333M7.99804 10V2.5M7.99804 10L5.66471 7.66667M7.99804 10L10.3314 7.66667", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" })), h("rebill-button", { key: '6f240c860e32c98944ebed7c3bc5a70cb5c3714a', type: "button", variant: "download", size: "small", onClick: this.handleDownloadReceipt }, h("rebill-typography", { key: '8015653a78b2a79862260f81808841b7d4841cb3', variant: "overline", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, I18nService.translate('processing.download')))), h("div", { key: '693657a8535237ef2c1970654e897e5941df31af', class: "contact-info" }, h("rebill-typography", { key: '3d09786f701394d19cde823a2832bf27d3fd93a1', variant: "information-text", color: COLORS_ENUM.SECONDARY }, I18nService.translate('processing.downloadDescription')))))));
463
+ }))), h("div", { key: '073b8086746ac54925028f40dcb6cc0388dc29d5', class: "success-page__card-row" }, h("rebill-typography", { key: 'f678239b390132e31e1a1992ce61899253ff7063', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, this.hasFreeTrial() ? I18nService.translate('processing.atEndOfTrial') : ''), h("rebill-typography", { key: 'e3f59ea087b8fc704ae12b124e23835dee0f2e06', variant: "body2", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, this.getFormattedSubtotal(this.planAmount), ' ', I18nService.translate('processing.perMonth'))))), h("div", { key: '7da44a91e541f2cad30c231165dfeb93a6fd5f4c', class: "success-page__card-divider" }), h("div", { key: 'e0a328dd5e648474b89799c18083194c0f2ca4a8', class: "download-container" }, h("svg", { key: 'fbcbca40ea633f280a02307e356198d9cfe0d629', class: "download-icon", width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, h("path", { key: 'a1c03674854d117ea948858b0994eddacdadde0b', d: "M13.498 9.83333V12.1667C13.498 12.903 12.9011 13.5 12.1647 13.5H3.83138C3.095 13.5 2.49805 12.903 2.49805 12.1667V9.83333M7.99804 10V2.5M7.99804 10L5.66471 7.66667M7.99804 10L10.3314 7.66667", stroke: "currentColor", "stroke-linecap": "round", "stroke-linejoin": "round" })), h("rebill-button", { key: '434daabf2474882e211250ee56d03ed2a496adaf', type: "button", variant: "download", size: "small", onClick: this.handleDownloadReceipt }, h("rebill-typography", { key: 'b64910c30d0f64d83cac260a97409ce5a482176d', variant: "overline", color: COLORS_ENUM.PRIMARY_DARK_TEXT }, I18nService.translate('processing.download')))), h("div", { key: '2c2f930b614ac9194f7f496c1226ba724eb8c331', class: "contact-info" }, h("rebill-typography", { key: 'ffa8eb7284f57679d5e9725393c650c112680b98', variant: "information-text", color: COLORS_ENUM.SECONDARY }, I18nService.translate('processing.downloadDescription')))))));
464
464
  }
465
465
  };
466
466
  CardSuccessPage.style = successPageCss;