@mercurjs/vendor 2.0.0 → 2.0.2
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]-S6EPH4OO.js → [id]-6WYSWXWC.js} +30 -28
- package/dist/{[id]-SJXBJLAT.js → [id]-CLZ7BUYL.js} +9 -8
- package/dist/{[id]-47FGVJYM.js → [id]-DCCF7277.js} +35 -33
- package/dist/{[id]-ARXBXGNZ.js → [id]-EJAHMOOE.js} +33 -31
- package/dist/{[id]-HD76VJ2P.js → [id]-ENTJSLN2.js} +16 -15
- package/dist/{[id]-XY3A3EMF.js → [id]-LZPT5Y55.js} +32 -31
- package/dist/{[id]-Z4P7XA4G.js → [id]-OGHRZ2VY.js} +232 -103
- package/dist/{[id]-FLIHBDAS.js → [id]-PHS2WYFX.js} +33 -31
- package/dist/{[id]-JF6CCBRE.js → [id]-T64V4G6T.js} +19 -18
- package/dist/{[id]-IWPWKLOH.js → [id]-TLZZ53G7.js} +13 -12
- package/dist/{[id]-6HM66I3E.js → [id]-UAOAQVEM.js} +48 -45
- package/dist/{[id]-Q6HILUAG.js → [id]-VKG2WEIR.js} +39 -37
- package/dist/{[id]-VTFOP3BF.js → [id]-WRA56ZMU.js} +5 -5
- package/dist/{[id]-MIV4U5UW.js → [id]-XRGNT7CY.js} +7 -7
- package/dist/{[location_id]-AWDD2VHW.js → [location_id]-7ZUB2TTU.js} +14 -14
- package/dist/{[province_id]-36QJ2FKC.js → [province_id]-XGA44S7P.js} +30 -29
- package/dist/add-7ZTE42IE.js +158 -0
- package/dist/{add-YUANWTIL.js → add-AKC7LTK3.js} +49 -46
- package/dist/{add-customer-groups-7SLONTS2.js → add-customer-groups-BRC3DKQ2.js} +29 -27
- package/dist/{add-products-ISR3DRPQ.js → add-products-ZSULNZVI.js} +31 -29
- package/dist/{add-promotions-FZRDYHYX.js → add-promotions-TNFVT5ST.js} +12 -11
- package/dist/{add-to-campaign-V6D7JKRS.js → add-to-campaign-HL6NGRR4.js} +6 -6
- package/dist/address-3DSJESKM.js +249 -0
- package/dist/{adjust-inventory-P7AB7VIB.js → adjust-inventory-H4EUP7J3.js} +4 -4
- package/dist/{allocate-items-QAS5PZLR.js → allocate-items-6OAKG25R.js} +8 -8
- package/dist/{areas-Y7VDWH7G.js → areas-JO6L3M7Y.js} +11 -10
- package/dist/{attributes-UEM2VJKV.js → attributes-WRZYJEYN.js} +5 -4
- package/dist/{breadcrumb-6NAAOPIY.js → breadcrumb-3Z7KZG62.js} +4 -4
- package/dist/{breadcrumb-5OTOCYNL.js → breadcrumb-5BXDYVRO.js} +4 -4
- package/dist/{breadcrumb-3QTVWXZB.js → breadcrumb-BS7Y5OKF.js} +5 -5
- package/dist/{breadcrumb-CIGKLKKS.js → breadcrumb-D3UDTWGE.js} +3 -3
- package/dist/breadcrumb-D6QNYOAO.js +45 -0
- package/dist/{breadcrumb-OVMEC5OZ.js → breadcrumb-F3BN5753.js} +3 -3
- package/dist/{breadcrumb-MOQ7GI3Z.js → breadcrumb-KQSFIXQ4.js} +3 -3
- package/dist/{breadcrumb-NCBGPQML.js → breadcrumb-M5Z5WA6I.js} +4 -4
- package/dist/{breadcrumb-EOYLR3IQ.js → breadcrumb-OIGGCB3L.js} +3 -3
- package/dist/{breadcrumb-LENACUAA.js → breadcrumb-UAUX7XCV.js} +3 -3
- package/dist/breadcrumb-UH7FAYU2.js +46 -0
- package/dist/{breadcrumb-ASB2YCNV.js → breadcrumb-Y5UW3I4C.js} +3 -3
- package/dist/{breadcrumb-WP34OXGQ.js → breadcrumb-YBBYFQYG.js} +3 -3
- package/dist/breadcrumb-ZMVHXCOX.js +32 -0
- package/dist/bulk-edit-C6WJKURW.js +244 -0
- package/dist/{campaigns-PMVKUFEA.js → campaigns-SF2YDBID.js} +9 -8
- package/dist/{categories-JARCKR7M.js → categories-WRDJAJ2Q.js} +9 -8
- package/dist/{chunk-HUZG6A3X.js → chunk-2POPPFAP.js} +3 -3
- package/dist/{chunk-S5GQ2SES.js → chunk-2SLAVXFY.js} +5 -5
- package/dist/{chunk-JVBLYMY2.js → chunk-32RYSB2V.js} +2 -2
- package/dist/{chunk-VHMGJUYN.js → chunk-3B34B2M2.js} +1 -1
- package/dist/{chunk-BI2WWFPS.js → chunk-3BZBEC3Y.js} +1 -1
- package/dist/{chunk-LMHJRE4A.js → chunk-3DXMZA7M.js} +2 -2
- package/dist/{chunk-Z2WPXJ6J.js → chunk-4DYUQ3G5.js} +2 -2
- package/dist/{chunk-HBQC3YQZ.js → chunk-573EQEW2.js} +1 -1
- package/dist/{chunk-FBZHM2QZ.js → chunk-5BONGICL.js} +5 -5
- package/dist/{chunk-ZZ7VKT2S.js → chunk-5IWBNPZX.js} +766 -204
- package/dist/{chunk-KHHY7EEM.js → chunk-6WY5X4PE.js} +5 -5
- package/dist/{chunk-CUO22GTM.js → chunk-7TIZP4YG.js} +1 -1
- package/dist/{chunk-52I65K53.js → chunk-7XC7ZRG7.js} +17 -129
- package/dist/{chunk-AONKZGWL.js → chunk-ASEVHHCT.js} +3 -3
- package/dist/{chunk-TG3TCIL6.js → chunk-AW4WN2EK.js} +6 -6
- package/dist/{chunk-DDEIH66R.js → chunk-B5326BWT.js} +4 -4
- package/dist/{chunk-O6PRBSFL.js → chunk-BI2AYXZQ.js} +50 -35
- package/dist/{chunk-HUNGNEPY.js → chunk-BOZJOOGW.js} +1 -1
- package/dist/{chunk-AIFLEWO2.js → chunk-BWGPN6XV.js} +1 -1
- package/dist/{chunk-5XOCUDS2.js → chunk-CUMY2VZ5.js} +1 -1
- package/dist/chunk-DLNNTQRY.js +217 -0
- package/dist/{chunk-B2RVONU7.js → chunk-DRAZNW7J.js} +4 -4
- package/dist/{chunk-CVVYQI5F.js → chunk-EBZ5VZEO.js} +1 -1
- package/dist/{chunk-ZPGWTLF2.js → chunk-EFIF2GCZ.js} +4 -4
- package/dist/{chunk-DHADGZJ5.js → chunk-F4OJN2F2.js} +40 -5
- package/dist/{chunk-PYQJ5N25.js → chunk-FEUCCLKR.js} +6 -6
- package/dist/{chunk-JKSPDM7I.js → chunk-FNG7ZA7N.js} +1 -1
- package/dist/{chunk-UXKKD4AD.js → chunk-FQTYHU6G.js} +5 -5
- package/dist/chunk-FX4V5JCF.js +37 -0
- package/dist/{chunk-ZFFA36DB.js → chunk-GCSQEJMD.js} +2 -2
- package/dist/{chunk-NANYVBFI.js → chunk-GJM5XI3E.js} +1 -1
- package/dist/{chunk-W6ZVQJYB.js → chunk-GYV6SKY7.js} +1 -1
- package/dist/chunk-I5K5USJM.js +330 -0
- package/dist/{chunk-J2XP7VRG.js → chunk-IBTTL6EJ.js} +4 -4
- package/dist/{chunk-3LPVUPZZ.js → chunk-IDYGSAHT.js} +1 -1
- package/dist/{chunk-DC2K6CFQ.js → chunk-IQWK723D.js} +1 -1
- package/dist/{chunk-PWZKFTJS.js → chunk-ITQW6CK2.js} +5 -5
- package/dist/{chunk-NWFWI4IE.js → chunk-JKKRKFCS.js} +55 -62
- package/dist/chunk-JQV7CXEC.js +37 -0
- package/dist/{chunk-RH2NI4BC.js → chunk-JRT2U4UI.js} +448 -101
- package/dist/{chunk-4FCZDRAE.js → chunk-JTCUWZ7D.js} +5 -5
- package/dist/chunk-LA6XSPQG.js +3723 -0
- package/dist/{chunk-JXP5YZ77.js → chunk-LHKHQAAY.js} +1 -1
- package/dist/{chunk-TTFCO5HU.js → chunk-LKA7QM6R.js} +7 -7
- package/dist/{chunk-FGCKXH45.js → chunk-LPOAVK6Y.js} +1 -0
- package/dist/{chunk-VGJTARSA.js → chunk-LRARA622.js} +2 -2
- package/dist/chunk-LRD242C7.js +40 -0
- package/dist/{chunk-PADOWAXM.js → chunk-LWJF63JW.js} +1 -1
- package/dist/{chunk-DYUTYBAQ.js → chunk-M6N4ISXL.js} +1 -1
- package/dist/{chunk-2F3H6ORE.js → chunk-MWQQVKRU.js} +1 -1
- package/dist/{chunk-JK5CK6SW.js → chunk-N2WKLVUX.js} +20 -3
- package/dist/{chunk-R65A4P4H.js → chunk-N335VHD3.js} +1 -1
- package/dist/chunk-NBMM2TZK.js +33 -0
- package/dist/{chunk-SI4ALL7W.js → chunk-NBPMNUKZ.js} +1 -1
- package/dist/{chunk-GDMNHL7E.js → chunk-NCABGI3E.js} +6 -6
- package/dist/chunk-NYRRRCJS.js +339 -0
- package/dist/{chunk-QJ7QW3SZ.js → chunk-O7E4KQAK.js} +6 -6
- package/dist/{chunk-NKB6WTBH.js → chunk-OWPZ3CIR.js} +5 -5
- package/dist/{chunk-RE7YXVFG.js → chunk-PCMNEUMV.js} +3 -3
- package/dist/{chunk-CFETU5BI.js → chunk-QHQWEERJ.js} +1 -36
- package/dist/{chunk-WHTS4G5K.js → chunk-QXUKJDZB.js} +1 -1
- package/dist/{chunk-Y224F4UU.js → chunk-RIN4CBRB.js} +0 -1
- package/dist/{chunk-LWVBKUUL.js → chunk-RL7SFZOF.js} +2 -2
- package/dist/{chunk-UYJ65N46.js → chunk-RLETOWCM.js} +5 -5
- package/dist/{chunk-DVPTD7LZ.js → chunk-RMBCBXWD.js} +1 -1
- package/dist/{chunk-A2BNIZ7D.js → chunk-RTAWYMQP.js} +1 -1
- package/dist/{chunk-VJTYMQVA.js → chunk-RUE5BPC2.js} +2 -2
- package/dist/{chunk-EOOK6473.js → chunk-RV5UTYBG.js} +15 -13
- package/dist/chunk-S2Q7PO7I.js +177 -0
- package/dist/{chunk-Y4VBOHAP.js → chunk-S7EKBD2C.js} +3 -3
- package/dist/{chunk-CELHWX5P.js → chunk-SDSEW72R.js} +5 -5
- package/dist/{chunk-4TBDDMFP.js → chunk-SGT6QYWH.js} +1 -1
- package/dist/chunk-STBCWNZQ.js +57 -0
- package/dist/{chunk-LZ7QV42C.js → chunk-SYNUA6LQ.js} +1 -1
- package/dist/{chunk-CTWSWZ4R.js → chunk-T7LEJIIM.js} +4 -4
- package/dist/{chunk-7EM7WET3.js → chunk-TZTKHOEK.js} +4 -4
- package/dist/chunk-UL4O5M4S.js +45 -0
- package/dist/{chunk-AW77UWCZ.js → chunk-VBRTC2VU.js} +13 -4
- package/dist/{chunk-VDWGP2U6.js → chunk-VV6IKGCN.js} +1 -1
- package/dist/{chunk-JKXAL7WR.js → chunk-VXMOPVRH.js} +2 -2
- package/dist/{chunk-RIILGKYR.js → chunk-VXWN37PT.js} +1 -1
- package/dist/{chunk-CDIZEXFJ.js → chunk-WQX4ASK4.js} +6 -4
- package/dist/{chunk-SOZMJA7V.js → chunk-X22KTLZ7.js} +1 -1
- package/dist/{chunk-SDA5NDMT.js → chunk-XZG2HZYW.js} +2 -2
- package/dist/{chunk-SECZTXSU.js → chunk-YQYRAD5C.js} +1 -1
- package/dist/{chunk-WPFTRRWV.js → chunk-ZEVYT6IX.js} +202 -6
- package/dist/chunk-ZWTCVOHQ.js +14 -0
- package/dist/{chunk-NX26QE2O.js → chunk-ZYOXKUKZ.js} +1 -1
- package/dist/chunk-ZZO3INVE.js +9631 -0
- package/dist/collections-2M4RFH4P.js +66 -0
- package/dist/{configuration-RNWBTRAH.js → configuration-O5GDANA7.js} +5 -5
- package/dist/{configuration-KWAL2QZ5.js → configuration-RHPIO2QT.js} +3 -3
- package/dist/{create-BEVGWF6U.js → create-2TUWGQ2D.js} +33 -32
- package/dist/{create-YPCVTXAK.js → create-33TRLASX.js} +4 -4
- package/dist/{create-BBFTIFI2.js → create-3WUTLUJO.js} +36 -33
- package/dist/create-6IRE6AMF.js +78 -0
- package/dist/{create-F5K53QPH.js → create-D4F457BD.js} +38 -36
- package/dist/{create-7UEEO5TM.js → create-D6EW3EWC.js} +3 -3
- package/dist/{create-EJM5C2XP.js → create-FFKQAZ5D.js} +6 -6
- package/dist/{create-ZU362U3B.js → create-GHM7OTCR.js} +3 -3
- package/dist/{create-VUKGQU4L.js → create-IFMEEHN4.js} +34 -32
- package/dist/{create-IE6MYOIY.js → create-IOUKWPE4.js} +11 -10
- package/dist/{create-XGF6DB5F.js → create-KGOMJUXR.js} +5 -4
- package/dist/{create-TFDUNJSI.js → create-KGYL7FBM.js} +3 -3
- package/dist/{create-UCU73IXX.js → create-OF2OZ7EI.js} +25 -23
- package/dist/{create-MKBBF2V3.js → create-Q6ITSYJM.js} +3 -3
- package/dist/{create-VEWS4QDP.js → create-QK2SSLZK.js} +48 -45
- package/dist/{create-NPSYO6PE.js → create-YITFTHMA.js} +37 -35
- package/dist/{customers-4QWR5UOL.js → customers-OXAD52MC.js} +10 -9
- package/dist/{edit-J3LD76JS.js → edit-4HZHLYI3.js} +6 -6
- package/dist/{edit-47I7VVNB.js → edit-5CJZRHAA.js} +3 -3
- package/dist/{edit-BYXHU3IG.js → edit-7GVP6SRA.js} +3 -3
- package/dist/{edit-J6WCPHDS.js → edit-7HTH2UJF.js} +5 -5
- package/dist/{edit-XU33IVZH.js → edit-ATXE6CM5.js} +3 -3
- package/dist/{edit-ZMINDMGM.js → edit-B5B3XKDM.js} +3 -3
- package/dist/{edit-DG3MY3ZH.js → edit-FC64DWB2.js} +5 -5
- package/dist/{edit-LOKLQGM2.js → edit-FNDDSSMT.js} +3 -3
- package/dist/{edit-S7B7VPM4.js → edit-J5SC7GHQ.js} +29 -28
- package/dist/{edit-7LQATDUD.js → edit-LRRJTHV2.js} +4 -4
- package/dist/{edit-BQLSTFTQ.js → edit-MYSWY6W4.js} +5 -5
- package/dist/edit-ONSN756P.js +237 -0
- package/dist/{edit-JZVEAKJU.js → edit-PIE7Y73J.js} +49 -46
- package/dist/{edit-CZVL3IVY.js → edit-QRJIWTU2.js} +30 -29
- package/dist/{edit-JAKXFAVP.js → edit-SGEECDCR.js} +25 -24
- package/dist/{edit-5BUGSOTL.js → edit-UAXMJAEI.js} +5 -4
- package/dist/edit-UQAQVEUI.js +353 -0
- package/dist/edit-Z7EZRPUP.js +362 -0
- package/dist/{edit-NHU3LJIH.js → edit-ZEIL7EQW.js} +23 -22
- package/dist/{edit-budget-Z5USV462.js → edit-budget-J27CSEZH.js} +3 -3
- package/dist/{edit-inventory-item-YFW2AFRD.js → edit-inventory-item-US77M2FF.js} +3 -3
- package/dist/{edit-inventory-item-attributes-IYAMJDTB.js → edit-inventory-item-attributes-QYNDTUHT.js} +5 -4
- package/dist/edit-stocks-and-prices-543AYFDJ.js +409 -0
- package/dist/{fulfillment-V3D4XU3R.js → fulfillment-5LNFBSBS.js} +26 -25
- package/dist/{fulfillment-providers-YYN3GVV7.js → fulfillment-providers-U7Z7QMOQ.js} +33 -31
- package/dist/{home-PP7YYCSB.js → home-I3OILW5Z.js} +2 -2
- package/dist/index.css +5127 -3
- package/dist/index.js +453 -215
- package/dist/{inventory-AIRQ2KNS.js → inventory-W6S2NIBI.js} +8 -7
- package/dist/invite-P6HTOEIV.js +301 -0
- package/dist/invite-SI2KIPWI.js +370 -0
- package/dist/{locations-SQKM7JWN.js → locations-7SQJ3O2F.js} +4 -4
- package/dist/login-QDS5UXKV.js +36 -0
- package/dist/{manage-locations-4PQS4QY7.js → manage-locations-R4T72DTA.js} +4 -4
- package/dist/{media-UR73M6X2.js → media-RDXCLPKQ.js} +7 -6
- package/dist/{metadata-REBVXJJF.js → metadata-7JKDCVYY.js} +26 -25
- package/dist/{metadata-DIJTVDF7.js → metadata-AWUKZ25V.js} +6 -6
- package/dist/{metadata-ZKG2TRYU.js → metadata-UKBRUFH2.js} +23 -22
- package/dist/{metadata-UBZXDIFG.js → metadata-W5XIPFVU.js} +26 -25
- package/dist/{metadata-OOM44E2U.js → metadata-X4UIPNL6.js} +26 -25
- package/dist/{metadata-OGVHZEKS.js → metadata-ZV5RYLKR.js} +23 -22
- package/dist/{no-match-BO2NNLCM.js → no-match-JLVLPCRH.js} +1 -1
- package/dist/onboarding-DLIBZRKE.js +873 -0
- package/dist/orders-IAL3JNPU.js +61 -0
- package/dist/organization-QCSXE52A.js +303 -0
- package/dist/{organize-5AIJPYS2.js → organize-5W5KNBM2.js} +5 -5
- package/dist/{organize-YXJVI74L.js → organize-U2LVYSOD.js} +5 -5
- package/dist/pages/index.d.ts +222 -49
- package/dist/pages/index.js +96 -93
- package/dist/payment-details-ATUYMVJX.js +234 -0
- package/dist/{payouts-3BY73LZ3.js → payouts-ZLX3KFQT.js} +9 -8
- package/dist/{price-lists-G256JJN7.js → price-lists-JX22K5EO.js} +10 -9
- package/dist/{prices-EW7KBY6R.js → prices-6NY4DELP.js} +14 -13
- package/dist/{pricing-SQNF3KGG.js → pricing-RBESFX5P.js} +33 -31
- package/dist/{product-tags-FR32HXFW.js → product-tags-W4BL6RWV.js} +43 -40
- package/dist/{product-types-WJPLJI7H.js → product-types-MBLFYJOA.js} +10 -9
- package/dist/{product-variant-detail-G5MBDTFL.js → product-variant-detail-KU5OCL7E.js} +270 -56
- package/dist/{product-variant-edit-PW7W5J5E.js → product-variant-edit-5FMMMH2W.js} +8 -7
- package/dist/{products-C4BF2X7D.js → products-3VVYJUH7.js} +31 -29
- package/dist/products-YYLVCOOY.js +93 -0
- package/dist/professional-details-6Y5K6GBL.js +167 -0
- package/dist/profile-Y4AATQES.js +171 -0
- package/dist/{promotions-INYBMACT.js → promotions-NBJTFP6N.js} +10 -9
- package/dist/register-ZLE6MNPF.js +223 -0
- package/dist/{reset-password-CPTU3KHW.js → reset-password-PLCDLFL4.js} +4 -4
- package/dist/{chunk-5NF4OTVV.js → return-reasons-64WZ5Z3Z.js} +46 -5
- package/dist/{sales-channels-6I3U4W4Z.js → sales-channels-UIDLFCX6.js} +10 -9
- package/dist/{sales-channels-SOACADV2.js → sales-channels-UWPEFKAO.js} +12 -11
- package/dist/{settings-MAXHH7EC.js → settings-5MNWE5CR.js} +53 -56
- package/dist/{shipping-profile-7FTHSPY2.js → shipping-profile-JJBIVZPM.js} +4 -4
- package/dist/shipping-profiles-O7XB2DTE.js +45 -0
- package/dist/{stock-LOO5SU5Q.js → stock-2CGEFBXO.js} +30 -30
- package/dist/{stock-4G4PELBV.js → stock-VJAAYYW5.js} +30 -31
- package/dist/store-ZBSMNWFT.js +568 -0
- package/dist/store-closure-43FK32AQ.js +172 -0
- package/dist/store-select-Q2HE572R.js +166 -0
- package/dist/{tax-regions-45JVTUP3.js → tax-regions-FPMGLITT.js} +8 -8
- package/dist/team-ZLZJJWIY.js +269 -0
- package/package.json +9 -6
- package/dist/additional-attributes-XUFDADGP.js +0 -219
- package/dist/breadcrumb-3RAESPC7.js +0 -31
- package/dist/breadcrumb-54IEJEAX.js +0 -45
- package/dist/breadcrumb-CFDJOGTA.js +0 -44
- package/dist/chunk-6EYGH3TB.js +0 -26
- package/dist/chunk-FPJLYWOU.js +0 -190
- package/dist/chunk-GTUR4HSV.js +0 -53
- package/dist/chunk-LODQAVDC.js +0 -179
- package/dist/chunk-NYK5PQIF.js +0 -2078
- package/dist/chunk-PKBMQBKP.js +0 -7
- package/dist/chunk-RNC4NFVK.js +0 -170
- package/dist/collections-2222I5MO.js +0 -63
- package/dist/create-R3SFYWAH.js +0 -69
- package/dist/edit-HBNCGMQO.js +0 -413
- package/dist/login-RDIRFQ7U.js +0 -35
- package/dist/orders-Q347PBOH.js +0 -59
- package/dist/organization-TDDI3HOH.js +0 -233
- package/dist/products-4WTWZIVH.js +0 -85
- package/dist/register-6WOPLDJK.js +0 -366
- package/dist/return-reasons-4V2KVSRI.js +0 -52
- package/dist/seller-44DTDU26.js +0 -36
- package/dist/shipping-profiles-3PYQLYFE.js +0 -43
- /package/dist/{chunk-XG4PTPRM.js → chunk-NXDFDEKP.js} +0 -0
- /package/dist/{chunk-S3PQKKNV.js → chunk-V74Y5NIV.js} +0 -0
package/dist/pages/index.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
3
|
import { ReactNode } from 'react';
|
|
4
|
-
import * as zod from 'zod';
|
|
5
|
-
import { z } from 'zod';
|
|
6
4
|
import * as react_hook_form from 'react-hook-form';
|
|
5
|
+
import { z } from 'zod';
|
|
7
6
|
import { HttpTypes } from '@mercurjs/types';
|
|
8
|
-
import * as node_modules__mercurjs_types_dist_http from 'node_modules/@mercurjs/types/dist/http';
|
|
9
7
|
import { LoaderFunctionArgs } from 'react-router-dom';
|
|
10
8
|
import { HttpTypes as HttpTypes$1 } from '@medusajs/types';
|
|
11
9
|
|
|
@@ -208,12 +206,34 @@ declare const ProductCreateVariantSchema: z.ZodObject<{
|
|
|
208
206
|
inventory_item_id: string;
|
|
209
207
|
required_quantity?: string | number | undefined;
|
|
210
208
|
}>, "many">>;
|
|
209
|
+
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
210
|
+
id: z.ZodOptional<z.ZodString>;
|
|
211
|
+
url: z.ZodString;
|
|
212
|
+
isThumbnail: z.ZodBoolean;
|
|
213
|
+
file: z.ZodNullable<z.ZodAny>;
|
|
214
|
+
}, "strip", z.ZodTypeAny, {
|
|
215
|
+
url: string;
|
|
216
|
+
isThumbnail: boolean;
|
|
217
|
+
id?: string | undefined;
|
|
218
|
+
file?: any;
|
|
219
|
+
}, {
|
|
220
|
+
url: string;
|
|
221
|
+
isThumbnail: boolean;
|
|
222
|
+
id?: string | undefined;
|
|
223
|
+
file?: any;
|
|
224
|
+
}>, "many">>;
|
|
211
225
|
}, "strip", z.ZodTypeAny, {
|
|
212
226
|
title: string;
|
|
213
227
|
options: Record<string, string>;
|
|
214
228
|
variant_rank: number;
|
|
215
229
|
should_create: boolean;
|
|
216
230
|
length?: string | number | undefined;
|
|
231
|
+
media?: {
|
|
232
|
+
url: string;
|
|
233
|
+
isThumbnail: boolean;
|
|
234
|
+
id?: string | undefined;
|
|
235
|
+
file?: any;
|
|
236
|
+
}[] | undefined;
|
|
217
237
|
inventory?: {
|
|
218
238
|
inventory_item_id: string;
|
|
219
239
|
required_quantity?: string | number | undefined;
|
|
@@ -240,6 +260,12 @@ declare const ProductCreateVariantSchema: z.ZodObject<{
|
|
|
240
260
|
variant_rank: number;
|
|
241
261
|
should_create: boolean;
|
|
242
262
|
length?: string | number | undefined;
|
|
263
|
+
media?: {
|
|
264
|
+
url: string;
|
|
265
|
+
isThumbnail: boolean;
|
|
266
|
+
id?: string | undefined;
|
|
267
|
+
file?: any;
|
|
268
|
+
}[] | undefined;
|
|
243
269
|
inventory?: {
|
|
244
270
|
inventory_item_id: string;
|
|
245
271
|
required_quantity?: string | number | undefined;
|
|
@@ -265,14 +291,23 @@ type ProductCreateVariantSchema = z.infer<typeof ProductCreateVariantSchema>;
|
|
|
265
291
|
declare const ProductCreateOptionSchema: z.ZodObject<{
|
|
266
292
|
title: z.ZodString;
|
|
267
293
|
values: z.ZodArray<z.ZodString, "many">;
|
|
294
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
295
|
+
useForVariants: z.ZodOptional<z.ZodBoolean>;
|
|
296
|
+
attributeId: z.ZodOptional<z.ZodString>;
|
|
268
297
|
}, "strip", z.ZodTypeAny, {
|
|
269
298
|
title: string;
|
|
270
299
|
values: string[];
|
|
300
|
+
metadata?: Record<string, unknown> | undefined;
|
|
301
|
+
useForVariants?: boolean | undefined;
|
|
302
|
+
attributeId?: string | undefined;
|
|
271
303
|
}, {
|
|
272
304
|
title: string;
|
|
273
305
|
values: string[];
|
|
306
|
+
metadata?: Record<string, unknown> | undefined;
|
|
307
|
+
useForVariants?: boolean | undefined;
|
|
308
|
+
attributeId?: string | undefined;
|
|
274
309
|
}>;
|
|
275
|
-
type
|
|
310
|
+
type ProductCreateOptionSchemaType = z.infer<typeof ProductCreateOptionSchema>;
|
|
276
311
|
declare const ProductCreateBaseSchema: z.ZodObject<{
|
|
277
312
|
title: z.ZodString;
|
|
278
313
|
subtitle: z.ZodOptional<z.ZodString>;
|
|
@@ -283,6 +318,7 @@ declare const ProductCreateBaseSchema: z.ZodObject<{
|
|
|
283
318
|
collection_id: z.ZodOptional<z.ZodString>;
|
|
284
319
|
shipping_profile_id: z.ZodOptional<z.ZodString>;
|
|
285
320
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
321
|
+
secondary_categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
286
322
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
287
323
|
sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
288
324
|
id: z.ZodString;
|
|
@@ -305,12 +341,21 @@ declare const ProductCreateBaseSchema: z.ZodObject<{
|
|
|
305
341
|
options: z.ZodArray<z.ZodObject<{
|
|
306
342
|
title: z.ZodString;
|
|
307
343
|
values: z.ZodArray<z.ZodString, "many">;
|
|
344
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
345
|
+
useForVariants: z.ZodOptional<z.ZodBoolean>;
|
|
346
|
+
attributeId: z.ZodOptional<z.ZodString>;
|
|
308
347
|
}, "strip", z.ZodTypeAny, {
|
|
309
348
|
title: string;
|
|
310
349
|
values: string[];
|
|
350
|
+
metadata?: Record<string, unknown> | undefined;
|
|
351
|
+
useForVariants?: boolean | undefined;
|
|
352
|
+
attributeId?: string | undefined;
|
|
311
353
|
}, {
|
|
312
354
|
title: string;
|
|
313
355
|
values: string[];
|
|
356
|
+
metadata?: Record<string, unknown> | undefined;
|
|
357
|
+
useForVariants?: boolean | undefined;
|
|
358
|
+
attributeId?: string | undefined;
|
|
314
359
|
}>, "many">;
|
|
315
360
|
enable_variants: z.ZodBoolean;
|
|
316
361
|
variants: z.ZodArray<z.ZodObject<{
|
|
@@ -345,12 +390,34 @@ declare const ProductCreateBaseSchema: z.ZodObject<{
|
|
|
345
390
|
inventory_item_id: string;
|
|
346
391
|
required_quantity?: string | number | undefined;
|
|
347
392
|
}>, "many">>;
|
|
393
|
+
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
394
|
+
id: z.ZodOptional<z.ZodString>;
|
|
395
|
+
url: z.ZodString;
|
|
396
|
+
isThumbnail: z.ZodBoolean;
|
|
397
|
+
file: z.ZodNullable<z.ZodAny>;
|
|
398
|
+
}, "strip", z.ZodTypeAny, {
|
|
399
|
+
url: string;
|
|
400
|
+
isThumbnail: boolean;
|
|
401
|
+
id?: string | undefined;
|
|
402
|
+
file?: any;
|
|
403
|
+
}, {
|
|
404
|
+
url: string;
|
|
405
|
+
isThumbnail: boolean;
|
|
406
|
+
id?: string | undefined;
|
|
407
|
+
file?: any;
|
|
408
|
+
}>, "many">>;
|
|
348
409
|
}, "strip", z.ZodTypeAny, {
|
|
349
410
|
title: string;
|
|
350
411
|
options: Record<string, string>;
|
|
351
412
|
variant_rank: number;
|
|
352
413
|
should_create: boolean;
|
|
353
414
|
length?: string | number | undefined;
|
|
415
|
+
media?: {
|
|
416
|
+
url: string;
|
|
417
|
+
isThumbnail: boolean;
|
|
418
|
+
id?: string | undefined;
|
|
419
|
+
file?: any;
|
|
420
|
+
}[] | undefined;
|
|
354
421
|
inventory?: {
|
|
355
422
|
inventory_item_id: string;
|
|
356
423
|
required_quantity?: string | number | undefined;
|
|
@@ -377,6 +444,12 @@ declare const ProductCreateBaseSchema: z.ZodObject<{
|
|
|
377
444
|
variant_rank: number;
|
|
378
445
|
should_create: boolean;
|
|
379
446
|
length?: string | number | undefined;
|
|
447
|
+
media?: {
|
|
448
|
+
url: string;
|
|
449
|
+
isThumbnail: boolean;
|
|
450
|
+
id?: string | undefined;
|
|
451
|
+
file?: any;
|
|
452
|
+
}[] | undefined;
|
|
380
453
|
inventory?: {
|
|
381
454
|
inventory_item_id: string;
|
|
382
455
|
required_quantity?: string | number | undefined;
|
|
@@ -419,6 +492,9 @@ declare const ProductCreateBaseSchema: z.ZodObject<{
|
|
|
419
492
|
options: {
|
|
420
493
|
title: string;
|
|
421
494
|
values: string[];
|
|
495
|
+
metadata?: Record<string, unknown> | undefined;
|
|
496
|
+
useForVariants?: boolean | undefined;
|
|
497
|
+
attributeId?: string | undefined;
|
|
422
498
|
}[];
|
|
423
499
|
variants: {
|
|
424
500
|
title: string;
|
|
@@ -426,6 +502,12 @@ declare const ProductCreateBaseSchema: z.ZodObject<{
|
|
|
426
502
|
variant_rank: number;
|
|
427
503
|
should_create: boolean;
|
|
428
504
|
length?: string | number | undefined;
|
|
505
|
+
media?: {
|
|
506
|
+
url: string;
|
|
507
|
+
isThumbnail: boolean;
|
|
508
|
+
id?: string | undefined;
|
|
509
|
+
file?: any;
|
|
510
|
+
}[] | undefined;
|
|
429
511
|
inventory?: {
|
|
430
512
|
inventory_item_id: string;
|
|
431
513
|
required_quantity?: string | number | undefined;
|
|
@@ -475,11 +557,15 @@ declare const ProductCreateBaseSchema: z.ZodObject<{
|
|
|
475
557
|
height?: string | undefined;
|
|
476
558
|
width?: string | undefined;
|
|
477
559
|
tags?: string[] | undefined;
|
|
560
|
+
secondary_categories?: string[] | undefined;
|
|
478
561
|
}, {
|
|
479
562
|
title: string;
|
|
480
563
|
options: {
|
|
481
564
|
title: string;
|
|
482
565
|
values: string[];
|
|
566
|
+
metadata?: Record<string, unknown> | undefined;
|
|
567
|
+
useForVariants?: boolean | undefined;
|
|
568
|
+
attributeId?: string | undefined;
|
|
483
569
|
}[];
|
|
484
570
|
variants: {
|
|
485
571
|
title: string;
|
|
@@ -487,6 +573,12 @@ declare const ProductCreateBaseSchema: z.ZodObject<{
|
|
|
487
573
|
variant_rank: number;
|
|
488
574
|
should_create: boolean;
|
|
489
575
|
length?: string | number | undefined;
|
|
576
|
+
media?: {
|
|
577
|
+
url: string;
|
|
578
|
+
isThumbnail: boolean;
|
|
579
|
+
id?: string | undefined;
|
|
580
|
+
file?: any;
|
|
581
|
+
}[] | undefined;
|
|
490
582
|
inventory?: {
|
|
491
583
|
inventory_item_id: string;
|
|
492
584
|
required_quantity?: string | number | undefined;
|
|
@@ -536,6 +628,7 @@ declare const ProductCreateBaseSchema: z.ZodObject<{
|
|
|
536
628
|
height?: string | undefined;
|
|
537
629
|
width?: string | undefined;
|
|
538
630
|
tags?: string[] | undefined;
|
|
631
|
+
secondary_categories?: string[] | undefined;
|
|
539
632
|
}>;
|
|
540
633
|
declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
541
634
|
title: z.ZodString;
|
|
@@ -547,6 +640,7 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
547
640
|
collection_id: z.ZodOptional<z.ZodString>;
|
|
548
641
|
shipping_profile_id: z.ZodOptional<z.ZodString>;
|
|
549
642
|
categories: z.ZodArray<z.ZodString, "many">;
|
|
643
|
+
secondary_categories: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
550
644
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
551
645
|
sales_channels: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
552
646
|
id: z.ZodString;
|
|
@@ -569,12 +663,21 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
569
663
|
options: z.ZodArray<z.ZodObject<{
|
|
570
664
|
title: z.ZodString;
|
|
571
665
|
values: z.ZodArray<z.ZodString, "many">;
|
|
666
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
667
|
+
useForVariants: z.ZodOptional<z.ZodBoolean>;
|
|
668
|
+
attributeId: z.ZodOptional<z.ZodString>;
|
|
572
669
|
}, "strip", z.ZodTypeAny, {
|
|
573
670
|
title: string;
|
|
574
671
|
values: string[];
|
|
672
|
+
metadata?: Record<string, unknown> | undefined;
|
|
673
|
+
useForVariants?: boolean | undefined;
|
|
674
|
+
attributeId?: string | undefined;
|
|
575
675
|
}, {
|
|
576
676
|
title: string;
|
|
577
677
|
values: string[];
|
|
678
|
+
metadata?: Record<string, unknown> | undefined;
|
|
679
|
+
useForVariants?: boolean | undefined;
|
|
680
|
+
attributeId?: string | undefined;
|
|
578
681
|
}>, "many">;
|
|
579
682
|
enable_variants: z.ZodBoolean;
|
|
580
683
|
variants: z.ZodArray<z.ZodObject<{
|
|
@@ -609,12 +712,34 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
609
712
|
inventory_item_id: string;
|
|
610
713
|
required_quantity?: string | number | undefined;
|
|
611
714
|
}>, "many">>;
|
|
715
|
+
media: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
716
|
+
id: z.ZodOptional<z.ZodString>;
|
|
717
|
+
url: z.ZodString;
|
|
718
|
+
isThumbnail: z.ZodBoolean;
|
|
719
|
+
file: z.ZodNullable<z.ZodAny>;
|
|
720
|
+
}, "strip", z.ZodTypeAny, {
|
|
721
|
+
url: string;
|
|
722
|
+
isThumbnail: boolean;
|
|
723
|
+
id?: string | undefined;
|
|
724
|
+
file?: any;
|
|
725
|
+
}, {
|
|
726
|
+
url: string;
|
|
727
|
+
isThumbnail: boolean;
|
|
728
|
+
id?: string | undefined;
|
|
729
|
+
file?: any;
|
|
730
|
+
}>, "many">>;
|
|
612
731
|
}, "strip", z.ZodTypeAny, {
|
|
613
732
|
title: string;
|
|
614
733
|
options: Record<string, string>;
|
|
615
734
|
variant_rank: number;
|
|
616
735
|
should_create: boolean;
|
|
617
736
|
length?: string | number | undefined;
|
|
737
|
+
media?: {
|
|
738
|
+
url: string;
|
|
739
|
+
isThumbnail: boolean;
|
|
740
|
+
id?: string | undefined;
|
|
741
|
+
file?: any;
|
|
742
|
+
}[] | undefined;
|
|
618
743
|
inventory?: {
|
|
619
744
|
inventory_item_id: string;
|
|
620
745
|
required_quantity?: string | number | undefined;
|
|
@@ -641,6 +766,12 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
641
766
|
variant_rank: number;
|
|
642
767
|
should_create: boolean;
|
|
643
768
|
length?: string | number | undefined;
|
|
769
|
+
media?: {
|
|
770
|
+
url: string;
|
|
771
|
+
isThumbnail: boolean;
|
|
772
|
+
id?: string | undefined;
|
|
773
|
+
file?: any;
|
|
774
|
+
}[] | undefined;
|
|
644
775
|
inventory?: {
|
|
645
776
|
inventory_item_id: string;
|
|
646
777
|
required_quantity?: string | number | undefined;
|
|
@@ -683,6 +814,9 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
683
814
|
options: {
|
|
684
815
|
title: string;
|
|
685
816
|
values: string[];
|
|
817
|
+
metadata?: Record<string, unknown> | undefined;
|
|
818
|
+
useForVariants?: boolean | undefined;
|
|
819
|
+
attributeId?: string | undefined;
|
|
686
820
|
}[];
|
|
687
821
|
variants: {
|
|
688
822
|
title: string;
|
|
@@ -690,6 +824,12 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
690
824
|
variant_rank: number;
|
|
691
825
|
should_create: boolean;
|
|
692
826
|
length?: string | number | undefined;
|
|
827
|
+
media?: {
|
|
828
|
+
url: string;
|
|
829
|
+
isThumbnail: boolean;
|
|
830
|
+
id?: string | undefined;
|
|
831
|
+
file?: any;
|
|
832
|
+
}[] | undefined;
|
|
693
833
|
inventory?: {
|
|
694
834
|
inventory_item_id: string;
|
|
695
835
|
required_quantity?: string | number | undefined;
|
|
@@ -739,11 +879,15 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
739
879
|
height?: string | undefined;
|
|
740
880
|
width?: string | undefined;
|
|
741
881
|
tags?: string[] | undefined;
|
|
882
|
+
secondary_categories?: string[] | undefined;
|
|
742
883
|
}, {
|
|
743
884
|
title: string;
|
|
744
885
|
options: {
|
|
745
886
|
title: string;
|
|
746
887
|
values: string[];
|
|
888
|
+
metadata?: Record<string, unknown> | undefined;
|
|
889
|
+
useForVariants?: boolean | undefined;
|
|
890
|
+
attributeId?: string | undefined;
|
|
747
891
|
}[];
|
|
748
892
|
variants: {
|
|
749
893
|
title: string;
|
|
@@ -751,6 +895,12 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
751
895
|
variant_rank: number;
|
|
752
896
|
should_create: boolean;
|
|
753
897
|
length?: string | number | undefined;
|
|
898
|
+
media?: {
|
|
899
|
+
url: string;
|
|
900
|
+
isThumbnail: boolean;
|
|
901
|
+
id?: string | undefined;
|
|
902
|
+
file?: any;
|
|
903
|
+
}[] | undefined;
|
|
754
904
|
inventory?: {
|
|
755
905
|
inventory_item_id: string;
|
|
756
906
|
required_quantity?: string | number | undefined;
|
|
@@ -800,11 +950,15 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
800
950
|
height?: string | undefined;
|
|
801
951
|
width?: string | undefined;
|
|
802
952
|
tags?: string[] | undefined;
|
|
953
|
+
secondary_categories?: string[] | undefined;
|
|
803
954
|
}>, {
|
|
804
955
|
title: string;
|
|
805
956
|
options: {
|
|
806
957
|
title: string;
|
|
807
958
|
values: string[];
|
|
959
|
+
metadata?: Record<string, unknown> | undefined;
|
|
960
|
+
useForVariants?: boolean | undefined;
|
|
961
|
+
attributeId?: string | undefined;
|
|
808
962
|
}[];
|
|
809
963
|
variants: {
|
|
810
964
|
title: string;
|
|
@@ -812,6 +966,12 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
812
966
|
variant_rank: number;
|
|
813
967
|
should_create: boolean;
|
|
814
968
|
length?: string | number | undefined;
|
|
969
|
+
media?: {
|
|
970
|
+
url: string;
|
|
971
|
+
isThumbnail: boolean;
|
|
972
|
+
id?: string | undefined;
|
|
973
|
+
file?: any;
|
|
974
|
+
}[] | undefined;
|
|
815
975
|
inventory?: {
|
|
816
976
|
inventory_item_id: string;
|
|
817
977
|
required_quantity?: string | number | undefined;
|
|
@@ -861,11 +1021,15 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
861
1021
|
height?: string | undefined;
|
|
862
1022
|
width?: string | undefined;
|
|
863
1023
|
tags?: string[] | undefined;
|
|
1024
|
+
secondary_categories?: string[] | undefined;
|
|
864
1025
|
}, {
|
|
865
1026
|
title: string;
|
|
866
1027
|
options: {
|
|
867
1028
|
title: string;
|
|
868
1029
|
values: string[];
|
|
1030
|
+
metadata?: Record<string, unknown> | undefined;
|
|
1031
|
+
useForVariants?: boolean | undefined;
|
|
1032
|
+
attributeId?: string | undefined;
|
|
869
1033
|
}[];
|
|
870
1034
|
variants: {
|
|
871
1035
|
title: string;
|
|
@@ -873,6 +1037,12 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
873
1037
|
variant_rank: number;
|
|
874
1038
|
should_create: boolean;
|
|
875
1039
|
length?: string | number | undefined;
|
|
1040
|
+
media?: {
|
|
1041
|
+
url: string;
|
|
1042
|
+
isThumbnail: boolean;
|
|
1043
|
+
id?: string | undefined;
|
|
1044
|
+
file?: any;
|
|
1045
|
+
}[] | undefined;
|
|
876
1046
|
inventory?: {
|
|
877
1047
|
inventory_item_id: string;
|
|
878
1048
|
required_quantity?: string | number | undefined;
|
|
@@ -922,6 +1092,7 @@ declare const ProductCreateSchema: z.ZodEffects<z.ZodObject<{
|
|
|
922
1092
|
height?: string | undefined;
|
|
923
1093
|
width?: string | undefined;
|
|
924
1094
|
tags?: string[] | undefined;
|
|
1095
|
+
secondary_categories?: string[] | undefined;
|
|
925
1096
|
}>;
|
|
926
1097
|
declare const EditProductMediaSchema: z.ZodObject<{
|
|
927
1098
|
media: z.ZodArray<z.ZodObject<{
|
|
@@ -969,17 +1140,16 @@ declare const ProductCreatePage: (({ children }: {
|
|
|
969
1140
|
_tabMeta: {
|
|
970
1141
|
id: string;
|
|
971
1142
|
labelKey: string;
|
|
972
|
-
validationFields: ("title" | "
|
|
1143
|
+
validationFields: ("title" | "media")[];
|
|
973
1144
|
};
|
|
974
1145
|
} & {
|
|
975
1146
|
_tabMeta: {
|
|
976
1147
|
id: string;
|
|
977
1148
|
labelKey: string;
|
|
978
|
-
validationFields: ("title" | "
|
|
1149
|
+
validationFields: ("title" | "media")[];
|
|
979
1150
|
};
|
|
980
1151
|
GeneralSection: () => react_jsx_runtime.JSX.Element;
|
|
981
1152
|
MediaSection: () => react_jsx_runtime.JSX.Element;
|
|
982
|
-
VariantsSection: () => react_jsx_runtime.JSX.Element;
|
|
983
1153
|
};
|
|
984
1154
|
OrganizeForm: {
|
|
985
1155
|
({ children }: {
|
|
@@ -1000,20 +1170,29 @@ declare const ProductCreatePage: (({ children }: {
|
|
|
1000
1170
|
AttributeSection: () => react_jsx_runtime.JSX.Element;
|
|
1001
1171
|
SalesChannelModal: () => react_jsx_runtime.JSX.Element;
|
|
1002
1172
|
};
|
|
1003
|
-
VariantsForm: {
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1173
|
+
VariantsForm: ({ form, store, regions, pricePreferences, onOpenMediaModal, productMedia, }: {
|
|
1174
|
+
form: react_hook_form.UseFormReturn<ProductCreateSchemaType>;
|
|
1175
|
+
store?: HttpTypes.AdminStore;
|
|
1176
|
+
regions?: HttpTypes.AdminRegion[];
|
|
1177
|
+
pricePreferences?: HttpTypes.AdminPricePreference[];
|
|
1178
|
+
onOpenMediaModal?: (variantIndex: number, variantTitle?: string, initialMedia?: {
|
|
1179
|
+
file?: File;
|
|
1180
|
+
url?: string;
|
|
1181
|
+
isThumbnail?: boolean;
|
|
1182
|
+
id?: string;
|
|
1183
|
+
}[], productMedia?: {
|
|
1184
|
+
file?: File;
|
|
1185
|
+
url?: string;
|
|
1186
|
+
isThumbnail?: boolean;
|
|
1187
|
+
id?: string;
|
|
1188
|
+
}[]) => void;
|
|
1189
|
+
productMedia?: {
|
|
1190
|
+
file?: File;
|
|
1191
|
+
url?: string;
|
|
1192
|
+
isThumbnail?: boolean;
|
|
1193
|
+
id?: string;
|
|
1194
|
+
}[];
|
|
1195
|
+
}) => react_jsx_runtime.JSX.Element;
|
|
1017
1196
|
InventoryKitForm: {
|
|
1018
1197
|
({ children }: {
|
|
1019
1198
|
children?: ReactNode;
|
|
@@ -1031,11 +1210,26 @@ declare const ProductCreatePage: (({ children }: {
|
|
|
1031
1210
|
};
|
|
1032
1211
|
InventoryKitSection: () => react_jsx_runtime.JSX.Element;
|
|
1033
1212
|
};
|
|
1034
|
-
Form: ({ defaultChannel
|
|
1213
|
+
Form: ({ defaultChannel, store, onOpenMediaModal, onSaveVariantMediaRef, }: {
|
|
1035
1214
|
defaultChannel?: HttpTypes.AdminSalesChannel;
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
|
|
1215
|
+
store?: HttpTypes.AdminStore;
|
|
1216
|
+
onOpenMediaModal?: (variantIndex: number, variantTitle?: string, initialMedia?: {
|
|
1217
|
+
file?: File;
|
|
1218
|
+
url?: string;
|
|
1219
|
+
isThumbnail?: boolean;
|
|
1220
|
+
id?: string;
|
|
1221
|
+
}[], productMedia?: {
|
|
1222
|
+
file?: File;
|
|
1223
|
+
url?: string;
|
|
1224
|
+
isThumbnail?: boolean;
|
|
1225
|
+
id?: string;
|
|
1226
|
+
}[]) => void;
|
|
1227
|
+
onSaveVariantMediaRef?: React.MutableRefObject<((variantIndex: number, media: {
|
|
1228
|
+
file?: File;
|
|
1229
|
+
url?: string;
|
|
1230
|
+
isThumbnail?: boolean;
|
|
1231
|
+
id?: string;
|
|
1232
|
+
}[]) => void) | null>;
|
|
1039
1233
|
}) => react_jsx_runtime.JSX.Element;
|
|
1040
1234
|
Tab: ({ children, }: {
|
|
1041
1235
|
id: string;
|
|
@@ -1061,27 +1255,6 @@ declare const PromotionListPage: (({ children }: {
|
|
|
1061
1255
|
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
1062
1256
|
};
|
|
1063
1257
|
|
|
1064
|
-
declare const SellerDetailPage: (({ children }: {
|
|
1065
|
-
children?: ReactNode;
|
|
1066
|
-
}) => react_jsx_runtime.JSX.Element) & {
|
|
1067
|
-
GeneralSection: ({ seller, children, }: {
|
|
1068
|
-
seller: node_modules__mercurjs_types_dist_http.StoreSellerResponse["seller"];
|
|
1069
|
-
children?: ReactNode;
|
|
1070
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1071
|
-
Header: ({ seller, children, }: {
|
|
1072
|
-
seller: node_modules__mercurjs_types_dist_http.StoreSellerResponse["seller"];
|
|
1073
|
-
} & {
|
|
1074
|
-
children?: ReactNode;
|
|
1075
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1076
|
-
HeaderTitle: ({ seller }: {
|
|
1077
|
-
seller: node_modules__mercurjs_types_dist_http.StoreSellerResponse["seller"];
|
|
1078
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1079
|
-
HeaderActions: ({ children, }: {
|
|
1080
|
-
children?: ReactNode;
|
|
1081
|
-
}) => react_jsx_runtime.JSX.Element;
|
|
1082
|
-
HeaderEditButton: () => react_jsx_runtime.JSX.Element;
|
|
1083
|
-
};
|
|
1084
|
-
|
|
1085
1258
|
declare const ShippingProfileListPage: (({ children }: {
|
|
1086
1259
|
children?: ReactNode;
|
|
1087
1260
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
@@ -1099,8 +1272,6 @@ declare const ShippingProfileListPage: (({ children }: {
|
|
|
1099
1272
|
DataTable: () => react_jsx_runtime.JSX.Element;
|
|
1100
1273
|
};
|
|
1101
1274
|
|
|
1102
|
-
declare const Component: () => react_jsx_runtime.JSX.Element;
|
|
1103
|
-
|
|
1104
1275
|
declare const ProductTypeListPage: (({ children }: {
|
|
1105
1276
|
children?: ReactNode;
|
|
1106
1277
|
}) => react_jsx_runtime.JSX.Element) & {
|
|
@@ -1150,4 +1321,6 @@ declare const LocationListPage: (({ children }: {
|
|
|
1150
1321
|
SidebarLinksSection: () => react_jsx_runtime.JSX.Element;
|
|
1151
1322
|
};
|
|
1152
1323
|
|
|
1153
|
-
|
|
1324
|
+
declare const Component: () => react_jsx_runtime.JSX.Element;
|
|
1325
|
+
|
|
1326
|
+
export { CampaignListPage, CategoryListPage, CollectionListPage, Component, CustomerListPage, EditProductMediaSchema, InventoryListPage, LocationListPage, LoginPage, MediaSchema, OrderListPage, PRODUCT_CREATE_FORM_DEFAULTS, PayoutListPage, PriceListListPage, ProductCreateBaseSchema, ProductCreateOptionSchema, type ProductCreateOptionSchemaType, ProductCreatePage, ProductCreateSchema, ProductCreateVariantSchema, ProductListPage, ProductTagListPage, ProductTypeListPage, PromotionListPage, ShippingProfileListPage, shippingListLoader as loader };
|