@mercurjs/admin 2.2.0-canary.7 → 2.2.0-canary.8

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 (160) hide show
  1. package/dist/{add-campaign-promotions-2XFYP6GK.js → add-campaign-promotions-RURZSD6G.js} +3 -3
  2. package/dist/{adjust-inventory-EAAPNIBZ.js → adjust-inventory-4PM2YZK3.js} +2 -3
  3. package/dist/{api-key-management-detail-PIN6NFQF.js → api-key-management-detail-BG7U2KCT.js} +3 -4
  4. package/dist/{attribute-create-WDJSDXKD.js → attribute-create-L6YA6HTF.js} +35 -11
  5. package/dist/{attribute-detail-3JGQV7BG.js → attribute-detail-Q3P7SCZ2.js} +3 -4
  6. package/dist/{attribute-edit-SSG3XZOJ.js → attribute-edit-LUY66TG3.js} +2 -2
  7. package/dist/{attribute-edit-possible-value-5TBYLJY4.js → attribute-edit-possible-value-IOS3625C.js} +2 -2
  8. package/dist/{attribute-list-URWKNTSJ.js → attribute-list-RUMLW7EI.js} +2 -3
  9. package/dist/{campaign-detail-336RBLOX.js → campaign-detail-JFNFC6FY.js} +6 -7
  10. package/dist/{categories-metadata-5GXBBHEH.js → categories-metadata-5THJAHOA.js} +2 -3
  11. package/dist/{category-detail-RIKOZMPK.js → category-detail-7Y76K4I5.js} +7 -8
  12. package/dist/{category-products-255EJFTV.js → category-products-T525MDHE.js} +6 -7
  13. package/dist/{chunk-LD7NVG2X.js → chunk-2666PZI5.js} +2 -2
  14. package/dist/{chunk-GPJ6KVY2.js → chunk-2AFIUBWT.js} +2 -2
  15. package/dist/{chunk-Y6GMH5KH.js → chunk-362ZBMNT.js} +1 -1
  16. package/dist/{chunk-VERWLDVW.js → chunk-3UKIBKFD.js} +3 -3
  17. package/dist/{chunk-BEJ3IR7B.js → chunk-3VDLE5GA.js} +9 -1
  18. package/dist/{chunk-LXMGYWPO.js → chunk-45LX4LPV.js} +2 -2
  19. package/dist/{chunk-6RHAGO5O.js → chunk-4TWWSI7H.js} +2 -2
  20. package/dist/{chunk-CKPGRDZS.js → chunk-5MVC35DX.js} +1 -1
  21. package/dist/{chunk-72SSKT5O.js → chunk-B2STTXQV.js} +1 -1
  22. package/dist/{chunk-SFHM7YDA.js → chunk-EJBFKCC5.js} +2 -2
  23. package/dist/{chunk-SS7LB52P.js → chunk-FGWD66ZZ.js} +4 -4
  24. package/dist/{chunk-ISJOBO5P.js → chunk-FJLKDTNA.js} +6 -3
  25. package/dist/{chunk-UNOG2S56.js → chunk-GOWTUDQ3.js} +4 -4
  26. package/dist/{chunk-LO7NJYHZ.js → chunk-HEX3M4TL.js} +2 -2
  27. package/dist/{chunk-NMFVQDVF.js → chunk-HJKZBCDB.js} +2 -2
  28. package/dist/{chunk-D2NBZVQC.js → chunk-I7L2Q6AL.js} +2 -2
  29. package/dist/{chunk-34OFJ74B.js → chunk-JB6QDJN3.js} +2 -2
  30. package/dist/{chunk-M5AJSIRN.js → chunk-JSMUFZZN.js} +1 -1
  31. package/dist/{chunk-TE245WV3.js → chunk-LSLPZITW.js} +2 -2
  32. package/dist/{chunk-UFGVU7RF.js → chunk-LXJH3DOV.js} +1 -1
  33. package/dist/{chunk-XAIID3PU.js → chunk-MU63NHPX.js} +3 -3
  34. package/dist/{chunk-Q6VW2MR5.js → chunk-NC46O6TE.js} +1 -1
  35. package/dist/{chunk-MFI5TG54.js → chunk-NPQKCEAH.js} +2 -2
  36. package/dist/{chunk-6NDM5WGE.js → chunk-OMBP3YSV.js} +1 -1
  37. package/dist/{chunk-TNNQPNXY.js → chunk-OPX5O57R.js} +1 -1
  38. package/dist/{chunk-6XTHMAA2.js → chunk-PK645GWX.js} +1 -1
  39. package/dist/{chunk-2XVH2IJL.js → chunk-PK6LEBI7.js} +2 -2
  40. package/dist/{chunk-CKUIM5ZD.js → chunk-QJUWQDTX.js} +2 -2
  41. package/dist/{chunk-5J2HQOKK.js → chunk-U4IQFWPI.js} +1 -1
  42. package/dist/{chunk-F5H5JZQZ.js → chunk-UCYSCKZV.js} +0 -9
  43. package/dist/{chunk-2MVNFKL6.js → chunk-UGC6Z6CQ.js} +2 -2
  44. package/dist/{chunk-G3GSRFTB.js → chunk-UQORUXQR.js} +2 -2
  45. package/dist/{chunk-WRVGLMRW.js → chunk-URZCZO6F.js} +1 -1
  46. package/dist/{chunk-6WBQDJIH.js → chunk-VXMTBOKI.js} +58 -48
  47. package/dist/{chunk-N3334MXP.js → chunk-W4GX5X5E.js} +1 -1
  48. package/dist/{chunk-FUE374HM.js → chunk-WCSHDVMB.js} +8 -47
  49. package/dist/{chunk-UKDC2AQR.js → chunk-WPVDACTL.js} +1 -1
  50. package/dist/{chunk-GIVLDQXN.js → chunk-WVJJGXM5.js} +1 -1
  51. package/dist/{collection-add-products-4ZTBHENL.js → collection-add-products-6HKW4CCS.js} +6 -7
  52. package/dist/{collection-detail-W7OC2ALM.js → collection-detail-BCIH2FB7.js} +7 -8
  53. package/dist/{collection-list-B7LALPSA.js → collection-list-O24SYINI.js} +6 -7
  54. package/dist/{collection-metadata-E4C54MTU.js → collection-metadata-5VPC4CJI.js} +2 -3
  55. package/dist/{commission-rate-create-7MEIKAXK.js → commission-rate-create-7NSSEEH5.js} +8 -9
  56. package/dist/{commission-rate-detail-XBMB3Y7S.js → commission-rate-detail-2FGQ3V2J.js} +2 -3
  57. package/dist/{commission-rate-edit-XXUAGK5Q.js → commission-rate-edit-NXSXX4TA.js} +8 -9
  58. package/dist/{customer-detail-ONZGPCHW.js → customer-detail-SDKM7KM5.js} +2 -3
  59. package/dist/{customer-group-detail-XTCDJX7O.js → customer-group-detail-AMZNW2XW.js} +2 -3
  60. package/dist/{customer-group-list-63ER7WQH.js → customer-group-list-ES6FKPEC.js} +2 -3
  61. package/dist/{customer-group-metadata-N7HGHXNC.js → customer-group-metadata-PU2ZQP2Z.js} +2 -3
  62. package/dist/{customer-metadata-63OWV4KB.js → customer-metadata-ZCREBYFN.js} +2 -3
  63. package/dist/{customers-add-customer-group-NUXPXNUC.js → customers-add-customer-group-SQIJ7CDL.js} +2 -3
  64. package/dist/{edit-inventory-item-YOJTYA7H.js → edit-inventory-item-JUWUPXRF.js} +2 -3
  65. package/dist/{edit-inventory-item-attributes-JGY633F2.js → edit-inventory-item-attributes-3GQMHSL2.js} +2 -3
  66. package/dist/{edit-rules-4VAD5Q3L.js → edit-rules-72KZYLNI.js} +2 -3
  67. package/dist/index.js +139 -193
  68. package/dist/{inventory-create-3NJZLSFO.js → inventory-create-QUE6RTM5.js} +2 -3
  69. package/dist/{inventory-detail-B3HU2OVR.js → inventory-detail-42GIKTMR.js} +2 -3
  70. package/dist/{inventory-metadata-WCFTI7AH.js → inventory-metadata-VLXNSQS7.js} +2 -3
  71. package/dist/{inventory-stock-M65W4GRN.js → inventory-stock-V37WSJ7V.js} +2 -3
  72. package/dist/{location-detail-2NCZD5MO.js → location-detail-PBCO6YON.js} +2 -3
  73. package/dist/{location-fulfillment-providers-3XKOFATD.js → location-fulfillment-providers-UGTP3SCR.js} +4 -5
  74. package/dist/{location-list-VS6V2FXE.js → location-list-YD4MZG2C.js} +2 -3
  75. package/dist/{location-service-zone-shipping-option-create-LAM3OHBC.js → location-service-zone-shipping-option-create-BU6RQKYU.js} +2 -3
  76. package/dist/{login-DJWU5X5L.js → login-4IJPWFIN.js} +2 -3
  77. package/dist/{marketplace-detail-IQLU7R3J.js → marketplace-detail-LFCGTWIJ.js} +2 -3
  78. package/dist/{marketplace-metadata-7DNBHUDD.js → marketplace-metadata-BCPLQY5Y.js} +2 -3
  79. package/dist/{offers-UJCSO3RD.js → offers-5L46FLHU.js} +2 -2
  80. package/dist/{order-create-exchange-O6COEAGJ.js → order-create-exchange-Z7F6FRMI.js} +2 -3
  81. package/dist/{order-create-fulfillment-Y4HQ5YRS.js → order-create-fulfillment-DC4LWQYX.js} +2 -3
  82. package/dist/{order-create-refund-TCNCSOMX.js → order-create-refund-OWCLXLH3.js} +2 -3
  83. package/dist/{order-create-shipment-EWOJJXEM.js → order-create-shipment-JSYNAOBR.js} +2 -3
  84. package/dist/{order-detail-BOW62X75.js → order-detail-7GQLUWBA.js} +3 -4
  85. package/dist/{order-edit-billing-address-VKJV3V6N.js → order-edit-billing-address-BW5NU3KC.js} +3 -4
  86. package/dist/{order-edit-email-DQJW2SAM.js → order-edit-email-GQQY2SU7.js} +2 -3
  87. package/dist/{order-edit-shipping-address-RIML4XFQ.js → order-edit-shipping-address-DMUVVAZ6.js} +2 -3
  88. package/dist/{order-list-U5DZYLJK.js → order-list-KTKSHQST.js} +2 -2
  89. package/dist/{order-metadata-WGZUETFN.js → order-metadata-YJ6LWUYD.js} +2 -3
  90. package/dist/{order-receive-return-MDUU4L4X.js → order-receive-return-QY6KQBDB.js} +2 -3
  91. package/dist/{order-request-transfer-QFUMEZPD.js → order-request-transfer-6EOWBAJP.js} +2 -3
  92. package/dist/pages/index.d.ts +1 -28
  93. package/dist/pages/index.js +48 -58
  94. package/dist/{price-list-create-J4AJG42T.js → price-list-create-F5ASYWH2.js} +7 -8
  95. package/dist/{price-list-detail-D2ETNZ5N.js → price-list-detail-Q7IODVDV.js} +7 -8
  96. package/dist/{price-list-prices-add-FQLQ5DPX.js → price-list-prices-add-C5OEGJSE.js} +7 -8
  97. package/dist/{price-list-prices-edit-4HBSUC5W.js → price-list-prices-edit-TGYZNOK4.js} +2 -3
  98. package/dist/{product-add-existing-attributes-IHCIKDIH.js → product-add-existing-attributes-NTDMPDPZ.js} +4 -5
  99. package/dist/{product-create-TRJMKG2C.js → product-create-WTEZJRJC.js} +6 -7
  100. package/dist/{product-create-variant-MVYZPDO7.js → product-create-variant-AVV4LL7R.js} +3 -3
  101. package/dist/{product-detail-I57XSYLB.js → product-detail-H25AVTG7.js} +4 -5
  102. package/dist/{product-list-PR532XII.js → product-list-X7ZL4KY5.js} +7 -8
  103. package/dist/{product-media-Y2KHDPMI.js → product-media-IE4P5WAE.js} +2 -2
  104. package/dist/{product-metadata-T2D4GEIP.js → product-metadata-3DGBHQTM.js} +2 -3
  105. package/dist/{product-organization-D6UMZAUE.js → product-organization-64KMYNZH.js} +0 -43
  106. package/dist/{product-tag-create-47G425O2.js → product-tag-create-6TDIKP6X.js} +2 -3
  107. package/dist/{product-tag-detail-VNGOBWYE.js → product-tag-detail-2OB43Q5H.js} +9 -10
  108. package/dist/{product-tag-edit-DN7IVL75.js → product-tag-edit-SJY7L6IL.js} +2 -3
  109. package/dist/{product-tag-list-ZGRJZT2U.js → product-tag-list-H4HRDCAI.js} +9 -10
  110. package/dist/{product-tag-metadata-YLDBRJMI.js → product-tag-metadata-UCMA6YAN.js} +2 -3
  111. package/dist/{product-type-detail-MPONGCVO.js → product-type-detail-WTEDFJAW.js} +7 -8
  112. package/dist/{product-type-metadata-TDAER7JD.js → product-type-metadata-3WCSSNDX.js} +2 -3
  113. package/dist/{product-variant-detail-5BF6JTHV.js → product-variant-detail-3YX6AL23.js} +2 -3
  114. package/dist/{product-variant-edit-2RHFG2CZ.js → product-variant-edit-MDXJUTQR.js} +4 -5
  115. package/dist/{product-variant-metadata-G2LLH7YK.js → product-variant-metadata-34BBPRKZ.js} +2 -3
  116. package/dist/{promotion-create-G3M4UJX2.js → promotion-create-FSXBFC6B.js} +2 -3
  117. package/dist/{promotion-detail-6D6CP457.js → promotion-detail-OKCXRU4Z.js} +5 -6
  118. package/dist/{promotion-list-TCRTBVR6.js → promotion-list-7YRTZF3S.js} +4 -4
  119. package/dist/{refund-reason-create-6RPQHIJI.js → refund-reason-create-AKZX4RAN.js} +2 -3
  120. package/dist/{refund-reason-edit-W2TVZB3N.js → refund-reason-edit-LXMQTLR6.js} +2 -3
  121. package/dist/{refund-reason-list-TS6JWYS4.js → refund-reason-list-6JXGHJRA.js} +7 -8
  122. package/dist/{region-metadata-TNSJDCBM.js → region-metadata-GS4IS7UT.js} +2 -3
  123. package/dist/{reservation-detail-KFOVTTFH.js → reservation-detail-CVV36FXP.js} +2 -3
  124. package/dist/{reservation-metadata-HBFAVVPW.js → reservation-metadata-364D3VZ7.js} +2 -3
  125. package/dist/{reset-password-7UH4IQ6R.js → reset-password-MH3JTCCE.js} +1 -1
  126. package/dist/{return-reason-list-WBLPUYD4.js → return-reason-list-J7QUYMYH.js} +5 -5
  127. package/dist/{sales-channel-add-products-IHGDKRKH.js → sales-channel-add-products-Q352GB72.js} +6 -7
  128. package/dist/{sales-channel-detail-QCFO7VUA.js → sales-channel-detail-7WO26EOP.js} +7 -8
  129. package/dist/{sales-channel-list-YNHR5EHL.js → sales-channel-list-LSKZXQQC.js} +2 -3
  130. package/dist/{sales-channel-metadata-OEQVWJRQ.js → sales-channel-metadata-Z75VZHOY.js} +2 -3
  131. package/dist/{shipping-option-type-create-SMXDCF6I.js → shipping-option-type-create-NCI2LJAA.js} +2 -3
  132. package/dist/{shipping-option-type-detail-MO3YRUVR.js → shipping-option-type-detail-YNRLWD33.js} +4 -5
  133. package/dist/{shipping-option-type-edit-KO64TZS6.js → shipping-option-type-edit-XJFALSAR.js} +2 -3
  134. package/dist/{shipping-option-type-list-6C26GWDM.js → shipping-option-type-list-HZBMHE23.js} +4 -5
  135. package/dist/{shipping-profile-metadata-FLTMLAZN.js → shipping-profile-metadata-YJMMBUYN.js} +2 -3
  136. package/dist/{store-bulk-edit-LW6ABDJK.js → store-bulk-edit-BNF3HH5K.js} +1 -1
  137. package/dist/{store-create-STR6YNFJ.js → store-create-A23PSUWX.js} +2 -3
  138. package/dist/{store-details-3U4OEFWC.js → store-details-R3J3YYR6.js} +8 -9
  139. package/dist/{store-edit-KBFFB2DI.js → store-edit-ZGBEXU4H.js} +3 -3
  140. package/dist/{store-list-PJ3U254I.js → store-list-TPMIQ6OO.js} +6 -7
  141. package/dist/{store-member-invite-AKH3KHMF.js → store-member-invite-J5XSPWMW.js} +1 -1
  142. package/dist/{tax-region-create-I2ZGT2PH.js → tax-region-create-LQU7MWPP.js} +3 -4
  143. package/dist/{tax-region-detail-LVN5XSN5.js → tax-region-detail-2KADHBYF.js} +2 -3
  144. package/dist/{tax-region-edit-4PJV5F5X.js → tax-region-edit-TAWTPUQC.js} +2 -3
  145. package/dist/{tax-region-metadata-EYRFMJLL.js → tax-region-metadata-W4R2SPDH.js} +2 -3
  146. package/dist/{tax-region-province-detail-MTHKW7LW.js → tax-region-province-detail-W6BDEQA5.js} +2 -3
  147. package/dist/{tax-region-tax-override-create-OGW3MPBD.js → tax-region-tax-override-create-M3FKWCY3.js} +8 -9
  148. package/dist/{tax-region-tax-override-edit-LTZCYN4Y.js → tax-region-tax-override-edit-4TRW73DK.js} +8 -9
  149. package/dist/{user-metadata-GIR3A7WO.js → user-metadata-XTDSENAD.js} +2 -3
  150. package/package.json +1 -1
  151. package/dist/chunk-DDANJIE7.js +0 -207
  152. package/dist/chunk-J65IXAGI.js +0 -292
  153. package/dist/chunk-V5XHY5LP.js +0 -39
  154. package/dist/chunk-ZZ3XFIEM.js +0 -84
  155. package/dist/product-brand-create-B3ZJGHUQ.js +0 -171
  156. package/dist/product-brand-detail-O7UKYV4H.js +0 -100
  157. package/dist/product-brand-edit-3TQDHZNN.js +0 -179
  158. package/dist/product-brand-list-ZBPBSRQN.js +0 -30
  159. package/dist/product-brand-metadata-N2CJ5K3Z.js +0 -87
  160. /package/dist/{chunk-46A3QXAL.js → chunk-LYREZINJ.js} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-KOURHC2N.js";
