@medusajs/dashboard 3.0.0-snapshot-20251211181725 → 3.0.0-snapshot-20251212142124
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-F7ZRCFPA.mjs} +4 -4
- 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 +11812 -12954
- 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-6VNSVZHQ.mjs} +3 -3
- package/dist/{campaign-edit-K2POQH7M.mjs → campaign-edit-HN4US7DV.mjs} +2 -2
- package/dist/{categories-metadata-DNVBNWAJ.mjs → categories-metadata-ORPB2LIW.mjs} +6 -6
- package/dist/{category-create-L2KJCHPO.mjs → category-create-FFIBWXAH.mjs} +2 -2
- package/dist/{category-detail-XEFMQSZG.mjs → category-detail-RICXPIVS.mjs} +6 -22
- 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-L4XIX3IQ.mjs} +6 -6
- package/dist/{chunk-RKUXD6IZ.mjs → chunk-25UWYEJX.mjs} +1 -1
- package/dist/{chunk-BZKI5J2M.mjs → chunk-3YPRDSZ6.mjs} +1 -1
- package/dist/{chunk-D6UW7URG.mjs → chunk-42OOM4DJ.mjs} +6 -23
- package/dist/{chunk-7GJ5T4R3.mjs → chunk-4G2UHUXX.mjs} +2 -2
- package/dist/{chunk-FPBKWWSI.mjs → chunk-4YAPXPLM.mjs} +1 -1
- package/dist/{chunk-DCYB22MH.mjs → chunk-AMOGGDOW.mjs} +1 -1
- package/dist/{chunk-HPPR6PXK.mjs → chunk-CZFLKMYE.mjs} +1 -1
- package/dist/{chunk-N3SAXQVR.mjs → chunk-D4J3CEWH.mjs} +2 -2
- package/dist/{chunk-F5I264Q3.mjs → chunk-EQTBJSBZ.mjs} +0 -3
- package/dist/{chunk-UEJOY5PF.mjs → chunk-EXDBX4YX.mjs} +3 -3
- package/dist/{chunk-I6C52ARQ.mjs → chunk-HWKLNKOY.mjs} +1 -1
- package/dist/{chunk-3ESSTIV2.mjs → chunk-JUVGXLY5.mjs} +12 -187
- 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-3BJLNORD.mjs → chunk-PNPT4W2F.mjs} +1 -1
- package/dist/{chunk-ZADXDNB3.mjs → chunk-Q4E6LV6K.mjs} +180 -230
- package/dist/{chunk-6GLZIACV.mjs → chunk-Q6MSICBU.mjs} +1 -1
- package/dist/{chunk-PS5T2R6J.mjs → chunk-UKECZ5PA.mjs} +3 -3
- package/dist/{chunk-CFQNWTZV.mjs → chunk-UM4OIJZ3.mjs} +1 -1
- package/dist/{chunk-FEB3ZGTL.mjs → chunk-W7SLPIO2.mjs} +17 -214
- package/dist/{chunk-R2EBIESZ.mjs → chunk-XTQ7UFA3.mjs} +1 -1
- package/dist/{chunk-WVA4O7QS.mjs → chunk-XXBP2Z5M.mjs} +1 -1
- package/dist/{chunk-AFXODJBA.mjs → chunk-YV4ANEZF.mjs} +1 -1
- package/dist/{collection-add-products-EM7SAFEH.mjs → collection-add-products-MO4FGYD5.mjs} +6 -6
- package/dist/{collection-create-4JX4YE47.mjs → collection-create-DCRW344Z.mjs} +2 -2
- package/dist/{collection-detail-UQXMMKRW.mjs → collection-detail-ZCHVPXW5.mjs} +5 -20
- package/dist/{collection-edit-MXL35GQQ.mjs → collection-edit-UNFEW6HT.mjs} +2 -2
- package/dist/{collection-list-EO56ZH4Q.mjs → collection-list-3UUFO7AP.mjs} +5 -20
- package/dist/{collection-metadata-UXEYXJY4.mjs → collection-metadata-ZOYQDOOT.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-RMZTHQIQ.mjs} +3 -3
- package/dist/{customer-edit-XQ5NWIVX.mjs → customer-edit-BW5GVTQI.mjs} +2 -2
- package/dist/{customer-group-add-customers-FRJP6RCY.mjs → customer-group-add-customers-HUGHHMU6.mjs} +2 -2
- package/dist/{customer-group-create-RY4FVEIW.mjs → customer-group-create-6YV7W6TI.mjs} +2 -2
- package/dist/{customer-group-detail-SOWUWFJ4.mjs → customer-group-detail-4S7WB3WV.mjs} +3 -3
- package/dist/{customer-group-edit-MQWARIQZ.mjs → customer-group-edit-7NXU34BQ.mjs} +2 -2
- package/dist/{customer-group-list-A5LER6CN.mjs → customer-group-list-JQX6PW6E.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-JKTM33OU.mjs} +5 -5
- 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-AXG2NQNS.mjs} +5 -5
- package/dist/en.json +0 -12
- package/dist/{inventory-create-DBD7EA7N.mjs → inventory-create-6SKU4TZL.mjs} +6 -6
- package/dist/{inventory-detail-Q2HAUD2Y.mjs → inventory-detail-LAYYI2QT.mjs} +3 -3
- package/dist/{inventory-metadata-NQXJBGAQ.mjs → inventory-metadata-Q6E6SZF3.mjs} +6 -6
- package/dist/{inventory-stock-WAZ7CXTY.mjs → inventory-stock-SNAWXRBE.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-XXH22FLG.mjs} +5 -7
- package/dist/{location-edit-VCS7GVWQ.mjs → location-edit-L4ISEQHX.mjs} +2 -2
- package/dist/{location-fulfillment-providers-6WNUCXQL.mjs → location-fulfillment-providers-FSC27EK7.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-GWNLLSM5.mjs} +7 -7
- package/dist/{location-service-zone-shipping-option-edit-QCURIIGL.mjs → location-service-zone-shipping-option-edit-QS6HTWST.mjs} +2 -2
- 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-MFUCIAT6.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-3DDI4V3W.mjs} +2 -2
- package/dist/{order-create-claim-E543W2TJ.mjs → order-create-claim-G7BDA7WR.mjs} +5 -5
- package/dist/{order-create-edit-HDWLEUKF.mjs → order-create-edit-BXYPZRZV.mjs} +5 -5
- package/dist/{order-create-exchange-HBQWTMXR.mjs → order-create-exchange-AGEXEKOF.mjs} +5 -5
- package/dist/{order-create-fulfillment-PN3HLLB2.mjs → order-create-fulfillment-GMLSBCEK.mjs} +5 -5
- package/dist/{order-create-refund-EC7XRI5O.mjs → order-create-refund-BT33POIN.mjs} +5 -5
- package/dist/{order-create-return-LTGYASZZ.mjs → order-create-return-QGXWSPMP.mjs} +2 -2
- package/dist/{order-create-shipment-CPEAPIJU.mjs → order-create-shipment-ZVTOKNC4.mjs} +5 -5
- package/dist/{order-detail-MPNBAUUI.mjs → order-detail-MORQRSHL.mjs} +3 -3
- package/dist/{order-edit-billing-address-KMV6RJ6F.mjs → order-edit-billing-address-IUVC4GSZ.mjs} +5 -5
- package/dist/{order-edit-email-377D6O22.mjs → order-edit-email-MKLJPREH.mjs} +5 -5
- package/dist/{order-edit-shipping-address-HEFMKAJP.mjs → order-edit-shipping-address-GFSRTDFG.mjs} +5 -5
- package/dist/{order-metadata-QABOWLXK.mjs → order-metadata-BRSYOGKE.mjs} +6 -6
- package/dist/{order-receive-return-4WFBZ2T7.mjs → order-receive-return-NI345L43.mjs} +5 -5
- package/dist/{order-request-transfer-ISZSSGKO.mjs → order-request-transfer-ZGGIUFRV.mjs} +5 -5
- package/dist/{price-list-configuration-WZFAJ7ZM.mjs → price-list-configuration-CWTP3Y5X.mjs} +3 -3
- package/dist/{price-list-create-DQFXQ247.mjs → price-list-create-HDYM5ZGW.mjs} +9 -9
- package/dist/{price-list-detail-WWJPFIT2.mjs → price-list-detail-GVGNB5AY.mjs} +4 -4
- 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-P4XHE3F4.mjs} +8 -8
- package/dist/{price-list-prices-edit-Z4YJ4YBY.mjs → price-list-prices-edit-C6SX2TLJ.mjs} +4 -4
- package/dist/{product-attributes-RKEXUYKR.mjs → product-attributes-AXSXHPI5.mjs} +6 -6
- package/dist/{product-create-S7YVI2MR.mjs → product-create-CAGTWFTS.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-5DLZZQPL.mjs} +6 -6
- package/dist/{product-detail-G7ZVDV46.mjs → product-detail-FSORFVRL.mjs} +10 -52
- package/dist/{product-edit-CMHKUDQP.mjs → product-edit-EYQIREZ6.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-4XRDDWZQ.mjs} +6 -6
- package/dist/{product-image-variants-edit-HU6NVV6T.mjs → product-image-variants-edit-KCFCTXE2.mjs} +5 -5
- package/dist/{product-import-5PKTI7YC.mjs → product-import-JTEXWYY7.mjs} +5 -5
- package/dist/{product-list-ABFSFWKV.mjs → product-list-T4OZG4OC.mjs} +5 -17
- package/dist/{product-media-ULNJ7JJY.mjs → product-media-EGK66SRX.mjs} +2 -2
- package/dist/{product-metadata-GHL5HV37.mjs → product-metadata-5BLG4EIR.mjs} +6 -6
- package/dist/{product-organization-Z7SXABDX.mjs → product-organization-BEXN2KXC.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-SSJVQPBZ.mjs} +7 -7
- package/dist/{product-tag-create-MQ6AUCQM.mjs → product-tag-create-ZPYRJTC4.mjs} +5 -5
- package/dist/{product-tag-detail-CGURSGJE.mjs → product-tag-detail-VRGVJNDT.mjs} +6 -21
- package/dist/{product-tag-edit-TOJYTW4H.mjs → product-tag-edit-2KFYOID4.mjs} +5 -5
- package/dist/{product-tag-list-2U4CIGK5.mjs → product-tag-list-WTX6GV7O.mjs} +6 -21
- package/dist/{product-tag-metadata-JMFWGTR3.mjs → product-tag-metadata-Y7YHTUKM.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-3ZLSMENL.mjs} +5 -20
- package/dist/{product-type-edit-3LRBWZ3S.mjs → product-type-edit-H3JCMVRV.mjs} +2 -2
- package/dist/{product-type-list-XU6DADMO.mjs → product-type-list-QX7QC6RI.mjs} +1 -16
- package/dist/{product-type-metadata-EGMTZ622.mjs → product-type-metadata-GJACA4N6.mjs} +6 -6
- package/dist/{product-variant-detail-5EKVJXUT.mjs → product-variant-detail-L5G4CPVH.mjs} +5 -21
- package/dist/{product-variant-edit-KKLHPWXO.mjs → product-variant-edit-YXALQPQT.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-OQOE34VY.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-OXNLKBL7.mjs} +7 -7
- package/dist/{promotion-detail-BYXN4YXZ.mjs → promotion-detail-N6VHHN3X.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-L36EUXXM.mjs} +5 -5
- package/dist/{refund-reason-edit-WTM7WR5V.mjs → refund-reason-edit-364ALB4G.mjs} +5 -5
- package/dist/{refund-reason-list-7Q6WDYH6.mjs → refund-reason-list-ICO2GYRP.mjs} +3 -3
- 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-VNLW6NYZ.mjs} +6 -6
- package/dist/{reservation-create-C6HTEF3R.mjs → reservation-create-Z2SUMBGT.mjs} +2 -2
- package/dist/{reservation-detail-FYS6LFU6.mjs → reservation-detail-YXIUIN5I.mjs} +3 -3
- package/dist/{reservation-metadata-LZJV35OW.mjs → reservation-metadata-7H7TYWZW.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/{sales-channel-add-products-XPS4JTBL.mjs → sales-channel-add-products-N7EPWF2N.mjs} +6 -6
- package/dist/{sales-channel-create-4XLJDVJO.mjs → sales-channel-create-E7BDTPWD.mjs} +2 -2
- package/dist/{sales-channel-detail-5YUELAQ5.mjs → sales-channel-detail-DV6BKC5B.mjs} +4 -4
- package/dist/{sales-channel-edit-UZGSXD5X.mjs → sales-channel-edit-HMPA3Y3L.mjs} +2 -2
- package/dist/{sales-channel-list-N3KDOVBS.mjs → sales-channel-list-33QC2ZXP.mjs} +3 -3
- package/dist/{sales-channel-metadata-MU4BVKOJ.mjs → sales-channel-metadata-HYYQEVRZ.mjs} +6 -6
- package/dist/{shipping-option-type-create-AS4AVWZV.mjs → shipping-option-type-create-IXYDKBKG.mjs} +5 -5
- package/dist/{shipping-option-type-detail-MCFL4BJE.mjs → shipping-option-type-detail-WMZ3DEY6.mjs} +4 -4
- package/dist/{shipping-option-type-edit-PJOD3TA4.mjs → shipping-option-type-edit-YYO3Q2QV.mjs} +5 -5
- package/dist/{shipping-option-type-list-VD567MQD.mjs → shipping-option-type-list-YAL6IQF2.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-YBXPOVZF.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-AYY44DB3.mjs} +4 -4
- package/dist/{store-detail-EGDXIVWC.mjs → store-detail-4YVABC3P.mjs} +3 -3
- package/dist/{store-edit-AB5CDUTK.mjs → store-edit-EPAHLLKP.mjs} +2 -2
- package/dist/{store-metadata-ZBUQ62YT.mjs → store-metadata-QQD2NP5U.mjs} +6 -6
- package/dist/{tax-region-create-N4YVNQKV.mjs → tax-region-create-AFGAIC3C.mjs} +5 -5
- package/dist/{tax-region-detail-UJASYH57.mjs → tax-region-detail-LM7VIA2N.mjs} +12 -13
- package/dist/{tax-region-edit-W3B5EUCJ.mjs → tax-region-edit-ZLSY22NQ.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-ZF75A3Z2.mjs} +11 -12
- package/dist/{tax-region-tax-override-create-NUI4Z76X.mjs → tax-region-tax-override-create-JVMTMMWB.mjs} +7 -7
- package/dist/{tax-region-tax-override-edit-Q4GJHUMJ.mjs → tax-region-tax-override-edit-HS4BCVC7.mjs} +8 -8
- 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-U3WGLABX.mjs} +6 -6
- package/dist/{workflow-execution-detail-MGIZSKVA.mjs → workflow-execution-detail-L4IESFKA.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 +0 -20
- package/src/hooks/api/index.ts +0 -1
- package/src/hooks/api/product-variants.tsx +1 -7
- package/src/i18n/translations/$schema.json +0 -36
- package/src/i18n/translations/en.json +0 -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/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/app.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DashboardApp
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q4E6LV6K.mjs";
|
|
4
4
|
import "./chunk-2SSUH2HJ.mjs";
|
|
5
5
|
import "./chunk-ONB3JEHR.mjs";
|
|
6
6
|
import "./chunk-YCDDT44O.mjs";
|
|
@@ -19,13 +19,13 @@ import "./chunk-OC7BQLYI.mjs";
|
|
|
19
19
|
import "./chunk-S4DMV3ZT.mjs";
|
|
20
20
|
import "./chunk-SUYYSKCB.mjs";
|
|
21
21
|
import "./chunk-OBQI23QM.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-JUVGXLY5.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
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
28
26
|
import "./chunk-HKIF5HVL.mjs";
|
|
27
|
+
import "./chunk-XIVBRONM.mjs";
|
|
28
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
29
29
|
import "./chunk-WAXMT4IY.mjs";
|
|
30
30
|
import "./chunk-DYDGGABK.mjs";
|
|
31
31
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -7,10 +7,10 @@ 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";
|
|
@@ -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";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CreateCampaignForm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3YPRDSZ6.mjs";
|
|
4
4
|
import "./chunk-F6ZOHZVB.mjs";
|
|
5
5
|
import "./chunk-5LGRZSEH.mjs";
|
|
6
6
|
import "./chunk-OFN7DIZA.mjs";
|
|
7
7
|
import "./chunk-DK4WIVY6.mjs";
|
|
8
8
|
import "./chunk-IUCDCPJU.mjs";
|
|
9
9
|
import "./chunk-6HTZNHPT.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-XXBP2Z5M.mjs";
|
|
11
11
|
import {
|
|
12
12
|
RouteFocusModal
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
14
14
|
import "./chunk-S4DMV3ZT.mjs";
|
|
15
15
|
import "./chunk-OBQI23QM.mjs";
|
|
16
16
|
import "./chunk-A63RZVX6.mjs";
|
|
@@ -42,13 +42,13 @@ import {
|
|
|
42
42
|
import "./chunk-OC7BQLYI.mjs";
|
|
43
43
|
import "./chunk-S4DMV3ZT.mjs";
|
|
44
44
|
import "./chunk-SUYYSKCB.mjs";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-JUVGXLY5.mjs";
|
|
46
46
|
import "./chunk-I4OBEAOJ.mjs";
|
|
47
|
-
import "./chunk-XIVBRONM.mjs";
|
|
48
47
|
import "./chunk-HI6URQ7H.mjs";
|
|
49
48
|
import "./chunk-6CLQKVAU.mjs";
|
|
50
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
51
49
|
import "./chunk-HKIF5HVL.mjs";
|
|
50
|
+
import "./chunk-XIVBRONM.mjs";
|
|
51
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
52
52
|
import "./chunk-WAXMT4IY.mjs";
|
|
53
53
|
import "./chunk-DYDGGABK.mjs";
|
|
54
54
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -7,10 +7,10 @@ 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";
|
|
@@ -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-JUVGXLY5.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
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
21
19
|
import "./chunk-HKIF5HVL.mjs";
|
|
20
|
+
import "./chunk-XIVBRONM.mjs";
|
|
21
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
22
22
|
import "./chunk-WAXMT4IY.mjs";
|
|
23
23
|
import "./chunk-DYDGGABK.mjs";
|
|
24
24
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -15,11 +15,11 @@ import "./chunk-IUCDCPJU.mjs";
|
|
|
15
15
|
import {
|
|
16
16
|
KeyboundForm
|
|
17
17
|
} from "./chunk-6HTZNHPT.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-XXBP2Z5M.mjs";
|
|
19
19
|
import {
|
|
20
20
|
RouteFocusModal,
|
|
21
21
|
useRouteModal
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
23
23
|
import {
|
|
24
24
|
useDocumentDirection
|
|
25
25
|
} from "./chunk-S4DMV3ZT.mjs";
|
|
@@ -7,10 +7,9 @@ import {
|
|
|
7
7
|
getIsActiveProps,
|
|
8
8
|
getIsInternalProps
|
|
9
9
|
} from "./chunk-54IEHX46.mjs";
|
|
10
|
-
import "./chunk-JQBWAJQZ.mjs";
|
|
11
10
|
import {
|
|
12
11
|
LinkButton
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6WKBBTKM.mjs";
|
|
14
13
|
import {
|
|
15
14
|
useProductTableColumns
|
|
16
15
|
} from "./chunk-BW322BVH.mjs";
|
|
@@ -30,7 +29,7 @@ import {
|
|
|
30
29
|
} from "./chunk-R65S6ZZV.mjs";
|
|
31
30
|
import {
|
|
32
31
|
useProductTableFilters
|
|
33
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-XTQ7UFA3.mjs";
|
|
34
33
|
import "./chunk-GU5PJRPM.mjs";
|
|
35
34
|
import {
|
|
36
35
|
TwoColumnPage
|
|
@@ -38,9 +37,6 @@ import {
|
|
|
38
37
|
import "./chunk-C76H5USB.mjs";
|
|
39
38
|
import "./chunk-DZWH2RV6.mjs";
|
|
40
39
|
import "./chunk-MNXC6Q4F.mjs";
|
|
41
|
-
import {
|
|
42
|
-
useFeatureFlag
|
|
43
|
-
} from "./chunk-G4BWCU5P.mjs";
|
|
44
40
|
import {
|
|
45
41
|
useExtension
|
|
46
42
|
} from "./chunk-C5P5PL3E.mjs";
|
|
@@ -54,13 +50,13 @@ import {
|
|
|
54
50
|
import "./chunk-OC7BQLYI.mjs";
|
|
55
51
|
import "./chunk-S4DMV3ZT.mjs";
|
|
56
52
|
import "./chunk-SUYYSKCB.mjs";
|
|
57
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-JUVGXLY5.mjs";
|
|
58
54
|
import "./chunk-I4OBEAOJ.mjs";
|
|
59
|
-
import "./chunk-XIVBRONM.mjs";
|
|
60
55
|
import "./chunk-HI6URQ7H.mjs";
|
|
61
56
|
import "./chunk-6CLQKVAU.mjs";
|
|
62
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
63
57
|
import "./chunk-HKIF5HVL.mjs";
|
|
58
|
+
import "./chunk-XIVBRONM.mjs";
|
|
59
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
64
60
|
import "./chunk-WAXMT4IY.mjs";
|
|
65
61
|
import "./chunk-DYDGGABK.mjs";
|
|
66
62
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -120,7 +116,7 @@ var CategoryDetailBreadcrumb = (props) => {
|
|
|
120
116
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
121
117
|
|
|
122
118
|
// src/routes/categories/category-detail/components/category-general-section/category-general-section.tsx
|
|
123
|
-
import {
|
|
119
|
+
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
124
120
|
import { Container, Heading, StatusBadge, Text } from "@medusajs/ui";
|
|
125
121
|
import { useTranslation } from "react-i18next";
|
|
126
122
|
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
@@ -128,7 +124,6 @@ var CategoryGeneralSection = ({
|
|
|
128
124
|
category
|
|
129
125
|
}) => {
|
|
130
126
|
const { t } = useTranslation();
|
|
131
|
-
const isTranslationsEnabled = useFeatureFlag("translation");
|
|
132
127
|
const activeProps = getIsActiveProps(category.is_active, t);
|
|
133
128
|
const internalProps = getIsInternalProps(category.is_internal, t);
|
|
134
129
|
const handleDelete = useDeleteProductCategoryAction(category);
|
|
@@ -153,17 +148,6 @@ var CategoryGeneralSection = ({
|
|
|
153
148
|
}
|
|
154
149
|
]
|
|
155
150
|
},
|
|
156
|
-
...isTranslationsEnabled ? [
|
|
157
|
-
{
|
|
158
|
-
actions: [
|
|
159
|
-
{
|
|
160
|
-
label: t("translations.actions.manage"),
|
|
161
|
-
to: `/settings/translations/edit?reference=product_category&reference_id=${category.id}`,
|
|
162
|
-
icon: /* @__PURE__ */ jsx2(GlobeEurope, {})
|
|
163
|
-
}
|
|
164
|
-
]
|
|
165
|
-
}
|
|
166
|
-
] : [],
|
|
167
151
|
{
|
|
168
152
|
actions: [
|
|
169
153
|
{
|
|
@@ -7,10 +7,10 @@ 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
|
useDocumentDirection
|
|
16
16
|
} from "./chunk-S4DMV3ZT.mjs";
|
|
@@ -29,9 +29,6 @@ import {
|
|
|
29
29
|
useQueryParams
|
|
30
30
|
} from "./chunk-C76H5USB.mjs";
|
|
31
31
|
import "./chunk-DZWH2RV6.mjs";
|
|
32
|
-
import {
|
|
33
|
-
useFeatureFlag
|
|
34
|
-
} from "./chunk-G4BWCU5P.mjs";
|
|
35
32
|
import {
|
|
36
33
|
useExtension
|
|
37
34
|
} from "./chunk-C5P5PL3E.mjs";
|
|
@@ -52,7 +49,7 @@ import "./chunk-NFEK63OE.mjs";
|
|
|
52
49
|
import "./chunk-QZ7TP4HQ.mjs";
|
|
53
50
|
|
|
54
51
|
// src/routes/categories/category-list/components/category-list-table/category-list-table.tsx
|
|
55
|
-
import {
|
|
52
|
+
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
56
53
|
import { Button, Container, Heading, Text as Text2 } from "@medusajs/ui";
|
|
57
54
|
import { keepPreviousData } from "@tanstack/react-query";
|
|
58
55
|
import { createColumnHelper as createColumnHelper2 } from "@tanstack/react-table";
|
|
@@ -231,7 +228,6 @@ var CategoryRowActions = ({
|
|
|
231
228
|
category
|
|
232
229
|
}) => {
|
|
233
230
|
const { t } = useTranslation2();
|
|
234
|
-
const isTranslationsEnabled = useFeatureFlag("translation");
|
|
235
231
|
const handleDelete = useDeleteProductCategoryAction(category);
|
|
236
232
|
return /* @__PURE__ */ jsx2(
|
|
237
233
|
ActionMenu,
|
|
@@ -246,17 +242,6 @@ var CategoryRowActions = ({
|
|
|
246
242
|
}
|
|
247
243
|
]
|
|
248
244
|
},
|
|
249
|
-
...isTranslationsEnabled ? [
|
|
250
|
-
{
|
|
251
|
-
actions: [
|
|
252
|
-
{
|
|
253
|
-
icon: /* @__PURE__ */ jsx2(GlobeEurope, {}),
|
|
254
|
-
label: t("translations.actions.manage"),
|
|
255
|
-
to: `/settings/translations/edit?reference=product_category&reference_id=${category.id}`
|
|
256
|
-
}
|
|
257
|
-
]
|
|
258
|
-
}
|
|
259
|
-
] : [],
|
|
260
245
|
{
|
|
261
246
|
actions: [
|
|
262
247
|
{
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CategoryTree
|
|
3
3
|
} from "./chunk-XDCNT5GQ.mjs";
|
|
4
|
-
import "./chunk-
|
|
4
|
+
import "./chunk-XXBP2Z5M.mjs";
|
|
5
5
|
import {
|
|
6
6
|
RouteFocusModal
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
8
8
|
import "./chunk-OBQI23QM.mjs";
|
|
9
9
|
import {
|
|
10
10
|
categoriesQueryKeys,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-R65S6ZZV.mjs";
|
|
18
18
|
import {
|
|
19
19
|
useProductTableFilters
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XTQ7UFA3.mjs";
|
|
21
21
|
import "./chunk-GU5PJRPM.mjs";
|
|
22
22
|
import "./chunk-C76H5USB.mjs";
|
|
23
23
|
import "./chunk-DZWH2RV6.mjs";
|
|
@@ -25,23 +25,23 @@ import "./chunk-IUCDCPJU.mjs";
|
|
|
25
25
|
import {
|
|
26
26
|
KeyboundForm
|
|
27
27
|
} from "./chunk-6HTZNHPT.mjs";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-XXBP2Z5M.mjs";
|
|
29
29
|
import {
|
|
30
30
|
RouteFocusModal,
|
|
31
31
|
useRouteModal
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
33
33
|
import "./chunk-MNXC6Q4F.mjs";
|
|
34
34
|
import "./chunk-LPEUYMRK.mjs";
|
|
35
35
|
import "./chunk-S4DMV3ZT.mjs";
|
|
36
36
|
import "./chunk-SUYYSKCB.mjs";
|
|
37
37
|
import "./chunk-OBQI23QM.mjs";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-JUVGXLY5.mjs";
|
|
39
39
|
import "./chunk-I4OBEAOJ.mjs";
|
|
40
|
-
import "./chunk-XIVBRONM.mjs";
|
|
41
40
|
import "./chunk-HI6URQ7H.mjs";
|
|
42
41
|
import "./chunk-6CLQKVAU.mjs";
|
|
43
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
44
42
|
import "./chunk-HKIF5HVL.mjs";
|
|
43
|
+
import "./chunk-XIVBRONM.mjs";
|
|
44
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
45
45
|
import "./chunk-WAXMT4IY.mjs";
|
|
46
46
|
import "./chunk-DYDGGABK.mjs";
|
|
47
47
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -57,9 +57,7 @@ var RouteModalForm = ({
|
|
|
57
57
|
formState: { isDirty }
|
|
58
58
|
} = form;
|
|
59
59
|
const blocker = useBlocker(({ currentLocation, nextLocation }) => {
|
|
60
|
-
const { isSubmitSuccessful
|
|
61
|
-
const { isSubmitSuccessful: currentIsSuccessful } = currentLocation.state || {};
|
|
62
|
-
const isSubmitSuccessful = nextIsSuccessful || currentIsSuccessful;
|
|
60
|
+
const { isSubmitSuccessful } = nextLocation.state || {};
|
|
63
61
|
if (isSubmitSuccessful) {
|
|
64
62
|
onClose?.(true);
|
|
65
63
|
return false;
|
|
@@ -103,31 +101,20 @@ var RouteModalForm = ({
|
|
|
103
101
|
|
|
104
102
|
// src/components/modals/route-modal-provider/route-provider.tsx
|
|
105
103
|
import { useCallback, useMemo as useMemo2, useState } from "react";
|
|
106
|
-
import {
|
|
104
|
+
import { useNavigate } from "react-router-dom";
|
|
107
105
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
108
106
|
var RouteModalProvider = ({
|
|
109
107
|
prev,
|
|
110
108
|
children
|
|
111
109
|
}) => {
|
|
112
110
|
const navigate = useNavigate();
|
|
113
|
-
const location = useLocation2();
|
|
114
111
|
const [closeOnEscape, setCloseOnEscape] = useState(true);
|
|
115
112
|
const handleSuccess = useCallback(
|
|
116
113
|
(path) => {
|
|
117
114
|
const to = path || prev;
|
|
118
|
-
|
|
119
|
-
navigate(location.pathname + location.search, {
|
|
120
|
-
replace: true,
|
|
121
|
-
state: { ...location.state, isSubmitSuccessful: true }
|
|
122
|
-
});
|
|
123
|
-
setTimeout(() => {
|
|
124
|
-
navigate(to);
|
|
125
|
-
}, 0);
|
|
126
|
-
} else {
|
|
127
|
-
navigate(to, { replace: true, state: { isSubmitSuccessful: true } });
|
|
128
|
-
}
|
|
115
|
+
navigate(to, { replace: true, state: { isSubmitSuccessful: true } });
|
|
129
116
|
},
|
|
130
|
-
[navigate, prev
|
|
117
|
+
[navigate, prev]
|
|
131
118
|
);
|
|
132
119
|
const value = useMemo2(
|
|
133
120
|
() => ({
|
|
@@ -209,7 +196,7 @@ var Root = ({ prev = "..", children }) => {
|
|
|
209
196
|
const navigate = useNavigate2();
|
|
210
197
|
const [open, setOpen] = useState3(false);
|
|
211
198
|
const [stackedModalOpen, onStackedModalOpen] = useState3(false);
|
|
212
|
-
const to =
|
|
199
|
+
const to = useStateAwareTo(prev);
|
|
213
200
|
useEffect(() => {
|
|
214
201
|
setOpen(true);
|
|
215
202
|
return () => {
|
|
@@ -220,11 +207,7 @@ var Root = ({ prev = "..", children }) => {
|
|
|
220
207
|
const handleOpenChange = (open2) => {
|
|
221
208
|
if (!open2) {
|
|
222
209
|
document.body.style.pointerEvents = "auto";
|
|
223
|
-
|
|
224
|
-
navigate(to);
|
|
225
|
-
} else {
|
|
226
|
-
navigate(to, { replace: true });
|
|
227
|
-
}
|
|
210
|
+
navigate(to, { replace: true });
|
|
228
211
|
return;
|
|
229
212
|
}
|
|
230
213
|
setOpen(open2);
|
|
@@ -34,11 +34,11 @@ import {
|
|
|
34
34
|
} from "./chunk-R65S6ZZV.mjs";
|
|
35
35
|
import {
|
|
36
36
|
useProductTableFilters
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-XTQ7UFA3.mjs";
|
|
38
38
|
import {
|
|
39
39
|
StackedDrawer,
|
|
40
40
|
StackedFocusModal
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
42
42
|
import {
|
|
43
43
|
useProductTypes
|
|
44
44
|
} from "./chunk-HKIF5HVL.mjs";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-6HTZNHPT.mjs";
|
|
4
4
|
import {
|
|
5
5
|
RouteDrawer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
7
7
|
import {
|
|
8
8
|
useRouteModal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Skeleton
|
|
12
12
|
} from "./chunk-LPEUYMRK.mjs";
|
|
@@ -3,7 +3,6 @@ import { clx } from "@medusajs/ui";
|
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
var IconAvatar = ({
|
|
5
5
|
size = "small",
|
|
6
|
-
variant = "rounded",
|
|
7
6
|
children,
|
|
8
7
|
className
|
|
9
8
|
}) => {
|
|
@@ -12,8 +11,6 @@ var IconAvatar = ({
|
|
|
12
11
|
{
|
|
13
12
|
className: clx(
|
|
14
13
|
"shadow-borders-base flex size-7 items-center justify-center",
|
|
15
|
-
variant === "squared" && "rounded-md",
|
|
16
|
-
variant === "rounded" && "rounded-full",
|
|
17
14
|
"[&>div]:bg-ui-bg-field [&>div]:text-ui-fg-subtle [&>div]:flex [&>div]:size-6 [&>div]:items-center [&>div]:justify-center",
|
|
18
15
|
{
|
|
19
16
|
"size-7 rounded-md [&>div]:size-6 [&>div]:rounded-[4px]": size === "small",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DISPLAY_OVERRIDE_ITEMS_LIMIT
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UKECZ5PA.mjs";
|
|
4
4
|
import {
|
|
5
5
|
TaxRateRuleReferenceType
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4G2UHUXX.mjs";
|
|
7
7
|
import {
|
|
8
8
|
LocalizedTablePagination,
|
|
9
9
|
useDeleteTaxRateAction
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UM4OIJZ3.mjs";
|
|
11
11
|
import {
|
|
12
12
|
formatPercentage
|
|
13
13
|
} from "./chunk-4FM6S5CX.mjs";
|