@pinerohit11/testwidget 0.1.17 → 0.1.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (261) hide show
  1. package/.next/cache/webpack/client-development/0.pack.gz +0 -0
  2. package/.next/cache/webpack/client-development/1.pack.gz +0 -0
  3. package/.next/cache/webpack/client-development/10.pack.gz +0 -0
  4. package/.next/cache/webpack/client-development/11.pack.gz +0 -0
  5. package/.next/cache/webpack/client-development/12.pack.gz +0 -0
  6. package/.next/cache/webpack/client-development/13.pack.gz +0 -0
  7. package/.next/cache/webpack/client-development/2.pack.gz +0 -0
  8. package/.next/cache/webpack/client-development/3.pack.gz +0 -0
  9. package/.next/cache/webpack/client-development/4.pack.gz +0 -0
  10. package/.next/cache/webpack/client-development/5.pack.gz +0 -0
  11. package/.next/cache/webpack/client-development/6.pack.gz +0 -0
  12. package/.next/cache/webpack/client-development/7.pack.gz +0 -0
  13. package/.next/cache/webpack/client-development/8.pack.gz +0 -0
  14. package/.next/cache/webpack/client-development/9.pack.gz +0 -0
  15. package/.next/cache/webpack/client-development/index.pack.gz +0 -0
  16. package/.next/cache/webpack/client-development/index.pack.gz.old +0 -0
  17. package/.next/cache/webpack/server-development/0.pack.gz +0 -0
  18. package/.next/cache/webpack/server-development/1.pack.gz +0 -0
  19. package/.next/cache/webpack/server-development/10.pack.gz +0 -0
  20. package/.next/cache/webpack/server-development/11.pack.gz +0 -0
  21. package/.next/cache/webpack/server-development/12.pack.gz +0 -0
  22. package/.next/cache/webpack/server-development/13.pack.gz +0 -0
  23. package/.next/cache/webpack/server-development/2.pack.gz +0 -0
  24. package/.next/cache/webpack/server-development/3.pack.gz +0 -0
  25. package/.next/cache/webpack/server-development/4.pack.gz +0 -0
  26. package/.next/cache/webpack/server-development/5.pack.gz +0 -0
  27. package/.next/cache/webpack/server-development/6.pack.gz +0 -0
  28. package/.next/cache/webpack/server-development/7.pack.gz +0 -0
  29. package/.next/cache/webpack/server-development/8.pack.gz +0 -0
  30. package/.next/cache/webpack/server-development/9.pack.gz +0 -0
  31. package/.next/cache/webpack/server-development/index.pack.gz +0 -0
  32. package/.next/cache/webpack/server-development/index.pack.gz.old +0 -0
  33. package/.next/server/app/_not-found/page.js +221 -0
  34. package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -0
  35. package/.next/server/app/page.js +48 -14
  36. package/.next/server/app/page_client-reference-manifest.js +1 -1
  37. package/.next/server/vendor-chunks/@babel.js +45 -0
  38. package/.next/server/vendor-chunks/@restart.js +275 -0
  39. package/.next/server/vendor-chunks/bootstrap.js +35 -0
  40. package/.next/server/vendor-chunks/classnames.js +24 -0
  41. package/.next/server/vendor-chunks/dom-helpers.js +215 -0
  42. package/.next/server/vendor-chunks/object-assign.js +25 -0
  43. package/.next/server/vendor-chunks/prop-types.js +67 -0
  44. package/.next/server/vendor-chunks/react-bootstrap.js +195 -0
  45. package/.next/server/vendor-chunks/react-is.js +35 -0
  46. package/.next/server/vendor-chunks/react-transition-group.js +65 -0
  47. package/.next/server/webpack-runtime.js +2 -2
  48. package/.next/static/chunks/app/_not-found/page.js +39 -0
  49. package/.next/static/chunks/app/layout.js +41 -9
  50. package/.next/static/chunks/app/page.js +834 -1
  51. package/.next/static/chunks/webpack.js +1 -1
  52. package/.next/static/css/app/layout.css +14 -2
  53. package/.next/static/css/app/page.css +699 -33
  54. package/.next/static/webpack/19bfc21a985c41a3.webpack.hot-update.json +1 -0
  55. package/.next/static/webpack/31b91c765347fb55.webpack.hot-update.json +1 -0
  56. package/.next/static/webpack/343e03d8261d3d56.webpack.hot-update.json +1 -0
  57. package/.next/static/webpack/511251a6a8797ede.webpack.hot-update.json +1 -0
  58. package/.next/static/webpack/5592a999a18ce828.webpack.hot-update.json +1 -0
  59. package/.next/static/webpack/79fe8ba93a0b810b.webpack.hot-update.json +1 -0
  60. package/.next/static/webpack/7bb361b5246e77d2.webpack.hot-update.json +1 -0
  61. package/.next/static/webpack/8635c08a046e0cc3.webpack.hot-update.json +1 -0
  62. package/.next/static/webpack/9c321599ae8772f6.webpack.hot-update.json +1 -0
  63. package/.next/static/webpack/9e012937cc8b78c3.webpack.hot-update.json +1 -0
  64. package/.next/static/webpack/9f1faeb236a539a7.webpack.hot-update.json +1 -0
  65. package/.next/static/webpack/a32ac07f1f02ef92.webpack.hot-update.json +1 -0
  66. package/.next/static/webpack/a3b2da5299326aea.webpack.hot-update.json +1 -0
  67. package/.next/static/webpack/a40ddad54b6bc90e.webpack.hot-update.json +1 -0
  68. package/.next/static/webpack/a81d8481ae8f1db5.webpack.hot-update.json +1 -0
  69. package/.next/static/webpack/a8e05348c0e655b9.webpack.hot-update.json +1 -0
  70. package/.next/static/webpack/app/layout.2813c5d79542e32e.hot-update.js +22 -0
  71. package/.next/static/webpack/app/layout.31b91c765347fb55.hot-update.js +22 -0
  72. package/.next/static/webpack/app/layout.343e03d8261d3d56.hot-update.js +32 -0
  73. package/.next/static/webpack/app/layout.660742a3b5333202.hot-update.js +22 -0
  74. package/.next/static/webpack/app/{layout.27d92b1ae58910aa.hot-update.js → layout.7dd58225de2c96b1.hot-update.js} +2 -2
  75. package/.next/static/webpack/app/layout.9211406c39b8c7d6.hot-update.js +22 -0
  76. package/.next/static/webpack/app/layout.a8d577cb610891a6.hot-update.js +22 -0
  77. package/.next/static/webpack/app/layout.a8e05348c0e655b9.hot-update.js +22 -0
  78. package/.next/static/webpack/app/layout.df471031cb4836a9.hot-update.js +22 -0
  79. package/.next/static/webpack/app/layout.e7d9eed4488f9850.hot-update.js +22 -0
  80. package/.next/static/webpack/app/layout.eb00615f06d96185.hot-update.js +22 -0
  81. package/.next/static/webpack/app/layout.fa81cc9e0039618f.hot-update.js +22 -0
  82. package/.next/static/webpack/app/page.03ee13d215584d59.hot-update.js +32 -0
  83. package/.next/static/webpack/app/page.05e804a9c98d6744.hot-update.js +32 -0
  84. package/.next/static/webpack/app/page.1c4c3e518f810365.hot-update.js +22 -0
  85. package/.next/static/webpack/app/page.217f0b5265f56be2.hot-update.js +22 -0
  86. package/.next/static/webpack/app/page.21d00cb457913b06.hot-update.js +22 -0
  87. package/.next/static/webpack/app/page.28ebfaec609673ec.hot-update.js +22 -0
  88. package/.next/static/webpack/app/{page.6c5ef9843eacf483.hot-update.js → page.31b91c765347fb55.hot-update.js} +5 -5
  89. package/.next/static/webpack/app/page.3d336feedc5241cc.hot-update.js +22 -0
  90. package/.next/static/webpack/app/page.3de1fe8a6a590578.hot-update.js +22 -0
  91. package/.next/static/webpack/app/page.511251a6a8797ede.hot-update.js +21 -0
  92. package/.next/static/webpack/app/page.5361cbc07110a7d3.hot-update.js +22 -0
  93. package/.next/static/webpack/app/page.55648f4af4cd339a.hot-update.js +22 -0
  94. package/.next/static/webpack/app/page.60b6b08662112fd8.hot-update.js +22 -0
  95. package/.next/static/webpack/app/page.68289df254bc1101.hot-update.js +22 -0
  96. package/.next/static/webpack/app/page.6965c86e8cf1c189.hot-update.js +22 -0
  97. package/.next/static/webpack/app/page.6ee5f39e8d123868.hot-update.js +22 -0
  98. package/.next/static/webpack/app/page.79fe8ba93a0b810b.hot-update.js +22 -0
  99. package/.next/static/webpack/app/page.7bb361b5246e77d2.hot-update.js +1436 -0
  100. package/.next/static/webpack/app/page.8635c08a046e0cc3.hot-update.js +22 -0
  101. package/.next/static/webpack/app/page.9c321599ae8772f6.hot-update.js +22 -0
  102. package/.next/static/webpack/app/page.9f1faeb236a539a7.hot-update.js +22 -0
  103. package/.next/static/webpack/app/page.a32ac07f1f02ef92.hot-update.js +22 -0
  104. package/.next/static/webpack/app/page.a40ddad54b6bc90e.hot-update.js +22 -0
  105. package/.next/static/webpack/app/page.a81d8481ae8f1db5.hot-update.js +22 -0
  106. package/.next/static/webpack/app/{page.cdb27633fb2a188d.hot-update.js → page.a8e05348c0e655b9.hot-update.js} +5 -5
  107. package/.next/static/webpack/app/page.b03ecf92b407ff16.hot-update.js +22 -0
  108. package/.next/static/webpack/app/page.cb073814fceeab04.hot-update.js +22 -0
  109. package/.next/static/webpack/app/page.cb900b98801a8b71.hot-update.js +22 -0
  110. package/.next/static/webpack/app/page.ce5481dea825fd10.hot-update.js +22 -0
  111. package/.next/static/webpack/app/page.dc647358f2db4ecb.hot-update.js +22 -0
  112. package/.next/static/webpack/app/page.df471031cb4836a9.hot-update.js +22 -0
  113. package/.next/static/webpack/app/page.e7d9eed4488f9850.hot-update.js +22 -0
  114. package/.next/static/webpack/app/page.ed88e0eaa00d7b0d.hot-update.js +22 -0
  115. package/.next/static/webpack/app/page.f237070410740d3e.hot-update.js +22 -0
  116. package/.next/static/webpack/app/page.f8210ae9a27d9415.hot-update.js +22 -0
  117. package/.next/static/webpack/app/page.f8cf2c2ac33a1f08.hot-update.js +22 -0
  118. package/.next/static/webpack/app/page.f92b6717ea88db27.hot-update.js +22 -0
  119. package/.next/static/webpack/app/page.fa81cc9e0039618f.hot-update.js +22 -0
  120. package/.next/static/webpack/app/page.facf69ec54a9c1ea.hot-update.js +22 -0
  121. package/.next/static/webpack/app/page.fbec410876605123.hot-update.js +22 -0
  122. package/.next/static/webpack/b03ecf92b407ff16.webpack.hot-update.json +1 -0
  123. package/.next/static/webpack/cb073814fceeab04.webpack.hot-update.json +1 -0
  124. package/.next/static/webpack/cb900b98801a8b71.webpack.hot-update.json +1 -0
  125. package/.next/static/webpack/ce5481dea825fd10.webpack.hot-update.json +1 -0
  126. package/.next/static/webpack/dc647358f2db4ecb.webpack.hot-update.json +1 -0
  127. package/.next/static/webpack/df471031cb4836a9.webpack.hot-update.json +1 -0
  128. package/.next/static/webpack/e7d9eed4488f9850.webpack.hot-update.json +1 -0
  129. package/.next/static/webpack/eb00615f06d96185.webpack.hot-update.json +1 -0
  130. package/.next/static/webpack/ed88e0eaa00d7b0d.webpack.hot-update.json +1 -0
  131. package/.next/static/webpack/f237070410740d3e.webpack.hot-update.json +1 -0
  132. package/.next/static/webpack/f8210ae9a27d9415.webpack.hot-update.json +1 -0
  133. package/.next/static/webpack/f8cf2c2ac33a1f08.webpack.hot-update.json +1 -0
  134. package/.next/static/webpack/f92b6717ea88db27.webpack.hot-update.json +1 -0
  135. package/.next/static/webpack/fa81cc9e0039618f.webpack.hot-update.json +1 -0
  136. package/.next/static/webpack/facf69ec54a9c1ea.webpack.hot-update.json +1 -0
  137. package/.next/static/webpack/fbec410876605123.webpack.hot-update.json +1 -0
  138. package/.next/static/webpack/{webpack.09217bd29f3a8742.hot-update.js → webpack.03ee13d215584d59.hot-update.js} +1 -1
  139. package/.next/static/webpack/{webpack.230183ef62b2b1f3.hot-update.js → webpack.05e804a9c98d6744.hot-update.js} +1 -1
  140. package/.next/static/webpack/{webpack.27d92b1ae58910aa.hot-update.js → webpack.19bfc21a985c41a3.hot-update.js} +1 -1
  141. package/.next/static/webpack/{webpack.2e7b4aa2b22e65d9.hot-update.js → webpack.1c4c3e518f810365.hot-update.js} +1 -1
  142. package/.next/static/webpack/webpack.217f0b5265f56be2.hot-update.js +18 -0
  143. package/.next/static/webpack/webpack.21d00cb457913b06.hot-update.js +18 -0
  144. package/.next/static/webpack/webpack.2813c5d79542e32e.hot-update.js +18 -0
  145. package/.next/static/webpack/webpack.28ebfaec609673ec.hot-update.js +18 -0
  146. package/.next/static/webpack/webpack.31b91c765347fb55.hot-update.js +18 -0
  147. package/.next/static/webpack/webpack.343e03d8261d3d56.hot-update.js +18 -0
  148. package/.next/static/webpack/webpack.3d336feedc5241cc.hot-update.js +18 -0
  149. package/.next/static/webpack/webpack.3de1fe8a6a590578.hot-update.js +18 -0
  150. package/.next/static/webpack/webpack.511251a6a8797ede.hot-update.js +18 -0
  151. package/.next/static/webpack/webpack.5361cbc07110a7d3.hot-update.js +18 -0
  152. package/.next/static/webpack/webpack.55648f4af4cd339a.hot-update.js +18 -0
  153. package/.next/static/webpack/webpack.5592a999a18ce828.hot-update.js +18 -0
  154. package/.next/static/webpack/webpack.60b6b08662112fd8.hot-update.js +18 -0
  155. package/.next/static/webpack/webpack.660742a3b5333202.hot-update.js +18 -0
  156. package/.next/static/webpack/webpack.68289df254bc1101.hot-update.js +18 -0
  157. package/.next/static/webpack/webpack.6965c86e8cf1c189.hot-update.js +18 -0
  158. package/.next/static/webpack/webpack.6ee5f39e8d123868.hot-update.js +18 -0
  159. package/.next/static/webpack/webpack.79fe8ba93a0b810b.hot-update.js +18 -0
  160. package/.next/static/webpack/webpack.7bb361b5246e77d2.hot-update.js +18 -0
  161. package/.next/static/webpack/webpack.7dd58225de2c96b1.hot-update.js +18 -0
  162. package/.next/static/webpack/webpack.8635c08a046e0cc3.hot-update.js +18 -0
  163. package/.next/static/webpack/webpack.9211406c39b8c7d6.hot-update.js +18 -0
  164. package/.next/static/webpack/webpack.9c321599ae8772f6.hot-update.js +18 -0
  165. package/.next/static/webpack/webpack.9e012937cc8b78c3.hot-update.js +18 -0
  166. package/.next/static/webpack/webpack.9f1faeb236a539a7.hot-update.js +18 -0
  167. package/.next/static/webpack/webpack.a32ac07f1f02ef92.hot-update.js +18 -0
  168. package/.next/static/webpack/webpack.a3b2da5299326aea.hot-update.js +18 -0
  169. package/.next/static/webpack/webpack.a40ddad54b6bc90e.hot-update.js +18 -0
  170. package/.next/static/webpack/webpack.a81d8481ae8f1db5.hot-update.js +18 -0
  171. package/.next/static/webpack/webpack.a8d577cb610891a6.hot-update.js +18 -0
  172. package/.next/static/webpack/webpack.a8e05348c0e655b9.hot-update.js +18 -0
  173. package/.next/static/webpack/webpack.b03ecf92b407ff16.hot-update.js +18 -0
  174. package/.next/static/webpack/webpack.cb073814fceeab04.hot-update.js +18 -0
  175. package/.next/static/webpack/webpack.cb900b98801a8b71.hot-update.js +18 -0
  176. package/.next/static/webpack/webpack.ce5481dea825fd10.hot-update.js +18 -0
  177. package/.next/static/webpack/webpack.dc647358f2db4ecb.hot-update.js +18 -0
  178. package/.next/static/webpack/webpack.df471031cb4836a9.hot-update.js +18 -0
  179. package/.next/static/webpack/webpack.e7d9eed4488f9850.hot-update.js +18 -0
  180. package/.next/static/webpack/webpack.eb00615f06d96185.hot-update.js +18 -0
  181. package/.next/static/webpack/webpack.ed88e0eaa00d7b0d.hot-update.js +18 -0
  182. package/.next/static/webpack/webpack.f237070410740d3e.hot-update.js +18 -0
  183. package/.next/static/webpack/webpack.f8210ae9a27d9415.hot-update.js +18 -0
  184. package/.next/static/webpack/webpack.f8cf2c2ac33a1f08.hot-update.js +18 -0
  185. package/.next/static/webpack/webpack.f92b6717ea88db27.hot-update.js +18 -0
  186. package/.next/static/webpack/webpack.fa81cc9e0039618f.hot-update.js +18 -0
  187. package/.next/static/webpack/webpack.facf69ec54a9c1ea.hot-update.js +18 -0
  188. package/.next/static/webpack/webpack.fbec410876605123.hot-update.js +18 -0
  189. package/.next/trace +83 -47
  190. package/dist/index.cjs +249 -221
  191. package/dist/index.css +1 -2
  192. package/dist/index.js +251 -221
  193. package/package.json +4 -2
  194. package/.next/static/webpack/8407cf02bdf4864d.webpack.hot-update.json +0 -1
  195. package/.next/static/webpack/abe429b78cb2cd5f.webpack.hot-update.json +0 -1
  196. package/.next/static/webpack/app/layout.2f388e6b66349419.hot-update.js +0 -31
  197. package/.next/static/webpack/app/layout.3def483773fe0f90.hot-update.js +0 -31
  198. package/.next/static/webpack/app/layout.4c7ecbad991e36d2.hot-update.js +0 -31
  199. package/.next/static/webpack/app/layout.5ff03b504f4dc152.hot-update.js +0 -31
  200. package/.next/static/webpack/app/layout.8407cf02bdf4864d.hot-update.js +0 -31
  201. package/.next/static/webpack/app/layout.abe429b78cb2cd5f.hot-update.js +0 -31
  202. package/.next/static/webpack/app/layout.b62381d4132a6544.hot-update.js +0 -31
  203. package/.next/static/webpack/app/layout.be39acc05eac2b52.hot-update.js +0 -31
  204. package/.next/static/webpack/app/layout.e1d7a6f7992b7b70.hot-update.js +0 -31
  205. package/.next/static/webpack/app/page.09217bd29f3a8742.hot-update.js +0 -32
  206. package/.next/static/webpack/app/page.230183ef62b2b1f3.hot-update.js +0 -32
  207. package/.next/static/webpack/app/page.2e7b4aa2b22e65d9.hot-update.js +0 -22
  208. package/.next/static/webpack/app/page.4996a2c64be83d4d.hot-update.js +0 -22
  209. package/.next/static/webpack/app/page.548fbaf72ba2981b.hot-update.js +0 -62
  210. package/.next/static/webpack/app/page.627ec6e86b397d8c.hot-update.js +0 -22
  211. package/.next/static/webpack/app/page.6e5fce9246047620.hot-update.js +0 -22
  212. package/.next/static/webpack/app/page.7f3be6888ceaa76c.hot-update.js +0 -22
  213. package/.next/static/webpack/app/page.7f6a8530b9acce84.hot-update.js +0 -22
  214. package/.next/static/webpack/app/page.8b5683da7fe5505d.hot-update.js +0 -22
  215. package/.next/static/webpack/app/page.bb7fb7004da6fd3f.hot-update.js +0 -22
  216. package/.next/static/webpack/app/page.e7b0af7ee6cbe0d6.hot-update.js +0 -22
  217. package/.next/static/webpack/app/page.e9324f3a66999504.hot-update.js +0 -22
  218. package/.next/static/webpack/b62381d4132a6544.webpack.hot-update.json +0 -1
  219. package/.next/static/webpack/be39acc05eac2b52.webpack.hot-update.json +0 -1
  220. package/.next/static/webpack/e1d7a6f7992b7b70.webpack.hot-update.json +0 -1
  221. package/.next/static/webpack/e9324f3a66999504.webpack.hot-update.json +0 -1
  222. package/.next/static/webpack/webpack.2f388e6b66349419.hot-update.js +0 -18
  223. package/.next/static/webpack/webpack.3def483773fe0f90.hot-update.js +0 -18
  224. package/.next/static/webpack/webpack.4996a2c64be83d4d.hot-update.js +0 -18
  225. package/.next/static/webpack/webpack.4c7ecbad991e36d2.hot-update.js +0 -18
  226. package/.next/static/webpack/webpack.548fbaf72ba2981b.hot-update.js +0 -18
  227. package/.next/static/webpack/webpack.5ff03b504f4dc152.hot-update.js +0 -18
  228. package/.next/static/webpack/webpack.627ec6e86b397d8c.hot-update.js +0 -18
  229. package/.next/static/webpack/webpack.6c5ef9843eacf483.hot-update.js +0 -18
  230. package/.next/static/webpack/webpack.6e5fce9246047620.hot-update.js +0 -18
  231. package/.next/static/webpack/webpack.7f3be6888ceaa76c.hot-update.js +0 -18
  232. package/.next/static/webpack/webpack.7f6a8530b9acce84.hot-update.js +0 -18
  233. package/.next/static/webpack/webpack.8407cf02bdf4864d.hot-update.js +0 -18
  234. package/.next/static/webpack/webpack.8b5683da7fe5505d.hot-update.js +0 -18
  235. package/.next/static/webpack/webpack.abe429b78cb2cd5f.hot-update.js +0 -18
  236. package/.next/static/webpack/webpack.b62381d4132a6544.hot-update.js +0 -18
  237. package/.next/static/webpack/webpack.bb7fb7004da6fd3f.hot-update.js +0 -18
  238. package/.next/static/webpack/webpack.be39acc05eac2b52.hot-update.js +0 -18
  239. package/.next/static/webpack/webpack.cdb27633fb2a188d.hot-update.js +0 -18
  240. package/.next/static/webpack/webpack.e1d7a6f7992b7b70.hot-update.js +0 -18
  241. package/.next/static/webpack/webpack.e7b0af7ee6cbe0d6.hot-update.js +0 -18
  242. package/.next/static/webpack/webpack.e9324f3a66999504.hot-update.js +0 -18
  243. /package/.next/static/webpack/{09217bd29f3a8742.webpack.hot-update.json → 03ee13d215584d59.webpack.hot-update.json} +0 -0
  244. /package/.next/static/webpack/{230183ef62b2b1f3.webpack.hot-update.json → 05e804a9c98d6744.webpack.hot-update.json} +0 -0
  245. /package/.next/static/webpack/{2e7b4aa2b22e65d9.webpack.hot-update.json → 1c4c3e518f810365.webpack.hot-update.json} +0 -0
  246. /package/.next/static/webpack/{4996a2c64be83d4d.webpack.hot-update.json → 217f0b5265f56be2.webpack.hot-update.json} +0 -0
  247. /package/.next/static/webpack/{548fbaf72ba2981b.webpack.hot-update.json → 21d00cb457913b06.webpack.hot-update.json} +0 -0
  248. /package/.next/static/webpack/{27d92b1ae58910aa.webpack.hot-update.json → 2813c5d79542e32e.webpack.hot-update.json} +0 -0
  249. /package/.next/static/webpack/{627ec6e86b397d8c.webpack.hot-update.json → 28ebfaec609673ec.webpack.hot-update.json} +0 -0
  250. /package/.next/static/webpack/{6c5ef9843eacf483.webpack.hot-update.json → 3d336feedc5241cc.webpack.hot-update.json} +0 -0
  251. /package/.next/static/webpack/{6e5fce9246047620.webpack.hot-update.json → 3de1fe8a6a590578.webpack.hot-update.json} +0 -0
  252. /package/.next/static/webpack/{7f3be6888ceaa76c.webpack.hot-update.json → 5361cbc07110a7d3.webpack.hot-update.json} +0 -0
  253. /package/.next/static/webpack/{7f6a8530b9acce84.webpack.hot-update.json → 55648f4af4cd339a.webpack.hot-update.json} +0 -0
  254. /package/.next/static/webpack/{8b5683da7fe5505d.webpack.hot-update.json → 60b6b08662112fd8.webpack.hot-update.json} +0 -0
  255. /package/.next/static/webpack/{2f388e6b66349419.webpack.hot-update.json → 660742a3b5333202.webpack.hot-update.json} +0 -0
  256. /package/.next/static/webpack/{bb7fb7004da6fd3f.webpack.hot-update.json → 68289df254bc1101.webpack.hot-update.json} +0 -0
  257. /package/.next/static/webpack/{cdb27633fb2a188d.webpack.hot-update.json → 6965c86e8cf1c189.webpack.hot-update.json} +0 -0
  258. /package/.next/static/webpack/{e7b0af7ee6cbe0d6.webpack.hot-update.json → 6ee5f39e8d123868.webpack.hot-update.json} +0 -0
  259. /package/.next/static/webpack/{3def483773fe0f90.webpack.hot-update.json → 7dd58225de2c96b1.webpack.hot-update.json} +0 -0
  260. /package/.next/static/webpack/{4c7ecbad991e36d2.webpack.hot-update.json → 9211406c39b8c7d6.webpack.hot-update.json} +0 -0
  261. /package/.next/static/webpack/{5ff03b504f4dc152.webpack.hot-update.json → a8d577cb610891a6.webpack.hot-update.json} +0 -0