4
4
  import {
5
5
  useSellersTableQuery
6
- } from "./chunk-WRVGLMRW.js";
6
+ } from "./chunk-URZCZO6F.js";
7
7
  import {
8
8
  DateCell
9
9
  } from "./chunk-25LYVP3C.js";
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-H6MYB7GB.js";
20
20
  import {
21
21
  require_dist
22
- } from "./chunk-F5H5JZQZ.js";
22
+ } from "./chunk-UCYSCKZV.js";
23
23
  import {
24
24
  useSellers
25
25
  } from "./chunk-LEG67A2R.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-AW77UWCZ.js";
4
4
  import {
5
5
  require_dist
6
- } from "./chunk-F5H5JZQZ.js";
6
+ } from "./chunk-UCYSCKZV.js";
7
7
  import {
8
8
  __toESM
9
9
  } from "./chunk-NBMM2TZK.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  useProductTableColumns
3
- } from "./chunk-6NDM5WGE.js";
3
+ } from "./chunk-OMBP3YSV.js";
4
4
  import {
5
5
  useProductTableFilters
6
- } from "./chunk-NMFVQDVF.js";
6
+ } from "./chunk-HJKZBCDB.js";
7
7
  import {
8
8
  useProductTableQuery
9
9
  } from "./chunk-LYZDVZWA.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useDeleteShippingOptionType
