@pinerohit11/testwidget 0.1.49 → 0.1.50
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs +2 -5
- package/dist/index.js +2 -5
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
@@ -1568,7 +1568,6 @@ var createWidgetOrder = (formData) => {
|
|
1568
1568
|
|
1569
1569
|
// src/app/components/RequestPayment/RequestPaymentDynamic.tsx
|
1570
1570
|
function RequestPaymentDynamic({ fractalpayClientKey, amount, phone_number, orderID }) {
|
1571
|
-
console.log("props", { fractalpayClientKey, amount, phone_number, orderID });
|
1572
1571
|
const [isLoading, setIsLoading] = (0, import_react6.useState)(false);
|
1573
1572
|
const [show, setShow] = (0, import_react6.useState)(false);
|
1574
1573
|
const handleClose = () => setShow(false);
|
@@ -3144,7 +3143,7 @@ var import_react_toastify4 = require("react-toastify");
|
|
3144
3143
|
|
3145
3144
|
// src/app/components/Pagination/Pagination.tsx
|
3146
3145
|
var import_react11 = __toESM(require("react"), 1);
|
3147
|
-
|
3146
|
+
function PaginationPg({ totalPages, onPageChange, current }) {
|
3148
3147
|
const [currentPage, setCurrentPage] = (0, import_react11.useState)(current);
|
3149
3148
|
const [showPages, setShowPages] = (0, import_react11.useState)(false);
|
3150
3149
|
(0, import_react11.useEffect)(() => {
|
@@ -3205,8 +3204,7 @@ var PaginationPgComp = ({ totalPages, onPageChange, current }) => {
|
|
3205
3204
|
};
|
3206
3205
|
const renderPageNumber = (pageNumber) => /* @__PURE__ */ import_react11.default.createElement("li", { key: pageNumber, className: `page-item ${currentPage === pageNumber ? "active" : ""}` }, /* @__PURE__ */ import_react11.default.createElement("a", { className: "page-link cursor-pointer", onClick: (e) => handlePageClick(e, pageNumber) }, pageNumber));
|
3207
3206
|
return /* @__PURE__ */ import_react11.default.createElement(import_react11.default.Fragment, null, /* @__PURE__ */ import_react11.default.createElement("nav", { className: "app-pagination py-2" }, /* @__PURE__ */ import_react11.default.createElement("ul", { className: "pagination justify-content-center" }, /* @__PURE__ */ import_react11.default.createElement("li", { className: `page-item ${currentPage === 1 ? "disabled" : ""}` }, /* @__PURE__ */ import_react11.default.createElement("a", { className: "page-link cursor-pointer", onClick: handlePrevious }, /* @__PURE__ */ import_react11.default.createElement("span", null, "\u2B9C"))), showPages && getPageNumbers(), /* @__PURE__ */ import_react11.default.createElement("li", { className: `page-item ${currentPage === totalPages ? "disabled" : ""}` }, /* @__PURE__ */ import_react11.default.createElement("a", { className: "page-link cursor-pointer", onClick: handleNext }, /* @__PURE__ */ import_react11.default.createElement("span", null, "\u2B9E"))))));
|
3208
|
-
}
|
3209
|
-
var PaginationPg = import_react11.default.memo(PaginationPgComp);
|
3207
|
+
}
|
3210
3208
|
|
3211
3209
|
// src/app/components/Transaction/CompletedTransactions.tsx
|
3212
3210
|
var STORY_HEADERS = [
|
@@ -3641,7 +3639,6 @@ function TockenizPay() {
|
|
3641
3639
|
}
|
3642
3640
|
return "";
|
3643
3641
|
}
|
3644
|
-
console.log("===================cardtype===============", cardTypeDetail);
|
3645
3642
|
return /* @__PURE__ */ import_react13.default.createElement("div", null, /* @__PURE__ */ import_react13.default.createElement(import_react_toastify5.ToastContainer, null), /* @__PURE__ */ import_react13.default.createElement(
|
3646
3643
|
"button",
|
3647
3644
|
{
|
package/dist/index.js
CHANGED
@@ -1527,7 +1527,6 @@ var createWidgetOrder = (formData) => {
|
|
1527
1527
|
|
1528
1528
|
// src/app/components/RequestPayment/RequestPaymentDynamic.tsx
|
1529
1529
|
function RequestPaymentDynamic({ fractalpayClientKey, amount, phone_number, orderID }) {
|
1530
|
-
console.log("props", { fractalpayClientKey, amount, phone_number, orderID });
|
1531
1530
|
const [isLoading, setIsLoading] = useState3(false);
|
1532
1531
|
const [show, setShow] = useState3(false);
|
1533
1532
|
const handleClose = () => setShow(false);
|
@@ -3109,7 +3108,7 @@ import { toast as toast4 } from "react-toastify";
|
|
3109
3108
|
|
3110
3109
|
// src/app/components/Pagination/Pagination.tsx
|
3111
3110
|
import React11, { useState as useState7, useEffect as useEffect2 } from "react";
|
3112
|
-
|
3111
|
+
function PaginationPg({ totalPages, onPageChange, current }) {
|
3113
3112
|
const [currentPage, setCurrentPage] = useState7(current);
|
3114
3113
|
const [showPages, setShowPages] = useState7(false);
|
3115
3114
|
useEffect2(() => {
|
@@ -3170,8 +3169,7 @@ var PaginationPgComp = ({ totalPages, onPageChange, current }) => {
|
|
3170
3169
|
};
|
3171
3170
|
const renderPageNumber = (pageNumber) => /* @__PURE__ */ React11.createElement("li", { key: pageNumber, className: `page-item ${currentPage === pageNumber ? "active" : ""}` }, /* @__PURE__ */ React11.createElement("a", { className: "page-link cursor-pointer", onClick: (e) => handlePageClick(e, pageNumber) }, pageNumber));
|
3172
3171
|
return /* @__PURE__ */ React11.createElement(React11.Fragment, null, /* @__PURE__ */ React11.createElement("nav", { className: "app-pagination py-2" }, /* @__PURE__ */ React11.createElement("ul", { className: "pagination justify-content-center" }, /* @__PURE__ */ React11.createElement("li", { className: `page-item ${currentPage === 1 ? "disabled" : ""}` }, /* @__PURE__ */ React11.createElement("a", { className: "page-link cursor-pointer", onClick: handlePrevious }, /* @__PURE__ */ React11.createElement("span", null, "\u2B9C"))), showPages && getPageNumbers(), /* @__PURE__ */ React11.createElement("li", { className: `page-item ${currentPage === totalPages ? "disabled" : ""}` }, /* @__PURE__ */ React11.createElement("a", { className: "page-link cursor-pointer", onClick: handleNext }, /* @__PURE__ */ React11.createElement("span", null, "\u2B9E"))))));
|
3173
|
-
}
|
3174
|
-
var PaginationPg = React11.memo(PaginationPgComp);
|
3172
|
+
}
|
3175
3173
|
|
3176
3174
|
// src/app/components/Transaction/CompletedTransactions.tsx
|
3177
3175
|
var STORY_HEADERS = [
|
@@ -3606,7 +3604,6 @@ function TockenizPay() {
|
|
3606
3604
|
}
|
3607
3605
|
return "";
|
3608
3606
|
}
|
3609
|
-
console.log("===================cardtype===============", cardTypeDetail);
|
3610
3607
|
return /* @__PURE__ */ React13.createElement("div", null, /* @__PURE__ */ React13.createElement(ToastContainer3, null), /* @__PURE__ */ React13.createElement(
|
3611
3608
|
"button",
|
3612
3609
|
{
|