@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
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CustomerGroupDetailPage
|
|
3
|
+
} from "./chunk-EDV4MTTT.js";
|
|
4
|
+
import "./chunk-SPFLYPY6.js";
|
|
5
|
+
import "./chunk-GJM5XI3E.js";
|
|
6
|
+
import "./chunk-GRH7C3QN.js";
|
|
7
|
+
import {
|
|
8
|
+
useCustomerGroupTableQuery
|
|
9
|
+
} from "./chunk-VKOE5J66.js";
|
|
10
|
+
import "./chunk-QWJTJSIT.js";
|
|
11
|
+
import {
|
|
12
|
+
useCustomerGroupTableFilters
|
|
13
|
+
} from "./chunk-CMHI2RPL.js";
|
|
14
|
+
import "./chunk-SYNUA6LQ.js";
|
|
15
|
+
import "./chunk-DB6ANJBO.js";
|
|
16
|
+
import "./chunk-PHOCVOZ5.js";
|
|
17
|
+
import "./chunk-FQERBIVS.js";
|
|
18
|
+
import {
|
|
19
|
+
_DataTable,
|
|
20
|
+
useDataTable
|
|
21
|
+
} from "./chunk-W3UHAQCV.js";
|
|
22
|
+
import "./chunk-YN3FGNJM.js";
|
|
23
|
+
import "./chunk-KCHYLLVG.js";
|
|
24
|
+
import "./chunk-634XVU3D.js";
|
|
25
|
+
import {
|
|
26
|
+
SingleColumnPage
|
|
27
|
+
} from "./chunk-YV6MK4PZ.js";
|
|
28
|
+
import "./chunk-THHRRYRS.js";
|
|
29
|
+
import {
|
|
30
|
+
useDate
|
|
31
|
+
} from "./chunk-LRD242C7.js";
|
|
32
|
+
import "./chunk-INNFZYX2.js";
|
|
33
|
+
import {
|
|
34
|
+
ActionMenu
|
|
35
|
+
} from "./chunk-BDGZ4EQO.js";
|
|
36
|
+
import "./chunk-LAVHRER2.js";
|
|
37
|
+
import "./chunk-QHQWEERJ.js";
|
|
38
|
+
import "./chunk-Y7QKP6QU.js";
|
|
39
|
+
import {
|
|
40
|
+
useCustomerGroups,
|
|
41
|
+
useDeleteCustomerGroupLazy
|
|
42
|
+
} from "./chunk-OYUJYPDF.js";
|
|
43
|
+
import "./chunk-RHKRREUU.js";
|
|
44
|
+
import "./chunk-ZA2KFUFR.js";
|
|
45
|
+
import "./chunk-LXZXXOJ3.js";
|
|
46
|
+
import "./chunk-NBMM2TZK.js";
|
|
47
|
+
|
|
48
|
+
// src/pages/customer-groups/customer-group-list/customer-group-list.tsx
|
|
49
|
+
import { Children as Children2 } from "react";
|
|
50
|
+
|
|
51
|
+
// src/pages/customer-groups/customer-group-list/components/customer-group-list-table/customer-group-list-table.tsx
|
|
52
|
+
import { PencilSquare, Trash, UserGroup } from "@medusajs/icons";
|
|
53
|
+
import { Button, Container, Heading, toast, usePrompt } from "@medusajs/ui";
|
|
54
|
+
import { keepPreviousData } from "@tanstack/react-query";
|
|
55
|
+
import { createColumnHelper } from "@tanstack/react-table";
|
|
56
|
+
import { Children, useCallback, useMemo } from "react";
|
|
57
|
+
import { useTranslation } from "react-i18next";
|
|
58
|
+
import { Link, Outlet } from "react-router-dom";
|
|
59
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
60
|
+
var PAGE_SIZE = 20;
|
|
61
|
+
var CustomerGroupListTitle = () => {
|
|
62
|
+
const { t } = useTranslation();
|
|
63
|
+
return /* @__PURE__ */ jsx(Heading, { "data-testid": "customer-group-list-heading", children: t("customerGroups.domain") });
|
|
64
|
+
};
|
|
65
|
+
var CustomerGroupListCreateButton = () => {
|
|
66
|
+
const { t } = useTranslation();
|
|
67
|
+
return /* @__PURE__ */ jsx(Link, { to: "/customer-groups/create", "data-testid": "customer-group-list-create-link", children: /* @__PURE__ */ jsx(Button, { size: "small", variant: "secondary", "data-testid": "customer-group-list-create-button", children: t("actions.create") }) });
|
|
68
|
+
};
|
|
69
|
+
var CustomerGroupListActions = ({
|
|
70
|
+
children
|
|
71
|
+
}) => {
|
|
72
|
+
return /* @__PURE__ */ jsx("div", { className: "flex items-center gap-x-2", children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsx(CustomerGroupListCreateButton, {}) });
|
|
73
|
+
};
|
|
74
|
+
var CustomerGroupListHeader = ({
|
|
75
|
+
children
|
|
76
|
+
}) => {
|
|
77
|
+
return /* @__PURE__ */ jsx(
|
|
78
|
+
"div",
|
|
79
|
+
{
|
|
80
|
+
className: "flex items-center justify-between px-6 py-4",
|
|
81
|
+
"data-testid": "customer-group-list-header",
|
|
82
|
+
children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
83
|
+
/* @__PURE__ */ jsx(CustomerGroupListTitle, {}),
|
|
84
|
+
/* @__PURE__ */ jsx(CustomerGroupListActions, {})
|
|
85
|
+
] })
|
|
86
|
+
}
|
|
87
|
+
);
|
|
88
|
+
};
|
|
89
|
+
var CustomerGroupListDataTable = () => {
|
|
90
|
+
const { t } = useTranslation();
|
|
91
|
+
const { searchParams, raw } = useCustomerGroupTableQuery({
|
|
92
|
+
pageSize: PAGE_SIZE
|
|
93
|
+
});
|
|
94
|
+
const { customer_groups, count, isPending, isError, error } = useCustomerGroups(
|
|
95
|
+
{
|
|
96
|
+
...searchParams,
|
|
97
|
+
order: searchParams.order || "name",
|
|
98
|
+
fields: "id,name,created_at,updated_at,customers.id"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
placeholderData: keepPreviousData
|
|
102
|
+
}
|
|
103
|
+
);
|
|
104
|
+
const filters = useCustomerGroupTableFilters();
|
|
105
|
+
const columns = useColumns();
|
|
106
|
+
const { table } = useDataTable({
|
|
107
|
+
data: customer_groups ?? [],
|
|
108
|
+
columns,
|
|
109
|
+
count,
|
|
110
|
+
enablePagination: true,
|
|
111
|
+
getRowId: (row) => row.id,
|
|
112
|
+
pageSize: PAGE_SIZE
|
|
113
|
+
});
|
|
114
|
+
if (isError) {
|
|
115
|
+
throw error;
|
|
116
|
+
}
|
|
117
|
+
return /* @__PURE__ */ jsx(
|
|
118
|
+
_DataTable,
|
|
119
|
+
{
|
|
120
|
+
table,
|
|
121
|
+
columns,
|
|
122
|
+
pageSize: PAGE_SIZE,
|
|
123
|
+
count,
|
|
124
|
+
isLoading: isPending,
|
|
125
|
+
navigateTo: (row) => `/customer-groups/${row.original.id}`,
|
|
126
|
+
search: true,
|
|
127
|
+
filters,
|
|
128
|
+
queryObject: raw,
|
|
129
|
+
orderBy: [
|
|
130
|
+
{ key: "name", label: t("fields.name") },
|
|
131
|
+
{ key: "created_at", label: t("fields.createdAt") },
|
|
132
|
+
{ key: "updated_at", label: t("fields.updatedAt") }
|
|
133
|
+
],
|
|
134
|
+
defaultOrderBy: "name",
|
|
135
|
+
noRecords: {
|
|
136
|
+
icon: /* @__PURE__ */ jsx(UserGroup, { className: "text-ui-fg-subtle" }),
|
|
137
|
+
title: t("customerGroups.list.empty.heading"),
|
|
138
|
+
message: t("customerGroups.list.empty.description"),
|
|
139
|
+
action: {
|
|
140
|
+
to: "/customer-groups/create",
|
|
141
|
+
label: t("actions.create")
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
);
|
|
146
|
+
};
|
|
147
|
+
var CustomerGroupListTable = ({
|
|
148
|
+
children
|
|
149
|
+
}) => {
|
|
150
|
+
return /* @__PURE__ */ jsxs(
|
|
151
|
+
Container,
|
|
152
|
+
{
|
|
153
|
+
className: "divide-y p-0",
|
|
154
|
+
"data-testid": "customer-group-list-container",
|
|
155
|
+
children: [
|
|
156
|
+
Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
157
|
+
/* @__PURE__ */ jsx(CustomerGroupListHeader, {}),
|
|
158
|
+
/* @__PURE__ */ jsx(CustomerGroupListDataTable, {})
|
|
159
|
+
] }),
|
|
160
|
+
/* @__PURE__ */ jsx(Outlet, {})
|
|
161
|
+
]
|
|
162
|
+
}
|
|
163
|
+
);
|
|
164
|
+
};
|
|
165
|
+
var CustomerGroupActions = ({
|
|
166
|
+
group
|
|
167
|
+
}) => {
|
|
168
|
+
const { t } = useTranslation();
|
|
169
|
+
const prompt = usePrompt();
|
|
170
|
+
const { mutateAsync: deleteCustomerGroup } = useDeleteCustomerGroupLazy();
|
|
171
|
+
const handleDelete = useCallback(async () => {
|
|
172
|
+
const res = await prompt({
|
|
173
|
+
title: t("customerGroups.delete.title"),
|
|
174
|
+
description: t("customerGroups.delete.description", {
|
|
175
|
+
name: group.name
|
|
176
|
+
}),
|
|
177
|
+
verificationText: group.name ?? void 0,
|
|
178
|
+
verificationInstruction: t("general.typeToConfirm"),
|
|
179
|
+
confirmText: t("actions.delete"),
|
|
180
|
+
cancelText: t("actions.cancel")
|
|
181
|
+
});
|
|
182
|
+
if (!res) {
|
|
183
|
+
return;
|
|
184
|
+
}
|
|
185
|
+
await deleteCustomerGroup(
|
|
186
|
+
{ id: group.id },
|
|
187
|
+
{
|
|
188
|
+
onSuccess: () => {
|
|
189
|
+
toast.success(
|
|
190
|
+
t("customerGroups.delete.successToast", { name: group.name })
|
|
191
|
+
);
|
|
192
|
+
},
|
|
193
|
+
onError: (e) => {
|
|
194
|
+
toast.error(e.message);
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
);
|
|
198
|
+
}, [t, prompt, deleteCustomerGroup, group]);
|
|
199
|
+
return /* @__PURE__ */ jsx(
|
|
200
|
+
ActionMenu,
|
|
201
|
+
{
|
|
202
|
+
groups: [
|
|
203
|
+
{
|
|
204
|
+
actions: [
|
|
205
|
+
{
|
|
206
|
+
icon: /* @__PURE__ */ jsx(PencilSquare, {}),
|
|
207
|
+
label: t("actions.edit"),
|
|
208
|
+
to: `/customer-groups/${group.id}/edit`
|
|
209
|
+
}
|
|
210
|
+
]
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
actions: [
|
|
214
|
+
{
|
|
215
|
+
icon: /* @__PURE__ */ jsx(Trash, {}),
|
|
216
|
+
label: t("actions.delete"),
|
|
217
|
+
onClick: handleDelete
|
|
218
|
+
}
|
|
219
|
+
]
|
|
220
|
+
}
|
|
221
|
+
]
|
|
222
|
+
}
|
|
223
|
+
);
|
|
224
|
+
};
|
|
225
|
+
var columnHelper = createColumnHelper();
|
|
226
|
+
var useColumns = () => {
|
|
227
|
+
const { t } = useTranslation();
|
|
228
|
+
const { getFullDate } = useDate();
|
|
229
|
+
return useMemo(
|
|
230
|
+
() => [
|
|
231
|
+
columnHelper.accessor("name", {
|
|
232
|
+
header: t("fields.name")
|
|
233
|
+
}),
|
|
234
|
+
columnHelper.display({
|
|
235
|
+
id: "customers",
|
|
236
|
+
header: t("customers.domain"),
|
|
237
|
+
cell: ({ row }) => {
|
|
238
|
+
return /* @__PURE__ */ jsx("span", { children: row.original.customers?.length ?? 0 });
|
|
239
|
+
}
|
|
240
|
+
}),
|
|
241
|
+
columnHelper.accessor("created_at", {
|
|
242
|
+
header: t("fields.createdAt"),
|
|
243
|
+
cell: ({ row }) => {
|
|
244
|
+
return /* @__PURE__ */ jsx("span", { children: getFullDate({
|
|
245
|
+
date: row.original.created_at,
|
|
246
|
+
includeTime: true
|
|
247
|
+
}) });
|
|
248
|
+
}
|
|
249
|
+
}),
|
|
250
|
+
columnHelper.accessor("updated_at", {
|
|
251
|
+
header: t("fields.updatedAt"),
|
|
252
|
+
cell: ({ row }) => {
|
|
253
|
+
return /* @__PURE__ */ jsx("span", { children: getFullDate({
|
|
254
|
+
date: row.original.updated_at,
|
|
255
|
+
includeTime: true
|
|
256
|
+
}) });
|
|
257
|
+
}
|
|
258
|
+
}),
|
|
259
|
+
columnHelper.display({
|
|
260
|
+
id: "actions",
|
|
261
|
+
cell: ({ row }) => /* @__PURE__ */ jsx(CustomerGroupActions, { group: row.original })
|
|
262
|
+
})
|
|
263
|
+
],
|
|
264
|
+
[t, getFullDate]
|
|
265
|
+
);
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
// src/pages/customer-groups/customer-group-list/customer-group-list.tsx
|
|
269
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
270
|
+
var Root = ({ children }) => {
|
|
271
|
+
return /* @__PURE__ */ jsx2(SingleColumnPage, { children: Children2.count(children) > 0 ? children : /* @__PURE__ */ jsx2(CustomerGroupListTable, {}) });
|
|
272
|
+
};
|
|
273
|
+
var CustomerGroupListPage = Object.assign(Root, {
|
|
274
|
+
Table: CustomerGroupListTable,
|
|
275
|
+
Header: CustomerGroupListHeader,
|
|
276
|
+
HeaderTitle: CustomerGroupListTitle,
|
|
277
|
+
HeaderActions: CustomerGroupListActions,
|
|
278
|
+
HeaderCreateButton: CustomerGroupListCreateButton,
|
|
279
|
+
DataTable: CustomerGroupListDataTable
|
|
280
|
+
});
|
|
281
|
+
export {
|
|
282
|
+
CustomerGroupDetailPage,
|
|
283
|
+
CustomerGroupListPage
|
|
284
|
+
};
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CustomerListPage
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-EAAZV3B7.js";
|
|
4
4
|
import "./chunk-GJM5XI3E.js";
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
import "./chunk-GRH7C3QN.js";
|
|
6
|
+
import "./chunk-QWJTJSIT.js";
|
|
7
7
|
import "./chunk-SYNUA6LQ.js";
|
|
8
|
-
import "./chunk-FQERBIVS.js";
|
|
9
8
|
import "./chunk-DB6ANJBO.js";
|
|
10
9
|
import "./chunk-PHOCVOZ5.js";
|
|
11
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-FQERBIVS.js";
|
|
11
|
+
import "./chunk-W3UHAQCV.js";
|
|
12
12
|
import "./chunk-YN3FGNJM.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-KCHYLLVG.js";
|
|
14
|
+
import "./chunk-634XVU3D.js";
|
|
15
15
|
import "./chunk-YV6MK4PZ.js";
|
|
16
16
|
import "./chunk-THHRRYRS.js";
|
|
17
17
|
import "./chunk-LRD242C7.js";
|
|
18
18
|
import "./chunk-INNFZYX2.js";
|
|
19
|
-
import "./chunk-LWJF63JW.js";
|
|
20
19
|
import "./chunk-QHQWEERJ.js";
|
|
21
20
|
import "./chunk-Y7QKP6QU.js";
|
|
21
|
+
import "./chunk-OYUJYPDF.js";
|
|
22
22
|
import "./chunk-RHKRREUU.js";
|
|
23
23
|
import "./chunk-ZA2KFUFR.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-LXZXXOJ3.js";
|
|
25
25
|
import "./chunk-NBMM2TZK.js";
|
|
26
26
|
export {
|
|
27
27
|
CustomerListPage
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
FileUpload,
|
|
9
9
|
MediaSchema
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JDNXS37G.js";
|
|
11
11
|
import "./chunk-AJLGY3LQ.js";
|
|
12
12
|
import "./chunk-SMQT3ZNO.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-KZQFIPY2.js";
|
|
14
14
|
import "./chunk-TKGWSUEI.js";
|
|
15
15
|
import {
|
|
16
16
|
KeyboundForm
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SITRHMZZ.js";
|
|
18
18
|
import {
|
|
19
19
|
RouteDrawer,
|
|
20
20
|
useRouteModal
|
|
@@ -22,38 +22,38 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
Form
|
|
24
24
|
} from "./chunk-3QSRE5LS.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-DSTHXHJ5.js";
|
|
26
|
+
import "./chunk-BQHVM46E.js";
|
|
27
|
+
import "./chunk-QIF4QE7T.js";
|
|
28
|
+
import "./chunk-VE6GRIIN.js";
|
|
29
|
+
import "./chunk-7MARNXFG.js";
|
|
30
|
+
import "./chunk-MNHP6YRC.js";
|
|
31
|
+
import "./chunk-NTJ3BMOE.js";
|
|
32
|
+
import "./chunk-5PAUN3PM.js";
|
|
33
|
+
import "./chunk-ZLHCZ5F2.js";
|
|
34
|
+
import "./chunk-GZ4KTAWS.js";
|
|
35
|
+
import "./chunk-PUAWN7SS.js";
|
|
35
36
|
import {
|
|
36
37
|
useMe,
|
|
37
38
|
useUpdateSeller
|
|
38
|
-
} from "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
50
|
-
import "./chunk-JAUZ73XE.js";
|
|
39
|
+
} from "./chunk-MVEHWM7K.js";
|
|
40
|
+
import "./chunk-OYUJYPDF.js";
|
|
41
|
+
import "./chunk-O7BGGWW6.js";
|
|
42
|
+
import "./chunk-KIURBTC4.js";
|
|
43
|
+
import "./chunk-3SH24DGG.js";
|
|
44
|
+
import "./chunk-JR7AABT5.js";
|
|
45
|
+
import "./chunk-ZQCCVCHB.js";
|
|
46
|
+
import "./chunk-5BQO3YQP.js";
|
|
47
|
+
import "./chunk-EPRYM3FA.js";
|
|
48
|
+
import "./chunk-6FDPVW7Y.js";
|
|
49
|
+
import "./chunk-JJP6AKMV.js";
|
|
50
|
+
import "./chunk-G6YNCIVF.js";
|
|
51
51
|
import "./chunk-A5DJIOHN.js";
|
|
52
52
|
import "./chunk-RHKRREUU.js";
|
|
53
53
|
import "./chunk-ZA2KFUFR.js";
|
|
54
54
|
import {
|
|
55
|
-
|
|
56
|
-
} from "./chunk-
|
|
55
|
+
sdk
|
|
56
|
+
} from "./chunk-LXZXXOJ3.js";
|
|
57
57
|
import "./chunk-NBMM2TZK.js";
|
|
58
58
|
|
|
59
59
|
// src/pages/settings/store/edit/index.tsx
|
|
@@ -156,13 +156,17 @@ var EditStoreForm = ({ seller }) => {
|
|
|
156
156
|
const newBannerFile = values.bannerMedia?.find((m) => m.file);
|
|
157
157
|
try {
|
|
158
158
|
if (newLogoFile) {
|
|
159
|
-
const uploaded = await
|
|
159
|
+
const uploaded = await sdk.vendor.uploads.mutate({
|
|
160
|
+
files: [newLogoFile.file]
|
|
161
|
+
});
|
|
160
162
|
logoUrl = uploaded.files?.[0]?.url || null;
|
|
161
163
|
} else if (values.media?.length) {
|
|
162
164
|
logoUrl = values.media[0].url;
|
|
163
165
|
}
|
|
164
166
|
if (newBannerFile) {
|
|
165
|
-
const uploaded = await
|
|
167
|
+
const uploaded = await sdk.vendor.uploads.mutate({
|
|
168
|
+
files: [newBannerFile.file]
|
|
169
|
+
});
|
|
166
170
|
bannerUrl = uploaded.files?.[0]?.url || null;
|
|
167
171
|
} else if (values.bannerMedia?.length) {
|
|
168
172
|
bannerUrl = values.bannerMedia[0].url;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useReturnReason,
|
|
3
3
|
useUpdateReturnReason
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZLYGEART.js";
|
|
5
5
|
import "./chunk-TKGWSUEI.js";
|
|
6
6
|
import {
|
|
7
7
|
KeyboundForm
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-SITRHMZZ.js";
|
|
9
9
|
import {
|
|
10
10
|
RouteDrawer,
|
|
11
11
|
useRouteModal
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-3QSRE5LS.js";
|
|
16
16
|
import "./chunk-RHKRREUU.js";
|
|
17
17
|
import "./chunk-ZA2KFUFR.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-LXZXXOJ3.js";
|
|
19
19
|
import "./chunk-NBMM2TZK.js";
|
|
20
20
|
|
|
21
21
|
// src/pages/settings/return-reasons/[id]/edit/index.tsx
|
|
@@ -1,50 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RulesFormField
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TJKZ5QCJ.js";
|
|
4
4
|
import "./chunk-OVPAOBZB.js";
|
|
5
5
|
import "./chunk-VBRTC2VU.js";
|
|
6
6
|
import "./chunk-TKGWSUEI.js";
|
|
7
7
|
import {
|
|
8
8
|
KeyboundForm
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SITRHMZZ.js";
|
|
10
10
|
import {
|
|
11
11
|
RouteDrawer,
|
|
12
12
|
useRouteModal
|
|
13
13
|
} from "./chunk-GDWBOQI5.js";
|
|
14
14
|
import "./chunk-3QSRE5LS.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-BQHVM46E.js";
|
|
16
|
+
import "./chunk-QIF4QE7T.js";
|
|
17
|
+
import "./chunk-VE6GRIIN.js";
|
|
18
|
+
import "./chunk-7MARNXFG.js";
|
|
19
|
+
import "./chunk-MNHP6YRC.js";
|
|
20
|
+
import "./chunk-NTJ3BMOE.js";
|
|
21
|
+
import "./chunk-5PAUN3PM.js";
|
|
22
22
|
import {
|
|
23
23
|
usePromotion,
|
|
24
24
|
usePromotionAddRules,
|
|
25
25
|
usePromotionRemoveRules,
|
|
26
26
|
usePromotionUpdateRules,
|
|
27
27
|
useUpdatePromotion
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
31
|
-
import "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-
|
|
35
|
-
import "./chunk-
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-
|
|
38
|
-
import "./chunk-
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
41
|
-
import "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-JAUZ73XE.js";
|
|
28
|
+
} from "./chunk-ZLHCZ5F2.js";
|
|
29
|
+
import "./chunk-GZ4KTAWS.js";
|
|
30
|
+
import "./chunk-PUAWN7SS.js";
|
|
31
|
+
import "./chunk-MVEHWM7K.js";
|
|
32
|
+
import "./chunk-OYUJYPDF.js";
|
|
33
|
+
import "./chunk-O7BGGWW6.js";
|
|
34
|
+
import "./chunk-KIURBTC4.js";
|
|
35
|
+
import "./chunk-3SH24DGG.js";
|
|
36
|
+
import "./chunk-JR7AABT5.js";
|
|
37
|
+
import "./chunk-ZQCCVCHB.js";
|
|
38
|
+
import "./chunk-5BQO3YQP.js";
|
|
39
|
+
import "./chunk-EPRYM3FA.js";
|
|
40
|
+
import "./chunk-6FDPVW7Y.js";
|
|
41
|
+
import "./chunk-JJP6AKMV.js";
|
|
42
|
+
import "./chunk-G6YNCIVF.js";
|
|
44
43
|
import "./chunk-A5DJIOHN.js";
|
|
45
44
|
import "./chunk-RHKRREUU.js";
|
|
46
45
|
import "./chunk-ZA2KFUFR.js";
|
|
47
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-LXZXXOJ3.js";
|
|
48
47
|
import "./chunk-NBMM2TZK.js";
|
|
49
48
|
|
|
50
49
|
// src/pages/promotions/common/edit-rules/edit-rules.tsx
|