package/dist/index.cjs CHANGED
@@ -50,10 +50,13 @@ __export(app_exports, {
50
50
  PaywithFractal: () => PaywithFractal
51
51
  });
52
52
  module.exports = __toCommonJS(app_exports);
53
+ var import_bootstrap_min = require("bootstrap/dist/css/bootstrap.min.css");
53
54
 
54
55
  // src/app/components/Greet.tsx
55
56
  var import_axios = __toESM(require("axios"), 1);
56
57
  var import_react = __toESM(require("react"), 1);
58
+ var import_react_bootstrap = require("react-bootstrap");
59
+ var import_Modal = __toESM(require("react-bootstrap/Modal"), 1);
57
60
  function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
58
61
  const baseUrl = "http://192.168.1.52:8082/";
59
62
  const masterBaseUrl = "http://192.168.1.52:8081/";
@@ -70,6 +73,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
70
73
  zip: ""
71
74
  });
72
75
  const [loading, setLoading] = (0, import_react.useState)(false);
76
+ const [show, setShow] = (0, import_react.useState)(false);
73
77
  const handleSubmit = async (e) => {
74
78
  var _a, _b, _c, _d, _e, _f, _g;
75
79
  e.preventDefault();
@@ -228,9 +232,6 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
228
232
  handleCVVChange(value);
229
233
  }
