@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
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
TargetItem,
|
|
4
4
|
TaxRateRuleReferenceSchema,
|
|
5
5
|
createTaxRulePayload
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4G2UHUXX.mjs";
|
|
7
7
|
import {
|
|
8
8
|
PercentageInput
|
|
9
9
|
} from "./chunk-KEQOAJC2.mjs";
|
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
RouteDrawer,
|
|
18
18
|
StackedDrawer
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
20
20
|
import {
|
|
21
21
|
useRouteModal,
|
|
22
22
|
useStackedModal
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
24
24
|
import {
|
|
25
25
|
useDocumentDirection
|
|
26
26
|
} from "./chunk-S4DMV3ZT.mjs";
|
|
@@ -3413,220 +3413,23 @@ var Inner4 = ({
|
|
|
3413
3413
|
);
|
|
3414
3414
|
};
|
|
3415
3415
|
|
|
3416
|
-
// src/components/data-grid/components/data-grid-textarea-modal-cell.tsx
|
|
3417
|
-
import { clx as clx7, Textarea } from "@medusajs/ui";
|
|
3418
|
-
import { Popover as RadixPopover } from "radix-ui";
|
|
3419
|
-
import { useCallback as useCallback15, useEffect as useEffect7, useRef as useRef4, useState as useState10 } from "react";
|
|
3420
|
-
import { Controller as Controller5 } from "react-hook-form";
|
|
3421
|
-
import { jsx as jsx11, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
3422
|
-
var DataGridExpandableTextCell = ({
|
|
3423
|
-
context,
|
|
3424
|
-
fieldLabel
|
|
3425
|
-
}) => {
|
|
3426
|
-
const { field, control, renderProps } = useDataGridCell({
|
|
3427
|
-
context
|
|
3428
|
-
});
|
|
3429
|
-
const errorProps = useDataGridCellError({ context });
|
|
3430
|
-
const { container, input } = renderProps;
|
|
3431
|
-
return /* @__PURE__ */ jsx11(
|
|
3432
|
-
Controller5,
|
|
3433
|
-
{
|
|
3434
|
-
control,
|
|
3435
|
-
name: field,
|
|
3436
|
-
render: ({ field: field2 }) => {
|
|
3437
|
-
return /* @__PURE__ */ jsx11(
|
|
3438
|
-
Inner5,
|
|
3439
|
-
{
|
|
3440
|
-
field: field2,
|
|
3441
|
-
inputProps: input,
|
|
3442
|
-
fieldLabel,
|
|
3443
|
-
container,
|
|
3444
|
-
errorProps
|
|
3445
|
-
}
|
|
3446
|
-
);
|
|
3447
|
-
}
|
|
3448
|
-
}
|
|
3449
|
-
);
|
|
3450
|
-
};
|
|
3451
|
-
var Inner5 = ({
|
|
3452
|
-
field,
|
|
3453
|
-
inputProps,
|
|
3454
|
-
fieldLabel: _fieldLabel,
|
|
3455
|
-
container,
|
|
3456
|
-
errorProps
|
|
3457
|
-
}) => {
|
|
3458
|
-
const { onChange: _, onBlur, ref, value, ...rest } = field;
|
|
3459
|
-
const { ref: inputRef, onBlur: onInputBlur, onChange, ...input } = inputProps;
|
|
3460
|
-
const { setSingleRange, anchor } = useDataGridContext();
|
|
3461
|
-
const { row, col } = anchor || { row: 0, col: 0 };
|
|
3462
|
-
const [localValue, setLocalValue] = useState10(value || "");
|
|
3463
|
-
const [isPopoverOpen, setIsPopoverOpen] = useState10(false);
|
|
3464
|
-
const [popoverValue, setPopoverValue] = useState10(value || "");
|
|
3465
|
-
const popoverContentRef = useRef4(null);
|
|
3466
|
-
useEffect7(() => {
|
|
3467
|
-
setLocalValue(value || "");
|
|
3468
|
-
}, [value]);
|
|
3469
|
-
useEffect7(() => {
|
|
3470
|
-
if (isPopoverOpen) {
|
|
3471
|
-
setPopoverValue(value || "");
|
|
3472
|
-
}
|
|
3473
|
-
}, [isPopoverOpen, value]);
|
|
3474
|
-
useEffect7(() => {
|
|
3475
|
-
if (!isPopoverOpen || !popoverContentRef.current) {
|
|
3476
|
-
return;
|
|
3477
|
-
}
|
|
3478
|
-
const handleKeyDownCapture = (e) => {
|
|
3479
|
-
const target = e.target;
|
|
3480
|
-
const isTextarea = target.tagName === "TEXTAREA";
|
|
3481
|
-
const isInPopover = popoverContentRef.current && popoverContentRef.current.contains(target);
|
|
3482
|
-
if (isTextarea || isInPopover) {
|
|
3483
|
-
const dataGridKeys = [
|
|
3484
|
-
"Enter",
|
|
3485
|
-
"Delete",
|
|
3486
|
-
"Backspace",
|
|
3487
|
-
"ArrowUp",
|
|
3488
|
-
"ArrowDown",
|
|
3489
|
-
"ArrowLeft",
|
|
3490
|
-
"ArrowRight",
|
|
3491
|
-
"Tab",
|
|
3492
|
-
" "
|
|
3493
|
-
];
|
|
3494
|
-
if (dataGridKeys.includes(e.key) && e.key !== "Escape") {
|
|
3495
|
-
e.stopImmediatePropagation();
|
|
3496
|
-
}
|
|
3497
|
-
}
|
|
3498
|
-
};
|
|
3499
|
-
window.addEventListener("keydown", handleKeyDownCapture, true);
|
|
3500
|
-
return () => {
|
|
3501
|
-
window.removeEventListener("keydown", handleKeyDownCapture, true);
|
|
3502
|
-
};
|
|
3503
|
-
}, [isPopoverOpen]);
|
|
3504
|
-
const combinedRefs = useCombinedRefs(inputRef, ref);
|
|
3505
|
-
const handleOverlayMouseDown = useCallback15(
|
|
3506
|
-
(e) => {
|
|
3507
|
-
if (e.detail === 2) {
|
|
3508
|
-
e.preventDefault();
|
|
3509
|
-
e.stopPropagation();
|
|
3510
|
-
setSingleRange({ row, col });
|
|
3511
|
-
setIsPopoverOpen(true);
|
|
3512
|
-
return;
|
|
3513
|
-
}
|
|
3514
|
-
container.overlayProps.onMouseDown?.(e);
|
|
3515
|
-
},
|
|
3516
|
-
[container.overlayProps, setSingleRange, row, col]
|
|
3517
|
-
);
|
|
3518
|
-
const customContainer = {
|
|
3519
|
-
...container,
|
|
3520
|
-
overlayProps: {
|
|
3521
|
-
...container.overlayProps,
|
|
3522
|
-
onMouseDown: handleOverlayMouseDown
|
|
3523
|
-
}
|
|
3524
|
-
};
|
|
3525
|
-
const handlePopoverSave = () => {
|
|
3526
|
-
onChange(popoverValue, value);
|
|
3527
|
-
setLocalValue(popoverValue);
|
|
3528
|
-
setIsPopoverOpen(false);
|
|
3529
|
-
onBlur();
|
|
3530
|
-
onInputBlur();
|
|
3531
|
-
};
|
|
3532
|
-
const handlePopoverKeyDown = useCallback15((e) => {
|
|
3533
|
-
if (e.key !== "Escape") {
|
|
3534
|
-
e.stopPropagation();
|
|
3535
|
-
}
|
|
3536
|
-
}, []);
|
|
3537
|
-
const displayValue = localValue || "";
|
|
3538
|
-
const truncatedValue = displayValue.length > 50 ? `${displayValue.substring(0, 50)}...` : displayValue;
|
|
3539
|
-
return /* @__PURE__ */ jsxs8(
|
|
3540
|
-
RadixPopover.Root,
|
|
3541
|
-
{
|
|
3542
|
-
open: isPopoverOpen,
|
|
3543
|
-
onOpenChange: (open) => {
|
|
3544
|
-
if (!open) {
|
|
3545
|
-
handlePopoverSave();
|
|
3546
|
-
} else {
|
|
3547
|
-
setIsPopoverOpen(true);
|
|
3548
|
-
}
|
|
3549
|
-
},
|
|
3550
|
-
children: [
|
|
3551
|
-
/* @__PURE__ */ jsxs8(DataGridCellContainer, { ...customContainer, ...errorProps, children: [
|
|
3552
|
-
/* @__PURE__ */ jsx11(RadixPopover.Anchor, { asChild: true, children: /* @__PURE__ */ jsx11(
|
|
3553
|
-
"div",
|
|
3554
|
-
{
|
|
3555
|
-
className: clx7(
|
|
3556
|
-
"txt-compact-small text-ui-fg-subtle flex size-full cursor-pointer items-center justify-center bg-transparent outline-none",
|
|
3557
|
-
"focus:cursor-text"
|
|
3558
|
-
),
|
|
3559
|
-
children: /* @__PURE__ */ jsx11("span", { className: "w-full truncate text-center", children: truncatedValue })
|
|
3560
|
-
}
|
|
3561
|
-
) }),
|
|
3562
|
-
/* @__PURE__ */ jsx11(
|
|
3563
|
-
"input",
|
|
3564
|
-
{
|
|
3565
|
-
className: "sr-only",
|
|
3566
|
-
autoComplete: "off",
|
|
3567
|
-
tabIndex: -1,
|
|
3568
|
-
value: localValue,
|
|
3569
|
-
onChange: (e) => setLocalValue(e.target.value),
|
|
3570
|
-
ref: combinedRefs,
|
|
3571
|
-
onBlur: () => {
|
|
3572
|
-
onBlur();
|
|
3573
|
-
onInputBlur();
|
|
3574
|
-
onChange(localValue, value);
|
|
3575
|
-
},
|
|
3576
|
-
...input,
|
|
3577
|
-
...rest
|
|
3578
|
-
}
|
|
3579
|
-
)
|
|
3580
|
-
] }),
|
|
3581
|
-
/* @__PURE__ */ jsx11(RadixPopover.Portal, { children: /* @__PURE__ */ jsx11(
|
|
3582
|
-
RadixPopover.Content,
|
|
3583
|
-
{
|
|
3584
|
-
className: clx7(
|
|
3585
|
-
"bg-ui-bg-base shadow-elevation-flyout flex max-h-[80vh] w-[600px] overflow-hidden p-0 outline-none"
|
|
3586
|
-
),
|
|
3587
|
-
align: "start",
|
|
3588
|
-
side: "bottom",
|
|
3589
|
-
sideOffset: -29,
|
|
3590
|
-
alignOffset: -16,
|
|
3591
|
-
collisionPadding: 24,
|
|
3592
|
-
onEscapeKeyDown: handlePopoverSave,
|
|
3593
|
-
onKeyDown: handlePopoverKeyDown,
|
|
3594
|
-
children: /* @__PURE__ */ jsx11("div", { ref: popoverContentRef, className: "h-full w-full", children: /* @__PURE__ */ jsx11(
|
|
3595
|
-
Textarea,
|
|
3596
|
-
{
|
|
3597
|
-
value: popoverValue,
|
|
3598
|
-
onChange: (e) => setPopoverValue(e.target.value),
|
|
3599
|
-
onKeyDown: (e) => {
|
|
3600
|
-
e.stopPropagation();
|
|
3601
|
-
},
|
|
3602
|
-
className: "!bg-ui-bg-base h-full min-h-[300px] w-full resize-none border-0 p-4 !shadow-none focus-visible:!shadow-none"
|
|
3603
|
-
}
|
|
3604
|
-
) })
|
|
3605
|
-
}
|
|
3606
|
-
) })
|
|
3607
|
-
]
|
|
3608
|
-
}
|
|
3609
|
-
);
|
|
3610
|
-
};
|
|
3611
|
-
|
|
3612
3416
|
// src/components/data-grid/data-grid.tsx
|
|
3613
|
-
import { jsx as
|
|
3417
|
+
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
3614
3418
|
var _DataGrid = ({
|
|
3615
3419
|
isLoading,
|
|
3616
3420
|
...props
|
|
3617
3421
|
}) => {
|
|
3618
|
-
return isLoading ? /* @__PURE__ */
|
|
3422
|
+
return isLoading ? /* @__PURE__ */ jsx11(
|
|
3619
3423
|
DataGridSkeleton,
|
|
3620
3424
|
{
|
|
3621
3425
|
columns: props.columns,
|
|
3622
3426
|
rows: props.data?.length && props.data.length > 0 ? props.data.length : 10
|
|
3623
3427
|
}
|
|
3624
|
-
) : /* @__PURE__ */
|
|
3428
|
+
) : /* @__PURE__ */ jsx11(DataGridRoot, { ...props });
|
|
3625
3429
|
};
|
|
3626
3430
|
var DataGrid = Object.assign(_DataGrid, {
|
|
3627
3431
|
BooleanCell: DataGridBooleanCell,
|
|
3628
3432
|
TextCell: DataGridTextCell,
|
|
3629
|
-
ExpandableTextCell: DataGridExpandableTextCell,
|
|
3630
3433
|
NumberCell: DataGridNumberCell,
|
|
3631
3434
|
CurrencyCell: DataGridCurrencyCell,
|
|
3632
3435
|
ReadonlyCell: DataGridReadonlyCell
|
|
@@ -3665,23 +3468,23 @@ function createDataGridHelper() {
|
|
|
3665
3468
|
import { TaxExclusive, TaxInclusive } from "@medusajs/icons";
|
|
3666
3469
|
import { Tooltip as Tooltip3 } from "@medusajs/ui";
|
|
3667
3470
|
import { useTranslation as useTranslation4 } from "react-i18next";
|
|
3668
|
-
import { jsx as
|
|
3471
|
+
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
3669
3472
|
var IncludesTaxTooltip = ({
|
|
3670
3473
|
includesTax
|
|
3671
3474
|
}) => {
|
|
3672
3475
|
const { t } = useTranslation4();
|
|
3673
|
-
return /* @__PURE__ */
|
|
3476
|
+
return /* @__PURE__ */ jsx12(
|
|
3674
3477
|
Tooltip3,
|
|
3675
3478
|
{
|
|
3676
3479
|
maxWidth: 999,
|
|
3677
3480
|
content: includesTax ? t("general.includesTaxTooltip") : t("general.excludesTaxTooltip"),
|
|
3678
|
-
children: includesTax ? /* @__PURE__ */
|
|
3481
|
+
children: includesTax ? /* @__PURE__ */ jsx12(TaxInclusive, { className: "text-ui-fg-muted shrink-0" }) : /* @__PURE__ */ jsx12(TaxExclusive, { className: "text-ui-fg-muted shrink-0" })
|
|
3679
3482
|
}
|
|
3680
3483
|
);
|
|
3681
3484
|
};
|
|
3682
3485
|
|
|
3683
3486
|
// src/components/data-grid/helpers/create-data-grid-price-columns.tsx
|
|
3684
|
-
import { jsx as
|
|
3487
|
+
import { jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
3685
3488
|
var createDataGridPriceColumns = ({
|
|
3686
3489
|
currencies: currencies2,
|
|
3687
3490
|
regions,
|
|
@@ -3712,15 +3515,15 @@ var createDataGridPriceColumns = ({
|
|
|
3712
3515
|
return getFieldName(context, currency);
|
|
3713
3516
|
},
|
|
3714
3517
|
type: "number",
|
|
3715
|
-
header: () => /* @__PURE__ */
|
|
3716
|
-
/* @__PURE__ */
|
|
3717
|
-
/* @__PURE__ */
|
|
3518
|
+
header: () => /* @__PURE__ */ jsxs8("div", { className: "flex w-full items-center justify-between gap-3", children: [
|
|
3519
|
+
/* @__PURE__ */ jsx13("span", { className: "truncate", title: translatedCurrencyName, children: translatedCurrencyName }),
|
|
3520
|
+
/* @__PURE__ */ jsx13(IncludesTaxTooltip, { includesTax: preference?.is_tax_inclusive })
|
|
3718
3521
|
] }),
|
|
3719
3522
|
cell: (context) => {
|
|
3720
3523
|
if (isReadyOnly?.(context)) {
|
|
3721
|
-
return /* @__PURE__ */
|
|
3524
|
+
return /* @__PURE__ */ jsx13(DataGridReadonlyCell, { context });
|
|
3722
3525
|
}
|
|
3723
|
-
return /* @__PURE__ */
|
|
3526
|
+
return /* @__PURE__ */ jsx13(DataGridCurrencyCell, { code: currency, context });
|
|
3724
3527
|
}
|
|
3725
3528
|
});
|
|
3726
3529
|
}) ?? [],
|
|
@@ -3744,19 +3547,19 @@ var createDataGridPriceColumns = ({
|
|
|
3744
3547
|
return getFieldName(context, region.id);
|
|
3745
3548
|
},
|
|
3746
3549
|
type: "number",
|
|
3747
|
-
header: () => /* @__PURE__ */
|
|
3748
|
-
/* @__PURE__ */
|
|
3749
|
-
/* @__PURE__ */
|
|
3550
|
+
header: () => /* @__PURE__ */ jsxs8("div", { className: "flex w-full items-center justify-between gap-3", children: [
|
|
3551
|
+
/* @__PURE__ */ jsx13("span", { className: "truncate", title: translatedRegionName, children: translatedRegionName }),
|
|
3552
|
+
/* @__PURE__ */ jsx13(IncludesTaxTooltip, { includesTax: preference?.is_tax_inclusive })
|
|
3750
3553
|
] }),
|
|
3751
3554
|
cell: (context) => {
|
|
3752
3555
|
if (isReadyOnly?.(context)) {
|
|
3753
|
-
return /* @__PURE__ */
|
|
3556
|
+
return /* @__PURE__ */ jsx13(DataGridReadonlyCell, { context });
|
|
3754
3557
|
}
|
|
3755
3558
|
const currency = currencies2?.find((c) => c === region.currency_code);
|
|
3756
3559
|
if (!currency) {
|
|
3757
3560
|
return null;
|
|
3758
3561
|
}
|
|
3759
|
-
return /* @__PURE__ */
|
|
3562
|
+
return /* @__PURE__ */ jsx13(
|
|
3760
3563
|
DataGridCurrencyCell,
|
|
3761
3564
|
{
|
|
3762
3565
|
code: region.currency_code,
|
|
@@ -16,30 +16,30 @@ import {
|
|
|
16
16
|
} from "./chunk-R65S6ZZV.mjs";
|
|
17
17
|
import {
|
|
18
18
|
useProductTableFilters
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-XTQ7UFA3.mjs";
|
|
20
20
|
import "./chunk-GU5PJRPM.mjs";
|
|
21
21
|
import "./chunk-C76H5USB.mjs";
|
|
22
22
|
import "./chunk-DZWH2RV6.mjs";
|
|
23
23
|
import {
|
|
24
24
|
KeyboundForm
|
|
25
25
|
} from "./chunk-6HTZNHPT.mjs";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-XXBP2Z5M.mjs";
|
|
27
27
|
import {
|
|
28
28
|
RouteFocusModal,
|
|
29
29
|
useRouteModal
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
31
31
|
import "./chunk-MNXC6Q4F.mjs";
|
|
32
32
|
import "./chunk-LPEUYMRK.mjs";
|
|
33
33
|
import "./chunk-S4DMV3ZT.mjs";
|
|
34
34
|
import "./chunk-SUYYSKCB.mjs";
|
|
35
35
|
import "./chunk-OBQI23QM.mjs";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-JUVGXLY5.mjs";
|
|
37
37
|
import "./chunk-I4OBEAOJ.mjs";
|
|
38
|
-
import "./chunk-XIVBRONM.mjs";
|
|
39
38
|
import "./chunk-HI6URQ7H.mjs";
|
|
40
39
|
import "./chunk-6CLQKVAU.mjs";
|
|
41
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
42
40
|
import "./chunk-HKIF5HVL.mjs";
|
|
41
|
+
import "./chunk-XIVBRONM.mjs";
|
|
42
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
43
43
|
import "./chunk-WAXMT4IY.mjs";
|
|
44
44
|
import "./chunk-DYDGGABK.mjs";
|
|
45
45
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -5,11 +5,11 @@ import "./chunk-IUCDCPJU.mjs";
|
|
|
5
5
|
import {
|
|
6
6
|
KeyboundForm
|
|
7
7
|
} from "./chunk-6HTZNHPT.mjs";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-XXBP2Z5M.mjs";
|
|
9
9
|
import {
|
|
10
10
|
RouteFocusModal,
|
|
11
11
|
useRouteModal
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
13
13
|
import {
|
|
14
14
|
Form
|
|
15
15
|
} from "./chunk-OBQI23QM.mjs";
|
|
@@ -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 {
|
|
23
23
|
SingleColumnPage
|
|
@@ -25,9 +25,6 @@ import {
|
|
|
25
25
|
import "./chunk-C76H5USB.mjs";
|
|
26
26
|
import "./chunk-DZWH2RV6.mjs";
|
|
27
27
|
import "./chunk-MNXC6Q4F.mjs";
|
|
28
|
-
import {
|
|
29
|
-
useFeatureFlag
|
|
30
|
-
} from "./chunk-G4BWCU5P.mjs";
|
|
31
28
|
import {
|
|
32
29
|
useExtension
|
|
33
30
|
} from "./chunk-C5P5PL3E.mjs";
|
|
@@ -40,13 +37,13 @@ import {
|
|
|
40
37
|
import "./chunk-OC7BQLYI.mjs";
|
|
41
38
|
import "./chunk-S4DMV3ZT.mjs";
|
|
42
39
|
import "./chunk-SUYYSKCB.mjs";
|
|
43
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-JUVGXLY5.mjs";
|
|
44
41
|
import "./chunk-I4OBEAOJ.mjs";
|
|
45
|
-
import "./chunk-XIVBRONM.mjs";
|
|
46
42
|
import "./chunk-HI6URQ7H.mjs";
|
|
47
43
|
import "./chunk-6CLQKVAU.mjs";
|
|
48
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
49
44
|
import "./chunk-HKIF5HVL.mjs";
|
|
45
|
+
import "./chunk-XIVBRONM.mjs";
|
|
46
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
50
47
|
import "./chunk-WAXMT4IY.mjs";
|
|
51
48
|
import "./chunk-DYDGGABK.mjs";
|
|
52
49
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -101,7 +98,7 @@ var CollectionDetailBreadcrumb = (props) => {
|
|
|
101
98
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
102
99
|
|
|
103
100
|
// src/routes/collections/collection-detail/components/collection-general-section/collection-general-section.tsx
|
|
104
|
-
import {
|
|
101
|
+
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
105
102
|
import { Container, Heading, Text, usePrompt } from "@medusajs/ui";
|
|
106
103
|
import { useTranslation } from "react-i18next";
|
|
107
104
|
import { useNavigate } from "react-router-dom";
|
|
@@ -112,7 +109,6 @@ var CollectionGeneralSection = ({
|
|
|
112
109
|
const { t } = useTranslation();
|
|
113
110
|
const prompt = usePrompt();
|
|
114
111
|
const navigate = useNavigate();
|
|
115
|
-
const isTranslationsEnabled = useFeatureFlag("translation");
|
|
116
112
|
const { mutateAsync } = useDeleteCollection(collection.id);
|
|
117
113
|
const handleDelete = async () => {
|
|
118
114
|
const res = await prompt({
|
|
@@ -145,17 +141,6 @@ var CollectionGeneralSection = ({
|
|
|
145
141
|
}
|
|
146
142
|
]
|
|
147
143
|
},
|
|
148
|
-
...isTranslationsEnabled ? [
|
|
149
|
-
{
|
|
150
|
-
actions: [
|
|
151
|
-
{
|
|
152
|
-
label: t("translations.actions.manage"),
|
|
153
|
-
to: `/settings/translations/edit?reference=product_collection&reference_id=${collection.id}`,
|
|
154
|
-
icon: /* @__PURE__ */ jsx2(GlobeEurope, {})
|
|
155
|
-
}
|
|
156
|
-
]
|
|
157
|
-
}
|
|
158
|
-
] : [],
|
|
159
144
|
{
|
|
160
145
|
actions: [
|
|
161
146
|
{
|
|
@@ -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";
|
|
@@ -32,16 +32,13 @@ import "./chunk-LSEYENCI.mjs";
|
|
|
32
32
|
import "./chunk-OMC5JCQH.mjs";
|
|
33
33
|
import "./chunk-IW4TACOD.mjs";
|
|
34
34
|
import "./chunk-R65S6ZZV.mjs";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-XTQ7UFA3.mjs";
|
|
36
36
|
import "./chunk-GU5PJRPM.mjs";
|
|
37
37
|
import {
|
|
38
38
|
SingleColumnPage
|
|
39
39
|
} from "./chunk-GIZFNLKK.mjs";
|
|
40
40
|
import "./chunk-C76H5USB.mjs";
|
|
41
41
|
import "./chunk-DZWH2RV6.mjs";
|
|
42
|
-
import {
|
|
43
|
-
useFeatureFlag
|
|
44
|
-
} from "./chunk-G4BWCU5P.mjs";
|
|
45
42
|
import {
|
|
46
43
|
useExtension
|
|
47
44
|
} from "./chunk-C5P5PL3E.mjs";
|
|
@@ -52,13 +49,13 @@ import {
|
|
|
52
49
|
import "./chunk-OC7BQLYI.mjs";
|
|
53
50
|
import "./chunk-S4DMV3ZT.mjs";
|
|
54
51
|
import "./chunk-SUYYSKCB.mjs";
|
|
55
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-JUVGXLY5.mjs";
|
|
56
53
|
import "./chunk-I4OBEAOJ.mjs";
|
|
57
|
-
import "./chunk-XIVBRONM.mjs";
|
|
58
54
|
import "./chunk-HI6URQ7H.mjs";
|
|
59
55
|
import "./chunk-6CLQKVAU.mjs";
|
|
60
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
61
56
|
import "./chunk-HKIF5HVL.mjs";
|
|
57
|
+
import "./chunk-XIVBRONM.mjs";
|
|
58
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
62
59
|
import "./chunk-WAXMT4IY.mjs";
|
|
63
60
|
import "./chunk-DYDGGABK.mjs";
|
|
64
61
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -96,7 +93,7 @@ import { createColumnHelper } from "@tanstack/react-table";
|
|
|
96
93
|
import { useMemo } from "react";
|
|
97
94
|
|
|
98
95
|
// src/routes/collections/collection-list/components/collection-list-table/collection-row-actions.tsx
|
|
99
|
-
import {
|
|
96
|
+
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
100
97
|
import { usePrompt } from "@medusajs/ui";
|
|
101
98
|
import { useTranslation } from "react-i18next";
|
|
102
99
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -105,7 +102,6 @@ var CollectionRowActions = ({
|
|
|
105
102
|
}) => {
|
|
106
103
|
const { t } = useTranslation();
|
|
107
104
|
const prompt = usePrompt();
|
|
108
|
-
const isTranslationsEnabled = useFeatureFlag("translation");
|
|
109
105
|
const { mutateAsync } = useDeleteCollection(collection.id);
|
|
110
106
|
const handleDeleteCollection = async () => {
|
|
111
107
|
const res = await prompt({
|
|
@@ -136,17 +132,6 @@ var CollectionRowActions = ({
|
|
|
136
132
|
}
|
|
137
133
|
]
|
|
138
134
|
},
|
|
139
|
-
...isTranslationsEnabled ? [
|
|
140
|
-
{
|
|
141
|
-
actions: [
|
|
142
|
-
{
|
|
143
|
-
icon: /* @__PURE__ */ jsx(GlobeEurope, {}),
|
|
144
|
-
label: t("translations.actions.manage"),
|
|
145
|
-
to: `/settings/translations/edit?reference=product_collection&reference_id=${collection.id}`
|
|
146
|
-
}
|
|
147
|
-
]
|
|
148
|
-
}
|
|
149
|
-
] : [],
|
|
150
135
|
{
|
|
151
136
|
actions: [
|
|
152
137
|
{
|
|
@@ -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-JUVGXLY5.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
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
18
16
|
import "./chunk-HKIF5HVL.mjs";
|
|
17
|
+
import "./chunk-XIVBRONM.mjs";
|
|
18
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
19
19
|
import "./chunk-WAXMT4IY.mjs";
|
|
20
20
|
import "./chunk-DYDGGABK.mjs";
|
|
21
21
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -2,11 +2,11 @@ import "./chunk-IUCDCPJU.mjs";
|
|
|
2
2
|
import {
|
|
3
3
|
KeyboundForm
|
|
4
4
|
} from "./chunk-6HTZNHPT.mjs";
|
|
5
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-XXBP2Z5M.mjs";
|
|
6
6
|
import {
|
|
7
7
|
RouteFocusModal,
|
|
8
8
|
useRouteModal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Form
|
|
12
12
|
} from "./chunk-OBQI23QM.mjs";
|
|
@@ -6,11 +6,11 @@ import "./chunk-IUCDCPJU.mjs";
|
|
|
6
6
|
import {
|
|
7
7
|
KeyboundForm
|
|
8
8
|
} from "./chunk-6HTZNHPT.mjs";
|
|
9
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-XXBP2Z5M.mjs";
|
|
10
10
|
import {
|
|
11
11
|
RouteFocusModal,
|
|
12
12
|
useRouteModal
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
14
14
|
import "./chunk-DG7J63J2.mjs";
|
|
15
15
|
import {
|
|
16
16
|
Form
|
|
@@ -52,13 +52,13 @@ import {
|
|
|
52
52
|
import "./chunk-OC7BQLYI.mjs";
|
|
53
53
|
import "./chunk-S4DMV3ZT.mjs";
|
|
54
54
|
import "./chunk-SUYYSKCB.mjs";
|
|
55
|
-
import "./chunk-
|
|
55
|
+
import "./chunk-JUVGXLY5.mjs";
|
|
56
56
|
import "./chunk-I4OBEAOJ.mjs";
|
|
57
|
-
import "./chunk-XIVBRONM.mjs";
|
|
58
57
|
import "./chunk-HI6URQ7H.mjs";
|
|
59
58
|
import "./chunk-6CLQKVAU.mjs";
|
|
60
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
61
59
|
import "./chunk-HKIF5HVL.mjs";
|
|
60
|
+
import "./chunk-XIVBRONM.mjs";
|
|
61
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
62
62
|
import "./chunk-WAXMT4IY.mjs";
|
|
63
63
|
import "./chunk-DYDGGABK.mjs";
|
|
64
64
|
import "./chunk-LGNTHZ5Y.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
|
ConditionalTooltip
|
|
12
12
|
} from "./chunk-OC7BQLYI.mjs";
|