@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.cjs
CHANGED
|
@@ -23420,9 +23420,9 @@ function OrderSidebar({
|
|
|
23420
23420
|
const getPriorityColor = () => {
|
|
23421
23421
|
switch (priority) {
|
|
23422
23422
|
case "stat":
|
|
23423
|
-
return "text-red-
|
|
23423
|
+
return "text-red-700 dark:text-red-400";
|
|
23424
23424
|
case "urgent":
|
|
23425
|
-
return "text-orange-
|
|
23425
|
+
return "text-orange-700 dark:text-orange-400";
|
|
23426
23426
|
default:
|
|
23427
23427
|
return "text-muted-foreground";
|
|
23428
23428
|
}
|
|
@@ -23439,7 +23439,7 @@ function OrderSidebar({
|
|
|
23439
23439
|
}
|
|
23440
23440
|
),
|
|
23441
23441
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
23442
|
-
"
|
|
23442
|
+
"div",
|
|
23443
23443
|
{
|
|
23444
23444
|
"data-slot": "order-sidebar",
|
|
23445
23445
|
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}`,
|
|
@@ -23512,48 +23512,46 @@ function OrderSidebar({
|
|
|
23512
23512
|
]
|
|
23513
23513
|
}
|
|
23514
23514
|
),
|
|
23515
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
23516
|
-
|
|
23517
|
-
|
|
23518
|
-
|
|
23519
|
-
|
|
23520
|
-
|
|
23521
|
-
|
|
23522
|
-
|
|
23523
|
-
|
|
23524
|
-
|
|
23525
|
-
|
|
23526
|
-
|
|
23527
|
-
|
|
23528
|
-
|
|
23529
|
-
|
|
23530
|
-
|
|
23531
|
-
|
|
23532
|
-
|
|
23533
|
-
children: [
|
|
23534
|
-
/* @__PURE__ */ jsxRuntime.
|
|
23535
|
-
|
|
23536
|
-
|
|
23537
|
-
|
|
23538
|
-
/* @__PURE__ */ jsxRuntime.
|
|
23539
|
-
|
|
23540
|
-
|
|
23541
|
-
|
|
23542
|
-
|
|
23543
|
-
|
|
23544
|
-
|
|
23545
|
-
|
|
23546
|
-
|
|
23547
|
-
|
|
23548
|
-
|
|
23549
|
-
|
|
23550
|
-
|
|
23551
|
-
|
|
23552
|
-
|
|
23553
|
-
|
|
23554
|
-
|
|
23555
|
-
] })
|
|
23556
|
-
] }),
|
|
23515
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
23516
|
+
"dl",
|
|
23517
|
+
{
|
|
23518
|
+
"data-slot": "order-sidebar-details",
|
|
23519
|
+
className: "grid grid-cols-2 gap-4",
|
|
23520
|
+
children: [
|
|
23521
|
+
patientName && /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
|
|
23522
|
+
/* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Patient" }),
|
|
23523
|
+
/* @__PURE__ */ jsxRuntime.jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: patientName })
|
|
23524
|
+
] }),
|
|
23525
|
+
employerName && /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
|
|
23526
|
+
/* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Employer" }),
|
|
23527
|
+
/* @__PURE__ */ jsxRuntime.jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: employerName })
|
|
23528
|
+
] }),
|
|
23529
|
+
serviceName && /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
|
|
23530
|
+
/* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Service" }),
|
|
23531
|
+
/* @__PURE__ */ jsxRuntime.jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: serviceName })
|
|
23532
|
+
] }),
|
|
23533
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "order-sidebar-detail", children: [
|
|
23534
|
+
/* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Created" }),
|
|
23535
|
+
/* @__PURE__ */ jsxRuntime.jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: formatDate4(createdAt) })
|
|
23536
|
+
] }),
|
|
23537
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "order-sidebar-detail", children: [
|
|
23538
|
+
/* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Scheduled" }),
|
|
23539
|
+
/* @__PURE__ */ jsxRuntime.jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: formatDate4(scheduledDate) })
|
|
23540
|
+
] }),
|
|
23541
|
+
notes && /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
|
|
23542
|
+
/* @__PURE__ */ jsxRuntime.jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Notes" }),
|
|
23543
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23544
|
+
"dd",
|
|
23545
|
+
{
|
|
23546
|
+
"data-slot": "order-sidebar-notes",
|
|
23547
|
+
className: "text-muted-foreground mt-1 rounded-lg bg-gray-50 p-3 text-sm dark:bg-gray-800",
|
|
23548
|
+
children: notes
|
|
23549
|
+
}
|
|
23550
|
+
)
|
|
23551
|
+
] })
|
|
23552
|
+
]
|
|
23553
|
+
}
|
|
23554
|
+
),
|
|
23557
23555
|
children && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "mt-6", children })
|
|
23558
23556
|
]
|
|
23559
23557
|
}
|