@bahmni/clinical-app 0.0.1-dev.249 → 0.0.1-dev.254
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-BEZ6qDeD-BSj63dTr.js → DocumentsTable-C-3HR8Yf-BTEq-Yad.js} +13 -13
- package/dist/{FormsTable-BPfzdJxV-DBlvr4-y.js → FormsTable-DxS7Dkff-zqEqQmKr.js} +20 -20
- package/dist/{LNWAZHJI-DZWv40MF.js → LNWAZHJI-BmEYTEmW.js} +2 -2
- package/dist/{MWZ6AO7Z-CnbSvpXb.js → MWZ6AO7Z-BKgVJ0Qp.js} +2 -2
- package/dist/{Observations-Dx_xD9ba-D1B4hjtg.js → Observations-oFf9WlPb-BIXQNeQK.js} +16 -16
- package/dist/{YPM2AS64-miIdNYUE.js → YPM2AS64-CxYNRDyU.js} +1 -1
- package/dist/components/forms/immunization/__tests__/__mocks__/immunizationMocks.d.ts +1 -0
- package/dist/components/forms/immunization/__tests__/__mocks__/immunizationMocks.d.ts.map +1 -1
- package/dist/components/forms/immunization/components/SelectedImmunizationItem.d.ts +5 -1
- package/dist/components/forms/immunization/components/SelectedImmunizationItem.d.ts.map +1 -1
- package/dist/components/forms/immunization/constants.d.ts +1 -0
- package/dist/components/forms/immunization/constants.d.ts.map +1 -1
- package/dist/components/forms/immunization/index.d.ts.map +1 -1
- package/dist/components/forms/immunization/models.d.ts +3 -0
- package/dist/components/forms/immunization/models.d.ts.map +1 -1
- package/dist/components/forms/immunization/stores.d.ts.map +1 -1
- package/dist/components/forms/immunization/utils.d.ts +1 -1
- package/dist/components/forms/immunization/utils.d.ts.map +1 -1
- package/dist/components/patientHeader/PatientHeader.d.ts.map +1 -1
- package/dist/{index-QWMbbpmK.js → index-B8Fu9stx.js} +15739 -15704
- package/dist/index.js +1 -1
- package/dist/locales/locale_en.json +1 -1
- package/dist/locales/locale_es.json +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as r, jsxs as p, Fragment as Y } from "react/jsx-runtime";
|
|
2
|
-
import { c as K, u as Q, d as W, a as J, l as X, m as Z, b as ee, w as te,
|
|
2
|
+
import { c as K, u as Q, d as W, a as J, l as X, m as Z, b as ee, w as te, y as ae } from "./index-B8Fu9stx.js";
|
|
3
3
|
import { useState as l, useCallback as h, useEffect as f, useMemo as T } from "react";
|
|
4
4
|
const ne = "_documentsTableBody_1voj8_1", oe = "_viewAttachmentsLink_1voj8_11", re = "_documentViewerContainer_1voj8_15", de = "_attachmentItem_1voj8_23", se = "_attachmentCounter_1voj8_27", ce = "_attachmentError_1voj8_36", ie = "_documentIframe_1voj8_44", le = "_documentImage_1voj8_50", d = {
|
|
5
5
|
documentsTableBody: ne,
|
|
@@ -20,10 +20,10 @@ const ne = "_documentsTableBody_1voj8_1", oe = "_viewAttachmentsLink_1voj8_11",
|
|
|
20
20
|
function j(a) {
|
|
21
21
|
return !a || a.includes(":") ? "#" : `/openmrs/auth?requested_document=/document_images/${a}`;
|
|
22
22
|
}
|
|
23
|
-
function ue(a,
|
|
23
|
+
function ue(a, g) {
|
|
24
24
|
return a.map((s) => ({
|
|
25
25
|
key: s,
|
|
26
|
-
header:
|
|
26
|
+
header: g(me[s])
|
|
27
27
|
}));
|
|
28
28
|
}
|
|
29
29
|
const _e = [
|
|
@@ -32,12 +32,12 @@ const _e = [
|
|
|
32
32
|
"uploadedOn",
|
|
33
33
|
"uploadedBy",
|
|
34
34
|
"action"
|
|
35
|
-
], pe = /\.(jpg|jpeg|png|gif|webp|bmp|svg)$/i, B = (a) => a.attachments.length > 0 ? a.attachments : a.documentUrl ? [{ url: a.documentUrl, contentType: a.contentType }] : [],
|
|
35
|
+
], pe = /\.(jpg|jpeg|png|gif|webp|bmp|svg)$/i, B = (a) => a.attachments.length > 0 ? a.attachments : a.documentUrl ? [{ url: a.documentUrl, contentType: a.contentType }] : [], Ee = ({ config: a, encounterUuids: g }) => {
|
|
36
36
|
const [s, S] = l(!1), [o, L] = l(
|
|
37
37
|
null
|
|
38
38
|
), [R, I] = l(
|
|
39
39
|
/* @__PURE__ */ new Set()
|
|
40
|
-
),
|
|
40
|
+
), E = K(), { t: n } = Q(), { addNotification: U } = W(), $ = Number(a?.pageSize) || 5, [C, y] = l(1), [m, k] = l($), [V, A] = l(void 0), b = h((e) => {
|
|
41
41
|
L(e), S(!0);
|
|
42
42
|
}, []), F = h(() => {
|
|
43
43
|
S(!1), L(null), I(/* @__PURE__ */ new Set());
|
|
@@ -46,24 +46,24 @@ const _e = [
|
|
|
46
46
|
}, []), { data: u, isLoading: H, isError: D, error: v } = J({
|
|
47
47
|
queryKey: [
|
|
48
48
|
"documents",
|
|
49
|
-
g,
|
|
50
49
|
E,
|
|
50
|
+
g,
|
|
51
51
|
C,
|
|
52
52
|
m
|
|
53
53
|
],
|
|
54
|
-
enabled: !!
|
|
54
|
+
enabled: !!E,
|
|
55
55
|
queryFn: () => ae(
|
|
56
|
-
g,
|
|
57
56
|
E,
|
|
57
|
+
g,
|
|
58
58
|
m,
|
|
59
59
|
C
|
|
60
60
|
)
|
|
61
61
|
});
|
|
62
62
|
f(() => {
|
|
63
|
-
u &&
|
|
63
|
+
u && A(u.total);
|
|
64
64
|
}, [u]), f(() => {
|
|
65
|
-
|
|
66
|
-
}, [
|
|
65
|
+
y(1), A(void 0);
|
|
66
|
+
}, [E]), f(() => {
|
|
67
67
|
D && U({
|
|
68
68
|
title: n("ERROR_DEFAULT_TITLE"),
|
|
69
69
|
message: v?.message ?? "",
|
|
@@ -90,7 +90,7 @@ const _e = [
|
|
|
90
90
|
}, [s, o]);
|
|
91
91
|
const q = h(
|
|
92
92
|
(e, t) => {
|
|
93
|
-
t !== m ? (k(t),
|
|
93
|
+
t !== m ? (k(t), y(1), A(void 0)) : y(e);
|
|
94
94
|
},
|
|
95
95
|
[m]
|
|
96
96
|
), N = T(
|
|
@@ -222,5 +222,5 @@ const _e = [
|
|
|
222
222
|
] });
|
|
223
223
|
};
|
|
224
224
|
export {
|
|
225
|
-
|
|
225
|
+
Ee as default
|
|
226
226
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { jsx as s, jsxs as
|
|
2
|
-
import { u as Z, c as ee, e as re, f as ae, a as c, X as te, L as U, m as oe, l as se, b as S, x as ne, N as de, w as ie, $ as ue,
|
|
1
|
+
import { jsx as s, jsxs as W, Fragment as J } from "react/jsx-runtime";
|
|
2
|
+
import { u as Z, c as ee, e as re, f as ae, a as c, X as te, L as U, m as oe, l as se, b as S, x as ne, N as de, w as ie, $ as ue, g as me, E as le, h as ce, v as fe, i as ye } from "./index-B8Fu9stx.js";
|
|
3
3
|
import { useState as q, useMemo as d, useCallback as f } from "react";
|
|
4
4
|
const pe = "_formsTableBody_81hra_1", be = "_customAccordianItem_81hra_6", O = {
|
|
5
5
|
formsTableBody: pe,
|
|
@@ -11,20 +11,20 @@ const pe = "_formsTableBody_81hra_1", be = "_customAccordianItem_81hra_6", O = {
|
|
|
11
11
|
encounterUuids: n,
|
|
12
12
|
config: C
|
|
13
13
|
}) => {
|
|
14
|
-
const { t: o } = Z(), m = ee(), [l, A] = q(!1), [t, I] = q(null), { numberOfVisits: k, hideThumbnail: w = !1 } = C ?? {},
|
|
14
|
+
const { t: o } = Z(), m = ee(), [l, A] = q(!1), [t, I] = q(null), { numberOfVisits: k, hideThumbnail: w = !1 } = C ?? {}, E = re(
|
|
15
15
|
u,
|
|
16
16
|
n
|
|
17
17
|
), x = ae(), {
|
|
18
18
|
data: y = [],
|
|
19
|
-
isLoading:
|
|
20
|
-
isError:
|
|
19
|
+
isLoading: B,
|
|
20
|
+
isError: L,
|
|
21
21
|
error: $,
|
|
22
22
|
refetch: H
|
|
23
23
|
} = c({
|
|
24
24
|
queryKey: ["forms", m, u],
|
|
25
25
|
queryFn: () => le(m, void 0, k),
|
|
26
|
-
enabled: !!m && !
|
|
27
|
-
}),
|
|
26
|
+
enabled: !!m && !E
|
|
27
|
+
}), T = d(() => !n || n.length === 0 ? y : y.filter(
|
|
28
28
|
(e) => n.includes(e.encounterUuid)
|
|
29
29
|
), [y, n]), { data: _ = [] } = c({
|
|
30
30
|
queryKey: ["observationForms"],
|
|
@@ -67,7 +67,7 @@ const pe = "_formsTableBody_81hra_1", be = "_customAccordianItem_81hra_6", O = {
|
|
|
67
67
|
return U(b).message;
|
|
68
68
|
if (N)
|
|
69
69
|
return U(N).message;
|
|
70
|
-
}, [b, N]),
|
|
70
|
+
}, [b, N]), F = d(
|
|
71
71
|
() => [
|
|
72
72
|
{ key: "recordedOn", header: o("RECORDED_ON") },
|
|
73
73
|
{ key: "recordedBy", header: o("RECORDED_BY") }
|
|
@@ -79,8 +79,8 @@ const pe = "_formsTableBody_81hra_1", be = "_customAccordianItem_81hra_6", O = {
|
|
|
79
79
|
{ key: "recordedBy", sortable: !0 }
|
|
80
80
|
],
|
|
81
81
|
[]
|
|
82
|
-
),
|
|
83
|
-
const e =
|
|
82
|
+
), M = d(() => {
|
|
83
|
+
const e = T.reduce(
|
|
84
84
|
(r, a) => {
|
|
85
85
|
const i = a.formName;
|
|
86
86
|
r[i] ??= [];
|
|
@@ -104,7 +104,7 @@ const pe = "_formsTableBody_81hra_1", be = "_customAccordianItem_81hra_6", O = {
|
|
|
104
104
|
)
|
|
105
105
|
})
|
|
106
106
|
).sort((r, a) => r.formName.localeCompare(a.formName));
|
|
107
|
-
}, [
|
|
107
|
+
}, [T, o]), D = f((e) => {
|
|
108
108
|
I(e), A(!0);
|
|
109
109
|
}, []), X = f(() => {
|
|
110
110
|
A(!1), I(null);
|
|
@@ -112,30 +112,30 @@ const pe = "_formsTableBody_81hra_1", be = "_customAccordianItem_81hra_6", O = {
|
|
|
112
112
|
(e, r) => {
|
|
113
113
|
switch (r) {
|
|
114
114
|
case "recordedOn":
|
|
115
|
-
return /* @__PURE__ */ s(se, { onClick: () =>
|
|
115
|
+
return /* @__PURE__ */ s(se, { onClick: () => D(e), children: e.recordedOn });
|
|
116
116
|
case "recordedBy":
|
|
117
117
|
return e.recordedBy;
|
|
118
118
|
default:
|
|
119
119
|
return null;
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
|
-
[
|
|
122
|
+
[D]
|
|
123
123
|
);
|
|
124
|
-
return /* @__PURE__ */ J
|
|
125
|
-
/* @__PURE__ */ s("div", { "data-testid": "forms-table", children:
|
|
124
|
+
return /* @__PURE__ */ W(J, { children: [
|
|
125
|
+
/* @__PURE__ */ s("div", { "data-testid": "forms-table", children: B || L || M.length === 0 || E ? /* @__PURE__ */ s(
|
|
126
126
|
S,
|
|
127
127
|
{
|
|
128
|
-
headers:
|
|
128
|
+
headers: F,
|
|
129
129
|
ariaLabel: o("FORMS_HEADING"),
|
|
130
130
|
rows: [],
|
|
131
|
-
loading:
|
|
132
|
-
errorStateMessage:
|
|
131
|
+
loading: B,
|
|
132
|
+
errorStateMessage: L ? $?.message : void 0,
|
|
133
133
|
emptyStateMessage: o("FORMS_UNAVAILABLE"),
|
|
134
134
|
renderCell: R,
|
|
135
135
|
className: O.formsTableBody,
|
|
136
136
|
dataTestId: "forms-table"
|
|
137
137
|
}
|
|
138
|
-
) : /* @__PURE__ */ s(ne, { align: "start", children:
|
|
138
|
+
) : /* @__PURE__ */ s(ne, { align: "start", children: M.map((e, r) => {
|
|
139
139
|
const { formName: a, records: i } = e;
|
|
140
140
|
return /* @__PURE__ */ s(
|
|
141
141
|
de,
|
|
@@ -147,7 +147,7 @@ const pe = "_formsTableBody_81hra_1", be = "_customAccordianItem_81hra_6", O = {
|
|
|
147
147
|
children: /* @__PURE__ */ s(
|
|
148
148
|
S,
|
|
149
149
|
{
|
|
150
|
-
headers:
|
|
150
|
+
headers: F,
|
|
151
151
|
ariaLabel: o("FORMS_HEADING"),
|
|
152
152
|
rows: i,
|
|
153
153
|
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 { B as d, C as f, D as e } from "./index-
|
|
1
|
+
import { c, T as l, P as m, a as u, D as v, Q as i } from "./YPM2AS64-CxYNRDyU.js";
|
|
2
|
+
import { B as d, C as f, D as e } from "./index-B8Fu9stx.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 { B as C, C as v, D 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-CxYNRDyU.js";
|
|
2
|
+
import { B as C, C as v, D as e } from "./index-B8Fu9stx.js";
|
|
3
3
|
var h = (t) => {
|
|
4
4
|
const [r, o] = s({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsxs as N, jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as V, d as H, u as S, j as K, p as M, a as Q, X, k as x, n as j, z as w, H as z, b as G, o as Y, Y as A, M as P, q as J, R as W, r as Z, s as ee, t as ae, A as te } from "./index-B8Fu9stx.js";
|
|
3
3
|
import { useRef as se, useEffect as $, useMemo as R } from "react";
|
|
4
4
|
const D = (a, n, d, l, b, r) => {
|
|
5
|
-
const t =
|
|
5
|
+
const t = P(a, n, b), s = t.value, o = J(s);
|
|
6
6
|
let i = s;
|
|
7
7
|
o === "Image" && (i = /* @__PURE__ */ u(
|
|
8
8
|
Z,
|
|
@@ -59,7 +59,7 @@ const D = (a, n, d, l, b, r) => {
|
|
|
59
59
|
hideThumbnail: d
|
|
60
60
|
}) => {
|
|
61
61
|
const { t: l } = S(), b = (r, t, s) => {
|
|
62
|
-
const o =
|
|
62
|
+
const o = Y(r.encounterDetails, l);
|
|
63
63
|
return /* @__PURE__ */ N(
|
|
64
64
|
A,
|
|
65
65
|
{
|
|
@@ -112,7 +112,7 @@ const D = (a, n, d, l, b, r) => {
|
|
|
112
112
|
conceptNames: d = [],
|
|
113
113
|
conceptUuid: l = [],
|
|
114
114
|
hideThumbnail: b = !1
|
|
115
|
-
} = n, r = se(/* @__PURE__ */ new Set()), t =
|
|
115
|
+
} = n, r = se(/* @__PURE__ */ new Set()), t = V(), { addNotification: s } = H(), { t: o } = S(), i = K({
|
|
116
116
|
queries: d.map((e) => ({
|
|
117
117
|
queryKey: de(e),
|
|
118
118
|
queryFn: () => M(e),
|
|
@@ -134,8 +134,8 @@ const D = (a, n, d, l, b, r) => {
|
|
|
134
134
|
const p = R(() => i.map((e) => e.data?.uuid).filter((e) => !!e), [i]), m = R(() => [.../* @__PURE__ */ new Set([...p, ...l])], [p, l]), y = R(() => d.length === 0 ? !0 : i.every((e) => !e.isLoading), [i, d.length]), {
|
|
135
135
|
data: c,
|
|
136
136
|
isLoading: F,
|
|
137
|
-
isError:
|
|
138
|
-
refetch:
|
|
137
|
+
isError: T,
|
|
138
|
+
refetch: f
|
|
139
139
|
} = Q({
|
|
140
140
|
queryKey: le(t, m),
|
|
141
141
|
queryFn: () => te(t, m),
|
|
@@ -145,25 +145,25 @@ const D = (a, n, d, l, b, r) => {
|
|
|
145
145
|
(e) => {
|
|
146
146
|
e.patientUUID === t && e.updatedConcepts.size > 0 && [...e.updatedConcepts.keys()].some(
|
|
147
147
|
(h) => m.includes(h)
|
|
148
|
-
) &&
|
|
148
|
+
) && f();
|
|
149
149
|
},
|
|
150
|
-
[t,
|
|
150
|
+
[t, f]
|
|
151
151
|
), $(() => {
|
|
152
|
-
|
|
152
|
+
T && s({
|
|
153
153
|
title: o("ERROR_DEFAULT_TITLE"),
|
|
154
154
|
message: o("ERROR_FETCHING_OBSERVATIONS"),
|
|
155
155
|
type: "error"
|
|
156
156
|
});
|
|
157
|
-
}, [
|
|
157
|
+
}, [T]);
|
|
158
158
|
const g = R(() => {
|
|
159
159
|
if (!c) return [];
|
|
160
160
|
const e = x(c), h = j(e);
|
|
161
161
|
return w(h);
|
|
162
|
-
}, [c]),
|
|
162
|
+
}, [c]), q = [
|
|
163
163
|
{ key: "name", header: "name" },
|
|
164
164
|
{ key: "value", header: "value" },
|
|
165
165
|
{ key: "form", header: "form" }
|
|
166
|
-
], O = F || !y, _ =
|
|
166
|
+
], O = F || !y, _ = T && y, L = (!c || c.entry?.length === 0 || m.length === 0) && y, k = _ ? o("ERROR_FETCHING_OBSERVATIONS") : null, C = L ? o("NO_OBSERVATIONS_FOUND") : void 0, U = g.length > 0 && !O && !_, E = n.titleTranslationKey, v = E ? o(E) : "";
|
|
167
167
|
return /* @__PURE__ */ N(
|
|
168
168
|
"div",
|
|
169
169
|
{
|
|
@@ -173,7 +173,7 @@ const D = (a, n, d, l, b, r) => {
|
|
|
173
173
|
className: I.observations,
|
|
174
174
|
children: [
|
|
175
175
|
/* @__PURE__ */ u(
|
|
176
|
-
|
|
176
|
+
z,
|
|
177
177
|
{
|
|
178
178
|
id: "observations-title",
|
|
179
179
|
testId: E ? `observations-title-${v}` : "observations-title",
|
|
@@ -190,13 +190,13 @@ const D = (a, n, d, l, b, r) => {
|
|
|
190
190
|
hideThumbnail: b
|
|
191
191
|
}
|
|
192
192
|
) : /* @__PURE__ */ u(
|
|
193
|
-
|
|
193
|
+
G,
|
|
194
194
|
{
|
|
195
|
-
headers:
|
|
195
|
+
headers: q,
|
|
196
196
|
rows: [],
|
|
197
197
|
ariaLabel: o("OBSERVATIONS"),
|
|
198
198
|
loading: O,
|
|
199
|
-
errorStateMessage:
|
|
199
|
+
errorStateMessage: k,
|
|
200
200
|
emptyStateMessage: C,
|
|
201
201
|
dataTestId: "observations-table"
|
|
202
202
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as we, G as z, I as xt, J as B, C as q, D as y, P as Ro,
|
|
1
|
+
import { F as we, G as z, I as xt, J as B, C as q, D as y, P as Ro, K as ye, S as R, O as _, Q as k, T as N, U as A, V as bs, W as ir, Z as $e, _ as U, a0 as Hn, a1 as Vn, a2 as dt, a3 as D, a4 as xs, a5 as cn, a6 as Be, a7 as ws, a8 as qt, a9 as zt, aa as $s, ab as Cs, ac as $n, ad as Ss, ae as Nr, af as Bt, ag as zo, ah as ks, ai as Es, aj as j, ak as Ur, al as Ms, am as Ds, an as sr, ao as As, ap as Ts, aq as zn, ar as Fs, as as Is, at as Z, au as Ps, av as Os } from "./index-B8Fu9stx.js";
|
|
2
2
|
var Ls = (e) => e != null, qs = (e) => e.filter(Ls);
|
|
3
3
|
function _s(e) {
|
|
4
4
|
return (...t) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"immunizationMocks.d.ts","sourceRoot":"","sources":["../../../../../../src/components/forms/immunization/__tests__/__mocks__/immunizationMocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAwDtD,eAAO,MAAM,kCAAkC;;;;;;;;;;;CAG9C,CAAC;AAEF,eAAO,MAAM,2CAA2C;;;;;;;;;;;CAGvD,CAAC;AAEF,eAAO,MAAM,oCAAoC;;;;;;;;;;;;CAIhD,CAAC;AAEF,eAAO,MAAM,uDAAuD;;;;;;;;;;;;CAMnE,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;CAgBrC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;mBAzEW,MAAM;qBAAW,MAAM;;;;CA4EhE,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;mBA9EG,MAAM;qBAAW,MAAM;;;;CAgFhE,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;mBAlFG,MAAM;qBAAW,MAAM;;;;CAkFR,CAAC;AAE3D,eAAO,MAAM,kBAAkB;;;;;mBApFY,MAAM;qBAAW,MAAM;;;;CAsFhE,CAAC;AAEH,eAAO,MAAM,iBAAiB;;;;;mBAxFa,MAAM;qBAAW,MAAM;;;;CA0FhE,CAAC;AAEH,eAAO,MAAM,aAAa,EAAE,QAAQ,EAEnC,CAAC;AAEF,eAAO,MAAM,yBAAyB,EAAE,QAAQ,EAM/C,CAAC;AAEF,eAAO,MAAM,qBAAqB;;;;CAIjC,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;kBAjHhC,UAAU;;CAwHhB,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,
|
|
1
|
+
{"version":3,"file":"immunizationMocks.d.ts","sourceRoot":"","sources":["../../../../../../src/components/forms/immunization/__tests__/__mocks__/immunizationMocks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,KAAK,sBAAsB,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,EAAE,UAAU,EAAE,iBAAiB,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACnE,OAAO,EAAE,sBAAsB,EAAE,MAAM,gDAAgD,CAAC;AACxF,OAAO,EAAE,sBAAsB,EAAE,MAAM,cAAc,CAAC;AAwDtD,eAAO,MAAM,kCAAkC;;;;;;;;;;;CAG9C,CAAC;AAEF,eAAO,MAAM,2CAA2C;;;;;;;;;;;CAGvD,CAAC;AAEF,eAAO,MAAM,oCAAoC;;;;;;;;;;;;CAIhD,CAAC;AAEF,eAAO,MAAM,uDAAuD;;;;;;;;;;;;CAMnE,CAAC;AAEF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;CAgBrC,CAAC;AAEF,eAAO,MAAM,mBAAmB;;;;;mBAzEW,MAAM;qBAAW,MAAM;;;;CA4EhE,CAAC;AAEH,eAAO,MAAM,2BAA2B;;;;;mBA9EG,MAAM;qBAAW,MAAM;;;;CAgFhE,CAAC;AAEH,eAAO,MAAM,2BAA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EF,eAAO,MAAM,uCAAuC,EAAE,sBAGrD,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,iBAUnC,CAAC;AAEF,eAAO,MAAM,6BAA6B,EAAE,iBAM3C,CAAC;AAEF,eAAO,MAAM,qBAAqB,EAAE,UAInC,CAAC;AAEF,eAAO,MAAM,0BAA0B,EAAE,sBAoBxC,CAAC;AAEF,eAAO,MAAM,gCAAgC,EAAE,sBA4B9C,CAAC;AAEF,eAAO,MAAM,+BAA+B,EAAE,sBAG7C,CAAC;AAEF,eAAO,MAAM,8BAA8B;;;;;;CAI1C,CAAC;AAEF,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;CAoBrB,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { Location, AvailableStockResponse } from '@bahmni/services';
|
|
|
2
2
|
import { Medication, ValueSet } from 'fhir/r4';
|
|
3
3
|
import { default as React } from 'react';
|
|
4
4
|
import { InputControlAttributes } from '../../../../providers/clinicalConfig/models';
|
|
5
|
-
import { ImmunizationInputEntry, ImmunizationStoreKey } from '../models';
|
|
5
|
+
import { ImmunizationInputEntry, ImmunizationStoreKey, BatchNumberComboBoxItem } from '../models';
|
|
6
6
|
interface SelectedImmunizationItemProps {
|
|
7
7
|
immunization: ImmunizationInputEntry;
|
|
8
8
|
routes: ValueSet | undefined;
|
|
@@ -15,6 +15,10 @@ interface SelectedImmunizationItemProps {
|
|
|
15
15
|
stocksError: boolean;
|
|
16
16
|
stockBatchesEnabled: boolean;
|
|
17
17
|
}
|
|
18
|
+
export interface BatchNumberChangeData {
|
|
19
|
+
selectedItem?: BatchNumberComboBoxItem | null;
|
|
20
|
+
inputValue?: string | null;
|
|
21
|
+
}
|
|
18
22
|
declare const SelectedImmunizationItem: React.FC<SelectedImmunizationItemProps>;
|
|
19
23
|
export default SelectedImmunizationItem;
|
|
20
24
|
//# sourceMappingURL=SelectedImmunizationItem.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectedImmunizationItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/immunization/components/SelectedImmunizationItem.tsx"],"names":[],"mappings":"AAWA,OAAO,EAEL,QAAQ,EACR,KAAK,sBAAsB,EAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,
|
|
1
|
+
{"version":3,"file":"SelectedImmunizationItem.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/immunization/components/SelectedImmunizationItem.tsx"],"names":[],"mappings":"AAWA,OAAO,EAEL,QAAQ,EACR,KAAK,sBAAsB,EAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,UAAU,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAC;AAC/C,OAAO,KAA4B,MAAM,OAAO,CAAC;AACjD,OAAO,EAAE,sBAAsB,EAAE,MAAM,6CAA6C,CAAC;AACrF,OAAO,EACL,sBAAsB,EACtB,oBAAoB,EACpB,uBAAuB,EACxB,MAAM,WAAW,CAAC;AAYnB,UAAU,6BAA6B;IACrC,YAAY,EAAE,sBAAsB,CAAC;IACrC,MAAM,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC7B,KAAK,EAAE,QAAQ,GAAG,SAAS,CAAC;IAC5B,uBAAuB,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAC;IAChD,UAAU,EAAE,sBAAsB,EAAE,GAAG,SAAS,CAAC;IACjD,YAAY,EAAE,UAAU,EAAE,GAAG,SAAS,CAAC;IACvC,QAAQ,EAAE,oBAAoB,CAAC;IAC/B,eAAe,EAAE,sBAAsB,GAAG,SAAS,CAAC;IACpD,WAAW,EAAE,OAAO,CAAC;IACrB,mBAAmB,EAAE,OAAO,CAAC;CAC9B;AAED,MAAM,WAAW,qBAAqB;IACpC,YAAY,CAAC,EAAE,uBAAuB,GAAG,IAAI,CAAC;IAC9C,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B;AAED,QAAA,MAAM,wBAAwB,EAAE,KAAK,CAAC,EAAE,CAAC,6BAA6B,CA8drE,CAAC;AAEF,eAAe,wBAAwB,CAAC"}
|
|
@@ -2,6 +2,7 @@ export declare const IMMUNIZATION_HISTORY_INPUT_CONTROL_KEY = "immunizationHisto
|
|
|
2
2
|
export declare const IMMUNIZATION_ADMINISTRATION_INPUT_CONTROL_KEY = "immunizationAdministration";
|
|
3
3
|
export declare const ADMINISTERED_PRODUCT_EXTENSION_URL = "http://fhir.bahmni.org/ext/immunization/administeredProduct";
|
|
4
4
|
export declare const BASED_ON_EXTENSION_URL = "http://fhir.bahmni.org/ext/immunization/basedOn";
|
|
5
|
+
export declare const STOCK_LOCATION_EXTENSION_URL = "http://fhir.bahmni.org/ext/immunization/stockLocation";
|
|
5
6
|
export declare const ENTERING_PROVIDER_SYSTEM = "http://terminology.hl7.org/CodeSystem/v2-0443";
|
|
6
7
|
export declare const ENTERING_PROVIDER_CODE = "EP";
|
|
7
8
|
export declare const ENTERING_PROVIDER_DISPLAY = "Entering Provider";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/immunization/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sCAAsC,wBAAwB,CAAC;AAC5E,eAAO,MAAM,6CAA6C,+BAC5B,CAAC;AAC/B,eAAO,MAAM,kCAAkC,gEACgB,CAAC;AAChE,eAAO,MAAM,sBAAsB,oDACgB,CAAC;AACpD,eAAO,MAAM,wBAAwB,kDACY,CAAC;AAClD,eAAO,MAAM,sBAAsB,OAAO,CAAC;AAC3C,eAAO,MAAM,yBAAyB,sBAAsB,CAAC"}
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/immunization/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,sCAAsC,wBAAwB,CAAC;AAC5E,eAAO,MAAM,6CAA6C,+BAC5B,CAAC;AAC/B,eAAO,MAAM,kCAAkC,gEACgB,CAAC;AAChE,eAAO,MAAM,sBAAsB,oDACgB,CAAC;AACpD,eAAO,MAAM,4BAA4B,0DACgB,CAAC;AAC1D,eAAO,MAAM,wBAAwB,kDACY,CAAC;AAClD,eAAO,MAAM,sBAAsB,OAAO,CAAC;AAC3C,eAAO,MAAM,yBAAyB,sBAAsB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/immunization/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/immunization/index.ts"],"names":[],"mappings":"AAoCA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -24,6 +24,7 @@ export interface ImmunizationInputEntry {
|
|
|
24
24
|
expiryDate: Date | null;
|
|
25
25
|
manufacturer: string | null;
|
|
26
26
|
batchNumber: string | null;
|
|
27
|
+
stockLocation: string | null;
|
|
27
28
|
doseSequence: number | null;
|
|
28
29
|
note?: string;
|
|
29
30
|
basedOnReference?: string | null;
|
|
@@ -61,6 +62,7 @@ export interface CreateImmunizationBundleEntriesParams {
|
|
|
61
62
|
encounterSubject: Reference;
|
|
62
63
|
encounterReference: string;
|
|
63
64
|
practitionerUUID: string;
|
|
65
|
+
isAdministration: boolean;
|
|
64
66
|
}
|
|
65
67
|
export interface ImmunizationHistoryState {
|
|
66
68
|
selectedImmunizations: ImmunizationInputEntry[];
|
|
@@ -84,6 +86,7 @@ export interface ImmunizationHistoryState {
|
|
|
84
86
|
updateExpiryDate: (id: string, value: Date | null) => void;
|
|
85
87
|
updateManufacturer: (id: string, value: string) => void;
|
|
86
88
|
updateBatchNumber: (id: string, value: string) => void;
|
|
89
|
+
updateStockLocation: (id: string, value: string | null) => void;
|
|
87
90
|
updateDoseSequence: (id: string, value: number | null) => void;
|
|
88
91
|
updateNote: (id: string, value: string) => void;
|
|
89
92
|
validateAll: () => boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/immunization/models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,EACL,6CAA6C,EAC7C,sCAAsC,EACvC,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,oBAAoB,GAC5B,OAAO,sCAAsC,GAC7C,OAAO,6CAA6C,CAAC;AAEzD,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,gBAAgB,GAAG,IAAI,CAAC;IAC9B,WAAW,EAAE;QACX,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;IACF,cAAc,EAAE,IAAI,GAAG,IAAI,CAAC;IAC5B,oBAAoB,EAAE,oBAAoB,GAAG,IAAI,CAAC;IAClD,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACjC,MAAM,EAAE;QACN,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAC9B,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,IAAI,CAAC,EAAE,MAAM,CAAC;KACf,CAAC;IACF,gBAAgB,EAAE,OAAO,CAAC;CAC3B;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,MAAM,WAAW,uBAAuB;IACtC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;CAC3B;AAED,MAAM,WAAW,oBAAoB;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,qCAAqC;IACpD,qBAAqB,EAAE,sBAAsB,EAAE,CAAC;IAChD,gBAAgB,EAAE,SAAS,CAAC;IAC5B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,gBAAgB,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"models.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/immunization/models.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC;AACpC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAClF,OAAO,EACL,6CAA6C,EAC7C,s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,MAAM,wBAAwB,CAAC;CAC1C"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"stores.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/immunization/stores.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,wBAAwB,EAGxB,oBAAoB,EACrB,MAAM,UAAU,CAAC;AAGlB,KAAK,2BAA2B,GAAG,UAAU,CAC3C,OAAO,8BAA8B,CACtC,CAAC;
|
|
1
|
+
{"version":3,"file":"stores.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/immunization/stores.ts"],"names":[],"mappings":"AAIA,OAAO,EAEL,wBAAwB,EAGxB,oBAAoB,EACrB,MAAM,UAAU,CAAC;AAGlB,KAAK,2BAA2B,GAAG,UAAU,CAC3C,OAAO,8BAA8B,CACtC,CAAC;AA8PF,iBAAS,8BAA8B,yDAiKtC;AAED,wBAAgB,oBAAoB,CAClC,GAAG,EAAE,oBAAoB,GACxB,2BAA2B,CAK7B;AAED,wBAAgB,2BAA2B,CACzC,GAAG,EAAE,oBAAoB,GACxB,wBAAwB,CAE1B"}
|
|
@@ -37,5 +37,5 @@ export declare function buildBasedOnImmunizationEntry(basedOn: MedicationRequest
|
|
|
37
37
|
basedOnReference: string | undefined;
|
|
38
38
|
};
|
|
39
39
|
};
|
|
40
|
-
export declare function createImmunizationBundleEntries({ selectedImmunizations, encounterSubject, encounterReference, practitionerUUID, }: CreateImmunizationBundleEntriesParams): BundleEntry[];
|
|
40
|
+
export declare function createImmunizationBundleEntries({ selectedImmunizations, encounterSubject, encounterReference, practitionerUUID, isAdministration, }: CreateImmunizationBundleEntriesParams): BundleEntry[];
|
|
41
41
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/immunization/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,QAAQ,EACR,KAAK,sBAAsB,EAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,WAAW,EAGX,UAAU,EACV,iBAAiB,EACjB,QAAQ,EACR,yBAAyB,EAC1B,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/components/forms/immunization/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,QAAQ,EACR,KAAK,sBAAsB,EAC5B,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EACL,WAAW,EAGX,UAAU,EACV,iBAAiB,EACjB,QAAQ,EACR,yBAAyB,EAC1B,MAAM,SAAS,CAAC;AACjB,OAAO,EAAE,sBAAsB,EAAE,MAAM,0CAA0C,CAAC;AAelF,OAAO,EACL,uBAAuB,EACvB,qCAAqC,EAGrC,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,UAAU,CAAC;AAgDlB,wBAAgB,QAAQ,CACtB,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,sBAAsB,EAAE,GAAG,SAAS,GAC/C,sBAAsB,GAAG,SAAS,CAEpC;AAED,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,EAClB,QAAQ,EAAE,QAAQ,GAAG,SAAS,EAC9B,YAAY,EAAE,MAAM,GACnB,oBAAoB,EAAE,CAWxB;AAED,wBAAgB,0BAA0B,CACxC,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,UAAU,EAAE,GAAG,SAAS,EACrC,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,GACnB,oBAAoB,EAAE,CAkBxB;AAED,wBAAgB,2BAA2B,CACzC,eAAe,EAAE,sBAAsB,GAAG,SAAS,EACnD,YAAY,CAAC,EAAE,MAAM,EACrB,YAAY,CAAC,EAAE,MAAM,GACpB,uBAAuB,EAAE,CA4B3B;AAED,wBAAgB,sBAAsB,CACpC,IAAI,EAAE,uBAAuB,GAAG,IAAI,EACpC,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,GACzB,MAAM,CASR;AAED,wBAAgB,wBAAwB,CACtC,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,QAAQ,EAAE,GAAG,SAAS,GAChC,oBAAoB,EAAE,CAQxB;AAED,wBAAgB,gBAAgB,CAC9B,UAAU,EAAE,MAAM,EAClB,gBAAgB,EAAE,QAAQ,GAAG,SAAS,EACtC,SAAS,EAAE,OAAO,EAClB,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,GAC1D,CAAC,yBAAyB,GAAG;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,CAAC,EAAE,CAaxD;AAED,wBAAgB,6BAA6B,CAC3C,OAAO,EAAE,iBAAiB,EAC1B,iBAAiB,EAAE,UAAU,EAC7B,aAAa,EAAE;IAAE,IAAI,CAAC,EAAE,MAAM,CAAC;IAAC,OAAO,CAAC,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAAE;;;;;;;;;;;;;;;;;EA0BjE;AAED,wBAAgB,+BAA+B,CAAC,EAC9C,qBAAqB,EACrB,gBAAgB,EAChB,kBAAkB,EAClB,gBAAgB,EAChB,gBAAgB,GACjB,EAAE,qCAAqC,GAAG,WAAW,EAAE,CA6DvD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PatientHeader.d.ts","sourceRoot":"","sources":["../../../src/components/patientHeader/PatientHeader.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PatientHeader.d.ts","sourceRoot":"","sources":["../../../src/components/patientHeader/PatientHeader.tsx"],"names":[],"mappings":"AAUA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,UAAU,kBAAkB;IAC1B,mBAAmB,EAAE,OAAO,CAAC;CAC9B;AAED;;;;;;GAMG;AACH,QAAA,MAAM,aAAa,EAAE,KAAK,CAAC,EAAE,CAAC,kBAAkB,CA2C/C,CAAC;AAEF,eAAe,aAAa,CAAC"}
|