@medusajs/dashboard 3.0.0-snapshot-20251211181725 → 3.0.0-snapshot-20251212092246
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-PHAHMGXP.mjs → add-campaign-promotions-JQKPED4U.mjs} +2 -2
- package/dist/{adjust-inventory-I5VYMAI4.mjs → adjust-inventory-2MFA656V.mjs} +2 -2
- package/dist/{api-key-management-create-CVRFY4PL.mjs → api-key-management-create-ZUVF3SLR.mjs} +2 -2
- package/dist/{api-key-management-detail-G7O7TDPW.mjs → api-key-management-detail-I45X6X64.mjs} +6 -6
- package/dist/{api-key-management-edit-JMU3WEPX.mjs → api-key-management-edit-42HNUSXL.mjs} +2 -2
- package/dist/{api-key-management-sales-channels-4OU5VGIG.mjs → api-key-management-sales-channels-7FVABESO.mjs} +2 -2
- package/dist/app.css +0 -35
- package/dist/app.js +12062 -13079
- package/dist/app.mjs +4 -4
- package/dist/{campaign-budget-edit-B5MSE26J.mjs → campaign-budget-edit-6DMZGUCI.mjs} +2 -2
- package/dist/{campaign-configuration-QOE3D2BE.mjs → campaign-configuration-UNFRB5HR.mjs} +2 -2
- package/dist/{campaign-create-FJOECKGT.mjs → campaign-create-QXG7PD3S.mjs} +3 -3
- package/dist/{campaign-detail-I2N5WUEC.mjs → campaign-detail-P3CSDHZN.mjs} +3 -3
- package/dist/{campaign-edit-K2POQH7M.mjs → campaign-edit-HN4US7DV.mjs} +2 -2
- package/dist/{categories-metadata-DNVBNWAJ.mjs → categories-metadata-BCZ463KN.mjs} +6 -6
- package/dist/{category-create-L2KJCHPO.mjs → category-create-FFIBWXAH.mjs} +2 -2
- package/dist/{category-detail-XEFMQSZG.mjs → category-detail-VDUHW3QT.mjs} +8 -24
- package/dist/{category-edit-U6SLZSAX.mjs → category-edit-74MZ6TXN.mjs} +2 -2
- package/dist/{category-list-W7JW4PWA.mjs → category-list-AH2EGTI7.mjs} +1 -16
- package/dist/{category-organize-LLSVAO3U.mjs → category-organize-B6EFBFKB.mjs} +2 -2
- package/dist/{category-products-LF7P7MBF.mjs → category-products-VOD3XRPG.mjs} +8 -8
- package/dist/{chunk-RKUXD6IZ.mjs → chunk-25UWYEJX.mjs} +1 -1
- package/dist/chunk-35LSPN2U.mjs +66 -0
- package/dist/{chunk-BZKI5J2M.mjs → chunk-3YPRDSZ6.mjs} +1 -1
- package/dist/{chunk-D6UW7URG.mjs → chunk-42OOM4DJ.mjs} +6 -23
- package/dist/{chunk-FPBKWWSI.mjs → chunk-4YAPXPLM.mjs} +1 -1
- package/dist/{chunk-EQBVGH3N.mjs → chunk-B3AOQW2B.mjs} +1 -1
- package/dist/{chunk-N3SAXQVR.mjs → chunk-D4J3CEWH.mjs} +2 -2
- package/dist/{chunk-PS5T2R6J.mjs → chunk-EI27JC4V.mjs} +3 -3
- package/dist/{chunk-F5I264Q3.mjs → chunk-EQTBJSBZ.mjs} +0 -3
- package/dist/{chunk-4VNR7DND.mjs → chunk-F5NZDW7L.mjs} +2 -2
- package/dist/{chunk-JJGE3EV6.mjs → chunk-F63F3FIT.mjs} +2 -2
- package/dist/{chunk-DCYB22MH.mjs → chunk-HFT7Q5Y5.mjs} +1 -1
- package/dist/{chunk-I6C52ARQ.mjs → chunk-HWKLNKOY.mjs} +1 -1
- package/dist/{chunk-LCEKY54O.mjs → chunk-KF7ZWW4K.mjs} +2 -2
- package/dist/{chunk-YIOBBZUB.mjs → chunk-L4NOVTH5.mjs} +2 -2
- package/dist/{chunk-DS5IRNJY.mjs → chunk-LHNU4DYZ.mjs} +2 -2
- package/dist/{chunk-7GJ5T4R3.mjs → chunk-M4Z2YEYB.mjs} +9 -9
- package/dist/{chunk-R2EBIESZ.mjs → chunk-MY6I7UJG.mjs} +1 -1
- package/dist/{chunk-3BJLNORD.mjs → chunk-PNPT4W2F.mjs} +1 -1
- package/dist/{chunk-6GLZIACV.mjs → chunk-Q6MSICBU.mjs} +1 -1
- package/dist/{chunk-3ESSTIV2.mjs → chunk-QPKW37WR.mjs} +13 -188
- package/dist/{chunk-GN6OCHP4.mjs → chunk-RU4ZS47V.mjs} +11 -1
- package/dist/{chunk-UEJOY5PF.mjs → chunk-SKA4AJO4.mjs} +3 -3
- package/dist/{chunk-CFQNWTZV.mjs → chunk-UM4OIJZ3.mjs} +1 -1
- package/dist/{chunk-ZADXDNB3.mjs → chunk-UWBENEHD.mjs} +202 -234
- package/dist/{chunk-FEB3ZGTL.mjs → chunk-W7SLPIO2.mjs} +17 -214
- package/dist/{chunk-WVA4O7QS.mjs → chunk-XXBP2Z5M.mjs} +1 -1
- package/dist/{chunk-AFXODJBA.mjs → chunk-YAPTGHGP.mjs} +1 -1
- package/dist/{chunk-HPPR6PXK.mjs → chunk-YWLAUILP.mjs} +4 -4
- package/dist/{chunk-FIFVOKTK.mjs → chunk-Z6NHG5LQ.mjs} +1 -1
- package/dist/{collection-add-products-EM7SAFEH.mjs → collection-add-products-P5B564HQ.mjs} +8 -8
- package/dist/{collection-create-4JX4YE47.mjs → collection-create-DCRW344Z.mjs} +2 -2
- package/dist/{collection-detail-UQXMMKRW.mjs → collection-detail-PCL3HYPB.mjs} +7 -22
- package/dist/{collection-edit-MXL35GQQ.mjs → collection-edit-UNFEW6HT.mjs} +2 -2
- package/dist/{collection-list-EO56ZH4Q.mjs → collection-list-ANPFZOFP.mjs} +14 -29
- package/dist/{collection-metadata-UXEYXJY4.mjs → collection-metadata-P4A5DXBQ.mjs} +6 -6
- package/dist/{customer-create-IA56MXE6.mjs → customer-create-XCLZENJS.mjs} +2 -2
- package/dist/{customer-create-address-27M25HTO.mjs → customer-create-address-4HZUIAM7.mjs} +2 -2
- package/dist/{customer-detail-OD5I5YWW.mjs → customer-detail-ENPJO3DW.mjs} +6 -6
- package/dist/{customer-edit-XQ5NWIVX.mjs → customer-edit-BW5GVTQI.mjs} +2 -2
- package/dist/{customer-group-add-customers-FRJP6RCY.mjs → customer-group-add-customers-A7OGFFJ4.mjs} +5 -5
- package/dist/{customer-group-create-RY4FVEIW.mjs → customer-group-create-6YV7W6TI.mjs} +2 -2
- package/dist/{customer-group-detail-SOWUWFJ4.mjs → customer-group-detail-DVNRFZX5.mjs} +6 -6
- package/dist/{customer-group-edit-MQWARIQZ.mjs → customer-group-edit-7NXU34BQ.mjs} +2 -2
- package/dist/{customer-group-list-A5LER6CN.mjs → customer-group-list-P2QX5AO4.mjs} +3 -3
- package/dist/{customer-group-metadata-JQJRLLXG.mjs → customer-group-metadata-WK2BGEGO.mjs} +3 -3
- package/dist/{customer-metadata-HN2DYD5I.mjs → customer-metadata-ZUWCUTM7.mjs} +3 -3
- package/dist/{customers-add-customer-group-75EEIDW6.mjs → customers-add-customer-group-RVR476OP.mjs} +8 -8
- package/dist/{edit-inventory-item-RATTNP2Y.mjs → edit-inventory-item-Y5W6VTHJ.mjs} +2 -2
- package/dist/{edit-inventory-item-attributes-JHH5GSNL.mjs → edit-inventory-item-attributes-NAAZDFEJ.mjs} +2 -2
- package/dist/{edit-reservation-UZCSNLHY.mjs → edit-reservation-2UD4RZJX.mjs} +2 -2
- package/dist/{edit-rules-IKV4MGHV.mjs → edit-rules-2W3BXEXR.mjs} +5 -5
- package/dist/en.json +12 -12
- package/dist/{inventory-create-DBD7EA7N.mjs → inventory-create-VQEK7C5T.mjs} +6 -6
- package/dist/{inventory-detail-Q2HAUD2Y.mjs → inventory-detail-UYDDNO24.mjs} +3 -3
- package/dist/{inventory-metadata-NQXJBGAQ.mjs → inventory-metadata-X52VGHA7.mjs} +6 -6
- package/dist/{inventory-stock-WAZ7CXTY.mjs → inventory-stock-EKTOYN2F.mjs} +7 -7
- package/dist/{invite-WISVECE2.mjs → invite-VKHAAF4Z.mjs} +2 -3
- package/dist/{location-create-WZ43K3W7.mjs → location-create-RPLEXUZR.mjs} +2 -2
- package/dist/{location-detail-2LKEMZ3X.mjs → location-detail-UVWYE6Q2.mjs} +9 -11
- package/dist/{location-edit-VCS7GVWQ.mjs → location-edit-L4ISEQHX.mjs} +2 -2
- package/dist/{location-fulfillment-providers-6WNUCXQL.mjs → location-fulfillment-providers-3BGI2NNW.mjs} +6 -6
- package/dist/{location-list-UK3WRDL5.mjs → location-list-Z42ZYHUF.mjs} +2 -3
- package/dist/{location-sales-channels-NKNM5TQK.mjs → location-sales-channels-YMABMECM.mjs} +2 -2
- package/dist/{location-service-zone-create-3FWF3DG5.mjs → location-service-zone-create-NSMZCD5N.mjs} +3 -3
- package/dist/{location-service-zone-edit-KHHMSPXD.mjs → location-service-zone-edit-6OUAFEZD.mjs} +2 -2
- package/dist/{location-service-zone-manage-areas-YFEAZUUN.mjs → location-service-zone-manage-areas-SEC6LKCZ.mjs} +3 -3
- package/dist/{location-service-zone-shipping-option-create-DSLYSNY4.mjs → location-service-zone-shipping-option-create-M7G4SKNP.mjs} +7 -7
- package/dist/{location-service-zone-shipping-option-edit-QCURIIGL.mjs → location-service-zone-shipping-option-edit-M2HJAASG.mjs} +5 -5
- package/dist/{location-service-zone-shipping-option-pricing-Z5IFOLFJ.mjs → location-service-zone-shipping-option-pricing-23QLNSBT.mjs} +4 -4
- package/dist/{login-2DAZRDSC.mjs → login-NSCAMAU6.mjs} +5 -6
- package/dist/{manage-locations-MLNMPQ5I.mjs → manage-locations-JD6FSBOT.mjs} +2 -2
- package/dist/{order-allocate-items-I5KMPZY5.mjs → order-allocate-items-5T57NZOB.mjs} +3 -3
- package/dist/{order-create-claim-E543W2TJ.mjs → order-create-claim-JLCXZNHU.mjs} +7 -7
- package/dist/{order-create-edit-HDWLEUKF.mjs → order-create-edit-QB6LIWSF.mjs} +6 -6
- package/dist/{order-create-exchange-HBQWTMXR.mjs → order-create-exchange-GOU4AJXP.mjs} +13 -13
- package/dist/{order-create-fulfillment-PN3HLLB2.mjs → order-create-fulfillment-SRRP6X64.mjs} +5 -5
- package/dist/{order-create-refund-EC7XRI5O.mjs → order-create-refund-PTOM65QK.mjs} +5 -5
- package/dist/{order-create-return-LTGYASZZ.mjs → order-create-return-3EOY7TOC.mjs} +4 -4
- package/dist/{order-create-shipment-CPEAPIJU.mjs → order-create-shipment-HNILNFXB.mjs} +5 -5
- package/dist/{order-detail-MPNBAUUI.mjs → order-detail-BCBUUVU7.mjs} +11 -11
- package/dist/{order-edit-billing-address-KMV6RJ6F.mjs → order-edit-billing-address-3IO7GXIK.mjs} +5 -5
- package/dist/{order-edit-email-377D6O22.mjs → order-edit-email-QIAEOUBV.mjs} +5 -5
- package/dist/{order-edit-shipping-address-HEFMKAJP.mjs → order-edit-shipping-address-QGGMHGBC.mjs} +5 -5
- package/dist/order-export-LPAWHHSK.mjs +121 -0
- package/dist/{order-list-QOYJFYD5.mjs → order-list-Y4FET3XV.mjs} +38 -82
- package/dist/{order-metadata-QABOWLXK.mjs → order-metadata-ZBDTMBHZ.mjs} +6 -6
- package/dist/{order-receive-return-4WFBZ2T7.mjs → order-receive-return-V42FTCFY.mjs} +6 -6
- package/dist/{order-request-transfer-ISZSSGKO.mjs → order-request-transfer-A6NNIN2O.mjs} +5 -5
- package/dist/{price-list-configuration-WZFAJ7ZM.mjs → price-list-configuration-54D4JW6G.mjs} +4 -4
- package/dist/{price-list-create-DQFXQ247.mjs → price-list-create-5DI6QXFL.mjs} +15 -15
- package/dist/{price-list-detail-WWJPFIT2.mjs → price-list-detail-7XY3MDV5.mjs} +6 -6
- package/dist/{price-list-edit-I5QNCWJP.mjs → price-list-edit-SW7YIR3Z.mjs} +2 -2
- package/dist/{price-list-prices-add-6BCDF4DE.mjs → price-list-prices-add-UA2DT4AM.mjs} +10 -10
- package/dist/{price-list-prices-edit-Z4YJ4YBY.mjs → price-list-prices-edit-C6SX2TLJ.mjs} +4 -4
- package/dist/{product-attributes-RKEXUYKR.mjs → product-attributes-4AEBLFIM.mjs} +6 -6
- package/dist/{product-create-S7YVI2MR.mjs → product-create-TGR3I2H2.mjs} +7 -7
- package/dist/{product-create-option-UMZKRNTC.mjs → product-create-option-GEGQNSMQ.mjs} +2 -2
- package/dist/{product-create-variant-JRKDSU6D.mjs → product-create-variant-WI6D5CDG.mjs} +6 -6
- package/dist/{product-detail-G7ZVDV46.mjs → product-detail-YLYXIRRB.mjs} +10 -52
- package/dist/{product-edit-CMHKUDQP.mjs → product-edit-ALZUODMD.mjs} +6 -6
- package/dist/{product-edit-option-ZMTSLRG5.mjs → product-edit-option-HBIOBQTS.mjs} +2 -2
- package/dist/{product-export-H7KYYMGI.mjs → product-export-CPL66H6S.mjs} +15 -15
- package/dist/{product-image-variants-edit-HU6NVV6T.mjs → product-image-variants-edit-X3LUMPLJ.mjs} +5 -5
- package/dist/{product-import-5PKTI7YC.mjs → product-import-43UXKCL3.mjs} +5 -5
- package/dist/{product-list-ABFSFWKV.mjs → product-list-47T2IZ3F.mjs} +7 -19
- package/dist/{product-media-ULNJ7JJY.mjs → product-media-EGK66SRX.mjs} +2 -2
- package/dist/{product-metadata-GHL5HV37.mjs → product-metadata-55CAQTPS.mjs} +6 -6
- package/dist/{product-organization-Z7SXABDX.mjs → product-organization-KHZELN3F.mjs} +6 -6
- package/dist/{product-prices-5WCCQDS6.mjs → product-prices-WQDE4XYT.mjs} +3 -3
- package/dist/{product-sales-channels-2PN4L7II.mjs → product-sales-channels-ZICOOOKY.mjs} +2 -2
- package/dist/{product-shipping-profile-45XXB7FM.mjs → product-shipping-profile-KIDRTPWA.mjs} +2 -2
- package/dist/{product-stock-NHC7WD6Z.mjs → product-stock-22S2HGMM.mjs} +7 -7
- package/dist/{product-tag-create-MQ6AUCQM.mjs → product-tag-create-7GPE246H.mjs} +5 -5
- package/dist/{product-tag-detail-CGURSGJE.mjs → product-tag-detail-BQG2LJK6.mjs} +16 -31
- package/dist/{product-tag-edit-TOJYTW4H.mjs → product-tag-edit-WA6FGSIP.mjs} +5 -5
- package/dist/{product-tag-list-2U4CIGK5.mjs → product-tag-list-PW7WDCQH.mjs} +16 -31
- package/dist/{product-tag-metadata-JMFWGTR3.mjs → product-tag-metadata-EJ7FEXSE.mjs} +6 -6
- package/dist/{product-type-create-KHSNCQCV.mjs → product-type-create-HBDROTGB.mjs} +2 -2
- package/dist/{product-type-detail-UY6Y3T3G.mjs → product-type-detail-TJQS4BVU.mjs} +7 -22
- package/dist/{product-type-edit-3LRBWZ3S.mjs → product-type-edit-H3JCMVRV.mjs} +2 -2
- package/dist/{product-type-list-XU6DADMO.mjs → product-type-list-7WQ5D2KV.mjs} +4 -19
- package/dist/{product-type-metadata-EGMTZ622.mjs → product-type-metadata-Q6W5GL7Z.mjs} +6 -6
- package/dist/{product-variant-detail-5EKVJXUT.mjs → product-variant-detail-LYGQDASG.mjs} +5 -21
- package/dist/{product-variant-edit-KKLHPWXO.mjs → product-variant-edit-BW7QMHC5.mjs} +5 -5
- package/dist/{product-variant-manage-inventory-items-OGM64KYP.mjs → product-variant-manage-inventory-items-BLHCH6QD.mjs} +2 -2
- package/dist/{product-variant-media-C3KCFODU.mjs → product-variant-media-KLSUISGH.mjs} +2 -2
- package/dist/{product-variant-metadata-LBOIYBBF.mjs → product-variant-metadata-GDMVC4MZ.mjs} +6 -6
- package/dist/{profile-edit-YZCUGEXF.mjs → profile-edit-5EEKOEO5.mjs} +2 -2
- package/dist/{promotion-add-campaign-DO67QK6M.mjs → promotion-add-campaign-JRTM7WBR.mjs} +3 -3
- package/dist/{promotion-create-U6CJPBYU.mjs → promotion-create-HF6DTKCC.mjs} +12 -12
- package/dist/{promotion-detail-BYXN4YXZ.mjs → promotion-detail-MDVDMQUM.mjs} +3 -3
- package/dist/{promotion-edit-details-6BSOOWQN.mjs → promotion-edit-details-AREFQ6O5.mjs} +2 -2
- package/dist/{refund-reason-create-TFC4T4GK.mjs → refund-reason-create-RKIH46D6.mjs} +5 -5
- package/dist/{refund-reason-edit-WTM7WR5V.mjs → refund-reason-edit-V3KC6NMO.mjs} +5 -5
- package/dist/{refund-reason-list-7Q6WDYH6.mjs → refund-reason-list-FR7POQS5.mjs} +4 -4
- package/dist/{region-add-countries-7U4J5RW6.mjs → region-add-countries-AFWXMQ6W.mjs} +2 -2
- package/dist/{region-create-IUGX33M5.mjs → region-create-YC4VZ4AS.mjs} +2 -2
- package/dist/{region-edit-WAU347DP.mjs → region-edit-5GO25GDF.mjs} +2 -2
- package/dist/{region-metadata-EGOMWMMB.mjs → region-metadata-5NGUNAXZ.mjs} +6 -6
- package/dist/{reservation-create-C6HTEF3R.mjs → reservation-create-Z2SUMBGT.mjs} +2 -2
- package/dist/{reservation-detail-FYS6LFU6.mjs → reservation-detail-JH77TQHN.mjs} +3 -3
- package/dist/{reservation-metadata-LZJV35OW.mjs → reservation-metadata-ERCWXYVL.mjs} +6 -6
- package/dist/{reset-password-XKX43KUT.mjs → reset-password-5TAYQEUV.mjs} +2 -3
- package/dist/{return-reason-create-HM54WRJY.mjs → return-reason-create-NXWDC6AC.mjs} +2 -2
- package/dist/{return-reason-edit-VSIRHVQ6.mjs → return-reason-edit-M6IKNNKB.mjs} +2 -2
- package/dist/return-reason-list-IFFIDA5O.mjs +1 -1
- package/dist/{sales-channel-add-products-XPS4JTBL.mjs → sales-channel-add-products-SPGDWA44.mjs} +8 -8
- package/dist/{sales-channel-create-4XLJDVJO.mjs → sales-channel-create-E7BDTPWD.mjs} +2 -2
- package/dist/{sales-channel-detail-5YUELAQ5.mjs → sales-channel-detail-D7VNPSCN.mjs} +6 -6
- package/dist/{sales-channel-edit-UZGSXD5X.mjs → sales-channel-edit-HMPA3Y3L.mjs} +2 -2
- package/dist/{sales-channel-list-N3KDOVBS.mjs → sales-channel-list-QGWQVXVW.mjs} +3 -3
- package/dist/{sales-channel-metadata-MU4BVKOJ.mjs → sales-channel-metadata-CMZN74K7.mjs} +6 -6
- package/dist/{shipping-option-type-create-AS4AVWZV.mjs → shipping-option-type-create-4BN2GBHP.mjs} +5 -5
- package/dist/{shipping-option-type-detail-MCFL4BJE.mjs → shipping-option-type-detail-YB3TCED2.mjs} +4 -4
- package/dist/{shipping-option-type-edit-PJOD3TA4.mjs → shipping-option-type-edit-MDO7ALAU.mjs} +5 -5
- package/dist/{shipping-option-type-list-VD567MQD.mjs → shipping-option-type-list-6TPD3AMM.mjs} +4 -4
- package/dist/{shipping-profile-create-26R64I3Z.mjs → shipping-profile-create-752TMBBE.mjs} +2 -2
- package/dist/{shipping-profile-metadata-6MHI75CB.mjs → shipping-profile-metadata-HQI7PCPU.mjs} +6 -6
- package/dist/{store-add-currencies-ZFS3WZHG.mjs → store-add-currencies-3VMLZ6KB.mjs} +2 -2
- package/dist/{store-add-locales-ERJXWD4L.mjs → store-add-locales-XJJCEO6Q.mjs} +4 -4
- package/dist/{store-detail-EGDXIVWC.mjs → store-detail-DNK76PXP.mjs} +3 -3
- package/dist/{store-edit-AB5CDUTK.mjs → store-edit-EPAHLLKP.mjs} +2 -2
- package/dist/{store-metadata-ZBUQ62YT.mjs → store-metadata-ZJD23O4D.mjs} +6 -6
- package/dist/{tax-region-create-N4YVNQKV.mjs → tax-region-create-NCO2OQ3I.mjs} +5 -5
- package/dist/{tax-region-detail-UJASYH57.mjs → tax-region-detail-C42CLE64.mjs} +22 -23
- package/dist/{tax-region-edit-W3B5EUCJ.mjs → tax-region-edit-YZALLSZY.mjs} +5 -5
- package/dist/{tax-region-list-4MQMCMKY.mjs → tax-region-list-BXZBUXRJ.mjs} +3 -4
- package/dist/{tax-region-province-create-GKJ7WMRS.mjs → tax-region-province-create-5JP3PVID.mjs} +2 -2
- package/dist/{tax-region-province-detail-K4PDPHXP.mjs → tax-region-province-detail-G2DPC6XM.mjs} +21 -22
- package/dist/{tax-region-tax-override-create-NUI4Z76X.mjs → tax-region-tax-override-create-WIVKENVO.mjs} +16 -16
- package/dist/{tax-region-tax-override-edit-Q4GJHUMJ.mjs → tax-region-tax-override-edit-UDEO3UIY.mjs} +17 -17
- package/dist/{tax-region-tax-rate-create-MECFGVPL.mjs → tax-region-tax-rate-create-O2SDSXCH.mjs} +2 -2
- package/dist/{tax-region-tax-rate-edit-7DYSPYOD.mjs → tax-region-tax-rate-edit-W62VEVKT.mjs} +2 -2
- package/dist/{user-edit-ZBB4RMTP.mjs → user-edit-LXQCTDGA.mjs} +2 -2
- package/dist/{user-invite-XB635N26.mjs → user-invite-2OKB7SCF.mjs} +2 -2
- package/dist/{user-metadata-2FTA4EB3.mjs → user-metadata-4WOICEE7.mjs} +6 -6
- package/dist/{workflow-execution-detail-MGIZSKVA.mjs → workflow-execution-detail-OKM6P4SX.mjs} +3 -3
- package/package.json +9 -9
- package/src/components/common/icon-avatar/icon-avatar.tsx +0 -4
- package/src/components/data-grid/components/index.ts +0 -1
- package/src/components/data-grid/data-grid.tsx +0 -2
- package/src/components/layout/settings-layout/settings-layout.tsx +1 -11
- package/src/components/modals/route-focus-modal/route-focus-modal.tsx +3 -8
- package/src/components/modals/route-modal-form/route-modal-form.tsx +1 -6
- package/src/components/modals/route-modal-provider/route-provider.tsx +4 -16
- package/src/dashboard-app/routes/get-route.map.tsx +6 -20
- package/src/hooks/api/index.ts +0 -1
- package/src/hooks/api/orders.tsx +18 -1
- package/src/hooks/api/product-variants.tsx +1 -7
- package/src/i18n/translations/$schema.json +40 -36
- package/src/i18n/translations/en.json +12 -12
- package/src/i18n/translations/es.json +0 -12
- package/src/routes/categories/category-detail/components/category-general-section/category-general-section.tsx +1 -16
- package/src/routes/categories/category-list/components/category-list-table/category-list-table.tsx +1 -16
- package/src/routes/collections/collection-detail/components/collection-general-section/collection-general-section.tsx +1 -16
- package/src/routes/collections/collection-list/components/collection-list-table/collection-row-actions.tsx +1 -16
- package/src/routes/orders/order-export/components/export-filters.tsx +22 -0
- package/src/routes/orders/order-export/index.ts +1 -0
- package/src/routes/orders/order-export/order-export.tsx +66 -0
- package/src/routes/orders/order-list/components/order-list-table/configurable-order-list-table.tsx +14 -6
- package/src/routes/orders/order-list/components/order-list-table/order-list-table.tsx +8 -2
- package/src/routes/product-tags/product-tag-detail/components/product-tag-general-section/product-tag-general-section.tsx +1 -16
- package/src/routes/product-tags/product-tag-list/components/product-tag-list-table/product-tag-list-table.tsx +1 -16
- package/src/routes/product-types/product-type-detail/components/product-type-general-section/product-type-general-section.tsx +1 -16
- package/src/routes/product-types/product-type-list/components/product-type-list-table/product-table-row-actions.tsx +1 -16
- package/src/routes/product-variants/product-variant-detail/components/variant-general-section/variant-general-section.tsx +1 -16
- package/src/routes/products/product-detail/components/product-general-section/product-general-section.tsx +1 -16
- package/src/routes/products/product-detail/components/product-variant-section/product-variant-section.tsx +1 -32
- package/src/routes/products/product-list/components/product-list-table/product-list-table.tsx +1 -15
- package/dist/chunk-4Y2NYEXF.mjs +0 -0
- package/dist/chunk-JQBWAJQZ.mjs +0 -0
- package/dist/translation-list-5ZOAGLCT.mjs +0 -146
- package/dist/translations-edit-QPJLE55N.mjs +0 -390
- package/src/components/data-grid/components/data-grid-textarea-modal-cell.tsx +0 -233
- package/src/hooks/api/translations.tsx +0 -254
- package/src/routes/translations/translation-list/index.tsx +0 -1
- package/src/routes/translations/translation-list/translation-list.tsx +0 -131
- package/src/routes/translations/translations-edit/components/translations-edit-form/index.ts +0 -1
- package/src/routes/translations/translations-edit/components/translations-edit-form/translations-edit-form.tsx +0 -423
- package/src/routes/translations/translations-edit/index.ts +0 -1
- package/src/routes/translations/translations-edit/translations-edit.tsx +0 -67
- package/src/routes/translations/translations-edit/utils/index.ts +0 -1
- package/src/routes/translations/translations-edit/utils/reference-label-map.ts +0 -10
- package/dist/{chunk-CTUJXJYA.mjs → chunk-6WKBBTKM.mjs} +0 -0
- package/dist/{customer-list-ZXCGIXJC.mjs → customer-list-TG4D4QOT.mjs} +3 -3
- package/dist/{region-list-XQRIBDMF.mjs → region-list-JAQXIBYD.mjs} +3 -3
package/dist/{tax-region-tax-rate-edit-7DYSPYOD.mjs → tax-region-tax-rate-edit-W62VEVKT.mjs}
RENAMED
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
} from "./chunk-6HTZNHPT.mjs";
|
|
11
11
|
import {
|
|
12
12
|
RouteDrawer
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
14
14
|
import {
|
|
15
15
|
useRouteModal
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
17
17
|
import {
|
|
18
18
|
Form
|
|
19
19
|
} from "./chunk-OBQI23QM.mjs";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-6HTZNHPT.mjs";
|
|
5
5
|
import {
|
|
6
6
|
RouteDrawer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
8
8
|
import {
|
|
9
9
|
useRouteModal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
11
11
|
import {
|
|
12
12
|
Form
|
|
13
13
|
} from "./chunk-OBQI23QM.mjs";
|
|
@@ -14,10 +14,10 @@ import "./chunk-DZWH2RV6.mjs";
|
|
|
14
14
|
import {
|
|
15
15
|
KeyboundForm
|
|
16
16
|
} from "./chunk-6HTZNHPT.mjs";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-XXBP2Z5M.mjs";
|
|
18
18
|
import {
|
|
19
19
|
RouteFocusModal
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
21
21
|
import {
|
|
22
22
|
isFetchError
|
|
23
23
|
} from "./chunk-ONB3JEHR.mjs";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import "./chunk-XRTVFYCW.mjs";
|
|
2
2
|
import {
|
|
3
3
|
MetadataForm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-D4J3CEWH.mjs";
|
|
5
5
|
import "./chunk-IUCDCPJU.mjs";
|
|
6
6
|
import "./chunk-6HTZNHPT.mjs";
|
|
7
7
|
import {
|
|
8
8
|
RouteDrawer
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
10
|
+
import "./chunk-42OOM4DJ.mjs";
|
|
11
11
|
import "./chunk-LPEUYMRK.mjs";
|
|
12
12
|
import "./chunk-OC7BQLYI.mjs";
|
|
13
13
|
import "./chunk-S4DMV3ZT.mjs";
|
|
14
14
|
import "./chunk-OBQI23QM.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-QPKW37WR.mjs";
|
|
16
16
|
import "./chunk-I4OBEAOJ.mjs";
|
|
17
|
-
import "./chunk-XIVBRONM.mjs";
|
|
18
17
|
import "./chunk-HI6URQ7H.mjs";
|
|
19
18
|
import "./chunk-6CLQKVAU.mjs";
|
|
20
19
|
import "./chunk-KI7TOXBR.mjs";
|
|
21
20
|
import "./chunk-HKIF5HVL.mjs";
|
|
21
|
+
import "./chunk-XIVBRONM.mjs";
|
|
22
22
|
import "./chunk-WAXMT4IY.mjs";
|
|
23
23
|
import "./chunk-DYDGGABK.mjs";
|
|
24
24
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -33,7 +33,7 @@ import "./chunk-NHDFPGQ3.mjs";
|
|
|
33
33
|
import "./chunk-A63RZVX6.mjs";
|
|
34
34
|
import "./chunk-HBXV7ENS.mjs";
|
|
35
35
|
import "./chunk-CDORR33H.mjs";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-RU4ZS47V.mjs";
|
|
37
37
|
import "./chunk-N4O5FAUC.mjs";
|
|
38
38
|
import "./chunk-7AX6R6G6.mjs";
|
|
39
39
|
import "./chunk-N3FCYZV6.mjs";
|
package/dist/{workflow-execution-detail-MGIZSKVA.mjs → workflow-execution-detail-OKM6P4SX.mjs}
RENAMED
|
@@ -20,9 +20,8 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
useDocumentDirection
|
|
22
22
|
} from "./chunk-S4DMV3ZT.mjs";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-QPKW37WR.mjs";
|
|
24
24
|
import "./chunk-I4OBEAOJ.mjs";
|
|
25
|
-
import "./chunk-XIVBRONM.mjs";
|
|
26
25
|
import "./chunk-HI6URQ7H.mjs";
|
|
27
26
|
import "./chunk-6CLQKVAU.mjs";
|
|
28
27
|
import {
|
|
@@ -30,6 +29,7 @@ import {
|
|
|
30
29
|
workflowExecutionsQueryKeys
|
|
31
30
|
} from "./chunk-KI7TOXBR.mjs";
|
|
32
31
|
import "./chunk-HKIF5HVL.mjs";
|
|
32
|
+
import "./chunk-XIVBRONM.mjs";
|
|
33
33
|
import "./chunk-WAXMT4IY.mjs";
|
|
34
34
|
import "./chunk-DYDGGABK.mjs";
|
|
35
35
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -41,7 +41,7 @@ import "./chunk-NHDFPGQ3.mjs";
|
|
|
41
41
|
import "./chunk-A63RZVX6.mjs";
|
|
42
42
|
import "./chunk-HBXV7ENS.mjs";
|
|
43
43
|
import "./chunk-CDORR33H.mjs";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-RU4ZS47V.mjs";
|
|
45
45
|
import "./chunk-N4O5FAUC.mjs";
|
|
46
46
|
import "./chunk-7AX6R6G6.mjs";
|
|
47
47
|
import "./chunk-N3FCYZV6.mjs";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@medusajs/dashboard",
|
|
3
|
-
"version": "3.0.0-snapshot-
|
|
3
|
+
"version": "3.0.0-snapshot-20251212092246",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"generate:static": "node ./scripts/generate-currencies.js && prettier --write ./src/lib/currencies.ts",
|
|
6
6
|
"dev": "../../../node_modules/.bin/vite",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"@dnd-kit/utilities": "^3.2.2",
|
|
47
47
|
"@hookform/error-message": "^2.0.1",
|
|
48
48
|
"@hookform/resolvers": "3.4.2",
|
|
49
|
-
"@medusajs/admin-shared": "3.0.0-snapshot-
|
|
50
|
-
"@medusajs/icons": "3.0.0-snapshot-
|
|
51
|
-
"@medusajs/js-sdk": "3.0.0-snapshot-
|
|
52
|
-
"@medusajs/ui": "4.0.31-snapshot-
|
|
49
|
+
"@medusajs/admin-shared": "3.0.0-snapshot-20251212092246",
|
|
50
|
+
"@medusajs/icons": "3.0.0-snapshot-20251212092246",
|
|
51
|
+
"@medusajs/js-sdk": "3.0.0-snapshot-20251212092246",
|
|
52
|
+
"@medusajs/ui": "4.0.31-snapshot-20251212092246",
|
|
53
53
|
"@radix-ui/react-dialog": "1.1.4",
|
|
54
54
|
"@radix-ui/react-dismissable-layer": "1.1.4",
|
|
55
55
|
"@tanstack/react-query": "5.64.2",
|
|
@@ -80,10 +80,10 @@
|
|
|
80
80
|
"zod": "3.25.76"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
|
-
"@medusajs/admin-shared": "3.0.0-snapshot-
|
|
84
|
-
"@medusajs/admin-vite-plugin": "3.0.0-snapshot-
|
|
85
|
-
"@medusajs/types": "3.0.0-snapshot-
|
|
86
|
-
"@medusajs/ui-preset": "3.0.0-snapshot-
|
|
83
|
+
"@medusajs/admin-shared": "3.0.0-snapshot-20251212092246",
|
|
84
|
+
"@medusajs/admin-vite-plugin": "3.0.0-snapshot-20251212092246",
|
|
85
|
+
"@medusajs/types": "3.0.0-snapshot-20251212092246",
|
|
86
|
+
"@medusajs/ui-preset": "3.0.0-snapshot-20251212092246"
|
|
87
87
|
},
|
|
88
88
|
"packageManager": "yarn@3.2.1"
|
|
89
89
|
}
|
|
@@ -4,7 +4,6 @@ import { PropsWithChildren } from "react"
|
|
|
4
4
|
type IconAvatarProps = PropsWithChildren<{
|
|
5
5
|
className?: string
|
|
6
6
|
size?: "small" | "large" | "xlarge"
|
|
7
|
-
variant?: "squared" | "rounded"
|
|
8
7
|
}>
|
|
9
8
|
|
|
10
9
|
/**
|
|
@@ -14,7 +13,6 @@ type IconAvatarProps = PropsWithChildren<{
|
|
|
14
13
|
*/
|
|
15
14
|
export const IconAvatar = ({
|
|
16
15
|
size = "small",
|
|
17
|
-
variant = "rounded",
|
|
18
16
|
children,
|
|
19
17
|
className,
|
|
20
18
|
}: IconAvatarProps) => {
|
|
@@ -22,8 +20,6 @@ export const IconAvatar = ({
|
|
|
22
20
|
<div
|
|
23
21
|
className={clx(
|
|
24
22
|
"shadow-borders-base flex size-7 items-center justify-center",
|
|
25
|
-
variant === "squared" && "rounded-md",
|
|
26
|
-
variant === "rounded" && "rounded-full",
|
|
27
23
|
"[&>div]:bg-ui-bg-field [&>div]:text-ui-fg-subtle [&>div]:flex [&>div]:size-6 [&>div]:items-center [&>div]:justify-center",
|
|
28
24
|
{
|
|
29
25
|
"size-7 rounded-md [&>div]:size-6 [&>div]:rounded-[4px]":
|
|
@@ -5,4 +5,3 @@ export { DataGridReadonlyCell as DataGridReadOnlyCell } from "./data-grid-readon
|
|
|
5
5
|
export { DataGridRoot, type DataGridRootProps } from "./data-grid-root"
|
|
6
6
|
export { DataGridSkeleton } from "./data-grid-skeleton"
|
|
7
7
|
export { DataGridTextCell } from "./data-grid-text-cell"
|
|
8
|
-
export { DataGridExpandableTextCell } from "./data-grid-textarea-modal-cell"
|
|
@@ -8,7 +8,6 @@ import {
|
|
|
8
8
|
DataGridRoot,
|
|
9
9
|
DataGridSkeleton,
|
|
10
10
|
DataGridTextCell,
|
|
11
|
-
DataGridExpandableTextCell,
|
|
12
11
|
type DataGridRootProps,
|
|
13
12
|
} from "./components"
|
|
14
13
|
|
|
@@ -36,7 +35,6 @@ const _DataGrid = <TData, TFieldValues extends FieldValues = FieldValues>({
|
|
|
36
35
|
export const DataGrid = Object.assign(_DataGrid, {
|
|
37
36
|
BooleanCell: DataGridBooleanCell,
|
|
38
37
|
TextCell: DataGridTextCell,
|
|
39
|
-
ExpandableTextCell: DataGridExpandableTextCell,
|
|
40
38
|
NumberCell: DataGridNumberCell,
|
|
41
39
|
CurrencyCell: DataGridCurrencyCell,
|
|
42
40
|
ReadonlyCell: DataGridReadOnlyCell,
|
|
@@ -9,7 +9,6 @@ import { useExtension } from "../../../providers/extension-provider"
|
|
|
9
9
|
import { INavItem, NavItem } from "../nav-item"
|
|
10
10
|
import { Shell } from "../shell"
|
|
11
11
|
import { UserMenu } from "../user-menu"
|
|
12
|
-
import { useFeatureFlag } from "../../../providers/feature-flag-provider"
|
|
13
12
|
|
|
14
13
|
export const SettingsLayout = () => {
|
|
15
14
|
return (
|
|
@@ -20,19 +19,10 @@ export const SettingsLayout = () => {
|
|
|
20
19
|
}
|
|
21
20
|
|
|
22
21
|
const useSettingRoutes = (): INavItem[] => {
|
|
23
|
-
const isTranslationsEnabled = useFeatureFlag("translation")
|
|
24
22
|
const { t } = useTranslation()
|
|
25
23
|
|
|
26
24
|
return useMemo(
|
|
27
25
|
() => [
|
|
28
|
-
...(isTranslationsEnabled
|
|
29
|
-
? [
|
|
30
|
-
{
|
|
31
|
-
label: t("translations.domain"),
|
|
32
|
-
to: "/settings/translations",
|
|
33
|
-
},
|
|
34
|
-
]
|
|
35
|
-
: []),
|
|
36
26
|
{
|
|
37
27
|
label: t("store.domain"),
|
|
38
28
|
to: "/settings/store",
|
|
@@ -74,7 +64,7 @@ const useSettingRoutes = (): INavItem[] => {
|
|
|
74
64
|
to: "/settings/locations",
|
|
75
65
|
},
|
|
76
66
|
],
|
|
77
|
-
[t
|
|
67
|
+
[t]
|
|
78
68
|
)
|
|
79
69
|
}
|
|
80
70
|
|
|
@@ -8,7 +8,7 @@ import { RouteModalProvider } from "../route-modal-provider/route-provider"
|
|
|
8
8
|
import { StackedModalProvider } from "../stacked-modal-provider"
|
|
9
9
|
|
|
10
10
|
type RouteFocusModalProps = PropsWithChildren<{
|
|
11
|
-
prev?: string | Partial<Path>
|
|
11
|
+
prev?: string | Partial<Path>
|
|
12
12
|
}>
|
|
13
13
|
|
|
14
14
|
const Root = ({ prev = "..", children }: RouteFocusModalProps) => {
|
|
@@ -16,8 +16,7 @@ const Root = ({ prev = "..", children }: RouteFocusModalProps) => {
|
|
|
16
16
|
const [open, setOpen] = useState(false)
|
|
17
17
|
const [stackedModalOpen, onStackedModalOpen] = useState(false)
|
|
18
18
|
|
|
19
|
-
const to
|
|
20
|
-
typeof prev === "number" ? prev : useStateAwareTo(prev)
|
|
19
|
+
const to = useStateAwareTo(prev)
|
|
21
20
|
|
|
22
21
|
/**
|
|
23
22
|
* Open the modal when the component mounts. This
|
|
@@ -35,11 +34,7 @@ const Root = ({ prev = "..", children }: RouteFocusModalProps) => {
|
|
|
35
34
|
const handleOpenChange = (open: boolean) => {
|
|
36
35
|
if (!open) {
|
|
37
36
|
document.body.style.pointerEvents = "auto"
|
|
38
|
-
|
|
39
|
-
navigate(to)
|
|
40
|
-
} else {
|
|
41
|
-
navigate(to, { replace: true })
|
|
42
|
-
}
|
|
37
|
+
navigate(to, { replace: true })
|
|
43
38
|
return
|
|
44
39
|
}
|
|
45
40
|
|
|
@@ -24,12 +24,7 @@ export const RouteModalForm = <TFieldValues extends FieldValues = any>({
|
|
|
24
24
|
} = form
|
|
25
25
|
|
|
26
26
|
const blocker = useBlocker(({ currentLocation, nextLocation }) => {
|
|
27
|
-
|
|
28
|
-
// This handles browser history navigation (-1) where we set state on current location
|
|
29
|
-
const { isSubmitSuccessful: nextIsSuccessful } = nextLocation.state || {}
|
|
30
|
-
const { isSubmitSuccessful: currentIsSuccessful } =
|
|
31
|
-
currentLocation.state || {}
|
|
32
|
-
const isSubmitSuccessful = nextIsSuccessful || currentIsSuccessful
|
|
27
|
+
const { isSubmitSuccessful } = nextLocation.state || {}
|
|
33
28
|
|
|
34
29
|
if (isSubmitSuccessful) {
|
|
35
30
|
onClose?.(true)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { PropsWithChildren, useCallback, useMemo, useState } from "react"
|
|
2
|
-
import { Path,
|
|
2
|
+
import { Path, useNavigate } from "react-router-dom"
|
|
3
3
|
import { RouteModalProviderContext } from "./route-modal-context"
|
|
4
4
|
|
|
5
5
|
type RouteModalProviderProps = PropsWithChildren<{
|
|
6
|
-
prev: string | Partial<Path>
|
|
6
|
+
prev: string | Partial<Path>
|
|
7
7
|
}>
|
|
8
8
|
|
|
9
9
|
export const RouteModalProvider = ({
|
|
@@ -11,27 +11,15 @@ export const RouteModalProvider = ({
|
|
|
11
11
|
children,
|
|
12
12
|
}: RouteModalProviderProps) => {
|
|
13
13
|
const navigate = useNavigate()
|
|
14
|
-
const location = useLocation()
|
|
15
14
|
|
|
16
15
|
const [closeOnEscape, setCloseOnEscape] = useState(true)
|
|
17
16
|
|
|
18
17
|
const handleSuccess = useCallback(
|
|
19
18
|
(path?: string) => {
|
|
20
19
|
const to = path || prev
|
|
21
|
-
|
|
22
|
-
// Replace current location with success state, then navigate back
|
|
23
|
-
navigate(location.pathname + location.search, {
|
|
24
|
-
replace: true,
|
|
25
|
-
state: { ...location.state, isSubmitSuccessful: true },
|
|
26
|
-
})
|
|
27
|
-
setTimeout(() => {
|
|
28
|
-
navigate(to)
|
|
29
|
-
}, 0)
|
|
30
|
-
} else {
|
|
31
|
-
navigate(to, { replace: true, state: { isSubmitSuccessful: true } })
|
|
32
|
-
}
|
|
20
|
+
navigate(to, { replace: true, state: { isSubmitSuccessful: true } })
|
|
33
21
|
},
|
|
34
|
-
[navigate, prev
|
|
22
|
+
[navigate, prev]
|
|
35
23
|
)
|
|
36
24
|
|
|
37
25
|
const value = useMemo(
|
|
@@ -300,6 +300,12 @@ export function getRouteMap({
|
|
|
300
300
|
{
|
|
301
301
|
path: "",
|
|
302
302
|
lazy: () => import("../../routes/orders/order-list"),
|
|
303
|
+
children: [
|
|
304
|
+
{
|
|
305
|
+
path: "export",
|
|
306
|
+
lazy: () => import("../../routes/orders/order-export"),
|
|
307
|
+
},
|
|
308
|
+
],
|
|
303
309
|
},
|
|
304
310
|
{
|
|
305
311
|
path: ":id",
|
|
@@ -939,26 +945,6 @@ export function getRouteMap({
|
|
|
939
945
|
},
|
|
940
946
|
],
|
|
941
947
|
},
|
|
942
|
-
{
|
|
943
|
-
path: "translations",
|
|
944
|
-
errorElement: <ErrorBoundary />,
|
|
945
|
-
element: <Outlet />,
|
|
946
|
-
handle: {
|
|
947
|
-
breadcrumb: () => t("translations.domain"),
|
|
948
|
-
},
|
|
949
|
-
children: [
|
|
950
|
-
{
|
|
951
|
-
path: "",
|
|
952
|
-
lazy: () =>
|
|
953
|
-
import("../../routes/translations/translation-list"),
|
|
954
|
-
},
|
|
955
|
-
{
|
|
956
|
-
path: "edit",
|
|
957
|
-
lazy: () =>
|
|
958
|
-
import("../../routes/translations/translations-edit"),
|
|
959
|
-
},
|
|
960
|
-
],
|
|
961
|
-
},
|
|
962
948
|
{
|
|
963
949
|
path: "regions",
|
|
964
950
|
errorElement: <ErrorBoundary />,
|
package/src/hooks/api/index.ts
CHANGED
package/src/hooks/api/orders.tsx
CHANGED
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
import { sdk } from "../../lib/client"
|
|
11
11
|
import { queryClient } from "../../lib/query-client"
|
|
12
12
|
import { queryKeysFactory, TQueryKey } from "../../lib/query-key-factory"
|
|
13
|
-
import { reservationItemsQueryKeys } from "./reservations"
|
|
14
13
|
import { inventoryItemsQueryKeys } from "./inventory"
|
|
14
|
+
import { reservationItemsQueryKeys } from "./reservations"
|
|
15
15
|
|
|
16
16
|
const ORDERS_QUERY_KEY = "orders" as const
|
|
17
17
|
const _orderKeys = queryKeysFactory(ORDERS_QUERY_KEY) as TQueryKey<"orders"> & {
|
|
@@ -438,3 +438,20 @@ export const useUpdateOrderChange = (
|
|
|
438
438
|
...options,
|
|
439
439
|
})
|
|
440
440
|
}
|
|
441
|
+
|
|
442
|
+
export const useExportOrders = (
|
|
443
|
+
query?: HttpTypes.AdminOrderFilters,
|
|
444
|
+
options?: UseMutationOptions<
|
|
445
|
+
{ transaction_id: string },
|
|
446
|
+
FetchError,
|
|
447
|
+
HttpTypes.AdminOrderFilters
|
|
448
|
+
>
|
|
449
|
+
) => {
|
|
450
|
+
return useMutation({
|
|
451
|
+
mutationFn: () => sdk.admin.order.export(query),
|
|
452
|
+
onSuccess: (data, variables, context) => {
|
|
453
|
+
options?.onSuccess?.(data, variables, context)
|
|
454
|
+
},
|
|
455
|
+
...options,
|
|
456
|
+
})
|
|
457
|
+
}
|
|
@@ -2,7 +2,6 @@ import { QueryKey, useQuery, UseQueryOptions } from "@tanstack/react-query"
|
|
|
2
2
|
import { sdk } from "../../lib/client"
|
|
3
3
|
import { queryKeysFactory } from "../../lib/query-key-factory"
|
|
4
4
|
import { FetchError } from "@medusajs/js-sdk"
|
|
5
|
-
import { HttpTypes } from "@medusajs/types"
|
|
6
5
|
|
|
7
6
|
const PRODUCT_VARIANT_QUERY_KEY = "product_variant" as const
|
|
8
7
|
export const productVariantQueryKeys = queryKeysFactory(
|
|
@@ -12,12 +11,7 @@ export const productVariantQueryKeys = queryKeysFactory(
|
|
|
12
11
|
export const useVariants = (
|
|
13
12
|
query?: Record<string, any>,
|
|
14
13
|
options?: Omit<
|
|
15
|
-
UseQueryOptions<
|
|
16
|
-
HttpTypes.AdminProductVariantListResponse,
|
|
17
|
-
FetchError,
|
|
18
|
-
HttpTypes.AdminProductVariantListResponse,
|
|
19
|
-
QueryKey
|
|
20
|
-
>,
|
|
14
|
+
UseQueryOptions<any, FetchError, any, QueryKey>,
|
|
21
15
|
"queryFn" | "queryKey"
|
|
22
16
|
>
|
|
23
17
|
) => {
|
|
@@ -4049,6 +4049,45 @@
|
|
|
4049
4049
|
"required": ["noRecordsMessage"],
|
|
4050
4050
|
"additionalProperties": false
|
|
4051
4051
|
},
|
|
4052
|
+
"export": {
|
|
4053
|
+
"type": "object",
|
|
4054
|
+
"properties": {
|
|
4055
|
+
"header": {
|
|
4056
|
+
"type": "string"
|
|
4057
|
+
},
|
|
4058
|
+
"description": {
|
|
4059
|
+
"type": "string"
|
|
4060
|
+
},
|
|
4061
|
+
"success": {
|
|
4062
|
+
"type": "object",
|
|
4063
|
+
"properties": {
|
|
4064
|
+
"title": {
|
|
4065
|
+
"type": "string"
|
|
4066
|
+
},
|
|
4067
|
+
"description": {
|
|
4068
|
+
"type": "string"
|
|
4069
|
+
}
|
|
4070
|
+
},
|
|
4071
|
+
"required": ["title", "description"],
|
|
4072
|
+
"additionalProperties": false
|
|
4073
|
+
},
|
|
4074
|
+
"filters": {
|
|
4075
|
+
"type": "object",
|
|
4076
|
+
"properties": {
|
|
4077
|
+
"title": {
|
|
4078
|
+
"type": "string"
|
|
4079
|
+
},
|
|
4080
|
+
"description": {
|
|
4081
|
+
"type": "string"
|
|
4082
|
+
}
|
|
4083
|
+
},
|
|
4084
|
+
"required": ["title", "description"],
|
|
4085
|
+
"additionalProperties": false
|
|
4086
|
+
}
|
|
4087
|
+
},
|
|
4088
|
+
"required": ["header", "description", "success", "filters"],
|
|
4089
|
+
"additionalProperties": false
|
|
4090
|
+
},
|
|
4052
4091
|
"status": {
|
|
4053
4092
|
"type": "object",
|
|
4054
4093
|
"properties": {
|
|
@@ -5740,6 +5779,7 @@
|
|
|
5740
5779
|
"orderCanceled",
|
|
5741
5780
|
"onDateFromSalesChannel",
|
|
5742
5781
|
"list",
|
|
5782
|
+
"export",
|
|
5743
5783
|
"status",
|
|
5744
5784
|
"summary",
|
|
5745
5785
|
"transfer",
|
|
@@ -9288,42 +9328,6 @@
|
|
|
9288
9328
|
],
|
|
9289
9329
|
"additionalProperties": false
|
|
9290
9330
|
},
|
|
9291
|
-
"translations": {
|
|
9292
|
-
"type": "object",
|
|
9293
|
-
"properties": {
|
|
9294
|
-
"domain": {
|
|
9295
|
-
"type": "string"
|
|
9296
|
-
},
|
|
9297
|
-
"subtitle": {
|
|
9298
|
-
"type": "string"
|
|
9299
|
-
},
|
|
9300
|
-
"actions": {
|
|
9301
|
-
"type": "object",
|
|
9302
|
-
"properties": {
|
|
9303
|
-
"manageLocales": {
|
|
9304
|
-
"type": "string"
|
|
9305
|
-
},
|
|
9306
|
-
"manage": {
|
|
9307
|
-
"type": "string"
|
|
9308
|
-
}
|
|
9309
|
-
},
|
|
9310
|
-
"required": ["manageLocales", "manage"]
|
|
9311
|
-
},
|
|
9312
|
-
"bulk": {
|
|
9313
|
-
"type": "object",
|
|
9314
|
-
"properties": {
|
|
9315
|
-
"header": {
|
|
9316
|
-
"type": "string"
|
|
9317
|
-
},
|
|
9318
|
-
"mainColumn": {
|
|
9319
|
-
"type": "string"
|
|
9320
|
-
}
|
|
9321
|
-
},
|
|
9322
|
-
"required": ["header"]
|
|
9323
|
-
}
|
|
9324
|
-
},
|
|
9325
|
-
"required": ["domain", "actions", "subtitle", "bulk"]
|
|
9326
|
-
},
|
|
9327
9331
|
"store": {
|
|
9328
9332
|
"type": "object",
|
|
9329
9333
|
"properties": {
|
|
@@ -1080,6 +1080,18 @@
|
|
|
1080
1080
|
"list": {
|
|
1081
1081
|
"noRecordsMessage": "Your orders will show up here."
|
|
1082
1082
|
},
|
|
1083
|
+
"export": {
|
|
1084
|
+
"header": "Export Order List",
|
|
1085
|
+
"description": "Export the order list to a CSV file.",
|
|
1086
|
+
"success": {
|
|
1087
|
+
"title": "Export started",
|
|
1088
|
+
"description": "You will be notified when the export is ready."
|
|
1089
|
+
},
|
|
1090
|
+
"filters": {
|
|
1091
|
+
"title": "Filters",
|
|
1092
|
+
"description": "The following filters will be applied to the export."
|
|
1093
|
+
}
|
|
1094
|
+
},
|
|
1083
1095
|
"status": {
|
|
1084
1096
|
"not_paid": "Not paid",
|
|
1085
1097
|
"pending": "Pending",
|
|
@@ -2492,18 +2504,6 @@
|
|
|
2492
2504
|
"deleteUserSuccess": "User {{name}} deleted successfully",
|
|
2493
2505
|
"invite": "Invite"
|
|
2494
2506
|
},
|
|
2495
|
-
"translations": {
|
|
2496
|
-
"domain": "Translations",
|
|
2497
|
-
"actions": {
|
|
2498
|
-
"manage": "Manage translations",
|
|
2499
|
-
"manageLocales": "Manage locales"
|
|
2500
|
-
},
|
|
2501
|
-
"subtitle": "Manage translations of your data in Medusa.",
|
|
2502
|
-
"bulk": {
|
|
2503
|
-
"header": "Translations Bulk Editor",
|
|
2504
|
-
"mainColumn": "Locale"
|
|
2505
|
-
}
|
|
2506
|
-
},
|
|
2507
2507
|
"store": {
|
|
2508
2508
|
"domain": "Store",
|
|
2509
2509
|
"manageYourStoresDetails": "Manage your store's details",
|
|
@@ -2443,18 +2443,6 @@
|
|
|
2443
2443
|
"deleteUserSuccess": "Usuario {{name}} eliminado correctamente",
|
|
2444
2444
|
"invite": "Invitar"
|
|
2445
2445
|
},
|
|
2446
|
-
"translations": {
|
|
2447
|
-
"domain": "Traducciones",
|
|
2448
|
-
"actions": {
|
|
2449
|
-
"manage": "Gestionar traducciones",
|
|
2450
|
-
"manageLocales": "Gestionar idiomas"
|
|
2451
|
-
},
|
|
2452
|
-
"subtitle": "Gestiona las traducciones de tus datos en Medusa.",
|
|
2453
|
-
"bulk": {
|
|
2454
|
-
"header": "Editor de Traducciones en Masa",
|
|
2455
|
-
"locale": "Idioma"
|
|
2456
|
-
}
|
|
2457
|
-
},
|
|
2458
2446
|
"store": {
|
|
2459
2447
|
"domain": "Tienda",
|
|
2460
2448
|
"manageYourStoresDetails": "Gestiona los detalles de tu tienda",
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PencilSquare, Trash } from "@medusajs/icons"
|
|
2
2
|
import { HttpTypes } from "@medusajs/types"
|
|
3
3
|
import { Container, Heading, StatusBadge, Text } from "@medusajs/ui"
|
|
4
4
|
import { useTranslation } from "react-i18next"
|
|
5
5
|
import { ActionMenu } from "../../../../../components/common/action-menu"
|
|
6
6
|
import { useDeleteProductCategoryAction } from "../../../common/hooks/use-delete-product-category-action"
|
|
7
7
|
import { getIsActiveProps, getIsInternalProps } from "../../../common/utils"
|
|
8
|
-
import { useFeatureFlag } from "../../../../../providers/feature-flag-provider"
|
|
9
8
|
|
|
10
9
|
type CategoryGeneralSectionProps = {
|
|
11
10
|
category: HttpTypes.AdminProductCategory
|
|
@@ -15,7 +14,6 @@ export const CategoryGeneralSection = ({
|
|
|
15
14
|
category,
|
|
16
15
|
}: CategoryGeneralSectionProps) => {
|
|
17
16
|
const { t } = useTranslation()
|
|
18
|
-
const isTranslationsEnabled = useFeatureFlag("translation")
|
|
19
17
|
|
|
20
18
|
const activeProps = getIsActiveProps(category.is_active, t)
|
|
21
19
|
const internalProps = getIsInternalProps(category.is_internal, t)
|
|
@@ -46,19 +44,6 @@ export const CategoryGeneralSection = ({
|
|
|
46
44
|
},
|
|
47
45
|
],
|
|
48
46
|
},
|
|
49
|
-
...(isTranslationsEnabled
|
|
50
|
-
? [
|
|
51
|
-
{
|
|
52
|
-
actions: [
|
|
53
|
-
{
|
|
54
|
-
label: t("translations.actions.manage"),
|
|
55
|
-
to: `/settings/translations/edit?reference=product_category&reference_id=${category.id}`,
|
|
56
|
-
icon: <GlobeEurope />,
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
|
-
},
|
|
60
|
-
]
|
|
61
|
-
: []),
|
|
62
47
|
{
|
|
63
48
|
actions: [
|
|
64
49
|
{
|
package/src/routes/categories/category-list/components/category-list-table/category-list-table.tsx
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { PencilSquare, Trash } from "@medusajs/icons"
|
|
2
2
|
import { AdminProductCategoryResponse } from "@medusajs/types"
|
|
3
3
|
import { Button, Container, Heading, Text } from "@medusajs/ui"
|
|
4
4
|
import { keepPreviousData } from "@tanstack/react-query"
|
|
@@ -14,7 +14,6 @@ import { useDataTable } from "../../../../../hooks/use-data-table"
|
|
|
14
14
|
import { useDeleteProductCategoryAction } from "../../../common/hooks/use-delete-product-category-action"
|
|
15
15
|
import { useCategoryTableColumns } from "./use-category-table-columns"
|
|
16
16
|
import { useCategoryTableQuery } from "./use-category-table-query"
|
|
17
|
-
import { useFeatureFlag } from "../../../../../providers/feature-flag-provider"
|
|
18
17
|
|
|
19
18
|
const PAGE_SIZE = 20
|
|
20
19
|
|
|
@@ -106,7 +105,6 @@ const CategoryRowActions = ({
|
|
|
106
105
|
category: AdminProductCategoryResponse["product_category"]
|
|
107
106
|
}) => {
|
|
108
107
|
const { t } = useTranslation()
|
|
109
|
-
const isTranslationsEnabled = useFeatureFlag("translation")
|
|
110
108
|
const handleDelete = useDeleteProductCategoryAction(category)
|
|
111
109
|
|
|
112
110
|
return (
|
|
@@ -121,19 +119,6 @@ const CategoryRowActions = ({
|
|
|
121
119
|
},
|
|
122
120
|
],
|
|
123
121
|
},
|
|
124
|
-
...(isTranslationsEnabled
|
|
125
|
-
? [
|
|
126
|
-
{
|
|
127
|
-
actions: [
|
|
128
|
-
{
|
|
129
|
-
icon: <GlobeEurope />,
|
|
130
|
-
label: t("translations.actions.manage"),
|
|
131
|
-
to: `/settings/translations/edit?reference=product_category&reference_id=${category.id}`,
|
|
132
|
-
},
|
|
133
|
-
],
|
|
134
|
-
},
|
|
135
|
-
]
|
|
136
|
-
: []),
|
|
137
122
|
{
|
|
138
123
|
actions: [
|
|
139
124
|
{
|