@mercurjs/admin 2.1.0-canary.5 → 2.1.0-canary.8
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-LE2WUOTX.js → add-campaign-promotions-WILFAFL4.js} +5 -5
- package/dist/{adjust-inventory-TCBV3PCL.js → adjust-inventory-NVBPZYOF.js} +1 -1
- package/dist/{api-key-management-detail-LH3I7OZB.js → api-key-management-detail-Q5RBMX4J.js} +4 -3
- package/dist/{api-key-management-list-4MCSXO5L.js → api-key-management-list-DQ33T6KV.js} +3 -3
- package/dist/{api-key-management-sales-channels-SCIDNYW5.js → api-key-management-sales-channels-UGAAKILD.js} +2 -1
- package/dist/{attribute-create-CJBFOEGI.js → attribute-create-IVRJPVG5.js} +1 -1
- package/dist/{attribute-detail-2RDAGHQB.js → attribute-detail-FLQKKFCO.js} +3 -3
- package/dist/{attribute-edit-TDMQJYAP.js → attribute-edit-DRHFOHMK.js} +2 -2
- package/dist/{attribute-list-MK2EUELY.js → attribute-list-ODT2ZP4T.js} +4 -4
- package/dist/{campaign-detail-GVJ3PO4I.js → campaign-detail-S44LA6AX.js} +7 -7
- package/dist/{campaign-list-TXTMGE6H.js → campaign-list-A3TVXCV4.js} +3 -3
- package/dist/{categories-metadata-M3GDS27H.js → categories-metadata-YVUNHMQT.js} +1 -1
- package/dist/{category-create-5WS4XGYI.js → category-create-XH6AM3NM.js} +2 -2
- package/dist/{category-detail-TTJ6XGLM.js → category-detail-DXQECKDO.js} +5 -5
- package/dist/{category-edit-GOB4ASBP.js → category-edit-IXU6E3YT.js} +1 -1
- package/dist/{category-list-DVDOBE7O.js → category-list-AQIONIMS.js} +3 -3
- package/dist/{category-products-NRPWJHDW.js → category-products-VV3JLNW7.js} +4 -4
- package/dist/{chunk-2KWNTJGL.js → chunk-3QIIWLCT.js} +1 -1
- package/dist/{chunk-TLAUR5IR.js → chunk-3TOCWPCQ.js} +1 -1
- package/dist/{chunk-YFSTGK5R.js → chunk-3U4C3UKN.js} +2 -2
- package/dist/{chunk-Q4WP4LIW.js → chunk-4OHMUFVP.js} +1 -1
- package/dist/{chunk-SNH3O6QM.js → chunk-52ZAPY3Z.js} +2 -2
- package/dist/{chunk-RXBYBQDN.js → chunk-5Q2DL7Z2.js} +2 -2
- package/dist/{chunk-3EF54XFY.js → chunk-634XVU3D.js} +1 -1
- package/dist/{chunk-N46VH2AV.js → chunk-6AZBAS4D.js} +2 -2
- package/dist/{chunk-DKIXS7MS.js → chunk-6KIROGNM.js} +256 -224
- package/dist/{chunk-LAN52TLS.js → chunk-7IKRJNID.js} +1 -1
- package/dist/{chunk-RFYOW244.js → chunk-BAJODL3V.js} +2 -2
- package/dist/{chunk-AGB4RMSE.js → chunk-BGSOUCCN.js} +1 -1
- package/dist/{chunk-NZN7PFPB.js → chunk-CKNQJPAG.js} +6 -40
- package/dist/{chunk-ZTAKV4UY.js → chunk-CPZJNHAL.js} +1 -1
- package/dist/{chunk-7URRKQIX.js → chunk-CUSRWXZY.js} +1 -1
- package/dist/{chunk-YHWY7YA3.js → chunk-D3OIFOHY.js} +1 -1
- package/dist/{chunk-2ASJQTGT.js → chunk-E3DLJSYD.js} +1 -1
- package/dist/{chunk-VZVB3ZR3.js → chunk-EHLONIAY.js} +1 -1
- package/dist/{chunk-O6X4QXB5.js → chunk-FZCXIX37.js} +1 -1
- package/dist/{chunk-TBRKUYQX.js → chunk-GQUE4TAJ.js} +2 -2
- package/dist/{chunk-ZD46XW74.js → chunk-GS7L2B4S.js} +1 -1
- package/dist/{chunk-DGSPRILL.js → chunk-H55UROTU.js} +1 -1
- package/dist/chunk-HJ56YXBU.js +46 -0
- package/dist/{chunk-N2Y3OWEV.js → chunk-IBOTFRZP.js} +1 -1
- package/dist/{chunk-LVEROZU4.js → chunk-IGBGQDKS.js} +1 -1
- package/dist/{chunk-SIM42VD3.js → chunk-IK6MPP7K.js} +1 -1
- package/dist/{chunk-BOGOBZVM.js → chunk-IXHIM2HR.js} +1 -1
- package/dist/{chunk-73JXHNUH.js → chunk-JDHG7FWL.js} +1 -1
- package/dist/{chunk-IDBCFDIT.js → chunk-JJYOI5PR.js} +1 -1
- package/dist/{chunk-UROZLRSZ.js → chunk-JPJISU7W.js} +2 -2
- package/dist/{chunk-EA5ADIDK.js → chunk-JRFNFYXA.js} +1 -1
- package/dist/{chunk-TFRTL5VZ.js → chunk-K7BVNZS6.js} +1 -1
- package/dist/{chunk-L6LJB5HH.js → chunk-KERTIEWE.js} +1 -1
- package/dist/{chunk-ULJ3OMWU.js → chunk-KLVTWJ4M.js} +1 -1
- package/dist/{chunk-2FLBJM53.js → chunk-LEG67A2R.js} +0 -16
- package/dist/{chunk-YSGXL7CX.js → chunk-LET54CD5.js} +2 -2
- package/dist/{chunk-CDS2B2P6.js → chunk-LN3OHONN.js} +1 -1
- package/dist/{chunk-SUQJGDPA.js → chunk-LNAXUDW2.js} +1 -1
- package/dist/{chunk-ARMMSJ7L.js → chunk-LVLDW6FV.js} +1 -1
- package/dist/chunk-MDABSESI.js +38 -0
- package/dist/{chunk-PXZQSL5A.js → chunk-MSXZLZ4X.js} +2 -2
- package/dist/{chunk-A3HOLGBF.js → chunk-N3XQFZPF.js} +1 -1
- package/dist/{chunk-QP3ID4X3.js → chunk-NEAMPCCU.js} +1 -1
- package/dist/{chunk-EKMBY4QP.js → chunk-NHHZHVP6.js} +1 -1
- package/dist/{chunk-J73MGZ2C.js → chunk-NSUWKSBC.js} +2 -2
- package/dist/{chunk-KZE2BXFZ.js → chunk-NYOSVNJ4.js} +2 -2
- package/dist/{chunk-AVW3A7X5.js → chunk-NZ4BXIO6.js} +1 -1
- package/dist/{chunk-QJLICXCV.js → chunk-OADU6FQZ.js} +1 -1
- package/dist/{chunk-6SND23WS.js → chunk-OCEPZGFS.js} +1 -1
- package/dist/{chunk-JSLUA5Y4.js → chunk-OVB4R5U5.js} +1 -1
- package/dist/{chunk-AQANSGTS.js → chunk-PJSWOWXT.js} +34 -8
- package/dist/{chunk-IF36RZZS.js → chunk-QRAFS63H.js} +2 -2
- package/dist/{chunk-AVUWXDRQ.js → chunk-RHCDOBTU.js} +2 -2
- package/dist/{chunk-BH5LSB6O.js → chunk-RTOCKSJ5.js} +2 -2
- package/dist/{chunk-TH4GYG3E.js → chunk-SCKY77PC.js} +1 -1
- package/dist/{chunk-LRCMPXIA.js → chunk-TVL4IXSL.js} +2 -2
- package/dist/{chunk-GBRUBIGE.js → chunk-WIDZXOML.js} +2 -2
- package/dist/{chunk-QGXOLAXL.js → chunk-WQO26Z76.js} +1 -1
- package/dist/{chunk-QFOEY6RN.js → chunk-WX6UWXY6.js} +6 -64
- package/dist/{chunk-T62OEGJG.js → chunk-XRCERDBF.js} +1 -1
- package/dist/{chunk-T3E6EVLQ.js → chunk-YA53AXGM.js} +3 -3
- package/dist/{chunk-5XENZ4RY.js → chunk-Z433IE4R.js} +3 -3
- package/dist/{chunk-DMWRKJV5.js → chunk-Z4OJNCER.js} +1 -1
- package/dist/{chunk-X2X7M3B6.js → chunk-ZEBQKDHR.js} +1 -1
- package/dist/{chunk-UZ52KLQM.js → chunk-ZOS6EBB2.js} +1 -1
- package/dist/{collection-add-products-V34BC5KZ.js → collection-add-products-K4R67OLS.js} +4 -4
- package/dist/{collection-create-T3I4AQ6T.js → collection-create-3BTRORHU.js} +1 -1
- package/dist/{collection-detail-FBF245L5.js → collection-detail-4ATHIFVS.js} +5 -5
- package/dist/{collection-list-2NU2RHF6.js → collection-list-7L64AQM5.js} +5 -5
- package/dist/{collection-metadata-4CATBMBR.js → collection-metadata-KHGPTV5C.js} +1 -1
- package/dist/{commission-rate-create-BX5ON475.js → commission-rate-create-CUSB36XK.js} +5 -5
- package/dist/{commission-rate-detail-2FIUCRWQ.js → commission-rate-detail-7I4M7GOE.js} +1 -1
- package/dist/{commission-rate-edit-QO54ISLU.js → commission-rate-edit-KPY5EXDK.js} +5 -5
- package/dist/{commission-rate-list-TSEOC244.js → commission-rate-list-CFKHN2F5.js} +3 -3
- package/dist/{customer-detail-X7RDPYCB.js → customer-detail-5UW56MGD.js} +4 -4
- package/dist/{customer-group-add-customers-Y4AIT37I.js → customer-group-add-customers-YSFEUI5M.js} +2 -2
- package/dist/{customer-group-detail-LG45HYN7.js → customer-group-detail-NL7FAEBO.js} +4 -4
- package/dist/{customer-group-list-AKB2QL2I.js → customer-group-list-T53DLWPQ.js} +4 -4
- package/dist/{customer-group-metadata-5EY56USK.js → customer-group-metadata-YJXZFSFG.js} +1 -1
- package/dist/{customer-list-MH5N6M5L.js → customer-list-LHGKF34F.js} +3 -3
- package/dist/{customer-metadata-UI7VJNBB.js → customer-metadata-SG6M7X3Q.js} +1 -1
- package/dist/{customers-add-customer-group-WXARGETR.js → customers-add-customer-group-IWFFLQQQ.js} +3 -3
- package/dist/{edit-inventory-item-7LUBIEJG.js → edit-inventory-item-TDG2ZTPM.js} +1 -1
- package/dist/{edit-inventory-item-attributes-GPWA3SHB.js → edit-inventory-item-attributes-T56PJTCT.js} +1 -1
- package/dist/{edit-rules-MOJW3IY6.js → edit-rules-BRXIELG2.js} +1 -1
- package/dist/index.d.ts +11 -3
- package/dist/index.js +182 -182
- package/dist/{inventory-create-G4PFD6IN.js → inventory-create-3GAK5IYZ.js} +1 -1
- package/dist/{inventory-detail-N2YB6A4C.js → inventory-detail-RU37UA2Y.js} +4 -4
- package/dist/{inventory-list-HGWKI5CF.js → inventory-list-3H3J7IOB.js} +3 -3
- package/dist/{inventory-metadata-R35MGH5G.js → inventory-metadata-LUGA3KNV.js} +1 -1
- package/dist/{inventory-stock-VKNHPP3I.js → inventory-stock-JZNONQAL.js} +1 -1
- package/dist/{location-detail-SHY5JFEP.js → location-detail-QHF23BXP.js} +3 -3
- package/dist/{location-fulfillment-providers-XJWKGU5I.js → location-fulfillment-providers-OQTYP6C7.js} +4 -4
- package/dist/{location-list-B4EVW7LE.js → location-list-XGFUQY7T.js} +1 -1
- package/dist/{location-sales-channels-D5SNTEWM.js → location-sales-channels-IRGVGAVC.js} +2 -1
- package/dist/{location-service-zone-create-AC4JW4Y4.js → location-service-zone-create-URK3O2H4.js} +3 -3
- package/dist/{location-service-zone-manage-areas-M52WHSWM.js → location-service-zone-manage-areas-DO3XK6TU.js} +3 -3
- package/dist/{location-service-zone-shipping-option-create-VKRDPJY5.js → location-service-zone-shipping-option-create-OOU6YVRS.js} +1 -1
- package/dist/{login-GQ2TKLJX.js → login-T5DP5BZ3.js} +1 -1
- package/dist/{marketplace-add-currencies-C6S4Z3VT.js → marketplace-add-currencies-BIN4YT3V.js} +2 -2
- package/dist/{marketplace-detail-D5AXFDDY.js → marketplace-detail-AXO5YXED.js} +4 -4
- package/dist/{marketplace-metadata-6E3EUPQR.js → marketplace-metadata-VYCPYFJD.js} +1 -1
- package/dist/{order-create-claim-TASIQWLS.js → order-create-claim-PLC342V5.js} +3 -3
- package/dist/{order-create-edit-AEWAUNSL.js → order-create-edit-25CJG3KZ.js} +3 -3
- package/dist/{order-create-exchange-BZULQKWC.js → order-create-exchange-TK65KBGW.js} +3 -3
- package/dist/{order-create-fulfillment-ZQLJDGCV.js → order-create-fulfillment-BB2FCLAH.js} +1 -1
- package/dist/{order-create-refund-MPWH7PYP.js → order-create-refund-LDODI2AP.js} +1 -1
- package/dist/{order-create-return-J35OSJJW.js → order-create-return-5XDDN456.js} +2 -2
- package/dist/{order-create-shipment-UDYZFTKL.js → order-create-shipment-7XP6PDTD.js} +1 -1
- package/dist/{order-detail-43QRHVIH.js → order-detail-PSJFXQV7.js} +4 -4
- package/dist/{order-edit-billing-address-6PKPD4GI.js → order-edit-billing-address-2WTUR5PX.js} +2 -2
- package/dist/{order-edit-email-TRDITOOM.js → order-edit-email-AZIA6X5Q.js} +1 -1
- package/dist/{order-edit-shipping-address-RU4NGJNM.js → order-edit-shipping-address-GJMUSOPK.js} +1 -1
- package/dist/{order-list-DNYS57KP.js → order-list-DEFD5MI5.js} +4 -4
- package/dist/{order-metadata-AJZBUN36.js → order-metadata-RXIJOP4V.js} +1 -1
- package/dist/{order-receive-return-D5ZVVYMY.js → order-receive-return-6IU2HGAD.js} +1 -1
- package/dist/{order-request-transfer-DAUOVTRI.js → order-request-transfer-6IZVCHGV.js} +1 -1
- package/dist/pages/index.js +63 -62
- package/dist/{payout-list-KUFWUKTH.js → payout-list-WQIMALHI.js} +3 -3
- package/dist/{price-list-configuration-JNMKFGCK.js → price-list-configuration-FEO2XAX5.js} +3 -3
- package/dist/{price-list-create-NVCPOU2Y.js → price-list-create-6XVOYBM4.js} +6 -6
- package/dist/{price-list-detail-ANVE56H3.js → price-list-detail-FBY7PWN3.js} +5 -5
- package/dist/{price-list-list-NFS344UG.js → price-list-list-TZIZJJH3.js} +3 -3
- package/dist/{price-list-prices-add-JSWTZXIB.js → price-list-prices-add-HQHRB3XG.js} +5 -5
- package/dist/{price-list-prices-edit-5OKGMVHM.js → price-list-prices-edit-WSLGG7VC.js} +1 -1
- package/dist/{product-create-B6OYB6QQ.js → product-create-WVC72ZZ2.js} +7 -6
- package/dist/{product-create-variant-HVY3YA5T.js → product-create-variant-TJB7NNKY.js} +1 -1
- package/dist/{product-detail-IL6J7IDR.js → product-detail-7T5PLGCJ.js} +1 -1
- package/dist/{product-export-FYASMR3R.js → product-export-773L2V63.js} +2 -2
- package/dist/{product-import-RDTWXZSA.js → product-import-JB7S4EL6.js} +1 -1
- package/dist/{product-list-E26DQCLM.js → product-list-G23MTE7S.js} +5 -5
- package/dist/{product-media-FAZR34OC.js → product-media-CBKZEHLD.js} +2 -2
- package/dist/{product-metadata-RYDY2LBO.js → product-metadata-GJ7C2UJG.js} +1 -1
- package/dist/{product-sales-channels-7HVGLKJQ.js → product-sales-channels-53YVZ5G5.js} +2 -1
- package/dist/{product-stock-NXLCWJ7S.js → product-stock-XB3HKT5G.js} +1 -1
- package/dist/{product-tag-create-5JKOHKHR.js → product-tag-create-PHJICTE4.js} +1 -1
- package/dist/{product-tag-detail-4P36B7AC.js → product-tag-detail-U3TJRILA.js} +5 -5
- package/dist/{product-tag-edit-QZOCJSA3.js → product-tag-edit-G4UNGXPT.js} +1 -1
- package/dist/{product-tag-list-IOUBMHTR.js → product-tag-list-CT33WG55.js} +5 -5
- package/dist/{product-tag-metadata-HDTR5225.js → product-tag-metadata-I4V6CR6Z.js} +1 -1
- package/dist/{product-type-detail-57S6OUU7.js → product-type-detail-LOCLZUCY.js} +5 -5
- package/dist/{product-type-list-E2BUVXIT.js → product-type-list-7SXDLL6L.js} +3 -3
- package/dist/{product-type-metadata-3XHYM7AO.js → product-type-metadata-KGVRMMTQ.js} +1 -1
- package/dist/{product-variant-detail-Q6V67DO7.js → product-variant-detail-7UVACNQV.js} +4 -4
- package/dist/{product-variant-edit-7RJL2DWH.js → product-variant-edit-L77HDGTA.js} +1 -1
- package/dist/{product-variant-metadata-QHCUMQCQ.js → product-variant-metadata-HV72UBCP.js} +1 -1
- package/dist/{promotion-create-RISO27OH.js → promotion-create-4ZEXEV4G.js} +1 -1
- package/dist/{promotion-detail-BQOADUXZ.js → promotion-detail-6ZCWQYON.js} +5 -5
- package/dist/{promotion-list-6ILZBIJZ.js → promotion-list-ZARTSDFP.js} +6 -6
- package/dist/{refund-reason-create-RWGVYY7U.js → refund-reason-create-M2CYTCEM.js} +1 -1
- package/dist/{refund-reason-edit-F3AKUO4F.js → refund-reason-edit-M4XBV633.js} +1 -1
- package/dist/{refund-reason-list-LOEY5OHX.js → refund-reason-list-VLARTCJF.js} +1 -1
- package/dist/{region-add-countries-6HKFPVNE.js → region-add-countries-TZEP4SML.js} +2 -2
- package/dist/{region-create-BOHJGJCB.js → region-create-7YJ25C3H.js} +2 -2
- package/dist/{region-detail-VR2RSHCW.js → region-detail-KFFPZLZL.js} +3 -3
- package/dist/{region-list-IHOCFATO.js → region-list-TPQG44BF.js} +3 -3
- package/dist/{region-metadata-S5X464KM.js → region-metadata-4JWOEGTZ.js} +1 -1
- package/dist/{reservation-detail-CGAEHOZ6.js → reservation-detail-X3W6APD5.js} +1 -1
- package/dist/{reservation-list-EKIR6AET.js → reservation-list-DOW3PKTS.js} +3 -3
- package/dist/{reservation-metadata-55FYLG45.js → reservation-metadata-JFLJ27A3.js} +1 -1
- package/dist/{reset-password-VQXCSILN.js → reset-password-J4XCWJXV.js} +1 -1
- package/dist/{return-reason-list-FHE2DTG6.js → return-reason-list-IGZ3HCXY.js} +3 -3
- package/dist/{sales-channel-add-products-UNJBYNPM.js → sales-channel-add-products-P5AAQFVB.js} +4 -4
- package/dist/{sales-channel-detail-C62VVFTT.js → sales-channel-detail-BJCMSTSA.js} +5 -5
- package/dist/{sales-channel-list-L233THQV.js → sales-channel-list-QKFVTZ6A.js} +4 -3
- package/dist/{sales-channel-metadata-XL6OAO6S.js → sales-channel-metadata-NDSKXOGH.js} +1 -1
- package/dist/{shipping-option-type-create-KSQX5DHV.js → shipping-option-type-create-MEL24PGH.js} +1 -1
- package/dist/{shipping-option-type-detail-NQFIUIZU.js → shipping-option-type-detail-OAKOWHU7.js} +1 -1
- package/dist/{shipping-option-type-edit-P5JP6TGA.js → shipping-option-type-edit-IVBHURXR.js} +1 -1
- package/dist/{shipping-option-type-list-NMG6FSD7.js → shipping-option-type-list-HRW7XFEQ.js} +4 -4
- package/dist/{shipping-profile-metadata-YEKUKBUJ.js → shipping-profile-metadata-UZPX2PHJ.js} +1 -1
- package/dist/{shipping-profiles-list-CCMGZXHJ.js → shipping-profiles-list-IT433GKY.js} +3 -3
- package/dist/{store-address-edit-YHL23NAM.js → store-address-edit-PKIBRFH4.js} +37 -40
- package/dist/{store-bulk-edit-3WUPOXIX.js → store-bulk-edit-HCEEME3D.js} +1 -1
- package/dist/{store-closure-edit-LNMWVVWG.js → store-closure-edit-OK7MTUHY.js} +1 -1
- package/dist/{store-create-TDHCGON2.js → store-create-OQVFVIK4.js} +92 -15
- package/dist/{store-details-6THDNDJB.js → store-details-NFUGBVH3.js} +6 -5
- package/dist/{store-edit-LJKBFRJG.js → store-edit-U2Q6LMXR.js} +40 -21
- package/dist/{store-list-UA2GXT7T.js → store-list-CWVEPRJM.js} +5 -5
- package/dist/{store-member-invite-K76O2YUD.js → store-member-invite-4GDKCSTT.js} +38 -13
- package/dist/{store-payment-details-edit-VD76VCVF.js → store-payment-details-edit-HOGHZMZC.js} +17 -29
- package/dist/{store-professional-details-edit-3QMC5OGO.js → store-professional-details-edit-DPJ4ZFDR.js} +1 -1
- package/dist/{tax-region-create-NVE7TJVZ.js → tax-region-create-CQCW6ELU.js} +2 -2
- package/dist/{tax-region-detail-6W6ZCFKH.js → tax-region-detail-KCJTJZZI.js} +5 -5
- package/dist/{tax-region-edit-XIQISIV6.js → tax-region-edit-OARZRBVK.js} +1 -1
- package/dist/{tax-region-list-BU5TV5MS.js → tax-region-list-LP6SV4BF.js} +3 -3
- package/dist/{tax-region-metadata-C2IM452E.js → tax-region-metadata-XJRFOG7I.js} +1 -1
- package/dist/{tax-region-province-detail-EY77MY5Q.js → tax-region-province-detail-IQ3IRVIE.js} +4 -4
- package/dist/{tax-region-tax-override-create-RJSVKZGY.js → tax-region-tax-override-create-GLAYEGAP.js} +5 -5
- package/dist/{tax-region-tax-override-edit-2UZSGMS2.js → tax-region-tax-override-edit-JZDKFEJC.js} +5 -5
- package/dist/{user-invite-CTH3YNUV.js → user-invite-ZAGFYQDN.js} +2 -2
- package/dist/{user-list-2766SCTA.js → user-list-7PIKWZQY.js} +3 -3
- package/dist/{user-metadata-4FOEUIG2.js → user-metadata-376YJMY3.js} +1 -1
- package/package.json +3 -3
- package/dist/chunk-TLE6YHGH.js +0 -26
|
@@ -19,10 +19,16 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
_DataTable,
|
|
21
21
|
useDataTable
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KLVTWJ4M.js";
|
|
23
|
+
import {
|
|
24
|
+
NoRecords
|
|
25
|
+
} from "./chunk-634XVU3D.js";
|
|
23
26
|
import {
|
|
24
27
|
currencies
|
|
25
28
|
} from "./chunk-IQPN4PZJ.js";
|
|
29
|
+
import {
|
|
30
|
+
DataTableStatusCell
|
|
31
|
+
} from "./chunk-MDABSESI.js";
|
|
26
32
|
import {
|
|
27
33
|
TwoColumnPageSkeleton
|
|
28
34
|
} from "./chunk-INNFZYX2.js";
|
|
@@ -43,7 +49,7 @@ import {
|
|
|
43
49
|
} from "./chunk-3B6MTW5G.js";
|
|
44
50
|
import {
|
|
45
51
|
useProductTableFilters
|
|
46
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-LNAXUDW2.js";
|
|
47
53
|
import {
|
|
48
54
|
useProductTableQuery
|
|
49
55
|
} from "./chunk-VVWB3GIK.js";
|
|
@@ -59,9 +65,8 @@ import {
|
|
|
59
65
|
useSellerInvites,
|
|
60
66
|
useSellerMembers,
|
|
61
67
|
useSellerProducts,
|
|
62
|
-
useSuspendSeller
|
|
63
|
-
|
|
64
|
-
} from "./chunk-2FLBJM53.js";
|
|
68
|
+
useSuspendSeller
|
|
69
|
+
} from "./chunk-LEG67A2R.js";
|
|
65
70
|
import {
|
|
66
71
|
useOrders
|
|
67
72
|
} from "./chunk-TAKEQAZZ.js";
|
|
@@ -82,13 +87,8 @@ import { useTranslation as useTranslation2 } from "react-i18next";
|
|
|
82
87
|
|
|
83
88
|
// src/pages/stores/store-details/components/store-detail-header.tsx
|
|
84
89
|
import { Children } from "react";
|
|
85
|
-
import {
|
|
86
|
-
|
|
87
|
-
PencilSquare,
|
|
88
|
-
Trash,
|
|
89
|
-
XCircleSolid
|
|
90
|
-
} from "@medusajs/icons";
|
|
91
|
-
import { Avatar, Heading, StatusBadge, Tooltip, toast, usePrompt } from "@medusajs/ui";
|
|
90
|
+
import { CheckCircleSolid, PencilSquare } from "@medusajs/icons";
|
|
91
|
+
import { Avatar, Heading, StatusBadge, Tooltip } from "@medusajs/ui";
|
|
92
92
|
import { useTranslation } from "react-i18next";
|
|
93
93
|
var import_types = __toESM(require_dist(), 1);
|
|
94
94
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
@@ -161,62 +161,6 @@ var StoreDetailActions = ({
|
|
|
161
161
|
children
|
|
162
162
|
}) => {
|
|
163
163
|
const { t } = useTranslation();
|
|
164
|
-
const prompt = usePrompt();
|
|
165
|
-
const { mutateAsync: approveSeller } = useApproveSeller(seller.id);
|
|
166
|
-
const { mutateAsync: terminateSeller } = useTerminateSeller(seller.id);
|
|
167
|
-
const handleAction = async (action, label) => {
|
|
168
|
-
const res = await prompt({
|
|
169
|
-
title: label.title,
|
|
170
|
-
description: label.description,
|
|
171
|
-
verificationText: seller.email || seller.name || "",
|
|
172
|
-
confirmText: t("actions.confirm"),
|
|
173
|
-
cancelText: t("actions.cancel")
|
|
174
|
-
});
|
|
175
|
-
if (!res) return;
|
|
176
|
-
await action().then(
|
|
177
|
-
() => toast.success(label.success),
|
|
178
|
-
(error) => toast.error(error.message)
|
|
179
|
-
);
|
|
180
|
-
};
|
|
181
|
-
const deleteAction = {
|
|
182
|
-
label: t("stores.actions.delete.label"),
|
|
183
|
-
onClick: () => handleAction(() => terminateSeller(), {
|
|
184
|
-
title: t("stores.actions.delete.title"),
|
|
185
|
-
description: t("stores.actions.delete.description"),
|
|
186
|
-
success: t("stores.actions.delete.success")
|
|
187
|
-
}),
|
|
188
|
-
icon: /* @__PURE__ */ jsx(Trash, {})
|
|
189
|
-
};
|
|
190
|
-
const statusActions = (() => {
|
|
191
|
-
switch (seller.status) {
|
|
192
|
-
case import_types.SellerStatus.PENDING_APPROVAL:
|
|
193
|
-
return [
|
|
194
|
-
{
|
|
195
|
-
label: t("stores.actions.approve.label"),
|
|
196
|
-
onClick: () => handleAction(() => approveSeller(), {
|
|
197
|
-
title: t("stores.actions.approve.title"),
|
|
198
|
-
description: t("stores.actions.approve.description"),
|
|
199
|
-
success: t("stores.actions.approve.success")
|
|
200
|
-
}),
|
|
201
|
-
icon: /* @__PURE__ */ jsx(CheckCircleSolid, {})
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
label: t("stores.actions.reject.label"),
|
|
205
|
-
onClick: () => handleAction(() => terminateSeller(), {
|
|
206
|
-
title: t("stores.actions.reject.title"),
|
|
207
|
-
description: t("stores.actions.reject.description"),
|
|
208
|
-
success: t("stores.actions.reject.success")
|
|
209
|
-
}),
|
|
210
|
-
icon: /* @__PURE__ */ jsx(XCircleSolid, {})
|
|
211
|
-
}
|
|
212
|
-
];
|
|
213
|
-
case import_types.SellerStatus.OPEN:
|
|
214
|
-
case import_types.SellerStatus.SUSPENDED:
|
|
215
|
-
return [deleteAction];
|
|
216
|
-
default:
|
|
217
|
-
return [];
|
|
218
|
-
}
|
|
219
|
-
})();
|
|
220
164
|
return /* @__PURE__ */ jsx("div", { className: "flex items-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
221
165
|
/* @__PURE__ */ jsx(StatusBadge, { color: getStatusColor(seller.status), children: getStatusLabel(seller.status, t) }),
|
|
222
166
|
/* @__PURE__ */ jsx(
|
|
@@ -231,9 +175,6 @@ var StoreDetailActions = ({
|
|
|
231
175
|
to: `/stores/${seller.id}/edit`
|
|
232
176
|
}
|
|
233
177
|
]
|
|
234
|
-
},
|
|
235
|
-
{
|
|
236
|
-
actions: statusActions
|
|
237
178
|
}
|
|
238
179
|
]
|
|
239
180
|
}
|
|
@@ -418,7 +359,8 @@ var StoreCompanyDetailsSection = ({
|
|
|
418
359
|
};
|
|
419
360
|
|
|
420
361
|
// src/pages/stores/store-details/components/store-configuration-section.tsx
|
|
421
|
-
import {
|
|
362
|
+
import { CalendarMini } from "@medusajs/icons";
|
|
363
|
+
import { Container as Container4, Heading as Heading4, Table } from "@medusajs/ui";
|
|
422
364
|
import { useTranslation as useTranslation5 } from "react-i18next";
|
|
423
365
|
import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
424
366
|
var StoreConfigurationSection = ({
|
|
@@ -431,22 +373,28 @@ var StoreConfigurationSection = ({
|
|
|
431
373
|
hasTimeOff ? /* @__PURE__ */ jsxs5(Table, { children: [
|
|
432
374
|
/* @__PURE__ */ jsx5(Table.Header, { children: /* @__PURE__ */ jsxs5(Table.Row, { children: [
|
|
433
375
|
/* @__PURE__ */ jsx5(Table.HeaderCell, { children: t("fields.startDate") }),
|
|
434
|
-
/* @__PURE__ */ jsx5(Table.HeaderCell, { children: t("fields.endDate") })
|
|
376
|
+
/* @__PURE__ */ jsx5(Table.HeaderCell, { children: t("fields.endDate") }),
|
|
377
|
+
/* @__PURE__ */ jsx5(Table.HeaderCell, { children: t("fields.note") })
|
|
435
378
|
] }) }),
|
|
436
379
|
/* @__PURE__ */ jsx5(Table.Body, { children: /* @__PURE__ */ jsxs5(Table.Row, { children: [
|
|
437
380
|
/* @__PURE__ */ jsx5(Table.Cell, { children: /* @__PURE__ */ jsx5(DateCell, { date: seller.closed_from ?? null }) }),
|
|
438
|
-
/* @__PURE__ */ jsx5(Table.Cell, { children: /* @__PURE__ */ jsx5(DateCell, { date: seller.closed_to ?? null }) })
|
|
381
|
+
/* @__PURE__ */ jsx5(Table.Cell, { children: /* @__PURE__ */ jsx5(DateCell, { date: seller.closed_to ?? null }) }),
|
|
382
|
+
/* @__PURE__ */ jsx5(Table.Cell, { children: /* @__PURE__ */ jsx5("span", { className: "text-ui-fg-base", children: seller.closure_note || "-" }) })
|
|
439
383
|
] }) })
|
|
440
|
-
] }) : /* @__PURE__ */
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
384
|
+
] }) : /* @__PURE__ */ jsx5(
|
|
385
|
+
NoRecords,
|
|
386
|
+
{
|
|
387
|
+
icon: /* @__PURE__ */ jsx5(CalendarMini, { className: "text-ui-fg-subtle" }),
|
|
388
|
+
title: t("store.timeOff.empty.title"),
|
|
389
|
+
message: t("store.timeOff.empty.message")
|
|
390
|
+
}
|
|
391
|
+
)
|
|
444
392
|
] });
|
|
445
393
|
};
|
|
446
394
|
|
|
447
395
|
// src/pages/stores/store-details/components/store-address-section.tsx
|
|
448
396
|
import { BuildingStorefront, PencilSquare as PencilSquare4 } from "@medusajs/icons";
|
|
449
|
-
import { Container as Container5, Heading as Heading5, Text as
|
|
397
|
+
import { Container as Container5, Heading as Heading5, Text as Text4 } from "@medusajs/ui";
|
|
450
398
|
import { useTranslation as useTranslation6 } from "react-i18next";
|
|
451
399
|
import { jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
452
400
|
var StoreAddressSection = ({ seller }) => {
|
|
@@ -485,9 +433,9 @@ var StoreAddressSection = ({ seller }) => {
|
|
|
485
433
|
formattedAddress ? /* @__PURE__ */ jsx6("div", { className: "flex flex-col gap-2 px-2 pb-2", children: /* @__PURE__ */ jsx6("div", { className: "px-4 pb-2", children: /* @__PURE__ */ jsxs6("div", { className: "flex items-center gap-4", children: [
|
|
486
434
|
/* @__PURE__ */ jsx6(IconAvatar, { size: "large", variant: "squared", children: /* @__PURE__ */ jsx6(BuildingStorefront, {}) }),
|
|
487
435
|
/* @__PURE__ */ jsxs6("div", { className: "flex flex-1 flex-col", children: [
|
|
488
|
-
/* @__PURE__ */ jsx6(
|
|
436
|
+
/* @__PURE__ */ jsx6(Text4, { size: "small", leading: "compact", weight: "plus", children: address?.name || t("store.address.defaultName") }),
|
|
489
437
|
/* @__PURE__ */ jsx6(
|
|
490
|
-
|
|
438
|
+
Text4,
|
|
491
439
|
{
|
|
492
440
|
size: "small",
|
|
493
441
|
leading: "compact",
|
|
@@ -497,15 +445,15 @@ var StoreAddressSection = ({ seller }) => {
|
|
|
497
445
|
)
|
|
498
446
|
] })
|
|
499
447
|
] }) }) }) : /* @__PURE__ */ jsxs6("div", { className: "flex flex-col items-center gap-y-1 pb-6 pt-2", children: [
|
|
500
|
-
/* @__PURE__ */ jsx6(
|
|
501
|
-
/* @__PURE__ */ jsx6(
|
|
448
|
+
/* @__PURE__ */ jsx6(Text4, { size: "small", leading: "compact", weight: "plus", children: t("store.address.empty.title") }),
|
|
449
|
+
/* @__PURE__ */ jsx6(Text4, { size: "small", className: "text-ui-fg-muted", children: t("store.address.empty.message") })
|
|
502
450
|
] })
|
|
503
451
|
] });
|
|
504
452
|
};
|
|
505
453
|
|
|
506
454
|
// src/pages/stores/store-details/components/store-subscription-section.tsx
|
|
507
455
|
import { CurrencyDollar, TriangleRightMini } from "@medusajs/icons";
|
|
508
|
-
import { Container as Container6, Heading as Heading6, Text as
|
|
456
|
+
import { Container as Container6, Heading as Heading6, Text as Text5 } from "@medusajs/ui";
|
|
509
457
|
import { useTranslation as useTranslation7 } from "react-i18next";
|
|
510
458
|
import { Link } from "react-router-dom";
|
|
511
459
|
import { jsx as jsx7, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
@@ -538,9 +486,9 @@ var StoreSubscriptionSection = ({
|
|
|
538
486
|
children: /* @__PURE__ */ jsx7("div", { className: "shadow-elevation-card-rest bg-ui-bg-component rounded-md px-4 py-2 transition-colors", children: /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-4", children: [
|
|
539
487
|
/* @__PURE__ */ jsx7(IconAvatar, { size: "large", variant: "squared", children: /* @__PURE__ */ jsx7(CurrencyDollar, {}) }),
|
|
540
488
|
/* @__PURE__ */ jsxs7("div", { className: "flex flex-1 flex-col", children: [
|
|
541
|
-
/* @__PURE__ */ jsx7(
|
|
489
|
+
/* @__PURE__ */ jsx7(Text5, { size: "small", leading: "compact", weight: "plus", children: plan.currency_code.toUpperCase() }),
|
|
542
490
|
/* @__PURE__ */ jsxs7(
|
|
543
|
-
|
|
491
|
+
Text5,
|
|
544
492
|
{
|
|
545
493
|
size: "small",
|
|
546
494
|
leading: "compact",
|
|
@@ -567,13 +515,13 @@ import { Link as Link2 } from "react-router-dom";
|
|
|
567
515
|
|
|
568
516
|
// src/pages/stores/store-details/components/store-members-section/store-members-data-table.tsx
|
|
569
517
|
import { useMemo } from "react";
|
|
570
|
-
import { ArrowPath, Link as LinkIcon, Trash
|
|
571
|
-
import {
|
|
518
|
+
import { ArrowPath, Link as LinkIcon, Trash, User } from "@medusajs/icons";
|
|
519
|
+
import { Badge as Badge2, toast } from "@medusajs/ui";
|
|
572
520
|
import { keepPreviousData } from "@tanstack/react-query";
|
|
573
521
|
import { createColumnHelper } from "@tanstack/react-table";
|
|
574
522
|
import { useTranslation as useTranslation8 } from "react-i18next";
|
|
575
523
|
var import_types2 = __toESM(require_dist(), 1);
|
|
576
|
-
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
524
|
+
import { jsx as jsx8, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
577
525
|
var PAGE_SIZE = 20;
|
|
578
526
|
var ROLE_TRANSLATION_MAP = {
|
|
579
527
|
[import_types2.SellerRole.SELLER_ADMINISTRATION]: "users.roles.administration",
|
|
@@ -582,6 +530,22 @@ var ROLE_TRANSLATION_MAP = {
|
|
|
582
530
|
[import_types2.SellerRole.ACCOUNTING]: "users.roles.accounting",
|
|
583
531
|
[import_types2.SellerRole.SUPPORT]: "users.roles.support"
|
|
584
532
|
};
|
|
533
|
+
var trimTrailingSlashes = (value) => {
|
|
534
|
+
let end = value.length;
|
|
535
|
+
while (end > 0 && value.charCodeAt(end - 1) === 47) {
|
|
536
|
+
end -= 1;
|
|
537
|
+
}
|
|
538
|
+
return end === value.length ? value : value.slice(0, end);
|
|
539
|
+
};
|
|
540
|
+
var buildVendorInviteUrl = (token) => {
|
|
541
|
+
const vendorBase = trimTrailingSlashes(__VENDOR_URL__ || "/seller");
|
|
542
|
+
const url = new URL(
|
|
543
|
+
`${vendorBase}/invite`,
|
|
544
|
+
typeof window === "undefined" ? "http://localhost" : window.location.origin
|
|
545
|
+
);
|
|
546
|
+
url.searchParams.set("token", token);
|
|
547
|
+
return url.toString();
|
|
548
|
+
};
|
|
585
549
|
var StoreMembersDataTable = ({
|
|
586
550
|
sellerId
|
|
587
551
|
}) => {
|
|
@@ -604,16 +568,23 @@ var StoreMembersDataTable = ({
|
|
|
604
568
|
id: m.id,
|
|
605
569
|
email: m.member?.email ?? "-",
|
|
606
570
|
role_id: m.role_id,
|
|
607
|
-
|
|
571
|
+
is_owner: Boolean(m.is_owner),
|
|
572
|
+
created_at: m.created_at,
|
|
573
|
+
updated_at: m.updated_at,
|
|
608
574
|
member: m
|
|
609
575
|
}));
|
|
610
|
-
const
|
|
576
|
+
const hasOwnerMember = members.some((m) => m.is_owner);
|
|
577
|
+
const pendingInvites = (member_invites ?? []).filter((invite) => !invite.accepted);
|
|
578
|
+
const inviteIsFutureOwner = !hasOwnerMember && pendingInvites.length === 1;
|
|
579
|
+
const invites = pendingInvites.map((invite) => ({
|
|
611
580
|
kind: "invite",
|
|
612
581
|
id: invite.id,
|
|
613
582
|
email: invite.email,
|
|
614
583
|
role_id: invite.role_id,
|
|
615
|
-
|
|
616
|
-
|
|
584
|
+
token: invite.token,
|
|
585
|
+
is_owner: inviteIsFutureOwner,
|
|
586
|
+
created_at: invite.created_at,
|
|
587
|
+
updated_at: invite.updated_at
|
|
617
588
|
}));
|
|
618
589
|
return [...invites, ...members];
|
|
619
590
|
}, [seller_members, member_invites]);
|
|
@@ -644,7 +615,12 @@ var StoreMembersDataTable = ({
|
|
|
644
615
|
{ key: "updated_at", label: t("fields.updatedAt") }
|
|
645
616
|
],
|
|
646
617
|
noRecords: {
|
|
647
|
-
|
|
618
|
+
title: t("stores.emptyStates.users.title", "No users yet"),
|
|
619
|
+
message: t(
|
|
620
|
+
"stores.emptyStates.users.message",
|
|
621
|
+
"Invite the first user to manage this store."
|
|
622
|
+
),
|
|
623
|
+
icon: /* @__PURE__ */ jsx8(User, { className: "text-ui-fg-subtle" })
|
|
648
624
|
}
|
|
649
625
|
}
|
|
650
626
|
);
|
|
@@ -656,7 +632,18 @@ var useColumns = (sellerId) => {
|
|
|
656
632
|
() => [
|
|
657
633
|
columnHelper.accessor("email", {
|
|
658
634
|
header: () => /* @__PURE__ */ jsx8("div", { className: "flex h-full w-full items-center", children: /* @__PURE__ */ jsx8("span", { children: t("fields.email") }) }),
|
|
659
|
-
cell: ({ row }) => /* @__PURE__ */
|
|
635
|
+
cell: ({ row }) => /* @__PURE__ */ jsxs8("div", { className: "flex size-full items-center gap-x-2 overflow-hidden", children: [
|
|
636
|
+
/* @__PURE__ */ jsx8("span", { className: "truncate", children: row.original.email }),
|
|
637
|
+
row.original.is_owner && /* @__PURE__ */ jsx8(
|
|
638
|
+
Badge2,
|
|
639
|
+
{
|
|
640
|
+
size: "2xsmall",
|
|
641
|
+
color: "grey",
|
|
642
|
+
className: "flex-shrink-0",
|
|
643
|
+
children: t("stores.members.mainAdmin", "Admin")
|
|
644
|
+
}
|
|
645
|
+
)
|
|
646
|
+
] })
|
|
660
647
|
}),
|
|
661
648
|
columnHelper.accessor("role_id", {
|
|
662
649
|
header: () => /* @__PURE__ */ jsx8("div", { className: "flex h-full w-full items-center", children: /* @__PURE__ */ jsx8("span", { children: t("fields.role") }) }),
|
|
@@ -672,22 +659,14 @@ var useColumns = (sellerId) => {
|
|
|
672
659
|
header: () => /* @__PURE__ */ jsx8("div", { className: "flex h-full w-full items-center", children: /* @__PURE__ */ jsx8("span", { children: t("fields.status") }) }),
|
|
673
660
|
cell: ({ row }) => {
|
|
674
661
|
const isPending = row.original.kind === "invite";
|
|
675
|
-
return /* @__PURE__ */ jsx8(
|
|
676
|
-
}
|
|
677
|
-
}),
|
|
678
|
-
columnHelper.accessor("created_at", {
|
|
679
|
-
header: () => /* @__PURE__ */ jsx8("div", { className: "flex h-full w-full items-center", children: /* @__PURE__ */ jsx8("span", { children: t("fields.createdAt") }) }),
|
|
680
|
-
cell: ({ getValue }) => {
|
|
681
|
-
const date = getValue();
|
|
682
|
-
return /* @__PURE__ */ jsx8(DateCell, { date: date ? new Date(date) : null });
|
|
662
|
+
return /* @__PURE__ */ jsx8(DataTableStatusCell, { color: isPending ? "orange" : "green", children: isPending ? t("users.status.pending") : t("users.status.active") });
|
|
683
663
|
}
|
|
684
664
|
}),
|
|
685
665
|
columnHelper.display({
|
|
686
666
|
id: "actions",
|
|
687
667
|
cell: ({ row }) => {
|
|
688
|
-
const isAdminRole = row.original.role_id === import_types2.SellerRole.SELLER_ADMINISTRATION;
|
|
689
668
|
if (row.original.kind === "member") {
|
|
690
|
-
if (
|
|
669
|
+
if (row.original.is_owner) return null;
|
|
691
670
|
return /* @__PURE__ */ jsx8(
|
|
692
671
|
MemberActions,
|
|
693
672
|
{
|
|
@@ -696,14 +675,7 @@ var useColumns = (sellerId) => {
|
|
|
696
675
|
}
|
|
697
676
|
);
|
|
698
677
|
}
|
|
699
|
-
return /* @__PURE__ */ jsx8(
|
|
700
|
-
InviteActions,
|
|
701
|
-
{
|
|
702
|
-
invite: row.original,
|
|
703
|
-
sellerId,
|
|
704
|
-
allowDelete: !isAdminRole
|
|
705
|
-
}
|
|
706
|
-
);
|
|
678
|
+
return /* @__PURE__ */ jsx8(InviteActions, { invite: row.original, sellerId });
|
|
707
679
|
}
|
|
708
680
|
})
|
|
709
681
|
],
|
|
@@ -712,8 +684,7 @@ var useColumns = (sellerId) => {
|
|
|
712
684
|
};
|
|
713
685
|
var InviteActions = ({
|
|
714
686
|
invite,
|
|
715
|
-
sellerId
|
|
716
|
-
allowDelete = true
|
|
687
|
+
sellerId
|
|
717
688
|
}) => {
|
|
718
689
|
const { t } = useTranslation8();
|
|
719
690
|
const { mutateAsync: resend } = useResendSellerInvite(sellerId);
|
|
@@ -721,38 +692,38 @@ var InviteActions = ({
|
|
|
721
692
|
const handleResend = async () => {
|
|
722
693
|
try {
|
|
723
694
|
await resend({ invite_id: invite.id });
|
|
724
|
-
|
|
695
|
+
toast.success(
|
|
725
696
|
t("stores.members.invite.resendSuccess", { email: invite.email })
|
|
726
697
|
);
|
|
727
698
|
} catch (e) {
|
|
728
|
-
|
|
699
|
+
toast.error(e.message);
|
|
729
700
|
}
|
|
730
701
|
};
|
|
731
702
|
const handleCopyLink = async () => {
|
|
732
703
|
try {
|
|
733
|
-
let
|
|
734
|
-
if (!
|
|
704
|
+
let token = invite.token;
|
|
705
|
+
if (!token) {
|
|
735
706
|
const response = await resend({ invite_id: invite.id });
|
|
736
|
-
|
|
707
|
+
token = response?.member_invite?.token ?? null;
|
|
737
708
|
}
|
|
738
|
-
if (!
|
|
739
|
-
|
|
709
|
+
if (!token) {
|
|
710
|
+
toast.error(t("stores.members.invite.noVendorUrl"));
|
|
740
711
|
return;
|
|
741
712
|
}
|
|
742
|
-
await navigator.clipboard.writeText(
|
|
743
|
-
|
|
713
|
+
await navigator.clipboard.writeText(buildVendorInviteUrl(token));
|
|
714
|
+
toast.success(t("stores.members.invite.linkCopied"));
|
|
744
715
|
} catch (e) {
|
|
745
|
-
|
|
716
|
+
toast.error(e.message);
|
|
746
717
|
}
|
|
747
718
|
};
|
|
748
719
|
const handleDelete = async () => {
|
|
749
720
|
try {
|
|
750
721
|
await deleteInvite({ invite_id: invite.id });
|
|
751
|
-
|
|
722
|
+
toast.success(
|
|
752
723
|
t("stores.members.invite.deleteSuccess", { email: invite.email })
|
|
753
724
|
);
|
|
754
725
|
} catch (e) {
|
|
755
|
-
|
|
726
|
+
toast.error(e.message);
|
|
756
727
|
}
|
|
757
728
|
};
|
|
758
729
|
const groups = [
|
|
@@ -769,19 +740,17 @@ var InviteActions = ({
|
|
|
769
740
|
onClick: handleCopyLink
|
|
770
741
|
}
|
|
771
742
|
]
|
|
772
|
-
}
|
|
773
|
-
|
|
774
|
-
if (allowDelete) {
|
|
775
|
-
groups.push({
|
|
743
|
+
},
|
|
744
|
+
{
|
|
776
745
|
actions: [
|
|
777
746
|
{
|
|
778
|
-
icon: /* @__PURE__ */ jsx8(
|
|
747
|
+
icon: /* @__PURE__ */ jsx8(Trash, {}),
|
|
779
748
|
label: t("actions.delete"),
|
|
780
749
|
onClick: handleDelete
|
|
781
750
|
}
|
|
782
751
|
]
|
|
783
|
-
}
|
|
784
|
-
|
|
752
|
+
}
|
|
753
|
+
];
|
|
785
754
|
return /* @__PURE__ */ jsx8(ActionMenu, { groups });
|
|
786
755
|
};
|
|
787
756
|
var MemberActions = ({
|
|
@@ -796,13 +765,13 @@ var MemberActions = ({
|
|
|
796
765
|
const handleRemove = async () => {
|
|
797
766
|
try {
|
|
798
767
|
await removeMember();
|
|
799
|
-
|
|
768
|
+
toast.success(
|
|
800
769
|
t("users.deleteUserSuccess", {
|
|
801
770
|
name: member.member?.email
|
|
802
771
|
})
|
|
803
772
|
);
|
|
804
773
|
} catch (e) {
|
|
805
|
-
|
|
774
|
+
toast.error(e.message);
|
|
806
775
|
}
|
|
807
776
|
};
|
|
808
777
|
return /* @__PURE__ */ jsx8(
|
|
@@ -812,7 +781,7 @@ var MemberActions = ({
|
|
|
812
781
|
{
|
|
813
782
|
actions: [
|
|
814
783
|
{
|
|
815
|
-
icon: /* @__PURE__ */ jsx8(
|
|
784
|
+
icon: /* @__PURE__ */ jsx8(Trash, {}),
|
|
816
785
|
label: t("actions.remove"),
|
|
817
786
|
onClick: handleRemove
|
|
818
787
|
}
|
|
@@ -824,13 +793,13 @@ var MemberActions = ({
|
|
|
824
793
|
};
|
|
825
794
|
|
|
826
795
|
// src/pages/stores/store-details/components/store-members-section/store-members-section.tsx
|
|
827
|
-
import { jsx as jsx9, jsxs as
|
|
796
|
+
import { jsx as jsx9, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
828
797
|
var StoreMembersSection = ({ sellerId }) => {
|
|
829
798
|
const { t } = useTranslation9();
|
|
830
|
-
return /* @__PURE__ */
|
|
831
|
-
/* @__PURE__ */
|
|
799
|
+
return /* @__PURE__ */ jsxs9(Container7, { className: "divide-y p-0", children: [
|
|
800
|
+
/* @__PURE__ */ jsxs9("div", { className: "flex items-center justify-between px-6 py-4", children: [
|
|
832
801
|
/* @__PURE__ */ jsx9(Heading7, { level: "h2", children: t("users.domain", "Users") }),
|
|
833
|
-
/* @__PURE__ */ jsx9(Link2, { to: "invite", children: /* @__PURE__ */ jsx9(Button, { size: "small", variant: "secondary", children: t("
|
|
802
|
+
/* @__PURE__ */ jsx9(Link2, { to: "invite", children: /* @__PURE__ */ jsx9(Button, { size: "small", variant: "secondary", children: t("stores.members.addUser.action", "Add") }) })
|
|
834
803
|
] }),
|
|
835
804
|
/* @__PURE__ */ jsx9(StoreMembersDataTable, { sellerId })
|
|
836
805
|
] });
|
|
@@ -843,104 +812,156 @@ import {
|
|
|
843
812
|
Button as Button2,
|
|
844
813
|
Container as Container8,
|
|
845
814
|
Heading as Heading8,
|
|
846
|
-
|
|
815
|
+
Prompt,
|
|
816
|
+
Text as Text6,
|
|
847
817
|
Textarea,
|
|
848
|
-
toast as
|
|
818
|
+
toast as toast2
|
|
849
819
|
} from "@medusajs/ui";
|
|
850
820
|
import { useTranslation as useTranslation10 } from "react-i18next";
|
|
851
|
-
import {
|
|
821
|
+
import { jsx as jsx10, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
852
822
|
var StoreRequestSection = ({ seller }) => {
|
|
853
823
|
const { t } = useTranslation10();
|
|
854
|
-
const [pendingAction, setPendingAction] = useState(null);
|
|
855
|
-
const [note, setNote] = useState("");
|
|
856
824
|
const { mutateAsync: approveSeller, isPending: isApproving } = useApproveSeller(seller.id);
|
|
857
825
|
const { mutateAsync: suspendSeller, isPending: isRejecting } = useSuspendSeller(seller.id);
|
|
858
|
-
const
|
|
859
|
-
const
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
|
|
863
|
-
const
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
await approveSeller();
|
|
867
|
-
toast3.success(t("stores.request.confirmSuccess"));
|
|
868
|
-
} else if (pendingAction === "reject") {
|
|
869
|
-
await suspendSeller({ reason: note || void 0 });
|
|
870
|
-
toast3.success(t("stores.request.rejectSuccess"));
|
|
871
|
-
}
|
|
872
|
-
cancel();
|
|
873
|
-
} catch (error) {
|
|
874
|
-
toast3.error(error.message);
|
|
875
|
-
}
|
|
876
|
-
};
|
|
877
|
-
const isSubmitting = isApproving || isRejecting;
|
|
878
|
-
return /* @__PURE__ */ jsxs9(Container8, { className: "p-0", children: [
|
|
879
|
-
/* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-x-3 border-b border-ui-border-base px-6 py-4", children: [
|
|
826
|
+
const { seller_members } = useSellerMembers(seller.id, { limit: 100 });
|
|
827
|
+
const owner = seller_members?.find(
|
|
828
|
+
(m) => m.is_owner
|
|
829
|
+
);
|
|
830
|
+
const ownerFullName = [owner?.member?.first_name, owner?.member?.last_name].filter(Boolean).join(" ").trim();
|
|
831
|
+
const requesterLabel = ownerFullName || owner?.member?.email || seller.email || seller.name;
|
|
832
|
+
return /* @__PURE__ */ jsxs10(Container8, { className: "p-0", children: [
|
|
833
|
+
/* @__PURE__ */ jsxs10("div", { className: "flex items-center gap-x-3 border-b border-ui-border-base px-6 py-4", children: [
|
|
880
834
|
/* @__PURE__ */ jsx10(ExclamationCircleSolid, { className: "text-ui-tag-blue-icon" }),
|
|
881
835
|
/* @__PURE__ */ jsx10(Heading8, { level: "h2", children: t("stores.request.title") })
|
|
882
836
|
] }),
|
|
883
|
-
/* @__PURE__ */ jsx10("div", { className: "px-6 py-4", children: /* @__PURE__ */ jsx10(
|
|
884
|
-
|
|
885
|
-
/* @__PURE__ */ jsx10(Text7, { size: "small", weight: "plus", className: "text-ui-fg-subtle", children: pendingAction === "confirm" ? t("stores.request.confirmNoteLabel") : t("stores.request.rejectNoteLabel") }),
|
|
886
|
-
/* @__PURE__ */ jsx10(
|
|
887
|
-
Textarea,
|
|
888
|
-
{
|
|
889
|
-
placeholder: t("stores.request.notePlaceholder"),
|
|
890
|
-
value: note,
|
|
891
|
-
onChange: (e) => setNote(e.target.value)
|
|
892
|
-
}
|
|
893
|
-
)
|
|
894
|
-
] }) : null,
|
|
895
|
-
/* @__PURE__ */ jsx10("div", { className: "flex items-center justify-end gap-x-2 rounded-b-lg border-t border-ui-border-base bg-ui-bg-subtle px-6 py-4", children: pendingAction ? /* @__PURE__ */ jsxs9(Fragment3, { children: [
|
|
837
|
+
/* @__PURE__ */ jsx10("div", { className: "px-6 py-4", children: /* @__PURE__ */ jsx10(Text6, { className: "text-ui-fg-subtle", children: t("stores.request.description", { requester: requesterLabel }) }) }),
|
|
838
|
+
/* @__PURE__ */ jsxs10("div", { className: "flex items-center justify-end gap-x-2 rounded-b-lg border-t border-ui-border-base bg-ui-bg-subtle px-6 py-4", children: [
|
|
896
839
|
/* @__PURE__ */ jsx10(
|
|
897
|
-
|
|
840
|
+
RequestActionPrompt,
|
|
898
841
|
{
|
|
899
|
-
size: "small",
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
size: "small",
|
|
921
|
-
variant: "secondary",
|
|
922
|
-
onClick: () => setPendingAction("confirm"),
|
|
923
|
-
children: t("stores.request.confirm")
|
|
842
|
+
trigger: /* @__PURE__ */ jsx10(Button2, { size: "small", variant: "secondary", children: t("stores.request.confirm") }),
|
|
843
|
+
title: t("stores.request.confirmTitle", "Confirm request"),
|
|
844
|
+
description: t(
|
|
845
|
+
"stores.request.confirmDescription",
|
|
846
|
+
"You are about to confirm this store request."
|
|
847
|
+
),
|
|
848
|
+
confirmLabel: t("stores.request.confirm"),
|
|
849
|
+
notePlaceholder: t(
|
|
850
|
+
"stores.request.confirmNotePlaceholder",
|
|
851
|
+
"Specify changes you made or additional requests"
|
|
852
|
+
),
|
|
853
|
+
isLoading: isApproving,
|
|
854
|
+
onConfirm: async (_note) => {
|
|
855
|
+
try {
|
|
856
|
+
await approveSeller();
|
|
857
|
+
toast2.success(t("stores.request.confirmSuccess"));
|
|
858
|
+
} catch (error) {
|
|
859
|
+
toast2.error(error.message);
|
|
860
|
+
throw error;
|
|
861
|
+
}
|
|
862
|
+
}
|
|
924
863
|
}
|
|
925
864
|
),
|
|
926
865
|
/* @__PURE__ */ jsx10(
|
|
927
|
-
|
|
866
|
+
RequestActionPrompt,
|
|
928
867
|
{
|
|
929
|
-
size: "small",
|
|
930
|
-
|
|
931
|
-
|
|
932
|
-
|
|
868
|
+
trigger: /* @__PURE__ */ jsx10(Button2, { size: "small", variant: "secondary", children: t("stores.request.reject") }),
|
|
869
|
+
title: t("stores.request.rejectTitle", "Reject request"),
|
|
870
|
+
description: t(
|
|
871
|
+
"stores.request.rejectDescription",
|
|
872
|
+
"You are about to reject this store request."
|
|
873
|
+
),
|
|
874
|
+
confirmLabel: t("stores.request.reject"),
|
|
875
|
+
notePlaceholder: t(
|
|
876
|
+
"stores.request.rejectNotePlaceholder",
|
|
877
|
+
"Explain why you reject the request or suggest changes"
|
|
878
|
+
),
|
|
879
|
+
isLoading: isRejecting,
|
|
880
|
+
onConfirm: async (note) => {
|
|
881
|
+
try {
|
|
882
|
+
await suspendSeller({ reason: note || void 0 });
|
|
883
|
+
toast2.success(t("stores.request.rejectSuccess"));
|
|
884
|
+
} catch (error) {
|
|
885
|
+
toast2.error(error.message);
|
|
886
|
+
throw error;
|
|
887
|
+
}
|
|
888
|
+
}
|
|
933
889
|
}
|
|
934
890
|
)
|
|
935
|
-
] })
|
|
891
|
+
] })
|
|
892
|
+
] });
|
|
893
|
+
};
|
|
894
|
+
var RequestActionPrompt = ({
|
|
895
|
+
trigger,
|
|
896
|
+
title,
|
|
897
|
+
description,
|
|
898
|
+
notePlaceholder,
|
|
899
|
+
confirmLabel,
|
|
900
|
+
isLoading,
|
|
901
|
+
onConfirm
|
|
902
|
+
}) => {
|
|
903
|
+
const { t } = useTranslation10();
|
|
904
|
+
const [open, setOpen] = useState(false);
|
|
905
|
+
const [note, setNote] = useState("");
|
|
906
|
+
const handleSubmit = async () => {
|
|
907
|
+
try {
|
|
908
|
+
await onConfirm(note);
|
|
909
|
+
setOpen(false);
|
|
910
|
+
setNote("");
|
|
911
|
+
} catch {
|
|
912
|
+
}
|
|
913
|
+
};
|
|
914
|
+
return /* @__PURE__ */ jsxs10(Prompt, { open, onOpenChange: setOpen, children: [
|
|
915
|
+
/* @__PURE__ */ jsx10(Prompt.Trigger, { asChild: true, children: trigger }),
|
|
916
|
+
/* @__PURE__ */ jsxs10(Prompt.Content, { children: [
|
|
917
|
+
/* @__PURE__ */ jsxs10(Prompt.Header, { children: [
|
|
918
|
+
/* @__PURE__ */ jsx10(Prompt.Title, { children: title }),
|
|
919
|
+
/* @__PURE__ */ jsx10(Prompt.Description, { children: description })
|
|
920
|
+
] }),
|
|
921
|
+
/* @__PURE__ */ jsx10("div", { className: "border-ui-border-base border-t mt-3" }),
|
|
922
|
+
/* @__PURE__ */ jsxs10("div", { className: "flex flex-col gap-y-3 px-6 py-3", children: [
|
|
923
|
+
/* @__PURE__ */ jsxs10(Text6, { size: "small", weight: "plus", className: "text-ui-fg-base", children: [
|
|
924
|
+
t("stores.request.noteLabel", "Notes for vendor"),
|
|
925
|
+
" ",
|
|
926
|
+
/* @__PURE__ */ jsxs10("span", { className: "text-ui-fg-muted font-normal", children: [
|
|
927
|
+
"(",
|
|
928
|
+
t("fields.optional", "Optional"),
|
|
929
|
+
")"
|
|
930
|
+
] })
|
|
931
|
+
] }),
|
|
932
|
+
/* @__PURE__ */ jsx10(
|
|
933
|
+
Textarea,
|
|
934
|
+
{
|
|
935
|
+
placeholder: notePlaceholder,
|
|
936
|
+
value: note,
|
|
937
|
+
onChange: (e) => setNote(e.target.value)
|
|
938
|
+
}
|
|
939
|
+
)
|
|
940
|
+
] }),
|
|
941
|
+
/* @__PURE__ */ jsx10("div", { className: "border-ui-border-base border-t mt-2" }),
|
|
942
|
+
/* @__PURE__ */ jsxs10(Prompt.Footer, { children: [
|
|
943
|
+
/* @__PURE__ */ jsx10(Prompt.Cancel, { disabled: isLoading, children: t("actions.cancel") }),
|
|
944
|
+
/* @__PURE__ */ jsx10(
|
|
945
|
+
Button2,
|
|
946
|
+
{
|
|
947
|
+
size: "small",
|
|
948
|
+
variant: "primary",
|
|
949
|
+
onClick: handleSubmit,
|
|
950
|
+
isLoading,
|
|
951
|
+
children: confirmLabel
|
|
952
|
+
}
|
|
953
|
+
)
|
|
954
|
+
] })
|
|
955
|
+
] })
|
|
936
956
|
] });
|
|
937
957
|
};
|
|
938
958
|
|
|
939
959
|
// src/pages/stores/store-details/components/store-orders-section.tsx
|
|
960
|
+
import { ShoppingCart } from "@medusajs/icons";
|
|
940
961
|
import { Container as Container9, Heading as Heading9 } from "@medusajs/ui";
|
|
941
962
|
import { keepPreviousData as keepPreviousData2 } from "@tanstack/react-query";
|
|
942
963
|
import { useTranslation as useTranslation11 } from "react-i18next";
|
|
943
|
-
import { jsx as jsx11, jsxs as
|
|
964
|
+
import { jsx as jsx11, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
944
965
|
var PAGE_SIZE2 = 10;
|
|
945
966
|
var PREFIX = "store-orders";
|
|
946
967
|
var DEFAULT_RELATIONS = "*customer,*items,*sales_channel";
|
|
@@ -976,7 +997,7 @@ var StoreOrdersSection = ({ sellerId }) => {
|
|
|
976
997
|
if (isError) {
|
|
977
998
|
throw error;
|
|
978
999
|
}
|
|
979
|
-
return /* @__PURE__ */
|
|
1000
|
+
return /* @__PURE__ */ jsxs11(Container9, { className: "divide-y p-0", "data-testid": "store-orders-section", children: [
|
|
980
1001
|
/* @__PURE__ */ jsx11(
|
|
981
1002
|
"div",
|
|
982
1003
|
{
|
|
@@ -1005,7 +1026,12 @@ var StoreOrdersSection = ({ sellerId }) => {
|
|
|
1005
1026
|
queryObject: raw,
|
|
1006
1027
|
prefix: PREFIX,
|
|
1007
1028
|
noRecords: {
|
|
1008
|
-
|
|
1029
|
+
title: t("stores.emptyStates.orders.title", "No orders yet"),
|
|
1030
|
+
message: t(
|
|
1031
|
+
"stores.emptyStates.orders.message",
|
|
1032
|
+
"Orders placed at this store will appear here."
|
|
1033
|
+
),
|
|
1034
|
+
icon: /* @__PURE__ */ jsx11(ShoppingCart, { className: "text-ui-fg-subtle" })
|
|
1009
1035
|
}
|
|
1010
1036
|
}
|
|
1011
1037
|
)
|
|
@@ -1013,10 +1039,11 @@ var StoreOrdersSection = ({ sellerId }) => {
|
|
|
1013
1039
|
};
|
|
1014
1040
|
|
|
1015
1041
|
// src/pages/stores/store-details/components/store-products-section.tsx
|
|
1042
|
+
import { Tag } from "@medusajs/icons";
|
|
1016
1043
|
import { Container as Container10, Heading as Heading10 } from "@medusajs/ui";
|
|
1017
1044
|
import { keepPreviousData as keepPreviousData3 } from "@tanstack/react-query";
|
|
1018
1045
|
import { useTranslation as useTranslation12 } from "react-i18next";
|
|
1019
|
-
import { jsx as jsx12, jsxs as
|
|
1046
|
+
import { jsx as jsx12, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
1020
1047
|
var PAGE_SIZE3 = 10;
|
|
1021
1048
|
var PREFIX2 = "store-products";
|
|
1022
1049
|
var StoreProductsSection = ({
|
|
@@ -1047,7 +1074,7 @@ var StoreProductsSection = ({
|
|
|
1047
1074
|
if (isError) {
|
|
1048
1075
|
throw error;
|
|
1049
1076
|
}
|
|
1050
|
-
return /* @__PURE__ */
|
|
1077
|
+
return /* @__PURE__ */ jsxs12(Container10, { className: "divide-y p-0", "data-testid": "store-products-section", children: [
|
|
1051
1078
|
/* @__PURE__ */ jsx12(
|
|
1052
1079
|
"div",
|
|
1053
1080
|
{
|
|
@@ -1076,7 +1103,12 @@ var StoreProductsSection = ({
|
|
|
1076
1103
|
pagination: true,
|
|
1077
1104
|
prefix: PREFIX2,
|
|
1078
1105
|
noRecords: {
|
|
1079
|
-
|
|
1106
|
+
title: t("stores.emptyStates.products.title", "No products yet"),
|
|
1107
|
+
message: t(
|
|
1108
|
+
"stores.emptyStates.products.message",
|
|
1109
|
+
"Products published by this store will appear here."
|
|
1110
|
+
),
|
|
1111
|
+
icon: /* @__PURE__ */ jsx12(Tag, { className: "text-ui-fg-subtle" })
|
|
1080
1112
|
}
|
|
1081
1113
|
}
|
|
1082
1114
|
)
|
|
@@ -1084,7 +1116,7 @@ var StoreProductsSection = ({
|
|
|
1084
1116
|
};
|
|
1085
1117
|
|
|
1086
1118
|
// src/pages/stores/store-details/components/store-details.tsx
|
|
1087
|
-
import { jsx as jsx13, jsxs as
|
|
1119
|
+
import { jsx as jsx13, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
1088
1120
|
var TABS = ["orders", "products", "users", "timeOff"];
|
|
1089
1121
|
var TabBar = ({
|
|
1090
1122
|
activeTab,
|
|
@@ -1138,9 +1170,9 @@ var Root = ({ children }) => {
|
|
|
1138
1170
|
if (Children3.count(children) > 0) {
|
|
1139
1171
|
return /* @__PURE__ */ jsx13(TwoColumnPage, { data: seller, hasOutlet: true, "data-testid": "store-detail-page", children });
|
|
1140
1172
|
}
|
|
1141
|
-
return /* @__PURE__ */
|
|
1142
|
-
/* @__PURE__ */
|
|
1143
|
-
seller.status === import_types3.SellerStatus.PENDING_APPROVAL && /* @__PURE__ */ jsx13(StoreRequestSection, { seller }),
|
|
1173
|
+
return /* @__PURE__ */ jsxs13(TwoColumnPage, { data: seller, hasOutlet: true, "data-testid": "store-detail-page", children: [
|
|
1174
|
+
/* @__PURE__ */ jsxs13(TwoColumnPage.Main, { children: [
|
|
1175
|
+
seller.status === import_types3.SellerStatus.PENDING_APPROVAL && !seller.approved_at && !seller.rejected_at && /* @__PURE__ */ jsx13(StoreRequestSection, { seller }),
|
|
1144
1176
|
/* @__PURE__ */ jsx13(StoreGeneralSection, { seller }),
|
|
1145
1177
|
/* @__PURE__ */ jsx13(TabBar, { activeTab, onTabChange: setActiveTab }),
|
|
1146
1178
|
activeTab === "orders" && /* @__PURE__ */ jsx13(
|
|
@@ -1180,7 +1212,7 @@ var Root = ({ children }) => {
|
|
|
1180
1212
|
}
|
|
1181
1213
|
)
|
|
1182
1214
|
] }),
|
|
1183
|
-
/* @__PURE__ */
|
|
1215
|
+
/* @__PURE__ */ jsxs13(TwoColumnPage.Sidebar, { children: [
|
|
1184
1216
|
/* @__PURE__ */ jsx13(StoreAddressSection, { seller }),
|
|
1185
1217
|
/* @__PURE__ */ jsx13(StoreCompanyDetailsSection, { seller }),
|
|
1186
1218
|
/* @__PURE__ */ jsx13(StorePaymentDetailsSection, { seller }),
|