@mercurjs/admin 2.2.0-canary.36 → 2.2.0-canary.38

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 (158) hide show
  1. package/dist/{add-campaign-promotions-OTLO4M5C.js → add-campaign-promotions-FWYK3JCR.js} +4 -4
  2. package/dist/{api-key-management-list-RLATJRDL.js → api-key-management-list-SXHZJUJB.js} +2 -2
  3. package/dist/{attribute-detail-G6APXXFT.js → attribute-detail-7EBAQ26V.js} +1 -1
  4. package/dist/{attribute-list-42GDF2PV.js → attribute-list-G73VHMFA.js} +2 -2
  5. package/dist/{campaign-detail-GZV2HK2G.js → campaign-detail-I6KGCHUL.js} +5 -5
  6. package/dist/{campaign-list-W2YZAPUI.js → campaign-list-FFGRXEVJ.js} +2 -2
  7. package/dist/{category-create-7UTOSFO5.js → category-create-AIS2MG7E.js} +2 -2
  8. package/dist/{category-detail-AYVW7LRB.js → category-detail-ZEOXQF7F.js} +3 -3
  9. package/dist/{category-icon-edit-FMVPTC27.js → category-icon-edit-W2TPCSDC.js} +1 -1
  10. package/dist/{category-list-B6B3ZANX.js → category-list-7ILXI55P.js} +3 -3
  11. package/dist/{category-media-4SLUTBZS.js → category-media-PC4V7YU4.js} +1 -1
  12. package/dist/{category-products-IF33PO5Y.js → category-products-UFKHB7YL.js} +2 -1
  13. package/dist/{chunk-QM343PBJ.js → chunk-23OLYWMR.js} +1 -1
  14. package/dist/{chunk-E6VCLJNF.js → chunk-2DSCC2VR.js} +1 -1
  15. package/dist/{chunk-BW5MMF6W.js → chunk-2S2SBRZP.js} +3 -3
  16. package/dist/{chunk-L4KT5CLI.js → chunk-2YAVXVET.js} +1 -1
  17. package/dist/{chunk-PPMWEQP3.js → chunk-3OD3YOA3.js} +71 -34
  18. package/dist/{chunk-XQCG2ORD.js → chunk-45O5MFCT.js} +1 -1
  19. package/dist/{chunk-C4N5EJAD.js → chunk-4BCUGMOR.js} +0 -13
  20. package/dist/{chunk-P4GIBTTG.js → chunk-5BSSIDW6.js} +1 -1
  21. package/dist/{chunk-BWRQJXHB.js → chunk-5DQED4UT.js} +1 -1
  22. package/dist/{chunk-U725ING6.js → chunk-5NC6SI6J.js} +1 -1
  23. package/dist/{chunk-OLAOEVZE.js → chunk-6FNIEKSN.js} +4 -4
  24. package/dist/{chunk-CA4K6JDJ.js → chunk-72SDBLWQ.js} +1 -1
  25. package/dist/{chunk-57MFJ2HE.js → chunk-74WEDBZ7.js} +1 -1
  26. package/dist/{chunk-57GNGL6K.js → chunk-7RWFRMQG.js} +1 -1
  27. package/dist/{chunk-TRXFVQXD.js → chunk-BLR3NTU6.js} +1 -1
  28. package/dist/{chunk-FU3QYH6H.js → chunk-CB7DBYH4.js} +1 -13
  29. package/dist/{chunk-6YEU2ZAD.js → chunk-CE2WRTS7.js} +1 -1
  30. package/dist/{chunk-TYXSRH47.js → chunk-CIKPTKSX.js} +14 -4
  31. package/dist/{chunk-R3YD5UOZ.js → chunk-CU4UVEHX.js} +36 -1
  32. package/dist/{chunk-HLUWC7C3.js → chunk-CY263OE4.js} +1 -1
  33. package/dist/{chunk-YAOYZQDK.js → chunk-CYACZXMQ.js} +2 -2
  34. package/dist/{chunk-YAJDG3W7.js → chunk-DI2KBXVH.js} +1 -1
  35. package/dist/{chunk-YLQCULOV.js → chunk-DISTPZNS.js} +1 -1
  36. package/dist/{chunk-V7YJ53P5.js → chunk-EJYLSQVT.js} +1 -1
  37. package/dist/{chunk-GQUGCSJV.js → chunk-F6NPDZHW.js} +1 -1
  38. package/dist/{chunk-N5H2J6HE.js → chunk-FBDAKD4B.js} +1 -1
  39. package/dist/{chunk-WEWBHUEB.js → chunk-GUDWUAMT.js} +2 -2
  40. package/dist/{chunk-SJHBNENS.js → chunk-HSL5IICN.js} +15 -6
  41. package/dist/{chunk-MHCIHDGF.js → chunk-HWWET5ZP.js} +1 -1
  42. package/dist/{chunk-5YWQDIVG.js → chunk-I3ARNGRC.js} +1 -1
  43. package/dist/{chunk-EMW5WXXR.js → chunk-IQDZZ5EQ.js} +1 -1
  44. package/dist/{chunk-HMKXCYCJ.js → chunk-IRX6RBTE.js} +7 -2
  45. package/dist/{chunk-YRGPQ2C4.js → chunk-JUMT5GX7.js} +1 -1
  46. package/dist/{chunk-HHW4PPNH.js → chunk-JXSXBSV6.js} +8 -1
  47. package/dist/{chunk-AQIW7R4Y.js → chunk-KC4J2WOM.js} +1 -1
  48. package/dist/{chunk-WMVLWFFU.js → chunk-KRECA22N.js} +59 -52
  49. package/dist/{chunk-DP3OBKUP.js → chunk-LRJNSCMR.js} +2 -2
  50. package/dist/{chunk-U5MDOZS7.js → chunk-MANRAV52.js} +1 -1
  51. package/dist/{chunk-4NE4EIHO.js → chunk-MYJJMHR5.js} +1 -1
  52. package/dist/{chunk-3OZRK7TN.js → chunk-NEGOGYEO.js} +1 -1
  53. package/dist/{chunk-MIKJRLQI.js → chunk-NKV5XPNS.js} +1 -1
  54. package/dist/{chunk-ENSI7NL7.js → chunk-O5MW4WPZ.js} +1 -1
  55. package/dist/{chunk-RZ43M34Q.js → chunk-PNZI5C5A.js} +2 -2
  56. package/dist/{chunk-4X4MNAXL.js → chunk-PWLDTJJX.js} +1 -1
  57. package/dist/{chunk-NX3YQW2B.js → chunk-Q4R2O7XF.js} +2 -2
  58. package/dist/{chunk-GJB4UQZI.js → chunk-QAWWIM4I.js} +2 -2
  59. package/dist/{chunk-AHUVAYZD.js → chunk-QH34LF36.js} +1 -1
  60. package/dist/{chunk-LECZPR6R.js → chunk-QJCUPZZQ.js} +4 -2
  61. package/dist/{chunk-GML7DINQ.js → chunk-RDUSAVT3.js} +1 -1
  62. package/dist/{chunk-LRKN7IQH.js → chunk-RNDDYLHV.js} +1 -1
  63. package/dist/{chunk-EA3XMVOS.js → chunk-S22SK4KO.js} +1 -1
  64. package/dist/{chunk-PQAQM6SB.js → chunk-SIOKPEVN.js} +1 -1
  65. package/dist/{chunk-QEXIOKNZ.js → chunk-SLKOHWKT.js} +1 -1
  66. package/dist/{chunk-AIEPAHO5.js → chunk-TAM24IMD.js} +1 -1
  67. package/dist/{chunk-T2WVIET2.js → chunk-VM56ZITS.js} +4 -2
  68. package/dist/{chunk-IHERG3JP.js → chunk-VPPUFVFJ.js} +21 -20
  69. package/dist/{chunk-GCYUOP4W.js → chunk-VSKHV5QF.js} +1 -1
  70. package/dist/{chunk-DUVTXDNA.js → chunk-XFKDDRB6.js} +1 -1
  71. package/dist/{chunk-ZMSQW2M3.js → chunk-Y5JQAKX7.js} +90 -43
  72. package/dist/{chunk-R6DVBI5F.js → chunk-Y62TJJ3P.js} +2 -2
  73. package/dist/{chunk-CDVQK7JZ.js → chunk-YNK25LVO.js} +1 -1
  74. package/dist/{chunk-MTOPGOKU.js → chunk-ZHT3Y47H.js} +2 -2
  75. package/dist/{chunk-OB5RWOGA.js → chunk-ZPEMWHUW.js} +1 -1
  76. package/dist/{collection-add-products-2G37ZL2J.js → collection-add-products-MJYMPNLP.js} +1 -1
  77. package/dist/{collection-create-T6HBO4LU.js → collection-create-5IGFVQKE.js} +1 -1
  78. package/dist/{collection-detail-PMSYCWE3.js → collection-detail-C4ZCH55B.js} +3 -3
  79. package/dist/{collection-icon-edit-VZP3W6AZ.js → collection-icon-edit-WCSKUDXE.js} +1 -1
  80. package/dist/{collection-list-EK2TBM3J.js → collection-list-4UX2LLQV.js} +5 -5
  81. package/dist/{collection-media-3Z2RJDVG.js → collection-media-YIV5BV3Y.js} +1 -1
  82. package/dist/{commission-rule-commission-edit-6675TZCZ.js → commission-rule-commission-edit-EXLLNUKM.js} +19 -4
  83. package/dist/{commission-rule-create-PEYCFGCW.js → commission-rule-create-3MCNOSWN.js} +9 -28
  84. package/dist/{commission-rule-edit-GCI67KZU.js → commission-rule-edit-X45EQ6BK.js} +24 -1
  85. package/dist/{commissions-list-KQ2TUJAW.js → commissions-list-MZY7KOP5.js} +2 -2
  86. package/dist/{customer-detail-ZYJDB47Y.js → customer-detail-FRGVVWTZ.js} +3 -3
  87. package/dist/{customer-group-add-customers-GSEUGBTJ.js → customer-group-add-customers-QBRVKXGO.js} +1 -1
  88. package/dist/{customer-group-detail-5VSUJTR3.js → customer-group-detail-KIC2TWZ3.js} +2 -2
  89. package/dist/{customer-group-list-BRQRKORR.js → customer-group-list-BRH6SWRD.js} +2 -2
  90. package/dist/{customer-list-6PRFTWMO.js → customer-list-276YPXTE.js} +2 -2
  91. package/dist/{customers-add-customer-group-56GS7TR7.js → customers-add-customer-group-C4Y6P45C.js} +1 -1
  92. package/dist/{global-commission-edit-AOZ6XLH7.js → global-commission-edit-7ZMMIV7B.js} +19 -12
  93. package/dist/index.css +5184 -3
  94. package/dist/index.d.ts +7 -1
  95. package/dist/index.js +111 -111
  96. package/dist/{inventory-create-HOQVSL2G.js → inventory-create-M3YBQVNG.js} +2 -2
  97. package/dist/{inventory-detail-QY56I2KX.js → inventory-detail-6PAVKSOK.js} +2 -2
  98. package/dist/{inventory-list-AB4OHYMU.js → inventory-list-U4W4AP4E.js} +2 -2
  99. package/dist/{inventory-stock-E4U2SS3Z.js → inventory-stock-XQWWFVQ3.js} +1 -1
  100. package/dist/{location-fulfillment-providers-VVJGPYJI.js → location-fulfillment-providers-Z3PR4MQI.js} +2 -2
  101. package/dist/{location-service-zone-create-WPSYG3NX.js → location-service-zone-create-U77V3ROT.js} +2 -2
  102. package/dist/{location-service-zone-manage-areas-ZH2ICSC7.js → location-service-zone-manage-areas-FUUAAIDJ.js} +2 -2
  103. package/dist/{location-service-zone-shipping-option-create-K6USZASG.js → location-service-zone-shipping-option-create-NFKZT2HM.js} +3 -3
  104. package/dist/{location-service-zone-shipping-option-pricing-ZENGURN3.js → location-service-zone-shipping-option-pricing-UZ577SNK.js} +2 -2
  105. package/dist/{marketplace-add-currencies-FPDYEYCL.js → marketplace-add-currencies-KDNMN57C.js} +1 -1
  106. package/dist/{marketplace-detail-7WGPHRQM.js → marketplace-detail-X5AQWO7P.js} +2 -2
  107. package/dist/{offer-detail-page-3RAFKFK4.js → offer-detail-page-4GNU35AH.js} +2 -2
  108. package/dist/{offer-variant-detail-page-5FS6D46I.js → offer-variant-detail-page-FFPV7N7Y.js} +2 -2
  109. package/dist/{offers-T4ARWA47.js → offers-3HP7SICL.js} +1 -1
  110. package/dist/{order-create-claim-GOP565XH.js → order-create-claim-MEXSDGHW.js} +1 -1
  111. package/dist/{order-create-edit-DK4QG2CR.js → order-create-edit-M2F6CG3M.js} +1 -1
  112. package/dist/{order-create-exchange-ZHJ3T5QJ.js → order-create-exchange-HTWFKJOM.js} +1 -1
  113. package/dist/{order-create-return-63X5PUTT.js → order-create-return-DDOYLDT7.js} +1 -1
  114. package/dist/{order-detail-6UAWPZI2.js → order-detail-QYZGM7OO.js} +2 -2
  115. package/dist/{order-edit-billing-address-WQYQSLDB.js → order-edit-billing-address-JHJ7PCPC.js} +1 -1
  116. package/dist/{order-list-FFPY5OGR.js → order-list-5PVFAFJT.js} +3 -3
  117. package/dist/pages/index.js +59 -59
  118. package/dist/{payout-list-A2KQTZMZ.js → payout-list-SOWVPSFQ.js} +2 -2
  119. package/dist/{price-list-configuration-2NFE4MNW.js → price-list-configuration-BIHWXMYS.js} +2 -2
  120. package/dist/{price-list-create-QEDMB4A6.js → price-list-create-XV6OY4A2.js} +5 -5
  121. package/dist/{price-list-detail-7ANY3XOC.js → price-list-detail-IUZU5OA7.js} +2 -2
  122. package/dist/{price-list-list-6II3XYUA.js → price-list-list-A42VGE3L.js} +2 -2
  123. package/dist/{price-list-prices-add-GVOZDWKE.js → price-list-prices-add-KUBO4DCC.js} +4 -4
  124. package/dist/{price-list-prices-edit-LNSUSN4V.js → price-list-prices-edit-PJ4CPB5I.js} +2 -2
  125. package/dist/{product-bulk-edit-34KKEPJQ.js → product-bulk-edit-TRI2KKHW.js} +1 -1
  126. package/dist/{product-create-STXNKMAV.js → product-create-EGL6UJKX.js} +4 -4
  127. package/dist/{product-detail-T4FOYZK7.js → product-detail-SNS2DQ6Q.js} +2 -2
  128. package/dist/{product-list-SIQDX4AT.js → product-list-LGS3O2OJ.js} +2 -2
  129. package/dist/{product-media-JFLRNBPR.js → product-media-JKUDYI32.js} +2 -2
  130. package/dist/{product-organization-SGLOMAKK.js → product-organization-AIM3LNQ6.js} +1 -1
  131. package/dist/{product-tag-detail-ZV7V7UW3.js → product-tag-detail-MI7B2MPH.js} +5 -5
  132. package/dist/{product-tag-list-SZHBD5FA.js → product-tag-list-7CE4KJ3G.js} +5 -5
  133. package/dist/{product-type-detail-WSHUE56F.js → product-type-detail-O2WGGFRT.js} +2 -2
  134. package/dist/{product-type-list-EP2YCYLK.js → product-type-list-XTVTT7ZA.js} +2 -2
  135. package/dist/{promotion-detail-AWVF7JHY.js → promotion-detail-WFB2ZFPH.js} +3 -3
  136. package/dist/{promotion-list-INBZ3OG3.js → promotion-list-VLCRCI2K.js} +5 -5
  137. package/dist/{refund-reason-list-UCZC5ASP.js → refund-reason-list-XMDZO34F.js} +2 -2
  138. package/dist/{region-add-countries-NFJYG4JA.js → region-add-countries-IIHNNE76.js} +1 -1
  139. package/dist/{region-create-RW42MXKY.js → region-create-PHZNUCJR.js} +1 -1
  140. package/dist/{region-detail-S7GNXX5B.js → region-detail-AECQQ62I.js} +2 -2
  141. package/dist/{region-list-ZP7QIWQ3.js → region-list-IBQW5J3R.js} +2 -2
  142. package/dist/{reservation-list-UGXB2P7K.js → reservation-list-IUYMT4U6.js} +2 -2
  143. package/dist/{reset-password-ZJW3AHYT.js → reset-password-OL6EA5F2.js} +1 -1
  144. package/dist/{return-reason-list-AJ4E3A56.js → return-reason-list-FRHFRNKK.js} +4 -4
  145. package/dist/{sales-channel-add-products-LRANEISZ.js → sales-channel-add-products-ZZPVF5CH.js} +1 -1
  146. package/dist/{sales-channel-detail-5XXO3BXP.js → sales-channel-detail-DNZXUBSN.js} +2 -2
  147. package/dist/{shipping-option-type-list-UCTCZPAM.js → shipping-option-type-list-AW2ZA4V5.js} +2 -2
  148. package/dist/{shipping-profiles-list-CBTZYI33.js → shipping-profiles-list-4VHKTKIL.js} +2 -2
  149. package/dist/{store-bulk-edit-5DZ7RZS3.js → store-bulk-edit-SZ3UEDWJ.js} +1 -1
  150. package/dist/{store-details-XNBFIWDL.js → store-details-4XVEWNIX.js} +3 -3
  151. package/dist/{store-edit-6KKEQZRH.js → store-edit-KJTO3ZUP.js} +2 -2
  152. package/dist/{store-list-RVZG3UD3.js → store-list-LSADPRI2.js} +3 -3
  153. package/dist/{tax-region-create-GAXLHDV5.js → tax-region-create-MPKY5KXL.js} +1 -1
  154. package/dist/{tax-region-tax-override-create-XOBU6DOL.js → tax-region-tax-override-create-X3WQVHYV.js} +5 -5
  155. package/dist/{tax-region-tax-override-edit-PEQJFCOU.js → tax-region-tax-override-edit-SYK2O5BK.js} +5 -5
  156. package/dist/{user-invite-WIHSREOW.js → user-invite-UN6NCCII.js} +1 -1
  157. package/dist/{user-list-3C6GRWMJ.js → user-list-27ZKEJXN.js} +2 -2
  158. package/package.json +9 -6
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-U2EI2ZLM.js";
7
7
  import {
8
8
  useOrderTableFilters
9
- } from "./chunk-C4N5EJAD.js";
9
+ } from "./chunk-4BCUGMOR.js";
10
10
  import {
11
11
  useMemberTableQuery
12
12
  } from "./chunk-WKTRJNOK.js";
