rebill-web-components-sdk 1.8.5 → 1.8.6

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/apm-checkout_16.cjs.entry.js +1 -1
  2. package/dist/cjs/{get-payment-method-display-name-oo6lOpoC.js → get-payment-method-display-name-C6mdzTEs.js} +86 -86
  3. package/dist/cjs/{get-payment-method-display-name-oo6lOpoC.js.map → get-payment-method-display-name-C6mdzTEs.js.map} +1 -1
  4. package/dist/cjs/{index-N1yCtvXq.js → index-DLv8bgA4.js} +3 -3
  5. package/dist/cjs/{index-N1yCtvXq.js.map → index-DLv8bgA4.js.map} +1 -1
  6. package/dist/cjs/{jspdf.es.min-BW0eLZgN.js → jspdf.es.min-CV0yEJ9o.js} +4 -4
  7. package/dist/cjs/{jspdf.es.min-BW0eLZgN.js.map → jspdf.es.min-CV0yEJ9o.js.map} +1 -1
  8. package/dist/cjs/otp-component_7.cjs.entry.js +1 -1
  9. package/dist/cjs/renewal-success-page_2.cjs.entry.js +1 -1
  10. package/dist/collection/utils/pdf-generator.js +1 -1
  11. package/dist/collection/utils/pdf-generator.js.map +1 -1
  12. package/dist/collection/utils/receipt-Cardtemplate.js +81 -81
  13. package/dist/collection/utils/receipt-Cardtemplate.js.map +1 -1
  14. package/dist/components/apm-checkout.js +1 -1
  15. package/dist/components/{p-LFMU1iYh.js → p-1tbGUoeo.js} +4 -4
  16. package/dist/components/{p-LFMU1iYh.js.map → p-1tbGUoeo.js.map} +1 -1
  17. package/dist/components/{p-CMnoxL8G.js → p-BnidisYn.js} +3 -3
  18. package/dist/components/{p-CMnoxL8G.js.map → p-BnidisYn.js.map} +1 -1
  19. package/dist/components/{p-fwl9Z4PT.js → p-C1THyrZh.js} +3 -3
  20. package/dist/components/{p-fwl9Z4PT.js.map → p-C1THyrZh.js.map} +1 -1
  21. package/dist/components/{p-BBEMTBwW.js → p-C69QonMT.js} +3 -3
  22. package/dist/components/{p-BBEMTBwW.js.map → p-C69QonMT.js.map} +1 -1
  23. package/dist/components/{p-ByJrcRsN.js → p-DZI13wtJ.js} +3 -3
  24. package/dist/components/{p-ByJrcRsN.js.map → p-DZI13wtJ.js.map} +1 -1
  25. package/dist/components/{p-tWMR1_gF.js → p-fStqPH4y.js} +86 -86
  26. package/dist/components/p-fStqPH4y.js.map +1 -0
  27. package/dist/components/rebill-checkout.js +2 -2
  28. package/dist/components/rebill-renewal.js +2 -2
  29. package/dist/components/renewal-success-page.js +1 -1
  30. package/dist/components/success-page.js +1 -1
  31. package/dist/esm/apm-checkout_16.entry.js +1 -1
  32. package/dist/esm/{get-payment-method-display-name-Dj7gQJ-R.js → get-payment-method-display-name-B59DbHr6.js} +86 -86
  33. package/dist/esm/{get-payment-method-display-name-Dj7gQJ-R.js.map → get-payment-method-display-name-B59DbHr6.js.map} +1 -1
  34. package/dist/esm/{index-wfvNOgYw.js → index-DtxAsmPA.js} +3 -3
  35. package/dist/esm/{index-wfvNOgYw.js.map → index-DtxAsmPA.js.map} +1 -1
  36. package/dist/esm/{jspdf.es.min-ssPVxe3c.js → jspdf.es.min-APwmCmmv.js} +4 -4
  37. package/dist/esm/{jspdf.es.min-ssPVxe3c.js.map → jspdf.es.min-APwmCmmv.js.map} +1 -1
  38. package/dist/esm/otp-component_7.entry.js +1 -1
  39. package/dist/esm/renewal-success-page_2.entry.js +1 -1
  40. package/dist/rebill-web-components-sdk/{p-6762520a.entry.js → p-07de4442.entry.js} +2 -2
  41. package/dist/rebill-web-components-sdk/{p-DeorBmj5.js → p-2D2ZgtY0.js} +2 -2
  42. package/dist/rebill-web-components-sdk/{p-DeorBmj5.js.map → p-2D2ZgtY0.js.map} +1 -1
  43. package/dist/rebill-web-components-sdk/{p-075927af.entry.js → p-4e35c3c8.entry.js} +2 -2
  44. package/dist/rebill-web-components-sdk/{p-BldcNI96.js → p-D5uLuMja.js} +9 -9
  45. package/dist/rebill-web-components-sdk/{p-BldcNI96.js.map → p-D5uLuMja.js.map} +1 -1
  46. package/dist/rebill-web-components-sdk/{p-6b756131.entry.js → p-ce0793c8.entry.js} +2 -2
  47. package/dist/rebill-web-components-sdk/{p-BWqURJ0r.js → p-ymT8AXMV.js} +5 -5
  48. package/dist/rebill-web-components-sdk/{p-BWqURJ0r.js.map → p-ymT8AXMV.js.map} +1 -1
  49. package/dist/rebill-web-components-sdk/rebill-web-components-sdk.esm.js +1 -1
  50. package/package.json +1 -1
  51. package/dist/components/p-tWMR1_gF.js.map +0 -1
  52. /package/dist/rebill-web-components-sdk/{p-6762520a.entry.js.map → p-07de4442.entry.js.map} +0 -0
  53. /package/dist/rebill-web-components-sdk/{p-075927af.entry.js.map → p-4e35c3c8.entry.js.map} +0 -0
  54. /package/dist/rebill-web-components-sdk/{p-6b756131.entry.js.map → p-ce0793c8.entry.js.map} +0 -0
