@mercurjs/vendor 2.2.0-canary.8 → 2.2.0-rc.0
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/{[id]-GMJAPZPU.js → [id]-3LNKC5OJ.js} +41 -40
- package/dist/[id]-4HO4S2PX.js +3074 -0
- package/dist/{[id]-QWL6SUOB.js → [id]-4LIIFGET.js} +14 -14
- package/dist/{[id]-5ADOHZ45.js → [id]-5EECCIRP.js} +151 -58
- package/dist/{[id]-K2CT7BXQ.js → [id]-5P5LTATX.js} +3 -3
- package/dist/{[id]-T7USGHIY.js → [id]-AQUUZFRX.js} +11 -11
- package/dist/{[id]-BTGQJ3UD.js → [id]-CUBGVODE.js} +177 -85
- package/dist/{[id]-ZAQYATGN.js → [id]-DCGPICT3.js} +39 -38
- package/dist/{[id]-IWCWVNVI.js → [id]-DT5YJVKG.js} +32 -32
- package/dist/{[id]-L6FD7BRE.js → [id]-IEBZ6V3W.js} +51 -48
- package/dist/{[id]-ZCMSBEVM.js → [id]-N7JEZFXQ.js} +6 -6
- package/dist/[id]-U6FKX5UQ.js +975 -0
- package/dist/{[id]-BPAZLOLW.js → [id]-XB45DY2D.js} +19 -19
- package/dist/[id]-XP5KEMNX.js +602 -0
- package/dist/{[location_id]-NUBXDDJC.js → [location_id]-I4HHUHWY.js} +14 -14
- package/dist/{[province_id]-5KZGMQER.js → [province_id]-OYX4MOCF.js} +31 -31
- package/dist/{add-KMHJ6OC6.js → add-3T4GBFMM.js} +63 -57
- package/dist/{add-Y6GMGLYX.js → add-RPRJWCYU.js} +99 -34
- package/dist/{add-customer-groups-NXSWICFI.js → add-customer-groups-FB5T6PQN.js} +44 -42
- package/dist/{add-products-LXYF57BK.js → add-products-F243SWGD.js} +40 -40
- package/dist/{add-promotions-VTYAEDCN.js → add-promotions-TJDK7HLW.js} +18 -18
- package/dist/{add-to-campaign-DLP7PSQB.js → add-to-campaign-Q6OAJMUJ.js} +6 -6
- package/dist/{address-JFXH3M7D.js → address-XVBSNMFU.js} +24 -24
- package/dist/{adjust-inventory-V2V7NWWH.js → adjust-inventory-IZLRMQXV.js} +4 -4
- package/dist/allocate-items-Q3VALDYT.js +685 -0
- package/dist/{areas-FB63OQAI.js → areas-IYGBRCRH.js} +14 -14
- package/dist/attributes-LGEM2JJW.js +353 -0
- package/dist/breadcrumb-BC6XN2SE.js +13 -0
- package/dist/{breadcrumb-THJ2HPRB.js → breadcrumb-BFNJWOJ4.js} +10 -9
- package/dist/{breadcrumb-S4V7MJUM.js → breadcrumb-BXD3SRM7.js} +3 -3
- package/dist/{breadcrumb-HV67K43U.js → breadcrumb-FEYGZFJU.js} +4 -4
- package/dist/{breadcrumb-EG3ANCVO.js → breadcrumb-H45Z2WNG.js} +3 -3
- package/dist/breadcrumb-ILEAQRW7.js +33 -0
- package/dist/breadcrumb-K4HBKZUE.js +28 -0
- package/dist/{breadcrumb-YBBYFQYG.js → breadcrumb-KZPOPXGG.js} +2 -2
- package/dist/{breadcrumb-F3BN5753.js → breadcrumb-L262VPBO.js} +2 -2
- package/dist/{breadcrumb-3Z7KZG62.js → breadcrumb-LEFHXFLT.js} +3 -3
- package/dist/{breadcrumb-D3UDTWGE.js → breadcrumb-MOA2DBOE.js} +2 -2
- package/dist/breadcrumb-NZYOCEEM.js +47 -0
- package/dist/breadcrumb-VY5DNTTJ.js +46 -0
- package/dist/{breadcrumb-UAUX7XCV.js → breadcrumb-WG6TIF4C.js} +2 -2
- package/dist/{breadcrumb-7R6E6G2X.js → breadcrumb-XEZCMI55.js} +2 -2
- package/dist/{breadcrumb-FES7EKUR.js → breadcrumb-XGXKCDYS.js} +4 -4
- package/dist/{breadcrumb-Y5UW3I4C.js → breadcrumb-YOY6Z36F.js} +2 -2
- package/dist/{campaigns-JAQTSA4Z.js → campaigns-DZKRNCA4.js} +9 -9
- package/dist/{categories-6TVMTN62.js → categories-JZJA2IBQ.js} +13 -11
- package/dist/{chunk-SFQKKIHA.js → chunk-27WLUOI2.js} +1 -1
- package/dist/{chunk-U5XDKYZG.js → chunk-2KA4TGBQ.js} +3 -3
- package/dist/{chunk-6RH3VDF7.js → chunk-2NPD4S55.js} +4 -4
- package/dist/{chunk-M6GKMFTC.js → chunk-3ALBZK4M.js} +1 -1
- package/dist/{chunk-PXYDR7WQ.js → chunk-3BXCPHN6.js} +3 -2
- package/dist/{chunk-X4INVIWL.js → chunk-3C2T27YW.js} +3 -3
- package/dist/{chunk-QXLRABYH.js → chunk-3I6ZAMGN.js} +1 -1
- package/dist/{chunk-THMXGEZU.js → chunk-3SH24DGG.js} +2 -2
- package/dist/chunk-3TST3EWQ.js +438 -0
- package/dist/chunk-42R54Z2X.js +8 -0
- package/dist/{chunk-UDJ2I5A2.js → chunk-4IRQSBA7.js} +5 -6
- package/dist/chunk-5ALC4Z2H.js +23 -0
- package/dist/chunk-5BQO3YQP.js +62 -0
- package/dist/{chunk-QGGMG3OU.js → chunk-5BYYDBLS.js} +7 -7
- package/dist/{chunk-4LVP635F.js → chunk-5FBQOAXU.js} +135 -126
- package/dist/{chunk-2BCAQ4BB.js → chunk-5PAUN3PM.js} +3 -3
- package/dist/{chunk-E2HQPY32.js → chunk-5RMLLTR7.js} +5 -5
- package/dist/{chunk-3EF54XFY.js → chunk-634XVU3D.js} +1 -1
- package/dist/{chunk-LJO34DKJ.js → chunk-6FDPVW7Y.js} +35 -21
- package/dist/{chunk-3X3LUKDM.js → chunk-6Q3J6ZMM.js} +5 -5
- package/dist/chunk-7BFQKYCJ.js +127 -0
- package/dist/chunk-7EXKHL5L.js +30 -0
- package/dist/{chunk-M6N4ISXL.js → chunk-7MARNXFG.js} +1 -1
- package/dist/{chunk-WHSE47DM.js → chunk-AOLE7MBM.js} +1 -1
- package/dist/{chunk-YIZK67RW.js → chunk-BQHVM46E.js} +29 -49
- package/dist/chunk-CRYZK4NU.js +185 -0
- package/dist/{chunk-JYPPXAJG.js → chunk-CUAGC54B.js} +33 -35
- package/dist/{chunk-KIFSQOM2.js → chunk-D76WZZSB.js} +5 -5
- package/dist/{chunk-QLBIBLOY.js → chunk-DQ7LZZJX.js} +5 -5
- package/dist/{chunk-UCYSCKZV.js → chunk-DSTHXHJ5.js} +2114 -1699
- package/dist/{chunk-L7QKFC5N.js → chunk-E6W57UP3.js} +32 -122
- package/dist/{chunk-UFFVRF4V.js → chunk-EAAZV3B7.js} +6 -11
- package/dist/chunk-EDV4MTTT.js +434 -0
- package/dist/chunk-EEBJYXWA.js +15 -0
- package/dist/{chunk-UORPTGV2.js → chunk-EPRYM3FA.js} +11 -15
- package/dist/{chunk-YQYRAD5C.js → chunk-FCZJAYMM.js} +1 -1
- package/dist/{chunk-JMRWREVE.js → chunk-FDKFUIYV.js} +23 -36
- package/dist/chunk-FWPGOIFA.js +22 -0
- package/dist/{chunk-B234IELY.js → chunk-G6YNCIVF.js} +24 -41
- package/dist/{chunk-PVZBDWLK.js → chunk-GRH7C3QN.js} +1 -1
- package/dist/chunk-GSH6ZGI6.js +353 -0
- package/dist/{chunk-IQWK723D.js → chunk-GZ4KTAWS.js} +1 -1
- package/dist/{chunk-MJCL3WID.js → chunk-H6LZ77GX.js} +1 -1
- package/dist/{chunk-WLT7K7K7.js → chunk-HDEOZN2Q.js} +21 -24
- package/dist/{chunk-FDR22JMM.js → chunk-HFRHHT36.js} +8 -63
- package/dist/{chunk-GNDFMMC6.js → chunk-IEVN722X.js} +1 -1
- package/dist/{chunk-DARJTN4I.js → chunk-IMJ62GAP.js} +10 -5
- package/dist/{chunk-SGR4DMCW.js → chunk-INYLPVCG.js} +3 -3
- package/dist/{chunk-5T6UWTRU.js → chunk-IV57G2CB.js} +19 -11
- package/dist/chunk-J6XCRFBW.js +30 -0
- package/dist/{chunk-BLRZB63H.js → chunk-JDNXS37G.js} +61 -62
- package/dist/{chunk-3B34B2M2.js → chunk-JJP6AKMV.js} +1 -1
- package/dist/{chunk-XEU5ZLSB.js → chunk-JK4M3ZKY.js} +5 -5
- package/dist/{chunk-VXMOPVRH.js → chunk-JR7AABT5.js} +2 -2
- package/dist/{chunk-PBD36EZJ.js → chunk-JTHDMXZV.js} +5 -5
- package/dist/{chunk-Q75AC3DZ.js → chunk-JY2XON7H.js} +2 -2
- package/dist/{chunk-6OUPJNYO.js → chunk-KCHYLLVG.js} +2 -2
- package/dist/{chunk-YGRTRAWX.js → chunk-KDE4HKH2.js} +1 -0
- package/dist/{chunk-VPKMBJ5B.js → chunk-KG2NUK4J.js} +6 -6
- package/dist/{chunk-VXWN37PT.js → chunk-KIURBTC4.js} +1 -1
- package/dist/{chunk-7LVNAFEI.js → chunk-KTJLJTFO.js} +547 -882
- package/dist/{chunk-FCJ7MLQK.js → chunk-KZQFIPY2.js} +264 -76
- package/dist/chunk-L57USMYC.js +39 -0
- package/dist/{chunk-4KNL46BT.js → chunk-LWFBBTJ3.js} +5 -5
- package/dist/{chunk-RIN4CBRB.js → chunk-LXZXXOJ3.js} +1 -17
- package/dist/chunk-LYYM7H7H.js +59 -0
- package/dist/{chunk-MWQQVKRU.js → chunk-MAVQ636Y.js} +1 -1
- package/dist/{chunk-VDHW6H5F.js → chunk-MAW6ZT3D.js} +4 -4
- package/dist/{chunk-7CMRFP5Q.js → chunk-MJP5V3JN.js} +3 -3
- package/dist/{chunk-S7EKBD2C.js → chunk-MNHP6YRC.js} +3 -3
- package/dist/{chunk-QZJIDKQR.js → chunk-MT6WOKIW.js} +4 -4
- package/dist/chunk-MUGQQY6P.js +315 -0
- package/dist/{chunk-QT7YFHCA.js → chunk-MVEHWM7K.js} +13 -1
- package/dist/{chunk-VV6IKGCN.js → chunk-NTJ3BMOE.js} +1 -1
- package/dist/{chunk-JXQJQYGD.js → chunk-O7BGGWW6.js} +2 -2
- package/dist/{chunk-LWJF63JW.js → chunk-OYUJYPDF.js} +90 -15
- package/dist/{chunk-4S6XGIC6.js → chunk-PUAWN7SS.js} +1 -1
- package/dist/{chunk-U6PBLMXD.js → chunk-Q6SPIHFR.js} +8 -3
- package/dist/{chunk-F4OJN2F2.js → chunk-QIF4QE7T.js} +1 -1
- package/dist/{chunk-X22KTLZ7.js → chunk-QWJTJSIT.js} +1 -1
- package/dist/{chunk-2USXZSTK.js → chunk-QWW6RHZC.js} +5 -5
- package/dist/{chunk-TODJFRLH.js → chunk-RILHLBKW.js} +3 -3
- package/dist/{chunk-PP754CO7.js → chunk-RPU4UOQK.js} +1 -1
- package/dist/{chunk-AVOZ7TX2.js → chunk-RTMMO6IU.js} +6 -6
- package/dist/chunk-S7NGDLZ3.js +173 -0
- package/dist/{chunk-U2ZFCAPX.js → chunk-SITRHMZZ.js} +11 -8
- package/dist/chunk-SPFLYPY6.js +6 -0
- package/dist/{chunk-EIUYXS7E.js → chunk-TJKZ5QCJ.js} +4 -4
- package/dist/{chunk-WCSQDWMS.js → chunk-TPGIMZLI.js} +1 -1
- package/dist/chunk-UM7ZR3VU.js +14 -0
- package/dist/{chunk-PGW3VYK4.js → chunk-UNE4VD5U.js} +3 -3
- package/dist/chunk-UX5UYDCY.js +33 -0
- package/dist/{chunk-IXAQNTE7.js → chunk-V5K6HISS.js} +2 -2
- package/dist/chunk-VCUUITW6.js +35 -0
- package/dist/{chunk-T5MJWWDX.js → chunk-VD27SL7H.js} +5 -5
- package/dist/{chunk-LRARA622.js → chunk-VE6GRIIN.js} +2 -2
- package/dist/{chunk-SSUUT5LK.js → chunk-W3UHAQCV.js} +5 -4
- package/dist/{chunk-U5G3AVED.js → chunk-WBCWER26.js} +1 -1
- package/dist/{chunk-PXI47JL5.js → chunk-WCXFUBEF.js} +13 -13
- package/dist/{chunk-AVOIZO63.js → chunk-WFE6CT6M.js} +77 -21
- package/dist/{chunk-E2L5EX5A.js → chunk-WFHGJGCW.js} +7 -6
- package/dist/{chunk-LQD232FW.js → chunk-WJ5EU3KW.js} +1 -1
- package/dist/{chunk-6YA3C4NB.js → chunk-XBKWFLJG.js} +4 -13
- package/dist/chunk-XQUF3WIS.js +159 -0
- package/dist/{chunk-SS46VQJA.js → chunk-Y4PM3IDZ.js} +1 -1
- package/dist/chunk-YBF45CX5.js +23 -0
- package/dist/{chunk-JQV7CXEC.js → chunk-YNGA3GRX.js} +17 -2
- package/dist/chunk-ZHFFTT3I.js +17 -0
- package/dist/{chunk-BOZJOOGW.js → chunk-ZLHCZ5F2.js} +1 -1
- package/dist/{chunk-LHKHQAAY.js → chunk-ZLYGEART.js} +1 -1
- package/dist/{chunk-NBPMNUKZ.js → chunk-ZQCCVCHB.js} +1 -1
- package/dist/{chunk-ADGVQVHP.js → chunk-ZTOYVPGA.js} +3 -3
- package/dist/collections-XIHCTMSJ.js +70 -0
- package/dist/{configuration-C4IGBNXH.js → configuration-3GCBMM27.js} +3 -3
- package/dist/{configuration-JI22M76Z.js → configuration-FWZTMYXY.js} +5 -5
- package/dist/{create-OXR7WG5F.js → create-2RGNAVVY.js} +32 -32
- package/dist/{create-5QLYFVEK.js → create-32MXB6FD.js} +24 -24
- package/dist/create-3AMFYYI6.js +245 -0
- package/dist/create-AMNH3WXL.js +75 -0
- package/dist/{create-UPYB65PD.js → create-BV3QDTK2.js} +4 -4
- package/dist/{create-POK6SJSZ.js → create-FHIFVCSG.js} +52 -49
- package/dist/{create-EATFT5AB.js → create-GO7APBBU.js} +31 -31
- package/dist/create-HEZYB7RF.js +1179 -0
- package/dist/{create-R7K3ECN6.js → create-K26SM34L.js} +3 -3
- package/dist/{create-6I43IPLO.js → create-N534JQPH.js} +14 -14
- package/dist/create-NEK6JCKR.js +1798 -0
- package/dist/{create-YBF4YGWG.js → create-NF2LPVXA.js} +3 -3
- package/dist/{create-F7IDSSTP.js → create-PJVLJ7T6.js} +50 -45
- package/dist/{create-CK4X357V.js → create-RPBHXU32.js} +28 -28
- package/dist/{create-SFU3W3ZH.js → create-U64NEOEL.js} +3 -3
- package/dist/create-VL7LDTVE.js +1931 -0
- package/dist/{create-XVHOCZHJ.js → create-X5SOAPD3.js} +3 -3
- package/dist/{create-2XZLOG5Z.js → create-XLYGW5PN.js} +69 -41
- package/dist/{create-GB3ZA4LH.js → create-YKYLCEAK.js} +6 -6
- package/dist/customer-group-add-customers-2C53NFBJ.js +251 -0
- package/dist/customer-group-create-75QQEQZF.js +147 -0
- package/dist/customer-group-detail-AOQYYAOG.js +58 -0
- package/dist/customer-group-edit-N77RCW6I.js +138 -0
- package/dist/customer-groups-GNFV7VMT.js +284 -0
- package/dist/{customers-SOLJ2KQQ.js → customers-HNINO6YL.js} +11 -11
- package/dist/{edit-TZ4EXLKJ.js → edit-3DUCWSLA.js} +62 -46
- package/dist/{edit-ORXS3A2Y.js → edit-3V34KJS2.js} +3 -3
- package/dist/{edit-RJ3EZ5CD.js → edit-4PWAJ7A3.js} +25 -25
- package/dist/{edit-ZQP4MNJU.js → edit-7CLOJ3UZ.js} +50 -47
- package/dist/{edit-ZAHCMF5U.js → edit-7SBPHN6P.js} +3 -3
- package/dist/edit-BSD6667Q.js +367 -0
- package/dist/{edit-Q3UQIOLS.js → edit-I2RJUPWV.js} +4 -4
- package/dist/{edit-UUP3BQV3.js → edit-IJ6DCBUU.js} +5 -5
- package/dist/{edit-ZMERG3L7.js → edit-JB7KVBOL.js} +5 -5
- package/dist/{edit-O4JLGKQR.js → edit-NHQJLCAK.js} +4 -4
- package/dist/edit-O65JD54W.js +103 -0
- package/dist/{edit-4OEBCCXJ.js → edit-SIKOSSHF.js} +24 -24
- package/dist/edit-TD7QFM4Z.js +871 -0
- package/dist/{edit-C4OCKQVU.js → edit-UNN3QTEJ.js} +3 -3
- package/dist/{edit-PFAJZUWI.js → edit-WEUFBORT.js} +33 -34
- package/dist/{edit-KAKVPHZZ.js → edit-WN2Q3TOX.js} +4 -4
- package/dist/{edit-QPPMI7MU.js → edit-ZGAOUZYP.js} +33 -34
- package/dist/{edit-522DG3BY.js → edit-ZOLSAIKF.js} +3 -3
- package/dist/{edit-2LGAEKH6.js → edit-ZORE6RUD.js} +25 -25
- package/dist/{edit-budget-L3CCEWNF.js → edit-budget-D22WMVYR.js} +3 -3
- package/dist/{edit-inventory-item-A7KAPATR.js → edit-inventory-item-QMYWEBZ3.js} +3 -3
- package/dist/{edit-inventory-item-attributes-RNBOJR66.js → edit-inventory-item-attributes-HLG6JR6S.js} +3 -3
- package/dist/edit-price-F7ZWM3FN.js +197 -0
- package/dist/edit-stock-ITAZNHPU.js +230 -0
- package/dist/fulfillment-U2GRQ6DD.js +641 -0
- package/dist/{fulfillment-providers-6WDXCGAI.js → fulfillment-providers-CMU2JB5X.js} +40 -40
- package/dist/index.css +120 -24
- package/dist/index.js +355 -235
- package/dist/{offer-inventory-batch-page-4QNXDUWN.js → inventory-4JKLAZ2Q.js} +20 -20
- package/dist/{inventory-IOVM7GDU.js → inventory-FKEXULLT.js} +10 -10
- package/dist/{invite-HRKSQI4B.js → invite-3R2CEWLN.js} +23 -23
- package/dist/{invite-UBH7PYSH.js → invite-MNAX6EUC.js} +39 -39
- package/dist/loader-HTPUNIOS.js +34 -0
- package/dist/loader-MAAMUP2Z.js +33 -0
- package/dist/{locations-INS6FTMJ.js → locations-2VWSMWHL.js} +3 -3
- package/dist/login-YUWOWICV.js +39 -0
- package/dist/{manage-locations-TIYOCOZU.js → manage-locations-RWGDXXJQ.js} +3 -3
- package/dist/{media-EXWUWWNB.js → media-P6WSFHY4.js} +31 -30
- package/dist/media-YB4G5CMV.js +316 -0
- package/dist/{metadata-JIMHXPKE.js → metadata-5Q6FLVX4.js} +27 -27
- package/dist/{metadata-T6MLCEZ2.js → metadata-6OYHLPLA.js} +25 -25
- package/dist/{metadata-JCNPERR3.js → metadata-ADXGD4Y6.js} +25 -25
- package/dist/{metadata-ITS3VPE3.js → metadata-J447GEBP.js} +27 -27
- package/dist/{metadata-YOQEXEGO.js → metadata-VTQ2CGZX.js} +27 -27
- package/dist/{offer-create-page-6YTTQAXZ.js → offer-create-page-ACPKTNHA.js} +245 -266
- package/dist/offer-detail-page-S4R4N5GL.js +584 -0
- package/dist/offer-variant-detail-page-XUMDXZUD.js +402 -0
- package/dist/offers-OTZJBW43.js +54 -0
- package/dist/{onboarding-GCRT6P6M.js → onboarding-TUGXFOA6.js} +23 -23
- package/dist/orders-PJSJNGZS.js +63 -0
- package/dist/{organization-5AFVFFZQ.js → organization-YIOAVFHN.js} +26 -26
- package/dist/{organize-QXDKGP2X.js → organize-BTA7NJD2.js} +4 -4
- package/dist/{organize-AZYAANZM.js → organize-OWT5QSJR.js} +4 -4
- package/dist/pages/index.d.ts +232 -232
- package/dist/pages/index.js +89 -87
- package/dist/{payment-details-ENUWDVGI.js → payment-details-K2XFATEL.js} +24 -24
- package/dist/{payouts-2QBQSNDR.js → payouts-K5IDTJV3.js} +11 -11
- package/dist/{price-lists-2WBNENE7.js → price-lists-DNPIPDAW.js} +13 -13
- package/dist/{offer-pricing-edit-page-WZNP3TWV.js → pricing-5VUPPNKS.js} +21 -19
- package/dist/{pricing-4Y73YJHP.js → pricing-J5FIDZIY.js} +32 -32
- package/dist/{product-tags-DE32PERU.js → product-tags-SJYIGXEV.js} +47 -44
- package/dist/{product-types-PKUEL7X5.js → product-types-4PTJW5DE.js} +10 -10
- package/dist/product-variant-detail-FO6J3RFA.js +371 -0
- package/dist/{product-variant-edit-ESLPI5ES.js → product-variant-edit-55TAIBZO.js} +45 -27
- package/dist/{products-WLGCX6Z7.js → products-EQMANSO6.js} +41 -40
- package/dist/products-XM57LXJK.js +92 -0
- package/dist/{professional-details-OCVQO2MV.js → professional-details-WWZPTXSX.js} +24 -24
- package/dist/{profile-2HW5NX6K.js → profile-5IADQ727.js} +30 -30
- package/dist/{promotions-FPV6QOEQ.js → promotions-BYW6TZ5B.js} +12 -12
- package/dist/receive-MTXKKPKZ.js +578 -0
- package/dist/refund-3IXGYA7W.js +268 -0
- package/dist/{register-PZOHGO7N.js → register-U5PQZATC.js} +25 -25
- package/dist/{reset-password-Q7BNWHHO.js → reset-password-SKUJJLSV.js} +3 -3
- package/dist/{return-reasons-J2WFZOQH.js → return-reasons-QDPSIJG3.js} +22 -19
- package/dist/{sales-channels-I3PR34U5.js → sales-channels-GBSTCWVP.js} +12 -13
- package/dist/{sales-channels-HPG2ND4W.js → sales-channels-N4NE3FXP.js} +14 -15
- package/dist/{settings-RZNYWACF.js → settings-ZUBBFS67.js} +54 -51
- package/dist/shipment-TKSCPC3M.js +241 -0
- package/dist/shipping-DODEUYOQ.js +125 -0
- package/dist/{shipping-profile-M3GGADFI.js → shipping-profile-O4JMJLN7.js} +5 -9
- package/dist/shipping-profiles-4TJ4IH6U.js +46 -0
- package/dist/{stock-3HVQ6FYP.js → stock-GYK2GHJN.js} +27 -27
- package/dist/{store-LDVMG7CV.js → store-XWOALZ5Q.js} +36 -36
- package/dist/{store-closure-EZ2YPOPL.js → store-closure-46B3XZ2I.js} +24 -24
- package/dist/{store-select-AM4AE7AL.js → store-select-E77E3ZY7.js} +24 -24
- package/dist/{tax-regions-HDLBFZVG.js → tax-regions-S2LFRTMP.js} +9 -9
- package/dist/{team-6NTDISM4.js → team-N2C5JPSU.js} +37 -37
- package/package.json +12 -12
- package/dist/[id]-MOOCGOWO.js +0 -480
- package/dist/[id]-UVQXCYXD.js +0 -1219
- package/dist/[id]-VUX4FUOO.js +0 -1557
- package/dist/allocate-items-OK5PVJGR.js +0 -533
- package/dist/attributes-TRAUBTCO.js +0 -278
- package/dist/breadcrumb-6FV7PWEN.js +0 -33
- package/dist/breadcrumb-EX4C3AZY.js +0 -47
- package/dist/breadcrumb-Q3XSG7B2.js +0 -46
- package/dist/chunk-27KRIXMQ.js +0 -71
- package/dist/chunk-432S4FGR.js +0 -0
- package/dist/chunk-BDZOSMAX.js +0 -23
- package/dist/chunk-CFRWIQIZ.js +0 -43
- package/dist/chunk-G7BL4L3L.js +0 -66
- package/dist/chunk-RXV7INUV.js +0 -426
- package/dist/chunk-T6LHVNWO.js +0 -27
- package/dist/collections-DS63FT2E.js +0 -68
- package/dist/create-HR4I33SE.js +0 -73
- package/dist/create-UFHLPXET.js +0 -215
- package/dist/edit-GQNIINRR.js +0 -192
- package/dist/fulfillment-OIIPL7B7.js +0 -559
- package/dist/loader-VDYPD3RI.js +0 -31
- package/dist/login-HON44E3S.js +0 -39
- package/dist/metadata-5BPOBBU2.js +0 -45
- package/dist/offer-detail-page-OMZN2NTA.js +0 -492
- package/dist/offer-edit-page-3MO566RP.js +0 -151
- package/dist/offers-GVN5LCK6.js +0 -32
- package/dist/orders-CHSS4ASB.js +0 -63
- package/dist/product-variant-detail-MWUBPCOP.js +0 -209
- package/dist/products-XOHAQHUJ.js +0 -91
- package/dist/shipment-KWUXQZWK.js +0 -176
- package/dist/shipping-profiles-L27STQ7K.js +0 -46
|
@@ -3391,8 +3391,15 @@ var DataGridHeader = ({
|
|
|
3391
3391
|
}
|
|
3392
3392
|
)
|
|
3393
3393
|
] }),
|
|
3394
|
-
headerContent,
|
|
3395
3394
|
/* @__PURE__ */ jsxs9("div", { className: "ml-auto flex items-center gap-x-2", children: [
|
|
3395
|
+
headerContent && /* @__PURE__ */ jsx12(
|
|
3396
|
+
"div",
|
|
3397
|
+
{
|
|
3398
|
+
className: "flex items-center",
|
|
3399
|
+
onFocusCapture: () => onHeaderInteractionChange(true),
|
|
3400
|
+
children: headerContent
|
|
3401
|
+
}
|
|
3402
|
+
),
|
|
3396
3403
|
errorCount > 0 && /* @__PURE__ */ jsxs9(
|
|
3397
3404
|
Button2,
|
|
3398
3405
|
{
|
|
@@ -3598,6 +3605,7 @@ var DataGridRowSkeleton = ({
|
|
|
3598
3605
|
"div",
|
|
3599
3606
|
{
|
|
3600
3607
|
role: "gridcell",
|
|
3608
|
+
"aria-label": "Cell input",
|
|
3601
3609
|
style: { width: vc.size },
|
|
3602
3610
|
className: "relative flex items-center border-b border-r p-0 outline-none",
|
|
3603
3611
|
children: /* @__PURE__ */ jsx12("div", { className: "flex h-full w-full items-center px-4", children: /* @__PURE__ */ jsx12("div", { className: "bg-ui-bg-component h-4 w-3/4 animate-pulse rounded" }) })
|
|
@@ -4081,121 +4089,13 @@ function createDataGridHelper() {
|
|
|
4081
4089
|
};
|
|
4082
4090
|
}
|
|
4083
4091
|
|
|
4084
|
-
// src/components/common/tax-badge/tax-badge.tsx
|
|
4085
|
-
import { TaxExclusive, TaxInclusive } from "@medusajs/icons";
|
|
4086
|
-
import { Tooltip as Tooltip3 } from "@medusajs/ui";
|
|
4087
|
-
import { useTranslation as useTranslation5 } from "react-i18next";
|
|
4088
|
-
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
4089
|
-
var IncludesTaxTooltip = ({
|
|
4090
|
-
includesTax
|
|
4091
|
-
}) => {
|
|
4092
|
-
const { t } = useTranslation5();
|
|
4093
|
-
return /* @__PURE__ */ jsx18(
|
|
4094
|
-
Tooltip3,
|
|
4095
|
-
{
|
|
4096
|
-
maxWidth: 999,
|
|
4097
|
-
content: includesTax ? t("general.includesTaxTooltip") : t("general.excludesTaxTooltip"),
|
|
4098
|
-
children: includesTax ? /* @__PURE__ */ jsx18(TaxInclusive, { className: "text-ui-fg-muted shrink-0" }) : /* @__PURE__ */ jsx18(TaxExclusive, { className: "text-ui-fg-muted shrink-0" })
|
|
4099
|
-
}
|
|
4100
|
-
);
|
|
4101
|
-
};
|
|
4102
|
-
|
|
4103
|
-
// src/components/data-grid/helpers/create-data-grid-price-columns.tsx
|
|
4104
|
-
import { jsx as jsx19, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
4105
|
-
var createDataGridPriceColumns = ({
|
|
4106
|
-
currencies: currencies2,
|
|
4107
|
-
regions,
|
|
4108
|
-
pricePreferences,
|
|
4109
|
-
isReadyOnly,
|
|
4110
|
-
getFieldName,
|
|
4111
|
-
t
|
|
4112
|
-
}) => {
|
|
4113
|
-
const columnHelper = createDataGridHelper();
|
|
4114
|
-
return [
|
|
4115
|
-
...currencies2?.map((currency) => {
|
|
4116
|
-
const preference = pricePreferences?.find(
|
|
4117
|
-
(p) => p.attribute === "currency_code" && p.value === currency
|
|
4118
|
-
);
|
|
4119
|
-
const translatedCurrencyName = t("fields.priceTemplate", {
|
|
4120
|
-
regionOrCurrency: currency.toUpperCase()
|
|
4121
|
-
});
|
|
4122
|
-
return columnHelper.column({
|
|
4123
|
-
id: `currency_prices.${currency}`,
|
|
4124
|
-
name: t("fields.priceTemplate", {
|
|
4125
|
-
regionOrCurrency: currency.toUpperCase()
|
|
4126
|
-
}),
|
|
4127
|
-
field: (context) => {
|
|
4128
|
-
const isReadyOnlyValue = isReadyOnly?.(context);
|
|
4129
|
-
if (isReadyOnlyValue) {
|
|
4130
|
-
return null;
|
|
4131
|
-
}
|
|
4132
|
-
return getFieldName(context, currency);
|
|
4133
|
-
},
|
|
4134
|
-
type: "number",
|
|
4135
|
-
header: () => /* @__PURE__ */ jsxs13("div", { className: "flex w-full items-center justify-between gap-3", children: [
|
|
4136
|
-
/* @__PURE__ */ jsx19("span", { className: "truncate", title: translatedCurrencyName, children: translatedCurrencyName }),
|
|
4137
|
-
/* @__PURE__ */ jsx19(IncludesTaxTooltip, { includesTax: preference?.is_tax_inclusive })
|
|
4138
|
-
] }),
|
|
4139
|
-
cell: (context) => {
|
|
4140
|
-
if (isReadyOnly?.(context)) {
|
|
4141
|
-
return /* @__PURE__ */ jsx19(DataGridReadonlyCell, { context });
|
|
4142
|
-
}
|
|
4143
|
-
return /* @__PURE__ */ jsx19(DataGridCurrencyCell, { code: currency, context });
|
|
4144
|
-
}
|
|
4145
|
-
});
|
|
4146
|
-
}) ?? [],
|
|
4147
|
-
...regions?.map((region) => {
|
|
4148
|
-
const preference = pricePreferences?.find(
|
|
4149
|
-
(p) => p.attribute === "region_id" && p.value === region.id
|
|
4150
|
-
);
|
|
4151
|
-
const translatedRegionName = t("fields.priceTemplate", {
|
|
4152
|
-
regionOrCurrency: region.name
|
|
4153
|
-
});
|
|
4154
|
-
return columnHelper.column({
|
|
4155
|
-
id: `region_prices.${region.id}`,
|
|
4156
|
-
name: t("fields.priceTemplate", {
|
|
4157
|
-
regionOrCurrency: region.name
|
|
4158
|
-
}),
|
|
4159
|
-
field: (context) => {
|
|
4160
|
-
const isReadyOnlyValue = isReadyOnly?.(context);
|
|
4161
|
-
if (isReadyOnlyValue) {
|
|
4162
|
-
return null;
|
|
4163
|
-
}
|
|
4164
|
-
return getFieldName(context, region.id);
|
|
4165
|
-
},
|
|
4166
|
-
type: "number",
|
|
4167
|
-
header: () => /* @__PURE__ */ jsxs13("div", { className: "flex w-full items-center justify-between gap-3", children: [
|
|
4168
|
-
/* @__PURE__ */ jsx19("span", { className: "truncate", title: translatedRegionName, children: translatedRegionName }),
|
|
4169
|
-
/* @__PURE__ */ jsx19(IncludesTaxTooltip, { includesTax: preference?.is_tax_inclusive })
|
|
4170
|
-
] }),
|
|
4171
|
-
cell: (context) => {
|
|
4172
|
-
if (isReadyOnly?.(context)) {
|
|
4173
|
-
return /* @__PURE__ */ jsx19(DataGridReadonlyCell, { context });
|
|
4174
|
-
}
|
|
4175
|
-
const currency = currencies2?.find((c) => c === region.currency_code);
|
|
4176
|
-
if (!currency) {
|
|
4177
|
-
return null;
|
|
4178
|
-
}
|
|
4179
|
-
return /* @__PURE__ */ jsx19(
|
|
4180
|
-
DataGridCurrencyCell,
|
|
4181
|
-
{
|
|
4182
|
-
code: region.currency_code,
|
|
4183
|
-
context
|
|
4184
|
-
}
|
|
4185
|
-
);
|
|
4186
|
-
}
|
|
4187
|
-
});
|
|
4188
|
-
}) ?? []
|
|
4189
|
-
];
|
|
4190
|
-
};
|
|
4191
|
-
|
|
4192
4092
|
// src/components/data-grid/components/data-grid-toggleable-number-cell.tsx
|
|
4193
4093
|
import { Switch as Switch2 } from "@medusajs/ui";
|
|
4194
4094
|
import { useEffect as useEffect10, useRef as useRef8, useState as useState13 } from "react";
|
|
4195
4095
|
import CurrencyInput2 from "react-currency-input-field";
|
|
4196
4096
|
import { Controller as Controller11 } from "react-hook-form";
|
|
4197
|
-
import { useTranslation as
|
|
4198
|
-
import { jsx as
|
|
4097
|
+
import { useTranslation as useTranslation5 } from "react-i18next";
|
|
4098
|
+
import { jsx as jsx18, jsxs as jsxs13 } from "react/jsx-runtime";
|
|
4199
4099
|
var DataGridTogglableNumberCell = ({
|
|
4200
4100
|
context,
|
|
4201
4101
|
disabledToggleTooltip,
|
|
@@ -4207,18 +4107,18 @@ var DataGridTogglableNumberCell = ({
|
|
|
4207
4107
|
});
|
|
4208
4108
|
const errorProps = useDataGridCellError({ context });
|
|
4209
4109
|
const { container, input } = renderProps;
|
|
4210
|
-
return /* @__PURE__ */
|
|
4110
|
+
return /* @__PURE__ */ jsx18(
|
|
4211
4111
|
Controller11,
|
|
4212
4112
|
{
|
|
4213
4113
|
control,
|
|
4214
4114
|
name: field,
|
|
4215
4115
|
render: ({ field: field2 }) => {
|
|
4216
|
-
return /* @__PURE__ */
|
|
4116
|
+
return /* @__PURE__ */ jsx18(
|
|
4217
4117
|
DataGridCellContainer,
|
|
4218
4118
|
{
|
|
4219
4119
|
...container,
|
|
4220
4120
|
...errorProps,
|
|
4221
|
-
outerComponent: /* @__PURE__ */
|
|
4121
|
+
outerComponent: /* @__PURE__ */ jsx18(
|
|
4222
4122
|
OuterComponent,
|
|
4223
4123
|
{
|
|
4224
4124
|
field: field2,
|
|
@@ -4227,7 +4127,7 @@ var DataGridTogglableNumberCell = ({
|
|
|
4227
4127
|
tooltip: disabledToggleTooltip
|
|
4228
4128
|
}
|
|
4229
4129
|
),
|
|
4230
|
-
children: /* @__PURE__ */
|
|
4130
|
+
children: /* @__PURE__ */ jsx18(Inner8, { field: field2, inputProps: input, hideInput, ...rest })
|
|
4231
4131
|
}
|
|
4232
4132
|
);
|
|
4233
4133
|
}
|
|
@@ -4268,12 +4168,12 @@ var OuterComponent = ({
|
|
|
4268
4168
|
document.addEventListener("keydown", handleKeyDown);
|
|
4269
4169
|
return () => document.removeEventListener("keydown", handleKeyDown);
|
|
4270
4170
|
}, [isAnchor]);
|
|
4271
|
-
return /* @__PURE__ */
|
|
4171
|
+
return /* @__PURE__ */ jsx18(
|
|
4272
4172
|
ConditionalTooltip,
|
|
4273
4173
|
{
|
|
4274
4174
|
showTooltip: localValue.disabledToggle && tooltip,
|
|
4275
4175
|
content: tooltip,
|
|
4276
|
-
children: /* @__PURE__ */
|
|
4176
|
+
children: /* @__PURE__ */ jsx18("div", { className: "absolute inset-y-0 left-4 z-[3] flex w-fit items-center justify-center", children: /* @__PURE__ */ jsx18(
|
|
4277
4177
|
Switch2,
|
|
4278
4178
|
{
|
|
4279
4179
|
dir: "ltr",
|
|
@@ -4295,7 +4195,7 @@ var Inner8 = ({
|
|
|
4295
4195
|
hideInput,
|
|
4296
4196
|
...props
|
|
4297
4197
|
}) => {
|
|
4298
|
-
const { t } =
|
|
4198
|
+
const { t } = useTranslation5();
|
|
4299
4199
|
const { ref, value, onChange: _, onBlur, ...fieldProps } = field;
|
|
4300
4200
|
const {
|
|
4301
4201
|
ref: inputRef,
|
|
@@ -4324,10 +4224,11 @@ var Inner8 = ({
|
|
|
4324
4224
|
onChange(localValue, value);
|
|
4325
4225
|
};
|
|
4326
4226
|
if (hideInput) {
|
|
4327
|
-
return /* @__PURE__ */
|
|
4328
|
-
/* @__PURE__ */
|
|
4227
|
+
return /* @__PURE__ */ jsxs13("div", { className: "flex size-full items-center gap-x-2 pl-8", children: [
|
|
4228
|
+
/* @__PURE__ */ jsx18(
|
|
4329
4229
|
"input",
|
|
4330
4230
|
{
|
|
4231
|
+
"aria-label": "Toggle",
|
|
4331
4232
|
ref: combinedRefs,
|
|
4332
4233
|
className: "sr-only",
|
|
4333
4234
|
onFocus,
|
|
@@ -4339,10 +4240,10 @@ var Inner8 = ({
|
|
|
4339
4240
|
readOnly: true
|
|
4340
4241
|
}
|
|
4341
4242
|
),
|
|
4342
|
-
/* @__PURE__ */
|
|
4243
|
+
/* @__PURE__ */ jsx18("span", { className: "txt-compact-small text-ui-fg-subtle", children: localValue?.checked ? t("dataGrid.toggle.enabled") : t("dataGrid.toggle.notEnabled") })
|
|
4343
4244
|
] });
|
|
4344
4245
|
}
|
|
4345
|
-
return /* @__PURE__ */
|
|
4246
|
+
return /* @__PURE__ */ jsx18("div", { className: "flex size-full items-center gap-x-2", children: /* @__PURE__ */ jsx18(
|
|
4346
4247
|
CurrencyInput2,
|
|
4347
4248
|
{
|
|
4348
4249
|
...fieldProps,
|
|
@@ -4368,7 +4269,7 @@ var Inner8 = ({
|
|
|
4368
4269
|
};
|
|
4369
4270
|
|
|
4370
4271
|
// src/components/data-grid/helpers/create-data-grid-location-stock-columns.tsx
|
|
4371
|
-
import { jsx as
|
|
4272
|
+
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
4372
4273
|
var createDataGridLocationStockColumns = ({
|
|
4373
4274
|
stockLocations,
|
|
4374
4275
|
isReadyOnly,
|
|
@@ -4389,12 +4290,12 @@ var createDataGridLocationStockColumns = ({
|
|
|
4389
4290
|
return getFieldName(context, index);
|
|
4390
4291
|
},
|
|
4391
4292
|
type: "togglable-number",
|
|
4392
|
-
header: () => /* @__PURE__ */
|
|
4293
|
+
header: () => /* @__PURE__ */ jsx19("div", { className: "flex w-full items-center justify-between gap-3", children: /* @__PURE__ */ jsx19("span", { className: "truncate", title: stockLocation.name, children: stockLocation.name }) }),
|
|
4393
4294
|
cell: (context) => {
|
|
4394
4295
|
if (isReadyOnly?.(context)) {
|
|
4395
|
-
return /* @__PURE__ */
|
|
4296
|
+
return /* @__PURE__ */ jsx19(DataGridReadonlyCell, { context });
|
|
4396
4297
|
}
|
|
4397
|
-
return /* @__PURE__ */
|
|
4298
|
+
return /* @__PURE__ */ jsx19(
|
|
4398
4299
|
DataGridTogglableNumberCell,
|
|
4399
4300
|
{
|
|
4400
4301
|
context,
|
|
@@ -4407,6 +4308,114 @@ var createDataGridLocationStockColumns = ({
|
|
|
4407
4308
|
];
|
|
4408
4309
|
};
|
|
4409
4310
|
|
|
4311
|
+
// src/components/common/tax-badge/tax-badge.tsx
|
|
4312
|
+
import { TaxExclusive, TaxInclusive } from "@medusajs/icons";
|
|
4313
|
+
import { Tooltip as Tooltip3 } from "@medusajs/ui";
|
|
4314
|
+
import { useTranslation as useTranslation6 } from "react-i18next";
|
|
4315
|
+
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
4316
|
+
var IncludesTaxTooltip = ({
|
|
4317
|
+
includesTax
|
|
4318
|
+
}) => {
|
|
4319
|
+
const { t } = useTranslation6();
|
|
4320
|
+
return /* @__PURE__ */ jsx20(
|
|
4321
|
+
Tooltip3,
|
|
4322
|
+
{
|
|
4323
|
+
maxWidth: 999,
|
|
4324
|
+
content: includesTax ? t("general.includesTaxTooltip") : t("general.excludesTaxTooltip"),
|
|
4325
|
+
children: includesTax ? /* @__PURE__ */ jsx20(TaxInclusive, { className: "text-ui-fg-muted shrink-0" }) : /* @__PURE__ */ jsx20(TaxExclusive, { className: "text-ui-fg-muted shrink-0" })
|
|
4326
|
+
}
|
|
4327
|
+
);
|
|
4328
|
+
};
|
|
4329
|
+
|
|
4330
|
+
// src/components/data-grid/helpers/create-data-grid-price-columns.tsx
|
|
4331
|
+
import { jsx as jsx21, jsxs as jsxs14 } from "react/jsx-runtime";
|
|
4332
|
+
var createDataGridPriceColumns = ({
|
|
4333
|
+
currencies: currencies2,
|
|
4334
|
+
regions,
|
|
4335
|
+
pricePreferences,
|
|
4336
|
+
isReadyOnly,
|
|
4337
|
+
getFieldName,
|
|
4338
|
+
t
|
|
4339
|
+
}) => {
|
|
4340
|
+
const columnHelper = createDataGridHelper();
|
|
4341
|
+
return [
|
|
4342
|
+
...currencies2?.map((currency) => {
|
|
4343
|
+
const preference = pricePreferences?.find(
|
|
4344
|
+
(p) => p.attribute === "currency_code" && p.value === currency
|
|
4345
|
+
);
|
|
4346
|
+
const translatedCurrencyName = t("fields.priceTemplate", {
|
|
4347
|
+
regionOrCurrency: currency.toUpperCase()
|
|
4348
|
+
});
|
|
4349
|
+
return columnHelper.column({
|
|
4350
|
+
id: `currency_prices.${currency}`,
|
|
4351
|
+
name: t("fields.priceTemplate", {
|
|
4352
|
+
regionOrCurrency: currency.toUpperCase()
|
|
4353
|
+
}),
|
|
4354
|
+
field: (context) => {
|
|
4355
|
+
const isReadyOnlyValue = isReadyOnly?.(context);
|
|
4356
|
+
if (isReadyOnlyValue) {
|
|
4357
|
+
return null;
|
|
4358
|
+
}
|
|
4359
|
+
return getFieldName(context, currency);
|
|
4360
|
+
},
|
|
4361
|
+
type: "number",
|
|
4362
|
+
header: () => /* @__PURE__ */ jsxs14("div", { className: "flex w-full items-center justify-between gap-3", children: [
|
|
4363
|
+
/* @__PURE__ */ jsx21("span", { className: "truncate", title: translatedCurrencyName, children: translatedCurrencyName }),
|
|
4364
|
+
/* @__PURE__ */ jsx21(IncludesTaxTooltip, { includesTax: preference?.is_tax_inclusive })
|
|
4365
|
+
] }),
|
|
4366
|
+
cell: (context) => {
|
|
4367
|
+
if (isReadyOnly?.(context)) {
|
|
4368
|
+
return /* @__PURE__ */ jsx21(DataGridReadonlyCell, { context });
|
|
4369
|
+
}
|
|
4370
|
+
return /* @__PURE__ */ jsx21(DataGridCurrencyCell, { code: currency, context });
|
|
4371
|
+
}
|
|
4372
|
+
});
|
|
4373
|
+
}) ?? [],
|
|
4374
|
+
...regions?.map((region) => {
|
|
4375
|
+
const preference = pricePreferences?.find(
|
|
4376
|
+
(p) => p.attribute === "region_id" && p.value === region.id
|
|
4377
|
+
);
|
|
4378
|
+
const translatedRegionName = t("fields.priceTemplate", {
|
|
4379
|
+
regionOrCurrency: region.name
|
|
4380
|
+
});
|
|
4381
|
+
return columnHelper.column({
|
|
4382
|
+
id: `region_prices.${region.id}`,
|
|
4383
|
+
name: t("fields.priceTemplate", {
|
|
4384
|
+
regionOrCurrency: region.name
|
|
4385
|
+
}),
|
|
4386
|
+
field: (context) => {
|
|
4387
|
+
const isReadyOnlyValue = isReadyOnly?.(context);
|
|
4388
|
+
if (isReadyOnlyValue) {
|
|
4389
|
+
return null;
|
|
4390
|
+
}
|
|
4391
|
+
return getFieldName(context, region.id);
|
|
4392
|
+
},
|
|
4393
|
+
type: "number",
|
|
4394
|
+
header: () => /* @__PURE__ */ jsxs14("div", { className: "flex w-full items-center justify-between gap-3", children: [
|
|
4395
|
+
/* @__PURE__ */ jsx21("span", { className: "truncate", title: translatedRegionName, children: translatedRegionName }),
|
|
4396
|
+
/* @__PURE__ */ jsx21(IncludesTaxTooltip, { includesTax: preference?.is_tax_inclusive })
|
|
4397
|
+
] }),
|
|
4398
|
+
cell: (context) => {
|
|
4399
|
+
if (isReadyOnly?.(context)) {
|
|
4400
|
+
return /* @__PURE__ */ jsx21(DataGridReadonlyCell, { context });
|
|
4401
|
+
}
|
|
4402
|
+
const currency = currencies2?.find((c) => c === region.currency_code);
|
|
4403
|
+
if (!currency) {
|
|
4404
|
+
return null;
|
|
4405
|
+
}
|
|
4406
|
+
return /* @__PURE__ */ jsx21(
|
|
4407
|
+
DataGridCurrencyCell,
|
|
4408
|
+
{
|
|
4409
|
+
code: region.currency_code,
|
|
4410
|
+
context
|
|
4411
|
+
}
|
|
4412
|
+
);
|
|
4413
|
+
}
|
|
4414
|
+
});
|
|
4415
|
+
}) ?? []
|
|
4416
|
+
];
|
|
4417
|
+
};
|
|
4418
|
+
|
|
4410
4419
|
export {
|
|
4411
4420
|
useCombinedRefs,
|
|
4412
4421
|
useDataGridCell,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
customerGroupsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OYUJYPDF.js";
|
|
4
4
|
import {
|
|
5
5
|
productsQueryKeys
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-G6YNCIVF.js";
|
|
7
7
|
import {
|
|
8
8
|
queryClient
|
|
9
9
|
} from "./chunk-RHKRREUU.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-ZA2KFUFR.js";
|
|
13
13
|
import {
|
|
14
14
|
sdk
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-LXZXXOJ3.js";
|
|
16
16
|
|
|
17
17
|
// src/hooks/api/price-lists.tsx
|
|
18
18
|
import {
|
|
@@ -8,15 +8,15 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
IconAvatar
|
|
10
10
|
} from "./chunk-U2EI2ZLM.js";
|
|
11
|
+
import {
|
|
12
|
+
ActionMenu
|
|
13
|
+
} from "./chunk-BDGZ4EQO.js";
|
|
11
14
|
import {
|
|
12
15
|
useDeleteTaxRate
|
|
13
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VE6GRIIN.js";
|
|
14
17
|
import {
|
|
15
18
|
useDeleteTaxRegion
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
ActionMenu
|
|
19
|
-
} from "./chunk-BDGZ4EQO.js";
|
|
19
|
+
} from "./chunk-7MARNXFG.js";
|
|
20
20
|
|
|
21
21
|
// src/pages/settings/tax-regions/_common/components/tax-region-card.tsx
|
|
22
22
|
import { Heading, Text, Tooltip, clx } from "@medusajs/ui";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
inventoryItemLevelsQueryKeys,
|
|
3
3
|
inventoryItemsQueryKeys
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-G6YNCIVF.js";
|
|
5
5
|
import {
|
|
6
6
|
queryClient
|
|
7
7
|
} from "./chunk-RHKRREUU.js";
|
|
@@ -9,9 +9,8 @@ import {
|
|
|
9
9
|
queryKeysFactory
|
|
10
10
|
} from "./chunk-ZA2KFUFR.js";
|
|
11
11
|
import {
|
|
12
|
-
fetchQuery,
|
|
13
12
|
sdk
|
|
14
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LXZXXOJ3.js";
|
|
15
14
|
|
|
16
15
|
// src/hooks/api/orders.tsx
|
|
17
16
|
import {
|
|
@@ -28,6 +27,14 @@ var RESERVATION_ITEMS_QUERY_KEY = "reservation_items";
|
|
|
28
27
|
var reservationItemsQueryKeys = queryKeysFactory(
|
|
29
28
|
RESERVATION_ITEMS_QUERY_KEY
|
|
30
29
|
);
|
|
30
|
+
var useReservationItems = (query, options) => {
|
|
31
|
+
const { data, ...rest } = useQuery({
|
|
32
|
+
queryFn: () => sdk.vendor.reservations.query({ ...query }),
|
|
33
|
+
queryKey: reservationItemsQueryKeys.list(query),
|
|
34
|
+
...options
|
|
35
|
+
});
|
|
36
|
+
return { ...data, ...rest };
|
|
37
|
+
};
|
|
31
38
|
var useCreateReservationItem = (options) => {
|
|
32
39
|
return useMutation({
|
|
33
40
|
mutationFn: (payload) => sdk.vendor.reservations.mutate(payload),
|
|
@@ -65,6 +72,14 @@ var useOrder = (id, query, options) => {
|
|
|
65
72
|
});
|
|
66
73
|
return { ...data, ...rest };
|
|
67
74
|
};
|
|
75
|
+
var useOrderPreview = (id, query, options) => {
|
|
76
|
+
const { data, ...rest } = useQuery2({
|
|
77
|
+
queryFn: async () => sdk.vendor.orders.$id.preview.query({ $id: id, ...query }),
|
|
78
|
+
queryKey: ordersQueryKeys.preview(id),
|
|
79
|
+
...options
|
|
80
|
+
});
|
|
81
|
+
return { ...data, ...rest };
|
|
82
|
+
};
|
|
68
83
|
var useOrders = (query, options) => {
|
|
69
84
|
const { data, ...rest } = useQuery2({
|
|
70
85
|
queryFn: async () => sdk.vendor.orders.query({ ...query }),
|
|
@@ -73,6 +88,14 @@ var useOrders = (query, options) => {
|
|
|
73
88
|
});
|
|
74
89
|
return { ...data, ...rest };
|
|
75
90
|
};
|
|
91
|
+
var useOrderChanges = (id, query, options) => {
|
|
92
|
+
const { data, ...rest } = useQuery2({
|
|
93
|
+
queryFn: async () => sdk.vendor.orders.$id.changes.query({ $id: id, ...query }),
|
|
94
|
+
queryKey: ordersQueryKeys.changes(id),
|
|
95
|
+
...options
|
|
96
|
+
});
|
|
97
|
+
return { ...data, ...rest };
|
|
98
|
+
};
|
|
76
99
|
var useCreateOrderFulfillment = (orderId, options) => {
|
|
77
100
|
return useMutation2({
|
|
78
101
|
mutationFn: (payload) => sdk.vendor.orders.$id.fulfillments.mutate({ $id: orderId, ...payload }),
|
|
@@ -171,36 +194,27 @@ var useCancelOrder = (orderId, options) => {
|
|
|
171
194
|
...options
|
|
172
195
|
});
|
|
173
196
|
};
|
|
174
|
-
var
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
}),
|
|
179
|
-
onSuccess: (data, variables, context) => {
|
|
180
|
-
queryClient.invalidateQueries({
|
|
181
|
-
queryKey: ordersQueryKeys.detail(orderId)
|
|
182
|
-
});
|
|
183
|
-
queryClient.invalidateQueries({
|
|
184
|
-
queryKey: ordersQueryKeys.preview(orderId)
|
|
185
|
-
});
|
|
186
|
-
queryClient.invalidateQueries({
|
|
187
|
-
queryKey: ordersQueryKeys.list()
|
|
188
|
-
});
|
|
189
|
-
options?.onSuccess?.(data, variables, context);
|
|
190
|
-
},
|
|
197
|
+
var useOrderCommissionLines = (id, options) => {
|
|
198
|
+
const { data, ...rest } = useQuery2({
|
|
199
|
+
queryFn: async () => sdk.vendor.orders.$id.commissionLines.query({ $id: id }),
|
|
200
|
+
queryKey: ordersQueryKeys.detail(`${id}/commission-lines`),
|
|
191
201
|
...options
|
|
192
202
|
});
|
|
203
|
+
return { commission_lines: data?.commission_lines ?? [], ...rest };
|
|
193
204
|
};
|
|
194
205
|
|
|
195
206
|
export {
|
|
207
|
+
useReservationItems,
|
|
196
208
|
useCreateReservationItem,
|
|
197
209
|
ordersQueryKeys,
|
|
198
210
|
useOrder,
|
|
211
|
+
useOrderPreview,
|
|
199
212
|
useOrders,
|
|
213
|
+
useOrderChanges,
|
|
200
214
|
useCreateOrderFulfillment,
|
|
201
215
|
useCancelOrderFulfillment,
|
|
202
216
|
useCreateOrderShipment,
|
|
203
217
|
useMarkOrderFulfillmentAsDelivered,
|
|
204
218
|
useCancelOrder,
|
|
205
|
-
|
|
219
|
+
useOrderCommissionLines
|
|
206
220
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeletePriceListAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-IEVN722X.js";
|
|
4
4
|
import {
|
|
5
5
|
getPriceListStatus
|
|
6
6
|
} from "./chunk-XRNDVICA.js";
|
|
@@ -17,19 +17,19 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
_DataTable,
|
|
19
19
|
useDataTable
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-W3UHAQCV.js";
|
|
21
21
|
import {
|
|
22
22
|
SingleColumnPage
|
|
23
23
|
} from "./chunk-YV6MK4PZ.js";
|
|
24
24
|
import {
|
|
25
25
|
useQueryParams
|
|
26
26
|
} from "./chunk-THHRRYRS.js";
|
|
27
|
-
import {
|
|
28
|
-
usePriceLists
|
|
29
|
-
} from "./chunk-2BCAQ4BB.js";
|
|
30
27
|
import {
|
|
31
28
|
ActionMenu
|
|
32
29
|
} from "./chunk-BDGZ4EQO.js";
|
|
30
|
+
import {
|
|
31
|
+
usePriceLists
|
|
32
|
+
} from "./chunk-5PAUN3PM.js";
|
|
33
33
|
|
|
34
34
|
// src/pages/price-lists/price-list-list-page.tsx
|
|
35
35
|
import { Children as Children3 } from "react";
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ordersQueryKeys
|
|
3
|
+
} from "./chunk-6FDPVW7Y.js";
|
|
4
|
+
import {
|
|
5
|
+
queryClient
|
|
6
|
+
} from "./chunk-RHKRREUU.js";
|
|
7
|
+
import {
|
|
8
|
+
sdk
|
|
9
|
+
} from "./chunk-LXZXXOJ3.js";
|
|
10
|
+
|
|
11
|
+
// src/hooks/api/order-edits.tsx
|
|
12
|
+
import { useMutation } from "@tanstack/react-query";
|
|
13
|
+
var invalidateOrder = (orderId) => {
|
|
14
|
+
queryClient.invalidateQueries({ queryKey: ordersQueryKeys.details() });
|
|
15
|
+
queryClient.invalidateQueries({ queryKey: ordersQueryKeys.preview(orderId) });
|
|
16
|
+
queryClient.invalidateQueries({ queryKey: ordersQueryKeys.changes(orderId) });
|
|
17
|
+
};
|
|
18
|
+
var useCreateOrderEdit = (orderId, options) => {
|
|
19
|
+
return useMutation({
|
|
20
|
+
mutationFn: (payload) => sdk.vendor.orderEdits.mutate(payload),
|
|
21
|
+
onSuccess: (data, variables, context) => {
|
|
22
|
+
invalidateOrder(orderId);
|
|
23
|
+
options?.onSuccess?.(data, variables, context);
|
|
24
|
+
},
|
|
25
|
+
...options
|
|
26
|
+
});
|
|
27
|
+
};
|
|
28
|
+
var useCancelOrderEdit = (orderId, options) => {
|
|
29
|
+
return useMutation({
|
|
30
|
+
mutationFn: () => sdk.vendor.orderEdits.$id.delete({ $id: orderId }),
|
|
31
|
+
onSuccess: (data, variables, context) => {
|
|
32
|
+
invalidateOrder(orderId);
|
|
33
|
+
options?.onSuccess?.(data, variables, context);
|
|
34
|
+
},
|
|
35
|
+
...options
|
|
36
|
+
});
|
|
37
|
+
};
|
|
38
|
+
var useRequestOrderEdit = (orderId, options) => {
|
|
39
|
+
return useMutation({
|
|
40
|
+
mutationFn: () => sdk.vendor.orderEdits.$id.request.mutate({ $id: orderId }),
|
|
41
|
+
onSuccess: (data, variables, context) => {
|
|
42
|
+
invalidateOrder(orderId);
|
|
43
|
+
options?.onSuccess?.(data, variables, context);
|
|
44
|
+
},
|
|
45
|
+
...options
|
|
46
|
+
});
|
|
47
|
+
};
|
|
48
|
+
var useConfirmOrderEdit = (orderId, options) => {
|
|
49
|
+
return useMutation({
|
|
50
|
+
mutationFn: () => sdk.vendor.orderEdits.$id.confirm.mutate({ $id: orderId }),
|
|
51
|
+
onSuccess: (data, variables, context) => {
|
|
52
|
+
invalidateOrder(orderId);
|
|
53
|
+
options?.onSuccess?.(data, variables, context);
|
|
54
|
+
},
|
|
55
|
+
...options
|
|
56
|
+
});
|
|
57
|
+
};
|
|
58
|
+
var useAddOrderEditItems = (orderId, options) => {
|
|
59
|
+
return useMutation({
|
|
60
|
+
mutationFn: (payload) => sdk.vendor.orderEdits.$id.items.mutate({ $id: orderId, ...payload }),
|
|
61
|
+
onSuccess: (data, variables, context) => {
|
|
62
|
+
queryClient.invalidateQueries({
|
|
63
|
+
queryKey: ordersQueryKeys.preview(orderId)
|
|
64
|
+
});
|
|
65
|
+
options?.onSuccess?.(data, variables, context);
|
|
66
|
+
},
|
|
67
|
+
...options
|
|
68
|
+
});
|
|
69
|
+
};
|
|
70
|
+
var useUpdateOrderEditAddedItem = (orderId, options) => {
|
|
71
|
+
return useMutation({
|
|
72
|
+
mutationFn: ({ $actionId, ...payload }) => sdk.vendor.orderEdits.$id.items.$actionId.mutate({
|
|
73
|
+
$id: orderId,
|
|
74
|
+
$actionId,
|
|
75
|
+
...payload
|
|
76
|
+
}),
|
|
77
|
+
onSuccess: (data, variables, context) => {
|
|
78
|
+
queryClient.invalidateQueries({
|
|
79
|
+
queryKey: ordersQueryKeys.preview(orderId)
|
|
80
|
+
});
|
|
81
|
+
options?.onSuccess?.(data, variables, context);
|
|
82
|
+
},
|
|
83
|
+
...options
|
|
84
|
+
});
|
|
85
|
+
};
|
|
86
|
+
var useRemoveOrderEditAddedItem = (orderId, options) => {
|
|
87
|
+
return useMutation({
|
|
88
|
+
mutationFn: (actionId) => sdk.vendor.orderEdits.$id.items.$actionId.delete({
|
|
89
|
+
$id: orderId,
|
|
90
|
+
$actionId: actionId
|
|
91
|
+
}),
|
|
92
|
+
onSuccess: (data, variables, context) => {
|
|
93
|
+
queryClient.invalidateQueries({
|
|
94
|
+
queryKey: ordersQueryKeys.preview(orderId)
|
|
95
|
+
});
|
|
96
|
+
options?.onSuccess?.(data, variables, context);
|
|
97
|
+
},
|
|
98
|
+
...options
|
|
99
|
+
});
|
|
100
|
+
};
|
|
101
|
+
var useUpdateOrderEditOriginalItem = (orderId, options) => {
|
|
102
|
+
return useMutation({
|
|
103
|
+
mutationFn: ({ $itemId, ...payload }) => sdk.vendor.orderEdits.$id.items.item.$itemId.mutate({
|
|
104
|
+
$id: orderId,
|
|
105
|
+
$itemId,
|
|
106
|
+
...payload
|
|
107
|
+
}),
|
|
108
|
+
onSuccess: (data, variables, context) => {
|
|
109
|
+
queryClient.invalidateQueries({
|
|
110
|
+
queryKey: ordersQueryKeys.preview(orderId)
|
|
111
|
+
});
|
|
112
|
+
options?.onSuccess?.(data, variables, context);
|
|
113
|
+
},
|
|
114
|
+
...options
|
|
115
|
+
});
|
|
116
|
+
};
|
|
117
|
+
|
|
118
|
+
export {
|
|
119
|
+
useCreateOrderEdit,
|
|
120
|
+
useCancelOrderEdit,
|
|
121
|
+
useRequestOrderEdit,
|
|
122
|
+
useConfirmOrderEdit,
|
|
123
|
+
useAddOrderEditItems,
|
|
124
|
+
useUpdateOrderEditAddedItem,
|
|
125
|
+
useRemoveOrderEditAddedItem,
|
|
126
|
+
useUpdateOrderEditOriginalItem
|
|
127
|
+
};
|