@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
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
returnsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BYZSMXJ7.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ordersQueryKeys
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VW34SZWE.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/exchanges.tsx
|
|
18
18
|
import {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ordersQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-VW34SZWE.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/plugins.tsx
|
|
15
15
|
import { useQuery } from "@tanstack/react-query";
|
|
@@ -24,97 +24,14 @@ var usePlugins = (options) => {
|
|
|
24
24
|
return { ...data, ...rest };
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
-
// src/hooks/api/product-options.tsx
|
|
28
|
-
import {
|
|
29
|
-
useMutation,
|
|
30
|
-
useQuery as useQuery2
|
|
31
|
-
} from "@tanstack/react-query";
|
|
32
|
-
var PRODUCT_OPTIONS_QUERY_KEY = "product_options";
|
|
33
|
-
var productOptionsQueryKeys = queryKeysFactory(
|
|
34
|
-
PRODUCT_OPTIONS_QUERY_KEY
|
|
35
|
-
);
|
|
36
|
-
var useProductOption = (id, query, options) => {
|
|
37
|
-
const { data, ...rest } = useQuery2({
|
|
38
|
-
queryKey: productOptionsQueryKeys.detail(id, query),
|
|
39
|
-
queryFn: () => sdk.admin.productOption.retrieve(id, query),
|
|
40
|
-
...options
|
|
41
|
-
});
|
|
42
|
-
return { ...data, ...rest };
|
|
43
|
-
};
|
|
44
|
-
var useProductOptions = (query, options) => {
|
|
45
|
-
const { data, ...rest } = useQuery2({
|
|
46
|
-
queryFn: () => sdk.admin.productOption.list(query),
|
|
47
|
-
queryKey: productOptionsQueryKeys.list(query),
|
|
48
|
-
...options
|
|
49
|
-
});
|
|
50
|
-
return { ...data, ...rest };
|
|
51
|
-
};
|
|
52
|
-
var useCreateProductOption = (options) => {
|
|
53
|
-
return useMutation({
|
|
54
|
-
mutationFn: (payload) => sdk.admin.productOption.create(payload),
|
|
55
|
-
onSuccess: (data, variables, context) => {
|
|
56
|
-
queryClient.invalidateQueries({
|
|
57
|
-
queryKey: productOptionsQueryKeys.lists()
|
|
58
|
-
});
|
|
59
|
-
options?.onSuccess?.(data, variables, context);
|
|
60
|
-
},
|
|
61
|
-
...options
|
|
62
|
-
});
|
|
63
|
-
};
|
|
64
|
-
var useUpdateProductOption = (id, options) => {
|
|
65
|
-
return useMutation({
|
|
66
|
-
mutationFn: (payload) => sdk.admin.productOption.update(id, payload),
|
|
67
|
-
onSuccess: (data, variables, context) => {
|
|
68
|
-
queryClient.invalidateQueries({
|
|
69
|
-
queryKey: productOptionsQueryKeys.lists()
|
|
70
|
-
});
|
|
71
|
-
queryClient.invalidateQueries({
|
|
72
|
-
queryKey: productOptionsQueryKeys.detail(id)
|
|
73
|
-
});
|
|
74
|
-
options?.onSuccess?.(data, variables, context);
|
|
75
|
-
},
|
|
76
|
-
...options
|
|
77
|
-
});
|
|
78
|
-
};
|
|
79
|
-
var useDeleteProductOption = (id, options) => {
|
|
80
|
-
return useMutation({
|
|
81
|
-
mutationFn: () => sdk.admin.productOption.delete(id),
|
|
82
|
-
onSuccess: (data, variables, context) => {
|
|
83
|
-
queryClient.invalidateQueries({
|
|
84
|
-
queryKey: productOptionsQueryKeys.lists()
|
|
85
|
-
});
|
|
86
|
-
queryClient.invalidateQueries({
|
|
87
|
-
queryKey: productOptionsQueryKeys.detail(id)
|
|
88
|
-
});
|
|
89
|
-
options?.onSuccess?.(data, variables, context);
|
|
90
|
-
},
|
|
91
|
-
...options
|
|
92
|
-
});
|
|
93
|
-
};
|
|
94
|
-
var useDeleteProductOptionLazy = (options) => {
|
|
95
|
-
return useMutation({
|
|
96
|
-
mutationFn: (id) => sdk.admin.productOption.delete(id),
|
|
97
|
-
onSuccess: (data, variables, context) => {
|
|
98
|
-
queryClient.invalidateQueries({
|
|
99
|
-
queryKey: productOptionsQueryKeys.lists()
|
|
100
|
-
});
|
|
101
|
-
queryClient.invalidateQueries({
|
|
102
|
-
queryKey: productOptionsQueryKeys.details()
|
|
103
|
-
});
|
|
104
|
-
options?.onSuccess?.(data, variables, context);
|
|
105
|
-
},
|
|
106
|
-
...options
|
|
107
|
-
});
|
|
108
|
-
};
|
|
109
|
-
|
|
110
27
|
// src/hooks/api/product-variants.tsx
|
|
111
|
-
import { useQuery as
|
|
28
|
+
import { useQuery as useQuery2 } from "@tanstack/react-query";
|
|
112
29
|
var PRODUCT_VARIANT_QUERY_KEY = "product_variant";
|
|
113
30
|
var productVariantQueryKeys = queryKeysFactory(
|
|
114
31
|
PRODUCT_VARIANT_QUERY_KEY
|
|
115
32
|
);
|
|
116
33
|
var useVariants = (query, options) => {
|
|
117
|
-
const { data, ...rest } =
|
|
34
|
+
const { data, ...rest } = useQuery2({
|
|
118
35
|
queryFn: () => sdk.admin.productVariant.list(query),
|
|
119
36
|
queryKey: productVariantQueryKeys.list(query),
|
|
120
37
|
...options
|
|
@@ -124,13 +41,13 @@ var useVariants = (query, options) => {
|
|
|
124
41
|
|
|
125
42
|
// src/hooks/api/refund-reasons.tsx
|
|
126
43
|
import {
|
|
127
|
-
useMutation
|
|
128
|
-
useQuery as
|
|
44
|
+
useMutation,
|
|
45
|
+
useQuery as useQuery3
|
|
129
46
|
} from "@tanstack/react-query";
|
|
130
47
|
var REFUND_REASONS_QUERY_KEY = "refund_reasons";
|
|
131
48
|
var refundReasonsQueryKeys = queryKeysFactory(REFUND_REASONS_QUERY_KEY);
|
|
132
49
|
var useRefundReasons = (query, options) => {
|
|
133
|
-
const { data, ...rest } =
|
|
50
|
+
const { data, ...rest } = useQuery3({
|
|
134
51
|
queryFn: () => sdk.admin.refundReason.list(query),
|
|
135
52
|
queryKey: refundReasonsQueryKeys.list(query),
|
|
136
53
|
...options
|
|
@@ -138,7 +55,7 @@ var useRefundReasons = (query, options) => {
|
|
|
138
55
|
return { ...data, ...rest };
|
|
139
56
|
};
|
|
140
57
|
var useRefundReason = (id, query, options) => {
|
|
141
|
-
const { data, ...rest } =
|
|
58
|
+
const { data, ...rest } = useQuery3({
|
|
142
59
|
queryFn: () => sdk.admin.refundReason.retrieve(id, query),
|
|
143
60
|
queryKey: refundReasonsQueryKeys.detail(id),
|
|
144
61
|
...options
|
|
@@ -146,7 +63,7 @@ var useRefundReason = (id, query, options) => {
|
|
|
146
63
|
return { ...data, ...rest };
|
|
147
64
|
};
|
|
148
65
|
var useCreateRefundReason = (query, options) => {
|
|
149
|
-
return
|
|
66
|
+
return useMutation({
|
|
150
67
|
mutationFn: async (data) => sdk.admin.refundReason.create(data, query),
|
|
151
68
|
onSuccess: (data, variables, context) => {
|
|
152
69
|
queryClient.invalidateQueries({
|
|
@@ -158,7 +75,7 @@ var useCreateRefundReason = (query, options) => {
|
|
|
158
75
|
});
|
|
159
76
|
};
|
|
160
77
|
var useUpdateRefundReason = (id, options) => {
|
|
161
|
-
return
|
|
78
|
+
return useMutation({
|
|
162
79
|
mutationFn: async (data) => sdk.admin.refundReason.update(id, data),
|
|
163
80
|
onSuccess: (data, variables, context) => {
|
|
164
81
|
queryClient.invalidateQueries({
|
|
@@ -173,7 +90,7 @@ var useUpdateRefundReason = (id, options) => {
|
|
|
173
90
|
});
|
|
174
91
|
};
|
|
175
92
|
var useDeleteRefundReasonLazy = (options) => {
|
|
176
|
-
return
|
|
93
|
+
return useMutation({
|
|
177
94
|
mutationFn: (id) => sdk.admin.refundReason.delete(id),
|
|
178
95
|
onSuccess: (data, variables, context) => {
|
|
179
96
|
queryClient.invalidateQueries({
|
|
@@ -190,15 +107,15 @@ var useDeleteRefundReasonLazy = (options) => {
|
|
|
190
107
|
|
|
191
108
|
// src/hooks/api/shipping-option-types.tsx
|
|
192
109
|
import {
|
|
193
|
-
useMutation as
|
|
194
|
-
useQuery as
|
|
110
|
+
useMutation as useMutation2,
|
|
111
|
+
useQuery as useQuery4
|
|
195
112
|
} from "@tanstack/react-query";
|
|
196
113
|
var SHIPPING_OPTION_TYPES_QUERY_KEY = "shipping_option_types";
|
|
197
114
|
var shippingOptionTypesQueryKeys = queryKeysFactory(
|
|
198
115
|
SHIPPING_OPTION_TYPES_QUERY_KEY
|
|
199
116
|
);
|
|
200
117
|
var useShippingOptionType = (id, query, options) => {
|
|
201
|
-
const { data, ...rest } =
|
|
118
|
+
const { data, ...rest } = useQuery4({
|
|
202
119
|
queryFn: () => sdk.admin.shippingOptionType.retrieve(id, query),
|
|
203
120
|
queryKey: shippingOptionTypesQueryKeys.detail(id),
|
|
204
121
|
...options
|
|
@@ -206,7 +123,7 @@ var useShippingOptionType = (id, query, options) => {
|
|
|
206
123
|
return { ...data, ...rest };
|
|
207
124
|
};
|
|
208
125
|
var useShippingOptionTypes = (query, options) => {
|
|
209
|
-
const { data, ...rest } =
|
|
126
|
+
const { data, ...rest } = useQuery4({
|
|
210
127
|
queryFn: () => sdk.admin.shippingOptionType.list(query),
|
|
211
128
|
queryKey: shippingOptionTypesQueryKeys.list(query),
|
|
212
129
|
...options
|
|
@@ -214,7 +131,7 @@ var useShippingOptionTypes = (query, options) => {
|
|
|
214
131
|
return { ...data, ...rest };
|
|
215
132
|
};
|
|
216
133
|
var useCreateShippingOptionType = (options) => {
|
|
217
|
-
return
|
|
134
|
+
return useMutation2({
|
|
218
135
|
mutationFn: (payload) => sdk.admin.shippingOptionType.create(payload),
|
|
219
136
|
onSuccess: (data, variables, context) => {
|
|
220
137
|
queryClient.invalidateQueries({
|
|
@@ -226,7 +143,7 @@ var useCreateShippingOptionType = (options) => {
|
|
|
226
143
|
});
|
|
227
144
|
};
|
|
228
145
|
var useUpdateShippingOptionType = (id, options) => {
|
|
229
|
-
return
|
|
146
|
+
return useMutation2({
|
|
230
147
|
mutationFn: (payload) => sdk.admin.shippingOptionType.update(id, payload),
|
|
231
148
|
onSuccess: (data, variables, context) => {
|
|
232
149
|
queryClient.invalidateQueries({
|
|
@@ -241,7 +158,7 @@ var useUpdateShippingOptionType = (id, options) => {
|
|
|
241
158
|
});
|
|
242
159
|
};
|
|
243
160
|
var useDeleteShippingOptionType = (id, options) => {
|
|
244
|
-
return
|
|
161
|
+
return useMutation2({
|
|
245
162
|
mutationFn: () => sdk.admin.shippingOptionType.delete(id),
|
|
246
163
|
onSuccess: (data, variables, context) => {
|
|
247
164
|
queryClient.invalidateQueries({
|
|
@@ -258,13 +175,13 @@ var useDeleteShippingOptionType = (id, options) => {
|
|
|
258
175
|
|
|
259
176
|
// src/hooks/api/tags.tsx
|
|
260
177
|
import {
|
|
261
|
-
useMutation as
|
|
262
|
-
useQuery as
|
|
178
|
+
useMutation as useMutation3,
|
|
179
|
+
useQuery as useQuery5
|
|
263
180
|
} from "@tanstack/react-query";
|
|
264
181
|
var TAGS_QUERY_KEY = "tags";
|
|
265
182
|
var productTagsQueryKeys = queryKeysFactory(TAGS_QUERY_KEY);
|
|
266
183
|
var useProductTag = (id, query, options) => {
|
|
267
|
-
const { data, ...rest } =
|
|
184
|
+
const { data, ...rest } = useQuery5({
|
|
268
185
|
queryKey: productTagsQueryKeys.detail(id, query),
|
|
269
186
|
queryFn: async () => sdk.admin.productTag.retrieve(id),
|
|
270
187
|
...options
|
|
@@ -272,7 +189,7 @@ var useProductTag = (id, query, options) => {
|
|
|
272
189
|
return { ...data, ...rest };
|
|
273
190
|
};
|
|
274
191
|
var useProductTags = (query, options) => {
|
|
275
|
-
const { data, ...rest } =
|
|
192
|
+
const { data, ...rest } = useQuery5({
|
|
276
193
|
queryKey: productTagsQueryKeys.list(query),
|
|
277
194
|
queryFn: async () => sdk.admin.productTag.list(query),
|
|
278
195
|
...options
|
|
@@ -280,7 +197,7 @@ var useProductTags = (query, options) => {
|
|
|
280
197
|
return { ...data, ...rest };
|
|
281
198
|
};
|
|
282
199
|
var useCreateProductTag = (query, options) => {
|
|
283
|
-
return
|
|
200
|
+
return useMutation3({
|
|
284
201
|
mutationFn: async (data) => sdk.admin.productTag.create(data, query),
|
|
285
202
|
onSuccess: (data, variables, context) => {
|
|
286
203
|
queryClient.invalidateQueries({
|
|
@@ -292,7 +209,7 @@ var useCreateProductTag = (query, options) => {
|
|
|
292
209
|
});
|
|
293
210
|
};
|
|
294
211
|
var useUpdateProductTag = (id, query, options) => {
|
|
295
|
-
return
|
|
212
|
+
return useMutation3({
|
|
296
213
|
mutationFn: async (data) => sdk.admin.productTag.update(id, data, query),
|
|
297
214
|
onSuccess: (data, variables, context) => {
|
|
298
215
|
queryClient.invalidateQueries({
|
|
@@ -307,7 +224,7 @@ var useUpdateProductTag = (id, query, options) => {
|
|
|
307
224
|
});
|
|
308
225
|
};
|
|
309
226
|
var useDeleteProductTag = (id, options) => {
|
|
310
|
-
return
|
|
227
|
+
return useMutation3({
|
|
311
228
|
mutationFn: async () => sdk.admin.productTag.delete(id),
|
|
312
229
|
onSuccess: (data, variables, context) => {
|
|
313
230
|
queryClient.invalidateQueries({
|
|
@@ -323,16 +240,16 @@ var useDeleteProductTag = (id, options) => {
|
|
|
323
240
|
};
|
|
324
241
|
|
|
325
242
|
// src/hooks/api/fulfillment.tsx
|
|
326
|
-
import { useMutation as
|
|
243
|
+
import { useMutation as useMutation4 } from "@tanstack/react-query";
|
|
327
244
|
var FULFILLMENTS_QUERY_KEY = "fulfillments";
|
|
328
245
|
var fulfillmentsQueryKeys = queryKeysFactory(FULFILLMENTS_QUERY_KEY);
|
|
329
246
|
|
|
330
247
|
// src/hooks/api/notification.tsx
|
|
331
|
-
import { useQuery as
|
|
248
|
+
import { useQuery as useQuery6 } from "@tanstack/react-query";
|
|
332
249
|
var NOTIFICATION_QUERY_KEY = "notification";
|
|
333
250
|
var notificationQueryKeys = queryKeysFactory(NOTIFICATION_QUERY_KEY);
|
|
334
251
|
var useNotifications = (query, options) => {
|
|
335
|
-
const { data, ...rest } =
|
|
252
|
+
const { data, ...rest } = useQuery6({
|
|
336
253
|
queryFn: () => sdk.admin.notification.list(query),
|
|
337
254
|
queryKey: notificationQueryKeys.list(query),
|
|
338
255
|
...options
|
|
@@ -341,13 +258,13 @@ var useNotifications = (query, options) => {
|
|
|
341
258
|
};
|
|
342
259
|
|
|
343
260
|
// src/hooks/api/payment-collections.tsx
|
|
344
|
-
import { useMutation as
|
|
261
|
+
import { useMutation as useMutation5 } from "@tanstack/react-query";
|
|
345
262
|
var PAYMENT_COLLECTION_QUERY_KEY = "payment-collection";
|
|
346
263
|
var paymentCollectionQueryKeys = queryKeysFactory(
|
|
347
264
|
PAYMENT_COLLECTION_QUERY_KEY
|
|
348
265
|
);
|
|
349
266
|
var useMarkPaymentCollectionAsPaid = (orderId, paymentCollectionId, options) => {
|
|
350
|
-
return
|
|
267
|
+
return useMutation5({
|
|
351
268
|
mutationFn: (payload) => sdk.admin.paymentCollection.markAsPaid(paymentCollectionId, payload),
|
|
352
269
|
onSuccess: (data, variables, context) => {
|
|
353
270
|
queryClient.invalidateQueries({
|
|
@@ -367,8 +284,8 @@ var useMarkPaymentCollectionAsPaid = (orderId, paymentCollectionId, options) =>
|
|
|
367
284
|
|
|
368
285
|
// src/hooks/api/payments.tsx
|
|
369
286
|
import {
|
|
370
|
-
useMutation as
|
|
371
|
-
useQuery as
|
|
287
|
+
useMutation as useMutation6,
|
|
288
|
+
useQuery as useQuery7
|
|
372
289
|
} from "@tanstack/react-query";
|
|
373
290
|
var PAYMENT_QUERY_KEY = "payment";
|
|
374
291
|
var paymentQueryKeys = queryKeysFactory(PAYMENT_QUERY_KEY);
|
|
@@ -377,7 +294,7 @@ var paymentProvidersQueryKeys = queryKeysFactory(
|
|
|
377
294
|
PAYMENT_PROVIDERS_QUERY_KEY
|
|
378
295
|
);
|
|
379
296
|
var useCapturePayment = (orderId, paymentId, options) => {
|
|
380
|
-
return
|
|
297
|
+
return useMutation6({
|
|
381
298
|
mutationFn: (payload) => sdk.admin.payment.capture(paymentId, payload),
|
|
382
299
|
onSuccess: (data, variables, context) => {
|
|
383
300
|
queryClient.invalidateQueries({
|
|
@@ -392,7 +309,7 @@ var useCapturePayment = (orderId, paymentId, options) => {
|
|
|
392
309
|
});
|
|
393
310
|
};
|
|
394
311
|
var useRefundPayment = (orderId, paymentId, options) => {
|
|
395
|
-
return
|
|
312
|
+
return useMutation6({
|
|
396
313
|
mutationFn: (payload) => sdk.admin.payment.refund(paymentId, payload),
|
|
397
314
|
onSuccess: (data, variables, context) => {
|
|
398
315
|
queryClient.invalidateQueries({
|
|
@@ -414,13 +331,6 @@ export {
|
|
|
414
331
|
useCapturePayment,
|
|
415
332
|
useRefundPayment,
|
|
416
333
|
usePlugins,
|
|
417
|
-
productOptionsQueryKeys,
|
|
418
|
-
useProductOption,
|
|
419
|
-
useProductOptions,
|
|
420
|
-
useCreateProductOption,
|
|
421
|
-
useUpdateProductOption,
|
|
422
|
-
useDeleteProductOption,
|
|
423
|
-
useDeleteProductOptionLazy,
|
|
424
334
|
productVariantQueryKeys,
|
|
425
335
|
useVariants,
|
|
426
336
|
refundReasonsQueryKeys,
|
|
@@ -8,18 +8,18 @@ import "./chunk-P3UUX2T6.mjs";
|
|
|
8
8
|
import {
|
|
9
9
|
_DataTable,
|
|
10
10
|
useDataTable
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YTN73JYH.mjs";
|
|
12
12
|
import "./chunk-HQKGZADC.mjs";
|
|
13
13
|
import "./chunk-EMIHDNB7.mjs";
|
|
14
14
|
import {
|
|
15
15
|
useProductTableFilters
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-K75OQ7QA.mjs";
|
|
17
17
|
import {
|
|
18
18
|
useProductTableQuery
|
|
19
19
|
} from "./chunk-PCFUZKDS.mjs";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-GU5PJRPM.mjs";
|
|
21
21
|
import "./chunk-C76H5USB.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-DZWH2RV6.mjs";
|
|
23
23
|
import {
|
|
24
24
|
KeyboundForm
|
|
25
25
|
} from "./chunk-6HTZNHPT.mjs";
|
|
@@ -30,43 +30,43 @@ import {
|
|
|
30
30
|
import "./chunk-MNXC6Q4F.mjs";
|
|
31
31
|
import "./chunk-LPEUYMRK.mjs";
|
|
32
32
|
import "./chunk-S4DMV3ZT.mjs";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-SUYYSKCB.mjs";
|
|
34
34
|
import "./chunk-OBQI23QM.mjs";
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
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-
|
|
35
|
+
import "./chunk-ZOJRDXH3.mjs";
|
|
36
|
+
import "./chunk-I4OBEAOJ.mjs";
|
|
37
|
+
import "./chunk-YGEJFHC3.mjs";
|
|
38
|
+
import "./chunk-HI6URQ7H.mjs";
|
|
39
|
+
import "./chunk-6CLQKVAU.mjs";
|
|
40
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
41
|
+
import "./chunk-HKIF5HVL.mjs";
|
|
42
|
+
import "./chunk-WAXMT4IY.mjs";
|
|
43
|
+
import "./chunk-DYDGGABK.mjs";
|
|
44
|
+
import "./chunk-LGNTHZ5Y.mjs";
|
|
45
|
+
import "./chunk-CN7JXSGW.mjs";
|
|
46
|
+
import "./chunk-5BQQRHQS.mjs";
|
|
47
47
|
import {
|
|
48
48
|
useCollection,
|
|
49
49
|
useUpdateCollectionProducts
|
|
50
|
-
} from "./chunk-
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-
|
|
56
|
-
import "./chunk-
|
|
57
|
-
import "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
50
|
+
} from "./chunk-7H6DB666.mjs";
|
|
51
|
+
import "./chunk-2WLOIS3L.mjs";
|
|
52
|
+
import "./chunk-5AFMB7XQ.mjs";
|
|
53
|
+
import "./chunk-A63RZVX6.mjs";
|
|
54
|
+
import "./chunk-HBXV7ENS.mjs";
|
|
55
|
+
import "./chunk-CDORR33H.mjs";
|
|
56
|
+
import "./chunk-VW34SZWE.mjs";
|
|
57
|
+
import "./chunk-MOGV3UZD.mjs";
|
|
58
|
+
import "./chunk-5N33TBBX.mjs";
|
|
59
|
+
import "./chunk-FNQ227BC.mjs";
|
|
60
|
+
import "./chunk-3BF5SC66.mjs";
|
|
61
|
+
import "./chunk-VCSSQVPD.mjs";
|
|
62
|
+
import "./chunk-HP2JH45P.mjs";
|
|
63
|
+
import "./chunk-SQDIZZDW.mjs";
|
|
64
64
|
import {
|
|
65
65
|
useProducts
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-QW4SQVMT.mjs";
|
|
67
67
|
import "./chunk-FXYH54JP.mjs";
|
|
68
68
|
import "./chunk-774WSTCC.mjs";
|
|
69
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-NFEK63OE.mjs";
|
|
70
70
|
import "./chunk-QZ7TP4HQ.mjs";
|
|
71
71
|
|
|
72
72
|
// src/routes/collections/collection-add-products/collection-add-products.tsx
|
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
} from "./chunk-OBQI23QM.mjs";
|
|
15
15
|
import {
|
|
16
16
|
useCreateCollection
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-7H6DB666.mjs";
|
|
18
|
+
import "./chunk-QW4SQVMT.mjs";
|
|
19
19
|
import "./chunk-FXYH54JP.mjs";
|
|
20
20
|
import "./chunk-774WSTCC.mjs";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-NFEK63OE.mjs";
|
|
22
22
|
import "./chunk-QZ7TP4HQ.mjs";
|
|
23
23
|
|
|
24
24
|
// src/routes/collections/collection-create/components/create-collection-form/create-collection-form.tsx
|
|
@@ -9,21 +9,21 @@ 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 {
|
|
16
16
|
useProductTableFilters
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-K75OQ7QA.mjs";
|
|
18
18
|
import {
|
|
19
19
|
useProductTableQuery
|
|
20
20
|
} from "./chunk-PCFUZKDS.mjs";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-GU5PJRPM.mjs";
|
|
22
22
|
import {
|
|
23
23
|
SingleColumnPage
|
|
24
24
|
} from "./chunk-GIZFNLKK.mjs";
|
|
25
25
|
import "./chunk-C76H5USB.mjs";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-DZWH2RV6.mjs";
|
|
27
27
|
import "./chunk-MNXC6Q4F.mjs";
|
|
28
28
|
import {
|
|
29
29
|
useExtension
|
|
@@ -36,48 +36,48 @@ import {
|
|
|
36
36
|
} from "./chunk-OZPB6JBL.mjs";
|
|
37
37
|
import "./chunk-OC7BQLYI.mjs";
|
|
38
38
|
import "./chunk-S4DMV3ZT.mjs";
|
|
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-
|
|
39
|
+
import "./chunk-SUYYSKCB.mjs";
|
|
40
|
+
import "./chunk-ZOJRDXH3.mjs";
|
|
41
|
+
import "./chunk-I4OBEAOJ.mjs";
|
|
42
|
+
import "./chunk-YGEJFHC3.mjs";
|
|
43
|
+
import "./chunk-HI6URQ7H.mjs";
|
|
44
|
+
import "./chunk-6CLQKVAU.mjs";
|
|
45
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
46
|
+
import "./chunk-HKIF5HVL.mjs";
|
|
47
|
+
import "./chunk-WAXMT4IY.mjs";
|
|
48
|
+
import "./chunk-DYDGGABK.mjs";
|
|
49
|
+
import "./chunk-LGNTHZ5Y.mjs";
|
|
50
|
+
import "./chunk-CN7JXSGW.mjs";
|
|
51
|
+
import "./chunk-5BQQRHQS.mjs";
|
|
52
52
|
import {
|
|
53
53
|
collectionsQueryKeys,
|
|
54
54
|
useCollection,
|
|
55
55
|
useDeleteCollection,
|
|
56
56
|
useUpdateCollectionProducts
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-
|
|
60
|
-
import "./chunk-
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
67
|
-
import "./chunk-
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-
|
|
57
|
+
} from "./chunk-7H6DB666.mjs";
|
|
58
|
+
import "./chunk-2WLOIS3L.mjs";
|
|
59
|
+
import "./chunk-5AFMB7XQ.mjs";
|
|
60
|
+
import "./chunk-A63RZVX6.mjs";
|
|
61
|
+
import "./chunk-HBXV7ENS.mjs";
|
|
62
|
+
import "./chunk-CDORR33H.mjs";
|
|
63
|
+
import "./chunk-VW34SZWE.mjs";
|
|
64
|
+
import "./chunk-MOGV3UZD.mjs";
|
|
65
|
+
import "./chunk-5N33TBBX.mjs";
|
|
66
|
+
import "./chunk-FNQ227BC.mjs";
|
|
67
|
+
import "./chunk-3BF5SC66.mjs";
|
|
68
|
+
import "./chunk-VCSSQVPD.mjs";
|
|
69
|
+
import "./chunk-HP2JH45P.mjs";
|
|
70
|
+
import "./chunk-SQDIZZDW.mjs";
|
|
71
71
|
import {
|
|
72
72
|
useProducts
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-QW4SQVMT.mjs";
|
|
74
74
|
import {
|
|
75
75
|
queryClient
|
|
76
76
|
} from "./chunk-FXYH54JP.mjs";
|
|
77
77
|
import "./chunk-774WSTCC.mjs";
|
|
78
78
|
import {
|
|
79
79
|
sdk
|
|
80
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-NFEK63OE.mjs";
|
|
81
81
|
import "./chunk-QZ7TP4HQ.mjs";
|
|
82
82
|
|
|
83
83
|
// src/routes/collections/collection-detail/breadcrumb.tsx
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
useCollection,
|
|
14
14
|
useUpdateCollection
|
|
15
|
-
} from "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
} from "./chunk-7H6DB666.mjs";
|
|
16
|
+
import "./chunk-QW4SQVMT.mjs";
|
|
17
17
|
import "./chunk-FXYH54JP.mjs";
|
|
18
18
|
import "./chunk-774WSTCC.mjs";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-NFEK63OE.mjs";
|
|
20
20
|
import "./chunk-QZ7TP4HQ.mjs";
|
|
21
21
|
|
|
22
22
|
// src/routes/collections/collection-edit/collection-edit.tsx
|