@mieweb/ui 0.3.0-dev.104 → 0.3.0-dev.106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-PTJMBSPV.cjs → chunk-3M4P2KMG.cjs} +4 -4
- package/dist/{chunk-PTJMBSPV.cjs.map → chunk-3M4P2KMG.cjs.map} +1 -1
- package/dist/{chunk-2B2KEZ2H.js → chunk-6555OYRU.js} +4 -4
- package/dist/{chunk-2B2KEZ2H.js.map → chunk-6555OYRU.js.map} +1 -1
- package/dist/{chunk-YTZPVEIO.js → chunk-JLBT76WH.js} +4 -4
- package/dist/chunk-JLBT76WH.js.map +1 -0
- package/dist/{chunk-CJQXWFIW.js → chunk-KAKH2UZA.js} +4 -4
- package/dist/chunk-KAKH2UZA.js.map +1 -0
- package/dist/{chunk-WJU3KLVV.cjs → chunk-LOTMAKUG.cjs} +4 -4
- package/dist/chunk-LOTMAKUG.cjs.map +1 -0
- package/dist/{chunk-2LF7PSSX.cjs → chunk-PJAQDAMZ.cjs} +4 -4
- package/dist/chunk-PJAQDAMZ.cjs.map +1 -0
- package/dist/components/AudioPlayer/index.cjs +6 -6
- package/dist/components/AudioPlayer/index.js +1 -1
- package/dist/components/Card/index.cjs +15 -15
- package/dist/components/Card/index.js +1 -1
- package/dist/components/Text/index.cjs +4 -4
- package/dist/components/Text/index.js +1 -1
- package/dist/index.cjs +267 -243
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +120 -96
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/dist/chunk-2LF7PSSX.cjs.map +0 -1
- package/dist/chunk-CJQXWFIW.js.map +0 -1
- package/dist/chunk-WJU3KLVV.cjs.map +0 -1
- package/dist/chunk-YTZPVEIO.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -12,7 +12,7 @@ var chunkZ5J4NTPL_cjs = require('./chunk-Z5J4NTPL.cjs');
|
|
|
12
12
|
var chunkNVHAQOHH_cjs = require('./chunk-NVHAQOHH.cjs');
|
|
13
13
|
var chunkOYKS2JBB_cjs = require('./chunk-OYKS2JBB.cjs');
|
|
14
14
|
var chunkQASIWBXU_cjs = require('./chunk-QASIWBXU.cjs');
|
|
15
|
-
var
|
|
15
|
+
var chunkPJAQDAMZ_cjs = require('./chunk-PJAQDAMZ.cjs');
|
|
16
16
|
var chunkU3ABLVYH_cjs = require('./chunk-U3ABLVYH.cjs');
|
|
17
17
|
var chunkJHPFOG2N_cjs = require('./chunk-JHPFOG2N.cjs');
|
|
18
18
|
var chunkRH43XBNV_cjs = require('./chunk-RH43XBNV.cjs');
|
|
@@ -33,13 +33,13 @@ var chunkNIEIRA5A_cjs = require('./chunk-NIEIRA5A.cjs');
|
|
|
33
33
|
var chunk5MAGWW5X_cjs = require('./chunk-5MAGWW5X.cjs');
|
|
34
34
|
var chunkMSRU3XBH_cjs = require('./chunk-MSRU3XBH.cjs');
|
|
35
35
|
var chunkZNZZCB2M_cjs = require('./chunk-ZNZZCB2M.cjs');
|
|
36
|
-
var
|
|
36
|
+
var chunkLOTMAKUG_cjs = require('./chunk-LOTMAKUG.cjs');
|
|
37
37
|
var chunkEUUQVDXX_cjs = require('./chunk-EUUQVDXX.cjs');
|
|
38
38
|
var chunkFQ3UCZUX_cjs = require('./chunk-FQ3UCZUX.cjs');
|
|
39
39
|
var chunk4FALCEJI_cjs = require('./chunk-4FALCEJI.cjs');
|
|
40
40
|
var chunkBWYYA3LQ_cjs = require('./chunk-BWYYA3LQ.cjs');
|
|
41
41
|
var chunkA2QVQF54_cjs = require('./chunk-A2QVQF54.cjs');
|
|
42
|
-
var
|
|
42
|
+
var chunk3M4P2KMG_cjs = require('./chunk-3M4P2KMG.cjs');
|
|
43
43
|
var chunkDFCZPVG4_cjs = require('./chunk-DFCZPVG4.cjs');
|
|
44
44
|
var chunk4ZU53GNR_cjs = require('./chunk-4ZU53GNR.cjs');
|
|
45
45
|
var chunkFSBFQBNE_cjs = require('./chunk-FSBFQBNE.cjs');
|
|
@@ -1822,7 +1822,7 @@ function ResourceLink({ link, onClick, className }) {
|
|
|
1822
1822
|
onClick: handleClick,
|
|
1823
1823
|
className: chunkOR5DRJCW_cjs.cn(
|
|
1824
1824
|
"inline-flex items-center gap-1.5 rounded-md px-2.5 py-1.5",
|
|
1825
|
-
"bg-primary-50 text-primary-
|
|
1825
|
+
"bg-primary-50 text-primary-900 hover:bg-primary-100",
|
|
1826
1826
|
"dark:bg-primary-900/30 dark:text-primary-300 dark:hover:bg-primary-900/50",
|
|
1827
1827
|
"text-sm font-medium transition-colors",
|
|
1828
1828
|
"focus:ring-primary-500 focus:ring-2 focus:ring-offset-2 focus:outline-none",
|
|
@@ -2134,7 +2134,7 @@ var avatarVariants2 = classVarianceAuthority.cva(
|
|
|
2134
2134
|
{
|
|
2135
2135
|
variants: {
|
|
2136
2136
|
role: {
|
|
2137
|
-
user: "bg-primary-100 text-primary-
|
|
2137
|
+
user: "bg-primary-100 text-primary-900 dark:bg-primary-900/50 dark:text-primary-300",
|
|
2138
2138
|
assistant: "bg-primary-800 text-white dark:bg-primary-800",
|
|
2139
2139
|
system: "bg-neutral-200 text-neutral-600 dark:bg-neutral-700 dark:text-neutral-400",
|
|
2140
2140
|
tool: "bg-amber-100 text-amber-700 dark:bg-amber-900/50 dark:text-amber-300"
|
|
@@ -4720,7 +4720,7 @@ function AIChat({
|
|
|
4720
4720
|
onClick: onCancel,
|
|
4721
4721
|
className: chunkOR5DRJCW_cjs.cn(
|
|
4722
4722
|
"rounded-lg px-3 py-1.5 text-sm",
|
|
4723
|
-
"bg-red-100 text-red-
|
|
4723
|
+
"bg-red-100 text-red-700 hover:bg-red-200",
|
|
4724
4724
|
"dark:bg-red-900/30 dark:text-red-400 dark:hover:bg-red-900/50",
|
|
4725
4725
|
"transition-colors"
|
|
4726
4726
|
),
|
|
@@ -5101,7 +5101,7 @@ function AppHeaderIconButton({
|
|
|
5101
5101
|
className: chunkOR5DRJCW_cjs.cn(
|
|
5102
5102
|
"absolute -top-1 -right-1 flex items-center justify-center",
|
|
5103
5103
|
"h-[18px] min-w-[18px] px-1 text-[10px] font-bold",
|
|
5104
|
-
"rounded-full bg-red-
|
|
5104
|
+
"rounded-full bg-red-700 text-white"
|
|
5105
5105
|
),
|
|
5106
5106
|
children: badge > 99 ? "99+" : badge
|
|
5107
5107
|
}
|
|
@@ -11016,7 +11016,7 @@ var DashboardWidget = React48__namespace.forwardRef(
|
|
|
11016
11016
|
...props
|
|
11017
11017
|
}, ref) => {
|
|
11018
11018
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
11019
|
-
|
|
11019
|
+
chunk3M4P2KMG_cjs.Card,
|
|
11020
11020
|
{
|
|
11021
11021
|
ref,
|
|
11022
11022
|
padding: "none",
|
|
@@ -11026,7 +11026,7 @@ var DashboardWidget = React48__namespace.forwardRef(
|
|
|
11026
11026
|
...props,
|
|
11027
11027
|
children: [
|
|
11028
11028
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
11029
|
-
|
|
11029
|
+
chunk3M4P2KMG_cjs.CardHeader,
|
|
11030
11030
|
{
|
|
11031
11031
|
"data-slot": "dashboard-widget-header",
|
|
11032
11032
|
className: chunkOR5DRJCW_cjs.cn(
|
|
@@ -11072,7 +11072,7 @@ var DashboardWidget = React48__namespace.forwardRef(
|
|
|
11072
11072
|
}
|
|
11073
11073
|
),
|
|
11074
11074
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11075
|
-
|
|
11075
|
+
chunk3M4P2KMG_cjs.CardContent,
|
|
11076
11076
|
{
|
|
11077
11077
|
"data-slot": "dashboard-widget-body",
|
|
11078
11078
|
className: chunkOR5DRJCW_cjs.cn("px-4 py-3", accent && "pl-6"),
|
|
@@ -13457,14 +13457,14 @@ function DocumentScanner({
|
|
|
13457
13457
|
labelPosition: "bottom"
|
|
13458
13458
|
}
|
|
13459
13459
|
),
|
|
13460
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13460
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPJAQDAMZ_cjs.Text, { variant: "muted", size: "sm", className: "max-w-xs text-center", children: "Our AI is extracting information from your document. This usually takes a few seconds." })
|
|
13461
13461
|
] });
|
|
13462
13462
|
}
|
|
13463
13463
|
if (state === "success") {
|
|
13464
13464
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center justify-center gap-4 py-12", children: [
|
|
13465
13465
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-16 w-16 items-center justify-center rounded-full bg-green-100 dark:bg-green-900/30", children: /* @__PURE__ */ jsxRuntime.jsx(chunk4ZU53GNR_cjs.CheckCircle, { className: "h-8 w-8 text-green-600 dark:text-green-400" }) }),
|
|
13466
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13467
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13466
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPJAQDAMZ_cjs.Text, { weight: "semibold", size: "lg", children: "Document scanned successfully!" }),
|
|
13467
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPJAQDAMZ_cjs.Text, { variant: "muted", size: "sm", children: "The extracted data has been processed." })
|
|
13468
13468
|
] });
|
|
13469
13469
|
}
|
|
13470
13470
|
if (state === "error") {
|
|
@@ -13588,10 +13588,10 @@ function DocumentScanner({
|
|
|
13588
13588
|
}
|
|
13589
13589
|
),
|
|
13590
13590
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-1", children: [
|
|
13591
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13592
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13591
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPJAQDAMZ_cjs.Text, { weight: "medium", children: "Drag and drop your files here" }),
|
|
13592
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPJAQDAMZ_cjs.Text, { variant: "muted", size: "sm", children: "or click to browse" })
|
|
13593
13593
|
] }),
|
|
13594
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
13594
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPJAQDAMZ_cjs.Text, { variant: "muted", size: "xs", className: "max-w-xs", children: [
|
|
13595
13595
|
"Supported formats: JPEG, PNG, HEIC, WebP, PDF",
|
|
13596
13596
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
13597
13597
|
"Max size: ",
|
|
@@ -13606,7 +13606,7 @@ function DocumentScanner({
|
|
|
13606
13606
|
(enableCamera || enableWebcam) && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col items-center gap-3", children: [
|
|
13607
13607
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex w-full max-w-xs items-center gap-3", children: [
|
|
13608
13608
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "bg-border h-px flex-1" }),
|
|
13609
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13609
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPJAQDAMZ_cjs.Text, { variant: "muted", size: "sm", children: "or" }),
|
|
13610
13610
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "bg-border h-px flex-1" })
|
|
13611
13611
|
] }),
|
|
13612
13612
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-wrap justify-center gap-3", children: [
|
|
@@ -13665,8 +13665,8 @@ function DocumentScanner({
|
|
|
13665
13665
|
"data-slot": "doc-scanner",
|
|
13666
13666
|
children: [
|
|
13667
13667
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-6 text-center", "data-slot": "doc-scanner-header", children: [
|
|
13668
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13669
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13668
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPJAQDAMZ_cjs.Text, { as: "h2", size: "xl", weight: "semibold", className: "mb-1", children: title }),
|
|
13669
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPJAQDAMZ_cjs.Text, { variant: "muted", size: "sm", children: description })
|
|
13670
13670
|
] }),
|
|
13671
13671
|
renderContent(),
|
|
13672
13672
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -13871,9 +13871,9 @@ function ClaimProviderForm({
|
|
|
13871
13871
|
onSubmit?.(formData);
|
|
13872
13872
|
};
|
|
13873
13873
|
const isValid = formData.firstName.trim() && formData.lastName.trim() && formData.email.trim() && formData.role && formData.agreedToTerms;
|
|
13874
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
13875
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
13876
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13874
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { className, children: [
|
|
13875
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardHeader, { children: [
|
|
13876
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { "data-slot": "claim-form-title", className: "text-lg", children: "Claim Provider Listing" }),
|
|
13877
13877
|
providerName && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
13878
13878
|
"div",
|
|
13879
13879
|
{
|
|
@@ -13900,7 +13900,7 @@ function ClaimProviderForm({
|
|
|
13900
13900
|
}
|
|
13901
13901
|
)
|
|
13902
13902
|
] }),
|
|
13903
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13903
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardContent, { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
13904
13904
|
"form",
|
|
13905
13905
|
{
|
|
13906
13906
|
onSubmit: handleSubmit,
|
|
@@ -13916,7 +13916,7 @@ function ClaimProviderForm({
|
|
|
13916
13916
|
"p",
|
|
13917
13917
|
{
|
|
13918
13918
|
"data-slot": "claim-form-error-text",
|
|
13919
|
-
className: "text-sm text-red-
|
|
13919
|
+
className: "text-sm text-red-700 dark:text-red-400",
|
|
13920
13920
|
children: errorMessage
|
|
13921
13921
|
}
|
|
13922
13922
|
)
|
|
@@ -14294,7 +14294,7 @@ function CreateInvoiceModal({
|
|
|
14294
14294
|
type: "button",
|
|
14295
14295
|
"data-slot": "invoice-modal-toggle-all",
|
|
14296
14296
|
onClick: toggleAllOrders,
|
|
14297
|
-
className: "text-primary text-sm hover:underline",
|
|
14297
|
+
className: "text-primary-800 dark:text-primary-400 text-sm hover:underline",
|
|
14298
14298
|
children: selectedOrders.size === orders.length ? "Deselect All" : "Select All"
|
|
14299
14299
|
}
|
|
14300
14300
|
)
|
|
@@ -15344,6 +15344,7 @@ function EmployeeForm({
|
|
|
15344
15344
|
chunkFRT6RQND_cjs.Select,
|
|
15345
15345
|
{
|
|
15346
15346
|
label: index === 0 ? "Type" : void 0,
|
|
15347
|
+
"aria-label": index > 0 ? "Phone type" : void 0,
|
|
15347
15348
|
value: phone.type,
|
|
15348
15349
|
onValueChange: (value) => updatePhone(index, "type", value),
|
|
15349
15350
|
options: phoneTypeOptions
|
|
@@ -15708,8 +15709,8 @@ function EmployeeProfileCard({
|
|
|
15708
15709
|
"data-cy": "header-payment-status",
|
|
15709
15710
|
"data-slot": "employee-card-detail-row",
|
|
15710
15711
|
children: employee.isPaid ? /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
15711
|
-
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "text-success h-4 w-4" }),
|
|
15712
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-success", children: paid })
|
|
15712
|
+
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Check, { className: "text-success-700 dark:text-success-400 h-4 w-4" }),
|
|
15713
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-success-700 dark:text-success-400", children: paid })
|
|
15713
15714
|
] }) : /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
15714
15715
|
/* @__PURE__ */ jsxRuntime.jsx(lucideReact.Clock, { className: "text-muted-foreground h-4 w-4" }),
|
|
15715
15716
|
/* @__PURE__ */ jsxRuntime.jsx("span", { children: paymentPending })
|
|
@@ -15771,6 +15772,7 @@ function OrderSidebarTabs({
|
|
|
15771
15772
|
{
|
|
15772
15773
|
type: "button",
|
|
15773
15774
|
role: "tab",
|
|
15775
|
+
id: `tab-${tab.id}`,
|
|
15774
15776
|
"aria-selected": activeTab === tab.id,
|
|
15775
15777
|
"aria-controls": `panel-${tab.id}`,
|
|
15776
15778
|
onClick: () => onTabChange(tab.id),
|
|
@@ -15841,6 +15843,9 @@ function OrderDetailSidebar({
|
|
|
15841
15843
|
children && /* @__PURE__ */ jsxRuntime.jsx(
|
|
15842
15844
|
"div",
|
|
15843
15845
|
{
|
|
15846
|
+
role: "tabpanel",
|
|
15847
|
+
id: `panel-${activeTab}`,
|
|
15848
|
+
"aria-labelledby": `tab-${activeTab}`,
|
|
15844
15849
|
className: "flex-1 overflow-auto p-3",
|
|
15845
15850
|
"data-slot": "order-sidebar-content",
|
|
15846
15851
|
children
|
|
@@ -15862,9 +15867,9 @@ function EmployerContactCard({
|
|
|
15862
15867
|
className = ""
|
|
15863
15868
|
}) {
|
|
15864
15869
|
if (isLoading) {
|
|
15865
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
15866
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15867
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15870
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { "data-slot": "employer-contact-card", className, children: [
|
|
15871
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { "data-slot": "employer-contact-header", children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { children: title }) }),
|
|
15872
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardContent, { children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: [1, 2].map((i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex animate-pulse items-center gap-3", children: [
|
|
15868
15873
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 rounded-full bg-gray-200 dark:bg-gray-700" }),
|
|
15869
15874
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 space-y-2", children: [
|
|
15870
15875
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-24 rounded bg-gray-200 dark:bg-gray-700" }),
|
|
@@ -15873,14 +15878,14 @@ function EmployerContactCard({
|
|
|
15873
15878
|
] }, i)) }) })
|
|
15874
15879
|
] });
|
|
15875
15880
|
}
|
|
15876
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
15881
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { "data-slot": "employer-contact-card", className, children: [
|
|
15877
15882
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
15878
|
-
|
|
15883
|
+
chunk3M4P2KMG_cjs.CardHeader,
|
|
15879
15884
|
{
|
|
15880
15885
|
"data-slot": "employer-contact-header",
|
|
15881
15886
|
className: "flex flex-row items-center justify-between",
|
|
15882
15887
|
children: [
|
|
15883
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15888
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { children: title }),
|
|
15884
15889
|
showActions && onAddContact && /* @__PURE__ */ jsxRuntime.jsxs(chunkA2QVQF54_cjs.Button, { variant: "ghost", size: "sm", onClick: onAddContact, children: [
|
|
15885
15890
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15886
15891
|
"svg",
|
|
@@ -15906,7 +15911,7 @@ function EmployerContactCard({
|
|
|
15906
15911
|
]
|
|
15907
15912
|
}
|
|
15908
15913
|
),
|
|
15909
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15914
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardContent, { children: contacts.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "employer-contact-empty", className: "py-6 text-center", children: [
|
|
15910
15915
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15911
15916
|
"svg",
|
|
15912
15917
|
{
|
|
@@ -16298,19 +16303,19 @@ function EmployerPricingCard({
|
|
|
16298
16303
|
return "Any quantity";
|
|
16299
16304
|
};
|
|
16300
16305
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16301
|
-
|
|
16306
|
+
chunk3M4P2KMG_cjs.Card,
|
|
16302
16307
|
{
|
|
16303
16308
|
"data-slot": "employer-pricing-card",
|
|
16304
16309
|
className: `${className} ${!isActive ? "grayscale" : ""}`,
|
|
16305
16310
|
children: [
|
|
16306
16311
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
16307
|
-
|
|
16312
|
+
chunk3M4P2KMG_cjs.CardHeader,
|
|
16308
16313
|
{
|
|
16309
16314
|
"data-slot": "employer-pricing-header",
|
|
16310
16315
|
className: "flex flex-row items-start justify-between space-y-0 pb-2",
|
|
16311
16316
|
children: [
|
|
16312
16317
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "employer-pricing-title", className: "flex-1", children: [
|
|
16313
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16318
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { className: "text-base font-semibold", children: serviceName }),
|
|
16314
16319
|
!isActive && /* @__PURE__ */ jsxRuntime.jsx(chunk4FALCEJI_cjs.Badge, { variant: "secondary", className: "mt-1", children: "Inactive" })
|
|
16315
16320
|
] }),
|
|
16316
16321
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "employer-pricing-base-price", className: "text-right", children: [
|
|
@@ -16320,7 +16325,7 @@ function EmployerPricingCard({
|
|
|
16320
16325
|
]
|
|
16321
16326
|
}
|
|
16322
16327
|
),
|
|
16323
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
16328
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardContent, { className: "pt-0", children: [
|
|
16324
16329
|
tiers.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "employer-pricing-tiers", className: "mt-3 space-y-2", children: [
|
|
16325
16330
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Volume Pricing" }),
|
|
16326
16331
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-1", children: tiers.map((tier) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -16331,7 +16336,7 @@ function EmployerPricingCard({
|
|
|
16331
16336
|
children: [
|
|
16332
16337
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-2", children: [
|
|
16333
16338
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-sm", children: tier.name }),
|
|
16334
|
-
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-xs text-gray-400", children: [
|
|
16339
|
+
/* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-xs text-gray-500 dark:text-gray-400", children: [
|
|
16335
16340
|
"(",
|
|
16336
16341
|
formatQuantityRange(tier),
|
|
16337
16342
|
")"
|
|
@@ -16462,7 +16467,7 @@ function EmployerView({
|
|
|
16462
16467
|
);
|
|
16463
16468
|
}
|
|
16464
16469
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "employer-view", className: `space-y-6 ${className}`, children: [
|
|
16465
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16470
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.Card, { "data-slot": "employer-view-header-card", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardContent, { "data-slot": "employer-view-header", className: "p-6", children: [
|
|
16466
16471
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col justify-between gap-4 md:flex-row md:items-center", children: [
|
|
16467
16472
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4", children: [
|
|
16468
16473
|
employer.logoUrl ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -16545,9 +16550,9 @@ function EmployerView({
|
|
|
16545
16550
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsTrigger, { value: "contacts", children: "Contacts" })
|
|
16546
16551
|
] }),
|
|
16547
16552
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "overview", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-6 md:grid-cols-2", children: [
|
|
16548
|
-
employer.address && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16549
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16550
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16553
|
+
employer.address && /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { "data-slot": "employer-view-address-card", children: [
|
|
16554
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { className: "text-lg", children: "Address" }) }),
|
|
16555
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardContent, { children: /* @__PURE__ */ jsxRuntime.jsxs("address", { className: "text-gray-700 not-italic dark:text-gray-300", children: [
|
|
16551
16556
|
employer.address.street,
|
|
16552
16557
|
employer.address.street2 && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
16553
16558
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
@@ -16561,9 +16566,9 @@ function EmployerView({
|
|
|
16561
16566
|
employer.address.zip
|
|
16562
16567
|
] }) })
|
|
16563
16568
|
] }),
|
|
16564
|
-
employer.contacts.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16565
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16566
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16569
|
+
employer.contacts.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { "data-slot": "employer-view-contact-card", children: [
|
|
16570
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { className: "text-lg", children: "Primary Contact" }) }),
|
|
16571
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardContent, { children: (() => {
|
|
16567
16572
|
const primary = employer.contacts.find((c) => c.isPrimary) || employer.contacts[0];
|
|
16568
16573
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
16569
16574
|
/* @__PURE__ */ jsxRuntime.jsx(chunkFQ3UCZUX_cjs.Avatar, { name: primary.name, size: "md" }),
|
|
@@ -16585,12 +16590,12 @@ function EmployerView({
|
|
|
16585
16590
|
})() })
|
|
16586
16591
|
] })
|
|
16587
16592
|
] }) }),
|
|
16588
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "orders", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16589
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
16590
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16593
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "orders", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { "data-slot": "employer-view-orders-card", children: [
|
|
16594
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardHeader, { className: "flex flex-row items-center justify-between", children: [
|
|
16595
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { className: "text-lg", children: "Recent Orders" }),
|
|
16591
16596
|
onCreateOrder && /* @__PURE__ */ jsxRuntime.jsx(chunkA2QVQF54_cjs.Button, { size: "sm", onClick: onCreateOrder, children: "New Order" })
|
|
16592
16597
|
] }),
|
|
16593
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16598
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardContent, { children: employer.recentOrders.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground py-8 text-center", children: "No orders yet" }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: employer.recentOrders.map((order) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16594
16599
|
"div",
|
|
16595
16600
|
{
|
|
16596
16601
|
"data-slot": "employer-view-order-row",
|
|
@@ -16619,12 +16624,12 @@ function EmployerView({
|
|
|
16619
16624
|
order.id
|
|
16620
16625
|
)) }) })
|
|
16621
16626
|
] }) }),
|
|
16622
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "invoices", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16623
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
16624
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16627
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "invoices", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { "data-slot": "employer-view-invoices-card", children: [
|
|
16628
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardHeader, { className: "flex flex-row items-center justify-between", children: [
|
|
16629
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { className: "text-lg", children: "Recent Invoices" }),
|
|
16625
16630
|
onCreateInvoice && /* @__PURE__ */ jsxRuntime.jsx(chunkA2QVQF54_cjs.Button, { size: "sm", onClick: onCreateInvoice, children: "New Invoice" })
|
|
16626
16631
|
] }),
|
|
16627
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16632
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardContent, { children: employer.recentInvoices.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground py-8 text-center", children: "No invoices yet" }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: employer.recentInvoices.map((invoice) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16628
16633
|
"div",
|
|
16629
16634
|
{
|
|
16630
16635
|
"data-slot": "employer-view-invoice-row",
|
|
@@ -16655,9 +16660,9 @@ function EmployerView({
|
|
|
16655
16660
|
invoice.id
|
|
16656
16661
|
)) }) })
|
|
16657
16662
|
] }) }),
|
|
16658
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "contacts", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16659
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16660
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16663
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "contacts", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { "data-slot": "employer-view-contacts-card", children: [
|
|
16664
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { className: "text-lg", children: "All Contacts" }) }),
|
|
16665
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardContent, { children: employer.contacts.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground py-8 text-center", children: "No contacts added" }) : /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-4", children: employer.contacts.map((contact) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16661
16666
|
"div",
|
|
16662
16667
|
{
|
|
16663
16668
|
"data-slot": "employer-view-contact-row",
|
|
@@ -17620,7 +17625,7 @@ function FileManager({
|
|
|
17620
17625
|
};
|
|
17621
17626
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "file-manager", className, children: [
|
|
17622
17627
|
showDropzone && /* @__PURE__ */ jsxRuntime.jsx(
|
|
17623
|
-
|
|
17628
|
+
chunk3M4P2KMG_cjs.Card,
|
|
17624
17629
|
{
|
|
17625
17630
|
"data-slot": "file-manager-dropzone",
|
|
17626
17631
|
className: `mb-4 cursor-pointer border-2 border-dashed transition-all duration-200 ${isDragging ? "border-blue-500 bg-blue-50 dark:bg-blue-900/20" : "border-gray-300 hover:border-gray-400 dark:border-gray-600 dark:hover:border-gray-500"} `.trim(),
|
|
@@ -17693,7 +17698,7 @@ function FileManager({
|
|
|
17693
17698
|
{
|
|
17694
17699
|
"data-slot": "file-manager-error",
|
|
17695
17700
|
className: "mb-4 rounded-lg border border-red-200 bg-red-50 p-3 dark:border-red-800 dark:bg-red-900/20",
|
|
17696
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-red-
|
|
17701
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-red-700 dark:text-red-400", children: errorMessage })
|
|
17697
17702
|
}
|
|
17698
17703
|
),
|
|
17699
17704
|
totalStorageUsed !== void 0 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -18072,9 +18077,9 @@ function HelpSupportPanel({
|
|
|
18072
18077
|
),
|
|
18073
18078
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "help-support-grid", className: "grid gap-6 md:grid-cols-3", children: [
|
|
18074
18079
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4 md:col-span-2", children: [
|
|
18075
|
-
faqs.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18076
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18077
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
18080
|
+
faqs.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { "data-slot": "help-support-faq-card", children: [
|
|
18081
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { className: "text-lg", children: "Frequently Asked Questions" }) }),
|
|
18082
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardContent, { className: "space-y-4", children: [
|
|
18078
18083
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18079
18084
|
chunkMSRU3XBH_cjs.Input,
|
|
18080
18085
|
{
|
|
@@ -18127,9 +18132,9 @@ function HelpSupportPanel({
|
|
|
18127
18132
|
)) })
|
|
18128
18133
|
] })
|
|
18129
18134
|
] }),
|
|
18130
|
-
onSubmitRequest && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18131
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18132
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
18135
|
+
onSubmitRequest && /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { "data-slot": "help-support-form-card", children: [
|
|
18136
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { className: "text-lg", children: "Contact Support" }) }),
|
|
18137
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardContent, { children: [
|
|
18133
18138
|
showSuccess && successMessage && /* @__PURE__ */ jsxRuntime.jsx(
|
|
18134
18139
|
"div",
|
|
18135
18140
|
{
|
|
@@ -18216,9 +18221,9 @@ function HelpSupportPanel({
|
|
|
18216
18221
|
] })
|
|
18217
18222
|
] }),
|
|
18218
18223
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
18219
|
-
contacts.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18220
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18221
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18224
|
+
contacts.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { "data-slot": "help-support-contacts-card", children: [
|
|
18225
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { className: "text-lg", children: "Contact Us" }) }),
|
|
18226
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardContent, { className: "space-y-4", children: contacts.map((contact, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18222
18227
|
"div",
|
|
18223
18228
|
{
|
|
18224
18229
|
"data-slot": "help-support-contact-item",
|
|
@@ -18249,9 +18254,9 @@ function HelpSupportPanel({
|
|
|
18249
18254
|
index
|
|
18250
18255
|
)) })
|
|
18251
18256
|
] }),
|
|
18252
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
18253
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18254
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
18257
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { "data-slot": "help-support-links-card", children: [
|
|
18258
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { className: "text-lg", children: "Quick Links" }) }),
|
|
18259
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardContent, { className: "space-y-2", children: [
|
|
18255
18260
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
18256
18261
|
"button",
|
|
18257
18262
|
{
|
|
@@ -19055,7 +19060,7 @@ function InviteUserModal({
|
|
|
19055
19060
|
)
|
|
19056
19061
|
}
|
|
19057
19062
|
),
|
|
19058
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-green-
|
|
19063
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-green-700 dark:text-green-400", children: successMessage })
|
|
19059
19064
|
] })
|
|
19060
19065
|
}
|
|
19061
19066
|
),
|
|
@@ -19084,7 +19089,7 @@ function InviteUserModal({
|
|
|
19084
19089
|
)
|
|
19085
19090
|
}
|
|
19086
19091
|
),
|
|
19087
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-red-
|
|
19092
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-red-700 dark:text-red-400", children: errorMessage })
|
|
19088
19093
|
] })
|
|
19089
19094
|
}
|
|
19090
19095
|
),
|
|
@@ -19571,11 +19576,11 @@ function InvoicePaymentPage({
|
|
|
19571
19576
|
"data-slot": "invoice-payment",
|
|
19572
19577
|
className: `flex min-h-screen items-center justify-center bg-gray-50 p-4 dark:bg-gray-900 ${className}`,
|
|
19573
19578
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
19574
|
-
|
|
19579
|
+
chunk3M4P2KMG_cjs.Card,
|
|
19575
19580
|
{
|
|
19576
19581
|
"data-slot": "invoice-payment-not-found",
|
|
19577
19582
|
className: "w-full max-w-md text-center",
|
|
19578
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
19583
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardContent, { className: "py-12", children: [
|
|
19579
19584
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19580
19585
|
"svg",
|
|
19581
19586
|
{
|
|
@@ -19610,11 +19615,11 @@ function InvoicePaymentPage({
|
|
|
19610
19615
|
"data-slot": "invoice-payment",
|
|
19611
19616
|
className: `flex min-h-screen items-center justify-center bg-gray-50 p-4 dark:bg-gray-900 ${className}`,
|
|
19612
19617
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
19613
|
-
|
|
19618
|
+
chunk3M4P2KMG_cjs.Card,
|
|
19614
19619
|
{
|
|
19615
19620
|
"data-slot": "invoice-payment-success",
|
|
19616
19621
|
className: "w-full max-w-md text-center",
|
|
19617
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
19622
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardContent, { className: "py-12", children: [
|
|
19618
19623
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19619
19624
|
"div",
|
|
19620
19625
|
{
|
|
@@ -19680,15 +19685,15 @@ function InvoicePaymentPage({
|
|
|
19680
19685
|
"data-slot": "invoice-payment-grid",
|
|
19681
19686
|
className: "grid gap-6 lg:grid-cols-2",
|
|
19682
19687
|
children: [
|
|
19683
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
19684
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19685
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
19688
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { "data-slot": "invoice-payment-summary", children: [
|
|
19689
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
19690
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardTitle, { children: [
|
|
19686
19691
|
"Invoice ",
|
|
19687
19692
|
invoice.invoiceNumber
|
|
19688
19693
|
] }),
|
|
19689
19694
|
/* @__PURE__ */ jsxRuntime.jsx(chunk4FALCEJI_cjs.Badge, { variant: getStatusVariant(invoice.status), children: invoice.status })
|
|
19690
19695
|
] }) }),
|
|
19691
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
19696
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardContent, { className: "space-y-4", children: [
|
|
19692
19697
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-muted-foreground space-y-1 text-sm", children: [
|
|
19693
19698
|
/* @__PURE__ */ jsxRuntime.jsxs("p", { children: [
|
|
19694
19699
|
"Issued: ",
|
|
@@ -19697,7 +19702,7 @@ function InvoicePaymentPage({
|
|
|
19697
19702
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
19698
19703
|
"p",
|
|
19699
19704
|
{
|
|
19700
|
-
className: invoice.status === "overdue" ? "font-medium text-red-
|
|
19705
|
+
className: invoice.status === "overdue" ? "font-medium text-red-700 dark:text-red-400" : "",
|
|
19701
19706
|
children: [
|
|
19702
19707
|
"Due: ",
|
|
19703
19708
|
formatDate4(invoice.dueDate)
|
|
@@ -19749,15 +19754,15 @@ function InvoicePaymentPage({
|
|
|
19749
19754
|
)
|
|
19750
19755
|
] })
|
|
19751
19756
|
] }) }),
|
|
19752
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
19753
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19754
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19757
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { "data-slot": "invoice-payment-form", children: [
|
|
19758
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { children: "Payment Details" }) }),
|
|
19759
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardContent, { children: /* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: handleSubmit, className: "space-y-4", children: [
|
|
19755
19760
|
errorMessage && /* @__PURE__ */ jsxRuntime.jsx(
|
|
19756
19761
|
"div",
|
|
19757
19762
|
{
|
|
19758
19763
|
"data-slot": "invoice-payment-error",
|
|
19759
19764
|
className: "rounded-lg border border-red-200 bg-red-50 p-3 dark:border-red-800 dark:bg-red-900/20",
|
|
19760
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-red-
|
|
19765
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm text-red-700 dark:text-red-400", children: errorMessage })
|
|
19761
19766
|
}
|
|
19762
19767
|
),
|
|
19763
19768
|
acceptedMethods.length > 1 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -20132,11 +20137,11 @@ function InvoiceView({
|
|
|
20132
20137
|
}
|
|
20133
20138
|
),
|
|
20134
20139
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
20135
|
-
|
|
20140
|
+
chunk3M4P2KMG_cjs.Card,
|
|
20136
20141
|
{
|
|
20137
20142
|
"data-slot": "invoice-view-card",
|
|
20138
20143
|
className: "print:border-0 print:shadow-none",
|
|
20139
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
20144
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardContent, { className: "p-6 sm:p-8", children: [
|
|
20140
20145
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
20141
20146
|
"div",
|
|
20142
20147
|
{
|
|
@@ -20626,6 +20631,7 @@ function LoadingBar({
|
|
|
20626
20631
|
),
|
|
20627
20632
|
style: { width: `${Math.min(100, Math.max(0, progress))}%` },
|
|
20628
20633
|
role: "progressbar",
|
|
20634
|
+
"aria-label": "Loading progress",
|
|
20629
20635
|
"aria-valuenow": progress,
|
|
20630
20636
|
"aria-valuemin": 0,
|
|
20631
20637
|
"aria-valuemax": 100
|
|
@@ -22535,7 +22541,7 @@ function OrderCard({
|
|
|
22535
22541
|
}
|
|
22536
22542
|
};
|
|
22537
22543
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22538
|
-
|
|
22544
|
+
chunk3M4P2KMG_cjs.Card,
|
|
22539
22545
|
{
|
|
22540
22546
|
className: `transition-all duration-200 ${onClick ? "cursor-pointer hover:shadow-md" : ""} ${selected ? "ring-primary ring-2" : ""} ${className} `.trim(),
|
|
22541
22547
|
onClick: onClick ? handleCardClick : void 0,
|
|
@@ -22624,7 +22630,7 @@ function OrderCard({
|
|
|
22624
22630
|
formatDate3(scheduledDate)
|
|
22625
22631
|
] })
|
|
22626
22632
|
] }),
|
|
22627
|
-
status === "rejected" && rejectionReason && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "bg-destructive/10 text-destructive mb-3 rounded p-2 text-sm", children: [
|
|
22633
|
+
status === "rejected" && rejectionReason && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "bg-destructive/10 text-destructive-700 dark:text-destructive-400 mb-3 rounded p-2 text-sm", children: [
|
|
22628
22634
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium", children: "Reason:" }),
|
|
22629
22635
|
" ",
|
|
22630
22636
|
rejectionReason
|
|
@@ -22635,7 +22641,7 @@ function OrderCard({
|
|
|
22635
22641
|
{
|
|
22636
22642
|
type: "button",
|
|
22637
22643
|
onClick: handleViewClick,
|
|
22638
|
-
className: "text-primary hover:text-primary/80 text-sm font-medium",
|
|
22644
|
+
className: "text-primary-800 hover:text-primary-800/80 dark:text-primary-400 text-sm font-medium",
|
|
22639
22645
|
children: "View Details"
|
|
22640
22646
|
}
|
|
22641
22647
|
),
|
|
@@ -22754,7 +22760,7 @@ function OrderConfirmationWizard({
|
|
|
22754
22760
|
)
|
|
22755
22761
|
] }, stepNum);
|
|
22756
22762
|
}) }) }),
|
|
22757
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "ocw-summary-card", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22763
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "ocw-summary-card", children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.Card, { className: "mb-6", children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardContent, { className: "p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
22758
22764
|
"div",
|
|
22759
22765
|
{
|
|
22760
22766
|
className: "flex items-center justify-between",
|
|
@@ -22782,7 +22788,7 @@ function OrderConfirmationWizard({
|
|
|
22782
22788
|
]
|
|
22783
22789
|
}
|
|
22784
22790
|
) }) }) }),
|
|
22785
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "ocw-step-card", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22791
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "ocw-step-card", children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.Card, { className: "mb-6", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardContent, { className: "p-6", "data-slot": "ocw-step-content", children: [
|
|
22786
22792
|
step === 1 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-6", "data-slot": "ocw-step-body", children: [
|
|
22787
22793
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22788
22794
|
"h3",
|
|
@@ -23333,6 +23339,9 @@ function OrderList({
|
|
|
23333
23339
|
{
|
|
23334
23340
|
className: "flex gap-1 overflow-x-auto",
|
|
23335
23341
|
"data-slot": "order-list-tabs",
|
|
23342
|
+
role: "region",
|
|
23343
|
+
tabIndex: 0,
|
|
23344
|
+
"aria-label": "Order filter tabs",
|
|
23336
23345
|
children: tabs.map((tab) => {
|
|
23337
23346
|
const count = tab.count ?? tabCounts[tab.id];
|
|
23338
23347
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -23408,85 +23417,95 @@ function OrderList({
|
|
|
23408
23417
|
] })
|
|
23409
23418
|
}
|
|
23410
23419
|
),
|
|
23411
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23420
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23412
23421
|
"div",
|
|
23413
23422
|
{
|
|
23414
|
-
className: "flex
|
|
23415
|
-
"data-slot": "order-list-
|
|
23416
|
-
|
|
23417
|
-
|
|
23423
|
+
className: "flex-1 overflow-y-auto",
|
|
23424
|
+
"data-slot": "order-list-body",
|
|
23425
|
+
role: "region",
|
|
23426
|
+
tabIndex: 0,
|
|
23427
|
+
"aria-label": "Order list",
|
|
23428
|
+
children: isLoading ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
23429
|
+
"div",
|
|
23418
23430
|
{
|
|
23419
|
-
"
|
|
23420
|
-
|
|
23421
|
-
|
|
23422
|
-
|
|
23431
|
+
className: "flex items-center justify-center py-12",
|
|
23432
|
+
"data-slot": "order-list-loading",
|
|
23433
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
23434
|
+
"svg",
|
|
23435
|
+
{
|
|
23436
|
+
"aria-hidden": "true",
|
|
23437
|
+
className: "h-8 w-8 animate-spin text-blue-500",
|
|
23438
|
+
fill: "none",
|
|
23439
|
+
viewBox: "0 0 24 24",
|
|
23440
|
+
children: [
|
|
23441
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23442
|
+
"circle",
|
|
23443
|
+
{
|
|
23444
|
+
className: "opacity-25",
|
|
23445
|
+
cx: "12",
|
|
23446
|
+
cy: "12",
|
|
23447
|
+
r: "10",
|
|
23448
|
+
stroke: "currentColor",
|
|
23449
|
+
strokeWidth: "4"
|
|
23450
|
+
}
|
|
23451
|
+
),
|
|
23452
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23453
|
+
"path",
|
|
23454
|
+
{
|
|
23455
|
+
className: "opacity-75",
|
|
23456
|
+
fill: "currentColor",
|
|
23457
|
+
d: "M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"
|
|
23458
|
+
}
|
|
23459
|
+
)
|
|
23460
|
+
]
|
|
23461
|
+
}
|
|
23462
|
+
)
|
|
23463
|
+
}
|
|
23464
|
+
) : filteredOrders.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs(
|
|
23465
|
+
"div",
|
|
23466
|
+
{
|
|
23467
|
+
className: "flex flex-col items-center justify-center px-4 py-12 text-center",
|
|
23468
|
+
"data-slot": "order-list-empty",
|
|
23423
23469
|
children: [
|
|
23424
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23425
|
-
"
|
|
23470
|
+
emptyIcon || /* @__PURE__ */ jsxRuntime.jsx(
|
|
23471
|
+
"svg",
|
|
23426
23472
|
{
|
|
23427
|
-
|
|
23428
|
-
|
|
23429
|
-
|
|
23430
|
-
|
|
23473
|
+
"aria-hidden": "true",
|
|
23474
|
+
className: "mb-4 h-12 w-12 text-gray-400",
|
|
23475
|
+
fill: "none",
|
|
23476
|
+
viewBox: "0 0 24 24",
|
|
23431
23477
|
stroke: "currentColor",
|
|
23432
|
-
|
|
23478
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
23479
|
+
"path",
|
|
23480
|
+
{
|
|
23481
|
+
strokeLinecap: "round",
|
|
23482
|
+
strokeLinejoin: "round",
|
|
23483
|
+
strokeWidth: 1.5,
|
|
23484
|
+
d: "M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"
|
|
23485
|
+
}
|
|
23486
|
+
)
|
|
23433
23487
|
}
|
|
23434
23488
|
),
|
|
23435
23489
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23436
|
-
"
|
|
23490
|
+
"p",
|
|
23437
23491
|
{
|
|
23438
|
-
className: "
|
|
23439
|
-
|
|
23440
|
-
|
|
23492
|
+
className: "text-muted-foreground",
|
|
23493
|
+
"data-slot": "order-list-empty-message",
|
|
23494
|
+
children: emptyMessage
|
|
23441
23495
|
}
|
|
23442
23496
|
)
|
|
23443
23497
|
]
|
|
23444
23498
|
}
|
|
23499
|
+
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
23500
|
+
"div",
|
|
23501
|
+
{
|
|
23502
|
+
className: "divide-y divide-gray-200 dark:divide-gray-700",
|
|
23503
|
+
"data-slot": "order-list-items",
|
|
23504
|
+
children: filteredOrders.map((order, index) => /* @__PURE__ */ jsxRuntime.jsx("div", { children: renderOrder(order, index) }, index))
|
|
23505
|
+
}
|
|
23445
23506
|
)
|
|
23446
23507
|
}
|
|
23447
|
-
)
|
|
23448
|
-
"div",
|
|
23449
|
-
{
|
|
23450
|
-
className: "flex flex-col items-center justify-center px-4 py-12 text-center",
|
|
23451
|
-
"data-slot": "order-list-empty",
|
|
23452
|
-
children: [
|
|
23453
|
-
emptyIcon || /* @__PURE__ */ jsxRuntime.jsx(
|
|
23454
|
-
"svg",
|
|
23455
|
-
{
|
|
23456
|
-
"aria-hidden": "true",
|
|
23457
|
-
className: "mb-4 h-12 w-12 text-gray-400",
|
|
23458
|
-
fill: "none",
|
|
23459
|
-
viewBox: "0 0 24 24",
|
|
23460
|
-
stroke: "currentColor",
|
|
23461
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
23462
|
-
"path",
|
|
23463
|
-
{
|
|
23464
|
-
strokeLinecap: "round",
|
|
23465
|
-
strokeLinejoin: "round",
|
|
23466
|
-
strokeWidth: 1.5,
|
|
23467
|
-
d: "M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"
|
|
23468
|
-
}
|
|
23469
|
-
)
|
|
23470
|
-
}
|
|
23471
|
-
),
|
|
23472
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23473
|
-
"p",
|
|
23474
|
-
{
|
|
23475
|
-
className: "text-muted-foreground",
|
|
23476
|
-
"data-slot": "order-list-empty-message",
|
|
23477
|
-
children: emptyMessage
|
|
23478
|
-
}
|
|
23479
|
-
)
|
|
23480
|
-
]
|
|
23481
|
-
}
|
|
23482
|
-
) : /* @__PURE__ */ jsxRuntime.jsx(
|
|
23483
|
-
"div",
|
|
23484
|
-
{
|
|
23485
|
-
className: "divide-y divide-gray-200 dark:divide-gray-700",
|
|
23486
|
-
"data-slot": "order-list-items",
|
|
23487
|
-
children: filteredOrders.map((order, index) => /* @__PURE__ */ jsxRuntime.jsx("div", { children: renderOrder(order, index) }, index))
|
|
23488
|
-
}
|
|
23489
|
-
) })
|
|
23508
|
+
)
|
|
23490
23509
|
]
|
|
23491
23510
|
}
|
|
23492
23511
|
);
|
|
@@ -23561,7 +23580,7 @@ function OrderLookupForm({
|
|
|
23561
23580
|
/* @__PURE__ */ jsxRuntime.jsx("h2", { className: "mb-2 text-2xl font-bold text-gray-900 dark:text-white", children: "Order Lookup" }),
|
|
23562
23581
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mb-6", children: "Enter your order details to view your information." }),
|
|
23563
23582
|
/* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: handleSubmit, className: "space-y-4", children: [
|
|
23564
|
-
(errorMessage || notFound) && /* @__PURE__ */ jsxRuntime.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__ */ jsxRuntime.jsx("p", { className: "text-sm text-red-
|
|
23583
|
+
(errorMessage || notFound) && /* @__PURE__ */ jsxRuntime.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__ */ jsxRuntime.jsx("p", { className: "text-sm text-red-700 dark:text-red-400", children: errorMessage || "Order not found. Please check your information and try again." }) }),
|
|
23565
23584
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
23566
23585
|
chunkMSRU3XBH_cjs.Input,
|
|
23567
23586
|
{
|
|
@@ -24013,7 +24032,7 @@ function MedicationRow({
|
|
|
24013
24032
|
m.name,
|
|
24014
24033
|
m.dose ? ` ${m.dose}` : ""
|
|
24015
24034
|
] }, `${m.name}-${m.dose ?? i}`)),
|
|
24016
|
-
remaining > 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-primary text-xs", children: [
|
|
24035
|
+
remaining > 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-primary-800 dark:text-primary-400 text-xs", children: [
|
|
24017
24036
|
"+",
|
|
24018
24037
|
remaining,
|
|
24019
24038
|
" more"
|
|
@@ -26932,7 +26951,7 @@ function ProviderLogo2({
|
|
|
26932
26951
|
"data-slot": "provider-detail-logo",
|
|
26933
26952
|
className: chunkOR5DRJCW_cjs.cn(
|
|
26934
26953
|
logoSizeClasses[size],
|
|
26935
|
-
"bg-primary-100 text-primary-
|
|
26954
|
+
"bg-primary-100 text-primary-900 dark:bg-primary-900/30 dark:text-primary-400 flex items-center justify-center rounded-lg font-bold",
|
|
26936
26955
|
size === "sm" && "text-lg",
|
|
26937
26956
|
size === "md" && "text-2xl",
|
|
26938
26957
|
size === "lg" && "text-3xl",
|
|
@@ -27961,9 +27980,9 @@ function ProviderOverview({
|
|
|
27961
27980
|
]
|
|
27962
27981
|
}
|
|
27963
27982
|
),
|
|
27964
|
-
quickActions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-overview-actions", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
27965
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
27966
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
27983
|
+
quickActions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-overview-actions", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { children: [
|
|
27984
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { children: "Quick Actions" }) }),
|
|
27985
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardContent, { children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "grid grid-cols-2 gap-2 sm:grid-cols-4", children: quickActions.map((action) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
27967
27986
|
"button",
|
|
27968
27987
|
{
|
|
27969
27988
|
onClick: () => {
|
|
@@ -27997,9 +28016,9 @@ function ProviderOverview({
|
|
|
27997
28016
|
action.id
|
|
27998
28017
|
)) }) })
|
|
27999
28018
|
] }) }),
|
|
28000
|
-
recentActivity.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-overview-activity", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
28001
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
28002
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
28019
|
+
recentActivity.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-overview-activity", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { children: [
|
|
28020
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { children: "Recent Activity" }) }),
|
|
28021
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardContent, { children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: recentActivity.map((activity) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
28003
28022
|
"div",
|
|
28004
28023
|
{
|
|
28005
28024
|
role: onActivityClick ? "button" : void 0,
|
|
@@ -29022,6 +29041,7 @@ function CompactFilterBar({
|
|
|
29022
29041
|
value: filters.radius,
|
|
29023
29042
|
onChange: (e) => handleFieldChange("radius", Number(e.target.value)),
|
|
29024
29043
|
disabled: loading,
|
|
29044
|
+
"aria-label": "Search radius",
|
|
29025
29045
|
className: chunkOR5DRJCW_cjs.cn(
|
|
29026
29046
|
"h-9 rounded-r-md border border-l-0 border-neutral-200 px-2 text-sm",
|
|
29027
29047
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
@@ -29043,6 +29063,7 @@ function CompactFilterBar({
|
|
|
29043
29063
|
handleFieldChange("services", value ? [value] : []);
|
|
29044
29064
|
},
|
|
29045
29065
|
disabled: loading,
|
|
29066
|
+
"aria-label": "Service filter",
|
|
29046
29067
|
className: chunkOR5DRJCW_cjs.cn(
|
|
29047
29068
|
"h-9 w-full rounded-md border border-neutral-200 px-3 text-sm",
|
|
29048
29069
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
@@ -29325,7 +29346,7 @@ function ProviderSelector({
|
|
|
29325
29346
|
"div",
|
|
29326
29347
|
{
|
|
29327
29348
|
"data-slot": "provider-selector-trigger-avatar",
|
|
29328
|
-
className: "bg-primary/10 text-primary flex h-6 w-6 items-center justify-center rounded text-xs font-medium",
|
|
29349
|
+
className: "bg-primary/10 text-primary-800 dark:text-primary-400 flex h-6 w-6 items-center justify-center rounded text-xs font-medium",
|
|
29329
29350
|
children: getInitials2(selectedProvider.name)
|
|
29330
29351
|
}
|
|
29331
29352
|
),
|
|
@@ -29485,7 +29506,7 @@ function ProviderSelector({
|
|
|
29485
29506
|
"svg",
|
|
29486
29507
|
{
|
|
29487
29508
|
"aria-hidden": "true",
|
|
29488
|
-
className: "text-primary h-5 w-5 flex-shrink-0",
|
|
29509
|
+
className: "text-primary-800 dark:text-primary-400 h-5 w-5 flex-shrink-0",
|
|
29489
29510
|
fill: "none",
|
|
29490
29511
|
viewBox: "0 0 24 24",
|
|
29491
29512
|
stroke: "currentColor",
|
|
@@ -29601,9 +29622,9 @@ function ProviderSettings({
|
|
|
29601
29622
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsTrigger, { value: "payments", children: "Payments" })
|
|
29602
29623
|
] }),
|
|
29603
29624
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "general", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-6 md:grid-cols-2", children: [
|
|
29604
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
29605
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29606
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
29625
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { children: [
|
|
29626
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { as: "h2", className: "text-lg", children: "Basic Information" }) }),
|
|
29627
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardContent, { className: "space-y-4", children: [
|
|
29607
29628
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
29608
29629
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29609
29630
|
"label",
|
|
@@ -29681,9 +29702,9 @@ function ProviderSettings({
|
|
|
29681
29702
|
] })
|
|
29682
29703
|
] })
|
|
29683
29704
|
] }),
|
|
29684
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
29685
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29686
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
29705
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { children: [
|
|
29706
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { as: "h2", className: "text-lg", children: "Contact Information" }) }),
|
|
29707
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardContent, { className: "space-y-4", children: [
|
|
29687
29708
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
29688
29709
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29689
29710
|
"label",
|
|
@@ -29743,9 +29764,9 @@ function ProviderSettings({
|
|
|
29743
29764
|
] })
|
|
29744
29765
|
] })
|
|
29745
29766
|
] }),
|
|
29746
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
29747
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29748
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
29767
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { className: "md:col-span-2", children: [
|
|
29768
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { as: "h2", className: "text-lg", children: "Address" }) }),
|
|
29769
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardContent, { className: "space-y-4", children: [
|
|
29749
29770
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-4 md:grid-cols-2", children: [
|
|
29750
29771
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
29751
29772
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -29861,9 +29882,9 @@ function ProviderSettings({
|
|
|
29861
29882
|
] })
|
|
29862
29883
|
] })
|
|
29863
29884
|
] }) }),
|
|
29864
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "notifications", children: /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-settings-notifications", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
29865
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29866
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
29885
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "notifications", children: /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-settings-notifications", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { children: [
|
|
29886
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { as: "h2", className: "text-lg", children: "Notification Preferences" }) }),
|
|
29887
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardContent, { className: "space-y-6", children: [
|
|
29867
29888
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
29868
29889
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4 font-medium text-gray-900 dark:text-white", children: "Email Notifications" }),
|
|
29869
29890
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
@@ -29946,9 +29967,9 @@ function ProviderSettings({
|
|
|
29946
29967
|
] })
|
|
29947
29968
|
] })
|
|
29948
29969
|
] }) }) }),
|
|
29949
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "scheduling", children: /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-settings-scheduling", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
29950
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29951
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
29970
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "scheduling", children: /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-settings-scheduling", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { children: [
|
|
29971
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { as: "h2", className: "text-lg", children: "Scheduling Settings" }) }),
|
|
29972
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardContent, { className: "space-y-6", children: [
|
|
29952
29973
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
29953
29974
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
29954
29975
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
@@ -30031,9 +30052,9 @@ function ProviderSettings({
|
|
|
30031
30052
|
] })
|
|
30032
30053
|
] })
|
|
30033
30054
|
] }) }) }),
|
|
30034
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "payments", children: /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-settings-payments", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
30035
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30036
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
30055
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "payments", children: /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-settings-payments", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { children: [
|
|
30056
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { as: "h2", className: "text-lg", children: "Payment Settings" }) }),
|
|
30057
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardContent, { className: "space-y-6", children: [
|
|
30037
30058
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
30038
30059
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4 font-medium text-gray-900 dark:text-white", children: "Accepted Payment Methods" }),
|
|
30039
30060
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-4 sm:grid-cols-2", children: [
|
|
@@ -30387,9 +30408,9 @@ function QuickLinksCard({
|
|
|
30387
30408
|
3: "grid-cols-3",
|
|
30388
30409
|
4: "grid-cols-4"
|
|
30389
30410
|
}[columns];
|
|
30390
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
30391
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30392
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30411
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { className, children: [
|
|
30412
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { className: "pb-3", children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { className: "text-base", children: title }) }),
|
|
30413
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardContent, { className: "pt-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
30393
30414
|
"div",
|
|
30394
30415
|
{
|
|
30395
30416
|
"data-slot": "quick-links-list",
|
|
@@ -30425,7 +30446,7 @@ function QuickLinksCard({
|
|
|
30425
30446
|
"span",
|
|
30426
30447
|
{
|
|
30427
30448
|
"data-slot": "quick-links-badge",
|
|
30428
|
-
className: "bg-primary/10 ml-2 rounded-full px-2 py-0.5 text-xs font-medium text-[var(--mieweb-primary-
|
|
30449
|
+
className: "bg-primary/10 ml-2 rounded-full px-2 py-0.5 text-xs font-medium text-[var(--mieweb-primary-900)] dark:text-[var(--mieweb-primary-400)]",
|
|
30429
30450
|
children: link.badge
|
|
30430
30451
|
}
|
|
30431
30452
|
),
|
|
@@ -31308,7 +31329,7 @@ function ReportDashboard({
|
|
|
31308
31329
|
{
|
|
31309
31330
|
"data-slot": "report-dashboard-metrics",
|
|
31310
31331
|
className: "grid grid-cols-2 gap-4 md:grid-cols-4",
|
|
31311
|
-
children: metrics.map((metric, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
31332
|
+
children: metrics.map((metric, index) => /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.Card, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardContent, { className: "p-4", children: [
|
|
31312
31333
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: metric.label }),
|
|
31313
31334
|
/* @__PURE__ */ jsxRuntime.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 }),
|
|
31314
31335
|
(metric.change !== void 0 || metric.changeLabel) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -31327,9 +31348,9 @@ function ReportDashboard({
|
|
|
31327
31348
|
] }) }, index))
|
|
31328
31349
|
}
|
|
31329
31350
|
),
|
|
31330
|
-
chartData.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "report-dashboard-chart", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31331
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31332
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
31351
|
+
chartData.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "report-dashboard-chart", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { children: [
|
|
31352
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { as: "h2", className: "text-lg", children: "Order Volume" }) }),
|
|
31353
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardContent, { children: [
|
|
31333
31354
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-48 items-end gap-1", children: chartData.map((point, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31334
31355
|
"div",
|
|
31335
31356
|
{
|
|
@@ -31380,9 +31401,9 @@ function ReportDashboard({
|
|
|
31380
31401
|
"data-slot": "report-dashboard-top-lists",
|
|
31381
31402
|
className: "grid gap-6 md:grid-cols-2",
|
|
31382
31403
|
children: [
|
|
31383
|
-
topServices.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "report-dashboard-services", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31384
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31385
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31404
|
+
topServices.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "report-dashboard-services", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { children: [
|
|
31405
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { as: "h2", className: "text-lg", children: "Top Services" }) }),
|
|
31406
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardContent, { className: "space-y-3", children: topServices.map((service, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
31386
31407
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31387
31408
|
chunk4FALCEJI_cjs.Badge,
|
|
31388
31409
|
{
|
|
@@ -31406,9 +31427,9 @@ function ReportDashboard({
|
|
|
31406
31427
|
] })
|
|
31407
31428
|
] }, service.id)) })
|
|
31408
31429
|
] }) }),
|
|
31409
|
-
topEmployers.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "report-dashboard-employers", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31410
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31411
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31430
|
+
topEmployers.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "report-dashboard-employers", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { children: [
|
|
31431
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { as: "h2", className: "text-lg", children: "Top Employers" }) }),
|
|
31432
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardContent, { className: "space-y-3", children: topEmployers.map((employer, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
31412
31433
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31413
31434
|
chunk4FALCEJI_cjs.Badge,
|
|
31414
31435
|
{
|
|
@@ -31777,7 +31798,7 @@ var ResultsEntryForm = React48__namespace.forwardRef(function ResultsEntryForm2(
|
|
|
31777
31798
|
"button",
|
|
31778
31799
|
{
|
|
31779
31800
|
type: "button",
|
|
31780
|
-
className: "text-primary mt-2 inline-block text-sm hover:underline",
|
|
31801
|
+
className: "text-primary-800 dark:text-primary-400 mt-2 inline-block text-sm hover:underline",
|
|
31781
31802
|
children: addProviderContact
|
|
31782
31803
|
}
|
|
31783
31804
|
)
|
|
@@ -33228,7 +33249,7 @@ function ServiceCard({
|
|
|
33228
33249
|
const showInventory = limitedInventory && inventoryCount !== void 0;
|
|
33229
33250
|
const isLowInventory = showInventory && inventoryTotal && inventoryCount / inventoryTotal < 0.2;
|
|
33230
33251
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "service-card", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33231
|
-
|
|
33252
|
+
chunk3M4P2KMG_cjs.Card,
|
|
33232
33253
|
{
|
|
33233
33254
|
className: chunkOR5DRJCW_cjs.cn(
|
|
33234
33255
|
"h-full transition-all duration-200",
|
|
@@ -33326,7 +33347,7 @@ function AddServiceCard({
|
|
|
33326
33347
|
className = ""
|
|
33327
33348
|
}) {
|
|
33328
33349
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "add-service-card", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33329
|
-
|
|
33350
|
+
chunk3M4P2KMG_cjs.Card,
|
|
33330
33351
|
{
|
|
33331
33352
|
className: chunkOR5DRJCW_cjs.cn(
|
|
33332
33353
|
"border-border bg-muted/50 hover:border-primary hover:bg-muted h-full cursor-pointer border-2 border-dashed transition-all duration-200",
|
|
@@ -33365,9 +33386,9 @@ function ServiceGeneralSettings({
|
|
|
33365
33386
|
errorMessage,
|
|
33366
33387
|
className = ""
|
|
33367
33388
|
}) {
|
|
33368
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
33369
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
33370
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33389
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { className, "data-slot": "service-settings", children: [
|
|
33390
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardHeader, { className: "pb-4", "data-slot": "service-settings-header", children: [
|
|
33391
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { className: "text-lg", "data-slot": "service-settings-title", children: "General Settings" }),
|
|
33371
33392
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33372
33393
|
"p",
|
|
33373
33394
|
{
|
|
@@ -33377,7 +33398,7 @@ function ServiceGeneralSettings({
|
|
|
33377
33398
|
}
|
|
33378
33399
|
)
|
|
33379
33400
|
] }),
|
|
33380
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
33401
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardContent, { className: "space-y-6", "data-slot": "service-settings-content", children: [
|
|
33381
33402
|
errorMessage && /* @__PURE__ */ jsxRuntime.jsx(
|
|
33382
33403
|
"div",
|
|
33383
33404
|
{
|
|
@@ -33805,7 +33826,7 @@ function ServicePicker({
|
|
|
33805
33826
|
"div",
|
|
33806
33827
|
{
|
|
33807
33828
|
"data-slot": "service-picker-error",
|
|
33808
|
-
className: "bg-destructive/10 text-destructive mb-4 rounded-lg p-4",
|
|
33829
|
+
className: "bg-destructive/10 text-destructive-700 mb-4 rounded-lg p-4 dark:text-red-400",
|
|
33809
33830
|
children: /* @__PURE__ */ jsxRuntime.jsx("strong", { children: error })
|
|
33810
33831
|
}
|
|
33811
33832
|
),
|
|
@@ -34284,7 +34305,7 @@ function ServicePricingManager({
|
|
|
34284
34305
|
]
|
|
34285
34306
|
}
|
|
34286
34307
|
),
|
|
34287
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "service-pricing-filters", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
34308
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "service-pricing-filters", children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.Card, { children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardContent, { className: "p-4", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 md:flex-row", children: [
|
|
34288
34309
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
34289
34310
|
chunkMSRU3XBH_cjs.Input,
|
|
34290
34311
|
{
|
|
@@ -34315,13 +34336,13 @@ function ServicePricingManager({
|
|
|
34315
34336
|
))
|
|
34316
34337
|
] })
|
|
34317
34338
|
] }) }) }) }),
|
|
34318
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "service-pricing-table", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
34319
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34339
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "service-pricing-table", children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { children: [
|
|
34340
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardTitle, { className: "text-lg", children: [
|
|
34320
34341
|
"Services (",
|
|
34321
34342
|
filteredServices.length,
|
|
34322
34343
|
")"
|
|
34323
34344
|
] }) }),
|
|
34324
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34345
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardContent, { children: filteredServices.length === 0 ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground py-8 text-center", children: "No services found" }) : /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "divide-y divide-gray-200 dark:divide-gray-700", children: [
|
|
34325
34346
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-muted-foreground hidden gap-4 py-3 text-xs font-medium uppercase md:grid md:grid-cols-6", children: [
|
|
34326
34347
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-2", children: "Service" }),
|
|
34327
34348
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-right", children: "Base Price" }),
|
|
@@ -34592,15 +34613,16 @@ function ServiceShippingSettings({
|
|
|
34592
34613
|
setAddress(newAddress);
|
|
34593
34614
|
onAddressChange?.(newAddress);
|
|
34594
34615
|
};
|
|
34595
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
34596
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
34616
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.Card, { className, "data-slot": "shipping-settings", children: [
|
|
34617
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunk3M4P2KMG_cjs.CardHeader, { className: "pb-4", "data-slot": "shipping-settings-header", children: [
|
|
34597
34618
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
34598
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34619
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardTitle, { className: "text-lg", "data-slot": "shipping-settings-title", children: "Shipping Settings" }),
|
|
34599
34620
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34600
34621
|
chunkNVHAQOHH_cjs.Switch,
|
|
34601
34622
|
{
|
|
34602
34623
|
checked: shippingEnabled,
|
|
34603
|
-
onCheckedChange: onShippingEnabledChange
|
|
34624
|
+
onCheckedChange: onShippingEnabledChange,
|
|
34625
|
+
"aria-label": "Enable shipping"
|
|
34604
34626
|
}
|
|
34605
34627
|
)
|
|
34606
34628
|
] }),
|
|
@@ -34614,7 +34636,7 @@ function ServiceShippingSettings({
|
|
|
34614
34636
|
)
|
|
34615
34637
|
] }),
|
|
34616
34638
|
shippingEnabled && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
34617
|
-
|
|
34639
|
+
chunk3M4P2KMG_cjs.CardContent,
|
|
34618
34640
|
{
|
|
34619
34641
|
className: "space-y-6",
|
|
34620
34642
|
"data-slot": "shipping-settings-content",
|
|
@@ -34646,7 +34668,8 @@ function ServiceShippingSettings({
|
|
|
34646
34668
|
chunkNVHAQOHH_cjs.Switch,
|
|
34647
34669
|
{
|
|
34648
34670
|
checked: useKitShipping,
|
|
34649
|
-
onCheckedChange: onUseKitShippingChange
|
|
34671
|
+
onCheckedChange: onUseKitShippingChange,
|
|
34672
|
+
"aria-label": "Use kit shipping"
|
|
34650
34673
|
}
|
|
34651
34674
|
)
|
|
34652
34675
|
]
|
|
@@ -35803,7 +35826,7 @@ function NewsletterForm({
|
|
|
35803
35826
|
required: true,
|
|
35804
35827
|
className: chunkOR5DRJCW_cjs.cn(
|
|
35805
35828
|
"min-w-0 flex-1 rounded-lg px-4 py-2 text-sm transition-colors",
|
|
35806
|
-
variant === "light" ? "border border-white/40 bg-white/20 text-white placeholder-white/
|
|
35829
|
+
variant === "light" ? "border border-white/40 bg-white/20 text-white placeholder-white/80 focus:border-white/60 focus:outline-none" : "focus:border-primary-500 border border-gray-300 bg-white text-gray-900 placeholder-gray-500 focus:outline-none dark:border-gray-600 dark:bg-gray-800 dark:text-white dark:placeholder-gray-400"
|
|
35807
35830
|
),
|
|
35808
35831
|
disabled: isLoading
|
|
35809
35832
|
}
|
|
@@ -37771,7 +37794,7 @@ function TocList({
|
|
|
37771
37794
|
className: chunkOR5DRJCW_cjs.cn(
|
|
37772
37795
|
"block rounded-sm px-2 py-1 transition-colors duration-150",
|
|
37773
37796
|
"hover:text-foreground",
|
|
37774
|
-
activeId === item.id ? "text-primary font-medium" : "text-neutral-600 dark:text-neutral-400"
|
|
37797
|
+
activeId === item.id ? "text-primary-800 dark:text-primary-400 font-medium" : "text-neutral-600 dark:text-neutral-400"
|
|
37775
37798
|
),
|
|
37776
37799
|
children: item.title
|
|
37777
37800
|
}
|
|
@@ -38699,7 +38722,7 @@ function WebChartReportViewer({
|
|
|
38699
38722
|
) : reports.length > 0 ? (
|
|
38700
38723
|
// Report buttons
|
|
38701
38724
|
reports.map((report) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
38702
|
-
|
|
38725
|
+
chunk3M4P2KMG_cjs.Card,
|
|
38703
38726
|
{
|
|
38704
38727
|
interactive: true,
|
|
38705
38728
|
padding: "none",
|
|
@@ -38714,7 +38737,7 @@ function WebChartReportViewer({
|
|
|
38714
38737
|
}
|
|
38715
38738
|
},
|
|
38716
38739
|
className: "cursor-pointer",
|
|
38717
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
38740
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunk3M4P2KMG_cjs.CardContent, { className: "p-3", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
38718
38741
|
"span",
|
|
38719
38742
|
{
|
|
38720
38743
|
className: "block truncate text-sm font-medium",
|
|
@@ -38922,6 +38945,7 @@ function ReportTimeRange({
|
|
|
38922
38945
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
38923
38946
|
chunkFRT6RQND_cjs.Select,
|
|
38924
38947
|
{
|
|
38948
|
+
"aria-label": "Time range",
|
|
38925
38949
|
value: preset,
|
|
38926
38950
|
onValueChange: (value) => handlePresetChange(value),
|
|
38927
38951
|
options: selectOptions,
|
|
@@ -39325,15 +39349,15 @@ Object.defineProperty(exports, "tabsTriggerVariants", {
|
|
|
39325
39349
|
});
|
|
39326
39350
|
Object.defineProperty(exports, "SmallMuted", {
|
|
39327
39351
|
enumerable: true,
|
|
39328
|
-
get: function () { return
|
|
39352
|
+
get: function () { return chunkPJAQDAMZ_cjs.SmallMuted; }
|
|
39329
39353
|
});
|
|
39330
39354
|
Object.defineProperty(exports, "Text", {
|
|
39331
39355
|
enumerable: true,
|
|
39332
|
-
get: function () { return
|
|
39356
|
+
get: function () { return chunkPJAQDAMZ_cjs.Text; }
|
|
39333
39357
|
});
|
|
39334
39358
|
Object.defineProperty(exports, "textVariants", {
|
|
39335
39359
|
enumerable: true,
|
|
39336
|
-
get: function () { return
|
|
39360
|
+
get: function () { return chunkPJAQDAMZ_cjs.textVariants; }
|
|
39337
39361
|
});
|
|
39338
39362
|
Object.defineProperty(exports, "Textarea", {
|
|
39339
39363
|
enumerable: true,
|
|
@@ -39637,23 +39661,23 @@ Object.defineProperty(exports, "progressBarTrackVariants", {
|
|
|
39637
39661
|
});
|
|
39638
39662
|
Object.defineProperty(exports, "AudioPlayer", {
|
|
39639
39663
|
enumerable: true,
|
|
39640
|
-
get: function () { return
|
|
39664
|
+
get: function () { return chunkLOTMAKUG_cjs.AudioPlayer; }
|
|
39641
39665
|
});
|
|
39642
39666
|
Object.defineProperty(exports, "ProgressBar", {
|
|
39643
39667
|
enumerable: true,
|
|
39644
|
-
get: function () { return
|
|
39668
|
+
get: function () { return chunkLOTMAKUG_cjs.ProgressBar; }
|
|
39645
39669
|
});
|
|
39646
39670
|
Object.defineProperty(exports, "audioPlayerVariants", {
|
|
39647
39671
|
enumerable: true,
|
|
39648
|
-
get: function () { return
|
|
39672
|
+
get: function () { return chunkLOTMAKUG_cjs.audioPlayerVariants; }
|
|
39649
39673
|
});
|
|
39650
39674
|
Object.defineProperty(exports, "formatAudioTime", {
|
|
39651
39675
|
enumerable: true,
|
|
39652
|
-
get: function () { return
|
|
39676
|
+
get: function () { return chunkLOTMAKUG_cjs.formatTime; }
|
|
39653
39677
|
});
|
|
39654
39678
|
Object.defineProperty(exports, "playButtonVariants", {
|
|
39655
39679
|
enumerable: true,
|
|
39656
|
-
get: function () { return
|
|
39680
|
+
get: function () { return chunkLOTMAKUG_cjs.playButtonVariants; }
|
|
39657
39681
|
});
|
|
39658
39682
|
Object.defineProperty(exports, "AudioRecorder", {
|
|
39659
39683
|
enumerable: true,
|
|
@@ -39717,59 +39741,59 @@ Object.defineProperty(exports, "buttonVariants", {
|
|
|
39717
39741
|
});
|
|
39718
39742
|
Object.defineProperty(exports, "Card", {
|
|
39719
39743
|
enumerable: true,
|
|
39720
|
-
get: function () { return
|
|
39744
|
+
get: function () { return chunk3M4P2KMG_cjs.Card; }
|
|
39721
39745
|
});
|
|
39722
39746
|
Object.defineProperty(exports, "CardActions", {
|
|
39723
39747
|
enumerable: true,
|
|
39724
|
-
get: function () { return
|
|
39748
|
+
get: function () { return chunk3M4P2KMG_cjs.CardActions; }
|
|
39725
39749
|
});
|
|
39726
39750
|
Object.defineProperty(exports, "CardBadge", {
|
|
39727
39751
|
enumerable: true,
|
|
39728
|
-
get: function () { return
|
|
39752
|
+
get: function () { return chunk3M4P2KMG_cjs.CardBadge; }
|
|
39729
39753
|
});
|
|
39730
39754
|
Object.defineProperty(exports, "CardCollapsible", {
|
|
39731
39755
|
enumerable: true,
|
|
39732
|
-
get: function () { return
|
|
39756
|
+
get: function () { return chunk3M4P2KMG_cjs.CardCollapsible; }
|
|
39733
39757
|
});
|
|
39734
39758
|
Object.defineProperty(exports, "CardContent", {
|
|
39735
39759
|
enumerable: true,
|
|
39736
|
-
get: function () { return
|
|
39760
|
+
get: function () { return chunk3M4P2KMG_cjs.CardContent; }
|
|
39737
39761
|
});
|
|
39738
39762
|
Object.defineProperty(exports, "CardDescription", {
|
|
39739
39763
|
enumerable: true,
|
|
39740
|
-
get: function () { return
|
|
39764
|
+
get: function () { return chunk3M4P2KMG_cjs.CardDescription; }
|
|
39741
39765
|
});
|
|
39742
39766
|
Object.defineProperty(exports, "CardDivider", {
|
|
39743
39767
|
enumerable: true,
|
|
39744
|
-
get: function () { return
|
|
39768
|
+
get: function () { return chunk3M4P2KMG_cjs.CardDivider; }
|
|
39745
39769
|
});
|
|
39746
39770
|
Object.defineProperty(exports, "CardFooter", {
|
|
39747
39771
|
enumerable: true,
|
|
39748
|
-
get: function () { return
|
|
39772
|
+
get: function () { return chunk3M4P2KMG_cjs.CardFooter; }
|
|
39749
39773
|
});
|
|
39750
39774
|
Object.defineProperty(exports, "CardHeader", {
|
|
39751
39775
|
enumerable: true,
|
|
39752
|
-
get: function () { return
|
|
39776
|
+
get: function () { return chunk3M4P2KMG_cjs.CardHeader; }
|
|
39753
39777
|
});
|
|
39754
39778
|
Object.defineProperty(exports, "CardMedia", {
|
|
39755
39779
|
enumerable: true,
|
|
39756
|
-
get: function () { return
|
|
39780
|
+
get: function () { return chunk3M4P2KMG_cjs.CardMedia; }
|
|
39757
39781
|
});
|
|
39758
39782
|
Object.defineProperty(exports, "CardStat", {
|
|
39759
39783
|
enumerable: true,
|
|
39760
|
-
get: function () { return
|
|
39784
|
+
get: function () { return chunk3M4P2KMG_cjs.CardStat; }
|
|
39761
39785
|
});
|
|
39762
39786
|
Object.defineProperty(exports, "CardTitle", {
|
|
39763
39787
|
enumerable: true,
|
|
39764
|
-
get: function () { return
|
|
39788
|
+
get: function () { return chunk3M4P2KMG_cjs.CardTitle; }
|
|
39765
39789
|
});
|
|
39766
39790
|
Object.defineProperty(exports, "cardAccentVariants", {
|
|
39767
39791
|
enumerable: true,
|
|
39768
|
-
get: function () { return
|
|
39792
|
+
get: function () { return chunk3M4P2KMG_cjs.cardAccentVariants; }
|
|
39769
39793
|
});
|
|
39770
39794
|
Object.defineProperty(exports, "cardVariants", {
|
|
39771
39795
|
enumerable: true,
|
|
39772
|
-
get: function () { return
|
|
39796
|
+
get: function () { return chunk3M4P2KMG_cjs.cardVariants; }
|
|
39773
39797
|
});
|
|
39774
39798
|
Object.defineProperty(exports, "Checkbox", {
|
|
39775
39799
|
enumerable: true,
|