@bahmni/appointments-app 0.0.1-dev.333 → 0.0.1-dev.334

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 n, jsxs as y } from "react/jsx-runtime";
2
- import { z as V, x as P, u as C, P as O, B as h, q as B, C as x, D as L, X as G, F as q, G as U, I as F, J as H, K as k, L as K, Z as Q } from "./index-rGSUMz8Z.js";
2
+ import { T as V, t as P, u as C, P as O, w as h, q as B, x, z as L, X as G, D as q, B as U, C as F, J as H, G as k, I as w, Z as Q } from "./index-BHDpSDl2.js";
3
3
  import { useState as I, useMemo as _ } from "react";
4
4
  import { useQueryClient as Z, useQuery as $ } from "@tanstack/react-query";
5
5
  const j = V(
6
6
  P,
7
7
  "useAppointmentsConfig",
8
8
  "AppointmentsConfigProvider"
9
- ), w = ({
9
+ ), K = ({
10
10
  serviceName: e,
11
11
  isDeleting: a,
12
12
  onConfirm: t,
@@ -36,10 +36,10 @@ const j = V(
36
36
  "speciality",
37
37
  "durationMins",
38
38
  "description"
39
- ], W = "app:appointments:manageServices", z = "app:appointments:adminTab", J = "index-module_page__Gsfbu", X = "index-module_noPrivilegeContainer__Pu5WZ", Y = "index-module_table__GAPmb", d = {
40
- page: J,
41
- noPrivilegeContainer: X,
42
- table: Y
39
+ ], W = "app:appointments:manageServices", J = "app:appointments:adminTab", X = "index-module_page__Gsfbu", Y = "index-module_noPrivilegeContainer__Pu5WZ", z = "index-module_table__GAPmb", d = {
40
+ page: X,
41
+ noPrivilegeContainer: Y,
42
+ table: z
43
43
  };
44
44
  function ee(e) {
45
45
  return e.filter((a) => !u.includes(a));
@@ -77,7 +77,7 @@ function ae(e, a) {
77
77
  const le = () => {
78
78
  const { t: e } = C(), a = Z(), { addNotification: t } = B(), { userPrivileges: s } = x(), { appointmentsConfig: i } = j(), [E, c] = I(null), [b, p] = I(!1), l = i?.serviceTableFields ?? [
79
79
  ...u
80
- ], m = L(s, z), M = L(
80
+ ], m = L(s, J), M = L(
81
81
  s,
82
82
  W
83
83
  ), S = _(
@@ -121,7 +121,7 @@ const le = () => {
121
121
  label: e("ADMIN_ALL_SERVICES_DELETE_ICON_LABEL"),
122
122
  disabled: !M,
123
123
  onClick: () => c(r),
124
- children: /* @__PURE__ */ n(K, {})
124
+ children: /* @__PURE__ */ n(w, {})
125
125
  }
126
126
  ) : u.includes(o) ? r[o] ?? "-" : r.attributes[o] ?? "-", f = [
127
127
  { id: "home", label: e("BREADCRUMB_HOME"), href: q },
@@ -155,7 +155,7 @@ const le = () => {
155
155
  }
156
156
  ),
157
157
  E && /* @__PURE__ */ n(
158
- w,
158
+ K,
159
159
  {
160
160
  serviceName: E.name,
161
161
  isDeleting: b,
@@ -1,5 +1,5 @@
1
1
  import { jsx as r, jsxs as p } from "react/jsx-runtime";
2
- import { M as f, N as B, O, Q as V, S as Z, T as ee, Y as te, a0 as ie, X as ae, a1 as ne, u as Q, a2 as R, a3 as le, a4 as re, a5 as se, a6 as E, a7 as F, a8 as C, a9 as Y, aa as x, ab as k, ac as H, C as oe, q as de, D as $, ad as ce, F as me, ae as Ae, af as Ie, ag as ue, I as _e, J as Te } from "./index-rGSUMz8Z.js";
2
+ import { K as f, L as B, N as O, O as V, Q as Z, S as ee, Y as te, a0 as ie, X as ae, a1 as ne, u as Q, a2 as R, a3 as le, a4 as re, a5 as se, a6 as E, a7 as F, a8 as C, a9 as Y, aa as x, ab as k, ac as H, x as oe, q as de, z as $, ad as ce, D as me, ae as Ae, af as Ie, ag as ue, C as _e, J as Te } from "./index-BHDpSDl2.js";
3
3
  import { useState as g, useMemo as N, useEffect as S, useRef as Le, useCallback as U } from "react";
4
4
  import { useQuery as M, useQueryClient as ve } from "@tanstack/react-query";
5
5
  const Ne = "Available for appointments", q = "Get Appointment Unavailability", be = "Add Appointment Unavailability", w = "Appointment Location", pe = () => {
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b3 as t } from "./index-rGSUMz8Z.js";
1
+ import { b3 as t } from "./index-BHDpSDl2.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.333",
3
+ "version": "0.0.1-dev.334",
4
4
  "type": "module",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",