@bahmni/appointments-app 0.0.1-dev.342 → 0.0.1-dev.343

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.
@@ -1,12 +1,12 @@
1
1
  import { jsxs as S, jsx as u } from "react/jsx-runtime";
2
- import { l as q, B as w, u as N, b as Q, w as k, K as z, A as H, C as M, z as x, c as G, S as Y, d as j, Y as A, e as P, f as J, h as W, o as X, i as Z, n as ee } from "./index-eyrL1dkG.js";
2
+ import { y as k, r as q, u as N, j as x, U as Q, a as j, n as M, o as P, c as w, P as G, X as H, f as z, x as D, g as X, h as J, R as Y, i as W, k as Z, p as ee } from "./index-DTsj4EWP.js";
3
3
  import { useQueries as ae, useQuery as te } from "@tanstack/react-query";
4
- import { useRef as se, useEffect as I, useMemo as R } from "react";
5
- const C = (a, n, d, l, b, r) => {
6
- const t = P(a, n, b), s = t.value, o = J(s);
4
+ import { useRef as se, useEffect as _, useMemo as E } from "react";
5
+ const F = (a, n, d, l, b, r) => {
6
+ const t = X(a, n, b), s = t.value, o = J(s);
7
7
  let i = s;
8
8
  o === "Image" && (i = /* @__PURE__ */ u(
9
- X,
9
+ W,
10
10
  {
11
11
  imageSrc: s,
12
12
  alt: s,
@@ -25,7 +25,7 @@ const C = (a, n, d, l, b, r) => {
25
25
  provider: t.provider
26
26
  }), p = a.display, y = a.observationValue?.isAbnormal ? "abnormal-obs" : "obs", c = l ? `${l}-${y}-${p}-${d}-${n}` : `${y}-${p}-${d}-${n}`;
27
27
  return /* @__PURE__ */ u(
28
- W,
28
+ Y,
29
29
  {
30
30
  header: t.header,
31
31
  value: i,
@@ -37,13 +37,13 @@ const C = (a, n, d, l, b, r) => {
37
37
  `obs-${a.id}`
38
38
  );
39
39
  }, re = (a, n, d, l, b, r, t) => /* @__PURE__ */ u(
40
- A,
40
+ D,
41
41
  {
42
42
  title: a.display,
43
43
  id: `grouped-obs-${a.display}-${l}`,
44
44
  open: d,
45
45
  children: a.members?.map(
46
- (s, o) => C(
46
+ (s, o) => F(
47
47
  s,
48
48
  o,
49
49
  b,
@@ -60,16 +60,16 @@ const C = (a, n, d, l, b, r) => {
60
60
  hideThumbnail: d
61
61
  }) => {
62
62
  const { t: l } = N(), b = (r, t, s) => {
63
- const o = j(r.encounterDetails, l);
63
+ const o = z(r.encounterDetails, l);
64
64
  return /* @__PURE__ */ S(
65
- A,
65
+ D,
66
66
  {
67
67
  title: o,
68
68
  id: `encounter-${r.encounterId}`,
69
69
  open: t,
70
70
  children: [
71
71
  r.observations.map(
72
- (i, m) => C(
72
+ (i, m) => F(
73
73
  i,
74
74
  m,
75
75
  s,
@@ -113,63 +113,63 @@ const C = (a, n, d, l, b, r) => {
113
113
  conceptNames: d = [],
114
114
  conceptUuid: l = [],
115
115
  hideThumbnail: b = !1
116
- } = n, r = se(/* @__PURE__ */ new Set()), t = q(), { addNotification: s } = w(), { t: o } = N(), i = ae({
116
+ } = n, r = se(/* @__PURE__ */ new Set()), t = k(), { addNotification: s } = q(), { t: o } = N(), i = ae({
117
117
  queries: d.map((e) => ({
118
118
  queryKey: de(e),
119
- queryFn: () => Q(e),
119
+ queryFn: () => x(e),
120
120
  enabled: !!e
121
121
  }))
122
122
  });
123
- I(() => {
123
+ _(() => {
124
124
  i.forEach((e, h) => {
125
125
  if (e.isError && !r.current.has(h)) {
126
- const V = d[h];
126
+ const K = d[h];
127
127
  s({
128
128
  title: o("ERROR_DEFAULT_TITLE"),
129
- message: o("ERROR_FETCHING_CONCEPT", { conceptName: V }),
129
+ message: o("ERROR_FETCHING_CONCEPT", { conceptName: K }),
130
130
  type: "error"
131
131
  }), r.current.add(h);
132
132
  } else e.isError || r.current.delete(h);
133
133
  });
134
134
  }, [i, d]);
135
- const m = R(() => i.map((e) => e.data?.uuid).filter((e) => !!e), [i]), p = R(() => [.../* @__PURE__ */ new Set([...m, ...l])], [m, l]), y = R(() => d.length === 0 ? !0 : i.every((e) => !e.isLoading), [i, d.length]), {
135
+ const m = E(() => i.map((e) => e.data?.uuid).filter((e) => !!e), [i]), p = E(() => [.../* @__PURE__ */ new Set([...m, ...l])], [m, l]), y = E(() => d.length === 0 ? !0 : i.every((e) => !e.isLoading), [i, d.length]), {
136
136
  data: c,
137
- isLoading: D,
137
+ isLoading: L,
138
138
  isError: T,
139
139
  refetch: g
140
140
  } = te({
141
141
  queryKey: le(t, p),
142
- queryFn: () => k(t, p),
142
+ queryFn: () => Q(t, p),
143
143
  enabled: !!t && p.length > 0 && y
144
144
  });
145
- z(
145
+ j(
146
146
  (e) => {
147
147
  e.patientUUID === t && e.updatedConcepts.size > 0 && [...e.updatedConcepts.keys()].some(
148
148
  (h) => p.includes(h)
149
149
  ) && g();
150
150
  },
151
151
  [t, g]
152
- ), I(() => {
152
+ ), _(() => {
153
153
  T && s({
154
154
  title: o("ERROR_DEFAULT_TITLE"),
155
155
  message: o("ERROR_FETCHING_OBSERVATIONS"),
156
156
  type: "error"
157
157
  });
158
158
  }, [T]);
159
- const O = R(() => {
159
+ const f = E(() => {
160
160
  if (!c) return [];
161
- const e = H(c), h = M(e);
162
- return x(h);
163
- }, [c]), F = [
161
+ const e = M(c), h = P(e);
162
+ return w(h);
163
+ }, [c]), U = [
164
164
  { key: "name", header: "name" },
165
165
  { key: "value", header: "value" },
166
166
  { key: "form", header: "form" }
167
- ], f = D || !y, _ = T && y, L = (!c || c.entry?.length === 0 || p.length === 0) && y, B = _ ? o("ERROR_FETCHING_OBSERVATIONS") : null, K = L ? o("NO_OBSERVATIONS_FOUND") : void 0, U = O.length > 0 && !f && !_, E = n.titleTranslationKey, v = E ? o(E) : "";
167
+ ], O = L || !y, I = T && y, A = (!c || c.entry?.length === 0 || p.length === 0) && y, C = I ? o("ERROR_FETCHING_OBSERVATIONS") : null, B = A ? o("NO_OBSERVATIONS_FOUND") : void 0, V = f.length > 0 && !O && !I, R = n.titleTranslationKey, v = R ? o(R) : "";
168
168
  return /* @__PURE__ */ S(
169
169
  "div",
170
170
  {
171
171
  id: "observations",
172
- "data-testid": E ? `observations-${v}` : "observations",
172
+ "data-testid": R ? `observations-${v}` : "observations",
173
173
  "aria-label": "observations-aria-label",
174
174
  className: $.observations,
175
175
  children: [
@@ -177,28 +177,28 @@ const C = (a, n, d, l, b, r) => {
177
177
  G,
178
178
  {
179
179
  id: "observations-title",
180
- testId: E ? `observations-title-${v}` : "observations-title",
180
+ testId: R ? `observations-title-${v}` : "observations-title",
181
181
  title: v,
182
182
  className: $.title,
183
183
  children: /* @__PURE__ */ u("p", { children: v })
184
184
  }
185
185
  ),
186
- U ? /* @__PURE__ */ u(
186
+ V ? /* @__PURE__ */ u(
187
187
  oe,
188
188
  {
189
- groupedData: O,
189
+ groupedData: f,
190
190
  title: v,
191
191
  hideThumbnail: b
192
192
  }
193
193
  ) : /* @__PURE__ */ u(
194
- Y,
194
+ H,
195
195
  {
196
- headers: F,
196
+ headers: U,
197
197
  rows: [],
198
198
  ariaLabel: o("OBSERVATIONS"),
199
- loading: f,
200
- errorStateMessage: B,
201
- emptyStateMessage: K,
199
+ loading: O,
200
+ errorStateMessage: C,
201
+ emptyStateMessage: B,
202
202
  dataTestId: "observations-table"
203
203
  }
204
204
  )
@@ -1,4 +1,4 @@
1
- import { al as we, am as z, an as xt, ao as B, aj as q, ak as y, ap as Ro, aq as ye, ar as R, as as _, at as k, au as N, av as A, aw as bs, ax as ir, ay as $e, az as U, aA as Hn, aB as Vn, aC as dt, aD as D, aE as xs, aF as cn, aG as Be, aH as ws, aI as qt, aJ as zt, aK as $s, aL as Cs, aM as $n, aN as Ss, aO as Nr, aP as Bt, aQ as zo, aR as ks, aS as Es, aT as j, aU as Ur, aV as Ms, aW as Ds, aX as sr, aY as As, aZ as Ts, a_ as zn, a$ as Fs, b0 as Is, b1 as Z, b2 as Ps, b3 as Ls } from "./index-eyrL1dkG.js";
1
+ import { al as we, am as z, an as xt, ao as B, aj as q, ak as y, ap as Ro, aq as ye, ar as R, as as _, at as k, au as N, av as A, aw as bs, ax as ir, ay as $e, az as U, aA as Hn, aB as Vn, aC as dt, aD as D, aE as xs, aF as cn, aG as Be, aH as ws, aI as qt, aJ as zt, aK as $s, aL as Cs, aM as $n, aN as Ss, aO as Nr, aP as Bt, aQ as zo, aR as ks, aS as Es, aT as j, aU as Ur, aV as Ms, aW as Ds, aX as sr, aY as As, aZ as Ts, a_ as zn, a$ as Fs, b0 as Is, b1 as Z, b2 as Ps, b3 as Ls } from "./index-DTsj4EWP.js";
2
2
  var Os = (e) => e != null, qs = (e) => e.filter(Os);
3
3
  function _s(e) {
4
4
  return (...t) => {
@@ -1,12 +1,12 @@
1
1
  import { jsx as i, jsxs as y } from "react/jsx-runtime";
2
- import { I as V, p as P, u as C, F as O, q as B, B as h, r as x, s as L, W as G, P as U, t as F, x as q, J as H, y as W, D as k, U as w, G as Q } from "./index-eyrL1dkG.js";
2
+ import { l as V, A as O, u as C, F as P, m as h, r as B, I as G, w as L, v as x, B as U, E as F, H, Q as q, J as w, N as Q, O as W, S as k } from "./index-DTsj4EWP.js";
3
3
  import { useState as I, useMemo as _ } from "react";
4
4
  import { useQueryClient as $, useQuery as j } from "@tanstack/react-query";
5
- const J = V(
6
- P,
5
+ const K = V(
6
+ O,
7
7
  "useAppointmentsConfig",
8
8
  "AppointmentsConfigProvider"
9
- ), K = ({
9
+ ), J = ({
10
10
  serviceName: e,
11
11
  isDeleting: a,
12
12
  onConfirm: t,
@@ -14,7 +14,7 @@ const J = V(
14
14
  }) => {
15
15
  const { t: n } = C();
16
16
  return /* @__PURE__ */ i(
17
- O,
17
+ P,
18
18
  {
19
19
  id: "delete-service-modal",
20
20
  testId: "delete-service-modal-test-id",
@@ -49,7 +49,7 @@ function ae(e, a) {
49
49
  ...e.map((t) => ({
50
50
  key: t,
51
51
  header: a(
52
- `ADMIN_ALL_SERVICES_COLUMN_${B(t)}`
52
+ `ADMIN_ALL_SERVICES_COLUMN_${h(t)}`
53
53
  )
54
54
  })),
55
55
  {
@@ -75,7 +75,7 @@ function ie(e, a) {
75
75
  }));
76
76
  }
77
77
  const oe = () => {
78
- const { t: e } = C(), a = $(), { addNotification: t } = h(), { userPrivileges: s } = x(), { appointmentsConfig: n } = J(), [E, c] = I(null), [M, p] = I(!1), l = n?.serviceTableFields ?? [
78
+ const { t: e } = C(), a = $(), { addNotification: t } = B(), { userPrivileges: s } = G(), { appointmentsConfig: n } = K(), [E, c] = I(null), [M, p] = I(!1), l = n?.serviceTableFields ?? [
79
79
  ...u
80
80
  ], m = L(s, Z), b = L(
81
81
  s,
@@ -85,18 +85,18 @@ const oe = () => {
85
85
  [l]
86
86
  ), { data: A, isLoading: v, isError: D } = j({
87
87
  queryKey: ["allAppointmentServices"],
88
- queryFn: G,
88
+ queryFn: x,
89
89
  enabled: m
90
- }), R = _(
90
+ }), N = _(
91
91
  () => ae(l, e),
92
92
  [l]
93
- ), N = _(
93
+ ), R = _(
94
94
  () => ie(A ?? [], S),
95
95
  [A, S]
96
96
  ), g = async () => {
97
97
  p(!0);
98
98
  try {
99
- await Q(E.id), t({
99
+ await k(E.id), t({
100
100
  title: e("ADMIN_ALL_SERVICES_DELETE_SUCCESS_TITLE"),
101
101
  message: e("ADMIN_ALL_SERVICES_DELETE_SUCCESS_MESSAGE"),
102
102
  type: "success",
@@ -112,7 +112,7 @@ const oe = () => {
112
112
  p(!1);
113
113
  }
114
114
  }, T = (r, o) => o === "actions" ? /* @__PURE__ */ i(
115
- k,
115
+ Q,
116
116
  {
117
117
  id: `delete-service-${r.id}-btn`,
118
118
  testId: `delete-service-${r.id}-btn-test-id`,
@@ -121,7 +121,7 @@ const oe = () => {
121
121
  label: e("ADMIN_ALL_SERVICES_DELETE_ICON_LABEL"),
122
122
  disabled: !b,
123
123
  onClick: () => c(r),
124
- children: /* @__PURE__ */ i(w, {})
124
+ children: /* @__PURE__ */ i(W, {})
125
125
  }
126
126
  ) : u.includes(o) ? r[o] ?? "-" : r.attributes[o] ?? "-", f = [
127
127
  { id: "home", label: e("BREADCRUMB_HOME"), href: U },
@@ -130,7 +130,7 @@ const oe = () => {
130
130
  return /* @__PURE__ */ i(
131
131
  F,
132
132
  {
133
- header: /* @__PURE__ */ i(H, { breadcrumbItems: f, userMenu: /* @__PURE__ */ i(W, {}) }),
133
+ header: /* @__PURE__ */ i(q, { breadcrumbItems: f, userMenu: /* @__PURE__ */ i(w, {}) }),
134
134
  main: m ? /* @__PURE__ */ y(
135
135
  "div",
136
136
  {
@@ -140,12 +140,12 @@ const oe = () => {
140
140
  className: d.page,
141
141
  children: [
142
142
  /* @__PURE__ */ i(
143
- q,
143
+ H,
144
144
  {
145
145
  id: "all-services",
146
146
  title: e("ADMIN_ALL_SERVICES_TITLE"),
147
- headers: R,
148
- rows: N,
147
+ headers: N,
148
+ rows: R,
149
149
  ariaLabel: "all-services-table",
150
150
  loading: v,
151
151
  errorStateMessage: D ? e("ADMIN_ALL_SERVICES_ERROR_MESSAGE") : null,
@@ -155,7 +155,7 @@ const oe = () => {
155
155
  }
156
156
  ),
157
157
  E && /* @__PURE__ */ i(
158
- K,
158
+ J,
159
159
  {
160
160
  serviceName: E.name,
161
161
  isDeleting: M,
@@ -1,7 +1,7 @@
1
1
  import { jsx as r, jsxs as p } from "react/jsx-runtime";
2
- import { M as f, O as P, Q as O, T as V, X as z, $ as ee, a0 as te, a1 as ie, W as ae, a2 as ne, u as Q, a3 as R, a4 as le, a5 as re, a6 as se, a7 as E, a8 as F, a9 as C, aa as Y, ab as x, ac as k, ad as $, r as oe, B as de, s as H, ae as ce, P as me, af as Ae, ag as Ie, ah as ue, x as _e, J as Te, y as Le } from "./index-eyrL1dkG.js";
2
+ import { T as f, V as P, Y as O, Z as V, _ as z, $ as ee, a0 as te, a1 as ie, v as ae, a2 as ne, u as Q, a3 as R, a4 as le, a5 as re, a6 as se, a7 as E, a8 as F, a9 as C, aa as Y, ab as x, ac as k, ad as H, I as oe, r as de, w as $, ae as ce, B as me, af as Ae, ag as Ie, ah as ue, H as _e, Q as Te, J as Le } from "./index-DTsj4EWP.js";
3
3
  import { useState as g, useMemo as N, useEffect as h, useRef as ve, useCallback as U } from "react";
4
- import { useQuery as D, useQueryClient as Ne } from "@tanstack/react-query";
4
+ import { useQuery as M, useQueryClient as Ne } from "@tanstack/react-query";
5
5
  const be = "Available for appointments", q = "Get Appointment Unavailability", pe = "Add Appointment Unavailability", w = "Appointment Location", ye = () => {
6
6
  try {
7
7
  return z().uuid;
@@ -11,10 +11,10 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
11
11
  }, G = (e) => ({
12
12
  id: "",
13
13
  text: e
14
- }), Me = (e) => ({
14
+ }), De = (e) => ({
15
15
  display: e,
16
16
  uuid: ""
17
- }), De = (e, a) => {
17
+ }), Me = (e, a) => {
18
18
  const n = e.map((t) => ({
19
19
  id: t.uuid,
20
20
  text: t.name,
@@ -91,14 +91,14 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
91
91
  data: e,
92
92
  isLoading: a,
93
93
  isError: n
94
- } = D({
94
+ } = M({
95
95
  queryKey: ["currentUser"],
96
96
  queryFn: ee
97
97
  }), {
98
98
  data: t = [],
99
99
  isLoading: o,
100
100
  isError: c
101
- } = D({
101
+ } = M({
102
102
  queryKey: ["providerLoginLocations", e?.uuid],
103
103
  queryFn: async () => {
104
104
  const I = await te(
@@ -119,14 +119,14 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
119
119
  data: A = [],
120
120
  isLoading: L,
121
121
  isError: m
122
- } = D({
122
+ } = M({
123
123
  queryKey: ["appointmentServices"],
124
124
  queryFn: ae
125
125
  }), {
126
126
  data: l = [],
127
127
  isLoading: s,
128
128
  isError: _
129
- } = D({
129
+ } = M({
130
130
  queryKey: ["providers"],
131
131
  queryFn: ne
132
132
  });
@@ -147,7 +147,7 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
147
147
  dateTimeColumn: Ye,
148
148
  datePicker: xe,
149
149
  timePicker: ke
150
- }, $e = ({
150
+ }, He = ({
151
151
  errors: e,
152
152
  formDataRef: a,
153
153
  onClearErrors: n
@@ -173,7 +173,7 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
173
173
  ),
174
174
  [A]
175
175
  ), u = N(
176
- () => R(!1, !1, o, Me, {
176
+ () => R(!1, !1, o, De, {
177
177
  loading: "",
178
178
  error: "",
179
179
  empty: t("ADMIN_UNAVAILABILITY_FORM_NO_LOCATIONS")
@@ -183,7 +183,7 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
183
183
  () => R(
184
184
  !1,
185
185
  !1,
186
- De(
186
+ Me(
187
187
  _,
188
188
  t("ADMIN_UNAVAILABILITY_FORM_ALL_SERVICES")
189
189
  ),
@@ -215,10 +215,10 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
215
215
  return h(() => {
216
216
  if (o.length === 0) return;
217
217
  const i = ye(), b = o.some(
218
- (M) => M.uuid === i
218
+ (D) => D.uuid === i
219
219
  );
220
- s((M) => ({
221
- ...M,
220
+ s((D) => ({
221
+ ...D,
222
222
  locationUuid: b ? i : ""
223
223
  }));
224
224
  }, [o]), h(() => {
@@ -450,7 +450,7 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
450
450
  lg: 8,
451
451
  className: d.column,
452
452
  children: /* @__PURE__ */ r(
453
- $,
453
+ H,
454
454
  {
455
455
  id: "service-multiselect",
456
456
  "data-testid": "service-multiselect",
@@ -478,7 +478,7 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
478
478
  lg: 8,
479
479
  className: d.column,
480
480
  children: /* @__PURE__ */ r(
481
- $,
481
+ H,
482
482
  {
483
483
  id: "provider-multiselect",
484
484
  "data-testid": "provider-multiselect",
@@ -501,16 +501,16 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
501
501
  ]
502
502
  }
503
503
  );
504
- }, He = "index-module_page__s2h2y", qe = {
505
- page: He
504
+ }, $e = "index-module_page__s2h2y", qe = {
505
+ page: $e
506
506
  }, je = () => {
507
- const { t: e } = Q(), a = Ne(), { userPrivileges: n } = oe(), { addNotification: t } = de(), [o, c] = g(!1), [A, L] = g(!1), m = ve(null), [l, s] = g({}), _ = H(
507
+ const { t: e } = Q(), a = Ne(), { userPrivileges: n } = oe(), { addNotification: t } = de(), [o, c] = g(!1), [A, L] = g(!1), m = ve(null), [l, s] = g({}), _ = $(
508
508
  n,
509
509
  q
510
- ), I = H(n, [
510
+ ), I = $(n, [
511
511
  pe,
512
512
  q
513
- ]), { data: u, isLoading: v, isError: y } = D({
513
+ ]), { data: u, isLoading: v, isError: y } = M({
514
514
  queryKey: ["appointmentUnavailabilities"],
515
515
  queryFn: ce,
516
516
  enabled: _
@@ -537,7 +537,7 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
537
537
  key: "providerName",
538
538
  header: e("ADMIN_UNAVAILABILITY_COLUMN_PROVIDER")
539
539
  }
540
- ], [e]), M = N(() => u ? u.map((T) => fe(T, e)) : [], [u, e]), S = U(
540
+ ], [e]), D = N(() => u ? u.map((T) => fe(T, e)) : [], [u, e]), S = U(
541
541
  async (T) => {
542
542
  L(!0);
543
543
  try {
@@ -564,15 +564,15 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
564
564
  if (!m.current) return;
565
565
  const T = ge(m.current, e);
566
566
  s(T), !(Object.keys(T).length > 0) && await S(Re(m.current, e));
567
- }, [e, S]), W = U(
567
+ }, [e, S]), Z = U(
568
568
  (T) => {
569
- s((X) => {
570
- const B = { ...X };
571
- return T.forEach((Z) => delete B[Z]), B;
569
+ s((J) => {
570
+ const B = { ...J };
571
+ return T.forEach((X) => delete B[X]), B;
572
572
  });
573
573
  },
574
574
  []
575
- ), J = U(() => {
575
+ ), W = U(() => {
576
576
  c(!1), m.current = null, s({});
577
577
  }, []);
578
578
  return /* @__PURE__ */ r(
@@ -595,7 +595,7 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
595
595
  "aria-label": "appointment-unavailability-actions-table-aria-label",
596
596
  title: e("ADMIN_UNAVAILABILITY_TITLE"),
597
597
  headers: b,
598
- rows: M,
598
+ rows: D,
599
599
  ariaLabel: "unavailability-table",
600
600
  loading: v,
601
601
  errorStateMessage: y ? e("ADMIN_UNAVAILABILITY_ERROR_MESSAGE") : null,
@@ -619,14 +619,14 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
619
619
  onPrimaryButtonClick: j,
620
620
  isPrimaryButtonDisabled: A,
621
621
  secondaryButtonText: e("ADMIN_UNAVAILABILITY_FORM_CANCEL"),
622
- onSecondaryButtonClick: J,
622
+ onSecondaryButtonClick: W,
623
623
  isSecondaryButtonDisabled: A,
624
624
  content: /* @__PURE__ */ r(
625
- $e,
625
+ He,
626
626
  {
627
627
  errors: l,
628
628
  formDataRef: m,
629
- onClearErrors: W
629
+ onClearErrors: Z
630
630
  }
631
631
  )
632
632
  }