@mercurjs/admin 2.4.2-canary.3 → 2.4.2-canary.5

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 (288) hide show
  1. package/dist/{add-campaign-promotions-RK4N7E4J.js → add-campaign-promotions-IDDVSDVO.js} +6 -6
  2. package/dist/{adjust-inventory-VN7VTEHC.js → adjust-inventory-IMDA6DKO.js} +10 -10
  3. package/dist/{api-key-management-create-E5MDWSPT.js → api-key-management-create-NVJDDG4M.js} +3 -3
  4. package/dist/{api-key-management-detail-QPIDG4YL.js → api-key-management-detail-LVQP3YON.js} +14 -15
  5. package/dist/{api-key-management-edit-4LF2QQ7K.js → api-key-management-edit-5IIU6UYJ.js} +3 -3
  6. package/dist/{api-key-management-list-QR65GHKN.js → api-key-management-list-6ORXEMNW.js} +5 -5
  7. package/dist/{api-key-management-sales-channels-ODNVPGYF.js → api-key-management-sales-channels-2E4N6RZN.js} +3 -3
  8. package/dist/{attribute-create-KXP2BR3A.js → attribute-create-PZBBHYGL.js} +86 -20
  9. package/dist/{attribute-detail-EXGOXBSF.js → attribute-detail-EII34YLQ.js} +102 -56
  10. package/dist/{attribute-edit-JHXYOZAS.js → attribute-edit-JCSUWMYC.js} +36 -7
  11. package/dist/{attribute-edit-possible-value-SA5JMQXA.js → attribute-edit-possible-value-2RBBQ7IU.js} +2 -2
  12. package/dist/{attribute-list-YGW7T57X.js → attribute-list-QGZFFUQR.js} +16 -14
  13. package/dist/{breadcrumb-5WEYNHQL.js → breadcrumb-RQDZGMWP.js} +1 -1
  14. package/dist/{campaign-detail-SIUHKEBE.js → campaign-detail-K3PJUFLD.js} +17 -18
  15. package/dist/{campaign-list-MHCSLAYG.js → campaign-list-ZDXGPR73.js} +4 -4
  16. package/dist/{categories-metadata-5WRCUAYB.js → categories-metadata-OY7QP7PJ.js} +10 -10
  17. package/dist/{category-create-T6KSFJFR.js → category-create-6DAYPDRU.js} +5 -5
  18. package/dist/{category-detail-XYXPRDG6.js → category-detail-BHUTMA7H.js} +16 -17
  19. package/dist/{category-edit-OE4ONHT6.js → category-edit-FK7LZO4O.js} +2 -2
  20. package/dist/{category-icon-edit-PW5CAWMU.js → category-icon-edit-7EQM65SC.js} +2 -2
  21. package/dist/{category-list-I32XZHH5.js → category-list-KVGPDIFS.js} +5 -5
  22. package/dist/{category-media-WNBMNSD7.js → category-media-3VSW6I4G.js} +2 -2
  23. package/dist/{category-organize-EPEKZLIU.js → category-organize-AUA6MVBU.js} +2 -2
  24. package/dist/{category-products-YTOLFNN3.js → category-products-OXYEAWXV.js} +13 -13
  25. package/dist/{chunk-3YN2ZMOJ.js → chunk-24MN3SEL.js} +27 -18
  26. package/dist/{chunk-7F6ILJAJ.js → chunk-2DSZAOBF.js} +3 -3
  27. package/dist/{chunk-JKV66HIB.js → chunk-2HV2KQT3.js} +8 -13
  28. package/dist/{chunk-N3MOQFE2.js → chunk-2NR5WWH7.js} +3 -3
  29. package/dist/{chunk-4E7M7XYS.js → chunk-2OIF2OGW.js} +1 -1
  30. package/dist/{chunk-6FWR6IXZ.js → chunk-443ZBALK.js} +46 -12
  31. package/dist/{chunk-ZDWFCRK2.js → chunk-4IVYBRJK.js} +26 -23
  32. package/dist/{chunk-6W57K3PC.js → chunk-4PVK5DOS.js} +1 -1
  33. package/dist/{chunk-AET2AAKT.js → chunk-5CEYPZUM.js} +1 -1
  34. package/dist/{chunk-HYNF4MXN.js → chunk-5FHGEXOA.js} +58 -79
  35. package/dist/{chunk-YRUD4KEK.js → chunk-5OJ4L3WC.js} +2 -2
  36. package/dist/{chunk-2SPKAU6B.js → chunk-5RV5GAIP.js} +1 -1
  37. package/dist/{chunk-5TFDVLNS.js → chunk-6RKJ6RB5.js} +4 -4
  38. package/dist/{chunk-ZFJ4JK2G.js → chunk-6T3UQY3I.js} +4 -4
  39. package/dist/{chunk-MUQ6XTZG.js → chunk-6UHGUVFC.js} +1 -1
  40. package/dist/{chunk-B7MV2IBN.js → chunk-72CVE5IA.js} +2 -2
  41. package/dist/{chunk-732GOB5M.js → chunk-76QAL55M.js} +14 -2
  42. package/dist/{chunk-JXRIOU6S.js → chunk-7J2BVAMW.js} +23 -31
  43. package/dist/{chunk-4LMKYJTD.js → chunk-7YO7AMXN.js} +8 -8
  44. package/dist/{chunk-PJUW7FBR.js → chunk-ALZEKBOB.js} +1 -1
  45. package/dist/{chunk-IBRBF2DW.js → chunk-AMOXOWUZ.js} +1 -1
  46. package/dist/{chunk-W34INFPB.js → chunk-AVB5HIE7.js} +1 -1
  47. package/dist/{chunk-US4ODTG4.js → chunk-AVGUJKVU.js} +16 -9
  48. package/dist/{chunk-2BUD2E7H.js → chunk-AX4GTBO5.js} +1 -1
  49. package/dist/{chunk-O65UQTKL.js → chunk-AYIUS6NM.js} +2 -2
  50. package/dist/{chunk-QNH2UAGS.js → chunk-BAVZ3YR2.js} +1 -1
  51. package/dist/{chunk-TRFZWFQP.js → chunk-BRWQ3UED.js} +1 -1
  52. package/dist/{chunk-3XE5GSUK.js → chunk-CCTM2LZD.js} +28 -18
  53. package/dist/{chunk-3FW25NHA.js → chunk-CFBK4EUK.js} +39 -4
  54. package/dist/{chunk-GVEY7LY4.js → chunk-DDJY4VQ5.js} +2 -2
  55. package/dist/{chunk-JVQ5ILSP.js → chunk-DGYOLNJ5.js} +4 -4
  56. package/dist/{chunk-77XMRJKQ.js → chunk-DQBGRKDX.js} +32 -23
  57. package/dist/{chunk-V5ILLJVE.js → chunk-ECZ5N3KU.js} +8 -8
  58. package/dist/{chunk-JD7F6TNN.js → chunk-EEXKQF7A.js} +1 -1
  59. package/dist/{chunk-7NDIA2SN.js → chunk-EM3LOM7G.js} +46 -68
  60. package/dist/chunk-EWS3KOK3.js +11 -0
  61. package/dist/{chunk-MD36ZSRC.js → chunk-FU47OX4X.js} +1 -1
  62. package/dist/{chunk-Q25CKL6P.js → chunk-GRZJJDIJ.js} +2 -2
  63. package/dist/{chunk-W2WJU2F7.js → chunk-GYSD2TAF.js} +1 -1
  64. package/dist/{chunk-MB457RHR.js → chunk-H6YIN6D7.js} +1 -1
  65. package/dist/{chunk-TJJBEBVO.js → chunk-HD4LNWMO.js} +11 -11
  66. package/dist/{chunk-TVQDFXGM.js → chunk-HUDNSWXR.js} +41 -9
  67. package/dist/{chunk-QMURCXV6.js → chunk-IEWKW6XR.js} +1 -1
  68. package/dist/{chunk-PZKPLLCK.js → chunk-IPME3OPK.js} +2 -2
  69. package/dist/chunk-IVKTH7RC.js +69 -0
  70. package/dist/{chunk-PQ6UCU26.js → chunk-JA2IPDEX.js} +19 -9
  71. package/dist/{chunk-NE5GEZYD.js → chunk-JCZDC5N5.js} +1 -1
  72. package/dist/{chunk-VGIRBDBL.js → chunk-KJ5QKUJZ.js} +31 -29
  73. package/dist/{chunk-YNFKPKE2.js → chunk-KJSKFONN.js} +1 -1
  74. package/dist/{chunk-MVZBABWL.js → chunk-LH4RXIUY.js} +1 -1
  75. package/dist/chunk-LWLRPGA7.js +197 -0
  76. package/dist/{chunk-RT6L7JXU.js → chunk-M6MB4GXV.js} +25 -1
  77. package/dist/{chunk-BKNZMLN6.js → chunk-MCN5XDLH.js} +1 -1
  78. package/dist/{chunk-2LJB5MG5.js → chunk-MLMVR6CE.js} +30 -25
  79. package/dist/{chunk-CSNREXFJ.js → chunk-MTQC3R2L.js} +24 -14
  80. package/dist/{chunk-TNW5SNAA.js → chunk-MUJYKY5I.js} +2 -2
  81. package/dist/{chunk-AUFNEWYR.js → chunk-NESAROPT.js} +27 -38
  82. package/dist/{chunk-FMARCJU2.js → chunk-O6PKKHIT.js} +44 -34
  83. package/dist/{chunk-M7DJHW7Y.js → chunk-ODDXWRE5.js} +35 -30
  84. package/dist/{chunk-42EOT2GS.js → chunk-OJP6YVPK.js} +1 -1
  85. package/dist/{chunk-IRX6H6PX.js → chunk-OLOYXEOI.js} +1 -1
  86. package/dist/{chunk-73UGQNLW.js → chunk-OO3JY5EU.js} +1 -1
  87. package/dist/{chunk-TPXDWHKN.js → chunk-OXMGCNW5.js} +1 -1
  88. package/dist/{chunk-POICNIRJ.js → chunk-PA74U5XV.js} +1 -1
  89. package/dist/{chunk-MG4HOHXJ.js → chunk-PLG54FMA.js} +1 -1
  90. package/dist/{chunk-EZ3A5EME.js → chunk-Q3SMUTB7.js} +24 -15
  91. package/dist/{chunk-VCCCWNJ2.js → chunk-QFG6TS6Z.js} +20 -2
  92. package/dist/{chunk-3XDYPQNV.js → chunk-QYE3BDVE.js} +1 -1
  93. package/dist/{chunk-3I2HNULG.js → chunk-RPNZ4ESH.js} +22 -10
  94. package/dist/{chunk-XJ4VE6B6.js → chunk-S3SZYTRU.js} +1 -1
  95. package/dist/{chunk-4YWKKCTT.js → chunk-SBNL3YZO.js} +22 -2
  96. package/dist/{chunk-T5VQZAUQ.js → chunk-SHBMQS3S.js} +34 -24
  97. package/dist/{chunk-PZXHCGSF.js → chunk-SLDWAEDL.js} +25 -13
  98. package/dist/{chunk-7LJ6Z5TK.js → chunk-SN2AXUQV.js} +1 -1
  99. package/dist/{chunk-RAVKYLQV.js → chunk-SQDBVRBF.js} +5 -5
  100. package/dist/{chunk-BYAFLPPK.js → chunk-THUQNFFD.js} +5 -5
  101. package/dist/{chunk-QBKQ5PAI.js → chunk-TKBGDMTC.js} +36 -4
  102. package/dist/{chunk-BHAZEG34.js → chunk-TSZA5X7R.js} +1 -1
  103. package/dist/{chunk-ZREELPMV.js → chunk-TXLANLXM.js} +1 -1
  104. package/dist/{chunk-F523UP2R.js → chunk-U6IT72XX.js} +32 -27
  105. package/dist/{chunk-7XATJLO3.js → chunk-U7HOCY3L.js} +2 -2
  106. package/dist/{chunk-N72547NA.js → chunk-UCJXRN3O.js} +1 -1
  107. package/dist/{chunk-N7FZLLOS.js → chunk-UGJISW7E.js} +1 -1
  108. package/dist/{chunk-QCPXVVAM.js → chunk-UHU6L2AJ.js} +2 -2
  109. package/dist/{chunk-CJ44WLY3.js → chunk-UKWVNNAB.js} +2 -2
  110. package/dist/{chunk-2DCSR6PN.js → chunk-VQGLI6PQ.js} +23 -30
  111. package/dist/{chunk-C54WZEEX.js → chunk-VSTQAHPX.js} +22 -1
  112. package/dist/chunk-W27KYAMV.js +9 -0
  113. package/dist/{chunk-EYIEFDQM.js → chunk-W7CP465S.js} +1 -1
  114. package/dist/{chunk-JQKWHQYV.js → chunk-WKW6P42D.js} +52 -46
  115. package/dist/{chunk-M65R6KJ7.js → chunk-X2OI7ZEG.js} +1 -1
  116. package/dist/{chunk-A4LXFSDU.js → chunk-X5GMM6CE.js} +28 -18
  117. package/dist/{chunk-YP2DOA53.js → chunk-XDM2SRR4.js} +1 -1
  118. package/dist/{chunk-XYQHDLH7.js → chunk-XRMLTUGJ.js} +40 -33
  119. package/dist/{chunk-X7YXQYAJ.js → chunk-XT5IAKD7.js} +22 -10
  120. package/dist/{chunk-5ZF2SG36.js → chunk-YBULKF2L.js} +1 -1
  121. package/dist/{chunk-CAWQT5KV.js → chunk-YOHRKXJL.js} +3 -3
  122. package/dist/{chunk-6IE322SZ.js → chunk-YPJZPKRW.js} +6 -4
  123. package/dist/{chunk-X6IEU5BN.js → chunk-YVHFOD55.js} +1 -1
  124. package/dist/{chunk-4I65EBC3.js → chunk-ZHSA32KT.js} +29 -19
  125. package/dist/{chunk-UG2TX3DW.js → chunk-ZP3D6FEU.js} +2 -2
  126. package/dist/{collection-add-products-X5ALICTT.js → collection-add-products-HHAWUR7P.js} +13 -13
  127. package/dist/{collection-create-OFAKZT3H.js → collection-create-L74HYO3A.js} +2 -2
  128. package/dist/{collection-detail-SA3GXCYV.js → collection-detail-X6SBJPYM.js} +15 -16
  129. package/dist/{collection-edit-VVUKOHZO.js → collection-edit-UMTSRIRG.js} +2 -2
  130. package/dist/{collection-icon-edit-ZEOV47DV.js → collection-icon-edit-GJIUPOZK.js} +2 -2
  131. package/dist/{collection-list-T7LIHCSO.js → collection-list-GNFISF2W.js} +21 -21
  132. package/dist/{collection-media-SW6O54X5.js → collection-media-QYRSKCAL.js} +2 -2
  133. package/dist/{collection-metadata-D56TMA2O.js → collection-metadata-WEQFREHF.js} +10 -10
  134. package/dist/{commission-rule-detail-KXOBJ7ZE.js → commission-rule-detail-KBE3AABV.js} +7 -8
  135. package/dist/{commissions-list-NOHWTAL6.js → commissions-list-7V3XYDSC.js} +7 -7
  136. package/dist/{customer-detail-X4QO7R4I.js → customer-detail-T7CREAZC.js} +14 -15
  137. package/dist/{customer-group-detail-5SI2UEWT.js → customer-group-detail-AKACON75.js} +12 -13
  138. package/dist/{customer-group-list-W6AAEMJZ.js → customer-group-list-CCZHRWSP.js} +12 -12
  139. package/dist/{customer-group-metadata-ZULCBXZT.js → customer-group-metadata-K3RWUHMG.js} +10 -10
  140. package/dist/customer-list-NAWGRWW3.js +1 -1
  141. package/dist/{customer-metadata-PX4675YG.js → customer-metadata-LQQZ6THT.js} +10 -10
  142. package/dist/{customers-add-customer-group-MRUPG2NL.js → customers-add-customer-group-XDII2GTG.js} +11 -11
  143. package/dist/{edit-inventory-item-E4HTJCLW.js → edit-inventory-item-QAGG6GBK.js} +10 -10
  144. package/dist/{edit-inventory-item-attributes-DTFCKHA3.js → edit-inventory-item-attributes-4LN4BDKJ.js} +10 -10
  145. package/dist/{edit-reservation-7XALDPYA.js → edit-reservation-DS6TZ5TG.js} +2 -2
  146. package/dist/{edit-rules-D2ETXYOG.js → edit-rules-SOVGTZJX.js} +13 -13
  147. package/dist/extension-targets.d.ts +182 -0
  148. package/dist/{home-45T532DP.js → home-6SEQHWTY.js} +11 -11
  149. package/dist/index.d.ts +12 -12
  150. package/dist/index.js +237 -227
  151. package/dist/{inventory-detail-2QWJSRLT.js → inventory-detail-TO362FGE.js} +12 -13
  152. package/dist/{inventory-list-SUFVDLEJ.js → inventory-list-WJRKBKKG.js} +5 -5
  153. package/dist/{inventory-metadata-ZOFBU2CS.js → inventory-metadata-FCEDLKBS.js} +10 -10
  154. package/dist/{inventory-stock-LTLXVUHQ.js → inventory-stock-FLJAONNX.js} +10 -10
  155. package/dist/{loader-HZFVOO6G.js → loader-7AUS3B35.js} +1 -1
  156. package/dist/{location-detail-CQFXKIW2.js → location-detail-KZEDVRGP.js} +13 -14
  157. package/dist/{location-fulfillment-providers-K3IF56D3.js → location-fulfillment-providers-HVORN7S5.js} +15 -15
  158. package/dist/{location-list-CVMIBMT7.js → location-list-NZMDAP6L.js} +12 -12
  159. package/dist/{location-sales-channels-M5UZFBFQ.js → location-sales-channels-XHSFQVY7.js} +2 -2
  160. package/dist/{location-service-zone-shipping-option-create-RL7Q7P3U.js → location-service-zone-shipping-option-create-LNDIHDCZ.js} +11 -11
  161. package/dist/{location-service-zone-shipping-option-pricing-THSABNGZ.js → location-service-zone-shipping-option-pricing-FVJPFF36.js} +2 -2
  162. package/dist/{login-GB4TZ3KN.js → login-ZLZIZJN6.js} +10 -10
  163. package/dist/{manage-locations-AWAF7NHT.js → manage-locations-5ZWMHWH4.js} +1 -1
  164. package/dist/{marketplace-detail-BGGEDBMZ.js → marketplace-detail-GGDYJAXI.js} +12 -13
  165. package/dist/{marketplace-edit-P3NH6JDD.js → marketplace-edit-7LXD76SU.js} +1 -1
  166. package/dist/{marketplace-metadata-AV4IYMSI.js → marketplace-metadata-YWXI5KUM.js} +10 -10
  167. package/dist/{offer-condition-create-ELOPMTVF.js → offer-condition-create-TK7LKCI2.js} +10 -10
  168. package/dist/{offer-condition-edit-X47KO53G.js → offer-condition-edit-YFAFSKVO.js} +10 -10
  169. package/dist/{offer-condition-list-F2UTHYW5.js → offer-condition-list-OMCXV6KS.js} +21 -21
  170. package/dist/{offer-detail-page-KBX4DEFJ.js → offer-detail-page-YCRLAPLN.js} +37 -40
  171. package/dist/{offer-variant-detail-page-TNNLDDNI.js → offer-variant-detail-page-UPRDSLGJ.js} +28 -31
  172. package/dist/{offers-BCT5ZNVV.js → offers-RMV2EVJ7.js} +13 -13
  173. package/dist/{order-create-edit-AC2YWTP7.js → order-create-edit-TW4H7GQI.js} +6 -6
  174. package/dist/{order-create-exchange-BJK7VBZJ.js → order-create-exchange-ER6DXNLR.js} +13 -13
  175. package/dist/{order-create-refund-HCWHO7UA.js → order-create-refund-2I5AT5FC.js} +13 -13
  176. package/dist/{order-detail-UGTEV6YA.js → order-detail-ZIILCYER.js} +17 -18
  177. package/dist/{order-edit-billing-address-SM2VDTND.js → order-edit-billing-address-Y557XZUE.js} +11 -11
  178. package/dist/{order-edit-email-6W3ZFJP3.js → order-edit-email-WRMXO5M6.js} +10 -10
  179. package/dist/{order-edit-shipping-address-EAN3RL44.js → order-edit-shipping-address-N5CTGWFE.js} +10 -10
  180. package/dist/{order-list-JQHYTMPK.js → order-list-XSD7B6JW.js} +11 -11
  181. package/dist/{order-metadata-H55SOYPV.js → order-metadata-WF7YTM27.js} +10 -10
  182. package/dist/{order-request-transfer-5Z5ASYLA.js → order-request-transfer-QJWJBZ6C.js} +10 -10
  183. package/dist/pages/index.d.ts +32 -473
  184. package/dist/pages/index.js +156 -154
  185. package/dist/{payout-account-detail-MHGZZIRD.js → payout-account-detail-Z2HZJ5B4.js} +42 -41
  186. package/dist/{payout-account-list-RQNRNFIV.js → payout-account-list-SN2MFMFE.js} +3 -3
  187. package/dist/{payout-detail-TLN5EW23.js → payout-detail-RMWKU2O6.js} +2 -3
  188. package/dist/{payout-list-LMWL45PW.js → payout-list-IT2HRUM4.js} +5 -5
  189. package/dist/{price-list-configuration-OT3FSLYS.js → price-list-configuration-IYVEAZ7F.js} +2 -2
  190. package/dist/{price-list-create-MZBAANRE.js → price-list-create-GB727PCT.js} +15 -15
  191. package/dist/{price-list-customer-availability-W5MPRJAP.js → price-list-customer-availability-GRSQP4T2.js} +2 -2
  192. package/dist/{price-list-detail-GHBU34II.js → price-list-detail-C5YXVE7F.js} +15 -16
  193. package/dist/{price-list-edit-HTL5XNKZ.js → price-list-edit-BJO5SCJQ.js} +2 -2
  194. package/dist/{price-list-list-HTAI5DW4.js → price-list-list-OSTM4Z4Y.js} +5 -5
  195. package/dist/{price-list-prices-add-PU3QIZ6C.js → price-list-prices-add-2ZGRCZ7Q.js} +14 -14
  196. package/dist/{price-list-prices-edit-U5JMSZR2.js → price-list-prices-edit-LF56RWBX.js} +11 -11
  197. package/dist/{product-add-existing-attributes-BUPTMRVD.js → product-add-existing-attributes-65NCOEGS.js} +25 -19
  198. package/dist/{product-attributes-5PMGQBIW.js → product-attributes-KVEAIQHE.js} +1 -1
  199. package/dist/{product-bulk-edit-ETVMA4TH.js → product-bulk-edit-MBE6VEOT.js} +1 -1
  200. package/dist/{product-create-CEUBLSNB.js → product-create-P2U24UG5.js} +18 -17
  201. package/dist/{product-create-attribute-JRUTWHLJ.js → product-create-attribute-CZKELBZG.js} +2 -2
  202. package/dist/{product-create-variant-G3XZ572E.js → product-create-variant-F4NZL7EE.js} +4 -4
  203. package/dist/{product-detail-56VBJ5BZ.js → product-detail-PKRRZETP.js} +13 -12
  204. package/dist/{product-edit-HVV6HFPP.js → product-edit-G6OY6NJ5.js} +1 -1
  205. package/dist/{product-edit-attribute-3JHAMGZG.js → product-edit-attribute-URGUUIZA.js} +1 -1
  206. package/dist/{product-list-UTRXPARK.js → product-list-7BXZUMZR.js} +15 -15
  207. package/dist/{product-media-DB74GMWE.js → product-media-THKC6GZM.js} +4 -4
  208. package/dist/{product-metadata-Y3M4ZZ2H.js → product-metadata-EFK742GI.js} +10 -10
  209. package/dist/{product-organization-J4WAKRIN.js → product-organization-JQI37GE6.js} +4 -4
  210. package/dist/{product-requests-SV5NHQ4L.js → product-requests-AQJRL7MN.js} +5 -5
  211. package/dist/{product-sales-channels-HFMSJZVI.js → product-sales-channels-S6L3X4UX.js} +2 -2
  212. package/dist/{product-shipping-profile-MM74FN47.js → product-shipping-profile-Q5ZYPJ3T.js} +1 -1
  213. package/dist/{product-tag-create-GNJTKAUY.js → product-tag-create-2BBSUNEP.js} +10 -10
  214. package/dist/{product-tag-detail-PWYCRCC3.js → product-tag-detail-XWQPPWDV.js} +27 -28
  215. package/dist/{product-tag-edit-IEYXMMU3.js → product-tag-edit-VHZKPJHF.js} +10 -10
  216. package/dist/{product-tag-list-LNKN323U.js → product-tag-list-OWJZXVHL.js} +27 -27
  217. package/dist/{product-tag-metadata-Q4JIK46H.js → product-tag-metadata-763U2BC6.js} +10 -10
  218. package/dist/{product-type-detail-7P2M7JIS.js → product-type-detail-ETNCDX7W.js} +15 -16
  219. package/dist/product-type-list-YJCXTJQE.js +1 -1
  220. package/dist/{product-type-metadata-S7ZPZFPU.js → product-type-metadata-I7CJCEI2.js} +10 -10
  221. package/dist/product-variant-add-attributes-RGRIWDP4.js +443 -0
  222. package/dist/{product-variant-detail-K5L2YBZ5.js → product-variant-detail-GFMRE6OJ.js} +12 -13
  223. package/dist/{product-variant-edit-2A6AJ74P.js → product-variant-edit-3G43LFYX.js} +13 -13
  224. package/dist/product-variant-edit-attribute-46TPYOO3.js +102 -0
  225. package/dist/{product-variant-metadata-DNMZY323.js → product-variant-metadata-756P46CP.js} +10 -10
  226. package/dist/{profile-detail-4FHCZL5O.js → profile-detail-Q6ETDPS7.js} +2 -3
  227. package/dist/{promotion-create-6Q2ZXHUG.js → promotion-create-6C2EFIX3.js} +13 -12
  228. package/dist/{promotion-detail-FNO3QDGZ.js → promotion-detail-SMND7UEB.js} +15 -16
  229. package/dist/{promotion-list-JNUPZ3PP.js → promotion-list-J726EVGE.js} +8 -8
  230. package/dist/{refund-reason-create-25ZABWC3.js → refund-reason-create-FZLP4WKE.js} +10 -10
  231. package/dist/{refund-reason-edit-5DZPMYVZ.js → refund-reason-edit-RS3VI7TD.js} +10 -10
  232. package/dist/{refund-reason-list-YJN3YBCX.js → refund-reason-list-FXM7PM7O.js} +22 -22
  233. package/dist/{region-add-countries-AJM47ID6.js → region-add-countries-S3PNMQYY.js} +2 -2
  234. package/dist/{region-add-sellers-KN5PRYNT.js → region-add-sellers-5DQTFGZN.js} +7 -7
  235. package/dist/{region-create-V4YPSF33.js → region-create-SJ3LM4SD.js} +2 -2
  236. package/dist/{region-detail-TRHQFBTW.js → region-detail-AVJZ5NUE.js} +9 -10
  237. package/dist/{region-edit-KEAWUONT.js → region-edit-SVKR2HYI.js} +2 -2
  238. package/dist/{region-list-UE6RO2PZ.js → region-list-FBLV7NDC.js} +4 -4
  239. package/dist/{region-metadata-R6S3KUOD.js → region-metadata-QGCVB6XL.js} +10 -10
  240. package/dist/{reservation-create-M7U5YGMU.js → reservation-create-CIJZPZKJ.js} +2 -2
  241. package/dist/{reservation-detail-FCLXXM7P.js → reservation-detail-FLNLU4KU.js} +12 -13
  242. package/dist/{reservation-list-MK6AFJ5N.js → reservation-list-AXZPYNNV.js} +6 -6
  243. package/dist/{reservation-metadata-35N7FCGC.js → reservation-metadata-FVEALJLI.js} +10 -10
  244. package/dist/{reset-password-ITQ3O4O7.js → reset-password-JJCDBA3H.js} +1 -1
  245. package/dist/{return-reason-list-2GUYWZLY.js → return-reason-list-G43LAERQ.js} +13 -13
  246. package/dist/{review-list-PR4KAUEG.js → review-list-LBDAOKV6.js} +4 -4
  247. package/dist/{sales-channel-add-products-EIVCMYH6.js → sales-channel-add-products-7YWSQ7BJ.js} +13 -13
  248. package/dist/{sales-channel-create-JLRHY4I3.js → sales-channel-create-DBPPVZ4B.js} +2 -2
  249. package/dist/{sales-channel-detail-WUA6WCD3.js → sales-channel-detail-4OFZ4K3Y.js} +15 -16
  250. package/dist/{sales-channel-edit-F6WEJPJD.js → sales-channel-edit-GY37FAMC.js} +2 -2
  251. package/dist/{sales-channel-list-OA3BS44A.js → sales-channel-list-7Q6MQ37E.js} +11 -11
  252. package/dist/{sales-channel-metadata-EQEMA7ZK.js → sales-channel-metadata-6SRM2MCU.js} +10 -10
  253. package/dist/{settings-2OA2KZLI.js → settings-H25QBO4V.js} +12 -12
  254. package/dist/{shipping-option-type-create-JNVJYWQ4.js → shipping-option-type-create-DVPE35ST.js} +10 -10
  255. package/dist/{shipping-option-type-detail-FWMONUZX.js → shipping-option-type-detail-IEARUFKC.js} +12 -13
  256. package/dist/{shipping-option-type-edit-2ORVYAS2.js → shipping-option-type-edit-HTHLXMPC.js} +10 -10
  257. package/dist/{shipping-option-type-list-XOC4A2K5.js → shipping-option-type-list-4ZNZ2PZA.js} +11 -11
  258. package/dist/{shipping-profile-detail-2BO5PJLM.js → shipping-profile-detail-7WMX4LFB.js} +2 -3
  259. package/dist/{shipping-profile-metadata-TQJUPQDT.js → shipping-profile-metadata-YAUFE67J.js} +10 -10
  260. package/dist/{store-add-regions-EOGPCBH4.js → store-add-regions-VMX2HMNT.js} +2 -2
  261. package/dist/{store-address-edit-BWDVQ4AO.js → store-address-edit-AWQIQG5B.js} +2 -2
  262. package/dist/{store-bulk-edit-26DGX4KW.js → store-bulk-edit-QPRXZEMT.js} +2 -2
  263. package/dist/{store-closure-edit-7SUR4F2K.js → store-closure-edit-SFEX2MJG.js} +2 -2
  264. package/dist/{store-create-XODKGAQB.js → store-create-LPA74RQC.js} +10 -10
  265. package/dist/{store-details-CTXOMJ4F.js → store-details-NQPDL7XU.js} +22 -23
  266. package/dist/{store-edit-LELCWFLY.js → store-edit-2Q6B4OIB.js} +4 -4
  267. package/dist/{store-list-MSXINJBB.js → store-list-JZJGOP7D.js} +22 -22
  268. package/dist/{store-member-invite-KHZD23MS.js → store-member-invite-AMSL2O6V.js} +2 -2
  269. package/dist/{store-payment-details-edit-RQNDJCYW.js → store-payment-details-edit-SVCRKVYK.js} +2 -2
  270. package/dist/{store-professional-details-edit-QRB6EBTP.js → store-professional-details-edit-VSOKALEW.js} +2 -2
  271. package/dist/{tax-region-create-7NCIY2IB.js → tax-region-create-UA2K6ALU.js} +11 -11
  272. package/dist/{tax-region-detail-TL34TZ74.js → tax-region-detail-TZEBIPSN.js} +14 -15
  273. package/dist/{tax-region-edit-WMTF547K.js → tax-region-edit-NFU5CDKG.js} +10 -10
  274. package/dist/{tax-region-metadata-XTERQTSO.js → tax-region-metadata-HLXBLLMK.js} +10 -10
  275. package/dist/{tax-region-province-detail-V4O4LIEL.js → tax-region-province-detail-MJ4CWC3F.js} +14 -15
  276. package/dist/{tax-region-tax-override-create-MGQYCSLB.js → tax-region-tax-override-create-J6QPVI7E.js} +26 -26
  277. package/dist/{tax-region-tax-override-edit-PWH2ZJVM.js → tax-region-tax-override-edit-VWSJ2QKH.js} +26 -26
  278. package/dist/{user-detail-W5HUECIC.js → user-detail-7GNOR2AE.js} +3 -4
  279. package/dist/user-list-TC6EBLIK.js +1 -1
  280. package/dist/{user-metadata-P4XDYLXJ.js → user-metadata-FBFODHDC.js} +10 -10
  281. package/package.json +6 -6
  282. package/dist/chunk-MABKQJLL.js +0 -145
  283. package/dist/{chunk-3LMHCJEX.js → chunk-JVJWAI3M.js} +3 -3
  284. package/dist/{location-service-zone-shipping-option-edit-K7SOAJHY.js → location-service-zone-shipping-option-edit-MBLMYYBN.js} +3 -3
  285. package/dist/{order-create-claim-RSZ3M7TG.js → order-create-claim-EELOJWNC.js} +3 -3
  286. package/dist/{order-create-return-6H2QQN4E.js → order-create-return-TV3ME2OX.js} +3 -3
  287. package/dist/{promotion-add-campaign-AM7UUMYW.js → promotion-add-campaign-AE4PCK64.js} +3 -3
  288. package/dist/{promotion-edit-details-7RJ5KQDZ.js → promotion-edit-details-VKG2QBOH.js} +3 -3
