@mercurjs/admin 2.4.2-canary.4 → 2.4.2-canary.5
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-GKEZ4IXG.js → chunk-7YO7AMXN.js} +8 -8
- package/dist/{chunk-PJUW7FBR.js → chunk-ALZEKBOB.js} +1 -1
- package/dist/{chunk-BTJHHZTV.js → chunk-AMOXOWUZ.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-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-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-6SEQHWTY.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-H25QBO4V.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,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./chunk-
|
|
2
|
+
CORE_LAYOUT_IDS
|
|
3
|
+
} from "./chunk-W27KYAMV.js";
|
|
4
4
|
import {
|
|
5
5
|
ActionMenu
|
|
6
6
|
} from "./chunk-3UOYBH5O.js";
|
|
@@ -15,8 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-INNFZYX2.js";
|
|
16
16
|
|
|
17
17
|
// src/pages/profile/profile-detail/profile-detail.tsx
|
|
18
|
-
import {
|
|
19
|
-
import { WidgetZone, useLinkQuery } from "@mercurjs/dashboard-shared";
|
|
18
|
+
import { LayoutComposer, useLinkQuery } from "@mercurjs/dashboard-shared";
|
|
20
19
|
|
|
21
20
|
// src/pages/profile/profile-detail/components/profile-general-section/profile-general-section.tsx
|
|
22
21
|
import { PencilSquare } from "@medusajs/icons";
|
|
@@ -80,7 +79,7 @@ var ProfileGeneralSection = ({ user }) => {
|
|
|
80
79
|
|
|
81
80
|
// src/pages/profile/profile-detail/profile-detail.tsx
|
|
82
81
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
83
|
-
var
|
|
82
|
+
var ProfileDetailPage = () => {
|
|
84
83
|
const meQuery = useLinkQuery("user");
|
|
85
84
|
const { user, isPending: isLoading, isError, error } = useMe(meQuery);
|
|
86
85
|
if (isLoading || !user) {
|
|
@@ -89,11 +88,19 @@ var Root = ({ children }) => {
|
|
|
89
88
|
if (isError) {
|
|
90
89
|
throw error;
|
|
91
90
|
}
|
|
92
|
-
return
|
|
91
|
+
return /* @__PURE__ */ jsx2(
|
|
92
|
+
LayoutComposer,
|
|
93
|
+
{
|
|
94
|
+
widgetsZonePrefix: "profile.detail",
|
|
95
|
+
preferredLayoutId: CORE_LAYOUT_IDS.SINGLE_COLUMN,
|
|
96
|
+
data: user,
|
|
97
|
+
"data-testid": "profile-detail-page",
|
|
98
|
+
sections: {
|
|
99
|
+
main: /* @__PURE__ */ jsx2(LayoutComposer.Entry, { id: "ProfileGeneralSection", children: /* @__PURE__ */ jsx2(ProfileGeneralSection, { user }) })
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
);
|
|
93
103
|
};
|
|
94
|
-
var ProfileDetailPage = Object.assign(Root, {
|
|
95
|
-
GeneralSection: ProfileGeneralSection
|
|
96
|
-
});
|
|
97
104
|
|
|
98
105
|
export {
|
|
99
106
|
ProfileDetailPage
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePromotionTableColumns,
|
|
3
3
|
usePromotionTableQuery
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PA74U5XV.js";
|
|
5
5
|
import {
|
|
6
6
|
usePromotionTableFilters
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-TXLANLXM.js";
|
|
8
8
|
import {
|
|
9
9
|
SingleColumnPage
|
|
10
10
|
} from "./chunk-H6MYB7GB.js";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeleteProductTypeAction
|
|
3
3
|
} from "./chunk-SWLW2RIE.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-types/product-type-detail/product-type-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-types/product-type-detail/components/product-type-general-section/product-type-general-section.tsx
|
|
39
42
|
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
@@ -136,8 +139,8 @@ var ProductTypeProductSection = ({
|
|
|
136
139
|
};
|
|
137
140
|
|
|
138
141
|
// src/pages/product-types/product-type-detail/product-type-detail.tsx
|
|
139
|
-
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
140
|
-
var
|
|
142
|
+
import { Fragment, jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
143
|
+
var ProductTypeDetailPage = () => {
|
|
141
144
|
const { id } = useParams();
|
|
142
145
|
const initialData = useLoaderData();
|
|
143
146
|
const { product_type, isPending, isError, error } = useProductType(
|
|
@@ -153,15 +156,22 @@ var Root = ({ children }) => {
|
|
|
153
156
|
if (isError) {
|
|
154
157
|
throw error;
|
|
155
158
|
}
|
|
156
|
-
return
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
159
|
+
return /* @__PURE__ */ jsx3(
|
|
160
|
+
LayoutComposer,
|
|
161
|
+
{
|
|
162
|
+
widgetsZonePrefix: "product-types.detail",
|
|
163
|
+
preferredLayoutId: CORE_LAYOUT_IDS.SINGLE_COLUMN,
|
|
164
|
+
data: product_type,
|
|
165
|
+
sections: {
|
|
166
|
+
main: /* @__PURE__ */ jsxs3(Fragment, { children: [
|
|
167
|
+
/* @__PURE__ */ jsx3(LayoutComposer.Entry, { id: "ProductTypeGeneralSection", children: /* @__PURE__ */ jsx3(ProductTypeGeneralSection, { productType: product_type }) }),
|
|
168
|
+
/* @__PURE__ */ jsx3(LayoutComposer.Entry, { id: "ProductTypeProductSection", children: /* @__PURE__ */ jsx3(PermissionGuard, { permission: "products:view", children: /* @__PURE__ */ jsx3(ProductTypeProductSection, { productType: product_type }) }) }),
|
|
169
|
+
detailPageDefaultEntries(product_type)
|
|
170
|
+
] })
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
);
|
|
160
174
|
};
|
|
161
|
-
var ProductTypeDetailPage = Object.assign(Root, {
|
|
162
|
-
GeneralSection: ProductTypeGeneralSection,
|
|
163
|
-
ProductSection: ProductTypeProductSection
|
|
164
|
-
});
|
|
165
175
|
|
|
166
176
|
export {
|
|
167
177
|
ProductTypeDetailPage
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
require_dist
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-76QAL55M.js";
|
|
4
4
|
import {
|
|
5
5
|
__toESM
|
|
6
6
|
} from "./chunk-NBMM2TZK.js";
|
|
@@ -13,23 +13,48 @@ var ATTRIBUTE_TYPE_OPTIONS = [
|
|
|
13
13
|
import_types.AttributeType.MULTI_SELECT,
|
|
14
14
|
import_types.AttributeType.UNIT,
|
|
15
15
|
import_types.AttributeType.TOGGLE,
|
|
16
|
-
import_types.AttributeType.TEXT
|
|
16
|
+
import_types.AttributeType.TEXT,
|
|
17
|
+
import_types.AttributeType.DATE
|
|
17
18
|
];
|
|
19
|
+
var ATTRIBUTE_SCOPE_OPTIONS = [
|
|
20
|
+
import_types.AttributeScope.PRODUCT,
|
|
21
|
+
import_types.AttributeScope.VARIANT
|
|
22
|
+
];
|
|
23
|
+
var PATTERN_TYPES = [import_types.AttributeType.TEXT, import_types.AttributeType.UNIT];
|
|
24
|
+
var isValidPattern = (pattern) => {
|
|
25
|
+
if (!pattern) {
|
|
26
|
+
return true;
|
|
27
|
+
}
|
|
28
|
+
try {
|
|
29
|
+
new RegExp(pattern);
|
|
30
|
+
return true;
|
|
31
|
+
} catch {
|
|
32
|
+
return false;
|
|
33
|
+
}
|
|
34
|
+
};
|
|
35
|
+
var toAttributeValidation = (type, pattern, message) => type && PATTERN_TYPES.includes(type) && pattern ? { pattern, message: message || null } : null;
|
|
18
36
|
var createAttributeSchema = (t) => z.object({
|
|
19
37
|
name: z.string().min(1, { message: t("attributes.create.titleRequired") }),
|
|
20
38
|
description: z.string().max(250).optional(),
|
|
21
39
|
handle: z.string().optional(),
|
|
22
40
|
is_filterable: z.boolean().default(false),
|
|
23
41
|
is_required: z.boolean().default(false),
|
|
42
|
+
is_internal: z.boolean().default(false),
|
|
24
43
|
is_variant_axis: z.boolean().default(false),
|
|
25
44
|
is_global: z.boolean().default(true),
|
|
45
|
+
scope: z.enum([import_types.AttributeScope.PRODUCT, import_types.AttributeScope.VARIANT]).default(import_types.AttributeScope.PRODUCT),
|
|
26
46
|
type: z.enum([
|
|
27
47
|
import_types.AttributeType.SINGLE_SELECT,
|
|
28
48
|
import_types.AttributeType.MULTI_SELECT,
|
|
29
49
|
import_types.AttributeType.UNIT,
|
|
30
50
|
import_types.AttributeType.TOGGLE,
|
|
31
|
-
import_types.AttributeType.TEXT
|
|
51
|
+
import_types.AttributeType.TEXT,
|
|
52
|
+
import_types.AttributeType.DATE
|
|
32
53
|
]).default(import_types.AttributeType.SINGLE_SELECT),
|
|
54
|
+
validation_pattern: z.string().optional().refine(isValidPattern, {
|
|
55
|
+
message: t("attributes.fields.invalidPattern")
|
|
56
|
+
}),
|
|
57
|
+
validation_message: z.string().optional(),
|
|
33
58
|
values: z.array(
|
|
34
59
|
z.object({
|
|
35
60
|
name: z.string(),
|
|
@@ -57,12 +82,19 @@ var createAttributeSchema = (t) => z.object({
|
|
|
57
82
|
});
|
|
58
83
|
}
|
|
59
84
|
});
|
|
85
|
+
var createUpdateAttributeSchema = (t) => UpdateAttributeSchema.extend({
|
|
86
|
+
validation_pattern: z.string().optional().refine(isValidPattern, {
|
|
87
|
+
message: t("attributes.fields.invalidPattern")
|
|
88
|
+
}),
|
|
89
|
+
validation_message: z.string().optional()
|
|
90
|
+
});
|
|
60
91
|
var UpdateAttributeSchema = z.object({
|
|
61
92
|
name: z.string().min(1).optional(),
|
|
62
93
|
description: z.string().max(250).optional(),
|
|
63
94
|
handle: z.string().optional(),
|
|
64
95
|
is_filterable: z.boolean().optional(),
|
|
65
96
|
is_required: z.boolean().optional(),
|
|
97
|
+
is_internal: z.boolean().optional(),
|
|
66
98
|
values: z.array(
|
|
67
99
|
z.object({
|
|
68
100
|
id: z.string().optional(),
|
|
@@ -81,7 +113,10 @@ var UpdatePossibleValueSchema = z.object({
|
|
|
81
113
|
|
|
82
114
|
export {
|
|
83
115
|
ATTRIBUTE_TYPE_OPTIONS,
|
|
116
|
+
ATTRIBUTE_SCOPE_OPTIONS,
|
|
117
|
+
PATTERN_TYPES,
|
|
118
|
+
toAttributeValidation,
|
|
84
119
|
createAttributeSchema,
|
|
85
|
-
|
|
120
|
+
createUpdateAttributeSchema,
|
|
86
121
|
UpdatePossibleValueSchema
|
|
87
122
|
};
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-KOURHC2N.js";
|
|
7
7
|
import {
|
|
8
8
|
useCollectionTableQuery
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FU47OX4X.js";
|
|
10
10
|
import {
|
|
11
11
|
SingleColumnPage
|
|
12
12
|
} from "./chunk-H6MYB7GB.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
useCollections,
|
|
18
18
|
useDeleteCollection
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AX4GTBO5.js";
|
|
20
20
|
import {
|
|
21
21
|
_DataTable,
|
|
22
22
|
useDataTable
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-2ZFELO2L.js";
|
|
13
13
|
import {
|
|
14
14
|
useShippingOptionTableQuery
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FU47OX4X.js";
|
|
16
16
|
import {
|
|
17
17
|
useProductTypeTableQuery
|
|
18
18
|
} from "./chunk-VOHEQ7B5.js";
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
} from "./chunk-F3XPA5ID.js";
|
|
28
28
|
import {
|
|
29
29
|
useProductTableColumns
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-BAVZ3YR2.js";
|
|
31
31
|
import {
|
|
32
32
|
useProductTableFilters
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-2DSZAOBF.js";
|
|
34
34
|
import {
|
|
35
35
|
useProductTableQuery
|
|
36
36
|
} from "./chunk-S4IDR46L.js";
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
import {
|
|
55
55
|
useProduct,
|
|
56
56
|
useProducts
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-VSTQAHPX.js";
|
|
58
58
|
|
|
59
59
|
// src/pages/tax-regions/common/components/target-form/target-form.tsx
|
|
60
60
|
import { Button, Checkbox } from "@medusajs/ui";
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
getCollectionGallery,
|
|
3
3
|
getCollectionIcon
|
|
4
4
|
} from "./chunk-2VKBKPQ3.js";
|
|
5
|
+
import {
|
|
6
|
+
CORE_LAYOUT_IDS
|
|
7
|
+
} from "./chunk-W27KYAMV.js";
|
|
5
8
|
import {
|
|
6
9
|
useProductTableColumns
|
|
7
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-BAVZ3YR2.js";
|
|
8
11
|
import {
|
|
9
12
|
useProductTableFilters
|
|
10
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-2DSZAOBF.js";
|
|
11
14
|
import {
|
|
12
15
|
useProductTableQuery
|
|
13
16
|
} from "./chunk-S4IDR46L.js";
|
|
14
|
-
import {
|
|
15
|
-
SingleColumnPage
|
|
16
|
-
} from "./chunk-H6MYB7GB.js";
|
|
17
17
|
import {
|
|
18
18
|
ActionMenu
|
|
19
19
|
} from "./chunk-3UOYBH5O.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
useCollection,
|
|
22
22
|
useDeleteCollection,
|
|
23
23
|
useUpdateCollectionProducts
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-AX4GTBO5.js";
|
|
25
25
|
import {
|
|
26
26
|
_DataTable,
|
|
27
27
|
useDataTable
|
|
@@ -31,12 +31,16 @@ import {
|
|
|
31
31
|
} from "./chunk-INNFZYX2.js";
|
|
32
32
|
import {
|
|
33
33
|
useProducts
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-VSTQAHPX.js";
|
|
35
35
|
|
|
36
36
|
// src/pages/collections/collection-detail/collection-detail.tsx
|
|
37
|
-
import { Children } from "react";
|
|
38
37
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
39
|
-
import {
|
|
38
|
+
import {
|
|
39
|
+
LayoutComposer,
|
|
40
|
+
PermissionGuard,
|
|
41
|
+
detailPageDefaultEntries,
|
|
42
|
+
useLinkQuery
|
|
43
|
+
} from "@mercurjs/dashboard-shared";
|
|
40
44
|
|
|
41
45
|
// src/pages/collections/collection-detail/components/collection-general-section/collection-general-section.tsx
|
|
42
46
|
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
@@ -510,8 +514,8 @@ var useColumns = () => {
|
|
|
510
514
|
};
|
|
511
515
|
|
|
512
516
|
// src/pages/collections/collection-detail/collection-detail.tsx
|
|
513
|
-
import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
514
|
-
var
|
|
517
|
+
import { Fragment, jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
518
|
+
var CollectionDetailPage = () => {
|
|
515
519
|
const initialData = useLoaderData();
|
|
516
520
|
const { id } = useParams();
|
|
517
521
|
const { collection, isLoading, isError, error } = useCollection(
|
|
@@ -527,19 +531,24 @@ var Root = ({ children }) => {
|
|
|
527
531
|
if (isError) {
|
|
528
532
|
throw error;
|
|
529
533
|
}
|
|
530
|
-
return
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
534
|
+
return /* @__PURE__ */ jsx5(
|
|
535
|
+
LayoutComposer,
|
|
536
|
+
{
|
|
537
|
+
widgetsZonePrefix: "collections.detail",
|
|
538
|
+
preferredLayoutId: CORE_LAYOUT_IDS.SINGLE_COLUMN,
|
|
539
|
+
data: collection,
|
|
540
|
+
sections: {
|
|
541
|
+
main: /* @__PURE__ */ jsxs5(Fragment, { children: [
|
|
542
|
+
/* @__PURE__ */ jsx5(LayoutComposer.Entry, { id: "CollectionGeneralSection", children: /* @__PURE__ */ jsx5(CollectionGeneralSection, { collection }) }),
|
|
543
|
+
/* @__PURE__ */ jsx5(LayoutComposer.Entry, { id: "CollectionMediaSection", children: /* @__PURE__ */ jsx5(CollectionMediaSection, { collection }) }),
|
|
544
|
+
/* @__PURE__ */ jsx5(LayoutComposer.Entry, { id: "CollectionIconSection", children: /* @__PURE__ */ jsx5(CollectionIconSection, { collection }) }),
|
|
545
|
+
/* @__PURE__ */ jsx5(LayoutComposer.Entry, { id: "CollectionProductSection", children: /* @__PURE__ */ jsx5(PermissionGuard, { permission: "products:view", children: /* @__PURE__ */ jsx5(CollectionProductSection, { collection }) }) }),
|
|
546
|
+
detailPageDefaultEntries(collection)
|
|
547
|
+
] })
|
|
548
|
+
}
|
|
549
|
+
}
|
|
550
|
+
);
|
|
536
551
|
};
|
|
537
|
-
var CollectionDetailPage = Object.assign(Root, {
|
|
538
|
-
GeneralSection: CollectionGeneralSection,
|
|
539
|
-
MediaSection: CollectionMediaSection,
|
|
540
|
-
IconSection: CollectionIconSection,
|
|
541
|
-
ProductSection: CollectionProductSection
|
|
542
|
-
});
|
|
543
552
|
|
|
544
553
|
export {
|
|
545
554
|
CollectionDetailPage
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useOfferTableColumns,
|
|
3
|
+
useOfferTableFilters,
|
|
4
|
+
useOfferTableQuery
|
|
5
|
+
} from "./chunk-SQDBVRBF.js";
|
|
1
6
|
import {
|
|
2
7
|
PriceListCreateOffersSchema,
|
|
3
8
|
buildOfferGridData,
|
|
4
9
|
usePriceListCurrencyData,
|
|
5
10
|
usePriceListGridColumns
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
useOfferTableColumns,
|
|
9
|
-
useOfferTableFilters,
|
|
10
|
-
useOfferTableQuery
|
|
11
|
-
} from "./chunk-RAVKYLQV.js";
|
|
11
|
+
} from "./chunk-5CEYPZUM.js";
|
|
12
12
|
import {
|
|
13
13
|
extractPricesFromOffers
|
|
14
14
|
} from "./chunk-KVAD5JGS.js";
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
useBatchPriceListPrices,
|
|
25
25
|
usePriceList
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-SN2AXUQV.js";
|
|
27
27
|
import {
|
|
28
28
|
_DataTable,
|
|
29
29
|
useDataTable
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "./chunk-FWJLS7XD.js";
|
|
38
38
|
import {
|
|
39
39
|
useProducts
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-VSTQAHPX.js";
|
|
41
41
|
|
|
42
42
|
// src/pages/price-lists/price-list-prices-add/components/price-list-prices-add-form/schema.ts
|
|
43
43
|
import { z } from "zod";
|
|
@@ -14,6 +14,16 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
formatPercentage
|
|
16
16
|
} from "./chunk-QDPLZDMX.js";
|
|
17
|
+
import {
|
|
18
|
+
getPaymentsFromOrder,
|
|
19
|
+
getReservationsLimitCount
|
|
20
|
+
} from "./chunk-3KOTDGC2.js";
|
|
21
|
+
import {
|
|
22
|
+
formatProvider
|
|
23
|
+
} from "./chunk-VW56KWO2.js";
|
|
24
|
+
import {
|
|
25
|
+
formatCurrency
|
|
26
|
+
} from "./chunk-XSX255FK.js";
|
|
17
27
|
import {
|
|
18
28
|
FulfillmentStatusCell,
|
|
19
29
|
FulfillmentStatusHeader,
|
|
@@ -42,36 +52,26 @@ import {
|
|
|
42
52
|
import {
|
|
43
53
|
useCancelOrderEdit,
|
|
44
54
|
useConfirmOrderEdit
|
|
45
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-UHU6L2AJ.js";
|
|
46
56
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./chunk-3KOTDGC2.js";
|
|
50
|
-
import {
|
|
51
|
-
formatProvider
|
|
52
|
-
} from "./chunk-VW56KWO2.js";
|
|
53
|
-
import {
|
|
54
|
-
formatCurrency
|
|
55
|
-
} from "./chunk-XSX255FK.js";
|
|
57
|
+
DEFAULT_FIELDS
|
|
58
|
+
} from "./chunk-JHBNG7OD.js";
|
|
56
59
|
import {
|
|
57
60
|
getLocaleAmount,
|
|
58
61
|
getStylizedAmount,
|
|
59
62
|
isAmountLessThenRoundingError
|
|
60
63
|
} from "./chunk-PXYDR7WQ.js";
|
|
61
|
-
import {
|
|
62
|
-
DEFAULT_FIELDS
|
|
63
|
-
} from "./chunk-JHBNG7OD.js";
|
|
64
64
|
import {
|
|
65
65
|
TextCell,
|
|
66
66
|
TextHeader
|
|
67
67
|
} from "./chunk-JHIMVLB2.js";
|
|
68
|
+
import {
|
|
69
|
+
CORE_LAYOUT_IDS
|
|
70
|
+
} from "./chunk-W27KYAMV.js";
|
|
68
71
|
import {
|
|
69
72
|
DateCell,
|
|
70
73
|
DateHeader
|
|
71
74
|
} from "./chunk-F3XPA5ID.js";
|
|
72
|
-
import {
|
|
73
|
-
TwoColumnPage
|
|
74
|
-
} from "./chunk-E74OUNA3.js";
|
|
75
75
|
import {
|
|
76
76
|
Thumbnail
|
|
77
77
|
} from "./chunk-U3I6S3RO.js";
|
|
@@ -93,7 +93,7 @@ import {
|
|
|
93
93
|
} from "./chunk-Y5ZZOV2D.js";
|
|
94
94
|
import {
|
|
95
95
|
useReservationItems
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-ALZEKBOB.js";
|
|
97
97
|
import {
|
|
98
98
|
useCancelOrder,
|
|
99
99
|
useCancelOrderTransfer,
|
|
@@ -116,9 +116,12 @@ import {
|
|
|
116
116
|
} from "./chunk-INNFZYX2.js";
|
|
117
117
|
|
|
118
118
|
// src/pages/orders/order-detail/order-detail.tsx
|
|
119
|
-
import { Children } from "react";
|
|
120
119
|
import { useLoaderData, useParams as useParams2 } from "react-router-dom";
|
|
121
|
-
import {
|
|
120
|
+
import {
|
|
121
|
+
LayoutComposer,
|
|
122
|
+
detailPageDefaultEntries,
|
|
123
|
+
useLinkQuery
|
|
124
|
+
} from "@mercurjs/dashboard-shared";
|
|
122
125
|
|
|
123
126
|
// src/pages/orders/order-detail/components/active-order-claim-section/active-order-claim-section.tsx
|
|
124
127
|
import { PermissionAction } from "@mercurjs/dashboard-shared";
|
|
@@ -3776,8 +3779,8 @@ var useColumns = () => {
|
|
|
3776
3779
|
};
|
|
3777
3780
|
|
|
3778
3781
|
// src/pages/orders/order-detail/order-detail.tsx
|
|
3779
|
-
import { jsx as jsx19, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
3780
|
-
var
|
|
3782
|
+
import { Fragment as Fragment4, jsx as jsx19, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
3783
|
+
var OrderDetailPage = () => {
|
|
3781
3784
|
const initialData = useLoaderData();
|
|
3782
3785
|
const { id } = useParams2();
|
|
3783
3786
|
const query = useLinkQuery("order", DEFAULT_FIELDS);
|
|
@@ -3809,59 +3812,34 @@ var Root = ({ children }) => {
|
|
|
3809
3812
|
if (isError) {
|
|
3810
3813
|
throw error;
|
|
3811
3814
|
}
|
|
3812
|
-
return
|
|
3813
|
-
|
|
3815
|
+
return /* @__PURE__ */ jsx19(
|
|
3816
|
+
LayoutComposer,
|
|
3814
3817
|
{
|
|
3818
|
+
widgetsZonePrefix: "orders.detail",
|
|
3819
|
+
preferredLayoutId: CORE_LAYOUT_IDS.TWO_COLUMN,
|
|
3815
3820
|
data: order,
|
|
3816
|
-
showJSON: true,
|
|
3817
|
-
showMetadata: true,
|
|
3818
|
-
hasOutlet: true,
|
|
3819
3821
|
"data-testid": "order-detail-page",
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
|
|
3823
|
-
|
|
3824
|
-
|
|
3825
|
-
|
|
3826
|
-
|
|
3827
|
-
|
|
3828
|
-
|
|
3829
|
-
|
|
3830
|
-
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
/* @__PURE__ */ jsx19(
|
|
3834
|
-
/* @__PURE__ */ jsx19(
|
|
3835
|
-
/* @__PURE__ */ jsx19(
|
|
3836
|
-
|
|
3837
|
-
|
|
3838
|
-
/* @__PURE__ */ jsx19(OrderPaymentSection, { order }),
|
|
3839
|
-
/* @__PURE__ */ jsx19(OrderFulfillmentSection, { order })
|
|
3840
|
-
] }) }),
|
|
3841
|
-
/* @__PURE__ */ jsx19(TwoColumnPage.Sidebar, { "data-testid": "order-detail-sidebar", children: /* @__PURE__ */ jsxs19(WidgetZone2, { id: "orders.detail.side", data: order, children: [
|
|
3842
|
-
/* @__PURE__ */ jsx19(OrderCustomerSection, { order }),
|
|
3843
|
-
/* @__PURE__ */ jsx19(OrderActivitySection, { order }),
|
|
3844
|
-
/* @__PURE__ */ jsx19(OrderRemainingOrdersGroupSection, {})
|
|
3845
|
-
] }) })
|
|
3846
|
-
]
|
|
3822
|
+
sections: {
|
|
3823
|
+
main: /* @__PURE__ */ jsxs19(Fragment4, { children: [
|
|
3824
|
+
/* @__PURE__ */ jsx19(LayoutComposer.Entry, { id: "OrderActiveEditSection", children: /* @__PURE__ */ jsx19(OrderActiveEditSection, { order }) }),
|
|
3825
|
+
/* @__PURE__ */ jsx19(LayoutComposer.Entry, { id: "ActiveOrderClaimSection", children: /* @__PURE__ */ jsx19(ActiveOrderClaimSection, { orderPreview }) }),
|
|
3826
|
+
/* @__PURE__ */ jsx19(LayoutComposer.Entry, { id: "ActiveOrderExchangeSection", children: /* @__PURE__ */ jsx19(ActiveOrderExchangeSection, { orderPreview }) }),
|
|
3827
|
+
/* @__PURE__ */ jsx19(LayoutComposer.Entry, { id: "ActiveOrderReturnSection", children: /* @__PURE__ */ jsx19(ActiveOrderReturnSection, { orderPreview }) }),
|
|
3828
|
+
/* @__PURE__ */ jsx19(LayoutComposer.Entry, { id: "OrderGeneralSection", children: /* @__PURE__ */ jsx19(OrderGeneralSection, { order }) }),
|
|
3829
|
+
/* @__PURE__ */ jsx19(LayoutComposer.Entry, { id: "OrderSummarySection", children: /* @__PURE__ */ jsx19(OrderSummarySection, { order }) }),
|
|
3830
|
+
/* @__PURE__ */ jsx19(LayoutComposer.Entry, { id: "OrderPaymentSection", children: /* @__PURE__ */ jsx19(OrderPaymentSection, { order }) }),
|
|
3831
|
+
/* @__PURE__ */ jsx19(LayoutComposer.Entry, { id: "OrderFulfillmentSection", children: /* @__PURE__ */ jsx19(OrderFulfillmentSection, { order }) }),
|
|
3832
|
+
detailPageDefaultEntries(order)
|
|
3833
|
+
] }),
|
|
3834
|
+
side: /* @__PURE__ */ jsxs19(Fragment4, { children: [
|
|
3835
|
+
/* @__PURE__ */ jsx19(LayoutComposer.Entry, { id: "OrderCustomerSection", children: /* @__PURE__ */ jsx19(OrderCustomerSection, { order }) }),
|
|
3836
|
+
/* @__PURE__ */ jsx19(LayoutComposer.Entry, { id: "OrderActivitySection", children: /* @__PURE__ */ jsx19(OrderActivitySection, { order }) }),
|
|
3837
|
+
/* @__PURE__ */ jsx19(LayoutComposer.Entry, { id: "OrderRemainingOrdersGroupSection", children: /* @__PURE__ */ jsx19(OrderRemainingOrdersGroupSection, {}) })
|
|
3838
|
+
] })
|
|
3839
|
+
}
|
|
3847
3840
|
}
|
|
3848
3841
|
);
|
|
3849
3842
|
};
|
|
3850
|
-
var OrderDetailPage = Object.assign(Root, {
|
|
3851
|
-
Main: TwoColumnPage.Main,
|
|
3852
|
-
Sidebar: TwoColumnPage.Sidebar,
|
|
3853
|
-
MainActiveEditSection: OrderActiveEditSection,
|
|
3854
|
-
MainActiveClaimSection: ActiveOrderClaimSection,
|
|
3855
|
-
MainActiveExchangeSection: ActiveOrderExchangeSection,
|
|
3856
|
-
MainActiveReturnSection: ActiveOrderReturnSection,
|
|
3857
|
-
MainGeneralSection: OrderGeneralSection,
|
|
3858
|
-
MainSummarySection: OrderSummarySection,
|
|
3859
|
-
MainPaymentSection: OrderPaymentSection,
|
|
3860
|
-
MainFulfillmentSection: OrderFulfillmentSection,
|
|
3861
|
-
SidebarCustomerSection: OrderCustomerSection,
|
|
3862
|
-
SidebarActivitySection: OrderActivitySection,
|
|
3863
|
-
SidebarOrderGroupSection: OrderRemainingOrdersGroupSection
|
|
3864
|
-
});
|
|
3865
3843
|
|
|
3866
3844
|
export {
|
|
3867
3845
|
OrderDetailPage
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
// src/pages/attributes/common/utils.ts
|
|
2
|
+
function getIsInternalProps(isInternal, t) {
|
|
3
|
+
if (isInternal) {
|
|
4
|
+
return { label: t("attributes.fields.visibility.internal"), color: "blue" };
|
|
5
|
+
}
|
|
6
|
+
return { label: t("attributes.fields.visibility.public"), color: "green" };
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export {
|
|
10
|
+
getIsInternalProps
|
|
11
|
+
};
|