3
- } from "./chunk-46A3QXAL.js";
3
+ } from "./chunk-LYREZINJ.js";
4
4
 
5
5
  // src/pages/shipping-option-types/common/hooks/use-delete-shipping-option-type-action.tsx
6
6
  import { useNavigate } from "react-router-dom";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-HC25LNX7.js";
16
16
  import {
17
17
  useShippingOptionTableQuery
18
- } from "./chunk-WRVGLMRW.js";
18
+ } from "./chunk-URZCZO6F.js";
19
19
  import {
20
20
  useProductTypeTableQuery
21
21
  } from "./chunk-VOHEQ7B5.js";
@@ -27,10 +27,10 @@ import {
27
27
  } from "./chunk-JHIMVLB2.js";
28
28
  import {
29
29
  useProductTableColumns
30
- } from "./chunk-6NDM5WGE.js";
30
+ } from "./chunk-OMBP3YSV.js";
31
31
  import {
32
32
  useProductTableFilters
33
- } from "./chunk-NMFVQDVF.js";
33
+ } from "./chunk-HJKZBCDB.js";
34
34
  import {
35
35
  useProductTableQuery
36
36
  } from "./chunk-LYZDVZWA.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-RK5N3XIX.js";
4
4
  import {
5
5
  getPromotionStatus
6
- } from "./chunk-GIVLDQXN.js";
6
+ } from "./chunk-WVJJGXM5.js";
7
7
  import {
8
8
  formatPercentage
9
9
  } from "./chunk-QDPLZDMX.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  useProductTableColumns
