@bahmni/appointments-app 0.0.1-dev.184 → 0.0.1-dev.185
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.
- package/dist/{DocumentsTable-hpkFTeGK-BLNXFdLa.js → DocumentsTable-8I-Vd16r-D7OejRTq.js} +1 -1
- package/dist/{FormsTable-BkP1ehMS-CNFbJeYx.js → FormsTable-BolXVuK_-BgiYYu8o.js} +10 -10
- package/dist/{LNWAZHJI-Ggi0YA1w.js → LNWAZHJI-DtGAaLKa.js} +2 -2
- package/dist/{MWZ6AO7Z-BTtNUqGm.js → MWZ6AO7Z-CKJz0pD6.js} +2 -2
- package/dist/{Observations-tr0tfJLj-XoAbF5_J.js → Observations-D6R8bXEi-DqXuo3Nk.js} +4 -4
- package/dist/{YPM2AS64-ExjRSLUJ.js → YPM2AS64-CNFAfFEV.js} +1 -1
- package/dist/{index-Dan8Ownz.js → index-Dxc52lRE.js} +14 -14
- package/dist/index.js +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as Z, jsx as i, Fragment as Bt } from "react/jsx-runtime";
|
|
2
|
-
import { M as Rt, u as It, p as St, a as bt, j as kt, b as Wt, Y as Ut, P as $t, T as o, O as l, G as jt } from "./index-
|
|
2
|
+
import { M as Rt, u as It, p as St, a as bt, j as kt, b as Wt, Y as Ut, P as $t, T as o, O as l, G as jt } from "./index-Dxc52lRE.js";
|
|
3
3
|
import e, { useState as x, useCallback as V, useEffect as qt, useMemo as u } from "react";
|
|
4
4
|
var N, A, L, C, y, _, T, O, D, B, R, I, S, b, k, W, U, $, j, q, F, K, P, Y, G, Q, J, X, e2, r2, t2, c2, n2, o2, l2, h2, a2, i2, s2, p2, w2, v2, d2, f2, m2, E2, V2, u2, H2, M2, z2, g2, Z2, x2, N2, A2, L2, C2, y2, _2, T2, O2, D2, B2, R2, I2, S2, b2, k2, W2, U2, $2, j2, q2, F2, K2, P2, Y2, G2, Q2, J2, X2, e1, r1, t1, c1, n1, o1, l1, h1, a1, i1, s1, p1, w1, v1, d1, f1, m1, E1, V1, u1, H1, M1, z1, g1, Z1, x1, N1, A1, L1, C1, y1, _1, T1, O1, D1, B1, R1, I1, S1, b1, k1, W1, U1, $1, j1, q1, F1, K1, P1, Y1, G1, Q1, J1, X1, e0, r0, t0, c0, n0, o0, l0, h0, a0, i0, s0, p0, w0, v0, d0, f0, m0, E0, V0, u0, H0, M0, z0, g0, Z0, x0, N0, A0, L0, C0, y0, _0, T0, O0, D0, B0, R0, I0, S0, b0, k0, W0, U0, $0, j0, q0, F0, K0, P0, Y0, G0, Q0, J0, X0, ee, re, te, ce, ne, oe, le, he, ae, ie, se, pe, we, ve, de, fe, me, Ee, Ve, ue, He, Me, ze, ge, Ze, xe;
|
|
5
5
|
const Ne = {}, Ft = /* @__PURE__ */ e.forwardRef(function({
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as s, jsxs as p, Fragment as P } from "react/jsx-runtime";
|
|
2
|
-
import { u as ee, M as re, i as ae, c as te, a as A, S as oe, j as ne, C as se, b as U, f as de, m as me, Y as ie, V as le, d as q, e as ce, P as ue, g as F, h as be, y as pe,
|
|
2
|
+
import { u as ee, M as re, i as ae, c as te, a as A, S as oe, j as ne, C as se, b as U, f as de, m as me, Y as ie, V as le, d as q, e as ce, P as ue, g as F, h as be, y as pe, k as fe, l as _e, F as $e, n as ve, q as ge, K as he, U as ye } from "./index-Dxc52lRE.js";
|
|
3
3
|
import { useState as z, useMemo as h, useCallback as C } from "react";
|
|
4
|
-
const Ne = "_formsTableBody_1pd36_1", Ae = "_customAccordianItem_1pd36_6", Ce = "_formContent_1pd36_18", Fe = "_formDetailsContainer_1pd36_25", Re = "_observation_1pd36_30", Le = "_groupContainer_1pd36_39", Me = "_rowContainer_1pd36_43", Oe = "_groupLabel_1pd36_48", Ve = "_rowLabel_1pd36_58", Ie = "_rowValue_1pd36_67", Se = "_groupMembers_1pd36_75", Te = "_memberRow_1pd36_81", De = "_memberLabel_1pd36_86", we = "_memberValue_1pd36_94",
|
|
4
|
+
const Ne = "_formsTableBody_1pd36_1", Ae = "_customAccordianItem_1pd36_6", Ce = "_formContent_1pd36_18", Fe = "_formDetailsContainer_1pd36_25", Re = "_observation_1pd36_30", Le = "_groupContainer_1pd36_39", Me = "_rowContainer_1pd36_43", Oe = "_groupLabel_1pd36_48", Ve = "_rowLabel_1pd36_58", Ie = "_rowValue_1pd36_67", Se = "_groupMembers_1pd36_75", Te = "_memberRow_1pd36_81", De = "_memberLabel_1pd36_86", we = "_memberValue_1pd36_94", Ee = "_abnormalValue_1pd36_102", xe = "_commentSection_1pd36_110", Be = "_commentText_1pd36_116", Ge = "_nestedGroup_1pd36_125", Ue = "_nestedGroupLabel_1pd36_132", qe = "_nestedGroupMembers_1pd36_141", o = {
|
|
5
5
|
formsTableBody: Ne,
|
|
6
6
|
customAccordianItem: Ae,
|
|
7
7
|
formContent: Ce,
|
|
@@ -16,8 +16,8 @@ const Ne = "_formsTableBody_1pd36_1", Ae = "_customAccordianItem_1pd36_6", Ce =
|
|
|
16
16
|
memberRow: Te,
|
|
17
17
|
memberLabel: De,
|
|
18
18
|
memberValue: we,
|
|
19
|
-
abnormalValue:
|
|
20
|
-
commentSection:
|
|
19
|
+
abnormalValue: Ee,
|
|
20
|
+
commentSection: xe,
|
|
21
21
|
commentText: Be,
|
|
22
22
|
nestedGroup: Ge,
|
|
23
23
|
nestedGroupLabel: Ue,
|
|
@@ -297,7 +297,7 @@ const Ne = "_formsTableBody_1pd36_1", Ae = "_customAccordianItem_1pd36_6", Ce =
|
|
|
297
297
|
const w = h(() => !L || !t?.formName ? [] : ke(
|
|
298
298
|
L,
|
|
299
299
|
t.formName
|
|
300
|
-
), [L, t?.formName]),
|
|
300
|
+
), [L, t?.formName]), E = h(
|
|
301
301
|
() => [
|
|
302
302
|
{ key: "recordedOn", header: a("FORM_RECORDED_ON") },
|
|
303
303
|
{ key: "recordedBy", header: a("FORM_RECORDED_BY") }
|
|
@@ -309,7 +309,7 @@ const Ne = "_formsTableBody_1pd36_1", Ae = "_customAccordianItem_1pd36_6", Ce =
|
|
|
309
309
|
{ key: "recordedBy", sortable: !0 }
|
|
310
310
|
],
|
|
311
311
|
[]
|
|
312
|
-
),
|
|
312
|
+
), x = h(() => {
|
|
313
313
|
const i = V.reduce(
|
|
314
314
|
(u, l) => {
|
|
315
315
|
const g = l.formName;
|
|
@@ -352,10 +352,10 @@ const Ne = "_formsTableBody_1pd36_1", Ae = "_customAccordianItem_1pd36_6", Ce =
|
|
|
352
352
|
[B]
|
|
353
353
|
);
|
|
354
354
|
return /* @__PURE__ */ p(P, { children: [
|
|
355
|
-
/* @__PURE__ */ s("div", { "data-testid": "forms-table", children: y || N ||
|
|
355
|
+
/* @__PURE__ */ s("div", { "data-testid": "forms-table", children: y || N || x.length === 0 || f ? /* @__PURE__ */ s(
|
|
356
356
|
U,
|
|
357
357
|
{
|
|
358
|
-
headers:
|
|
358
|
+
headers: E,
|
|
359
359
|
ariaLabel: a("FORMS_HEADING"),
|
|
360
360
|
rows: [],
|
|
361
361
|
loading: y,
|
|
@@ -365,7 +365,7 @@ const Ne = "_formsTableBody_1pd36_1", Ae = "_customAccordianItem_1pd36_6", Ce =
|
|
|
365
365
|
className: o.formsTableBody,
|
|
366
366
|
dataTestId: "forms-table"
|
|
367
367
|
}
|
|
368
|
-
) : /* @__PURE__ */ s(de, { align: "start", children:
|
|
368
|
+
) : /* @__PURE__ */ s(de, { align: "start", children: x.map((i, u) => {
|
|
369
369
|
const { formName: l, records: g } = i;
|
|
370
370
|
return /* @__PURE__ */ s(
|
|
371
371
|
me,
|
|
@@ -377,7 +377,7 @@ const Ne = "_formsTableBody_1pd36_1", Ae = "_customAccordianItem_1pd36_6", Ce =
|
|
|
377
377
|
children: /* @__PURE__ */ s(
|
|
378
378
|
U,
|
|
379
379
|
{
|
|
380
|
-
headers:
|
|
380
|
+
headers: E,
|
|
381
381
|
ariaLabel: a("FORMS_HEADING"),
|
|
382
382
|
rows: g,
|
|
383
383
|
loading: !1,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-
|
|
2
|
-
import { $ as d, a0 as f, a1 as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-CNFAfFEV.js";
|
|
2
|
+
import { $ as d, a0 as f, a1 as e } from "./index-Dxc52lRE.js";
|
|
3
3
|
var p = (a) => {
|
|
4
4
|
const [r, t] = c({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./YPM2AS64-
|
|
2
|
-
import { $ as v, a0 as C, a1 as e } from "./index-
|
|
1
|
+
import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./YPM2AS64-CNFAfFEV.js";
|
|
2
|
+
import { $ as v, a0 as C, a1 as e } from "./index-Dxc52lRE.js";
|
|
3
3
|
var h = (t) => {
|
|
4
4
|
const [r, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsxs as D, jsx as v } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
2
|
+
import { o as U, r as _, s as P, Q as L, c as V, t as K, v as G, w as j, x as W, z as J, A as X, B as T, D as N, E as Y, H as Z, M as ee, p as se, u as M, I as te, a as re, S as ie, e as ne, J as oe, L as ae, R as ue, b as ce, N as le, W as k, X as he, h as de, Z as pe, y as be, k as fe, l as ye, _ as ve } from "./index-Dxc52lRE.js";
|
|
3
3
|
import * as E from "react";
|
|
4
4
|
import { useRef as me, useEffect as I, useMemo as C } from "react";
|
|
5
5
|
function $(e, s) {
|
|
@@ -327,7 +327,7 @@ const z = (e, s, t, i, r) => {
|
|
|
327
327
|
{ key: "name", header: "name" },
|
|
328
328
|
{ key: "value", header: "value" },
|
|
329
329
|
{ key: "form", header: "form" }
|
|
330
|
-
], O = S || !f, w = R && f, A = (!y || y.entry?.length === 0 || b.length === 0) && f,
|
|
330
|
+
], O = S || !f, w = R && f, A = (!y || y.entry?.length === 0 || b.length === 0) && f, B = w ? n("ERROR_FETCHING_OBSERVATIONS") : null, x = A ? n("NO_OBSERVATIONS_FOUND") : void 0, F = d.length > 0 && !O && !w, Q = s.titleTranslationKey, g = Q ? n(Q) : "";
|
|
331
331
|
return /* @__PURE__ */ D(
|
|
332
332
|
"div",
|
|
333
333
|
{
|
|
@@ -353,8 +353,8 @@ const z = (e, s, t, i, r) => {
|
|
|
353
353
|
rows: [],
|
|
354
354
|
ariaLabel: n("OBSERVATIONS"),
|
|
355
355
|
loading: O,
|
|
356
|
-
errorStateMessage:
|
|
357
|
-
emptyStateMessage:
|
|
356
|
+
errorStateMessage: B,
|
|
357
|
+
emptyStateMessage: x,
|
|
358
358
|
dataTestId: "observations-table"
|
|
359
359
|
}
|
|
360
360
|
)
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a2 as we, a3 as z, a4 as xt, a5 as B, a0 as q, a1 as y, a6 as Ro, a7 as ye, a8 as R, a9 as _, aa as k, ab as N, ac as A, ad as bs, ae as ir, af as $e, ag as G, ah as Hn, ai as Vn, aj as dt, ak as D, al as xs, am as cn, an as Be, ao as ws, ap as qt, aq as zt, ar as $s, as as Cs, at as $n, au as Ss, av as Nr, aw as Bt, ax as zo, ay as ks, az as Es, aA as j, aB as Gr, aC as Ms, aD as Ds, aE as sr, aF as As, aG as Ts, aH as zn, aI as Fs, aJ as Is, aK as Z, aL as Ps, aM as Ls } from "./index-
|
|
1
|
+
import { a2 as we, a3 as z, a4 as xt, a5 as B, a0 as q, a1 as y, a6 as Ro, a7 as ye, a8 as R, a9 as _, aa as k, ab as N, ac as A, ad as bs, ae as ir, af as $e, ag as G, ah as Hn, ai as Vn, aj as dt, ak as D, al as xs, am as cn, an as Be, ao as ws, ap as qt, aq as zt, ar as $s, as as Cs, at as $n, au as Ss, av as Nr, aw as Bt, ax as zo, ay as ks, az as Es, aA as j, aB as Gr, aC as Ms, aD as Ds, aE as sr, aF as As, aG as Ts, aH as zn, aI as Fs, aJ as Is, aK as Z, aL as Ps, aM as Ls } from "./index-Dxc52lRE.js";
|
|
2
2
|
var Os = (e) => e != null, qs = (e) => e.filter(Os);
|
|
3
3
|
function _s(e) {
|
|
4
4
|
return (...t) => {
|
|
@@ -140672,7 +140672,7 @@ const _c = "/openmrs/auth?requested_document=/document_images/", bA0 = "_thumbna
|
|
|
140672
140672
|
}
|
|
140673
140673
|
)
|
|
140674
140674
|
] });
|
|
140675
|
-
}, AA0 = "
|
|
140675
|
+
}, AA0 = "_fileTileButton_io1kl_1", _A0 = "_modalIframeContainer_io1kl_28", $A0 = "_modalIframe_io1kl_28", od = {
|
|
140676
140676
|
fileTileButton: AA0,
|
|
140677
140677
|
modalIframeContainer: _A0,
|
|
140678
140678
|
modalIframe: $A0
|
|
@@ -172839,7 +172839,7 @@ const NGe = (t, e) => ["programs", t, e], Xet = async (t, e) => {
|
|
|
172839
172839
|
};
|
|
172840
172840
|
LGe.displayName = "UserPrivilegeProvider";
|
|
172841
172841
|
R2(void 0);
|
|
172842
|
-
J0(() => Promise.resolve().then(() => GJ0)), J0(() => Promise.resolve().then(() => jX0)), J0(() => Promise.resolve().then(() => MQ0)), J0(() => Promise.resolve().then(() => NQ0)), J0(() => import("./DocumentsTable-
|
|
172842
|
+
J0(() => Promise.resolve().then(() => GJ0)), J0(() => Promise.resolve().then(() => jX0)), J0(() => Promise.resolve().then(() => MQ0)), J0(() => Promise.resolve().then(() => NQ0)), J0(() => import("./DocumentsTable-8I-Vd16r-D7OejRTq.js")), J0(() => Promise.resolve().then(() => Ret)), J0(() => import("./FormsTable-BolXVuK_-BgiYYu8o.js")), J0(() => Promise.resolve().then(() => get)), J0(() => import("./Observations-D6R8bXEi-DqXuo3Nk.js")), J0(
|
|
172843
172843
|
() => Promise.resolve().then(() => qet)
|
|
172844
172844
|
), J0(
|
|
172845
172845
|
() => Promise.resolve().then(() => P1t)
|
|
@@ -174678,7 +174678,7 @@ var Ert = (t, e = !1) => {
|
|
|
174678
174678
|
const e = qGe(() => {
|
|
174679
174679
|
const r = this, [o] = this.#a, [a] = this.#u, [c] = this.#h, [l] = this.#d, [i] = this.#p, [s] = this.#t;
|
|
174680
174680
|
let h;
|
|
174681
|
-
return this.#i ? h = this.#i : (h = jGe(() => import("./LNWAZHJI-
|
|
174681
|
+
return this.#i ? h = this.#i : (h = jGe(() => import("./LNWAZHJI-DtGAaLKa.js")), this.#i = h), hJe(this.#l, this.#c), IGe(h, PGe({
|
|
174682
174682
|
get queryFlavor() {
|
|
174683
174683
|
return r.#r;
|
|
174684
174684
|
},
|
|
@@ -174776,7 +174776,7 @@ var Ert = (t, e = !1) => {
|
|
|
174776
174776
|
const e = qGe(() => {
|
|
174777
174777
|
const r = this, [o] = this.#a, [a] = this.#u, [c] = this.#h, [l] = this.#d, [i] = this.#p, [s] = this.#t, [h] = this.#i;
|
|
174778
174778
|
let d;
|
|
174779
|
-
return this.#s ? d = this.#s : (d = jGe(() => import("./MWZ6AO7Z-
|
|
174779
|
+
return this.#s ? d = this.#s : (d = jGe(() => import("./MWZ6AO7Z-CKJz0pD6.js")), this.#s = d), hJe(this.#l, this.#c), IGe(d, PGe({
|
|
174780
174780
|
get queryFlavor() {
|
|
174781
174781
|
return r.#r;
|
|
174782
174782
|
},
|
|
@@ -175028,20 +175028,20 @@ export {
|
|
|
175028
175028
|
Stt as h,
|
|
175029
175029
|
s7 as i,
|
|
175030
175030
|
Wt as j,
|
|
175031
|
-
|
|
175032
|
-
|
|
175031
|
+
Ett as k,
|
|
175032
|
+
gtt as l,
|
|
175033
175033
|
pWe as m,
|
|
175034
|
-
|
|
175035
|
-
|
|
175034
|
+
Ftt as n,
|
|
175035
|
+
i6 as o,
|
|
175036
175036
|
tn as p,
|
|
175037
175037
|
Ptt as q,
|
|
175038
|
-
|
|
175039
|
-
|
|
175040
|
-
|
|
175038
|
+
w0 as r,
|
|
175039
|
+
ju as s,
|
|
175040
|
+
w20 as t,
|
|
175041
175041
|
Dt as u,
|
|
175042
|
-
|
|
175043
|
-
|
|
175044
|
-
|
|
175042
|
+
E20 as v,
|
|
175043
|
+
H20 as w,
|
|
175044
|
+
M20 as x,
|
|
175045
175045
|
vtt as y,
|
|
175046
175046
|
V20 as z
|
|
175047
175047
|
};
|
package/dist/index.js
CHANGED