@bahmni/appointments-app 0.0.1-dev.358 → 0.0.1-dev.361

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.
@@ -106880,7 +106880,7 @@ I90();
106880
106880
  const B90 = [];
106881
106881
  for (let t = 0; t < 256; ++t)
106882
106882
  B90.push((t + 256).toString(16).slice(1));
106883
- R0(() => Promise.resolve().then(() => na0)), R0(() => Promise.resolve().then(() => La0)), R0(() => Promise.resolve().then(() => sc0)), R0(() => Promise.resolve().then(() => wc0)), R0(() => import("./DocumentsTable-p710KcO6-4565R-C8.js")), R0(() => Promise.resolve().then(() => ms0)), R0(() => import("./FormsTable-D2nvJ1yI-CDDejX1H.js")), R0(() => Promise.resolve().then(() => Yi0)), R0(() => import("./Observations-YezD6umW-CzKtkV3X.js")), R0(
106883
+ R0(() => Promise.resolve().then(() => na0)), R0(() => Promise.resolve().then(() => La0)), R0(() => Promise.resolve().then(() => sc0)), R0(() => Promise.resolve().then(() => wc0)), R0(() => import("./DocumentsTable-CuUXGGnu-COL5lkEj.js")), R0(() => Promise.resolve().then(() => ms0)), R0(() => import("./FormsTable-Brl_a7KT-DbeqfPcU.js")), R0(() => Promise.resolve().then(() => Yi0)), R0(() => import("./Observations-BhHohufb-CrHLAvYo.js")), R0(
106884
106884
  () => Promise.resolve().then(() => Qs0)
106885
106885
  ), R0(
106886
106886
  () => Promise.resolve().then(() => vi0)
@@ -195116,7 +195116,7 @@ var abt = (t, e = !1) => {
195116
195116
  const e = Wa2(() => {
195117
195117
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#e;
195118
195118
  let d;
195119
- return this.#l ? d = this.#l : (d = qa2(() => import("./LNWAZHJI-By9LkfPX.js")), this.#l = d), hc2(this.#h, this.#r), ja2(d, Fa2({
195119
+ return this.#l ? d = this.#l : (d = qa2(() => import("./LNWAZHJI-CfOrFUs1.js")), this.#l = d), hc2(this.#h, this.#r), ja2(d, Fa2({
195120
195120
  get queryFlavor() {
195121
195121
  return r.#d;
195122
195122
  },
@@ -195214,7 +195214,7 @@ var abt = (t, e = !1) => {
195214
195214
  const e = Wa2(() => {
195215
195215
  const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [l] = this.#c, [i] = this.#p, [s] = this.#e, [d] = this.#l;
195216
195216
  let u;
195217
- return this.#i ? u = this.#i : (u = qa2(() => import("./MWZ6AO7Z-HnKrc6p2.js")), this.#i = u), hc2(this.#h, this.#r), ja2(u, Fa2({
195217
+ return this.#i ? u = this.#i : (u = qa2(() => import("./MWZ6AO7Z-nIg_01Xr.js")), this.#i = u), hc2(this.#h, this.#r), ja2(u, Fa2({
195218
195218
  get queryFlavor() {
195219
195219
  return r.#d;
195220
195220
  },
@@ -195374,11 +195374,11 @@ const RVt = {
195374
195374
  }), KVt = R0(
195375
195375
  () => import("./index-CFigb5vF.js").then((t) => ({ default: t.IndexPage }))
195376
195376
  ), YVt = R0(
195377
- () => import("./index-BWbFZQt2.js").then((t) => ({
195377
+ () => import("./index-DjTIRYLH.js").then((t) => ({
195378
195378
  default: t.default
195379
195379
  }))
195380
195380
  ), JVt = R0(
195381
- () => import("./index-DcCud78p.js").then((t) => ({
195381
+ () => import("./index-Cw9IPH4Y.js").then((t) => ({
195382
195382
  default: t.default
195383
195383
  }))
195384
195384
  ), XVt = [
@@ -195422,33 +195422,33 @@ function dbt() {
195422
195422
  export {
195423
195423
  mxt as $,
195424
195424
  dF2 as A,
195425
- IVt as B,
195426
- jz as C,
195427
- Pzt as D,
195428
- xHt as E,
195429
- uE as F,
195430
- Im0 as G,
195431
- Ozt as H,
195432
- dxt as I,
195433
- mHt as J,
195434
- Oxt as K,
195435
- Bzt as L,
195436
- $zt as M,
195437
- xxt as N,
195438
- Izt as O,
195439
- Wzt as P,
195440
- tyt as Q,
195441
- jzt as R,
195442
- W90 as S,
195443
- Zzt as T,
195444
- Vxt as U,
195445
- Tzt as V,
195446
- wM as W,
195447
- kJ2 as X,
195425
+ Wzt as B,
195426
+ IVt as C,
195427
+ jz as D,
195428
+ uM as E,
195429
+ szt as F,
195430
+ wM as G,
195431
+ Pzt as H,
195432
+ TB2 as I,
195433
+ Zc as J,
195434
+ $r as K,
195435
+ xHt as L,
195436
+ jzt as M,
195437
+ Uzt as N,
195438
+ Im0 as O,
195439
+ mHt as P,
195440
+ Oxt as Q,
195441
+ hY1 as R,
195442
+ xxt as S,
195443
+ tyt as T,
195444
+ lt as U,
195445
+ Bzt as V,
195446
+ W90 as W,
195447
+ Vxt as X,
195448
195448
  YB0 as Y,
195449
195449
  uxt as Z,
195450
- hY1 as _,
195451
- $r as a,
195450
+ dxt as _,
195451
+ a2 as a,
195452
195452
  Fxt as a$,
195453
195453
  gxt as a0,
195454
195454
  bf0 as a1,
@@ -195513,7 +195513,7 @@ export {
195513
195513
  Kxt as ax,
195514
195514
  fg as ay,
195515
195515
  c4 as az,
195516
- Dzt as b,
195516
+ as as b,
195517
195517
  n8 as b0,
195518
195518
  Byt as b1,
195519
195519
  Qxt as b2,
@@ -195524,28 +195524,28 @@ export {
195524
195524
  Xxt as b7,
195525
195525
  uyt as b8,
195526
195526
  dbt as b9,
195527
- an as c,
195528
- xt as d,
195529
- lt as e,
195530
- Ki as f,
195531
- a2 as g,
195532
- as as h,
195533
- Hg as i,
195534
- Qi as j,
195535
- NJ2 as k,
195536
- es as l,
195537
- Gt as m,
195538
- Uzt as n,
195539
- Ut as o,
195540
- szt as p,
195541
- aVe as q,
195542
- TB2 as r,
195543
- cF2 as s,
195544
- kl as t,
195527
+ kJ2 as c,
195528
+ $zt as d,
195529
+ Ozt as e,
195530
+ NJ2 as f,
195531
+ Gt as g,
195532
+ Dzt as h,
195533
+ an as i,
195534
+ Ki as j,
195535
+ Hg as k,
195536
+ Qi as l,
195537
+ es as m,
195538
+ kl as n,
195539
+ _zt as o,
195540
+ xt as p,
195541
+ Tzt as q,
195542
+ uE as r,
195543
+ Ut as s,
195544
+ Zzt as t,
195545
195545
  E2 as u,
195546
- vF2 as v,
195547
- uM as w,
195548
- Zc as x,
195549
- _zt as y,
195550
- kzt as z
195546
+ kzt as v,
195547
+ aVe as w,
195548
+ cF2 as x,
195549
+ Izt as y,
195550
+ vF2 as z
195551
195551
  };
@@ -1,5 +1,5 @@
1
1
  import { jsx as r, jsxs as p } from "react/jsx-runtime";
2
- import { $ as f, a0 as B, a1 as O, a2 as V, a3 as Z, a4 as ee, a5 as te, a6 as ie, I as ae, a7 as ne, u as Q, a8 as R, a9 as le, aa as re, ab as se, ac as E, ad as F, ae as C, af as Y, ag as x, ah as k, ai as H, x as oe, a as de, G as $, aj as ce, J as me, ak as Ae, al as Ie, am as ue, N as _e, Q as Te, S as Le } from "./index-KSNFz7JV.js";
2
+ import { $ as f, a0 as O, a1 as B, 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 E, ad as F, ae as C, af as Y, ag as k, ah as x, ai as H, J as oe, K as de, O as $, aj as ce, P as me, ak as Ae, al as Ie, am as ue, S as _e, T as Te, W as Le } from "./index-B1VY-ZBa.js";
3
3
  import { useState as g, useMemo as N, useEffect as S, useRef as ve, useCallback as U } from "react";
4
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", G = "Appointment Location", De = () => {
@@ -8,7 +8,7 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
8
8
  } catch {
9
9
  return "";
10
10
  }
11
- }, w = (e) => ({
11
+ }, K = (e) => ({
12
12
  id: "",
13
13
  text: e
14
14
  }), ye = (e) => ({
@@ -39,17 +39,17 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
39
39
  }, Ue = (e, a) => ({
40
40
  locationUuid: e.locationUuid,
41
41
  startDate: f(e.startDate, a, !1, V).formattedResult,
42
- startTime: O(
42
+ startTime: B(
43
43
  `${e.startTime} ${e.startTimePeriod}`
44
44
  ),
45
45
  endDate: f(e.endDate, a, !1, V).formattedResult,
46
- endTime: O(`${e.endTime} ${e.endTimePeriod}`)
46
+ endTime: B(`${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 = B(
50
+ const o = O(
51
51
  `${e.startTime} ${e.startTimePeriod}`
52
- ), c = B(
52
+ ), c = O(
53
53
  `${e.endTime} ${e.endTimePeriod}`
54
54
  );
55
55
  o !== null && c !== null && c <= o && (n.dateTime = a("ADMIN_UNAVAILABILITY_DATETIME_ERROR_MESSAGE"));
@@ -62,7 +62,7 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
62
62
  locationName: e.location.name,
63
63
  appointmentServiceName: e.service?.name ?? a("ADMIN_UNAVAILABILITY_ALL"),
64
64
  providerName: e.provider?.name ?? a("ADMIN_UNAVAILABILITY_ALL")
65
- }), K = (e) => e.filter((a) => !a.isSelectAll).map((a) => a.id), Re = (e, a) => {
65
+ }), w = (e) => e.filter((a) => !a.isSelectAll).map((a) => a.id), Re = (e, a) => {
66
66
  const n = Ue(
67
67
  {
68
68
  locationUuid: e.locationUuid,
@@ -74,7 +74,7 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
74
74
  endTimePeriod: e.endTimePeriod
75
75
  },
76
76
  a
77
- ), t = K(e.selectedServiceItems), o = K(e.selectedProviderItems), A = t.length === e.filteredServicesCount || t.length === 0 ? [void 0] : t, m = o.length === e.availableProvidersCount || o.length === 0 ? [void 0] : o;
77
+ ), t = w(e.selectedServiceItems), o = w(e.selectedProviderItems), A = t.length === e.filteredServicesCount || t.length === 0 ? [void 0] : t, m = o.length === e.availableProvidersCount || o.length === 0 ? [void 0] : o;
78
78
  return A.flatMap(
79
79
  (l) => m.map((s) => ({
80
80
  ...n,
@@ -137,16 +137,16 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
137
137
  isLoading: a || o || L || s,
138
138
  isError: n || c || m || _
139
139
  };
140
- }, Pe = "UnavailabilityForm-module_formContent__WmNHR", Be = "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 = {
140
+ }, Pe = "UnavailabilityForm-module_formContent__WmNHR", Oe = "UnavailabilityForm-module_formField__8he7o", Be = "UnavailabilityForm-module_loading__IDEY6", Ve = "UnavailabilityForm-module_error__jDeOm", Fe = "UnavailabilityForm-module_grid__t6NKR", Ce = "UnavailabilityForm-module_column__QFdnQ", Ye = "UnavailabilityForm-module_dateTimeColumn__6bi0F", ke = "UnavailabilityForm-module_datePicker__6HgbO", xe = "UnavailabilityForm-module_timePicker__DHNpK", d = {
141
141
  formContent: Pe,
142
- formField: Be,
143
- loading: Oe,
142
+ formField: Oe,
143
+ loading: Be,
144
144
  error: Ve,
145
145
  grid: Fe,
146
146
  column: Ce,
147
147
  dateTimeColumn: Ye,
148
- datePicker: xe,
149
- timePicker: ke
148
+ datePicker: ke,
149
+ timePicker: xe
150
150
  }, He = ({
151
151
  errors: e,
152
152
  formDataRef: a,
@@ -187,7 +187,7 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
187
187
  _,
188
188
  t("ADMIN_UNAVAILABILITY_FORM_ALL_SERVICES")
189
189
  ),
190
- w,
190
+ K,
191
191
  {
192
192
  loading: "",
193
193
  error: "",
@@ -203,7 +203,7 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
203
203
  I,
204
204
  t("ADMIN_UNAVAILABILITY_FORM_ALL_PROVIDERS")
205
205
  ),
206
- w,
206
+ K,
207
207
  {
208
208
  loading: "",
209
209
  error: "",
@@ -327,7 +327,7 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
327
327
  }
328
328
  ),
329
329
  /* @__PURE__ */ r(
330
- x,
330
+ k,
331
331
  {
332
332
  id: "start-time",
333
333
  "data-testid": "start-time-input",
@@ -342,7 +342,7 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
342
342
  use24HourFormat: !1,
343
343
  className: d.timePicker,
344
344
  children: /* @__PURE__ */ p(
345
- k,
345
+ x,
346
346
  {
347
347
  id: "start-time-period",
348
348
  "data-testid": "start-time-period-select",
@@ -402,7 +402,7 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
402
402
  }
403
403
  ),
404
404
  /* @__PURE__ */ r(
405
- x,
405
+ k,
406
406
  {
407
407
  id: "end-time",
408
408
  "data-testid": "end-time-input",
@@ -417,7 +417,7 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
417
417
  use24HourFormat: !1,
418
418
  className: d.timePicker,
419
419
  children: /* @__PURE__ */ p(
420
- k,
420
+ x,
421
421
  {
422
422
  id: "end-time-period",
423
423
  "data-testid": "end-time-period-select",
@@ -566,13 +566,13 @@ const be = "Available for appointments", q = "Get Appointment Unavailability", p
566
566
  s(T), !(Object.keys(T).length > 0) && await h(Re(m.current, e));
567
567
  }, [e, h]), W = U(
568
568
  (T) => {
569
- s((J) => {
570
- const P = { ...J };
569
+ s((z) => {
570
+ const P = { ...z };
571
571
  return T.forEach((X) => delete P[X]), P;
572
572
  });
573
573
  },
574
574
  []
575
- ), z = U(() => {
575
+ ), J = U(() => {
576
576
  c(!1), m.current = null, s({});
577
577
  }, []);
578
578
  return /* @__PURE__ */ r(
@@ -619,7 +619,7 @@ 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: z,
622
+ onSecondaryButtonClick: J,
623
623
  isSecondaryButtonDisabled: A,
624
624
  content: /* @__PURE__ */ r(
625
625
  He,
@@ -1,20 +1,20 @@
1
- import { jsx as i, jsxs as y } from "react/jsx-runtime";
2
- import { P as V, B as P, u as C, C as O, E as h, a as B, x as G, G as L, I as x, J as U, K as H, N as q, Q as F, S as K, U as Q, Y as j, Z as k } from "./index-KSNFz7JV.js";
3
- import { useState as I, useMemo as c } from "react";
4
- import { useQueryClient as $, useQuery as W } from "@tanstack/react-query";
5
- const Y = V(
6
- P,
1
+ import { jsx as a, jsxs as y } from "react/jsx-runtime";
2
+ import { B as V, C as O, u as I, D as P, L as h, K as B, J as G, O as L, _ as x, P as U, Q as H, S as q, T as F, W as K, X as Q, Y as j, Z as k } from "./index-B1VY-ZBa.js";
3
+ import { useState as C, useMemo as c } from "react";
4
+ import { useQueryClient as W, useQuery as Y } from "@tanstack/react-query";
5
+ const $ = V(
6
+ O,
7
7
  "useAppointmentsConfig",
8
8
  "AppointmentsConfigProvider"
9
9
  ), Z = ({
10
10
  serviceName: e,
11
- isDeleting: a,
11
+ isDeleting: i,
12
12
  onConfirm: t,
13
13
  onCancel: s
14
14
  }) => {
15
- const { t: n } = C();
16
- return /* @__PURE__ */ i(
17
- O,
15
+ const { t: n } = I();
16
+ return /* @__PURE__ */ a(
17
+ P,
18
18
  {
19
19
  id: "delete-service-modal",
20
20
  testId: "delete-service-modal-test-id",
@@ -25,7 +25,7 @@ const Y = V(
25
25
  onRequestSubmit: t,
26
26
  primaryButtonText: n("ADMIN_ALL_SERVICES_DELETE_BUTTON_LABEL"),
27
27
  secondaryButtonText: n("ADMIN_ALL_SERVICES_DELETE_CANCEL"),
28
- primaryButtonDisabled: a,
28
+ primaryButtonDisabled: i,
29
29
  modalHeading: n("ADMIN_ALL_SERVICES_DELETE_MODAL_TITLE"),
30
30
  children: n("ADMIN_ALL_SERVICES_DELETE_CONFIRM_BODY", { serviceName: e })
31
31
  }
@@ -42,23 +42,23 @@ const Y = V(
42
42
  table: ee
43
43
  };
44
44
  function te(e) {
45
- return e.filter((a) => !u.includes(a));
45
+ return e.filter((i) => !u.includes(i));
46
46
  }
47
- function ae(e, a) {
47
+ function ie(e, i) {
48
48
  return [
49
49
  ...e.map((t) => ({
50
50
  key: t,
51
- header: a(
51
+ header: i(
52
52
  `ADMIN_ALL_SERVICES_COLUMN_${h(t)}`
53
53
  )
54
54
  })),
55
55
  {
56
56
  key: "actions",
57
- header: a("ADMIN_ALL_SERVICES_COLUMN_ACTIONS")
57
+ header: i("ADMIN_ALL_SERVICES_COLUMN_ACTIONS")
58
58
  }
59
59
  ];
60
60
  }
61
- function ie(e, a) {
61
+ function ae(e, i) {
62
62
  return e.map((t) => ({
63
63
  id: t.uuid,
64
64
  name: t.name,
@@ -67,7 +67,7 @@ function ie(e, a) {
67
67
  durationMins: t.durationMins,
68
68
  description: t.description,
69
69
  attributes: Object.fromEntries(
70
- a.map((s) => [
70
+ i.map((s) => [
71
71
  s,
72
72
  t.attributes?.find((n) => n.attributeType === s)?.value ?? null
73
73
  ])
@@ -75,7 +75,7 @@ function ie(e, a) {
75
75
  }));
76
76
  }
77
77
  const oe = () => {
78
- const { t: e } = C(), a = $(), { addNotification: t } = B(), { userPrivileges: s } = G(), { appointmentsConfig: n } = Y(), [E, _] = I(null), [b, p] = I(!1), l = n?.serviceTableFields ?? [
78
+ const { t: e } = I(), i = W(), { addNotification: t } = B(), { userPrivileges: s } = G(), { appointmentsConfig: n } = $(), [E, _] = C(null), [b, p] = C(!1), l = n?.serviceTableFields ?? [
79
79
  ...u
80
80
  ], S = L(s, z), M = L(
81
81
  s,
@@ -83,15 +83,15 @@ const oe = () => {
83
83
  ), m = c(
84
84
  () => te(l),
85
85
  [l]
86
- ), { data: A, isLoading: v, isError: D } = W({
86
+ ), { data: A, isLoading: v, isError: D } = Y({
87
87
  queryKey: ["allAppointmentServices"],
88
88
  queryFn: x,
89
89
  enabled: S
90
- }), N = c(
91
- () => ae(l, e),
90
+ }), R = c(
91
+ () => ie(l, e),
92
92
  [l]
93
- ), R = c(
94
- () => ie(A ?? [], m),
93
+ ), N = c(
94
+ () => ae(A ?? [], m),
95
95
  [A, m]
96
96
  ), g = async () => {
97
97
  p(!0);
@@ -101,7 +101,7 @@ const oe = () => {
101
101
  message: e("ADMIN_ALL_SERVICES_DELETE_SUCCESS_MESSAGE"),
102
102
  type: "success",
103
103
  timeout: 5e3
104
- }), _(null), a.invalidateQueries({ queryKey: ["allAppointmentServices"] });
104
+ }), _(null), i.invalidateQueries({ queryKey: ["allAppointmentServices"] });
105
105
  } catch {
106
106
  t({
107
107
  title: e("ADMIN_ALL_SERVICES_DELETE_ERROR_TITLE"),
@@ -111,7 +111,7 @@ const oe = () => {
111
111
  } finally {
112
112
  p(!1);
113
113
  }
114
- }, T = (r, o) => o === "actions" ? /* @__PURE__ */ i(
114
+ }, T = (r, o) => o === "actions" ? /* @__PURE__ */ a(
115
115
  Q,
116
116
  {
117
117
  id: `delete-service-${r.id}-btn`,
@@ -121,16 +121,16 @@ const oe = () => {
121
121
  label: e("ADMIN_ALL_SERVICES_DELETE_ICON_LABEL"),
122
122
  disabled: !M,
123
123
  onClick: () => _(r),
124
- children: /* @__PURE__ */ i(j, {})
124
+ children: /* @__PURE__ */ a(j, {})
125
125
  }
126
126
  ) : u.includes(o) ? r[o] ?? "-" : r.attributes[o] ?? "-", f = [
127
127
  { id: "home", label: e("BREADCRUMB_HOME"), href: U },
128
128
  { id: "admin", label: e("BREADCRUMB_ADMIN"), isCurrentPage: !0 }
129
129
  ];
130
- return /* @__PURE__ */ i(
130
+ return /* @__PURE__ */ a(
131
131
  H,
132
132
  {
133
- header: /* @__PURE__ */ i(F, { breadcrumbItems: f, userMenu: /* @__PURE__ */ i(K, {}) }),
133
+ header: /* @__PURE__ */ a(F, { breadcrumbItems: f, userMenu: /* @__PURE__ */ a(K, {}) }),
134
134
  main: S ? /* @__PURE__ */ y(
135
135
  "div",
136
136
  {
@@ -139,13 +139,13 @@ const oe = () => {
139
139
  "aria-label": "all-appointment-service-page-aria-label",
140
140
  className: d.page,
141
141
  children: [
142
- /* @__PURE__ */ i(
142
+ /* @__PURE__ */ a(
143
143
  q,
144
144
  {
145
145
  id: "all-services",
146
146
  title: e("ADMIN_ALL_SERVICES_TITLE"),
147
- headers: N,
148
- rows: R,
147
+ headers: R,
148
+ rows: N,
149
149
  ariaLabel: "all-services-table",
150
150
  loading: v,
151
151
  errorStateMessage: D ? e("ADMIN_ALL_SERVICES_ERROR_MESSAGE") : null,
@@ -154,7 +154,7 @@ const oe = () => {
154
154
  className: d.table
155
155
  }
156
156
  ),
157
- E && /* @__PURE__ */ i(
157
+ E && /* @__PURE__ */ a(
158
158
  Z,
159
159
  {
160
160
  serviceName: E.name,
@@ -165,7 +165,7 @@ const oe = () => {
165
165
  )
166
166
  ]
167
167
  }
168
- ) : /* @__PURE__ */ i(
168
+ ) : /* @__PURE__ */ a(
169
169
  "div",
170
170
  {
171
171
  id: "all-appointment-service-no-view-privilege",