@sawport/react-sdk 0.1.0-alpha.77 → 0.1.0-alpha.79
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 -2
- package/dist/index.umd.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -70279,6 +70279,8 @@ const SlotPicker = reactExports.memo(({
|
|
|
70279
70279
|
const disabledTime = reactExports.useCallback(() => ({
|
|
70280
70280
|
disabledHours: () => {
|
|
70281
70281
|
var _a, _b, _c, _d;
|
|
70282
|
+
if (!date4)
|
|
70283
|
+
return [];
|
|
70282
70284
|
const times = [];
|
|
70283
70285
|
const timeformat = "HH:mm";
|
|
70284
70286
|
const currentDay = hooks.tz(date4, timezone2).format("dddd");
|
|
@@ -75946,7 +75948,7 @@ function WidgetOfflineHeader({
|
|
|
75946
75948
|
width: "50px",
|
|
75947
75949
|
height: "50px",
|
|
75948
75950
|
position: "absolute",
|
|
75949
|
-
left: "
|
|
75951
|
+
left: "18px",
|
|
75950
75952
|
top: "20px"
|
|
75951
75953
|
}
|
|
75952
75954
|
}), /* @__PURE__ */ jsx("p", {
|
|
@@ -77762,7 +77764,8 @@ const WidgetFormDisplay = reactExports.memo(({
|
|
|
77762
77764
|
}
|
|
77763
77765
|
};
|
|
77764
77766
|
reactExports.useEffect(() => {
|
|
77765
|
-
|
|
77767
|
+
var _a2, _b2;
|
|
77768
|
+
((_b2 = (_a2 = dataRef.current) == null ? void 0 : _a2.wait) == null ? void 0 : _b2.id) && getWaitingCustomers();
|
|
77766
77769
|
}, [customer, (_c = (_b = dataRef.current) == null ? void 0 : _b.wait) == null ? void 0 : _c.id]);
|
|
77767
77770
|
const quickStopChat = reactExports.useCallback((extraState = {}) => {
|
|
77768
77771
|
var _a2, _b2, _c2, _d2;
|