@pinerohit11/testwidget 0.1.94 → 0.1.95
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.js +6 -4
- package/dist/index.mjs +6 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -2055,7 +2055,7 @@ function GetPaymentPage(props) {
|
|
2055
2055
|
const [loading, setLoading] = (0, import_react12.useState)(false);
|
2056
2056
|
const [success, setSuccess] = (0, import_react12.useState)(false);
|
2057
2057
|
const [show, setShow] = (0, import_react12.useState)(false);
|
2058
|
-
const [activetab, setActive] = (0, import_react12.useState)("
|
2058
|
+
const [activetab, setActive] = (0, import_react12.useState)("card");
|
2059
2059
|
const [saveCardInfo, setSaveCardInfo] = (0, import_react12.useState)(false);
|
2060
2060
|
const [saveACHinfo, setSaveACHinfo] = (0, import_react12.useState)(false);
|
2061
2061
|
const fractalpayClientKey = props.fractalpayClientKey;
|
@@ -2077,7 +2077,7 @@ function GetPaymentPage(props) {
|
|
2077
2077
|
};
|
2078
2078
|
const handleClose = () => {
|
2079
2079
|
setShow(false);
|
2080
|
-
setActive("
|
2080
|
+
setActive("card");
|
2081
2081
|
};
|
2082
2082
|
const handleShow = () => setShow(true);
|
2083
2083
|
const handleCloseSeccess = () => {
|
@@ -2420,6 +2420,7 @@ function GetPaymentPage(props) {
|
|
2420
2420
|
setPaymentData((_a2 = paymentData2 == null ? void 0 : paymentData2.data) == null ? void 0 : _a2.data);
|
2421
2421
|
if (((_c2 = (_b2 = paymentData2 == null ? void 0 : paymentData2.data) == null ? void 0 : _b2.data) == null ? void 0 : _c2.card_list) && ((_f2 = (_e2 = (_d2 = paymentData2 == null ? void 0 : paymentData2.data) == null ? void 0 : _d2.data) == null ? void 0 : _e2.card_list) == null ? void 0 : _f2.length) > 0) {
|
2422
2422
|
setCardList((_h2 = (_g2 = paymentData2 == null ? void 0 : paymentData2.data) == null ? void 0 : _g2.data) == null ? void 0 : _h2.card_list);
|
2423
|
+
setActive("cardList");
|
2423
2424
|
} else {
|
2424
2425
|
setActive("card");
|
2425
2426
|
}
|
@@ -2718,7 +2719,7 @@ function PreAuthPayment(props) {
|
|
2718
2719
|
const [loading, setLoading] = (0, import_react13.useState)(false);
|
2719
2720
|
const [success, setSuccess] = (0, import_react13.useState)(false);
|
2720
2721
|
const [show, setShow] = (0, import_react13.useState)(false);
|
2721
|
-
const [activetab, setActive] = (0, import_react13.useState)("
|
2722
|
+
const [activetab, setActive] = (0, import_react13.useState)("card");
|
2722
2723
|
const [saveCardInfo, setSaveCardInfo] = (0, import_react13.useState)(false);
|
2723
2724
|
const fractalpayClientKey = props.fractalpayClientKey;
|
2724
2725
|
const [cardData, setCardData] = (0, import_react13.useState)();
|
@@ -2737,7 +2738,7 @@ function PreAuthPayment(props) {
|
|
2737
2738
|
};
|
2738
2739
|
const handleClose = () => {
|
2739
2740
|
setShow(false);
|
2740
|
-
setActive("
|
2741
|
+
setActive("card");
|
2741
2742
|
};
|
2742
2743
|
const handleShow = () => setShow(true);
|
2743
2744
|
const handleCloseSeccess = () => {
|
@@ -2987,6 +2988,7 @@ function PreAuthPayment(props) {
|
|
2987
2988
|
setPaymentData((_a2 = paymentData2 == null ? void 0 : paymentData2.data) == null ? void 0 : _a2.data);
|
2988
2989
|
if (((_c2 = (_b2 = paymentData2 == null ? void 0 : paymentData2.data) == null ? void 0 : _b2.data) == null ? void 0 : _c2.card_list) && ((_f = (_e = (_d2 = paymentData2 == null ? void 0 : paymentData2.data) == null ? void 0 : _d2.data) == null ? void 0 : _e.card_list) == null ? void 0 : _f.length) > 0) {
|
2989
2990
|
setCardList((_h = (_g = paymentData2 == null ? void 0 : paymentData2.data) == null ? void 0 : _g.data) == null ? void 0 : _h.card_list);
|
2991
|
+
setActive("cardList");
|
2990
2992
|
} else {
|
2991
2993
|
setActive("card");
|
2992
2994
|
}
|
package/dist/index.mjs
CHANGED
@@ -2018,7 +2018,7 @@ function GetPaymentPage(props) {
|
|
2018
2018
|
const [loading, setLoading] = useState3(false);
|
2019
2019
|
const [success, setSuccess] = useState3(false);
|
2020
2020
|
const [show, setShow] = useState3(false);
|
2021
|
-
const [activetab, setActive] = useState3("
|
2021
|
+
const [activetab, setActive] = useState3("card");
|
2022
2022
|
const [saveCardInfo, setSaveCardInfo] = useState3(false);
|
2023
2023
|
const [saveACHinfo, setSaveACHinfo] = useState3(false);
|
2024
2024
|
const fractalpayClientKey = props.fractalpayClientKey;
|
@@ -2040,7 +2040,7 @@ function GetPaymentPage(props) {
|
|
2040
2040
|
};
|
2041
2041
|
const handleClose = () => {
|
2042
2042
|
setShow(false);
|
2043
|
-
setActive("
|
2043
|
+
setActive("card");
|
2044
2044
|
};
|
2045
2045
|
const handleShow = () => setShow(true);
|
2046
2046
|
const handleCloseSeccess = () => {
|
@@ -2383,6 +2383,7 @@ function GetPaymentPage(props) {
|
|
2383
2383
|
setPaymentData((_a2 = paymentData2 == null ? void 0 : paymentData2.data) == null ? void 0 : _a2.data);
|
2384
2384
|
if (((_c2 = (_b2 = paymentData2 == null ? void 0 : paymentData2.data) == null ? void 0 : _b2.data) == null ? void 0 : _c2.card_list) && ((_f2 = (_e2 = (_d2 = paymentData2 == null ? void 0 : paymentData2.data) == null ? void 0 : _d2.data) == null ? void 0 : _e2.card_list) == null ? void 0 : _f2.length) > 0) {
|
2385
2385
|
setCardList((_h2 = (_g2 = paymentData2 == null ? void 0 : paymentData2.data) == null ? void 0 : _g2.data) == null ? void 0 : _h2.card_list);
|
2386
|
+
setActive("cardList");
|
2386
2387
|
} else {
|
2387
2388
|
setActive("card");
|
2388
2389
|
}
|
@@ -2681,7 +2682,7 @@ function PreAuthPayment(props) {
|
|
2681
2682
|
const [loading, setLoading] = useState4(false);
|
2682
2683
|
const [success, setSuccess] = useState4(false);
|
2683
2684
|
const [show, setShow] = useState4(false);
|
2684
|
-
const [activetab, setActive] = useState4("
|
2685
|
+
const [activetab, setActive] = useState4("card");
|
2685
2686
|
const [saveCardInfo, setSaveCardInfo] = useState4(false);
|
2686
2687
|
const fractalpayClientKey = props.fractalpayClientKey;
|
2687
2688
|
const [cardData, setCardData] = useState4();
|
@@ -2700,7 +2701,7 @@ function PreAuthPayment(props) {
|
|
2700
2701
|
};
|
2701
2702
|
const handleClose = () => {
|
2702
2703
|
setShow(false);
|
2703
|
-
setActive("
|
2704
|
+
setActive("card");
|
2704
2705
|
};
|
2705
2706
|
const handleShow = () => setShow(true);
|
2706
2707
|
const handleCloseSeccess = () => {
|
@@ -2950,6 +2951,7 @@ function PreAuthPayment(props) {
|
|
2950
2951
|
setPaymentData((_a2 = paymentData2 == null ? void 0 : paymentData2.data) == null ? void 0 : _a2.data);
|
2951
2952
|
if (((_c2 = (_b2 = paymentData2 == null ? void 0 : paymentData2.data) == null ? void 0 : _b2.data) == null ? void 0 : _c2.card_list) && ((_f = (_e = (_d2 = paymentData2 == null ? void 0 : paymentData2.data) == null ? void 0 : _d2.data) == null ? void 0 : _e.card_list) == null ? void 0 : _f.length) > 0) {
|
2952
2953
|
setCardList((_h = (_g = paymentData2 == null ? void 0 : paymentData2.data) == null ? void 0 : _g.data) == null ? void 0 : _h.card_list);
|
2954
|
+
setActive("cardList");
|
2953
2955
|
} else {
|
2954
2956
|
setActive("card");
|
2955
2957
|
}
|