@mieweb/ui 0.3.0-dev.72 → 0.3.0-dev.74
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/ag-grid.cjs +31 -21
- package/dist/ag-grid.cjs.map +1 -1
- package/dist/ag-grid.js +31 -21
- package/dist/ag-grid.js.map +1 -1
- package/dist/brands/bluehive.css +5 -5
- package/dist/brands/mieweb.css +5 -5
- package/dist/brands/ozwell.css +5 -5
- package/dist/brands/webchart.css +5 -5
- package/dist/{chunk-N2YMRZ7P.cjs → chunk-2EPJ5SMX.cjs} +5 -5
- package/dist/{chunk-N2YMRZ7P.cjs.map → chunk-2EPJ5SMX.cjs.map} +1 -1
- package/dist/{chunk-QDGZBDBI.cjs → chunk-2LF7PSSX.cjs} +3 -3
- package/dist/{chunk-QDGZBDBI.cjs.map → chunk-2LF7PSSX.cjs.map} +1 -1
- package/dist/{chunk-O43QBXRX.js → chunk-43GBCUSQ.js} +3 -3
- package/dist/{chunk-O43QBXRX.js.map → chunk-43GBCUSQ.js.map} +1 -1
- package/dist/{chunk-MOULJE34.js → chunk-4DMZAVB2.js} +6 -6
- package/dist/chunk-4DMZAVB2.js.map +1 -0
- package/dist/{chunk-OJ64Q3A5.js → chunk-5PUEQH2L.js} +3 -3
- package/dist/{chunk-OJ64Q3A5.js.map → chunk-5PUEQH2L.js.map} +1 -1
- package/dist/{chunk-VKTQQOUH.js → chunk-5U7IIMKH.js} +4 -4
- package/dist/{chunk-VKTQQOUH.js.map → chunk-5U7IIMKH.js.map} +1 -1
- package/dist/{chunk-TSZRR2ZK.cjs → chunk-67QT2WYS.cjs} +3 -3
- package/dist/{chunk-TSZRR2ZK.cjs.map → chunk-67QT2WYS.cjs.map} +1 -1
- package/dist/{chunk-LXHPW2ZF.cjs → chunk-7BARESXI.cjs} +3 -3
- package/dist/{chunk-LXHPW2ZF.cjs.map → chunk-7BARESXI.cjs.map} +1 -1
- package/dist/{chunk-BBQZNIB4.js → chunk-AL6ASCL6.js} +9 -9
- package/dist/{chunk-BBQZNIB4.js.map → chunk-AL6ASCL6.js.map} +1 -1
- package/dist/{chunk-AUXHRAID.cjs → chunk-CHMMHFOW.cjs} +9 -9
- package/dist/{chunk-AUXHRAID.cjs.map → chunk-CHMMHFOW.cjs.map} +1 -1
- package/dist/{chunk-JDI45GEY.js → chunk-CWDQ7OPJ.js} +3 -3
- package/dist/{chunk-JDI45GEY.js.map → chunk-CWDQ7OPJ.js.map} +1 -1
- package/dist/{chunk-Z4HZ35KX.cjs → chunk-DEZ7XSTG.cjs} +3 -3
- package/dist/{chunk-Z4HZ35KX.cjs.map → chunk-DEZ7XSTG.cjs.map} +1 -1
- package/dist/{chunk-PRTQVKDW.cjs → chunk-DT4CHRTJ.cjs} +391 -390
- package/dist/chunk-DT4CHRTJ.cjs.map +1 -0
- package/dist/{chunk-QMQE4PDD.cjs → chunk-E3GBBYAO.cjs} +6 -6
- package/dist/{chunk-QMQE4PDD.cjs.map → chunk-E3GBBYAO.cjs.map} +1 -1
- package/dist/{chunk-IMNLYVXJ.cjs → chunk-EUUQVDXX.cjs} +6 -6
- package/dist/{chunk-IMNLYVXJ.cjs.map → chunk-EUUQVDXX.cjs.map} +1 -1
- package/dist/{chunk-TF5OZDFU.js → chunk-FMGX2AM2.js} +6 -6
- package/dist/{chunk-TF5OZDFU.js.map → chunk-FMGX2AM2.js.map} +1 -1
- package/dist/{chunk-5NSURWMM.js → chunk-FYEK4RZ3.js} +4 -4
- package/dist/{chunk-5NSURWMM.js.map → chunk-FYEK4RZ3.js.map} +1 -1
- package/dist/{chunk-DLLVXNAQ.js → chunk-G7P5X2F4.js} +5 -5
- package/dist/{chunk-DLLVXNAQ.js.map → chunk-G7P5X2F4.js.map} +1 -1
- package/dist/{chunk-QEAIFTUL.cjs → chunk-HT3SXDFF.cjs} +5 -5
- package/dist/{chunk-QEAIFTUL.cjs.map → chunk-HT3SXDFF.cjs.map} +1 -1
- package/dist/{chunk-DCDXOT3A.js → chunk-IEVAVY43.js} +3 -3
- package/dist/{chunk-DCDXOT3A.js.map → chunk-IEVAVY43.js.map} +1 -1
- package/dist/{chunk-EMMQPDOY.cjs → chunk-KLLGX5O3.cjs} +4 -4
- package/dist/{chunk-EMMQPDOY.cjs.map → chunk-KLLGX5O3.cjs.map} +1 -1
- package/dist/{chunk-ND75VHB7.cjs → chunk-MIGLLTTD.cjs} +4 -4
- package/dist/{chunk-ND75VHB7.cjs.map → chunk-MIGLLTTD.cjs.map} +1 -1
- package/dist/{chunk-3DM6LMZG.js → chunk-MUYTGWGE.js} +4 -3
- package/dist/chunk-MUYTGWGE.js.map +1 -0
- package/dist/{chunk-VQW36LLX.cjs → chunk-NVHAQOHH.cjs} +3 -3
- package/dist/{chunk-VQW36LLX.cjs.map → chunk-NVHAQOHH.cjs.map} +1 -1
- package/dist/{chunk-4ASPCSWT.js → chunk-PU6ZC4GI.js} +3 -3
- package/dist/{chunk-4ASPCSWT.js.map → chunk-PU6ZC4GI.js.map} +1 -1
- package/dist/{chunk-JE4AH2TZ.cjs → chunk-Q2EWNXIB.cjs} +6 -6
- package/dist/chunk-Q2EWNXIB.cjs.map +1 -0
- package/dist/{chunk-PLIK3DN6.cjs → chunk-QASIWBXU.cjs} +4 -3
- package/dist/chunk-QASIWBXU.cjs.map +1 -0
- package/dist/{chunk-V2O636JO.js → chunk-QBFNONJD.js} +5 -5
- package/dist/{chunk-V2O636JO.js.map → chunk-QBFNONJD.js.map} +1 -1
- package/dist/{chunk-YR365F2H.cjs → chunk-QG7CJH4O.cjs} +3 -3
- package/dist/{chunk-YR365F2H.cjs.map → chunk-QG7CJH4O.cjs.map} +1 -1
- package/dist/{chunk-ZGSPFVGL.cjs → chunk-QNTUYH6G.cjs} +4 -4
- package/dist/{chunk-ZGSPFVGL.cjs.map → chunk-QNTUYH6G.cjs.map} +1 -1
- package/dist/{chunk-YN3ZIUYC.js → chunk-TRZXK57D.js} +6 -6
- package/dist/{chunk-YN3ZIUYC.js.map → chunk-TRZXK57D.js.map} +1 -1
- package/dist/{chunk-NDHW3ZRF.js → chunk-VCO2IZOG.js} +3 -3
- package/dist/{chunk-NDHW3ZRF.js.map → chunk-VCO2IZOG.js.map} +1 -1
- package/dist/{chunk-7XWPUWSL.js → chunk-WFS6R2F5.js} +3 -3
- package/dist/{chunk-7XWPUWSL.js.map → chunk-WFS6R2F5.js.map} +1 -1
- package/dist/{chunk-LAR4H7ZG.js → chunk-WORZLEUZ.js} +391 -390
- package/dist/chunk-WORZLEUZ.js.map +1 -0
- package/dist/{chunk-RCMF6KZA.js → chunk-YTZPVEIO.js} +3 -3
- package/dist/{chunk-RCMF6KZA.js.map → chunk-YTZPVEIO.js.map} +1 -1
- package/dist/{chunk-6EN6ZIW3.js → chunk-YY23MK3V.js} +4 -4
- package/dist/{chunk-6EN6ZIW3.js.map → chunk-YY23MK3V.js.map} +1 -1
- package/dist/{chunk-QXJMKJJV.cjs → chunk-ZKFVGYBK.cjs} +3 -3
- package/dist/{chunk-QXJMKJJV.cjs.map → chunk-ZKFVGYBK.cjs.map} +1 -1
- package/dist/{chunk-Z2ABQA5Z.cjs → chunk-ZRI6OXQD.cjs} +3 -3
- package/dist/{chunk-Z2ABQA5Z.cjs.map → chunk-ZRI6OXQD.cjs.map} +1 -1
- package/dist/components/AudioPlayer/index.cjs +6 -6
- package/dist/components/AudioPlayer/index.js +1 -1
- package/dist/components/AudioRecorder/index.cjs +6 -6
- package/dist/components/AudioRecorder/index.js +1 -1
- package/dist/components/Card/index.cjs +15 -15
- package/dist/components/Card/index.js +1 -1
- package/dist/components/Checkbox/index.cjs +4 -4
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/CountryCodeDropdown/index.cjs +4 -4
- package/dist/components/CountryCodeDropdown/index.js +1 -1
- package/dist/components/DateInput/index.cjs +2 -2
- package/dist/components/DateInput/index.js +1 -1
- package/dist/components/Dropdown/index.cjs +7 -7
- package/dist/components/Dropdown/index.js +1 -1
- package/dist/components/Pagination/index.cjs +4 -4
- package/dist/components/Pagination/index.js +1 -1
- package/dist/components/PhoneInput/index.cjs +3 -3
- package/dist/components/PhoneInput/index.js +1 -1
- package/dist/components/Progress/index.cjs +6 -6
- package/dist/components/Progress/index.js +1 -1
- package/dist/components/QuickAction/index.cjs +6 -6
- package/dist/components/QuickAction/index.js +1 -1
- package/dist/components/Radio/index.cjs +4 -4
- package/dist/components/Radio/index.js +1 -1
- package/dist/components/SchedulePicker/index.cjs +10 -10
- package/dist/components/SchedulePicker/index.js +1 -1
- package/dist/components/Select/index.cjs +3 -3
- package/dist/components/Select/index.js +1 -1
- package/dist/components/Slider/index.cjs +5 -5
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/Spinner/index.cjs +5 -5
- package/dist/components/Spinner/index.js +1 -1
- package/dist/components/Switch/index.cjs +4 -4
- package/dist/components/Switch/index.js +1 -1
- package/dist/components/Tabs/index.cjs +7 -7
- package/dist/components/Tabs/index.js +1 -1
- package/dist/components/Text/index.cjs +4 -4
- package/dist/components/Text/index.js +1 -1
- package/dist/index.cjs +737 -766
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +453 -482
- package/dist/index.js.map +1 -1
- package/dist/styles/init.css +24 -11
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-3DM6LMZG.js.map +0 -1
- package/dist/chunk-JE4AH2TZ.cjs.map +0 -1
- package/dist/chunk-LAR4H7ZG.js.map +0 -1
- package/dist/chunk-MOULJE34.js.map +0 -1
- package/dist/chunk-PLIK3DN6.cjs.map +0 -1
- package/dist/chunk-PRTQVKDW.cjs.map +0 -1
package/dist/index.js
CHANGED
|
@@ -7,47 +7,47 @@ export { defaultBrand } from './chunk-4LTN2LEN.js';
|
|
|
7
7
|
export { enterpriseHealthBrand } from './chunk-MTZPVOP6.js';
|
|
8
8
|
export { miewebBrand } from './chunk-UHSPAFY6.js';
|
|
9
9
|
export { wagglelineBrand } from './chunk-OWPWP46L.js';
|
|
10
|
-
import { Switch } from './chunk-
|
|
11
|
-
export { Switch, switchThumbVariants, switchTrackVariants } from './chunk-
|
|
10
|
+
import { Switch } from './chunk-43GBCUSQ.js';
|
|
11
|
+
export { Switch, switchThumbVariants, switchTrackVariants } from './chunk-43GBCUSQ.js';
|
|
12
12
|
import { Table, TableHeader, TableRow, TableHead, TableBody, TableCell } from './chunk-DNPRRYPQ.js';
|
|
13
13
|
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow } from './chunk-DNPRRYPQ.js';
|
|
14
|
-
import { Tabs, TabsList, TabsTrigger, TabsContent } from './chunk-
|
|
15
|
-
export { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants, tabsTriggerVariants } from './chunk-
|
|
16
|
-
import { Text } from './chunk-
|
|
17
|
-
export { SmallMuted, Text, textVariants } from './chunk-
|
|
14
|
+
import { Tabs, TabsList, TabsTrigger, TabsContent } from './chunk-MUYTGWGE.js';
|
|
15
|
+
export { Tabs, TabsContent, TabsList, TabsTrigger, tabsListVariants, tabsTriggerVariants } from './chunk-MUYTGWGE.js';
|
|
16
|
+
import { Text } from './chunk-YTZPVEIO.js';
|
|
17
|
+
export { SmallMuted, Text, textVariants } from './chunk-YTZPVEIO.js';
|
|
18
18
|
import { Textarea } from './chunk-ATALZYST.js';
|
|
19
19
|
export { Textarea, textareaVariants } from './chunk-ATALZYST.js';
|
|
20
20
|
export { ThemeProvider, ThemeProviderContext, ThemeToggle, themeToggleIconVariants, themeToggleVariants, useThemeContext } from './chunk-I56VBDSC.js';
|
|
21
21
|
import { Tooltip } from './chunk-FZJBFJJR.js';
|
|
22
22
|
export { Tooltip } from './chunk-FZJBFJJR.js';
|
|
23
23
|
export { VisuallyHidden } from './chunk-H2CIKJQI.js';
|
|
24
|
-
export { QuickAction, QuickActionGroup, QuickActionIcons, quickActionIconVariants, quickActionVariants } from './chunk-
|
|
25
|
-
import { RadioGroup, Radio } from './chunk-
|
|
26
|
-
export { Radio, RadioGroup, radioVariants } from './chunk-
|
|
24
|
+
export { QuickAction, QuickActionGroup, QuickActionIcons, quickActionIconVariants, quickActionVariants } from './chunk-FYEK4RZ3.js';
|
|
25
|
+
import { RadioGroup, Radio } from './chunk-PU6ZC4GI.js';
|
|
26
|
+
export { Radio, RadioGroup, radioVariants } from './chunk-PU6ZC4GI.js';
|
|
27
27
|
export { RecordButton, formatDuration, recordButtonVariants } from './chunk-QVJBUWJQ.js';
|
|
28
|
-
export { DateButton, DatePicker, RadioOption, SchedulePicker, TimeButton, TimePicker, dateButtonVariants, radioOptionVariants, timeButtonVariants } from './chunk-
|
|
29
|
-
import { Select } from './chunk-
|
|
30
|
-
export { Select, selectTriggerVariants } from './chunk-
|
|
28
|
+
export { DateButton, DatePicker, RadioOption, SchedulePicker, TimeButton, TimePicker, dateButtonVariants, radioOptionVariants, timeButtonVariants } from './chunk-4DMZAVB2.js';
|
|
29
|
+
import { Select } from './chunk-IEVAVY43.js';
|
|
30
|
+
export { Select, selectTriggerVariants } from './chunk-IEVAVY43.js';
|
|
31
31
|
import { Skeleton } from './chunk-4Z6ZZKIY.js';
|
|
32
32
|
export { Skeleton, SkeletonCard, SkeletonTable, SkeletonText, skeletonVariants } from './chunk-4Z6ZZKIY.js';
|
|
33
|
-
export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants } from './chunk-
|
|
34
|
-
import { Spinner, SpinnerWithLabel } from './chunk-
|
|
35
|
-
export { FullPageSpinner, Spinner, SpinnerWithLabel, spinnerVariants } from './chunk-
|
|
36
|
-
export { CountryCodeDropdown, formatE164, validatePhoneNumber } from './chunk-
|
|
37
|
-
import { DateInput } from './chunk-
|
|
38
|
-
export { DateInput } from './chunk-
|
|
39
|
-
import { Dropdown, DropdownItem, DropdownSeparator } from './chunk-
|
|
40
|
-
export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator } from './chunk-
|
|
33
|
+
export { Slider, sliderRangeVariants, sliderThumbVariants, sliderTrackVariants } from './chunk-5PUEQH2L.js';
|
|
34
|
+
import { Spinner, SpinnerWithLabel } from './chunk-VCO2IZOG.js';
|
|
35
|
+
export { FullPageSpinner, Spinner, SpinnerWithLabel, spinnerVariants } from './chunk-VCO2IZOG.js';
|
|
36
|
+
export { CountryCodeDropdown, formatE164, validatePhoneNumber } from './chunk-WFS6R2F5.js';
|
|
37
|
+
import { DateInput } from './chunk-CWDQ7OPJ.js';
|
|
38
|
+
export { DateInput } from './chunk-CWDQ7OPJ.js';
|
|
39
|
+
import { Dropdown, DropdownItem, DropdownSeparator } from './chunk-FMGX2AM2.js';
|
|
40
|
+
export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator } from './chunk-FMGX2AM2.js';
|
|
41
41
|
import { Modal, ModalHeader, ModalTitle, ModalClose, ModalBody, ModalFooter } from './chunk-WTDCNXZO.js';
|
|
42
42
|
export { Modal, ModalBody, ModalClose, ModalFooter, ModalHeader, ModalTitle, modalContentVariants, modalOverlayVariants } from './chunk-WTDCNXZO.js';
|
|
43
|
-
export { Pagination, SimplePagination, paginationButtonVariants } from './chunk-
|
|
44
|
-
export { PhoneInput, PhoneInputGroup } from './chunk-
|
|
43
|
+
export { Pagination, SimplePagination, paginationButtonVariants } from './chunk-QBFNONJD.js';
|
|
44
|
+
export { PhoneInput, PhoneInputGroup } from './chunk-G7P5X2F4.js';
|
|
45
45
|
import { Input } from './chunk-XHESCAUE.js';
|
|
46
46
|
export { Input, inputVariants } from './chunk-XHESCAUE.js';
|
|
47
|
-
import { Progress } from './chunk-
|
|
48
|
-
export { CircularProgress, Progress, circularProgressVariants, progressBarFillVariants, progressBarTrackVariants } from './chunk-
|
|
49
|
-
export { AudioPlayer, ProgressBar, audioPlayerVariants, formatTime as formatAudioTime, playButtonVariants } from './chunk-
|
|
50
|
-
export { AudioRecorder, audioRecorderVariants, controlButtonVariants, formatTime, waveformContainerVariants } from './chunk-
|
|
47
|
+
import { Progress } from './chunk-YY23MK3V.js';
|
|
48
|
+
export { CircularProgress, Progress, circularProgressVariants, progressBarFillVariants, progressBarTrackVariants } from './chunk-YY23MK3V.js';
|
|
49
|
+
export { AudioPlayer, ProgressBar, audioPlayerVariants, formatTime as formatAudioTime, playButtonVariants } from './chunk-WORZLEUZ.js';
|
|
50
|
+
export { AudioRecorder, audioRecorderVariants, controlButtonVariants, formatTime, waveformContainerVariants } from './chunk-TRZXK57D.js';
|
|
51
51
|
import { Avatar } from './chunk-T4AO7KYK.js';
|
|
52
52
|
export { Avatar, AvatarGroup, avatarVariants, getInitials } from './chunk-T4AO7KYK.js';
|
|
53
53
|
import { Badge } from './chunk-DCER2QQB.js';
|
|
@@ -55,10 +55,10 @@ 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-
|
|
60
|
-
import { Checkbox } from './chunk-
|
|
61
|
-
export { Checkbox, CheckboxGroup, checkboxVariants } from './chunk-
|
|
58
|
+
import { Card, CardHeader, CardContent, CardTitle } from './chunk-AL6ASCL6.js';
|
|
59
|
+
export { Card, CardActions, CardBadge, CardCollapsible, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, CardStat, CardTitle, cardAccentVariants, cardVariants } from './chunk-AL6ASCL6.js';
|
|
60
|
+
import { Checkbox } from './chunk-5U7IIMKH.js';
|
|
61
|
+
export { Checkbox, CheckboxGroup, checkboxVariants } from './chunk-5U7IIMKH.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';
|
|
63
63
|
import { useCommandK, useIsMobile, useMediaQuery, useScrollSpy } from './chunk-Q7NBJFEB.js';
|
|
64
64
|
export { useCommandK, useIsDesktop, useIsLargeDesktop, useIsMobile, useIsMobileOrTablet, useIsSmallTablet, useIsTablet, useKeyboardShortcut, useMediaQuery, useScrollSpy } from './chunk-Q7NBJFEB.js';
|
|
@@ -451,7 +451,7 @@ function AddContactModal({
|
|
|
451
451
|
}
|
|
452
452
|
)
|
|
453
453
|
] }, index)),
|
|
454
|
-
(!formData.customFields || formData.customFields.length === 0) && /* @__PURE__ */ jsx("p", { className: "text-
|
|
454
|
+
(!formData.customFields || formData.customFields.length === 0) && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: 'No custom fields added. Click "Add Field" to add custom information.' })
|
|
455
455
|
] })
|
|
456
456
|
] }),
|
|
457
457
|
/* @__PURE__ */ jsxs(ModalFooter, { children: [
|
|
@@ -804,7 +804,7 @@ function Address({
|
|
|
804
804
|
const iconElement = showIcon ? icon || /* @__PURE__ */ jsx(MapPinIcon, { className: "h-4 w-4 shrink-0" }) : null;
|
|
805
805
|
const baseStyles = cn(
|
|
806
806
|
addressVariants({ format, size }),
|
|
807
|
-
"text-
|
|
807
|
+
"text-muted-foreground ",
|
|
808
808
|
className
|
|
809
809
|
);
|
|
810
810
|
const wrapWithIcon = (children) => {
|
|
@@ -833,7 +833,7 @@ function Address({
|
|
|
833
833
|
rel: "noopener noreferrer",
|
|
834
834
|
className: cn(
|
|
835
835
|
baseStyles,
|
|
836
|
-
"hover:text-primary-
|
|
836
|
+
"hover:text-primary-800 dark:hover:text-primary-400 hover:underline",
|
|
837
837
|
"focus:ring-primary-500 rounded focus:ring-2 focus:ring-offset-2 focus:outline-none"
|
|
838
838
|
),
|
|
839
839
|
...props,
|
|
@@ -892,7 +892,7 @@ function AddressCard({
|
|
|
892
892
|
"data-slot": "address-card-phone",
|
|
893
893
|
href: `tel:${phoneNumber.replace(/\D/g, "")}`,
|
|
894
894
|
onClick: handlePhoneClick,
|
|
895
|
-
className: "hover:text-primary-
|
|
895
|
+
className: "hover:text-primary-800 dark:hover:text-primary-400 text-muted-foreground mt-2 inline-flex items-center gap-2 text-sm",
|
|
896
896
|
children: [
|
|
897
897
|
/* @__PURE__ */ jsx(PhoneIcon, { className: "h-4 w-4" }),
|
|
898
898
|
phoneNumber
|
|
@@ -1426,7 +1426,7 @@ function ToolStatusIcon({ status, className }) {
|
|
|
1426
1426
|
status === "running" && /* @__PURE__ */ jsxs(
|
|
1427
1427
|
"svg",
|
|
1428
1428
|
{
|
|
1429
|
-
className: "text-primary-
|
|
1429
|
+
className: "text-primary-800 dark:text-primary-400 h-3 w-3 animate-spin",
|
|
1430
1430
|
fill: "none",
|
|
1431
1431
|
viewBox: "0 0 24 24",
|
|
1432
1432
|
children: [
|
|
@@ -2035,7 +2035,7 @@ function MCPToolCallDisplay({
|
|
|
2035
2035
|
/* @__PURE__ */ jsx(ToolStatusIcon, { status: toolCall.status }),
|
|
2036
2036
|
toolCall.duration && /* @__PURE__ */ jsx("span", { className: "text-xs text-neutral-400", children: formatDuration2(toolCall.duration) })
|
|
2037
2037
|
] }),
|
|
2038
|
-
paramSummary && toolCall.status !== "success" && /* @__PURE__ */ jsx("p", { className: "mt-0.5 text-sm
|
|
2038
|
+
paramSummary && toolCall.status !== "success" && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-0.5 text-sm", children: paramSummary }),
|
|
2039
2039
|
toolCall.result && /* @__PURE__ */ jsx("div", { "data-slot": "ai-tool-result", className: "mt-2", children: /* @__PURE__ */ jsx(
|
|
2040
2040
|
ToolResultDisplay,
|
|
2041
2041
|
{
|
|
@@ -2112,7 +2112,7 @@ var avatarVariants2 = cva(
|
|
|
2112
2112
|
variants: {
|
|
2113
2113
|
role: {
|
|
2114
2114
|
user: "bg-primary-100 text-primary-700 dark:bg-primary-900/50 dark:text-primary-300",
|
|
2115
|
-
assistant: "bg-primary-
|
|
2115
|
+
assistant: "bg-primary-800 text-white dark:bg-primary-800",
|
|
2116
2116
|
system: "bg-neutral-200 text-neutral-600 dark:bg-neutral-700 dark:text-neutral-400",
|
|
2117
2117
|
tool: "bg-amber-100 text-amber-700 dark:bg-amber-900/50 dark:text-amber-300"
|
|
2118
2118
|
},
|
|
@@ -2267,7 +2267,7 @@ function ContentBlock({ content, onLinkClick }) {
|
|
|
2267
2267
|
onClick: () => setIsCollapsed(!isCollapsed),
|
|
2268
2268
|
className: "flex w-full items-center justify-between px-3 py-2 text-left",
|
|
2269
2269
|
children: [
|
|
2270
|
-
/* @__PURE__ */ jsxs("span", { className: "flex items-center gap-2 text-sm
|
|
2270
|
+
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground flex items-center gap-2 text-sm", children: [
|
|
2271
2271
|
/* @__PURE__ */ jsx(
|
|
2272
2272
|
"svg",
|
|
2273
2273
|
{
|
|
@@ -2337,7 +2337,7 @@ var messageVariants = cva("flex gap-3", {
|
|
|
2337
2337
|
var bubbleVariants = cva("rounded-2xl px-4 py-2.5 w-fit max-w-[85%]", {
|
|
2338
2338
|
variants: {
|
|
2339
2339
|
role: {
|
|
2340
|
-
user: "bg-primary-
|
|
2340
|
+
user: "bg-primary-800 text-white dark:bg-primary-800",
|
|
2341
2341
|
assistant: "bg-neutral-100 text-neutral-900 dark:bg-neutral-800 dark:text-white",
|
|
2342
2342
|
system: "bg-neutral-100 text-neutral-600 dark:bg-neutral-800 dark:text-neutral-400 text-center text-sm max-w-[95%]",
|
|
2343
2343
|
tool: "bg-transparent p-0 max-w-full w-full"
|
|
@@ -2832,7 +2832,7 @@ function DragDropZone({
|
|
|
2832
2832
|
/* @__PURE__ */ jsx(
|
|
2833
2833
|
"svg",
|
|
2834
2834
|
{
|
|
2835
|
-
className: "text-primary-
|
|
2835
|
+
className: "text-primary-800 mx-auto h-12 w-12",
|
|
2836
2836
|
fill: "none",
|
|
2837
2837
|
viewBox: "0 0 24 24",
|
|
2838
2838
|
stroke: "currentColor",
|
|
@@ -2980,11 +2980,11 @@ var sendButtonVariants = cva(
|
|
|
2980
2980
|
variant: {
|
|
2981
2981
|
primary: [
|
|
2982
2982
|
"bg-primary-800 text-white",
|
|
2983
|
-
"hover:bg-primary-
|
|
2983
|
+
"hover:bg-primary-900",
|
|
2984
2984
|
"active:scale-95"
|
|
2985
2985
|
],
|
|
2986
2986
|
subtle: [
|
|
2987
|
-
"bg-transparent text-primary-
|
|
2987
|
+
"bg-transparent text-primary-800",
|
|
2988
2988
|
"hover:bg-primary-50 dark:hover:bg-primary-900/20"
|
|
2989
2989
|
]
|
|
2990
2990
|
},
|
|
@@ -3218,7 +3218,7 @@ var MessageComposer = React48.forwardRef(
|
|
|
3218
3218
|
),
|
|
3219
3219
|
children: [
|
|
3220
3220
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
3221
|
-
/* @__PURE__ */ jsxs("span", { className: "text-primary-
|
|
3221
|
+
/* @__PURE__ */ jsxs("span", { className: "text-primary-800 dark:text-primary-400 text-xs font-medium", children: [
|
|
3222
3222
|
"Replying to ",
|
|
3223
3223
|
replyTo.senderName
|
|
3224
3224
|
] }),
|
|
@@ -3367,7 +3367,7 @@ var statusIconVariants2 = cva(
|
|
|
3367
3367
|
status: {
|
|
3368
3368
|
sending: "text-neutral-500",
|
|
3369
3369
|
sent: "text-neutral-500",
|
|
3370
|
-
delivered: "text-
|
|
3370
|
+
delivered: "text-muted-foreground",
|
|
3371
3371
|
read: "text-primary-800 dark:text-primary-300",
|
|
3372
3372
|
failed: "text-red-500"
|
|
3373
3373
|
}
|
|
@@ -3703,7 +3703,7 @@ var bubbleVariants2 = cva(
|
|
|
3703
3703
|
],
|
|
3704
3704
|
system: [
|
|
3705
3705
|
"mx-auto max-w-none",
|
|
3706
|
-
"bg-transparent text-
|
|
3706
|
+
"bg-transparent text-muted-foreground",
|
|
3707
3707
|
"text-center text-sm",
|
|
3708
3708
|
"py-1 px-2"
|
|
3709
3709
|
]
|
|
@@ -3804,7 +3804,7 @@ var MessageBubble = React48.forwardRef(
|
|
|
3804
3804
|
"span",
|
|
3805
3805
|
{
|
|
3806
3806
|
"data-slot": "message-sender-name",
|
|
3807
|
-
className: "mb-1 px-1 text-xs font-medium
|
|
3807
|
+
className: "text-muted-foreground mb-1 px-1 text-xs font-medium",
|
|
3808
3808
|
children: message.sender.name
|
|
3809
3809
|
}
|
|
3810
3810
|
),
|
|
@@ -3852,7 +3852,7 @@ var MessageBubble = React48.forwardRef(
|
|
|
3852
3852
|
isOutgoing ? "flex-row-reverse" : "flex-row"
|
|
3853
3853
|
),
|
|
3854
3854
|
children: [
|
|
3855
|
-
showTimestamp && /* @__PURE__ */ jsx("span", { className: "text-
|
|
3855
|
+
showTimestamp && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs", children: formatTimestamp(message.timestamp) }),
|
|
3856
3856
|
showStatus && isOutgoing && /* @__PURE__ */ jsx(MessageStatusIcon, { status: message.status }),
|
|
3857
3857
|
showReadReceipts && isOutgoing && message.readReceipts && message.readReceipts.length > 0 && /* @__PURE__ */ jsx(ReadReceiptIndicator, { receipts: message.readReceipts }),
|
|
3858
3858
|
isFailed && onRetry && /* @__PURE__ */ jsxs(
|
|
@@ -4058,7 +4058,7 @@ function TypingIndicator({ typingState, className }) {
|
|
|
4058
4058
|
}
|
|
4059
4059
|
)
|
|
4060
4060
|
] }),
|
|
4061
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
4061
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs", children: typingText })
|
|
4062
4062
|
]
|
|
4063
4063
|
}
|
|
4064
4064
|
);
|
|
@@ -4131,7 +4131,7 @@ function EmptyState({
|
|
|
4131
4131
|
}
|
|
4132
4132
|
),
|
|
4133
4133
|
/* @__PURE__ */ jsx("h3", { className: "mb-2 text-lg font-semibold text-neutral-900 dark:text-neutral-100", children: title }),
|
|
4134
|
-
/* @__PURE__ */ jsx("p", { className: "mb-4 max-w-sm text-sm
|
|
4134
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mb-4 max-w-sm text-sm", children: description }),
|
|
4135
4135
|
action
|
|
4136
4136
|
]
|
|
4137
4137
|
}
|
|
@@ -4506,7 +4506,7 @@ function SuggestedActions({
|
|
|
4506
4506
|
onClick: () => onSelect(action),
|
|
4507
4507
|
className: cn(
|
|
4508
4508
|
"flex items-center gap-2 rounded-full border border-neutral-200 px-3 py-1.5",
|
|
4509
|
-
"hover:border-primary-300 hover:bg-primary-50 hover:text-primary-
|
|
4509
|
+
"hover:border-primary-300 hover:bg-primary-50 hover:text-primary-900 text-sm text-neutral-700",
|
|
4510
4510
|
"dark:border-neutral-700 dark:text-neutral-300",
|
|
4511
4511
|
"dark:hover:border-primary-700 dark:hover:bg-primary-900/20 dark:hover:text-primary-300",
|
|
4512
4512
|
"transition-colors"
|
|
@@ -4533,12 +4533,12 @@ function AIEmptyState({
|
|
|
4533
4533
|
"div",
|
|
4534
4534
|
{
|
|
4535
4535
|
"data-slot": "ai-empty-state-icon",
|
|
4536
|
-
className: "bg-primary-
|
|
4536
|
+
className: "bg-primary-800 dark:bg-primary-800 flex h-16 w-16 items-center justify-center rounded-full text-white",
|
|
4537
4537
|
children: /* @__PURE__ */ jsx(SparklesIcon, { size: "lg", className: "h-8 w-8" })
|
|
4538
4538
|
}
|
|
4539
4539
|
);
|
|
4540
4540
|
const suggestionsAction = suggestions && suggestions.length > 0 && onSuggestionSelect ? /* @__PURE__ */ jsxs("div", { className: "mt-6", children: [
|
|
4541
|
-
/* @__PURE__ */ jsx("p", { className: "mb-3 text-sm
|
|
4541
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mb-3 text-sm", children: "Try asking:" }),
|
|
4542
4542
|
/* @__PURE__ */ jsx(SuggestedActions, { actions: suggestions, onSelect: onSuggestionSelect })
|
|
4543
4543
|
] }) : void 0;
|
|
4544
4544
|
return /* @__PURE__ */ jsx(
|
|
@@ -4640,7 +4640,7 @@ function AIChat({
|
|
|
4640
4640
|
"div",
|
|
4641
4641
|
{
|
|
4642
4642
|
"data-slot": "ai-chat-header-icon",
|
|
4643
|
-
className: "bg-primary-
|
|
4643
|
+
className: "bg-primary-800 dark:bg-primary-800 flex h-8 w-8 items-center justify-center rounded-full text-white",
|
|
4644
4644
|
children: /* @__PURE__ */ jsx(SparklesIcon, { size: "sm" })
|
|
4645
4645
|
}
|
|
4646
4646
|
),
|
|
@@ -4769,8 +4769,8 @@ function AIChatTrigger({
|
|
|
4769
4769
|
"data-slot": "ai-chat-trigger",
|
|
4770
4770
|
className: cn(
|
|
4771
4771
|
"fixed z-50 flex h-14 w-14 items-center justify-center rounded-full shadow-lg",
|
|
4772
|
-
"bg-primary-
|
|
4773
|
-
"hover:bg-primary-
|
|
4772
|
+
"bg-primary-800 text-white",
|
|
4773
|
+
"hover:bg-primary-900",
|
|
4774
4774
|
"focus:ring-primary-500 focus:ring-2 focus:ring-offset-2 focus:outline-none",
|
|
4775
4775
|
"dark:focus:ring-offset-neutral-900",
|
|
4776
4776
|
"transition-all duration-200",
|
|
@@ -4974,7 +4974,7 @@ function AppHeaderTitle({
|
|
|
4974
4974
|
}) {
|
|
4975
4975
|
return /* @__PURE__ */ jsxs("div", { "data-slot": "app-header-title", className: cn("min-w-0", className), children: [
|
|
4976
4976
|
/* @__PURE__ */ jsx("h1", { className: "truncate text-lg font-semibold text-gray-900 dark:text-white", children }),
|
|
4977
|
-
subtitle && /* @__PURE__ */ jsx("p", { className: "
|
|
4977
|
+
subtitle && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground truncate text-sm", children: subtitle })
|
|
4978
4978
|
] });
|
|
4979
4979
|
}
|
|
4980
4980
|
function AppHeaderActions({
|
|
@@ -5020,10 +5020,10 @@ function AppHeaderIconButton({
|
|
|
5020
5020
|
"data-testid": testId,
|
|
5021
5021
|
className: cn(
|
|
5022
5022
|
"relative rounded-lg p-2 transition-colors",
|
|
5023
|
-
"text-
|
|
5023
|
+
"text-muted-foreground",
|
|
5024
5024
|
"hover:bg-gray-100 dark:hover:bg-gray-800",
|
|
5025
5025
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
5026
|
-
isActive && "text-primary-
|
|
5026
|
+
isActive && "text-primary-800 dark:text-primary-400 bg-gray-100 dark:bg-gray-800",
|
|
5027
5027
|
className
|
|
5028
5028
|
),
|
|
5029
5029
|
"aria-label": label,
|
|
@@ -5080,7 +5080,7 @@ function AppHeaderSearch({
|
|
|
5080
5080
|
"data-testid": testId,
|
|
5081
5081
|
className: cn(
|
|
5082
5082
|
"flex items-center gap-3 rounded-lg border border-gray-300 dark:border-gray-600",
|
|
5083
|
-
"bg-white px-4 py-2 text-sm
|
|
5083
|
+
"text-muted-foreground bg-white px-4 py-2 text-sm dark:bg-gray-700",
|
|
5084
5084
|
"hover:border-gray-400 dark:hover:border-gray-500",
|
|
5085
5085
|
"transition-colors hover:bg-gray-50 dark:hover:bg-gray-600",
|
|
5086
5086
|
!showOnMobile && "hidden sm:flex",
|
|
@@ -5096,7 +5096,7 @@ function AppHeaderSearch({
|
|
|
5096
5096
|
className: cn(
|
|
5097
5097
|
"hidden items-center gap-0.5 px-2 py-0.5 sm:inline-flex",
|
|
5098
5098
|
"rounded border border-gray-200 bg-gray-100 dark:border-gray-500 dark:bg-gray-600",
|
|
5099
|
-
"flex-shrink-0 text-xs
|
|
5099
|
+
"text-muted-foreground flex-shrink-0 text-xs"
|
|
5100
5100
|
),
|
|
5101
5101
|
children: [
|
|
5102
5102
|
isMac ? "\u2318" : "Ctrl",
|
|
@@ -5165,7 +5165,7 @@ function AppHeaderUserMenu({
|
|
|
5165
5165
|
"div",
|
|
5166
5166
|
{
|
|
5167
5167
|
"data-slot": "app-header-user-email",
|
|
5168
|
-
className: "max-w-[150px] truncate text-xs
|
|
5168
|
+
className: "text-muted-foreground max-w-[150px] truncate text-xs",
|
|
5169
5169
|
children: email
|
|
5170
5170
|
}
|
|
5171
5171
|
)
|
|
@@ -5282,7 +5282,7 @@ function AuthDialog({
|
|
|
5282
5282
|
{
|
|
5283
5283
|
type: "button",
|
|
5284
5284
|
onClick: onClose,
|
|
5285
|
-
className: "absolute top-4 right-4 rounded-full p-1
|
|
5285
|
+
className: "text-muted-foreground absolute top-4 right-4 rounded-full p-1 hover:bg-gray-100 hover:text-gray-700 dark:hover:bg-gray-700 dark:hover:text-gray-300",
|
|
5286
5286
|
"aria-label": "Close",
|
|
5287
5287
|
children: /* @__PURE__ */ jsx(CloseIcon2, { className: "h-5 w-5" })
|
|
5288
5288
|
}
|
|
@@ -5399,7 +5399,7 @@ function AuthDialog({
|
|
|
5399
5399
|
),
|
|
5400
5400
|
mode === "verify" && /* @__PURE__ */ jsxs("div", { className: "py-4 text-center", children: [
|
|
5401
5401
|
/* @__PURE__ */ jsx(MailIcon, { className: "text-primary-800 dark:text-primary-300 mx-auto mb-4 h-12 w-12" }),
|
|
5402
|
-
/* @__PURE__ */ jsx("p", { className: "
|
|
5402
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mb-4", children: "We've sent a verification email to your inbox. Please click the link to verify your account." }),
|
|
5403
5403
|
/* @__PURE__ */ jsx(
|
|
5404
5404
|
"button",
|
|
5405
5405
|
{
|
|
@@ -5413,7 +5413,7 @@ function AuthDialog({
|
|
|
5413
5413
|
(mode === "login" || mode === "signup") && socialProviders.length > 0 && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5414
5414
|
/* @__PURE__ */ jsxs("div", { className: "relative my-6", children: [
|
|
5415
5415
|
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 flex items-center", children: /* @__PURE__ */ jsx("div", { className: "w-full border-t border-gray-200 dark:border-gray-700" }) }),
|
|
5416
|
-
/* @__PURE__ */ jsx("div", { className: "relative flex justify-center text-sm", children: /* @__PURE__ */ jsx("span", { className: "bg-white px-2
|
|
5416
|
+
/* @__PURE__ */ jsx("div", { className: "relative flex justify-center text-sm", children: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground bg-white px-2 dark:bg-gray-800", children: "Or continue with" }) })
|
|
5417
5417
|
] }),
|
|
5418
5418
|
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-3", children: socialProviders.map((provider) => /* @__PURE__ */ jsx(
|
|
5419
5419
|
SocialButton,
|
|
@@ -5425,7 +5425,7 @@ function AuthDialog({
|
|
|
5425
5425
|
provider.id
|
|
5426
5426
|
)) })
|
|
5427
5427
|
] }),
|
|
5428
|
-
(mode === "login" || mode === "signup") && /* @__PURE__ */ jsx("p", { className: "mt-6 text-center text-sm
|
|
5428
|
+
(mode === "login" || mode === "signup") && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-6 text-center text-sm", children: mode === "login" ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5429
5429
|
"Don't have an account?",
|
|
5430
5430
|
" ",
|
|
5431
5431
|
/* @__PURE__ */ jsx(
|
|
@@ -5518,7 +5518,7 @@ function LoginForm({ onSubmit, isLoading, onForgotPassword }) {
|
|
|
5518
5518
|
{
|
|
5519
5519
|
type: "button",
|
|
5520
5520
|
onClick: () => setShowPassword(!showPassword),
|
|
5521
|
-
className: "absolute top-1/2 right-3 -translate-y-1/2
|
|
5521
|
+
className: "text-muted-foreground absolute top-1/2 right-3 -translate-y-1/2 hover:text-gray-700",
|
|
5522
5522
|
children: showPassword ? /* @__PURE__ */ jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(EyeIcon, { className: "h-4 w-4" })
|
|
5523
5523
|
}
|
|
5524
5524
|
)
|
|
@@ -5530,10 +5530,10 @@ function LoginForm({ onSubmit, isLoading, onForgotPassword }) {
|
|
|
5530
5530
|
"input",
|
|
5531
5531
|
{
|
|
5532
5532
|
type: "checkbox",
|
|
5533
|
-
className: "text-primary-
|
|
5533
|
+
className: "text-primary-800 focus:ring-primary-500 rounded border-gray-300"
|
|
5534
5534
|
}
|
|
5535
5535
|
),
|
|
5536
|
-
/* @__PURE__ */ jsx("span", { className: "ml-2 text-sm
|
|
5536
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground ml-2 text-sm", children: "Remember me" })
|
|
5537
5537
|
] }),
|
|
5538
5538
|
/* @__PURE__ */ jsx(
|
|
5539
5539
|
"button",
|
|
@@ -5550,7 +5550,7 @@ function LoginForm({ onSubmit, isLoading, onForgotPassword }) {
|
|
|
5550
5550
|
{
|
|
5551
5551
|
type: "submit",
|
|
5552
5552
|
disabled: isLoading,
|
|
5553
|
-
className: "bg-primary-
|
|
5553
|
+
className: "bg-primary-800 hover:bg-primary-900 w-full rounded-lg py-2.5 font-medium text-white transition-colors disabled:cursor-not-allowed disabled:opacity-50",
|
|
5554
5554
|
children: isLoading ? /* @__PURE__ */ jsx(Spinner2, { className: "mx-auto h-5 w-5" }) : "Sign in"
|
|
5555
5555
|
}
|
|
5556
5556
|
)
|
|
@@ -5626,7 +5626,7 @@ function SignupForm({
|
|
|
5626
5626
|
{
|
|
5627
5627
|
type: "button",
|
|
5628
5628
|
onClick: () => setShowPassword(!showPassword),
|
|
5629
|
-
className: "absolute top-1/2 right-3 -translate-y-1/2
|
|
5629
|
+
className: "text-muted-foreground absolute top-1/2 right-3 -translate-y-1/2 hover:text-gray-700",
|
|
5630
5630
|
children: showPassword ? /* @__PURE__ */ jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(EyeIcon, { className: "h-4 w-4" })
|
|
5631
5631
|
}
|
|
5632
5632
|
)
|
|
@@ -5667,10 +5667,10 @@ function SignupForm({
|
|
|
5667
5667
|
checked: acceptedTerms,
|
|
5668
5668
|
onChange: (e) => setAcceptedTerms(e.target.checked),
|
|
5669
5669
|
required: true,
|
|
5670
|
-
className: "text-primary-
|
|
5670
|
+
className: "text-primary-800 focus:ring-primary-500 mt-0.5 rounded border-gray-300"
|
|
5671
5671
|
}
|
|
5672
5672
|
),
|
|
5673
|
-
/* @__PURE__ */ jsxs("span", { className: "ml-2 text-sm
|
|
5673
|
+
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ml-2 text-sm", children: [
|
|
5674
5674
|
"I agree to the",
|
|
5675
5675
|
" ",
|
|
5676
5676
|
/* @__PURE__ */ jsx(
|
|
@@ -5703,7 +5703,7 @@ function SignupForm({
|
|
|
5703
5703
|
{
|
|
5704
5704
|
type: "submit",
|
|
5705
5705
|
disabled: isLoading || !passwordsMatch || !acceptedTerms,
|
|
5706
|
-
className: "bg-primary-
|
|
5706
|
+
className: "bg-primary-800 hover:bg-primary-900 w-full rounded-lg py-2.5 font-medium text-white transition-colors disabled:cursor-not-allowed disabled:opacity-50",
|
|
5707
5707
|
children: isLoading ? /* @__PURE__ */ jsx(Spinner2, { className: "mx-auto h-5 w-5" }) : "Create account"
|
|
5708
5708
|
}
|
|
5709
5709
|
)
|
|
@@ -5720,7 +5720,7 @@ function ForgotPasswordForm({
|
|
|
5720
5720
|
onSubmit(email);
|
|
5721
5721
|
};
|
|
5722
5722
|
return /* @__PURE__ */ jsxs("form", { onSubmit: handleSubmit, className: "space-y-4", children: [
|
|
5723
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
5723
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Enter your email address and we'll send you a link to reset your password." }),
|
|
5724
5724
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
5725
5725
|
/* @__PURE__ */ jsx(
|
|
5726
5726
|
"label",
|
|
@@ -5749,7 +5749,7 @@ function ForgotPasswordForm({
|
|
|
5749
5749
|
{
|
|
5750
5750
|
type: "submit",
|
|
5751
5751
|
disabled: isLoading,
|
|
5752
|
-
className: "bg-primary-
|
|
5752
|
+
className: "bg-primary-800 hover:bg-primary-900 w-full rounded-lg py-2.5 font-medium text-white transition-colors disabled:cursor-not-allowed disabled:opacity-50",
|
|
5753
5753
|
children: isLoading ? /* @__PURE__ */ jsx(Spinner2, { className: "mx-auto h-5 w-5" }) : "Send reset link"
|
|
5754
5754
|
}
|
|
5755
5755
|
),
|
|
@@ -5758,7 +5758,7 @@ function ForgotPasswordForm({
|
|
|
5758
5758
|
{
|
|
5759
5759
|
type: "button",
|
|
5760
5760
|
onClick: onBack,
|
|
5761
|
-
className: "w-full py-2 text-sm
|
|
5761
|
+
className: "text-muted-foreground w-full py-2 text-sm hover:text-gray-800 dark:hover:text-gray-200",
|
|
5762
5762
|
children: "\u2190 Back to login"
|
|
5763
5763
|
}
|
|
5764
5764
|
)
|
|
@@ -5804,7 +5804,7 @@ function ResetPasswordForm({ onSubmit, isLoading }) {
|
|
|
5804
5804
|
{
|
|
5805
5805
|
type: "button",
|
|
5806
5806
|
onClick: () => setShowPassword(!showPassword),
|
|
5807
|
-
className: "absolute top-1/2 right-3 -translate-y-1/2
|
|
5807
|
+
className: "text-muted-foreground absolute top-1/2 right-3 -translate-y-1/2 hover:text-gray-700",
|
|
5808
5808
|
children: showPassword ? /* @__PURE__ */ jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsx(EyeIcon, { className: "h-4 w-4" })
|
|
5809
5809
|
}
|
|
5810
5810
|
)
|
|
@@ -5842,7 +5842,7 @@ function ResetPasswordForm({ onSubmit, isLoading }) {
|
|
|
5842
5842
|
{
|
|
5843
5843
|
type: "submit",
|
|
5844
5844
|
disabled: isLoading || !passwordsMatch,
|
|
5845
|
-
className: "bg-primary-
|
|
5845
|
+
className: "bg-primary-800 hover:bg-primary-900 w-full rounded-lg py-2.5 font-medium text-white transition-colors disabled:cursor-not-allowed disabled:opacity-50",
|
|
5846
5846
|
children: isLoading ? /* @__PURE__ */ jsx(Spinner2, { className: "mx-auto h-5 w-5" }) : "Set new password"
|
|
5847
5847
|
}
|
|
5848
5848
|
)
|
|
@@ -6186,7 +6186,7 @@ function ServiceSelect({
|
|
|
6186
6186
|
type: "checkbox",
|
|
6187
6187
|
checked: selectedServices.includes(service.slug),
|
|
6188
6188
|
onChange: () => toggleService(service.slug),
|
|
6189
|
-
className: "text-primary-
|
|
6189
|
+
className: "text-primary-800 focus:ring-primary-500 border-input h-4 w-4 rounded"
|
|
6190
6190
|
}
|
|
6191
6191
|
),
|
|
6192
6192
|
/* @__PURE__ */ jsx("span", { className: "text-foreground", children: service.name })
|
|
@@ -6230,7 +6230,7 @@ function ConsentSwitch({
|
|
|
6230
6230
|
"data-slot": "consent-switch-toggle",
|
|
6231
6231
|
className: cn(
|
|
6232
6232
|
"focus:ring-primary-500 relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer items-center rounded-full transition-colors duration-200 ease-in-out focus:ring-2 focus:ring-offset-2 focus:outline-none",
|
|
6233
|
-
checked ? "bg-primary-
|
|
6233
|
+
checked ? "bg-primary-800" : "bg-muted"
|
|
6234
6234
|
),
|
|
6235
6235
|
children: /* @__PURE__ */ jsx(
|
|
6236
6236
|
"span",
|
|
@@ -6428,7 +6428,7 @@ function BookingDialog({
|
|
|
6428
6428
|
href: mapsUrl,
|
|
6429
6429
|
target: "_blank",
|
|
6430
6430
|
rel: "noopener noreferrer",
|
|
6431
|
-
className: "hover:text-primary-
|
|
6431
|
+
className: "hover:text-primary-800 text-muted-foreground text-sm",
|
|
6432
6432
|
"data-slot": "booking-dialog-provider-address",
|
|
6433
6433
|
children: [
|
|
6434
6434
|
provider.address.street1,
|
|
@@ -6584,7 +6584,7 @@ function BookingDialog({
|
|
|
6584
6584
|
disabled: isLoading,
|
|
6585
6585
|
"data-slot": "booking-dialog-footer-btn",
|
|
6586
6586
|
className: cn(
|
|
6587
|
-
"bg-primary-
|
|
6587
|
+
"bg-primary-800 hover:bg-primary-900 inline-flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium text-white transition-colors",
|
|
6588
6588
|
isLoading && "cursor-not-allowed opacity-50"
|
|
6589
6589
|
),
|
|
6590
6590
|
children: isLoading ? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -6696,7 +6696,7 @@ function InlineBookingForm({
|
|
|
6696
6696
|
disabled: isLoading,
|
|
6697
6697
|
"data-slot": "inline-booking-form-submit",
|
|
6698
6698
|
className: cn(
|
|
6699
|
-
"bg-primary-
|
|
6699
|
+
"bg-primary-800 hover:bg-primary-900 w-full rounded-lg px-4 py-3 text-sm font-medium text-white transition-colors",
|
|
6700
6700
|
isLoading && "cursor-not-allowed opacity-50"
|
|
6701
6701
|
),
|
|
6702
6702
|
children: isLoading ? "Submitting..." : "Request Booking"
|
|
@@ -6759,7 +6759,7 @@ function QuickBookCard({
|
|
|
6759
6759
|
{
|
|
6760
6760
|
type: "button",
|
|
6761
6761
|
onClick: onBook,
|
|
6762
|
-
className: "bg-primary-
|
|
6762
|
+
className: "bg-primary-800 hover:bg-primary-900 inline-flex flex-1 items-center justify-center gap-2 rounded-lg px-4 py-2 text-sm font-medium text-white transition-colors",
|
|
6763
6763
|
"data-slot": "quick-book-card-btn",
|
|
6764
6764
|
children: [
|
|
6765
6765
|
/* @__PURE__ */ jsx(CalendarIcon, { className: "h-4 w-4" }),
|
|
@@ -7094,7 +7094,7 @@ function TimeRangeDisplay({ range, use24Hour = false }) {
|
|
|
7094
7094
|
"Until ",
|
|
7095
7095
|
end
|
|
7096
7096
|
] }) : "Hours vary",
|
|
7097
|
-
range.description && /* @__PURE__ */ jsx("span", { className: "mt-0.5 block text-xs
|
|
7097
|
+
range.description && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground mt-0.5 block text-xs", children: range.description })
|
|
7098
7098
|
] });
|
|
7099
7099
|
}
|
|
7100
7100
|
function DayScheduleRow({
|
|
@@ -7135,7 +7135,7 @@ function DayScheduleRow({
|
|
|
7135
7135
|
"data-slot": "business-hours-day-hours",
|
|
7136
7136
|
className: cn("text-right", hasMultipleRanges && "flex flex-col gap-1"),
|
|
7137
7137
|
"data-cy": `provider-hours-${dayHours.day}`,
|
|
7138
|
-
children: hasHours ? dayHours.hours.map((range, idx) => /* @__PURE__ */ jsx(TimeRangeDisplay, { range, use24Hour }, idx)) : /* @__PURE__ */ jsx("span", { className: "text-
|
|
7138
|
+
children: hasHours ? dayHours.hours.map((range, idx) => /* @__PURE__ */ jsx(TimeRangeDisplay, { range, use24Hour }, idx)) : /* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Closed" })
|
|
7139
7139
|
}
|
|
7140
7140
|
)
|
|
7141
7141
|
]
|
|
@@ -7302,7 +7302,7 @@ function BusinessHours({
|
|
|
7302
7302
|
"p",
|
|
7303
7303
|
{
|
|
7304
7304
|
"data-slot": "business-hours-timezone",
|
|
7305
|
-
className: "mt-3 text-xs
|
|
7305
|
+
className: "text-muted-foreground mt-3 text-xs",
|
|
7306
7306
|
children: [
|
|
7307
7307
|
"All times are in ",
|
|
7308
7308
|
schedule.timezone
|
|
@@ -7617,7 +7617,7 @@ function BusinessHoursEditor({
|
|
|
7617
7617
|
"p",
|
|
7618
7618
|
{
|
|
7619
7619
|
"data-slot": "business-hours-closed",
|
|
7620
|
-
className: "text-
|
|
7620
|
+
className: "text-muted-foreground text-sm italic",
|
|
7621
7621
|
children: "Closed"
|
|
7622
7622
|
}
|
|
7623
7623
|
) : /* @__PURE__ */ jsx("div", { "data-slot": "business-hours-slots", className: "space-y-2", children: hours.map((slot, slotIndex) => /* @__PURE__ */ jsxs(
|
|
@@ -8649,7 +8649,7 @@ function CommandPalette({
|
|
|
8649
8649
|
"data-slot": "command-palette-search",
|
|
8650
8650
|
className: "relative border-b border-gray-200 dark:border-gray-700",
|
|
8651
8651
|
children: [
|
|
8652
|
-
/* @__PURE__ */ jsx("div", { className: "absolute top-1/2 left-4 -translate-y-1/2
|
|
8652
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground absolute top-1/2 left-4 -translate-y-1/2", children: /* @__PURE__ */ jsx(SearchIcon2, {}) }),
|
|
8653
8653
|
/* @__PURE__ */ jsx(
|
|
8654
8654
|
"input",
|
|
8655
8655
|
{
|
|
@@ -8672,11 +8672,11 @@ function CommandPalette({
|
|
|
8672
8672
|
{
|
|
8673
8673
|
onClick: () => setQuery(""),
|
|
8674
8674
|
"data-testid": `${testId}-clear`,
|
|
8675
|
-
className: "absolute top-1/2 right-12 -translate-y-1/2
|
|
8675
|
+
className: "text-muted-foreground absolute top-1/2 right-12 -translate-y-1/2 hover:text-gray-700 dark:hover:text-gray-200",
|
|
8676
8676
|
children: /* @__PURE__ */ jsx(XIcon2, {})
|
|
8677
8677
|
}
|
|
8678
8678
|
),
|
|
8679
|
-
isLoading && /* @__PURE__ */ jsx("div", { className: "text-primary-
|
|
8679
|
+
isLoading && /* @__PURE__ */ jsx("div", { className: "text-primary-800 absolute top-1/2 right-4 -translate-y-1/2", children: /* @__PURE__ */ jsx(SpinnerIcon3, {}) })
|
|
8680
8680
|
]
|
|
8681
8681
|
}
|
|
8682
8682
|
),
|
|
@@ -8693,7 +8693,7 @@ function CommandPalette({
|
|
|
8693
8693
|
"data-testid": `${testId}-filter-all`,
|
|
8694
8694
|
className: cn(
|
|
8695
8695
|
"rounded px-2 py-1 text-xs font-medium transition-colors",
|
|
8696
|
-
activeCategory === null ? "bg-primary-800 text-white" : "text-
|
|
8696
|
+
activeCategory === null ? "bg-primary-800 text-white" : "text-muted-foreground hover:bg-gray-100 dark:hover:bg-gray-700"
|
|
8697
8697
|
),
|
|
8698
8698
|
children: "All"
|
|
8699
8699
|
}
|
|
@@ -8705,7 +8705,7 @@ function CommandPalette({
|
|
|
8705
8705
|
"data-testid": `${testId}-filter-${cat.id}`,
|
|
8706
8706
|
className: cn(
|
|
8707
8707
|
"flex items-center gap-1 rounded px-2 py-1 text-xs font-medium transition-colors",
|
|
8708
|
-
activeCategory === cat.id ? "bg-primary-800 text-white" : "text-
|
|
8708
|
+
activeCategory === cat.id ? "bg-primary-800 text-white" : "text-muted-foreground hover:bg-gray-100 dark:hover:bg-gray-700"
|
|
8709
8709
|
),
|
|
8710
8710
|
children: [
|
|
8711
8711
|
cat.icon && /* @__PURE__ */ jsx("span", { className: "h-3 w-3", children: cat.icon }),
|
|
@@ -8727,7 +8727,7 @@ function CommandPalette({
|
|
|
8727
8727
|
"div",
|
|
8728
8728
|
{
|
|
8729
8729
|
"data-slot": "command-palette-empty",
|
|
8730
|
-
className: "p-8 text-center
|
|
8730
|
+
className: "text-muted-foreground p-8 text-center",
|
|
8731
8731
|
children: emptyState ?? /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
8732
8732
|
/* @__PURE__ */ jsx("div", { className: "mx-auto mb-2 h-8 w-8 opacity-50", children: /* @__PURE__ */ jsx(SearchIcon2, {}) }),
|
|
8733
8733
|
/* @__PURE__ */ jsx("p", { className: "text-sm", children: query.trim() ? `No results for "${query}"` : "Start typing to search..." })
|
|
@@ -8743,7 +8743,7 @@ function CommandPalette({
|
|
|
8743
8743
|
"data-slot": "command-palette-group",
|
|
8744
8744
|
className: cn(
|
|
8745
8745
|
"sticky top-0 px-3 py-2 text-xs font-semibold",
|
|
8746
|
-
"text-
|
|
8746
|
+
"text-muted-foreground",
|
|
8747
8747
|
"bg-gray-50 dark:bg-gray-900/50"
|
|
8748
8748
|
),
|
|
8749
8749
|
children: [
|
|
@@ -8802,7 +8802,7 @@ function CommandPalette({
|
|
|
8802
8802
|
disabled: item.disabled,
|
|
8803
8803
|
className: cn(
|
|
8804
8804
|
"flex w-full items-start gap-3 px-4 py-3 text-left transition-colors",
|
|
8805
|
-
isSelected ? "bg-primary-50 dark:bg-primary-
|
|
8805
|
+
isSelected ? "bg-primary-50 dark:bg-primary-900/20" : "hover:bg-gray-50 dark:hover:bg-gray-700/50",
|
|
8806
8806
|
item.disabled && "cursor-not-allowed opacity-50"
|
|
8807
8807
|
),
|
|
8808
8808
|
children: [
|
|
@@ -8812,15 +8812,15 @@ function CommandPalette({
|
|
|
8812
8812
|
"data-slot": "command-palette-item-icon",
|
|
8813
8813
|
className: cn(
|
|
8814
8814
|
"mt-0.5 h-4 w-4 flex-shrink-0",
|
|
8815
|
-
isSelected ? "text-primary-800 dark:text-primary-300" : "text-
|
|
8815
|
+
isSelected ? "text-primary-800 dark:text-primary-300" : "text-muted-foreground"
|
|
8816
8816
|
),
|
|
8817
8817
|
children: item.icon
|
|
8818
8818
|
}
|
|
8819
8819
|
),
|
|
8820
8820
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
8821
8821
|
/* @__PURE__ */ jsx("div", { className: "truncate text-sm font-medium text-gray-900 dark:text-white", children: item.label }),
|
|
8822
|
-
item.subtitle && /* @__PURE__ */ jsx("div", { className: "
|
|
8823
|
-
item.description && /* @__PURE__ */ jsx("div", { className: "mt-0.5 truncate text-xs
|
|
8822
|
+
item.subtitle && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground truncate text-xs", children: item.subtitle }),
|
|
8823
|
+
item.description && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground mt-0.5 truncate text-xs", children: item.description })
|
|
8824
8824
|
] }),
|
|
8825
8825
|
item.shortcut && /* @__PURE__ */ jsx(
|
|
8826
8826
|
"kbd",
|
|
@@ -8829,7 +8829,7 @@ function CommandPalette({
|
|
|
8829
8829
|
"hidden items-center px-1.5 py-0.5 text-[10px] sm:inline-flex",
|
|
8830
8830
|
"rounded border bg-gray-100 dark:bg-gray-700",
|
|
8831
8831
|
"border-gray-200 dark:border-gray-600",
|
|
8832
|
-
"text-
|
|
8832
|
+
"text-muted-foreground"
|
|
8833
8833
|
),
|
|
8834
8834
|
children: item.shortcut
|
|
8835
8835
|
}
|
|
@@ -8850,7 +8850,7 @@ function CommandPalette({
|
|
|
8850
8850
|
"data-slot": "command-palette-footer",
|
|
8851
8851
|
className: cn(
|
|
8852
8852
|
"border-t border-gray-100 p-2 dark:border-gray-700",
|
|
8853
|
-
"bg-gray-50 text-xs
|
|
8853
|
+
"text-muted-foreground bg-gray-50 text-xs dark:bg-gray-900/50",
|
|
8854
8854
|
"flex items-center justify-between"
|
|
8855
8855
|
),
|
|
8856
8856
|
children: [
|
|
@@ -8889,7 +8889,7 @@ function CommandPaletteTrigger({
|
|
|
8889
8889
|
"data-slot": "command-palette-trigger",
|
|
8890
8890
|
className: cn(
|
|
8891
8891
|
"flex items-center gap-3 rounded-lg border border-gray-300 dark:border-gray-400",
|
|
8892
|
-
"bg-white px-4 py-2.5 text-sm
|
|
8892
|
+
"text-muted-foreground bg-white px-4 py-2.5 text-sm dark:bg-gray-700",
|
|
8893
8893
|
"hover:border-gray-400 dark:hover:border-gray-300",
|
|
8894
8894
|
"transition-colors hover:bg-gray-50 dark:hover:bg-gray-600",
|
|
8895
8895
|
"min-w-[200px] sm:min-w-[300px]",
|
|
@@ -8974,8 +8974,8 @@ function ConnectionStatusOverlay({
|
|
|
8974
8974
|
/* @__PURE__ */ jsx("div", { className: "shrink-0", children: /* @__PURE__ */ jsx(ConnectionIcon, { status: connection.status, className: "h-12 w-12" }) }),
|
|
8975
8975
|
/* @__PURE__ */ jsxs("div", { "data-slot": "connection-overlay-content", className: "flex-1", children: [
|
|
8976
8976
|
/* @__PURE__ */ jsx("p", { className: "text-gray-700 dark:text-gray-300", children: displayMessage }),
|
|
8977
|
-
/* @__PURE__ */ jsx("p", { className: "mt-1 text-sm
|
|
8978
|
-
connection.retryCount !== void 0 && connection.retryCount > 0 && /* @__PURE__ */ jsxs("p", { className: "mt-1 text-xs
|
|
8977
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-sm", children: "Please check your internet connection." }),
|
|
8978
|
+
connection.retryCount !== void 0 && connection.retryCount > 0 && /* @__PURE__ */ jsxs("p", { className: "text-muted-foreground mt-1 text-xs", children: [
|
|
8979
8979
|
"Retry attempt #",
|
|
8980
8980
|
connection.retryCount,
|
|
8981
8981
|
retryTimeFormatted && ` \u2022 Retrying ${retryTimeFormatted}`
|
|
@@ -8987,7 +8987,7 @@ function ConnectionStatusOverlay({
|
|
|
8987
8987
|
type: "button",
|
|
8988
8988
|
"data-slot": "connection-overlay-action",
|
|
8989
8989
|
onClick: onReload || (() => window.location.reload()),
|
|
8990
|
-
className: "bg-primary-
|
|
8990
|
+
className: "bg-primary-800 hover:bg-primary-900 inline-flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium text-white transition-colors",
|
|
8991
8991
|
children: [
|
|
8992
8992
|
/* @__PURE__ */ jsx(ReloadIcon, { className: "h-4 w-4" }),
|
|
8993
8993
|
"Reload"
|
|
@@ -9034,13 +9034,13 @@ function UpdateAvailableOverlay({
|
|
|
9034
9034
|
) : /* @__PURE__ */ jsx(UpdateIcon, { className: "text-primary-700 dark:text-primary-400 h-12 w-12 animate-pulse" }) }),
|
|
9035
9035
|
/* @__PURE__ */ jsxs("div", { "data-slot": "update-overlay-content", className: "flex-1", children: [
|
|
9036
9036
|
/* @__PURE__ */ jsx("p", { className: "font-semibold text-gray-900 dark:text-white", children: "Update Available" }),
|
|
9037
|
-
/* @__PURE__ */ jsxs("p", { className: "mt-1 text-sm
|
|
9037
|
+
/* @__PURE__ */ jsxs("p", { className: "text-muted-foreground mt-1 text-sm", children: [
|
|
9038
9038
|
"There is an update available for ",
|
|
9039
9039
|
appName,
|
|
9040
9040
|
".",
|
|
9041
9041
|
update.version && ` Version ${update.version}`
|
|
9042
9042
|
] }),
|
|
9043
|
-
update.description && /* @__PURE__ */ jsx("p", { className: "mt-1 text-xs
|
|
9043
|
+
update.description && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: update.description })
|
|
9044
9044
|
] }),
|
|
9045
9045
|
/* @__PURE__ */ jsxs("div", { className: "flex shrink-0 gap-2", children: [
|
|
9046
9046
|
onLater && /* @__PURE__ */ jsx(
|
|
@@ -9527,9 +9527,9 @@ function HoverMenu({
|
|
|
9527
9527
|
className: "max-h-[240px] overflow-y-auto",
|
|
9528
9528
|
children: /* @__PURE__ */ jsxs("table", { className: "w-full text-left text-xs", children: [
|
|
9529
9529
|
/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { className: "border-b border-neutral-100 dark:border-neutral-700", children: [
|
|
9530
|
-
/* @__PURE__ */ jsx("th", { className: "px-3 py-1.5 font-medium
|
|
9531
|
-
/* @__PURE__ */ jsx("th", { className: "px-3 py-1.5 font-medium
|
|
9532
|
-
/* @__PURE__ */ jsx("th", { className: "px-3 py-1.5 font-medium
|
|
9530
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-3 py-1.5 font-medium", children: "#" }),
|
|
9531
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-3 py-1.5 font-medium", children: "Label" }),
|
|
9532
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-3 py-1.5 font-medium", children: "Status" }),
|
|
9533
9533
|
/* @__PURE__ */ jsx("th", { className: "w-8 px-1 py-1.5", children: /* @__PURE__ */ jsx("span", { className: "sr-only", children: "Actions" }) })
|
|
9534
9534
|
] }) }),
|
|
9535
9535
|
/* @__PURE__ */ jsx("tbody", { children: items.map((item, index) => /* @__PURE__ */ jsxs(
|
|
@@ -9549,7 +9549,7 @@ function HoverMenu({
|
|
|
9549
9549
|
)
|
|
9550
9550
|
}
|
|
9551
9551
|
),
|
|
9552
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
9552
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: statusLabel[item.status] })
|
|
9553
9553
|
] }) }),
|
|
9554
9554
|
/* @__PURE__ */ jsx("td", { className: "px-1 py-1.5", children: actions.length > 0 && /* @__PURE__ */ jsx(RowActionMenu, { item, actions }) })
|
|
9555
9555
|
]
|
|
@@ -10250,7 +10250,7 @@ function CookieConsentBanner({
|
|
|
10250
10250
|
{
|
|
10251
10251
|
className: cn(
|
|
10252
10252
|
"text-xs",
|
|
10253
|
-
variant === "default" ? "text-
|
|
10253
|
+
variant === "default" ? "text-muted-foreground" : "text-white/80"
|
|
10254
10254
|
),
|
|
10255
10255
|
children: [
|
|
10256
10256
|
"By using ",
|
|
@@ -10295,7 +10295,7 @@ function CookieConsentBanner({
|
|
|
10295
10295
|
"data-slot": "cookie-consent-btn",
|
|
10296
10296
|
className: cn(
|
|
10297
10297
|
"rounded-lg px-4 py-2 text-sm font-medium transition-colors",
|
|
10298
|
-
variant === "default" ? "text-
|
|
10298
|
+
variant === "default" ? "text-muted-foreground hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-700 dark:hover:text-gray-200" : "text-white/80 hover:bg-white/10 hover:text-white"
|
|
10299
10299
|
),
|
|
10300
10300
|
children: customizeText
|
|
10301
10301
|
}
|
|
@@ -10308,7 +10308,7 @@ function CookieConsentBanner({
|
|
|
10308
10308
|
"data-slot": "cookie-consent-btn",
|
|
10309
10309
|
className: cn(
|
|
10310
10310
|
"rounded-lg px-4 py-2 text-sm font-medium transition-colors",
|
|
10311
|
-
variant === "default" ? "text-
|
|
10311
|
+
variant === "default" ? "text-muted-foreground hover:bg-gray-100 hover:text-gray-800 dark:hover:bg-gray-700 dark:hover:text-gray-200" : "text-white/80 hover:bg-white/10 hover:text-white"
|
|
10312
10312
|
),
|
|
10313
10313
|
children: declineText
|
|
10314
10314
|
}
|
|
@@ -10321,7 +10321,7 @@ function CookieConsentBanner({
|
|
|
10321
10321
|
"data-slot": "cookie-consent-btn",
|
|
10322
10322
|
className: cn(
|
|
10323
10323
|
"inline-flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium transition-colors",
|
|
10324
|
-
variant === "default" ? "bg-primary-
|
|
10324
|
+
variant === "default" ? "bg-primary-800 hover:bg-primary-900 text-white" : "bg-white text-gray-900 hover:bg-gray-100"
|
|
10325
10325
|
),
|
|
10326
10326
|
children: [
|
|
10327
10327
|
acceptText,
|
|
@@ -10452,7 +10452,7 @@ function CSVColumnMapper({
|
|
|
10452
10452
|
"data-slot": "csv-mapper-progress",
|
|
10453
10453
|
className: "bg-card text-card-foreground w-full max-w-lg rounded-lg shadow-xl",
|
|
10454
10454
|
children: [
|
|
10455
|
-
/* @__PURE__ */ jsx("div", { className: "bg-primary
|
|
10455
|
+
/* @__PURE__ */ jsx("div", { className: "bg-primary-800 p-4 text-white", children: /* @__PURE__ */ jsx("h4", { className: "text-lg font-semibold", children: "Processing Employees" }) }),
|
|
10456
10456
|
/* @__PURE__ */ jsxs("div", { className: "p-6", children: [
|
|
10457
10457
|
/* @__PURE__ */ jsx("div", { className: "bg-muted h-4 w-full overflow-hidden rounded-full", children: /* @__PURE__ */ jsx(
|
|
10458
10458
|
"div",
|
|
@@ -10830,7 +10830,7 @@ function CSVFileUpload({
|
|
|
10830
10830
|
{
|
|
10831
10831
|
type: "button",
|
|
10832
10832
|
onClick: () => inputRef.current?.click(),
|
|
10833
|
-
className: "bg-primary
|
|
10833
|
+
className: "bg-primary-800 hover:bg-primary-900 rounded-lg px-6 py-3 text-white",
|
|
10834
10834
|
children: selectButton
|
|
10835
10835
|
}
|
|
10836
10836
|
)
|
|
@@ -11784,7 +11784,7 @@ function DateRangePicker({
|
|
|
11784
11784
|
className: cn(
|
|
11785
11785
|
"rounded-md px-3 py-1.5 text-left text-sm transition-colors",
|
|
11786
11786
|
"hover:bg-muted",
|
|
11787
|
-
activePreset === preset.key && "bg-primary text-
|
|
11787
|
+
activePreset === preset.key && "bg-primary-800 text-white"
|
|
11788
11788
|
),
|
|
11789
11789
|
children: preset.label
|
|
11790
11790
|
},
|
|
@@ -12085,7 +12085,7 @@ function DropZone({
|
|
|
12085
12085
|
"bg-primary-500/10 rounded-xl",
|
|
12086
12086
|
"pointer-events-none"
|
|
12087
12087
|
),
|
|
12088
|
-
children: /* @__PURE__ */ jsx("span", { className: "text-primary-
|
|
12088
|
+
children: /* @__PURE__ */ jsx("span", { className: "text-primary-800 dark:text-primary-400 text-lg font-medium", children: "Drop files here" })
|
|
12089
12089
|
}
|
|
12090
12090
|
)
|
|
12091
12091
|
]
|
|
@@ -13436,7 +13436,7 @@ function DocumentScanner({
|
|
|
13436
13436
|
{
|
|
13437
13437
|
className: "bg-primary-100 dark:bg-primary-900/30 flex h-14 w-14 items-center justify-center rounded-full",
|
|
13438
13438
|
"data-slot": "doc-scanner-upload-icon",
|
|
13439
|
-
children: /* @__PURE__ */ jsx(Upload$1, { className: "text-primary-
|
|
13439
|
+
children: /* @__PURE__ */ jsx(Upload$1, { className: "text-primary-800 dark:text-primary-400 h-7 w-7" })
|
|
13440
13440
|
}
|
|
13441
13441
|
),
|
|
13442
13442
|
/* @__PURE__ */ jsxs("div", { className: "space-y-1", children: [
|
|
@@ -13911,7 +13911,7 @@ function ClaimProviderForm({
|
|
|
13911
13911
|
"span",
|
|
13912
13912
|
{
|
|
13913
13913
|
"data-slot": "claim-form-terms-text",
|
|
13914
|
-
className: "text-
|
|
13914
|
+
className: "text-muted-foreground text-sm",
|
|
13915
13915
|
children: [
|
|
13916
13916
|
"I agree to the",
|
|
13917
13917
|
" ",
|
|
@@ -15283,7 +15283,7 @@ function EmployeeForm({
|
|
|
15283
15283
|
"button",
|
|
15284
15284
|
{
|
|
15285
15285
|
type: "submit",
|
|
15286
|
-
className: "bg-primary-
|
|
15286
|
+
className: "bg-primary-800 hover:bg-primary-900 rounded-md px-4 py-2 text-sm text-white",
|
|
15287
15287
|
"data-slot": "employee-form-submit",
|
|
15288
15288
|
children: mode === "order" ? startOrder : save
|
|
15289
15289
|
}
|
|
@@ -15395,7 +15395,7 @@ function EmployeeProfileCard({
|
|
|
15395
15395
|
{
|
|
15396
15396
|
type: "button",
|
|
15397
15397
|
onClick: () => fileInputRef.current?.click(),
|
|
15398
|
-
className: "bg-primary
|
|
15398
|
+
className: "bg-primary-800 hover:bg-primary-900 absolute right-0 bottom-0 rounded-full p-1.5 text-white shadow-md transition-colors",
|
|
15399
15399
|
"aria-label": "Edit photo",
|
|
15400
15400
|
"data-slot": "employee-card-photo-edit",
|
|
15401
15401
|
children: /* @__PURE__ */ jsx(Edit2, { className: "h-3 w-3" })
|
|
@@ -15602,7 +15602,7 @@ function OrderSidebarTabs({
|
|
|
15602
15602
|
className: cn(
|
|
15603
15603
|
"px-4 py-2 text-sm font-medium transition-colors",
|
|
15604
15604
|
"focus-visible:ring-ring focus:outline-none focus-visible:ring-2",
|
|
15605
|
-
activeTab === tab.id ? "bg-primary text-
|
|
15605
|
+
activeTab === tab.id ? "bg-primary-800 text-white" : "text-muted-foreground hover:text-foreground hover:bg-muted"
|
|
15606
15606
|
),
|
|
15607
15607
|
children: tab.label
|
|
15608
15608
|
},
|
|
@@ -15732,7 +15732,7 @@ function EmployerContactCard({
|
|
|
15732
15732
|
/* @__PURE__ */ jsx(
|
|
15733
15733
|
"svg",
|
|
15734
15734
|
{
|
|
15735
|
-
className: "mx-auto mb-2 h-10 w-10
|
|
15735
|
+
className: "text-muted-foreground dark:text-muted-foreground mx-auto mb-2 h-10 w-10",
|
|
15736
15736
|
fill: "none",
|
|
15737
15737
|
stroke: "currentColor",
|
|
15738
15738
|
viewBox: "0 0 24 24",
|
|
@@ -15747,7 +15747,7 @@ function EmployerContactCard({
|
|
|
15747
15747
|
)
|
|
15748
15748
|
}
|
|
15749
15749
|
),
|
|
15750
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
15750
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "No contacts added yet" }),
|
|
15751
15751
|
showActions && onAddContact && /* @__PURE__ */ jsx(
|
|
15752
15752
|
Button,
|
|
15753
15753
|
{
|
|
@@ -15779,7 +15779,7 @@ function EmployerContactCard({
|
|
|
15779
15779
|
/* @__PURE__ */ jsx("p", { className: "truncate font-medium text-gray-900 dark:text-white", children: contact.name }),
|
|
15780
15780
|
contact.isPrimary && /* @__PURE__ */ jsx("span", { className: "rounded bg-blue-100 px-1.5 py-0.5 text-xs text-blue-700 dark:bg-blue-900/30 dark:text-blue-400", children: "Primary" })
|
|
15781
15781
|
] }),
|
|
15782
|
-
contact.role && /* @__PURE__ */ jsx("p", { className: "
|
|
15782
|
+
contact.role && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground truncate text-xs", children: contact.role })
|
|
15783
15783
|
]
|
|
15784
15784
|
}
|
|
15785
15785
|
),
|
|
@@ -15796,7 +15796,7 @@ function EmployerContactCard({
|
|
|
15796
15796
|
e.stopPropagation();
|
|
15797
15797
|
onEmail(contact);
|
|
15798
15798
|
},
|
|
15799
|
-
className: "rounded p-1.5 text-gray-400
|
|
15799
|
+
className: "hover:text-muted-foreground rounded p-1.5 text-gray-400 dark:hover:text-gray-300",
|
|
15800
15800
|
title: `Email ${contact.name}`,
|
|
15801
15801
|
children: /* @__PURE__ */ jsx(
|
|
15802
15802
|
"svg",
|
|
@@ -15825,7 +15825,7 @@ function EmployerContactCard({
|
|
|
15825
15825
|
e.stopPropagation();
|
|
15826
15826
|
onCall(contact);
|
|
15827
15827
|
},
|
|
15828
|
-
className: "rounded p-1.5 text-gray-400
|
|
15828
|
+
className: "hover:text-muted-foreground rounded p-1.5 text-gray-400 dark:hover:text-gray-300",
|
|
15829
15829
|
title: `Call ${contact.name}`,
|
|
15830
15830
|
children: /* @__PURE__ */ jsx(
|
|
15831
15831
|
"svg",
|
|
@@ -15969,7 +15969,7 @@ function EmployerList({
|
|
|
15969
15969
|
/* @__PURE__ */ jsx(
|
|
15970
15970
|
"svg",
|
|
15971
15971
|
{
|
|
15972
|
-
className: "mx-auto mb-3 h-12 w-12
|
|
15972
|
+
className: "text-muted-foreground dark:text-muted-foreground mx-auto mb-3 h-12 w-12",
|
|
15973
15973
|
fill: "none",
|
|
15974
15974
|
stroke: "currentColor",
|
|
15975
15975
|
viewBox: "0 0 24 24",
|
|
@@ -15984,7 +15984,7 @@ function EmployerList({
|
|
|
15984
15984
|
)
|
|
15985
15985
|
}
|
|
15986
15986
|
),
|
|
15987
|
-
/* @__PURE__ */ jsx("p", { className: "
|
|
15987
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mb-3", children: emptyMessage }),
|
|
15988
15988
|
onAddEmployer && !searchQuery && /* @__PURE__ */ jsx(Button, { variant: "outline", onClick: onAddEmployer, children: "Link Employer" })
|
|
15989
15989
|
]
|
|
15990
15990
|
}
|
|
@@ -16030,8 +16030,8 @@ function EmployerList({
|
|
|
16030
16030
|
/* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(employer.status), children: employer.status })
|
|
16031
16031
|
] }),
|
|
16032
16032
|
/* @__PURE__ */ jsxs("div", { className: "mt-0.5 flex items-center gap-4", children: [
|
|
16033
|
-
employer.email && /* @__PURE__ */ jsx("span", { className: "
|
|
16034
|
-
employer.linkedDate && /* @__PURE__ */ jsxs("span", { className: "text-
|
|
16033
|
+
employer.email && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground truncate text-sm", children: employer.email }),
|
|
16034
|
+
employer.linkedDate && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground text-xs", children: [
|
|
16035
16035
|
"Linked ",
|
|
16036
16036
|
formatDate4(employer.linkedDate)
|
|
16037
16037
|
] })
|
|
@@ -16047,7 +16047,7 @@ function EmployerList({
|
|
|
16047
16047
|
children: [
|
|
16048
16048
|
employer.activeEmployees !== void 0 && /* @__PURE__ */ jsxs("div", { children: [
|
|
16049
16049
|
/* @__PURE__ */ jsx("p", { className: "text-lg font-bold text-gray-900 dark:text-white", children: employer.activeEmployees }),
|
|
16050
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
16050
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "Employees" })
|
|
16051
16051
|
] }),
|
|
16052
16052
|
employer.pendingOrders !== void 0 && /* @__PURE__ */ jsxs("div", { children: [
|
|
16053
16053
|
/* @__PURE__ */ jsx(
|
|
@@ -16057,7 +16057,7 @@ function EmployerList({
|
|
|
16057
16057
|
children: employer.pendingOrders
|
|
16058
16058
|
}
|
|
16059
16059
|
),
|
|
16060
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
16060
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "Pending" })
|
|
16061
16061
|
] })
|
|
16062
16062
|
]
|
|
16063
16063
|
}
|
|
@@ -16130,14 +16130,14 @@ function EmployerPricingCard({
|
|
|
16130
16130
|
] }),
|
|
16131
16131
|
/* @__PURE__ */ jsxs("div", { "data-slot": "employer-pricing-base-price", className: "text-right", children: [
|
|
16132
16132
|
/* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: formatPrice(basePrice) }),
|
|
16133
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
16133
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "base price" })
|
|
16134
16134
|
] })
|
|
16135
16135
|
]
|
|
16136
16136
|
}
|
|
16137
16137
|
),
|
|
16138
16138
|
/* @__PURE__ */ jsxs(CardContent, { className: "pt-0", children: [
|
|
16139
16139
|
tiers.length > 0 && /* @__PURE__ */ jsxs("div", { "data-slot": "employer-pricing-tiers", className: "mt-3 space-y-2", children: [
|
|
16140
|
-
/* @__PURE__ */ jsx("p", { className: "text-xs font-medium tracking-wide
|
|
16140
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Volume Pricing" }),
|
|
16141
16141
|
/* @__PURE__ */ jsx("div", { className: "space-y-1", children: tiers.map((tier) => /* @__PURE__ */ jsxs(
|
|
16142
16142
|
"div",
|
|
16143
16143
|
{
|
|
@@ -16145,7 +16145,7 @@ function EmployerPricingCard({
|
|
|
16145
16145
|
className: "flex items-center justify-between rounded bg-gray-50 px-2 py-1.5 dark:bg-gray-800/50",
|
|
16146
16146
|
children: [
|
|
16147
16147
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
16148
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
16148
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm", children: tier.name }),
|
|
16149
16149
|
/* @__PURE__ */ jsxs("span", { className: "text-xs text-gray-400", children: [
|
|
16150
16150
|
"(",
|
|
16151
16151
|
formatQuantityRange(tier),
|
|
@@ -16291,7 +16291,7 @@ function EmployerView({
|
|
|
16291
16291
|
{
|
|
16292
16292
|
"data-slot": "employer-view-logo",
|
|
16293
16293
|
className: "flex h-16 w-16 items-center justify-center rounded-lg bg-gray-100 dark:bg-gray-800",
|
|
16294
|
-
children: /* @__PURE__ */ jsx("span", { className: "text-
|
|
16294
|
+
children: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-2xl font-bold", children: employer.name.charAt(0) })
|
|
16295
16295
|
}
|
|
16296
16296
|
),
|
|
16297
16297
|
/* @__PURE__ */ jsxs("div", { "data-slot": "employer-view-info", children: [
|
|
@@ -16299,11 +16299,11 @@ function EmployerView({
|
|
|
16299
16299
|
/* @__PURE__ */ jsx("h1", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: employer.name }),
|
|
16300
16300
|
/* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(employer.status), children: employer.status })
|
|
16301
16301
|
] }),
|
|
16302
|
-
/* @__PURE__ */ jsxs("p", { className: "text-
|
|
16302
|
+
/* @__PURE__ */ jsxs("p", { className: "text-muted-foreground text-sm", children: [
|
|
16303
16303
|
"Linked since ",
|
|
16304
16304
|
formatDate4(employer.linkedDate)
|
|
16305
16305
|
] }),
|
|
16306
|
-
employer.address && /* @__PURE__ */ jsxs("p", { className: "text-
|
|
16306
|
+
employer.address && /* @__PURE__ */ jsxs("p", { className: "text-muted-foreground text-sm", children: [
|
|
16307
16307
|
employer.address.city,
|
|
16308
16308
|
", ",
|
|
16309
16309
|
employer.address.state
|
|
@@ -16328,23 +16328,23 @@ function EmployerView({
|
|
|
16328
16328
|
children: [
|
|
16329
16329
|
/* @__PURE__ */ jsxs("div", { className: "text-center", children: [
|
|
16330
16330
|
/* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: employer.stats.totalOrders }),
|
|
16331
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
16331
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Total Orders" })
|
|
16332
16332
|
] }),
|
|
16333
16333
|
/* @__PURE__ */ jsxs("div", { className: "text-center", children: [
|
|
16334
16334
|
/* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-green-600 dark:text-green-400", children: employer.stats.completedOrders }),
|
|
16335
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
16335
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Completed" })
|
|
16336
16336
|
] }),
|
|
16337
16337
|
/* @__PURE__ */ jsxs("div", { className: "text-center", children: [
|
|
16338
16338
|
/* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-yellow-600 dark:text-yellow-400", children: employer.stats.pendingOrders }),
|
|
16339
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
16339
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Pending" })
|
|
16340
16340
|
] }),
|
|
16341
16341
|
/* @__PURE__ */ jsxs("div", { className: "text-center", children: [
|
|
16342
16342
|
/* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: formatCurrency3(employer.stats.totalRevenue) }),
|
|
16343
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
16343
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Total Revenue" })
|
|
16344
16344
|
] }),
|
|
16345
16345
|
/* @__PURE__ */ jsxs("div", { className: "text-center", children: [
|
|
16346
16346
|
/* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-orange-600 dark:text-orange-400", children: formatCurrency3(employer.stats.outstandingBalance) }),
|
|
16347
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
16347
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Outstanding" })
|
|
16348
16348
|
] })
|
|
16349
16349
|
]
|
|
16350
16350
|
}
|
|
@@ -16382,8 +16382,8 @@ function EmployerView({
|
|
|
16382
16382
|
/* @__PURE__ */ jsx(Avatar, { name: primary.name, size: "md" }),
|
|
16383
16383
|
/* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
|
|
16384
16384
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: primary.name }),
|
|
16385
|
-
primary.role && /* @__PURE__ */ jsx("p", { className: "text-
|
|
16386
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
16385
|
+
primary.role && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: primary.role }),
|
|
16386
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: primary.email })
|
|
16387
16387
|
] }),
|
|
16388
16388
|
onContact && /* @__PURE__ */ jsx(
|
|
16389
16389
|
Button,
|
|
@@ -16403,7 +16403,7 @@ function EmployerView({
|
|
|
16403
16403
|
/* @__PURE__ */ jsx(CardTitle, { className: "text-lg", children: "Recent Orders" }),
|
|
16404
16404
|
onCreateOrder && /* @__PURE__ */ jsx(Button, { size: "sm", onClick: onCreateOrder, children: "New Order" })
|
|
16405
16405
|
] }),
|
|
16406
|
-
/* @__PURE__ */ jsx(CardContent, { children: employer.recentOrders.length === 0 ? /* @__PURE__ */ jsx("p", { className: "py-8 text-center
|
|
16406
|
+
/* @__PURE__ */ jsx(CardContent, { children: employer.recentOrders.length === 0 ? /* @__PURE__ */ jsx("p", { className: "text-muted-foreground py-8 text-center", children: "No orders yet" }) : /* @__PURE__ */ jsx("div", { className: "space-y-3", children: employer.recentOrders.map((order) => /* @__PURE__ */ jsxs(
|
|
16407
16407
|
"div",
|
|
16408
16408
|
{
|
|
16409
16409
|
"data-slot": "employer-view-order-row",
|
|
@@ -16411,12 +16411,12 @@ function EmployerView({
|
|
|
16411
16411
|
children: [
|
|
16412
16412
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
16413
16413
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: order.orderNumber }),
|
|
16414
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
16415
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
16414
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: order.patientName }),
|
|
16415
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: order.services.join(", ") })
|
|
16416
16416
|
] }),
|
|
16417
16417
|
/* @__PURE__ */ jsxs("div", { className: "text-right", children: [
|
|
16418
16418
|
/* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(order.status), children: order.status }),
|
|
16419
|
-
/* @__PURE__ */ jsx("p", { className: "mt-1 text-xs
|
|
16419
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: formatDate4(order.createdDate) })
|
|
16420
16420
|
] }),
|
|
16421
16421
|
onViewOrder && /* @__PURE__ */ jsx(
|
|
16422
16422
|
Button,
|
|
@@ -16437,7 +16437,7 @@ function EmployerView({
|
|
|
16437
16437
|
/* @__PURE__ */ jsx(CardTitle, { className: "text-lg", children: "Recent Invoices" }),
|
|
16438
16438
|
onCreateInvoice && /* @__PURE__ */ jsx(Button, { size: "sm", onClick: onCreateInvoice, children: "New Invoice" })
|
|
16439
16439
|
] }),
|
|
16440
|
-
/* @__PURE__ */ jsx(CardContent, { children: employer.recentInvoices.length === 0 ? /* @__PURE__ */ jsx("p", { className: "py-8 text-center
|
|
16440
|
+
/* @__PURE__ */ jsx(CardContent, { children: employer.recentInvoices.length === 0 ? /* @__PURE__ */ jsx("p", { className: "text-muted-foreground py-8 text-center", children: "No invoices yet" }) : /* @__PURE__ */ jsx("div", { className: "space-y-3", children: employer.recentInvoices.map((invoice) => /* @__PURE__ */ jsxs(
|
|
16441
16441
|
"div",
|
|
16442
16442
|
{
|
|
16443
16443
|
"data-slot": "employer-view-invoice-row",
|
|
@@ -16445,7 +16445,7 @@ function EmployerView({
|
|
|
16445
16445
|
children: [
|
|
16446
16446
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
16447
16447
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: invoice.invoiceNumber }),
|
|
16448
|
-
/* @__PURE__ */ jsxs("p", { className: "text-
|
|
16448
|
+
/* @__PURE__ */ jsxs("p", { className: "text-muted-foreground text-sm", children: [
|
|
16449
16449
|
"Due: ",
|
|
16450
16450
|
formatDate4(invoice.dueDate)
|
|
16451
16451
|
] })
|
|
@@ -16470,7 +16470,7 @@ function EmployerView({
|
|
|
16470
16470
|
] }) }),
|
|
16471
16471
|
/* @__PURE__ */ jsx(TabsContent, { value: "contacts", children: /* @__PURE__ */ jsxs(Card, { "data-slot": "employer-view-contacts-card", children: [
|
|
16472
16472
|
/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsx(CardTitle, { className: "text-lg", children: "All Contacts" }) }),
|
|
16473
|
-
/* @__PURE__ */ jsx(CardContent, { children: employer.contacts.length === 0 ? /* @__PURE__ */ jsx("p", { className: "py-8 text-center
|
|
16473
|
+
/* @__PURE__ */ jsx(CardContent, { children: employer.contacts.length === 0 ? /* @__PURE__ */ jsx("p", { className: "text-muted-foreground py-8 text-center", children: "No contacts added" }) : /* @__PURE__ */ jsx("div", { className: "space-y-4", children: employer.contacts.map((contact) => /* @__PURE__ */ jsxs(
|
|
16474
16474
|
"div",
|
|
16475
16475
|
{
|
|
16476
16476
|
"data-slot": "employer-view-contact-row",
|
|
@@ -16483,9 +16483,9 @@ function EmployerView({
|
|
|
16483
16483
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: contact.name }),
|
|
16484
16484
|
contact.isPrimary && /* @__PURE__ */ jsx(Badge, { variant: "default", children: "Primary" })
|
|
16485
16485
|
] }),
|
|
16486
|
-
contact.role && /* @__PURE__ */ jsx("p", { className: "text-
|
|
16487
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
16488
|
-
contact.phone && /* @__PURE__ */ jsx("p", { className: "text-
|
|
16486
|
+
contact.role && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: contact.role }),
|
|
16487
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: contact.email }),
|
|
16488
|
+
contact.phone && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: contact.phone })
|
|
16489
16489
|
] })
|
|
16490
16490
|
] }),
|
|
16491
16491
|
onContact && /* @__PURE__ */ jsx(
|
|
@@ -16930,7 +16930,7 @@ function ErrorPage({
|
|
|
16930
16930
|
displayCode && /* @__PURE__ */ jsx(
|
|
16931
16931
|
"div",
|
|
16932
16932
|
{
|
|
16933
|
-
className: "mb-4 text-6xl font-bold text-gray-300 sm:text-8xl
|
|
16933
|
+
className: "dark:text-muted-foreground mb-4 text-6xl font-bold text-gray-300 sm:text-8xl",
|
|
16934
16934
|
"data-slot": "error-page-code",
|
|
16935
16935
|
children: displayCode
|
|
16936
16936
|
}
|
|
@@ -16946,7 +16946,7 @@ function ErrorPage({
|
|
|
16946
16946
|
/* @__PURE__ */ jsx(
|
|
16947
16947
|
"p",
|
|
16948
16948
|
{
|
|
16949
|
-
className: "mb-8 max-w-md
|
|
16949
|
+
className: "text-muted-foreground mb-8 max-w-md",
|
|
16950
16950
|
"data-slot": "error-page-description",
|
|
16951
16951
|
children: displayDescription
|
|
16952
16952
|
}
|
|
@@ -17020,7 +17020,7 @@ function ServerErrorPage({
|
|
|
17020
17020
|
/* @__PURE__ */ jsx("summary", { className: "cursor-pointer text-sm font-medium text-gray-700 dark:text-gray-300", children: "Error Details" }),
|
|
17021
17021
|
/* @__PURE__ */ jsxs("div", { className: "mt-3 space-y-2", children: [
|
|
17022
17022
|
/* @__PURE__ */ jsx("p", { className: "font-mono text-sm text-red-600 dark:text-red-400", children: errorMessage }),
|
|
17023
|
-
errorStack && /* @__PURE__ */ jsx("pre", { className: "overflow-x-auto rounded bg-gray-50 p-2 text-xs
|
|
17023
|
+
errorStack && /* @__PURE__ */ jsx("pre", { className: "text-muted-foreground overflow-x-auto rounded bg-gray-50 p-2 text-xs dark:bg-gray-900", children: errorStack })
|
|
17024
17024
|
] })
|
|
17025
17025
|
] })
|
|
17026
17026
|
}
|
|
@@ -17064,7 +17064,7 @@ function MaintenancePage({
|
|
|
17064
17064
|
href: statusUrl,
|
|
17065
17065
|
target: "_blank",
|
|
17066
17066
|
rel: "noopener noreferrer",
|
|
17067
|
-
className: "text-primary-
|
|
17067
|
+
className: "text-primary-800 hover:text-primary-900 text-sm font-medium",
|
|
17068
17068
|
children: "Check Status Page \u2192"
|
|
17069
17069
|
}
|
|
17070
17070
|
),
|
|
@@ -17115,7 +17115,7 @@ function ActionButton({ label, onClick, href, variant }) {
|
|
|
17115
17115
|
);
|
|
17116
17116
|
}
|
|
17117
17117
|
function DefaultIllustration({ type }) {
|
|
17118
|
-
const iconClasses = "h-24 w-24 text-gray-300 dark:text-
|
|
17118
|
+
const iconClasses = "h-24 w-24 text-gray-300 dark:text-muted-foreground";
|
|
17119
17119
|
switch (type) {
|
|
17120
17120
|
case "404":
|
|
17121
17121
|
return /* @__PURE__ */ jsx(Search404Icon, { className: iconClasses });
|
|
@@ -17456,8 +17456,8 @@ function FileManager({
|
|
|
17456
17456
|
)
|
|
17457
17457
|
}
|
|
17458
17458
|
),
|
|
17459
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
17460
|
-
/* @__PURE__ */ jsx("p", { className: "mt-1 text-xs
|
|
17459
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm font-medium", children: isDragging ? "Drop files here" : "Add File" }),
|
|
17460
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: "Click or drag and drop" }),
|
|
17461
17461
|
/* @__PURE__ */ jsx(
|
|
17462
17462
|
"input",
|
|
17463
17463
|
{
|
|
@@ -17475,7 +17475,7 @@ function FileManager({
|
|
|
17475
17475
|
}
|
|
17476
17476
|
),
|
|
17477
17477
|
isUploading && uploadProgress !== void 0 && /* @__PURE__ */ jsxs("div", { "data-slot": "file-manager-progress", className: "mb-4", children: [
|
|
17478
|
-
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between text-sm
|
|
17478
|
+
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground mb-2 flex items-center justify-between text-sm", children: [
|
|
17479
17479
|
/* @__PURE__ */ jsx("span", { children: "Uploading..." }),
|
|
17480
17480
|
/* @__PURE__ */ jsxs("span", { children: [
|
|
17481
17481
|
uploadProgress,
|
|
@@ -17497,11 +17497,11 @@ function FileManager({
|
|
|
17497
17497
|
{
|
|
17498
17498
|
"data-slot": "file-manager-storage",
|
|
17499
17499
|
className: "mb-4 rounded-lg bg-gray-50 p-3 text-center dark:bg-gray-800",
|
|
17500
|
-
children: /* @__PURE__ */ jsxs("p", { className: "text-
|
|
17500
|
+
children: /* @__PURE__ */ jsxs("p", { className: "text-muted-foreground text-sm", children: [
|
|
17501
17501
|
"Used Storage:",
|
|
17502
17502
|
" ",
|
|
17503
17503
|
/* @__PURE__ */ jsx("span", { className: "font-semibold text-gray-900 dark:text-white", children: formatFileSize4(totalStorageUsed) }),
|
|
17504
|
-
storageLimit && /* @__PURE__ */ jsxs("span", { className: "text-
|
|
17504
|
+
storageLimit && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground", children: [
|
|
17505
17505
|
" ",
|
|
17506
17506
|
"/ ",
|
|
17507
17507
|
formatFileSize4(storageLimit)
|
|
@@ -17521,8 +17521,8 @@ function FileManager({
|
|
|
17521
17521
|
getFileIcon(file.fileExtension),
|
|
17522
17522
|
/* @__PURE__ */ jsx("span", { className: "max-w-xs truncate text-sm text-gray-900 dark:text-white", children: file.filename })
|
|
17523
17523
|
] }) }),
|
|
17524
|
-
/* @__PURE__ */ jsx(TableCell, { className: "text-center", children: /* @__PURE__ */ jsx("span", { className: "text-
|
|
17525
|
-
/* @__PURE__ */ jsx(TableCell, { className: "text-center", children: /* @__PURE__ */ jsx("span", { className: "text-
|
|
17524
|
+
/* @__PURE__ */ jsx(TableCell, { className: "text-center", children: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs uppercase", children: file.fileExtension.replace(".", "") }) }),
|
|
17525
|
+
/* @__PURE__ */ jsx(TableCell, { className: "text-center", children: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm", children: formatFileSize4(file.fileSize) }) }),
|
|
17526
17526
|
hasActions && /* @__PURE__ */ jsx(
|
|
17527
17527
|
TableCell,
|
|
17528
17528
|
{
|
|
@@ -17544,7 +17544,7 @@ function FileManager({
|
|
|
17544
17544
|
/* @__PURE__ */ jsx(
|
|
17545
17545
|
"svg",
|
|
17546
17546
|
{
|
|
17547
|
-
className: "mx-auto mb-3 h-12 w-12 text-gray-300
|
|
17547
|
+
className: "dark:text-muted-foreground mx-auto mb-3 h-12 w-12 text-gray-300",
|
|
17548
17548
|
fill: "none",
|
|
17549
17549
|
viewBox: "0 0 24 24",
|
|
17550
17550
|
stroke: "currentColor",
|
|
@@ -17559,8 +17559,8 @@ function FileManager({
|
|
|
17559
17559
|
)
|
|
17560
17560
|
}
|
|
17561
17561
|
),
|
|
17562
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
17563
|
-
/* @__PURE__ */ jsx("p", { className: "mt-1 text-xs
|
|
17562
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm font-medium", children: "No Files" }),
|
|
17563
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: "Upload files to get started" })
|
|
17564
17564
|
] }) }) }) })
|
|
17565
17565
|
] }) })
|
|
17566
17566
|
] });
|
|
@@ -17804,7 +17804,7 @@ function HelpSupportPanel({
|
|
|
17804
17804
|
children: [
|
|
17805
17805
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
17806
17806
|
/* @__PURE__ */ jsx("h1", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: "Help & Support" }),
|
|
17807
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
17807
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Find answers or get in touch with our support team" })
|
|
17808
17808
|
] }),
|
|
17809
17809
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
17810
17810
|
docsUrl && /* @__PURE__ */ jsxs(
|
|
@@ -17873,7 +17873,7 @@ function HelpSupportPanel({
|
|
|
17873
17873
|
onChange: (e) => setSearchTerm(e.target.value)
|
|
17874
17874
|
}
|
|
17875
17875
|
),
|
|
17876
|
-
filteredFaqs.length === 0 ? /* @__PURE__ */ jsx("p", { className: "py-4 text-center
|
|
17876
|
+
filteredFaqs.length === 0 ? /* @__PURE__ */ jsx("p", { className: "text-muted-foreground py-4 text-center", children: "No FAQs match your search" }) : /* @__PURE__ */ jsx("div", { className: "space-y-2", children: filteredFaqs.map((faq) => /* @__PURE__ */ jsxs(
|
|
17877
17877
|
"div",
|
|
17878
17878
|
{
|
|
17879
17879
|
"data-slot": "help-support-faq-item",
|
|
@@ -17909,7 +17909,7 @@ function HelpSupportPanel({
|
|
|
17909
17909
|
]
|
|
17910
17910
|
}
|
|
17911
17911
|
),
|
|
17912
|
-
expandedFaq === faq.id && /* @__PURE__ */ jsx("div", { className: "border-t border-gray-200 bg-gray-50 px-4 py-3 dark:border-gray-700 dark:bg-gray-800", children: /* @__PURE__ */ jsx("p", { className: "text-
|
|
17912
|
+
expandedFaq === faq.id && /* @__PURE__ */ jsx("div", { className: "border-t border-gray-200 bg-gray-50 px-4 py-3 dark:border-gray-700 dark:bg-gray-800", children: /* @__PURE__ */ jsx("p", { className: "text-muted-foreground", children: faq.answer }) })
|
|
17913
17913
|
]
|
|
17914
17914
|
},
|
|
17915
17915
|
faq.id
|
|
@@ -18013,7 +18013,7 @@ function HelpSupportPanel({
|
|
|
18013
18013
|
"data-slot": "help-support-contact-item",
|
|
18014
18014
|
className: "flex items-start gap-3 rounded-lg bg-gray-50 p-3 dark:bg-gray-800",
|
|
18015
18015
|
children: [
|
|
18016
|
-
/* @__PURE__ */ jsx("div", { className: "text-
|
|
18016
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground", children: getContactIcon(contact.type) }),
|
|
18017
18017
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
18018
18018
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: contact.label }),
|
|
18019
18019
|
contact.type === "email" ? /* @__PURE__ */ jsx(
|
|
@@ -18030,8 +18030,8 @@ function HelpSupportPanel({
|
|
|
18030
18030
|
className: "text-sm text-blue-600 hover:underline dark:text-blue-400",
|
|
18031
18031
|
children: contact.value
|
|
18032
18032
|
}
|
|
18033
|
-
) : /* @__PURE__ */ jsx("p", { className: "text-
|
|
18034
|
-
contact.availability && /* @__PURE__ */ jsx("p", { className: "mt-1 text-xs
|
|
18033
|
+
) : /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: contact.value }),
|
|
18034
|
+
contact.availability && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: contact.availability })
|
|
18035
18035
|
] })
|
|
18036
18036
|
]
|
|
18037
18037
|
},
|
|
@@ -18294,7 +18294,7 @@ function HRISProviderSelector({
|
|
|
18294
18294
|
{
|
|
18295
18295
|
type: "button",
|
|
18296
18296
|
onClick: onRefreshSync,
|
|
18297
|
-
className: "bg-primary hover:bg-primary
|
|
18297
|
+
className: "bg-primary-800 hover:bg-primary-900 rounded-lg px-4 py-2 text-white",
|
|
18298
18298
|
"data-slot": "hris-connected-btn-primary",
|
|
18299
18299
|
children: [
|
|
18300
18300
|
/* @__PURE__ */ jsx("i", { className: "fas fa-rotate mr-2" }),
|
|
@@ -18643,7 +18643,7 @@ function InventoryManager({
|
|
|
18643
18643
|
{
|
|
18644
18644
|
type: "button",
|
|
18645
18645
|
onClick: () => setUpdateType("debit"),
|
|
18646
|
-
className: `rounded-l-md border px-4 py-2 text-sm font-medium transition-colors ${updateType === "debit" ? "border-primary bg-primary text-
|
|
18646
|
+
className: `rounded-l-md border px-4 py-2 text-sm font-medium transition-colors ${updateType === "debit" ? "border-primary bg-primary-800 text-white" : "border-input bg-card text-foreground hover:bg-muted"} `,
|
|
18647
18647
|
children: [
|
|
18648
18648
|
/* @__PURE__ */ jsx(
|
|
18649
18649
|
"svg",
|
|
@@ -18672,7 +18672,7 @@ function InventoryManager({
|
|
|
18672
18672
|
{
|
|
18673
18673
|
type: "button",
|
|
18674
18674
|
onClick: () => setUpdateType("credit"),
|
|
18675
|
-
className: `rounded-r-md border-t border-r border-b px-4 py-2 text-sm font-medium transition-colors ${updateType === "credit" ? "border-primary bg-primary text-
|
|
18675
|
+
className: `rounded-r-md border-t border-r border-b px-4 py-2 text-sm font-medium transition-colors ${updateType === "credit" ? "border-primary bg-primary-800 text-white" : "border-input bg-card text-foreground hover:bg-muted"} `,
|
|
18676
18676
|
children: [
|
|
18677
18677
|
/* @__PURE__ */ jsx(
|
|
18678
18678
|
"svg",
|
|
@@ -19129,7 +19129,7 @@ function InvoiceList({
|
|
|
19129
19129
|
"button",
|
|
19130
19130
|
{
|
|
19131
19131
|
onClick: () => onFilterStatus?.(option.value),
|
|
19132
|
-
className: `px-3 py-2 text-sm font-medium transition-colors ${statusFilter === option.value ? "bg-blue-50 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400" : "text-
|
|
19132
|
+
className: `px-3 py-2 text-sm font-medium transition-colors ${statusFilter === option.value ? "bg-blue-50 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400" : "text-muted-foreground hover:bg-gray-50 dark:hover:bg-gray-800"} `,
|
|
19133
19133
|
children: option.label
|
|
19134
19134
|
},
|
|
19135
19135
|
option.value
|
|
@@ -19168,7 +19168,7 @@ function InvoiceList({
|
|
|
19168
19168
|
"data-slot": "invoice-list-summary-item",
|
|
19169
19169
|
className: "rounded-lg bg-gray-50 p-3 dark:bg-gray-800",
|
|
19170
19170
|
children: [
|
|
19171
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
19171
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "Total" }),
|
|
19172
19172
|
/* @__PURE__ */ jsx("p", { className: "text-lg font-bold text-gray-900 dark:text-white", children: formatCurrency3(totals.total) })
|
|
19173
19173
|
]
|
|
19174
19174
|
}
|
|
@@ -19205,7 +19205,7 @@ function InvoiceList({
|
|
|
19205
19205
|
/* @__PURE__ */ jsx(
|
|
19206
19206
|
"svg",
|
|
19207
19207
|
{
|
|
19208
|
-
className: "mx-auto mb-3 h-12 w-12
|
|
19208
|
+
className: "text-muted-foreground dark:text-muted-foreground mx-auto mb-3 h-12 w-12",
|
|
19209
19209
|
fill: "none",
|
|
19210
19210
|
stroke: "currentColor",
|
|
19211
19211
|
viewBox: "0 0 24 24",
|
|
@@ -19220,7 +19220,7 @@ function InvoiceList({
|
|
|
19220
19220
|
)
|
|
19221
19221
|
}
|
|
19222
19222
|
),
|
|
19223
|
-
/* @__PURE__ */ jsx("p", { className: "
|
|
19223
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mb-3", children: searchQuery || statusFilter !== "all" ? "No invoices match your filters" : "No invoices yet" }),
|
|
19224
19224
|
onCreateInvoice && !searchQuery && statusFilter === "all" && /* @__PURE__ */ jsx(Button, { variant: "outline", onClick: onCreateInvoice, children: "Create Invoice" })
|
|
19225
19225
|
]
|
|
19226
19226
|
}
|
|
@@ -19231,12 +19231,12 @@ function InvoiceList({
|
|
|
19231
19231
|
className: "overflow-hidden rounded-lg border border-gray-200 dark:border-gray-700",
|
|
19232
19232
|
children: /* @__PURE__ */ jsxs("table", { className: "w-full", children: [
|
|
19233
19233
|
/* @__PURE__ */ jsx("thead", { className: "bg-gray-50 dark:bg-gray-800", children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
19234
|
-
/* @__PURE__ */ jsx("th", { className: "px-4 py-3 text-left text-xs font-medium tracking-wider
|
|
19235
|
-
/* @__PURE__ */ jsx("th", { className: "hidden px-4 py-3 text-left text-xs font-medium tracking-wider
|
|
19236
|
-
/* @__PURE__ */ jsx("th", { className: "hidden px-4 py-3 text-left text-xs font-medium tracking-wider
|
|
19237
|
-
/* @__PURE__ */ jsx("th", { className: "hidden px-4 py-3 text-left text-xs font-medium tracking-wider
|
|
19238
|
-
/* @__PURE__ */ jsx("th", { className: "px-4 py-3 text-right text-xs font-medium tracking-wider
|
|
19239
|
-
/* @__PURE__ */ jsx("th", { className: "px-4 py-3 text-center text-xs font-medium tracking-wider
|
|
19234
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-left text-xs font-medium tracking-wider uppercase", children: "Invoice" }),
|
|
19235
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-left text-xs font-medium tracking-wider uppercase sm:table-cell", children: "Employer" }),
|
|
19236
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-left text-xs font-medium tracking-wider uppercase md:table-cell", children: "Issued" }),
|
|
19237
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-left text-xs font-medium tracking-wider uppercase md:table-cell", children: "Due" }),
|
|
19238
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-right text-xs font-medium tracking-wider uppercase", children: "Amount" }),
|
|
19239
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-center text-xs font-medium tracking-wider uppercase", children: "Status" })
|
|
19240
19240
|
] }) }),
|
|
19241
19241
|
/* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: filteredInvoices.map((invoice) => /* @__PURE__ */ jsxs(
|
|
19242
19242
|
"tr",
|
|
@@ -19247,14 +19247,14 @@ function InvoiceList({
|
|
|
19247
19247
|
children: [
|
|
19248
19248
|
/* @__PURE__ */ jsxs("td", { className: "px-4 py-3", children: [
|
|
19249
19249
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: invoice.invoiceNumber }),
|
|
19250
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
19250
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs sm:hidden", children: invoice.employerName })
|
|
19251
19251
|
] }),
|
|
19252
19252
|
/* @__PURE__ */ jsx("td", { className: "hidden px-4 py-3 sm:table-cell", children: /* @__PURE__ */ jsx("p", { className: "text-sm text-gray-700 dark:text-gray-300", children: invoice.employerName }) }),
|
|
19253
|
-
/* @__PURE__ */ jsx("td", { className: "hidden px-4 py-3 md:table-cell", children: /* @__PURE__ */ jsx("p", { className: "text-
|
|
19253
|
+
/* @__PURE__ */ jsx("td", { className: "hidden px-4 py-3 md:table-cell", children: /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: formatDate4(invoice.issuedDate) }) }),
|
|
19254
19254
|
/* @__PURE__ */ jsx("td", { className: "hidden px-4 py-3 md:table-cell", children: /* @__PURE__ */ jsx(
|
|
19255
19255
|
"p",
|
|
19256
19256
|
{
|
|
19257
|
-
className: `text-sm ${invoice.status === "overdue" ? "font-medium text-red-600 dark:text-red-400" : "text-
|
|
19257
|
+
className: `text-sm ${invoice.status === "overdue" ? "font-medium text-red-600 dark:text-red-400" : "text-muted-foreground"}`,
|
|
19258
19258
|
children: formatDate4(invoice.dueDate)
|
|
19259
19259
|
}
|
|
19260
19260
|
) }),
|
|
@@ -19352,7 +19352,7 @@ function InvoicePaymentPage({
|
|
|
19352
19352
|
/* @__PURE__ */ jsx(
|
|
19353
19353
|
"svg",
|
|
19354
19354
|
{
|
|
19355
|
-
className: "mx-auto mb-4 h-16 w-16
|
|
19355
|
+
className: "text-muted-foreground dark:text-muted-foreground mx-auto mb-4 h-16 w-16",
|
|
19356
19356
|
fill: "none",
|
|
19357
19357
|
stroke: "currentColor",
|
|
19358
19358
|
viewBox: "0 0 24 24",
|
|
@@ -19368,7 +19368,7 @@ function InvoicePaymentPage({
|
|
|
19368
19368
|
}
|
|
19369
19369
|
),
|
|
19370
19370
|
/* @__PURE__ */ jsx("h2", { className: "mb-2 text-xl font-semibold text-gray-900 dark:text-white", children: "Invoice Not Found" }),
|
|
19371
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
19371
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground", children: "The invoice you're looking for doesn't exist or has expired." })
|
|
19372
19372
|
] })
|
|
19373
19373
|
}
|
|
19374
19374
|
)
|
|
@@ -19413,8 +19413,8 @@ function InvoicePaymentPage({
|
|
|
19413
19413
|
}
|
|
19414
19414
|
),
|
|
19415
19415
|
/* @__PURE__ */ jsx("h2", { className: "mb-2 text-xl font-semibold text-gray-900 dark:text-white", children: "Payment Successful" }),
|
|
19416
|
-
/* @__PURE__ */ jsx("p", { className: "
|
|
19417
|
-
/* @__PURE__ */ jsxs("p", { className: "text-
|
|
19416
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mb-4", children: successMessage || "Thank you! Your payment has been processed successfully." }),
|
|
19417
|
+
/* @__PURE__ */ jsxs("p", { className: "text-muted-foreground text-sm", children: [
|
|
19418
19418
|
"Invoice ",
|
|
19419
19419
|
invoice.invoiceNumber
|
|
19420
19420
|
] })
|
|
@@ -19460,7 +19460,7 @@ function InvoicePaymentPage({
|
|
|
19460
19460
|
/* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(invoice.status), children: invoice.status })
|
|
19461
19461
|
] }) }),
|
|
19462
19462
|
/* @__PURE__ */ jsxs(CardContent, { className: "space-y-4", children: [
|
|
19463
|
-
/* @__PURE__ */ jsxs("div", { className: "space-y-1 text-sm
|
|
19463
|
+
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground space-y-1 text-sm", children: [
|
|
19464
19464
|
/* @__PURE__ */ jsxs("p", { children: [
|
|
19465
19465
|
"Issued: ",
|
|
19466
19466
|
formatDate4(invoice.issuedDate)
|
|
@@ -19486,7 +19486,7 @@ function InvoicePaymentPage({
|
|
|
19486
19486
|
"data-slot": "invoice-payment-line-items",
|
|
19487
19487
|
className: "border-t border-gray-200 pt-4 dark:border-gray-700",
|
|
19488
19488
|
children: /* @__PURE__ */ jsxs("table", { className: "w-full text-sm", children: [
|
|
19489
|
-
/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { className: "text-
|
|
19489
|
+
/* @__PURE__ */ jsx("thead", { children: /* @__PURE__ */ jsxs("tr", { className: "text-muted-foreground", children: [
|
|
19490
19490
|
/* @__PURE__ */ jsx("th", { className: "pb-2 text-left font-medium", children: "Item" }),
|
|
19491
19491
|
/* @__PURE__ */ jsx("th", { className: "pb-2 text-right font-medium", children: "Amount" })
|
|
19492
19492
|
] }) }),
|
|
@@ -19504,11 +19504,11 @@ function InvoicePaymentPage({
|
|
|
19504
19504
|
className: "space-y-2 border-t border-gray-200 pt-4 dark:border-gray-700",
|
|
19505
19505
|
children: [
|
|
19506
19506
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-between text-sm", children: [
|
|
19507
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
19507
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Subtotal" }),
|
|
19508
19508
|
/* @__PURE__ */ jsx("span", { children: formatCurrency3(invoice.subtotal) })
|
|
19509
19509
|
] }),
|
|
19510
19510
|
invoice.tax !== void 0 && /* @__PURE__ */ jsxs("div", { className: "flex justify-between text-sm", children: [
|
|
19511
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
19511
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Tax" }),
|
|
19512
19512
|
/* @__PURE__ */ jsx("span", { children: formatCurrency3(invoice.tax) })
|
|
19513
19513
|
] }),
|
|
19514
19514
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-between text-lg font-bold", children: [
|
|
@@ -19542,7 +19542,7 @@ function InvoicePaymentPage({
|
|
|
19542
19542
|
{
|
|
19543
19543
|
type: "button",
|
|
19544
19544
|
onClick: () => setPaymentMethod("card"),
|
|
19545
|
-
className: `flex-1 px-4 py-2 text-sm font-medium transition-colors ${paymentMethod === "card" ? "bg-blue-50 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400" : "text-
|
|
19545
|
+
className: `flex-1 px-4 py-2 text-sm font-medium transition-colors ${paymentMethod === "card" ? "bg-blue-50 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400" : "text-muted-foreground hover:bg-gray-50 dark:hover:bg-gray-800"} `,
|
|
19546
19546
|
children: "Credit Card"
|
|
19547
19547
|
}
|
|
19548
19548
|
),
|
|
@@ -19551,7 +19551,7 @@ function InvoicePaymentPage({
|
|
|
19551
19551
|
{
|
|
19552
19552
|
type: "button",
|
|
19553
19553
|
onClick: () => setPaymentMethod("ach"),
|
|
19554
|
-
className: `flex-1 px-4 py-2 text-sm font-medium transition-colors ${paymentMethod === "ach" ? "bg-blue-50 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400" : "text-
|
|
19554
|
+
className: `flex-1 px-4 py-2 text-sm font-medium transition-colors ${paymentMethod === "ach" ? "bg-blue-50 text-blue-600 dark:bg-blue-900/30 dark:text-blue-400" : "text-muted-foreground hover:bg-gray-50 dark:hover:bg-gray-800"} `,
|
|
19555
19555
|
children: "Bank Transfer"
|
|
19556
19556
|
}
|
|
19557
19557
|
)
|
|
@@ -19681,7 +19681,7 @@ function InvoicePaymentPage({
|
|
|
19681
19681
|
] }) : `Pay ${formatCurrency3(invoice.total)}`
|
|
19682
19682
|
}
|
|
19683
19683
|
),
|
|
19684
|
-
showStripeBranding && /* @__PURE__ */ jsx("p", { className: "text-
|
|
19684
|
+
showStripeBranding && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-center text-xs", children: "Secured by Stripe" })
|
|
19685
19685
|
] }) })
|
|
19686
19686
|
] }) })
|
|
19687
19687
|
]
|
|
@@ -19764,7 +19764,7 @@ function InvoiceView({
|
|
|
19764
19764
|
/* @__PURE__ */ jsx("h1", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: invoice.invoiceNumber }),
|
|
19765
19765
|
/* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(invoice.status), children: invoice.status })
|
|
19766
19766
|
] }),
|
|
19767
|
-
/* @__PURE__ */ jsxs("p", { className: "text-
|
|
19767
|
+
/* @__PURE__ */ jsxs("p", { className: "text-muted-foreground text-sm", children: [
|
|
19768
19768
|
"Issued ",
|
|
19769
19769
|
formatDate4(invoice.issuedDate)
|
|
19770
19770
|
] })
|
|
@@ -19917,9 +19917,9 @@ function InvoiceView({
|
|
|
19917
19917
|
className: "mb-2 h-12 object-contain"
|
|
19918
19918
|
}
|
|
19919
19919
|
) : /* @__PURE__ */ jsx("h2", { className: "mb-2 text-xl font-bold text-gray-900 dark:text-white", children: invoice.providerName }),
|
|
19920
|
-
invoice.providerAddress && /* @__PURE__ */ jsx("p", { className: "text-sm whitespace-pre-line
|
|
19921
|
-
invoice.providerPhone && /* @__PURE__ */ jsx("p", { className: "text-
|
|
19922
|
-
invoice.providerEmail && /* @__PURE__ */ jsx("p", { className: "text-
|
|
19920
|
+
invoice.providerAddress && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm whitespace-pre-line", children: invoice.providerAddress }),
|
|
19921
|
+
invoice.providerPhone && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: invoice.providerPhone }),
|
|
19922
|
+
invoice.providerEmail && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: invoice.providerEmail })
|
|
19923
19923
|
] }),
|
|
19924
19924
|
/* @__PURE__ */ jsxs(
|
|
19925
19925
|
"div",
|
|
@@ -19929,7 +19929,7 @@ function InvoiceView({
|
|
|
19929
19929
|
children: [
|
|
19930
19930
|
/* @__PURE__ */ jsx("h3", { className: "text-lg font-semibold text-gray-900 dark:text-white", children: "INVOICE" }),
|
|
19931
19931
|
/* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: invoice.invoiceNumber }),
|
|
19932
|
-
/* @__PURE__ */ jsxs("div", { className: "mt-2 space-y-1 text-sm
|
|
19932
|
+
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground mt-2 space-y-1 text-sm", children: [
|
|
19933
19933
|
/* @__PURE__ */ jsxs("p", { children: [
|
|
19934
19934
|
/* @__PURE__ */ jsx("span", { className: "font-medium", children: "Issue Date:" }),
|
|
19935
19935
|
" ",
|
|
@@ -19953,10 +19953,10 @@ function InvoiceView({
|
|
|
19953
19953
|
}
|
|
19954
19954
|
),
|
|
19955
19955
|
/* @__PURE__ */ jsxs("div", { "data-slot": "invoice-view-bill-to", className: "mb-8", children: [
|
|
19956
|
-
/* @__PURE__ */ jsx("p", { className: "mb-1 text-xs font-semibold
|
|
19956
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mb-1 text-xs font-semibold uppercase", children: "Bill To" }),
|
|
19957
19957
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: invoice.employerName }),
|
|
19958
|
-
invoice.employerAddress && /* @__PURE__ */ jsx("p", { className: "text-sm whitespace-pre-line
|
|
19959
|
-
invoice.employerEmail && /* @__PURE__ */ jsx("p", { className: "text-
|
|
19958
|
+
invoice.employerAddress && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm whitespace-pre-line", children: invoice.employerAddress }),
|
|
19959
|
+
invoice.employerEmail && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: invoice.employerEmail })
|
|
19960
19960
|
] }),
|
|
19961
19961
|
/* @__PURE__ */ jsx(
|
|
19962
19962
|
"div",
|
|
@@ -19965,15 +19965,15 @@ function InvoiceView({
|
|
|
19965
19965
|
className: "mb-6 overflow-hidden rounded-lg border border-gray-200 dark:border-gray-700",
|
|
19966
19966
|
children: /* @__PURE__ */ jsxs("table", { className: "w-full", children: [
|
|
19967
19967
|
/* @__PURE__ */ jsx("thead", { className: "bg-gray-50 dark:bg-gray-800", children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
19968
|
-
/* @__PURE__ */ jsx("th", { className: "px-4 py-3 text-left text-xs font-medium
|
|
19969
|
-
/* @__PURE__ */ jsx("th", { className: "hidden px-4 py-3 text-center text-xs font-medium
|
|
19970
|
-
/* @__PURE__ */ jsx("th", { className: "hidden px-4 py-3 text-right text-xs font-medium
|
|
19971
|
-
/* @__PURE__ */ jsx("th", { className: "px-4 py-3 text-right text-xs font-medium
|
|
19968
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-left text-xs font-medium uppercase", children: "Description" }),
|
|
19969
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-center text-xs font-medium uppercase sm:table-cell", children: "Qty" }),
|
|
19970
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-right text-xs font-medium uppercase sm:table-cell", children: "Unit Price" }),
|
|
19971
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-right text-xs font-medium uppercase", children: "Total" })
|
|
19972
19972
|
] }) }),
|
|
19973
19973
|
/* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: invoice.lineItems.map((item) => /* @__PURE__ */ jsxs("tr", { className: "bg-white dark:bg-gray-900", children: [
|
|
19974
19974
|
/* @__PURE__ */ jsxs("td", { className: "px-4 py-3", children: [
|
|
19975
19975
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: item.description }),
|
|
19976
|
-
item.employeeName && /* @__PURE__ */ jsxs("p", { className: "text-
|
|
19976
|
+
item.employeeName && /* @__PURE__ */ jsxs("p", { className: "text-muted-foreground text-xs", children: [
|
|
19977
19977
|
item.employeeName,
|
|
19978
19978
|
item.date && ` \u2022 ${formatDate4(item.date)}`
|
|
19979
19979
|
] })
|
|
@@ -19987,11 +19987,11 @@ function InvoiceView({
|
|
|
19987
19987
|
),
|
|
19988
19988
|
/* @__PURE__ */ jsx("div", { "data-slot": "invoice-view-totals", className: "flex justify-end", children: /* @__PURE__ */ jsxs("div", { className: "w-full space-y-2 sm:w-64", children: [
|
|
19989
19989
|
/* @__PURE__ */ jsxs("div", { className: "flex justify-between text-sm", children: [
|
|
19990
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
19990
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Subtotal" }),
|
|
19991
19991
|
/* @__PURE__ */ jsx("span", { className: "text-gray-900 dark:text-white", children: formatCurrency3(invoice.subtotal) })
|
|
19992
19992
|
] }),
|
|
19993
19993
|
invoice.tax !== void 0 && /* @__PURE__ */ jsxs("div", { className: "flex justify-between text-sm", children: [
|
|
19994
|
-
/* @__PURE__ */ jsxs("span", { className: "text-
|
|
19994
|
+
/* @__PURE__ */ jsxs("span", { className: "text-muted-foreground", children: [
|
|
19995
19995
|
"Tax ",
|
|
19996
19996
|
invoice.taxRate && `(${invoice.taxRate}%)`
|
|
19997
19997
|
] }),
|
|
@@ -20009,11 +20009,11 @@ function InvoiceView({
|
|
|
20009
20009
|
className: "mt-8 space-y-4 border-t border-gray-200 pt-6 dark:border-gray-700",
|
|
20010
20010
|
children: [
|
|
20011
20011
|
invoice.paymentTerms && /* @__PURE__ */ jsxs("div", { children: [
|
|
20012
|
-
/* @__PURE__ */ jsx("p", { className: "mb-1 text-xs font-semibold
|
|
20012
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mb-1 text-xs font-semibold uppercase", children: "Payment Terms" }),
|
|
20013
20013
|
/* @__PURE__ */ jsx("p", { className: "text-sm text-gray-700 dark:text-gray-300", children: invoice.paymentTerms })
|
|
20014
20014
|
] }),
|
|
20015
20015
|
invoice.notes && /* @__PURE__ */ jsxs("div", { children: [
|
|
20016
|
-
/* @__PURE__ */ jsx("p", { className: "mb-1 text-xs font-semibold
|
|
20016
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mb-1 text-xs font-semibold uppercase", children: "Notes" }),
|
|
20017
20017
|
/* @__PURE__ */ jsx("p", { className: "text-sm whitespace-pre-line text-gray-700 dark:text-gray-300", children: invoice.notes })
|
|
20018
20018
|
] })
|
|
20019
20019
|
]
|
|
@@ -20064,8 +20064,8 @@ var buttonVariants2 = cva(
|
|
|
20064
20064
|
},
|
|
20065
20065
|
variant: {
|
|
20066
20066
|
default: "border-gray-300 bg-white text-gray-700 hover:bg-gray-50 dark:border-gray-600 dark:bg-gray-800 dark:text-gray-200 dark:hover:bg-gray-700",
|
|
20067
|
-
ghost: "border-transparent bg-transparent text-
|
|
20068
|
-
minimal: "border-transparent bg-transparent text-
|
|
20067
|
+
ghost: "border-transparent bg-transparent text-muted-foreground hover:bg-gray-100 dark:hover:bg-gray-800",
|
|
20068
|
+
minimal: "border-transparent bg-transparent text-muted-foreground hover:text-gray-700 dark:hover:text-gray-200"
|
|
20069
20069
|
}
|
|
20070
20070
|
},
|
|
20071
20071
|
defaultVariants: {
|
|
@@ -20179,7 +20179,7 @@ function LanguageSelector({
|
|
|
20179
20179
|
children: [
|
|
20180
20180
|
showFlags && language.flag && /* @__PURE__ */ jsx("span", { className: "text-base", children: language.flag }),
|
|
20181
20181
|
/* @__PURE__ */ jsx("span", { className: "flex-1", children: language.name }),
|
|
20182
|
-
language.code === value && /* @__PURE__ */ jsx(CheckIcon2, { className: "text-primary-
|
|
20182
|
+
language.code === value && /* @__PURE__ */ jsx(CheckIcon2, { className: "text-primary-800 dark:text-primary-400 h-4 w-4" })
|
|
20183
20183
|
]
|
|
20184
20184
|
},
|
|
20185
20185
|
language.code
|
|
@@ -20266,7 +20266,7 @@ function LanguageSelectorInline({
|
|
|
20266
20266
|
index === 0 && "rounded-l-lg",
|
|
20267
20267
|
index === languages.length - 1 && "rounded-r-lg",
|
|
20268
20268
|
index > 0 && "border-l border-gray-200 dark:border-gray-700",
|
|
20269
|
-
language.code === value ? "bg-primary-
|
|
20269
|
+
language.code === value ? "bg-primary-800 text-white" : "bg-white text-gray-700 hover:bg-gray-50 dark:bg-gray-800 dark:text-gray-300 dark:hover:bg-gray-700"
|
|
20270
20270
|
),
|
|
20271
20271
|
children: [
|
|
20272
20272
|
showFlags && language.flag && /* @__PURE__ */ jsx("span", { className: "mr-1", children: language.flag }),
|
|
@@ -20329,7 +20329,7 @@ function LoadingDots({
|
|
|
20329
20329
|
lg: "h-3 w-3"
|
|
20330
20330
|
}[size];
|
|
20331
20331
|
const dotColor = {
|
|
20332
|
-
primary: "bg-primary-
|
|
20332
|
+
primary: "bg-primary-800",
|
|
20333
20333
|
secondary: "bg-gray-400",
|
|
20334
20334
|
white: "bg-white",
|
|
20335
20335
|
current: "bg-current"
|
|
@@ -20363,7 +20363,7 @@ function LoadingBar({
|
|
|
20363
20363
|
}) {
|
|
20364
20364
|
const isIndeterminate = progress === void 0;
|
|
20365
20365
|
const barColor = {
|
|
20366
|
-
primary: "bg-primary-
|
|
20366
|
+
primary: "bg-primary-800",
|
|
20367
20367
|
success: "bg-green-600",
|
|
20368
20368
|
warning: "bg-yellow-500",
|
|
20369
20369
|
error: "bg-red-600"
|
|
@@ -20401,7 +20401,7 @@ function LoadingBar({
|
|
|
20401
20401
|
showPercentage && !isIndeterminate && /* @__PURE__ */ jsxs(
|
|
20402
20402
|
"p",
|
|
20403
20403
|
{
|
|
20404
|
-
className: "mt-1 text-right text-sm
|
|
20404
|
+
className: "text-muted-foreground mt-1 text-right text-sm",
|
|
20405
20405
|
"data-slot": "loading-bar-percentage",
|
|
20406
20406
|
children: [
|
|
20407
20407
|
Math.round(progress),
|
|
@@ -20444,7 +20444,7 @@ function LoadingPage({
|
|
|
20444
20444
|
subMessage && /* @__PURE__ */ jsx(
|
|
20445
20445
|
"p",
|
|
20446
20446
|
{
|
|
20447
|
-
className: "text-
|
|
20447
|
+
className: "text-muted-foreground text-sm",
|
|
20448
20448
|
"data-slot": "loading-page-submessage",
|
|
20449
20449
|
children: subMessage
|
|
20450
20450
|
}
|
|
@@ -20567,8 +20567,8 @@ function CardSkeleton({
|
|
|
20567
20567
|
function PulseIndicator() {
|
|
20568
20568
|
return /* @__PURE__ */ jsxs("div", { className: "relative h-16 w-16", "data-slot": "pulse-indicator", children: [
|
|
20569
20569
|
/* @__PURE__ */ jsx("div", { className: "bg-primary-200 dark:bg-primary-800 absolute inset-0 animate-ping rounded-full opacity-75" }),
|
|
20570
|
-
/* @__PURE__ */ jsx("div", { className: "bg-primary-400 dark:bg-primary-
|
|
20571
|
-
/* @__PURE__ */ jsx("div", { className: "bg-primary-
|
|
20570
|
+
/* @__PURE__ */ jsx("div", { className: "bg-primary-400 dark:bg-primary-800 absolute inset-2 animate-pulse rounded-full" }),
|
|
20571
|
+
/* @__PURE__ */ jsx("div", { className: "bg-primary-800 dark:bg-primary-400 absolute inset-4 rounded-full" })
|
|
20572
20572
|
] });
|
|
20573
20573
|
}
|
|
20574
20574
|
var headerVariants = cva(
|
|
@@ -20737,7 +20737,7 @@ var ConversationHeader = React48.forwardRef(
|
|
|
20737
20737
|
{
|
|
20738
20738
|
className: cn(
|
|
20739
20739
|
"truncate text-sm",
|
|
20740
|
-
isOnline ? "text-green-600 dark:text-green-400" : "text-
|
|
20740
|
+
isOnline ? "text-green-600 dark:text-green-400" : "text-muted-foreground"
|
|
20741
20741
|
),
|
|
20742
20742
|
children: displaySubtitle
|
|
20743
20743
|
}
|
|
@@ -20851,7 +20851,7 @@ var ConversationListItem = React48.forwardRef(({ className, conversation, isSele
|
|
|
20851
20851
|
children: title
|
|
20852
20852
|
}
|
|
20853
20853
|
),
|
|
20854
|
-
lastMessage && /* @__PURE__ */ jsx("span", { className: "shrink-0 text-xs
|
|
20854
|
+
lastMessage && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground shrink-0 text-xs", children: formatTime4(lastMessage.timestamp) })
|
|
20855
20855
|
] }),
|
|
20856
20856
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between gap-2", children: [
|
|
20857
20857
|
/* @__PURE__ */ jsx(
|
|
@@ -20859,7 +20859,7 @@ var ConversationListItem = React48.forwardRef(({ className, conversation, isSele
|
|
|
20859
20859
|
{
|
|
20860
20860
|
className: cn(
|
|
20861
20861
|
"truncate text-sm",
|
|
20862
|
-
isUnread ? "text-neutral-700 dark:text-neutral-300" : "text-
|
|
20862
|
+
isUnread ? "text-neutral-700 dark:text-neutral-300" : "text-muted-foreground"
|
|
20863
20863
|
),
|
|
20864
20864
|
children: lastMessage?.content || "No messages yet"
|
|
20865
20865
|
}
|
|
@@ -20871,7 +20871,7 @@ var ConversationListItem = React48.forwardRef(({ className, conversation, isSele
|
|
|
20871
20871
|
className: cn(
|
|
20872
20872
|
"flex shrink-0 items-center justify-center",
|
|
20873
20873
|
"h-5 min-w-[20px] rounded-full px-1.5",
|
|
20874
|
-
"bg-primary-
|
|
20874
|
+
"bg-primary-800 text-xs font-medium text-white"
|
|
20875
20875
|
),
|
|
20876
20876
|
children: conversation.unreadCount > 99 ? "99+" : conversation.unreadCount
|
|
20877
20877
|
}
|
|
@@ -20884,7 +20884,7 @@ var ConversationListItem = React48.forwardRef(({ className, conversation, isSele
|
|
|
20884
20884
|
conversation.isPinned && /* @__PURE__ */ jsx(
|
|
20885
20885
|
"svg",
|
|
20886
20886
|
{
|
|
20887
|
-
className: "text-primary-
|
|
20887
|
+
className: "text-primary-800 h-4 w-4",
|
|
20888
20888
|
fill: "currentColor",
|
|
20889
20889
|
viewBox: "0 0 24 24",
|
|
20890
20890
|
children: /* @__PURE__ */ jsx("path", { d: "M16 4v8l2 2v2h-6v6l-1 1-1-1v-6H4v-2l2-2V4c0-1.1.9-2 2-2h6c1.1 0 2 .9 2 2z" })
|
|
@@ -21652,7 +21652,7 @@ function NotificationCenter({
|
|
|
21652
21652
|
case "alert":
|
|
21653
21653
|
return "text-yellow-500 bg-yellow-100 dark:bg-yellow-900/30";
|
|
21654
21654
|
default:
|
|
21655
|
-
return "text-
|
|
21655
|
+
return "text-muted-foreground bg-gray-100 dark:bg-gray-800";
|
|
21656
21656
|
}
|
|
21657
21657
|
};
|
|
21658
21658
|
const unreadCount = notifications.filter((n) => !n.isRead).length;
|
|
@@ -21699,7 +21699,7 @@ function NotificationCenter({
|
|
|
21699
21699
|
/* @__PURE__ */ jsx(
|
|
21700
21700
|
"svg",
|
|
21701
21701
|
{
|
|
21702
|
-
className: "mx-auto mb-3 h-12 w-12
|
|
21702
|
+
className: "text-muted-foreground dark:text-muted-foreground mx-auto mb-3 h-12 w-12",
|
|
21703
21703
|
fill: "none",
|
|
21704
21704
|
stroke: "currentColor",
|
|
21705
21705
|
viewBox: "0 0 24 24",
|
|
@@ -21714,7 +21714,7 @@ function NotificationCenter({
|
|
|
21714
21714
|
)
|
|
21715
21715
|
}
|
|
21716
21716
|
),
|
|
21717
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
21717
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground", children: emptyMessage })
|
|
21718
21718
|
]
|
|
21719
21719
|
}
|
|
21720
21720
|
) : /* @__PURE__ */ jsx(
|
|
@@ -21795,14 +21795,14 @@ function NotificationCenter({
|
|
|
21795
21795
|
}
|
|
21796
21796
|
)
|
|
21797
21797
|
] }),
|
|
21798
|
-
/* @__PURE__ */ jsx("p", { className: "mt-0.5 line-clamp-2 text-sm
|
|
21798
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-0.5 line-clamp-2 text-sm", children: notification.message }),
|
|
21799
21799
|
/* @__PURE__ */ jsxs(
|
|
21800
21800
|
"div",
|
|
21801
21801
|
{
|
|
21802
21802
|
"data-slot": "notification-center-meta",
|
|
21803
21803
|
className: "mt-2 flex items-center justify-between",
|
|
21804
21804
|
children: [
|
|
21805
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
21805
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs", children: formatTimestamp(notification.timestamp) }),
|
|
21806
21806
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
21807
21807
|
notification.actionLabel && /* @__PURE__ */ jsx(
|
|
21808
21808
|
Button,
|
|
@@ -22403,7 +22403,7 @@ function OrderCard({
|
|
|
22403
22403
|
{
|
|
22404
22404
|
type: "button",
|
|
22405
22405
|
onClick: handleAcceptClick,
|
|
22406
|
-
className: "bg-primary hover:bg-primary
|
|
22406
|
+
className: "bg-primary-800 hover:bg-primary-900 rounded-md px-3 py-1.5 text-sm font-medium text-white transition-colors",
|
|
22407
22407
|
children: "Accept"
|
|
22408
22408
|
}
|
|
22409
22409
|
)
|
|
@@ -22463,7 +22463,7 @@ function OrderConfirmationWizard({
|
|
|
22463
22463
|
"div",
|
|
22464
22464
|
{
|
|
22465
22465
|
"data-slot": "ocw-step-circle",
|
|
22466
|
-
className: `flex h-10 w-10 items-center justify-center rounded-full font-medium ${isComplete ? "bg-green-500 text-white" : isActive ? "bg-blue-500 text-white" : "
|
|
22466
|
+
className: `flex h-10 w-10 items-center justify-center rounded-full font-medium ${isComplete ? "bg-green-500 text-white" : isActive ? "bg-blue-500 text-white" : "text-muted-foreground bg-gray-200 dark:bg-gray-700"} `,
|
|
22467
22467
|
children: isComplete ? /* @__PURE__ */ jsx(
|
|
22468
22468
|
"svg",
|
|
22469
22469
|
{
|
|
@@ -22488,7 +22488,7 @@ function OrderConfirmationWizard({
|
|
|
22488
22488
|
"span",
|
|
22489
22489
|
{
|
|
22490
22490
|
"data-slot": "ocw-step-label",
|
|
22491
|
-
className: `mt-2 text-center text-xs font-medium ${isActive ? "text-blue-600 dark:text-blue-400" : "text-
|
|
22491
|
+
className: `mt-2 text-center text-xs font-medium ${isActive ? "text-blue-600 dark:text-blue-400" : "text-muted-foreground"} `,
|
|
22492
22492
|
children: title
|
|
22493
22493
|
}
|
|
22494
22494
|
)
|
|
@@ -22520,7 +22520,7 @@ function OrderConfirmationWizard({
|
|
|
22520
22520
|
/* @__PURE__ */ jsx(
|
|
22521
22521
|
"p",
|
|
22522
22522
|
{
|
|
22523
|
-
className: "text-
|
|
22523
|
+
className: "text-muted-foreground text-sm",
|
|
22524
22524
|
"data-slot": "ocw-summary-subtitle",
|
|
22525
22525
|
children: order.serviceName
|
|
22526
22526
|
}
|
|
@@ -22543,7 +22543,7 @@ function OrderConfirmationWizard({
|
|
|
22543
22543
|
/* @__PURE__ */ jsx(
|
|
22544
22544
|
"p",
|
|
22545
22545
|
{
|
|
22546
|
-
className: "text-
|
|
22546
|
+
className: "text-muted-foreground text-sm",
|
|
22547
22547
|
"data-slot": "ocw-step-desc",
|
|
22548
22548
|
children: "Please verify the following information matches the employee present."
|
|
22549
22549
|
}
|
|
@@ -22555,19 +22555,19 @@ function OrderConfirmationWizard({
|
|
|
22555
22555
|
"data-slot": "ocw-detail-grid",
|
|
22556
22556
|
children: [
|
|
22557
22557
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
22558
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
22558
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "Employee Name" }),
|
|
22559
22559
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: order.employeeName })
|
|
22560
22560
|
] }),
|
|
22561
22561
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
22562
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
22562
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "Date of Birth" }),
|
|
22563
22563
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: order.dateOfBirth || "N/A" })
|
|
22564
22564
|
] }),
|
|
22565
22565
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
22566
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
22566
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "Employer" }),
|
|
22567
22567
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: order.employerName })
|
|
22568
22568
|
] }),
|
|
22569
22569
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
22570
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
22570
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "Scheduled" }),
|
|
22571
22571
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: formatDate4(order.scheduledDate) })
|
|
22572
22572
|
] })
|
|
22573
22573
|
]
|
|
@@ -22636,7 +22636,7 @@ function OrderConfirmationWizard({
|
|
|
22636
22636
|
/* @__PURE__ */ jsx(
|
|
22637
22637
|
"p",
|
|
22638
22638
|
{
|
|
22639
|
-
className: "text-
|
|
22639
|
+
className: "text-muted-foreground text-sm",
|
|
22640
22640
|
"data-slot": "ocw-step-desc",
|
|
22641
22641
|
children: "Obtain consent and verify government-issued identification."
|
|
22642
22642
|
}
|
|
@@ -22670,7 +22670,7 @@ function OrderConfirmationWizard({
|
|
|
22670
22670
|
/* @__PURE__ */ jsx(
|
|
22671
22671
|
"p",
|
|
22672
22672
|
{
|
|
22673
|
-
className: "text-
|
|
22673
|
+
className: "text-muted-foreground text-sm",
|
|
22674
22674
|
"data-slot": "ocw-checkbox-card-desc",
|
|
22675
22675
|
children: "Employee has provided written or verbal consent for the requested services"
|
|
22676
22676
|
}
|
|
@@ -22707,7 +22707,7 @@ function OrderConfirmationWizard({
|
|
|
22707
22707
|
/* @__PURE__ */ jsx(
|
|
22708
22708
|
"p",
|
|
22709
22709
|
{
|
|
22710
|
-
className: "mb-2 text-sm
|
|
22710
|
+
className: "text-muted-foreground mb-2 text-sm",
|
|
22711
22711
|
"data-slot": "ocw-checkbox-card-desc",
|
|
22712
22712
|
children: "Government-issued photo ID matches employee information"
|
|
22713
22713
|
}
|
|
@@ -22738,7 +22738,7 @@ function OrderConfirmationWizard({
|
|
|
22738
22738
|
/* @__PURE__ */ jsx(
|
|
22739
22739
|
"p",
|
|
22740
22740
|
{
|
|
22741
|
-
className: "text-
|
|
22741
|
+
className: "text-muted-foreground text-sm",
|
|
22742
22742
|
"data-slot": "ocw-step-desc",
|
|
22743
22743
|
children: "Review the verification steps before proceeding."
|
|
22744
22744
|
}
|
|
@@ -23083,7 +23083,7 @@ function OrderList({
|
|
|
23083
23083
|
"data-slot": "order-list-tab",
|
|
23084
23084
|
className: cn(
|
|
23085
23085
|
"rounded-lg px-4 py-2 text-sm font-medium whitespace-nowrap transition-colors",
|
|
23086
|
-
activeTab === tab.id ? "bg-blue-100 text-blue-700 dark:bg-blue-900/50 dark:text-blue-300" : "text-
|
|
23086
|
+
activeTab === tab.id ? "bg-blue-100 text-blue-700 dark:bg-blue-900/50 dark:text-blue-300" : "text-muted-foreground hover:bg-gray-100 hover:text-gray-900 dark:hover:bg-gray-800 dark:hover:text-gray-200"
|
|
23087
23087
|
),
|
|
23088
23088
|
children: [
|
|
23089
23089
|
tab.label,
|
|
@@ -23093,7 +23093,7 @@ function OrderList({
|
|
|
23093
23093
|
"data-slot": "order-list-tab-count",
|
|
23094
23094
|
className: cn(
|
|
23095
23095
|
"ml-2 rounded-full px-2 py-0.5 text-xs",
|
|
23096
|
-
activeTab === tab.id ? "bg-blue-200 text-blue-800 dark:bg-blue-800 dark:text-blue-200" : "
|
|
23096
|
+
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"
|
|
23097
23097
|
),
|
|
23098
23098
|
children: count
|
|
23099
23099
|
}
|
|
@@ -23210,7 +23210,7 @@ function OrderList({
|
|
|
23210
23210
|
/* @__PURE__ */ jsx(
|
|
23211
23211
|
"p",
|
|
23212
23212
|
{
|
|
23213
|
-
className: "text-
|
|
23213
|
+
className: "text-muted-foreground",
|
|
23214
23214
|
"data-slot": "order-list-empty-message",
|
|
23215
23215
|
children: emptyMessage
|
|
23216
23216
|
}
|
|
@@ -23288,7 +23288,7 @@ function OrderLookupForm({
|
|
|
23288
23288
|
),
|
|
23289
23289
|
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-center bg-white p-8 md:w-1/2 dark:bg-gray-900", children: /* @__PURE__ */ jsxs("div", { className: "w-full max-w-md", children: [
|
|
23290
23290
|
/* @__PURE__ */ jsx("h2", { className: "mb-2 text-2xl font-bold text-gray-900 dark:text-white", children: "Order Lookup" }),
|
|
23291
|
-
/* @__PURE__ */ jsx("p", { className: "
|
|
23291
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mb-6", children: "Enter your order details to view your information." }),
|
|
23292
23292
|
/* @__PURE__ */ jsxs("form", { onSubmit: handleSubmit, className: "space-y-4", children: [
|
|
23293
23293
|
(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-600 dark:text-red-400", children: errorMessage || "Order not found. Please check your information and try again." }) }),
|
|
23294
23294
|
/* @__PURE__ */ jsx(
|
|
@@ -23370,7 +23370,7 @@ function OrderLookupForm({
|
|
|
23370
23370
|
}
|
|
23371
23371
|
)
|
|
23372
23372
|
] }),
|
|
23373
|
-
/* @__PURE__ */ jsxs("p", { className: "mt-6 text-center text-xs
|
|
23373
|
+
/* @__PURE__ */ jsxs("p", { className: "text-muted-foreground mt-6 text-center text-xs", children: [
|
|
23374
23374
|
"Need help?",
|
|
23375
23375
|
" ",
|
|
23376
23376
|
/* @__PURE__ */ jsx(
|
|
@@ -23431,7 +23431,7 @@ function OrderSidebar({
|
|
|
23431
23431
|
case "urgent":
|
|
23432
23432
|
return "text-orange-600 dark:text-orange-400";
|
|
23433
23433
|
default:
|
|
23434
|
-
return "text-
|
|
23434
|
+
return "text-muted-foreground";
|
|
23435
23435
|
}
|
|
23436
23436
|
};
|
|
23437
23437
|
if (!open) return null;
|
|
@@ -23462,7 +23462,7 @@ function OrderSidebar({
|
|
|
23462
23462
|
children: [
|
|
23463
23463
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
23464
23464
|
/* @__PURE__ */ jsx("h2", { className: "text-lg font-semibold text-gray-900 dark:text-white", children: "Order Details" }),
|
|
23465
|
-
orderId && /* @__PURE__ */ jsxs("p", { className: "text-
|
|
23465
|
+
orderId && /* @__PURE__ */ jsxs("p", { className: "text-muted-foreground text-sm", children: [
|
|
23466
23466
|
"#",
|
|
23467
23467
|
orderId
|
|
23468
23468
|
] })
|
|
@@ -23476,7 +23476,7 @@ function OrderSidebar({
|
|
|
23476
23476
|
children: /* @__PURE__ */ jsx(
|
|
23477
23477
|
"svg",
|
|
23478
23478
|
{
|
|
23479
|
-
className: "h-5 w-5
|
|
23479
|
+
className: "text-muted-foreground h-5 w-5",
|
|
23480
23480
|
fill: "none",
|
|
23481
23481
|
stroke: "currentColor",
|
|
23482
23482
|
viewBox: "0 0 24 24",
|
|
@@ -23521,15 +23521,15 @@ function OrderSidebar({
|
|
|
23521
23521
|
),
|
|
23522
23522
|
/* @__PURE__ */ jsxs("dl", { "data-slot": "order-sidebar-details", className: "space-y-4", children: [
|
|
23523
23523
|
patientName && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", children: [
|
|
23524
|
-
/* @__PURE__ */ jsx("dt", { className: "text-xs font-medium tracking-wide
|
|
23524
|
+
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Patient" }),
|
|
23525
23525
|
/* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: patientName })
|
|
23526
23526
|
] }),
|
|
23527
23527
|
employerName && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", children: [
|
|
23528
|
-
/* @__PURE__ */ jsx("dt", { className: "text-xs font-medium tracking-wide
|
|
23528
|
+
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Employer" }),
|
|
23529
23529
|
/* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: employerName })
|
|
23530
23530
|
] }),
|
|
23531
23531
|
serviceName && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", children: [
|
|
23532
|
-
/* @__PURE__ */ jsx("dt", { className: "text-xs font-medium tracking-wide
|
|
23532
|
+
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Service" }),
|
|
23533
23533
|
/* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: serviceName })
|
|
23534
23534
|
] }),
|
|
23535
23535
|
/* @__PURE__ */ jsxs(
|
|
@@ -23539,23 +23539,23 @@ function OrderSidebar({
|
|
|
23539
23539
|
className: "grid grid-cols-2 gap-4",
|
|
23540
23540
|
children: [
|
|
23541
23541
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
23542
|
-
/* @__PURE__ */ jsx("dt", { className: "text-xs font-medium tracking-wide
|
|
23542
|
+
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Created" }),
|
|
23543
23543
|
/* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: formatDate4(createdAt) })
|
|
23544
23544
|
] }),
|
|
23545
23545
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
23546
|
-
/* @__PURE__ */ jsx("dt", { className: "text-xs font-medium tracking-wide
|
|
23546
|
+
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Scheduled" }),
|
|
23547
23547
|
/* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: formatDate4(scheduledDate) })
|
|
23548
23548
|
] })
|
|
23549
23549
|
]
|
|
23550
23550
|
}
|
|
23551
23551
|
),
|
|
23552
23552
|
notes && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", children: [
|
|
23553
|
-
/* @__PURE__ */ jsx("dt", { className: "text-xs font-medium tracking-wide
|
|
23553
|
+
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Notes" }),
|
|
23554
23554
|
/* @__PURE__ */ jsx(
|
|
23555
23555
|
"dd",
|
|
23556
23556
|
{
|
|
23557
23557
|
"data-slot": "order-sidebar-notes",
|
|
23558
|
-
className: "mt-1 rounded-lg bg-gray-50 p-3 text-sm
|
|
23558
|
+
className: "text-muted-foreground mt-1 rounded-lg bg-gray-50 p-3 text-sm dark:bg-gray-800",
|
|
23559
23559
|
children: notes
|
|
23560
23560
|
}
|
|
23561
23561
|
)
|
|
@@ -23630,7 +23630,7 @@ function PageHeader({
|
|
|
23630
23630
|
"div",
|
|
23631
23631
|
{
|
|
23632
23632
|
"data-slot": "page-header-icon",
|
|
23633
|
-
className: `
|
|
23633
|
+
className: `text-muted-foreground flex-shrink-0 ${iconAlign === "top" ? "mt-1" : ""}`,
|
|
23634
23634
|
children: icon
|
|
23635
23635
|
}
|
|
23636
23636
|
),
|
|
@@ -23647,7 +23647,7 @@ function PageHeader({
|
|
|
23647
23647
|
"p",
|
|
23648
23648
|
{
|
|
23649
23649
|
"data-slot": "page-header-subtitle",
|
|
23650
|
-
className: "mt-1 truncate text-sm
|
|
23650
|
+
className: "text-muted-foreground mt-1 truncate text-sm",
|
|
23651
23651
|
children: subtitle
|
|
23652
23652
|
}
|
|
23653
23653
|
)
|
|
@@ -24750,7 +24750,7 @@ function PaymentHistoryTable({
|
|
|
24750
24750
|
/* @__PURE__ */ jsx(
|
|
24751
24751
|
"svg",
|
|
24752
24752
|
{
|
|
24753
|
-
className: "mx-auto mb-3 h-12 w-12
|
|
24753
|
+
className: "text-muted-foreground dark:text-muted-foreground mx-auto mb-3 h-12 w-12",
|
|
24754
24754
|
fill: "none",
|
|
24755
24755
|
stroke: "currentColor",
|
|
24756
24756
|
viewBox: "0 0 24 24",
|
|
@@ -24765,14 +24765,7 @@ function PaymentHistoryTable({
|
|
|
24765
24765
|
)
|
|
24766
24766
|
}
|
|
24767
24767
|
),
|
|
24768
|
-
/* @__PURE__ */ jsx(
|
|
24769
|
-
"p",
|
|
24770
|
-
{
|
|
24771
|
-
"data-slot": "payment-history-empty",
|
|
24772
|
-
className: "text-gray-500 dark:text-gray-400",
|
|
24773
|
-
children: emptyMessage
|
|
24774
|
-
}
|
|
24775
|
-
)
|
|
24768
|
+
/* @__PURE__ */ jsx("p", { "data-slot": "payment-history-empty", className: "text-muted-foreground", children: emptyMessage })
|
|
24776
24769
|
]
|
|
24777
24770
|
}
|
|
24778
24771
|
);
|
|
@@ -24784,13 +24777,13 @@ function PaymentHistoryTable({
|
|
|
24784
24777
|
className: `overflow-hidden rounded-lg border border-gray-200 dark:border-gray-700 ${className}`,
|
|
24785
24778
|
children: /* @__PURE__ */ jsxs("table", { "data-slot": "payment-history-table", className: "w-full", children: [
|
|
24786
24779
|
/* @__PURE__ */ jsx("thead", { className: "bg-gray-50 dark:bg-gray-800", children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
24787
|
-
/* @__PURE__ */ jsx("th", { className: "px-4 py-3 text-left text-xs font-medium tracking-wider
|
|
24788
|
-
/* @__PURE__ */ jsx("th", { className: "hidden px-4 py-3 text-left text-xs font-medium tracking-wider
|
|
24789
|
-
/* @__PURE__ */ jsx("th", { className: "hidden px-4 py-3 text-left text-xs font-medium tracking-wider
|
|
24790
|
-
/* @__PURE__ */ jsx("th", { className: "hidden px-4 py-3 text-left text-xs font-medium tracking-wider
|
|
24791
|
-
/* @__PURE__ */ jsx("th", { className: "px-4 py-3 text-right text-xs font-medium tracking-wider
|
|
24792
|
-
/* @__PURE__ */ jsx("th", { className: "px-4 py-3 text-center text-xs font-medium tracking-wider
|
|
24793
|
-
onRefund && /* @__PURE__ */ jsx("th", { className: "px-4 py-3 text-right text-xs font-medium tracking-wider
|
|
24780
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-left text-xs font-medium tracking-wider uppercase", children: "Date" }),
|
|
24781
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-left text-xs font-medium tracking-wider uppercase sm:table-cell", children: "Invoice" }),
|
|
24782
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-left text-xs font-medium tracking-wider uppercase md:table-cell", children: "Employer" }),
|
|
24783
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground hidden px-4 py-3 text-left text-xs font-medium tracking-wider uppercase lg:table-cell", children: "Method" }),
|
|
24784
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-right text-xs font-medium tracking-wider uppercase", children: "Amount" }),
|
|
24785
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-center text-xs font-medium tracking-wider uppercase", children: "Status" }),
|
|
24786
|
+
onRefund && /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-right text-xs font-medium tracking-wider uppercase", children: "Action" })
|
|
24794
24787
|
] }) }),
|
|
24795
24788
|
/* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: payments.map((payment) => /* @__PURE__ */ jsxs(
|
|
24796
24789
|
"tr",
|
|
@@ -24801,7 +24794,7 @@ function PaymentHistoryTable({
|
|
|
24801
24794
|
children: [
|
|
24802
24795
|
/* @__PURE__ */ jsxs("td", { className: "px-4 py-3", children: [
|
|
24803
24796
|
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white", children: formatDate4(payment.date) }),
|
|
24804
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
24797
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs sm:hidden", children: payment.invoiceNumber })
|
|
24805
24798
|
] }),
|
|
24806
24799
|
/* @__PURE__ */ jsx("td", { className: "hidden px-4 py-3 sm:table-cell", children: payment.invoiceId && onInvoiceClick ? /* @__PURE__ */ jsx(
|
|
24807
24800
|
"button",
|
|
@@ -24815,7 +24808,7 @@ function PaymentHistoryTable({
|
|
|
24815
24808
|
}
|
|
24816
24809
|
) : /* @__PURE__ */ jsx("p", { className: "text-sm text-gray-700 dark:text-gray-300", children: payment.invoiceNumber }) }),
|
|
24817
24810
|
/* @__PURE__ */ jsx("td", { className: "hidden px-4 py-3 md:table-cell", children: /* @__PURE__ */ jsx("p", { className: "max-w-[150px] truncate text-sm text-gray-700 dark:text-gray-300", children: payment.employerName }) }),
|
|
24818
|
-
/* @__PURE__ */ jsx("td", { className: "hidden px-4 py-3 lg:table-cell", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2
|
|
24811
|
+
/* @__PURE__ */ jsx("td", { className: "hidden px-4 py-3 lg:table-cell", children: /* @__PURE__ */ jsxs("div", { className: "text-muted-foreground flex items-center gap-2", children: [
|
|
24819
24812
|
getMethodIcon(payment.method),
|
|
24820
24813
|
/* @__PURE__ */ jsxs("span", { className: "text-sm", children: [
|
|
24821
24814
|
getMethodLabel(payment.method),
|
|
@@ -24825,7 +24818,7 @@ function PaymentHistoryTable({
|
|
|
24825
24818
|
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-right", children: /* @__PURE__ */ jsx(
|
|
24826
24819
|
"p",
|
|
24827
24820
|
{
|
|
24828
|
-
className: `font-medium ${payment.status === "refunded" ? "text-
|
|
24821
|
+
className: `font-medium ${payment.status === "refunded" ? "text-muted-foreground line-through" : "text-gray-900 dark:text-white"}`,
|
|
24829
24822
|
children: formatCurrency3(payment.amount)
|
|
24830
24823
|
}
|
|
24831
24824
|
) }),
|
|
@@ -24925,7 +24918,7 @@ function PaymentMethodCard({
|
|
|
24925
24918
|
/* @__PURE__ */ jsx(
|
|
24926
24919
|
"span",
|
|
24927
24920
|
{
|
|
24928
|
-
className: "text-xs font-medium
|
|
24921
|
+
className: "text-muted-foreground text-xs font-medium uppercase",
|
|
24929
24922
|
"data-slot": "payment-card-label",
|
|
24930
24923
|
children: "Credit Card"
|
|
24931
24924
|
}
|
|
@@ -24953,7 +24946,7 @@ function PaymentMethodCard({
|
|
|
24953
24946
|
"\u2022\u2022\u2022\u2022 ",
|
|
24954
24947
|
card.last4
|
|
24955
24948
|
] }),
|
|
24956
|
-
/* @__PURE__ */ jsxs("div", { className: "text-
|
|
24949
|
+
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground text-sm", children: [
|
|
24957
24950
|
expMonth,
|
|
24958
24951
|
"/",
|
|
24959
24952
|
expYear
|
|
@@ -24980,7 +24973,7 @@ function PaymentMethodCard({
|
|
|
24980
24973
|
className: "text-brand-600 focus:ring-brand-500"
|
|
24981
24974
|
}
|
|
24982
24975
|
),
|
|
24983
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
24976
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs", children: "Set as default" })
|
|
24984
24977
|
] }) : /* @__PURE__ */ jsx("div", {}),
|
|
24985
24978
|
showDelete && onDelete && /* @__PURE__ */ jsx(
|
|
24986
24979
|
"button",
|
|
@@ -25055,11 +25048,11 @@ function PaymentMethodBank({
|
|
|
25055
25048
|
"data-slot": "payment-bank-header",
|
|
25056
25049
|
children: [
|
|
25057
25050
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
25058
|
-
/* @__PURE__ */ jsx(BankIcon, { className: "h-5 w-5
|
|
25051
|
+
/* @__PURE__ */ jsx(BankIcon, { className: "text-muted-foreground h-5 w-5" }),
|
|
25059
25052
|
/* @__PURE__ */ jsx(
|
|
25060
25053
|
"span",
|
|
25061
25054
|
{
|
|
25062
|
-
className: "text-xs font-medium
|
|
25055
|
+
className: "text-muted-foreground text-xs font-medium uppercase",
|
|
25063
25056
|
"data-slot": "payment-bank-label",
|
|
25064
25057
|
children: "ACH"
|
|
25065
25058
|
}
|
|
@@ -25075,13 +25068,13 @@ function PaymentMethodBank({
|
|
|
25075
25068
|
),
|
|
25076
25069
|
/* @__PURE__ */ jsxs("div", { className: "mt-3 space-y-1", "data-slot": "payment-bank-details", children: [
|
|
25077
25070
|
account.bankName && /* @__PURE__ */ jsx("div", { className: "text-sm font-medium text-gray-900 dark:text-gray-100", children: account.bankName }),
|
|
25078
|
-
/* @__PURE__ */ jsxs("div", { className: "font-mono text-sm
|
|
25071
|
+
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground font-mono text-sm", children: [
|
|
25079
25072
|
/* @__PURE__ */ jsx("span", { className: "hidden lg:inline", children: "\u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 " }),
|
|
25080
25073
|
"\u2022\u2022\u2022\u2022",
|
|
25081
25074
|
" ",
|
|
25082
25075
|
account.last4
|
|
25083
25076
|
] }),
|
|
25084
|
-
account.accountType && /* @__PURE__ */ jsx("div", { className: "text-
|
|
25077
|
+
account.accountType && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground text-xs capitalize", children: account.accountType })
|
|
25085
25078
|
] }),
|
|
25086
25079
|
/* @__PURE__ */ jsxs(
|
|
25087
25080
|
"div",
|
|
@@ -25102,7 +25095,7 @@ function PaymentMethodBank({
|
|
|
25102
25095
|
className: "text-brand-600 focus:ring-brand-500"
|
|
25103
25096
|
}
|
|
25104
25097
|
),
|
|
25105
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
25098
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs", children: "Set as default" })
|
|
25106
25099
|
] }) : /* @__PURE__ */ jsx("div", {}),
|
|
25107
25100
|
showDelete && onDelete && /* @__PURE__ */ jsx(
|
|
25108
25101
|
"button",
|
|
@@ -25310,7 +25303,7 @@ function PendingClaimsTable({
|
|
|
25310
25303
|
/* @__PURE__ */ jsx(
|
|
25311
25304
|
"svg",
|
|
25312
25305
|
{
|
|
25313
|
-
className: "mx-auto mb-3 h-12 w-12
|
|
25306
|
+
className: "text-muted-foreground dark:text-muted-foreground mx-auto mb-3 h-12 w-12",
|
|
25314
25307
|
fill: "none",
|
|
25315
25308
|
stroke: "currentColor",
|
|
25316
25309
|
viewBox: "0 0 24 24",
|
|
@@ -25325,14 +25318,7 @@ function PendingClaimsTable({
|
|
|
25325
25318
|
)
|
|
25326
25319
|
}
|
|
25327
25320
|
),
|
|
25328
|
-
/* @__PURE__ */ jsx(
|
|
25329
|
-
"p",
|
|
25330
|
-
{
|
|
25331
|
-
"data-slot": "pending-claims-empty",
|
|
25332
|
-
className: "text-gray-500 dark:text-gray-400",
|
|
25333
|
-
children: emptyMessage
|
|
25334
|
-
}
|
|
25335
|
-
)
|
|
25321
|
+
/* @__PURE__ */ jsx("p", { "data-slot": "pending-claims-empty", className: "text-muted-foreground", children: emptyMessage })
|
|
25336
25322
|
]
|
|
25337
25323
|
}
|
|
25338
25324
|
);
|
|
@@ -25345,11 +25331,11 @@ function PendingClaimsTable({
|
|
|
25345
25331
|
children: [
|
|
25346
25332
|
/* @__PURE__ */ jsx("div", { className: "hidden md:block", children: /* @__PURE__ */ jsxs("table", { "data-slot": "pending-claims-table", className: "w-full", children: [
|
|
25347
25333
|
/* @__PURE__ */ jsx("thead", { className: "bg-gray-50 dark:bg-gray-800", children: /* @__PURE__ */ jsxs("tr", { children: [
|
|
25348
|
-
/* @__PURE__ */ jsx("th", { className: "px-4 py-3 text-left text-xs font-medium tracking-wider
|
|
25349
|
-
/* @__PURE__ */ jsx("th", { className: "px-4 py-3 text-left text-xs font-medium tracking-wider
|
|
25350
|
-
/* @__PURE__ */ jsx("th", { className: "px-4 py-3 text-left text-xs font-medium tracking-wider
|
|
25351
|
-
/* @__PURE__ */ jsx("th", { className: "px-4 py-3 text-center text-xs font-medium tracking-wider
|
|
25352
|
-
/* @__PURE__ */ jsx("th", { className: "px-4 py-3 text-right text-xs font-medium tracking-wider
|
|
25334
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-left text-xs font-medium tracking-wider uppercase", children: "Claimant" }),
|
|
25335
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-left text-xs font-medium tracking-wider uppercase", children: "Role" }),
|
|
25336
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-left text-xs font-medium tracking-wider uppercase", children: "Submitted" }),
|
|
25337
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-center text-xs font-medium tracking-wider uppercase", children: "Status" }),
|
|
25338
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-right text-xs font-medium tracking-wider uppercase", children: "Actions" })
|
|
25353
25339
|
] }) }),
|
|
25354
25340
|
/* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: claims.map((claim) => /* @__PURE__ */ jsxs(
|
|
25355
25341
|
"tr",
|
|
@@ -25361,11 +25347,11 @@ function PendingClaimsTable({
|
|
|
25361
25347
|
/* @__PURE__ */ jsx(Avatar, { name: claim.claimantName, size: "sm" }),
|
|
25362
25348
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
25363
25349
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: claim.claimantName }),
|
|
25364
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
25350
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: claim.claimantEmail })
|
|
25365
25351
|
] })
|
|
25366
25352
|
] }) }),
|
|
25367
25353
|
/* @__PURE__ */ jsx("td", { className: "px-4 py-4", children: /* @__PURE__ */ jsx("p", { className: "text-sm text-gray-700 dark:text-gray-300", children: claim.claimantRole || "Not specified" }) }),
|
|
25368
|
-
/* @__PURE__ */ jsx("td", { className: "px-4 py-4", children: /* @__PURE__ */ jsx("p", { className: "text-
|
|
25354
|
+
/* @__PURE__ */ jsx("td", { className: "px-4 py-4", children: /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: formatDate4(claim.submittedDate) }) }),
|
|
25369
25355
|
/* @__PURE__ */ jsx("td", { className: "px-4 py-4 text-center", children: /* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(claim.status), children: claim.status }) }),
|
|
25370
25356
|
/* @__PURE__ */ jsx("td", { className: "px-4 py-4 text-right", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-end gap-2", children: [
|
|
25371
25357
|
onViewDetails && /* @__PURE__ */ jsx(
|
|
@@ -25420,12 +25406,12 @@ function PendingClaimsTable({
|
|
|
25420
25406
|
/* @__PURE__ */ jsx(Avatar, { name: claim.claimantName, size: "sm" }),
|
|
25421
25407
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
25422
25408
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: claim.claimantName }),
|
|
25423
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
25409
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: claim.claimantEmail })
|
|
25424
25410
|
] })
|
|
25425
25411
|
] }),
|
|
25426
25412
|
/* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(claim.status), children: claim.status })
|
|
25427
25413
|
] }),
|
|
25428
|
-
/* @__PURE__ */ jsx("div", { className: "mt-3 flex items-center justify-between", children: /* @__PURE__ */ jsxs("div", { className: "text-
|
|
25414
|
+
/* @__PURE__ */ jsx("div", { className: "mt-3 flex items-center justify-between", children: /* @__PURE__ */ jsxs("div", { className: "text-muted-foreground text-sm", children: [
|
|
25429
25415
|
/* @__PURE__ */ jsx("span", { children: claim.claimantRole || "No role" }),
|
|
25430
25416
|
/* @__PURE__ */ jsx("span", { className: "mx-2", children: "\u2022" }),
|
|
25431
25417
|
/* @__PURE__ */ jsx("span", { children: formatDate4(claim.submittedDate) })
|
|
@@ -26463,7 +26449,7 @@ var actionButtonVariants = cva(
|
|
|
26463
26449
|
{
|
|
26464
26450
|
variants: {
|
|
26465
26451
|
variant: {
|
|
26466
|
-
default: "text-
|
|
26452
|
+
default: "text-muted-foreground hover:text-primary-800 hover:bg-gray-50 dark:hover:text-primary-400 dark:hover:bg-gray-800",
|
|
26467
26453
|
active: "text-primary-800 bg-primary-50 dark:text-primary-300 dark:bg-primary-900/20"
|
|
26468
26454
|
}
|
|
26469
26455
|
},
|
|
@@ -26579,7 +26565,7 @@ function Breadcrumb2({ items, className }) {
|
|
|
26579
26565
|
"data-slot": "provider-detail-breadcrumb",
|
|
26580
26566
|
className: cn("py-2", className),
|
|
26581
26567
|
children: /* @__PURE__ */ jsx("ol", { className: "flex flex-wrap items-center gap-1 text-sm", children: items.map((item, index) => /* @__PURE__ */ jsxs("li", { className: "flex items-center", children: [
|
|
26582
|
-
index > 0 && /* @__PURE__ */ jsx(ChevronRightIcon, { className: "mx-2 h-4 w-4
|
|
26568
|
+
index > 0 && /* @__PURE__ */ jsx(ChevronRightIcon, { className: "text-muted-foreground mx-2 h-4 w-4" }),
|
|
26583
26569
|
index === items.length - 1 ? /* @__PURE__ */ jsx("span", { className: "max-w-[200px] truncate font-medium text-gray-900 dark:text-white", children: item.label }) : /* @__PURE__ */ jsx(
|
|
26584
26570
|
"a",
|
|
26585
26571
|
{
|
|
@@ -26606,7 +26592,7 @@ function MobileBackButton({
|
|
|
26606
26592
|
"a",
|
|
26607
26593
|
{
|
|
26608
26594
|
href,
|
|
26609
|
-
className: "bg-primary-
|
|
26595
|
+
className: "bg-primary-800 hover:bg-primary-900 inline-flex items-center gap-2 rounded-lg px-4 py-2 text-sm font-medium text-white transition-colors",
|
|
26610
26596
|
children: [
|
|
26611
26597
|
/* @__PURE__ */ jsx(ChevronLeftIcon, { className: "h-4 w-4" }),
|
|
26612
26598
|
label
|
|
@@ -26730,7 +26716,7 @@ function SocialMediaLinks({
|
|
|
26730
26716
|
rel: "noopener noreferrer",
|
|
26731
26717
|
title: `Visit ${providerName} on ${link.label}`,
|
|
26732
26718
|
className: cn(
|
|
26733
|
-
"hover:text-primary-
|
|
26719
|
+
"hover:text-primary-800 dark:hover:text-primary-400 text-muted-foreground transition-colors",
|
|
26734
26720
|
socialIconSizes[size]
|
|
26735
26721
|
),
|
|
26736
26722
|
children: [
|
|
@@ -26759,7 +26745,7 @@ function VerifiedBadge2({
|
|
|
26759
26745
|
{
|
|
26760
26746
|
"data-slot": "provider-detail-verified",
|
|
26761
26747
|
className: cn(
|
|
26762
|
-
"flex items-center gap-2 text-sm
|
|
26748
|
+
"text-muted-foreground flex items-center gap-2 text-sm",
|
|
26763
26749
|
className
|
|
26764
26750
|
),
|
|
26765
26751
|
children: [
|
|
@@ -26802,20 +26788,14 @@ function AddressDisplay({
|
|
|
26802
26788
|
target: "_blank",
|
|
26803
26789
|
rel: "noopener noreferrer",
|
|
26804
26790
|
className: cn(
|
|
26805
|
-
"hover:text-primary-
|
|
26791
|
+
"hover:text-primary-800 dark:hover:text-primary-400 text-muted-foreground hover:underline",
|
|
26806
26792
|
className
|
|
26807
26793
|
),
|
|
26808
26794
|
children: addressContent
|
|
26809
26795
|
}
|
|
26810
26796
|
);
|
|
26811
26797
|
}
|
|
26812
|
-
return /* @__PURE__ */ jsx(
|
|
26813
|
-
"address",
|
|
26814
|
-
{
|
|
26815
|
-
className: cn("text-gray-600 not-italic dark:text-gray-300", className),
|
|
26816
|
-
children: addressContent
|
|
26817
|
-
}
|
|
26818
|
-
);
|
|
26798
|
+
return /* @__PURE__ */ jsx("address", { className: cn("text-muted-foreground not-italic", className), children: addressContent });
|
|
26819
26799
|
}
|
|
26820
26800
|
function ClaimListingButton({
|
|
26821
26801
|
slug,
|
|
@@ -26828,7 +26808,7 @@ function ClaimListingButton({
|
|
|
26828
26808
|
{
|
|
26829
26809
|
href: claimUrl,
|
|
26830
26810
|
className: cn(
|
|
26831
|
-
"hover:text-primary-
|
|
26811
|
+
"hover:text-primary-800 dark:hover:text-primary-400 text-muted-foreground inline-flex items-center gap-2 text-sm",
|
|
26832
26812
|
className
|
|
26833
26813
|
),
|
|
26834
26814
|
children: [
|
|
@@ -26845,7 +26825,7 @@ function ReportLink({ slug, href, className }) {
|
|
|
26845
26825
|
{
|
|
26846
26826
|
href: reportUrl,
|
|
26847
26827
|
className: cn(
|
|
26848
|
-
"inline-flex items-center gap-2 text-sm
|
|
26828
|
+
"text-muted-foreground inline-flex items-center gap-2 text-sm hover:text-gray-700 dark:hover:text-gray-300",
|
|
26849
26829
|
className
|
|
26850
26830
|
),
|
|
26851
26831
|
children: [
|
|
@@ -26865,7 +26845,7 @@ var bookButtonVariants = cva(
|
|
|
26865
26845
|
lg: "px-6 py-3 text-lg"
|
|
26866
26846
|
},
|
|
26867
26847
|
variant: {
|
|
26868
|
-
primary: "bg-primary-
|
|
26848
|
+
primary: "bg-primary-800 text-white hover:bg-primary-900 focus:ring-primary-500",
|
|
26869
26849
|
outline: "border-2 border-primary-800 text-primary-800 hover:bg-primary-50 focus:ring-primary-500 dark:border-primary-300 dark:text-primary-300 dark:hover:bg-primary-900/20"
|
|
26870
26850
|
}
|
|
26871
26851
|
},
|
|
@@ -27041,7 +27021,7 @@ function CompactProviderHeader({
|
|
|
27041
27021
|
showLogo && /* @__PURE__ */ jsx(ProviderLogo2, { src: provider.logoUrl, name: provider.name, size: "sm" }),
|
|
27042
27022
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
27043
27023
|
/* @__PURE__ */ jsx("h2", { className: "truncate text-lg font-semibold text-gray-900 dark:text-white", children: provider.name }),
|
|
27044
|
-
/* @__PURE__ */ jsxs("p", { className: "
|
|
27024
|
+
/* @__PURE__ */ jsxs("p", { className: "text-muted-foreground truncate text-sm", children: [
|
|
27045
27025
|
provider.address.city,
|
|
27046
27026
|
", ",
|
|
27047
27027
|
provider.address.state,
|
|
@@ -27521,7 +27501,7 @@ function ProviderOverview({
|
|
|
27521
27501
|
) : /* @__PURE__ */ jsx("div", { className: "flex h-12 w-12 items-center justify-center rounded-lg bg-blue-100 dark:bg-blue-900/30", children: /* @__PURE__ */ jsx("span", { className: "text-xl font-bold text-blue-600 dark:text-blue-400", children: providerName.charAt(0) }) }),
|
|
27522
27502
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
27523
27503
|
/* @__PURE__ */ jsx("h1", { className: "text-xl font-bold text-gray-900 dark:text-white", children: providerName }),
|
|
27524
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
27504
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Dashboard Overview" })
|
|
27525
27505
|
] })
|
|
27526
27506
|
]
|
|
27527
27507
|
}
|
|
@@ -27654,7 +27634,7 @@ function ProviderOverview({
|
|
|
27654
27634
|
},
|
|
27655
27635
|
className: "flex flex-col items-center gap-2 rounded-lg border border-gray-200 p-3 transition-colors hover:bg-gray-50 dark:border-gray-700 dark:hover:bg-gray-800",
|
|
27656
27636
|
children: [
|
|
27657
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
27637
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: action.icon || /* @__PURE__ */ jsx(
|
|
27658
27638
|
"svg",
|
|
27659
27639
|
{
|
|
27660
27640
|
className: "h-5 w-5",
|
|
@@ -27689,7 +27669,7 @@ function ProviderOverview({
|
|
|
27689
27669
|
onKeyDown: (e) => e.key === "Enter" && onActivityClick?.(activity),
|
|
27690
27670
|
className: `flex items-start gap-3 rounded-lg p-2 ${onActivityClick ? "cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800" : ""} `,
|
|
27691
27671
|
children: [
|
|
27692
|
-
/* @__PURE__ */ jsx("div", { className: "rounded-full bg-gray-100 p-2
|
|
27672
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground rounded-full bg-gray-100 p-2 dark:bg-gray-800", children: getActivityIcon(activity.type) }),
|
|
27693
27673
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
27694
27674
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
27695
27675
|
/* @__PURE__ */ jsx("p", { className: "truncate font-medium text-gray-900 dark:text-white", children: activity.title }),
|
|
@@ -27701,8 +27681,8 @@ function ProviderOverview({
|
|
|
27701
27681
|
}
|
|
27702
27682
|
)
|
|
27703
27683
|
] }),
|
|
27704
|
-
activity.description && /* @__PURE__ */ jsx("p", { className: "
|
|
27705
|
-
/* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs
|
|
27684
|
+
activity.description && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground truncate text-sm", children: activity.description }),
|
|
27685
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-0.5 text-xs", children: formatTime4(activity.timestamp) })
|
|
27706
27686
|
] })
|
|
27707
27687
|
]
|
|
27708
27688
|
},
|
|
@@ -27731,7 +27711,7 @@ function StatCard({ label, value, icon, color, onClick }) {
|
|
|
27731
27711
|
/* @__PURE__ */ jsx("div", { className: `rounded-lg p-2 ${colorClasses[color]}`, children: icon }),
|
|
27732
27712
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
27733
27713
|
/* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: value }),
|
|
27734
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
27714
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: label })
|
|
27735
27715
|
] })
|
|
27736
27716
|
] })
|
|
27737
27717
|
}
|
|
@@ -28425,7 +28405,7 @@ function ServiceMultiSelect({
|
|
|
28425
28405
|
className: cn(
|
|
28426
28406
|
selectVariants(),
|
|
28427
28407
|
"w-full text-left",
|
|
28428
|
-
!selectedServices.length && "text-
|
|
28408
|
+
!selectedServices.length && "text-muted-foreground",
|
|
28429
28409
|
disabled && "cursor-not-allowed opacity-50"
|
|
28430
28410
|
),
|
|
28431
28411
|
children: selectedServices.length > 0 ? `${selectedServices.length} service${selectedServices.length > 1 ? "s" : ""} selected` : placeholder
|
|
@@ -28482,7 +28462,7 @@ function ServiceMultiSelect({
|
|
|
28482
28462
|
{
|
|
28483
28463
|
className: cn(
|
|
28484
28464
|
"flex h-4 w-4 items-center justify-center rounded border",
|
|
28485
|
-
isSelected ? "bg-primary-
|
|
28465
|
+
isSelected ? "bg-primary-800 border-primary-500 text-white" : "border-neutral-300 dark:border-neutral-600"
|
|
28486
28466
|
),
|
|
28487
28467
|
children: isSelected && /* @__PURE__ */ jsx(
|
|
28488
28468
|
"svg",
|
|
@@ -28508,7 +28488,7 @@ function ServiceMultiSelect({
|
|
|
28508
28488
|
);
|
|
28509
28489
|
})
|
|
28510
28490
|
] }, category)
|
|
28511
|
-
) : /* @__PURE__ */ jsx("div", { className: "px-3 py-4 text-center text-sm
|
|
28491
|
+
) : /* @__PURE__ */ jsx("div", { className: "text-muted-foreground px-3 py-4 text-center text-sm", children: "No services found" }),
|
|
28512
28492
|
selectedServices.length > 0 && /* @__PURE__ */ jsx("div", { className: "sticky bottom-0 border-t border-neutral-200 bg-white p-2 dark:border-neutral-700 dark:bg-neutral-800", children: /* @__PURE__ */ jsx(
|
|
28513
28493
|
"button",
|
|
28514
28494
|
{
|
|
@@ -28738,7 +28718,7 @@ function CompactFilterBar({
|
|
|
28738
28718
|
disabled: loading,
|
|
28739
28719
|
className: cn(
|
|
28740
28720
|
"h-9 rounded-md px-4 text-sm font-medium",
|
|
28741
|
-
"bg-primary-
|
|
28721
|
+
"bg-primary-800 hover:bg-primary-900 text-white",
|
|
28742
28722
|
"focus:ring-primary-500 focus:ring-2 focus:ring-offset-2 focus:outline-none",
|
|
28743
28723
|
"disabled:cursor-not-allowed disabled:opacity-50"
|
|
28744
28724
|
),
|
|
@@ -28819,7 +28799,7 @@ function ActiveFilters({
|
|
|
28819
28799
|
className: cn("flex flex-wrap items-center gap-2", className),
|
|
28820
28800
|
"data-slot": "provider-active-filters",
|
|
28821
28801
|
children: [
|
|
28822
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
28802
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm", children: "Active filters:" }),
|
|
28823
28803
|
activeFilters.map((filter) => /* @__PURE__ */ jsxs(
|
|
28824
28804
|
"span",
|
|
28825
28805
|
{
|
|
@@ -28849,7 +28829,7 @@ function ActiveFilters({
|
|
|
28849
28829
|
{
|
|
28850
28830
|
type: "button",
|
|
28851
28831
|
onClick: onClearAll,
|
|
28852
|
-
className: "text-primary-
|
|
28832
|
+
className: "text-primary-800 hover:text-primary-900 dark:text-primary-400 dark:hover:text-primary-300 text-sm",
|
|
28853
28833
|
children: "Clear all"
|
|
28854
28834
|
}
|
|
28855
28835
|
)
|
|
@@ -29533,7 +29513,7 @@ function ProviderSettings({
|
|
|
29533
29513
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
29534
29514
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
29535
29515
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-700 dark:text-gray-300", children: "New Orders" }),
|
|
29536
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
29516
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Receive email when a new order is placed" })
|
|
29537
29517
|
] }),
|
|
29538
29518
|
/* @__PURE__ */ jsx(
|
|
29539
29519
|
Switch,
|
|
@@ -29546,7 +29526,7 @@ function ProviderSettings({
|
|
|
29546
29526
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
29547
29527
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
29548
29528
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-700 dark:text-gray-300", children: "Order Updates" }),
|
|
29549
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
29529
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Receive email when an order status changes" })
|
|
29550
29530
|
] }),
|
|
29551
29531
|
/* @__PURE__ */ jsx(
|
|
29552
29532
|
Switch,
|
|
@@ -29559,7 +29539,7 @@ function ProviderSettings({
|
|
|
29559
29539
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
29560
29540
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
29561
29541
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-700 dark:text-gray-300", children: "Invoice Notifications" }),
|
|
29562
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
29542
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Receive email for invoice activity" })
|
|
29563
29543
|
] }),
|
|
29564
29544
|
/* @__PURE__ */ jsx(
|
|
29565
29545
|
Switch,
|
|
@@ -29577,7 +29557,7 @@ function ProviderSettings({
|
|
|
29577
29557
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
29578
29558
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
29579
29559
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-700 dark:text-gray-300", children: "New Orders" }),
|
|
29580
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
29560
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Receive SMS when a new order is placed" })
|
|
29581
29561
|
] }),
|
|
29582
29562
|
/* @__PURE__ */ jsx(
|
|
29583
29563
|
Switch,
|
|
@@ -29590,7 +29570,7 @@ function ProviderSettings({
|
|
|
29590
29570
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
29591
29571
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
29592
29572
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-700 dark:text-gray-300", children: "Order Updates" }),
|
|
29593
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
29573
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Receive SMS when an order status changes" })
|
|
29594
29574
|
] }),
|
|
29595
29575
|
/* @__PURE__ */ jsx(
|
|
29596
29576
|
Switch,
|
|
@@ -29611,7 +29591,7 @@ function ProviderSettings({
|
|
|
29611
29591
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
29612
29592
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
29613
29593
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-700 dark:text-gray-300", children: "Accepting New Patients" }),
|
|
29614
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
29594
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Allow new patients to schedule appointments" })
|
|
29615
29595
|
] }),
|
|
29616
29596
|
/* @__PURE__ */ jsx(
|
|
29617
29597
|
Switch,
|
|
@@ -29624,7 +29604,7 @@ function ProviderSettings({
|
|
|
29624
29604
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
29625
29605
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
29626
29606
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-700 dark:text-gray-300", children: "Require Appointment" }),
|
|
29627
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
29607
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Patients must schedule before arriving" })
|
|
29628
29608
|
] }),
|
|
29629
29609
|
/* @__PURE__ */ jsx(
|
|
29630
29610
|
Switch,
|
|
@@ -29658,7 +29638,7 @@ function ProviderSettings({
|
|
|
29658
29638
|
)
|
|
29659
29639
|
}
|
|
29660
29640
|
),
|
|
29661
|
-
/* @__PURE__ */ jsx("p", { className: "mt-1 text-xs
|
|
29641
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: "Minimum time between appointments" })
|
|
29662
29642
|
] }),
|
|
29663
29643
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
29664
29644
|
/* @__PURE__ */ jsx(
|
|
@@ -29682,7 +29662,7 @@ function ProviderSettings({
|
|
|
29682
29662
|
)
|
|
29683
29663
|
}
|
|
29684
29664
|
),
|
|
29685
|
-
/* @__PURE__ */ jsx("p", { className: "mt-1 text-xs
|
|
29665
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: "Maximum appointments allowed per day" })
|
|
29686
29666
|
] })
|
|
29687
29667
|
] })
|
|
29688
29668
|
] })
|
|
@@ -29698,7 +29678,7 @@ function ProviderSettings({
|
|
|
29698
29678
|
/* @__PURE__ */ jsx(
|
|
29699
29679
|
"svg",
|
|
29700
29680
|
{
|
|
29701
|
-
className: "h-8 w-8
|
|
29681
|
+
className: "text-muted-foreground h-8 w-8",
|
|
29702
29682
|
fill: "none",
|
|
29703
29683
|
stroke: "currentColor",
|
|
29704
29684
|
viewBox: "0 0 24 24",
|
|
@@ -29728,7 +29708,7 @@ function ProviderSettings({
|
|
|
29728
29708
|
/* @__PURE__ */ jsx(
|
|
29729
29709
|
"svg",
|
|
29730
29710
|
{
|
|
29731
|
-
className: "h-8 w-8
|
|
29711
|
+
className: "text-muted-foreground h-8 w-8",
|
|
29732
29712
|
fill: "none",
|
|
29733
29713
|
stroke: "currentColor",
|
|
29734
29714
|
viewBox: "0 0 24 24",
|
|
@@ -29758,7 +29738,7 @@ function ProviderSettings({
|
|
|
29758
29738
|
/* @__PURE__ */ jsx(
|
|
29759
29739
|
"svg",
|
|
29760
29740
|
{
|
|
29761
|
-
className: "h-8 w-8
|
|
29741
|
+
className: "text-muted-foreground h-8 w-8",
|
|
29762
29742
|
fill: "none",
|
|
29763
29743
|
stroke: "currentColor",
|
|
29764
29744
|
viewBox: "0 0 24 24",
|
|
@@ -29788,7 +29768,7 @@ function ProviderSettings({
|
|
|
29788
29768
|
/* @__PURE__ */ jsx(
|
|
29789
29769
|
"svg",
|
|
29790
29770
|
{
|
|
29791
|
-
className: "h-8 w-8
|
|
29771
|
+
className: "text-muted-foreground h-8 w-8",
|
|
29792
29772
|
fill: "none",
|
|
29793
29773
|
stroke: "currentColor",
|
|
29794
29774
|
viewBox: "0 0 24 24",
|
|
@@ -29837,7 +29817,7 @@ function ProviderSettings({
|
|
|
29837
29817
|
)
|
|
29838
29818
|
}
|
|
29839
29819
|
),
|
|
29840
|
-
/* @__PURE__ */ jsx("p", { className: "mt-1 text-xs
|
|
29820
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: "Number of days until invoice is due (e.g., Net 30)" })
|
|
29841
29821
|
] }) })
|
|
29842
29822
|
] })
|
|
29843
29823
|
] }) }) })
|
|
@@ -29945,33 +29925,27 @@ function ProviderUsersTable({
|
|
|
29945
29925
|
)) });
|
|
29946
29926
|
}
|
|
29947
29927
|
if (users.length === 0) {
|
|
29948
|
-
return /* @__PURE__ */ jsxs(
|
|
29949
|
-
|
|
29950
|
-
|
|
29951
|
-
|
|
29952
|
-
|
|
29953
|
-
|
|
29954
|
-
|
|
29928
|
+
return /* @__PURE__ */ jsxs("div", { className: `text-muted-foreground py-12 text-center ${className}`, children: [
|
|
29929
|
+
/* @__PURE__ */ jsx(
|
|
29930
|
+
"svg",
|
|
29931
|
+
{
|
|
29932
|
+
className: "mx-auto h-12 w-12 text-gray-400",
|
|
29933
|
+
fill: "none",
|
|
29934
|
+
stroke: "currentColor",
|
|
29935
|
+
viewBox: "0 0 24 24",
|
|
29936
|
+
children: /* @__PURE__ */ jsx(
|
|
29937
|
+
"path",
|
|
29955
29938
|
{
|
|
29956
|
-
|
|
29957
|
-
|
|
29958
|
-
|
|
29959
|
-
|
|
29960
|
-
children: /* @__PURE__ */ jsx(
|
|
29961
|
-
"path",
|
|
29962
|
-
{
|
|
29963
|
-
strokeLinecap: "round",
|
|
29964
|
-
strokeLinejoin: "round",
|
|
29965
|
-
strokeWidth: 1.5,
|
|
29966
|
-
d: "M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"
|
|
29967
|
-
}
|
|
29968
|
-
)
|
|
29939
|
+
strokeLinecap: "round",
|
|
29940
|
+
strokeLinejoin: "round",
|
|
29941
|
+
strokeWidth: 1.5,
|
|
29942
|
+
d: "M17 20h5v-2a3 3 0 00-5.356-1.857M17 20H7m10 0v-2c0-.656-.126-1.283-.356-1.857M7 20H2v-2a3 3 0 015.356-1.857M7 20v-2c0-.656.126-1.283.356-1.857m0 0a5.002 5.002 0 019.288 0M15 7a3 3 0 11-6 0 3 3 0 016 0zm6 3a2 2 0 11-4 0 2 2 0 014 0zM7 10a2 2 0 11-4 0 2 2 0 014 0z"
|
|
29969
29943
|
}
|
|
29970
|
-
)
|
|
29971
|
-
|
|
29972
|
-
|
|
29973
|
-
}
|
|
29974
|
-
);
|
|
29944
|
+
)
|
|
29945
|
+
}
|
|
29946
|
+
),
|
|
29947
|
+
/* @__PURE__ */ jsx("p", { className: "mt-2", children: emptyMessage })
|
|
29948
|
+
] });
|
|
29975
29949
|
}
|
|
29976
29950
|
return /* @__PURE__ */ jsx(
|
|
29977
29951
|
"div",
|
|
@@ -29995,14 +29969,14 @@ function ProviderUsersTable({
|
|
|
29995
29969
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
29996
29970
|
/* @__PURE__ */ jsxs("p", { className: "font-medium text-gray-900 dark:text-white", children: [
|
|
29997
29971
|
user.name,
|
|
29998
|
-
isCurrentUser && /* @__PURE__ */ jsx("span", { className: "ml-1.5 text-xs
|
|
29972
|
+
isCurrentUser && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground ml-1.5 text-xs", children: "(you)" })
|
|
29999
29973
|
] }),
|
|
30000
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
29974
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: user.email })
|
|
30001
29975
|
] })
|
|
30002
29976
|
] }) }),
|
|
30003
29977
|
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-sm text-gray-700 dark:text-gray-300", children: user.role }) }),
|
|
30004
29978
|
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(user.status), children: user.status || "active" }) }),
|
|
30005
|
-
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-
|
|
29979
|
+
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm", children: isPending ? `Invited ${formatDate4(user.invitedAt)}` : formatDate4(user.lastActive) }) }),
|
|
30006
29980
|
showActions && /* @__PURE__ */ jsx(TableCell, { className: "text-right", children: /* @__PURE__ */ jsx(
|
|
30007
29981
|
RowActionsMenu,
|
|
30008
29982
|
{
|
|
@@ -30185,7 +30159,7 @@ function RecurringServiceCard({
|
|
|
30185
30159
|
},
|
|
30186
30160
|
primary: {
|
|
30187
30161
|
border: "border-primary/30",
|
|
30188
|
-
icon: /* @__PURE__ */ jsx("span", { className: "bg-primary text-primary-foreground flex h-5 w-5 shrink-0 items-center justify-center rounded-full", children: /* @__PURE__ */ jsx(
|
|
30162
|
+
icon: /* @__PURE__ */ jsx("span", { className: "bg-primary-800 text-primary-foreground flex h-5 w-5 shrink-0 items-center justify-center rounded-full", children: /* @__PURE__ */ jsx(
|
|
30189
30163
|
"svg",
|
|
30190
30164
|
{
|
|
30191
30165
|
className: "h-3 w-3",
|
|
@@ -30425,7 +30399,7 @@ function RecurringServiceSetupModal({
|
|
|
30425
30399
|
),
|
|
30426
30400
|
"data-slot": "recurring-service-modal",
|
|
30427
30401
|
children: [
|
|
30428
|
-
/* @__PURE__ */ jsxs("div", { className: "bg-primary text-primary-foreground flex items-center justify-between p-4", children: [
|
|
30402
|
+
/* @__PURE__ */ jsxs("div", { className: "bg-primary-800 text-primary-foreground flex items-center justify-between p-4", children: [
|
|
30429
30403
|
/* @__PURE__ */ jsx("h4", { className: "text-lg font-semibold", children: title }),
|
|
30430
30404
|
/* @__PURE__ */ jsx(
|
|
30431
30405
|
"button",
|
|
@@ -30521,7 +30495,7 @@ function RecurringServiceSetupModal({
|
|
|
30521
30495
|
{
|
|
30522
30496
|
type: "submit",
|
|
30523
30497
|
disabled: saving,
|
|
30524
|
-
className: "bg-primary
|
|
30498
|
+
className: "bg-primary-800 hover:bg-primary-900 disabled:bg-muted disabled:text-muted-foreground text-primary-foreground rounded-lg px-4 py-2 transition-colors",
|
|
30525
30499
|
children: saving ? /* @__PURE__ */ jsxs("span", { className: "flex items-center gap-2", children: [
|
|
30526
30500
|
/* @__PURE__ */ jsx("i", { className: "fas fa-spinner fa-spin" }),
|
|
30527
30501
|
"Saving..."
|
|
@@ -30788,7 +30762,7 @@ function ReportDashboard({
|
|
|
30788
30762
|
case "down":
|
|
30789
30763
|
return "text-red-700 dark:text-red-300";
|
|
30790
30764
|
default:
|
|
30791
|
-
return "text-
|
|
30765
|
+
return "text-muted-foreground";
|
|
30792
30766
|
}
|
|
30793
30767
|
};
|
|
30794
30768
|
const getTrendIcon = (trend) => {
|
|
@@ -30867,7 +30841,7 @@ function ReportDashboard({
|
|
|
30867
30841
|
children: [
|
|
30868
30842
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
30869
30843
|
/* @__PURE__ */ jsx("h1", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: title }),
|
|
30870
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
30844
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: dateRangeLabel })
|
|
30871
30845
|
] }),
|
|
30872
30846
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
30873
30847
|
/* @__PURE__ */ jsx(
|
|
@@ -30912,7 +30886,7 @@ function ReportDashboard({
|
|
|
30912
30886
|
"data-slot": "report-dashboard-metrics",
|
|
30913
30887
|
className: "grid grid-cols-2 gap-4 md:grid-cols-4",
|
|
30914
30888
|
children: metrics.map((metric, index) => /* @__PURE__ */ jsx(Card, { children: /* @__PURE__ */ jsxs(CardContent, { className: "p-4", children: [
|
|
30915
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
30889
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: metric.label }),
|
|
30916
30890
|
/* @__PURE__ */ jsx("p", { className: "mt-1 text-2xl font-bold text-gray-900 dark:text-white", children: typeof metric.value === "number" ? metric.label.toLowerCase().includes("revenue") || metric.label.toLowerCase().includes("amount") ? formatCurrency3(metric.value) : formatNumber(metric.value) : metric.value }),
|
|
30917
30891
|
(metric.change !== void 0 || metric.changeLabel) && /* @__PURE__ */ jsxs(
|
|
30918
30892
|
"div",
|
|
@@ -30960,7 +30934,7 @@ function ReportDashboard({
|
|
|
30960
30934
|
}
|
|
30961
30935
|
)
|
|
30962
30936
|
] }),
|
|
30963
|
-
/* @__PURE__ */ jsx("span", { className: "w-full truncate text-center text-xs
|
|
30937
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground w-full truncate text-center text-xs", children: point.label })
|
|
30964
30938
|
]
|
|
30965
30939
|
},
|
|
30966
30940
|
index
|
|
@@ -30968,11 +30942,11 @@ function ReportDashboard({
|
|
|
30968
30942
|
/* @__PURE__ */ jsxs("div", { className: "mt-4 flex items-center justify-center gap-4 text-sm", children: [
|
|
30969
30943
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
30970
30944
|
/* @__PURE__ */ jsx("div", { className: "h-3 w-3 rounded bg-blue-500 dark:bg-blue-400" }),
|
|
30971
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
30945
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Current Period" })
|
|
30972
30946
|
] }),
|
|
30973
30947
|
chartData.some((d) => d.previousValue !== void 0) && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
30974
30948
|
/* @__PURE__ */ jsx("div", { className: "h-3 w-3 rounded bg-gray-200 dark:bg-gray-700" }),
|
|
30975
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
30949
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Previous Period" })
|
|
30976
30950
|
] })
|
|
30977
30951
|
] })
|
|
30978
30952
|
] })
|
|
@@ -30997,7 +30971,7 @@ function ReportDashboard({
|
|
|
30997
30971
|
/* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
|
|
30998
30972
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
30999
30973
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: service.name }),
|
|
31000
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
30974
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: formatNumber(service.value) })
|
|
31001
30975
|
] }),
|
|
31002
30976
|
service.percentage !== void 0 && /* @__PURE__ */ jsx("div", { className: "mt-1 h-2 overflow-hidden rounded-full bg-gray-100 dark:bg-gray-800", children: /* @__PURE__ */ jsx(
|
|
31003
30977
|
"div",
|
|
@@ -31023,7 +30997,7 @@ function ReportDashboard({
|
|
|
31023
30997
|
/* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
|
|
31024
30998
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
31025
30999
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: employer.name }),
|
|
31026
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
31000
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: formatCurrency3(employer.value) })
|
|
31027
31001
|
] }),
|
|
31028
31002
|
employer.percentage !== void 0 && /* @__PURE__ */ jsx("div", { className: "mt-1 h-2 overflow-hidden rounded-full bg-gray-100 dark:bg-gray-800", children: /* @__PURE__ */ jsx(
|
|
31029
31003
|
"div",
|
|
@@ -31727,7 +31701,7 @@ function ScheduleCalendar({
|
|
|
31727
31701
|
{
|
|
31728
31702
|
className: `flex-1 border-l border-gray-200 p-2 text-center dark:border-gray-700 ${isSameDay(date, /* @__PURE__ */ new Date()) ? "bg-blue-50 dark:bg-blue-900/20" : ""}`,
|
|
31729
31703
|
children: [
|
|
31730
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
31704
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: date.toLocaleDateString("en-US", { weekday: "short" }) }),
|
|
31731
31705
|
/* @__PURE__ */ jsx(
|
|
31732
31706
|
"p",
|
|
31733
31707
|
{
|
|
@@ -31751,7 +31725,7 @@ function ScheduleCalendar({
|
|
|
31751
31725
|
children: hours.map((hour) => /* @__PURE__ */ jsx(
|
|
31752
31726
|
"div",
|
|
31753
31727
|
{
|
|
31754
|
-
className: "h-16 pr-2 text-right text-xs
|
|
31728
|
+
className: "text-muted-foreground h-16 pr-2 text-right text-xs",
|
|
31755
31729
|
children: new Date(2e3, 0, 1, hour).toLocaleTimeString("en-US", {
|
|
31756
31730
|
hour: "numeric",
|
|
31757
31731
|
hour12: true
|
|
@@ -31830,19 +31804,19 @@ function ScheduleCalendar({
|
|
|
31830
31804
|
children: [
|
|
31831
31805
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
31832
31806
|
/* @__PURE__ */ jsx("span", { className: "h-3 w-3 rounded bg-blue-700" }),
|
|
31833
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
31807
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Confirmed" })
|
|
31834
31808
|
] }),
|
|
31835
31809
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
31836
31810
|
/* @__PURE__ */ jsx("span", { className: "h-3 w-3 rounded bg-yellow-700" }),
|
|
31837
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
31811
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Pending" })
|
|
31838
31812
|
] }),
|
|
31839
31813
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
31840
31814
|
/* @__PURE__ */ jsx("span", { className: "h-3 w-3 rounded bg-green-700" }),
|
|
31841
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
31815
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Completed" })
|
|
31842
31816
|
] }),
|
|
31843
31817
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
31844
31818
|
/* @__PURE__ */ jsx("span", { className: "h-3 w-3 rounded bg-gray-600" }),
|
|
31845
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
31819
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Cancelled" })
|
|
31846
31820
|
] })
|
|
31847
31821
|
]
|
|
31848
31822
|
}
|
|
@@ -31901,7 +31875,7 @@ var serviceLinkVariants = cva(
|
|
|
31901
31875
|
[
|
|
31902
31876
|
"flex items-center gap-2 py-2 px-3 rounded-md",
|
|
31903
31877
|
"text-neutral-700 dark:text-neutral-300",
|
|
31904
|
-
"hover:bg-neutral-100 dark:hover:bg-neutral-700/50 hover:text-primary-
|
|
31878
|
+
"hover:bg-neutral-100 dark:hover:bg-neutral-700/50 hover:text-primary-800 dark:hover:text-primary-400",
|
|
31905
31879
|
"transition-colors",
|
|
31906
31880
|
"focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500"
|
|
31907
31881
|
],
|
|
@@ -31977,7 +31951,7 @@ function ServiceLink({
|
|
|
31977
31951
|
children: [
|
|
31978
31952
|
/* @__PURE__ */ jsx(LinkIcon, { className: "flex-shrink-0 text-neutral-400" }),
|
|
31979
31953
|
/* @__PURE__ */ jsx("span", { className: "flex-grow", children: service.name }),
|
|
31980
|
-
service.providerCount !== void 0 && /* @__PURE__ */ jsxs("span", { className: "ml-2 text-xs
|
|
31954
|
+
service.providerCount !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ml-2 text-xs", children: [
|
|
31981
31955
|
"(",
|
|
31982
31956
|
service.providerCount,
|
|
31983
31957
|
")"
|
|
@@ -32005,7 +31979,7 @@ function SubCategoryAccordion({
|
|
|
32005
31979
|
className: cn(
|
|
32006
31980
|
"flex w-full items-center justify-between px-3 py-2",
|
|
32007
31981
|
"text-left font-medium text-neutral-700 dark:text-neutral-200",
|
|
32008
|
-
"hover:text-primary-
|
|
31982
|
+
"hover:text-primary-800 dark:hover:text-primary-400",
|
|
32009
31983
|
"focus-visible:ring-primary-500 focus:outline-none focus-visible:ring-2"
|
|
32010
31984
|
),
|
|
32011
31985
|
"aria-expanded": isExpanded,
|
|
@@ -32093,7 +32067,7 @@ function CategoryAccordionItem({
|
|
|
32093
32067
|
"data-cy": `btn-category-${index}`,
|
|
32094
32068
|
children: [
|
|
32095
32069
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
32096
|
-
category.icon && /* @__PURE__ */ jsx("span", { className: "text-primary-
|
|
32070
|
+
category.icon && /* @__PURE__ */ jsx("span", { className: "text-primary-800 dark:text-primary-400", children: typeof category.icon === "string" ? /* @__PURE__ */ jsx("span", { className: "text-xl", children: category.icon }) : category.icon }),
|
|
32097
32071
|
/* @__PURE__ */ jsx("span", { className: "font-semibold text-neutral-900 dark:text-white", children: category.name })
|
|
32098
32072
|
] }),
|
|
32099
32073
|
hasContent && /* @__PURE__ */ jsx(
|
|
@@ -32246,7 +32220,7 @@ function ServiceTagCloud({
|
|
|
32246
32220
|
},
|
|
32247
32221
|
index
|
|
32248
32222
|
)),
|
|
32249
|
-
hasMore && /* @__PURE__ */ jsxs("span", { className: "inline-flex items-center px-3 py-1.5 text-sm
|
|
32223
|
+
hasMore && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground inline-flex items-center px-3 py-1.5 text-sm", children: [
|
|
32250
32224
|
"+",
|
|
32251
32225
|
services.length - (maxItems || 0),
|
|
32252
32226
|
" more"
|
|
@@ -32287,7 +32261,7 @@ function ServiceList({
|
|
|
32287
32261
|
className: cn(
|
|
32288
32262
|
"flex items-center gap-2 py-1.5",
|
|
32289
32263
|
"text-neutral-700 dark:text-neutral-300",
|
|
32290
|
-
"hover:text-primary-
|
|
32264
|
+
"hover:text-primary-800 dark:hover:text-primary-400",
|
|
32291
32265
|
"transition-colors"
|
|
32292
32266
|
),
|
|
32293
32267
|
children: [
|
|
@@ -32568,7 +32542,7 @@ function SelectedServicesBadges({
|
|
|
32568
32542
|
{
|
|
32569
32543
|
type: "button",
|
|
32570
32544
|
onClick: onClearAll,
|
|
32571
|
-
className: "ml-1 text-xs
|
|
32545
|
+
className: "text-muted-foreground ml-1 text-xs underline hover:text-gray-700 dark:hover:text-gray-200",
|
|
32572
32546
|
children: "Clear all"
|
|
32573
32547
|
}
|
|
32574
32548
|
)
|
|
@@ -32943,7 +32917,7 @@ function ServiceGeneralSettings({
|
|
|
32943
32917
|
/* @__PURE__ */ jsx(
|
|
32944
32918
|
"p",
|
|
32945
32919
|
{
|
|
32946
|
-
className: "text-
|
|
32920
|
+
className: "text-muted-foreground text-sm",
|
|
32947
32921
|
"data-slot": "service-settings-description",
|
|
32948
32922
|
children: "Basic service information and configuration"
|
|
32949
32923
|
}
|
|
@@ -32968,14 +32942,14 @@ function ServiceGeneralSettings({
|
|
|
32968
32942
|
/* @__PURE__ */ jsx(Switch, { checked: isActive, onCheckedChange: onIsActiveChange }),
|
|
32969
32943
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
32970
32944
|
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white", children: "Active" }),
|
|
32971
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
32945
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "Service is available for orders" })
|
|
32972
32946
|
] })
|
|
32973
32947
|
] }),
|
|
32974
32948
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
32975
32949
|
/* @__PURE__ */ jsx(Switch, { checked: isFeatured, onCheckedChange: onIsFeaturedChange }),
|
|
32976
32950
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
32977
32951
|
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white", children: "Featured" }),
|
|
32978
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
32952
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "Show prominently in listings" })
|
|
32979
32953
|
] })
|
|
32980
32954
|
] })
|
|
32981
32955
|
]
|
|
@@ -33058,7 +33032,7 @@ function ServiceGeneralSettings({
|
|
|
33058
33032
|
}
|
|
33059
33033
|
),
|
|
33060
33034
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
33061
|
-
/* @__PURE__ */ jsx("span", { className: "absolute top-1/2 left-3 -translate-y-1/2
|
|
33035
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute top-1/2 left-3 -translate-y-1/2", children: "$" }),
|
|
33062
33036
|
/* @__PURE__ */ jsx(
|
|
33063
33037
|
"input",
|
|
33064
33038
|
{
|
|
@@ -33096,7 +33070,7 @@ function ServiceGeneralSettings({
|
|
|
33096
33070
|
placeholder: "0"
|
|
33097
33071
|
}
|
|
33098
33072
|
),
|
|
33099
|
-
/* @__PURE__ */ jsx("span", { className: "absolute top-1/2 right-3 -translate-y-1/2 text-sm
|
|
33073
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute top-1/2 right-3 -translate-y-1/2 text-sm", children: "days" })
|
|
33100
33074
|
] })
|
|
33101
33075
|
] })
|
|
33102
33076
|
] })
|
|
@@ -33555,7 +33529,7 @@ function ServiceItem({
|
|
|
33555
33529
|
"cursor-pointer transition-all duration-150",
|
|
33556
33530
|
"focus-visible:ring-ring focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none",
|
|
33557
33531
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
33558
|
-
"checked:bg-primary-
|
|
33532
|
+
"checked:bg-primary-800 checked:border-primary-500"
|
|
33559
33533
|
)
|
|
33560
33534
|
}
|
|
33561
33535
|
),
|
|
@@ -33589,7 +33563,7 @@ function ServiceItem({
|
|
|
33589
33563
|
"span",
|
|
33590
33564
|
{
|
|
33591
33565
|
"data-slot": "service-picker-radio-dot",
|
|
33592
|
-
className: "bg-primary-
|
|
33566
|
+
className: "bg-primary-800 pointer-events-none absolute h-2 w-2 scale-0 rounded-full transition-transform peer-checked:scale-100"
|
|
33593
33567
|
}
|
|
33594
33568
|
)
|
|
33595
33569
|
]
|
|
@@ -33819,7 +33793,7 @@ function ServicePricingManager({
|
|
|
33819
33793
|
children: [
|
|
33820
33794
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
33821
33795
|
/* @__PURE__ */ jsx("h1", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: "Service Pricing" }),
|
|
33822
|
-
/* @__PURE__ */ jsxs("p", { className: "text-
|
|
33796
|
+
/* @__PURE__ */ jsxs("p", { className: "text-muted-foreground text-sm", children: [
|
|
33823
33797
|
"Manage pricing for ",
|
|
33824
33798
|
services.length,
|
|
33825
33799
|
" services"
|
|
@@ -33866,8 +33840,8 @@ function ServicePricingManager({
|
|
|
33866
33840
|
filteredServices.length,
|
|
33867
33841
|
")"
|
|
33868
33842
|
] }) }),
|
|
33869
|
-
/* @__PURE__ */ jsx(CardContent, { children: filteredServices.length === 0 ? /* @__PURE__ */ jsx("p", { className: "py-8 text-center
|
|
33870
|
-
/* @__PURE__ */ jsxs("div", { className: "hidden gap-4 py-3 text-xs font-medium
|
|
33843
|
+
/* @__PURE__ */ jsx(CardContent, { children: filteredServices.length === 0 ? /* @__PURE__ */ jsx("p", { className: "text-muted-foreground py-8 text-center", children: "No services found" }) : /* @__PURE__ */ jsxs("div", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: [
|
|
33844
|
+
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground hidden gap-4 py-3 text-xs font-medium uppercase md:grid md:grid-cols-6", children: [
|
|
33871
33845
|
/* @__PURE__ */ jsx("div", { className: "col-span-2", children: "Service" }),
|
|
33872
33846
|
/* @__PURE__ */ jsx("div", { className: "text-right", children: "Base Price" }),
|
|
33873
33847
|
/* @__PURE__ */ jsx("div", { className: "text-right", children: "Employer Price" }),
|
|
@@ -33882,21 +33856,21 @@ function ServicePricingManager({
|
|
|
33882
33856
|
children: [
|
|
33883
33857
|
/* @__PURE__ */ jsxs("div", { className: "col-span-2 mb-2 md:mb-0", children: [
|
|
33884
33858
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: service.serviceName }),
|
|
33885
|
-
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2 text-sm
|
|
33859
|
+
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground flex items-center gap-2 text-sm", children: [
|
|
33886
33860
|
service.serviceCode && /* @__PURE__ */ jsx("span", { children: service.serviceCode }),
|
|
33887
33861
|
service.category && /* @__PURE__ */ jsx(Badge, { variant: "secondary", children: service.category })
|
|
33888
33862
|
] })
|
|
33889
33863
|
] }),
|
|
33890
33864
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between md:mb-0 md:block", children: [
|
|
33891
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
33865
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm md:hidden", children: "Base:" }),
|
|
33892
33866
|
/* @__PURE__ */ jsx("p", { className: "text-right font-semibold text-gray-900 dark:text-white", children: formatCurrency3(service.basePrice) })
|
|
33893
33867
|
] }),
|
|
33894
33868
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between md:mb-0 md:block", children: [
|
|
33895
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
33896
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
33869
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm md:hidden", children: "Employer:" }),
|
|
33870
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-right", children: service.employerPrice ? formatCurrency3(service.employerPrice) : "\u2014" })
|
|
33897
33871
|
] }),
|
|
33898
33872
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center md:mb-0 md:justify-center", children: [
|
|
33899
|
-
/* @__PURE__ */ jsx("span", { className: "mr-2 text-sm
|
|
33873
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground mr-2 text-sm md:hidden", children: "Status:" }),
|
|
33900
33874
|
/* @__PURE__ */ jsx(
|
|
33901
33875
|
Badge,
|
|
33902
33876
|
{
|
|
@@ -33995,7 +33969,7 @@ function ServicePricingManager({
|
|
|
33995
33969
|
/* @__PURE__ */ jsxs(Modal, { open: showBulkModal, onOpenChange: setShowBulkModal, children: [
|
|
33996
33970
|
/* @__PURE__ */ jsx(ModalHeader, { children: /* @__PURE__ */ jsx(ModalTitle, { children: "Bulk Price Adjustment" }) }),
|
|
33997
33971
|
/* @__PURE__ */ jsxs(ModalBody, { className: "space-y-4", children: [
|
|
33998
|
-
/* @__PURE__ */ jsxs("p", { className: "text-
|
|
33972
|
+
/* @__PURE__ */ jsxs("p", { className: "text-muted-foreground text-sm", children: [
|
|
33999
33973
|
"Apply adjustment to ",
|
|
34000
33974
|
filteredServices.length,
|
|
34001
33975
|
" filtered services"
|
|
@@ -34032,7 +34006,7 @@ function ServicePricingManager({
|
|
|
34032
34006
|
placeholder: bulkAdjustmentType === "percent" ? "e.g., 5" : "e.g., 10.00"
|
|
34033
34007
|
}
|
|
34034
34008
|
),
|
|
34035
|
-
/* @__PURE__ */ jsx("p", { className: "mt-1 text-xs
|
|
34009
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: "Use negative values to decrease prices" })
|
|
34036
34010
|
] })
|
|
34037
34011
|
] }),
|
|
34038
34012
|
/* @__PURE__ */ jsxs(ModalFooter, { children: [
|
|
@@ -34152,7 +34126,7 @@ function ServiceShippingSettings({
|
|
|
34152
34126
|
/* @__PURE__ */ jsx(
|
|
34153
34127
|
"p",
|
|
34154
34128
|
{
|
|
34155
|
-
className: "text-
|
|
34129
|
+
className: "text-muted-foreground text-sm",
|
|
34156
34130
|
"data-slot": "shipping-settings-description",
|
|
34157
34131
|
children: "Configure how kits and materials are shipped"
|
|
34158
34132
|
}
|
|
@@ -34185,7 +34159,7 @@ function ServiceShippingSettings({
|
|
|
34185
34159
|
children: [
|
|
34186
34160
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
34187
34161
|
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white", children: "Use Kit Shipping" }),
|
|
34188
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
34162
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "Send collection kits to patients" })
|
|
34189
34163
|
] }),
|
|
34190
34164
|
/* @__PURE__ */ jsx(
|
|
34191
34165
|
Switch,
|
|
@@ -34943,7 +34917,7 @@ function SidebarNavGroup({
|
|
|
34943
34917
|
"span",
|
|
34944
34918
|
{
|
|
34945
34919
|
className: cn(
|
|
34946
|
-
"h-5 w-5 flex-shrink-0
|
|
34920
|
+
"text-muted-foreground h-5 w-5 flex-shrink-0",
|
|
34947
34921
|
!showCollapsed && "mr-3"
|
|
34948
34922
|
),
|
|
34949
34923
|
children: icon
|
|
@@ -35003,7 +34977,7 @@ function SidebarNavItem({
|
|
|
35003
34977
|
{
|
|
35004
34978
|
className: cn(
|
|
35005
34979
|
"h-5 w-5 flex-shrink-0",
|
|
35006
|
-
isActive ? "text-primary-
|
|
34980
|
+
isActive ? "text-primary-800 dark:text-primary-400" : "text-muted-foreground",
|
|
35007
34981
|
!showCollapsed && "mr-3"
|
|
35008
34982
|
),
|
|
35009
34983
|
children: icon
|
|
@@ -35068,7 +35042,7 @@ function SidebarToggle({
|
|
|
35068
35042
|
{
|
|
35069
35043
|
onClick: toggleCollapsed,
|
|
35070
35044
|
className: cn(
|
|
35071
|
-
"rounded-lg p-2
|
|
35045
|
+
"text-muted-foreground rounded-lg p-2",
|
|
35072
35046
|
"transition-colors hover:bg-neutral-100 dark:hover:bg-neutral-800",
|
|
35073
35047
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
35074
35048
|
className
|
|
@@ -35093,7 +35067,7 @@ function SidebarMobileToggle({
|
|
|
35093
35067
|
{
|
|
35094
35068
|
onClick: openMobile,
|
|
35095
35069
|
className: cn(
|
|
35096
|
-
"rounded-lg p-2
|
|
35070
|
+
"text-muted-foreground rounded-lg p-2",
|
|
35097
35071
|
"transition-colors hover:bg-neutral-100 dark:hover:bg-neutral-800",
|
|
35098
35072
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
35099
35073
|
className
|
|
@@ -35285,7 +35259,7 @@ function SocialMediaLinks2({
|
|
|
35285
35259
|
className: cn(
|
|
35286
35260
|
"flex items-center justify-center rounded-full transition-colors",
|
|
35287
35261
|
sizeClasses2[size],
|
|
35288
|
-
variant === "light" ? "text-white/70 hover:bg-white/10 hover:text-white" : "text-gray-600 hover:bg-gray-100 hover:text-gray-900 dark:
|
|
35262
|
+
variant === "light" ? "text-white/70 hover:bg-white/10 hover:text-white" : "dark:text-muted-foreground text-gray-600 hover:bg-gray-100 hover:text-gray-900 dark:hover:bg-gray-800 dark:hover:text-white"
|
|
35289
35263
|
),
|
|
35290
35264
|
children: /* @__PURE__ */ jsx(Icon, {})
|
|
35291
35265
|
},
|
|
@@ -35340,7 +35314,7 @@ function NewsletterForm({
|
|
|
35340
35314
|
disabled: isLoading,
|
|
35341
35315
|
className: cn(
|
|
35342
35316
|
"rounded-lg px-4 py-2 text-sm font-medium whitespace-nowrap transition-colors",
|
|
35343
|
-
variant === "light" ? "text-primary-900 bg-white hover:bg-white/90" : "bg-primary-
|
|
35317
|
+
variant === "light" ? "text-primary-900 bg-white hover:bg-white/90" : "bg-primary-800 hover:bg-primary-900 text-white",
|
|
35344
35318
|
isLoading && "cursor-not-allowed opacity-50"
|
|
35345
35319
|
),
|
|
35346
35320
|
children: isLoading ? "Sending..." : buttonText
|
|
@@ -35362,7 +35336,7 @@ function FooterLinkSection({
|
|
|
35362
35336
|
"data-slot": "site-footer-link-title",
|
|
35363
35337
|
className: cn(
|
|
35364
35338
|
"mb-4 text-sm font-semibold tracking-wider uppercase",
|
|
35365
|
-
variant === "light" ? "text-white/70" : "text-
|
|
35339
|
+
variant === "light" ? "text-white/70" : "dark:text-muted-foreground text-gray-600"
|
|
35366
35340
|
),
|
|
35367
35341
|
children: group.title
|
|
35368
35342
|
}
|
|
@@ -35375,7 +35349,7 @@ function FooterLinkSection({
|
|
|
35375
35349
|
rel: link.external ? "noopener noreferrer" : void 0,
|
|
35376
35350
|
className: cn(
|
|
35377
35351
|
"text-sm transition-colors",
|
|
35378
|
-
variant === "light" ? "text-white/60 hover:text-white" : "text-
|
|
35352
|
+
variant === "light" ? "text-white/60 hover:text-white" : "dark:text-muted-foreground text-gray-600 hover:text-gray-900 dark:hover:text-white"
|
|
35379
35353
|
),
|
|
35380
35354
|
children: [
|
|
35381
35355
|
link.label,
|
|
@@ -35397,7 +35371,7 @@ function CopyrightText({
|
|
|
35397
35371
|
"data-slot": "site-footer-copyright",
|
|
35398
35372
|
className: cn(
|
|
35399
35373
|
"text-sm",
|
|
35400
|
-
variant === "light" ? "text-white/60" : "text-
|
|
35374
|
+
variant === "light" ? "text-white/60" : "dark:text-muted-foreground text-gray-600",
|
|
35401
35375
|
className
|
|
35402
35376
|
),
|
|
35403
35377
|
children: [
|
|
@@ -35434,7 +35408,7 @@ function LegalLinks({
|
|
|
35434
35408
|
{
|
|
35435
35409
|
className: cn(
|
|
35436
35410
|
"hidden sm:inline",
|
|
35437
|
-
variant === "light" ? "text-white/40" : "text-
|
|
35411
|
+
variant === "light" ? "text-white/40" : "dark:text-muted-foreground text-gray-300"
|
|
35438
35412
|
),
|
|
35439
35413
|
children: "|"
|
|
35440
35414
|
}
|
|
@@ -35447,7 +35421,7 @@ function LegalLinks({
|
|
|
35447
35421
|
rel: link.external ? "noopener noreferrer" : void 0,
|
|
35448
35422
|
className: cn(
|
|
35449
35423
|
"text-sm transition-colors",
|
|
35450
|
-
variant === "light" ? "text-white/60 hover:text-white" : "text-
|
|
35424
|
+
variant === "light" ? "text-white/60 hover:text-white" : "dark:text-muted-foreground text-gray-600 hover:text-gray-900 dark:hover:text-white"
|
|
35451
35425
|
),
|
|
35452
35426
|
children: link.label
|
|
35453
35427
|
}
|
|
@@ -35467,7 +35441,7 @@ function DisclaimerText({
|
|
|
35467
35441
|
"data-slot": "site-footer-disclaimer",
|
|
35468
35442
|
className: cn(
|
|
35469
35443
|
"text-xs leading-relaxed",
|
|
35470
|
-
variant === "light" ? "text-white/50" : "text-
|
|
35444
|
+
variant === "light" ? "text-white/50" : "dark:text-muted-foreground text-gray-600",
|
|
35471
35445
|
className
|
|
35472
35446
|
),
|
|
35473
35447
|
children
|
|
@@ -35479,7 +35453,7 @@ var footerVariants = cva("", {
|
|
|
35479
35453
|
variant: {
|
|
35480
35454
|
default: "bg-gray-100 dark:bg-gray-900",
|
|
35481
35455
|
dark: "bg-gray-900 dark:bg-gray-950",
|
|
35482
|
-
primary: "bg-primary-
|
|
35456
|
+
primary: "bg-primary-800 dark:bg-primary-800",
|
|
35483
35457
|
white: "bg-white dark:bg-gray-900 border-t border-gray-200 dark:border-gray-800"
|
|
35484
35458
|
}
|
|
35485
35459
|
},
|
|
@@ -35573,7 +35547,7 @@ function SiteFooter({
|
|
|
35573
35547
|
"data-slot": "site-footer-description",
|
|
35574
35548
|
className: cn(
|
|
35575
35549
|
"mb-4 text-sm",
|
|
35576
|
-
colorVariant === "light" ? "text-white/70" : "text-
|
|
35550
|
+
colorVariant === "light" ? "text-white/70" : "dark:text-muted-foreground text-gray-600"
|
|
35577
35551
|
),
|
|
35578
35552
|
children: description
|
|
35579
35553
|
}
|
|
@@ -35683,7 +35657,7 @@ function SimpleFooter({
|
|
|
35683
35657
|
"data-slot": "site-footer-simple",
|
|
35684
35658
|
className: cn(
|
|
35685
35659
|
"border-t py-4",
|
|
35686
|
-
variant === "light" ? "bg-primary-
|
|
35660
|
+
variant === "light" ? "bg-primary-800 border-white/10" : "border-gray-200 bg-white dark:border-gray-800 dark:bg-gray-900",
|
|
35687
35661
|
className
|
|
35688
35662
|
),
|
|
35689
35663
|
children: /* @__PURE__ */ jsx("div", { className: "container mx-auto px-4", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 text-center sm:flex-row sm:items-center sm:justify-between sm:text-left", children: [
|
|
@@ -35695,7 +35669,7 @@ function SimpleFooter({
|
|
|
35695
35669
|
href: privacyHref,
|
|
35696
35670
|
className: cn(
|
|
35697
35671
|
"text-sm transition-colors",
|
|
35698
|
-
variant === "light" ? "text-white/60 hover:text-white" : "text-
|
|
35672
|
+
variant === "light" ? "text-white/60 hover:text-white" : "dark:text-muted-foreground text-gray-600 hover:text-gray-900 dark:hover:text-white"
|
|
35699
35673
|
),
|
|
35700
35674
|
children: "Privacy"
|
|
35701
35675
|
}
|
|
@@ -35706,7 +35680,7 @@ function SimpleFooter({
|
|
|
35706
35680
|
href: termsHref,
|
|
35707
35681
|
className: cn(
|
|
35708
35682
|
"text-sm transition-colors",
|
|
35709
|
-
variant === "light" ? "text-white/60 hover:text-white" : "text-
|
|
35683
|
+
variant === "light" ? "text-white/60 hover:text-white" : "dark:text-muted-foreground text-gray-600 hover:text-gray-900 dark:hover:text-white"
|
|
35710
35684
|
),
|
|
35711
35685
|
children: "Terms"
|
|
35712
35686
|
}
|
|
@@ -35767,7 +35741,7 @@ function SiteLogo({
|
|
|
35767
35741
|
"data-slot": "site-header-logo-icon",
|
|
35768
35742
|
className: cn(
|
|
35769
35743
|
"flex h-8 w-8 items-center justify-center rounded-lg text-lg font-bold",
|
|
35770
|
-
variant === "light" ? "bg-white/20 text-white" : "bg-primary-
|
|
35744
|
+
variant === "light" ? "bg-white/20 text-white" : "bg-primary-800 text-white"
|
|
35771
35745
|
),
|
|
35772
35746
|
children: name?.[0] || "B"
|
|
35773
35747
|
}
|
|
@@ -35857,7 +35831,7 @@ function AuthButtons({
|
|
|
35857
35831
|
onClick: onSignUp,
|
|
35858
35832
|
className: cn(
|
|
35859
35833
|
"rounded-lg px-4 py-2 text-sm font-medium transition-colors",
|
|
35860
|
-
variant === "light" ? "text-primary-
|
|
35834
|
+
variant === "light" ? "text-primary-800 bg-white hover:bg-white/90" : "bg-primary-800 hover:bg-primary-900 text-white"
|
|
35861
35835
|
),
|
|
35862
35836
|
children: "Sign Up"
|
|
35863
35837
|
}
|
|
@@ -35886,7 +35860,7 @@ function AuthButtons({
|
|
|
35886
35860
|
href: signUpHref,
|
|
35887
35861
|
className: cn(
|
|
35888
35862
|
"rounded-lg px-4 py-2 text-sm font-medium transition-colors",
|
|
35889
|
-
variant === "light" ? "text-primary-
|
|
35863
|
+
variant === "light" ? "text-primary-800 bg-white hover:bg-white/90" : "bg-primary-800 hover:bg-primary-900 text-white"
|
|
35890
35864
|
),
|
|
35891
35865
|
children: "Sign Up"
|
|
35892
35866
|
}
|
|
@@ -35995,7 +35969,7 @@ function UserMenu({
|
|
|
35995
35969
|
{
|
|
35996
35970
|
className: cn(
|
|
35997
35971
|
"h-4 w-4 transition-transform",
|
|
35998
|
-
variant === "light" ? "text-white/70" : "text-
|
|
35972
|
+
variant === "light" ? "text-white/70" : "text-muted-foreground",
|
|
35999
35973
|
isOpen && "rotate-180"
|
|
36000
35974
|
)
|
|
36001
35975
|
}
|
|
@@ -36011,7 +35985,7 @@ function UserMenu({
|
|
|
36011
35985
|
children: [
|
|
36012
35986
|
/* @__PURE__ */ jsxs("div", { className: "border-b border-gray-100 px-4 py-3 dark:border-gray-700", children: [
|
|
36013
35987
|
/* @__PURE__ */ jsx("p", { className: "truncate text-sm font-medium text-gray-900 dark:text-white", children: user.name }),
|
|
36014
|
-
user.email && /* @__PURE__ */ jsx("p", { className: "
|
|
35988
|
+
user.email && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground truncate text-xs", children: user.email })
|
|
36015
35989
|
] }),
|
|
36016
35990
|
/* @__PURE__ */ jsx("div", { className: "py-1", children: defaultItems.map(
|
|
36017
35991
|
(item, index) => item.href ? /* @__PURE__ */ jsxs(
|
|
@@ -36111,7 +36085,7 @@ function MobileMenuPanel({
|
|
|
36111
36085
|
{
|
|
36112
36086
|
type: "button",
|
|
36113
36087
|
onClick: onClose,
|
|
36114
|
-
className: "rounded-lg p-2
|
|
36088
|
+
className: "text-muted-foreground rounded-lg p-2 hover:bg-gray-100 hover:text-gray-700 dark:hover:bg-gray-800 dark:hover:text-gray-200",
|
|
36115
36089
|
"aria-label": "Close menu",
|
|
36116
36090
|
children: /* @__PURE__ */ jsx(CloseIcon5, { className: "h-5 w-5" })
|
|
36117
36091
|
}
|
|
@@ -36137,7 +36111,7 @@ function MobileMenuPanel({
|
|
|
36137
36111
|
/* @__PURE__ */ jsx("div", { className: "bg-primary-100 text-primary-700 dark:bg-primary-900/30 dark:text-primary-400 flex h-10 w-10 items-center justify-center rounded-full font-medium", children: user.name.split(" ").map((w) => w[0]).join("").slice(0, 2) }),
|
|
36138
36112
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
36139
36113
|
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white", children: user.name }),
|
|
36140
|
-
user.email && /* @__PURE__ */ jsx("p", { className: "text-
|
|
36114
|
+
user.email && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: user.email })
|
|
36141
36115
|
] })
|
|
36142
36116
|
] }),
|
|
36143
36117
|
/* @__PURE__ */ jsx(
|
|
@@ -36173,7 +36147,7 @@ function MobileMenuPanel({
|
|
|
36173
36147
|
onSignUp?.();
|
|
36174
36148
|
onClose();
|
|
36175
36149
|
},
|
|
36176
|
-
className: "bg-primary-
|
|
36150
|
+
className: "bg-primary-800 hover:bg-primary-900 rounded-lg px-4 py-2 text-sm font-medium text-white",
|
|
36177
36151
|
children: "Sign Up"
|
|
36178
36152
|
}
|
|
36179
36153
|
)
|
|
@@ -36188,7 +36162,7 @@ var headerVariants3 = cva(
|
|
|
36188
36162
|
{
|
|
36189
36163
|
variants: {
|
|
36190
36164
|
variant: {
|
|
36191
|
-
primary: "bg-primary-
|
|
36165
|
+
primary: "bg-primary-800",
|
|
36192
36166
|
white: "bg-white shadow-sm dark:bg-gray-900 dark:border-b dark:border-gray-800",
|
|
36193
36167
|
transparent: "bg-transparent",
|
|
36194
36168
|
glass: "bg-white/80 backdrop-blur-md shadow-sm dark:bg-gray-900/80"
|
|
@@ -36863,7 +36837,7 @@ function StepIndicator({
|
|
|
36863
36837
|
"data-slot": "step-indicator-circle",
|
|
36864
36838
|
onClick: () => handleStepClick(index),
|
|
36865
36839
|
disabled: !clickable,
|
|
36866
|
-
className: `${sizes.circle} flex shrink-0 items-center justify-center rounded-full font-medium transition-all duration-200 focus:ring-2 focus:ring-offset-2 focus:outline-none dark:focus:ring-offset-neutral-900 ${clickable ? "cursor-pointer" : "cursor-default"} ${step.hasError ? "bg-red-100 text-red-600 focus:ring-red-500 dark:bg-red-900/30 dark:text-red-400" : status === "completed" ? "bg-primary-
|
|
36840
|
+
className: `${sizes.circle} flex shrink-0 items-center justify-center rounded-full font-medium transition-all duration-200 focus:ring-2 focus:ring-offset-2 focus:outline-none dark:focus:ring-offset-neutral-900 ${clickable ? "cursor-pointer" : "cursor-default"} ${step.hasError ? "bg-red-100 text-red-600 focus:ring-red-500 dark:bg-red-900/30 dark:text-red-400" : status === "completed" ? "bg-primary-800 focus:ring-primary-500 dark:bg-primary-800 text-white" : status === "current" ? "bg-primary-800 ring-primary-600 focus:ring-primary-500 dark:bg-primary-800 dark:ring-primary-500 text-white ring-2 ring-offset-2 dark:ring-offset-neutral-900" : "bg-neutral-200 text-neutral-500 focus:ring-neutral-400 dark:bg-neutral-700 dark:text-neutral-300"}`.trim(),
|
|
36867
36841
|
"aria-current": status === "current" ? "step" : void 0,
|
|
36868
36842
|
children: step.hasError ? /* @__PURE__ */ jsx(ErrorIcon, { className: "h-4 w-4" }) : status === "completed" ? step.icon || /* @__PURE__ */ jsx(CheckIcon5, { className: "h-4 w-4" }) : step.icon || /* @__PURE__ */ jsx(
|
|
36869
36843
|
"span",
|
|
@@ -36883,13 +36857,10 @@ function StepIndicator({
|
|
|
36883
36857
|
/* @__PURE__ */ jsxs(
|
|
36884
36858
|
"p",
|
|
36885
36859
|
{
|
|
36886
|
-
className: `font-medium ${step.hasError ? "text-red-600 dark:text-red-400" : status === "completed" || status === "current" ? "text-neutral-900 dark:text-white" : "text-
|
|
36860
|
+
className: `font-medium ${step.hasError ? "text-red-600 dark:text-red-400" : status === "completed" || status === "current" ? "text-neutral-900 dark:text-white" : "text-muted-foreground"}`.trim(),
|
|
36887
36861
|
children: [
|
|
36888
36862
|
step.label,
|
|
36889
|
-
step.optional && /* @__PURE__ */
|
|
36890
|
-
" ",
|
|
36891
|
-
"(optional)"
|
|
36892
|
-
] })
|
|
36863
|
+
step.optional && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground font-normal", children: " (optional)" })
|
|
36893
36864
|
]
|
|
36894
36865
|
}
|
|
36895
36866
|
),
|
|
@@ -36897,7 +36868,7 @@ function StepIndicator({
|
|
|
36897
36868
|
"p",
|
|
36898
36869
|
{
|
|
36899
36870
|
"data-slot": "step-indicator-description",
|
|
36900
|
-
className: "mt-0.5
|
|
36871
|
+
className: "text-muted-foreground mt-0.5",
|
|
36901
36872
|
children: step.description
|
|
36902
36873
|
}
|
|
36903
36874
|
)
|
|
@@ -36921,7 +36892,7 @@ function StepIndicator({
|
|
|
36921
36892
|
"div",
|
|
36922
36893
|
{
|
|
36923
36894
|
"data-slot": "step-indicator-connector",
|
|
36924
|
-
className: `flex-1 ${sizes.line} ${index <= currentStep ? "bg-primary-
|
|
36895
|
+
className: `flex-1 ${sizes.line} ${index <= currentStep ? "bg-primary-800 dark:bg-primary-800" : "bg-neutral-200 dark:bg-neutral-700"}`,
|
|
36925
36896
|
"aria-hidden": "true"
|
|
36926
36897
|
}
|
|
36927
36898
|
) : /* @__PURE__ */ jsx("div", { className: "flex-1" }),
|
|
@@ -36930,7 +36901,7 @@ function StepIndicator({
|
|
|
36930
36901
|
"div",
|
|
36931
36902
|
{
|
|
36932
36903
|
"data-slot": "step-indicator-connector",
|
|
36933
|
-
className: `flex-1 ${sizes.line} ${index < currentStep ? "bg-primary-
|
|
36904
|
+
className: `flex-1 ${sizes.line} ${index < currentStep ? "bg-primary-800 dark:bg-primary-800" : "bg-neutral-200 dark:bg-neutral-700"}`,
|
|
36934
36905
|
"aria-hidden": "true"
|
|
36935
36906
|
}
|
|
36936
36907
|
) : /* @__PURE__ */ jsx("div", { className: "flex-1" })
|
|
@@ -36965,7 +36936,7 @@ function StepIndicator({
|
|
|
36965
36936
|
children: /* @__PURE__ */ jsx(
|
|
36966
36937
|
"div",
|
|
36967
36938
|
{
|
|
36968
|
-
className: `h-full min-h-4 ${sizes.line} ${index < currentStep ? "bg-primary-
|
|
36939
|
+
className: `h-full min-h-4 ${sizes.line} ${index < currentStep ? "bg-primary-800 dark:bg-primary-800" : "bg-neutral-200 dark:bg-neutral-700"}`
|
|
36969
36940
|
}
|
|
36970
36941
|
)
|
|
36971
36942
|
}
|
|
@@ -37386,7 +37357,7 @@ function TimelineProgress({
|
|
|
37386
37357
|
"div",
|
|
37387
37358
|
{
|
|
37388
37359
|
className: cn(
|
|
37389
|
-
"h-4 text-center
|
|
37360
|
+
"text-muted-foreground h-4 text-center",
|
|
37390
37361
|
sizes.timestamp,
|
|
37391
37362
|
sizes.timestampMargin
|
|
37392
37363
|
),
|
|
@@ -37400,7 +37371,7 @@ function TimelineProgress({
|
|
|
37400
37371
|
className: cn(
|
|
37401
37372
|
"flex-1",
|
|
37402
37373
|
sizes.connector,
|
|
37403
|
-
state === "completed" || state === "current" || state === "error" ? "bg-primary-
|
|
37374
|
+
state === "completed" || state === "current" || state === "error" ? "bg-primary-800 dark:bg-primary-800" : "bg-neutral-200 dark:bg-neutral-700"
|
|
37404
37375
|
)
|
|
37405
37376
|
}
|
|
37406
37377
|
),
|
|
@@ -37422,7 +37393,7 @@ function TimelineProgress({
|
|
|
37422
37393
|
sizes.completed
|
|
37423
37394
|
),
|
|
37424
37395
|
state === "current" && cn(
|
|
37425
|
-
"bg-primary-
|
|
37396
|
+
"bg-primary-800 shadow-primary-500/30 ring-primary-100 dark:bg-primary-800 dark:ring-primary-900/50 text-white shadow-md ring-4",
|
|
37426
37397
|
sizes.current,
|
|
37427
37398
|
pulse && "animate-pulse"
|
|
37428
37399
|
),
|
|
@@ -37467,7 +37438,7 @@ function TimelineProgress({
|
|
|
37467
37438
|
className: cn(
|
|
37468
37439
|
"flex-1",
|
|
37469
37440
|
sizes.connector,
|
|
37470
|
-
state === "completed" ? "bg-primary-
|
|
37441
|
+
state === "completed" ? "bg-primary-800 dark:bg-primary-800" : "bg-neutral-200 dark:bg-neutral-700"
|
|
37471
37442
|
)
|
|
37472
37443
|
}
|
|
37473
37444
|
),
|
|
@@ -37482,7 +37453,7 @@ function TimelineProgress({
|
|
|
37482
37453
|
sizes.labelMargin,
|
|
37483
37454
|
state === "completed" && "text-primary-800 dark:text-primary-300",
|
|
37484
37455
|
state === "current" && "font-semibold text-neutral-900 dark:text-white",
|
|
37485
|
-
state === "pending" && "text-
|
|
37456
|
+
state === "pending" && "text-muted-foreground",
|
|
37486
37457
|
state === "error" && "font-semibold text-red-600 dark:text-red-400"
|
|
37487
37458
|
),
|
|
37488
37459
|
children: step.label
|
|
@@ -37577,12 +37548,12 @@ function TimelineEventList({
|
|
|
37577
37548
|
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-2", children: [
|
|
37578
37549
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
37579
37550
|
/* @__PURE__ */ jsx("h4", { className: "font-semibold text-neutral-900 dark:text-neutral-100", children: event.title }),
|
|
37580
|
-
event.author && /* @__PURE__ */ jsxs("p", { className: "text-
|
|
37551
|
+
event.author && /* @__PURE__ */ jsxs("p", { className: "text-muted-foreground text-sm", children: [
|
|
37581
37552
|
"by ",
|
|
37582
37553
|
event.author
|
|
37583
37554
|
] })
|
|
37584
37555
|
] }),
|
|
37585
|
-
/* @__PURE__ */ jsx("time", { className: "shrink-0 pt-0.5 text-xs
|
|
37556
|
+
/* @__PURE__ */ jsx("time", { className: "text-muted-foreground shrink-0 pt-0.5 text-xs", children: formatTime4(event.timestamp) })
|
|
37586
37557
|
] }),
|
|
37587
37558
|
event.content && /* @__PURE__ */ jsx("p", { className: "mt-1.5 text-sm text-neutral-600 dark:text-neutral-300", children: event.content })
|
|
37588
37559
|
] })
|
|
@@ -37619,7 +37590,7 @@ function OrderConfirmation({
|
|
|
37619
37590
|
children: "Order Submitted!"
|
|
37620
37591
|
}
|
|
37621
37592
|
),
|
|
37622
|
-
orderNumber && /* @__PURE__ */ jsxs("p", { className: "mb-4 text-center text-sm
|
|
37593
|
+
orderNumber && /* @__PURE__ */ jsxs("p", { className: "text-muted-foreground mb-4 text-center text-sm", children: [
|
|
37623
37594
|
"Order #",
|
|
37624
37595
|
orderNumber
|
|
37625
37596
|
] }),
|
|
@@ -37631,8 +37602,8 @@ function OrderConfirmation({
|
|
|
37631
37602
|
onClick: onClose,
|
|
37632
37603
|
className: cn(
|
|
37633
37604
|
"w-full rounded-lg px-4 py-3 font-medium",
|
|
37634
|
-
"bg-primary-
|
|
37635
|
-
"dark:bg-primary-
|
|
37605
|
+
"bg-primary-800 hover:bg-primary-900 text-white",
|
|
37606
|
+
"dark:bg-primary-800 dark:hover:bg-primary-900",
|
|
37636
37607
|
"transition-colors"
|
|
37637
37608
|
),
|
|
37638
37609
|
children: "Got It"
|
|
@@ -37901,7 +37872,7 @@ var variantStyles = {
|
|
|
37901
37872
|
},
|
|
37902
37873
|
info: {
|
|
37903
37874
|
container: "bg-primary-50 dark:bg-primary-900 border-primary-200 dark:border-primary-800 text-primary-800 dark:text-primary-200",
|
|
37904
|
-
icon: "text-primary-
|
|
37875
|
+
icon: "text-primary-800 dark:text-primary-400"
|
|
37905
37876
|
}
|
|
37906
37877
|
};
|
|
37907
37878
|
var defaultIcons = {
|
|
@@ -38611,7 +38582,7 @@ function WebsiteInputGroup({
|
|
|
38611
38582
|
"w-full rounded-md border px-3 py-2 text-sm",
|
|
38612
38583
|
"border-gray-300 bg-white text-gray-900",
|
|
38613
38584
|
"focus:border-brand-500 focus:ring-brand-500/20 focus:ring-2 focus:outline-none",
|
|
38614
|
-
"disabled:cursor-not-allowed disabled:bg-gray-50
|
|
38585
|
+
"disabled:text-muted-foreground disabled:cursor-not-allowed disabled:bg-gray-50",
|
|
38615
38586
|
"dark:border-gray-600 dark:bg-gray-800 dark:text-gray-100",
|
|
38616
38587
|
"dark:focus:border-brand-400 dark:focus:ring-brand-400/20",
|
|
38617
38588
|
index === 0 && label ? "mt-6" : ""
|
|
@@ -38638,7 +38609,7 @@ function WebsiteInputGroup({
|
|
|
38638
38609
|
"text-brand-600 hover:bg-brand-50",
|
|
38639
38610
|
"disabled:cursor-not-allowed disabled:text-gray-300 disabled:hover:bg-transparent",
|
|
38640
38611
|
"dark:text-brand-400 dark:hover:bg-brand-900/20",
|
|
38641
|
-
"dark:disabled:text-
|
|
38612
|
+
"dark:disabled:text-muted-foreground"
|
|
38642
38613
|
),
|
|
38643
38614
|
"aria-label": "Add website",
|
|
38644
38615
|
children: /* @__PURE__ */ jsx(
|
|
@@ -38671,7 +38642,7 @@ function WebsiteInputGroup({
|
|
|
38671
38642
|
"text-red-600 hover:bg-red-50",
|
|
38672
38643
|
"disabled:cursor-not-allowed disabled:text-gray-300 disabled:hover:bg-transparent",
|
|
38673
38644
|
"dark:text-red-400 dark:hover:bg-red-900/20",
|
|
38674
|
-
"dark:disabled:text-
|
|
38645
|
+
"dark:disabled:text-muted-foreground"
|
|
38675
38646
|
),
|
|
38676
38647
|
"aria-label": "Remove website",
|
|
38677
38648
|
children: /* @__PURE__ */ jsx(
|