@@ -17,6 +17,30 @@ var useAttributeTableFilters = () => {
17
17
  }
18
18
  ]
19
19
  };
20
+ const internalFilter = {
21
+ key: "is_internal",
22
+ label: t("attributes.fields.visibility.label"),
23
+ type: "select",
24
+ options: [
25
+ {
26
+ label: t("attributes.fields.visibility.internal"),
27
+ value: "true"
28
+ },
29
+ {
30
+ label: t("attributes.fields.visibility.public"),
31
+ value: "false"
32
+ }
33
+ ]
34
+ };
35
+ const scopeFilter = {
36
+ key: "scope",
37
+ label: t("attributes.fields.scope"),
38
+ type: "select",
39
+ options: [
40
+ { label: t("attributes.scope.product"), value: "product" },
41
+ { label: t("attributes.scope.variant"), value: "variant" }
42
+ ]
43
+ };
20
44
  const dateFilters = [
21
45
  { label: t("fields.createdAt"), key: "created_at" },
22
46
  { label: t("fields.updatedAt"), key: "updated_at" }
@@ -25,7 +49,7 @@ var useAttributeTableFilters = () => {
25
49
  label: f.label,
26
50
  type: "date"
27
51
  }));
28
- return [filterableFilter, ...dateFilters];
52
+ return [filterableFilter, internalFilter, scopeFilter, ...dateFilters];
29
53
  };