3
- } from "./chunk-6NDM5WGE.js";
3
+ } from "./chunk-OMBP3YSV.js";
4
4
  import {
5
5
  useProductTableFilters
6
- } from "./chunk-NMFVQDVF.js";
6
+ } from "./chunk-HJKZBCDB.js";
7
7
  import {
8
8
  useProductTableQuery
9
9
  } from "./chunk-LYZDVZWA.js";
@@ -3,7 +3,7 @@ import {
3
3
  CategoryHeader,
4
4
  ProductStatusCell,
5
5
  ProductStatusHeader
6
- } from "./chunk-UKDC2AQR.js";
6
+ } from "./chunk-WPVDACTL.js";
7
7
  import {
8
8
  ProductCell,
9
9
  ProductHeader
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useDeleteProductTag
3
- } from "./chunk-46A3QXAL.js";
3
+ } from "./chunk-LYREZINJ.js";
4
4
 
5
5
  // src/pages/product-tags/common/hooks/use-delete-product-tag-action.tsx
6
6
  import { toast, usePrompt } from "@medusajs/ui";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-KOURHC2N.js";
7
7
  import {
8
8
  useCollectionTableQuery
9
- } from "./chunk-WRVGLMRW.js";
9
+ } from "./chunk-URZCZO6F.js";
10
10
  import {
11
11
  _DataTable,
12
12
  useDataTable
@@ -12,10 +12,10 @@ import {
12
12
  } from "./chunk-Y456KVIN.js";
13
13
  import {
14
14
  useProductTableColumns
15
- } from "./chunk-6NDM5WGE.js";
15
+ } from "./chunk-OMBP3YSV.js";
16
16
  import {
17
17
  useProductTableFilters
18
- } from "./chunk-NMFVQDVF.js";
18
+ } from "./chunk-HJKZBCDB.js";
19
19
  import {
20
20
  useProductTableQuery
21
21
  } from "./chunk-LYZDVZWA.js";
