@bahmni/registration-app 0.0.1-dev.86 → 0.0.1-dev.87
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/{LNWAZHJI-WyghlpfY.js → LNWAZHJI-BX5T6zL1.js} +2 -2
- package/dist/{MWZ6AO7Z-D6c72m-N.js → MWZ6AO7Z-BItJ7sSA.js} +2 -2
- package/dist/{YPM2AS64-DuiTe6jk.js → YPM2AS64-BxKlmXCK.js} +1 -1
- package/dist/{index-WSBSeWJQ.js → index-BJ7a5T1L.js} +114 -105
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/locales/locale_en.json +2 -0
- package/dist/locales/locale_es.json +2 -0
- package/dist/pages/patientSearchPage/appointmentSearchResultActionHandler.d.ts.map +1 -1
- package/package.json +1 -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 { g as d, c as f, a as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-BxKlmXCK.js";
|
|
2
|
+
import { g as d, c as f, a as e } from "./index-BJ7a5T1L.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 { g as v, c as C, a 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-BxKlmXCK.js";
|
|
2
|
+
import { g as v, c as C, a as e } from "./index-BJ7a5T1L.js";
|
|
3
3
|
var h = (t) => {
|
|
4
4
|
const [r, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as we, d as z, o as xt, e as B, c as q, a as y, P as Ro, m as ye, S as R, t as _, i as k, f as N, h as A, j as bs, k as ir, u as $e, l as U, s as Hn, n as Vn, p as dt, q as D, r as xs, v as cn, w as Be, x as ws, y as qt, z as zt, A as $s, B as Cs, C as $n, F as Ss, D as Nr, E as Bt, $ as zo, G as ks, H as Es, I as j, J as Ur, K as Ms, L as Ds, M as sr, N as As, O as Ts, Q as zn, R as Fs, T as Is, U as Z, V as Ps, W as Ls } from "./index-
|
|
1
|
+
import { b as we, d as z, o as xt, e as B, c as q, a as y, P as Ro, m as ye, S as R, t as _, i as k, f as N, h as A, j as bs, k as ir, u as $e, l as U, s as Hn, n as Vn, p as dt, q as D, r as xs, v as cn, w as Be, x as ws, y as qt, z as zt, A as $s, B as Cs, C as $n, F as Ss, D as Nr, E as Bt, $ as zo, G as ks, H as Es, I as j, J as Ur, K as Ms, L as Ds, M as sr, N as As, O as Ts, Q as zn, R as Fs, T as Is, U as Z, V as Ps, W as Ls } from "./index-BJ7a5T1L.js";
|
|
2
2
|
var Os = (e) => e != null, qs = (e) => e.filter(Os);
|
|
3
3
|
function _s(e) {
|
|
4
4
|
return (...t) => {
|
|
@@ -34259,7 +34259,7 @@ function nw({
|
|
|
34259
34259
|
}, i), a));
|
|
34260
34260
|
}
|
|
34261
34261
|
const {
|
|
34262
|
-
open:
|
|
34262
|
+
open: EW0,
|
|
34263
34263
|
...kl2
|
|
34264
34264
|
} = ya.propTypes ?? {};
|
|
34265
34265
|
nw.propTypes = {
|
|
@@ -67926,22 +67926,22 @@ r0.getAdapter = o_1.getAdapter;
|
|
|
67926
67926
|
r0.HttpStatusCode = cf;
|
|
67927
67927
|
r0.default = r0;
|
|
67928
67928
|
const {
|
|
67929
|
-
Axios:
|
|
67930
|
-
AxiosError:
|
|
67931
|
-
CanceledError:
|
|
67932
|
-
isCancel:
|
|
67933
|
-
CancelToken:
|
|
67934
|
-
VERSION:
|
|
67935
|
-
all:
|
|
67936
|
-
Cancel:
|
|
67937
|
-
isAxiosError:
|
|
67938
|
-
spread:
|
|
67939
|
-
toFormData:
|
|
67940
|
-
AxiosHeaders:
|
|
67941
|
-
HttpStatusCode:
|
|
67942
|
-
formToJSON:
|
|
67943
|
-
getAdapter:
|
|
67944
|
-
mergeConfig:
|
|
67929
|
+
Axios: zW0,
|
|
67930
|
+
AxiosError: HW0,
|
|
67931
|
+
CanceledError: bW0,
|
|
67932
|
+
isCancel: xW0,
|
|
67933
|
+
CancelToken: NW0,
|
|
67934
|
+
VERSION: CW0,
|
|
67935
|
+
all: LW0,
|
|
67936
|
+
Cancel: AW0,
|
|
67937
|
+
isAxiosError: _W0,
|
|
67938
|
+
spread: TW0,
|
|
67939
|
+
toFormData: $W0,
|
|
67940
|
+
AxiosHeaders: OW0,
|
|
67941
|
+
HttpStatusCode: DW0,
|
|
67942
|
+
formToJSON: RW0,
|
|
67943
|
+
getAdapter: SW0,
|
|
67944
|
+
mergeConfig: kW0
|
|
67945
67945
|
} = r0, Lo = (t) => {
|
|
67946
67946
|
let e = "Error", r = "An unexpected error occurred";
|
|
67947
67947
|
if (!t)
|
|
@@ -111701,7 +111701,7 @@ function T7({
|
|
|
111701
111701
|
}, i), a));
|
|
111702
111702
|
}
|
|
111703
111703
|
const {
|
|
111704
|
-
open:
|
|
111704
|
+
open: KW0,
|
|
111705
111705
|
...Vu0
|
|
111706
111706
|
} = Da.propTypes ?? {};
|
|
111707
111707
|
T7.propTypes = {
|
|
@@ -145391,7 +145391,7 @@ function FM({
|
|
|
145391
145391
|
}, i), a));
|
|
145392
145392
|
}
|
|
145393
145393
|
const {
|
|
145394
|
-
open:
|
|
145394
|
+
open: GW0,
|
|
145395
145395
|
...lx0
|
|
145396
145396
|
} = Pa.propTypes ?? {};
|
|
145397
145397
|
FM.propTypes = {
|
|
@@ -147520,22 +147520,22 @@ n0.getAdapter = vS1.getAdapter;
|
|
|
147520
147520
|
n0.HttpStatusCode = mm;
|
|
147521
147521
|
n0.default = n0;
|
|
147522
147522
|
const {
|
|
147523
|
-
Axios:
|
|
147524
|
-
AxiosError:
|
|
147525
|
-
CanceledError:
|
|
147526
|
-
isCancel:
|
|
147527
|
-
CancelToken:
|
|
147528
|
-
VERSION:
|
|
147529
|
-
all:
|
|
147530
|
-
Cancel:
|
|
147531
|
-
isAxiosError:
|
|
147532
|
-
spread:
|
|
147533
|
-
toFormData:
|
|
147534
|
-
AxiosHeaders:
|
|
147535
|
-
HttpStatusCode:
|
|
147536
|
-
formToJSON:
|
|
147537
|
-
getAdapter:
|
|
147538
|
-
mergeConfig:
|
|
147523
|
+
Axios: YW0,
|
|
147524
|
+
AxiosError: JW0,
|
|
147525
|
+
CanceledError: XW0,
|
|
147526
|
+
isCancel: QW0,
|
|
147527
|
+
CancelToken: eU0,
|
|
147528
|
+
VERSION: tU0,
|
|
147529
|
+
all: rU0,
|
|
147530
|
+
Cancel: nU0,
|
|
147531
|
+
isAxiosError: oU0,
|
|
147532
|
+
spread: aU0,
|
|
147533
|
+
toFormData: cU0,
|
|
147534
|
+
AxiosHeaders: iU0,
|
|
147535
|
+
HttpStatusCode: lU0,
|
|
147536
|
+
formToJSON: sU0,
|
|
147537
|
+
getAdapter: dU0,
|
|
147538
|
+
mergeConfig: uU0
|
|
147539
147539
|
} = n0, Lt = (t) => {
|
|
147540
147540
|
let e = "Error", r = "An unexpected error occurred";
|
|
147541
147541
|
if (!t)
|
|
@@ -160624,7 +160624,7 @@ function ES0(t, e, r) {
|
|
|
160624
160624
|
mutate: M
|
|
160625
160625
|
}];
|
|
160626
160626
|
}
|
|
160627
|
-
function
|
|
160627
|
+
function hU0(t) {
|
|
160628
160628
|
return pn(t, !1);
|
|
160629
160629
|
}
|
|
160630
160630
|
function B0(t) {
|
|
@@ -160637,7 +160637,7 @@ function B0(t) {
|
|
|
160637
160637
|
O2 = e;
|
|
160638
160638
|
}
|
|
160639
160639
|
}
|
|
160640
|
-
function
|
|
160640
|
+
function pU0(t, e, r) {
|
|
160641
160641
|
const o = Array.isArray(t);
|
|
160642
160642
|
let a, c = r && r.defer;
|
|
160643
160643
|
return (i) => {
|
|
@@ -160680,11 +160680,11 @@ function yS0(t) {
|
|
|
160680
160680
|
return pn(t, !1), O2 = t2 = null, o ? o.done : void 0;
|
|
160681
160681
|
});
|
|
160682
160682
|
}
|
|
160683
|
-
var [VS0,
|
|
160684
|
-
function
|
|
160683
|
+
var [VS0, fU0] = /* @__PURE__ */ X2(!1);
|
|
160684
|
+
function mU0() {
|
|
160685
160685
|
return [VS0, yS0];
|
|
160686
160686
|
}
|
|
160687
|
-
function
|
|
160687
|
+
function wU0(t, e) {
|
|
160688
160688
|
const r = Symbol("context");
|
|
160689
160689
|
return {
|
|
160690
160690
|
id: r,
|
|
@@ -160692,7 +160692,7 @@ function pU0(t, e) {
|
|
|
160692
160692
|
defaultValue: t
|
|
160693
160693
|
};
|
|
160694
160694
|
}
|
|
160695
|
-
function
|
|
160695
|
+
function gU0(t) {
|
|
160696
160696
|
let e;
|
|
160697
160697
|
return t2 && t2.context && (e = t2.context[t.id]) !== void 0 ? e : t.defaultValue;
|
|
160698
160698
|
}
|
|
@@ -161092,23 +161092,23 @@ function bk1(t) {
|
|
|
161092
161092
|
return o.preload = () => r || ((r = t()).then((a) => e = () => a.default), r), o;
|
|
161093
161093
|
}
|
|
161094
161094
|
var TS0 = 0;
|
|
161095
|
-
function
|
|
161095
|
+
function vU0() {
|
|
161096
161096
|
return S1.context ? S1.getNextContextId() : `cl-${TS0++}`;
|
|
161097
161097
|
}
|
|
161098
161098
|
var xk1 = (t) => `Stale read from <${t}>.`;
|
|
161099
|
-
function
|
|
161099
|
+
function EU0(t) {
|
|
161100
161100
|
const e = "fallback" in t && {
|
|
161101
161101
|
fallback: () => t.fallback
|
|
161102
161102
|
};
|
|
161103
161103
|
return _0(CS0(() => t.each, t.children, e || void 0));
|
|
161104
161104
|
}
|
|
161105
|
-
function
|
|
161105
|
+
function MU0(t) {
|
|
161106
161106
|
const e = "fallback" in t && {
|
|
161107
161107
|
fallback: () => t.fallback
|
|
161108
161108
|
};
|
|
161109
161109
|
return _0(LS0(() => t.each, t.children, e || void 0));
|
|
161110
161110
|
}
|
|
161111
|
-
function
|
|
161111
|
+
function yU0(t) {
|
|
161112
161112
|
const e = t.keyed, r = _0(() => t.when, void 0, void 0), o = e ? r : _0(r, void 0, {
|
|
161113
161113
|
equals: (a, c) => !a == !c
|
|
161114
161114
|
});
|
|
@@ -161124,7 +161124,7 @@ function vU0(t) {
|
|
|
161124
161124
|
return t.fallback;
|
|
161125
161125
|
}, void 0, void 0);
|
|
161126
161126
|
}
|
|
161127
|
-
function
|
|
161127
|
+
function VU0(t) {
|
|
161128
161128
|
const e = vk1(() => t.children), r = _0(() => {
|
|
161129
161129
|
const o = e(), a = Array.isArray(o) ? o : [o];
|
|
161130
161130
|
let c = () => {
|
|
@@ -161147,7 +161147,7 @@ function EU0(t) {
|
|
|
161147
161147
|
})) : l;
|
|
161148
161148
|
}, void 0, void 0);
|
|
161149
161149
|
}
|
|
161150
|
-
function
|
|
161150
|
+
function zU0(t) {
|
|
161151
161151
|
return t;
|
|
161152
161152
|
}
|
|
161153
161153
|
var $S0 = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "inert", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"], OS0 = /* @__PURE__ */ new Set(["className", "value", "readOnly", "noValidate", "formNoValidate", "isMap", "noModule", "playsInline", ...$S0]), DS0 = /* @__PURE__ */ new Set(["innerHTML", "textContent", "innerText", "children"]), RS0 = /* @__PURE__ */ Object.assign(/* @__PURE__ */ Object.create(null), {
|
|
@@ -161267,7 +161267,7 @@ var ZS0 = /* @__PURE__ */ new Set(["beforeinput", "click", "dblclick", "contextm
|
|
|
161267
161267
|
]), BS0 = {
|
|
161268
161268
|
xlink: "http://www.w3.org/1999/xlink",
|
|
161269
161269
|
xml: "http://www.w3.org/XML/1998/namespace"
|
|
161270
|
-
},
|
|
161270
|
+
}, HU0 = (t) => _0(() => t());
|
|
161271
161271
|
function PS0(t, e, r) {
|
|
161272
161272
|
let o = r.length, a = e.length, c = o, i = 0, l = 0, s = e[a - 1].nextSibling, d = null;
|
|
161273
161273
|
for (; i < a || l < c; ) {
|
|
@@ -161316,7 +161316,7 @@ function Nk1(t, e, r, o = {}) {
|
|
|
161316
161316
|
a(), e.textContent = "";
|
|
161317
161317
|
};
|
|
161318
161318
|
}
|
|
161319
|
-
function
|
|
161319
|
+
function bU0(t, e, r, o) {
|
|
161320
161320
|
let a;
|
|
161321
161321
|
const c = () => {
|
|
161322
161322
|
const l = document.createElement("template");
|
|
@@ -161331,7 +161331,7 @@ function jS0(t, e = window.document) {
|
|
|
161331
161331
|
r.has(c) || (r.add(c), e.addEventListener(c, Ck1));
|
|
161332
161332
|
}
|
|
161333
161333
|
}
|
|
161334
|
-
function
|
|
161334
|
+
function xU0(t = window.document) {
|
|
161335
161335
|
if (t[ni]) {
|
|
161336
161336
|
for (let e of t[ni].keys()) t.removeEventListener(e, Ck1);
|
|
161337
161337
|
delete t[ni];
|
|
@@ -161598,7 +161598,7 @@ var rk0 = "http://www.w3.org/2000/svg";
|
|
|
161598
161598
|
function Lk1(t, e = !1) {
|
|
161599
161599
|
return e ? document.createElementNS(rk0, t) : document.createElement(t);
|
|
161600
161600
|
}
|
|
161601
|
-
function
|
|
161601
|
+
function NU0(t) {
|
|
161602
161602
|
const {
|
|
161603
161603
|
useShadow: e
|
|
161604
161604
|
} = t, r = document.createTextNode(""), o = () => t.mount || document.body, a = Tp1();
|
|
@@ -161637,7 +161637,7 @@ function nk0(t, e) {
|
|
|
161637
161637
|
}
|
|
161638
161638
|
});
|
|
161639
161639
|
}
|
|
161640
|
-
function
|
|
161640
|
+
function CU0(t) {
|
|
161641
161641
|
const [, e] = _S0(t, ["component"]);
|
|
161642
161642
|
return nk0(() => t.component, e);
|
|
161643
161643
|
}
|
|
@@ -162144,42 +162144,42 @@ R2.registerClass = R2.defaultInstance.registerClass.bind(R2.defaultInstance);
|
|
|
162144
162144
|
R2.registerSymbol = R2.defaultInstance.registerSymbol.bind(R2.defaultInstance);
|
|
162145
162145
|
R2.registerCustom = R2.defaultInstance.registerCustom.bind(R2.defaultInstance);
|
|
162146
162146
|
R2.allowErrorProps = R2.defaultInstance.allowErrorProps.bind(R2.defaultInstance);
|
|
162147
|
-
var $k0 = R2.serialize,
|
|
162148
|
-
function
|
|
162147
|
+
var $k0 = R2.serialize, LU0 = R2.stringify;
|
|
162148
|
+
function AU0(t) {
|
|
162149
162149
|
return t.state.fetchStatus === "fetching" ? "fetching" : t.getObserversCount() ? t.state.fetchStatus === "paused" ? "paused" : t.isStale() ? "stale" : "fresh" : "inactive";
|
|
162150
162150
|
}
|
|
162151
|
-
function
|
|
162151
|
+
function _U0(t, e) {
|
|
162152
162152
|
return `${t}${e.charAt(0).toUpperCase() + e.slice(1)}`;
|
|
162153
162153
|
}
|
|
162154
|
-
function
|
|
162154
|
+
function TU0({
|
|
162155
162155
|
queryState: t,
|
|
162156
162156
|
observerCount: e,
|
|
162157
162157
|
isStale: r
|
|
162158
162158
|
}) {
|
|
162159
162159
|
return t.fetchStatus === "fetching" ? "blue" : e ? t.fetchStatus === "paused" ? "purple" : r ? "yellow" : "green" : "gray";
|
|
162160
162160
|
}
|
|
162161
|
-
function
|
|
162161
|
+
function $U0({
|
|
162162
162162
|
status: t,
|
|
162163
162163
|
isPaused: e
|
|
162164
162164
|
}) {
|
|
162165
162165
|
return e ? "purple" : t === "error" ? "red" : t === "pending" ? "yellow" : t === "success" ? "green" : "gray";
|
|
162166
162166
|
}
|
|
162167
|
-
function
|
|
162167
|
+
function OU0(t) {
|
|
162168
162168
|
return t === "fresh" ? "green" : t === "stale" ? "yellow" : t === "paused" ? "purple" : t === "inactive" ? "gray" : "blue";
|
|
162169
162169
|
}
|
|
162170
|
-
var
|
|
162170
|
+
var DU0 = (t, e = !1) => {
|
|
162171
162171
|
const {
|
|
162172
162172
|
json: r
|
|
162173
162173
|
} = $k0(t);
|
|
162174
162174
|
return JSON.stringify(r, null, e ? 2 : void 0);
|
|
162175
|
-
}, F6 = (t) => t.state.fetchStatus !== "idle" ? 0 : t.getObserversCount() ? t.isStale() ? 2 : 1 : 3, Ok0 = (t, e) => t.queryHash.localeCompare(e.queryHash), Fk1 = (t, e) => t.state.dataUpdatedAt < e.state.dataUpdatedAt ? 1 : -1, Dk0 = (t, e) => F6(t) === F6(e) ? Fk1(t, e) : F6(t) > F6(e) ? 1 : -1,
|
|
162175
|
+
}, F6 = (t) => t.state.fetchStatus !== "idle" ? 0 : t.getObserversCount() ? t.isStale() ? 2 : 1 : 3, Ok0 = (t, e) => t.queryHash.localeCompare(e.queryHash), Fk1 = (t, e) => t.state.dataUpdatedAt < e.state.dataUpdatedAt ? 1 : -1, Dk0 = (t, e) => F6(t) === F6(e) ? Fk1(t, e) : F6(t) > F6(e) ? 1 : -1, RU0 = {
|
|
162176
162176
|
status: Dk0,
|
|
162177
162177
|
"query hash": Ok0,
|
|
162178
162178
|
"last updated": Fk1
|
|
162179
|
-
}, q6 = (t) => t.state.isPaused ? 0 : t.state.status === "error" ? 2 : t.state.status === "pending" ? 1 : 3, qk1 = (t, e) => t.state.submittedAt < e.state.submittedAt ? 1 : -1, Rk0 = (t, e) => q6(t) === q6(e) ? qk1(t, e) : q6(t) > q6(e) ? 1 : -1,
|
|
162179
|
+
}, q6 = (t) => t.state.isPaused ? 0 : t.state.status === "error" ? 2 : t.state.status === "pending" ? 1 : 3, qk1 = (t, e) => t.state.submittedAt < e.state.submittedAt ? 1 : -1, Rk0 = (t, e) => q6(t) === q6(e) ? qk1(t, e) : q6(t) > q6(e) ? 1 : -1, SU0 = {
|
|
162180
162180
|
status: Rk0,
|
|
162181
162181
|
"last updated": qk1
|
|
162182
|
-
},
|
|
162182
|
+
}, kU0 = (t) => t * parseFloat(getComputedStyle(document.documentElement).fontSize), ZU0 = () => {
|
|
162183
162183
|
const [t, e] = X2("dark");
|
|
162184
162184
|
return MS0(() => {
|
|
162185
162185
|
const r = window.matchMedia("(prefers-color-scheme: dark)");
|
|
@@ -162305,7 +162305,7 @@ var TU0 = (t, e = !1) => {
|
|
|
162305
162305
|
const e = Nk1(() => {
|
|
162306
162306
|
const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t;
|
|
162307
162307
|
let d;
|
|
162308
|
-
return this.#i ? d = this.#i : (d = bk1(() => import("./LNWAZHJI-
|
|
162308
|
+
return this.#i ? d = this.#i : (d = bk1(() => import("./LNWAZHJI-BX5T6zL1.js")), this.#i = d), Wk1(this.#h, this.#r), zk1(d, Hk1({
|
|
162309
162309
|
get queryFlavor() {
|
|
162310
162310
|
return r.#d;
|
|
162311
162311
|
},
|
|
@@ -162403,7 +162403,7 @@ var TU0 = (t, e = !1) => {
|
|
|
162403
162403
|
const e = Nk1(() => {
|
|
162404
162404
|
const r = this, [o] = this.#n, [a] = this.#o, [c] = this.#a, [i] = this.#c, [l] = this.#p, [s] = this.#t, [d] = this.#i;
|
|
162405
162405
|
let u;
|
|
162406
|
-
return this.#l ? u = this.#l : (u = bk1(() => import("./MWZ6AO7Z-
|
|
162406
|
+
return this.#l ? u = this.#l : (u = bk1(() => import("./MWZ6AO7Z-BItJ7sSA.js")), this.#l = u), Wk1(this.#h, this.#r), zk1(u, Hk1({
|
|
162407
162407
|
get queryFlavor() {
|
|
162408
162408
|
return r.#d;
|
|
162409
162409
|
},
|
|
@@ -172159,11 +172159,17 @@ const Sv1 = () => {
|
|
|
172159
172159
|
return "scheduledStatus";
|
|
172160
172160
|
case "arrived":
|
|
172161
172161
|
return "arrivedStatus";
|
|
172162
|
+
case "completed":
|
|
172163
|
+
return "completedStatus";
|
|
172162
172164
|
case "checkedin":
|
|
172163
172165
|
case "checked in":
|
|
172164
172166
|
return "checkedInStatus";
|
|
172167
|
+
case "missed":
|
|
172168
|
+
return "missedStatus";
|
|
172169
|
+
case "cancelled":
|
|
172170
|
+
return "cancelledStatus";
|
|
172165
172171
|
default:
|
|
172166
|
-
return "
|
|
172172
|
+
return "defaultStatus";
|
|
172167
172173
|
}
|
|
172168
172174
|
}, Fq0 = (t, e, r) => t.map((o) => (o.appointmentUuid === e && (o.appointmentStatus = r), o)), qq0 = (t, e, r) => {
|
|
172169
172175
|
if (!t) return;
|
|
@@ -172220,7 +172226,7 @@ const Sv1 = () => {
|
|
|
172220
172226
|
return !1;
|
|
172221
172227
|
}
|
|
172222
172228
|
});
|
|
172223
|
-
}, Jq0 = "
|
|
172229
|
+
}, Jq0 = "_main_pvy9o_1", Xq0 = "_patientSearchResult_pvy9o_8", Qq0 = "_resultsTitle_pvy9o_13", eW0 = "_patientSearchTableBody_pvy9o_22", tW0 = "_scheduledStatus_pvy9o_26", rW0 = "_arrivedStatus_pvy9o_31", nW0 = "_checkedInStatus_pvy9o_36", oW0 = "_completedStatus_pvy9o_41", aW0 = "_missedStatus_pvy9o_46", cW0 = "_cancelledStatus_pvy9o_47", iW0 = "_actionButtonsContainer_pvy9o_57", lW0 = "_actionButton_pvy9o_57", sW0 = "_headerButton_pvy9o_75", n3 = {
|
|
172224
172230
|
main: Jq0,
|
|
172225
172231
|
patientSearchResult: Xq0,
|
|
172226
172232
|
resultsTitle: Qq0,
|
|
@@ -172228,14 +172234,17 @@ const Sv1 = () => {
|
|
|
172228
172234
|
scheduledStatus: tW0,
|
|
172229
172235
|
arrivedStatus: rW0,
|
|
172230
172236
|
checkedInStatus: nW0,
|
|
172231
|
-
|
|
172232
|
-
|
|
172233
|
-
|
|
172234
|
-
|
|
172237
|
+
completedStatus: oW0,
|
|
172238
|
+
missedStatus: aW0,
|
|
172239
|
+
cancelledStatus: cW0,
|
|
172240
|
+
actionButtonsContainer: iW0,
|
|
172241
|
+
actionButton: lW0,
|
|
172242
|
+
headerButton: sW0
|
|
172243
|
+
}, dW0 = (t) => {
|
|
172235
172244
|
const e = t.customAttribute ? JSON.parse(t.customAttribute) : {}, r = t.addressFieldValue ? JSON.parse(t.addressFieldValue) : {}, o = t.patientProgramAttributeValue ? JSON.parse(t.patientProgramAttributeValue) : {};
|
|
172236
172245
|
return { customAttributes: e, addressAttributes: r, programAttributes: o };
|
|
172237
|
-
},
|
|
172238
|
-
const { customAttributes: o, addressAttributes: a, programAttributes: c } =
|
|
172246
|
+
}, uW0 = (t, e = []) => t ? t.pageOfResults.map((r) => {
|
|
172247
|
+
const { customAttributes: o, addressAttributes: a, programAttributes: c } = dW0(r), i = {};
|
|
172239
172248
|
return e.forEach((l) => {
|
|
172240
172249
|
l.fields.forEach((s) => {
|
|
172241
172250
|
o[s] !== void 0 ? i[s] = o[s] : a[s] !== void 0 ? i[s] = a[s] : c[s] !== void 0 && (i[s] = c[s]);
|
|
@@ -172255,7 +172264,7 @@ const Sv1 = () => {
|
|
|
172255
172264
|
APPOINTMENT_STATUS: "appointmentStatus",
|
|
172256
172265
|
GENDER: "gender",
|
|
172257
172266
|
ACTIONS: "actions"
|
|
172258
|
-
},
|
|
172267
|
+
}, hW0 = () => {
|
|
172259
172268
|
const [t, e] = fe(), [r, o] = fe(""), [a, c] = fe(!1), [i, l] = fe(!1), [s, d] = fe(!1), [u, p] = fe(!1), [w, g] = fe([]), { t: M } = a2(), m = p9(), [f, E] = fe(""), { userPrivileges: h } = sk1(), v = () => {
|
|
172260
172269
|
m("/registration/patient/new");
|
|
172261
172270
|
}, x = async (ee) => {
|
|
@@ -172435,7 +172444,7 @@ const Sv1 = () => {
|
|
|
172435
172444
|
headers: L,
|
|
172436
172445
|
ariaLabel: "patient-search-sortable-data-table",
|
|
172437
172446
|
loading: a,
|
|
172438
|
-
rows:
|
|
172447
|
+
rows: uW0(
|
|
172439
172448
|
t,
|
|
172440
172449
|
w
|
|
172441
172450
|
),
|
|
@@ -172531,7 +172540,7 @@ const RZ1 = ({ children: t, initialConfig: e }) => {
|
|
|
172531
172540
|
return /* @__PURE__ */ le(Kk1.Provider, { value: g, children: t });
|
|
172532
172541
|
};
|
|
172533
172542
|
RZ1.displayName = "RegistrationConfigProvider";
|
|
172534
|
-
const
|
|
172543
|
+
const pW0 = new ZZ1(Pk0), IU0 = () => {
|
|
172535
172544
|
const [t, e] = fe(!1);
|
|
172536
172545
|
return de(() => {
|
|
172537
172546
|
(async () => {
|
|
@@ -172543,9 +172552,9 @@ const dW0 = new ZZ1(Pk0), SU0 = () => {
|
|
|
172543
172552
|
})();
|
|
172544
172553
|
}, []), t ? /* @__PURE__ */ le(lV1, { children: /* @__PURE__ */ a1(YS1, { children: [
|
|
172545
172554
|
/* @__PURE__ */ le(MO0, {}),
|
|
172546
|
-
/* @__PURE__ */ a1(IZ1, { client:
|
|
172555
|
+
/* @__PURE__ */ a1(IZ1, { client: pW0, children: [
|
|
172547
172556
|
/* @__PURE__ */ le(RZ1, { children: /* @__PURE__ */ le(DZ1, { children: /* @__PURE__ */ le(dk1, { children: /* @__PURE__ */ a1(SZ1, { children: [
|
|
172548
|
-
/* @__PURE__ */ le(Cd, { path: "/search", element: /* @__PURE__ */ le(
|
|
172557
|
+
/* @__PURE__ */ le(Cd, { path: "/search", element: /* @__PURE__ */ le(hW0, {}) }),
|
|
172549
172558
|
/* @__PURE__ */ le(Cd, { path: "patient/new", element: /* @__PURE__ */ le(Sv1, {}) }),
|
|
172550
172559
|
/* @__PURE__ */ le(
|
|
172551
172560
|
Cd,
|
|
@@ -172561,56 +172570,56 @@ const dW0 = new ZZ1(Pk0), SU0 = () => {
|
|
|
172561
172570
|
};
|
|
172562
172571
|
export {
|
|
172563
172572
|
pk1 as $,
|
|
172564
|
-
|
|
172565
|
-
|
|
172566
|
-
|
|
172567
|
-
|
|
172573
|
+
TU0 as A,
|
|
172574
|
+
OU0 as B,
|
|
172575
|
+
DU0 as C,
|
|
172576
|
+
kU0 as D,
|
|
172568
172577
|
B0 as E,
|
|
172569
|
-
|
|
172570
|
-
|
|
172578
|
+
EU0 as F,
|
|
172579
|
+
mU0 as G,
|
|
172571
172580
|
YS0 as H,
|
|
172572
172581
|
Hk1 as I,
|
|
172573
172582
|
Eo as J,
|
|
172574
172583
|
$k0 as K,
|
|
172575
|
-
|
|
172584
|
+
MU0 as L,
|
|
172576
172585
|
W6 as M,
|
|
172577
172586
|
US0 as N,
|
|
172578
|
-
|
|
172579
|
-
|
|
172580
|
-
|
|
172581
|
-
|
|
172582
|
-
|
|
172587
|
+
LU0 as O,
|
|
172588
|
+
NU0 as P,
|
|
172589
|
+
zU0 as Q,
|
|
172590
|
+
VU0 as R,
|
|
172591
|
+
yU0 as S,
|
|
172583
172592
|
U6 as T,
|
|
172584
172593
|
_S0 as U,
|
|
172585
|
-
|
|
172594
|
+
CU0 as V,
|
|
172586
172595
|
gS0 as W,
|
|
172587
|
-
|
|
172596
|
+
IU0 as X,
|
|
172588
172597
|
Gk1 as Y,
|
|
172589
172598
|
Wk0 as Z,
|
|
172590
172599
|
zk1 as a,
|
|
172591
|
-
|
|
172600
|
+
wU0 as b,
|
|
172592
172601
|
_0 as c,
|
|
172593
172602
|
X2 as d,
|
|
172594
172603
|
wk1 as e,
|
|
172595
172604
|
Mo as f,
|
|
172596
|
-
|
|
172605
|
+
ZU0 as g,
|
|
172597
172606
|
WS0 as h,
|
|
172598
172607
|
xm as i,
|
|
172599
|
-
|
|
172608
|
+
xU0 as j,
|
|
172600
172609
|
jS0 as k,
|
|
172601
172610
|
Ri as l,
|
|
172602
|
-
|
|
172603
|
-
|
|
172611
|
+
HU0 as m,
|
|
172612
|
+
SU0 as n,
|
|
172604
172613
|
MS0 as o,
|
|
172605
|
-
|
|
172614
|
+
pU0 as p,
|
|
172606
172615
|
bm as q,
|
|
172607
|
-
|
|
172608
|
-
|
|
172609
|
-
|
|
172610
|
-
|
|
172616
|
+
_U0 as r,
|
|
172617
|
+
RU0 as s,
|
|
172618
|
+
bU0 as t,
|
|
172619
|
+
gU0 as u,
|
|
172611
172620
|
JS0 as v,
|
|
172612
|
-
|
|
172613
|
-
|
|
172614
|
-
|
|
172615
|
-
|
|
172621
|
+
vU0 as w,
|
|
172622
|
+
hU0 as x,
|
|
172623
|
+
AU0 as y,
|
|
172624
|
+
$U0 as z
|
|
172616
172625
|
};
|