@fractalpay/fractalpay-next-dev 0.0.235 → 0.0.236

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/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
 
3
- interface Props$7 {
3
+ interface Props$8 {
4
4
  merchantPublicKey: string;
5
5
  customerId?: string;
6
6
  orderID?: string;
@@ -18,9 +18,9 @@ interface Props$7 {
18
18
  sessionToken?: string;
19
19
  showSurcharge?: number;
20
20
  }
21
- declare function RequestPayment(props: Props$7): React.JSX.Element;
21
+ declare function RequestPayment(props: Props$8): React.JSX.Element;
22
22
 
23
- interface Props$6 {
23
+ interface Props$7 {
24
24
  merchantPublicKey: string;
25
25
  customerId?: string;
26
26
  orderID?: string;
@@ -36,9 +36,9 @@ interface Props$6 {
36
36
  require_3ds?: boolean;
37
37
  sessionToken?: string;
38
38
  }
39
- declare function RequestPreAuthPayment(props: Props$6): React.JSX.Element;
39
+ declare function RequestPreAuthPayment(props: Props$7): React.JSX.Element;
40
40
 
41
- type Props$5 = {
41
+ type Props$6 = {
42
42
  merchantPublicKey: string;
43
43
  customerId?: string;
44
44
  orderID?: string;
@@ -51,9 +51,9 @@ type Props$5 = {
51
51
  isReader?: boolean;
52
52
  sessionToken?: string;
53
53
  };
54
- declare function GetPaymentPage(props: Props$5): React.JSX.Element;
54
+ declare function GetPaymentPage(props: Props$6): React.JSX.Element;
55
55
 
56
- type Props$4 = {
56
+ type Props$5 = {
57
57
  merchantPublicKey: string;
58
58
  customerId?: string;
59
59
  orderID?: string;
@@ -69,15 +69,15 @@ type Props$4 = {
69
69
  showButton?: boolean;
70
70
  sessionToken?: string;
71
71
  };
72
- declare function PreAuthPayment({ showButton, ...props }: Props$4): React.JSX.Element;
72
+ declare function PreAuthPayment({ showButton, ...props }: Props$5): React.JSX.Element;
73
73
 
74
- type Props$3 = {
74
+ type Props$4 = {
75
75
  merchantPublicKey: string;
76
76
  customerId?: string;
77
77
  };
78
- declare function AddCardEasyPay(props: Props$3): React.JSX.Element;
78
+ declare function AddCardEasyPay(props: Props$4): React.JSX.Element;
79
79
 
80
- type Props$2 = {
80
+ type Props$3 = {
81
81
  session_token: string;
82
82
  callback: (resp: any) => void;
83
83
  isloading: boolean;
@@ -92,9 +92,9 @@ type Props$2 = {
92
92
  inputClass: string;
93
93
  isDual?: boolean;
94
94
  };
95
- declare function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign, cancelbtnClass, savebtnClass, inputClass, isDual }: Props$2): React.JSX.Element;
95
+ declare function CardOnFile({ session_token, callback, isloading, onCancel, showChecks, merchantName, signCheckbox, checkedSignCheckbox, onCheckSign, cancelbtnClass, savebtnClass, inputClass, isDual }: Props$3): React.JSX.Element;
96
96
 
97
- type Props$1 = {
97
+ type Props$2 = {
98
98
  merchantPublicKey: string;
99
99
  customerId?: string;
100
100
  orderID?: string;
@@ -109,7 +109,30 @@ type Props$1 = {
109
109
  allowPartial: boolean;
110
110
  cashDiscount?: string;
111
111
  };
112
- declare function PartialPayment(props: Props$1): React.JSX.Element;
112
+ declare function PartialPayment(props: Props$2): React.JSX.Element;
113
+
114
+ type Props$1 = {
115
+ session_token: string;
116
+ surcharge: string;
117
+ amount: string;
118
+ submitBtnText?: string;
119
+ submitBtnClass?: string;
120
+ customerId?: string;
121
+ callback: (resp: any) => void;
122
+ merchantName: string;
123
+ isPreAuth: boolean;
124
+ submitBtnIcon?: any;
125
+ isRequest?: boolean;
126
+ pass_fee?: boolean;
127
+ pass_fee_amount?: number | string;
128
+ bankAmount: string;
129
+ bankSurcharge?: string;
130
+ require3ds: boolean;
131
+ autoTrigger: boolean;
132
+ isPartial?: boolean;
133
+ partialRef?: string;
134
+ };
135
+ declare const PaymentWidget: ({ amount, bankAmount, submitBtnText, session_token, customerId, callback, merchantName, isPreAuth, surcharge, submitBtnClass, submitBtnIcon, isRequest, pass_fee, pass_fee_amount, require3ds, autoTrigger, isPartial, bankSurcharge, partialRef }: Props$1) => React.JSX.Element;
113
136
 
114
137
  type Props = {
115
138
  session_token: string;
@@ -131,7 +154,10 @@ type Props = {
131
154
  autoTrigger: boolean;
132
155
  isPartial?: boolean;
133
156
  partialRef?: string;
157
+ onSubmit?: (submitFn: () => void) => void;
158
+ onLoad: boolean;
159
+ customeCSS?: string;
134
160
  };
135
- declare const PaymentWidget: ({ amount, bankAmount, submitBtnText, session_token, customerId, callback, merchantName, isPreAuth, surcharge, submitBtnClass, submitBtnIcon, isRequest, pass_fee, pass_fee_amount, require3ds, autoTrigger, isPartial, bankSurcharge, partialRef }: Props) => React.JSX.Element;
161
+ declare const EmbeddedCheckout: ({ amount, bankAmount, submitBtnText, session_token, customerId, callback, merchantName, isPreAuth, surcharge, submitBtnClass, submitBtnIcon, isRequest, pass_fee, pass_fee_amount, require3ds, autoTrigger, isPartial, bankSurcharge, partialRef, onSubmit, onLoad, customeCSS }: Props) => React.JSX.Element;
136
162
 
137
- export { AddCardEasyPay as AddCard, CardOnFile, GetPaymentPage, PartialPayment, PaymentWidget, PreAuthPayment, RequestPayment, RequestPreAuthPayment };
163
+ export { AddCardEasyPay as AddCard, CardOnFile, EmbeddedCheckout, GetPaymentPage, PartialPayment, PaymentWidget, PreAuthPayment, RequestPayment, RequestPreAuthPayment };
package/dist/index.js CHANGED
@@ -39,7 +39,7 @@ var require_package = __commonJS({
39
39
  "package.json"(exports, module) {
40
40
  module.exports = {
41
41
  name: "@fractalpay/fractalpay-next-dev",
42
- version: "0.0.235",
42
+ version: "0.0.236",
43
43
  private: false,
44
44
  type: "module",
45
45
  scripts: {
@@ -11308,9 +11308,493 @@ var PaymentWidget = ({
11308
11308
  !autoTrigger ? /* @__PURE__ */ jsx35(CustomModal2_default, { open: show, onClose: childHandleClose, children: /* @__PURE__ */ jsx35(ModelContentSky_default, __spreadProps(__spreadValues({ show, loadingPrev: loading }, commonProps), { orderGuid, remainingAmount })) }) : /* @__PURE__ */ jsx35(ModelContentSky_default, __spreadProps(__spreadValues({ show, loadingPrev: loading }, commonProps), { orderGuid, remainingAmount }))
11309
11309
  ] });
11310
11310
  };
11311
+
11312
+ // src/app/components/Skysystemz/EmbeddedCheckout.tsx
11313
+ import { useEffect as useEffect17, useState as useState12, useMemo as useMemo2 } from "react";
11314
+ import axios11 from "axios";
11315
+
11316
+ // src/app/components/Skysystemz/EmbeddedCheckoutStyles.tsx
11317
+ import { jsx as jsx36 } from "react/jsx-runtime";
11318
+ function EmbeddedCheckoutStyles({ extraCustomCSS }) {
11319
+ return /* @__PURE__ */ jsx36("style", { children: `
11320
+
11321
+ .pay-amount-conatiner{
11322
+ margin-top: 20px !important;
11323
+ margin-bottom: 20px !important ;
11324
+ }
11325
+
11326
+ .frac-pay-container.pay-container {
11327
+ grid-template-columns:1fr;
11328
+ }
11329
+
11330
+
11331
+ /* Card */
11332
+ .plan-card {
11333
+ width: 100%;
11334
+ font-family: Inter, sans-serif;
11335
+ background: #fff;
11336
+ }
11337
+
11338
+ /* Header */
11339
+ .card-header {
11340
+ padding: 12px 0 0 0;
11341
+ }
11342
+
11343
+ /* Button */
11344
+ .collapse-btn {
11345
+ width: 100%;
11346
+ background: none;
11347
+ border: none;
11348
+ display: flex;
11349
+ justify-content: space-between;
11350
+ align-items: center;
11351
+ cursor: pointer;
11352
+ font-size: 15px;
11353
+ padding: 0;
11354
+ }
11355
+
11356
+ /* Arrow */
11357
+ .arrow {
11358
+ transition: transform 0.3s ease;
11359
+ height: 8px;
11360
+ }
11361
+
11362
+ /* Open State */
11363
+ .collapse-btn.open .arrow {
11364
+ transform: rotate(180deg); /* Down */
11365
+ }
11366
+
11367
+ /* Body */
11368
+ .card-body {
11369
+ padding: 0;
11370
+ }
11371
+
11372
+ /* Plan Header */
11373
+ .plan-header {
11374
+ font-size: 15px;
11375
+ font-weight: 600;
11376
+ }
11377
+
11378
+ /* Scrollable List */
11379
+ .plan-list {
11380
+ max-height: 200px;
11381
+ overflow-y: auto;
11382
+ padding-right: 6px;
11383
+ }
11384
+
11385
+ /* Items */
11386
+ .plan-item {
11387
+ display: flex;
11388
+ justify-content: space-between;
11389
+ padding: 6px 0;
11390
+ font-size: 14px;
11391
+ }
11392
+
11393
+ /* Badges */
11394
+ .badge {
11395
+ padding: 4px 10px;
11396
+ border-radius: 12px;
11397
+ font-size: 12px;
11398
+ font-weight: 500;
11399
+ }
11400
+
11401
+ .badge-included {
11402
+ background: #f1f3f5;
11403
+ color: #495057;
11404
+ }
11405
+
11406
+ .badge-available {
11407
+ background: #f8f9fa;
11408
+ color: #212529;
11409
+ }
11410
+
11411
+ /* Helpers */
11412
+ .row-between {
11413
+ display: flex;
11414
+ justify-content: space-between;
11415
+ }
11416
+
11417
+ .text-end {
11418
+ text-align: right;
11419
+ }
11420
+
11421
+ .text-muted {
11422
+ color: #6c757d;
11423
+ font-size: 12px;
11424
+ }
11425
+
11426
+ .fw-semibold {
11427
+ font-weight: 600;
11428
+ }
11429
+
11430
+ .mb-2 {
11431
+ margin-bottom: 8px;
11432
+ }
11433
+
11434
+ /* Divider */
11435
+ .divider {
11436
+ height: 1px;
11437
+ background: #e5e7eb;
11438
+ margin: 8px 0;
11439
+ }
11440
+
11441
+ /* Collapse Animation */
11442
+ .collapse {
11443
+ max-height: 0;
11444
+ overflow: hidden;
11445
+ transition: max-height 0.3s ease;
11446
+ }
11447
+
11448
+ .collapse.show {
11449
+ max-height: 1000px;
11450
+ }
11451
+ .frac-pay-container.pay-container {
11452
+ grid-template-columns:1fr;
11453
+ }
11454
+ .frac-payment-form-div .amt-pay-con {
11455
+ padding-right: 0px;
11456
+ }
11457
+ .frac-payment-form-div .ach-scrl {
11458
+ padding-right: 0px;
11459
+ gap: 10px;
11460
+ max-height: fit-content !important;
11461
+ min-height: fit-content !important;
11462
+ overflow: hidden !important;
11463
+ }
11464
+ .frac-payment-form-div .frac-card-bank-radio-main {
11465
+ display: flex;
11466
+ flex-direction: row;
11467
+ align-items: flex-start;
11468
+ align-self: stretch;
11469
+ border-radius: 14px;
11470
+ border: none;
11471
+ overflow: visible;
11472
+ gap: 10px;
11473
+ }
11474
+ .frac-payment-form-div .frac-card-bank-radio {
11475
+ display: flex;
11476
+ padding: 12px 16px;
11477
+ justify-content: space-between;
11478
+ align-items: center;
11479
+ align-self: stretch;
11480
+ width: 50%;
11481
+ border: 1px solid #E0DFE2;
11482
+ border-radius: 10px;
11483
+ box-shadow: rgba(149, 157, 165, 0.2) 0px 1px 4px;
11484
+ }
11485
+ .frac-payment-form-div .frac-card-bank-radio.frac-active {
11486
+ background: #fff;
11487
+ border: 2px solid #004eab !important;
11488
+ }
11489
+
11490
+ .frac-payment-form-div .form-control-frac {
11491
+ border: 1px solid #dee2e6 !important;
11492
+ border-radius: 0.375rem !important;
11493
+ background-color: #F6F6F7;
11494
+ box-shadow: 1px 1px 2px inset rgba(0, 0, 0, 0.1);
11495
+ }
11496
+ .frac-payment-form-div .form-control-frac:focus {
11497
+ border: 1px solid #004eab !important;
11498
+ }
11499
+ .frac-payment-form-div .card-expiry-new {
11500
+ border: none;
11501
+ gap: 10px;
11502
+ }
11503
+ .frac-payment-form-div .exp-date-year-container {
11504
+ gap: 10px;
11505
+ width: 100%;
11506
+ }
11507
+ .frac-payment-form-div .card-type-logo-wrap{
11508
+ position: absolute;
11509
+ right: 10px;
11510
+ max-width: 30px;
11511
+ }
11512
+ .detials-wrap.detials-wrap-1 {
11513
+ display: flex;
11514
+ flex-wrap: wrap;
11515
+ }
11516
+ @media screen and (max-width: 1280px) {
11517
+ .frac-pay-container.pay-container {
11518
+ grid-template-columns: 1fr;
11519
+ border: none;
11520
+ }
11521
+ }
11522
+ @media screen and (max-width: 899px) {
11523
+ .detials-wrap {
11524
+ grid-template-columns: 1fr !important;
11525
+ }
11526
+ .frac-payment-form-div .exp-date-year-container{
11527
+ width: 100%;}
11528
+
11529
+ }
11530
+ @media screen and (max-width: 575px) {
11531
+ .frac-payment-form-div .card-type-logo-wrap{
11532
+ max-width: 30px;
11533
+ }
11534
+ form#ACHPaymentForm .ach-scrl {
11535
+ grid-template-columns: 1fr !important;
11536
+ }
11537
+ @media screen and (max-width: 375px) {
11538
+ .frac-payment-form-div .exp-date-year-container {
11539
+ flex-direction: column;
11540
+ }
11541
+ .parent-pay-container {
11542
+ padding: 10px;
11543
+ }
11544
+ }
11545
+ }
11546
+ .box-inner-card-text{
11547
+ display: flex;
11548
+ gap: 0px;
11549
+ flex-direction: column;
11550
+ }
11551
+ .box-inner-card-text .frac-payment-type-logo {
11552
+ width: 17px;
11553
+ height: 17px;
11554
+ aspect-ratio: 1/1;
11555
+ }
11556
+ .exp-date-year-wrap.form-control-frac input {
11557
+ background: transparent;
11558
+ border: none;
11559
+ outline: none;
11560
+ font-size: 1rem;
11561
+ font-weight: 400;
11562
+ }
11563
+ .exp-date-year-wrap.form-control-frac {
11564
+ display: flex;
11565
+ gap: 2px;
11566
+ }
11567
+ .exp-date-year-wrap input.exp-month {
11568
+ width: 32px;
11569
+ }
11570
+ .detials-wrap {
11571
+ display: grid;
11572
+ grid-template-columns: 1fr 1fr;
11573
+ gap: 10px;
11574
+ }
11575
+ .detials-wrap.detials-wrap-2{
11576
+ grid-template-columns: 1fr 1fr;
11577
+ }
11578
+ form#ACHPaymentForm .ach-scrl {
11579
+ display: grid;
11580
+ grid-gap: 0px 10px;
11581
+ grid-template-columns: 1fr;
11582
+ }
11583
+ .plan-list {
11584
+ max-height: 130px;
11585
+ min-height: 130px;
11586
+ overflow-y: auto;
11587
+ padding-right: 6px;
11588
+ }
11589
+ .plan-list::-webkit-scrollbar {
11590
+ width: 3px;
11591
+ background-color: #F5F5F5;
11592
+ }
11593
+ .plan-list::-webkit-scrollbar-thumb {
11594
+ background-color: #35254D;
11595
+ }
11596
+ div#cvv {
11597
+ border-top-left-radius: 0;
11598
+ border-bottom-left-radius: 0;
11599
+ border-top: 0;
11600
+ border-bottom: 0;
11601
+ border-right: 0;
11602
+ }
11603
+ div#exp_year {
11604
+ height: 36px;
11605
+ width: calc(100% + 1px);
11606
+ border-radius: 0;
11607
+ border-top: 0;
11608
+ border-bottom: 0;
11609
+ border-right: 1px solid #dee2e6;
11610
+ }
11611
+ div#exp_month {
11612
+ width: calc(100% + 1px);
11613
+ border-top-right-radius: 0;
11614
+ border-bottom-right-radius: 0;
11615
+ border: 0;
11616
+ border-right: 1px solid #dee2e6;
11617
+ }
11618
+ .exp-date-year-container .form-group {
11619
+ flex: 1;
11620
+ }
11621
+ .input-main-wrap-frac{
11622
+ margin:0px !important;
11623
+ padding:0px !important;
11624
+ }
11625
+ .toggle-num-wrapper.toggle-num-wrapper-new {
11626
+ border: 1px solid #dee2e6 !important;
11627
+ border-radius: 0.375rem !important;
11628
+ background-color: #F6F6F7;
11629
+ box-shadow: 1px 1px 2px inset rgba(0, 0, 0, 0.1);
11630
+ }
11631
+ .toggle-num-wrapper-new div#card_number {
11632
+ padding: 0px 10px;
11633
+ border: none;
11634
+ border-bottom: 1px solid #dee2e6;
11635
+ }
11636
+ .toggle-num-wrapper-new .card-crdi.card-expiry-new {
11637
+ padding: 0px 10px;
11638
+ }
11639
+ .toggle-num-wrapper-new .input-main-wrap-frac {
11640
+ height: 36px;
11641
+ }
11642
+ .toggle-num-wrapper-new:focus {
11643
+ border: 1px solid #004eab !important;
11644
+ }
11645
+ .frac-card-title-main {
11646
+ display: flex;
11647
+ align-items: start;
11648
+ gap: 4px;
11649
+ flex-direction: column;
11650
+ }
11651
+ .parent-pay-container {
11652
+ padding: 24px;
11653
+ background-color: #ffffff !important;
11654
+ border-radius: 15px;
11655
+ min-width: 300px;
11656
+ }
11657
+ ${extraCustomCSS}
11658
+
11659
+ ` });
11660
+ }
11661
+
11662
+ // src/app/components/Skysystemz/EmbeddedCheckout.tsx
11663
+ import { Fragment as Fragment21, jsx as jsx37, jsxs as jsxs22 } from "react/jsx-runtime";
11664
+ var EmbeddedCheckout = ({
11665
+ amount,
11666
+ bankAmount,
11667
+ submitBtnText = "Pay",
11668
+ session_token,
11669
+ customerId,
11670
+ callback,
11671
+ merchantName = "merchant",
11672
+ isPreAuth,
11673
+ surcharge = "0",
11674
+ submitBtnClass,
11675
+ submitBtnIcon,
11676
+ isRequest,
11677
+ pass_fee,
11678
+ pass_fee_amount,
11679
+ require3ds = false,
11680
+ autoTrigger = false,
11681
+ isPartial,
11682
+ bankSurcharge,
11683
+ partialRef,
11684
+ onSubmit,
11685
+ onLoad,
11686
+ customeCSS
11687
+ }) => {
11688
+ const [show, setShow] = useState12(false);
11689
+ const [loading, setLoading] = useState12(false);
11690
+ const [childHandleClose, setChildHandleClose] = useState12(() => () => {
11691
+ });
11692
+ const [orderGuid, setOrderGuid] = useState12(null);
11693
+ const [remainingAmount, setRemainingAmount] = useState12(null);
11694
+ const initialCommonProps = useMemo2(
11695
+ () => ({
11696
+ amount,
11697
+ bankAmount,
11698
+ submitBtnText,
11699
+ session_token,
11700
+ customerId,
11701
+ callback,
11702
+ merchantName,
11703
+ isPreAuth,
11704
+ surcharge,
11705
+ submitBtnClass,
11706
+ submitBtnIcon,
11707
+ isRequest,
11708
+ pass_fee,
11709
+ pass_fee_amount,
11710
+ require3ds,
11711
+ autoTrigger,
11712
+ setShow,
11713
+ setHandleCloseRef: setChildHandleClose,
11714
+ isPartial,
11715
+ bankSurcharge,
11716
+ partialRef
11717
+ }),
11718
+ [
11719
+ amount,
11720
+ bankAmount,
11721
+ submitBtnText,
11722
+ session_token,
11723
+ customerId,
11724
+ callback,
11725
+ merchantName,
11726
+ isPreAuth,
11727
+ surcharge,
11728
+ submitBtnClass,
11729
+ submitBtnIcon,
11730
+ isRequest,
11731
+ pass_fee,
11732
+ pass_fee_amount,
11733
+ require3ds,
11734
+ autoTrigger,
11735
+ isPartial,
11736
+ bankSurcharge,
11737
+ partialRef
11738
+ ]
11739
+ );
11740
+ const [commonProps, setCommonProps] = useState12(initialCommonProps);
11741
+ useEffect17(() => {
11742
+ if (show) {
11743
+ setCommonProps(initialCommonProps);
11744
+ }
11745
+ }, [show, initialCommonProps]);
11746
+ const getskyosOrderDetails = async () => {
11747
+ var _a;
11748
+ setLoading(true);
11749
+ try {
11750
+ const res = await axios11.get(
11751
+ `${masterBaseUrl}api/v1/gateway/get-order-details/${session_token}`,
11752
+ { params: { isPartial, partialRef } }
11753
+ );
11754
+ if ((_a = res == null ? void 0 : res.data) == null ? void 0 : _a.result) {
11755
+ const data = res.data.data;
11756
+ if (data == null ? void 0 : data.orderGuid) {
11757
+ setOrderGuid(data == null ? void 0 : data.orderGuid);
11758
+ setRemainingAmount(data == null ? void 0 : data.remainingAmount);
11759
+ }
11760
+ setCommonProps((prev) => __spreadProps(__spreadValues({}, prev), {
11761
+ amount: data.amount,
11762
+ pass_fee_amount: data.pass_fee_amount,
11763
+ pass_fee: data.pass_fee
11764
+ }));
11765
+ }
11766
+ } catch (error) {
11767
+ console.log("error while getting skyosorderdeatils", error);
11768
+ } finally {
11769
+ setLoading(false);
11770
+ }
11771
+ };
11772
+ useEffect17(() => {
11773
+ if (show && isPartial && partialRef) {
11774
+ getskyosOrderDetails();
11775
+ }
11776
+ }, [show, isPartial, partialRef]);
11777
+ console.log(onLoad, "onLoad");
11778
+ return /* @__PURE__ */ jsxs22(Fragment21, { children: [
11779
+ /* @__PURE__ */ jsx37("link", { href: "https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/css/all.min.css" }),
11780
+ /* @__PURE__ */ jsx37(DataScript, {}),
11781
+ /* @__PURE__ */ jsx37(FractalTokenizerScript, {}),
11782
+ /* @__PURE__ */ jsx37(SkyChargewidgetstyles, {}),
11783
+ /* @__PURE__ */ jsx37(CardBankRadioStyles, {}),
11784
+ /* @__PURE__ */ jsx37(CustomModal2styles_default, {}),
11785
+ /* @__PURE__ */ jsx37(DataCapScriptLoader, {}),
11786
+ /* @__PURE__ */ jsx37(EmbeddedCheckoutStyles, { extraCustomCSS: customeCSS }),
11787
+ !autoTrigger && /* @__PURE__ */ jsxs22("button", { className: submitBtnClass || "paymentBtn", onClick: () => setShow(true), children: [
11788
+ submitBtnText,
11789
+ submitBtnIcon
11790
+ ] }),
11791
+ !autoTrigger ? /* @__PURE__ */ jsx37(CustomModal2_default, { open: show, onClose: childHandleClose, children: /* @__PURE__ */ jsx37(ModelContentSky_default, __spreadProps(__spreadValues({ onLoad, onSubmit, show, loadingPrev: loading }, commonProps), { orderGuid, remainingAmount })) }) : /* @__PURE__ */ jsx37(ModelContentSky_default, __spreadProps(__spreadValues({ onLoad, onSubmit, show, loadingPrev: loading }, commonProps), { orderGuid, remainingAmount }))
11792
+ ] });
11793
+ };
11311
11794
  export {
11312
11795
  AddCardEasyPay as AddCard,
11313
11796
  CardOnFile,
11797
+ EmbeddedCheckout,
11314
11798
  GetPaymentPage,
11315
11799
  PartialPayment,
11316
11800
  PaymentWidget,