@mercurjs/admin 2.2.0-canary.42 → 2.2.0-canary.44

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.
Files changed (70) hide show
  1. package/dist/{api-key-management-detail-HKNZPPR2.js → api-key-management-detail-5R7HJSK2.js} +1 -1
  2. package/dist/{api-key-management-list-5RXBJ24C.js → api-key-management-list-SQEBELT3.js} +1 -1
  3. package/dist/{attribute-detail-LBACUDU3.js → attribute-detail-2HDO6YCN.js} +3 -2
  4. package/dist/{attribute-list-6A72PBIY.js → attribute-list-OHBKYM37.js} +1 -1
  5. package/dist/{chunk-EOSJHPHN.js → chunk-2SMBVF6F.js} +2 -1
  6. package/dist/{chunk-JEDX4KBB.js → chunk-3WOU2BB5.js} +2 -1
  7. package/dist/{chunk-NOKCLBAL.js → chunk-4TNOZ4VH.js} +2 -1
  8. package/dist/{chunk-KT4DGVRQ.js → chunk-C4UDDNHP.js} +3 -2
  9. package/dist/{chunk-VY72NX26.js → chunk-DI33XMXB.js} +3 -2
  10. package/dist/{chunk-VGXJXU7X.js → chunk-DUXVIXHP.js} +4 -3
  11. package/dist/{chunk-VLYPVR5U.js → chunk-ELNENIRC.js} +2 -1
  12. package/dist/{chunk-BF7X4JQT.js → chunk-ESC6LVVC.js} +2 -1
  13. package/dist/{chunk-WEVSVBVF.js → chunk-EXUFS4XF.js} +2 -1
  14. package/dist/{chunk-LQSSUC7W.js → chunk-GT5A4XN2.js} +2 -1
  15. package/dist/{chunk-GWSRWILC.js → chunk-GWW6MPYK.js} +2 -1
  16. package/dist/{chunk-25U23TXK.js → chunk-J772X4Q3.js} +2 -1
  17. package/dist/{chunk-S2C6DUQJ.js → chunk-JCOBV3J2.js} +3 -2
  18. package/dist/{chunk-DL7ENIQB.js → chunk-LEQINL55.js} +2 -1
  19. package/dist/{chunk-5Y2AIJ2T.js → chunk-PEUWV5YK.js} +2 -1
  20. package/dist/{chunk-CNODWD3F.js → chunk-PEVS3GLB.js} +2 -1
  21. package/dist/{chunk-TZM63FZ4.js → chunk-PGDPJY7K.js} +2 -1
  22. package/dist/{chunk-HT34QVZR.js → chunk-QBPPEUNR.js} +3 -2
  23. package/dist/{chunk-XW2BES72.js → chunk-R5QHWCJH.js} +6 -3
  24. package/dist/{chunk-ZU74CNL4.js → chunk-RE2N7KGI.js} +3 -2
  25. package/dist/{chunk-KRFXBBBU.js → chunk-RS6HWWTT.js} +3 -2
  26. package/dist/{chunk-BQWSY6FS.js → chunk-S3QMHTMJ.js} +2 -1
  27. package/dist/{chunk-6BWJWA2F.js → chunk-THMINQBZ.js} +2 -1
  28. package/dist/{chunk-YRINVEI3.js → chunk-TJJ7S3GL.js} +3 -2
  29. package/dist/{chunk-ADTYNS4J.js → chunk-UPWZN6WB.js} +2 -1
  30. package/dist/{chunk-HB3KRNZM.js → chunk-UQGXKAFA.js} +3 -2
  31. package/dist/{chunk-32ZNZDFT.js → chunk-WY53X57R.js} +3 -2
  32. package/dist/{chunk-X6KFVVHH.js → chunk-XVYJBZOI.js} +3 -2
  33. package/dist/{chunk-4BPQNCF5.js → chunk-YBVXGODN.js} +2 -1
  34. package/dist/{chunk-HI7NZVSJ.js → chunk-YDAEPFPY.js} +2 -1
  35. package/dist/{chunk-AMZ2QSSI.js → chunk-YL7CBNVF.js} +5 -2
  36. package/dist/{chunk-YHEH25IE.js → chunk-Z6CIQQUZ.js} +2 -1
  37. package/dist/{commission-rule-detail-ZQ3OHFA2.js → commission-rule-detail-MLAJAVPU.js} +1 -1
  38. package/dist/{commissions-list-M5WLJD2P.js → commissions-list-GA2WX5C5.js} +1 -1
  39. package/dist/extension-targets.d.ts +74 -0
  40. package/dist/index.js +51 -51
  41. package/dist/{location-detail-CNETNX3M.js → location-detail-7TEMWMQG.js} +1 -1
  42. package/dist/{location-list-RHUT7IRA.js → location-list-EFMGNVII.js} +1 -1
  43. package/dist/{marketplace-detail-IHGJXVZS.js → marketplace-detail-NMNGD5PW.js} +1 -1
  44. package/dist/{offer-variant-detail-page-NDGPFP6P.js → offer-variant-detail-page-GESVAA2S.js} +5 -4
  45. package/dist/pages/index.js +32 -32
  46. package/dist/{payout-detail-6U2ANWOH.js → payout-detail-LY7SRCKO.js} +1 -1
  47. package/dist/{payout-list-3GQJQSVU.js → payout-list-VUJKOAOJ.js} +1 -1
  48. package/dist/{product-list-2WE2JY4F.js → product-list-IKAIBHDH.js} +1 -1
  49. package/dist/{product-tag-detail-2PMM6RG6.js → product-tag-detail-CEGLUXR2.js} +1 -1
  50. package/dist/{product-tag-list-KBNI6UDN.js → product-tag-list-RZ7JRSY5.js} +1 -1
  51. package/dist/{product-type-detail-UKJ6RIHU.js → product-type-detail-EITNHOVB.js} +1 -1
  52. package/dist/{product-type-list-JN4SKTFE.js → product-type-list-OZILJZLG.js} +1 -1
  53. package/dist/{product-variant-detail-7CFNAI3A.js → product-variant-detail-OKBXU3KF.js} +1 -1
  54. package/dist/{profile-detail-PABUO545.js → profile-detail-PFJX3LPX.js} +1 -1
  55. package/dist/{refund-reason-list-OWXAGHOQ.js → refund-reason-list-4Q6RPJ3O.js} +1 -1
  56. package/dist/{region-detail-636IAPYK.js → region-detail-VA4FGEKA.js} +1 -1
  57. package/dist/{region-list-GIU6NFI4.js → region-list-WU4LTP5Y.js} +1 -1
  58. package/dist/{return-reason-list-4ANB2PXX.js → return-reason-list-4AJKJFLL.js} +1 -1
  59. package/dist/{sales-channel-detail-VDYOKH35.js → sales-channel-detail-WX7V3AMQ.js} +1 -1
  60. package/dist/{sales-channel-list-LVW7XE7K.js → sales-channel-list-GUEEN52J.js} +1 -1
  61. package/dist/{shipping-option-type-detail-W32EHTBS.js → shipping-option-type-detail-AXPDURRK.js} +1 -1
  62. package/dist/{shipping-option-type-list-4FML2ZX5.js → shipping-option-type-list-INXNG2LU.js} +1 -1
  63. package/dist/{shipping-profile-detail-UFGQ3CCH.js → shipping-profile-detail-FOPCKNOZ.js} +1 -1
  64. package/dist/{shipping-profiles-list-PZQVMKR4.js → shipping-profiles-list-AKSZ4O35.js} +1 -1
  65. package/dist/{tax-region-detail-L7STT6C7.js → tax-region-detail-KN4IUVQW.js} +1 -1
  66. package/dist/{tax-region-list-NIAT626R.js → tax-region-list-GRZIXRD4.js} +1 -1
  67. package/dist/{tax-region-province-detail-2GRPOSWS.js → tax-region-province-detail-6NONQIBT.js} +1 -1
  68. package/dist/{user-detail-452E7GII.js → user-detail-PYBWVQYY.js} +1 -1
  69. package/dist/{user-list-OU6WS25V.js → user-list-62A6ZMIX.js} +1 -1
  70. package/package.json +6 -6
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ApiKeyManagementDetailPage
3
- } from "./chunk-VGXJXU7X.js";
3
+ } from "./chunk-DUXVIXHP.js";
4
4
  import "./chunk-XFR5JLNF.js";
