@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
|
@@ -1,22 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
productTypesQueryKeys,
|
|
3
|
-
useProductTypes
|
|
4
|
-
} from "./chunk-HKIF5HVL.mjs";
|
|
5
|
-
import {
|
|
6
|
-
collectionsQueryKeys,
|
|
7
|
-
useCollections
|
|
8
|
-
} from "./chunk-NHDFPGQ3.mjs";
|
|
9
1
|
import {
|
|
10
2
|
ordersQueryKeys
|
|
11
3
|
} from "./chunk-GN6OCHP4.mjs";
|
|
12
|
-
import {
|
|
13
|
-
categoriesQueryKeys,
|
|
14
|
-
useProductCategories
|
|
15
|
-
} from "./chunk-7AX6R6G6.mjs";
|
|
16
|
-
import {
|
|
17
|
-
productsQueryKeys,
|
|
18
|
-
useProducts
|
|
19
|
-
} from "./chunk-LEJUZW3P.mjs";
|
|
20
4
|
import {
|
|
21
5
|
queryClient
|
|
22
6
|
} from "./chunk-FXYH54JP.mjs";
|
|
@@ -255,174 +239,17 @@ var useDeleteProductTag = (id, options) => {
|
|
|
255
239
|
});
|
|
256
240
|
};
|
|
257
241
|
|
|
258
|
-
// src/hooks/api/translations.tsx
|
|
259
|
-
import {
|
|
260
|
-
useMutation as useMutation4,
|
|
261
|
-
useQuery as useQuery6
|
|
262
|
-
} from "@tanstack/react-query";
|
|
263
|
-
var TRANSLATIONS_QUERY_KEY = "translations";
|
|
264
|
-
var translationsQueryKeys = queryKeysFactory(TRANSLATIONS_QUERY_KEY);
|
|
265
|
-
var useReferenceTranslations = (reference, referenceId, options) => {
|
|
266
|
-
const referenceHookMap = /* @__PURE__ */ new Map([
|
|
267
|
-
[
|
|
268
|
-
"product",
|
|
269
|
-
() => {
|
|
270
|
-
const translatableFields = ["title", "description"];
|
|
271
|
-
const fields = translatableFields.concat(["translations.*"]).join(",");
|
|
272
|
-
const { products, ...rest2 } = useProducts(
|
|
273
|
-
{ id: referenceId ?? [], fields },
|
|
274
|
-
options
|
|
275
|
-
);
|
|
276
|
-
return {
|
|
277
|
-
...rest2,
|
|
278
|
-
data: {
|
|
279
|
-
translations: products?.flatMap((product) => product.translations ?? []) ?? [],
|
|
280
|
-
references: products ?? [],
|
|
281
|
-
translatableFields
|
|
282
|
-
}
|
|
283
|
-
};
|
|
284
|
-
}
|
|
285
|
-
],
|
|
286
|
-
[
|
|
287
|
-
"product_variant",
|
|
288
|
-
() => {
|
|
289
|
-
const translatableFields = ["title"];
|
|
290
|
-
const fields = translatableFields.concat(["translations.*"]).join(",");
|
|
291
|
-
const { variants, ...rest2 } = useVariants(
|
|
292
|
-
{ id: referenceId ?? [], fields },
|
|
293
|
-
options
|
|
294
|
-
);
|
|
295
|
-
return {
|
|
296
|
-
...rest2,
|
|
297
|
-
data: {
|
|
298
|
-
translations: variants?.flatMap((variant) => variant.translations ?? []) ?? [],
|
|
299
|
-
references: variants ?? [],
|
|
300
|
-
translatableFields
|
|
301
|
-
}
|
|
302
|
-
};
|
|
303
|
-
}
|
|
304
|
-
],
|
|
305
|
-
[
|
|
306
|
-
"product_category",
|
|
307
|
-
() => {
|
|
308
|
-
const translatableFields = ["name", "description"];
|
|
309
|
-
const fields = translatableFields.concat(["translations.*"]).join(",");
|
|
310
|
-
const { product_categories, ...rest2 } = useProductCategories(
|
|
311
|
-
{ id: referenceId ?? [], fields },
|
|
312
|
-
options
|
|
313
|
-
);
|
|
314
|
-
return {
|
|
315
|
-
...rest2,
|
|
316
|
-
data: {
|
|
317
|
-
translations: product_categories?.flatMap(
|
|
318
|
-
(category) => category.translations ?? []
|
|
319
|
-
) ?? [],
|
|
320
|
-
references: product_categories ?? [],
|
|
321
|
-
translatableFields
|
|
322
|
-
}
|
|
323
|
-
};
|
|
324
|
-
}
|
|
325
|
-
],
|
|
326
|
-
[
|
|
327
|
-
"product_collection",
|
|
328
|
-
() => {
|
|
329
|
-
const translatableFields = ["title"];
|
|
330
|
-
const fields = translatableFields.concat(["translations.*"]).join(",");
|
|
331
|
-
const { collections, ...rest2 } = useCollections(
|
|
332
|
-
{ id: referenceId ?? [], fields },
|
|
333
|
-
options
|
|
334
|
-
);
|
|
335
|
-
return {
|
|
336
|
-
...rest2,
|
|
337
|
-
data: {
|
|
338
|
-
translations: collections?.flatMap(
|
|
339
|
-
(collection) => collection.translations ?? []
|
|
340
|
-
) ?? [],
|
|
341
|
-
references: collections ?? [],
|
|
342
|
-
translatableFields
|
|
343
|
-
}
|
|
344
|
-
};
|
|
345
|
-
}
|
|
346
|
-
],
|
|
347
|
-
[
|
|
348
|
-
"product_type",
|
|
349
|
-
() => {
|
|
350
|
-
const translatableFields = ["value"];
|
|
351
|
-
const fields = translatableFields.concat(["translations.*"]).join(",");
|
|
352
|
-
const { product_types, ...rest2 } = useProductTypes(
|
|
353
|
-
{ id: referenceId ?? [], fields },
|
|
354
|
-
options
|
|
355
|
-
);
|
|
356
|
-
return {
|
|
357
|
-
...rest2,
|
|
358
|
-
data: {
|
|
359
|
-
translations: product_types?.flatMap((type) => type.translations ?? []) ?? [],
|
|
360
|
-
references: product_types ?? [],
|
|
361
|
-
translatableFields
|
|
362
|
-
}
|
|
363
|
-
};
|
|
364
|
-
}
|
|
365
|
-
],
|
|
366
|
-
[
|
|
367
|
-
"product_tag",
|
|
368
|
-
() => {
|
|
369
|
-
const translatableFields = ["value"];
|
|
370
|
-
const fields = translatableFields.concat(["translations.*"]).join(",");
|
|
371
|
-
const { product_tags, ...rest2 } = useProductTags(
|
|
372
|
-
{ id: referenceId ?? [], fields },
|
|
373
|
-
options
|
|
374
|
-
);
|
|
375
|
-
return {
|
|
376
|
-
...rest2,
|
|
377
|
-
data: {
|
|
378
|
-
translations: product_tags?.flatMap((tag) => tag.translations ?? []) ?? [],
|
|
379
|
-
references: product_tags ?? [],
|
|
380
|
-
translatableFields
|
|
381
|
-
}
|
|
382
|
-
};
|
|
383
|
-
}
|
|
384
|
-
]
|
|
385
|
-
// TODO: product option and option values
|
|
386
|
-
]);
|
|
387
|
-
const referenceHook = referenceHookMap.get(reference);
|
|
388
|
-
if (!referenceHook) {
|
|
389
|
-
throw new Error(`No hook found for reference type: ${reference}`);
|
|
390
|
-
}
|
|
391
|
-
const { data, ...rest } = referenceHook();
|
|
392
|
-
return { ...data, ...rest };
|
|
393
|
-
};
|
|
394
|
-
var useBatchTranslations = (reference, options) => {
|
|
395
|
-
const referenceInvalidationKeysMap = /* @__PURE__ */ new Map([
|
|
396
|
-
["product", productsQueryKeys.lists()],
|
|
397
|
-
["product_variant", productVariantQueryKeys.lists()],
|
|
398
|
-
["product_category", categoriesQueryKeys.lists()],
|
|
399
|
-
["product_collection", collectionsQueryKeys.lists()],
|
|
400
|
-
["product_type", productTypesQueryKeys.lists()],
|
|
401
|
-
["product_tag", productTagsQueryKeys.lists()]
|
|
402
|
-
]);
|
|
403
|
-
return useMutation4({
|
|
404
|
-
mutationFn: (payload) => sdk.admin.translation.batch(payload),
|
|
405
|
-
onSuccess: (data, variables, context) => {
|
|
406
|
-
queryClient.invalidateQueries({
|
|
407
|
-
queryKey: referenceInvalidationKeysMap.get(reference)
|
|
408
|
-
});
|
|
409
|
-
options?.onSuccess?.(data, variables, context);
|
|
410
|
-
},
|
|
411
|
-
...options
|
|
412
|
-
});
|
|
413
|
-
};
|
|
414
|
-
|
|
415
242
|
// src/hooks/api/fulfillment.tsx
|
|
416
|
-
import { useMutation as
|
|
243
|
+
import { useMutation as useMutation4 } from "@tanstack/react-query";
|
|
417
244
|
var FULFILLMENTS_QUERY_KEY = "fulfillments";
|
|
418
245
|
var fulfillmentsQueryKeys = queryKeysFactory(FULFILLMENTS_QUERY_KEY);
|
|
419
246
|
|
|
420
247
|
// src/hooks/api/locales.tsx
|
|
421
|
-
import { useQuery as
|
|
248
|
+
import { useQuery as useQuery6 } from "@tanstack/react-query";
|
|
422
249
|
var LOCALES_QUERY_KEY = "locales";
|
|
423
250
|
var localesQueryKeys = queryKeysFactory(LOCALES_QUERY_KEY);
|
|
424
251
|
var useLocales = (query, options) => {
|
|
425
|
-
const { data, ...rest } =
|
|
252
|
+
const { data, ...rest } = useQuery6({
|
|
426
253
|
queryFn: () => sdk.admin.locale.list(query),
|
|
427
254
|
queryKey: localesQueryKeys.list(query),
|
|
428
255
|
...options
|
|
@@ -431,11 +258,11 @@ var useLocales = (query, options) => {
|
|
|
431
258
|
};
|
|
432
259
|
|
|
433
260
|
// src/hooks/api/notification.tsx
|
|
434
|
-
import { useQuery as
|
|
261
|
+
import { useQuery as useQuery7 } from "@tanstack/react-query";
|
|
435
262
|
var NOTIFICATION_QUERY_KEY = "notification";
|
|
436
263
|
var notificationQueryKeys = queryKeysFactory(NOTIFICATION_QUERY_KEY);
|
|
437
264
|
var useNotifications = (query, options) => {
|
|
438
|
-
const { data, ...rest } =
|
|
265
|
+
const { data, ...rest } = useQuery7({
|
|
439
266
|
queryFn: () => sdk.admin.notification.list(query),
|
|
440
267
|
queryKey: notificationQueryKeys.list(query),
|
|
441
268
|
...options
|
|
@@ -444,13 +271,13 @@ var useNotifications = (query, options) => {
|
|
|
444
271
|
};
|
|
445
272
|
|
|
446
273
|
// src/hooks/api/payment-collections.tsx
|
|
447
|
-
import { useMutation as
|
|
274
|
+
import { useMutation as useMutation5 } from "@tanstack/react-query";
|
|
448
275
|
var PAYMENT_COLLECTION_QUERY_KEY = "payment-collection";
|
|
449
276
|
var paymentCollectionQueryKeys = queryKeysFactory(
|
|
450
277
|
PAYMENT_COLLECTION_QUERY_KEY
|
|
451
278
|
);
|
|
452
279
|
var useMarkPaymentCollectionAsPaid = (orderId, paymentCollectionId, options) => {
|
|
453
|
-
return
|
|
280
|
+
return useMutation5({
|
|
454
281
|
mutationFn: (payload) => sdk.admin.paymentCollection.markAsPaid(paymentCollectionId, payload),
|
|
455
282
|
onSuccess: (data, variables, context) => {
|
|
456
283
|
queryClient.invalidateQueries({
|
|
@@ -470,8 +297,8 @@ var useMarkPaymentCollectionAsPaid = (orderId, paymentCollectionId, options) =>
|
|
|
470
297
|
|
|
471
298
|
// src/hooks/api/payments.tsx
|
|
472
299
|
import {
|
|
473
|
-
useMutation as
|
|
474
|
-
useQuery as
|
|
300
|
+
useMutation as useMutation6,
|
|
301
|
+
useQuery as useQuery8
|
|
475
302
|
} from "@tanstack/react-query";
|
|
476
303
|
var PAYMENT_QUERY_KEY = "payment";
|
|
477
304
|
var paymentQueryKeys = queryKeysFactory(PAYMENT_QUERY_KEY);
|
|
@@ -480,7 +307,7 @@ var paymentProvidersQueryKeys = queryKeysFactory(
|
|
|
480
307
|
PAYMENT_PROVIDERS_QUERY_KEY
|
|
481
308
|
);
|
|
482
309
|
var useCapturePayment = (orderId, paymentId, options) => {
|
|
483
|
-
return
|
|
310
|
+
return useMutation6({
|
|
484
311
|
mutationFn: (payload) => sdk.admin.payment.capture(paymentId, payload),
|
|
485
312
|
onSuccess: (data, variables, context) => {
|
|
486
313
|
queryClient.invalidateQueries({
|
|
@@ -495,7 +322,7 @@ var useCapturePayment = (orderId, paymentId, options) => {
|
|
|
495
322
|
});
|
|
496
323
|
};
|
|
497
324
|
var useRefundPayment = (orderId, paymentId, options) => {
|
|
498
|
-
return
|
|
325
|
+
return useMutation6({
|
|
499
326
|
mutationFn: (payload) => sdk.admin.payment.refund(paymentId, payload),
|
|
500
327
|
onSuccess: (data, variables, context) => {
|
|
501
328
|
queryClient.invalidateQueries({
|
|
@@ -537,7 +364,5 @@ export {
|
|
|
537
364
|
useProductTags,
|
|
538
365
|
useCreateProductTag,
|
|
539
366
|
useUpdateProductTag,
|
|
540
|
-
useDeleteProductTag
|
|
541
|
-
useReferenceTranslations,
|
|
542
|
-
useBatchTranslations
|
|
367
|
+
useDeleteProductTag
|
|
543
368
|
};
|
|
@@ -15,10 +15,10 @@ import {
|
|
|
15
15
|
} from "./chunk-X5VECN6S.mjs";
|
|
16
16
|
import {
|
|
17
17
|
StackedFocusModal
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
19
19
|
import {
|
|
20
20
|
useStackedModal
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
22
22
|
import {
|
|
23
23
|
countries
|
|
24
24
|
} from "./chunk-DG7J63J2.mjs";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-6HTZNHPT.mjs";
|
|
13
13
|
import {
|
|
14
14
|
RouteDrawer
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
16
16
|
import {
|
|
17
17
|
useRouteModal
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-42OOM4DJ.mjs";
|
|
19
19
|
import {
|
|
20
20
|
useDocumentDirection
|
|
21
21
|
} from "./chunk-S4DMV3ZT.mjs";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
useCombinedRefs,
|
|
13
13
|
useDataGridCell,
|
|
14
14
|
useDataGridCellError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-W7SLPIO2.mjs";
|
|
16
16
|
import {
|
|
17
17
|
currencies
|
|
18
18
|
} from "./chunk-DK4WIVY6.mjs";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-6HTZNHPT.mjs";
|
|
25
25
|
import {
|
|
26
26
|
StackedFocusModal
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-XXBP2Z5M.mjs";
|
|
28
28
|
import {
|
|
29
29
|
Form
|
|
30
30
|
} from "./chunk-OBQI23QM.mjs";
|