@mieweb/ui 0.7.1-dev.9 → 0.7.2-dev.0
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/ag-grid.cjs +5 -5
- package/dist/ag-grid.js +1 -1
- package/dist/{chunk-XCVBCY7L.cjs → chunk-26DPQUSB.cjs} +4 -4
- package/dist/{chunk-XCVBCY7L.cjs.map → chunk-26DPQUSB.cjs.map} +1 -1
- package/dist/{chunk-YTLTI5Q2.js → chunk-3D4ITDLO.js} +3 -3
- package/dist/{chunk-YTLTI5Q2.js.map → chunk-3D4ITDLO.js.map} +1 -1
- package/dist/{chunk-KZ7QKUJS.cjs → chunk-3IAA3KCE.cjs} +13 -4
- package/dist/chunk-3IAA3KCE.cjs.map +1 -0
- package/dist/chunk-3PXOIAF6.js +3 -0
- package/dist/{chunk-DHKYGVP7.js.map → chunk-3PXOIAF6.js.map} +1 -1
- package/dist/{chunk-7OIUA7PW.js → chunk-3SRBIXQX.js} +9 -9
- package/dist/{chunk-7OIUA7PW.js.map → chunk-3SRBIXQX.js.map} +1 -1
- package/dist/{chunk-7V6SUOBV.js → chunk-3YSIZ2CK.js} +13 -4
- package/dist/chunk-3YSIZ2CK.js.map +1 -0
- package/dist/{chunk-3OME4UHL.cjs → chunk-54OW6ZPL.cjs} +99 -3
- package/dist/chunk-54OW6ZPL.cjs.map +1 -0
- package/dist/{chunk-IVDIT3TJ.js → chunk-5BDCQBYW.js} +3 -3
- package/dist/{chunk-IVDIT3TJ.js.map → chunk-5BDCQBYW.js.map} +1 -1
- package/dist/{chunk-5PHGIWDN.cjs → chunk-6ECKH4DJ.cjs} +3 -3
- package/dist/{chunk-5PHGIWDN.cjs.map → chunk-6ECKH4DJ.cjs.map} +1 -1
- package/dist/{chunk-2GQ7VPCS.cjs → chunk-6J7UGYT5.cjs} +6 -6
- package/dist/{chunk-2GQ7VPCS.cjs.map → chunk-6J7UGYT5.cjs.map} +1 -1
- package/dist/{chunk-HIAUNNOW.cjs → chunk-AIJAFPGJ.cjs} +3 -3
- package/dist/{chunk-HIAUNNOW.cjs.map → chunk-AIJAFPGJ.cjs.map} +1 -1
- package/dist/{chunk-BS5NOKZD.js → chunk-AQ564XO7.js} +5 -5
- package/dist/chunk-AQ564XO7.js.map +1 -0
- package/dist/{chunk-JJNCQMR5.js → chunk-BMRQ4VME.js} +3 -3
- package/dist/{chunk-JJNCQMR5.js.map → chunk-BMRQ4VME.js.map} +1 -1
- package/dist/{chunk-REPZI2YO.js → chunk-BMSG4NBH.js} +3 -3
- package/dist/{chunk-REPZI2YO.js.map → chunk-BMSG4NBH.js.map} +1 -1
- package/dist/{chunk-QA6ZDHFP.js → chunk-BOOJDRJO.js} +35 -11
- package/dist/chunk-BOOJDRJO.js.map +1 -0
- package/dist/{chunk-34LGPMO4.js → chunk-DLBV42JD.js} +3 -3
- package/dist/{chunk-34LGPMO4.js.map → chunk-DLBV42JD.js.map} +1 -1
- package/dist/{chunk-2YDKLURF.js → chunk-DWIF6VXZ.js} +99 -3
- package/dist/chunk-DWIF6VXZ.js.map +1 -0
- package/dist/{chunk-KQGGKE36.js → chunk-EGWWTIWS.js} +118 -74
- package/dist/chunk-EGWWTIWS.js.map +1 -0
- package/dist/{chunk-IXWRD4AP.js → chunk-EKRT7K2K.js} +3 -3
- package/dist/{chunk-IXWRD4AP.js.map → chunk-EKRT7K2K.js.map} +1 -1
- package/dist/{chunk-MHD5HZ4X.js → chunk-FDV7EQWH.js} +3 -3
- package/dist/{chunk-MHD5HZ4X.js.map → chunk-FDV7EQWH.js.map} +1 -1
- package/dist/{chunk-STCRP652.cjs → chunk-FKLUSYFP.cjs} +4 -4
- package/dist/{chunk-STCRP652.cjs.map → chunk-FKLUSYFP.cjs.map} +1 -1
- package/dist/{chunk-DKICBJTM.js → chunk-HIDV32ZX.js} +4 -4
- package/dist/{chunk-DKICBJTM.js.map → chunk-HIDV32ZX.js.map} +1 -1
- package/dist/{chunk-XPNKDFRL.js → chunk-I3WGZPI6.js} +3 -3
- package/dist/{chunk-XPNKDFRL.js.map → chunk-I3WGZPI6.js.map} +1 -1
- package/dist/{chunk-62TFTZWT.cjs → chunk-IJYTASQQ.cjs} +5 -5
- package/dist/{chunk-62TFTZWT.cjs.map → chunk-IJYTASQQ.cjs.map} +1 -1
- package/dist/{chunk-SAJSA4TS.js → chunk-LMBXJZLG.js} +8 -4
- package/dist/chunk-LMBXJZLG.js.map +1 -0
- package/dist/{chunk-CPUDOVWH.cjs → chunk-MJWFNV3L.cjs} +12 -8
- package/dist/chunk-MJWFNV3L.cjs.map +1 -0
- package/dist/{chunk-ZDEYV373.cjs → chunk-MYFZYUPR.cjs} +35 -11
- package/dist/chunk-MYFZYUPR.cjs.map +1 -0
- package/dist/{chunk-QNUPTRW7.js → chunk-NGLI2MSM.js} +24 -14
- package/dist/chunk-NGLI2MSM.js.map +1 -0
- package/dist/{chunk-PGETZ2FP.cjs → chunk-OAHORW4N.cjs} +120 -76
- package/dist/chunk-OAHORW4N.cjs.map +1 -0
- package/dist/{chunk-G45PAVQI.js → chunk-P6L74SKG.js} +4 -4
- package/dist/{chunk-G45PAVQI.js.map → chunk-P6L74SKG.js.map} +1 -1
- package/dist/chunk-PAM5UUBL.cjs +740 -0
- package/dist/{chunk-UTYUT5YY.cjs.map → chunk-PAM5UUBL.cjs.map} +1 -1
- package/dist/{chunk-JY4U2QWO.cjs → chunk-PLMXN23Q.cjs} +5 -5
- package/dist/chunk-PLMXN23Q.cjs.map +1 -0
- package/dist/{chunk-PNJAFZDC.cjs → chunk-Q5VBO3I5.cjs} +30 -20
- package/dist/chunk-Q5VBO3I5.cjs.map +1 -0
- package/dist/{chunk-XD6GRTH2.cjs → chunk-QI2SB6U3.cjs} +7 -7
- package/dist/{chunk-XD6GRTH2.cjs.map → chunk-QI2SB6U3.cjs.map} +1 -1
- package/dist/{chunk-6XGESZ4S.js → chunk-QYSUYB3S.js} +12 -8
- package/dist/chunk-QYSUYB3S.js.map +1 -0
- package/dist/{chunk-Y5F2OASC.cjs → chunk-RBS3GHDZ.cjs} +6 -6
- package/dist/{chunk-Y5F2OASC.cjs.map → chunk-RBS3GHDZ.cjs.map} +1 -1
- package/dist/{chunk-NGPEXCC7.cjs → chunk-RS5VA6QU.cjs} +8 -4
- package/dist/chunk-RS5VA6QU.cjs.map +1 -0
- package/dist/{chunk-YXHX2DAK.cjs → chunk-RYQ3S3KO.cjs} +5 -5
- package/dist/{chunk-YXHX2DAK.cjs.map → chunk-RYQ3S3KO.cjs.map} +1 -1
- package/dist/{chunk-QKKYMNR2.js → chunk-RZJXCI53.js} +189 -202
- package/dist/chunk-RZJXCI53.js.map +1 -0
- package/dist/{chunk-ET5JGGVL.js → chunk-TNUL4LGG.js} +5 -5
- package/dist/{chunk-ET5JGGVL.js.map → chunk-TNUL4LGG.js.map} +1 -1
- package/dist/{chunk-C2NNNOSU.cjs → chunk-VVI32P7L.cjs} +4 -4
- package/dist/{chunk-C2NNNOSU.cjs.map → chunk-VVI32P7L.cjs.map} +1 -1
- package/dist/{chunk-X732DPW4.cjs → chunk-VWCMOWGH.cjs} +77 -77
- package/dist/{chunk-X732DPW4.cjs.map → chunk-VWCMOWGH.cjs.map} +1 -1
- package/dist/{chunk-HEV52I7A.cjs → chunk-XS35KPBZ.cjs} +190 -202
- package/dist/chunk-XS35KPBZ.cjs.map +1 -0
- package/dist/{chunk-EFEKAPS2.cjs → chunk-YVL3XATO.cjs} +3 -3
- package/dist/{chunk-EFEKAPS2.cjs.map → chunk-YVL3XATO.cjs.map} +1 -1
- package/dist/{chunk-EJPV3QY3.js → chunk-YXCE2HSK.js} +3 -3
- package/dist/{chunk-EJPV3QY3.js.map → chunk-YXCE2HSK.js.map} +1 -1
- package/dist/{chunk-OJEXXH5D.cjs → chunk-ZBI52NP2.cjs} +4 -4
- package/dist/{chunk-OJEXXH5D.cjs.map → chunk-ZBI52NP2.cjs.map} +1 -1
- package/dist/components/Autocomplete/index.cjs +4 -4
- package/dist/components/Autocomplete/index.js +3 -3
- package/dist/components/Badge/index.cjs +3 -3
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Card/index.cjs +15 -15
- package/dist/components/Card/index.d.cts +8 -3
- package/dist/components/Card/index.d.ts +8 -3
- package/dist/components/Card/index.js +1 -1
- package/dist/components/CountryCodeDropdown/index.cjs +5 -5
- package/dist/components/CountryCodeDropdown/index.js +2 -2
- package/dist/components/DateInput/index.cjs +4 -4
- package/dist/components/DateInput/index.d.cts +3 -1
- package/dist/components/DateInput/index.d.ts +3 -1
- package/dist/components/DateInput/index.js +3 -3
- package/dist/components/Dropdown/index.cjs +9 -9
- package/dist/components/Dropdown/index.d.cts +1 -1
- package/dist/components/Dropdown/index.d.ts +1 -1
- package/dist/components/Dropdown/index.js +3 -3
- package/dist/components/Input/index.cjs +3 -3
- package/dist/components/Input/index.js +1 -1
- package/dist/components/Label/index.cjs +3 -3
- package/dist/components/Label/index.js +1 -1
- package/dist/components/MediaEditor/index.cjs +9 -9
- package/dist/components/MediaEditor/index.js +4 -4
- package/dist/components/PhoneInput/index.cjs +4 -4
- package/dist/components/PhoneInput/index.js +2 -2
- package/dist/components/RichTextEditor/index.cjs +7 -7
- package/dist/components/RichTextEditor/index.js +4 -4
- package/dist/components/Select/index.cjs +4 -4
- package/dist/components/Select/index.js +2 -2
- package/dist/components/Sheet/index.cjs +10 -10
- package/dist/components/Sheet/index.d.cts +1 -1
- package/dist/components/Sheet/index.d.ts +1 -1
- package/dist/components/Sheet/index.js +1 -1
- package/dist/components/SuperChat/index.cjs +17 -17
- package/dist/components/SuperChat/index.d.cts +4 -4
- package/dist/components/SuperChat/index.d.ts +4 -4
- package/dist/components/SuperChat/index.js +6 -6
- package/dist/components/SuperChat/plugins/index.cjs +4 -4
- package/dist/components/SuperChat/plugins/index.d.cts +3 -3
- package/dist/components/SuperChat/plugins/index.d.ts +3 -3
- package/dist/components/SuperChat/plugins/index.js +3 -3
- package/dist/components/Switch/index.cjs +4 -4
- package/dist/components/Switch/index.js +1 -1
- package/dist/components/Table/index.cjs +9 -9
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Text/index.cjs +4 -4
- package/dist/components/Text/index.d.cts +1 -1
- package/dist/components/Text/index.d.ts +1 -1
- package/dist/components/Text/index.js +1 -1
- package/dist/datavis.cjs +2 -2
- package/dist/datavis.js +1 -1
- package/dist/esheet.cjs +12 -12
- package/dist/esheet.js +9 -9
- package/dist/hooks/index.cjs +2 -2
- package/dist/hooks/index.d.cts +1 -1
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/index.cjs +2294 -776
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +104 -17
- package/dist/index.d.ts +104 -17
- package/dist/index.js +860 -67
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/dist/{types-BYnLjEFg.d.cts → types-B2RLmdVd.d.cts} +3 -1
- package/dist/{types-BYnLjEFg.d.ts → types-B2RLmdVd.d.ts} +3 -1
- package/dist/{types-CyCwYBlr.d.ts → types-BoTeTPdH.d.ts} +1 -1
- package/dist/{types-CBh8Zlje.d.cts → types-DyIB9HYT.d.cts} +1 -1
- package/dist/{useAnchoredPosition-nXdSFKHf.d.ts → useAnchoredPosition-C7PNglzD.d.cts} +6 -2
- package/dist/{useAnchoredPosition-nXdSFKHf.d.cts → useAnchoredPosition-C7PNglzD.d.ts} +6 -2
- package/package.json +6 -6
- package/dist/chunk-2YDKLURF.js.map +0 -1
- package/dist/chunk-3OME4UHL.cjs.map +0 -1
- package/dist/chunk-6XGESZ4S.js.map +0 -1
- package/dist/chunk-7V6SUOBV.js.map +0 -1
- package/dist/chunk-BS5NOKZD.js.map +0 -1
- package/dist/chunk-CPUDOVWH.cjs.map +0 -1
- package/dist/chunk-DHKYGVP7.js +0 -3
- package/dist/chunk-HEV52I7A.cjs.map +0 -1
- package/dist/chunk-JY4U2QWO.cjs.map +0 -1
- package/dist/chunk-KQGGKE36.js.map +0 -1
- package/dist/chunk-KZ7QKUJS.cjs.map +0 -1
- package/dist/chunk-NGPEXCC7.cjs.map +0 -1
- package/dist/chunk-PGETZ2FP.cjs.map +0 -1
- package/dist/chunk-PNJAFZDC.cjs.map +0 -1
- package/dist/chunk-QA6ZDHFP.js.map +0 -1
- package/dist/chunk-QKKYMNR2.js.map +0 -1
- package/dist/chunk-QNUPTRW7.js.map +0 -1
- package/dist/chunk-SAJSA4TS.js.map +0 -1
- package/dist/chunk-UTYUT5YY.cjs +0 -240
- package/dist/chunk-ZDEYV373.cjs.map +0 -1
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
var chunkWUNWHOLA_cjs = require('./chunk-WUNWHOLA.cjs');
|
|
4
4
|
var chunkWWJIW2IH_cjs = require('./chunk-WWJIW2IH.cjs');
|
|
5
5
|
var chunk5IDYOJHO_cjs = require('./chunk-5IDYOJHO.cjs');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var
|
|
9
|
-
var
|
|
6
|
+
var chunkAIJAFPGJ_cjs = require('./chunk-AIJAFPGJ.cjs');
|
|
7
|
+
var chunkZBI52NP2_cjs = require('./chunk-ZBI52NP2.cjs');
|
|
8
|
+
var chunkMJWFNV3L_cjs = require('./chunk-MJWFNV3L.cjs');
|
|
9
|
+
var chunkOAHORW4N_cjs = require('./chunk-OAHORW4N.cjs');
|
|
10
10
|
var chunkP2VTQ5AR_cjs = require('./chunk-P2VTQ5AR.cjs');
|
|
11
|
-
var
|
|
12
|
-
var
|
|
11
|
+
var chunk6ECKH4DJ_cjs = require('./chunk-6ECKH4DJ.cjs');
|
|
12
|
+
var chunkPAM5UUBL_cjs = require('./chunk-PAM5UUBL.cjs');
|
|
13
13
|
var chunkM26KJKZG_cjs = require('./chunk-M26KJKZG.cjs');
|
|
14
|
-
var
|
|
14
|
+
var chunkYVL3XATO_cjs = require('./chunk-YVL3XATO.cjs');
|
|
15
15
|
var chunkYVPC65ZJ_cjs = require('./chunk-YVPC65ZJ.cjs');
|
|
16
16
|
var chunkS5RVSXDV_cjs = require('./chunk-S5RVSXDV.cjs');
|
|
17
17
|
var jsxRuntime = require('react/jsx-runtime');
|
|
@@ -150,9 +150,9 @@ var SEVERITY_BADGE = {
|
|
|
150
150
|
};
|
|
151
151
|
var DEFAULT_ACTIONS = ["correct", "note", "remove"];
|
|
152
152
|
var ACTION_META = {
|
|
153
|
-
correct: { label: "Correct", icon:
|
|
154
|
-
note: { label: "Notes", icon:
|
|
155
|
-
remove: { label: "Remove", icon:
|
|
153
|
+
correct: { label: "Correct", icon: chunkPAM5UUBL_cjs.Pencil },
|
|
154
|
+
note: { label: "Notes", icon: chunkPAM5UUBL_cjs.StickyNote },
|
|
155
|
+
remove: { label: "Remove", icon: chunkPAM5UUBL_cjs.Ban }
|
|
156
156
|
};
|
|
157
157
|
function AllergyRow({
|
|
158
158
|
allergy,
|
|
@@ -198,7 +198,7 @@ function AllergyRow({
|
|
|
198
198
|
),
|
|
199
199
|
children: [
|
|
200
200
|
drag.enabled ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
201
|
-
|
|
201
|
+
chunkPAM5UUBL_cjs.GripVertical,
|
|
202
202
|
{
|
|
203
203
|
size: 14,
|
|
204
204
|
"aria-hidden": true,
|
|
@@ -227,8 +227,8 @@ function AllergyRow({
|
|
|
227
227
|
]
|
|
228
228
|
}
|
|
229
229
|
),
|
|
230
|
-
allergy.severity && /* @__PURE__ */ jsxRuntime.jsx(
|
|
231
|
-
allergy.kind === "intolerance" && /* @__PURE__ */ jsxRuntime.jsx(
|
|
230
|
+
allergy.severity && /* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: SEVERITY_BADGE[allergy.severity], size: "sm", children: allergy.severity }),
|
|
231
|
+
allergy.kind === "intolerance" && /* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: "secondary", size: "sm", children: "intolerance" }),
|
|
232
232
|
allergy.reaction && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground text-sm", children: [
|
|
233
233
|
"\u2014 ",
|
|
234
234
|
allergy.reaction
|
|
@@ -237,9 +237,9 @@ function AllergyRow({
|
|
|
237
237
|
"since ",
|
|
238
238
|
allergy.onsetDate
|
|
239
239
|
] }),
|
|
240
|
-
allergy.inactive && /* @__PURE__ */ jsxRuntime.jsx(
|
|
240
|
+
allergy.inactive && /* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: "secondary", size: "sm", children: "inactive" }),
|
|
241
241
|
allergy.note && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex w-full basis-full items-center gap-1.5 pl-4", children: [
|
|
242
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
242
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.StickyNote, { size: 12, className: "text-muted-foreground" }),
|
|
243
243
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-xs", children: allergy.note })
|
|
244
244
|
] }),
|
|
245
245
|
!readOnly && actions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(RowActionToolbar, { label: `Actions for ${allergy.allergen}`, children: actions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -310,7 +310,7 @@ var AllergyList = React3__namespace.forwardRef(
|
|
|
310
310
|
[allergies, onReorder, readOnly, setAnnouncement]
|
|
311
311
|
);
|
|
312
312
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
313
|
-
|
|
313
|
+
chunkMJWFNV3L_cjs.Card,
|
|
314
314
|
{
|
|
315
315
|
ref,
|
|
316
316
|
padding: "none",
|
|
@@ -318,9 +318,9 @@ var AllergyList = React3__namespace.forwardRef(
|
|
|
318
318
|
"data-testid": dataTestId,
|
|
319
319
|
...props,
|
|
320
320
|
children: [
|
|
321
|
-
title !== null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
321
|
+
title !== null && /* @__PURE__ */ jsxRuntime.jsx(chunkMJWFNV3L_cjs.CardHeader, { className: "border-border bg-muted/50 border-b px-4 py-3", children: /* @__PURE__ */ jsxRuntime.jsxs("h3", { className: "text-foreground flex items-center gap-2 text-sm font-semibold tracking-wide uppercase", children: [
|
|
322
322
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
323
|
-
|
|
323
|
+
chunkPAM5UUBL_cjs.AlertCircle,
|
|
324
324
|
{
|
|
325
325
|
size: 16,
|
|
326
326
|
className: "text-red-600 dark:text-red-400"
|
|
@@ -328,10 +328,10 @@ var AllergyList = React3__namespace.forwardRef(
|
|
|
328
328
|
),
|
|
329
329
|
title
|
|
330
330
|
] }) }),
|
|
331
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
331
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkMJWFNV3L_cjs.CardContent, { className: "space-y-5 px-4 py-4", children: [
|
|
332
332
|
empty ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-2", children: [
|
|
333
333
|
noKnownAllergies ? /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-foreground flex items-center gap-1.5 text-sm", children: [
|
|
334
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
334
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: "success", size: "sm", children: "\u2713" }),
|
|
335
335
|
"No known allergies (NKA)"
|
|
336
336
|
] }) : /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: "Allergy status not recorded." }),
|
|
337
337
|
!readOnly && onNoKnownAllergiesChange && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -367,7 +367,7 @@ var AllergyList = React3__namespace.forwardRef(
|
|
|
367
367
|
variant: "outline",
|
|
368
368
|
size: "sm",
|
|
369
369
|
onClick: onAdd,
|
|
370
|
-
leftIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
370
|
+
leftIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Plus, { size: 12 }),
|
|
371
371
|
className: "h-auto rounded-full px-2.5 py-1 text-xs",
|
|
372
372
|
children: "Add allergy\u2026"
|
|
373
373
|
}
|
|
@@ -448,7 +448,7 @@ function AllergyEditor({
|
|
|
448
448
|
}
|
|
449
449
|
),
|
|
450
450
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
451
|
-
|
|
451
|
+
chunkZBI52NP2_cjs.Select,
|
|
452
452
|
{
|
|
453
453
|
label: "Type",
|
|
454
454
|
options: TYPE_OPTIONS,
|
|
@@ -463,7 +463,7 @@ function AllergyEditor({
|
|
|
463
463
|
}
|
|
464
464
|
),
|
|
465
465
|
isDrug && codeLookup ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
466
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
466
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "alg-search", children: "Allergen" }),
|
|
467
467
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
468
468
|
codeLookup.component,
|
|
469
469
|
{
|
|
@@ -486,9 +486,9 @@ function AllergyEditor({
|
|
|
486
486
|
),
|
|
487
487
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-xs", children: draft.code ? `Coded: ${draft.code.system} ${draft.code.code}` : draft.allergen ? `Uncoded free text: "${draft.allergen}"` : "Pick a result to code the allergen, or press Enter for free text" })
|
|
488
488
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
489
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
489
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "alg-name", children: "Allergen" }),
|
|
490
490
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
491
|
-
|
|
491
|
+
chunk6ECKH4DJ_cjs.Input,
|
|
492
492
|
{
|
|
493
493
|
id: "alg-name",
|
|
494
494
|
value: draft.allergen,
|
|
@@ -497,9 +497,9 @@ function AllergyEditor({
|
|
|
497
497
|
)
|
|
498
498
|
] }),
|
|
499
499
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
500
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
500
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "alg-reaction", children: "Reaction" }),
|
|
501
501
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
502
|
-
|
|
502
|
+
chunk6ECKH4DJ_cjs.Input,
|
|
503
503
|
{
|
|
504
504
|
id: "alg-reaction",
|
|
505
505
|
value: draft.reaction ?? "",
|
|
@@ -524,9 +524,9 @@ function AllergyEditor({
|
|
|
524
524
|
}
|
|
525
525
|
),
|
|
526
526
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
527
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
527
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "alg-onset", children: "Onset date" }),
|
|
528
528
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
529
|
-
|
|
529
|
+
chunkOAHORW4N_cjs.DateInput,
|
|
530
530
|
{
|
|
531
531
|
id: "alg-onset",
|
|
532
532
|
value: draft.onsetDate ?? "",
|
|
@@ -535,7 +535,7 @@ function AllergyEditor({
|
|
|
535
535
|
)
|
|
536
536
|
] }),
|
|
537
537
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
538
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
538
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "alg-note", children: "Note" }),
|
|
539
539
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
540
540
|
chunkWUNWHOLA_cjs.Textarea,
|
|
541
541
|
{
|
|
@@ -678,7 +678,7 @@ function AllergyManager({
|
|
|
678
678
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkP2VTQ5AR_cjs.ModalBody, { className: "space-y-4", children: [
|
|
679
679
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: dialog.allergy.allergen }),
|
|
680
680
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
681
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
681
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "alg-note-dlg", children: "Note" }),
|
|
682
682
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
683
683
|
chunkWUNWHOLA_cjs.Textarea,
|
|
684
684
|
{
|
|
@@ -733,24 +733,24 @@ var DEFAULT_ACTIONS2 = [
|
|
|
733
733
|
"remove"
|
|
734
734
|
];
|
|
735
735
|
var ACTION_META2 = {
|
|
736
|
-
open: { label: "Open", icon:
|
|
737
|
-
correct: { label: "Correct", icon:
|
|
738
|
-
refill: { label: "Refill", icon:
|
|
739
|
-
"add-task": { label: "Add Task", icon:
|
|
740
|
-
note: { label: "Notes", icon:
|
|
741
|
-
remove: { label: "Remove", icon:
|
|
742
|
-
"move-up": { label: "Move Up", icon:
|
|
743
|
-
"move-down": { label: "Move Down", icon:
|
|
736
|
+
open: { label: "Open", icon: chunkPAM5UUBL_cjs.ExternalLink },
|
|
737
|
+
correct: { label: "Correct", icon: chunkPAM5UUBL_cjs.Pencil },
|
|
738
|
+
refill: { label: "Refill", icon: chunkPAM5UUBL_cjs.RefreshCw },
|
|
739
|
+
"add-task": { label: "Add Task", icon: chunkPAM5UUBL_cjs.CalendarCheck },
|
|
740
|
+
note: { label: "Notes", icon: chunkPAM5UUBL_cjs.StickyNote },
|
|
741
|
+
remove: { label: "Remove", icon: chunkPAM5UUBL_cjs.Ban },
|
|
742
|
+
"move-up": { label: "Move Up", icon: chunkPAM5UUBL_cjs.ChevronUp },
|
|
743
|
+
"move-down": { label: "Move Down", icon: chunkPAM5UUBL_cjs.ChevronDown }
|
|
744
744
|
};
|
|
745
745
|
var STATUS_BUTTON_META = [
|
|
746
|
-
{ status: "taking", label: "Taking", icon:
|
|
746
|
+
{ status: "taking", label: "Taking", icon: chunkPAM5UUBL_cjs.ThumbsUp },
|
|
747
747
|
{
|
|
748
748
|
status: "taking-noncompliant",
|
|
749
749
|
label: "Taking \u2013 Noncompliant",
|
|
750
|
-
icon:
|
|
750
|
+
icon: chunkPAM5UUBL_cjs.HandMetal
|
|
751
751
|
},
|
|
752
|
-
{ status: "not-taking", label: "Not Taking", icon:
|
|
753
|
-
{ status: "unknown", label: "Unknown", icon:
|
|
752
|
+
{ status: "not-taking", label: "Not Taking", icon: chunkPAM5UUBL_cjs.ThumbsDown },
|
|
753
|
+
{ status: "unknown", label: "Unknown", icon: chunkPAM5UUBL_cjs.HelpCircle }
|
|
754
754
|
];
|
|
755
755
|
function MedicationRow({
|
|
756
756
|
medication,
|
|
@@ -797,7 +797,7 @@ function MedicationRow({
|
|
|
797
797
|
),
|
|
798
798
|
children: [
|
|
799
799
|
drag.enabled ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
800
|
-
|
|
800
|
+
chunkPAM5UUBL_cjs.GripVertical,
|
|
801
801
|
{
|
|
802
802
|
size: 14,
|
|
803
803
|
"aria-hidden": true,
|
|
@@ -825,11 +825,11 @@ function MedicationRow({
|
|
|
825
825
|
] }),
|
|
826
826
|
(medication.note || medication.task) && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex w-full basis-full flex-col gap-0.5 pl-4", children: [
|
|
827
827
|
medication.note && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground flex items-center gap-1.5 text-xs", children: [
|
|
828
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
828
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.StickyNote, { size: 12 }),
|
|
829
829
|
medication.note
|
|
830
830
|
] }),
|
|
831
831
|
medication.task && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground flex items-center gap-1.5 text-xs", children: [
|
|
832
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
832
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.CalendarCheck, { size: 12 }),
|
|
833
833
|
"Task: ",
|
|
834
834
|
medication.task
|
|
835
835
|
] })
|
|
@@ -937,7 +937,7 @@ var MedicationList = React3__namespace.forwardRef(
|
|
|
937
937
|
[medications, onReorder, readOnly, setAnnouncement]
|
|
938
938
|
);
|
|
939
939
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
940
|
-
|
|
940
|
+
chunkMJWFNV3L_cjs.Card,
|
|
941
941
|
{
|
|
942
942
|
ref,
|
|
943
943
|
padding: "none",
|
|
@@ -945,8 +945,8 @@ var MedicationList = React3__namespace.forwardRef(
|
|
|
945
945
|
"data-testid": dataTestId,
|
|
946
946
|
...props,
|
|
947
947
|
children: [
|
|
948
|
-
title !== null && /* @__PURE__ */ jsxRuntime.jsx(
|
|
949
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
948
|
+
title !== null && /* @__PURE__ */ jsxRuntime.jsx(chunkMJWFNV3L_cjs.CardHeader, { className: "border-border bg-muted/50 border-b px-4 py-3", children: /* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-foreground text-sm font-semibold tracking-wide uppercase", children: title }) }),
|
|
949
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkMJWFNV3L_cjs.CardContent, { className: "space-y-6 px-4 py-4", children: [
|
|
950
950
|
groups.map(({ status, label, items }) => /* @__PURE__ */ jsxRuntime.jsxs("section", { "aria-label": label, children: [
|
|
951
951
|
/* @__PURE__ */ jsxRuntime.jsx("h4", { className: "border-border text-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase", children: label }),
|
|
952
952
|
items.length > 0 ? /* @__PURE__ */ jsxRuntime.jsx("ul", { className: "mt-1", children: items.map((medication) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -962,7 +962,7 @@ var MedicationList = React3__namespace.forwardRef(
|
|
|
962
962
|
},
|
|
963
963
|
medication.id
|
|
964
964
|
)) }) : medications.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mt-2 text-sm", children: emptyMessage }) : /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-muted-foreground mt-2 flex items-center gap-1.5 text-sm", children: [
|
|
965
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
965
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: "success", size: "sm", children: "\u2713" }),
|
|
966
966
|
reconciledMessage
|
|
967
967
|
] })
|
|
968
968
|
] }, status)),
|
|
@@ -976,7 +976,7 @@ var MedicationList = React3__namespace.forwardRef(
|
|
|
976
976
|
variant: "ghost",
|
|
977
977
|
size: "sm",
|
|
978
978
|
onClick: () => onQuickAdd?.(name),
|
|
979
|
-
leftIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
979
|
+
leftIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Plus, { size: 12 }),
|
|
980
980
|
className: "border-border h-auto rounded-full border px-2.5 py-1 text-xs",
|
|
981
981
|
children: name
|
|
982
982
|
},
|
|
@@ -988,7 +988,7 @@ var MedicationList = React3__namespace.forwardRef(
|
|
|
988
988
|
variant: "outline",
|
|
989
989
|
size: "sm",
|
|
990
990
|
onClick: onAddOther,
|
|
991
|
-
leftIcon: /* @__PURE__ */ jsxRuntime.jsx(
|
|
991
|
+
leftIcon: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Plus, { size: 12 }),
|
|
992
992
|
className: "h-auto rounded-full px-2.5 py-1 text-xs",
|
|
993
993
|
children: "Other\u2026"
|
|
994
994
|
}
|
|
@@ -1154,7 +1154,7 @@ function MedicationEditor({
|
|
|
1154
1154
|
/* @__PURE__ */ jsxRuntime.jsx(chunkP2VTQ5AR_cjs.ModalBody, { className: "space-y-5", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: bodyRef, className: "contents", children: [
|
|
1155
1155
|
/* @__PURE__ */ jsxRuntime.jsxs("section", { className: "space-y-3", "aria-label": "Medication", children: [
|
|
1156
1156
|
effectiveCodeLookup ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1157
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1157
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-search", children: "Medication" }),
|
|
1158
1158
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1159
1159
|
effectiveCodeLookup.component,
|
|
1160
1160
|
{
|
|
@@ -1172,9 +1172,9 @@ function MedicationEditor({
|
|
|
1172
1172
|
),
|
|
1173
1173
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-xs", children: draft.code ? `Coded: ${draft.code.system} ${draft.code.code}` : draft.name ? `Uncoded free text: "${draft.name}" \u2014 pick a result to code it` : "Pick a result to code the medication, or press Enter for free text" })
|
|
1174
1174
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1175
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1175
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-name", children: "Medication" }),
|
|
1176
1176
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1177
|
-
|
|
1177
|
+
chunk6ECKH4DJ_cjs.Input,
|
|
1178
1178
|
{
|
|
1179
1179
|
id: "med-name",
|
|
1180
1180
|
value: draft.name,
|
|
@@ -1184,9 +1184,9 @@ function MedicationEditor({
|
|
|
1184
1184
|
] }),
|
|
1185
1185
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-3", children: [
|
|
1186
1186
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1187
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1187
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-strength", children: "Strength" }),
|
|
1188
1188
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1189
|
-
|
|
1189
|
+
chunk6ECKH4DJ_cjs.Input,
|
|
1190
1190
|
{
|
|
1191
1191
|
id: "med-strength",
|
|
1192
1192
|
value: draft.strength ?? "",
|
|
@@ -1195,9 +1195,9 @@ function MedicationEditor({
|
|
|
1195
1195
|
)
|
|
1196
1196
|
] }),
|
|
1197
1197
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1198
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1198
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-form", children: "Dose form" }),
|
|
1199
1199
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1200
|
-
|
|
1200
|
+
chunk6ECKH4DJ_cjs.Input,
|
|
1201
1201
|
{
|
|
1202
1202
|
id: "med-form",
|
|
1203
1203
|
value: draft.doseForm ?? "",
|
|
@@ -1218,12 +1218,12 @@ function MedicationEditor({
|
|
|
1218
1218
|
/* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-muted-foreground text-xs font-semibold tracking-wide uppercase", children: "Dispensing" }),
|
|
1219
1219
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-3 gap-3", children: [
|
|
1220
1220
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1221
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
1221
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-qty", children: [
|
|
1222
1222
|
"Quantity",
|
|
1223
1223
|
draft.quantityUnit ? ` (${draft.quantityUnit}s)` : ""
|
|
1224
1224
|
] }),
|
|
1225
1225
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1226
|
-
|
|
1226
|
+
chunk6ECKH4DJ_cjs.Input,
|
|
1227
1227
|
{
|
|
1228
1228
|
id: "med-qty",
|
|
1229
1229
|
inputMode: "decimal",
|
|
@@ -1233,9 +1233,9 @@ function MedicationEditor({
|
|
|
1233
1233
|
)
|
|
1234
1234
|
] }),
|
|
1235
1235
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1236
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1236
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-days", children: "Days supply" }),
|
|
1237
1237
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1238
|
-
|
|
1238
|
+
chunk6ECKH4DJ_cjs.Input,
|
|
1239
1239
|
{
|
|
1240
1240
|
id: "med-days",
|
|
1241
1241
|
inputMode: "numeric",
|
|
@@ -1245,9 +1245,9 @@ function MedicationEditor({
|
|
|
1245
1245
|
)
|
|
1246
1246
|
] }),
|
|
1247
1247
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1248
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1248
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-refills", children: "Refills" }),
|
|
1249
1249
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1250
|
-
|
|
1250
|
+
chunk6ECKH4DJ_cjs.Input,
|
|
1251
1251
|
{
|
|
1252
1252
|
id: "med-refills",
|
|
1253
1253
|
inputMode: "numeric",
|
|
@@ -1276,7 +1276,7 @@ function MedicationEditor({
|
|
|
1276
1276
|
/* @__PURE__ */ jsxRuntime.jsxs("section", { className: "space-y-3", "aria-label": "Directions", children: [
|
|
1277
1277
|
/* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-muted-foreground text-xs font-semibold tracking-wide uppercase", children: "Directions" }),
|
|
1278
1278
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1279
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1279
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-sig", children: "Sig (patient directions)" }),
|
|
1280
1280
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1281
1281
|
chunkWUNWHOLA_cjs.Textarea,
|
|
1282
1282
|
{
|
|
@@ -1301,9 +1301,9 @@ function MedicationEditor({
|
|
|
1301
1301
|
/* @__PURE__ */ jsxRuntime.jsx("h4", { className: "text-muted-foreground text-xs font-semibold tracking-wide uppercase", children: "Dates & context" }),
|
|
1302
1302
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-2 gap-3", children: [
|
|
1303
1303
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1304
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1304
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-start", children: "Start date" }),
|
|
1305
1305
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1306
|
-
|
|
1306
|
+
chunkOAHORW4N_cjs.DateInput,
|
|
1307
1307
|
{
|
|
1308
1308
|
id: "med-start",
|
|
1309
1309
|
value: draft.startDate ?? "",
|
|
@@ -1312,9 +1312,9 @@ function MedicationEditor({
|
|
|
1312
1312
|
)
|
|
1313
1313
|
] }),
|
|
1314
1314
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1315
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1315
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-end", children: "End date" }),
|
|
1316
1316
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1317
|
-
|
|
1317
|
+
chunkOAHORW4N_cjs.DateInput,
|
|
1318
1318
|
{
|
|
1319
1319
|
id: "med-end",
|
|
1320
1320
|
value: draft.endDate ?? "",
|
|
@@ -1324,9 +1324,9 @@ function MedicationEditor({
|
|
|
1324
1324
|
] })
|
|
1325
1325
|
] }),
|
|
1326
1326
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1327
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1327
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-indication", children: "Indication" }),
|
|
1328
1328
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1329
|
-
|
|
1329
|
+
chunk6ECKH4DJ_cjs.Input,
|
|
1330
1330
|
{
|
|
1331
1331
|
id: "med-indication",
|
|
1332
1332
|
value: draft.indication ?? "",
|
|
@@ -1335,7 +1335,7 @@ function MedicationEditor({
|
|
|
1335
1335
|
)
|
|
1336
1336
|
] }),
|
|
1337
1337
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1338
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1338
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-pharmacy-notes", children: "Pharmacy notes" }),
|
|
1339
1339
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1340
1340
|
chunkWUNWHOLA_cjs.Textarea,
|
|
1341
1341
|
{
|
|
@@ -1394,7 +1394,7 @@ function MedicationDialog({
|
|
|
1394
1394
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkP2VTQ5AR_cjs.ModalBody, { className: "space-y-4", children: [
|
|
1395
1395
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: dialog.medication.name }),
|
|
1396
1396
|
dialog.kind === "note" ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1397
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1397
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-note", children: "Note" }),
|
|
1398
1398
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1399
1399
|
chunkWUNWHOLA_cjs.Textarea,
|
|
1400
1400
|
{
|
|
@@ -1405,7 +1405,7 @@ function MedicationDialog({
|
|
|
1405
1405
|
}
|
|
1406
1406
|
)
|
|
1407
1407
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1.5", children: [
|
|
1408
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1408
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkAIJAFPGJ_cjs.Label, { htmlFor: "med-task", children: "Task" }),
|
|
1409
1409
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1410
1410
|
chunkWUNWHOLA_cjs.Textarea,
|
|
1411
1411
|
{
|
|
@@ -1602,5 +1602,5 @@ exports.parseMedicationLabel = parseMedicationLabel;
|
|
|
1602
1602
|
exports.parseSig = parseSig;
|
|
1603
1603
|
exports.toolbarKeyNav = toolbarKeyNav;
|
|
1604
1604
|
exports.useCodeLookupConfig = useCodeLookupConfig;
|
|
1605
|
-
//# sourceMappingURL=chunk-
|
|
1606
|
-
//# sourceMappingURL=chunk-
|
|
1605
|
+
//# sourceMappingURL=chunk-VWCMOWGH.cjs.map
|
|
1606
|
+
//# sourceMappingURL=chunk-VWCMOWGH.cjs.map
|