@mercurjs/admin 2.0.0-canary.99 → 2.0.1
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-IMSMEASB.js → region-create-BFA7ATKB.js} +5 -5
- package/dist/{region-detail-RASFBR5O.js → region-detail-TR3IRW6L.js} +4 -4
- package/dist/{region-edit-HGSLB3RU.js → region-edit-75ZVOJ3U.js} +5 -5
- 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-G5OVX555.js +0 -26
- package/dist/chunk-HPQG3PEA.js +0 -67
- package/dist/chunk-N5XVXV47.js +0 -530
- 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/sales-channel-list-36UHU63C.js +0 -50
- package/dist/seller-address-edit-VH4X5OIO.js +0 -223
- package/dist/seller-details-52PG56BK.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
|
@@ -15,46 +15,46 @@ import {
|
|
|
15
15
|
} from "./chunk-JHIMVLB2.js";
|
|
16
16
|
import {
|
|
17
17
|
useProductTableColumns
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-Z5I2Z6L3.js";
|
|
19
19
|
import {
|
|
20
20
|
_DataTable,
|
|
21
21
|
useDataTable
|
|
22
22
|
} from "./chunk-ULJ3OMWU.js";
|
|
23
23
|
import {
|
|
24
24
|
useShippingOptionTableFilters
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-BE5QWX5N.js";
|
|
26
26
|
import {
|
|
27
27
|
useProductTypeTableFilters
|
|
28
28
|
} from "./chunk-2ZFELO2L.js";
|
|
29
29
|
import {
|
|
30
30
|
useShippingOptionTableQuery
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-NNI6QKKZ.js";
|
|
32
32
|
import {
|
|
33
33
|
useProductTypeTableQuery
|
|
34
34
|
} from "./chunk-VOHEQ7B5.js";
|
|
35
35
|
import {
|
|
36
36
|
useProductTableFilters
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-WSR2ZXAJ.js";
|
|
38
38
|
import {
|
|
39
39
|
useProductTableQuery
|
|
40
40
|
} from "./chunk-VVWB3GIK.js";
|
|
41
41
|
import {
|
|
42
42
|
StackedDrawer,
|
|
43
43
|
StackedFocusModal
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-OV7R2AH5.js";
|
|
45
45
|
import {
|
|
46
46
|
useProductTypes
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-5PUHROK4.js";
|
|
48
48
|
import {
|
|
49
49
|
useShippingOptions
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-O4STPJR2.js";
|
|
51
51
|
import {
|
|
52
52
|
useStockLocations
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-OFKUNYQJ.js";
|
|
54
54
|
import {
|
|
55
55
|
useProduct,
|
|
56
56
|
useProducts
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-BA2HXHTW.js";
|
|
58
58
|
|
|
59
59
|
// src/pages/tax-regions/common/components/target-form/target-form.tsx
|
|
60
60
|
import { Button, Checkbox } from "@medusajs/ui";
|
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
// src/components/common/file-upload/file-upload.tsx
|
|
2
|
-
import { ArrowDownTray } from "@medusajs/icons";
|
|
3
|
-
import { Text, clx } from "@medusajs/ui";
|
|
2
|
+
import { ArrowDownTray, XMark } from "@medusajs/icons";
|
|
3
|
+
import { IconButton, Text, clx } from "@medusajs/ui";
|
|
4
4
|
import { useRef, useState } from "react";
|
|
5
|
-
|
|
5
|
+
|
|
6
|
+
// src/lib/format-file-size.ts
|
|
7
|
+
var formatFileSize = (bytes) => {
|
|
8
|
+
if (bytes === 0) return "0 B";
|
|
9
|
+
const units = ["B", "KB", "MB", "GB"];
|
|
10
|
+
const i = Math.floor(Math.log(bytes) / Math.log(1024));
|
|
11
|
+
return `${(bytes / Math.pow(1024, i)).toFixed(2)} ${units[i]}`;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
// src/components/common/file-upload/file-upload.tsx
|
|
15
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
16
|
var FileUpload = ({
|
|
7
17
|
label,
|
|
8
18
|
hint,
|
|
@@ -10,7 +20,10 @@ var FileUpload = ({
|
|
|
10
20
|
hasError,
|
|
11
21
|
formats,
|
|
12
22
|
onUploaded,
|
|
13
|
-
|
|
23
|
+
onRemove,
|
|
24
|
+
uploadedImage = "",
|
|
25
|
+
fileName,
|
|
26
|
+
fileSize
|
|
14
27
|
}) => {
|
|
15
28
|
const [isDragOver, setIsDragOver] = useState(false);
|
|
16
29
|
const inputRef = useRef(null);
|
|
@@ -60,8 +73,56 @@ var FileUpload = ({
|
|
|
60
73
|
const handleFileChange = async (event) => {
|
|
61
74
|
handleUploaded(event.target.files);
|
|
62
75
|
};
|
|
76
|
+
const showFileRow = !multiple && uploadedImage;
|
|
77
|
+
if (showFileRow) {
|
|
78
|
+
return /* @__PURE__ */ jsxs("div", { children: [
|
|
79
|
+
/* @__PURE__ */ jsxs("div", { className: "bg-ui-bg-component shadow-borders-base flex items-center gap-x-3 rounded-lg p-3", children: [
|
|
80
|
+
/* @__PURE__ */ jsx("div", { className: "flex h-10 w-[30px] shrink-0 items-center justify-center overflow-hidden rounded-md", children: /* @__PURE__ */ jsx(
|
|
81
|
+
"img",
|
|
82
|
+
{
|
|
83
|
+
src: uploadedImage,
|
|
84
|
+
alt: fileName,
|
|
85
|
+
className: "h-full w-full object-cover"
|
|
86
|
+
}
|
|
87
|
+
) }),
|
|
88
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-1 flex-col", children: [
|
|
89
|
+
/* @__PURE__ */ jsx(Text, { size: "small", leading: "compact", weight: "plus", children: fileName || "image" }),
|
|
90
|
+
fileSize != null && /* @__PURE__ */ jsx(
|
|
91
|
+
Text,
|
|
92
|
+
{
|
|
93
|
+
size: "small",
|
|
94
|
+
leading: "compact",
|
|
95
|
+
className: "text-ui-fg-subtle",
|
|
96
|
+
children: formatFileSize(fileSize)
|
|
97
|
+
}
|
|
98
|
+
)
|
|
99
|
+
] }),
|
|
100
|
+
onRemove && /* @__PURE__ */ jsx(
|
|
101
|
+
IconButton,
|
|
102
|
+
{
|
|
103
|
+
type: "button",
|
|
104
|
+
variant: "transparent",
|
|
105
|
+
size: "small",
|
|
106
|
+
onClick: onRemove,
|
|
107
|
+
children: /* @__PURE__ */ jsx(XMark, {})
|
|
108
|
+
}
|
|
109
|
+
)
|
|
110
|
+
] }),
|
|
111
|
+
/* @__PURE__ */ jsx(
|
|
112
|
+
"input",
|
|
113
|
+
{
|
|
114
|
+
hidden: true,
|
|
115
|
+
ref: inputRef,
|
|
116
|
+
onChange: handleFileChange,
|
|
117
|
+
type: "file",
|
|
118
|
+
accept: formats.join(","),
|
|
119
|
+
multiple: false
|
|
120
|
+
}
|
|
121
|
+
)
|
|
122
|
+
] });
|
|
123
|
+
}
|
|
63
124
|
return /* @__PURE__ */ jsxs("div", { children: [
|
|
64
|
-
/* @__PURE__ */
|
|
125
|
+
/* @__PURE__ */ jsxs(
|
|
65
126
|
"button",
|
|
66
127
|
{
|
|
67
128
|
ref: dropZoneRef,
|
|
@@ -80,7 +141,7 @@ var FileUpload = ({
|
|
|
80
141
|
"!border-ui-border-interactive": isDragOver
|
|
81
142
|
}
|
|
82
143
|
),
|
|
83
|
-
children:
|
|
144
|
+
children: [
|
|
84
145
|
/* @__PURE__ */ jsxs("div", { className: "text-ui-fg-subtle group-disabled:text-ui-fg-disabled flex items-center gap-x-2", children: [
|
|
85
146
|
/* @__PURE__ */ jsx(ArrowDownTray, {}),
|
|
86
147
|
/* @__PURE__ */ jsx(Text, { children: label })
|
|
@@ -94,7 +155,7 @@ var FileUpload = ({
|
|
|
94
155
|
children: hint
|
|
95
156
|
}
|
|
96
157
|
)
|
|
97
|
-
]
|
|
158
|
+
]
|
|
98
159
|
}
|
|
99
160
|
),
|
|
100
161
|
/* @__PURE__ */ jsx(
|
|
@@ -3,17 +3,17 @@ import {
|
|
|
3
3
|
} from "./chunk-54TMLQH3.js";
|
|
4
4
|
import {
|
|
5
5
|
CreateCampaignFormFields
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YTPCWCA3.js";
|
|
7
7
|
import {
|
|
8
8
|
KeyboundForm
|
|
9
9
|
} from "./chunk-U2ZFCAPX.js";
|
|
10
10
|
import {
|
|
11
11
|
RouteFocusModal,
|
|
12
12
|
useRouteModal
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-OV7R2AH5.js";
|
|
14
14
|
import {
|
|
15
15
|
useCreateCampaign
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HAFZQK53.js";
|
|
17
17
|
|
|
18
18
|
// src/pages/campaigns/campaign-create/components/create-campaign-form/create-campaign-form.tsx
|
|
19
19
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
@@ -17,30 +17,30 @@ import {
|
|
|
17
17
|
TabbedForm,
|
|
18
18
|
defineTabMeta,
|
|
19
19
|
useTabbedForm
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KA3VYXNA.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-OV7R2AH5.js";
|
|
28
28
|
import {
|
|
29
29
|
Form
|
|
30
30
|
} from "./chunk-3QSRE5LS.js";
|
|
31
31
|
import {
|
|
32
32
|
useStockLocations
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-OFKUNYQJ.js";
|
|
34
34
|
import {
|
|
35
35
|
inventoryItemsQueryKeys,
|
|
36
36
|
useCreateInventoryItem
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-BA2HXHTW.js";
|
|
38
38
|
import {
|
|
39
39
|
queryClient
|
|
40
40
|
} from "./chunk-RHKRREUU.js";
|
|
41
41
|
import {
|
|
42
42
|
sdk
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-RIN4CBRB.js";
|
|
44
44
|
|
|
45
45
|
// src/pages/inventory/inventory-create/components/inventory-create-form/schema.ts
|
|
46
46
|
import { z } from "zod";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-XFR5JLNF.js";
|
|
6
6
|
import {
|
|
7
7
|
UserLink
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6NVEUQSL.js";
|
|
9
9
|
import {
|
|
10
10
|
SingleColumnPage
|
|
11
11
|
} from "./chunk-XIZLPYEE.js";
|
|
@@ -33,13 +33,13 @@ import {
|
|
|
33
33
|
useBatchRemoveSalesChannelsFromApiKey,
|
|
34
34
|
useDeleteApiKey,
|
|
35
35
|
useRevokeApiKey
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-YNIIYGL4.js";
|
|
37
37
|
import {
|
|
38
38
|
useUser
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-XKVXLDSJ.js";
|
|
40
40
|
import {
|
|
41
41
|
useSalesChannels
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-N4JU7GWK.js";
|
|
43
43
|
|
|
44
44
|
// src/pages/api-key-management/api-key-management-detail/api-key-management-detail.tsx
|
|
45
45
|
import { Children } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CreateCampaignFormFields
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YTPCWCA3.js";
|
|
4
4
|
import {
|
|
5
5
|
useComboboxData
|
|
6
6
|
} from "./chunk-AEFDAU3Y.js";
|
|
@@ -16,17 +16,17 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
RouteDrawer,
|
|
18
18
|
useRouteModal
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OV7R2AH5.js";
|
|
20
20
|
import {
|
|
21
21
|
Form
|
|
22
22
|
} from "./chunk-3QSRE5LS.js";
|
|
23
23
|
import {
|
|
24
24
|
useCampaign,
|
|
25
25
|
useUpdatePromotion
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-HAFZQK53.js";
|
|
27
27
|
import {
|
|
28
28
|
sdk
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-RIN4CBRB.js";
|
|
30
30
|
|
|
31
31
|
// src/pages/promotions/promotion-add-campaign/components/add-campaign-promotion-form/add-campaign-promotion-form.tsx
|
|
32
32
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
@@ -9,11 +9,11 @@ import {
|
|
|
9
9
|
} from "./chunk-UQITHKTH.js";
|
|
10
10
|
import {
|
|
11
11
|
useRefundReasonTableQuery
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-NNI6QKKZ.js";
|
|
13
13
|
import {
|
|
14
14
|
useDeleteRefundReasonLazy,
|
|
15
15
|
useRefundReasons
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3MDRW5MA.js";
|
|
17
17
|
|
|
18
18
|
// src/pages/refund-reasons/refund-reason-list/refund-reason-list.tsx
|
|
19
19
|
import { Children as Children3 } from "react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
shippingOptionsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-O4STPJR2.js";
|
|
4
4
|
import {
|
|
5
5
|
stockLocationsQueryKeys
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OFKUNYQJ.js";
|
|
7
7
|
import {
|
|
8
8
|
queryClient
|
|
9
9
|
} from "./chunk-RHKRREUU.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-ZA2KFUFR.js";
|
|
13
13
|
import {
|
|
14
14
|
sdk
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RIN4CBRB.js";
|
|
16
16
|
|
|
17
17
|
// src/hooks/api/fulfillment-sets.tsx
|
|
18
18
|
import {
|
|
@@ -7,13 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-SMQT3ZNO.js";
|
|
8
8
|
import {
|
|
9
9
|
i18n
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
FileUpload
|
|
13
|
-
} from "./chunk-TN4TIT7O.js";
|
|
14
|
-
import {
|
|
15
|
-
Form
|
|
16
|
-
} from "./chunk-3QSRE5LS.js";
|
|
10
|
+
} from "./chunk-ZMDE5HEV.js";
|
|
17
11
|
|
|
18
12
|
// src/pages/products/product-create/constants.ts
|
|
19
13
|
import { z } from "zod";
|
|
@@ -244,94 +238,11 @@ var PRODUCT_CREATE_FORM_DEFAULTS = {
|
|
|
244
238
|
width: ""
|
|
245
239
|
};
|
|
246
240
|
|
|
247
|
-
// src/pages/products/common/components/upload-media-form-item/upload-media-form-item.tsx
|
|
248
|
-
import { useCallback } from "react";
|
|
249
|
-
import { useTranslation } from "react-i18next";
|
|
250
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
251
|
-
var SUPPORTED_FORMATS = [
|
|
252
|
-
"image/jpeg",
|
|
253
|
-
"image/png",
|
|
254
|
-
"image/gif",
|
|
255
|
-
"image/webp",
|
|
256
|
-
"image/heic",
|
|
257
|
-
"image/svg+xml"
|
|
258
|
-
];
|
|
259
|
-
var SUPPORTED_FORMATS_FILE_EXTENSIONS = [
|
|
260
|
-
".jpeg",
|
|
261
|
-
".png",
|
|
262
|
-
".gif",
|
|
263
|
-
".webp",
|
|
264
|
-
".heic",
|
|
265
|
-
".svg"
|
|
266
|
-
];
|
|
267
|
-
var UploadMediaFormItem = ({
|
|
268
|
-
form,
|
|
269
|
-
append,
|
|
270
|
-
showHint = true
|
|
271
|
-
}) => {
|
|
272
|
-
const { t } = useTranslation();
|
|
273
|
-
const hasInvalidFiles = useCallback(
|
|
274
|
-
(fileList) => {
|
|
275
|
-
const invalidFile = fileList.find(
|
|
276
|
-
(f) => !SUPPORTED_FORMATS.includes(f.file.type)
|
|
277
|
-
);
|
|
278
|
-
if (invalidFile) {
|
|
279
|
-
form.setError("media", {
|
|
280
|
-
type: "invalid_file",
|
|
281
|
-
message: t("products.media.invalidFileType", {
|
|
282
|
-
name: invalidFile.file.name,
|
|
283
|
-
types: SUPPORTED_FORMATS_FILE_EXTENSIONS.join(", ")
|
|
284
|
-
})
|
|
285
|
-
});
|
|
286
|
-
return true;
|
|
287
|
-
}
|
|
288
|
-
return false;
|
|
289
|
-
},
|
|
290
|
-
[form, t]
|
|
291
|
-
);
|
|
292
|
-
const onUploaded = useCallback(
|
|
293
|
-
(files) => {
|
|
294
|
-
form.clearErrors("media");
|
|
295
|
-
if (hasInvalidFiles(files)) {
|
|
296
|
-
return;
|
|
297
|
-
}
|
|
298
|
-
files.forEach((f) => append({ ...f, isThumbnail: false }));
|
|
299
|
-
},
|
|
300
|
-
[form, append, hasInvalidFiles]
|
|
301
|
-
);
|
|
302
|
-
return /* @__PURE__ */ jsx(
|
|
303
|
-
Form.Field,
|
|
304
|
-
{
|
|
305
|
-
control: form.control,
|
|
306
|
-
name: "media",
|
|
307
|
-
render: () => {
|
|
308
|
-
return /* @__PURE__ */ jsx(Form.Item, { children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-y-2", children: [
|
|
309
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-y-1", children: [
|
|
310
|
-
/* @__PURE__ */ jsx(Form.Label, { optional: true, children: t("products.media.label") }),
|
|
311
|
-
showHint && /* @__PURE__ */ jsx(Form.Hint, { children: t("products.media.editHint") })
|
|
312
|
-
] }),
|
|
313
|
-
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsx(
|
|
314
|
-
FileUpload,
|
|
315
|
-
{
|
|
316
|
-
label: t("products.media.uploadImagesLabel"),
|
|
317
|
-
hint: t("products.media.uploadImagesHint"),
|
|
318
|
-
hasError: !!form.formState.errors.media,
|
|
319
|
-
formats: SUPPORTED_FORMATS,
|
|
320
|
-
onUploaded
|
|
321
|
-
}
|
|
322
|
-
) }),
|
|
323
|
-
/* @__PURE__ */ jsx(Form.ErrorMessage, {})
|
|
324
|
-
] }) });
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
);
|
|
328
|
-
};
|
|
329
|
-
|
|
330
241
|
export {
|
|
331
242
|
normalizeProductFormValues,
|
|
332
243
|
decorateVariantsWithDefaultValues,
|
|
244
|
+
MediaSchema,
|
|
333
245
|
ProductCreateSchema,
|
|
334
246
|
EditProductMediaSchema,
|
|
335
|
-
PRODUCT_CREATE_FORM_DEFAULTS
|
|
336
|
-
UploadMediaFormItem
|
|
247
|
+
PRODUCT_CREATE_FORM_DEFAULTS
|
|
337
248
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeleteProductTagAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TIMWFAPD.js";
|
|
4
4
|
import {
|
|
5
5
|
useProductTagTableColumns
|
|
6
6
|
} from "./chunk-5A4JNOK3.js";
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
} from "./chunk-BDGZ4EQO.js";
|
|
17
17
|
import {
|
|
18
18
|
useProductTagTableFilters
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-BE5QWX5N.js";
|
|
20
20
|
import {
|
|
21
21
|
useProductTagTableQuery
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-NNI6QKKZ.js";
|
|
23
23
|
import {
|
|
24
24
|
useProductTags
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-3MDRW5MA.js";
|
|
26
26
|
|
|
27
27
|
// src/pages/product-tags/product-tag-list/product-tag-list.tsx
|
|
28
28
|
import { Children as Children3 } from "react";
|
|
@@ -22,13 +22,13 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
stockLocationsQueryKeys,
|
|
24
24
|
useStockLocations
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-OFKUNYQJ.js";
|
|
26
26
|
import {
|
|
27
27
|
queryClient
|
|
28
28
|
} from "./chunk-RHKRREUU.js";
|
|
29
29
|
import {
|
|
30
30
|
sdk
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RIN4CBRB.js";
|
|
32
32
|
|
|
33
33
|
// src/pages/locations/location-list/location-list.tsx
|
|
34
34
|
import { Children } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pricePreferencesQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7SJC6BWZ.js";
|
|
4
4
|
import {
|
|
5
5
|
queryClient
|
|
6
6
|
} from "./chunk-RHKRREUU.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-ZA2KFUFR.js";
|
|
10
10
|
import {
|
|
11
11
|
sdk
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RIN4CBRB.js";
|
|
13
13
|
|
|
14
14
|
// src/hooks/api/regions.tsx
|
|
15
15
|
import {
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
useDeleteShippingProfile,
|
|
16
16
|
useShippingProfiles
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-DF3OGJAK.js";
|
|
18
18
|
|
|
19
19
|
// src/pages/shipping-profiles/shipping-profiles-list/shipping-profile-list.tsx
|
|
20
20
|
import { Children as Children3 } from "react";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-BDGZ4EQO.js";
|
|
17
17
|
import {
|
|
18
18
|
useCustomerTableFilters
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6TFS6ET5.js";
|
|
20
20
|
import {
|
|
21
21
|
useCustomerTableQuery
|
|
22
22
|
} from "./chunk-PVZBDWLK.js";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
useCustomers,
|
|
26
26
|
useDeleteCustomerGroup,
|
|
27
27
|
useRemoveCustomersFromGroup
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-UU2RQMXS.js";
|
|
29
29
|
|
|
30
30
|
// src/pages/customer-groups/customer-group-detail/customer-group-detail.tsx
|
|
31
31
|
import { Children } from "react";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useProductTags
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3MDRW5MA.js";
|
|
4
4
|
import {
|
|
5
5
|
useProductTypes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5PUHROK4.js";
|
|
7
7
|
import {
|
|
8
8
|
useSellers
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-M3YP3NX4.js";
|
|
10
10
|
import {
|
|
11
11
|
useSalesChannels
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-N4JU7GWK.js";
|
|
13
13
|
|
|
14
14
|
// src/hooks/table/filters/use-product-table-filters.tsx
|
|
15
15
|
import { useTranslation } from "react-i18next";
|
|
@@ -122,7 +122,7 @@ var useProductTableFilters = (exclude) => {
|
|
|
122
122
|
if (sellers) {
|
|
123
123
|
const sellerFilter = {
|
|
124
124
|
key: "seller_id",
|
|
125
|
-
label: t("
|
|
125
|
+
label: t("stores.domain"),
|
|
126
126
|
type: "select",
|
|
127
127
|
multiple: true,
|
|
128
128
|
searchable: true,
|