@@ -12,10 +12,10 @@ import {
12
12
  } from "./chunk-RK5N3XIX.js";
13
13
  import {
14
14
  useProductTableColumns
15
- } from "./chunk-6NDM5WGE.js";
15
+ } from "./chunk-OMBP3YSV.js";
16
16
  import {
17
17
  useProductTableFilters
18
- } from "./chunk-NMFVQDVF.js";
18
+ } from "./chunk-HJKZBCDB.js";
19
19
  import {
20
20
  useProductTableQuery
21
21
  } from "./chunk-LYZDVZWA.js";
@@ -7,7 +7,7 @@ import {
7
7
  } from "./chunk-2FGRDEAD.js";
8
8
  import {
9
9
  useReturnReasonTableQuery
10
- } from "./chunk-WRVGLMRW.js";
10
+ } from "./chunk-URZCZO6F.js";
11
11
  import {
12
12
  _DataTable,
13
13
  useDataTable
@@ -9174,14 +9174,6 @@ var require_product_attribute = __commonJS({
9174
9174
  }
9175
9175
  });
9176
9176
 
9177
- // ../types/dist/http/product-brand.js
9178
- var require_product_brand = __commonJS({
9179
- "../types/dist/http/product-brand.js"(exports) {
9180
- "use strict";
9181
- Object.defineProperty(exports, "__esModule", { value: true });
9182
- }
9183
- });
9184
-
9185
9177
  // ../types/dist/http/product-category.js
9186
9178
  var require_product_category4 = __commonJS({
9187
9179
  "../types/dist/http/product-category.js"(exports) {
@@ -9336,7 +9328,6 @@ var require_http3 = __commonJS({
9336
9328
  __exportStar(require_product4(), exports);
9337
9329
  __exportStar(require_promotion4(), exports);
9338
9330
  __exportStar(require_product_attribute(), exports);
9339
- __exportStar(require_product_brand(), exports);
9340
9331
  __exportStar(require_product_category4(), exports);
9341
9332
  __exportStar(require_product_tag2(), exports);
9342
9333
  __exportStar(require_product_type2(), exports);
@@ -9,10 +9,10 @@ import {
9
9
  } from "./chunk-U5MJIHLY.js";
10
10
  import {
11
11
  useProductTableColumns
12
- } from "./chunk-6NDM5WGE.js";
12
+ } from "./chunk-OMBP3YSV.js";
13
13
  import {
14
14
  useProductTableFilters
15
- } from "./chunk-NMFVQDVF.js";
15
+ } from "./chunk-HJKZBCDB.js";
16
16
  import {
17
17
  useProductTableQuery
18
18
  } from "./chunk-LYZDVZWA.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  useProductTableColumns
3
- } from "./chunk-6NDM5WGE.js";
3
+ } from "./chunk-OMBP3YSV.js";
4
4
  import {
5
5
  useProductTableFilters
6
- } from "./chunk-NMFVQDVF.js";
6
+ } from "./chunk-HJKZBCDB.js";
7
7
  import {
8
8
  useProductTableQuery
9
9
  } from "./chunk-LYZDVZWA.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  require_dist
3
- } from "./chunk-F5H5JZQZ.js";
3
+ } from "./chunk-UCYSCKZV.js";
4
4
  import {
5
5
  useQueryParams
6
6
  } from "./chunk-THHRRYRS.js";
@@ -19,13 +19,13 @@ import {
19
19
  } from "./chunk-LYZT5REU.js";
20
20
  import {
21
21
  require_dist
22
- } from "./chunk-F5H5JZQZ.js";
22
+ } from "./chunk-UCYSCKZV.js";
23
23
  import {
24
24
  useQueryParams
25
25
  } from "./chunk-THHRRYRS.js";