5
5
  import "./chunk-OT5X3VOQ.js";
6
6
  import "./chunk-7OKYEA6I.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ApiKeyManagementListPage
3
- } from "./chunk-TZM63FZ4.js";
3
+ } from "./chunk-PGDPJY7K.js";
4
4
  import "./chunk-XFR5JLNF.js";
5
5
  import "./chunk-25LYVP3C.js";
6
6
  import "./chunk-JHIMVLB2.js";
@@ -107,6 +107,7 @@ var attributeDetailLoader = async ({ params }) => {
107
107
  // src/pages/attributes/attribute-detail/attribute-detail.tsx
108
108
  import { Children } from "react";
109
109
  import { useLoaderData, useParams } from "react-router-dom";
110
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
110
111
 
111
112
  // src/pages/attributes/attribute-detail/components/attribute-general-section/attribute-general-section.tsx
112
113
  import { PencilSquare, Trash } from "@medusajs/icons";
@@ -463,10 +464,10 @@ var Root = ({ children }) => {
463
464
  if (isError) {
464
465
  throw error;
465
466
  }
466
- return Children.count(children) > 0 ? /* @__PURE__ */ jsx4(SingleColumnPage, { hasOutlet: true, showJSON: true, data: attribute, children }) : /* @__PURE__ */ jsxs3(SingleColumnPage, { hasOutlet: true, showJSON: true, data: attribute, children: [
467
+ return Children.count(children) > 0 ? /* @__PURE__ */ jsx4(SingleColumnPage, { hasOutlet: true, showJSON: true, data: attribute, children }) : /* @__PURE__ */ jsx4(SingleColumnPage, { hasOutlet: true, showJSON: true, data: attribute, children: /* @__PURE__ */ jsxs3(WidgetZone, { id: "attributes.detail.main", data: attribute, children: [
467
468
  /* @__PURE__ */ jsx4(AttributeGeneralSection, { attribute }),
468
469
  /* @__PURE__ */ jsx4(AttributePossibleValuesSection, { attribute })
469
- ] });
470
+ ] }) });
470
471
  };
471
472
  var AttributeDetailPage = Object.assign(Root, {
472
473
  GeneralSection: AttributeGeneralSection,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  AttributeListPage,
3
3
  attributeListLoader
4
- } from "./chunk-EOSJHPHN.js";
4
+ } from "./chunk-2SMBVF6F.js";
5
5
  import "./chunk-JHIMVLB2.js";
6
6
  import "./chunk-PHOCVOZ5.js";
7
7
  import "./chunk-RT6L7JXU.js";
@@ -45,6 +45,7 @@ var attributeListLoader = async (_args) => {
45
45
 
46
46
  // src/pages/attributes/attribute-list/attribute-list.tsx
47
47
  import { Children as Children3 } from "react";
48
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
48
49
 
49
50
  // src/pages/attributes/attribute-list/components/attribute-list-view/attribute-list-view.tsx
50
51
  import { Children as Children2 } from "react";
@@ -388,7 +389,7 @@ var AttributeListView = ({
388
389
  // src/pages/attributes/attribute-list/attribute-list.tsx
389
390
  import { jsx as jsx5 } from "react/jsx-runtime";
390
391
  var Root = ({ children }) => {
391
- return /* @__PURE__ */ jsx5(SingleColumnPage, { showMetadata: false, showJSON: false, hasOutlet: true, children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx5(AttributeListView, {}) });
392
+ return /* @__PURE__ */ jsx5(SingleColumnPage, { showMetadata: false, showJSON: false, hasOutlet: true, children: /* @__PURE__ */ jsx5(WidgetZone, { id: "attributes.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx5(AttributeListView, {}) }) });
392
393
  };
393
394
  var AttributeListPage = Object.assign(Root, {
394
395
  Table: AttributeListView,
@@ -29,6 +29,7 @@ import {
29
29
 
30
30
  // src/pages/shipping-option-types/shipping-option-type-list/shipping-option-type-list.tsx
31
31
  import { Children as Children3 } from "react";
32
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
32
33
 
33
34
  // src/pages/shipping-option-types/shipping-option-type-list/components/shipping-option-type-list-view/shipping-option-type-list-view.tsx
34
35
  import { Children as Children2 } from "react";
@@ -281,7 +282,7 @@ var ShippingOptionTypeListView = ({
281
282
  // src/pages/shipping-option-types/shipping-option-type-list/shipping-option-type-list.tsx
282
283
  import { jsx as jsx6 } from "react/jsx-runtime";
283
284
  var Root = ({ children }) => {
284
- return /* @__PURE__ */ jsx6(SingleColumnPage, { children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(ShippingOptionTypeListView, {}) });
285
+ return /* @__PURE__ */ jsx6(SingleColumnPage, { children: /* @__PURE__ */ jsx6(WidgetZone, { id: "shipping-option-types.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(ShippingOptionTypeListView, {}) }) });
285
286
  };
286
287
  var ShippingOptionTypeListPage = Object.assign(Root, {
287
288
  Table: ShippingOptionTypeListView,
@@ -15,6 +15,7 @@ import {
15
15
  // src/pages/users/user-detail/user-detail.tsx
16
16
  import { Children } from "react";
17
17
  import { useLoaderData, useParams } from "react-router-dom";
18
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
18
19
 
19
20
  // src/pages/users/user-detail/components/user-general-section/user-general-section.tsx
20
21
  import { PencilSquare, Trash } from "@medusajs/icons";
@@ -108,7 +109,7 @@ var Root = ({ children }) => {
108
109
  if (isError) {
109
110
  throw error;
110
111
  }
111
- return Children.count(children) > 0 ? /* @__PURE__ */ jsx2(SingleColumnPage, { data: user, showJSON: true, showMetadata: true, children }) : /* @__PURE__ */ jsx2(SingleColumnPage, { data: user, showJSON: true, showMetadata: true, children: /* @__PURE__ */ jsx2(UserGeneralSection, { user }) });
112
+ return Children.count(children) > 0 ? /* @__PURE__ */ jsx2(SingleColumnPage, { data: user, showJSON: true, showMetadata: true, children }) : /* @__PURE__ */ jsx2(SingleColumnPage, { data: user, showJSON: true, showMetadata: true, children: /* @__PURE__ */ jsx2(WidgetZone, { id: "users.detail.main", data: user, children: /* @__PURE__ */ jsx2(UserGeneralSection, { user }) }) });
112
113
  };
113
114
  var UserDetailPage = Object.assign(Root, {
114
115
  GeneralSection: UserGeneralSection
@@ -41,6 +41,7 @@ import {
41
41
 
42
42
  // src/pages/commissions/commissions-list/commissions-page.tsx
43
43
  import { Children } from "react";
44
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
44
45
 
45
46
  // src/pages/commissions/commissions-list/components/global-commission-section/global-commission-section.tsx
46
47
  import { PencilSquare } from "@medusajs/icons";
@@ -366,10 +367,10 @@ var CommissionRulesTable = () => {
366
367
  // src/pages/commissions/commissions-list/commissions-page.tsx
367
368
  import { Fragment as Fragment2, jsx as jsx5, jsxs as jsxs4 } from "react/jsx-runtime";
368
369
  var Root = ({ children }) => {
369
- return /* @__PURE__ */ jsx5(SingleColumnPage, { hasOutlet: true, "data-testid": "commissions-page", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs4(Fragment2, { children: [
370
+ return /* @__PURE__ */ jsx5(SingleColumnPage, { hasOutlet: true, "data-testid": "commissions-page", children: /* @__PURE__ */ jsx5(WidgetZone, { id: "commissions.list", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs4(Fragment2, { children: [
370
371
  /* @__PURE__ */ jsx5(GlobalCommissionSection, {}),
371
372
  /* @__PURE__ */ jsx5(CommissionRulesTable, {})
372
- ] }) });
373
+ ] }) }) });
373
374
  };
374
375
  var CommissionsPage = Object.assign(Root, {
375
376
  GlobalCommission: GlobalCommissionSection,
@@ -39,6 +39,7 @@ import {
39
39
  // src/pages/tax-regions/tax-region-detail/tax-region-detail.tsx
40
40
  import { useState as useState2, Children } from "react";
41
41
  import { useLoaderData, useParams } from "react-router-dom";
42
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
42
43
 
43
44
  // src/pages/tax-regions/tax-region-detail/components/tax-region-detail-section/tax-region-detail-section.tsx
44
45
  import { Badge, Container, Tooltip } from "@medusajs/ui";
@@ -264,7 +265,7 @@ var Root = ({ children }) => {
264
265
  if (isError) {
265
266
  throw error;
266
267
  }
267
- return Children.count(children) > 0 ? /* @__PURE__ */ jsx6(SingleColumnPage, { data: taxRegion, showJSON: true, showMetadata: true, children }) : /* @__PURE__ */ jsxs4(SingleColumnPage, { data: taxRegion, showJSON: true, showMetadata: true, children: [
268
+ return Children.count(children) > 0 ? /* @__PURE__ */ jsx6(SingleColumnPage, { data: taxRegion, showJSON: true, showMetadata: true, children }) : /* @__PURE__ */ jsx6(SingleColumnPage, { data: taxRegion, showJSON: true, showMetadata: true, children: /* @__PURE__ */ jsxs4(WidgetZone, { id: "tax-regions.detail.main", data: taxRegion, children: [
268
269
  /* @__PURE__ */ jsx6(
269
270
  TaxRegionSublevelAlert,
270
271
  {
@@ -283,7 +284,7 @@ var Root = ({ children }) => {
283
284
  ),
284
285
  /* @__PURE__ */ jsx6(TaxRegionOverrideSection, { taxRegion }),
285
286
  /* @__PURE__ */ jsx6(TaxRegionProviderSection, { taxRegion })
286
- ] });
287
+ ] }) });
287
288
  };
288
289
  var TaxRegionDetailPage = Object.assign(Root, {
289
290
  SublevelAlert: TaxRegionSublevelAlert,
@@ -44,6 +44,7 @@ import {
44
44
  // src/pages/api-key-management/api-key-management-detail/api-key-management-detail.tsx
45
45
  import { Children } from "react";
46
46
  import { useLoaderData, useParams } from "react-router-dom";
47
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
47
48
 
48
49
  // src/pages/api-key-management/api-key-management-detail/components/api-key-general-section/api-key-general-section.tsx
49
50
  import { PencilSquare, Trash, XCircle } from "@medusajs/icons";
@@ -409,17 +410,17 @@ var Root = ({ children }) => {
409
410
  "data-testid": `${api_key.type}-api-key-detail-page`,
410
411
  children
411
412
  }
412
- ) : /* @__PURE__ */ jsxs2(
413
+ ) : /* @__PURE__ */ jsx3(
413
414
  SingleColumnPage,
414
415
  {
415
416
  hasOutlet: true,
416
417
  showJSON: true,
417
418
  data: api_key,
418
419
  "data-testid": `${api_key.type}-api-key-detail-page`,
419
- children: [
420
+ children: /* @__PURE__ */ jsxs2(WidgetZone, { id: "api-keys.detail.main", data: api_key, children: [
420
421
  /* @__PURE__ */ jsx3(ApiKeyGeneralSection, { apiKey: api_key }),
421
422
  isPublishable && /* @__PURE__ */ jsx3(ApiKeySalesChannelSection, { apiKey: api_key })
422
- ]
423
+ ] })
423
424
  }
424
425
  );
425
426
  };
@@ -28,6 +28,7 @@ import {
28
28
 
29
29
  // src/pages/products/product-list/product-list.tsx
30
30
  import { Children as Children2 } from "react";
31
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
31
32
 
32
33
  // src/pages/products/product-list/components/product-list-table/product-list-table.tsx
33
34
  import { PencilSquare, Trash } from "@medusajs/icons";
@@ -323,7 +324,7 @@ var useColumns = () => {
323
324
  // src/pages/products/product-list/product-list.tsx
324
325
  import { jsx as jsx2 } from "react/jsx-runtime";
325
326
  var Root = ({ children }) => {
326
- return /* @__PURE__ */ jsx2("div", { "data-testid": "products-page", children: /* @__PURE__ */ jsx2(SingleColumnPage, { children: Children2.count(children) > 0 ? children : /* @__PURE__ */ jsx2(ProductListTable, {}) }) });
327
+ return /* @__PURE__ */ jsx2("div", { "data-testid": "products-page", children: /* @__PURE__ */ jsx2(SingleColumnPage, { children: /* @__PURE__ */ jsx2(WidgetZone, { id: "products.list", children: Children2.count(children) > 0 ? children : /* @__PURE__ */ jsx2(ProductListTable, {}) }) }) });
327
328
  };
328
329
  var ProductListPage = Object.assign(Root, {
329
330
  Table: ProductListTable,
@@ -14,6 +14,7 @@ import {
14
14
 
15
15
  // src/pages/tax-regions/tax-region-list/tax-region-list.tsx
16
16
  import { Children as Children3 } from "react";
17
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
17
18
 
18
19
  // src/pages/tax-regions/tax-region-list/components/tax-region-list-view/tax-region-list-view.tsx
19
20
  import { Children as Children2 } from "react";
@@ -98,7 +99,7 @@ var TaxRegionListView = ({
98
99
  // src/pages/tax-regions/tax-region-list/tax-region-list.tsx
99
100
  import { jsx as jsx4 } from "react/jsx-runtime";
100
101
  var Root = ({ children }) => {
101
- return /* @__PURE__ */ jsx4(SingleColumnPage, { hasOutlet: true, children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(TaxRegionListView, {}) });
102
+ return /* @__PURE__ */ jsx4(SingleColumnPage, { hasOutlet: true, children: /* @__PURE__ */ jsx4(WidgetZone, { id: "tax-regions.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(TaxRegionListView, {}) }) });
102
103
  };
103
104
  var TaxRegionListPage = Object.assign(Root, {
104
105
  Table: TaxRegionListView,
@@ -17,6 +17,7 @@ import {
17
17
 
18
18
  // src/pages/refund-reasons/refund-reason-list/refund-reason-list.tsx
19
19
  import { Children as Children3 } from "react";
20
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
20
21
 
21
22
  // src/pages/refund-reasons/refund-reason-list/components/refund-reason-list-table/refund-reason-list-table.tsx
22
23
  import { Children as Children2 } from "react";
@@ -174,7 +175,7 @@ var RefundReasonListTable = ({ children }) => {
174
175
  // src/pages/refund-reasons/refund-reason-list/refund-reason-list.tsx
175
176
  import { jsx as jsx4 } from "react/jsx-runtime";
176
177
  var Root = ({ children }) => {
177
- return /* @__PURE__ */ jsx4(SingleColumnPage, { showMetadata: false, showJSON: false, hasOutlet: true, children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(RefundReasonListTable, {}) });
178
+ return /* @__PURE__ */ jsx4(SingleColumnPage, { showMetadata: false, showJSON: false, hasOutlet: true, children: /* @__PURE__ */ jsx4(WidgetZone, { id: "refund-reasons.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(RefundReasonListTable, {}) }) });
178
179
  };
179
180
  var RefundReasonList = Object.assign(Root, {
180
181
  Table: RefundReasonListTable,
@@ -20,6 +20,7 @@ import {
20
20
 
21
21
  // src/pages/users/user-list/user-list.tsx
22
22
  import { Children as Children3 } from "react";
23
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
23
24
 
24
25
  // src/pages/users/user-list/components/user-list-table/user-list-table.tsx
25
26
  import { Children as Children2 } from "react";
@@ -234,7 +235,7 @@ var UserListTable = ({ children }) => {
234
235
  // src/pages/users/user-list/user-list.tsx
235
236
  import { jsx as jsx4 } from "react/jsx-runtime";
236
237
  var Root = ({ children }) => {
237
- return /* @__PURE__ */ jsx4(SingleColumnPage, { children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(UserListTable, {}) });
238
+ return /* @__PURE__ */ jsx4(SingleColumnPage, { children: /* @__PURE__ */ jsx4(WidgetZone, { id: "users.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(UserListTable, {}) }) });
238
239
  };
239
240
  var UserListPage = Object.assign(Root, {
240
241
  Table: UserListTable,
@@ -26,6 +26,7 @@ import {
26
26
 
27
27
  // src/pages/product-types/product-type-list/product-type-list.tsx
28
28
  import { Children as Children3 } from "react";
29
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
29
30
 
30
31
  // src/pages/product-types/product-type-list/components/product-type-list-view/product-type-list-view.tsx
31
32
  import { Children as Children2 } from "react";
@@ -208,7 +209,7 @@ var ProductTypeListView = ({
208
209
  // src/pages/product-types/product-type-list/product-type-list.tsx
209
210
  import { jsx as jsx5 } from "react/jsx-runtime";
210
211
  var Root = ({ children }) => {
211
- return /* @__PURE__ */ jsx5(SingleColumnPage, { children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx5(ProductTypeListView, {}) });
212
+ return /* @__PURE__ */ jsx5(SingleColumnPage, { children: /* @__PURE__ */ jsx5(WidgetZone, { id: "product-types.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx5(ProductTypeListView, {}) }) });
212
213
  };
213
214
  var ProductTypeListPage = Object.assign(Root, {
214
215
  Table: ProductTypeListView,
@@ -20,6 +20,7 @@ import { Children } from "react";
20
20
  import { Container, Heading } from "@medusajs/ui";
21
21
  import { keepPreviousData } from "@tanstack/react-query";
22
22
  import { useTranslation } from "react-i18next";
23
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
23
24
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
24
25
  var PAGE_SIZE = 10;
25
26
  var PayoutListTitle = () => {
@@ -86,7 +87,7 @@ var PayoutListTable = ({ children }) => {
86
87
  ] }) });
87
88
  };
88
89
  var Root = ({ children }) => {
89
- return /* @__PURE__ */ jsx(SingleColumnPage, { children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx(PayoutListTable, {}) });
90
+ return /* @__PURE__ */ jsx(SingleColumnPage, { children: /* @__PURE__ */ jsx(WidgetZone, { id: "payouts.list", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx(PayoutListTable, {}) }) });
90
91
  };
91
92
  var PayoutListPage = Object.assign(Root, {
92
93
  Table: PayoutListTable,
@@ -33,6 +33,7 @@ import {
33
33
  // src/pages/product-types/product-type-detail/product-type-detail.tsx
34
34
  import { Children } from "react";
35
35
  import { useLoaderData, useParams } from "react-router-dom";
36
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
36
37
 
37
38
  // src/pages/product-types/product-type-detail/components/product-type-general-section/product-type-general-section.tsx
38
39
  import { PencilSquare, Trash } from "@medusajs/icons";
@@ -150,10 +151,10 @@ var Root = ({ children }) => {
150
151
  if (isError) {
151
152
  throw error;
152
153
  }
153
- return Children.count(children) > 0 ? /* @__PURE__ */ jsx3(SingleColumnPage, { showJSON: true, showMetadata: true, data: product_type, children }) : /* @__PURE__ */ jsxs3(SingleColumnPage, { showJSON: true, showMetadata: true, data: product_type, children: [
154
+ return Children.count(children) > 0 ? /* @__PURE__ */ jsx3(SingleColumnPage, { showJSON: true, showMetadata: true, data: product_type, children }) : /* @__PURE__ */ jsx3(SingleColumnPage, { showJSON: true, showMetadata: true, data: product_type, children: /* @__PURE__ */ jsxs3(WidgetZone, { id: "product-types.detail.main", data: product_type, children: [
154
155
  /* @__PURE__ */ jsx3(ProductTypeGeneralSection, { productType: product_type }),
155
156
  /* @__PURE__ */ jsx3(ProductTypeProductSection, { productType: product_type })
156
- ] });
157
+ ] }) });
157
158
  };
158
159
  var ProductTypeDetailPage = Object.assign(Root, {
159
160
  GeneralSection: ProductTypeGeneralSection,
@@ -18,6 +18,7 @@ import {
18
18
  // src/pages/shipping-profiles/shipping-profile-detail/shipping-profile-detail.tsx
19
19
  import { Children } from "react";
20
20
  import { useLoaderData, useParams } from "react-router-dom";
21
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
21
22
 
22
23
  // src/pages/shipping-profiles/shipping-profile-detail/components/shipping-profile-general-section/shipping-profile-general-section.tsx
23
24
  import { Trash } from "@medusajs/icons";
@@ -101,7 +102,7 @@ var Root = ({ children }) => {
101
102
  if (isError) {
102
103
  throw error;
103
104
  }
104
- return Children.count(children) > 0 ? /* @__PURE__ */ jsx2(SingleColumnPage, { showMetadata: true, showJSON: true, data: shipping_profile, children }) : /* @__PURE__ */ jsx2(SingleColumnPage, { showMetadata: true, showJSON: true, data: shipping_profile, children: /* @__PURE__ */ jsx2(ShippingProfileGeneralSection, { profile: shipping_profile }) });
105
+ return Children.count(children) > 0 ? /* @__PURE__ */ jsx2(SingleColumnPage, { showMetadata: true, showJSON: true, data: shipping_profile, children }) : /* @__PURE__ */ jsx2(SingleColumnPage, { showMetadata: true, showJSON: true, data: shipping_profile, children: /* @__PURE__ */ jsx2(WidgetZone, { id: "shipping-profiles.detail.main", data: shipping_profile, children: /* @__PURE__ */ jsx2(ShippingProfileGeneralSection, { profile: shipping_profile }) }) });
105
106
  };
106
107
  var ShippingProfileDetailPage = Object.assign(Root, {
107
108
  GeneralSection: ShippingProfileGeneralSection
@@ -16,6 +16,7 @@ import {
16
16
 
17
17
  // src/pages/profile/profile-detail/profile-detail.tsx
18
18
  import { Children } from "react";
19
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
19
20
 
20
21
  // src/pages/profile/profile-detail/components/profile-general-section/profile-general-section.tsx
21
22
  import { PencilSquare } from "@medusajs/icons";
@@ -74,7 +75,7 @@ var Root = ({ children }) => {
74
75
  if (isError) {
75
76
  throw error;
76
77
  }
77
- return Children.count(children) > 0 ? /* @__PURE__ */ jsx2(SingleColumnPage, { "data-testid": "profile-detail-page", children }) : /* @__PURE__ */ jsx2(SingleColumnPage, { "data-testid": "profile-detail-page", children: /* @__PURE__ */ jsx2(ProfileGeneralSection, { user }) });
78
+ return Children.count(children) > 0 ? /* @__PURE__ */ jsx2(SingleColumnPage, { "data-testid": "profile-detail-page", children }) : /* @__PURE__ */ jsx2(SingleColumnPage, { "data-testid": "profile-detail-page", children: /* @__PURE__ */ jsx2(WidgetZone, { id: "profile.detail.main", data: user, children: /* @__PURE__ */ jsx2(ProfileGeneralSection, { user }) }) });
78
79
  };
79
80
  var ProfileDetailPage = Object.assign(Root, {
80
81
  GeneralSection: ProfileGeneralSection
@@ -34,6 +34,7 @@ import {
34
34
  import { Children } from "react";
35
35
  import { ShoppingBag, TruckFast } from "@medusajs/icons";
36
36
  import { Container, Heading } from "@medusajs/ui";
37
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
37
38
  import { useTranslation as useTranslation2 } from "react-i18next";
38
39
 
39
40
  // src/pages/locations/location-list/constants.ts
@@ -339,7 +340,7 @@ var LinksSection = () => {
339
340
  };
340
341
  var Root = ({ children }) => {
341
342
  return Children.count(children) > 0 ? /* @__PURE__ */ jsx3(TwoColumnPage, { showJSON: true, children }) : /* @__PURE__ */ jsxs2(TwoColumnPage, { showJSON: true, children: [
342
- /* @__PURE__ */ jsx3(TwoColumnPage.Main, { children: /* @__PURE__ */ jsx3(LocationListContent, {}) }),
343
+ /* @__PURE__ */ jsx3(TwoColumnPage.Main, { children: /* @__PURE__ */ jsx3(WidgetZone, { id: "locations.list", children: /* @__PURE__ */ jsx3(LocationListContent, {}) }) }),
343
344
  /* @__PURE__ */ jsx3(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx3(LinksSection, {}) })
344
345
  ] });
345
346
  };
@@ -34,6 +34,7 @@ import {
34
34
 
35
35
  // src/pages/api-key-management/api-key-management-list/api-key-management-list.tsx
36
36
  import { Children as Children3 } from "react";
37
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
37
38
 
38
39
  // src/pages/api-key-management/api-key-management-list/components/api-key-management-list-view/api-key-management-list-view.tsx
39
40
  import { Children as Children2 } from "react";
@@ -379,7 +380,7 @@ var Root = ({ children }) => {
379
380
  {
380
381
  hasOutlet: true,
381
382
  "data-testid": "publishable-api-keys-list-page",
382
- children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(ApiKeyManagementListView, {})
383
+ children: /* @__PURE__ */ jsx6(WidgetZone, { id: "api-keys.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(ApiKeyManagementListView, {}) })
383
384
  }
384
385
  );
385
386
  };
@@ -27,6 +27,7 @@ import { PencilSquare, Trash } from "@medusajs/icons";
27
27
  import { Container, Heading, StatusBadge } from "@medusajs/ui";
28
28
  import { useTranslation } from "react-i18next";
29
29
  import { useParams } from "react-router-dom";
30
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
30
31
  import { jsx, jsxs } from "react/jsx-runtime";
31
32
  var ScopeSection = ({ rule }) => {
32
33
  const { t } = useTranslation();
@@ -173,10 +174,10 @@ var CommissionRuleDetail = () => {
173
174
  if (isLoading || !commission_rate) {
174
175
  return null;
175
176
  }
176
- return /* @__PURE__ */ jsxs(SingleColumnPage, { hasOutlet: true, data: commission_rate, children: [
177
+ return /* @__PURE__ */ jsx(SingleColumnPage, { hasOutlet: true, data: commission_rate, children: /* @__PURE__ */ jsxs(WidgetZone, { id: "commissions.detail.main", data: commission_rate, children: [
177
178
  /* @__PURE__ */ jsx(ScopeSection, { rule: commission_rate }),
178
179
  /* @__PURE__ */ jsx(CommissionSection, { rule: commission_rate })
179
- ] });
180
+ ] }) });
180
181
  };
181
182
 
182
183
  export {
@@ -651,6 +651,9 @@ function LocationsSalesChannelsSection({
651
651
  }
652
652
  var locations_sales_channels_section_default = LocationsSalesChannelsSection;
653
653
 
654
+ // src/pages/locations/location-detail/location-detail.tsx
655
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
656
+
654
657
  // src/pages/locations/location-detail/components/location-fulfillment-providers-section/location-fulfillment-providers-section.tsx
655
658
  import { HandTruck, PencilSquare as PencilSquare3 } from "@medusajs/icons";
656
659
  import { Container as Container3, Heading as Heading3 } from "@medusajs/ui";
@@ -749,11 +752,11 @@ var Root = ({ children }) => {
749
752
  hasOutlet: true,
750
753
  "data-testid": "location-detail-page",
751
754
  children: [
752
- /* @__PURE__ */ jsx4(TwoColumnPage.Main, { "data-testid": "location-detail-main", children: /* @__PURE__ */ jsx4(LocationGeneralSection, { location }) }),
753
- /* @__PURE__ */ jsxs4(TwoColumnPage.Sidebar, { "data-testid": "location-detail-sidebar", children: [
755
+ /* @__PURE__ */ jsx4(TwoColumnPage.Main, { "data-testid": "location-detail-main", children: /* @__PURE__ */ jsx4(WidgetZone, { id: "locations.detail.main", data: location, children: /* @__PURE__ */ jsx4(LocationGeneralSection, { location }) }) }),
756
+ /* @__PURE__ */ jsx4(TwoColumnPage.Sidebar, { "data-testid": "location-detail-sidebar", children: /* @__PURE__ */ jsxs4(WidgetZone, { id: "locations.detail.side", data: location, children: [
754
757
  /* @__PURE__ */ jsx4(locations_sales_channels_section_default, { location }),
755
758
  /* @__PURE__ */ jsx4(location_fulfillment_providers_section_default, { location })
756
- ] })
759
+ ] }) })
757
760
  ]
758
761
  }
759
762
  );
@@ -41,6 +41,7 @@ import {
41
41
  // src/pages/marketplace/marketplace-detail/marketplace-detail.tsx
42
42
  import { Children } from "react";
43
43
  import { useLoaderData } from "react-router-dom";
44
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
44
45
 
45
46
  // src/pages/marketplace/marketplace-detail/components/marketplace-currency-section/marketplace-currency-section.tsx
46
47
  import { CheckCircle, Plus, Trash, XCircle } from "@medusajs/icons";
@@ -456,10 +457,10 @@ var Root = ({ children }) => {
456
457
  if (isError) {
457
458
  throw error;
458
459
  }
459
- return Children.count(children) > 0 ? /* @__PURE__ */ jsx3(SingleColumnPage, { data: store, hasOutlet: true, showMetadata: true, showJSON: true, children }) : /* @__PURE__ */ jsxs3(SingleColumnPage, { data: store, hasOutlet: true, showMetadata: true, showJSON: true, children: [
460
+ return Children.count(children) > 0 ? /* @__PURE__ */ jsx3(SingleColumnPage, { data: store, hasOutlet: true, showMetadata: true, showJSON: true, children }) : /* @__PURE__ */ jsx3(SingleColumnPage, { data: store, hasOutlet: true, showMetadata: true, showJSON: true, children: /* @__PURE__ */ jsxs3(WidgetZone, { id: "marketplace.detail.main", data: store, children: [
460
461
  /* @__PURE__ */ jsx3(MarketplaceGeneralSection, { store }),
461
462
  /* @__PURE__ */ jsx3(MarketplaceCurrencySection, { store })
462
- ] });
463
+ ] }) });
463
464
  };
464
465
  var MarketplaceDetailPage = Object.assign(Root, {
465
466
  GeneralSection: MarketplaceGeneralSection,
@@ -33,6 +33,7 @@ import {
33
33
  // src/pages/product-tags/product-tag-detail/product-tag-detail.tsx
34
34
  import { Children } from "react";
35
35
  import { useLoaderData, useParams } from "react-router-dom";
36
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
36
37
 
37
38
  // src/pages/product-tags/product-tag-detail/components/product-tag-general-section/product-tag-general-section.tsx
38
39
  import { PencilSquare, Trash } from "@medusajs/icons";
@@ -155,10 +156,10 @@ var Root = ({ children }) => {
155
156
  if (isError) {
156
157
  throw error;
157
158
  }
158
- return Children.count(children) > 0 ? /* @__PURE__ */ jsx3(SingleColumnPage, { showJSON: true, showMetadata: true, data: product_tag, children }) : /* @__PURE__ */ jsxs3(SingleColumnPage, { showJSON: true, showMetadata: true, data: product_tag, children: [
159
+ return Children.count(children) > 0 ? /* @__PURE__ */ jsx3(SingleColumnPage, { showJSON: true, showMetadata: true, data: product_tag, children }) : /* @__PURE__ */ jsx3(SingleColumnPage, { showJSON: true, showMetadata: true, data: product_tag, children: /* @__PURE__ */ jsxs3(WidgetZone, { id: "product-tags.detail.main", data: product_tag, children: [
159
160
  /* @__PURE__ */ jsx3(ProductTagGeneralSection, { productTag: product_tag }),
160
161
  /* @__PURE__ */ jsx3(ProductTagProductSection, { productTag: product_tag })
161
- ] });
162
+ ] }) });
162
163
  };
163
164
  var ProductTagDetailPage = Object.assign(Root, {
164
165
  GeneralSection: ProductTagGeneralSection,
@@ -21,6 +21,7 @@ import {
21
21
 
22
22
  // src/pages/return-reasons/return-reason-list/return-reason-list.tsx
23
23
  import { Children } from "react";
24
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
24
25
 
25
26
  // src/pages/return-reasons/return-reason-list/components/return-reason-list-table/return-reason-list-table.tsx
26
27
  import { PencilSquare, Trash } from "@medusajs/icons";
@@ -165,7 +166,7 @@ var useColumns = () => {
165
166
  // src/pages/return-reasons/return-reason-list/return-reason-list.tsx
166
167
  import { jsx as jsx2 } from "react/jsx-runtime";
167
168
  var Root = ({ children }) => {
168
- return /* @__PURE__ */ jsx2(SingleColumnPage, { showMetadata: false, showJSON: false, hasOutlet: true, children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx2(ReturnReasonListTable, {}) });
169
+ return /* @__PURE__ */ jsx2(SingleColumnPage, { showMetadata: false, showJSON: false, hasOutlet: true, children: /* @__PURE__ */ jsx2(WidgetZone, { id: "return-reasons.list", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx2(ReturnReasonListTable, {}) }) });
169
170
  };
170
171
  var ReturnReasonList = Object.assign(Root, {
171
172
  Table: ReturnReasonListTable
@@ -24,6 +24,7 @@ import {
24
24
 
25
25
  // src/pages/regions/region-list/region-list.tsx
26
26
  import { Children as Children3 } from "react";
27
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
27
28
 
28
29
  // src/pages/regions/region-list/components/region-list-view/region-list-view.tsx
29
30
  import { Children as Children2 } from "react";
@@ -230,7 +231,7 @@ var RegionListView = ({
230
231
  // src/pages/regions/region-list/region-list.tsx
231
232
  import { jsx as jsx4 } from "react/jsx-runtime";
232
233
  var Root = ({ children }) => {
233
- return /* @__PURE__ */ jsx4(SingleColumnPage, { children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(RegionListView, {}) });
234
+ return /* @__PURE__ */ jsx4(SingleColumnPage, { children: /* @__PURE__ */ jsx4(WidgetZone, { id: "regions.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(RegionListView, {}) }) });
234
235
  };
235
236
  var RegionListPage = Object.assign(Root, {
236
237
  Table: RegionListView,
@@ -17,6 +17,7 @@ import {
17
17
  // src/pages/shipping-option-types/shipping-option-type-detail/shipping-option-type-detail.tsx
18
18
  import { Children } from "react";
19
19
  import { useLoaderData, useParams } from "react-router-dom";
20
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
20
21
 
21
22
  // src/pages/shipping-option-types/shipping-option-type-detail/components/shipping-option-type-general-section/shipping-option-type-general-section.tsx
22
23
  import { PencilSquare, Trash } from "@medusajs/icons";
@@ -86,12 +87,12 @@ var Root = ({ children }) => {
86
87
  if (isError) {
87
88
  throw error;
88
89
  }
89
- return Children.count(children) > 0 ? /* @__PURE__ */ jsx2(SingleColumnPage, { showJSON: true, showMetadata: true, data: shipping_option_type, children }) : /* @__PURE__ */ jsx2(SingleColumnPage, { showJSON: true, showMetadata: true, data: shipping_option_type, children: /* @__PURE__ */ jsx2(
90
+ return Children.count(children) > 0 ? /* @__PURE__ */ jsx2(SingleColumnPage, { showJSON: true, showMetadata: true, data: shipping_option_type, children }) : /* @__PURE__ */ jsx2(SingleColumnPage, { showJSON: true, showMetadata: true, data: shipping_option_type, children: /* @__PURE__ */ jsx2(WidgetZone, { id: "shipping-option-types.detail.main", data: shipping_option_type, children: /* @__PURE__ */ jsx2(
90
91
  ShippingOptionTypeGeneralSection,
91
92
  {
92
93
  shippingOptionType: shipping_option_type
93
94
  }
94
- ) });
95
+ ) }) });
95
96
  };
96
97
  var ShippingOptionTypeDetailPage = Object.assign(Root, {
97
98
  GeneralSection: ShippingOptionTypeGeneralSection
@@ -26,6 +26,7 @@ import {
26
26
 
27
27
  // src/pages/product-tags/product-tag-list/product-tag-list.tsx
28
28
  import { Children as Children3 } from "react";
29
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
29
30
 
30
31
  // src/pages/product-tags/product-tag-list/components/product-tag-list-view/product-tag-list-view.tsx
31
32
  import { Children as Children2 } from "react";
@@ -189,7 +190,7 @@ var ProductTagListView = ({
189
190
  // src/pages/product-tags/product-tag-list/product-tag-list.tsx
190
191
  import { jsx as jsx4 } from "react/jsx-runtime";
191
192
  var Root = ({ children }) => {
192
- return /* @__PURE__ */ jsx4(SingleColumnPage, { showMetadata: false, showJSON: false, hasOutlet: true, children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(ProductTagListView, {}) });
193
+ return /* @__PURE__ */ jsx4(SingleColumnPage, { showMetadata: false, showJSON: false, hasOutlet: true, children: /* @__PURE__ */ jsx4(WidgetZone, { id: "product-tags.list", children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx4(ProductTagListView, {}) }) });
193
194
  };
194
195
  var ProductTagListPage = Object.assign(Root, {
195
196
  Table: ProductTagListView,
@@ -18,6 +18,7 @@ import {
18
18
  // src/pages/product-variants/product-variant-detail/product-variant-detail.tsx
19
19
  import { Children } from "react";
20
20
  import { useLoaderData, useParams } from "react-router-dom";
21
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
21
22
 
22
23
  // src/pages/product-variants/product-variant-detail/components/variant-general-section/variant-general-section.tsx
23
24
  import { PencilSquare, Trash } from "@medusajs/icons";
@@ -127,8 +128,8 @@ var Root = ({ children }) => {
127
128
  throw error;
128
129
  }
129
130
  return Children.count(children) > 0 ? /* @__PURE__ */ jsx2(TwoColumnPage, { data: variant, showJSON: true, showMetadata: true, hasOutlet: true, children }) : /* @__PURE__ */ jsxs2(TwoColumnPage, { data: variant, showJSON: true, showMetadata: true, hasOutlet: true, children: [
130
- /* @__PURE__ */ jsx2(TwoColumnPage.Main, { children: /* @__PURE__ */ jsx2(VariantGeneralSection, { variant }) }),
131
- /* @__PURE__ */ jsx2(TwoColumnPage.Sidebar, { children: null })
131
+ /* @__PURE__ */ jsx2(TwoColumnPage.Main, { children: /* @__PURE__ */ jsx2(WidgetZone, { id: "product-variants.detail.main", data: variant, children: /* @__PURE__ */ jsx2(VariantGeneralSection, { variant }) }) }),
132
+ /* @__PURE__ */ jsx2(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx2(WidgetZone, { id: "product-variants.detail.side", data: variant, children: null }) })
132
133
  ] });
133
134
  };
134
135
  var ProductVariantDetailPage = Object.assign(Root, {
@@ -25,6 +25,7 @@ import {
25
25
  // src/pages/tax-regions/tax-region-province-detail/tax-region-detail.tsx
26
26
  import { Children } from "react";
27
27
  import { useLoaderData, useParams } from "react-router-dom";
28
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
28
29
 
29
30
  // src/pages/tax-regions/tax-region-province-detail/components/tax-region-province-detail-section/tax-region-detail-section.tsx
30
31
  import { Badge, Container, Tooltip } from "@medusajs/ui";
@@ -120,10 +121,10 @@ var Root = ({ children }) => {
120
121
  if (isError) {
121
122
  throw error;
122
123
  }
123
- return Children.count(children) > 0 ? /* @__PURE__ */ jsx3(SingleColumnPage, { data: taxRegion, showJSON: true, children }) : /* @__PURE__ */ jsxs2(SingleColumnPage, { data: taxRegion, showJSON: true, children: [
124
+ return Children.count(children) > 0 ? /* @__PURE__ */ jsx3(SingleColumnPage, { data: taxRegion, showJSON: true, children }) : /* @__PURE__ */ jsx3(SingleColumnPage, { data: taxRegion, showJSON: true, children: /* @__PURE__ */ jsxs2(WidgetZone, { id: "tax-regions.province.detail.main", data: taxRegion, children: [
124
125
  /* @__PURE__ */ jsx3(TaxRegionProvinceDetailSection, { taxRegion }),
125
126
  /* @__PURE__ */ jsx3(TaxRegionProvinceOverrideSection, { taxRegion })
126
- ] });
127
+ ] }) });
127
128
  };
128
129
  var TaxRegionProvinceDetailPage = Object.assign(Root, {
129
130
  DetailSection: TaxRegionProvinceDetailSection,
@@ -32,6 +32,7 @@ import {
32
32
  // src/pages/sales-channels/sales-channel-detail/sales-channel-detail.tsx
33
33
  import { Children } from "react";
34
34
  import { useLoaderData, useParams } from "react-router-dom";
35
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
35
36
 
36
37
  // src/pages/sales-channels/sales-channel-detail/components/sales-channel-general-section/sales-channel-general-section.tsx
37
38
  import { PencilSquare, Trash } from "@medusajs/icons";
@@ -345,10 +346,10 @@ var Root = ({ children }) => {
345
346
  if (isLoading || !sales_channel) {
346
347
  return /* @__PURE__ */ jsx3(SingleColumnPageSkeleton, { sections: 2, showJSON: true, showMetadata: true });
347
348
  }
348
- return Children.count(children) > 0 ? /* @__PURE__ */ jsx3(SingleColumnPage, { showJSON: true, showMetadata: true, data: sales_channel, children }) : /* @__PURE__ */ jsxs3(SingleColumnPage, { showJSON: true, showMetadata: true, data: sales_channel, children: [
349
+ return Children.count(children) > 0 ? /* @__PURE__ */ jsx3(SingleColumnPage, { showJSON: true, showMetadata: true, data: sales_channel, children }) : /* @__PURE__ */ jsx3(SingleColumnPage, { showJSON: true, showMetadata: true, data: sales_channel, children: /* @__PURE__ */ jsxs3(WidgetZone, { id: "sales-channels.detail.main", data: sales_channel, children: [
349
350
  /* @__PURE__ */ jsx3(SalesChannelGeneralSection, { salesChannel: sales_channel }),
350
351
  /* @__PURE__ */ jsx3(SalesChannelProductSection, { salesChannel: sales_channel })
351
- ] });
352
+ ] }) });
352
353
  };
353
354
  var SalesChannelDetailPage = Object.assign(Root, {
354
355
  GeneralSection: SalesChannelGeneralSection,