@@ -2,7 +2,7 @@ import { proxyCustomElement, H, createEvent, h } from './p-8BpuJ_V5.js';
2
2
  import { c as create$6 } from './p-MMCcKmy_.js';
3
3
  import { a as api } from './p-Dh-yfb0D.js';
4
4
  import { m as mapRequiredFields, g as generateIdempotencyKey, P as PaymentMessageE, C as CheckoutStatusE, i as isFieldRequired, a as PaymentErrorMapper, b as getFieldValues } from './p-CfXDDNW3.js';
5
- import { P as PaymentMethodMapper, S as STATUS_REQ_CHECKOUT_APM, d as defineCustomElement$M } from './p-BBEMTBwW.js';
5
+ import { P as PaymentMethodMapper, S as STATUS_REQ_CHECKOUT_APM, d as defineCustomElement$M } from './p-C69QonMT.js';
6
6
  import { d as defineCustomElement$C } from './p-djD6Hoxd.js';
7
7
  import { d as defineCustomElement$d } from './p-DFtMrdcs.js';
8
8
  import { d as defineCustomElement$c } from './p-DJEotc3n.js';
@@ -48,7 +48,7 @@ import { d as defineCustomElement$9 } from './p-DJX9uT_Q.js';
48
48
  import { d as defineCustomElement$8 } from './p-FQYyAgg1.js';
49
49
  import { d as defineCustomElement$7 } from './p-DnaF5giI.js';
50
50
  import { d as defineCustomElement$6 } from './p-CJfuw7NA.js';
51
- import { d as defineCustomElement$5 } from './p-fwl9Z4PT.js';
51
+ import { d as defineCustomElement$5 } from './p-C1THyrZh.js';
52
52
  import { d as defineCustomElement$4 } from './p-ByRz5YWN.js';
53
53
  import { d as defineCustomElement$3 } from './p-DGFQ0O94.js';
54
54
 
@@ -2,7 +2,7 @@ import { proxyCustomElement, H, createEvent, h } from './p-8BpuJ_V5.js';
2
2
  import { c as create$6 } from './p-MMCcKmy_.js';
3
3
  import { a as api } from './p-Dh-yfb0D.js';
4
4
  import { m as mapRequiredFields, i as isFieldRequired, g as generateIdempotencyKey, C as CheckoutStatusE, a as PaymentErrorMapper, b as getFieldValues } from './p-CfXDDNW3.js';