30
54
 
31
55
  export {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useCustomerGroupTableFilters
3
- } from "./chunk-W34INFPB.js";
3
+ } from "./chunk-AVB5HIE7.js";
4
4
  import {
5
5
  useCustomerGroupTableQuery
6
6
  } from "./chunk-3XOE4NV5.js";
@@ -3,10 +3,10 @@ import {
3
3
  } from "./chunk-54EPH67T.js";
4
4
  import {
5
5
  useCustomerGroupTableFilters
6
- } from "./chunk-W34INFPB.js";
6
+ } from "./chunk-AVB5HIE7.js";
7
7
  import {
8
8
  useOrderGroupTableFilters
9
- } from "./chunk-CJ44WLY3.js";
9
+ } from "./chunk-UKWVNNAB.js";
10
10
  import {
11
11
  useOrderTableQuery
12
12
  } from "./chunk-QUHSHIAC.js";
@@ -26,13 +26,13 @@ import {
26
26
  TextCell,
27
27
  TextHeader
28
28
  } from "./chunk-JHIMVLB2.js";
29
+ import {
30
+ CORE_LAYOUT_IDS
31
+ } from "./chunk-W27KYAMV.js";
29
32
  import {
30
33
  DateCell,
31
34
  DateHeader
32
35
  } from "./chunk-F3XPA5ID.js";
