@mercurjs/admin 2.0.0-canary.53 → 2.0.0-canary.54
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-TQ5UJNAO.js → add-campaign-promotions-ROIFZBY2.js} +4 -4
- package/dist/{adjust-inventory-IRJS7SGB.js → adjust-inventory-4AUFCFKN.js} +2 -2
- package/dist/{api-key-management-create-ZPE5PYZS.js → api-key-management-create-NWSWRXEN.js} +1 -1
- package/dist/{api-key-management-detail-OTWMAKJV.js → api-key-management-detail-DYIBAGLC.js} +1 -1
- package/dist/{api-key-management-edit-NFSJUYGX.js → api-key-management-edit-JNNR7KBP.js} +1 -1
- package/dist/{api-key-management-sales-channels-ER5ZINL7.js → api-key-management-sales-channels-VUPBD5HB.js} +1 -1
- package/dist/{campaign-budget-edit-I7U4DMHF.js → campaign-budget-edit-7RUMHSWN.js} +1 -1
- package/dist/{campaign-configuration-6YCX4Z75.js → campaign-configuration-B5LULUAF.js} +1 -1
- package/dist/{campaign-create-Y3OUBIMG.js → campaign-create-7NHBTPT2.js} +2 -2
- package/dist/{campaign-detail-YCEPEDRA.js → campaign-detail-GTOZKCGG.js} +5 -5
- package/dist/{campaign-edit-75XWDFBK.js → campaign-edit-52KW6KPP.js} +1 -1
- package/dist/{categories-metadata-2RQI7L2W.js → categories-metadata-QQC5G4KH.js} +3 -3
- package/dist/{category-create-LY45Z7YB.js → category-create-PJJIYYGR.js} +3 -3
- package/dist/{category-detail-5GG7U2Y3.js → category-detail-2O3BJJOC.js} +3 -3
- package/dist/{category-edit-ZDTTOXKZ.js → category-edit-O54QMMOU.js} +1 -1
- package/dist/{category-organize-P3SP5ORE.js → category-organize-RGCVKA3C.js} +1 -1
- package/dist/{category-products-4DGFSMDA.js → category-products-TLVDU6Z6.js} +3 -3
- package/dist/{chunk-UOIUQC3P.js → chunk-2D73X2U5.js} +92 -49
- package/dist/{chunk-FYAYHOCN.js → chunk-4VM67UOG.js} +1 -1
- package/dist/{chunk-XLFY6D6P.js → chunk-4XZXLPOF.js} +3 -3
- package/dist/{chunk-OFWYMU6K.js → chunk-6JX5WSHO.js} +7 -6
- package/dist/{chunk-Z2MDPTF2.js → chunk-77R2QD4O.js} +1 -1
- package/dist/{chunk-3BODVZLQ.js → chunk-77UTPUNK.js} +1 -1
- package/dist/{chunk-2FZ47MSS.js → chunk-7SBQ7HLD.js} +1 -1
- package/dist/{chunk-G644AXKV.js → chunk-A6DN2NAH.js} +1 -1
- package/dist/{chunk-HVLQFQGD.js → chunk-AKBUMH4S.js} +3 -3
- package/dist/{chunk-D44T5KAE.js → chunk-BN7OB5Z5.js} +2 -2
- package/dist/{chunk-S2GARTQU.js → chunk-BNUHVSTQ.js} +1 -1
- package/dist/{chunk-XOKRMMVP.js → chunk-C3Q2MVQB.js} +1 -1
- package/dist/{chunk-BAV6Y7RC.js → chunk-EF47ASFU.js} +1 -1
- package/dist/{chunk-I6R4I7EF.js → chunk-HJUCPSGC.js} +7 -6
- package/dist/{chunk-2NF6WEZX.js → chunk-HZH4P6MO.js} +3 -3
- package/dist/{chunk-XHVYNMTA.js → chunk-IUGMDGEH.js} +1 -1
- package/dist/{chunk-25Z3ZNHL.js → chunk-JWRLLVTY.js} +1 -1
- package/dist/{chunk-FBUH5OLD.js → chunk-K7YUUIDJ.js} +1 -1
- package/dist/{chunk-7AQGLPV7.js → chunk-KKLEAVAN.js} +3 -3
- package/dist/{chunk-F55UXYYA.js → chunk-KU5ZQ4QM.js} +1311 -1300
- package/dist/{chunk-FSZTUENG.js → chunk-L4GOI75U.js} +1 -1
- package/dist/{chunk-MD56QRKC.js → chunk-MXHQXKDZ.js} +1 -1
- package/dist/{chunk-6OA7JZ5E.js → chunk-N3WRPCPT.js} +1 -1
- package/dist/{chunk-53IISBJZ.js → chunk-NYWESQ6J.js} +8 -0
- package/dist/{chunk-RZRNNY37.js → chunk-O4AUZQGI.js} +4 -4
- package/dist/{chunk-GF4QHVX3.js → chunk-POQLHNFG.js} +11 -0
- package/dist/{chunk-LOJD5572.js → chunk-RDOPNIVD.js} +2 -2
- package/dist/{chunk-AJZQBGE4.js → chunk-T63BOZZN.js} +4 -4
- package/dist/{chunk-YOZMLU26.js → chunk-TKQRAX2I.js} +4 -4
- package/dist/{chunk-MWOKFNRO.js → chunk-V6LO4BXB.js} +28 -14
- package/dist/{chunk-FRRQW7BG.js → chunk-WEVK4TBV.js} +1 -1
- package/dist/{chunk-U4RMXPGI.js → chunk-WNHWAVH2.js} +8 -11
- package/dist/{chunk-TEEJ5IOE.js → chunk-WO6VMN4S.js} +1 -1
- package/dist/{chunk-ZZEAWVFX.js → chunk-X6HEEFUW.js} +1 -1
- package/dist/{chunk-5GG65TKV.js → chunk-XSEF6KRY.js} +1 -1
- package/dist/{chunk-VXAQZ2ZZ.js → chunk-YAOXK7Y3.js} +76 -7
- package/dist/{chunk-B44E3LJT.js → chunk-YDAJI7WF.js} +1 -1
- package/dist/{chunk-ST74PSEZ.js → chunk-ZBI2HK4R.js} +2 -2
- package/dist/{collection-add-products-AYIFXYIC.js → collection-add-products-NNOKFBIS.js} +3 -3
- package/dist/{collection-create-UDSHUUF4.js → collection-create-HX6G7OV6.js} +1 -1
- package/dist/{collection-detail-5EYI6Q57.js → collection-detail-WDOGKADQ.js} +3 -3
- package/dist/{collection-edit-IMQEW4B3.js → collection-edit-JUN5TUDU.js} +1 -1
- package/dist/{collection-list-GCFA2MDO.js → collection-list-KXKSWIIM.js} +2 -2
- package/dist/{collection-metadata-GFFSBJHH.js → collection-metadata-LWLYSMN3.js} +3 -3
- package/dist/{commission-rate-create-7LMA3UFE.js → commission-rate-create-D6RGMKTI.js} +4 -4
- package/dist/{commission-rate-detail-XW3GJDCK.js → commission-rate-detail-TBXZZZR3.js} +1 -1
- package/dist/{commission-rate-edit-N3W66CKF.js → commission-rate-edit-TZZIRK3G.js} +4 -4
- package/dist/{customer-create-MO4PQZ6B.js → customer-create-ELO5FVOK.js} +1 -1
- package/dist/{customer-create-address-GKWNPTZS.js → customer-create-address-F4VFFEZP.js} +1 -1
- package/dist/{customer-detail-LDGJH3CY.js → customer-detail-52FKERBW.js} +1 -1
- package/dist/{customer-edit-WDRZ6YUO.js → customer-edit-5622I5ET.js} +1 -1
- package/dist/{customer-group-add-customers-LCNDTLXR.js → customer-group-add-customers-QUHXVTAH.js} +1 -1
- package/dist/{customer-group-create-FXXH53RF.js → customer-group-create-HSDPGWOL.js} +1 -1
- package/dist/{customer-group-detail-OXJQSNMH.js → customer-group-detail-R2RMCVFP.js} +1 -1
- package/dist/{customer-group-edit-TD23AENH.js → customer-group-edit-3VOO26XF.js} +1 -1
- package/dist/{customer-group-list-IBCOKIIZ.js → customer-group-list-VEIBHFIO.js} +1 -1
- package/dist/{customer-group-metadata-NUCV6D36.js → customer-group-metadata-52THJ6DP.js} +3 -3
- package/dist/{customer-metadata-RL7GH7QV.js → customer-metadata-HA4TP4JL.js} +3 -3
- package/dist/{customers-add-customer-group-GEVS3QJY.js → customers-add-customer-group-M66BT3G3.js} +2 -2
- package/dist/{edit-inventory-item-5L3ZVBHN.js → edit-inventory-item-4HONPTRJ.js} +2 -2
- package/dist/{edit-inventory-item-attributes-DRMYYOPC.js → edit-inventory-item-attributes-UV6LGZ7I.js} +2 -2
- package/dist/{edit-reservation-7UOWKFMF.js → edit-reservation-LMXNPFYD.js} +1 -1
- package/dist/{edit-rules-MHLQKGZZ.js → edit-rules-5YDLGMDC.js} +2 -2
- package/dist/index.js +201 -201
- package/dist/{inventory-create-MG4KY5GM.js → inventory-create-2QL5P64R.js} +4 -4
- package/dist/{inventory-detail-YA5C3JYG.js → inventory-detail-B2UGBZFV.js} +1 -1
- package/dist/{inventory-metadata-47Y7E5F7.js → inventory-metadata-VVO3K3WH.js} +3 -3
- package/dist/{inventory-stock-3D27DPBH.js → inventory-stock-S7VQYBSH.js} +2 -2
- package/dist/{location-create-FQT3BJGV.js → location-create-6YDTIX6P.js} +1 -1
- package/dist/{location-detail-4NPAIYUZ.js → location-detail-QIPG6UOD.js} +1 -1
- package/dist/{location-edit-RTPPP4KP.js → location-edit-GASYJFVV.js} +1 -1
- package/dist/{location-fulfillment-providers-QDVKTVVV.js → location-fulfillment-providers-FW4G5QUK.js} +3 -3
- package/dist/{location-list-QPFWN62R.js → location-list-RRLYE3YX.js} +1 -1
- package/dist/{location-sales-channels-PPH53OHD.js → location-sales-channels-24OQ2DJT.js} +1 -1
- package/dist/{location-service-zone-create-AIVG7HTM.js → location-service-zone-create-WNJZ53V4.js} +2 -2
- package/dist/{location-service-zone-edit-ZN6PMCG7.js → location-service-zone-edit-QAWKO5MM.js} +1 -1
- package/dist/{location-service-zone-manage-areas-EZSV25CP.js → location-service-zone-manage-areas-YQVRXSAQ.js} +2 -2
- package/dist/{location-service-zone-shipping-option-create-KQ6W2X6N.js → location-service-zone-shipping-option-create-U3KSJJDE.js} +5 -5
- package/dist/{location-service-zone-shipping-option-edit-IYY5FGIR.js → location-service-zone-shipping-option-edit-WKQ2UL4S.js} +1 -1
- package/dist/{location-service-zone-shipping-option-pricing-4CTGXBP3.js → location-service-zone-shipping-option-pricing-WXXUQCCE.js} +2 -2
- package/dist/{login-J53ICET6.js → login-IEL65E24.js} +1 -1
- package/dist/{manage-locations-SAEMVG2S.js → manage-locations-BFISROYU.js} +1 -1
- package/dist/{marketplace-add-currencies-CIGOPBO6.js → marketplace-add-currencies-GPPNUIBZ.js} +1 -1
- package/dist/{marketplace-detail-Z3I3BYN2.js → marketplace-detail-KLU2QC2A.js} +1 -1
- package/dist/{marketplace-edit-CF3M2T7V.js → marketplace-edit-LHVVU2GX.js} +1 -1
- package/dist/{marketplace-metadata-CPMM6KBT.js → marketplace-metadata-SJQACBH5.js} +3 -3
- package/dist/{order-allocate-items-VEEANPH7.js → order-allocate-items-P5R5MZZL.js} +1 -1
- package/dist/{order-create-claim-TYJTGC3H.js → order-create-claim-N3R6CHSG.js} +2 -2
- package/dist/{order-create-edit-AHCCN2L6.js → order-create-edit-YP4KPJKY.js} +5 -9
- package/dist/{order-create-exchange-7DIU4KDZ.js → order-create-exchange-CNUVGFKV.js} +2 -2
- package/dist/{order-create-fulfillment-XPPD5IMV.js → order-create-fulfillment-KNLRCUUK.js} +2 -2
- package/dist/{order-create-refund-67K4KLEH.js → order-create-refund-URHARFOU.js} +2 -2
- package/dist/{order-create-return-WY6R4QMN.js → order-create-return-5SUJK5PL.js} +1 -1
- package/dist/{order-create-shipment-ZYJMQ5HS.js → order-create-shipment-DOOWQT3H.js} +2 -2
- package/dist/{order-detail-5DFGGGY3.js → order-detail-4EYTYDLT.js} +2 -2
- package/dist/{order-edit-billing-address-O54ZDFO7.js → order-edit-billing-address-RVYM5LMU.js} +3 -3
- package/dist/{order-edit-email-JOHDE54L.js → order-edit-email-4N77W4PE.js} +2 -2
- package/dist/{order-edit-shipping-address-U76B4TF7.js → order-edit-shipping-address-VM4I7XHA.js} +2 -2
- package/dist/{order-list-VPQOG5WE.js → order-list-RAKS4HFH.js} +2 -2
- package/dist/{order-metadata-BLCT35IK.js → order-metadata-2P5TIDZI.js} +3 -3
- package/dist/{order-receive-return-PSOHUSRV.js → order-receive-return-ZGL3IFI5.js} +2 -2
- package/dist/{order-request-transfer-632PSIIQ.js → order-request-transfer-LNSVY7P5.js} +2 -2
- package/dist/pages/index.d.ts +4 -4
- package/dist/pages/index.js +35 -35
- package/dist/{price-list-configuration-XK3IZLLX.js → price-list-configuration-NYE3KMKL.js} +2 -2
- package/dist/{price-list-create-HAFFM63A.js → price-list-create-LRMDS662.js} +6 -6
- package/dist/{price-list-detail-AHMH5SL5.js → price-list-detail-D5LZFDBX.js} +3 -3
- package/dist/{price-list-edit-KK7SHR7O.js → price-list-edit-3RSVLSWD.js} +1 -1
- package/dist/{price-list-prices-add-GC64EABT.js → price-list-prices-add-EFIDQHFR.js} +5 -5
- package/dist/{price-list-prices-edit-CXXM7SHY.js → price-list-prices-edit-3WXLURYM.js} +2 -2
- package/dist/{product-attributes-FBATOL6Z.js → product-attributes-FJUI6MDW.js} +1 -1
- package/dist/{product-create-UGQGBC4T.js → product-create-IBC3MNZN.js} +6 -6
- package/dist/{product-create-option-QOSF45LU.js → product-create-option-NQ7VVYFK.js} +1 -1
- package/dist/{product-create-variant-GCMWR5HY.js → product-create-variant-KKCQHJHP.js} +4 -4
- package/dist/{product-detail-YRNJ7DIG.js → product-detail-BI7F5LCL.js} +1 -1
- package/dist/{product-edit-H53OL43R.js → product-edit-SW5F5LUF.js} +1 -1
- package/dist/{product-edit-option-QDZEXWI4.js → product-edit-option-ZY7GGRTX.js} +1 -1
- package/dist/{product-export-Y6A7OTRZ.js → product-export-B26QYQAU.js} +3 -3
- package/dist/{product-import-DPMJ2BQ7.js → product-import-4DIIWWSN.js} +2 -2
- package/dist/{product-list-5QSCLFPL.js → product-list-773NQHAP.js} +3 -3
- package/dist/{product-media-2OWIHPR3.js → product-media-M74UWCTY.js} +3 -3
- package/dist/{product-metadata-DEWKK4BN.js → product-metadata-BJMG2FM6.js} +3 -3
- package/dist/{product-organization-K5URWNAI.js → product-organization-ZH2X4WMY.js} +1 -1
- package/dist/{product-prices-X6JO3Y5A.js → product-prices-A56QEI4H.js} +1 -1
- package/dist/{product-sales-channels-GRVDE7YZ.js → product-sales-channels-SBXXVFRH.js} +1 -1
- package/dist/{product-shipping-profile-XK3DQBDT.js → product-shipping-profile-JGIJWCLQ.js} +1 -1
- package/dist/{product-stock-3DIZQE4U.js → product-stock-EPPYZY26.js} +2 -2
- package/dist/{product-tag-create-DSN3KKO4.js → product-tag-create-WXY36HUH.js} +2 -2
- package/dist/{product-tag-detail-QIGLTHKL.js → product-tag-detail-JM3YY4MC.js} +3 -3
- package/dist/{product-tag-edit-WDIAWQBO.js → product-tag-edit-UIWBELO7.js} +2 -2
- package/dist/{product-tag-list-QCRLVJI3.js → product-tag-list-LKDQWWH3.js} +2 -2
- package/dist/{product-tag-metadata-5CWRGFS4.js → product-tag-metadata-77AESF2P.js} +3 -3
- package/dist/{product-type-create-7XJ3T4HI.js → product-type-create-ZMLHQXLB.js} +1 -1
- package/dist/{product-type-detail-3UAV42KY.js → product-type-detail-HSQJBQBB.js} +3 -3
- package/dist/{product-type-edit-ZV2DFSJE.js → product-type-edit-JOAK4O4D.js} +1 -1
- package/dist/{product-type-metadata-7M3SYLK4.js → product-type-metadata-2YBV554T.js} +3 -3
- package/dist/{product-variant-detail-FGI7NN4J.js → product-variant-detail-BBDDWMDV.js} +1 -1
- package/dist/{product-variant-edit-HBCIK3EB.js → product-variant-edit-MLP5GH5B.js} +2 -2
- package/dist/{product-variant-manage-inventory-items-UNXKKLIQ.js → product-variant-manage-inventory-items-LP4VWATO.js} +1 -1
- package/dist/{product-variant-metadata-GN5DD6U7.js → product-variant-metadata-XY6HYFCD.js} +3 -3
- package/dist/{profile-edit-4HXBRWJ5.js → profile-edit-52M3Q33A.js} +1 -1
- package/dist/{promotion-add-campaign-IEI7OT72.js → promotion-add-campaign-PL4RT75H.js} +2 -2
- package/dist/{promotion-create-7HQRXW62.js → promotion-create-54CLCNJN.js} +6 -6
- package/dist/{promotion-detail-BAZBPBQF.js → promotion-detail-7OJBSEH4.js} +4 -4
- package/dist/{promotion-edit-details-VAPQIXXE.js → promotion-edit-details-ZP6Z6N5J.js} +1 -1
- package/dist/{promotion-list-JSKJ5Q7T.js → promotion-list-RFX5MBEG.js} +4 -4
- package/dist/{refund-reason-create-UN25GAZT.js → refund-reason-create-MDOSIYKQ.js} +2 -2
- package/dist/{refund-reason-edit-IMSCUVMJ.js → refund-reason-edit-FTGSRLFG.js} +2 -2
- package/dist/{refund-reason-list-6FDYH6VE.js → refund-reason-list-SC5TIA5I.js} +1 -1
- package/dist/{region-add-countries-YOGU74UR.js → region-add-countries-NDXDOYBT.js} +1 -1
- package/dist/{region-create-ZPY6V77Q.js → region-create-CB77GNXD.js} +1 -1
- package/dist/{region-edit-Q2CBVPR2.js → region-edit-6NDH4VRX.js} +1 -1
- package/dist/{region-metadata-4YGLQK7U.js → region-metadata-ONMJODLY.js} +3 -3
- package/dist/{reservation-create-VG5L47V3.js → reservation-create-RRLASAMD.js} +1 -1
- package/dist/{reservation-detail-U73KVWYS.js → reservation-detail-TUMY3GAB.js} +1 -1
- package/dist/{reservation-metadata-TR5SANFA.js → reservation-metadata-5OOHNALG.js} +3 -3
- package/dist/{reset-password-R5ULRWEM.js → reset-password-JTIYSQGR.js} +1 -1
- package/dist/{return-reason-create-CNI3O6MJ.js → return-reason-create-3MND3LYO.js} +1 -1
- package/dist/{return-reason-edit-65YGXOSA.js → return-reason-edit-XMPSSITL.js} +1 -1
- package/dist/{sales-channel-add-products-CRMGV2U2.js → sales-channel-add-products-WW7Y7QOT.js} +3 -3
- package/dist/{sales-channel-create-26SXT7KC.js → sales-channel-create-B45GGEVP.js} +1 -1
- package/dist/{sales-channel-detail-3GNUHJB7.js → sales-channel-detail-L7IFBR3Z.js} +3 -3
- package/dist/{sales-channel-edit-LKJX6ZFQ.js → sales-channel-edit-U5PAD2QK.js} +1 -1
- package/dist/{sales-channel-list-MKVC6YFC.js → sales-channel-list-JRT2XTYT.js} +1 -1
- package/dist/{sales-channel-metadata-DJ447HFX.js → sales-channel-metadata-6TL5A4IR.js} +3 -3
- package/dist/{seller-address-edit-ZD3CYNHQ.js → seller-address-edit-IJRQ47MT.js} +2 -2
- package/dist/{seller-details-MWH2WZTA.js → seller-details-5JOXEATF.js} +4 -4
- package/dist/{seller-edit-DL7IFKVU.js → seller-edit-AFH2FMBI.js} +2 -2
- package/dist/{seller-list-2UPFCL7Y.js → seller-list-GS27K5GJ.js} +4 -4
- package/dist/{shipping-option-type-create-JH4GO3WW.js → shipping-option-type-create-3ABTDUN2.js} +2 -2
- package/dist/{shipping-option-type-detail-W4BINE2X.js → shipping-option-type-detail-Q5WDIGCJ.js} +1 -1
- package/dist/{shipping-option-type-edit-6HLQVPTF.js → shipping-option-type-edit-FAF6HMGA.js} +2 -2
- package/dist/{shipping-option-type-list-DI7KRCQ6.js → shipping-option-type-list-V24VH2FN.js} +1 -1
- package/dist/{shipping-profile-create-VXNXS6ZD.js → shipping-profile-create-33GBCPLL.js} +1 -1
- package/dist/{shipping-profile-metadata-B2YNMT6V.js → shipping-profile-metadata-W7NZVBEF.js} +3 -3
- package/dist/{tax-region-create-YCEJUWW4.js → tax-region-create-UZUFL3EP.js} +3 -3
- package/dist/{tax-region-detail-7P5MZAXM.js → tax-region-detail-S5ACDSK5.js} +1 -1
- package/dist/{tax-region-edit-LSGZD7IY.js → tax-region-edit-XLIZ6ZAP.js} +2 -2
- package/dist/{tax-region-metadata-QUBW5GFK.js → tax-region-metadata-7IKR66SU.js} +3 -3
- package/dist/{tax-region-province-create-7BMYABJ6.js → tax-region-province-create-VYL5MPEX.js} +1 -1
- package/dist/{tax-region-province-detail-BJHAOJ5J.js → tax-region-province-detail-G5GVJMLY.js} +1 -1
- package/dist/{tax-region-tax-override-create-NSMJ27DJ.js → tax-region-tax-override-create-ZDUAYWSM.js} +4 -4
- package/dist/{tax-region-tax-override-edit-XUGV7HOK.js → tax-region-tax-override-edit-3XQ6ESSN.js} +4 -4
- package/dist/{tax-region-tax-rate-create-INJXBVCA.js → tax-region-tax-rate-create-A2ODYJ5U.js} +1 -1
- package/dist/{tax-region-tax-rate-edit-KWGMLHRP.js → tax-region-tax-rate-edit-2GYBKAJP.js} +1 -1
- package/dist/{user-edit-7NU3YPFP.js → user-edit-CEIU6J4Y.js} +1 -1
- package/dist/{user-invite-OT73USBI.js → user-invite-6CLULDHX.js} +10 -2
- package/dist/{user-metadata-I4L3VE5U.js → user-metadata-BH24YSTW.js} +3 -3
- package/package.json +1 -1
|
@@ -8952,6 +8952,7 @@ var en_default = {
|
|
|
8952
8952
|
select: "Select",
|
|
8953
8953
|
browse: "Browse",
|
|
8954
8954
|
logout: "Logout",
|
|
8955
|
+
send: "Send",
|
|
8955
8956
|
hide: "Hide",
|
|
8956
8957
|
export: "Export",
|
|
8957
8958
|
import: "Import",
|
|
@@ -12067,6 +12068,13 @@ var en_default = {
|
|
|
12067
12068
|
active: "Active",
|
|
12068
12069
|
suspended: "Suspended"
|
|
12069
12070
|
},
|
|
12071
|
+
invite: {
|
|
12072
|
+
button: "Invite",
|
|
12073
|
+
header: "Invite Seller",
|
|
12074
|
+
hint: "Invite a new seller to your store",
|
|
12075
|
+
successToast: "Invitation sent to {{email}}",
|
|
12076
|
+
errorToast: "Failed to send invitation"
|
|
12077
|
+
},
|
|
12070
12078
|
edit: {
|
|
12071
12079
|
header: "Edit Seller",
|
|
12072
12080
|
successToast: "Seller {{name}} was successfully updated."
|
|
@@ -22,11 +22,11 @@ import {
|
|
|
22
22
|
TabbedForm,
|
|
23
23
|
defineTabMeta,
|
|
24
24
|
useTabbedForm
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-XSEF6KRY.js";
|
|
26
26
|
import {
|
|
27
27
|
RouteFocusModal,
|
|
28
28
|
useRouteModal
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-V6LO4BXB.js";
|
|
30
30
|
import {
|
|
31
31
|
Form
|
|
32
32
|
} from "./chunk-3QSRE5LS.js";
|
|
@@ -607,7 +607,7 @@ var CreateProductVariantForm = ({
|
|
|
607
607
|
}
|
|
608
608
|
ret.amount = amount;
|
|
609
609
|
return ret;
|
|
610
|
-
}).filter(Boolean),
|
|
610
|
+
}).filter((x) => Boolean(x)),
|
|
611
611
|
inventory_items: (data.inventory || []).map((i) => {
|
|
612
612
|
if (!i.required_quantity || !i.inventory_item_id) {
|
|
613
613
|
return false;
|
|
@@ -616,7 +616,7 @@ var CreateProductVariantForm = ({
|
|
|
616
616
|
...i,
|
|
617
617
|
required_quantity: castNumber(i.required_quantity)
|
|
618
618
|
};
|
|
619
|
-
}).filter(Boolean)
|
|
619
|
+
}).filter((x) => Boolean(x))
|
|
620
620
|
},
|
|
621
621
|
{
|
|
622
622
|
onSuccess: () => {
|
|
@@ -33,6 +33,16 @@ var useSellers = (query, options) => {
|
|
|
33
33
|
});
|
|
34
34
|
return { ...data, ...rest };
|
|
35
35
|
};
|
|
36
|
+
var useInviteSeller = (options) => {
|
|
37
|
+
return useMutation({
|
|
38
|
+
mutationFn: (payload) => sdk.admin.sellers.invite.mutate(payload),
|
|
39
|
+
onSuccess: (data, variables, context) => {
|
|
40
|
+
queryClient.invalidateQueries({ queryKey: sellersQueryKeys.lists() });
|
|
41
|
+
options?.onSuccess?.(data, variables, context);
|
|
42
|
+
},
|
|
43
|
+
...options
|
|
44
|
+
});
|
|
45
|
+
};
|
|
36
46
|
var useUpdateSeller = (id, options) => {
|
|
37
47
|
return useMutation({
|
|
38
48
|
mutationFn: (payload) => sdk.admin.sellers.$id.mutate({ $id: id, ...payload }),
|
|
@@ -52,5 +62,6 @@ var useUpdateSeller = (id, options) => {
|
|
|
52
62
|
export {
|
|
53
63
|
useSeller,
|
|
54
64
|
useSellers,
|
|
65
|
+
useInviteSeller,
|
|
55
66
|
useUpdateSeller
|
|
56
67
|
};
|
|
@@ -17,14 +17,14 @@ import {
|
|
|
17
17
|
TabbedForm,
|
|
18
18
|
defineTabMeta,
|
|
19
19
|
useTabbedForm
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XSEF6KRY.js";
|
|
21
21
|
import {
|
|
22
22
|
SwitchBox
|
|
23
23
|
} from "./chunk-YVCBMOJG.js";
|
|
24
24
|
import {
|
|
25
25
|
RouteFocusModal,
|
|
26
26
|
useRouteModal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-V6LO4BXB.js";
|
|
28
28
|
import {
|
|
29
29
|
Form
|
|
30
30
|
} from "./chunk-3QSRE5LS.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-U5MJIHLY.js";
|
|
11
11
|
import {
|
|
12
12
|
PriceListCustomerGroupRuleForm
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-A6DN2NAH.js";
|
|
14
14
|
import {
|
|
15
15
|
useProductTableColumns
|
|
16
16
|
} from "./chunk-3CKTAFTR.js";
|
|
@@ -25,13 +25,13 @@ import {
|
|
|
25
25
|
TabbedForm,
|
|
26
26
|
defineTabMeta,
|
|
27
27
|
useTabbedForm
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-XSEF6KRY.js";
|
|
29
29
|
import {
|
|
30
30
|
useDocumentDirection
|
|
31
31
|
} from "./chunk-Y7QKP6QU.js";
|
|
32
32
|
import {
|
|
33
33
|
useProductTableFilters
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-K7YUUIDJ.js";
|
|
35
35
|
import {
|
|
36
36
|
useProductTableQuery
|
|
37
37
|
} from "./chunk-VVWB3GIK.js";
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
StackedFocusModal,
|
|
41
41
|
useRouteModal,
|
|
42
42
|
useStackedModal
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-V6LO4BXB.js";
|
|
44
44
|
import {
|
|
45
45
|
Form
|
|
46
46
|
} from "./chunk-3QSRE5LS.js";
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk-MAEP2UCK.js";
|
|
4
4
|
import {
|
|
5
5
|
AddCampaignPromotionFields
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-L4GOI75U.js";
|
|
7
7
|
import {
|
|
8
8
|
RulesFormField
|
|
9
9
|
} from "./chunk-XT574CWR.js";
|
|
10
10
|
import {
|
|
11
11
|
CreateCampaignSchema,
|
|
12
12
|
DEFAULT_CAMPAIGN_VALUES
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-JWRLLVTY.js";
|
|
14
14
|
import {
|
|
15
15
|
currencies,
|
|
16
16
|
getCurrencySymbol
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
TabbedForm,
|
|
20
20
|
defineTabMeta,
|
|
21
21
|
useTabbedForm
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XSEF6KRY.js";
|
|
23
23
|
import {
|
|
24
24
|
useDocumentDirection
|
|
25
25
|
} from "./chunk-Y7QKP6QU.js";
|
|
26
26
|
import {
|
|
27
27
|
RouteFocusModal,
|
|
28
28
|
useRouteModal
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-V6LO4BXB.js";
|
|
30
30
|
import {
|
|
31
31
|
Form
|
|
32
32
|
} from "./chunk-3QSRE5LS.js";
|
|
@@ -194,7 +194,7 @@ var useStackedModal = () => {
|
|
|
194
194
|
};
|
|
195
195
|
|
|
196
196
|
// src/components/modals/route-drawer/route-drawer.tsx
|
|
197
|
-
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
197
|
+
import { jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
198
198
|
var Root = ({ prev = "..", children }) => {
|
|
199
199
|
const navigate = useNavigate2();
|
|
200
200
|
const [open, setOpen] = useState3(false);
|
|
@@ -215,14 +215,17 @@ var Root = ({ prev = "..", children }) => {
|
|
|
215
215
|
}
|
|
216
216
|
setOpen(open2);
|
|
217
217
|
};
|
|
218
|
-
return /* @__PURE__ */ jsx4(Drawer, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsx4(RouteModalProvider, { prev: to, children: /* @__PURE__ */ jsx4(StackedModalProvider, { onOpenChange: onStackedModalOpen, children: /* @__PURE__ */
|
|
218
|
+
return /* @__PURE__ */ jsx4(Drawer, { open, onOpenChange: handleOpenChange, children: /* @__PURE__ */ jsx4(RouteModalProvider, { prev: to, children: /* @__PURE__ */ jsx4(StackedModalProvider, { onOpenChange: onStackedModalOpen, children: /* @__PURE__ */ jsxs2(
|
|
219
219
|
Drawer.Content,
|
|
220
220
|
{
|
|
221
221
|
"aria-describedby": void 0,
|
|
222
222
|
className: clx({
|
|
223
223
|
"!bg-ui-bg-disabled !inset-y-5 !right-5": stackedModalOpen
|
|
224
224
|
}),
|
|
225
|
-
children
|
|
225
|
+
children: [
|
|
226
|
+
/* @__PURE__ */ jsx4(Drawer.Title, { className: "sr-only" }),
|
|
227
|
+
children
|
|
228
|
+
]
|
|
226
229
|
}
|
|
227
230
|
) }) }) });
|
|
228
231
|
};
|
|
@@ -257,7 +260,7 @@ var useRouteModal = () => {
|
|
|
257
260
|
import { FocusModal, clx as clx2 } from "@medusajs/ui";
|
|
258
261
|
import { useEffect as useEffect2, useState as useState4 } from "react";
|
|
259
262
|
import { useNavigate as useNavigate3 } from "react-router-dom";
|
|
260
|
-
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
263
|
+
import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
261
264
|
var Root2 = ({ prev = "..", children }) => {
|
|
262
265
|
const navigate = useNavigate3();
|
|
263
266
|
const [open, setOpen] = useState4(false);
|
|
@@ -287,7 +290,7 @@ var Root2 = ({ prev = "..", children }) => {
|
|
|
287
290
|
var Content = ({ stackedModalOpen, children }) => {
|
|
288
291
|
const { __internal } = useRouteModal();
|
|
289
292
|
const shouldPreventClose = !__internal.closeOnEscape;
|
|
290
|
-
return /* @__PURE__ */
|
|
293
|
+
return /* @__PURE__ */ jsxs3(
|
|
291
294
|
FocusModal.Content,
|
|
292
295
|
{
|
|
293
296
|
onEscapeKeyDown: shouldPreventClose ? (e) => {
|
|
@@ -296,7 +299,10 @@ var Content = ({ stackedModalOpen, children }) => {
|
|
|
296
299
|
className: clx2({
|
|
297
300
|
"!bg-ui-bg-disabled !inset-x-5 !inset-y-3": stackedModalOpen
|
|
298
301
|
}),
|
|
299
|
-
children
|
|
302
|
+
children: [
|
|
303
|
+
/* @__PURE__ */ jsx5(FocusModal.Title, { className: "sr-only" }),
|
|
304
|
+
children
|
|
305
|
+
]
|
|
300
306
|
}
|
|
301
307
|
);
|
|
302
308
|
};
|
|
@@ -323,7 +329,7 @@ import {
|
|
|
323
329
|
forwardRef,
|
|
324
330
|
useEffect as useEffect3
|
|
325
331
|
} from "react";
|
|
326
|
-
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
332
|
+
import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
327
333
|
var Root3 = ({
|
|
328
334
|
id,
|
|
329
335
|
children
|
|
@@ -349,8 +355,8 @@ var Title3 = Drawer2.Title;
|
|
|
349
355
|
Title3.displayName = "StackedDrawer.Title";
|
|
350
356
|
var Description3 = Drawer2.Description;
|
|
351
357
|
Description3.displayName = "StackedDrawer.Description";
|
|
352
|
-
var Content2 = forwardRef(({ className, ...props }, ref) => {
|
|
353
|
-
return /* @__PURE__ */
|
|
358
|
+
var Content2 = forwardRef(({ className, children, ...props }, ref) => {
|
|
359
|
+
return /* @__PURE__ */ jsxs4(
|
|
354
360
|
Drawer2.Content,
|
|
355
361
|
{
|
|
356
362
|
ref,
|
|
@@ -358,7 +364,11 @@ var Content2 = forwardRef(({ className, ...props }, ref) => {
|
|
|
358
364
|
overlayProps: {
|
|
359
365
|
className: "bg-transparent"
|
|
360
366
|
},
|
|
361
|
-
...props
|
|
367
|
+
...props,
|
|
368
|
+
children: [
|
|
369
|
+
/* @__PURE__ */ jsx6(Drawer2.Title, { className: "sr-only" }),
|
|
370
|
+
children
|
|
371
|
+
]
|
|
362
372
|
}
|
|
363
373
|
);
|
|
364
374
|
});
|
|
@@ -380,7 +390,7 @@ import {
|
|
|
380
390
|
forwardRef as forwardRef2,
|
|
381
391
|
useEffect as useEffect4
|
|
382
392
|
} from "react";
|
|
383
|
-
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
393
|
+
import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
384
394
|
var Root4 = ({
|
|
385
395
|
id,
|
|
386
396
|
onOpenChangeCallback,
|
|
@@ -411,8 +421,8 @@ var Title4 = FocusModal2.Title;
|
|
|
411
421
|
Title4.displayName = "StackedFocusModal.Title";
|
|
412
422
|
var Description4 = FocusModal2.Description;
|
|
413
423
|
Description4.displayName = "StackedFocusModal.Description";
|
|
414
|
-
var Content3 = forwardRef2(({ className, ...props }, ref) => {
|
|
415
|
-
return /* @__PURE__ */
|
|
424
|
+
var Content3 = forwardRef2(({ className, children, ...props }, ref) => {
|
|
425
|
+
return /* @__PURE__ */ jsxs5(
|
|
416
426
|
FocusModal2.Content,
|
|
417
427
|
{
|
|
418
428
|
ref,
|
|
@@ -420,7 +430,11 @@ var Content3 = forwardRef2(({ className, ...props }, ref) => {
|
|
|
420
430
|
overlayProps: {
|
|
421
431
|
className: "bg-transparent"
|
|
422
432
|
},
|
|
423
|
-
...props
|
|
433
|
+
...props,
|
|
434
|
+
children: [
|
|
435
|
+
/* @__PURE__ */ jsx7(FocusModal2.Title, { className: "sr-only" }),
|
|
436
|
+
children
|
|
437
|
+
]
|
|
424
438
|
}
|
|
425
439
|
);
|
|
426
440
|
});
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-BDGZ4EQO.js";
|
|
30
30
|
import {
|
|
31
31
|
useProductTableFilters
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-K7YUUIDJ.js";
|
|
33
33
|
import {
|
|
34
34
|
useProductTableQuery
|
|
35
35
|
} from "./chunk-VVWB3GIK.js";
|
|
@@ -105,10 +105,7 @@ var CustomerGroupDisplay = ({
|
|
|
105
105
|
enabled: !!customerGroupIds?.length
|
|
106
106
|
}
|
|
107
107
|
);
|
|
108
|
-
if (isError) {
|
|
109
|
-
throw error;
|
|
110
|
-
}
|
|
111
|
-
if (!customerGroupIds?.length) {
|
|
108
|
+
if (isError || !customerGroupIds?.length) {
|
|
112
109
|
return null;
|
|
113
110
|
}
|
|
114
111
|
if (isPending || !customer_groups) {
|
|
@@ -190,8 +187,8 @@ var PriceListGeneralSection = ({
|
|
|
190
187
|
};
|
|
191
188
|
|
|
192
189
|
// src/pages/price-lists/price-list-detail/components/price-list-product-section/price-list-product-section.tsx
|
|
193
|
-
import { PencilSquare as PencilSquare3, Plus, Trash as Trash2 } from "@medusajs/icons";
|
|
194
|
-
import { Checkbox, Container as Container3, Heading as Heading3, toast, usePrompt } from "@medusajs/ui";
|
|
190
|
+
import { ExclamationCircle, PencilSquare as PencilSquare3, Plus, Trash as Trash2 } from "@medusajs/icons";
|
|
191
|
+
import { Checkbox, Container as Container3, Heading as Heading3, Text as Text2, toast, usePrompt } from "@medusajs/ui";
|
|
195
192
|
import { keepPreviousData } from "@tanstack/react-query";
|
|
196
193
|
import { createColumnHelper } from "@tanstack/react-table";
|
|
197
194
|
import { useMemo, useState } from "react";
|
|
@@ -272,9 +269,6 @@ var PriceListProductSection = ({
|
|
|
272
269
|
const ids = Object.keys(rowSelection).join(",");
|
|
273
270
|
navigate(`products/edit?ids[]=${ids}`);
|
|
274
271
|
};
|
|
275
|
-
if (isError) {
|
|
276
|
-
throw error;
|
|
277
|
-
}
|
|
278
272
|
return /* @__PURE__ */ jsxs3(Container3, { className: "divide-y p-0", "data-testid": "price-list-product-section-container", children: [
|
|
279
273
|
/* @__PURE__ */ jsxs3("div", { className: "flex items-center justify-between px-6 py-4", "data-testid": "price-list-product-section-header", children: [
|
|
280
274
|
/* @__PURE__ */ jsx3(Heading3, { "data-testid": "price-list-product-section-heading", children: t("priceLists.products.header") }),
|
|
@@ -303,7 +297,10 @@ var PriceListProductSection = ({
|
|
|
303
297
|
}
|
|
304
298
|
)
|
|
305
299
|
] }),
|
|
306
|
-
/* @__PURE__ */
|
|
300
|
+
isError ? /* @__PURE__ */ jsxs3("div", { className: "flex items-center gap-x-2 px-6 py-4", "data-testid": "price-list-product-section-error", children: [
|
|
301
|
+
/* @__PURE__ */ jsx3(ExclamationCircle, { className: "text-ui-fg-subtle" }),
|
|
302
|
+
/* @__PURE__ */ jsx3(Text2, { size: "small", className: "text-ui-fg-subtle", children: error?.message || t("general.error") })
|
|
303
|
+
] }) : /* @__PURE__ */ jsx3(
|
|
307
304
|
_DataTable,
|
|
308
305
|
{
|
|
309
306
|
table,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_dist
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KU5ZQ4QM.js";
|
|
4
4
|
import {
|
|
5
5
|
DateCell
|
|
6
6
|
} from "./chunk-25LYVP3C.js";
|
|
@@ -24,8 +24,9 @@ import {
|
|
|
24
24
|
useSellersTableQuery
|
|
25
25
|
} from "./chunk-TKEAOWBZ.js";
|
|
26
26
|
import {
|
|
27
|
+
useInviteSeller,
|
|
27
28
|
useSellers
|
|
28
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-POQLHNFG.js";
|
|
29
30
|
import {
|
|
30
31
|
__toESM
|
|
31
32
|
} from "./chunk-NBMM2TZK.js";
|
|
@@ -38,8 +39,10 @@ import { Children as Children2 } from "react";
|
|
|
38
39
|
import { Container } from "@medusajs/ui";
|
|
39
40
|
|
|
40
41
|
// src/pages/sellers/seller-list/components/seller-list-table/seller-list-header.tsx
|
|
41
|
-
import { Children } from "react";
|
|
42
|
-
import { Heading } from "@medusajs/ui";
|
|
42
|
+
import { Children, useState } from "react";
|
|
43
|
+
import { Button, Drawer, Heading, Input, Label, toast } from "@medusajs/ui";
|
|
44
|
+
import { useTranslation } from "react-i18next";
|
|
45
|
+
import { z } from "zod";
|
|
43
46
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
44
47
|
var SellerListTitle = () => {
|
|
45
48
|
return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Heading, { level: "h2", children: "Sellers" }) });
|
|
@@ -47,7 +50,73 @@ var SellerListTitle = () => {
|
|
|
47
50
|
var SellerListActions = ({
|
|
48
51
|
children
|
|
49
52
|
}) => {
|
|
50
|
-
|
|
53
|
+
const { t } = useTranslation();
|
|
54
|
+
const [open, setOpen] = useState(false);
|
|
55
|
+
const [email, setEmail] = useState("");
|
|
56
|
+
const [error, setError] = useState("");
|
|
57
|
+
const { mutateAsync, isPending } = useInviteSeller({
|
|
58
|
+
onSuccess: (_data, variables) => {
|
|
59
|
+
toast.success(
|
|
60
|
+
t("sellers.invite.successToast", { email: variables.email })
|
|
61
|
+
);
|
|
62
|
+
setEmail("");
|
|
63
|
+
setError("");
|
|
64
|
+
setOpen(false);
|
|
65
|
+
},
|
|
66
|
+
onError: () => {
|
|
67
|
+
toast.error(t("sellers.invite.errorToast"));
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
const handleSubmit = async () => {
|
|
71
|
+
const result = z.string().email().safeParse(email);
|
|
72
|
+
if (!result.success) {
|
|
73
|
+
setError(t("sellers.fields.email"));
|
|
74
|
+
return;
|
|
75
|
+
}
|
|
76
|
+
setError("");
|
|
77
|
+
await mutateAsync({ email });
|
|
78
|
+
};
|
|
79
|
+
return /* @__PURE__ */ jsxs("div", { className: "flex items-center justify-center gap-x-2", children: [
|
|
80
|
+
children,
|
|
81
|
+
/* @__PURE__ */ jsxs(Drawer, { open, onOpenChange: setOpen, children: [
|
|
82
|
+
/* @__PURE__ */ jsx(Drawer.Trigger, { asChild: true, children: /* @__PURE__ */ jsx(Button, { variant: "secondary", size: "small", children: t("sellers.invite.button") }) }),
|
|
83
|
+
/* @__PURE__ */ jsxs(Drawer.Content, { children: [
|
|
84
|
+
/* @__PURE__ */ jsxs(Drawer.Header, { children: [
|
|
85
|
+
/* @__PURE__ */ jsx(Drawer.Title, { children: t("sellers.invite.header") }),
|
|
86
|
+
/* @__PURE__ */ jsx(Drawer.Description, { children: t("sellers.invite.hint") })
|
|
87
|
+
] }),
|
|
88
|
+
/* @__PURE__ */ jsx(Drawer.Body, { children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-y-2", children: [
|
|
89
|
+
/* @__PURE__ */ jsx(Label, { htmlFor: "invite-email", children: t("sellers.fields.email") }),
|
|
90
|
+
/* @__PURE__ */ jsx(
|
|
91
|
+
Input,
|
|
92
|
+
{
|
|
93
|
+
id: "invite-email",
|
|
94
|
+
type: "email",
|
|
95
|
+
value: email,
|
|
96
|
+
onChange: (e) => {
|
|
97
|
+
setEmail(e.target.value);
|
|
98
|
+
if (error) setError("");
|
|
99
|
+
},
|
|
100
|
+
placeholder: "vendor@example.com"
|
|
101
|
+
}
|
|
102
|
+
),
|
|
103
|
+
error && /* @__PURE__ */ jsx("span", { className: "text-ui-fg-error txt-small", children: error })
|
|
104
|
+
] }) }),
|
|
105
|
+
/* @__PURE__ */ jsxs(Drawer.Footer, { children: [
|
|
106
|
+
/* @__PURE__ */ jsx(Drawer.Close, { asChild: true, children: /* @__PURE__ */ jsx(Button, { variant: "secondary", children: t("actions.cancel") }) }),
|
|
107
|
+
/* @__PURE__ */ jsx(
|
|
108
|
+
Button,
|
|
109
|
+
{
|
|
110
|
+
onClick: handleSubmit,
|
|
111
|
+
isLoading: isPending,
|
|
112
|
+
disabled: !email,
|
|
113
|
+
children: t("actions.send")
|
|
114
|
+
}
|
|
115
|
+
)
|
|
116
|
+
] })
|
|
117
|
+
] })
|
|
118
|
+
] })
|
|
119
|
+
] });
|
|
51
120
|
};
|
|
52
121
|
var SellerListHeader = ({
|
|
53
122
|
children
|
|
@@ -69,11 +138,11 @@ import { createColumnHelper } from "@tanstack/react-table";
|
|
|
69
138
|
import { useMemo } from "react";
|
|
70
139
|
|
|
71
140
|
// src/components/table/table-cells/seller/seller-status-cell/seller-status-cell.tsx
|
|
72
|
-
import { useTranslation } from "react-i18next";
|
|
141
|
+
import { useTranslation as useTranslation2 } from "react-i18next";
|
|
73
142
|
var import_types = __toESM(require_dist(), 1);
|
|
74
143
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
75
144
|
var SellerStatusCell = ({ status }) => {
|
|
76
|
-
const { t } =
|
|
145
|
+
const { t } = useTranslation2();
|
|
77
146
|
const [color, text] = {
|
|
78
147
|
[import_types.SellerStatus.PENDING]: ["orange", t("sellers.status.pending")],
|
|
79
148
|
[import_types.SellerStatus.ACTIVE]: ["green", t("sellers.status.active")],
|
|
@@ -14,14 +14,14 @@ import {
|
|
|
14
14
|
TabbedForm,
|
|
15
15
|
defineTabMeta,
|
|
16
16
|
useTabbedForm
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-XSEF6KRY.js";
|
|
18
18
|
import {
|
|
19
19
|
useDocumentDirection
|
|
20
20
|
} from "./chunk-Y7QKP6QU.js";
|
|
21
21
|
import {
|
|
22
22
|
RouteFocusModal,
|
|
23
23
|
useRouteModal
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-V6LO4BXB.js";
|
|
25
25
|
import {
|
|
26
26
|
Form
|
|
27
27
|
} from "./chunk-3QSRE5LS.js";
|
|
@@ -20,7 +20,7 @@ import "./chunk-INNFZYX2.js";
|
|
|
20
20
|
import "./chunk-Y7QKP6QU.js";
|
|
21
21
|
import {
|
|
22
22
|
useProductTableFilters
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-K7YUUIDJ.js";
|
|
24
24
|
import {
|
|
25
25
|
useProductTableQuery
|
|
26
26
|
} from "./chunk-VVWB3GIK.js";
|
|
@@ -32,7 +32,7 @@ import "./chunk-XQNVC4Q7.js";
|
|
|
32
32
|
import {
|
|
33
33
|
RouteFocusModal,
|
|
34
34
|
useRouteModal
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-V6LO4BXB.js";
|
|
36
36
|
import "./chunk-3QSRE5LS.js";
|
|
37
37
|
import "./chunk-XM6GCWNF.js";
|
|
38
38
|
import "./chunk-ODBDAABQ.js";
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
} from "./chunk-TQI3DOQ5.js";
|
|
55
55
|
import "./chunk-MJIL3HQL.js";
|
|
56
56
|
import "./chunk-LU72QEQC.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-POQLHNFG.js";
|
|
58
58
|
import "./chunk-A5XOYSDC.js";
|
|
59
59
|
import "./chunk-YOIARITB.js";
|
|
60
60
|
import "./chunk-W7G64ULL.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CollectionDetailPage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C3Q2MVQB.js";
|
|
4
4
|
import "./chunk-3CKTAFTR.js";
|
|
5
5
|
import "./chunk-G5OVX555.js";
|
|
6
6
|
import "./chunk-FWPGOIFA.js";
|
|
@@ -18,7 +18,7 @@ import "./chunk-INNFZYX2.js";
|
|
|
18
18
|
import "./chunk-BDGZ4EQO.js";
|
|
19
19
|
import "./chunk-LAVHRER2.js";
|
|
20
20
|
import "./chunk-Y7QKP6QU.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-K7YUUIDJ.js";
|
|
22
22
|
import "./chunk-VVWB3GIK.js";
|
|
23
23
|
import "./chunk-KBYZLKI4.js";
|
|
24
24
|
import "./chunk-YWWUOGJA.js";
|
|
@@ -45,7 +45,7 @@ import {
|
|
|
45
45
|
} from "./chunk-TQI3DOQ5.js";
|
|
46
46
|
import "./chunk-MJIL3HQL.js";
|
|
47
47
|
import "./chunk-LU72QEQC.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-POQLHNFG.js";
|
|
49
49
|
import "./chunk-A5XOYSDC.js";
|
|
50
50
|
import "./chunk-YOIARITB.js";
|
|
51
51
|
import "./chunk-W7G64ULL.js";
|
|
@@ -34,7 +34,7 @@ import "./chunk-PVZBDWLK.js";
|
|
|
34
34
|
import "./chunk-3B6MTW5G.js";
|
|
35
35
|
import "./chunk-VKOE5J66.js";
|
|
36
36
|
import "./chunk-DY3XQPHC.js";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-K7YUUIDJ.js";
|
|
38
38
|
import "./chunk-VVWB3GIK.js";
|
|
39
39
|
import "./chunk-KBYZLKI4.js";
|
|
40
40
|
import "./chunk-YWWUOGJA.js";
|
|
@@ -58,7 +58,7 @@ import "./chunk-V534K7G4.js";
|
|
|
58
58
|
import "./chunk-TQI3DOQ5.js";
|
|
59
59
|
import "./chunk-MJIL3HQL.js";
|
|
60
60
|
import "./chunk-LU72QEQC.js";
|
|
61
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-POQLHNFG.js";
|
|
62
62
|
import "./chunk-A5XOYSDC.js";
|
|
63
63
|
import "./chunk-YOIARITB.js";
|
|
64
64
|
import "./chunk-W7G64ULL.js";
|