@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.cjs
CHANGED
|
@@ -64,7 +64,7 @@ var chunk7AECNMYV_cjs = require('./chunk-7AECNMYV.cjs');
|
|
|
64
64
|
var chunkN5O47VGS_cjs = require('./chunk-N5O47VGS.cjs');
|
|
65
65
|
var chunkX4LBUPJO_cjs = require('./chunk-X4LBUPJO.cjs');
|
|
66
66
|
var chunkIUDY6S7I_cjs = require('./chunk-IUDY6S7I.cjs');
|
|
67
|
-
var
|
|
67
|
+
var chunk4GCF2ITV_cjs = require('./chunk-4GCF2ITV.cjs');
|
|
68
68
|
var chunkHK3AMH3Q_cjs = require('./chunk-HK3AMH3Q.cjs');
|
|
69
69
|
var chunkEPQPUFS6_cjs = require('./chunk-EPQPUFS6.cjs');
|
|
70
70
|
var chunkTVLZZI5Q_cjs = require('./chunk-TVLZZI5Q.cjs');
|
|
@@ -73,13 +73,13 @@ var chunkW4Q4UEXA_cjs = require('./chunk-W4Q4UEXA.cjs');
|
|
|
73
73
|
var chunk2SSAAE3I_cjs = require('./chunk-2SSAAE3I.cjs');
|
|
74
74
|
var chunkU3JU6BI5_cjs = require('./chunk-U3JU6BI5.cjs');
|
|
75
75
|
var chunkRI56YPED_cjs = require('./chunk-RI56YPED.cjs');
|
|
76
|
-
var
|
|
76
|
+
var chunkXK424JFB_cjs = require('./chunk-XK424JFB.cjs');
|
|
77
77
|
var chunkBSDBI6H7_cjs = require('./chunk-BSDBI6H7.cjs');
|
|
78
78
|
var chunkWWJIW2IH_cjs = require('./chunk-WWJIW2IH.cjs');
|
|
79
79
|
var chunkG7EQ3JPX_cjs = require('./chunk-G7EQ3JPX.cjs');
|
|
80
80
|
var chunkAIJAFPGJ_cjs = require('./chunk-AIJAFPGJ.cjs');
|
|
81
81
|
var chunkK5GQPTTA_cjs = require('./chunk-K5GQPTTA.cjs');
|
|
82
|
-
var
|
|
82
|
+
var chunkZPZAZQW4_cjs = require('./chunk-ZPZAZQW4.cjs');
|
|
83
83
|
var chunkMJWFNV3L_cjs = require('./chunk-MJWFNV3L.cjs');
|
|
84
84
|
var chunkP2VTQ5AR_cjs = require('./chunk-P2VTQ5AR.cjs');
|
|
85
85
|
require('./chunk-I44YNYI6.cjs');
|
|
@@ -7828,7 +7828,7 @@ function AssertionTimeline({ concern }) {
|
|
|
7828
7828
|
"ol",
|
|
7829
7829
|
{
|
|
7830
7830
|
"aria-label": "Assertion history",
|
|
7831
|
-
className: "border-border
|
|
7831
|
+
className: "border-border ms-1.5 mt-2 space-y-2 border-s ps-4",
|
|
7832
7832
|
children: items.map((a) => {
|
|
7833
7833
|
const refuted = a.verificationStatus === "refuted" || a.verificationStatus === "entered-in-error";
|
|
7834
7834
|
const verification = VERIFICATION_BADGE[a.verificationStatus];
|
|
@@ -7837,7 +7837,7 @@ function AssertionTimeline({ concern }) {
|
|
|
7837
7837
|
"span",
|
|
7838
7838
|
{
|
|
7839
7839
|
"aria-hidden": true,
|
|
7840
|
-
className: "bg-border absolute top-1.5
|
|
7840
|
+
className: "bg-border absolute -start-5 top-1.5 h-2 w-2 rounded-full"
|
|
7841
7841
|
}
|
|
7842
7842
|
),
|
|
7843
7843
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "flex flex-wrap items-center gap-x-2 gap-y-1", children: [
|
|
@@ -7939,7 +7939,7 @@ function ConcernRow({
|
|
|
7939
7939
|
),
|
|
7940
7940
|
/* @__PURE__ */ jsxRuntime.jsx(UncertaintyBadge, { uncertainty: current.uncertainty }),
|
|
7941
7941
|
concern.relationships?.map((r) => /* @__PURE__ */ jsxRuntime.jsxs(chunkYVL3XATO_cjs.Badge, { variant: "outline", size: "sm", children: [
|
|
7942
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Link, { size: 10, className: "
|
|
7942
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.Link, { size: 10, className: "me-1" }),
|
|
7943
7943
|
r.type.replace(/-/g, " "),
|
|
7944
7944
|
r.display ? `: ${r.display}` : ""
|
|
7945
7945
|
] }, `${r.type}:${r.concernId}`)),
|
|
@@ -7959,8 +7959,8 @@ function ConcernRow({
|
|
|
7959
7959
|
]
|
|
7960
7960
|
}
|
|
7961
7961
|
),
|
|
7962
|
-
!readOnly && /* @__PURE__ */ jsxRuntime.jsx(
|
|
7963
|
-
|
|
7962
|
+
!readOnly && /* @__PURE__ */ jsxRuntime.jsx(chunkXK424JFB_cjs.RowActionToolbar, { label: `Actions for ${current.text}`, align: "top", children: visibleActions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
7963
|
+
chunkXK424JFB_cjs.RowIconButton,
|
|
7964
7964
|
{
|
|
7965
7965
|
label: ACTION_META[action].label,
|
|
7966
7966
|
icon: ACTION_META[action].icon,
|
|
@@ -7971,7 +7971,7 @@ function ConcernRow({
|
|
|
7971
7971
|
] }),
|
|
7972
7972
|
expanded && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
7973
7973
|
/* @__PURE__ */ jsxRuntime.jsx(AssertionTimeline, { concern }),
|
|
7974
|
-
concern.observations && concern.observations.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
7974
|
+
concern.observations && concern.observations.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ms-1.5 mt-2 ps-4", children: [
|
|
7975
7975
|
/* @__PURE__ */ jsxRuntime.jsx("h5", { className: "text-muted-foreground text-xs font-semibold tracking-wide uppercase", children: "Observations" }),
|
|
7976
7976
|
/* @__PURE__ */ jsxRuntime.jsx("ol", { "aria-label": "Observations", className: "mt-1 space-y-1", children: [...concern.observations].reverse().map((o) => /* @__PURE__ */ jsxRuntime.jsxs("li", { className: "flex flex-wrap gap-x-2 text-sm", children: [
|
|
7977
7977
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-xs tabular-nums", children: o.date }),
|
|
@@ -8389,13 +8389,13 @@ function OrderRow({
|
|
|
8389
8389
|
) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
8390
8390
|
/* @__PURE__ */ jsxRuntime.jsx(OrderContent, { order }),
|
|
8391
8391
|
interactive && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
8392
|
-
|
|
8392
|
+
chunkXK424JFB_cjs.RowActionToolbar,
|
|
8393
8393
|
{
|
|
8394
8394
|
label: `Actions for ${order.display}`,
|
|
8395
8395
|
group: "order",
|
|
8396
8396
|
children: [
|
|
8397
8397
|
canEdit && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8398
|
-
|
|
8398
|
+
chunkXK424JFB_cjs.RowIconButton,
|
|
8399
8399
|
{
|
|
8400
8400
|
label: "Edit",
|
|
8401
8401
|
icon: chunkPAM5UUBL_cjs.Pencil,
|
|
@@ -8463,7 +8463,7 @@ function OrderRow({
|
|
|
8463
8463
|
}
|
|
8464
8464
|
),
|
|
8465
8465
|
controls?.remove && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8466
|
-
|
|
8466
|
+
chunkXK424JFB_cjs.RowIconButton,
|
|
8467
8467
|
{
|
|
8468
8468
|
label: "Remove",
|
|
8469
8469
|
icon: chunkPAM5UUBL_cjs.Trash2,
|
|
@@ -8517,7 +8517,7 @@ function AddOrderForm({
|
|
|
8517
8517
|
{
|
|
8518
8518
|
role: "form",
|
|
8519
8519
|
"aria-label": `Add order for ${problemText}`,
|
|
8520
|
-
className: "border-border bg-muted/40
|
|
8520
|
+
className: "border-border bg-muted/40 ms-2.5 mt-1.5 flex flex-wrap items-center gap-1.5 rounded-md border border-dashed p-2",
|
|
8521
8521
|
children: [
|
|
8522
8522
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
8523
8523
|
"select",
|
|
@@ -8632,7 +8632,7 @@ var Assessment = React13__namespace.forwardRef(
|
|
|
8632
8632
|
null
|
|
8633
8633
|
);
|
|
8634
8634
|
const [announcement, setAnnouncement] = chunkYVPC65ZJ_cjs.useLiveAnnouncement();
|
|
8635
|
-
const ambientCodeLookup =
|
|
8635
|
+
const ambientCodeLookup = chunkXK424JFB_cjs.useCodeLookupConfig();
|
|
8636
8636
|
const effectiveRenderOrderSearch = renderOrderSearch === false ? void 0 : renderOrderSearch ?? (ambientCodeLookup ? contextOrderSearch(ambientCodeLookup) : void 0);
|
|
8637
8637
|
const concernById = React13__namespace.useMemo(
|
|
8638
8638
|
() => new Map(concerns.map((c) => [c.concernId, c])),
|
|
@@ -8887,7 +8887,7 @@ var Assessment = React13__namespace.forwardRef(
|
|
|
8887
8887
|
assertion.verificationStatus !== "confirmed" && /* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: "warning", size: "sm", children: assertion.verificationStatus }),
|
|
8888
8888
|
/* @__PURE__ */ jsxRuntime.jsx(CodingChips, { coding: assertion.coding }),
|
|
8889
8889
|
!readOnly && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8890
|
-
|
|
8890
|
+
chunkXK424JFB_cjs.RowActionToolbar,
|
|
8891
8891
|
{
|
|
8892
8892
|
label: `Actions for ${assertion.text}`,
|
|
8893
8893
|
align: "top",
|
|
@@ -8897,7 +8897,7 @@ var Assessment = React13__namespace.forwardRef(
|
|
|
8897
8897
|
if (action === "add-order" && !onAddOrder && !onAction)
|
|
8898
8898
|
return null;
|
|
8899
8899
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
8900
|
-
|
|
8900
|
+
chunkXK424JFB_cjs.RowIconButton,
|
|
8901
8901
|
{
|
|
8902
8902
|
label: meta.label,
|
|
8903
8903
|
icon: meta.icon,
|
|
@@ -8921,12 +8921,12 @@ var Assessment = React13__namespace.forwardRef(
|
|
|
8921
8921
|
]
|
|
8922
8922
|
}
|
|
8923
8923
|
),
|
|
8924
|
-
item.note && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mt-1
|
|
8924
|
+
item.note && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mt-1 ps-6 text-sm", children: item.note }),
|
|
8925
8925
|
showPlan && linkedOrders.length > 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
8926
8926
|
"ul",
|
|
8927
8927
|
{
|
|
8928
8928
|
"aria-label": `Plan for ${assertion.text}`,
|
|
8929
|
-
className: "border-border
|
|
8929
|
+
className: "border-border ms-2.5 mt-1.5 border-s ps-4",
|
|
8930
8930
|
children: linkedOrders.map((order) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
8931
8931
|
OrderRow,
|
|
8932
8932
|
{
|
|
@@ -9032,7 +9032,7 @@ var Assessment = React13__namespace.forwardRef(
|
|
|
9032
9032
|
{
|
|
9033
9033
|
role: "group",
|
|
9034
9034
|
"aria-label": `Add "${pendingFreeText}" as`,
|
|
9035
|
-
className: "flex w-full flex-wrap items-center gap-1.5
|
|
9035
|
+
className: "flex w-full flex-wrap items-center gap-1.5 ps-1",
|
|
9036
9036
|
children: [
|
|
9037
9037
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground text-sm", children: [
|
|
9038
9038
|
"Add",
|
|
@@ -10043,7 +10043,7 @@ function FloatingInput({
|
|
|
10043
10043
|
htmlFor: inputId,
|
|
10044
10044
|
"data-slot": "floating-input-label",
|
|
10045
10045
|
className: chunkS5RVSXDV_cjs.cn(
|
|
10046
|
-
"text-muted-foreground absolute
|
|
10046
|
+
"text-muted-foreground absolute start-4 top-4 origin-left transform transition-all duration-200 rtl:origin-right",
|
|
10047
10047
|
"peer-placeholder-shown:translate-y-0 peer-placeholder-shown:scale-100",
|
|
10048
10048
|
"peer-focus:-translate-y-2 peer-focus:scale-75",
|
|
10049
10049
|
"peer-[:not(:placeholder-shown)]:-translate-y-2 peer-[:not(:placeholder-shown)]:scale-75",
|
|
@@ -10104,7 +10104,7 @@ function ServiceSelect({
|
|
|
10104
10104
|
onClick: () => setIsOpen(!isOpen),
|
|
10105
10105
|
"data-slot": "service-select-trigger",
|
|
10106
10106
|
className: chunkS5RVSXDV_cjs.cn(
|
|
10107
|
-
"w-full rounded-lg border px-4 py-3 text-
|
|
10107
|
+
"w-full rounded-lg border px-4 py-3 text-start transition-colors",
|
|
10108
10108
|
"bg-background",
|
|
10109
10109
|
"focus:ring-2 focus:outline-none",
|
|
10110
10110
|
error ? "border-destructive focus:ring-destructive/20" : "border-input focus:border-primary-500 focus:ring-primary-500/20"
|
|
@@ -10123,7 +10123,7 @@ function ServiceSelect({
|
|
|
10123
10123
|
ChevronDownIcon,
|
|
10124
10124
|
{
|
|
10125
10125
|
className: chunkS5RVSXDV_cjs.cn(
|
|
10126
|
-
"text-muted-foreground absolute top-1/2
|
|
10126
|
+
"text-muted-foreground absolute end-4 top-1/2 h-5 w-5 -translate-y-1/2 transition-transform",
|
|
10127
10127
|
isOpen && "rotate-180"
|
|
10128
10128
|
)
|
|
10129
10129
|
}
|
|
@@ -11149,7 +11149,7 @@ function DayScheduleRow({
|
|
|
11149
11149
|
),
|
|
11150
11150
|
children: [
|
|
11151
11151
|
dayName,
|
|
11152
|
-
isToday && highlightToday && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-800 dark:text-primary-300
|
|
11152
|
+
isToday && highlightToday && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-primary-800 dark:text-primary-300 ms-1 text-xs", children: "(Today)" })
|
|
11153
11153
|
]
|
|
11154
11154
|
}
|
|
11155
11155
|
),
|
|
@@ -11157,7 +11157,7 @@ function DayScheduleRow({
|
|
|
11157
11157
|
"div",
|
|
11158
11158
|
{
|
|
11159
11159
|
"data-slot": "business-hours-day-hours",
|
|
11160
|
-
className: chunkS5RVSXDV_cjs.cn("text-
|
|
11160
|
+
className: chunkS5RVSXDV_cjs.cn("text-end", hasMultipleRanges && "flex flex-col gap-1"),
|
|
11161
11161
|
"data-cy": `provider-hours-${dayHours.day}`,
|
|
11162
11162
|
children: hasHours ? dayHours.hours.map((range, idx) => /* @__PURE__ */ jsxRuntime.jsx(TimeRangeDisplay, { range, use24Hour }, idx)) : /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "Closed" })
|
|
11163
11163
|
}
|
|
@@ -11665,7 +11665,7 @@ function BusinessHoursDaysEditor({
|
|
|
11665
11665
|
disabled,
|
|
11666
11666
|
className: "text-xs",
|
|
11667
11667
|
children: [
|
|
11668
|
-
/* @__PURE__ */ jsxRuntime.jsx(CopyIcon, { className: "
|
|
11668
|
+
/* @__PURE__ */ jsxRuntime.jsx(CopyIcon, { className: "me-1 h-3 w-3" }),
|
|
11669
11669
|
"Copy"
|
|
11670
11670
|
]
|
|
11671
11671
|
}
|
|
@@ -11700,7 +11700,7 @@ function BusinessHoursDaysEditor({
|
|
|
11700
11700
|
disabled,
|
|
11701
11701
|
className: "text-xs",
|
|
11702
11702
|
children: [
|
|
11703
|
-
/* @__PURE__ */ jsxRuntime.jsx(PlusIcon2, { className: "
|
|
11703
|
+
/* @__PURE__ */ jsxRuntime.jsx(PlusIcon2, { className: "me-1 h-3 w-3" }),
|
|
11704
11704
|
addHoursLabel
|
|
11705
11705
|
]
|
|
11706
11706
|
}
|
|
@@ -11928,7 +11928,7 @@ function BusinessHoursRulesEditor({
|
|
|
11928
11928
|
}
|
|
11929
11929
|
),
|
|
11930
11930
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-32 sm:w-36", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
11931
|
-
|
|
11931
|
+
chunkZPZAZQW4_cjs.DateInput,
|
|
11932
11932
|
{
|
|
11933
11933
|
inputType: "time",
|
|
11934
11934
|
timeFormat,
|
|
@@ -11944,7 +11944,7 @@ function BusinessHoursRulesEditor({
|
|
|
11944
11944
|
) }),
|
|
11945
11945
|
/* @__PURE__ */ jsxRuntime.jsx("span", { "data-slot": "business-hours-separator", className: "text-gray-400", children: "\u2013" }),
|
|
11946
11946
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "w-32 sm:w-36", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
11947
|
-
|
|
11947
|
+
chunkZPZAZQW4_cjs.DateInput,
|
|
11948
11948
|
{
|
|
11949
11949
|
inputType: "time",
|
|
11950
11950
|
timeFormat,
|
|
@@ -12555,7 +12555,7 @@ function ConditionEditor({
|
|
|
12555
12555
|
"data-testid": dataTestId
|
|
12556
12556
|
}) {
|
|
12557
12557
|
const prior = concern ? currentAssertion(concern) : void 0;
|
|
12558
|
-
const ambientCodeLookup =
|
|
12558
|
+
const ambientCodeLookup = chunkXK424JFB_cjs.useCodeLookupConfig();
|
|
12559
12559
|
const effectiveRenderCodeSearch = renderCodeSearch === false ? void 0 : renderCodeSearch ?? (ambientCodeLookup ? contextConditionCodeSearch(ambientCodeLookup) : void 0);
|
|
12560
12560
|
const [text, setText] = React13__namespace.useState("");
|
|
12561
12561
|
const [coding, setCoding] = React13__namespace.useState([]);
|
|
@@ -12726,7 +12726,7 @@ function ConditionEditor({
|
|
|
12726
12726
|
mode === "add" && effectiveRenderCodeSearch && !text.trim() ? /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1", children: [
|
|
12727
12727
|
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-foreground block text-sm font-medium", children: [
|
|
12728
12728
|
"Problem name",
|
|
12729
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive
|
|
12729
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-destructive ms-1", "aria-hidden": "true", children: "*" })
|
|
12730
12730
|
] }),
|
|
12731
12731
|
effectiveRenderCodeSearch({
|
|
12732
12732
|
placeholder: "Search conditions \u2014 or type a name and press Enter\u2026",
|
|
@@ -12900,7 +12900,7 @@ function ConditionEditor({
|
|
|
12900
12900
|
disabled: fields.severity?.known === false,
|
|
12901
12901
|
onClick: () => setSeverity(active ? void 0 : s),
|
|
12902
12902
|
className: chunkS5RVSXDV_cjs.cn(
|
|
12903
|
-
"border-border border-
|
|
12903
|
+
"border-border border-s px-2.5 py-1 text-xs font-medium capitalize transition-colors first:border-s-0",
|
|
12904
12904
|
"disabled:opacity-40",
|
|
12905
12905
|
active ? "bg-primary-600 text-white" : "bg-background text-muted-foreground hover:text-foreground"
|
|
12906
12906
|
),
|
|
@@ -13176,7 +13176,7 @@ function CheckrIntegration({
|
|
|
13176
13176
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-foreground text-lg font-semibold", children: "Checkr" }),
|
|
13177
13177
|
connected && account?.name && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-muted-foreground text-sm", children: [
|
|
13178
13178
|
account.name,
|
|
13179
|
-
account.plan && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "
|
|
13179
|
+
account.plan && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ms-2 text-xs", children: [
|
|
13180
13180
|
"(",
|
|
13181
13181
|
account.plan,
|
|
13182
13182
|
")"
|
|
@@ -13189,7 +13189,7 @@ function CheckrIntegration({
|
|
|
13189
13189
|
"svg",
|
|
13190
13190
|
{
|
|
13191
13191
|
"aria-hidden": "true",
|
|
13192
|
-
className: "
|
|
13192
|
+
className: "me-2 h-4 w-4",
|
|
13193
13193
|
fill: "none",
|
|
13194
13194
|
viewBox: "0 0 24 24",
|
|
13195
13195
|
stroke: "currentColor",
|
|
@@ -13219,7 +13219,7 @@ function CheckrIntegration({
|
|
|
13219
13219
|
"svg",
|
|
13220
13220
|
{
|
|
13221
13221
|
"aria-hidden": "true",
|
|
13222
|
-
className: "
|
|
13222
|
+
className: "me-2 inline-block h-4 w-4",
|
|
13223
13223
|
fill: "none",
|
|
13224
13224
|
viewBox: "0 0 24 24",
|
|
13225
13225
|
stroke: "currentColor",
|
|
@@ -13268,7 +13268,7 @@ function CheckrIntegration({
|
|
|
13268
13268
|
"svg",
|
|
13269
13269
|
{
|
|
13270
13270
|
"aria-hidden": "true",
|
|
13271
|
-
className: "
|
|
13271
|
+
className: "me-2 h-4 w-4",
|
|
13272
13272
|
fill: "none",
|
|
13273
13273
|
viewBox: "0 0 24 24",
|
|
13274
13274
|
stroke: "currentColor",
|
|
@@ -13290,7 +13290,7 @@ function CheckrIntegration({
|
|
|
13290
13290
|
"svg",
|
|
13291
13291
|
{
|
|
13292
13292
|
"aria-hidden": "true",
|
|
13293
|
-
className: "
|
|
13293
|
+
className: "me-2 h-4 w-4",
|
|
13294
13294
|
fill: "none",
|
|
13295
13295
|
viewBox: "0 0 24 24",
|
|
13296
13296
|
stroke: "currentColor",
|
|
@@ -13369,7 +13369,7 @@ function CheckrIntegration({
|
|
|
13369
13369
|
report.packageName && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-xs", children: report.packageName })
|
|
13370
13370
|
] })
|
|
13371
13371
|
] }),
|
|
13372
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-
|
|
13372
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-end", children: [
|
|
13373
13373
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13374
13374
|
"span",
|
|
13375
13375
|
{
|
|
@@ -13492,7 +13492,7 @@ function CheckrIntegration({
|
|
|
13492
13492
|
"svg",
|
|
13493
13493
|
{
|
|
13494
13494
|
"aria-hidden": "true",
|
|
13495
|
-
className: "
|
|
13495
|
+
className: "me-2 h-4 w-4",
|
|
13496
13496
|
fill: "none",
|
|
13497
13497
|
viewBox: "0 0 24 24",
|
|
13498
13498
|
stroke: "currentColor",
|
|
@@ -17039,9 +17039,9 @@ function DateRangePicker({
|
|
|
17039
17039
|
// In range background
|
|
17040
17040
|
inRange && "bg-muted",
|
|
17041
17041
|
// Start date
|
|
17042
|
-
start && "bg-foreground text-background hover:bg-foreground rounded-
|
|
17042
|
+
start && "bg-foreground text-background hover:bg-foreground rounded-s-md font-semibold",
|
|
17043
17043
|
// End date
|
|
17044
|
-
end && !start && "border-foreground text-foreground rounded-
|
|
17044
|
+
end && !start && "border-foreground text-foreground rounded-e-md border font-semibold",
|
|
17045
17045
|
// Today indicator (only if not start/end)
|
|
17046
17046
|
today && !start && !end && "font-semibold"
|
|
17047
17047
|
),
|
|
@@ -17073,7 +17073,7 @@ function DateRangePicker({
|
|
|
17073
17073
|
"data-slot": "date-range-trigger",
|
|
17074
17074
|
className: chunkS5RVSXDV_cjs.cn(
|
|
17075
17075
|
"border-input bg-background hover:bg-muted",
|
|
17076
|
-
"inline-flex w-[300px] items-center gap-2 rounded-md border px-4 py-2 text-
|
|
17076
|
+
"inline-flex w-[300px] items-center gap-2 rounded-md border px-4 py-2 text-start text-sm font-normal",
|
|
17077
17077
|
"focus:ring-ring focus:ring-2 focus:outline-none",
|
|
17078
17078
|
"transition-colors",
|
|
17079
17079
|
!displayValue && "text-muted-foreground"
|
|
@@ -17221,7 +17221,7 @@ function DateRangePicker({
|
|
|
17221
17221
|
"div",
|
|
17222
17222
|
{
|
|
17223
17223
|
className: chunkS5RVSXDV_cjs.cn(
|
|
17224
|
-
"border-border flex w-[200px] shrink-0 flex-col gap-0.5 border-
|
|
17224
|
+
"border-border flex w-[200px] shrink-0 flex-col gap-0.5 border-e p-3",
|
|
17225
17225
|
isResponsive && "hidden md:flex"
|
|
17226
17226
|
),
|
|
17227
17227
|
"data-slot": "date-range-presets",
|
|
@@ -17232,7 +17232,7 @@ function DateRangePicker({
|
|
|
17232
17232
|
onClick: () => handlePresetSelect(preset.key),
|
|
17233
17233
|
"data-slot": "date-range-preset",
|
|
17234
17234
|
className: chunkS5RVSXDV_cjs.cn(
|
|
17235
|
-
"rounded-md px-3 py-1.5 text-
|
|
17235
|
+
"rounded-md px-3 py-1.5 text-start text-sm transition-colors",
|
|
17236
17236
|
"hover:bg-muted",
|
|
17237
17237
|
activePreset === preset.key && "bg-primary-800 text-white"
|
|
17238
17238
|
),
|
|
@@ -17371,9 +17371,9 @@ function DateRangeFilter({
|
|
|
17371
17371
|
chunkQOJ4V7YX_cjs.Dropdown,
|
|
17372
17372
|
{
|
|
17373
17373
|
trigger: /* @__PURE__ */ jsxRuntime.jsxs(chunkRDGRKYQ5_cjs.Button, { variant, size: "md", className, children: [
|
|
17374
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Calendar, { className: "
|
|
17374
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Calendar, { className: "me-2 h-4 w-4" }),
|
|
17375
17375
|
activeLabel || labels.filter || "Filter by Date",
|
|
17376
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "
|
|
17376
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.ChevronDown, { className: "ms-2 h-3 w-3" })
|
|
17377
17377
|
] }),
|
|
17378
17378
|
className: "w-56",
|
|
17379
17379
|
"data-slot": "date-range-filter",
|
|
@@ -19655,7 +19655,7 @@ function ClaimProviderForm({
|
|
|
19655
19655
|
"svg",
|
|
19656
19656
|
{
|
|
19657
19657
|
"aria-hidden": "true",
|
|
19658
|
-
className: "
|
|
19658
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
19659
19659
|
fill: "none",
|
|
19660
19660
|
viewBox: "0 0 24 24",
|
|
19661
19661
|
children: [
|
|
@@ -20268,7 +20268,7 @@ function CreateReferralModal({
|
|
|
20268
20268
|
"aria-pressed": isSelected,
|
|
20269
20269
|
"data-slot": "referral-modal-service",
|
|
20270
20270
|
onClick: () => toggleService(service.id),
|
|
20271
|
-
className: `w-full rounded-lg border p-3 text-
|
|
20271
|
+
className: `w-full rounded-lg border p-3 text-start transition-colors ${isSelected ? "border-primary bg-primary/10" : "border-border hover:border-border/80"} `,
|
|
20272
20272
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
20273
20273
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
20274
20274
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -20379,7 +20379,7 @@ function CreateReferralModal({
|
|
|
20379
20379
|
selectedServices.size > 1 ? "s" : "",
|
|
20380
20380
|
" selected"
|
|
20381
20381
|
] }) }),
|
|
20382
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-
|
|
20382
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-end", children: [
|
|
20383
20383
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-foreground/70 text-xs", children: "Estimated Total" }),
|
|
20384
20384
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
20385
20385
|
"p",
|
|
@@ -20413,7 +20413,7 @@ function CreateReferralModal({
|
|
|
20413
20413
|
"svg",
|
|
20414
20414
|
{
|
|
20415
20415
|
"aria-hidden": "true",
|
|
20416
|
-
className: "
|
|
20416
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
20417
20417
|
fill: "none",
|
|
20418
20418
|
viewBox: "0 0 24 24",
|
|
20419
20419
|
children: [
|
|
@@ -21441,7 +21441,7 @@ function EmployerContactCard({
|
|
|
21441
21441
|
"svg",
|
|
21442
21442
|
{
|
|
21443
21443
|
"aria-hidden": "true",
|
|
21444
|
-
className: "
|
|
21444
|
+
className: "me-1 h-4 w-4",
|
|
21445
21445
|
fill: "none",
|
|
21446
21446
|
stroke: "currentColor",
|
|
21447
21447
|
viewBox: "0 0 24 24",
|
|
@@ -21649,7 +21649,7 @@ function EmployerList({
|
|
|
21649
21649
|
"svg",
|
|
21650
21650
|
{
|
|
21651
21651
|
"aria-hidden": "true",
|
|
21652
|
-
className: "absolute top-1/2
|
|
21652
|
+
className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400",
|
|
21653
21653
|
fill: "none",
|
|
21654
21654
|
stroke: "currentColor",
|
|
21655
21655
|
viewBox: "0 0 24 24",
|
|
@@ -21671,7 +21671,7 @@ function EmployerList({
|
|
|
21671
21671
|
placeholder: "Search employers...",
|
|
21672
21672
|
value: searchQuery,
|
|
21673
21673
|
onChange: handleSearch,
|
|
21674
|
-
className: "
|
|
21674
|
+
className: "ps-9"
|
|
21675
21675
|
}
|
|
21676
21676
|
)
|
|
21677
21677
|
] }),
|
|
@@ -21680,7 +21680,7 @@ function EmployerList({
|
|
|
21680
21680
|
"svg",
|
|
21681
21681
|
{
|
|
21682
21682
|
"aria-hidden": "true",
|
|
21683
|
-
className: "
|
|
21683
|
+
className: "me-1 h-4 w-4",
|
|
21684
21684
|
fill: "none",
|
|
21685
21685
|
stroke: "currentColor",
|
|
21686
21686
|
viewBox: "0 0 24 24",
|
|
@@ -21868,7 +21868,7 @@ function EmployerPricingCard({
|
|
|
21868
21868
|
/* @__PURE__ */ jsxRuntime.jsx(chunkMJWFNV3L_cjs.CardTitle, { className: "text-base font-semibold", children: serviceName }),
|
|
21869
21869
|
!isActive && /* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: "secondary", className: "mt-1", children: "Inactive" })
|
|
21870
21870
|
] }),
|
|
21871
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "employer-pricing-base-price", className: "text-
|
|
21871
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "employer-pricing-base-price", className: "text-end", children: [
|
|
21872
21872
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: formatPrice(basePrice) }),
|
|
21873
21873
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-xs", children: "base price" })
|
|
21874
21874
|
] })
|
|
@@ -21917,7 +21917,7 @@ function EmployerPricingCard({
|
|
|
21917
21917
|
"svg",
|
|
21918
21918
|
{
|
|
21919
21919
|
"aria-hidden": "true",
|
|
21920
|
-
className: "
|
|
21920
|
+
className: "me-1 h-3.5 w-3.5",
|
|
21921
21921
|
fill: "none",
|
|
21922
21922
|
stroke: "currentColor",
|
|
21923
21923
|
viewBox: "0 0 24 24",
|
|
@@ -21939,7 +21939,7 @@ function EmployerPricingCard({
|
|
|
21939
21939
|
"svg",
|
|
21940
21940
|
{
|
|
21941
21941
|
"aria-hidden": "true",
|
|
21942
|
-
className: "
|
|
21942
|
+
className: "me-1 h-3.5 w-3.5 text-red-500",
|
|
21943
21943
|
fill: "none",
|
|
21944
21944
|
stroke: "currentColor",
|
|
21945
21945
|
viewBox: "0 0 24 24",
|
|
@@ -22156,7 +22156,7 @@ function EmployerView({
|
|
|
22156
22156
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: order.patientName }),
|
|
22157
22157
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-xs", children: order.services.join(", ") })
|
|
22158
22158
|
] }),
|
|
22159
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-
|
|
22159
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-end", children: [
|
|
22160
22160
|
/* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: getStatusVariant(order.status), children: order.status }),
|
|
22161
22161
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: formatDate4(order.createdDate) })
|
|
22162
22162
|
] }),
|
|
@@ -22192,7 +22192,7 @@ function EmployerView({
|
|
|
22192
22192
|
formatDate4(invoice.dueDate)
|
|
22193
22193
|
] })
|
|
22194
22194
|
] }),
|
|
22195
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-
|
|
22195
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-end", children: [
|
|
22196
22196
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-semibold text-gray-900 dark:text-white", children: formatCurrency3(invoice.amount) }),
|
|
22197
22197
|
/* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: getStatusVariant(invoice.status), children: invoice.status })
|
|
22198
22198
|
] }),
|
|
@@ -22367,7 +22367,7 @@ function EmployerServiceModal({
|
|
|
22367
22367
|
!config.useBasePrice && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
22368
22368
|
"div",
|
|
22369
22369
|
{
|
|
22370
|
-
className: "border-border
|
|
22370
|
+
className: "border-border ms-4 border-s-2 ps-4",
|
|
22371
22371
|
"data-slot": "employer-service-indent",
|
|
22372
22372
|
children: [
|
|
22373
22373
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -22383,7 +22383,7 @@ function EmployerServiceModal({
|
|
|
22383
22383
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22384
22384
|
"span",
|
|
22385
22385
|
{
|
|
22386
|
-
className: "text-muted-foreground absolute top-1/2
|
|
22386
|
+
className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2",
|
|
22387
22387
|
"data-slot": "employer-service-price-prefix",
|
|
22388
22388
|
children: "$"
|
|
22389
22389
|
}
|
|
@@ -22396,7 +22396,7 @@ function EmployerServiceModal({
|
|
|
22396
22396
|
min: "0",
|
|
22397
22397
|
step: "0.01",
|
|
22398
22398
|
"data-slot": "employer-service-price-input",
|
|
22399
|
-
className: "border-input bg-background text-foreground focus:ring-ring w-full rounded-md border py-2
|
|
22399
|
+
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",
|
|
22400
22400
|
value: config.customPrice ?? "",
|
|
22401
22401
|
onChange: (e) => setConfig((prev) => ({
|
|
22402
22402
|
...prev,
|
|
@@ -22504,7 +22504,7 @@ function EmployerServiceModal({
|
|
|
22504
22504
|
config.notifyOnOrder && /* @__PURE__ */ jsxRuntime.jsx(
|
|
22505
22505
|
"div",
|
|
22506
22506
|
{
|
|
22507
|
-
className: "border-border
|
|
22507
|
+
className: "border-border ms-4 border-s-2 ps-4",
|
|
22508
22508
|
"data-slot": "employer-service-indent",
|
|
22509
22509
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22510
22510
|
chunkZ5S5JEJD_cjs.Input,
|
|
@@ -22562,7 +22562,7 @@ function EmployerServiceModal({
|
|
|
22562
22562
|
"svg",
|
|
22563
22563
|
{
|
|
22564
22564
|
"aria-hidden": "true",
|
|
22565
|
-
className: "
|
|
22565
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
22566
22566
|
"data-slot": "employer-service-spinner",
|
|
22567
22567
|
fill: "none",
|
|
22568
22568
|
viewBox: "0 0 24 24",
|
|
@@ -23594,11 +23594,11 @@ var HealthSurveillance = React13__namespace.forwardRef(
|
|
|
23594
23594
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
23595
23595
|
"div",
|
|
23596
23596
|
{
|
|
23597
|
-
className: chunkS5RVSXDV_cjs.cn(level > 0 && "border-border border-
|
|
23597
|
+
className: chunkS5RVSXDV_cjs.cn(level > 0 && "border-border border-s-2"),
|
|
23598
23598
|
style: level > 0 ? { marginLeft: (level - 1) * 16 + 2 } : void 0,
|
|
23599
23599
|
children: [
|
|
23600
|
-
isAlt && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground
|
|
23601
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkS5RVSXDV_cjs.cn("space-y-1", level > 0 && "
|
|
23600
|
+
isAlt && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-muted-foreground ps-1 text-[11px] font-medium tracking-wide uppercase", children: "one of" }),
|
|
23601
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: chunkS5RVSXDV_cjs.cn("space-y-1", level > 0 && "ps-3"), children: spec.keys.map((o) => {
|
|
23602
23602
|
const isPending = item.pendingKeys.includes(o);
|
|
23603
23603
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
23604
23604
|
chunk7AECNMYV_cjs.Checkbox,
|
|
@@ -24284,7 +24284,7 @@ function HRISProviderSelector({
|
|
|
24284
24284
|
className: "border-border bg-card text-foreground hover:bg-muted rounded-lg border px-4 py-2",
|
|
24285
24285
|
"data-slot": "hris-connected-btn",
|
|
24286
24286
|
children: [
|
|
24287
|
-
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-link-slash
|
|
24287
|
+
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-link-slash me-2" }),
|
|
24288
24288
|
disconnect
|
|
24289
24289
|
]
|
|
24290
24290
|
}
|
|
@@ -24297,7 +24297,7 @@ function HRISProviderSelector({
|
|
|
24297
24297
|
className: "bg-primary-800 hover:bg-primary-900 rounded-lg px-4 py-2 text-white",
|
|
24298
24298
|
"data-slot": "hris-connected-btn-primary",
|
|
24299
24299
|
children: [
|
|
24300
|
-
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-rotate
|
|
24300
|
+
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-rotate me-2" }),
|
|
24301
24301
|
refreshSync
|
|
24302
24302
|
]
|
|
24303
24303
|
}
|
|
@@ -24314,7 +24314,7 @@ function HRISProviderSelector({
|
|
|
24314
24314
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
24315
24315
|
"span",
|
|
24316
24316
|
{
|
|
24317
|
-
className: "text-muted-foreground absolute top-1/2
|
|
24317
|
+
className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2",
|
|
24318
24318
|
"data-slot": "hris-search-icon",
|
|
24319
24319
|
children: /* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-search" })
|
|
24320
24320
|
}
|
|
@@ -24326,7 +24326,7 @@ function HRISProviderSelector({
|
|
|
24326
24326
|
placeholder: search,
|
|
24327
24327
|
value: searchQuery,
|
|
24328
24328
|
onChange: (e) => onSearchChange?.(e.target.value),
|
|
24329
|
-
className: "focus:border-primary focus:ring-primary border-input bg-background text-foreground placeholder:text-muted-foreground w-full rounded-lg border py-2
|
|
24329
|
+
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",
|
|
24330
24330
|
"data-slot": "hris-search-input"
|
|
24331
24331
|
}
|
|
24332
24332
|
)
|
|
@@ -27041,7 +27041,7 @@ function OnboardingWizard({
|
|
|
27041
27041
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
27042
27042
|
"div",
|
|
27043
27043
|
{
|
|
27044
|
-
className: "
|
|
27044
|
+
className: "ms-3 hidden flex-col lg:flex",
|
|
27045
27045
|
"data-slot": "onboarding-header-brand",
|
|
27046
27046
|
children: [
|
|
27047
27047
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-lg font-semibold", children: brandName }),
|
|
@@ -27208,7 +27208,7 @@ function OnboardingStepQuestion({
|
|
|
27208
27208
|
onClick: () => onSelect?.(option.id),
|
|
27209
27209
|
className: "rounded-full",
|
|
27210
27210
|
children: [
|
|
27211
|
-
option.icon && /* @__PURE__ */ jsxRuntime.jsx("i", { className: chunkS5RVSXDV_cjs.cn(option.icon, "
|
|
27211
|
+
option.icon && /* @__PURE__ */ jsxRuntime.jsx("i", { className: chunkS5RVSXDV_cjs.cn(option.icon, "me-2") }),
|
|
27212
27212
|
option.label
|
|
27213
27213
|
]
|
|
27214
27214
|
},
|
|
@@ -27236,7 +27236,7 @@ function OnboardingCompletion({
|
|
|
27236
27236
|
className: "text-foreground mb-0 text-2xl",
|
|
27237
27237
|
"data-slot": "onboarding-completion-title",
|
|
27238
27238
|
children: [
|
|
27239
|
-
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-check-circle
|
|
27239
|
+
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-check-circle me-2 text-green-500" }),
|
|
27240
27240
|
"Setup complete!"
|
|
27241
27241
|
]
|
|
27242
27242
|
}
|
|
@@ -27257,15 +27257,15 @@ function OnboardingCompletion({
|
|
|
27257
27257
|
"data-slot": "onboarding-completion-actions",
|
|
27258
27258
|
children: [
|
|
27259
27259
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkRDGRKYQ5_cjs.Button, { variant: "primary", onClick: onStartOrder, children: [
|
|
27260
|
-
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-shopping-cart
|
|
27260
|
+
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-shopping-cart me-2" }),
|
|
27261
27261
|
"Start your first order"
|
|
27262
27262
|
] }),
|
|
27263
27263
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkRDGRKYQ5_cjs.Button, { variant: "outline", onClick: onGoToDashboard, children: [
|
|
27264
|
-
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-tachometer-alt
|
|
27264
|
+
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-tachometer-alt me-2" }),
|
|
27265
27265
|
"Go to Dashboard"
|
|
27266
27266
|
] }),
|
|
27267
27267
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkRDGRKYQ5_cjs.Button, { variant: "outline", onClick: onGoToEmployees, children: [
|
|
27268
|
-
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-users
|
|
27268
|
+
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-users me-2" }),
|
|
27269
27269
|
"Go to Employees"
|
|
27270
27270
|
] })
|
|
27271
27271
|
]
|
|
@@ -27416,7 +27416,7 @@ function OrderCard({
|
|
|
27416
27416
|
}
|
|
27417
27417
|
)
|
|
27418
27418
|
] }),
|
|
27419
|
-
totalAmount !== void 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-shrink-0 text-
|
|
27419
|
+
totalAmount !== void 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-shrink-0 text-end", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-foreground font-semibold", children: formatCurrency(totalAmount, currency) }) })
|
|
27420
27420
|
] }),
|
|
27421
27421
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "mb-3", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
27422
27422
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -27497,7 +27497,7 @@ function OrderCard({
|
|
|
27497
27497
|
children: "View Details"
|
|
27498
27498
|
}
|
|
27499
27499
|
),
|
|
27500
|
-
showActions && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "
|
|
27500
|
+
showActions && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "ms-auto flex gap-2", children: [
|
|
27501
27501
|
onReject && /* @__PURE__ */ jsxRuntime.jsx(
|
|
27502
27502
|
"button",
|
|
27503
27503
|
{
|
|
@@ -28012,7 +28012,7 @@ function OrderConfirmationWizard({
|
|
|
28012
28012
|
"svg",
|
|
28013
28013
|
{
|
|
28014
28014
|
"aria-hidden": "true",
|
|
28015
|
-
className: "
|
|
28015
|
+
className: "me-1 h-4 w-4",
|
|
28016
28016
|
fill: "none",
|
|
28017
28017
|
stroke: "currentColor",
|
|
28018
28018
|
viewBox: "0 0 24 24",
|
|
@@ -28052,7 +28052,7 @@ function OrderConfirmationWizard({
|
|
|
28052
28052
|
"svg",
|
|
28053
28053
|
{
|
|
28054
28054
|
"aria-hidden": "true",
|
|
28055
|
-
className: "
|
|
28055
|
+
className: "ms-1 h-4 w-4",
|
|
28056
28056
|
fill: "none",
|
|
28057
28057
|
stroke: "currentColor",
|
|
28058
28058
|
viewBox: "0 0 24 24",
|
|
@@ -28079,7 +28079,7 @@ function OrderConfirmationWizard({
|
|
|
28079
28079
|
"svg",
|
|
28080
28080
|
{
|
|
28081
28081
|
"aria-hidden": "true",
|
|
28082
|
-
className: "
|
|
28082
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
28083
28083
|
fill: "none",
|
|
28084
28084
|
viewBox: "0 0 24 24",
|
|
28085
28085
|
children: [
|
|
@@ -28112,7 +28112,7 @@ function OrderConfirmationWizard({
|
|
|
28112
28112
|
"svg",
|
|
28113
28113
|
{
|
|
28114
28114
|
"aria-hidden": "true",
|
|
28115
|
-
className: "
|
|
28115
|
+
className: "ms-1 h-4 w-4",
|
|
28116
28116
|
fill: "none",
|
|
28117
28117
|
stroke: "currentColor",
|
|
28118
28118
|
viewBox: "0 0 24 24",
|
|
@@ -28212,7 +28212,7 @@ function OrderList({
|
|
|
28212
28212
|
{
|
|
28213
28213
|
"data-slot": "order-list-tab-count",
|
|
28214
28214
|
className: chunkS5RVSXDV_cjs.cn(
|
|
28215
|
-
"
|
|
28215
|
+
"ms-2 rounded-full px-2 py-0.5 text-xs",
|
|
28216
28216
|
activeTab === tab.id ? "bg-blue-200 text-blue-800 dark:bg-blue-800 dark:text-blue-200" : "text-muted-foreground bg-gray-200 dark:bg-gray-700"
|
|
28217
28217
|
),
|
|
28218
28218
|
children: count
|
|
@@ -28236,7 +28236,7 @@ function OrderList({
|
|
|
28236
28236
|
"svg",
|
|
28237
28237
|
{
|
|
28238
28238
|
"aria-hidden": "true",
|
|
28239
|
-
className: "absolute top-1/2
|
|
28239
|
+
className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400",
|
|
28240
28240
|
fill: "none",
|
|
28241
28241
|
viewBox: "0 0 24 24",
|
|
28242
28242
|
stroke: "currentColor",
|
|
@@ -28258,7 +28258,7 @@ function OrderList({
|
|
|
28258
28258
|
placeholder: searchPlaceholder,
|
|
28259
28259
|
value: searchValue,
|
|
28260
28260
|
onChange: (e) => onSearchChange?.(e.target.value),
|
|
28261
|
-
className: "rounded-lg border border-gray-300 bg-white py-2
|
|
28261
|
+
className: "rounded-lg border border-gray-300 bg-white py-2 ps-9 pe-4 text-sm text-gray-900 placeholder-gray-500 focus:ring-2 focus:ring-blue-500 focus:outline-none dark:border-gray-600 dark:bg-gray-800 dark:text-white dark:placeholder-gray-400"
|
|
28262
28262
|
}
|
|
28263
28263
|
)
|
|
28264
28264
|
] }),
|
|
@@ -28375,7 +28375,7 @@ var defaultOrderTabs = [
|
|
|
28375
28375
|
{ id: "rejected", label: "Rejected", statuses: ["rejected", "cancelled"] }
|
|
28376
28376
|
];
|
|
28377
28377
|
function orderToMedication(order) {
|
|
28378
|
-
const sig = order.detail ?
|
|
28378
|
+
const sig = order.detail ? chunkXK424JFB_cjs.parseSig(order.detail) : void 0;
|
|
28379
28379
|
return {
|
|
28380
28380
|
id: order.orderId,
|
|
28381
28381
|
name: order.display,
|
|
@@ -28383,7 +28383,7 @@ function orderToMedication(order) {
|
|
|
28383
28383
|
status: "unreconciled",
|
|
28384
28384
|
indication: order.indication,
|
|
28385
28385
|
pharmacyNotes: order.notes,
|
|
28386
|
-
...
|
|
28386
|
+
...chunkXK424JFB_cjs.labelToMedicationFields(order.display),
|
|
28387
28387
|
...sig && {
|
|
28388
28388
|
route: sig.route,
|
|
28389
28389
|
frequency: sig.frequency,
|
|
@@ -28454,7 +28454,7 @@ function BaseOrderEditor({
|
|
|
28454
28454
|
onSave
|
|
28455
28455
|
}) {
|
|
28456
28456
|
const config = TYPE_CONFIG[type];
|
|
28457
|
-
const ambientCodeLookup =
|
|
28457
|
+
const ambientCodeLookup = chunkXK424JFB_cjs.useCodeLookupConfig();
|
|
28458
28458
|
const effectiveCodeLookup = codeLookup === false ? void 0 : codeLookup ?? ambientCodeLookup ?? void 0;
|
|
28459
28459
|
const [draft, setDraft] = React13__namespace.useState(
|
|
28460
28460
|
() => order ?? {
|
|
@@ -28653,7 +28653,7 @@ function OrderEditor({
|
|
|
28653
28653
|
display: ""
|
|
28654
28654
|
};
|
|
28655
28655
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
28656
|
-
|
|
28656
|
+
chunkXK424JFB_cjs.MedicationEditor,
|
|
28657
28657
|
{
|
|
28658
28658
|
open,
|
|
28659
28659
|
medication: order ? orderToMedication(order) : void 0,
|
|
@@ -28790,7 +28790,7 @@ function OrderLookupForm({
|
|
|
28790
28790
|
"svg",
|
|
28791
28791
|
{
|
|
28792
28792
|
"aria-hidden": "true",
|
|
28793
|
-
className: "
|
|
28793
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
28794
28794
|
fill: "none",
|
|
28795
28795
|
viewBox: "0 0 24 24",
|
|
28796
28796
|
children: [
|
|
@@ -28900,7 +28900,7 @@ function OrderSidebar({
|
|
|
28900
28900
|
"div",
|
|
28901
28901
|
{
|
|
28902
28902
|
"data-slot": "order-sidebar",
|
|
28903
|
-
className: `fixed
|
|
28903
|
+
className: `fixed end-0 top-0 z-50 h-full w-full max-w-md translate-x-0 transform bg-white shadow-xl transition-transform duration-300 dark:bg-gray-900 ${className}`,
|
|
28904
28904
|
role: "dialog",
|
|
28905
28905
|
"aria-modal": "true",
|
|
28906
28906
|
"aria-label": "Order details",
|
|
@@ -29019,7 +29019,7 @@ function OrderSidebar({
|
|
|
29019
29019
|
"div",
|
|
29020
29020
|
{
|
|
29021
29021
|
"data-slot": "order-sidebar-footer",
|
|
29022
|
-
className: "absolute
|
|
29022
|
+
className: "absolute start-0 end-0 bottom-0 border-t border-gray-200 bg-white p-4 dark:border-gray-700 dark:bg-gray-900",
|
|
29023
29023
|
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-wrap gap-2", children: actions.map((action) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
29024
29024
|
chunkRDGRKYQ5_cjs.Button,
|
|
29025
29025
|
{
|
|
@@ -29334,7 +29334,7 @@ function PatientOverflowMenu({
|
|
|
29334
29334
|
}
|
|
29335
29335
|
)
|
|
29336
29336
|
] }),
|
|
29337
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-border my-1 border-t md:my-0 md:border-
|
|
29337
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-border my-1 border-t md:my-0 md:border-s md:border-t-0" }),
|
|
29338
29338
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "md:min-w-[26rem]", children: [
|
|
29339
29339
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "px-3 py-1.5", children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-[11px] font-semibold tracking-wide uppercase", children: "Add" }) }),
|
|
29340
29340
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid grid-cols-1 gap-1 md:grid-cols-2 md:gap-2", children: [
|
|
@@ -29535,7 +29535,7 @@ var PatientHeader = React13__namespace.forwardRef(
|
|
|
29535
29535
|
onClick: onBack,
|
|
29536
29536
|
disabled: !onBack,
|
|
29537
29537
|
"aria-label": "Go back",
|
|
29538
|
-
className: "mt-1
|
|
29538
|
+
className: "-ms-2 mt-1 h-8 w-8 shrink-0",
|
|
29539
29539
|
children: /* @__PURE__ */ jsxRuntime.jsx(chunkPAM5UUBL_cjs.ArrowLeft, { size: 18 })
|
|
29540
29540
|
}
|
|
29541
29541
|
),
|
|
@@ -29631,7 +29631,7 @@ var PatientHeader = React13__namespace.forwardRef(
|
|
|
29631
29631
|
)
|
|
29632
29632
|
] })
|
|
29633
29633
|
] }),
|
|
29634
|
-
showFlagBanner && patient.flags && patient.flags.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t border-amber-200 bg-amber-50 px-5 py-1.5 text-
|
|
29634
|
+
showFlagBanner && patient.flags && patient.flags.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "border-t border-amber-200 bg-amber-50 px-5 py-1.5 text-start text-xs font-medium tracking-wide text-amber-800 dark:border-amber-800/40 dark:bg-amber-950/40 dark:text-amber-300", children: patient.flags.map(
|
|
29635
29635
|
(flag) => flag.charAt(0).toUpperCase() + flag.slice(1).toLowerCase()
|
|
29636
29636
|
).join(" \xB7 ") }),
|
|
29637
29637
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -31309,7 +31309,7 @@ function RelevanceControl({
|
|
|
31309
31309
|
{
|
|
31310
31310
|
role: "toolbar",
|
|
31311
31311
|
"aria-label": `Relevance for ${labelPrefix}`,
|
|
31312
|
-
onKeyDown:
|
|
31312
|
+
onKeyDown: chunkXK424JFB_cjs.toolbarKeyNav,
|
|
31313
31313
|
className: "border-border flex shrink-0 items-center overflow-hidden rounded-md border",
|
|
31314
31314
|
children: RELEVANCE_ORDER.map((relevance) => {
|
|
31315
31315
|
const active = value === relevance;
|
|
@@ -31321,7 +31321,7 @@ function RelevanceControl({
|
|
|
31321
31321
|
onClick: () => onChange(active ? null : relevance),
|
|
31322
31322
|
className: chunkS5RVSXDV_cjs.cn(
|
|
31323
31323
|
"px-2 py-1 text-xs font-medium transition-colors",
|
|
31324
|
-
"border-border border-
|
|
31324
|
+
"border-border border-s first:border-s-0",
|
|
31325
31325
|
active ? "bg-primary-800 text-white" : "bg-background text-muted-foreground hover:text-foreground"
|
|
31326
31326
|
),
|
|
31327
31327
|
children: RELEVANCE_LABELS[relevance]
|
|
@@ -31448,7 +31448,7 @@ var PresentingProblems = React13__namespace.forwardRef(
|
|
|
31448
31448
|
children: "out of scope"
|
|
31449
31449
|
}
|
|
31450
31450
|
),
|
|
31451
|
-
!readOnly && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "
|
|
31451
|
+
!readOnly && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "ms-auto", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
31452
31452
|
RelevanceControl,
|
|
31453
31453
|
{
|
|
31454
31454
|
value: relevance,
|
|
@@ -33891,7 +33891,7 @@ var ProviderSearchBar = React13__namespace.forwardRef(
|
|
|
33891
33891
|
className: chunkS5RVSXDV_cjs.cn(
|
|
33892
33892
|
"border-0 shadow-none focus-visible:ring-0 focus-visible:ring-offset-0",
|
|
33893
33893
|
"w-full",
|
|
33894
|
-
onGeolocate ? "
|
|
33894
|
+
onGeolocate ? "ps-0" : "ps-3"
|
|
33895
33895
|
)
|
|
33896
33896
|
}
|
|
33897
33897
|
) }),
|
|
@@ -33994,7 +33994,7 @@ var inputVariants3 = classVarianceAuthority.cva(
|
|
|
33994
33994
|
{
|
|
33995
33995
|
variants: {
|
|
33996
33996
|
hasIcon: {
|
|
33997
|
-
true: "
|
|
33997
|
+
true: "ps-10",
|
|
33998
33998
|
false: ""
|
|
33999
33999
|
}
|
|
34000
34000
|
},
|
|
@@ -34008,10 +34008,9 @@ var selectVariants = classVarianceAuthority.cva([
|
|
|
34008
34008
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2",
|
|
34009
34009
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
34010
34010
|
"dark:border-neutral-700 dark:bg-neutral-900 dark:text-neutral-100",
|
|
34011
|
-
"appearance-none bg-no-repeat bg-right
|
|
34011
|
+
"appearance-none bg-no-repeat bg-right rtl:bg-left pe-8",
|
|
34012
34012
|
'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")]',
|
|
34013
|
-
"bg-[length:1.5em_1.5em]"
|
|
34014
|
-
"bg-[right_0.5rem_center]"
|
|
34013
|
+
"bg-[length:1.5em_1.5em]"
|
|
34015
34014
|
]);
|
|
34016
34015
|
var labelVariants2 = classVarianceAuthority.cva([
|
|
34017
34016
|
"text-sm font-medium text-neutral-700 dark:text-neutral-300",
|
|
@@ -34089,7 +34088,7 @@ function InputField({ label, icon, className, id, ...props }) {
|
|
|
34089
34088
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
34090
34089
|
label && /* @__PURE__ */ jsxRuntime.jsx("label", { htmlFor: inputId, className: labelVariants2(), children: label }),
|
|
34091
34090
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
34092
|
-
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-y-0
|
|
34091
|
+
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-y-0 start-0 flex items-center ps-3 text-neutral-400", children: icon }),
|
|
34093
34092
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34094
34093
|
"input",
|
|
34095
34094
|
{
|
|
@@ -34240,7 +34239,7 @@ function ServiceMultiSelect({
|
|
|
34240
34239
|
"aria-labelledby": label ? void 0 : "services-label",
|
|
34241
34240
|
className: chunkS5RVSXDV_cjs.cn(
|
|
34242
34241
|
selectVariants(),
|
|
34243
|
-
"w-full text-
|
|
34242
|
+
"w-full text-start",
|
|
34244
34243
|
!selectedServices.length && "text-muted-foreground",
|
|
34245
34244
|
disabled && "cursor-not-allowed opacity-50"
|
|
34246
34245
|
),
|
|
@@ -34271,11 +34270,11 @@ function ServiceMultiSelect({
|
|
|
34271
34270
|
value: searchTerm,
|
|
34272
34271
|
onChange: (e) => setSearchTerm(e.target.value),
|
|
34273
34272
|
placeholder: "Search services...",
|
|
34274
|
-
className: chunkS5RVSXDV_cjs.cn(inputVariants3({ hasIcon: true }), "
|
|
34273
|
+
className: chunkS5RVSXDV_cjs.cn(inputVariants3({ hasIcon: true }), "ps-8"),
|
|
34275
34274
|
autoFocus: true
|
|
34276
34275
|
}
|
|
34277
34276
|
),
|
|
34278
|
-
/* @__PURE__ */ jsxRuntime.jsx(SearchIcon4, { className: "absolute top-1/2
|
|
34277
|
+
/* @__PURE__ */ jsxRuntime.jsx(SearchIcon4, { className: "absolute start-4 top-1/2 -translate-y-1/2 text-neutral-400" })
|
|
34279
34278
|
] }),
|
|
34280
34279
|
Object.entries(groupedServices).length > 0 ? Object.entries(groupedServices).map(
|
|
34281
34280
|
([category, categoryServices]) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
@@ -34292,7 +34291,7 @@ function ServiceMultiSelect({
|
|
|
34292
34291
|
"aria-selected": isSelected,
|
|
34293
34292
|
onClick: () => handleToggleService(service.value),
|
|
34294
34293
|
className: chunkS5RVSXDV_cjs.cn(
|
|
34295
|
-
"flex w-full items-center justify-between px-3 py-2 text-
|
|
34294
|
+
"flex w-full items-center justify-between px-3 py-2 text-start text-sm",
|
|
34296
34295
|
"hover:bg-neutral-100 dark:hover:bg-neutral-700",
|
|
34297
34296
|
isSelected && "bg-primary-50 dark:bg-primary-900/20"
|
|
34298
34297
|
),
|
|
@@ -34476,7 +34475,7 @@ function CompactFilterBar({
|
|
|
34476
34475
|
"data-slot": "provider-compact-filter",
|
|
34477
34476
|
children: [
|
|
34478
34477
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-[150px] flex-1", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
34479
|
-
/* @__PURE__ */ jsxRuntime.jsx(SearchIcon4, { className: "absolute top-1/2
|
|
34478
|
+
/* @__PURE__ */ jsxRuntime.jsx(SearchIcon4, { className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-neutral-400" }),
|
|
34480
34479
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34481
34480
|
"input",
|
|
34482
34481
|
{
|
|
@@ -34486,7 +34485,7 @@ function CompactFilterBar({
|
|
|
34486
34485
|
onChange: (e) => handleFieldChange("searchPhrase", e.target.value),
|
|
34487
34486
|
disabled: loading,
|
|
34488
34487
|
className: chunkS5RVSXDV_cjs.cn(
|
|
34489
|
-
"h-9 w-full rounded-md border border-neutral-200
|
|
34488
|
+
"h-9 w-full rounded-md border border-neutral-200 ps-9 pe-3 text-sm",
|
|
34490
34489
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
34491
34490
|
"dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
|
|
34492
34491
|
)
|
|
@@ -34509,7 +34508,7 @@ function CompactFilterBar({
|
|
|
34509
34508
|
},
|
|
34510
34509
|
disabled: loading,
|
|
34511
34510
|
className: chunkS5RVSXDV_cjs.cn(
|
|
34512
|
-
"h-9 w-20 rounded-
|
|
34511
|
+
"h-9 w-20 rounded-s-md border border-neutral-200 px-3 text-sm",
|
|
34513
34512
|
"focus:ring-primary-500 focus:z-10 focus:ring-2 focus:outline-none",
|
|
34514
34513
|
"dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
|
|
34515
34514
|
)
|
|
@@ -34523,7 +34522,7 @@ function CompactFilterBar({
|
|
|
34523
34522
|
disabled: loading,
|
|
34524
34523
|
"aria-label": "Search radius",
|
|
34525
34524
|
className: chunkS5RVSXDV_cjs.cn(
|
|
34526
|
-
"h-9 rounded-
|
|
34525
|
+
"h-9 rounded-e-md border border-s-0 border-neutral-200 px-2 text-sm",
|
|
34527
34526
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
34528
34527
|
"dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
|
|
34529
34528
|
),
|
|
@@ -34669,7 +34668,7 @@ function ActiveFilters({
|
|
|
34669
34668
|
{
|
|
34670
34669
|
type: "button",
|
|
34671
34670
|
onClick: filter.onClear,
|
|
34672
|
-
className: "
|
|
34671
|
+
className: "ms-1 rounded-full p-0.5 hover:bg-neutral-200 dark:hover:bg-neutral-600",
|
|
34673
34672
|
"aria-label": `Remove filter: ${filter.label}`,
|
|
34674
34673
|
children: /* @__PURE__ */ jsxRuntime.jsx(XMarkIcon, { className: "h-3 w-3" })
|
|
34675
34674
|
}
|
|
@@ -34772,7 +34771,7 @@ function ProviderSelector({
|
|
|
34772
34771
|
onClick: () => !disabled && setIsOpen(!isOpen),
|
|
34773
34772
|
disabled,
|
|
34774
34773
|
className: chunkS5RVSXDV_cjs.cn(
|
|
34775
|
-
"flex w-full items-center gap-3 rounded-lg border px-3 text-
|
|
34774
|
+
"flex w-full items-center gap-3 rounded-lg border px-3 text-start transition-colors",
|
|
34776
34775
|
"bg-background text-foreground",
|
|
34777
34776
|
"border-input",
|
|
34778
34777
|
"hover:border-muted-foreground/50",
|
|
@@ -34889,7 +34888,7 @@ function ProviderSelector({
|
|
|
34889
34888
|
"svg",
|
|
34890
34889
|
{
|
|
34891
34890
|
"aria-hidden": "true",
|
|
34892
|
-
className: "text-muted-foreground absolute top-1/2
|
|
34891
|
+
className: "text-muted-foreground absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2",
|
|
34893
34892
|
fill: "none",
|
|
34894
34893
|
viewBox: "0 0 24 24",
|
|
34895
34894
|
stroke: "currentColor",
|
|
@@ -34912,7 +34911,7 @@ function ProviderSelector({
|
|
|
34912
34911
|
placeholder: searchPlaceholder,
|
|
34913
34912
|
value: searchQuery,
|
|
34914
34913
|
onChange: (e) => setSearchQuery(e.target.value),
|
|
34915
|
-
className: "border-input bg-background text-foreground placeholder:text-muted-foreground focus:ring-ring w-full rounded-md border py-2
|
|
34914
|
+
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",
|
|
34916
34915
|
autoFocus: true
|
|
34917
34916
|
}
|
|
34918
34917
|
)
|
|
@@ -34924,7 +34923,7 @@ function ProviderSelector({
|
|
|
34924
34923
|
"data-slot": "provider-selector-option",
|
|
34925
34924
|
onClick: () => handleSelect(provider),
|
|
34926
34925
|
className: chunkS5RVSXDV_cjs.cn(
|
|
34927
|
-
"flex w-full items-center gap-3 px-4 py-3 text-
|
|
34926
|
+
"flex w-full items-center gap-3 px-4 py-3 text-start transition-colors",
|
|
34928
34927
|
"hover:bg-muted",
|
|
34929
34928
|
selectedProvider?.id === provider.id && "bg-primary/10"
|
|
34930
34929
|
),
|
|
@@ -35848,7 +35847,7 @@ function ProviderUsersTable({
|
|
|
35848
35847
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
35849
35848
|
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "font-medium text-gray-900 dark:text-white", children: [
|
|
35850
35849
|
user.name,
|
|
35851
|
-
isCurrentUser && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
35850
|
+
isCurrentUser && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground ms-1.5 text-xs", children: "(you)" })
|
|
35852
35851
|
] }),
|
|
35853
35852
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: user.email })
|
|
35854
35853
|
] })
|
|
@@ -35856,7 +35855,7 @@ function ProviderUsersTable({
|
|
|
35856
35855
|
/* @__PURE__ */ jsxRuntime.jsx(chunkIJYTASQQ_cjs.TableCell, { children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-gray-700 dark:text-gray-300", children: user.role }) }),
|
|
35857
35856
|
/* @__PURE__ */ jsxRuntime.jsx(chunkIJYTASQQ_cjs.TableCell, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: getStatusVariant(user.status), children: user.status || "active" }) }),
|
|
35858
35857
|
/* @__PURE__ */ jsxRuntime.jsx(chunkIJYTASQQ_cjs.TableCell, { children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-sm", children: isPending ? `Invited ${formatDate4(user.invitedAt)}` : formatDate4(user.lastActive) }) }),
|
|
35859
|
-
showActions && /* @__PURE__ */ jsxRuntime.jsx(chunkIJYTASQQ_cjs.TableCell, { className: "text-
|
|
35858
|
+
showActions && /* @__PURE__ */ jsxRuntime.jsx(chunkIJYTASQQ_cjs.TableCell, { className: "text-end", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
35860
35859
|
RowActionsMenu,
|
|
35861
35860
|
{
|
|
35862
35861
|
user,
|
|
@@ -36170,11 +36169,11 @@ function RecurringServiceCard({
|
|
|
36170
36169
|
)
|
|
36171
36170
|
] }),
|
|
36172
36171
|
effectiveState === "warning" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "bg-warning/10 text-warning-800 dark:text-warning-200 rounded-md px-3 py-2 text-xs", children: [
|
|
36173
|
-
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-exclamation-triangle
|
|
36172
|
+
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-exclamation-triangle me-1" }),
|
|
36174
36173
|
consentNote
|
|
36175
36174
|
] }),
|
|
36176
36175
|
effectiveState === "error" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "bg-destructive/10 text-destructive-800 dark:text-destructive-200 rounded-md px-3 py-2 text-xs", children: [
|
|
36177
|
-
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-times-circle
|
|
36176
|
+
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-times-circle me-1" }),
|
|
36178
36177
|
consentNote
|
|
36179
36178
|
] }),
|
|
36180
36179
|
!isDisabled && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -36401,7 +36400,7 @@ function RecurringServiceSetupModal({
|
|
|
36401
36400
|
),
|
|
36402
36401
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm", children: overrideConsent })
|
|
36403
36402
|
] }),
|
|
36404
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground
|
|
36403
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground ms-6 text-xs", children: overrideConsentNote })
|
|
36405
36404
|
] }),
|
|
36406
36405
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2", children: [
|
|
36407
36406
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -37150,7 +37149,7 @@ var ResultsEntryForm = React13__namespace.forwardRef(function ResultsEntryForm2(
|
|
|
37150
37149
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37151
37150
|
"span",
|
|
37152
37151
|
{
|
|
37153
|
-
className: "bg-muted border-input rounded-
|
|
37152
|
+
className: "bg-muted border-input rounded-s-md border border-e-0 px-3 py-2 text-sm font-medium",
|
|
37154
37153
|
"data-slot": "ref-file-badge",
|
|
37155
37154
|
children: results
|
|
37156
37155
|
}
|
|
@@ -37160,7 +37159,7 @@ var ResultsEntryForm = React13__namespace.forwardRef(function ResultsEntryForm2(
|
|
|
37160
37159
|
{
|
|
37161
37160
|
value: files.map((f) => f.name).join(", "),
|
|
37162
37161
|
readOnly: true,
|
|
37163
|
-
className: "rounded-none border-
|
|
37162
|
+
className: "rounded-none border-s-0 border-e-0",
|
|
37164
37163
|
placeholder: "No files selected"
|
|
37165
37164
|
}
|
|
37166
37165
|
),
|
|
@@ -37179,10 +37178,10 @@ var ResultsEntryForm = React13__namespace.forwardRef(function ResultsEntryForm2(
|
|
|
37179
37178
|
{
|
|
37180
37179
|
type: "button",
|
|
37181
37180
|
variant: "secondary",
|
|
37182
|
-
className: "rounded-
|
|
37181
|
+
className: "rounded-s-none",
|
|
37183
37182
|
onClick: () => fileInputRef.current?.click(),
|
|
37184
37183
|
children: [
|
|
37185
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileUp, { className: "
|
|
37184
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.FileUp, { className: "me-2 h-4 w-4" }),
|
|
37186
37185
|
browseFiles
|
|
37187
37186
|
]
|
|
37188
37187
|
}
|
|
@@ -37200,7 +37199,7 @@ var ResultsEntryForm = React13__namespace.forwardRef(function ResultsEntryForm2(
|
|
|
37200
37199
|
{
|
|
37201
37200
|
type: "button",
|
|
37202
37201
|
onClick: () => removeFile(index),
|
|
37203
|
-
className: "text-muted-foreground hover:text-destructive
|
|
37202
|
+
className: "text-muted-foreground hover:text-destructive ms-2",
|
|
37204
37203
|
"data-slot": "ref-file-remove",
|
|
37205
37204
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.X, { className: "h-4 w-4" })
|
|
37206
37205
|
}
|
|
@@ -37374,7 +37373,7 @@ function ResultsEntryModal({
|
|
|
37374
37373
|
"svg",
|
|
37375
37374
|
{
|
|
37376
37375
|
"aria-hidden": "true",
|
|
37377
|
-
className: "
|
|
37376
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
37378
37377
|
fill: "none",
|
|
37379
37378
|
viewBox: "0 0 24 24",
|
|
37380
37379
|
children: [
|
|
@@ -37634,7 +37633,7 @@ function ScheduleCalendar({
|
|
|
37634
37633
|
weekDates.map((date, i) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
37635
37634
|
"div",
|
|
37636
37635
|
{
|
|
37637
|
-
className: `flex-1 border-
|
|
37636
|
+
className: `flex-1 border-s border-gray-200 p-2 text-center dark:border-gray-700 ${isSameDay(date, /* @__PURE__ */ new Date()) ? "bg-blue-50 dark:bg-blue-900/20" : ""}`,
|
|
37638
37637
|
children: [
|
|
37639
37638
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
37640
37639
|
"p",
|
|
@@ -37666,7 +37665,7 @@ function ScheduleCalendar({
|
|
|
37666
37665
|
children: hours.map((hour) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
37667
37666
|
"div",
|
|
37668
37667
|
{
|
|
37669
|
-
className: "text-muted-foreground h-16
|
|
37668
|
+
className: "text-muted-foreground h-16 pe-2 text-end text-xs",
|
|
37670
37669
|
children: new Date(2e3, 0, 1, hour).toLocaleTimeString("en-US", {
|
|
37671
37670
|
hour: "numeric",
|
|
37672
37671
|
hour12: true
|
|
@@ -37681,7 +37680,7 @@ function ScheduleCalendar({
|
|
|
37681
37680
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
37682
37681
|
"div",
|
|
37683
37682
|
{
|
|
37684
|
-
className: `relative flex-1 border-
|
|
37683
|
+
className: `relative flex-1 border-s border-gray-200 dark:border-gray-700 ${view === "week" && isSameDay(date, /* @__PURE__ */ new Date()) ? "bg-blue-50/50 dark:bg-blue-900/10" : ""}`,
|
|
37685
37684
|
children: [
|
|
37686
37685
|
hours.map((hour) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
37687
37686
|
"div",
|
|
@@ -37717,7 +37716,7 @@ function ScheduleCalendar({
|
|
|
37717
37716
|
role: "button",
|
|
37718
37717
|
tabIndex: 0,
|
|
37719
37718
|
"aria-label": `${appointment.patientName || appointment.title}, ${formatTime4(appointment.startTime)}`,
|
|
37720
|
-
className: `absolute
|
|
37719
|
+
className: `absolute start-1 end-1 cursor-pointer overflow-hidden rounded border-s-4 px-2 py-1 text-xs text-white ${getStatusColor(appointment.status)}`,
|
|
37721
37720
|
style: {
|
|
37722
37721
|
top: position.top,
|
|
37723
37722
|
height: position.height,
|
|
@@ -37941,7 +37940,7 @@ var accordionVariants = classVarianceAuthority.cva(
|
|
|
37941
37940
|
);
|
|
37942
37941
|
var categoryHeaderVariants = classVarianceAuthority.cva(
|
|
37943
37942
|
[
|
|
37944
|
-
"w-full flex items-center justify-between py-4 px-4 text-
|
|
37943
|
+
"w-full flex items-center justify-between py-4 px-4 text-start",
|
|
37945
37944
|
"transition-colors",
|
|
37946
37945
|
"focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2"
|
|
37947
37946
|
],
|
|
@@ -38050,7 +38049,7 @@ function ServiceLink({
|
|
|
38050
38049
|
children: [
|
|
38051
38050
|
/* @__PURE__ */ jsxRuntime.jsx(LinkIcon, { className: "flex-shrink-0 text-neutral-400" }),
|
|
38052
38051
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-grow", children: service.name }),
|
|
38053
|
-
service.providerCount !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground
|
|
38052
|
+
service.providerCount !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground ms-2 text-xs", children: [
|
|
38054
38053
|
"(",
|
|
38055
38054
|
service.providerCount,
|
|
38056
38055
|
")"
|
|
@@ -38077,7 +38076,7 @@ function SubCategoryAccordion({
|
|
|
38077
38076
|
onClick: () => setIsExpanded(!isExpanded),
|
|
38078
38077
|
className: chunkS5RVSXDV_cjs.cn(
|
|
38079
38078
|
"flex w-full items-center justify-between px-3 py-2",
|
|
38080
|
-
"text-
|
|
38079
|
+
"text-start font-medium text-neutral-700 dark:text-neutral-200",
|
|
38081
38080
|
"hover:text-primary-800 dark:hover:text-primary-400",
|
|
38082
38081
|
"focus-visible:ring-primary-500 focus:outline-none focus-visible:ring-2"
|
|
38083
38082
|
),
|
|
@@ -38107,7 +38106,7 @@ function SubCategoryAccordion({
|
|
|
38107
38106
|
isExpanded ? "max-h-[1000px] opacity-100" : "max-h-0 opacity-0"
|
|
38108
38107
|
),
|
|
38109
38108
|
inert: !isExpanded || void 0,
|
|
38110
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-1 pb-2
|
|
38109
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-1 ps-4 pb-2", children: subCategory.services.map((service, serviceIdx) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
38111
38110
|
ServiceLink,
|
|
38112
38111
|
{
|
|
38113
38112
|
service,
|
|
@@ -38462,7 +38461,7 @@ function ServiceBadge({
|
|
|
38462
38461
|
const isClickable = Boolean(href || onClick);
|
|
38463
38462
|
const isInteractive = interactive ?? isClickable;
|
|
38464
38463
|
const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
38465
|
-
icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "
|
|
38464
|
+
icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "me-1 flex-shrink-0", children: icon }),
|
|
38466
38465
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children }),
|
|
38467
38466
|
removable && onRemove && /* @__PURE__ */ jsxRuntime.jsx(
|
|
38468
38467
|
"button",
|
|
@@ -38474,7 +38473,7 @@ function ServiceBadge({
|
|
|
38474
38473
|
e.stopPropagation();
|
|
38475
38474
|
onRemove();
|
|
38476
38475
|
},
|
|
38477
|
-
className: "
|
|
38476
|
+
className: "ms-1 flex-shrink-0 rounded-full p-0.5 transition-colors hover:bg-black/10 dark:hover:bg-white/10",
|
|
38478
38477
|
"aria-label": `Remove ${children}`,
|
|
38479
38478
|
children: /* @__PURE__ */ jsxRuntime.jsx(CloseIcon4, { className: "h-3 w-3" })
|
|
38480
38479
|
}
|
|
@@ -38591,7 +38590,7 @@ function ServiceTagCloudBadges({
|
|
|
38591
38590
|
href: onServiceClick ? void 0 : `/service/${service.slug}`,
|
|
38592
38591
|
children: [
|
|
38593
38592
|
service.name,
|
|
38594
|
-
showCounts && service.count !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground
|
|
38593
|
+
showCounts && service.count !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground ms-1", children: [
|
|
38595
38594
|
"(",
|
|
38596
38595
|
service.count,
|
|
38597
38596
|
")"
|
|
@@ -38642,7 +38641,7 @@ function SelectedServicesBadges({
|
|
|
38642
38641
|
{
|
|
38643
38642
|
type: "button",
|
|
38644
38643
|
onClick: onClearAll,
|
|
38645
|
-
className: "text-muted-foreground
|
|
38644
|
+
className: "text-muted-foreground ms-1 text-xs underline hover:text-gray-700 dark:hover:text-gray-200",
|
|
38646
38645
|
children: "Clear all"
|
|
38647
38646
|
}
|
|
38648
38647
|
)
|
|
@@ -38704,7 +38703,7 @@ function DOTBadge({
|
|
|
38704
38703
|
),
|
|
38705
38704
|
...props,
|
|
38706
38705
|
children: [
|
|
38707
|
-
/* @__PURE__ */ jsxRuntime.jsx(DOTIcon, { className: "
|
|
38706
|
+
/* @__PURE__ */ jsxRuntime.jsx(DOTIcon, { className: "me-1 h-3.5 w-3.5" }),
|
|
38708
38707
|
children || config.label
|
|
38709
38708
|
]
|
|
38710
38709
|
}
|
|
@@ -38967,7 +38966,7 @@ function ServiceCard({
|
|
|
38967
38966
|
{
|
|
38968
38967
|
type: "button",
|
|
38969
38968
|
onClick: handleManageClick,
|
|
38970
|
-
className: "text-primary-800 hover:text-primary-900 dark:text-primary-300 dark:hover:text-primary-200 hover:bg-primary/10
|
|
38969
|
+
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",
|
|
38971
38970
|
children: "Manage"
|
|
38972
38971
|
}
|
|
38973
38972
|
)
|
|
@@ -39156,7 +39155,7 @@ function ServiceGeneralSettings({
|
|
|
39156
39155
|
}
|
|
39157
39156
|
),
|
|
39158
39157
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
39159
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground absolute top-1/2
|
|
39158
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2", children: "$" }),
|
|
39160
39159
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39161
39160
|
"input",
|
|
39162
39161
|
{
|
|
@@ -39164,7 +39163,7 @@ function ServiceGeneralSettings({
|
|
|
39164
39163
|
type: "number",
|
|
39165
39164
|
min: "0",
|
|
39166
39165
|
step: "0.01",
|
|
39167
|
-
className: "w-full rounded-md border border-gray-300 py-2
|
|
39166
|
+
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",
|
|
39168
39167
|
value: basePrice,
|
|
39169
39168
|
onChange: (e) => onBasePriceChange?.(parseFloat(e.target.value) || 0),
|
|
39170
39169
|
placeholder: "0.00"
|
|
@@ -39188,13 +39187,13 @@ function ServiceGeneralSettings({
|
|
|
39188
39187
|
id: "turnaround-days",
|
|
39189
39188
|
type: "number",
|
|
39190
39189
|
min: "0",
|
|
39191
|
-
className: "w-full rounded-md border border-gray-300 px-3 py-2
|
|
39190
|
+
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",
|
|
39192
39191
|
value: turnaroundDays ?? "",
|
|
39193
39192
|
onChange: (e) => onTurnaroundDaysChange?.(parseInt(e.target.value) || 0),
|
|
39194
39193
|
placeholder: "0"
|
|
39195
39194
|
}
|
|
39196
39195
|
),
|
|
39197
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground absolute top-1/2
|
|
39196
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground absolute end-3 top-1/2 -translate-y-1/2 text-sm", children: "days" })
|
|
39198
39197
|
] })
|
|
39199
39198
|
] })
|
|
39200
39199
|
] })
|
|
@@ -39437,7 +39436,7 @@ function ServicePicker({
|
|
|
39437
39436
|
}
|
|
39438
39437
|
),
|
|
39439
39438
|
showSearch && /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "service-picker-search", className: "relative", children: [
|
|
39440
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-y-0
|
|
39439
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-y-0 start-0 flex items-center ps-3", children: /* @__PURE__ */ jsxRuntime.jsx(SearchIcon5, { className: "text-muted-foreground h-5 w-5" }) }),
|
|
39441
39440
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39442
39441
|
chunkZ5S5JEJD_cjs.Input,
|
|
39443
39442
|
{
|
|
@@ -39445,7 +39444,7 @@ function ServicePicker({
|
|
|
39445
39444
|
value: searchQuery,
|
|
39446
39445
|
onChange: (e) => setSearchQuery(e.target.value),
|
|
39447
39446
|
placeholder: searchPlaceholder,
|
|
39448
|
-
className: "
|
|
39447
|
+
className: "ps-10",
|
|
39449
39448
|
"data-cy": "input-search-services"
|
|
39450
39449
|
}
|
|
39451
39450
|
)
|
|
@@ -39546,10 +39545,10 @@ function ServiceGroupItem({
|
|
|
39546
39545
|
onClick: () => onToggleGroup(group.id),
|
|
39547
39546
|
className: chunkS5RVSXDV_cjs.cn(
|
|
39548
39547
|
"flex w-full items-center justify-between rounded-lg px-3 py-2",
|
|
39549
|
-
"text-muted-foreground text-
|
|
39548
|
+
"text-muted-foreground text-start text-sm font-medium",
|
|
39550
39549
|
"hover:bg-muted",
|
|
39551
39550
|
"transition-colors",
|
|
39552
|
-
depth > 0 && "
|
|
39551
|
+
depth > 0 && "ms-4"
|
|
39553
39552
|
),
|
|
39554
39553
|
"aria-expanded": isExpanded,
|
|
39555
39554
|
children: [
|
|
@@ -39587,7 +39586,7 @@ function ServiceGroupItem({
|
|
|
39587
39586
|
"ul",
|
|
39588
39587
|
{
|
|
39589
39588
|
"data-slot": "service-picker-group-list",
|
|
39590
|
-
className: "mt-1 space-y-1
|
|
39589
|
+
className: "mt-1 space-y-1 ps-4",
|
|
39591
39590
|
children: [
|
|
39592
39591
|
group.services.map((service) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
39593
39592
|
ServiceItem,
|
|
@@ -39980,10 +39979,10 @@ function ServicePricingManager({
|
|
|
39980
39979
|
/* @__PURE__ */ jsxRuntime.jsx(chunkMJWFNV3L_cjs.CardContent, { children: filteredServices.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground py-8 text-center", children: "No services found" }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: [
|
|
39981
39980
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-muted-foreground hidden gap-4 py-3 text-xs font-medium uppercase md:grid md:grid-cols-6", children: [
|
|
39982
39981
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-2", children: "Service" }),
|
|
39983
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-
|
|
39984
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-
|
|
39982
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-end", children: "Base Price" }),
|
|
39983
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-end", children: "Employer Price" }),
|
|
39985
39984
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-center", children: "Status" }),
|
|
39986
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-
|
|
39985
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-end", children: "Actions" })
|
|
39987
39986
|
] }),
|
|
39988
39987
|
filteredServices.map((service) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
39989
39988
|
"div",
|
|
@@ -40000,14 +39999,14 @@ function ServicePricingManager({
|
|
|
40000
39999
|
] }),
|
|
40001
40000
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between md:mb-0 md:block", children: [
|
|
40002
40001
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-sm md:hidden", children: "Base:" }),
|
|
40003
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-
|
|
40002
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-end font-semibold text-gray-900 dark:text-white", children: formatCurrency3(service.basePrice) })
|
|
40004
40003
|
] }),
|
|
40005
40004
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between md:mb-0 md:block", children: [
|
|
40006
40005
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-sm md:hidden", children: "Employer:" }),
|
|
40007
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-
|
|
40006
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-end", children: service.employerPrice ? formatCurrency3(service.employerPrice) : "\u2014" })
|
|
40008
40007
|
] }),
|
|
40009
40008
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center md:mb-0 md:justify-center", children: [
|
|
40010
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
40009
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground me-2 text-sm md:hidden", children: "Status:" }),
|
|
40011
40010
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
40012
40011
|
chunkYVL3XATO_cjs.Badge,
|
|
40013
40012
|
{
|
|
@@ -40557,7 +40556,7 @@ function SetupServiceModal({
|
|
|
40557
40556
|
}
|
|
40558
40557
|
),
|
|
40559
40558
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
40560
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground absolute top-1/2
|
|
40559
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2", children: "$" }),
|
|
40561
40560
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
40562
40561
|
"input",
|
|
40563
40562
|
{
|
|
@@ -40565,7 +40564,7 @@ function SetupServiceModal({
|
|
|
40565
40564
|
type: "number",
|
|
40566
40565
|
min: "0",
|
|
40567
40566
|
step: "0.01",
|
|
40568
|
-
className: "bg-background text-foreground border-input focus:ring-ring w-full rounded-md border py-2
|
|
40567
|
+
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",
|
|
40569
40568
|
value: formData.price,
|
|
40570
40569
|
onChange: (e) => setFormData((prev) => ({
|
|
40571
40570
|
...prev,
|
|
@@ -40632,7 +40631,7 @@ function SetupServiceModal({
|
|
|
40632
40631
|
"div",
|
|
40633
40632
|
{
|
|
40634
40633
|
"data-slot": "setup-service-inventory",
|
|
40635
|
-
className: "border-border
|
|
40634
|
+
className: "border-border ms-4 border-s-2 ps-4",
|
|
40636
40635
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
40637
40636
|
chunkZ5S5JEJD_cjs.Input,
|
|
40638
40637
|
{
|
|
@@ -40692,7 +40691,7 @@ function SetupServiceModal({
|
|
|
40692
40691
|
"svg",
|
|
40693
40692
|
{
|
|
40694
40693
|
"aria-hidden": "true",
|
|
40695
|
-
className: "
|
|
40694
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
40696
40695
|
fill: "none",
|
|
40697
40696
|
viewBox: "0 0 24 24",
|
|
40698
40697
|
children: [
|
|
@@ -44134,7 +44133,7 @@ function WebChartReportViewer({
|
|
|
44134
44133
|
":"
|
|
44135
44134
|
] }),
|
|
44136
44135
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44137
|
-
|
|
44136
|
+
chunkZPZAZQW4_cjs.DateInput,
|
|
44138
44137
|
{
|
|
44139
44138
|
size: "sm",
|
|
44140
44139
|
showCalendar: true,
|
|
@@ -44148,7 +44147,7 @@ function WebChartReportViewer({
|
|
|
44148
44147
|
":"
|
|
44149
44148
|
] }),
|
|
44150
44149
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44151
|
-
|
|
44150
|
+
chunkZPZAZQW4_cjs.DateInput,
|
|
44152
44151
|
{
|
|
44153
44152
|
size: "sm",
|
|
44154
44153
|
showCalendar: true,
|
|
@@ -44293,7 +44292,7 @@ function ReportTimeRange({
|
|
|
44293
44292
|
),
|
|
44294
44293
|
preset === "custom" && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
44295
44294
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44296
|
-
|
|
44295
|
+
chunkZPZAZQW4_cjs.DateInput,
|
|
44297
44296
|
{
|
|
44298
44297
|
size: "sm",
|
|
44299
44298
|
showCalendar: true,
|
|
@@ -44304,7 +44303,7 @@ function ReportTimeRange({
|
|
|
44304
44303
|
),
|
|
44305
44304
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "to" }),
|
|
44306
44305
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
44307
|
-
|
|
44306
|
+
chunkZPZAZQW4_cjs.DateInput,
|
|
44308
44307
|
{
|
|
44309
44308
|
size: "sm",
|
|
44310
44309
|
showCalendar: true,
|
|
@@ -45440,11 +45439,11 @@ Object.defineProperty(exports, "CollapsibleTrigger", {
|
|
|
45440
45439
|
});
|
|
45441
45440
|
Object.defineProperty(exports, "miewebUIPreset", {
|
|
45442
45441
|
enumerable: true,
|
|
45443
|
-
get: function () { return
|
|
45442
|
+
get: function () { return chunk4GCF2ITV_cjs.miewebUIPreset; }
|
|
45444
45443
|
});
|
|
45445
45444
|
Object.defineProperty(exports, "miewebUISafelist", {
|
|
45446
45445
|
enumerable: true,
|
|
45447
|
-
get: function () { return
|
|
45446
|
+
get: function () { return chunk4GCF2ITV_cjs.miewebUISafelist; }
|
|
45448
45447
|
});
|
|
45449
45448
|
Object.defineProperty(exports, "Accordion", {
|
|
45450
45449
|
enumerable: true,
|
|
@@ -45556,67 +45555,67 @@ Object.defineProperty(exports, "isApplicable", {
|
|
|
45556
45555
|
});
|
|
45557
45556
|
Object.defineProperty(exports, "ALLERGY_TYPE_LABELS", {
|
|
45558
45557
|
enumerable: true,
|
|
45559
|
-
get: function () { return
|
|
45558
|
+
get: function () { return chunkXK424JFB_cjs.ALLERGY_TYPE_LABELS; }
|
|
45560
45559
|
});
|
|
45561
45560
|
Object.defineProperty(exports, "AllergyList", {
|
|
45562
45561
|
enumerable: true,
|
|
45563
|
-
get: function () { return
|
|
45562
|
+
get: function () { return chunkXK424JFB_cjs.AllergyList; }
|
|
45564
45563
|
});
|
|
45565
45564
|
Object.defineProperty(exports, "AllergyManager", {
|
|
45566
45565
|
enumerable: true,
|
|
45567
|
-
get: function () { return
|
|
45566
|
+
get: function () { return chunkXK424JFB_cjs.AllergyManager; }
|
|
45568
45567
|
});
|
|
45569
45568
|
Object.defineProperty(exports, "CodeLookupProvider", {
|
|
45570
45569
|
enumerable: true,
|
|
45571
|
-
get: function () { return
|
|
45570
|
+
get: function () { return chunkXK424JFB_cjs.CodeLookupProvider; }
|
|
45572
45571
|
});
|
|
45573
45572
|
Object.defineProperty(exports, "MEDICATION_STATUS_LABELS", {
|
|
45574
45573
|
enumerable: true,
|
|
45575
|
-
get: function () { return
|
|
45574
|
+
get: function () { return chunkXK424JFB_cjs.MEDICATION_STATUS_LABELS; }
|
|
45576
45575
|
});
|
|
45577
45576
|
Object.defineProperty(exports, "MedicationEditor", {
|
|
45578
45577
|
enumerable: true,
|
|
45579
|
-
get: function () { return
|
|
45578
|
+
get: function () { return chunkXK424JFB_cjs.MedicationEditor; }
|
|
45580
45579
|
});
|
|
45581
45580
|
Object.defineProperty(exports, "MedicationList", {
|
|
45582
45581
|
enumerable: true,
|
|
45583
|
-
get: function () { return
|
|
45582
|
+
get: function () { return chunkXK424JFB_cjs.MedicationList; }
|
|
45584
45583
|
});
|
|
45585
45584
|
Object.defineProperty(exports, "MedicationReconciliation", {
|
|
45586
45585
|
enumerable: true,
|
|
45587
|
-
get: function () { return
|
|
45586
|
+
get: function () { return chunkXK424JFB_cjs.MedicationReconciliation; }
|
|
45588
45587
|
});
|
|
45589
45588
|
Object.defineProperty(exports, "RowActionToolbar", {
|
|
45590
45589
|
enumerable: true,
|
|
45591
|
-
get: function () { return
|
|
45590
|
+
get: function () { return chunkXK424JFB_cjs.RowActionToolbar; }
|
|
45592
45591
|
});
|
|
45593
45592
|
Object.defineProperty(exports, "RowIconButton", {
|
|
45594
45593
|
enumerable: true,
|
|
45595
|
-
get: function () { return
|
|
45594
|
+
get: function () { return chunkXK424JFB_cjs.RowIconButton; }
|
|
45596
45595
|
});
|
|
45597
45596
|
Object.defineProperty(exports, "labelToMedicationFields", {
|
|
45598
45597
|
enumerable: true,
|
|
45599
|
-
get: function () { return
|
|
45598
|
+
get: function () { return chunkXK424JFB_cjs.labelToMedicationFields; }
|
|
45600
45599
|
});
|
|
45601
45600
|
Object.defineProperty(exports, "lookupToMedicationFields", {
|
|
45602
45601
|
enumerable: true,
|
|
45603
|
-
get: function () { return
|
|
45602
|
+
get: function () { return chunkXK424JFB_cjs.lookupToMedicationFields; }
|
|
45604
45603
|
});
|
|
45605
45604
|
Object.defineProperty(exports, "parseMedicationLabel", {
|
|
45606
45605
|
enumerable: true,
|
|
45607
|
-
get: function () { return
|
|
45606
|
+
get: function () { return chunkXK424JFB_cjs.parseMedicationLabel; }
|
|
45608
45607
|
});
|
|
45609
45608
|
Object.defineProperty(exports, "parseSig", {
|
|
45610
45609
|
enumerable: true,
|
|
45611
|
-
get: function () { return
|
|
45610
|
+
get: function () { return chunkXK424JFB_cjs.parseSig; }
|
|
45612
45611
|
});
|
|
45613
45612
|
Object.defineProperty(exports, "toolbarKeyNav", {
|
|
45614
45613
|
enumerable: true,
|
|
45615
|
-
get: function () { return
|
|
45614
|
+
get: function () { return chunkXK424JFB_cjs.toolbarKeyNav; }
|
|
45616
45615
|
});
|
|
45617
45616
|
Object.defineProperty(exports, "useCodeLookupConfig", {
|
|
45618
45617
|
enumerable: true,
|
|
45619
|
-
get: function () { return
|
|
45618
|
+
get: function () { return chunkXK424JFB_cjs.useCodeLookupConfig; }
|
|
45620
45619
|
});
|
|
45621
45620
|
Object.defineProperty(exports, "Textarea", {
|
|
45622
45621
|
enumerable: true,
|
|
@@ -45660,7 +45659,7 @@ Object.defineProperty(exports, "selectTriggerVariants", {
|
|
|
45660
45659
|
});
|
|
45661
45660
|
Object.defineProperty(exports, "DateInput", {
|
|
45662
45661
|
enumerable: true,
|
|
45663
|
-
get: function () { return
|
|
45662
|
+
get: function () { return chunkZPZAZQW4_cjs.DateInput; }
|
|
45664
45663
|
});
|
|
45665
45664
|
Object.defineProperty(exports, "Card", {
|
|
45666
45665
|
enumerable: true,
|