26
26
  import {
27
27
  useProductTag
28
- } from "./chunk-46A3QXAL.js";
28
+ } from "./chunk-LYREZINJ.js";
29
29
  import {
30
30
  productAttributesQueryKeys,
31
31
  useProductAttribute
@@ -88,7 +88,7 @@ import {
88
88
  isReferenceField,
89
89
  partitionProductChangeActions
90
90
  } from "@mercurjs/dashboard-shared";
91
- import { useQueries, useQuery } from "@tanstack/react-query";
91
+ import { useQueries } from "@tanstack/react-query";
92
92
  import { useTranslation as useTranslation2 } from "react-i18next";
93
93
 
94
94
  // src/components/common/confirm-prompt/confirm-prompt.tsx
@@ -183,14 +183,6 @@ var ImageStrip = ({
183
183
  children: images.map((image, idx) => /* @__PURE__ */ jsx2(Thumbnail, { src: image.url, size: "base" }, `${image.url}-${idx}`))
184
184
  }
185
185
  );
186
- var BrandName = ({ id }) => {
187
- const { data } = useQuery({
188
- queryKey: ["product_brand", id],
189
- queryFn: () => sdk.admin.productBrands.$id.query({ $id: id }),
190
- enabled: !!id
191
- });
192
- return /* @__PURE__ */ jsx2(Fragment2, { children: data?.product_brand?.name ?? id });
193
- };
194
186
  var TypeName = ({ id }) => {
195
187
  const { product_type } = useProductType(id);
196
188
  return /* @__PURE__ */ jsx2(Fragment2, { children: product_type?.value ?? id });
@@ -212,8 +204,6 @@ var ReferenceName = ({
212
204
  id
213
205
  }) => {
214
206
  switch (field) {
215
- case "brand_id":
216
- return /* @__PURE__ */ jsx2(BrandName, { id });
217
207
  case "type_id":
218
208
  return /* @__PURE__ */ jsx2(TypeName, { id });
219
209
  case "collection_id":
@@ -1461,15 +1451,17 @@ import { useCallback, useMemo as useMemo2 } from "react";
1461
1451
  import { PencilSquare as PencilSquare4, Trash as Trash3 } from "@medusajs/icons";
1462
1452
  import {
1463
1453
  Badge as Badge3,
1454
+ Button as Button4,
1464
1455
  Container as Container7,
1465
1456
  createDataTableColumnHelper,
1457
+ Heading as Heading7,
1466
1458
  Tooltip as Tooltip4,
1467
1459
  usePrompt as usePrompt4
1468
1460
  } from "@medusajs/ui";
1469
1461
  import { keepPreviousData } from "@tanstack/react-query";
1470
1462
  import { useTranslation as useTranslation8 } from "react-i18next";
1471
- import { useNavigate as useNavigate2, useSearchParams } from "react-router-dom";
1472
- import { jsx as jsx8 } from "react/jsx-runtime";
1463
+ import { Link as Link3, useNavigate as useNavigate2, useSearchParams } from "react-router-dom";
1464
+ import { jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
1473
1465
  var PAGE_SIZE = 10;
1474
1466
  var PREFIX = "pv";
1475
1467
  var ProductVariantSection = ({
@@ -1491,7 +1483,7 @@ var ProductVariantSection = ({
1491
1483
  limit: PAGE_SIZE,
1492
1484
  created_at: created_at ? JSON.parse(created_at) : void 0,
1493
1485
  updated_at: updated_at ? JSON.parse(updated_at) : void 0,
1494
- fields: "title,created_at,updated_at,*options,*options.option"
1486
+ fields: "title,sku,created_at,updated_at,*options,*options.option"
1495
1487
  },
1496
1488
  {
1497
1489
  placeholderData: keepPreviousData
@@ -1500,35 +1492,46 @@ var ProductVariantSection = ({
1500
1492
  if (isError) {
1501
1493
  throw error;
1502
1494
  }
1503
- return /* @__PURE__ */ jsx8(Container7, { className: "divide-y p-0", "data-testid": "product-variant-section", children: /* @__PURE__ */ jsx8("div", { "data-testid": "product-variants-table-container", children: /* @__PURE__ */ jsx8(
1504
- DataTable,
1505
- {
1506
- data: variants,
1507
- columns,
1508
- filters,
1509
- rowCount: count,
1510
- getRowId: (row) => row.id,
1511
- rowHref: (row) => `/products/${product.id}/variants/${row.id}`,
1512
- pageSize: PAGE_SIZE,
1513
- isLoading: isPending,
1514
- heading: t("products.variants.header"),
1515
- emptyState: {
1516
- empty: {
1517
- heading: t("products.variants.empty.heading"),
1518
- description: t("products.variants.empty.description")
1519
- },
1520
- filtered: {
1521
- heading: t("products.variants.filtered.heading"),
1522
- description: t("products.variants.filtered.description")
1495
+ return /* @__PURE__ */ jsxs8(Container7, { className: "divide-y p-0", "data-testid": "product-variant-section", children: [
1496
+ /* @__PURE__ */ jsxs8("div", { className: "flex items-center justify-between px-6 py-4", children: [
1497
+ /* @__PURE__ */ jsx8(Heading7, { level: "h2", children: t("products.variants.header") }),
1498
+ /* @__PURE__ */ jsx8(
1499
+ Button4,
1500
+ {
1501
+ size: "small",
1502
+ variant: "secondary",
1503
+ asChild: true,
1504
+ "data-testid": "product-variants-create-button",
1505
+ children: /* @__PURE__ */ jsx8(Link3, { to: "variants/create", children: t("actions.create") })
1523
1506
  }
1524
- },
1525
- action: {
1526
- label: t("actions.create"),
1527
- to: `variants/create`
1528
- },
1529
- prefix: PREFIX
1530
- }
1531
- ) }) });
1507
+ )
1508
+ ] }),
1509
+ /* @__PURE__ */ jsx8("div", { "data-testid": "product-variants-table-container", children: /* @__PURE__ */ jsx8(
1510
+ DataTable,
1511
+ {
1512
+ data: variants,
1513
+ columns,
1514
+ filters,
1515
+ rowCount: count,
1516
+ getRowId: (row) => row.id,
1517
+ rowHref: (row) => `/products/${product.id}/variants/${row.id}`,
1518
+ pageSize: PAGE_SIZE,
1519
+ isLoading: isPending,
1520
+ compact: true,
1521
+ emptyState: {
1522
+ empty: {
1523
+ heading: t("products.variants.empty.heading"),
1524
+ description: t("products.variants.empty.description")
1525
+ },
1526
+ filtered: {
1527
+ heading: t("products.variants.filtered.heading"),
1528
+ description: t("products.variants.filtered.description")
1529
+ }
1530
+ },
1531
+ prefix: PREFIX
1532
+ }
1533
+ ) })
1534
+ ] });
1532
1535
  };
1533
1536
  var columnHelper = createDataTableColumnHelper();
1534
1537
  var useColumns = (product) => {
@@ -1639,6 +1642,13 @@ var useColumns = (product) => {
1639
1642
  sortAscLabel: t("filters.sorting.alphabeticallyAsc"),
1640
1643
  sortDescLabel: t("filters.sorting.alphabeticallyDesc")
1641
1644
  }),
1645
+ columnHelper.accessor("sku", {
1646
+ header: t("fields.sku"),
1647
+ cell: ({ getValue }) => {
1648
+ const value = getValue();
1649
+ return value ? value : /* @__PURE__ */ jsx8("span", { className: "text-ui-fg-muted", children: "-" });
1650
+ }
1651
+ }),
1642
1652
  ...attributeColumns,
1643
1653
  ...dateColumns,
1644
1654
  columnHelper.action({
@@ -1657,7 +1667,7 @@ var useFilters = () => {
1657
1667
  };
1658
1668
 
1659
1669
  // src/pages/products/product-detail/product-detail.tsx
1660
- import { jsx as jsx9, jsxs as jsxs8 } from "react/jsx-runtime";
1670
+ import { jsx as jsx9, jsxs as jsxs9 } from "react/jsx-runtime";
1661
1671
  var Root = ({ children }) => {
1662
1672
  const initialData = useLoaderData();
1663
1673
  const { id } = useParams();
@@ -1693,7 +1703,7 @@ var Root = ({ children }) => {
1693
1703
  "data-testid": "product-detail-page",
1694
1704
  children
1695
1705
  }
1696
- ) : /* @__PURE__ */ jsxs8(
1706
+ ) : /* @__PURE__ */ jsxs9(
1697
1707
  TwoColumnPage,
1698
1708
  {
1699
1709
  data: product,
@@ -1701,14 +1711,14 @@ var Root = ({ children }) => {
1701
1711
  showMetadata: true,
1702
1712
  "data-testid": "product-detail-page",
1703
1713
  children: [
1704
- /* @__PURE__ */ jsxs8(TwoColumnPage.Main, { "data-testid": "product-detail-main", children: [
1714
+ /* @__PURE__ */ jsxs9(TwoColumnPage.Main, { "data-testid": "product-detail-main", children: [
1705
1715
  /* @__PURE__ */ jsx9(ProductActiveRequestSection, { product }),
1706
1716
  /* @__PURE__ */ jsx9(ProductActiveEditSection, { product }),
1707
1717
  /* @__PURE__ */ jsx9(ProductGeneralSection, { product }),
1708
1718
  /* @__PURE__ */ jsx9(ProductMediaSection, { product }),
1709
1719
  /* @__PURE__ */ jsx9(ProductVariantSection, { product })
1710
1720
  ] }),
1711
- /* @__PURE__ */ jsxs8(TwoColumnPage.Sidebar, { "data-testid": "product-detail-sidebar", children: [
1721
+ /* @__PURE__ */ jsxs9(TwoColumnPage.Sidebar, { "data-testid": "product-detail-sidebar", children: [
1712
1722
  /* @__PURE__ */ jsx9(ProductOrganizationSection, { product }),
1713
1723
  /* @__PURE__ */ jsx9(ProductAttributeSection, { product })
1714
1724
  ] })
@@ -87,7 +87,7 @@ import {
87
87
  import {
88
88
  useCapturePayment,
89
89
  useMarkPaymentCollectionAsPaid
90
- } from "./chunk-46A3QXAL.js";
90
+ } from "./chunk-LYREZINJ.js";
91
91
  import {
92
92
  useStockLocation
93
93
  } from "./chunk-EPHVGD5Z.js";
@@ -11807,6 +11807,7 @@ var en_default = {
11807
11807
  },
11808
11808
  fillNameWarning: "Please fill in at least the name field before proceeding to Type configuration.",
11809
11809
  possibleValuesRequired: "At least one possible value is required for this type",
11810
+ categoriesRequired: "Please select at least one category, or enable the global attribute switch.",
11810
11811
  successToast: 'Attribute "{{name}}" was successfully created.'
11811
11812
  },
11812
11813
  edit: {
@@ -11859,7 +11860,13 @@ var en_default = {
11859
11860
  value: "Value",
11860
11861
  variantAxis: "Use for Variants",
11861
11862
  rank: "Rank",
11862
- metadata: "Metadata"
11863
+ metadata: "Metadata",
11864
+ isRequired: "Required attribute",
11865
+ isRequiredHint: "If checked, a value must be set to this attribute.",
11866
+ isFilterable: "Filterable attribute",
11867
+ isFilterableHint: "If checked, customers will be able to filter products using this attribute.",
11868
+ isGlobal: "Global attribute",
11869
+ isGlobalHint: "If checked, this attribute applies to all products across all categories."
11863
11870
  },
11864
11871
  type: {
11865
11872
  select: "Single Select",
@@ -12084,27 +12091,6 @@ var en_default = {
12084
12091
  value: "Value"
12085
12092
  }
12086
12093
  },
12087
- productBrands: {
12088
- domain: "Brands",
12089
- subtitle: "Organize your products into brands.",
12090
- create: {
12091
- header: "Create Brand",
12092
- hint: "Create a new brand to associate with your products.",
12093
- successToast: "Brand {{name}} was successfully created."
12094
- },
12095
- edit: {
12096
- header: "Edit Brand",
12097
- successToast: "Brand {{name}} was successfully updated."
12098
- },
12099
- delete: {
12100
- confirmation: 'You are about to delete the brand "{{name}}". This action cannot be undone.',
12101
- successToast: 'Brand "{{name}}" was successfully deleted.'
12102
- },
12103
- fields: {
12104
- isRestricted: "Restricted",
12105
- isRestrictedHint: "Limit which sellers can use this brand on their products."
12106
- }
12107
- },
12108
12094
  productTags: {
12109
12095
  domain: "Product Tags",
12110
12096
  create: {
@@ -12195,7 +12181,6 @@ var en_default = {
12195
12181
  enabledInStore: "Enabled in store",
12196
12182
  isReturn: "Is return",
12197
12183
  conditions: "Conditions",
12198
- brand: "Brand",
12199
12184
  category: "Category",
12200
12185
  collection: "Collection",
12201
12186
  store: "Store",
@@ -12352,7 +12337,6 @@ var en_default = {
12352
12337
  requires_shipping: "Requires shipping",
12353
12338
  variant_attributes: "Variant attributes",
12354
12339
  product_attributes: "Product attributes",
12355
- brand_id: "Brand",
12356
12340
  type_id: "Type",
12357
12341
  collection_id: "Collection"
12358
12342
  },
@@ -33708,27 +33692,6 @@ var pl_default = {
33708
33692
  value: "Warto\u015B\u0107"
33709
33693
  }
33710
33694
  },
33711
- productBrands: {
33712
- domain: "Marki",
33713
- subtitle: "Organizuj swoje produkty wed\u0142ug marek.",
33714
- create: {
33715
- header: "Utw\xF3rz mark\u0119",
33716
- hint: "Utw\xF3rz now\u0105 mark\u0119 do powi\u0105zania z produktami.",
33717
- successToast: "Marka {{name}} zosta\u0142a pomy\u015Blnie utworzona."
33718
- },
33719
- edit: {
33720
- header: "Edytuj mark\u0119",
33721
- successToast: "Marka {{name}} zosta\u0142a pomy\u015Blnie zaktualizowana."
33722
- },
33723
- delete: {
33724
- confirmation: 'Zamierzasz usun\u0105\u0107 mark\u0119 "{{name}}". Tej czynno\u015Bci nie mo\u017Cna cofn\u0105\u0107.',
33725
- successToast: 'Marka "{{name}}" zosta\u0142a pomy\u015Blnie usuni\u0119ta.'
33726
- },
33727
- fields: {
33728
- isRestricted: "Ograniczona",
33729
- isRestrictedHint: "Ogranicz, kt\xF3rzy sprzedawcy mog\u0105 u\u017Cywa\u0107 tej marki w swoich produktach."
33730
- }
33731
- },
33732
33695
  productTags: {
33733
33696
  domain: "Tagi produkt\xF3w",
33734
33697
  create: {
@@ -33819,7 +33782,6 @@ var pl_default = {
33819
33782
  enabledInStore: "Dost\u0119pne w sklepie",
33820
33783
  isReturn: "Zwrot",
33821
33784
  conditions: "Warunki",
33822
- brand: "Marka",
33823
33785
  category: "Kategoria",
33824
33786
  collection: "Kolekcja",
33825
33787
  store: "Sklep",
@@ -33976,7 +33938,6 @@ var pl_default = {
33976
33938
  requires_shipping: "Wymaga wysy\u0142ki",
33977
33939
  variant_attributes: "Atrybuty wariantu",
33978
33940
  product_attributes: "Atrybuty produktu",
33979
- brand_id: "Marka",
33980
33941
  type_id: "Typ",
33981
33942
  collection_id: "Kolekcja"
33982
33943
  },
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-PHOCVOZ5.js";
7
7
  import {
8
8
  require_dist
9
- } from "./chunk-F5H5JZQZ.js";
9
+ } from "./chunk-UCYSCKZV.js";
10
10
  import {
11
11
  __toESM
12
12
  } from "./chunk-NBMM2TZK.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  i18n
3
- } from "./chunk-FUE374HM.js";
3
+ } from "./chunk-WCSHDVMB.js";
4
4
 
5
5
  // src/lib/promotions.ts
6
6
  var getPromotionStatusMap = () => ({
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  useProductTableColumns
3
- } from "./chunk-6NDM5WGE.js";
4
- import "./chunk-UKDC2AQR.js";
3
+ } from "./chunk-OMBP3YSV.js";
4
+ import "./chunk-WPVDACTL.js";
5
5
  import {
6
6
  useProductTableFilters
7
- } from "./chunk-NMFVQDVF.js";
7
+ } from "./chunk-HJKZBCDB.js";
8
8
  import "./chunk-FWPGOIFA.js";
9
9
  import {
10
10
  useProductTableQuery
@@ -29,14 +29,13 @@ import "./chunk-3QSRE5LS.js";
29
29
  import "./chunk-WIYFXWRI.js";
30
30
  import "./chunk-UZWFZMOX.js";
31
31
  import "./chunk-XQNVC4Q7.js";
32
- import "./chunk-F5H5JZQZ.js";
32
+ import "./chunk-UCYSCKZV.js";
33
33
  import "./chunk-THHRRYRS.js";
34
- import "./chunk-46A3QXAL.js";
34
+ import "./chunk-LYREZINJ.js";
35
35
  import "./chunk-OH4AABUT.js";
36
+ import "./chunk-4RT7P5ZQ.js";
36
37
  import "./chunk-AEMDNTW5.js";
37
38
  import "./chunk-LYD3C73Z.js";
38
- import "./chunk-ZZ3XFIEM.js";
39
- import "./chunk-4RT7P5ZQ.js";
40
39
  import "./chunk-533GMKEG.js";
41
40
  import "./chunk-46M463BR.js";
42
41
  import "./chunk-YFRC6GEN.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CollectionDetailPage
3
- } from "./chunk-TE245WV3.js";
4
- import "./chunk-6NDM5WGE.js";
5
- import "./chunk-UKDC2AQR.js";
6
- import "./chunk-NMFVQDVF.js";
3
+ } from "./chunk-LSLPZITW.js";
4
+ import "./chunk-OMBP3YSV.js";
5
+ import "./chunk-WPVDACTL.js";
6
+ import "./chunk-HJKZBCDB.js";
7
7
  import "./chunk-FWPGOIFA.js";
8
8
  import "./chunk-LYZDVZWA.js";
9
9
  import "./chunk-DB6ANJBO.js";
@@ -18,14 +18,13 @@ import "./chunk-WIYFXWRI.js";
18
18
  import "./chunk-H6MYB7GB.js";
19
19
  import "./chunk-UZWFZMOX.js";
20
20
  import "./chunk-XQNVC4Q7.js";
21
- import "./chunk-F5H5JZQZ.js";
21
+ import "./chunk-UCYSCKZV.js";
22
22
  import "./chunk-THHRRYRS.js";
23
- import "./chunk-46A3QXAL.js";
23
+ import "./chunk-LYREZINJ.js";
24
24
  import "./chunk-OH4AABUT.js";
25
+ import "./chunk-4RT7P5ZQ.js";
25
26
  import "./chunk-AEMDNTW5.js";
26
27
  import "./chunk-LYD3C73Z.js";
27
- import "./chunk-ZZ3XFIEM.js";
28
- import "./chunk-4RT7P5ZQ.js";
29
28
  import "./chunk-533GMKEG.js";
30
29
  import "./chunk-46M463BR.js";
31
30
  import "./chunk-YFRC6GEN.js";