230
234
  };
231
- const handlePay = () => {
232
- console.log("pay", name, baseUrl, masterBaseUrl);
233
- };
234
235
  (0, import_react.useEffect)(() => {
235
236
  const scriptId = "my-script";
236
237
  const existingScript = document.getElementById(scriptId);
@@ -255,240 +256,267 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
255
256
  }
256
257
  };
257
258
  }, []);
258
- return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "bg-black" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "container bg-black" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "row bg-light no-gutters" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "col-sm-12" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "bd-example bd-example-tabs right-tabs mttabs m-3 " }, /* @__PURE__ */ import_react.default.createElement("div", { className: "payment-popup" }, /* @__PURE__ */ import_react.default.createElement("button", { className: "close-pop", style: { display: "none" } }, /* @__PURE__ */ import_react.default.createElement(
259
- "svg",
260
- {
261
- xmlns: "http://www.w3.org/2000/svg",
262
- width: 37,
263
- height: 37,
264
- viewBox: "0 0 21 21"
265
- },
266
- /* @__PURE__ */ import_react.default.createElement(
267
- "path",
268
- {
269
- fill: "none",
270
- stroke: "currentColor",
271
- strokeLinecap: "round",
272
- strokeLinejoin: "round",
273
- d: "m7.5 7.5l6 6m0-6l-6 6"
274
- }
275
- )
276
- )), /* @__PURE__ */ import_react.default.createElement("div", { className: "row" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "comp-name" }, /* @__PURE__ */ import_react.default.createElement(
277
- "img",
278
- {
279
- src: "https://invoicestaging.skysystemz.com/assets/products/65c49a2740ff1.png",
280
- alt: "",
281
- className: "client-logo"
282
- }
283
- )), /* @__PURE__ */ import_react.default.createElement("div", { className: "" }, /* @__PURE__ */ import_react.default.createElement("div", { id: "Checkout", className: "inline" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "header" }, /* @__PURE__ */ import_react.default.createElement("h1", null, "Pay"), /* @__PURE__ */ import_react.default.createElement(
284
- "i",
285
- {
286
- className: "fa fa-qrcode fa-2x",
287
- id: "qrIcon",
288
- title: "Show QR Code",
289
- onClick: () => setToggleQr(!toggleQr)
290
- }
291
- )), /* @__PURE__ */ import_react.default.createElement("div", { id: "qrCode", style: {
292
- display: toggleQr ? "block" : "none"
293
- } }, /* @__PURE__ */ import_react.default.createElement(
294
- "img",
295
- {
296
- src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARQAAAEUCAYAAADqcMl5AAAAAklEQVR4AewaftIAABJaSURBVO3BQY7gRhLAQFLo/3+ZO8c8FSCoemwvMsL+YK21LnhYa61LHtZa65KHtda65GGttS55WGutSx7WWuuSh7XWuuRhrbUueVhrrUse1lrrkoe11rrkYa21LnlYa61LHtZa65KHtda65IePVP6miknlpGJSualiUjmpOFGZKk5UpopJ5YuKE5WpYlI5qZhU3qiYVKaKSeWkYlI5qXhD5aRiUvmbKr54WGutSx7WWuuSh7XWuuSHyypuUvlNFW+oTCpTxRsqU8UXKlPFicqJylRxonJScVLxhspU8UbFGxX/pIqbVG56WGutSx7WWuuSh7XWuuSHX6byRsVNKlPFpPJGxW9SmSreqJhUTiomlROVk4ovVL5QOak4UTlR+TdReaPiNz2stdYlD2utdcnDWmtd8sN/XMWkMlVMKlPFpHKiMlWcqJxUTCqTyk0Vk8pJxaQyVUwqN1WcqEwVk8qk8kXFpPJGxaTy/+RhrbUueVhrr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SmSreUJkqJpWTikllqpgq/s0e1lrrkoe11rrkYa21LvnhMpV/UsWkMlVMKicqJxVTxRcqU8VJxRsVJypTxRsqX1S8oTJVnKhMFZPKScVUMalMFScqU8WkclIxqfyTHtZa65KHtda65GGttS6xP1hrrQse1lrrkoe11rrkYa21LnlYa61LHtZa65KHtda65GGttS55WGutSx7WWuuSh7XWuuRhrbUueVhrrUse1lrrkoe11rrkYa21Lvkf/C+HzIiJCzEAAAAASUVORK5CYII=",
297
- alt: "QRCode",
298
- srcSet: ""
299
- }
300
- )), /* @__PURE__ */ import_react.default.createElement(
301
- "form",
259
+ const handleClose = () => {
260
+ setShow(false);
261
+ };
262
+ const handleOpen = () => {
263
+ console.log("open");
264
+ setShow(true);
265
+ };
266
+ console.log(show, "open");
267
+ return /* @__PURE__ */ import_react.default.createElement(import_react.default.Fragment, null, /* @__PURE__ */ import_react.default.createElement("div", { style: { width: "100%", textAlign: "center" } }, /* @__PURE__ */ import_react.default.createElement(import_react_bootstrap.Button, { onClick: handleOpen }, "Show")), /* @__PURE__ */ import_react.default.createElement(
268
+ import_Modal.default,
302
269
  {
303
- id: "PaymentForm",
304
- className: "payment-form",
305
- onSubmit: handleSubmit
270
+ show,
271
+ onHide: handleClose,
272
+ backdrop: "static",
273
+ keyboard: false,
274
+ size: "lg"
306
275
  },
307
- /* @__PURE__ */ import_react.default.createElement(
308
- "input",
309
- {
310
- type: "hidden",
311
- id: "dctoken",
312
- defaultValue: dcToken,
313
- name: "dctoken"
314
- }
315
- ),
316
- /* @__PURE__ */ import_react.default.createElement("div", { className: "form-group top-amnt" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "amtleft" }, /* @__PURE__ */ import_react.default.createElement("label", { htmlFor: "Amount" }, "Payment amount"), /* @__PURE__ */ import_react.default.createElement("div", { className: "amount-placeholder" }, /* @__PURE__ */ import_react.default.createElement("span", null, "$"), /* @__PURE__ */ import_react.default.createElement("span", null, " 1.00 "))), /* @__PURE__ */ import_react.default.createElement("div", { className: "card-row" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "visa" }), /* @__PURE__ */ import_react.default.createElement("span", { className: "mastercard" }), /* @__PURE__ */ import_react.default.createElement("span", { className: "amex" }), /* @__PURE__ */ import_react.default.createElement("span", { className: "discover" }))),
317
- /* @__PURE__ */ import_react.default.createElement("div", { className: "form-group" }, /* @__PURE__ */ import_react.default.createElement("label", { htmlFor: "NameOnCard" }, "Name on card"), /* @__PURE__ */ import_react.default.createElement(
318
- "input",
319
- {
320
- "data-token": "name",
321
- id: "NameOnCard",
322
- className: "form-control required",
323
- type: "text",
324
- maxLength: 100,
325
- placeholder: "name",
326
- value: formData == null ? void 0 : formData.name,
327
- onChange: handleChange
328
- }
329
- ), /* @__PURE__ */ import_react.default.createElement(
330
- "span",
331
- {
332
- id: "NameOnCard-error",
333
- style: { color: "red" }
334
- }
335
- )),
336
- /* @__PURE__ */ import_react.default.createElement("div", { className: "form-group" }, /* @__PURE__ */ import_react.default.createElement(
337
- "input",
338
- {
339
- "data-token": "card_number",
340
- className: "null card-image form-control required",
341
- type: "text",
342
- maxLength: 19,
343
- placeholder: "0000 0000 0000 0000",
344
- value: handleCardFormat(formData == null ? void 0 : formData.card_number),
345
- onChange: handleChange
346
- }
347
- ), error.card_number && /* @__PURE__ */ import_react.default.createElement(
348
- "span",
349
- {
350
- id: "card_number-error",
351
- style: { color: "red" }
352
- },
353
- error.card_number
354
- )),
355
- /* @__PURE__ */ import_react.default.createElement("div", { className: "expiry-date-group form-group" }, /* @__PURE__ */ import_react.default.createElement(
356
- "input",
357
- {
358
- "data-token": "exp_month",
359
- className: "form-control required",
360
- type: "text",
361
- placeholder: "MM",
362
- maxLength: 2,
363
- value: formData == null ? void 0 : formData.exp_month,
364
- onChange: handleChange
365
- }
366
- ), error.exp_month && /* @__PURE__ */ import_react.default.createElement(
367
- "span",
276
+ /* @__PURE__ */ import_react.default.createElement(import_Modal.default.Body, null, /* @__PURE__ */ import_react.default.createElement("div", { className: "bg-black" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "container bg-black" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "row bg-light no-gutters" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "col-sm-12" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "bd-example bd-example-tabs right-tabs mttabs m-3 " }, /* @__PURE__ */ import_react.default.createElement("div", { className: "payment-popup" }, /* @__PURE__ */ import_react.default.createElement(
277
+ "button",
368
278
  {
369
- id: "exp_month-error",
370
- style: { color: "red" }
279
+ className: "close-pop",
280
+ onClick: () => {
281
+ setShow(false);
282
+ }
371
283
  },
372
- error.exp_month
373
- )),
374
- /* @__PURE__ */ import_react.default.createElement("div", { className: "expiry-date-group form-group" }, /* @__PURE__ */ import_react.default.createElement(
375
- "input",
284
+ /* @__PURE__ */ import_react.default.createElement(
285
+ "svg",
286
+ {
287
+ xmlns: "http://www.w3.org/2000/svg",
288
+ width: 37,
289
+ height: 37,
290
+ viewBox: "0 0 21 21"
291
+ },
292
+ /* @__PURE__ */ import_react.default.createElement(
293
+ "path",
294
+ {
295
+ fill: "none",
296
+ stroke: "currentColor",
297
+ strokeLinecap: "round",
298
+ strokeLinejoin: "round",
299
+ d: "m7.5 7.5l6 6m0-6l-6 6"
300
+ }
301
+ )
302
+ )
303
+ ), /* @__PURE__ */ import_react.default.createElement("div", { className: "row" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "comp-name" }, /* @__PURE__ */ import_react.default.createElement(
304
+ "img",
376
305
  {
377
- "data-token": "exp_year",
378
- className: "form-control required",
379
- type: "text",
380
- placeholder: "YYYY",
381
- maxLength: 4,
382
- value: formData == null ? void 0 : formData.exp_year,
383
- onChange: handleChange
306
+ src: "https://invoicestaging.skysystemz.com/assets/products/65c49a2740ff1.png",
307
+ alt: "",
308
+ className: "client-logo"
384
309
  }
385
- ), error.exp_year && /* @__PURE__ */ import_react.default.createElement(
386
- "span",
310
+ )), /* @__PURE__ */ import_react.default.createElement("div", { className: "" }, /* @__PURE__ */ import_react.default.createElement("div", { id: "Checkout", className: "inline" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "header" }, /* @__PURE__ */ import_react.default.createElement("h1", null, "Pay"), /* @__PURE__ */ import_react.default.createElement(
311
+ "i",
387
312
  {
388
- id: "exp_year-error",
389
- style: { color: "red" }
390
- },
391
- error.exp_year
392
- )),
393
- /* @__PURE__ */ import_react.default.createElement("div", { className: "security-code-group form-group" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "input-container" }, /* @__PURE__ */ import_react.default.createElement(
394
- "input",
395
- {
396
- "data-token": "cvv",
397
- className: "form-control required",
398
- type: "text",
399
- maxLength: 4,
400
- placeholder: "CVC",
401
- value: formData == null ? void 0 : formData.cvv,
402
- onChange: handleChange
313
+ className: "fa fa-qrcode fa-2x",
314
+ id: "qrIcon",
315
+ title: "Show QR Code",
316
+ onClick: () => setToggleQr(!toggleQr)
403
317
  }
404
- ), /* @__PURE__ */ import_react.default.createElement("i", { id: "cvc", className: "fa fa-question-circle" })), error.cvv && /* @__PURE__ */ import_react.default.createElement(
405
- "span",
406
- {
407
- id: "cvv-error",
408
- style: { color: "red" }
409
- },
410
- error.cvv
411
- ), /* @__PURE__ */ import_react.default.createElement("div", { className: "cvc-preview-container two-card hide" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "amex-cvc-preview" }), /* @__PURE__ */ import_react.default.createElement("div", { className: "visa-mc-dis-cvc-preview" }))),
412
- /* @__PURE__ */ import_react.default.createElement("div", { className: "zip-code-group form-group" }, /* @__PURE__ */ import_react.default.createElement("label", { htmlFor: "ZIPCode" }, "Postal code"), /* @__PURE__ */ import_react.default.createElement("div", { className: "input-container" }, /* @__PURE__ */ import_react.default.createElement(
413
- "input",
318
+ )), /* @__PURE__ */ import_react.default.createElement("div", { id: "qrCode", style: {
319
+ display: toggleQr ? "block" : "none"
320
+ } }, /* @__PURE__ */ import_react.default.createElement(
321
+ "img",
414
322
  {
415
- id: "ZIPCode",
416
- "data-token": "zip",
417
- className: "form-control required",
418
- type: "text",
419
- maxLength: 7,
420
- placeholder: "000000",
421
- value: formData == null ? void 0 : formData.zip,
422
- onChange: handleChange
323
+ src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARQAAAEUCAYAAADqcMl5AAAAAklEQVR4AewaftIAABJaSURBVO3BQY7gRhLAQFLo/3+ZO8c8FSCoemwvMsL+YK21LnhYa61LHtZa65KHtda65GGttS55WGutSx7WWuuSh7XWuuRhrbUueVhrrUse1lrrkoe11rrkYa21LnlYa61LHtZa65KHtda65IePVP6miknlpGJSualiUjmpOFGZKk5UpopJ5YuKE5WpYlI5qZhU3qiYVKaKSeWkYlI5qXhD5aRiUvmbKr54WGutSx7WWuuSh7XWuuSHyypuUvlNFW+oTCpTxRsqU8UXKlPFicqJylRxonJScVLxhspU8UbFGxX/pIqbVG56WGutSx7WWuuSh7XWuuSHX6byRsVNKlPFpPJGxW9SmSreqJhUTiomlROVk4ovVL5QOak4UTlR+TdReaPiNz2stdYlD2utdcnDWmtd8sN/XMWkMlVMKlPFpHKiMlWcqJxUTCqTyk0Vk8pJxaQyVUwqN1WcqEwVk8qk8kXFpPJGxaTy/+RhrbUueVhrrUse1lrrkh/+z6lMFScVN1VMKpPKVDGpTBWTyknFFyonKlPFpDJVTConKjdVnKhMFZPKScWkMqlMFf9PHtZa65KHtda65GGttS754ZdV/CaVqWJS+UJlqjhROamYVCaVE5WpYlKZKt6oeEPlpGJSmSreUJkq3lCZKt6omFTeqLip4t/kYa21LnlYa61LHtZa65IfLlP5L1GZKt5QmSomlTcqJpWpYlKZKiaVqeINlaniDZWpYlKZKiaVqWJSmSpOKiaVqWJSmSpuUpkqTlT+zR7WWuuSh7XWuuRhrbUu+eGjin+zipOKSeWNikllqjipmFS+UJkqJpU3Kr6omFROVN6omFSmikllqphUpopJZaqYVKaKSeWNiv+Sh7XWuuRhrbUueVhrrUvsD36RyhsVk8pUMamcVJyofFHxhcpJxaQyVUwqU8Wk8jdVnKhMFZPKGxVvqJxU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HqUwVv0llqjhRmSpOVKaKSWWqmFSmihOVqeINlaliUpkqJpWTikllqjhROak4UfmbKt5QOan4mx7WWuuSh7XWuuRhrbUu+eEjlb+pYqqYVE4q3lCZKiaVL1SmikllqphUpooTlTdUporfVHFSMam8UTGpTBUnFTepnKhMFW+onFTc9LDWWpc8rLXWJQ9rrXXJD5dV3KTyRsWk8obKP0llqnhD5aaKN1SmipOKSWWqOKmYVKaKN1Smiknlb6p4o2JS+Zse1lrrkoe11rrkYa21Lvnhl6m8UfGGym+qmFROKiaVSWWqOFE5qZhUvlD5omJS+UJlqphUpopJ5aRiUnmjYlKZKiaVE5UvVN5QmSq+eFhrrUse1lrrkoe11rrkh/9zFZPKScVJxYnKVPGbVKaKSWWqmFROKiaVqeKkYlKZKk5UTiomlZOKk4qTikllqphUTipOVKaKm1RuelhrrUse1lrrkoe11rrkh/8zFZPKVDGpTConFZPKVDGpnFRMKlPFpDJVfFExqZxUnKi8oXJSMalMFVPFFyonFVPFpDJVnKhMFVPFpPJFxW96WGutSx7WWuuSh7XWuuSHX1bxmyomlaliUnmj4qRiUpkqJpWTipOKSWWqOFF5Q+WkYqqYVKaKSeVE5QuVqWJSmSreUJkqJpWTikllqpgq/s0e1lrrkoe11rrkYa21LvnhMpV/UsWkMlVMKicqJxVTxRcqU8VJxRsVJypTxRsqX1S8oTJVnKhMFZPKScVUMalMFScqU8WkclIxqfyTHtZa65KHtda65GGttS6xP1hrrQse1lrrkoe11rrkYa21LnlYa61LHtZa65KHtda65GGttS55WGutSx7WWuuSh7XWuuRhrbUueVhrrUse1lrrkoe11rrkYa21Lvkf/C+HzIiJCzEAAAAASUVORK5CYII=",
324
+ alt: "QRCode",
325
+ srcSet: ""
423
326
  }
424
- ), /* @__PURE__ */ import_react.default.createElement(
425
- "a",
327
+ )), /* @__PURE__ */ import_react.default.createElement(
328
+ "form",
426
329
  {
427
- tabIndex: 0,
428
- role: "button",
429
- "data-toggle": "popover",
430
- "data-trigger": "focus",
431
- "data-placement": "left",
432
- "data-content": "Enter the ZIP/Postal code for your credit card billing address."
330
+ id: "PaymentForm",
331
+ className: "payment-form",
332
+ onSubmit: handleSubmit
433
333
  },
434
- /* @__PURE__ */ import_react.default.createElement("i", { className: "fa fa-question-circle" })
435
- ), /* @__PURE__ */ import_react.default.createElement(
436
- "span",
437
- {
438
- id: "ZIPCode-error",
439
- style: { color: "red", display: "none" }
440
- },
441
- "This field is required"
442
- ))),
443
- /* @__PURE__ */ import_react.default.createElement(
444
- "button",
334
+ /* @__PURE__ */ import_react.default.createElement(
335
+ "input",
336
+ {
337
+ type: "hidden",
338
+ id: "dctoken",
339
+ defaultValue: dcToken,
340
+ name: "dctoken"
341
+ }
342
+ ),
343
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "form-group top-amnt" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "amtleft" }, /* @__PURE__ */ import_react.default.createElement("label", { htmlFor: "Amount" }, "Payment amount"), /* @__PURE__ */ import_react.default.createElement("div", { className: "amount-placeholder" }, /* @__PURE__ */ import_react.default.createElement("span", null, "$"), /* @__PURE__ */ import_react.default.createElement("span", null, " ", amount || 1, " "))), /* @__PURE__ */ import_react.default.createElement("div", { className: "card-row" }, /* @__PURE__ */ import_react.default.createElement("span", { className: "visa" }), /* @__PURE__ */ import_react.default.createElement("span", { className: "mastercard" }), /* @__PURE__ */ import_react.default.createElement("span", { className: "amex" }), /* @__PURE__ */ import_react.default.createElement("span", { className: "discover" }))),
344
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "form-group" }, /* @__PURE__ */ import_react.default.createElement("label", { htmlFor: "NameOnCard" }, "Name on card"), /* @__PURE__ */ import_react.default.createElement(
345
+ "input",
346
+ {
347
+ "data-token": "name",
348
+ id: "NameOnCard",
349
+ className: "form-control required",
350
+ type: "text",
351
+ maxLength: 100,
352
+ placeholder: "name",
353
+ value: formData == null ? void 0 : formData.name,
354
+ onChange: handleChange
355
+ }
356
+ ), /* @__PURE__ */ import_react.default.createElement(
357
+ "span",
358
+ {
359
+ id: "NameOnCard-error",
360
+ style: { color: "red" }
361
+ }
362
+ )),
363
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "form-group" }, /* @__PURE__ */ import_react.default.createElement(
364
+ "input",
365
+ {
366
+ "data-token": "card_number",
367
+ className: "null card-image form-control required",
368
+ type: "text",
369
+ maxLength: 19,
370
+ placeholder: "0000 0000 0000 0000",
371
+ value: handleCardFormat(formData == null ? void 0 : formData.card_number),
372
+ onChange: handleChange
373
+ }
374
+ ), error.card_number && /* @__PURE__ */ import_react.default.createElement(
375
+ "span",
376
+ {
377
+ id: "card_number-error",
378
+ style: { color: "red" }
379
+ },
380
+ error.card_number
381
+ )),
382
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "expiry-date-group form-group" }, /* @__PURE__ */ import_react.default.createElement(
383
+ "input",
384
+ {
385
+ "data-token": "exp_month",
386
+ className: "form-control required",
387
+ type: "text",
388
+ placeholder: "MM",
389
+ maxLength: 2,
390
+ value: formData == null ? void 0 : formData.exp_month,
391
+ onChange: handleChange
392
+ }
393
+ ), error.exp_month && /* @__PURE__ */ import_react.default.createElement(
394
+ "span",
395
+ {
396
+ id: "exp_month-error",
397
+ style: { color: "red" }
398
+ },
399
+ error.exp_month
400
+ )),
401
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "expiry-date-group form-group" }, /* @__PURE__ */ import_react.default.createElement(
402
+ "input",
403
+ {
404
+ "data-token": "exp_year",
405
+ className: "form-control required",
406
+ type: "text",
407
+ placeholder: "YYYY",
408
+ maxLength: 4,
409
+ value: formData == null ? void 0 : formData.exp_year,
410
+ onChange: handleChange
411
+ }
412
+ ), error.exp_year && /* @__PURE__ */ import_react.default.createElement(
413
+ "span",
414
+ {
415
+ id: "exp_year-error",
416
+ style: { color: "red" }
417
+ },
418
+ error.exp_year
419
+ )),
420
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "security-code-group form-group" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "input-container" }, /* @__PURE__ */ import_react.default.createElement(
421
+ "input",
422
+ {
423
+ "data-token": "cvv",
424
+ className: "form-control required",
425
+ type: "text",
426
+ maxLength: 4,
427
+ placeholder: "CVC",
428
+ value: formData == null ? void 0 : formData.cvv,
429
+ onChange: handleChange
430
+ }
431
+ ), /* @__PURE__ */ import_react.default.createElement("i", { id: "cvc", className: "fa fa-question-circle" })), error.cvv && /* @__PURE__ */ import_react.default.createElement(
432
+ "span",
433
+ {
434
+ id: "cvv-error",
435
+ style: { color: "red" }
436
+ },
437
+ error.cvv
438
+ ), /* @__PURE__ */ import_react.default.createElement("div", { className: "cvc-preview-container two-card hide" }, /* @__PURE__ */ import_react.default.createElement("div", { className: "amex-cvc-preview" }), /* @__PURE__ */ import_react.default.createElement("div", { className: "visa-mc-dis-cvc-preview" }))),
439
+ /* @__PURE__ */ import_react.default.createElement("div", { className: "zip-code-group form-group" }, /* @__PURE__ */ import_react.default.createElement("label", { htmlFor: "ZIPCode" }, "Postal code"), /* @__PURE__ */ import_react.default.createElement("div", { className: "input-container" }, /* @__PURE__ */ import_react.default.createElement(
440
+ "input",
441
+ {
442
+ id: "ZIPCode",
443
+ "data-token": "zip",
444
+ className: "form-control required",
445
+ type: "text",
446
+ maxLength: 7,
447
+ placeholder: "000000",
448
+ value: formData == null ? void 0 : formData.zip,
449
+ onChange: handleChange
450
+ }
451
+ ), /* @__PURE__ */ import_react.default.createElement(
452
+ "a",
453
+ {
454
+ tabIndex: 0,
455
+ role: "button",
456
+ "data-toggle": "popover",
457
+ "data-trigger": "focus",
458
+ "data-placement": "left",
459
+ "data-content": "Enter the ZIP/Postal code for your credit card billing address."
460
+ },
461
+ /* @__PURE__ */ import_react.default.createElement("i", { className: "fa fa-question-circle" })
462
+ ), /* @__PURE__ */ import_react.default.createElement(
463
+ "span",
464
+ {
465
+ id: "ZIPCode-error",
466
+ style: { color: "red", display: "none" }
467
+ },
468
+ "This field is required"
469
+ ))),
470
+ /* @__PURE__ */ import_react.default.createElement(
471
+ "button",
472
+ {
473
+ id: "PayButton",
474
+ className: "btn btn-block btn-success submit-button",
475
+ type: "submit"
476
+ },
477
+ /* @__PURE__ */ import_react.default.createElement("span", { className: "submit-button-lock" }),
478
+ /* @__PURE__ */ import_react.default.createElement("span", { className: "align-middle" }, "Pay $", amount || 1)
479
+ )
480
+ ), /* @__PURE__ */ import_react.default.createElement("div", { className: "powerd-by-part", style: {
481
+ display: "flex",
482
+ fontSize: "12px",
483
+ textAlign: "center",
484
+ alignItems: "center",
485
+ justifyContent: "center",
486
+ margin: "8px 0 20px 0"
487
+ } }, /* @__PURE__ */ import_react.default.createElement(
488
+ "svg",
445
489
  {
446
- id: "PayButton",
447
- className: "btn btn-block btn-success submit-button",
448
- type: "submit"
490
+ xmlns: "http://www.w3.org/2000/svg",
491
+ width: 20,
492
+ height: 20,
493
+ viewBox: "0 0 26 26"
449
494
  },
450
- /* @__PURE__ */ import_react.default.createElement("span", { className: "submit-button-lock" }),
451
- /* @__PURE__ */ import_react.default.createElement("span", { className: "align-middle" }, "Pay $1.00")
452
- )
453
- ), /* @__PURE__ */ import_react.default.createElement("div", { className: "powerd-by-part", style: {
454
- display: "flex",
455
- fontSize: "12px",
456
- textAlign: "center",
457
- alignItems: "center",
458
- justifyContent: "center",
459
- margin: "8px 0 20px 0"
460
- } }, /* @__PURE__ */ import_react.default.createElement(
461
- "svg",
462
- {
463
- xmlns: "http://www.w3.org/2000/svg",
464
- width: 20,
465
- height: 20,
466
- viewBox: "0 0 26 26"
467
- },
468
- /* @__PURE__ */ import_react.default.createElement(
469
- "path",
495
+ /* @__PURE__ */ import_react.default.createElement(
496
+ "path",
497
+ {
498
+ fill: "currentColor",
499
+ d: "M23.633 5.028a1.074 1.074 0 0 0-.777-.366c-2.295-.06-5.199-2.514-7.119-3.477C14.551.592 13.768.201 13.18.098a1.225 1.225 0 0 0-.36.001c-.588.103-1.371.494-2.556 1.087c-1.92.962-4.824 3.416-7.119 3.476a1.08 1.08 0 0 0-.778.366a1.167 1.167 0 0 0-.291.834c.493 10.023 4.088 16.226 10.396 19.831c.164.093.346.141.527.141s.363-.048.528-.141c6.308-3.605 9.902-9.808 10.396-19.831a1.161 1.161 0 0 0-.29-.834zM18.617 8.97l-5.323 7.855c-.191.282-.491.469-.788.469c-.298 0-.629-.163-.838-.372l-3.752-3.753a.656.656 0 0 1 0-.926l.927-.929a.658.658 0 0 1 .926 0l2.44 2.44l4.239-6.257a.657.657 0 0 1 .91-.173l1.085.736a.657.657 0 0 1 .174.91z"
500
+ }
501
+ )
502
+ ), "Secure payments powered by Fractal", /* @__PURE__ */ import_react.default.createElement(
503
+ "img",
470
504
  {
471
- fill: "currentColor",
472
- d: "M23.633 5.028a1.074 1.074 0 0 0-.777-.366c-2.295-.06-5.199-2.514-7.119-3.477C14.551.592 13.768.201 13.18.098a1.225 1.225 0 0 0-.36.001c-.588.103-1.371.494-2.556 1.087c-1.92.962-4.824 3.416-7.119 3.476a1.08 1.08 0 0 0-.778.366a1.167 1.167 0 0 0-.291.834c.493 10.023 4.088 16.226 10.396 19.831c.164.093.346.141.527.141s.363-.048.528-.141c6.308-3.605 9.902-9.808 10.396-19.831a1.161 1.161 0 0 0-.29-.834zM18.617 8.97l-5.323 7.855c-.191.282-.491.469-.788.469c-.298 0-.629-.163-.838-.372l-3.752-3.753a.656.656 0 0 1 0-.926l.927-.929a.658.658 0 0 1 .926 0l2.44 2.44l4.239-6.257a.657.657 0 0 1 .91-.173l1.085.736a.657.657 0 0 1 .174.91z"
473
- }
474
- )
475
- ), "Secure payments powered by Fractal", /* @__PURE__ */ import_react.default.createElement(
476
- "img",
477
- {
478
- src: "https://ui.fractalpay.com/favicon.ico",
479
- alt: "Fractal logo",
480
- className: "powered-logo",
481
- style: {
482
- width: "18px",
483
- height: "18px",
484
- float: "right",
485
- padding: "2px",
486
- background: "#000",
487
- borderRadius: "4px",
488
- marginLeft: "5px"
505
+ src: "https://ui.fractalpay.com/favicon.ico",
506
+ alt: "Fractal logo",
507
+ className: "powered-logo",
508
+ style: {
509
+ width: "18px",
510
+ height: "18px",
511
+ float: "right",
512
+ padding: "2px",
513
+ background: "#000",
514
+ borderRadius: "4px",
515
+ marginLeft: "5px"
516
+ }
489
517
  }
490
- }
491
- ))))))))))));
518
+ ))))))))))))
519
+ ));
492
520
  }
493
521
  // Annotate the CommonJS export names for ESM import in node:
494
522
  0 && (module.exports = {
package/dist/index.css CHANGED
@@ -13,11 +13,10 @@ input::placeholder {
13
13
  height: 100vh;
14
14
  }
15
15
  .payment-popup {
16
- padding: 35px 40px;
16
+ padding: 0px;
17
17
  background: #fff;
18
18
  border-radius: 20px;
19
19
  position: relative;
20
- width: 400px;
21
20
  margin: 0 auto;
22
21
  }
23
22
  @media (max-width:460px) {