@mercurjs/admin 2.0.2 → 2.1.0-canary.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-campaign-promotions-TA7QC32P.js → add-campaign-promotions-LE2WUOTX.js} +6 -6
- package/dist/{adjust-inventory-W4H5F2JA.js → adjust-inventory-TCBV3PCL.js} +33 -32
- package/dist/{api-key-management-create-FPBZMDBI.js → api-key-management-create-THDCXGWK.js} +5 -5
- package/dist/{api-key-management-detail-LMKKDTRJ.js → api-key-management-detail-LH3I7OZB.js} +34 -33
- package/dist/{api-key-management-edit-5EM4NJIM.js → api-key-management-edit-LTVNXP6T.js} +5 -5
- package/dist/{api-key-management-list-MRKJVQMI.js → api-key-management-list-4MCSXO5L.js} +5 -5
- package/dist/{api-key-management-sales-channels-AETOWQYM.js → api-key-management-sales-channels-SCIDNYW5.js} +5 -5
- package/dist/{attribute-create-IRJTPQCF.js → attribute-create-CJBFOEGI.js} +33 -32
- package/dist/{attribute-create-possible-value-RG4VA2DG.js → attribute-create-possible-value-BIU2L7AN.js} +3 -3
- package/dist/{attribute-detail-7FLCTP3I.js → attribute-detail-2RDAGHQB.js} +32 -31
- package/dist/{attribute-edit-6YNHG3QV.js → attribute-edit-TDMQJYAP.js} +36 -35
- package/dist/{attribute-edit-possible-value-IBJA53MJ.js → attribute-edit-possible-value-G2ON2AE3.js} +6 -6
- package/dist/{attribute-edit-ranking-BLMESGR5.js → attribute-edit-ranking-CEBR5LJ7.js} +3 -3
- package/dist/attribute-list-MK2EUELY.js +64 -0
- package/dist/{campaign-budget-edit-PL7DTWCM.js → campaign-budget-edit-WKSYXTBX.js} +3 -3
- package/dist/{campaign-configuration-D6ROERRH.js → campaign-configuration-ZTK46EB5.js} +3 -3
- package/dist/{campaign-create-LABYKFMI.js → campaign-create-QFNB5XZ2.js} +7 -7
- package/dist/{campaign-detail-E37P67AC.js → campaign-detail-GVJ3PO4I.js} +36 -35
- package/dist/{campaign-edit-PMJMUUDW.js → campaign-edit-ZGLDY4X4.js} +3 -3
- package/dist/{campaign-list-B42U6XNF.js → campaign-list-TXTMGE6H.js} +3 -3
- package/dist/{categories-metadata-34L5C2TK.js → categories-metadata-M3GDS27H.js} +34 -33
- package/dist/{category-create-AMHFSXJI.js → category-create-5WS4XGYI.js} +6 -6
- package/dist/{category-detail-B23F726Q.js → category-detail-TTJ6XGLM.js} +35 -34
- package/dist/{category-edit-VZL6ROLF.js → category-edit-GOB4ASBP.js} +4 -4
- package/dist/{category-list-R66T472I.js → category-list-DVDOBE7O.js} +5 -5
- package/dist/{category-organize-CLCNXQSJ.js → category-organize-NCH6A57L.js} +4 -4
- package/dist/{category-products-2LKOHEWO.js → category-products-NRPWJHDW.js} +34 -33
- package/dist/{chunk-DKA6GR53.js → chunk-2ASJQTGT.js} +1 -1
- package/dist/{chunk-YVCBMOJG.js → chunk-2EME4AWX.js} +1 -1
- package/dist/{chunk-T7MQFDTF.js → chunk-2FGRDEAD.js} +1 -1
- package/dist/{chunk-M3YP3NX4.js → chunk-2FLBJM53.js} +58 -33
- package/dist/{chunk-AG4ORND4.js → chunk-2KWNTJGL.js} +2 -2
- package/dist/{chunk-ZDZYRCVH.js → chunk-33BERJSG.js} +1 -1
- package/dist/{chunk-VXPWOEUS.js → chunk-34I4QIBD.js} +1 -1
- package/dist/{chunk-ZCLF2O6X.js → chunk-36NDTZIV.js} +1 -1
- package/dist/{chunk-IAT6UDKU.js → chunk-3BBG3LC3.js} +1 -1
- package/dist/{chunk-TCA3ZYNO.js → chunk-3CU7XPUR.js} +2 -2
- package/dist/{chunk-EI6JBJYB.js → chunk-3IN6MMKV.js} +3 -3
- package/dist/{chunk-XIHVSZ6I.js → chunk-3UZVMGC6.js} +1 -1
- package/dist/{chunk-5PUHROK4.js → chunk-46M463BR.js} +1 -1
- package/dist/{chunk-KA3VYXNA.js → chunk-4LXBQTFN.js} +1 -1
- package/dist/{chunk-BA2HXHTW.js → chunk-5CK6XEFV.js} +1 -1
- package/dist/{chunk-O4STPJR2.js → chunk-5TRY5IMZ.js} +2 -2
- package/dist/{chunk-EVGVH6CU.js → chunk-5XENZ4RY.js} +12 -12
- package/dist/{chunk-5VMJCLUP.js → chunk-6MJ5HPIP.js} +4 -4
- package/dist/{chunk-J555HFHV.js → chunk-6SND23WS.js} +2 -2
- package/dist/{chunk-U3OWJE7V.js → chunk-72Q2T2FK.js} +126 -45
- package/dist/{chunk-J24SOKSP.js → chunk-73JXHNUH.js} +3 -3
- package/dist/{chunk-XMVTX2EN.js → chunk-7O5NDICV.js} +1 -1
- package/dist/{chunk-SDPR7PGR.js → chunk-7URRKQIX.js} +1 -1
- package/dist/{chunk-4G5FEKRO.js → chunk-A3HOLGBF.js} +1 -1
- package/dist/{chunk-CBHNHLUZ.js → chunk-AEMDNTW5.js} +2 -2
- package/dist/{chunk-JSBQOQXC.js → chunk-AGB4RMSE.js} +1 -1
- package/dist/{chunk-SDQ6V2QY.js → chunk-ANHC5MBQ.js} +3 -3
- package/dist/{chunk-ZMDE5HEV.js → chunk-AQANSGTS.js} +107 -49
- package/dist/{chunk-UBTAADSY.js → chunk-ARMMSJ7L.js} +4 -4
- package/dist/{chunk-MMTCBVUV.js → chunk-AVUWXDRQ.js} +3 -3
- package/dist/{chunk-CGVHXNWH.js → chunk-AVW3A7X5.js} +2 -2
- package/dist/{chunk-22XJUSMM.js → chunk-B6FG7A6W.js} +2 -2
- package/dist/{chunk-G4LGZF5F.js → chunk-BH5LSB6O.js} +4 -4
- package/dist/{chunk-TBREETGZ.js → chunk-BJFFCELF.js} +4 -4
- package/dist/{chunk-MCEEC3VH.js → chunk-BOGOBZVM.js} +3 -3
- package/dist/{chunk-6NVEUQSL.js → chunk-C4JUURO5.js} +1 -1
- package/dist/{chunk-6D5BKKSQ.js → chunk-CDS2B2P6.js} +1 -1
- package/dist/{chunk-4QX7QEWY.js → chunk-CMLDMKSO.js} +11 -11
- package/dist/{chunk-R2KXIBCX.js → chunk-CQ7HSDCL.js} +1 -1
- package/dist/{chunk-FNBKEF54.js → chunk-DAXXLQKB.js} +1 -1
- package/dist/{chunk-K4BGK3CO.js → chunk-DBNPVU3L.js} +3 -3
- package/dist/{chunk-KERA6OZN.js → chunk-DGSPRILL.js} +1 -1
- package/dist/{chunk-NRKVFULI.js → chunk-DKIXS7MS.js} +567 -244
- package/dist/{chunk-N4JU7GWK.js → chunk-DL2ZIXBO.js} +2 -2
- package/dist/{chunk-SZVIRQZ2.js → chunk-DMWRKJV5.js} +4 -4
- package/dist/{chunk-DOZ3NXES.js → chunk-DSIZONVE.js} +1 -1
- package/dist/{chunk-FMGXDDBU.js → chunk-EA5ADIDK.js} +2 -2
- package/dist/{chunk-HVLPRHZS.js → chunk-EKMBY4QP.js} +2 -2
- package/dist/{chunk-PLDGQ5PO.js → chunk-ENFPDBSU.js} +3 -3
- package/dist/{chunk-OFKUNYQJ.js → chunk-EPHVGD5Z.js} +1 -1
- package/dist/{chunk-W5UPPL3W.js → chunk-ESPLVOFC.js} +2 -2
- package/dist/{chunk-3FNX54TD.js → chunk-FNJNVUXR.js} +2 -2
- package/dist/{chunk-NNI6QKKZ.js → chunk-FQFW3DUZ.js} +13 -1
- package/dist/{chunk-OV7R2AH5.js → chunk-FWJLS7XD.js} +60 -58
- package/dist/{chunk-LC6TM5OT.js → chunk-FXWKGNRV.js} +2 -2
- package/dist/{chunk-QG3EYUDB.js → chunk-GAD5DQOY.js} +3 -3
- package/dist/{chunk-QIZUNM6F.js → chunk-GBRUBIGE.js} +4 -4
- package/dist/{chunk-XKVXLDSJ.js → chunk-GKGLVDDV.js} +1 -1
- package/dist/{chunk-YTPCWCA3.js → chunk-GU4T2RAQ.js} +1 -1
- package/dist/{chunk-6TFS6ET5.js → chunk-I5THQVYP.js} +1 -1
- package/dist/{chunk-KMK4YAS2.js → chunk-IDBCFDIT.js} +1 -1
- package/dist/{chunk-OW6XTJ33.js → chunk-IF36RZZS.js} +3 -3
- package/dist/{chunk-5XWE6QZ3.js → chunk-IXWGJ4W7.js} +3 -3
- package/dist/{chunk-LW57KBYK.js → chunk-J73MGZ2C.js} +2 -2
- package/dist/{chunk-ZLBTDKSI.js → chunk-JCSPXBS3.js} +1 -1
- package/dist/{chunk-XRDP2SYY.js → chunk-JPNPTILP.js} +1 -1
- package/dist/{chunk-5WTGRSBC.js → chunk-JSLUA5Y4.js} +1 -1
- package/dist/{chunk-BE5QWX5N.js → chunk-KOURHC2N.js} +0 -4
- package/dist/{chunk-RVAVU222.js → chunk-KZE2BXFZ.js} +8 -8
- package/dist/{chunk-HHEQZTPC.js → chunk-L6LJB5HH.js} +2 -2
- package/dist/{chunk-UBS6VEGB.js → chunk-LAN52TLS.js} +1 -1
- package/dist/{chunk-XDZGOUCR.js → chunk-LAPEZATU.js} +1 -1
- package/dist/{chunk-DTUPDNN3.js → chunk-LNT72PI5.js} +4 -4
- package/dist/{chunk-N7QGYSFB.js → chunk-LRCMPXIA.js} +4 -4
- package/dist/{chunk-HAZURA7S.js → chunk-LVEROZU4.js} +2 -2
- package/dist/{chunk-VME3CJER.js → chunk-LYD3C73Z.js} +1 -1
- package/dist/{chunk-CA4XLTI7.js → chunk-N2Y3OWEV.js} +2 -2
- package/dist/{chunk-CMX37MSO.js → chunk-N46VH2AV.js} +5 -5
- package/dist/{chunk-DF3OGJAK.js → chunk-N6SI4IIT.js} +1 -1
- package/dist/{chunk-ZJNRM77Y.js → chunk-O6X4QXB5.js} +4 -4
- package/dist/{chunk-MFL2TZ3W.js → chunk-OH4AABUT.js} +1 -1
- package/dist/{chunk-EHQESDH2.js → chunk-OHOWEMHO.js} +1 -1
- package/dist/{chunk-BMC2HG53.js → chunk-OQMBWJPH.js} +2 -2
- package/dist/{chunk-PBMB2LY5.js → chunk-P5VTTPU2.js} +2 -2
- package/dist/{chunk-3MDRW5MA.js → chunk-PBQ5M44A.js} +2 -2
- package/dist/{chunk-UU2RQMXS.js → chunk-PRBE5CM3.js} +1 -1
- package/dist/{chunk-AVXOG7CE.js → chunk-PXZQSL5A.js} +3 -3
- package/dist/{chunk-WDASBBB5.js → chunk-Q4WP4LIW.js} +1 -1
- package/dist/{chunk-ZFEGVWHT.js → chunk-QFOEY6RN.js} +51 -31
- package/dist/{chunk-NDPTTHBH.js → chunk-QGXOLAXL.js} +2 -2
- package/dist/{chunk-4ESVWDQK.js → chunk-QJLICXCV.js} +2 -2
- package/dist/{chunk-5VBNFLG2.js → chunk-QP3ID4X3.js} +1 -1
- package/dist/{chunk-UI2BJVP5.js → chunk-R2FE3PBQ.js} +1 -1
- package/dist/{chunk-BUI5NC7I.js → chunk-RFYOW244.js} +1 -1
- package/dist/{chunk-GYKVLGU4.js → chunk-RXBYBQDN.js} +2 -2
- package/dist/{chunk-EG2Y5Z2K.js → chunk-SIM42VD3.js} +3 -3
- package/dist/{chunk-G5WS77NL.js → chunk-SMPTZ2RM.js} +4 -4
- package/dist/{chunk-NYWECWZJ.js → chunk-SNH3O6QM.js} +5 -5
- package/dist/{chunk-WSR2ZXAJ.js → chunk-SUQJGDPA.js} +4 -4
- package/dist/{chunk-RRAIAUBR.js → chunk-T3E6EVLQ.js} +8 -8
- package/dist/{chunk-7IPA3CRG.js → chunk-T62OEGJG.js} +4 -4
- package/dist/{chunk-R74OHYTB.js → chunk-TAKEQAZZ.js} +3 -3
- package/dist/{chunk-F7VTQIU7.js → chunk-TBRKUYQX.js} +7 -7
- package/dist/{chunk-WHLVH4RN.js → chunk-TFRTL5VZ.js} +2 -2
- package/dist/{chunk-RIC6PMBR.js → chunk-TGK2C73H.js} +8 -8
- package/dist/{chunk-34VX7KOL.js → chunk-TH4GYG3E.js} +4 -4
- package/dist/{chunk-A2TQNJZP.js → chunk-TLAUR5IR.js} +13 -12
- package/dist/{chunk-YYTI5JIC.js → chunk-U7WZYWGA.js} +2 -2
- package/dist/{chunk-6OTK5LAS.js → chunk-UROZLRSZ.js} +4 -4
- package/dist/{chunk-M4VLYKT5.js → chunk-UZ52KLQM.js} +2 -2
- package/dist/{chunk-7SJC6BWZ.js → chunk-VDKOJ5WD.js} +1 -1
- package/dist/{chunk-25YTS3TI.js → chunk-VIGX66F7.js} +2 -2
- package/dist/{chunk-SKV7U4GW.js → chunk-VXPWIJZV.js} +7 -7
- package/dist/{chunk-IJWG755C.js → chunk-VYMODH6P.js} +1 -1
- package/dist/{chunk-FB4JUZFB.js → chunk-VZVB3ZR3.js} +4 -4
- package/dist/chunk-WJJXUXSO.js +23 -0
- package/dist/{chunk-TIMWFAPD.js → chunk-WRRMBJBQ.js} +1 -1
- package/dist/{chunk-UYKWOC5A.js → chunk-X2X7M3B6.js} +1 -1
- package/dist/{chunk-UI2KUK3F.js → chunk-X3S5LZQO.js} +2 -2
- package/dist/{chunk-DYFB2ZZD.js → chunk-YEUUI6JF.js} +1 -1
- package/dist/{chunk-TPPONKYW.js → chunk-YFRC6GEN.js} +3 -3
- package/dist/{chunk-BBANQAF4.js → chunk-YFSTGK5R.js} +2 -2
- package/dist/{chunk-76FXHSMH.js → chunk-YHWY7YA3.js} +2 -2
- package/dist/{chunk-YNIIYGL4.js → chunk-YKDEE7ZL.js} +2 -2
- package/dist/{chunk-NJKJAYV2.js → chunk-YNHS5G26.js} +2 -2
- package/dist/{chunk-QLJKQS6P.js → chunk-YQ6JASMO.js} +6 -6
- package/dist/{chunk-HS322YUO.js → chunk-YSGXL7CX.js} +2 -2
- package/dist/{chunk-52BRBQMY.js → chunk-Z2QQZOG3.js} +2 -2
- package/dist/{chunk-5N6S5K57.js → chunk-Z6DBHMEN.js} +2 -2
- package/dist/{chunk-MRFW7VTW.js → chunk-ZBJ56XDB.js} +2 -2
- package/dist/{chunk-RIN4CBRB.js → chunk-ZBWL72TB.js} +2 -8
- package/dist/{chunk-7STT4ZVP.js → chunk-ZD46XW74.js} +1 -1
- package/dist/{chunk-HAFZQK53.js → chunk-ZN7LWXVC.js} +1 -1
- package/dist/{chunk-PQGIRNRF.js → chunk-ZTAKV4UY.js} +6 -6
- package/dist/{chunk-O7UECTZO.js → chunk-ZW34ZAIP.js} +1 -1
- package/dist/{collection-add-products-RHIQZ37R.js → collection-add-products-V34BC5KZ.js} +34 -33
- package/dist/{collection-create-EBAELCA2.js → collection-create-T3I4AQ6T.js} +4 -4
- package/dist/{collection-detail-SJ4ZZLWY.js → collection-detail-FBF245L5.js} +34 -33
- package/dist/{collection-edit-TGXPOOSX.js → collection-edit-L5GPFBBX.js} +4 -4
- package/dist/{collection-list-OFZGXVJA.js → collection-list-2NU2RHF6.js} +39 -37
- package/dist/{collection-metadata-3CDRKSCP.js → collection-metadata-4CATBMBR.js} +34 -33
- package/dist/{commission-rate-create-OOVFRTYM.js → commission-rate-create-BX5ON475.js} +40 -38
- package/dist/{commission-rate-detail-5XFV6XH2.js → commission-rate-detail-2FIUCRWQ.js} +33 -32
- package/dist/{commission-rate-edit-6B4P2GOV.js → commission-rate-edit-QO54ISLU.js} +40 -38
- package/dist/{commission-rate-list-OLAGFQNJ.js → commission-rate-list-TSEOC244.js} +3 -3
- package/dist/{customer-create-DT6MYVMQ.js → customer-create-QHA4KM6N.js} +3 -3
- package/dist/{customer-create-address-VIG65ALU.js → customer-create-address-TYWVWNUE.js} +3 -3
- package/dist/{customer-detail-Q4K56AZ4.js → customer-detail-X7RDPYCB.js} +34 -33
- package/dist/{customer-edit-MHNLUNUL.js → customer-edit-X4HQOUAE.js} +3 -3
- package/dist/{customer-group-add-customers-SI5TTT4S.js → customer-group-add-customers-Y4AIT37I.js} +4 -4
- package/dist/{customer-group-create-W3FV4OEH.js → customer-group-create-NA2UKCF6.js} +3 -3
- package/dist/{customer-group-detail-NSEFUNCF.js → customer-group-detail-LG45HYN7.js} +34 -33
- package/dist/{customer-group-edit-ZANHQ7RS.js → customer-group-edit-3O6HAYYN.js} +3 -3
- package/dist/customer-group-list-AKB2QL2I.js +59 -0
- package/dist/{customer-group-metadata-LXJK3IMS.js → customer-group-metadata-5EY56USK.js} +34 -33
- package/dist/{customer-list-CHRZJTNK.js → customer-list-MH5N6M5L.js} +4 -4
- package/dist/{customer-metadata-ZZSCYFHY.js → customer-metadata-UI7VJNBB.js} +34 -33
- package/dist/{customers-add-customer-group-TIBDJPYF.js → customers-add-customer-group-WXARGETR.js} +33 -32
- package/dist/{edit-inventory-item-Y3CIG6L5.js → edit-inventory-item-7LUBIEJG.js} +33 -32
- package/dist/{edit-inventory-item-attributes-CZNIVWXY.js → edit-inventory-item-attributes-GPWA3SHB.js} +33 -32
- package/dist/{edit-reservation-OQCAZUIS.js → edit-reservation-T6SKOG2F.js} +5 -5
- package/dist/{edit-rules-G7GRUQL6.js → edit-rules-MOJW3IY6.js} +34 -33
- package/dist/index.js +292 -287
- package/dist/inventory-create-G4PFD6IN.js +58 -0
- package/dist/{inventory-detail-6V43ZQDK.js → inventory-detail-N2YB6A4C.js} +33 -32
- package/dist/{inventory-list-TAJ4T5JG.js → inventory-list-HGWKI5CF.js} +4 -4
- package/dist/{inventory-metadata-PFXMJTSB.js → inventory-metadata-R35MGH5G.js} +34 -33
- package/dist/{inventory-stock-B4FYZAQB.js → inventory-stock-VKNHPP3I.js} +35 -34
- package/dist/{invite-YRARW3RW.js → invite-VQ2HR2OM.js} +3 -3
- package/dist/{location-create-GXPH4WZI.js → location-create-ZMNB7YKR.js} +3 -3
- package/dist/{location-detail-NOUHQA4M.js → location-detail-SHY5JFEP.js} +33 -32
- package/dist/{location-edit-GNKQAXJG.js → location-edit-DMBF3CYZ.js} +3 -3
- package/dist/{location-fulfillment-providers-A27CQMJN.js → location-fulfillment-providers-XJWKGU5I.js} +37 -36
- package/dist/location-list-B4EVW7LE.js +55 -0
- package/dist/{location-sales-channels-U3MVWUAT.js → location-sales-channels-D5SNTEWM.js} +5 -5
- package/dist/{location-service-zone-create-E4LW45D7.js → location-service-zone-create-AC4JW4Y4.js} +6 -6
- package/dist/{location-service-zone-edit-UIVVQVMW.js → location-service-zone-edit-MTGU2O4C.js} +5 -5
- package/dist/{location-service-zone-manage-areas-F3SOZGVW.js → location-service-zone-manage-areas-M52WHSWM.js} +6 -6
- package/dist/location-service-zone-shipping-option-create-VKRDPJY5.js +59 -0
- package/dist/{location-service-zone-shipping-option-edit-3KNW7UBD.js → location-service-zone-shipping-option-edit-PLEDWIY3.js} +5 -5
- package/dist/{location-service-zone-shipping-option-pricing-35SMJ6XP.js → location-service-zone-shipping-option-pricing-MZHMML32.js} +9 -9
- package/dist/{login-QCYKZCZP.js → login-GQ2TKLJX.js} +32 -31
- package/dist/{manage-locations-VIWHIN7B.js → manage-locations-BA7VMY3Q.js} +4 -4
- package/dist/{marketplace-add-currencies-Q4EJAXDN.js → marketplace-add-currencies-C6S4Z3VT.js} +5 -5
- package/dist/{marketplace-detail-CYMZCRWM.js → marketplace-detail-D5AXFDDY.js} +33 -32
- package/dist/{marketplace-edit-AMRUND2Q.js → marketplace-edit-U5B6WA56.js} +4 -4
- package/dist/{marketplace-metadata-LYNL3W6L.js → marketplace-metadata-6E3EUPQR.js} +34 -33
- package/dist/{order-allocate-items-AZ3FDELU.js → order-allocate-items-A365NKBM.js} +6 -6
- package/dist/{order-create-claim-HWZI4OEK.js → order-create-claim-TASIQWLS.js} +36 -35
- package/dist/{order-create-edit-VIIAC2AA.js → order-create-edit-AEWAUNSL.js} +34 -33
- package/dist/{order-create-exchange-KRGBFSCC.js → order-create-exchange-BZULQKWC.js} +36 -35
- package/dist/{order-create-fulfillment-K4LB6U6E.js → order-create-fulfillment-ZQLJDGCV.js} +33 -32
- package/dist/{order-create-refund-2OCPOAJS.js → order-create-refund-MPWH7PYP.js} +33 -32
- package/dist/{order-create-return-4PREWHB7.js → order-create-return-J35OSJJW.js} +9 -9
- package/dist/{order-create-shipment-BD3DKSJX.js → order-create-shipment-UDYZFTKL.js} +33 -32
- package/dist/{order-detail-GETGE7YJ.js → order-detail-43QRHVIH.js} +38 -37
- package/dist/{order-edit-billing-address-3GN3QU4Y.js → order-edit-billing-address-6PKPD4GI.js} +34 -33
- package/dist/{order-edit-email-D6KSNSY4.js → order-edit-email-TRDITOOM.js} +33 -32
- package/dist/{order-edit-shipping-address-Z7RP4UBB.js → order-edit-shipping-address-RU4NGJNM.js} +33 -32
- package/dist/{order-list-727TI7BS.js → order-list-DNYS57KP.js} +9 -8
- package/dist/{order-metadata-UCAS6KEK.js → order-metadata-AJZBUN36.js} +34 -33
- package/dist/{order-receive-return-YZGUVELT.js → order-receive-return-D5ZVVYMY.js} +34 -33
- package/dist/{order-request-transfer-DBXAIXEG.js → order-request-transfer-DAUOVTRI.js} +33 -32
- package/dist/pages/index.d.ts +165 -165
- package/dist/pages/index.js +136 -135
- package/dist/{payout-detail-SQKDY2F6.js → payout-detail-C5WLFRRT.js} +3 -3
- package/dist/{payout-list-HPMP3CJH.js → payout-list-KUFWUKTH.js} +3 -3
- package/dist/{price-list-configuration-XGX6HV4Q.js → price-list-configuration-JNMKFGCK.js} +6 -6
- package/dist/price-list-create-NVCPOU2Y.js +77 -0
- package/dist/{price-list-detail-VA4F6JQJ.js → price-list-detail-ANVE56H3.js} +35 -34
- package/dist/{price-list-edit-OYRI7KZD.js → price-list-edit-BVVLQ5WV.js} +5 -5
- package/dist/{price-list-list-27QDRHNY.js → price-list-list-NFS344UG.js} +6 -6
- package/dist/price-list-prices-add-JSWTZXIB.js +72 -0
- package/dist/{price-list-prices-edit-7WHKIZHY.js → price-list-prices-edit-5OKGMVHM.js} +35 -34
- package/dist/{product-attributes-BM54QUBZ.js → product-attributes-ASPKDH7H.js} +3 -3
- package/dist/product-create-B6OYB6QQ.js +71 -0
- package/dist/{product-create-option-53CW7HXH.js → product-create-option-WDFFZYTE.js} +3 -3
- package/dist/product-create-variant-HVY3YA5T.js +56 -0
- package/dist/{product-detail-Y24FRUWA.js → product-detail-IL6J7IDR.js} +33 -32
- package/dist/{product-edit-AY2UVE3V.js → product-edit-IASCMBET.js} +4 -4
- package/dist/{product-edit-option-ULBJKDOE.js → product-edit-option-UMOGVYLM.js} +3 -3
- package/dist/{product-export-4G44DDXA.js → product-export-FYASMR3R.js} +39 -37
- package/dist/{product-import-TIPIYEJJ.js → product-import-RDTWXZSA.js} +33 -32
- package/dist/{product-list-BLFQWHIA.js → product-list-E26DQCLM.js} +34 -33
- package/dist/{product-media-IKMGI2QA.js → product-media-FAZR34OC.js} +5 -5
- package/dist/{product-metadata-SKNZWKWO.js → product-metadata-RYDY2LBO.js} +34 -33
- package/dist/{product-organization-KHZQIBDK.js → product-organization-63ODFBLM.js} +5 -5
- package/dist/{product-prices-XCC26S77.js → product-prices-RLZBWN6C.js} +7 -7
- package/dist/{product-sales-channels-G22VD3VU.js → product-sales-channels-7HVGLKJQ.js} +4 -4
- package/dist/{product-shipping-profile-OPOM33SD.js → product-shipping-profile-X5CZJCET.js} +3 -3
- package/dist/{product-stock-WIPVYJUH.js → product-stock-NXLCWJ7S.js} +35 -34
- package/dist/{product-tag-create-3QK7MKMI.js → product-tag-create-5JKOHKHR.js} +33 -32
- package/dist/{product-tag-detail-LSMLNJW6.js → product-tag-detail-4P36B7AC.js} +40 -38
- package/dist/{product-tag-edit-NHRQ55DX.js → product-tag-edit-QZOCJSA3.js} +33 -32
- package/dist/{product-tag-list-UHBM6KBT.js → product-tag-list-IOUBMHTR.js} +40 -38
- package/dist/{product-tag-metadata-DGH7UF4L.js → product-tag-metadata-HDTR5225.js} +34 -33
- package/dist/{product-type-create-X6NFMD2J.js → product-type-create-RHG4KEAV.js} +3 -3
- package/dist/{product-type-detail-GNRN4KTB.js → product-type-detail-57S6OUU7.js} +35 -34
- package/dist/{product-type-edit-K5WDDPEY.js → product-type-edit-CABB7R7Y.js} +3 -3
- package/dist/{product-type-list-6CTXFZBZ.js → product-type-list-E2BUVXIT.js} +4 -4
- package/dist/{product-type-metadata-NFMNORIB.js → product-type-metadata-3XHYM7AO.js} +34 -33
- package/dist/{product-variant-detail-TGSUSOEB.js → product-variant-detail-Q6V67DO7.js} +33 -32
- package/dist/{product-variant-edit-6OJRQWC6.js → product-variant-edit-7RJL2DWH.js} +33 -32
- package/dist/{product-variant-manage-inventory-items-RFKTIM5A.js → product-variant-manage-inventory-items-WENX2QCZ.js} +3 -3
- package/dist/{product-variant-metadata-4MWJAXYI.js → product-variant-metadata-QHCUMQCQ.js} +34 -33
- package/dist/{profile-detail-C5BGWHSQ.js → profile-detail-IWSYAO67.js} +3 -3
- package/dist/{profile-edit-RXXHWORE.js → profile-edit-Y5UUUKVH.js} +3 -3
- package/dist/{promotion-add-campaign-TWE6G4R7.js → promotion-add-campaign-GBB6M2OB.js} +7 -7
- package/dist/promotion-create-RISO27OH.js +56 -0
- package/dist/{promotion-detail-KGIX6TA2.js → promotion-detail-BQOADUXZ.js} +35 -34
- package/dist/{promotion-edit-details-J2JWFT2L.js → promotion-edit-details-E2XKWY7L.js} +4 -4
- package/dist/{promotion-list-U7PXQLZT.js → promotion-list-6ILZBIJZ.js} +6 -6
- package/dist/{refund-reason-create-KYM2BCJ2.js → refund-reason-create-RWGVYY7U.js} +33 -32
- package/dist/{refund-reason-edit-JIG7FL7D.js → refund-reason-edit-F3AKUO4F.js} +33 -32
- package/dist/{refund-reason-list-IO4INIKF.js → refund-reason-list-LOEY5OHX.js} +35 -33
- package/dist/{region-add-countries-OBJOMTGC.js → region-add-countries-6HKFPVNE.js} +4 -4
- package/dist/{region-create-NI7QPOS5.js → region-create-BOHJGJCB.js} +5 -5
- package/dist/{region-detail-TR3IRW6L.js → region-detail-VR2RSHCW.js} +4 -4
- package/dist/{region-edit-AGC3N4RU.js → region-edit-QNJ2HT76.js} +5 -5
- package/dist/{region-list-D4VLAQXD.js → region-list-IHOCFATO.js} +4 -4
- package/dist/{region-metadata-NJUXGJJZ.js → region-metadata-S5X464KM.js} +34 -33
- package/dist/{reservation-create-3PQ56FKT.js → reservation-create-26QAWABA.js} +5 -5
- package/dist/{reservation-detail-TKILHE26.js → reservation-detail-CGAEHOZ6.js} +33 -32
- package/dist/{reservation-list-56EFZDRI.js → reservation-list-EKIR6AET.js} +5 -5
- package/dist/{reservation-metadata-V7BLDGSJ.js → reservation-metadata-55FYLG45.js} +34 -33
- package/dist/{reset-password-SXAC55FW.js → reset-password-VQXCSILN.js} +3 -3
- package/dist/{return-reason-create-2HPI654O.js → return-reason-create-KED7446I.js} +3 -3
- package/dist/{return-reason-edit-NJSTWTP3.js → return-reason-edit-57EU3XSE.js} +3 -3
- package/dist/{return-reason-list-RYRELICQ.js → return-reason-list-FHE2DTG6.js} +5 -4
- package/dist/{sales-channel-add-products-27YLUPZP.js → sales-channel-add-products-UNJBYNPM.js} +34 -33
- package/dist/{sales-channel-create-QJTXOKAM.js → sales-channel-create-NSZEHGZE.js} +4 -4
- package/dist/{sales-channel-detail-EW2YN7VL.js → sales-channel-detail-C62VVFTT.js} +34 -33
- package/dist/{sales-channel-edit-CDOQ5WR3.js → sales-channel-edit-W6Z2ERBJ.js} +4 -4
- package/dist/sales-channel-list-L233THQV.js +52 -0
- package/dist/{sales-channel-metadata-YABMFKT3.js → sales-channel-metadata-XL6OAO6S.js} +34 -33
- package/dist/{shipping-option-type-create-KXRPACLG.js → shipping-option-type-create-KSQX5DHV.js} +33 -32
- package/dist/{shipping-option-type-detail-KHX2BRFP.js → shipping-option-type-detail-NQFIUIZU.js} +34 -33
- package/dist/{shipping-option-type-edit-N3L4TPUK.js → shipping-option-type-edit-P5JP6TGA.js} +33 -32
- package/dist/shipping-option-type-list-NMG6FSD7.js +62 -0
- package/dist/{shipping-profile-create-T5WADNL2.js → shipping-profile-create-UJNCCKKK.js} +3 -3
- package/dist/{shipping-profile-detail-3II2GLOC.js → shipping-profile-detail-XKLW22RQ.js} +3 -3
- package/dist/{shipping-profile-metadata-WDM4Y653.js → shipping-profile-metadata-YEKUKBUJ.js} +34 -33
- package/dist/{shipping-profiles-list-DY4G7Z3K.js → shipping-profiles-list-CCMGZXHJ.js} +3 -3
- package/dist/{store-address-edit-7BBZSSIP.js → store-address-edit-YHL23NAM.js} +53 -72
- package/dist/store-bulk-edit-3WUPOXIX.js +194 -0
- package/dist/{store-closure-edit-CN5JR4F5.js → store-closure-edit-LNMWVVWG.js} +3 -3
- package/dist/{store-create-FUYTHJL5.js → store-create-TDHCGON2.js} +68 -75
- package/dist/{store-details-65JQK3M3.js → store-details-6THDNDJB.js} +45 -35
- package/dist/{store-edit-IQAVLFU5.js → store-edit-LJKBFRJG.js} +102 -50
- package/dist/{store-list-DWFAFCKV.js → store-list-UA2GXT7T.js} +39 -38
- package/dist/store-member-invite-K76O2YUD.js +206 -0
- package/dist/{store-payment-details-edit-Z3GLY4TO.js → store-payment-details-edit-VD76VCVF.js} +22 -14
- package/dist/{store-professional-details-edit-7KWQOK46.js → store-professional-details-edit-3QMC5OGO.js} +3 -3
- package/dist/{tax-region-create-6VHCIPP7.js → tax-region-create-NVE7TJVZ.js} +34 -33
- package/dist/tax-region-detail-6W6ZCFKH.js +70 -0
- package/dist/{tax-region-edit-7A6MZBXC.js → tax-region-edit-XIQISIV6.js} +33 -32
- package/dist/{tax-region-list-52PPICIL.js → tax-region-list-BU5TV5MS.js} +6 -6
- package/dist/{tax-region-metadata-UZYHKPTE.js → tax-region-metadata-C2IM452E.js} +34 -33
- package/dist/{tax-region-province-create-PU53RZPV.js → tax-region-province-create-OVLIZPNP.js} +4 -4
- package/dist/{tax-region-province-detail-7ERAOT3Y.js → tax-region-province-detail-EY77MY5Q.js} +35 -34
- package/dist/{tax-region-tax-override-create-TIPPPVTR.js → tax-region-tax-override-create-RJSVKZGY.js} +41 -39
- package/dist/{tax-region-tax-override-edit-HDQ4NS5I.js → tax-region-tax-override-edit-2UZSGMS2.js} +41 -39
- package/dist/{tax-region-tax-rate-create-4MTXOD2Z.js → tax-region-tax-rate-create-KDN6G52Y.js} +5 -5
- package/dist/{tax-region-tax-rate-edit-VUIEX4DT.js → tax-region-tax-rate-edit-D4BFDDJ7.js} +5 -5
- package/dist/{user-detail-C7ZG3JWC.js → user-detail-3KQDH6LZ.js} +4 -4
- package/dist/{user-edit-LSWGYWV3.js → user-edit-MXS2DV37.js} +3 -3
- package/dist/{user-invite-XYAU2UIS.js → user-invite-CTH3YNUV.js} +3 -3
- package/dist/{user-list-YXRP4JU5.js → user-list-2766SCTA.js} +3 -3
- package/dist/{user-metadata-JGCXU4OO.js → user-metadata-4FOEUIG2.js} +34 -33
- package/package.json +5 -5
- package/dist/attribute-list-C5NS26AD.js +0 -63
- package/dist/customer-group-list-GCEKCBUE.js +0 -58
- package/dist/inventory-create-MFCGCJFB.js +0 -57
- package/dist/location-list-AVCPUKBH.js +0 -54
- package/dist/location-service-zone-shipping-option-create-DREWJ7SR.js +0 -58
- package/dist/price-list-create-SJBCYSRX.js +0 -76
- package/dist/price-list-prices-add-BLORGT25.js +0 -71
- package/dist/product-create-KEJB3U44.js +0 -70
- package/dist/product-create-variant-YZODW67L.js +0 -55
- package/dist/promotion-create-CPRWDBDW.js +0 -55
- package/dist/sales-channel-list-JOSLAWUO.js +0 -51
- package/dist/shipping-option-type-list-5A676BZT.js +0 -61
- package/dist/store-member-invite-GAWCXSWL.js +0 -338
- package/dist/tax-region-detail-AZVNX4QN.js +0 -69
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
productsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5CK6XEFV.js";
|
|
4
4
|
import {
|
|
5
5
|
queryClient
|
|
6
6
|
} from "./chunk-RHKRREUU.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-ZA2KFUFR.js";
|
|
10
10
|
import {
|
|
11
11
|
sdk
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZBWL72TB.js";
|
|
13
13
|
|
|
14
14
|
// src/hooks/api/sales-channels.tsx
|
|
15
15
|
import {
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-XFR5JLNF.js";
|
|
6
6
|
import {
|
|
7
7
|
UserLink
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-C4JUURO5.js";
|
|
9
9
|
import {
|
|
10
10
|
SingleColumnPage
|
|
11
11
|
} from "./chunk-XIZLPYEE.js";
|
|
@@ -33,13 +33,13 @@ import {
|
|
|
33
33
|
useBatchRemoveSalesChannelsFromApiKey,
|
|
34
34
|
useDeleteApiKey,
|
|
35
35
|
useRevokeApiKey
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-YKDEE7ZL.js";
|
|
37
37
|
import {
|
|
38
38
|
useUser
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-GKGLVDDV.js";
|
|
40
40
|
import {
|
|
41
41
|
useSalesChannels
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-DL2ZIXBO.js";
|
|
43
43
|
|
|
44
44
|
// src/pages/api-key-management/api-key-management-detail/api-key-management-detail.tsx
|
|
45
45
|
import { Children } from "react";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
useDeleteReturnReason,
|
|
6
6
|
useReturnReasons
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2FGRDEAD.js";
|
|
8
8
|
import {
|
|
9
9
|
_DataTable,
|
|
10
10
|
useDataTable
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-BDGZ4EQO.js";
|
|
18
18
|
import {
|
|
19
19
|
useReturnReasonTableQuery
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FQFW3DUZ.js";
|
|
21
21
|
|
|
22
22
|
// src/pages/return-reasons/return-reason-list/return-reason-list.tsx
|
|
23
23
|
import { Children } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeletePriceListAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JCSPXBS3.js";
|
|
4
4
|
import {
|
|
5
5
|
getPriceListStatus
|
|
6
6
|
} from "./chunk-U5MJIHLY.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-THHRRYRS.js";
|
|
27
27
|
import {
|
|
28
28
|
usePriceLists
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-DBNPVU3L.js";
|
|
30
30
|
|
|
31
31
|
// src/pages/price-lists/price-list-list/price-list-list.tsx
|
|
32
32
|
import { Children as Children3 } from "react";
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
usePromotionRuleAttributes,
|
|
15
15
|
usePromotionRules
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ZN7LWXVC.js";
|
|
17
17
|
import {
|
|
18
18
|
useStore
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FXWKGNRV.js";
|
|
20
20
|
import {
|
|
21
21
|
sdk
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ZBWL72TB.js";
|
|
23
23
|
|
|
24
24
|
// src/pages/promotions/common/edit-rules/components/rules-form-field/rules-form-field.tsx
|
|
25
25
|
import { forwardRef, Fragment, useEffect as useEffect2, useRef } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pricePreferencesQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VDKOJ5WD.js";
|
|
4
4
|
import {
|
|
5
5
|
queryClient
|
|
6
6
|
} from "./chunk-RHKRREUU.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-ZA2KFUFR.js";
|
|
10
10
|
import {
|
|
11
11
|
sdk
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZBWL72TB.js";
|
|
13
13
|
|
|
14
14
|
// src/hooks/api/regions.tsx
|
|
15
15
|
import {
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
useCombinedRefs,
|
|
13
13
|
useDataGridCell,
|
|
14
14
|
useDataGridCellError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-72Q2T2FK.js";
|
|
16
16
|
import {
|
|
17
17
|
currencies
|
|
18
18
|
} from "./chunk-IQPN4PZJ.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-U2ZFCAPX.js";
|
|
25
25
|
import {
|
|
26
26
|
StackedFocusModal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-FWJLS7XD.js";
|
|
28
28
|
import {
|
|
29
29
|
Form
|
|
30
30
|
} from "./chunk-3QSRE5LS.js";
|
|
@@ -1,6 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
require_dist
|
|
3
|
+
} from "./chunk-ZZO3INVE.js";
|
|
1
4
|
import {
|
|
2
5
|
useQueryParams
|
|
3
6
|
} from "./chunk-THHRRYRS.js";
|
|
7
|
+
import {
|
|
8
|
+
__toESM
|
|
9
|
+
} from "./chunk-NBMM2TZK.js";
|
|
4
10
|
|
|
5
11
|
// src/hooks/table/query/use-collection-table-query.tsx
|
|
6
12
|
var useCollectionTableQuery = ({
|
|
@@ -145,6 +151,12 @@ var useShippingOptionTableQuery = ({
|
|
|
145
151
|
};
|
|
146
152
|
|
|
147
153
|
// src/hooks/table/query/use-sellers-table-query.tsx
|
|
154
|
+
var import_types = __toESM(require_dist(), 1);
|
|
155
|
+
var ACTIVE_STATUSES = [
|
|
156
|
+
import_types.SellerStatus.OPEN,
|
|
157
|
+
import_types.SellerStatus.PENDING_APPROVAL,
|
|
158
|
+
import_types.SellerStatus.SUSPENDED
|
|
159
|
+
];
|
|
148
160
|
var useSellersTableQuery = ({
|
|
149
161
|
prefix,
|
|
150
162
|
pageSize = 20
|
|
@@ -159,7 +171,7 @@ var useSellersTableQuery = ({
|
|
|
159
171
|
offset: offset ? Number(offset) : 0,
|
|
160
172
|
created_at: created_at ? JSON.parse(created_at) : void 0,
|
|
161
173
|
updated_at: updated_at ? JSON.parse(updated_at) : void 0,
|
|
162
|
-
status: status?.split(","),
|
|
174
|
+
status: status?.split(",") ?? ACTIVE_STATUSES,
|
|
163
175
|
is_premium: is_premium ? is_premium === "true" : void 0,
|
|
164
176
|
q,
|
|
165
177
|
order: order ? order : void 0
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
Form
|
|
3
3
|
} from "./chunk-3QSRE5LS.js";
|
|
4
4
|
|
|
5
|
-
// src/components/modals/route-
|
|
6
|
-
import {
|
|
5
|
+
// src/components/modals/route-drawer/route-drawer.tsx
|
|
6
|
+
import { Drawer, clx } from "@medusajs/ui";
|
|
7
7
|
import { useEffect, useState as useState3 } from "react";
|
|
8
8
|
import { useNavigate as useNavigate2 } from "react-router-dom";
|
|
9
9
|
|
|
@@ -130,16 +130,6 @@ var RouteModalProvider = ({
|
|
|
130
130
|
return /* @__PURE__ */ jsx2(RouteModalProviderContext.Provider, { value, children });
|
|
131
131
|
};
|
|
132
132
|
|
|
133
|
-
// src/components/modals/route-modal-provider/use-route-modal.tsx
|
|
134
|
-
import { useContext } from "react";
|
|
135
|
-
var useRouteModal = () => {
|
|
136
|
-
const context = useContext(RouteModalProviderContext);
|
|
137
|
-
if (!context) {
|
|
138
|
-
throw new Error("useRouteModal must be used within a RouteModalProvider");
|
|
139
|
-
}
|
|
140
|
-
return context;
|
|
141
|
-
};
|
|
142
|
-
|
|
143
133
|
// src/components/modals/stacked-modal-provider/stacked-modal-provider.tsx
|
|
144
134
|
import { useState as useState2 } from "react";
|
|
145
135
|
|
|
@@ -192,9 +182,9 @@ var StackedModalProvider = ({
|
|
|
192
182
|
};
|
|
193
183
|
|
|
194
184
|
// src/components/modals/stacked-modal-provider/use-stacked-modal.ts
|
|
195
|
-
import { useContext
|
|
185
|
+
import { useContext } from "react";
|
|
196
186
|
var useStackedModal = () => {
|
|
197
|
-
const context =
|
|
187
|
+
const context = useContext(StackedModalContext);
|
|
198
188
|
if (!context) {
|
|
199
189
|
throw new Error(
|
|
200
190
|
"useStackedModal must be used within a StackedModalProvider"
|
|
@@ -203,13 +193,13 @@ var useStackedModal = () => {
|
|
|
203
193
|
return context;
|
|
204
194
|
};
|
|
205
195
|
|
|
206
|
-
// src/components/modals/route-
|
|
196
|
+
// src/components/modals/route-drawer/route-drawer.tsx
|
|
207
197
|
import { jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
208
198
|
var Root = ({ prev = "..", children }) => {
|
|
209
199
|
const navigate = useNavigate2();
|
|
210
200
|
const [open, setOpen] = useState3(false);
|
|
211
201
|
const [stackedModalOpen, onStackedModalOpen] = useState3(false);
|
|
212
|
-
const to =
|
|
202
|
+
const to = useStateAwareTo(prev);
|
|
213
203
|
useEffect(() => {
|
|
214
204
|
setOpen(true);
|
|
215
205
|
return () => {
|
|
@@ -220,44 +210,33 @@ var Root = ({ prev = "..", children }) => {
|
|
|
220
210
|
const handleOpenChange = (open2) => {
|
|
221
211
|
if (!open2) {
|
|
222
212
|
document.body.style.pointerEvents = "auto";
|
|
223
|
-
|
|
224
|
-
navigate(to);
|
|
225
|
-
} else {
|
|
226
|
-
navigate(to, { replace: true });
|
|
227
|
-
}
|
|
213
|
+
navigate(to, { replace: true });
|
|
228
214
|
return;
|
|
229
215
|
}
|
|
230
216
|
setOpen(open2);
|
|
231
217
|
};
|
|
232
|
-
return /* @__PURE__ */ jsx4(
|
|
233
|
-
|
|
234
|
-
var Content = ({ stackedModalOpen, children }) => {
|
|
235
|
-
const { __internal } = useRouteModal();
|
|
236
|
-
const shouldPreventClose = !__internal.closeOnEscape;
|
|
237
|
-
return /* @__PURE__ */ jsxs2(
|
|
238
|
-
FocusModal.Content,
|
|
218
|
+
return /* @__PURE__ */ jsx4(Drawer, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsx4(RouteModalProvider, { prev: to, children: /* @__PURE__ */ jsx4(StackedModalProvider, { onOpenChange: onStackedModalOpen, children: /* @__PURE__ */ jsxs2(
|
|
219
|
+
Drawer.Content,
|
|
239
220
|
{
|
|
240
|
-
|
|
241
|
-
e.preventDefault();
|
|
242
|
-
} : void 0,
|
|
221
|
+
"aria-describedby": void 0,
|
|
243
222
|
className: clx({
|
|
244
|
-
"!bg-ui-bg-disabled !inset-
|
|
223
|
+
"!bg-ui-bg-disabled !inset-y-5 !right-5": stackedModalOpen
|
|
245
224
|
}),
|
|
246
225
|
children: [
|
|
247
|
-
/* @__PURE__ */ jsx4(
|
|
226
|
+
/* @__PURE__ */ jsx4(Drawer.Title, { className: "sr-only" }),
|
|
248
227
|
children
|
|
249
228
|
]
|
|
250
229
|
}
|
|
251
|
-
);
|
|
230
|
+
) }) }) });
|
|
252
231
|
};
|
|
253
|
-
var Header =
|
|
254
|
-
var Title =
|
|
255
|
-
var Description =
|
|
256
|
-
var
|
|
257
|
-
var
|
|
258
|
-
var Close =
|
|
232
|
+
var Header = Drawer.Header;
|
|
233
|
+
var Title = Drawer.Title;
|
|
234
|
+
var Description = Drawer.Description;
|
|
235
|
+
var Body = Drawer.Body;
|
|
236
|
+
var Footer = Drawer.Footer;
|
|
237
|
+
var Close = Drawer.Close;
|
|
259
238
|
var Form2 = RouteModalForm;
|
|
260
|
-
var
|
|
239
|
+
var RouteDrawer = Object.assign(Root, {
|
|
261
240
|
Header,
|
|
262
241
|
Title,
|
|
263
242
|
Body,
|
|
@@ -267,16 +246,28 @@ var RouteFocusModal = Object.assign(Root, {
|
|
|
267
246
|
Form: Form2
|
|
268
247
|
});
|
|
269
248
|
|
|
270
|
-
// src/components/modals/route-
|
|
271
|
-
import {
|
|
249
|
+
// src/components/modals/route-focus-modal/route-focus-modal.tsx
|
|
250
|
+
import { FocusModal, clx as clx2 } from "@medusajs/ui";
|
|
272
251
|
import { useEffect as useEffect2, useState as useState4 } from "react";
|
|
273
252
|
import { useNavigate as useNavigate3 } from "react-router-dom";
|
|
253
|
+
|
|
254
|
+
// src/components/modals/route-modal-provider/use-route-modal.tsx
|
|
255
|
+
import { useContext as useContext2 } from "react";
|
|
256
|
+
var useRouteModal = () => {
|
|
257
|
+
const context = useContext2(RouteModalProviderContext);
|
|
258
|
+
if (!context) {
|
|
259
|
+
throw new Error("useRouteModal must be used within a RouteModalProvider");
|
|
260
|
+
}
|
|
261
|
+
return context;
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
// src/components/modals/route-focus-modal/route-focus-modal.tsx
|
|
274
265
|
import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
275
266
|
var Root2 = ({ prev = "..", children }) => {
|
|
276
267
|
const navigate = useNavigate3();
|
|
277
268
|
const [open, setOpen] = useState4(false);
|
|
278
269
|
const [stackedModalOpen, onStackedModalOpen] = useState4(false);
|
|
279
|
-
const to = useStateAwareTo(prev);
|
|
270
|
+
const to = typeof prev === "number" ? prev : useStateAwareTo(prev);
|
|
280
271
|
useEffect2(() => {
|
|
281
272
|
setOpen(true);
|
|
282
273
|
return () => {
|
|
@@ -287,33 +278,44 @@ var Root2 = ({ prev = "..", children }) => {
|
|
|
287
278
|
const handleOpenChange = (open2) => {
|
|
288
279
|
if (!open2) {
|
|
289
280
|
document.body.style.pointerEvents = "auto";
|
|
290
|
-
|
|
281
|
+
if (typeof to === "number") {
|
|
282
|
+
navigate(to);
|
|
283
|
+
} else {
|
|
284
|
+
navigate(to, { replace: true });
|
|
285
|
+
}
|
|
291
286
|
return;
|
|
292
287
|
}
|
|
293
288
|
setOpen(open2);
|
|
294
289
|
};
|
|
295
|
-
return /* @__PURE__ */ jsx5(
|
|
296
|
-
|
|
290
|
+
return /* @__PURE__ */ jsx5(FocusModal, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsx5(RouteModalProvider, { prev: to, children: /* @__PURE__ */ jsx5(StackedModalProvider, { onOpenChange: onStackedModalOpen, children: /* @__PURE__ */ jsx5(Content, { stackedModalOpen, children }) }) }) });
|
|
291
|
+
};
|
|
292
|
+
var Content = ({ stackedModalOpen, children }) => {
|
|
293
|
+
const { __internal } = useRouteModal();
|
|
294
|
+
const shouldPreventClose = !__internal.closeOnEscape;
|
|
295
|
+
return /* @__PURE__ */ jsxs3(
|
|
296
|
+
FocusModal.Content,
|
|
297
297
|
{
|
|
298
|
-
|
|
298
|
+
onEscapeKeyDown: shouldPreventClose ? (e) => {
|
|
299
|
+
e.preventDefault();
|
|
300
|
+
} : void 0,
|
|
299
301
|
className: clx2({
|
|
300
|
-
"!bg-ui-bg-disabled !inset-
|
|
302
|
+
"!bg-ui-bg-disabled !inset-x-5 !inset-y-3": stackedModalOpen
|
|
301
303
|
}),
|
|
302
304
|
children: [
|
|
303
|
-
/* @__PURE__ */ jsx5(
|
|
305
|
+
/* @__PURE__ */ jsx5(FocusModal.Title, { className: "sr-only" }),
|
|
304
306
|
children
|
|
305
307
|
]
|
|
306
308
|
}
|
|
307
|
-
)
|
|
309
|
+
);
|
|
308
310
|
};
|
|
309
|
-
var Header2 =
|
|
310
|
-
var Title2 =
|
|
311
|
-
var Description2 =
|
|
312
|
-
var
|
|
313
|
-
var
|
|
314
|
-
var Close2 =
|
|
311
|
+
var Header2 = FocusModal.Header;
|
|
312
|
+
var Title2 = FocusModal.Title;
|
|
313
|
+
var Description2 = FocusModal.Description;
|
|
314
|
+
var Footer2 = FocusModal.Footer;
|
|
315
|
+
var Body2 = FocusModal.Body;
|
|
316
|
+
var Close2 = FocusModal.Close;
|
|
315
317
|
var Form3 = RouteModalForm;
|
|
316
|
-
var
|
|
318
|
+
var RouteFocusModal = Object.assign(Root2, {
|
|
317
319
|
Header: Header2,
|
|
318
320
|
Title: Title2,
|
|
319
321
|
Body: Body2,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pricePreferencesQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VDKOJ5WD.js";
|
|
4
4
|
import {
|
|
5
5
|
queryClient
|
|
6
6
|
} from "./chunk-RHKRREUU.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-ZA2KFUFR.js";
|
|
10
10
|
import {
|
|
11
11
|
sdk
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ZBWL72TB.js";
|
|
13
13
|
|
|
14
14
|
// src/hooks/api/store.tsx
|
|
15
15
|
import { ClientError } from "@mercurjs/client";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
returnsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OQMBWJPH.js";
|
|
4
4
|
import {
|
|
5
5
|
ordersQueryKeys
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TAKEQAZZ.js";
|
|
7
7
|
import {
|
|
8
8
|
queryClient
|
|
9
9
|
} from "./chunk-RHKRREUU.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-ZA2KFUFR.js";
|
|
13
13
|
import {
|
|
14
14
|
sdk
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZBWL72TB.js";
|
|
16
16
|
|
|
17
17
|
// src/hooks/api/claims.tsx
|
|
18
18
|
import {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeleteProductTagAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WRRMBJBQ.js";
|
|
4
4
|
import {
|
|
5
5
|
useProductTableColumns
|
|
6
6
|
} from "./chunk-Z5I2Z6L3.js";
|
|
@@ -19,16 +19,16 @@ import {
|
|
|
19
19
|
} from "./chunk-BDGZ4EQO.js";
|
|
20
20
|
import {
|
|
21
21
|
useProductTableFilters
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-SUQJGDPA.js";
|
|
23
23
|
import {
|
|
24
24
|
useProductTableQuery
|
|
25
25
|
} from "./chunk-VVWB3GIK.js";
|
|
26
26
|
import {
|
|
27
27
|
useProductTag
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-PBQ5M44A.js";
|
|
29
29
|
import {
|
|
30
30
|
useProducts
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-5CK6XEFV.js";
|
|
32
32
|
|
|
33
33
|
// src/pages/product-tags/product-tag-detail/product-tag-detail.tsx
|
|
34
34
|
import { Children } from "react";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
useCustomerGroups,
|
|
22
22
|
useDeleteCustomerGroupLazy
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PRBE5CM3.js";
|
|
24
24
|
|
|
25
25
|
// src/pages/customer-groups/customer-group-list/customer-group-list.tsx
|
|
26
26
|
import { Children as Children2 } from "react";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-BDGZ4EQO.js";
|
|
23
23
|
import {
|
|
24
24
|
useOrderTableFilters
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-VIGX66F7.js";
|
|
26
26
|
import {
|
|
27
27
|
useCustomerGroupTableFilters
|
|
28
28
|
} from "./chunk-CMHI2RPL.js";
|
|
@@ -39,10 +39,10 @@ import {
|
|
|
39
39
|
useDeleteCustomer,
|
|
40
40
|
useDeleteCustomerAddress,
|
|
41
41
|
useRemoveCustomersFromGroup
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-PRBE5CM3.js";
|
|
43
43
|
import {
|
|
44
44
|
useOrders
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-TAKEQAZZ.js";
|
|
46
46
|
|
|
47
47
|
// src/pages/customers/customer-detail/customer-detail.tsx
|
|
48
48
|
import { Children } from "react";
|
|
@@ -15,13 +15,13 @@ import {
|
|
|
15
15
|
} from "./chunk-BDGZ4EQO.js";
|
|
16
16
|
import {
|
|
17
17
|
useReservationItem
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-B6FG7A6W.js";
|
|
19
19
|
import {
|
|
20
20
|
useStockLocation
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-EPHVGD5Z.js";
|
|
22
22
|
import {
|
|
23
23
|
useInventoryItem
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5CK6XEFV.js";
|
|
25
25
|
|
|
26
26
|
// src/pages/reservations/reservation-detail/reservation-detail.tsx
|
|
27
27
|
import { Children } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePromotionTableColumns,
|
|
3
3
|
usePromotionTableQuery
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-X2X7M3B6.js";
|
|
5
5
|
import {
|
|
6
6
|
DateRangeDisplay
|
|
7
7
|
} from "./chunk-RK5N3XIX.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
useCampaign,
|
|
30
30
|
useDeleteCampaign,
|
|
31
31
|
usePromotions
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ZN7LWXVC.js";
|
|
33
33
|
|
|
34
34
|
// src/pages/campaigns/campaign-detail/campaign-detail.tsx
|
|
35
35
|
import { Children } from "react";
|
|
@@ -22,39 +22,39 @@ import {
|
|
|
22
22
|
} from "./chunk-ULJ3OMWU.js";
|
|
23
23
|
import {
|
|
24
24
|
useShippingOptionTableFilters
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-KOURHC2N.js";
|
|
26
26
|
import {
|
|
27
27
|
useProductTypeTableFilters
|
|
28
28
|
} from "./chunk-2ZFELO2L.js";
|
|
29
29
|
import {
|
|
30
30
|
useShippingOptionTableQuery
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-FQFW3DUZ.js";
|
|
32
32
|
import {
|
|
33
33
|
useProductTypeTableQuery
|
|
34
34
|
} from "./chunk-VOHEQ7B5.js";
|
|
35
35
|
import {
|
|
36
36
|
useProductTableFilters
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-SUQJGDPA.js";
|
|
38
38
|
import {
|
|
39
39
|
useProductTableQuery
|
|
40
40
|
} from "./chunk-VVWB3GIK.js";
|
|
41
41
|
import {
|
|
42
42
|
StackedDrawer,
|
|
43
43
|
StackedFocusModal
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-FWJLS7XD.js";
|
|
45
45
|
import {
|
|
46
46
|
useProductTypes
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-46M463BR.js";
|
|
48
48
|
import {
|
|
49
49
|
useShippingOptions
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-5TRY5IMZ.js";
|
|
51
51
|
import {
|
|
52
52
|
useStockLocations
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-EPHVGD5Z.js";
|
|
54
54
|
import {
|
|
55
55
|
useProduct,
|
|
56
56
|
useProducts
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-5CK6XEFV.js";
|
|
58
58
|
|
|
59
59
|
// src/pages/tax-regions/common/components/target-form/target-form.tsx
|
|
60
60
|
import { Button, Checkbox } from "@medusajs/ui";
|