@@ -37,7 +37,7 @@ import {
37
37
  import {
38
38
  _DataTable,
39
39
  useDataTable
40
- } from "./chunk-SJHBNENS.js";
40
+ } from "./chunk-HSL5IICN.js";
41
41
  import {
42
42
  NoRecords
43
43
  } from "./chunk-PAYQJPGK.js";
@@ -41,7 +41,7 @@ import {
41
41
  import {
42
42
  _DataTable,
43
43
  useDataTable
44
- } from "./chunk-SJHBNENS.js";
44
+ } from "./chunk-HSL5IICN.js";
45
45
  import {
46
46
  useProductTypes
47
47
  } from "./chunk-EWFOFSF7.js";
@@ -4,7 +4,7 @@ import {
4
4
  ShippingOptionPriceProvider,
5
5
  buildShippingOptionPriceRules,
6
6
  useShippingOptionPriceColumns
7
- } from "./chunk-GQUGCSJV.js";
7
+ } from "./chunk-F6NPDZHW.js";
8
8
  import {
9
9
  CONDITIONAL_PRICES_STACKED_MODAL_ID,
10
10
  ShippingOptionPriceType
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunk-2EME4AWX.js";
32
32
  import {
33
33
  DataGrid
34
- } from "./chunk-HHW4PPNH.js";
34
+ } from "./chunk-JXSXBSV6.js";
35
35
  import {
36
36
  RouteFocusModal,
37
37
  StackedFocusModal,
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  usePromotionTableColumns,
3
3
  usePromotionTableQuery
4
- } from "./chunk-PQAQM6SB.js";
4
+ } from "./chunk-SIOKPEVN.js";
5
5
  import {
6
6
  usePromotionTableFilters
7
7
  } from "./chunk-S2WEYEQR.js";
