@mercurjs/admin 2.0.0 → 2.0.2
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-CQDZBX3V.js → add-campaign-promotions-TA7QC32P.js} +6 -6
- package/dist/{adjust-inventory-3GPDYI3V.js → adjust-inventory-W4H5F2JA.js} +32 -31
- package/dist/{api-key-management-create-GUNLFGNT.js → api-key-management-create-FPBZMDBI.js} +5 -5
- package/dist/{api-key-management-detail-4IL3BQJW.js → api-key-management-detail-LMKKDTRJ.js} +33 -32
- package/dist/{api-key-management-edit-SIXXFLNP.js → api-key-management-edit-5EM4NJIM.js} +5 -5
- package/dist/{api-key-management-list-XLRD4ASE.js → api-key-management-list-MRKJVQMI.js} +5 -5
- package/dist/{api-key-management-sales-channels-GCUMV6YA.js → api-key-management-sales-channels-AETOWQYM.js} +5 -5
- package/dist/attribute-create-IRJTPQCF.js +996 -0
- package/dist/attribute-create-possible-value-RG4VA2DG.js +437 -0
- package/dist/attribute-detail-7FLCTP3I.js +457 -0
- package/dist/attribute-edit-6YNHG3QV.js +281 -0
- package/dist/attribute-edit-possible-value-IBJA53MJ.js +264 -0
- package/dist/attribute-edit-ranking-BLMESGR5.js +174 -0
- package/dist/attribute-list-C5NS26AD.js +63 -0
- package/dist/{campaign-budget-edit-GAP5KUI3.js → campaign-budget-edit-PL7DTWCM.js} +3 -3
- package/dist/{campaign-configuration-LTHPZGYC.js → campaign-configuration-D6ROERRH.js} +3 -3
- package/dist/{campaign-create-TRNE6L26.js → campaign-create-LABYKFMI.js} +7 -7
- package/dist/{campaign-detail-GYMMDRUV.js → campaign-detail-E37P67AC.js} +35 -34
- package/dist/{campaign-edit-CRQCVEFT.js → campaign-edit-PMJMUUDW.js} +3 -3
- package/dist/{campaign-list-WEKSY62X.js → campaign-list-B42U6XNF.js} +3 -3
- package/dist/{categories-metadata-GESU3DEU.js → categories-metadata-34L5C2TK.js} +33 -32
- package/dist/{category-create-PSAN6SA2.js → category-create-AMHFSXJI.js} +6 -6
- package/dist/{category-detail-67ZTYE5M.js → category-detail-B23F726Q.js} +35 -35
- package/dist/{category-edit-QYKE3GAC.js → category-edit-VZL6ROLF.js} +4 -4
- package/dist/{category-list-ZRDWHPEI.js → category-list-R66T472I.js} +5 -5
- package/dist/{category-organize-D26G234L.js → category-organize-CLCNXQSJ.js} +4 -4
- package/dist/{category-products-XMIZ2KRR.js → category-products-2LKOHEWO.js} +34 -34
- package/dist/{chunk-I5LLMPI2.js → chunk-22XJUSMM.js} +2 -2
- package/dist/{chunk-7OSCNHHQ.js → chunk-25YTS3TI.js} +2 -2
- package/dist/{chunk-P52JGPUG.js → chunk-34VX7KOL.js} +4 -4
- package/dist/{chunk-X6HEEFUW.js → chunk-3FNX54TD.js} +1 -1
- package/dist/{chunk-YAMNPEPW.js → chunk-3MDRW5MA.js} +28 -9
- package/dist/{chunk-5N24A4CX.js → chunk-4ESVWDQK.js} +2 -2
- package/dist/{chunk-HDUVTTOW.js → chunk-4G5FEKRO.js} +1 -1
- package/dist/{chunk-RF7BE47J.js → chunk-4QX7QEWY.js} +9 -9
- package/dist/chunk-4ZTZTIIM.js +69 -0
- package/dist/{chunk-XFKRBJLK.js → chunk-52BRBQMY.js} +2 -2
- package/dist/{chunk-LZO7MWH7.js → chunk-5N6S5K57.js} +2 -2
- package/dist/{chunk-EWFOFSF7.js → chunk-5PUHROK4.js} +1 -1
- package/dist/{chunk-QUNCQMFH.js → chunk-5VBNFLG2.js} +1 -1
- package/dist/{chunk-7ITJ4725.js → chunk-5VMJCLUP.js} +4 -4
- package/dist/{chunk-G4MIA23Y.js → chunk-5WTGRSBC.js} +1 -1
- package/dist/{chunk-64B6RWZI.js → chunk-5XWE6QZ3.js} +3 -3
- package/dist/{chunk-TKSKCH3S.js → chunk-6D5BKKSQ.js} +1 -1
- package/dist/{chunk-OT5X3VOQ.js → chunk-6NVEUQSL.js} +1 -1
- package/dist/{chunk-7JZMCLD3.js → chunk-6OTK5LAS.js} +5 -5
- package/dist/{chunk-ZGEMSYN7.js → chunk-6TFS6ET5.js} +1 -1
- package/dist/{chunk-G2N27VIE.js → chunk-76FXHSMH.js} +2 -2
- package/dist/{chunk-DPH3FG5H.js → chunk-7IPA3CRG.js} +4 -4
- package/dist/{chunk-GYRTURN7.js → chunk-7SJC6BWZ.js} +1 -1
- package/dist/{chunk-BYKTBURG.js → chunk-7STT4ZVP.js} +1 -1
- package/dist/{chunk-6ERRELWD.js → chunk-A2TQNJZP.js} +11 -11
- package/dist/{chunk-QDIPFZLV.js → chunk-AG4ORND4.js} +2 -2
- package/dist/{chunk-BBZ6YISG.js → chunk-AVXOG7CE.js} +4 -4
- package/dist/{chunk-WBNGBRBK.js → chunk-BA2HXHTW.js} +1 -1
- package/dist/{chunk-AJQ6EVLE.js → chunk-BBANQAF4.js} +2 -2
- package/dist/{chunk-YMKZS2HK.js → chunk-BE5QWX5N.js} +25 -6
- package/dist/{chunk-PJTR2MBS.js → chunk-BMC2HG53.js} +2 -2
- package/dist/{chunk-7H2I3TA2.js → chunk-BUI5NC7I.js} +2 -2
- package/dist/chunk-C3WE6EFO.js +33 -0
- package/dist/{chunk-ZJO4DDOP.js → chunk-CA4XLTI7.js} +2 -2
- package/dist/{chunk-J54BZXZX.js → chunk-CBHNHLUZ.js} +2 -2
- package/dist/{chunk-KWW4RDRS.js → chunk-CGVHXNWH.js} +2 -2
- package/dist/{chunk-7SQW55FI.js → chunk-CMX37MSO.js} +6 -6
- package/dist/{chunk-CARSKIPW.js → chunk-DF3OGJAK.js} +1 -1
- package/dist/{chunk-4ZIQGDNH.js → chunk-DKA6GR53.js} +1 -1
- package/dist/{chunk-6HJINLUB.js → chunk-DOZ3NXES.js} +1 -1
- package/dist/{chunk-I6GNV6QA.js → chunk-DTUPDNN3.js} +3 -3
- package/dist/{chunk-R55Q5LAH.js → chunk-DYFB2ZZD.js} +1 -1
- package/dist/{chunk-TK3XKN2P.js → chunk-EG2Y5Z2K.js} +3 -3
- package/dist/{chunk-25DQRKFS.js → chunk-EHQESDH2.js} +1 -1
- package/dist/{chunk-PWMB7ITO.js → chunk-EI6JBJYB.js} +3 -3
- package/dist/{chunk-4JYZU65L.js → chunk-EVGVH6CU.js} +13 -11
- package/dist/{chunk-IUB4C2WJ.js → chunk-F7VTQIU7.js} +7 -7
- package/dist/{chunk-VRGXUUPH.js → chunk-FB4JUZFB.js} +4 -4
- package/dist/{chunk-L74EVHCU.js → chunk-FMGXDDBU.js} +2 -2
- package/dist/{chunk-MO7TNIVQ.js → chunk-FNBKEF54.js} +1 -1
- package/dist/{chunk-OSI3M4M2.js → chunk-G4LGZF5F.js} +5 -5
- package/dist/{chunk-MZCJZRR6.js → chunk-G5WS77NL.js} +4 -4
- package/dist/{chunk-BLHFWBK3.js → chunk-GYKVLGU4.js} +2 -2
- package/dist/{chunk-GCEOEV6P.js → chunk-HAFZQK53.js} +1 -1
- package/dist/{chunk-JJ4XUGHZ.js → chunk-HAZURA7S.js} +2 -2
- package/dist/{chunk-GVXAFQDF.js → chunk-HHEQZTPC.js} +2 -2
- package/dist/{chunk-U5QDMLTR.js → chunk-HS322YUO.js} +3 -3
- package/dist/{chunk-XBFWFGZH.js → chunk-HVLPRHZS.js} +2 -2
- package/dist/{chunk-LGVVX4I6.js → chunk-IAT6UDKU.js} +1 -1
- package/dist/{chunk-PYF5EER5.js → chunk-IJWG755C.js} +1 -1
- package/dist/chunk-J24SOKSP.js +457 -0
- package/dist/{chunk-HGHJRKUC.js → chunk-J555HFHV.js} +2 -2
- package/dist/{chunk-O4LSCHTC.js → chunk-JSBQOQXC.js} +1 -1
- package/dist/{chunk-EEOEIXDA.js → chunk-K4BGK3CO.js} +3 -3
- package/dist/{chunk-XSEF6KRY.js → chunk-KA3VYXNA.js} +1 -1
- package/dist/{chunk-EF47ASFU.js → chunk-KERA6OZN.js} +1 -1
- package/dist/{chunk-7KMDLRLG.js → chunk-KMK4YAS2.js} +1 -1
- package/dist/{chunk-EJY35WBK.js → chunk-LC6TM5OT.js} +2 -2
- package/dist/chunk-LO7XX5M7.js +6 -0
- package/dist/{chunk-O5ZOACVV.js → chunk-LW57KBYK.js} +2 -2
- package/dist/chunk-M3YP3NX4.js +259 -0
- package/dist/{chunk-AZVAL5E5.js → chunk-M4VLYKT5.js} +2 -2
- package/dist/{chunk-VEW7PQ3X.js → chunk-MCEEC3VH.js} +3 -3
- package/dist/{chunk-R325CPYC.js → chunk-MFL2TZ3W.js} +1 -1
- package/dist/{chunk-WW7VLWKJ.js → chunk-MMTCBVUV.js} +4 -4
- package/dist/{chunk-RHYS2TFP.js → chunk-MRFW7VTW.js} +2 -2
- package/dist/{chunk-QUTZUW55.js → chunk-N4JU7GWK.js} +2 -2
- package/dist/{chunk-MMDRMNPE.js → chunk-N7QGYSFB.js} +4 -4
- package/dist/{chunk-S3L6CIN2.js → chunk-NDPTTHBH.js} +2 -2
- package/dist/{chunk-NQ2RDSI3.js → chunk-NJKJAYV2.js} +2 -2
- package/dist/{chunk-TKEAOWBZ.js → chunk-NNI6QKKZ.js} +29 -3
- package/dist/chunk-NRKVFULI.js +886 -0
- package/dist/{chunk-J5SOBS7K.js → chunk-NYWECWZJ.js} +5 -5
- package/dist/{chunk-Q6GUA5VE.js → chunk-O4STPJR2.js} +2 -2
- package/dist/{chunk-YDAJI7WF.js → chunk-O7UECTZO.js} +1 -1
- package/dist/{chunk-VXW3BCN2.js → chunk-OFKUNYQJ.js} +1 -1
- package/dist/{chunk-V6LO4BXB.js → chunk-OV7R2AH5.js} +58 -58
- package/dist/{chunk-CJQRZEZU.js → chunk-OW6XTJ33.js} +3 -3
- package/dist/{chunk-JAJMMPOF.js → chunk-PBMB2LY5.js} +3 -3
- package/dist/{chunk-THYWJQI4.js → chunk-PLDGQ5PO.js} +3 -3
- package/dist/{chunk-SJQ4QAFK.js → chunk-PQGIRNRF.js} +6 -6
- package/dist/{chunk-5HZT54X7.js → chunk-QG3EYUDB.js} +3 -3
- package/dist/{chunk-SDNGZDNK.js → chunk-QIZUNM6F.js} +5 -5
- package/dist/{chunk-3GCRM6UM.js → chunk-QLJKQS6P.js} +6 -6
- package/dist/{chunk-KHXRL3BH.js → chunk-R2KXIBCX.js} +1 -1
- package/dist/{chunk-QVLL4MKH.js → chunk-R74OHYTB.js} +3 -3
- package/dist/{chunk-ZNA2XOGX.js → chunk-RIC6PMBR.js} +7 -7
- package/dist/{chunk-LXZXXOJ3.js → chunk-RIN4CBRB.js} +17 -1
- package/dist/{chunk-2TDFXWGC.js → chunk-RRAIAUBR.js} +8 -8
- package/dist/chunk-RT6L7JXU.js +33 -0
- package/dist/{chunk-7NNA33IY.js → chunk-RVAVU222.js} +9 -9
- package/dist/{chunk-TN4TIT7O.js → chunk-S2Q7PO7I.js} +68 -7
- package/dist/{chunk-WEVK4TBV.js → chunk-SDPR7PGR.js} +1 -1
- package/dist/{chunk-SBH4E5NY.js → chunk-SDQ6V2QY.js} +3 -3
- package/dist/{chunk-5LI2P5VT.js → chunk-SKV7U4GW.js} +5 -5
- package/dist/{chunk-XR2UEF6U.js → chunk-SZVIRQZ2.js} +4 -4
- package/dist/{chunk-RQQ53CQJ.js → chunk-T7MQFDTF.js} +1 -1
- package/dist/{chunk-TKFMOTJK.js → chunk-TBREETGZ.js} +4 -4
- package/dist/{chunk-TP7M43SI.js → chunk-TCA3ZYNO.js} +2 -2
- package/dist/{chunk-PUQSQBZW.js → chunk-TIMWFAPD.js} +1 -1
- package/dist/{chunk-HLL6GLZO.js → chunk-TPPONKYW.js} +3 -3
- package/dist/{chunk-77R2QD4O.js → chunk-UBS6VEGB.js} +3 -92
- package/dist/{chunk-OZMCKYJL.js → chunk-UBTAADSY.js} +4 -4
- package/dist/{chunk-STSW4GDV.js → chunk-UI2KUK3F.js} +2 -2
- package/dist/{chunk-FIVW6L2I.js → chunk-UU2RQMXS.js} +1 -1
- package/dist/{chunk-N3WRPCPT.js → chunk-UYKWOC5A.js} +1 -1
- package/dist/{chunk-JI7HMGMO.js → chunk-VME3CJER.js} +1 -1
- package/dist/{chunk-TOUMBTYI.js → chunk-VXPWOEUS.js} +1 -1
- package/dist/{chunk-VHCDSNXF.js → chunk-W5UPPL3W.js} +2 -2
- package/dist/{chunk-C6OVKRMH.js → chunk-WDASBBB5.js} +1 -1
- package/dist/{chunk-FD7OJEGQ.js → chunk-WHLVH4RN.js} +2 -2
- package/dist/{chunk-6S72GJRI.js → chunk-WSR2ZXAJ.js} +5 -5
- package/dist/{chunk-L7DIEO5B.js → chunk-XDZGOUCR.js} +1 -1
- package/dist/{chunk-QLTN2DIY.js → chunk-XIHVSZ6I.js} +1 -1
- package/dist/{chunk-A2F5MDPU.js → chunk-XKVXLDSJ.js} +1 -1
- package/dist/chunk-XMVTX2EN.js +120 -0
- package/dist/{chunk-R4O667NT.js → chunk-XRDP2SYY.js} +1 -1
- package/dist/chunk-XZQV2OLD.js +93 -0
- package/dist/{chunk-VZEMURY7.js → chunk-YJNCEGX4.js} +2 -2
- package/dist/{chunk-YQYGAFCS.js → chunk-YNIIYGL4.js} +2 -2
- package/dist/{chunk-OJI3SRZ3.js → chunk-YTPCWCA3.js} +1 -1
- package/dist/{chunk-OEDISQ2O.js → chunk-YYTI5JIC.js} +2 -2
- package/dist/{chunk-3CKTAFTR.js → chunk-Z5I2Z6L3.js} +50 -33
- package/dist/{chunk-V7Y7WBGF.js → chunk-ZCLF2O6X.js} +1 -1
- package/dist/{chunk-K6RZE3F7.js → chunk-ZDZYRCVH.js} +1 -1
- package/dist/chunk-ZFEGVWHT.js +324 -0
- package/dist/{chunk-FIYO3KTR.js → chunk-ZJNRM77Y.js} +4 -4
- package/dist/{chunk-JOX3ZSRT.js → chunk-ZLBTDKSI.js} +1 -1
- package/dist/{chunk-NYWESQ6J.js → chunk-ZMDE5HEV.js} +221 -18
- package/dist/{chunk-BPTVQM72.js → chunk-ZZO3INVE.js} +1440 -1305
- package/dist/{collection-add-products-4TTEF6QV.js → collection-add-products-RHIQZ37R.js} +34 -34
- package/dist/{collection-create-SD4GKHFC.js → collection-create-EBAELCA2.js} +4 -4
- package/dist/{collection-detail-64YVMLBU.js → collection-detail-SJ4ZZLWY.js} +34 -34
- package/dist/{collection-edit-Z474HXCJ.js → collection-edit-TGXPOOSX.js} +4 -4
- package/dist/{collection-list-OTSGOEBC.js → collection-list-OFZGXVJA.js} +39 -36
- package/dist/{collection-metadata-FFHA6CQ3.js → collection-metadata-3CDRKSCP.js} +33 -32
- package/dist/{commission-rate-create-7BBUGS2I.js → commission-rate-create-OOVFRTYM.js} +41 -39
- package/dist/{commission-rate-detail-FORKXXJY.js → commission-rate-detail-5XFV6XH2.js} +32 -31
- package/dist/{commission-rate-edit-SAX2DAND.js → commission-rate-edit-6B4P2GOV.js} +41 -39
- package/dist/{commission-rate-list-EESTCCRP.js → commission-rate-list-OLAGFQNJ.js} +3 -3
- package/dist/{customer-create-WA4GYGVD.js → customer-create-DT6MYVMQ.js} +3 -3
- package/dist/{customer-create-address-YBI4KWWH.js → customer-create-address-VIG65ALU.js} +3 -3
- package/dist/{customer-detail-SDE4TDZD.js → customer-detail-Q4K56AZ4.js} +33 -32
- package/dist/{customer-edit-TFR6PVJJ.js → customer-edit-MHNLUNUL.js} +3 -3
- package/dist/{customer-group-add-customers-77BVWLTN.js → customer-group-add-customers-SI5TTT4S.js} +4 -4
- package/dist/{customer-group-create-32UIUO46.js → customer-group-create-W3FV4OEH.js} +3 -3
- package/dist/{customer-group-detail-QRY6BHGI.js → customer-group-detail-NSEFUNCF.js} +33 -32
- package/dist/{customer-group-edit-HFL7LZZZ.js → customer-group-edit-ZANHQ7RS.js} +3 -3
- package/dist/customer-group-list-GCEKCBUE.js +58 -0
- package/dist/{customer-group-metadata-FXI3J6DB.js → customer-group-metadata-LXJK3IMS.js} +33 -32
- package/dist/{customer-list-CXTUBLCK.js → customer-list-CHRZJTNK.js} +4 -4
- package/dist/{customer-metadata-BV4CHHWI.js → customer-metadata-ZZSCYFHY.js} +33 -32
- package/dist/{customers-add-customer-group-SUE2KKJR.js → customers-add-customer-group-TIBDJPYF.js} +32 -31
- package/dist/{edit-inventory-item-DDRUGVSK.js → edit-inventory-item-Y3CIG6L5.js} +32 -31
- package/dist/{edit-inventory-item-attributes-MDL7FSLR.js → edit-inventory-item-attributes-CZNIVWXY.js} +32 -31
- package/dist/{edit-reservation-JWABBNJ6.js → edit-reservation-OQCAZUIS.js} +5 -5
- package/dist/{edit-rules-ECNFIPUC.js → edit-rules-G7GRUQL6.js} +33 -32
- package/dist/index.d.ts +4 -1
- package/dist/index.js +347 -263
- package/dist/inventory-create-MFCGCJFB.js +57 -0
- package/dist/{inventory-detail-OIKNOS5A.js → inventory-detail-6V43ZQDK.js} +32 -31
- package/dist/{inventory-list-XSHWCPO4.js → inventory-list-TAJ4T5JG.js} +4 -4
- package/dist/{inventory-metadata-MHGDNLXT.js → inventory-metadata-PFXMJTSB.js} +33 -32
- package/dist/{inventory-stock-JG5CZWZA.js → inventory-stock-B4FYZAQB.js} +32 -31
- package/dist/{invite-25CGHT4W.js → invite-YRARW3RW.js} +3 -3
- package/dist/{location-create-G3MNWQWB.js → location-create-GXPH4WZI.js} +3 -3
- package/dist/{location-detail-5CGAZMBR.js → location-detail-NOUHQA4M.js} +32 -31
- package/dist/{location-edit-UI6AWCZS.js → location-edit-GNKQAXJG.js} +3 -3
- package/dist/{location-fulfillment-providers-BA2VMZHX.js → location-fulfillment-providers-A27CQMJN.js} +37 -35
- package/dist/location-list-AVCPUKBH.js +54 -0
- package/dist/{location-sales-channels-WXBK4EJO.js → location-sales-channels-U3MVWUAT.js} +5 -5
- package/dist/{location-service-zone-create-647O67PU.js → location-service-zone-create-E4LW45D7.js} +6 -6
- package/dist/{location-service-zone-edit-BUY6HNZM.js → location-service-zone-edit-UIVVQVMW.js} +5 -5
- package/dist/{location-service-zone-manage-areas-X2ZGRHHA.js → location-service-zone-manage-areas-F3SOZGVW.js} +6 -6
- package/dist/location-service-zone-shipping-option-create-DREWJ7SR.js +58 -0
- package/dist/{location-service-zone-shipping-option-edit-IJDU5PTW.js → location-service-zone-shipping-option-edit-3KNW7UBD.js} +4 -4
- package/dist/{location-service-zone-shipping-option-pricing-3T7HLKJC.js → location-service-zone-shipping-option-pricing-35SMJ6XP.js} +8 -8
- package/dist/{login-WU5VB5LW.js → login-QCYKZCZP.js} +31 -30
- package/dist/{manage-locations-IJIPCYAY.js → manage-locations-VIWHIN7B.js} +4 -4
- package/dist/{marketplace-add-currencies-RXLEQ6MZ.js → marketplace-add-currencies-Q4EJAXDN.js} +5 -5
- package/dist/{marketplace-detail-23KSAJVI.js → marketplace-detail-CYMZCRWM.js} +32 -31
- package/dist/{marketplace-edit-XPIEDQYD.js → marketplace-edit-AMRUND2Q.js} +4 -4
- package/dist/{marketplace-metadata-5GEWGH2M.js → marketplace-metadata-LYNL3W6L.js} +33 -32
- package/dist/{order-allocate-items-GYGER65Z.js → order-allocate-items-AZ3FDELU.js} +6 -6
- package/dist/{order-create-claim-RNUFU2MP.js → order-create-claim-HWZI4OEK.js} +35 -34
- package/dist/{order-create-edit-DLH76B2Q.js → order-create-edit-VIIAC2AA.js} +33 -32
- package/dist/{order-create-exchange-FA27FZU7.js → order-create-exchange-KRGBFSCC.js} +35 -34
- package/dist/{order-create-fulfillment-4F5JAUOX.js → order-create-fulfillment-K4LB6U6E.js} +32 -31
- package/dist/{order-create-refund-3LCTQXFD.js → order-create-refund-2OCPOAJS.js} +32 -31
- package/dist/{order-create-return-EO2C5RAA.js → order-create-return-4PREWHB7.js} +9 -9
- package/dist/{order-create-shipment-PIQ43ZSG.js → order-create-shipment-BD3DKSJX.js} +32 -31
- package/dist/{order-detail-2U26JNU2.js → order-detail-GETGE7YJ.js} +37 -36
- package/dist/{order-edit-billing-address-PRXCLUNR.js → order-edit-billing-address-3GN3QU4Y.js} +33 -32
- package/dist/{order-edit-email-GVKVQESG.js → order-edit-email-D6KSNSY4.js} +32 -31
- package/dist/{order-edit-shipping-address-UDNHXO2V.js → order-edit-shipping-address-Z7RP4UBB.js} +32 -31
- package/dist/{order-list-U2HL7VBX.js → order-list-727TI7BS.js} +9 -8
- package/dist/{order-metadata-HPXIR6KI.js → order-metadata-UCAS6KEK.js} +33 -32
- package/dist/{order-receive-return-FMM74XYM.js → order-receive-return-YZGUVELT.js} +33 -32
- package/dist/{order-request-transfer-SI5PSOKA.js → order-request-transfer-DBXAIXEG.js} +32 -31
- package/dist/pages/index.d.ts +65 -20
- package/dist/pages/index.js +168 -159
- package/dist/{payout-detail-L4VYAP53.js → payout-detail-SQKDY2F6.js} +3 -3
- package/dist/{payout-list-4S6MAU4R.js → payout-list-HPMP3CJH.js} +3 -3
- package/dist/{price-list-configuration-F2BZC6QX.js → price-list-configuration-XGX6HV4Q.js} +6 -6
- package/dist/price-list-create-SJBCYSRX.js +76 -0
- package/dist/{price-list-detail-IUJXNM6Y.js → price-list-detail-VA4F6JQJ.js} +35 -35
- package/dist/{price-list-edit-CERYYMC5.js → price-list-edit-OYRI7KZD.js} +5 -5
- package/dist/{price-list-list-RBD2MEZ5.js → price-list-list-27QDRHNY.js} +6 -6
- package/dist/price-list-prices-add-BLORGT25.js +71 -0
- package/dist/{price-list-prices-edit-2NYN6WVJ.js → price-list-prices-edit-7WHKIZHY.js} +33 -32
- package/dist/{product-attributes-EUDG25XA.js → product-attributes-BM54QUBZ.js} +3 -3
- package/dist/product-create-KEJB3U44.js +70 -0
- package/dist/{product-create-option-BG2ZKSFN.js → product-create-option-53CW7HXH.js} +3 -3
- package/dist/product-create-variant-YZODW67L.js +55 -0
- package/dist/{product-detail-F67SLUIA.js → product-detail-Y24FRUWA.js} +33 -32
- package/dist/{product-edit-HFWSBQQI.js → product-edit-AY2UVE3V.js} +3 -3
- package/dist/{product-edit-option-Y46SNVHN.js → product-edit-option-ULBJKDOE.js} +3 -3
- package/dist/{product-export-ABNA6ZTY.js → product-export-4G44DDXA.js} +39 -36
- package/dist/{product-import-SQSXBPK5.js → product-import-TIPIYEJJ.js} +33 -32
- package/dist/{product-list-NWHRQHVJ.js → product-list-BLFQWHIA.js} +34 -34
- package/dist/{product-media-YIQCVDCC.js → product-media-IKMGI2QA.js} +9 -7
- package/dist/{product-metadata-2Z5DIXJH.js → product-metadata-SKNZWKWO.js} +33 -32
- package/dist/{product-organization-L666C2EQ.js → product-organization-KHZQIBDK.js} +5 -5
- package/dist/{product-prices-DPGO4KHT.js → product-prices-XCC26S77.js} +6 -6
- package/dist/{product-sales-channels-6IS6T3EC.js → product-sales-channels-G22VD3VU.js} +4 -4
- package/dist/{product-shipping-profile-LMLRMJ36.js → product-shipping-profile-OPOM33SD.js} +3 -3
- package/dist/{product-stock-AQKD6EQO.js → product-stock-WIPVYJUH.js} +32 -31
- package/dist/{product-tag-create-5CF7JLN5.js → product-tag-create-3QK7MKMI.js} +32 -31
- package/dist/{product-tag-detail-2RJNUUT7.js → product-tag-detail-LSMLNJW6.js} +41 -39
- package/dist/{product-tag-edit-KGT54WP5.js → product-tag-edit-NHRQ55DX.js} +32 -31
- package/dist/{product-tag-list-PJG7ICZE.js → product-tag-list-UHBM6KBT.js} +41 -39
- package/dist/{product-tag-metadata-WU7DVJUM.js → product-tag-metadata-DGH7UF4L.js} +33 -32
- package/dist/{product-type-create-WHYGTCYX.js → product-type-create-X6NFMD2J.js} +3 -3
- package/dist/{product-type-detail-MZ3MAV2B.js → product-type-detail-GNRN4KTB.js} +35 -35
- package/dist/{product-type-edit-A4IE6BSF.js → product-type-edit-K5WDDPEY.js} +3 -3
- package/dist/{product-type-list-ND2IIR6O.js → product-type-list-6CTXFZBZ.js} +4 -4
- package/dist/{product-type-metadata-KX4ETP3Y.js → product-type-metadata-NFMNORIB.js} +33 -32
- package/dist/{product-variant-detail-USZXPSVX.js → product-variant-detail-TGSUSOEB.js} +33 -32
- package/dist/{product-variant-edit-5L2GWAHB.js → product-variant-edit-6OJRQWC6.js} +32 -31
- package/dist/{product-variant-manage-inventory-items-54V2HTA6.js → product-variant-manage-inventory-items-RFKTIM5A.js} +3 -3
- package/dist/{product-variant-metadata-SBYZTEIH.js → product-variant-metadata-4MWJAXYI.js} +33 -32
- package/dist/{profile-detail-OAQD5VJC.js → profile-detail-C5BGWHSQ.js} +3 -3
- package/dist/{profile-edit-DSZCGRY7.js → profile-edit-RXXHWORE.js} +3 -3
- package/dist/{promotion-add-campaign-JC4B53LS.js → promotion-add-campaign-TWE6G4R7.js} +7 -7
- package/dist/promotion-create-CPRWDBDW.js +55 -0
- package/dist/{promotion-detail-XOQTYXTV.js → promotion-detail-KGIX6TA2.js} +34 -33
- package/dist/{promotion-edit-details-KFZ2VVVQ.js → promotion-edit-details-J2JWFT2L.js} +3 -3
- package/dist/{promotion-list-EH7CW4JZ.js → promotion-list-U7PXQLZT.js} +6 -6
- package/dist/{refund-reason-create-EMGCAW5S.js → refund-reason-create-KYM2BCJ2.js} +32 -31
- package/dist/{refund-reason-edit-3D25LGKM.js → refund-reason-edit-JIG7FL7D.js} +32 -31
- package/dist/{refund-reason-list-V7HDVFS2.js → refund-reason-list-IO4INIKF.js} +35 -34
- package/dist/{region-add-countries-ZAQBBXIL.js → region-add-countries-OBJOMTGC.js} +4 -4
- package/dist/region-create-NI7QPOS5.js +659 -0
- package/dist/{region-detail-RASFBR5O.js → region-detail-TR3IRW6L.js} +4 -4
- package/dist/{region-edit-HGSLB3RU.js → region-edit-AGC3N4RU.js} +10 -6
- package/dist/{region-list-WEILXVMS.js → region-list-D4VLAQXD.js} +4 -4
- package/dist/{region-metadata-4COKDRZH.js → region-metadata-NJUXGJJZ.js} +33 -32
- package/dist/{reservation-create-CIYW3ZKU.js → reservation-create-3PQ56FKT.js} +5 -5
- package/dist/{reservation-detail-2ARWTBE6.js → reservation-detail-TKILHE26.js} +32 -31
- package/dist/{reservation-list-W6IOXQZK.js → reservation-list-56EFZDRI.js} +5 -5
- package/dist/{reservation-metadata-3ZJ2C5BM.js → reservation-metadata-V7BLDGSJ.js} +33 -32
- package/dist/{reset-password-YQ6HMFFZ.js → reset-password-SXAC55FW.js} +3 -3
- package/dist/{return-reason-create-HHZ3EMCC.js → return-reason-create-2HPI654O.js} +3 -3
- package/dist/{return-reason-edit-5P43JRYC.js → return-reason-edit-NJSTWTP3.js} +3 -3
- package/dist/{return-reason-list-32MCIQMK.js → return-reason-list-RYRELICQ.js} +6 -6
- package/dist/{sales-channel-add-products-U2UTBUKE.js → sales-channel-add-products-27YLUPZP.js} +34 -34
- package/dist/{sales-channel-create-TMRTMLIX.js → sales-channel-create-QJTXOKAM.js} +4 -4
- package/dist/{sales-channel-detail-FRBKGP4X.js → sales-channel-detail-EW2YN7VL.js} +34 -34
- package/dist/{sales-channel-edit-4LE2N6EV.js → sales-channel-edit-CDOQ5WR3.js} +4 -4
- package/dist/sales-channel-list-JOSLAWUO.js +51 -0
- package/dist/{sales-channel-metadata-OKKVLC7G.js → sales-channel-metadata-YABMFKT3.js} +33 -32
- package/dist/{shipping-option-type-create-ZHRADP5E.js → shipping-option-type-create-KXRPACLG.js} +32 -31
- package/dist/{shipping-option-type-detail-ZDEEU3P5.js → shipping-option-type-detail-KHX2BRFP.js} +33 -32
- package/dist/{shipping-option-type-edit-2FCNVHNE.js → shipping-option-type-edit-N3L4TPUK.js} +32 -31
- package/dist/shipping-option-type-list-5A676BZT.js +61 -0
- package/dist/{shipping-profile-create-WLHDFQ4Q.js → shipping-profile-create-T5WADNL2.js} +3 -3
- package/dist/{shipping-profile-detail-AUWRGYYL.js → shipping-profile-detail-3II2GLOC.js} +3 -3
- package/dist/{shipping-profile-metadata-W7CND3IQ.js → shipping-profile-metadata-WDM4Y653.js} +33 -32
- package/dist/{shipping-profiles-list-RZT6HIZV.js → shipping-profiles-list-DY4G7Z3K.js} +3 -3
- package/dist/store-address-edit-7BBZSSIP.js +231 -0
- package/dist/store-closure-edit-CN5JR4F5.js +152 -0
- package/dist/store-create-FUYTHJL5.js +278 -0
- package/dist/store-details-65JQK3M3.js +125 -0
- package/dist/store-edit-IQAVLFU5.js +372 -0
- package/dist/store-list-DWFAFCKV.js +83 -0
- package/dist/store-member-invite-GAWCXSWL.js +338 -0
- package/dist/store-payment-details-edit-Z3GLY4TO.js +218 -0
- package/dist/store-professional-details-edit-7KWQOK46.js +147 -0
- package/dist/{tax-region-create-U5JWJUX4.js → tax-region-create-6VHCIPP7.js} +33 -32
- package/dist/tax-region-detail-AZVNX4QN.js +69 -0
- package/dist/{tax-region-edit-5DOYTPEF.js → tax-region-edit-7A6MZBXC.js} +32 -31
- package/dist/{tax-region-list-MRQ63BL3.js → tax-region-list-52PPICIL.js} +6 -6
- package/dist/{tax-region-metadata-WN3XSWGA.js → tax-region-metadata-UZYHKPTE.js} +33 -32
- package/dist/{tax-region-province-create-3GZUYVBY.js → tax-region-province-create-PU53RZPV.js} +3 -3
- package/dist/{tax-region-province-detail-QTBP47GV.js → tax-region-province-detail-7ERAOT3Y.js} +34 -33
- package/dist/{tax-region-tax-override-create-PRZ3DEZE.js → tax-region-tax-override-create-TIPPPVTR.js} +41 -39
- package/dist/{tax-region-tax-override-edit-YAA6TB6A.js → tax-region-tax-override-edit-HDQ4NS5I.js} +41 -39
- package/dist/{tax-region-tax-rate-create-KHNADBCN.js → tax-region-tax-rate-create-4MTXOD2Z.js} +4 -4
- package/dist/{tax-region-tax-rate-edit-JR5262VW.js → tax-region-tax-rate-edit-VUIEX4DT.js} +4 -4
- package/dist/{user-detail-I66RREWP.js → user-detail-C7ZG3JWC.js} +4 -4
- package/dist/{user-edit-LBJOZ4LG.js → user-edit-LSWGYWV3.js} +3 -3
- package/dist/{user-invite-EUNVBT5W.js → user-invite-XYAU2UIS.js} +3 -3
- package/dist/{user-list-BDJJI33F.js → user-list-YXRP4JU5.js} +3 -3
- package/dist/{user-metadata-4RXAMVDT.js → user-metadata-JGCXU4OO.js} +33 -32
- package/package.json +6 -6
- package/dist/chunk-A26VSQNI.js +0 -530
- package/dist/chunk-G5OVX555.js +0 -26
- package/dist/chunk-HPQG3PEA.js +0 -67
- package/dist/chunk-NHGR2OFE.js +0 -292
- package/dist/customer-group-list-Q3T72VH2.js +0 -57
- package/dist/inventory-create-S6CB4JYN.js +0 -56
- package/dist/location-list-656DEW7L.js +0 -53
- package/dist/location-service-zone-shipping-option-create-IASFWJ2Z.js +0 -57
- package/dist/price-list-create-ZJTDGJSS.js +0 -76
- package/dist/price-list-prices-add-AJJ76VMY.js +0 -71
- package/dist/product-create-XA7UOISW.js +0 -68
- package/dist/product-create-variant-4Z6HSHRE.js +0 -54
- package/dist/promotion-create-A6FMNECA.js +0 -54
- package/dist/region-create-IMSMEASB.js +0 -508
- package/dist/sales-channel-list-36UHU63C.js +0 -50
- package/dist/seller-address-edit-VH4X5OIO.js +0 -223
- package/dist/seller-details-P7LPJ2UD.js +0 -104
- package/dist/seller-edit-TU72D5QS.js +0 -331
- package/dist/seller-list-CYNCPXYT.js +0 -80
- package/dist/shipping-option-type-list-OCCZ4DNS.js +0 -60
- package/dist/tax-region-detail-UNGDO64V.js +0 -68
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
import {
|
|
2
|
+
require_dist
|
|
3
|
+
} from "./chunk-ZZO3INVE.js";
|
|
4
|
+
import {
|
|
5
|
+
DateCell
|
|
6
|
+
} from "./chunk-25LYVP3C.js";
|
|
7
|
+
import {
|
|
8
|
+
StatusCell
|
|
9
|
+
} from "./chunk-DB6ANJBO.js";
|
|
10
|
+
import {
|
|
11
|
+
_DataTable,
|
|
12
|
+
useDataTable
|
|
13
|
+
} from "./chunk-ULJ3OMWU.js";
|
|
14
|
+
import {
|
|
15
|
+
SingleColumnPage
|
|
16
|
+
} from "./chunk-XIZLPYEE.js";
|
|
17
|
+
import {
|
|
18
|
+
ActionMenu
|
|
19
|
+
} from "./chunk-BDGZ4EQO.js";
|
|
20
|
+
import {
|
|
21
|
+
useSellerTableFilters
|
|
22
|
+
} from "./chunk-BE5QWX5N.js";
|
|
23
|
+
import {
|
|
24
|
+
useSellersTableQuery
|
|
25
|
+
} from "./chunk-NNI6QKKZ.js";
|
|
26
|
+
import {
|
|
27
|
+
sellersQueryKeys,
|
|
28
|
+
useSellers
|
|
29
|
+
} from "./chunk-M3YP3NX4.js";
|
|
30
|
+
import {
|
|
31
|
+
queryClient
|
|
32
|
+
} from "./chunk-RHKRREUU.js";
|
|
33
|
+
import {
|
|
34
|
+
sdk
|
|
35
|
+
} from "./chunk-RIN4CBRB.js";
|
|
36
|
+
import {
|
|
37
|
+
__toESM
|
|
38
|
+
} from "./chunk-NBMM2TZK.js";
|
|
39
|
+
|
|
40
|
+
// src/pages/stores/store-list/store-list.tsx
|
|
41
|
+
import { Children as Children3 } from "react";
|
|
42
|
+
|
|
43
|
+
// src/pages/stores/store-list/components/store-list-table/store-list-table.tsx
|
|
44
|
+
import { Children as Children2 } from "react";
|
|
45
|
+
import { Container } from "@medusajs/ui";
|
|
46
|
+
|
|
47
|
+
// src/pages/stores/store-list/components/store-list-table/store-list-header.tsx
|
|
48
|
+
import { Children } from "react";
|
|
49
|
+
import { Button, Heading } from "@medusajs/ui";
|
|
50
|
+
import { useTranslation } from "react-i18next";
|
|
51
|
+
import { Link } from "react-router-dom";
|
|
52
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
53
|
+
var StoreListTitle = () => {
|
|
54
|
+
return /* @__PURE__ */ jsx("div", { children: /* @__PURE__ */ jsx(Heading, { level: "h2", children: "Stores" }) });
|
|
55
|
+
};
|
|
56
|
+
var StoreListActions = ({
|
|
57
|
+
children
|
|
58
|
+
}) => {
|
|
59
|
+
const { t } = useTranslation();
|
|
60
|
+
return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx(Link, { to: "create", children: /* @__PURE__ */ jsx(Button, { variant: "secondary", size: "small", children: t("actions.create") }) }) });
|
|
61
|
+
};
|
|
62
|
+
var StoreListHeader = ({
|
|
63
|
+
children
|
|
64
|
+
}) => {
|
|
65
|
+
return /* @__PURE__ */ jsx("div", { className: "flex items-center justify-between px-6 py-4", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
66
|
+
/* @__PURE__ */ jsx(StoreListTitle, {}),
|
|
67
|
+
/* @__PURE__ */ jsx(StoreListActions, {})
|
|
68
|
+
] }) });
|
|
69
|
+
};
|
|
70
|
+
|
|
71
|
+
// src/pages/stores/store-list/components/store-list-table/store-list-data-table.tsx
|
|
72
|
+
import { useMemo as useMemo2, useState } from "react";
|
|
73
|
+
import { useTranslation as useTranslation4 } from "react-i18next";
|
|
74
|
+
import { Checkbox, toast } from "@medusajs/ui";
|
|
75
|
+
import { PencilSquare } from "@medusajs/icons";
|
|
76
|
+
import { keepPreviousData } from "@tanstack/react-query";
|
|
77
|
+
import { createColumnHelper as createColumnHelper2 } from "@tanstack/react-table";
|
|
78
|
+
|
|
79
|
+
// src/hooks/table/columns/use-seller-table-columns.tsx
|
|
80
|
+
import { createColumnHelper } from "@tanstack/react-table";
|
|
81
|
+
import { useMemo } from "react";
|
|
82
|
+
import { useTranslation as useTranslation3 } from "react-i18next";
|
|
83
|
+
|
|
84
|
+
// src/components/table/table-cells/seller/seller-status-cell/seller-status-cell.tsx
|
|
85
|
+
import { useTranslation as useTranslation2 } from "react-i18next";
|
|
86
|
+
var import_types = __toESM(require_dist(), 1);
|
|
87
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
88
|
+
var SellerStatusCell = ({ status }) => {
|
|
89
|
+
const { t } = useTranslation2();
|
|
90
|
+
const [color, text] = {
|
|
91
|
+
[import_types.SellerStatus.OPEN]: ["green", t("stores.status.open")],
|
|
92
|
+
[import_types.SellerStatus.PENDING_APPROVAL]: ["orange", t("stores.status.pendingApproval")],
|
|
93
|
+
[import_types.SellerStatus.SUSPENDED]: ["red", t("stores.status.suspended")],
|
|
94
|
+
[import_types.SellerStatus.TERMINATED]: ["grey", t("stores.status.terminated")]
|
|
95
|
+
}[status];
|
|
96
|
+
return /* @__PURE__ */ jsx2(StatusCell, { color, children: text });
|
|
97
|
+
};
|
|
98
|
+
|
|
99
|
+
// src/hooks/table/columns/use-seller-table-columns.tsx
|
|
100
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
101
|
+
var columnHelper = createColumnHelper();
|
|
102
|
+
var useSellersTableColumns = () => {
|
|
103
|
+
const { t } = useTranslation3();
|
|
104
|
+
return useMemo(
|
|
105
|
+
() => [
|
|
106
|
+
columnHelper.display({
|
|
107
|
+
id: "name",
|
|
108
|
+
header: t("stores.fields.name"),
|
|
109
|
+
cell: ({ row }) => row.original.name
|
|
110
|
+
}),
|
|
111
|
+
columnHelper.display({
|
|
112
|
+
id: "email",
|
|
113
|
+
header: t("stores.fields.email"),
|
|
114
|
+
cell: ({ row }) => row.original.email
|
|
115
|
+
}),
|
|
116
|
+
columnHelper.display({
|
|
117
|
+
id: "status",
|
|
118
|
+
header: t("fields.status"),
|
|
119
|
+
cell: ({ row }) => {
|
|
120
|
+
return /* @__PURE__ */ jsx3(
|
|
121
|
+
SellerStatusCell,
|
|
122
|
+
{
|
|
123
|
+
status: row.original.status
|
|
124
|
+
}
|
|
125
|
+
);
|
|
126
|
+
}
|
|
127
|
+
}),
|
|
128
|
+
columnHelper.display({
|
|
129
|
+
id: "is_premium",
|
|
130
|
+
header: t("stores.fields.premium"),
|
|
131
|
+
cell: ({ row }) => {
|
|
132
|
+
const isPremium = row.original.is_premium;
|
|
133
|
+
return /* @__PURE__ */ jsx3(StatusCell, { color: isPremium ? "purple" : "grey", children: isPremium ? t("stores.premium.yes") : t("stores.premium.no") });
|
|
134
|
+
}
|
|
135
|
+
}),
|
|
136
|
+
columnHelper.display({
|
|
137
|
+
id: "created_at",
|
|
138
|
+
header: t("fields.createdAt"),
|
|
139
|
+
cell: ({ row }) => {
|
|
140
|
+
return /* @__PURE__ */ jsx3(DateCell, { date: row.original.created_at });
|
|
141
|
+
}
|
|
142
|
+
})
|
|
143
|
+
],
|
|
144
|
+
[t]
|
|
145
|
+
);
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
// src/pages/stores/store-list/components/store-list-table/store-list-data-table.tsx
|
|
149
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
150
|
+
var PAGE_SIZE = 10;
|
|
151
|
+
var StoreListDataTable = () => {
|
|
152
|
+
const { t } = useTranslation4();
|
|
153
|
+
const [selection, setSelection] = useState({});
|
|
154
|
+
const { searchParams, raw } = useSellersTableQuery({
|
|
155
|
+
pageSize: PAGE_SIZE
|
|
156
|
+
});
|
|
157
|
+
const { sellers, count, isLoading } = useSellers(
|
|
158
|
+
{
|
|
159
|
+
...searchParams
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
placeholderData: keepPreviousData
|
|
163
|
+
}
|
|
164
|
+
);
|
|
165
|
+
const columns = useColumns();
|
|
166
|
+
const filters = useSellerTableFilters();
|
|
167
|
+
const { table } = useDataTable({
|
|
168
|
+
data: sellers ?? [],
|
|
169
|
+
columns,
|
|
170
|
+
count: count ?? 0,
|
|
171
|
+
enablePagination: true,
|
|
172
|
+
pageSize: PAGE_SIZE,
|
|
173
|
+
getRowId: (row) => row?.id || "",
|
|
174
|
+
enableRowSelection: true,
|
|
175
|
+
rowSelection: {
|
|
176
|
+
state: selection,
|
|
177
|
+
updater: setSelection
|
|
178
|
+
}
|
|
179
|
+
});
|
|
180
|
+
return /* @__PURE__ */ jsx4(
|
|
181
|
+
_DataTable,
|
|
182
|
+
{
|
|
183
|
+
table,
|
|
184
|
+
columns,
|
|
185
|
+
count: count ?? 0,
|
|
186
|
+
pageSize: PAGE_SIZE,
|
|
187
|
+
filters,
|
|
188
|
+
isLoading,
|
|
189
|
+
queryObject: raw,
|
|
190
|
+
search: true,
|
|
191
|
+
pagination: true,
|
|
192
|
+
navigateTo: (row) => `/stores/${row.original.id}`,
|
|
193
|
+
orderBy: [
|
|
194
|
+
{ key: "name", label: t("stores.fields.name") },
|
|
195
|
+
{ key: "email", label: t("stores.fields.email") },
|
|
196
|
+
{ key: "created_at", label: t("fields.createdAt") }
|
|
197
|
+
],
|
|
198
|
+
commands: [
|
|
199
|
+
{
|
|
200
|
+
action: async (selection2) => {
|
|
201
|
+
const ids = Object.keys(selection2);
|
|
202
|
+
try {
|
|
203
|
+
await Promise.all(
|
|
204
|
+
ids.map(
|
|
205
|
+
(id) => sdk.admin.sellers.$id.suspend.mutate({ $id: id })
|
|
206
|
+
)
|
|
207
|
+
);
|
|
208
|
+
toast.success(t("stores.actions.suspend.successToast", { count: ids.length }));
|
|
209
|
+
} catch {
|
|
210
|
+
toast.error(t("stores.actions.suspend.errorToast"));
|
|
211
|
+
}
|
|
212
|
+
await queryClient.invalidateQueries({
|
|
213
|
+
queryKey: sellersQueryKeys.lists()
|
|
214
|
+
});
|
|
215
|
+
},
|
|
216
|
+
label: t("stores.actions.suspend.label"),
|
|
217
|
+
shortcut: "s"
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
action: async (selection2) => {
|
|
221
|
+
const ids = Object.keys(selection2);
|
|
222
|
+
try {
|
|
223
|
+
await Promise.all(
|
|
224
|
+
ids.map(
|
|
225
|
+
(id) => sdk.admin.sellers.$id.unsuspend.mutate({ $id: id })
|
|
226
|
+
)
|
|
227
|
+
);
|
|
228
|
+
toast.success(t("stores.actions.unsuspend.successToast", { count: ids.length }));
|
|
229
|
+
} catch {
|
|
230
|
+
toast.error(t("stores.actions.unsuspend.errorToast"));
|
|
231
|
+
}
|
|
232
|
+
await queryClient.invalidateQueries({
|
|
233
|
+
queryKey: sellersQueryKeys.lists()
|
|
234
|
+
});
|
|
235
|
+
},
|
|
236
|
+
label: t("stores.actions.unsuspend.label"),
|
|
237
|
+
shortcut: "u"
|
|
238
|
+
}
|
|
239
|
+
]
|
|
240
|
+
}
|
|
241
|
+
);
|
|
242
|
+
};
|
|
243
|
+
var columnHelper2 = createColumnHelper2();
|
|
244
|
+
var StoreActions = ({ seller }) => {
|
|
245
|
+
return /* @__PURE__ */ jsx4(
|
|
246
|
+
ActionMenu,
|
|
247
|
+
{
|
|
248
|
+
groups: [
|
|
249
|
+
{
|
|
250
|
+
actions: [
|
|
251
|
+
{
|
|
252
|
+
icon: /* @__PURE__ */ jsx4(PencilSquare, {}),
|
|
253
|
+
label: "Edit",
|
|
254
|
+
to: `/stores/${seller.id}/edit`
|
|
255
|
+
}
|
|
256
|
+
]
|
|
257
|
+
}
|
|
258
|
+
]
|
|
259
|
+
}
|
|
260
|
+
);
|
|
261
|
+
};
|
|
262
|
+
var useColumns = () => {
|
|
263
|
+
const base = useSellersTableColumns();
|
|
264
|
+
return useMemo2(
|
|
265
|
+
() => [
|
|
266
|
+
columnHelper2.display({
|
|
267
|
+
id: "select",
|
|
268
|
+
header: ({ table }) => {
|
|
269
|
+
return /* @__PURE__ */ jsx4(
|
|
270
|
+
Checkbox,
|
|
271
|
+
{
|
|
272
|
+
checked: table.getIsSomePageRowsSelected() ? "indeterminate" : table.getIsAllPageRowsSelected(),
|
|
273
|
+
onCheckedChange: (value) => table.toggleAllPageRowsSelected(!!value)
|
|
274
|
+
}
|
|
275
|
+
);
|
|
276
|
+
},
|
|
277
|
+
cell: ({ row }) => {
|
|
278
|
+
return /* @__PURE__ */ jsx4(
|
|
279
|
+
Checkbox,
|
|
280
|
+
{
|
|
281
|
+
checked: row.getIsSelected(),
|
|
282
|
+
onCheckedChange: (value) => row.toggleSelected(!!value),
|
|
283
|
+
onClick: (e) => {
|
|
284
|
+
e.stopPropagation();
|
|
285
|
+
}
|
|
286
|
+
}
|
|
287
|
+
);
|
|
288
|
+
}
|
|
289
|
+
}),
|
|
290
|
+
...base,
|
|
291
|
+
columnHelper2.display({
|
|
292
|
+
id: "actions",
|
|
293
|
+
cell: ({ row }) => /* @__PURE__ */ jsx4(StoreActions, { seller: row.original })
|
|
294
|
+
})
|
|
295
|
+
],
|
|
296
|
+
[base]
|
|
297
|
+
);
|
|
298
|
+
};
|
|
299
|
+
|
|
300
|
+
// src/pages/stores/store-list/components/store-list-table/store-list-table.tsx
|
|
301
|
+
import { Fragment as Fragment2, jsx as jsx5, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
302
|
+
var StoreListTable = ({ children }) => {
|
|
303
|
+
return /* @__PURE__ */ jsx5(Container, { className: "divide-y p-0", children: Children2.count(children) > 0 ? children : /* @__PURE__ */ jsxs2(Fragment2, { children: [
|
|
304
|
+
/* @__PURE__ */ jsx5(StoreListHeader, {}),
|
|
305
|
+
/* @__PURE__ */ jsx5(StoreListDataTable, {})
|
|
306
|
+
] }) });
|
|
307
|
+
};
|
|
308
|
+
|
|
309
|
+
// src/pages/stores/store-list/store-list.tsx
|
|
310
|
+
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
311
|
+
var Root = ({ children }) => {
|
|
312
|
+
return /* @__PURE__ */ jsx6(SingleColumnPage, { hasOutlet: true, children: Children3.count(children) > 0 ? children : /* @__PURE__ */ jsx6(StoreListTable, {}) });
|
|
313
|
+
};
|
|
314
|
+
var StoreListPage = Object.assign(Root, {
|
|
315
|
+
Table: StoreListTable,
|
|
316
|
+
Header: StoreListHeader,
|
|
317
|
+
HeaderTitle: StoreListTitle,
|
|
318
|
+
HeaderActions: StoreListActions,
|
|
319
|
+
DataTable: StoreListDataTable
|
|
320
|
+
});
|
|
321
|
+
|
|
322
|
+
export {
|
|
323
|
+
StoreListPage
|
|
324
|
+
};
|
|
@@ -39,22 +39,22 @@ import {
|
|
|
39
39
|
import {
|
|
40
40
|
useDeleteReservationItem,
|
|
41
41
|
useReservationItems
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-22XJUSMM.js";
|
|
43
43
|
import {
|
|
44
44
|
useStockLocations
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-OFKUNYQJ.js";
|
|
46
46
|
import {
|
|
47
47
|
inventoryItemLevelsQueryKeys,
|
|
48
48
|
inventoryItemsQueryKeys,
|
|
49
49
|
useInventoryItem,
|
|
50
50
|
useInventoryItemLevels
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-BA2HXHTW.js";
|
|
52
52
|
import {
|
|
53
53
|
queryClient
|
|
54
54
|
} from "./chunk-RHKRREUU.js";
|
|
55
55
|
import {
|
|
56
56
|
sdk
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-RIN4CBRB.js";
|
|
58
58
|
|
|
59
59
|
// src/pages/inventory/inventory-detail/inventory-detail.tsx
|
|
60
60
|
import { Children } from "react";
|
|
@@ -8860,6 +8860,8 @@ var en_default = {
|
|
|
8860
8860
|
plusCountMore: "+ {{count}} more",
|
|
8861
8861
|
areYouSure: "Are you sure?",
|
|
8862
8862
|
areYouSureDescription: "You are about to delete the {{entity}} {{title}}. This action cannot be undone.",
|
|
8863
|
+
yes: "Yes",
|
|
8864
|
+
no: "No",
|
|
8863
8865
|
noRecordsFound: "No records found",
|
|
8864
8866
|
typeToConfirm: "Please type {val} to confirm:",
|
|
8865
8867
|
noResultsTitle: "No results",
|
|
@@ -11270,7 +11272,12 @@ var en_default = {
|
|
|
11270
11272
|
roles: {
|
|
11271
11273
|
admin: "Admin",
|
|
11272
11274
|
developer: "Developer",
|
|
11273
|
-
member: "Member"
|
|
11275
|
+
member: "Member",
|
|
11276
|
+
administration: "Store Administration",
|
|
11277
|
+
inventoryManagement: "Inventory Management",
|
|
11278
|
+
orderManagement: "Order Management",
|
|
11279
|
+
accounting: "Accounting",
|
|
11280
|
+
support: "Support"
|
|
11274
11281
|
},
|
|
11275
11282
|
list: {
|
|
11276
11283
|
empty: {
|
|
@@ -11314,6 +11321,63 @@ var en_default = {
|
|
|
11314
11321
|
edit: {
|
|
11315
11322
|
header: "Edit Store"
|
|
11316
11323
|
},
|
|
11324
|
+
logo: "Logo",
|
|
11325
|
+
banner: "Banner",
|
|
11326
|
+
address: {
|
|
11327
|
+
header: "Address",
|
|
11328
|
+
edit: {
|
|
11329
|
+
header: "Edit Address",
|
|
11330
|
+
description: "Update the address for this store.",
|
|
11331
|
+
successToast: "Address updated"
|
|
11332
|
+
}
|
|
11333
|
+
},
|
|
11334
|
+
paymentDetails: {
|
|
11335
|
+
header: "Payment Details",
|
|
11336
|
+
edit: {
|
|
11337
|
+
header: "Edit Payment Details",
|
|
11338
|
+
description: "Update the payment details for this store.",
|
|
11339
|
+
successToast: "Payment details updated"
|
|
11340
|
+
},
|
|
11341
|
+
fields: {
|
|
11342
|
+
countryCode: "Country",
|
|
11343
|
+
holderName: "Account holder",
|
|
11344
|
+
bankName: "Bank name",
|
|
11345
|
+
iban: "IBAN",
|
|
11346
|
+
bic: "BIC / SWIFT",
|
|
11347
|
+
routingNumber: "Routing number",
|
|
11348
|
+
accountNumber: "Account number"
|
|
11349
|
+
}
|
|
11350
|
+
},
|
|
11351
|
+
professionalDetails: {
|
|
11352
|
+
header: "Company Details",
|
|
11353
|
+
edit: {
|
|
11354
|
+
header: "Edit Professional Details",
|
|
11355
|
+
description: "Update the professional details for this store.",
|
|
11356
|
+
successToast: "Professional details updated"
|
|
11357
|
+
},
|
|
11358
|
+
fields: {
|
|
11359
|
+
corporateName: "Corporate name",
|
|
11360
|
+
registrationNumber: "Registration number",
|
|
11361
|
+
taxId: "Tax ID"
|
|
11362
|
+
}
|
|
11363
|
+
},
|
|
11364
|
+
scheduledClosure: {
|
|
11365
|
+
header: "Scheduled Closure",
|
|
11366
|
+
edit: {
|
|
11367
|
+
header: "Schedule Store Closure",
|
|
11368
|
+
description: "Configure the scheduled closure dates for this store.",
|
|
11369
|
+
successToast: "Scheduled closure updated"
|
|
11370
|
+
},
|
|
11371
|
+
fields: {
|
|
11372
|
+
closedFrom: "Close from",
|
|
11373
|
+
closedTo: "Close until",
|
|
11374
|
+
closedToHint: "If empty, the store will remain closed indefinitely."
|
|
11375
|
+
}
|
|
11376
|
+
},
|
|
11377
|
+
subscription: {
|
|
11378
|
+
header: "Subscription Plan",
|
|
11379
|
+
month: "month"
|
|
11380
|
+
},
|
|
11317
11381
|
toast: {
|
|
11318
11382
|
update: "Store successfully updated",
|
|
11319
11383
|
currenciesUpdated: "Currencies updated successfully",
|
|
@@ -11564,6 +11628,92 @@ var en_default = {
|
|
|
11564
11628
|
createdByLabel: "Created by"
|
|
11565
11629
|
}
|
|
11566
11630
|
},
|
|
11631
|
+
attributes: {
|
|
11632
|
+
domain: "Product Attributes",
|
|
11633
|
+
subtitle: "Manage product attributes and their possible values.",
|
|
11634
|
+
list: {
|
|
11635
|
+
title: "Product Attributes",
|
|
11636
|
+
noRecordsMessage: "No product attributes have been created yet."
|
|
11637
|
+
},
|
|
11638
|
+
create: {
|
|
11639
|
+
header: "Create Attribute",
|
|
11640
|
+
subtitle: "Define a new product attribute.",
|
|
11641
|
+
tabs: {
|
|
11642
|
+
details: "Details",
|
|
11643
|
+
type: "Type"
|
|
11644
|
+
},
|
|
11645
|
+
fillNameWarning: "Please fill in at least the name field before proceeding to Type configuration.",
|
|
11646
|
+
possibleValuesRequired: "At least one possible value is required for this type",
|
|
11647
|
+
successToast: 'Attribute "{{name}}" was successfully created.'
|
|
11648
|
+
},
|
|
11649
|
+
edit: {
|
|
11650
|
+
header: "Edit Attribute",
|
|
11651
|
+
subtitle: "Update attribute details.",
|
|
11652
|
+
successToast: 'Attribute "{{name}}" was successfully updated.'
|
|
11653
|
+
},
|
|
11654
|
+
editPossibleValue: {
|
|
11655
|
+
header: "Edit Possible Value",
|
|
11656
|
+
subtitle: "Update the possible value details.",
|
|
11657
|
+
successToast: 'Possible value "{{value}}" was successfully updated.'
|
|
11658
|
+
},
|
|
11659
|
+
createPossibleValues: {
|
|
11660
|
+
header: "Create values",
|
|
11661
|
+
subtitle: 'Create additional values to "{{name}}" attribute.',
|
|
11662
|
+
tabs: {
|
|
11663
|
+
values: "Values",
|
|
11664
|
+
organizeRanking: "Organize Ranking"
|
|
11665
|
+
},
|
|
11666
|
+
addValue: "Add value",
|
|
11667
|
+
enterValue: "Enter value",
|
|
11668
|
+
successToast: "Values were successfully created."
|
|
11669
|
+
},
|
|
11670
|
+
deletePossibleValue: {
|
|
11671
|
+
title: "Delete value",
|
|
11672
|
+
confirmation: 'You are about to delete the possible value "{{value}}". This action cannot be undone.',
|
|
11673
|
+
successToast: 'Possible value "{{value}}" was successfully deleted.',
|
|
11674
|
+
inUseMessage: "Value {{value}} can't be deleted because it's currently used by one or more Vendors in their product variants. To edit it, ask the Vendors to update their products first."
|
|
11675
|
+
},
|
|
11676
|
+
delete: {
|
|
11677
|
+
title: "Delete attribute",
|
|
11678
|
+
confirmation: 'You are about to delete the attribute "{{name}}". This action cannot be undone.',
|
|
11679
|
+
successToast: 'Attribute "{{name}}" was successfully deleted.',
|
|
11680
|
+
inUseMessage: "Attribute {{name}} can't be deleted because it's currently used by one or more Vendors in their product variants. To delete it, ask the Vendors to update their products first.",
|
|
11681
|
+
gotIt: "Got it"
|
|
11682
|
+
},
|
|
11683
|
+
fields: {
|
|
11684
|
+
name: "Name",
|
|
11685
|
+
handle: "Handle",
|
|
11686
|
+
description: "Description",
|
|
11687
|
+
type: "Type",
|
|
11688
|
+
filterable: "Filterable",
|
|
11689
|
+
required: "Required",
|
|
11690
|
+
global: "Global",
|
|
11691
|
+
category: "Category",
|
|
11692
|
+
categories: "Product Categories",
|
|
11693
|
+
productAttribute: "Product Attribute",
|
|
11694
|
+
values: "Values",
|
|
11695
|
+
possibleValues: "Possible Values",
|
|
11696
|
+
value: "Value",
|
|
11697
|
+
rank: "Rank",
|
|
11698
|
+
metadata: "Metadata"
|
|
11699
|
+
},
|
|
11700
|
+
type: {
|
|
11701
|
+
select: "Single Select",
|
|
11702
|
+
multivalue: "Multi Select",
|
|
11703
|
+
unit: "Unit",
|
|
11704
|
+
toggle: "Toggle",
|
|
11705
|
+
text_area: "Text Area"
|
|
11706
|
+
},
|
|
11707
|
+
selectCategory: {
|
|
11708
|
+
title: "Select category",
|
|
11709
|
+
description: "Please select the category where this attribute applies.",
|
|
11710
|
+
placeholder: "Select category"
|
|
11711
|
+
},
|
|
11712
|
+
hints: {
|
|
11713
|
+
global: "When enabled, this attribute applies to all products regardless of category.",
|
|
11714
|
+
categoryInheritance: "Child categories will inherit this attribute."
|
|
11715
|
+
}
|
|
11716
|
+
},
|
|
11567
11717
|
returnReasons: {
|
|
11568
11718
|
domain: "Return Reasons",
|
|
11569
11719
|
subtitle: "Manage reasons for returned items.",
|
|
@@ -11903,6 +12053,9 @@ var en_default = {
|
|
|
11903
12053
|
automaticTaxes: "Automatic Taxes",
|
|
11904
12054
|
taxInclusivePricing: "Tax inclusive pricing",
|
|
11905
12055
|
currency: "Currency",
|
|
12056
|
+
website: "Website",
|
|
12057
|
+
premium: "Premium",
|
|
12058
|
+
professional: "Professional",
|
|
11906
12059
|
address: "Address",
|
|
11907
12060
|
address2: "Apartment, suite, etc.",
|
|
11908
12061
|
city: "City",
|
|
@@ -12027,13 +12180,6 @@ var en_default = {
|
|
|
12027
12180
|
}
|
|
12028
12181
|
}
|
|
12029
12182
|
},
|
|
12030
|
-
attributes: {
|
|
12031
|
-
domain: "Product Attributes",
|
|
12032
|
-
create: {
|
|
12033
|
-
fillNameWarning: "Please fill in at least the name field before proceeding to Type configuration.",
|
|
12034
|
-
possibleValuesRequired: "At least one possible value is required for this type"
|
|
12035
|
-
}
|
|
12036
|
-
},
|
|
12037
12183
|
requests: {
|
|
12038
12184
|
domain: "Requests",
|
|
12039
12185
|
seller: "Seller",
|
|
@@ -12046,8 +12192,8 @@ var en_default = {
|
|
|
12046
12192
|
"product-type": "Product Type",
|
|
12047
12193
|
"product-update": "Product Update"
|
|
12048
12194
|
},
|
|
12049
|
-
|
|
12050
|
-
domain: "
|
|
12195
|
+
stores: {
|
|
12196
|
+
domain: "Stores",
|
|
12051
12197
|
fields: {
|
|
12052
12198
|
name: "Name",
|
|
12053
12199
|
handle: "Handle",
|
|
@@ -12061,23 +12207,80 @@ var en_default = {
|
|
|
12061
12207
|
postal_code: "Postal Code",
|
|
12062
12208
|
city: "City",
|
|
12063
12209
|
province: "Province",
|
|
12064
|
-
country_code: "Country Code"
|
|
12210
|
+
country_code: "Country Code",
|
|
12211
|
+
premium: "Premium"
|
|
12065
12212
|
},
|
|
12066
12213
|
status: {
|
|
12067
|
-
|
|
12068
|
-
|
|
12069
|
-
|
|
12214
|
+
open: "Open",
|
|
12215
|
+
pending_approval: "Pending Approval",
|
|
12216
|
+
pendingApproval: "Pending Approval",
|
|
12217
|
+
suspended: "Suspended",
|
|
12218
|
+
terminated: "Terminated"
|
|
12219
|
+
},
|
|
12220
|
+
premium: {
|
|
12221
|
+
yes: "Premium",
|
|
12222
|
+
no: "Standard",
|
|
12223
|
+
description: "Mark this store as a premium seller"
|
|
12070
12224
|
},
|
|
12071
12225
|
invite: {
|
|
12072
12226
|
button: "Invite",
|
|
12073
|
-
header: "Invite
|
|
12074
|
-
hint: "Invite a new
|
|
12227
|
+
header: "Invite Store",
|
|
12228
|
+
hint: "Invite a new store to your marketplace",
|
|
12075
12229
|
successToast: "Invitation sent to {{email}}",
|
|
12076
12230
|
errorToast: "Failed to send invitation"
|
|
12077
12231
|
},
|
|
12078
12232
|
edit: {
|
|
12079
|
-
header: "Edit
|
|
12080
|
-
successToast: "
|
|
12233
|
+
header: "Edit Store",
|
|
12234
|
+
successToast: "Store {{name}} was successfully updated."
|
|
12235
|
+
},
|
|
12236
|
+
create: {
|
|
12237
|
+
tabs: {
|
|
12238
|
+
details: "Details",
|
|
12239
|
+
users: "Users"
|
|
12240
|
+
},
|
|
12241
|
+
header: "Create Store",
|
|
12242
|
+
hint: "Create a new store on the marketplace.",
|
|
12243
|
+
usersHeader: "Users",
|
|
12244
|
+
usersHint: "Invite the store owner by email. They will receive an invitation to set up their account.",
|
|
12245
|
+
ownerEmail: "Owner email",
|
|
12246
|
+
ownerEmailHint: "The owner will be granted the Store Administration role.",
|
|
12247
|
+
successToast: "Store created successfully"
|
|
12248
|
+
},
|
|
12249
|
+
actions: {
|
|
12250
|
+
approve: {
|
|
12251
|
+
label: "Approve",
|
|
12252
|
+
title: "Approve store",
|
|
12253
|
+
description: "Are you sure you want to approve this store?",
|
|
12254
|
+
success: "Store approved"
|
|
12255
|
+
},
|
|
12256
|
+
suspend: {
|
|
12257
|
+
label: "Suspend",
|
|
12258
|
+
title: "Suspend store",
|
|
12259
|
+
description: "Are you sure you want to suspend this store?",
|
|
12260
|
+
success: "Store suspended",
|
|
12261
|
+
successToast: "{{count}} store(s) suspended",
|
|
12262
|
+
errorToast: "Failed to suspend store(s)"
|
|
12263
|
+
},
|
|
12264
|
+
unsuspend: {
|
|
12265
|
+
label: "Unsuspend",
|
|
12266
|
+
title: "Unsuspend store",
|
|
12267
|
+
description: "Are you sure you want to unsuspend this store?",
|
|
12268
|
+
success: "Store unsuspended",
|
|
12269
|
+
successToast: "{{count}} store(s) unsuspended",
|
|
12270
|
+
errorToast: "Failed to unsuspend store(s)"
|
|
12271
|
+
},
|
|
12272
|
+
terminate: {
|
|
12273
|
+
label: "Terminate",
|
|
12274
|
+
title: "Terminate store",
|
|
12275
|
+
description: "Are you sure you want to terminate this store?",
|
|
12276
|
+
success: "Store terminated"
|
|
12277
|
+
},
|
|
12278
|
+
unterminate: {
|
|
12279
|
+
label: "Unterminate",
|
|
12280
|
+
title: "Unterminate store",
|
|
12281
|
+
description: "Are you sure you want to unterminate this store?",
|
|
12282
|
+
success: "Store unterminated"
|
|
12283
|
+
}
|
|
12081
12284
|
}
|
|
12082
12285
|
},
|
|
12083
12286
|
messages: {
|