@mercurjs/admin 2.2.0-canary.45 → 2.2.0-canary.47

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 (244) hide show
  1. package/dist/{add-campaign-promotions-QK73ARX4.js → add-campaign-promotions-BC7ISVHX.js} +4 -4
  2. package/dist/{adjust-inventory-X45NEQFK.js → adjust-inventory-P2M7KZ77.js} +10 -10
  3. package/dist/{api-key-management-create-LOD37GOQ.js → api-key-management-create-KDKSGJ4C.js} +3 -3
  4. package/dist/{api-key-management-detail-5R7HJSK2.js → api-key-management-detail-O6KKT7V2.js} +11 -11
  5. package/dist/{api-key-management-edit-JP2GUMMJ.js → api-key-management-edit-NOGBLKBT.js} +3 -3
  6. package/dist/{api-key-management-list-SQEBELT3.js → api-key-management-list-QVYDHEZQ.js} +4 -4
  7. package/dist/{api-key-management-sales-channels-4GLVMHU6.js → api-key-management-sales-channels-W5NFP6EW.js} +3 -3
  8. package/dist/{attribute-create-VAR6C5GW.js → attribute-create-KR4DSDH2.js} +11 -11
  9. package/dist/{attribute-detail-2HDO6YCN.js → attribute-detail-LWKL6UMS.js} +10 -10
  10. package/dist/{attribute-list-OHBKYM37.js → attribute-list-QUSXFHRZ.js} +10 -10
  11. package/dist/{breadcrumb-IEEJTH47.js → breadcrumb-OBHTESQD.js} +1 -1
  12. package/dist/{campaign-budget-edit-NONE5NMV.js → campaign-budget-edit-QXAXRI6B.js} +1 -1
  13. package/dist/{campaign-configuration-JYSVIQFE.js → campaign-configuration-A3E6G2VQ.js} +1 -1
  14. package/dist/{campaign-create-6U2PONHA.js → campaign-create-TZH66JVU.js} +2 -2
  15. package/dist/{campaign-detail-6J7PTIIP.js → campaign-detail-KC3F4S57.js} +22 -18
  16. package/dist/{campaign-edit-DBAJFIH4.js → campaign-edit-FCFTVZ7A.js} +4 -2
  17. package/dist/{campaign-list-XH7UM5JJ.js → campaign-list-YXZ5GE7I.js} +2 -2
  18. package/dist/{categories-metadata-4LXL2PWA.js → categories-metadata-AIT33J5U.js} +10 -10
  19. package/dist/{category-create-CJZZZLDD.js → category-create-GA4QBQDP.js} +3 -3
  20. package/dist/{category-detail-XV6CDZZL.js → category-detail-P5NZLIVR.js} +22 -18
  21. package/dist/{category-edit-2NCWDSZY.js → category-edit-UFRYILZF.js} +6 -3
  22. package/dist/{category-icon-edit-W2TPCSDC.js → category-icon-edit-C2VAH5JA.js} +2 -2
  23. package/dist/{category-list-WYMOJJLW.js → category-list-O7KNSXRZ.js} +4 -4
  24. package/dist/{category-media-PC4V7YU4.js → category-media-E5UUDN3I.js} +2 -2
  25. package/dist/category-organize-T45BC4HL.js +129 -0
  26. package/dist/{category-products-CQV2TKLY.js → category-products-SX6CH3ZZ.js} +12 -12
  27. package/dist/{chunk-XVYJBZOI.js → chunk-26PTCTT3.js} +4 -4
  28. package/dist/{chunk-VXDRQQRZ.js → chunk-2CHED2KM.js} +4 -4
  29. package/dist/{chunk-IMLKFVFH.js → chunk-2GHNKPYY.js} +8 -4
  30. package/dist/{chunk-5UT374IW.js → chunk-2NHJ3D6N.js} +6 -5
  31. package/dist/{chunk-QBPPEUNR.js → chunk-3LGGCLSO.js} +1 -1
  32. package/dist/{chunk-L2D2AMTK.js → chunk-4SPHSUWU.js} +4 -4
  33. package/dist/{chunk-VE7RLYJ7.js → chunk-4XGFT4RZ.js} +33 -6
  34. package/dist/{chunk-6DJQITWV.js → chunk-5CHUXS7G.js} +1 -1
  35. package/dist/{chunk-QDUZCJ7F.js → chunk-5EOYDQAS.js} +1 -1
  36. package/dist/{chunk-H7NIKMPE.js → chunk-5NSOIZFB.js} +3 -1
  37. package/dist/{chunk-RS6HWWTT.js → chunk-5WTNXDRM.js} +3 -3
  38. package/dist/{chunk-WMK3BQPH.js → chunk-655ECEGW.js} +1 -1
  39. package/dist/{chunk-NPHYCQMP.js → chunk-6PGIRZA6.js} +5 -5
  40. package/dist/{chunk-JSVYNNPF.js → chunk-7IGLZARZ.js} +2 -2
  41. package/dist/{chunk-IASJSRP5.js → chunk-7MYE6VFQ.js} +5 -4
  42. package/dist/{chunk-JLCA6PWC.js → chunk-AASCLZ5N.js} +1 -1
  43. package/dist/{chunk-RGS5ZOY7.js → chunk-AFYILTAC.js} +4 -3
  44. package/dist/{chunk-R5QHWCJH.js → chunk-AO3P27WX.js} +1 -1
  45. package/dist/{chunk-LGOPKYNG.js → chunk-APMBU7ZV.js} +2 -2
  46. package/dist/{chunk-CW3HYGS5.js → chunk-AZDSIOYG.js} +1 -1
  47. package/dist/{chunk-USG4EATH.js → chunk-B3IK3FNO.js} +4 -3
  48. package/dist/{chunk-QAONUPAX.js → chunk-BGQCG4S5.js} +5 -4
  49. package/dist/{chunk-CHMIK6PK.js → chunk-CQKCZECQ.js} +2 -2
  50. package/dist/{chunk-OPSGADQI.js → chunk-DP6YFZHP.js} +1 -1
  51. package/dist/{chunk-HGTPUAHD.js → chunk-DUVYF37J.js} +1 -1
  52. package/dist/{chunk-U4MV53CS.js → chunk-EQGJGBA5.js} +9 -12
  53. package/dist/{chunk-GXU246YJ.js → chunk-FIWEITDG.js} +4 -3
  54. package/dist/{chunk-BNFTJW4L.js → chunk-FVG5DTS6.js} +2 -2
  55. package/dist/{chunk-LSMTJU6Y.js → chunk-G2LHEJLS.js} +3 -3
  56. package/dist/{chunk-7U2JJYMP.js → chunk-GLWJ5J3F.js} +9 -8
  57. package/dist/{chunk-PGDPJY7K.js → chunk-I3RIVWBQ.js} +1 -1
  58. package/dist/{chunk-YMOP6JKN.js → chunk-IGTR66D2.js} +2 -2
  59. package/dist/{chunk-COOOOQ2N.js → chunk-IJ2CSCLP.js} +4 -1
  60. package/dist/{chunk-3L4IFGRJ.js → chunk-IOAB3VND.js} +4 -6
  61. package/dist/{chunk-S3QMHTMJ.js → chunk-JPFPQWNT.js} +1 -1
  62. package/dist/{chunk-ELNENIRC.js → chunk-KA3BALYJ.js} +3 -3
  63. package/dist/{chunk-ORCMDF54.js → chunk-KHW3GRN4.js} +21 -13
  64. package/dist/{chunk-UPWZN6WB.js → chunk-KL4DBMVO.js} +1 -1
  65. package/dist/{chunk-F3F4JC7E.js → chunk-KUBTN5TC.js} +1 -1
  66. package/dist/{chunk-27XNPAJP.js → chunk-L6D7AGRF.js} +9 -5
  67. package/dist/{chunk-FMJBQE56.js → chunk-LPIPSLR7.js} +1 -1
  68. package/dist/{chunk-4C7L7TJT.js → chunk-LXNWSQOE.js} +3 -3
  69. package/dist/{chunk-PFBJWWUA.js → chunk-M5BZBKA3.js} +1 -1
  70. package/dist/{chunk-DUXVIXHP.js → chunk-MBHP7XGQ.js} +2 -2
  71. package/dist/{chunk-PLU2GB4L.js → chunk-MJTFEVGB.js} +5 -6
  72. package/dist/{chunk-ZKHF75MZ.js → chunk-MMKUMSZS.js} +1 -1
  73. package/dist/{chunk-GCEOEV6P.js → chunk-MTHPNKQ4.js} +4 -4
  74. package/dist/{chunk-WY53X57R.js → chunk-NPUD4G37.js} +1 -1
  75. package/dist/{chunk-2CJIE5MY.js → chunk-O6KUSG6F.js} +13 -6
  76. package/dist/{chunk-5PNM6QNB.js → chunk-O6OZASFC.js} +1 -1
  77. package/dist/{chunk-4RLXMDIJ.js → chunk-ODDJZVYL.js} +6 -4
  78. package/dist/{chunk-X7IR2TVL.js → chunk-OG5AVHPY.js} +5 -5
  79. package/dist/{chunk-C4UDDNHP.js → chunk-OTGABFC4.js} +1 -1
  80. package/dist/{chunk-4XYSIVPO.js → chunk-P2DFLKCN.js} +1 -1
  81. package/dist/{chunk-E6326AHP.js → chunk-PFD4SHVF.js} +2 -2
  82. package/dist/{chunk-K7H77TA5.js → chunk-PHWYJ26A.js} +1 -1
  83. package/dist/{chunk-JEN37H6L.js → chunk-QEX45BI3.js} +1 -1
  84. package/dist/{chunk-JZJT26E3.js → chunk-QVIX6O76.js} +1 -1
  85. package/dist/{chunk-VIJXGPDE.js → chunk-QVQJOMEY.js} +8 -7
  86. package/dist/{chunk-F2SZ4LPF.js → chunk-QZETW7FG.js} +19 -2
  87. package/dist/{chunk-LBDSZT5Q.js → chunk-RCI2GQZY.js} +5 -4
  88. package/dist/{chunk-BILFRATX.js → chunk-SAU35JEB.js} +1 -1
  89. package/dist/{chunk-OVUKVGGD.js → chunk-SHFF3Y5U.js} +6 -4
  90. package/dist/{chunk-JCOBV3J2.js → chunk-TVTI7RG5.js} +3 -3
  91. package/dist/{chunk-4BCUGMOR.js → chunk-UK5BVJI7.js} +1 -1
  92. package/dist/{chunk-FNCDMOOR.js → chunk-UQZBS67R.js} +20 -10
  93. package/dist/{chunk-UQGXKAFA.js → chunk-VH4W6LKI.js} +1 -1
  94. package/dist/{chunk-EXUFS4XF.js → chunk-VHOCBKSA.js} +1 -1
  95. package/dist/{chunk-CBD7HK2G.js → chunk-VU6KTPOZ.js} +6 -7
  96. package/dist/{chunk-RE2N7KGI.js → chunk-VVJPSCBO.js} +1 -1
  97. package/dist/{chunk-DI33XMXB.js → chunk-WNBV2NBG.js} +1 -1
  98. package/dist/{chunk-RIO2IHPE.js → chunk-WR7ZTUOY.js} +1 -1
  99. package/dist/{chunk-GLZLBHFC.js → chunk-WX4ABVXL.js} +2 -2
  100. package/dist/{chunk-RATQZHCS.js → chunk-XJQ4MWBR.js} +4 -4
  101. package/dist/{chunk-KUCNCDST.js → chunk-XWP4ZGKN.js} +4 -4
  102. package/dist/{chunk-YDAEPFPY.js → chunk-Y6C2YIKD.js} +1 -1
  103. package/dist/{chunk-ML7UVBKL.js → chunk-YR6Q3TKU.js} +1 -1
  104. package/dist/{chunk-QFFF542X.js → chunk-YYRDUEYJ.js} +13 -5
  105. package/dist/{chunk-MFCQTAVI.js → chunk-Z7XMG6DA.js} +8 -3
  106. package/dist/{chunk-YNN2YNSE.js → chunk-ZAANJVLM.js} +1 -1
  107. package/dist/{chunk-MW47LDBT.js → chunk-ZOTBKQLG.js} +1 -1
  108. package/dist/{collection-add-products-XUKFZOCQ.js → collection-add-products-TRY52HYQ.js} +12 -12
  109. package/dist/{collection-create-5IGFVQKE.js → collection-create-7ZQONUJL.js} +4 -3
  110. package/dist/{collection-detail-ID4FKP22.js → collection-detail-K4L3X45M.js} +21 -17
  111. package/dist/{collection-edit-GPUKISIV.js → collection-edit-VD57ORSY.js} +14 -5
  112. package/dist/{collection-icon-edit-WCSKUDXE.js → collection-icon-edit-642AZRHR.js} +2 -2
  113. package/dist/{collection-list-C6U4CPLD.js → collection-list-YMCTIJ52.js} +17 -17
  114. package/dist/{collection-media-YIV5BV3Y.js → collection-media-LMJFEFVY.js} +2 -2
  115. package/dist/{collection-metadata-SBK6SL4C.js → collection-metadata-AZRN32RU.js} +10 -10
  116. package/dist/{commission-rule-detail-MLAJAVPU.js → commission-rule-detail-FOLHANWL.js} +5 -5
  117. package/dist/{commissions-list-GA2WX5C5.js → commissions-list-56S53CQ4.js} +5 -5
  118. package/dist/{customer-create-ZQ4RTXBA.js → customer-create-SC6LAEVJ.js} +1 -1
  119. package/dist/{customer-create-address-P2QYUZJ5.js → customer-create-address-VZMOF5AE.js} +9 -4
  120. package/dist/{customer-detail-IG2QAAQL.js → customer-detail-VIWHZUOZ.js} +22 -19
  121. package/dist/{customer-edit-TADBOMPB.js → customer-edit-MHSXLB6U.js} +6 -2
  122. package/dist/{customer-edit-address-R5RXDUNZ.js → customer-edit-address-ZEVUPAYN.js} +15 -6
  123. package/dist/{customer-group-add-customers-O6A5ZFPM.js → customer-group-add-customers-VKUSW6AS.js} +2 -2
  124. package/dist/{customer-group-create-44R3DDOT.js → customer-group-create-3KAC3R3N.js} +1 -1
  125. package/dist/{customer-group-detail-2B7XJ7NT.js → customer-group-detail-JVULZZTT.js} +24 -21
  126. package/dist/{customer-group-edit-BX4HKVNN.js → customer-group-edit-LXPAPBZ7.js} +7 -2
  127. package/dist/{customer-group-list-7LN5TN3G.js → customer-group-list-SKODEZKB.js} +12 -12
  128. package/dist/{customer-group-metadata-JX7ZBXLJ.js → customer-group-metadata-3QRU7FIE.js} +10 -10
  129. package/dist/{customer-list-K5TV3PSF.js → customer-list-LYDL4IEG.js} +3 -3
  130. package/dist/{customer-metadata-JT5GGCRV.js → customer-metadata-7DMBCQXW.js} +10 -10
  131. package/dist/{customers-add-customer-group-KX3XNNMU.js → customers-add-customer-group-FXRUE5SD.js} +11 -11
  132. package/dist/{edit-inventory-item-4RXYRJ7O.js → edit-inventory-item-4J3KFOUC.js} +12 -11
  133. package/dist/{edit-inventory-item-attributes-ZMB343AB.js → edit-inventory-item-attributes-J7WHYKMK.js} +10 -10
  134. package/dist/{edit-reservation-HA6J6U2N.js → edit-reservation-VGB7GCD5.js} +7 -3
  135. package/dist/{edit-rules-4PPNBI7B.js → edit-rules-2WZOLTL7.js} +11 -11
  136. package/dist/index.js +202 -202
  137. package/dist/{inventory-create-B3FHGX6A.js → inventory-create-RDVKGH2S.js} +11 -11
  138. package/dist/{inventory-detail-7VEJHRBB.js → inventory-detail-J7NMO7EZ.js} +22 -18
  139. package/dist/{inventory-list-IRQUQD4G.js → inventory-list-XBDJ7BHE.js} +2 -2
  140. package/dist/{inventory-metadata-W2E4KYG3.js → inventory-metadata-CQHLKX4T.js} +10 -10
  141. package/dist/{inventory-stock-D2BNT2UL.js → inventory-stock-3TR47RNA.js} +10 -10
  142. package/dist/{loader-HRFMJ5TM.js → loader-ZYV22XGC.js} +15 -11
  143. package/dist/{location-detail-7TEMWMQG.js → location-detail-DTBVSZBJ.js} +11 -11
  144. package/dist/{location-fulfillment-providers-MFM4SHJJ.js → location-fulfillment-providers-P5U5K4NO.js} +14 -14
  145. package/dist/{location-list-EFMGNVII.js → location-list-LH27WJBT.js} +10 -10
  146. package/dist/{location-sales-channels-ZQBQ3VDH.js → location-sales-channels-PRQUBZIV.js} +2 -2
  147. package/dist/{location-service-zone-shipping-option-create-3PQ2EYD7.js → location-service-zone-shipping-option-create-Z3S7EUYH.js} +10 -10
  148. package/dist/{login-OKBXMSKY.js → login-JNIVGP2G.js} +10 -10
  149. package/dist/{manage-locations-SUJNIWWF.js → manage-locations-NGNUXP3N.js} +1 -1
  150. package/dist/{marketplace-detail-NMNGD5PW.js → marketplace-detail-VNCNRAE4.js} +11 -11
  151. package/dist/{marketplace-metadata-STYABOTX.js → marketplace-metadata-74YUQ6UC.js} +10 -10
  152. package/dist/{offer-detail-page-THKNBFWZ.js → offer-detail-page-KQMSZLQN.js} +6 -5
  153. package/dist/{offers-LYLEYD3A.js → offers-NW24IATZ.js} +11 -11
  154. package/dist/{order-create-edit-6L5S7KQM.js → order-create-edit-CAKL6MJQ.js} +3 -3
  155. package/dist/{order-create-exchange-WHO3K2MW.js → order-create-exchange-QGSECB7D.js} +10 -10
  156. package/dist/{order-create-refund-4ZO73NWS.js → order-create-refund-HXFCDZV5.js} +10 -10
  157. package/dist/{order-detail-NYKOH7OO.js → order-detail-DGZXN7IQ.js} +20 -16
  158. package/dist/{order-edit-billing-address-BEOKFNLZ.js → order-edit-billing-address-3OMGU4CK.js} +11 -11
  159. package/dist/{order-edit-email-GLAQZCIT.js → order-edit-email-VSAS3M2E.js} +10 -10
  160. package/dist/{order-edit-shipping-address-PF54SFAG.js → order-edit-shipping-address-FZMDRJU5.js} +10 -10
  161. package/dist/{order-list-EZWCH5YW.js → order-list-6LIYSO2R.js} +8 -8
  162. package/dist/{order-metadata-VQOA3DOL.js → order-metadata-FKM3ZDNM.js} +10 -10
  163. package/dist/{order-request-transfer-BLQQ66IF.js → order-request-transfer-BCE6ED5E.js} +10 -10
  164. package/dist/pages/index.d.ts +25 -25
  165. package/dist/pages/index.js +80 -80
  166. package/dist/{price-list-configuration-BLHIGDSV.js → price-list-configuration-DYFBYDQE.js} +6 -6
  167. package/dist/{price-list-create-YHSA7U3L.js → price-list-create-U2DMHUQE.js} +15 -15
  168. package/dist/{price-list-detail-3SS3DGRU.js → price-list-detail-CAK3AFSU.js} +22 -18
  169. package/dist/{price-list-edit-TRRPPI43.js → price-list-edit-UADWQDT2.js} +6 -4
  170. package/dist/{price-list-list-REIHOWWT.js → price-list-list-PJIIPQOF.js} +5 -5
  171. package/dist/{price-list-prices-add-X2GLUD7O.js → price-list-prices-add-6TO5RTTD.js} +13 -13
  172. package/dist/{price-list-prices-edit-ZQE3Z3NK.js → price-list-prices-edit-AXJJTMKL.js} +10 -10
  173. package/dist/{product-add-existing-attributes-GPAZOIXH.js → product-add-existing-attributes-XIJB2NXI.js} +10 -10
  174. package/dist/{product-attributes-4EPKS6MP.js → product-attributes-PCZDEFHM.js} +1 -1
  175. package/dist/{product-bulk-edit-TRI2KKHW.js → product-bulk-edit-FGB4T2KQ.js} +1 -1
  176. package/dist/{product-create-6FDBZUB4.js → product-create-3LKSDOHR.js} +14 -14
  177. package/dist/{product-create-attribute-YFIEH7HD.js → product-create-attribute-6AJPI6IJ.js} +1 -1
  178. package/dist/{product-create-variant-4O22DW7M.js → product-create-variant-2OCZA6GW.js} +2 -2
  179. package/dist/{product-detail-VORTX3LT.js → product-detail-N7YTQ45T.js} +21 -16
  180. package/dist/{product-edit-26AWYWUU.js → product-edit-KMK7CMLI.js} +6 -2
  181. package/dist/{product-edit-attribute-NUJB7M6R.js → product-edit-attribute-FCEYWZWL.js} +1 -1
  182. package/dist/{product-list-IKAIBHDH.js → product-list-CIHKL6N7.js} +13 -13
  183. package/dist/{product-media-LINHO45U.js → product-media-SHU5ULOK.js} +3 -3
  184. package/dist/{product-metadata-LOF6TSJQ.js → product-metadata-6EFF4IPX.js} +10 -10
  185. package/dist/{product-organization-ISVMEWQG.js → product-organization-JSYFCGNL.js} +4 -4
  186. package/dist/{product-sales-channels-C6UUHWGB.js → product-sales-channels-GD7NYUP3.js} +2 -2
  187. package/dist/{product-shipping-profile-VTYQ22E4.js → product-shipping-profile-UFIRKPTG.js} +1 -1
  188. package/dist/{product-tag-create-AHG3Y4GE.js → product-tag-create-PSY5Q437.js} +10 -10
  189. package/dist/{product-tag-detail-CEGLUXR2.js → product-tag-detail-D54OKWUZ.js} +17 -17
  190. package/dist/{product-tag-edit-ACHNVZZP.js → product-tag-edit-NVGUS3CY.js} +10 -10
  191. package/dist/{product-tag-list-RZ7JRSY5.js → product-tag-list-QNWZAU5G.js} +17 -17
  192. package/dist/{product-tag-metadata-BXC7GMBB.js → product-tag-metadata-T4ZYOIXY.js} +10 -10
  193. package/dist/{product-type-detail-EITNHOVB.js → product-type-detail-TXZ6HTOV.js} +13 -13
  194. package/dist/{product-type-metadata-24JU4JNK.js → product-type-metadata-OJJYUALT.js} +10 -10
  195. package/dist/{product-variant-detail-OKBXU3KF.js → product-variant-detail-FZL5OZFE.js} +11 -11
  196. package/dist/{product-variant-edit-MAM2RQ4V.js → product-variant-edit-LSSJW4DS.js} +10 -10
  197. package/dist/{product-variant-metadata-5PUBLPDN.js → product-variant-metadata-D5AUINFJ.js} +10 -10
  198. package/dist/{promotion-add-campaign-WK36UMSF.js → promotion-add-campaign-PYEBYRHK.js} +2 -2
  199. package/dist/{promotion-create-3EDHAI7E.js → promotion-create-OFLXF3RZ.js} +14 -14
  200. package/dist/{promotion-detail-PLGDC3A7.js → promotion-detail-GP5KBQB7.js} +24 -18
  201. package/dist/{promotion-edit-details-RTLPOQ4H.js → promotion-edit-details-W7XDJ4OD.js} +4 -2
  202. package/dist/{promotion-list-D6HSZKGU.js → promotion-list-2MUOOIOJ.js} +5 -5
  203. package/dist/{refund-reason-create-UA3XS6DP.js → refund-reason-create-HTTX2UGC.js} +10 -10
  204. package/dist/{refund-reason-edit-3TAGKV3U.js → refund-reason-edit-I7XXP4EP.js} +10 -10
  205. package/dist/{refund-reason-list-4Q6RPJ3O.js → refund-reason-list-YYCNRERE.js} +13 -13
  206. package/dist/{region-metadata-NRV3L42D.js → region-metadata-RRUP56B2.js} +10 -10
  207. package/dist/{reservation-create-ANLVF7EC.js → reservation-create-3RVQVMRF.js} +2 -2
  208. package/dist/{reservation-detail-PWZ3PLC4.js → reservation-detail-QOVPIIMC.js} +19 -15
  209. package/dist/{reservation-list-URKNAFIX.js → reservation-list-SGGW2MSN.js} +3 -3
  210. package/dist/{reservation-metadata-ZFKKAOWG.js → reservation-metadata-OAEUUCRG.js} +10 -10
  211. package/dist/{reset-password-UDA5ZMTZ.js → reset-password-C347RVO7.js} +1 -1
  212. package/dist/{return-reason-list-4AJKJFLL.js → return-reason-list-HMSZJDKI.js} +3 -3
  213. package/dist/{sales-channel-add-products-NATZ7L5S.js → sales-channel-add-products-6TXYF3HM.js} +12 -12
  214. package/dist/{sales-channel-create-OC2BB67N.js → sales-channel-create-77PRY5T6.js} +2 -2
  215. package/dist/{sales-channel-detail-WX7V3AMQ.js → sales-channel-detail-SYE4FUXD.js} +13 -13
  216. package/dist/{sales-channel-edit-V62TBRC4.js → sales-channel-edit-PBN2XYEI.js} +2 -2
  217. package/dist/{sales-channel-list-GUEEN52J.js → sales-channel-list-4CNHLSBR.js} +11 -11
  218. package/dist/{sales-channel-metadata-5W4OZZYI.js → sales-channel-metadata-RXT26TCT.js} +10 -10
  219. package/dist/{shipping-option-type-create-GHOCZT64.js → shipping-option-type-create-2EVIHSGN.js} +10 -10
  220. package/dist/{shipping-option-type-detail-AXPDURRK.js → shipping-option-type-detail-BKFYUX2T.js} +10 -10
  221. package/dist/{shipping-option-type-edit-KRIP6HTC.js → shipping-option-type-edit-LTH6PE7B.js} +10 -10
  222. package/dist/{shipping-option-type-list-INXNG2LU.js → shipping-option-type-list-7NSGG7ZI.js} +10 -10
  223. package/dist/{shipping-profile-metadata-52ZW757T.js → shipping-profile-metadata-WRFZ55C3.js} +10 -10
  224. package/dist/{store-address-edit-IJ2UW6WC.js → store-address-edit-M6A37RFY.js} +1 -1
  225. package/dist/{store-bulk-edit-I2J5YYZK.js → store-bulk-edit-SYHKAJ6D.js} +1 -1
  226. package/dist/{store-closure-edit-H3EKROXP.js → store-closure-edit-VE7D5F7I.js} +1 -1
  227. package/dist/{store-create-IKHZ52NO.js → store-create-6OQW7F4U.js} +10 -10
  228. package/dist/{store-details-CFWAS2MB.js → store-details-45RPSTMU.js} +19 -36
  229. package/dist/{store-edit-AQSHKUIO.js → store-edit-GIKORSX3.js} +6 -4
  230. package/dist/{store-list-6XZEWHRE.js → store-list-XZU26QTH.js} +17 -17
  231. package/dist/{store-member-invite-J2JFDOHX.js → store-member-invite-T5GCT6HV.js} +1 -1
  232. package/dist/{store-payment-details-edit-ERRJDLBO.js → store-payment-details-edit-JUM745OG.js} +1 -1
  233. package/dist/{store-professional-details-edit-VD2J4VYV.js → store-professional-details-edit-NKBYKBCA.js} +1 -1
  234. package/dist/{tax-region-create-GGDCD2VU.js → tax-region-create-EGMJMBYE.js} +11 -11
  235. package/dist/{tax-region-detail-KN4IUVQW.js → tax-region-detail-UGD2KK2H.js} +12 -12
  236. package/dist/{tax-region-edit-6JOV3POI.js → tax-region-edit-N64TGNAG.js} +10 -10
  237. package/dist/{tax-region-metadata-4P667IOY.js → tax-region-metadata-MKXFQ5B7.js} +10 -10
  238. package/dist/{tax-region-province-detail-6NONQIBT.js → tax-region-province-detail-LITAO6EZ.js} +12 -12
  239. package/dist/{tax-region-tax-override-create-5PIUENUZ.js → tax-region-tax-override-create-NCAWHUOU.js} +17 -17
  240. package/dist/{tax-region-tax-override-edit-GBPRPUTS.js → tax-region-tax-override-edit-OOP7RQZR.js} +17 -17
  241. package/dist/{user-detail-PYBWVQYY.js → user-detail-4FDNMJ6W.js} +1 -1
  242. package/dist/{user-metadata-CHHV7S3A.js → user-metadata-5UFWFXLX.js} +10 -10
  243. package/package.json +6 -6
  244. package/dist/category-organize-H4JYCHDA.js +0 -112
