@mercurjs/vendor 2.2.0-canary.39 → 2.2.0-canary.41

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 (125) hide show
  1. package/dist/{[id]-XLUKGPLL.js → [id]-5OOWGWHL.js} +52 -17
  2. package/dist/{[id]-J5UPTFQM.js → [id]-5RQ7NFL7.js} +102 -27
  3. package/dist/{[id]-5P5LTATX.js → [id]-ARHFE7ID.js} +28 -10
  4. package/dist/{[id]-DVFWG6XZ.js → [id]-BGOV2BKI.js} +124 -30
  5. package/dist/{[id]-TGP6MMMJ.js → [id]-KUVSIFMW.js} +6 -6
  6. package/dist/{[id]-3PB4ZW3D.js → [id]-LFYUX6ON.js} +41 -19
  7. package/dist/{[id]-KSROQUIC.js → [id]-M6DVHCGK.js} +32 -15
  8. package/dist/{[id]-OG4D44M4.js → [id]-MFEOWOHY.js} +246 -156
  9. package/dist/{[id]-Q5C2MVHS.js → [id]-TF35KIFE.js} +123 -41
  10. package/dist/{[id]-O22LRQBI.js → [id]-WG6ZEK3I.js} +62 -25
  11. package/dist/{[id]-ESWNTTKU.js → [id]-YDR5VTPB.js} +6 -6
  12. package/dist/{[id]-ISKSMHND.js → [id]-ZV36X6E6.js} +52 -17
  13. package/dist/{add-C3MXH64T.js → add-PUXNN6CE.js} +15 -12
  14. package/dist/{add-JWIJVAMY.js → add-TCNRAUZF.js} +2 -2
  15. package/dist/{add-customer-groups-IPYD62GM.js → add-customer-groups-FB5T6PQN.js} +1 -1
  16. package/dist/{add-products-PEG6AWCO.js → add-products-DGJ6LFWC.js} +6 -6
  17. package/dist/{add-promotions-EGJYH3N6.js → add-promotions-TJDK7HLW.js} +4 -4
  18. package/dist/{areas-KGUPDMWG.js → areas-IYGBRCRH.js} +2 -2
  19. package/dist/{campaigns-BQBUZDPP.js → campaigns-OVHA6HH2.js} +2 -2
  20. package/dist/{categories-WKSXPHX6.js → categories-XVD4SWIS.js} +2 -2
  21. package/dist/{chunk-442JMKOJ.js → chunk-2K3RNFEC.js} +2 -2
  22. package/dist/{chunk-LRGMWXWW.js → chunk-3EF326ZJ.js} +16 -5
  23. package/dist/{chunk-6YE7WQLK.js → chunk-3F4MUPGR.js} +1 -1
  24. package/dist/{chunk-UFJQ7D4A.js → chunk-3N3K55NN.js} +34 -13
  25. package/dist/{chunk-XJSF7HIV.js → chunk-4TGDYJMA.js} +19 -8
  26. package/dist/{chunk-3ALBZK4M.js → chunk-4YM7N6OQ.js} +4 -1
  27. package/dist/{chunk-WADTVVSQ.js → chunk-5CHFC47S.js} +42 -11
  28. package/dist/{chunk-BAVE4NRL.js → chunk-7HLAOLG7.js} +1 -1
  29. package/dist/{chunk-X3ZH4SMS.js → chunk-BUQXFADV.js} +27 -6
  30. package/dist/{chunk-EGEC3BY2.js → chunk-CSZ6RV7N.js} +13 -6
  31. package/dist/{chunk-JAKAZ3ZY.js → chunk-D76WZZSB.js} +1 -1
  32. package/dist/{chunk-2UPEWY5I.js → chunk-E5BSLZR5.js} +10 -4
  33. package/dist/{chunk-FRYZRBLA.js → chunk-INYLPVCG.js} +2 -2
  34. package/dist/{chunk-MI7PXP7H.js → chunk-JY2XON7H.js} +1 -1
  35. package/dist/{chunk-2QEFRSKJ.js → chunk-KZQFIPY2.js} +37 -3
  36. package/dist/{chunk-CAE5333U.js → chunk-MAW6ZT3D.js} +1 -1
  37. package/dist/{chunk-H6LZ77GX.js → chunk-QGZH3D2P.js} +4 -1
  38. package/dist/{chunk-ZG6T4LG6.js → chunk-T7OX3EOG.js} +58 -29
  39. package/dist/{chunk-MUGQQY6P.js → chunk-TB3B7NEX.js} +48 -10
  40. package/dist/{chunk-EIEPLZ7H.js → chunk-TJKZ5QCJ.js} +1 -1
  41. package/dist/{chunk-BNR46M4J.js → chunk-TPGIMZLI.js} +1 -1
  42. package/dist/{chunk-KSVCLDMO.js → chunk-TRUC5GIG.js} +15 -4
  43. package/dist/{chunk-MGV65SKV.js → chunk-UEJJFJVX.js} +15 -5
  44. package/dist/{chunk-YMICE6QS.js → chunk-UWZVAW6K.js} +5 -3
  45. package/dist/{chunk-Q4W6OMSR.js → chunk-VD27SL7H.js} +1 -1
  46. package/dist/{chunk-NMPZRRHM.js → chunk-VMHLOWKL.js} +16 -6
  47. package/dist/{chunk-YZBEJ3CY.js → chunk-VYSB4CTB.js} +1500 -1370
  48. package/dist/{chunk-XRLRKSND.js → chunk-W3UHAQCV.js} +3 -2
  49. package/dist/{chunk-Q57UH7FE.js → chunk-WQQMCV7M.js} +1 -1
  50. package/dist/{chunk-IGVP55PK.js → chunk-WTYASKLY.js} +4 -4
  51. package/dist/{chunk-EAK75O26.js → chunk-Y4PM3IDZ.js} +1 -1
  52. package/dist/{chunk-2434FG47.js → chunk-YD43PVVT.js} +15 -4
  53. package/dist/{chunk-5KCDUBPF.js → chunk-ZOJP2DHA.js} +1 -1
  54. package/dist/{chunk-Y3WDFB7J.js → chunk-ZZUJHLFM.js} +1 -1
  55. package/dist/{collections-3N6NHNO3.js → collections-PRMRAQSQ.js} +5 -5
  56. package/dist/{create-2YMKREP2.js → create-2RGNAVVY.js} +1 -1
  57. package/dist/{create-RA6NUBNO.js → create-5S3GWAUX.js} +2 -2
  58. package/dist/{create-Q7PD6MKG.js → create-EAIGKLSC.js} +1 -1
  59. package/dist/{create-52MHLRAU.js → create-HEZYB7RF.js} +1 -1
  60. package/dist/{create-6JFEKPWB.js → create-KM5HXMYT.js} +7 -7
  61. package/dist/{create-XIZQBWH5.js → create-N534JQPH.js} +2 -2
  62. package/dist/{create-3NGK5I6L.js → create-NEK6JCKR.js} +1 -1
  63. package/dist/{create-FPIFC5TE.js → create-QU45XB4S.js} +12 -8
  64. package/dist/{create-QO72DNYF.js → create-QZDRRIB6.js} +5 -5
  65. package/dist/{create-OQX3EUET.js → create-RPBHXU32.js} +1 -1
  66. package/dist/{create-QMEQGDUS.js → create-VL7LDTVE.js} +1 -1
  67. package/dist/{customer-group-add-customers-3C2XPMSD.js → customer-group-add-customers-2C53NFBJ.js} +1 -1
  68. package/dist/{customer-group-detail-LUVO4MX6.js → customer-group-detail-3UR5AUY3.js} +2 -2
  69. package/dist/{customer-group-edit-N77RCW6I.js → customer-group-edit-WMGWG2OH.js} +40 -25
  70. package/dist/{customer-groups-FO6XVXFI.js → customer-groups-2T2HEYQ6.js} +25 -8
  71. package/dist/{customers-OQP7WC2G.js → customers-NVTX4FK2.js} +2 -2
  72. package/dist/{edit-ZNFDORB5.js → edit-4PMUQMTL.js} +2 -2
  73. package/dist/{edit-2BJHCU5E.js → edit-4PWAJ7A3.js} +1 -1
  74. package/dist/{edit-OZFW3BBS.js → edit-GE2UOMBI.js} +7 -7
  75. package/dist/{edit-UNN3QTEJ.js → edit-HK6HAYZW.js} +18 -5
  76. package/dist/{edit-T4IFCD3F.js → edit-IRH2IGXB.js} +3 -3
  77. package/dist/{edit-IJ6DCBUU.js → edit-JDYB3U7H.js} +21 -7
  78. package/dist/{edit-7SBPHN6P.js → edit-KEUVWNLU.js} +18 -5
  79. package/dist/{edit-WO4A636W.js → edit-NHQJLCAK.js} +1 -1
  80. package/dist/{edit-YCM5FRGL.js → edit-NR3WDBFF.js} +29 -13
  81. package/dist/{edit-XBOZLGI2.js → edit-TD7QFM4Z.js} +1 -1
  82. package/dist/{edit-TBT3QGGW.js → edit-WEUFBORT.js} +4 -5
  83. package/dist/{edit-ZJKNYVCO.js → edit-ZGAOUZYP.js} +4 -5
  84. package/dist/{edit-inventory-item-QMYWEBZ3.js → edit-inventory-item-UKBKVTYI.js} +18 -5
  85. package/dist/extension-targets.d.ts +206 -0
  86. package/dist/extension-targets.js +1 -0
  87. package/dist/{fulfillment-providers-XWFKXOUX.js → fulfillment-providers-SJRXA3EC.js} +3 -3
  88. package/dist/index.d.ts +2 -0
  89. package/dist/index.js +155 -128
  90. package/dist/{inventory-ZGGENULY.js → inventory-MFA4C6TO.js} +2 -2
  91. package/dist/{invite-AXTW6P6L.js → invite-WTFQ6UV2.js} +3 -3
  92. package/dist/{login-YUWOWICV.js → login-2CQ6RYIE.js} +1 -1
  93. package/dist/{media-JVYMNE2Z.js → media-QIWRWMSV.js} +4 -4
  94. package/dist/{media-3ZLEAL6U.js → media-XFZNEQCY.js} +1 -1
  95. package/dist/{metadata-K6WS5S5Z.js → metadata-5Q6FLVX4.js} +1 -1
  96. package/dist/{metadata-NRYGXCD3.js → metadata-6OYHLPLA.js} +1 -1
  97. package/dist/{metadata-GTSYILV2.js → metadata-ADXGD4Y6.js} +1 -1
  98. package/dist/{metadata-O7TWMZNX.js → metadata-J447GEBP.js} +1 -1
  99. package/dist/{metadata-4LYZ5AJ2.js → metadata-VTQ2CGZX.js} +1 -1
  100. package/dist/{offer-create-page-PHG2PDUQ.js → offer-create-page-JP5Z2CAG.js} +18 -10
  101. package/dist/{offer-detail-page-RN4WECNF.js → offer-detail-page-FF7SJX7E.js} +70 -16
  102. package/dist/{offer-variant-detail-page-YQXETIWY.js → offer-variant-detail-page-KURNVWYU.js} +13 -5
  103. package/dist/{offers-4A6TNOBW.js → offers-XDLT2AEJ.js} +5 -5
  104. package/dist/{onboarding-TUGXFOA6.js → onboarding-BXFZZHIW.js} +31 -16
  105. package/dist/{orders-2RXDIAWC.js → orders-ML36IAEE.js} +4 -4
  106. package/dist/{organization-TBNIRH7N.js → organization-2BZGUGLM.js} +1 -1
  107. package/dist/pages/index.d.ts +81 -66
  108. package/dist/pages/index.js +31 -29
  109. package/dist/{payouts-TRFBXEDP.js → payouts-WFLYAMEU.js} +2 -2
  110. package/dist/{price-lists-2TEBUG7S.js → price-lists-PG33QKVZ.js} +2 -2
  111. package/dist/{product-tags-CSM2HUMF.js → product-tags-WBERDKIH.js} +7 -7
  112. package/dist/{product-types-CQ7OCF42.js → product-types-4PTJW5DE.js} +2 -2
  113. package/dist/{product-variant-edit-3CVSKGZ6.js → product-variant-edit-TUIVXPXO.js} +2 -2
  114. package/dist/{products-OE6AYPFI.js → products-CZMAHOE3.js} +6 -6
  115. package/dist/{products-I7XBRIVQ.js → products-ZFB35IHK.js} +15 -13
  116. package/dist/{promotions-CYAMHAJQ.js → promotions-APUOIWRR.js} +5 -5
  117. package/dist/{register-376SEOMZ.js → register-MQDAUF64.js} +2 -2
  118. package/dist/{reset-password-46WJA4HT.js → reset-password-SKUJJLSV.js} +1 -1
  119. package/dist/{return-reasons-2F2U6NEY.js → return-reasons-ZX7KIFTS.js} +5 -5
  120. package/dist/{settings-U7CM7PNQ.js → settings-AYPJWXFO.js} +9 -9
  121. package/dist/{shipping-profiles-HZFZ4HEU.js → shipping-profiles-4TJ4IH6U.js} +2 -2
  122. package/dist/{store-FQD3OYBF.js → store-FK643K5M.js} +52 -25
  123. package/dist/{store-select-S55SW3BP.js → store-select-IWYWXESC.js} +20 -2
  124. package/dist/{team-GHRVM6RK.js → team-DZHLNPCO.js} +3 -3
  125. package/package.json +23 -18
