@fractalpay/fractalpay-next-dev 0.0.161 → 0.0.163
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 +15 -3
- package/dist/index.mjs +15 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var ar=Object.create;var Ci=Object.defineProperty,rr=Object.defineProperties,or=Object.getOwnPropertyDescriptor,sr=Object.getOwnPropertyDescriptors,lr=Object.getOwnPropertyNames,Mi=Object.getOwnPropertySymbols,dr=Object.getPrototypeOf,Hi=Object.prototype.hasOwnProperty,fa=Object.prototype.propertyIsEnumerable;var pa=(e,d,L)=>d in e?Ci(e,d,{enumerable:!0,configurable:!0,writable:!0,value:L}):e[d]=L,N=(e,d)=>{for(var L in d||(d={}))Hi.call(d,L)&&pa(e,L,d[L]);if(Mi)for(var L of Mi(d))fa.call(d,L)&&pa(e,L,d[L]);return e},M=(e,d)=>rr(e,sr(d));var Vn=(e,d)=>{var L={};for(var I in e)Hi.call(e,I)&&d.indexOf(I)<0&&(L[I]=e[I]);if(e!=null&&Mi)for(var I of Mi(e))d.indexOf(I)<0&&fa.call(e,I)&&(L[I]=e[I]);return L};var mr=(e,d)=>()=>(d||e((d={exports:{}}).exports,d),d.exports),cr=(e,d)=>{for(var L in d)Ci(e,L,{get:d[L],enumerable:!0})},ha=(e,d,L,I)=>{if(d&&typeof d=="object"||typeof d=="function")for(let w of lr(d))!Hi.call(e,w)&&w!==L&&Ci(e,w,{get:()=>d[w],enumerable:!(I=or(d,w))||I.enumerable});return e};var Se=(e,d,L)=>(L=e!=null?ar(dr(e)):{},ha(d||!e||!e.__esModule?Ci(L,"default",{value:e,enumerable:!0}):L,e)),ur=e=>ha(Ci({},"__esModule",{value:!0}),e);var xa=mr(($r,fr)=>{fr.exports={name:"@fractalpay/fractalpay-next-dev",version:"0.0.
|
|
1
|
+
"use strict";var ar=Object.create;var Ci=Object.defineProperty,rr=Object.defineProperties,or=Object.getOwnPropertyDescriptor,sr=Object.getOwnPropertyDescriptors,lr=Object.getOwnPropertyNames,Mi=Object.getOwnPropertySymbols,dr=Object.getPrototypeOf,Hi=Object.prototype.hasOwnProperty,fa=Object.prototype.propertyIsEnumerable;var pa=(e,d,L)=>d in e?Ci(e,d,{enumerable:!0,configurable:!0,writable:!0,value:L}):e[d]=L,N=(e,d)=>{for(var L in d||(d={}))Hi.call(d,L)&&pa(e,L,d[L]);if(Mi)for(var L of Mi(d))fa.call(d,L)&&pa(e,L,d[L]);return e},M=(e,d)=>rr(e,sr(d));var Vn=(e,d)=>{var L={};for(var I in e)Hi.call(e,I)&&d.indexOf(I)<0&&(L[I]=e[I]);if(e!=null&&Mi)for(var I of Mi(e))d.indexOf(I)<0&&fa.call(e,I)&&(L[I]=e[I]);return L};var mr=(e,d)=>()=>(d||e((d={exports:{}}).exports,d),d.exports),cr=(e,d)=>{for(var L in d)Ci(e,L,{get:d[L],enumerable:!0})},ha=(e,d,L,I)=>{if(d&&typeof d=="object"||typeof d=="function")for(let w of lr(d))!Hi.call(e,w)&&w!==L&&Ci(e,w,{get:()=>d[w],enumerable:!(I=or(d,w))||I.enumerable});return e};var Se=(e,d,L)=>(L=e!=null?ar(dr(e)):{},ha(d||!e||!e.__esModule?Ci(L,"default",{value:e,enumerable:!0}):L,e)),ur=e=>ha(Ci({},"__esModule",{value:!0}),e);var xa=mr(($r,fr)=>{fr.exports={name:"@fractalpay/fractalpay-next-dev",version:"0.0.163",private:!1,scripts:{dev:"next dev -p 4001",build:"next build",start:"next start",lint:"next lint",bundle:"tsup src/app/index.ts"},dependencies:{"@stripe/react-stripe-js":"^5.3.0","@stripe/stripe-js":"^8.3.0","@types/yup":"^0.29.14",axios:"^1.8.1",bootstrap:"^5.3.3","credit-card-type":"^10.0.1",formik:"^2.4.6","node-forge":"^1.3.1","react-bootstrap":"^2.10.5","react-bs-datatable":"^3.15.0","react-datepicker":"^7.5.0","react-icons":"^5.5.0","react-number-format":"^5.4.3","react-toastify":"^10.0.6","socket.io-client":"^4.8.1","styled-components":"^6.1.15",sweetalert2:"^11.22.0",yup:"^1.6.1"},peerdependencies:{next:"15.0.5",react:">=18.0.0 <20.0.0","react-dom":">=18.0.0 <20.0.0"},devDependencies:{"@types/estree":"^1.0.8","@types/node":"^20","@types/node-forge":"^1.3.11","@types/react":"^18","@types/react-dom":"^18",autoprefixer:"^10.4.20","credit-card-type":"^10.0.1",eslint:"^8","eslint-config-next":"15.0.3",next:"^15.0.5",react:"^18.3.1","react-bs-datatable":"^3.15.0","react-datepicker":"^7.5.0","react-dom":"^18.3.1","react-toastify":"^10.0.6",tsup:"^8.4.0",typescript:"^5"},author:"Mukul",license:"MIT",keywords:["nextjs","next","typescript","tailwindcss"],main:"dist/index.js",publishConfig:{access:"public"}}});var Mr={};cr(Mr,{AddCard:()=>Oa,CardOnFile:()=>Va,GetPaymentPage:()=>Ba,PartialPayment:()=>Za,PaymentWidget:()=>er,PreAuthPayment:()=>qa,RequestPayment:()=>Sa,RequestPreAuthPayment:()=>Pa});module.exports=ur(Mr);var to=require("bootstrap/dist/js/bootstrap.bundle.min.js"),_=Se(require("react"));var Kn=Se(require("react"));var ya=Se(require("react")),gr=e=>ya.default.createElement("style",null,`
|
|
2
2
|
|
|
3
3
|
.loader-light {
|
|
4
4
|
position: fixed; /* Fixed position to cover the viewport */
|
|
@@ -2421,6 +2421,8 @@ position:relative;
|
|
|
2421
2421
|
|
|
2422
2422
|
.parent-pay-container{
|
|
2423
2423
|
padding: 24px;
|
|
2424
|
+
background-color: #ffffff !important;
|
|
2425
|
+
border-radius:15px;
|
|
2424
2426
|
}
|
|
2425
2427
|
.pay-container{
|
|
2426
2428
|
display: grid;
|
|
@@ -2460,6 +2462,7 @@ position:relative;
|
|
|
2460
2462
|
}
|
|
2461
2463
|
.pay-conatiner-two{
|
|
2462
2464
|
padding: 0 5% 0;
|
|
2465
|
+
|
|
2463
2466
|
}
|
|
2464
2467
|
.pay-logo-container{
|
|
2465
2468
|
border-bottom: 1px solid #E0DFE2
|
|
@@ -2608,7 +2611,8 @@ position:relative;
|
|
|
2608
2611
|
.form-control-frac{box-sizing: border-box ;}
|
|
2609
2612
|
#PaymentForm .form-group-frac{
|
|
2610
2613
|
padding:5px 0 ;
|
|
2611
|
-
matgin: 0 !important
|
|
2614
|
+
matgin: 0 !important;
|
|
2615
|
+
width: 100%;
|
|
2612
2616
|
}
|
|
2613
2617
|
|
|
2614
2618
|
.toggle-label {
|
|
@@ -2902,6 +2906,7 @@ position:relative;
|
|
|
2902
2906
|
|
|
2903
2907
|
.parent-pay-container{
|
|
2904
2908
|
padding:24px;
|
|
2909
|
+
|
|
2905
2910
|
}
|
|
2906
2911
|
.pay-container {
|
|
2907
2912
|
grid-template-columns: 1fr;
|
|
@@ -3145,7 +3150,7 @@ position:relative;
|
|
|
3145
3150
|
max-height: 1000px;
|
|
3146
3151
|
}
|
|
3147
3152
|
.frac-pay-container.pay-container {
|
|
3148
|
-
grid-template-columns:
|
|
3153
|
+
grid-template-columns:1fr;
|
|
3149
3154
|
}
|
|
3150
3155
|
.frac-payment-form-div .amt-pay-con {
|
|
3151
3156
|
padding-right: 0px;
|
|
@@ -3198,14 +3203,21 @@ position:relative;
|
|
|
3198
3203
|
}
|
|
3199
3204
|
.frac-payment-form-div .exp-date-year-container {
|
|
3200
3205
|
gap: 10px;
|
|
3206
|
+
width: 100%;
|
|
3201
3207
|
}
|
|
3202
3208
|
.frac-payment-form-div .card-type-logo-wrap{
|
|
3203
3209
|
position: absolute;
|
|
3204
3210
|
right: 10px;
|
|
3211
|
+
max-width: 30px;
|
|
3212
|
+
}
|
|
3213
|
+
.detials-wrap.detials-wrap-1 {
|
|
3214
|
+
display: flex;
|
|
3215
|
+
flex-wrap: wrap;
|
|
3205
3216
|
}
|
|
3206
3217
|
@media screen and (max-width: 1280px) {
|
|
3207
3218
|
.frac-pay-container.pay-container {
|
|
3208
3219
|
grid-template-columns: 1fr;
|
|
3220
|
+
border: none;
|
|
3209
3221
|
}
|
|
3210
3222
|
}
|
|
3211
3223
|
@media screen and (max-width: 899px) {
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var Oa=Object.defineProperty,Ea=Object.defineProperties;var Va=Object.getOwnPropertyDescriptors;var $i=Object.getOwnPropertySymbols;var wa=Object.prototype.hasOwnProperty,Na=Object.prototype.propertyIsEnumerable;var Ca=(e,d,T)=>d in e?Oa(e,d,{enumerable:!0,configurable:!0,writable:!0,value:T}):e[d]=T,w=(e,d)=>{for(var T in d||(d={}))wa.call(d,T)&&Ca(e,T,d[T]);if($i)for(var T of $i(d))Na.call(d,T)&&Ca(e,T,d[T]);return e},P=(e,d)=>Ea(e,Va(d));var Gn=(e,d)=>{var T={};for(var A in e)wa.call(e,A)&&d.indexOf(A)<0&&(T[A]=e[A]);if(e!=null&&$i)for(var A of $i(e))d.indexOf(A)<0&&Na.call(e,A)&&(T[A]=e[A]);return T};var Ka=(e,d)=>()=>(d||e((d={exports:{}}).exports,d),d.exports);var Sa=Ka((no,Ua)=>{Ua.exports={name:"@fractalpay/fractalpay-next-dev",version:"0.0.
|
|
1
|
+
var Oa=Object.defineProperty,Ea=Object.defineProperties;var Va=Object.getOwnPropertyDescriptors;var $i=Object.getOwnPropertySymbols;var wa=Object.prototype.hasOwnProperty,Na=Object.prototype.propertyIsEnumerable;var Ca=(e,d,T)=>d in e?Oa(e,d,{enumerable:!0,configurable:!0,writable:!0,value:T}):e[d]=T,w=(e,d)=>{for(var T in d||(d={}))wa.call(d,T)&&Ca(e,T,d[T]);if($i)for(var T of $i(d))Na.call(d,T)&&Ca(e,T,d[T]);return e},P=(e,d)=>Ea(e,Va(d));var Gn=(e,d)=>{var T={};for(var A in e)wa.call(e,A)&&d.indexOf(A)<0&&(T[A]=e[A]);if(e!=null&&$i)for(var A of $i(e))d.indexOf(A)<0&&Na.call(e,A)&&(T[A]=e[A]);return T};var Ka=(e,d)=>()=>(d||e((d={exports:{}}).exports,d),d.exports);var Sa=Ka((no,Ua)=>{Ua.exports={name:"@fractalpay/fractalpay-next-dev",version:"0.0.163",private:!1,scripts:{dev:"next dev -p 4001",build:"next build",start:"next start",lint:"next lint",bundle:"tsup src/app/index.ts"},dependencies:{"@stripe/react-stripe-js":"^5.3.0","@stripe/stripe-js":"^8.3.0","@types/yup":"^0.29.14",axios:"^1.8.1",bootstrap:"^5.3.3","credit-card-type":"^10.0.1",formik:"^2.4.6","node-forge":"^1.3.1","react-bootstrap":"^2.10.5","react-bs-datatable":"^3.15.0","react-datepicker":"^7.5.0","react-icons":"^5.5.0","react-number-format":"^5.4.3","react-toastify":"^10.0.6","socket.io-client":"^4.8.1","styled-components":"^6.1.15",sweetalert2:"^11.22.0",yup:"^1.6.1"},peerdependencies:{next:"15.0.5",react:">=18.0.0 <20.0.0","react-dom":">=18.0.0 <20.0.0"},devDependencies:{"@types/estree":"^1.0.8","@types/node":"^20","@types/node-forge":"^1.3.11","@types/react":"^18","@types/react-dom":"^18",autoprefixer:"^10.4.20","credit-card-type":"^10.0.1",eslint:"^8","eslint-config-next":"15.0.3",next:"^15.0.5",react:"^18.3.1","react-bs-datatable":"^3.15.0","react-datepicker":"^7.5.0","react-dom":"^18.3.1","react-toastify":"^10.0.6",tsup:"^8.4.0",typescript:"^5"},author:"Mukul",license:"MIT",keywords:["nextjs","next","typescript","tailwindcss"],main:"dist/index.js",publishConfig:{access:"public"}}});import"bootstrap/dist/js/bootstrap.bundle.min.js";import I,{useState as Un,useEffect as Fa}from"react";import Xn from"react";import Za from"react";var Wa=e=>Za.createElement("style",null,`
|
|
2
2
|
|
|
3
3
|
.loader-light {
|
|
4
4
|
position: fixed; /* Fixed position to cover the viewport */
|
|
@@ -2421,6 +2421,8 @@ position:relative;
|
|
|
2421
2421
|
|
|
2422
2422
|
.parent-pay-container{
|
|
2423
2423
|
padding: 24px;
|
|
2424
|
+
background-color: #ffffff !important;
|
|
2425
|
+
border-radius:15px;
|
|
2424
2426
|
}
|
|
2425
2427
|
.pay-container{
|
|
2426
2428
|
display: grid;
|
|
@@ -2460,6 +2462,7 @@ position:relative;
|
|
|
2460
2462
|
}
|
|
2461
2463
|
.pay-conatiner-two{
|
|
2462
2464
|
padding: 0 5% 0;
|
|
2465
|
+
|
|
2463
2466
|
}
|
|
2464
2467
|
.pay-logo-container{
|
|
2465
2468
|
border-bottom: 1px solid #E0DFE2
|
|
@@ -2608,7 +2611,8 @@ position:relative;
|
|
|
2608
2611
|
.form-control-frac{box-sizing: border-box ;}
|
|
2609
2612
|
#PaymentForm .form-group-frac{
|
|
2610
2613
|
padding:5px 0 ;
|
|
2611
|
-
matgin: 0 !important
|
|
2614
|
+
matgin: 0 !important;
|
|
2615
|
+
width: 100%;
|
|
2612
2616
|
}
|
|
2613
2617
|
|
|
2614
2618
|
.toggle-label {
|
|
@@ -2902,6 +2906,7 @@ position:relative;
|
|
|
2902
2906
|
|
|
2903
2907
|
.parent-pay-container{
|
|
2904
2908
|
padding:24px;
|
|
2909
|
+
|
|
2905
2910
|
}
|
|
2906
2911
|
.pay-container {
|
|
2907
2912
|
grid-template-columns: 1fr;
|
|
@@ -3145,7 +3150,7 @@ position:relative;
|
|
|
3145
3150
|
max-height: 1000px;
|
|
3146
3151
|
}
|
|
3147
3152
|
.frac-pay-container.pay-container {
|
|
3148
|
-
grid-template-columns:
|
|
3153
|
+
grid-template-columns:1fr;
|
|
3149
3154
|
}
|
|
3150
3155
|
.frac-payment-form-div .amt-pay-con {
|
|
3151
3156
|
padding-right: 0px;
|
|
@@ -3198,14 +3203,21 @@ position:relative;
|
|
|
3198
3203
|
}
|
|
3199
3204
|
.frac-payment-form-div .exp-date-year-container {
|
|
3200
3205
|
gap: 10px;
|
|
3206
|
+
width: 100%;
|
|
3201
3207
|
}
|
|
3202
3208
|
.frac-payment-form-div .card-type-logo-wrap{
|
|
3203
3209
|
position: absolute;
|
|
3204
3210
|
right: 10px;
|
|
3211
|
+
max-width: 30px;
|
|
3212
|
+
}
|
|
3213
|
+
.detials-wrap.detials-wrap-1 {
|
|
3214
|
+
display: flex;
|
|
3215
|
+
flex-wrap: wrap;
|
|
3205
3216
|
}
|
|
3206
3217
|
@media screen and (max-width: 1280px) {
|
|
3207
3218
|
.frac-pay-container.pay-container {
|
|
3208
3219
|
grid-template-columns: 1fr;
|
|
3220
|
+
border: none;
|
|
3209
3221
|
}
|
|
3210
3222
|
}
|
|
3211
3223
|
@media screen and (max-width: 899px) {
|