@@ -7,10 +7,10 @@ import {
7
7
  } from "./chunk-I5HY5Q3K.js";
8
8
  import {
9
9
  useProductTableFilters
10
- } from "./chunk-LGOPKYNG.js";
10
+ } from "./chunk-APMBU7ZV.js";
11
11
  import {
12
12
  useProductTableQuery
13
- } from "./chunk-H7NIKMPE.js";
13
+ } from "./chunk-5NSOIZFB.js";
14
14
  import {
15
15
  _DataTable,
16
16
  useDataTable
@@ -22,7 +22,7 @@ import {
22
22
  useCollection,
23
23
  useDeleteCollection,
24
24
  useUpdateCollectionProducts
25
- } from "./chunk-BNFTJW4L.js";
25
+ } from "./chunk-FVG5DTS6.js";
26
26
  import {
27
27
  ActionMenu
28
28
  } from "./chunk-BDGZ4EQO.js";
@@ -31,16 +31,16 @@ import {
31
31
  } from "./chunk-INNFZYX2.js";
32
32
  import {
33
33
  useProducts
34
- } from "./chunk-ZKHF75MZ.js";
34
+ } from "./chunk-MMKUMSZS.js";
35
35
 
36
36
  // src/pages/collections/collection-detail/collection-detail.tsx