5
- import { P as PaymentMethodMapper, a as PaymentMethodNameE, d as defineCustomElement$B } from './p-BBEMTBwW.js';
5
+ import { P as PaymentMethodMapper, a as PaymentMethodNameE, d as defineCustomElement$B } from './p-C69QonMT.js';
6
6
  import { d as defineCustomElement$9 } from './p-DFtMrdcs.js';
7
7
  import { P as PAYMENT_METHOD_ENUM, I as I18nService } from './p-DRQAoEdx.js';
8
8
  import { r as renewalState, R as RenewalStore, o as onChange } from './p-DwuPUZ4H.js';
@@ -37,7 +37,7 @@ import { d as defineCustomElement$b } from './p-CCuYHwTH.js';
37
37
  import { d as defineCustomElement$a } from './p-B9tMhFPq.js';
38
38
  import { d as defineCustomElement$8 } from './p-DJX9uT_Q.js';
39
39
  import { d as defineCustomElement$7 } from './p-DnaF5giI.js';
40
- import { d as defineCustomElement$6 } from './p-ByJrcRsN.js';
40
+ import { d as defineCustomElement$6 } from './p-DZI13wtJ.js';
41
41
  import { d as defineCustomElement$5 } from './p-EwuVbv9Q.js';
42
42
  import { d as defineCustomElement$4 } from './p-CJfuw7NA.js';
43
43
  import { d as defineCustomElement$3 } from './p-DGFQ0O94.js';
@@ -1,4 +1,4 @@
1
- import { R as RenewalSuccessPage$1, d as defineCustomElement$1 } from './p-ByJrcRsN.js';
1
+ import { R as RenewalSuccessPage$1, d as defineCustomElement$1 } from './p-DZI13wtJ.js';
2
2
 
3
3
  const RenewalSuccessPage = RenewalSuccessPage$1;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -1,4 +1,4 @@
1
- import { C as CardSuccessPage, d as defineCustomElement$1 } from './p-fwl9Z4PT.js';
1
+ import { C as CardSuccessPage, d as defineCustomElement$1 } from './p-C1THyrZh.js';
2
2
 
3
3
  const SuccessPage = CardSuccessPage;
4
4
  const defineCustomElement = defineCustomElement$1;
