@mercurjs/admin 2.3.6-canary.1 → 2.3.6-canary.11
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-PBGDZSCD.js → add-campaign-promotions-EIQFBRHD.js} +13 -8
- package/dist/{adjust-inventory-BBAU3NMM.js → adjust-inventory-H46YCNLT.js} +8 -3
- package/dist/{api-key-management-detail-ZGGQBQAM.js → api-key-management-detail-Z4KSJHUC.js} +6 -8
- package/dist/{api-key-management-list-T2WHT6MT.js → api-key-management-list-QZIRPINF.js} +5 -5
- package/dist/{api-key-management-sales-channels-FS3KXQQ6.js → api-key-management-sales-channels-RGZ3QITG.js} +9 -7
- package/dist/{attribute-create-C435ZHB2.js → attribute-create-7I5GNYFM.js} +6 -5
- package/dist/{attribute-detail-SPYDB3I5.js → attribute-detail-GP4PEFJ7.js} +17 -11
- package/dist/{attribute-edit-AAEAOP5B.js → attribute-edit-YNKCBXLU.js} +2 -2
- package/dist/{attribute-edit-possible-value-BJSQCTNO.js → attribute-edit-possible-value-XY7W42FB.js} +2 -2
- package/dist/{attribute-list-SCFBKH4L.js → attribute-list-ZC3CG5LS.js} +7 -7
- package/dist/{campaign-detail-BHRCOKL3.js → campaign-detail-OZWTK26Z.js} +11 -11
- package/dist/{campaign-list-GIMU2QVW.js → campaign-list-XCO4FJDZ.js} +5 -5
- package/dist/{categories-metadata-MJAYSCTW.js → categories-metadata-QYH5U77W.js} +3 -3
- package/dist/{category-detail-GVEDFNM7.js → category-detail-V2QUSUF3.js} +11 -12
- package/dist/{category-list-J7XYQDJU.js → category-list-XDOYTQ4X.js} +6 -6
- package/dist/{category-products-VVF5NXCE.js → category-products-DL4KV6NX.js} +16 -9
- package/dist/{chunk-NIDM2VQO.js → chunk-23CSVCQK.js} +28 -17
- package/dist/{chunk-DUFGVZ6H.js → chunk-25TWJMWE.js} +2 -2
- package/dist/{chunk-VTXMQTXK.js → chunk-26REB3B6.js} +4 -3
- package/dist/{chunk-ZH6TIKKW.js → chunk-2MOTQNEG.js} +1 -0
- package/dist/{chunk-M6X7KIBW.js → chunk-2XBNM6TM.js} +4 -4
- package/dist/{chunk-BQZ5P3IA.js → chunk-36KEGXUQ.js} +112 -75
- package/dist/{chunk-475XGX3J.js → chunk-3BKRMIWA.js} +24 -13
- package/dist/{chunk-NCDKLTDP.js → chunk-3H3BJSIK.js} +34 -12
- package/dist/chunk-3UOYBH5O.js +8 -0
- package/dist/{chunk-GFHUI2QK.js → chunk-473QGQSA.js} +9 -6
- package/dist/{chunk-3XS5ADKJ.js → chunk-4AOVNA5G.js} +31 -20
- package/dist/{chunk-IKAUNMRC.js → chunk-4J74G7N2.js} +15 -3
- package/dist/{chunk-WIDHYDJQ.js → chunk-4JQDYQSX.js} +20 -10
- package/dist/{chunk-RW3NEG36.js → chunk-4W77EUYY.js} +9 -7
- package/dist/{chunk-6UYV7B42.js → chunk-4Y7SBHXE.js} +10 -8
- package/dist/{chunk-VVIJHBKM.js → chunk-5MXEKSK4.js} +1 -1
- package/dist/{chunk-AGO4ROOR.js → chunk-5OIFUF7R.js} +1 -1
- package/dist/{chunk-S4WDCOQD.js → chunk-5QW3GY37.js} +27 -14
- package/dist/{chunk-5TIADRZ7.js → chunk-63JSBXD5.js} +8 -6
- package/dist/{chunk-5ENOJFDI.js → chunk-7CGMFCSU.js} +1 -1
- package/dist/{chunk-7QZFRDTU.js → chunk-7GCMYYFL.js} +7 -4
- package/dist/{chunk-OWWE5Y6T.js → chunk-7URQCA3H.js} +8 -6
- package/dist/{chunk-R2ODJ3D3.js → chunk-A3LCORSK.js} +11 -7
- package/dist/{chunk-IZ77JV46.js → chunk-AUCCE46Q.js} +6 -3
- package/dist/{chunk-PFQO7UQG.js → chunk-AW4RL2SA.js} +60 -33
- package/dist/{chunk-2NOIR4BR.js → chunk-AZV22U4V.js} +20 -2
- package/dist/{chunk-VYSTJIAD.js → chunk-CX5XB56X.js} +4 -3
- package/dist/{chunk-VWPX7GLC.js → chunk-DBGBLXBS.js} +1 -1
- package/dist/{chunk-J4SYK3RT.js → chunk-DGRHDZQO.js} +15 -5
- package/dist/{chunk-6AQYZWOC.js → chunk-DL5J4DV2.js} +2 -2
- package/dist/{chunk-7UHN2CW7.js → chunk-DM52HEOD.js} +1 -1
- package/dist/{chunk-EJGGX3ON.js → chunk-DMLXILXG.js} +12 -10
- package/dist/chunk-DQ6RPO6N.js +2954 -0
- package/dist/{chunk-VBHKRUON.js → chunk-DUKOOIQD.js} +6 -5
- package/dist/{chunk-BLU2WLIJ.js → chunk-DWPBJEEM.js} +21 -8
- package/dist/{chunk-6P7HBAUM.js → chunk-E4CMR4T2.js} +21 -13
- package/dist/{chunk-QEBISX7V.js → chunk-EBAFVGM3.js} +1 -1
- package/dist/{chunk-J34YB5R4.js → chunk-EHLCUND7.js} +12 -10
- package/dist/{chunk-DBCNRZZE.js → chunk-EIPTLSNT.js} +3 -1
- package/dist/{chunk-KWFSBUD6.js → chunk-ESRIX7ZH.js} +1485 -1411
- package/dist/{chunk-YM5X7CQL.js → chunk-FCAJQFYT.js} +32 -12
- package/dist/{chunk-437KXVGO.js → chunk-G63BL5AB.js} +8 -5
- package/dist/{chunk-BZPOERWW.js → chunk-GIV6KSQX.js} +18 -9
- package/dist/{chunk-G2KWNZV6.js → chunk-GMJLK3IK.js} +2 -2
- package/dist/{chunk-P2KYQNXQ.js → chunk-GQYB3OOC.js} +108 -65
- package/dist/{chunk-4FAYO6UJ.js → chunk-GZUXEIEB.js} +3 -3
- package/dist/{chunk-7ASAC2FM.js → chunk-H4TJZB26.js} +26 -18
- package/dist/{chunk-5SNW2DCY.js → chunk-HXDCSVQP.js} +42 -18
- package/dist/{chunk-NQEXDESI.js → chunk-IBTEL5KA.js} +32 -14
- package/dist/{chunk-Q732RWRD.js → chunk-IQRFJO4N.js} +7 -5
- package/dist/{chunk-LBFX6AVE.js → chunk-JFRYC6GK.js} +17 -10
- package/dist/{chunk-7YBZ2PEZ.js → chunk-JQ7GOJK6.js} +135 -58
- package/dist/{chunk-FOWWGEP7.js → chunk-JS2DAWKO.js} +9 -6
- package/dist/{chunk-IHCKU5FR.js → chunk-K6OBX6ZR.js} +8 -7
- package/dist/{chunk-RSDTHO3I.js → chunk-KB3BTLIB.js} +6 -4
- package/dist/{chunk-VIHLAFDA.js → chunk-KYOZ4CCY.js} +61 -29
- package/dist/{chunk-D6WRJZPH.js → chunk-LCUAIH7P.js} +7 -5
- package/dist/{chunk-F5EZQMOA.js → chunk-M7VHCFCW.js} +10 -8
- package/dist/{chunk-EVCAR6GP.js → chunk-MAEUKXZ4.js} +8 -5
- package/dist/{chunk-HFCJJJKP.js → chunk-MKKOAF2W.js} +26 -12
- package/dist/{chunk-MQFPD5J4.js → chunk-MNKJHZZT.js} +10 -6
- package/dist/{chunk-YUL4ES52.js → chunk-MSJ2QS4Y.js} +6 -4
- package/dist/{chunk-VE5FQQTG.js → chunk-MTP3MDAA.js} +10 -7
- package/dist/{chunk-24JEBPKI.js → chunk-NJ2NRKAJ.js} +57 -14
- package/dist/{chunk-XMIDY45X.js → chunk-NRRSESP2.js} +32 -13
- package/dist/{chunk-B7QLJF77.js → chunk-NUE5ZL5N.js} +11 -5
- package/dist/{chunk-B6KT5U7W.js → chunk-NZIDSNBJ.js} +10 -8
- package/dist/{chunk-PAG3PYAQ.js → chunk-O5W5DCKH.js} +1 -1
- package/dist/{chunk-CFQX7HAW.js → chunk-OCDZIJBM.js} +11 -5
- package/dist/{chunk-KTO2WJ75.js → chunk-OGTWBHJC.js} +2 -2
- package/dist/{chunk-3KRUGI6C.js → chunk-ONTZADVX.js} +1 -1
- package/dist/{chunk-W62DN2I2.js → chunk-OWSAXYGH.js} +1 -1
- package/dist/{chunk-ESNSDIEC.js → chunk-PDPCFFFH.js} +1 -1
- package/dist/{chunk-Q6M2TNLO.js → chunk-PGOJH3NS.js} +61 -329
- package/dist/{chunk-LXW3L56Z.js → chunk-Q2XWHI6K.js} +6 -3
- package/dist/{chunk-ENKVW7JW.js → chunk-QKW6ZECR.js} +29 -14
- package/dist/{chunk-JBT2FR4K.js → chunk-QPDL77XZ.js} +21 -10
- package/dist/{chunk-D7E6HL5O.js → chunk-QPXGSVW4.js} +10 -8
- package/dist/{chunk-M336ZIRO.js → chunk-QQ2UM2KH.js} +9 -7
- package/dist/{chunk-YWZQKODL.js → chunk-R55XYG6Y.js} +28 -15
- package/dist/{chunk-AOLP2YDZ.js → chunk-RAD3UMQ3.js} +7 -5
- package/dist/{chunk-HFM6N7R3.js → chunk-RLF7ADLP.js} +21 -13
- package/dist/{chunk-A2UTT4YX.js → chunk-SLXOKSG4.js} +58 -28
- package/dist/{chunk-ZOU25JF6.js → chunk-SU36MZXC.js} +11 -3
- package/dist/{chunk-F644YFJZ.js → chunk-SZSAJHN7.js} +7 -6
- package/dist/{chunk-GR7S7WTT.js → chunk-TPWSE5HE.js} +16 -11
- package/dist/{chunk-7ECQXPOG.js → chunk-TVCHVG2A.js} +3 -3
- package/dist/{chunk-HJACC6KV.js → chunk-UKQ6FES4.js} +6 -3
- package/dist/{chunk-JL3NKSLJ.js → chunk-USO2SWZV.js} +9 -4
- package/dist/chunk-USY2322P.js +17 -0
- package/dist/{chunk-6ASLWQB3.js → chunk-V3UQOU5W.js} +4 -2
- package/dist/{chunk-XXYVUV5F.js → chunk-VD2CKAYG.js} +21 -10
- package/dist/{chunk-C4XKPQ6T.js → chunk-VLNTJXXO.js} +16 -3
- package/dist/{chunk-D3RDR3D3.js → chunk-W3LCOK3O.js} +153 -124
- package/dist/{chunk-MXM5ZD4Y.js → chunk-W5U6NPSN.js} +10 -25
- package/dist/{chunk-MM5RRCPX.js → chunk-WVHNOE7Y.js} +1 -1
- package/dist/{chunk-RFENVF7Y.js → chunk-XUOGIKEE.js} +3 -3
- package/dist/{chunk-R22UAHRF.js → chunk-YDESULL7.js} +3 -1
- package/dist/{chunk-7I7G5ZJE.js → chunk-YIXWAK3A.js} +12 -7
- package/dist/{chunk-ZFPASY4R.js → chunk-Z2FX5GG4.js} +24 -12
- package/dist/chunk-ZNFBP5CQ.js +268 -0
- package/dist/{chunk-JQEAWWRP.js → chunk-ZPJOSHV7.js} +23 -12
- package/dist/{chunk-U2RBSUMY.js → chunk-ZU76OTV3.js} +2 -2
- package/dist/{collection-add-products-HCY2YT3W.js → collection-add-products-FWEVXBYC.js} +16 -9
- package/dist/{collection-detail-QAEPOJZX.js → collection-detail-U4AW4QJ3.js} +11 -12
- package/dist/{collection-list-AWLZYMWL.js → collection-list-PFXGNWL7.js} +15 -15
- package/dist/{collection-metadata-XM2EBCWF.js → collection-metadata-IKYBHHEU.js} +3 -3
- package/dist/{commission-rule-create-CDLLQIY4.js → commission-rule-create-QDNXXBTV.js} +64 -30
- package/dist/{commission-rule-detail-LFEZ5U6V.js → commission-rule-detail-QYJIK375.js} +3 -5
- package/dist/{commission-rule-edit-5CFKPI7U.js → commission-rule-edit-HICDPDLK.js} +58 -24
- package/dist/{commissions-list-MUKIEJWZ.js → commissions-list-AQUW636T.js} +6 -6
- package/dist/{customer-detail-XO7RBVUC.js → customer-detail-TBGKTNQQ.js} +9 -9
- package/dist/{customer-group-add-customers-XYWJSXKS.js → customer-group-add-customers-RWJOA2NJ.js} +3 -3
- package/dist/{customer-group-detail-4G53UKOS.js → customer-group-detail-47IPD337.js} +7 -8
- package/dist/{customer-group-list-5VA7HGD5.js → customer-group-list-Q2AYIVO4.js} +7 -8
- package/dist/{customer-group-metadata-FUJFFWCO.js → customer-group-metadata-T3WFBL7U.js} +3 -3
- package/dist/{customer-list-NEPELR3R.js → customer-list-JOPTF4QB.js} +5 -6
- package/dist/{customer-metadata-GWZC456X.js → customer-metadata-YSMWL4L3.js} +3 -3
- package/dist/{customers-add-customer-group-MYC76YGW.js → customers-add-customer-group-AVRYBS6Q.js} +14 -7
- package/dist/{edit-inventory-item-ZSV4WF6G.js → edit-inventory-item-7M7Q6HL4.js} +2 -2
- package/dist/{edit-inventory-item-attributes-NWSAQMKX.js → edit-inventory-item-attributes-E7J2WFPF.js} +2 -2
- package/dist/{edit-reservation-W3THLKKK.js → edit-reservation-S3QTQRPY.js} +11 -3
- package/dist/{edit-rules-RJC3AYJN.js → edit-rules-NRF7U4AT.js} +2 -2
- package/dist/extension-targets.d.ts +27 -0
- package/dist/home-4BDQXC4T.js +64 -0
- package/dist/index.css +226 -9
- package/dist/index.d.ts +10 -30
- package/dist/index.js +631 -3918
- package/dist/{inventory-detail-7HB5QEL4.js → inventory-detail-U6TRGZRY.js} +8 -8
- package/dist/{inventory-list-FN7FCI4W.js → inventory-list-JWA7U2LB.js} +4 -5
- package/dist/{inventory-metadata-FGHOW3YG.js → inventory-metadata-KO622YEI.js} +3 -3
- package/dist/{inventory-stock-PZ2ENOGF.js → inventory-stock-WWXYVFK2.js} +21 -11
- package/dist/{location-detail-B2BWLVAD.js → location-detail-27FBZML7.js} +5 -7
- package/dist/{location-fulfillment-providers-XIYMIEFN.js → location-fulfillment-providers-WT72L5JS.js} +21 -13
- package/dist/{location-list-VIAP63HV.js → location-list-RMHT36AO.js} +5 -7
- package/dist/{location-sales-channels-TNP3C7UW.js → location-sales-channels-JB5OIMXE.js} +13 -6
- package/dist/{location-service-zone-create-KPM4RSCF.js → location-service-zone-create-JKAKZCZ2.js} +3 -3
- package/dist/{location-service-zone-manage-areas-NW5JUTCH.js → location-service-zone-manage-areas-K2BMFI5Y.js} +3 -3
- package/dist/{location-service-zone-shipping-option-create-6O2JXV6I.js → location-service-zone-shipping-option-create-WJOLO6A3.js} +4 -4
- package/dist/{location-service-zone-shipping-option-edit-UUIR7B5S.js → location-service-zone-shipping-option-edit-I7BJGH76.js} +23 -10
- package/dist/{location-service-zone-shipping-option-pricing-Z5HCXRHG.js → location-service-zone-shipping-option-pricing-47Y3CP4U.js} +36 -12
- package/dist/{login-TZHRVYA5.js → login-ISNIWXU2.js} +3 -3
- package/dist/{manage-locations-ZFIRHMNH.js → manage-locations-5FKFNJQN.js} +158 -36
- package/dist/{marketplace-add-currencies-Z6FUIAU5.js → marketplace-add-currencies-34XKWMI7.js} +33 -9
- package/dist/{marketplace-detail-4IP5HIEW.js → marketplace-detail-A76FTENH.js} +7 -7
- package/dist/{marketplace-edit-G7YNGABC.js → marketplace-edit-KXKUECZQ.js} +61 -30
- package/dist/{marketplace-metadata-EGDXYKCE.js → marketplace-metadata-364KJG43.js} +3 -3
- package/dist/{offer-detail-page-WWEUCEFC.js → offer-detail-page-BDDDZSPL.js} +36 -13
- package/dist/{offer-variant-detail-page-FVJE5WLV.js → offer-variant-detail-page-HQU4HMZH.js} +4 -5
- package/dist/{offers-VG334CFD.js → offers-2JDCFVN4.js} +10 -11
- package/dist/{order-create-claim-4CIL76V5.js → order-create-claim-4ERPSGPD.js} +105 -61
- package/dist/{order-create-edit-BFE4N7RN.js → order-create-edit-BGLNMKKI.js} +17 -10
- package/dist/{order-create-exchange-CC7CQECO.js → order-create-exchange-TOPPZZGS.js} +107 -63
- package/dist/{order-create-refund-FJLL4CUD.js → order-create-refund-M3K5MZDM.js} +39 -24
- package/dist/{order-create-return-USO7AS7R.js → order-create-return-64GZ2LCL.js} +109 -70
- package/dist/{order-detail-3ODC5NOT.js → order-detail-DIUKR6ZJ.js} +9 -9
- package/dist/{order-edit-billing-address-SBVWRA25.js → order-edit-billing-address-ZAR5DETE.js} +3 -3
- package/dist/{order-edit-email-BREEW246.js → order-edit-email-V45SEUCO.js} +2 -2
- package/dist/{order-edit-shipping-address-XUG74AFY.js → order-edit-shipping-address-45Z6TNHL.js} +2 -2
- package/dist/{order-list-I6JZT6JK.js → order-list-KZHROLY3.js} +7 -7
- package/dist/{order-metadata-VIG5MGYV.js → order-metadata-7245QRUQ.js} +3 -3
- package/dist/{order-request-transfer-RYVK4WYW.js → order-request-transfer-JYPDXCY2.js} +28 -14
- package/dist/pages/index.d.ts +2 -2
- package/dist/pages/index.js +99 -98
- package/dist/{payout-list-WZ6QMJJY.js → payout-list-KILGQ4XP.js} +3 -3
- package/dist/{price-list-create-JFXLTNOJ.js → price-list-create-H3KJPUF4.js} +12 -12
- package/dist/{price-list-customer-availability-WU2OGO37.js → price-list-customer-availability-CQY55U4O.js} +31 -14
- package/dist/{price-list-detail-5YTX66KF.js → price-list-detail-I44VTKE6.js} +10 -11
- package/dist/{price-list-list-5CNSLAUF.js → price-list-list-TD5JIO7L.js} +5 -5
- package/dist/{price-list-prices-add-HVTEQOWQ.js → price-list-prices-add-XEJKCRTM.js} +11 -11
- package/dist/{price-list-prices-edit-OVHIDATP.js → price-list-prices-edit-WELHT4O4.js} +19 -10
- package/dist/{product-add-existing-attributes-2UFTXE2N.js → product-add-existing-attributes-5B6HD2M3.js} +10 -8
- package/dist/{product-create-SHIGHLQN.js → product-create-DTITIXGY.js} +12 -11
- package/dist/{product-create-attribute-QYRCPUFC.js → product-create-attribute-7TV3OHW7.js} +1 -1
- package/dist/{product-create-variant-MZLHG5JF.js → product-create-variant-S3UJRMMJ.js} +3 -3
- package/dist/{product-detail-UGSTCK7J.js → product-detail-2MYEE5AM.js} +9 -10
- package/dist/{product-edit-2CMVTDWT.js → product-edit-TAVV5CWR.js} +8 -3
- package/dist/{product-edit-attribute-W3AS47FM.js → product-edit-attribute-URHTZ2EQ.js} +9 -3
- package/dist/{product-list-XDJB3HX7.js → product-list-QYZXPM4I.js} +11 -12
- package/dist/{product-media-CO3F57JT.js → product-media-MFDAEXNQ.js} +3 -3
- package/dist/{product-metadata-5CRGB7TR.js → product-metadata-SC5BXN66.js} +3 -3
- package/dist/{product-organization-TNS7GBKN.js → product-organization-GCIGER6X.js} +87 -43
- package/dist/{product-sales-channels-PJNEIY4J.js → product-sales-channels-MNAFJKAI.js} +10 -5
- package/dist/{product-shipping-profile-SWB5FK7S.js → product-shipping-profile-G4NCDKSR.js} +25 -11
- package/dist/{product-tag-create-QORH6X2D.js → product-tag-create-PX7Q2AXU.js} +2 -2
- package/dist/{product-tag-detail-CDSYBTAM.js → product-tag-detail-4CGCZVSL.js} +18 -18
- package/dist/{product-tag-edit-JWYVCPCC.js → product-tag-edit-PXSZMCCT.js} +2 -2
- package/dist/{product-tag-list-RKLCU3UE.js → product-tag-list-2S6PHBIB.js} +18 -18
- package/dist/{product-tag-metadata-BCUPIIJ5.js → product-tag-metadata-2SO7ICOZ.js} +3 -3
- package/dist/{product-type-detail-IY7TWXUQ.js → product-type-detail-M4QLNFSG.js} +11 -12
- package/dist/{product-type-list-N3E5HQFW.js → product-type-list-JXU3446J.js} +5 -5
- package/dist/{product-type-metadata-DKBBQB6R.js → product-type-metadata-7D3J3NSO.js} +3 -3
- package/dist/{product-variant-detail-XHMS2UT5.js → product-variant-detail-VQ55W7PD.js} +4 -6
- package/dist/{product-variant-edit-4DPXTYPT.js → product-variant-edit-XEC7BR5G.js} +4 -4
- package/dist/{product-variant-metadata-ETVJBXSW.js → product-variant-metadata-KFLIOCU2.js} +3 -3
- package/dist/{profile-detail-KFLXUGQ5.js → profile-detail-SQZ6JFAN.js} +3 -5
- package/dist/{profile-edit-4FDALFG5.js → profile-edit-IVU3SBQA.js} +3 -3
- package/dist/{promotion-add-campaign-VAF3HTLK.js → promotion-add-campaign-SWTS4TM5.js} +2 -1
- package/dist/{promotion-create-7ZUJ4W2J.js → promotion-create-6TMK6PEP.js} +5 -4
- package/dist/{promotion-detail-SWO4PZDC.js → promotion-detail-YRWEIXY7.js} +7 -9
- package/dist/{promotion-list-S4B6SVD6.js → promotion-list-NFVGSR23.js} +9 -9
- package/dist/{refund-reason-create-P5FUFEGK.js → refund-reason-create-HZOBFOPB.js} +2 -2
- package/dist/{refund-reason-edit-AKOTWXCE.js → refund-reason-edit-KS6NMC22.js} +2 -2
- package/dist/{refund-reason-list-ABRFC3OQ.js → refund-reason-list-RL7WOHKC.js} +11 -12
- package/dist/{region-add-countries-4CTAVHYW.js → region-add-countries-47QLUMX7.js} +2 -2
- package/dist/{region-create-S2WUJ4RA.js → region-create-7DI3QEPU.js} +25 -11
- package/dist/{region-detail-IBLHFR57.js → region-detail-S5OT2PGL.js} +4 -5
- package/dist/{region-edit-NUMG2V5L.js → region-edit-IXCS3MRH.js} +32 -14
- package/dist/{region-list-JTR3SEWI.js → region-list-2MWAGD2D.js} +4 -5
- package/dist/{region-metadata-Q6HEMCHD.js → region-metadata-ADPG7OLJ.js} +3 -3
- package/dist/{reservation-create-H3T3AHTK.js → reservation-create-YEICXID2.js} +67 -44
- package/dist/{reservation-detail-5GYGVM3M.js → reservation-detail-EBIDXEVF.js} +4 -6
- package/dist/{reservation-list-VRRSKQ4W.js → reservation-list-5QNXC2WU.js} +4 -5
- package/dist/{reservation-metadata-P4G3JEDW.js → reservation-metadata-TWJE777O.js} +3 -3
- package/dist/{reset-password-VJY5CXJU.js → reset-password-FIZYJ2R4.js} +1 -1
- package/dist/{return-reason-list-6MQKG72S.js → return-reason-list-VDX6CFJL.js} +10 -10
- package/dist/{review-detail-K555FECH.js → review-detail-NPB3OKCE.js} +2 -4
- package/dist/{review-list-E56WE7VS.js → review-list-NXBVRP5T.js} +4 -5
- package/dist/{sales-channel-add-products-MPJ7UCEJ.js → sales-channel-add-products-MBSSIGYE.js} +19 -10
- package/dist/{sales-channel-detail-F37LBP6R.js → sales-channel-detail-R2BCF7TA.js} +11 -12
- package/dist/{sales-channel-list-XAWN5OKC.js → sales-channel-list-246V7NV3.js} +5 -7
- package/dist/{sales-channel-metadata-NBWFH4QX.js → sales-channel-metadata-PMLMQIKU.js} +3 -3
- package/dist/settings-XTXDKZEO.js +63 -0
- package/dist/{shipping-option-type-create-M23CI42D.js → shipping-option-type-create-NOFP2DOM.js} +2 -2
- package/dist/{shipping-option-type-detail-QIJZQ5WW.js → shipping-option-type-detail-47AZVCFP.js} +5 -7
- package/dist/{shipping-option-type-edit-WXTEQM32.js → shipping-option-type-edit-42JILKHX.js} +2 -2
- package/dist/{shipping-option-type-list-PRXZQSPR.js → shipping-option-type-list-TTAA63ZN.js} +8 -8
- package/dist/{shipping-profile-detail-KPRFJE4V.js → shipping-profile-detail-RGB67K3C.js} +2 -4
- package/dist/{shipping-profile-metadata-S7Z3IC6I.js → shipping-profile-metadata-GXMY5E57.js} +3 -3
- package/dist/{shipping-profiles-list-LK5ZXRJG.js → shipping-profiles-list-DD3G2THE.js} +4 -5
- package/dist/{store-bulk-edit-NBWZMDP7.js → store-bulk-edit-RRNJZEOU.js} +2 -2
- package/dist/{store-create-J4SL6SY3.js → store-create-UQ333C5F.js} +37 -15
- package/dist/{store-details-ITYKAZSI.js → store-details-D7RUCH5Y.js} +13 -14
- package/dist/{store-edit-NZMI7PNS.js → store-edit-RCNV5XI4.js} +3 -3
- package/dist/{store-list-RXPN3VVO.js → store-list-BMPOSAAE.js} +13 -14
- package/dist/{store-member-invite-IEUG54XA.js → store-member-invite-ALW6E3XA.js} +15 -6
- package/dist/{tax-region-create-PIDKQEWT.js → tax-region-create-3B6FWGWS.js} +3 -3
- package/dist/{tax-region-detail-7RNNZ4UE.js → tax-region-detail-PU4Q42KO.js} +8 -9
- package/dist/{tax-region-edit-I27QZZPB.js → tax-region-edit-P4L2CUFV.js} +2 -2
- package/dist/{tax-region-list-BXLYIYQT.js → tax-region-list-PUNXDH34.js} +5 -6
- package/dist/{tax-region-metadata-6YIZSRLO.js → tax-region-metadata-EDZ7YGYR.js} +3 -3
- package/dist/{tax-region-province-detail-AHS5SRP5.js → tax-region-province-detail-3ZQOCKZ2.js} +7 -8
- package/dist/{tax-region-tax-override-create-Z6S43XQ6.js → tax-region-tax-override-create-J5ZUAELL.js} +15 -15
- package/dist/{tax-region-tax-override-edit-4EOURL2M.js → tax-region-tax-override-edit-HDVKIL5P.js} +46 -26
- package/dist/{user-detail-5LOE6QGK.js → user-detail-4H37KBIP.js} +3 -5
- package/dist/{user-edit-O2M5II52.js → user-edit-42A2VX5E.js} +1 -1
- package/dist/{user-invite-SZIUG2WK.js → user-invite-5EJ3CIQZ.js} +35 -134
- package/dist/{user-list-6YRC6HYX.js → user-list-EZ56HFI3.js} +5 -6
- package/dist/{user-metadata-2PEU2IJE.js → user-metadata-3GENWLUS.js} +3 -3
- package/package.json +14 -14
- package/dist/chunk-4F6SHS7A.js +0 -83
- package/dist/chunk-BDGZ4EQO.js +0 -86
- package/dist/chunk-WMA3WTCM.js +0 -117
- package/dist/home-I3OILW5Z.js +0 -16
- package/dist/settings-AVE3VCCM.js +0 -19
- package/dist/{customer-edit-5EH2AUGN.js → customer-edit-LDKAXHZ6.js} +3 -3
- package/dist/{invite-6WUERQLW.js → invite-IZ2YTVPF.js} +1 -1
|
@@ -25,7 +25,10 @@ import {
|
|
|
25
25
|
} from "./chunk-E74OUNA3.js";
|
|
26
26
|
import {
|
|
27
27
|
NoRecords
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-4J74G7N2.js";
|
|
29
|
+
import {
|
|
30
|
+
ActionMenu
|
|
31
|
+
} from "./chunk-3UOYBH5O.js";
|
|
29
32
|
import {
|
|
30
33
|
useDeleteFulfillmentServiceZone,
|
|
31
34
|
useDeleteFulfillmentSet
|
|
@@ -39,9 +42,6 @@ import {
|
|
|
39
42
|
useFulfillmentProviders,
|
|
40
43
|
useStockLocation
|
|
41
44
|
} from "./chunk-H5E3CGD7.js";
|
|
42
|
-
import {
|
|
43
|
-
ActionMenu
|
|
44
|
-
} from "./chunk-BDGZ4EQO.js";
|
|
45
45
|
import {
|
|
46
46
|
useSalesChannels
|
|
47
47
|
} from "./chunk-JC2FFAMW.js";
|
|
@@ -72,11 +72,13 @@ import {
|
|
|
72
72
|
StatusBadge,
|
|
73
73
|
Text,
|
|
74
74
|
toast,
|
|
75
|
+
Tooltip,
|
|
75
76
|
usePrompt
|
|
76
77
|
} from "@medusajs/ui";
|
|
77
78
|
import { useMemo, useState } from "react";
|
|
78
79
|
import { useTranslation } from "react-i18next";
|
|
79
80
|
import { useNavigate } from "react-router-dom";
|
|
81
|
+
import { usePermissionGate } from "@mercurjs/dashboard-shared";
|
|
80
82
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
81
83
|
var LocationGeneralSection = ({
|
|
82
84
|
location
|
|
@@ -177,10 +179,12 @@ function ShippingOption({
|
|
|
177
179
|
actions: [
|
|
178
180
|
{
|
|
179
181
|
icon: /* @__PURE__ */ jsx(PencilSquare, {}),
|
|
182
|
+
permission: "shipping_options:edit",
|
|
180
183
|
label: t("stockLocations.shippingOptions.edit.action"),
|
|
181
184
|
to: `/settings/locations/${locationId}/fulfillment-set/${fulfillmentSetId}/service-zone/${option.service_zone_id}/shipping-option/${option.id}/edit`
|
|
182
185
|
},
|
|
183
186
|
{
|
|
187
|
+
permission: "shipping_options:edit",
|
|
184
188
|
label: t("stockLocations.shippingOptions.pricing.action"),
|
|
185
189
|
icon: /* @__PURE__ */ jsx(CurrencyDollar, {}),
|
|
186
190
|
disabled: option.price_type === "calculated" /* Calculated */,
|
|
@@ -191,6 +195,7 @@ function ShippingOption({
|
|
|
191
195
|
{
|
|
192
196
|
actions: [
|
|
193
197
|
{
|
|
198
|
+
permission: "shipping_options:manage",
|
|
194
199
|
label: t("actions.delete"),
|
|
195
200
|
icon: /* @__PURE__ */ jsx(Trash, {}),
|
|
196
201
|
onClick: handleDelete
|
|
@@ -210,6 +215,7 @@ function ServiceZoneOptions({
|
|
|
210
215
|
type
|
|
211
216
|
}) {
|
|
212
217
|
const { t } = useTranslation();
|
|
218
|
+
const createGate = usePermissionGate("shipping_options:edit");
|
|
213
219
|
const shippingOptions = zone.shipping_options.filter(
|
|
214
220
|
(o) => !isReturnOption(o)
|
|
215
221
|
);
|
|
@@ -219,7 +225,14 @@ function ServiceZoneOptions({
|
|
|
219
225
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-y-4 px-6 py-4", "data-testid": `location-service-zone-shipping-options-${zone.id}`, children: [
|
|
220
226
|
/* @__PURE__ */ jsxs("div", { className: "item-center flex justify-between", "data-testid": `location-service-zone-shipping-options-header-${zone.id}`, children: [
|
|
221
227
|
/* @__PURE__ */ jsx("span", { className: "text-ui-fg-subtle txt-small self-center font-medium", "data-testid": `location-service-zone-shipping-options-label-${zone.id}`, children: t(`stockLocations.shippingOptions.create.${type}.label`) }),
|
|
222
|
-
/* @__PURE__ */ jsx(
|
|
228
|
+
createGate.denied ? /* @__PURE__ */ jsx(Tooltip, { content: createGate.tooltip, children: /* @__PURE__ */ jsx(
|
|
229
|
+
"span",
|
|
230
|
+
{
|
|
231
|
+
className: "text-ui-fg-disabled txt-compact-small-plus",
|
|
232
|
+
"data-testid": `location-service-zone-shipping-options-create-button-${zone.id}`,
|
|
233
|
+
children: t("stockLocations.shippingOptions.create.action")
|
|
234
|
+
}
|
|
235
|
+
) }) : /* @__PURE__ */ jsx(
|
|
223
236
|
LinkButton,
|
|
224
237
|
{
|
|
225
238
|
to: `/settings/locations/${locationId}/fulfillment-set/${fulfillmentSetId}/service-zone/${zone.id}/shipping-option/create`,
|
|
@@ -242,7 +255,14 @@ function ServiceZoneOptions({
|
|
|
242
255
|
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-y-4 px-6 py-4", "data-testid": `location-service-zone-return-options-${zone.id}`, children: [
|
|
243
256
|
/* @__PURE__ */ jsxs("div", { className: "item-center flex justify-between", "data-testid": `location-service-zone-return-options-header-${zone.id}`, children: [
|
|
244
257
|
/* @__PURE__ */ jsx("span", { className: "text-ui-fg-subtle txt-small self-center font-medium", "data-testid": `location-service-zone-return-options-label-${zone.id}`, children: t("stockLocations.shippingOptions.create.returns.label") }),
|
|
245
|
-
/* @__PURE__ */ jsx(
|
|
258
|
+
createGate.denied ? /* @__PURE__ */ jsx(Tooltip, { content: createGate.tooltip, children: /* @__PURE__ */ jsx(
|
|
259
|
+
"span",
|
|
260
|
+
{
|
|
261
|
+
className: "text-ui-fg-disabled txt-compact-small-plus",
|
|
262
|
+
"data-testid": `location-service-zone-return-options-create-button-${zone.id}`,
|
|
263
|
+
children: t("stockLocations.shippingOptions.create.action")
|
|
264
|
+
}
|
|
265
|
+
) }) : /* @__PURE__ */ jsx(
|
|
246
266
|
LinkButton,
|
|
247
267
|
{
|
|
248
268
|
to: `/settings/locations/${locationId}/fulfillment-set/${fulfillmentSetId}/service-zone/${zone.id}/shipping-option/create?is_return`,
|
|
@@ -372,11 +392,13 @@ function ServiceZone({
|
|
|
372
392
|
{
|
|
373
393
|
actions: [
|
|
374
394
|
{
|
|
395
|
+
permission: "fulfillment_sets:edit",
|
|
375
396
|
label: t("actions.edit"),
|
|
376
397
|
icon: /* @__PURE__ */ jsx(PencilSquare, {}),
|
|
377
398
|
to: `/settings/locations/${locationId}/fulfillment-set/${fulfillmentSetId}/service-zone/${zone.id}/edit`
|
|
378
399
|
},
|
|
379
400
|
{
|
|
401
|
+
permission: "fulfillment_sets:edit",
|
|
380
402
|
label: t("stockLocations.serviceZones.manageAreas.action"),
|
|
381
403
|
icon: /* @__PURE__ */ jsx(Map, {}),
|
|
382
404
|
to: `/settings/locations/${locationId}/fulfillment-set/${fulfillmentSetId}/service-zone/${zone.id}/areas`
|
|
@@ -386,6 +408,7 @@ function ServiceZone({
|
|
|
386
408
|
{
|
|
387
409
|
actions: [
|
|
388
410
|
{
|
|
411
|
+
permission: "fulfillment_sets:manage",
|
|
389
412
|
label: t("actions.delete"),
|
|
390
413
|
icon: /* @__PURE__ */ jsx(Trash, {}),
|
|
391
414
|
onClick: handleDelete
|
|
@@ -461,6 +484,7 @@ function FulfillmentSet(props) {
|
|
|
461
484
|
actions: [
|
|
462
485
|
{
|
|
463
486
|
icon: /* @__PURE__ */ jsx(Plus, {}),
|
|
487
|
+
permission: "fulfillment_sets:edit",
|
|
464
488
|
label: t("stockLocations.serviceZones.create.action"),
|
|
465
489
|
to: `/settings/locations/${locationId}/fulfillment-set/${fulfillmentSet.id}/service-zones/create`
|
|
466
490
|
}
|
|
@@ -470,6 +494,7 @@ function FulfillmentSet(props) {
|
|
|
470
494
|
actions: [
|
|
471
495
|
{
|
|
472
496
|
icon: /* @__PURE__ */ jsx(Trash, {}),
|
|
497
|
+
permission: "fulfillment_sets:manage",
|
|
473
498
|
label: t("actions.disable"),
|
|
474
499
|
onClick: handleDelete
|
|
475
500
|
}
|
|
@@ -480,6 +505,7 @@ function FulfillmentSet(props) {
|
|
|
480
505
|
actions: [
|
|
481
506
|
{
|
|
482
507
|
icon: /* @__PURE__ */ jsx(Plus, {}),
|
|
508
|
+
permission: "stock_locations:edit",
|
|
483
509
|
label: t("actions.enable"),
|
|
484
510
|
onClick: handleCreate
|
|
485
511
|
}
|
|
@@ -503,6 +529,7 @@ function FulfillmentSet(props) {
|
|
|
503
529
|
className: "h-fit",
|
|
504
530
|
action: {
|
|
505
531
|
to: `/settings/locations/${locationId}/fulfillment-set/${fulfillmentSet.id}/service-zones/create`,
|
|
532
|
+
permission: "fulfillment_sets:edit",
|
|
506
533
|
label: t("stockLocations.serviceZones.create.action")
|
|
507
534
|
}
|
|
508
535
|
}
|
|
@@ -560,6 +587,7 @@ var Actions = ({ location }) => {
|
|
|
560
587
|
actions: [
|
|
561
588
|
{
|
|
562
589
|
icon: /* @__PURE__ */ jsx(PencilSquare, {}),
|
|
590
|
+
permission: "stock_locations:edit",
|
|
563
591
|
label: t("actions.edit"),
|
|
564
592
|
to: `edit`
|
|
565
593
|
},
|
|
@@ -574,6 +602,7 @@ var Actions = ({ location }) => {
|
|
|
574
602
|
actions: [
|
|
575
603
|
{
|
|
576
604
|
icon: /* @__PURE__ */ jsx(Trash, {}),
|
|
605
|
+
permission: "stock_locations:manage",
|
|
577
606
|
label: t("actions.delete"),
|
|
578
607
|
onClick: handleDelete
|
|
579
608
|
}
|
|
@@ -588,13 +617,18 @@ var Actions = ({ location }) => {
|
|
|
588
617
|
// src/pages/locations/location-detail/components/location-sales-channels-section/locations-sales-channels-section.tsx
|
|
589
618
|
import { Channels, PencilSquare as PencilSquare2 } from "@medusajs/icons";
|
|
590
619
|
import { Container as Container2, Heading as Heading2, Text as Text2 } from "@medusajs/ui";
|
|
620
|
+
import { useCan } from "@mercurjs/dashboard-shared";
|
|
591
621
|
import { useTranslation as useTranslation2 } from "react-i18next";
|
|
592
622
|
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
593
623
|
function LocationsSalesChannelsSection({
|
|
594
624
|
location
|
|
595
625
|
}) {
|
|
596
626
|
const { t } = useTranslation2();
|
|
597
|
-
const
|
|
627
|
+
const canViewSalesChannels = useCan("sales_channels");
|
|
628
|
+
const { count } = useSalesChannels(
|
|
629
|
+
{ limit: 1, fields: "id" },
|
|
630
|
+
{ enabled: canViewSalesChannels }
|
|
631
|
+
);
|
|
598
632
|
const hasConnectedChannels = !!location.sales_channels?.length;
|
|
599
633
|
return /* @__PURE__ */ jsxs2(Container2, { className: "flex flex-col px-6 py-4", "data-testid": "location-sales-channels-section-container", children: [
|
|
600
634
|
/* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-between", "data-testid": "location-sales-channels-section-header", children: [
|
|
@@ -606,6 +640,7 @@ function LocationsSalesChannelsSection({
|
|
|
606
640
|
{
|
|
607
641
|
actions: [
|
|
608
642
|
{
|
|
643
|
+
permission: "stock_locations:edit",
|
|
609
644
|
label: t("actions.edit"),
|
|
610
645
|
to: "sales-channels",
|
|
611
646
|
icon: /* @__PURE__ */ jsx2(PencilSquare2, {})
|
|
@@ -631,7 +666,7 @@ function LocationsSalesChannelsSection({
|
|
|
631
666
|
}
|
|
632
667
|
)
|
|
633
668
|
] }),
|
|
634
|
-
/* @__PURE__ */ jsx2(Text2, { className: "text-ui-fg-subtle", size: "small", leading: "compact", "data-testid": "location-sales-channels-section-description", children: t("stockLocations.salesChannels.connectedTo", {
|
|
669
|
+
canViewSalesChannels && /* @__PURE__ */ jsx2(Text2, { className: "text-ui-fg-subtle", size: "small", leading: "compact", "data-testid": "location-sales-channels-section-description", children: t("stockLocations.salesChannels.connectedTo", {
|
|
635
670
|
count: location.sales_channels?.length,
|
|
636
671
|
total: count
|
|
637
672
|
}) })
|
|
@@ -640,6 +675,7 @@ function LocationsSalesChannelsSection({
|
|
|
640
675
|
{
|
|
641
676
|
className: "h-fit pb-2 pt-6",
|
|
642
677
|
action: {
|
|
678
|
+
permission: "stock_locations:edit",
|
|
643
679
|
label: t("stockLocations.salesChannels.action"),
|
|
644
680
|
to: "sales-channels"
|
|
645
681
|
},
|
|
@@ -657,6 +693,7 @@ import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
|
657
693
|
// src/pages/locations/location-detail/components/location-fulfillment-providers-section/location-fulfillment-providers-section.tsx
|
|
658
694
|
import { HandTruck, PencilSquare as PencilSquare3 } from "@medusajs/icons";
|
|
659
695
|
import { Container as Container3, Heading as Heading3 } from "@medusajs/ui";
|
|
696
|
+
import { SectionNoAccess, useCan as useCan2 } from "@mercurjs/dashboard-shared";
|
|
660
697
|
import { Fragment as Fragment2 } from "react";
|
|
661
698
|
import { useTranslation as useTranslation3 } from "react-i18next";
|
|
662
699
|
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
@@ -664,11 +701,15 @@ function LocationsFulfillmentProvidersSection({
|
|
|
664
701
|
location
|
|
665
702
|
}) {
|
|
666
703
|
const { t } = useTranslation3();
|
|
667
|
-
const
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
704
|
+
const canViewProviders = useCan2("fulfillment_sets");
|
|
705
|
+
const { fulfillment_providers } = useFulfillmentProviders(
|
|
706
|
+
{
|
|
707
|
+
stock_location_id: location.id,
|
|
708
|
+
fields: "id",
|
|
709
|
+
is_enabled: true
|
|
710
|
+
},
|
|
711
|
+
{ enabled: canViewProviders }
|
|
712
|
+
);
|
|
672
713
|
return /* @__PURE__ */ jsxs3(Container3, { className: "flex flex-col px-6 py-4", "data-testid": "location-fulfillment-providers-section-container", children: [
|
|
673
714
|
/* @__PURE__ */ jsxs3("div", { className: "flex items-center justify-between", "data-testid": "location-fulfillment-providers-section-header", children: [
|
|
674
715
|
/* @__PURE__ */ jsx3(Heading3, { level: "h2", "data-testid": "location-fulfillment-providers-section-heading", children: t("stockLocations.fulfillmentProviders.header") }),
|
|
@@ -679,6 +720,7 @@ function LocationsFulfillmentProvidersSection({
|
|
|
679
720
|
{
|
|
680
721
|
actions: [
|
|
681
722
|
{
|
|
723
|
+
permission: "stock_locations:edit",
|
|
682
724
|
label: t("actions.edit"),
|
|
683
725
|
to: "fulfillment-providers",
|
|
684
726
|
icon: /* @__PURE__ */ jsx3(PencilSquare3, {})
|
|
@@ -690,7 +732,7 @@ function LocationsFulfillmentProvidersSection({
|
|
|
690
732
|
}
|
|
691
733
|
)
|
|
692
734
|
] }),
|
|
693
|
-
fulfillment_providers?.length ? /* @__PURE__ */ jsx3("div", { className: "flex flex-col gap-y-4 pt-4", "data-testid": "location-fulfillment-providers-section-content", children: /* @__PURE__ */ jsx3("div", { className: "grid grid-cols-[28px_1fr] items-center gap-x-3 gap-y-3", "data-testid": "location-fulfillment-providers-section-list", children: fulfillment_providers?.map((fulfillmentProvider) => {
|
|
735
|
+
!canViewProviders ? /* @__PURE__ */ jsx3(SectionNoAccess, { className: "px-0 pb-0 pt-4" }) : fulfillment_providers?.length ? /* @__PURE__ */ jsx3("div", { className: "flex flex-col gap-y-4 pt-4", "data-testid": "location-fulfillment-providers-section-content", children: /* @__PURE__ */ jsx3("div", { className: "grid grid-cols-[28px_1fr] items-center gap-x-3 gap-y-3", "data-testid": "location-fulfillment-providers-section-list", children: fulfillment_providers?.map((fulfillmentProvider) => {
|
|
694
736
|
return /* @__PURE__ */ jsxs3(Fragment2, { children: [
|
|
695
737
|
/* @__PURE__ */ jsx3(IconAvatar, { "data-testid": `location-fulfillment-providers-section-provider-icon-${fulfillmentProvider.id}`, children: /* @__PURE__ */ jsx3(HandTruck, { className: "text-ui-fg-subtle" }) }),
|
|
696
738
|
/* @__PURE__ */ jsx3("div", { className: "txt-compact-small", "data-testid": `location-fulfillment-providers-section-provider-name-${fulfillmentProvider.id}`, children: formatProvider(fulfillmentProvider.id) })
|
|
@@ -700,6 +742,7 @@ function LocationsFulfillmentProvidersSection({
|
|
|
700
742
|
{
|
|
701
743
|
className: "h-fit pb-2 pt-6 text-center",
|
|
702
744
|
action: {
|
|
745
|
+
permission: "stock_locations:edit",
|
|
703
746
|
label: t("stockLocations.fulfillmentProviders.action"),
|
|
704
747
|
to: "fulfillment-providers"
|
|
705
748
|
},
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
useOfferTableColumns,
|
|
6
6
|
useOfferTableFilters,
|
|
7
7
|
useOfferTableQuery
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-IBTEL5KA.js";
|
|
9
9
|
import {
|
|
10
10
|
getPriceListStatus
|
|
11
11
|
} from "./chunk-KVAD5JGS.js";
|
|
@@ -24,10 +24,13 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
_DataTable,
|
|
26
26
|
useDataTable
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-SU36MZXC.js";
|
|
28
28
|
import {
|
|
29
29
|
NoRecords
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-4J74G7N2.js";
|
|
31
|
+
import {
|
|
32
|
+
ActionMenu
|
|
33
|
+
} from "./chunk-3UOYBH5O.js";
|
|
31
34
|
import {
|
|
32
35
|
usePriceList,
|
|
33
36
|
usePriceListLinkProducts
|
|
@@ -35,9 +38,6 @@ import {
|
|
|
35
38
|
import {
|
|
36
39
|
useCustomerGroups
|
|
37
40
|
} from "./chunk-XWOFQSGH.js";
|
|
38
|
-
import {
|
|
39
|
-
ActionMenu
|
|
40
|
-
} from "./chunk-BDGZ4EQO.js";
|
|
41
41
|
import {
|
|
42
42
|
Skeleton,
|
|
43
43
|
TwoColumnPageSkeleton
|
|
@@ -68,6 +68,7 @@ var PriceListConfigurationSection = ({
|
|
|
68
68
|
{
|
|
69
69
|
actions: [
|
|
70
70
|
{
|
|
71
|
+
permission: "price_lists:edit",
|
|
71
72
|
label: t("actions.edit"),
|
|
72
73
|
to: "configuration",
|
|
73
74
|
icon: /* @__PURE__ */ jsx(PencilSquare, {})
|
|
@@ -102,6 +103,7 @@ var PriceListConfigurationSection = ({
|
|
|
102
103
|
// src/pages/price-lists/price-list-detail/components/price-list-customer-availability-section/price-list-customer-availability-section.tsx
|
|
103
104
|
import { PencilSquare as PencilSquare2 } from "@medusajs/icons";
|
|
104
105
|
import { Badge, Container as Container2, Heading as Heading2 } from "@medusajs/ui";
|
|
106
|
+
import { SectionNoAccess, isForbidden, useCan } from "@mercurjs/dashboard-shared";
|
|
105
107
|
import { useTranslation as useTranslation2 } from "react-i18next";
|
|
106
108
|
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
107
109
|
var PriceListCustomerAvailabilitySection = ({
|
|
@@ -109,10 +111,12 @@ var PriceListCustomerAvailabilitySection = ({
|
|
|
109
111
|
}) => {
|
|
110
112
|
const { t } = useTranslation2();
|
|
111
113
|
const customerGroupIds = priceList.rules?.["customer.groups.id"];
|
|
112
|
-
const
|
|
114
|
+
const canViewCustomerGroups = useCan("customer_groups");
|
|
115
|
+
const { customer_groups, isPending, isError, error } = useCustomerGroups(
|
|
113
116
|
{ id: customerGroupIds },
|
|
114
|
-
{ enabled: !!customerGroupIds?.length }
|
|
117
|
+
{ enabled: !!customerGroupIds?.length && canViewCustomerGroups }
|
|
115
118
|
);
|
|
119
|
+
const isNoAccess = !!customerGroupIds?.length && (!canViewCustomerGroups || isForbidden(error));
|
|
116
120
|
const isEmpty = !customerGroupIds?.length || isError;
|
|
117
121
|
return /* @__PURE__ */ jsxs2(Container2, { className: "p-0", "data-testid": "price-list-customer-availability-section-container", children: [
|
|
118
122
|
/* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": "price-list-customer-availability-section-header", children: [
|
|
@@ -124,6 +128,7 @@ var PriceListCustomerAvailabilitySection = ({
|
|
|
124
128
|
{
|
|
125
129
|
actions: [
|
|
126
130
|
{
|
|
131
|
+
permission: "price_lists:edit",
|
|
127
132
|
label: t("actions.edit"),
|
|
128
133
|
to: "customer-availability",
|
|
129
134
|
icon: /* @__PURE__ */ jsx2(PencilSquare2, {})
|
|
@@ -135,7 +140,7 @@ var PriceListCustomerAvailabilitySection = ({
|
|
|
135
140
|
}
|
|
136
141
|
)
|
|
137
142
|
] }),
|
|
138
|
-
/* @__PURE__ */ jsx2("div", { className: "text-ui-fg-subtle flex flex-col gap-2 px-6 pb-4 pt-2", "data-testid": "price-list-customer-availability-section-content", children: isEmpty ? /* @__PURE__ */ jsx2(
|
|
143
|
+
/* @__PURE__ */ jsx2("div", { className: "text-ui-fg-subtle flex flex-col gap-2 px-6 pb-4 pt-2", "data-testid": "price-list-customer-availability-section-content", children: isNoAccess ? /* @__PURE__ */ jsx2(SectionNoAccess, { className: "" }) : isEmpty ? /* @__PURE__ */ jsx2(
|
|
139
144
|
NoRecords,
|
|
140
145
|
{
|
|
141
146
|
className: "h-[180px]",
|
|
@@ -144,6 +149,7 @@ var PriceListCustomerAvailabilitySection = ({
|
|
|
144
149
|
message: t("priceLists.customerAvailability.list.noRecordsMessage"),
|
|
145
150
|
action: {
|
|
146
151
|
to: "customer-availability",
|
|
152
|
+
permission: "price_lists:edit",
|
|
147
153
|
label: t("priceLists.customerAvailability.add")
|
|
148
154
|
},
|
|
149
155
|
dataTestId: "price-list-customer-availability-section-add-button"
|
|
@@ -203,6 +209,7 @@ var PriceListGeneralSection = ({
|
|
|
203
209
|
{
|
|
204
210
|
actions: [
|
|
205
211
|
{
|
|
212
|
+
permission: "price_lists:edit",
|
|
206
213
|
label: t("actions.edit"),
|
|
207
214
|
to: "edit",
|
|
208
215
|
icon: /* @__PURE__ */ jsx3(PencilSquare3, {})
|
|
@@ -212,6 +219,7 @@ var PriceListGeneralSection = ({
|
|
|
212
219
|
{
|
|
213
220
|
actions: [
|
|
214
221
|
{
|
|
222
|
+
permission: "price_lists:manage",
|
|
215
223
|
label: t("actions.delete"),
|
|
216
224
|
onClick: handleDelete,
|
|
217
225
|
icon: /* @__PURE__ */ jsx3(Trash, {})
|
|
@@ -255,7 +263,12 @@ import {
|
|
|
255
263
|
import { useMemo, useRef, useState } from "react";
|
|
256
264
|
import { useTranslation as useTranslation4 } from "react-i18next";
|
|
257
265
|
import { Link, useNavigate } from "react-router-dom";
|
|
258
|
-
import {
|
|
266
|
+
import {
|
|
267
|
+
DisplayExtensionZone as DisplayExtensionZone3,
|
|
268
|
+
SectionNoAccess as SectionNoAccess2,
|
|
269
|
+
useCan as useCan2,
|
|
270
|
+
PermissionAction
|
|
271
|
+
} from "@mercurjs/dashboard-shared";
|
|
259
272
|
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
260
273
|
var PAGE_SIZE = 10;
|
|
261
274
|
var PREFIX = "p";
|
|
@@ -269,6 +282,7 @@ var PriceListProductSection = ({
|
|
|
269
282
|
const { price_list: pricedList } = usePriceList(priceList.id, {
|
|
270
283
|
fields: "id,+prices.price_rules.attribute,+prices.price_rules.value"
|
|
271
284
|
});
|
|
285
|
+
const canViewOffers = useCan2("offers");
|
|
272
286
|
const offerIds = useMemo(() => {
|
|
273
287
|
const ids = /* @__PURE__ */ new Set();
|
|
274
288
|
for (const price of pricedList?.prices ?? []) {
|
|
@@ -288,7 +302,7 @@ var PriceListProductSection = ({
|
|
|
288
302
|
{ ...ungroupedParams, id: offerIds, limit: offerIds.length || 1, offset: 0 },
|
|
289
303
|
{
|
|
290
304
|
placeholderData: keepPreviousData,
|
|
291
|
-
enabled: offerIds.length > 0
|
|
305
|
+
enabled: offerIds.length > 0 && canViewOffers
|
|
292
306
|
}
|
|
293
307
|
);
|
|
294
308
|
const groupedOffers = useMemo(() => {
|
|
@@ -379,6 +393,7 @@ var PriceListProductSection = ({
|
|
|
379
393
|
{
|
|
380
394
|
actions: [
|
|
381
395
|
{
|
|
396
|
+
permission: "price_lists:edit",
|
|
382
397
|
label: t("priceLists.products.actions.editPrices"),
|
|
383
398
|
to: "products/edit",
|
|
384
399
|
icon: /* @__PURE__ */ jsx4(PencilSquare4, {}),
|
|
@@ -392,10 +407,10 @@ var PriceListProductSection = ({
|
|
|
392
407
|
children: /* @__PURE__ */ jsx4(Button, { size: "small", variant: "secondary", className: "h-7 w-7 p-0", "data-testid": "price-list-product-section-action-menu-trigger", children: /* @__PURE__ */ jsx4(EllipsisHorizontal, {}) })
|
|
393
408
|
}
|
|
394
409
|
),
|
|
395
|
-
/* @__PURE__ */ jsx4(Button, { size: "small", variant: "secondary", asChild: true, "data-testid": "price-list-product-section-add-button", children: /* @__PURE__ */ jsx4(Link, { to: "products/add", children: t("actions.add") }) })
|
|
410
|
+
/* @__PURE__ */ jsx4(PermissionAction, { permission: "price_lists:edit", children: /* @__PURE__ */ jsx4(Button, { size: "small", variant: "secondary", asChild: true, "data-testid": "price-list-product-section-add-button", children: /* @__PURE__ */ jsx4(Link, { to: "products/add", children: t("actions.add") }) }) })
|
|
396
411
|
] })
|
|
397
412
|
] }),
|
|
398
|
-
isError ? /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-x-2 px-6 py-4", "data-testid": "price-list-product-section-error", children: [
|
|
413
|
+
!canViewOffers && offerIds.length > 0 ? /* @__PURE__ */ jsx4(SectionNoAccess2, {}) : isError ? /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-x-2 px-6 py-4", "data-testid": "price-list-product-section-error", children: [
|
|
399
414
|
/* @__PURE__ */ jsx4(ExclamationCircle, { className: "text-ui-fg-subtle" }),
|
|
400
415
|
/* @__PURE__ */ jsx4(Text2, { size: "small", className: "text-ui-fg-subtle", children: error?.message || t("general.error") })
|
|
401
416
|
] }) : /* @__PURE__ */ jsx4(
|
|
@@ -416,11 +431,13 @@ var PriceListProductSection = ({
|
|
|
416
431
|
commands: [
|
|
417
432
|
{
|
|
418
433
|
action: handleEdit,
|
|
434
|
+
permission: "price_lists:edit",
|
|
419
435
|
label: t("priceLists.products.actions.editPrices"),
|
|
420
436
|
shortcut: "e"
|
|
421
437
|
},
|
|
422
438
|
{
|
|
423
439
|
action: handleDelete,
|
|
440
|
+
permission: "price_lists:edit",
|
|
424
441
|
label: t("actions.remove"),
|
|
425
442
|
shortcut: "r"
|
|
426
443
|
}
|
|
@@ -472,6 +489,7 @@ var OfferRowAction = ({
|
|
|
472
489
|
actions: [
|
|
473
490
|
{
|
|
474
491
|
icon: /* @__PURE__ */ jsx4(PencilSquare4, {}),
|
|
492
|
+
permission: "price_lists:edit",
|
|
475
493
|
label: t("priceLists.products.actions.editPrices"),
|
|
476
494
|
to: `products/edit?ids[]=${offer.product_id}`
|
|
477
495
|
}
|
|
@@ -481,6 +499,7 @@ var OfferRowAction = ({
|
|
|
481
499
|
actions: [
|
|
482
500
|
{
|
|
483
501
|
icon: /* @__PURE__ */ jsx4(Trash2, {}),
|
|
502
|
+
permission: "price_lists:edit",
|
|
484
503
|
label: t("actions.remove"),
|
|
485
504
|
onClick: handleDelete
|
|
486
505
|
}
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
getPromotionStatus,
|
|
9
9
|
getPromotionType
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-O5W5DCKH.js";
|
|
11
11
|
import {
|
|
12
12
|
PROMOTION_DETAIL_BASE_FIELDS
|
|
13
13
|
} from "./chunk-LXTXP7ZM.js";
|
|
@@ -22,15 +22,15 @@ import {
|
|
|
22
22
|
} from "./chunk-E74OUNA3.js";
|
|
23
23
|
import {
|
|
24
24
|
NoRecords
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-4J74G7N2.js";
|
|
26
|
+
import {
|
|
27
|
+
ActionMenu
|
|
28
|
+
} from "./chunk-3UOYBH5O.js";
|
|
26
29
|
import {
|
|
27
30
|
useDeletePromotion,
|
|
28
31
|
usePromotion,
|
|
29
32
|
usePromotionRules
|
|
30
33
|
} from "./chunk-E5PC2WDZ.js";
|
|
31
|
-
import {
|
|
32
|
-
ActionMenu
|
|
33
|
-
} from "./chunk-BDGZ4EQO.js";
|
|
34
34
|
import {
|
|
35
35
|
TwoColumnPageSkeleton
|
|
36
36
|
} from "./chunk-INNFZYX2.js";
|
|
@@ -84,6 +84,7 @@ var CampaignSection = ({
|
|
|
84
84
|
const warning = campaign && promotion?.status !== "active" ? t("promotions.campaignSection.warnings.promotionMustBeActive") : campaign?.ends_at ? t("promotions.campaignSection.warnings.promotionExpires") : void 0;
|
|
85
85
|
const actions = [
|
|
86
86
|
{
|
|
87
|
+
permission: "promotions:edit",
|
|
87
88
|
label: t("actions.edit"),
|
|
88
89
|
to: "add-to-campaign",
|
|
89
90
|
icon: /* @__PURE__ */ jsx(PencilSquare, {})
|
|
@@ -119,6 +120,7 @@ var CampaignSection = ({
|
|
|
119
120
|
message: t("promotions.campaignSection.noRecordsMessage"),
|
|
120
121
|
action: {
|
|
121
122
|
to: `/promotions/${id}/add-to-campaign`,
|
|
123
|
+
permission: "promotions:edit",
|
|
122
124
|
label: t("promotions.campaignSection.addToCampaign")
|
|
123
125
|
},
|
|
124
126
|
dataTestId: "promotion-campaign-section-add-to-campaign-button"
|
|
@@ -205,6 +207,7 @@ var PromotionConditionsSection = ({
|
|
|
205
207
|
actions: [
|
|
206
208
|
{
|
|
207
209
|
icon: /* @__PURE__ */ jsx2(PencilSquare2, {}),
|
|
210
|
+
permission: "promotions:edit",
|
|
208
211
|
label: t("actions.edit"),
|
|
209
212
|
to: `${ruleType}/edit`
|
|
210
213
|
}
|
|
@@ -236,6 +239,7 @@ var PromotionConditionsSection = ({
|
|
|
236
239
|
message: t("promotions.conditions.list.noRecordsMessage"),
|
|
237
240
|
action: {
|
|
238
241
|
to: `${ruleType}/edit`,
|
|
242
|
+
permission: "promotions:edit",
|
|
239
243
|
label: t("promotions.conditions.add")
|
|
240
244
|
},
|
|
241
245
|
dataTestId: `promotion-conditions-section-add-condition-button-${ruleType}`
|
|
@@ -373,6 +377,7 @@ var PromotionGeneralSection = ({
|
|
|
373
377
|
actions: [
|
|
374
378
|
{
|
|
375
379
|
icon: /* @__PURE__ */ jsx3(PencilSquare3, {}),
|
|
380
|
+
permission: "promotions:edit",
|
|
376
381
|
label: t("actions.edit"),
|
|
377
382
|
to: `/promotions/${promotion.id}/edit`
|
|
378
383
|
}
|
|
@@ -382,6 +387,7 @@ var PromotionGeneralSection = ({
|
|
|
382
387
|
actions: [
|
|
383
388
|
{
|
|
384
389
|
icon: /* @__PURE__ */ jsx3(Trash, {}),
|
|
390
|
+
permission: "promotions:manage",
|
|
385
391
|
label: t("actions.delete"),
|
|
386
392
|
onClick: handleDelete
|
|
387
393
|
}
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-2HTCCPOG.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-63JSBXD5.js";
|
|
10
10
|
import {
|
|
11
11
|
useProductTableQuery
|
|
12
12
|
} from "./chunk-S4IDR46L.js";
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
_DataTable,
|
|
18
18
|
useDataTable
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-SU36MZXC.js";
|
|
20
|
+
import {
|
|
21
|
+
ActionMenu
|
|
22
|
+
} from "./chunk-3UOYBH5O.js";
|
|
20
23
|
import {
|
|
21
24
|
useProductType
|
|
22
25
|
} from "./chunk-AEBQQ2EG.js";
|
|
23
|
-
import {
|
|
24
|
-
ActionMenu
|
|
25
|
-
} from "./chunk-BDGZ4EQO.js";
|
|
26
26
|
import {
|
|
27
27
|
SingleColumnPageSkeleton
|
|
28
28
|
} from "./chunk-INNFZYX2.js";
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
// src/pages/product-types/product-type-detail/product-type-detail.tsx
|
|
34
34
|
import { Children } from "react";
|
|
35
35
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
36
|
-
import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
36
|
+
import { PermissionGuard, WidgetZone } from "@mercurjs/dashboard-shared";
|
|
37
37
|
|
|
38
38
|
// src/pages/product-types/product-type-detail/components/product-type-general-section/product-type-general-section.tsx
|
|
39
39
|
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
@@ -57,6 +57,7 @@ var ProductTypeGeneralSection = ({
|
|
|
57
57
|
{
|
|
58
58
|
actions: [
|
|
59
59
|
{
|
|
60
|
+
permission: "product_types:edit",
|
|
60
61
|
label: t("actions.edit"),
|
|
61
62
|
icon: /* @__PURE__ */ jsx(PencilSquare, {}),
|
|
62
63
|
to: "edit"
|
|
@@ -66,6 +67,7 @@ var ProductTypeGeneralSection = ({
|
|
|
66
67
|
{
|
|
67
68
|
actions: [
|
|
68
69
|
{
|
|
70
|
+
permission: "product_types:manage",
|
|
69
71
|
label: t("actions.delete"),
|
|
70
72
|
icon: /* @__PURE__ */ jsx(Trash, {}),
|
|
71
73
|
onClick: handleDelete
|
|
@@ -153,7 +155,7 @@ var Root = ({ children }) => {
|
|
|
153
155
|
}
|
|
154
156
|
return Children.count(children) > 0 ? /* @__PURE__ */ jsx3(SingleColumnPage, { showJSON: true, showMetadata: true, data: product_type, children }) : /* @__PURE__ */ jsx3(SingleColumnPage, { showJSON: true, showMetadata: true, data: product_type, children: /* @__PURE__ */ jsxs3(WidgetZone, { id: "product-types.detail.main", data: product_type, children: [
|
|
155
157
|
/* @__PURE__ */ jsx3(ProductTypeGeneralSection, { productType: product_type }),
|
|
156
|
-
/* @__PURE__ */ jsx3(ProductTypeProductSection, { productType: product_type })
|
|
158
|
+
/* @__PURE__ */ jsx3(PermissionGuard, { permission: "products:view", children: /* @__PURE__ */ jsx3(ProductTypeProductSection, { productType: product_type }) })
|
|
157
159
|
] }) });
|
|
158
160
|
};
|
|
159
161
|
var ProductTypeDetailPage = Object.assign(Root, {
|
|
@@ -3,15 +3,21 @@ import {
|
|
|
3
3
|
} from "./chunk-HRMANL53.js";
|
|
4
4
|
|
|
5
5
|
// src/hooks/table/filters/use-customer-group-table-filters.tsx
|
|
6
|
+
import { usePermissions } from "@mercurjs/dashboard-shared";
|
|
6
7
|
import { useTranslation } from "react-i18next";
|
|
7
8
|
var useCustomerGroupTableFilters = () => {
|
|
8
9
|
const { t } = useTranslation();
|
|
9
|
-
const {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
10
|
+
const { can } = usePermissions();
|
|
11
|
+
const canViewSellers = can("sellers");
|
|
12
|
+
const { sellers } = useSellers(
|
|
13
|
+
{
|
|
14
|
+
limit: 1e3,
|
|
15
|
+
fields: "id,name"
|
|
16
|
+
},
|
|
17
|
+
{ enabled: canViewSellers }
|
|
18
|
+
);
|
|
13
19
|
let filters = [];
|
|
14
|
-
if (sellers?.length) {
|
|
20
|
+
if (canViewSellers && sellers?.length) {
|
|
15
21
|
filters.push({
|
|
16
22
|
key: "seller_id",
|
|
17
23
|
label: t("fields.owner"),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TaxRegionTable,
|
|
3
3
|
useTaxRegionTable
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CX5XB56X.js";
|
|
5
5
|
import {
|
|
6
6
|
useTaxRegionTableQuery
|
|
7
7
|
} from "./chunk-AYVH6Q5O.js";
|
|
@@ -75,7 +75,7 @@ var TaxRegionListActions = ({
|
|
|
75
75
|
children
|
|
76
76
|
}) => {
|
|
77
77
|
const { t } = useTranslation();
|
|
78
|
-
return /* @__PURE__ */ jsx2("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx2(PermissionGuard, {
|
|
78
|
+
return /* @__PURE__ */ jsx2("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx2(PermissionGuard, { permission: "tax_regions:edit", children: /* @__PURE__ */ jsx2(Link, { to: "create", children: /* @__PURE__ */ jsx2(Button, { size: "small", variant: "secondary", children: t("actions.create") }) }) }) });
|
|
79
79
|
};
|
|
80
80
|
var TaxRegionListHeader = ({
|
|
81
81
|
children
|