@bahmni/appointments-app 0.0.1-dev.386 → 0.0.1-dev.387
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/{DocumentsTable-Ce9p4WA6-DYRTNwME.js → DocumentsTable-DKoqNebk-BbPx0GhD.js} +31 -31
- package/dist/{FormsTable-BJBBdfzc-BiGm9mDO.js → FormsTable-CHKYAxeN-D7qW62SW.js} +42 -42
- package/dist/{LNWAZHJI-T9x4Qj1f.js → LNWAZHJI-BrVLwz7u.js} +2 -2
- package/dist/{MWZ6AO7Z-B0GIY9ln.js → MWZ6AO7Z-ICoN8Y25.js} +2 -2
- package/dist/{Observations-C3pfbHHQ-D7u1t3t1.js → Observations-DJE57Epe-CXflaVUj.js} +37 -37
- package/dist/{YPM2AS64-CT4lMk0z.js → YPM2AS64-CBBjNy-X.js} +1 -1
- package/dist/{index-TJNrEGTS.js → index-BXgKwXDy.js} +24 -24
- package/dist/{index-BYUNYfJ9.js → index-CYFuNcDA.js} +20580 -20544
- package/dist/{index-DNVeXR6m.js → index-r38vvIf5.js} +10 -10
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx as r, jsxs as p } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { X as f, a0 as P, a1 as O, a2 as V, a3 as Z, a4 as ee, a5 as te, a6 as ie, $ as ae, a7 as ne, u as Q, a8 as R, a9 as le, aa as re, ab as se, ac as U, ad as F, ae as C, af as Y, ag as x, ah as k, ai as $, Q as oe, L as de, v as q, aj as ce, x as me, ak as Ae, al as Ie, am as ue, H as _e, J as Te, R as Le } from "./index-CYFuNcDA.js";
|
|
3
3
|
import { useState as g, useMemo as N, useEffect as h, useRef as ve, useCallback as E } from "react";
|
|
4
4
|
import { useQuery as M, useQueryClient as Ne } from "@tanstack/react-query";
|
|
5
5
|
const be = "Available for appointments", w = "Get Appointment Unavailability", pe = "Add Appointment Unavailability", G = "Appointment Location", ye = () => {
|
|
6
6
|
try {
|
|
7
|
-
return
|
|
7
|
+
return Z().uuid;
|
|
8
8
|
} catch {
|
|
9
9
|
return "";
|
|
10
10
|
}
|
|
@@ -39,17 +39,17 @@ const be = "Available for appointments", w = "Get Appointment Unavailability", p
|
|
|
39
39
|
}, Ee = (e, a) => ({
|
|
40
40
|
locationUuid: e.locationUuid,
|
|
41
41
|
startDate: f(e.startDate, a, !1, V).formattedResult,
|
|
42
|
-
startTime:
|
|
42
|
+
startTime: O(
|
|
43
43
|
`${e.startTime} ${e.startTimePeriod}`
|
|
44
44
|
),
|
|
45
45
|
endDate: f(e.endDate, a, !1, V).formattedResult,
|
|
46
|
-
endTime:
|
|
46
|
+
endTime: O(`${e.endTime} ${e.endTimePeriod}`)
|
|
47
47
|
}), ge = (e, a) => {
|
|
48
48
|
const n = {}, t = a("ADMIN_UNAVAILABILITY_FORM_REQUIRED");
|
|
49
49
|
if (e.locationUuid || (n.location = t), e.startDate || (n.startDate = t), e.startTime || (n.startTime = t), e.endDate || (n.endDate = t), e.endTime || (n.endTime = t), e.startDate && e.startTime && e.endDate && e.endTime && e.startDate.toDateString() === e.endDate.toDateString()) {
|
|
50
|
-
const o =
|
|
50
|
+
const o = P(
|
|
51
51
|
`${e.startTime} ${e.startTimePeriod}`
|
|
52
|
-
), c =
|
|
52
|
+
), c = P(
|
|
53
53
|
`${e.endTime} ${e.endTimePeriod}`
|
|
54
54
|
);
|
|
55
55
|
o !== null && c !== null && c <= o && (n.dateTime = a("ADMIN_UNAVAILABILITY_DATETIME_ERROR_MESSAGE"));
|
|
@@ -137,10 +137,10 @@ const be = "Available for appointments", w = "Get Appointment Unavailability", p
|
|
|
137
137
|
isLoading: a || o || L || s,
|
|
138
138
|
isError: n || c || m || _
|
|
139
139
|
};
|
|
140
|
-
}, Be = "UnavailabilityForm-module_formContent__WmNHR",
|
|
140
|
+
}, Be = "UnavailabilityForm-module_formContent__WmNHR", Pe = "UnavailabilityForm-module_formField__8he7o", Oe = "UnavailabilityForm-module_loading__IDEY6", Ve = "UnavailabilityForm-module_error__jDeOm", Fe = "UnavailabilityForm-module_grid__t6NKR", Ce = "UnavailabilityForm-module_column__QFdnQ", Ye = "UnavailabilityForm-module_dateTimeColumn__6bi0F", xe = "UnavailabilityForm-module_datePicker__6HgbO", ke = "UnavailabilityForm-module_timePicker__DHNpK", d = {
|
|
141
141
|
formContent: Be,
|
|
142
|
-
formField:
|
|
143
|
-
loading:
|
|
142
|
+
formField: Pe,
|
|
143
|
+
loading: Oe,
|
|
144
144
|
error: Ve,
|
|
145
145
|
grid: Fe,
|
|
146
146
|
column: Ce,
|
|
@@ -568,7 +568,7 @@ const be = "Available for appointments", w = "Get Appointment Unavailability", p
|
|
|
568
568
|
(T) => {
|
|
569
569
|
s((J) => {
|
|
570
570
|
const B = { ...J };
|
|
571
|
-
return T.forEach((
|
|
571
|
+
return T.forEach((X) => delete B[X]), B;
|
|
572
572
|
});
|
|
573
573
|
},
|
|
574
574
|
[]
|
package/dist/index.js
CHANGED