@mercurjs/admin 2.3.6-canary.8 → 2.3.6
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-LGCLOFOD.js → add-campaign-promotions-HHMISUZB.js} +7 -7
- package/dist/{adjust-inventory-H46YCNLT.js → adjust-inventory-D26HHGKH.js} +32 -32
- package/dist/{api-key-management-create-TFG4TLGM.js → api-key-management-create-3ALUTZCX.js} +4 -4
- package/dist/{api-key-management-detail-Z4KSJHUC.js → api-key-management-detail-HNC43TZY.js} +34 -34
- package/dist/{api-key-management-edit-XUZJEML7.js → api-key-management-edit-GXFOY632.js} +4 -4
- package/dist/{api-key-management-list-QZIRPINF.js → api-key-management-list-D3W4HEBM.js} +5 -5
- package/dist/{api-key-management-sales-channels-RGZ3QITG.js → api-key-management-sales-channels-BVF5DIUU.js} +4 -4
- package/dist/{attribute-create-OFTZRQCO.js → attribute-create-OYSJIWSD.js} +35 -35
- package/dist/{attribute-create-possible-value-OKGWRSNJ.js → attribute-create-possible-value-CD4P35HF.js} +2 -2
- package/dist/{attribute-detail-WVN5KOH2.js → attribute-detail-4B2P7UFG.js} +33 -33
- package/dist/{attribute-edit-KYK4KJYP.js → attribute-edit-JFYEZ3MP.js} +4 -4
- package/dist/{attribute-edit-possible-value-OOHDX7XL.js → attribute-edit-possible-value-7FN2TK7Z.js} +4 -4
- package/dist/{attribute-edit-ranking-SF7XSICV.js → attribute-edit-ranking-COUMVKE2.js} +2 -2
- package/dist/attribute-list-TZH5MVDT.js +61 -0
- package/dist/{breadcrumb-KOE4ZWGU.js → breadcrumb-3BIIWMAF.js} +2 -2
- package/dist/{breadcrumb-TCQDZXGC.js → breadcrumb-TDHU2ZGQ.js} +2 -2
- package/dist/{campaign-budget-edit-EBFDQ6OX.js → campaign-budget-edit-RFBJZQ27.js} +2 -2
- package/dist/{campaign-configuration-H6SKZFDS.js → campaign-configuration-EAG7IFOW.js} +2 -2
- package/dist/{campaign-create-FEEKJCUE.js → campaign-create-AJ7MTML5.js} +6 -6
- package/dist/{campaign-detail-MGDL2TQC.js → campaign-detail-W57XZ472.js} +37 -37
- package/dist/{campaign-edit-2WJ7V2EY.js → campaign-edit-QQBMPIX2.js} +2 -2
- package/dist/{campaign-list-XCO4FJDZ.js → campaign-list-QVXUWMO5.js} +4 -4
- package/dist/{categories-metadata-QYH5U77W.js → categories-metadata-2PUEPCPF.js} +32 -32
- package/dist/{category-create-7RFRKVKF.js → category-create-6DWKOHGB.js} +5 -5
- package/dist/{category-detail-FAP76OQB.js → category-detail-T27AGZ6B.js} +39 -39
- package/dist/{category-edit-3KXRPXXJ.js → category-edit-WGTO6IO3.js} +3 -3
- package/dist/{category-icon-edit-KUCL7KEJ.js → category-icon-edit-RCM5WED6.js} +4 -4
- package/dist/{category-list-XDOYTQ4X.js → category-list-F6ZFHTGZ.js} +6 -6
- package/dist/{category-media-IOA2VNMI.js → category-media-R75BACJD.js} +4 -4
- package/dist/{category-organize-KQ7UWVAJ.js → category-organize-LIDQGJGG.js} +3 -3
- package/dist/{category-products-35ZZYVWJ.js → category-products-UE5Y3VG3.js} +36 -36
- package/dist/{chunk-JFRYC6GK.js → chunk-22WJ7M7K.js} +2 -2
- package/dist/{chunk-DBGBLXBS.js → chunk-2FX4JEC4.js} +1 -1
- package/dist/{chunk-QWT3GCLC.js → chunk-2HJEBOO3.js} +3 -3
- package/dist/{chunk-CMVQ5SAG.js → chunk-2HOFTJR2.js} +1 -1
- package/dist/{chunk-UNS2F7DK.js → chunk-2NSVAEDY.js} +1 -1
- package/dist/{chunk-DTGEFKK4.js → chunk-2XILHHZO.js} +37 -3
- package/dist/{chunk-OQ2J45XW.js → chunk-37XW63IZ.js} +1 -1
- package/dist/{chunk-JW4YZDH6.js → chunk-3FCY4BUR.js} +1 -1
- package/dist/{chunk-6Q2JZ5YN.js → chunk-3RIQBCYW.js} +1 -1
- package/dist/{chunk-JS2DAWKO.js → chunk-3Y6U6VCK.js} +2 -2
- package/dist/{chunk-MNKJHZZT.js → chunk-46WZTQ36.js} +1 -1
- package/dist/{chunk-GQGCXLVP.js → chunk-4CGY6T44.js} +5 -5
- package/dist/{chunk-54SYWPLY.js → chunk-4N3ODWOR.js} +1 -1
- package/dist/{chunk-3BJVQXHQ.js → chunk-5MXEKSK4.js} +1 -1
- package/dist/{chunk-RAD3UMQ3.js → chunk-5R457J2W.js} +4 -4
- package/dist/{chunk-WPX74IOA.js → chunk-5Z35DKBQ.js} +1 -1
- package/dist/{chunk-USO2SWZV.js → chunk-66L2TV2T.js} +4 -4
- package/dist/{chunk-E43YJQ2B.js → chunk-6A4PFRRO.js} +7 -7
- package/dist/{chunk-H3TOETGJ.js → chunk-6BX43GXE.js} +4 -4
- package/dist/{chunk-5K4WEF2N.js → chunk-6HHWBWQS.js} +3 -3
- package/dist/{chunk-VACZ4ZLQ.js → chunk-6KVBBCYC.js} +4 -4
- package/dist/{chunk-HPMMGA5B.js → chunk-7CGMFCSU.js} +1 -1
- package/dist/{chunk-JC2FFAMW.js → chunk-7NXOLMSS.js} +2 -2
- package/dist/{chunk-5QW3GY37.js → chunk-A7CLACER.js} +3 -3
- package/dist/{chunk-AW4RL2SA.js → chunk-AAVL5MJC.js} +6 -6
- package/dist/{chunk-AZV22U4V.js → chunk-AB4Q6WRZ.js} +1 -1
- package/dist/{chunk-SZSAJHN7.js → chunk-AHRICJVV.js} +3 -3
- package/dist/{chunk-TW7BMUFE.js → chunk-AKB5DGMK.js} +2 -2
- package/dist/{chunk-WD5XBWAN.js → chunk-AMRK755L.js} +10 -10
- package/dist/{chunk-YUKJJHI7.js → chunk-AOCKUTE5.js} +2 -2
- package/dist/{chunk-NN2AWPC7.js → chunk-AQTL34LL.js} +1 -1
- package/dist/{chunk-7LUKMT5J.js → chunk-AR3A6ZV4.js} +2 -2
- package/dist/{chunk-4AOVNA5G.js → chunk-ARJ7WIHQ.js} +4 -4
- package/dist/{chunk-VD2CKAYG.js → chunk-ATZPWIEI.js} +5 -5
- package/dist/{chunk-K6OBX6ZR.js → chunk-AXCRJBUY.js} +4 -4
- package/dist/{chunk-3BKRMIWA.js → chunk-BB4C372O.js} +5 -5
- package/dist/{chunk-EVNTT2M3.js → chunk-BEGO7ZS5.js} +1 -1
- package/dist/{chunk-7OTRTHLL.js → chunk-BIL56N3K.js} +3 -3
- package/dist/{chunk-2HV33DOE.js → chunk-BP35TLCK.js} +1 -1
- package/dist/{chunk-IQRFJO4N.js → chunk-BUNQ5YLD.js} +2 -2
- package/dist/{chunk-3R7N3HV3.js → chunk-CES3573I.js} +1 -1
- package/dist/{chunk-NDS246VB.js → chunk-CGKIYXZ6.js} +6 -6
- package/dist/{chunk-OCDZIJBM.js → chunk-CXZYKHP3.js} +1 -1
- package/dist/{chunk-DWPBJEEM.js → chunk-D2VI737U.js} +2 -2
- package/dist/{chunk-SCLV2T6Z.js → chunk-D2WH4C7A.js} +2 -2
- package/dist/{chunk-E5PC2WDZ.js → chunk-DAAJAV36.js} +1 -1
- package/dist/{chunk-XWOFQSGH.js → chunk-DEEY267U.js} +1 -1
- package/dist/{chunk-HHAM76HD.js → chunk-DL3P6W63.js} +6 -6
- package/dist/{chunk-NJ2NRKAJ.js → chunk-DLMXDPT6.js} +4 -4
- package/dist/{chunk-XI4SB5YZ.js → chunk-DQJV4IVE.js} +98 -35
- package/dist/{chunk-3JN6NCCN.js → chunk-DSH4HYI2.js} +2 -2
- package/dist/{chunk-W5U6NPSN.js → chunk-DU7LGV7G.js} +2 -2
- package/dist/{chunk-Y7ENTINK.js → chunk-EBAFVGM3.js} +1 -1
- package/dist/{chunk-473QGQSA.js → chunk-EHNOBH5I.js} +2 -2
- package/dist/{chunk-YN4KTMRA.js → chunk-EP5CUH4C.js} +5 -5
- package/dist/{chunk-VPUTUJQG.js → chunk-ESRIX7ZH.js} +1454 -1411
- package/dist/{chunk-25TWJMWE.js → chunk-EZIUJWDF.js} +4 -4
- package/dist/{chunk-23CSVCQK.js → chunk-F6OU2QCY.js} +4 -4
- package/dist/{chunk-S7TEUVP7.js → chunk-F7VUPDXV.js} +2 -2
- package/dist/{chunk-DGRHDZQO.js → chunk-FB2PJHN5.js} +2 -2
- package/dist/{chunk-2MOTQNEG.js → chunk-FCM3KNF4.js} +1 -1
- package/dist/{chunk-EHLCUND7.js → chunk-FCV5FSUM.js} +3 -3
- package/dist/{chunk-ALJIXUKL.js → chunk-FFX43PNV.js} +2 -2
- package/dist/{chunk-I3RGMOTM.js → chunk-FHZ6TGFK.js} +5 -5
- package/dist/{chunk-26REB3B6.js → chunk-FMVX2NNF.js} +1 -1
- package/dist/{chunk-GIV6KSQX.js → chunk-FYLUWJ65.js} +3 -3
- package/dist/{chunk-Z476HUMI.js → chunk-G6EQOO45.js} +1 -1
- package/dist/{chunk-EIPTLSNT.js → chunk-GAZEPNOV.js} +1 -1
- package/dist/{chunk-XNGTE2VC.js → chunk-GMJLK3IK.js} +2 -2
- package/dist/{chunk-GQYB3OOC.js → chunk-GOHCQWAJ.js} +11 -11
- package/dist/{chunk-PDPCFFFH.js → chunk-H2SE3EHA.js} +1 -1
- package/dist/{chunk-56XMCNDS.js → chunk-HDZAXTTU.js} +3 -3
- package/dist/{chunk-FCAJQFYT.js → chunk-HHJDAVVR.js} +4 -4
- package/dist/{chunk-JW5SGRFC.js → chunk-HPYBEU4R.js} +1 -1
- package/dist/{chunk-ZQZFY3UY.js → chunk-HXHUCDFL.js} +5 -5
- package/dist/{chunk-LCUAIH7P.js → chunk-HZ4ADOD4.js} +2 -2
- package/dist/{chunk-2SCR7R3C.js → chunk-I2EYFPSO.js} +2 -2
- package/dist/{chunk-DYCCRR7B.js → chunk-I7O5S3UF.js} +1 -1
- package/dist/{chunk-Q2XWHI6K.js → chunk-IBEAUZBX.js} +2 -2
- package/dist/{chunk-OFW63WXL.js → chunk-ICCSGMYB.js} +1 -1
- package/dist/{chunk-ARD6JGZB.js → chunk-IDCWNK6N.js} +2 -2
- package/dist/{chunk-XUOGIKEE.js → chunk-ITDTXNYW.js} +5 -5
- package/dist/{chunk-YMMREB3P.js → chunk-IUFXXCV6.js} +1 -1
- package/dist/{chunk-YDESULL7.js → chunk-IYJWFL7Z.js} +1 -1
- package/dist/{chunk-G63BL5AB.js → chunk-J7FYKWJU.js} +1 -1
- package/dist/{chunk-KB3BTLIB.js → chunk-JY3NXQZQ.js} +1 -1
- package/dist/{chunk-4J4JAXXQ.js → chunk-K6WZ5WW5.js} +5 -5
- package/dist/{chunk-KTE5QGW6.js → chunk-KJCBJKYC.js} +3 -3
- package/dist/{chunk-BOPIWKTU.js → chunk-L3QJV3A2.js} +1 -1
- package/dist/{chunk-FHZHKIWI.js → chunk-LDLZJB4B.js} +1 -1
- package/dist/{chunk-2HTCCPOG.js → chunk-LQORKOPK.js} +1 -1
- package/dist/{chunk-4JQDYQSX.js → chunk-LUFKMNHC.js} +2 -2
- package/dist/{chunk-AUCCE46Q.js → chunk-LX5B35Y5.js} +1 -1
- package/dist/{chunk-GZUXEIEB.js → chunk-MBSBOJFI.js} +2 -2
- package/dist/{chunk-BGI4CCBX.js → chunk-MBWL6DDG.js} +2 -2
- package/dist/{chunk-AEBQQ2EG.js → chunk-MD27DYVZ.js} +1 -1
- package/dist/{chunk-UKQ6FES4.js → chunk-MR4OPIJG.js} +2 -2
- package/dist/{chunk-TPWSE5HE.js → chunk-MXMLUPAQ.js} +2 -2
- package/dist/{chunk-VOTOLN64.js → chunk-N4G3RFLY.js} +1 -1
- package/dist/{chunk-SQ7J4KTS.js → chunk-NAUPLWEC.js} +2 -2
- package/dist/{chunk-7GCMYYFL.js → chunk-NIOVQSKK.js} +2 -2
- package/dist/{chunk-DUKOOIQD.js → chunk-NJAKCRO2.js} +1 -1
- package/dist/{chunk-NHZU2M7Z.js → chunk-NRR55ZC2.js} +5 -5
- package/dist/{chunk-2IOADJUM.js → chunk-O4P7LFSP.js} +8 -8
- package/dist/{chunk-RUGB47D3.js → chunk-O5W5DCKH.js} +1 -1
- package/dist/{chunk-USY2322P.js → chunk-O7MEMWAX.js} +1 -1
- package/dist/{chunk-4W77EUYY.js → chunk-OIMNVZDF.js} +2 -2
- package/dist/{chunk-VHO6ZXW2.js → chunk-OIWWUZDL.js} +5 -5
- package/dist/{chunk-KMSBY4PU.js → chunk-ONTZADVX.js} +1 -1
- package/dist/{chunk-PC2EI2BG.js → chunk-OWSAXYGH.js} +1 -1
- package/dist/{chunk-72DFLNNI.js → chunk-PCV2JPWV.js} +3 -3
- package/dist/{chunk-LHE6LM6S.js → chunk-PG5CKQX6.js} +2 -2
- package/dist/{chunk-TXZWIFWX.js → chunk-PGOJH3NS.js} +39 -39
- package/dist/{chunk-64NQD2DN.js → chunk-PIDI676T.js} +3 -3
- package/dist/{chunk-ZU76OTV3.js → chunk-PQJ2KGLD.js} +5 -4
- package/dist/{chunk-5OIFUF7R.js → chunk-QE36PNTV.js} +1 -1
- package/dist/{chunk-ASFCRSBA.js → chunk-QIVLNFSH.js} +2 -2
- package/dist/{chunk-H4TJZB26.js → chunk-R7LXMTIT.js} +4 -4
- package/dist/{chunk-HRMANL53.js → chunk-RP3J3X7P.js} +1 -1
- package/dist/{chunk-I4WBDDWN.js → chunk-RVJ7GKRQ.js} +2 -2
- package/dist/{chunk-OGTWBHJC.js → chunk-TAMCKVYB.js} +2 -2
- package/dist/{chunk-VX37IW2B.js → chunk-TNDTBX2Q.js} +3 -3
- package/dist/{chunk-W3LCOK3O.js → chunk-TSPBHN3G.js} +1 -1
- package/dist/{chunk-SW46WBFA.js → chunk-TSYSLFEE.js} +5 -5
- package/dist/{chunk-GNNOFJAK.js → chunk-U4FPQ62Q.js} +1 -1
- package/dist/{chunk-KYOZ4CCY.js → chunk-U57QUIXU.js} +6 -6
- package/dist/{chunk-3DFVU5HR.js → chunk-UA6LFWNU.js} +3 -3
- package/dist/{chunk-2XBNM6TM.js → chunk-UBXLQLCL.js} +1 -1
- package/dist/{chunk-YWMY2I7B.js → chunk-VGV7NE5T.js} +1 -1
- package/dist/{chunk-R55XYG6Y.js → chunk-VPHZJ4UM.js} +5 -5
- package/dist/{chunk-DVFILGNQ.js → chunk-W76OQ4UW.js} +5 -5
- package/dist/{chunk-ZPJOSHV7.js → chunk-W7TEZYU7.js} +3 -3
- package/dist/{chunk-OS6DZEKB.js → chunk-WCT4XA4Z.js} +1 -1
- package/dist/{chunk-H5E3CGD7.js → chunk-WDIFZQLC.js} +1 -1
- package/dist/{chunk-WSK532ZA.js → chunk-WQFQQK24.js} +81 -49
- package/dist/{chunk-FTXH5ROQ.js → chunk-WVHNOE7Y.js} +1 -1
- package/dist/{chunk-EVYQCNVT.js → chunk-WXZYC4LI.js} +5 -5
- package/dist/{chunk-MAEUKXZ4.js → chunk-X4BU67RQ.js} +2 -2
- package/dist/{chunk-USEE6QNQ.js → chunk-X6NX7BIG.js} +68 -71
- package/dist/{chunk-CX5XB56X.js → chunk-XYTF7A7I.js} +1 -1
- package/dist/{chunk-MFGLOUTZ.js → chunk-XZ2I74IZ.js} +7 -7
- package/dist/{chunk-AQHEU7OA.js → chunk-Y4Q2FSFA.js} +1 -1
- package/dist/{chunk-WW7ULZUY.js → chunk-YA25NFTB.js} +1 -1
- package/dist/{chunk-M7VHCFCW.js → chunk-YIFUH266.js} +4 -4
- package/dist/{chunk-Z2FX5GG4.js → chunk-YQUS4QOS.js} +4 -4
- package/dist/{chunk-MKKOAF2W.js → chunk-Z5OJVX5U.js} +3 -3
- package/dist/{chunk-V3UQOU5W.js → chunk-ZDRFUXWQ.js} +1 -1
- package/dist/{chunk-LXTXP7ZM.js → chunk-ZFHLNBCG.js} +2 -2
- package/dist/{chunk-DSQRFZCO.js → chunk-ZWDKCCPR.js} +6 -10
- package/dist/{collection-add-products-IIBLH7XQ.js → collection-add-products-VNSPLNGL.js} +36 -36
- package/dist/{collection-create-W75VOWNN.js → collection-create-RFPPPM6D.js} +4 -4
- package/dist/{collection-detail-IYZKDR4L.js → collection-detail-2XGAQMMS.js} +38 -38
- package/dist/{collection-edit-HMOZIS7Z.js → collection-edit-J44NDS27.js} +3 -3
- package/dist/{collection-icon-edit-L6VSK4DB.js → collection-icon-edit-LLVCGC34.js} +4 -4
- package/dist/collection-list-D23O4C7N.js +85 -0
- package/dist/{collection-media-PKTR7VDY.js → collection-media-3KBIJYXE.js} +4 -4
- package/dist/{collection-metadata-IKYBHHEU.js → collection-metadata-WAIDRGO4.js} +32 -32
- package/dist/{commission-rule-commission-edit-KLGYDUOC.js → commission-rule-commission-edit-ACIOYCKC.js} +5 -5
- package/dist/{commission-rule-create-QDNXXBTV.js → commission-rule-create-UUBQRDVI.js} +5 -5
- package/dist/{commission-rule-detail-QYJIK375.js → commission-rule-detail-5D557BUZ.js} +8 -8
- package/dist/{commission-rule-edit-HICDPDLK.js → commission-rule-edit-YIZPWHWP.js} +2 -2
- package/dist/{commissions-list-AQUW636T.js → commissions-list-ENJJOKHU.js} +8 -8
- package/dist/{customer-create-46H2N34Z.js → customer-create-N5374DJI.js} +2 -2
- package/dist/{customer-create-address-OGWYC7BZ.js → customer-create-address-L6GM3TT6.js} +2 -2
- package/dist/{customer-detail-TBGKTNQQ.js → customer-detail-DROF3TFM.js} +35 -35
- package/dist/{customer-edit-LDKAXHZ6.js → customer-edit-C2VKS4FH.js} +2 -2
- package/dist/{customer-edit-address-PGWY42QU.js → customer-edit-address-TAOTV7YB.js} +2 -2
- package/dist/{customer-group-add-customers-RWJOA2NJ.js → customer-group-add-customers-BRAX5VEC.js} +3 -3
- package/dist/{customer-group-create-WER6DODC.js → customer-group-create-GB2EV2YG.js} +2 -2
- package/dist/{customer-group-detail-47IPD337.js → customer-group-detail-7SRN7XGR.js} +34 -34
- package/dist/{customer-group-edit-ZQTBUZVR.js → customer-group-edit-3G6BA4K2.js} +2 -2
- package/dist/customer-group-list-3UV4JFIC.js +56 -0
- package/dist/{customer-group-metadata-T3WFBL7U.js → customer-group-metadata-YGQZXDVY.js} +32 -32
- package/dist/{customer-list-JOPTF4QB.js → customer-list-IF5HB6CU.js} +4 -4
- package/dist/{customer-metadata-YSMWL4L3.js → customer-metadata-72NYZNAR.js} +32 -32
- package/dist/{customers-add-customer-group-AVRYBS6Q.js → customers-add-customer-group-7XSK3ZI6.js} +33 -33
- package/dist/{edit-inventory-item-7M7Q6HL4.js → edit-inventory-item-VCSYYUXB.js} +32 -32
- package/dist/{edit-inventory-item-attributes-E7J2WFPF.js → edit-inventory-item-attributes-3ZWTM5UW.js} +32 -32
- package/dist/{edit-reservation-S3QTQRPY.js → edit-reservation-EK6M5JDG.js} +4 -4
- package/dist/{edit-rules-NRF7U4AT.js → edit-rules-FQYZY37X.js} +34 -34
- package/dist/extension-targets.d.ts +25 -0
- package/dist/{global-commission-edit-JEBLF6CT.js → global-commission-edit-JXHJA6R2.js} +5 -5
- package/dist/home-ET6TYEZ5.js +64 -0
- package/dist/index.d.ts +3 -1
- package/dist/index.js +289 -287
- package/dist/{inventory-detail-U6TRGZRY.js → inventory-detail-YMY427YA.js} +33 -33
- package/dist/{inventory-list-JWA7U2LB.js → inventory-list-RNA7PFS5.js} +5 -5
- package/dist/{inventory-metadata-KO622YEI.js → inventory-metadata-T3W4TYRL.js} +32 -32
- package/dist/{inventory-stock-WWXYVFK2.js → inventory-stock-UN5D4LSC.js} +32 -32
- package/dist/{invite-IZ2YTVPF.js → invite-KPF43FX5.js} +3 -3
- package/dist/{loader-G2ECT6LC.js → loader-G5I6BFQA.js} +2 -2
- package/dist/{loader-3VTBJUA2.js → loader-WNM6S7E5.js} +2 -2
- package/dist/{location-create-XCEPUY44.js → location-create-4CM722T4.js} +2 -2
- package/dist/{location-detail-27FBZML7.js → location-detail-CVYFZAUR.js} +33 -33
- package/dist/{location-edit-XRGRJCVB.js → location-edit-LHPULRAA.js} +2 -2
- package/dist/{location-fulfillment-providers-XTYJWAVP.js → location-fulfillment-providers-RI6OE65I.js} +38 -38
- package/dist/location-list-YOIWEJPH.js +53 -0
- package/dist/{location-sales-channels-JB5OIMXE.js → location-sales-channels-KNP6N2SN.js} +4 -4
- package/dist/{location-service-zone-create-JKAKZCZ2.js → location-service-zone-create-Y3QEVCV2.js} +4 -4
- package/dist/{location-service-zone-edit-KFG52K4W.js → location-service-zone-edit-XN3HBBAQ.js} +4 -4
- package/dist/{location-service-zone-manage-areas-K2BMFI5Y.js → location-service-zone-manage-areas-7GT26QCN.js} +4 -4
- package/dist/location-service-zone-shipping-option-create-3Z4YH6UT.js +60 -0
- package/dist/{location-service-zone-shipping-option-edit-I7BJGH76.js → location-service-zone-shipping-option-edit-TID4CJNY.js} +3 -3
- package/dist/{location-service-zone-shipping-option-pricing-47Y3CP4U.js → location-service-zone-shipping-option-pricing-LLBUNXIJ.js} +6 -6
- package/dist/{login-ISNIWXU2.js → login-3ZFTVHBT.js} +32 -32
- package/dist/{manage-locations-5FKFNJQN.js → manage-locations-64B6BK4P.js} +3 -3
- package/dist/{marketplace-add-currencies-34XKWMI7.js → marketplace-add-currencies-2LCP4XJV.js} +4 -4
- package/dist/{marketplace-detail-A76FTENH.js → marketplace-detail-J7GVUZ7T.js} +33 -33
- package/dist/{marketplace-edit-KXKUECZQ.js → marketplace-edit-MOSZHO4A.js} +3 -3
- package/dist/{marketplace-metadata-364KJG43.js → marketplace-metadata-4Z6XHHC3.js} +32 -32
- package/dist/{offer-detail-page-BDDDZSPL.js → offer-detail-page-3H5APJUL.js} +5 -5
- package/dist/{offer-variant-detail-page-HQU4HMZH.js → offer-variant-detail-page-V6MP4SDN.js} +2 -2
- package/dist/{offers-OVX5AAQL.js → offers-V4LY624Q.js} +39 -39
- package/dist/{order-create-claim-4ERPSGPD.js → order-create-claim-HRKNY4UI.js} +8 -8
- package/dist/{order-create-edit-BGLNMKKI.js → order-create-edit-LRHRGV4I.js} +6 -6
- package/dist/{order-create-exchange-TOPPZZGS.js → order-create-exchange-O23CVHIT.js} +36 -36
- package/dist/{order-create-refund-M3K5MZDM.js → order-create-refund-NXUEIIMT.js} +32 -32
- package/dist/{order-create-return-64GZ2LCL.js → order-create-return-R7YVDNVA.js} +6 -6
- package/dist/{order-detail-DIUKR6ZJ.js → order-detail-56D3JKHO.js} +38 -38
- package/dist/{order-edit-billing-address-CCRTK5E2.js → order-edit-billing-address-FZENX5AN.js} +33 -33
- package/dist/{order-edit-email-V45SEUCO.js → order-edit-email-HB3MPHUU.js} +32 -32
- package/dist/{order-edit-shipping-address-45Z6TNHL.js → order-edit-shipping-address-2WTLOIG3.js} +32 -32
- package/dist/{order-list-C7PHMQ64.js → order-list-WJBA7YQN.js} +10 -10
- package/dist/{order-metadata-7245QRUQ.js → order-metadata-2DOHAY2R.js} +32 -32
- package/dist/{order-request-transfer-JYPDXCY2.js → order-request-transfer-NOFW5BH6.js} +32 -32
- package/dist/pages/index.js +143 -143
- package/dist/{payout-detail-UTFO6U4H.js → payout-detail-CPUQHAR5.js} +3 -3
- package/dist/{payout-list-KILGQ4XP.js → payout-list-RYMCSVCT.js} +3 -3
- package/dist/{price-list-configuration-4OTKSK5N.js → price-list-configuration-FQZNQPD3.js} +4 -4
- package/dist/price-list-create-UM63JWQQ.js +74 -0
- package/dist/{price-list-customer-availability-CQY55U4O.js → price-list-customer-availability-REMZ22RS.js} +4 -4
- package/dist/{price-list-detail-IL7VSABK.js → price-list-detail-G74QPX4O.js} +38 -38
- package/dist/{price-list-edit-ZVP6CCPE.js → price-list-edit-Z7SRMWLK.js} +4 -4
- package/dist/{price-list-list-TD5JIO7L.js → price-list-list-IRVQYOHC.js} +6 -6
- package/dist/price-list-prices-add-H2MEQ2QR.js +70 -0
- package/dist/{price-list-prices-edit-WELHT4O4.js → price-list-prices-edit-4H5QDLIO.js} +34 -34
- package/dist/{product-add-existing-attributes-RPIHTSCE.js → product-add-existing-attributes-PY75RBOT.js} +34 -34
- package/dist/{product-attributes-PCOM3JRX.js → product-attributes-LPONJEUN.js} +2 -2
- package/dist/{product-bulk-edit-AVQWRUJ4.js → product-bulk-edit-X3JYKMW5.js} +2 -2
- package/dist/product-create-WNSDDRLU.js +78 -0
- package/dist/{product-create-attribute-KAICRW2S.js → product-create-attribute-TNLWM3N2.js} +3 -3
- package/dist/{product-create-variant-AKTPH6F7.js → product-create-variant-MEERTVXZ.js} +5 -5
- package/dist/{product-detail-KVLZYO76.js → product-detail-3BCNKITT.js} +35 -35
- package/dist/{product-edit-TAVV5CWR.js → product-edit-U64A6SBS.js} +3 -3
- package/dist/{product-edit-attribute-URHTZ2EQ.js → product-edit-attribute-3KYO6HRS.js} +3 -3
- package/dist/{product-list-M6B42KCG.js → product-list-7CP6FHMX.js} +37 -37
- package/dist/{product-media-R2FIBFR5.js → product-media-SHV2VX7L.js} +5 -5
- package/dist/{product-metadata-SC5BXN66.js → product-metadata-VRF6DJAO.js} +32 -32
- package/dist/{product-organization-BSPYZYZR.js → product-organization-MPWKHV3M.js} +5 -5
- package/dist/{product-sales-channels-MNAFJKAI.js → product-sales-channels-AUXTWBUT.js} +3 -3
- package/dist/{product-shipping-profile-G4NCDKSR.js → product-shipping-profile-NDEVM6EX.js} +2 -2
- package/dist/{product-tag-create-PX7Q2AXU.js → product-tag-create-XSOEKCJ5.js} +32 -32
- package/dist/{product-tag-detail-LXO43RMB.js → product-tag-detail-LIAIYUDS.js} +45 -45
- package/dist/{product-tag-edit-PXSZMCCT.js → product-tag-edit-JP3SNJHG.js} +32 -32
- package/dist/{product-tag-list-XWTZGQTT.js → product-tag-list-BHRUK7QW.js} +45 -45
- package/dist/{product-tag-metadata-2SO7ICOZ.js → product-tag-metadata-FDOGSBZL.js} +32 -32
- package/dist/{product-type-create-BJMYBP2R.js → product-type-create-DHFNIKZ2.js} +2 -2
- package/dist/{product-type-detail-NO4PKFYQ.js → product-type-detail-2K3HSKEC.js} +38 -38
- package/dist/{product-type-edit-X7VSBPUG.js → product-type-edit-KS5S5C6M.js} +2 -2
- package/dist/{product-type-list-JXU3446J.js → product-type-list-QA4OOOCL.js} +4 -4
- package/dist/{product-type-metadata-7D3J3NSO.js → product-type-metadata-OXY6JBQN.js} +32 -32
- package/dist/{product-variant-detail-VQ55W7PD.js → product-variant-detail-CFU26SH6.js} +33 -33
- package/dist/{product-variant-edit-3WSHMGDI.js → product-variant-edit-67NDBD3H.js} +34 -34
- package/dist/{product-variant-metadata-KFLIOCU2.js → product-variant-metadata-UAKLODU7.js} +32 -32
- package/dist/{profile-detail-SQZ6JFAN.js → profile-detail-HL5JIT6Y.js} +3 -3
- package/dist/{profile-edit-IVU3SBQA.js → profile-edit-POCQT5UR.js} +2 -2
- package/dist/{promotion-add-campaign-SWTS4TM5.js → promotion-add-campaign-2YKHR4CY.js} +7 -7
- package/dist/promotion-create-EJNGNDXT.js +58 -0
- package/dist/{promotion-detail-WBTMSCTX.js → promotion-detail-ZZFSTZNW.js} +36 -36
- package/dist/{promotion-edit-details-7PHH756U.js → promotion-edit-details-BDENQO6I.js} +3 -3
- package/dist/{promotion-list-FPOTDLHX.js → promotion-list-FXWF6U3M.js} +8 -8
- package/dist/{refund-reason-create-HZOBFOPB.js → refund-reason-create-ER2HYGF7.js} +32 -32
- package/dist/{refund-reason-edit-KS6NMC22.js → refund-reason-edit-352MH6YM.js} +32 -32
- package/dist/{refund-reason-list-4T7DIRZV.js → refund-reason-list-I4A25O6S.js} +39 -39
- package/dist/{region-add-countries-47QLUMX7.js → region-add-countries-DV54R2PN.js} +3 -3
- package/dist/{region-create-7DI3QEPU.js → region-create-CJM7NXOM.js} +4 -4
- package/dist/{region-detail-S5OT2PGL.js → region-detail-3RF2GD3W.js} +4 -4
- package/dist/{region-edit-IXCS3MRH.js → region-edit-I5NPINKO.js} +4 -4
- package/dist/{region-list-2MWAGD2D.js → region-list-3QKAMIKS.js} +4 -4
- package/dist/{region-metadata-ADPG7OLJ.js → region-metadata-TOCGHS2U.js} +32 -32
- package/dist/{reservation-create-YEICXID2.js → reservation-create-4ZFQM56T.js} +4 -4
- package/dist/{reservation-detail-EBIDXEVF.js → reservation-detail-P6ZNCGCG.js} +33 -33
- package/dist/{reservation-list-5QNXC2WU.js → reservation-list-X4C45DYL.js} +6 -6
- package/dist/{reservation-metadata-TWJE777O.js → reservation-metadata-SLIXYJH6.js} +32 -32
- package/dist/{reset-password-3YLCNWLP.js → reset-password-BEYWFFRO.js} +3 -3
- package/dist/{return-reason-create-GNUVNYS5.js → return-reason-create-FDRHAALE.js} +2 -2
- package/dist/{return-reason-edit-5ZICBOB3.js → return-reason-edit-GJPO2IFV.js} +2 -2
- package/dist/{return-reason-list-BDR7VUEV.js → return-reason-list-OKMBV3IZ.js} +9 -9
- package/dist/{review-detail-NPB3OKCE.js → review-detail-LG36VJTA.js} +4 -4
- package/dist/{review-edit-VD4JATST.js → review-edit-XUSW4ETR.js} +2 -2
- package/dist/{review-list-NXBVRP5T.js → review-list-M7LNFCKQ.js} +6 -6
- package/dist/{review-respond-N6JNU5HF.js → review-respond-W57V3EWA.js} +2 -2
- package/dist/{sales-channel-add-products-VAHBFZP3.js → sales-channel-add-products-Q6TSFJKU.js} +36 -36
- package/dist/{sales-channel-create-WEF7QXKI.js → sales-channel-create-BRZD6BEE.js} +3 -3
- package/dist/{sales-channel-detail-A7HHMQVX.js → sales-channel-detail-IISFMMEN.js} +37 -37
- package/dist/{sales-channel-edit-CO2V2VER.js → sales-channel-edit-JPKNEI7I.js} +3 -3
- package/dist/sales-channel-list-LX2Z5CJT.js +50 -0
- package/dist/{sales-channel-metadata-PMLMQIKU.js → sales-channel-metadata-2DMUXR5C.js} +32 -32
- package/dist/settings-B77FRGCP.js +63 -0
- package/dist/{shipping-option-type-create-NOFP2DOM.js → shipping-option-type-create-C4LVYJKK.js} +32 -32
- package/dist/{shipping-option-type-detail-47AZVCFP.js → shipping-option-type-detail-GWVNQNE7.js} +34 -34
- package/dist/{shipping-option-type-edit-42JILKHX.js → shipping-option-type-edit-I4RWXP5D.js} +32 -32
- package/dist/shipping-option-type-list-TR3OGBEP.js +60 -0
- package/dist/{shipping-profile-create-FT6KK2H5.js → shipping-profile-create-5KZA2DVE.js} +2 -2
- package/dist/{shipping-profile-detail-RGB67K3C.js → shipping-profile-detail-YZJXE6YI.js} +3 -3
- package/dist/{shipping-profile-metadata-GXMY5E57.js → shipping-profile-metadata-L7655VUS.js} +32 -32
- package/dist/{shipping-profiles-list-DD3G2THE.js → shipping-profiles-list-WJI2DCLN.js} +3 -3
- package/dist/{store-address-edit-VLYDLTHQ.js → store-address-edit-G7TW4RAA.js} +2 -2
- package/dist/{store-bulk-edit-XWDZQPFO.js → store-bulk-edit-HCQXZJYA.js} +3 -3
- package/dist/{store-closure-edit-AT4DMZRF.js → store-closure-edit-XM7AJFED.js} +2 -2
- package/dist/{store-create-UQ333C5F.js → store-create-COW4AFYQ.js} +32 -32
- package/dist/{store-details-OAONJZHB.js → store-details-GR4XNG6J.js} +40 -40
- package/dist/{store-edit-6Q3GLLJE.js → store-edit-JMRDCFIC.js} +5 -5
- package/dist/store-list-6UMZQV5N.js +81 -0
- package/dist/{store-member-invite-235YGK55.js → store-member-invite-BS2GUZUY.js} +4 -4
- package/dist/{store-payment-details-edit-VCCSUXIV.js → store-payment-details-edit-UQ2KX2QR.js} +2 -2
- package/dist/{store-professional-details-edit-MXW6WBQF.js → store-professional-details-edit-IRQM4XK2.js} +2 -2
- package/dist/{tax-region-create-ECRRD74Z.js → tax-region-create-37XJSH57.js} +33 -33
- package/dist/tax-region-detail-54WL3VGW.js +68 -0
- package/dist/{tax-region-edit-P4L2CUFV.js → tax-region-edit-R3LK752M.js} +32 -32
- package/dist/{tax-region-list-PUNXDH34.js → tax-region-list-4UDUAWWU.js} +6 -6
- package/dist/{tax-region-metadata-EDZ7YGYR.js → tax-region-metadata-LU6WHANR.js} +32 -32
- package/dist/{tax-region-province-create-RYNRPGY5.js → tax-region-province-create-S4LRRJ3K.js} +2 -2
- package/dist/{tax-region-province-detail-3ZQOCKZ2.js → tax-region-province-detail-BTSXYMTC.js} +35 -35
- package/dist/{tax-region-tax-override-create-CPWWLRMI.js → tax-region-tax-override-create-WPCZ47CE.js} +44 -44
- package/dist/{tax-region-tax-override-edit-TQCB5GSO.js → tax-region-tax-override-edit-O5CTVPCG.js} +44 -44
- package/dist/{tax-region-tax-rate-create-DLLXVZPG.js → tax-region-tax-rate-create-FWO3L7R7.js} +3 -3
- package/dist/{tax-region-tax-rate-edit-HN5VDJAZ.js → tax-region-tax-rate-edit-6EWOZLPI.js} +3 -3
- package/dist/{user-detail-4H37KBIP.js → user-detail-7FEREBQ6.js} +4 -4
- package/dist/{user-edit-42A2VX5E.js → user-edit-TYFDV5CC.js} +2 -2
- package/dist/{user-invite-5EJ3CIQZ.js → user-invite-S3SL2HJF.js} +2 -2
- package/dist/{user-list-EZ56HFI3.js → user-list-7P2ZSQGM.js} +3 -3
- package/dist/{user-metadata-3GENWLUS.js → user-metadata-KHYWKURL.js} +32 -32
- package/package.json +11 -11
- package/dist/attribute-list-ZC3CG5LS.js +0 -61
- package/dist/collection-list-EIDV4DEH.js +0 -85
- package/dist/customer-group-list-Q2AYIVO4.js +0 -56
- package/dist/home-KKOF4FWS.js +0 -64
- package/dist/location-list-RMHT36AO.js +0 -53
- package/dist/location-service-zone-shipping-option-create-WJOLO6A3.js +0 -60
- package/dist/price-list-create-UZRCHVU7.js +0 -74
- package/dist/price-list-prices-add-DSRYUJUT.js +0 -70
- package/dist/product-create-PMV3LO62.js +0 -78
- package/dist/promotion-create-6TMK6PEP.js +0 -58
- package/dist/sales-channel-list-246V7NV3.js +0 -50
- package/dist/settings-UYGKDTNO.js +0 -63
- package/dist/shipping-option-type-list-TTAA63ZN.js +0 -60
- package/dist/store-list-PANSKKVA.js +0 -81
- package/dist/tax-region-detail-PU4Q42KO.js +0 -68
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RulesFormField
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TNDTBX2Q.js";
|
|
4
4
|
import {
|
|
5
5
|
CreateCampaignSchema,
|
|
6
6
|
DEFAULT_CAMPAIGN_VALUES
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-MBWL6DDG.js";
|
|
8
8
|
import {
|
|
9
9
|
DeprecatedPercentageInput
|
|
10
10
|
} from "./chunk-MAEP2UCK.js";
|
|
11
11
|
import {
|
|
12
12
|
AddCampaignPromotionFields
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-Z5OJVX5U.js";
|
|
14
14
|
import {
|
|
15
15
|
useComboboxData
|
|
16
16
|
} from "./chunk-5KGMGL4N.js";
|
|
@@ -39,13 +39,13 @@ import {
|
|
|
39
39
|
import {
|
|
40
40
|
useCreatePromotion,
|
|
41
41
|
useUpsertPromotionCost
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-DAAJAV36.js";
|
|
43
43
|
import {
|
|
44
44
|
useDocumentDirection
|
|
45
45
|
} from "./chunk-Y7QKP6QU.js";
|
|
46
46
|
import {
|
|
47
47
|
sdk
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-2XILHHZO.js";
|
|
49
49
|
|
|
50
50
|
// src/pages/promotions/promotion-create/components/create-promotion-form/form-schema.ts
|
|
51
51
|
import i18n from "i18next";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeleteProductTypeAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LQORKOPK.js";
|
|
4
4
|
import {
|
|
5
5
|
useProductTableColumns
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ONTZADVX.js";
|
|
7
7
|
import {
|
|
8
8
|
useProductTableFilters
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-HXHUCDFL.js";
|
|
10
10
|
import {
|
|
11
11
|
useProductTableQuery
|
|
12
12
|
} from "./chunk-S4IDR46L.js";
|
|
@@ -22,13 +22,13 @@ import {
|
|
|
22
22
|
} from "./chunk-3UOYBH5O.js";
|
|
23
23
|
import {
|
|
24
24
|
useProductType
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-MD27DYVZ.js";
|
|
26
26
|
import {
|
|
27
27
|
SingleColumnPageSkeleton
|
|
28
28
|
} from "./chunk-INNFZYX2.js";
|
|
29
29
|
import {
|
|
30
30
|
useProducts
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-G6EQOO45.js";
|
|
32
32
|
|
|
33
33
|
// src/pages/product-types/product-type-detail/product-type-detail.tsx
|
|
34
34
|
import { Children } from "react";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useCustomers
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DEEY267U.js";
|
|
4
4
|
import {
|
|
5
5
|
useSellers
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RP3J3X7P.js";
|
|
7
7
|
import {
|
|
8
8
|
useSalesChannels
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7NXOLMSS.js";
|
|
10
10
|
|
|
11
11
|
// src/pages/orders/order-list/components/order-list-table/use-order-table-filters.tsx
|
|
12
12
|
import { usePermissions } from "@mercurjs/dashboard-shared";
|
|
@@ -7,25 +7,36 @@ import {
|
|
|
7
7
|
getMenuItemsByType,
|
|
8
8
|
useExpandedSidebar,
|
|
9
9
|
useLandingRoute
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DQJV4IVE.js";
|
|
11
11
|
|
|
12
12
|
// src/components/layout/settings-layout/settings-layout.tsx
|
|
13
|
-
import { useEffect, useMemo, useState } from "react";
|
|
13
|
+
import { Fragment, useCallback, useEffect, useMemo, useState } from "react";
|
|
14
14
|
import { ArrowUturnLeft, MinusMini } from "@medusajs/icons";
|
|
15
15
|
import { Divider, IconButton, Text, clx } from "@medusajs/ui";
|
|
16
16
|
import { Collapsible as RadixCollapsible } from "radix-ui";
|
|
17
17
|
import { useTranslation } from "react-i18next";
|
|
18
18
|
import { Link, useLocation } from "react-router-dom";
|
|
19
19
|
import menuItemsModule from "virtual:mercur/menu-items";
|
|
20
|
-
import {
|
|
20
|
+
import {
|
|
21
|
+
applyNavGroups,
|
|
22
|
+
useExtension,
|
|
23
|
+
usePermissions
|
|
24
|
+
} from "@mercurjs/dashboard-shared";
|
|
21
25
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
22
26
|
var SettingsLayout = () => {
|
|
23
27
|
useExpandedSidebar();
|
|
24
28
|
return /* @__PURE__ */ jsx(Shell, { rail: false, children: /* @__PURE__ */ jsx(SettingsSidebar, {}) });
|
|
25
29
|
};
|
|
26
30
|
var allMenuItems = menuItemsModule.menuItems ?? [];
|
|
31
|
+
var navId = (to) => to.replace(/^\//, "");
|
|
32
|
+
var toGroupItem = ({ label, to }) => ({
|
|
33
|
+
id: navId(to),
|
|
34
|
+
label,
|
|
35
|
+
to
|
|
36
|
+
});
|
|
27
37
|
var useExtensionNavItems = () => {
|
|
28
38
|
const { hasAnyPermission, hasAllPermissions } = usePermissions();
|
|
39
|
+
const canReach = useCanReach();
|
|
29
40
|
return useMemo(
|
|
30
41
|
() => getMenuItemsByType(
|
|
31
42
|
filterMenuItemsByPermissions(allMenuItems, {
|
|
@@ -33,17 +44,19 @@ var useExtensionNavItems = () => {
|
|
|
33
44
|
hasAllPermissions
|
|
34
45
|
}),
|
|
35
46
|
"settings"
|
|
36
|
-
).
|
|
47
|
+
).map((item) => ({
|
|
48
|
+
id: navId(item.path),
|
|
37
49
|
label: item.label,
|
|
38
50
|
to: item.path,
|
|
39
|
-
translationNs: item.translationNs
|
|
40
|
-
|
|
41
|
-
|
|
51
|
+
translationNs: item.translationNs,
|
|
52
|
+
group: item.group,
|
|
53
|
+
rank: item.rank
|
|
54
|
+
})).filter(canReach),
|
|
55
|
+
[hasAnyPermission, hasAllPermissions, canReach]
|
|
42
56
|
);
|
|
43
57
|
};
|
|
44
58
|
var useSettingRoutes = () => {
|
|
45
59
|
const { t } = useTranslation();
|
|
46
|
-
const extensionNavItems = useExtensionNavItems();
|
|
47
60
|
return useMemo(
|
|
48
61
|
() => [
|
|
49
62
|
{
|
|
@@ -93,10 +106,9 @@ var useSettingRoutes = () => {
|
|
|
93
106
|
{
|
|
94
107
|
label: t("commissions.domain"),
|
|
95
108
|
to: "/settings/commissions"
|
|
96
|
-
}
|
|
97
|
-
...extensionNavItems
|
|
109
|
+
}
|
|
98
110
|
],
|
|
99
|
-
[t
|
|
111
|
+
[t]
|
|
100
112
|
);
|
|
101
113
|
};
|
|
102
114
|
var useDeveloperRoutes = () => {
|
|
@@ -135,51 +147,72 @@ var getSafeFromValue = (from, landing) => {
|
|
|
135
147
|
};
|
|
136
148
|
var useCanReach = () => {
|
|
137
149
|
const permissions = usePermissions();
|
|
138
|
-
return (
|
|
150
|
+
return useCallback(
|
|
151
|
+
({ to }) => canReachRoute(permissions, to),
|
|
152
|
+
[permissions]
|
|
153
|
+
);
|
|
154
|
+
};
|
|
155
|
+
var useSettingsGroups = () => {
|
|
156
|
+
const { t } = useTranslation();
|
|
157
|
+
const canReach = useCanReach();
|
|
158
|
+
const extension = useExtension();
|
|
159
|
+
const routes = useSettingRoutes();
|
|
160
|
+
const developerRoutes = useDeveloperRoutes();
|
|
161
|
+
const myAccountRoutes = useMyAccountRoutes();
|
|
162
|
+
const extensionNavItems = useExtensionNavItems();
|
|
163
|
+
return useMemo(
|
|
164
|
+
() => applyNavGroups(
|
|
165
|
+
[
|
|
166
|
+
{
|
|
167
|
+
id: "general",
|
|
168
|
+
label: t("app.nav.settings.general"),
|
|
169
|
+
items: routes.filter(canReach).map(toGroupItem)
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
id: "developer",
|
|
173
|
+
label: t("app.nav.settings.developer"),
|
|
174
|
+
items: developerRoutes.filter(canReach).map(toGroupItem)
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
id: "myAccount",
|
|
178
|
+
label: t("app.nav.settings.myAccount"),
|
|
179
|
+
items: myAccountRoutes.map(toGroupItem)
|
|
180
|
+
}
|
|
181
|
+
],
|
|
182
|
+
extensionNavItems,
|
|
183
|
+
{
|
|
184
|
+
groups: extension.getNavGroups(),
|
|
185
|
+
items: extension.getNavOverrides()
|
|
186
|
+
}
|
|
187
|
+
),
|
|
188
|
+
[
|
|
189
|
+
t,
|
|
190
|
+
canReach,
|
|
191
|
+
extension,
|
|
192
|
+
routes,
|
|
193
|
+
developerRoutes,
|
|
194
|
+
myAccountRoutes,
|
|
195
|
+
extensionNavItems
|
|
196
|
+
]
|
|
197
|
+
);
|
|
139
198
|
};
|
|
140
199
|
var PROFILE_ROUTE = "/settings/profile";
|
|
141
200
|
var useSettingsLandingRoute = () => {
|
|
142
|
-
const
|
|
143
|
-
const routes = [...useSettingRoutes(), ...useDeveloperRoutes()].filter(canReach);
|
|
201
|
+
const routes = useSettingsGroups().flatMap((group) => group.items);
|
|
144
202
|
return routes.find(({ to }) => to !== PROFILE_ROUTE)?.to ?? PROFILE_ROUTE;
|
|
145
203
|
};
|
|
146
204
|
var SettingsSidebar = () => {
|
|
147
|
-
const
|
|
148
|
-
const routes = useSettingRoutes().filter(canReach);
|
|
149
|
-
const developerRoutes = useDeveloperRoutes().filter(canReach);
|
|
150
|
-
const myAccountRoutes = useMyAccountRoutes();
|
|
151
|
-
const { t } = useTranslation();
|
|
205
|
+
const groups = useSettingsGroups();
|
|
152
206
|
return /* @__PURE__ */ jsxs("aside", { className: "relative flex flex-1 flex-col justify-between overflow-y-auto", children: [
|
|
153
207
|
/* @__PURE__ */ jsxs("div", { className: "sticky top-0 bg-ui-bg-subtle", children: [
|
|
154
208
|
/* @__PURE__ */ jsx(Header, {}),
|
|
155
209
|
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx(Divider, { variant: "dashed" }) })
|
|
156
210
|
] }),
|
|
157
211
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
158
|
-
/* @__PURE__ */
|
|
159
|
-
/* @__PURE__ */ jsx(
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
label: t("app.nav.settings.general"),
|
|
163
|
-
items: routes
|
|
164
|
-
}
|
|
165
|
-
),
|
|
166
|
-
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx(Divider, { variant: "dashed" }) }),
|
|
167
|
-
/* @__PURE__ */ jsx(
|
|
168
|
-
RadixCollapsibleSection,
|
|
169
|
-
{
|
|
170
|
-
label: t("app.nav.settings.developer"),
|
|
171
|
-
items: developerRoutes
|
|
172
|
-
}
|
|
173
|
-
),
|
|
174
|
-
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx(Divider, { variant: "dashed" }) }),
|
|
175
|
-
/* @__PURE__ */ jsx(
|
|
176
|
-
RadixCollapsibleSection,
|
|
177
|
-
{
|
|
178
|
-
label: t("app.nav.settings.myAccount"),
|
|
179
|
-
items: myAccountRoutes
|
|
180
|
-
}
|
|
181
|
-
)
|
|
182
|
-
] }),
|
|
212
|
+
/* @__PURE__ */ jsx("div", { className: "flex flex-1 flex-col overflow-y-auto", children: groups.map((group, index) => /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
213
|
+
index > 0 && /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx(Divider, { variant: "dashed" }) }),
|
|
214
|
+
/* @__PURE__ */ jsx(RadixCollapsibleSection, { group })
|
|
215
|
+
] }, group.id)) }),
|
|
183
216
|
/* @__PURE__ */ jsx("div", { className: "sticky bottom-0 bg-ui-bg-subtle", children: /* @__PURE__ */ jsx(UserSection, {}) })
|
|
184
217
|
] })
|
|
185
218
|
] });
|
|
@@ -211,16 +244,15 @@ var Header = () => {
|
|
|
211
244
|
}
|
|
212
245
|
) });
|
|
213
246
|
};
|
|
214
|
-
var RadixCollapsibleSection = ({
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
}) => {
|
|
247
|
+
var RadixCollapsibleSection = ({ group }) => {
|
|
248
|
+
const { t } = useTranslation(group.translationNs);
|
|
249
|
+
const label = group.translationNs ? t(group.label) : group.label;
|
|
218
250
|
return /* @__PURE__ */ jsxs(RadixCollapsible.Root, { defaultOpen: true, className: "py-3", children: [
|
|
219
251
|
/* @__PURE__ */ jsx("div", { className: "px-3", children: /* @__PURE__ */ jsxs("div", { className: "flex h-7 items-center justify-between px-2 text-ui-fg-muted", children: [
|
|
220
252
|
/* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", children: label }),
|
|
221
253
|
/* @__PURE__ */ jsx(RadixCollapsible.Trigger, { asChild: true, children: /* @__PURE__ */ jsx(IconButton, { size: "2xsmall", variant: "transparent", className: "static", children: /* @__PURE__ */ jsx(MinusMini, { className: "text-ui-fg-muted" }) }) })
|
|
222
254
|
] }) }),
|
|
223
|
-
/* @__PURE__ */ jsx(RadixCollapsible.Content, { children: /* @__PURE__ */ jsx("div", { className: "pt-0.5", children: /* @__PURE__ */ jsx("nav", { className: "flex flex-col gap-y-0.5", children: items.map((setting) => /* @__PURE__ */ jsx(NavItem, { type: "setting", ...setting }, setting.to)) }) }) })
|
|
255
|
+
/* @__PURE__ */ jsx(RadixCollapsible.Content, { children: /* @__PURE__ */ jsx("div", { className: "pt-0.5", children: /* @__PURE__ */ jsx("nav", { className: "flex flex-col gap-y-0.5", children: group.items.map(({ id: _id, ...setting }) => /* @__PURE__ */ jsx(NavItem, { type: "setting", ...setting }, setting.to)) }) }) })
|
|
224
256
|
] });
|
|
225
257
|
};
|
|
226
258
|
var UserSection = () => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useCollectionTableColumns
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3FCY4BUR.js";
|
|
4
4
|
import {
|
|
5
5
|
useCollectionTableFilters
|
|
6
6
|
} from "./chunk-KOURHC2N.js";
|
|
7
7
|
import {
|
|
8
8
|
useCollectionTableQuery
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EBAFVGM3.js";
|
|
10
10
|
import {
|
|
11
11
|
SingleColumnPage
|
|
12
12
|
} from "./chunk-H6MYB7GB.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
useCollections,
|
|
22
22
|
useDeleteCollection
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-RVJ7GKRQ.js";
|
|
24
24
|
|
|
25
25
|
// src/pages/collections/collection-list/collection-list.tsx
|
|
26
26
|
import { Children as Children3 } from "react";
|
|
@@ -62,7 +62,7 @@ var CollectionListHeader = ({
|
|
|
62
62
|
// src/pages/collections/collection-list/components/collection-list-table/collection-list-data-table.tsx
|
|
63
63
|
import { keepPreviousData } from "@tanstack/react-query";
|
|
64
64
|
import { createColumnHelper } from "@tanstack/react-table";
|
|
65
|
-
import { useExtendableTable, useLinkQuery } from "@mercurjs/dashboard-shared";
|
|
65
|
+
import { useExtendableTable, useLinkQuery, mergeListFilters } from "@mercurjs/dashboard-shared";
|
|
66
66
|
import { useMemo } from "react";
|
|
67
67
|
import { useTranslation as useTranslation3 } from "react-i18next";
|
|
68
68
|
|
|
@@ -148,7 +148,7 @@ var CollectionListDataTable = () => {
|
|
|
148
148
|
const baseFilters = useCollectionTableFilters();
|
|
149
149
|
const { columns, filters: extFilters } = useColumns();
|
|
150
150
|
const filters = useMemo(
|
|
151
|
-
() =>
|
|
151
|
+
() => mergeListFilters(baseFilters, extFilters),
|
|
152
152
|
[baseFilters, extFilters]
|
|
153
153
|
);
|
|
154
154
|
const { table } = useDataTable({
|
|
@@ -22,13 +22,13 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
stockLocationsQueryKeys,
|
|
24
24
|
useStockLocations
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-WDIFZQLC.js";
|
|
26
26
|
import {
|
|
27
27
|
queryClient
|
|
28
28
|
} from "./chunk-RHKRREUU.js";
|
|
29
29
|
import {
|
|
30
30
|
sdk
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-2XILHHZO.js";
|
|
32
32
|
|
|
33
33
|
// src/pages/locations/location-list/location-list.tsx
|
|
34
34
|
import { Children } from "react";
|
|
@@ -3,24 +3,24 @@ import {
|
|
|
3
3
|
} from "./chunk-ZVNGPUNQ.js";
|
|
4
4
|
import {
|
|
5
5
|
useOfferTableCommands
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FCM3KNF4.js";
|
|
7
7
|
import {
|
|
8
8
|
useOfferTableColumns,
|
|
9
9
|
useOfferTableFilters,
|
|
10
10
|
useOfferTableQuery
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-O4P7LFSP.js";
|
|
12
12
|
import {
|
|
13
13
|
IconAvatar
|
|
14
14
|
} from "./chunk-U2EI2ZLM.js";
|
|
15
15
|
import {
|
|
16
16
|
useOrderTableFilters
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LUFKMNHC.js";
|
|
18
18
|
import {
|
|
19
19
|
useOffers
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-U4FPQ62Q.js";
|
|
21
21
|
import {
|
|
22
22
|
useMemberTableQuery
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-EBAFVGM3.js";
|
|
24
24
|
import {
|
|
25
25
|
useOrderTableQuery
|
|
26
26
|
} from "./chunk-QUHSHIAC.js";
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
} from "./chunk-E74OUNA3.js";
|
|
39
39
|
import {
|
|
40
40
|
require_dist
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ESRIX7ZH.js";
|
|
42
42
|
import {
|
|
43
43
|
_DataTable,
|
|
44
44
|
useDataTable
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
} from "./chunk-3UOYBH5O.js";
|
|
52
52
|
import {
|
|
53
53
|
useOrders
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-I7O5S3UF.js";
|
|
55
55
|
import {
|
|
56
56
|
sellersQueryKeys,
|
|
57
57
|
useApproveSeller,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
useSellerInvites,
|
|
63
63
|
useSellerMembers,
|
|
64
64
|
useSuspendSeller
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-RP3J3X7P.js";
|
|
66
66
|
import {
|
|
67
67
|
TwoColumnPageSkeleton
|
|
68
68
|
} from "./chunk-INNFZYX2.js";
|
|
@@ -71,7 +71,7 @@ import {
|
|
|
71
71
|
} from "./chunk-RHKRREUU.js";
|
|
72
72
|
import {
|
|
73
73
|
sdk
|
|
74
|
-
} from "./chunk-
|
|
74
|
+
} from "./chunk-2XILHHZO.js";
|
|
75
75
|
import {
|
|
76
76
|
__toESM
|
|
77
77
|
} from "./chunk-NBMM2TZK.js";
|
|
@@ -98,7 +98,12 @@ var storeDetailLoader = async ({ params }) => {
|
|
|
98
98
|
import { Children as Children3, useState as useState3 } from "react";
|
|
99
99
|
import { useParams } from "react-router-dom";
|
|
100
100
|
import { useTranslation as useTranslation12 } from "react-i18next";
|
|
101
|
-
import {
|
|
101
|
+
import {
|
|
102
|
+
WidgetZone,
|
|
103
|
+
useLinkQuery,
|
|
104
|
+
usePermissions,
|
|
105
|
+
useWidgetTabs
|
|
106
|
+
} from "@mercurjs/dashboard-shared";
|
|
102
107
|
var import_types3 = __toESM(require_dist(), 1);
|
|
103
108
|
|
|
104
109
|
// src/pages/stores/store-details/components/store-general-section.tsx
|
|
@@ -1144,19 +1149,12 @@ var StoreOffersSection = ({ sellerId }) => {
|
|
|
1144
1149
|
|
|
1145
1150
|
// src/pages/stores/store-details/components/store-details.tsx
|
|
1146
1151
|
import { jsx as jsx12, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1147
|
-
var TABS = ["orders", "offers", "users", "timeOff"];
|
|
1148
1152
|
var TabBar = ({
|
|
1149
1153
|
tabs,
|
|
1150
1154
|
activeTab,
|
|
1151
1155
|
onTabChange
|
|
1152
1156
|
}) => {
|
|
1153
1157
|
const { t } = useTranslation12();
|
|
1154
|
-
const labels = {
|
|
1155
|
-
orders: t("orders.domain"),
|
|
1156
|
-
users: t("users.domain"),
|
|
1157
|
-
offers: t("offers.domain"),
|
|
1158
|
-
timeOff: t("store.timeOff.header")
|
|
1159
|
-
};
|
|
1160
1158
|
return /* @__PURE__ */ jsx12(
|
|
1161
1159
|
"div",
|
|
1162
1160
|
{
|
|
@@ -1164,22 +1162,22 @@ var TabBar = ({
|
|
|
1164
1162
|
"aria-label": t("stores.domain"),
|
|
1165
1163
|
className: "mt-1 flex flex-wrap items-center gap-x-2",
|
|
1166
1164
|
"data-testid": "store-detail-tabs",
|
|
1167
|
-
children: tabs.map((
|
|
1168
|
-
const isActive = activeTab ===
|
|
1165
|
+
children: tabs.map(({ id, label }) => {
|
|
1166
|
+
const isActive = activeTab === id;
|
|
1169
1167
|
return /* @__PURE__ */ jsx12(
|
|
1170
1168
|
"button",
|
|
1171
1169
|
{
|
|
1172
1170
|
type: "button",
|
|
1173
|
-
onClick: () => onTabChange(
|
|
1171
|
+
onClick: () => onTabChange(id),
|
|
1174
1172
|
role: "tab",
|
|
1175
1173
|
"aria-selected": isActive,
|
|
1176
|
-
"aria-controls": `store-detail-tab-panel-${
|
|
1177
|
-
id: `store-detail-tab-${
|
|
1178
|
-
"data-testid": `store-detail-tab-${
|
|
1174
|
+
"aria-controls": `store-detail-tab-panel-${id}`,
|
|
1175
|
+
id: `store-detail-tab-${id}`,
|
|
1176
|
+
"data-testid": `store-detail-tab-${id}`,
|
|
1179
1177
|
className: `txt-compact-small-plus rounded-full px-3 py-1.5 transition-colors ${isActive ? "border-ui-border-base bg-ui-bg-base shadow-borders-base text-ui-fg-base" : "text-ui-fg-subtle hover:text-ui-fg-base"}`,
|
|
1180
|
-
children:
|
|
1178
|
+
children: label
|
|
1181
1179
|
},
|
|
1182
|
-
|
|
1180
|
+
id
|
|
1183
1181
|
);
|
|
1184
1182
|
})
|
|
1185
1183
|
}
|
|
@@ -1187,21 +1185,10 @@ var TabBar = ({
|
|
|
1187
1185
|
};
|
|
1188
1186
|
var Root = ({ children }) => {
|
|
1189
1187
|
const { id } = useParams();
|
|
1188
|
+
const { t } = useTranslation12();
|
|
1190
1189
|
const [selectedTab, setActiveTab] = useState3("orders");
|
|
1191
1190
|
const { can } = usePermissions();
|
|
1192
|
-
const
|
|
1193
|
-
if (tab === "orders") {
|
|
1194
|
-
return can("orders");
|
|
1195
|
-
}
|
|
1196
|
-
if (tab === "offers") {
|
|
1197
|
-
return can("offers");
|
|
1198
|
-
}
|
|
1199
|
-
if (tab === "users") {
|
|
1200
|
-
return can("members");
|
|
1201
|
-
}
|
|
1202
|
-
return true;
|
|
1203
|
-
});
|
|
1204
|
-
const activeTab = tabs.includes(selectedTab) ? selectedTab : tabs[0];
|
|
1191
|
+
const customTabs = useWidgetTabs("stores.detail.tabs");
|
|
1205
1192
|
const query = useLinkQuery("seller", STORE_DETAIL_FIELDS);
|
|
1206
1193
|
const { seller, isLoading, isError, error } = useSeller(id, query);
|
|
1207
1194
|
if (isLoading || !seller) {
|
|
@@ -1213,46 +1200,56 @@ var Root = ({ children }) => {
|
|
|
1213
1200
|
if (Children3.count(children) > 0) {
|
|
1214
1201
|
return /* @__PURE__ */ jsx12(TwoColumnPage, { data: seller, hasOutlet: true, "data-testid": "store-detail-page", children });
|
|
1215
1202
|
}
|
|
1203
|
+
const toTab = ({ id: id2, label, Component }) => ({
|
|
1204
|
+
id: id2,
|
|
1205
|
+
label: t(label, { defaultValue: label }),
|
|
1206
|
+
content: /* @__PURE__ */ jsx12(Component, { data: seller })
|
|
1207
|
+
});
|
|
1208
|
+
const tabs = [
|
|
1209
|
+
...customTabs.before.map(toTab),
|
|
1210
|
+
...can("orders") ? [
|
|
1211
|
+
{
|
|
1212
|
+
id: "orders",
|
|
1213
|
+
label: t("orders.domain"),
|
|
1214
|
+
content: /* @__PURE__ */ jsx12(StoreOrdersSection, { sellerId: seller.id })
|
|
1215
|
+
}
|
|
1216
|
+
] : [],
|
|
1217
|
+
...can("offers") ? [
|
|
1218
|
+
{
|
|
1219
|
+
id: "offers",
|
|
1220
|
+
label: t("offers.domain"),
|
|
1221
|
+
content: /* @__PURE__ */ jsx12(StoreOffersSection, { sellerId: seller.id })
|
|
1222
|
+
}
|
|
1223
|
+
] : [],
|
|
1224
|
+
...can("members") ? [
|
|
1225
|
+
{
|
|
1226
|
+
id: "users",
|
|
1227
|
+
label: t("users.domain"),
|
|
1228
|
+
content: /* @__PURE__ */ jsx12(StoreMembersSection, { sellerId: seller.id })
|
|
1229
|
+
}
|
|
1230
|
+
] : [],
|
|
1231
|
+
{
|
|
1232
|
+
id: "timeOff",
|
|
1233
|
+
label: t("store.timeOff.header"),
|
|
1234
|
+
content: /* @__PURE__ */ jsx12(StoreConfigurationSection, { seller })
|
|
1235
|
+
},
|
|
1236
|
+
...customTabs.after.map(toTab)
|
|
1237
|
+
];
|
|
1238
|
+
const activeTab = tabs.find((tab) => tab.id === selectedTab) ?? tabs[0];
|
|
1216
1239
|
return /* @__PURE__ */ jsxs12(TwoColumnPage, { data: seller, hasOutlet: true, "data-testid": "store-detail-page", children: [
|
|
1217
1240
|
/* @__PURE__ */ jsx12(TwoColumnPage.Main, { children: /* @__PURE__ */ jsxs12(WidgetZone, { id: "stores.detail.main", data: seller, children: [
|
|
1218
1241
|
seller.status === import_types3.SellerStatus.PENDING_APPROVAL && !seller.approved_at && !seller.rejected_at && /* @__PURE__ */ jsx12(StoreRequestSection, { seller }),
|
|
1219
1242
|
/* @__PURE__ */ jsx12(StoreGeneralSection, { seller }),
|
|
1220
|
-
/* @__PURE__ */ jsx12(TabBar, { tabs, activeTab, onTabChange: setActiveTab }),
|
|
1221
|
-
|
|
1243
|
+
/* @__PURE__ */ jsx12(TabBar, { tabs, activeTab: activeTab.id, onTabChange: setActiveTab }),
|
|
1244
|
+
/* @__PURE__ */ jsx12(
|
|
1222
1245
|
"div",
|
|
1223
1246
|
{
|
|
1224
1247
|
role: "tabpanel",
|
|
1225
|
-
id:
|
|
1226
|
-
"aria-labelledby":
|
|
1227
|
-
children:
|
|
1228
|
-
}
|
|
1229
|
-
|
|
1230
|
-
activeTab === "users" && /* @__PURE__ */ jsx12(
|
|
1231
|
-
"div",
|
|
1232
|
-
{
|
|
1233
|
-
role: "tabpanel",
|
|
1234
|
-
id: "store-detail-tab-panel-users",
|
|
1235
|
-
"aria-labelledby": "store-detail-tab-users",
|
|
1236
|
-
children: /* @__PURE__ */ jsx12(StoreMembersSection, { sellerId: seller.id })
|
|
1237
|
-
}
|
|
1238
|
-
),
|
|
1239
|
-
activeTab === "offers" && /* @__PURE__ */ jsx12(
|
|
1240
|
-
"div",
|
|
1241
|
-
{
|
|
1242
|
-
role: "tabpanel",
|
|
1243
|
-
id: "store-detail-tab-panel-offers",
|
|
1244
|
-
"aria-labelledby": "store-detail-tab-offers",
|
|
1245
|
-
children: /* @__PURE__ */ jsx12(StoreOffersSection, { sellerId: seller.id })
|
|
1246
|
-
}
|
|
1247
|
-
),
|
|
1248
|
-
activeTab === "timeOff" && /* @__PURE__ */ jsx12(
|
|
1249
|
-
"div",
|
|
1250
|
-
{
|
|
1251
|
-
role: "tabpanel",
|
|
1252
|
-
id: "store-detail-tab-panel-timeOff",
|
|
1253
|
-
"aria-labelledby": "store-detail-tab-timeOff",
|
|
1254
|
-
children: /* @__PURE__ */ jsx12(StoreConfigurationSection, { seller })
|
|
1255
|
-
}
|
|
1248
|
+
id: `store-detail-tab-panel-${activeTab.id}`,
|
|
1249
|
+
"aria-labelledby": `store-detail-tab-${activeTab.id}`,
|
|
1250
|
+
children: activeTab.content
|
|
1251
|
+
},
|
|
1252
|
+
activeTab.id
|
|
1256
1253
|
)
|
|
1257
1254
|
] }) }),
|
|
1258
1255
|
/* @__PURE__ */ jsx12(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsxs12(WidgetZone, { id: "stores.detail.side", data: seller, children: [
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-HC25LNX7.js";
|
|
16
16
|
import {
|
|
17
17
|
useShippingOptionTableQuery
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-EBAFVGM3.js";
|
|
19
19
|
import {
|
|
20
20
|
useProductTypeTableQuery
|
|
21
21
|
} from "./chunk-VOHEQ7B5.js";
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
} from "./chunk-JHIMVLB2.js";
|
|
28
28
|
import {
|
|
29
29
|
useProductTableColumns
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ONTZADVX.js";
|
|
31
31
|
import {
|
|
32
32
|
useProductTableFilters
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-HXHUCDFL.js";
|
|
34
34
|
import {
|
|
35
35
|
useProductTableQuery
|
|
36
36
|
} from "./chunk-S4IDR46L.js";
|
|
@@ -44,17 +44,17 @@ import {
|
|
|
44
44
|
} from "./chunk-SU36MZXC.js";
|
|
45
45
|
import {
|
|
46
46
|
useProductTypes
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-MD27DYVZ.js";
|
|
48
48
|
import {
|
|
49
49
|
useShippingOptions
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-D2WH4C7A.js";
|
|
51
51
|
import {
|
|
52
52
|
useStockLocations
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-WDIFZQLC.js";
|
|
54
54
|
import {
|
|
55
55
|
useProduct,
|
|
56
56
|
useProducts
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-G6EQOO45.js";
|
|
58
58
|
|
|
59
59
|
// src/pages/tax-regions/common/components/target-form/target-form.tsx
|
|
60
60
|
import { Button, Checkbox } from "@medusajs/ui";
|