@mercurjs/admin 2.4.2-canary.4 → 2.4.2-canary.6
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-RK4N7E4J.js → add-campaign-promotions-IDDVSDVO.js} +6 -6
- package/dist/{adjust-inventory-VN7VTEHC.js → adjust-inventory-IMDA6DKO.js} +10 -10
- package/dist/{api-key-management-create-E5MDWSPT.js → api-key-management-create-NVJDDG4M.js} +3 -3
- package/dist/{api-key-management-detail-QPIDG4YL.js → api-key-management-detail-LVQP3YON.js} +14 -15
- package/dist/{api-key-management-edit-4LF2QQ7K.js → api-key-management-edit-5IIU6UYJ.js} +3 -3
- package/dist/{api-key-management-list-QR65GHKN.js → api-key-management-list-6ORXEMNW.js} +5 -5
- package/dist/{api-key-management-sales-channels-ODNVPGYF.js → api-key-management-sales-channels-2E4N6RZN.js} +3 -3
- package/dist/{attribute-create-KXP2BR3A.js → attribute-create-PZBBHYGL.js} +86 -20
- package/dist/{attribute-detail-EXGOXBSF.js → attribute-detail-EII34YLQ.js} +102 -56
- package/dist/{attribute-edit-JHXYOZAS.js → attribute-edit-JCSUWMYC.js} +36 -7
- package/dist/{attribute-edit-possible-value-SA5JMQXA.js → attribute-edit-possible-value-2RBBQ7IU.js} +2 -2
- package/dist/{attribute-list-YGW7T57X.js → attribute-list-QGZFFUQR.js} +16 -14
- package/dist/{breadcrumb-5WEYNHQL.js → breadcrumb-RQDZGMWP.js} +1 -1
- package/dist/{campaign-detail-SIUHKEBE.js → campaign-detail-K3PJUFLD.js} +17 -18
- package/dist/{campaign-list-MHCSLAYG.js → campaign-list-ZDXGPR73.js} +4 -4
- package/dist/{categories-metadata-5WRCUAYB.js → categories-metadata-OY7QP7PJ.js} +10 -10
- package/dist/{category-create-T6KSFJFR.js → category-create-6DAYPDRU.js} +5 -5
- package/dist/{category-detail-XYXPRDG6.js → category-detail-BHUTMA7H.js} +16 -17
- package/dist/{category-edit-OE4ONHT6.js → category-edit-FK7LZO4O.js} +2 -2
- package/dist/{category-icon-edit-PW5CAWMU.js → category-icon-edit-7EQM65SC.js} +2 -2
- package/dist/{category-list-I32XZHH5.js → category-list-KVGPDIFS.js} +5 -5
- package/dist/{category-media-WNBMNSD7.js → category-media-3VSW6I4G.js} +2 -2
- package/dist/{category-organize-EPEKZLIU.js → category-organize-AUA6MVBU.js} +2 -2
- package/dist/{category-products-YTOLFNN3.js → category-products-OXYEAWXV.js} +13 -13
- package/dist/{chunk-3YN2ZMOJ.js → chunk-24MN3SEL.js} +27 -18
- package/dist/{chunk-7F6ILJAJ.js → chunk-2DSZAOBF.js} +3 -3
- package/dist/{chunk-JKV66HIB.js → chunk-2HV2KQT3.js} +8 -13
- package/dist/{chunk-N3MOQFE2.js → chunk-2NR5WWH7.js} +3 -3
- package/dist/{chunk-4E7M7XYS.js → chunk-2OIF2OGW.js} +1 -1
- package/dist/{chunk-6FWR6IXZ.js → chunk-443ZBALK.js} +46 -12
- package/dist/{chunk-ZDWFCRK2.js → chunk-4IVYBRJK.js} +26 -23
- package/dist/{chunk-6W57K3PC.js → chunk-4PVK5DOS.js} +1 -1
- package/dist/{chunk-AET2AAKT.js → chunk-5CEYPZUM.js} +1 -1
- package/dist/{chunk-HYNF4MXN.js → chunk-5FHGEXOA.js} +58 -79
- package/dist/{chunk-YRUD4KEK.js → chunk-5OJ4L3WC.js} +2 -2
- package/dist/{chunk-2SPKAU6B.js → chunk-5RV5GAIP.js} +1 -1
- package/dist/{chunk-5TFDVLNS.js → chunk-6RKJ6RB5.js} +4 -4
- package/dist/{chunk-ZFJ4JK2G.js → chunk-6T3UQY3I.js} +4 -4
- package/dist/{chunk-MUQ6XTZG.js → chunk-6UHGUVFC.js} +1 -1
- package/dist/{chunk-B7MV2IBN.js → chunk-72CVE5IA.js} +2 -2
- package/dist/{chunk-732GOB5M.js → chunk-76QAL55M.js} +14 -2
- package/dist/{chunk-JXRIOU6S.js → chunk-7J2BVAMW.js} +23 -31
- package/dist/{chunk-PJUW7FBR.js → chunk-ALZEKBOB.js} +1 -1
- package/dist/{chunk-W34INFPB.js → chunk-AVB5HIE7.js} +1 -1
- package/dist/{chunk-US4ODTG4.js → chunk-AVGUJKVU.js} +16 -9
- package/dist/{chunk-2BUD2E7H.js → chunk-AX4GTBO5.js} +1 -1
- package/dist/{chunk-O65UQTKL.js → chunk-AYIUS6NM.js} +2 -2
- package/dist/{chunk-QNH2UAGS.js → chunk-BAVZ3YR2.js} +1 -1
- package/dist/{chunk-TRFZWFQP.js → chunk-BRWQ3UED.js} +1 -1
- package/dist/{chunk-3XE5GSUK.js → chunk-CCTM2LZD.js} +28 -18
- package/dist/{chunk-3FW25NHA.js → chunk-CFBK4EUK.js} +39 -4
- package/dist/{chunk-GVEY7LY4.js → chunk-DDJY4VQ5.js} +2 -2
- package/dist/{chunk-JVQ5ILSP.js → chunk-DGYOLNJ5.js} +4 -4
- package/dist/{chunk-77XMRJKQ.js → chunk-DQBGRKDX.js} +32 -23
- package/dist/{chunk-V5ILLJVE.js → chunk-ECZ5N3KU.js} +8 -8
- package/dist/{chunk-JD7F6TNN.js → chunk-EEXKQF7A.js} +1 -1
- package/dist/{chunk-7NDIA2SN.js → chunk-EM3LOM7G.js} +46 -68
- package/dist/chunk-EWS3KOK3.js +11 -0
- package/dist/{chunk-MD36ZSRC.js → chunk-FU47OX4X.js} +1 -1
- package/dist/{chunk-Q25CKL6P.js → chunk-GRZJJDIJ.js} +2 -2
- package/dist/{chunk-W2WJU2F7.js → chunk-GYSD2TAF.js} +1 -1
- package/dist/{chunk-MB457RHR.js → chunk-H6YIN6D7.js} +1 -1
- package/dist/{chunk-TJJBEBVO.js → chunk-HD4LNWMO.js} +11 -11
- package/dist/{chunk-TVQDFXGM.js → chunk-HUDNSWXR.js} +41 -9
- package/dist/{chunk-QMURCXV6.js → chunk-IEWKW6XR.js} +1 -1
- package/dist/{chunk-GKEZ4IXG.js → chunk-IMLIZ2CH.js} +8 -8
- package/dist/{chunk-PZKPLLCK.js → chunk-IPME3OPK.js} +2 -2
- package/dist/chunk-IVKTH7RC.js +69 -0
- package/dist/{chunk-PQ6UCU26.js → chunk-JA2IPDEX.js} +19 -9
- package/dist/{chunk-NE5GEZYD.js → chunk-JCZDC5N5.js} +1 -1
- package/dist/{chunk-VGIRBDBL.js → chunk-KJ5QKUJZ.js} +31 -29
- package/dist/{chunk-YNFKPKE2.js → chunk-KJSKFONN.js} +1 -1
- package/dist/{chunk-BTJHHZTV.js → chunk-KY4DDENW.js} +1 -1
- package/dist/{chunk-MVZBABWL.js → chunk-LH4RXIUY.js} +1 -1
- package/dist/chunk-LWLRPGA7.js +197 -0
- package/dist/{chunk-RT6L7JXU.js → chunk-M6MB4GXV.js} +25 -1
- package/dist/{chunk-BKNZMLN6.js → chunk-MCN5XDLH.js} +1 -1
- package/dist/{chunk-2LJB5MG5.js → chunk-MLMVR6CE.js} +30 -25
- package/dist/{chunk-CSNREXFJ.js → chunk-MTQC3R2L.js} +24 -14
- package/dist/{chunk-TNW5SNAA.js → chunk-MUJYKY5I.js} +2 -2
- package/dist/{chunk-AUFNEWYR.js → chunk-NESAROPT.js} +27 -38
- package/dist/{chunk-FMARCJU2.js → chunk-O6PKKHIT.js} +44 -34
- package/dist/{chunk-M7DJHW7Y.js → chunk-ODDXWRE5.js} +35 -30
- package/dist/{chunk-42EOT2GS.js → chunk-OJP6YVPK.js} +1 -1
- package/dist/{chunk-IRX6H6PX.js → chunk-OLOYXEOI.js} +1 -1
- package/dist/{chunk-73UGQNLW.js → chunk-OO3JY5EU.js} +1 -1
- package/dist/{chunk-TPXDWHKN.js → chunk-OXMGCNW5.js} +1 -1
- package/dist/{chunk-POICNIRJ.js → chunk-PA74U5XV.js} +1 -1
- package/dist/{chunk-MG4HOHXJ.js → chunk-PLG54FMA.js} +1 -1
- package/dist/{chunk-EZ3A5EME.js → chunk-Q3SMUTB7.js} +24 -15
- package/dist/{chunk-VCCCWNJ2.js → chunk-QFG6TS6Z.js} +20 -2
- package/dist/{chunk-3XDYPQNV.js → chunk-QYE3BDVE.js} +1 -1
- package/dist/{chunk-3I2HNULG.js → chunk-RPNZ4ESH.js} +22 -10
- package/dist/{chunk-XJ4VE6B6.js → chunk-S3SZYTRU.js} +1 -1
- package/dist/{chunk-4YWKKCTT.js → chunk-SBNL3YZO.js} +22 -2
- package/dist/{chunk-T5VQZAUQ.js → chunk-SHBMQS3S.js} +34 -24
- package/dist/{chunk-PZXHCGSF.js → chunk-SLDWAEDL.js} +25 -13
- package/dist/{chunk-7LJ6Z5TK.js → chunk-SN2AXUQV.js} +1 -1
- package/dist/{chunk-RAVKYLQV.js → chunk-SQDBVRBF.js} +5 -5
- package/dist/{chunk-BYAFLPPK.js → chunk-THUQNFFD.js} +5 -5
- package/dist/{chunk-QBKQ5PAI.js → chunk-TKBGDMTC.js} +36 -4
- package/dist/{chunk-BHAZEG34.js → chunk-TSZA5X7R.js} +1 -1
- package/dist/{chunk-ZREELPMV.js → chunk-TXLANLXM.js} +1 -1
- package/dist/{chunk-F523UP2R.js → chunk-U6IT72XX.js} +32 -27
- package/dist/{chunk-7XATJLO3.js → chunk-U7HOCY3L.js} +2 -2
- package/dist/{chunk-N72547NA.js → chunk-UCJXRN3O.js} +1 -1
- package/dist/{chunk-N7FZLLOS.js → chunk-UGJISW7E.js} +1 -1
- package/dist/{chunk-QCPXVVAM.js → chunk-UHU6L2AJ.js} +2 -2
- package/dist/{chunk-CJ44WLY3.js → chunk-UKWVNNAB.js} +2 -2
- package/dist/{chunk-2DCSR6PN.js → chunk-VQGLI6PQ.js} +23 -30
- package/dist/{chunk-C54WZEEX.js → chunk-VSTQAHPX.js} +22 -1
- package/dist/chunk-W27KYAMV.js +9 -0
- package/dist/{chunk-EYIEFDQM.js → chunk-W7CP465S.js} +1 -1
- package/dist/{chunk-JQKWHQYV.js → chunk-WKW6P42D.js} +52 -46
- package/dist/{chunk-M65R6KJ7.js → chunk-X2OI7ZEG.js} +1 -1
- package/dist/{chunk-A4LXFSDU.js → chunk-X5GMM6CE.js} +28 -18
- package/dist/{chunk-YP2DOA53.js → chunk-XDM2SRR4.js} +1 -1
- package/dist/{chunk-XYQHDLH7.js → chunk-XRMLTUGJ.js} +40 -33
- package/dist/{chunk-X7YXQYAJ.js → chunk-XT5IAKD7.js} +22 -10
- package/dist/{chunk-5ZF2SG36.js → chunk-YBULKF2L.js} +1 -1
- package/dist/{chunk-CAWQT5KV.js → chunk-YOHRKXJL.js} +3 -3
- package/dist/{chunk-6IE322SZ.js → chunk-YPJZPKRW.js} +6 -4
- package/dist/{chunk-X6IEU5BN.js → chunk-YVHFOD55.js} +1 -1
- package/dist/{chunk-4I65EBC3.js → chunk-ZHSA32KT.js} +29 -19
- package/dist/{chunk-UG2TX3DW.js → chunk-ZP3D6FEU.js} +2 -2
- package/dist/{collection-add-products-X5ALICTT.js → collection-add-products-HHAWUR7P.js} +13 -13
- package/dist/{collection-create-OFAKZT3H.js → collection-create-L74HYO3A.js} +2 -2
- package/dist/{collection-detail-SA3GXCYV.js → collection-detail-X6SBJPYM.js} +15 -16
- package/dist/{collection-edit-VVUKOHZO.js → collection-edit-UMTSRIRG.js} +2 -2
- package/dist/{collection-icon-edit-ZEOV47DV.js → collection-icon-edit-GJIUPOZK.js} +2 -2
- package/dist/{collection-list-T7LIHCSO.js → collection-list-GNFISF2W.js} +21 -21
- package/dist/{collection-media-SW6O54X5.js → collection-media-QYRSKCAL.js} +2 -2
- package/dist/{collection-metadata-D56TMA2O.js → collection-metadata-WEQFREHF.js} +10 -10
- package/dist/{commission-rule-detail-KXOBJ7ZE.js → commission-rule-detail-KBE3AABV.js} +7 -8
- package/dist/{commissions-list-NOHWTAL6.js → commissions-list-7V3XYDSC.js} +7 -7
- package/dist/{customer-detail-X4QO7R4I.js → customer-detail-T7CREAZC.js} +14 -15
- package/dist/{customer-group-detail-5SI2UEWT.js → customer-group-detail-AKACON75.js} +12 -13
- package/dist/{customer-group-list-W6AAEMJZ.js → customer-group-list-CCZHRWSP.js} +12 -12
- package/dist/{customer-group-metadata-ZULCBXZT.js → customer-group-metadata-K3RWUHMG.js} +10 -10
- package/dist/customer-list-NAWGRWW3.js +1 -1
- package/dist/{customer-metadata-PX4675YG.js → customer-metadata-LQQZ6THT.js} +10 -10
- package/dist/{customers-add-customer-group-MRUPG2NL.js → customers-add-customer-group-XDII2GTG.js} +11 -11
- package/dist/{edit-inventory-item-E4HTJCLW.js → edit-inventory-item-QAGG6GBK.js} +10 -10
- package/dist/{edit-inventory-item-attributes-DTFCKHA3.js → edit-inventory-item-attributes-4LN4BDKJ.js} +10 -10
- package/dist/{edit-reservation-7XALDPYA.js → edit-reservation-DS6TZ5TG.js} +2 -2
- package/dist/{edit-rules-D2ETXYOG.js → edit-rules-SOVGTZJX.js} +13 -13
- package/dist/extension-targets.d.ts +182 -0
- package/dist/{home-HHIKY57C.js → home-7ZTSQC2X.js} +11 -11
- package/dist/index.d.ts +12 -12
- package/dist/index.js +237 -227
- package/dist/{inventory-detail-2QWJSRLT.js → inventory-detail-TO362FGE.js} +12 -13
- package/dist/{inventory-list-SUFVDLEJ.js → inventory-list-WJRKBKKG.js} +5 -5
- package/dist/{inventory-metadata-ZOFBU2CS.js → inventory-metadata-FCEDLKBS.js} +10 -10
- package/dist/{inventory-stock-LTLXVUHQ.js → inventory-stock-FLJAONNX.js} +10 -10
- package/dist/{loader-HZFVOO6G.js → loader-7AUS3B35.js} +1 -1
- package/dist/{location-detail-CQFXKIW2.js → location-detail-KZEDVRGP.js} +13 -14
- package/dist/{location-fulfillment-providers-K3IF56D3.js → location-fulfillment-providers-HVORN7S5.js} +15 -15
- package/dist/{location-list-CVMIBMT7.js → location-list-NZMDAP6L.js} +12 -12
- package/dist/{location-sales-channels-M5UZFBFQ.js → location-sales-channels-XHSFQVY7.js} +2 -2
- package/dist/{location-service-zone-shipping-option-create-RL7Q7P3U.js → location-service-zone-shipping-option-create-LNDIHDCZ.js} +11 -11
- package/dist/{location-service-zone-shipping-option-pricing-THSABNGZ.js → location-service-zone-shipping-option-pricing-FVJPFF36.js} +2 -2
- package/dist/{login-GB4TZ3KN.js → login-ZLZIZJN6.js} +10 -10
- package/dist/{manage-locations-AWAF7NHT.js → manage-locations-5ZWMHWH4.js} +1 -1
- package/dist/{marketplace-detail-BGGEDBMZ.js → marketplace-detail-GGDYJAXI.js} +12 -13
- package/dist/{marketplace-edit-P3NH6JDD.js → marketplace-edit-7LXD76SU.js} +1 -1
- package/dist/{marketplace-metadata-AV4IYMSI.js → marketplace-metadata-YWXI5KUM.js} +10 -10
- package/dist/{offer-condition-create-ELOPMTVF.js → offer-condition-create-TK7LKCI2.js} +10 -10
- package/dist/{offer-condition-edit-X47KO53G.js → offer-condition-edit-YFAFSKVO.js} +10 -10
- package/dist/{offer-condition-list-F2UTHYW5.js → offer-condition-list-OMCXV6KS.js} +21 -21
- package/dist/{offer-detail-page-KBX4DEFJ.js → offer-detail-page-YCRLAPLN.js} +37 -40
- package/dist/{offer-variant-detail-page-TNNLDDNI.js → offer-variant-detail-page-UPRDSLGJ.js} +28 -31
- package/dist/{offers-BCT5ZNVV.js → offers-RMV2EVJ7.js} +13 -13
- package/dist/{order-create-edit-AC2YWTP7.js → order-create-edit-TW4H7GQI.js} +6 -6
- package/dist/{order-create-exchange-BJK7VBZJ.js → order-create-exchange-ER6DXNLR.js} +13 -13
- package/dist/{order-create-refund-HCWHO7UA.js → order-create-refund-2I5AT5FC.js} +13 -13
- package/dist/{order-detail-UGTEV6YA.js → order-detail-ZIILCYER.js} +17 -18
- package/dist/{order-edit-billing-address-SM2VDTND.js → order-edit-billing-address-Y557XZUE.js} +11 -11
- package/dist/{order-edit-email-6W3ZFJP3.js → order-edit-email-WRMXO5M6.js} +10 -10
- package/dist/{order-edit-shipping-address-EAN3RL44.js → order-edit-shipping-address-N5CTGWFE.js} +10 -10
- package/dist/{order-list-JQHYTMPK.js → order-list-XSD7B6JW.js} +11 -11
- package/dist/{order-metadata-H55SOYPV.js → order-metadata-WF7YTM27.js} +10 -10
- package/dist/{order-request-transfer-5Z5ASYLA.js → order-request-transfer-QJWJBZ6C.js} +10 -10
- package/dist/pages/index.d.ts +32 -473
- package/dist/pages/index.js +156 -154
- package/dist/{payout-account-detail-MHGZZIRD.js → payout-account-detail-Z2HZJ5B4.js} +42 -41
- package/dist/{payout-account-list-RQNRNFIV.js → payout-account-list-SN2MFMFE.js} +3 -3
- package/dist/{payout-detail-TLN5EW23.js → payout-detail-RMWKU2O6.js} +2 -3
- package/dist/{payout-list-LMWL45PW.js → payout-list-IT2HRUM4.js} +5 -5
- package/dist/{price-list-configuration-OT3FSLYS.js → price-list-configuration-IYVEAZ7F.js} +2 -2
- package/dist/{price-list-create-MZBAANRE.js → price-list-create-GB727PCT.js} +15 -15
- package/dist/{price-list-customer-availability-W5MPRJAP.js → price-list-customer-availability-GRSQP4T2.js} +2 -2
- package/dist/{price-list-detail-GHBU34II.js → price-list-detail-C5YXVE7F.js} +15 -16
- package/dist/{price-list-edit-HTL5XNKZ.js → price-list-edit-BJO5SCJQ.js} +2 -2
- package/dist/{price-list-list-HTAI5DW4.js → price-list-list-OSTM4Z4Y.js} +5 -5
- package/dist/{price-list-prices-add-PU3QIZ6C.js → price-list-prices-add-2ZGRCZ7Q.js} +14 -14
- package/dist/{price-list-prices-edit-U5JMSZR2.js → price-list-prices-edit-LF56RWBX.js} +11 -11
- package/dist/{product-add-existing-attributes-BUPTMRVD.js → product-add-existing-attributes-65NCOEGS.js} +25 -19
- package/dist/{product-attributes-5PMGQBIW.js → product-attributes-KVEAIQHE.js} +1 -1
- package/dist/{product-bulk-edit-ETVMA4TH.js → product-bulk-edit-MBE6VEOT.js} +1 -1
- package/dist/{product-create-CEUBLSNB.js → product-create-P2U24UG5.js} +18 -17
- package/dist/{product-create-attribute-JRUTWHLJ.js → product-create-attribute-CZKELBZG.js} +2 -2
- package/dist/{product-create-variant-G3XZ572E.js → product-create-variant-F4NZL7EE.js} +4 -4
- package/dist/{product-detail-56VBJ5BZ.js → product-detail-PKRRZETP.js} +13 -12
- package/dist/{product-edit-HVV6HFPP.js → product-edit-G6OY6NJ5.js} +1 -1
- package/dist/{product-edit-attribute-3JHAMGZG.js → product-edit-attribute-URGUUIZA.js} +1 -1
- package/dist/{product-list-UTRXPARK.js → product-list-7BXZUMZR.js} +15 -15
- package/dist/{product-media-DB74GMWE.js → product-media-THKC6GZM.js} +4 -4
- package/dist/{product-metadata-Y3M4ZZ2H.js → product-metadata-EFK742GI.js} +10 -10
- package/dist/{product-organization-J4WAKRIN.js → product-organization-JQI37GE6.js} +4 -4
- package/dist/{product-requests-SV5NHQ4L.js → product-requests-AQJRL7MN.js} +5 -5
- package/dist/{product-sales-channels-HFMSJZVI.js → product-sales-channels-S6L3X4UX.js} +2 -2
- package/dist/{product-shipping-profile-MM74FN47.js → product-shipping-profile-Q5ZYPJ3T.js} +1 -1
- package/dist/{product-tag-create-GNJTKAUY.js → product-tag-create-2BBSUNEP.js} +10 -10
- package/dist/{product-tag-detail-PWYCRCC3.js → product-tag-detail-XWQPPWDV.js} +27 -28
- package/dist/{product-tag-edit-IEYXMMU3.js → product-tag-edit-VHZKPJHF.js} +10 -10
- package/dist/{product-tag-list-LNKN323U.js → product-tag-list-OWJZXVHL.js} +27 -27
- package/dist/{product-tag-metadata-Q4JIK46H.js → product-tag-metadata-763U2BC6.js} +10 -10
- package/dist/{product-type-detail-7P2M7JIS.js → product-type-detail-ETNCDX7W.js} +15 -16
- package/dist/product-type-list-YJCXTJQE.js +1 -1
- package/dist/{product-type-metadata-S7ZPZFPU.js → product-type-metadata-I7CJCEI2.js} +10 -10
- package/dist/product-variant-add-attributes-RGRIWDP4.js +443 -0
- package/dist/{product-variant-detail-K5L2YBZ5.js → product-variant-detail-GFMRE6OJ.js} +12 -13
- package/dist/{product-variant-edit-2A6AJ74P.js → product-variant-edit-3G43LFYX.js} +13 -13
- package/dist/product-variant-edit-attribute-46TPYOO3.js +102 -0
- package/dist/{product-variant-metadata-DNMZY323.js → product-variant-metadata-756P46CP.js} +10 -10
- package/dist/{profile-detail-4FHCZL5O.js → profile-detail-Q6ETDPS7.js} +2 -3
- package/dist/{promotion-create-6Q2ZXHUG.js → promotion-create-6C2EFIX3.js} +13 -12
- package/dist/{promotion-detail-FNO3QDGZ.js → promotion-detail-SMND7UEB.js} +15 -16
- package/dist/{promotion-list-JNUPZ3PP.js → promotion-list-J726EVGE.js} +8 -8
- package/dist/{refund-reason-create-25ZABWC3.js → refund-reason-create-FZLP4WKE.js} +10 -10
- package/dist/{refund-reason-edit-5DZPMYVZ.js → refund-reason-edit-RS3VI7TD.js} +10 -10
- package/dist/{refund-reason-list-YJN3YBCX.js → refund-reason-list-FXM7PM7O.js} +22 -22
- package/dist/{region-add-countries-AJM47ID6.js → region-add-countries-S3PNMQYY.js} +2 -2
- package/dist/{region-add-sellers-KN5PRYNT.js → region-add-sellers-5DQTFGZN.js} +7 -7
- package/dist/{region-create-V4YPSF33.js → region-create-SJ3LM4SD.js} +2 -2
- package/dist/{region-detail-TRHQFBTW.js → region-detail-AVJZ5NUE.js} +9 -10
- package/dist/{region-edit-KEAWUONT.js → region-edit-SVKR2HYI.js} +2 -2
- package/dist/{region-list-UE6RO2PZ.js → region-list-FBLV7NDC.js} +4 -4
- package/dist/{region-metadata-R6S3KUOD.js → region-metadata-QGCVB6XL.js} +10 -10
- package/dist/{reservation-create-M7U5YGMU.js → reservation-create-CIJZPZKJ.js} +2 -2
- package/dist/{reservation-detail-FCLXXM7P.js → reservation-detail-FLNLU4KU.js} +12 -13
- package/dist/{reservation-list-MK6AFJ5N.js → reservation-list-AXZPYNNV.js} +6 -6
- package/dist/{reservation-metadata-35N7FCGC.js → reservation-metadata-FVEALJLI.js} +10 -10
- package/dist/{reset-password-ITQ3O4O7.js → reset-password-JJCDBA3H.js} +1 -1
- package/dist/{return-reason-list-2GUYWZLY.js → return-reason-list-G43LAERQ.js} +13 -13
- package/dist/{review-list-PR4KAUEG.js → review-list-LBDAOKV6.js} +4 -4
- package/dist/{sales-channel-add-products-EIVCMYH6.js → sales-channel-add-products-7YWSQ7BJ.js} +13 -13
- package/dist/{sales-channel-create-JLRHY4I3.js → sales-channel-create-DBPPVZ4B.js} +2 -2
- package/dist/{sales-channel-detail-WUA6WCD3.js → sales-channel-detail-4OFZ4K3Y.js} +15 -16
- package/dist/{sales-channel-edit-F6WEJPJD.js → sales-channel-edit-GY37FAMC.js} +2 -2
- package/dist/{sales-channel-list-OA3BS44A.js → sales-channel-list-7Q6MQ37E.js} +11 -11
- package/dist/{sales-channel-metadata-EQEMA7ZK.js → sales-channel-metadata-6SRM2MCU.js} +10 -10
- package/dist/{settings-GJMBK3U3.js → settings-SDY3Q5UQ.js} +12 -12
- package/dist/{shipping-option-type-create-JNVJYWQ4.js → shipping-option-type-create-DVPE35ST.js} +10 -10
- package/dist/{shipping-option-type-detail-FWMONUZX.js → shipping-option-type-detail-IEARUFKC.js} +12 -13
- package/dist/{shipping-option-type-edit-2ORVYAS2.js → shipping-option-type-edit-HTHLXMPC.js} +10 -10
- package/dist/{shipping-option-type-list-XOC4A2K5.js → shipping-option-type-list-4ZNZ2PZA.js} +11 -11
- package/dist/{shipping-profile-detail-2BO5PJLM.js → shipping-profile-detail-7WMX4LFB.js} +2 -3
- package/dist/{shipping-profile-metadata-TQJUPQDT.js → shipping-profile-metadata-YAUFE67J.js} +10 -10
- package/dist/{store-add-regions-EOGPCBH4.js → store-add-regions-VMX2HMNT.js} +2 -2
- package/dist/{store-address-edit-BWDVQ4AO.js → store-address-edit-AWQIQG5B.js} +2 -2
- package/dist/{store-bulk-edit-26DGX4KW.js → store-bulk-edit-QPRXZEMT.js} +2 -2
- package/dist/{store-closure-edit-7SUR4F2K.js → store-closure-edit-SFEX2MJG.js} +2 -2
- package/dist/{store-create-XODKGAQB.js → store-create-LPA74RQC.js} +10 -10
- package/dist/{store-details-CTXOMJ4F.js → store-details-NQPDL7XU.js} +22 -23
- package/dist/{store-edit-LELCWFLY.js → store-edit-2Q6B4OIB.js} +4 -4
- package/dist/{store-list-MSXINJBB.js → store-list-JZJGOP7D.js} +22 -22
- package/dist/{store-member-invite-KHZD23MS.js → store-member-invite-AMSL2O6V.js} +2 -2
- package/dist/{store-payment-details-edit-RQNDJCYW.js → store-payment-details-edit-SVCRKVYK.js} +2 -2
- package/dist/{store-professional-details-edit-QRB6EBTP.js → store-professional-details-edit-VSOKALEW.js} +2 -2
- package/dist/{tax-region-create-7NCIY2IB.js → tax-region-create-UA2K6ALU.js} +11 -11
- package/dist/{tax-region-detail-TL34TZ74.js → tax-region-detail-TZEBIPSN.js} +14 -15
- package/dist/{tax-region-edit-WMTF547K.js → tax-region-edit-NFU5CDKG.js} +10 -10
- package/dist/{tax-region-metadata-XTERQTSO.js → tax-region-metadata-HLXBLLMK.js} +10 -10
- package/dist/{tax-region-province-detail-V4O4LIEL.js → tax-region-province-detail-MJ4CWC3F.js} +14 -15
- package/dist/{tax-region-tax-override-create-MGQYCSLB.js → tax-region-tax-override-create-J6QPVI7E.js} +26 -26
- package/dist/{tax-region-tax-override-edit-PWH2ZJVM.js → tax-region-tax-override-edit-VWSJ2QKH.js} +26 -26
- package/dist/{user-detail-W5HUECIC.js → user-detail-7GNOR2AE.js} +3 -4
- package/dist/user-list-TC6EBLIK.js +1 -1
- package/dist/{user-metadata-P4XDYLXJ.js → user-metadata-FBFODHDC.js} +10 -10
- package/package.json +6 -6
- package/dist/chunk-MABKQJLL.js +0 -145
- package/dist/{chunk-3LMHCJEX.js → chunk-JVJWAI3M.js} +3 -3
- package/dist/{location-service-zone-shipping-option-edit-K7SOAJHY.js → location-service-zone-shipping-option-edit-MBLMYYBN.js} +3 -3
- package/dist/{order-create-claim-RSZ3M7TG.js → order-create-claim-EELOJWNC.js} +3 -3
- package/dist/{order-create-return-6H2QQN4E.js → order-create-return-TV3ME2OX.js} +3 -3
- package/dist/{promotion-add-campaign-AM7UUMYW.js → promotion-add-campaign-AE4PCK64.js} +3 -3
- package/dist/{promotion-edit-details-7RJ5KQDZ.js → promotion-edit-details-VKG2QBOH.js} +3 -3
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useDeletePriceListAction
|
|
3
|
-
} from "./chunk-MUQ6XTZG.js";
|
|
4
1
|
import {
|
|
5
2
|
useOfferTableColumns,
|
|
6
3
|
useOfferTableFilters,
|
|
7
4
|
useOfferTableQuery
|
|
8
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-SQDBVRBF.js";
|
|
6
|
+
import {
|
|
7
|
+
useDeletePriceListAction
|
|
8
|
+
} from "./chunk-6UHGUVFC.js";
|
|
9
9
|
import {
|
|
10
10
|
getPriceListStatus
|
|
11
11
|
} from "./chunk-KVAD5JGS.js";
|
|
@@ -19,15 +19,15 @@ import {
|
|
|
19
19
|
useOffers
|
|
20
20
|
} from "./chunk-4KXDWQ5F.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./chunk-
|
|
22
|
+
CORE_LAYOUT_IDS
|
|
23
|
+
} from "./chunk-W27KYAMV.js";
|
|
24
24
|
import {
|
|
25
25
|
ActionMenu
|
|
26
26
|
} from "./chunk-3UOYBH5O.js";
|
|
27
27
|
import {
|
|
28
28
|
usePriceList,
|
|
29
29
|
usePriceListLinkProducts
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-SN2AXUQV.js";
|
|
31
31
|
import {
|
|
32
32
|
useCustomerGroups
|
|
33
33
|
} from "./chunk-WCKHI6BO.js";
|
|
@@ -44,9 +44,12 @@ import {
|
|
|
44
44
|
} from "./chunk-INNFZYX2.js";
|
|
45
45
|
|
|
46
46
|
// src/pages/price-lists/price-list-detail/price-list-detail.tsx
|
|
47
|
-
import { Children } from "react";
|
|
48
47
|
import { useParams } from "react-router-dom";
|
|
49
|
-
import {
|
|
48
|
+
import {
|
|
49
|
+
LayoutComposer,
|
|
50
|
+
detailPageDefaultEntries,
|
|
51
|
+
useLinkQuery
|
|
52
|
+
} from "@mercurjs/dashboard-shared";
|
|
50
53
|
|
|
51
54
|
// src/pages/price-lists/price-list-detail/components/price-list-configuration-section/price-list-configuration-section.tsx
|
|
52
55
|
import { PencilSquare } from "@medusajs/icons";
|
|
@@ -525,8 +528,8 @@ var useColumns = (priceList) => {
|
|
|
525
528
|
};
|
|
526
529
|
|
|
527
530
|
// src/pages/price-lists/price-list-detail/price-list-detail.tsx
|
|
528
|
-
import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
529
|
-
var
|
|
531
|
+
import { Fragment, jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
532
|
+
var PriceListDetailPage = () => {
|
|
530
533
|
const { id } = useParams();
|
|
531
534
|
const linkQuery = useLinkQuery("price_list", "+prices.id");
|
|
532
535
|
const { price_list, isLoading, isError, error } = usePriceList(id, linkQuery);
|
|
@@ -536,23 +539,25 @@ var Root = ({ children }) => {
|
|
|
536
539
|
if (isError) {
|
|
537
540
|
throw error;
|
|
538
541
|
}
|
|
539
|
-
return
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
542
|
+
return /* @__PURE__ */ jsx5(
|
|
543
|
+
LayoutComposer,
|
|
544
|
+
{
|
|
545
|
+
widgetsZonePrefix: "price-lists.detail",
|
|
546
|
+
preferredLayoutId: CORE_LAYOUT_IDS.TWO_COLUMN,
|
|
547
|
+
data: price_list,
|
|
548
|
+
"data-testid": "price-list-detail-page",
|
|
549
|
+
sections: {
|
|
550
|
+
main: /* @__PURE__ */ jsxs5(Fragment, { children: [
|
|
551
|
+
/* @__PURE__ */ jsx5(LayoutComposer.Entry, { id: "PriceListGeneralSection", children: /* @__PURE__ */ jsx5(PriceListGeneralSection, { priceList: price_list }) }),
|
|
552
|
+
/* @__PURE__ */ jsx5(LayoutComposer.Entry, { id: "PriceListCustomerAvailabilitySection", children: /* @__PURE__ */ jsx5(PriceListCustomerAvailabilitySection, { priceList: price_list }) }),
|
|
553
|
+
/* @__PURE__ */ jsx5(LayoutComposer.Entry, { id: "PriceListProductSection", children: /* @__PURE__ */ jsx5(PriceListProductSection, { priceList: price_list }) }),
|
|
554
|
+
detailPageDefaultEntries(price_list, { metadata: false })
|
|
555
|
+
] }),
|
|
556
|
+
side: /* @__PURE__ */ jsx5(LayoutComposer.Entry, { id: "PriceListConfigurationSection", children: /* @__PURE__ */ jsx5(PriceListConfigurationSection, { priceList: price_list }) })
|
|
557
|
+
}
|
|
558
|
+
}
|
|
559
|
+
);
|
|
547
560
|
};
|
|
548
|
-
var PriceListDetailPage = Object.assign(Root, {
|
|
549
|
-
Main: TwoColumnPage.Main,
|
|
550
|
-
Sidebar: TwoColumnPage.Sidebar,
|
|
551
|
-
MainGeneralSection: PriceListGeneralSection,
|
|
552
|
-
MainCustomerAvailabilitySection: PriceListCustomerAvailabilitySection,
|
|
553
|
-
MainProductSection: PriceListProductSection,
|
|
554
|
-
SidebarConfigurationSection: PriceListConfigurationSection
|
|
555
|
-
});
|
|
556
561
|
|
|
557
562
|
export {
|
|
558
563
|
PriceListDetailPage
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-AJLGY3LQ.js";
|
|
4
4
|
import {
|
|
5
5
|
i18n
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-TKBGDMTC.js";
|
|
7
7
|
import {
|
|
8
8
|
require_dist
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-76QAL55M.js";
|
|
10
10
|
import {
|
|
11
11
|
__toESM
|
|
12
12
|
} from "./chunk-NBMM2TZK.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
useDeleteSalesChannelLazy,
|
|
18
18
|
useSalesChannels
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OXMGCNW5.js";
|
|
20
20
|
|
|
21
21
|
// src/pages/sales-channels/sales-channel-list/sales-channel-list.tsx
|
|
22
22
|
import { Children as Children3 } from "react";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
reservationItemsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ALZEKBOB.js";
|
|
4
4
|
import {
|
|
5
5
|
ordersQueryKeys
|
|
6
6
|
} from "./chunk-KDGQJ37N.js";
|
|
7
7
|
import {
|
|
8
8
|
inventoryItemsQueryKeys
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-VSTQAHPX.js";
|
|
10
10
|
import {
|
|
11
11
|
queryClient
|
|
12
12
|
} from "./chunk-2KCF3ZIB.js";
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-WCKHI6BO.js";
|
|
7
7
|
import {
|
|
8
8
|
useSalesChannels
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OXMGCNW5.js";
|
|
10
10
|
import {
|
|
11
11
|
useSellers
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4PVK5DOS.js";
|
|
13
13
|
|
|
14
14
|
// src/pages/orders/order-list/components/order-list-table/use-order-table-filters.tsx
|
|
15
15
|
import { usePermissions } from "@mercurjs/dashboard-shared";
|
|
@@ -6,6 +6,9 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
UserLink
|
|
8
8
|
} from "./chunk-2AXXZ6BQ.js";
|
|
9
|
+
import {
|
|
10
|
+
CORE_LAYOUT_IDS
|
|
11
|
+
} from "./chunk-W27KYAMV.js";
|
|
9
12
|
import {
|
|
10
13
|
useSalesChannelTableColumns,
|
|
11
14
|
useSalesChannelTableEmptyState,
|
|
@@ -15,9 +18,6 @@ import {
|
|
|
15
18
|
import {
|
|
16
19
|
DataTable
|
|
17
20
|
} from "./chunk-MU7RXGLY.js";
|
|
18
|
-
import {
|
|
19
|
-
SingleColumnPage
|
|
20
|
-
} from "./chunk-H6MYB7GB.js";
|
|
21
21
|
import {
|
|
22
22
|
ActionMenu
|
|
23
23
|
} from "./chunk-3UOYBH5O.js";
|
|
@@ -26,13 +26,13 @@ import {
|
|
|
26
26
|
useBatchRemoveSalesChannelsFromApiKey,
|
|
27
27
|
useDeleteApiKey,
|
|
28
28
|
useRevokeApiKey
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-OO3JY5EU.js";
|
|
30
30
|
import {
|
|
31
31
|
useUser
|
|
32
32
|
} from "./chunk-6ZQXTLI7.js";
|
|
33
33
|
import {
|
|
34
34
|
useSalesChannels
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-OXMGCNW5.js";
|
|
36
36
|
import {
|
|
37
37
|
useDate
|
|
38
38
|
} from "./chunk-EIWPJWKF.js";
|
|
@@ -42,9 +42,12 @@ import {
|
|
|
42
42
|
} from "./chunk-INNFZYX2.js";
|
|
43
43
|
|
|
44
44
|
// src/pages/api-key-management/api-key-management-detail/api-key-management-detail.tsx
|
|
45
|
-
import { Children } from "react";
|
|
46
45
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
47
|
-
import {
|
|
46
|
+
import {
|
|
47
|
+
LayoutComposer,
|
|
48
|
+
PermissionGuard,
|
|
49
|
+
detailPageDefaultEntries
|
|
50
|
+
} from "@mercurjs/dashboard-shared";
|
|
48
51
|
|
|
49
52
|
// src/pages/api-key-management/api-key-management-detail/components/api-key-general-section/api-key-general-section.tsx
|
|
50
53
|
import { PencilSquare, Trash, XCircle } from "@medusajs/icons";
|
|
@@ -398,8 +401,8 @@ var useCommands = (id, setRowSelection) => {
|
|
|
398
401
|
};
|
|
399
402
|
|
|
400
403
|
// src/pages/api-key-management/api-key-management-detail/api-key-management-detail.tsx
|
|
401
|
-
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
402
|
-
var
|
|
404
|
+
import { Fragment as Fragment2, jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
405
|
+
var ApiKeyManagementDetailPage = () => {
|
|
403
406
|
const initialData = useLoaderData();
|
|
404
407
|
const { id } = useParams();
|
|
405
408
|
const { api_key, isLoading, isError, error } = useApiKey(id, void 0, {
|
|
@@ -412,33 +415,23 @@ var Root = ({ children }) => {
|
|
|
412
415
|
throw error;
|
|
413
416
|
}
|
|
414
417
|
const isPublishable = api_key.type === "publishable" /* PUBLISHABLE */;
|
|
415
|
-
return
|
|
416
|
-
|
|
418
|
+
return /* @__PURE__ */ jsx3(
|
|
419
|
+
LayoutComposer,
|
|
417
420
|
{
|
|
418
|
-
|
|
419
|
-
|
|
421
|
+
widgetsZonePrefix: "api-keys.detail",
|
|
422
|
+
preferredLayoutId: CORE_LAYOUT_IDS.SINGLE_COLUMN,
|
|
420
423
|
data: api_key,
|
|
421
424
|
"data-testid": `${api_key.type}-api-key-detail-page`,
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
data: api_key,
|
|
430
|
-
"data-testid": `${api_key.type}-api-key-detail-page`,
|
|
431
|
-
children: /* @__PURE__ */ jsxs2(WidgetZone, { id: "api-keys.detail.main", data: api_key, children: [
|
|
432
|
-
/* @__PURE__ */ jsx3(ApiKeyGeneralSection, { apiKey: api_key }),
|
|
433
|
-
isPublishable && /* @__PURE__ */ jsx3(PermissionGuard, { permission: "sales_channels:view", children: /* @__PURE__ */ jsx3(ApiKeySalesChannelSection, { apiKey: api_key }) })
|
|
434
|
-
] })
|
|
425
|
+
sections: {
|
|
426
|
+
main: /* @__PURE__ */ jsxs2(Fragment2, { children: [
|
|
427
|
+
/* @__PURE__ */ jsx3(LayoutComposer.Entry, { id: "ApiKeyGeneralSection", children: /* @__PURE__ */ jsx3(ApiKeyGeneralSection, { apiKey: api_key }) }),
|
|
428
|
+
isPublishable && /* @__PURE__ */ jsx3(LayoutComposer.Entry, { id: "ApiKeySalesChannelSection", children: /* @__PURE__ */ jsx3(PermissionGuard, { permission: "sales_channels:view", children: /* @__PURE__ */ jsx3(ApiKeySalesChannelSection, { apiKey: api_key }) }) }),
|
|
429
|
+
detailPageDefaultEntries(api_key, { metadata: false })
|
|
430
|
+
] })
|
|
431
|
+
}
|
|
435
432
|
}
|
|
436
433
|
);
|
|
437
434
|
};
|
|
438
|
-
var ApiKeyManagementDetailPage = Object.assign(Root, {
|
|
439
|
-
GeneralSection: ApiKeyGeneralSection,
|
|
440
|
-
SalesChannelSection: ApiKeySalesChannelSection
|
|
441
|
-
});
|
|
442
435
|
|
|
443
436
|
export {
|
|
444
437
|
ApiKeyManagementDetailPage
|
|
@@ -465,6 +465,26 @@ var useBatchProductAttributes = (productId, options) => {
|
|
|
465
465
|
...options
|
|
466
466
|
});
|
|
467
467
|
};
|
|
468
|
+
var useBatchVariantAttributes = (productId, variantId, options) => {
|
|
469
|
+
return useMutation2({
|
|
470
|
+
mutationFn: (payload) => sdk.admin.products.$id.variants.$variantId.attributes.batch.mutate({
|
|
471
|
+
$id: productId,
|
|
472
|
+
$variantId: variantId,
|
|
473
|
+
...payload
|
|
474
|
+
}),
|
|
475
|
+
onSuccess: (data, variables, context) => {
|
|
476
|
+
queryClient.invalidateQueries({
|
|
477
|
+
queryKey: variantsQueryKeys.detail(variantId)
|
|
478
|
+
});
|
|
479
|
+
queryClient.invalidateQueries({ queryKey: variantsQueryKeys.lists() });
|
|
480
|
+
queryClient.invalidateQueries({
|
|
481
|
+
queryKey: productsQueryKeys.detail(productId)
|
|
482
|
+
});
|
|
483
|
+
options?.onSuccess?.(data, variables, context);
|
|
484
|
+
},
|
|
485
|
+
...options
|
|
486
|
+
});
|
|
487
|
+
};
|
|
468
488
|
|
|
469
489
|
export {
|
|
470
490
|
inventoryItemsQueryKeys,
|
|
@@ -499,5 +519,6 @@ export {
|
|
|
499
519
|
useUpdateProductVariant,
|
|
500
520
|
useDeleteVariant,
|
|
501
521
|
useDeleteVariantLazy,
|
|
502
|
-
useBatchProductAttributes
|
|
522
|
+
useBatchProductAttributes,
|
|
523
|
+
useBatchVariantAttributes
|
|
503
524
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BadgeListSummary
|
|
3
3
|
} from "./chunk-QLOJNFUE.js";
|
|
4
|
+
import {
|
|
5
|
+
PROMOTION_DETAIL_BASE_FIELDS
|
|
6
|
+
} from "./chunk-GY7HAFTG.js";
|
|
4
7
|
import {
|
|
5
8
|
DateRangeDisplay
|
|
6
9
|
} from "./chunk-O7324VFF.js";
|
|
7
10
|
import {
|
|
8
11
|
getPromotionStatus,
|
|
9
12
|
getPromotionType
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import {
|
|
12
|
-
PROMOTION_DETAIL_BASE_FIELDS
|
|
13
|
-
} from "./chunk-GY7HAFTG.js";
|
|
13
|
+
} from "./chunk-TSZA5X7R.js";
|
|
14
14
|
import {
|
|
15
15
|
formatPercentage
|
|
16
16
|
} from "./chunk-QDPLZDMX.js";
|
|
@@ -18,8 +18,8 @@ import {
|
|
|
18
18
|
formatCurrency
|
|
19
19
|
} from "./chunk-XSX255FK.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./chunk-
|
|
21
|
+
CORE_LAYOUT_IDS
|
|
22
|
+
} from "./chunk-W27KYAMV.js";
|
|
23
23
|
import {
|
|
24
24
|
ActionMenu
|
|
25
25
|
} from "./chunk-3UOYBH5O.js";
|
|
@@ -36,9 +36,12 @@ import {
|
|
|
36
36
|
} from "./chunk-INNFZYX2.js";
|
|
37
37
|
|
|
38
38
|
// src/pages/promotions/promotion-detail/promotion-detail.tsx
|
|
39
|
-
import { Children } from "react";
|
|
40
39
|
import { useLoaderData, useParams as useParams4 } from "react-router-dom";
|
|
41
|
-
import {
|
|
40
|
+
import {
|
|
41
|
+
LayoutComposer,
|
|
42
|
+
detailPageDefaultEntries,
|
|
43
|
+
useLinkQuery as useLinkQuery4
|
|
44
|
+
} from "@mercurjs/dashboard-shared";
|
|
42
45
|
|
|
43
46
|
// src/pages/promotions/promotion-detail/components/campaign-section/campaign-section.tsx
|
|
44
47
|
import { ArrowUpRightOnBox, PencilSquare } from "@medusajs/icons";
|
|
@@ -469,8 +472,8 @@ var PromotionGeneralSection = ({
|
|
|
469
472
|
};
|
|
470
473
|
|
|
471
474
|
// src/pages/promotions/promotion-detail/promotion-detail.tsx
|
|
472
|
-
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
473
|
-
var
|
|
475
|
+
import { Fragment, jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
476
|
+
var PromotionDetailPage = () => {
|
|
474
477
|
const initialData = useLoaderData();
|
|
475
478
|
const { id } = useParams4();
|
|
476
479
|
const linkQuery = useLinkQuery4("promotion", PROMOTION_DETAIL_BASE_FIELDS);
|
|
@@ -487,43 +490,46 @@ var Root = ({ children }) => {
|
|
|
487
490
|
if (isLoading || !promotion) {
|
|
488
491
|
return /* @__PURE__ */ jsx4(TwoColumnPageSkeleton, { mainSections: 3, sidebarSections: 1, showJSON: true });
|
|
489
492
|
}
|
|
490
|
-
return
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
493
|
+
return /* @__PURE__ */ jsx4(
|
|
494
|
+
LayoutComposer,
|
|
495
|
+
{
|
|
496
|
+
widgetsZonePrefix: "promotions.detail",
|
|
497
|
+
preferredLayoutId: CORE_LAYOUT_IDS.TWO_COLUMN,
|
|
498
|
+
data: promotion,
|
|
499
|
+
"data-testid": "promotion-detail-page",
|
|
500
|
+
sections: {
|
|
501
|
+
main: /* @__PURE__ */ jsxs4(Fragment, { children: [
|
|
502
|
+
/* @__PURE__ */ jsx4(LayoutComposer.Entry, { id: "PromotionGeneralSection", children: /* @__PURE__ */ jsx4(PromotionGeneralSection, { promotion }) }),
|
|
503
|
+
/* @__PURE__ */ jsx4(LayoutComposer.Entry, { id: "PromotionConditionsSection", children: /* @__PURE__ */ jsx4(
|
|
504
|
+
PromotionConditionsSection,
|
|
505
|
+
{
|
|
506
|
+
rules: rules || [],
|
|
507
|
+
ruleType: "rules"
|
|
508
|
+
}
|
|
509
|
+
) }),
|
|
510
|
+
/* @__PURE__ */ jsx4(LayoutComposer.Entry, { id: "PromotionTargetConditionsSection", children: /* @__PURE__ */ jsx4(
|
|
511
|
+
PromotionConditionsSection,
|
|
512
|
+
{
|
|
513
|
+
rules: targetRules || [],
|
|
514
|
+
ruleType: "target-rules",
|
|
515
|
+
applicationMethodTargetType: promotion.application_method?.target_type || "items"
|
|
516
|
+
}
|
|
517
|
+
) }),
|
|
518
|
+
promotion.type === "buyget" && /* @__PURE__ */ jsx4(LayoutComposer.Entry, { id: "PromotionBuyConditionsSection", children: /* @__PURE__ */ jsx4(
|
|
519
|
+
PromotionConditionsSection,
|
|
520
|
+
{
|
|
521
|
+
rules: buyRules || [],
|
|
522
|
+
ruleType: "buy-rules",
|
|
523
|
+
applicationMethodTargetType: "items"
|
|
524
|
+
}
|
|
525
|
+
) }),
|
|
526
|
+
detailPageDefaultEntries(promotion, { metadata: false })
|
|
527
|
+
] }),
|
|
528
|
+
side: /* @__PURE__ */ jsx4(LayoutComposer.Entry, { id: "CampaignSection", children: /* @__PURE__ */ jsx4(CampaignSection, { campaign: promotion.campaign, promotion }) })
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
);
|
|
519
532
|
};
|
|
520
|
-
var PromotionDetailPage = Object.assign(Root, {
|
|
521
|
-
Main: TwoColumnPage.Main,
|
|
522
|
-
Sidebar: TwoColumnPage.Sidebar,
|
|
523
|
-
MainGeneralSection: PromotionGeneralSection,
|
|
524
|
-
MainConditionsSection: PromotionConditionsSection,
|
|
525
|
-
SidebarCampaignSection: CampaignSection
|
|
526
|
-
});
|
|
527
533
|
|
|
528
534
|
export {
|
|
529
535
|
PromotionDetailPage
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeleteProductTagAction
|
|
3
3
|
} from "./chunk-23X5IBGZ.js";
|
|
4
|
+
import {
|
|
5
|
+
CORE_LAYOUT_IDS
|
|
6
|
+
} from "./chunk-W27KYAMV.js";
|
|
4
7
|
import {
|
|
5
8
|
useProductTableColumns
|
|
6
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BAVZ3YR2.js";
|
|
7
10
|
import {
|
|
8
11
|
useProductTableFilters
|
|
9
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2DSZAOBF.js";
|
|
10
13
|
import {
|
|
11
14
|
useProductTableQuery
|
|
12
15
|
} from "./chunk-S4IDR46L.js";
|
|
13
|
-
import {
|
|
14
|
-
SingleColumnPage
|
|
15
|
-
} from "./chunk-H6MYB7GB.js";
|
|
16
16
|
import {
|
|
17
17
|
ActionMenu
|
|
18
18
|
} from "./chunk-3UOYBH5O.js";
|
|
@@ -28,12 +28,15 @@ import {
|
|
|
28
28
|
} from "./chunk-INNFZYX2.js";
|
|
29
29
|
import {
|
|
30
30
|
useProducts
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-VSTQAHPX.js";
|
|
32
32
|
|
|
33
33
|
// src/pages/product-tags/product-tag-detail/product-tag-detail.tsx
|
|
34
|
-
import { Children } from "react";
|
|
35
34
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
36
|
-
import {
|
|
35
|
+
import {
|
|
36
|
+
LayoutComposer,
|
|
37
|
+
PermissionGuard,
|
|
38
|
+
detailPageDefaultEntries
|
|
39
|
+
} from "@mercurjs/dashboard-shared";
|
|
37
40
|
|
|
38
41
|
// src/pages/product-tags/product-tag-detail/components/product-tag-general-section/product-tag-general-section.tsx
|
|
39
42
|
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
@@ -141,8 +144,8 @@ var ProductTagProductSection = ({
|
|
|
141
144
|
};
|
|
142
145
|
|
|
143
146
|
// src/pages/product-tags/product-tag-detail/product-tag-detail.tsx
|
|
144
|
-
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
145
|
-
var
|
|
147
|
+
import { Fragment, jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
148
|
+
var ProductTagDetailPage = () => {
|
|
146
149
|
const { id } = useParams();
|
|
147
150
|
const initialData = useLoaderData();
|
|
148
151
|
const { product_tag, isPending, isError, error } = useProductTag(
|
|
@@ -158,15 +161,22 @@ var Root = ({ children }) => {
|
|
|
158
161
|
if (isError) {
|
|
159
162
|
throw error;
|
|
160
163
|
}
|
|
161
|
-
return
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
164
|
+
return /* @__PURE__ */ jsx3(
|
|
165
|
+
LayoutComposer,
|
|
166
|
+
{
|
|
167
|
+
widgetsZonePrefix: "product-tags.detail",
|
|
168
|
+
preferredLayoutId: CORE_LAYOUT_IDS.SINGLE_COLUMN,
|
|
169
|
+
data: product_tag,
|
|
170
|
+
sections: {
|
|
171
|
+
main: /* @__PURE__ */ jsxs3(Fragment, { children: [
|
|
172
|
+
/* @__PURE__ */ jsx3(LayoutComposer.Entry, { id: "ProductTagGeneralSection", children: /* @__PURE__ */ jsx3(ProductTagGeneralSection, { productTag: product_tag }) }),
|
|
173
|
+
/* @__PURE__ */ jsx3(LayoutComposer.Entry, { id: "ProductTagProductSection", children: /* @__PURE__ */ jsx3(PermissionGuard, { permission: "products:view", children: /* @__PURE__ */ jsx3(ProductTagProductSection, { productTag: product_tag }) }) }),
|
|
174
|
+
detailPageDefaultEntries(product_tag)
|
|
175
|
+
] })
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
);
|
|
165
179
|
};
|
|
166
|
-
var ProductTagDetailPage = Object.assign(Root, {
|
|
167
|
-
GeneralSection: ProductTagGeneralSection,
|
|
168
|
-
ProductSection: ProductTagProductSection
|
|
169
|
-
});
|
|
170
180
|
|
|
171
181
|
export {
|
|
172
182
|
ProductTagDetailPage
|