@medusajs/dashboard 2.12.2-snapshot-20251209184934 → 2.12.2
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-APCZDVLI.mjs → api-key-management-detail-AWFAZIS3.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 -4
- package/dist/app.js +4811 -5729
- 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-ALXFJ4HV.mjs → campaign-detail-63VVZZRR.mjs} +3 -3
- package/dist/{campaign-edit-K2POQH7M.mjs → campaign-edit-HN4US7DV.mjs} +2 -2
- package/dist/{categories-metadata-JQP6TFX3.mjs → categories-metadata-MWCZ2DYL.mjs} +6 -6
- package/dist/{category-create-L2KJCHPO.mjs → category-create-FFIBWXAH.mjs} +2 -2
- package/dist/{category-detail-VGMUHRD2.mjs → category-detail-XL6NRY6P.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-26UAVYOO.mjs → category-products-STYU4DUG.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-ATP7TOOL.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-K43NZTDO.mjs → chunk-LHNU4DYZ.mjs} +2 -2
- package/dist/{chunk-MSBISMBI.mjs → chunk-PNPT4W2F.mjs} +1 -1
- package/dist/{chunk-6GLZIACV.mjs → chunk-Q6MSICBU.mjs} +1 -1
- package/dist/{chunk-AE6R7KDB.mjs → chunk-Q6ULXDU6.mjs} +180 -230
- package/dist/{chunk-PS5T2R6J.mjs → chunk-UKECZ5PA.mjs} +3 -3
- package/dist/{chunk-CFQNWTZV.mjs → chunk-UM4OIJZ3.mjs} +1 -1
- 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-42BUUEGQ.mjs → collection-add-products-ESZEWJ46.mjs} +6 -6
- package/dist/{collection-create-4JX4YE47.mjs → collection-create-DCRW344Z.mjs} +2 -2
- package/dist/{collection-detail-JLSDQPJA.mjs → collection-detail-K6IVWLIL.mjs} +5 -20
- package/dist/{collection-edit-MXL35GQQ.mjs → collection-edit-UNFEW6HT.mjs} +2 -2
- package/dist/{collection-list-CSUDRQPF.mjs → collection-list-BL7A7SEI.mjs} +5 -20
- package/dist/{collection-metadata-NHI7Q5PP.mjs → collection-metadata-4EYMP7BJ.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-TQBDVGSS.mjs → customer-detail-KAS23VQF.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-VZ2LCJTM.mjs → customer-group-detail-NDATWX3X.mjs} +3 -3
- package/dist/{customer-group-edit-MQWARIQZ.mjs → customer-group-edit-7NXU34BQ.mjs} +2 -2
- package/dist/{customer-group-list-TMPPZ5UL.mjs → customer-group-list-IASP3QHT.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-U6N2EYQP.mjs → customers-add-customer-group-UCCFXRXX.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-7TPOBXFZ.mjs → edit-rules-P5A2TLLU.mjs} +5 -5
- package/dist/en.json +0 -12
- package/dist/{inventory-create-2Y5QC3OA.mjs → inventory-create-KXFY3TQL.mjs} +6 -6
- package/dist/{inventory-detail-ZQCVV4RJ.mjs → inventory-detail-ZAZCDL6E.mjs} +3 -3
- package/dist/{inventory-metadata-UVG65D5W.mjs → inventory-metadata-4HGPMO4B.mjs} +6 -6
- package/dist/{inventory-stock-2ERQRZLC.mjs → inventory-stock-KFPSSUND.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-SFDVGAXL.mjs → location-detail-YFDGVGAX.mjs} +5 -7
- package/dist/{location-edit-VCS7GVWQ.mjs → location-edit-L4ISEQHX.mjs} +2 -2
- package/dist/{location-fulfillment-providers-P6H2RGA5.mjs → location-fulfillment-providers-EGPKJDEL.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-5DDMRKOC.mjs → location-service-zone-shipping-option-create-LEPP6ZKF.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-UPEPQWLW.mjs → location-service-zone-shipping-option-pricing-23QLNSBT.mjs} +4 -4
- package/dist/{login-7SC4ZVX5.mjs → login-IQH2HKVZ.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-RNAQKT2N.mjs → order-create-claim-WHQYED4S.mjs} +5 -5
- package/dist/{order-create-edit-SNNGAEC3.mjs → order-create-edit-RAWEHXCU.mjs} +5 -5
- package/dist/{order-create-exchange-OGI2AOM3.mjs → order-create-exchange-P73XCSR7.mjs} +5 -5
- package/dist/{order-create-fulfillment-O77TLXZZ.mjs → order-create-fulfillment-YOL4SA4B.mjs} +5 -5
- package/dist/{order-create-refund-TA6UIOZ2.mjs → order-create-refund-NMP4UN7F.mjs} +5 -5
- package/dist/{order-create-return-LTGYASZZ.mjs → order-create-return-QGXWSPMP.mjs} +2 -2
- package/dist/{order-create-shipment-6WZM3GL3.mjs → order-create-shipment-UTNVNIGA.mjs} +5 -5
- package/dist/{order-detail-6E3BT4AZ.mjs → order-detail-4EFWM3R4.mjs} +3 -3
- package/dist/{order-edit-billing-address-6BPGH6UU.mjs → order-edit-billing-address-WBSP4RAG.mjs} +5 -5
- package/dist/{order-edit-email-WK6ROFAD.mjs → order-edit-email-CBAUBHW7.mjs} +5 -5
- package/dist/{order-edit-shipping-address-4V6MN24B.mjs → order-edit-shipping-address-2TEO4ZRQ.mjs} +5 -5
- package/dist/{order-metadata-LEMDXDSV.mjs → order-metadata-66OZ5ZMN.mjs} +6 -6
- package/dist/{order-receive-return-Q65ZRAPJ.mjs → order-receive-return-2LQFBB4G.mjs} +5 -5
- package/dist/{order-request-transfer-KODTTNE7.mjs → order-request-transfer-IH3PQCCL.mjs} +5 -5
- package/dist/{price-list-configuration-RDE5YPJK.mjs → price-list-configuration-OLIGCEN5.mjs} +3 -3
- package/dist/{price-list-create-GFB6ASPT.mjs → price-list-create-3DCACAZ4.mjs} +9 -9
- package/dist/{price-list-detail-VG7YTBLM.mjs → price-list-detail-2IW4SDOL.mjs} +4 -4
- package/dist/{price-list-edit-LDF52VQU.mjs → price-list-edit-B3LQZSW6.mjs} +2 -2
- package/dist/{price-list-prices-add-4QGLHLRI.mjs → price-list-prices-add-B5LQAR7J.mjs} +8 -8
- package/dist/{price-list-prices-edit-PROYTJF5.mjs → price-list-prices-edit-MAR2T4LM.mjs} +4 -4
- package/dist/{product-attributes-ADDY3FXA.mjs → product-attributes-DY4HDYTW.mjs} +6 -6
- package/dist/{product-create-FZOWZNUP.mjs → product-create-EMK2FPWY.mjs} +7 -7
- package/dist/{product-create-option-UMZKRNTC.mjs → product-create-option-GEGQNSMQ.mjs} +2 -2
- package/dist/{product-create-variant-TXLZHYFS.mjs → product-create-variant-UHUBSUIV.mjs} +6 -6
- package/dist/{product-detail-VXKYKOMR.mjs → product-detail-M3PFNUX7.mjs} +10 -52
- package/dist/{product-edit-52CPZNCH.mjs → product-edit-ULKEZHDA.mjs} +6 -6
- package/dist/{product-edit-option-ZMTSLRG5.mjs → product-edit-option-HBIOBQTS.mjs} +2 -2
- package/dist/{product-export-ZMWNVJL7.mjs → product-export-X7MNQLBY.mjs} +6 -6
- package/dist/{product-image-variants-edit-OB4NVQKS.mjs → product-image-variants-edit-RR5RXMSX.mjs} +5 -5
- package/dist/{product-import-X7YB4W4N.mjs → product-import-OJWU5AHL.mjs} +5 -5
- package/dist/{product-list-TIVHW3ZJ.mjs → product-list-FAVJ2A46.mjs} +5 -17
- package/dist/{product-media-ULNJ7JJY.mjs → product-media-EGK66SRX.mjs} +2 -2
- package/dist/{product-metadata-DPMEFUWJ.mjs → product-metadata-VRLBFMKG.mjs} +6 -6
- package/dist/{product-organization-3RJVV3K2.mjs → product-organization-4PH2ZOSM.mjs} +6 -6
- package/dist/{product-prices-OO7OYVO6.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-45QDRJSR.mjs → product-stock-EVY7L4ID.mjs} +7 -7
- package/dist/{product-tag-create-L4Y3ZJVU.mjs → product-tag-create-UOQUAMYT.mjs} +5 -5
- package/dist/{product-tag-detail-IE3W2UVN.mjs → product-tag-detail-L2J3IXMC.mjs} +6 -21
- package/dist/{product-tag-edit-OHJGEEDL.mjs → product-tag-edit-AKATEM3L.mjs} +5 -5
- package/dist/{product-tag-list-QWNKVQAP.mjs → product-tag-list-FUQN7YF5.mjs} +6 -21
- package/dist/{product-tag-metadata-PCA3HTLU.mjs → product-tag-metadata-UEOSDTSK.mjs} +6 -6
- package/dist/{product-type-create-KHSNCQCV.mjs → product-type-create-HBDROTGB.mjs} +2 -2
- package/dist/{product-type-detail-XZH6HETD.mjs → product-type-detail-2KUITRE3.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-5BPLWPOK.mjs → product-type-metadata-7E66UACZ.mjs} +6 -6
- package/dist/{product-variant-detail-7MIRJILL.mjs → product-variant-detail-JHH3ICCS.mjs} +5 -21
- package/dist/{product-variant-edit-JWKDUIEU.mjs → product-variant-edit-IIT3QIHD.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-3CZ67ORB.mjs → product-variant-metadata-UXHU6PFJ.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-MXMWVA5U.mjs → promotion-create-KPDZWJWC.mjs} +7 -7
- package/dist/{promotion-detail-TZIERYRJ.mjs → promotion-detail-SQARSSGK.mjs} +3 -3
- package/dist/{promotion-edit-details-6BSOOWQN.mjs → promotion-edit-details-AREFQ6O5.mjs} +2 -2
- package/dist/{refund-reason-create-FUW7HCCF.mjs → refund-reason-create-IPZKKRQM.mjs} +5 -5
- package/dist/{refund-reason-edit-N3PKOFRF.mjs → refund-reason-edit-LB66UGH7.mjs} +5 -5
- package/dist/{refund-reason-list-O5ZXIXE5.mjs → refund-reason-list-GOKBW63P.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-IADU5YNP.mjs → region-metadata-S7BUDXPD.mjs} +6 -6
- package/dist/{reservation-create-C6HTEF3R.mjs → reservation-create-Z2SUMBGT.mjs} +2 -2
- package/dist/{reservation-detail-RLP2F23R.mjs → reservation-detail-ZL4WMT4A.mjs} +3 -3
- package/dist/{reservation-metadata-2PRGO5QF.mjs → reservation-metadata-QVEVN2FO.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-O6RKQB6J.mjs → sales-channel-add-products-LCB33I6H.mjs} +6 -6
- package/dist/{sales-channel-create-4XLJDVJO.mjs → sales-channel-create-E7BDTPWD.mjs} +2 -2
- package/dist/{sales-channel-detail-25VU2BIX.mjs → sales-channel-detail-RUULD6Q7.mjs} +4 -4
- package/dist/{sales-channel-edit-UZGSXD5X.mjs → sales-channel-edit-HMPA3Y3L.mjs} +2 -2
- package/dist/{sales-channel-list-UV44SKO6.mjs → sales-channel-list-5TFALQQS.mjs} +3 -3
- package/dist/{sales-channel-metadata-JODUF46V.mjs → sales-channel-metadata-6WSCB67B.mjs} +6 -6
- package/dist/{shipping-option-type-create-SDJBL6L4.mjs → shipping-option-type-create-IMF4RHSO.mjs} +5 -5
- package/dist/{shipping-option-type-detail-ZPUV6VUQ.mjs → shipping-option-type-detail-PHIHWW6G.mjs} +4 -4
- package/dist/{shipping-option-type-edit-J2LDCKOC.mjs → shipping-option-type-edit-SG4JQZGW.mjs} +5 -5
- package/dist/{shipping-option-type-list-DZY43TDW.mjs → shipping-option-type-list-RB2EKPWN.mjs} +4 -4
- package/dist/{shipping-profile-create-26R64I3Z.mjs → shipping-profile-create-752TMBBE.mjs} +2 -2
- package/dist/{shipping-profile-metadata-ZWYRX3I7.mjs → shipping-profile-metadata-M3DVX5KX.mjs} +6 -6
- package/dist/{store-add-currencies-ZFS3WZHG.mjs → store-add-currencies-3VMLZ6KB.mjs} +2 -2
- package/dist/{store-add-locales-ZUQOMLGE.mjs → store-add-locales-WAHERXN3.mjs} +4 -4
- package/dist/{store-detail-ZQW7H3CD.mjs → store-detail-EY2ZQKZO.mjs} +3 -3
- package/dist/{store-edit-AB5CDUTK.mjs → store-edit-EPAHLLKP.mjs} +2 -2
- package/dist/{store-metadata-VJRBOHHB.mjs → store-metadata-7UPGGK7F.mjs} +6 -6
- package/dist/{tax-region-create-X6TI7GS2.mjs → tax-region-create-LQZKNYTD.mjs} +5 -5
- package/dist/{tax-region-detail-RWVU53ZI.mjs → tax-region-detail-AVG3XLVL.mjs} +12 -13
- package/dist/{tax-region-edit-EAS5YZS4.mjs → tax-region-edit-XR3ABTNA.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-QAJFG3C4.mjs → tax-region-province-detail-I7FF7NBE.mjs} +11 -12
- package/dist/{tax-region-tax-override-create-UNHHY3TK.mjs → tax-region-tax-override-create-H6LWWOPU.mjs} +7 -7
- package/dist/{tax-region-tax-override-edit-EEOWMLFA.mjs → tax-region-tax-override-edit-SZWBWRCA.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-EQIFAEGE.mjs → user-metadata-X36GKJ47.mjs} +6 -6
- package/dist/{workflow-execution-detail-XURIJZJ6.mjs → workflow-execution-detail-P6H5AUWI.mjs} +3 -3
- package/package.json +9 -9
- package/src/components/common/icon-avatar/icon-avatar.tsx +0 -4
- 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-I6R5ZNFX.mjs +0 -374
- 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 -405
- package/src/routes/translations/translations-edit/index.ts +0 -1
- package/src/routes/translations/translations-edit/translations-edit.tsx +0 -66
- package/src/routes/translations/translations-edit/utils/index.ts +0 -1
- package/src/routes/translations/translations-edit/utils/reference-label-map.ts +0 -10
- /package/dist/{chunk-CTUJXJYA.mjs → chunk-6WKBBTKM.mjs} +0 -0
- /package/dist/{chunk-IPG3I3J7.mjs → chunk-W7SLPIO2.mjs} +0 -0
package/dist/app.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DashboardApp
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Q6ULXDU6.mjs";
|
|
4
4
|
import "./chunk-2SSUH2HJ.mjs";
|
|
5
5
|
import "./chunk-ONB3JEHR.mjs";
|
|
6
6
|
import "./chunk-YCDDT44O.mjs";
|
|
@@ -19,13 +19,13 @@ import "./chunk-OC7BQLYI.mjs";
|
|
|
19
19
|
import "./chunk-S4DMV3ZT.mjs";
|
|
20
20
|
import "./chunk-SUYYSKCB.mjs";
|
|
21
21
|
import "./chunk-OBQI23QM.mjs";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-JUVGXLY5.mjs";
|
|
23
23
|
import "./chunk-I4OBEAOJ.mjs";
|
|
24
|
-
import "./chunk-XIVBRONM.mjs";
|
|
25
24
|
import "./chunk-HI6URQ7H.mjs";
|
|
26
25
|
import "./chunk-6CLQKVAU.mjs";
|
|
27
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
28
26
|
import "./chunk-HKIF5HVL.mjs";
|
|
27
|
+
import "./chunk-XIVBRONM.mjs";
|
|
28
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
29
29
|
import "./chunk-WAXMT4IY.mjs";
|
|
30
30
|
import "./chunk-DYDGGABK.mjs";
|
|
31
31
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "./chunk-6HTZNHPT.mjs";
|
|
8
8
|
import {
|
|
9
9
|
RouteDrawer
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
11
11
|
import {
|
|
12
12
|
useRouteModal
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
14
14
|
import {
|
|
15
15
|
Form
|
|
16
16
|
} from "./chunk-OBQI23QM.mjs";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-6HTZNHPT.mjs";
|
|
5
5
|
import {
|
|
6
6
|
RouteDrawer
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
8
8
|
import {
|
|
9
9
|
useRouteModal
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
11
11
|
import {
|
|
12
12
|
Form
|
|
13
13
|
} from "./chunk-OBQI23QM.mjs";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CreateCampaignForm
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3YPRDSZ6.mjs";
|
|
4
4
|
import "./chunk-F6ZOHZVB.mjs";
|
|
5
5
|
import "./chunk-5LGRZSEH.mjs";
|
|
6
6
|
import "./chunk-OFN7DIZA.mjs";
|
|
7
7
|
import "./chunk-DK4WIVY6.mjs";
|
|
8
8
|
import "./chunk-IUCDCPJU.mjs";
|
|
9
9
|
import "./chunk-6HTZNHPT.mjs";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-XXBP2Z5M.mjs";
|
|
11
11
|
import {
|
|
12
12
|
RouteFocusModal
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
14
14
|
import "./chunk-S4DMV3ZT.mjs";
|
|
15
15
|
import "./chunk-OBQI23QM.mjs";
|
|
16
16
|
import "./chunk-A63RZVX6.mjs";
|
|
@@ -42,13 +42,13 @@ import {
|
|
|
42
42
|
import "./chunk-OC7BQLYI.mjs";
|
|
43
43
|
import "./chunk-S4DMV3ZT.mjs";
|
|
44
44
|
import "./chunk-SUYYSKCB.mjs";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-JUVGXLY5.mjs";
|
|
46
46
|
import "./chunk-I4OBEAOJ.mjs";
|
|
47
|
-
import "./chunk-XIVBRONM.mjs";
|
|
48
47
|
import "./chunk-HI6URQ7H.mjs";
|
|
49
48
|
import "./chunk-6CLQKVAU.mjs";
|
|
50
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
51
49
|
import "./chunk-HKIF5HVL.mjs";
|
|
50
|
+
import "./chunk-XIVBRONM.mjs";
|
|
51
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
52
52
|
import "./chunk-WAXMT4IY.mjs";
|
|
53
53
|
import "./chunk-DYDGGABK.mjs";
|
|
54
54
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "./chunk-6HTZNHPT.mjs";
|
|
8
8
|
import {
|
|
9
9
|
RouteDrawer
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
11
11
|
import {
|
|
12
12
|
useRouteModal
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
14
14
|
import {
|
|
15
15
|
Form
|
|
16
16
|
} from "./chunk-OBQI23QM.mjs";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import "./chunk-XRTVFYCW.mjs";
|
|
2
2
|
import {
|
|
3
3
|
MetadataForm
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-D4J3CEWH.mjs";
|
|
5
5
|
import "./chunk-IUCDCPJU.mjs";
|
|
6
6
|
import "./chunk-6HTZNHPT.mjs";
|
|
7
7
|
import {
|
|
8
8
|
RouteDrawer
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
10
|
+
import "./chunk-42OOM4DJ.mjs";
|
|
11
11
|
import "./chunk-LPEUYMRK.mjs";
|
|
12
12
|
import "./chunk-OC7BQLYI.mjs";
|
|
13
13
|
import "./chunk-S4DMV3ZT.mjs";
|
|
14
14
|
import "./chunk-OBQI23QM.mjs";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-JUVGXLY5.mjs";
|
|
16
16
|
import "./chunk-I4OBEAOJ.mjs";
|
|
17
|
-
import "./chunk-XIVBRONM.mjs";
|
|
18
17
|
import "./chunk-HI6URQ7H.mjs";
|
|
19
18
|
import "./chunk-6CLQKVAU.mjs";
|
|
20
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
21
19
|
import "./chunk-HKIF5HVL.mjs";
|
|
20
|
+
import "./chunk-XIVBRONM.mjs";
|
|
21
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
22
22
|
import "./chunk-WAXMT4IY.mjs";
|
|
23
23
|
import "./chunk-DYDGGABK.mjs";
|
|
24
24
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -15,11 +15,11 @@ import "./chunk-IUCDCPJU.mjs";
|
|
|
15
15
|
import {
|
|
16
16
|
KeyboundForm
|
|
17
17
|
} from "./chunk-6HTZNHPT.mjs";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-XXBP2Z5M.mjs";
|
|
19
19
|
import {
|
|
20
20
|
RouteFocusModal,
|
|
21
21
|
useRouteModal
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
23
23
|
import {
|
|
24
24
|
useDocumentDirection
|
|
25
25
|
} from "./chunk-S4DMV3ZT.mjs";
|
|
@@ -7,10 +7,9 @@ import {
|
|
|
7
7
|
getIsActiveProps,
|
|
8
8
|
getIsInternalProps
|
|
9
9
|
} from "./chunk-54IEHX46.mjs";
|
|
10
|
-
import "./chunk-JQBWAJQZ.mjs";
|
|
11
10
|
import {
|
|
12
11
|
LinkButton
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6WKBBTKM.mjs";
|
|
14
13
|
import {
|
|
15
14
|
useProductTableColumns
|
|
16
15
|
} from "./chunk-BW322BVH.mjs";
|
|
@@ -30,7 +29,7 @@ import {
|
|
|
30
29
|
} from "./chunk-R65S6ZZV.mjs";
|
|
31
30
|
import {
|
|
32
31
|
useProductTableFilters
|
|
33
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-XTQ7UFA3.mjs";
|
|
34
33
|
import "./chunk-GU5PJRPM.mjs";
|
|
35
34
|
import {
|
|
36
35
|
TwoColumnPage
|
|
@@ -38,9 +37,6 @@ import {
|
|
|
38
37
|
import "./chunk-C76H5USB.mjs";
|
|
39
38
|
import "./chunk-DZWH2RV6.mjs";
|
|
40
39
|
import "./chunk-MNXC6Q4F.mjs";
|
|
41
|
-
import {
|
|
42
|
-
useFeatureFlag
|
|
43
|
-
} from "./chunk-G4BWCU5P.mjs";
|
|
44
40
|
import {
|
|
45
41
|
useExtension
|
|
46
42
|
} from "./chunk-C5P5PL3E.mjs";
|
|
@@ -54,13 +50,13 @@ import {
|
|
|
54
50
|
import "./chunk-OC7BQLYI.mjs";
|
|
55
51
|
import "./chunk-S4DMV3ZT.mjs";
|
|
56
52
|
import "./chunk-SUYYSKCB.mjs";
|
|
57
|
-
import "./chunk-
|
|
53
|
+
import "./chunk-JUVGXLY5.mjs";
|
|
58
54
|
import "./chunk-I4OBEAOJ.mjs";
|
|
59
|
-
import "./chunk-XIVBRONM.mjs";
|
|
60
55
|
import "./chunk-HI6URQ7H.mjs";
|
|
61
56
|
import "./chunk-6CLQKVAU.mjs";
|
|
62
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
63
57
|
import "./chunk-HKIF5HVL.mjs";
|
|
58
|
+
import "./chunk-XIVBRONM.mjs";
|
|
59
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
64
60
|
import "./chunk-WAXMT4IY.mjs";
|
|
65
61
|
import "./chunk-DYDGGABK.mjs";
|
|
66
62
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -120,7 +116,7 @@ var CategoryDetailBreadcrumb = (props) => {
|
|
|
120
116
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
121
117
|
|
|
122
118
|
// src/routes/categories/category-detail/components/category-general-section/category-general-section.tsx
|
|
123
|
-
import {
|
|
119
|
+
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
124
120
|
import { Container, Heading, StatusBadge, Text } from "@medusajs/ui";
|
|
125
121
|
import { useTranslation } from "react-i18next";
|
|
126
122
|
import { jsx as jsx2, jsxs } from "react/jsx-runtime";
|
|
@@ -128,7 +124,6 @@ var CategoryGeneralSection = ({
|
|
|
128
124
|
category
|
|
129
125
|
}) => {
|
|
130
126
|
const { t } = useTranslation();
|
|
131
|
-
const isTranslationsEnabled = useFeatureFlag("translation");
|
|
132
127
|
const activeProps = getIsActiveProps(category.is_active, t);
|
|
133
128
|
const internalProps = getIsInternalProps(category.is_internal, t);
|
|
134
129
|
const handleDelete = useDeleteProductCategoryAction(category);
|
|
@@ -153,17 +148,6 @@ var CategoryGeneralSection = ({
|
|
|
153
148
|
}
|
|
154
149
|
]
|
|
155
150
|
},
|
|
156
|
-
...isTranslationsEnabled ? [
|
|
157
|
-
{
|
|
158
|
-
actions: [
|
|
159
|
-
{
|
|
160
|
-
label: t("translations.actions.manage"),
|
|
161
|
-
to: `/settings/translations/edit?reference=product_category&reference_id=${category.id}`,
|
|
162
|
-
icon: /* @__PURE__ */ jsx2(GlobeEurope, {})
|
|
163
|
-
}
|
|
164
|
-
]
|
|
165
|
-
}
|
|
166
|
-
] : [],
|
|
167
151
|
{
|
|
168
152
|
actions: [
|
|
169
153
|
{
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
} from "./chunk-6HTZNHPT.mjs";
|
|
8
8
|
import {
|
|
9
9
|
RouteDrawer
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
11
11
|
import {
|
|
12
12
|
useRouteModal
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
14
14
|
import {
|
|
15
15
|
useDocumentDirection
|
|
16
16
|
} from "./chunk-S4DMV3ZT.mjs";
|
|
@@ -29,9 +29,6 @@ import {
|
|
|
29
29
|
useQueryParams
|
|
30
30
|
} from "./chunk-C76H5USB.mjs";
|
|
31
31
|
import "./chunk-DZWH2RV6.mjs";
|
|
32
|
-
import {
|
|
33
|
-
useFeatureFlag
|
|
34
|
-
} from "./chunk-G4BWCU5P.mjs";
|
|
35
32
|
import {
|
|
36
33
|
useExtension
|
|
37
34
|
} from "./chunk-C5P5PL3E.mjs";
|
|
@@ -52,7 +49,7 @@ import "./chunk-NFEK63OE.mjs";
|
|
|
52
49
|
import "./chunk-QZ7TP4HQ.mjs";
|
|
53
50
|
|
|
54
51
|
// src/routes/categories/category-list/components/category-list-table/category-list-table.tsx
|
|
55
|
-
import {
|
|
52
|
+
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
56
53
|
import { Button, Container, Heading, Text as Text2 } from "@medusajs/ui";
|
|
57
54
|
import { keepPreviousData } from "@tanstack/react-query";
|
|
58
55
|
import { createColumnHelper as createColumnHelper2 } from "@tanstack/react-table";
|
|
@@ -231,7 +228,6 @@ var CategoryRowActions = ({
|
|
|
231
228
|
category
|
|
232
229
|
}) => {
|
|
233
230
|
const { t } = useTranslation2();
|
|
234
|
-
const isTranslationsEnabled = useFeatureFlag("translation");
|
|
235
231
|
const handleDelete = useDeleteProductCategoryAction(category);
|
|
236
232
|
return /* @__PURE__ */ jsx2(
|
|
237
233
|
ActionMenu,
|
|
@@ -246,17 +242,6 @@ var CategoryRowActions = ({
|
|
|
246
242
|
}
|
|
247
243
|
]
|
|
248
244
|
},
|
|
249
|
-
...isTranslationsEnabled ? [
|
|
250
|
-
{
|
|
251
|
-
actions: [
|
|
252
|
-
{
|
|
253
|
-
icon: /* @__PURE__ */ jsx2(GlobeEurope, {}),
|
|
254
|
-
label: t("translations.actions.manage"),
|
|
255
|
-
to: `/settings/translations/edit?reference=product_category&reference_id=${category.id}`
|
|
256
|
-
}
|
|
257
|
-
]
|
|
258
|
-
}
|
|
259
|
-
] : [],
|
|
260
245
|
{
|
|
261
246
|
actions: [
|
|
262
247
|
{
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CategoryTree
|
|
3
3
|
} from "./chunk-XDCNT5GQ.mjs";
|
|
4
|
-
import "./chunk-
|
|
4
|
+
import "./chunk-XXBP2Z5M.mjs";
|
|
5
5
|
import {
|
|
6
6
|
RouteFocusModal
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
8
8
|
import "./chunk-OBQI23QM.mjs";
|
|
9
9
|
import {
|
|
10
10
|
categoriesQueryKeys,
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
} from "./chunk-R65S6ZZV.mjs";
|
|
18
18
|
import {
|
|
19
19
|
useProductTableFilters
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-XTQ7UFA3.mjs";
|
|
21
21
|
import "./chunk-GU5PJRPM.mjs";
|
|
22
22
|
import "./chunk-C76H5USB.mjs";
|
|
23
23
|
import "./chunk-DZWH2RV6.mjs";
|
|
@@ -25,23 +25,23 @@ import "./chunk-IUCDCPJU.mjs";
|
|
|
25
25
|
import {
|
|
26
26
|
KeyboundForm
|
|
27
27
|
} from "./chunk-6HTZNHPT.mjs";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-XXBP2Z5M.mjs";
|
|
29
29
|
import {
|
|
30
30
|
RouteFocusModal,
|
|
31
31
|
useRouteModal
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
33
33
|
import "./chunk-MNXC6Q4F.mjs";
|
|
34
34
|
import "./chunk-LPEUYMRK.mjs";
|
|
35
35
|
import "./chunk-S4DMV3ZT.mjs";
|
|
36
36
|
import "./chunk-SUYYSKCB.mjs";
|
|
37
37
|
import "./chunk-OBQI23QM.mjs";
|
|
38
|
-
import "./chunk-
|
|
38
|
+
import "./chunk-JUVGXLY5.mjs";
|
|
39
39
|
import "./chunk-I4OBEAOJ.mjs";
|
|
40
|
-
import "./chunk-XIVBRONM.mjs";
|
|
41
40
|
import "./chunk-HI6URQ7H.mjs";
|
|
42
41
|
import "./chunk-6CLQKVAU.mjs";
|
|
43
|
-
import "./chunk-KI7TOXBR.mjs";
|
|
44
42
|
import "./chunk-HKIF5HVL.mjs";
|
|
43
|
+
import "./chunk-XIVBRONM.mjs";
|
|
44
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
45
45
|
import "./chunk-WAXMT4IY.mjs";
|
|
46
46
|
import "./chunk-DYDGGABK.mjs";
|
|
47
47
|
import "./chunk-LGNTHZ5Y.mjs";
|
|
@@ -57,9 +57,7 @@ var RouteModalForm = ({
|
|
|
57
57
|
formState: { isDirty }
|
|
58
58
|
} = form;
|
|
59
59
|
const blocker = useBlocker(({ currentLocation, nextLocation }) => {
|
|
60
|
-
const { isSubmitSuccessful
|
|
61
|
-
const { isSubmitSuccessful: currentIsSuccessful } = currentLocation.state || {};
|
|
62
|
-
const isSubmitSuccessful = nextIsSuccessful || currentIsSuccessful;
|
|
60
|
+
const { isSubmitSuccessful } = nextLocation.state || {};
|
|
63
61
|
if (isSubmitSuccessful) {
|
|
64
62
|
onClose?.(true);
|
|
65
63
|
return false;
|
|
@@ -103,31 +101,20 @@ var RouteModalForm = ({
|
|
|
103
101
|
|
|
104
102
|
// src/components/modals/route-modal-provider/route-provider.tsx
|
|
105
103
|
import { useCallback, useMemo as useMemo2, useState } from "react";
|
|
106
|
-
import {
|
|
104
|
+
import { useNavigate } from "react-router-dom";
|
|
107
105
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
108
106
|
var RouteModalProvider = ({
|
|
109
107
|
prev,
|
|
110
108
|
children
|
|
111
109
|
}) => {
|
|
112
110
|
const navigate = useNavigate();
|
|
113
|
-
const location = useLocation2();
|
|
114
111
|
const [closeOnEscape, setCloseOnEscape] = useState(true);
|
|
115
112
|
const handleSuccess = useCallback(
|
|
116
113
|
(path) => {
|
|
117
114
|
const to = path || prev;
|
|
118
|
-
|
|
119
|
-
navigate(location.pathname + location.search, {
|
|
120
|
-
replace: true,
|
|
121
|
-
state: { ...location.state, isSubmitSuccessful: true }
|
|
122
|
-
});
|
|
123
|
-
setTimeout(() => {
|
|
124
|
-
navigate(to);
|
|
125
|
-
}, 0);
|
|
126
|
-
} else {
|
|
127
|
-
navigate(to, { replace: true, state: { isSubmitSuccessful: true } });
|
|
128
|
-
}
|
|
115
|
+
navigate(to, { replace: true, state: { isSubmitSuccessful: true } });
|
|
129
116
|
},
|
|
130
|
-
[navigate, prev
|
|
117
|
+
[navigate, prev]
|
|
131
118
|
);
|
|
132
119
|
const value = useMemo2(
|
|
133
120
|
() => ({
|
|
@@ -209,7 +196,7 @@ var Root = ({ prev = "..", children }) => {
|
|
|
209
196
|
const navigate = useNavigate2();
|
|
210
197
|
const [open, setOpen] = useState3(false);
|
|
211
198
|
const [stackedModalOpen, onStackedModalOpen] = useState3(false);
|
|
212
|
-
const to =
|
|
199
|
+
const to = useStateAwareTo(prev);
|
|
213
200
|
useEffect(() => {
|
|
214
201
|
setOpen(true);
|
|
215
202
|
return () => {
|
|
@@ -220,11 +207,7 @@ var Root = ({ prev = "..", children }) => {
|
|
|
220
207
|
const handleOpenChange = (open2) => {
|
|
221
208
|
if (!open2) {
|
|
222
209
|
document.body.style.pointerEvents = "auto";
|
|
223
|
-
|
|
224
|
-
navigate(to);
|
|
225
|
-
} else {
|
|
226
|
-
navigate(to, { replace: true });
|
|
227
|
-
}
|
|
210
|
+
navigate(to, { replace: true });
|
|
228
211
|
return;
|
|
229
212
|
}
|
|
230
213
|
setOpen(open2);
|
|
@@ -34,11 +34,11 @@ import {
|
|
|
34
34
|
} from "./chunk-R65S6ZZV.mjs";
|
|
35
35
|
import {
|
|
36
36
|
useProductTableFilters
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-XTQ7UFA3.mjs";
|
|
38
38
|
import {
|
|
39
39
|
StackedDrawer,
|
|
40
40
|
StackedFocusModal
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
42
42
|
import {
|
|
43
43
|
useProductTypes
|
|
44
44
|
} from "./chunk-HKIF5HVL.mjs";
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-6HTZNHPT.mjs";
|
|
4
4
|
import {
|
|
5
5
|
RouteDrawer
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
7
7
|
import {
|
|
8
8
|
useRouteModal
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Skeleton
|
|
12
12
|
} from "./chunk-LPEUYMRK.mjs";
|
|
@@ -3,7 +3,6 @@ import { clx } from "@medusajs/ui";
|
|
|
3
3
|
import { jsx } from "react/jsx-runtime";
|
|
4
4
|
var IconAvatar = ({
|
|
5
5
|
size = "small",
|
|
6
|
-
variant = "rounded",
|
|
7
6
|
children,
|
|
8
7
|
className
|
|
9
8
|
}) => {
|
|
@@ -12,8 +11,6 @@ var IconAvatar = ({
|
|
|
12
11
|
{
|
|
13
12
|
className: clx(
|
|
14
13
|
"shadow-borders-base flex size-7 items-center justify-center",
|
|
15
|
-
variant === "squared" && "rounded-md",
|
|
16
|
-
variant === "rounded" && "rounded-full",
|
|
17
14
|
"[&>div]:bg-ui-bg-field [&>div]:text-ui-fg-subtle [&>div]:flex [&>div]:size-6 [&>div]:items-center [&>div]:justify-center",
|
|
18
15
|
{
|
|
19
16
|
"size-7 rounded-md [&>div]:size-6 [&>div]:rounded-[4px]": size === "small",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DISPLAY_OVERRIDE_ITEMS_LIMIT
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-UKECZ5PA.mjs";
|
|
4
4
|
import {
|
|
5
5
|
TaxRateRuleReferenceType
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4G2UHUXX.mjs";
|
|
7
7
|
import {
|
|
8
8
|
LocalizedTablePagination,
|
|
9
9
|
useDeleteTaxRateAction
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UM4OIJZ3.mjs";
|
|
11
11
|
import {
|
|
12
12
|
formatPercentage
|
|
13
13
|
} from "./chunk-4FM6S5CX.mjs";
|