@@ -134,12 +134,14 @@ var loader = async ({ params }) => {
134
134
  // src/pages/orders/[id]/order-detail-page.tsx
135
135
  import { Children } from "react";
136
136
  import { useLoaderData, useParams } from "react-router-dom";
137
+ import { WidgetZone } from "@mercurjs/dashboard-shared";
137
138
 
138
139
  // src/pages/orders/[id]/_components/active-order-claim-section/active-order-claim-section.tsx
139
140
  import { ExclamationCircle } from "@medusajs/icons";
140
141
  import { Button, Container, Heading, Text, toast } from "@medusajs/ui";
141
142
  import { useNavigate } from "react-router-dom";
142
143
  import { useTranslation } from "react-i18next";
144
+ import { DisplayExtensionZone } from "@mercurjs/dashboard-shared";
143
145
  import { jsx, jsxs } from "react/jsx-runtime";
144
146
  var readClaimId = (change) => {
145
147
  if (change && typeof change === "object" && "claim_id" in change && typeof change.claim_id === "string") {
@@ -181,37 +183,47 @@ var ActiveOrderClaimSection = ({
181
183
  },
182
184
  className: "-m-4 mb-1 border-b border-l p-4",
183
185
  "data-testid": "active-order-claim-section",
184
- children: /* @__PURE__ */ jsx(Container, { className: "flex items-center justify-between p-0", children: /* @__PURE__ */ jsxs("div", { className: "flex w-full flex-row justify-between", children: [
185
- /* @__PURE__ */ jsxs("div", { children: [
186
- /* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center gap-2 px-6 pt-4", children: [
187
- /* @__PURE__ */ jsx(ExclamationCircle, { className: "text-ui-fg-subtle" }),
188
- /* @__PURE__ */ jsx(Heading, { level: "h2", children: t("orders.claims.panel.title") })
186
+ children: /* @__PURE__ */ jsxs(Container, { className: "flex items-center justify-between p-0", children: [
187
+ /* @__PURE__ */ jsxs("div", { className: "flex w-full flex-row justify-between", children: [
188
+ /* @__PURE__ */ jsxs("div", { children: [
189
+ /* @__PURE__ */ jsxs("div", { className: "mb-2 flex items-center gap-2 px-6 pt-4", children: [
190
+ /* @__PURE__ */ jsx(ExclamationCircle, { className: "text-ui-fg-subtle" }),
191
+ /* @__PURE__ */ jsx(Heading, { level: "h2", children: t("orders.claims.panel.title") })
192
+ ] }),
193
+ /* @__PURE__ */ jsx("div", { className: "gap-2 px-6 pb-4", children: /* @__PURE__ */ jsx(Text, { children: t("orders.claims.panel.description") }) })
189
194
  ] }),
190
- /* @__PURE__ */ jsx("div", { className: "gap-2 px-6 pb-4", children: /* @__PURE__ */ jsx(Text, { children: t("orders.claims.panel.description") }) })
195
+ /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-end gap-x-2 rounded-b-xl px-4 py-4", children: [
196
+ /* @__PURE__ */ jsx(
197
+ Button,
198
+ {
199
+ size: "small",
200
+ variant: "secondary",
201
+ onClick: onCancelClaim,
202
+ "data-testid": "active-order-claim-cancel",
203
+ children: t("orders.claims.cancel.title")
204
+ }
205
+ ),
206
+ /* @__PURE__ */ jsx(
207
+ Button,
208
+ {
209
+ size: "small",
210
+ variant: "secondary",
211
+ onClick: onContinueClaim,
212
+ "data-testid": "active-order-claim-continue",
213
+ children: t("actions.continue")
214
+ }
215
+ )
216
+ ] })
191
217
  ] }),
192
- /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-end gap-x-2 rounded-b-xl px-4 py-4", children: [
193
- /* @__PURE__ */ jsx(
194
- Button,
195
- {
196
- size: "small",
197
- variant: "secondary",
198
- onClick: onCancelClaim,
199
- "data-testid": "active-order-claim-cancel",
200
- children: t("orders.claims.cancel.title")
201
- }
202
- ),
203
- /* @__PURE__ */ jsx(
204
- Button,
205
- {
206
- size: "small",
207
- variant: "secondary",
208
- onClick: onContinueClaim,
209
- "data-testid": "active-order-claim-continue",
210
- children: t("actions.continue")
211
- }
212
- )
213
- ] })
214
- ] }) })
218
+ /* @__PURE__ */ jsx(
219
+ DisplayExtensionZone,
220
+ {
221
+ model: "order",
222
+ zone: "active-claim",
223
+ data: orderPreview
224
+ }
225
+ )
226
+ ] })
215
227
  }
