@mercurjs/vendor 2.2.0-canary.9 → 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]-T5ECVBPF.js → [id]-3LNKC5OJ.js} +38 -39
- package/dist/{[id]-A55T2ORL.js → [id]-4HO4S2PX.js} +481 -473
- package/dist/{[id]-FWCX5PTI.js → [id]-4LIIFGET.js} +13 -13
- package/dist/{[id]-GBT6VB4S.js → [id]-5EECCIRP.js} +148 -57
- package/dist/{[id]-YPCO3DJV.js → [id]-5P5LTATX.js} +2 -2
- package/dist/{[id]-J6BZG5PU.js → [id]-AQUUZFRX.js} +9 -9
- package/dist/{[id]-QOEO3JOV.js → [id]-CUBGVODE.js} +175 -85
- package/dist/{[id]-QQU5HVFU.js → [id]-DCGPICT3.js} +36 -37
- package/dist/{[id]-GC3ZYPK4.js → [id]-DT5YJVKG.js} +32 -33
- package/dist/{[id]-SHAJTJNZ.js → [id]-IEBZ6V3W.js} +46 -46
- package/dist/{[id]-ZCMSBEVM.js → [id]-N7JEZFXQ.js} +6 -6
- package/dist/[id]-U6FKX5UQ.js +975 -0
- package/dist/{[id]-BC7IKQTQ.js → [id]-XB45DY2D.js} +18 -18
- package/dist/[id]-XP5KEMNX.js +602 -0
- package/dist/{[location_id]-NUBXDDJC.js → [location_id]-I4HHUHWY.js} +14 -14
- package/dist/{[province_id]-6GUA4PV5.js → [province_id]-OYX4MOCF.js} +31 -32
- package/dist/{add-NTRYWOJF.js → add-3T4GBFMM.js} +59 -56
- package/dist/{add-RU3WL4YB.js → add-RPRJWCYU.js} +63 -30
- package/dist/{add-customer-groups-U5RZWW4B.js → add-customer-groups-FB5T6PQN.js} +43 -42
- package/dist/{add-products-Q4MMDQKT.js → add-products-F243SWGD.js} +38 -40
- package/dist/{add-promotions-KD2CWQPF.js → add-promotions-TJDK7HLW.js} +17 -17
- package/dist/{add-to-campaign-QKYQCSR2.js → add-to-campaign-Q6OAJMUJ.js} +6 -6
- package/dist/{address-77Y3AOQ3.js → address-XVBSNMFU.js} +24 -25
- package/dist/{adjust-inventory-AFJLWF5R.js → adjust-inventory-IZLRMQXV.js} +4 -4
- package/dist/allocate-items-Q3VALDYT.js +685 -0
- package/dist/{areas-XUC5V5UO.js → areas-IYGBRCRH.js} +13 -13
- 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-FPWBT76A.js → breadcrumb-BXD3SRM7.js} +3 -3
- package/dist/{breadcrumb-PBR27GGX.js → breadcrumb-FEYGZFJU.js} +4 -4
- package/dist/{breadcrumb-KTARIL65.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-2XA2WOK7.js → breadcrumb-XEZCMI55.js} +2 -2
- package/dist/{breadcrumb-IK6XCQOQ.js → breadcrumb-XGXKCDYS.js} +4 -4
- package/dist/{breadcrumb-Y5UW3I4C.js → breadcrumb-YOY6Z36F.js} +2 -2
- package/dist/{campaigns-JAQTSA4Z.js → campaigns-DZKRNCA4.js} +7 -7
- package/dist/{categories-T4QJYX4R.js → categories-JZJA2IBQ.js} +11 -9
- package/dist/{chunk-3PMM6AMP.js → chunk-2KA4TGBQ.js} +2 -2
- package/dist/{chunk-X4GWB6AT.js → chunk-2NPD4S55.js} +4 -4
- package/dist/{chunk-M6GKMFTC.js → chunk-3ALBZK4M.js} +1 -1
- package/dist/{chunk-LKUW5SV4.js → chunk-3C2T27YW.js} +2 -2
- package/dist/{chunk-O7VOGTLX.js → chunk-3I6ZAMGN.js} +1 -1
- package/dist/{chunk-5QI3NDJG.js → chunk-3SH24DGG.js} +2 -2
- package/dist/{chunk-TF6V3TFG.js → chunk-3TST3EWQ.js} +2 -2
- package/dist/chunk-42R54Z2X.js +8 -0
- package/dist/{chunk-GAE6TKOR.js → chunk-4IRQSBA7.js} +5 -6
- package/dist/{chunk-LFX6WU4A.js → chunk-5ALC4Z2H.js} +0 -13
- package/dist/{chunk-VZUA5SRD.js → chunk-5BQO3YQP.js} +2 -2
- package/dist/{chunk-SPOHNK4X.js → chunk-5BYYDBLS.js} +7 -7
- package/dist/{chunk-4LVP635F.js → chunk-5FBQOAXU.js} +135 -126
- package/dist/{chunk-BXRNZS5K.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-Y2MQ5EMD.js → chunk-6FDPVW7Y.js} +12 -3
- package/dist/{chunk-6FUIK3PX.js → chunk-6Q3J6ZMM.js} +5 -5
- package/dist/{chunk-LARLBYU6.js → chunk-7BFQKYCJ.js} +2 -2
- package/dist/chunk-7EXKHL5L.js +30 -0
- package/dist/{chunk-M6N4ISXL.js → chunk-7MARNXFG.js} +1 -1
- package/dist/{chunk-TYESCFYW.js → chunk-AOLE7MBM.js} +1 -1
- package/dist/{chunk-TBYCZRZ7.js → chunk-BQHVM46E.js} +32 -55
- package/dist/{chunk-TW324MAT.js → chunk-CRYZK4NU.js} +2 -2
- package/dist/{chunk-463CNCJC.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-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-BER45EYD.js → chunk-FDKFUIYV.js} +1 -1
- package/dist/{chunk-JAUZ73XE.js → chunk-G6YNCIVF.js} +21 -61
- 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-2QTNCGKX.js → chunk-IEVN722X.js} +1 -1
- package/dist/{chunk-L4KBTV57.js → chunk-IMJ62GAP.js} +1 -3
- package/dist/{chunk-SGR4DMCW.js → chunk-INYLPVCG.js} +3 -3
- package/dist/{chunk-5T6UWTRU.js → chunk-IV57G2CB.js} +19 -11
- package/dist/{chunk-MZTDRBCR.js → chunk-JDNXS37G.js} +61 -62
- package/dist/{chunk-3B34B2M2.js → chunk-JJP6AKMV.js} +1 -1
- package/dist/{chunk-K6LOZ4S3.js → chunk-JK4M3ZKY.js} +5 -5
- package/dist/{chunk-VXMOPVRH.js → chunk-JR7AABT5.js} +2 -2
- package/dist/{chunk-DO4F5FIO.js → chunk-JTHDMXZV.js} +5 -5
- package/dist/{chunk-6K6EQOJF.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-VCOQ7WQ2.js → chunk-KG2NUK4J.js} +6 -6
- package/dist/{chunk-VXWN37PT.js → chunk-KIURBTC4.js} +1 -1
- package/dist/{chunk-BENED3NB.js → chunk-KTJLJTFO.js} +545 -891
- package/dist/{chunk-PZEPOPMV.js → chunk-KZQFIPY2.js} +178 -81
- package/dist/{chunk-DQKK43PR.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-7IPCLQ5V.js → chunk-MT6WOKIW.js} +4 -4
- package/dist/chunk-MUGQQY6P.js +315 -0
- package/dist/{chunk-S23FD6FA.js → chunk-MVEHWM7K.js} +1 -1
- package/dist/{chunk-VV6IKGCN.js → chunk-NTJ3BMOE.js} +1 -1
- package/dist/{chunk-DDJQRV6E.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-NBKWY6XN.js → chunk-RILHLBKW.js} +3 -3
- package/dist/{chunk-EIZP3XL5.js → chunk-RPU4UOQK.js} +1 -1
- package/dist/{chunk-53SII3U2.js → chunk-RTMMO6IU.js} +6 -6
- package/dist/{chunk-IBEUR3J7.js → chunk-S7NGDLZ3.js} +3 -3
- package/dist/{chunk-U2ZFCAPX.js → chunk-SITRHMZZ.js} +11 -8
- package/dist/chunk-SPFLYPY6.js +6 -0
- package/dist/{chunk-SZBERGA4.js → chunk-TJKZ5QCJ.js} +4 -4
- package/dist/{chunk-YUKD5RCX.js → chunk-TPGIMZLI.js} +1 -1
- package/dist/{chunk-YHIJCI4U.js → chunk-UNE4VD5U.js} +3 -3
- package/dist/chunk-UX5UYDCY.js +33 -0
- package/dist/{chunk-6UZERVBI.js → chunk-V5K6HISS.js} +2 -2
- 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-OZ44ATGE.js → chunk-WCXFUBEF.js} +15 -15
- package/dist/{chunk-YQZBAP3S.js → chunk-WFE6CT6M.js} +76 -22
- package/dist/{chunk-PAVZ6FPK.js → chunk-WFHGJGCW.js} +5 -4
- package/dist/{chunk-LQD232FW.js → chunk-WJ5EU3KW.js} +1 -1
- package/dist/{chunk-XCIMOIX6.js → chunk-XBKWFLJG.js} +1 -1
- package/dist/chunk-XQUF3WIS.js +159 -0
- package/dist/{chunk-6SJTAE66.js → chunk-Y4PM3IDZ.js} +1 -1
- package/dist/{chunk-JQV7CXEC.js → chunk-YNGA3GRX.js} +17 -2
- 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-7IYZ6GNP.js → configuration-FWZTMYXY.js} +5 -5
- package/dist/{create-MS6KKFSV.js → create-2RGNAVVY.js} +31 -32
- package/dist/{create-JF2OUZQA.js → create-32MXB6FD.js} +24 -25
- 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-A7B3MLJX.js → create-FHIFVCSG.js} +47 -47
- package/dist/{create-ODOFJF5N.js → create-GO7APBBU.js} +30 -31
- package/dist/{create-F5R76QML.js → create-HEZYB7RF.js} +24 -23
- package/dist/{create-R7K3ECN6.js → create-K26SM34L.js} +3 -3
- package/dist/{create-MZYXMGKP.js → create-N534JQPH.js} +13 -13
- package/dist/{create-FKRYB7ZS.js → create-NEK6JCKR.js} +65 -51
- package/dist/{create-YBF4YGWG.js → create-NF2LPVXA.js} +3 -3
- package/dist/{create-JGYG5SBM.js → create-PJVLJ7T6.js} +47 -44
- package/dist/{create-O35JRZEF.js → create-RPBHXU32.js} +28 -29
- package/dist/{create-SFU3W3ZH.js → create-U64NEOEL.js} +3 -3
- package/dist/{create-GGACODDN.js → create-VL7LDTVE.js} +53 -36
- package/dist/{create-XVHOCZHJ.js → create-X5SOAPD3.js} +3 -3
- package/dist/{create-TKXH5KQY.js → create-XLYGW5PN.js} +61 -37
- package/dist/{create-5PSOIHIT.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} +9 -9
- package/dist/{edit-Y2U3KAVB.js → edit-3DUCWSLA.js} +34 -30
- package/dist/{edit-ORXS3A2Y.js → edit-3V34KJS2.js} +3 -3
- package/dist/{edit-2R5QCPTB.js → edit-4PWAJ7A3.js} +25 -26
- package/dist/{edit-5CROKEJE.js → edit-7CLOJ3UZ.js} +48 -48
- 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-FXNXTVIW.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-G2E5SNGU.js → edit-SIKOSSHF.js} +24 -25
- package/dist/{edit-VVLITC2E.js → edit-TD7QFM4Z.js} +36 -75
- package/dist/{edit-C4OCKQVU.js → edit-UNN3QTEJ.js} +3 -3
- package/dist/{edit-HTLLYECP.js → edit-WEUFBORT.js} +33 -35
- package/dist/{edit-KAKVPHZZ.js → edit-WN2Q3TOX.js} +4 -4
- package/dist/{edit-3E4ZO7HT.js → edit-ZGAOUZYP.js} +33 -35
- package/dist/{edit-522DG3BY.js → edit-ZOLSAIKF.js} +3 -3
- package/dist/{edit-OKU6FMHJ.js → edit-ZORE6RUD.js} +25 -26
- package/dist/{edit-budget-L3CCEWNF.js → edit-budget-D22WMVYR.js} +3 -3
- package/dist/{edit-inventory-item-ZKXXL3QK.js → edit-inventory-item-QMYWEBZ3.js} +3 -3
- package/dist/{edit-inventory-item-attributes-GSKUMORD.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-G2L6LEVO.js → fulfillment-providers-CMU2JB5X.js} +39 -40
- package/dist/index.css +64 -33
- package/dist/index.js +334 -243
- package/dist/{offer-inventory-batch-page-BD6PMDLW.js → inventory-4JKLAZ2Q.js} +18 -18
- package/dist/{inventory-WSFLTA6Z.js → inventory-FKEXULLT.js} +8 -8
- package/dist/{invite-2673PU4I.js → invite-3R2CEWLN.js} +23 -24
- package/dist/{invite-HRXZ5YBP.js → invite-MNAX6EUC.js} +38 -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-XHH5DVIR.js → manage-locations-RWGDXXJQ.js} +3 -3
- package/dist/{media-J22P2DK4.js → media-P6WSFHY4.js} +31 -31
- package/dist/media-YB4G5CMV.js +316 -0
- package/dist/{metadata-Q74OJWUD.js → metadata-5Q6FLVX4.js} +27 -28
- package/dist/{metadata-D6M66NQK.js → metadata-6OYHLPLA.js} +25 -26
- package/dist/{metadata-YVHJPDLD.js → metadata-ADXGD4Y6.js} +25 -26
- package/dist/{metadata-REQIFWWH.js → metadata-J447GEBP.js} +27 -28
- package/dist/{metadata-NIDIBXJT.js → metadata-VTQ2CGZX.js} +27 -28
- package/dist/{offer-create-page-E4FLSDJQ.js → offer-create-page-ACPKTNHA.js} +244 -265
- 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-MK2RIFD4.js → onboarding-TUGXFOA6.js} +23 -24
- package/dist/orders-PJSJNGZS.js +63 -0
- package/dist/{organization-XO3T2K2X.js → organization-YIOAVFHN.js} +26 -27
- package/dist/{organize-Z7JTTDH4.js → organize-BTA7NJD2.js} +4 -4
- package/dist/{organize-5XRZWD5C.js → organize-OWT5QSJR.js} +4 -4
- package/dist/pages/index.d.ts +232 -232
- package/dist/pages/index.js +81 -82
- package/dist/{payment-details-CFTX3QDL.js → payment-details-K2XFATEL.js} +24 -25
- package/dist/{payouts-7Q7D4FET.js → payouts-K5IDTJV3.js} +8 -8
- package/dist/{price-lists-6TFLA53G.js → price-lists-DNPIPDAW.js} +11 -11
- package/dist/{offer-pricing-edit-page-4TINK42V.js → pricing-5VUPPNKS.js} +21 -19
- package/dist/{pricing-ECXV6K7G.js → pricing-J5FIDZIY.js} +28 -29
- package/dist/{product-tags-5O7ZG6SA.js → product-tags-SJYIGXEV.js} +42 -42
- package/dist/{product-types-PKUEL7X5.js → product-types-4PTJW5DE.js} +8 -8
- package/dist/product-variant-detail-FO6J3RFA.js +371 -0
- package/dist/{product-variant-edit-WZNO4CQX.js → product-variant-edit-55TAIBZO.js} +45 -27
- package/dist/{products-BM3IIH5P.js → products-EQMANSO6.js} +39 -40
- package/dist/products-XM57LXJK.js +92 -0
- package/dist/{professional-details-ED4HNYXY.js → professional-details-WWZPTXSX.js} +24 -25
- package/dist/{profile-6TGCNNUU.js → profile-5IADQ727.js} +27 -28
- package/dist/{promotions-AZM7JQAJ.js → promotions-BYW6TZ5B.js} +10 -10
- package/dist/{receive-2GFZTVNC.js → receive-MTXKKPKZ.js} +62 -20
- package/dist/{refund-IGMSXQNX.js → refund-3IXGYA7W.js} +8 -8
- package/dist/{register-ADZCPWEV.js → register-U5PQZATC.js} +25 -26
- package/dist/{reset-password-RGWK33Q7.js → reset-password-SKUJJLSV.js} +3 -3
- package/dist/{return-reasons-QJRA2ZX6.js → return-reasons-QDPSIJG3.js} +16 -15
- package/dist/{sales-channels-U55MUDQP.js → sales-channels-GBSTCWVP.js} +10 -11
- package/dist/{sales-channels-CZDU7VTE.js → sales-channels-N4NE3FXP.js} +14 -15
- package/dist/{settings-2GCQQTO6.js → settings-ZUBBFS67.js} +49 -49
- package/dist/{shipment-HWQHMX2L.js → shipment-TKSCPC3M.js} +24 -25
- package/dist/shipping-DODEUYOQ.js +125 -0
- package/dist/{shipping-profile-ZP7M6VSS.js → shipping-profile-O4JMJLN7.js} +5 -9
- package/dist/shipping-profiles-4TJ4IH6U.js +46 -0
- package/dist/{stock-MQA7PRO6.js → stock-GYK2GHJN.js} +27 -28
- package/dist/{store-5ZHZR4JI.js → store-XWOALZ5Q.js} +34 -35
- package/dist/{store-closure-H5WHV3LA.js → store-closure-46B3XZ2I.js} +24 -25
- package/dist/{store-select-PZS556FB.js → store-select-E77E3ZY7.js} +24 -25
- package/dist/{tax-regions-HDLBFZVG.js → tax-regions-S2LFRTMP.js} +9 -9
- package/dist/{team-CLKJCZNH.js → team-N2C5JPSU.js} +35 -36
- package/package.json +12 -12
- package/dist/[id]-B4YZTANM.js +0 -1571
- package/dist/[id]-FE5GYYVZ.js +0 -481
- package/dist/allocate-items-TCM5A55Y.js +0 -548
- package/dist/attributes-SZP2MM5L.js +0 -278
- package/dist/breadcrumb-5NP23D6X.js +0 -34
- package/dist/breadcrumb-EVZIOB2G.js +0 -47
- package/dist/breadcrumb-TNJSGX4T.js +0 -48
- package/dist/chunk-27KRIXMQ.js +0 -71
- package/dist/chunk-BDZOSMAX.js +0 -23
- package/dist/chunk-CFRWIQIZ.js +0 -43
- package/dist/chunk-FP6U6BPH.js +0 -61
- package/dist/chunk-RXV7INUV.js +0 -426
- package/dist/chunk-T6LHVNWO.js +0 -27
- package/dist/collections-URH2TCWJ.js +0 -69
- package/dist/create-7R6CZU53.js +0 -215
- package/dist/create-Z5VPBELS.js +0 -76
- package/dist/edit-GQNIINRR.js +0 -192
- package/dist/edit-XSICGAVO.js +0 -176
- package/dist/fulfillment-76IVZ266.js +0 -567
- package/dist/loader-VDYPD3RI.js +0 -31
- package/dist/login-TWUBU6I6.js +0 -40
- package/dist/metadata-5BPOBBU2.js +0 -45
- package/dist/offer-detail-page-6SIBQTLP.js +0 -492
- package/dist/offer-edit-page-3MO566RP.js +0 -151
- package/dist/offers-GVN5LCK6.js +0 -32
- package/dist/orders-TVQDR4OJ.js +0 -64
- package/dist/product-variant-detail-PUWOMVHQ.js +0 -210
- package/dist/products-XE5YPQ66.js +0 -93
- package/dist/shipping-profiles-C5WBXWZ2.js +0 -47
|
@@ -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";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-ZA2KFUFR.js";
|
|
11
11
|
import {
|
|
12
12
|
sdk
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LXZXXOJ3.js";
|
|
14
14
|
|
|
15
15
|
// src/hooks/api/orders.tsx
|
|
16
16
|
import {
|
|
@@ -194,6 +194,14 @@ var useCancelOrder = (orderId, options) => {
|
|
|
194
194
|
...options
|
|
195
195
|
});
|
|
196
196
|
};
|
|
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`),
|
|
201
|
+
...options
|
|
202
|
+
});
|
|
203
|
+
return { commission_lines: data?.commission_lines ?? [], ...rest };
|
|
204
|
+
};
|
|
197
205
|
|
|
198
206
|
export {
|
|
199
207
|
useReservationItems,
|
|
@@ -207,5 +215,6 @@ export {
|
|
|
207
215
|
useCancelOrderFulfillment,
|
|
208
216
|
useCreateOrderShipment,
|
|
209
217
|
useMarkOrderFulfillmentAsDelivered,
|
|
210
|
-
useCancelOrder
|
|
218
|
+
useCancelOrder,
|
|
219
|
+
useOrderCommissionLines
|
|
211
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-BXRNZS5K.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";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ordersQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6FDPVW7Y.js";
|
|
4
4
|
import {
|
|
5
5
|
queryClient
|
|
6
6
|
} from "./chunk-RHKRREUU.js";
|
|
7
7
|
import {
|
|
8
8
|
sdk
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LXZXXOJ3.js";
|
|
10
10
|
|
|
11
11
|
// src/hooks/api/order-edits.tsx
|
|
12
12
|
import { useMutation } from "@tanstack/react-query";
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CUSTOMER_GROUP_DETAIL_FIELDS
|
|
3
|
+
} from "./chunk-SPFLYPY6.js";
|
|
4
|
+
import {
|
|
5
|
+
useCustomerGroup
|
|
6
|
+
} from "./chunk-OYUJYPDF.js";
|
|
7
|
+
|
|
8
|
+
// src/pages/customer-groups/customer-group-detail/breadcrumb.tsx
|
|
9
|
+
import { jsx } from "react/jsx-runtime";
|
|
10
|
+
var CustomerGroupDetailBreadcrumb = (props) => {
|
|
11
|
+
const { id } = props.params || {};
|
|
12
|
+
const { customer_group } = useCustomerGroup(
|
|
13
|
+
id,
|
|
14
|
+
{
|
|
15
|
+
fields: CUSTOMER_GROUP_DETAIL_FIELDS
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
initialData: props.data,
|
|
19
|
+
enabled: Boolean(id)
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
if (!customer_group) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return /* @__PURE__ */ jsx("span", { children: customer_group.name });
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export {
|
|
29
|
+
CustomerGroupDetailBreadcrumb
|
|
30
|
+
};
|