33
- import {
34
- TwoColumnPage
35
- } from "./chunk-E74OUNA3.js";
36
36
  import {
37
37
  ActionMenu
38
38
  } from "./chunk-3UOYBH5O.js";
@@ -59,9 +59,13 @@ import {
59
59
  } from "./chunk-INNFZYX2.js";
60
60
 
61
61
  // src/pages/customers/customer-detail/customer-detail.tsx
62
- import { Children } from "react";
63
62
  import { useLoaderData, useParams } from "react-router-dom";
64
- import { PermissionGuard, WidgetZone, useLinkQuery } from "@mercurjs/dashboard-shared";
63
+ import {
64
+ LayoutComposer,
65
+ PermissionGuard,
66
+ detailPageDefaultEntries,
67
+ useLinkQuery
68
+ } from "@mercurjs/dashboard-shared";
65
69
 
66
70
  // src/pages/customers/customer-detail/components/customer-address-section/customer-address-section.tsx
67
71
  import { Button, clx, Container, Heading, toast, usePrompt } from "@medusajs/ui";
@@ -800,8 +804,8 @@ var useColumns2 = () => {
800
804
  };
801
805
 
802
806
  // src/pages/customers/customer-detail/customer-detail.tsx
803
- import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
804
- var Root = ({ children }) => {
807
+ import { Fragment, jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
808
+ var CustomerDetailPage = () => {
805
809
  const { id } = useParams();
806
810
  const initialData = useLoaderData();
807
811
  const query = useLinkQuery("customer", "+*addresses");
@@ -814,23 +818,24 @@ var Root = ({ children }) => {
814
818
  if (isError) {
815
819
  throw error;
816
820
  }
817
- return Children.count(children) > 0 ? /* @__PURE__ */ jsx6(TwoColumnPage, { data: customer, hasOutlet: true, showJSON: true, showMetadata: true, children }) : /* @__PURE__ */ jsxs6(TwoColumnPage, { data: customer, hasOutlet: true, showJSON: true, showMetadata: true, children: [
818
- /* @__PURE__ */ jsx6(TwoColumnPage.Main, { children: /* @__PURE__ */ jsxs6(WidgetZone, { id: "customers.detail.main", data: customer, children: [
819
- /* @__PURE__ */ jsx6(CustomerGeneralSection, { customer }),
820
- /* @__PURE__ */ jsx6(PermissionGuard, { permission: "orders:view", children: /* @__PURE__ */ jsx6(CustomerOrderSection, { customer }) }),
821
- /* @__PURE__ */ jsx6(PermissionGuard, { permission: "customer_groups:view", children: /* @__PURE__ */ jsx6(CustomerGroupSection, { customer }) })
822
- ] }) }),
823
- /* @__PURE__ */ jsx6(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx6(WidgetZone, { id: "customers.detail.side", data: customer, children: /* @__PURE__ */ jsx6(CustomerAddressSection, { customer }) }) })
824
- ] });
821
+ return /* @__PURE__ */ jsx6(
822
+ LayoutComposer,
823
+ {
824
+ widgetsZonePrefix: "customers.detail",
825
+ preferredLayoutId: CORE_LAYOUT_IDS.TWO_COLUMN,
826
+ data: customer,
827
+ sections: {
828
+ main: /* @__PURE__ */ jsxs6(Fragment, { children: [
829
+ /* @__PURE__ */ jsx6(LayoutComposer.Entry, { id: "CustomerGeneralSection", children: /* @__PURE__ */ jsx6(CustomerGeneralSection, { customer }) }),
830
+ /* @__PURE__ */ jsx6(LayoutComposer.Entry, { id: "CustomerOrderSection", children: /* @__PURE__ */ jsx6(PermissionGuard, { permission: "orders:view", children: /* @__PURE__ */ jsx6(CustomerOrderSection, { customer }) }) }),
831
+ /* @__PURE__ */ jsx6(LayoutComposer.Entry, { id: "CustomerGroupSection", children: /* @__PURE__ */ jsx6(PermissionGuard, { permission: "customer_groups:view", children: /* @__PURE__ */ jsx6(CustomerGroupSection, { customer }) }) }),
832
+ detailPageDefaultEntries(customer)
833
+ ] }),
834
+ side: /* @__PURE__ */ jsx6(Fragment, { children: /* @__PURE__ */ jsx6(LayoutComposer.Entry, { id: "CustomerAddressSection", children: /* @__PURE__ */ jsx6(CustomerAddressSection, { customer }) }) })
835
+ }
836
+ }
837
+ );
825
838
  };
826
- var CustomerDetailPage = Object.assign(Root, {
827
- Main: TwoColumnPage.Main,
828
- Sidebar: TwoColumnPage.Sidebar,
829
- MainGeneralSection: CustomerGeneralSection,
830
- MainOrderSection: CustomerOrderSection,
831
- MainGroupSection: CustomerGroupSection,
832
- SidebarAddressSection: CustomerAddressSection
833
- });
834
839
 
835
840
  export {
836
841
  CustomerDetailPage
@@ -8,8 +8,8 @@ import {
8
8
  useCustomerTableQuery
9
9
  } from "./chunk-GRH7C3QN.js";
10
10
  import {
11
- SingleColumnPage
12
- } from "./chunk-H6MYB7GB.js";
11
+ CORE_LAYOUT_IDS
12
+ } from "./chunk-W27KYAMV.js";
13
13
  import {
14
14
  ActionMenu
15
15
  } from "./chunk-3UOYBH5O.js";
@@ -28,9 +28,12 @@ import {
28
28
  } from "./chunk-INNFZYX2.js";
29
29
 
30
30
  // src/pages/customer-groups/customer-group-detail/customer-group-detail.tsx
31
- import { Children } from "react";
32
31
  import { useLoaderData, useParams } from "react-router-dom";
33
- import { useLinkQuery, WidgetZone } from "@mercurjs/dashboard-shared";
32
+ import {
33
+ LayoutComposer,
34
+ detailPageDefaultEntries,
35
+ useLinkQuery
36
+ } from "@mercurjs/dashboard-shared";
34
37
 
35
38
  // src/pages/customer-groups/customer-group-detail/components/customer-group-customer-section/customer-group-customer-section.tsx
36
39
  import { PencilSquare, Trash } from "@medusajs/icons";
@@ -341,8 +344,8 @@ var CustomerGroupGeneralSection = ({
341
344
  var CUSTOMER_GROUP_DETAIL_FIELDS = "+customers.id,+seller.id,+seller.name";
342
345
 
343
346
  // src/pages/customer-groups/customer-group-detail/customer-group-detail.tsx
344
- import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
345
- var Root = ({ children }) => {
347
+ import { Fragment, jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
348
+ var CustomerGroupDetailPage = () => {
346
349
  const initialData = useLoaderData();
347
350
  const { id } = useParams();
348
351
  const query = useLinkQuery("customer_group", CUSTOMER_GROUP_DETAIL_FIELDS);
@@ -357,15 +360,22 @@ var Root = ({ children }) => {
357
360
  if (isError) {
358
361
  throw error;
359
362
  }
360
- return Children.count(children) > 0 ? /* @__PURE__ */ jsx3(SingleColumnPage, { showJSON: true, showMetadata: true, data: customer_group, children }) : /* @__PURE__ */ jsx3(SingleColumnPage, { showJSON: true, showMetadata: true, data: customer_group, children: /* @__PURE__ */ jsxs3(WidgetZone, { id: "customer-groups.detail.main", data: customer_group, children: [
361
- /* @__PURE__ */ jsx3(CustomerGroupGeneralSection, { group: customer_group }),
362
- /* @__PURE__ */ jsx3(CustomerGroupCustomerSection, { group: customer_group })
363
- ] }) });
363
+ return /* @__PURE__ */ jsx3(
364
+ LayoutComposer,
365
+ {
366
+ widgetsZonePrefix: "customer-groups.detail",
367
+ preferredLayoutId: CORE_LAYOUT_IDS.SINGLE_COLUMN,
368
+ data: customer_group,
369
+ sections: {
370
+ main: /* @__PURE__ */ jsxs3(Fragment, { children: [
371
+ /* @__PURE__ */ jsx3(LayoutComposer.Entry, { id: "CustomerGroupGeneralSection", children: /* @__PURE__ */ jsx3(CustomerGroupGeneralSection, { group: customer_group }) }),
372
+ /* @__PURE__ */ jsx3(LayoutComposer.Entry, { id: "CustomerGroupCustomerSection", children: /* @__PURE__ */ jsx3(CustomerGroupCustomerSection, { group: customer_group }) }),
373
+ detailPageDefaultEntries(customer_group)
374
+ ] })
375
+ }
376
+ }
377
+ );
364
378
  };
365
- var CustomerGroupDetailPage = Object.assign(Root, {
366
- GeneralSection: CustomerGroupGeneralSection,
367
- CustomerSection: CustomerGroupCustomerSection
368
- });
369
379
 
370
380
  export {
371
381
  CUSTOMER_GROUP_DETAIL_FIELDS,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  useSalesChannels
3
- } from "./chunk-TPXDWHKN.js";
3
+ } from "./chunk-OXMGCNW5.js";
4
4
  import {
5
5
  useRegions
6
- } from "./chunk-6W57K3PC.js";
6
+ } from "./chunk-4PVK5DOS.js";
7
7
 
8
8
  // src/hooks/table/filters/use-order-table-filters.tsx
9
9
  import { usePermissions } from "@mercurjs/dashboard-shared";
@@ -7,22 +7,22 @@ import {
7
7
  import {
8
8
  getFormattedAddress
9
9
  } from "./chunk-W6Y3PPU5.js";
10
+ import {
11
+ formatProvider
12
+ } from "./chunk-VW56KWO2.js";
10
13
  import {
11
14
  isOptionEnabledInStore,
12
15
  isReturnOption
13
16
  } from "./chunk-HC25LNX7.js";
14
- import {
15
- formatProvider
16
- } from "./chunk-VW56KWO2.js";
17
17
  import {
18
18
  LinkButton
19
19
  } from "./chunk-7AV5EJJ5.js";
20
+ import {
21
+ CORE_LAYOUT_IDS
22
+ } from "./chunk-W27KYAMV.js";
20
23
  import {
21
24
  countries
22
25
  } from "./chunk-JRTZWK77.js";
23
- import {
24
- TwoColumnPage
25
- } from "./chunk-E74OUNA3.js";
26
26
  import {
27
27
  ActionMenu
28
28
  } from "./chunk-3UOYBH5O.js";
@@ -41,7 +41,7 @@ import {
41
41
  } from "./chunk-Y5ZZOV2D.js";
42
42
  import {
43
43
  useSalesChannels
44
- } from "./chunk-TPXDWHKN.js";
44
+ } from "./chunk-OXMGCNW5.js";
45
45
  import {
46
46
  NoRecords
47
47
  } from "./chunk-4J74G7N2.js";
@@ -50,7 +50,6 @@ import {
50
50
  } from "./chunk-INNFZYX2.js";
51
51
 
52
52
  // src/pages/locations/location-detail/location-detail.tsx
53
- import { Children } from "react";
54
53
  import { useLoaderData, useParams } from "react-router-dom";
55
54
 
56
55
  // src/pages/locations/location-detail/components/location-general-section/location-general-section.tsx
@@ -688,7 +687,10 @@ function LocationsSalesChannelsSection({
688
687
  var locations_sales_channels_section_default = LocationsSalesChannelsSection;
689
688
 
690
689
  // src/pages/locations/location-detail/location-detail.tsx
691
- import { WidgetZone } from "@mercurjs/dashboard-shared";
690
+ import {
691
+ LayoutComposer,
692
+ detailPageDefaultEntries
693
+ } from "@mercurjs/dashboard-shared";
692
694
 
693
695
  // src/pages/locations/location-detail/components/location-fulfillment-providers-section/location-fulfillment-providers-section.tsx
694
696
  import { HandTruck, PencilSquare as PencilSquare3 } from "@medusajs/icons";
@@ -758,8 +760,8 @@ var location_fulfillment_providers_section_default = LocationsFulfillmentProvide
758
760
  var LOCATION_DETAILS_FIELD = "name,*sales_channels,*address,fulfillment_sets.type,fulfillment_sets.name,*fulfillment_sets.service_zones.geo_zones,*fulfillment_sets.service_zones,*fulfillment_sets.service_zones.shipping_options,*fulfillment_sets.service_zones.shipping_options.rules,*fulfillment_sets.service_zones.shipping_options.shipping_profile,*fulfillment_providers";
759
761
 
760
762
  // src/pages/locations/location-detail/location-detail.tsx
761
- import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
762
- var Root = ({ children }) => {
763
+ import { Fragment as Fragment3, jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
764
+ var LocationDetailPage = () => {
763
765
  const initialData = useLoaderData();
764
766
  const { location_id } = useParams();
765
767
  const {
@@ -778,39 +780,26 @@ var Root = ({ children }) => {
778
780
  if (isError) {
779
781
  throw error;
780
782
  }
781
- return Children.count(children) > 0 ? /* @__PURE__ */ jsx4(
782
- TwoColumnPage,
783
- {
784
- data: location,
785
- showJSON: true,
786
- hasOutlet: true,
787
- "data-testid": "location-detail-page",
788
- children
789
- }
790
- ) : /* @__PURE__ */ jsxs4(
791
- TwoColumnPage,
783
+ return /* @__PURE__ */ jsx4(
784
+ LayoutComposer,
792
785
  {
786
+ widgetsZonePrefix: "locations.detail",
787
+ preferredLayoutId: CORE_LAYOUT_IDS.TWO_COLUMN,
793
788
  data: location,
794
- showJSON: true,
795
- hasOutlet: true,
796
789
  "data-testid": "location-detail-page",
797
- children: [
798
- /* @__PURE__ */ jsx4(TwoColumnPage.Main, { "data-testid": "location-detail-main", children: /* @__PURE__ */ jsx4(WidgetZone, { id: "locations.detail.main", data: location, children: /* @__PURE__ */ jsx4(LocationGeneralSection, { location }) }) }),
799
- /* @__PURE__ */ jsx4(TwoColumnPage.Sidebar, { "data-testid": "location-detail-sidebar", children: /* @__PURE__ */ jsxs4(WidgetZone, { id: "locations.detail.side", data: location, children: [
800
- /* @__PURE__ */ jsx4(locations_sales_channels_section_default, { location }),
801
- /* @__PURE__ */ jsx4(location_fulfillment_providers_section_default, { location })
802
- ] }) })
803
- ]
790
+ sections: {
791
+ main: /* @__PURE__ */ jsxs4(Fragment3, { children: [
792
+ /* @__PURE__ */ jsx4(LayoutComposer.Entry, { id: "LocationGeneralSection", children: /* @__PURE__ */ jsx4(LocationGeneralSection, { location }) }),
793
+ detailPageDefaultEntries(location, { metadata: false })
794
+ ] }),
795
+ side: /* @__PURE__ */ jsxs4(Fragment3, { children: [
796
+ /* @__PURE__ */ jsx4(LayoutComposer.Entry, { id: "LocationsSalesChannelsSection", children: /* @__PURE__ */ jsx4(locations_sales_channels_section_default, { location }) }),
797
+ /* @__PURE__ */ jsx4(LayoutComposer.Entry, { id: "LocationsFulfillmentProvidersSection", children: /* @__PURE__ */ jsx4(location_fulfillment_providers_section_default, { location }) })
798
+ ] })
799
+ }
804
800
  }
805
801
  );
806
802
  };
807
- var LocationDetailPage = Object.assign(Root, {
808
- Main: TwoColumnPage.Main,
809
- Sidebar: TwoColumnPage.Sidebar,
810
- MainGeneralSection: LocationGeneralSection,
811
- SidebarSalesChannelsSection: locations_sales_channels_section_default,
812
- SidebarFulfillmentProvidersSection: location_fulfillment_providers_section_default
813
- });
814
803
 
815
804
  export {
816
805
  LOCATION_DETAILS_FIELD,
@@ -11,12 +11,12 @@ import {
11
11
  import {
12
12
  SectionRow
13
13
  } from "./chunk-3XPXUIK3.js";
14
+ import {
15
+ CORE_LAYOUT_IDS
16
+ } from "./chunk-W27KYAMV.js";
14
17
  import {
15
18
  PlaceholderCell
16
19
  } from "./chunk-PHOCVOZ5.js";
17
- import {
18
- TwoColumnPage
19
- } from "./chunk-E74OUNA3.js";
20
20
  import {
21
21
  Thumbnail
22
22
  } from "./chunk-U3I6S3RO.js";
@@ -29,7 +29,7 @@ import {
29
29
  import {
30
30
  useDeleteReservationItem,
31
31
  useReservationItems
32
- } from "./chunk-PJUW7FBR.js";
32
+ } from "./chunk-ALZEKBOB.js";
33
33
  import {
34
34
  useQueryParams
35
35
  } from "./chunk-THHRRYRS.js";
@@ -48,7 +48,7 @@ import {
48
48
  inventoryItemsQueryKeys,
49
49
  useInventoryItem,
50
50
  useInventoryItemLevels
51
- } from "./chunk-C54WZEEX.js";
51
+ } from "./chunk-VSTQAHPX.js";
52
52
  import {
53
53
  queryClient
54
54
  } from "./chunk-2KCF3ZIB.js";
@@ -57,9 +57,13 @@ import {
57
57
  } from "./chunk-PFJ2C667.js";
58
58
 
59
59
  // src/pages/inventory/inventory-detail/inventory-detail.tsx
60
- import { Children } from "react";
61
60
  import { useLoaderData, useParams } from "react-router-dom";
62
- import { PermissionGuard, useLinkQuery, WidgetZone } from "@mercurjs/dashboard-shared";
61
+ import {
62
+ LayoutComposer,
63
+ PermissionGuard,
64
+ detailPageDefaultEntries,
65
+ useLinkQuery
66
+ } from "@mercurjs/dashboard-shared";
63
67
 
64
68
  // src/pages/inventory/inventory-detail/components/inventory-item-attributes/attributes-section.tsx
65
69
  import { Container, Heading } from "@medusajs/ui";
@@ -868,8 +872,8 @@ var AssociatedOffersSection = ({
868
872
  var INVENTORY_DETAIL_FIELDS = "*variants,*variants.product,*variants.options,+offers.id,+offers.sku,+offers.seller_id,+offers.product_id,+offers.product_variant.title,+offers.product_variant.product.title,+offers.product_variant.product.thumbnail";
869
873
 
870
874
  // src/pages/inventory/inventory-detail/inventory-detail.tsx
871
- import { jsx as jsx12, jsxs as jsxs6 } from "react/jsx-runtime";
872
- var Root = ({ children }) => {
875
+ import { Fragment, jsx as jsx12, jsxs as jsxs6 } from "react/jsx-runtime";
876
+ var InventoryDetailPage = () => {
873
877
  const { id } = useParams();
874
878
  const initialData = useLoaderData();
875
879
  const {
@@ -898,32 +902,38 @@ var Root = ({ children }) => {
898
902
  if (isError) {
899
903
  throw error;
900
904
  }
901
- return Children.count(children) > 0 ? /* @__PURE__ */ jsx12(TwoColumnPage, { data: inventory_item, showJSON: true, showMetadata: true, "data-testid": "inventory-detail-page", children }) : /* @__PURE__ */ jsxs6(TwoColumnPage, { data: inventory_item, showJSON: true, showMetadata: true, "data-testid": "inventory-detail-page", children: [
902
- /* @__PURE__ */ jsx12(TwoColumnPage.Main, { "data-testid": "inventory-detail-main", children: /* @__PURE__ */ jsxs6(WidgetZone, { id: "inventory.detail.main", data: inventory_item, children: [
903
- /* @__PURE__ */ jsx12(InventoryItemGeneralSection, { inventoryItem: inventory_item }),
904
- /* @__PURE__ */ jsx12(
905
- InventoryItemLocationLevelsSection,
906
- {
907
- inventoryItem: inventory_item
908
- }
909
- ),
910
- /* @__PURE__ */ jsx12(PermissionGuard, { permission: "reservations:view", children: /* @__PURE__ */ jsx12(InventoryItemReservationsSection, { inventoryItem: inventory_item }) })
911
- ] }) }),
912
- /* @__PURE__ */ jsx12(TwoColumnPage.Sidebar, { "data-testid": "inventory-detail-sidebar", children: /* @__PURE__ */ jsxs6(WidgetZone, { id: "inventory.detail.side", data: inventory_item, children: [
913
- /* @__PURE__ */ jsx12(AssociatedOffersSection, { offers: inventory_item.offers }),
914
- /* @__PURE__ */ jsx12(InventoryItemAttributeSection, { inventoryItem: inventory_item })
915
- ] }) })
916
- ] });
905
+ return /* @__PURE__ */ jsx12(
906
+ LayoutComposer,
907
+ {
908
+ widgetsZonePrefix: "inventory.detail",
909
+ preferredLayoutId: CORE_LAYOUT_IDS.TWO_COLUMN,
910
+ data: inventory_item,
911
+ "data-testid": "inventory-detail-page",
912
+ sections: {
913
+ main: /* @__PURE__ */ jsxs6(Fragment, { children: [
914
+ /* @__PURE__ */ jsx12(LayoutComposer.Entry, { id: "InventoryItemGeneralSection", children: /* @__PURE__ */ jsx12(InventoryItemGeneralSection, { inventoryItem: inventory_item }) }),
915
+ /* @__PURE__ */ jsx12(LayoutComposer.Entry, { id: "InventoryItemLocationLevelsSection", children: /* @__PURE__ */ jsx12(
916
+ InventoryItemLocationLevelsSection,
917
+ {
918
+ inventoryItem: inventory_item
919
+ }
920
+ ) }),
921
+ /* @__PURE__ */ jsx12(LayoutComposer.Entry, { id: "InventoryItemReservationsSection", children: /* @__PURE__ */ jsx12(PermissionGuard, { permission: "reservations:view", children: /* @__PURE__ */ jsx12(
922
+ InventoryItemReservationsSection,
923
+ {
924
+ inventoryItem: inventory_item
925
+ }
926
+ ) }) }),
927
+ detailPageDefaultEntries(inventory_item)
928
+ ] }),
929
+ side: /* @__PURE__ */ jsxs6(Fragment, { children: [
930
+ /* @__PURE__ */ jsx12(LayoutComposer.Entry, { id: "AssociatedOffersSection", children: /* @__PURE__ */ jsx12(AssociatedOffersSection, { offers: inventory_item.offers }) }),
931
+ /* @__PURE__ */ jsx12(LayoutComposer.Entry, { id: "InventoryItemAttributeSection", children: /* @__PURE__ */ jsx12(InventoryItemAttributeSection, { inventoryItem: inventory_item }) })
932
+ ] })
933
+ }
934
+ }
935
+ );
917
936
  };
918
- var InventoryDetailPage = Object.assign(Root, {
919
- Main: TwoColumnPage.Main,
920
- Sidebar: TwoColumnPage.Sidebar,
921
- MainGeneralSection: InventoryItemGeneralSection,
922
- MainLocationLevelsSection: InventoryItemLocationLevelsSection,
923
- MainReservationsSection: InventoryItemReservationsSection,
924
- SidebarOffersSection: AssociatedOffersSection,
925
- SidebarAttributeSection: InventoryItemAttributeSection
926
- });
927
937
 
928
938
  export {
929
939
  INVENTORY_DETAIL_FIELDS,
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-7AV5EJJ5.js";
4
4
  import {
5
5
  useDeleteProductCategoryAction
6
- } from "./chunk-YNFKPKE2.js";
6
+ } from "./chunk-KJSKFONN.js";
7
7
  import {
8
8
  getCategoryChildren,
9
9
  getCategoryPath,
@@ -14,25 +14,25 @@ import {
14
14
  getCategoryGallery,
15
15
  getCategoryIcon
16
16
  } from "./chunk-HCWV2UTG.js";
17
+ import {
18
+ CORE_LAYOUT_IDS
19
+ } from "./chunk-W27KYAMV.js";
17
20
  import {
18
21
  useProductTableColumns
19
- } from "./chunk-QNH2UAGS.js";
22
+ } from "./chunk-BAVZ3YR2.js";
20
23
  import {
21
24
  useProductTableFilters
22
- } from "./chunk-7F6ILJAJ.js";
25
+ } from "./chunk-2DSZAOBF.js";
23
26
  import {
24
27
  useProductTableQuery
25
28
  } from "./chunk-S4IDR46L.js";
26
- import {
27
- TwoColumnPage
28
- } from "./chunk-E74OUNA3.js";
29
29
  import {
30
30
  ActionMenu
31
31
  } from "./chunk-3UOYBH5O.js";
32
32
  import {
33
33
  useProductCategory,
34
34
  useUpdateProductCategoryProducts
35
- } from "./chunk-YP2DOA53.js";
35
+ } from "./chunk-XDM2SRR4.js";
36
36
  import {
37
37
  _DataTable,
38
38
  useDataTable
@@ -43,11 +43,15 @@ import {
43
43
  } from "./chunk-INNFZYX2.js";
44
44
  import {
45
45
  useProducts
46
- } from "./chunk-C54WZEEX.js";
46
+ } from "./chunk-VSTQAHPX.js";
47
47
 
48
48
  // src/pages/categories/category-detail/category-detail.tsx
49
- import { PermissionGuard, useLinkQuery, WidgetZone } from "@mercurjs/dashboard-shared";
50
- import { Children } from "react";
49
+ import {
50
+ LayoutComposer,
51
+ PermissionGuard,
52
+ detailPageDefaultEntries,
53
+ useLinkQuery
54
+ } from "@mercurjs/dashboard-shared";
51
55
  import { useLoaderData, useParams } from "react-router-dom";
52
56
 
53
57
  // src/pages/categories/category-detail/components/category-general-section/category-general-section.tsx
@@ -632,8 +636,8 @@ var useColumns = () => {
632
636
  };
633
637
 
634
638
  // src/pages/categories/category-detail/category-detail.tsx
635
- import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
636
- var Root = ({ children }) => {
639
+ import { Fragment, jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
640
+ var CategoryDetailPage = () => {
637
641
  const { id } = useParams();
638
642
  const initialData = useLoaderData();
639
643
  const linkQuery = useLinkQuery("category");
@@ -658,25 +662,26 @@ var Root = ({ children }) => {
658
662
  if (isError) {
659
663
  throw error;
660
664
  }
661
- return Children.count(children) > 0 ? /* @__PURE__ */ jsx6(TwoColumnPage, { showJSON: true, showMetadata: true, data: product_category, "data-testid": "category-detail-page", children }) : /* @__PURE__ */ jsxs6(TwoColumnPage, { showJSON: true, showMetadata: true, data: product_category, "data-testid": "category-detail-page", children: [
662
- /* @__PURE__ */ jsx6(TwoColumnPage.Main, { children: /* @__PURE__ */ jsxs6(WidgetZone, { id: "categories.detail.main", data: product_category, children: [
663
- /* @__PURE__ */ jsx6(CategoryGeneralSection, { category: product_category }),
664
- /* @__PURE__ */ jsx6(CategoryMediaSection, { category: product_category }),
665
- /* @__PURE__ */ jsx6(CategoryIconSection, { category: product_category }),
666
- /* @__PURE__ */ jsx6(PermissionGuard, { permission: "products:view", children: /* @__PURE__ */ jsx6(CategoryProductSection, { category: product_category }) })
667
- ] }) }),
668
- /* @__PURE__ */ jsx6(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx6(WidgetZone, { id: "categories.detail.side", data: product_category, children: /* @__PURE__ */ jsx6(CategoryOrganizeSection, { category: product_category }) }) })
669
- ] });
665
+ return /* @__PURE__ */ jsx6(
666
+ LayoutComposer,
667
+ {
668
+ widgetsZonePrefix: "categories.detail",
669
+ preferredLayoutId: CORE_LAYOUT_IDS.TWO_COLUMN,
670
+ data: product_category,
671
+ "data-testid": "category-detail-page",
672
+ sections: {
673
+ main: /* @__PURE__ */ jsxs6(Fragment, { children: [
674
+ /* @__PURE__ */ jsx6(LayoutComposer.Entry, { id: "CategoryGeneralSection", children: /* @__PURE__ */ jsx6(CategoryGeneralSection, { category: product_category }) }),
675
+ /* @__PURE__ */ jsx6(LayoutComposer.Entry, { id: "CategoryMediaSection", children: /* @__PURE__ */ jsx6(CategoryMediaSection, { category: product_category }) }),
676
+ /* @__PURE__ */ jsx6(LayoutComposer.Entry, { id: "CategoryIconSection", children: /* @__PURE__ */ jsx6(CategoryIconSection, { category: product_category }) }),
677
+ /* @__PURE__ */ jsx6(LayoutComposer.Entry, { id: "CategoryProductSection", children: /* @__PURE__ */ jsx6(PermissionGuard, { permission: "products:view", children: /* @__PURE__ */ jsx6(CategoryProductSection, { category: product_category }) }) }),
678
+ detailPageDefaultEntries(product_category)
679
+ ] }),
680
+ side: /* @__PURE__ */ jsx6(Fragment, { children: /* @__PURE__ */ jsx6(LayoutComposer.Entry, { id: "CategoryOrganizeSection", children: /* @__PURE__ */ jsx6(CategoryOrganizeSection, { category: product_category }) }) })
681
+ }
682
+ }
683
+ );
670
684
  };
671
- var CategoryDetailPage = Object.assign(Root, {
672
- Main: TwoColumnPage.Main,
673
- Sidebar: TwoColumnPage.Sidebar,
674
- MainGeneralSection: CategoryGeneralSection,
675
- MainMediaSection: CategoryMediaSection,
676
- MainIconSection: CategoryIconSection,
677
- MainProductSection: CategoryProductSection,
678
- SidebarOrganizeSection: CategoryOrganizeSection
679
- });
680
685
 
681
686
  export {
682
687
  CategoryDetailPage
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-3UOYBH5O.js";
4
4
  import {
5
5
  useUpdateProduct
6
- } from "./chunk-C54WZEEX.js";
6
+ } from "./chunk-VSTQAHPX.js";
7
7
 
8
8
  // src/pages/products/product-detail/components/product-media-section/product-media-section.tsx
9
9
  import { PencilSquare, ThumbnailBadge } from "@medusajs/icons";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  usePayoutTableFilters
3
- } from "./chunk-QMURCXV6.js";
3
+ } from "./chunk-IEWKW6XR.js";
4
4
  import {
5
5
  usePayoutTableColumns
6
6
  } from "./chunk-2DG56CBS.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  salesChannelsQueryKeys
3
- } from "./chunk-TPXDWHKN.js";
3
+ } from "./chunk-OXMGCNW5.js";
4
4
  import {
5
5
  queryClient,
6
6
  queryKeysFactory
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  productsQueryKeys
3
- } from "./chunk-C54WZEEX.js";
3
+ } from "./chunk-VSTQAHPX.js";
4
4
  import {
5
5
  queryClient,
6
6
  queryKeysFactory
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getPromotionStatus,
3
3
  getPromotionType
4
- } from "./chunk-BHAZEG34.js";
4
+ } from "./chunk-TSZA5X7R.js";
5
5
  import {
6
6
  TextCell,
7
7
  TextHeader
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-5V7TZO2C.js";
4
4
  import {
5
5
  useReturnReasonTableQuery
6
- } from "./chunk-MD36ZSRC.js";
6
+ } from "./chunk-FU47OX4X.js";
7
7
  import {
8
8
  useDeleteReturnReason,
9
9
  useReturnReasons