@mercurjs/admin 2.3.1 → 2.3.2-canary.1
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/{add-campaign-promotions-S4HKMFU7.js → add-campaign-promotions-NZ62V2LH.js} +3 -3
- package/dist/{adjust-inventory-CFQ6LD2U.js → adjust-inventory-BBAU3NMM.js} +1 -1
- package/dist/{campaign-detail-WPTZDDD5.js → campaign-detail-KZWQLIS5.js} +4 -4
- package/dist/{chunk-7PGZV6DQ.js → chunk-3W4T2KGY.js} +1 -1
- package/dist/{chunk-VKVK5D2F.js → chunk-4KULFU3V.js} +1 -1
- package/dist/{chunk-NKZLCOFU.js → chunk-ADI5XIXM.js} +1 -1
- package/dist/{chunk-6ZVRNI5K.js → chunk-AV6HBMRX.js} +1 -1
- package/dist/{chunk-7ZY7R6PG.js → chunk-GYHF5XBU.js} +1 -1
- package/dist/{chunk-H7HNJFQA.js → chunk-MIVPIACG.js} +1 -1
- package/dist/{chunk-NN6PSWE4.js → chunk-OQLWF43Y.js} +5 -1
- package/dist/{chunk-6XJUYY6G.js → chunk-PNLDVYCP.js} +1 -1
- package/dist/chunk-PVEB24HU.js +208 -0
- package/dist/{chunk-N5IUYCUZ.js → chunk-UYQY4B7J.js} +4 -2
- package/dist/{collection-edit-3ZZCDIUY.js → collection-edit-HMOZIS7Z.js} +1 -1
- package/dist/{collection-list-LM5SH67K.js → collection-list-GMAYML6Z.js} +1 -1
- package/dist/{customer-edit-RBPGTG32.js → customer-edit-5EH2AUGN.js} +1 -1
- package/dist/{customer-group-edit-A74OFHEH.js → customer-group-edit-ZQTBUZVR.js} +1 -1
- package/dist/{edit-inventory-item-JLTBJEVA.js → edit-inventory-item-ZSV4WF6G.js} +1 -1
- package/dist/{edit-inventory-item-attributes-BENAJP4P.js → edit-inventory-item-attributes-NWSAQMKX.js} +1 -1
- package/dist/{edit-reservation-FVJZ2NRW.js → edit-reservation-W3THLKKK.js} +1 -1
- package/dist/{edit-rules-BVZS6GBQ.js → edit-rules-RJC3AYJN.js} +1 -1
- package/dist/index.js +96 -68
- package/dist/{location-edit-TQFZN2RW.js → location-edit-XRGRJCVB.js} +1 -1
- package/dist/{location-service-zone-edit-36TATZI4.js → location-service-zone-edit-KFG52K4W.js} +1 -1
- package/dist/{location-service-zone-shipping-option-edit-HOEBC3D6.js → location-service-zone-shipping-option-edit-UUIR7B5S.js} +2 -2
- package/dist/{manage-locations-5CF36BYN.js → manage-locations-ZFIRHMNH.js} +1 -1
- package/dist/{marketplace-edit-GWOPSYXL.js → marketplace-edit-G7YNGABC.js} +1 -1
- package/dist/{order-create-refund-4MKAZL7C.js → order-create-refund-FJLL4CUD.js} +1 -1
- package/dist/{order-edit-billing-address-5OYY6SEI.js → order-edit-billing-address-QCVPGEL6.js} +2 -2
- package/dist/{order-edit-email-GM3HKYR6.js → order-edit-email-BREEW246.js} +1 -1
- package/dist/{order-edit-shipping-address-ZWGROPKU.js → order-edit-shipping-address-XUG74AFY.js} +1 -1
- package/dist/{order-list-GQ5IOA6I.js → order-list-WGQC2X2L.js} +1 -1
- package/dist/{order-request-transfer-OTGRHY6N.js → order-request-transfer-RYVK4WYW.js} +1 -1
- package/dist/pages/index.js +9 -9
- package/dist/{price-list-edit-ZZZDR62K.js → price-list-edit-ZVP6CCPE.js} +1 -1
- package/dist/{product-create-A7774JYE.js → product-create-QS5KIHET.js} +3 -3
- package/dist/{product-create-attribute-2PTO2UCX.js → product-create-attribute-FC26KQN4.js} +1 -1
- package/dist/{product-media-ROKDXANO.js → product-media-UHDJ6RSG.js} +2 -2
- package/dist/{product-organization-XS62HARL.js → product-organization-IX5XCZW4.js} +1 -1
- package/dist/{product-tag-detail-7P7MI52E.js → product-tag-detail-2YR6TXZI.js} +1 -1
- package/dist/{product-tag-list-43NFD36I.js → product-tag-list-3HOXFHMN.js} +1 -1
- package/dist/{product-type-edit-IEMK45NK.js → product-type-edit-X7VSBPUG.js} +1 -1
- package/dist/{promotion-add-campaign-TVTKI5EP.js → promotion-add-campaign-VAF3HTLK.js} +1 -1
- package/dist/{promotion-detail-4WNHEOG4.js → promotion-detail-ADTUSGD4.js} +3 -3
- package/dist/{promotion-edit-details-FFTEJ2CV.js → promotion-edit-details-7PHH756U.js} +1 -1
- package/dist/{promotion-list-AJ5NBDZ2.js → promotion-list-MRNS47TP.js} +4 -4
- package/dist/{refund-reason-list-R573DHM7.js → refund-reason-list-ODOF3ZLM.js} +1 -1
- package/dist/{region-edit-N6FXU7NY.js → region-edit-NUMG2V5L.js} +1 -1
- package/dist/{reset-password-7G75C4RO.js → reset-password-N4LXTU3G.js} +1 -1
- package/dist/{return-reason-list-A2RABTGP.js → return-reason-list-AVCC44CH.js} +1 -1
- package/dist/{sales-channel-edit-2SCFS7SA.js → sales-channel-edit-CO2V2VER.js} +1 -1
- package/dist/{shipping-option-type-edit-6PWBHHFP.js → shipping-option-type-edit-WXTEQM32.js} +1 -1
- package/dist/{store-details-GOVF3KFW.js → store-details-KI5D4VSI.js} +1 -1
- package/dist/{store-edit-IP6FR2NJ.js → store-edit-B54LFFLE.js} +3 -3
- package/dist/{store-list-OKKZA7VO.js → store-list-3KZCD7UB.js} +1 -1
- package/dist/{store-member-invite-RKP7K2S4.js → store-member-invite-5S64PDTE.js} +1 -1
- package/dist/{tax-region-create-P4IKQNTU.js → tax-region-create-DVBIX7IX.js} +1 -1
- package/dist/{tax-region-tax-override-create-7O3KDBUJ.js → tax-region-tax-override-create-XZ5BU2FP.js} +1 -1
- package/dist/{tax-region-tax-override-edit-SUL5VZ5D.js → tax-region-tax-override-edit-R4EGIUIZ.js} +1 -1
- package/dist/{user-edit-Z3ODTSMN.js → user-edit-O2M5II52.js} +1 -1
- package/dist/{user-invite-WG57KWD3.js → user-invite-WHBNPT4I.js} +127 -27
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -3,6 +3,12 @@ import {
|
|
|
3
3
|
taxRegionLoader
|
|
4
4
|
} from "./chunk-ASFCRSBA.js";
|
|
5
5
|
import "./chunk-QR3GYYX6.js";
|
|
6
|
+
import {
|
|
7
|
+
FeatureFlagProvider,
|
|
8
|
+
PermissionsProvider,
|
|
9
|
+
useFeatureFlag,
|
|
10
|
+
useMePermissions
|
|
11
|
+
} from "./chunk-PVEB24HU.js";
|
|
6
12
|
import {
|
|
7
13
|
isClientError
|
|
8
14
|
} from "./chunk-C6SUTRP2.js";
|
|
@@ -24,7 +30,7 @@ import {
|
|
|
24
30
|
} from "./chunk-KDE4HKH2.js";
|
|
25
31
|
import {
|
|
26
32
|
I18n
|
|
27
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-OQLWF43Y.js";
|
|
28
34
|
import {
|
|
29
35
|
SwitchBox
|
|
30
36
|
} from "./chunk-2EME4AWX.js";
|
|
@@ -1528,18 +1534,40 @@ import { Outlet as Outlet4 } from "react-router-dom";
|
|
|
1528
1534
|
|
|
1529
1535
|
// src/components/authentication/protected-route/protected-route.tsx
|
|
1530
1536
|
import { Spinner as Spinner2 } from "@medusajs/icons";
|
|
1537
|
+
import { useMemo as useMemo4 } from "react";
|
|
1531
1538
|
import { Navigate, Outlet, useLocation as useLocation3 } from "react-router-dom";
|
|
1532
1539
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
1533
1540
|
var ProtectedRoute = () => {
|
|
1534
|
-
const { user, isLoading } = useMe();
|
|
1535
1541
|
const location = useLocation3();
|
|
1536
|
-
|
|
1542
|
+
const isRbacEnabled = useFeatureFlag("rbac");
|
|
1543
|
+
const { user, isLoading: isLoadingUser } = useMe();
|
|
1544
|
+
const { data: permissionsResponse, isLoading: isLoadingPermissions } = useMePermissions({
|
|
1545
|
+
// Don't fetch permissions until we know the user is authenticated.
|
|
1546
|
+
enabled: !!user && isRbacEnabled
|
|
1547
|
+
});
|
|
1548
|
+
const policy = useMemo4(() => {
|
|
1549
|
+
if (!permissionsResponse) {
|
|
1550
|
+
return null;
|
|
1551
|
+
}
|
|
1552
|
+
return {
|
|
1553
|
+
permissions: permissionsResponse.permissions
|
|
1554
|
+
};
|
|
1555
|
+
}, [permissionsResponse]);
|
|
1556
|
+
if (isLoadingUser) {
|
|
1537
1557
|
return /* @__PURE__ */ jsx6("div", { className: "flex min-h-screen items-center justify-center", children: /* @__PURE__ */ jsx6(Spinner2, { className: "text-ui-fg-interactive animate-spin" }) });
|
|
1538
1558
|
}
|
|
1539
1559
|
if (!user) {
|
|
1540
1560
|
return /* @__PURE__ */ jsx6(Navigate, { to: "/login", state: { from: location }, replace: true });
|
|
1541
1561
|
}
|
|
1542
|
-
return /* @__PURE__ */ jsx6(
|
|
1562
|
+
return /* @__PURE__ */ jsx6(
|
|
1563
|
+
PermissionsProvider,
|
|
1564
|
+
{
|
|
1565
|
+
policy,
|
|
1566
|
+
isLoading: isLoadingPermissions,
|
|
1567
|
+
isRbacEnabled,
|
|
1568
|
+
children: /* @__PURE__ */ jsx6(SidebarProvider, { children: /* @__PURE__ */ jsx6(SearchProvider, { children: /* @__PURE__ */ jsx6(Outlet, {}) }) })
|
|
1569
|
+
}
|
|
1570
|
+
);
|
|
1543
1571
|
};
|
|
1544
1572
|
|
|
1545
1573
|
// src/components/layout/main-layout/main-layout.tsx
|
|
@@ -3269,7 +3297,7 @@ var PublicLayout = () => {
|
|
|
3269
3297
|
};
|
|
3270
3298
|
|
|
3271
3299
|
// src/components/layout/settings-layout/settings-layout.tsx
|
|
3272
|
-
import { useEffect as useEffect10, useMemo as
|
|
3300
|
+
import { useEffect as useEffect10, useMemo as useMemo5, useState as useState12 } from "react";
|
|
3273
3301
|
import { ArrowUturnLeft as ArrowUturnLeft2, MinusMini } from "@medusajs/icons";
|
|
3274
3302
|
import { Divider as Divider2, IconButton as IconButton6, Text as Text8, clx as clx7 } from "@medusajs/ui";
|
|
3275
3303
|
import { Collapsible as RadixCollapsible2 } from "radix-ui";
|
|
@@ -3289,7 +3317,7 @@ var extensionNavItems = customSettingsItems.sort((a, b) => (a.rank ?? 0) - (b.ra
|
|
|
3289
3317
|
}));
|
|
3290
3318
|
var useSettingRoutes = () => {
|
|
3291
3319
|
const { t: t2 } = useTranslation10();
|
|
3292
|
-
return
|
|
3320
|
+
return useMemo5(
|
|
3293
3321
|
() => [
|
|
3294
3322
|
{
|
|
3295
3323
|
label: t2("marketplace.domain"),
|
|
@@ -3346,7 +3374,7 @@ var useSettingRoutes = () => {
|
|
|
3346
3374
|
};
|
|
3347
3375
|
var useDeveloperRoutes = () => {
|
|
3348
3376
|
const { t: t2 } = useTranslation10();
|
|
3349
|
-
return
|
|
3377
|
+
return useMemo5(
|
|
3350
3378
|
() => [
|
|
3351
3379
|
{
|
|
3352
3380
|
label: t2("apiKeyManagement.domain.publishable"),
|
|
@@ -3362,7 +3390,7 @@ var useDeveloperRoutes = () => {
|
|
|
3362
3390
|
};
|
|
3363
3391
|
var useMyAccountRoutes = () => {
|
|
3364
3392
|
const { t: t2 } = useTranslation10();
|
|
3365
|
-
return
|
|
3393
|
+
return useMemo5(
|
|
3366
3394
|
() => [
|
|
3367
3395
|
{
|
|
3368
3396
|
label: t2("profile.domain"),
|
|
@@ -3518,7 +3546,7 @@ function getRouteMap({
|
|
|
3518
3546
|
children: [
|
|
3519
3547
|
{
|
|
3520
3548
|
path: "create",
|
|
3521
|
-
lazy: () => import("./product-create-
|
|
3549
|
+
lazy: () => import("./product-create-QS5KIHET.js")
|
|
3522
3550
|
},
|
|
3523
3551
|
{
|
|
3524
3552
|
path: "bulk-edit",
|
|
@@ -3562,7 +3590,7 @@ function getRouteMap({
|
|
|
3562
3590
|
},
|
|
3563
3591
|
{
|
|
3564
3592
|
path: "attributes/create",
|
|
3565
|
-
lazy: () => import("./product-create-attribute-
|
|
3593
|
+
lazy: () => import("./product-create-attribute-FC26KQN4.js")
|
|
3566
3594
|
},
|
|
3567
3595
|
{
|
|
3568
3596
|
path: "attributes/add",
|
|
@@ -3574,7 +3602,7 @@ function getRouteMap({
|
|
|
3574
3602
|
},
|
|
3575
3603
|
{
|
|
3576
3604
|
path: "organization",
|
|
3577
|
-
lazy: () => import("./product-organization-
|
|
3605
|
+
lazy: () => import("./product-organization-IX5XCZW4.js")
|
|
3578
3606
|
},
|
|
3579
3607
|
{
|
|
3580
3608
|
path: "shipping-profile",
|
|
@@ -3582,7 +3610,7 @@ function getRouteMap({
|
|
|
3582
3610
|
},
|
|
3583
3611
|
{
|
|
3584
3612
|
path: "media",
|
|
3585
|
-
lazy: () => import("./product-media-
|
|
3613
|
+
lazy: () => import("./product-media-UHDJ6RSG.js")
|
|
3586
3614
|
},
|
|
3587
3615
|
{
|
|
3588
3616
|
path: "variants/create",
|
|
@@ -3704,7 +3732,7 @@ function getRouteMap({
|
|
|
3704
3732
|
children: [
|
|
3705
3733
|
{
|
|
3706
3734
|
path: "",
|
|
3707
|
-
lazy: () => import("./order-list-
|
|
3735
|
+
lazy: () => import("./order-list-WGQC2X2L.js")
|
|
3708
3736
|
},
|
|
3709
3737
|
{
|
|
3710
3738
|
path: ":id",
|
|
@@ -3741,23 +3769,23 @@ function getRouteMap({
|
|
|
3741
3769
|
},
|
|
3742
3770
|
{
|
|
3743
3771
|
path: "refund",
|
|
3744
|
-
lazy: () => import("./order-create-refund-
|
|
3772
|
+
lazy: () => import("./order-create-refund-FJLL4CUD.js")
|
|
3745
3773
|
},
|
|
3746
3774
|
{
|
|
3747
3775
|
path: "transfer",
|
|
3748
|
-
lazy: () => import("./order-request-transfer-
|
|
3776
|
+
lazy: () => import("./order-request-transfer-RYVK4WYW.js")
|
|
3749
3777
|
},
|
|
3750
3778
|
{
|
|
3751
3779
|
path: "email",
|
|
3752
|
-
lazy: () => import("./order-edit-email-
|
|
3780
|
+
lazy: () => import("./order-edit-email-BREEW246.js")
|
|
3753
3781
|
},
|
|
3754
3782
|
{
|
|
3755
3783
|
path: "shipping-address",
|
|
3756
|
-
lazy: () => import("./order-edit-shipping-address-
|
|
3784
|
+
lazy: () => import("./order-edit-shipping-address-XUG74AFY.js")
|
|
3757
3785
|
},
|
|
3758
3786
|
{
|
|
3759
3787
|
path: "billing-address",
|
|
3760
|
-
lazy: () => import("./order-edit-billing-address-
|
|
3788
|
+
lazy: () => import("./order-edit-billing-address-QCVPGEL6.js")
|
|
3761
3789
|
},
|
|
3762
3790
|
{
|
|
3763
3791
|
path: "metadata/edit",
|
|
@@ -3778,7 +3806,7 @@ function getRouteMap({
|
|
|
3778
3806
|
children: [
|
|
3779
3807
|
{
|
|
3780
3808
|
path: "",
|
|
3781
|
-
lazy: () => import("./promotion-list-
|
|
3809
|
+
lazy: () => import("./promotion-list-MRNS47TP.js")
|
|
3782
3810
|
},
|
|
3783
3811
|
{
|
|
3784
3812
|
path: "create",
|
|
@@ -3787,7 +3815,7 @@ function getRouteMap({
|
|
|
3787
3815
|
{
|
|
3788
3816
|
path: ":id",
|
|
3789
3817
|
lazy: async () => {
|
|
3790
|
-
const { Breadcrumb, loader } = await import("./promotion-detail-
|
|
3818
|
+
const { Breadcrumb, loader } = await import("./promotion-detail-ADTUSGD4.js");
|
|
3791
3819
|
return {
|
|
3792
3820
|
Component: Outlet4,
|
|
3793
3821
|
loader,
|
|
@@ -3799,19 +3827,19 @@ function getRouteMap({
|
|
|
3799
3827
|
children: [
|
|
3800
3828
|
{
|
|
3801
3829
|
path: "",
|
|
3802
|
-
lazy: () => import("./promotion-detail-
|
|
3830
|
+
lazy: () => import("./promotion-detail-ADTUSGD4.js"),
|
|
3803
3831
|
children: [
|
|
3804
3832
|
{
|
|
3805
3833
|
path: "edit",
|
|
3806
|
-
lazy: () => import("./promotion-edit-details-
|
|
3834
|
+
lazy: () => import("./promotion-edit-details-7PHH756U.js")
|
|
3807
3835
|
},
|
|
3808
3836
|
{
|
|
3809
3837
|
path: "add-to-campaign",
|
|
3810
|
-
lazy: () => import("./promotion-add-campaign-
|
|
3838
|
+
lazy: () => import("./promotion-add-campaign-VAF3HTLK.js")
|
|
3811
3839
|
},
|
|
3812
3840
|
{
|
|
3813
3841
|
path: ":ruleType/edit",
|
|
3814
|
-
lazy: () => import("./edit-rules-
|
|
3842
|
+
lazy: () => import("./edit-rules-RJC3AYJN.js")
|
|
3815
3843
|
}
|
|
3816
3844
|
]
|
|
3817
3845
|
}
|
|
@@ -3838,7 +3866,7 @@ function getRouteMap({
|
|
|
3838
3866
|
{
|
|
3839
3867
|
path: ":id",
|
|
3840
3868
|
lazy: async () => {
|
|
3841
|
-
const { Breadcrumb, loader } = await import("./campaign-detail-
|
|
3869
|
+
const { Breadcrumb, loader } = await import("./campaign-detail-KZWQLIS5.js");
|
|
3842
3870
|
return {
|
|
3843
3871
|
Component: Outlet4,
|
|
3844
3872
|
loader,
|
|
@@ -3850,7 +3878,7 @@ function getRouteMap({
|
|
|
3850
3878
|
children: [
|
|
3851
3879
|
{
|
|
3852
3880
|
path: "",
|
|
3853
|
-
lazy: () => import("./campaign-detail-
|
|
3881
|
+
lazy: () => import("./campaign-detail-KZWQLIS5.js"),
|
|
3854
3882
|
children: [
|
|
3855
3883
|
{
|
|
3856
3884
|
path: "edit",
|
|
@@ -3866,7 +3894,7 @@ function getRouteMap({
|
|
|
3866
3894
|
},
|
|
3867
3895
|
{
|
|
3868
3896
|
path: "add-promotions",
|
|
3869
|
-
lazy: () => import("./add-campaign-promotions-
|
|
3897
|
+
lazy: () => import("./add-campaign-promotions-NZ62V2LH.js")
|
|
3870
3898
|
}
|
|
3871
3899
|
]
|
|
3872
3900
|
}
|
|
@@ -3926,7 +3954,7 @@ function getRouteMap({
|
|
|
3926
3954
|
children: [
|
|
3927
3955
|
{
|
|
3928
3956
|
path: "",
|
|
3929
|
-
lazy: () => import("./collection-list-
|
|
3957
|
+
lazy: () => import("./collection-list-GMAYML6Z.js"),
|
|
3930
3958
|
children: [
|
|
3931
3959
|
{
|
|
3932
3960
|
path: "create",
|
|
@@ -3953,7 +3981,7 @@ function getRouteMap({
|
|
|
3953
3981
|
children: [
|
|
3954
3982
|
{
|
|
3955
3983
|
path: "edit",
|
|
3956
|
-
lazy: () => import("./collection-edit-
|
|
3984
|
+
lazy: () => import("./collection-edit-HMOZIS7Z.js")
|
|
3957
3985
|
},
|
|
3958
3986
|
{
|
|
3959
3987
|
path: "media",
|
|
@@ -4013,7 +4041,7 @@ function getRouteMap({
|
|
|
4013
4041
|
children: [
|
|
4014
4042
|
{
|
|
4015
4043
|
path: "edit",
|
|
4016
|
-
lazy: () => import("./price-list-edit-
|
|
4044
|
+
lazy: () => import("./price-list-edit-ZVP6CCPE.js")
|
|
4017
4045
|
},
|
|
4018
4046
|
{
|
|
4019
4047
|
path: "configuration",
|
|
@@ -4073,7 +4101,7 @@ function getRouteMap({
|
|
|
4073
4101
|
children: [
|
|
4074
4102
|
{
|
|
4075
4103
|
path: "edit",
|
|
4076
|
-
lazy: () => import("./customer-edit-
|
|
4104
|
+
lazy: () => import("./customer-edit-5EH2AUGN.js")
|
|
4077
4105
|
},
|
|
4078
4106
|
{
|
|
4079
4107
|
path: "create-address",
|
|
@@ -4089,7 +4117,7 @@ function getRouteMap({
|
|
|
4089
4117
|
},
|
|
4090
4118
|
{
|
|
4091
4119
|
path: ":order_id/transfer",
|
|
4092
|
-
lazy: () => import("./order-request-transfer-
|
|
4120
|
+
lazy: () => import("./order-request-transfer-RYVK4WYW.js")
|
|
4093
4121
|
},
|
|
4094
4122
|
{
|
|
4095
4123
|
path: "metadata/edit",
|
|
@@ -4137,7 +4165,7 @@ function getRouteMap({
|
|
|
4137
4165
|
children: [
|
|
4138
4166
|
{
|
|
4139
4167
|
path: "edit",
|
|
4140
|
-
lazy: () => import("./customer-group-edit-
|
|
4168
|
+
lazy: () => import("./customer-group-edit-ZQTBUZVR.js")
|
|
4141
4169
|
},
|
|
4142
4170
|
{
|
|
4143
4171
|
path: "add-customers",
|
|
@@ -4162,7 +4190,7 @@ function getRouteMap({
|
|
|
4162
4190
|
children: [
|
|
4163
4191
|
{
|
|
4164
4192
|
path: "",
|
|
4165
|
-
lazy: () => import("./store-list-
|
|
4193
|
+
lazy: () => import("./store-list-3KZCD7UB.js"),
|
|
4166
4194
|
children: [
|
|
4167
4195
|
{
|
|
4168
4196
|
path: "create",
|
|
@@ -4177,7 +4205,7 @@ function getRouteMap({
|
|
|
4177
4205
|
{
|
|
4178
4206
|
path: ":id",
|
|
4179
4207
|
lazy: async () => {
|
|
4180
|
-
const { Breadcrumb } = await import("./store-details-
|
|
4208
|
+
const { Breadcrumb } = await import("./store-details-KI5D4VSI.js");
|
|
4181
4209
|
return {
|
|
4182
4210
|
Component: Outlet4,
|
|
4183
4211
|
handle: {
|
|
@@ -4188,11 +4216,11 @@ function getRouteMap({
|
|
|
4188
4216
|
children: [
|
|
4189
4217
|
{
|
|
4190
4218
|
path: "",
|
|
4191
|
-
lazy: () => import("./store-details-
|
|
4219
|
+
lazy: () => import("./store-details-KI5D4VSI.js"),
|
|
4192
4220
|
children: [
|
|
4193
4221
|
{
|
|
4194
4222
|
path: "edit",
|
|
4195
|
-
lazy: () => import("./store-edit-
|
|
4223
|
+
lazy: () => import("./store-edit-B54LFFLE.js")
|
|
4196
4224
|
},
|
|
4197
4225
|
{
|
|
4198
4226
|
path: "edit-address",
|
|
@@ -4212,7 +4240,7 @@ function getRouteMap({
|
|
|
4212
4240
|
},
|
|
4213
4241
|
{
|
|
4214
4242
|
path: "invite",
|
|
4215
|
-
lazy: () => import("./store-member-invite-
|
|
4243
|
+
lazy: () => import("./store-member-invite-5S64PDTE.js")
|
|
4216
4244
|
}
|
|
4217
4245
|
]
|
|
4218
4246
|
}
|
|
@@ -4288,7 +4316,7 @@ function getRouteMap({
|
|
|
4288
4316
|
children: [
|
|
4289
4317
|
{
|
|
4290
4318
|
path: "edit",
|
|
4291
|
-
lazy: () => import("./edit-reservation-
|
|
4319
|
+
lazy: () => import("./edit-reservation-W3THLKKK.js")
|
|
4292
4320
|
},
|
|
4293
4321
|
{
|
|
4294
4322
|
path: "metadata/edit",
|
|
@@ -4398,11 +4426,11 @@ function getRouteMap({
|
|
|
4398
4426
|
children: [
|
|
4399
4427
|
{
|
|
4400
4428
|
path: "edit",
|
|
4401
|
-
lazy: () => import("./edit-inventory-item-
|
|
4429
|
+
lazy: () => import("./edit-inventory-item-ZSV4WF6G.js")
|
|
4402
4430
|
},
|
|
4403
4431
|
{
|
|
4404
4432
|
path: "attributes",
|
|
4405
|
-
lazy: () => import("./edit-inventory-item-attributes-
|
|
4433
|
+
lazy: () => import("./edit-inventory-item-attributes-NWSAQMKX.js")
|
|
4406
4434
|
},
|
|
4407
4435
|
{
|
|
4408
4436
|
path: "metadata/edit",
|
|
@@ -4410,11 +4438,11 @@ function getRouteMap({
|
|
|
4410
4438
|
},
|
|
4411
4439
|
{
|
|
4412
4440
|
path: "locations",
|
|
4413
|
-
lazy: () => import("./manage-locations-
|
|
4441
|
+
lazy: () => import("./manage-locations-ZFIRHMNH.js")
|
|
4414
4442
|
},
|
|
4415
4443
|
{
|
|
4416
4444
|
path: "locations/:location_id",
|
|
4417
|
-
lazy: () => import("./adjust-inventory-
|
|
4445
|
+
lazy: () => import("./adjust-inventory-BBAU3NMM.js")
|
|
4418
4446
|
}
|
|
4419
4447
|
]
|
|
4420
4448
|
}
|
|
@@ -4502,7 +4530,7 @@ function getRouteMap({
|
|
|
4502
4530
|
children: [
|
|
4503
4531
|
{
|
|
4504
4532
|
path: "edit",
|
|
4505
|
-
lazy: () => import("./region-edit-
|
|
4533
|
+
lazy: () => import("./region-edit-NUMG2V5L.js")
|
|
4506
4534
|
},
|
|
4507
4535
|
{
|
|
4508
4536
|
path: "countries/add",
|
|
@@ -4532,7 +4560,7 @@ function getRouteMap({
|
|
|
4532
4560
|
children: [
|
|
4533
4561
|
{
|
|
4534
4562
|
path: "edit",
|
|
4535
|
-
lazy: () => import("./marketplace-edit-
|
|
4563
|
+
lazy: () => import("./marketplace-edit-G7YNGABC.js")
|
|
4536
4564
|
},
|
|
4537
4565
|
{
|
|
4538
4566
|
path: "currencies",
|
|
@@ -4612,7 +4640,7 @@ function getRouteMap({
|
|
|
4612
4640
|
children: [
|
|
4613
4641
|
{
|
|
4614
4642
|
path: "invite",
|
|
4615
|
-
lazy: () => import("./user-invite-
|
|
4643
|
+
lazy: () => import("./user-invite-WHBNPT4I.js")
|
|
4616
4644
|
}
|
|
4617
4645
|
]
|
|
4618
4646
|
},
|
|
@@ -4635,7 +4663,7 @@ function getRouteMap({
|
|
|
4635
4663
|
children: [
|
|
4636
4664
|
{
|
|
4637
4665
|
path: "edit",
|
|
4638
|
-
lazy: () => import("./user-edit-
|
|
4666
|
+
lazy: () => import("./user-edit-O2M5II52.js")
|
|
4639
4667
|
},
|
|
4640
4668
|
{
|
|
4641
4669
|
path: "metadata/edit",
|
|
@@ -4684,7 +4712,7 @@ function getRouteMap({
|
|
|
4684
4712
|
children: [
|
|
4685
4713
|
{
|
|
4686
4714
|
path: "edit",
|
|
4687
|
-
lazy: () => import("./sales-channel-edit-
|
|
4715
|
+
lazy: () => import("./sales-channel-edit-CO2V2VER.js")
|
|
4688
4716
|
},
|
|
4689
4717
|
{
|
|
4690
4718
|
path: "add-products",
|
|
@@ -4797,7 +4825,7 @@ function getRouteMap({
|
|
|
4797
4825
|
children: [
|
|
4798
4826
|
{
|
|
4799
4827
|
path: "edit",
|
|
4800
|
-
lazy: () => import("./shipping-option-type-edit-
|
|
4828
|
+
lazy: () => import("./shipping-option-type-edit-WXTEQM32.js")
|
|
4801
4829
|
}
|
|
4802
4830
|
]
|
|
4803
4831
|
}
|
|
@@ -4824,7 +4852,7 @@ function getRouteMap({
|
|
|
4824
4852
|
children: [
|
|
4825
4853
|
{
|
|
4826
4854
|
path: "edit",
|
|
4827
|
-
lazy: () => import("./location-edit-
|
|
4855
|
+
lazy: () => import("./location-edit-XRGRJCVB.js")
|
|
4828
4856
|
},
|
|
4829
4857
|
{
|
|
4830
4858
|
path: "sales-channels",
|
|
@@ -4846,7 +4874,7 @@ function getRouteMap({
|
|
|
4846
4874
|
children: [
|
|
4847
4875
|
{
|
|
4848
4876
|
path: "edit",
|
|
4849
|
-
lazy: () => import("./location-service-zone-edit-
|
|
4877
|
+
lazy: () => import("./location-service-zone-edit-KFG52K4W.js")
|
|
4850
4878
|
},
|
|
4851
4879
|
{
|
|
4852
4880
|
path: "areas",
|
|
@@ -4864,7 +4892,7 @@ function getRouteMap({
|
|
|
4864
4892
|
children: [
|
|
4865
4893
|
{
|
|
4866
4894
|
path: "edit",
|
|
4867
|
-
lazy: () => import("./location-service-zone-shipping-option-edit-
|
|
4895
|
+
lazy: () => import("./location-service-zone-shipping-option-edit-UUIR7B5S.js")
|
|
4868
4896
|
},
|
|
4869
4897
|
{
|
|
4870
4898
|
path: "pricing",
|
|
@@ -4894,7 +4922,7 @@ function getRouteMap({
|
|
|
4894
4922
|
children: [
|
|
4895
4923
|
{
|
|
4896
4924
|
path: "",
|
|
4897
|
-
lazy: () => import("./product-tag-list-
|
|
4925
|
+
lazy: () => import("./product-tag-list-3HOXFHMN.js"),
|
|
4898
4926
|
children: [
|
|
4899
4927
|
{
|
|
4900
4928
|
path: "create",
|
|
@@ -4905,7 +4933,7 @@ function getRouteMap({
|
|
|
4905
4933
|
{
|
|
4906
4934
|
path: ":id",
|
|
4907
4935
|
lazy: async () => {
|
|
4908
|
-
const { Breadcrumb, loader } = await import("./product-tag-detail-
|
|
4936
|
+
const { Breadcrumb, loader } = await import("./product-tag-detail-2YR6TXZI.js");
|
|
4909
4937
|
return {
|
|
4910
4938
|
Component: Outlet4,
|
|
4911
4939
|
loader,
|
|
@@ -4917,7 +4945,7 @@ function getRouteMap({
|
|
|
4917
4945
|
children: [
|
|
4918
4946
|
{
|
|
4919
4947
|
path: "",
|
|
4920
|
-
lazy: () => import("./product-tag-detail-
|
|
4948
|
+
lazy: () => import("./product-tag-detail-2YR6TXZI.js"),
|
|
4921
4949
|
children: [
|
|
4922
4950
|
{
|
|
4923
4951
|
path: "edit",
|
|
@@ -5027,7 +5055,7 @@ function getRouteMap({
|
|
|
5027
5055
|
children: [
|
|
5028
5056
|
{
|
|
5029
5057
|
path: "edit",
|
|
5030
|
-
lazy: () => import("./product-type-edit-
|
|
5058
|
+
lazy: () => import("./product-type-edit-X7VSBPUG.js")
|
|
5031
5059
|
},
|
|
5032
5060
|
{
|
|
5033
5061
|
path: "metadata/edit",
|
|
@@ -5156,7 +5184,7 @@ function getRouteMap({
|
|
|
5156
5184
|
children: [
|
|
5157
5185
|
{
|
|
5158
5186
|
path: "create",
|
|
5159
|
-
lazy: () => import("./tax-region-create-
|
|
5187
|
+
lazy: () => import("./tax-region-create-DVBIX7IX.js")
|
|
5160
5188
|
}
|
|
5161
5189
|
]
|
|
5162
5190
|
},
|
|
@@ -5187,11 +5215,11 @@ function getRouteMap({
|
|
|
5187
5215
|
},
|
|
5188
5216
|
{
|
|
5189
5217
|
path: "overrides/create",
|
|
5190
|
-
lazy: () => import("./tax-region-tax-override-create-
|
|
5218
|
+
lazy: () => import("./tax-region-tax-override-create-XZ5BU2FP.js")
|
|
5191
5219
|
},
|
|
5192
5220
|
{
|
|
5193
5221
|
path: "overrides/:tax_rate_id/edit",
|
|
5194
|
-
lazy: () => import("./tax-region-tax-override-edit-
|
|
5222
|
+
lazy: () => import("./tax-region-tax-override-edit-R4EGIUIZ.js")
|
|
5195
5223
|
},
|
|
5196
5224
|
{
|
|
5197
5225
|
path: "tax-rates/create",
|
|
@@ -5234,11 +5262,11 @@ function getRouteMap({
|
|
|
5234
5262
|
},
|
|
5235
5263
|
{
|
|
5236
5264
|
path: "overrides/create",
|
|
5237
|
-
lazy: () => import("./tax-region-tax-override-create-
|
|
5265
|
+
lazy: () => import("./tax-region-tax-override-create-XZ5BU2FP.js")
|
|
5238
5266
|
},
|
|
5239
5267
|
{
|
|
5240
5268
|
path: "overrides/:tax_rate_id/edit",
|
|
5241
|
-
lazy: () => import("./tax-region-tax-override-edit-
|
|
5269
|
+
lazy: () => import("./tax-region-tax-override-edit-R4EGIUIZ.js")
|
|
5242
5270
|
}
|
|
5243
5271
|
]
|
|
5244
5272
|
}
|
|
@@ -5257,7 +5285,7 @@ function getRouteMap({
|
|
|
5257
5285
|
children: [
|
|
5258
5286
|
{
|
|
5259
5287
|
path: "",
|
|
5260
|
-
lazy: () => import("./return-reason-list-
|
|
5288
|
+
lazy: () => import("./return-reason-list-AVCC44CH.js"),
|
|
5261
5289
|
children: [
|
|
5262
5290
|
{
|
|
5263
5291
|
path: "create",
|
|
@@ -5285,7 +5313,7 @@ function getRouteMap({
|
|
|
5285
5313
|
children: [
|
|
5286
5314
|
{
|
|
5287
5315
|
path: "",
|
|
5288
|
-
lazy: () => import("./refund-reason-list-
|
|
5316
|
+
lazy: () => import("./refund-reason-list-ODOF3ZLM.js"),
|
|
5289
5317
|
children: [
|
|
5290
5318
|
{
|
|
5291
5319
|
path: "create",
|
|
@@ -5322,7 +5350,7 @@ function getRouteMap({
|
|
|
5322
5350
|
},
|
|
5323
5351
|
{
|
|
5324
5352
|
path: "/reset-password",
|
|
5325
|
-
lazy: () => import("./reset-password-
|
|
5353
|
+
lazy: () => import("./reset-password-N4LXTU3G.js")
|
|
5326
5354
|
},
|
|
5327
5355
|
{
|
|
5328
5356
|
path: "/invite",
|
|
@@ -5341,17 +5369,17 @@ function getRouteMap({
|
|
|
5341
5369
|
}
|
|
5342
5370
|
|
|
5343
5371
|
// src/app.tsx
|
|
5344
|
-
import { useMemo as
|
|
5372
|
+
import { useMemo as useMemo6 } from "react";
|
|
5345
5373
|
import { jsx as jsx18, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5346
5374
|
function App() {
|
|
5347
|
-
const routes =
|
|
5375
|
+
const routes = useMemo6(() => {
|
|
5348
5376
|
return {
|
|
5349
5377
|
settingsRoutes: createRouteMap(getRoutesByType(customRoutes, "settings")),
|
|
5350
5378
|
mainRoutes: createRouteMap(getRoutesByType(customRoutes, "main")),
|
|
5351
5379
|
publicRoutes: createRouteMap(getRoutesByType(customRoutes, "public"))
|
|
5352
5380
|
};
|
|
5353
5381
|
}, []);
|
|
5354
|
-
return /* @__PURE__ */ jsx18(TooltipProvider, { children: /* @__PURE__ */ jsx18(HelmetProvider, { children: /* @__PURE__ */ jsx18(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsx18(ThemeProvider, { children: /* @__PURE__ */ jsxs11(
|
|
5382
|
+
return /* @__PURE__ */ jsx18(TooltipProvider, { children: /* @__PURE__ */ jsx18(HelmetProvider, { children: /* @__PURE__ */ jsx18(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsx18(ThemeProvider, { children: /* @__PURE__ */ jsx18(FeatureFlagProvider, { children: /* @__PURE__ */ jsxs11(
|
|
5355
5383
|
ExtensionProvider,
|
|
5356
5384
|
{
|
|
5357
5385
|
widgets,
|
|
@@ -5370,7 +5398,7 @@ function App() {
|
|
|
5370
5398
|
/* @__PURE__ */ jsx18(Toaster, {})
|
|
5371
5399
|
]
|
|
5372
5400
|
}
|
|
5373
|
-
) }) }) }) });
|
|
5401
|
+
) }) }) }) }) });
|
|
5374
5402
|
}
|
|
5375
5403
|
export {
|
|
5376
5404
|
ActionMenu,
|
|
@@ -245,7 +245,7 @@ var LocationEdit = () => {
|
|
|
245
245
|
throw error;
|
|
246
246
|
}
|
|
247
247
|
return /* @__PURE__ */ jsxs2(RouteDrawer, { "data-testid": "location-edit-drawer", children: [
|
|
248
|
-
/* @__PURE__ */ jsx2(RouteDrawer.Header, { "data-testid": "location-edit-drawer-header", children: /* @__PURE__ */ jsx2(Heading, { className: "capitalize", "data-testid": "location-edit-drawer-heading", children: t("locations.editLocation") }) }),
|
|
248
|
+
/* @__PURE__ */ jsx2(RouteDrawer.Header, { "data-testid": "location-edit-drawer-header", children: /* @__PURE__ */ jsx2(RouteDrawer.Title, { asChild: true, children: /* @__PURE__ */ jsx2(Heading, { className: "capitalize", "data-testid": "location-edit-drawer-heading", children: t("locations.editLocation") }) }) }),
|
|
249
249
|
ready && /* @__PURE__ */ jsx2(EditLocationForm, { location: stock_location })
|
|
250
250
|
] });
|
|
251
251
|
};
|
package/dist/{location-service-zone-edit-36TATZI4.js → location-service-zone-edit-KFG52K4W.js}
RENAMED
|
@@ -119,7 +119,7 @@ var LocationServiceZoneEdit = () => {
|
|
|
119
119
|
throw error;
|
|
120
120
|
}
|
|
121
121
|
return /* @__PURE__ */ jsxs2(RouteDrawer, { prev: `/settings/locations/${location_id}`, "data-testid": "location-service-zone-edit-drawer", children: [
|
|
122
|
-
/* @__PURE__ */ jsx2(RouteDrawer.Header, { "data-testid": "location-service-zone-edit-drawer-header", children: /* @__PURE__ */ jsx2(Heading, { "data-testid": "location-service-zone-edit-drawer-heading", children: t("stockLocations.serviceZones.edit.header") }) }),
|
|
122
|
+
/* @__PURE__ */ jsx2(RouteDrawer.Header, { "data-testid": "location-service-zone-edit-drawer-header", children: /* @__PURE__ */ jsx2(RouteDrawer.Title, { asChild: true, children: /* @__PURE__ */ jsx2(Heading, { "data-testid": "location-service-zone-edit-drawer-heading", children: t("stockLocations.serviceZones.edit.header") }) }) }),
|
|
123
123
|
serviceZone && /* @__PURE__ */ jsx2(
|
|
124
124
|
EditServiceZoneForm,
|
|
125
125
|
{
|
|
@@ -346,9 +346,9 @@ var LocationServiceZoneShippingOptionEdit = () => {
|
|
|
346
346
|
}
|
|
347
347
|
const isPickup = shippingOption?.service_zone.fulfillment_set.type === "pickup" /* Pickup */;
|
|
348
348
|
return /* @__PURE__ */ jsxs2(RouteDrawer, { "data-testid": "location-shipping-option-edit-drawer", children: [
|
|
349
|
-
/* @__PURE__ */ jsx2(RouteDrawer.Header, { "data-testid": "location-shipping-option-edit-drawer-header", children: /* @__PURE__ */ jsx2(Heading, { "data-testid": "location-shipping-option-edit-drawer-heading", children: t(
|
|
349
|
+
/* @__PURE__ */ jsx2(RouteDrawer.Header, { "data-testid": "location-shipping-option-edit-drawer-header", children: /* @__PURE__ */ jsx2(RouteDrawer.Title, { asChild: true, children: /* @__PURE__ */ jsx2(Heading, { "data-testid": "location-shipping-option-edit-drawer-heading", children: t(
|
|
350
350
|
`stockLocations.${isPickup ? "pickupOptions" : "shippingOptions"}.edit.header`
|
|
351
|
-
) }) }),
|
|
351
|
+
) }) }) }),
|
|
352
352
|
shippingOption && /* @__PURE__ */ jsx2(
|
|
353
353
|
EditShippingOptionForm,
|
|
354
354
|
{
|
|
@@ -249,7 +249,7 @@ var ManageLocationsDrawer = () => {
|
|
|
249
249
|
}
|
|
250
250
|
const sellerId = inventoryItem?.offers?.[0]?.seller_id;
|
|
251
251
|
return /* @__PURE__ */ jsxs3(RouteDrawer, { "data-testid": "inventory-manage-locations-drawer", children: [
|
|
252
|
-
/* @__PURE__ */ jsx4(RouteDrawer.Header, { "data-testid": "inventory-manage-locations-drawer-header", children: /* @__PURE__ */ jsx4(Heading, { "data-testid": "inventory-manage-locations-drawer-title", children: t("inventory.manageLocations") }) }),
|
|
252
|
+
/* @__PURE__ */ jsx4(RouteDrawer.Header, { "data-testid": "inventory-manage-locations-drawer-header", children: /* @__PURE__ */ jsx4(RouteDrawer.Title, { asChild: true, children: /* @__PURE__ */ jsx4(Heading, { "data-testid": "inventory-manage-locations-drawer-title", children: t("inventory.manageLocations") }) }) }),
|
|
253
253
|
ready && /* @__PURE__ */ jsx4(
|
|
254
254
|
ManageLocationsForm,
|
|
255
255
|
{
|
|
@@ -239,7 +239,7 @@ var MarketplaceEdit = () => {
|
|
|
239
239
|
}
|
|
240
240
|
const ready = !!store && !isLoading;
|
|
241
241
|
return /* @__PURE__ */ jsxs2(RouteDrawer, { "data-testid": "store-edit", children: [
|
|
242
|
-
/* @__PURE__ */ jsx2(RouteDrawer.Header, { "data-testid": "store-edit-header", children: /* @__PURE__ */ jsx2(Heading, { "data-testid": "store-edit-heading", children: t("marketplace.edit.header") }) }),
|
|
242
|
+
/* @__PURE__ */ jsx2(RouteDrawer.Header, { "data-testid": "store-edit-header", children: /* @__PURE__ */ jsx2(RouteDrawer.Title, { asChild: true, children: /* @__PURE__ */ jsx2(Heading, { "data-testid": "store-edit-heading", children: t("marketplace.edit.header") }) }) }),
|
|
243
243
|
ready && /* @__PURE__ */ jsx2(EditMarketplaceForm, { store })
|
|
244
244
|
] });
|
|
245
245
|
};
|
|
@@ -405,7 +405,7 @@ var OrderCreateRefund = () => {
|
|
|
405
405
|
fields: DEFAULT_FIELDS
|
|
406
406
|
});
|
|
407
407
|
return /* @__PURE__ */ jsxs2(RouteDrawer, { "data-testid": "order-create-refund-drawer", children: [
|
|
408
|
-
/* @__PURE__ */ jsx2(RouteDrawer.Header, { "data-testid": "order-create-refund-header", children: /* @__PURE__ */ jsx2(Heading2, { "data-testid": "order-create-refund-heading", children: t("orders.payment.createRefund") }) }),
|
|
408
|
+
/* @__PURE__ */ jsx2(RouteDrawer.Header, { "data-testid": "order-create-refund-header", children: /* @__PURE__ */ jsx2(RouteDrawer.Title, { asChild: true, children: /* @__PURE__ */ jsx2(Heading2, { "data-testid": "order-create-refund-heading", children: t("orders.payment.createRefund") }) }) }),
|
|
409
409
|
order && /* @__PURE__ */ jsx2(CreateRefundForm, { order })
|
|
410
410
|
] });
|
|
411
411
|
};
|
package/dist/{order-edit-billing-address-5OYY6SEI.js → order-edit-billing-address-QCVPGEL6.js}
RENAMED
|
@@ -9,7 +9,7 @@ import "./chunk-FMFVTERD.js";
|
|
|
9
9
|
import "./chunk-JRTZWK77.js";
|
|
10
10
|
import {
|
|
11
11
|
i18n
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OQLWF43Y.js";
|
|
13
13
|
import "./chunk-TKGWSUEI.js";
|
|
14
14
|
import {
|
|
15
15
|
KeyboundForm
|
|
@@ -397,7 +397,7 @@ var OrderEditBillingAddress = () => {
|
|
|
397
397
|
throw error;
|
|
398
398
|
}
|
|
399
399
|
return /* @__PURE__ */ jsxs2(RouteDrawer, { "data-testid": "order-edit-billing-address-drawer", children: [
|
|
400
|
-
/* @__PURE__ */ jsx2(RouteDrawer.Header, { "data-testid": "order-edit-billing-address-header", children: /* @__PURE__ */ jsx2(Heading, { "data-testid": "order-edit-billing-address-heading", children: t("orders.edit.billingAddress.title") }) }),
|
|
400
|
+
/* @__PURE__ */ jsx2(RouteDrawer.Header, { "data-testid": "order-edit-billing-address-header", children: /* @__PURE__ */ jsx2(RouteDrawer.Title, { asChild: true, children: /* @__PURE__ */ jsx2(Heading, { "data-testid": "order-edit-billing-address-heading", children: t("orders.edit.billingAddress.title") }) }) }),
|
|
401
401
|
order && /* @__PURE__ */ jsx2(EditOrderBillingAddressForm, { order })
|
|
402
402
|
] });
|
|
403
403
|
};
|