@sawport/react-sdk 0.1.0-alpha.65 → 0.1.0-alpha.66
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +5 -5
- package/dist/index.umd.js +14 -14
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -66967,8 +66967,8 @@ Step 2: Open the video banking widget.
|
|
|
66967
66967
|
Step 3: Click on the "Scheduled Meeting" button.
|
|
66968
66968
|
Step 4: Click the blue "Join" button to join meeting.`,
|
|
66969
66969
|
location: window.location,
|
|
66970
|
-
startTime: hooks(`${date4}T${time2}
|
|
66971
|
-
endTime: hooks(`${date4}T${time2}
|
|
66970
|
+
startTime: hooks(`${date4}T${time2}`, "YYYY-MM-DDTHH:mm"),
|
|
66971
|
+
endTime: hooks(`${date4}T${time2}`, "YYYY-MM-DDTHH:mm").add(1, "h")
|
|
66972
66972
|
};
|
|
66973
66973
|
const providersObj = {};
|
|
66974
66974
|
const objClass = {
|
|
@@ -67020,7 +67020,7 @@ Step 4: Click the blue "Join" button to join meeting.`,
|
|
|
67020
67020
|
children: hooks(date4).format("dddd, MMMM Do YYYY").toString()
|
|
67021
67021
|
}), /* @__PURE__ */ jsx("p", {
|
|
67022
67022
|
className: "text-center my-0 py-2 text-lg text-alt",
|
|
67023
|
-
children: hooks(`${date4}T${time2}
|
|
67023
|
+
children: hooks(`${date4}T${time2}`, "YYYY-MM-DDTHH:mm").format("hh:mm A").toString()
|
|
67024
67024
|
}), /* @__PURE__ */ jsx("div", {
|
|
67025
67025
|
children: /* @__PURE__ */ jsx(Tooltip$1, {
|
|
67026
67026
|
title: /* @__PURE__ */ jsxs("div", {
|
|
@@ -67455,7 +67455,7 @@ const Offline = react.exports.memo(({
|
|
|
67455
67455
|
}) => {
|
|
67456
67456
|
try {
|
|
67457
67457
|
const currentTime = hooks.utc().format();
|
|
67458
|
-
const check2 = hooks(hooks(`${date4}
|
|
67458
|
+
const check2 = hooks(hooks(`${date4}T${time2}`, "YYYY-MM-DDTHH:mm").format()).isAfter(currentTime);
|
|
67459
67459
|
if (!check2) {
|
|
67460
67460
|
toast.error("Please, pick a time that is yet to go by", {
|
|
67461
67461
|
autoClose: 2e3
|
|
@@ -67473,7 +67473,7 @@ const Offline = react.exports.memo(({
|
|
|
67473
67473
|
formData.append("mobile", mobile);
|
|
67474
67474
|
formData.append("account", account);
|
|
67475
67475
|
formData.append("reason", reason2);
|
|
67476
|
-
formData.append("scheduledAt", hooks(`${date4}
|
|
67476
|
+
formData.append("scheduledAt", hooks(`${date4}T${time2}`, "YYYY-MM-DDTHH:mm").format());
|
|
67477
67477
|
formData.append("country", country);
|
|
67478
67478
|
formData.append("latitude", latitude);
|
|
67479
67479
|
formData.append("longitude", longitude);
|