37
37
  import { Children } from "react";
38
38
  import { useLoaderData, useParams } from "react-router-dom";
39
- import { WidgetZone } from "@mercurjs/dashboard-shared";
39
+ import { WidgetZone, useLinkQuery } from "@mercurjs/dashboard-shared";
40
40
 
41
41
  // src/pages/collections/collection-detail/components/collection-general-section/collection-general-section.tsx
42
42
  import { PencilSquare, Trash } from "@medusajs/icons";
43
- import { Container, Heading, Text, usePrompt } from "@medusajs/ui";
43
+ import { Container, Heading, Text, toast, usePrompt } from "@medusajs/ui";
44
44
  import { DisplayExtensionZone, DisplayField } from "@mercurjs/dashboard-shared";
45
45
  import { useTranslation } from "react-i18next";
46
46
  import { useNavigate } from "react-router-dom";
@@ -63,7 +63,14 @@ var CollectionGeneralSection = ({
63
63
  if (!res) {
64
64
  return;
65
65
  }
66
- await mutateAsync();
66
+ await mutateAsync(void 0, {
67
+ onSuccess: () => {
68
+ toast.success(t("collections.deleteSuccess"));
69
+ },
70
+ onError: (error) => {
71
+ toast.error(error.message);
72
+ }
73
+ });
67
74
  navigate("../", { replace: true });
68
75
  };
69
76
  return /* @__PURE__ */ jsxs(Container, { className: "divide-y p-0", children: [
@@ -245,7 +252,7 @@ var CollectionMediaSection = ({
245
252
 
246
253
  // src/pages/collections/collection-detail/components/collection-product-section/collection-product-section.tsx
247
254
  import { PencilSquare as PencilSquare4, Plus, Trash as Trash2 } from "@medusajs/icons";
248
- import { Checkbox, Container as Container4, Heading as Heading4, toast, usePrompt as usePrompt2 } from "@medusajs/ui";
255
+ import { Checkbox, Container as Container4, Heading as Heading4, toast as toast2, usePrompt as usePrompt2 } from "@medusajs/ui";
249
256
  import { DisplayExtensionZone as DisplayExtensionZone4 } from "@mercurjs/dashboard-shared";
250
257
  import { keepPreviousData } from "@tanstack/react-query";
251
258
  import { createColumnHelper } from "@tanstack/react-table";
@@ -303,14 +310,14 @@ var CollectionProductSection = ({
303
310
  },
304
311
  {
305
312
  onSuccess: () => {
306
- toast.success(
313
+ toast2.success(
307
314
  t("collections.products.remove.successToast", {
308
315
  count: ids.length
309
316
  })
310
317
  );
311
318
  },
312
319
  onError: (e) => {
313
- toast.error(e.message);
320
+ toast2.error(e.message);
314
321
  }
315
322
  }
316
323
  );
@@ -355,6 +362,7 @@ var CollectionProductSection = ({
355
362
  { key: "created_at", label: t("fields.createdAt") },
356
363
  { key: "updated_at", label: t("fields.updatedAt") }
357
364
  ],
365
+ defaultOrder: searchParams.order,
358
366
  queryObject: raw,
359
367
  commands: [
360
368
  {
@@ -396,14 +404,14 @@ var ProductActions = ({
396
404
  },
397
405
  {
398
406
  onSuccess: () => {
399
- toast.success(
407
+ toast2.success(
400
408
  t("collections.products.remove.successToast", {
401
409
  count: 1
402
410
  })
403
411
  );
404
412
  },
405
413
  onError: (e) => {
406
- toast.error(e.message);
414
+ toast2.error(e.message);
407
415
  }
408
416
  }
409
417
  );
@@ -485,7 +493,7 @@ var Root = ({ children }) => {
485
493
  const { id } = useParams();
486
494
  const { collection, isLoading, isError, error } = useCollection(
487
495
  id,
488
- {},
496
+ useLinkQuery("collection"),
489
497
  {
490
498
  initialData
491
499
  }
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-KOURHC2N.js";
10
10
  import {
11
11
  useProductTagTableQuery
12
- } from "./chunk-COOOOQ2N.js";
12
+ } from "./chunk-IJ2CSCLP.js";
13
13
  import {
14
14
  _DataTable,
15
15
  useDataTable
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-BDGZ4EQO.js";
4
4
  import {
5
5
  useUpdateProduct
6
- } from "./chunk-ZKHF75MZ.js";
6
+ } from "./chunk-MMKUMSZS.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";
@@ -14,7 +14,7 @@ import {
14
14
  import {
15
15
  useCampaigns,
16
16
  useDeleteCampaign
17
- } from "./chunk-GCEOEV6P.js";
17
+ } from "./chunk-MTHPNKQ4.js";
18
18
  import {
19
19
  ActionMenu
20
20
  } from "./chunk-BDGZ4EQO.js";
@@ -28,7 +28,7 @@ import { PencilSquare, Trash } from "@medusajs/icons";
28
28
  import { Button, Container, Heading, toast, usePrompt } from "@medusajs/ui";
29
29
  import { keepPreviousData } from "@tanstack/react-query";
30
30
  import { createColumnHelper } from "@tanstack/react-table";
31
- import { useExtendableTable } from "@mercurjs/dashboard-shared";
31
+ import { useExtendableTable, useLinkQuery } from "@mercurjs/dashboard-shared";
32
32
  import { Children, useMemo } from "react";
33
33
  import { useTranslation } from "react-i18next";
34
34
  import { Link } from "react-router-dom";
@@ -61,15 +61,19 @@ var CampaignListHeader = ({ children }) => {
61
61
  var CampaignListDataTable = () => {
62
62
  const { t } = useTranslation();
63
63
  const { raw, searchParams } = useCampaignTableQuery({ pageSize: PAGE_SIZE });
64
+ const linkQuery = useLinkQuery("campaign");
64
65
  const {
65
66
  campaigns,
66
67
  count,
67
68
  isPending: isLoading,
68
69
  isError,
69
70
  error
70
- } = useCampaigns(searchParams, {
71
- placeholderData: keepPreviousData
72
- });
71
+ } = useCampaigns(
72
+ { ...searchParams, ...linkQuery },
73
+ {
74
+ placeholderData: keepPreviousData
75
+ }
76
+ );
73
77
  const columns = useColumns();
74
78
  const { table } = useDataTable({
75
79
  data: campaigns ?? [],
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useSellers
3
- } from "./chunk-BILFRATX.js";
3
+ } from "./chunk-SAU35JEB.js";
4
4
 
5
5
  // src/hooks/table/filters/use-customer-group-table-filters.tsx
6
6
  import { useTranslation } from "react-i18next";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  useSellers
3
- } from "./chunk-BILFRATX.js";
3
+ } from "./chunk-SAU35JEB.js";
4
4
  import {
5
5
  useCustomers
6
- } from "./chunk-RGS5ZOY7.js";
6
+ } from "./chunk-AFYILTAC.js";
7
7
  import {
8
8
  useSalesChannels
9
- } from "./chunk-MW47LDBT.js";
9
+ } from "./chunk-ZOTBKQLG.js";
10
10
 
11
11
  // src/pages/orders/order-list/components/order-list-table/use-order-table-filters.tsx
12
12
  import { useMemo } from "react";
@@ -32,7 +32,7 @@ import {
32
32
  } from "./chunk-INNFZYX2.js";
33
33
  import {
34
34
  useProducts
35
- } from "./chunk-ZKHF75MZ.js";
35
+ } from "./chunk-MMKUMSZS.js";
36
36
 
37
37
  // src/pages/tax-regions/common/components/tax-rate-line/tax-rate-line.tsx
38
38
  import { PencilSquare, Trash } from "@medusajs/icons";
@@ -26,7 +26,7 @@ import {
26
26
  useBatchRemoveSalesChannelsFromApiKey,
27
27
  useDeleteApiKey,
28
28
  useRevokeApiKey
29
- } from "./chunk-YNN2YNSE.js";
29
+ } from "./chunk-ZAANJVLM.js";
30
30
  import {
31
31
  useUser
32
32
  } from "./chunk-A2F5MDPU.js";
@@ -35,7 +35,7 @@ import {
35
35
  } from "./chunk-BDGZ4EQO.js";
36
36
  import {
37
37
  useSalesChannels
38
- } from "./chunk-MW47LDBT.js";
38
+ } from "./chunk-ZOTBKQLG.js";
39
39
  import {
40
40
  SingleColumnPageSkeleton,
41
41
  Skeleton
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-QG6PLWNH.js";
4
4
  import {
5
5
  useCustomerTableFilters
6
- } from "./chunk-HGTPUAHD.js";
6
+ } from "./chunk-DUVYF37J.js";
7
7
  import {
8
8
  useCustomerTableQuery
9
9
  } from "./chunk-GRH7C3QN.js";
@@ -19,7 +19,7 @@ import {
19
19
  useCustomers,
20
20
  useDeleteCustomerGroup,
21
21
  useRemoveCustomersFromGroup
22
- } from "./chunk-RGS5ZOY7.js";
22
+ } from "./chunk-AFYILTAC.js";
23
23
  import {
24
24
  ActionMenu
25
25
  } from "./chunk-BDGZ4EQO.js";
@@ -30,7 +30,7 @@ import {
30
30
  // src/pages/customer-groups/customer-group-detail/customer-group-detail.tsx
31
31
  import { Children } from "react";
32
32
  import { useLoaderData, useParams } from "react-router-dom";
33
- import { WidgetZone } from "@mercurjs/dashboard-shared";
33
+ import { useLinkQuery, WidgetZone } from "@mercurjs/dashboard-shared";
34
34
 
35
35
  // src/pages/customer-groups/customer-group-detail/components/customer-group-customer-section/customer-group-customer-section.tsx
36
36
  import { PencilSquare, Trash } from "@medusajs/icons";
@@ -340,11 +340,10 @@ import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
340
340
  var Root = ({ children }) => {
341
341
  const initialData = useLoaderData();
342
342
  const { id } = useParams();
343
+ const query = useLinkQuery("customer_group", CUSTOMER_GROUP_DETAIL_FIELDS);
343
344
  const { customer_group, isLoading, isError, error } = useCustomerGroup(
344
345
  id,
345
- {
346
- fields: CUSTOMER_GROUP_DETAIL_FIELDS
347
- },
346
+ query,
348
347
  { initialData }
349
348
  );
350
349
  if (isLoading || !customer_group) {
@@ -38,7 +38,7 @@ var useInventoryItems = (query, options) => {
38
38
  var useInventoryItem = (id, query, options) => {
39
39
  const { data, ...rest } = useQuery({
40
40
  queryFn: () => sdk.admin.inventoryItems.$id.query({ $id: id, ...query }),
41
- queryKey: inventoryItemsQueryKeys.detail(id),
41
+ queryKey: inventoryItemsQueryKeys.detail(id, query),
42
42
  ...options
43
43
  });
44
44
  return { ...data, ...rest };
@@ -23,7 +23,7 @@ var REGIONS_QUERY_KEY = "campaigns";
23
23
  var campaignsQueryKeys = queryKeysFactory(REGIONS_QUERY_KEY);
24
24
  var useCampaign = (id, query, options) => {
25
25
  const { data, ...rest } = useQuery({
26
- queryKey: campaignsQueryKeys.detail(id),
26
+ queryKey: campaignsQueryKeys.detail(id, query),
27
27
  queryFn: () => sdk.admin.campaigns.$id.query({ $id: id, ...query }),
28
28
  ...options
29
29
  });
@@ -98,10 +98,10 @@ var promotionsQueryKeys = {
98
98
  ],
99
99
  listRuleValues: (ruleType, ruleValue, query) => [PROMOTIONS_QUERY_KEY, ruleType, ruleValue, query]
100
100
  };
101
- var usePromotion = (id, options) => {
101
+ var usePromotion = (id, query, options) => {
102
102
  const { data, ...rest } = useQuery2({
103
- queryKey: promotionsQueryKeys.detail(id),
104
- queryFn: async () => sdk.admin.promotions.$id.query({ $id: id }),
103
+ queryKey: promotionsQueryKeys.detail(id, query),
104
+ queryFn: async () => sdk.admin.promotions.$id.query({ $id: id, ...query }),
105
105
  ...options
106
106
  });
107
107
  return { ...data, ...rest };
@@ -2,7 +2,7 @@ import {
2
2
  TaxOverrideTable,
3
3
  TaxRateLine,
4
4
  useTaxOverrideTable
5
- } from "./chunk-PFBJWWUA.js";
5
+ } from "./chunk-M5BZBKA3.js";
6
6
  import {
7
7
  TaxRegionCard
8
8
  } from "./chunk-KXWN75T2.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-KOURHC2N.js";
7
7
  import {
8
8
  useCollectionTableQuery
9
- } from "./chunk-COOOOQ2N.js";
9
+ } from "./chunk-IJ2CSCLP.js";
10
10
  import {
11
11
  _DataTable,
12
12
  useDataTable
@@ -17,7 +17,7 @@ import {
17
17
  import {
18
18
  useCollections,
19
19
  useDeleteCollection
20
- } from "./chunk-BNFTJW4L.js";
20
+ } from "./chunk-FVG5DTS6.js";
21
21
  import {
22
22
  ActionMenu
23
23
  } from "./chunk-BDGZ4EQO.js";
@@ -61,13 +61,13 @@ var CollectionListHeader = ({
61
61
  // src/pages/collections/collection-list/components/collection-list-table/collection-list-data-table.tsx
62
62
  import { keepPreviousData } from "@tanstack/react-query";
63
63
  import { createColumnHelper } from "@tanstack/react-table";
64
- import { useExtendableTable } from "@mercurjs/dashboard-shared";
64
+ import { useExtendableTable, useLinkQuery } from "@mercurjs/dashboard-shared";
65
65
  import { useMemo } from "react";
66
66
  import { useTranslation as useTranslation3 } from "react-i18next";
67
67
 
68
68
  // src/pages/collections/collection-list/components/collection-list-table/collection-row-actions.tsx
69
69
  import { PencilSquare, Trash } from "@medusajs/icons";
70
- import { usePrompt } from "@medusajs/ui";
70
+ import { toast, usePrompt } from "@medusajs/ui";
71
71
  import { useTranslation as useTranslation2 } from "react-i18next";
72
72
  import { jsx as jsx2 } from "react/jsx-runtime";
73
73
  var CollectionRowActions = ({
@@ -90,7 +90,14 @@ var CollectionRowActions = ({
90
90
  if (!res) {
91
91
  return;
92
92
  }
93
- await mutateAsync();
93
+ await mutateAsync(void 0, {
94
+ onSuccess: () => {
95
+ toast.success(t("collections.deleteSuccess"));
96
+ },
97
+ onError: (error) => {
98
+ toast.error(error.message);
99
+ }
100
+ });
94
101
  };
95
102
  return /* @__PURE__ */ jsx2(
96
103
  ActionMenu,
@@ -129,7 +136,7 @@ var CollectionListDataTable = () => {
129
136
  const { collections, count, isError, error, isLoading } = useCollections(
130
137
  {
131
138
  ...searchParams,
132
- fields: "+products.id"
139
+ ...useLinkQuery("collection", "+products.id")
133
140
  },
134
141
  {
135
142
  placeholderData: keepPreviousData
@@ -34,7 +34,7 @@ import {
34
34
  import {
35
35
  useCreateProductCategory,
36
36
  useProductCategories
37
- } from "./chunk-JZJT26E3.js";
37
+ } from "./chunk-QVIX6O76.js";
38
38
  import {
39
39
  useDocumentDirection
40
40
  } from "./chunk-Y7QKP6QU.js";
@@ -28,16 +28,16 @@ import {
28
28
  } from "./chunk-EWFOFSF7.js";
29
29
  import {
30
30
  useCollections
31
- } from "./chunk-BNFTJW4L.js";
31
+ } from "./chunk-FVG5DTS6.js";
32
32
  import {
33
33
  useSellers
34
- } from "./chunk-BILFRATX.js";
34
+ } from "./chunk-SAU35JEB.js";
35
35
  import {
36
36
  ActionMenu
37
37
  } from "./chunk-BDGZ4EQO.js";
38
38
  import {
39
39
  useProductCategories
40
- } from "./chunk-JZJT26E3.js";
40
+ } from "./chunk-QVIX6O76.js";
41
41
  import {
42
42
  __toESM
43
43
  } from "./chunk-NBMM2TZK.js";
@@ -389,6 +389,7 @@ var useOfferTableFilters = () => {
389
389
  };
390
390
 
391
391
  // src/pages/offers/_components/use-offer-table-query.tsx
392
+ import { useLinkQuery } from "@mercurjs/dashboard-shared";
392
393
  var OFFER_LIST_FIELDS = [
393
394
  "id",
394
395
  "product_id",
@@ -444,6 +445,7 @@ var useOfferTableQuery = ({
444
445
  order,
445
446
  q
446
447
  } = raw;
448
+ const { fields } = useLinkQuery("offer", OFFER_LIST_FIELDS);
447
449
  const searchParams = {
448
450
  limit: pageSize,
449
451
  offset: offset ? parseInt(offset, 10) : 0,
@@ -458,7 +460,7 @@ var useOfferTableQuery = ({
458
460
  created_at: created_at ? JSON.parse(created_at) : void 0,
459
461
  updated_at: updated_at ? JSON.parse(updated_at) : void 0,
460
462
  group_by_seller: "true",
461
- fields: OFFER_LIST_FIELDS
463
+ fields
462
464
  };
463
465
  return {
464
466
  searchParams,
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-VXW3BCN2.js";
13
13
  import {
14
14
  useReservationItem
15
- } from "./chunk-GLZLBHFC.js";
15
+ } from "./chunk-WX4ABVXL.js";
16
16
  import {
17
17
  ActionMenu
18
18
  } from "./chunk-BDGZ4EQO.js";
@@ -21,12 +21,12 @@ import {
21
21
  } from "./chunk-INNFZYX2.js";
22
22
  import {
23
23
  useInventoryItem
24
- } from "./chunk-ZKHF75MZ.js";
24
+ } from "./chunk-MMKUMSZS.js";
25
25
 
26
26
  // src/pages/reservations/reservation-detail/reservation-detail.tsx
27
27
  import { Children } from "react";
28
28
  import { useLoaderData, useParams } from "react-router-dom";
29
- import { WidgetZone } from "@mercurjs/dashboard-shared";
29
+ import { useLinkQuery, WidgetZone } from "@mercurjs/dashboard-shared";
30
30
 
31
31
  // src/pages/reservations/reservation-detail/components/reservation-general-section/reservation-general-section.tsx
32
32
  import { Container, Heading } from "@medusajs/ui";
@@ -200,14 +200,14 @@ var Root = ({ children }) => {
200
200
  const initialData = useLoaderData();
201
201
  const { reservation, isLoading, isError, error } = useReservationItem(
202
202
  id,
203
- void 0,
203
+ useLinkQuery("reservation"),
204
204
  {
205
205
  initialData
206
206
  }
207
207
  );
208
208
  const { inventory_item } = useInventoryItem(
209
209
  reservation?.inventory_item?.id,
210
- void 0,
210
+ useLinkQuery("inventory_item"),
211
211
  { enabled: !!reservation?.inventory_item?.id }
212
212
  );
213
213
  if (isLoading || !reservation) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  useDeleteCommissionRuleAction,
3
3
  useScopeReferenceNames
4
- } from "./chunk-JSVYNNPF.js";
4
+ } from "./chunk-7IGLZARZ.js";
5
5
  import {
6
6
  formatCommissionValue,
7
7
  getIsActiveProps,
@@ -22,7 +22,7 @@ import {
22
22
  import {
23
23
  useCreateProductVariant,
24
24
  useProduct
25
- } from "./chunk-ZKHF75MZ.js";
25
+ } from "./chunk-MMKUMSZS.js";
26
26
  import {
27
27
  __toESM
28
28
  } from "./chunk-NBMM2TZK.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-KOURHC2N.js";
4
4
  import {
5
5
  useSellersTableQuery
6
- } from "./chunk-COOOOQ2N.js";
6
+ } from "./chunk-IJ2CSCLP.js";
7
7
  import {
8
8
  DateCell
9
9
  } from "./chunk-25LYVP3C.js";
@@ -22,7 +22,7 @@ import {
22
22
  } from "./chunk-VYSB4CTB.js";
23
23
  import {
24
24
  useSellers
25
- } from "./chunk-BILFRATX.js";
25
+ } from "./chunk-SAU35JEB.js";
26
26
  import {
27
27
  ActionMenu
28
28
  } from "./chunk-BDGZ4EQO.js";
@@ -13,7 +13,7 @@ import {
13
13
  import {
14
14
  usePromotionRuleAttributes,
15
15
  usePromotionRules
16
- } from "./chunk-GCEOEV6P.js";
16
+ } from "./chunk-MTHPNKQ4.js";
17
17
  import {
18
18
  useDocumentDirection
19
19
  } from "./chunk-Y7QKP6QU.js";
@@ -34,7 +34,7 @@ import {
34
34
  import {
35
35
  inventoryItemsQueryKeys,
36
36
  useCreateInventoryItem
37
- } from "./chunk-ZKHF75MZ.js";
37
+ } from "./chunk-MMKUMSZS.js";
38
38
  import {
39
39
  queryClient
40
40
  } from "./chunk-RHKRREUU.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  productsQueryKeys
3
- } from "./chunk-ZKHF75MZ.js";
3
+ } from "./chunk-MMKUMSZS.js";
4
4
  import {
5
5
  queryClient
6
6
  } from "./chunk-RHKRREUU.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-7AV5EJJ5.js";
4
4
  import {
5
5
  useDeleteProductCategoryAction
6
- } from "./chunk-CW3HYGS5.js";
6
+ } from "./chunk-AZDSIOYG.js";
7
7
  import {
8
8
  getCategoryChildren,
9
9
  getCategoryPath,
@@ -19,10 +19,10 @@ import {
19
19
  } from "./chunk-I5HY5Q3K.js";
20
20
  import {
21
21
  useProductTableFilters
22
- } from "./chunk-LGOPKYNG.js";
22
+ } from "./chunk-APMBU7ZV.js";
23
23
  import {
24
24
  useProductTableQuery
25
- } from "./chunk-H7NIKMPE.js";
25
+ } from "./chunk-5NSOIZFB.js";
26
26
  import {
27
27
  TwoColumnPage
28
28
  } from "./chunk-E74OUNA3.js";
@@ -36,17 +36,17 @@ import {
36
36
  import {
37
37
  useProductCategory,
38
38
  useUpdateProductCategoryProducts
39
- } from "./chunk-JZJT26E3.js";
39
+ } from "./chunk-QVIX6O76.js";
40
40
  import {
41
41
  Skeleton,
42
42
  TwoColumnPageSkeleton
43
43
  } from "./chunk-INNFZYX2.js";
44
44
  import {
45
45
  useProducts
46
- } from "./chunk-ZKHF75MZ.js";
46
+ } from "./chunk-MMKUMSZS.js";
47
47
 
48
48
  // src/pages/categories/category-detail/category-detail.tsx
49
- import { WidgetZone } from "@mercurjs/dashboard-shared";
49
+ import { useLinkQuery, WidgetZone } from "@mercurjs/dashboard-shared";
50
50
  import { Children } from "react";
51
51
  import { useLoaderData, useParams } from "react-router-dom";
52
52
 
@@ -612,9 +612,10 @@ import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
612
612
  var Root = ({ children }) => {
613
613
  const { id } = useParams();
614
614
  const initialData = useLoaderData();
615
+ const linkQuery = useLinkQuery("category");
615
616
  const { product_category, isLoading, isError, error } = useProductCategory(
616
617
  id,
617
- void 0,
618
+ linkQuery,
618
619
  {
619
620
  initialData
620
621
  }
@@ -9692,8 +9692,16 @@ var en_default = {
9692
9692
  subtitle: "Organize products into collections.",
9693
9693
  createCollection: "Create Collection",
9694
9694
  createCollectionHint: "Create a new collection to organize your products.",
9695
- createSuccess: "Collection created successfully.",
9695
+ createSuccess: "Collection was successfully created.",
9696
+ deleteSuccess: "Collection was successfully deleted.",
9697
+ updateSuccess: "Collection was successfully updated.",
9698
+ validation: {
9699
+ titleRequired: "Please enter a title"
9700
+ },
9696
9701
  editCollection: "Edit Collection",
9702
+ validation: {
9703
+ titleRequired: "Please enter a title"
9704
+ },
9697
9705
  handleTooltip: "The handle is used to reference the collection in your storefront. If not specified, the handle will be generated from the collection title.",
9698
9706
  deleteWarning: "You are about to delete the collection {{title}}. This action cannot be undone.",
9699
9707
  removeSingleProductWarning: "You are about to remove the product {{title}} from the collection. This action cannot be undone.",
@@ -9808,7 +9816,8 @@ var en_default = {
9808
9816
  },
9809
9817
  organize: {
9810
9818
  header: "Organize",
9811
- action: "Edit ranking"
9819
+ action: "Edit ranking",
9820
+ successToast: "Category ranking was updated successfully."
9812
9821
  },
9813
9822
  media: {
9814
9823
  label: "Media",
@@ -10050,6 +10059,14 @@ var en_default = {
10050
10059
  header: "Edit Address",
10051
10060
  hint: "Edit the customer's address.",
10052
10061
  successToast: "Address was successfully updated."
10062
+ },
10063
+ delete: {
10064
+ successToast: "Address was successfully deleted."
10065
+ },
10066
+ validation: {
10067
+ addressNameRequired: "Please enter an address name",
10068
+ addressRequired: "Please enter an address",
10069
+ countryRequired: "Please select a country"
10053
10070
  }
10054
10071
  }
10055
10072
  },