@mieweb/ui 0.3.0-dev.101 → 0.3.0-dev.103
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-RGTM53RS.js → chunk-2B2KEZ2H.js} +3 -3
- package/dist/chunk-2B2KEZ2H.js.map +1 -0
- package/dist/{chunk-JYAWYBA3.js → chunk-CZNV5TOO.js} +5 -2
- package/dist/chunk-CZNV5TOO.js.map +1 -0
- package/dist/{chunk-YDWWG4A2.cjs → chunk-PTJMBSPV.cjs} +3 -3
- package/dist/chunk-PTJMBSPV.cjs.map +1 -0
- package/dist/{chunk-E35GUUTC.cjs → chunk-QJ2NURTX.cjs} +5 -2
- package/dist/chunk-QJ2NURTX.cjs.map +1 -0
- package/dist/components/Card/index.cjs +15 -15
- package/dist/components/Card/index.js +1 -1
- package/dist/index.cjs +157 -144
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +24 -11
- package/dist/index.js.map +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-E35GUUTC.cjs.map +0 -1
- package/dist/chunk-JYAWYBA3.js.map +0 -1
- package/dist/chunk-RGTM53RS.js.map +0 -1
- package/dist/chunk-YDWWG4A2.cjs.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -39,7 +39,7 @@ 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 chunkPTJMBSPV_cjs = require('./chunk-PTJMBSPV.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');
|
|
@@ -52,7 +52,7 @@ require('./chunk-74K3RRU7.cjs');
|
|
|
52
52
|
var chunkCW75IKA6_cjs = require('./chunk-CW75IKA6.cjs');
|
|
53
53
|
var chunkL7YQBSEL_cjs = require('./chunk-L7YQBSEL.cjs');
|
|
54
54
|
var chunkSCV7C55E_cjs = require('./chunk-SCV7C55E.cjs');
|
|
55
|
-
var
|
|
55
|
+
var chunkQJ2NURTX_cjs = require('./chunk-QJ2NURTX.cjs');
|
|
56
56
|
var chunkWGPMTW36_cjs = require('./chunk-WGPMTW36.cjs');
|
|
57
57
|
var chunkOR5DRJCW_cjs = require('./chunk-OR5DRJCW.cjs');
|
|
58
58
|
var React48 = require('react');
|
|
@@ -4734,6 +4734,7 @@ function AIChat({
|
|
|
4734
4734
|
"data-slot": "ai-chat-header-action",
|
|
4735
4735
|
className: "rounded-lg p-2 text-neutral-500 hover:bg-neutral-100 hover:text-neutral-700 dark:hover:bg-neutral-800 dark:hover:text-neutral-300",
|
|
4736
4736
|
title: "Clear chat",
|
|
4737
|
+
"aria-label": "Clear chat",
|
|
4737
4738
|
children: /* @__PURE__ */ jsxRuntime.jsx(RefreshIcon, {})
|
|
4738
4739
|
}
|
|
4739
4740
|
),
|
|
@@ -5585,6 +5586,7 @@ function LoginForm({ onSubmit, isLoading, onForgotPassword }) {
|
|
|
5585
5586
|
type: "button",
|
|
5586
5587
|
onClick: () => setShowPassword(!showPassword),
|
|
5587
5588
|
className: "text-muted-foreground absolute top-1/2 right-3 -translate-y-1/2 hover:text-gray-700",
|
|
5589
|
+
"aria-label": showPassword ? "Hide password" : "Show password",
|
|
5588
5590
|
children: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(EyeIcon, { className: "h-4 w-4" })
|
|
5589
5591
|
}
|
|
5590
5592
|
)
|
|
@@ -5693,6 +5695,7 @@ function SignupForm({
|
|
|
5693
5695
|
type: "button",
|
|
5694
5696
|
onClick: () => setShowPassword(!showPassword),
|
|
5695
5697
|
className: "text-muted-foreground absolute top-1/2 right-3 -translate-y-1/2 hover:text-gray-700",
|
|
5698
|
+
"aria-label": showPassword ? "Hide password" : "Show password",
|
|
5696
5699
|
children: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(EyeIcon, { className: "h-4 w-4" })
|
|
5697
5700
|
}
|
|
5698
5701
|
)
|
|
@@ -5871,6 +5874,7 @@ function ResetPasswordForm({ onSubmit, isLoading }) {
|
|
|
5871
5874
|
type: "button",
|
|
5872
5875
|
onClick: () => setShowPassword(!showPassword),
|
|
5873
5876
|
className: "text-muted-foreground absolute top-1/2 right-3 -translate-y-1/2 hover:text-gray-700",
|
|
5877
|
+
"aria-label": showPassword ? "Hide password" : "Show password",
|
|
5874
5878
|
children: showPassword ? /* @__PURE__ */ jsxRuntime.jsx(EyeOffIcon, { className: "h-4 w-4" }) : /* @__PURE__ */ jsxRuntime.jsx(EyeIcon, { className: "h-4 w-4" })
|
|
5875
5879
|
}
|
|
5876
5880
|
)
|
|
@@ -8796,6 +8800,7 @@ function CommandPalette({
|
|
|
8796
8800
|
onClick: () => setQuery(""),
|
|
8797
8801
|
"data-testid": `${testId}-clear`,
|
|
8798
8802
|
className: "text-muted-foreground absolute top-1/2 right-12 -translate-y-1/2 hover:text-gray-700 dark:hover:text-gray-200",
|
|
8803
|
+
"aria-label": "Clear search",
|
|
8799
8804
|
children: /* @__PURE__ */ jsxRuntime.jsx(XIcon2, {})
|
|
8800
8805
|
}
|
|
8801
8806
|
),
|
|
@@ -11011,7 +11016,7 @@ var DashboardWidget = React48__namespace.forwardRef(
|
|
|
11011
11016
|
...props
|
|
11012
11017
|
}, ref) => {
|
|
11013
11018
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
11014
|
-
|
|
11019
|
+
chunkPTJMBSPV_cjs.Card,
|
|
11015
11020
|
{
|
|
11016
11021
|
ref,
|
|
11017
11022
|
padding: "none",
|
|
@@ -11021,7 +11026,7 @@ var DashboardWidget = React48__namespace.forwardRef(
|
|
|
11021
11026
|
...props,
|
|
11022
11027
|
children: [
|
|
11023
11028
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
11024
|
-
|
|
11029
|
+
chunkPTJMBSPV_cjs.CardHeader,
|
|
11025
11030
|
{
|
|
11026
11031
|
"data-slot": "dashboard-widget-header",
|
|
11027
11032
|
className: chunkOR5DRJCW_cjs.cn(
|
|
@@ -11067,7 +11072,7 @@ var DashboardWidget = React48__namespace.forwardRef(
|
|
|
11067
11072
|
}
|
|
11068
11073
|
),
|
|
11069
11074
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
11070
|
-
|
|
11075
|
+
chunkPTJMBSPV_cjs.CardContent,
|
|
11071
11076
|
{
|
|
11072
11077
|
"data-slot": "dashboard-widget-body",
|
|
11073
11078
|
className: chunkOR5DRJCW_cjs.cn("px-4 py-3", accent && "pl-6"),
|
|
@@ -13866,9 +13871,9 @@ function ClaimProviderForm({
|
|
|
13866
13871
|
onSubmit?.(formData);
|
|
13867
13872
|
};
|
|
13868
13873
|
const isValid = formData.firstName.trim() && formData.lastName.trim() && formData.email.trim() && formData.role && formData.agreedToTerms;
|
|
13869
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
13870
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
13871
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13874
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { className, children: [
|
|
13875
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardHeader, { children: [
|
|
13876
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { "data-slot": "claim-form-title", className: "text-lg", children: "Claim Provider Listing" }),
|
|
13872
13877
|
providerName && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
13873
13878
|
"div",
|
|
13874
13879
|
{
|
|
@@ -13895,7 +13900,7 @@ function ClaimProviderForm({
|
|
|
13895
13900
|
}
|
|
13896
13901
|
)
|
|
13897
13902
|
] }),
|
|
13898
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13903
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardContent, { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
13899
13904
|
"form",
|
|
13900
13905
|
{
|
|
13901
13906
|
onSubmit: handleSubmit,
|
|
@@ -15857,9 +15862,9 @@ function EmployerContactCard({
|
|
|
15857
15862
|
className = ""
|
|
15858
15863
|
}) {
|
|
15859
15864
|
if (isLoading) {
|
|
15860
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
15861
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15862
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15865
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { "data-slot": "employer-contact-card", className, children: [
|
|
15866
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { "data-slot": "employer-contact-header", children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { children: title }) }),
|
|
15867
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_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: [
|
|
15863
15868
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-10 w-10 rounded-full bg-gray-200 dark:bg-gray-700" }),
|
|
15864
15869
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex-1 space-y-2", children: [
|
|
15865
15870
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "h-4 w-24 rounded bg-gray-200 dark:bg-gray-700" }),
|
|
@@ -15868,14 +15873,14 @@ function EmployerContactCard({
|
|
|
15868
15873
|
] }, i)) }) })
|
|
15869
15874
|
] });
|
|
15870
15875
|
}
|
|
15871
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
15876
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { "data-slot": "employer-contact-card", className, children: [
|
|
15872
15877
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
15873
|
-
|
|
15878
|
+
chunkPTJMBSPV_cjs.CardHeader,
|
|
15874
15879
|
{
|
|
15875
15880
|
"data-slot": "employer-contact-header",
|
|
15876
15881
|
className: "flex flex-row items-center justify-between",
|
|
15877
15882
|
children: [
|
|
15878
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15883
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { children: title }),
|
|
15879
15884
|
showActions && onAddContact && /* @__PURE__ */ jsxRuntime.jsxs(chunkA2QVQF54_cjs.Button, { variant: "ghost", size: "sm", onClick: onAddContact, children: [
|
|
15880
15885
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15881
15886
|
"svg",
|
|
@@ -15901,7 +15906,7 @@ function EmployerContactCard({
|
|
|
15901
15906
|
]
|
|
15902
15907
|
}
|
|
15903
15908
|
),
|
|
15904
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15909
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardContent, { children: contacts.length === 0 ? /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "employer-contact-empty", className: "py-6 text-center", children: [
|
|
15905
15910
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
15906
15911
|
"svg",
|
|
15907
15912
|
{
|
|
@@ -16293,19 +16298,19 @@ function EmployerPricingCard({
|
|
|
16293
16298
|
return "Any quantity";
|
|
16294
16299
|
};
|
|
16295
16300
|
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16296
|
-
|
|
16301
|
+
chunkPTJMBSPV_cjs.Card,
|
|
16297
16302
|
{
|
|
16298
16303
|
"data-slot": "employer-pricing-card",
|
|
16299
16304
|
className: `${className} ${!isActive ? "opacity-60" : ""}`,
|
|
16300
16305
|
children: [
|
|
16301
16306
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
16302
|
-
|
|
16307
|
+
chunkPTJMBSPV_cjs.CardHeader,
|
|
16303
16308
|
{
|
|
16304
16309
|
"data-slot": "employer-pricing-header",
|
|
16305
16310
|
className: "flex flex-row items-start justify-between space-y-0 pb-2",
|
|
16306
16311
|
children: [
|
|
16307
16312
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "employer-pricing-title", className: "flex-1", children: [
|
|
16308
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16313
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { className: "text-base font-semibold", children: serviceName }),
|
|
16309
16314
|
!isActive && /* @__PURE__ */ jsxRuntime.jsx(chunk4FALCEJI_cjs.Badge, { variant: "secondary", className: "mt-1", children: "Inactive" })
|
|
16310
16315
|
] }),
|
|
16311
16316
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "employer-pricing-base-price", className: "text-right", children: [
|
|
@@ -16315,7 +16320,7 @@ function EmployerPricingCard({
|
|
|
16315
16320
|
]
|
|
16316
16321
|
}
|
|
16317
16322
|
),
|
|
16318
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
16323
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardContent, { className: "pt-0", children: [
|
|
16319
16324
|
tiers.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "employer-pricing-tiers", className: "mt-3 space-y-2", children: [
|
|
16320
16325
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-xs font-medium tracking-wide uppercase", children: "Volume Pricing" }),
|
|
16321
16326
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-1", children: tiers.map((tier) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -16457,7 +16462,7 @@ function EmployerView({
|
|
|
16457
16462
|
);
|
|
16458
16463
|
}
|
|
16459
16464
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "employer-view", className: `space-y-6 ${className}`, children: [
|
|
16460
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16465
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.Card, { "data-slot": "employer-view-header-card", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardContent, { "data-slot": "employer-view-header", className: "p-6", children: [
|
|
16461
16466
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col justify-between gap-4 md:flex-row md:items-center", children: [
|
|
16462
16467
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-4", children: [
|
|
16463
16468
|
employer.logoUrl ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -16540,9 +16545,9 @@ function EmployerView({
|
|
|
16540
16545
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsTrigger, { value: "contacts", children: "Contacts" })
|
|
16541
16546
|
] }),
|
|
16542
16547
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "overview", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-6 md:grid-cols-2", children: [
|
|
16543
|
-
employer.address && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16544
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16545
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16548
|
+
employer.address && /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { "data-slot": "employer-view-address-card", children: [
|
|
16549
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { className: "text-lg", children: "Address" }) }),
|
|
16550
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardContent, { children: /* @__PURE__ */ jsxRuntime.jsxs("address", { className: "text-gray-700 not-italic dark:text-gray-300", children: [
|
|
16546
16551
|
employer.address.street,
|
|
16547
16552
|
employer.address.street2 && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
16548
16553
|
/* @__PURE__ */ jsxRuntime.jsx("br", {}),
|
|
@@ -16556,9 +16561,9 @@ function EmployerView({
|
|
|
16556
16561
|
employer.address.zip
|
|
16557
16562
|
] }) })
|
|
16558
16563
|
] }),
|
|
16559
|
-
employer.contacts.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16560
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16561
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16564
|
+
employer.contacts.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { "data-slot": "employer-view-contact-card", children: [
|
|
16565
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { className: "text-lg", children: "Primary Contact" }) }),
|
|
16566
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardContent, { children: (() => {
|
|
16562
16567
|
const primary = employer.contacts.find((c) => c.isPrimary) || employer.contacts[0];
|
|
16563
16568
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
16564
16569
|
/* @__PURE__ */ jsxRuntime.jsx(chunkFQ3UCZUX_cjs.Avatar, { name: primary.name, size: "md" }),
|
|
@@ -16580,12 +16585,12 @@ function EmployerView({
|
|
|
16580
16585
|
})() })
|
|
16581
16586
|
] })
|
|
16582
16587
|
] }) }),
|
|
16583
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "orders", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16584
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
16585
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16588
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "orders", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { "data-slot": "employer-view-orders-card", children: [
|
|
16589
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardHeader, { className: "flex flex-row items-center justify-between", children: [
|
|
16590
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { className: "text-lg", children: "Recent Orders" }),
|
|
16586
16591
|
onCreateOrder && /* @__PURE__ */ jsxRuntime.jsx(chunkA2QVQF54_cjs.Button, { size: "sm", onClick: onCreateOrder, children: "New Order" })
|
|
16587
16592
|
] }),
|
|
16588
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16593
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_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(
|
|
16589
16594
|
"div",
|
|
16590
16595
|
{
|
|
16591
16596
|
"data-slot": "employer-view-order-row",
|
|
@@ -16614,12 +16619,12 @@ function EmployerView({
|
|
|
16614
16619
|
order.id
|
|
16615
16620
|
)) }) })
|
|
16616
16621
|
] }) }),
|
|
16617
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "invoices", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16618
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
16619
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16622
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "invoices", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { "data-slot": "employer-view-invoices-card", children: [
|
|
16623
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardHeader, { className: "flex flex-row items-center justify-between", children: [
|
|
16624
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { className: "text-lg", children: "Recent Invoices" }),
|
|
16620
16625
|
onCreateInvoice && /* @__PURE__ */ jsxRuntime.jsx(chunkA2QVQF54_cjs.Button, { size: "sm", onClick: onCreateInvoice, children: "New Invoice" })
|
|
16621
16626
|
] }),
|
|
16622
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16627
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_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(
|
|
16623
16628
|
"div",
|
|
16624
16629
|
{
|
|
16625
16630
|
"data-slot": "employer-view-invoice-row",
|
|
@@ -16650,9 +16655,9 @@ function EmployerView({
|
|
|
16650
16655
|
invoice.id
|
|
16651
16656
|
)) }) })
|
|
16652
16657
|
] }) }),
|
|
16653
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "contacts", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
16654
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16655
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16658
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "contacts", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { "data-slot": "employer-view-contacts-card", children: [
|
|
16659
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { className: "text-lg", children: "All Contacts" }) }),
|
|
16660
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_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(
|
|
16656
16661
|
"div",
|
|
16657
16662
|
{
|
|
16658
16663
|
"data-slot": "employer-view-contact-row",
|
|
@@ -17117,7 +17122,7 @@ function ErrorPage({
|
|
|
17117
17122
|
displayCode && /* @__PURE__ */ jsxRuntime.jsx(
|
|
17118
17123
|
"div",
|
|
17119
17124
|
{
|
|
17120
|
-
className: "
|
|
17125
|
+
className: "text-muted-foreground mb-4 text-6xl font-bold sm:text-8xl",
|
|
17121
17126
|
"data-slot": "error-page-code",
|
|
17122
17127
|
children: displayCode
|
|
17123
17128
|
}
|
|
@@ -17302,7 +17307,7 @@ function ActionButton({ label, onClick, href, variant }) {
|
|
|
17302
17307
|
);
|
|
17303
17308
|
}
|
|
17304
17309
|
function DefaultIllustration({ type }) {
|
|
17305
|
-
const iconClasses = "h-24 w-24 text-
|
|
17310
|
+
const iconClasses = "h-24 w-24 text-muted-foreground";
|
|
17306
17311
|
switch (type) {
|
|
17307
17312
|
case "404":
|
|
17308
17313
|
return /* @__PURE__ */ jsxRuntime.jsx(Search404Icon, { className: iconClasses });
|
|
@@ -17615,7 +17620,7 @@ function FileManager({
|
|
|
17615
17620
|
};
|
|
17616
17621
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "file-manager", className, children: [
|
|
17617
17622
|
showDropzone && /* @__PURE__ */ jsxRuntime.jsx(
|
|
17618
|
-
|
|
17623
|
+
chunkPTJMBSPV_cjs.Card,
|
|
17619
17624
|
{
|
|
17620
17625
|
"data-slot": "file-manager-dropzone",
|
|
17621
17626
|
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(),
|
|
@@ -18067,9 +18072,9 @@ function HelpSupportPanel({
|
|
|
18067
18072
|
),
|
|
18068
18073
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "help-support-grid", className: "grid gap-6 md:grid-cols-3", children: [
|
|
18069
18074
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4 md:col-span-2", children: [
|
|
18070
|
-
faqs.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18071
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18072
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
18075
|
+
faqs.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { "data-slot": "help-support-faq-card", children: [
|
|
18076
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { className: "text-lg", children: "Frequently Asked Questions" }) }),
|
|
18077
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardContent, { className: "space-y-4", children: [
|
|
18073
18078
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18074
18079
|
chunkMSRU3XBH_cjs.Input,
|
|
18075
18080
|
{
|
|
@@ -18122,9 +18127,9 @@ function HelpSupportPanel({
|
|
|
18122
18127
|
)) })
|
|
18123
18128
|
] })
|
|
18124
18129
|
] }),
|
|
18125
|
-
onSubmitRequest && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18126
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18127
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
18130
|
+
onSubmitRequest && /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { "data-slot": "help-support-form-card", children: [
|
|
18131
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { className: "text-lg", children: "Contact Support" }) }),
|
|
18132
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardContent, { children: [
|
|
18128
18133
|
showSuccess && successMessage && /* @__PURE__ */ jsxRuntime.jsx(
|
|
18129
18134
|
"div",
|
|
18130
18135
|
{
|
|
@@ -18211,9 +18216,9 @@ function HelpSupportPanel({
|
|
|
18211
18216
|
] })
|
|
18212
18217
|
] }),
|
|
18213
18218
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
18214
|
-
contacts.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18215
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18216
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18219
|
+
contacts.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { "data-slot": "help-support-contacts-card", children: [
|
|
18220
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { className: "text-lg", children: "Contact Us" }) }),
|
|
18221
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardContent, { className: "space-y-4", children: contacts.map((contact, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
18217
18222
|
"div",
|
|
18218
18223
|
{
|
|
18219
18224
|
"data-slot": "help-support-contact-item",
|
|
@@ -18244,9 +18249,9 @@ function HelpSupportPanel({
|
|
|
18244
18249
|
index
|
|
18245
18250
|
)) })
|
|
18246
18251
|
] }),
|
|
18247
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
18248
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
18249
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
18252
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { "data-slot": "help-support-links-card", children: [
|
|
18253
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { className: "text-lg", children: "Quick Links" }) }),
|
|
18254
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardContent, { className: "space-y-2", children: [
|
|
18250
18255
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
18251
18256
|
"button",
|
|
18252
18257
|
{
|
|
@@ -19566,11 +19571,11 @@ function InvoicePaymentPage({
|
|
|
19566
19571
|
"data-slot": "invoice-payment",
|
|
19567
19572
|
className: `flex min-h-screen items-center justify-center bg-gray-50 p-4 dark:bg-gray-900 ${className}`,
|
|
19568
19573
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
19569
|
-
|
|
19574
|
+
chunkPTJMBSPV_cjs.Card,
|
|
19570
19575
|
{
|
|
19571
19576
|
"data-slot": "invoice-payment-not-found",
|
|
19572
19577
|
className: "w-full max-w-md text-center",
|
|
19573
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
19578
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardContent, { className: "py-12", children: [
|
|
19574
19579
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19575
19580
|
"svg",
|
|
19576
19581
|
{
|
|
@@ -19605,11 +19610,11 @@ function InvoicePaymentPage({
|
|
|
19605
19610
|
"data-slot": "invoice-payment",
|
|
19606
19611
|
className: `flex min-h-screen items-center justify-center bg-gray-50 p-4 dark:bg-gray-900 ${className}`,
|
|
19607
19612
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
19608
|
-
|
|
19613
|
+
chunkPTJMBSPV_cjs.Card,
|
|
19609
19614
|
{
|
|
19610
19615
|
"data-slot": "invoice-payment-success",
|
|
19611
19616
|
className: "w-full max-w-md text-center",
|
|
19612
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
19617
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardContent, { className: "py-12", children: [
|
|
19613
19618
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19614
19619
|
"div",
|
|
19615
19620
|
{
|
|
@@ -19675,15 +19680,15 @@ function InvoicePaymentPage({
|
|
|
19675
19680
|
"data-slot": "invoice-payment-grid",
|
|
19676
19681
|
className: "grid gap-6 lg:grid-cols-2",
|
|
19677
19682
|
children: [
|
|
19678
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
19679
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19680
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
19683
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { "data-slot": "invoice-payment-summary", children: [
|
|
19684
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
19685
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardTitle, { children: [
|
|
19681
19686
|
"Invoice ",
|
|
19682
19687
|
invoice.invoiceNumber
|
|
19683
19688
|
] }),
|
|
19684
19689
|
/* @__PURE__ */ jsxRuntime.jsx(chunk4FALCEJI_cjs.Badge, { variant: getStatusVariant(invoice.status), children: invoice.status })
|
|
19685
19690
|
] }) }),
|
|
19686
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
19691
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardContent, { className: "space-y-4", children: [
|
|
19687
19692
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-muted-foreground space-y-1 text-sm", children: [
|
|
19688
19693
|
/* @__PURE__ */ jsxRuntime.jsxs("p", { children: [
|
|
19689
19694
|
"Issued: ",
|
|
@@ -19744,9 +19749,9 @@ function InvoicePaymentPage({
|
|
|
19744
19749
|
)
|
|
19745
19750
|
] })
|
|
19746
19751
|
] }) }),
|
|
19747
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
19748
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19749
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
19752
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { "data-slot": "invoice-payment-form", children: [
|
|
19753
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { children: "Payment Details" }) }),
|
|
19754
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardContent, { children: /* @__PURE__ */ jsxRuntime.jsxs("form", { onSubmit: handleSubmit, className: "space-y-4", children: [
|
|
19750
19755
|
errorMessage && /* @__PURE__ */ jsxRuntime.jsx(
|
|
19751
19756
|
"div",
|
|
19752
19757
|
{
|
|
@@ -20127,11 +20132,11 @@ function InvoiceView({
|
|
|
20127
20132
|
}
|
|
20128
20133
|
),
|
|
20129
20134
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
20130
|
-
|
|
20135
|
+
chunkPTJMBSPV_cjs.Card,
|
|
20131
20136
|
{
|
|
20132
20137
|
"data-slot": "invoice-view-card",
|
|
20133
20138
|
className: "print:border-0 print:shadow-none",
|
|
20134
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
20139
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardContent, { className: "p-6 sm:p-8", children: [
|
|
20135
20140
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
20136
20141
|
"div",
|
|
20137
20142
|
{
|
|
@@ -21970,7 +21975,7 @@ function NotificationCenter({
|
|
|
21970
21975
|
role: "button",
|
|
21971
21976
|
tabIndex: 0,
|
|
21972
21977
|
"data-slot": "notification-center-item",
|
|
21973
|
-
className: `cursor-pointer px-4 py-3 transition-colors hover:bg-gray-50 dark:hover:bg-gray-800 ${!notification.isRead ? "bg-blue-50/50 dark:bg-blue-900/10" : ""}`,
|
|
21978
|
+
className: `group cursor-pointer px-4 py-3 transition-colors hover:bg-gray-50 dark:hover:bg-gray-800 ${!notification.isRead ? "bg-blue-50/50 dark:bg-blue-900/10" : ""}`,
|
|
21974
21979
|
onClick: () => {
|
|
21975
21980
|
if (onNotificationClick) {
|
|
21976
21981
|
onNotificationClick(notification);
|
|
@@ -22066,7 +22071,8 @@ function NotificationCenter({
|
|
|
22066
22071
|
{
|
|
22067
22072
|
variant: "ghost",
|
|
22068
22073
|
size: "sm",
|
|
22069
|
-
className: "h-auto p-1 text-xs opacity-0 group-hover:opacity-100",
|
|
22074
|
+
className: "h-auto p-1 text-xs opacity-0 group-hover:opacity-100 focus:opacity-100",
|
|
22075
|
+
"aria-label": "Dismiss notification",
|
|
22070
22076
|
onClick: (e) => {
|
|
22071
22077
|
e.stopPropagation();
|
|
22072
22078
|
onDismiss(notification.id);
|
|
@@ -22250,6 +22256,7 @@ function OnboardingWizard({
|
|
|
22250
22256
|
variant: "outline",
|
|
22251
22257
|
onClick: handleBack,
|
|
22252
22258
|
disabled: !backEnabled || isFirstStep,
|
|
22259
|
+
"aria-label": back,
|
|
22253
22260
|
children: [
|
|
22254
22261
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "hidden sm:inline", children: back }),
|
|
22255
22262
|
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-chevron-left sm:hidden" })
|
|
@@ -22273,6 +22280,7 @@ function OnboardingWizard({
|
|
|
22273
22280
|
variant: "primary",
|
|
22274
22281
|
onClick: handleNext,
|
|
22275
22282
|
disabled: !nextEnabled && !isLastStep,
|
|
22283
|
+
"aria-label": isLastStep ? finish : next,
|
|
22276
22284
|
children: [
|
|
22277
22285
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "hidden sm:inline", children: isLastStep ? finish : next }),
|
|
22278
22286
|
!isLastStep && /* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-chevron-right sm:hidden" })
|
|
@@ -22527,7 +22535,7 @@ function OrderCard({
|
|
|
22527
22535
|
}
|
|
22528
22536
|
};
|
|
22529
22537
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
22530
|
-
|
|
22538
|
+
chunkPTJMBSPV_cjs.Card,
|
|
22531
22539
|
{
|
|
22532
22540
|
className: `transition-all duration-200 ${onClick ? "cursor-pointer hover:shadow-md" : ""} ${selected ? "ring-primary ring-2" : ""} ${className} `.trim(),
|
|
22533
22541
|
onClick: onClick ? handleCardClick : void 0,
|
|
@@ -22746,7 +22754,7 @@ function OrderConfirmationWizard({
|
|
|
22746
22754
|
)
|
|
22747
22755
|
] }, stepNum);
|
|
22748
22756
|
}) }) }),
|
|
22749
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "ocw-summary-card", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22757
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "ocw-summary-card", children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.Card, { className: "mb-6", children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardContent, { className: "p-4", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
22750
22758
|
"div",
|
|
22751
22759
|
{
|
|
22752
22760
|
className: "flex items-center justify-between",
|
|
@@ -22774,7 +22782,7 @@ function OrderConfirmationWizard({
|
|
|
22774
22782
|
]
|
|
22775
22783
|
}
|
|
22776
22784
|
) }) }) }),
|
|
22777
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "ocw-step-card", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22785
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "ocw-step-card", children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.Card, { className: "mb-6", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardContent, { className: "p-6", "data-slot": "ocw-step-content", children: [
|
|
22778
22786
|
step === 1 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-6", "data-slot": "ocw-step-body", children: [
|
|
22779
22787
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22780
22788
|
"h3",
|
|
@@ -26110,7 +26118,7 @@ function ProductVersion({
|
|
|
26110
26118
|
name,
|
|
26111
26119
|
" ",
|
|
26112
26120
|
versionDisplay,
|
|
26113
|
-
build && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ml-1
|
|
26121
|
+
build && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ml-1", children: [
|
|
26114
26122
|
"(",
|
|
26115
26123
|
build,
|
|
26116
26124
|
")"
|
|
@@ -26141,7 +26149,7 @@ function ProductVersion({
|
|
|
26141
26149
|
}
|
|
26142
26150
|
)
|
|
26143
26151
|
] }),
|
|
26144
|
-
build && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground
|
|
26152
|
+
build && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground", children: [
|
|
26145
26153
|
"Build: ",
|
|
26146
26154
|
build
|
|
26147
26155
|
] }),
|
|
@@ -26158,7 +26166,7 @@ function ProductVersion({
|
|
|
26158
26166
|
children: [
|
|
26159
26167
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium", children: name }),
|
|
26160
26168
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: versionDisplay }),
|
|
26161
|
-
build && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground
|
|
26169
|
+
build && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground", children: [
|
|
26162
26170
|
"(",
|
|
26163
26171
|
build,
|
|
26164
26172
|
")"
|
|
@@ -26175,7 +26183,7 @@ function ProductVersion({
|
|
|
26175
26183
|
}
|
|
26176
26184
|
),
|
|
26177
26185
|
(author || copyright) && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
26178
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
26186
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: "\u2022" }),
|
|
26179
26187
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground", children: copyrightText })
|
|
26180
26188
|
] })
|
|
26181
26189
|
]
|
|
@@ -27953,9 +27961,9 @@ function ProviderOverview({
|
|
|
27953
27961
|
]
|
|
27954
27962
|
}
|
|
27955
27963
|
),
|
|
27956
|
-
quickActions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-overview-actions", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
27957
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
27958
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
27964
|
+
quickActions.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-overview-actions", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { children: [
|
|
27965
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { children: "Quick Actions" }) }),
|
|
27966
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_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(
|
|
27959
27967
|
"button",
|
|
27960
27968
|
{
|
|
27961
27969
|
onClick: () => {
|
|
@@ -27989,9 +27997,9 @@ function ProviderOverview({
|
|
|
27989
27997
|
action.id
|
|
27990
27998
|
)) }) })
|
|
27991
27999
|
] }) }),
|
|
27992
|
-
recentActivity.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-overview-activity", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
27993
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
27994
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
28000
|
+
recentActivity.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-overview-activity", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { children: [
|
|
28001
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { children: "Recent Activity" }) }),
|
|
28002
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardContent, { children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-3", children: recentActivity.map((activity) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
27995
28003
|
"div",
|
|
27996
28004
|
{
|
|
27997
28005
|
role: onActivityClick ? "button" : void 0,
|
|
@@ -29593,9 +29601,9 @@ function ProviderSettings({
|
|
|
29593
29601
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsTrigger, { value: "payments", children: "Payments" })
|
|
29594
29602
|
] }),
|
|
29595
29603
|
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "general", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-6 md:grid-cols-2", children: [
|
|
29596
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
29597
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29598
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
29604
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { children: [
|
|
29605
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { as: "h2", className: "text-lg", children: "Basic Information" }) }),
|
|
29606
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardContent, { className: "space-y-4", children: [
|
|
29599
29607
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
29600
29608
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29601
29609
|
"label",
|
|
@@ -29673,9 +29681,9 @@ function ProviderSettings({
|
|
|
29673
29681
|
] })
|
|
29674
29682
|
] })
|
|
29675
29683
|
] }),
|
|
29676
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
29677
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29678
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
29684
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { children: [
|
|
29685
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { as: "h2", className: "text-lg", children: "Contact Information" }) }),
|
|
29686
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardContent, { className: "space-y-4", children: [
|
|
29679
29687
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
29680
29688
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29681
29689
|
"label",
|
|
@@ -29735,9 +29743,9 @@ function ProviderSettings({
|
|
|
29735
29743
|
] })
|
|
29736
29744
|
] })
|
|
29737
29745
|
] }),
|
|
29738
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
29739
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29740
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
29746
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { className: "md:col-span-2", children: [
|
|
29747
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { as: "h2", className: "text-lg", children: "Address" }) }),
|
|
29748
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardContent, { className: "space-y-4", children: [
|
|
29741
29749
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-4 md:grid-cols-2", children: [
|
|
29742
29750
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
29743
29751
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -29853,9 +29861,9 @@ function ProviderSettings({
|
|
|
29853
29861
|
] })
|
|
29854
29862
|
] })
|
|
29855
29863
|
] }) }),
|
|
29856
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "notifications", children: /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-settings-notifications", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
29857
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29858
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
29864
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "notifications", children: /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-settings-notifications", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { children: [
|
|
29865
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { as: "h2", className: "text-lg", children: "Notification Preferences" }) }),
|
|
29866
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardContent, { className: "space-y-6", children: [
|
|
29859
29867
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
29860
29868
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4 font-medium text-gray-900 dark:text-white", children: "Email Notifications" }),
|
|
29861
29869
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
@@ -29938,9 +29946,9 @@ function ProviderSettings({
|
|
|
29938
29946
|
] })
|
|
29939
29947
|
] })
|
|
29940
29948
|
] }) }) }),
|
|
29941
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "scheduling", children: /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-settings-scheduling", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
29942
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
29943
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
29949
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "scheduling", children: /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-settings-scheduling", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { children: [
|
|
29950
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { as: "h2", className: "text-lg", children: "Scheduling Settings" }) }),
|
|
29951
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardContent, { className: "space-y-6", children: [
|
|
29944
29952
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "space-y-4", children: [
|
|
29945
29953
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
29946
29954
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
@@ -30023,9 +30031,9 @@ function ProviderSettings({
|
|
|
30023
30031
|
] })
|
|
30024
30032
|
] })
|
|
30025
30033
|
] }) }) }),
|
|
30026
|
-
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "payments", children: /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-settings-payments", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
30027
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30028
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
30034
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkQASIWBXU_cjs.TabsContent, { value: "payments", children: /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "provider-settings-payments", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { children: [
|
|
30035
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { as: "h2", className: "text-lg", children: "Payment Settings" }) }),
|
|
30036
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardContent, { className: "space-y-6", children: [
|
|
30029
30037
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
30030
30038
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "mb-4 font-medium text-gray-900 dark:text-white", children: "Accepted Payment Methods" }),
|
|
30031
30039
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "grid gap-4 sm:grid-cols-2", children: [
|
|
@@ -30379,9 +30387,9 @@ function QuickLinksCard({
|
|
|
30379
30387
|
3: "grid-cols-3",
|
|
30380
30388
|
4: "grid-cols-4"
|
|
30381
30389
|
}[columns];
|
|
30382
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
30383
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30384
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
30390
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { className, children: [
|
|
30391
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { className: "pb-3", children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { className: "text-base", children: title }) }),
|
|
30392
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardContent, { className: "pt-0", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
30385
30393
|
"div",
|
|
30386
30394
|
{
|
|
30387
30395
|
"data-slot": "quick-links-list",
|
|
@@ -31300,7 +31308,7 @@ function ReportDashboard({
|
|
|
31300
31308
|
{
|
|
31301
31309
|
"data-slot": "report-dashboard-metrics",
|
|
31302
31310
|
className: "grid grid-cols-2 gap-4 md:grid-cols-4",
|
|
31303
|
-
children: metrics.map((metric, index) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
31311
|
+
children: metrics.map((metric, index) => /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.Card, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardContent, { className: "p-4", children: [
|
|
31304
31312
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: metric.label }),
|
|
31305
31313
|
/* @__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 }),
|
|
31306
31314
|
(metric.change !== void 0 || metric.changeLabel) && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -31319,9 +31327,9 @@ function ReportDashboard({
|
|
|
31319
31327
|
] }) }, index))
|
|
31320
31328
|
}
|
|
31321
31329
|
),
|
|
31322
|
-
chartData.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "report-dashboard-chart", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31323
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31324
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
31330
|
+
chartData.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "report-dashboard-chart", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { children: [
|
|
31331
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { as: "h2", className: "text-lg", children: "Order Volume" }) }),
|
|
31332
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardContent, { children: [
|
|
31325
31333
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-48 items-end gap-1", children: chartData.map((point, index) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31326
31334
|
"div",
|
|
31327
31335
|
{
|
|
@@ -31372,9 +31380,9 @@ function ReportDashboard({
|
|
|
31372
31380
|
"data-slot": "report-dashboard-top-lists",
|
|
31373
31381
|
className: "grid gap-6 md:grid-cols-2",
|
|
31374
31382
|
children: [
|
|
31375
|
-
topServices.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "report-dashboard-services", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31376
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31377
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31383
|
+
topServices.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "report-dashboard-services", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { children: [
|
|
31384
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { as: "h2", className: "text-lg", children: "Top Services" }) }),
|
|
31385
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardContent, { className: "space-y-3", children: topServices.map((service, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
31378
31386
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31379
31387
|
chunk4FALCEJI_cjs.Badge,
|
|
31380
31388
|
{
|
|
@@ -31398,9 +31406,9 @@ function ReportDashboard({
|
|
|
31398
31406
|
] })
|
|
31399
31407
|
] }, service.id)) })
|
|
31400
31408
|
] }) }),
|
|
31401
|
-
topEmployers.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "report-dashboard-employers", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
31402
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31403
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31409
|
+
topEmployers.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "report-dashboard-employers", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { children: [
|
|
31410
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { as: "h2", className: "text-lg", children: "Top Employers" }) }),
|
|
31411
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardContent, { className: "space-y-3", children: topEmployers.map((employer, index) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
31404
31412
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
31405
31413
|
chunk4FALCEJI_cjs.Badge,
|
|
31406
31414
|
{
|
|
@@ -33220,7 +33228,7 @@ function ServiceCard({
|
|
|
33220
33228
|
const showInventory = limitedInventory && inventoryCount !== void 0;
|
|
33221
33229
|
const isLowInventory = showInventory && inventoryTotal && inventoryCount / inventoryTotal < 0.2;
|
|
33222
33230
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "service-card", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33223
|
-
|
|
33231
|
+
chunkPTJMBSPV_cjs.Card,
|
|
33224
33232
|
{
|
|
33225
33233
|
className: chunkOR5DRJCW_cjs.cn(
|
|
33226
33234
|
"h-full transition-all duration-200",
|
|
@@ -33283,6 +33291,7 @@ function ServiceCard({
|
|
|
33283
33291
|
onClick: handleDeleteClick,
|
|
33284
33292
|
className: "text-muted-foreground hover:text-destructive p-1.5 transition-colors",
|
|
33285
33293
|
title: "Delete service",
|
|
33294
|
+
"aria-label": "Delete service",
|
|
33286
33295
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Trash2, { className: "h-4 w-4" })
|
|
33287
33296
|
}
|
|
33288
33297
|
),
|
|
@@ -33293,6 +33302,7 @@ function ServiceCard({
|
|
|
33293
33302
|
onClick: handleEditClick,
|
|
33294
33303
|
className: "text-muted-foreground hover:text-primary p-1.5 transition-colors",
|
|
33295
33304
|
title: "Edit service",
|
|
33305
|
+
"aria-label": "Edit service",
|
|
33296
33306
|
children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.Pencil, { className: "h-4 w-4" })
|
|
33297
33307
|
}
|
|
33298
33308
|
),
|
|
@@ -33316,7 +33326,7 @@ function AddServiceCard({
|
|
|
33316
33326
|
className = ""
|
|
33317
33327
|
}) {
|
|
33318
33328
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "add-service-card", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
33319
|
-
|
|
33329
|
+
chunkPTJMBSPV_cjs.Card,
|
|
33320
33330
|
{
|
|
33321
33331
|
className: chunkOR5DRJCW_cjs.cn(
|
|
33322
33332
|
"border-border bg-muted/50 hover:border-primary hover:bg-muted h-full cursor-pointer border-2 border-dashed transition-all duration-200",
|
|
@@ -33355,9 +33365,9 @@ function ServiceGeneralSettings({
|
|
|
33355
33365
|
errorMessage,
|
|
33356
33366
|
className = ""
|
|
33357
33367
|
}) {
|
|
33358
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
33359
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
33360
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33368
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { className, "data-slot": "service-settings", children: [
|
|
33369
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardHeader, { className: "pb-4", "data-slot": "service-settings-header", children: [
|
|
33370
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { className: "text-lg", "data-slot": "service-settings-title", children: "General Settings" }),
|
|
33361
33371
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
33362
33372
|
"p",
|
|
33363
33373
|
{
|
|
@@ -33367,7 +33377,7 @@ function ServiceGeneralSettings({
|
|
|
33367
33377
|
}
|
|
33368
33378
|
)
|
|
33369
33379
|
] }),
|
|
33370
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
33380
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardContent, { className: "space-y-6", "data-slot": "service-settings-content", children: [
|
|
33371
33381
|
errorMessage && /* @__PURE__ */ jsxRuntime.jsx(
|
|
33372
33382
|
"div",
|
|
33373
33383
|
{
|
|
@@ -34274,7 +34284,7 @@ function ServicePricingManager({
|
|
|
34274
34284
|
]
|
|
34275
34285
|
}
|
|
34276
34286
|
),
|
|
34277
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "service-pricing-filters", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
34287
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "service-pricing-filters", children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.Card, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardContent, { className: "p-4", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col gap-4 md:flex-row", children: [
|
|
34278
34288
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex-1", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
34279
34289
|
chunkMSRU3XBH_cjs.Input,
|
|
34280
34290
|
{
|
|
@@ -34305,13 +34315,13 @@ function ServicePricingManager({
|
|
|
34305
34315
|
))
|
|
34306
34316
|
] })
|
|
34307
34317
|
] }) }) }) }),
|
|
34308
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "service-pricing-table", children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
34309
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34318
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { "data-slot": "service-pricing-table", children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { children: [
|
|
34319
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardHeader, { children: /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardTitle, { className: "text-lg", children: [
|
|
34310
34320
|
"Services (",
|
|
34311
34321
|
filteredServices.length,
|
|
34312
34322
|
")"
|
|
34313
34323
|
] }) }),
|
|
34314
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34324
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_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: [
|
|
34315
34325
|
/* @__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: [
|
|
34316
34326
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-2", children: "Service" }),
|
|
34317
34327
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-right", children: "Base Price" }),
|
|
@@ -34582,10 +34592,10 @@ function ServiceShippingSettings({
|
|
|
34582
34592
|
setAddress(newAddress);
|
|
34583
34593
|
onAddressChange?.(newAddress);
|
|
34584
34594
|
};
|
|
34585
|
-
return /* @__PURE__ */ jsxRuntime.jsxs(
|
|
34586
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
34595
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.Card, { className, "data-slot": "shipping-settings", children: [
|
|
34596
|
+
/* @__PURE__ */ jsxRuntime.jsxs(chunkPTJMBSPV_cjs.CardHeader, { className: "pb-4", "data-slot": "shipping-settings-header", children: [
|
|
34587
34597
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center justify-between", children: [
|
|
34588
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34598
|
+
/* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardTitle, { className: "text-lg", "data-slot": "shipping-settings-title", children: "Shipping Settings" }),
|
|
34589
34599
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34590
34600
|
chunkNVHAQOHH_cjs.Switch,
|
|
34591
34601
|
{
|
|
@@ -34604,7 +34614,7 @@ function ServiceShippingSettings({
|
|
|
34604
34614
|
)
|
|
34605
34615
|
] }),
|
|
34606
34616
|
shippingEnabled && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
34607
|
-
|
|
34617
|
+
chunkPTJMBSPV_cjs.CardContent,
|
|
34608
34618
|
{
|
|
34609
34619
|
className: "space-y-6",
|
|
34610
34620
|
"data-slot": "shipping-settings-content",
|
|
@@ -35393,6 +35403,7 @@ function SidebarNavGroup({
|
|
|
35393
35403
|
showCollapsed && "justify-center"
|
|
35394
35404
|
),
|
|
35395
35405
|
title: showCollapsed ? label : void 0,
|
|
35406
|
+
"aria-label": showCollapsed ? label : void 0,
|
|
35396
35407
|
children: [
|
|
35397
35408
|
icon && /* @__PURE__ */ jsxRuntime.jsx(
|
|
35398
35409
|
"span",
|
|
@@ -35495,6 +35506,7 @@ function SidebarNavItem({
|
|
|
35495
35506
|
"data-testid": testId,
|
|
35496
35507
|
className: baseClasses,
|
|
35497
35508
|
title: showCollapsed ? label : void 0,
|
|
35509
|
+
"aria-label": showCollapsed ? label : void 0,
|
|
35498
35510
|
children: content
|
|
35499
35511
|
}
|
|
35500
35512
|
);
|
|
@@ -35508,6 +35520,7 @@ function SidebarNavItem({
|
|
|
35508
35520
|
"data-testid": testId,
|
|
35509
35521
|
className: baseClasses,
|
|
35510
35522
|
title: showCollapsed ? label : void 0,
|
|
35523
|
+
"aria-label": showCollapsed ? label : void 0,
|
|
35511
35524
|
children: content
|
|
35512
35525
|
}
|
|
35513
35526
|
);
|
|
@@ -38686,7 +38699,7 @@ function WebChartReportViewer({
|
|
|
38686
38699
|
) : reports.length > 0 ? (
|
|
38687
38700
|
// Report buttons
|
|
38688
38701
|
reports.map((report) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
38689
|
-
|
|
38702
|
+
chunkPTJMBSPV_cjs.Card,
|
|
38690
38703
|
{
|
|
38691
38704
|
interactive: true,
|
|
38692
38705
|
padding: "none",
|
|
@@ -38701,7 +38714,7 @@ function WebChartReportViewer({
|
|
|
38701
38714
|
}
|
|
38702
38715
|
},
|
|
38703
38716
|
className: "cursor-pointer",
|
|
38704
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
38717
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(chunkPTJMBSPV_cjs.CardContent, { className: "p-3", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
38705
38718
|
"span",
|
|
38706
38719
|
{
|
|
38707
38720
|
className: "block truncate text-sm font-medium",
|
|
@@ -39704,59 +39717,59 @@ Object.defineProperty(exports, "buttonVariants", {
|
|
|
39704
39717
|
});
|
|
39705
39718
|
Object.defineProperty(exports, "Card", {
|
|
39706
39719
|
enumerable: true,
|
|
39707
|
-
get: function () { return
|
|
39720
|
+
get: function () { return chunkPTJMBSPV_cjs.Card; }
|
|
39708
39721
|
});
|
|
39709
39722
|
Object.defineProperty(exports, "CardActions", {
|
|
39710
39723
|
enumerable: true,
|
|
39711
|
-
get: function () { return
|
|
39724
|
+
get: function () { return chunkPTJMBSPV_cjs.CardActions; }
|
|
39712
39725
|
});
|
|
39713
39726
|
Object.defineProperty(exports, "CardBadge", {
|
|
39714
39727
|
enumerable: true,
|
|
39715
|
-
get: function () { return
|
|
39728
|
+
get: function () { return chunkPTJMBSPV_cjs.CardBadge; }
|
|
39716
39729
|
});
|
|
39717
39730
|
Object.defineProperty(exports, "CardCollapsible", {
|
|
39718
39731
|
enumerable: true,
|
|
39719
|
-
get: function () { return
|
|
39732
|
+
get: function () { return chunkPTJMBSPV_cjs.CardCollapsible; }
|
|
39720
39733
|
});
|
|
39721
39734
|
Object.defineProperty(exports, "CardContent", {
|
|
39722
39735
|
enumerable: true,
|
|
39723
|
-
get: function () { return
|
|
39736
|
+
get: function () { return chunkPTJMBSPV_cjs.CardContent; }
|
|
39724
39737
|
});
|
|
39725
39738
|
Object.defineProperty(exports, "CardDescription", {
|
|
39726
39739
|
enumerable: true,
|
|
39727
|
-
get: function () { return
|
|
39740
|
+
get: function () { return chunkPTJMBSPV_cjs.CardDescription; }
|
|
39728
39741
|
});
|
|
39729
39742
|
Object.defineProperty(exports, "CardDivider", {
|
|
39730
39743
|
enumerable: true,
|
|
39731
|
-
get: function () { return
|
|
39744
|
+
get: function () { return chunkPTJMBSPV_cjs.CardDivider; }
|
|
39732
39745
|
});
|
|
39733
39746
|
Object.defineProperty(exports, "CardFooter", {
|
|
39734
39747
|
enumerable: true,
|
|
39735
|
-
get: function () { return
|
|
39748
|
+
get: function () { return chunkPTJMBSPV_cjs.CardFooter; }
|
|
39736
39749
|
});
|
|
39737
39750
|
Object.defineProperty(exports, "CardHeader", {
|
|
39738
39751
|
enumerable: true,
|
|
39739
|
-
get: function () { return
|
|
39752
|
+
get: function () { return chunkPTJMBSPV_cjs.CardHeader; }
|
|
39740
39753
|
});
|
|
39741
39754
|
Object.defineProperty(exports, "CardMedia", {
|
|
39742
39755
|
enumerable: true,
|
|
39743
|
-
get: function () { return
|
|
39756
|
+
get: function () { return chunkPTJMBSPV_cjs.CardMedia; }
|
|
39744
39757
|
});
|
|
39745
39758
|
Object.defineProperty(exports, "CardStat", {
|
|
39746
39759
|
enumerable: true,
|
|
39747
|
-
get: function () { return
|
|
39760
|
+
get: function () { return chunkPTJMBSPV_cjs.CardStat; }
|
|
39748
39761
|
});
|
|
39749
39762
|
Object.defineProperty(exports, "CardTitle", {
|
|
39750
39763
|
enumerable: true,
|
|
39751
|
-
get: function () { return
|
|
39764
|
+
get: function () { return chunkPTJMBSPV_cjs.CardTitle; }
|
|
39752
39765
|
});
|
|
39753
39766
|
Object.defineProperty(exports, "cardAccentVariants", {
|
|
39754
39767
|
enumerable: true,
|
|
39755
|
-
get: function () { return
|
|
39768
|
+
get: function () { return chunkPTJMBSPV_cjs.cardAccentVariants; }
|
|
39756
39769
|
});
|
|
39757
39770
|
Object.defineProperty(exports, "cardVariants", {
|
|
39758
39771
|
enumerable: true,
|
|
39759
|
-
get: function () { return
|
|
39772
|
+
get: function () { return chunkPTJMBSPV_cjs.cardVariants; }
|
|
39760
39773
|
});
|
|
39761
39774
|
Object.defineProperty(exports, "Checkbox", {
|
|
39762
39775
|
enumerable: true,
|
|
@@ -39892,11 +39905,11 @@ Object.defineProperty(exports, "isStorybookDocsMode", {
|
|
|
39892
39905
|
});
|
|
39893
39906
|
Object.defineProperty(exports, "miewebUIPreset", {
|
|
39894
39907
|
enumerable: true,
|
|
39895
|
-
get: function () { return
|
|
39908
|
+
get: function () { return chunkQJ2NURTX_cjs.miewebUIPreset; }
|
|
39896
39909
|
});
|
|
39897
39910
|
Object.defineProperty(exports, "miewebUISafelist", {
|
|
39898
39911
|
enumerable: true,
|
|
39899
|
-
get: function () { return
|
|
39912
|
+
get: function () { return chunkQJ2NURTX_cjs.miewebUISafelist; }
|
|
39900
39913
|
});
|
|
39901
39914
|
Object.defineProperty(exports, "Alert", {
|
|
39902
39915
|
enumerable: true,
|