@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.
- package/dist/{add-campaign-promotions-QK73ARX4.js → add-campaign-promotions-BC7ISVHX.js} +4 -4
- package/dist/{adjust-inventory-X45NEQFK.js → adjust-inventory-P2M7KZ77.js} +10 -10
- package/dist/{api-key-management-create-LOD37GOQ.js → api-key-management-create-KDKSGJ4C.js} +3 -3
- package/dist/{api-key-management-detail-5R7HJSK2.js → api-key-management-detail-O6KKT7V2.js} +11 -11
- package/dist/{api-key-management-edit-JP2GUMMJ.js → api-key-management-edit-NOGBLKBT.js} +3 -3
- package/dist/{api-key-management-list-SQEBELT3.js → api-key-management-list-QVYDHEZQ.js} +4 -4
- package/dist/{api-key-management-sales-channels-4GLVMHU6.js → api-key-management-sales-channels-W5NFP6EW.js} +3 -3
- package/dist/{attribute-create-VAR6C5GW.js → attribute-create-KR4DSDH2.js} +11 -11
- package/dist/{attribute-detail-2HDO6YCN.js → attribute-detail-LWKL6UMS.js} +10 -10
- package/dist/{attribute-list-OHBKYM37.js → attribute-list-QUSXFHRZ.js} +10 -10
- package/dist/{breadcrumb-IEEJTH47.js → breadcrumb-OBHTESQD.js} +1 -1
- package/dist/{campaign-budget-edit-NONE5NMV.js → campaign-budget-edit-QXAXRI6B.js} +1 -1
- package/dist/{campaign-configuration-JYSVIQFE.js → campaign-configuration-A3E6G2VQ.js} +1 -1
- package/dist/{campaign-create-6U2PONHA.js → campaign-create-TZH66JVU.js} +2 -2
- package/dist/{campaign-detail-6J7PTIIP.js → campaign-detail-KC3F4S57.js} +22 -18
- package/dist/{campaign-edit-DBAJFIH4.js → campaign-edit-FCFTVZ7A.js} +4 -2
- package/dist/{campaign-list-XH7UM5JJ.js → campaign-list-YXZ5GE7I.js} +2 -2
- package/dist/{categories-metadata-4LXL2PWA.js → categories-metadata-AIT33J5U.js} +10 -10
- package/dist/{category-create-CJZZZLDD.js → category-create-GA4QBQDP.js} +3 -3
- package/dist/{category-detail-XV6CDZZL.js → category-detail-P5NZLIVR.js} +22 -18
- package/dist/{category-edit-2NCWDSZY.js → category-edit-UFRYILZF.js} +6 -3
- package/dist/{category-icon-edit-W2TPCSDC.js → category-icon-edit-C2VAH5JA.js} +2 -2
- package/dist/{category-list-WYMOJJLW.js → category-list-O7KNSXRZ.js} +4 -4
- package/dist/{category-media-PC4V7YU4.js → category-media-E5UUDN3I.js} +2 -2
- package/dist/category-organize-T45BC4HL.js +129 -0
- package/dist/{category-products-CQV2TKLY.js → category-products-SX6CH3ZZ.js} +12 -12
- package/dist/{chunk-XVYJBZOI.js → chunk-26PTCTT3.js} +4 -4
- package/dist/{chunk-VXDRQQRZ.js → chunk-2CHED2KM.js} +4 -4
- package/dist/{chunk-IMLKFVFH.js → chunk-2GHNKPYY.js} +8 -4
- package/dist/{chunk-5UT374IW.js → chunk-2NHJ3D6N.js} +6 -5
- package/dist/{chunk-QBPPEUNR.js → chunk-3LGGCLSO.js} +1 -1
- package/dist/{chunk-L2D2AMTK.js → chunk-4SPHSUWU.js} +4 -4
- package/dist/{chunk-VE7RLYJ7.js → chunk-4XGFT4RZ.js} +33 -6
- package/dist/{chunk-6DJQITWV.js → chunk-5CHUXS7G.js} +1 -1
- package/dist/{chunk-QDUZCJ7F.js → chunk-5EOYDQAS.js} +1 -1
- package/dist/{chunk-H7NIKMPE.js → chunk-5NSOIZFB.js} +3 -1
- package/dist/{chunk-RS6HWWTT.js → chunk-5WTNXDRM.js} +3 -3
- package/dist/{chunk-WMK3BQPH.js → chunk-655ECEGW.js} +1 -1
- package/dist/{chunk-NPHYCQMP.js → chunk-6PGIRZA6.js} +5 -5
- package/dist/{chunk-JSVYNNPF.js → chunk-7IGLZARZ.js} +2 -2
- package/dist/{chunk-IASJSRP5.js → chunk-7MYE6VFQ.js} +5 -4
- package/dist/{chunk-JLCA6PWC.js → chunk-AASCLZ5N.js} +1 -1
- package/dist/{chunk-RGS5ZOY7.js → chunk-AFYILTAC.js} +4 -3
- package/dist/{chunk-R5QHWCJH.js → chunk-AO3P27WX.js} +1 -1
- package/dist/{chunk-LGOPKYNG.js → chunk-APMBU7ZV.js} +2 -2
- package/dist/{chunk-CW3HYGS5.js → chunk-AZDSIOYG.js} +1 -1
- package/dist/{chunk-USG4EATH.js → chunk-B3IK3FNO.js} +4 -3
- package/dist/{chunk-QAONUPAX.js → chunk-BGQCG4S5.js} +5 -4
- package/dist/{chunk-CHMIK6PK.js → chunk-CQKCZECQ.js} +2 -2
- package/dist/{chunk-OPSGADQI.js → chunk-DP6YFZHP.js} +1 -1
- package/dist/{chunk-HGTPUAHD.js → chunk-DUVYF37J.js} +1 -1
- package/dist/{chunk-U4MV53CS.js → chunk-EQGJGBA5.js} +9 -12
- package/dist/{chunk-GXU246YJ.js → chunk-FIWEITDG.js} +4 -3
- package/dist/{chunk-BNFTJW4L.js → chunk-FVG5DTS6.js} +2 -2
- package/dist/{chunk-LSMTJU6Y.js → chunk-G2LHEJLS.js} +3 -3
- package/dist/{chunk-7U2JJYMP.js → chunk-GLWJ5J3F.js} +9 -8
- package/dist/{chunk-PGDPJY7K.js → chunk-I3RIVWBQ.js} +1 -1
- package/dist/{chunk-YMOP6JKN.js → chunk-IGTR66D2.js} +2 -2
- package/dist/{chunk-COOOOQ2N.js → chunk-IJ2CSCLP.js} +4 -1
- package/dist/{chunk-3L4IFGRJ.js → chunk-IOAB3VND.js} +4 -6
- package/dist/{chunk-S3QMHTMJ.js → chunk-JPFPQWNT.js} +1 -1
- package/dist/{chunk-ELNENIRC.js → chunk-KA3BALYJ.js} +3 -3
- package/dist/{chunk-ORCMDF54.js → chunk-KHW3GRN4.js} +21 -13
- package/dist/{chunk-UPWZN6WB.js → chunk-KL4DBMVO.js} +1 -1
- package/dist/{chunk-F3F4JC7E.js → chunk-KUBTN5TC.js} +1 -1
- package/dist/{chunk-27XNPAJP.js → chunk-L6D7AGRF.js} +9 -5
- package/dist/{chunk-FMJBQE56.js → chunk-LPIPSLR7.js} +1 -1
- package/dist/{chunk-4C7L7TJT.js → chunk-LXNWSQOE.js} +3 -3
- package/dist/{chunk-PFBJWWUA.js → chunk-M5BZBKA3.js} +1 -1
- package/dist/{chunk-DUXVIXHP.js → chunk-MBHP7XGQ.js} +2 -2
- package/dist/{chunk-PLU2GB4L.js → chunk-MJTFEVGB.js} +5 -6
- package/dist/{chunk-ZKHF75MZ.js → chunk-MMKUMSZS.js} +1 -1
- package/dist/{chunk-GCEOEV6P.js → chunk-MTHPNKQ4.js} +4 -4
- package/dist/{chunk-WY53X57R.js → chunk-NPUD4G37.js} +1 -1
- package/dist/{chunk-2CJIE5MY.js → chunk-O6KUSG6F.js} +13 -6
- package/dist/{chunk-5PNM6QNB.js → chunk-O6OZASFC.js} +1 -1
- package/dist/{chunk-4RLXMDIJ.js → chunk-ODDJZVYL.js} +6 -4
- package/dist/{chunk-X7IR2TVL.js → chunk-OG5AVHPY.js} +5 -5
- package/dist/{chunk-C4UDDNHP.js → chunk-OTGABFC4.js} +1 -1
- package/dist/{chunk-4XYSIVPO.js → chunk-P2DFLKCN.js} +1 -1
- package/dist/{chunk-E6326AHP.js → chunk-PFD4SHVF.js} +2 -2
- package/dist/{chunk-K7H77TA5.js → chunk-PHWYJ26A.js} +1 -1
- package/dist/{chunk-JEN37H6L.js → chunk-QEX45BI3.js} +1 -1
- package/dist/{chunk-JZJT26E3.js → chunk-QVIX6O76.js} +1 -1
- package/dist/{chunk-VIJXGPDE.js → chunk-QVQJOMEY.js} +8 -7
- package/dist/{chunk-F2SZ4LPF.js → chunk-QZETW7FG.js} +19 -2
- package/dist/{chunk-LBDSZT5Q.js → chunk-RCI2GQZY.js} +5 -4
- package/dist/{chunk-BILFRATX.js → chunk-SAU35JEB.js} +1 -1
- package/dist/{chunk-OVUKVGGD.js → chunk-SHFF3Y5U.js} +6 -4
- package/dist/{chunk-JCOBV3J2.js → chunk-TVTI7RG5.js} +3 -3
- package/dist/{chunk-4BCUGMOR.js → chunk-UK5BVJI7.js} +1 -1
- package/dist/{chunk-FNCDMOOR.js → chunk-UQZBS67R.js} +20 -10
- package/dist/{chunk-UQGXKAFA.js → chunk-VH4W6LKI.js} +1 -1
- package/dist/{chunk-EXUFS4XF.js → chunk-VHOCBKSA.js} +1 -1
- package/dist/{chunk-CBD7HK2G.js → chunk-VU6KTPOZ.js} +6 -7
- package/dist/{chunk-RE2N7KGI.js → chunk-VVJPSCBO.js} +1 -1
- package/dist/{chunk-DI33XMXB.js → chunk-WNBV2NBG.js} +1 -1
- package/dist/{chunk-RIO2IHPE.js → chunk-WR7ZTUOY.js} +1 -1
- package/dist/{chunk-GLZLBHFC.js → chunk-WX4ABVXL.js} +2 -2
- package/dist/{chunk-RATQZHCS.js → chunk-XJQ4MWBR.js} +4 -4
- package/dist/{chunk-KUCNCDST.js → chunk-XWP4ZGKN.js} +4 -4
- package/dist/{chunk-YDAEPFPY.js → chunk-Y6C2YIKD.js} +1 -1
- package/dist/{chunk-ML7UVBKL.js → chunk-YR6Q3TKU.js} +1 -1
- package/dist/{chunk-QFFF542X.js → chunk-YYRDUEYJ.js} +13 -5
- package/dist/{chunk-MFCQTAVI.js → chunk-Z7XMG6DA.js} +8 -3
- package/dist/{chunk-YNN2YNSE.js → chunk-ZAANJVLM.js} +1 -1
- package/dist/{chunk-MW47LDBT.js → chunk-ZOTBKQLG.js} +1 -1
- package/dist/{collection-add-products-XUKFZOCQ.js → collection-add-products-TRY52HYQ.js} +12 -12
- package/dist/{collection-create-5IGFVQKE.js → collection-create-7ZQONUJL.js} +4 -3
- package/dist/{collection-detail-ID4FKP22.js → collection-detail-K4L3X45M.js} +21 -17
- package/dist/{collection-edit-GPUKISIV.js → collection-edit-VD57ORSY.js} +14 -5
- package/dist/{collection-icon-edit-WCSKUDXE.js → collection-icon-edit-642AZRHR.js} +2 -2
- package/dist/{collection-list-C6U4CPLD.js → collection-list-YMCTIJ52.js} +17 -17
- package/dist/{collection-media-YIV5BV3Y.js → collection-media-LMJFEFVY.js} +2 -2
- package/dist/{collection-metadata-SBK6SL4C.js → collection-metadata-AZRN32RU.js} +10 -10
- package/dist/{commission-rule-detail-MLAJAVPU.js → commission-rule-detail-FOLHANWL.js} +5 -5
- package/dist/{commissions-list-GA2WX5C5.js → commissions-list-56S53CQ4.js} +5 -5
- package/dist/{customer-create-ZQ4RTXBA.js → customer-create-SC6LAEVJ.js} +1 -1
- package/dist/{customer-create-address-P2QYUZJ5.js → customer-create-address-VZMOF5AE.js} +9 -4
- package/dist/{customer-detail-IG2QAAQL.js → customer-detail-VIWHZUOZ.js} +22 -19
- package/dist/{customer-edit-TADBOMPB.js → customer-edit-MHSXLB6U.js} +6 -2
- package/dist/{customer-edit-address-R5RXDUNZ.js → customer-edit-address-ZEVUPAYN.js} +15 -6
- package/dist/{customer-group-add-customers-O6A5ZFPM.js → customer-group-add-customers-VKUSW6AS.js} +2 -2
- package/dist/{customer-group-create-44R3DDOT.js → customer-group-create-3KAC3R3N.js} +1 -1
- package/dist/{customer-group-detail-2B7XJ7NT.js → customer-group-detail-JVULZZTT.js} +24 -21
- package/dist/{customer-group-edit-BX4HKVNN.js → customer-group-edit-LXPAPBZ7.js} +7 -2
- package/dist/{customer-group-list-7LN5TN3G.js → customer-group-list-SKODEZKB.js} +12 -12
- package/dist/{customer-group-metadata-JX7ZBXLJ.js → customer-group-metadata-3QRU7FIE.js} +10 -10
- package/dist/{customer-list-K5TV3PSF.js → customer-list-LYDL4IEG.js} +3 -3
- package/dist/{customer-metadata-JT5GGCRV.js → customer-metadata-7DMBCQXW.js} +10 -10
- package/dist/{customers-add-customer-group-KX3XNNMU.js → customers-add-customer-group-FXRUE5SD.js} +11 -11
- package/dist/{edit-inventory-item-4RXYRJ7O.js → edit-inventory-item-4J3KFOUC.js} +12 -11
- package/dist/{edit-inventory-item-attributes-ZMB343AB.js → edit-inventory-item-attributes-J7WHYKMK.js} +10 -10
- package/dist/{edit-reservation-HA6J6U2N.js → edit-reservation-VGB7GCD5.js} +7 -3
- package/dist/{edit-rules-4PPNBI7B.js → edit-rules-2WZOLTL7.js} +11 -11
- package/dist/index.js +202 -202
- package/dist/{inventory-create-B3FHGX6A.js → inventory-create-RDVKGH2S.js} +11 -11
- package/dist/{inventory-detail-7VEJHRBB.js → inventory-detail-J7NMO7EZ.js} +22 -18
- package/dist/{inventory-list-IRQUQD4G.js → inventory-list-XBDJ7BHE.js} +2 -2
- package/dist/{inventory-metadata-W2E4KYG3.js → inventory-metadata-CQHLKX4T.js} +10 -10
- package/dist/{inventory-stock-D2BNT2UL.js → inventory-stock-3TR47RNA.js} +10 -10
- package/dist/{loader-HRFMJ5TM.js → loader-ZYV22XGC.js} +15 -11
- package/dist/{location-detail-7TEMWMQG.js → location-detail-DTBVSZBJ.js} +11 -11
- package/dist/{location-fulfillment-providers-MFM4SHJJ.js → location-fulfillment-providers-P5U5K4NO.js} +14 -14
- package/dist/{location-list-EFMGNVII.js → location-list-LH27WJBT.js} +10 -10
- package/dist/{location-sales-channels-ZQBQ3VDH.js → location-sales-channels-PRQUBZIV.js} +2 -2
- package/dist/{location-service-zone-shipping-option-create-3PQ2EYD7.js → location-service-zone-shipping-option-create-Z3S7EUYH.js} +10 -10
- package/dist/{login-OKBXMSKY.js → login-JNIVGP2G.js} +10 -10
- package/dist/{manage-locations-SUJNIWWF.js → manage-locations-NGNUXP3N.js} +1 -1
- package/dist/{marketplace-detail-NMNGD5PW.js → marketplace-detail-VNCNRAE4.js} +11 -11
- package/dist/{marketplace-metadata-STYABOTX.js → marketplace-metadata-74YUQ6UC.js} +10 -10
- package/dist/{offer-detail-page-THKNBFWZ.js → offer-detail-page-KQMSZLQN.js} +6 -5
- package/dist/{offers-LYLEYD3A.js → offers-NW24IATZ.js} +11 -11
- package/dist/{order-create-edit-6L5S7KQM.js → order-create-edit-CAKL6MJQ.js} +3 -3
- package/dist/{order-create-exchange-WHO3K2MW.js → order-create-exchange-QGSECB7D.js} +10 -10
- package/dist/{order-create-refund-4ZO73NWS.js → order-create-refund-HXFCDZV5.js} +10 -10
- package/dist/{order-detail-NYKOH7OO.js → order-detail-DGZXN7IQ.js} +20 -16
- package/dist/{order-edit-billing-address-BEOKFNLZ.js → order-edit-billing-address-3OMGU4CK.js} +11 -11
- package/dist/{order-edit-email-GLAQZCIT.js → order-edit-email-VSAS3M2E.js} +10 -10
- package/dist/{order-edit-shipping-address-PF54SFAG.js → order-edit-shipping-address-FZMDRJU5.js} +10 -10
- package/dist/{order-list-EZWCH5YW.js → order-list-6LIYSO2R.js} +8 -8
- package/dist/{order-metadata-VQOA3DOL.js → order-metadata-FKM3ZDNM.js} +10 -10
- package/dist/{order-request-transfer-BLQQ66IF.js → order-request-transfer-BCE6ED5E.js} +10 -10
- package/dist/pages/index.d.ts +25 -25
- package/dist/pages/index.js +80 -80
- package/dist/{price-list-configuration-BLHIGDSV.js → price-list-configuration-DYFBYDQE.js} +6 -6
- package/dist/{price-list-create-YHSA7U3L.js → price-list-create-U2DMHUQE.js} +15 -15
- package/dist/{price-list-detail-3SS3DGRU.js → price-list-detail-CAK3AFSU.js} +22 -18
- package/dist/{price-list-edit-TRRPPI43.js → price-list-edit-UADWQDT2.js} +6 -4
- package/dist/{price-list-list-REIHOWWT.js → price-list-list-PJIIPQOF.js} +5 -5
- package/dist/{price-list-prices-add-X2GLUD7O.js → price-list-prices-add-6TO5RTTD.js} +13 -13
- package/dist/{price-list-prices-edit-ZQE3Z3NK.js → price-list-prices-edit-AXJJTMKL.js} +10 -10
- package/dist/{product-add-existing-attributes-GPAZOIXH.js → product-add-existing-attributes-XIJB2NXI.js} +10 -10
- package/dist/{product-attributes-4EPKS6MP.js → product-attributes-PCZDEFHM.js} +1 -1
- package/dist/{product-bulk-edit-TRI2KKHW.js → product-bulk-edit-FGB4T2KQ.js} +1 -1
- package/dist/{product-create-6FDBZUB4.js → product-create-3LKSDOHR.js} +14 -14
- package/dist/{product-create-attribute-YFIEH7HD.js → product-create-attribute-6AJPI6IJ.js} +1 -1
- package/dist/{product-create-variant-4O22DW7M.js → product-create-variant-2OCZA6GW.js} +2 -2
- package/dist/{product-detail-VORTX3LT.js → product-detail-N7YTQ45T.js} +21 -16
- package/dist/{product-edit-26AWYWUU.js → product-edit-KMK7CMLI.js} +6 -2
- package/dist/{product-edit-attribute-NUJB7M6R.js → product-edit-attribute-FCEYWZWL.js} +1 -1
- package/dist/{product-list-IKAIBHDH.js → product-list-CIHKL6N7.js} +13 -13
- package/dist/{product-media-LINHO45U.js → product-media-SHU5ULOK.js} +3 -3
- package/dist/{product-metadata-LOF6TSJQ.js → product-metadata-6EFF4IPX.js} +10 -10
- package/dist/{product-organization-ISVMEWQG.js → product-organization-JSYFCGNL.js} +4 -4
- package/dist/{product-sales-channels-C6UUHWGB.js → product-sales-channels-GD7NYUP3.js} +2 -2
- package/dist/{product-shipping-profile-VTYQ22E4.js → product-shipping-profile-UFIRKPTG.js} +1 -1
- package/dist/{product-tag-create-AHG3Y4GE.js → product-tag-create-PSY5Q437.js} +10 -10
- package/dist/{product-tag-detail-CEGLUXR2.js → product-tag-detail-D54OKWUZ.js} +17 -17
- package/dist/{product-tag-edit-ACHNVZZP.js → product-tag-edit-NVGUS3CY.js} +10 -10
- package/dist/{product-tag-list-RZ7JRSY5.js → product-tag-list-QNWZAU5G.js} +17 -17
- package/dist/{product-tag-metadata-BXC7GMBB.js → product-tag-metadata-T4ZYOIXY.js} +10 -10
- package/dist/{product-type-detail-EITNHOVB.js → product-type-detail-TXZ6HTOV.js} +13 -13
- package/dist/{product-type-metadata-24JU4JNK.js → product-type-metadata-OJJYUALT.js} +10 -10
- package/dist/{product-variant-detail-OKBXU3KF.js → product-variant-detail-FZL5OZFE.js} +11 -11
- package/dist/{product-variant-edit-MAM2RQ4V.js → product-variant-edit-LSSJW4DS.js} +10 -10
- package/dist/{product-variant-metadata-5PUBLPDN.js → product-variant-metadata-D5AUINFJ.js} +10 -10
- package/dist/{promotion-add-campaign-WK36UMSF.js → promotion-add-campaign-PYEBYRHK.js} +2 -2
- package/dist/{promotion-create-3EDHAI7E.js → promotion-create-OFLXF3RZ.js} +14 -14
- package/dist/{promotion-detail-PLGDC3A7.js → promotion-detail-GP5KBQB7.js} +24 -18
- package/dist/{promotion-edit-details-RTLPOQ4H.js → promotion-edit-details-W7XDJ4OD.js} +4 -2
- package/dist/{promotion-list-D6HSZKGU.js → promotion-list-2MUOOIOJ.js} +5 -5
- package/dist/{refund-reason-create-UA3XS6DP.js → refund-reason-create-HTTX2UGC.js} +10 -10
- package/dist/{refund-reason-edit-3TAGKV3U.js → refund-reason-edit-I7XXP4EP.js} +10 -10
- package/dist/{refund-reason-list-4Q6RPJ3O.js → refund-reason-list-YYCNRERE.js} +13 -13
- package/dist/{region-metadata-NRV3L42D.js → region-metadata-RRUP56B2.js} +10 -10
- package/dist/{reservation-create-ANLVF7EC.js → reservation-create-3RVQVMRF.js} +2 -2
- package/dist/{reservation-detail-PWZ3PLC4.js → reservation-detail-QOVPIIMC.js} +19 -15
- package/dist/{reservation-list-URKNAFIX.js → reservation-list-SGGW2MSN.js} +3 -3
- package/dist/{reservation-metadata-ZFKKAOWG.js → reservation-metadata-OAEUUCRG.js} +10 -10
- package/dist/{reset-password-UDA5ZMTZ.js → reset-password-C347RVO7.js} +1 -1
- package/dist/{return-reason-list-4AJKJFLL.js → return-reason-list-HMSZJDKI.js} +3 -3
- package/dist/{sales-channel-add-products-NATZ7L5S.js → sales-channel-add-products-6TXYF3HM.js} +12 -12
- package/dist/{sales-channel-create-OC2BB67N.js → sales-channel-create-77PRY5T6.js} +2 -2
- package/dist/{sales-channel-detail-WX7V3AMQ.js → sales-channel-detail-SYE4FUXD.js} +13 -13
- package/dist/{sales-channel-edit-V62TBRC4.js → sales-channel-edit-PBN2XYEI.js} +2 -2
- package/dist/{sales-channel-list-GUEEN52J.js → sales-channel-list-4CNHLSBR.js} +11 -11
- package/dist/{sales-channel-metadata-5W4OZZYI.js → sales-channel-metadata-RXT26TCT.js} +10 -10
- package/dist/{shipping-option-type-create-GHOCZT64.js → shipping-option-type-create-2EVIHSGN.js} +10 -10
- package/dist/{shipping-option-type-detail-AXPDURRK.js → shipping-option-type-detail-BKFYUX2T.js} +10 -10
- package/dist/{shipping-option-type-edit-KRIP6HTC.js → shipping-option-type-edit-LTH6PE7B.js} +10 -10
- package/dist/{shipping-option-type-list-INXNG2LU.js → shipping-option-type-list-7NSGG7ZI.js} +10 -10
- package/dist/{shipping-profile-metadata-52ZW757T.js → shipping-profile-metadata-WRFZ55C3.js} +10 -10
- package/dist/{store-address-edit-IJ2UW6WC.js → store-address-edit-M6A37RFY.js} +1 -1
- package/dist/{store-bulk-edit-I2J5YYZK.js → store-bulk-edit-SYHKAJ6D.js} +1 -1
- package/dist/{store-closure-edit-H3EKROXP.js → store-closure-edit-VE7D5F7I.js} +1 -1
- package/dist/{store-create-IKHZ52NO.js → store-create-6OQW7F4U.js} +10 -10
- package/dist/{store-details-CFWAS2MB.js → store-details-45RPSTMU.js} +19 -36
- package/dist/{store-edit-AQSHKUIO.js → store-edit-GIKORSX3.js} +6 -4
- package/dist/{store-list-6XZEWHRE.js → store-list-XZU26QTH.js} +17 -17
- package/dist/{store-member-invite-J2JFDOHX.js → store-member-invite-T5GCT6HV.js} +1 -1
- package/dist/{store-payment-details-edit-ERRJDLBO.js → store-payment-details-edit-JUM745OG.js} +1 -1
- package/dist/{store-professional-details-edit-VD2J4VYV.js → store-professional-details-edit-NKBYKBCA.js} +1 -1
- package/dist/{tax-region-create-GGDCD2VU.js → tax-region-create-EGMJMBYE.js} +11 -11
- package/dist/{tax-region-detail-KN4IUVQW.js → tax-region-detail-UGD2KK2H.js} +12 -12
- package/dist/{tax-region-edit-6JOV3POI.js → tax-region-edit-N64TGNAG.js} +10 -10
- package/dist/{tax-region-metadata-4P667IOY.js → tax-region-metadata-MKXFQ5B7.js} +10 -10
- package/dist/{tax-region-province-detail-6NONQIBT.js → tax-region-province-detail-LITAO6EZ.js} +12 -12
- package/dist/{tax-region-tax-override-create-5PIUENUZ.js → tax-region-tax-override-create-NCAWHUOU.js} +17 -17
- package/dist/{tax-region-tax-override-edit-GBPRPUTS.js → tax-region-tax-override-edit-OOP7RQZR.js} +17 -17
- package/dist/{user-detail-PYBWVQYY.js → user-detail-4FDNMJ6W.js} +1 -1
- package/dist/{user-metadata-CHHV7S3A.js → user-metadata-5UFWFXLX.js} +10 -10
- package/package.json +6 -6
- package/dist/category-organize-H4JYCHDA.js +0 -112
|
@@ -3,11 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-THHRRYRS.js";
|
|
4
4
|
|
|
5
5
|
// src/hooks/table/query/use-product-table-query.tsx
|
|
6
|
+
import { useExtension, withLinkFields } from "@mercurjs/dashboard-shared";
|
|
6
7
|
var DEFAULT_FIELDS = "id,title,handle,status,*collection,*categories,variants.id,thumbnail";
|
|
7
8
|
var useProductTableQuery = ({
|
|
8
9
|
prefix,
|
|
9
10
|
pageSize = 20
|
|
10
11
|
}) => {
|
|
12
|
+
const links = useExtension().getLinks("product");
|
|
11
13
|
const queryObject = useQueryParams(
|
|
12
14
|
[
|
|
13
15
|
"offset",
|
|
@@ -48,7 +50,7 @@ var useProductTableQuery = ({
|
|
|
48
50
|
type_id: type_id?.split(","),
|
|
49
51
|
status: status?.split(","),
|
|
50
52
|
q,
|
|
51
|
-
fields: DEFAULT_FIELDS
|
|
53
|
+
fields: withLinkFields(DEFAULT_FIELDS, links)
|
|
52
54
|
};
|
|
53
55
|
return {
|
|
54
56
|
searchParams,
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-I5HY5Q3K.js";
|
|
7
7
|
import {
|
|
8
8
|
useProductTableFilters
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-APMBU7ZV.js";
|
|
10
10
|
import {
|
|
11
11
|
useProductTableQuery
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-5NSOIZFB.js";
|
|
13
13
|
import {
|
|
14
14
|
_DataTable,
|
|
15
15
|
useDataTable
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
} from "./chunk-INNFZYX2.js";
|
|
29
29
|
import {
|
|
30
30
|
useProducts
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-MMKUMSZS.js";
|
|
32
32
|
|
|
33
33
|
// src/pages/product-tags/product-tag-detail/product-tag-detail.tsx
|
|
34
34
|
import { Children } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PriceListCustomerGroupRuleForm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CQKCZECQ.js";
|
|
4
4
|
import {
|
|
5
5
|
PriceListCreateProductsSchema,
|
|
6
6
|
PriceListRulesSchema,
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
} from "./chunk-I5HY5Q3K.js";
|
|
17
17
|
import {
|
|
18
18
|
useProductTableFilters
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-APMBU7ZV.js";
|
|
20
20
|
import {
|
|
21
21
|
useProductTableQuery
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5NSOIZFB.js";
|
|
23
23
|
import {
|
|
24
24
|
TabbedForm,
|
|
25
25
|
defineTabMeta,
|
|
@@ -43,13 +43,13 @@ import {
|
|
|
43
43
|
} from "./chunk-6ZVV2XHU.js";
|
|
44
44
|
import {
|
|
45
45
|
useCreatePriceList
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-G2LHEJLS.js";
|
|
47
47
|
import {
|
|
48
48
|
useDocumentDirection
|
|
49
49
|
} from "./chunk-Y7QKP6QU.js";
|
|
50
50
|
import {
|
|
51
51
|
useProducts
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-MMKUMSZS.js";
|
|
53
53
|
|
|
54
54
|
// src/pages/price-lists/price-list-create/components/price-list-create-form/schema.ts
|
|
55
55
|
import { z } from "zod";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-G5KNNOXX.js";
|
|
7
7
|
import {
|
|
8
8
|
useSellers
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SAU35JEB.js";
|
|
10
10
|
import {
|
|
11
11
|
useProductCategories
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-QVIX6O76.js";
|
|
13
13
|
|
|
14
14
|
// src/pages/commissions/common/hooks/use-delete-commission-rule-action.tsx
|
|
15
15
|
import { toast, usePrompt } from "@medusajs/ui";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeletePriceListAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5EOYDQAS.js";
|
|
4
4
|
import {
|
|
5
5
|
getPriceListStatus
|
|
6
6
|
} from "./chunk-U5MJIHLY.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
} from "./chunk-THHRRYRS.js";
|
|
24
24
|
import {
|
|
25
25
|
usePriceLists
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-G2LHEJLS.js";
|
|
27
27
|
import {
|
|
28
28
|
ActionMenu
|
|
29
29
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -67,7 +67,7 @@ var PriceListListHeader = ({
|
|
|
67
67
|
// src/pages/price-lists/price-list-list/components/price-list-list-table/price-list-list-data-table.tsx
|
|
68
68
|
import { keepPreviousData } from "@tanstack/react-query";
|
|
69
69
|
import { createColumnHelper as createColumnHelper2 } from "@tanstack/react-table";
|
|
70
|
-
import { useExtendableTable } from "@mercurjs/dashboard-shared";
|
|
70
|
+
import { useExtendableTable, useLinkQuery } from "@mercurjs/dashboard-shared";
|
|
71
71
|
import { useMemo as useMemo2 } from "react";
|
|
72
72
|
import { useTranslation as useTranslation5 } from "react-i18next";
|
|
73
73
|
|
|
@@ -197,8 +197,9 @@ var PriceListListDataTable = () => {
|
|
|
197
197
|
const { searchParams, raw } = usePricingTableQuery({
|
|
198
198
|
pageSize: PAGE_SIZE
|
|
199
199
|
});
|
|
200
|
+
const linkQuery = useLinkQuery("price_list");
|
|
200
201
|
const { price_lists, count, isLoading, isError, error } = usePriceLists(
|
|
201
|
-
searchParams,
|
|
202
|
+
{ ...searchParams, ...linkQuery },
|
|
202
203
|
{
|
|
203
204
|
placeholderData: keepPreviousData
|
|
204
205
|
}
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-FWJLS7XD.js";
|
|
14
14
|
import {
|
|
15
15
|
useCreateCampaign
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MTHPNKQ4.js";
|
|
17
17
|
|
|
18
18
|
// src/pages/campaigns/campaign-create/components/create-campaign-form/create-campaign-form.tsx
|
|
19
19
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
@@ -26,7 +26,7 @@ var customerGroupsQueryKeys = queryKeysFactory(
|
|
|
26
26
|
var useCustomerGroup = (id, query, options) => {
|
|
27
27
|
const { data, ...rest } = useQuery({
|
|
28
28
|
queryFn: () => sdk.admin.customerGroups.$id.query({ $id: id, ...query }),
|
|
29
|
-
queryKey: customerGroupsQueryKeys.detail(id),
|
|
29
|
+
queryKey: customerGroupsQueryKeys.detail(id, query),
|
|
30
30
|
...options
|
|
31
31
|
});
|
|
32
32
|
return { ...data, ...rest };
|
|
@@ -147,7 +147,7 @@ var customerAddressesQueryKeys = queryKeysFactory(
|
|
|
147
147
|
);
|
|
148
148
|
var useCustomer = (id, query, options) => {
|
|
149
149
|
const { data, ...rest } = useQuery2({
|
|
150
|
-
queryKey: customersQueryKeys.detail(id),
|
|
150
|
+
queryKey: customersQueryKeys.detail(id, query),
|
|
151
151
|
queryFn: () => sdk.admin.customers.$id.query({ $id: id, ...query }),
|
|
152
152
|
...options
|
|
153
153
|
});
|
|
@@ -271,13 +271,14 @@ var useCustomerAddress = (id, addressId, options) => {
|
|
|
271
271
|
$id: id,
|
|
272
272
|
$addressId: addressId
|
|
273
273
|
}),
|
|
274
|
-
queryKey: customerAddressesQueryKeys.detail(
|
|
274
|
+
queryKey: customerAddressesQueryKeys.detail(addressId),
|
|
275
275
|
...options
|
|
276
276
|
});
|
|
277
277
|
return { ...data, ...rest };
|
|
278
278
|
};
|
|
279
279
|
|
|
280
280
|
export {
|
|
281
|
+
customersQueryKeys,
|
|
281
282
|
useCustomer,
|
|
282
283
|
useCustomers,
|
|
283
284
|
useCreateCustomer,
|
|
@@ -9,10 +9,10 @@ import {
|
|
|
9
9
|
} from "./chunk-EWFOFSF7.js";
|
|
10
10
|
import {
|
|
11
11
|
useCollections
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FVG5DTS6.js";
|
|
13
13
|
import {
|
|
14
14
|
useProductCategories
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QVIX6O76.js";
|
|
16
16
|
import {
|
|
17
17
|
__toESM
|
|
18
18
|
} from "./chunk-NBMM2TZK.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
useDeleteInventoryItem,
|
|
25
25
|
useInventoryItems
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-MMKUMSZS.js";
|
|
27
27
|
|
|
28
28
|
// src/pages/inventory/inventory-list/inventory-list.tsx
|
|
29
29
|
import { Children as Children2 } from "react";
|
|
@@ -31,7 +31,7 @@ import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
|
31
31
|
|
|
32
32
|
// src/pages/inventory/inventory-list/components/inventory-list-table.tsx
|
|
33
33
|
import { Button, Container, Heading, Text } from "@medusajs/ui";
|
|
34
|
-
import { useExtendableTable } from "@mercurjs/dashboard-shared";
|
|
34
|
+
import { useExtendableTable, useLinkQuery } from "@mercurjs/dashboard-shared";
|
|
35
35
|
import { Children, useMemo as useMemo2, useState } from "react";
|
|
36
36
|
import { useTranslation as useTranslation4 } from "react-i18next";
|
|
37
37
|
import { Link, useNavigate } from "react-router-dom";
|
|
@@ -375,7 +375,8 @@ var InventoryListDataTable = () => {
|
|
|
375
375
|
isError,
|
|
376
376
|
error
|
|
377
377
|
} = useInventoryItems({
|
|
378
|
-
...searchParams
|
|
378
|
+
...searchParams,
|
|
379
|
+
...useLinkQuery("inventory_item")
|
|
379
380
|
});
|
|
380
381
|
const baseFilters = useInventoryTableFilters();
|
|
381
382
|
const baseColumns = useInventoryTableColumns();
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePromotionTableColumns,
|
|
3
3
|
usePromotionTableQuery
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-YR6Q3TKU.js";
|
|
5
5
|
import {
|
|
6
6
|
usePromotionTableFilters
|
|
7
7
|
} from "./chunk-S2WEYEQR.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
useCampaign,
|
|
24
24
|
useDeleteCampaign,
|
|
25
25
|
usePromotions
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-MTHPNKQ4.js";
|
|
27
27
|
import {
|
|
28
28
|
ActionMenu
|
|
29
29
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
// src/pages/campaigns/campaign-detail/campaign-detail.tsx
|
|
35
35
|
import { Children } from "react";
|
|
36
36
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
37
|
-
import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
37
|
+
import { WidgetZone, useLinkQuery } from "@mercurjs/dashboard-shared";
|
|
38
38
|
|
|
39
39
|
// src/pages/campaigns/campaign-detail/components/campaign-budget/campaign-budget.tsx
|
|
40
40
|
import { ChartPie, PencilSquare } from "@medusajs/icons";
|
|
@@ -575,9 +575,10 @@ import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
|
575
575
|
var Root = ({ children }) => {
|
|
576
576
|
const initialData = useLoaderData();
|
|
577
577
|
const { id } = useParams();
|
|
578
|
+
const query = useLinkQuery("campaign", CAMPAIGN_DETAIL_FIELDS);
|
|
578
579
|
const { campaign, isLoading, isError, error } = useCampaign(
|
|
579
580
|
id,
|
|
580
|
-
|
|
581
|
+
query,
|
|
581
582
|
{ initialData }
|
|
582
583
|
);
|
|
583
584
|
if (isLoading || !campaign) {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-54EPH67T.js";
|
|
4
4
|
import {
|
|
5
5
|
useCustomerGroupTableFilters
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LPIPSLR7.js";
|
|
7
7
|
import {
|
|
8
8
|
useCustomerGroupTableQuery
|
|
9
9
|
} from "./chunk-3XOE4NV5.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-6ZVV2XHU.js";
|
|
18
18
|
import {
|
|
19
19
|
useCustomerGroups
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-AFYILTAC.js";
|
|
21
21
|
|
|
22
22
|
// src/pages/price-lists/common/components/price-list-customer-group-rule-form/price-list-customer-group-rule-form.tsx
|
|
23
23
|
import { Button, Checkbox } from "@medusajs/ui";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-54EPH67T.js";
|
|
4
4
|
import {
|
|
5
5
|
useCustomerGroupTableFilters
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-LPIPSLR7.js";
|
|
7
7
|
import {
|
|
8
8
|
useOrderGroupTableFilters
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LXNWSQOE.js";
|
|
10
10
|
import {
|
|
11
11
|
useOrderTableQuery
|
|
12
12
|
} from "./chunk-QUHSHIAC.js";
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
useDeleteCustomer,
|
|
51
51
|
useDeleteCustomerAddress,
|
|
52
52
|
useRemoveCustomersFromGroup
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-AFYILTAC.js";
|
|
54
54
|
import {
|
|
55
55
|
ActionMenu
|
|
56
56
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -61,7 +61,7 @@ import {
|
|
|
61
61
|
// src/pages/customers/customer-detail/customer-detail.tsx
|
|
62
62
|
import { Children } from "react";
|
|
63
63
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
64
|
-
import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
64
|
+
import { WidgetZone, useLinkQuery } from "@mercurjs/dashboard-shared";
|
|
65
65
|
|
|
66
66
|
// src/pages/customers/customer-detail/components/customer-address-section/customer-address-section.tsx
|
|
67
67
|
import { Button, clx, Container, Heading, toast, usePrompt } from "@medusajs/ui";
|
|
@@ -114,9 +114,7 @@ var CustomerAddressSection = ({
|
|
|
114
114
|
}
|
|
115
115
|
await deleteAddress(address.id, {
|
|
116
116
|
onSuccess: () => {
|
|
117
|
-
toast.success(
|
|
118
|
-
t2("general.success", { name: address.address_name ?? "address" })
|
|
119
|
-
);
|
|
117
|
+
toast.success(t2("customers.addresses.delete.successToast"));
|
|
120
118
|
navigate(`/customers/${customer.id}`, { replace: true });
|
|
121
119
|
},
|
|
122
120
|
onError: (e) => {
|
|
@@ -798,11 +796,10 @@ import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
|
798
796
|
var Root = ({ children }) => {
|
|
799
797
|
const { id } = useParams();
|
|
800
798
|
const initialData = useLoaderData();
|
|
801
|
-
const
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
);
|
|
799
|
+
const query = useLinkQuery("customer", "+*addresses");
|
|
800
|
+
const { customer, isLoading, isError, error } = useCustomer(id, query, {
|
|
801
|
+
initialData
|
|
802
|
+
});
|
|
806
803
|
if (isLoading || !customer) {
|
|
807
804
|
return /* @__PURE__ */ jsx6(SingleColumnPageSkeleton, { sections: 2, showJSON: true, showMetadata: true });
|
|
808
805
|
}
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
useDeleteReservationItem,
|
|
22
22
|
useReservationItems
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-WX4ABVXL.js";
|
|
24
24
|
import {
|
|
25
25
|
ActionMenu
|
|
26
26
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -31,7 +31,7 @@ import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
|
31
31
|
|
|
32
32
|
// src/pages/reservations/reservation-list/components/reservation-list-table/reservation-list-table.tsx
|
|
33
33
|
import { Button, Container, Heading, Text } from "@medusajs/ui";
|
|
34
|
-
import { useExtendableTable } from "@mercurjs/dashboard-shared";
|
|
34
|
+
import { useExtendableTable, useLinkQuery } from "@mercurjs/dashboard-shared";
|
|
35
35
|
import { Children, useMemo as useMemo2 } from "react";
|
|
36
36
|
import { useTranslation as useTranslation4 } from "react-i18next";
|
|
37
37
|
import { Link } from "react-router-dom";
|
|
@@ -257,7 +257,8 @@ var ReservationListDataTable = () => {
|
|
|
257
257
|
pageSize: PAGE_SIZE
|
|
258
258
|
});
|
|
259
259
|
const { reservations, count, isPending, isError, error } = useReservationItems({
|
|
260
|
-
...searchParams
|
|
260
|
+
...searchParams,
|
|
261
|
+
...useLinkQuery("reservation")
|
|
261
262
|
});
|
|
262
263
|
const baseFilters = useReservationTableFilters();
|
|
263
264
|
const { columns, filters: extFilters } = useColumns();
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
productsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MMKUMSZS.js";
|
|
4
4
|
import {
|
|
5
5
|
queryClient
|
|
6
6
|
} from "./chunk-RHKRREUU.js";
|
|
@@ -20,7 +20,7 @@ var COLLECTION_QUERY_KEY = "collections";
|
|
|
20
20
|
var collectionsQueryKeys = queryKeysFactory(COLLECTION_QUERY_KEY);
|
|
21
21
|
var useCollection = (id, query, options) => {
|
|
22
22
|
const { data, ...rest } = useQuery({
|
|
23
|
-
queryKey: collectionsQueryKeys.detail(id),
|
|
23
|
+
queryKey: collectionsQueryKeys.detail(id, query),
|
|
24
24
|
queryFn: () => sdk.admin.collections.$id.query({ $id: id, ...query }),
|
|
25
25
|
...options
|
|
26
26
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
customerGroupsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AFYILTAC.js";
|
|
4
4
|
import {
|
|
5
5
|
productsQueryKeys
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-MMKUMSZS.js";
|
|
7
7
|
import {
|
|
8
8
|
queryClient
|
|
9
9
|
} from "./chunk-RHKRREUU.js";
|
|
@@ -24,7 +24,7 @@ var priceListsQueryKeys = queryKeysFactory(PRICE_LISTS_QUERY_KEY);
|
|
|
24
24
|
var usePriceList = (id, query, options) => {
|
|
25
25
|
const { data, ...rest } = useQuery({
|
|
26
26
|
queryFn: () => sdk.admin.priceLists.$id.query({ $id: id, ...query }),
|
|
27
|
-
queryKey: priceListsQueryKeys.detail(id),
|
|
27
|
+
queryKey: priceListsQueryKeys.detail(id, query),
|
|
28
28
|
...options
|
|
29
29
|
});
|
|
30
30
|
return { ...data, ...rest };
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-4F5GP7J7.js";
|
|
4
4
|
import {
|
|
5
5
|
useDeletePriceListAction
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5EOYDQAS.js";
|
|
7
7
|
import {
|
|
8
8
|
getPriceListStatus
|
|
9
9
|
} from "./chunk-U5MJIHLY.js";
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
} from "./chunk-I5HY5Q3K.js";
|
|
16
16
|
import {
|
|
17
17
|
useProductTableFilters
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-APMBU7ZV.js";
|
|
19
19
|
import {
|
|
20
20
|
useProductTableQuery
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-5NSOIZFB.js";
|
|
22
22
|
import {
|
|
23
23
|
TwoColumnPage
|
|
24
24
|
} from "./chunk-E74OUNA3.js";
|
|
@@ -29,10 +29,10 @@ import {
|
|
|
29
29
|
import {
|
|
30
30
|
usePriceList,
|
|
31
31
|
usePriceListLinkProducts
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-G2LHEJLS.js";
|
|
33
33
|
import {
|
|
34
34
|
useCustomerGroups
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-AFYILTAC.js";
|
|
36
36
|
import {
|
|
37
37
|
ActionMenu
|
|
38
38
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -42,12 +42,12 @@ import {
|
|
|
42
42
|
} from "./chunk-INNFZYX2.js";
|
|
43
43
|
import {
|
|
44
44
|
useProducts
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-MMKUMSZS.js";
|
|
46
46
|
|
|
47
47
|
// src/pages/price-lists/price-list-detail/price-list-detail.tsx
|
|
48
48
|
import { Children } from "react";
|
|
49
49
|
import { useParams } from "react-router-dom";
|
|
50
|
-
import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
50
|
+
import { useLinkQuery, WidgetZone } from "@mercurjs/dashboard-shared";
|
|
51
51
|
|
|
52
52
|
// src/pages/price-lists/price-list-detail/components/price-list-configuration-section/price-list-configuration-section.tsx
|
|
53
53
|
import { PencilSquare } from "@medusajs/icons";
|
|
@@ -470,7 +470,8 @@ var useColumns = (priceList) => {
|
|
|
470
470
|
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
471
471
|
var Root = ({ children }) => {
|
|
472
472
|
const { id } = useParams();
|
|
473
|
-
const
|
|
473
|
+
const linkQuery = useLinkQuery("price_list");
|
|
474
|
+
const { price_list, isLoading, isError, error } = usePriceList(id, linkQuery);
|
|
474
475
|
if (isLoading || !price_list) {
|
|
475
476
|
return /* @__PURE__ */ jsx4(TwoColumnPageSkeleton, { mainSections: 2, sidebarSections: 1, showJSON: true });
|
|
476
477
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
reservationItemsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WX4ABVXL.js";
|
|
4
4
|
import {
|
|
5
5
|
ordersQueryKeys
|
|
6
6
|
} from "./chunk-WF3ZDT5Z.js";
|
|
7
7
|
import {
|
|
8
8
|
inventoryItemsQueryKeys
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MMKUMSZS.js";
|
|
10
10
|
import {
|
|
11
11
|
queryClient
|
|
12
12
|
} from "./chunk-RHKRREUU.js";
|
|
@@ -105,6 +105,7 @@ var useReturnReasonTableQuery = ({
|
|
|
105
105
|
};
|
|
106
106
|
|
|
107
107
|
// src/hooks/table/query/use-sellers-table-query.tsx
|
|
108
|
+
import { linkFields, useExtension } from "@mercurjs/dashboard-shared";
|
|
108
109
|
var import_types = __toESM(require_dist(), 1);
|
|
109
110
|
var ACTIVE_STATUSES = [
|
|
110
111
|
import_types.SellerStatus.OPEN,
|
|
@@ -115,6 +116,7 @@ var useSellersTableQuery = ({
|
|
|
115
116
|
prefix,
|
|
116
117
|
pageSize = 20
|
|
117
118
|
}) => {
|
|
119
|
+
const links = useExtension().getLinks("seller");
|
|
118
120
|
const queryObject = useQueryParams(
|
|
119
121
|
["offset", "q", "created_at", "updated_at", "status", "is_premium", "order"],
|
|
120
122
|
prefix
|
|
@@ -128,7 +130,8 @@ var useSellersTableQuery = ({
|
|
|
128
130
|
status: status?.split(",") ?? ACTIVE_STATUSES,
|
|
129
131
|
is_premium: is_premium ? is_premium === "true" : void 0,
|
|
130
132
|
q,
|
|
131
|
-
order: order ? order : "-created_at"
|
|
133
|
+
order: order ? order : "-created_at",
|
|
134
|
+
...links.length ? { fields: linkFields(links) } : {}
|
|
132
135
|
};
|
|
133
136
|
return {
|
|
134
137
|
searchParams,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
import {
|
|
37
37
|
useDeleteReservationItem,
|
|
38
38
|
useReservationItems
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-WX4ABVXL.js";
|
|
40
40
|
import {
|
|
41
41
|
ActionMenu
|
|
42
42
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
48
48
|
inventoryItemsQueryKeys,
|
|
49
49
|
useInventoryItem,
|
|
50
50
|
useInventoryItemLevels
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-MMKUMSZS.js";
|
|
52
52
|
import {
|
|
53
53
|
queryClient
|
|
54
54
|
} from "./chunk-RHKRREUU.js";
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
// src/pages/inventory/inventory-detail/inventory-detail.tsx
|
|
60
60
|
import { Children } from "react";
|
|
61
61
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
62
|
-
import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
62
|
+
import { useLinkQuery, WidgetZone } from "@mercurjs/dashboard-shared";
|
|
63
63
|
|
|
64
64
|
// src/pages/inventory/inventory-detail/components/inventory-item-attributes/attributes-section.tsx
|
|
65
65
|
import { Container, Heading } from "@medusajs/ui";
|
|
@@ -689,9 +689,7 @@ var Root = ({ children }) => {
|
|
|
689
689
|
error
|
|
690
690
|
} = useInventoryItem(
|
|
691
691
|
id,
|
|
692
|
-
|
|
693
|
-
fields: INVENTORY_DETAIL_FIELDS
|
|
694
|
-
},
|
|
692
|
+
useLinkQuery("inventory_item", INVENTORY_DETAIL_FIELDS),
|
|
695
693
|
{
|
|
696
694
|
initialData
|
|
697
695
|
}
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-I5HY5Q3K.js";
|
|
4
4
|
import {
|
|
5
5
|
useProductTableFilters
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-APMBU7ZV.js";
|
|
7
7
|
import {
|
|
8
8
|
useProductTableQuery
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5NSOIZFB.js";
|
|
10
10
|
import {
|
|
11
11
|
PRODUCT_IDS_KEY
|
|
12
12
|
} from "./chunk-LO2ZWQGL.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
useBatchProducts,
|
|
25
25
|
useDeleteProduct,
|
|
26
26
|
useProducts
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-MMKUMSZS.js";
|
|
28
28
|
|
|
29
29
|
// src/pages/products/product-list/product-list.tsx
|
|
30
30
|
import { Children as Children2 } from "react";
|