@mieweb/ui 0.8.0-dev.5 → 0.8.0-dev.6
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-P3HQQNV3.js → chunk-6YSMEEJC.js} +21 -2
- package/dist/chunk-6YSMEEJC.js.map +1 -0
- package/dist/{chunk-E6BQVAHF.cjs → chunk-NANEYSXP.cjs} +21 -2
- package/dist/chunk-NANEYSXP.cjs.map +1 -0
- package/dist/index.cjs +87 -88
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +85 -86
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-E6BQVAHF.cjs.map +0 -1
- package/dist/chunk-P3HQQNV3.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -64,7 +64,7 @@ var chunk7AECNMYV_cjs = require('./chunk-7AECNMYV.cjs');
|
|
|
64
64
|
var chunkN5O47VGS_cjs = require('./chunk-N5O47VGS.cjs');
|
|
65
65
|
var chunkX4LBUPJO_cjs = require('./chunk-X4LBUPJO.cjs');
|
|
66
66
|
var chunkIUDY6S7I_cjs = require('./chunk-IUDY6S7I.cjs');
|
|
67
|
-
var
|
|
67
|
+
var chunkNANEYSXP_cjs = require('./chunk-NANEYSXP.cjs');
|
|
68
68
|
var chunkHK3AMH3Q_cjs = require('./chunk-HK3AMH3Q.cjs');
|
|
69
69
|
var chunkEPQPUFS6_cjs = require('./chunk-EPQPUFS6.cjs');
|
|
70
70
|
var chunkTVLZZI5Q_cjs = require('./chunk-TVLZZI5Q.cjs');
|
|
@@ -13176,7 +13176,7 @@ function CheckrIntegration({
|
|
|
13176
13176
|
/* @__PURE__ */ jsxRuntime.jsx("h3", { className: "text-foreground text-lg font-semibold", children: "Checkr" }),
|
|
13177
13177
|
connected && account?.name && /* @__PURE__ */ jsxRuntime.jsxs("p", { className: "text-muted-foreground text-sm", children: [
|
|
13178
13178
|
account.name,
|
|
13179
|
-
account.plan && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "
|
|
13179
|
+
account.plan && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "ms-2 text-xs", children: [
|
|
13180
13180
|
"(",
|
|
13181
13181
|
account.plan,
|
|
13182
13182
|
")"
|
|
@@ -13189,7 +13189,7 @@ function CheckrIntegration({
|
|
|
13189
13189
|
"svg",
|
|
13190
13190
|
{
|
|
13191
13191
|
"aria-hidden": "true",
|
|
13192
|
-
className: "
|
|
13192
|
+
className: "me-2 h-4 w-4",
|
|
13193
13193
|
fill: "none",
|
|
13194
13194
|
viewBox: "0 0 24 24",
|
|
13195
13195
|
stroke: "currentColor",
|
|
@@ -13219,7 +13219,7 @@ function CheckrIntegration({
|
|
|
13219
13219
|
"svg",
|
|
13220
13220
|
{
|
|
13221
13221
|
"aria-hidden": "true",
|
|
13222
|
-
className: "
|
|
13222
|
+
className: "me-2 inline-block h-4 w-4",
|
|
13223
13223
|
fill: "none",
|
|
13224
13224
|
viewBox: "0 0 24 24",
|
|
13225
13225
|
stroke: "currentColor",
|
|
@@ -13268,7 +13268,7 @@ function CheckrIntegration({
|
|
|
13268
13268
|
"svg",
|
|
13269
13269
|
{
|
|
13270
13270
|
"aria-hidden": "true",
|
|
13271
|
-
className: "
|
|
13271
|
+
className: "me-2 h-4 w-4",
|
|
13272
13272
|
fill: "none",
|
|
13273
13273
|
viewBox: "0 0 24 24",
|
|
13274
13274
|
stroke: "currentColor",
|
|
@@ -13290,7 +13290,7 @@ function CheckrIntegration({
|
|
|
13290
13290
|
"svg",
|
|
13291
13291
|
{
|
|
13292
13292
|
"aria-hidden": "true",
|
|
13293
|
-
className: "
|
|
13293
|
+
className: "me-2 h-4 w-4",
|
|
13294
13294
|
fill: "none",
|
|
13295
13295
|
viewBox: "0 0 24 24",
|
|
13296
13296
|
stroke: "currentColor",
|
|
@@ -13369,7 +13369,7 @@ function CheckrIntegration({
|
|
|
13369
13369
|
report.packageName && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-xs", children: report.packageName })
|
|
13370
13370
|
] })
|
|
13371
13371
|
] }),
|
|
13372
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-
|
|
13372
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-end", children: [
|
|
13373
13373
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
13374
13374
|
"span",
|
|
13375
13375
|
{
|
|
@@ -13492,7 +13492,7 @@ function CheckrIntegration({
|
|
|
13492
13492
|
"svg",
|
|
13493
13493
|
{
|
|
13494
13494
|
"aria-hidden": "true",
|
|
13495
|
-
className: "
|
|
13495
|
+
className: "me-2 h-4 w-4",
|
|
13496
13496
|
fill: "none",
|
|
13497
13497
|
viewBox: "0 0 24 24",
|
|
13498
13498
|
stroke: "currentColor",
|
|
@@ -19655,7 +19655,7 @@ function ClaimProviderForm({
|
|
|
19655
19655
|
"svg",
|
|
19656
19656
|
{
|
|
19657
19657
|
"aria-hidden": "true",
|
|
19658
|
-
className: "
|
|
19658
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
19659
19659
|
fill: "none",
|
|
19660
19660
|
viewBox: "0 0 24 24",
|
|
19661
19661
|
children: [
|
|
@@ -21441,7 +21441,7 @@ function EmployerContactCard({
|
|
|
21441
21441
|
"svg",
|
|
21442
21442
|
{
|
|
21443
21443
|
"aria-hidden": "true",
|
|
21444
|
-
className: "
|
|
21444
|
+
className: "me-1 h-4 w-4",
|
|
21445
21445
|
fill: "none",
|
|
21446
21446
|
stroke: "currentColor",
|
|
21447
21447
|
viewBox: "0 0 24 24",
|
|
@@ -21649,7 +21649,7 @@ function EmployerList({
|
|
|
21649
21649
|
"svg",
|
|
21650
21650
|
{
|
|
21651
21651
|
"aria-hidden": "true",
|
|
21652
|
-
className: "absolute top-1/2
|
|
21652
|
+
className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-gray-400",
|
|
21653
21653
|
fill: "none",
|
|
21654
21654
|
stroke: "currentColor",
|
|
21655
21655
|
viewBox: "0 0 24 24",
|
|
@@ -21671,7 +21671,7 @@ function EmployerList({
|
|
|
21671
21671
|
placeholder: "Search employers...",
|
|
21672
21672
|
value: searchQuery,
|
|
21673
21673
|
onChange: handleSearch,
|
|
21674
|
-
className: "
|
|
21674
|
+
className: "ps-9"
|
|
21675
21675
|
}
|
|
21676
21676
|
)
|
|
21677
21677
|
] }),
|
|
@@ -21680,7 +21680,7 @@ function EmployerList({
|
|
|
21680
21680
|
"svg",
|
|
21681
21681
|
{
|
|
21682
21682
|
"aria-hidden": "true",
|
|
21683
|
-
className: "
|
|
21683
|
+
className: "me-1 h-4 w-4",
|
|
21684
21684
|
fill: "none",
|
|
21685
21685
|
stroke: "currentColor",
|
|
21686
21686
|
viewBox: "0 0 24 24",
|
|
@@ -21868,7 +21868,7 @@ function EmployerPricingCard({
|
|
|
21868
21868
|
/* @__PURE__ */ jsxRuntime.jsx(chunkMJWFNV3L_cjs.CardTitle, { className: "text-base font-semibold", children: serviceName }),
|
|
21869
21869
|
!isActive && /* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: "secondary", className: "mt-1", children: "Inactive" })
|
|
21870
21870
|
] }),
|
|
21871
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "employer-pricing-base-price", className: "text-
|
|
21871
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "employer-pricing-base-price", className: "text-end", children: [
|
|
21872
21872
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: formatPrice(basePrice) }),
|
|
21873
21873
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-xs", children: "base price" })
|
|
21874
21874
|
] })
|
|
@@ -21917,7 +21917,7 @@ function EmployerPricingCard({
|
|
|
21917
21917
|
"svg",
|
|
21918
21918
|
{
|
|
21919
21919
|
"aria-hidden": "true",
|
|
21920
|
-
className: "
|
|
21920
|
+
className: "me-1 h-3.5 w-3.5",
|
|
21921
21921
|
fill: "none",
|
|
21922
21922
|
stroke: "currentColor",
|
|
21923
21923
|
viewBox: "0 0 24 24",
|
|
@@ -21939,7 +21939,7 @@ function EmployerPricingCard({
|
|
|
21939
21939
|
"svg",
|
|
21940
21940
|
{
|
|
21941
21941
|
"aria-hidden": "true",
|
|
21942
|
-
className: "
|
|
21942
|
+
className: "me-1 h-3.5 w-3.5 text-red-500",
|
|
21943
21943
|
fill: "none",
|
|
21944
21944
|
stroke: "currentColor",
|
|
21945
21945
|
viewBox: "0 0 24 24",
|
|
@@ -22156,7 +22156,7 @@ function EmployerView({
|
|
|
22156
22156
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: order.patientName }),
|
|
22157
22157
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-xs", children: order.services.join(", ") })
|
|
22158
22158
|
] }),
|
|
22159
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-
|
|
22159
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-end", children: [
|
|
22160
22160
|
/* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: getStatusVariant(order.status), children: order.status }),
|
|
22161
22161
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground mt-1 text-xs", children: formatDate4(order.createdDate) })
|
|
22162
22162
|
] }),
|
|
@@ -22192,7 +22192,7 @@ function EmployerView({
|
|
|
22192
22192
|
formatDate4(invoice.dueDate)
|
|
22193
22193
|
] })
|
|
22194
22194
|
] }),
|
|
22195
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-
|
|
22195
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "text-end", children: [
|
|
22196
22196
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "font-semibold text-gray-900 dark:text-white", children: formatCurrency3(invoice.amount) }),
|
|
22197
22197
|
/* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: getStatusVariant(invoice.status), children: invoice.status })
|
|
22198
22198
|
] }),
|
|
@@ -22367,7 +22367,7 @@ function EmployerServiceModal({
|
|
|
22367
22367
|
!config.useBasePrice && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
22368
22368
|
"div",
|
|
22369
22369
|
{
|
|
22370
|
-
className: "border-border
|
|
22370
|
+
className: "border-border ms-4 border-s-2 ps-4",
|
|
22371
22371
|
"data-slot": "employer-service-indent",
|
|
22372
22372
|
children: [
|
|
22373
22373
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -22383,7 +22383,7 @@ function EmployerServiceModal({
|
|
|
22383
22383
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
22384
22384
|
"span",
|
|
22385
22385
|
{
|
|
22386
|
-
className: "text-muted-foreground absolute top-1/2
|
|
22386
|
+
className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2",
|
|
22387
22387
|
"data-slot": "employer-service-price-prefix",
|
|
22388
22388
|
children: "$"
|
|
22389
22389
|
}
|
|
@@ -22396,7 +22396,7 @@ function EmployerServiceModal({
|
|
|
22396
22396
|
min: "0",
|
|
22397
22397
|
step: "0.01",
|
|
22398
22398
|
"data-slot": "employer-service-price-input",
|
|
22399
|
-
className: "border-input bg-background text-foreground focus:ring-ring w-full rounded-md border py-2
|
|
22399
|
+
className: "border-input bg-background text-foreground focus:ring-ring w-full rounded-md border py-2 ps-7 pe-4 shadow-sm focus:ring-2 focus:outline-none",
|
|
22400
22400
|
value: config.customPrice ?? "",
|
|
22401
22401
|
onChange: (e) => setConfig((prev) => ({
|
|
22402
22402
|
...prev,
|
|
@@ -22504,7 +22504,7 @@ function EmployerServiceModal({
|
|
|
22504
22504
|
config.notifyOnOrder && /* @__PURE__ */ jsxRuntime.jsx(
|
|
22505
22505
|
"div",
|
|
22506
22506
|
{
|
|
22507
|
-
className: "border-border
|
|
22507
|
+
className: "border-border ms-4 border-s-2 ps-4",
|
|
22508
22508
|
"data-slot": "employer-service-indent",
|
|
22509
22509
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
22510
22510
|
chunkZ5S5JEJD_cjs.Input,
|
|
@@ -22562,7 +22562,7 @@ function EmployerServiceModal({
|
|
|
22562
22562
|
"svg",
|
|
22563
22563
|
{
|
|
22564
22564
|
"aria-hidden": "true",
|
|
22565
|
-
className: "
|
|
22565
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
22566
22566
|
"data-slot": "employer-service-spinner",
|
|
22567
22567
|
fill: "none",
|
|
22568
22568
|
viewBox: "0 0 24 24",
|
|
@@ -24284,7 +24284,7 @@ function HRISProviderSelector({
|
|
|
24284
24284
|
className: "border-border bg-card text-foreground hover:bg-muted rounded-lg border px-4 py-2",
|
|
24285
24285
|
"data-slot": "hris-connected-btn",
|
|
24286
24286
|
children: [
|
|
24287
|
-
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-link-slash
|
|
24287
|
+
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-link-slash me-2" }),
|
|
24288
24288
|
disconnect
|
|
24289
24289
|
]
|
|
24290
24290
|
}
|
|
@@ -24297,7 +24297,7 @@ function HRISProviderSelector({
|
|
|
24297
24297
|
className: "bg-primary-800 hover:bg-primary-900 rounded-lg px-4 py-2 text-white",
|
|
24298
24298
|
"data-slot": "hris-connected-btn-primary",
|
|
24299
24299
|
children: [
|
|
24300
|
-
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-rotate
|
|
24300
|
+
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-rotate me-2" }),
|
|
24301
24301
|
refreshSync
|
|
24302
24302
|
]
|
|
24303
24303
|
}
|
|
@@ -24314,7 +24314,7 @@ function HRISProviderSelector({
|
|
|
24314
24314
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
24315
24315
|
"span",
|
|
24316
24316
|
{
|
|
24317
|
-
className: "text-muted-foreground absolute top-1/2
|
|
24317
|
+
className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2",
|
|
24318
24318
|
"data-slot": "hris-search-icon",
|
|
24319
24319
|
children: /* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-search" })
|
|
24320
24320
|
}
|
|
@@ -24326,7 +24326,7 @@ function HRISProviderSelector({
|
|
|
24326
24326
|
placeholder: search,
|
|
24327
24327
|
value: searchQuery,
|
|
24328
24328
|
onChange: (e) => onSearchChange?.(e.target.value),
|
|
24329
|
-
className: "focus:border-primary focus:ring-primary border-input bg-background text-foreground placeholder:text-muted-foreground w-full rounded-lg border py-2
|
|
24329
|
+
className: "focus:border-primary focus:ring-primary border-input bg-background text-foreground placeholder:text-muted-foreground w-full rounded-lg border py-2 ps-10 pe-4 focus:ring-1 focus:outline-none",
|
|
24330
24330
|
"data-slot": "hris-search-input"
|
|
24331
24331
|
}
|
|
24332
24332
|
)
|
|
@@ -27041,7 +27041,7 @@ function OnboardingWizard({
|
|
|
27041
27041
|
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
27042
27042
|
"div",
|
|
27043
27043
|
{
|
|
27044
|
-
className: "
|
|
27044
|
+
className: "ms-3 hidden flex-col lg:flex",
|
|
27045
27045
|
"data-slot": "onboarding-header-brand",
|
|
27046
27046
|
children: [
|
|
27047
27047
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-lg font-semibold", children: brandName }),
|
|
@@ -27208,7 +27208,7 @@ function OnboardingStepQuestion({
|
|
|
27208
27208
|
onClick: () => onSelect?.(option.id),
|
|
27209
27209
|
className: "rounded-full",
|
|
27210
27210
|
children: [
|
|
27211
|
-
option.icon && /* @__PURE__ */ jsxRuntime.jsx("i", { className: chunkS5RVSXDV_cjs.cn(option.icon, "
|
|
27211
|
+
option.icon && /* @__PURE__ */ jsxRuntime.jsx("i", { className: chunkS5RVSXDV_cjs.cn(option.icon, "me-2") }),
|
|
27212
27212
|
option.label
|
|
27213
27213
|
]
|
|
27214
27214
|
},
|
|
@@ -27236,7 +27236,7 @@ function OnboardingCompletion({
|
|
|
27236
27236
|
className: "text-foreground mb-0 text-2xl",
|
|
27237
27237
|
"data-slot": "onboarding-completion-title",
|
|
27238
27238
|
children: [
|
|
27239
|
-
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-check-circle
|
|
27239
|
+
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-check-circle me-2 text-green-500" }),
|
|
27240
27240
|
"Setup complete!"
|
|
27241
27241
|
]
|
|
27242
27242
|
}
|
|
@@ -27257,15 +27257,15 @@ function OnboardingCompletion({
|
|
|
27257
27257
|
"data-slot": "onboarding-completion-actions",
|
|
27258
27258
|
children: [
|
|
27259
27259
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkRDGRKYQ5_cjs.Button, { variant: "primary", onClick: onStartOrder, children: [
|
|
27260
|
-
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-shopping-cart
|
|
27260
|
+
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-shopping-cart me-2" }),
|
|
27261
27261
|
"Start your first order"
|
|
27262
27262
|
] }),
|
|
27263
27263
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkRDGRKYQ5_cjs.Button, { variant: "outline", onClick: onGoToDashboard, children: [
|
|
27264
|
-
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-tachometer-alt
|
|
27264
|
+
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-tachometer-alt me-2" }),
|
|
27265
27265
|
"Go to Dashboard"
|
|
27266
27266
|
] }),
|
|
27267
27267
|
/* @__PURE__ */ jsxRuntime.jsxs(chunkRDGRKYQ5_cjs.Button, { variant: "outline", onClick: onGoToEmployees, children: [
|
|
27268
|
-
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-users
|
|
27268
|
+
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-users me-2" }),
|
|
27269
27269
|
"Go to Employees"
|
|
27270
27270
|
] })
|
|
27271
27271
|
]
|
|
@@ -33891,7 +33891,7 @@ var ProviderSearchBar = React13__namespace.forwardRef(
|
|
|
33891
33891
|
className: chunkS5RVSXDV_cjs.cn(
|
|
33892
33892
|
"border-0 shadow-none focus-visible:ring-0 focus-visible:ring-offset-0",
|
|
33893
33893
|
"w-full",
|
|
33894
|
-
onGeolocate ? "
|
|
33894
|
+
onGeolocate ? "ps-0" : "ps-3"
|
|
33895
33895
|
)
|
|
33896
33896
|
}
|
|
33897
33897
|
) }),
|
|
@@ -33994,7 +33994,7 @@ var inputVariants3 = classVarianceAuthority.cva(
|
|
|
33994
33994
|
{
|
|
33995
33995
|
variants: {
|
|
33996
33996
|
hasIcon: {
|
|
33997
|
-
true: "
|
|
33997
|
+
true: "ps-10",
|
|
33998
33998
|
false: ""
|
|
33999
33999
|
}
|
|
34000
34000
|
},
|
|
@@ -34008,10 +34008,9 @@ var selectVariants = classVarianceAuthority.cva([
|
|
|
34008
34008
|
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2",
|
|
34009
34009
|
"disabled:cursor-not-allowed disabled:opacity-50",
|
|
34010
34010
|
"dark:border-neutral-700 dark:bg-neutral-900 dark:text-neutral-100",
|
|
34011
|
-
"appearance-none bg-no-repeat bg-right
|
|
34011
|
+
"appearance-none bg-no-repeat bg-right rtl:bg-left pe-8",
|
|
34012
34012
|
'bg-[url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3e%3cpath stroke=%27%236b7280%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%271.5%27 d=%27M6 8l4 4 4-4%27/%3e%3c/svg%3e")]',
|
|
34013
|
-
"bg-[length:1.5em_1.5em]"
|
|
34014
|
-
"bg-[right_0.5rem_center]"
|
|
34013
|
+
"bg-[length:1.5em_1.5em]"
|
|
34015
34014
|
]);
|
|
34016
34015
|
var labelVariants2 = classVarianceAuthority.cva([
|
|
34017
34016
|
"text-sm font-medium text-neutral-700 dark:text-neutral-300",
|
|
@@ -34089,7 +34088,7 @@ function InputField({ label, icon, className, id, ...props }) {
|
|
|
34089
34088
|
return /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
34090
34089
|
label && /* @__PURE__ */ jsxRuntime.jsx("label", { htmlFor: inputId, className: labelVariants2(), children: label }),
|
|
34091
34090
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
34092
|
-
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-y-0
|
|
34091
|
+
icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-y-0 start-0 flex items-center ps-3 text-neutral-400", children: icon }),
|
|
34093
34092
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34094
34093
|
"input",
|
|
34095
34094
|
{
|
|
@@ -34240,7 +34239,7 @@ function ServiceMultiSelect({
|
|
|
34240
34239
|
"aria-labelledby": label ? void 0 : "services-label",
|
|
34241
34240
|
className: chunkS5RVSXDV_cjs.cn(
|
|
34242
34241
|
selectVariants(),
|
|
34243
|
-
"w-full text-
|
|
34242
|
+
"w-full text-start",
|
|
34244
34243
|
!selectedServices.length && "text-muted-foreground",
|
|
34245
34244
|
disabled && "cursor-not-allowed opacity-50"
|
|
34246
34245
|
),
|
|
@@ -34271,11 +34270,11 @@ function ServiceMultiSelect({
|
|
|
34271
34270
|
value: searchTerm,
|
|
34272
34271
|
onChange: (e) => setSearchTerm(e.target.value),
|
|
34273
34272
|
placeholder: "Search services...",
|
|
34274
|
-
className: chunkS5RVSXDV_cjs.cn(inputVariants3({ hasIcon: true }), "
|
|
34273
|
+
className: chunkS5RVSXDV_cjs.cn(inputVariants3({ hasIcon: true }), "ps-8"),
|
|
34275
34274
|
autoFocus: true
|
|
34276
34275
|
}
|
|
34277
34276
|
),
|
|
34278
|
-
/* @__PURE__ */ jsxRuntime.jsx(SearchIcon4, { className: "absolute top-1/2
|
|
34277
|
+
/* @__PURE__ */ jsxRuntime.jsx(SearchIcon4, { className: "absolute start-4 top-1/2 -translate-y-1/2 text-neutral-400" })
|
|
34279
34278
|
] }),
|
|
34280
34279
|
Object.entries(groupedServices).length > 0 ? Object.entries(groupedServices).map(
|
|
34281
34280
|
([category, categoryServices]) => /* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
@@ -34292,7 +34291,7 @@ function ServiceMultiSelect({
|
|
|
34292
34291
|
"aria-selected": isSelected,
|
|
34293
34292
|
onClick: () => handleToggleService(service.value),
|
|
34294
34293
|
className: chunkS5RVSXDV_cjs.cn(
|
|
34295
|
-
"flex w-full items-center justify-between px-3 py-2 text-
|
|
34294
|
+
"flex w-full items-center justify-between px-3 py-2 text-start text-sm",
|
|
34296
34295
|
"hover:bg-neutral-100 dark:hover:bg-neutral-700",
|
|
34297
34296
|
isSelected && "bg-primary-50 dark:bg-primary-900/20"
|
|
34298
34297
|
),
|
|
@@ -34476,7 +34475,7 @@ function CompactFilterBar({
|
|
|
34476
34475
|
"data-slot": "provider-compact-filter",
|
|
34477
34476
|
children: [
|
|
34478
34477
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "min-w-[150px] flex-1", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
34479
|
-
/* @__PURE__ */ jsxRuntime.jsx(SearchIcon4, { className: "absolute top-1/2
|
|
34478
|
+
/* @__PURE__ */ jsxRuntime.jsx(SearchIcon4, { className: "absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2 text-neutral-400" }),
|
|
34480
34479
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
34481
34480
|
"input",
|
|
34482
34481
|
{
|
|
@@ -34486,7 +34485,7 @@ function CompactFilterBar({
|
|
|
34486
34485
|
onChange: (e) => handleFieldChange("searchPhrase", e.target.value),
|
|
34487
34486
|
disabled: loading,
|
|
34488
34487
|
className: chunkS5RVSXDV_cjs.cn(
|
|
34489
|
-
"h-9 w-full rounded-md border border-neutral-200
|
|
34488
|
+
"h-9 w-full rounded-md border border-neutral-200 ps-9 pe-3 text-sm",
|
|
34490
34489
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
34491
34490
|
"dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
|
|
34492
34491
|
)
|
|
@@ -34509,7 +34508,7 @@ function CompactFilterBar({
|
|
|
34509
34508
|
},
|
|
34510
34509
|
disabled: loading,
|
|
34511
34510
|
className: chunkS5RVSXDV_cjs.cn(
|
|
34512
|
-
"h-9 w-20 rounded-
|
|
34511
|
+
"h-9 w-20 rounded-s-md border border-neutral-200 px-3 text-sm",
|
|
34513
34512
|
"focus:ring-primary-500 focus:z-10 focus:ring-2 focus:outline-none",
|
|
34514
34513
|
"dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
|
|
34515
34514
|
)
|
|
@@ -34523,7 +34522,7 @@ function CompactFilterBar({
|
|
|
34523
34522
|
disabled: loading,
|
|
34524
34523
|
"aria-label": "Search radius",
|
|
34525
34524
|
className: chunkS5RVSXDV_cjs.cn(
|
|
34526
|
-
"h-9 rounded-
|
|
34525
|
+
"h-9 rounded-e-md border border-s-0 border-neutral-200 px-2 text-sm",
|
|
34527
34526
|
"focus:ring-primary-500 focus:ring-2 focus:outline-none",
|
|
34528
34527
|
"dark:border-neutral-600 dark:bg-neutral-700 dark:text-white"
|
|
34529
34528
|
),
|
|
@@ -34669,7 +34668,7 @@ function ActiveFilters({
|
|
|
34669
34668
|
{
|
|
34670
34669
|
type: "button",
|
|
34671
34670
|
onClick: filter.onClear,
|
|
34672
|
-
className: "
|
|
34671
|
+
className: "ms-1 rounded-full p-0.5 hover:bg-neutral-200 dark:hover:bg-neutral-600",
|
|
34673
34672
|
"aria-label": `Remove filter: ${filter.label}`,
|
|
34674
34673
|
children: /* @__PURE__ */ jsxRuntime.jsx(XMarkIcon, { className: "h-3 w-3" })
|
|
34675
34674
|
}
|
|
@@ -34772,7 +34771,7 @@ function ProviderSelector({
|
|
|
34772
34771
|
onClick: () => !disabled && setIsOpen(!isOpen),
|
|
34773
34772
|
disabled,
|
|
34774
34773
|
className: chunkS5RVSXDV_cjs.cn(
|
|
34775
|
-
"flex w-full items-center gap-3 rounded-lg border px-3 text-
|
|
34774
|
+
"flex w-full items-center gap-3 rounded-lg border px-3 text-start transition-colors",
|
|
34776
34775
|
"bg-background text-foreground",
|
|
34777
34776
|
"border-input",
|
|
34778
34777
|
"hover:border-muted-foreground/50",
|
|
@@ -34889,7 +34888,7 @@ function ProviderSelector({
|
|
|
34889
34888
|
"svg",
|
|
34890
34889
|
{
|
|
34891
34890
|
"aria-hidden": "true",
|
|
34892
|
-
className: "text-muted-foreground absolute top-1/2
|
|
34891
|
+
className: "text-muted-foreground absolute start-3 top-1/2 h-4 w-4 -translate-y-1/2",
|
|
34893
34892
|
fill: "none",
|
|
34894
34893
|
viewBox: "0 0 24 24",
|
|
34895
34894
|
stroke: "currentColor",
|
|
@@ -34912,7 +34911,7 @@ function ProviderSelector({
|
|
|
34912
34911
|
placeholder: searchPlaceholder,
|
|
34913
34912
|
value: searchQuery,
|
|
34914
34913
|
onChange: (e) => setSearchQuery(e.target.value),
|
|
34915
|
-
className: "border-input bg-background text-foreground placeholder:text-muted-foreground focus:ring-ring w-full rounded-md border py-2
|
|
34914
|
+
className: "border-input bg-background text-foreground placeholder:text-muted-foreground focus:ring-ring w-full rounded-md border py-2 ps-9 pe-4 text-sm focus:ring-1 focus:outline-none",
|
|
34916
34915
|
autoFocus: true
|
|
34917
34916
|
}
|
|
34918
34917
|
)
|
|
@@ -34924,7 +34923,7 @@ function ProviderSelector({
|
|
|
34924
34923
|
"data-slot": "provider-selector-option",
|
|
34925
34924
|
onClick: () => handleSelect(provider),
|
|
34926
34925
|
className: chunkS5RVSXDV_cjs.cn(
|
|
34927
|
-
"flex w-full items-center gap-3 px-4 py-3 text-
|
|
34926
|
+
"flex w-full items-center gap-3 px-4 py-3 text-start transition-colors",
|
|
34928
34927
|
"hover:bg-muted",
|
|
34929
34928
|
selectedProvider?.id === provider.id && "bg-primary/10"
|
|
34930
34929
|
),
|
|
@@ -35848,7 +35847,7 @@ function ProviderUsersTable({
|
|
|
35848
35847
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
35849
35848
|
/* @__PURE__ */ jsxRuntime.jsxs("p", { className: "font-medium text-gray-900 dark:text-white", children: [
|
|
35850
35849
|
user.name,
|
|
35851
|
-
isCurrentUser && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
35850
|
+
isCurrentUser && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground ms-1.5 text-xs", children: "(you)" })
|
|
35852
35851
|
] }),
|
|
35853
35852
|
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-sm", children: user.email })
|
|
35854
35853
|
] })
|
|
@@ -35856,7 +35855,7 @@ function ProviderUsersTable({
|
|
|
35856
35855
|
/* @__PURE__ */ jsxRuntime.jsx(chunkIJYTASQQ_cjs.TableCell, { children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm text-gray-700 dark:text-gray-300", children: user.role }) }),
|
|
35857
35856
|
/* @__PURE__ */ jsxRuntime.jsx(chunkIJYTASQQ_cjs.TableCell, { children: /* @__PURE__ */ jsxRuntime.jsx(chunkYVL3XATO_cjs.Badge, { variant: getStatusVariant(user.status), children: user.status || "active" }) }),
|
|
35858
35857
|
/* @__PURE__ */ jsxRuntime.jsx(chunkIJYTASQQ_cjs.TableCell, { children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-sm", children: isPending ? `Invited ${formatDate4(user.invitedAt)}` : formatDate4(user.lastActive) }) }),
|
|
35859
|
-
showActions && /* @__PURE__ */ jsxRuntime.jsx(chunkIJYTASQQ_cjs.TableCell, { className: "text-
|
|
35858
|
+
showActions && /* @__PURE__ */ jsxRuntime.jsx(chunkIJYTASQQ_cjs.TableCell, { className: "text-end", children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
35860
35859
|
RowActionsMenu,
|
|
35861
35860
|
{
|
|
35862
35861
|
user,
|
|
@@ -36170,11 +36169,11 @@ function RecurringServiceCard({
|
|
|
36170
36169
|
)
|
|
36171
36170
|
] }),
|
|
36172
36171
|
effectiveState === "warning" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "bg-warning/10 text-warning-800 dark:text-warning-200 rounded-md px-3 py-2 text-xs", children: [
|
|
36173
|
-
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-exclamation-triangle
|
|
36172
|
+
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-exclamation-triangle me-1" }),
|
|
36174
36173
|
consentNote
|
|
36175
36174
|
] }),
|
|
36176
36175
|
effectiveState === "error" && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "bg-destructive/10 text-destructive-800 dark:text-destructive-200 rounded-md px-3 py-2 text-xs", children: [
|
|
36177
|
-
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-times-circle
|
|
36176
|
+
/* @__PURE__ */ jsxRuntime.jsx("i", { className: "fas fa-times-circle me-1" }),
|
|
36178
36177
|
consentNote
|
|
36179
36178
|
] }),
|
|
36180
36179
|
!isDisabled && /* @__PURE__ */ jsxRuntime.jsxs(
|
|
@@ -36401,7 +36400,7 @@ function RecurringServiceSetupModal({
|
|
|
36401
36400
|
),
|
|
36402
36401
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-sm", children: overrideConsent })
|
|
36403
36402
|
] }),
|
|
36404
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground
|
|
36403
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground ms-6 text-xs", children: overrideConsentNote })
|
|
36405
36404
|
] }),
|
|
36406
36405
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex justify-end gap-2", children: [
|
|
36407
36406
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -37941,7 +37940,7 @@ var accordionVariants = classVarianceAuthority.cva(
|
|
|
37941
37940
|
);
|
|
37942
37941
|
var categoryHeaderVariants = classVarianceAuthority.cva(
|
|
37943
37942
|
[
|
|
37944
|
-
"w-full flex items-center justify-between py-4 px-4 text-
|
|
37943
|
+
"w-full flex items-center justify-between py-4 px-4 text-start",
|
|
37945
37944
|
"transition-colors",
|
|
37946
37945
|
"focus:outline-none focus-visible:ring-2 focus-visible:ring-primary-500 focus-visible:ring-offset-2"
|
|
37947
37946
|
],
|
|
@@ -38050,7 +38049,7 @@ function ServiceLink({
|
|
|
38050
38049
|
children: [
|
|
38051
38050
|
/* @__PURE__ */ jsxRuntime.jsx(LinkIcon, { className: "flex-shrink-0 text-neutral-400" }),
|
|
38052
38051
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "flex-grow", children: service.name }),
|
|
38053
|
-
service.providerCount !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground
|
|
38052
|
+
service.providerCount !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground ms-2 text-xs", children: [
|
|
38054
38053
|
"(",
|
|
38055
38054
|
service.providerCount,
|
|
38056
38055
|
")"
|
|
@@ -38077,7 +38076,7 @@ function SubCategoryAccordion({
|
|
|
38077
38076
|
onClick: () => setIsExpanded(!isExpanded),
|
|
38078
38077
|
className: chunkS5RVSXDV_cjs.cn(
|
|
38079
38078
|
"flex w-full items-center justify-between px-3 py-2",
|
|
38080
|
-
"text-
|
|
38079
|
+
"text-start font-medium text-neutral-700 dark:text-neutral-200",
|
|
38081
38080
|
"hover:text-primary-800 dark:hover:text-primary-400",
|
|
38082
38081
|
"focus-visible:ring-primary-500 focus:outline-none focus-visible:ring-2"
|
|
38083
38082
|
),
|
|
@@ -38107,7 +38106,7 @@ function SubCategoryAccordion({
|
|
|
38107
38106
|
isExpanded ? "max-h-[1000px] opacity-100" : "max-h-0 opacity-0"
|
|
38108
38107
|
),
|
|
38109
38108
|
inert: !isExpanded || void 0,
|
|
38110
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-1 pb-2
|
|
38109
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "space-y-1 ps-4 pb-2", children: subCategory.services.map((service, serviceIdx) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
38111
38110
|
ServiceLink,
|
|
38112
38111
|
{
|
|
38113
38112
|
service,
|
|
@@ -38462,7 +38461,7 @@ function ServiceBadge({
|
|
|
38462
38461
|
const isClickable = Boolean(href || onClick);
|
|
38463
38462
|
const isInteractive = interactive ?? isClickable;
|
|
38464
38463
|
const content = /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
38465
|
-
icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "
|
|
38464
|
+
icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "me-1 flex-shrink-0", children: icon }),
|
|
38466
38465
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children }),
|
|
38467
38466
|
removable && onRemove && /* @__PURE__ */ jsxRuntime.jsx(
|
|
38468
38467
|
"button",
|
|
@@ -38474,7 +38473,7 @@ function ServiceBadge({
|
|
|
38474
38473
|
e.stopPropagation();
|
|
38475
38474
|
onRemove();
|
|
38476
38475
|
},
|
|
38477
|
-
className: "
|
|
38476
|
+
className: "ms-1 flex-shrink-0 rounded-full p-0.5 transition-colors hover:bg-black/10 dark:hover:bg-white/10",
|
|
38478
38477
|
"aria-label": `Remove ${children}`,
|
|
38479
38478
|
children: /* @__PURE__ */ jsxRuntime.jsx(CloseIcon4, { className: "h-3 w-3" })
|
|
38480
38479
|
}
|
|
@@ -38591,7 +38590,7 @@ function ServiceTagCloudBadges({
|
|
|
38591
38590
|
href: onServiceClick ? void 0 : `/service/${service.slug}`,
|
|
38592
38591
|
children: [
|
|
38593
38592
|
service.name,
|
|
38594
|
-
showCounts && service.count !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground
|
|
38593
|
+
showCounts && service.count !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs("span", { className: "text-muted-foreground ms-1", children: [
|
|
38595
38594
|
"(",
|
|
38596
38595
|
service.count,
|
|
38597
38596
|
")"
|
|
@@ -38642,7 +38641,7 @@ function SelectedServicesBadges({
|
|
|
38642
38641
|
{
|
|
38643
38642
|
type: "button",
|
|
38644
38643
|
onClick: onClearAll,
|
|
38645
|
-
className: "text-muted-foreground
|
|
38644
|
+
className: "text-muted-foreground ms-1 text-xs underline hover:text-gray-700 dark:hover:text-gray-200",
|
|
38646
38645
|
children: "Clear all"
|
|
38647
38646
|
}
|
|
38648
38647
|
)
|
|
@@ -38704,7 +38703,7 @@ function DOTBadge({
|
|
|
38704
38703
|
),
|
|
38705
38704
|
...props,
|
|
38706
38705
|
children: [
|
|
38707
|
-
/* @__PURE__ */ jsxRuntime.jsx(DOTIcon, { className: "
|
|
38706
|
+
/* @__PURE__ */ jsxRuntime.jsx(DOTIcon, { className: "me-1 h-3.5 w-3.5" }),
|
|
38708
38707
|
children || config.label
|
|
38709
38708
|
]
|
|
38710
38709
|
}
|
|
@@ -38967,7 +38966,7 @@ function ServiceCard({
|
|
|
38967
38966
|
{
|
|
38968
38967
|
type: "button",
|
|
38969
38968
|
onClick: handleManageClick,
|
|
38970
|
-
className: "text-primary-800 hover:text-primary-900 dark:text-primary-300 dark:hover:text-primary-200 hover:bg-primary/10
|
|
38969
|
+
className: "text-primary-800 hover:text-primary-900 dark:text-primary-300 dark:hover:text-primary-200 hover:bg-primary/10 ms-auto rounded px-3 py-1 text-sm font-medium transition-colors",
|
|
38971
38970
|
children: "Manage"
|
|
38972
38971
|
}
|
|
38973
38972
|
)
|
|
@@ -39156,7 +39155,7 @@ function ServiceGeneralSettings({
|
|
|
39156
39155
|
}
|
|
39157
39156
|
),
|
|
39158
39157
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
39159
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground absolute top-1/2
|
|
39158
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2", children: "$" }),
|
|
39160
39159
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39161
39160
|
"input",
|
|
39162
39161
|
{
|
|
@@ -39164,7 +39163,7 @@ function ServiceGeneralSettings({
|
|
|
39164
39163
|
type: "number",
|
|
39165
39164
|
min: "0",
|
|
39166
39165
|
step: "0.01",
|
|
39167
|
-
className: "w-full rounded-md border border-gray-300 py-2
|
|
39166
|
+
className: "w-full rounded-md border border-gray-300 py-2 ps-7 pe-4 shadow-sm focus:ring-2 focus:ring-blue-500 focus:outline-none dark:border-gray-600 dark:bg-gray-800 dark:text-white",
|
|
39168
39167
|
value: basePrice,
|
|
39169
39168
|
onChange: (e) => onBasePriceChange?.(parseFloat(e.target.value) || 0),
|
|
39170
39169
|
placeholder: "0.00"
|
|
@@ -39188,13 +39187,13 @@ function ServiceGeneralSettings({
|
|
|
39188
39187
|
id: "turnaround-days",
|
|
39189
39188
|
type: "number",
|
|
39190
39189
|
min: "0",
|
|
39191
|
-
className: "w-full rounded-md border border-gray-300 px-3 py-2
|
|
39190
|
+
className: "w-full rounded-md border border-gray-300 px-3 py-2 pe-16 shadow-sm focus:ring-2 focus:ring-blue-500 focus:outline-none dark:border-gray-600 dark:bg-gray-800 dark:text-white",
|
|
39192
39191
|
value: turnaroundDays ?? "",
|
|
39193
39192
|
onChange: (e) => onTurnaroundDaysChange?.(parseInt(e.target.value) || 0),
|
|
39194
39193
|
placeholder: "0"
|
|
39195
39194
|
}
|
|
39196
39195
|
),
|
|
39197
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground absolute top-1/2
|
|
39196
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground absolute end-3 top-1/2 -translate-y-1/2 text-sm", children: "days" })
|
|
39198
39197
|
] })
|
|
39199
39198
|
] })
|
|
39200
39199
|
] })
|
|
@@ -39437,7 +39436,7 @@ function ServicePicker({
|
|
|
39437
39436
|
}
|
|
39438
39437
|
),
|
|
39439
39438
|
showSearch && /* @__PURE__ */ jsxRuntime.jsxs("div", { "data-slot": "service-picker-search", className: "relative", children: [
|
|
39440
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-y-0
|
|
39439
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "pointer-events-none absolute inset-y-0 start-0 flex items-center ps-3", children: /* @__PURE__ */ jsxRuntime.jsx(SearchIcon5, { className: "text-muted-foreground h-5 w-5" }) }),
|
|
39441
39440
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
39442
39441
|
chunkZ5S5JEJD_cjs.Input,
|
|
39443
39442
|
{
|
|
@@ -39445,7 +39444,7 @@ function ServicePicker({
|
|
|
39445
39444
|
value: searchQuery,
|
|
39446
39445
|
onChange: (e) => setSearchQuery(e.target.value),
|
|
39447
39446
|
placeholder: searchPlaceholder,
|
|
39448
|
-
className: "
|
|
39447
|
+
className: "ps-10",
|
|
39449
39448
|
"data-cy": "input-search-services"
|
|
39450
39449
|
}
|
|
39451
39450
|
)
|
|
@@ -39546,10 +39545,10 @@ function ServiceGroupItem({
|
|
|
39546
39545
|
onClick: () => onToggleGroup(group.id),
|
|
39547
39546
|
className: chunkS5RVSXDV_cjs.cn(
|
|
39548
39547
|
"flex w-full items-center justify-between rounded-lg px-3 py-2",
|
|
39549
|
-
"text-muted-foreground text-
|
|
39548
|
+
"text-muted-foreground text-start text-sm font-medium",
|
|
39550
39549
|
"hover:bg-muted",
|
|
39551
39550
|
"transition-colors",
|
|
39552
|
-
depth > 0 && "
|
|
39551
|
+
depth > 0 && "ms-4"
|
|
39553
39552
|
),
|
|
39554
39553
|
"aria-expanded": isExpanded,
|
|
39555
39554
|
children: [
|
|
@@ -39587,7 +39586,7 @@ function ServiceGroupItem({
|
|
|
39587
39586
|
"ul",
|
|
39588
39587
|
{
|
|
39589
39588
|
"data-slot": "service-picker-group-list",
|
|
39590
|
-
className: "mt-1 space-y-1
|
|
39589
|
+
className: "mt-1 space-y-1 ps-4",
|
|
39591
39590
|
children: [
|
|
39592
39591
|
group.services.map((service) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
39593
39592
|
ServiceItem,
|
|
@@ -39980,10 +39979,10 @@ function ServicePricingManager({
|
|
|
39980
39979
|
/* @__PURE__ */ jsxRuntime.jsx(chunkMJWFNV3L_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: [
|
|
39981
39980
|
/* @__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: [
|
|
39982
39981
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "col-span-2", children: "Service" }),
|
|
39983
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-
|
|
39984
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-
|
|
39982
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-end", children: "Base Price" }),
|
|
39983
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-end", children: "Employer Price" }),
|
|
39985
39984
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-center", children: "Status" }),
|
|
39986
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-
|
|
39985
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-end", children: "Actions" })
|
|
39987
39986
|
] }),
|
|
39988
39987
|
filteredServices.map((service) => /* @__PURE__ */ jsxRuntime.jsxs(
|
|
39989
39988
|
"div",
|
|
@@ -40000,14 +39999,14 @@ function ServicePricingManager({
|
|
|
40000
39999
|
] }),
|
|
40001
40000
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between md:mb-0 md:block", children: [
|
|
40002
40001
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-sm md:hidden", children: "Base:" }),
|
|
40003
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-
|
|
40002
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-end font-semibold text-gray-900 dark:text-white", children: formatCurrency3(service.basePrice) })
|
|
40004
40003
|
] }),
|
|
40005
40004
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center justify-between md:mb-0 md:block", children: [
|
|
40006
40005
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground text-sm md:hidden", children: "Employer:" }),
|
|
40007
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-
|
|
40006
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-muted-foreground text-end", children: service.employerPrice ? formatCurrency3(service.employerPrice) : "\u2014" })
|
|
40008
40007
|
] }),
|
|
40009
40008
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "mb-2 flex items-center md:mb-0 md:justify-center", children: [
|
|
40010
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground
|
|
40009
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground me-2 text-sm md:hidden", children: "Status:" }),
|
|
40011
40010
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
40012
40011
|
chunkYVL3XATO_cjs.Badge,
|
|
40013
40012
|
{
|
|
@@ -40557,7 +40556,7 @@ function SetupServiceModal({
|
|
|
40557
40556
|
}
|
|
40558
40557
|
),
|
|
40559
40558
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative", children: [
|
|
40560
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground absolute top-1/2
|
|
40559
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: "text-muted-foreground absolute start-3 top-1/2 -translate-y-1/2", children: "$" }),
|
|
40561
40560
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
40562
40561
|
"input",
|
|
40563
40562
|
{
|
|
@@ -40565,7 +40564,7 @@ function SetupServiceModal({
|
|
|
40565
40564
|
type: "number",
|
|
40566
40565
|
min: "0",
|
|
40567
40566
|
step: "0.01",
|
|
40568
|
-
className: "bg-background text-foreground border-input focus:ring-ring w-full rounded-md border py-2
|
|
40567
|
+
className: "bg-background text-foreground border-input focus:ring-ring w-full rounded-md border py-2 ps-7 pe-4 shadow-sm focus:ring-2 focus:outline-none",
|
|
40569
40568
|
value: formData.price,
|
|
40570
40569
|
onChange: (e) => setFormData((prev) => ({
|
|
40571
40570
|
...prev,
|
|
@@ -40632,7 +40631,7 @@ function SetupServiceModal({
|
|
|
40632
40631
|
"div",
|
|
40633
40632
|
{
|
|
40634
40633
|
"data-slot": "setup-service-inventory",
|
|
40635
|
-
className: "border-border
|
|
40634
|
+
className: "border-border ms-4 border-s-2 ps-4",
|
|
40636
40635
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
40637
40636
|
chunkZ5S5JEJD_cjs.Input,
|
|
40638
40637
|
{
|
|
@@ -40692,7 +40691,7 @@ function SetupServiceModal({
|
|
|
40692
40691
|
"svg",
|
|
40693
40692
|
{
|
|
40694
40693
|
"aria-hidden": "true",
|
|
40695
|
-
className: "
|
|
40694
|
+
className: "-ms-1 me-2 h-4 w-4 animate-spin",
|
|
40696
40695
|
fill: "none",
|
|
40697
40696
|
viewBox: "0 0 24 24",
|
|
40698
40697
|
children: [
|
|
@@ -45440,11 +45439,11 @@ Object.defineProperty(exports, "CollapsibleTrigger", {
|
|
|
45440
45439
|
});
|
|
45441
45440
|
Object.defineProperty(exports, "miewebUIPreset", {
|
|
45442
45441
|
enumerable: true,
|
|
45443
|
-
get: function () { return
|
|
45442
|
+
get: function () { return chunkNANEYSXP_cjs.miewebUIPreset; }
|
|
45444
45443
|
});
|
|
45445
45444
|
Object.defineProperty(exports, "miewebUISafelist", {
|
|
45446
45445
|
enumerable: true,
|
|
45447
|
-
get: function () { return
|
|
45446
|
+
get: function () { return chunkNANEYSXP_cjs.miewebUISafelist; }
|
|
45448
45447
|
});
|
|
45449
45448
|
Object.defineProperty(exports, "Accordion", {
|
|
45450
45449
|
enumerable: true,
|