@mieweb/ui 0.3.0-dev.105 → 0.3.0-dev.107
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-7UXRPTSE.js → chunk-2DS3RJ2D.js} +5 -2
- package/dist/chunk-2DS3RJ2D.js.map +1 -0
- package/dist/{chunk-PTJMBSPV.cjs → chunk-3M4P2KMG.cjs} +4 -4
- package/dist/{chunk-PTJMBSPV.cjs.map → chunk-3M4P2KMG.cjs.map} +1 -1
- package/dist/{chunk-2B2KEZ2H.js → chunk-6555OYRU.js} +4 -4
- package/dist/{chunk-2B2KEZ2H.js.map → chunk-6555OYRU.js.map} +1 -1
- package/dist/{chunk-PU6ZC4GI.js → chunk-EZKRAW2X.js} +4 -4
- package/dist/chunk-EZKRAW2X.js.map +1 -0
- package/dist/{chunk-PA4YEZRE.cjs → chunk-IBZXDX4L.cjs} +5 -2
- package/dist/chunk-IBZXDX4L.cjs.map +1 -0
- package/dist/{chunk-YTZPVEIO.js → chunk-JLBT76WH.js} +4 -4
- package/dist/chunk-JLBT76WH.js.map +1 -0
- package/dist/{chunk-CJQXWFIW.js → chunk-KAKH2UZA.js} +4 -4
- package/dist/chunk-KAKH2UZA.js.map +1 -0
- package/dist/{chunk-WJU3KLVV.cjs → chunk-LOTMAKUG.cjs} +4 -4
- package/dist/chunk-LOTMAKUG.cjs.map +1 -0
- package/dist/{chunk-2LF7PSSX.cjs → chunk-PJAQDAMZ.cjs} +4 -4
- package/dist/chunk-PJAQDAMZ.cjs.map +1 -0
- package/dist/{chunk-ZKFVGYBK.cjs → chunk-XP6HELVG.cjs} +4 -4
- package/dist/chunk-XP6HELVG.cjs.map +1 -0
- package/dist/components/AudioPlayer/index.cjs +6 -6
- package/dist/components/AudioPlayer/index.js +1 -1
- package/dist/components/Card/index.cjs +15 -15
- package/dist/components/Card/index.js +1 -1
- package/dist/components/Radio/index.cjs +4 -4
- package/dist/components/Radio/index.js +1 -1
- package/dist/components/Text/index.cjs +4 -4
- package/dist/components/Text/index.js +1 -1
- package/dist/index.cjs +277 -253
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +123 -99
- 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-2LF7PSSX.cjs.map +0 -1
- package/dist/chunk-7UXRPTSE.js.map +0 -1
- package/dist/chunk-CJQXWFIW.js.map +0 -1
- package/dist/chunk-PA4YEZRE.cjs.map +0 -1
- package/dist/chunk-PU6ZC4GI.js.map +0 -1
- package/dist/chunk-WJU3KLVV.cjs.map +0 -1
- package/dist/chunk-YTZPVEIO.js.map +0 -1
- package/dist/chunk-ZKFVGYBK.cjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -13,8 +13,8 @@ import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from '.
|
|
|
13
13
|
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './chunk-DNPRRYPQ.js';
|
|
14
14
|
import { Tabs, TabsList, TabsTrigger, TabsContent } from './chunk-MUYTGWGE.js';
|
|
15
15
|
export { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants, tabsTriggerVariants } from './chunk-MUYTGWGE.js';
|
|
16
|
-
import { Text } from './chunk-
|
|
17
|
-
export { SmallMuted, Text, textVariants } from './chunk-
|
|
16
|
+
import { Text } from './chunk-JLBT76WH.js';
|
|
17
|
+
export { SmallMuted, Text, textVariants } from './chunk-JLBT76WH.js';
|
|
18
18
|
import { Textarea } from './chunk-6LFG4JFF.js';
|
|
19
19
|
export { Textarea, textareaVariants } from './chunk-6LFG4JFF.js';
|
|
20
20
|
export { ThemeProvider, ThemeProviderContext, ThemeToggle, themeToggleIconVariants, themeToggleVariants, useThemeContext } from './chunk-I56VBDSC.js';
|
|
@@ -22,8 +22,8 @@ import { Tooltip } from './chunk-FZJBFJJR.js';
|
|
|
22
22
|
export { Tooltip } from './chunk-FZJBFJJR.js';
|
|
23
23
|
export { VisuallyHidden } from './chunk-H2CIKJQI.js';
|
|
24
24
|
export { QuickAction, QuickActionGroup, QuickActionIcons, quickActionIconVariants, quickActionVariants } from './chunk-3CJBUAJ4.js';
|
|
25
|
-
import { RadioGroup, Radio } from './chunk-
|
|
26
|
-
export { Radio, RadioGroup, radioVariants } from './chunk-
|
|
25
|
+
import { RadioGroup, Radio } from './chunk-EZKRAW2X.js';
|
|
26
|
+
export { Radio, RadioGroup, radioVariants } from './chunk-EZKRAW2X.js';
|
|
27
27
|
export { RecordButton, formatDuration, recordButtonVariants } from './chunk-QVJBUWJQ.js';
|
|
28
28
|
export { DateButton, DatePicker, RadioOption, SchedulePicker, TimeButton, TimePicker, dateButtonVariants, radioOptionVariants, timeButtonVariants } from './chunk-4DMZAVB2.js';
|
|
29
29
|
import { Select } from './chunk-R25H4N4Z.js';
|
|
@@ -46,7 +46,7 @@ import { Input } from './chunk-PVUDXJAI.js';
|
|
|
46
46
|
export { Input, inputVariants } from './chunk-PVUDXJAI.js';
|
|
47
47
|
import { Progress } from './chunk-IYIYL2SQ.js';
|
|
48
48
|
export { CircularProgress, Progress, circularProgressVariants, progressBarFillVariants, progressBarTrackVariants } from './chunk-IYIYL2SQ.js';
|
|
49
|
-
export { AudioPlayer, ProgressBar, audioPlayerVariants, formatTime as formatAudioTime, playButtonVariants } from './chunk-
|
|
49
|
+
export { AudioPlayer, ProgressBar, audioPlayerVariants, formatTime as formatAudioTime, playButtonVariants } from './chunk-KAKH2UZA.js';
|
|
50
50
|
export { AudioRecorder, audioRecorderVariants, controlButtonVariants, formatTime, waveformContainerVariants } from './chunk-TRZXK57D.js';
|
|
51
51
|
import { Avatar } from './chunk-WO5CAOAN.js';
|
|
52
52
|
export { Avatar, AvatarGroup, avatarVariants, getInitials } from './chunk-WO5CAOAN.js';
|
|
@@ -55,8 +55,8 @@ export { Badge, badgeVariants } from './chunk-DCER2QQB.js';
|
|
|
55
55
|
export { Breadcrumb, BreadcrumbSlash } from './chunk-HEH3QXOQ.js';
|
|
56
56
|
import { Button, buttonVariants } from './chunk-ZVSW2KS6.js';
|
|
57
57
|
export { Button, buttonVariants } from './chunk-ZVSW2KS6.js';
|
|
58
|
-
import { Card, CardHeader, CardContent, CardTitle } from './chunk-
|
|
59
|
-
export { Card, CardActions, CardBadge, CardCollapsible, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, CardStat, CardTitle, cardAccentVariants, cardVariants } from './chunk-
|
|
58
|
+
import { Card, CardHeader, CardContent, CardTitle } from './chunk-6555OYRU.js';
|
|
59
|
+
export { Card, CardActions, CardBadge, CardCollapsible, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, CardStat, CardTitle, cardAccentVariants, cardVariants } from './chunk-6555OYRU.js';
|
|
60
60
|
import { Checkbox } from './chunk-XCLQZ4FV.js';
|
|
61
61
|
export { Checkbox, CheckboxGroup, checkboxVariants } from './chunk-XCLQZ4FV.js';
|
|
62
62
|
import { Clock, FileText, ArrowLeft, Stethoscope, Users, Mail, Phone, Share, ChevronDown, User, Download, ExternalLink, MoreVertical, Pencil, Send, Calendar, Printer, ClipboardPlus, ClipboardCheck, FilePlus, FileCheck, Wheat, Pill, Bell, FileHeart, HeartPulse, AlertCircle as AlertCircle$1, Paperclip, ClipboardList, MoreHorizontal, Trash2, Plus, CheckCircle, Upload as Upload$1, Scan, Camera, ScanLine, RefreshCw as RefreshCw$1, Image, X as X$1, Eye, Check as Check$1 } from './chunk-LEMY57MI.js';
|
|
@@ -76,7 +76,7 @@ export { calculateAge, dateToDisplayFormat, displayFormatToDateString, formatDat
|
|
|
76
76
|
export { formatPhoneNumber, isPhoneNumberEmpty, isValidPhoneNumber, unformatPhoneNumber } from './chunk-ZVPJ2MH6.js';
|
|
77
77
|
import { isStorybookDocsMode } from './chunk-VSQF22GL.js';
|
|
78
78
|
export { isStorybookDocsMode } from './chunk-VSQF22GL.js';
|
|
79
|
-
export { miewebUIPreset, miewebUISafelist } from './chunk-
|
|
79
|
+
export { miewebUIPreset, miewebUISafelist } from './chunk-2DS3RJ2D.js';
|
|
80
80
|
import { Alert, AlertTitle, AlertDescription } from './chunk-MV3MTHWQ.js';
|
|
81
81
|
export { Alert, AlertDescription, AlertTitle, alertVariants } from './chunk-MV3MTHWQ.js';
|
|
82
82
|
import { cn } from './chunk-F3SOEIN2.js';
|
|
@@ -1829,7 +1829,7 @@ function ResourceLink({ link, onClick, className }) {
|
|
|
1829
1829
|
onClick: handleClick,
|
|
1830
1830
|
className: cn(
|
|
1831
1831
|
"inline-flex items-center gap-1.5 rounded-md px-2.5 py-1.5",
|
|
1832
|
-
"bg-primary-50 text-primary-
|
|
1832
|
+
"bg-primary-50 text-primary-900 hover:bg-primary-100",
|
|
1833
1833
|
"dark:bg-primary-900/30 dark:text-primary-300 dark:hover:bg-primary-900/50",
|
|
1834
1834
|
"text-sm font-medium transition-colors",
|
|
1835
1835
|
"focus:ring-primary-500 focus:ring-2 focus:ring-offset-2 focus:outline-none",
|
|
@@ -2141,7 +2141,7 @@ var avatarVariants2 = cva(
|
|
|
2141
2141
|
{
|
|
2142
2142
|
variants: {
|
|
2143
2143
|
role: {
|
|
2144
|
-
user: "bg-primary-100 text-primary-
|
|
2144
|
+
user: "bg-primary-100 text-primary-900 dark:bg-primary-900/50 dark:text-primary-300",
|
|
2145
2145
|
assistant: "bg-primary-800 text-white dark:bg-primary-800",
|
|
2146
2146
|
system: "bg-neutral-200 text-neutral-600 dark:bg-neutral-700 dark:text-neutral-400",
|
|
2147
2147
|
tool: "bg-amber-100 text-amber-700 dark:bg-amber-900/50 dark:text-amber-300"
|
|
@@ -4727,7 +4727,7 @@ function AIChat({
|
|
|
4727
4727
|
onClick: onCancel,
|
|
4728
4728
|
className: cn(
|
|
4729
4729
|
"rounded-lg px-3 py-1.5 text-sm",
|
|
4730
|
-
"bg-red-100 text-red-
|
|
4730
|
+
"bg-red-100 text-red-700 hover:bg-red-200",
|
|
4731
4731
|
"dark:bg-red-900/30 dark:text-red-400 dark:hover:bg-red-900/50",
|
|
4732
4732
|
"transition-colors"
|
|
4733
4733
|
),
|
|
@@ -5108,7 +5108,7 @@ function AppHeaderIconButton({
|
|
|
5108
5108
|
className: cn(
|
|
5109
5109
|
"absolute -top-1 -right-1 flex items-center justify-center",
|
|
5110
5110
|
"h-[18px] min-w-[18px] px-1 text-[10px] font-bold",
|
|
5111
|
-
"rounded-full bg-red-
|
|
5111
|
+
"rounded-full bg-red-700 text-white"
|
|
5112
5112
|
),
|
|
5113
5113
|
children: badge > 99 ? "99+" : badge
|
|
5114
5114
|
}
|
|
@@ -13923,7 +13923,7 @@ function ClaimProviderForm({
|
|
|
13923
13923
|
"p",
|
|
13924
13924
|
{
|
|
13925
13925
|
"data-slot": "claim-form-error-text",
|
|
13926
|
-
className: "text-sm text-red-
|
|
13926
|
+
className: "text-sm text-red-700 dark:text-red-400",
|
|
13927
13927
|
children: errorMessage
|
|
13928
13928
|
}
|
|
13929
13929
|
)
|
|
@@ -14301,7 +14301,7 @@ function CreateInvoiceModal({
|
|
|
14301
14301
|
type: "button",
|
|
14302
14302
|
"data-slot": "invoice-modal-toggle-all",
|
|
14303
14303
|
onClick: toggleAllOrders,
|
|
14304
|
-
className: "text-primary text-sm hover:underline",
|
|
14304
|
+
className: "text-primary-800 dark:text-primary-400 text-sm hover:underline",
|
|
14305
14305
|
children: selectedOrders.size === orders.length ? "Deselect All" : "Select All"
|
|
14306
14306
|
}
|
|
14307
14307
|
)
|
|
@@ -15351,6 +15351,7 @@ function EmployeeForm({
|
|
|
15351
15351
|
Select,
|
|
15352
15352
|
{
|
|
15353
15353
|
label: index === 0 ? "Type" : void 0,
|
|
15354
|
+
"aria-label": index > 0 ? "Phone type" : void 0,
|
|
15354
15355
|
value: phone.type,
|
|
15355
15356
|
onValueChange: (value) => updatePhone(index, "type", value),
|
|
15356
15357
|
options: phoneTypeOptions
|
|
@@ -15715,8 +15716,8 @@ function EmployeeProfileCard({
|
|
|
15715
15716
|
"data-cy": "header-payment-status",
|
|
15716
15717
|
"data-slot": "employee-card-detail-row",
|
|
15717
15718
|
children: employee.isPaid ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
15718
|
-
/* @__PURE__ */ jsx(Check, { className: "text-success h-4 w-4" }),
|
|
15719
|
-
/* @__PURE__ */ jsx("span", { className: "text-success", children: paid })
|
|
15719
|
+
/* @__PURE__ */ jsx(Check, { className: "text-success-700 dark:text-success-400 h-4 w-4" }),
|
|
15720
|
+
/* @__PURE__ */ jsx("span", { className: "text-success-700 dark:text-success-400", children: paid })
|
|
15720
15721
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
15721
15722
|
/* @__PURE__ */ jsx(Clock$1, { className: "text-muted-foreground h-4 w-4" }),
|
|
15722
15723
|
/* @__PURE__ */ jsx("span", { children: paymentPending })
|
|
@@ -15778,6 +15779,7 @@ function OrderSidebarTabs({
|
|
|
15778
15779
|
{
|
|
15779
15780
|
type: "button",
|
|
15780
15781
|
role: "tab",
|
|
15782
|
+
id: `tab-${tab.id}`,
|
|
15781
15783
|
"aria-selected": activeTab === tab.id,
|
|
15782
15784
|
"aria-controls": `panel-${tab.id}`,
|
|
15783
15785
|
onClick: () => onTabChange(tab.id),
|
|
@@ -15848,6 +15850,9 @@ function OrderDetailSidebar({
|
|
|
15848
15850
|
children && /* @__PURE__ */ jsx(
|
|
15849
15851
|
"div",
|
|
15850
15852
|
{
|
|
15853
|
+
role: "tabpanel",
|
|
15854
|
+
id: `panel-${activeTab}`,
|
|
15855
|
+
"aria-labelledby": `tab-${activeTab}`,
|
|
15851
15856
|
className: "flex-1 overflow-auto p-3",
|
|
15852
15857
|
"data-slot": "order-sidebar-content",
|
|
15853
15858
|
children
|
|
@@ -16338,7 +16343,7 @@ function EmployerPricingCard({
|
|
|
16338
16343
|
children: [
|
|
16339
16344
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
16340
16345
|
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm", children: tier.name }),
|
|
16341
|
-
/* @__PURE__ */ jsxs("span", { className: "text-xs text-gray-400", children: [
|
|
16346
|
+
/* @__PURE__ */ jsxs("span", { className: "text-xs text-gray-500 dark:text-gray-400", children: [
|
|
16342
16347
|
"(",
|
|
16343
16348
|
formatQuantityRange(tier),
|
|
16344
16349
|
")"
|
|
@@ -17700,7 +17705,7 @@ function FileManager({
|
|
|
17700
17705
|
{
|
|
17701
17706
|
"data-slot": "file-manager-error",
|
|
17702
17707
|
className: "mb-4 rounded-lg border border-red-200 bg-red-50 p-3 dark:border-red-800 dark:bg-red-900/20",
|
|
17703
|
-
children: /* @__PURE__ */ jsx("p", { className: "text-sm text-red-
|
|
17708
|
+
children: /* @__PURE__ */ jsx("p", { className: "text-sm text-red-700 dark:text-red-400", children: errorMessage })
|
|
17704
17709
|
}
|
|
17705
17710
|
),
|
|
17706
17711
|
totalStorageUsed !== void 0 && /* @__PURE__ */ jsx(
|
|
@@ -19062,7 +19067,7 @@ function InviteUserModal({
|
|
|
19062
19067
|
)
|
|
19063
19068
|
}
|
|
19064
19069
|
),
|
|
19065
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm text-green-
|
|
19070
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-green-700 dark:text-green-400", children: successMessage })
|
|
19066
19071
|
] })
|
|
19067
19072
|
}
|
|
19068
19073
|
),
|
|
@@ -19091,7 +19096,7 @@ function InviteUserModal({
|
|
|
19091
19096
|
)
|
|
19092
19097
|
}
|
|
19093
19098
|
),
|
|
19094
|
-
/* @__PURE__ */ jsx("p", { className: "text-sm text-red-
|
|
19099
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm text-red-700 dark:text-red-400", children: errorMessage })
|
|
19095
19100
|
] })
|
|
19096
19101
|
}
|
|
19097
19102
|
),
|
|
@@ -19704,7 +19709,7 @@ function InvoicePaymentPage({
|
|
|
19704
19709
|
/* @__PURE__ */ jsxs(
|
|
19705
19710
|
"p",
|
|
19706
19711
|
{
|
|
19707
|
-
className: invoice.status === "overdue" ? "font-medium text-red-
|
|
19712
|
+
className: invoice.status === "overdue" ? "font-medium text-red-700 dark:text-red-400" : "",
|
|
19708
19713
|
children: [
|
|
19709
19714
|
"Due: ",
|
|
19710
19715
|
formatDate4(invoice.dueDate)
|
|
@@ -19764,7 +19769,7 @@ function InvoicePaymentPage({
|
|
|
19764
19769
|
{
|
|
19765
19770
|
"data-slot": "invoice-payment-error",
|
|
19766
19771
|
className: "rounded-lg border border-red-200 bg-red-50 p-3 dark:border-red-800 dark:bg-red-900/20",
|
|
19767
|
-
children: /* @__PURE__ */ jsx("p", { className: "text-sm text-red-
|
|
19772
|
+
children: /* @__PURE__ */ jsx("p", { className: "text-sm text-red-700 dark:text-red-400", children: errorMessage })
|
|
19768
19773
|
}
|
|
19769
19774
|
),
|
|
19770
19775
|
acceptedMethods.length > 1 && /* @__PURE__ */ jsxs(
|
|
@@ -20633,6 +20638,7 @@ function LoadingBar({
|
|
|
20633
20638
|
),
|
|
20634
20639
|
style: { width: `${Math.min(100, Math.max(0, progress))}%` },
|
|
20635
20640
|
role: "progressbar",
|
|
20641
|
+
"aria-label": "Loading progress",
|
|
20636
20642
|
"aria-valuenow": progress,
|
|
20637
20643
|
"aria-valuemin": 0,
|
|
20638
20644
|
"aria-valuemax": 100
|
|
@@ -22631,7 +22637,7 @@ function OrderCard({
|
|
|
22631
22637
|
formatDate3(scheduledDate)
|
|
22632
22638
|
] })
|
|
22633
22639
|
] }),
|
|
22634
|
-
status === "rejected" && rejectionReason && /* @__PURE__ */ jsxs("div", { className: "bg-destructive/10 text-destructive mb-3 rounded p-2 text-sm", children: [
|
|
22640
|
+
status === "rejected" && rejectionReason && /* @__PURE__ */ jsxs("div", { className: "bg-destructive/10 text-destructive-700 dark:text-destructive-400 mb-3 rounded p-2 text-sm", children: [
|
|
22635
22641
|
/* @__PURE__ */ jsx("span", { className: "font-medium", children: "Reason:" }),
|
|
22636
22642
|
" ",
|
|
22637
22643
|
rejectionReason
|
|
@@ -22642,7 +22648,7 @@ function OrderCard({
|
|
|
22642
22648
|
{
|
|
22643
22649
|
type: "button",
|
|
22644
22650
|
onClick: handleViewClick,
|
|
22645
|
-
className: "text-primary hover:text-primary/80 text-sm font-medium",
|
|
22651
|
+
className: "text-primary-800 hover:text-primary-800/80 dark:text-primary-400 text-sm font-medium",
|
|
22646
22652
|
children: "View Details"
|
|
22647
22653
|
}
|
|
22648
22654
|
),
|
|
@@ -23340,6 +23346,9 @@ function OrderList({
|
|
|
23340
23346
|
{
|
|
23341
23347
|
className: "flex gap-1 overflow-x-auto",
|
|
23342
23348
|
"data-slot": "order-list-tabs",
|
|
23349
|
+
role: "region",
|
|
23350
|
+
tabIndex: 0,
|
|
23351
|
+
"aria-label": "Order filter tabs",
|
|
23343
23352
|
children: tabs.map((tab) => {
|
|
23344
23353
|
const count = tab.count ?? tabCounts[tab.id];
|
|
23345
23354
|
return /* @__PURE__ */ jsxs(
|
|
@@ -23415,85 +23424,95 @@ function OrderList({
|
|
|
23415
23424
|
] })
|
|
23416
23425
|
}
|
|
23417
23426
|
),
|
|
23418
|
-
/* @__PURE__ */ jsx(
|
|
23427
|
+
/* @__PURE__ */ jsx(
|
|
23419
23428
|
"div",
|
|
23420
23429
|
{
|
|
23421
|
-
className: "flex
|
|
23422
|
-
"data-slot": "order-list-
|
|
23423
|
-
|
|
23424
|
-
|
|
23430
|
+
className: "flex-1 overflow-y-auto",
|
|
23431
|
+
"data-slot": "order-list-body",
|
|
23432
|
+
role: "region",
|
|
23433
|
+
tabIndex: 0,
|
|
23434
|
+
"aria-label": "Order list",
|
|
23435
|
+
children: isLoading ? /* @__PURE__ */ jsx(
|
|
23436
|
+
"div",
|
|
23425
23437
|
{
|
|
23426
|
-
"
|
|
23427
|
-
|
|
23428
|
-
|
|
23429
|
-
|
|
23438
|
+
className: "flex items-center justify-center py-12",
|
|
23439
|
+
"data-slot": "order-list-loading",
|
|
23440
|
+
children: /* @__PURE__ */ jsxs(
|
|
23441
|
+
"svg",
|
|
23442
|
+
{
|
|
23443
|
+
"aria-hidden": "true",
|
|
23444
|
+
className: "h-8 w-8 animate-spin text-blue-500",
|
|
23445
|
+
fill: "none",
|
|
23446
|
+
viewBox: "0 0 24 24",
|
|
23447
|
+
children: [
|
|
23448
|
+
/* @__PURE__ */ jsx(
|
|
23449
|
+
"circle",
|
|
23450
|
+
{
|
|
23451
|
+
className: "opacity-25",
|
|
23452
|
+
cx: "12",
|
|
23453
|
+
cy: "12",
|
|
23454
|
+
r: "10",
|
|
23455
|
+
stroke: "currentColor",
|
|
23456
|
+
strokeWidth: "4"
|
|
23457
|
+
}
|
|
23458
|
+
),
|
|
23459
|
+
/* @__PURE__ */ jsx(
|
|
23460
|
+
"path",
|
|
23461
|
+
{
|
|
23462
|
+
className: "opacity-75",
|
|
23463
|
+
fill: "currentColor",
|
|
23464
|
+
d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
23465
|
+
}
|
|
23466
|
+
)
|
|
23467
|
+
]
|
|
23468
|
+
}
|
|
23469
|
+
)
|
|
23470
|
+
}
|
|
23471
|
+
) : filteredOrders.length === 0 ? /* @__PURE__ */ jsxs(
|
|
23472
|
+
"div",
|
|
23473
|
+
{
|
|
23474
|
+
className: "flex flex-col items-center justify-center px-4 py-12 text-center",
|
|
23475
|
+
"data-slot": "order-list-empty",
|
|
23430
23476
|
children: [
|
|
23431
|
-
/* @__PURE__ */ jsx(
|
|
23432
|
-
"
|
|
23477
|
+
emptyIcon || /* @__PURE__ */ jsx(
|
|
23478
|
+
"svg",
|
|
23433
23479
|
{
|
|
23434
|
-
|
|
23435
|
-
|
|
23436
|
-
|
|
23437
|
-
|
|
23480
|
+
"aria-hidden": "true",
|
|
23481
|
+
className: "mb-4 h-12 w-12 text-gray-400",
|
|
23482
|
+
fill: "none",
|
|
23483
|
+
viewBox: "0 0 24 24",
|
|
23438
23484
|
stroke: "currentColor",
|
|
23439
|
-
|
|
23485
|
+
children: /* @__PURE__ */ jsx(
|
|
23486
|
+
"path",
|
|
23487
|
+
{
|
|
23488
|
+
strokeLinecap: "round",
|
|
23489
|
+
strokeLinejoin: "round",
|
|
23490
|
+
strokeWidth: 1.5,
|
|
23491
|
+
d: "M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"
|
|
23492
|
+
}
|
|
23493
|
+
)
|
|
23440
23494
|
}
|
|
23441
23495
|
),
|
|
23442
23496
|
/* @__PURE__ */ jsx(
|
|
23443
|
-
"
|
|
23497
|
+
"p",
|
|
23444
23498
|
{
|
|
23445
|
-
className: "
|
|
23446
|
-
|
|
23447
|
-
|
|
23499
|
+
className: "text-muted-foreground",
|
|
23500
|
+
"data-slot": "order-list-empty-message",
|
|
23501
|
+
children: emptyMessage
|
|
23448
23502
|
}
|
|
23449
23503
|
)
|
|
23450
23504
|
]
|
|
23451
23505
|
}
|
|
23506
|
+
) : /* @__PURE__ */ jsx(
|
|
23507
|
+
"div",
|
|
23508
|
+
{
|
|
23509
|
+
className: "divide-y divide-gray-200 dark:divide-gray-700",
|
|
23510
|
+
"data-slot": "order-list-items",
|
|
23511
|
+
children: filteredOrders.map((order, index) => /* @__PURE__ */ jsx("div", { children: renderOrder(order, index) }, index))
|
|
23512
|
+
}
|
|
23452
23513
|
)
|
|
23453
23514
|
}
|
|
23454
|
-
)
|
|
23455
|
-
"div",
|
|
23456
|
-
{
|
|
23457
|
-
className: "flex flex-col items-center justify-center px-4 py-12 text-center",
|
|
23458
|
-
"data-slot": "order-list-empty",
|
|
23459
|
-
children: [
|
|
23460
|
-
emptyIcon || /* @__PURE__ */ jsx(
|
|
23461
|
-
"svg",
|
|
23462
|
-
{
|
|
23463
|
-
"aria-hidden": "true",
|
|
23464
|
-
className: "mb-4 h-12 w-12 text-gray-400",
|
|
23465
|
-
fill: "none",
|
|
23466
|
-
viewBox: "0 0 24 24",
|
|
23467
|
-
stroke: "currentColor",
|
|
23468
|
-
children: /* @__PURE__ */ jsx(
|
|
23469
|
-
"path",
|
|
23470
|
-
{
|
|
23471
|
-
strokeLinecap: "round",
|
|
23472
|
-
strokeLinejoin: "round",
|
|
23473
|
-
strokeWidth: 1.5,
|
|
23474
|
-
d: "M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"
|
|
23475
|
-
}
|
|
23476
|
-
)
|
|
23477
|
-
}
|
|
23478
|
-
),
|
|
23479
|
-
/* @__PURE__ */ jsx(
|
|
23480
|
-
"p",
|
|
23481
|
-
{
|
|
23482
|
-
className: "text-muted-foreground",
|
|
23483
|
-
"data-slot": "order-list-empty-message",
|
|
23484
|
-
children: emptyMessage
|
|
23485
|
-
}
|
|
23486
|
-
)
|
|
23487
|
-
]
|
|
23488
|
-
}
|
|
23489
|
-
) : /* @__PURE__ */ jsx(
|
|
23490
|
-
"div",
|
|
23491
|
-
{
|
|
23492
|
-
className: "divide-y divide-gray-200 dark:divide-gray-700",
|
|
23493
|
-
"data-slot": "order-list-items",
|
|
23494
|
-
children: filteredOrders.map((order, index) => /* @__PURE__ */ jsx("div", { children: renderOrder(order, index) }, index))
|
|
23495
|
-
}
|
|
23496
|
-
) })
|
|
23515
|
+
)
|
|
23497
23516
|
]
|
|
23498
23517
|
}
|
|
23499
23518
|
);
|
|
@@ -23568,7 +23587,7 @@ function OrderLookupForm({
|
|
|
23568
23587
|
/* @__PURE__ */ jsx("h2", { className: "mb-2 text-2xl font-bold text-gray-900 dark:text-white", children: "Order Lookup" }),
|
|
23569
23588
|
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mb-6", children: "Enter your order details to view your information." }),
|
|
23570
23589
|
/* @__PURE__ */ jsxs("form", { onSubmit: handleSubmit, className: "space-y-4", children: [
|
|
23571
|
-
(errorMessage || notFound) && /* @__PURE__ */ jsx("div", { className: "rounded-lg border border-red-200 bg-red-50 p-3 dark:border-red-800 dark:bg-red-900/20", children: /* @__PURE__ */ jsx("p", { className: "text-sm text-red-
|
|
23590
|
+
(errorMessage || notFound) && /* @__PURE__ */ jsx("div", { className: "rounded-lg border border-red-200 bg-red-50 p-3 dark:border-red-800 dark:bg-red-900/20", children: /* @__PURE__ */ jsx("p", { className: "text-sm text-red-700 dark:text-red-400", children: errorMessage || "Order not found. Please check your information and try again." }) }),
|
|
23572
23591
|
/* @__PURE__ */ jsx(
|
|
23573
23592
|
Input,
|
|
23574
23593
|
{
|
|
@@ -24020,7 +24039,7 @@ function MedicationRow({
|
|
|
24020
24039
|
m.name,
|
|
24021
24040
|
m.dose ? ` ${m.dose}` : ""
|
|
24022
24041
|
] }, `${m.name}-${m.dose ?? i}`)),
|
|
24023
|
-
remaining > 0 && /* @__PURE__ */ jsxs("span", { className: "text-primary text-xs", children: [
|
|
24042
|
+
remaining > 0 && /* @__PURE__ */ jsxs("span", { className: "text-primary-800 dark:text-primary-400 text-xs", children: [
|
|
24024
24043
|
"+",
|
|
24025
24044
|
remaining,
|
|
24026
24045
|
" more"
|
|
@@ -26939,7 +26958,7 @@ function ProviderLogo2({
|
|
|
26939
26958
|
"data-slot": "provider-detail-logo",
|
|
26940
26959
|
className: cn(
|
|
26941
26960
|
logoSizeClasses[size],
|
|
26942
|
-
"bg-primary-100 text-primary-
|
|
26961
|
+
"bg-primary-100 text-primary-900 dark:bg-primary-900/30 dark:text-primary-400 flex items-center justify-center rounded-lg font-bold",
|
|
26943
26962
|
size === "sm" && "text-lg",
|
|
26944
26963
|
size === "md" && "text-2xl",
|
|
26945
26964
|
size === "lg" && "text-3xl",
|
|
@@ -29029,6 +29048,7 @@ function CompactFilterBar({
|
|
|
29029
29048
|
value: filters.radius,
|
|
29030
29049
|
onChange: (e) => handleFieldChange("radius", Number(e.target.value)),
|
|
29031
29050
|
disabled: loading,
|
|
29051
|
+
"aria-label": "Search radius",
|
|
29032
29052
|
className: cn(
|
|
29033
29053
|
"h-9 rounded-r-md border border-l-0 border-neutral-200 px-2 text-sm",
|
|
29034
29054
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
@@ -29050,6 +29070,7 @@ function CompactFilterBar({
|
|
|
29050
29070
|
handleFieldChange("services", value ? [value] : []);
|
|
29051
29071
|
},
|
|
29052
29072
|
disabled: loading,
|
|
29073
|
+
"aria-label": "Service filter",
|
|
29053
29074
|
className: cn(
|
|
29054
29075
|
"h-9 w-full rounded-md border border-neutral-200 px-3 text-sm",
|
|
29055
29076
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
@@ -29332,7 +29353,7 @@ function ProviderSelector({
|
|
|
29332
29353
|
"div",
|
|
29333
29354
|
{
|
|
29334
29355
|
"data-slot": "provider-selector-trigger-avatar",
|
|
29335
|
-
className: "bg-primary/10 text-primary flex h-6 w-6 items-center justify-center rounded text-xs font-medium",
|
|
29356
|
+
className: "bg-primary/10 text-primary-800 dark:text-primary-400 flex h-6 w-6 items-center justify-center rounded text-xs font-medium",
|
|
29336
29357
|
children: getInitials2(selectedProvider.name)
|
|
29337
29358
|
}
|
|
29338
29359
|
),
|
|
@@ -29492,7 +29513,7 @@ function ProviderSelector({
|
|
|
29492
29513
|
"svg",
|
|
29493
29514
|
{
|
|
29494
29515
|
"aria-hidden": "true",
|
|
29495
|
-
className: "text-primary h-5 w-5 flex-shrink-0",
|
|
29516
|
+
className: "text-primary-800 dark:text-primary-400 h-5 w-5 flex-shrink-0",
|
|
29496
29517
|
fill: "none",
|
|
29497
29518
|
viewBox: "0 0 24 24",
|
|
29498
29519
|
stroke: "currentColor",
|
|
@@ -30432,7 +30453,7 @@ function QuickLinksCard({
|
|
|
30432
30453
|
"span",
|
|
30433
30454
|
{
|
|
30434
30455
|
"data-slot": "quick-links-badge",
|
|
30435
|
-
className: "bg-primary/10 ml-2 rounded-full px-2 py-0.5 text-xs font-medium text-[var(--mieweb-primary-
|
|
30456
|
+
className: "bg-primary/10 ml-2 rounded-full px-2 py-0.5 text-xs font-medium text-[var(--mieweb-primary-900)] dark:text-[var(--mieweb-primary-400)]",
|
|
30436
30457
|
children: link.badge
|
|
30437
30458
|
}
|
|
30438
30459
|
),
|
|
@@ -31784,7 +31805,7 @@ var ResultsEntryForm = React48.forwardRef(function ResultsEntryForm2({
|
|
|
31784
31805
|
"button",
|
|
31785
31806
|
{
|
|
31786
31807
|
type: "button",
|
|
31787
|
-
className: "text-primary mt-2 inline-block text-sm hover:underline",
|
|
31808
|
+
className: "text-primary-800 dark:text-primary-400 mt-2 inline-block text-sm hover:underline",
|
|
31788
31809
|
children: addProviderContact
|
|
31789
31810
|
}
|
|
31790
31811
|
)
|
|
@@ -33812,7 +33833,7 @@ function ServicePicker({
|
|
|
33812
33833
|
"div",
|
|
33813
33834
|
{
|
|
33814
33835
|
"data-slot": "service-picker-error",
|
|
33815
|
-
className: "bg-destructive/10 text-destructive mb-4 rounded-lg p-4",
|
|
33836
|
+
className: "bg-destructive/10 text-destructive-700 mb-4 rounded-lg p-4 dark:text-red-400",
|
|
33816
33837
|
children: /* @__PURE__ */ jsx("strong", { children: error })
|
|
33817
33838
|
}
|
|
33818
33839
|
),
|
|
@@ -34607,7 +34628,8 @@ function ServiceShippingSettings({
|
|
|
34607
34628
|
Switch,
|
|
34608
34629
|
{
|
|
34609
34630
|
checked: shippingEnabled,
|
|
34610
|
-
onCheckedChange: onShippingEnabledChange
|
|
34631
|
+
onCheckedChange: onShippingEnabledChange,
|
|
34632
|
+
"aria-label": "Enable shipping"
|
|
34611
34633
|
}
|
|
34612
34634
|
)
|
|
34613
34635
|
] }),
|
|
@@ -34653,7 +34675,8 @@ function ServiceShippingSettings({
|
|
|
34653
34675
|
Switch,
|
|
34654
34676
|
{
|
|
34655
34677
|
checked: useKitShipping,
|
|
34656
|
-
onCheckedChange: onUseKitShippingChange
|
|
34678
|
+
onCheckedChange: onUseKitShippingChange,
|
|
34679
|
+
"aria-label": "Use kit shipping"
|
|
34657
34680
|
}
|
|
34658
34681
|
)
|
|
34659
34682
|
]
|
|
@@ -35810,7 +35833,7 @@ function NewsletterForm({
|
|
|
35810
35833
|
required: true,
|
|
35811
35834
|
className: cn(
|
|
35812
35835
|
"min-w-0 flex-1 rounded-lg px-4 py-2 text-sm transition-colors",
|
|
35813
|
-
variant === "light" ? "border border-white/40 bg-white/20 text-white placeholder-white/
|
|
35836
|
+
variant === "light" ? "border border-white/40 bg-white/20 text-white placeholder-white/80 focus:border-white/60 focus:outline-none" : "focus:border-primary-500 border border-gray-300 bg-white text-gray-900 placeholder-gray-500 focus:outline-none dark:border-gray-600 dark:bg-gray-800 dark:text-white dark:placeholder-gray-400"
|
|
35814
35837
|
),
|
|
35815
35838
|
disabled: isLoading
|
|
35816
35839
|
}
|
|
@@ -37778,7 +37801,7 @@ function TocList({
|
|
|
37778
37801
|
className: cn(
|
|
37779
37802
|
"block rounded-sm px-2 py-1 transition-colors duration-150",
|
|
37780
37803
|
"hover:text-foreground",
|
|
37781
|
-
activeId === item.id ? "text-primary font-medium" : "text-neutral-600 dark:text-neutral-400"
|
|
37804
|
+
activeId === item.id ? "text-primary-800 dark:text-primary-400 font-medium" : "text-neutral-600 dark:text-neutral-400"
|
|
37782
37805
|
),
|
|
37783
37806
|
children: item.title
|
|
37784
37807
|
}
|
|
@@ -38929,6 +38952,7 @@ function ReportTimeRange({
|
|
|
38929
38952
|
/* @__PURE__ */ jsx(
|
|
38930
38953
|
Select,
|
|
38931
38954
|
{
|
|
38955
|
+
"aria-label": "Time range",
|
|
38932
38956
|
value: preset,
|
|
38933
38957
|
onValueChange: (value) => handlePresetChange(value),
|
|
38934
38958
|
options: selectOptions,
|