@pinerohit11/testwidget 0.1.38 → 0.1.40
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/index.cjs +23 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +23 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
@@ -999,11 +999,18 @@ var ErrorText = {
|
|
999
999
|
amountrequired: "Amount is required",
|
1000
1000
|
amountpositive: "Amount should be positive",
|
1001
1001
|
amountzero: "Amount should not be zero",
|
1002
|
+
amountenter: "Please enter an amount",
|
1003
|
+
amountvalid: "Please enter a valid amount",
|
1002
1004
|
phoneoremailrequired: "Phone or Email is required",
|
1003
1005
|
invalidemail: "Invalid email",
|
1004
1006
|
invalidemailformat: "Invalid email format",
|
1005
1007
|
onlylettersallowed: "Only letters are allowed",
|
1006
|
-
phonenumberlength: "Phone number should be 10 digits"
|
1008
|
+
phonenumberlength: "Phone number should be 10 digits",
|
1009
|
+
phonenumberrequired: "Please enter a phone number",
|
1010
|
+
phonenumbervalid: "Please enter a valid 10-digit phone number",
|
1011
|
+
orderidenter: "Please enter an order ID",
|
1012
|
+
networkresponseerror: "Network response was not ok",
|
1013
|
+
anerroroccured: "An error occurred. Please try again."
|
1007
1014
|
};
|
1008
1015
|
|
1009
1016
|
// src/app/components/RequestPayment/RequestPayment.tsx
|
@@ -1205,6 +1212,7 @@ function RequestPayment(props) {
|
|
1205
1212
|
"input",
|
1206
1213
|
{
|
1207
1214
|
"data-token": "amount",
|
1215
|
+
placeholder: "Amount",
|
1208
1216
|
min: 0,
|
1209
1217
|
type: "number",
|
1210
1218
|
className: "form-control",
|
@@ -1304,6 +1312,20 @@ function RequestPayment(props) {
|
|
1304
1312
|
), /* @__PURE__ */ import_react4.default.createElement("h2", null, "Payment link has been ", /* @__PURE__ */ import_react4.default.createElement("br", null), " sent successfully"))
|
1305
1313
|
)));
|
1306
1314
|
}
|
1315
|
+
|
1316
|
+
// src/app/components/RequestPayment/RequestPaymentAllInput.tsx
|
1317
|
+
var import_react5 = __toESM(require("react"), 1);
|
1318
|
+
var import_react_bootstrap2 = require("react-bootstrap");
|
1319
|
+
var import_react_toastify = require("react-toastify");
|
1320
|
+
var import_ReactToastify = require("react-toastify/dist/ReactToastify.css");
|
1321
|
+
|
1322
|
+
// src/app/components/RequestPayment/RequestPaymentDynamic.tsx
|
1323
|
+
var import_react6 = __toESM(require("react"), 1);
|
1324
|
+
var import_react_bootstrap3 = require("react-bootstrap");
|
1325
|
+
|
1326
|
+
// src/app/components/RequestPayment/RequestPaymentonClick.tsx
|
1327
|
+
var import_react7 = __toESM(require("react"), 1);
|
1328
|
+
var import_react_bootstrap4 = require("react-bootstrap");
|
1307
1329
|
// Annotate the CommonJS export names for ESM import in node:
|
1308
1330
|
0 && (module.exports = {
|
1309
1331
|
RequestPayment
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
@@ -966,11 +966,18 @@ var ErrorText = {
|
|
966
966
|
amountrequired: "Amount is required",
|
967
967
|
amountpositive: "Amount should be positive",
|
968
968
|
amountzero: "Amount should not be zero",
|
969
|
+
amountenter: "Please enter an amount",
|
970
|
+
amountvalid: "Please enter a valid amount",
|
969
971
|
phoneoremailrequired: "Phone or Email is required",
|
970
972
|
invalidemail: "Invalid email",
|
971
973
|
invalidemailformat: "Invalid email format",
|
972
974
|
onlylettersallowed: "Only letters are allowed",
|
973
|
-
phonenumberlength: "Phone number should be 10 digits"
|
975
|
+
phonenumberlength: "Phone number should be 10 digits",
|
976
|
+
phonenumberrequired: "Please enter a phone number",
|
977
|
+
phonenumbervalid: "Please enter a valid 10-digit phone number",
|
978
|
+
orderidenter: "Please enter an order ID",
|
979
|
+
networkresponseerror: "Network response was not ok",
|
980
|
+
anerroroccured: "An error occurred. Please try again."
|
974
981
|
};
|
975
982
|
|
976
983
|
// src/app/components/RequestPayment/RequestPayment.tsx
|
@@ -1172,6 +1179,7 @@ function RequestPayment(props) {
|
|
1172
1179
|
"input",
|
1173
1180
|
{
|
1174
1181
|
"data-token": "amount",
|
1182
|
+
placeholder: "Amount",
|
1175
1183
|
min: 0,
|
1176
1184
|
type: "number",
|
1177
1185
|
className: "form-control",
|
@@ -1271,6 +1279,20 @@ function RequestPayment(props) {
|
|
1271
1279
|
), /* @__PURE__ */ React4.createElement("h2", null, "Payment link has been ", /* @__PURE__ */ React4.createElement("br", null), " sent successfully"))
|
1272
1280
|
)));
|
1273
1281
|
}
|
1282
|
+
|
1283
|
+
// src/app/components/RequestPayment/RequestPaymentAllInput.tsx
|
1284
|
+
import React5, { useState as useState2 } from "react";
|
1285
|
+
import { Modal as Modal2 } from "react-bootstrap";
|
1286
|
+
import { toast, ToastContainer } from "react-toastify";
|
1287
|
+
import "react-toastify/dist/ReactToastify.css";
|
1288
|
+
|
1289
|
+
// src/app/components/RequestPayment/RequestPaymentDynamic.tsx
|
1290
|
+
import React6, { useState as useState3 } from "react";
|
1291
|
+
import { Modal as Modal3 } from "react-bootstrap";
|
1292
|
+
|
1293
|
+
// src/app/components/RequestPayment/RequestPaymentonClick.tsx
|
1294
|
+
import React7, { useState as useState4 } from "react";
|
1295
|
+
import { Modal as Modal4 } from "react-bootstrap";
|
1274
1296
|
export {
|
1275
1297
|
RequestPayment
|
1276
1298
|
};
|