@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.js
CHANGED
|
@@ -76,7 +76,7 @@ export { Checkbox, CheckboxGroup, checkboxVariants } from './chunk-753Z3NXL.js';
|
|
|
76
76
|
export { ClampedText } from './chunk-L6MDULYB.js';
|
|
77
77
|
export { CollabStatus, defaultCollabStatusLabels, useYjsCollabStatus } from './chunk-SVSHA7XV.js';
|
|
78
78
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger } from './chunk-BJKAVWED.js';
|
|
79
|
-
export { miewebUIPreset, miewebUISafelist } from './chunk-
|
|
79
|
+
export { miewebUIPreset, miewebUISafelist } from './chunk-IGLVKTXA.js';
|
|
80
80
|
export { Accordion } from './chunk-Y6YSJPVC.js';
|
|
81
81
|
import { Alert, AlertTitle, AlertDescription } from './chunk-6EWJGRC3.js';
|
|
82
82
|
export { Alert, AlertDescription, AlertTitle, alertVariants } from './chunk-6EWJGRC3.js';
|
|
@@ -89,8 +89,8 @@ import { Avatar } from './chunk-DCBMTFLE.js';
|
|
|
89
89
|
export { Avatar, AvatarGroup, avatarVariants, getInitials } from './chunk-DCBMTFLE.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-CQFDS7XJ.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-CQFDS7XJ.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';
|
|
@@ -101,8 +101,8 @@ import { Label } from './chunk-I3WGZPI6.js';
|
|
|
101
101
|
export { Label, labelVariants } from './chunk-I3WGZPI6.js';
|
|
102
102
|
import { Select } from './chunk-ATOWMVZH.js';
|
|
103
103
|
export { Select, selectTriggerVariants } from './chunk-ATOWMVZH.js';
|
|
104
|
-
import { DateInput } from './chunk-
|
|
105
|
-
export { DateInput } from './chunk-
|
|
104
|
+
import { DateInput } from './chunk-7L4SY5YY.js';
|
|
105
|
+
export { DateInput } from './chunk-7L4SY5YY.js';
|
|
106
106
|
import { Card, CardHeader, CardContent, CardTitle } from './chunk-QYSUYB3S.js';
|
|
107
107
|
export { Card, CardActions, CardBadge, CardCollapsible, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, CardStat, CardTitle, cardAccentVariants, cardVariants } from './chunk-QYSUYB3S.js';
|
|
108
108
|
import { Modal, ModalHeader, ModalTitle, ModalClose, ModalBody, ModalFooter } from './chunk-XMCIXHGH.js';
|
|
@@ -7848,7 +7848,7 @@ function AssertionTimeline({ concern }) {
|
|
|
7848
7848
|
"ol",
|
|
7849
7849
|
{
|
|
7850
7850
|
"aria-label": "Assertion history",
|
|
7851
|
-
className: "border-border
|
|
7851
|
+
className: "border-border ms-1.5 mt-2 space-y-2 border-s ps-4",
|
|
7852
7852
|
children: items.map((a) => {
|
|
7853
7853
|
const refuted = a.verificationStatus === "refuted" || a.verificationStatus === "entered-in-error";
|
|
7854
7854
|
const verification = VERIFICATION_BADGE[a.verificationStatus];
|
|
@@ -7857,7 +7857,7 @@ function AssertionTimeline({ concern }) {
|
|
|
7857
7857
|
"span",
|
|
7858
7858
|
{
|
|
7859
7859
|
"aria-hidden": true,
|
|
7860
|
-
className: "bg-border absolute top-1.5
|
|
7860
|
+
className: "bg-border absolute -start-5 top-1.5 h-2 w-2 rounded-full"
|
|
7861
7861
|
}
|
|
7862
7862
|
),
|
|
7863
7863
|
/* @__PURE__ */ jsxs("span", { className: "flex flex-wrap items-center gap-x-2 gap-y-1", children: [
|
|
@@ -7959,7 +7959,7 @@ function ConcernRow({
|
|
|
7959
7959
|
),
|
|
7960
7960
|
/* @__PURE__ */ jsx(UncertaintyBadge, { uncertainty: current.uncertainty }),
|
|
7961
7961
|
concern.relationships?.map((r) => /* @__PURE__ */ jsxs(Badge, { variant: "outline", size: "sm", children: [
|
|
7962
|
-
/* @__PURE__ */ jsx(Link, { size: 10, className: "
|
|
7962
|
+
/* @__PURE__ */ jsx(Link, { size: 10, className: "me-1" }),
|
|
7963
7963
|
r.type.replace(/-/g, " "),
|
|
7964
7964
|
r.display ? `: ${r.display}` : ""
|
|
7965
7965
|
] }, `${r.type}:${r.concernId}`)),
|
|
@@ -7991,7 +7991,7 @@ function ConcernRow({
|
|
|
7991
7991
|
] }),
|
|
7992
7992
|
expanded && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
7993
7993
|
/* @__PURE__ */ jsx(AssertionTimeline, { concern }),
|
|
7994
|
-
concern.observations && concern.observations.length > 0 && /* @__PURE__ */ jsxs("div", { className: "
|
|
7994
|
+
concern.observations && concern.observations.length > 0 && /* @__PURE__ */ jsxs("div", { className: "ms-1.5 mt-2 ps-4", children: [
|
|
7995
7995
|
/* @__PURE__ */ jsx("h5", { className: "text-muted-foreground text-xs font-semibold tracking-wide uppercase", children: "Observations" }),
|
|
7996
7996
|
/* @__PURE__ */ jsx("ol", { "aria-label": "Observations", className: "mt-1 space-y-1", children: [...concern.observations].reverse().map((o) => /* @__PURE__ */ jsxs("li", { className: "flex flex-wrap gap-x-2 text-sm", children: [
|
|
7997
7997
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs tabular-nums", children: o.date }),
|
|
@@ -8537,7 +8537,7 @@ function AddOrderForm({
|
|
|
8537
8537
|
{
|
|
8538
8538
|
role: "form",
|
|
8539
8539
|
"aria-label": `Add order for ${problemText}`,
|
|
8540
|
-
className: "border-border bg-muted/40
|
|
8540
|
+
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",
|
|
8541
8541
|
children: [
|
|
8542
8542
|
/* @__PURE__ */ jsxs(
|
|
8543
8543
|
"select",
|
|
@@ -8941,12 +8941,12 @@ var Assessment = React13.forwardRef(
|
|
|
8941
8941
|
]
|
|
8942
8942
|
}
|
|
8943
8943
|
),
|
|
8944
|
-
item.note && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1
|
|
8944
|
+
item.note && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 ps-6 text-sm", children: item.note }),
|
|
8945
8945
|
showPlan && linkedOrders.length > 0 && /* @__PURE__ */ jsx(
|
|
8946
8946
|
"ul",
|
|
8947
8947
|
{
|
|
8948
8948
|
"aria-label": `Plan for ${assertion.text}`,
|
|
8949
|
-
className: "border-border
|
|
8949
|
+
className: "border-border ms-2.5 mt-1.5 border-s ps-4",
|
|
8950
8950
|
children: linkedOrders.map((order) => /* @__PURE__ */ jsx(
|
|
8951
8951
|
OrderRow,
|
|
8952
8952
|
{
|
|
@@ -9052,7 +9052,7 @@ var Assessment = React13.forwardRef(
|
|
|
9052
9052
|
{
|
|
9053
9053
|
role: "group",
|
|
9054
9054
|
"aria-label": `Add "${pendingFreeText}" as`,
|
|
9055
|
-
className: "flex w-full flex-wrap items-center gap-1.5
|
|
9055
|
+
className: "flex w-full flex-wrap items-center gap-1.5 ps-1",
|
|
9056
9056
|
children: [
|
|
9057
9057
|
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground text-sm", children: [
|
|
9058
9058
|
"Add",
|
|
@@ -10063,7 +10063,7 @@ function FloatingInput({
|
|
|
10063
10063
|
htmlFor: inputId,
|
|
10064
10064
|
"data-slot": "floating-input-label",
|
|
10065
10065
|
className: cn(
|
|
10066
|
-
"text-muted-foreground absolute
|
|
10066
|
+
"text-muted-foreground absolute start-4 top-4 origin-left transform transition-all duration-200 rtl:origin-right",
|
|
10067
10067
|
"peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100",
|
|
10068
10068
|
"peer-focus:-translate-y-2 peer-focus:scale-75",
|
|
10069
10069
|
"peer-[:not(:placeholder-shown)]:-translate-y-2 peer-[:not(:placeholder-shown)]:scale-75",
|
|
@@ -10124,7 +10124,7 @@ function ServiceSelect({
|
|
|
10124
10124
|
onClick: () => setIsOpen(!isOpen),
|
|
10125
10125
|
"data-slot": "service-select-trigger",
|
|
10126
10126
|
className: cn(
|
|
10127
|
-
"w-full rounded-lg border px-4 py-3 text-
|
|
10127
|
+
"w-full rounded-lg border px-4 py-3 text-start transition-colors",
|
|
10128
10128
|
"bg-background",
|
|
10129
10129
|
"focus:ring-2 focus:outline-none",
|
|
10130
10130
|
error ? "border-destructive focus:ring-destructive/20" : "border-input focus:border-primary-500 focus:ring-primary-500/20"
|
|
@@ -10143,7 +10143,7 @@ function ServiceSelect({
|
|
|
10143
10143
|
ChevronDownIcon,
|
|
10144
10144
|
{
|
|
10145
10145
|
className: cn(
|
|
10146
|
-
"text-muted-foreground absolute top-1/2
|
|
10146
|
+
"text-muted-foreground absolute end-4 top-1/2 h-5 w-5 -translate-y-1/2 transition-transform",
|
|
10147
10147
|
isOpen && "rotate-180"
|
|
10148
10148
|
)
|
|
10149
10149
|
}
|
|
@@ -11169,7 +11169,7 @@ function DayScheduleRow({
|
|
|
11169
11169
|
),
|
|
11170
11170
|
children: [
|
|
11171
11171
|
dayName,
|
|
11172
|
-
isToday && highlightToday && /* @__PURE__ */ jsx("span", { className: "text-primary-800 dark:text-primary-300
|
|
11172
|
+
isToday && highlightToday && /* @__PURE__ */ jsx("span", { className: "text-primary-800 dark:text-primary-300 ms-1 text-xs", children: "(Today)" })
|
|
11173
11173
|
]
|
|
11174
11174
|
}
|
|
11175
11175
|
),
|
|
@@ -11177,7 +11177,7 @@ function DayScheduleRow({
|
|
|
11177
11177
|
"div",
|
|
11178
11178
|
{
|
|
11179
11179
|
"data-slot": "business-hours-day-hours",
|
|
11180
|
-
className: cn("text-
|
|
11180
|
+
className: cn("text-end", hasMultipleRanges && "flex flex-col gap-1"),
|
|
11181
11181
|
"data-cy": `provider-hours-${dayHours.day}`,
|
|
11182
11182
|
children: hasHours ? dayHours.hours.map((range, idx) => /* @__PURE__ */ jsx(TimeRangeDisplay, { range, use24Hour }, idx)) : /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Closed" })
|
|
11183
11183
|
}
|
|
@@ -11685,7 +11685,7 @@ function BusinessHoursDaysEditor({
|
|
|
11685
11685
|
disabled,
|
|
11686
11686
|
className: "text-xs",
|
|
11687
11687
|
children: [
|
|
11688
|
-
/* @__PURE__ */ jsx(CopyIcon, { className: "
|
|
11688
|
+
/* @__PURE__ */ jsx(CopyIcon, { className: "me-1 h-3 w-3" }),
|
|
11689
11689
|
"Copy"
|
|
11690
11690
|
]
|
|
11691
11691
|
}
|
|
@@ -11720,7 +11720,7 @@ function BusinessHoursDaysEditor({
|
|
|
11720
11720
|
disabled,
|
|
11721
11721
|
className: "text-xs",
|
|
11722
11722
|
children: [
|
|
11723
|
-
/* @__PURE__ */ jsx(PlusIcon2, { className: "
|
|
11723
|
+
/* @__PURE__ */ jsx(PlusIcon2, { className: "me-1 h-3 w-3" }),
|
|
11724
11724
|
addHoursLabel
|
|
11725
11725
|
]
|
|
11726
11726
|
}
|
|
@@ -12746,7 +12746,7 @@ function ConditionEditor({
|
|
|
12746
12746
|
mode === "add" && effectiveRenderCodeSearch && !text.trim() ? /* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
12747
12747
|
/* @__PURE__ */ jsxs("span", { className: "text-foreground block text-sm font-medium", children: [
|
|
12748
12748
|
"Problem name",
|
|
12749
|
-
/* @__PURE__ */ jsx("span", { className: "text-destructive
|
|
12749
|
+
/* @__PURE__ */ jsx("span", { className: "text-destructive ms-1", "aria-hidden": "true", children: "*" })
|
|
12750
12750
|
] }),
|
|
12751
12751
|
effectiveRenderCodeSearch({
|
|
12752
12752
|
placeholder: "Search conditions \u2014 or type a name and press Enter\u2026",
|
|
@@ -12920,7 +12920,7 @@ function ConditionEditor({
|
|
|
12920
12920
|
disabled: fields.severity?.known === false,
|
|
12921
12921
|
onClick: () => setSeverity(active ? void 0 : s),
|
|
12922
12922
|
className: cn(
|
|
12923
|
-
"border-border border-
|
|
12923
|
+
"border-border border-s px-2.5 py-1 text-xs font-medium capitalize transition-colors first:border-s-0",
|
|
12924
12924
|
"disabled:opacity-40",
|
|
12925
12925
|
active ? "bg-primary-600 text-white" : "bg-background text-muted-foreground hover:text-foreground"
|
|
12926
12926
|
),
|
|
@@ -17059,9 +17059,9 @@ function DateRangePicker({
|
|
|
17059
17059
|
// In range background
|
|
17060
17060
|
inRange && "bg-muted",
|
|
17061
17061
|
// Start date
|
|
17062
|
-
start && "bg-foreground text-background hover:bg-foreground rounded-
|
|
17062
|
+
start && "bg-foreground text-background hover:bg-foreground rounded-s-md font-semibold",
|
|
17063
17063
|
// End date
|
|
17064
|
-
end && !start && "border-foreground text-foreground rounded-
|
|
17064
|
+
end && !start && "border-foreground text-foreground rounded-e-md border font-semibold",
|
|
17065
17065
|
// Today indicator (only if not start/end)
|
|
17066
17066
|
today && !start && !end && "font-semibold"
|
|
17067
17067
|
),
|
|
@@ -17093,7 +17093,7 @@ function DateRangePicker({
|
|
|
17093
17093
|
"data-slot": "date-range-trigger",
|
|
17094
17094
|
className: cn(
|
|
17095
17095
|
"border-input bg-background hover:bg-muted",
|
|
17096
|
-
"inline-flex w-[300px] items-center gap-2 rounded-md border px-4 py-2 text-
|
|
17096
|
+
"inline-flex w-[300px] items-center gap-2 rounded-md border px-4 py-2 text-start text-sm font-normal",
|
|
17097
17097
|
"focus:ring-ring focus:ring-2 focus:outline-none",
|
|
17098
17098
|
"transition-colors",
|
|
17099
17099
|
!displayValue && "text-muted-foreground"
|
|
@@ -17241,7 +17241,7 @@ function DateRangePicker({
|
|
|
17241
17241
|
"div",
|
|
17242
17242
|
{
|
|
17243
17243
|
className: cn(
|
|
17244
|
-
"border-border flex w-[200px] shrink-0 flex-col gap-0.5 border-
|
|
17244
|
+
"border-border flex w-[200px] shrink-0 flex-col gap-0.5 border-e p-3",
|
|
17245
17245
|
isResponsive && "hidden md:flex"
|
|
17246
17246
|
),
|
|
17247
17247
|
"data-slot": "date-range-presets",
|
|
@@ -17252,7 +17252,7 @@ function DateRangePicker({
|
|
|
17252
17252
|
onClick: () => handlePresetSelect(preset.key),
|
|
17253
17253
|
"data-slot": "date-range-preset",
|
|
17254
17254
|
className: cn(
|
|
17255
|
-
"rounded-md px-3 py-1.5 text-
|
|
17255
|
+
"rounded-md px-3 py-1.5 text-start text-sm transition-colors",
|
|
17256
17256
|
"hover:bg-muted",
|
|
17257
17257
|
activePreset === preset.key && "bg-primary-800 text-white"
|
|
17258
17258
|
),
|
|
@@ -17391,9 +17391,9 @@ function DateRangeFilter({
|
|
|
17391
17391
|
Dropdown,
|
|
17392
17392
|
{
|
|
17393
17393
|
trigger: /* @__PURE__ */ jsxs(Button, { variant, size: "md", className, children: [
|
|
17394
|
-
/* @__PURE__ */ jsx(Calendar$1, { className: "
|
|
17394
|
+
/* @__PURE__ */ jsx(Calendar$1, { className: "me-2 h-4 w-4" }),
|
|
17395
17395
|
activeLabel || labels.filter || "Filter by Date",
|
|
17396
|
-
/* @__PURE__ */ jsx(ChevronDown$1, { className: "
|
|
17396
|
+
/* @__PURE__ */ jsx(ChevronDown$1, { className: "ms-2 h-3 w-3" })
|
|
17397
17397
|
] }),
|
|
17398
17398
|
className: "w-56",
|
|
17399
17399
|
"data-slot": "date-range-filter",
|
|
@@ -20288,7 +20288,7 @@ function CreateReferralModal({
|
|
|
20288
20288
|
"aria-pressed": isSelected,
|
|
20289
20289
|
"data-slot": "referral-modal-service",
|
|
20290
20290
|
onClick: () => toggleService(service.id),
|
|
20291
|
-
className: `w-full rounded-lg border p-3 text-
|
|
20291
|
+
className: `w-full rounded-lg border p-3 text-start transition-colors ${isSelected ? "border-primary bg-primary/10" : "border-border hover:border-border/80"} `,
|
|
20292
20292
|
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
20293
20293
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
20294
20294
|
/* @__PURE__ */ jsx(
|
|
@@ -20399,7 +20399,7 @@ function CreateReferralModal({
|
|
|
20399
20399
|
selectedServices.size > 1 ? "s" : "",
|
|
20400
20400
|
" selected"
|
|
20401
20401
|
] }) }),
|
|
20402
|
-
/* @__PURE__ */ jsxs("div", { className: "text-
|
|
20402
|
+
/* @__PURE__ */ jsxs("div", { className: "text-end", children: [
|
|
20403
20403
|
/* @__PURE__ */ jsx("p", { className: "text-foreground/70 text-xs", children: "Estimated Total" }),
|
|
20404
20404
|
/* @__PURE__ */ jsxs(
|
|
20405
20405
|
"p",
|
|
@@ -20433,7 +20433,7 @@ function CreateReferralModal({
|
|
|
20433
20433
|
"svg",
|
|
20434
20434
|
{
|
|
20435
20435
|
"aria-hidden": "true",
|
|
20436
|
-
className: "
|
|
20436
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
20437
20437
|
fill: "none",
|
|
20438
20438
|
viewBox: "0 0 24 24",
|
|
20439
20439
|
children: [
|
|
@@ -23614,11 +23614,11 @@ var HealthSurveillance = React13.forwardRef(
|
|
|
23614
23614
|
return /* @__PURE__ */ jsxs(
|
|
23615
23615
|
"div",
|
|
23616
23616
|
{
|
|
23617
|
-
className: cn(level > 0 && "border-border border-
|
|
23617
|
+
className: cn(level > 0 && "border-border border-s-2"),
|
|
23618
23618
|
style: level > 0 ? { marginLeft: (level - 1) * 16 + 2 } : void 0,
|
|
23619
23619
|
children: [
|
|
23620
|
-
isAlt && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground
|
|
23621
|
-
/* @__PURE__ */ jsx("div", { className: cn("space-y-1", level > 0 && "
|
|
23620
|
+
isAlt && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground ps-1 text-[11px] font-medium tracking-wide uppercase", children: "one of" }),
|
|
23621
|
+
/* @__PURE__ */ jsx("div", { className: cn("space-y-1", level > 0 && "ps-3"), children: spec.keys.map((o) => {
|
|
23622
23622
|
const isPending = item.pendingKeys.includes(o);
|
|
23623
23623
|
return /* @__PURE__ */ jsx(
|
|
23624
23624
|
Checkbox,
|
|
@@ -27436,7 +27436,7 @@ function OrderCard({
|
|
|
27436
27436
|
}
|
|
27437
27437
|
)
|
|
27438
27438
|
] }),
|
|
27439
|
-
totalAmount !== void 0 && /* @__PURE__ */ jsx("div", { className: "flex-shrink-0 text-
|
|
27439
|
+
totalAmount !== void 0 && /* @__PURE__ */ jsx("div", { className: "flex-shrink-0 text-end", children: /* @__PURE__ */ jsx("p", { className: "text-foreground font-semibold", children: formatCurrency(totalAmount, currency) }) })
|
|
27440
27440
|
] }),
|
|
27441
27441
|
/* @__PURE__ */ jsx("div", { className: "mb-3", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
27442
27442
|
/* @__PURE__ */ jsx(
|
|
@@ -27517,7 +27517,7 @@ function OrderCard({
|
|
|
27517
27517
|
children: "View Details"
|
|
27518
27518
|
}
|
|
27519
27519
|
),
|
|
27520
|
-
showActions && /* @__PURE__ */ jsxs("div", { className: "
|
|
27520
|
+
showActions && /* @__PURE__ */ jsxs("div", { className: "ms-auto flex gap-2", children: [
|
|
27521
27521
|
onReject && /* @__PURE__ */ jsx(
|
|
27522
27522
|
"button",
|
|
27523
27523
|
{
|
|
@@ -28032,7 +28032,7 @@ function OrderConfirmationWizard({
|
|
|
28032
28032
|
"svg",
|
|
28033
28033
|
{
|
|
28034
28034
|
"aria-hidden": "true",
|
|
28035
|
-
className: "
|
|
28035
|
+
className: "me-1 h-4 w-4",
|
|
28036
28036
|
fill: "none",
|
|
28037
28037
|
stroke: "currentColor",
|
|
28038
28038
|
viewBox: "0 0 24 24",
|
|
@@ -28072,7 +28072,7 @@ function OrderConfirmationWizard({
|
|
|
28072
28072
|
"svg",
|
|
28073
28073
|
{
|
|
28074
28074
|
"aria-hidden": "true",
|
|
28075
|
-
className: "
|
|
28075
|
+
className: "ms-1 h-4 w-4",
|
|
28076
28076
|
fill: "none",
|
|
28077
28077
|
stroke: "currentColor",
|
|
28078
28078
|
viewBox: "0 0 24 24",
|
|
@@ -28099,7 +28099,7 @@ function OrderConfirmationWizard({
|
|
|
28099
28099
|
"svg",
|
|
28100
28100
|
{
|
|
28101
28101
|
"aria-hidden": "true",
|
|
28102
|
-
className: "
|
|
28102
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
28103
28103
|
fill: "none",
|
|
28104
28104
|
viewBox: "0 0 24 24",
|
|
28105
28105
|
children: [
|
|
@@ -28132,7 +28132,7 @@ function OrderConfirmationWizard({
|
|
|
28132
28132
|
"svg",
|
|
28133
28133
|
{
|
|
28134
28134
|
"aria-hidden": "true",
|
|
28135
|
-
className: "
|
|
28135
|
+
className: "ms-1 h-4 w-4",
|
|
28136
28136
|
fill: "none",
|
|
28137
28137
|
stroke: "currentColor",
|
|
28138
28138
|
viewBox: "0 0 24 24",
|
|
@@ -28232,7 +28232,7 @@ function OrderList({
|
|
|
28232
28232
|
{
|
|
28233
28233
|
"data-slot": "order-list-tab-count",
|
|
28234
28234
|
className: cn(
|
|
28235
|
-
"
|
|
28235
|
+
"ms-2 rounded-full px-2 py-0.5 text-xs",
|
|
28236
28236
|
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"
|
|
28237
28237
|
),
|
|
28238
28238
|
children: count
|
|
@@ -28256,7 +28256,7 @@ function OrderList({
|
|
|
28256
28256
|
"svg",
|
|
28257
28257
|
{
|
|
28258
28258
|
"aria-hidden": "true",
|
|
28259
|
-
className: "absolute top-1/2
|
|
28259
|
+
className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400",
|
|
28260
28260
|
fill: "none",
|
|
28261
28261
|
viewBox: "0 0 24 24",
|
|
28262
28262
|
stroke: "currentColor",
|
|
@@ -28278,7 +28278,7 @@ function OrderList({
|
|
|
28278
28278
|
placeholder: searchPlaceholder,
|
|
28279
28279
|
value: searchValue,
|
|
28280
28280
|
onChange: (e) => onSearchChange?.(e.target.value),
|
|
28281
|
-
className: "rounded-lg border border-gray-300 bg-white py-2
|
|
28281
|
+
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"
|
|
28282
28282
|
}
|
|
28283
28283
|
)
|
|
28284
28284
|
] }),
|
|
@@ -28810,7 +28810,7 @@ function OrderLookupForm({
|
|
|
28810
28810
|
"svg",
|
|
28811
28811
|
{
|
|
28812
28812
|
"aria-hidden": "true",
|
|
28813
|
-
className: "
|
|
28813
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
28814
28814
|
fill: "none",
|
|
28815
28815
|
viewBox: "0 0 24 24",
|
|
28816
28816
|
children: [
|
|
@@ -28920,7 +28920,7 @@ function OrderSidebar({
|
|
|
28920
28920
|
"div",
|
|
28921
28921
|
{
|
|
28922
28922
|
"data-slot": "order-sidebar",
|
|
28923
|
-
className: `fixed
|
|
28923
|
+
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}`,
|
|
28924
28924
|
role: "dialog",
|
|
28925
28925
|
"aria-modal": "true",
|
|
28926
28926
|
"aria-label": "Order details",
|
|
@@ -29039,7 +29039,7 @@ function OrderSidebar({
|
|
|
29039
29039
|
"div",
|
|
29040
29040
|
{
|
|
29041
29041
|
"data-slot": "order-sidebar-footer",
|
|
29042
|
-
className: "absolute
|
|
29042
|
+
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",
|
|
29043
29043
|
children: /* @__PURE__ */ jsx("div", { className: "flex flex-wrap gap-2", children: actions.map((action) => /* @__PURE__ */ jsx(
|
|
29044
29044
|
Button,
|
|
29045
29045
|
{
|
|
@@ -29354,7 +29354,7 @@ function PatientOverflowMenu({
|
|
|
29354
29354
|
}
|
|
29355
29355
|
)
|
|
29356
29356
|
] }),
|
|
29357
|
-
/* @__PURE__ */ jsx("div", { className: "border-border my-1 border-t md:my-0 md:border-
|
|
29357
|
+
/* @__PURE__ */ jsx("div", { className: "border-border my-1 border-t md:my-0 md:border-s md:border-t-0" }),
|
|
29358
29358
|
/* @__PURE__ */ jsxs("div", { className: "md:min-w-[26rem]", children: [
|
|
29359
29359
|
/* @__PURE__ */ jsx("div", { className: "px-3 py-1.5", children: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-[11px] font-semibold tracking-wide uppercase", children: "Add" }) }),
|
|
29360
29360
|
/* @__PURE__ */ jsxs("div", { className: "grid grid-cols-1 gap-1 md:grid-cols-2 md:gap-2", children: [
|
|
@@ -29555,7 +29555,7 @@ var PatientHeader = React13.forwardRef(
|
|
|
29555
29555
|
onClick: onBack,
|
|
29556
29556
|
disabled: !onBack,
|
|
29557
29557
|
"aria-label": "Go back",
|
|
29558
|
-
className: "mt-1
|
|
29558
|
+
className: "-ms-2 mt-1 h-8 w-8 shrink-0",
|
|
29559
29559
|
children: /* @__PURE__ */ jsx(ArrowLeft, { size: 18 })
|
|
29560
29560
|
}
|
|
29561
29561
|
),
|
|
@@ -29651,7 +29651,7 @@ var PatientHeader = React13.forwardRef(
|
|
|
29651
29651
|
)
|
|
29652
29652
|
] })
|
|
29653
29653
|
] }),
|
|
29654
|
-
showFlagBanner && patient.flags && patient.flags.length > 0 && /* @__PURE__ */ jsx("div", { className: "border-t border-amber-200 bg-amber-50 px-5 py-1.5 text-
|
|
29654
|
+
showFlagBanner && patient.flags && patient.flags.length > 0 && /* @__PURE__ */ 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(
|
|
29655
29655
|
(flag) => flag.charAt(0).toUpperCase() + flag.slice(1).toLowerCase()
|
|
29656
29656
|
).join(" \xB7 ") }),
|
|
29657
29657
|
/* @__PURE__ */ jsxs(
|
|
@@ -31341,7 +31341,7 @@ function RelevanceControl({
|
|
|
31341
31341
|
onClick: () => onChange(active ? null : relevance),
|
|
31342
31342
|
className: cn(
|
|
31343
31343
|
"px-2 py-1 text-xs font-medium transition-colors",
|
|
31344
|
-
"border-border border-
|
|
31344
|
+
"border-border border-s first:border-s-0",
|
|
31345
31345
|
active ? "bg-primary-800 text-white" : "bg-background text-muted-foreground hover:text-foreground"
|
|
31346
31346
|
),
|
|
31347
31347
|
children: RELEVANCE_LABELS[relevance]
|
|
@@ -31468,7 +31468,7 @@ var PresentingProblems = React13.forwardRef(
|
|
|
31468
31468
|
children: "out of scope"
|
|
31469
31469
|
}
|
|
31470
31470
|
),
|
|
31471
|
-
!readOnly && /* @__PURE__ */ jsx("span", { className: "
|
|
31471
|
+
!readOnly && /* @__PURE__ */ jsx("span", { className: "ms-auto", children: /* @__PURE__ */ jsx(
|
|
31472
31472
|
RelevanceControl,
|
|
31473
31473
|
{
|
|
31474
31474
|
value: relevance,
|
|
@@ -37169,7 +37169,7 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37169
37169
|
/* @__PURE__ */ jsx(
|
|
37170
37170
|
"span",
|
|
37171
37171
|
{
|
|
37172
|
-
className: "bg-muted border-input rounded-
|
|
37172
|
+
className: "bg-muted border-input rounded-s-md border border-e-0 px-3 py-2 text-sm font-medium",
|
|
37173
37173
|
"data-slot": "ref-file-badge",
|
|
37174
37174
|
children: results
|
|
37175
37175
|
}
|
|
@@ -37179,7 +37179,7 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37179
37179
|
{
|
|
37180
37180
|
value: files.map((f) => f.name).join(", "),
|
|
37181
37181
|
readOnly: true,
|
|
37182
|
-
className: "rounded-none border-
|
|
37182
|
+
className: "rounded-none border-s-0 border-e-0",
|
|
37183
37183
|
placeholder: "No files selected"
|
|
37184
37184
|
}
|
|
37185
37185
|
),
|
|
@@ -37198,10 +37198,10 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37198
37198
|
{
|
|
37199
37199
|
type: "button",
|
|
37200
37200
|
variant: "secondary",
|
|
37201
|
-
className: "rounded-
|
|
37201
|
+
className: "rounded-s-none",
|
|
37202
37202
|
onClick: () => fileInputRef.current?.click(),
|
|
37203
37203
|
children: [
|
|
37204
|
-
/* @__PURE__ */ jsx(FileUp, { className: "
|
|
37204
|
+
/* @__PURE__ */ jsx(FileUp, { className: "me-2 h-4 w-4" }),
|
|
37205
37205
|
browseFiles
|
|
37206
37206
|
]
|
|
37207
37207
|
}
|
|
@@ -37219,7 +37219,7 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37219
37219
|
{
|
|
37220
37220
|
type: "button",
|
|
37221
37221
|
onClick: () => removeFile(index),
|
|
37222
|
-
className: "text-muted-foreground hover:text-destructive
|
|
37222
|
+
className: "text-muted-foreground hover:text-destructive ms-2",
|
|
37223
37223
|
"data-slot": "ref-file-remove",
|
|
37224
37224
|
children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
|
|
37225
37225
|
}
|
|
@@ -37393,7 +37393,7 @@ function ResultsEntryModal({
|
|
|
37393
37393
|
"svg",
|
|
37394
37394
|
{
|
|
37395
37395
|
"aria-hidden": "true",
|
|
37396
|
-
className: "
|
|
37396
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
37397
37397
|
fill: "none",
|
|
37398
37398
|
viewBox: "0 0 24 24",
|
|
37399
37399
|
children: [
|
|
@@ -37653,7 +37653,7 @@ function ScheduleCalendar({
|
|
|
37653
37653
|
weekDates.map((date, i) => /* @__PURE__ */ jsxs(
|
|
37654
37654
|
"div",
|
|
37655
37655
|
{
|
|
37656
|
-
className: `flex-1 border-
|
|
37656
|
+
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" : ""}`,
|
|
37657
37657
|
children: [
|
|
37658
37658
|
/* @__PURE__ */ jsx(
|
|
37659
37659
|
"p",
|
|
@@ -37685,7 +37685,7 @@ function ScheduleCalendar({
|
|
|
37685
37685
|
children: hours.map((hour) => /* @__PURE__ */ jsx(
|
|
37686
37686
|
"div",
|
|
37687
37687
|
{
|
|
37688
|
-
className: "text-muted-foreground h-16
|
|
37688
|
+
className: "text-muted-foreground h-16 pe-2 text-end text-xs",
|
|
37689
37689
|
children: new Date(2e3, 0, 1, hour).toLocaleTimeString("en-US", {
|
|
37690
37690
|
hour: "numeric",
|
|
37691
37691
|
hour12: true
|
|
@@ -37700,7 +37700,7 @@ function ScheduleCalendar({
|
|
|
37700
37700
|
return /* @__PURE__ */ jsxs(
|
|
37701
37701
|
"div",
|
|
37702
37702
|
{
|
|
37703
|
-
className: `relative flex-1 border-
|
|
37703
|
+
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" : ""}`,
|
|
37704
37704
|
children: [
|
|
37705
37705
|
hours.map((hour) => /* @__PURE__ */ jsx(
|
|
37706
37706
|
"div",
|
|
@@ -37736,7 +37736,7 @@ function ScheduleCalendar({
|
|
|
37736
37736
|
role: "button",
|
|
37737
37737
|
tabIndex: 0,
|
|
37738
37738
|
"aria-label": `${appointment.patientName || appointment.title}, ${formatTime4(appointment.startTime)}`,
|
|
37739
|
-
className: `absolute
|
|
37739
|
+
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)}`,
|
|
37740
37740
|
style: {
|
|
37741
37741
|
top: position.top,
|
|
37742
37742
|
height: position.height,
|