216
228
  );
217
229
  };
@@ -221,6 +233,7 @@ import { ArrowPath } from "@medusajs/icons";
221
233
  import { Button as Button2, Container as Container2, Heading as Heading2, Text as Text2, toast as toast2 } from "@medusajs/ui";
222
234
  import { useNavigate as useNavigate2 } from "react-router-dom";
223
235
  import { useTranslation as useTranslation2 } from "react-i18next";
236
+ import { DisplayExtensionZone as DisplayExtensionZone2 } from "@mercurjs/dashboard-shared";
224
237
  import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
225
238
  var readExchangeId = (change) => {
226
239
  if (change && typeof change === "object" && "exchange_id" in change && typeof change.exchange_id === "string") {
@@ -262,37 +275,47 @@ var ActiveOrderExchangeSection = ({
262
275
  },
263
276
  className: "-m-4 mb-1 border-b border-l p-4",
264
277
  "data-testid": "active-order-exchange-section",
265
- children: /* @__PURE__ */ jsx2(Container2, { className: "flex items-center justify-between p-0", children: /* @__PURE__ */ jsxs2("div", { className: "flex w-full flex-row justify-between", children: [
266
- /* @__PURE__ */ jsxs2("div", { children: [
267
- /* @__PURE__ */ jsxs2("div", { className: "mb-2 flex items-center gap-2 px-6 pt-4", children: [
268
- /* @__PURE__ */ jsx2(ArrowPath, { className: "text-ui-fg-subtle" }),
269
- /* @__PURE__ */ jsx2(Heading2, { level: "h2", children: t("orders.exchanges.panel.title") })
278
+ children: /* @__PURE__ */ jsxs2(Container2, { className: "flex items-center justify-between p-0", children: [
279
+ /* @__PURE__ */ jsxs2("div", { className: "flex w-full flex-row justify-between", children: [
280
+ /* @__PURE__ */ jsxs2("div", { children: [
281
+ /* @__PURE__ */ jsxs2("div", { className: "mb-2 flex items-center gap-2 px-6 pt-4", children: [
282
+ /* @__PURE__ */ jsx2(ArrowPath, { className: "text-ui-fg-subtle" }),
283
+ /* @__PURE__ */ jsx2(Heading2, { level: "h2", children: t("orders.exchanges.panel.title") })
284
+ ] }),
285
+ /* @__PURE__ */ jsx2("div", { className: "gap-2 px-6 pb-4", children: /* @__PURE__ */ jsx2(Text2, { children: t("orders.exchanges.panel.description") }) })
270
286
  ] }),
271
- /* @__PURE__ */ jsx2("div", { className: "gap-2 px-6 pb-4", children: /* @__PURE__ */ jsx2(Text2, { children: t("orders.exchanges.panel.description") }) })
287
+ /* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-end gap-x-2 rounded-b-xl px-4 py-4", children: [
288
+ /* @__PURE__ */ jsx2(
289
+ Button2,
290
+ {
291
+ size: "small",
292
+ variant: "secondary",
293
+ onClick: onCancelExchange,
294
+ "data-testid": "active-order-exchange-cancel",
295
+ children: t("orders.exchanges.cancel.title")
296
+ }
297
+ ),
298
+ /* @__PURE__ */ jsx2(
299
+ Button2,
300
+ {
301
+ size: "small",
302
+ variant: "secondary",
303
+ onClick: onContinueExchange,
304
+ "data-testid": "active-order-exchange-continue",
305
+ children: t("actions.continue")
306
+ }
307
+ )
308
+ ] })
272
309
  ] }),
273
- /* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-end gap-x-2 rounded-b-xl px-4 py-4", children: [
274
- /* @__PURE__ */ jsx2(
275
- Button2,
276
- {
277
- size: "small",
278
- variant: "secondary",
279
- onClick: onCancelExchange,
280
- "data-testid": "active-order-exchange-cancel",
281
- children: t("orders.exchanges.cancel.title")
282
- }
283
- ),
284
- /* @__PURE__ */ jsx2(
285
- Button2,
286
- {
287
- size: "small",
288
- variant: "secondary",
289
- onClick: onContinueExchange,
290
- "data-testid": "active-order-exchange-continue",
291
- children: t("actions.continue")
292
- }
293
- )
294
- ] })
295
- ] }) })
310
+ /* @__PURE__ */ jsx2(
311
+ DisplayExtensionZone2,
312
+ {
313
+ model: "order",
314
+ zone: "active-exchange",
315
+ data: orderPreview
316
+ }
317
+ )
318
+ ] })
296
319
  }
297
320
  );
298
321
  };