8
8
  import {
9
9
  _DataTable,
10
10
  useDataTable
11
- } from "./chunk-SJHBNENS.js";
11
+ } from "./chunk-HSL5IICN.js";
12
12
  import {
13
13
  SingleColumnPage
14
14
  } from "./chunk-H6MYB7GB.js";
@@ -16,7 +16,7 @@ import {
16
16
  import {
17
17
  _DataTable,
18
18
  useDataTable
19
- } from "./chunk-SJHBNENS.js";
19
+ } from "./chunk-HSL5IICN.js";
20
20
  import {
21
21
  SingleColumnPage
22
22
  } from "./chunk-H6MYB7GB.js";
@@ -158,6 +158,8 @@ import {
158
158
  EllipsisHorizontal,
159
159
  InformationCircleSolid,
160
160
  Photo,
161
+ QueueList,
162
+ StackPerspective,
161
163
  ThumbnailBadge,
162
164
  Trash,
163
165
  XMark as XMark2
@@ -288,7 +290,7 @@ var CategoryMediaItemMenu = ({
288
290
  /* @__PURE__ */ jsx3(
289
291
  MenuItemWithTooltip,
290
292
  {
291
- icon: /* @__PURE__ */ jsx3(ThumbnailBadge, {}),
293
+ icon: /* @__PURE__ */ jsx3(StackPerspective, {}),
292
294
  label: item.is_thumbnail ? t("categories.media.actions.removeThumbnail") : t("categories.media.actions.setThumbnail"),
293
295
  tooltip: t("categories.media.tooltips.thumbnail"),
294
296
  onClick: onToggleThumbnail
@@ -297,7 +299,7 @@ var CategoryMediaItemMenu = ({
297
299
  /* @__PURE__ */ jsx3(
298
300
  MenuItemWithTooltip,
299
301
  {
300
- icon: /* @__PURE__ */ jsx3(ListBadge, {}),
302
+ icon: /* @__PURE__ */ jsx3(QueueList, {}),
301
303
  label: item.is_banner ? t("categories.media.actions.removeBanner") : t("categories.media.actions.setBanner"),
302
304
  tooltip: t("categories.media.tooltips.banner"),
303
305
  onClick: onToggleBanner
@@ -10,7 +10,7 @@ import {
10
10
  import {
11
11
  _DataTable,
12
12
  useDataTable
13
- } from "./chunk-SJHBNENS.js";
13
+ } from "./chunk-HSL5IICN.js";
14
14
  import {
15
15
  SingleColumnPage
16
16
  } from "./chunk-H6MYB7GB.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  _DataTable,
15
15
  useDataTable
16
- } from "./chunk-SJHBNENS.js";
16
+ } from "./chunk-HSL5IICN.js";
17
17
  import {
18
18
  SingleColumnPage
19
19
  } from "./chunk-H6MYB7GB.js";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  _DataTable,
9
9
  useDataTable
10
- } from "./chunk-SJHBNENS.js";
10
+ } from "./chunk-HSL5IICN.js";
11
11
  import {
12
12
  SingleColumnPage
13
13
  } from "./chunk-H6MYB7GB.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getPromotionStatus
3
- } from "./chunk-OB5RWOGA.js";
3
+ } from "./chunk-ZPEMWHUW.js";
4
4
  import {
5
5
  TextCell,
6
6
  TextHeader
@@ -23,7 +23,7 @@ import {
23
23
  import {
24
24
  _DataTable,
25
25
  useDataTable
26
- } from "./chunk-SJHBNENS.js";
26
+ } from "./chunk-HSL5IICN.js";
27
27
  import {
28
28
  useDate
29
29
  } from "./chunk-UZWFZMOX.js";
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  _DataTable,
16
16
  useDataTable
17
- } from "./chunk-SJHBNENS.js";
17
+ } from "./chunk-HSL5IICN.js";
18
18
  import {
19
19
  useCustomerGroups
20
20
  } from "./chunk-RGS5ZOY7.js";
@@ -158,6 +158,8 @@ import {
158
158
  EllipsisHorizontal,
159
159
  InformationCircleSolid,
160
160
  Photo,
161
+ QueueList,
162
+ StackPerspective,
161
163
  ThumbnailBadge,
162
164
  Trash,
163
165
  XMark as XMark2
@@ -288,7 +290,7 @@ var CollectionMediaItemMenu = ({
288
290
  /* @__PURE__ */ jsx3(
289
291
  MenuItemWithTooltip,
290
292
  {
291
- icon: /* @__PURE__ */ jsx3(ThumbnailBadge, {}),
293
+ icon: /* @__PURE__ */ jsx3(StackPerspective, {}),
292
294
  label: item.is_thumbnail ? t("collections.media.actions.removeThumbnail") : t("collections.media.actions.setThumbnail"),
293
295
  tooltip: t("collections.media.tooltips.thumbnail"),
294
296
  onClick: onToggleThumbnail
@@ -297,7 +299,7 @@ var CollectionMediaItemMenu = ({
297
299
  /* @__PURE__ */ jsx3(
298
300
  MenuItemWithTooltip,
299
301
  {
300
- icon: /* @__PURE__ */ jsx3(ListBadge, {}),
302
+ icon: /* @__PURE__ */ jsx3(QueueList, {}),
301
303
  label: item.is_banner ? t("collections.media.actions.removeBanner") : t("collections.media.actions.setBanner"),
302
304
  tooltip: t("collections.media.tooltips.banner"),
303
305
  onClick: onToggleBanner
@@ -9261,7 +9261,12 @@ var en_default = {
9261
9261
  options: "Please create at least one option.",
9262
9262
  uniqueSku: "SKU must be unique.",
9263
9263
  requiredAttribute: "This attribute is required.",
9264
- requiredStore: "Please select at least one store."
9264
+ requiredAttributeSelect: "This attribute is required by the marketplace. Please select value.",
9265
+ requiredAttributeEnter: "This attribute is required by the marketplace. Please enter value.",
9266
+ requiredAttributeMultiSelect: "This attribute is required by the marketplace. Please select at least one value.",
9267
+ requiredStore: "Please select at least one store",
9268
+ requiredTitle: "Please enter a title",
9269
+ requiredCategory: "Please select a category"
9265
9270
  },
9266
9271
  inventory: {
9267
9272
  heading: "Inventory kits",
@@ -9271,7 +9276,7 @@ var en_default = {
9271
9276
  },
9272
9277
  attributes: {
9273
9278
  header: "Attributes",
9274
- description: "Manage attributes and variations for your product, e.g. color, size, brand etc.\nSelect from attributes defined by the Marketplace or create your own.",
9279
+ description: "Manage attributes and variations for your product, e.g. color, size, brand etc.\nSelect from attributes defined by the marketplace or create your own.",
9275
9280
  addExisting: "Add existing",
9276
9281
  createNew: "Create new",
9277
9282
  title: "Title",
@@ -9279,8 +9284,10 @@ var en_default = {
9279
9284
  values: "Values",
9280
9285
  selectValues: "Select values",
9281
9286
  valuePlaceholder: "Enter values",
9287
+ enterValuePlaceholder: "Enter value",
9288
+ selectValuePlaceholder: "Select value",
9282
9289
  requiredAttributes: "Required attributes",
9283
- requiredAttributesHint: "These attributes are required by the Marketplace. Select them before proceeding.",
9290
+ requiredAttributesHint: "These attributes are required by the marketplace. Select them before proceeding.",
9284
9291
  useForVariants: "Use for Variations",
9285
9292
  useForVariantsDescription: "If checked, you will be able to create variants using this attribute. If not, the attribute will be used for informational purposes only.",
9286
9293
  tip: "Tip",
@@ -9367,10 +9374,11 @@ var en_default = {
9367
9374
  }
9368
9375
  },
9369
9376
  attributes: "Attributes",
9370
- attributeVariantsDescription: "Attributes used for variations",
9377
+ attributeVariations: "Variations",
9378
+ attributeVariantsDescription: "Attributes used for variants",
9371
9379
  attributeProductInformation: "Product Information",
9372
9380
  attributeProductInformationDescription: "Attributes used for informational purposes",
9373
- attributeRequiredByMarketplace: "This attribute is required by the Marketplace",
9381
+ attributeRequiredByMarketplace: "This attribute is required by the marketplace.",
9374
9382
  attributeRequiredDeleteDisabledTooltip: "Required attributes cannot be removed.",
9375
9383
  addAttribute: "Add Attribute",
9376
9384
  deleteAttributeWarning: 'Are you sure you want to delete the attribute "{{title}}"? This action cannot be undone.',
@@ -10120,15 +10128,6 @@ var en_default = {
10120
10128
  claim: "Claim",
10121
10129
  exchange: "Exchange",
10122
10130
  return: "Return",
10123
- filters: {
10124
- request: {
10125
- label: "Request",
10126
- edit: "Edit",
10127
- return: "Return",
10128
- exchange: "Exchange",
10129
- claim: "Claim"
10130
- }
10131
- },
10132
10131
  actions: {
10133
10132
  cancelDisabledFulfilled: "Cannot cancel an order that has fulfilled items."
10134
10133
  },
@@ -10136,7 +10135,9 @@ var en_default = {
10136
10135
  orderCanceled: "Order canceled successfully",
10137
10136
  onDateFromSalesChannel: "{{date}} from {{salesChannel}}",
10138
10137
  list: {
10139
- noRecordsMessage: "Your orders will show up here."
10138
+ noRecordsMessage: "Your orders will show up here.",
10139
+ expandAll: "Expand all rows",
10140
+ collapseAll: "Collapse all rows"
10140
10141
  },
10141
10142
  status: {
10142
10143
  not_paid: "Not paid",
@@ -10578,14 +10579,14 @@ var en_default = {
10578
10579
  }
10579
10580
  },
10580
10581
  fields: {
10581
- displayId: "Display ID",
10582
+ displayId: "Order ID",
10582
10583
  refundableAmount: "Refundable amount",
10583
10584
  returnableQuantity: "Returnable quantity",
10584
10585
  groupId: "Group ID",
10585
- orderIds: "Order IDs",
10586
- vendor: "Vendor",
10587
- vendorsCount_one: "{{count}} vendor",
10588
- vendorsCount_other: "{{count}} vendors"
10586
+ orderIds: "Order ID",
10587
+ vendor: "Store",
10588
+ vendorsCount_one: "{{count}} store",
10589
+ vendorsCount_other: "{{count}} stores"
10589
10590
  }
10590
10591
  },
10591
10592
  payouts: {
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  _DataTable,
6
6
  useDataTable
7
- } from "./chunk-SJHBNENS.js";
7
+ } from "./chunk-HSL5IICN.js";
8
8
  import {
9
9
  SingleColumnPage
10
10
  } from "./chunk-H6MYB7GB.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  _DataTable,
15
15
  useDataTable
16
- } from "./chunk-SJHBNENS.js";
16
+ } from "./chunk-HSL5IICN.js";
17
17
  import {
18
18
  SingleColumnPage
19
19
  } from "./chunk-H6MYB7GB.js";
@@ -10,7 +10,7 @@ import {
10
10
  decorateVariantsWithDefaultValues,
11
11
  generateVariantsFromAttributes,
12
12
  normalizeProductFormValues
13
- } from "./chunk-TYXSRH47.js";
13
+ } from "./chunk-CIKPTKSX.js";
14
14
  import {
15
15
  HandleInput
16
16
  } from "./chunk-HJ56YXBU.js";
@@ -46,7 +46,7 @@ import {
46
46
  import {
47
47
  DataGrid,
48
48
  createDataGridHelper
49
- } from "./chunk-HHW4PPNH.js";
49
+ } from "./chunk-JXSXBSV6.js";
50
50
  import {
51
51
  RouteFocusModal,
52
52
  StackedFocusModal,
@@ -641,7 +641,7 @@ var SelectedAttributes = ({
641
641
  Select.Value,
642
642
  {
643
643
  placeholder: t(
644
- "products.create.attributes.selectValues"
644
+ "products.create.attributes.selectValuePlaceholder"
645
645
  )
646
646
  }
647
647
  ) }),
@@ -663,7 +663,7 @@ var SelectedAttributes = ({
663
663
  value: typeof value === "string" ? value : value?.[0] ?? "",
664
664
  onChange: (e) => onChange(e.target.value),
665
665
  placeholder: t(
666
- "products.create.attributes.valuePlaceholder"
666
+ "products.create.attributes.enterValuePlaceholder"
667
667
  )
668
668
  }
669
669
  )
@@ -684,7 +684,7 @@ var SelectedAttributes = ({
684
684
  Select.Value,
685
685
  {
686
686
  placeholder: t(
687
- "products.create.attributes.selectValues"
687
+ "products.create.attributes.selectValuePlaceholder"
688
688
  )
689
689
  }
690
690
  ) }),
@@ -708,7 +708,7 @@ var SelectedAttributes = ({
708
708
  value: typeof value === "string" ? value : value?.[0] ?? "",
709
709
  onChange: (e) => onChange(e.target.value),
710
710
  placeholder: t(
711
- "products.create.attributes.valuePlaceholder"
711
+ "products.create.attributes.enterValuePlaceholder"
712
712
  )
713
713
  }
714
714
  )
@@ -716,7 +716,7 @@ var SelectedAttributes = ({
716
716
  ),
717
717
  field.use_for_variants && /* @__PURE__ */ jsxs2(Fragment, { children: [
718
718
  /* @__PURE__ */ jsx2("div", {}),
719
- /* @__PURE__ */ jsx2(VariantAxisTip, {})
719
+ /* @__PURE__ */ jsx2(VariantAxisTip, { className: "border-none" })
720
720
  ] })
721
721
  ] }),
722
722
  /* @__PURE__ */ jsx2(
@@ -833,7 +833,7 @@ var RequiredAttributeField = ({
833
833
  Select.Value,
834
834
  {
835
835
  placeholder: t(
836
- "products.create.attributes.valuePlaceholder"
836
+ "products.create.attributes.selectValuePlaceholder"
837
837
  )
838
838
  }
839
839
  ) }),
@@ -863,7 +863,7 @@ var RequiredAttributeField = ({
863
863
  value: typeof value === "string" ? value : value?.[0] ?? "",
864
864
  onChange: (e) => onChange(e.target.value),
865
865
  placeholder: t(
866
- "products.create.attributes.valuePlaceholder"
866
+ "products.create.attributes.enterValuePlaceholder"
867
867
  )
868
868
  }
869
869
  ) : attribute.type === import_types.AttributeType.TOGGLE ? /* @__PURE__ */ jsx2(
@@ -882,7 +882,7 @@ var RequiredAttributeField = ({
882
882
  value: typeof value === "string" ? value : value?.[0] ?? "",
883
883
  onChange: (e) => onChange(e.target.value),
884
884
  placeholder: t(
885
- "products.create.attributes.valuePlaceholder"
885
+ "products.create.attributes.enterValuePlaceholder"
886
886
  )
887
887
  }
888
888
  ) }),
@@ -892,9 +892,16 @@ var RequiredAttributeField = ({
892
892
  }
893
893
  );
894
894
  };
895
- var VariantAxisTip = () => {
895
+ var VariantAxisTip = ({ className }) => {
896
896
  const { t } = useTranslation2();
897
- return /* @__PURE__ */ jsx2(InlineTip, { label: t("products.create.attributes.tip"), children: t("products.create.attributes.variantAxisTip") });
897
+ return /* @__PURE__ */ jsx2(
898
+ InlineTip,
899
+ {
900
+ className,
901
+ label: t("products.create.attributes.tip"),
902
+ children: t("products.create.attributes.variantAxisTip")
903
+ }
904
+ );
898
905
  };
899
906
  Root._tabMeta = defineTabMeta({
900
907
  id: "attributes",
@@ -924,7 +931,8 @@ var ProductCreateGeneralSection = () => {
924
931
  render: ({ field }) => {
925
932
  return /* @__PURE__ */ jsxs3(Form.Item, { "data-testid": "product-create-general-section-title-item", children: [
926
933
  /* @__PURE__ */ jsx3(Form.Label, { "data-testid": "product-create-general-section-title-label", children: t("products.fields.title.label") }),
927
- /* @__PURE__ */ jsx3(Form.Control, { "data-testid": "product-create-general-section-title-control", children: /* @__PURE__ */ jsx3(Input2, { ...field, placeholder: t("products.fields.title.placeholder"), "data-testid": "product-create-general-section-title-input" }) })
934
+ /* @__PURE__ */ jsx3(Form.Control, { "data-testid": "product-create-general-section-title-control", children: /* @__PURE__ */ jsx3(Input2, { ...field, placeholder: t("products.fields.title.placeholder"), "data-testid": "product-create-general-section-title-input" }) }),
935
+ /* @__PURE__ */ jsx3(Form.ErrorMessage, { "data-testid": "product-create-general-section-title-error" })
928
936
  ] });
929
937
  }
930
938
  }
@@ -1645,28 +1653,30 @@ var ProductCreateOrganizationSection = () => {
1645
1653
  }
1646
1654
  )
1647
1655
  ] }),
1648
- /* @__PURE__ */ jsx7(
1649
- SwitchBox,
1650
- {
1651
- control: form.control,
1652
- name: "discountable",
1653
- label: t("products.fields.discountable.label"),
1654
- description: t("products.fields.discountable.hint"),
1655
- optional: true,
1656
- "data-testid": "product-create-organize-section-discountable-switch"
1657
- }
1658
- ),
1659
- /* @__PURE__ */ jsx7(
1660
- SwitchBox,
1661
- {
1662
- control: form.control,
1663
- name: "globally_available",
1664
- label: t("products.fields.globally_available.label"),
1665
- description: t("products.fields.globally_available.hint"),
1666
- optional: true,
1667
- "data-testid": "product-create-organize-section-globally-available-switch"
1668
- }
1669
- ),
1656
+ /* @__PURE__ */ jsxs7("div", { className: "flex flex-col gap-y-4", children: [
1657
+ /* @__PURE__ */ jsx7(
1658
+ SwitchBox,
1659
+ {
1660
+ control: form.control,
1661
+ name: "discountable",
1662
+ label: t("products.fields.discountable.label"),
1663
+ description: t("products.fields.discountable.hint"),
1664
+ optional: true,
1665
+ "data-testid": "product-create-organize-section-discountable-switch"
1666
+ }
1667
+ ),
1668
+ /* @__PURE__ */ jsx7(
1669
+ SwitchBox,
1670
+ {
1671
+ control: form.control,
1672
+ name: "globally_available",
1673
+ label: t("products.fields.globally_available.label"),
1674
+ description: t("products.fields.globally_available.hint"),
1675
+ optional: true,
1676
+ "data-testid": "product-create-organize-section-globally-available-switch"
1677
+ }
1678
+ )
1679
+ ] }),
1670
1680
  !isGloballyAvailable && /* @__PURE__ */ jsx7(
1671
1681
  Form.Field,
1672
1682
  {
@@ -1737,13 +1747,16 @@ Root3._tabMeta = defineTabMeta({
1737
1747
  var ProductCreateOrganizeForm = Root3;
1738
1748
 
1739
1749
  // src/pages/products/product-create/components/product-create-variants-form/product-create-variants-form.tsx
1740
- import { useMemo as useMemo3 } from "react";
1750
+ import { Input as Input3 } from "@medusajs/ui";
1751
+ import { useMemo as useMemo3, useState as useState3 } from "react";
1741
1752
  import { useWatch as useWatch3 } from "react-hook-form";
1742
1753
  import { useTranslation as useTranslation8 } from "react-i18next";
1743
1754
  import { jsx as jsx9 } from "react/jsx-runtime";
1744
1755
  var Root4 = () => {
1756
+ const { t } = useTranslation8();
1745
1757
  const form = useTabbedForm();
1746
1758
  const { setCloseOnEscape } = useRouteModal();
1759
+ const [search, setSearch] = useState3("");
1747
1760
  const variants = useWatch3({
1748
1761
  control: form.control,
1749
1762
  name: "variants",
@@ -1771,20 +1784,54 @@ var Root4 = () => {
1771
1784
  });
1772
1785
  return ret;
1773
1786
  }, [variants]);
1787
+ const filteredVariantData = useMemo3(() => {
1788
+ const query = search.trim().toLowerCase();
1789
+ if (!query) {
1790
+ return variantData;
1791
+ }
1792
+ return variantData.filter((variant) => {
1793
+ const haystack = [
1794
+ variant.title,
1795
+ variant.sku,
1796
+ ...Object.values(variant.options ?? {})
1797
+ ];
1798
+ return haystack.some((value) => value?.toLowerCase().includes(query));
1799
+ });
1800
+ }, [variantData, search]);
1801
+ const headerContent = /* @__PURE__ */ jsx9(
1802
+ Input3,
1803
+ {
1804
+ type: "search",
1805
+ size: "small",
1806
+ autoComplete: "off",
1807
+ value: search,
1808
+ onChange: (event) => setSearch(event.target.value),
1809
+ placeholder: t("general.search"),
1810
+ "data-testid": "product-create-variants-search-input"
1811
+ }
1812
+ );
1774
1813
  return /* @__PURE__ */ jsx9(
1775
1814
  "div",
1776
1815
  {
1777
1816
  className: "flex size-full flex-col divide-y overflow-hidden",
1778
1817
  "data-testid": "product-create-variants-form",
1779
- children: /* @__PURE__ */ jsx9("div", { "data-testid": "product-create-variants-form-datagrid", children: /* @__PURE__ */ jsx9(
1780
- DataGrid,
1818
+ children: /* @__PURE__ */ jsx9(
1819
+ "div",
1781
1820
  {
1782
- columns,
1783
- data: variantData,
1784
- state: form,
1785
- onEditingChange: (editing) => setCloseOnEscape(!editing)
1821
+ className: "min-h-0 flex-1 overflow-hidden",
1822
+ "data-testid": "product-create-variants-form-datagrid",
1823
+ children: /* @__PURE__ */ jsx9(
1824
+ DataGrid,
1825
+ {
1826
+ columns,
1827
+ data: filteredVariantData,
1828
+ state: form,
1829
+ onEditingChange: (editing) => setCloseOnEscape(!editing),
1830
+ headerContent
1831
+ }
1832
+ )
1786
1833
  }
1787
- ) })
1834
+ )
1788
1835
  }
1789
1836
  );
1790
1837
  };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getCollectionGallery,
3
3
  getCollectionIcon
4
- } from "./chunk-T2WVIET2.js";
4
+ } from "./chunk-VM56ZITS.js";
5
5
  import {
6
6
  useProductTableColumns
7
7
  } from "./chunk-O53E5U52.js";
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  _DataTable,
16
16
  useDataTable
17
- } from "./chunk-SJHBNENS.js";
17
+ } from "./chunk-HSL5IICN.js";
18
18
  import {
19
19
  SingleColumnPage
20
20
  } from "./chunk-H6MYB7GB.js";
@@ -11,7 +11,7 @@ import {
11
11
  import {
12
12
  _DataTable,
13
13
  useDataTable
14
- } from "./chunk-SJHBNENS.js";
14
+ } from "./chunk-HSL5IICN.js";
15
15
  import {
16
16
  SingleColumnPage
17
17
  } from "./chunk-H6MYB7GB.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  usePromotionTableColumns,
3
3
  usePromotionTableQuery
4
- } from "./chunk-PQAQM6SB.js";
4
+ } from "./chunk-SIOKPEVN.js";
5
5
  import {
6
6
  usePromotionTableFilters
7
7
  } from "./chunk-S2WEYEQR.js";
@@ -17,7 +17,7 @@ import {
17
17
  import {
18
18
  _DataTable,
19
19
  useDataTable
20
- } from "./chunk-SJHBNENS.js";
20
+ } from "./chunk-HSL5IICN.js";
21
21
  import {
22
22
  useAddOrRemoveCampaignPromotions,
23
23
  useCampaign,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  i18n
3
- } from "./chunk-IHERG3JP.js";
3
+ } from "./chunk-VPPUFVFJ.js";
4
4
 
