@mercurjs/admin 2.4.2-canary.3 → 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-4LMKYJTD.js → chunk-7YO7AMXN.js} +8 -8
- package/dist/{chunk-PJUW7FBR.js → chunk-ALZEKBOB.js} +1 -1
- package/dist/{chunk-IBRBF2DW.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-45T532DP.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-2OA2KZLI.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
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
TaxOverrideTable,
|
|
3
3
|
TaxRateLine,
|
|
4
4
|
useTaxOverrideTable
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-6T3UQY3I.js";
|
|
6
6
|
import {
|
|
7
7
|
TaxRegionCard
|
|
8
8
|
} from "./chunk-PLWBVBQJ.js";
|
|
@@ -10,8 +10,8 @@ import {
|
|
|
10
10
|
useTaxRateTableQuery
|
|
11
11
|
} from "./chunk-MG4GKUJW.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./chunk-
|
|
13
|
+
CORE_LAYOUT_IDS
|
|
14
|
+
} from "./chunk-W27KYAMV.js";
|
|
15
15
|
import {
|
|
16
16
|
useTaxRates
|
|
17
17
|
} from "./chunk-TVJ5Y6U5.js";
|
|
@@ -23,9 +23,11 @@ import {
|
|
|
23
23
|
} from "./chunk-INNFZYX2.js";
|
|
24
24
|
|
|
25
25
|
// src/pages/tax-regions/tax-region-province-detail/tax-region-detail.tsx
|
|
26
|
-
import { Children } from "react";
|
|
27
26
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
28
|
-
import {
|
|
27
|
+
import {
|
|
28
|
+
LayoutComposer,
|
|
29
|
+
detailPageDefaultEntries
|
|
30
|
+
} from "@mercurjs/dashboard-shared";
|
|
29
31
|
|
|
30
32
|
// src/pages/tax-regions/tax-region-province-detail/components/tax-region-province-detail-section/tax-region-detail-section.tsx
|
|
31
33
|
import { Badge, Container, Tooltip } from "@medusajs/ui";
|
|
@@ -105,8 +107,8 @@ var TaxRegionProvinceOverrideSection = ({
|
|
|
105
107
|
};
|
|
106
108
|
|
|
107
109
|
// src/pages/tax-regions/tax-region-province-detail/tax-region-detail.tsx
|
|
108
|
-
import { jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
109
|
-
var
|
|
110
|
+
import { Fragment, jsx as jsx3, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
111
|
+
var TaxRegionProvinceDetailPage = () => {
|
|
110
112
|
const { province_id } = useParams();
|
|
111
113
|
const initialData = useLoaderData();
|
|
112
114
|
const {
|
|
@@ -121,15 +123,22 @@ var Root = ({ children }) => {
|
|
|
121
123
|
if (isError) {
|
|
122
124
|
throw error;
|
|
123
125
|
}
|
|
124
|
-
return
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
126
|
+
return /* @__PURE__ */ jsx3(
|
|
127
|
+
LayoutComposer,
|
|
128
|
+
{
|
|
129
|
+
widgetsZonePrefix: "tax-regions.province.detail",
|
|
130
|
+
preferredLayoutId: CORE_LAYOUT_IDS.SINGLE_COLUMN,
|
|
131
|
+
data: taxRegion,
|
|
132
|
+
sections: {
|
|
133
|
+
main: /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
134
|
+
/* @__PURE__ */ jsx3(LayoutComposer.Entry, { id: "TaxRegionProvinceDetailSection", children: /* @__PURE__ */ jsx3(TaxRegionProvinceDetailSection, { taxRegion }) }),
|
|
135
|
+
/* @__PURE__ */ jsx3(LayoutComposer.Entry, { id: "TaxRegionProvinceOverrideSection", children: /* @__PURE__ */ jsx3(TaxRegionProvinceOverrideSection, { taxRegion }) }),
|
|
136
|
+
detailPageDefaultEntries(taxRegion, { metadata: false })
|
|
137
|
+
] })
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
);
|
|
128
141
|
};
|
|
129
|
-
var TaxRegionProvinceDetailPage = Object.assign(Root, {
|
|
130
|
-
DetailSection: TaxRegionProvinceDetailSection,
|
|
131
|
-
OverrideSection: TaxRegionProvinceOverrideSection
|
|
132
|
-
});
|
|
133
142
|
|
|
134
143
|
export {
|
|
135
144
|
TaxRegionProvinceDetailPage
|
|
@@ -3,16 +3,24 @@ import {
|
|
|
3
3
|
} from "./chunk-SR3DYN52.js";
|
|
4
4
|
import {
|
|
5
5
|
require_dist
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-76QAL55M.js";
|
|
7
7
|
import {
|
|
8
8
|
__toESM
|
|
9
9
|
} from "./chunk-NBMM2TZK.js";
|
|
10
10
|
|
|
11
11
|
// src/components/inputs/attribute-value-input/attribute-value-input.tsx
|
|
12
12
|
var import_types = __toESM(require_dist(), 1);
|
|
13
|
-
import { Input, Select, Textarea } from "@medusajs/ui";
|
|
13
|
+
import { DatePicker, Input, Select, Textarea } from "@medusajs/ui";
|
|
14
14
|
import { useTranslation } from "react-i18next";
|
|
15
15
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
16
|
+
var toIsoDate = (date) => {
|
|
17
|
+
const pad = (n) => String(n).padStart(2, "0");
|
|
18
|
+
return `${date.getFullYear()}-${pad(date.getMonth() + 1)}-${pad(date.getDate())}`;
|
|
19
|
+
};
|
|
20
|
+
var fromIsoDate = (value) => {
|
|
21
|
+
const [y, m, d] = value.split("-").map(Number);
|
|
22
|
+
return y && m && d ? new Date(y, m - 1, d) : null;
|
|
23
|
+
};
|
|
16
24
|
var AttributeValueInput = ({
|
|
17
25
|
type,
|
|
18
26
|
value,
|
|
@@ -73,6 +81,16 @@ var AttributeValueInput = ({
|
|
|
73
81
|
]
|
|
74
82
|
}
|
|
75
83
|
);
|
|
84
|
+
case import_types.AttributeType.DATE: {
|
|
85
|
+
const raw = typeof value === "string" ? value : value?.[0] ?? "";
|
|
86
|
+
return /* @__PURE__ */ jsx(
|
|
87
|
+
DatePicker,
|
|
88
|
+
{
|
|
89
|
+
value: raw ? fromIsoDate(raw) : null,
|
|
90
|
+
onChange: (date) => onChange(date ? toIsoDate(date) : "")
|
|
91
|
+
}
|
|
92
|
+
);
|
|
93
|
+
}
|
|
76
94
|
case import_types.AttributeType.TEXT:
|
|
77
95
|
return /* @__PURE__ */ jsx(
|
|
78
96
|
Textarea,
|
|
@@ -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";
|
|
@@ -13,9 +13,11 @@ import {
|
|
|
13
13
|
} from "./chunk-INNFZYX2.js";
|
|
14
14
|
|
|
15
15
|
// src/pages/users/user-detail/user-detail.tsx
|
|
16
|
-
import { Children } from "react";
|
|
17
16
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
18
|
-
import {
|
|
17
|
+
import {
|
|
18
|
+
LayoutComposer,
|
|
19
|
+
detailPageDefaultEntries
|
|
20
|
+
} from "@mercurjs/dashboard-shared";
|
|
19
21
|
|
|
20
22
|
// src/pages/users/user-detail/components/user-general-section/user-general-section.tsx
|
|
21
23
|
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
@@ -93,8 +95,8 @@ var UserGeneralSection = ({ user }) => {
|
|
|
93
95
|
};
|
|
94
96
|
|
|
95
97
|
// src/pages/users/user-detail/user-detail.tsx
|
|
96
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
97
|
-
var
|
|
98
|
+
import { Fragment, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
99
|
+
var UserDetailPage = () => {
|
|
98
100
|
const initialData = useLoaderData();
|
|
99
101
|
const { id } = useParams();
|
|
100
102
|
const {
|
|
@@ -111,11 +113,21 @@ var Root = ({ children }) => {
|
|
|
111
113
|
if (isError) {
|
|
112
114
|
throw error;
|
|
113
115
|
}
|
|
114
|
-
return
|
|
116
|
+
return /* @__PURE__ */ jsx2(
|
|
117
|
+
LayoutComposer,
|
|
118
|
+
{
|
|
119
|
+
widgetsZonePrefix: "users.detail",
|
|
120
|
+
preferredLayoutId: CORE_LAYOUT_IDS.SINGLE_COLUMN,
|
|
121
|
+
data: user,
|
|
122
|
+
sections: {
|
|
123
|
+
main: /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
124
|
+
/* @__PURE__ */ jsx2(LayoutComposer.Entry, { id: "UserGeneralSection", children: /* @__PURE__ */ jsx2(UserGeneralSection, { user }) }),
|
|
125
|
+
detailPageDefaultEntries(user)
|
|
126
|
+
] })
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
);
|
|
115
130
|
};
|
|
116
|
-
var UserDetailPage = Object.assign(Root, {
|
|
117
|
-
GeneralSection: UserGeneralSection
|
|
118
|
-
});
|
|
119
131
|
|
|
120
132
|
export {
|
|
121
133
|
UserDetailPage
|
|
@@ -8,10 +8,28 @@ var useAttributeTableQuery = ({
|
|
|
8
8
|
pageSize = 20
|
|
9
9
|
}) => {
|
|
10
10
|
const queryObject = useQueryParams(
|
|
11
|
-
[
|
|
11
|
+
[
|
|
12
|
+
"offset",
|
|
13
|
+
"q",
|
|
14
|
+
"order",
|
|
15
|
+
"created_at",
|
|
16
|
+
"updated_at",
|
|
17
|
+
"is_filterable",
|
|
18
|
+
"is_internal",
|
|
19
|
+
"scope"
|
|
20
|
+
],
|
|
12
21
|
prefix
|
|
13
22
|
);
|
|
14
|
-
const {
|
|
23
|
+
const {
|
|
24
|
+
offset,
|
|
25
|
+
q,
|
|
26
|
+
order,
|
|
27
|
+
created_at,
|
|
28
|
+
updated_at,
|
|
29
|
+
is_filterable,
|
|
30
|
+
is_internal,
|
|
31
|
+
scope
|
|
32
|
+
} = queryObject;
|
|
15
33
|
const searchParams = {
|
|
16
34
|
limit: pageSize,
|
|
17
35
|
offset: offset ? Number(offset) : 0,
|
|
@@ -19,6 +37,8 @@ var useAttributeTableQuery = ({
|
|
|
19
37
|
created_at: created_at ? JSON.parse(created_at) : void 0,
|
|
20
38
|
updated_at: updated_at ? JSON.parse(updated_at) : void 0,
|
|
21
39
|
is_filterable: is_filterable !== void 0 ? is_filterable === "true" : void 0,
|
|
40
|
+
is_internal: is_internal !== void 0 ? is_internal === "true" : void 0,
|
|
41
|
+
scope,
|
|
22
42
|
q
|
|
23
43
|
};
|
|
24
44
|
return {
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
} from "./chunk-4F5GP7J7.js";
|
|
9
9
|
import {
|
|
10
10
|
useSellersTableColumns
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-H6YIN6D7.js";
|
|
12
12
|
import {
|
|
13
13
|
useSellersTableQuery
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-FU47OX4X.js";
|
|
15
15
|
import {
|
|
16
16
|
formatProvider
|
|
17
17
|
} from "./chunk-VW56KWO2.js";
|
|
@@ -19,8 +19,8 @@ import {
|
|
|
19
19
|
SectionRow
|
|
20
20
|
} from "./chunk-3XPXUIK3.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";
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
useRegion,
|
|
35
35
|
useSellers,
|
|
36
36
|
useUpdateRegion
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-4PVK5DOS.js";
|
|
38
38
|
import {
|
|
39
39
|
usePricePreferences
|
|
40
40
|
} from "./chunk-J6FNB3IE.js";
|
|
@@ -46,7 +46,6 @@ import {
|
|
|
46
46
|
} from "./chunk-INNFZYX2.js";
|
|
47
47
|
|
|
48
48
|
// src/pages/regions/region-detail/region-detail.tsx
|
|
49
|
-
import { Children } from "react";
|
|
50
49
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
51
50
|
|
|
52
51
|
// src/pages/regions/region-detail/components/region-country-section/region-country-section.tsx
|
|
@@ -635,14 +634,19 @@ var useColumns2 = () => {
|
|
|
635
634
|
};
|
|
636
635
|
|
|
637
636
|
// src/pages/regions/region-detail/region-detail.tsx
|
|
638
|
-
import {
|
|
637
|
+
import {
|
|
638
|
+
LayoutComposer,
|
|
639
|
+
detailPageDefaultEntries,
|
|
640
|
+
isForbidden,
|
|
641
|
+
useCan
|
|
642
|
+
} from "@mercurjs/dashboard-shared";
|
|
639
643
|
|
|
640
644
|
// src/pages/regions/region-detail/constants.ts
|
|
641
645
|
var REGION_DETAIL_FIELDS = "*payment_providers,*countries,+automatic_taxes";
|
|
642
646
|
|
|
643
647
|
// src/pages/regions/region-detail/region-detail.tsx
|
|
644
|
-
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
645
|
-
var
|
|
648
|
+
import { Fragment, jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
649
|
+
var RegionDetailPage = () => {
|
|
646
650
|
const initialData = useLoaderData();
|
|
647
651
|
const { id } = useParams();
|
|
648
652
|
const canViewPreferences = useCan("price_preferences");
|
|
@@ -680,23 +684,29 @@ var Root = ({ children }) => {
|
|
|
680
684
|
if (isPreferencesError && !preferencesForbidden) {
|
|
681
685
|
throw preferencesError;
|
|
682
686
|
}
|
|
683
|
-
return
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
687
|
+
return /* @__PURE__ */ jsx4(
|
|
688
|
+
LayoutComposer,
|
|
689
|
+
{
|
|
690
|
+
widgetsZonePrefix: "regions.detail",
|
|
691
|
+
preferredLayoutId: CORE_LAYOUT_IDS.SINGLE_COLUMN,
|
|
692
|
+
data: region,
|
|
693
|
+
sections: {
|
|
694
|
+
main: /* @__PURE__ */ jsxs4(Fragment, { children: [
|
|
695
|
+
/* @__PURE__ */ jsx4(LayoutComposer.Entry, { id: "RegionGeneralSection", children: /* @__PURE__ */ jsx4(
|
|
696
|
+
RegionGeneralSection,
|
|
697
|
+
{
|
|
698
|
+
region,
|
|
699
|
+
pricePreferences: preferencesForbidden ? void 0 : pricePreferences ?? []
|
|
700
|
+
}
|
|
701
|
+
) }),
|
|
702
|
+
/* @__PURE__ */ jsx4(LayoutComposer.Entry, { id: "RegionCountrySection", children: /* @__PURE__ */ jsx4(RegionCountrySection, { region }) }),
|
|
703
|
+
/* @__PURE__ */ jsx4(LayoutComposer.Entry, { id: "RegionSellerSection", children: /* @__PURE__ */ jsx4(RegionSellerSection, { region }) }),
|
|
704
|
+
detailPageDefaultEntries(region)
|
|
705
|
+
] })
|
|
689
706
|
}
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
/* @__PURE__ */ jsx4(RegionSellerSection, { region })
|
|
693
|
-
] }) });
|
|
707
|
+
}
|
|
708
|
+
);
|
|
694
709
|
};
|
|
695
|
-
var RegionDetailPage = Object.assign(Root, {
|
|
696
|
-
GeneralSection: RegionGeneralSection,
|
|
697
|
-
CountrySection: RegionCountrySection,
|
|
698
|
-
SellerSection: RegionSellerSection
|
|
699
|
-
});
|
|
700
710
|
|
|
701
711
|
export {
|
|
702
712
|
REGION_DETAIL_FIELDS,
|
|
@@ -2,8 +2,8 @@ import {
|
|
|
2
2
|
useDeleteShippingOptionTypeAction
|
|
3
3
|
} from "./chunk-M24NHTQL.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./chunk-
|
|
5
|
+
CORE_LAYOUT_IDS
|
|
6
|
+
} from "./chunk-W27KYAMV.js";
|
|
7
7
|
import {
|
|
8
8
|
ActionMenu
|
|
9
9
|
} from "./chunk-3UOYBH5O.js";
|
|
@@ -15,9 +15,11 @@ import {
|
|
|
15
15
|
} from "./chunk-INNFZYX2.js";
|
|
16
16
|
|
|
17
17
|
// src/pages/shipping-option-types/shipping-option-type-detail/shipping-option-type-detail.tsx
|
|
18
|
-
import { Children } from "react";
|
|
19
18
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
20
|
-
import {
|
|
19
|
+
import {
|
|
20
|
+
LayoutComposer,
|
|
21
|
+
detailPageDefaultEntries
|
|
22
|
+
} from "@mercurjs/dashboard-shared";
|
|
21
23
|
|
|
22
24
|
// src/pages/shipping-option-types/shipping-option-type-detail/components/shipping-option-type-general-section/shipping-option-type-general-section.tsx
|
|
23
25
|
import { PencilSquare, Trash } from "@medusajs/icons";
|
|
@@ -76,8 +78,8 @@ var ShippingOptionTypeGeneralSection = ({
|
|
|
76
78
|
};
|
|
77
79
|
|
|
78
80
|
// src/pages/shipping-option-types/shipping-option-type-detail/shipping-option-type-detail.tsx
|
|
79
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
80
|
-
var
|
|
81
|
+
import { Fragment, jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
82
|
+
var ShippingOptionTypeDetailPage = () => {
|
|
81
83
|
const { id } = useParams();
|
|
82
84
|
const initialData = useLoaderData();
|
|
83
85
|
const { shipping_option_type, isPending, isError, error } = useShippingOptionType(id, void 0, {
|
|
@@ -89,16 +91,26 @@ var Root = ({ children }) => {
|
|
|
89
91
|
if (isError) {
|
|
90
92
|
throw error;
|
|
91
93
|
}
|
|
92
|
-
return
|
|
93
|
-
|
|
94
|
+
return /* @__PURE__ */ jsx2(
|
|
95
|
+
LayoutComposer,
|
|
94
96
|
{
|
|
95
|
-
|
|
97
|
+
widgetsZonePrefix: "shipping-option-types.detail",
|
|
98
|
+
preferredLayoutId: CORE_LAYOUT_IDS.SINGLE_COLUMN,
|
|
99
|
+
data: shipping_option_type,
|
|
100
|
+
sections: {
|
|
101
|
+
main: /* @__PURE__ */ jsxs2(Fragment, { children: [
|
|
102
|
+
/* @__PURE__ */ jsx2(LayoutComposer.Entry, { id: "ShippingOptionTypeGeneralSection", children: /* @__PURE__ */ jsx2(
|
|
103
|
+
ShippingOptionTypeGeneralSection,
|
|
104
|
+
{
|
|
105
|
+
shippingOptionType: shipping_option_type
|
|
106
|
+
}
|
|
107
|
+
) }),
|
|
108
|
+
detailPageDefaultEntries(shipping_option_type)
|
|
109
|
+
] })
|
|
110
|
+
}
|
|
96
111
|
}
|
|
97
|
-
)
|
|
112
|
+
);
|
|
98
113
|
};
|
|
99
|
-
var ShippingOptionTypeDetailPage = Object.assign(Root, {
|
|
100
|
-
GeneralSection: ShippingOptionTypeGeneralSection
|
|
101
|
-
});
|
|
102
114
|
|
|
103
115
|
export {
|
|
104
116
|
ShippingOptionTypeDetailPage
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
ProductStatusCell,
|
|
10
10
|
ProductStatusHeader
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UCJXRN3O.js";
|
|
12
12
|
import {
|
|
13
13
|
ProductCell,
|
|
14
14
|
ProductHeader
|
|
@@ -27,19 +27,19 @@ import {
|
|
|
27
27
|
} from "./chunk-TOAE7XZ7.js";
|
|
28
28
|
import {
|
|
29
29
|
useCollections
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-AX4GTBO5.js";
|
|
31
31
|
import {
|
|
32
32
|
useProductCategories
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-XDM2SRR4.js";
|
|
34
34
|
import {
|
|
35
35
|
useQueryParams
|
|
36
36
|
} from "./chunk-THHRRYRS.js";
|
|
37
37
|
import {
|
|
38
38
|
useSellers
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-4PVK5DOS.js";
|
|
40
40
|
import {
|
|
41
41
|
require_dist
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-76QAL55M.js";
|
|
43
43
|
import {
|
|
44
44
|
__toESM
|
|
45
45
|
} from "./chunk-NBMM2TZK.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
AttributeValueInput
|
|
3
|
-
} from "./chunk-VCCCWNJ2.js";
|
|
4
1
|
import {
|
|
5
2
|
PRODUCT_DETAIL_QUERY
|
|
6
3
|
} from "./chunk-6BAPAIQM.js";
|
|
4
|
+
import {
|
|
5
|
+
AttributeValueInput
|
|
6
|
+
} from "./chunk-QFG6TS6Z.js";
|
|
7
7
|
import {
|
|
8
8
|
TabbedForm,
|
|
9
9
|
defineTabMeta,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
} from "./chunk-FREUYHMS.js";
|
|
12
12
|
import {
|
|
13
13
|
require_dist
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-76QAL55M.js";
|
|
15
15
|
import {
|
|
16
16
|
RouteFocusModal,
|
|
17
17
|
useRouteModal
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
useCreateProductVariant,
|
|
24
24
|
useProduct
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-VSTQAHPX.js";
|
|
26
26
|
import {
|
|
27
27
|
__toESM
|
|
28
28
|
} from "./chunk-NBMM2TZK.js";
|
|
@@ -13486,6 +13486,14 @@ var en_default = {
|
|
|
13486
13486
|
updateLevel: "Inventory level updated successfully.",
|
|
13487
13487
|
itemsManageSuccess: "Inventory items successfully updated."
|
|
13488
13488
|
}
|
|
13489
|
+
},
|
|
13490
|
+
attributes: {
|
|
13491
|
+
header: "Variant attributes",
|
|
13492
|
+
description: "Attributes that describe this variant only",
|
|
13493
|
+
editHint: "Update the value of this attribute on the variant.",
|
|
13494
|
+
addSuccessToast: "Variant attributes added successfully.",
|
|
13495
|
+
updateSuccessToast: "Variant attribute updated successfully.",
|
|
13496
|
+
deleteSuccessToast: "Variant attribute removed successfully."
|
|
13489
13497
|
}
|
|
13490
13498
|
},
|
|
13491
13499
|
options: {
|
|
@@ -16203,6 +16211,7 @@ var en_default = {
|
|
|
16203
16211
|
details: "Details",
|
|
16204
16212
|
type: "Type"
|
|
16205
16213
|
},
|
|
16214
|
+
typeDescription: "Choose how values for this attribute are entered and validated.",
|
|
16206
16215
|
titleRequired: "Please enter a title",
|
|
16207
16216
|
possibleValuesRequired: "Please add at least one value",
|
|
16208
16217
|
categoriesRequired: "Please select at least one category",
|
|
@@ -16263,17 +16272,33 @@ var en_default = {
|
|
|
16263
16272
|
isRequiredHint: "If checked, a value must be set to this attribute.",
|
|
16264
16273
|
isFilterable: "Filterable attribute",
|
|
16265
16274
|
isFilterableHint: "If checked, customers will be able to filter products using this attribute.",
|
|
16275
|
+
isInternal: "Internal attribute",
|
|
16276
|
+
isInternalHint: "If checked, only admins can see and set this attribute. Vendors and the storefront never see it.",
|
|
16277
|
+
visibility: {
|
|
16278
|
+
label: "Visibility",
|
|
16279
|
+
internal: "Internal",
|
|
16280
|
+
public: "Public"
|
|
16281
|
+
},
|
|
16266
16282
|
isGlobal: "Global attribute",
|
|
16267
16283
|
isGlobalHint: "If checked, this attribute applies to all products across all categories.",
|
|
16268
16284
|
isVariantAxis: "Use for variants",
|
|
16269
|
-
isVariantAxisHint: "If checked, this attribute will define product variants (e.g. size, color)."
|
|
16285
|
+
isVariantAxisHint: "If checked, this attribute will define product variants (e.g. size, color).",
|
|
16286
|
+
typePlaceholder: "Select a type",
|
|
16287
|
+
pattern: "Validation pattern",
|
|
16288
|
+
patternHint: "A regular expression the whole value must match, e.g. ^\\d{4}-Q[1-4]$ for 2026-Q4.",
|
|
16289
|
+
patternMessage: "Validation message",
|
|
16290
|
+
patternMessageHint: "Shown when a value does not match the pattern.",
|
|
16291
|
+
invalidPattern: "This is not a valid regular expression.",
|
|
16292
|
+
scope: "Level",
|
|
16293
|
+
scopeHint: "Product-level attributes describe the whole product. Variant-level attributes hold one value per variant."
|
|
16270
16294
|
},
|
|
16271
16295
|
type: {
|
|
16272
16296
|
select: "Single Select",
|
|
16273
16297
|
multivalue: "Multi Select",
|
|
16274
16298
|
unit: "Unit",
|
|
16275
16299
|
toggle: "Toggle",
|
|
16276
|
-
text_area: "Text Area"
|
|
16300
|
+
text_area: "Text Area",
|
|
16301
|
+
date: "Date"
|
|
16277
16302
|
},
|
|
16278
16303
|
selectCategory: {
|
|
16279
16304
|
title: "Select category",
|
|
@@ -16283,6 +16308,14 @@ var en_default = {
|
|
|
16283
16308
|
hints: {
|
|
16284
16309
|
global: "When enabled, this attribute applies to all products regardless of category.",
|
|
16285
16310
|
categoryInheritance: "Child categories will inherit this attribute."
|
|
16311
|
+
},
|
|
16312
|
+
scope: {
|
|
16313
|
+
product: "Product",
|
|
16314
|
+
variant: "Variant"
|
|
16315
|
+
},
|
|
16316
|
+
scopeDescription: {
|
|
16317
|
+
product: "One value for the whole product. Variant axes always live here.",
|
|
16318
|
+
variant: "A separate value on each variant, like battery capacity or finish."
|
|
16286
16319
|
}
|
|
16287
16320
|
},
|
|
16288
16321
|
reviews: {
|
|
@@ -16831,8 +16864,7 @@ var en_default = {
|
|
|
16831
16864
|
variant_attributes: "Variant attributes",
|
|
16832
16865
|
product_attributes: "Product attributes",
|
|
16833
16866
|
type_id: "Type",
|
|
16834
|
-
collection_id: "Collection"
|
|
16835
|
-
offer: "Offer"
|
|
16867
|
+
collection_id: "Collection"
|
|
16836
16868
|
},
|
|
16837
16869
|
dateTime: {
|
|
16838
16870
|
years_one: "Year",
|