@@ -302,6 +325,7 @@ import { ArrowUturnLeft } from "@medusajs/icons";
302
325
  import { Button as Button3, Container as Container3, Heading as Heading3, Text as Text3, toast as toast3 } from "@medusajs/ui";
303
326
  import { useNavigate as useNavigate3 } from "react-router-dom";
304
327
  import { useTranslation as useTranslation3 } from "react-i18next";
328
+ import { DisplayExtensionZone as DisplayExtensionZone3 } from "@mercurjs/dashboard-shared";
305
329
  import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
306
330
  var readReturnId = (change) => {
307
331
  if (change && typeof change === "object" && "return_id" in change && typeof change.return_id === "string") {
@@ -345,37 +369,47 @@ var ActiveOrderReturnSection = ({
345
369
  },
346
370
  className: "-m-4 mb-1 border-b border-l p-4",
347
371
  "data-testid": "active-order-return-section",
348
- children: /* @__PURE__ */ jsx3(Container3, { className: "flex items-center justify-between p-0", children: /* @__PURE__ */ jsxs3("div", { className: "flex w-full flex-row justify-between", children: [
349
- /* @__PURE__ */ jsxs3("div", { children: [
350
- /* @__PURE__ */ jsxs3("div", { className: "mb-2 flex items-center gap-2 px-6 pt-4", children: [
351
- /* @__PURE__ */ jsx3(ArrowUturnLeft, { className: "text-ui-fg-subtle" }),
352
- /* @__PURE__ */ jsx3(Heading3, { level: "h2", children: t("orders.returns.panel.title") })
372
+ children: /* @__PURE__ */ jsxs3(Container3, { className: "flex items-center justify-between p-0", children: [
373
+ /* @__PURE__ */ jsxs3("div", { className: "flex w-full flex-row justify-between", children: [
374
+ /* @__PURE__ */ jsxs3("div", { children: [
375
+ /* @__PURE__ */ jsxs3("div", { className: "mb-2 flex items-center gap-2 px-6 pt-4", children: [
376
+ /* @__PURE__ */ jsx3(ArrowUturnLeft, { className: "text-ui-fg-subtle" }),
377
+ /* @__PURE__ */ jsx3(Heading3, { level: "h2", children: t("orders.returns.panel.title") })
378
+ ] }),
379
+ /* @__PURE__ */ jsx3("div", { className: "gap-2 px-6 pb-4", children: /* @__PURE__ */ jsx3(Text3, { children: t("orders.returns.panel.description") }) })
353
380
  ] }),
354
- /* @__PURE__ */ jsx3("div", { className: "gap-2 px-6 pb-4", children: /* @__PURE__ */ jsx3(Text3, { children: t("orders.returns.panel.description") }) })
381
+ /* @__PURE__ */ jsxs3("div", { className: "flex items-center justify-end gap-x-2 rounded-b-xl px-4 py-4", children: [
382
+ /* @__PURE__ */ jsx3(
383
+ Button3,
384
+ {
385
+ size: "small",
386
+ variant: "secondary",
387
+ onClick: onCancelReturn,
388
+ "data-testid": "active-order-return-cancel",
389
+ children: t("orders.returns.cancel.title")
390
+ }
391
+ ),
392
+ /* @__PURE__ */ jsx3(
393
+ Button3,
394
+ {
395
+ size: "small",
396
+ variant: "secondary",
397
+ onClick: onContinueReturn,
398
+ "data-testid": "active-order-return-continue",
399
+ children: t("actions.continue")
400
+ }
401
+ )
402
+ ] })
355
403
  ] }),
356
- /* @__PURE__ */ jsxs3("div", { className: "flex items-center justify-end gap-x-2 rounded-b-xl px-4 py-4", children: [
357
- /* @__PURE__ */ jsx3(
358
- Button3,
359
- {
360
- size: "small",
361
- variant: "secondary",
362
- onClick: onCancelReturn,
363
- "data-testid": "active-order-return-cancel",
364
- children: t("orders.returns.cancel.title")
365
- }
366
- ),
367
- /* @__PURE__ */ jsx3(
368
- Button3,
369
- {
370
- size: "small",
371
- variant: "secondary",
372
- onClick: onContinueReturn,
373
- "data-testid": "active-order-return-continue",
374
- children: t("actions.continue")
375
- }
376
- )
377
- ] })
378
- ] }) })
404
+ /* @__PURE__ */ jsx3(
405
+ DisplayExtensionZone3,
406
+ {
407
+ model: "order",
408
+ zone: "active-return",
409
+ data: orderPreview
410
+ }
411
+ )
412
+ ] })
379
413
  }
380
414
  );
381
415
  };
@@ -386,6 +420,7 @@ import { Button as Button4, Container as Container4, Copy, Heading as Heading4,
386
420
  import { useMemo } from "react";
387
421
  import { useTranslation as useTranslation4 } from "react-i18next";
388
422
  import { useNavigate as useNavigate4 } from "react-router-dom";
423
+ import { DisplayExtensionZone as DisplayExtensionZone4 } from "@mercurjs/dashboard-shared";
389
424
  import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
390
425
  function EditItem({
391
426
  item,
@@ -473,53 +508,56 @@ var OrderActiveEditSection = ({
473
508
  },
474
509
  className: "-m-4 mb-1 border-b border-l p-4",
475
510
  "data-testid": "order-active-edit-section",
476
- children: /* @__PURE__ */ jsx4(Container4, { className: "flex items-center justify-between p-0", children: /* @__PURE__ */ jsxs4("div", { className: "flex w-full flex-col divide-y divide-dashed", children: [
477
- /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-2 px-6 py-4", children: [
478
- /* @__PURE__ */ jsx4(ExclamationCircleSolid, { className: "text-blue-500" }),
479
- /* @__PURE__ */ jsx4(Heading4, { level: "h2", children: t(
480
- isPending ? "orders.edits.panel.titlePending" : "orders.edits.panel.title"
481
- ) })
482
- ] }),
483
- !!addedItems.length && /* @__PURE__ */ jsxs4("div", { className: "txt-small text-ui-fg-subtle flex flex-row px-6 py-4", children: [
484
- /* @__PURE__ */ jsx4("span", { className: "flex-1 font-medium", children: t("labels.added") }),
485
- /* @__PURE__ */ jsx4("div", { className: "flex flex-1 flex-col gap-y-2", children: addedItems.map(({ item, quantity }) => /* @__PURE__ */ jsx4(EditItem, { item, quantity }, item.id)) })
486
- ] }),
487
- !!removedItems.length && /* @__PURE__ */ jsxs4("div", { className: "txt-small text-ui-fg-subtle flex flex-row px-6 py-4", children: [
488
- /* @__PURE__ */ jsx4("span", { className: "flex-1 font-medium", children: t("labels.removed") }),
489
- /* @__PURE__ */ jsx4("div", { className: "flex flex-1 flex-col gap-y-2", children: removedItems.map(({ item, quantity }) => /* @__PURE__ */ jsx4(EditItem, { item, quantity }, item.id)) })
511
+ children: /* @__PURE__ */ jsxs4(Container4, { className: "flex items-center justify-between p-0", children: [
512
+ /* @__PURE__ */ jsxs4("div", { className: "flex w-full flex-col divide-y divide-dashed", children: [
513
+ /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-2 px-6 py-4", children: [
514
+ /* @__PURE__ */ jsx4(ExclamationCircleSolid, { className: "text-blue-500" }),
515
+ /* @__PURE__ */ jsx4(Heading4, { level: "h2", children: t(
516
+ isPending ? "orders.edits.panel.titlePending" : "orders.edits.panel.title"
517
+ ) })
518
+ ] }),
519
+ !!addedItems.length && /* @__PURE__ */ jsxs4("div", { className: "txt-small text-ui-fg-subtle flex flex-row px-6 py-4", children: [
520
+ /* @__PURE__ */ jsx4("span", { className: "flex-1 font-medium", children: t("labels.added") }),
521
+ /* @__PURE__ */ jsx4("div", { className: "flex flex-1 flex-col gap-y-2", children: addedItems.map(({ item, quantity }) => /* @__PURE__ */ jsx4(EditItem, { item, quantity }, item.id)) })
522
+ ] }),
523
+ !!removedItems.length && /* @__PURE__ */ jsxs4("div", { className: "txt-small text-ui-fg-subtle flex flex-row px-6 py-4", children: [
524
+ /* @__PURE__ */ jsx4("span", { className: "flex-1 font-medium", children: t("labels.removed") }),
525
+ /* @__PURE__ */ jsx4("div", { className: "flex flex-1 flex-col gap-y-2", children: removedItems.map(({ item, quantity }) => /* @__PURE__ */ jsx4(EditItem, { item, quantity }, item.id)) })
526
+ ] }),
527
+ /* @__PURE__ */ jsxs4("div", { className: "bg-ui-bg-subtle flex items-center justify-end gap-x-2 rounded-b-xl px-4 py-4", children: [
528
+ isPending ? /* @__PURE__ */ jsx4(
529
+ Button4,
530
+ {
531
+ size: "small",
532
+ variant: "secondary",
533
+ onClick: () => navigate(`/orders/${order.id}/edit`),
534
+ "data-testid": "order-active-edit-continue",
535
+ children: t("actions.continueEdit")
536
+ }
537
+ ) : /* @__PURE__ */ jsx4(
538
+ Button4,
539
+ {
540
+ size: "small",
541
+ variant: "secondary",
542
+ onClick: onConfirmOrderEdit,
543
+ "data-testid": "order-active-edit-force-confirm",
544
+ children: t("actions.forceConfirm")
545
+ }
546
+ ),
547
+ /* @__PURE__ */ jsx4(
548
+ Button4,
549
+ {
550
+ size: "small",
551
+ variant: "secondary",
552
+ onClick: onCancelOrderEdit,
553
+ "data-testid": "order-active-edit-cancel",
554
+ children: t("actions.cancel")
555
+ }
556
+ )
557
+ ] })
490
558
  ] }),
491
- /* @__PURE__ */ jsxs4("div", { className: "bg-ui-bg-subtle flex items-center justify-end gap-x-2 rounded-b-xl px-4 py-4", children: [
492
- isPending ? /* @__PURE__ */ jsx4(
493
- Button4,
494
- {
495
- size: "small",
496
- variant: "secondary",
497
- onClick: () => navigate(`/orders/${order.id}/edit`),
498
- "data-testid": "order-active-edit-continue",
499
- children: t("actions.continueEdit")
500
- }
501
- ) : /* @__PURE__ */ jsx4(
502
- Button4,
503
- {
504
- size: "small",
505
- variant: "secondary",
506
- onClick: onConfirmOrderEdit,
507
- "data-testid": "order-active-edit-force-confirm",
508
- children: t("actions.forceConfirm")
509
- }
510
- ),
511
- /* @__PURE__ */ jsx4(
512
- Button4,
513
- {
514
- size: "small",
515
- variant: "secondary",
516
- onClick: onCancelOrderEdit,
517
- "data-testid": "order-active-edit-cancel",
518
- children: t("actions.cancel")
519
- }
520
- )
521
- ] })
522
- ] }) })
559
+ /* @__PURE__ */ jsx4(DisplayExtensionZone4, { model: "order", zone: "active-edit", data: order })
560
+ ] })
523
561
  }
524
562
  );
525
563
  };
@@ -527,6 +565,7 @@ var OrderActiveEditSection = ({
527
565
  // src/pages/orders/[id]/_components/order-activity-section/order-activity-section.tsx
528
566
  import { Container as Container5, Heading as Heading5 } from "@medusajs/ui";
529
567
  import { useTranslation as useTranslation15 } from "react-i18next";
568
+ import { DisplayExtensionZone as DisplayExtensionZone5 } from "@mercurjs/dashboard-shared";
530
569
 
531
570
  // src/pages/orders/[id]/_components/order-activity-section/hooks/use-activity-items.tsx
532
571
  import { useMemo as useMemo3 } from "react";
@@ -1370,7 +1409,8 @@ var OrderActivitySection = ({ order }) => {
1370
1409
  const { t } = useTranslation15();
1371
1410
  return /* @__PURE__ */ jsxs17(Container5, { className: "flex flex-col gap-y-8 px-6 py-4", children: [
1372
1411
  /* @__PURE__ */ jsx16("div", { className: "flex flex-col gap-y-4", children: /* @__PURE__ */ jsx16("div", { className: "flex items-center justify-between", children: /* @__PURE__ */ jsx16(Heading5, { level: "h2", children: t("orders.activity.header") }) }) }),
1373
- /* @__PURE__ */ jsx16(OrderTimeline, { order })
1412
+ /* @__PURE__ */ jsx16(OrderTimeline, { order }),
1413
+ /* @__PURE__ */ jsx16(DisplayExtensionZone5, { model: "order", zone: "activity", data: order })
1374
1414
  ] });
1375
1415
  };
1376
1416
 
@@ -1378,6 +1418,7 @@ var OrderActivitySection = ({ order }) => {
1378
1418
  import { Container as Container6, Heading as Heading6, Text as Text16 } from "@medusajs/ui";
1379
1419
  import { useMemo as useMemo4 } from "react";
1380
1420
  import { useTranslation as useTranslation16 } from "react-i18next";
1421
+ import { DisplayExtensionZone as DisplayExtensionZone6 } from "@mercurjs/dashboard-shared";
1381
1422
  import { jsx as jsx17, jsxs as jsxs18 } from "react/jsx-runtime";
1382
1423
  var OrderCommissionSection = ({
1383
1424
  order
@@ -1417,13 +1458,15 @@ var OrderCommissionSection = ({
1417
1458
  /* @__PURE__ */ jsxs18("div", { className: "flex items-center justify-between px-6 py-4", children: [
1418
1459
  /* @__PURE__ */ jsx17(Text16, { size: "small", weight: "plus", leading: "compact", children: t("orders.commission.total", "Total") }),
1419
1460
  /* @__PURE__ */ jsx17(Text16, { size: "small", weight: "plus", leading: "compact", children: getLocaleAmount(total, order.currency_code) })
1420
- ] })
1461
+ ] }),
1462
+ /* @__PURE__ */ jsx17(DisplayExtensionZone6, { model: "order", zone: "commission", data: order })
1421
1463
  ] });
1422
1464
  };
1423
1465
 
1424
1466
  // src/pages/orders/[id]/_components/order-customer-section/order-customer-section.tsx
1425
1467
  import { Container as Container7, Heading as Heading7 } from "@medusajs/ui";
1426
1468
  import { useTranslation as useTranslation18 } from "react-i18next";
1469
+ import { DisplayExtensionZone as DisplayExtensionZone7 } from "@mercurjs/dashboard-shared";
1427
1470
 
1428
1471
  // src/components/common/customer-info/customer-info.tsx
1429
1472
  import { Avatar as Avatar2, Copy as Copy2, Text as Text17 } from "@medusajs/ui";
@@ -1575,7 +1618,8 @@ var OrderCustomerSection = ({ order }) => {
1575
1618
  /* @__PURE__ */ jsx19(CustomerInfo.ID, { data: order }),
1576
1619
  /* @__PURE__ */ jsx19(CustomerInfo.Contact, { data: order }),
1577
1620
  /* @__PURE__ */ jsx19(CustomerInfo.Company, { data: order }),
1578
- /* @__PURE__ */ jsx19(CustomerInfo.Addresses, { data: order })
1621
+ /* @__PURE__ */ jsx19(CustomerInfo.Addresses, { data: order }),
1622
+ /* @__PURE__ */ jsx19(DisplayExtensionZone7, { model: "order", zone: "customer", data: order })
1579
1623
  ] });
1580
1624
  };
1581
1625
  var Header = () => {
@@ -1599,6 +1643,7 @@ import {
1599
1643
  import { format } from "date-fns";
1600
1644
  import { useTranslation as useTranslation19 } from "react-i18next";
1601
1645
  import { Link as Link3, useNavigate as useNavigate5 } from "react-router-dom";
1646
+ import { DisplayExtensionZone as DisplayExtensionZone8 } from "@mercurjs/dashboard-shared";
1602
1647
  import { Fragment as Fragment2, jsx as jsx20, jsxs as jsxs21 } from "react/jsx-runtime";
1603
1648
  var OrderFulfillmentSection = ({
1604
1649
  order
@@ -1606,7 +1651,8 @@ var OrderFulfillmentSection = ({
1606
1651
  const fulfillments = order.fulfillments || [];
1607
1652
  return /* @__PURE__ */ jsxs21("div", { className: "flex flex-col gap-y-3", children: [
1608
1653
  /* @__PURE__ */ jsx20(UnfulfilledItemBreakdown, { order }),
1609
- fulfillments.map((f, index) => /* @__PURE__ */ jsx20(Fulfillment, { index, fulfillment: f, order }, f.id))
1654
+ fulfillments.map((f, index) => /* @__PURE__ */ jsx20(Fulfillment, { index, fulfillment: f, order }, f.id)),
1655
+ /* @__PURE__ */ jsx20(DisplayExtensionZone8, { model: "order", zone: "fulfillment", data: order })
1610
1656
  ] });
1611
1657
  };
1612
1658
  var UnfulfilledItem = ({
@@ -1923,7 +1969,14 @@ import {
1923
1969
  usePrompt as usePrompt3
1924
1970
  } from "@medusajs/ui";
1925
1971
  import { useTranslation as useTranslation20 } from "react-i18next";
1972
+ import { DisplayExtensionZone as DisplayExtensionZone9, DisplayField } from "@mercurjs/dashboard-shared";
1926
1973
  import { jsx as jsx21, jsxs as jsxs22 } from "react/jsx-runtime";
1974
+ var GENERAL_FIELD_IDS = [
1975
+ "display_id",
1976
+ "status",
1977
+ "payment_status",
1978
+ "fulfillment_status"
1979
+ ];
1927
1980
  var OrderGeneralSection = ({ order }) => {
1928
1981
  const { t } = useTranslation20();
1929
1982
  const prompt = usePrompt3();
@@ -1958,13 +2011,19 @@ var OrderGeneralSection = ({ order }) => {
1958
2011
  };
1959
2012
  return /* @__PURE__ */ jsxs22(Container9, { className: "flex items-center justify-between px-6 py-4", children: [
1960
2013
  /* @__PURE__ */ jsxs22("div", { children: [
1961
- /* @__PURE__ */ jsxs22("div", { className: "flex items-center gap-x-1", children: [
2014
+ /* @__PURE__ */ jsx21(DisplayField, { model: "order", zone: "general", id: "display_id", data: order, children: /* @__PURE__ */ jsxs22("div", { className: "flex items-center gap-x-1", children: [
1962
2015
  /* @__PURE__ */ jsxs22(Heading9, { children: [
1963
2016
  "#",
1964
2017
  order.display_id
1965
2018
  ] }),
1966
- /* @__PURE__ */ jsx21(Copy4, { content: `#${order.display_id}`, className: "text-ui-fg-muted" })
1967
- ] }),
2019
+ /* @__PURE__ */ jsx21(
2020
+ Copy4,
2021
+ {
2022
+ content: `#${order.display_id}`,
2023
+ className: "text-ui-fg-muted"
2024
+ }
2025
+ )
2026
+ ] }) }),
1968
2027
  /* @__PURE__ */ jsx21(Text19, { size: "small", className: "text-ui-fg-subtle", children: t("orders.onDateFromSalesChannel", {
1969
2028
  date: getFullDate({ date: order.created_at, includeTime: true }),
1970
2029
  salesChannel: order.sales_channel?.name
@@ -1972,9 +2031,27 @@ var OrderGeneralSection = ({ order }) => {
1972
2031
  ] }),
1973
2032
  /* @__PURE__ */ jsxs22("div", { className: "flex items-center gap-x-4", children: [
1974
2033
  /* @__PURE__ */ jsxs22("div", { className: "flex items-center gap-x-1.5", children: [
1975
- /* @__PURE__ */ jsx21(OrderBadge, { order }),
1976
- /* @__PURE__ */ jsx21(PaymentBadge, { order }),
1977
- /* @__PURE__ */ jsx21(FulfillmentBadge, { order })
2034
+ /* @__PURE__ */ jsx21(DisplayField, { model: "order", zone: "general", id: "status", data: order, children: /* @__PURE__ */ jsx21(OrderBadge, { order }) }),
2035
+ /* @__PURE__ */ jsx21(
2036
+ DisplayField,
2037
+ {
2038
+ model: "order",
2039
+ zone: "general",
2040
+ id: "payment_status",
2041
+ data: order,
2042
+ children: /* @__PURE__ */ jsx21(PaymentBadge, { order })
2043
+ }
2044
+ ),
2045
+ /* @__PURE__ */ jsx21(
2046
+ DisplayField,
2047
+ {
2048
+ model: "order",
2049
+ zone: "general",
2050
+ id: "fulfillment_status",
2051
+ data: order,
2052
+ children: /* @__PURE__ */ jsx21(FulfillmentBadge, { order })
2053
+ }
2054
+ )
1978
2055
  ] }),
1979
2056
  /* @__PURE__ */ jsx21(
1980
2057
  ActionMenu,
@@ -1994,7 +2071,16 @@ var OrderGeneralSection = ({ order }) => {
1994
2071
  ]
1995
2072
  }
1996
2073
  )
1997
- ] })
2074
+ ] }),
2075
+ /* @__PURE__ */ jsx21(
2076
+ DisplayExtensionZone9,
2077
+ {
2078
+ model: "order",
2079
+ zone: "general",
2080
+ data: order,
2081
+ builtInFieldIds: GENERAL_FIELD_IDS
2082
+ }
2083
+ )
1998
2084
  ] });
1999
2085
  };
2000
2086
  var FulfillmentBadge = ({ order }) => {
@@ -2036,6 +2122,7 @@ import {
2036
2122
  Tooltip as Tooltip3
2037
2123
  } from "@medusajs/ui";
2038
2124
  import { useTranslation as useTranslation21 } from "react-i18next";
2125
+ import { DisplayExtensionZone as DisplayExtensionZone10 } from "@mercurjs/dashboard-shared";
2039
2126
 
2040
2127
  // src/lib/payment.ts
2041
2128
  var getTotalCaptured = (paymentCollections) => paymentCollections.reduce((acc, paymentCollection) => {
@@ -2057,7 +2144,8 @@ var OrderPaymentSection = ({ order }) => {
2057
2144
  return /* @__PURE__ */ jsxs23(Container10, { className: "divide-y p-0", children: [
2058
2145
  /* @__PURE__ */ jsx22(Header2, { order }),
2059
2146
  payments.length > 0 && /* @__PURE__ */ jsx22("ul", { className: "divide-y", children: payments.map((payment) => /* @__PURE__ */ jsx22(PaymentRow, { order, payment }, payment.id)) }),
2060
- /* @__PURE__ */ jsx22(Total, { order })
2147
+ /* @__PURE__ */ jsx22(Total, { order }),
2148
+ /* @__PURE__ */ jsx22(DisplayExtensionZone10, { model: "order", zone: "payment", data: order })
2061
2149
  ] });
2062
2150
  };
2063
2151
  var Header2 = ({ order }) => {
@@ -2107,18 +2195,18 @@ var getPaymentStatus = (payment) => {
2107
2195
  0
2108
2196
  );
2109
2197
  if (payment.canceled_at) {
2110
- return { label: "Canceled", color: "red" };
2198
+ return { labelKey: "orders.payment.status.canceled", color: "red" };
2111
2199
  }
2112
2200
  if (refundedAmount > 0 && refundedAmount >= payment.amount) {
2113
- return { label: "Refunded", color: "grey" };
2201
+ return { labelKey: "orders.payment.status.refunded", color: "grey" };
2114
2202
  }
2115
2203
  if (refundedAmount > 0) {
2116
- return { label: "Partly refunded", color: "orange" };
2204
+ return { labelKey: "orders.payment.status.partiallyRefunded", color: "orange" };
2117
2205
  }
2118
2206
  if (payment.captured_at) {
2119
- return { label: "Captured", color: "green" };
2207
+ return { labelKey: "orders.payment.status.captured", color: "green" };
2120
2208
  }
2121
- return { label: "Pending", color: "orange" };
2209
+ return { labelKey: "orders.payment.status.pending", color: "orange" };
2122
2210
  };
2123
2211
  var PaymentRow = ({
2124
2212
  order,
@@ -2158,7 +2246,7 @@ var PaymentRow = ({
2158
2246
  )
2159
2247
  ] }),
2160
2248
  /* @__PURE__ */ jsxs23("div", { className: "flex items-center gap-x-3", children: [
2161
- /* @__PURE__ */ jsx22(StatusBadge3, { color: status.color, className: "text-nowrap", children: status.label }),
2249
+ /* @__PURE__ */ jsx22(StatusBadge3, { color: status.color, className: "text-nowrap", children: t(status.labelKey) }),
2162
2250
  /* @__PURE__ */ jsx22(
2163
2251
  Text20,
2164
2252
  {
@@ -2251,6 +2339,7 @@ import {
2251
2339
  Tooltip as Tooltip5,
2252
2340
  toast as toast7
2253
2341
  } from "@medusajs/ui";
2342
+ import { DisplayExtensionZone as DisplayExtensionZone11 } from "@mercurjs/dashboard-shared";
2254
2343
 
2255
2344
  // src/pages/orders/[id]/_components/order-summary-section/return-info-popover.tsx
2256
2345
  import { useState as useState4 } from "react";
@@ -2475,7 +2564,8 @@ var OrderSummarySection = ({
2475
2564
  )
2476
2565
  }) }) })
2477
2566
  ] }),
2478
- /* @__PURE__ */ jsx25(OutstandingActions, { order })
2567
+ /* @__PURE__ */ jsx25(OutstandingActions, { order }),
2568
+ /* @__PURE__ */ jsx25(DisplayExtensionZone11, { model: "order", zone: "summary", data: order })
2479
2569
  ] });
2480
2570
  };
2481
2571
  var Header3 = ({
@@ -3035,7 +3125,7 @@ var Root = ({ children }) => {
3035
3125
  throw error;
3036
3126
  }
3037
3127
  return /* @__PURE__ */ jsx26(Fragment4, { children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs27(TwoColumnPage, { data: order, hasOutlet: true, showMetadata: true, showJSON: true, children: [
3038
- /* @__PURE__ */ jsxs27(TwoColumnPage.Main, { children: [
3128
+ /* @__PURE__ */ jsx26(TwoColumnPage.Main, { children: /* @__PURE__ */ jsxs27(WidgetZone, { id: "orders.detail.main", data: order, children: [
3039
3129
  /* @__PURE__ */ jsx26(OrderActiveEditSection, { order }),
3040
3130
  orderPreview && /* @__PURE__ */ jsxs27(Fragment4, { children: [
3041
3131
  /* @__PURE__ */ jsx26(ActiveOrderClaimSection, { orderPreview }),
@@ -3047,11 +3137,11 @@ var Root = ({ children }) => {
3047
3137
  /* @__PURE__ */ jsx26(OrderCommissionSection, { order }),
3048
3138
  /* @__PURE__ */ jsx26(OrderPaymentSection, { order }),
3049
3139
  /* @__PURE__ */ jsx26(OrderFulfillmentSection, { order })
3050
- ] }),
3051
- /* @__PURE__ */ jsxs27(TwoColumnPage.Sidebar, { children: [
3140
+ ] }) }),
3141
+ /* @__PURE__ */ jsx26(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsxs27(WidgetZone, { id: "orders.detail.side", data: order, children: [
3052
3142
  /* @__PURE__ */ jsx26(OrderCustomerSection, { order }),
3053
3143
  /* @__PURE__ */ jsx26(OrderActivitySection, { order })
3054
- ] })
3144
+ ] }) })
3055
3145
  ] }) });
3056
3146
  };
3057
3147
  var OrderDetailPage = Object.assign(Root, {