@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
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DataGridTogglableNumberCell
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4YAPXPLM.mjs";
|
|
4
4
|
import {
|
|
5
5
|
DataGrid,
|
|
6
6
|
DataGridReadonlyCell,
|
|
7
7
|
DataGridSkeleton,
|
|
8
8
|
createDataGridHelper,
|
|
9
9
|
useDataGridDuplicateCell
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-W7SLPIO2.mjs";
|
|
11
11
|
import "./chunk-DK4WIVY6.mjs";
|
|
12
12
|
import {
|
|
13
13
|
PRODUCT_VARIANT_IDS_KEY
|
|
@@ -19,11 +19,11 @@ import "./chunk-IUCDCPJU.mjs";
|
|
|
19
19
|
import {
|
|
20
20
|
KeyboundForm
|
|
21
21
|
} from "./chunk-6HTZNHPT.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-XXBP2Z5M.mjs";
|
|
23
23
|
import {
|
|
24
24
|
RouteFocusModal,
|
|
25
25
|
useRouteModal
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
27
27
|
import {
|
|
28
28
|
ProgressBar
|
|
29
29
|
} from "./chunk-D3YQN7HV.mjs";
|
|
@@ -36,13 +36,13 @@ import {
|
|
|
36
36
|
import "./chunk-OC7BQLYI.mjs";
|
|
37
37
|
import "./chunk-S4DMV3ZT.mjs";
|
|
38
38
|
import "./chunk-OBQI23QM.mjs";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-JUVGXLY5.mjs";
|
|
40
40
|
import "./chunk-I4OBEAOJ.mjs";
|
|
41
|
-
import "./chunk-XIVBRONM.mjs";
|
|
42
41
|
import "./chunk-HI6URQ7H.mjs";
|
|
43
42
|
import "./chunk-6CLQKVAU.mjs";
|
|
44
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
45
43
|
import "./chunk-HKIF5HVL.mjs";
|
|
44
|
+
import "./chunk-XIVBRONM.mjs";
|
|
45
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
46
46
|
import "./chunk-WAXMT4IY.mjs";
|
|
47
47
|
import "./chunk-DYDGGABK.mjs";
|
|
48
48
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -2,23 +2,23 @@ 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";
|
|
13
13
|
import {
|
|
14
14
|
useCreateProductTag
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./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";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeleteProductTagAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AMOGGDOW.mjs";
|
|
4
4
|
import "./chunk-M4Q5Q4I3.mjs";
|
|
5
5
|
import "./chunk-PVW6M64S.mjs";
|
|
6
6
|
import "./chunk-QMRGIWOP.mjs";
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
} from "./chunk-R65S6ZZV.mjs";
|
|
55
55
|
import {
|
|
56
56
|
useProductTableFilters
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-XTQ7UFA3.mjs";
|
|
58
58
|
import "./chunk-GU5PJRPM.mjs";
|
|
59
59
|
import {
|
|
60
60
|
SingleColumnPage
|
|
@@ -63,9 +63,6 @@ import "./chunk-C76H5USB.mjs";
|
|
|
63
63
|
import "./chunk-DZWH2RV6.mjs";
|
|
64
64
|
import "./chunk-MNXC6Q4F.mjs";
|
|
65
65
|
import "./chunk-DG7J63J2.mjs";
|
|
66
|
-
import {
|
|
67
|
-
useFeatureFlag
|
|
68
|
-
} from "./chunk-G4BWCU5P.mjs";
|
|
69
66
|
import {
|
|
70
67
|
useExtension
|
|
71
68
|
} from "./chunk-C5P5PL3E.mjs";
|
|
@@ -81,13 +78,13 @@ import "./chunk-SUYYSKCB.mjs";
|
|
|
81
78
|
import {
|
|
82
79
|
productTagsQueryKeys,
|
|
83
80
|
useProductTag
|
|
84
|
-
} from "./chunk-
|
|
81
|
+
} from "./chunk-JUVGXLY5.mjs";
|
|
85
82
|
import "./chunk-I4OBEAOJ.mjs";
|
|
86
|
-
import "./chunk-XIVBRONM.mjs";
|
|
87
83
|
import "./chunk-HI6URQ7H.mjs";
|
|
88
84
|
import "./chunk-6CLQKVAU.mjs";
|
|
89
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
90
85
|
import "./chunk-HKIF5HVL.mjs";
|
|
86
|
+
import "./chunk-XIVBRONM.mjs";
|
|
87
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
91
88
|
import "./chunk-WAXMT4IY.mjs";
|
|
92
89
|
import "./chunk-DYDGGABK.mjs";
|
|
93
90
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -148,7 +145,7 @@ var productTagLoader = async ({ params }) => {
|
|
|
148
145
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
149
146
|
|
|
150
147
|
// src/routes/product-tags/product-tag-detail/components/product-tag-general-section/product-tag-general-section.tsx
|
|
151
|
-
import {
|
|
148
|
+
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
152
149
|
import { Container, Heading } from "@medusajs/ui";
|
|
153
150
|
import { useTranslation } from "react-i18next";
|
|
154
151
|
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
@@ -157,7 +154,6 @@ var ProductTagGeneralSection = ({
|
|
|
157
154
|
}) => {
|
|
158
155
|
const { t } = useTranslation();
|
|
159
156
|
const handleDelete = useDeleteProductTagAction({ productTag });
|
|
160
|
-
const isTranslationsEnabled = useFeatureFlag("translation");
|
|
161
157
|
return /* @__PURE__ */ jsxs(Container, { className: "flex items-center justify-between", children: [
|
|
162
158
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-x-1.5", children: [
|
|
163
159
|
/* @__PURE__ */ jsx2("span", { className: "text-ui-fg-muted h1-core", children: "#" }),
|
|
@@ -176,17 +172,6 @@ var ProductTagGeneralSection = ({
|
|
|
176
172
|
}
|
|
177
173
|
]
|
|
178
174
|
},
|
|
179
|
-
...isTranslationsEnabled ? [
|
|
180
|
-
{
|
|
181
|
-
actions: [
|
|
182
|
-
{
|
|
183
|
-
label: t("translations.actions.manage"),
|
|
184
|
-
to: `/settings/translations/edit?reference=product_tag&reference_id=${productTag.id}`,
|
|
185
|
-
icon: /* @__PURE__ */ jsx2(GlobeEurope, {})
|
|
186
|
-
}
|
|
187
|
-
]
|
|
188
|
-
}
|
|
189
|
-
] : [],
|
|
190
175
|
{
|
|
191
176
|
actions: [
|
|
192
177
|
{
|
|
@@ -4,23 +4,23 @@ import {
|
|
|
4
4
|
} from "./chunk-6HTZNHPT.mjs";
|
|
5
5
|
import {
|
|
6
6
|
RouteDrawer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
8
8
|
import {
|
|
9
9
|
useRouteModal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
11
11
|
import {
|
|
12
12
|
Form
|
|
13
13
|
} from "./chunk-OBQI23QM.mjs";
|
|
14
14
|
import {
|
|
15
15
|
useProductTag,
|
|
16
16
|
useUpdateProductTag
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JUVGXLY5.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
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
23
21
|
import "./chunk-HKIF5HVL.mjs";
|
|
22
|
+
import "./chunk-XIVBRONM.mjs";
|
|
23
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
24
24
|
import "./chunk-WAXMT4IY.mjs";
|
|
25
25
|
import "./chunk-DYDGGABK.mjs";
|
|
26
26
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeleteProductTagAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-AMOGGDOW.mjs";
|
|
4
4
|
import {
|
|
5
5
|
useProductTagTableColumns
|
|
6
6
|
} from "./chunk-M4Q5Q4I3.mjs";
|
|
@@ -54,7 +54,7 @@ import "./chunk-LSEYENCI.mjs";
|
|
|
54
54
|
import "./chunk-OMC5JCQH.mjs";
|
|
55
55
|
import "./chunk-IW4TACOD.mjs";
|
|
56
56
|
import "./chunk-R65S6ZZV.mjs";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-XTQ7UFA3.mjs";
|
|
58
58
|
import "./chunk-GU5PJRPM.mjs";
|
|
59
59
|
import {
|
|
60
60
|
SingleColumnPage
|
|
@@ -63,9 +63,6 @@ import "./chunk-C76H5USB.mjs";
|
|
|
63
63
|
import "./chunk-DZWH2RV6.mjs";
|
|
64
64
|
import "./chunk-MNXC6Q4F.mjs";
|
|
65
65
|
import "./chunk-DG7J63J2.mjs";
|
|
66
|
-
import {
|
|
67
|
-
useFeatureFlag
|
|
68
|
-
} from "./chunk-G4BWCU5P.mjs";
|
|
69
66
|
import {
|
|
70
67
|
useExtension
|
|
71
68
|
} from "./chunk-C5P5PL3E.mjs";
|
|
@@ -79,13 +76,13 @@ import "./chunk-SUYYSKCB.mjs";
|
|
|
79
76
|
import {
|
|
80
77
|
productTagsQueryKeys,
|
|
81
78
|
useProductTags
|
|
82
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-JUVGXLY5.mjs";
|
|
83
80
|
import "./chunk-I4OBEAOJ.mjs";
|
|
84
|
-
import "./chunk-XIVBRONM.mjs";
|
|
85
81
|
import "./chunk-HI6URQ7H.mjs";
|
|
86
82
|
import "./chunk-6CLQKVAU.mjs";
|
|
87
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
88
83
|
import "./chunk-HKIF5HVL.mjs";
|
|
84
|
+
import "./chunk-XIVBRONM.mjs";
|
|
85
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
89
86
|
import "./chunk-WAXMT4IY.mjs";
|
|
90
87
|
import "./chunk-DYDGGABK.mjs";
|
|
91
88
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -137,7 +134,7 @@ var productTagListLoader = async ({ request }) => {
|
|
|
137
134
|
};
|
|
138
135
|
|
|
139
136
|
// src/routes/product-tags/product-tag-list/components/product-tag-list-table/product-tag-list-table.tsx
|
|
140
|
-
import {
|
|
137
|
+
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
141
138
|
import { Button, Container, Heading } from "@medusajs/ui";
|
|
142
139
|
import { keepPreviousData } from "@tanstack/react-query";
|
|
143
140
|
import { createColumnHelper } from "@tanstack/react-table";
|
|
@@ -203,7 +200,6 @@ var ProductTagRowActions = ({
|
|
|
203
200
|
}) => {
|
|
204
201
|
const { t } = useTranslation();
|
|
205
202
|
const handleDelete = useDeleteProductTagAction({ productTag });
|
|
206
|
-
const isTranslationsEnabled = useFeatureFlag("translation");
|
|
207
203
|
return /* @__PURE__ */ jsx(
|
|
208
204
|
ActionMenu,
|
|
209
205
|
{
|
|
@@ -217,17 +213,6 @@ var ProductTagRowActions = ({
|
|
|
217
213
|
}
|
|
218
214
|
]
|
|
219
215
|
},
|
|
220
|
-
...isTranslationsEnabled ? [
|
|
221
|
-
{
|
|
222
|
-
actions: [
|
|
223
|
-
{
|
|
224
|
-
icon: /* @__PURE__ */ jsx(GlobeEurope, {}),
|
|
225
|
-
label: t("translations.actions.manage"),
|
|
226
|
-
to: `/settings/translations/edit?reference=product_tag&reference_id=${productTag.id}`
|
|
227
|
-
}
|
|
228
|
-
]
|
|
229
|
-
}
|
|
230
|
-
] : [],
|
|
231
216
|
{
|
|
232
217
|
actions: [
|
|
233
218
|
{
|
|
@@ -1,10 +1,10 @@
|
|
|
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";
|
|
@@ -12,13 +12,13 @@ import "./chunk-OBQI23QM.mjs";
|
|
|
12
12
|
import {
|
|
13
13
|
useProductTag,
|
|
14
14
|
useUpdateProductTag
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./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";
|
|
@@ -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";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
} from "./chunk-R65S6ZZV.mjs";
|
|
21
21
|
import {
|
|
22
22
|
useProductTableFilters
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-XTQ7UFA3.mjs";
|
|
24
24
|
import "./chunk-GU5PJRPM.mjs";
|
|
25
25
|
import {
|
|
26
26
|
SingleColumnPage
|
|
@@ -28,9 +28,6 @@ import {
|
|
|
28
28
|
import "./chunk-C76H5USB.mjs";
|
|
29
29
|
import "./chunk-DZWH2RV6.mjs";
|
|
30
30
|
import "./chunk-MNXC6Q4F.mjs";
|
|
31
|
-
import {
|
|
32
|
-
useFeatureFlag
|
|
33
|
-
} from "./chunk-G4BWCU5P.mjs";
|
|
34
31
|
import {
|
|
35
32
|
useExtension
|
|
36
33
|
} from "./chunk-C5P5PL3E.mjs";
|
|
@@ -43,16 +40,16 @@ import {
|
|
|
43
40
|
import "./chunk-OC7BQLYI.mjs";
|
|
44
41
|
import "./chunk-S4DMV3ZT.mjs";
|
|
45
42
|
import "./chunk-SUYYSKCB.mjs";
|
|
46
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-JUVGXLY5.mjs";
|
|
47
44
|
import "./chunk-I4OBEAOJ.mjs";
|
|
48
|
-
import "./chunk-XIVBRONM.mjs";
|
|
49
45
|
import "./chunk-HI6URQ7H.mjs";
|
|
50
46
|
import "./chunk-6CLQKVAU.mjs";
|
|
51
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
52
47
|
import {
|
|
53
48
|
productTypesQueryKeys,
|
|
54
49
|
useProductType
|
|
55
50
|
} from "./chunk-HKIF5HVL.mjs";
|
|
51
|
+
import "./chunk-XIVBRONM.mjs";
|
|
52
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
56
53
|
import "./chunk-WAXMT4IY.mjs";
|
|
57
54
|
import "./chunk-DYDGGABK.mjs";
|
|
58
55
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -113,7 +110,7 @@ var productTypeLoader = async ({ params }) => {
|
|
|
113
110
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
114
111
|
|
|
115
112
|
// src/routes/product-types/product-type-detail/components/product-type-general-section/product-type-general-section.tsx
|
|
116
|
-
import {
|
|
113
|
+
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
117
114
|
import { Container, Heading } from "@medusajs/ui";
|
|
118
115
|
import { useTranslation } from "react-i18next";
|
|
119
116
|
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
@@ -125,7 +122,6 @@ var ProductTypeGeneralSection = ({
|
|
|
125
122
|
productType.id,
|
|
126
123
|
productType.value
|
|
127
124
|
);
|
|
128
|
-
const isTranslationsEnabled = useFeatureFlag("translation");
|
|
129
125
|
return /* @__PURE__ */ jsxs(Container, { className: "flex items-center justify-between", children: [
|
|
130
126
|
/* @__PURE__ */ jsx2(Heading, { children: productType.value }),
|
|
131
127
|
/* @__PURE__ */ jsx2(
|
|
@@ -141,17 +137,6 @@ var ProductTypeGeneralSection = ({
|
|
|
141
137
|
}
|
|
142
138
|
]
|
|
143
139
|
},
|
|
144
|
-
...isTranslationsEnabled ? [
|
|
145
|
-
{
|
|
146
|
-
actions: [
|
|
147
|
-
{
|
|
148
|
-
label: t("translations.actions.manage"),
|
|
149
|
-
to: `/settings/translations/edit?reference=product_type&reference_id=${productType.id}`,
|
|
150
|
-
icon: /* @__PURE__ */ jsx2(GlobeEurope, {})
|
|
151
|
-
}
|
|
152
|
-
]
|
|
153
|
-
}
|
|
154
|
-
] : [],
|
|
155
140
|
{
|
|
156
141
|
actions: [
|
|
157
142
|
{
|
|
@@ -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";
|
|
@@ -27,9 +27,6 @@ import {
|
|
|
27
27
|
} from "./chunk-GIZFNLKK.mjs";
|
|
28
28
|
import "./chunk-C76H5USB.mjs";
|
|
29
29
|
import "./chunk-DZWH2RV6.mjs";
|
|
30
|
-
import {
|
|
31
|
-
useFeatureFlag
|
|
32
|
-
} from "./chunk-G4BWCU5P.mjs";
|
|
33
30
|
import {
|
|
34
31
|
useExtension
|
|
35
32
|
} from "./chunk-C5P5PL3E.mjs";
|
|
@@ -57,7 +54,7 @@ import { useTranslation as useTranslation2 } from "react-i18next";
|
|
|
57
54
|
import { Link } from "react-router-dom";
|
|
58
55
|
|
|
59
56
|
// src/routes/product-types/product-type-list/components/product-type-list-table/product-table-row-actions.tsx
|
|
60
|
-
import {
|
|
57
|
+
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
61
58
|
import { useTranslation } from "react-i18next";
|
|
62
59
|
import { jsx } from "react/jsx-runtime";
|
|
63
60
|
var ProductTypeRowActions = ({
|
|
@@ -68,7 +65,6 @@ var ProductTypeRowActions = ({
|
|
|
68
65
|
productType.id,
|
|
69
66
|
productType.value
|
|
70
67
|
);
|
|
71
|
-
const isTranslationsEnabled = useFeatureFlag("translation");
|
|
72
68
|
return /* @__PURE__ */ jsx(
|
|
73
69
|
ActionMenu,
|
|
74
70
|
{
|
|
@@ -82,17 +78,6 @@ var ProductTypeRowActions = ({
|
|
|
82
78
|
}
|
|
83
79
|
]
|
|
84
80
|
},
|
|
85
|
-
...isTranslationsEnabled ? [
|
|
86
|
-
{
|
|
87
|
-
actions: [
|
|
88
|
-
{
|
|
89
|
-
icon: /* @__PURE__ */ jsx(GlobeEurope, {}),
|
|
90
|
-
label: t("translations.actions.manage"),
|
|
91
|
-
to: `/settings/translations/edit?reference=product_type&reference_id=${productType.id}`
|
|
92
|
-
}
|
|
93
|
-
]
|
|
94
|
-
}
|
|
95
|
-
] : [],
|
|
96
81
|
{
|
|
97
82
|
actions: [
|
|
98
83
|
{
|
|
@@ -1,24 +1,24 @@
|
|
|
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 {
|
|
19
17
|
useProductType,
|
|
20
18
|
useUpdateProductType
|
|
21
19
|
} from "./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";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import "./chunk-JQBWAJQZ.mjs";
|
|
2
1
|
import {
|
|
3
2
|
LinkButton
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6WKBBTKM.mjs";
|
|
5
4
|
import {
|
|
6
5
|
VARIANT_DETAIL_FIELDS
|
|
7
6
|
} from "./chunk-FA2DYBNX.mjs";
|
|
@@ -30,9 +29,6 @@ import {
|
|
|
30
29
|
TwoColumnPage
|
|
31
30
|
} from "./chunk-GIZFNLKK.mjs";
|
|
32
31
|
import "./chunk-DZWH2RV6.mjs";
|
|
33
|
-
import {
|
|
34
|
-
useFeatureFlag
|
|
35
|
-
} from "./chunk-G4BWCU5P.mjs";
|
|
36
32
|
import {
|
|
37
33
|
useExtension
|
|
38
34
|
} from "./chunk-C5P5PL3E.mjs";
|
|
@@ -45,13 +41,13 @@ import {
|
|
|
45
41
|
import "./chunk-OC7BQLYI.mjs";
|
|
46
42
|
import "./chunk-S4DMV3ZT.mjs";
|
|
47
43
|
import "./chunk-SUYYSKCB.mjs";
|
|
48
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-JUVGXLY5.mjs";
|
|
49
45
|
import "./chunk-I4OBEAOJ.mjs";
|
|
50
|
-
import "./chunk-XIVBRONM.mjs";
|
|
51
46
|
import "./chunk-HI6URQ7H.mjs";
|
|
52
47
|
import "./chunk-6CLQKVAU.mjs";
|
|
53
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
54
48
|
import "./chunk-HKIF5HVL.mjs";
|
|
49
|
+
import "./chunk-XIVBRONM.mjs";
|
|
50
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
55
51
|
import "./chunk-WAXMT4IY.mjs";
|
|
56
52
|
import "./chunk-DYDGGABK.mjs";
|
|
57
53
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -126,7 +122,7 @@ var variantLoader = async ({ params }) => {
|
|
|
126
122
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
127
123
|
|
|
128
124
|
// src/routes/product-variants/product-variant-detail/components/variant-general-section/variant-general-section.tsx
|
|
129
|
-
import { Component,
|
|
125
|
+
import { Component, PencilSquare, Trash } from "@medusajs/icons";
|
|
130
126
|
import { Badge, Container, Heading, usePrompt } from "@medusajs/ui";
|
|
131
127
|
import { useTranslation } from "react-i18next";
|
|
132
128
|
import { useNavigate } from "react-router-dom";
|
|
@@ -135,7 +131,6 @@ function VariantGeneralSection({ variant }) {
|
|
|
135
131
|
const { t } = useTranslation();
|
|
136
132
|
const prompt = usePrompt();
|
|
137
133
|
const navigate = useNavigate();
|
|
138
|
-
const isTranslationsEnabled = useFeatureFlag("translation");
|
|
139
134
|
const hasInventoryKit = variant.inventory?.length > 1;
|
|
140
135
|
const { mutateAsync } = useDeleteVariant(variant.product_id, variant.id);
|
|
141
136
|
const handleDelete = async () => {
|
|
@@ -178,17 +173,6 @@ function VariantGeneralSection({ variant }) {
|
|
|
178
173
|
}
|
|
179
174
|
]
|
|
180
175
|
},
|
|
181
|
-
...isTranslationsEnabled ? [
|
|
182
|
-
{
|
|
183
|
-
actions: [
|
|
184
|
-
{
|
|
185
|
-
label: t("translations.actions.manage"),
|
|
186
|
-
to: `/settings/translations/edit?reference=product_variant&reference_id=${variant.id}`,
|
|
187
|
-
icon: /* @__PURE__ */ jsx2(GlobeEurope, {})
|
|
188
|
-
}
|
|
189
|
-
]
|
|
190
|
-
}
|
|
191
|
-
] : [],
|
|
192
176
|
{
|
|
193
177
|
actions: [
|
|
194
178
|
{
|
|
@@ -19,23 +19,23 @@ import {
|
|
|
19
19
|
} from "./chunk-6HTZNHPT.mjs";
|
|
20
20
|
import {
|
|
21
21
|
RouteDrawer
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
23
23
|
import {
|
|
24
24
|
useRouteModal
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
26
26
|
import "./chunk-DG7J63J2.mjs";
|
|
27
27
|
import {
|
|
28
28
|
Form
|
|
29
29
|
} from "./chunk-OBQI23QM.mjs";
|
|
30
30
|
import {
|
|
31
31
|
productVariantQueryKeys
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-JUVGXLY5.mjs";
|
|
33
33
|
import "./chunk-I4OBEAOJ.mjs";
|
|
34
|
-
import "./chunk-XIVBRONM.mjs";
|
|
35
34
|
import "./chunk-HI6URQ7H.mjs";
|
|
36
35
|
import "./chunk-6CLQKVAU.mjs";
|
|
37
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
38
36
|
import "./chunk-HKIF5HVL.mjs";
|
|
37
|
+
import "./chunk-XIVBRONM.mjs";
|
|
38
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
39
39
|
import "./chunk-WAXMT4IY.mjs";
|
|
40
40
|
import "./chunk-DYDGGABK.mjs";
|
|
41
41
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -14,11 +14,11 @@ import "./chunk-IUCDCPJU.mjs";
|
|
|
14
14
|
import {
|
|
15
15
|
KeyboundForm
|
|
16
16
|
} from "./chunk-6HTZNHPT.mjs";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-XXBP2Z5M.mjs";
|
|
18
18
|
import {
|
|
19
19
|
RouteFocusModal,
|
|
20
20
|
useRouteModal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
22
22
|
import {
|
|
23
23
|
Form
|
|
24
24
|
} from "./chunk-OBQI23QM.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 "./chunk-OBQI23QM.mjs";
|
|
11
11
|
import {
|
|
12
12
|
useBatchVariantImages,
|
package/dist/{product-variant-metadata-LBOIYBBF.mjs → product-variant-metadata-OQOE34VY.mjs}
RENAMED
|
@@ -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";
|
|
@@ -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
|
useDocumentDirection
|
|
13
13
|
} from "./chunk-S4DMV3ZT.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AddCampaignPromotionForm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-L4NOVTH5.mjs";
|
|
4
4
|
import "./chunk-5LGRZSEH.mjs";
|
|
5
5
|
import "./chunk-3TZOFKX2.mjs";
|
|
6
6
|
import "./chunk-OFN7DIZA.mjs";
|
|
@@ -9,8 +9,8 @@ import "./chunk-IUCDCPJU.mjs";
|
|
|
9
9
|
import "./chunk-6HTZNHPT.mjs";
|
|
10
10
|
import {
|
|
11
11
|
RouteDrawer
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
13
|
+
import "./chunk-42OOM4DJ.mjs";
|
|
14
14
|
import "./chunk-S4DMV3ZT.mjs";
|
|
15
15
|
import "./chunk-OBQI23QM.mjs";
|
|
16
16
|
import {
|