@mieweb/ui 0.8.0-dev.5 → 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-E6BQVAHF.cjs → chunk-4GCF2ITV.cjs} +33 -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-P3HQQNV3.js → chunk-IGLVKTXA.js} +33 -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 +183 -184
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +146 -147
- 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-E6BQVAHF.cjs.map +0 -1
- package/dist/chunk-P3HQQNV3.js.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
|
),
|
|
@@ -13196,7 +13196,7 @@ function CheckrIntegration({
|
|
|
13196
13196
|
/* @__PURE__ */ jsx("h3", { className: "text-foreground text-lg font-semibold", children: "Checkr" }),
|
|
13197
13197
|
connected && account?.name && /* @__PURE__ */ jsxs("p", { className: "text-muted-foreground text-sm", children: [
|
|
13198
13198
|
account.name,
|
|
13199
|
-
account.plan && /* @__PURE__ */ jsxs("span", { className: "
|
|
13199
|
+
account.plan && /* @__PURE__ */ jsxs("span", { className: "ms-2 text-xs", children: [
|
|
13200
13200
|
"(",
|
|
13201
13201
|
account.plan,
|
|
13202
13202
|
")"
|
|
@@ -13209,7 +13209,7 @@ function CheckrIntegration({
|
|
|
13209
13209
|
"svg",
|
|
13210
13210
|
{
|
|
13211
13211
|
"aria-hidden": "true",
|
|
13212
|
-
className: "
|
|
13212
|
+
className: "me-2 h-4 w-4",
|
|
13213
13213
|
fill: "none",
|
|
13214
13214
|
viewBox: "0 0 24 24",
|
|
13215
13215
|
stroke: "currentColor",
|
|
@@ -13239,7 +13239,7 @@ function CheckrIntegration({
|
|
|
13239
13239
|
"svg",
|
|
13240
13240
|
{
|
|
13241
13241
|
"aria-hidden": "true",
|
|
13242
|
-
className: "
|
|
13242
|
+
className: "me-2 inline-block h-4 w-4",
|
|
13243
13243
|
fill: "none",
|
|
13244
13244
|
viewBox: "0 0 24 24",
|
|
13245
13245
|
stroke: "currentColor",
|
|
@@ -13288,7 +13288,7 @@ function CheckrIntegration({
|
|
|
13288
13288
|
"svg",
|
|
13289
13289
|
{
|
|
13290
13290
|
"aria-hidden": "true",
|
|
13291
|
-
className: "
|
|
13291
|
+
className: "me-2 h-4 w-4",
|
|
13292
13292
|
fill: "none",
|
|
13293
13293
|
viewBox: "0 0 24 24",
|
|
13294
13294
|
stroke: "currentColor",
|
|
@@ -13310,7 +13310,7 @@ function CheckrIntegration({
|
|
|
13310
13310
|
"svg",
|
|
13311
13311
|
{
|
|
13312
13312
|
"aria-hidden": "true",
|
|
13313
|
-
className: "
|
|
13313
|
+
className: "me-2 h-4 w-4",
|
|
13314
13314
|
fill: "none",
|
|
13315
13315
|
viewBox: "0 0 24 24",
|
|
13316
13316
|
stroke: "currentColor",
|
|
@@ -13389,7 +13389,7 @@ function CheckrIntegration({
|
|
|
13389
13389
|
report.packageName && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: report.packageName })
|
|
13390
13390
|
] })
|
|
13391
13391
|
] }),
|
|
13392
|
-
/* @__PURE__ */ jsxs("div", { className: "text-
|
|
13392
|
+
/* @__PURE__ */ jsxs("div", { className: "text-end", children: [
|
|
13393
13393
|
/* @__PURE__ */ jsx(
|
|
13394
13394
|
"span",
|
|
13395
13395
|
{
|
|
@@ -13512,7 +13512,7 @@ function CheckrIntegration({
|
|
|
13512
13512
|
"svg",
|
|
13513
13513
|
{
|
|
13514
13514
|
"aria-hidden": "true",
|
|
13515
|
-
className: "
|
|
13515
|
+
className: "me-2 h-4 w-4",
|
|
13516
13516
|
fill: "none",
|
|
13517
13517
|
viewBox: "0 0 24 24",
|
|
13518
13518
|
stroke: "currentColor",
|
|
@@ -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",
|
|
@@ -19675,7 +19675,7 @@ function ClaimProviderForm({
|
|
|
19675
19675
|
"svg",
|
|
19676
19676
|
{
|
|
19677
19677
|
"aria-hidden": "true",
|
|
19678
|
-
className: "
|
|
19678
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
19679
19679
|
fill: "none",
|
|
19680
19680
|
viewBox: "0 0 24 24",
|
|
19681
19681
|
children: [
|
|
@@ -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: [
|
|
@@ -21461,7 +21461,7 @@ function EmployerContactCard({
|
|
|
21461
21461
|
"svg",
|
|
21462
21462
|
{
|
|
21463
21463
|
"aria-hidden": "true",
|
|
21464
|
-
className: "
|
|
21464
|
+
className: "me-1 h-4 w-4",
|
|
21465
21465
|
fill: "none",
|
|
21466
21466
|
stroke: "currentColor",
|
|
21467
21467
|
viewBox: "0 0 24 24",
|
|
@@ -21669,7 +21669,7 @@ function EmployerList({
|
|
|
21669
21669
|
"svg",
|
|
21670
21670
|
{
|
|
21671
21671
|
"aria-hidden": "true",
|
|
21672
|
-
className: "absolute top-1/2
|
|
21672
|
+
className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400",
|
|
21673
21673
|
fill: "none",
|
|
21674
21674
|
stroke: "currentColor",
|
|
21675
21675
|
viewBox: "0 0 24 24",
|
|
@@ -21691,7 +21691,7 @@ function EmployerList({
|
|
|
21691
21691
|
placeholder: "Search employers...",
|
|
21692
21692
|
value: searchQuery,
|
|
21693
21693
|
onChange: handleSearch,
|
|
21694
|
-
className: "
|
|
21694
|
+
className: "ps-9"
|
|
21695
21695
|
}
|
|
21696
21696
|
)
|
|
21697
21697
|
] }),
|
|
@@ -21700,7 +21700,7 @@ function EmployerList({
|
|
|
21700
21700
|
"svg",
|
|
21701
21701
|
{
|
|
21702
21702
|
"aria-hidden": "true",
|
|
21703
|
-
className: "
|
|
21703
|
+
className: "me-1 h-4 w-4",
|
|
21704
21704
|
fill: "none",
|
|
21705
21705
|
stroke: "currentColor",
|
|
21706
21706
|
viewBox: "0 0 24 24",
|
|
@@ -21888,7 +21888,7 @@ function EmployerPricingCard({
|
|
|
21888
21888
|
/* @__PURE__ */ jsx(CardTitle, { className: "text-base font-semibold", children: serviceName }),
|
|
21889
21889
|
!isActive && /* @__PURE__ */ jsx(Badge, { variant: "secondary", className: "mt-1", children: "Inactive" })
|
|
21890
21890
|
] }),
|
|
21891
|
-
/* @__PURE__ */ jsxs("div", { "data-slot": "employer-pricing-base-price", className: "text-
|
|
21891
|
+
/* @__PURE__ */ jsxs("div", { "data-slot": "employer-pricing-base-price", className: "text-end", children: [
|
|
21892
21892
|
/* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: formatPrice(basePrice) }),
|
|
21893
21893
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "base price" })
|
|
21894
21894
|
] })
|
|
@@ -21937,7 +21937,7 @@ function EmployerPricingCard({
|
|
|
21937
21937
|
"svg",
|
|
21938
21938
|
{
|
|
21939
21939
|
"aria-hidden": "true",
|
|
21940
|
-
className: "
|
|
21940
|
+
className: "me-1 h-3.5 w-3.5",
|
|
21941
21941
|
fill: "none",
|
|
21942
21942
|
stroke: "currentColor",
|
|
21943
21943
|
viewBox: "0 0 24 24",
|
|
@@ -21959,7 +21959,7 @@ function EmployerPricingCard({
|
|
|
21959
21959
|
"svg",
|
|
21960
21960
|
{
|
|
21961
21961
|
"aria-hidden": "true",
|
|
21962
|
-
className: "
|
|
21962
|
+
className: "me-1 h-3.5 w-3.5 text-red-500",
|
|
21963
21963
|
fill: "none",
|
|
21964
21964
|
stroke: "currentColor",
|
|
21965
21965
|
viewBox: "0 0 24 24",
|
|
@@ -22176,7 +22176,7 @@ function EmployerView({
|
|
|
22176
22176
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: order.patientName }),
|
|
22177
22177
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: order.services.join(", ") })
|
|
22178
22178
|
] }),
|
|
22179
|
-
/* @__PURE__ */ jsxs("div", { className: "text-
|
|
22179
|
+
/* @__PURE__ */ jsxs("div", { className: "text-end", children: [
|
|
22180
22180
|
/* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(order.status), children: order.status }),
|
|
22181
22181
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: formatDate4(order.createdDate) })
|
|
22182
22182
|
] }),
|
|
@@ -22212,7 +22212,7 @@ function EmployerView({
|
|
|
22212
22212
|
formatDate4(invoice.dueDate)
|
|
22213
22213
|
] })
|
|
22214
22214
|
] }),
|
|
22215
|
-
/* @__PURE__ */ jsxs("div", { className: "text-
|
|
22215
|
+
/* @__PURE__ */ jsxs("div", { className: "text-end", children: [
|
|
22216
22216
|
/* @__PURE__ */ jsx("p", { className: "font-semibold text-gray-900 dark:text-white", children: formatCurrency3(invoice.amount) }),
|
|
22217
22217
|
/* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(invoice.status), children: invoice.status })
|
|
22218
22218
|
] }),
|
|
@@ -22387,7 +22387,7 @@ function EmployerServiceModal({
|
|
|
22387
22387
|
!config.useBasePrice && /* @__PURE__ */ jsxs(
|
|
22388
22388
|
"div",
|
|
22389
22389
|
{
|
|
22390
|
-
className: "border-border
|
|
22390
|
+
className: "border-border ms-4 border-s-2 ps-4",
|
|
22391
22391
|
"data-slot": "employer-service-indent",
|
|
22392
22392
|
children: [
|
|
22393
22393
|
/* @__PURE__ */ jsx(
|
|
@@ -22403,7 +22403,7 @@ function EmployerServiceModal({
|
|
|
22403
22403
|
/* @__PURE__ */ jsx(
|
|
22404
22404
|
"span",
|
|
22405
22405
|
{
|
|
22406
|
-
className: "text-muted-foreground absolute top-1/2
|
|
22406
|
+
className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2",
|
|
22407
22407
|
"data-slot": "employer-service-price-prefix",
|
|
22408
22408
|
children: "$"
|
|
22409
22409
|
}
|
|
@@ -22416,7 +22416,7 @@ function EmployerServiceModal({
|
|
|
22416
22416
|
min: "0",
|
|
22417
22417
|
step: "0.01",
|
|
22418
22418
|
"data-slot": "employer-service-price-input",
|
|
22419
|
-
className: "border-input bg-background text-foreground focus:ring-ring w-full rounded-md border py-2
|
|
22419
|
+
className: "border-input bg-background text-foreground focus:ring-ring w-full rounded-md border py-2 ps-7 pe-4 shadow-sm focus:ring-2 focus:outline-none",
|
|
22420
22420
|
value: config.customPrice ?? "",
|
|
22421
22421
|
onChange: (e) => setConfig((prev) => ({
|
|
22422
22422
|
...prev,
|
|
@@ -22524,7 +22524,7 @@ function EmployerServiceModal({
|
|
|
22524
22524
|
config.notifyOnOrder && /* @__PURE__ */ jsx(
|
|
22525
22525
|
"div",
|
|
22526
22526
|
{
|
|
22527
|
-
className: "border-border
|
|
22527
|
+
className: "border-border ms-4 border-s-2 ps-4",
|
|
22528
22528
|
"data-slot": "employer-service-indent",
|
|
22529
22529
|
children: /* @__PURE__ */ jsx(
|
|
22530
22530
|
Input,
|
|
@@ -22582,7 +22582,7 @@ function EmployerServiceModal({
|
|
|
22582
22582
|
"svg",
|
|
22583
22583
|
{
|
|
22584
22584
|
"aria-hidden": "true",
|
|
22585
|
-
className: "
|
|
22585
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
22586
22586
|
"data-slot": "employer-service-spinner",
|
|
22587
22587
|
fill: "none",
|
|
22588
22588
|
viewBox: "0 0 24 24",
|
|
@@ -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,
|
|
@@ -24304,7 +24304,7 @@ function HRISProviderSelector({
|
|
|
24304
24304
|
className: "border-border bg-card text-foreground hover:bg-muted rounded-lg border px-4 py-2",
|
|
24305
24305
|
"data-slot": "hris-connected-btn",
|
|
24306
24306
|
children: [
|
|
24307
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-link-slash
|
|
24307
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-link-slash me-2" }),
|
|
24308
24308
|
disconnect
|
|
24309
24309
|
]
|
|
24310
24310
|
}
|
|
@@ -24317,7 +24317,7 @@ function HRISProviderSelector({
|
|
|
24317
24317
|
className: "bg-primary-800 hover:bg-primary-900 rounded-lg px-4 py-2 text-white",
|
|
24318
24318
|
"data-slot": "hris-connected-btn-primary",
|
|
24319
24319
|
children: [
|
|
24320
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-rotate
|
|
24320
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-rotate me-2" }),
|
|
24321
24321
|
refreshSync
|
|
24322
24322
|
]
|
|
24323
24323
|
}
|
|
@@ -24334,7 +24334,7 @@ function HRISProviderSelector({
|
|
|
24334
24334
|
/* @__PURE__ */ jsx(
|
|
24335
24335
|
"span",
|
|
24336
24336
|
{
|
|
24337
|
-
className: "text-muted-foreground absolute top-1/2
|
|
24337
|
+
className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2",
|
|
24338
24338
|
"data-slot": "hris-search-icon",
|
|
24339
24339
|
children: /* @__PURE__ */ jsx("i", { className: "fas fa-search" })
|
|
24340
24340
|
}
|
|
@@ -24346,7 +24346,7 @@ function HRISProviderSelector({
|
|
|
24346
24346
|
placeholder: search,
|
|
24347
24347
|
value: searchQuery,
|
|
24348
24348
|
onChange: (e) => onSearchChange?.(e.target.value),
|
|
24349
|
-
className: "focus:border-primary focus:ring-primary border-input bg-background text-foreground placeholder:text-muted-foreground w-full rounded-lg border py-2
|
|
24349
|
+
className: "focus:border-primary focus:ring-primary border-input bg-background text-foreground placeholder:text-muted-foreground w-full rounded-lg border py-2 ps-10 pe-4 focus:ring-1 focus:outline-none",
|
|
24350
24350
|
"data-slot": "hris-search-input"
|
|
24351
24351
|
}
|
|
24352
24352
|
)
|
|
@@ -27061,7 +27061,7 @@ function OnboardingWizard({
|
|
|
27061
27061
|
/* @__PURE__ */ jsxs(
|
|
27062
27062
|
"div",
|
|
27063
27063
|
{
|
|
27064
|
-
className: "
|
|
27064
|
+
className: "ms-3 hidden flex-col lg:flex",
|
|
27065
27065
|
"data-slot": "onboarding-header-brand",
|
|
27066
27066
|
children: [
|
|
27067
27067
|
/* @__PURE__ */ jsx("span", { className: "text-lg font-semibold", children: brandName }),
|
|
@@ -27228,7 +27228,7 @@ function OnboardingStepQuestion({
|
|
|
27228
27228
|
onClick: () => onSelect?.(option.id),
|
|
27229
27229
|
className: "rounded-full",
|
|
27230
27230
|
children: [
|
|
27231
|
-
option.icon && /* @__PURE__ */ jsx("i", { className: cn(option.icon, "
|
|
27231
|
+
option.icon && /* @__PURE__ */ jsx("i", { className: cn(option.icon, "me-2") }),
|
|
27232
27232
|
option.label
|
|
27233
27233
|
]
|
|
27234
27234
|
},
|
|
@@ -27256,7 +27256,7 @@ function OnboardingCompletion({
|
|
|
27256
27256
|
className: "text-foreground mb-0 text-2xl",
|
|
27257
27257
|
"data-slot": "onboarding-completion-title",
|
|
27258
27258
|
children: [
|
|
27259
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-check-circle
|
|
27259
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-check-circle me-2 text-green-500" }),
|
|
27260
27260
|
"Setup complete!"
|
|
27261
27261
|
]
|
|
27262
27262
|
}
|
|
@@ -27277,15 +27277,15 @@ function OnboardingCompletion({
|
|
|
27277
27277
|
"data-slot": "onboarding-completion-actions",
|
|
27278
27278
|
children: [
|
|
27279
27279
|
/* @__PURE__ */ jsxs(Button, { variant: "primary", onClick: onStartOrder, children: [
|
|
27280
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-shopping-cart
|
|
27280
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-shopping-cart me-2" }),
|
|
27281
27281
|
"Start your first order"
|
|
27282
27282
|
] }),
|
|
27283
27283
|
/* @__PURE__ */ jsxs(Button, { variant: "outline", onClick: onGoToDashboard, children: [
|
|
27284
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-tachometer-alt
|
|
27284
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-tachometer-alt me-2" }),
|
|
27285
27285
|
"Go to Dashboard"
|
|
27286
27286
|
] }),
|
|
27287
27287
|
/* @__PURE__ */ jsxs(Button, { variant: "outline", onClick: onGoToEmployees, children: [
|
|
27288
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-users
|
|
27288
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-users me-2" }),
|
|
27289
27289
|
"Go to Employees"
|
|
27290
27290
|
] })
|
|
27291
27291
|
]
|
|
@@ -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,
|
|
@@ -33911,7 +33911,7 @@ var ProviderSearchBar = React13.forwardRef(
|
|
|
33911
33911
|
className: cn(
|
|
33912
33912
|
"border-0 shadow-none focus-visible:ring-0 focus-visible:ring-offset-0",
|
|
33913
33913
|
"w-full",
|
|
33914
|
-
onGeolocate ? "
|
|
33914
|
+
onGeolocate ? "ps-0" : "ps-3"
|
|
33915
33915
|
)
|
|
33916
33916
|
}
|
|
33917
33917
|
) }),
|
|
@@ -34014,7 +34014,7 @@ var inputVariants3 = cva(
|
|
|
34014
34014
|
{
|
|
34015
34015
|
variants: {
|
|
34016
34016
|
hasIcon: {
|
|
34017
|
-
true: "
|
|
34017
|
+
true: "ps-10",
|
|
34018
34018
|
false: ""
|
|
34019
34019
|
}
|
|
34020
34020
|
},
|
|
@@ -34028,10 +34028,9 @@ var selectVariants = cva([
|
|
|
34028
34028
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2",
|
|
34029
34029
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
34030
34030
|
"dark:border-neutral-700 dark:bg-neutral-900 dark:text-neutral-100",
|
|
34031
|
-
"appearance-none bg-no-repeat bg-right
|
|
34031
|
+
"appearance-none bg-no-repeat bg-right rtl:bg-left pe-8",
|
|
34032
34032
|
'bg-[url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3e%3cpath stroke=%27%236b7280%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%271.5%27 d=%27M6 8l4 4 4-4%27/%3e%3c/svg%3e")]',
|
|
34033
|
-
"bg-[length:1.5em_1.5em]"
|
|
34034
|
-
"bg-[right_0.5rem_center]"
|
|
34033
|
+
"bg-[length:1.5em_1.5em]"
|
|
34035
34034
|
]);
|
|
34036
34035
|
var labelVariants2 = cva([
|
|
34037
34036
|
"text-sm font-medium text-neutral-700 dark:text-neutral-300",
|
|
@@ -34109,7 +34108,7 @@ function InputField({ label, icon, className, id, ...props }) {
|
|
|
34109
34108
|
return /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
34110
34109
|
label && /* @__PURE__ */ jsx("label", { htmlFor: inputId, className: labelVariants2(), children: label }),
|
|
34111
34110
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
34112
|
-
icon && /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-y-0
|
|
34111
|
+
icon && /* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-y-0 start-0 flex items-center ps-3 text-neutral-400", children: icon }),
|
|
34113
34112
|
/* @__PURE__ */ jsx(
|
|
34114
34113
|
"input",
|
|
34115
34114
|
{
|
|
@@ -34260,7 +34259,7 @@ function ServiceMultiSelect({
|
|
|
34260
34259
|
"aria-labelledby": label ? void 0 : "services-label",
|
|
34261
34260
|
className: cn(
|
|
34262
34261
|
selectVariants(),
|
|
34263
|
-
"w-full text-
|
|
34262
|
+
"w-full text-start",
|
|
34264
34263
|
!selectedServices.length && "text-muted-foreground",
|
|
34265
34264
|
disabled && "cursor-not-allowed opacity-50"
|
|
34266
34265
|
),
|
|
@@ -34291,11 +34290,11 @@ function ServiceMultiSelect({
|
|
|
34291
34290
|
value: searchTerm,
|
|
34292
34291
|
onChange: (e) => setSearchTerm(e.target.value),
|
|
34293
34292
|
placeholder: "Search services...",
|
|
34294
|
-
className: cn(inputVariants3({ hasIcon: true }), "
|
|
34293
|
+
className: cn(inputVariants3({ hasIcon: true }), "ps-8"),
|
|
34295
34294
|
autoFocus: true
|
|
34296
34295
|
}
|
|
34297
34296
|
),
|
|
34298
|
-
/* @__PURE__ */ jsx(SearchIcon4, { className: "absolute top-1/2
|
|
34297
|
+
/* @__PURE__ */ jsx(SearchIcon4, { className: "absolute start-4 top-1/2 -translate-y-1/2 text-neutral-400" })
|
|
34299
34298
|
] }),
|
|
34300
34299
|
Object.entries(groupedServices).length > 0 ? Object.entries(groupedServices).map(
|
|
34301
34300
|
([category, categoryServices]) => /* @__PURE__ */ jsxs("div", { children: [
|
|
@@ -34312,7 +34311,7 @@ function ServiceMultiSelect({
|
|
|
34312
34311
|
"aria-selected": isSelected,
|
|
34313
34312
|
onClick: () => handleToggleService(service.value),
|
|
34314
34313
|
className: cn(
|
|
34315
|
-
"flex w-full items-center justify-between px-3 py-2 text-
|
|
34314
|
+
"flex w-full items-center justify-between px-3 py-2 text-start text-sm",
|
|
34316
34315
|
"hover:bg-neutral-100 dark:hover:bg-neutral-700",
|
|
34317
34316
|
isSelected && "bg-primary-50 dark:bg-primary-900/20"
|
|
34318
34317
|
),
|
|
@@ -34496,7 +34495,7 @@ function CompactFilterBar({
|
|
|
34496
34495
|
"data-slot": "provider-compact-filter",
|
|
34497
34496
|
children: [
|
|
34498
34497
|
/* @__PURE__ */ jsx("div", { className: "min-w-[150px] flex-1", children: /* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
34499
|
-
/* @__PURE__ */ jsx(SearchIcon4, { className: "absolute top-1/2
|
|
34498
|
+
/* @__PURE__ */ jsx(SearchIcon4, { className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-neutral-400" }),
|
|
34500
34499
|
/* @__PURE__ */ jsx(
|
|
34501
34500
|
"input",
|
|
34502
34501
|
{
|
|
@@ -34506,7 +34505,7 @@ function CompactFilterBar({
|
|
|
34506
34505
|
onChange: (e) => handleFieldChange("searchPhrase", e.target.value),
|
|
34507
34506
|
disabled: loading,
|
|
34508
34507
|
className: cn(
|
|
34509
|
-
"h-9 w-full rounded-md border border-neutral-200
|
|
34508
|
+
"h-9 w-full rounded-md border border-neutral-200 ps-9 pe-3 text-sm",
|
|
34510
34509
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
34511
34510
|
"dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
|
|
34512
34511
|
)
|
|
@@ -34529,7 +34528,7 @@ function CompactFilterBar({
|
|
|
34529
34528
|
},
|
|
34530
34529
|
disabled: loading,
|
|
34531
34530
|
className: cn(
|
|
34532
|
-
"h-9 w-20 rounded-
|
|
34531
|
+
"h-9 w-20 rounded-s-md border border-neutral-200 px-3 text-sm",
|
|
34533
34532
|
"focus:ring-primary-500 focus:z-10 focus:ring-2 focus:outline-none",
|
|
34534
34533
|
"dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
|
|
34535
34534
|
)
|
|
@@ -34543,7 +34542,7 @@ function CompactFilterBar({
|
|
|
34543
34542
|
disabled: loading,
|
|
34544
34543
|
"aria-label": "Search radius",
|
|
34545
34544
|
className: cn(
|
|
34546
|
-
"h-9 rounded-
|
|
34545
|
+
"h-9 rounded-e-md border border-s-0 border-neutral-200 px-2 text-sm",
|
|
34547
34546
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
34548
34547
|
"dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
|
|
34549
34548
|
),
|
|
@@ -34689,7 +34688,7 @@ function ActiveFilters({
|
|
|
34689
34688
|
{
|
|
34690
34689
|
type: "button",
|
|
34691
34690
|
onClick: filter.onClear,
|
|
34692
|
-
className: "
|
|
34691
|
+
className: "ms-1 rounded-full p-0.5 hover:bg-neutral-200 dark:hover:bg-neutral-600",
|
|
34693
34692
|
"aria-label": `Remove filter: ${filter.label}`,
|
|
34694
34693
|
children: /* @__PURE__ */ jsx(XMarkIcon, { className: "h-3 w-3" })
|
|
34695
34694
|
}
|
|
@@ -34792,7 +34791,7 @@ function ProviderSelector({
|
|
|
34792
34791
|
onClick: () => !disabled && setIsOpen(!isOpen),
|
|
34793
34792
|
disabled,
|
|
34794
34793
|
className: cn(
|
|
34795
|
-
"flex w-full items-center gap-3 rounded-lg border px-3 text-
|
|
34794
|
+
"flex w-full items-center gap-3 rounded-lg border px-3 text-start transition-colors",
|
|
34796
34795
|
"bg-background text-foreground",
|
|
34797
34796
|
"border-input",
|
|
34798
34797
|
"hover:border-muted-foreground/50",
|
|
@@ -34909,7 +34908,7 @@ function ProviderSelector({
|
|
|
34909
34908
|
"svg",
|
|
34910
34909
|
{
|
|
34911
34910
|
"aria-hidden": "true",
|
|
34912
|
-
className: "text-muted-foreground absolute top-1/2
|
|
34911
|
+
className: "text-muted-foreground absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2",
|
|
34913
34912
|
fill: "none",
|
|
34914
34913
|
viewBox: "0 0 24 24",
|
|
34915
34914
|
stroke: "currentColor",
|
|
@@ -34932,7 +34931,7 @@ function ProviderSelector({
|
|
|
34932
34931
|
placeholder: searchPlaceholder,
|
|
34933
34932
|
value: searchQuery,
|
|
34934
34933
|
onChange: (e) => setSearchQuery(e.target.value),
|
|
34935
|
-
className: "border-input bg-background text-foreground placeholder:text-muted-foreground focus:ring-ring w-full rounded-md border py-2
|
|
34934
|
+
className: "border-input bg-background text-foreground placeholder:text-muted-foreground focus:ring-ring w-full rounded-md border py-2 ps-9 pe-4 text-sm focus:ring-1 focus:outline-none",
|
|
34936
34935
|
autoFocus: true
|
|
34937
34936
|
}
|
|
34938
34937
|
)
|
|
@@ -34944,7 +34943,7 @@ function ProviderSelector({
|
|
|
34944
34943
|
"data-slot": "provider-selector-option",
|
|
34945
34944
|
onClick: () => handleSelect(provider),
|
|
34946
34945
|
className: cn(
|
|
34947
|
-
"flex w-full items-center gap-3 px-4 py-3 text-
|
|
34946
|
+
"flex w-full items-center gap-3 px-4 py-3 text-start transition-colors",
|
|
34948
34947
|
"hover:bg-muted",
|
|
34949
34948
|
selectedProvider?.id === provider.id && "bg-primary/10"
|
|
34950
34949
|
),
|
|
@@ -35868,7 +35867,7 @@ function ProviderUsersTable({
|
|
|
35868
35867
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
35869
35868
|
/* @__PURE__ */ jsxs("p", { className: "font-medium text-gray-900 dark:text-white", children: [
|
|
35870
35869
|
user.name,
|
|
35871
|
-
isCurrentUser && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
35870
|
+
isCurrentUser && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground ms-1.5 text-xs", children: "(you)" })
|
|
35872
35871
|
] }),
|
|
35873
35872
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: user.email })
|
|
35874
35873
|
] })
|
|
@@ -35876,7 +35875,7 @@ function ProviderUsersTable({
|
|
|
35876
35875
|
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-sm text-gray-700 dark:text-gray-300", children: user.role }) }),
|
|
35877
35876
|
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(user.status), children: user.status || "active" }) }),
|
|
35878
35877
|
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm", children: isPending ? `Invited ${formatDate4(user.invitedAt)}` : formatDate4(user.lastActive) }) }),
|
|
35879
|
-
showActions && /* @__PURE__ */ jsx(TableCell, { className: "text-
|
|
35878
|
+
showActions && /* @__PURE__ */ jsx(TableCell, { className: "text-end", children: /* @__PURE__ */ jsx(
|
|
35880
35879
|
RowActionsMenu,
|
|
35881
35880
|
{
|
|
35882
35881
|
user,
|
|
@@ -36190,11 +36189,11 @@ function RecurringServiceCard({
|
|
|
36190
36189
|
)
|
|
36191
36190
|
] }),
|
|
36192
36191
|
effectiveState === "warning" && /* @__PURE__ */ jsxs("div", { className: "bg-warning/10 text-warning-800 dark:text-warning-200 rounded-md px-3 py-2 text-xs", children: [
|
|
36193
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-exclamation-triangle
|
|
36192
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-exclamation-triangle me-1" }),
|
|
36194
36193
|
consentNote
|
|
36195
36194
|
] }),
|
|
36196
36195
|
effectiveState === "error" && /* @__PURE__ */ jsxs("div", { className: "bg-destructive/10 text-destructive-800 dark:text-destructive-200 rounded-md px-3 py-2 text-xs", children: [
|
|
36197
|
-
/* @__PURE__ */ jsx("i", { className: "fas fa-times-circle
|
|
36196
|
+
/* @__PURE__ */ jsx("i", { className: "fas fa-times-circle me-1" }),
|
|
36198
36197
|
consentNote
|
|
36199
36198
|
] }),
|
|
36200
36199
|
!isDisabled && /* @__PURE__ */ jsxs(
|
|
@@ -36421,7 +36420,7 @@ function RecurringServiceSetupModal({
|
|
|
36421
36420
|
),
|
|
36422
36421
|
/* @__PURE__ */ jsx("span", { className: "text-sm", children: overrideConsent })
|
|
36423
36422
|
] }),
|
|
36424
|
-
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground
|
|
36423
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground ms-6 text-xs", children: overrideConsentNote })
|
|
36425
36424
|
] }),
|
|
36426
36425
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-end gap-2", children: [
|
|
36427
36426
|
/* @__PURE__ */ jsx(
|
|
@@ -37170,7 +37169,7 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37170
37169
|
/* @__PURE__ */ jsx(
|
|
37171
37170
|
"span",
|
|
37172
37171
|
{
|
|
37173
|
-
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",
|
|
37174
37173
|
"data-slot": "ref-file-badge",
|
|
37175
37174
|
children: results
|
|
37176
37175
|
}
|
|
@@ -37180,7 +37179,7 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37180
37179
|
{
|
|
37181
37180
|
value: files.map((f) => f.name).join(", "),
|
|
37182
37181
|
readOnly: true,
|
|
37183
|
-
className: "rounded-none border-
|
|
37182
|
+
className: "rounded-none border-s-0 border-e-0",
|
|
37184
37183
|
placeholder: "No files selected"
|
|
37185
37184
|
}
|
|
37186
37185
|
),
|
|
@@ -37199,10 +37198,10 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37199
37198
|
{
|
|
37200
37199
|
type: "button",
|
|
37201
37200
|
variant: "secondary",
|
|
37202
|
-
className: "rounded-
|
|
37201
|
+
className: "rounded-s-none",
|
|
37203
37202
|
onClick: () => fileInputRef.current?.click(),
|
|
37204
37203
|
children: [
|
|
37205
|
-
/* @__PURE__ */ jsx(FileUp, { className: "
|
|
37204
|
+
/* @__PURE__ */ jsx(FileUp, { className: "me-2 h-4 w-4" }),
|
|
37206
37205
|
browseFiles
|
|
37207
37206
|
]
|
|
37208
37207
|
}
|
|
@@ -37220,7 +37219,7 @@ var ResultsEntryForm = React13.forwardRef(function ResultsEntryForm2({
|
|
|
37220
37219
|
{
|
|
37221
37220
|
type: "button",
|
|
37222
37221
|
onClick: () => removeFile(index),
|
|
37223
|
-
className: "text-muted-foreground hover:text-destructive
|
|
37222
|
+
className: "text-muted-foreground hover:text-destructive ms-2",
|
|
37224
37223
|
"data-slot": "ref-file-remove",
|
|
37225
37224
|
children: /* @__PURE__ */ jsx(X, { className: "h-4 w-4" })
|
|
37226
37225
|
}
|
|
@@ -37394,7 +37393,7 @@ function ResultsEntryModal({
|
|
|
37394
37393
|
"svg",
|
|
37395
37394
|
{
|
|
37396
37395
|
"aria-hidden": "true",
|
|
37397
|
-
className: "
|
|
37396
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
37398
37397
|
fill: "none",
|
|
37399
37398
|
viewBox: "0 0 24 24",
|
|
37400
37399
|
children: [
|
|
@@ -37654,7 +37653,7 @@ function ScheduleCalendar({
|
|
|
37654
37653
|
weekDates.map((date, i) => /* @__PURE__ */ jsxs(
|
|
37655
37654
|
"div",
|
|
37656
37655
|
{
|
|
37657
|
-
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" : ""}`,
|
|
37658
37657
|
children: [
|
|
37659
37658
|
/* @__PURE__ */ jsx(
|
|
37660
37659
|
"p",
|
|
@@ -37686,7 +37685,7 @@ function ScheduleCalendar({
|
|
|
37686
37685
|
children: hours.map((hour) => /* @__PURE__ */ jsx(
|
|
37687
37686
|
"div",
|
|
37688
37687
|
{
|
|
37689
|
-
className: "text-muted-foreground h-16
|
|
37688
|
+
className: "text-muted-foreground h-16 pe-2 text-end text-xs",
|
|
37690
37689
|
children: new Date(2e3, 0, 1, hour).toLocaleTimeString("en-US", {
|
|
37691
37690
|
hour: "numeric",
|
|
37692
37691
|
hour12: true
|
|
@@ -37701,7 +37700,7 @@ function ScheduleCalendar({
|
|
|
37701
37700
|
return /* @__PURE__ */ jsxs(
|
|
37702
37701
|
"div",
|
|
37703
37702
|
{
|
|
37704
|
-
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" : ""}`,
|
|
37705
37704
|
children: [
|
|
37706
37705
|
hours.map((hour) => /* @__PURE__ */ jsx(
|
|
37707
37706
|
"div",
|
|
@@ -37737,7 +37736,7 @@ function ScheduleCalendar({
|
|
|
37737
37736
|
role: "button",
|
|
37738
37737
|
tabIndex: 0,
|
|
37739
37738
|
"aria-label": `${appointment.patientName || appointment.title}, ${formatTime4(appointment.startTime)}`,
|
|
37740
|
-
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)}`,
|
|
37741
37740
|
style: {
|
|
37742
37741
|
top: position.top,
|
|
37743
37742
|
height: position.height,
|
|
@@ -37961,7 +37960,7 @@ var accordionVariants = cva(
|
|
|
37961
37960
|
);
|
|
37962
37961
|
var categoryHeaderVariants = cva(
|
|
37963
37962
|
[
|
|
37964
|
-
"w-full flex items-center justify-between py-4 px-4 text-
|
|
37963
|
+
"w-full flex items-center justify-between py-4 px-4 text-start",
|
|
37965
37964
|
"transition-colors",
|
|
37966
37965
|
"focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2"
|
|
37967
37966
|
],
|
|
@@ -38070,7 +38069,7 @@ function ServiceLink({
|
|
|
38070
38069
|
children: [
|
|
38071
38070
|
/* @__PURE__ */ jsx(LinkIcon, { className: "flex-shrink-0 text-neutral-400" }),
|
|
38072
38071
|
/* @__PURE__ */ jsx("span", { className: "flex-grow", children: service.name }),
|
|
38073
|
-
service.providerCount !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
38072
|
+
service.providerCount !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ms-2 text-xs", children: [
|
|
38074
38073
|
"(",
|
|
38075
38074
|
service.providerCount,
|
|
38076
38075
|
")"
|
|
@@ -38097,7 +38096,7 @@ function SubCategoryAccordion({
|
|
|
38097
38096
|
onClick: () => setIsExpanded(!isExpanded),
|
|
38098
38097
|
className: cn(
|
|
38099
38098
|
"flex w-full items-center justify-between px-3 py-2",
|
|
38100
|
-
"text-
|
|
38099
|
+
"text-start font-medium text-neutral-700 dark:text-neutral-200",
|
|
38101
38100
|
"hover:text-primary-800 dark:hover:text-primary-400",
|
|
38102
38101
|
"focus-visible:ring-primary-500 focus:outline-none focus-visible:ring-2"
|
|
38103
38102
|
),
|
|
@@ -38127,7 +38126,7 @@ function SubCategoryAccordion({
|
|
|
38127
38126
|
isExpanded ? "max-h-[1000px] opacity-100" : "max-h-0 opacity-0"
|
|
38128
38127
|
),
|
|
38129
38128
|
inert: !isExpanded || void 0,
|
|
38130
|
-
children: /* @__PURE__ */ jsx("div", { className: "space-y-1 pb-2
|
|
38129
|
+
children: /* @__PURE__ */ jsx("div", { className: "space-y-1 ps-4 pb-2", children: subCategory.services.map((service, serviceIdx) => /* @__PURE__ */ jsx(
|
|
38131
38130
|
ServiceLink,
|
|
38132
38131
|
{
|
|
38133
38132
|
service,
|
|
@@ -38482,7 +38481,7 @@ function ServiceBadge({
|
|
|
38482
38481
|
const isClickable = Boolean(href || onClick);
|
|
38483
38482
|
const isInteractive = interactive ?? isClickable;
|
|
38484
38483
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
38485
|
-
icon && /* @__PURE__ */ jsx("span", { className: "
|
|
38484
|
+
icon && /* @__PURE__ */ jsx("span", { className: "me-1 flex-shrink-0", children: icon }),
|
|
38486
38485
|
/* @__PURE__ */ jsx("span", { className: "truncate", children }),
|
|
38487
38486
|
removable && onRemove && /* @__PURE__ */ jsx(
|
|
38488
38487
|
"button",
|
|
@@ -38494,7 +38493,7 @@ function ServiceBadge({
|
|
|
38494
38493
|
e.stopPropagation();
|
|
38495
38494
|
onRemove();
|
|
38496
38495
|
},
|
|
38497
|
-
className: "
|
|
38496
|
+
className: "ms-1 flex-shrink-0 rounded-full p-0.5 transition-colors hover:bg-black/10 dark:hover:bg-white/10",
|
|
38498
38497
|
"aria-label": `Remove ${children}`,
|
|
38499
38498
|
children: /* @__PURE__ */ jsx(CloseIcon4, { className: "h-3 w-3" })
|
|
38500
38499
|
}
|
|
@@ -38611,7 +38610,7 @@ function ServiceTagCloudBadges({
|
|
|
38611
38610
|
href: onServiceClick ? void 0 : `/service/${service.slug}`,
|
|
38612
38611
|
children: [
|
|
38613
38612
|
service.name,
|
|
38614
|
-
showCounts && service.count !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground
|
|
38613
|
+
showCounts && service.count !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ms-1", children: [
|
|
38615
38614
|
"(",
|
|
38616
38615
|
service.count,
|
|
38617
38616
|
")"
|
|
@@ -38662,7 +38661,7 @@ function SelectedServicesBadges({
|
|
|
38662
38661
|
{
|
|
38663
38662
|
type: "button",
|
|
38664
38663
|
onClick: onClearAll,
|
|
38665
|
-
className: "text-muted-foreground
|
|
38664
|
+
className: "text-muted-foreground ms-1 text-xs underline hover:text-gray-700 dark:hover:text-gray-200",
|
|
38666
38665
|
children: "Clear all"
|
|
38667
38666
|
}
|
|
38668
38667
|
)
|
|
@@ -38724,7 +38723,7 @@ function DOTBadge({
|
|
|
38724
38723
|
),
|
|
38725
38724
|
...props,
|
|
38726
38725
|
children: [
|
|
38727
|
-
/* @__PURE__ */ jsx(DOTIcon, { className: "
|
|
38726
|
+
/* @__PURE__ */ jsx(DOTIcon, { className: "me-1 h-3.5 w-3.5" }),
|
|
38728
38727
|
children || config.label
|
|
38729
38728
|
]
|
|
38730
38729
|
}
|
|
@@ -38987,7 +38986,7 @@ function ServiceCard({
|
|
|
38987
38986
|
{
|
|
38988
38987
|
type: "button",
|
|
38989
38988
|
onClick: handleManageClick,
|
|
38990
|
-
className: "text-primary-800 hover:text-primary-900 dark:text-primary-300 dark:hover:text-primary-200 hover:bg-primary/10
|
|
38989
|
+
className: "text-primary-800 hover:text-primary-900 dark:text-primary-300 dark:hover:text-primary-200 hover:bg-primary/10 ms-auto rounded px-3 py-1 text-sm font-medium transition-colors",
|
|
38991
38990
|
children: "Manage"
|
|
38992
38991
|
}
|
|
38993
38992
|
)
|
|
@@ -39176,7 +39175,7 @@ function ServiceGeneralSettings({
|
|
|
39176
39175
|
}
|
|
39177
39176
|
),
|
|
39178
39177
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
39179
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute top-1/2
|
|
39178
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2", children: "$" }),
|
|
39180
39179
|
/* @__PURE__ */ jsx(
|
|
39181
39180
|
"input",
|
|
39182
39181
|
{
|
|
@@ -39184,7 +39183,7 @@ function ServiceGeneralSettings({
|
|
|
39184
39183
|
type: "number",
|
|
39185
39184
|
min: "0",
|
|
39186
39185
|
step: "0.01",
|
|
39187
|
-
className: "w-full rounded-md border border-gray-300 py-2
|
|
39186
|
+
className: "w-full rounded-md border border-gray-300 py-2 ps-7 pe-4 shadow-sm focus:ring-2 focus:ring-blue-500 focus:outline-none dark:border-gray-600 dark:bg-gray-800 dark:text-white",
|
|
39188
39187
|
value: basePrice,
|
|
39189
39188
|
onChange: (e) => onBasePriceChange?.(parseFloat(e.target.value) || 0),
|
|
39190
39189
|
placeholder: "0.00"
|
|
@@ -39208,13 +39207,13 @@ function ServiceGeneralSettings({
|
|
|
39208
39207
|
id: "turnaround-days",
|
|
39209
39208
|
type: "number",
|
|
39210
39209
|
min: "0",
|
|
39211
|
-
className: "w-full rounded-md border border-gray-300 px-3 py-2
|
|
39210
|
+
className: "w-full rounded-md border border-gray-300 px-3 py-2 pe-16 shadow-sm focus:ring-2 focus:ring-blue-500 focus:outline-none dark:border-gray-600 dark:bg-gray-800 dark:text-white",
|
|
39212
39211
|
value: turnaroundDays ?? "",
|
|
39213
39212
|
onChange: (e) => onTurnaroundDaysChange?.(parseInt(e.target.value) || 0),
|
|
39214
39213
|
placeholder: "0"
|
|
39215
39214
|
}
|
|
39216
39215
|
),
|
|
39217
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute top-1/2
|
|
39216
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute end-3 top-1/2 -translate-y-1/2 text-sm", children: "days" })
|
|
39218
39217
|
] })
|
|
39219
39218
|
] })
|
|
39220
39219
|
] })
|
|
@@ -39457,7 +39456,7 @@ function ServicePicker({
|
|
|
39457
39456
|
}
|
|
39458
39457
|
),
|
|
39459
39458
|
showSearch && /* @__PURE__ */ jsxs("div", { "data-slot": "service-picker-search", className: "relative", children: [
|
|
39460
|
-
/* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-y-0
|
|
39459
|
+
/* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute inset-y-0 start-0 flex items-center ps-3", children: /* @__PURE__ */ jsx(SearchIcon5, { className: "text-muted-foreground h-5 w-5" }) }),
|
|
39461
39460
|
/* @__PURE__ */ jsx(
|
|
39462
39461
|
Input,
|
|
39463
39462
|
{
|
|
@@ -39465,7 +39464,7 @@ function ServicePicker({
|
|
|
39465
39464
|
value: searchQuery,
|
|
39466
39465
|
onChange: (e) => setSearchQuery(e.target.value),
|
|
39467
39466
|
placeholder: searchPlaceholder,
|
|
39468
|
-
className: "
|
|
39467
|
+
className: "ps-10",
|
|
39469
39468
|
"data-cy": "input-search-services"
|
|
39470
39469
|
}
|
|
39471
39470
|
)
|
|
@@ -39566,10 +39565,10 @@ function ServiceGroupItem({
|
|
|
39566
39565
|
onClick: () => onToggleGroup(group.id),
|
|
39567
39566
|
className: cn(
|
|
39568
39567
|
"flex w-full items-center justify-between rounded-lg px-3 py-2",
|
|
39569
|
-
"text-muted-foreground text-
|
|
39568
|
+
"text-muted-foreground text-start text-sm font-medium",
|
|
39570
39569
|
"hover:bg-muted",
|
|
39571
39570
|
"transition-colors",
|
|
39572
|
-
depth > 0 && "
|
|
39571
|
+
depth > 0 && "ms-4"
|
|
39573
39572
|
),
|
|
39574
39573
|
"aria-expanded": isExpanded,
|
|
39575
39574
|
children: [
|
|
@@ -39607,7 +39606,7 @@ function ServiceGroupItem({
|
|
|
39607
39606
|
"ul",
|
|
39608
39607
|
{
|
|
39609
39608
|
"data-slot": "service-picker-group-list",
|
|
39610
|
-
className: "mt-1 space-y-1
|
|
39609
|
+
className: "mt-1 space-y-1 ps-4",
|
|
39611
39610
|
children: [
|
|
39612
39611
|
group.services.map((service) => /* @__PURE__ */ jsx(
|
|
39613
39612
|
ServiceItem,
|
|
@@ -40000,10 +39999,10 @@ function ServicePricingManager({
|
|
|
40000
39999
|
/* @__PURE__ */ jsx(CardContent, { children: filteredServices.length === 0 ? /* @__PURE__ */ jsx("p", { className: "text-muted-foreground py-8 text-center", children: "No services found" }) : /* @__PURE__ */ jsxs("div", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: [
|
|
40001
40000
|
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground hidden gap-4 py-3 text-xs font-medium uppercase md:grid md:grid-cols-6", children: [
|
|
40002
40001
|
/* @__PURE__ */ jsx("div", { className: "col-span-2", children: "Service" }),
|
|
40003
|
-
/* @__PURE__ */ jsx("div", { className: "text-
|
|
40004
|
-
/* @__PURE__ */ jsx("div", { className: "text-
|
|
40002
|
+
/* @__PURE__ */ jsx("div", { className: "text-end", children: "Base Price" }),
|
|
40003
|
+
/* @__PURE__ */ jsx("div", { className: "text-end", children: "Employer Price" }),
|
|
40005
40004
|
/* @__PURE__ */ jsx("div", { className: "text-center", children: "Status" }),
|
|
40006
|
-
/* @__PURE__ */ jsx("div", { className: "text-
|
|
40005
|
+
/* @__PURE__ */ jsx("div", { className: "text-end", children: "Actions" })
|
|
40007
40006
|
] }),
|
|
40008
40007
|
filteredServices.map((service) => /* @__PURE__ */ jsxs(
|
|
40009
40008
|
"div",
|
|
@@ -40020,14 +40019,14 @@ function ServicePricingManager({
|
|
|
40020
40019
|
] }),
|
|
40021
40020
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between md:mb-0 md:block", children: [
|
|
40022
40021
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm md:hidden", children: "Base:" }),
|
|
40023
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
40022
|
+
/* @__PURE__ */ jsx("p", { className: "text-end font-semibold text-gray-900 dark:text-white", children: formatCurrency3(service.basePrice) })
|
|
40024
40023
|
] }),
|
|
40025
40024
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between md:mb-0 md:block", children: [
|
|
40026
40025
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm md:hidden", children: "Employer:" }),
|
|
40027
|
-
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-
|
|
40026
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-end", children: service.employerPrice ? formatCurrency3(service.employerPrice) : "\u2014" })
|
|
40028
40027
|
] }),
|
|
40029
40028
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center md:mb-0 md:justify-center", children: [
|
|
40030
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground
|
|
40029
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground me-2 text-sm md:hidden", children: "Status:" }),
|
|
40031
40030
|
/* @__PURE__ */ jsx(
|
|
40032
40031
|
Badge,
|
|
40033
40032
|
{
|
|
@@ -40577,7 +40576,7 @@ function SetupServiceModal({
|
|
|
40577
40576
|
}
|
|
40578
40577
|
),
|
|
40579
40578
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
40580
|
-
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute top-1/2
|
|
40579
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2", children: "$" }),
|
|
40581
40580
|
/* @__PURE__ */ jsx(
|
|
40582
40581
|
"input",
|
|
40583
40582
|
{
|
|
@@ -40585,7 +40584,7 @@ function SetupServiceModal({
|
|
|
40585
40584
|
type: "number",
|
|
40586
40585
|
min: "0",
|
|
40587
40586
|
step: "0.01",
|
|
40588
|
-
className: "bg-background text-foreground border-input focus:ring-ring w-full rounded-md border py-2
|
|
40587
|
+
className: "bg-background text-foreground border-input focus:ring-ring w-full rounded-md border py-2 ps-7 pe-4 shadow-sm focus:ring-2 focus:outline-none",
|
|
40589
40588
|
value: formData.price,
|
|
40590
40589
|
onChange: (e) => setFormData((prev) => ({
|
|
40591
40590
|
...prev,
|
|
@@ -40652,7 +40651,7 @@ function SetupServiceModal({
|
|
|
40652
40651
|
"div",
|
|
40653
40652
|
{
|
|
40654
40653
|
"data-slot": "setup-service-inventory",
|
|
40655
|
-
className: "border-border
|
|
40654
|
+
className: "border-border ms-4 border-s-2 ps-4",
|
|
40656
40655
|
children: /* @__PURE__ */ jsx(
|
|
40657
40656
|
Input,
|
|
40658
40657
|
{
|
|
@@ -40712,7 +40711,7 @@ function SetupServiceModal({
|
|
|
40712
40711
|
"svg",
|
|
40713
40712
|
{
|
|
40714
40713
|
"aria-hidden": "true",
|
|
40715
|
-
className: "
|
|
40714
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
40716
40715
|
fill: "none",
|
|
40717
40716
|
viewBox: "0 0 24 24",
|
|
40718
40717
|
children: [
|