@pinerohit11/testwidget 0.1.10 → 0.1.11
Sign up to get free protection for your applications and to get access to all the features.
- package/.next/cache/webpack/client-development/0.pack.gz +0 -0
- package/.next/cache/webpack/client-development/1.pack.gz +0 -0
- package/.next/cache/webpack/client-development/10.pack.gz +0 -0
- package/.next/cache/webpack/client-development/2.pack.gz +0 -0
- package/.next/cache/webpack/client-development/3.pack.gz +0 -0
- package/.next/cache/webpack/client-development/4.pack.gz +0 -0
- package/.next/cache/webpack/client-development/5.pack.gz +0 -0
- package/.next/cache/webpack/client-development/6.pack.gz +0 -0
- package/.next/cache/webpack/client-development/index.pack.gz +0 -0
- package/.next/cache/webpack/client-development/index.pack.gz.old +0 -0
- package/.next/cache/webpack/server-development/0.pack.gz +0 -0
- package/.next/cache/webpack/server-development/1.pack.gz +0 -0
- package/.next/cache/webpack/server-development/10.pack.gz +0 -0
- package/.next/cache/webpack/server-development/11.pack.gz +0 -0
- package/.next/cache/webpack/server-development/12.pack.gz +0 -0
- package/.next/cache/webpack/server-development/13.pack.gz +0 -0
- package/.next/cache/webpack/server-development/3.pack.gz +0 -0
- package/.next/cache/webpack/server-development/6.pack.gz +0 -0
- package/.next/cache/webpack/server-development/7.pack.gz +0 -0
- package/.next/cache/webpack/server-development/9.pack.gz +0 -0
- package/.next/cache/webpack/server-development/index.pack.gz +0 -0
- package/.next/cache/webpack/server-development/index.pack.gz.old +0 -0
- package/.next/server/vendor-chunks/next.js +5 -5
- package/.next/server/webpack-runtime.js +1 -1
- package/.next/static/chunks/app/layout.js +3 -3
- package/.next/static/chunks/app-pages-internals.js +1 -1
- package/.next/static/chunks/main-app.js +5 -5
- package/.next/static/chunks/webpack.js +1 -1
- package/.next/static/webpack/app/{layout.2d35c83f0037d0e3.hot-update.js → layout.5ff03b504f4dc152.hot-update.js} +2 -2
- package/.next/static/webpack/app/{layout.eabe83a6bd680d72.hot-update.js → layout.e1d7a6f7992b7b70.hot-update.js} +2 -2
- package/.next/static/webpack/{webpack.1f1fe21203e4c68b.hot-update.js → webpack.5ff03b504f4dc152.hot-update.js} +1 -1
- package/.next/static/webpack/{webpack.213fdb98a15e3455.hot-update.js → webpack.e1d7a6f7992b7b70.hot-update.js} +1 -1
- package/.next/trace +14 -116
- package/dist/{index.mjs → index.cjs} +75 -41
- package/dist/index.js +41 -75
- package/package.json +4 -3
- package/.next/static/webpack/0463e0d10a76f0e1.webpack.hot-update.json +0 -1
- package/.next/static/webpack/14eb1ee43b84ca5f.webpack.hot-update.json +0 -1
- package/.next/static/webpack/1f1fe21203e4c68b.webpack.hot-update.json +0 -1
- package/.next/static/webpack/213fdb98a15e3455.webpack.hot-update.json +0 -1
- package/.next/static/webpack/255aea9c6475b746.webpack.hot-update.json +0 -1
- package/.next/static/webpack/309e2d9634152b60.webpack.hot-update.json +0 -1
- package/.next/static/webpack/329e12e211658503.webpack.hot-update.json +0 -1
- package/.next/static/webpack/456a8cdc4e32bb1b.webpack.hot-update.json +0 -1
- package/.next/static/webpack/4a9375b8e793c38e.webpack.hot-update.json +0 -1
- package/.next/static/webpack/500c5340fb4c6cd5.webpack.hot-update.json +0 -1
- package/.next/static/webpack/5031cfaa2d3d892d.webpack.hot-update.json +0 -1
- package/.next/static/webpack/51f0e2a03e8d18a6.webpack.hot-update.json +0 -1
- package/.next/static/webpack/5ad56258b0e90bef.webpack.hot-update.json +0 -1
- package/.next/static/webpack/5c7e83ae2adb882e.webpack.hot-update.json +0 -1
- package/.next/static/webpack/5c8dada5acec56f7.webpack.hot-update.json +0 -1
- package/.next/static/webpack/5e709b5694e5ad26.webpack.hot-update.json +0 -1
- package/.next/static/webpack/6246449706d4b449.webpack.hot-update.json +0 -1
- package/.next/static/webpack/6498563004a57942.webpack.hot-update.json +0 -1
- package/.next/static/webpack/65c43818d6f690fe.webpack.hot-update.json +0 -1
- package/.next/static/webpack/681ce36f0645d689.webpack.hot-update.json +0 -1
- package/.next/static/webpack/6f00711e3d258954.webpack.hot-update.json +0 -1
- package/.next/static/webpack/81f6646c28a82804.webpack.hot-update.json +0 -1
- package/.next/static/webpack/8522f92ca02de0c8.webpack.hot-update.json +0 -1
- package/.next/static/webpack/8894e91a6b3fd5cb.webpack.hot-update.json +0 -1
- package/.next/static/webpack/893ddc36c19de1ea.webpack.hot-update.json +0 -1
- package/.next/static/webpack/896c5501cdf537b3.webpack.hot-update.json +0 -1
- package/.next/static/webpack/8cc442b31ec27e60.webpack.hot-update.json +0 -1
- package/.next/static/webpack/8ed684f639abe58b.webpack.hot-update.json +0 -1
- package/.next/static/webpack/97615cc2d368fba4.webpack.hot-update.json +0 -1
- package/.next/static/webpack/9775f51aeb80d3b2.webpack.hot-update.json +0 -1
- package/.next/static/webpack/9bbf208246a2eebb.webpack.hot-update.json +0 -1
- package/.next/static/webpack/a74f1afad4b7a8a2.webpack.hot-update.json +0 -1
- package/.next/static/webpack/aed2ae614f6605ed.webpack.hot-update.json +0 -1
- package/.next/static/webpack/app/layout.228b69a2a9a20202.hot-update.js +0 -22
- package/.next/static/webpack/app/layout.456a8cdc4e32bb1b.hot-update.js +0 -22
- package/.next/static/webpack/app/layout.8894e91a6b3fd5cb.hot-update.js +0 -22
- package/.next/static/webpack/app/layout.a74f1afad4b7a8a2.hot-update.js +0 -98
- package/.next/static/webpack/app/layout.bb4485d5c54b0ed1.hot-update.js +0 -22
- package/.next/static/webpack/app/layout.e5533e94660e066c.hot-update.js +0 -31
- package/.next/static/webpack/app/layout.f3f79b681eb03ce7.hot-update.js +0 -22
- package/.next/static/webpack/app/page.0463e0d10a76f0e1.hot-update.js +0 -22
- package/.next/static/webpack/app/page.14eb1ee43b84ca5f.hot-update.js +0 -22
- package/.next/static/webpack/app/page.1f1fe21203e4c68b.hot-update.js +0 -21
- package/.next/static/webpack/app/page.213fdb98a15e3455.hot-update.js +0 -22
- package/.next/static/webpack/app/page.255aea9c6475b746.hot-update.js +0 -22
- package/.next/static/webpack/app/page.309e2d9634152b60.hot-update.js +0 -22
- package/.next/static/webpack/app/page.329e12e211658503.hot-update.js +0 -22
- package/.next/static/webpack/app/page.4a9375b8e793c38e.hot-update.js +0 -22
- package/.next/static/webpack/app/page.500c5340fb4c6cd5.hot-update.js +0 -22
- package/.next/static/webpack/app/page.5031cfaa2d3d892d.hot-update.js +0 -22
- package/.next/static/webpack/app/page.51f0e2a03e8d18a6.hot-update.js +0 -22
- package/.next/static/webpack/app/page.5ad56258b0e90bef.hot-update.js +0 -22
- package/.next/static/webpack/app/page.5c7e83ae2adb882e.hot-update.js +0 -22
- package/.next/static/webpack/app/page.5c8dada5acec56f7.hot-update.js +0 -22
- package/.next/static/webpack/app/page.5e709b5694e5ad26.hot-update.js +0 -22
- package/.next/static/webpack/app/page.6246449706d4b449.hot-update.js +0 -22
- package/.next/static/webpack/app/page.6498563004a57942.hot-update.js +0 -22
- package/.next/static/webpack/app/page.65c43818d6f690fe.hot-update.js +0 -22
- package/.next/static/webpack/app/page.681ce36f0645d689.hot-update.js +0 -22
- package/.next/static/webpack/app/page.6f00711e3d258954.hot-update.js +0 -22
- package/.next/static/webpack/app/page.81f6646c28a82804.hot-update.js +0 -22
- package/.next/static/webpack/app/page.8522f92ca02de0c8.hot-update.js +0 -54
- package/.next/static/webpack/app/page.893ddc36c19de1ea.hot-update.js +0 -22
- package/.next/static/webpack/app/page.896c5501cdf537b3.hot-update.js +0 -22
- package/.next/static/webpack/app/page.8cc442b31ec27e60.hot-update.js +0 -22
- package/.next/static/webpack/app/page.8ed684f639abe58b.hot-update.js +0 -603
- package/.next/static/webpack/app/page.97615cc2d368fba4.hot-update.js +0 -22
- package/.next/static/webpack/app/page.9775f51aeb80d3b2.hot-update.js +0 -22
- package/.next/static/webpack/app/page.9bbf208246a2eebb.hot-update.js +0 -22
- package/.next/static/webpack/app/page.aed2ae614f6605ed.hot-update.js +0 -22
- package/.next/static/webpack/app/page.b4b25d4db23dbc5a.hot-update.js +0 -22
- package/.next/static/webpack/app/page.b728482f9b82d921.hot-update.js +0 -571
- package/.next/static/webpack/app/page.b7a42026022db1f3.hot-update.js +0 -22
- package/.next/static/webpack/app/page.b90118a4d57e76ad.hot-update.js +0 -54
- package/.next/static/webpack/app/page.c0a3bb4128bc91cb.hot-update.js +0 -22
- package/.next/static/webpack/app/page.c5880161e6d8c38b.hot-update.js +0 -22
- package/.next/static/webpack/app/page.c91faac87e6e5e7d.hot-update.js +0 -21
- package/.next/static/webpack/app/page.cb281b61855d3afc.hot-update.js +0 -22
- package/.next/static/webpack/app/page.cc723ec7106788b2.hot-update.js +0 -22
- package/.next/static/webpack/app/page.d00ead7a6d6dd27a.hot-update.js +0 -22
- package/.next/static/webpack/app/page.d5492b6ce3aff19a.hot-update.js +0 -22
- package/.next/static/webpack/app/page.e1a0b7850e69b555.hot-update.js +0 -22
- package/.next/static/webpack/app/page.e6094793daace46f.hot-update.js +0 -22
- package/.next/static/webpack/app/page.ef9190246958611b.hot-update.js +0 -22
- package/.next/static/webpack/b4b25d4db23dbc5a.webpack.hot-update.json +0 -1
- package/.next/static/webpack/b728482f9b82d921.webpack.hot-update.json +0 -1
- package/.next/static/webpack/b7a42026022db1f3.webpack.hot-update.json +0 -1
- package/.next/static/webpack/b90118a4d57e76ad.webpack.hot-update.json +0 -1
- package/.next/static/webpack/bb4485d5c54b0ed1.webpack.hot-update.json +0 -1
- package/.next/static/webpack/c0a3bb4128bc91cb.webpack.hot-update.json +0 -1
- package/.next/static/webpack/c5880161e6d8c38b.webpack.hot-update.json +0 -1
- package/.next/static/webpack/c91faac87e6e5e7d.webpack.hot-update.json +0 -1
- package/.next/static/webpack/cb281b61855d3afc.webpack.hot-update.json +0 -1
- package/.next/static/webpack/cc723ec7106788b2.webpack.hot-update.json +0 -1
- package/.next/static/webpack/d00ead7a6d6dd27a.webpack.hot-update.json +0 -1
- package/.next/static/webpack/d5492b6ce3aff19a.webpack.hot-update.json +0 -1
- package/.next/static/webpack/e1a0b7850e69b555.webpack.hot-update.json +0 -1
- package/.next/static/webpack/e5533e94660e066c.webpack.hot-update.json +0 -1
- package/.next/static/webpack/e6094793daace46f.webpack.hot-update.json +0 -1
- package/.next/static/webpack/eabe83a6bd680d72.webpack.hot-update.json +0 -1
- package/.next/static/webpack/ef9190246958611b.webpack.hot-update.json +0 -1
- package/.next/static/webpack/f3f79b681eb03ce7.webpack.hot-update.json +0 -1
- package/.next/static/webpack/webpack.0463e0d10a76f0e1.hot-update.js +0 -18
- package/.next/static/webpack/webpack.14eb1ee43b84ca5f.hot-update.js +0 -18
- package/.next/static/webpack/webpack.228b69a2a9a20202.hot-update.js +0 -18
- package/.next/static/webpack/webpack.255aea9c6475b746.hot-update.js +0 -18
- package/.next/static/webpack/webpack.2d35c83f0037d0e3.hot-update.js +0 -18
- package/.next/static/webpack/webpack.309e2d9634152b60.hot-update.js +0 -18
- package/.next/static/webpack/webpack.329e12e211658503.hot-update.js +0 -18
- package/.next/static/webpack/webpack.456a8cdc4e32bb1b.hot-update.js +0 -18
- package/.next/static/webpack/webpack.4a9375b8e793c38e.hot-update.js +0 -18
- package/.next/static/webpack/webpack.500c5340fb4c6cd5.hot-update.js +0 -18
- package/.next/static/webpack/webpack.5031cfaa2d3d892d.hot-update.js +0 -18
- package/.next/static/webpack/webpack.51f0e2a03e8d18a6.hot-update.js +0 -18
- package/.next/static/webpack/webpack.5ad56258b0e90bef.hot-update.js +0 -18
- package/.next/static/webpack/webpack.5c7e83ae2adb882e.hot-update.js +0 -18
- package/.next/static/webpack/webpack.5c8dada5acec56f7.hot-update.js +0 -18
- package/.next/static/webpack/webpack.5e709b5694e5ad26.hot-update.js +0 -18
- package/.next/static/webpack/webpack.6246449706d4b449.hot-update.js +0 -18
- package/.next/static/webpack/webpack.6498563004a57942.hot-update.js +0 -18
- package/.next/static/webpack/webpack.65c43818d6f690fe.hot-update.js +0 -18
- package/.next/static/webpack/webpack.681ce36f0645d689.hot-update.js +0 -18
- package/.next/static/webpack/webpack.6f00711e3d258954.hot-update.js +0 -18
- package/.next/static/webpack/webpack.81f6646c28a82804.hot-update.js +0 -18
- package/.next/static/webpack/webpack.8522f92ca02de0c8.hot-update.js +0 -30
- package/.next/static/webpack/webpack.8894e91a6b3fd5cb.hot-update.js +0 -18
- package/.next/static/webpack/webpack.893ddc36c19de1ea.hot-update.js +0 -18
- package/.next/static/webpack/webpack.896c5501cdf537b3.hot-update.js +0 -18
- package/.next/static/webpack/webpack.8cc442b31ec27e60.hot-update.js +0 -18
- package/.next/static/webpack/webpack.8ed684f639abe58b.hot-update.js +0 -18
- package/.next/static/webpack/webpack.97615cc2d368fba4.hot-update.js +0 -18
- package/.next/static/webpack/webpack.9775f51aeb80d3b2.hot-update.js +0 -18
- package/.next/static/webpack/webpack.9bbf208246a2eebb.hot-update.js +0 -18
- package/.next/static/webpack/webpack.a74f1afad4b7a8a2.hot-update.js +0 -18
- package/.next/static/webpack/webpack.aed2ae614f6605ed.hot-update.js +0 -18
- package/.next/static/webpack/webpack.b4b25d4db23dbc5a.hot-update.js +0 -18
- package/.next/static/webpack/webpack.b728482f9b82d921.hot-update.js +0 -18
- package/.next/static/webpack/webpack.b7a42026022db1f3.hot-update.js +0 -18
- package/.next/static/webpack/webpack.b90118a4d57e76ad.hot-update.js +0 -30
- package/.next/static/webpack/webpack.bb4485d5c54b0ed1.hot-update.js +0 -18
- package/.next/static/webpack/webpack.c0a3bb4128bc91cb.hot-update.js +0 -18
- package/.next/static/webpack/webpack.c5880161e6d8c38b.hot-update.js +0 -18
- package/.next/static/webpack/webpack.c91faac87e6e5e7d.hot-update.js +0 -18
- package/.next/static/webpack/webpack.cb281b61855d3afc.hot-update.js +0 -18
- package/.next/static/webpack/webpack.cc723ec7106788b2.hot-update.js +0 -18
- package/.next/static/webpack/webpack.d00ead7a6d6dd27a.hot-update.js +0 -18
- package/.next/static/webpack/webpack.d5492b6ce3aff19a.hot-update.js +0 -18
- package/.next/static/webpack/webpack.e1a0b7850e69b555.hot-update.js +0 -18
- package/.next/static/webpack/webpack.e5533e94660e066c.hot-update.js +0 -18
- package/.next/static/webpack/webpack.e6094793daace46f.hot-update.js +0 -18
- package/.next/static/webpack/webpack.eabe83a6bd680d72.hot-update.js +0 -18
- package/.next/static/webpack/webpack.ef9190246958611b.hot-update.js +0 -18
- package/.next/static/webpack/webpack.f3f79b681eb03ce7.hot-update.js +0 -18
- package/.vscode/settings.json +0 -22
- /package/.next/static/webpack/{228b69a2a9a20202.webpack.hot-update.json → 5ff03b504f4dc152.webpack.hot-update.json} +0 -0
- /package/.next/static/webpack/{2d35c83f0037d0e3.webpack.hot-update.json → e1d7a6f7992b7b70.webpack.hot-update.json} +0 -0
- /package/dist/{index.d.mts → index.d.cts} +0 -0
package/dist/index.js
CHANGED
@@ -1,12 +1,7 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __create = Object.create;
|
3
1
|
var __defProp = Object.defineProperty;
|
4
2
|
var __defProps = Object.defineProperties;
|
5
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
6
3
|
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
7
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
8
4
|
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
9
|
-
var __getProtoOf = Object.getPrototypeOf;
|
10
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
11
6
|
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
12
7
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
@@ -22,46 +17,18 @@ var __spreadValues = (a, b) => {
|
|
22
17
|
return a;
|
23
18
|
};
|
24
19
|
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
25
|
-
var __export = (target, all) => {
|
26
|
-
for (var name in all)
|
27
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
28
|
-
};
|
29
|
-
var __copyProps = (to, from, except, desc) => {
|
30
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
31
|
-
for (let key of __getOwnPropNames(from))
|
32
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
33
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
34
|
-
}
|
35
|
-
return to;
|
36
|
-
};
|
37
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
38
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
39
|
-
// file that has been converted to a CommonJS file using a Babel-
|
40
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
41
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
42
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
43
|
-
mod
|
44
|
-
));
|
45
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
46
|
-
|
47
|
-
// src/app/index.ts
|
48
|
-
var app_exports = {};
|
49
|
-
__export(app_exports, {
|
50
|
-
PaywithFractal: () => PaywithFractal
|
51
|
-
});
|
52
|
-
module.exports = __toCommonJS(app_exports);
|
53
20
|
|
54
21
|
// src/app/components/Greet.tsx
|
55
|
-
|
56
|
-
|
22
|
+
import axios from "axios";
|
23
|
+
import React, { useState } from "react";
|
57
24
|
function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
58
25
|
const baseUrl = "http://192.168.1.52:8082/";
|
59
26
|
const masterBaseUrl = "http://192.168.1.52:8081/";
|
60
27
|
console.log(name, "name");
|
61
|
-
const [dcToken, setDcToken] =
|
62
|
-
const [error, setError] =
|
63
|
-
const [toggleQr, setToggleQr] =
|
64
|
-
const [formData, setFormData] =
|
28
|
+
const [dcToken, setDcToken] = useState("");
|
29
|
+
const [error, setError] = useState({});
|
30
|
+
const [toggleQr, setToggleQr] = useState(false);
|
31
|
+
const [formData, setFormData] = useState({
|
65
32
|
name: "John Doe",
|
66
33
|
card_number: "4761 7310 0000 0043",
|
67
34
|
exp_month: "12",
|
@@ -69,7 +36,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
69
36
|
cvv: "201",
|
70
37
|
zip: ""
|
71
38
|
});
|
72
|
-
const [loading, setLoading] =
|
39
|
+
const [loading, setLoading] = useState(false);
|
73
40
|
const handleSubmit = async (e) => {
|
74
41
|
var _a, _b, _c, _d, _e, _f, _g;
|
75
42
|
e.preventDefault();
|
@@ -84,7 +51,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
84
51
|
if (Object.keys(error).length < 1) {
|
85
52
|
try {
|
86
53
|
setLoading(true);
|
87
|
-
const res = await
|
54
|
+
const res = await axios.post(`${baseUrl}create-widget-order`, data, {
|
88
55
|
headers: {
|
89
56
|
"Content-Type": "application/json"
|
90
57
|
}
|
@@ -108,7 +75,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
108
75
|
postal_code: formData.zip
|
109
76
|
}, response);
|
110
77
|
try {
|
111
|
-
const resp = await
|
78
|
+
const resp = await axios.post(`${masterBaseUrl}quick-pay/${(_b2 = (_a2 = res.data) == null ? void 0 : _a2.data) == null ? void 0 : _b2.posSalesIdEncode}`, quickData, {
|
112
79
|
headers
|
113
80
|
});
|
114
81
|
setLoading(false);
|
@@ -231,7 +198,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
231
198
|
const handlePay = () => {
|
232
199
|
console.log("pay", name, baseUrl, masterBaseUrl);
|
233
200
|
};
|
234
|
-
return /* @__PURE__ */
|
201
|
+
return /* @__PURE__ */ React.createElement("div", { className: "bg-black" }, /* @__PURE__ */ React.createElement("div", { className: "container bg-black" }, /* @__PURE__ */ React.createElement("div", { className: "row bg-light no-gutters" }, /* @__PURE__ */ React.createElement("div", { className: "col-sm-12" }, /* @__PURE__ */ React.createElement("div", { className: "bd-example bd-example-tabs right-tabs mttabs m-3 " }, /* @__PURE__ */ React.createElement("div", { className: "payment-popup" }, /* @__PURE__ */ React.createElement("button", { className: "close-pop", style: { display: "none" } }, /* @__PURE__ */ React.createElement(
|
235
202
|
"svg",
|
236
203
|
{
|
237
204
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -239,7 +206,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
239
206
|
height: 37,
|
240
207
|
viewBox: "0 0 21 21"
|
241
208
|
},
|
242
|
-
/* @__PURE__ */
|
209
|
+
/* @__PURE__ */ React.createElement(
|
243
210
|
"path",
|
244
211
|
{
|
245
212
|
fill: "none",
|
@@ -249,14 +216,14 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
249
216
|
d: "m7.5 7.5l6 6m0-6l-6 6"
|
250
217
|
}
|
251
218
|
)
|
252
|
-
)), /* @__PURE__ */
|
219
|
+
)), /* @__PURE__ */ React.createElement("div", { className: "row" }, /* @__PURE__ */ React.createElement("div", { className: "comp-name" }, /* @__PURE__ */ React.createElement(
|
253
220
|
"img",
|
254
221
|
{
|
255
222
|
src: "https://invoicestaging.skysystemz.com/assets/products/65c49a2740ff1.png",
|
256
223
|
alt: "",
|
257
224
|
className: "client-logo"
|
258
225
|
}
|
259
|
-
)), /* @__PURE__ */
|
226
|
+
)), /* @__PURE__ */ React.createElement("div", { className: "" }, /* @__PURE__ */ React.createElement("div", { id: "Checkout", className: "inline" }, /* @__PURE__ */ React.createElement("div", { className: "header" }, /* @__PURE__ */ React.createElement("h1", null, "Pay"), /* @__PURE__ */ React.createElement(
|
260
227
|
"i",
|
261
228
|
{
|
262
229
|
className: "fa fa-qrcode fa-2x",
|
@@ -264,23 +231,23 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
264
231
|
title: "Show QR Code",
|
265
232
|
onClick: () => setToggleQr(!toggleQr)
|
266
233
|
}
|
267
|
-
)), /* @__PURE__ */
|
234
|
+
)), /* @__PURE__ */ React.createElement("div", { id: "qrCode", style: {
|
268
235
|
display: toggleQr ? "block" : "none"
|
269
|
-
} }, /* @__PURE__ */
|
236
|
+
} }, /* @__PURE__ */ React.createElement(
|
270
237
|
"img",
|
271
238
|
{
|
272
239
|
src: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARQAAAEUCAYAAADqcMl5AAAAAklEQVR4AewaftIAABJaSURBVO3BQY7gRhLAQFLo/3+ZO8c8FSCoemwvMsL+YK21LnhYa61LHtZa65KHtda65GGttS55WGutSx7WWuuSh7XWuuRhrbUueVhrrUse1lrrkoe11rrkYa21LnlYa61LHtZa65KHtda65IePVP6miknlpGJSualiUjmpOFGZKk5UpopJ5YuKE5WpYlI5qZhU3qiYVKaKSeWkYlI5qXhD5aRiUvmbKr54WGutSx7WWuuSh7XWuuSHyypuUvlNFW+oTCpTxRsqU8UXKlPFicqJylRxonJScVLxhspU8UbFGxX/pIqbVG56WGutSx7WWuuSh7XWuuSHX6byRsVNKlPFpPJGxW9SmSreqJhUTiomlROVk4ovVL5QOak4UTlR+TdReaPiNz2stdYlD2utdcnDWmtd8sN/XMWkMlVMKlPFpHKiMlWcqJxUTCqTyk0Vk8pJxaQyVUwqN1WcqEwVk8qk8kXFpPJGxaTy/+RhrbUueVhrrUse1lrrkh/+z6lMFScVN1VMKpPKVDGpTBWTyknFFyonKlPFpDJVTConKjdVnKhMFZPKScWkMqlMFf9PHtZa65KHtda65GGttS754ZdV/CaVqWJS+UJlqjhROamYVCaVE5WpYlKZKt6oeEPlpGJSmSreUJkq3lCZKt6omFTeqLip4t/kYa21LnlYa61LHtZa65IfLlP5L1GZKt5QmSomlTcqJpWpYlKZKiaVqeINlaniDZWpYlKZKiaVqWJSmSpOKiaVqWJSmSpuUpkqTlT+zR7WWuuSh7XWuuRhrbUu+eGjin+zipOKSeWNikllqjipmFS+UJkqJpU3Kr6omFROVN6omFSmikllqphUpopJZaqYVKaKSeWNiv+Sh7XWuuRhrbUueVhrrUvsD36RyhsVk8pUMamcVJyofFHxhcpJxaQyVUwqU8Wk8jdVnKhMFZPKGxVvqJxUnKhMFScqN1WcqLxR8cXDWmtd8rDWWpc8rLXWJT98pDJV3FQxqUwVN1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4UfmbKt5QOan4mx7WWuuSh7XWuuRhrbUu+eEjlb+pYqqYVE4q3lCZKiaVL1SmikllqphUpooTlTdUporfVHFSMam8UTGpTBUnFTepnKhMFW+onFTc9LDWWpc8rLXWJQ9rrXXJD5dV3KTyRsWk8obKP0llqnhD5aaKN1SmipOKSWWqOKmYVKaKN1Smiknlb6p4o2JS+Zse1lrrkoe11rrkYa21Lvnhl6m8UfGGym+qmFROKiaVSWWqOFE5qZhUvlD5omJS+UJlqphUpopJ5aRiUnmjYlKZKiaVE5UvVN5QmSq+eFhrrUse1lrrkoe11rrkh/9zFZPKScVJxYnKVPGbVKaKSWWqmFROKiaVqeKkYlKZKk5UTiomlZOKk4qTikllqphUTipOVKaKm1RuelhrrUse1lrrkoe11rrkh/8zFZPKVDGpTConFZPKVDGpnFRMKlPFpDJVfFExqZxUnKi8oXJSMalMFVPFFyonFVPFpDJVnKhMFVPFpPJFxW96WGutSx7WWuuSh7XWuuSHX1bxmyomlaliUnmj4qRiUpkqJpWTipOKSWWqOFF5Q+WkYqqYVKaKSeVE5QuVqWJSmSreUJkqJpWTikllqpgq/s0e1lrrkoe11rrkYa21LvnhMpV/UsWkMlVMKicqJxVTxRcqU8VJxRsVJypTxRsqX1S8oTJVnKhMFZPKScVUMalMFScqU8WkclIxqfyTHtZa65KHtda65GGttS6xP1hrrQse1lrrkoe11rrkYa21LnlYa61LHtZa65KHtda65GGttS55WGutSx7WWuuSh7XWuuRhrbUueVhrrUse1lrrkoe11rrkYa21Lvkf/C+HzIiJCzEAAAAASUVORK5CYII=",
|
273
240
|
alt: "QRCode",
|
274
241
|
srcSet: ""
|
275
242
|
}
|
276
|
-
)), /* @__PURE__ */
|
243
|
+
)), /* @__PURE__ */ React.createElement(
|
277
244
|
"form",
|
278
245
|
{
|
279
246
|
id: "PaymentForm",
|
280
247
|
className: "payment-form",
|
281
248
|
onSubmit: handleSubmit
|
282
249
|
},
|
283
|
-
/* @__PURE__ */
|
250
|
+
/* @__PURE__ */ React.createElement(
|
284
251
|
"input",
|
285
252
|
{
|
286
253
|
type: "hidden",
|
@@ -289,8 +256,8 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
289
256
|
name: "dctoken"
|
290
257
|
}
|
291
258
|
),
|
292
|
-
/* @__PURE__ */
|
293
|
-
/* @__PURE__ */
|
259
|
+
/* @__PURE__ */ React.createElement("div", { className: "form-group top-amnt" }, /* @__PURE__ */ React.createElement("div", { className: "amtleft" }, /* @__PURE__ */ React.createElement("label", { htmlFor: "Amount" }, "Payment amount"), /* @__PURE__ */ React.createElement("div", { className: "amount-placeholder" }, /* @__PURE__ */ React.createElement("span", null, "$"), /* @__PURE__ */ React.createElement("span", null, " 1.00 "))), /* @__PURE__ */ React.createElement("div", { className: "card-row" }, /* @__PURE__ */ React.createElement("span", { className: "visa" }), /* @__PURE__ */ React.createElement("span", { className: "mastercard" }), /* @__PURE__ */ React.createElement("span", { className: "amex" }), /* @__PURE__ */ React.createElement("span", { className: "discover" }))),
|
260
|
+
/* @__PURE__ */ React.createElement("div", { className: "form-group" }, /* @__PURE__ */ React.createElement("label", { htmlFor: "NameOnCard" }, "Name on card"), /* @__PURE__ */ React.createElement(
|
294
261
|
"input",
|
295
262
|
{
|
296
263
|
"data-token": "name",
|
@@ -302,14 +269,14 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
302
269
|
value: formData == null ? void 0 : formData.name,
|
303
270
|
onChange: handleChange
|
304
271
|
}
|
305
|
-
), /* @__PURE__ */
|
272
|
+
), /* @__PURE__ */ React.createElement(
|
306
273
|
"span",
|
307
274
|
{
|
308
275
|
id: "NameOnCard-error",
|
309
276
|
style: { color: "red" }
|
310
277
|
}
|
311
278
|
)),
|
312
|
-
/* @__PURE__ */
|
279
|
+
/* @__PURE__ */ React.createElement("div", { className: "form-group" }, /* @__PURE__ */ React.createElement(
|
313
280
|
"input",
|
314
281
|
{
|
315
282
|
"data-token": "card_number",
|
@@ -320,7 +287,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
320
287
|
value: handleCardFormat(formData == null ? void 0 : formData.card_number),
|
321
288
|
onChange: handleChange
|
322
289
|
}
|
323
|
-
), error.card_number && /* @__PURE__ */
|
290
|
+
), error.card_number && /* @__PURE__ */ React.createElement(
|
324
291
|
"span",
|
325
292
|
{
|
326
293
|
id: "card_number-error",
|
@@ -328,7 +295,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
328
295
|
},
|
329
296
|
error.card_number
|
330
297
|
)),
|
331
|
-
/* @__PURE__ */
|
298
|
+
/* @__PURE__ */ React.createElement("div", { className: "expiry-date-group form-group" }, /* @__PURE__ */ React.createElement(
|
332
299
|
"input",
|
333
300
|
{
|
334
301
|
"data-token": "exp_month",
|
@@ -339,7 +306,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
339
306
|
value: formData == null ? void 0 : formData.exp_month,
|
340
307
|
onChange: handleChange
|
341
308
|
}
|
342
|
-
), error.exp_month && /* @__PURE__ */
|
309
|
+
), error.exp_month && /* @__PURE__ */ React.createElement(
|
343
310
|
"span",
|
344
311
|
{
|
345
312
|
id: "exp_month-error",
|
@@ -347,7 +314,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
347
314
|
},
|
348
315
|
error.exp_month
|
349
316
|
)),
|
350
|
-
/* @__PURE__ */
|
317
|
+
/* @__PURE__ */ React.createElement("div", { className: "expiry-date-group form-group" }, /* @__PURE__ */ React.createElement(
|
351
318
|
"input",
|
352
319
|
{
|
353
320
|
"data-token": "exp_year",
|
@@ -358,7 +325,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
358
325
|
value: formData == null ? void 0 : formData.exp_year,
|
359
326
|
onChange: handleChange
|
360
327
|
}
|
361
|
-
), error.exp_year && /* @__PURE__ */
|
328
|
+
), error.exp_year && /* @__PURE__ */ React.createElement(
|
362
329
|
"span",
|
363
330
|
{
|
364
331
|
id: "exp_year-error",
|
@@ -366,7 +333,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
366
333
|
},
|
367
334
|
error.exp_year
|
368
335
|
)),
|
369
|
-
/* @__PURE__ */
|
336
|
+
/* @__PURE__ */ React.createElement("div", { className: "security-code-group form-group" }, /* @__PURE__ */ React.createElement("div", { className: "input-container" }, /* @__PURE__ */ React.createElement(
|
370
337
|
"input",
|
371
338
|
{
|
372
339
|
"data-token": "cvv",
|
@@ -377,15 +344,15 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
377
344
|
value: formData == null ? void 0 : formData.cvv,
|
378
345
|
onChange: handleChange
|
379
346
|
}
|
380
|
-
), /* @__PURE__ */
|
347
|
+
), /* @__PURE__ */ React.createElement("i", { id: "cvc", className: "fa fa-question-circle" })), error.cvv && /* @__PURE__ */ React.createElement(
|
381
348
|
"span",
|
382
349
|
{
|
383
350
|
id: "cvv-error",
|
384
351
|
style: { color: "red" }
|
385
352
|
},
|
386
353
|
error.cvv
|
387
|
-
), /* @__PURE__ */
|
388
|
-
/* @__PURE__ */
|
354
|
+
), /* @__PURE__ */ React.createElement("div", { className: "cvc-preview-container two-card hide" }, /* @__PURE__ */ React.createElement("div", { className: "amex-cvc-preview" }), /* @__PURE__ */ React.createElement("div", { className: "visa-mc-dis-cvc-preview" }))),
|
355
|
+
/* @__PURE__ */ React.createElement("div", { className: "zip-code-group form-group" }, /* @__PURE__ */ React.createElement("label", { htmlFor: "ZIPCode" }, "Postal code"), /* @__PURE__ */ React.createElement("div", { className: "input-container" }, /* @__PURE__ */ React.createElement(
|
389
356
|
"input",
|
390
357
|
{
|
391
358
|
id: "ZIPCode",
|
@@ -397,7 +364,7 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
397
364
|
value: formData == null ? void 0 : formData.zip,
|
398
365
|
onChange: handleChange
|
399
366
|
}
|
400
|
-
), /* @__PURE__ */
|
367
|
+
), /* @__PURE__ */ React.createElement(
|
401
368
|
"a",
|
402
369
|
{
|
403
370
|
tabIndex: 0,
|
@@ -407,8 +374,8 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
407
374
|
"data-placement": "left",
|
408
375
|
"data-content": "Enter the ZIP/Postal code for your credit card billing address."
|
409
376
|
},
|
410
|
-
/* @__PURE__ */
|
411
|
-
), /* @__PURE__ */
|
377
|
+
/* @__PURE__ */ React.createElement("i", { className: "fa fa-question-circle" })
|
378
|
+
), /* @__PURE__ */ React.createElement(
|
412
379
|
"span",
|
413
380
|
{
|
414
381
|
id: "ZIPCode-error",
|
@@ -416,17 +383,17 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
416
383
|
},
|
417
384
|
"This field is required"
|
418
385
|
))),
|
419
|
-
/* @__PURE__ */
|
386
|
+
/* @__PURE__ */ React.createElement(
|
420
387
|
"button",
|
421
388
|
{
|
422
389
|
id: "PayButton",
|
423
390
|
className: "btn btn-block btn-success submit-button",
|
424
391
|
type: "submit"
|
425
392
|
},
|
426
|
-
/* @__PURE__ */
|
427
|
-
/* @__PURE__ */
|
393
|
+
/* @__PURE__ */ React.createElement("span", { className: "submit-button-lock" }),
|
394
|
+
/* @__PURE__ */ React.createElement("span", { className: "align-middle" }, "Pay $1.00")
|
428
395
|
)
|
429
|
-
), /* @__PURE__ */
|
396
|
+
), /* @__PURE__ */ React.createElement("div", { className: "powerd-by-part" }, /* @__PURE__ */ React.createElement(
|
430
397
|
"svg",
|
431
398
|
{
|
432
399
|
xmlns: "http://www.w3.org/2000/svg",
|
@@ -434,14 +401,14 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
434
401
|
height: 20,
|
435
402
|
viewBox: "0 0 26 26"
|
436
403
|
},
|
437
|
-
/* @__PURE__ */
|
404
|
+
/* @__PURE__ */ React.createElement(
|
438
405
|
"path",
|
439
406
|
{
|
440
407
|
fill: "currentColor",
|
441
408
|
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"
|
442
409
|
}
|
443
410
|
)
|
444
|
-
), "Secure payments powered by Fractal", /* @__PURE__ */
|
411
|
+
), "Secure payments powered by Fractal", /* @__PURE__ */ React.createElement(
|
445
412
|
"img",
|
446
413
|
{
|
447
414
|
src: "https://ui.fractalpay.com/favicon.ico",
|
@@ -450,7 +417,6 @@ function PaywithFractal({ name, amount, orderId, fractalPayClientKey }) {
|
|
450
417
|
}
|
451
418
|
)))))))))));
|
452
419
|
}
|
453
|
-
|
454
|
-
0 && (module.exports = {
|
420
|
+
export {
|
455
421
|
PaywithFractal
|
456
|
-
}
|
422
|
+
};
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@pinerohit11/testwidget",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.11",
|
4
4
|
"private": false,
|
5
5
|
"scripts": {
|
6
6
|
"dev": "next dev",
|
@@ -37,5 +37,6 @@
|
|
37
37
|
"typescript",
|
38
38
|
"tailwindcss"
|
39
39
|
],
|
40
|
-
"main": "dist/index.js"
|
41
|
-
|
40
|
+
"main": "dist/index.js",
|
41
|
+
"type": "module"
|
42
|
+
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":["(app-pages-browser)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CPinesucceed%5C%5CDesktop%5C%5CWorkSpace%5C%5Ctestwidget%5C%5Csrc%5C%5Capp%5C%5Ccomponents%5C%5CGreet.tsx%22%2C%22ids%22%3A%5B%22PaywithFractal%22%5D%7D&server=false!","(app-pages-browser)/./node_modules/next/dist/compiled/react/cjs/react-jsx-dev-runtime.development.js","(app-pages-browser)/./node_modules/next/dist/compiled/react/jsx-dev-runtime.js","(app-pages-browser)/./src/app/components/Greet.tsx"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/layout","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":["(app-pages-browser)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?server=false!"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/layout","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":["(app-pages-browser)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?server=false!"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/layout","webpack"],"r":[],"m":["(app-pages-browser)/./node_modules/next/dist/build/webpack/loaders/next-flight-client-entry-loader.js?modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CPinesucceed%5C%5CDesktop%5C%5CWorkSpace%5C%5Ctestwidget%5C%5Cnode_modules%5C%5Cnext%5C%5Cfont%5C%5Clocal%5C%5Ctarget.css%3F%7B%5C%22path%5C%22%3A%5C%22src%5C%5C%5C%5Capp%5C%5C%5C%5Clayout.tsx%5C%22%2C%5C%22import%5C%22%3A%5C%22%5C%22%2C%5C%22arguments%5C%22%3A%5B%7B%5C%22src%5C%22%3A%5C%22.%2Ffonts%2FGeistVF.woff%5C%22%2C%5C%22variable%5C%22%3A%5C%22--font-geist-sans%5C%22%2C%5C%22weight%5C%22%3A%5C%22100%20900%5C%22%7D%5D%2C%5C%22variableName%5C%22%3A%5C%22geistSans%5C%22%7D%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CPinesucceed%5C%5CDesktop%5C%5CWorkSpace%5C%5Ctestwidget%5C%5Cnode_modules%5C%5Cnext%5C%5Cfont%5C%5Clocal%5C%5Ctarget.css%3F%7B%5C%22path%5C%22%3A%5C%22src%5C%5C%5C%5Capp%5C%5C%5C%5Clayout.tsx%5C%22%2C%5C%22import%5C%22%3A%5C%22%5C%22%2C%5C%22arguments%5C%22%3A%5B%7B%5C%22src%5C%22%3A%5C%22.%2Ffonts%2FGeistMonoVF.woff%5C%22%2C%5C%22variable%5C%22%3A%5C%22--font-geist-mono%5C%22%2C%5C%22weight%5C%22%3A%5C%22100%20900%5C%22%7D%5D%2C%5C%22variableName%5C%22%3A%5C%22geistMono%5C%22%7D%22%2C%22ids%22%3A%5B%5D%7D&modules=%7B%22request%22%3A%22C%3A%5C%5CUsers%5C%5CPinesucceed%5C%5CDesktop%5C%5CWorkSpace%5C%5Ctestwidget%5C%5Csrc%5C%5Capp%5C%5Cglobals.css%22%2C%22ids%22%3A%5B%5D%7D&server=false!"]}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"c":["app/page","webpack"],"r":[],"m":[]}
|
@@ -1,22 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/*
|
3
|
-
* ATTENTION: An "eval-source-map" devtool has been used.
|
4
|
-
* This devtool is neither made for production nor for readable output files.
|
5
|
-
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
|
6
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
7
|
-
* or disable the default devtool with "devtool: false".
|
8
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
9
|
-
*/
|
10
|
-
self["webpackHotUpdate_N_E"]("app/layout",{
|
11
|
-
|
12
|
-
/***/ "(app-pages-browser)/./src/app/globals.css":
|
13
|
-
/*!*****************************!*\
|
14
|
-
!*** ./src/app/globals.css ***!
|
15
|
-
\*****************************/
|
16
|
-
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
17
|
-
|
18
|
-
eval(__webpack_require__.ts("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (__WEBPACK_DEFAULT_EXPORT__)\n/* harmony export */ });\n/* harmony default export */ const __WEBPACK_DEFAULT_EXPORT__ = (\"6250a0ff1a9c\");\nif (true) { module.hot.accept() }\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKGFwcC1wYWdlcy1icm93c2VyKS8uL3NyYy9hcHAvZ2xvYmFscy5jc3MiLCJtYXBwaW5ncyI6Ijs7OztBQUFBLGlFQUFlLGNBQWM7QUFDN0IsSUFBSSxJQUFVLElBQUksaUJBQWlCIiwic291cmNlcyI6WyJDOlxcVXNlcnNcXFBpbmVzdWNjZWVkXFxEZXNrdG9wXFxXb3JrU3BhY2VcXHRlc3R3aWRnZXRcXHNyY1xcYXBwXFxnbG9iYWxzLmNzcyJdLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZGVmYXVsdCBcIjYyNTBhMGZmMWE5Y1wiXG5pZiAobW9kdWxlLmhvdCkgeyBtb2R1bGUuaG90LmFjY2VwdCgpIH1cbiJdLCJuYW1lcyI6W10sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(app-pages-browser)/./src/app/globals.css\n"));
|
19
|
-
|
20
|
-
/***/ })
|
21
|
-
|
22
|
-
});
|
@@ -1,22 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/*
|
3
|
-
* ATTENTION: An "eval-source-map" devtool has been used.
|
4
|
-
* This devtool is neither made for production nor for readable output files.
|
5
|
-
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
|
6
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
7
|
-
* or disable the default devtool with "devtool: false".
|
8
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
9
|
-
*/
|
10
|
-
self["webpackHotUpdate_N_E"]("app/layout",{
|
11
|
-
|
12
|
-
/***/ "(app-pages-browser)/./src/app/components/Datascript.tsx":
|
13
|
-
/*!*******************************************!*\
|
14
|
-
!*** ./src/app/components/Datascript.tsx ***!
|
15
|
-
\*******************************************/
|
16
|
-
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
17
|
-
|
18
|
-
eval(__webpack_require__.ts("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ DataScript)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(app-pages-browser)/./node_modules/next/dist/compiled/react/jsx-dev-runtime.js\");\n/* harmony import */ var next_script__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! next/script */ \"(app-pages-browser)/./node_modules/next/dist/api/script.js\");\n/* __next_internal_client_entry_do_not_use__ default auto */ \n\nfunction DataScript() {\n return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(next_script__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n src: \"https://token-cert.dcap.com/v1/client\",\n strategy: \"beforeInteractive\",\n onLoad: ()=>{\n if ( true && window.DatacapWebToken) {\n console.log(\"DatacapWebToken\", window.DatacapWebToken);\n } else {\n console.log(\"DatacapWebToken is not loaded yet.\");\n }\n }\n }, void 0, false, {\n fileName: \"C:\\\\Users\\\\Pinesucceed\\\\Desktop\\\\WorkSpace\\\\testwidget\\\\src\\\\app\\\\components\\\\Datascript.tsx\",\n lineNumber: 14,\n columnNumber: 7\n }, this);\n}\n_c = DataScript;\nvar _c;\n$RefreshReg$(_c, \"DataScript\");\n\n\n;\n // Wrapped in an IIFE to avoid polluting the global scope\n ;\n (function () {\n var _a, _b;\n // Legacy CSS implementations will `eval` browser code in a Node.js context\n // to extract CSS. For backwards compatibility, we need to check we're in a\n // browser context before continuing.\n if (typeof self !== 'undefined' &&\n // AMP / No-JS mode does not inject these helpers:\n '$RefreshHelpers$' in self) {\n // @ts-ignore __webpack_module__ is global\n var currentExports = module.exports;\n // @ts-ignore __webpack_module__ is global\n var prevSignature = (_b = (_a = module.hot.data) === null || _a === void 0 ? void 0 : _a.prevSignature) !== null && _b !== void 0 ? _b : null;\n // This cannot happen in MainTemplate because the exports mismatch between\n // templating and execution.\n self.$RefreshHelpers$.registerExportsForReactRefresh(currentExports, module.id);\n // A module can be accepted automatically based on its exports, e.g. when\n // it is a Refresh Boundary.\n if (self.$RefreshHelpers$.isReactRefreshBoundary(currentExports)) {\n // Save the previous exports signature on update so we can compare the boundary\n // signatures. We avoid saving exports themselves since it causes memory leaks (https://github.com/vercel/next.js/pull/53797)\n module.hot.dispose(function (data) {\n data.prevSignature =\n self.$RefreshHelpers$.getRefreshBoundarySignature(currentExports);\n });\n // Unconditionally accept an update to this module, we'll check if it's\n // still a Refresh Boundary later.\n // @ts-ignore importMeta is replaced in the loader\n module.hot.accept();\n // This field is set when the previous version of this module was a\n // Refresh Boundary, letting us know we need to check for invalidation or\n // enqueue an update.\n if (prevSignature !== null) {\n // A boundary can become ineligible if its exports are incompatible\n // with the previous exports.\n //\n // For example, if you add/remove/change exports, we'll want to\n // re-execute the importing modules, and force those components to\n // re-render. Similarly, if you convert a class component to a\n // function, we want to invalidate the boundary.\n if (self.$RefreshHelpers$.shouldInvalidateReactRefreshBoundary(prevSignature, self.$RefreshHelpers$.getRefreshBoundarySignature(currentExports))) {\n module.hot.invalidate();\n }\n else {\n self.$RefreshHelpers$.scheduleUpdate();\n }\n }\n }\n else {\n // Since we just executed the code for the module, it's possible that the\n // new exports made it ineligible for being a boundary.\n // We only care about the case when we were _previously_ a boundary,\n // because we already accepted this update (accidental side effect).\n var isNoLongerABoundary = prevSignature !== null;\n if (isNoLongerABoundary) {\n module.hot.invalidate();\n }\n }\n }\n })();\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKGFwcC1wYWdlcy1icm93c2VyKS8uL3NyYy9hcHAvY29tcG9uZW50cy9EYXRhc2NyaXB0LnRzeCIsIm1hcHBpbmdzIjoiOzs7Ozs7O0FBRWlDO0FBU2xCLFNBQVNDO0lBQ3RCLHFCQUNJLDhEQUFDRCxtREFBTUE7UUFDTEUsS0FBSTtRQUNKQyxVQUFTO1FBQ1RDLFFBQVE7WUFDTixJQUFJLEtBQTZCLElBQUlDLE9BQU9DLGVBQWUsRUFBRTtnQkFDM0RDLFFBQVFDLEdBQUcsQ0FBQyxtQkFBbUJILE9BQU9DLGVBQWU7WUFDdkQsT0FBTztnQkFDTEMsUUFBUUMsR0FBRyxDQUFDO1lBQ2Q7UUFDRjs7Ozs7O0FBR1I7S0Fkd0JQIiwic291cmNlcyI6WyJDOlxcVXNl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zb2xlLmxvZyhcIkRhdGFjYXBXZWJUb2tlbiBpcyBub3QgbG9hZGVkIHlldC5cIik7XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfX1cclxuICAgICAgLz5cclxuICApO1xyXG59XHJcbiJdLCJuYW1lcyI6WyJTY3JpcHQiLCJEYXRhU2NyaXB0Iiwic3JjIiwic3RyYXRlZ3kiLCJvbkxvYWQiLCJ3aW5kb3ciLCJEYXRhY2FwV2ViVG9rZW4iLCJjb25zb2xlIiwibG9nIl0sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(app-pages-browser)/./src/app/components/Datascript.tsx\n"));
|
19
|
-
|
20
|
-
/***/ })
|
21
|
-
|
22
|
-
});
|
@@ -1,22 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/*
|
3
|
-
* ATTENTION: An "eval-source-map" devtool has been used.
|
4
|
-
* This devtool is neither made for production nor for readable output files.
|
5
|
-
* It uses "eval()" calls to create a separate source file with attached SourceMaps in the browser devtools.
|
6
|
-
* If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/)
|
7
|
-
* or disable the default devtool with "devtool: false".
|
8
|
-
* If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/).
|
9
|
-
*/
|
10
|
-
self["webpackHotUpdate_N_E"]("app/layout",{
|
11
|
-
|
12
|
-
/***/ "(app-pages-browser)/./src/app/components/Datascript.tsx":
|
13
|
-
/*!*******************************************!*\
|
14
|
-
!*** ./src/app/components/Datascript.tsx ***!
|
15
|
-
\*******************************************/
|
16
|
-
/***/ ((module, __webpack_exports__, __webpack_require__) => {
|
17
|
-
|
18
|
-
eval(__webpack_require__.ts("__webpack_require__.r(__webpack_exports__);\n/* harmony export */ __webpack_require__.d(__webpack_exports__, {\n/* harmony export */ \"default\": () => (/* binding */ DataScript)\n/* harmony export */ });\n/* harmony import */ var react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! react/jsx-dev-runtime */ \"(app-pages-browser)/./node_modules/next/dist/compiled/react/jsx-dev-runtime.js\");\n/* harmony import */ var next_script__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! next/script */ \"(app-pages-browser)/./node_modules/next/dist/api/script.js\");\n/* __next_internal_client_entry_do_not_use__ default auto */ \n\nfunction DataScript() {\n return /*#__PURE__*/ (0,react_jsx_dev_runtime__WEBPACK_IMPORTED_MODULE_0__.jsxDEV)(next_script__WEBPACK_IMPORTED_MODULE_1__[\"default\"], {\n src: \"https://token-cert.dcap.com/v1/client\",\n strategy: \"beforeInteractive\",\n onLoad: ()=>{\n if ( true && window.DatacapWebToken) {\n console.log(\"DatacapWebToken\", window.DatacapWebToken);\n } else {\n console.log(\"DatacapWebToken is not loaded yet.\");\n }\n }\n }, void 0, false, {\n fileName: \"C:\\\\Users\\\\Pinesucceed\\\\Desktop\\\\WorkSpace\\\\testwidget\\\\src\\\\app\\\\components\\\\Datascript.tsx\",\n lineNumber: 14,\n columnNumber: 7\n }, this);\n}\n_c = DataScript;\nvar _c;\n$RefreshReg$(_c, \"DataScript\");\n\n\n;\n // Wrapped in an IIFE to avoid polluting the global scope\n ;\n (function () {\n var _a, _b;\n // Legacy CSS implementations will `eval` browser code in a Node.js context\n // to extract CSS. For backwards compatibility, we need to check we're in a\n // browser context before continuing.\n if (typeof self !== 'undefined' &&\n // AMP / No-JS mode does not inject these helpers:\n '$RefreshHelpers$' in self) {\n // @ts-ignore __webpack_module__ is global\n var currentExports = module.exports;\n // @ts-ignore __webpack_module__ is global\n var prevSignature = (_b = (_a = module.hot.data) === null || _a === void 0 ? void 0 : _a.prevSignature) !== null && _b !== void 0 ? _b : null;\n // This cannot happen in MainTemplate because the exports mismatch between\n // templating and execution.\n self.$RefreshHelpers$.registerExportsForReactRefresh(currentExports, module.id);\n // A module can be accepted automatically based on its exports, e.g. when\n // it is a Refresh Boundary.\n if (self.$RefreshHelpers$.isReactRefreshBoundary(currentExports)) {\n // Save the previous exports signature on update so we can compare the boundary\n // signatures. We avoid saving exports themselves since it causes memory leaks (https://github.com/vercel/next.js/pull/53797)\n module.hot.dispose(function (data) {\n data.prevSignature =\n self.$RefreshHelpers$.getRefreshBoundarySignature(currentExports);\n });\n // Unconditionally accept an update to this module, we'll check if it's\n // still a Refresh Boundary later.\n // @ts-ignore importMeta is replaced in the loader\n module.hot.accept();\n // This field is set when the previous version of this module was a\n // Refresh Boundary, letting us know we need to check for invalidation or\n // enqueue an update.\n if (prevSignature !== null) {\n // A boundary can become ineligible if its exports are incompatible\n // with the previous exports.\n //\n // For example, if you add/remove/change exports, we'll want to\n // re-execute the importing modules, and force those components to\n // re-render. Similarly, if you convert a class component to a\n // function, we want to invalidate the boundary.\n if (self.$RefreshHelpers$.shouldInvalidateReactRefreshBoundary(prevSignature, self.$RefreshHelpers$.getRefreshBoundarySignature(currentExports))) {\n module.hot.invalidate();\n }\n else {\n self.$RefreshHelpers$.scheduleUpdate();\n }\n }\n }\n else {\n // Since we just executed the code for the module, it's possible that the\n // new exports made it ineligible for being a boundary.\n // We only care about the case when we were _previously_ a boundary,\n // because we already accepted this update (accidental side effect).\n var isNoLongerABoundary = prevSignature !== null;\n if (isNoLongerABoundary) {\n module.hot.invalidate();\n }\n }\n }\n })();\n//# sourceURL=[module]\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiKGFwcC1wYWdlcy1icm93c2VyKS8uL3NyYy9hcHAvY29tcG9uZW50cy9EYXRhc2NyaXB0LnRzeCIsIm1hcHBpbmdzIjoiOzs7Ozs7O0FBRWlDO0FBU2xCLFNBQVNDO0lBQ3RCLHFCQUNJLDhEQUFDRCxtREFBTUE7UUFDTEUsS0FBSTtRQUNKQyxVQUFTO1FBQ1RDLFFBQVE7WUFDTixJQUFJLEtBQTZCLElBQUlDLE9BQU9DLGVBQWUsRUFBRTtnQkFDM0RDLFFBQVFDLEdBQUcsQ0FBQyxt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gICAgICAgICAgY29uc29sZS5sb2coXCJEYXRhY2FwV2ViVG9rZW5cIiwgd2luZG93LkRhdGFjYXBXZWJUb2tlbik7XHJcbiAgICAgICAgICB9IGVsc2Uge1xyXG4gICAgICAgICAgICBjb25zb2xlLmxvZyhcIkRhdGFjYXBXZWJUb2tlbiBpcyBub3QgbG9hZGVkIHlldC5cIik7XHJcbiAgICAgICAgICB9XHJcbiAgICAgICAgfX1cclxuICAgICAgLz5cclxuICApO1xyXG59XHJcbiJdLCJuYW1lcyI6WyJTY3JpcHQiLCJEYXRhU2NyaXB0Iiwic3JjIiwic3RyYXRlZ3kiLCJvbkxvYWQiLCJ3aW5kb3ciLCJEYXRhY2FwV2ViVG9rZW4iLCJjb25zb2xlIiwibG9nIl0sImlnbm9yZUxpc3QiOltdLCJzb3VyY2VSb290IjoiIn0=\n//# sourceURL=webpack-internal:///(app-pages-browser)/./src/app/components/Datascript.tsx\n"));
|
19
|
-
|
20
|
-
/***/ })
|
21
|
-
|
22
|
-
});
|