@mieweb/ui 0.3.0-dev.74 → 0.3.0-dev.75
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/index.cjs +43 -45
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +43 -45
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -23427,9 +23427,9 @@ function OrderSidebar({
|
|
|
23427
23427
|
const getPriorityColor = () => {
|
|
23428
23428
|
switch (priority) {
|
|
23429
23429
|
case "stat":
|
|
23430
|
-
return "text-red-
|
|
23430
|
+
return "text-red-700 dark:text-red-400";
|
|
23431
23431
|
case "urgent":
|
|
23432
|
-
return "text-orange-
|
|
23432
|
+
return "text-orange-700 dark:text-orange-400";
|
|
23433
23433
|
default:
|
|
23434
23434
|
return "text-muted-foreground";
|
|
23435
23435
|
}
|
|
@@ -23446,7 +23446,7 @@ function OrderSidebar({
|
|
|
23446
23446
|
}
|
|
23447
23447
|
),
|
|
23448
23448
|
/* @__PURE__ */ jsxs(
|
|
23449
|
-
"
|
|
23449
|
+
"div",
|
|
23450
23450
|
{
|
|
23451
23451
|
"data-slot": "order-sidebar",
|
|
23452
23452
|
className: `fixed top-0 right-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}`,
|
|
@@ -23519,48 +23519,46 @@ function OrderSidebar({
|
|
|
23519
23519
|
]
|
|
23520
23520
|
}
|
|
23521
23521
|
),
|
|
23522
|
-
/* @__PURE__ */ jsxs(
|
|
23523
|
-
|
|
23524
|
-
|
|
23525
|
-
|
|
23526
|
-
|
|
23527
|
-
|
|
23528
|
-
|
|
23529
|
-
|
|
23530
|
-
|
|
23531
|
-
|
|
23532
|
-
|
|
23533
|
-
|
|
23534
|
-
|
|
23535
|
-
|
|
23536
|
-
|
|
23537
|
-
|
|
23538
|
-
|
|
23539
|
-
|
|
23540
|
-
children: [
|
|
23541
|
-
/* @__PURE__ */
|
|
23542
|
-
|
|
23543
|
-
|
|
23544
|
-
|
|
23545
|
-
/* @__PURE__ */
|
|
23546
|
-
|
|
23547
|
-
|
|
23548
|
-
|
|
23549
|
-
|
|
23550
|
-
|
|
23551
|
-
|
|
23552
|
-
|
|
23553
|
-
|
|
23554
|
-
|
|
23555
|
-
|
|
23556
|
-
|
|
23557
|
-
|
|
23558
|
-
|
|
23559
|
-
|
|
23560
|
-
|
|
23561
|
-
|
|
23562
|
-
] })
|
|
23563
|
-
] }),
|
|
23522
|
+
/* @__PURE__ */ jsxs(
|
|
23523
|
+
"dl",
|
|
23524
|
+
{
|
|
23525
|
+
"data-slot": "order-sidebar-details",
|
|
23526
|
+
className: "grid grid-cols-2 gap-4",
|
|
23527
|
+
children: [
|
|
23528
|
+
patientName && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
|
|
23529
|
+
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Patient" }),
|
|
23530
|
+
/* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: patientName })
|
|
23531
|
+
] }),
|
|
23532
|
+
employerName && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
|
|
23533
|
+
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Employer" }),
|
|
23534
|
+
/* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: employerName })
|
|
23535
|
+
] }),
|
|
23536
|
+
serviceName && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
|
|
23537
|
+
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Service" }),
|
|
23538
|
+
/* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: serviceName })
|
|
23539
|
+
] }),
|
|
23540
|
+
/* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", children: [
|
|
23541
|
+
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Created" }),
|
|
23542
|
+
/* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: formatDate4(createdAt) })
|
|
23543
|
+
] }),
|
|
23544
|
+
/* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", children: [
|
|
23545
|
+
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Scheduled" }),
|
|
23546
|
+
/* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: formatDate4(scheduledDate) })
|
|
23547
|
+
] }),
|
|
23548
|
+
notes && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
|
|
23549
|
+
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Notes" }),
|
|
23550
|
+
/* @__PURE__ */ jsx(
|
|
23551
|
+
"dd",
|
|
23552
|
+
{
|
|
23553
|
+
"data-slot": "order-sidebar-notes",
|
|
23554
|
+
className: "text-muted-foreground mt-1 rounded-lg bg-gray-50 p-3 text-sm dark:bg-gray-800",
|
|
23555
|
+
children: notes
|
|
23556
|
+
}
|
|
23557
|
+
)
|
|
23558
|
+
] })
|
|
23559
|
+
]
|
|
23560
|
+
}
|
|
23561
|
+
),
|
|
23564
23562
|
children && /* @__PURE__ */ jsx("div", { className: "mt-6", children })
|
|
23565
23563
|
]
|
|
23566
23564
|
}
|