@medusajs/dashboard 2.11.4-snapshot-20251106122834 → 2.11.4-snapshot-20251107094001
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-UA46MO5M.mjs → add-campaign-promotions-UR3UM3MV.mjs} +6 -6
- package/dist/{adjust-inventory-VNZACU24.mjs → adjust-inventory-7EWRE2HD.mjs} +3 -3
- package/dist/{api-key-management-create-7SOAJ7RX.mjs → api-key-management-create-SPLD3JMO.mjs} +4 -4
- package/dist/{api-key-management-detail-XBQJGUSQ.mjs → api-key-management-detail-Z6V22XWR.mjs} +36 -36
- package/dist/{api-key-management-edit-T5NQY7HV.mjs → api-key-management-edit-2VPL7PHB.mjs} +4 -4
- package/dist/{api-key-management-list-I73SQVMG.mjs → api-key-management-list-TVLEYYQO.mjs} +9 -9
- package/dist/{api-key-management-sales-channels-VBMEK5GK.mjs → api-key-management-sales-channels-Y25FWD5A.mjs} +12 -12
- package/dist/app.js +2748 -2708
- package/dist/app.mjs +33 -33
- package/dist/{campaign-budget-edit-5SZKCLM4.mjs → campaign-budget-edit-V2VMINUO.mjs} +2 -2
- package/dist/{campaign-configuration-363OPXQG.mjs → campaign-configuration-PP4A5ADV.mjs} +2 -2
- package/dist/{campaign-create-6X5ZO67N.mjs → campaign-create-GD2D45NX.mjs} +6 -6
- package/dist/{campaign-detail-WWRFMA6O.mjs → campaign-detail-YDLSCIRO.mjs} +33 -33
- package/dist/{campaign-edit-J5RHCLQT.mjs → campaign-edit-O3LKMLXK.mjs} +2 -2
- package/dist/{campaign-list-4NYUHNDY.mjs → campaign-list-M2462W5W.mjs} +8 -8
- package/dist/{categories-metadata-G5LPX4SG.mjs → categories-metadata-2HM7G27P.mjs} +28 -28
- package/dist/{category-create-XW5WBK3S.mjs → category-create-BC2VUVKO.mjs} +3 -3
- package/dist/{category-detail-LC6MCNMY.mjs → category-detail-IZ3AWOCP.mjs} +34 -34
- package/dist/{category-edit-VV2MDMSN.mjs → category-edit-U5Y5KJ2Y.mjs} +3 -3
- package/dist/{category-list-UY2U7W2O.mjs → category-list-BJLRBYZC.mjs} +8 -8
- package/dist/{category-organize-ZLRKULPP.mjs → category-organize-4NXFDN2I.mjs} +3 -3
- package/dist/{category-products-GMTGQ6IF.mjs → category-products-55LDLRRQ.mjs} +33 -33
- package/dist/{chunk-6WFWT22M.mjs → chunk-2GWGNMAA.mjs} +1 -1
- package/dist/{chunk-4MTDKRXZ.mjs → chunk-2O43G3RH.mjs} +2 -2
- package/dist/{chunk-SDUSE7LQ.mjs → chunk-2VTICXJR.mjs} +1 -1
- package/dist/{chunk-76FLG6KU.mjs → chunk-2X25XWOW.mjs} +1 -1
- package/dist/{chunk-QN6VIPXV.mjs → chunk-2ZKVRTBW.mjs} +1 -1
- package/dist/{chunk-R6ZTODNH.mjs → chunk-32IQRUVY.mjs} +1 -1
- package/dist/{chunk-DU4HQXV4.mjs → chunk-3BE5PBQZ.mjs} +2 -2
- package/dist/{chunk-RYVAFASW.mjs → chunk-3DO2JGVG.mjs} +2 -2
- package/dist/{chunk-A2MVUAWS.mjs → chunk-4BGVSXZZ.mjs} +1 -1
- package/dist/{chunk-N32YWZXM.mjs → chunk-5IFK2ZTA.mjs} +2 -2
- package/dist/{chunk-FP7RSS47.mjs → chunk-6IXLTZ2H.mjs} +3 -3
- package/dist/{chunk-BP6BAFMP.mjs → chunk-6XWHQ6ON.mjs} +2 -2
- package/dist/{chunk-SW4R2ENN.mjs → chunk-7DWBXEH3.mjs} +3 -3
- package/dist/{chunk-KQ4HLAVZ.mjs → chunk-A2UMBW3V.mjs} +1 -1
- package/dist/{chunk-IGHSLFWW.mjs → chunk-AHQI2S2Z.mjs} +1 -1
- package/dist/{chunk-4LDS7KPF.mjs → chunk-ALKTJGWS.mjs} +3 -3
- package/dist/{chunk-WABC6CI6.mjs → chunk-B4GODIOW.mjs} +1 -1
- package/dist/{chunk-TYTNUPXB.mjs → chunk-BYOPZAGX.mjs} +13 -4
- package/dist/{chunk-6H425J3Q.mjs → chunk-C5LYZZZ5.mjs} +1 -1
- package/dist/{chunk-VHFJTEGC.mjs → chunk-CIY65KNH.mjs} +3 -3
- package/dist/{chunk-L7BOZCK7.mjs → chunk-CV65NY6Y.mjs} +1 -1
- package/dist/{chunk-PW3DAC2L.mjs → chunk-DEQUVHHE.mjs} +1 -1
- package/dist/{chunk-3JJBLFYN.mjs → chunk-DODQ3KJT.mjs} +22 -9
- package/dist/{chunk-3OGLDF4U.mjs → chunk-DZWH2RV6.mjs} +1 -1
- package/dist/{chunk-DDA64Z5Z.mjs → chunk-ELPHCFRW.mjs} +2 -2
- package/dist/{chunk-6HP5EYH2.mjs → chunk-ENV6YVOM.mjs} +3 -3
- package/dist/{chunk-QQWDFBIP.mjs → chunk-EQKJ5FSL.mjs} +1 -1
- package/dist/{chunk-NOFMACAV.mjs → chunk-F6PXCY3N.mjs} +1 -1
- package/dist/{chunk-A4C2VYJH.mjs → chunk-GA3UMQMZ.mjs} +1 -1
- package/dist/{chunk-2VAKIUZ7.mjs → chunk-GRNWRTT3.mjs} +2 -2
- package/dist/{chunk-3QAJKSCP.mjs → chunk-GRT22PE5.mjs} +2 -2
- package/dist/{chunk-CB3UMLV2.mjs → chunk-GU5PJRPM.mjs} +1 -1
- package/dist/{chunk-B37E7BMI.mjs → chunk-GXXQ33F7.mjs} +1 -1
- package/dist/{chunk-GNUOKBCP.mjs → chunk-I6E6CALJ.mjs} +1 -1
- package/dist/{chunk-P2BD6TKK.mjs → chunk-IKXQEHLS.mjs} +1 -1
- package/dist/{chunk-MKFZ25UC.mjs → chunk-IXZVR3HG.mjs} +2 -2
- package/dist/{chunk-ZZ2EWIT6.mjs → chunk-KOSCMAIC.mjs} +1 -1
- package/dist/{chunk-AG32AKC7.mjs → chunk-KX4P5L3R.mjs} +1 -1
- package/dist/{chunk-HLM7YH4J.mjs → chunk-KXRW6JRE.mjs} +2 -2
- package/dist/{chunk-XXJVGI3Z.mjs → chunk-L42C44TT.mjs} +228 -220
- package/dist/{chunk-VZZHEKTX.mjs → chunk-LEKWKUIS.mjs} +4 -4
- package/dist/{chunk-J2LAX7WU.mjs → chunk-LOAL44PP.mjs} +1 -1
- package/dist/{chunk-RXXSK34K.mjs → chunk-M4Q5Q4I3.mjs} +2 -2
- package/dist/{chunk-CBKPAUR2.mjs → chunk-MQALAB34.mjs} +2 -2
- package/dist/{chunk-GSNJ5F2J.mjs → chunk-N4N4KGET.mjs} +2 -2
- package/dist/{chunk-XH6DAE6X.mjs → chunk-NDXL7ZT5.mjs} +1 -1
- package/dist/{chunk-EZNWSOIF.mjs → chunk-NL376WAO.mjs} +1 -1
- package/dist/{chunk-D6AQBBX3.mjs → chunk-NQIC7ZFS.mjs} +2 -2
- package/dist/{chunk-XWVD3QIR.mjs → chunk-OGAZYXOV.mjs} +2 -2
- package/dist/{chunk-ZREN2JZD.mjs → chunk-PIR2H25N.mjs} +1 -1
- package/dist/{chunk-YNULA6PU.mjs → chunk-PVW6M64S.mjs} +1 -1
- package/dist/{chunk-5V246MC4.mjs → chunk-QL4XKIVL.mjs} +1 -1
- package/dist/{chunk-XIMLYWX6.mjs → chunk-QTCZFYFH.mjs} +1 -1
- package/dist/{chunk-7OPK4J53.mjs → chunk-QZ6PT4QV.mjs} +2 -2
- package/dist/{chunk-RTIIRX6C.mjs → chunk-R2G2B47Y.mjs} +1 -1
- package/dist/{chunk-HQWG5JDI.mjs → chunk-R2QF6AQX.mjs} +1 -1
- package/dist/{chunk-HO6ZO7NB.mjs → chunk-RLY2SL5E.mjs} +1 -1
- package/dist/{chunk-OMMCX3RN.mjs → chunk-RM6NY572.mjs} +1 -1
- package/dist/{chunk-BBLXCYME.mjs → chunk-ROKB75YP.mjs} +1 -1
- package/dist/{chunk-ECILTBUT.mjs → chunk-S22NYSST.mjs} +1 -1
- package/dist/{chunk-3TFDJIN2.mjs → chunk-S5GNHYAG.mjs} +7 -7
- package/dist/{chunk-FLOWNKXV.mjs → chunk-SNDSWB6B.mjs} +2 -2
- package/dist/{chunk-MHC2COUJ.mjs → chunk-SUYYSKCB.mjs} +18 -18
- package/dist/{chunk-F7E4I7W6.mjs → chunk-T57MRRCF.mjs} +1 -1
- package/dist/{chunk-KD7HQEW5.mjs → chunk-UJXHTZVV.mjs} +1 -1
- package/dist/{chunk-H5X2UU65.mjs → chunk-UKX2FFFV.mjs} +1 -1
- package/dist/{chunk-6MW2EBYM.mjs → chunk-ULQ3V4CC.mjs} +3 -3
- package/dist/{chunk-LGVBA3BT.mjs → chunk-V2LANK5S.mjs} +2 -2
- package/dist/{chunk-ZHYUYZLG.mjs → chunk-VEYZCWO5.mjs} +8 -8
- package/dist/{chunk-GT2YFTRW.mjs → chunk-WGIRB6HY.mjs} +2 -2
- package/dist/{chunk-3BWAYPTZ.mjs → chunk-WT5BXCPV.mjs} +3 -3
- package/dist/{chunk-B6FS55Z7.mjs → chunk-WTK7SR6S.mjs} +3 -3
- package/dist/{chunk-6TLQFNLU.mjs → chunk-X6DSNTTX.mjs} +2 -2
- package/dist/{chunk-HEOZRJG3.mjs → chunk-XYHXWLTJ.mjs} +3 -3
- package/dist/{chunk-ND5FGYV2.mjs → chunk-YA5PS6KW.mjs} +4 -4
- package/dist/{chunk-NJ6OPV6N.mjs → chunk-YGLRZQ4C.mjs} +1 -1
- package/dist/{chunk-43WSJSKM.mjs → chunk-YTN73JYH.mjs} +1 -1
- package/dist/{collection-add-products-DTT7ITJA.mjs → collection-add-products-7CFVTCLK.mjs} +33 -33
- package/dist/{collection-create-7OVRTBRL.mjs → collection-create-CUZFWEOB.mjs} +3 -3
- package/dist/{collection-detail-3V4FIYYV.mjs → collection-detail-3NMMB3CC.mjs} +33 -33
- package/dist/{collection-edit-YIUI5SK4.mjs → collection-edit-22I7EEJG.mjs} +3 -3
- package/dist/{collection-list-7AH5LZRS.mjs → collection-list-VNKB3725.mjs} +35 -35
- package/dist/{collection-metadata-RXRB4RCN.mjs → collection-metadata-ZUFYY4OU.mjs} +28 -28
- package/dist/{customer-create-2RWT77H5.mjs → customer-create-WCBUYT44.mjs} +2 -2
- package/dist/{customer-create-address-X5EP4EQT.mjs → customer-create-address-VWVIJDMK.mjs} +2 -2
- package/dist/{customer-detail-ZDTUY3KL.mjs → customer-detail-PAYUFGP6.mjs} +35 -35
- package/dist/{customer-edit-PXDK272A.mjs → customer-edit-FMK2AWZ5.mjs} +2 -2
- package/dist/{customer-group-add-customers-FOKA5PYP.mjs → customer-group-add-customers-MW2XH2F6.mjs} +9 -9
- package/dist/{customer-group-create-GWEHHTQD.mjs → customer-group-create-Y5O2CJOI.mjs} +2 -2
- package/dist/{customer-group-detail-RC7IO4UD.mjs → customer-group-detail-LJ6YVB2C.mjs} +35 -35
- package/dist/{customer-group-edit-F3XRLAF6.mjs → customer-group-edit-SMVW7PHM.mjs} +2 -2
- package/dist/{customer-group-list-G46JQRRF.mjs → customer-group-list-M2OOZLIZ.mjs} +33 -33
- package/dist/{customer-group-metadata-M63BCTD5.mjs → customer-group-metadata-XJIMV7QU.mjs} +2 -2
- package/dist/{customer-list-7BFRVNU3.mjs → customer-list-MZ7ZRERV.mjs} +9 -9
- package/dist/{customer-metadata-UZ75QGVE.mjs → customer-metadata-E32DPXXE.mjs} +2 -2
- package/dist/{customers-add-customer-group-2BJFPC3A.mjs → customers-add-customer-group-IAIRRQ2I.mjs} +32 -32
- package/dist/{edit-inventory-item-KNWCRG7T.mjs → edit-inventory-item-5RPZHCM7.mjs} +2 -2
- package/dist/{edit-inventory-item-attributes-XLTAPWRB.mjs → edit-inventory-item-attributes-R73ZTBYG.mjs} +2 -2
- package/dist/{edit-reservation-JR62KO2L.mjs → edit-reservation-WMLAFMYU.mjs} +4 -4
- package/dist/{edit-rules-HB4A644O.mjs → edit-rules-KV43O773.mjs} +29 -29
- package/dist/en.json +1 -0
- package/dist/{inventory-create-TM7DRQZG.mjs → inventory-create-NW5WSPBV.mjs} +28 -28
- package/dist/{inventory-detail-PRDW2T5W.mjs → inventory-detail-ZJ5U5FSA.mjs} +34 -34
- package/dist/{inventory-list-REOKWPTA.mjs → inventory-list-HHTQRKQW.mjs} +7 -7
- package/dist/{inventory-metadata-IWGJVSHB.mjs → inventory-metadata-7XR4ON7G.mjs} +28 -28
- package/dist/{inventory-stock-RZAZU4KX.mjs → inventory-stock-VTIDGTOY.mjs} +28 -28
- package/dist/{invite-6JLLYWXZ.mjs → invite-U4I4IUOM.mjs} +3 -3
- package/dist/{location-create-B7JUGANW.mjs → location-create-GZCUNYDT.mjs} +2 -2
- package/dist/{location-detail-35NEWZKT.mjs → location-detail-WZM4EXFM.mjs} +28 -28
- package/dist/{location-edit-XW2XJCZH.mjs → location-edit-VNEMLWGR.mjs} +2 -2
- package/dist/{location-fulfillment-providers-YWEPJ57C.mjs → location-fulfillment-providers-DNIVH7XD.mjs} +35 -35
- package/dist/{location-list-VZOXJEI5.mjs → location-list-W6EHBBE5.mjs} +5 -5
- package/dist/{location-sales-channels-DUPACZLT.mjs → location-sales-channels-3JAXXM3Q.mjs} +12 -12
- package/dist/{location-service-zone-create-JQPQSSVK.mjs → location-service-zone-create-D2HXXX63.mjs} +9 -9
- package/dist/{location-service-zone-edit-PJUPJDEG.mjs → location-service-zone-edit-LCBBZ2OA.mjs} +4 -4
- package/dist/{location-service-zone-manage-areas-5AU66GAH.mjs → location-service-zone-manage-areas-LVVT6XBE.mjs} +9 -9
- package/dist/{location-service-zone-shipping-option-create-HS74DJTQ.mjs → location-service-zone-shipping-option-create-F3EQW67U.mjs} +28 -28
- package/dist/{location-service-zone-shipping-option-edit-JWT5HH5D.mjs → location-service-zone-shipping-option-edit-27MYKN7R.mjs} +3 -3
- package/dist/{location-service-zone-shipping-option-pricing-KLOFY44Q.mjs → location-service-zone-shipping-option-pricing-GJIO4RRM.mjs} +6 -6
- package/dist/{login-YVI67KBS.mjs → login-VZALGB6R.mjs} +28 -28
- package/dist/{manage-locations-IWTWVY7H.mjs → manage-locations-WMH3RQMR.mjs} +3 -3
- package/dist/{order-allocate-items-CIJK55LY.mjs → order-allocate-items-MZ7Y4FU4.mjs} +5 -5
- package/dist/{order-create-claim-4JQMTZGT.mjs → order-create-claim-2FPE6XP2.mjs} +35 -35
- package/dist/{order-create-edit-ZC3FZWQZ.mjs → order-create-edit-PVGKIS6G.mjs} +33 -33
- package/dist/{order-create-exchange-RVAH6H2E.mjs → order-create-exchange-G4JY4FSX.mjs} +35 -35
- package/dist/{order-create-fulfillment-F5NOZQ2M.mjs → order-create-fulfillment-VTICR6OE.mjs} +28 -28
- package/dist/{order-create-refund-G4444W43.mjs → order-create-refund-RWDVIXPV.mjs} +28 -28
- package/dist/{order-create-return-OELA6QXR.mjs → order-create-return-VEUCH5BA.mjs} +12 -12
- package/dist/{order-create-shipment-BO2TG4ND.mjs → order-create-shipment-2KNYEHSU.mjs} +28 -28
- package/dist/{order-detail-UOE5NAML.mjs → order-detail-2EFNG3UB.mjs} +35 -35
- package/dist/{order-edit-billing-address-W7T3Z3DG.mjs → order-edit-billing-address-T6BIIRAX.mjs} +28 -28
- package/dist/{order-edit-email-WK7HHXI3.mjs → order-edit-email-SLUOGWRO.mjs} +28 -28
- package/dist/{order-edit-shipping-address-WBEJPXPN.mjs → order-edit-shipping-address-YUES5K5Q.mjs} +28 -28
- package/dist/{order-list-O7N5B5NA.mjs → order-list-ITNDJIV2.mjs} +52 -45
- package/dist/{order-metadata-MXQFEWGS.mjs → order-metadata-HS33MC6S.mjs} +28 -28
- package/dist/{order-receive-return-Q6OY6PUN.mjs → order-receive-return-E6BGSZVL.mjs} +29 -29
- package/dist/{order-request-transfer-YN3R6RX2.mjs → order-request-transfer-7IIDQ37I.mjs} +28 -28
- package/dist/{price-list-configuration-3TSS2JEF.mjs → price-list-configuration-WQEQFG6M.mjs} +9 -9
- package/dist/{price-list-create-I7QC5MFY.mjs → price-list-create-36BOXETM.mjs} +35 -35
- package/dist/{price-list-detail-H6A2TCGU.mjs → price-list-detail-6CJ63F65.mjs} +35 -35
- package/dist/{price-list-edit-OWG6LI2C.mjs → price-list-edit-GXDLVOU4.mjs} +4 -4
- package/dist/{price-list-list-7CIK7S7Z.mjs → price-list-list-2HDOJIC6.mjs} +9 -9
- package/dist/{price-list-prices-add-4Q34KDIJ.mjs → price-list-prices-add-AVPP57TL.mjs} +34 -34
- package/dist/{price-list-prices-edit-I5LZBQID.mjs → price-list-prices-edit-J7HCNDTO.mjs} +8 -8
- package/dist/{product-attributes-ZSMCAMC3.mjs → product-attributes-2MOCN4AC.mjs} +34 -34
- package/dist/{product-create-O3G34UTE.mjs → product-create-4RYWBBFD.mjs} +41 -41
- package/dist/{product-create-option-5EKDKHMF.mjs → product-create-option-D2636LJL.mjs} +2 -2
- package/dist/{product-create-variant-YWJQ4PYL.mjs → product-create-variant-ZWY57BX7.mjs} +28 -28
- package/dist/{product-detail-2BPVPSPW.mjs → product-detail-VUAVAV4Y.mjs} +37 -37
- package/dist/{product-edit-C32USOEK.mjs → product-edit-QRSQ7N2D.mjs} +34 -34
- package/dist/{product-edit-option-HLNX5G7Q.mjs → product-edit-option-DYAFZIT2.mjs} +2 -2
- package/dist/{product-export-EAMS4SKO.mjs → product-export-5WBXPUYP.mjs} +34 -34
- package/dist/{product-image-variants-edit-JTL3BHGL.mjs → product-image-variants-edit-T3STDZJG.mjs} +32 -32
- package/dist/{product-import-ACXCPXD7.mjs → product-import-YC7GJ4BW.mjs} +31 -30
- package/dist/{product-list-GE4VT43B.mjs → product-list-BX2QNNQK.mjs} +38 -38
- package/dist/{product-media-YWNIWBHP.mjs → product-media-UQVTSGI6.mjs} +4 -4
- package/dist/{product-metadata-WVIBMIAW.mjs → product-metadata-LMDEXR3V.mjs} +28 -28
- package/dist/{product-organization-7L23ZMM2.mjs → product-organization-FCLESZIL.mjs} +35 -35
- package/dist/{product-prices-6YVAM4CA.mjs → product-prices-MCZYVPQW.mjs} +5 -5
- package/dist/{product-sales-channels-LRMKWU4C.mjs → product-sales-channels-LRMOPHMH.mjs} +11 -11
- package/dist/{product-shipping-profile-ESJQNEHO.mjs → product-shipping-profile-EKVSMZ6F.mjs} +34 -34
- package/dist/{product-stock-IIV6XKRP.mjs → product-stock-O2BH5R45.mjs} +28 -28
- package/dist/{product-tag-create-QUZWUEQC.mjs → product-tag-create-GOJTE5XA.mjs} +28 -28
- package/dist/{product-tag-detail-BOMQSLM7.mjs → product-tag-detail-LDKRRJWH.mjs} +42 -42
- package/dist/{product-tag-edit-2LY6INKU.mjs → product-tag-edit-IT4GHLSO.mjs} +28 -28
- package/dist/{product-tag-list-DBBA2E7E.mjs → product-tag-list-3ERYK5WE.mjs} +42 -42
- package/dist/{product-tag-metadata-32BC53NM.mjs → product-tag-metadata-QV2BOGP2.mjs} +28 -28
- package/dist/{product-type-create-HA2H5JRC.mjs → product-type-create-AHVZETDR.mjs} +2 -2
- package/dist/{product-type-detail-AGLZX4ZT.mjs → product-type-detail-UJ6QTCGQ.mjs} +34 -34
- package/dist/{product-type-edit-FQZZ44YX.mjs → product-type-edit-2RGFBZPK.mjs} +2 -2
- package/dist/{product-type-list-WCAZPGMV.mjs → product-type-list-73DQPW4H.mjs} +9 -9
- package/dist/{product-type-metadata-KW2QKWRE.mjs → product-type-metadata-5TDBJGNQ.mjs} +28 -28
- package/dist/{product-variant-detail-J66WSXOT.mjs → product-variant-detail-JMPD7LEZ.mjs} +32 -32
- package/dist/{product-variant-edit-MJEWZRRV.mjs → product-variant-edit-DW27AYBX.mjs} +28 -28
- package/dist/{product-variant-manage-inventory-items-4ZW3N6EF.mjs → product-variant-manage-inventory-items-T5OB3YX3.mjs} +2 -2
- package/dist/{product-variant-media-CTVHXXX5.mjs → product-variant-media-PHRCKUDK.mjs} +2 -2
- package/dist/{product-variant-metadata-JNRBBYYG.mjs → product-variant-metadata-4KJE6B2R.mjs} +28 -28
- package/dist/{profile-detail-HEOWUNLV.mjs → profile-detail-MEZKVQAB.mjs} +3 -3
- package/dist/{profile-edit-WSQGWMHA.mjs → profile-edit-XAHDV2DG.mjs} +3 -3
- package/dist/{promotion-add-campaign-I55XNZQ6.mjs → promotion-add-campaign-XJB2ZKZ3.mjs} +6 -6
- package/dist/{promotion-create-FECIHPBJ.mjs → promotion-create-F27AOTVZ.mjs} +32 -32
- package/dist/{promotion-detail-GFJYZ2DN.mjs → promotion-detail-L3FNHH6O.mjs} +31 -31
- package/dist/{promotion-edit-details-QMUHWNFI.mjs → promotion-edit-details-JMZ77QJ4.mjs} +2 -2
- package/dist/{promotion-list-SPCZRAEB.mjs → promotion-list-R5JKSO4I.mjs} +6 -6
- package/dist/{refund-reason-create-3QDXRZW2.mjs → refund-reason-create-5ATQ2IPU.mjs} +28 -28
- package/dist/{refund-reason-edit-GP4QIAPV.mjs → refund-reason-edit-F7AMOTG3.mjs} +28 -28
- package/dist/{refund-reason-list-I3G4VWHS.mjs → refund-reason-list-NS4SVHGZ.mjs} +38 -38
- package/dist/{region-add-countries-RXLJ3UYM.mjs → region-add-countries-G5BOUL2E.mjs} +7 -7
- package/dist/{region-create-MJ5ATAOA.mjs → region-create-MLPUWT5W.mjs} +8 -8
- package/dist/{region-detail-P3AKQRZR.mjs → region-detail-RICQRZUA.mjs} +7 -7
- package/dist/{region-edit-PP2YZS6D.mjs → region-edit-QCN7SMR5.mjs} +4 -4
- package/dist/{region-list-LK57K7DN.mjs → region-list-CJYT43SH.mjs} +7 -7
- package/dist/{region-metadata-2SUKS6MF.mjs → region-metadata-CRAHVHOC.mjs} +28 -28
- package/dist/{reservation-create-JBHLL4U6.mjs → reservation-create-YZMZ6HSS.mjs} +4 -4
- package/dist/{reservation-detail-Q36HIT3K.mjs → reservation-detail-6MCBQZAE.mjs} +28 -28
- package/dist/{reservation-list-VGKXDQW4.mjs → reservation-list-XP4YX4TR.mjs} +9 -9
- package/dist/{reservation-metadata-TCU4LNBY.mjs → reservation-metadata-IQNJPNAX.mjs} +28 -28
- package/dist/{reset-password-PMX6YLXP.mjs → reset-password-CUEG23GU.mjs} +2 -2
- package/dist/{return-reason-create-E5PXPJD4.mjs → return-reason-create-45IARQ5L.mjs} +2 -2
- package/dist/{return-reason-edit-ARXCGC4I.mjs → return-reason-edit-5FIOEJ5Y.mjs} +2 -2
- package/dist/{return-reason-list-LFRL4JWD.mjs → return-reason-list-7MBVORVO.mjs} +12 -12
- package/dist/{sales-channel-add-products-UCCSTQGB.mjs → sales-channel-add-products-GQQ7Z3PT.mjs} +33 -33
- package/dist/{sales-channel-create-M3UD4ZRC.mjs → sales-channel-create-7ISLGNGC.mjs} +3 -3
- package/dist/{sales-channel-detail-B5MZ7VQB.mjs → sales-channel-detail-P2HXFYB4.mjs} +33 -33
- package/dist/{sales-channel-edit-CF3V56EO.mjs → sales-channel-edit-2PEHGAWF.mjs} +3 -3
- package/dist/{sales-channel-list-VEQGGQ52.mjs → sales-channel-list-4PJLCQ77.mjs} +35 -35
- package/dist/{sales-channel-metadata-QDEIKBDZ.mjs → sales-channel-metadata-ZOCPAIGM.mjs} +28 -28
- package/dist/{shipping-option-type-create-7K5PHNTR.mjs → shipping-option-type-create-YR2QV2OG.mjs} +28 -28
- package/dist/{shipping-option-type-detail-EKLOJ27R.mjs → shipping-option-type-detail-TYHGCV2X.mjs} +29 -29
- package/dist/{shipping-option-type-edit-SUVCI7M6.mjs → shipping-option-type-edit-6KL3MHVT.mjs} +28 -28
- package/dist/{shipping-option-type-list-FULQPRP7.mjs → shipping-option-type-list-AWJRR7U5.mjs} +34 -34
- package/dist/{shipping-profile-create-W6X6LXVM.mjs → shipping-profile-create-372EMPUI.mjs} +2 -2
- package/dist/{shipping-profile-detail-MNNTDXB3.mjs → shipping-profile-detail-MRXUOUXK.mjs} +2 -2
- package/dist/{shipping-profile-metadata-BZAFDTKR.mjs → shipping-profile-metadata-A33XKBQN.mjs} +28 -28
- package/dist/{shipping-profiles-list-CHDEMPD5.mjs → shipping-profiles-list-7SVGIP72.mjs} +6 -6
- package/dist/{store-add-currencies-AD3OAHWB.mjs → store-add-currencies-V3IBSI45.mjs} +8 -8
- package/dist/{store-detail-6CDPNRPU.mjs → store-detail-3WFTRPJW.mjs} +32 -32
- package/dist/{store-edit-XFKVNMKQ.mjs → store-edit-FNKVB3UA.mjs} +3 -3
- package/dist/{store-metadata-H6WLUSLR.mjs → store-metadata-LMRFCZ3J.mjs} +28 -28
- package/dist/{tax-region-create-7LXPXXBU.mjs → tax-region-create-5Y6EA7XE.mjs} +28 -28
- package/dist/{tax-region-detail-4F6ET3YB.mjs → tax-region-detail-HXVZA2PP.mjs} +47 -47
- package/dist/{tax-region-edit-OXOISBP2.mjs → tax-region-edit-IKEWHRUK.mjs} +28 -28
- package/dist/{tax-region-list-SVLMREE6.mjs → tax-region-list-HQMSVGDD.mjs} +5 -5
- package/dist/{tax-region-province-create-AMWCXBJJ.mjs → tax-region-province-create-6GZCPPGW.mjs} +2 -2
- package/dist/{tax-region-province-detail-SOTJNENP.mjs → tax-region-province-detail-VT3BUKLS.mjs} +45 -45
- package/dist/{tax-region-tax-override-create-4CPDRZ5H.mjs → tax-region-tax-override-create-RZUVOGNR.mjs} +42 -42
- package/dist/{tax-region-tax-override-edit-CZPXLJAC.mjs → tax-region-tax-override-edit-OEQOEE6I.mjs} +43 -43
- package/dist/{tax-region-tax-rate-create-F73NOM47.mjs → tax-region-tax-rate-create-TJLSRCEC.mjs} +3 -3
- package/dist/{tax-region-tax-rate-edit-VEQJ45KI.mjs → tax-region-tax-rate-edit-DEKCUURK.mjs} +3 -3
- package/dist/{user-detail-3FEQ5DTG.mjs → user-detail-DFZPKHG2.mjs} +3 -3
- package/dist/{user-edit-MWIRC7L3.mjs → user-edit-NFRTYOKO.mjs} +2 -2
- package/dist/{user-invite-VBOCEAZL.mjs → user-invite-QK3ZCSGG.mjs} +6 -6
- package/dist/{user-list-FQG5MKPV.mjs → user-list-RH43CTBN.mjs} +9 -9
- package/dist/{user-metadata-VWWK22Q5.mjs → user-metadata-BQKW4WAU.mjs} +28 -28
- package/dist/{workflow-execution-detail-TXLX5WC3.mjs → workflow-execution-detail-D5QUZFTV.mjs} +28 -28
- package/dist/{workflow-execution-list-RDA4VEJJ.mjs → workflow-execution-list-6UTBTVX4.mjs} +6 -6
- package/package.json +9 -9
- package/src/components/common/file-upload/file-upload.tsx +23 -6
- package/src/components/layout/main-layout/main-layout.tsx +1 -0
- package/src/components/layout/nav-item/nav-item.tsx +14 -4
- package/src/dashboard-app/dashboard-app.tsx +1 -0
- package/src/dashboard-app/types.ts +1 -0
- package/src/i18n/languages.ts +18 -18
- package/src/i18n/translations/$schema.json +3 -0
- package/src/i18n/translations/en.json +1 -0
- package/src/lib/client/client.ts +1 -1
- package/src/routes/orders/order-list/components/order-list-table/use-order-table-filters.tsx +40 -30
- package/src/routes/products/common/components/upload-media-form-item/upload-media-form-item.tsx +26 -8
- package/src/routes/products/product-import/components/upload-import.tsx +1 -0
|
@@ -9,7 +9,7 @@ import "./chunk-LQTHYS2Z.mjs";
|
|
|
9
9
|
import {
|
|
10
10
|
_DataTable,
|
|
11
11
|
useDataTable
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-YTN73JYH.mjs";
|
|
13
13
|
import "./chunk-HQKGZADC.mjs";
|
|
14
14
|
import "./chunk-EMIHDNB7.mjs";
|
|
15
15
|
import {
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
} from "./chunk-PCFUZKDS.mjs";
|
|
18
18
|
import {
|
|
19
19
|
useProductTableFilters
|
|
20
|
-
} from "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-6IXLTZ2H.mjs";
|
|
21
|
+
import "./chunk-GU5PJRPM.mjs";
|
|
22
22
|
import "./chunk-C76H5USB.mjs";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-DZWH2RV6.mjs";
|
|
24
24
|
import "./chunk-IUCDCPJU.mjs";
|
|
25
25
|
import {
|
|
26
26
|
KeyboundForm
|
|
@@ -32,43 +32,43 @@ import {
|
|
|
32
32
|
import "./chunk-MNXC6Q4F.mjs";
|
|
33
33
|
import "./chunk-LPEUYMRK.mjs";
|
|
34
34
|
import "./chunk-S4DMV3ZT.mjs";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-SUYYSKCB.mjs";
|
|
36
36
|
import "./chunk-OBQI23QM.mjs";
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-KXRW6JRE.mjs";
|
|
38
|
+
import "./chunk-KOSCMAIC.mjs";
|
|
39
|
+
import "./chunk-X6DSNTTX.mjs";
|
|
40
|
+
import "./chunk-I6E6CALJ.mjs";
|
|
41
|
+
import "./chunk-B4GODIOW.mjs";
|
|
42
|
+
import "./chunk-N4N4KGET.mjs";
|
|
43
|
+
import "./chunk-QTCZFYFH.mjs";
|
|
44
|
+
import "./chunk-ENV6YVOM.mjs";
|
|
45
|
+
import "./chunk-PIR2H25N.mjs";
|
|
46
|
+
import "./chunk-C5LYZZZ5.mjs";
|
|
47
|
+
import "./chunk-RLY2SL5E.mjs";
|
|
48
|
+
import "./chunk-2ZKVRTBW.mjs";
|
|
49
|
+
import "./chunk-XYHXWLTJ.mjs";
|
|
50
|
+
import "./chunk-F6PXCY3N.mjs";
|
|
51
|
+
import "./chunk-IXZVR3HG.mjs";
|
|
52
|
+
import "./chunk-R2G2B47Y.mjs";
|
|
53
|
+
import "./chunk-GRT22PE5.mjs";
|
|
54
|
+
import "./chunk-32IQRUVY.mjs";
|
|
55
|
+
import "./chunk-WTK7SR6S.mjs";
|
|
56
|
+
import "./chunk-6XWHQ6ON.mjs";
|
|
57
57
|
import {
|
|
58
58
|
useProductCategory,
|
|
59
59
|
useUpdateProductCategoryProducts
|
|
60
|
-
} from "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
60
|
+
} from "./chunk-MQALAB34.mjs";
|
|
61
|
+
import "./chunk-OGAZYXOV.mjs";
|
|
62
|
+
import "./chunk-KX4P5L3R.mjs";
|
|
63
|
+
import "./chunk-V2LANK5S.mjs";
|
|
64
|
+
import "./chunk-QZ6PT4QV.mjs";
|
|
65
|
+
import "./chunk-QL4XKIVL.mjs";
|
|
66
66
|
import {
|
|
67
67
|
useProducts
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-4BGVSXZZ.mjs";
|
|
69
69
|
import "./chunk-FXYH54JP.mjs";
|
|
70
70
|
import "./chunk-774WSTCC.mjs";
|
|
71
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-DEQUVHHE.mjs";
|
|
72
72
|
import "./chunk-QZ7TP4HQ.mjs";
|
|
73
73
|
|
|
74
74
|
// src/routes/categories/category-products/category-products.tsx
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useSalesChannels
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OGAZYXOV.mjs";
|
|
4
4
|
import {
|
|
5
5
|
useRegions
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QZ6PT4QV.mjs";
|
|
7
7
|
|
|
8
8
|
// src/hooks/table/filters/use-order-table-filters.tsx
|
|
9
9
|
import { useTranslation } from "react-i18next";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
_DataTable,
|
|
6
6
|
useDataTable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-YTN73JYH.mjs";
|
|
8
8
|
import {
|
|
9
9
|
useCustomerGroupTableQuery
|
|
10
10
|
} from "./chunk-MOSRJHJ3.mjs";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-AERWK3TJ.mjs";
|
|
18
18
|
import {
|
|
19
19
|
useCustomerGroups
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-F6PXCY3N.mjs";
|
|
21
21
|
|
|
22
22
|
// src/routes/price-lists/common/components/price-list-customer-group-rule-form/price-list-customer-group-rule-form.tsx
|
|
23
23
|
import { Button, Checkbox } from "@medusajs/ui";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ordersQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WTK7SR6S.mjs";
|
|
4
4
|
import {
|
|
5
5
|
queryClient
|
|
6
6
|
} from "./chunk-FXYH54JP.mjs";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-774WSTCC.mjs";
|
|
10
10
|
import {
|
|
11
11
|
sdk
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DEQUVHHE.mjs";
|
|
13
13
|
|
|
14
14
|
// src/hooks/api/returns.tsx
|
|
15
15
|
import {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDataTableDateColumns
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2X25XWOW.mjs";
|
|
4
4
|
import {
|
|
5
5
|
useDataTableDateFilters
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2GWGNMAA.mjs";
|
|
7
7
|
import {
|
|
8
8
|
useQueryParams
|
|
9
9
|
} from "./chunk-C76H5USB.mjs";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useProductTags
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KXRW6JRE.mjs";
|
|
4
4
|
import {
|
|
5
5
|
useProductTypes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-B4GODIOW.mjs";
|
|
7
7
|
import {
|
|
8
8
|
useSalesChannels
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OGAZYXOV.mjs";
|
|
10
10
|
|
|
11
11
|
// src/hooks/table/filters/use-product-table-filters.tsx
|
|
12
12
|
import { useTranslation } from "react-i18next";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
inventoryItemLevelsQueryKeys,
|
|
3
3
|
inventoryItemsQueryKeys
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4BGVSXZZ.mjs";
|
|
5
5
|
import {
|
|
6
6
|
queryClient
|
|
7
7
|
} from "./chunk-FXYH54JP.mjs";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-774WSTCC.mjs";
|
|
11
11
|
import {
|
|
12
12
|
sdk
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-DEQUVHHE.mjs";
|
|
14
14
|
|
|
15
15
|
// src/hooks/api/reservations.tsx
|
|
16
16
|
import {
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
usePromotionRuleAttributes,
|
|
15
15
|
usePromotionRules
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-R2G2B47Y.mjs";
|
|
17
17
|
import {
|
|
18
18
|
useStore
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-V2LANK5S.mjs";
|
|
20
20
|
import {
|
|
21
21
|
sdk
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-DEQUVHHE.mjs";
|
|
23
23
|
|
|
24
24
|
// src/routes/promotions/common/edit-rules/components/rules-form-field/rules-form-field.tsx
|
|
25
25
|
import { XMarkMini } from "@medusajs/icons";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
returnsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3DO2JGVG.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ordersQueryKeys
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WTK7SR6S.mjs";
|
|
7
7
|
import {
|
|
8
8
|
queryClient
|
|
9
9
|
} from "./chunk-FXYH54JP.mjs";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-774WSTCC.mjs";
|
|
13
13
|
import {
|
|
14
14
|
sdk
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DEQUVHHE.mjs";
|
|
16
16
|
|
|
17
17
|
// src/hooks/api/claims.tsx
|
|
18
18
|
import {
|
|
@@ -3,12 +3,14 @@ import { ArrowDownTray } from "@medusajs/icons";
|
|
|
3
3
|
import { Text, clx } from "@medusajs/ui";
|
|
4
4
|
import { useRef, useState } from "react";
|
|
5
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
var DEFAULT_MAX_FILE_SIZE = 1024 * 1024;
|
|
6
7
|
var FileUpload = ({
|
|
7
8
|
label,
|
|
8
9
|
hint,
|
|
9
10
|
multiple = true,
|
|
10
11
|
hasError,
|
|
11
12
|
formats,
|
|
13
|
+
maxFileSize = DEFAULT_MAX_FILE_SIZE,
|
|
12
14
|
onUploaded
|
|
13
15
|
}) => {
|
|
14
16
|
const [isDragOver, setIsDragOver] = useState(false);
|
|
@@ -39,16 +41,23 @@ var FileUpload = ({
|
|
|
39
41
|
return;
|
|
40
42
|
}
|
|
41
43
|
const fileList = Array.from(files);
|
|
42
|
-
const
|
|
44
|
+
const validFiles = [];
|
|
45
|
+
const rejectedFiles = [];
|
|
46
|
+
const normalizedMaxFileSize = Math.min(maxFileSize, Infinity);
|
|
47
|
+
fileList.forEach((file) => {
|
|
48
|
+
if (file.size > normalizedMaxFileSize) {
|
|
49
|
+
rejectedFiles.push({ file, reason: "size" });
|
|
50
|
+
return;
|
|
51
|
+
}
|
|
43
52
|
const id = Math.random().toString(36).substring(7);
|
|
44
53
|
const previewUrl = URL.createObjectURL(file);
|
|
45
|
-
|
|
54
|
+
validFiles.push({
|
|
46
55
|
id,
|
|
47
56
|
url: previewUrl,
|
|
48
57
|
file
|
|
49
|
-
};
|
|
58
|
+
});
|
|
50
59
|
});
|
|
51
|
-
onUploaded(
|
|
60
|
+
onUploaded(validFiles, rejectedFiles);
|
|
52
61
|
};
|
|
53
62
|
const handleDrop = (event) => {
|
|
54
63
|
event.preventDefault();
|
|
@@ -11,13 +11,13 @@ import {
|
|
|
11
11
|
} from "./chunk-MNXC6Q4F.mjs";
|
|
12
12
|
import {
|
|
13
13
|
useStore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-V2LANK5S.mjs";
|
|
15
15
|
import {
|
|
16
16
|
useRegions
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-QZ6PT4QV.mjs";
|
|
18
18
|
import {
|
|
19
19
|
usePricePreferences
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-QL4XKIVL.mjs";
|
|
21
21
|
|
|
22
22
|
// src/routes/price-lists/common/hooks/use-price-list-currency-data.tsx
|
|
23
23
|
var usePriceListCurrencyData = () => {
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-ZQRKUG6J.mjs";
|
|
5
5
|
import {
|
|
6
6
|
FileUpload
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BYOPZAGX.mjs";
|
|
8
8
|
import {
|
|
9
9
|
castNumber
|
|
10
10
|
} from "./chunk-6GU6IDUA.mjs";
|
|
@@ -266,10 +266,11 @@ var UploadMediaFormItem = ({
|
|
|
266
266
|
}) => {
|
|
267
267
|
const { t } = useTranslation();
|
|
268
268
|
const hasInvalidFiles = useCallback(
|
|
269
|
-
(fileList) => {
|
|
269
|
+
(fileList = [], rejectedFiles = []) => {
|
|
270
270
|
const invalidFile = fileList.find(
|
|
271
|
-
(f) => !SUPPORTED_FORMATS.includes(f
|
|
271
|
+
(f) => !SUPPORTED_FORMATS.includes(f?.file?.type)
|
|
272
272
|
);
|
|
273
|
+
let hasInvalidFile = false;
|
|
273
274
|
if (invalidFile) {
|
|
274
275
|
form.setError("media", {
|
|
275
276
|
type: "invalid_file",
|
|
@@ -278,19 +279,31 @@ var UploadMediaFormItem = ({
|
|
|
278
279
|
types: SUPPORTED_FORMATS_FILE_EXTENSIONS.join(", ")
|
|
279
280
|
})
|
|
280
281
|
});
|
|
281
|
-
|
|
282
|
+
hasInvalidFile = true;
|
|
282
283
|
}
|
|
283
|
-
|
|
284
|
+
const fileSizeRejections = rejectedFiles.filter((f) => f?.reason === "size");
|
|
285
|
+
if (fileSizeRejections.length) {
|
|
286
|
+
const fileNames = "\n" + fileSizeRejections.slice(0, 5).map((f) => f.file.name).join("\n");
|
|
287
|
+
form.setError("media", {
|
|
288
|
+
type: "file_too_large",
|
|
289
|
+
message: t("products.media.fileTooLarge", {
|
|
290
|
+
name: fileNames,
|
|
291
|
+
size: "1MB"
|
|
292
|
+
})
|
|
293
|
+
});
|
|
294
|
+
hasInvalidFile = true;
|
|
295
|
+
}
|
|
296
|
+
return hasInvalidFile;
|
|
284
297
|
},
|
|
285
298
|
[form, t]
|
|
286
299
|
);
|
|
287
300
|
const onUploaded = useCallback(
|
|
288
|
-
(files) => {
|
|
301
|
+
(files = [], rejectedFiles = []) => {
|
|
289
302
|
form.clearErrors("media");
|
|
290
|
-
if (hasInvalidFiles(files)) {
|
|
303
|
+
if (hasInvalidFiles(files, rejectedFiles)) {
|
|
291
304
|
return;
|
|
292
305
|
}
|
|
293
|
-
files
|
|
306
|
+
files?.forEach((f) => append({ ...f, isThumbnail: false }));
|
|
294
307
|
},
|
|
295
308
|
[form, append, hasInvalidFiles]
|
|
296
309
|
);
|
|
@@ -315,7 +328,7 @@ var UploadMediaFormItem = ({
|
|
|
315
328
|
onUploaded
|
|
316
329
|
}
|
|
317
330
|
) }),
|
|
318
|
-
/* @__PURE__ */ jsx(Form.ErrorMessage, {})
|
|
331
|
+
/* @__PURE__ */ jsx(Form.ErrorMessage, { className: "whitespace-pre-line" })
|
|
319
332
|
] }) });
|
|
320
333
|
}
|
|
321
334
|
}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-F6ZOHZVB.mjs";
|
|
4
4
|
import {
|
|
5
5
|
CreateCampaignFormFields
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-AHQI2S2Z.mjs";
|
|
7
7
|
import {
|
|
8
8
|
KeyboundForm
|
|
9
9
|
} from "./chunk-6HTZNHPT.mjs";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-AERWK3TJ.mjs";
|
|
14
14
|
import {
|
|
15
15
|
useCreateCampaign
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-R2G2B47Y.mjs";
|
|
17
17
|
|
|
18
18
|
// src/routes/campaigns/campaign-create/components/create-campaign-form/create-campaign-form.tsx
|
|
19
19
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
shippingOptionsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GRT22PE5.mjs";
|
|
4
4
|
import {
|
|
5
5
|
stockLocationsQueryKeys
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-32IQRUVY.mjs";
|
|
7
7
|
import {
|
|
8
8
|
queryClient
|
|
9
9
|
} from "./chunk-FXYH54JP.mjs";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-774WSTCC.mjs";
|
|
13
13
|
import {
|
|
14
14
|
sdk
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-DEQUVHHE.mjs";
|
|
16
16
|
|
|
17
17
|
// src/hooks/api/fulfillment-sets.tsx
|
|
18
18
|
import {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-C76H5USB.mjs";
|
|
4
4
|
import {
|
|
5
5
|
useFeatureFlag
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RM6NY572.mjs";
|
|
7
7
|
import {
|
|
8
8
|
ActionMenu
|
|
9
9
|
} from "./chunk-OZPB6JBL.mjs";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
useSetActiveViewConfiguration,
|
|
15
15
|
useUpdateViewConfiguration,
|
|
16
16
|
useViewConfigurations
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KX4P5L3R.mjs";
|
|
18
18
|
|
|
19
19
|
// src/components/data-table/data-table.tsx
|
|
20
20
|
import {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
stockLocationsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-32IQRUVY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
queryClient
|
|
6
6
|
} from "./chunk-FXYH54JP.mjs";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-774WSTCC.mjs";
|
|
10
10
|
import {
|
|
11
11
|
sdk
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DEQUVHHE.mjs";
|
|
13
13
|
|
|
14
14
|
// src/hooks/api/shipping-options.tsx
|
|
15
15
|
import {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
productsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4BGVSXZZ.mjs";
|
|
4
4
|
import {
|
|
5
5
|
queryClient
|
|
6
6
|
} from "./chunk-FXYH54JP.mjs";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-774WSTCC.mjs";
|
|
10
10
|
import {
|
|
11
11
|
sdk
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-DEQUVHHE.mjs";
|
|
13
13
|
|
|
14
14
|
// src/hooks/api/collections.tsx
|
|
15
15
|
import {
|