@mieweb/ui 0.8.0-dev.6 → 0.8.0-dev.7
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-NANEYSXP.cjs → chunk-4GCF2ITV.cjs} +14 -2
- package/dist/chunk-4GCF2ITV.cjs.map +1 -0
- package/dist/{chunk-2AB4PQYL.js → chunk-7L4SY5YY.js} +4 -4
- package/dist/{chunk-2AB4PQYL.js.map → chunk-7L4SY5YY.js.map} +1 -1
- package/dist/{chunk-F2S6NV5N.js → chunk-CQFDS7XJ.js} +5 -5
- package/dist/{chunk-F2S6NV5N.js.map → chunk-CQFDS7XJ.js.map} +1 -1
- package/dist/{chunk-6YSMEEJC.js → chunk-IGLVKTXA.js} +14 -2
- package/dist/chunk-IGLVKTXA.js.map +1 -0
- package/dist/{chunk-2PEVRI26.cjs → chunk-XK424JFB.cjs} +8 -8
- package/dist/{chunk-2PEVRI26.cjs.map → chunk-XK424JFB.cjs.map} +1 -1
- package/dist/{chunk-YRLCR76L.cjs → chunk-ZPZAZQW4.cjs} +4 -4
- package/dist/{chunk-YRLCR76L.cjs.map → chunk-ZPZAZQW4.cjs.map} +1 -1
- package/dist/components/DateInput/index.cjs +2 -2
- package/dist/components/DateInput/index.js +1 -1
- package/dist/esheet.cjs +5 -5
- package/dist/esheet.js +2 -2
- package/dist/index.cjs +99 -99
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +62 -62
- 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/package.json +1 -1
- package/dist/chunk-6YSMEEJC.js.map +0 -1
- package/dist/chunk-NANEYSXP.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -64,7 +64,7 @@ var chunk7AECNMYV_cjs = require('./chunk-7AECNMYV.cjs');
|
|
|
64
64
|
var chunkN5O47VGS_cjs = require('./chunk-N5O47VGS.cjs');
|
|
65
65
|
var chunkX4LBUPJO_cjs = require('./chunk-X4LBUPJO.cjs');
|
|
66
66
|
var chunkIUDY6S7I_cjs = require('./chunk-IUDY6S7I.cjs');
|
|
67
|
-
var
|
|
67
|
+
var chunk4GCF2ITV_cjs = require('./chunk-4GCF2ITV.cjs');
|
|
68
68
|
var chunkHK3AMH3Q_cjs = require('./chunk-HK3AMH3Q.cjs');
|
|
69
69
|
var chunkEPQPUFS6_cjs = require('./chunk-EPQPUFS6.cjs');
|
|
70
70
|
var chunkTVLZZI5Q_cjs = require('./chunk-TVLZZI5Q.cjs');
|
|
@@ -73,13 +73,13 @@ var chunkW4Q4UEXA_cjs = require('./chunk-W4Q4UEXA.cjs');
|
|
|
73
73
|
var chunk2SSAAE3I_cjs = require('./chunk-2SSAAE3I.cjs');
|
|
74
74
|
var chunkU3JU6BI5_cjs = require('./chunk-U3JU6BI5.cjs');
|
|
75
75
|
var chunkRI56YPED_cjs = require('./chunk-RI56YPED.cjs');
|
|
76
|
-
var
|
|
76
|
+
var chunkXK424JFB_cjs = require('./chunk-XK424JFB.cjs');
|
|
77
77
|
var chunkBSDBI6H7_cjs = require('./chunk-BSDBI6H7.cjs');
|
|
78
78
|
var chunkWWJIW2IH_cjs = require('./chunk-WWJIW2IH.cjs');
|
|
79
79
|
var chunkG7EQ3JPX_cjs = require('./chunk-G7EQ3JPX.cjs');
|
|
80
80
|
var chunkAIJAFPGJ_cjs = require('./chunk-AIJAFPGJ.cjs');
|
|
81
81
|
var chunkK5GQPTTA_cjs = require('./chunk-K5GQPTTA.cjs');
|
|
82
|
-
var
|
|
82
|
+
var chunkZPZAZQW4_cjs = require('./chunk-ZPZAZQW4.cjs');
|
|
83
83
|
var chunkMJWFNV3L_cjs = require('./chunk-MJWFNV3L.cjs');
|
|
84
84
|
var chunkP2VTQ5AR_cjs = require('./chunk-P2VTQ5AR.cjs');
|
|
85
85
|
require('./chunk-I44YNYI6.cjs');
|
|
@@ -7828,7 +7828,7 @@ function AssertionTimeline({ concern }) {
|
|
|
7828
7828
|
"ol",
|
|
7829
7829
|
{
|
|
7830
7830
|
"aria-label": "Assertion history",
|
|
7831
|
-
className: "border-border
|
|
7831
|
+
className: "border-border ms-1.5 mt-2 space-y-2 border-s ps-4",
|
|
7832
7832
|
children: items.map((a) => {
|
|
7833
7833
|
const refuted = a.verificationStatus === "refuted" || a.verificationStatus === "entered-in-error";
|
|
7834
7834
|
const verification = VERIFICATION_BADGE[a.verificationStatus];
|
|
@@ -7837,7 +7837,7 @@ function AssertionTimeline({ concern }) {
|
|
|
7837
7837
|
"span",
|
|
7838
7838
|
{
|
|
7839
7839
|
"aria-hidden": true,
|
|
7840
|
-
className: "bg-border absolute top-1.5
|
|
7840
|
+
className: "bg-border absolute -start-5 top-1.5 h-2 w-2 rounded-full"
|
|
7841
7841
|
}
|
|
7842
7842
|
),
|
|
7843
7843
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex flex-wrap items-center gap-x-2 gap-y-1", children: [
|
|
@@ -7939,7 +7939,7 @@ function ConcernRow({
|
|
|
7939
7939
|
),
|
|
7940
7940
|
/* @__PURE__ */ jsxRuntime.jsx(UncertaintyBadge, { uncertainty: current.uncertainty }),
|
|
7941
7941
|
concern.relationships?.map((r) => /* @__PURE__ */ jsxRuntime.jsxs(chunkYVL3XATO_cjs.Badge, { variant: "outline", size: "sm", children: [
|
|
7942
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Link, { size: 10, className: "
|
|
7942
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Link, { size: 10, className: "me-1" }),
|
|
7943
7943
|
r.type.replace(/-/g, " "),
|
|
7944
7944
|
r.display ? `: ${r.display}` : ""
|
|
7945
7945
|
] }, `${r.type}:${r.concernId}`)),
|
|
@@ -7959,8 +7959,8 @@ function ConcernRow({
|
|
|
7959
7959
|
]
|
|
7960
7960
|
}
|
|
7961
7961
|
),
|
|
7962
|
-
!readOnly && /* @__PURE__ */ jsxRuntime.jsx(
|
|
7963
|
-
|
|
7962
|
+
!readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunkXK424JFB_cjs.RowActionToolbar, { label: `Actions for ${current.text}`, align: "top", children: visibleActions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
7963
|
+
chunkXK424JFB_cjs.RowIconButton,
|
|
7964
7964
|
{
|
|
7965
7965
|
label: ACTION_META[action].label,
|
|
7966
7966
|
icon: ACTION_META[action].icon,
|
|
@@ -7971,7 +7971,7 @@ function ConcernRow({
|
|
|
7971
7971
|
] }),
|
|
7972
7972
|
expanded && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
7973
7973
|
/* @__PURE__ */ jsxRuntime.jsx(AssertionTimeline, { concern }),
|
|
7974
|
-
concern.observations && concern.observations.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
7974
|
+
concern.observations && concern.observations.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ms-1.5 mt-2 ps-4", children: [
|
|
7975
7975
|
/* @__PURE__ */ jsxRuntime.jsx("h5", { className: "text-muted-foreground text-xs font-semibold tracking-wide uppercase", children: "Observations" }),
|
|
7976
7976
|
/* @__PURE__ */ jsxRuntime.jsx("ol", { "aria-label": "Observations", className: "mt-1 space-y-1", children: [...concern.observations].reverse().map((o) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "flex flex-wrap gap-x-2 text-sm", children: [
|
|
7977
7977
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-xs tabular-nums", children: o.date }),
|
|
@@ -8389,13 +8389,13 @@ function OrderRow({
|
|
|
8389
8389
|
) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
8390
8390
|
/* @__PURE__ */ jsxRuntime.jsx(OrderContent, { order }),
|
|
8391
8391
|
interactive && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8392
|
-
|
|
8392
|
+
chunkXK424JFB_cjs.RowActionToolbar,
|
|
8393
8393
|
{
|
|
8394
8394
|
label: `Actions for ${order.display}`,
|
|
8395
8395
|
group: "order",
|
|
8396
8396
|
children: [
|
|
8397
8397
|
canEdit && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8398
|
-
|
|
8398
|
+
chunkXK424JFB_cjs.RowIconButton,
|
|
8399
8399
|
{
|
|
8400
8400
|
label: "Edit",
|
|
8401
8401
|
icon: chunkPAM5UUBL_cjs.Pencil,
|
|
@@ -8463,7 +8463,7 @@ function OrderRow({
|
|
|
8463
8463
|
}
|
|
8464
8464
|
),
|
|
8465
8465
|
controls?.remove && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8466
|
-
|
|
8466
|
+
chunkXK424JFB_cjs.RowIconButton,
|
|
8467
8467
|
{
|
|
8468
8468
|
label: "Remove",
|
|
8469
8469
|
icon: chunkPAM5UUBL_cjs.Trash2,
|
|
@@ -8517,7 +8517,7 @@ function AddOrderForm({
|
|
|
8517
8517
|
{
|
|
8518
8518
|
role: "form",
|
|
8519
8519
|
"aria-label": `Add order for ${problemText}`,
|
|
8520
|
-
className: "border-border bg-muted/40
|
|
8520
|
+
className: "border-border bg-muted/40 ms-2.5 mt-1.5 flex flex-wrap items-center gap-1.5 rounded-md border border-dashed p-2",
|
|
8521
8521
|
children: [
|
|
8522
8522
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
8523
8523
|
"select",
|
|
@@ -8632,7 +8632,7 @@ var Assessment = React13__namespace.forwardRef(
|
|
|
8632
8632
|
null
|
|
8633
8633
|
);
|
|
8634
8634
|
const [announcement, setAnnouncement] = chunkYVPC65ZJ_cjs.useLiveAnnouncement();
|
|
8635
|
-
const ambientCodeLookup =
|
|
8635
|
+
const ambientCodeLookup = chunkXK424JFB_cjs.useCodeLookupConfig();
|
|
8636
8636
|
const effectiveRenderOrderSearch = renderOrderSearch === false ? void 0 : renderOrderSearch ?? (ambientCodeLookup ? contextOrderSearch(ambientCodeLookup) : void 0);
|
|
8637
8637
|
const concernById = React13__namespace.useMemo(
|
|
8638
8638
|
() => new Map(concerns.map((c) => [c.concernId, c])),
|
|
@@ -8887,7 +8887,7 @@ var Assessment = React13__namespace.forwardRef(
|
|
|
8887
8887
|
assertion.verificationStatus !== "confirmed" && /* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: "warning", size: "sm", children: assertion.verificationStatus }),
|
|
8888
8888
|
/* @__PURE__ */ jsxRuntime.jsx(CodingChips, { coding: assertion.coding }),
|
|
8889
8889
|
!readOnly && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8890
|
-
|
|
8890
|
+
chunkXK424JFB_cjs.RowActionToolbar,
|
|
8891
8891
|
{
|
|
8892
8892
|
label: `Actions for ${assertion.text}`,
|
|
8893
8893
|
align: "top",
|
|
@@ -8897,7 +8897,7 @@ var Assessment = React13__namespace.forwardRef(
|
|
|
8897
8897
|
if (action === "add-order" && !onAddOrder && !onAction)
|
|
8898
8898
|
return null;
|
|
8899
8899
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8900
|
-
|
|
8900
|
+
chunkXK424JFB_cjs.RowIconButton,
|
|
8901
8901
|
{
|
|
8902
8902
|
label: meta.label,
|
|
8903
8903
|
icon: meta.icon,
|
|
@@ -8921,12 +8921,12 @@ var Assessment = React13__namespace.forwardRef(
|
|
|
8921
8921
|
]
|
|
8922
8922
|
}
|
|
8923
8923
|
),
|
|
8924
|
-
item.note && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mt-1
|
|
8924
|
+
item.note && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mt-1 ps-6 text-sm", children: item.note }),
|
|
8925
8925
|
showPlan && linkedOrders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8926
8926
|
"ul",
|
|
8927
8927
|
{
|
|
8928
8928
|
"aria-label": `Plan for ${assertion.text}`,
|
|
8929
|
-
className: "border-border
|
|
8929
|
+
className: "border-border ms-2.5 mt-1.5 border-s ps-4",
|
|
8930
8930
|
children: linkedOrders.map((order) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
8931
8931
|
OrderRow,
|
|
8932
8932
|
{
|
|
@@ -9032,7 +9032,7 @@ var Assessment = React13__namespace.forwardRef(
|
|
|
9032
9032
|
{
|
|
9033
9033
|
role: "group",
|
|
9034
9034
|
"aria-label": `Add "${pendingFreeText}" as`,
|
|
9035
|
-
className: "flex w-full flex-wrap items-center gap-1.5
|
|
9035
|
+
className: "flex w-full flex-wrap items-center gap-1.5 ps-1",
|
|
9036
9036
|
children: [
|
|
9037
9037
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground text-sm", children: [
|
|
9038
9038
|
"Add",
|
|
@@ -10043,7 +10043,7 @@ function FloatingInput({
|
|
|
10043
10043
|
htmlFor: inputId,
|
|
10044
10044
|
"data-slot": "floating-input-label",
|
|
10045
10045
|
className: chunkS5RVSXDV_cjs.cn(
|
|
10046
|
-
"text-muted-foreground absolute
|
|
10046
|
+
"text-muted-foreground absolute start-4 top-4 origin-left transform transition-all duration-200 rtl:origin-right",
|
|
10047
10047
|
"peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100",
|
|
10048
10048
|
"peer-focus:-translate-y-2 peer-focus:scale-75",
|
|
10049
10049
|
"peer-[:not(:placeholder-shown)]:-translate-y-2 peer-[:not(:placeholder-shown)]:scale-75",
|
|
@@ -10104,7 +10104,7 @@ function ServiceSelect({
|
|
|
10104
10104
|
onClick: () => setIsOpen(!isOpen),
|
|
10105
10105
|
"data-slot": "service-select-trigger",
|
|
10106
10106
|
className: chunkS5RVSXDV_cjs.cn(
|
|
10107
|
-
"w-full rounded-lg border px-4 py-3 text-
|
|
10107
|
+
"w-full rounded-lg border px-4 py-3 text-start transition-colors",
|
|
10108
10108
|
"bg-background",
|
|
10109
10109
|
"focus:ring-2 focus:outline-none",
|
|
10110
10110
|
error ? "border-destructive focus:ring-destructive/20" : "border-input focus:border-primary-500 focus:ring-primary-500/20"
|
|
@@ -10123,7 +10123,7 @@ function ServiceSelect({
|
|
|
10123
10123
|
ChevronDownIcon,
|
|
10124
10124
|
{
|
|
10125
10125
|
className: chunkS5RVSXDV_cjs.cn(
|
|
10126
|
-
"text-muted-foreground absolute top-1/2
|
|
10126
|
+
"text-muted-foreground absolute end-4 top-1/2 h-5 w-5 -translate-y-1/2 transition-transform",
|
|
10127
10127
|
isOpen && "rotate-180"
|
|
10128
10128
|
)
|
|
10129
10129
|
}
|
|
@@ -11149,7 +11149,7 @@ function DayScheduleRow({
|
|
|
11149
11149
|
),
|
|
11150
11150
|
children: [
|
|
11151
11151
|
dayName,
|
|
11152
|
-
isToday && highlightToday && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-800 dark:text-primary-300
|
|
11152
|
+
isToday && highlightToday && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-800 dark:text-primary-300 ms-1 text-xs", children: "(Today)" })
|
|
11153
11153
|
]
|
|
11154
11154
|
}
|
|
11155
11155
|
),
|
|
@@ -11157,7 +11157,7 @@ function DayScheduleRow({
|
|
|
11157
11157
|
"div",
|
|
11158
11158
|
{
|
|
11159
11159
|
"data-slot": "business-hours-day-hours",
|
|
11160
|
-
className: chunkS5RVSXDV_cjs.cn("text-
|
|
11160
|
+
className: chunkS5RVSXDV_cjs.cn("text-end", hasMultipleRanges && "flex flex-col gap-1"),
|
|
11161
11161
|
"data-cy": `provider-hours-${dayHours.day}`,
|
|
11162
11162
|
children: hasHours ? dayHours.hours.map((range, idx) => /* @__PURE__ */ jsxRuntime.jsx(TimeRangeDisplay, { range, use24Hour }, idx)) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "Closed" })
|
|
11163
11163
|
}
|
|
@@ -11665,7 +11665,7 @@ function BusinessHoursDaysEditor({
|
|
|
11665
11665
|
disabled,
|
|
11666
11666
|
className: "text-xs",
|
|
11667
11667
|
children: [
|
|
11668
|
-
/* @__PURE__ */ jsxRuntime.jsx(CopyIcon, { className: "
|
|
11668
|
+
/* @__PURE__ */ jsxRuntime.jsx(CopyIcon, { className: "me-1 h-3 w-3" }),
|
|
11669
11669
|
"Copy"
|
|
11670
11670
|
]
|
|
11671
11671
|
}
|
|
@@ -11700,7 +11700,7 @@ function BusinessHoursDaysEditor({
|
|
|
11700
11700
|
disabled,
|
|
11701
11701
|
className: "text-xs",
|
|
11702
11702
|
children: [
|
|
11703
|
-
/* @__PURE__ */ jsxRuntime.jsx(PlusIcon2, { className: "
|
|
11703
|
+
/* @__PURE__ */ jsxRuntime.jsx(PlusIcon2, { className: "me-1 h-3 w-3" }),
|
|
11704
11704
|
addHoursLabel
|
|
11705
11705
|
]
|
|
11706
11706
|
}
|
|
@@ -11928,7 +11928,7 @@ function BusinessHoursRulesEditor({
|
|
|
11928
11928
|
}
|
|
11929
11929
|
),
|
|
11930
11930
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-32 sm:w-36", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
11931
|
-
|
|
11931
|
+
chunkZPZAZQW4_cjs.DateInput,
|
|
11932
11932
|
{
|
|
11933
11933
|
inputType: "time",
|
|
11934
11934
|
timeFormat,
|
|
@@ -11944,7 +11944,7 @@ function BusinessHoursRulesEditor({
|
|
|
11944
11944
|
) }),
|
|
11945
11945
|
/* @__PURE__ */ jsxRuntime.jsx("span", { "data-slot": "business-hours-separator", className: "text-gray-400", children: "\u2013" }),
|
|
11946
11946
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-32 sm:w-36", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
11947
|
-
|
|
11947
|
+
chunkZPZAZQW4_cjs.DateInput,
|
|
11948
11948
|
{
|
|
11949
11949
|
inputType: "time",
|
|
11950
11950
|
timeFormat,
|
|
@@ -12555,7 +12555,7 @@ function ConditionEditor({
|
|
|
12555
12555
|
"data-testid": dataTestId
|
|
12556
12556
|
}) {
|
|
12557
12557
|
const prior = concern ? currentAssertion(concern) : void 0;
|
|
12558
|
-
const ambientCodeLookup =
|
|
12558
|
+
const ambientCodeLookup = chunkXK424JFB_cjs.useCodeLookupConfig();
|
|
12559
12559
|
const effectiveRenderCodeSearch = renderCodeSearch === false ? void 0 : renderCodeSearch ?? (ambientCodeLookup ? contextConditionCodeSearch(ambientCodeLookup) : void 0);
|
|
12560
12560
|
const [text, setText] = React13__namespace.useState("");
|
|
12561
12561
|
const [coding, setCoding] = React13__namespace.useState([]);
|
|
@@ -12726,7 +12726,7 @@ function ConditionEditor({
|
|
|
12726
12726
|
mode === "add" && effectiveRenderCodeSearch && !text.trim() ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1", children: [
|
|
12727
12727
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-foreground block text-sm font-medium", children: [
|
|
12728
12728
|
"Problem name",
|
|
12729
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive
|
|
12729
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive ms-1", "aria-hidden": "true", children: "*" })
|
|
12730
12730
|
] }),
|
|
12731
12731
|
effectiveRenderCodeSearch({
|
|
12732
12732
|
placeholder: "Search conditions \u2014 or type a name and press Enter\u2026",
|
|
@@ -12900,7 +12900,7 @@ function ConditionEditor({
|
|
|
12900
12900
|
disabled: fields.severity?.known === false,
|
|
12901
12901
|
onClick: () => setSeverity(active ? void 0 : s),
|
|
12902
12902
|
className: chunkS5RVSXDV_cjs.cn(
|
|
12903
|
-
"border-border border-
|
|
12903
|
+
"border-border border-s px-2.5 py-1 text-xs font-medium capitalize transition-colors first:border-s-0",
|
|
12904
12904
|
"disabled:opacity-40",
|
|
12905
12905
|
active ? "bg-primary-600 text-white" : "bg-background text-muted-foreground hover:text-foreground"
|
|
12906
12906
|
),
|
|
@@ -17039,9 +17039,9 @@ function DateRangePicker({
|
|
|
17039
17039
|
// In range background
|
|
17040
17040
|
inRange && "bg-muted",
|
|
17041
17041
|
// Start date
|
|
17042
|
-
start && "bg-foreground text-background hover:bg-foreground rounded-
|
|
17042
|
+
start && "bg-foreground text-background hover:bg-foreground rounded-s-md font-semibold",
|
|
17043
17043
|
// End date
|
|
17044
|
-
end && !start && "border-foreground text-foreground rounded-
|
|
17044
|
+
end && !start && "border-foreground text-foreground rounded-e-md border font-semibold",
|
|
17045
17045
|
// Today indicator (only if not start/end)
|
|
17046
17046
|
today && !start && !end && "font-semibold"
|
|
17047
17047
|
),
|
|
@@ -17073,7 +17073,7 @@ function DateRangePicker({
|
|
|
17073
17073
|
"data-slot": "date-range-trigger",
|
|
17074
17074
|
className: chunkS5RVSXDV_cjs.cn(
|
|
17075
17075
|
"border-input bg-background hover:bg-muted",
|
|
17076
|
-
"inline-flex w-[300px] items-center gap-2 rounded-md border px-4 py-2 text-
|
|
17076
|
+
"inline-flex w-[300px] items-center gap-2 rounded-md border px-4 py-2 text-start text-sm font-normal",
|
|
17077
17077
|
"focus:ring-ring focus:ring-2 focus:outline-none",
|
|
17078
17078
|
"transition-colors",
|
|
17079
17079
|
!displayValue && "text-muted-foreground"
|
|
@@ -17221,7 +17221,7 @@ function DateRangePicker({
|
|
|
17221
17221
|
"div",
|
|
17222
17222
|
{
|
|
17223
17223
|
className: chunkS5RVSXDV_cjs.cn(
|
|
17224
|
-
"border-border flex w-[200px] shrink-0 flex-col gap-0.5 border-
|
|
17224
|
+
"border-border flex w-[200px] shrink-0 flex-col gap-0.5 border-e p-3",
|
|
17225
17225
|
isResponsive && "hidden md:flex"
|
|
17226
17226
|
),
|
|
17227
17227
|
"data-slot": "date-range-presets",
|
|
@@ -17232,7 +17232,7 @@ function DateRangePicker({
|
|
|
17232
17232
|
onClick: () => handlePresetSelect(preset.key),
|
|
17233
17233
|
"data-slot": "date-range-preset",
|
|
17234
17234
|
className: chunkS5RVSXDV_cjs.cn(
|
|
17235
|
-
"rounded-md px-3 py-1.5 text-
|
|
17235
|
+
"rounded-md px-3 py-1.5 text-start text-sm transition-colors",
|
|
17236
17236
|
"hover:bg-muted",
|
|
17237
17237
|
activePreset === preset.key && "bg-primary-800 text-white"
|
|
17238
17238
|
),
|
|
@@ -17371,9 +17371,9 @@ function DateRangeFilter({
|
|
|
17371
17371
|
chunkQOJ4V7YX_cjs.Dropdown,
|
|
17372
17372
|
{
|
|
17373
17373
|
trigger: /* @__PURE__ */ jsxRuntime.jsxs(chunkRDGRKYQ5_cjs.Button, { variant, size: "md", className, children: [
|
|
17374
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Calendar, { className: "
|
|
17374
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Calendar, { className: "me-2 h-4 w-4" }),
|
|
17375
17375
|
activeLabel || labels.filter || "Filter by Date",
|
|
17376
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "
|
|
17376
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "ms-2 h-3 w-3" })
|
|
17377
17377
|
] }),
|
|
17378
17378
|
className: "w-56",
|
|
17379
17379
|
"data-slot": "date-range-filter",
|
|
@@ -20268,7 +20268,7 @@ function CreateReferralModal({
|
|
|
20268
20268
|
"aria-pressed": isSelected,
|
|
20269
20269
|
"data-slot": "referral-modal-service",
|
|
20270
20270
|
onClick: () => toggleService(service.id),
|
|
20271
|
-
className: `w-full rounded-lg border p-3 text-
|
|
20271
|
+
className: `w-full rounded-lg border p-3 text-start transition-colors ${isSelected ? "border-primary bg-primary/10" : "border-border hover:border-border/80"} `,
|
|
20272
20272
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
20273
20273
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
20274
20274
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -20379,7 +20379,7 @@ function CreateReferralModal({
|
|
|
20379
20379
|
selectedServices.size > 1 ? "s" : "",
|
|
20380
20380
|
" selected"
|
|
20381
20381
|
] }) }),
|
|
20382
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-
|
|
20382
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-end", children: [
|
|
20383
20383
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-foreground/70 text-xs", children: "Estimated Total" }),
|
|
20384
20384
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
20385
20385
|
"p",
|
|
@@ -20413,7 +20413,7 @@ function CreateReferralModal({
|
|
|
20413
20413
|
"svg",
|
|
20414
20414
|
{
|
|
20415
20415
|
"aria-hidden": "true",
|
|
20416
|
-
className: "
|
|
20416
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
20417
20417
|
fill: "none",
|
|
20418
20418
|
viewBox: "0 0 24 24",
|
|
20419
20419
|
children: [
|
|
@@ -23594,11 +23594,11 @@ var HealthSurveillance = React13__namespace.forwardRef(
|
|
|
23594
23594
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
23595
23595
|
"div",
|
|
23596
23596
|
{
|
|
23597
|
-
className: chunkS5RVSXDV_cjs.cn(level > 0 && "border-border border-
|
|
23597
|
+
className: chunkS5RVSXDV_cjs.cn(level > 0 && "border-border border-s-2"),
|
|
23598
23598
|
style: level > 0 ? { marginLeft: (level - 1) * 16 + 2 } : void 0,
|
|
23599
23599
|
children: [
|
|
23600
|
-
isAlt && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
23601
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkS5RVSXDV_cjs.cn("space-y-1", level > 0 && "
|
|
23600
|
+
isAlt && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground ps-1 text-[11px] font-medium tracking-wide uppercase", children: "one of" }),
|
|
23601
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkS5RVSXDV_cjs.cn("space-y-1", level > 0 && "ps-3"), children: spec.keys.map((o) => {
|
|
23602
23602
|
const isPending = item.pendingKeys.includes(o);
|
|
23603
23603
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23604
23604
|
chunk7AECNMYV_cjs.Checkbox,
|
|
@@ -27416,7 +27416,7 @@ function OrderCard({
|
|
|
27416
27416
|
}
|
|
27417
27417
|
)
|
|
27418
27418
|
] }),
|
|
27419
|
-
totalAmount !== void 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-shrink-0 text-
|
|
27419
|
+
totalAmount !== void 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-shrink-0 text-end", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-foreground font-semibold", children: formatCurrency(totalAmount, currency) }) })
|
|
27420
27420
|
] }),
|
|
27421
27421
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
27422
27422
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -27497,7 +27497,7 @@ function OrderCard({
|
|
|
27497
27497
|
children: "View Details"
|
|
27498
27498
|
}
|
|
27499
27499
|
),
|
|
27500
|
-
showActions && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
27500
|
+
showActions && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ms-auto flex gap-2", children: [
|
|
27501
27501
|
onReject && /* @__PURE__ */ jsxRuntime.jsx(
|
|
27502
27502
|
"button",
|
|
27503
27503
|
{
|
|
@@ -28012,7 +28012,7 @@ function OrderConfirmationWizard({
|
|
|
28012
28012
|
"svg",
|
|
28013
28013
|
{
|
|
28014
28014
|
"aria-hidden": "true",
|
|
28015
|
-
className: "
|
|
28015
|
+
className: "me-1 h-4 w-4",
|
|
28016
28016
|
fill: "none",
|
|
28017
28017
|
stroke: "currentColor",
|
|
28018
28018
|
viewBox: "0 0 24 24",
|
|
@@ -28052,7 +28052,7 @@ function OrderConfirmationWizard({
|
|
|
28052
28052
|
"svg",
|
|
28053
28053
|
{
|
|
28054
28054
|
"aria-hidden": "true",
|
|
28055
|
-
className: "
|
|
28055
|
+
className: "ms-1 h-4 w-4",
|
|
28056
28056
|
fill: "none",
|
|
28057
28057
|
stroke: "currentColor",
|
|
28058
28058
|
viewBox: "0 0 24 24",
|
|
@@ -28079,7 +28079,7 @@ function OrderConfirmationWizard({
|
|
|
28079
28079
|
"svg",
|
|
28080
28080
|
{
|
|
28081
28081
|
"aria-hidden": "true",
|
|
28082
|
-
className: "
|
|
28082
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
28083
28083
|
fill: "none",
|
|
28084
28084
|
viewBox: "0 0 24 24",
|
|
28085
28085
|
children: [
|
|
@@ -28112,7 +28112,7 @@ function OrderConfirmationWizard({
|
|
|
28112
28112
|
"svg",
|
|
28113
28113
|
{
|
|
28114
28114
|
"aria-hidden": "true",
|
|
28115
|
-
className: "
|
|
28115
|
+
className: "ms-1 h-4 w-4",
|
|
28116
28116
|
fill: "none",
|
|
28117
28117
|
stroke: "currentColor",
|
|
28118
28118
|
viewBox: "0 0 24 24",
|
|
@@ -28212,7 +28212,7 @@ function OrderList({
|
|
|
28212
28212
|
{
|
|
28213
28213
|
"data-slot": "order-list-tab-count",
|
|
28214
28214
|
className: chunkS5RVSXDV_cjs.cn(
|
|
28215
|
-
"
|
|
28215
|
+
"ms-2 rounded-full px-2 py-0.5 text-xs",
|
|
28216
28216
|
activeTab === tab.id ? "bg-blue-200 text-blue-800 dark:bg-blue-800 dark:text-blue-200" : "text-muted-foreground bg-gray-200 dark:bg-gray-700"
|
|
28217
28217
|
),
|
|
28218
28218
|
children: count
|
|
@@ -28236,7 +28236,7 @@ function OrderList({
|
|
|
28236
28236
|
"svg",
|
|
28237
28237
|
{
|
|
28238
28238
|
"aria-hidden": "true",
|
|
28239
|
-
className: "absolute top-1/2
|
|
28239
|
+
className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400",
|
|
28240
28240
|
fill: "none",
|
|
28241
28241
|
viewBox: "0 0 24 24",
|
|
28242
28242
|
stroke: "currentColor",
|
|
@@ -28258,7 +28258,7 @@ function OrderList({
|
|
|
28258
28258
|
placeholder: searchPlaceholder,
|
|
28259
28259
|
value: searchValue,
|
|
28260
28260
|
onChange: (e) => onSearchChange?.(e.target.value),
|
|
28261
|
-
className: "rounded-lg border border-gray-300 bg-white py-2
|
|
28261
|
+
className: "rounded-lg border border-gray-300 bg-white py-2 ps-9 pe-4 text-sm text-gray-900 placeholder-gray-500 focus:ring-2 focus:ring-blue-500 focus:outline-none dark:border-gray-600 dark:bg-gray-800 dark:text-white dark:placeholder-gray-400"
|
|
28262
28262
|
}
|
|
28263
28263
|
)
|
|
28264
28264
|
] }),
|
|
@@ -28375,7 +28375,7 @@ var defaultOrderTabs = [
|
|
|
28375
28375
|
{ id: "rejected", label: "Rejected", statuses: ["rejected", "cancelled"] }
|
|
28376
28376
|
];
|
|
28377
28377
|
function orderToMedication(order) {
|
|
28378
|
-
const sig = order.detail ?
|
|
28378
|
+
const sig = order.detail ? chunkXK424JFB_cjs.parseSig(order.detail) : void 0;
|
|
28379
28379
|
return {
|
|
28380
28380
|
id: order.orderId,
|
|
28381
28381
|
name: order.display,
|
|
@@ -28383,7 +28383,7 @@ function orderToMedication(order) {
|
|
|
28383
28383
|
status: "unreconciled",
|
|
28384
28384
|
indication: order.indication,
|
|
28385
28385
|
pharmacyNotes: order.notes,
|
|
28386
|
-
...
|
|
28386
|
+
...chunkXK424JFB_cjs.labelToMedicationFields(order.display),
|
|
28387
28387
|
...sig && {
|
|
28388
28388
|
route: sig.route,
|
|
28389
28389
|
frequency: sig.frequency,
|
|
@@ -28454,7 +28454,7 @@ function BaseOrderEditor({
|
|
|
28454
28454
|
onSave
|
|
28455
28455
|
}) {
|
|
28456
28456
|
const config = TYPE_CONFIG[type];
|
|
28457
|
-
const ambientCodeLookup =
|
|
28457
|
+
const ambientCodeLookup = chunkXK424JFB_cjs.useCodeLookupConfig();
|
|
28458
28458
|
const effectiveCodeLookup = codeLookup === false ? void 0 : codeLookup ?? ambientCodeLookup ?? void 0;
|
|
28459
28459
|
const [draft, setDraft] = React13__namespace.useState(
|
|
28460
28460
|
() => order ?? {
|
|
@@ -28653,7 +28653,7 @@ function OrderEditor({
|
|
|
28653
28653
|
display: ""
|
|
28654
28654
|
};
|
|
28655
28655
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
28656
|
-
|
|
28656
|
+
chunkXK424JFB_cjs.MedicationEditor,
|
|
28657
28657
|
{
|
|
28658
28658
|
open,
|
|
28659
28659
|
medication: order ? orderToMedication(order) : void 0,
|
|
@@ -28790,7 +28790,7 @@ function OrderLookupForm({
|
|
|
28790
28790
|
"svg",
|
|
28791
28791
|
{
|
|
28792
28792
|
"aria-hidden": "true",
|
|
28793
|
-
className: "
|
|
28793
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
28794
28794
|
fill: "none",
|
|
28795
28795
|
viewBox: "0 0 24 24",
|
|
28796
28796
|
children: [
|
|
@@ -28900,7 +28900,7 @@ function OrderSidebar({
|
|
|
28900
28900
|
"div",
|
|
28901
28901
|
{
|
|
28902
28902
|
"data-slot": "order-sidebar",
|
|
28903
|
-
className: `fixed
|
|
28903
|
+
className: `fixed end-0 top-0 z-50 h-full w-full max-w-md translate-x-0 transform bg-white shadow-xl transition-transform duration-300 dark:bg-gray-900 ${className}`,
|
|
28904
28904
|
role: "dialog",
|
|
28905
28905
|
"aria-modal": "true",
|
|
28906
28906
|
"aria-label": "Order details",
|
|
@@ -29019,7 +29019,7 @@ function OrderSidebar({
|
|
|
29019
29019
|
"div",
|
|
29020
29020
|
{
|
|
29021
29021
|
"data-slot": "order-sidebar-footer",
|
|
29022
|
-
className: "absolute
|
|
29022
|
+
className: "absolute start-0 end-0 bottom-0 border-t border-gray-200 bg-white p-4 dark:border-gray-700 dark:bg-gray-900",
|
|
29023
29023
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-2", children: actions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
29024
29024
|
chunkRDGRKYQ5_cjs.Button,
|
|
29025
29025
|
{
|
|
@@ -29334,7 +29334,7 @@ function PatientOverflowMenu({
|
|
|
29334
29334
|
}
|
|
29335
29335
|
)
|
|
29336
29336
|
] }),
|
|
29337
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-border my-1 border-t md:my-0 md:border-
|
|
29337
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-border my-1 border-t md:my-0 md:border-s md:border-t-0" }),
|
|
29338
29338
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "md:min-w-[26rem]", children: [
|
|
29339
29339
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3 py-1.5", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-[11px] font-semibold tracking-wide uppercase", children: "Add" }) }),
|
|
29340
29340
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-1 md:grid-cols-2 md:gap-2", children: [
|
|
@@ -29535,7 +29535,7 @@ var PatientHeader = React13__namespace.forwardRef(
|
|
|
29535
29535
|
onClick: onBack,
|
|
29536
29536
|
disabled: !onBack,
|
|
29537
29537
|
"aria-label": "Go back",
|
|
29538
|
-
className: "mt-1
|
|
29538
|
+
className: "-ms-2 mt-1 h-8 w-8 shrink-0",
|
|
29539
29539
|
children: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.ArrowLeft, { size: 18 })
|
|
29540
29540
|
}
|
|
29541
29541
|
),
|
|
@@ -29631,7 +29631,7 @@ var PatientHeader = React13__namespace.forwardRef(
|
|
|
29631
29631
|
)
|
|
29632
29632
|
] })
|
|
29633
29633
|
] }),
|
|
29634
|
-
showFlagBanner && patient.flags && patient.flags.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t border-amber-200 bg-amber-50 px-5 py-1.5 text-
|
|
29634
|
+
showFlagBanner && patient.flags && patient.flags.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t border-amber-200 bg-amber-50 px-5 py-1.5 text-start text-xs font-medium tracking-wide text-amber-800 dark:border-amber-800/40 dark:bg-amber-950/40 dark:text-amber-300", children: patient.flags.map(
|
|
29635
29635
|
(flag) => flag.charAt(0).toUpperCase() + flag.slice(1).toLowerCase()
|
|
29636
29636
|
).join(" \xB7 ") }),
|
|
29637
29637
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -31309,7 +31309,7 @@ function RelevanceControl({
|
|
|
31309
31309
|
{
|
|
31310
31310
|
role: "toolbar",
|
|
31311
31311
|
"aria-label": `Relevance for ${labelPrefix}`,
|
|
31312
|
-
onKeyDown:
|
|
31312
|
+
onKeyDown: chunkXK424JFB_cjs.toolbarKeyNav,
|
|
31313
31313
|
className: "border-border flex shrink-0 items-center overflow-hidden rounded-md border",
|
|
31314
31314
|
children: RELEVANCE_ORDER.map((relevance) => {
|
|
31315
31315
|
const active = value === relevance;
|
|
@@ -31321,7 +31321,7 @@ function RelevanceControl({
|
|
|
31321
31321
|
onClick: () => onChange(active ? null : relevance),
|
|
31322
31322
|
className: chunkS5RVSXDV_cjs.cn(
|
|
31323
31323
|
"px-2 py-1 text-xs font-medium transition-colors",
|
|
31324
|
-
"border-border border-
|
|
31324
|
+
"border-border border-s first:border-s-0",
|
|
31325
31325
|
active ? "bg-primary-800 text-white" : "bg-background text-muted-foreground hover:text-foreground"
|
|
31326
31326
|
),
|
|
31327
31327
|
children: RELEVANCE_LABELS[relevance]
|
|
@@ -31448,7 +31448,7 @@ var PresentingProblems = React13__namespace.forwardRef(
|
|
|
31448
31448
|
children: "out of scope"
|
|
31449
31449
|
}
|
|
31450
31450
|
),
|
|
31451
|
-
!readOnly && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "
|
|
31451
|
+
!readOnly && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ms-auto", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31452
31452
|
RelevanceControl,
|
|
31453
31453
|
{
|
|
31454
31454
|
value: relevance,
|
|
@@ -37149,7 +37149,7 @@ var ResultsEntryForm = React13__namespace.forwardRef(function ResultsEntryForm2(
|
|
|
37149
37149
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37150
37150
|
"span",
|
|
37151
37151
|
{
|
|
37152
|
-
className: "bg-muted border-input rounded-
|
|
37152
|
+
className: "bg-muted border-input rounded-s-md border border-e-0 px-3 py-2 text-sm font-medium",
|
|
37153
37153
|
"data-slot": "ref-file-badge",
|
|
37154
37154
|
children: results
|
|
37155
37155
|
}
|
|
@@ -37159,7 +37159,7 @@ var ResultsEntryForm = React13__namespace.forwardRef(function ResultsEntryForm2(
|
|
|
37159
37159
|
{
|
|
37160
37160
|
value: files.map((f) => f.name).join(", "),
|
|
37161
37161
|
readOnly: true,
|
|
37162
|
-
className: "rounded-none border-
|
|
37162
|
+
className: "rounded-none border-s-0 border-e-0",
|
|
37163
37163
|
placeholder: "No files selected"
|
|
37164
37164
|
}
|
|
37165
37165
|
),
|
|
@@ -37178,10 +37178,10 @@ var ResultsEntryForm = React13__namespace.forwardRef(function ResultsEntryForm2(
|
|
|
37178
37178
|
{
|
|
37179
37179
|
type: "button",
|
|
37180
37180
|
variant: "secondary",
|
|
37181
|
-
className: "rounded-
|
|
37181
|
+
className: "rounded-s-none",
|
|
37182
37182
|
onClick: () => fileInputRef.current?.click(),
|
|
37183
37183
|
children: [
|
|
37184
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileUp, { className: "
|
|
37184
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileUp, { className: "me-2 h-4 w-4" }),
|
|
37185
37185
|
browseFiles
|
|
37186
37186
|
]
|
|
37187
37187
|
}
|
|
@@ -37199,7 +37199,7 @@ var ResultsEntryForm = React13__namespace.forwardRef(function ResultsEntryForm2(
|
|
|
37199
37199
|
{
|
|
37200
37200
|
type: "button",
|
|
37201
37201
|
onClick: () => removeFile(index),
|
|
37202
|
-
className: "text-muted-foreground hover:text-destructive
|
|
37202
|
+
className: "text-muted-foreground hover:text-destructive ms-2",
|
|
37203
37203
|
"data-slot": "ref-file-remove",
|
|
37204
37204
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "h-4 w-4" })
|
|
37205
37205
|
}
|
|
@@ -37373,7 +37373,7 @@ function ResultsEntryModal({
|
|
|
37373
37373
|
"svg",
|
|
37374
37374
|
{
|
|
37375
37375
|
"aria-hidden": "true",
|
|
37376
|
-
className: "
|
|
37376
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
37377
37377
|
fill: "none",
|
|
37378
37378
|
viewBox: "0 0 24 24",
|
|
37379
37379
|
children: [
|
|
@@ -37633,7 +37633,7 @@ function ScheduleCalendar({
|
|
|
37633
37633
|
weekDates.map((date, i) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
37634
37634
|
"div",
|
|
37635
37635
|
{
|
|
37636
|
-
className: `flex-1 border-
|
|
37636
|
+
className: `flex-1 border-s border-gray-200 p-2 text-center dark:border-gray-700 ${isSameDay(date, /* @__PURE__ */ new Date()) ? "bg-blue-50 dark:bg-blue-900/20" : ""}`,
|
|
37637
37637
|
children: [
|
|
37638
37638
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37639
37639
|
"p",
|
|
@@ -37665,7 +37665,7 @@ function ScheduleCalendar({
|
|
|
37665
37665
|
children: hours.map((hour) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
37666
37666
|
"div",
|
|
37667
37667
|
{
|
|
37668
|
-
className: "text-muted-foreground h-16
|
|
37668
|
+
className: "text-muted-foreground h-16 pe-2 text-end text-xs",
|
|
37669
37669
|
children: new Date(2e3, 0, 1, hour).toLocaleTimeString("en-US", {
|
|
37670
37670
|
hour: "numeric",
|
|
37671
37671
|
hour12: true
|
|
@@ -37680,7 +37680,7 @@ function ScheduleCalendar({
|
|
|
37680
37680
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
37681
37681
|
"div",
|
|
37682
37682
|
{
|
|
37683
|
-
className: `relative flex-1 border-
|
|
37683
|
+
className: `relative flex-1 border-s border-gray-200 dark:border-gray-700 ${view === "week" && isSameDay(date, /* @__PURE__ */ new Date()) ? "bg-blue-50/50 dark:bg-blue-900/10" : ""}`,
|
|
37684
37684
|
children: [
|
|
37685
37685
|
hours.map((hour) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
37686
37686
|
"div",
|
|
@@ -37716,7 +37716,7 @@ function ScheduleCalendar({
|
|
|
37716
37716
|
role: "button",
|
|
37717
37717
|
tabIndex: 0,
|
|
37718
37718
|
"aria-label": `${appointment.patientName || appointment.title}, ${formatTime4(appointment.startTime)}`,
|
|
37719
|
-
className: `absolute
|
|
37719
|
+
className: `absolute start-1 end-1 cursor-pointer overflow-hidden rounded border-s-4 px-2 py-1 text-xs text-white ${getStatusColor(appointment.status)}`,
|
|
37720
37720
|
style: {
|
|
37721
37721
|
top: position.top,
|
|
37722
37722
|
height: position.height,
|
|
@@ -44133,7 +44133,7 @@ function WebChartReportViewer({
|
|
|
44133
44133
|
":"
|
|
44134
44134
|
] }),
|
|
44135
44135
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44136
|
-
|
|
44136
|
+
chunkZPZAZQW4_cjs.DateInput,
|
|
44137
44137
|
{
|
|
44138
44138
|
size: "sm",
|
|
44139
44139
|
showCalendar: true,
|
|
@@ -44147,7 +44147,7 @@ function WebChartReportViewer({
|
|
|
44147
44147
|
":"
|
|
44148
44148
|
] }),
|
|
44149
44149
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44150
|
-
|
|
44150
|
+
chunkZPZAZQW4_cjs.DateInput,
|
|
44151
44151
|
{
|
|
44152
44152
|
size: "sm",
|
|
44153
44153
|
showCalendar: true,
|
|
@@ -44292,7 +44292,7 @@ function ReportTimeRange({
|
|
|
44292
44292
|
),
|
|
44293
44293
|
preset === "custom" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
44294
44294
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44295
|
-
|
|
44295
|
+
chunkZPZAZQW4_cjs.DateInput,
|
|
44296
44296
|
{
|
|
44297
44297
|
size: "sm",
|
|
44298
44298
|
showCalendar: true,
|
|
@@ -44303,7 +44303,7 @@ function ReportTimeRange({
|
|
|
44303
44303
|
),
|
|
44304
44304
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "to" }),
|
|
44305
44305
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44306
|
-
|
|
44306
|
+
chunkZPZAZQW4_cjs.DateInput,
|
|
44307
44307
|
{
|
|
44308
44308
|
size: "sm",
|
|
44309
44309
|
showCalendar: true,
|
|
@@ -45439,11 +45439,11 @@ Object.defineProperty(exports, "CollapsibleTrigger", {
|
|
|
45439
45439
|
});
|
|
45440
45440
|
Object.defineProperty(exports, "miewebUIPreset", {
|
|
45441
45441
|
enumerable: true,
|
|
45442
|
-
get: function () { return
|
|
45442
|
+
get: function () { return chunk4GCF2ITV_cjs.miewebUIPreset; }
|
|
45443
45443
|
});
|
|
45444
45444
|
Object.defineProperty(exports, "miewebUISafelist", {
|
|
45445
45445
|
enumerable: true,
|
|
45446
|
-
get: function () { return
|
|
45446
|
+
get: function () { return chunk4GCF2ITV_cjs.miewebUISafelist; }
|
|
45447
45447
|
});
|
|
45448
45448
|
Object.defineProperty(exports, "Accordion", {
|
|
45449
45449
|
enumerable: true,
|
|
@@ -45555,67 +45555,67 @@ Object.defineProperty(exports, "isApplicable", {
|
|
|
45555
45555
|
});
|
|
45556
45556
|
Object.defineProperty(exports, "ALLERGY_TYPE_LABELS", {
|
|
45557
45557
|
enumerable: true,
|
|
45558
|
-
get: function () { return
|
|
45558
|
+
get: function () { return chunkXK424JFB_cjs.ALLERGY_TYPE_LABELS; }
|
|
45559
45559
|
});
|
|
45560
45560
|
Object.defineProperty(exports, "AllergyList", {
|
|
45561
45561
|
enumerable: true,
|
|
45562
|
-
get: function () { return
|
|
45562
|
+
get: function () { return chunkXK424JFB_cjs.AllergyList; }
|
|
45563
45563
|
});
|
|
45564
45564
|
Object.defineProperty(exports, "AllergyManager", {
|
|
45565
45565
|
enumerable: true,
|
|
45566
|
-
get: function () { return
|
|
45566
|
+
get: function () { return chunkXK424JFB_cjs.AllergyManager; }
|
|
45567
45567
|
});
|
|
45568
45568
|
Object.defineProperty(exports, "CodeLookupProvider", {
|
|
45569
45569
|
enumerable: true,
|
|
45570
|
-
get: function () { return
|
|
45570
|
+
get: function () { return chunkXK424JFB_cjs.CodeLookupProvider; }
|
|
45571
45571
|
});
|
|
45572
45572
|
Object.defineProperty(exports, "MEDICATION_STATUS_LABELS", {
|
|
45573
45573
|
enumerable: true,
|
|
45574
|
-
get: function () { return
|
|
45574
|
+
get: function () { return chunkXK424JFB_cjs.MEDICATION_STATUS_LABELS; }
|
|
45575
45575
|
});
|
|
45576
45576
|
Object.defineProperty(exports, "MedicationEditor", {
|
|
45577
45577
|
enumerable: true,
|
|
45578
|
-
get: function () { return
|
|
45578
|
+
get: function () { return chunkXK424JFB_cjs.MedicationEditor; }
|
|
45579
45579
|
});
|
|
45580
45580
|
Object.defineProperty(exports, "MedicationList", {
|
|
45581
45581
|
enumerable: true,
|
|
45582
|
-
get: function () { return
|
|
45582
|
+
get: function () { return chunkXK424JFB_cjs.MedicationList; }
|
|
45583
45583
|
});
|
|
45584
45584
|
Object.defineProperty(exports, "MedicationReconciliation", {
|
|
45585
45585
|
enumerable: true,
|
|
45586
|
-
get: function () { return
|
|
45586
|
+
get: function () { return chunkXK424JFB_cjs.MedicationReconciliation; }
|
|
45587
45587
|
});
|
|
45588
45588
|
Object.defineProperty(exports, "RowActionToolbar", {
|
|
45589
45589
|
enumerable: true,
|
|
45590
|
-
get: function () { return
|
|
45590
|
+
get: function () { return chunkXK424JFB_cjs.RowActionToolbar; }
|
|
45591
45591
|
});
|
|
45592
45592
|
Object.defineProperty(exports, "RowIconButton", {
|
|
45593
45593
|
enumerable: true,
|
|
45594
|
-
get: function () { return
|
|
45594
|
+
get: function () { return chunkXK424JFB_cjs.RowIconButton; }
|
|
45595
45595
|
});
|
|
45596
45596
|
Object.defineProperty(exports, "labelToMedicationFields", {
|
|
45597
45597
|
enumerable: true,
|
|
45598
|
-
get: function () { return
|
|
45598
|
+
get: function () { return chunkXK424JFB_cjs.labelToMedicationFields; }
|
|
45599
45599
|
});
|
|
45600
45600
|
Object.defineProperty(exports, "lookupToMedicationFields", {
|
|
45601
45601
|
enumerable: true,
|
|
45602
|
-
get: function () { return
|
|
45602
|
+
get: function () { return chunkXK424JFB_cjs.lookupToMedicationFields; }
|
|
45603
45603
|
});
|
|
45604
45604
|
Object.defineProperty(exports, "parseMedicationLabel", {
|
|
45605
45605
|
enumerable: true,
|
|
45606
|
-
get: function () { return
|
|
45606
|
+
get: function () { return chunkXK424JFB_cjs.parseMedicationLabel; }
|
|
45607
45607
|
});
|
|
45608
45608
|
Object.defineProperty(exports, "parseSig", {
|
|
45609
45609
|
enumerable: true,
|
|
45610
|
-
get: function () { return
|
|
45610
|
+
get: function () { return chunkXK424JFB_cjs.parseSig; }
|
|
45611
45611
|
});
|
|
45612
45612
|
Object.defineProperty(exports, "toolbarKeyNav", {
|
|
45613
45613
|
enumerable: true,
|
|
45614
|
-
get: function () { return
|
|
45614
|
+
get: function () { return chunkXK424JFB_cjs.toolbarKeyNav; }
|
|
45615
45615
|
});
|
|
45616
45616
|
Object.defineProperty(exports, "useCodeLookupConfig", {
|
|
45617
45617
|
enumerable: true,
|
|
45618
|
-
get: function () { return
|
|
45618
|
+
get: function () { return chunkXK424JFB_cjs.useCodeLookupConfig; }
|
|
45619
45619
|
});
|
|
45620
45620
|
Object.defineProperty(exports, "Textarea", {
|
|
45621
45621
|
enumerable: true,
|
|
@@ -45659,7 +45659,7 @@ Object.defineProperty(exports, "selectTriggerVariants", {
|
|
|
45659
45659
|
});
|
|
45660
45660
|
Object.defineProperty(exports, "DateInput", {
|
|
45661
45661
|
enumerable: true,
|
|
45662
|
-
get: function () { return
|
|
45662
|
+
get: function () { return chunkZPZAZQW4_cjs.DateInput; }
|
|
45663
45663
|
});
|
|
45664
45664
|
Object.defineProperty(exports, "Card", {
|
|
45665
45665
|
enumerable: true,
|