5
5
  // src/lib/promotions.ts
6
6
  var getPromotionStatusMap = () => ({
@@ -23,7 +23,7 @@ import "./chunk-WIYFXWRI.js";
23
23
  import {
24
24
  _DataTable,
25
25
  useDataTable
26
- } from "./chunk-SJHBNENS.js";
26
+ } from "./chunk-HSL5IICN.js";
27
27
  import "./chunk-YN3FGNJM.js";
28
28
  import "./chunk-ZAOEFQ6K.js";
29
29
  import "./chunk-PAYQJPGK.js";
@@ -3,7 +3,7 @@ import {
3
3
  CollectionIconTip,
4
4
  CollectionMediaInput,
5
5
  uploadCollectionImages
6
- } from "./chunk-T2WVIET2.js";
6
+ } from "./chunk-VM56ZITS.js";
7
7
  import {
8
8
  HandleInput
9
9
  } from "./chunk-HJ56YXBU.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CollectionDetailPage
3
- } from "./chunk-R6DVBI5F.js";
4
- import "./chunk-T2WVIET2.js";
3
+ } from "./chunk-Y62TJJ3P.js";
4
+ import "./chunk-VM56ZITS.js";
5
5
  import "./chunk-O53E5U52.js";
6
6
  import "./chunk-WBSUHLO7.js";
7
7
  import "./chunk-P4LTLPTK.js";
@@ -13,7 +13,7 @@ import "./chunk-VSLHL2AZ.js";
13
13
  import "./chunk-E74OUNA3.js";
14
14
  import "./chunk-WIYFXWRI.js";
15
15
  import "./chunk-FQERBIVS.js";
16
- import "./chunk-SJHBNENS.js";
16
+ import "./chunk-HSL5IICN.js";
17
17
  import "./chunk-YN3FGNJM.js";
18
18
  import "./chunk-ZAOEFQ6K.js";
19
19
  import "./chunk-PAYQJPGK.js";
@@ -3,7 +3,7 @@ import {
3
3
  CollectionIconTip,
4
4
  getCollectionIcon,
5
5
  uploadCollectionImages
6
- } from "./chunk-T2WVIET2.js";
6
+ } from "./chunk-VM56ZITS.js";
7
7
  import "./chunk-VSLHL2AZ.js";
8
8
  import "./chunk-TKGWSUEI.js";
9
9
  import {