@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
|
@@ -5,15 +5,20 @@ import "./chunk-PYIO3TDQ.mjs";
|
|
|
5
5
|
import {
|
|
6
6
|
formatPercentage
|
|
7
7
|
} from "./chunk-4FM6S5CX.mjs";
|
|
8
|
+
import {
|
|
9
|
+
useCancelClaim,
|
|
10
|
+
useCancelClaimRequest,
|
|
11
|
+
useClaims
|
|
12
|
+
} from "./chunk-F5NZDW7L.mjs";
|
|
8
13
|
import {
|
|
9
14
|
useCancelExchange,
|
|
10
15
|
useCancelExchangeRequest,
|
|
11
16
|
useExchanges
|
|
12
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-F63F3FIT.mjs";
|
|
13
18
|
import {
|
|
14
19
|
useCancelOrderEdit,
|
|
15
20
|
useConfirmOrderEdit
|
|
16
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-Z6NHG5LQ.mjs";
|
|
17
22
|
import {
|
|
18
23
|
getLoyaltyPlugin
|
|
19
24
|
} from "./chunk-AMRS4CSX.mjs";
|
|
@@ -27,11 +32,6 @@ import {
|
|
|
27
32
|
getPaymentsFromOrder,
|
|
28
33
|
getReservationsLimitCount
|
|
29
34
|
} from "./chunk-4XSXVVYD.mjs";
|
|
30
|
-
import {
|
|
31
|
-
useCancelClaim,
|
|
32
|
-
useCancelClaimRequest,
|
|
33
|
-
useClaims
|
|
34
|
-
} from "./chunk-4VNR7DND.mjs";
|
|
35
35
|
import {
|
|
36
36
|
getReturnableQuantity
|
|
37
37
|
} from "./chunk-PXZ7QYKX.mjs";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
useCancelReturn,
|
|
43
43
|
useCancelReturnRequest,
|
|
44
44
|
useReturns
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-B3AOQW2B.mjs";
|
|
46
46
|
import {
|
|
47
47
|
getCanceledOrderStatus,
|
|
48
48
|
getOrderFulfillmentStatus,
|
|
@@ -85,13 +85,13 @@ import {
|
|
|
85
85
|
useCapturePayment,
|
|
86
86
|
useMarkPaymentCollectionAsPaid,
|
|
87
87
|
usePlugins
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-QPKW37WR.mjs";
|
|
89
89
|
import "./chunk-I4OBEAOJ.mjs";
|
|
90
|
-
import "./chunk-XIVBRONM.mjs";
|
|
91
90
|
import "./chunk-HI6URQ7H.mjs";
|
|
92
91
|
import "./chunk-6CLQKVAU.mjs";
|
|
93
92
|
import "./chunk-KI7TOXBR.mjs";
|
|
94
93
|
import "./chunk-HKIF5HVL.mjs";
|
|
94
|
+
import "./chunk-XIVBRONM.mjs";
|
|
95
95
|
import "./chunk-WAXMT4IY.mjs";
|
|
96
96
|
import "./chunk-DYDGGABK.mjs";
|
|
97
97
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -117,7 +117,7 @@ import {
|
|
|
117
117
|
useOrderChanges,
|
|
118
118
|
useOrderLineItems,
|
|
119
119
|
useOrderPreview
|
|
120
|
-
} from "./chunk-
|
|
120
|
+
} from "./chunk-RU4ZS47V.mjs";
|
|
121
121
|
import {
|
|
122
122
|
useReservationItems
|
|
123
123
|
} from "./chunk-N4O5FAUC.mjs";
|
package/dist/{order-edit-billing-address-KMV6RJ6F.mjs → order-edit-billing-address-3IO7GXIK.mjs}
RENAMED
|
@@ -11,21 +11,21 @@ import {
|
|
|
11
11
|
} from "./chunk-6HTZNHPT.mjs";
|
|
12
12
|
import {
|
|
13
13
|
RouteDrawer
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
15
15
|
import {
|
|
16
16
|
useRouteModal
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
18
18
|
import "./chunk-DG7J63J2.mjs";
|
|
19
19
|
import {
|
|
20
20
|
Form
|
|
21
21
|
} from "./chunk-OBQI23QM.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-QPKW37WR.mjs";
|
|
23
23
|
import "./chunk-I4OBEAOJ.mjs";
|
|
24
|
-
import "./chunk-XIVBRONM.mjs";
|
|
25
24
|
import "./chunk-HI6URQ7H.mjs";
|
|
26
25
|
import "./chunk-6CLQKVAU.mjs";
|
|
27
26
|
import "./chunk-KI7TOXBR.mjs";
|
|
28
27
|
import "./chunk-HKIF5HVL.mjs";
|
|
28
|
+
import "./chunk-XIVBRONM.mjs";
|
|
29
29
|
import "./chunk-WAXMT4IY.mjs";
|
|
30
30
|
import "./chunk-DYDGGABK.mjs";
|
|
31
31
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -40,7 +40,7 @@ import "./chunk-CDORR33H.mjs";
|
|
|
40
40
|
import {
|
|
41
41
|
useOrder,
|
|
42
42
|
useUpdateOrder
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-RU4ZS47V.mjs";
|
|
44
44
|
import "./chunk-N4O5FAUC.mjs";
|
|
45
45
|
import "./chunk-7AX6R6G6.mjs";
|
|
46
46
|
import "./chunk-N3FCYZV6.mjs";
|
|
@@ -7,20 +7,20 @@ import {
|
|
|
7
7
|
} from "./chunk-6HTZNHPT.mjs";
|
|
8
8
|
import {
|
|
9
9
|
RouteDrawer
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
11
11
|
import {
|
|
12
12
|
useRouteModal
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
14
14
|
import {
|
|
15
15
|
Form
|
|
16
16
|
} from "./chunk-OBQI23QM.mjs";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-QPKW37WR.mjs";
|
|
18
18
|
import "./chunk-I4OBEAOJ.mjs";
|
|
19
|
-
import "./chunk-XIVBRONM.mjs";
|
|
20
19
|
import "./chunk-HI6URQ7H.mjs";
|
|
21
20
|
import "./chunk-6CLQKVAU.mjs";
|
|
22
21
|
import "./chunk-KI7TOXBR.mjs";
|
|
23
22
|
import "./chunk-HKIF5HVL.mjs";
|
|
23
|
+
import "./chunk-XIVBRONM.mjs";
|
|
24
24
|
import "./chunk-WAXMT4IY.mjs";
|
|
25
25
|
import "./chunk-DYDGGABK.mjs";
|
|
26
26
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -35,7 +35,7 @@ import "./chunk-CDORR33H.mjs";
|
|
|
35
35
|
import {
|
|
36
36
|
useOrder,
|
|
37
37
|
useUpdateOrder
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-RU4ZS47V.mjs";
|
|
39
39
|
import "./chunk-N4O5FAUC.mjs";
|
|
40
40
|
import "./chunk-7AX6R6G6.mjs";
|
|
41
41
|
import "./chunk-N3FCYZV6.mjs";
|
package/dist/{order-edit-shipping-address-HEFMKAJP.mjs → order-edit-shipping-address-QGGMHGBC.mjs}
RENAMED
|
@@ -11,21 +11,21 @@ import {
|
|
|
11
11
|
} from "./chunk-6HTZNHPT.mjs";
|
|
12
12
|
import {
|
|
13
13
|
RouteDrawer
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
15
15
|
import {
|
|
16
16
|
useRouteModal
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
18
18
|
import "./chunk-DG7J63J2.mjs";
|
|
19
19
|
import {
|
|
20
20
|
Form
|
|
21
21
|
} from "./chunk-OBQI23QM.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-QPKW37WR.mjs";
|
|
23
23
|
import "./chunk-I4OBEAOJ.mjs";
|
|
24
|
-
import "./chunk-XIVBRONM.mjs";
|
|
25
24
|
import "./chunk-HI6URQ7H.mjs";
|
|
26
25
|
import "./chunk-6CLQKVAU.mjs";
|
|
27
26
|
import "./chunk-KI7TOXBR.mjs";
|
|
28
27
|
import "./chunk-HKIF5HVL.mjs";
|
|
28
|
+
import "./chunk-XIVBRONM.mjs";
|
|
29
29
|
import "./chunk-WAXMT4IY.mjs";
|
|
30
30
|
import "./chunk-DYDGGABK.mjs";
|
|
31
31
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -40,7 +40,7 @@ import "./chunk-CDORR33H.mjs";
|
|
|
40
40
|
import {
|
|
41
41
|
useOrder,
|
|
42
42
|
useUpdateOrder
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-RU4ZS47V.mjs";
|
|
44
44
|
import "./chunk-N4O5FAUC.mjs";
|
|
45
45
|
import "./chunk-7AX6R6G6.mjs";
|
|
46
46
|
import "./chunk-N3FCYZV6.mjs";
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useOrderTableFilters
|
|
3
|
+
} from "./chunk-35LSPN2U.mjs";
|
|
4
|
+
import "./chunk-MFALVTRQ.mjs";
|
|
5
|
+
import "./chunk-RIV7FKGN.mjs";
|
|
6
|
+
import "./chunk-TDK3JDOB.mjs";
|
|
7
|
+
import "./chunk-FHSC5X62.mjs";
|
|
8
|
+
import "./chunk-XR4GEMGR.mjs";
|
|
9
|
+
import "./chunk-WRSGHGAT.mjs";
|
|
10
|
+
import "./chunk-MOSRJHJ3.mjs";
|
|
11
|
+
import "./chunk-OMC5JCQH.mjs";
|
|
12
|
+
import {
|
|
13
|
+
useOrderTableQuery
|
|
14
|
+
} from "./chunk-IW4TACOD.mjs";
|
|
15
|
+
import "./chunk-R65S6ZZV.mjs";
|
|
16
|
+
import {
|
|
17
|
+
DataTableFilter
|
|
18
|
+
} from "./chunk-GU5PJRPM.mjs";
|
|
19
|
+
import "./chunk-C76H5USB.mjs";
|
|
20
|
+
import "./chunk-DZWH2RV6.mjs";
|
|
21
|
+
import {
|
|
22
|
+
RouteDrawer
|
|
23
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
24
|
+
import {
|
|
25
|
+
useRouteModal
|
|
26
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
27
|
+
import "./chunk-SUYYSKCB.mjs";
|
|
28
|
+
import "./chunk-OBQI23QM.mjs";
|
|
29
|
+
import "./chunk-QPKW37WR.mjs";
|
|
30
|
+
import "./chunk-I4OBEAOJ.mjs";
|
|
31
|
+
import "./chunk-HI6URQ7H.mjs";
|
|
32
|
+
import "./chunk-6CLQKVAU.mjs";
|
|
33
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
34
|
+
import "./chunk-HKIF5HVL.mjs";
|
|
35
|
+
import "./chunk-XIVBRONM.mjs";
|
|
36
|
+
import "./chunk-WAXMT4IY.mjs";
|
|
37
|
+
import "./chunk-DYDGGABK.mjs";
|
|
38
|
+
import "./chunk-LGNTHZ5Y.mjs";
|
|
39
|
+
import "./chunk-CN7JXSGW.mjs";
|
|
40
|
+
import "./chunk-5BQQRHQS.mjs";
|
|
41
|
+
import "./chunk-Y5UO73CH.mjs";
|
|
42
|
+
import "./chunk-5AFMB7XQ.mjs";
|
|
43
|
+
import "./chunk-NHDFPGQ3.mjs";
|
|
44
|
+
import "./chunk-A63RZVX6.mjs";
|
|
45
|
+
import "./chunk-HBXV7ENS.mjs";
|
|
46
|
+
import "./chunk-CDORR33H.mjs";
|
|
47
|
+
import {
|
|
48
|
+
useExportOrders
|
|
49
|
+
} from "./chunk-RU4ZS47V.mjs";
|
|
50
|
+
import "./chunk-N4O5FAUC.mjs";
|
|
51
|
+
import "./chunk-7AX6R6G6.mjs";
|
|
52
|
+
import "./chunk-N3FCYZV6.mjs";
|
|
53
|
+
import "./chunk-3BF5SC66.mjs";
|
|
54
|
+
import "./chunk-VCSSQVPD.mjs";
|
|
55
|
+
import "./chunk-HP2JH45P.mjs";
|
|
56
|
+
import "./chunk-SQDIZZDW.mjs";
|
|
57
|
+
import "./chunk-LEJUZW3P.mjs";
|
|
58
|
+
import "./chunk-FXYH54JP.mjs";
|
|
59
|
+
import "./chunk-774WSTCC.mjs";
|
|
60
|
+
import "./chunk-NFEK63OE.mjs";
|
|
61
|
+
import "./chunk-QZ7TP4HQ.mjs";
|
|
62
|
+
|
|
63
|
+
// src/routes/orders/order-export/order-export.tsx
|
|
64
|
+
import { Button, Heading as Heading2, toast } from "@medusajs/ui";
|
|
65
|
+
import { useTranslation as useTranslation2 } from "react-i18next";
|
|
66
|
+
|
|
67
|
+
// src/routes/orders/order-export/components/export-filters.tsx
|
|
68
|
+
import { Heading, Text } from "@medusajs/ui";
|
|
69
|
+
import { useTranslation } from "react-i18next";
|
|
70
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
71
|
+
var ExportFilters = () => {
|
|
72
|
+
const { t } = useTranslation();
|
|
73
|
+
const filters = useOrderTableFilters();
|
|
74
|
+
return /* @__PURE__ */ jsxs("div", { children: [
|
|
75
|
+
/* @__PURE__ */ jsx(Heading, { level: "h2", children: t("orders.export.filters.title") }),
|
|
76
|
+
/* @__PURE__ */ jsx(Text, { size: "small", className: "text-ui-fg-subtle", children: t("orders.export.filters.description") }),
|
|
77
|
+
/* @__PURE__ */ jsx("div", { className: "mt-4", children: /* @__PURE__ */ jsx(DataTableFilter, { filters, readonly: true }) })
|
|
78
|
+
] });
|
|
79
|
+
};
|
|
80
|
+
|
|
81
|
+
// src/routes/orders/order-export/order-export.tsx
|
|
82
|
+
import { Fragment, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
83
|
+
var OrderExport = () => {
|
|
84
|
+
const { t } = useTranslation2();
|
|
85
|
+
return /* @__PURE__ */ jsxs2(RouteDrawer, { children: [
|
|
86
|
+
/* @__PURE__ */ jsxs2(RouteDrawer.Header, { children: [
|
|
87
|
+
/* @__PURE__ */ jsx2(RouteDrawer.Title, { asChild: true, children: /* @__PURE__ */ jsx2(Heading2, { children: t("orders.export.header") }) }),
|
|
88
|
+
/* @__PURE__ */ jsx2(RouteDrawer.Description, { className: "sr-only", children: t("orders.export.description") })
|
|
89
|
+
] }),
|
|
90
|
+
/* @__PURE__ */ jsx2(OrderExportContent, {})
|
|
91
|
+
] });
|
|
92
|
+
};
|
|
93
|
+
var OrderExportContent = () => {
|
|
94
|
+
const { t } = useTranslation2();
|
|
95
|
+
const { searchParams } = useOrderTableQuery({});
|
|
96
|
+
const { mutateAsync } = useExportOrders(searchParams);
|
|
97
|
+
const { handleSuccess } = useRouteModal();
|
|
98
|
+
const handleExportRequest = async () => {
|
|
99
|
+
await mutateAsync(searchParams, {
|
|
100
|
+
onSuccess: () => {
|
|
101
|
+
toast.info(t("orders.export.success.title"), {
|
|
102
|
+
description: t("orders.export.success.description")
|
|
103
|
+
});
|
|
104
|
+
handleSuccess();
|
|
105
|
+
},
|
|
106
|
+
onError: (err) => {
|
|
107
|
+
toast.error(err.message);
|
|
108
|
+
}
|
|
109
|
+
});
|
|
110
|
+
};
|
|
111
|
+
return /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
112
|
+
/* @__PURE__ */ jsx2(RouteDrawer.Body, { children: /* @__PURE__ */ jsx2(ExportFilters, {}) }),
|
|
113
|
+
/* @__PURE__ */ jsx2(RouteDrawer.Footer, { children: /* @__PURE__ */ jsxs2("div", { className: "flex items-center gap-x-2", children: [
|
|
114
|
+
/* @__PURE__ */ jsx2(RouteDrawer.Close, { asChild: true, children: /* @__PURE__ */ jsx2(Button, { size: "small", variant: "secondary", children: t("actions.cancel") }) }),
|
|
115
|
+
/* @__PURE__ */ jsx2(Button, { onClick: handleExportRequest, size: "small", children: t("actions.export") })
|
|
116
|
+
] }) })
|
|
117
|
+
] });
|
|
118
|
+
};
|
|
119
|
+
export {
|
|
120
|
+
OrderExport as Component
|
|
121
|
+
};
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useOrderTableColumns
|
|
3
3
|
} from "./chunk-7R743WZ6.mjs";
|
|
4
|
+
import {
|
|
5
|
+
useOrderTableFilters
|
|
6
|
+
} from "./chunk-35LSPN2U.mjs";
|
|
4
7
|
import {
|
|
5
8
|
ConfigurableDataTable,
|
|
6
9
|
createTableAdapter,
|
|
@@ -47,15 +50,11 @@ import "./chunk-S4DMV3ZT.mjs";
|
|
|
47
50
|
import "./chunk-SUYYSKCB.mjs";
|
|
48
51
|
import {
|
|
49
52
|
useOrders
|
|
50
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-RU4ZS47V.mjs";
|
|
51
54
|
import "./chunk-N4O5FAUC.mjs";
|
|
52
|
-
import
|
|
53
|
-
useSalesChannels
|
|
54
|
-
} from "./chunk-N3FCYZV6.mjs";
|
|
55
|
+
import "./chunk-N3FCYZV6.mjs";
|
|
55
56
|
import "./chunk-3BF5SC66.mjs";
|
|
56
|
-
import
|
|
57
|
-
useRegions
|
|
58
|
-
} from "./chunk-HP2JH45P.mjs";
|
|
57
|
+
import "./chunk-HP2JH45P.mjs";
|
|
59
58
|
import "./chunk-SQDIZZDW.mjs";
|
|
60
59
|
import "./chunk-LEJUZW3P.mjs";
|
|
61
60
|
import "./chunk-FXYH54JP.mjs";
|
|
@@ -64,68 +63,14 @@ import "./chunk-NFEK63OE.mjs";
|
|
|
64
63
|
import "./chunk-QZ7TP4HQ.mjs";
|
|
65
64
|
|
|
66
65
|
// src/routes/orders/order-list/components/order-list-table/order-list-table.tsx
|
|
67
|
-
import { Container, Heading } from "@medusajs/ui";
|
|
66
|
+
import { Button, Container, Heading } from "@medusajs/ui";
|
|
68
67
|
import { keepPreviousData } from "@tanstack/react-query";
|
|
69
|
-
import { useTranslation as
|
|
70
|
-
|
|
71
|
-
// src/routes/orders/order-list/components/order-list-table/use-order-table-filters.tsx
|
|
72
|
-
import { useMemo } from "react";
|
|
73
|
-
import { useTranslation } from "react-i18next";
|
|
74
|
-
var useOrderTableFilters = () => {
|
|
75
|
-
const { t } = useTranslation();
|
|
76
|
-
const { regions } = useRegions({
|
|
77
|
-
limit: 1e3,
|
|
78
|
-
fields: "id,name"
|
|
79
|
-
});
|
|
80
|
-
const { sales_channels } = useSalesChannels({
|
|
81
|
-
limit: 1e3,
|
|
82
|
-
fields: "id,name"
|
|
83
|
-
});
|
|
84
|
-
return useMemo(() => {
|
|
85
|
-
const filters = [
|
|
86
|
-
{
|
|
87
|
-
key: "created_at",
|
|
88
|
-
label: t("fields.createdAt"),
|
|
89
|
-
type: "date"
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
key: "updated_at",
|
|
93
|
-
label: t("fields.updatedAt"),
|
|
94
|
-
type: "date"
|
|
95
|
-
}
|
|
96
|
-
];
|
|
97
|
-
if (regions?.length) {
|
|
98
|
-
filters.push({
|
|
99
|
-
key: "region_id",
|
|
100
|
-
label: t("fields.region"),
|
|
101
|
-
type: "select",
|
|
102
|
-
multiple: true,
|
|
103
|
-
searchable: true,
|
|
104
|
-
options: regions.map((r) => ({
|
|
105
|
-
label: r.name,
|
|
106
|
-
value: r.id
|
|
107
|
-
}))
|
|
108
|
-
});
|
|
109
|
-
}
|
|
110
|
-
if (sales_channels?.length) {
|
|
111
|
-
filters.push({
|
|
112
|
-
key: "sales_channel_id",
|
|
113
|
-
label: t("fields.salesChannel"),
|
|
114
|
-
type: "select",
|
|
115
|
-
multiple: true,
|
|
116
|
-
searchable: true,
|
|
117
|
-
options: sales_channels.map((s) => ({
|
|
118
|
-
label: s.name,
|
|
119
|
-
value: s.id
|
|
120
|
-
}))
|
|
121
|
-
});
|
|
122
|
-
}
|
|
123
|
-
return filters;
|
|
124
|
-
}, [regions, sales_channels, t]);
|
|
125
|
-
};
|
|
68
|
+
import { useTranslation as useTranslation2 } from "react-i18next";
|
|
69
|
+
import { Link, Outlet as Outlet2, useLocation as useLocation2 } from "react-router-dom";
|
|
126
70
|
|
|
127
71
|
// src/routes/orders/order-list/components/order-list-table/configurable-order-list-table.tsx
|
|
128
|
-
import { useTranslation
|
|
72
|
+
import { useTranslation } from "react-i18next";
|
|
73
|
+
import { Outlet, useLocation } from "react-router-dom";
|
|
129
74
|
|
|
130
75
|
// src/routes/orders/order-list/components/order-list-table/order-table-adapter.tsx
|
|
131
76
|
function createOrderTableAdapter() {
|
|
@@ -176,18 +121,24 @@ function useOrderTableAdapter() {
|
|
|
176
121
|
}
|
|
177
122
|
|
|
178
123
|
// src/routes/orders/order-list/components/order-list-table/configurable-order-list-table.tsx
|
|
179
|
-
import { jsx } from "react/jsx-runtime";
|
|
124
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
180
125
|
var ConfigurableOrderListTable = () => {
|
|
181
|
-
const { t } =
|
|
182
|
-
const
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
126
|
+
const { t } = useTranslation();
|
|
127
|
+
const location = useLocation();
|
|
128
|
+
const adapter = useOrderTableAdapter();
|
|
129
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
130
|
+
/* @__PURE__ */ jsx(
|
|
131
|
+
ConfigurableDataTable,
|
|
132
|
+
{
|
|
133
|
+
adapter,
|
|
134
|
+
heading: t("orders.domain"),
|
|
135
|
+
actions: [
|
|
136
|
+
{ label: t("actions.export"), to: `export${location.search}` }
|
|
137
|
+
]
|
|
138
|
+
}
|
|
139
|
+
),
|
|
140
|
+
/* @__PURE__ */ jsx(Outlet, {})
|
|
141
|
+
] });
|
|
191
142
|
};
|
|
192
143
|
|
|
193
144
|
// src/routes/orders/order-list/const.ts
|
|
@@ -209,10 +160,11 @@ var DEFAULT_FIELDS = `${DEFAULT_PROPERTIES.join(
|
|
|
209
160
|
)},${DEFAULT_RELATIONS.join(",")}`;
|
|
210
161
|
|
|
211
162
|
// src/routes/orders/order-list/components/order-list-table/order-list-table.tsx
|
|
212
|
-
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
163
|
+
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
213
164
|
var PAGE_SIZE = 20;
|
|
214
165
|
var OrderListTable = () => {
|
|
215
|
-
const { t } =
|
|
166
|
+
const { t } = useTranslation2();
|
|
167
|
+
const location = useLocation2();
|
|
216
168
|
const isViewConfigEnabled = useFeatureFlag("view_configurations");
|
|
217
169
|
if (isViewConfigEnabled) {
|
|
218
170
|
return /* @__PURE__ */ jsx2(ConfigurableOrderListTable, {});
|
|
@@ -241,8 +193,11 @@ var OrderListTable = () => {
|
|
|
241
193
|
if (isError) {
|
|
242
194
|
throw error;
|
|
243
195
|
}
|
|
244
|
-
return /* @__PURE__ */
|
|
245
|
-
/* @__PURE__ */
|
|
196
|
+
return /* @__PURE__ */ jsxs2(Container, { className: "divide-y p-0", children: [
|
|
197
|
+
/* @__PURE__ */ jsxs2("div", { className: "flex items-center justify-between px-6 py-4", children: [
|
|
198
|
+
/* @__PURE__ */ jsx2(Heading, { children: t("orders.domain") }),
|
|
199
|
+
/* @__PURE__ */ jsx2(Button, { size: "small", variant: "secondary", asChild: true, children: /* @__PURE__ */ jsx2(Link, { to: `export${location.search}`, children: t("actions.export") }) })
|
|
200
|
+
] }),
|
|
246
201
|
/* @__PURE__ */ jsx2(
|
|
247
202
|
_DataTable,
|
|
248
203
|
{
|
|
@@ -265,7 +220,8 @@ var OrderListTable = () => {
|
|
|
265
220
|
message: t("orders.list.noRecordsMessage")
|
|
266
221
|
}
|
|
267
222
|
}
|
|
268
|
-
)
|
|
223
|
+
),
|
|
224
|
+
/* @__PURE__ */ jsx2(Outlet2, {})
|
|
269
225
|
] });
|
|
270
226
|
};
|
|
271
227
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MetadataForm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-D4J3CEWH.mjs";
|
|
4
4
|
import "./chunk-IUCDCPJU.mjs";
|
|
5
5
|
import "./chunk-6HTZNHPT.mjs";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-XXBP2Z5M.mjs";
|
|
7
|
+
import "./chunk-42OOM4DJ.mjs";
|
|
8
8
|
import "./chunk-LPEUYMRK.mjs";
|
|
9
9
|
import "./chunk-OC7BQLYI.mjs";
|
|
10
10
|
import "./chunk-S4DMV3ZT.mjs";
|
|
11
11
|
import "./chunk-OBQI23QM.mjs";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-QPKW37WR.mjs";
|
|
13
13
|
import "./chunk-I4OBEAOJ.mjs";
|
|
14
|
-
import "./chunk-XIVBRONM.mjs";
|
|
15
14
|
import "./chunk-HI6URQ7H.mjs";
|
|
16
15
|
import "./chunk-6CLQKVAU.mjs";
|
|
17
16
|
import "./chunk-KI7TOXBR.mjs";
|
|
18
17
|
import "./chunk-HKIF5HVL.mjs";
|
|
18
|
+
import "./chunk-XIVBRONM.mjs";
|
|
19
19
|
import "./chunk-WAXMT4IY.mjs";
|
|
20
20
|
import "./chunk-DYDGGABK.mjs";
|
|
21
21
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -30,7 +30,7 @@ import "./chunk-CDORR33H.mjs";
|
|
|
30
30
|
import {
|
|
31
31
|
useOrder,
|
|
32
32
|
useUpdateOrder
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-RU4ZS47V.mjs";
|
|
34
34
|
import "./chunk-N4O5FAUC.mjs";
|
|
35
35
|
import "./chunk-7AX6R6G6.mjs";
|
|
36
36
|
import "./chunk-N3FCYZV6.mjs";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
useReturn,
|
|
10
10
|
useUpdateDismissItem,
|
|
11
11
|
useUpdateReceiveItem
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-B3AOQW2B.mjs";
|
|
13
13
|
import {
|
|
14
14
|
getStylizedAmount
|
|
15
15
|
} from "./chunk-X6BAAGCL.mjs";
|
|
@@ -20,23 +20,23 @@ import {
|
|
|
20
20
|
} from "./chunk-6HTZNHPT.mjs";
|
|
21
21
|
import {
|
|
22
22
|
RouteDrawer
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
24
24
|
import {
|
|
25
25
|
useRouteModal
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
27
27
|
import {
|
|
28
28
|
Thumbnail
|
|
29
29
|
} from "./chunk-MNXC6Q4F.mjs";
|
|
30
30
|
import {
|
|
31
31
|
Form
|
|
32
32
|
} from "./chunk-OBQI23QM.mjs";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-QPKW37WR.mjs";
|
|
34
34
|
import "./chunk-I4OBEAOJ.mjs";
|
|
35
|
-
import "./chunk-XIVBRONM.mjs";
|
|
36
35
|
import "./chunk-HI6URQ7H.mjs";
|
|
37
36
|
import "./chunk-6CLQKVAU.mjs";
|
|
38
37
|
import "./chunk-KI7TOXBR.mjs";
|
|
39
38
|
import "./chunk-HKIF5HVL.mjs";
|
|
39
|
+
import "./chunk-XIVBRONM.mjs";
|
|
40
40
|
import "./chunk-WAXMT4IY.mjs";
|
|
41
41
|
import "./chunk-DYDGGABK.mjs";
|
|
42
42
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -53,7 +53,7 @@ import {
|
|
|
53
53
|
import {
|
|
54
54
|
useOrder,
|
|
55
55
|
useOrderPreview
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-RU4ZS47V.mjs";
|
|
57
57
|
import "./chunk-N4O5FAUC.mjs";
|
|
58
58
|
import "./chunk-7AX6R6G6.mjs";
|
|
59
59
|
import "./chunk-N3FCYZV6.mjs";
|
|
@@ -13,20 +13,20 @@ import {
|
|
|
13
13
|
} from "./chunk-6HTZNHPT.mjs";
|
|
14
14
|
import {
|
|
15
15
|
RouteDrawer
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
17
17
|
import {
|
|
18
18
|
useRouteModal
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
20
20
|
import {
|
|
21
21
|
Form
|
|
22
22
|
} from "./chunk-OBQI23QM.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 "./chunk-KI7TOXBR.mjs";
|
|
29
28
|
import "./chunk-HKIF5HVL.mjs";
|
|
29
|
+
import "./chunk-XIVBRONM.mjs";
|
|
30
30
|
import "./chunk-WAXMT4IY.mjs";
|
|
31
31
|
import "./chunk-DYDGGABK.mjs";
|
|
32
32
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -41,7 +41,7 @@ import "./chunk-CDORR33H.mjs";
|
|
|
41
41
|
import {
|
|
42
42
|
useOrder,
|
|
43
43
|
useRequestTransferOrder
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-RU4ZS47V.mjs";
|
|
45
45
|
import "./chunk-N4O5FAUC.mjs";
|
|
46
46
|
import "./chunk-7AX6R6G6.mjs";
|
|
47
47
|
import "./chunk-N3FCYZV6.mjs";
|
package/dist/{price-list-configuration-WZFAJ7ZM.mjs → price-list-configuration-54D4JW6G.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PriceListCustomerGroupRuleForm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YWLAUILP.mjs";
|
|
4
4
|
import "./chunk-ZJRFL6ZN.mjs";
|
|
5
5
|
import "./chunk-MSDRGCRR.mjs";
|
|
6
6
|
import "./chunk-P3UUX2T6.mjs";
|
|
@@ -8,8 +8,8 @@ import "./chunk-LQTHYS2Z.mjs";
|
|
|
8
8
|
import "./chunk-YTN73JYH.mjs";
|
|
9
9
|
import "./chunk-HQKGZADC.mjs";
|
|
10
10
|
import "./chunk-EMIHDNB7.mjs";
|
|
11
|
-
import "./chunk-MOSRJHJ3.mjs";
|
|
12
11
|
import "./chunk-DLZWPHHO.mjs";
|
|
12
|
+
import "./chunk-MOSRJHJ3.mjs";
|
|
13
13
|
import "./chunk-GU5PJRPM.mjs";
|
|
14
14
|
import "./chunk-C76H5USB.mjs";
|
|
15
15
|
import "./chunk-DZWH2RV6.mjs";
|
|
@@ -20,11 +20,11 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
RouteDrawer,
|
|
22
22
|
StackedDrawer
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
24
24
|
import {
|
|
25
25
|
useRouteModal,
|
|
26
26
|
useStackedModal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
28
28
|
import "./chunk-LPEUYMRK.mjs";
|
|
29
29
|
import "./chunk-OC7BQLYI.mjs";
|
|
30
30
|
import "./chunk-S4DMV3ZT.mjs";
|