@medusajs/dashboard 3.0.0-snapshot-20251106181920 → 3.0.0-snapshot-20251114155958
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-ZUJD7HBF.mjs → add-campaign-promotions-I7HDYMBX.mjs} +6 -6
- package/dist/{adjust-inventory-MEJEPP4Y.mjs → adjust-inventory-ZB3AVET7.mjs} +3 -3
- package/dist/{api-key-management-create-4OZWVOSF.mjs → api-key-management-create-U6VGZK7R.mjs} +4 -4
- package/dist/{api-key-management-detail-K3A3T6ET.mjs → api-key-management-detail-B5XNEGKF.mjs} +36 -36
- package/dist/{api-key-management-edit-FYLVVQOA.mjs → api-key-management-edit-TJM737A7.mjs} +4 -4
- package/dist/{api-key-management-list-6YG52LWY.mjs → api-key-management-list-ZRYMMTF5.mjs} +9 -9
- package/dist/{api-key-management-sales-channels-S5IFH7LP.mjs → api-key-management-sales-channels-D2RAHI7W.mjs} +12 -12
- package/dist/app.js +4574 -1022
- package/dist/app.mjs +33 -33
- package/dist/{campaign-budget-edit-V2VMINUO.mjs → campaign-budget-edit-H2KQKD7B.mjs} +2 -2
- package/dist/{campaign-configuration-PP4A5ADV.mjs → campaign-configuration-A452A22M.mjs} +2 -2
- package/dist/{campaign-create-NEKUWDGF.mjs → campaign-create-IXOWJQ4L.mjs} +7 -7
- package/dist/{campaign-detail-2H2W4W5B.mjs → campaign-detail-RCA3TBE4.mjs} +33 -33
- package/dist/{campaign-edit-O3LKMLXK.mjs → campaign-edit-LZV56AYF.mjs} +2 -2
- package/dist/{campaign-list-3452F4Y6.mjs → campaign-list-OH566KWW.mjs} +8 -8
- package/dist/{categories-metadata-ZEYU33GV.mjs → categories-metadata-5NBC7HX4.mjs} +28 -28
- package/dist/{category-create-N7PP3GWU.mjs → category-create-BTMZYQ5R.mjs} +3 -3
- package/dist/{category-detail-DKY37LPO.mjs → category-detail-RBUJVFPN.mjs} +34 -34
- package/dist/{category-edit-IFDQP7EZ.mjs → category-edit-Q3KEELHO.mjs} +3 -3
- package/dist/{category-list-2M4BCRAL.mjs → category-list-Z6HS6N75.mjs} +8 -8
- package/dist/{category-organize-76I7PO24.mjs → category-organize-45NPSRNG.mjs} +3 -3
- package/dist/{category-products-VVRGW25X.mjs → category-products-KREOO2KQ.mjs} +33 -33
- package/dist/{chunk-UKX2FFFV.mjs → chunk-25UWYEJX.mjs} +1 -1
- package/dist/{chunk-Q33G337Z.mjs → chunk-2GWGNMAA.mjs} +1 -1
- package/dist/{chunk-SMDWWXCD.mjs → chunk-2QH2TBJ2.mjs} +2 -2
- package/dist/{chunk-NQIC7ZFS.mjs → chunk-2SSUH2HJ.mjs} +2 -2
- package/dist/{chunk-P5RVJWPK.mjs → chunk-2WLOIS3L.mjs} +3 -3
- package/dist/{chunk-2D44OO7A.mjs → chunk-2X25XWOW.mjs} +1 -1
- package/dist/{chunk-KX4P5L3R.mjs → chunk-3BF5SC66.mjs} +1 -1
- package/dist/{chunk-OI4W5AEL.mjs → chunk-3RRA56WC.mjs} +26 -12
- package/dist/{chunk-7DWBXEH3.mjs → chunk-42TMWI76.mjs} +4 -4
- package/dist/{chunk-3EGEJ6Q2.mjs → chunk-4YAPXPLM.mjs} +1 -1
- package/dist/{chunk-F6PXCY3N.mjs → chunk-5AFMB7XQ.mjs} +1 -1
- package/dist/{chunk-OFN7DIZA.mjs → chunk-5AM254NB.mjs} +83 -3
- package/dist/{chunk-2ZKVRTBW.mjs → chunk-5BQQRHQS.mjs} +1 -1
- package/dist/{chunk-Y2XQE25L.mjs → chunk-5IFK2ZTA.mjs} +2 -2
- package/dist/{chunk-7PWZ5GMG.mjs → chunk-5N33TBBX.mjs} +2 -2
- package/dist/{chunk-S22NYSST.mjs → chunk-5X6SKB2P.mjs} +1 -1
- package/dist/{chunk-AHQI2S2Z.mjs → chunk-67RC6SEX.mjs} +2 -2
- package/dist/{chunk-I6E6CALJ.mjs → chunk-6CLQKVAU.mjs} +1 -1
- package/dist/{chunk-A2UMBW3V.mjs → chunk-6OU4CHZI.mjs} +1 -1
- package/dist/{chunk-GBKLLUUX.mjs → chunk-7H6DB666.mjs} +2 -2
- package/dist/{chunk-R2G2B47Y.mjs → chunk-A63RZVX6.mjs} +1 -1
- package/dist/{chunk-YSQG2JDM.mjs → chunk-BKJMQ6RP.mjs} +2 -2
- package/dist/{chunk-TYTNUPXB.mjs → chunk-BYOPZAGX.mjs} +13 -4
- package/dist/{chunk-HGFZAXHD.mjs → chunk-BYZSMXJ7.mjs} +2 -2
- package/dist/{chunk-32IQRUVY.mjs → chunk-CDORR33H.mjs} +1 -1
- package/dist/{chunk-RLY2SL5E.mjs → chunk-CN7JXSGW.mjs} +1 -1
- package/dist/{chunk-2WZUO66T.mjs → chunk-CV65NY6Y.mjs} +1 -1
- package/dist/{chunk-227DWSFF.mjs → chunk-CWIMWR6L.mjs} +9 -9
- package/dist/{chunk-PIR2H25N.mjs → chunk-DYDGGABK.mjs} +1 -1
- package/dist/{chunk-PFKKVLZX.mjs → chunk-DZWH2RV6.mjs} +1 -1
- package/dist/{chunk-LYTIMAIZ.mjs → chunk-FJHAGJ5G.mjs} +2 -2
- package/dist/{chunk-NGR5XU3K.mjs → chunk-FNQ227BC.mjs} +2 -2
- package/dist/{chunk-IVZ6BMDB.mjs → chunk-GA3UMQMZ.mjs} +1 -1
- package/dist/{chunk-TNMXAPPT.mjs → chunk-GHBURGZC.mjs} +1 -1
- package/dist/{chunk-FKIOYL3D.mjs → chunk-GU5PJRPM.mjs} +1 -1
- package/dist/{chunk-GRT22PE5.mjs → chunk-HBXV7ENS.mjs} +2 -2
- package/dist/{chunk-X6DSNTTX.mjs → chunk-HI6URQ7H.mjs} +2 -2
- package/dist/{chunk-B4GODIOW.mjs → chunk-HKIF5HVL.mjs} +1 -1
- package/dist/{chunk-QZ6PT4QV.mjs → chunk-HP2JH45P.mjs} +2 -2
- package/dist/{chunk-KOSCMAIC.mjs → chunk-I4OBEAOJ.mjs} +1 -1
- package/dist/{chunk-FA5QNPXE.mjs → chunk-K75OQ7QA.mjs} +3 -3
- package/dist/{chunk-3G33PZVQ.mjs → chunk-KF22R23X.mjs} +1 -1
- package/dist/{chunk-QTCZFYFH.mjs → chunk-KI7TOXBR.mjs} +1 -1
- package/dist/{chunk-GI6XX5VU.mjs → chunk-KJU3T6BK.mjs} +3 -3
- package/dist/{chunk-C5LYZZZ5.mjs → chunk-LGNTHZ5Y.mjs} +1 -1
- package/dist/{chunk-RM6NY572.mjs → chunk-M32MJOJN.mjs} +1 -1
- package/dist/{chunk-S34JJVBQ.mjs → chunk-M4Q5Q4I3.mjs} +2 -2
- package/dist/{chunk-GVVAVAXG.mjs → chunk-MOGV3UZD.mjs} +2 -2
- package/dist/{chunk-DEQUVHHE.mjs → chunk-NFEK63OE.mjs} +4 -1
- package/dist/{chunk-IBSMG7AF.mjs → chunk-NFEW5CVI.mjs} +6 -6
- package/dist/{chunk-VAIHVNV6.mjs → chunk-NL376WAO.mjs} +1 -1
- package/dist/{chunk-JC75WAC7.mjs → chunk-NZNJSGGE.mjs} +4 -4
- package/dist/{chunk-JAXWGF4M.mjs → chunk-O5DGX2NZ.mjs} +1 -1
- package/dist/{chunk-MK4E5XQX.mjs → chunk-OMRGW7JS.mjs} +2 -2
- package/dist/{chunk-WT5BXCPV.mjs → chunk-P23S5LDK.mjs} +4 -4
- package/dist/{chunk-GXXQ33F7.mjs → chunk-PCV2O6DU.mjs} +1 -1
- package/dist/{chunk-P777A4W3.mjs → chunk-PMJJI6GO.mjs} +1 -1
- package/dist/{chunk-CIY65KNH.mjs → chunk-PNPT4W2F.mjs} +4 -4
- package/dist/{chunk-GLVCH422.mjs → chunk-PVW6M64S.mjs} +1 -1
- package/dist/{chunk-JDA2MYND.mjs → chunk-QPJUVTKW.mjs} +1 -1
- package/dist/{chunk-GVPJPLE2.mjs → chunk-QW4SQVMT.mjs} +125 -33
- package/dist/{chunk-W77EPLUD.mjs → chunk-RAZ6EKFT.mjs} +4 -4
- package/dist/{chunk-SJ3E4T6B.mjs → chunk-ROKB75YP.mjs} +1 -1
- package/dist/{chunk-2VTICXJR.mjs → chunk-RYJ2UVJE.mjs} +1 -1
- package/dist/{chunk-JDEH6Z4M.mjs → chunk-SAZHCRHS.mjs} +1 -1
- package/dist/{chunk-QL4XKIVL.mjs → chunk-SQDIZZDW.mjs} +1 -1
- package/dist/{chunk-67ORSRVT.mjs → chunk-SUYYSKCB.mjs} +23 -16
- package/dist/{chunk-ORMX5RJQ.mjs → chunk-T57MRRCF.mjs} +1 -1
- package/dist/{chunk-GRNWRTT3.mjs → chunk-TBEGSDLQ.mjs} +2 -2
- package/dist/{chunk-SNDSWB6B.mjs → chunk-UM4OIJZ3.mjs} +2 -2
- package/dist/{chunk-V2LANK5S.mjs → chunk-VCSSQVPD.mjs} +2 -2
- package/dist/{chunk-SBFWPL42.mjs → chunk-VW34SZWE.mjs} +3 -3
- package/dist/{chunk-UTVAHVAY.mjs → chunk-W4TIFG3A.mjs} +7 -7
- package/dist/{chunk-WEMXXZMY.mjs → chunk-W7SLPIO2.mjs} +19 -7
- package/dist/{chunk-ENV6YVOM.mjs → chunk-WAXMT4IY.mjs} +3 -3
- package/dist/{chunk-Y6ZQFV7H.mjs → chunk-Y5TTJDGO.mjs} +1 -1
- package/dist/{chunk-WWQZD7WM.mjs → chunk-YGEJFHC3.mjs} +2 -2
- package/dist/{chunk-QXXHLVRQ.mjs → chunk-YGLRZQ4C.mjs} +1 -1
- package/dist/{chunk-PJ5EUKOB.mjs → chunk-YTN73JYH.mjs} +1 -1
- package/dist/{chunk-ET6EGRW3.mjs → chunk-YVQIO3JS.mjs} +3487 -227
- package/dist/{chunk-3MPO56OL.mjs → chunk-ZE34KAKV.mjs} +3 -3
- package/dist/{chunk-WOFUOGLO.mjs → chunk-ZOJRDXH3.mjs} +34 -124
- package/dist/{collection-add-products-QCSFXELK.mjs → collection-add-products-KM4VO5G5.mjs} +33 -33
- package/dist/{collection-create-45RYGDW7.mjs → collection-create-RIGJHEX5.mjs} +3 -3
- package/dist/{collection-detail-OLC6DMBZ.mjs → collection-detail-MLVNULUS.mjs} +33 -33
- package/dist/{collection-edit-YBPBHLLZ.mjs → collection-edit-WX5G3FHR.mjs} +3 -3
- package/dist/{collection-list-6UJNE2QB.mjs → collection-list-KWAHQGFE.mjs} +37 -37
- package/dist/{collection-metadata-QG55V5ZM.mjs → collection-metadata-OMFOP3LA.mjs} +28 -28
- package/dist/{customer-create-WCBUYT44.mjs → customer-create-VL6SIRZ2.mjs} +2 -2
- package/dist/{customer-create-address-VWVIJDMK.mjs → customer-create-address-V5C6M52P.mjs} +2 -2
- package/dist/{customer-detail-XOCZDUJL.mjs → customer-detail-SVDGB2QD.mjs} +35 -35
- package/dist/{customer-edit-FMK2AWZ5.mjs → customer-edit-WTBPVWOF.mjs} +2 -2
- package/dist/{customer-group-add-customers-TQAH4IPM.mjs → customer-group-add-customers-2Y2GVCDV.mjs} +9 -9
- package/dist/{customer-group-create-Y5O2CJOI.mjs → customer-group-create-A3CB3Z4K.mjs} +2 -2
- package/dist/{customer-group-detail-EWSDTVTQ.mjs → customer-group-detail-OCQTI4GG.mjs} +35 -35
- package/dist/{customer-group-edit-SMVW7PHM.mjs → customer-group-edit-7KV2PNLE.mjs} +2 -2
- package/dist/{customer-group-list-NFXAELFY.mjs → customer-group-list-K5MTMFLG.mjs} +33 -33
- package/dist/{customer-group-metadata-XJIMV7QU.mjs → customer-group-metadata-4F2SZF4M.mjs} +2 -2
- package/dist/{customer-list-TXAB4URJ.mjs → customer-list-TG4D4QOT.mjs} +9 -9
- package/dist/{customer-metadata-E32DPXXE.mjs → customer-metadata-LZ3TAXCV.mjs} +2 -2
- package/dist/{customers-add-customer-group-EYZMFVBS.mjs → customers-add-customer-group-2LLBHTX3.mjs} +32 -32
- package/dist/{edit-inventory-item-TFJL5H5X.mjs → edit-inventory-item-O6JLGZE4.mjs} +2 -2
- package/dist/{edit-inventory-item-attributes-O3K7OB56.mjs → edit-inventory-item-attributes-AUVR3GYY.mjs} +2 -2
- package/dist/{edit-reservation-Z5TFZERY.mjs → edit-reservation-GQ6R6GVA.mjs} +4 -4
- package/dist/{edit-rules-IE77WUXD.mjs → edit-rules-G7YMD5RC.mjs} +30 -30
- package/dist/en.json +3 -3
- package/dist/{inventory-create-HQ5XLKOJ.mjs → inventory-create-GMFEGLE4.mjs} +29 -29
- package/dist/{inventory-detail-DAINM7WP.mjs → inventory-detail-3BTAVXLJ.mjs} +34 -34
- package/dist/{inventory-list-5ROSUTXF.mjs → inventory-list-ADJQDNX5.mjs} +7 -7
- package/dist/{inventory-metadata-HUL56OD2.mjs → inventory-metadata-JJBXLQJG.mjs} +28 -28
- package/dist/{inventory-stock-5VIUWKTQ.mjs → inventory-stock-RHLN6ARK.mjs} +30 -30
- package/dist/{invite-U4I4IUOM.mjs → invite-VKHAAF4Z.mjs} +3 -3
- package/dist/{location-create-GZCUNYDT.mjs → location-create-GDOHM4T3.mjs} +2 -2
- package/dist/{location-detail-QMLCFID5.mjs → location-detail-F5QYFPUH.mjs} +28 -28
- package/dist/{location-edit-VNEMLWGR.mjs → location-edit-4SEMGQXA.mjs} +2 -2
- package/dist/{location-fulfillment-providers-NAFFMP3P.mjs → location-fulfillment-providers-7JXNE6YT.mjs} +37 -37
- package/dist/{location-list-MVIK73QC.mjs → location-list-ZJMZZ6T3.mjs} +5 -5
- package/dist/{location-sales-channels-D37LXTKQ.mjs → location-sales-channels-JPH5BTUY.mjs} +12 -12
- package/dist/{location-service-zone-create-27MNMKPQ.mjs → location-service-zone-create-35TTX636.mjs} +9 -9
- package/dist/{location-service-zone-edit-LCBBZ2OA.mjs → location-service-zone-edit-RWZS2XYW.mjs} +4 -4
- package/dist/{location-service-zone-manage-areas-U3EPNWSI.mjs → location-service-zone-manage-areas-RGMM5Y6C.mjs} +9 -9
- package/dist/{location-service-zone-shipping-option-create-VM4TEJHY.mjs → location-service-zone-shipping-option-create-7VTPJAPA.mjs} +31 -31
- package/dist/{location-service-zone-shipping-option-edit-WN4MTZSB.mjs → location-service-zone-shipping-option-edit-OYTEZGGC.mjs} +4 -4
- package/dist/{location-service-zone-shipping-option-pricing-GJIO4RRM.mjs → location-service-zone-shipping-option-pricing-NQRIEGTX.mjs} +8 -8
- package/dist/{login-MTGOV7KC.mjs → login-BGH5LSM4.mjs} +28 -28
- package/dist/{manage-locations-OHDFBORX.mjs → manage-locations-ATCDVTSR.mjs} +3 -3
- package/dist/{order-allocate-items-NU65ZXHE.mjs → order-allocate-items-PHIW64XK.mjs} +5 -5
- package/dist/{order-create-claim-LTE2E75R.mjs → order-create-claim-NPQ6E5DR.mjs} +36 -36
- package/dist/{order-create-edit-TPU3CKUU.mjs → order-create-edit-R4ZITC5I.mjs} +33 -33
- package/dist/{order-create-exchange-FVSBZI7P.mjs → order-create-exchange-6XPYKVYN.mjs} +36 -36
- package/dist/{order-create-fulfillment-NFGPDCBV.mjs → order-create-fulfillment-7DVPBUES.mjs} +29 -29
- package/dist/{order-create-refund-DC7C3R4Y.mjs → order-create-refund-7KEOYZTF.mjs} +28 -28
- package/dist/{order-create-return-RLXYVZLO.mjs → order-create-return-J23AFCKP.mjs} +13 -13
- package/dist/{order-create-shipment-RDYWCG3A.mjs → order-create-shipment-KNXCANID.mjs} +28 -28
- package/dist/{order-detail-VVOZ6E2R.mjs → order-detail-7ATBL7GN.mjs} +49 -41
- package/dist/{order-edit-billing-address-LV7453CS.mjs → order-edit-billing-address-VS75YMUY.mjs} +28 -28
- package/dist/{order-edit-email-4U5C6UKX.mjs → order-edit-email-GEE7SF2E.mjs} +28 -28
- package/dist/{order-edit-shipping-address-6IQC2CVP.mjs → order-edit-shipping-address-HSRXSRLU.mjs} +28 -28
- package/dist/{order-list-INSYF52F.mjs → order-list-GJTJHLZF.mjs} +52 -45
- package/dist/{order-metadata-EEV4IWOM.mjs → order-metadata-LUBKP5Y4.mjs} +28 -28
- package/dist/{order-receive-return-IWHR3EBF.mjs → order-receive-return-FLI44JN2.mjs} +29 -29
- package/dist/{order-request-transfer-65R4A7HS.mjs → order-request-transfer-NH2XCHMV.mjs} +29 -29
- package/dist/{price-list-configuration-L5XYCVP2.mjs → price-list-configuration-SS2VMD4N.mjs} +9 -9
- package/dist/{price-list-create-5GIMBRG2.mjs → price-list-create-DZR7JCDG.mjs} +36 -36
- package/dist/{price-list-detail-7AL2EBRL.mjs → price-list-detail-4INABJQQ.mjs} +35 -35
- package/dist/{price-list-edit-DHG5STG4.mjs → price-list-edit-VRI5T4W3.mjs} +4 -4
- package/dist/{price-list-list-QQKZEFSU.mjs → price-list-list-S2HWTXKV.mjs} +9 -9
- package/dist/{price-list-prices-add-2OO4QEZB.mjs → price-list-prices-add-DO43IEAD.mjs} +35 -35
- package/dist/{price-list-prices-edit-2FB25KWU.mjs → price-list-prices-edit-TRCLLGU4.mjs} +9 -9
- package/dist/{product-attributes-CCQ6WAOD.mjs → product-attributes-D6MNCAJB.mjs} +34 -34
- package/dist/{product-create-AIRCVZAE.mjs → product-create-JQQTUEQL.mjs} +82 -53
- package/dist/{product-create-variant-7BD5KQHQ.mjs → product-create-variant-6UQRMACE.mjs} +30 -30
- package/dist/{product-detail-IYMXYAPH.mjs → product-detail-JMOULY3O.mjs} +50 -38
- package/dist/{product-edit-PDGQHCQ2.mjs → product-edit-CC4OUBEC.mjs} +34 -34
- package/dist/{product-export-5EINLQDF.mjs → product-export-BVREOXJT.mjs} +36 -36
- package/dist/{product-image-variants-edit-DDSEBG5H.mjs → product-image-variants-edit-7BBTFZO7.mjs} +32 -32
- package/dist/{product-import-IQJWHNYN.mjs → product-import-UEXWOHOZ.mjs} +31 -30
- package/dist/{product-list-PUQEGU75.mjs → product-list-RHHY3NAS.mjs} +38 -38
- package/dist/{product-media-Q5XFYZRS.mjs → product-media-EKXMOSO4.mjs} +4 -4
- package/dist/{product-metadata-WCKNOZXX.mjs → product-metadata-DU2CNDKQ.mjs} +28 -28
- package/dist/{product-option-create-MWFWB2SU.mjs → product-option-create-ML66ZKF3.mjs} +28 -28
- package/dist/{product-option-detail-UKKEZPG7.mjs → product-option-detail-DT7HJF5Q.mjs} +39 -40
- package/dist/{product-option-edit-NHAF7B4P.mjs → product-option-edit-GUKWRQQH.mjs} +28 -28
- package/dist/{product-option-list-C6ZR2WIX.mjs → product-option-list-KF3JSQ6Y.mjs} +40 -44
- package/dist/{product-option-metadata-OWSGHNDC.mjs → product-option-metadata-BWWRRSAW.mjs} +28 -28
- package/dist/product-options-manage-QYWBIHJA.mjs +304 -0
- package/dist/{product-organization-HHME5F2C.mjs → product-organization-HU6YVPPV.mjs} +36 -36
- package/dist/{product-prices-GVEPABHQ.mjs → product-prices-UMEIS5AZ.mjs} +6 -6
- package/dist/{product-sales-channels-ZC5ONPG7.mjs → product-sales-channels-2SALTLTF.mjs} +11 -11
- package/dist/{product-shipping-profile-KXSBDGRD.mjs → product-shipping-profile-T4ZKHINJ.mjs} +35 -35
- package/dist/{product-stock-LXRLD7FA.mjs → product-stock-CKBS4YDA.mjs} +30 -30
- package/dist/{product-tag-create-RAJEWM5O.mjs → product-tag-create-GFGPI7ML.mjs} +28 -28
- package/dist/{product-tag-detail-EOW2GMOL.mjs → product-tag-detail-TTEWVF3I.mjs} +44 -44
- package/dist/{product-tag-edit-ZOO56XMF.mjs → product-tag-edit-3XNTLATZ.mjs} +28 -28
- package/dist/{product-tag-list-B2UX2OHB.mjs → product-tag-list-24IJRVFR.mjs} +44 -44
- package/dist/{product-tag-metadata-OZB7SVDN.mjs → product-tag-metadata-JANWHZ3K.mjs} +28 -28
- package/dist/{product-type-create-AHVZETDR.mjs → product-type-create-Y752WGBV.mjs} +2 -2
- package/dist/{product-type-detail-4YZUC6ZS.mjs → product-type-detail-MAUHCM3C.mjs} +34 -34
- package/dist/{product-type-edit-2RGFBZPK.mjs → product-type-edit-SMPJ5ZEF.mjs} +2 -2
- package/dist/{product-type-list-J2WDYTZK.mjs → product-type-list-7WQ5D2KV.mjs} +9 -9
- package/dist/{product-type-metadata-6QT47ZSR.mjs → product-type-metadata-FAKUWQQF.mjs} +28 -28
- package/dist/{product-variant-detail-HOOYZSS2.mjs → product-variant-detail-WHPECDUY.mjs} +32 -32
- package/dist/{product-variant-edit-J2MTJA75.mjs → product-variant-edit-GR4RNE5G.mjs} +29 -29
- package/dist/{product-variant-manage-inventory-items-P4QUORRH.mjs → product-variant-manage-inventory-items-IGDCLZQE.mjs} +3 -3
- package/dist/{product-variant-media-U5RG7AOW.mjs → product-variant-media-EKI4BTEV.mjs} +2 -2
- package/dist/{product-variant-metadata-ZRSZO2D4.mjs → product-variant-metadata-DA2HKXXB.mjs} +28 -28
- package/dist/{profile-detail-UTJBWZSA.mjs → profile-detail-BMC7IZBY.mjs} +3 -3
- package/dist/{profile-edit-OOYMTKX6.mjs → profile-edit-NFVR5Y4I.mjs} +3 -3
- package/dist/{promotion-add-campaign-XJB2ZKZ3.mjs → promotion-add-campaign-DOALJUKJ.mjs} +7 -7
- package/dist/{promotion-create-2E4EF4SP.mjs → promotion-create-GGZULF2B.mjs} +33 -33
- package/dist/{promotion-detail-P2BHIQDG.mjs → promotion-detail-XK7U73XH.mjs} +31 -31
- package/dist/{promotion-edit-details-JMZ77QJ4.mjs → promotion-edit-details-AKKNOCLM.mjs} +2 -2
- package/dist/{promotion-list-MN6YJCYA.mjs → promotion-list-TMWKPLMJ.mjs} +6 -6
- package/dist/{refund-reason-create-I3BIJFJH.mjs → refund-reason-create-H7MHJ5C5.mjs} +28 -28
- package/dist/{refund-reason-edit-2BEZASQH.mjs → refund-reason-edit-QY36CQVS.mjs} +28 -28
- package/dist/{refund-reason-list-NIJHHOXJ.mjs → refund-reason-list-KSQW33QC.mjs} +38 -38
- package/dist/{region-add-countries-KGFPZSRE.mjs → region-add-countries-6GB2QDJK.mjs} +7 -7
- package/dist/{region-create-YJJRTAYO.mjs → region-create-UVJICJRX.mjs} +9 -9
- package/dist/{region-detail-ERE4ZF2I.mjs → region-detail-D3JBW34A.mjs} +7 -7
- package/dist/{region-edit-QCN7SMR5.mjs → region-edit-3NVXQECN.mjs} +5 -5
- package/dist/{region-list-KE5HCKOR.mjs → region-list-JAQXIBYD.mjs} +7 -7
- package/dist/{region-metadata-RLZSQNGW.mjs → region-metadata-4KQG6UL6.mjs} +28 -28
- package/dist/{reservation-create-4R2XEEZU.mjs → reservation-create-Z7TWUE2L.mjs} +5 -5
- package/dist/{reservation-detail-7OYGNK4L.mjs → reservation-detail-W3FULMXT.mjs} +28 -28
- package/dist/{reservation-list-VY44QEH6.mjs → reservation-list-MN22JYAW.mjs} +9 -9
- package/dist/{reservation-metadata-VJIAGIMF.mjs → reservation-metadata-AKAN5XNE.mjs} +28 -28
- package/dist/{reset-password-CUEG23GU.mjs → reset-password-5TAYQEUV.mjs} +2 -2
- package/dist/{return-reason-create-45IARQ5L.mjs → return-reason-create-PLQNC4KW.mjs} +2 -2
- package/dist/{return-reason-edit-5FIOEJ5Y.mjs → return-reason-edit-XJCPMZ6U.mjs} +2 -2
- package/dist/{return-reason-list-6UKR2BLW.mjs → return-reason-list-ATE2XU4H.mjs} +12 -12
- package/dist/{sales-channel-add-products-KAUMNKMD.mjs → sales-channel-add-products-POHTQHMV.mjs} +33 -33
- package/dist/{sales-channel-create-I6ME6QBM.mjs → sales-channel-create-UFFXX5HK.mjs} +3 -3
- package/dist/{sales-channel-detail-5SXDKP6P.mjs → sales-channel-detail-AACIFU2E.mjs} +33 -33
- package/dist/{sales-channel-edit-O7GM2B6O.mjs → sales-channel-edit-SP2HF4E3.mjs} +3 -3
- package/dist/{sales-channel-list-JKZ6TIY7.mjs → sales-channel-list-BY3KTVV6.mjs} +35 -35
- package/dist/{sales-channel-metadata-33P5SKDI.mjs → sales-channel-metadata-KGOLI4BZ.mjs} +28 -28
- package/dist/{shipping-option-type-create-KVYNWD2Q.mjs → shipping-option-type-create-PSQZW3RN.mjs} +28 -28
- package/dist/{shipping-option-type-detail-YX3HMXNI.mjs → shipping-option-type-detail-WAW6TKJU.mjs} +29 -29
- package/dist/{shipping-option-type-edit-ODXQMHYJ.mjs → shipping-option-type-edit-2I44YHND.mjs} +28 -28
- package/dist/{shipping-option-type-list-XCQNWDDA.mjs → shipping-option-type-list-F4FRLW3P.mjs} +34 -34
- package/dist/{shipping-profile-create-372EMPUI.mjs → shipping-profile-create-NKFUOBVZ.mjs} +2 -2
- package/dist/{shipping-profile-detail-MRXUOUXK.mjs → shipping-profile-detail-WTKQSOIX.mjs} +2 -2
- package/dist/{shipping-profile-metadata-K34DAKGY.mjs → shipping-profile-metadata-AZXPMPHG.mjs} +28 -28
- package/dist/{shipping-profiles-list-KYYSHLSZ.mjs → shipping-profiles-list-H3CBZKRH.mjs} +6 -6
- package/dist/{store-add-currencies-SNSW7A6O.mjs → store-add-currencies-QVG2SI26.mjs} +8 -8
- package/dist/{store-detail-3Z3BK2BH.mjs → store-detail-AKRR64I6.mjs} +32 -32
- package/dist/{store-edit-FNKVB3UA.mjs → store-edit-Q25HCMCQ.mjs} +4 -4
- package/dist/{store-metadata-FESGAO7E.mjs → store-metadata-VLEDLAIJ.mjs} +28 -28
- package/dist/{tax-region-create-EVFVC6HN.mjs → tax-region-create-JTM53LCS.mjs} +29 -29
- package/dist/{tax-region-detail-ULHK52CD.mjs → tax-region-detail-XBFYCVSH.mjs} +49 -49
- package/dist/{tax-region-edit-CXEPD2F2.mjs → tax-region-edit-2RRF7C7P.mjs} +29 -29
- package/dist/{tax-region-list-HQMSVGDD.mjs → tax-region-list-BXZBUXRJ.mjs} +5 -5
- package/dist/{tax-region-province-create-6GZCPPGW.mjs → tax-region-province-create-T2LKEDTK.mjs} +2 -2
- package/dist/{tax-region-province-detail-VUY4PDGN.mjs → tax-region-province-detail-LGCYSFKE.mjs} +47 -47
- package/dist/{tax-region-tax-override-create-WWZZVAG5.mjs → tax-region-tax-override-create-2W25EZNZ.mjs} +44 -44
- package/dist/{tax-region-tax-override-edit-HVZRD44G.mjs → tax-region-tax-override-edit-ZSYNTYUG.mjs} +45 -45
- package/dist/{tax-region-tax-rate-create-TJLSRCEC.mjs → tax-region-tax-rate-create-UEOU5QRU.mjs} +3 -3
- package/dist/{tax-region-tax-rate-edit-DEKCUURK.mjs → tax-region-tax-rate-edit-ILCDNXHV.mjs} +3 -3
- package/dist/{user-detail-YTVBPRH5.mjs → user-detail-K5UMPO2L.mjs} +3 -3
- package/dist/{user-edit-NFRTYOKO.mjs → user-edit-25HD3BYT.mjs} +2 -2
- package/dist/{user-invite-FQNKJKMD.mjs → user-invite-CRQTVEYA.mjs} +6 -6
- package/dist/{user-list-73SJSKYT.mjs → user-list-KPI3BTOA.mjs} +9 -9
- package/dist/{user-metadata-33W3JSHN.mjs → user-metadata-KOGHOQTW.mjs} +28 -28
- package/dist/{workflow-execution-detail-SHEXD5OL.mjs → workflow-execution-detail-4QAQ44YB.mjs} +28 -28
- package/dist/{workflow-execution-list-JOVBPL45.mjs → workflow-execution-list-IZVF2XMJ.mjs} +6 -6
- package/package.json +10 -11
- package/src/components/common/file-upload/file-upload.tsx +23 -6
- package/src/components/data-grid/hooks/use-data-grid-form-handlers.tsx +21 -9
- package/src/components/inputs/combobox/combobox.tsx +173 -92
- 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/__tests__/sort-menu-items-by-rank.spec.ts +169 -0
- package/src/dashboard-app/dashboard-app.tsx +10 -1
- package/src/dashboard-app/types.ts +2 -0
- package/src/dashboard-app/utils/sort-menu-items-by-rank.ts +43 -0
- package/src/hooks/api/products.tsx +4 -4
- package/src/hooks/table/columns/use-product-option-table-columns.tsx +5 -4
- package/src/hooks/table/filters/use-product-option-table-filters.tsx +5 -5
- package/src/i18n/languages.ts +23 -16
- package/src/i18n/translations/$schema.json +5 -5
- package/src/i18n/translations/en.json +3 -3
- package/src/i18n/translations/index.ts +4 -0
- package/src/i18n/translations/ptPT.json +3219 -0
- package/src/lib/client/client.ts +4 -1
- package/src/routes/orders/order-detail/components/order-activity-section/order-timeline.tsx +19 -9
- 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-create/components/product-create-details-form/components/product-create-details-general-section/product-create-general-section.tsx +16 -4
- package/src/routes/products/product-create/components/product-create-details-form/components/product-create-details-variant-section/product-create-details-variant-section.tsx +7 -1
- package/src/routes/products/product-create/constants.ts +1 -0
- package/src/routes/products/product-create/utils.ts +2 -2
- package/src/routes/products/product-detail/components/product-general-section/product-general-section.tsx +1 -0
- package/src/routes/products/product-detail/components/product-option-section/product-option-section.tsx +24 -11
- package/src/routes/products/product-import/components/upload-import.tsx +1 -0
- package/src/routes/products/product-options-manage/components/product-options-manage-form/product-options-manage-form.tsx +145 -8
- package/src/vite-env.d.ts +2 -0
- package/dist/product-options-manage-N73G5IXY.mjs +0 -206
|
@@ -6,27 +6,110 @@ import {
|
|
|
6
6
|
} from "./chunk-774WSTCC.mjs";
|
|
7
7
|
import {
|
|
8
8
|
sdk
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NFEK63OE.mjs";
|
|
10
10
|
|
|
11
11
|
// src/hooks/api/inventory.tsx
|
|
12
|
+
import {
|
|
13
|
+
useMutation as useMutation3,
|
|
14
|
+
useQuery as useQuery3
|
|
15
|
+
} from "@tanstack/react-query";
|
|
16
|
+
|
|
17
|
+
// src/hooks/api/products.tsx
|
|
12
18
|
import {
|
|
13
19
|
useMutation as useMutation2,
|
|
14
20
|
useQuery as useQuery2
|
|
15
21
|
} from "@tanstack/react-query";
|
|
16
22
|
|
|
17
|
-
// src/hooks/api/
|
|
23
|
+
// src/hooks/api/product-options.tsx
|
|
18
24
|
import {
|
|
19
25
|
useMutation,
|
|
20
26
|
useQuery
|
|
21
27
|
} from "@tanstack/react-query";
|
|
28
|
+
var PRODUCT_OPTIONS_QUERY_KEY = "product_options";
|
|
29
|
+
var productOptionsQueryKeys = queryKeysFactory(
|
|
30
|
+
PRODUCT_OPTIONS_QUERY_KEY
|
|
31
|
+
);
|
|
32
|
+
var useProductOption = (id, query, options) => {
|
|
33
|
+
const { data, ...rest } = useQuery({
|
|
34
|
+
queryKey: productOptionsQueryKeys.detail(id, query),
|
|
35
|
+
queryFn: () => sdk.admin.productOption.retrieve(id, query),
|
|
36
|
+
...options
|
|
37
|
+
});
|
|
38
|
+
return { ...data, ...rest };
|
|
39
|
+
};
|
|
40
|
+
var useProductOptions = (query, options) => {
|
|
41
|
+
const { data, ...rest } = useQuery({
|
|
42
|
+
queryFn: () => sdk.admin.productOption.list(query),
|
|
43
|
+
queryKey: productOptionsQueryKeys.list(query),
|
|
44
|
+
...options
|
|
45
|
+
});
|
|
46
|
+
return { ...data, ...rest };
|
|
47
|
+
};
|
|
48
|
+
var useCreateProductOption = (options) => {
|
|
49
|
+
return useMutation({
|
|
50
|
+
mutationFn: (payload) => sdk.admin.productOption.create(payload),
|
|
51
|
+
onSuccess: (data, variables, context) => {
|
|
52
|
+
queryClient.invalidateQueries({
|
|
53
|
+
queryKey: productOptionsQueryKeys.lists()
|
|
54
|
+
});
|
|
55
|
+
options?.onSuccess?.(data, variables, context);
|
|
56
|
+
},
|
|
57
|
+
...options
|
|
58
|
+
});
|
|
59
|
+
};
|
|
60
|
+
var useUpdateProductOption = (id, options) => {
|
|
61
|
+
return useMutation({
|
|
62
|
+
mutationFn: (payload) => sdk.admin.productOption.update(id, payload),
|
|
63
|
+
onSuccess: (data, variables, context) => {
|
|
64
|
+
queryClient.invalidateQueries({
|
|
65
|
+
queryKey: productOptionsQueryKeys.lists()
|
|
66
|
+
});
|
|
67
|
+
queryClient.invalidateQueries({
|
|
68
|
+
queryKey: productOptionsQueryKeys.detail(id)
|
|
69
|
+
});
|
|
70
|
+
options?.onSuccess?.(data, variables, context);
|
|
71
|
+
},
|
|
72
|
+
...options
|
|
73
|
+
});
|
|
74
|
+
};
|
|
75
|
+
var useDeleteProductOption = (id, options) => {
|
|
76
|
+
return useMutation({
|
|
77
|
+
mutationFn: () => sdk.admin.productOption.delete(id),
|
|
78
|
+
onSuccess: (data, variables, context) => {
|
|
79
|
+
queryClient.invalidateQueries({
|
|
80
|
+
queryKey: productOptionsQueryKeys.lists()
|
|
81
|
+
});
|
|
82
|
+
queryClient.invalidateQueries({
|
|
83
|
+
queryKey: productOptionsQueryKeys.detail(id)
|
|
84
|
+
});
|
|
85
|
+
options?.onSuccess?.(data, variables, context);
|
|
86
|
+
},
|
|
87
|
+
...options
|
|
88
|
+
});
|
|
89
|
+
};
|
|
90
|
+
var useDeleteProductOptionLazy = (options) => {
|
|
91
|
+
return useMutation({
|
|
92
|
+
mutationFn: (id) => sdk.admin.productOption.delete(id),
|
|
93
|
+
onSuccess: (data, variables, context) => {
|
|
94
|
+
queryClient.invalidateQueries({
|
|
95
|
+
queryKey: productOptionsQueryKeys.lists()
|
|
96
|
+
});
|
|
97
|
+
queryClient.invalidateQueries({
|
|
98
|
+
queryKey: productOptionsQueryKeys.details()
|
|
99
|
+
});
|
|
100
|
+
options?.onSuccess?.(data, variables, context);
|
|
101
|
+
},
|
|
102
|
+
...options
|
|
103
|
+
});
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
// src/hooks/api/products.tsx
|
|
22
107
|
var PRODUCTS_QUERY_KEY = "products";
|
|
23
108
|
var productsQueryKeys = queryKeysFactory(PRODUCTS_QUERY_KEY);
|
|
24
109
|
var VARIANTS_QUERY_KEY = "product_variants";
|
|
25
110
|
var variantsQueryKeys = queryKeysFactory(VARIANTS_QUERY_KEY);
|
|
26
|
-
var OPTIONS_QUERY_KEY = "product_options";
|
|
27
|
-
var optionsQueryKeys = queryKeysFactory(OPTIONS_QUERY_KEY);
|
|
28
111
|
var useProductVariant = (productId, variantId, query, options) => {
|
|
29
|
-
const { data, ...rest } =
|
|
112
|
+
const { data, ...rest } = useQuery2({
|
|
30
113
|
queryFn: () => sdk.admin.product.retrieveVariant(productId, variantId, query),
|
|
31
114
|
queryKey: variantsQueryKeys.detail(variantId, query),
|
|
32
115
|
...options
|
|
@@ -34,7 +117,7 @@ var useProductVariant = (productId, variantId, query, options) => {
|
|
|
34
117
|
return { ...data, ...rest };
|
|
35
118
|
};
|
|
36
119
|
var useProductVariants = (productId, query, options) => {
|
|
37
|
-
const { data, ...rest } =
|
|
120
|
+
const { data, ...rest } = useQuery2({
|
|
38
121
|
queryFn: () => sdk.admin.product.listVariants(productId, query),
|
|
39
122
|
queryKey: variantsQueryKeys.list({ productId, ...query }),
|
|
40
123
|
...options
|
|
@@ -42,7 +125,7 @@ var useProductVariants = (productId, query, options) => {
|
|
|
42
125
|
return { ...data, ...rest };
|
|
43
126
|
};
|
|
44
127
|
var useCreateProductVariant = (productId, options) => {
|
|
45
|
-
return
|
|
128
|
+
return useMutation2({
|
|
46
129
|
mutationFn: (payload) => sdk.admin.product.createVariant(productId, payload),
|
|
47
130
|
onSuccess: (data, variables, context) => {
|
|
48
131
|
queryClient.invalidateQueries({ queryKey: variantsQueryKeys.lists() });
|
|
@@ -55,7 +138,7 @@ var useCreateProductVariant = (productId, options) => {
|
|
|
55
138
|
});
|
|
56
139
|
};
|
|
57
140
|
var useUpdateProductVariant = (productId, variantId, options) => {
|
|
58
|
-
return
|
|
141
|
+
return useMutation2({
|
|
59
142
|
mutationFn: (payload) => sdk.admin.product.updateVariant(productId, variantId, payload),
|
|
60
143
|
onSuccess: (data, variables, context) => {
|
|
61
144
|
queryClient.invalidateQueries({ queryKey: variantsQueryKeys.lists() });
|
|
@@ -71,7 +154,7 @@ var useUpdateProductVariant = (productId, variantId, options) => {
|
|
|
71
154
|
});
|
|
72
155
|
};
|
|
73
156
|
var useUpdateProductVariantsBatch = (productId, options) => {
|
|
74
|
-
return
|
|
157
|
+
return useMutation2({
|
|
75
158
|
mutationFn: (payload) => sdk.admin.product.batchVariants(productId, {
|
|
76
159
|
update: payload
|
|
77
160
|
}),
|
|
@@ -87,7 +170,7 @@ var useUpdateProductVariantsBatch = (productId, options) => {
|
|
|
87
170
|
});
|
|
88
171
|
};
|
|
89
172
|
var useProductVariantsInventoryItemsBatch = (productId, options) => {
|
|
90
|
-
return
|
|
173
|
+
return useMutation2({
|
|
91
174
|
mutationFn: (payload) => sdk.admin.product.batchVariantInventoryItems(productId, payload),
|
|
92
175
|
onSuccess: (data, variables, context) => {
|
|
93
176
|
queryClient.invalidateQueries({ queryKey: variantsQueryKeys.lists() });
|
|
@@ -101,7 +184,7 @@ var useProductVariantsInventoryItemsBatch = (productId, options) => {
|
|
|
101
184
|
});
|
|
102
185
|
};
|
|
103
186
|
var useDeleteVariant = (productId, variantId, options) => {
|
|
104
|
-
return
|
|
187
|
+
return useMutation2({
|
|
105
188
|
mutationFn: () => sdk.admin.product.deleteVariant(productId, variantId),
|
|
106
189
|
onSuccess: (data, variables, context) => {
|
|
107
190
|
queryClient.invalidateQueries({ queryKey: variantsQueryKeys.lists() });
|
|
@@ -117,7 +200,7 @@ var useDeleteVariant = (productId, variantId, options) => {
|
|
|
117
200
|
});
|
|
118
201
|
};
|
|
119
202
|
var useDeleteVariantLazy = (productId, options) => {
|
|
120
|
-
return
|
|
203
|
+
return useMutation2({
|
|
121
204
|
mutationFn: ({ variantId }) => sdk.admin.product.deleteVariant(productId, variantId),
|
|
122
205
|
onSuccess: (data, variables, context) => {
|
|
123
206
|
queryClient.invalidateQueries({ queryKey: variantsQueryKeys.lists() });
|
|
@@ -133,7 +216,7 @@ var useDeleteVariantLazy = (productId, options) => {
|
|
|
133
216
|
});
|
|
134
217
|
};
|
|
135
218
|
var useProduct = (id, query, options) => {
|
|
136
|
-
const { data, ...rest } =
|
|
219
|
+
const { data, ...rest } = useQuery2({
|
|
137
220
|
queryFn: () => sdk.admin.product.retrieve(id, query),
|
|
138
221
|
queryKey: productsQueryKeys.detail(id, query),
|
|
139
222
|
...options
|
|
@@ -141,7 +224,7 @@ var useProduct = (id, query, options) => {
|
|
|
141
224
|
return { ...data, ...rest };
|
|
142
225
|
};
|
|
143
226
|
var useProducts = (query, options) => {
|
|
144
|
-
const { data, ...rest } =
|
|
227
|
+
const { data, ...rest } = useQuery2({
|
|
145
228
|
queryFn: () => sdk.admin.product.list(query),
|
|
146
229
|
queryKey: productsQueryKeys.list(query),
|
|
147
230
|
...options
|
|
@@ -149,7 +232,7 @@ var useProducts = (query, options) => {
|
|
|
149
232
|
return { ...data, ...rest };
|
|
150
233
|
};
|
|
151
234
|
var useCreateProduct = (options) => {
|
|
152
|
-
return
|
|
235
|
+
return useMutation2({
|
|
153
236
|
mutationFn: (payload) => sdk.admin.product.create(payload),
|
|
154
237
|
onSuccess: (data, variables, context) => {
|
|
155
238
|
queryClient.invalidateQueries({ queryKey: productsQueryKeys.lists() });
|
|
@@ -162,7 +245,7 @@ var useCreateProduct = (options) => {
|
|
|
162
245
|
});
|
|
163
246
|
};
|
|
164
247
|
var useUpdateProduct = (id, options) => {
|
|
165
|
-
return
|
|
248
|
+
return useMutation2({
|
|
166
249
|
mutationFn: (payload) => sdk.admin.product.update(id, payload),
|
|
167
250
|
onSuccess: async (data, variables, context) => {
|
|
168
251
|
await queryClient.invalidateQueries({
|
|
@@ -177,7 +260,7 @@ var useUpdateProduct = (id, options) => {
|
|
|
177
260
|
});
|
|
178
261
|
};
|
|
179
262
|
var useDeleteProduct = (id, options) => {
|
|
180
|
-
return
|
|
263
|
+
return useMutation2({
|
|
181
264
|
mutationFn: () => sdk.admin.product.delete(id),
|
|
182
265
|
onSuccess: (data, variables, context) => {
|
|
183
266
|
queryClient.invalidateQueries({ queryKey: productsQueryKeys.lists() });
|
|
@@ -188,21 +271,23 @@ var useDeleteProduct = (id, options) => {
|
|
|
188
271
|
});
|
|
189
272
|
};
|
|
190
273
|
var useLinkProductOptions = (productId, options) => {
|
|
191
|
-
return
|
|
274
|
+
return useMutation2({
|
|
192
275
|
mutationFn: (payload) => sdk.admin.product.linkOptions(productId, payload),
|
|
193
276
|
onSuccess: (data, variables, context) => {
|
|
194
277
|
queryClient.invalidateQueries({ queryKey: productsQueryKeys.lists() });
|
|
195
278
|
queryClient.invalidateQueries({
|
|
196
279
|
queryKey: productsQueryKeys.detail(productId)
|
|
197
280
|
});
|
|
198
|
-
queryClient.invalidateQueries({
|
|
281
|
+
queryClient.invalidateQueries({
|
|
282
|
+
queryKey: productOptionsQueryKeys.lists()
|
|
283
|
+
});
|
|
199
284
|
options?.onSuccess?.(data, variables, context);
|
|
200
285
|
},
|
|
201
286
|
...options
|
|
202
287
|
});
|
|
203
288
|
};
|
|
204
289
|
var useExportProducts = (query, options) => {
|
|
205
|
-
return
|
|
290
|
+
return useMutation2({
|
|
206
291
|
mutationFn: (payload) => sdk.admin.product.export(payload, query),
|
|
207
292
|
onSuccess: (data, variables, context) => {
|
|
208
293
|
options?.onSuccess?.(data, variables, context);
|
|
@@ -211,7 +296,7 @@ var useExportProducts = (query, options) => {
|
|
|
211
296
|
});
|
|
212
297
|
};
|
|
213
298
|
var useImportProducts = (options) => {
|
|
214
|
-
return
|
|
299
|
+
return useMutation2({
|
|
215
300
|
mutationFn: (payload) => sdk.admin.product.createImport(payload),
|
|
216
301
|
onSuccess: (data, variables, context) => {
|
|
217
302
|
options?.onSuccess?.(data, variables, context);
|
|
@@ -220,7 +305,7 @@ var useImportProducts = (options) => {
|
|
|
220
305
|
});
|
|
221
306
|
};
|
|
222
307
|
var useConfirmImportProducts = (options) => {
|
|
223
|
-
return
|
|
308
|
+
return useMutation2({
|
|
224
309
|
mutationFn: (payload) => sdk.admin.product.confirmImport(payload),
|
|
225
310
|
onSuccess: (data, variables, context) => {
|
|
226
311
|
options?.onSuccess?.(data, variables, context);
|
|
@@ -229,7 +314,7 @@ var useConfirmImportProducts = (options) => {
|
|
|
229
314
|
});
|
|
230
315
|
};
|
|
231
316
|
var useBatchImageVariants = (productId, imageId, options) => {
|
|
232
|
-
return
|
|
317
|
+
return useMutation2({
|
|
233
318
|
mutationFn: (payload) => sdk.admin.product.batchImageVariants(productId, imageId, payload),
|
|
234
319
|
onSuccess: (data, variables, context) => {
|
|
235
320
|
queryClient.invalidateQueries({
|
|
@@ -243,7 +328,7 @@ var useBatchImageVariants = (productId, imageId, options) => {
|
|
|
243
328
|
});
|
|
244
329
|
};
|
|
245
330
|
var useBatchVariantImages = (productId, variantId, options) => {
|
|
246
|
-
return
|
|
331
|
+
return useMutation2({
|
|
247
332
|
mutationFn: (payload) => sdk.admin.product.batchVariantImages(productId, variantId, payload),
|
|
248
333
|
onSuccess: (data, variables, context) => {
|
|
249
334
|
queryClient.invalidateQueries({
|
|
@@ -271,7 +356,7 @@ var inventoryItemLevelsQueryKeys = queryKeysFactory(
|
|
|
271
356
|
INVENTORY_ITEM_LEVELS_QUERY_KEY
|
|
272
357
|
);
|
|
273
358
|
var useInventoryItems = (query, options) => {
|
|
274
|
-
const { data, ...rest } =
|
|
359
|
+
const { data, ...rest } = useQuery3({
|
|
275
360
|
queryFn: () => sdk.admin.inventoryItem.list(query),
|
|
276
361
|
queryKey: inventoryItemsQueryKeys.list(query),
|
|
277
362
|
...options
|
|
@@ -279,7 +364,7 @@ var useInventoryItems = (query, options) => {
|
|
|
279
364
|
return { ...data, ...rest };
|
|
280
365
|
};
|
|
281
366
|
var useInventoryItem = (id, query, options) => {
|
|
282
|
-
const { data, ...rest } =
|
|
367
|
+
const { data, ...rest } = useQuery3({
|
|
283
368
|
queryFn: () => sdk.admin.inventoryItem.retrieve(id, query),
|
|
284
369
|
queryKey: inventoryItemsQueryKeys.detail(id),
|
|
285
370
|
...options
|
|
@@ -287,7 +372,7 @@ var useInventoryItem = (id, query, options) => {
|
|
|
287
372
|
return { ...data, ...rest };
|
|
288
373
|
};
|
|
289
374
|
var useCreateInventoryItem = (options) => {
|
|
290
|
-
return
|
|
375
|
+
return useMutation3({
|
|
291
376
|
mutationFn: (payload) => sdk.admin.inventoryItem.create(payload),
|
|
292
377
|
onSuccess: (data, variables, context) => {
|
|
293
378
|
queryClient.invalidateQueries({
|
|
@@ -299,7 +384,7 @@ var useCreateInventoryItem = (options) => {
|
|
|
299
384
|
});
|
|
300
385
|
};
|
|
301
386
|
var useUpdateInventoryItem = (id, options) => {
|
|
302
|
-
return
|
|
387
|
+
return useMutation3({
|
|
303
388
|
mutationFn: (payload) => sdk.admin.inventoryItem.update(id, payload),
|
|
304
389
|
onSuccess: (data, variables, context) => {
|
|
305
390
|
queryClient.invalidateQueries({
|
|
@@ -314,7 +399,7 @@ var useUpdateInventoryItem = (id, options) => {
|
|
|
314
399
|
});
|
|
315
400
|
};
|
|
316
401
|
var useDeleteInventoryItem = (id, options) => {
|
|
317
|
-
return
|
|
402
|
+
return useMutation3({
|
|
318
403
|
mutationFn: () => sdk.admin.inventoryItem.delete(id),
|
|
319
404
|
onSuccess: (data, variables, context) => {
|
|
320
405
|
queryClient.invalidateQueries({
|
|
@@ -329,7 +414,7 @@ var useDeleteInventoryItem = (id, options) => {
|
|
|
329
414
|
});
|
|
330
415
|
};
|
|
331
416
|
var useInventoryItemLevels = (inventoryItemId, query, options) => {
|
|
332
|
-
const { data, ...rest } =
|
|
417
|
+
const { data, ...rest } = useQuery3({
|
|
333
418
|
queryFn: () => sdk.admin.inventoryItem.listLevels(inventoryItemId, query),
|
|
334
419
|
queryKey: inventoryItemLevelsQueryKeys.list({
|
|
335
420
|
...query || {},
|
|
@@ -340,7 +425,7 @@ var useInventoryItemLevels = (inventoryItemId, query, options) => {
|
|
|
340
425
|
return { ...data, ...rest };
|
|
341
426
|
};
|
|
342
427
|
var useUpdateInventoryLevel = (inventoryItemId, locationId, options) => {
|
|
343
|
-
return
|
|
428
|
+
return useMutation3({
|
|
344
429
|
mutationFn: (payload) => sdk.admin.inventoryItem.updateLevel(inventoryItemId, locationId, payload),
|
|
345
430
|
onSuccess: (data, variables, context) => {
|
|
346
431
|
queryClient.invalidateQueries({
|
|
@@ -361,7 +446,7 @@ var useUpdateInventoryLevel = (inventoryItemId, locationId, options) => {
|
|
|
361
446
|
});
|
|
362
447
|
};
|
|
363
448
|
var useBatchInventoryItemLocationLevels = (inventoryItemId, options) => {
|
|
364
|
-
return
|
|
449
|
+
return useMutation3({
|
|
365
450
|
mutationFn: (payload) => sdk.admin.inventoryItem.batchInventoryItemLocationLevels(
|
|
366
451
|
inventoryItemId,
|
|
367
452
|
payload
|
|
@@ -385,7 +470,7 @@ var useBatchInventoryItemLocationLevels = (inventoryItemId, options) => {
|
|
|
385
470
|
});
|
|
386
471
|
};
|
|
387
472
|
var useBatchInventoryItemsLocationLevels = (options) => {
|
|
388
|
-
return
|
|
473
|
+
return useMutation3({
|
|
389
474
|
mutationFn: (payload) => sdk.admin.inventoryItem.batchInventoryItemsLocationLevels(payload),
|
|
390
475
|
onSuccess: (data, variables, context) => {
|
|
391
476
|
queryClient.invalidateQueries({
|
|
@@ -412,6 +497,13 @@ export {
|
|
|
412
497
|
useUpdateInventoryLevel,
|
|
413
498
|
useBatchInventoryItemLocationLevels,
|
|
414
499
|
useBatchInventoryItemsLocationLevels,
|
|
500
|
+
productOptionsQueryKeys,
|
|
501
|
+
useProductOption,
|
|
502
|
+
useProductOptions,
|
|
503
|
+
useCreateProductOption,
|
|
504
|
+
useUpdateProductOption,
|
|
505
|
+
useDeleteProductOption,
|
|
506
|
+
useDeleteProductOptionLazy,
|
|
415
507
|
productsQueryKeys,
|
|
416
508
|
variantsQueryKeys,
|
|
417
509
|
useProductVariant,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
} from "./chunk-3I6G3NRU.mjs";
|
|
8
8
|
import {
|
|
9
9
|
DateCell
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ROKB75YP.mjs";
|
|
11
11
|
import {
|
|
12
12
|
MoneyAmountCell
|
|
13
13
|
} from "./chunk-INE2QCSC.mjs";
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
SaveViewDialog,
|
|
26
26
|
useViewConfiguration,
|
|
27
27
|
useViewConfigurations
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-TBEGSDLQ.mjs";
|
|
29
29
|
import {
|
|
30
30
|
useQueryParams
|
|
31
31
|
} from "./chunk-C76H5USB.mjs";
|
|
@@ -34,10 +34,10 @@ import {
|
|
|
34
34
|
} from "./chunk-DG7J63J2.mjs";
|
|
35
35
|
import {
|
|
36
36
|
useFeatureFlag
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-M32MJOJN.mjs";
|
|
38
38
|
import {
|
|
39
39
|
useEntityColumns
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-3BF5SC66.mjs";
|
|
41
41
|
|
|
42
42
|
// src/components/table/configurable-data-table/configurable-data-table.tsx
|
|
43
43
|
import { useState as useState3 } from "react";
|
|
@@ -1,34 +1,35 @@
|
|
|
1
1
|
// src/i18n/languages.ts
|
|
2
2
|
import {
|
|
3
|
-
|
|
3
|
+
ar,
|
|
4
4
|
bg,
|
|
5
|
+
bs,
|
|
6
|
+
cs,
|
|
7
|
+
de,
|
|
8
|
+
el,
|
|
5
9
|
enUS,
|
|
6
10
|
es,
|
|
11
|
+
faIR,
|
|
7
12
|
fr,
|
|
8
13
|
he,
|
|
14
|
+
hu,
|
|
15
|
+
id,
|
|
9
16
|
it,
|
|
10
17
|
ja,
|
|
18
|
+
ko,
|
|
19
|
+
lt,
|
|
20
|
+
mk,
|
|
21
|
+
mn,
|
|
22
|
+
nl,
|
|
11
23
|
pl,
|
|
24
|
+
pt,
|
|
12
25
|
ptBR,
|
|
26
|
+
ro,
|
|
27
|
+
ru,
|
|
13
28
|
th,
|
|
14
29
|
tr,
|
|
15
30
|
uk,
|
|
16
|
-
ro,
|
|
17
|
-
mk,
|
|
18
|
-
mn,
|
|
19
|
-
ar,
|
|
20
|
-
zhCN,
|
|
21
|
-
faIR,
|
|
22
|
-
cs,
|
|
23
|
-
ru,
|
|
24
|
-
el,
|
|
25
|
-
lt,
|
|
26
31
|
vi,
|
|
27
|
-
|
|
28
|
-
nl,
|
|
29
|
-
hu,
|
|
30
|
-
bs,
|
|
31
|
-
id
|
|
32
|
+
zhCN
|
|
32
33
|
} from "date-fns/locale";
|
|
33
34
|
var languages = [
|
|
34
35
|
{
|
|
@@ -109,6 +110,12 @@ var languages = [
|
|
|
109
110
|
ltr: true,
|
|
110
111
|
date_locale: ptBR
|
|
111
112
|
},
|
|
113
|
+
{
|
|
114
|
+
code: "ptPT",
|
|
115
|
+
display_name: "Portugu\xEAs (Portugal)",
|
|
116
|
+
ltr: true,
|
|
117
|
+
date_locale: pt
|
|
118
|
+
},
|
|
112
119
|
{
|
|
113
120
|
code: "tr",
|
|
114
121
|
display_name: "T\xFCrk\xE7e",
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-C76H5USB.mjs";
|
|
4
4
|
import {
|
|
5
5
|
useFeatureFlag
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-M32MJOJN.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-3BF5SC66.mjs";
|
|
18
18
|
|
|
19
19
|
// src/components/data-table/data-table.tsx
|
|
20
20
|
import {
|
|
@@ -13,10 +13,10 @@ import {
|
|
|
13
13
|
} from "./chunk-OZPB6JBL.mjs";
|
|
14
14
|
import {
|
|
15
15
|
useDeleteTaxRate
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HI6URQ7H.mjs";
|
|
17
17
|
import {
|
|
18
18
|
useDeleteTaxRegion
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6CLQKVAU.mjs";
|
|
20
20
|
|
|
21
21
|
// src/routes/tax-regions/common/components/tax-region-card/tax-region-card.tsx
|
|
22
22
|
import { Heading, Text, Tooltip, clx } from "@medusajs/ui";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pricePreferencesQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SQDIZZDW.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-NFEK63OE.mjs";
|
|
13
13
|
|
|
14
14
|
// src/hooks/api/store.tsx
|
|
15
15
|
import {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
reservationItemsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-MOGV3UZD.mjs";
|
|
4
4
|
import {
|
|
5
5
|
inventoryItemsQueryKeys
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-QW4SQVMT.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-NFEK63OE.mjs";
|
|
16
16
|
|
|
17
17
|
// src/hooks/api/orders.tsx
|
|
18
18
|
import {
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DISPLAY_OVERRIDE_ITEMS_LIMIT
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BKJMQ6RP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
TaxRateRuleReferenceType
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CWIMWR6L.mjs";
|
|
7
7
|
import {
|
|
8
8
|
LocalizedTablePagination,
|
|
9
9
|
useDeleteTaxRateAction
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UM4OIJZ3.mjs";
|
|
11
11
|
import {
|
|
12
12
|
formatPercentage
|
|
13
13
|
} from "./chunk-4FM6S5CX.mjs";
|
|
14
14
|
import {
|
|
15
15
|
DataTableSearch
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-YTN73JYH.mjs";
|
|
17
17
|
import {
|
|
18
18
|
DataTableOrderBy
|
|
19
19
|
} from "./chunk-HQKGZADC.mjs";
|
|
@@ -29,13 +29,13 @@ import {
|
|
|
29
29
|
} from "./chunk-OZPB6JBL.mjs";
|
|
30
30
|
import {
|
|
31
31
|
useProductTypes
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-HKIF5HVL.mjs";
|
|
33
33
|
import {
|
|
34
34
|
useShippingOptions
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-HBXV7ENS.mjs";
|
|
36
36
|
import {
|
|
37
37
|
useProducts
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-QW4SQVMT.mjs";
|
|
39
39
|
|
|
40
40
|
// src/routes/tax-regions/common/components/tax-rate-line/tax-rate-line.tsx
|
|
41
41
|
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
@@ -1165,7 +1165,6 @@ function findErrorPaths(obj, path = []) {
|
|
|
1165
1165
|
}
|
|
1166
1166
|
|
|
1167
1167
|
// src/components/data-grid/hooks/use-data-grid-form-handlers.tsx
|
|
1168
|
-
import set from "lodash.set";
|
|
1169
1168
|
import { useCallback as useCallback8 } from "react";
|
|
1170
1169
|
var useDataGridFormHandlers = ({
|
|
1171
1170
|
matrix,
|
|
@@ -1259,7 +1258,13 @@ function convertToggleableNumber(value) {
|
|
|
1259
1258
|
}
|
|
1260
1259
|
function setValue(currentValues, field, newValue, type, isHistory) {
|
|
1261
1260
|
if (type !== "togglable-number") {
|
|
1262
|
-
|
|
1261
|
+
field.split(".").reduce((curr, key, index) => {
|
|
1262
|
+
if (index === field.split(".").length - 1) {
|
|
1263
|
+
curr[key] = newValue;
|
|
1264
|
+
}
|
|
1265
|
+
curr[key] ?? (curr[key] = {});
|
|
1266
|
+
return curr[key];
|
|
1267
|
+
}, currentValues);
|
|
1263
1268
|
return;
|
|
1264
1269
|
}
|
|
1265
1270
|
setValueToggleableNumber(currentValues, field, newValue, isHistory);
|
|
@@ -1281,11 +1286,18 @@ function setValueToggleableNumber(currentValues, field, newValue, isHistory) {
|
|
|
1281
1286
|
};
|
|
1282
1287
|
const quantity = normalizeQuantity(newValue.quantity);
|
|
1283
1288
|
const checked = isHistory ? disabledToggle ? true : newValue.checked : determineChecked(quantity);
|
|
1284
|
-
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
+
const fieldParts = field.split(".");
|
|
1290
|
+
fieldParts.reduce((curr, key, index) => {
|
|
1291
|
+
if (index === fieldParts.length - 1) {
|
|
1292
|
+
curr[key] = {
|
|
1293
|
+
...currentValues,
|
|
1294
|
+
quantity,
|
|
1295
|
+
checked
|
|
1296
|
+
};
|
|
1297
|
+
}
|
|
1298
|
+
curr[key] ?? (curr[key] = {});
|
|
1299
|
+
return curr[key];
|
|
1300
|
+
}, currentValues);
|
|
1289
1301
|
}
|
|
1290
1302
|
function convertArrayToPrimitive(values, type) {
|
|
1291
1303
|
switch (type) {
|