@mieweb/ui 0.3.0-dev.73 → 0.3.0-dev.75
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/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-GPBQCGKA.cjs → chunk-DT4CHRTJ.cjs} +382 -380
- 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-JCHVLSXS.js → chunk-WORZLEUZ.js} +382 -380
- 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 +773 -804
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +489 -520
- 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-GPBQCGKA.cjs.map +0 -1
- package/dist/chunk-JCHVLSXS.js.map +0 -1
- package/dist/chunk-JE4AH2TZ.cjs.map +0 -1
- package/dist/chunk-MOULJE34.js.map +0 -1
- package/dist/chunk-PLIK3DN6.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(
|
|
@@ -23427,11 +23427,11 @@ function OrderSidebar({
|
|
|
23427
23427
|
const getPriorityColor = () => {
|
|
23428
23428
|
switch (priority) {
|
|
23429
23429
|
case "stat":
|
|
23430
|
-
return "text-red-
|
|
23430
|
+
return "text-red-700 dark:text-red-400";
|
|
23431
23431
|
case "urgent":
|
|
23432
|
-
return "text-orange-
|
|
23432
|
+
return "text-orange-700 dark:text-orange-400";
|
|
23433
23433
|
default:
|
|
23434
|
-
return "text-
|
|
23434
|
+
return "text-muted-foreground";
|
|
23435
23435
|
}
|
|
23436
23436
|
};
|
|
23437
23437
|
if (!open) return null;
|
|
@@ -23446,7 +23446,7 @@ function OrderSidebar({
|
|
|
23446
23446
|
}
|
|
23447
23447
|
),
|
|
23448
23448
|
/* @__PURE__ */ jsxs(
|
|
23449
|
-
"
|
|
23449
|
+
"div",
|
|
23450
23450
|
{
|
|
23451
23451
|
"data-slot": "order-sidebar",
|
|
23452
23452
|
className: `fixed top-0 right-0 z-50 h-full w-full max-w-md translate-x-0 transform bg-white shadow-xl transition-transform duration-300 dark:bg-gray-900 ${className}`,
|
|
@@ -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",
|
|
@@ -23519,48 +23519,46 @@ function OrderSidebar({
|
|
|
23519
23519
|
]
|
|
23520
23520
|
}
|
|
23521
23521
|
),
|
|
23522
|
-
/* @__PURE__ */ jsxs(
|
|
23523
|
-
|
|
23524
|
-
|
|
23525
|
-
|
|
23526
|
-
|
|
23527
|
-
|
|
23528
|
-
|
|
23529
|
-
|
|
23530
|
-
|
|
23531
|
-
|
|
23532
|
-
|
|
23533
|
-
|
|
23534
|
-
|
|
23535
|
-
|
|
23536
|
-
|
|
23537
|
-
|
|
23538
|
-
|
|
23539
|
-
|
|
23540
|
-
children: [
|
|
23541
|
-
/* @__PURE__ */
|
|
23542
|
-
|
|
23543
|
-
|
|
23544
|
-
|
|
23545
|
-
/* @__PURE__ */
|
|
23546
|
-
|
|
23547
|
-
|
|
23548
|
-
|
|
23549
|
-
|
|
23550
|
-
|
|
23551
|
-
|
|
23552
|
-
|
|
23553
|
-
|
|
23554
|
-
|
|
23555
|
-
|
|
23556
|
-
|
|
23557
|
-
|
|
23558
|
-
|
|
23559
|
-
|
|
23560
|
-
|
|
23561
|
-
|
|
23562
|
-
] })
|
|
23563
|
-
] }),
|
|
23522
|
+
/* @__PURE__ */ jsxs(
|
|
23523
|
+
"dl",
|
|
23524
|
+
{
|
|
23525
|
+
"data-slot": "order-sidebar-details",
|
|
23526
|
+
className: "grid grid-cols-2 gap-4",
|
|
23527
|
+
children: [
|
|
23528
|
+
patientName && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
|
|
23529
|
+
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Patient" }),
|
|
23530
|
+
/* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: patientName })
|
|
23531
|
+
] }),
|
|
23532
|
+
employerName && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
|
|
23533
|
+
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Employer" }),
|
|
23534
|
+
/* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: employerName })
|
|
23535
|
+
] }),
|
|
23536
|
+
serviceName && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
|
|
23537
|
+
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Service" }),
|
|
23538
|
+
/* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: serviceName })
|
|
23539
|
+
] }),
|
|
23540
|
+
/* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", children: [
|
|
23541
|
+
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Created" }),
|
|
23542
|
+
/* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: formatDate4(createdAt) })
|
|
23543
|
+
] }),
|
|
23544
|
+
/* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", children: [
|
|
23545
|
+
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Scheduled" }),
|
|
23546
|
+
/* @__PURE__ */ jsx("dd", { className: "mt-1 text-sm text-gray-900 dark:text-white", children: formatDate4(scheduledDate) })
|
|
23547
|
+
] }),
|
|
23548
|
+
notes && /* @__PURE__ */ jsxs("div", { "data-slot": "order-sidebar-detail", className: "col-span-2", children: [
|
|
23549
|
+
/* @__PURE__ */ jsx("dt", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Notes" }),
|
|
23550
|
+
/* @__PURE__ */ jsx(
|
|
23551
|
+
"dd",
|
|
23552
|
+
{
|
|
23553
|
+
"data-slot": "order-sidebar-notes",
|
|
23554
|
+
className: "text-muted-foreground mt-1 rounded-lg bg-gray-50 p-3 text-sm dark:bg-gray-800",
|
|
23555
|
+
children: notes
|
|
23556
|
+
}
|
|
23557
|
+
)
|
|
23558
|
+
] })
|
|
23559
|
+
]
|
|
23560
|
+
}
|
|
23561
|
+
),
|
|
23564
23562
|
children && /* @__PURE__ */ jsx("div", { className: "mt-6", children })
|
|
23565
23563
|
]
|
|
23566
23564
|
}
|
|
@@ -23630,7 +23628,7 @@ function PageHeader({
|
|
|
23630
23628
|
"div",
|
|
23631
23629
|
{
|
|
23632
23630
|
"data-slot": "page-header-icon",
|
|
23633
|
-
className: `
|
|
23631
|
+
className: `text-muted-foreground flex-shrink-0 ${iconAlign === "top" ? "mt-1" : ""}`,
|
|
23634
23632
|
children: icon
|
|
23635
23633
|
}
|
|
23636
23634
|
),
|
|
@@ -23647,7 +23645,7 @@ function PageHeader({
|
|
|
23647
23645
|
"p",
|
|
23648
23646
|
{
|
|
23649
23647
|
"data-slot": "page-header-subtitle",
|
|
23650
|
-
className: "mt-1 truncate text-sm
|
|
23648
|
+
className: "text-muted-foreground mt-1 truncate text-sm",
|
|
23651
23649
|
children: subtitle
|
|
23652
23650
|
}
|
|
23653
23651
|
)
|
|
@@ -24750,7 +24748,7 @@ function PaymentHistoryTable({
|
|
|
24750
24748
|
/* @__PURE__ */ jsx(
|
|
24751
24749
|
"svg",
|
|
24752
24750
|
{
|
|
24753
|
-
className: "mx-auto mb-3 h-12 w-12
|
|
24751
|
+
className: "text-muted-foreground dark:text-muted-foreground mx-auto mb-3 h-12 w-12",
|
|
24754
24752
|
fill: "none",
|
|
24755
24753
|
stroke: "currentColor",
|
|
24756
24754
|
viewBox: "0 0 24 24",
|
|
@@ -24765,14 +24763,7 @@ function PaymentHistoryTable({
|
|
|
24765
24763
|
)
|
|
24766
24764
|
}
|
|
24767
24765
|
),
|
|
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
|
-
)
|
|
24766
|
+
/* @__PURE__ */ jsx("p", { "data-slot": "payment-history-empty", className: "text-muted-foreground", children: emptyMessage })
|
|
24776
24767
|
]
|
|
24777
24768
|
}
|
|
24778
24769
|
);
|
|
@@ -24784,13 +24775,13 @@ function PaymentHistoryTable({
|
|
|
24784
24775
|
className: `overflow-hidden rounded-lg border border-gray-200 dark:border-gray-700 ${className}`,
|
|
24785
24776
|
children: /* @__PURE__ */ jsxs("table", { "data-slot": "payment-history-table", className: "w-full", children: [
|
|
24786
24777
|
/* @__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
|
|
24778
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-left text-xs font-medium tracking-wider uppercase", children: "Date" }),
|
|
24779
|
+
/* @__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" }),
|
|
24780
|
+
/* @__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" }),
|
|
24781
|
+
/* @__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" }),
|
|
24782
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-right text-xs font-medium tracking-wider uppercase", children: "Amount" }),
|
|
24783
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-center text-xs font-medium tracking-wider uppercase", children: "Status" }),
|
|
24784
|
+
onRefund && /* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-right text-xs font-medium tracking-wider uppercase", children: "Action" })
|
|
24794
24785
|
] }) }),
|
|
24795
24786
|
/* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: payments.map((payment) => /* @__PURE__ */ jsxs(
|
|
24796
24787
|
"tr",
|
|
@@ -24801,7 +24792,7 @@ function PaymentHistoryTable({
|
|
|
24801
24792
|
children: [
|
|
24802
24793
|
/* @__PURE__ */ jsxs("td", { className: "px-4 py-3", children: [
|
|
24803
24794
|
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white", children: formatDate4(payment.date) }),
|
|
24804
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
24795
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs sm:hidden", children: payment.invoiceNumber })
|
|
24805
24796
|
] }),
|
|
24806
24797
|
/* @__PURE__ */ jsx("td", { className: "hidden px-4 py-3 sm:table-cell", children: payment.invoiceId && onInvoiceClick ? /* @__PURE__ */ jsx(
|
|
24807
24798
|
"button",
|
|
@@ -24815,7 +24806,7 @@ function PaymentHistoryTable({
|
|
|
24815
24806
|
}
|
|
24816
24807
|
) : /* @__PURE__ */ jsx("p", { className: "text-sm text-gray-700 dark:text-gray-300", children: payment.invoiceNumber }) }),
|
|
24817
24808
|
/* @__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
|
|
24809
|
+
/* @__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
24810
|
getMethodIcon(payment.method),
|
|
24820
24811
|
/* @__PURE__ */ jsxs("span", { className: "text-sm", children: [
|
|
24821
24812
|
getMethodLabel(payment.method),
|
|
@@ -24825,7 +24816,7 @@ function PaymentHistoryTable({
|
|
|
24825
24816
|
/* @__PURE__ */ jsx("td", { className: "px-4 py-3 text-right", children: /* @__PURE__ */ jsx(
|
|
24826
24817
|
"p",
|
|
24827
24818
|
{
|
|
24828
|
-
className: `font-medium ${payment.status === "refunded" ? "text-
|
|
24819
|
+
className: `font-medium ${payment.status === "refunded" ? "text-muted-foreground line-through" : "text-gray-900 dark:text-white"}`,
|
|
24829
24820
|
children: formatCurrency3(payment.amount)
|
|
24830
24821
|
}
|
|
24831
24822
|
) }),
|
|
@@ -24925,7 +24916,7 @@ function PaymentMethodCard({
|
|
|
24925
24916
|
/* @__PURE__ */ jsx(
|
|
24926
24917
|
"span",
|
|
24927
24918
|
{
|
|
24928
|
-
className: "text-xs font-medium
|
|
24919
|
+
className: "text-muted-foreground text-xs font-medium uppercase",
|
|
24929
24920
|
"data-slot": "payment-card-label",
|
|
24930
24921
|
children: "Credit Card"
|
|
24931
24922
|
}
|
|
@@ -24953,7 +24944,7 @@ function PaymentMethodCard({
|
|
|
24953
24944
|
"\u2022\u2022\u2022\u2022 ",
|
|
24954
24945
|
card.last4
|
|
24955
24946
|
] }),
|
|
24956
|
-
/* @__PURE__ */ jsxs("div", { className: "text-
|
|
24947
|
+
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground text-sm", children: [
|
|
24957
24948
|
expMonth,
|
|
24958
24949
|
"/",
|
|
24959
24950
|
expYear
|
|
@@ -24980,7 +24971,7 @@ function PaymentMethodCard({
|
|
|
24980
24971
|
className: "text-brand-600 focus:ring-brand-500"
|
|
24981
24972
|
}
|
|
24982
24973
|
),
|
|
24983
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
24974
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs", children: "Set as default" })
|
|
24984
24975
|
] }) : /* @__PURE__ */ jsx("div", {}),
|
|
24985
24976
|
showDelete && onDelete && /* @__PURE__ */ jsx(
|
|
24986
24977
|
"button",
|
|
@@ -25055,11 +25046,11 @@ function PaymentMethodBank({
|
|
|
25055
25046
|
"data-slot": "payment-bank-header",
|
|
25056
25047
|
children: [
|
|
25057
25048
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
25058
|
-
/* @__PURE__ */ jsx(BankIcon, { className: "h-5 w-5
|
|
25049
|
+
/* @__PURE__ */ jsx(BankIcon, { className: "text-muted-foreground h-5 w-5" }),
|
|
25059
25050
|
/* @__PURE__ */ jsx(
|
|
25060
25051
|
"span",
|
|
25061
25052
|
{
|
|
25062
|
-
className: "text-xs font-medium
|
|
25053
|
+
className: "text-muted-foreground text-xs font-medium uppercase",
|
|
25063
25054
|
"data-slot": "payment-bank-label",
|
|
25064
25055
|
children: "ACH"
|
|
25065
25056
|
}
|
|
@@ -25075,13 +25066,13 @@ function PaymentMethodBank({
|
|
|
25075
25066
|
),
|
|
25076
25067
|
/* @__PURE__ */ jsxs("div", { className: "mt-3 space-y-1", "data-slot": "payment-bank-details", children: [
|
|
25077
25068
|
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
|
|
25069
|
+
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground font-mono text-sm", children: [
|
|
25079
25070
|
/* @__PURE__ */ jsx("span", { className: "hidden lg:inline", children: "\u2022\u2022\u2022\u2022 \u2022\u2022\u2022\u2022 " }),
|
|
25080
25071
|
"\u2022\u2022\u2022\u2022",
|
|
25081
25072
|
" ",
|
|
25082
25073
|
account.last4
|
|
25083
25074
|
] }),
|
|
25084
|
-
account.accountType && /* @__PURE__ */ jsx("div", { className: "text-
|
|
25075
|
+
account.accountType && /* @__PURE__ */ jsx("div", { className: "text-muted-foreground text-xs capitalize", children: account.accountType })
|
|
25085
25076
|
] }),
|
|
25086
25077
|
/* @__PURE__ */ jsxs(
|
|
25087
25078
|
"div",
|
|
@@ -25102,7 +25093,7 @@ function PaymentMethodBank({
|
|
|
25102
25093
|
className: "text-brand-600 focus:ring-brand-500"
|
|
25103
25094
|
}
|
|
25104
25095
|
),
|
|
25105
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
25096
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-xs", children: "Set as default" })
|
|
25106
25097
|
] }) : /* @__PURE__ */ jsx("div", {}),
|
|
25107
25098
|
showDelete && onDelete && /* @__PURE__ */ jsx(
|
|
25108
25099
|
"button",
|
|
@@ -25310,7 +25301,7 @@ function PendingClaimsTable({
|
|
|
25310
25301
|
/* @__PURE__ */ jsx(
|
|
25311
25302
|
"svg",
|
|
25312
25303
|
{
|
|
25313
|
-
className: "mx-auto mb-3 h-12 w-12
|
|
25304
|
+
className: "text-muted-foreground dark:text-muted-foreground mx-auto mb-3 h-12 w-12",
|
|
25314
25305
|
fill: "none",
|
|
25315
25306
|
stroke: "currentColor",
|
|
25316
25307
|
viewBox: "0 0 24 24",
|
|
@@ -25325,14 +25316,7 @@ function PendingClaimsTable({
|
|
|
25325
25316
|
)
|
|
25326
25317
|
}
|
|
25327
25318
|
),
|
|
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
|
-
)
|
|
25319
|
+
/* @__PURE__ */ jsx("p", { "data-slot": "pending-claims-empty", className: "text-muted-foreground", children: emptyMessage })
|
|
25336
25320
|
]
|
|
25337
25321
|
}
|
|
25338
25322
|
);
|
|
@@ -25345,11 +25329,11 @@ function PendingClaimsTable({
|
|
|
25345
25329
|
children: [
|
|
25346
25330
|
/* @__PURE__ */ jsx("div", { className: "hidden md:block", children: /* @__PURE__ */ jsxs("table", { "data-slot": "pending-claims-table", className: "w-full", children: [
|
|
25347
25331
|
/* @__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
|
|
25332
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-left text-xs font-medium tracking-wider uppercase", children: "Claimant" }),
|
|
25333
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-left text-xs font-medium tracking-wider uppercase", children: "Role" }),
|
|
25334
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-left text-xs font-medium tracking-wider uppercase", children: "Submitted" }),
|
|
25335
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-center text-xs font-medium tracking-wider uppercase", children: "Status" }),
|
|
25336
|
+
/* @__PURE__ */ jsx("th", { className: "text-muted-foreground px-4 py-3 text-right text-xs font-medium tracking-wider uppercase", children: "Actions" })
|
|
25353
25337
|
] }) }),
|
|
25354
25338
|
/* @__PURE__ */ jsx("tbody", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: claims.map((claim) => /* @__PURE__ */ jsxs(
|
|
25355
25339
|
"tr",
|
|
@@ -25361,11 +25345,11 @@ function PendingClaimsTable({
|
|
|
25361
25345
|
/* @__PURE__ */ jsx(Avatar, { name: claim.claimantName, size: "sm" }),
|
|
25362
25346
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
25363
25347
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: claim.claimantName }),
|
|
25364
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
25348
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: claim.claimantEmail })
|
|
25365
25349
|
] })
|
|
25366
25350
|
] }) }),
|
|
25367
25351
|
/* @__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-
|
|
25352
|
+
/* @__PURE__ */ jsx("td", { className: "px-4 py-4", children: /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: formatDate4(claim.submittedDate) }) }),
|
|
25369
25353
|
/* @__PURE__ */ jsx("td", { className: "px-4 py-4 text-center", children: /* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(claim.status), children: claim.status }) }),
|
|
25370
25354
|
/* @__PURE__ */ jsx("td", { className: "px-4 py-4 text-right", children: /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-end gap-2", children: [
|
|
25371
25355
|
onViewDetails && /* @__PURE__ */ jsx(
|
|
@@ -25420,12 +25404,12 @@ function PendingClaimsTable({
|
|
|
25420
25404
|
/* @__PURE__ */ jsx(Avatar, { name: claim.claimantName, size: "sm" }),
|
|
25421
25405
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
25422
25406
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: claim.claimantName }),
|
|
25423
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
25407
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: claim.claimantEmail })
|
|
25424
25408
|
] })
|
|
25425
25409
|
] }),
|
|
25426
25410
|
/* @__PURE__ */ jsx(Badge, { variant: getStatusVariant(claim.status), children: claim.status })
|
|
25427
25411
|
] }),
|
|
25428
|
-
/* @__PURE__ */ jsx("div", { className: "mt-3 flex items-center justify-between", children: /* @__PURE__ */ jsxs("div", { className: "text-
|
|
25412
|
+
/* @__PURE__ */ jsx("div", { className: "mt-3 flex items-center justify-between", children: /* @__PURE__ */ jsxs("div", { className: "text-muted-foreground text-sm", children: [
|
|
25429
25413
|
/* @__PURE__ */ jsx("span", { children: claim.claimantRole || "No role" }),
|
|
25430
25414
|
/* @__PURE__ */ jsx("span", { className: "mx-2", children: "\u2022" }),
|
|
25431
25415
|
/* @__PURE__ */ jsx("span", { children: formatDate4(claim.submittedDate) })
|
|
@@ -26463,7 +26447,7 @@ var actionButtonVariants = cva(
|
|
|
26463
26447
|
{
|
|
26464
26448
|
variants: {
|
|
26465
26449
|
variant: {
|
|
26466
|
-
default: "text-
|
|
26450
|
+
default: "text-muted-foreground hover:text-primary-800 hover:bg-gray-50 dark:hover:text-primary-400 dark:hover:bg-gray-800",
|
|
26467
26451
|
active: "text-primary-800 bg-primary-50 dark:text-primary-300 dark:bg-primary-900/20"
|
|
26468
26452
|
}
|
|
26469
26453
|
},
|
|
@@ -26579,7 +26563,7 @@ function Breadcrumb2({ items, className }) {
|
|
|
26579
26563
|
"data-slot": "provider-detail-breadcrumb",
|
|
26580
26564
|
className: cn("py-2", className),
|
|
26581
26565
|
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
|
|
26566
|
+
index > 0 && /* @__PURE__ */ jsx(ChevronRightIcon, { className: "text-muted-foreground mx-2 h-4 w-4" }),
|
|
26583
26567
|
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
26568
|
"a",
|
|
26585
26569
|
{
|
|
@@ -26606,7 +26590,7 @@ function MobileBackButton({
|
|
|
26606
26590
|
"a",
|
|
26607
26591
|
{
|
|
26608
26592
|
href,
|
|
26609
|
-
className: "bg-primary-
|
|
26593
|
+
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
26594
|
children: [
|
|
26611
26595
|
/* @__PURE__ */ jsx(ChevronLeftIcon, { className: "h-4 w-4" }),
|
|
26612
26596
|
label
|
|
@@ -26730,7 +26714,7 @@ function SocialMediaLinks({
|
|
|
26730
26714
|
rel: "noopener noreferrer",
|
|
26731
26715
|
title: `Visit ${providerName} on ${link.label}`,
|
|
26732
26716
|
className: cn(
|
|
26733
|
-
"hover:text-primary-
|
|
26717
|
+
"hover:text-primary-800 dark:hover:text-primary-400 text-muted-foreground transition-colors",
|
|
26734
26718
|
socialIconSizes[size]
|
|
26735
26719
|
),
|
|
26736
26720
|
children: [
|
|
@@ -26759,7 +26743,7 @@ function VerifiedBadge2({
|
|
|
26759
26743
|
{
|
|
26760
26744
|
"data-slot": "provider-detail-verified",
|
|
26761
26745
|
className: cn(
|
|
26762
|
-
"flex items-center gap-2 text-sm
|
|
26746
|
+
"text-muted-foreground flex items-center gap-2 text-sm",
|
|
26763
26747
|
className
|
|
26764
26748
|
),
|
|
26765
26749
|
children: [
|
|
@@ -26802,20 +26786,14 @@ function AddressDisplay({
|
|
|
26802
26786
|
target: "_blank",
|
|
26803
26787
|
rel: "noopener noreferrer",
|
|
26804
26788
|
className: cn(
|
|
26805
|
-
"hover:text-primary-
|
|
26789
|
+
"hover:text-primary-800 dark:hover:text-primary-400 text-muted-foreground hover:underline",
|
|
26806
26790
|
className
|
|
26807
26791
|
),
|
|
26808
26792
|
children: addressContent
|
|
26809
26793
|
}
|
|
26810
26794
|
);
|
|
26811
26795
|
}
|
|
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
|
-
);
|
|
26796
|
+
return /* @__PURE__ */ jsx("address", { className: cn("text-muted-foreground not-italic", className), children: addressContent });
|
|
26819
26797
|
}
|
|
26820
26798
|
function ClaimListingButton({
|
|
26821
26799
|
slug,
|
|
@@ -26828,7 +26806,7 @@ function ClaimListingButton({
|
|
|
26828
26806
|
{
|
|
26829
26807
|
href: claimUrl,
|
|
26830
26808
|
className: cn(
|
|
26831
|
-
"hover:text-primary-
|
|
26809
|
+
"hover:text-primary-800 dark:hover:text-primary-400 text-muted-foreground inline-flex items-center gap-2 text-sm",
|
|
26832
26810
|
className
|
|
26833
26811
|
),
|
|
26834
26812
|
children: [
|
|
@@ -26845,7 +26823,7 @@ function ReportLink({ slug, href, className }) {
|
|
|
26845
26823
|
{
|
|
26846
26824
|
href: reportUrl,
|
|
26847
26825
|
className: cn(
|
|
26848
|
-
"inline-flex items-center gap-2 text-sm
|
|
26826
|
+
"text-muted-foreground inline-flex items-center gap-2 text-sm hover:text-gray-700 dark:hover:text-gray-300",
|
|
26849
26827
|
className
|
|
26850
26828
|
),
|
|
26851
26829
|
children: [
|
|
@@ -26865,7 +26843,7 @@ var bookButtonVariants = cva(
|
|
|
26865
26843
|
lg: "px-6 py-3 text-lg"
|
|
26866
26844
|
},
|
|
26867
26845
|
variant: {
|
|
26868
|
-
primary: "bg-primary-
|
|
26846
|
+
primary: "bg-primary-800 text-white hover:bg-primary-900 focus:ring-primary-500",
|
|
26869
26847
|
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
26848
|
}
|
|
26871
26849
|
},
|
|
@@ -27041,7 +27019,7 @@ function CompactProviderHeader({
|
|
|
27041
27019
|
showLogo && /* @__PURE__ */ jsx(ProviderLogo2, { src: provider.logoUrl, name: provider.name, size: "sm" }),
|
|
27042
27020
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
27043
27021
|
/* @__PURE__ */ jsx("h2", { className: "truncate text-lg font-semibold text-gray-900 dark:text-white", children: provider.name }),
|
|
27044
|
-
/* @__PURE__ */ jsxs("p", { className: "
|
|
27022
|
+
/* @__PURE__ */ jsxs("p", { className: "text-muted-foreground truncate text-sm", children: [
|
|
27045
27023
|
provider.address.city,
|
|
27046
27024
|
", ",
|
|
27047
27025
|
provider.address.state,
|
|
@@ -27521,7 +27499,7 @@ function ProviderOverview({
|
|
|
27521
27499
|
) : /* @__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
27500
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
27523
27501
|
/* @__PURE__ */ jsx("h1", { className: "text-xl font-bold text-gray-900 dark:text-white", children: providerName }),
|
|
27524
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
27502
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Dashboard Overview" })
|
|
27525
27503
|
] })
|
|
27526
27504
|
]
|
|
27527
27505
|
}
|
|
@@ -27654,7 +27632,7 @@ function ProviderOverview({
|
|
|
27654
27632
|
},
|
|
27655
27633
|
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
27634
|
children: [
|
|
27657
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
27635
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: action.icon || /* @__PURE__ */ jsx(
|
|
27658
27636
|
"svg",
|
|
27659
27637
|
{
|
|
27660
27638
|
className: "h-5 w-5",
|
|
@@ -27689,7 +27667,7 @@ function ProviderOverview({
|
|
|
27689
27667
|
onKeyDown: (e) => e.key === "Enter" && onActivityClick?.(activity),
|
|
27690
27668
|
className: `flex items-start gap-3 rounded-lg p-2 ${onActivityClick ? "cursor-pointer hover:bg-gray-50 dark:hover:bg-gray-800" : ""} `,
|
|
27691
27669
|
children: [
|
|
27692
|
-
/* @__PURE__ */ jsx("div", { className: "rounded-full bg-gray-100 p-2
|
|
27670
|
+
/* @__PURE__ */ jsx("div", { className: "text-muted-foreground rounded-full bg-gray-100 p-2 dark:bg-gray-800", children: getActivityIcon(activity.type) }),
|
|
27693
27671
|
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
27694
27672
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
27695
27673
|
/* @__PURE__ */ jsx("p", { className: "truncate font-medium text-gray-900 dark:text-white", children: activity.title }),
|
|
@@ -27701,8 +27679,8 @@ function ProviderOverview({
|
|
|
27701
27679
|
}
|
|
27702
27680
|
)
|
|
27703
27681
|
] }),
|
|
27704
|
-
activity.description && /* @__PURE__ */ jsx("p", { className: "
|
|
27705
|
-
/* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs
|
|
27682
|
+
activity.description && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground truncate text-sm", children: activity.description }),
|
|
27683
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-0.5 text-xs", children: formatTime4(activity.timestamp) })
|
|
27706
27684
|
] })
|
|
27707
27685
|
]
|
|
27708
27686
|
},
|
|
@@ -27731,7 +27709,7 @@ function StatCard({ label, value, icon, color, onClick }) {
|
|
|
27731
27709
|
/* @__PURE__ */ jsx("div", { className: `rounded-lg p-2 ${colorClasses[color]}`, children: icon }),
|
|
27732
27710
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
27733
27711
|
/* @__PURE__ */ jsx("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: value }),
|
|
27734
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
27712
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: label })
|
|
27735
27713
|
] })
|
|
27736
27714
|
] })
|
|
27737
27715
|
}
|
|
@@ -28425,7 +28403,7 @@ function ServiceMultiSelect({
|
|
|
28425
28403
|
className: cn(
|
|
28426
28404
|
selectVariants(),
|
|
28427
28405
|
"w-full text-left",
|
|
28428
|
-
!selectedServices.length && "text-
|
|
28406
|
+
!selectedServices.length && "text-muted-foreground",
|
|
28429
28407
|
disabled && "cursor-not-allowed opacity-50"
|
|
28430
28408
|
),
|
|
28431
28409
|
children: selectedServices.length > 0 ? `${selectedServices.length} service${selectedServices.length > 1 ? "s" : ""} selected` : placeholder
|
|
@@ -28482,7 +28460,7 @@ function ServiceMultiSelect({
|
|
|
28482
28460
|
{
|
|
28483
28461
|
className: cn(
|
|
28484
28462
|
"flex h-4 w-4 items-center justify-center rounded border",
|
|
28485
|
-
isSelected ? "bg-primary-
|
|
28463
|
+
isSelected ? "bg-primary-800 border-primary-500 text-white" : "border-neutral-300 dark:border-neutral-600"
|
|
28486
28464
|
),
|
|
28487
28465
|
children: isSelected && /* @__PURE__ */ jsx(
|
|
28488
28466
|
"svg",
|
|
@@ -28508,7 +28486,7 @@ function ServiceMultiSelect({
|
|
|
28508
28486
|
);
|
|
28509
28487
|
})
|
|
28510
28488
|
] }, category)
|
|
28511
|
-
) : /* @__PURE__ */ jsx("div", { className: "px-3 py-4 text-center text-sm
|
|
28489
|
+
) : /* @__PURE__ */ jsx("div", { className: "text-muted-foreground px-3 py-4 text-center text-sm", children: "No services found" }),
|
|
28512
28490
|
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
28491
|
"button",
|
|
28514
28492
|
{
|
|
@@ -28738,7 +28716,7 @@ function CompactFilterBar({
|
|
|
28738
28716
|
disabled: loading,
|
|
28739
28717
|
className: cn(
|
|
28740
28718
|
"h-9 rounded-md px-4 text-sm font-medium",
|
|
28741
|
-
"bg-primary-
|
|
28719
|
+
"bg-primary-800 hover:bg-primary-900 text-white",
|
|
28742
28720
|
"focus:ring-primary-500 focus:ring-2 focus:ring-offset-2 focus:outline-none",
|
|
28743
28721
|
"disabled:cursor-not-allowed disabled:opacity-50"
|
|
28744
28722
|
),
|
|
@@ -28819,7 +28797,7 @@ function ActiveFilters({
|
|
|
28819
28797
|
className: cn("flex flex-wrap items-center gap-2", className),
|
|
28820
28798
|
"data-slot": "provider-active-filters",
|
|
28821
28799
|
children: [
|
|
28822
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
28800
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm", children: "Active filters:" }),
|
|
28823
28801
|
activeFilters.map((filter) => /* @__PURE__ */ jsxs(
|
|
28824
28802
|
"span",
|
|
28825
28803
|
{
|
|
@@ -28849,7 +28827,7 @@ function ActiveFilters({
|
|
|
28849
28827
|
{
|
|
28850
28828
|
type: "button",
|
|
28851
28829
|
onClick: onClearAll,
|
|
28852
|
-
className: "text-primary-
|
|
28830
|
+
className: "text-primary-800 hover:text-primary-900 dark:text-primary-400 dark:hover:text-primary-300 text-sm",
|
|
28853
28831
|
children: "Clear all"
|
|
28854
28832
|
}
|
|
28855
28833
|
)
|
|
@@ -29533,7 +29511,7 @@ function ProviderSettings({
|
|
|
29533
29511
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
29534
29512
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
29535
29513
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-700 dark:text-gray-300", children: "New Orders" }),
|
|
29536
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
29514
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Receive email when a new order is placed" })
|
|
29537
29515
|
] }),
|
|
29538
29516
|
/* @__PURE__ */ jsx(
|
|
29539
29517
|
Switch,
|
|
@@ -29546,7 +29524,7 @@ function ProviderSettings({
|
|
|
29546
29524
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
29547
29525
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
29548
29526
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-700 dark:text-gray-300", children: "Order Updates" }),
|
|
29549
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
29527
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Receive email when an order status changes" })
|
|
29550
29528
|
] }),
|
|
29551
29529
|
/* @__PURE__ */ jsx(
|
|
29552
29530
|
Switch,
|
|
@@ -29559,7 +29537,7 @@ function ProviderSettings({
|
|
|
29559
29537
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
29560
29538
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
29561
29539
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-700 dark:text-gray-300", children: "Invoice Notifications" }),
|
|
29562
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
29540
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Receive email for invoice activity" })
|
|
29563
29541
|
] }),
|
|
29564
29542
|
/* @__PURE__ */ jsx(
|
|
29565
29543
|
Switch,
|
|
@@ -29577,7 +29555,7 @@ function ProviderSettings({
|
|
|
29577
29555
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
29578
29556
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
29579
29557
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-700 dark:text-gray-300", children: "New Orders" }),
|
|
29580
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
29558
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Receive SMS when a new order is placed" })
|
|
29581
29559
|
] }),
|
|
29582
29560
|
/* @__PURE__ */ jsx(
|
|
29583
29561
|
Switch,
|
|
@@ -29590,7 +29568,7 @@ function ProviderSettings({
|
|
|
29590
29568
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
29591
29569
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
29592
29570
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-700 dark:text-gray-300", children: "Order Updates" }),
|
|
29593
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
29571
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Receive SMS when an order status changes" })
|
|
29594
29572
|
] }),
|
|
29595
29573
|
/* @__PURE__ */ jsx(
|
|
29596
29574
|
Switch,
|
|
@@ -29611,7 +29589,7 @@ function ProviderSettings({
|
|
|
29611
29589
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
29612
29590
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
29613
29591
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-700 dark:text-gray-300", children: "Accepting New Patients" }),
|
|
29614
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
29592
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Allow new patients to schedule appointments" })
|
|
29615
29593
|
] }),
|
|
29616
29594
|
/* @__PURE__ */ jsx(
|
|
29617
29595
|
Switch,
|
|
@@ -29624,7 +29602,7 @@ function ProviderSettings({
|
|
|
29624
29602
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
29625
29603
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
29626
29604
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-700 dark:text-gray-300", children: "Require Appointment" }),
|
|
29627
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
29605
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: "Patients must schedule before arriving" })
|
|
29628
29606
|
] }),
|
|
29629
29607
|
/* @__PURE__ */ jsx(
|
|
29630
29608
|
Switch,
|
|
@@ -29658,7 +29636,7 @@ function ProviderSettings({
|
|
|
29658
29636
|
)
|
|
29659
29637
|
}
|
|
29660
29638
|
),
|
|
29661
|
-
/* @__PURE__ */ jsx("p", { className: "mt-1 text-xs
|
|
29639
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: "Minimum time between appointments" })
|
|
29662
29640
|
] }),
|
|
29663
29641
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
29664
29642
|
/* @__PURE__ */ jsx(
|
|
@@ -29682,7 +29660,7 @@ function ProviderSettings({
|
|
|
29682
29660
|
)
|
|
29683
29661
|
}
|
|
29684
29662
|
),
|
|
29685
|
-
/* @__PURE__ */ jsx("p", { className: "mt-1 text-xs
|
|
29663
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: "Maximum appointments allowed per day" })
|
|
29686
29664
|
] })
|
|
29687
29665
|
] })
|
|
29688
29666
|
] })
|
|
@@ -29698,7 +29676,7 @@ function ProviderSettings({
|
|
|
29698
29676
|
/* @__PURE__ */ jsx(
|
|
29699
29677
|
"svg",
|
|
29700
29678
|
{
|
|
29701
|
-
className: "h-8 w-8
|
|
29679
|
+
className: "text-muted-foreground h-8 w-8",
|
|
29702
29680
|
fill: "none",
|
|
29703
29681
|
stroke: "currentColor",
|
|
29704
29682
|
viewBox: "0 0 24 24",
|
|
@@ -29728,7 +29706,7 @@ function ProviderSettings({
|
|
|
29728
29706
|
/* @__PURE__ */ jsx(
|
|
29729
29707
|
"svg",
|
|
29730
29708
|
{
|
|
29731
|
-
className: "h-8 w-8
|
|
29709
|
+
className: "text-muted-foreground h-8 w-8",
|
|
29732
29710
|
fill: "none",
|
|
29733
29711
|
stroke: "currentColor",
|
|
29734
29712
|
viewBox: "0 0 24 24",
|
|
@@ -29758,7 +29736,7 @@ function ProviderSettings({
|
|
|
29758
29736
|
/* @__PURE__ */ jsx(
|
|
29759
29737
|
"svg",
|
|
29760
29738
|
{
|
|
29761
|
-
className: "h-8 w-8
|
|
29739
|
+
className: "text-muted-foreground h-8 w-8",
|
|
29762
29740
|
fill: "none",
|
|
29763
29741
|
stroke: "currentColor",
|
|
29764
29742
|
viewBox: "0 0 24 24",
|
|
@@ -29788,7 +29766,7 @@ function ProviderSettings({
|
|
|
29788
29766
|
/* @__PURE__ */ jsx(
|
|
29789
29767
|
"svg",
|
|
29790
29768
|
{
|
|
29791
|
-
className: "h-8 w-8
|
|
29769
|
+
className: "text-muted-foreground h-8 w-8",
|
|
29792
29770
|
fill: "none",
|
|
29793
29771
|
stroke: "currentColor",
|
|
29794
29772
|
viewBox: "0 0 24 24",
|
|
@@ -29837,7 +29815,7 @@ function ProviderSettings({
|
|
|
29837
29815
|
)
|
|
29838
29816
|
}
|
|
29839
29817
|
),
|
|
29840
|
-
/* @__PURE__ */ jsx("p", { className: "mt-1 text-xs
|
|
29818
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: "Number of days until invoice is due (e.g., Net 30)" })
|
|
29841
29819
|
] }) })
|
|
29842
29820
|
] })
|
|
29843
29821
|
] }) }) })
|
|
@@ -29945,33 +29923,27 @@ function ProviderUsersTable({
|
|
|
29945
29923
|
)) });
|
|
29946
29924
|
}
|
|
29947
29925
|
if (users.length === 0) {
|
|
29948
|
-
return /* @__PURE__ */ jsxs(
|
|
29949
|
-
|
|
29950
|
-
|
|
29951
|
-
|
|
29952
|
-
|
|
29953
|
-
|
|
29954
|
-
|
|
29926
|
+
return /* @__PURE__ */ jsxs("div", { className: `text-muted-foreground py-12 text-center ${className}`, children: [
|
|
29927
|
+
/* @__PURE__ */ jsx(
|
|
29928
|
+
"svg",
|
|
29929
|
+
{
|
|
29930
|
+
className: "mx-auto h-12 w-12 text-gray-400",
|
|
29931
|
+
fill: "none",
|
|
29932
|
+
stroke: "currentColor",
|
|
29933
|
+
viewBox: "0 0 24 24",
|
|
29934
|
+
children: /* @__PURE__ */ jsx(
|
|
29935
|
+
"path",
|
|
29955
29936
|
{
|
|
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
|
-
)
|
|
29937
|
+
strokeLinecap: "round",
|
|
29938
|
+
strokeLinejoin: "round",
|
|
29939
|
+
strokeWidth: 1.5,
|
|
29940
|
+
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
29941
|
}
|
|
29970
|
-
)
|
|
29971
|
-
|
|
29972
|
-
|
|
29973
|
-
}
|
|
29974
|
-
);
|
|
29942
|
+
)
|
|
29943
|
+
}
|
|
29944
|
+
),
|
|
29945
|
+
/* @__PURE__ */ jsx("p", { className: "mt-2", children: emptyMessage })
|
|
29946
|
+
] });
|
|
29975
29947
|
}
|
|
29976
29948
|
return /* @__PURE__ */ jsx(
|
|
29977
29949
|
"div",
|
|
@@ -29995,14 +29967,14 @@ function ProviderUsersTable({
|
|
|
29995
29967
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
29996
29968
|
/* @__PURE__ */ jsxs("p", { className: "font-medium text-gray-900 dark:text-white", children: [
|
|
29997
29969
|
user.name,
|
|
29998
|
-
isCurrentUser && /* @__PURE__ */ jsx("span", { className: "ml-1.5 text-xs
|
|
29970
|
+
isCurrentUser && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground ml-1.5 text-xs", children: "(you)" })
|
|
29999
29971
|
] }),
|
|
30000
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
29972
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: user.email })
|
|
30001
29973
|
] })
|
|
30002
29974
|
] }) }),
|
|
30003
29975
|
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-sm text-gray-700 dark:text-gray-300", children: user.role }) }),
|
|
30004
29976
|
/* @__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-
|
|
29977
|
+
/* @__PURE__ */ jsx(TableCell, { children: /* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm", children: isPending ? `Invited ${formatDate4(user.invitedAt)}` : formatDate4(user.lastActive) }) }),
|
|
30006
29978
|
showActions && /* @__PURE__ */ jsx(TableCell, { className: "text-right", children: /* @__PURE__ */ jsx(
|
|
30007
29979
|
RowActionsMenu,
|
|
30008
29980
|
{
|
|
@@ -30185,7 +30157,7 @@ function RecurringServiceCard({
|
|
|
30185
30157
|
},
|
|
30186
30158
|
primary: {
|
|
30187
30159
|
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(
|
|
30160
|
+
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
30161
|
"svg",
|
|
30190
30162
|
{
|
|
30191
30163
|
className: "h-3 w-3",
|
|
@@ -30425,7 +30397,7 @@ function RecurringServiceSetupModal({
|
|
|
30425
30397
|
),
|
|
30426
30398
|
"data-slot": "recurring-service-modal",
|
|
30427
30399
|
children: [
|
|
30428
|
-
/* @__PURE__ */ jsxs("div", { className: "bg-primary text-primary-foreground flex items-center justify-between p-4", children: [
|
|
30400
|
+
/* @__PURE__ */ jsxs("div", { className: "bg-primary-800 text-primary-foreground flex items-center justify-between p-4", children: [
|
|
30429
30401
|
/* @__PURE__ */ jsx("h4", { className: "text-lg font-semibold", children: title }),
|
|
30430
30402
|
/* @__PURE__ */ jsx(
|
|
30431
30403
|
"button",
|
|
@@ -30521,7 +30493,7 @@ function RecurringServiceSetupModal({
|
|
|
30521
30493
|
{
|
|
30522
30494
|
type: "submit",
|
|
30523
30495
|
disabled: saving,
|
|
30524
|
-
className: "bg-primary
|
|
30496
|
+
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
30497
|
children: saving ? /* @__PURE__ */ jsxs("span", { className: "flex items-center gap-2", children: [
|
|
30526
30498
|
/* @__PURE__ */ jsx("i", { className: "fas fa-spinner fa-spin" }),
|
|
30527
30499
|
"Saving..."
|
|
@@ -30788,7 +30760,7 @@ function ReportDashboard({
|
|
|
30788
30760
|
case "down":
|
|
30789
30761
|
return "text-red-700 dark:text-red-300";
|
|
30790
30762
|
default:
|
|
30791
|
-
return "text-
|
|
30763
|
+
return "text-muted-foreground";
|
|
30792
30764
|
}
|
|
30793
30765
|
};
|
|
30794
30766
|
const getTrendIcon = (trend) => {
|
|
@@ -30867,7 +30839,7 @@ function ReportDashboard({
|
|
|
30867
30839
|
children: [
|
|
30868
30840
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
30869
30841
|
/* @__PURE__ */ jsx("h1", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: title }),
|
|
30870
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
30842
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: dateRangeLabel })
|
|
30871
30843
|
] }),
|
|
30872
30844
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
30873
30845
|
/* @__PURE__ */ jsx(
|
|
@@ -30912,7 +30884,7 @@ function ReportDashboard({
|
|
|
30912
30884
|
"data-slot": "report-dashboard-metrics",
|
|
30913
30885
|
className: "grid grid-cols-2 gap-4 md:grid-cols-4",
|
|
30914
30886
|
children: metrics.map((metric, index) => /* @__PURE__ */ jsx(Card, { children: /* @__PURE__ */ jsxs(CardContent, { className: "p-4", children: [
|
|
30915
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
30887
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: metric.label }),
|
|
30916
30888
|
/* @__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
30889
|
(metric.change !== void 0 || metric.changeLabel) && /* @__PURE__ */ jsxs(
|
|
30918
30890
|
"div",
|
|
@@ -30960,7 +30932,7 @@ function ReportDashboard({
|
|
|
30960
30932
|
}
|
|
30961
30933
|
)
|
|
30962
30934
|
] }),
|
|
30963
|
-
/* @__PURE__ */ jsx("span", { className: "w-full truncate text-center text-xs
|
|
30935
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground w-full truncate text-center text-xs", children: point.label })
|
|
30964
30936
|
]
|
|
30965
30937
|
},
|
|
30966
30938
|
index
|
|
@@ -30968,11 +30940,11 @@ function ReportDashboard({
|
|
|
30968
30940
|
/* @__PURE__ */ jsxs("div", { className: "mt-4 flex items-center justify-center gap-4 text-sm", children: [
|
|
30969
30941
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
30970
30942
|
/* @__PURE__ */ jsx("div", { className: "h-3 w-3 rounded bg-blue-500 dark:bg-blue-400" }),
|
|
30971
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
30943
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Current Period" })
|
|
30972
30944
|
] }),
|
|
30973
30945
|
chartData.some((d) => d.previousValue !== void 0) && /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
|
|
30974
30946
|
/* @__PURE__ */ jsx("div", { className: "h-3 w-3 rounded bg-gray-200 dark:bg-gray-700" }),
|
|
30975
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
30947
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Previous Period" })
|
|
30976
30948
|
] })
|
|
30977
30949
|
] })
|
|
30978
30950
|
] })
|
|
@@ -30997,7 +30969,7 @@ function ReportDashboard({
|
|
|
30997
30969
|
/* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
|
|
30998
30970
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
30999
30971
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: service.name }),
|
|
31000
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
30972
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: formatNumber(service.value) })
|
|
31001
30973
|
] }),
|
|
31002
30974
|
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
30975
|
"div",
|
|
@@ -31023,7 +30995,7 @@ function ReportDashboard({
|
|
|
31023
30995
|
/* @__PURE__ */ jsxs("div", { className: "flex-1", children: [
|
|
31024
30996
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between", children: [
|
|
31025
30997
|
/* @__PURE__ */ jsx("p", { className: "font-medium text-gray-900 dark:text-white", children: employer.name }),
|
|
31026
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
30998
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-sm", children: formatCurrency3(employer.value) })
|
|
31027
30999
|
] }),
|
|
31028
31000
|
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
31001
|
"div",
|
|
@@ -31727,7 +31699,7 @@ function ScheduleCalendar({
|
|
|
31727
31699
|
{
|
|
31728
31700
|
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
31701
|
children: [
|
|
31730
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
31702
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: date.toLocaleDateString("en-US", { weekday: "short" }) }),
|
|
31731
31703
|
/* @__PURE__ */ jsx(
|
|
31732
31704
|
"p",
|
|
31733
31705
|
{
|
|
@@ -31751,7 +31723,7 @@ function ScheduleCalendar({
|
|
|
31751
31723
|
children: hours.map((hour) => /* @__PURE__ */ jsx(
|
|
31752
31724
|
"div",
|
|
31753
31725
|
{
|
|
31754
|
-
className: "h-16 pr-2 text-right text-xs
|
|
31726
|
+
className: "text-muted-foreground h-16 pr-2 text-right text-xs",
|
|
31755
31727
|
children: new Date(2e3, 0, 1, hour).toLocaleTimeString("en-US", {
|
|
31756
31728
|
hour: "numeric",
|
|
31757
31729
|
hour12: true
|
|
@@ -31830,19 +31802,19 @@ function ScheduleCalendar({
|
|
|
31830
31802
|
children: [
|
|
31831
31803
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
31832
31804
|
/* @__PURE__ */ jsx("span", { className: "h-3 w-3 rounded bg-blue-700" }),
|
|
31833
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
31805
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Confirmed" })
|
|
31834
31806
|
] }),
|
|
31835
31807
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
31836
31808
|
/* @__PURE__ */ jsx("span", { className: "h-3 w-3 rounded bg-yellow-700" }),
|
|
31837
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
31809
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Pending" })
|
|
31838
31810
|
] }),
|
|
31839
31811
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
31840
31812
|
/* @__PURE__ */ jsx("span", { className: "h-3 w-3 rounded bg-green-700" }),
|
|
31841
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
31813
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Completed" })
|
|
31842
31814
|
] }),
|
|
31843
31815
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-1", children: [
|
|
31844
31816
|
/* @__PURE__ */ jsx("span", { className: "h-3 w-3 rounded bg-gray-600" }),
|
|
31845
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
31817
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground", children: "Cancelled" })
|
|
31846
31818
|
] })
|
|
31847
31819
|
]
|
|
31848
31820
|
}
|
|
@@ -31901,7 +31873,7 @@ var serviceLinkVariants = cva(
|
|
|
31901
31873
|
[
|
|
31902
31874
|
"flex items-center gap-2 py-2 px-3 rounded-md",
|
|
31903
31875
|
"text-neutral-700 dark:text-neutral-300",
|
|
31904
|
-
"hover:bg-neutral-100 dark:hover:bg-neutral-700/50 hover:text-primary-
|
|
31876
|
+
"hover:bg-neutral-100 dark:hover:bg-neutral-700/50 hover:text-primary-800 dark:hover:text-primary-400",
|
|
31905
31877
|
"transition-colors",
|
|
31906
31878
|
"focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500"
|
|
31907
31879
|
],
|
|
@@ -31977,7 +31949,7 @@ function ServiceLink({
|
|
|
31977
31949
|
children: [
|
|
31978
31950
|
/* @__PURE__ */ jsx(LinkIcon, { className: "flex-shrink-0 text-neutral-400" }),
|
|
31979
31951
|
/* @__PURE__ */ jsx("span", { className: "flex-grow", children: service.name }),
|
|
31980
|
-
service.providerCount !== void 0 && /* @__PURE__ */ jsxs("span", { className: "ml-2 text-xs
|
|
31952
|
+
service.providerCount !== void 0 && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground ml-2 text-xs", children: [
|
|
31981
31953
|
"(",
|
|
31982
31954
|
service.providerCount,
|
|
31983
31955
|
")"
|
|
@@ -32005,7 +31977,7 @@ function SubCategoryAccordion({
|
|
|
32005
31977
|
className: cn(
|
|
32006
31978
|
"flex w-full items-center justify-between px-3 py-2",
|
|
32007
31979
|
"text-left font-medium text-neutral-700 dark:text-neutral-200",
|
|
32008
|
-
"hover:text-primary-
|
|
31980
|
+
"hover:text-primary-800 dark:hover:text-primary-400",
|
|
32009
31981
|
"focus-visible:ring-primary-500 focus:outline-none focus-visible:ring-2"
|
|
32010
31982
|
),
|
|
32011
31983
|
"aria-expanded": isExpanded,
|
|
@@ -32093,7 +32065,7 @@ function CategoryAccordionItem({
|
|
|
32093
32065
|
"data-cy": `btn-category-${index}`,
|
|
32094
32066
|
children: [
|
|
32095
32067
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
32096
|
-
category.icon && /* @__PURE__ */ jsx("span", { className: "text-primary-
|
|
32068
|
+
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
32069
|
/* @__PURE__ */ jsx("span", { className: "font-semibold text-neutral-900 dark:text-white", children: category.name })
|
|
32098
32070
|
] }),
|
|
32099
32071
|
hasContent && /* @__PURE__ */ jsx(
|
|
@@ -32246,7 +32218,7 @@ function ServiceTagCloud({
|
|
|
32246
32218
|
},
|
|
32247
32219
|
index
|
|
32248
32220
|
)),
|
|
32249
|
-
hasMore && /* @__PURE__ */ jsxs("span", { className: "inline-flex items-center px-3 py-1.5 text-sm
|
|
32221
|
+
hasMore && /* @__PURE__ */ jsxs("span", { className: "text-muted-foreground inline-flex items-center px-3 py-1.5 text-sm", children: [
|
|
32250
32222
|
"+",
|
|
32251
32223
|
services.length - (maxItems || 0),
|
|
32252
32224
|
" more"
|
|
@@ -32287,7 +32259,7 @@ function ServiceList({
|
|
|
32287
32259
|
className: cn(
|
|
32288
32260
|
"flex items-center gap-2 py-1.5",
|
|
32289
32261
|
"text-neutral-700 dark:text-neutral-300",
|
|
32290
|
-
"hover:text-primary-
|
|
32262
|
+
"hover:text-primary-800 dark:hover:text-primary-400",
|
|
32291
32263
|
"transition-colors"
|
|
32292
32264
|
),
|
|
32293
32265
|
children: [
|
|
@@ -32568,7 +32540,7 @@ function SelectedServicesBadges({
|
|
|
32568
32540
|
{
|
|
32569
32541
|
type: "button",
|
|
32570
32542
|
onClick: onClearAll,
|
|
32571
|
-
className: "ml-1 text-xs
|
|
32543
|
+
className: "text-muted-foreground ml-1 text-xs underline hover:text-gray-700 dark:hover:text-gray-200",
|
|
32572
32544
|
children: "Clear all"
|
|
32573
32545
|
}
|
|
32574
32546
|
)
|
|
@@ -32943,7 +32915,7 @@ function ServiceGeneralSettings({
|
|
|
32943
32915
|
/* @__PURE__ */ jsx(
|
|
32944
32916
|
"p",
|
|
32945
32917
|
{
|
|
32946
|
-
className: "text-
|
|
32918
|
+
className: "text-muted-foreground text-sm",
|
|
32947
32919
|
"data-slot": "service-settings-description",
|
|
32948
32920
|
children: "Basic service information and configuration"
|
|
32949
32921
|
}
|
|
@@ -32968,14 +32940,14 @@ function ServiceGeneralSettings({
|
|
|
32968
32940
|
/* @__PURE__ */ jsx(Switch, { checked: isActive, onCheckedChange: onIsActiveChange }),
|
|
32969
32941
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
32970
32942
|
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white", children: "Active" }),
|
|
32971
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
32943
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "Service is available for orders" })
|
|
32972
32944
|
] })
|
|
32973
32945
|
] }),
|
|
32974
32946
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
32975
32947
|
/* @__PURE__ */ jsx(Switch, { checked: isFeatured, onCheckedChange: onIsFeaturedChange }),
|
|
32976
32948
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
32977
32949
|
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white", children: "Featured" }),
|
|
32978
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
32950
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "Show prominently in listings" })
|
|
32979
32951
|
] })
|
|
32980
32952
|
] })
|
|
32981
32953
|
]
|
|
@@ -33058,7 +33030,7 @@ function ServiceGeneralSettings({
|
|
|
33058
33030
|
}
|
|
33059
33031
|
),
|
|
33060
33032
|
/* @__PURE__ */ jsxs("div", { className: "relative", children: [
|
|
33061
|
-
/* @__PURE__ */ jsx("span", { className: "absolute top-1/2 left-3 -translate-y-1/2
|
|
33033
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute top-1/2 left-3 -translate-y-1/2", children: "$" }),
|
|
33062
33034
|
/* @__PURE__ */ jsx(
|
|
33063
33035
|
"input",
|
|
33064
33036
|
{
|
|
@@ -33096,7 +33068,7 @@ function ServiceGeneralSettings({
|
|
|
33096
33068
|
placeholder: "0"
|
|
33097
33069
|
}
|
|
33098
33070
|
),
|
|
33099
|
-
/* @__PURE__ */ jsx("span", { className: "absolute top-1/2 right-3 -translate-y-1/2 text-sm
|
|
33071
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground absolute top-1/2 right-3 -translate-y-1/2 text-sm", children: "days" })
|
|
33100
33072
|
] })
|
|
33101
33073
|
] })
|
|
33102
33074
|
] })
|
|
@@ -33555,7 +33527,7 @@ function ServiceItem({
|
|
|
33555
33527
|
"cursor-pointer transition-all duration-150",
|
|
33556
33528
|
"focus-visible:ring-ring focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none",
|
|
33557
33529
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
33558
|
-
"checked:bg-primary-
|
|
33530
|
+
"checked:bg-primary-800 checked:border-primary-500"
|
|
33559
33531
|
)
|
|
33560
33532
|
}
|
|
33561
33533
|
),
|
|
@@ -33589,7 +33561,7 @@ function ServiceItem({
|
|
|
33589
33561
|
"span",
|
|
33590
33562
|
{
|
|
33591
33563
|
"data-slot": "service-picker-radio-dot",
|
|
33592
|
-
className: "bg-primary-
|
|
33564
|
+
className: "bg-primary-800 pointer-events-none absolute h-2 w-2 scale-0 rounded-full transition-transform peer-checked:scale-100"
|
|
33593
33565
|
}
|
|
33594
33566
|
)
|
|
33595
33567
|
]
|
|
@@ -33819,7 +33791,7 @@ function ServicePricingManager({
|
|
|
33819
33791
|
children: [
|
|
33820
33792
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
33821
33793
|
/* @__PURE__ */ jsx("h1", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: "Service Pricing" }),
|
|
33822
|
-
/* @__PURE__ */ jsxs("p", { className: "text-
|
|
33794
|
+
/* @__PURE__ */ jsxs("p", { className: "text-muted-foreground text-sm", children: [
|
|
33823
33795
|
"Manage pricing for ",
|
|
33824
33796
|
services.length,
|
|
33825
33797
|
" services"
|
|
@@ -33866,8 +33838,8 @@ function ServicePricingManager({
|
|
|
33866
33838
|
filteredServices.length,
|
|
33867
33839
|
")"
|
|
33868
33840
|
] }) }),
|
|
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
|
|
33841
|
+
/* @__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: [
|
|
33842
|
+
/* @__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
33843
|
/* @__PURE__ */ jsx("div", { className: "col-span-2", children: "Service" }),
|
|
33872
33844
|
/* @__PURE__ */ jsx("div", { className: "text-right", children: "Base Price" }),
|
|
33873
33845
|
/* @__PURE__ */ jsx("div", { className: "text-right", children: "Employer Price" }),
|
|
@@ -33882,21 +33854,21 @@ function ServicePricingManager({
|
|
|
33882
33854
|
children: [
|
|
33883
33855
|
/* @__PURE__ */ jsxs("div", { className: "col-span-2 mb-2 md:mb-0", children: [
|
|
33884
33856
|
/* @__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
|
|
33857
|
+
/* @__PURE__ */ jsxs("div", { className: "text-muted-foreground flex items-center gap-2 text-sm", children: [
|
|
33886
33858
|
service.serviceCode && /* @__PURE__ */ jsx("span", { children: service.serviceCode }),
|
|
33887
33859
|
service.category && /* @__PURE__ */ jsx(Badge, { variant: "secondary", children: service.category })
|
|
33888
33860
|
] })
|
|
33889
33861
|
] }),
|
|
33890
33862
|
/* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center justify-between md:mb-0 md:block", children: [
|
|
33891
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
33863
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm md:hidden", children: "Base:" }),
|
|
33892
33864
|
/* @__PURE__ */ jsx("p", { className: "text-right font-semibold text-gray-900 dark:text-white", children: formatCurrency3(service.basePrice) })
|
|
33893
33865
|
] }),
|
|
33894
33866
|
/* @__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-
|
|
33867
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground text-sm md:hidden", children: "Employer:" }),
|
|
33868
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-right", children: service.employerPrice ? formatCurrency3(service.employerPrice) : "\u2014" })
|
|
33897
33869
|
] }),
|
|
33898
33870
|
/* @__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
|
|
33871
|
+
/* @__PURE__ */ jsx("span", { className: "text-muted-foreground mr-2 text-sm md:hidden", children: "Status:" }),
|
|
33900
33872
|
/* @__PURE__ */ jsx(
|
|
33901
33873
|
Badge,
|
|
33902
33874
|
{
|
|
@@ -33995,7 +33967,7 @@ function ServicePricingManager({
|
|
|
33995
33967
|
/* @__PURE__ */ jsxs(Modal, { open: showBulkModal, onOpenChange: setShowBulkModal, children: [
|
|
33996
33968
|
/* @__PURE__ */ jsx(ModalHeader, { children: /* @__PURE__ */ jsx(ModalTitle, { children: "Bulk Price Adjustment" }) }),
|
|
33997
33969
|
/* @__PURE__ */ jsxs(ModalBody, { className: "space-y-4", children: [
|
|
33998
|
-
/* @__PURE__ */ jsxs("p", { className: "text-
|
|
33970
|
+
/* @__PURE__ */ jsxs("p", { className: "text-muted-foreground text-sm", children: [
|
|
33999
33971
|
"Apply adjustment to ",
|
|
34000
33972
|
filteredServices.length,
|
|
34001
33973
|
" filtered services"
|
|
@@ -34032,7 +34004,7 @@ function ServicePricingManager({
|
|
|
34032
34004
|
placeholder: bulkAdjustmentType === "percent" ? "e.g., 5" : "e.g., 10.00"
|
|
34033
34005
|
}
|
|
34034
34006
|
),
|
|
34035
|
-
/* @__PURE__ */ jsx("p", { className: "mt-1 text-xs
|
|
34007
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: "Use negative values to decrease prices" })
|
|
34036
34008
|
] })
|
|
34037
34009
|
] }),
|
|
34038
34010
|
/* @__PURE__ */ jsxs(ModalFooter, { children: [
|
|
@@ -34152,7 +34124,7 @@ function ServiceShippingSettings({
|
|
|
34152
34124
|
/* @__PURE__ */ jsx(
|
|
34153
34125
|
"p",
|
|
34154
34126
|
{
|
|
34155
|
-
className: "text-
|
|
34127
|
+
className: "text-muted-foreground text-sm",
|
|
34156
34128
|
"data-slot": "shipping-settings-description",
|
|
34157
34129
|
children: "Configure how kits and materials are shipped"
|
|
34158
34130
|
}
|
|
@@ -34185,7 +34157,7 @@ function ServiceShippingSettings({
|
|
|
34185
34157
|
children: [
|
|
34186
34158
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
34187
34159
|
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium text-gray-900 dark:text-white", children: "Use Kit Shipping" }),
|
|
34188
|
-
/* @__PURE__ */ jsx("p", { className: "text-
|
|
34160
|
+
/* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: "Send collection kits to patients" })
|
|
34189
34161
|
] }),
|
|
34190
34162
|
/* @__PURE__ */ jsx(
|
|
34191
34163
|
Switch,
|
|
@@ -34943,7 +34915,7 @@ function SidebarNavGroup({
|
|
|
34943
34915
|
"span",
|
|
34944
34916
|
{
|
|
34945
34917
|
className: cn(
|
|
34946
|
-
"h-5 w-5 flex-shrink-0
|
|
34918
|
+
"text-muted-foreground h-5 w-5 flex-shrink-0",
|
|
34947
34919
|
!showCollapsed && "mr-3"
|
|
34948
34920
|
),
|
|
34949
34921
|
children: icon
|
|
@@ -35003,7 +34975,7 @@ function SidebarNavItem({
|
|
|
35003
34975
|
{
|
|
35004
34976
|
className: cn(
|
|
35005
34977
|
"h-5 w-5 flex-shrink-0",
|
|
35006
|
-
isActive ? "text-primary-
|
|
34978
|
+
isActive ? "text-primary-800 dark:text-primary-400" : "text-muted-foreground",
|
|
35007
34979
|
!showCollapsed && "mr-3"
|
|
35008
34980
|
),
|
|
35009
34981
|
children: icon
|
|
@@ -35068,7 +35040,7 @@ function SidebarToggle({
|
|
|
35068
35040
|
{
|
|
35069
35041
|
onClick: toggleCollapsed,
|
|
35070
35042
|
className: cn(
|
|
35071
|
-
"rounded-lg p-2
|
|
35043
|
+
"text-muted-foreground rounded-lg p-2",
|
|
35072
35044
|
"transition-colors hover:bg-neutral-100 dark:hover:bg-neutral-800",
|
|
35073
35045
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
35074
35046
|
className
|
|
@@ -35093,7 +35065,7 @@ function SidebarMobileToggle({
|
|
|
35093
35065
|
{
|
|
35094
35066
|
onClick: openMobile,
|
|
35095
35067
|
className: cn(
|
|
35096
|
-
"rounded-lg p-2
|
|
35068
|
+
"text-muted-foreground rounded-lg p-2",
|
|
35097
35069
|
"transition-colors hover:bg-neutral-100 dark:hover:bg-neutral-800",
|
|
35098
35070
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
35099
35071
|
className
|
|
@@ -35285,7 +35257,7 @@ function SocialMediaLinks2({
|
|
|
35285
35257
|
className: cn(
|
|
35286
35258
|
"flex items-center justify-center rounded-full transition-colors",
|
|
35287
35259
|
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:
|
|
35260
|
+
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
35261
|
),
|
|
35290
35262
|
children: /* @__PURE__ */ jsx(Icon, {})
|
|
35291
35263
|
},
|
|
@@ -35340,7 +35312,7 @@ function NewsletterForm({
|
|
|
35340
35312
|
disabled: isLoading,
|
|
35341
35313
|
className: cn(
|
|
35342
35314
|
"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-
|
|
35315
|
+
variant === "light" ? "text-primary-900 bg-white hover:bg-white/90" : "bg-primary-800 hover:bg-primary-900 text-white",
|
|
35344
35316
|
isLoading && "cursor-not-allowed opacity-50"
|
|
35345
35317
|
),
|
|
35346
35318
|
children: isLoading ? "Sending..." : buttonText
|
|
@@ -35362,7 +35334,7 @@ function FooterLinkSection({
|
|
|
35362
35334
|
"data-slot": "site-footer-link-title",
|
|
35363
35335
|
className: cn(
|
|
35364
35336
|
"mb-4 text-sm font-semibold tracking-wider uppercase",
|
|
35365
|
-
variant === "light" ? "text-white/70" : "text-
|
|
35337
|
+
variant === "light" ? "text-white/70" : "dark:text-muted-foreground text-gray-600"
|
|
35366
35338
|
),
|
|
35367
35339
|
children: group.title
|
|
35368
35340
|
}
|
|
@@ -35375,7 +35347,7 @@ function FooterLinkSection({
|
|
|
35375
35347
|
rel: link.external ? "noopener noreferrer" : void 0,
|
|
35376
35348
|
className: cn(
|
|
35377
35349
|
"text-sm transition-colors",
|
|
35378
|
-
variant === "light" ? "text-white/60 hover:text-white" : "text-
|
|
35350
|
+
variant === "light" ? "text-white/60 hover:text-white" : "dark:text-muted-foreground text-gray-600 hover:text-gray-900 dark:hover:text-white"
|
|
35379
35351
|
),
|
|
35380
35352
|
children: [
|
|
35381
35353
|
link.label,
|
|
@@ -35397,7 +35369,7 @@ function CopyrightText({
|
|
|
35397
35369
|
"data-slot": "site-footer-copyright",
|
|
35398
35370
|
className: cn(
|
|
35399
35371
|
"text-sm",
|
|
35400
|
-
variant === "light" ? "text-white/60" : "text-
|
|
35372
|
+
variant === "light" ? "text-white/60" : "dark:text-muted-foreground text-gray-600",
|
|
35401
35373
|
className
|
|
35402
35374
|
),
|
|
35403
35375
|
children: [
|
|
@@ -35434,7 +35406,7 @@ function LegalLinks({
|
|
|
35434
35406
|
{
|
|
35435
35407
|
className: cn(
|
|
35436
35408
|
"hidden sm:inline",
|
|
35437
|
-
variant === "light" ? "text-white/40" : "text-
|
|
35409
|
+
variant === "light" ? "text-white/40" : "dark:text-muted-foreground text-gray-300"
|
|
35438
35410
|
),
|
|
35439
35411
|
children: "|"
|
|
35440
35412
|
}
|
|
@@ -35447,7 +35419,7 @@ function LegalLinks({
|
|
|
35447
35419
|
rel: link.external ? "noopener noreferrer" : void 0,
|
|
35448
35420
|
className: cn(
|
|
35449
35421
|
"text-sm transition-colors",
|
|
35450
|
-
variant === "light" ? "text-white/60 hover:text-white" : "text-
|
|
35422
|
+
variant === "light" ? "text-white/60 hover:text-white" : "dark:text-muted-foreground text-gray-600 hover:text-gray-900 dark:hover:text-white"
|
|
35451
35423
|
),
|
|
35452
35424
|
children: link.label
|
|
35453
35425
|
}
|
|
@@ -35467,7 +35439,7 @@ function DisclaimerText({
|
|
|
35467
35439
|
"data-slot": "site-footer-disclaimer",
|
|
35468
35440
|
className: cn(
|
|
35469
35441
|
"text-xs leading-relaxed",
|
|
35470
|
-
variant === "light" ? "text-white/50" : "text-
|
|
35442
|
+
variant === "light" ? "text-white/50" : "dark:text-muted-foreground text-gray-600",
|
|
35471
35443
|
className
|
|
35472
35444
|
),
|
|
35473
35445
|
children
|
|
@@ -35479,7 +35451,7 @@ var footerVariants = cva("", {
|
|
|
35479
35451
|
variant: {
|
|
35480
35452
|
default: "bg-gray-100 dark:bg-gray-900",
|
|
35481
35453
|
dark: "bg-gray-900 dark:bg-gray-950",
|
|
35482
|
-
primary: "bg-primary-
|
|
35454
|
+
primary: "bg-primary-800 dark:bg-primary-800",
|
|
35483
35455
|
white: "bg-white dark:bg-gray-900 border-t border-gray-200 dark:border-gray-800"
|
|
35484
35456
|
}
|
|
35485
35457
|
},
|
|
@@ -35573,7 +35545,7 @@ function SiteFooter({
|
|
|
35573
35545
|
"data-slot": "site-footer-description",
|
|
35574
35546
|
className: cn(
|
|
35575
35547
|
"mb-4 text-sm",
|
|
35576
|
-
colorVariant === "light" ? "text-white/70" : "text-
|
|
35548
|
+
colorVariant === "light" ? "text-white/70" : "dark:text-muted-foreground text-gray-600"
|
|
35577
35549
|
),
|
|
35578
35550
|
children: description
|
|
35579
35551
|
}
|
|
@@ -35683,7 +35655,7 @@ function SimpleFooter({
|
|
|
35683
35655
|
"data-slot": "site-footer-simple",
|
|
35684
35656
|
className: cn(
|
|
35685
35657
|
"border-t py-4",
|
|
35686
|
-
variant === "light" ? "bg-primary-
|
|
35658
|
+
variant === "light" ? "bg-primary-800 border-white/10" : "border-gray-200 bg-white dark:border-gray-800 dark:bg-gray-900",
|
|
35687
35659
|
className
|
|
35688
35660
|
),
|
|
35689
35661
|
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 +35667,7 @@ function SimpleFooter({
|
|
|
35695
35667
|
href: privacyHref,
|
|
35696
35668
|
className: cn(
|
|
35697
35669
|
"text-sm transition-colors",
|
|
35698
|
-
variant === "light" ? "text-white/60 hover:text-white" : "text-
|
|
35670
|
+
variant === "light" ? "text-white/60 hover:text-white" : "dark:text-muted-foreground text-gray-600 hover:text-gray-900 dark:hover:text-white"
|
|
35699
35671
|
),
|
|
35700
35672
|
children: "Privacy"
|
|
35701
35673
|
}
|
|
@@ -35706,7 +35678,7 @@ function SimpleFooter({
|
|
|
35706
35678
|
href: termsHref,
|
|
35707
35679
|
className: cn(
|
|
35708
35680
|
"text-sm transition-colors",
|
|
35709
|
-
variant === "light" ? "text-white/60 hover:text-white" : "text-
|
|
35681
|
+
variant === "light" ? "text-white/60 hover:text-white" : "dark:text-muted-foreground text-gray-600 hover:text-gray-900 dark:hover:text-white"
|
|
35710
35682
|
),
|
|
35711
35683
|
children: "Terms"
|
|
35712
35684
|
}
|
|
@@ -35767,7 +35739,7 @@ function SiteLogo({
|
|
|
35767
35739
|
"data-slot": "site-header-logo-icon",
|
|
35768
35740
|
className: cn(
|
|
35769
35741
|
"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-
|
|
35742
|
+
variant === "light" ? "bg-white/20 text-white" : "bg-primary-800 text-white"
|
|
35771
35743
|
),
|
|
35772
35744
|
children: name?.[0] || "B"
|
|
35773
35745
|
}
|
|
@@ -35857,7 +35829,7 @@ function AuthButtons({
|
|
|
35857
35829
|
onClick: onSignUp,
|
|
35858
35830
|
className: cn(
|
|
35859
35831
|
"rounded-lg px-4 py-2 text-sm font-medium transition-colors",
|
|
35860
|
-
variant === "light" ? "text-primary-
|
|
35832
|
+
variant === "light" ? "text-primary-800 bg-white hover:bg-white/90" : "bg-primary-800 hover:bg-primary-900 text-white"
|
|
35861
35833
|
),
|
|
35862
35834
|
children: "Sign Up"
|
|
35863
35835
|
}
|
|
@@ -35886,7 +35858,7 @@ function AuthButtons({
|
|
|
35886
35858
|
href: signUpHref,
|
|
35887
35859
|
className: cn(
|
|
35888
35860
|
"rounded-lg px-4 py-2 text-sm font-medium transition-colors",
|
|
35889
|
-
variant === "light" ? "text-primary-
|
|
35861
|
+
variant === "light" ? "text-primary-800 bg-white hover:bg-white/90" : "bg-primary-800 hover:bg-primary-900 text-white"
|
|
35890
35862
|
),
|
|
35891
35863
|
children: "Sign Up"
|
|
35892
35864
|
}
|
|
@@ -35995,7 +35967,7 @@ function UserMenu({
|
|
|
35995
35967
|
{
|
|
35996
35968
|
className: cn(
|
|
35997
35969
|
"h-4 w-4 transition-transform",
|
|
35998
|
-
variant === "light" ? "text-white/70" : "text-
|
|
35970
|
+
variant === "light" ? "text-white/70" : "text-muted-foreground",
|
|
35999
35971
|
isOpen && "rotate-180"
|
|
36000
35972
|
)
|
|
36001
35973
|
}
|
|
@@ -36011,7 +35983,7 @@ function UserMenu({
|
|
|
36011
35983
|
children: [
|
|
36012
35984
|
/* @__PURE__ */ jsxs("div", { className: "border-b border-gray-100 px-4 py-3 dark:border-gray-700", children: [
|
|
36013
35985
|
/* @__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: "
|
|
35986
|
+
user.email && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground truncate text-xs", children: user.email })
|
|
36015
35987
|
] }),
|
|
36016
35988
|
/* @__PURE__ */ jsx("div", { className: "py-1", children: defaultItems.map(
|
|
36017
35989
|
(item, index) => item.href ? /* @__PURE__ */ jsxs(
|
|
@@ -36111,7 +36083,7 @@ function MobileMenuPanel({
|
|
|
36111
36083
|
{
|
|
36112
36084
|
type: "button",
|
|
36113
36085
|
onClick: onClose,
|
|
36114
|
-
className: "rounded-lg p-2
|
|
36086
|
+
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
36087
|
"aria-label": "Close menu",
|
|
36116
36088
|
children: /* @__PURE__ */ jsx(CloseIcon5, { className: "h-5 w-5" })
|
|
36117
36089
|
}
|
|
@@ -36137,7 +36109,7 @@ function MobileMenuPanel({
|
|
|
36137
36109
|
/* @__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
36110
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
36139
36111
|
/* @__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-
|
|
36112
|
+
user.email && /* @__PURE__ */ jsx("p", { className: "text-muted-foreground text-xs", children: user.email })
|
|
36141
36113
|
] })
|
|
36142
36114
|
] }),
|
|
36143
36115
|
/* @__PURE__ */ jsx(
|
|
@@ -36173,7 +36145,7 @@ function MobileMenuPanel({
|
|
|
36173
36145
|
onSignUp?.();
|
|
36174
36146
|
onClose();
|
|
36175
36147
|
},
|
|
36176
|
-
className: "bg-primary-
|
|
36148
|
+
className: "bg-primary-800 hover:bg-primary-900 rounded-lg px-4 py-2 text-sm font-medium text-white",
|
|
36177
36149
|
children: "Sign Up"
|
|
36178
36150
|
}
|
|
36179
36151
|
)
|
|
@@ -36188,7 +36160,7 @@ var headerVariants3 = cva(
|
|
|
36188
36160
|
{
|
|
36189
36161
|
variants: {
|
|
36190
36162
|
variant: {
|
|
36191
|
-
primary: "bg-primary-
|
|
36163
|
+
primary: "bg-primary-800",
|
|
36192
36164
|
white: "bg-white shadow-sm dark:bg-gray-900 dark:border-b dark:border-gray-800",
|
|
36193
36165
|
transparent: "bg-transparent",
|
|
36194
36166
|
glass: "bg-white/80 backdrop-blur-md shadow-sm dark:bg-gray-900/80"
|
|
@@ -36863,7 +36835,7 @@ function StepIndicator({
|
|
|
36863
36835
|
"data-slot": "step-indicator-circle",
|
|
36864
36836
|
onClick: () => handleStepClick(index),
|
|
36865
36837
|
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-
|
|
36838
|
+
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
36839
|
"aria-current": status === "current" ? "step" : void 0,
|
|
36868
36840
|
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
36841
|
"span",
|
|
@@ -36883,13 +36855,10 @@ function StepIndicator({
|
|
|
36883
36855
|
/* @__PURE__ */ jsxs(
|
|
36884
36856
|
"p",
|
|
36885
36857
|
{
|
|
36886
|
-
className: `font-medium ${step.hasError ? "text-red-600 dark:text-red-400" : status === "completed" || status === "current" ? "text-neutral-900 dark:text-white" : "text-
|
|
36858
|
+
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
36859
|
children: [
|
|
36888
36860
|
step.label,
|
|
36889
|
-
step.optional && /* @__PURE__ */
|
|
36890
|
-
" ",
|
|
36891
|
-
"(optional)"
|
|
36892
|
-
] })
|
|
36861
|
+
step.optional && /* @__PURE__ */ jsx("span", { className: "text-muted-foreground font-normal", children: " (optional)" })
|
|
36893
36862
|
]
|
|
36894
36863
|
}
|
|
36895
36864
|
),
|
|
@@ -36897,7 +36866,7 @@ function StepIndicator({
|
|
|
36897
36866
|
"p",
|
|
36898
36867
|
{
|
|
36899
36868
|
"data-slot": "step-indicator-description",
|
|
36900
|
-
className: "mt-0.5
|
|
36869
|
+
className: "text-muted-foreground mt-0.5",
|
|
36901
36870
|
children: step.description
|
|
36902
36871
|
}
|
|
36903
36872
|
)
|
|
@@ -36921,7 +36890,7 @@ function StepIndicator({
|
|
|
36921
36890
|
"div",
|
|
36922
36891
|
{
|
|
36923
36892
|
"data-slot": "step-indicator-connector",
|
|
36924
|
-
className: `flex-1 ${sizes.line} ${index <= currentStep ? "bg-primary-
|
|
36893
|
+
className: `flex-1 ${sizes.line} ${index <= currentStep ? "bg-primary-800 dark:bg-primary-800" : "bg-neutral-200 dark:bg-neutral-700"}`,
|
|
36925
36894
|
"aria-hidden": "true"
|
|
36926
36895
|
}
|
|
36927
36896
|
) : /* @__PURE__ */ jsx("div", { className: "flex-1" }),
|
|
@@ -36930,7 +36899,7 @@ function StepIndicator({
|
|
|
36930
36899
|
"div",
|
|
36931
36900
|
{
|
|
36932
36901
|
"data-slot": "step-indicator-connector",
|
|
36933
|
-
className: `flex-1 ${sizes.line} ${index < currentStep ? "bg-primary-
|
|
36902
|
+
className: `flex-1 ${sizes.line} ${index < currentStep ? "bg-primary-800 dark:bg-primary-800" : "bg-neutral-200 dark:bg-neutral-700"}`,
|
|
36934
36903
|
"aria-hidden": "true"
|
|
36935
36904
|
}
|
|
36936
36905
|
) : /* @__PURE__ */ jsx("div", { className: "flex-1" })
|
|
@@ -36965,7 +36934,7 @@ function StepIndicator({
|
|
|
36965
36934
|
children: /* @__PURE__ */ jsx(
|
|
36966
36935
|
"div",
|
|
36967
36936
|
{
|
|
36968
|
-
className: `h-full min-h-4 ${sizes.line} ${index < currentStep ? "bg-primary-
|
|
36937
|
+
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
36938
|
}
|
|
36970
36939
|
)
|
|
36971
36940
|
}
|
|
@@ -37386,7 +37355,7 @@ function TimelineProgress({
|
|
|
37386
37355
|
"div",
|
|
37387
37356
|
{
|
|
37388
37357
|
className: cn(
|
|
37389
|
-
"h-4 text-center
|
|
37358
|
+
"text-muted-foreground h-4 text-center",
|
|
37390
37359
|
sizes.timestamp,
|
|
37391
37360
|
sizes.timestampMargin
|
|
37392
37361
|
),
|
|
@@ -37400,7 +37369,7 @@ function TimelineProgress({
|
|
|
37400
37369
|
className: cn(
|
|
37401
37370
|
"flex-1",
|
|
37402
37371
|
sizes.connector,
|
|
37403
|
-
state === "completed" || state === "current" || state === "error" ? "bg-primary-
|
|
37372
|
+
state === "completed" || state === "current" || state === "error" ? "bg-primary-800 dark:bg-primary-800" : "bg-neutral-200 dark:bg-neutral-700"
|
|
37404
37373
|
)
|
|
37405
37374
|
}
|
|
37406
37375
|
),
|
|
@@ -37422,7 +37391,7 @@ function TimelineProgress({
|
|
|
37422
37391
|
sizes.completed
|
|
37423
37392
|
),
|
|
37424
37393
|
state === "current" && cn(
|
|
37425
|
-
"bg-primary-
|
|
37394
|
+
"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
37395
|
sizes.current,
|
|
37427
37396
|
pulse && "animate-pulse"
|
|
37428
37397
|
),
|
|
@@ -37467,7 +37436,7 @@ function TimelineProgress({
|
|
|
37467
37436
|
className: cn(
|
|
37468
37437
|
"flex-1",
|
|
37469
37438
|
sizes.connector,
|
|
37470
|
-
state === "completed" ? "bg-primary-
|
|
37439
|
+
state === "completed" ? "bg-primary-800 dark:bg-primary-800" : "bg-neutral-200 dark:bg-neutral-700"
|
|
37471
37440
|
)
|
|
37472
37441
|
}
|
|
37473
37442
|
),
|
|
@@ -37482,7 +37451,7 @@ function TimelineProgress({
|
|
|
37482
37451
|
sizes.labelMargin,
|
|
37483
37452
|
state === "completed" && "text-primary-800 dark:text-primary-300",
|
|
37484
37453
|
state === "current" && "font-semibold text-neutral-900 dark:text-white",
|
|
37485
|
-
state === "pending" && "text-
|
|
37454
|
+
state === "pending" && "text-muted-foreground",
|
|
37486
37455
|
state === "error" && "font-semibold text-red-600 dark:text-red-400"
|
|
37487
37456
|
),
|
|
37488
37457
|
children: step.label
|
|
@@ -37577,12 +37546,12 @@ function TimelineEventList({
|
|
|
37577
37546
|
/* @__PURE__ */ jsxs("div", { className: "flex items-start justify-between gap-2", children: [
|
|
37578
37547
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
37579
37548
|
/* @__PURE__ */ jsx("h4", { className: "font-semibold text-neutral-900 dark:text-neutral-100", children: event.title }),
|
|
37580
|
-
event.author && /* @__PURE__ */ jsxs("p", { className: "text-
|
|
37549
|
+
event.author && /* @__PURE__ */ jsxs("p", { className: "text-muted-foreground text-sm", children: [
|
|
37581
37550
|
"by ",
|
|
37582
37551
|
event.author
|
|
37583
37552
|
] })
|
|
37584
37553
|
] }),
|
|
37585
|
-
/* @__PURE__ */ jsx("time", { className: "shrink-0 pt-0.5 text-xs
|
|
37554
|
+
/* @__PURE__ */ jsx("time", { className: "text-muted-foreground shrink-0 pt-0.5 text-xs", children: formatTime4(event.timestamp) })
|
|
37586
37555
|
] }),
|
|
37587
37556
|
event.content && /* @__PURE__ */ jsx("p", { className: "mt-1.5 text-sm text-neutral-600 dark:text-neutral-300", children: event.content })
|
|
37588
37557
|
] })
|
|
@@ -37619,7 +37588,7 @@ function OrderConfirmation({
|
|
|
37619
37588
|
children: "Order Submitted!"
|
|
37620
37589
|
}
|
|
37621
37590
|
),
|
|
37622
|
-
orderNumber && /* @__PURE__ */ jsxs("p", { className: "mb-4 text-center text-sm
|
|
37591
|
+
orderNumber && /* @__PURE__ */ jsxs("p", { className: "text-muted-foreground mb-4 text-center text-sm", children: [
|
|
37623
37592
|
"Order #",
|
|
37624
37593
|
orderNumber
|
|
37625
37594
|
] }),
|
|
@@ -37631,8 +37600,8 @@ function OrderConfirmation({
|
|
|
37631
37600
|
onClick: onClose,
|
|
37632
37601
|
className: cn(
|
|
37633
37602
|
"w-full rounded-lg px-4 py-3 font-medium",
|
|
37634
|
-
"bg-primary-
|
|
37635
|
-
"dark:bg-primary-
|
|
37603
|
+
"bg-primary-800 hover:bg-primary-900 text-white",
|
|
37604
|
+
"dark:bg-primary-800 dark:hover:bg-primary-900",
|
|
37636
37605
|
"transition-colors"
|
|
37637
37606
|
),
|
|
37638
37607
|
children: "Got It"
|
|
@@ -37901,7 +37870,7 @@ var variantStyles = {
|
|
|
37901
37870
|
},
|
|
37902
37871
|
info: {
|
|
37903
37872
|
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-
|
|
37873
|
+
icon: "text-primary-800 dark:text-primary-400"
|
|
37905
37874
|
}
|
|
37906
37875
|
};
|
|
37907
37876
|
var defaultIcons = {
|
|
@@ -38611,7 +38580,7 @@ function WebsiteInputGroup({
|
|
|
38611
38580
|
"w-full rounded-md border px-3 py-2 text-sm",
|
|
38612
38581
|
"border-gray-300 bg-white text-gray-900",
|
|
38613
38582
|
"focus:border-brand-500 focus:ring-brand-500/20 focus:ring-2 focus:outline-none",
|
|
38614
|
-
"disabled:cursor-not-allowed disabled:bg-gray-50
|
|
38583
|
+
"disabled:text-muted-foreground disabled:cursor-not-allowed disabled:bg-gray-50",
|
|
38615
38584
|
"dark:border-gray-600 dark:bg-gray-800 dark:text-gray-100",
|
|
38616
38585
|
"dark:focus:border-brand-400 dark:focus:ring-brand-400/20",
|
|
38617
38586
|
index === 0 && label ? "mt-6" : ""
|
|
@@ -38638,7 +38607,7 @@ function WebsiteInputGroup({
|
|
|
38638
38607
|
"text-brand-600 hover:bg-brand-50",
|
|
38639
38608
|
"disabled:cursor-not-allowed disabled:text-gray-300 disabled:hover:bg-transparent",
|
|
38640
38609
|
"dark:text-brand-400 dark:hover:bg-brand-900/20",
|
|
38641
|
-
"dark:disabled:text-
|
|
38610
|
+
"dark:disabled:text-muted-foreground"
|
|
38642
38611
|
),
|
|
38643
38612
|
"aria-label": "Add website",
|
|
38644
38613
|
children: /* @__PURE__ */ jsx(
|
|
@@ -38671,7 +38640,7 @@ function WebsiteInputGroup({
|
|
|
38671
38640
|
"text-red-600 hover:bg-red-50",
|
|
38672
38641
|
"disabled:cursor-not-allowed disabled:text-gray-300 disabled:hover:bg-transparent",
|
|
38673
38642
|
"dark:text-red-400 dark:hover:bg-red-900/20",
|
|
38674
|
-
"dark:disabled:text-
|
|
38643
|
+
"dark:disabled:text-muted-foreground"
|
|
38675
38644
|
),
|
|
38676
38645
|
"aria-label": "Remove website",
|
|
38677
38646
|
children: /* @__PURE__ */ jsx(
|