@@ -4,7 +4,7 @@ import { I as I18nService, P as PAYMENT_METHOD_ENUM, e as instance, s as state,
4
4
  import { S as STATUS_REQ_CHECKOUT_APM } from './status-req-checkout-apm.enum-vsLqF4hk.js';
5
5
  import { C as COLORS_ENUM } from './color-class-mapper-DA598vBj.js';
6
6
  import { P as PaymentMethodMapper, G as GoogleMapsService } from './google-maps.service-Dm9dlfmf.js';
7
- import { P as PDFGenerator, g as getPaymentMethodDisplayName, a as getCountryPaymentMethods, i as isBase64Image, d as decodeQRData, b as generateQRCodeSVG, c as getCurrencyInstructions } from './get-payment-method-display-name-Dj7gQJ-R.js';
7
+ import { P as PDFGenerator, g as getPaymentMethodDisplayName, a as getCountryPaymentMethods, i as isBase64Image, d as decodeQRData, b as generateQRCodeSVG, c as getCurrencyInstructions } from './get-payment-method-display-name-B59DbHr6.js';
8
8
  import { r as renewalState } from './renewal.store-DkUIhGVC.js';
9
9
  import { c as createCountdownTimer, f as formatTimeMMSSMax60 } from './timer-bcHxwlBu.js';
10
10
  import { c as create$6, V as ValidationError } from './index.esm-CRUbzQx9.js';
@@ -11679,7 +11679,7 @@ class ReceiptTemplate {
11679
11679
  justify-content: center;
11680
11680
  }
11681
11681
 
11682
- .container {
11682
+ .rb-receipt-container {
11683
11683
  max-width: 360px;
11684
11684
  width: 100%;
11685
11685
  background: white;
@@ -11689,7 +11689,7 @@ class ReceiptTemplate {
11689
11689
  margin: 20px;
11690
11690
  }
11691
11691
 
11692
- .header {
11692
+ .rb-receipt-header {
11693
11693
  display: flex;
11694
11694
  justify-content: flex-start;
11695
11695
  align-items: center;
@@ -11699,7 +11699,7 @@ class ReceiptTemplate {
11699
11699
  border-bottom: 1px solid #e5e7eb;
11700
11700
  }
11701
11701
 
11702
- .logo {
11702
+ .rb-receipt-logo {
11703
11703
  display: flex;
11704
11704
  align-items: center;
11705
11705
  gap: 6px;
@@ -11708,12 +11708,12 @@ class ReceiptTemplate {
11708
11708
  height: 24px;
11709
11709
  }
11710
11710
 
11711
- .logo img {
11711
+ .rb-receipt-logo img {
11712
11712
  max-height: 24px;
11713
11713
  max-width: 72px;
11714
11714
  }
11715
11715
 
11716
- .main-content {
11716
+ .rb-receipt-main-content {
11717
11717
  display: flex;
11718
11718
  justify-content: center;
11719
11719
  align-items: center;
@@ -11721,7 +11721,7 @@ class ReceiptTemplate {
11721
11721
  min-height: 180px;
11722
11722
  }
11723
11723
 
11724
- .success-content {
11724
+ .rb-receipt-success-content {
11725
11725
  display: flex;
11726
11726
  flex-direction: column;
11727
11727
  align-items: center;
@@ -11730,7 +11730,7 @@ class ReceiptTemplate {
11730
11730
  width: 100%;
11731
11731
  }
11732
11732
 
11733
- .success-title {
11733
+ .rb-receipt-success-title {
11734
11734
  font-size: 12px;
11735
11735
  font-weight: 700;
11736
11736
  color: #1f2937;
@@ -11739,18 +11739,18 @@ class ReceiptTemplate {
11739
11739
  text-align: center;
11740
11740
  }
11741
11741
 
11742
- .success-icon {
11742
+ .rb-receipt-success-icon {
11743
11743
  display: flex;
11744
11744
  justify-content: center;
11745
11745
  margin: 3px 0;
11746
11746
  }
11747
11747
 
11748
- .success-icon svg {
11748
+ .rb-receipt-success-icon svg {
11749
11749
  width: 48px;
11750
11750
  height: 48px;
11751
11751
  }
11752
11752
 
11753
- .info-card {
11753
+ .rb-receipt-info-card {
11754
11754
  padding: 10px;
11755
11755
  gap: 6px;
11756
11756
  width: 270px;
@@ -11762,7 +11762,7 @@ class ReceiptTemplate {
11762
11762
  margin-bottom: 6px;
11763
11763
  }
11764
11764
 
11765
- .card-row {
11765
+ .rb-receipt-card-row {
11766
11766
  display: flex;
11767
11767
  justify-content: space-between;
11768
11768
  align-items: center;
@@ -11770,29 +11770,29 @@ class ReceiptTemplate {
11770
11770
  padding: 1px 0;
11771
11771
  }
11772
11772
 
11773
- .card-row:last-of-type {
11773
+ .rb-receipt-card-row:last-of-type {
11774
11774
  margin-bottom: 0;
11775
11775
  }
11776
11776
 
11777
- .card-value {
11777
+ .rb-receipt-card-value {
11778
11778
  display: flex;
11779
11779
  align-items: center;
11780
11780
  gap: 4px;
11781
11781
  }
11782
11782
 
11783
- .card-label {
11783
+ .rb-receipt-card-label {
11784
11784
  font-size: 7px;
11785
11785
  color: #6b7280;
11786
11786
  font-weight: 500;
11787
11787
  }
11788
11788
 
11789
- .card-text {
11789
+ .rb-receipt-card-text {
11790
11790
  font-size: 7px;
11791
11791
  color: #6b7280;
11792
11792
  font-weight: 600;
11793
11793
  }
11794
11794
 
11795
- .installments-text {
11795
+ .rb-receipt-installments-text {
11796
11796
  font-size: 7px;
11797
11797
  color: #6b7280;
11798
11798
  font-weight: 600;
@@ -11801,31 +11801,31 @@ class ReceiptTemplate {
11801
11801
  line-height: 1.2;
11802
11802
  }
11803
11803
 
11804
- .card-divider {
11804
+ .rb-receipt-card-divider {
11805
11805
  height: 1px;
11806
11806
  background: #e5e7eb;
11807
11807
  margin: 6px 0;
11808
11808
  }
11809
11809
 
11810
- .contact-info {
11810
+ .rb-receipt-contact-info {
11811
11811
  text-align: left;
11812
11812
  margin-top: 6px;
11813
11813
  }
11814
11814
 
11815
- .contact-text {
11815
+ .rb-receipt-contact-text {
11816
11816
  font-size: 6px;
11817
11817
  color: #6b7280;
11818
11818
  margin-bottom: 1px;
11819
11819
  }
11820
11820
 
11821
- .contact-email {
11821
+ .rb-receipt-contact-email {
11822
11822
  font-size: 6px;
11823
11823
  color: #35B093;
11824
11824
  text-decoration: none;
11825
11825
  font-weight: 600;
11826
11826
  }
11827
11827
 
11828
- .trial-pill {
11828
+ .rb-receipt-trial-pill {
11829
11829
  background-color: #d1fae5;
11830
11830
  border-radius: 3px;
11831
11831
  padding: 2px 4px;
@@ -11835,13 +11835,13 @@ class ReceiptTemplate {
11835
11835
  margin-right: 4px;
11836
11836
  }
11837
11837
 
11838
- .trial-pill-text {
11838
+ .rb-receipt-trial-pill-text {
11839
11839
  font-size: 6px;
11840
11840
  color: #059669;
11841
11841
  font-weight: 600;
11842
11842
  }
11843
11843
 
11844
- .total-amount-container {
11844
+ .rb-receipt-total-amount-container {
11845
11845
  display: flex;
11846
11846
  align-items: center;
11847
11847
  justify-content: flex-end;
@@ -11849,32 +11849,32 @@ class ReceiptTemplate {
11849
11849
  flex-direction: row;
11850
11850
  }
11851
11851
 
11852
- .next-charge-section {
11852
+ .rb-receipt-next-charge-section {
11853
11853
  margin-top: 6px;
11854
11854
  padding-top: 6px;
11855
11855
  }
11856
11856
 
11857
- .next-charge-header {
11857
+ .rb-receipt-next-charge-header {
11858
11858
  display: flex;
11859
11859
  justify-content: space-between;
11860
11860
  align-items: flex-start;
11861
11861
  margin-bottom: 4px;
11862
11862
  }
11863
11863
 
11864
- .next-charge-title {
11864
+ .rb-receipt-next-charge-title {
11865
11865
  font-size: 7px;
11866
11866
  font-weight: 600;
11867
11867
  color: #1f2937;
11868
11868
  }
11869
11869
 
11870
- .next-charge-date {
11870
+ .rb-receipt-next-charge-date {
11871
11871
  font-size: 7px;
11872
11872
  font-weight: 600;
11873
11873
  color: #1f2937;
11874
11874
  text-align: right;
11875
11875
  }
11876
11876
 
11877
- .next-charge-row {
11877
+ .rb-receipt-next-charge-row {
11878
11878
  display: flex;
11879
11879
  justify-content: space-between;
11880
11880
  align-items: center;
@@ -11882,13 +11882,13 @@ class ReceiptTemplate {
11882
11882
  padding: 1px 0;
11883
11883
  }
11884
11884
 
11885
- .next-charge-description {
11885
+ .rb-receipt-next-charge-description {
11886
11886
  font-size: 6px;
11887
11887
  color: #6b7280;
11888
11888
  font-weight: 500;
11889
11889
  }
11890
11890
 
11891
- .next-charge-amount {
11891
+ .rb-receipt-next-charge-amount {
11892
11892
  font-size: 6px;
11893
11893
  color: #6b7280;
11894
11894
  font-weight: 600;
@@ -11900,7 +11900,7 @@ class ReceiptTemplate {
11900
11900
  padding: 0;
11901
11901
  }
11902
11902
 
11903
- .container {
11903
+ .rb-receipt-container {
11904
11904
  box-shadow: none;
11905
11905
  border: 1px solid #ddd;
11906
11906
  }
@@ -11908,12 +11908,12 @@ class ReceiptTemplate {
11908
11908
  </style>
11909
11909
  </head>
11910
11910
  <body>
11911
- <div class="container">
11912
- <div class="main-content">
11913
- <div class="success-content">
11914
- <div class="success-title">${I18nService.translate('processing.successTitle')}</div>
11911
+ <div class="rb-receipt-container">
11912
+ <div class="rb-receipt-main-content">
11913
+ <div class="rb-receipt-success-content">
11914
+ <div class="rb-receipt-success-title">${I18nService.translate('processing.successTitle')}</div>
11915
11915
 
11916
- <div class="success-icon">
11916
+ <div class="rb-receipt-success-icon">
11917
11917
  <svg viewBox="0 0 96 96" fill="none" xmlns="http://www.w3.org/2000/svg">
11918
11918
  <path
11919
11919
  fill-rule="evenodd"
@@ -11924,103 +11924,103 @@ class ReceiptTemplate {
11924
11924
  </svg>
11925
11925
  </div>
11926
11926
 
11927
- <div class="info-card">
11928
- <div class="card-row">
11929
- <div class="card-label">${I18nService.translate('processing.paymentMethod')}</div>
11930
- <div class="card-value">
11927
+ <div class="rb-receipt-info-card">
11928
+ <div class="rb-receipt-card-row">
11929
+ <div class="rb-receipt-card-label">${I18nService.translate('processing.paymentMethod')}</div>
11930
+ <div class="rb-receipt-card-value">
11931
11931
  ${data.isBankTransfer ? '' : getCardIconSVG(data.cardBrand)}
11932
- <span class="card-text">${data.isBankTransfer ? I18nService.translate('paymentMethods.bank_transfer') : data.cardBrand && data.cardLastFour ? `${data.cardBrand} - ${data.cardLastFour}` : data.cardBrand || ''}</span>
11932
+ <span class="rb-receipt-card-text">${data.isBankTransfer ? I18nService.translate('paymentMethods.bank_transfer') : data.cardBrand && data.cardLastFour ? `${data.cardBrand} - ${data.cardLastFour}` : data.cardBrand || ''}</span>
11933
11933
  </div>
11934
11934
  </div>
11935
11935
 
11936
11936
  ${data.installments
11937
11937
  ? `
11938
- <div class="card-row">
11939
- <div class="card-label">${I18nService.translate('summary.installments')}</div>
11940
- <div class="installments-text">${data.installments}</div>
11938
+ <div class="rb-receipt-card-row">
11939
+ <div class="rb-receipt-card-label">${I18nService.translate('summary.installments')}</div>
11940
+ <div class="rb-receipt-installments-text">${data.installments}</div>
11941
11941
  </div>
11942
11942
  `
11943
11943
  : ''}
11944
11944
 
11945
11945
  ${data.discountAmount
11946
11946
  ? `
11947
- <div class="card-row">
11948
- <div class="card-label">${I18nService.translate('summary.discount')}</div>
11949
- <div class="card-text">${data.discountAmount}</div>
11947
+ <div class="rb-receipt-card-row">
11948
+ <div class="rb-receipt-card-label">${I18nService.translate('summary.discount')}</div>
11949
+ <div class="rb-receipt-card-text">${data.discountAmount}</div>
11950
11950
  </div>
11951
11951
  `
11952
11952
  : ''}
11953
- <div class="card-row">
11954
- <div class="card-label">${I18nService.translate('processing.paymentDate')}</div>
11955
- <div class="card-text">${data.paymentDate}</div>
11953
+ <div class="rb-receipt-card-row">
11954
+ <div class="rb-receipt-card-label">${I18nService.translate('processing.paymentDate')}</div>
11955
+ <div class="rb-receipt-card-text">${data.paymentDate}</div>
11956
11956
  </div>
11957
11957
 
11958
- <div class="card-row">
11959
- <div class="card-label">${I18nService.translate('processing.paymentEmail')}</div>
11960
- <div class="card-text">${data.email}</div>
11958
+ <div class="rb-receipt-card-row">
11959
+ <div class="rb-receipt-card-label">${I18nService.translate('processing.paymentEmail')}</div>
11960
+ <div class="rb-receipt-card-text">${data.email}</div>
11961
11961
  </div>
11962
11962
 
11963
- <div class="card-row">
11964
- <div class="card-label">${I18nService.translate('processing.paymentReference')}</div>
11965
- <div class="card-text">${data.referenceNumber}</div>
11963
+ <div class="rb-receipt-card-row">
11964
+ <div class="rb-receipt-card-label">${I18nService.translate('processing.paymentReference')}</div>
11965
+ <div class="rb-receipt-card-text">${data.referenceNumber}</div>
11966
11966
  </div>
11967
11967
  </div>
11968
11968
 
11969
- <div class="info-card">
11970
- <div class="card-label" style="font-size: 8px; font-weight: 600; color: #1f2937; margin-bottom: 6px;">
11969
+ <div class="rb-receipt-info-card">
11970
+ <div class="rb-receipt-card-label" style="font-size: 8px; font-weight: 600; color: #1f2937; margin-bottom: 6px;">
11971
11971
  ${I18nService.translate('processing.purchaseDetails')}
11972
11972
  </div>
11973
11973
 
11974
- <div class="card-row">
11975
- <div class="card-label">${I18nService.translate('processing.purchaseDetail')}</div>
11976
- <div class="card-text">${data.productTitle}</div>
11974
+ <div class="rb-receipt-card-row">
11975
+ <div class="rb-receipt-card-label">${I18nService.translate('processing.purchaseDetail')}</div>
11976
+ <div class="rb-receipt-card-text">${data.productTitle}</div>
11977
11977
  </div>
11978
11978
 
11979
11979
  ${!data.trialPeriodDays
11980
11980
  ? `
11981
- <div class="card-row">
11982
- <div class="card-label">${I18nService.translate('processing.purchaseSubtotal')}</div>
11983
- <div class="card-text">${data.subtotal}</div>
11981
+ <div class="rb-receipt-card-row">
11982
+ <div class="rb-receipt-card-label">${I18nService.translate('processing.purchaseSubtotal')}</div>
11983
+ <div class="rb-receipt-card-text">${data.subtotal}</div>
11984
11984
  </div>
11985
11985
  `
11986
11986
  : ''}
11987
11987
 
11988
- <div class="card-row">
11989
- <div class="card-label">${I18nService.translate('processing.purchaseTotal')}</div>
11990
- <div class="total-amount-container">
11988
+ <div class="rb-receipt-card-row">
11989
+ <div class="rb-receipt-card-label">${I18nService.translate('processing.purchaseTotal')}</div>
11990
+ <div class="rb-receipt-total-amount-container">
11991
11991
  ${data.trialPeriodDays && data.trialPeriodDays > 0
11992
11992
  ? `
11993
- <div class="trial-pill">
11994
- <span class="trial-pill-text">${I18nService.translate('processing.trialPill', {
11993
+ <div class="rb-receipt-trial-pill">
11994
+ <span class="rb-receipt-trial-pill-text">${I18nService.translate('processing.trialPill', {
11995
11995
  days: data.trialPeriodDays,
11996
11996
  count: data.trialPeriodDays,
11997
11997
  })}</span>
11998
11998
  </div>
11999
11999
  `
12000
12000
  : ''}
12001
- <div class="card-text">${data.total}</div>
12001
+ <div class="rb-receipt-card-text">${data.total}</div>
12002
12002
  </div>
12003
12003
  </div>
12004
12004
 
12005
12005
  ${(data.trialPeriodDays && data.trialPeriodDays > 0) ||
12006
12006
  (data.debitDay && data.debitDay > 0)
12007
12007
  ? `
12008
- <div class="card-divider"></div>
12008
+ <div class="rb-receipt-card-divider"></div>
12009
12009
 
12010
- <div class="next-charge-section">
12011
- <div class="next-charge-header">
12012
- <div class="next-charge-title">${I18nService.translate('processing.nextCharge')}</div>
12013
- <div class="next-charge-date">${I18nService.translate('processing.onDate', {
12010
+ <div class="rb-receipt-next-charge-section">
12011
+ <div class="rb-receipt-next-charge-header">
12012
+ <div class="rb-receipt-next-charge-title">${I18nService.translate('processing.nextCharge')}</div>
12013
+ <div class="rb-receipt-next-charge-date">${I18nService.translate('processing.onDate', {
12014
12014
  date: data.trialPeriodDays && data.trialPeriodDays > 0
12015
12015
  ? data.trialEndDate
12016
12016
  : data.debitDate,
12017
12017
  })}</div>
12018
12018
  </div>
12019
- <div class="next-charge-row">
12020
- <div class="next-charge-description">
12019
+ <div class="rb-receipt-next-charge-row">
12020
+ <div class="rb-receipt-next-charge-description">
12021
12021
  ${data.trialPeriodDays && data.trialPeriodDays > 0 ? I18nService.translate('processing.atEndOfTrial') : ''}
12022
12022
  </div>
12023
- <div class="next-charge-amount">
12023
+ <div class="rb-receipt-next-charge-amount">
12024
12024
  ${data.planAmount} ${I18nService.translate('processing.perMonth')}
12025
12025
  </div>
12026
12026
  </div>
@@ -12028,10 +12028,10 @@ class ReceiptTemplate {
12028
12028
  `
12029
12029
  : ''}
12030
12030
 
12031
- <div class="card-divider"></div>
12031
+ <div class="rb-receipt-card-divider"></div>
12032
12032
 
12033
- <div class="contact-info">
12034
- <div class="contact-text">${I18nService.translate('processing.downloadDescription')}</div>
12033
+ <div class="rb-receipt-contact-info">
12034
+ <div class="rb-receipt-contact-text">${I18nService.translate('processing.downloadDescription')}</div>
12035
12035
  </div>
12036
12036
  </div>
12037
12037
  </div>
@@ -12050,7 +12050,7 @@ class PDFGenerator {
12050
12050
  static async generateAndDownloadPDF(data) {
12051
12051
  try {
12052
12052
  // Dynamically import jsPDF to avoid build issues
12053
- const { jsPDF } = await import('./jspdf.es.min-ssPVxe3c.js').then(function (n) { return n.j; });
12053
+ const { jsPDF } = await import('./jspdf.es.min-APwmCmmv.js').then(function (n) { return n.j; });
12054
12054
  // Create a temporary container for the HTML content
12055
12055
  const tempContainer = document.createElement('div');
12056
12056
  tempContainer.style.position = 'absolute';
@@ -12111,7 +12111,7 @@ class PDFGenerator {
12111
12111
  static async generateAndDownloadReceipt(data) {
12112
12112
  try {
12113
12113
  // Dynamically import jsPDF to avoid build issues
12114
- const { jsPDF } = await import('./jspdf.es.min-ssPVxe3c.js').then(function (n) { return n.j; });
12114
+ const { jsPDF } = await import('./jspdf.es.min-APwmCmmv.js').then(function (n) { return n.j; });
12115
12115
  // Create a temporary container for the HTML content
12116
12116
  const tempContainer = document.createElement('div');
12117
12117
  tempContainer.style.position = 'absolute';
@@ -12122,7 +12122,7 @@ class PDFGenerator {
12122
12122
  // Add to DOM temporarily
12123
12123
  document.body.appendChild(tempContainer);
12124
12124
  // Generate canvas from HTML
12125
- const canvas = await html2canvas(tempContainer.querySelector('.container'), {
12125
+ const canvas = await html2canvas(tempContainer.querySelector('.rb-receipt-container'), {
12126
12126
  backgroundColor: '#ffffff',
12127
12127
  scale: 2,
12128
12128
  useCORS: true,
@@ -12211,6 +12211,6 @@ function getPaymentMethodDisplayName(paymentMethod, country) {
12211
12211
  }
12212
12212
 
12213
12213
  export { PDFGenerator as P, getCountryPaymentMethods as a, generateQRCodeSVG as b, getCurrencyInstructions as c, decodeQRData as d, getPaymentMethodDisplayName as g, html2canvas$1 as h, isBase64Image as i };
12214
- //# sourceMappingURL=get-payment-method-display-name-Dj7gQJ-R.js.map
12214
+ //# sourceMappingURL=get-payment-method-display-name-B59DbHr6.js.map
12215
12215
 
12216
- //# sourceMappingURL=get-payment-method-display-name-Dj7gQJ-R.js.map
12216
+ //# sourceMappingURL=get-payment-method-display-name-B59DbHr6.js.map