@bahmni/appointments-app 0.0.1-dev.261 → 0.0.1-dev.262

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,5 +1,5 @@
1
1
  import { jsx as n, jsxs as f } from "react/jsx-runtime";
2
- import { q as V, s as O, u as C, t as h, w as P, e as B, a as G, B as q, E as L, b as x, F as U, G as F, I as k, J as $, K as w, Q as H, R as K, W as Q } from "./index-BGsOPq88.js";
2
+ import { B as V, v as O, u as C, y as h, w as P, e as B, a as G, C as x, F as L, b as q, G as U, I as F, J as $, K as k, P as w, Q as H, S as K, W as Q } from "./index-CiBTO22M.js";
3
3
  import { useState as I, useMemo as _ } from "react";
4
4
  const W = V(
5
5
  O,
@@ -74,7 +74,7 @@ function ae(e, a) {
74
74
  }));
75
75
  }
76
76
  const re = () => {
77
- const { t: e } = C(), a = B(), { addNotification: t } = G(), { userPrivileges: s } = q(), { appointmentsConfig: i } = W(), [E, c] = I(null), [v, u] = I(!1), l = i?.serviceTableFields ?? [
77
+ const { t: e } = C(), a = B(), { addNotification: t } = G(), { userPrivileges: s } = x(), { appointmentsConfig: i } = W(), [E, c] = I(null), [v, u] = I(!1), l = i?.serviceTableFields ?? [
78
78
  ...p
79
79
  ], S = L(s, Y), M = L(
80
80
  s,
@@ -82,14 +82,14 @@ const re = () => {
82
82
  ), m = _(
83
83
  () => ee(l),
84
84
  [l]
85
- ), { data: A, isLoading: b, isError: R } = x({
85
+ ), { data: A, isLoading: b, isError: D } = q({
86
86
  queryKey: ["allAppointmentServices"],
87
87
  queryFn: Q,
88
88
  enabled: S
89
- }), D = _(
89
+ }), N = _(
90
90
  () => te(l, e),
91
91
  [l]
92
- ), N = _(
92
+ ), R = _(
93
93
  () => ae(A ?? [], m),
94
94
  [A, m]
95
95
  ), g = async () => {
@@ -129,7 +129,7 @@ const re = () => {
129
129
  return /* @__PURE__ */ n(
130
130
  F,
131
131
  {
132
- header: /* @__PURE__ */ n($, { breadcrumbItems: y }),
132
+ header: /* @__PURE__ */ n(k, { breadcrumbItems: y }),
133
133
  main: S ? /* @__PURE__ */ f(
134
134
  "div",
135
135
  {
@@ -139,15 +139,15 @@ const re = () => {
139
139
  className: d.page,
140
140
  children: [
141
141
  /* @__PURE__ */ n(
142
- k,
142
+ $,
143
143
  {
144
144
  id: "all-services",
145
145
  title: e("ADMIN_ALL_SERVICES_TITLE"),
146
- headers: D,
147
- rows: N,
146
+ headers: N,
147
+ rows: R,
148
148
  ariaLabel: "all-services-table",
149
149
  loading: b,
150
- errorStateMessage: R ? e("ADMIN_ALL_SERVICES_ERROR_MESSAGE") : null,
150
+ errorStateMessage: D ? e("ADMIN_ALL_SERVICES_ERROR_MESSAGE") : null,
151
151
  emptyStateMessage: e("ADMIN_ALL_SERVICES_EMPTY_MESSAGE"),
152
152
  renderCell: T,
153
153
  className: d.table
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { aK as t } from "./index-BGsOPq88.js";
1
+ import { aK as t } from "./index-CiBTO22M.js";
2
2
  export {
3
3
  t as AppointmentsApp
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bahmni/appointments-app",
3
- "version": "0.0.1-dev.261",
3
+ "version": "0.0.1-dev.262",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",