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.
- package/dist/cjs/apm-checkout_16.cjs.entry.js +1 -1
- package/dist/cjs/{get-payment-method-display-name-oo6lOpoC.js → get-payment-method-display-name-C6mdzTEs.js} +86 -86
- package/dist/cjs/{get-payment-method-display-name-oo6lOpoC.js.map → get-payment-method-display-name-C6mdzTEs.js.map} +1 -1
- package/dist/cjs/{index-N1yCtvXq.js → index-DLv8bgA4.js} +3 -3
- package/dist/cjs/{index-N1yCtvXq.js.map → index-DLv8bgA4.js.map} +1 -1
- package/dist/cjs/{jspdf.es.min-BW0eLZgN.js → jspdf.es.min-CV0yEJ9o.js} +4 -4
- package/dist/cjs/{jspdf.es.min-BW0eLZgN.js.map → jspdf.es.min-CV0yEJ9o.js.map} +1 -1
- package/dist/cjs/otp-component_7.cjs.entry.js +1 -1
- package/dist/cjs/renewal-success-page_2.cjs.entry.js +1 -1
- package/dist/collection/utils/pdf-generator.js +1 -1
- package/dist/collection/utils/pdf-generator.js.map +1 -1
- package/dist/collection/utils/receipt-Cardtemplate.js +81 -81
- package/dist/collection/utils/receipt-Cardtemplate.js.map +1 -1
- package/dist/components/apm-checkout.js +1 -1
- package/dist/components/{p-LFMU1iYh.js → p-1tbGUoeo.js} +4 -4
- package/dist/components/{p-LFMU1iYh.js.map → p-1tbGUoeo.js.map} +1 -1
- package/dist/components/{p-CMnoxL8G.js → p-BnidisYn.js} +3 -3
- package/dist/components/{p-CMnoxL8G.js.map → p-BnidisYn.js.map} +1 -1
- package/dist/components/{p-fwl9Z4PT.js → p-C1THyrZh.js} +3 -3
- package/dist/components/{p-fwl9Z4PT.js.map → p-C1THyrZh.js.map} +1 -1
- package/dist/components/{p-BBEMTBwW.js → p-C69QonMT.js} +3 -3
- package/dist/components/{p-BBEMTBwW.js.map → p-C69QonMT.js.map} +1 -1
- package/dist/components/{p-ByJrcRsN.js → p-DZI13wtJ.js} +3 -3
- package/dist/components/{p-ByJrcRsN.js.map → p-DZI13wtJ.js.map} +1 -1
- package/dist/components/{p-tWMR1_gF.js → p-fStqPH4y.js} +86 -86
- package/dist/components/p-fStqPH4y.js.map +1 -0
- package/dist/components/rebill-checkout.js +2 -2
- package/dist/components/rebill-renewal.js +2 -2
- package/dist/components/renewal-success-page.js +1 -1
- package/dist/components/success-page.js +1 -1
- package/dist/esm/apm-checkout_16.entry.js +1 -1
- package/dist/esm/{get-payment-method-display-name-Dj7gQJ-R.js → get-payment-method-display-name-B59DbHr6.js} +86 -86
- package/dist/esm/{get-payment-method-display-name-Dj7gQJ-R.js.map → get-payment-method-display-name-B59DbHr6.js.map} +1 -1
- package/dist/esm/{index-wfvNOgYw.js → index-DtxAsmPA.js} +3 -3
- package/dist/esm/{index-wfvNOgYw.js.map → index-DtxAsmPA.js.map} +1 -1
- package/dist/esm/{jspdf.es.min-ssPVxe3c.js → jspdf.es.min-APwmCmmv.js} +4 -4
- package/dist/esm/{jspdf.es.min-ssPVxe3c.js.map → jspdf.es.min-APwmCmmv.js.map} +1 -1
- package/dist/esm/otp-component_7.entry.js +1 -1
- package/dist/esm/renewal-success-page_2.entry.js +1 -1
- package/dist/rebill-web-components-sdk/{p-6762520a.entry.js → p-07de4442.entry.js} +2 -2
- package/dist/rebill-web-components-sdk/{p-DeorBmj5.js → p-2D2ZgtY0.js} +2 -2
- package/dist/rebill-web-components-sdk/{p-DeorBmj5.js.map → p-2D2ZgtY0.js.map} +1 -1
- package/dist/rebill-web-components-sdk/{p-075927af.entry.js → p-4e35c3c8.entry.js} +2 -2
- package/dist/rebill-web-components-sdk/{p-BldcNI96.js → p-D5uLuMja.js} +9 -9
- package/dist/rebill-web-components-sdk/{p-BldcNI96.js.map → p-D5uLuMja.js.map} +1 -1
- package/dist/rebill-web-components-sdk/{p-6b756131.entry.js → p-ce0793c8.entry.js} +2 -2
- package/dist/rebill-web-components-sdk/{p-BWqURJ0r.js → p-ymT8AXMV.js} +5 -5
- package/dist/rebill-web-components-sdk/{p-BWqURJ0r.js.map → p-ymT8AXMV.js.map} +1 -1
- package/dist/rebill-web-components-sdk/rebill-web-components-sdk.esm.js +1 -1
- package/package.json +1 -1
- package/dist/components/p-tWMR1_gF.js.map +0 -1
- /package/dist/rebill-web-components-sdk/{p-6762520a.entry.js.map → p-07de4442.entry.js.map} +0 -0
- /package/dist/rebill-web-components-sdk/{p-075927af.entry.js.map → p-4e35c3c8.entry.js.map} +0 -0
- /package/dist/rebill-web-components-sdk/{p-6b756131.entry.js.map → p-ce0793c8.entry.js.map} +0 -0
|
@@ -8389,7 +8389,7 @@ class ReceiptTemplate {
|
|
|
8389
8389
|
justify-content: center;
|
|
8390
8390
|
}
|
|
8391
8391
|
|
|
8392
|
-
.container {
|
|
8392
|
+
.rb-receipt-container {
|
|
8393
8393
|
max-width: 360px;
|
|
8394
8394
|
width: 100%;
|
|
8395
8395
|
background: white;
|
|
@@ -8399,7 +8399,7 @@ class ReceiptTemplate {
|
|
|
8399
8399
|
margin: 20px;
|
|
8400
8400
|
}
|
|
8401
8401
|
|
|
8402
|
-
.header {
|
|
8402
|
+
.rb-receipt-header {
|
|
8403
8403
|
display: flex;
|
|
8404
8404
|
justify-content: flex-start;
|
|
8405
8405
|
align-items: center;
|
|
@@ -8409,7 +8409,7 @@ class ReceiptTemplate {
|
|
|
8409
8409
|
border-bottom: 1px solid #e5e7eb;
|
|
8410
8410
|
}
|
|
8411
8411
|
|
|
8412
|
-
.logo {
|
|
8412
|
+
.rb-receipt-logo {
|
|
8413
8413
|
display: flex;
|
|
8414
8414
|
align-items: center;
|
|
8415
8415
|
gap: 6px;
|
|
@@ -8418,12 +8418,12 @@ class ReceiptTemplate {
|
|
|
8418
8418
|
height: 24px;
|
|
8419
8419
|
}
|
|
8420
8420
|
|
|
8421
|
-
.logo img {
|
|
8421
|
+
.rb-receipt-logo img {
|
|
8422
8422
|
max-height: 24px;
|
|
8423
8423
|
max-width: 72px;
|
|
8424
8424
|
}
|
|
8425
8425
|
|
|
8426
|
-
.main-content {
|
|
8426
|
+
.rb-receipt-main-content {
|
|
8427
8427
|
display: flex;
|
|
8428
8428
|
justify-content: center;
|
|
8429
8429
|
align-items: center;
|
|
@@ -8431,7 +8431,7 @@ class ReceiptTemplate {
|
|
|
8431
8431
|
min-height: 180px;
|
|
8432
8432
|
}
|
|
8433
8433
|
|
|
8434
|
-
.success-content {
|
|
8434
|
+
.rb-receipt-success-content {
|
|
8435
8435
|
display: flex;
|
|
8436
8436
|
flex-direction: column;
|
|
8437
8437
|
align-items: center;
|
|
@@ -8440,7 +8440,7 @@ class ReceiptTemplate {
|
|
|
8440
8440
|
width: 100%;
|
|
8441
8441
|
}
|
|
8442
8442
|
|
|
8443
|
-
.success-title {
|
|
8443
|
+
.rb-receipt-success-title {
|
|
8444
8444
|
font-size: 12px;
|
|
8445
8445
|
font-weight: 700;
|
|
8446
8446
|
color: #1f2937;
|
|
@@ -8449,18 +8449,18 @@ class ReceiptTemplate {
|
|
|
8449
8449
|
text-align: center;
|
|
8450
8450
|
}
|
|
8451
8451
|
|
|
8452
|
-
.success-icon {
|
|
8452
|
+
.rb-receipt-success-icon {
|
|
8453
8453
|
display: flex;
|
|
8454
8454
|
justify-content: center;
|
|
8455
8455
|
margin: 3px 0;
|
|
8456
8456
|
}
|
|
8457
8457
|
|
|
8458
|
-
.success-icon svg {
|
|
8458
|
+
.rb-receipt-success-icon svg {
|
|
8459
8459
|
width: 48px;
|
|
8460
8460
|
height: 48px;
|
|
8461
8461
|
}
|
|
8462
8462
|
|
|
8463
|
-
.info-card {
|
|
8463
|
+
.rb-receipt-info-card {
|
|
8464
8464
|
padding: 10px;
|
|
8465
8465
|
gap: 6px;
|
|
8466
8466
|
width: 270px;
|
|
@@ -8472,7 +8472,7 @@ class ReceiptTemplate {
|
|
|
8472
8472
|
margin-bottom: 6px;
|
|
8473
8473
|
}
|
|
8474
8474
|
|
|
8475
|
-
.card-row {
|
|
8475
|
+
.rb-receipt-card-row {
|
|
8476
8476
|
display: flex;
|
|
8477
8477
|
justify-content: space-between;
|
|
8478
8478
|
align-items: center;
|
|
@@ -8480,29 +8480,29 @@ class ReceiptTemplate {
|
|
|
8480
8480
|
padding: 1px 0;
|
|
8481
8481
|
}
|
|
8482
8482
|
|
|
8483
|
-
.card-row:last-of-type {
|
|
8483
|
+
.rb-receipt-card-row:last-of-type {
|
|
8484
8484
|
margin-bottom: 0;
|
|
8485
8485
|
}
|
|
8486
8486
|
|
|
8487
|
-
.card-value {
|
|
8487
|
+
.rb-receipt-card-value {
|
|
8488
8488
|
display: flex;
|
|
8489
8489
|
align-items: center;
|
|
8490
8490
|
gap: 4px;
|
|
8491
8491
|
}
|
|
8492
8492
|
|
|
8493
|
-
.card-label {
|
|
8493
|
+
.rb-receipt-card-label {
|
|
8494
8494
|
font-size: 7px;
|
|
8495
8495
|
color: #6b7280;
|
|
8496
8496
|
font-weight: 500;
|
|
8497
8497
|
}
|
|
8498
8498
|
|
|
8499
|
-
.card-text {
|
|
8499
|
+
.rb-receipt-card-text {
|
|
8500
8500
|
font-size: 7px;
|
|
8501
8501
|
color: #6b7280;
|
|
8502
8502
|
font-weight: 600;
|
|
8503
8503
|
}
|
|
8504
8504
|
|
|
8505
|
-
.installments-text {
|
|
8505
|
+
.rb-receipt-installments-text {
|
|
8506
8506
|
font-size: 7px;
|
|
8507
8507
|
color: #6b7280;
|
|
8508
8508
|
font-weight: 600;
|
|
@@ -8511,31 +8511,31 @@ class ReceiptTemplate {
|
|
|
8511
8511
|
line-height: 1.2;
|
|
8512
8512
|
}
|
|
8513
8513
|
|
|
8514
|
-
.card-divider {
|
|
8514
|
+
.rb-receipt-card-divider {
|
|
8515
8515
|
height: 1px;
|
|
8516
8516
|
background: #e5e7eb;
|
|
8517
8517
|
margin: 6px 0;
|
|
8518
8518
|
}
|
|
8519
8519
|
|
|
8520
|
-
.contact-info {
|
|
8520
|
+
.rb-receipt-contact-info {
|
|
8521
8521
|
text-align: left;
|
|
8522
8522
|
margin-top: 6px;
|
|
8523
8523
|
}
|
|
8524
8524
|
|
|
8525
|
-
.contact-text {
|
|
8525
|
+
.rb-receipt-contact-text {
|
|
8526
8526
|
font-size: 6px;
|
|
8527
8527
|
color: #6b7280;
|
|
8528
8528
|
margin-bottom: 1px;
|
|
8529
8529
|
}
|
|
8530
8530
|
|
|
8531
|
-
.contact-email {
|
|
8531
|
+
.rb-receipt-contact-email {
|
|
8532
8532
|
font-size: 6px;
|
|
8533
8533
|
color: #35B093;
|
|
8534
8534
|
text-decoration: none;
|
|
8535
8535
|
font-weight: 600;
|
|
8536
8536
|
}
|
|
8537
8537
|
|
|
8538
|
-
.trial-pill {
|
|
8538
|
+
.rb-receipt-trial-pill {
|
|
8539
8539
|
background-color: #d1fae5;
|
|
8540
8540
|
border-radius: 3px;
|
|
8541
8541
|
padding: 2px 4px;
|
|
@@ -8545,13 +8545,13 @@ class ReceiptTemplate {
|
|
|
8545
8545
|
margin-right: 4px;
|
|
8546
8546
|
}
|
|
8547
8547
|
|
|
8548
|
-
.trial-pill-text {
|
|
8548
|
+
.rb-receipt-trial-pill-text {
|
|
8549
8549
|
font-size: 6px;
|
|
8550
8550
|
color: #059669;
|
|
8551
8551
|
font-weight: 600;
|
|
8552
8552
|
}
|
|
8553
8553
|
|
|
8554
|
-
.total-amount-container {
|
|
8554
|
+
.rb-receipt-total-amount-container {
|
|
8555
8555
|
display: flex;
|
|
8556
8556
|
align-items: center;
|
|
8557
8557
|
justify-content: flex-end;
|
|
@@ -8559,32 +8559,32 @@ class ReceiptTemplate {
|
|
|
8559
8559
|
flex-direction: row;
|
|
8560
8560
|
}
|
|
8561
8561
|
|
|
8562
|
-
.next-charge-section {
|
|
8562
|
+
.rb-receipt-next-charge-section {
|
|
8563
8563
|
margin-top: 6px;
|
|
8564
8564
|
padding-top: 6px;
|
|
8565
8565
|
}
|
|
8566
8566
|
|
|
8567
|
-
.next-charge-header {
|
|
8567
|
+
.rb-receipt-next-charge-header {
|
|
8568
8568
|
display: flex;
|
|
8569
8569
|
justify-content: space-between;
|
|
8570
8570
|
align-items: flex-start;
|
|
8571
8571
|
margin-bottom: 4px;
|
|
8572
8572
|
}
|
|
8573
8573
|
|
|
8574
|
-
.next-charge-title {
|
|
8574
|
+
.rb-receipt-next-charge-title {
|
|
8575
8575
|
font-size: 7px;
|
|
8576
8576
|
font-weight: 600;
|
|
8577
8577
|
color: #1f2937;
|
|
8578
8578
|
}
|
|
8579
8579
|
|
|
8580
|
-
.next-charge-date {
|
|
8580
|
+
.rb-receipt-next-charge-date {
|
|
8581
8581
|
font-size: 7px;
|
|
8582
8582
|
font-weight: 600;
|
|
8583
8583
|
color: #1f2937;
|
|
8584
8584
|
text-align: right;
|
|
8585
8585
|
}
|
|
8586
8586
|
|
|
8587
|
-
.next-charge-row {
|
|
8587
|
+
.rb-receipt-next-charge-row {
|
|
8588
8588
|
display: flex;
|
|
8589
8589
|
justify-content: space-between;
|
|
8590
8590
|
align-items: center;
|
|
@@ -8592,13 +8592,13 @@ class ReceiptTemplate {
|
|
|
8592
8592
|
padding: 1px 0;
|
|
8593
8593
|
}
|
|
8594
8594
|
|
|
8595
|
-
.next-charge-description {
|
|
8595
|
+
.rb-receipt-next-charge-description {
|
|
8596
8596
|
font-size: 6px;
|
|
8597
8597
|
color: #6b7280;
|
|
8598
8598
|
font-weight: 500;
|
|
8599
8599
|
}
|
|
8600
8600
|
|
|
8601
|
-
.next-charge-amount {
|
|
8601
|
+
.rb-receipt-next-charge-amount {
|
|
8602
8602
|
font-size: 6px;
|
|
8603
8603
|
color: #6b7280;
|
|
8604
8604
|
font-weight: 600;
|
|
@@ -8610,7 +8610,7 @@ class ReceiptTemplate {
|
|
|
8610
8610
|
padding: 0;
|
|
8611
8611
|
}
|
|
8612
8612
|
|
|
8613
|
-
.container {
|
|
8613
|
+
.rb-receipt-container {
|
|
8614
8614
|
box-shadow: none;
|
|
8615
8615
|
border: 1px solid #ddd;
|
|
8616
8616
|
}
|
|
@@ -8618,12 +8618,12 @@ class ReceiptTemplate {
|
|
|
8618
8618
|
</style>
|
|
8619
8619
|
</head>
|
|
8620
8620
|
<body>
|
|
8621
|
-
<div class="container">
|
|
8622
|
-
<div class="main-content">
|
|
8623
|
-
<div class="success-content">
|
|
8624
|
-
<div class="success-title">${I18nService.translate('processing.successTitle')}</div>
|
|
8621
|
+
<div class="rb-receipt-container">
|
|
8622
|
+
<div class="rb-receipt-main-content">
|
|
8623
|
+
<div class="rb-receipt-success-content">
|
|
8624
|
+
<div class="rb-receipt-success-title">${I18nService.translate('processing.successTitle')}</div>
|
|
8625
8625
|
|
|
8626
|
-
<div class="success-icon">
|
|
8626
|
+
<div class="rb-receipt-success-icon">
|
|
8627
8627
|
<svg viewBox="0 0 96 96" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
8628
8628
|
<path
|
|
8629
8629
|
fill-rule="evenodd"
|
|
@@ -8634,103 +8634,103 @@ class ReceiptTemplate {
|
|
|
8634
8634
|
</svg>
|
|
8635
8635
|
</div>
|
|
8636
8636
|
|
|
8637
|
-
<div class="info-card">
|
|
8638
|
-
<div class="card-row">
|
|
8639
|
-
<div class="card-label">${I18nService.translate('processing.paymentMethod')}</div>
|
|
8640
|
-
<div class="card-value">
|
|
8637
|
+
<div class="rb-receipt-info-card">
|
|
8638
|
+
<div class="rb-receipt-card-row">
|
|
8639
|
+
<div class="rb-receipt-card-label">${I18nService.translate('processing.paymentMethod')}</div>
|
|
8640
|
+
<div class="rb-receipt-card-value">
|
|
8641
8641
|
${data.isBankTransfer ? '' : getCardIconSVG(data.cardBrand)}
|
|
8642
|
-
<span class="card-text">${data.isBankTransfer ? I18nService.translate('paymentMethods.bank_transfer') : data.cardBrand && data.cardLastFour ? `${data.cardBrand} - ${data.cardLastFour}` : data.cardBrand || ''}</span>
|
|
8642
|
+
<span class="rb-receipt-card-text">${data.isBankTransfer ? I18nService.translate('paymentMethods.bank_transfer') : data.cardBrand && data.cardLastFour ? `${data.cardBrand} - ${data.cardLastFour}` : data.cardBrand || ''}</span>
|
|
8643
8643
|
</div>
|
|
8644
8644
|
</div>
|
|
8645
8645
|
|
|
8646
8646
|
${data.installments
|
|
8647
8647
|
? `
|
|
8648
|
-
<div class="card-row">
|
|
8649
|
-
<div class="card-label">${I18nService.translate('summary.installments')}</div>
|
|
8650
|
-
<div class="installments-text">${data.installments}</div>
|
|
8648
|
+
<div class="rb-receipt-card-row">
|
|
8649
|
+
<div class="rb-receipt-card-label">${I18nService.translate('summary.installments')}</div>
|
|
8650
|
+
<div class="rb-receipt-installments-text">${data.installments}</div>
|
|
8651
8651
|
</div>
|
|
8652
8652
|
`
|
|
8653
8653
|
: ''}
|
|
8654
8654
|
|
|
8655
8655
|
${data.discountAmount
|
|
8656
8656
|
? `
|
|
8657
|
-
<div class="card-row">
|
|
8658
|
-
<div class="card-label">${I18nService.translate('summary.discount')}</div>
|
|
8659
|
-
<div class="card-text">${data.discountAmount}</div>
|
|
8657
|
+
<div class="rb-receipt-card-row">
|
|
8658
|
+
<div class="rb-receipt-card-label">${I18nService.translate('summary.discount')}</div>
|
|
8659
|
+
<div class="rb-receipt-card-text">${data.discountAmount}</div>
|
|
8660
8660
|
</div>
|
|
8661
8661
|
`
|
|
8662
8662
|
: ''}
|
|
8663
|
-
<div class="card-row">
|
|
8664
|
-
<div class="card-label">${I18nService.translate('processing.paymentDate')}</div>
|
|
8665
|
-
<div class="card-text">${data.paymentDate}</div>
|
|
8663
|
+
<div class="rb-receipt-card-row">
|
|
8664
|
+
<div class="rb-receipt-card-label">${I18nService.translate('processing.paymentDate')}</div>
|
|
8665
|
+
<div class="rb-receipt-card-text">${data.paymentDate}</div>
|
|
8666
8666
|
</div>
|
|
8667
8667
|
|
|
8668
|
-
<div class="card-row">
|
|
8669
|
-
<div class="card-label">${I18nService.translate('processing.paymentEmail')}</div>
|
|
8670
|
-
<div class="card-text">${data.email}</div>
|
|
8668
|
+
<div class="rb-receipt-card-row">
|
|
8669
|
+
<div class="rb-receipt-card-label">${I18nService.translate('processing.paymentEmail')}</div>
|
|
8670
|
+
<div class="rb-receipt-card-text">${data.email}</div>
|
|
8671
8671
|
</div>
|
|
8672
8672
|
|
|
8673
|
-
<div class="card-row">
|
|
8674
|
-
<div class="card-label">${I18nService.translate('processing.paymentReference')}</div>
|
|
8675
|
-
<div class="card-text">${data.referenceNumber}</div>
|
|
8673
|
+
<div class="rb-receipt-card-row">
|
|
8674
|
+
<div class="rb-receipt-card-label">${I18nService.translate('processing.paymentReference')}</div>
|
|
8675
|
+
<div class="rb-receipt-card-text">${data.referenceNumber}</div>
|
|
8676
8676
|
</div>
|
|
8677
8677
|
</div>
|
|
8678
8678
|
|
|
8679
|
-
<div class="info-card">
|
|
8680
|
-
<div class="card-label" style="font-size: 8px; font-weight: 600; color: #1f2937; margin-bottom: 6px;">
|
|
8679
|
+
<div class="rb-receipt-info-card">
|
|
8680
|
+
<div class="rb-receipt-card-label" style="font-size: 8px; font-weight: 600; color: #1f2937; margin-bottom: 6px;">
|
|
8681
8681
|
${I18nService.translate('processing.purchaseDetails')}
|
|
8682
8682
|
</div>
|
|
8683
8683
|
|
|
8684
|
-
<div class="card-row">
|
|
8685
|
-
<div class="card-label">${I18nService.translate('processing.purchaseDetail')}</div>
|
|
8686
|
-
<div class="card-text">${data.productTitle}</div>
|
|
8684
|
+
<div class="rb-receipt-card-row">
|
|
8685
|
+
<div class="rb-receipt-card-label">${I18nService.translate('processing.purchaseDetail')}</div>
|
|
8686
|
+
<div class="rb-receipt-card-text">${data.productTitle}</div>
|
|
8687
8687
|
</div>
|
|
8688
8688
|
|
|
8689
8689
|
${!data.trialPeriodDays
|
|
8690
8690
|
? `
|
|
8691
|
-
<div class="card-row">
|
|
8692
|
-
<div class="card-label">${I18nService.translate('processing.purchaseSubtotal')}</div>
|
|
8693
|
-
<div class="card-text">${data.subtotal}</div>
|
|
8691
|
+
<div class="rb-receipt-card-row">
|
|
8692
|
+
<div class="rb-receipt-card-label">${I18nService.translate('processing.purchaseSubtotal')}</div>
|
|
8693
|
+
<div class="rb-receipt-card-text">${data.subtotal}</div>
|
|
8694
8694
|
</div>
|
|
8695
8695
|
`
|
|
8696
8696
|
: ''}
|
|
8697
8697
|
|
|
8698
|
-
<div class="card-row">
|
|
8699
|
-
<div class="card-label">${I18nService.translate('processing.purchaseTotal')}</div>
|
|
8700
|
-
<div class="total-amount-container">
|
|
8698
|
+
<div class="rb-receipt-card-row">
|
|
8699
|
+
<div class="rb-receipt-card-label">${I18nService.translate('processing.purchaseTotal')}</div>
|
|
8700
|
+
<div class="rb-receipt-total-amount-container">
|
|
8701
8701
|
${data.trialPeriodDays && data.trialPeriodDays > 0
|
|
8702
8702
|
? `
|
|
8703
|
-
<div class="trial-pill">
|
|
8704
|
-
<span class="trial-pill-text">${I18nService.translate('processing.trialPill', {
|
|
8703
|
+
<div class="rb-receipt-trial-pill">
|
|
8704
|
+
<span class="rb-receipt-trial-pill-text">${I18nService.translate('processing.trialPill', {
|
|
8705
8705
|
days: data.trialPeriodDays,
|
|
8706
8706
|
count: data.trialPeriodDays,
|
|
8707
8707
|
})}</span>
|
|
8708
8708
|
</div>
|
|
8709
8709
|
`
|
|
8710
8710
|
: ''}
|
|
8711
|
-
<div class="card-text">${data.total}</div>
|
|
8711
|
+
<div class="rb-receipt-card-text">${data.total}</div>
|
|
8712
8712
|
</div>
|
|
8713
8713
|
</div>
|
|
8714
8714
|
|
|
8715
8715
|
${(data.trialPeriodDays && data.trialPeriodDays > 0) ||
|
|
8716
8716
|
(data.debitDay && data.debitDay > 0)
|
|
8717
8717
|
? `
|
|
8718
|
-
<div class="card-divider"></div>
|
|
8718
|
+
<div class="rb-receipt-card-divider"></div>
|
|
8719
8719
|
|
|
8720
|
-
<div class="next-charge-section">
|
|
8721
|
-
<div class="next-charge-header">
|
|
8722
|
-
<div class="next-charge-title">${I18nService.translate('processing.nextCharge')}</div>
|
|
8723
|
-
<div class="next-charge-date">${I18nService.translate('processing.onDate', {
|
|
8720
|
+
<div class="rb-receipt-next-charge-section">
|
|
8721
|
+
<div class="rb-receipt-next-charge-header">
|
|
8722
|
+
<div class="rb-receipt-next-charge-title">${I18nService.translate('processing.nextCharge')}</div>
|
|
8723
|
+
<div class="rb-receipt-next-charge-date">${I18nService.translate('processing.onDate', {
|
|
8724
8724
|
date: data.trialPeriodDays && data.trialPeriodDays > 0
|
|
8725
8725
|
? data.trialEndDate
|
|
8726
8726
|
: data.debitDate,
|
|
8727
8727
|
})}</div>
|
|
8728
8728
|
</div>
|
|
8729
|
-
<div class="next-charge-row">
|
|
8730
|
-
<div class="next-charge-description">
|
|
8729
|
+
<div class="rb-receipt-next-charge-row">
|
|
8730
|
+
<div class="rb-receipt-next-charge-description">
|
|
8731
8731
|
${data.trialPeriodDays && data.trialPeriodDays > 0 ? I18nService.translate('processing.atEndOfTrial') : ''}
|
|
8732
8732
|
</div>
|
|
8733
|
-
<div class="next-charge-amount">
|
|
8733
|
+
<div class="rb-receipt-next-charge-amount">
|
|
8734
8734
|
${data.planAmount} ${I18nService.translate('processing.perMonth')}
|
|
8735
8735
|
</div>
|
|
8736
8736
|
</div>
|
|
@@ -8738,10 +8738,10 @@ class ReceiptTemplate {
|
|
|
8738
8738
|
`
|
|
8739
8739
|
: ''}
|
|
8740
8740
|
|
|
8741
|
-
<div class="card-divider"></div>
|
|
8741
|
+
<div class="rb-receipt-card-divider"></div>
|
|
8742
8742
|
|
|
8743
|
-
<div class="contact-info">
|
|
8744
|
-
<div class="contact-text">${I18nService.translate('processing.downloadDescription')}</div>
|
|
8743
|
+
<div class="rb-receipt-contact-info">
|
|
8744
|
+
<div class="rb-receipt-contact-text">${I18nService.translate('processing.downloadDescription')}</div>
|
|
8745
8745
|
</div>
|
|
8746
8746
|
</div>
|
|
8747
8747
|
</div>
|
|
@@ -8760,7 +8760,7 @@ class PDFGenerator {
|
|
|
8760
8760
|
static async generateAndDownloadPDF(data) {
|
|
8761
8761
|
try {
|
|
8762
8762
|
// Dynamically import jsPDF to avoid build issues
|
|
8763
|
-
const { jsPDF } = await import('./p-
|
|
8763
|
+
const { jsPDF } = await import('./p-1tbGUoeo.js').then(function (n) { return n.j; });
|
|
8764
8764
|
// Create a temporary container for the HTML content
|
|
8765
8765
|
const tempContainer = document.createElement('div');
|
|
8766
8766
|
tempContainer.style.position = 'absolute';
|
|
@@ -8821,7 +8821,7 @@ class PDFGenerator {
|
|
|
8821
8821
|
static async generateAndDownloadReceipt(data) {
|
|
8822
8822
|
try {
|
|
8823
8823
|
// Dynamically import jsPDF to avoid build issues
|
|
8824
|
-
const { jsPDF } = await import('./p-
|
|
8824
|
+
const { jsPDF } = await import('./p-1tbGUoeo.js').then(function (n) { return n.j; });
|
|
8825
8825
|
// Create a temporary container for the HTML content
|
|
8826
8826
|
const tempContainer = document.createElement('div');
|
|
8827
8827
|
tempContainer.style.position = 'absolute';
|
|
@@ -8832,7 +8832,7 @@ class PDFGenerator {
|
|
|
8832
8832
|
// Add to DOM temporarily
|
|
8833
8833
|
document.body.appendChild(tempContainer);
|
|
8834
8834
|
// Generate canvas from HTML
|
|
8835
|
-
const canvas = await html2canvas(tempContainer.querySelector('.container'), {
|
|
8835
|
+
const canvas = await html2canvas(tempContainer.querySelector('.rb-receipt-container'), {
|
|
8836
8836
|
backgroundColor: '#ffffff',
|
|
8837
8837
|
scale: 2,
|
|
8838
8838
|
useCORS: true,
|
|
@@ -8899,6 +8899,6 @@ class PDFGenerator {
|
|
|
8899
8899
|
}
|
|
8900
8900
|
|
|
8901
8901
|
export { PDFGenerator as P, html2canvas$1 as h };
|
|
8902
|
-
//# sourceMappingURL=p-
|
|
8902
|
+
//# sourceMappingURL=p-fStqPH4y.js.map
|
|
8903
8903
|
|
|
8904
|
-
//# sourceMappingURL=p-
|
|
8904
|
+
//# sourceMappingURL=p-fStqPH4y.js.map
|