@medusajs/dashboard 2.12.2-snapshot-20251209162938 → 2.12.2-snapshot-20251209184934
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-JQKPED4U.mjs → add-campaign-promotions-PHAHMGXP.mjs} +2 -2
- package/dist/{adjust-inventory-2MFA656V.mjs → adjust-inventory-I5VYMAI4.mjs} +2 -2
- package/dist/{api-key-management-create-ZUVF3SLR.mjs → api-key-management-create-CVRFY4PL.mjs} +2 -2
- package/dist/{api-key-management-detail-AWFAZIS3.mjs → api-key-management-detail-APCZDVLI.mjs} +4 -4
- package/dist/{api-key-management-edit-42HNUSXL.mjs → api-key-management-edit-JMU3WEPX.mjs} +2 -2
- package/dist/{api-key-management-sales-channels-7FVABESO.mjs → api-key-management-sales-channels-4OU5VGIG.mjs} +2 -2
- package/dist/app.css +4 -0
- package/dist/app.js +5729 -4811
- package/dist/app.mjs +4 -4
- package/dist/{campaign-budget-edit-6DMZGUCI.mjs → campaign-budget-edit-B5MSE26J.mjs} +2 -2
- package/dist/{campaign-configuration-UNFRB5HR.mjs → campaign-configuration-QOE3D2BE.mjs} +2 -2
- package/dist/{campaign-create-QXG7PD3S.mjs → campaign-create-FJOECKGT.mjs} +3 -3
- package/dist/{campaign-detail-63VVZZRR.mjs → campaign-detail-ALXFJ4HV.mjs} +3 -3
- package/dist/{campaign-edit-HN4US7DV.mjs → campaign-edit-K2POQH7M.mjs} +2 -2
- package/dist/{categories-metadata-MWCZ2DYL.mjs → categories-metadata-JQP6TFX3.mjs} +6 -6
- package/dist/{category-create-FFIBWXAH.mjs → category-create-L2KJCHPO.mjs} +2 -2
- package/dist/{category-detail-XL6NRY6P.mjs → category-detail-VGMUHRD2.mjs} +22 -6
- package/dist/{category-edit-74MZ6TXN.mjs → category-edit-U6SLZSAX.mjs} +2 -2
- package/dist/{category-list-AH2EGTI7.mjs → category-list-W7JW4PWA.mjs} +16 -1
- package/dist/{category-organize-B6EFBFKB.mjs → category-organize-LLSVAO3U.mjs} +2 -2
- package/dist/{category-products-STYU4DUG.mjs → category-products-26UAVYOO.mjs} +6 -6
- package/dist/{chunk-JUVGXLY5.mjs → chunk-3ESSTIV2.mjs} +187 -12
- package/dist/chunk-4Y2NYEXF.mjs +0 -0
- package/dist/{chunk-Q6MSICBU.mjs → chunk-6GLZIACV.mjs} +1 -1
- package/dist/{chunk-4G2UHUXX.mjs → chunk-7GJ5T4R3.mjs} +2 -2
- package/dist/{chunk-Q6ULXDU6.mjs → chunk-AE6R7KDB.mjs} +230 -180
- package/dist/{chunk-YV4ANEZF.mjs → chunk-AFXODJBA.mjs} +1 -1
- package/dist/{chunk-4YAPXPLM.mjs → chunk-ATP7TOOL.mjs} +1 -1
- package/dist/{chunk-3YPRDSZ6.mjs → chunk-BZKI5J2M.mjs} +1 -1
- package/dist/{chunk-UM4OIJZ3.mjs → chunk-CFQNWTZV.mjs} +1 -1
- package/dist/{chunk-42OOM4DJ.mjs → chunk-D6UW7URG.mjs} +23 -6
- package/dist/{chunk-AMOGGDOW.mjs → chunk-DCYB22MH.mjs} +1 -1
- package/dist/{chunk-EQTBJSBZ.mjs → chunk-F5I264Q3.mjs} +3 -0
- package/dist/{chunk-CZFLKMYE.mjs → chunk-HPPR6PXK.mjs} +1 -1
- package/dist/{chunk-HWKLNKOY.mjs → chunk-I6C52ARQ.mjs} +1 -1
- package/dist/chunk-JQBWAJQZ.mjs +0 -0
- package/dist/{chunk-LHNU4DYZ.mjs → chunk-K43NZTDO.mjs} +2 -2
- package/dist/{chunk-KF7ZWW4K.mjs → chunk-LCEKY54O.mjs} +2 -2
- package/dist/{chunk-PNPT4W2F.mjs → chunk-MSBISMBI.mjs} +1 -1
- package/dist/{chunk-D4J3CEWH.mjs → chunk-N3SAXQVR.mjs} +2 -2
- package/dist/{chunk-UKECZ5PA.mjs → chunk-PS5T2R6J.mjs} +3 -3
- package/dist/{chunk-XTQ7UFA3.mjs → chunk-R2EBIESZ.mjs} +1 -1
- package/dist/{chunk-25UWYEJX.mjs → chunk-RKUXD6IZ.mjs} +1 -1
- package/dist/{chunk-EXDBX4YX.mjs → chunk-UEJOY5PF.mjs} +3 -3
- package/dist/{chunk-XXBP2Z5M.mjs → chunk-WVA4O7QS.mjs} +1 -1
- package/dist/{chunk-L4NOVTH5.mjs → chunk-YIOBBZUB.mjs} +2 -2
- package/dist/{collection-add-products-ESZEWJ46.mjs → collection-add-products-42BUUEGQ.mjs} +6 -6
- package/dist/{collection-create-DCRW344Z.mjs → collection-create-4JX4YE47.mjs} +2 -2
- package/dist/{collection-detail-K6IVWLIL.mjs → collection-detail-JLSDQPJA.mjs} +20 -5
- package/dist/{collection-edit-UNFEW6HT.mjs → collection-edit-MXL35GQQ.mjs} +2 -2
- package/dist/{collection-list-BL7A7SEI.mjs → collection-list-CSUDRQPF.mjs} +20 -5
- package/dist/{collection-metadata-4EYMP7BJ.mjs → collection-metadata-NHI7Q5PP.mjs} +6 -6
- package/dist/{customer-create-XCLZENJS.mjs → customer-create-IA56MXE6.mjs} +2 -2
- package/dist/{customer-create-address-4HZUIAM7.mjs → customer-create-address-27M25HTO.mjs} +2 -2
- package/dist/{customer-detail-KAS23VQF.mjs → customer-detail-TQBDVGSS.mjs} +3 -3
- package/dist/{customer-edit-BW5GVTQI.mjs → customer-edit-XQ5NWIVX.mjs} +2 -2
- package/dist/{customer-group-add-customers-HUGHHMU6.mjs → customer-group-add-customers-FRJP6RCY.mjs} +2 -2
- package/dist/{customer-group-create-6YV7W6TI.mjs → customer-group-create-RY4FVEIW.mjs} +2 -2
- package/dist/{customer-group-detail-NDATWX3X.mjs → customer-group-detail-VZ2LCJTM.mjs} +3 -3
- package/dist/{customer-group-edit-7NXU34BQ.mjs → customer-group-edit-MQWARIQZ.mjs} +2 -2
- package/dist/{customer-group-list-IASP3QHT.mjs → customer-group-list-TMPPZ5UL.mjs} +3 -3
- package/dist/{customer-group-metadata-WK2BGEGO.mjs → customer-group-metadata-JQJRLLXG.mjs} +3 -3
- package/dist/{customer-metadata-ZUWCUTM7.mjs → customer-metadata-HN2DYD5I.mjs} +3 -3
- package/dist/{customers-add-customer-group-UCCFXRXX.mjs → customers-add-customer-group-U6N2EYQP.mjs} +5 -5
- package/dist/{edit-inventory-item-Y5W6VTHJ.mjs → edit-inventory-item-RATTNP2Y.mjs} +2 -2
- package/dist/{edit-inventory-item-attributes-NAAZDFEJ.mjs → edit-inventory-item-attributes-JHH5GSNL.mjs} +2 -2
- package/dist/{edit-reservation-2UD4RZJX.mjs → edit-reservation-UZCSNLHY.mjs} +2 -2
- package/dist/{edit-rules-P5A2TLLU.mjs → edit-rules-7TPOBXFZ.mjs} +5 -5
- package/dist/en.json +12 -0
- package/dist/{inventory-create-KXFY3TQL.mjs → inventory-create-2Y5QC3OA.mjs} +6 -6
- package/dist/{inventory-detail-ZAZCDL6E.mjs → inventory-detail-ZQCVV4RJ.mjs} +3 -3
- package/dist/{inventory-metadata-4HGPMO4B.mjs → inventory-metadata-UVG65D5W.mjs} +6 -6
- package/dist/{inventory-stock-KFPSSUND.mjs → inventory-stock-2ERQRZLC.mjs} +7 -7
- package/dist/{invite-VKHAAF4Z.mjs → invite-WISVECE2.mjs} +3 -2
- package/dist/{location-create-RPLEXUZR.mjs → location-create-WZ43K3W7.mjs} +2 -2
- package/dist/{location-detail-YFDGVGAX.mjs → location-detail-SFDVGAXL.mjs} +7 -5
- package/dist/{location-edit-L4ISEQHX.mjs → location-edit-VCS7GVWQ.mjs} +2 -2
- package/dist/{location-fulfillment-providers-EGPKJDEL.mjs → location-fulfillment-providers-P6H2RGA5.mjs} +6 -6
- package/dist/{location-list-Z42ZYHUF.mjs → location-list-UK3WRDL5.mjs} +3 -2
- package/dist/{location-sales-channels-YMABMECM.mjs → location-sales-channels-NKNM5TQK.mjs} +2 -2
- package/dist/{location-service-zone-create-NSMZCD5N.mjs → location-service-zone-create-3FWF3DG5.mjs} +3 -3
- package/dist/{location-service-zone-edit-6OUAFEZD.mjs → location-service-zone-edit-KHHMSPXD.mjs} +2 -2
- package/dist/{location-service-zone-manage-areas-SEC6LKCZ.mjs → location-service-zone-manage-areas-YFEAZUUN.mjs} +3 -3
- package/dist/{location-service-zone-shipping-option-create-LEPP6ZKF.mjs → location-service-zone-shipping-option-create-5DDMRKOC.mjs} +7 -7
- package/dist/{location-service-zone-shipping-option-edit-QS6HTWST.mjs → location-service-zone-shipping-option-edit-QCURIIGL.mjs} +2 -2
- package/dist/{location-service-zone-shipping-option-pricing-23QLNSBT.mjs → location-service-zone-shipping-option-pricing-UPEPQWLW.mjs} +4 -4
- package/dist/{login-IQH2HKVZ.mjs → login-7SC4ZVX5.mjs} +6 -5
- package/dist/{manage-locations-JD6FSBOT.mjs → manage-locations-MLNMPQ5I.mjs} +2 -2
- package/dist/{order-allocate-items-3DDI4V3W.mjs → order-allocate-items-I5KMPZY5.mjs} +2 -2
- package/dist/{order-create-claim-WHQYED4S.mjs → order-create-claim-RNAQKT2N.mjs} +5 -5
- package/dist/{order-create-edit-RAWEHXCU.mjs → order-create-edit-SNNGAEC3.mjs} +5 -5
- package/dist/{order-create-exchange-P73XCSR7.mjs → order-create-exchange-OGI2AOM3.mjs} +5 -5
- package/dist/{order-create-fulfillment-YOL4SA4B.mjs → order-create-fulfillment-O77TLXZZ.mjs} +5 -5
- package/dist/{order-create-refund-NMP4UN7F.mjs → order-create-refund-TA6UIOZ2.mjs} +5 -5
- package/dist/{order-create-return-QGXWSPMP.mjs → order-create-return-LTGYASZZ.mjs} +2 -2
- package/dist/{order-create-shipment-UTNVNIGA.mjs → order-create-shipment-6WZM3GL3.mjs} +5 -5
- package/dist/{order-detail-4EFWM3R4.mjs → order-detail-6E3BT4AZ.mjs} +3 -3
- package/dist/{order-edit-billing-address-WBSP4RAG.mjs → order-edit-billing-address-6BPGH6UU.mjs} +5 -5
- package/dist/{order-edit-email-CBAUBHW7.mjs → order-edit-email-WK6ROFAD.mjs} +5 -5
- package/dist/{order-edit-shipping-address-2TEO4ZRQ.mjs → order-edit-shipping-address-4V6MN24B.mjs} +5 -5
- package/dist/{order-metadata-66OZ5ZMN.mjs → order-metadata-LEMDXDSV.mjs} +6 -6
- package/dist/{order-receive-return-2LQFBB4G.mjs → order-receive-return-Q65ZRAPJ.mjs} +5 -5
- package/dist/{order-request-transfer-IH3PQCCL.mjs → order-request-transfer-KODTTNE7.mjs} +5 -5
- package/dist/{price-list-configuration-OLIGCEN5.mjs → price-list-configuration-RDE5YPJK.mjs} +3 -3
- package/dist/{price-list-create-3DCACAZ4.mjs → price-list-create-GFB6ASPT.mjs} +9 -9
- package/dist/{price-list-detail-2IW4SDOL.mjs → price-list-detail-VG7YTBLM.mjs} +4 -4
- package/dist/{price-list-edit-B3LQZSW6.mjs → price-list-edit-LDF52VQU.mjs} +2 -2
- package/dist/{price-list-prices-add-B5LQAR7J.mjs → price-list-prices-add-4QGLHLRI.mjs} +8 -8
- package/dist/{price-list-prices-edit-MAR2T4LM.mjs → price-list-prices-edit-PROYTJF5.mjs} +4 -4
- package/dist/{product-attributes-DY4HDYTW.mjs → product-attributes-ADDY3FXA.mjs} +6 -6
- package/dist/{product-create-EMK2FPWY.mjs → product-create-FZOWZNUP.mjs} +7 -7
- package/dist/{product-create-option-GEGQNSMQ.mjs → product-create-option-UMZKRNTC.mjs} +2 -2
- package/dist/{product-create-variant-UHUBSUIV.mjs → product-create-variant-TXLZHYFS.mjs} +6 -6
- package/dist/{product-detail-M3PFNUX7.mjs → product-detail-VXKYKOMR.mjs} +52 -10
- package/dist/{product-edit-ULKEZHDA.mjs → product-edit-52CPZNCH.mjs} +6 -6
- package/dist/{product-edit-option-HBIOBQTS.mjs → product-edit-option-ZMTSLRG5.mjs} +2 -2
- package/dist/{product-export-X7MNQLBY.mjs → product-export-ZMWNVJL7.mjs} +6 -6
- package/dist/{product-image-variants-edit-RR5RXMSX.mjs → product-image-variants-edit-OB4NVQKS.mjs} +5 -5
- package/dist/{product-import-OJWU5AHL.mjs → product-import-X7YB4W4N.mjs} +5 -5
- package/dist/{product-list-FAVJ2A46.mjs → product-list-TIVHW3ZJ.mjs} +17 -5
- package/dist/{product-media-EGK66SRX.mjs → product-media-ULNJ7JJY.mjs} +2 -2
- package/dist/{product-metadata-VRLBFMKG.mjs → product-metadata-DPMEFUWJ.mjs} +6 -6
- package/dist/{product-organization-4PH2ZOSM.mjs → product-organization-3RJVV3K2.mjs} +6 -6
- package/dist/{product-prices-WQDE4XYT.mjs → product-prices-OO7OYVO6.mjs} +3 -3
- package/dist/{product-sales-channels-ZICOOOKY.mjs → product-sales-channels-2PN4L7II.mjs} +2 -2
- package/dist/{product-shipping-profile-KIDRTPWA.mjs → product-shipping-profile-45XXB7FM.mjs} +2 -2
- package/dist/{product-stock-EVY7L4ID.mjs → product-stock-45QDRJSR.mjs} +7 -7
- package/dist/{product-tag-create-UOQUAMYT.mjs → product-tag-create-L4Y3ZJVU.mjs} +5 -5
- package/dist/{product-tag-detail-L2J3IXMC.mjs → product-tag-detail-IE3W2UVN.mjs} +21 -6
- package/dist/{product-tag-edit-AKATEM3L.mjs → product-tag-edit-OHJGEEDL.mjs} +5 -5
- package/dist/{product-tag-list-FUQN7YF5.mjs → product-tag-list-QWNKVQAP.mjs} +21 -6
- package/dist/{product-tag-metadata-UEOSDTSK.mjs → product-tag-metadata-PCA3HTLU.mjs} +6 -6
- package/dist/{product-type-create-HBDROTGB.mjs → product-type-create-KHSNCQCV.mjs} +2 -2
- package/dist/{product-type-detail-2KUITRE3.mjs → product-type-detail-XZH6HETD.mjs} +20 -5
- package/dist/{product-type-edit-H3JCMVRV.mjs → product-type-edit-3LRBWZ3S.mjs} +2 -2
- package/dist/{product-type-list-QX7QC6RI.mjs → product-type-list-XU6DADMO.mjs} +16 -1
- package/dist/{product-type-metadata-7E66UACZ.mjs → product-type-metadata-5BPLWPOK.mjs} +6 -6
- package/dist/{product-variant-detail-JHH3ICCS.mjs → product-variant-detail-7MIRJILL.mjs} +21 -5
- package/dist/{product-variant-edit-IIT3QIHD.mjs → product-variant-edit-JWKDUIEU.mjs} +5 -5
- package/dist/{product-variant-manage-inventory-items-BLHCH6QD.mjs → product-variant-manage-inventory-items-OGM64KYP.mjs} +2 -2
- package/dist/{product-variant-media-KLSUISGH.mjs → product-variant-media-C3KCFODU.mjs} +2 -2
- package/dist/{product-variant-metadata-UXHU6PFJ.mjs → product-variant-metadata-3CZ67ORB.mjs} +6 -6
- package/dist/{profile-edit-5EEKOEO5.mjs → profile-edit-YZCUGEXF.mjs} +2 -2
- package/dist/{promotion-add-campaign-JRTM7WBR.mjs → promotion-add-campaign-DO67QK6M.mjs} +3 -3
- package/dist/{promotion-create-KPDZWJWC.mjs → promotion-create-MXMWVA5U.mjs} +7 -7
- package/dist/{promotion-detail-SQARSSGK.mjs → promotion-detail-TZIERYRJ.mjs} +3 -3
- package/dist/{promotion-edit-details-AREFQ6O5.mjs → promotion-edit-details-6BSOOWQN.mjs} +2 -2
- package/dist/{refund-reason-create-IPZKKRQM.mjs → refund-reason-create-FUW7HCCF.mjs} +5 -5
- package/dist/{refund-reason-edit-LB66UGH7.mjs → refund-reason-edit-N3PKOFRF.mjs} +5 -5
- package/dist/{refund-reason-list-GOKBW63P.mjs → refund-reason-list-O5ZXIXE5.mjs} +3 -3
- package/dist/{region-add-countries-AFWXMQ6W.mjs → region-add-countries-7U4J5RW6.mjs} +2 -2
- package/dist/{region-create-YC4VZ4AS.mjs → region-create-IUGX33M5.mjs} +2 -2
- package/dist/{region-edit-5GO25GDF.mjs → region-edit-WAU347DP.mjs} +2 -2
- package/dist/{region-metadata-S7BUDXPD.mjs → region-metadata-IADU5YNP.mjs} +6 -6
- package/dist/{reservation-create-Z2SUMBGT.mjs → reservation-create-C6HTEF3R.mjs} +2 -2
- package/dist/{reservation-detail-ZL4WMT4A.mjs → reservation-detail-RLP2F23R.mjs} +3 -3
- package/dist/{reservation-metadata-QVEVN2FO.mjs → reservation-metadata-2PRGO5QF.mjs} +6 -6
- package/dist/{reset-password-5TAYQEUV.mjs → reset-password-XKX43KUT.mjs} +3 -2
- package/dist/{return-reason-create-NXWDC6AC.mjs → return-reason-create-HM54WRJY.mjs} +2 -2
- package/dist/{return-reason-edit-M6IKNNKB.mjs → return-reason-edit-VSIRHVQ6.mjs} +2 -2
- package/dist/{sales-channel-add-products-LCB33I6H.mjs → sales-channel-add-products-O6RKQB6J.mjs} +6 -6
- package/dist/{sales-channel-create-E7BDTPWD.mjs → sales-channel-create-4XLJDVJO.mjs} +2 -2
- package/dist/{sales-channel-detail-RUULD6Q7.mjs → sales-channel-detail-25VU2BIX.mjs} +4 -4
- package/dist/{sales-channel-edit-HMPA3Y3L.mjs → sales-channel-edit-UZGSXD5X.mjs} +2 -2
- package/dist/{sales-channel-list-5TFALQQS.mjs → sales-channel-list-UV44SKO6.mjs} +3 -3
- package/dist/{sales-channel-metadata-6WSCB67B.mjs → sales-channel-metadata-JODUF46V.mjs} +6 -6
- package/dist/{shipping-option-type-create-IMF4RHSO.mjs → shipping-option-type-create-SDJBL6L4.mjs} +5 -5
- package/dist/{shipping-option-type-detail-PHIHWW6G.mjs → shipping-option-type-detail-ZPUV6VUQ.mjs} +4 -4
- package/dist/{shipping-option-type-edit-SG4JQZGW.mjs → shipping-option-type-edit-J2LDCKOC.mjs} +5 -5
- package/dist/{shipping-option-type-list-RB2EKPWN.mjs → shipping-option-type-list-DZY43TDW.mjs} +4 -4
- package/dist/{shipping-profile-create-752TMBBE.mjs → shipping-profile-create-26R64I3Z.mjs} +2 -2
- package/dist/{shipping-profile-metadata-M3DVX5KX.mjs → shipping-profile-metadata-ZWYRX3I7.mjs} +6 -6
- package/dist/{store-add-currencies-3VMLZ6KB.mjs → store-add-currencies-ZFS3WZHG.mjs} +2 -2
- package/dist/{store-add-locales-WAHERXN3.mjs → store-add-locales-ZUQOMLGE.mjs} +4 -4
- package/dist/{store-detail-EY2ZQKZO.mjs → store-detail-ZQW7H3CD.mjs} +3 -3
- package/dist/{store-edit-EPAHLLKP.mjs → store-edit-AB5CDUTK.mjs} +2 -2
- package/dist/{store-metadata-7UPGGK7F.mjs → store-metadata-VJRBOHHB.mjs} +6 -6
- package/dist/{tax-region-create-LQZKNYTD.mjs → tax-region-create-X6TI7GS2.mjs} +5 -5
- package/dist/{tax-region-detail-AVG3XLVL.mjs → tax-region-detail-RWVU53ZI.mjs} +13 -12
- package/dist/{tax-region-edit-XR3ABTNA.mjs → tax-region-edit-EAS5YZS4.mjs} +5 -5
- package/dist/{tax-region-list-BXZBUXRJ.mjs → tax-region-list-4MQMCMKY.mjs} +4 -3
- package/dist/{tax-region-province-create-5JP3PVID.mjs → tax-region-province-create-GKJ7WMRS.mjs} +2 -2
- package/dist/{tax-region-province-detail-I7FF7NBE.mjs → tax-region-province-detail-QAJFG3C4.mjs} +12 -11
- package/dist/{tax-region-tax-override-create-H6LWWOPU.mjs → tax-region-tax-override-create-UNHHY3TK.mjs} +7 -7
- package/dist/{tax-region-tax-override-edit-SZWBWRCA.mjs → tax-region-tax-override-edit-EEOWMLFA.mjs} +8 -8
- package/dist/{tax-region-tax-rate-create-O2SDSXCH.mjs → tax-region-tax-rate-create-MECFGVPL.mjs} +2 -2
- package/dist/{tax-region-tax-rate-edit-W62VEVKT.mjs → tax-region-tax-rate-edit-7DYSPYOD.mjs} +2 -2
- package/dist/translation-list-5ZOAGLCT.mjs +146 -0
- package/dist/translations-edit-I6R5ZNFX.mjs +374 -0
- package/dist/{user-edit-LXQCTDGA.mjs → user-edit-ZBB4RMTP.mjs} +2 -2
- package/dist/{user-invite-2OKB7SCF.mjs → user-invite-XB635N26.mjs} +2 -2
- package/dist/{user-metadata-X36GKJ47.mjs → user-metadata-EQIFAEGE.mjs} +6 -6
- package/dist/{workflow-execution-detail-P6H5AUWI.mjs → workflow-execution-detail-XURIJZJ6.mjs} +3 -3
- package/package.json +9 -9
- package/src/components/common/icon-avatar/icon-avatar.tsx +4 -0
- package/src/components/layout/settings-layout/settings-layout.tsx +11 -1
- package/src/components/modals/route-focus-modal/route-focus-modal.tsx +8 -3
- package/src/components/modals/route-modal-form/route-modal-form.tsx +6 -1
- package/src/components/modals/route-modal-provider/route-provider.tsx +16 -4
- package/src/dashboard-app/routes/get-route.map.tsx +20 -0
- package/src/hooks/api/index.ts +1 -0
- package/src/hooks/api/product-variants.tsx +7 -1
- package/src/hooks/api/translations.tsx +254 -0
- package/src/i18n/translations/$schema.json +36 -0
- package/src/i18n/translations/en.json +12 -0
- package/src/i18n/translations/es.json +12 -0
- package/src/routes/categories/category-detail/components/category-general-section/category-general-section.tsx +16 -1
- package/src/routes/categories/category-list/components/category-list-table/category-list-table.tsx +16 -1
- package/src/routes/collections/collection-detail/components/collection-general-section/collection-general-section.tsx +16 -1
- package/src/routes/collections/collection-list/components/collection-list-table/collection-row-actions.tsx +16 -1
- package/src/routes/product-tags/product-tag-detail/components/product-tag-general-section/product-tag-general-section.tsx +16 -1
- package/src/routes/product-tags/product-tag-list/components/product-tag-list-table/product-tag-list-table.tsx +16 -1
- package/src/routes/product-types/product-type-detail/components/product-type-general-section/product-type-general-section.tsx +16 -1
- package/src/routes/product-types/product-type-list/components/product-type-list-table/product-table-row-actions.tsx +16 -1
- package/src/routes/product-variants/product-variant-detail/components/variant-general-section/variant-general-section.tsx +16 -1
- package/src/routes/products/product-detail/components/product-general-section/product-general-section.tsx +16 -1
- package/src/routes/products/product-detail/components/product-variant-section/product-variant-section.tsx +32 -1
- package/src/routes/products/product-list/components/product-list-table/product-list-table.tsx +15 -1
- package/src/routes/translations/translation-list/index.tsx +1 -0
- package/src/routes/translations/translation-list/translation-list.tsx +131 -0
- package/src/routes/translations/translations-edit/components/translations-edit-form/index.ts +1 -0
- package/src/routes/translations/translations-edit/components/translations-edit-form/translations-edit-form.tsx +405 -0
- package/src/routes/translations/translations-edit/index.ts +1 -0
- package/src/routes/translations/translations-edit/translations-edit.tsx +66 -0
- package/src/routes/translations/translations-edit/utils/index.ts +1 -0
- package/src/routes/translations/translations-edit/utils/reference-label-map.ts +10 -0
- /package/dist/{chunk-6WKBBTKM.mjs → chunk-CTUJXJYA.mjs} +0 -0
- /package/dist/{chunk-W7SLPIO2.mjs → chunk-IPG3I3J7.mjs} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeleteProductTagAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-DCYB22MH.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-R2EBIESZ.mjs";
|
|
58
58
|
import "./chunk-GU5PJRPM.mjs";
|
|
59
59
|
import {
|
|
60
60
|
SingleColumnPage
|
|
@@ -63,6 +63,9 @@ 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";
|
|
66
69
|
import {
|
|
67
70
|
useExtension
|
|
68
71
|
} from "./chunk-C5P5PL3E.mjs";
|
|
@@ -78,13 +81,13 @@ import "./chunk-SUYYSKCB.mjs";
|
|
|
78
81
|
import {
|
|
79
82
|
productTagsQueryKeys,
|
|
80
83
|
useProductTag
|
|
81
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-3ESSTIV2.mjs";
|
|
82
85
|
import "./chunk-I4OBEAOJ.mjs";
|
|
86
|
+
import "./chunk-XIVBRONM.mjs";
|
|
83
87
|
import "./chunk-HI6URQ7H.mjs";
|
|
84
88
|
import "./chunk-6CLQKVAU.mjs";
|
|
85
|
-
import "./chunk-HKIF5HVL.mjs";
|
|
86
|
-
import "./chunk-XIVBRONM.mjs";
|
|
87
89
|
import "./chunk-KI7TOXBR.mjs";
|
|
90
|
+
import "./chunk-HKIF5HVL.mjs";
|
|
88
91
|
import "./chunk-WAXMT4IY.mjs";
|
|
89
92
|
import "./chunk-DYDGGABK.mjs";
|
|
90
93
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -145,7 +148,7 @@ var productTagLoader = async ({ params }) => {
|
|
|
145
148
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
146
149
|
|
|
147
150
|
// src/routes/product-tags/product-tag-detail/components/product-tag-general-section/product-tag-general-section.tsx
|
|
148
|
-
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
151
|
+
import { GlobeEurope, PencilSquare, Trash } from "@medusajs/icons";
|
|
149
152
|
import { Container, Heading } from "@medusajs/ui";
|
|
150
153
|
import { useTranslation } from "react-i18next";
|
|
151
154
|
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
@@ -154,6 +157,7 @@ var ProductTagGeneralSection = ({
|
|
|
154
157
|
}) => {
|
|
155
158
|
const { t } = useTranslation();
|
|
156
159
|
const handleDelete = useDeleteProductTagAction({ productTag });
|
|
160
|
+
const isTranslationsEnabled = useFeatureFlag("translation");
|
|
157
161
|
return /* @__PURE__ */ jsxs(Container, { className: "flex items-center justify-between", children: [
|
|
158
162
|
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-x-1.5", children: [
|
|
159
163
|
/* @__PURE__ */ jsx2("span", { className: "text-ui-fg-muted h1-core", children: "#" }),
|
|
@@ -172,6 +176,17 @@ var ProductTagGeneralSection = ({
|
|
|
172
176
|
}
|
|
173
177
|
]
|
|
174
178
|
},
|
|
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
|
+
] : [],
|
|
175
190
|
{
|
|
176
191
|
actions: [
|
|
177
192
|
{
|
|
@@ -4,23 +4,23 @@ import {
|
|
|
4
4
|
} from "./chunk-6HTZNHPT.mjs";
|
|
5
5
|
import {
|
|
6
6
|
RouteDrawer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WVA4O7QS.mjs";
|
|
8
8
|
import {
|
|
9
9
|
useRouteModal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-D6UW7URG.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-3ESSTIV2.mjs";
|
|
18
18
|
import "./chunk-I4OBEAOJ.mjs";
|
|
19
|
+
import "./chunk-XIVBRONM.mjs";
|
|
19
20
|
import "./chunk-HI6URQ7H.mjs";
|
|
20
21
|
import "./chunk-6CLQKVAU.mjs";
|
|
21
|
-
import "./chunk-HKIF5HVL.mjs";
|
|
22
|
-
import "./chunk-XIVBRONM.mjs";
|
|
23
22
|
import "./chunk-KI7TOXBR.mjs";
|
|
23
|
+
import "./chunk-HKIF5HVL.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-DCYB22MH.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-R2EBIESZ.mjs";
|
|
58
58
|
import "./chunk-GU5PJRPM.mjs";
|
|
59
59
|
import {
|
|
60
60
|
SingleColumnPage
|
|
@@ -63,6 +63,9 @@ 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";
|
|
66
69
|
import {
|
|
67
70
|
useExtension
|
|
68
71
|
} from "./chunk-C5P5PL3E.mjs";
|
|
@@ -76,13 +79,13 @@ import "./chunk-SUYYSKCB.mjs";
|
|
|
76
79
|
import {
|
|
77
80
|
productTagsQueryKeys,
|
|
78
81
|
useProductTags
|
|
79
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-3ESSTIV2.mjs";
|
|
80
83
|
import "./chunk-I4OBEAOJ.mjs";
|
|
84
|
+
import "./chunk-XIVBRONM.mjs";
|
|
81
85
|
import "./chunk-HI6URQ7H.mjs";
|
|
82
86
|
import "./chunk-6CLQKVAU.mjs";
|
|
83
|
-
import "./chunk-HKIF5HVL.mjs";
|
|
84
|
-
import "./chunk-XIVBRONM.mjs";
|
|
85
87
|
import "./chunk-KI7TOXBR.mjs";
|
|
88
|
+
import "./chunk-HKIF5HVL.mjs";
|
|
86
89
|
import "./chunk-WAXMT4IY.mjs";
|
|
87
90
|
import "./chunk-DYDGGABK.mjs";
|
|
88
91
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -134,7 +137,7 @@ var productTagListLoader = async ({ request }) => {
|
|
|
134
137
|
};
|
|
135
138
|
|
|
136
139
|
// src/routes/product-tags/product-tag-list/components/product-tag-list-table/product-tag-list-table.tsx
|
|
137
|
-
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
140
|
+
import { GlobeEurope, PencilSquare, Trash } from "@medusajs/icons";
|
|
138
141
|
import { Button, Container, Heading } from "@medusajs/ui";
|
|
139
142
|
import { keepPreviousData } from "@tanstack/react-query";
|
|
140
143
|
import { createColumnHelper } from "@tanstack/react-table";
|
|
@@ -200,6 +203,7 @@ var ProductTagRowActions = ({
|
|
|
200
203
|
}) => {
|
|
201
204
|
const { t } = useTranslation();
|
|
202
205
|
const handleDelete = useDeleteProductTagAction({ productTag });
|
|
206
|
+
const isTranslationsEnabled = useFeatureFlag("translation");
|
|
203
207
|
return /* @__PURE__ */ jsx(
|
|
204
208
|
ActionMenu,
|
|
205
209
|
{
|
|
@@ -213,6 +217,17 @@ var ProductTagRowActions = ({
|
|
|
213
217
|
}
|
|
214
218
|
]
|
|
215
219
|
},
|
|
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
|
+
] : [],
|
|
216
231
|
{
|
|
217
232
|
actions: [
|
|
218
233
|
{
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MetadataForm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-N3SAXQVR.mjs";
|
|
4
4
|
import "./chunk-IUCDCPJU.mjs";
|
|
5
5
|
import "./chunk-6HTZNHPT.mjs";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-WVA4O7QS.mjs";
|
|
7
|
+
import "./chunk-D6UW7URG.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-3ESSTIV2.mjs";
|
|
16
16
|
import "./chunk-I4OBEAOJ.mjs";
|
|
17
|
+
import "./chunk-XIVBRONM.mjs";
|
|
17
18
|
import "./chunk-HI6URQ7H.mjs";
|
|
18
19
|
import "./chunk-6CLQKVAU.mjs";
|
|
19
|
-
import "./chunk-HKIF5HVL.mjs";
|
|
20
|
-
import "./chunk-XIVBRONM.mjs";
|
|
21
20
|
import "./chunk-KI7TOXBR.mjs";
|
|
21
|
+
import "./chunk-HKIF5HVL.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-WVA4O7QS.mjs";
|
|
6
6
|
import {
|
|
7
7
|
RouteFocusModal,
|
|
8
8
|
useRouteModal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-D6UW7URG.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-R2EBIESZ.mjs";
|
|
24
24
|
import "./chunk-GU5PJRPM.mjs";
|
|
25
25
|
import {
|
|
26
26
|
SingleColumnPage
|
|
@@ -28,6 +28,9 @@ 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";
|
|
31
34
|
import {
|
|
32
35
|
useExtension
|
|
33
36
|
} from "./chunk-C5P5PL3E.mjs";
|
|
@@ -40,16 +43,16 @@ import {
|
|
|
40
43
|
import "./chunk-OC7BQLYI.mjs";
|
|
41
44
|
import "./chunk-S4DMV3ZT.mjs";
|
|
42
45
|
import "./chunk-SUYYSKCB.mjs";
|
|
43
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-3ESSTIV2.mjs";
|
|
44
47
|
import "./chunk-I4OBEAOJ.mjs";
|
|
48
|
+
import "./chunk-XIVBRONM.mjs";
|
|
45
49
|
import "./chunk-HI6URQ7H.mjs";
|
|
46
50
|
import "./chunk-6CLQKVAU.mjs";
|
|
51
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
47
52
|
import {
|
|
48
53
|
productTypesQueryKeys,
|
|
49
54
|
useProductType
|
|
50
55
|
} from "./chunk-HKIF5HVL.mjs";
|
|
51
|
-
import "./chunk-XIVBRONM.mjs";
|
|
52
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
53
56
|
import "./chunk-WAXMT4IY.mjs";
|
|
54
57
|
import "./chunk-DYDGGABK.mjs";
|
|
55
58
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -110,7 +113,7 @@ var productTypeLoader = async ({ params }) => {
|
|
|
110
113
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
111
114
|
|
|
112
115
|
// src/routes/product-types/product-type-detail/components/product-type-general-section/product-type-general-section.tsx
|
|
113
|
-
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
116
|
+
import { GlobeEurope, PencilSquare, Trash } from "@medusajs/icons";
|
|
114
117
|
import { Container, Heading } from "@medusajs/ui";
|
|
115
118
|
import { useTranslation } from "react-i18next";
|
|
116
119
|
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
@@ -122,6 +125,7 @@ var ProductTypeGeneralSection = ({
|
|
|
122
125
|
productType.id,
|
|
123
126
|
productType.value
|
|
124
127
|
);
|
|
128
|
+
const isTranslationsEnabled = useFeatureFlag("translation");
|
|
125
129
|
return /* @__PURE__ */ jsxs(Container, { className: "flex items-center justify-between", children: [
|
|
126
130
|
/* @__PURE__ */ jsx2(Heading, { children: productType.value }),
|
|
127
131
|
/* @__PURE__ */ jsx2(
|
|
@@ -137,6 +141,17 @@ var ProductTypeGeneralSection = ({
|
|
|
137
141
|
}
|
|
138
142
|
]
|
|
139
143
|
},
|
|
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
|
+
] : [],
|
|
140
155
|
{
|
|
141
156
|
actions: [
|
|
142
157
|
{
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-6HTZNHPT.mjs";
|
|
5
5
|
import {
|
|
6
6
|
RouteDrawer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WVA4O7QS.mjs";
|
|
8
8
|
import {
|
|
9
9
|
useRouteModal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-D6UW7URG.mjs";
|
|
11
11
|
import {
|
|
12
12
|
Form
|
|
13
13
|
} from "./chunk-OBQI23QM.mjs";
|
|
@@ -27,6 +27,9 @@ 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";
|
|
30
33
|
import {
|
|
31
34
|
useExtension
|
|
32
35
|
} from "./chunk-C5P5PL3E.mjs";
|
|
@@ -54,7 +57,7 @@ import { useTranslation as useTranslation2 } from "react-i18next";
|
|
|
54
57
|
import { Link } from "react-router-dom";
|
|
55
58
|
|
|
56
59
|
// src/routes/product-types/product-type-list/components/product-type-list-table/product-table-row-actions.tsx
|
|
57
|
-
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
60
|
+
import { GlobeEurope, PencilSquare, Trash } from "@medusajs/icons";
|
|
58
61
|
import { useTranslation } from "react-i18next";
|
|
59
62
|
import { jsx } from "react/jsx-runtime";
|
|
60
63
|
var ProductTypeRowActions = ({
|
|
@@ -65,6 +68,7 @@ var ProductTypeRowActions = ({
|
|
|
65
68
|
productType.id,
|
|
66
69
|
productType.value
|
|
67
70
|
);
|
|
71
|
+
const isTranslationsEnabled = useFeatureFlag("translation");
|
|
68
72
|
return /* @__PURE__ */ jsx(
|
|
69
73
|
ActionMenu,
|
|
70
74
|
{
|
|
@@ -78,6 +82,17 @@ var ProductTypeRowActions = ({
|
|
|
78
82
|
}
|
|
79
83
|
]
|
|
80
84
|
},
|
|
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
|
+
] : [],
|
|
81
96
|
{
|
|
82
97
|
actions: [
|
|
83
98
|
{
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MetadataForm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-N3SAXQVR.mjs";
|
|
4
4
|
import "./chunk-IUCDCPJU.mjs";
|
|
5
5
|
import "./chunk-6HTZNHPT.mjs";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-WVA4O7QS.mjs";
|
|
7
|
+
import "./chunk-D6UW7URG.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-3ESSTIV2.mjs";
|
|
13
13
|
import "./chunk-I4OBEAOJ.mjs";
|
|
14
|
+
import "./chunk-XIVBRONM.mjs";
|
|
14
15
|
import "./chunk-HI6URQ7H.mjs";
|
|
15
16
|
import "./chunk-6CLQKVAU.mjs";
|
|
17
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
16
18
|
import {
|
|
17
19
|
useProductType,
|
|
18
20
|
useUpdateProductType
|
|
19
21
|
} 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,6 +1,7 @@
|
|
|
1
|
+
import "./chunk-JQBWAJQZ.mjs";
|
|
1
2
|
import {
|
|
2
3
|
LinkButton
|
|
3
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-CTUJXJYA.mjs";
|
|
4
5
|
import {
|
|
5
6
|
VARIANT_DETAIL_FIELDS
|
|
6
7
|
} from "./chunk-FA2DYBNX.mjs";
|
|
@@ -29,6 +30,9 @@ import {
|
|
|
29
30
|
TwoColumnPage
|
|
30
31
|
} from "./chunk-GIZFNLKK.mjs";
|
|
31
32
|
import "./chunk-DZWH2RV6.mjs";
|
|
33
|
+
import {
|
|
34
|
+
useFeatureFlag
|
|
35
|
+
} from "./chunk-G4BWCU5P.mjs";
|
|
32
36
|
import {
|
|
33
37
|
useExtension
|
|
34
38
|
} from "./chunk-C5P5PL3E.mjs";
|
|
@@ -41,13 +45,13 @@ import {
|
|
|
41
45
|
import "./chunk-OC7BQLYI.mjs";
|
|
42
46
|
import "./chunk-S4DMV3ZT.mjs";
|
|
43
47
|
import "./chunk-SUYYSKCB.mjs";
|
|
44
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-3ESSTIV2.mjs";
|
|
45
49
|
import "./chunk-I4OBEAOJ.mjs";
|
|
50
|
+
import "./chunk-XIVBRONM.mjs";
|
|
46
51
|
import "./chunk-HI6URQ7H.mjs";
|
|
47
52
|
import "./chunk-6CLQKVAU.mjs";
|
|
48
|
-
import "./chunk-HKIF5HVL.mjs";
|
|
49
|
-
import "./chunk-XIVBRONM.mjs";
|
|
50
53
|
import "./chunk-KI7TOXBR.mjs";
|
|
54
|
+
import "./chunk-HKIF5HVL.mjs";
|
|
51
55
|
import "./chunk-WAXMT4IY.mjs";
|
|
52
56
|
import "./chunk-DYDGGABK.mjs";
|
|
53
57
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -122,7 +126,7 @@ var variantLoader = async ({ params }) => {
|
|
|
122
126
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
123
127
|
|
|
124
128
|
// src/routes/product-variants/product-variant-detail/components/variant-general-section/variant-general-section.tsx
|
|
125
|
-
import { Component, PencilSquare, Trash } from "@medusajs/icons";
|
|
129
|
+
import { Component, GlobeEurope, PencilSquare, Trash } from "@medusajs/icons";
|
|
126
130
|
import { Badge, Container, Heading, usePrompt } from "@medusajs/ui";
|
|
127
131
|
import { useTranslation } from "react-i18next";
|
|
128
132
|
import { useNavigate } from "react-router-dom";
|
|
@@ -131,6 +135,7 @@ function VariantGeneralSection({ variant }) {
|
|
|
131
135
|
const { t } = useTranslation();
|
|
132
136
|
const prompt = usePrompt();
|
|
133
137
|
const navigate = useNavigate();
|
|
138
|
+
const isTranslationsEnabled = useFeatureFlag("translation");
|
|
134
139
|
const hasInventoryKit = variant.inventory?.length > 1;
|
|
135
140
|
const { mutateAsync } = useDeleteVariant(variant.product_id, variant.id);
|
|
136
141
|
const handleDelete = async () => {
|
|
@@ -173,6 +178,17 @@ function VariantGeneralSection({ variant }) {
|
|
|
173
178
|
}
|
|
174
179
|
]
|
|
175
180
|
},
|
|
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
|
+
] : [],
|
|
176
192
|
{
|
|
177
193
|
actions: [
|
|
178
194
|
{
|
|
@@ -19,23 +19,23 @@ import {
|
|
|
19
19
|
} from "./chunk-6HTZNHPT.mjs";
|
|
20
20
|
import {
|
|
21
21
|
RouteDrawer
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WVA4O7QS.mjs";
|
|
23
23
|
import {
|
|
24
24
|
useRouteModal
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-D6UW7URG.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-3ESSTIV2.mjs";
|
|
33
33
|
import "./chunk-I4OBEAOJ.mjs";
|
|
34
|
+
import "./chunk-XIVBRONM.mjs";
|
|
34
35
|
import "./chunk-HI6URQ7H.mjs";
|
|
35
36
|
import "./chunk-6CLQKVAU.mjs";
|
|
36
|
-
import "./chunk-HKIF5HVL.mjs";
|
|
37
|
-
import "./chunk-XIVBRONM.mjs";
|
|
38
37
|
import "./chunk-KI7TOXBR.mjs";
|
|
38
|
+
import "./chunk-HKIF5HVL.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-WVA4O7QS.mjs";
|
|
18
18
|
import {
|
|
19
19
|
RouteFocusModal,
|
|
20
20
|
useRouteModal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-D6UW7URG.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-WVA4O7QS.mjs";
|
|
6
6
|
import {
|
|
7
7
|
RouteFocusModal,
|
|
8
8
|
useRouteModal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-D6UW7URG.mjs";
|
|
10
10
|
import "./chunk-OBQI23QM.mjs";
|
|
11
11
|
import {
|
|
12
12
|
useBatchVariantImages,
|
package/dist/{product-variant-metadata-UXHU6PFJ.mjs → product-variant-metadata-3CZ67ORB.mjs}
RENAMED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MetadataForm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-N3SAXQVR.mjs";
|
|
4
4
|
import "./chunk-IUCDCPJU.mjs";
|
|
5
5
|
import "./chunk-6HTZNHPT.mjs";
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
import "./chunk-WVA4O7QS.mjs";
|
|
7
|
+
import "./chunk-D6UW7URG.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-3ESSTIV2.mjs";
|
|
13
13
|
import "./chunk-I4OBEAOJ.mjs";
|
|
14
|
+
import "./chunk-XIVBRONM.mjs";
|
|
14
15
|
import "./chunk-HI6URQ7H.mjs";
|
|
15
16
|
import "./chunk-6CLQKVAU.mjs";
|
|
16
|
-
import "./chunk-HKIF5HVL.mjs";
|
|
17
|
-
import "./chunk-XIVBRONM.mjs";
|
|
18
17
|
import "./chunk-KI7TOXBR.mjs";
|
|
18
|
+
import "./chunk-HKIF5HVL.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-WVA4O7QS.mjs";
|
|
8
8
|
import {
|
|
9
9
|
useRouteModal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-D6UW7URG.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-YIOBBZUB.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-WVA4O7QS.mjs";
|
|
13
|
+
import "./chunk-D6UW7URG.mjs";
|
|
14
14
|
import "./chunk-S4DMV3ZT.mjs";
|
|
15
15
|
import "./chunk-OBQI23QM.mjs";
|
|
16
16
|
import {
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
} from "./chunk-KEQOAJC2.mjs";
|
|
4
4
|
import {
|
|
5
5
|
AddCampaignPromotionFields
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YIOBBZUB.mjs";
|
|
7
7
|
import {
|
|
8
8
|
RulesFormField
|
|
9
9
|
} from "./chunk-OXPE5TAY.mjs";
|
|
10
10
|
import {
|
|
11
11
|
CreateCampaignSchema,
|
|
12
12
|
DEFAULT_CAMPAIGN_VALUES
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-BZKI5J2M.mjs";
|
|
14
14
|
import "./chunk-F6ZOHZVB.mjs";
|
|
15
15
|
import "./chunk-5LGRZSEH.mjs";
|
|
16
16
|
import "./chunk-3TZOFKX2.mjs";
|
|
@@ -23,24 +23,24 @@ import "./chunk-IUCDCPJU.mjs";
|
|
|
23
23
|
import {
|
|
24
24
|
KeyboundForm
|
|
25
25
|
} from "./chunk-6HTZNHPT.mjs";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-WVA4O7QS.mjs";
|
|
27
27
|
import {
|
|
28
28
|
RouteFocusModal,
|
|
29
29
|
useRouteModal
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-D6UW7URG.mjs";
|
|
31
31
|
import {
|
|
32
32
|
useDocumentDirection
|
|
33
33
|
} from "./chunk-S4DMV3ZT.mjs";
|
|
34
34
|
import {
|
|
35
35
|
Form
|
|
36
36
|
} from "./chunk-OBQI23QM.mjs";
|
|
37
|
-
import "./chunk-
|
|
37
|
+
import "./chunk-3ESSTIV2.mjs";
|
|
38
38
|
import "./chunk-I4OBEAOJ.mjs";
|
|
39
|
+
import "./chunk-XIVBRONM.mjs";
|
|
39
40
|
import "./chunk-HI6URQ7H.mjs";
|
|
40
41
|
import "./chunk-6CLQKVAU.mjs";
|
|
41
|
-
import "./chunk-HKIF5HVL.mjs";
|
|
42
|
-
import "./chunk-XIVBRONM.mjs";
|
|
43
42
|
import "./chunk-KI7TOXBR.mjs";
|
|
43
|
+
import "./chunk-HKIF5HVL.mjs";
|
|
44
44
|
import "./chunk-WAXMT4IY.mjs";
|
|
45
45
|
import "./chunk-DYDGGABK.mjs";
|
|
46
46
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -31,13 +31,13 @@ import {
|
|
|
31
31
|
import "./chunk-OC7BQLYI.mjs";
|
|
32
32
|
import "./chunk-S4DMV3ZT.mjs";
|
|
33
33
|
import "./chunk-SUYYSKCB.mjs";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-3ESSTIV2.mjs";
|
|
35
35
|
import "./chunk-I4OBEAOJ.mjs";
|
|
36
|
+
import "./chunk-XIVBRONM.mjs";
|
|
36
37
|
import "./chunk-HI6URQ7H.mjs";
|
|
37
38
|
import "./chunk-6CLQKVAU.mjs";
|
|
38
|
-
import "./chunk-HKIF5HVL.mjs";
|
|
39
|
-
import "./chunk-XIVBRONM.mjs";
|
|
40
39
|
import "./chunk-KI7TOXBR.mjs";
|
|
40
|
+
import "./chunk-HKIF5HVL.mjs";
|
|
41
41
|
import "./chunk-WAXMT4IY.mjs";
|
|
42
42
|
import "./chunk-DYDGGABK.mjs";
|
|
43
43
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
} from "./chunk-6HTZNHPT.mjs";
|
|
15
15
|
import {
|
|
16
16
|
RouteDrawer
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-WVA4O7QS.mjs";
|
|
18
18
|
import {
|
|
19
19
|
useRouteModal
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-D6UW7URG.mjs";
|
|
21
21
|
import {
|
|
22
22
|
useDocumentDirection
|
|
23
23
|
} from "./chunk-S4DMV3ZT.mjs";
|