@mieweb/ui 0.8.0-dev.11 → 0.8.0-dev.13
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/{chunk-FTDNNKHE.cjs → chunk-2IFADPHW.cjs} +20 -4
- package/dist/chunk-2IFADPHW.cjs.map +1 -0
- package/dist/{chunk-VA3WQ5KJ.cjs → chunk-FYAKUU2A.cjs} +37 -20
- package/dist/chunk-FYAKUU2A.cjs.map +1 -0
- package/dist/{chunk-RVGTI4F6.js → chunk-LAEIVOIY.js} +37 -20
- package/dist/chunk-LAEIVOIY.js.map +1 -0
- package/dist/{chunk-LCCJIEPO.js → chunk-TUEWVGM4.js} +20 -4
- package/dist/chunk-TUEWVGM4.js.map +1 -0
- package/dist/components/TranscriptView/index.cjs +3 -3
- package/dist/components/TranscriptView/index.js +1 -1
- package/dist/esheet.cjs +4 -4
- package/dist/esheet.js +1 -1
- package/dist/index.cjs +66 -37
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +35 -6
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +2 -1
- package/dist/chunk-FTDNNKHE.cjs.map +0 -1
- package/dist/chunk-LCCJIEPO.js.map +0 -1
- package/dist/chunk-RVGTI4F6.js.map +0 -1
- package/dist/chunk-VA3WQ5KJ.cjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -15,7 +15,7 @@ import { Text } from './chunk-3YSIZ2CK.js';
|
|
|
15
15
|
export { SmallMuted, Text, textVariants } from './chunk-3YSIZ2CK.js';
|
|
16
16
|
export { ThemeProvider, ThemeProviderContext, ThemeToggle, themeToggleIconVariants, themeToggleVariants, useThemeContext } from './chunk-SH6B4MG5.js';
|
|
17
17
|
export { Toggle, toggleVariants } from './chunk-PTZB2GKL.js';
|
|
18
|
-
export { TranscriptView, formatTimestampMs } from './chunk-
|
|
18
|
+
export { TranscriptView, formatTimestampMs } from './chunk-LAEIVOIY.js';
|
|
19
19
|
export { VisuallyHidden } from './chunk-H2CIKJQI.js';
|
|
20
20
|
export { SourceTip } from './chunk-KFEN2SRZ.js';
|
|
21
21
|
export { Sparkline } from './chunk-CG4ZKJLE.js';
|
|
@@ -89,8 +89,8 @@ import { Avatar } from './chunk-HZ4MBUC3.js';
|
|
|
89
89
|
export { Avatar, AvatarGroup, avatarVariants, getInitials } from './chunk-HZ4MBUC3.js';
|
|
90
90
|
import { evaluateDue, completedKeys, normalizeOrders } from './chunk-Y5KEFV5O.js';
|
|
91
91
|
export { buildChartOrderRows, buildEncounterOrderRows, dueForOrder, evaluateDue, evaluateProgram, isApplicable } from './chunk-Y5KEFV5O.js';
|
|
92
|
-
import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-
|
|
93
|
-
export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-
|
|
92
|
+
import { useCodeLookupConfig, RowActionToolbar, RowIconButton, toolbarKeyNav, parseSig, labelToMedicationFields, MedicationEditor } from './chunk-TUEWVGM4.js';
|
|
93
|
+
export { ALLERGY_TYPE_LABELS, AllergyList, AllergyManager, CodeLookupProvider, MEDICATION_STATUS_LABELS, MedicationEditor, MedicationList, MedicationReconciliation, RowActionToolbar, RowIconButton, labelToMedicationFields, lookupToMedicationFields, parseMedicationLabel, parseSig, toolbarKeyNav, useCodeLookupConfig } from './chunk-TUEWVGM4.js';
|
|
94
94
|
import { Textarea } from './chunk-H3YO5GBM.js';
|
|
95
95
|
export { Textarea, textareaVariants } from './chunk-H3YO5GBM.js';
|
|
96
96
|
import { Tooltip } from './chunk-FJ7YPVKV.js';
|
|
@@ -7954,6 +7954,7 @@ function ConcernRow({
|
|
|
7954
7954
|
/* @__PURE__ */ jsxs(
|
|
7955
7955
|
"li",
|
|
7956
7956
|
{
|
|
7957
|
+
"data-slot": "clinical-list-row",
|
|
7957
7958
|
"data-concern-id": concern.concernId,
|
|
7958
7959
|
tabIndex: 0,
|
|
7959
7960
|
onKeyDown: handleRowKeyDown,
|
|
@@ -8133,7 +8134,14 @@ var ProblemList = React13.forwardRef(
|
|
|
8133
8134
|
title !== null && /* @__PURE__ */ jsx(CardHeader, { className: "border-border bg-muted/50 border-b px-4 py-3", children: /* @__PURE__ */ jsx("h3", { className: "text-foreground text-sm font-semibold tracking-wide uppercase", children: title }) }),
|
|
8134
8135
|
/* @__PURE__ */ jsxs(CardContent, { className: "space-y-6 px-4 py-4", children: [
|
|
8135
8136
|
groups.map(({ key, label, items }) => /* @__PURE__ */ jsxs("section", { "aria-label": label, children: [
|
|
8136
|
-
/* @__PURE__ */ jsx(
|
|
8137
|
+
/* @__PURE__ */ jsx(
|
|
8138
|
+
"h4",
|
|
8139
|
+
{
|
|
8140
|
+
"data-slot": "clinical-list-heading",
|
|
8141
|
+
className: "border-border text-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase",
|
|
8142
|
+
children: label
|
|
8143
|
+
}
|
|
8144
|
+
),
|
|
8137
8145
|
items.length > 0 ? /* @__PURE__ */ jsx("ul", { className: "mt-1", children: items.map((concern) => /* @__PURE__ */ jsx(
|
|
8138
8146
|
ConcernRow,
|
|
8139
8147
|
{
|
|
@@ -8152,6 +8160,7 @@ var ProblemList = React13.forwardRef(
|
|
|
8152
8160
|
"input",
|
|
8153
8161
|
{
|
|
8154
8162
|
type: "text",
|
|
8163
|
+
"data-slot": "input",
|
|
8155
8164
|
value: draft,
|
|
8156
8165
|
onChange: (e) => setDraft(e.target.value),
|
|
8157
8166
|
onKeyDown: (e) => {
|
|
@@ -8571,6 +8580,7 @@ function AddOrderForm({
|
|
|
8571
8580
|
"select",
|
|
8572
8581
|
{
|
|
8573
8582
|
"aria-label": "Order type filter",
|
|
8583
|
+
"data-slot": "select-trigger",
|
|
8574
8584
|
value: type,
|
|
8575
8585
|
onChange: (e) => setType(e.target.value),
|
|
8576
8586
|
onKeyDown: (e) => {
|
|
@@ -8605,6 +8615,7 @@ function AddOrderForm({
|
|
|
8605
8615
|
{
|
|
8606
8616
|
ref: inputRef,
|
|
8607
8617
|
type: "text",
|
|
8618
|
+
"data-slot": "input",
|
|
8608
8619
|
value: display,
|
|
8609
8620
|
onChange: (e) => setDisplay(e.target.value),
|
|
8610
8621
|
onKeyDown: (e) => {
|
|
@@ -8898,6 +8909,7 @@ var Assessment = React13.forwardRef(
|
|
|
8898
8909
|
return /* @__PURE__ */ jsxs(
|
|
8899
8910
|
"li",
|
|
8900
8911
|
{
|
|
8912
|
+
"data-slot": "assessment-problem",
|
|
8901
8913
|
"data-concern-id": item.concernId,
|
|
8902
8914
|
...bp,
|
|
8903
8915
|
draggable: drag.enabled && !formOpen,
|
|
@@ -9011,6 +9023,7 @@ var Assessment = React13.forwardRef(
|
|
|
9011
9023
|
"select",
|
|
9012
9024
|
{
|
|
9013
9025
|
"aria-label": "What to add",
|
|
9026
|
+
"data-slot": "select-trigger",
|
|
9014
9027
|
value: addMode,
|
|
9015
9028
|
onChange: (e) => {
|
|
9016
9029
|
setAddMode(e.target.value);
|
|
@@ -31466,6 +31479,7 @@ var PresentingProblems = React13.forwardRef(
|
|
|
31466
31479
|
/* @__PURE__ */ jsxs(
|
|
31467
31480
|
"li",
|
|
31468
31481
|
{
|
|
31482
|
+
"data-slot": "clinical-list-row",
|
|
31469
31483
|
"data-concern-id": concern.concernId,
|
|
31470
31484
|
tabIndex: draggable ? 0 : void 0,
|
|
31471
31485
|
onKeyDown: draggable ? handleRowKeyDown : void 0,
|
|
@@ -31546,11 +31560,25 @@ var PresentingProblems = React13.forwardRef(
|
|
|
31546
31560
|
}
|
|
31547
31561
|
),
|
|
31548
31562
|
/* @__PURE__ */ jsxs("section", { "aria-label": "Relevant this visit", children: [
|
|
31549
|
-
/* @__PURE__ */ jsx(
|
|
31563
|
+
/* @__PURE__ */ jsx(
|
|
31564
|
+
"h4",
|
|
31565
|
+
{
|
|
31566
|
+
"data-slot": "clinical-list-heading",
|
|
31567
|
+
className: "border-border text-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase",
|
|
31568
|
+
children: "Relevant this visit"
|
|
31569
|
+
}
|
|
31570
|
+
),
|
|
31550
31571
|
selected.length > 0 ? /* @__PURE__ */ jsx("ul", { className: "mt-1", children: selected.map((c) => renderRow(c, false)) }) : /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-2 text-sm", children: "No problems selected yet." })
|
|
31551
31572
|
] }),
|
|
31552
31573
|
unselected.length > 0 && /* @__PURE__ */ jsxs("section", { "aria-label": "Patient problem list", children: [
|
|
31553
|
-
/* @__PURE__ */ jsx(
|
|
31574
|
+
/* @__PURE__ */ jsx(
|
|
31575
|
+
"h4",
|
|
31576
|
+
{
|
|
31577
|
+
"data-slot": "clinical-list-heading",
|
|
31578
|
+
className: "border-border text-muted-foreground border-b pb-1 text-sm font-semibold tracking-wide uppercase",
|
|
31579
|
+
children: "From patient problem list"
|
|
31580
|
+
}
|
|
31581
|
+
),
|
|
31554
31582
|
/* @__PURE__ */ jsx("ul", { className: "mt-1", children: unselected.map((c) => renderRow(c, true)) })
|
|
31555
31583
|
] }),
|
|
31556
31584
|
!readOnly && onAddProblem && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1.5", children: [
|
|
@@ -31558,6 +31586,7 @@ var PresentingProblems = React13.forwardRef(
|
|
|
31558
31586
|
"input",
|
|
31559
31587
|
{
|
|
31560
31588
|
type: "text",
|
|
31589
|
+
"data-slot": "input",
|
|
31561
31590
|
value: draft,
|
|
31562
31591
|
onChange: (e) => setDraft(e.target.value),
|
|
31563
31592
|
onKeyDown: (e) => {
|