@bahmni/appointments-app 0.0.1-dev.366 → 0.0.1-dev.367

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 { jsx as a, jsxs as y } from "react/jsx-runtime";
2
- import { B as V, C as O, u as I, F as P, D as h, K as B, J as G, E as L, L as x, N as U, P as F, Q as H, T as q, V as K, W as Q, X as j, Y as k } from "./index-BTbPRgCo.js";
2
+ import { z as V, B as O, u as I, F as P, C as h, K as B, J as G, D as L, G as x, L as U, N as F, P as H, Q as q, T as K, V as Q, W as j, X as k } from "./index-NuZ0Q4DH.js";
3
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(
4
+ import { useQueryClient as W, useQuery as $ } from "@tanstack/react-query";
5
+ const z = V(
6
6
  O,
7
7
  "useAppointmentsConfig",
8
8
  "AppointmentsConfigProvider"
9
- ), w = ({
9
+ ), Y = ({
10
10
  serviceName: e,
11
11
  isDeleting: i,
12
12
  onConfirm: t,
@@ -36,7 +36,7 @@ const $ = V(
36
36
  "speciality",
37
37
  "durationMins",
38
38
  "description"
39
- ], z = "app:appointments:manageServices", J = "app:appointments:adminTab", Z = "index-module_page__Gsfbu", X = "index-module_noPrivilegeContainer__Pu5WZ", ee = "index-module_table__GAPmb", d = {
39
+ ], w = "app:appointments:manageServices", J = "app:appointments:adminTab", Z = "index-module_page__Gsfbu", X = "index-module_noPrivilegeContainer__Pu5WZ", ee = "index-module_table__GAPmb", d = {
40
40
  page: Z,
41
41
  noPrivilegeContainer: X,
42
42
  table: ee
@@ -75,15 +75,15 @@ function ae(e, i) {
75
75
  }));
76
76
  }
77
77
  const oe = () => {
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 ?? [
78
+ const { t: e } = I(), i = W(), { addNotification: t } = B(), { userPrivileges: s } = G(), { appointmentsConfig: n } = z(), [E, _] = C(null), [b, p] = C(!1), l = n?.serviceTableFields ?? [
79
79
  ...u
80
80
  ], m = L(s, J), M = L(
81
81
  s,
82
- z
82
+ w
83
83
  ), S = c(
84
84
  () => te(l),
85
85
  [l]
86
- ), { data: A, isLoading: v, isError: D } = Y({
86
+ ), { data: A, isLoading: v, isError: D } = $({
87
87
  queryKey: ["allAppointmentServices"],
88
88
  queryFn: x,
89
89
  enabled: m
@@ -155,7 +155,7 @@ const oe = () => {
155
155
  }
156
156
  ),
157
157
  E && /* @__PURE__ */ a(
158
- w,
158
+ Y,
159
159
  {
160
160
  serviceName: E.name,
161
161
  isDeleting: b,
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b9 as t } from "./index-BTbPRgCo.js";
1
+ import { b9 as t } from "./index-NuZ0Q4DH.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.366",
3
+ "version": "0.0.1-dev.367",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",