@mercurjs/admin 2.3.9-canary.4 → 2.3.9-canary.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-campaign-promotions-XTGK7IRV.js → add-campaign-promotions-HBMPYBWL.js} +8 -9
- package/dist/{adjust-inventory-BZ6UCP4U.js → adjust-inventory-RTMTGO5T.js} +30 -31
- package/dist/{api-key-management-create-BUJVV7WQ.js → api-key-management-create-R2QRXLWU.js} +4 -5
- package/dist/{api-key-management-detail-K6YAPVVA.js → api-key-management-detail-2FMETKXR.js} +32 -33
- package/dist/{api-key-management-edit-72CM42BT.js → api-key-management-edit-3UJ7DIH2.js} +4 -5
- package/dist/{api-key-management-list-RSXFGADN.js → api-key-management-list-3YBD5KNP.js} +5 -6
- package/dist/{api-key-management-sales-channels-DWMMRNXG.js → api-key-management-sales-channels-VP5FPCMF.js} +4 -5
- package/dist/{attribute-create-Z7EA2DU4.js → attribute-create-R56WADNB.js} +33 -34
- package/dist/{attribute-create-possible-value-RZXBKJJZ.js → attribute-create-possible-value-3R4XNSXB.js} +2 -3
- package/dist/{attribute-detail-HVBXRAC4.js → attribute-detail-PU3LWSEC.js} +31 -32
- package/dist/{attribute-edit-Y5LOXAU7.js → attribute-edit-RK2QASAT.js} +4 -5
- package/dist/{attribute-edit-possible-value-ZCA4US7Z.js → attribute-edit-possible-value-WV5FR3A7.js} +4 -5
- package/dist/{attribute-edit-ranking-4USGUKRJ.js → attribute-edit-ranking-53TCHOGF.js} +2 -3
- package/dist/attribute-list-GXZY4A2K.js +59 -0
- package/dist/{breadcrumb-XREPUTQZ.js → breadcrumb-2IXSJGVH.js} +2 -3
- package/dist/{breadcrumb-2PIMELEE.js → breadcrumb-63W4ACRQ.js} +2 -3
- package/dist/{campaign-budget-edit-PLYMCATI.js → campaign-budget-edit-OG4JZ5Q4.js} +2 -3
- package/dist/{campaign-configuration-BJL7O7MB.js → campaign-configuration-ASHJSSD3.js} +2 -3
- package/dist/{campaign-create-NJMOJVIP.js → campaign-create-ZPHJYED3.js} +6 -7
- package/dist/{campaign-detail-RRUFKLZD.js → campaign-detail-ZNFVVNX4.js} +35 -36
- package/dist/{campaign-edit-RJ6PUA64.js → campaign-edit-RIQCPM5M.js} +2 -3
- package/dist/{campaign-list-BW32MXUZ.js → campaign-list-27HCFLS7.js} +5 -6
- package/dist/{categories-metadata-F3WXEYSD.js → categories-metadata-VOKG26IC.js} +30 -31
- package/dist/{category-create-MA263LED.js → category-create-MKENO5UC.js} +4 -5
- package/dist/{category-detail-3O5R5ERZ.js → category-detail-SJPQSYH2.js} +36 -37
- package/dist/{category-edit-4GY4B6YO.js → category-edit-SKLDLRHW.js} +3 -4
- package/dist/{category-icon-edit-BEJEYUQY.js → category-icon-edit-XJMM3O74.js} +3 -4
- package/dist/{category-list-WIM33ATO.js → category-list-KI2XDQ3A.js} +5 -6
- package/dist/{category-media-JRHFS7AC.js → category-media-HLDRYNWZ.js} +3 -4
- package/dist/{category-organize-M4GT6NTS.js → category-organize-SKRZFHUJ.js} +3 -4
- package/dist/{category-products-VAMYKSSO.js → category-products-6JFOCWYN.js} +34 -35
- package/dist/{chunk-73N655UO.js → chunk-23X5IBGZ.js} +1 -1
- package/dist/{chunk-VUTEJBUV.js → chunk-23XQKZVI.js} +4 -4
- package/dist/{chunk-D7Q23Y3N.js → chunk-2AXXZ6BQ.js} +1 -1
- package/dist/{chunk-2WC2HCAF.js → chunk-2GD4XTO7.js} +4 -4
- package/dist/{chunk-ZA2KFUFR.js → chunk-2KCF3ZIB.js} +13 -0
- package/dist/{chunk-BHQZHRYK.js → chunk-2MJHJ3VY.js} +2 -2
- package/dist/{chunk-NV6JFZUY.js → chunk-3435VAEX.js} +2 -2
- package/dist/{chunk-4ARPCKNT.js → chunk-35PCKHL7.js} +2 -2
- package/dist/chunk-3EPP7VXZ.js +58 -0
- package/dist/{chunk-LY4EOBD6.js → chunk-3F5TBRXC.js} +4 -4
- package/dist/{chunk-ETZHMA2C.js → chunk-3I2HNULG.js} +1 -1
- package/dist/{chunk-BGQIJMQS.js → chunk-3MT6RTJD.js} +3 -5
- package/dist/{chunk-5GPXMPGI.js → chunk-3QEYOHBB.js} +1 -1
- package/dist/{chunk-HMHKC3Y3.js → chunk-3YHS5YGW.js} +129 -60
- package/dist/{chunk-7V3JWYEO.js → chunk-46XA3DMZ.js} +5 -5
- package/dist/{chunk-EB2YI3JW.js → chunk-4BPYFH72.js} +1 -1
- package/dist/{chunk-JM6RKFUC.js → chunk-4KXDWQ5F.js} +2 -4
- package/dist/{chunk-DJ5CPXLV.js → chunk-4TKGJDGK.js} +4 -4
- package/dist/{chunk-Y6XFGGN6.js → chunk-4Y2LVCLK.js} +10 -5
- package/dist/chunk-5CNQLDVS.js +36 -0
- package/dist/{chunk-YSC3YUCQ.js → chunk-5F7OAHRW.js} +1 -1
- package/dist/{chunk-FEQNCTJI.js → chunk-5G4ZVGO7.js} +3 -3
- package/dist/{chunk-VJ2BXTVC.js → chunk-5GXFPPT5.js} +4 -6
- package/dist/{chunk-RBRLCVIY.js → chunk-5QORIQSD.js} +8 -8
- package/dist/{chunk-NHJEIVWT.js → chunk-65S7FFIR.js} +2 -2
- package/dist/{chunk-C3RYDQYL.js → chunk-6GWTUG63.js} +4 -6
- package/dist/{chunk-SF2HYJV3.js → chunk-6NR2MKZT.js} +1 -1
- package/dist/{chunk-QDBRSWFO.js → chunk-6ZNREXHT.js} +1 -1
- package/dist/{chunk-36IQHWEB.js → chunk-6ZQXTLI7.js} +2 -4
- package/dist/chunk-7ASMQGI2.js +92 -0
- package/dist/{chunk-IWXIM6ID.js → chunk-7DEZJGI6.js} +2 -4
- package/dist/{chunk-AMCYOXHT.js → chunk-7ZSLJUXV.js} +1 -1
- package/dist/{chunk-L5LRABUQ.js → chunk-AF4UKAMF.js} +2 -2
- package/dist/{chunk-HSJLKU4G.js → chunk-AQBW6KVN.js} +1 -1
- package/dist/{chunk-A5XBXCY7.js → chunk-BKSRMEDD.js} +2 -4
- package/dist/{chunk-BOGWUBYZ.js → chunk-BXLY5DI3.js} +2 -2
- package/dist/{chunk-CG53DXJH.js → chunk-BYW3OPEN.js} +2 -4
- package/dist/{chunk-WWJPHGHR.js → chunk-C24M2TDZ.js} +3 -3
- package/dist/{chunk-PIIK7BOZ.js → chunk-CCJPJKTY.js} +3 -3
- package/dist/chunk-CEAFREUV.js +79 -0
- package/dist/{chunk-2OBZVIAT.js → chunk-CEW7IUTB.js} +5 -5
- package/dist/{chunk-B6IP4AGA.js → chunk-CYRBIZLI.js} +3 -5
- package/dist/{chunk-2PITQ75C.js → chunk-CYV4ULEF.js} +61 -7
- package/dist/{chunk-JM57BRT5.js → chunk-DGFXNI7G.js} +2 -2
- package/dist/{chunk-Q2KAHVLJ.js → chunk-DPGIKIH6.js} +1 -1
- package/dist/chunk-DQPTTURI.js +41 -0
- package/dist/{chunk-BJHKA3Z2.js → chunk-DRURWEJR.js} +2 -2
- package/dist/{chunk-U5DAQEBO.js → chunk-DTZLKSWU.js} +1 -1
- package/dist/{chunk-KZQV37IG.js → chunk-E2R5JEQC.js} +4 -4
- package/dist/chunk-E6DSHSYR.js +328 -0
- package/dist/{chunk-FRM5FUCX.js → chunk-E7HU64ES.js} +2 -2
- package/dist/{chunk-6NPQUOD5.js → chunk-EKXHGK7S.js} +3 -5
- package/dist/{chunk-3HTGPMNY.js → chunk-ENSULQYA.js} +2 -2
- package/dist/{chunk-UQLOY5ZV.js → chunk-EQKM37O2.js} +3 -5
- package/dist/{chunk-E4VMZ23T.js → chunk-EVWDEDPV.js} +4 -4
- package/dist/{chunk-JPTK7IG4.js → chunk-EYOPD6DG.js} +1 -1
- package/dist/{chunk-RHC3DTT5.js → chunk-FNBJK2TJ.js} +3 -3
- package/dist/{chunk-YNMF33DB.js → chunk-FRU7FNLF.js} +1 -1
- package/dist/{chunk-OJX3CQSK.js → chunk-FT2MLA4F.js} +207 -147
- package/dist/{chunk-U5UHFRSQ.js → chunk-FYON63D2.js} +1 -1
- package/dist/{chunk-LH4AV4VB.js → chunk-GIPLONYW.js} +2 -2
- package/dist/{chunk-Z7EC4L7T.js → chunk-GLQH2FNY.js} +1 -1
- package/dist/{chunk-YRE4FYL4.js → chunk-GUNKK5PA.js} +7 -7
- package/dist/{chunk-R2MDLLRF.js → chunk-GVIW5ZJR.js} +2 -4
- package/dist/{chunk-P2HV6NWL.js → chunk-GY7HAFTG.js} +2 -2
- package/dist/{chunk-4CEAIFZT.js → chunk-H5G6SVUG.js} +1 -1
- package/dist/{chunk-EYIM4SDS.js → chunk-HEHM26GN.js} +1 -1
- package/dist/{chunk-U4DC4COG.js → chunk-HR26PDFY.js} +2 -4
- package/dist/{chunk-YJ35LRQW.js → chunk-HU6Z5HMO.js} +2 -4
- package/dist/{chunk-IA7CRX7T.js → chunk-HZBUSK2N.js} +2 -4
- package/dist/{chunk-UU5EUXNQ.js → chunk-I4UQLLSP.js} +1 -1
- package/dist/{chunk-NEUJTY2R.js → chunk-I7SKIUQJ.js} +5 -5
- package/dist/{chunk-SWN3TJKT.js → chunk-IIAKP25M.js} +7 -7
- package/dist/chunk-IQZYBCVR.js +109 -0
- package/dist/{chunk-OO7QUK3Y.js → chunk-ITMSX2KQ.js} +3 -5
- package/dist/{chunk-UKVEQ24N.js → chunk-IXSNEWUQ.js} +8 -8
- package/dist/{chunk-OZC7SQYO.js → chunk-J3U2QLEW.js} +1 -1
- package/dist/{chunk-SMC7EMBH.js → chunk-J6FNB3IE.js} +1 -1
- package/dist/{chunk-AONKTYFO.js → chunk-JAW2434H.js} +1 -1
- package/dist/{chunk-HJJXGJDO.js → chunk-JCXX4DNP.js} +2 -2
- package/dist/{chunk-HF2QMR4B.js → chunk-JJUA3AUY.js} +1 -1
- package/dist/{chunk-RELVICQN.js → chunk-JPZ5C6FD.js} +1 -1
- package/dist/{chunk-4SK6CDZZ.js → chunk-JQ6JP5U3.js} +2 -2
- package/dist/{chunk-QM7MOWSV.js → chunk-JT47JVMM.js} +11 -11
- package/dist/{chunk-WAYBZLBI.js → chunk-JV3J45SY.js} +5 -5
- package/dist/{chunk-NQG7WTKF.js → chunk-K2VXSJUF.js} +1 -1
- package/dist/{chunk-GIB6NTQL.js → chunk-KDGQJ37N.js} +2 -4
- package/dist/{chunk-VF3FAO5H.js → chunk-KP3LZSTC.js} +2 -2
- package/dist/{chunk-WNQEL3FE.js → chunk-KPYRXLOI.js} +1 -1
- package/dist/{chunk-TWHVBX3P.js → chunk-KQPZRFFT.js} +3 -3
- package/dist/{chunk-V2FHMPAK.js → chunk-KUR6AQRH.js} +2 -4
- package/dist/{chunk-FVAIWOM4.js → chunk-KVM4YVFU.js} +2 -2
- package/dist/{chunk-6GQUM5K7.js → chunk-KXEXGXFV.js} +4 -4
- package/dist/{chunk-Z7ZJAJMC.js → chunk-L6ZOJ3F5.js} +2 -2
- package/dist/{chunk-SK6XP7NB.js → chunk-L7UVRJU6.js} +2 -2
- package/dist/{chunk-S4QXORRY.js → chunk-LTAR5MLU.js} +30 -25
- package/dist/{chunk-TEPEMC3Z.js → chunk-M24NHTQL.js} +1 -1
- package/dist/{chunk-4PX63HUF.js → chunk-MAAVSBM6.js} +4 -4
- package/dist/{chunk-ST4AHZAE.js → chunk-MWSL7FLA.js} +1 -1
- package/dist/{chunk-ZN3YPJ7K.js → chunk-N2YEPXWG.js} +4 -4
- package/dist/{chunk-LLDKZKLC.js → chunk-NA2GDOU7.js} +3 -5
- package/dist/{chunk-JU4VN5TD.js → chunk-NMC4FYSN.js} +2 -2
- package/dist/{chunk-QDQHROFM.js → chunk-OA6BLEVL.js} +3 -3
- package/dist/{chunk-TS5KQSNH.js → chunk-OKXPZIGO.js} +2 -2
- package/dist/{chunk-OMUB4HUL.js → chunk-OPMPCYJX.js} +5 -5
- package/dist/{chunk-UXZ27L5P.js → chunk-OUTMAZS3.js} +2 -2
- package/dist/{chunk-CXRUBEFF.js → chunk-PLWBVBQJ.js} +2 -2
- package/dist/{chunk-BNDMVA3T.js → chunk-PSNKTHKS.js} +5 -5
- package/dist/{chunk-LEC3ENGO.js → chunk-PTXXNVII.js} +5 -5
- package/dist/{chunk-D2T6A6TA.js → chunk-PZRMVDNF.js} +1 -1
- package/dist/{chunk-N6FICBF5.js → chunk-PZXHCGSF.js} +2 -2
- package/dist/{chunk-VFP7NP63.js → chunk-QEUNVKSA.js} +4 -4
- package/dist/{chunk-4DU6DHG4.js → chunk-QFZK43H2.js} +2 -2
- package/dist/{chunk-KX73KMNY.js → chunk-RYOXVZEX.js} +1 -1
- package/dist/{chunk-TKCAGTFO.js → chunk-SI47AGBI.js} +2 -2
- package/dist/{chunk-QBQZ3GZP.js → chunk-SQYHUF4Y.js} +3 -3
- package/dist/{chunk-H6YXOK2A.js → chunk-SSHDOORP.js} +2 -2
- package/dist/{chunk-AK7YIEAT.js → chunk-SWLW2RIE.js} +1 -1
- package/dist/{chunk-O4HQWTND.js → chunk-TOAE7XZ7.js} +2 -4
- package/dist/{chunk-P3AG2KXU.js → chunk-TPHZ6MH5.js} +2 -2
- package/dist/{chunk-FGSYS2KD.js → chunk-TQ7X7BTA.js} +7 -7
- package/dist/{chunk-RT52JDBU.js → chunk-TVJ5Y6U5.js} +3 -5
- package/dist/chunk-TWDUEIWF.js +51 -0
- package/dist/{chunk-JLAKAWP5.js → chunk-UHHY2ND7.js} +4 -6
- package/dist/{chunk-OKTHVHAN.js → chunk-UKL34M7K.js} +2 -2
- package/dist/{chunk-GR6JUIRU.js → chunk-UPZP4CHG.js} +15 -4
- package/dist/{chunk-FK2KI5EM.js → chunk-VG3FVZJW.js} +4 -4
- package/dist/{chunk-YQV26XP3.js → chunk-VHAJNIVQ.js} +4 -4
- package/dist/{chunk-R4WBTEZL.js → chunk-VKEUZPVJ.js} +1 -1
- package/dist/{chunk-EEXFUHQT.js → chunk-VWFT6TH3.js} +3 -3
- package/dist/{chunk-2MK2FIVX.js → chunk-VYPJCJ5T.js} +75 -17
- package/dist/{chunk-G7GDAD7B.js → chunk-W3FZMS7E.js} +3 -3
- package/dist/{chunk-MW3PXEBW.js → chunk-WCKHI6BO.js} +2 -4
- package/dist/{chunk-KT4JCLQN.js → chunk-WH7WEJMX.js} +3 -3
- package/dist/{chunk-TYE2ULTZ.js → chunk-WJAFVDOO.js} +1 -1
- package/dist/{chunk-VJUBAHQN.js → chunk-XHJ64CM2.js} +3 -5
- package/dist/{chunk-XXNKE6HC.js → chunk-XJV4PVT5.js} +3 -5
- package/dist/{chunk-SWJRT5LI.js → chunk-XPRFPBDC.js} +3 -3
- package/dist/{chunk-MVTNCT5E.js → chunk-XZTJCIW5.js} +1 -1
- package/dist/{chunk-DOOASSS4.js → chunk-Y5ZZOV2D.js} +2 -4
- package/dist/{chunk-WRQPTVAH.js → chunk-YCAFOH7B.js} +1 -1
- package/dist/{chunk-WA5ATPE2.js → chunk-YHSJFILH.js} +5 -5
- package/dist/{chunk-RRDCRGAU.js → chunk-YPPV7PKA.js} +2 -2
- package/dist/{chunk-C2RGTTV6.js → chunk-YQX2GSSA.js} +3 -5
- package/dist/{chunk-J5NKP3PO.js → chunk-YYFBYF3Z.js} +1 -1
- package/dist/{chunk-LFIP5HLH.js → chunk-ZHI5INXR.js} +4 -6
- package/dist/{chunk-MW5TDV7U.js → chunk-ZPNDXVKU.js} +2 -4
- package/dist/{chunk-ETS5KFYF.js → chunk-ZRVOEBMM.js} +1 -1
- package/dist/{chunk-QB2L7K3U.js → chunk-ZSBHQBTB.js} +2 -2
- package/dist/{chunk-BCGTBSGP.js → chunk-ZTHL4V67.js} +5 -5
- package/dist/{chunk-BT23JEBF.js → chunk-ZTUJNVXJ.js} +3 -5
- package/dist/{chunk-YBZACDZB.js → chunk-ZVOBDGMH.js} +1 -1
- package/dist/{chunk-YGC3WSRP.js → chunk-ZYK6RTG2.js} +4 -4
- package/dist/{collection-add-products-TWJJ35QV.js → collection-add-products-HGAABSQG.js} +34 -35
- package/dist/{collection-create-VMJUEARG.js → collection-create-IROC3TUS.js} +3 -4
- package/dist/{collection-detail-SREJ5XM6.js → collection-detail-POPHBJTD.js} +35 -36
- package/dist/{collection-edit-K25PV4EM.js → collection-edit-VLCCN534.js} +3 -4
- package/dist/{collection-icon-edit-OEQJYX2P.js → collection-icon-edit-HGOORQUL.js} +3 -4
- package/dist/{collection-list-AZW2UZ6K.js → collection-list-QYOZOLH6.js} +39 -40
- package/dist/{collection-media-CIP3D6TK.js → collection-media-YK4XDMDC.js} +3 -4
- package/dist/{collection-metadata-HALVAS56.js → collection-metadata-NAUKYDWG.js} +30 -31
- package/dist/{commission-rule-commission-edit-XGSO5YKM.js → commission-rule-commission-edit-ORXDQKCX.js} +5 -6
- package/dist/{commission-rule-create-E6CMHSIE.js → commission-rule-create-3E62CKHW.js} +5 -6
- package/dist/{commission-rule-detail-5HWHY54Y.js → commission-rule-detail-3NH7ULIN.js} +9 -10
- package/dist/{commission-rule-edit-62EUPAQV.js → commission-rule-edit-4JVK6S76.js} +2 -3
- package/dist/{commissions-list-U43XF7PH.js → commissions-list-BADK7MSY.js} +9 -10
- package/dist/{customer-create-QPQ6CDZ5.js → customer-create-HPOKBBWF.js} +2 -3
- package/dist/{customer-create-address-BXF4BEBH.js → customer-create-address-X74BQEEF.js} +2 -3
- package/dist/{customer-detail-NCF2YMFC.js → customer-detail-SZT2SUP7.js} +33 -34
- package/dist/{customer-edit-GJSVC74Y.js → customer-edit-23V25VEJ.js} +2 -3
- package/dist/{customer-edit-address-T27ZZXZD.js → customer-edit-address-IKTNWMCQ.js} +2 -3
- package/dist/{customer-group-add-customers-ZA743HDV.js → customer-group-add-customers-Z3ZKTWF4.js} +3 -4
- package/dist/{customer-group-create-6UMMLXCU.js → customer-group-create-B33PV7LT.js} +2 -3
- package/dist/{customer-group-detail-EIONHXPW.js → customer-group-detail-FFMUXNIB.js} +32 -33
- package/dist/{customer-group-edit-TMIRTH32.js → customer-group-edit-R7GY2M7U.js} +2 -3
- package/dist/customer-group-list-EOSIHWXE.js +54 -0
- package/dist/{customer-group-metadata-M3LYBHNQ.js → customer-group-metadata-TJIDSJ6Z.js} +30 -31
- package/dist/{customer-list-NLL36VDK.js → customer-list-Y76GVUYI.js} +4 -5
- package/dist/{customer-metadata-AB26NQOY.js → customer-metadata-DE3WIXFE.js} +30 -31
- package/dist/{customers-add-customer-group-3DB5XQBR.js → customers-add-customer-group-6ITTWDUT.js} +31 -32
- package/dist/{edit-inventory-item-ZQRD5OR6.js → edit-inventory-item-JHEJ663F.js} +30 -31
- package/dist/{edit-inventory-item-attributes-CR756I6L.js → edit-inventory-item-attributes-GXSPW442.js} +30 -31
- package/dist/{edit-reservation-CR4IQZFA.js → edit-reservation-FJR7ZYJF.js} +4 -5
- package/dist/{edit-rules-4MSYXDEX.js → edit-rules-ACC2CU4N.js} +32 -33
- package/dist/extension-targets.d.ts +9 -0
- package/dist/{global-commission-edit-E2WVJPW7.js → global-commission-edit-6UEKJHWH.js} +5 -6
- package/dist/home-DBMCSDAX.js +62 -0
- package/dist/index.js +322 -290
- package/dist/{inventory-detail-VUGZZMVT.js → inventory-detail-NLQA355J.js} +31 -32
- package/dist/{inventory-list-F546ILKD.js → inventory-list-YH3VIQ4F.js} +6 -7
- package/dist/{inventory-metadata-VYSIDADV.js → inventory-metadata-NGKWP7VG.js} +30 -31
- package/dist/{inventory-stock-FRETNM2W.js → inventory-stock-MHGGME6C.js} +30 -31
- package/dist/{invite-W27REN73.js → invite-IDVA7HGQ.js} +2 -3
- package/dist/{loader-2DL2TFYB.js → loader-JVCNJIMP.js} +2 -3
- package/dist/{loader-SPPQQOE3.js → loader-PKVN2RNN.js} +2 -3
- package/dist/{location-create-M22DO6QH.js → location-create-6YTSKD7F.js} +2 -3
- package/dist/{location-detail-BQKNTL7R.js → location-detail-5J76LVYZ.js} +31 -32
- package/dist/{location-edit-TJDVZ4GS.js → location-edit-M6MJAFKF.js} +2 -3
- package/dist/{location-fulfillment-providers-XQ4NFOQ6.js → location-fulfillment-providers-BXNGW5FD.js} +36 -37
- package/dist/location-list-SJZNHDQ5.js +51 -0
- package/dist/{location-sales-channels-O2KUGUKX.js → location-sales-channels-TNLIHLYK.js} +4 -5
- package/dist/{location-service-zone-create-DXIMD7MY.js → location-service-zone-create-2UEUMJ33.js} +4 -5
- package/dist/{location-service-zone-edit-ZG3KDRGX.js → location-service-zone-edit-YHMPLIBL.js} +4 -5
- package/dist/{location-service-zone-manage-areas-K5UUU7GT.js → location-service-zone-manage-areas-5ALQ3XTP.js} +4 -5
- package/dist/location-service-zone-shipping-option-create-6D242QKG.js +58 -0
- package/dist/{location-service-zone-shipping-option-edit-KAESWO5Z.js → location-service-zone-shipping-option-edit-K6UP33QH.js} +3 -4
- package/dist/{location-service-zone-shipping-option-pricing-CTDN4AEZ.js → location-service-zone-shipping-option-pricing-7PC7CUC4.js} +6 -7
- package/dist/{login-G5M5N64D.js → login-NVTT2EHC.js} +30 -31
- package/dist/{manage-locations-LN32PNLH.js → manage-locations-VKDYHYYV.js} +3 -4
- package/dist/{marketplace-add-currencies-REYRQDDN.js → marketplace-add-currencies-3MQIZY5Q.js} +4 -5
- package/dist/{marketplace-detail-7OOEGKHV.js → marketplace-detail-HT4HIW5I.js} +32 -33
- package/dist/{marketplace-edit-HQNN6PBP.js → marketplace-edit-TTP44LZN.js} +4 -5
- package/dist/{marketplace-metadata-7EC2Q7IV.js → marketplace-metadata-2XEMGXBZ.js} +30 -31
- package/dist/{offer-condition-create-JZKZF3GW.js → offer-condition-create-J5Z3Q5MH.js} +30 -31
- package/dist/{offer-condition-edit-W4QPQQH2.js → offer-condition-edit-CPBKK54R.js} +30 -31
- package/dist/{offer-condition-list-MXQIBLBA.js → offer-condition-list-ELVULPI6.js} +38 -38
- package/dist/{offer-detail-page-SFMQXRGK.js → offer-detail-page-4P2NUI5V.js} +7 -8
- package/dist/{offer-variant-detail-page-MG6QWFMT.js → offer-variant-detail-page-WPBDFISE.js} +5 -6
- package/dist/{offers-V4QVHTHJ.js → offers-SQQ5SVNW.js} +35 -36
- package/dist/{order-create-claim-NOAME5ZU.js → order-create-claim-SK6YC7UT.js} +8 -9
- package/dist/{order-create-edit-FE3PB6BD.js → order-create-edit-KSOUDYKT.js} +6 -7
- package/dist/{order-create-exchange-IOFUN65A.js → order-create-exchange-GJ6VZUXC.js} +34 -35
- package/dist/{order-create-refund-AHVWKLIA.js → order-create-refund-I24FCJLL.js} +30 -31
- package/dist/{order-create-return-LDZIJEZO.js → order-create-return-M7UE3KTN.js} +6 -7
- package/dist/{order-detail-XRP4RPTU.js → order-detail-74FNI5EP.js} +36 -37
- package/dist/{order-edit-billing-address-3E5GBDZJ.js → order-edit-billing-address-BQUX6XE4.js} +31 -32
- package/dist/{order-edit-email-X6DQ7NXT.js → order-edit-email-PIF3KMMY.js} +30 -31
- package/dist/{order-edit-shipping-address-W4VQTY7S.js → order-edit-shipping-address-IWAXYN6Y.js} +30 -31
- package/dist/{order-list-C3EDQKC6.js → order-list-X5UIPQ2L.js} +12 -13
- package/dist/{order-metadata-TSUW3WSW.js → order-metadata-4IZB4TSA.js} +30 -31
- package/dist/{order-request-transfer-KPKFNR3L.js → order-request-transfer-RRFZTO2H.js} +30 -31
- package/dist/pages/index.d.ts +36 -3
- package/dist/pages/index.js +165 -161
- package/dist/payout-account-detail-XHWAJWNR.js +412 -0
- package/dist/payout-account-list-XCQFSEMY.js +282 -0
- package/dist/{payout-detail-AW244L2K.js → payout-detail-3Y4CDLYC.js} +24 -4
- package/dist/{payout-list-YDF6MRJQ.js → payout-list-GPITXLNR.js} +15 -5
- package/dist/{price-list-configuration-CPK6OKFW.js → price-list-configuration-TIVJZ4CD.js} +4 -5
- package/dist/price-list-create-2OSDP6YG.js +72 -0
- package/dist/{price-list-customer-availability-HOIAQMPK.js → price-list-customer-availability-XUW5CXVO.js} +4 -5
- package/dist/{price-list-detail-QXHYS6K2.js → price-list-detail-VBGZ56NK.js} +36 -37
- package/dist/{price-list-edit-YBRU66J5.js → price-list-edit-VO6QAM7N.js} +4 -5
- package/dist/{price-list-list-55JZMNAF.js → price-list-list-AOJQ3DYT.js} +6 -7
- package/dist/price-list-prices-add-K6UW7LCI.js +68 -0
- package/dist/{price-list-prices-edit-SP67DNIG.js → price-list-prices-edit-IR2HYR5F.js} +32 -33
- package/dist/{product-add-existing-attributes-XDORUURH.js → product-add-existing-attributes-SMP52KCJ.js} +32 -33
- package/dist/{product-attributes-VWP2FYD2.js → product-attributes-RREAPT6T.js} +2 -3
- package/dist/{product-bulk-edit-B4IJNNYK.js → product-bulk-edit-UMEOJQKA.js} +2 -3
- package/dist/{product-create-75ITVW4M.js → product-create-HBGQNARV.js} +35 -36
- package/dist/{product-create-attribute-P3TI6SQL.js → product-create-attribute-G3AUSBVE.js} +3 -4
- package/dist/{product-create-variant-KUNZRZQL.js → product-create-variant-MO7Z452J.js} +5 -6
- package/dist/{product-detail-D4C4BPM3.js → product-detail-SW2QUQRB.js} +33 -34
- package/dist/{product-edit-H7QSPDVL.js → product-edit-OLKZ6FO2.js} +2 -3
- package/dist/{product-edit-attribute-GX6HCZIO.js → product-edit-attribute-DIZFQ6ZP.js} +3 -4
- package/dist/{product-list-ZTCJZCB5.js → product-list-MEHDACOH.js} +35 -36
- package/dist/{product-media-EN27BB3X.js → product-media-DNP46LTI.js} +5 -6
- package/dist/{product-metadata-7CLLU5OI.js → product-metadata-SKGGZGMW.js} +30 -31
- package/dist/{product-organization-G3BGNSO3.js → product-organization-DLJBYZU3.js} +5 -6
- package/dist/{product-sales-channels-GLRQ2PFW.js → product-sales-channels-PK2FKY2X.js} +3 -4
- package/dist/{product-shipping-profile-NHGKKGOJ.js → product-shipping-profile-YLE4YIDL.js} +2 -3
- package/dist/{product-tag-create-THJMFS42.js → product-tag-create-BC7ACPGU.js} +30 -31
- package/dist/{product-tag-detail-GQLALAQ3.js → product-tag-detail-74SRZY5I.js} +44 -44
- package/dist/{product-tag-edit-KTHDQFEE.js → product-tag-edit-HSOUEU5D.js} +30 -31
- package/dist/{product-tag-list-ZNZ4I7XB.js → product-tag-list-YC6BIXAJ.js} +44 -44
- package/dist/{product-tag-metadata-2ECSF7NR.js → product-tag-metadata-2AIAO4B3.js} +30 -31
- package/dist/{product-type-create-EL7V3U3E.js → product-type-create-J7ELRHCC.js} +2 -3
- package/dist/{product-type-detail-VJH52I7J.js → product-type-detail-6R4BJSSQ.js} +36 -37
- package/dist/{product-type-edit-KZ4X4E75.js → product-type-edit-Y5ZIXWE4.js} +2 -3
- package/dist/{product-type-list-QSY643MN.js → product-type-list-I3YSKNZ2.js} +4 -5
- package/dist/{product-type-metadata-FTKOTS6A.js → product-type-metadata-34AOQ56P.js} +30 -31
- package/dist/{product-variant-detail-MSE22M45.js → product-variant-detail-Y2JPURSC.js} +31 -32
- package/dist/{product-variant-edit-T4GEXINL.js → product-variant-edit-FYT5JOLH.js} +32 -33
- package/dist/{product-variant-metadata-52ZNCCAV.js → product-variant-metadata-BJ4ESS42.js} +30 -31
- package/dist/{profile-detail-W27TUEFG.js → profile-detail-NJV3B3QG.js} +3 -4
- package/dist/{profile-edit-FRZFIHFU.js → profile-edit-5LG6ZD34.js} +2 -3
- package/dist/{promotion-add-campaign-RBPN5IEO.js → promotion-add-campaign-USH5DBXT.js} +7 -8
- package/dist/promotion-create-SIOUY7KZ.js +56 -0
- package/dist/{promotion-detail-ZF4STPC7.js → promotion-detail-QDF7I6KQ.js} +34 -35
- package/dist/{promotion-edit-details-3L2RCZ4N.js → promotion-edit-details-JUKUUBUL.js} +3 -4
- package/dist/{promotion-list-BISF4UE4.js → promotion-list-35QHP535.js} +9 -10
- package/dist/{refund-reason-create-ZT7YHX3R.js → refund-reason-create-NYGRLVIC.js} +30 -31
- package/dist/{refund-reason-edit-6QC3NVCU.js → refund-reason-edit-C2QOTJSU.js} +30 -31
- package/dist/{refund-reason-list-O6DPFVEN.js → refund-reason-list-QZ2Z7MNL.js} +38 -38
- package/dist/{region-add-countries-V6VN3WEO.js → region-add-countries-OL553I4U.js} +3 -4
- package/dist/{region-add-sellers-N7FDMKT6.js → region-add-sellers-K3AHYJYP.js} +7 -8
- package/dist/{region-create-HNFGBSPE.js → region-create-ISLRLCWK.js} +4 -5
- package/dist/{region-detail-CTJLFHP2.js → region-detail-73CVUMEC.js} +8 -9
- package/dist/{region-edit-PLVSI5SB.js → region-edit-YFHA3XUW.js} +4 -5
- package/dist/{region-list-Q6GVRF6Z.js → region-list-TV3DT5F6.js} +4 -5
- package/dist/{region-metadata-GIIRT3SF.js → region-metadata-MIQHNJWB.js} +30 -31
- package/dist/{reservation-create-PNZ5ABT7.js → reservation-create-UAEX2IIQ.js} +4 -5
- package/dist/{reservation-detail-I5TEWGOX.js → reservation-detail-7LNYITL4.js} +31 -32
- package/dist/{reservation-list-3OJRZFCX.js → reservation-list-HI4E5SD3.js} +7 -8
- package/dist/{reservation-metadata-COMUCD4D.js → reservation-metadata-S3364EKD.js} +30 -31
- package/dist/{reset-password-4NCLZ5NE.js → reset-password-RGFOVPEN.js} +1 -1
- package/dist/{return-reason-create-LDGP3XDZ.js → return-reason-create-5ZLISRAS.js} +2 -3
- package/dist/{return-reason-edit-KWDTHPCC.js → return-reason-edit-XAHTW76W.js} +2 -3
- package/dist/{return-reason-list-XYANUPSO.js → return-reason-list-CVANLLJB.js} +10 -10
- package/dist/{review-detail-5WFU232F.js → review-detail-L6E452SS.js} +4 -5
- package/dist/{review-edit-3UCGTNYH.js → review-edit-P2JB4PTK.js} +2 -3
- package/dist/{review-list-Q3D37L5U.js → review-list-PA6S6M3K.js} +7 -8
- package/dist/{review-respond-OWEXAPZ6.js → review-respond-GZAUHXQJ.js} +2 -3
- package/dist/{sales-channel-add-products-TJN7IRJH.js → sales-channel-add-products-MGVP4FFA.js} +34 -35
- package/dist/{sales-channel-create-DY6WO2AH.js → sales-channel-create-KCEMVUFL.js} +3 -4
- package/dist/{sales-channel-detail-5IFOCREY.js → sales-channel-detail-R7NN5C34.js} +35 -36
- package/dist/{sales-channel-edit-NHJ47CGL.js → sales-channel-edit-EE4HMRMK.js} +3 -4
- package/dist/sales-channel-list-KAGUTX7P.js +48 -0
- package/dist/{sales-channel-metadata-AAIEFOKT.js → sales-channel-metadata-6MT5BCGH.js} +30 -31
- package/dist/settings-5AJC22SM.js +61 -0
- package/dist/{shipping-option-type-create-OTUTEDKI.js → shipping-option-type-create-LGGBUTPM.js} +30 -31
- package/dist/{shipping-option-type-detail-OBHOSDNJ.js → shipping-option-type-detail-RDKLCL3M.js} +32 -33
- package/dist/{shipping-option-type-edit-VLLPUFVQ.js → shipping-option-type-edit-K2DRIE6Q.js} +30 -31
- package/dist/shipping-option-type-list-JIGYSRUS.js +58 -0
- package/dist/{shipping-profile-create-ONX2BVLP.js → shipping-profile-create-RKD7BJGH.js} +2 -3
- package/dist/{shipping-profile-detail-J5QNUKRA.js → shipping-profile-detail-HY362D6V.js} +3 -4
- package/dist/{shipping-profile-metadata-R2BTWLLO.js → shipping-profile-metadata-INM6HD5Y.js} +30 -31
- package/dist/{shipping-profiles-list-G74ZSQIT.js → shipping-profiles-list-4L2FFQ7C.js} +3 -4
- package/dist/{store-add-regions-XRA2RC4C.js → store-add-regions-2D5WXXAC.js} +3 -4
- package/dist/{store-address-edit-EB6SMTDX.js → store-address-edit-3FUQAVO6.js} +3 -4
- package/dist/{store-bulk-edit-OGATAAML.js → store-bulk-edit-WIPY4OI5.js} +4 -5
- package/dist/{store-closure-edit-AEJYD5MG.js → store-closure-edit-F2UB2UE3.js} +3 -4
- package/dist/{store-create-BEWLUGTH.js → store-create-XWRAEDU5.js} +30 -31
- package/dist/{store-details-DARW5N7Z.js → store-details-VPNLJEQW.js} +47 -40
- package/dist/{store-edit-YXUNYHEB.js → store-edit-6Z2ORG5F.js} +6 -7
- package/dist/store-list-FV2HPPVE.js +80 -0
- package/dist/{store-member-invite-WPKIJFKF.js → store-member-invite-HJ3HSQ6P.js} +5 -6
- package/dist/{store-payment-details-edit-3QIONG2Z.js → store-payment-details-edit-JRHVAWFJ.js} +3 -4
- package/dist/{store-professional-details-edit-2KGP4R4E.js → store-professional-details-edit-623AGHEB.js} +3 -4
- package/dist/{tax-region-create-KRRVZTOB.js → tax-region-create-NRY2FH4O.js} +31 -32
- package/dist/tax-region-detail-JA7S5HWF.js +66 -0
- package/dist/{tax-region-edit-P654YFDA.js → tax-region-edit-KYF2TUAA.js} +30 -31
- package/dist/{tax-region-list-G3DLBZXS.js → tax-region-list-EN2XGZLJ.js} +6 -7
- package/dist/{tax-region-metadata-TOMGHV4L.js → tax-region-metadata-PZNTQZ66.js} +30 -31
- package/dist/{tax-region-province-create-ZQBJSGDY.js → tax-region-province-create-DY7IEM2A.js} +2 -3
- package/dist/{tax-region-province-detail-OAPPLPWH.js → tax-region-province-detail-QPZUP6LC.js} +33 -34
- package/dist/{tax-region-tax-override-create-R4PQ7LV7.js → tax-region-tax-override-create-U5654PKU.js} +43 -43
- package/dist/{tax-region-tax-override-edit-BFSBKLLR.js → tax-region-tax-override-edit-DQCSKCYZ.js} +43 -43
- package/dist/{tax-region-tax-rate-create-GXUR4ROT.js → tax-region-tax-rate-create-N5FHHGV2.js} +3 -4
- package/dist/{tax-region-tax-rate-edit-RWBXWFW3.js → tax-region-tax-rate-edit-7E45DXUP.js} +3 -4
- package/dist/{user-detail-BQSC2WUU.js → user-detail-JVJCU3AN.js} +4 -5
- package/dist/{user-edit-JE4C5CRA.js → user-edit-UJMTZBPX.js} +2 -3
- package/dist/{user-invite-TV2OGAAM.js → user-invite-VDNGXSV3.js} +2 -3
- package/dist/{user-list-JTK5Z673.js → user-list-KBRBDW2H.js} +3 -4
- package/dist/{user-metadata-4XXJXZJO.js → user-metadata-A2GTLQEJ.js} +30 -31
- package/package.json +6 -6
- package/dist/attribute-list-M5IP6VR7.js +0 -60
- package/dist/chunk-6UZQ3NIF.js +0 -33
- package/dist/chunk-BUVPXS25.js +0 -97
- package/dist/chunk-MWEFUPRY.js +0 -61
- package/dist/chunk-RHKRREUU.js +0 -15
- package/dist/customer-group-list-IFM4YEVY.js +0 -55
- package/dist/home-D5MWSO5M.js +0 -63
- package/dist/location-list-YB27PV3R.js +0 -52
- package/dist/location-service-zone-shipping-option-create-VZVSNB3W.js +0 -59
- package/dist/price-list-create-K4NOZFAS.js +0 -73
- package/dist/price-list-prices-add-63TWHUTG.js +0 -69
- package/dist/promotion-create-LIYNZIUS.js +0 -57
- package/dist/sales-channel-list-AR3S2X23.js +0 -49
- package/dist/settings-PDVDZSWL.js +0 -62
- package/dist/shipping-option-type-list-643TZV6H.js +0 -59
- package/dist/store-list-SNHRYJLA.js +0 -81
- package/dist/tax-region-detail-SM4MTPMW.js +0 -67
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useProductTableColumns
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZRVOEBMM.js";
|
|
4
4
|
import {
|
|
5
5
|
useProductTableFilters
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PSNKTHKS.js";
|
|
7
7
|
import {
|
|
8
8
|
useProductTableQuery
|
|
9
9
|
} from "./chunk-S4IDR46L.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
useBatchProducts,
|
|
25
25
|
useDeleteProduct,
|
|
26
26
|
useProducts
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-BYW3OPEN.js";
|
|
28
28
|
|
|
29
29
|
// src/pages/products/product-list/product-list.tsx
|
|
30
30
|
import { Children as Children2 } from "react";
|
|
@@ -44,7 +44,11 @@ import { keepPreviousData } from "@tanstack/react-query";
|
|
|
44
44
|
import {
|
|
45
45
|
createColumnHelper
|
|
46
46
|
} from "@tanstack/react-table";
|
|
47
|
-
import {
|
|
47
|
+
import {
|
|
48
|
+
getListInitialData,
|
|
49
|
+
mergeListFilters,
|
|
50
|
+
useExtendableTable
|
|
51
|
+
} from "@mercurjs/dashboard-shared";
|
|
48
52
|
import { useMemo, useState, Children } from "react";
|
|
49
53
|
import { useTranslation } from "react-i18next";
|
|
50
54
|
import { Link, Outlet, useLoaderData, useNavigate } from "react-router-dom";
|
|
@@ -97,8 +101,9 @@ var ProductListDataTable = () => {
|
|
|
97
101
|
const prompt = usePrompt();
|
|
98
102
|
const [selection, setSelection] = useState({});
|
|
99
103
|
const { mutateAsync: batchProducts } = useBatchProducts();
|
|
100
|
-
const
|
|
104
|
+
const loaderData = useLoaderData();
|
|
101
105
|
const { searchParams, raw } = useProductTableQuery({ pageSize: PAGE_SIZE });
|
|
106
|
+
const initialData = getListInitialData(raw, loaderData);
|
|
102
107
|
const { products, count, isLoading, isError, error } = useProducts(
|
|
103
108
|
{
|
|
104
109
|
...searchParams
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import {
|
|
2
|
+
RETRYABLE_PAYOUT_STATUSES
|
|
3
|
+
} from "./chunk-TWDUEIWF.js";
|
|
4
|
+
import {
|
|
5
|
+
useRetryPayout
|
|
6
|
+
} from "./chunk-3EPP7VXZ.js";
|
|
7
|
+
|
|
8
|
+
// src/pages/payouts/common/hooks/use-retry-payout-action.tsx
|
|
9
|
+
import { toast, usePrompt } from "@medusajs/ui";
|
|
10
|
+
import { useTranslation } from "react-i18next";
|
|
11
|
+
var useRetryPayoutAction = (payout) => {
|
|
12
|
+
const { t } = useTranslation();
|
|
13
|
+
const prompt = usePrompt();
|
|
14
|
+
const { mutateAsync } = useRetryPayout(payout.id);
|
|
15
|
+
const canRetry = RETRYABLE_PAYOUT_STATUSES.includes(payout.status);
|
|
16
|
+
const handleRetry = async () => {
|
|
17
|
+
const confirmed = await prompt({
|
|
18
|
+
title: t("payouts.retry.title"),
|
|
19
|
+
description: t("payouts.retry.description"),
|
|
20
|
+
confirmText: t("actions.confirm"),
|
|
21
|
+
cancelText: t("actions.cancel")
|
|
22
|
+
});
|
|
23
|
+
if (!confirmed) {
|
|
24
|
+
return;
|
|
25
|
+
}
|
|
26
|
+
await mutateAsync(void 0, {
|
|
27
|
+
onSuccess: () => toast.success(t("payouts.retry.successToast")),
|
|
28
|
+
onError: (error) => toast.error(error.message)
|
|
29
|
+
});
|
|
30
|
+
};
|
|
31
|
+
return { handleRetry, canRetry };
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export {
|
|
35
|
+
useRetryPayoutAction
|
|
36
|
+
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeleteProductTagAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-23X5IBGZ.js";
|
|
4
4
|
import {
|
|
5
5
|
useProductTagTableColumns
|
|
6
6
|
} from "./chunk-VSA35Z34.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
} from "./chunk-KOURHC2N.js";
|
|
10
10
|
import {
|
|
11
11
|
useProductTagTableQuery
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EYOPD6DG.js";
|
|
13
13
|
import {
|
|
14
14
|
SingleColumnPage
|
|
15
15
|
} from "./chunk-H6MYB7GB.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-3UOYBH5O.js";
|
|
23
23
|
import {
|
|
24
24
|
useProductTags
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-NA2GDOU7.js";
|
|
26
26
|
|
|
27
27
|
// src/pages/product-tags/product-tag-list/product-tag-list.tsx
|
|
28
28
|
import { Children as Children3 } from "react";
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
shippingOptionsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XHJ64CM2.js";
|
|
4
4
|
import {
|
|
5
5
|
stockLocationsQueryKeys
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
queryClient
|
|
9
|
-
} from "./chunk-RHKRREUU.js";
|
|
6
|
+
} from "./chunk-Y5ZZOV2D.js";
|
|
10
7
|
import {
|
|
8
|
+
queryClient,
|
|
11
9
|
queryKeysFactory
|
|
12
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2KCF3ZIB.js";
|
|
13
11
|
import {
|
|
14
12
|
sdk
|
|
15
13
|
} from "./chunk-PFJ2C667.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useBulkDeleteOffers
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4KXDWQ5F.js";
|
|
4
4
|
import {
|
|
5
5
|
CategoryCell,
|
|
6
6
|
CategoryHeader,
|
|
7
7
|
ProductStatusCell,
|
|
8
8
|
ProductStatusHeader
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PZRMVDNF.js";
|
|
10
10
|
import {
|
|
11
11
|
ProductCell,
|
|
12
12
|
ProductHeader
|
|
@@ -19,25 +19,25 @@ import {
|
|
|
19
19
|
} from "./chunk-THHRRYRS.js";
|
|
20
20
|
import {
|
|
21
21
|
require_dist
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-VYPJCJ5T.js";
|
|
23
23
|
import {
|
|
24
24
|
ActionMenu
|
|
25
25
|
} from "./chunk-3UOYBH5O.js";
|
|
26
26
|
import {
|
|
27
27
|
useProductTags
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-NA2GDOU7.js";
|
|
29
29
|
import {
|
|
30
30
|
useProductTypes
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-TOAE7XZ7.js";
|
|
32
32
|
import {
|
|
33
33
|
useCollections
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-EQKM37O2.js";
|
|
35
35
|
import {
|
|
36
36
|
useSellers
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-XJV4PVT5.js";
|
|
38
38
|
import {
|
|
39
39
|
useProductCategories
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-ITMSX2KQ.js";
|
|
41
41
|
import {
|
|
42
42
|
__toESM
|
|
43
43
|
} from "./chunk-NBMM2TZK.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeletePriceListAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I4UQLLSP.js";
|
|
4
4
|
import {
|
|
5
5
|
getPriceListStatus
|
|
6
6
|
} from "./chunk-KVAD5JGS.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-3UOYBH5O.js";
|
|
27
27
|
import {
|
|
28
28
|
usePriceLists
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ZHI5INXR.js";
|
|
30
30
|
|
|
31
31
|
// src/pages/price-lists/price-list-list/price-list-list.tsx
|
|
32
32
|
import { Children as Children3 } from "react";
|
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
returnsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YQX2GSSA.js";
|
|
4
4
|
import {
|
|
5
5
|
ordersQueryKeys
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import {
|
|
8
|
-
queryClient
|
|
9
|
-
} from "./chunk-RHKRREUU.js";
|
|
6
|
+
} from "./chunk-KDGQJ37N.js";
|
|
10
7
|
import {
|
|
8
|
+
queryClient,
|
|
11
9
|
queryKeysFactory
|
|
12
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2KCF3ZIB.js";
|
|
13
11
|
import {
|
|
14
12
|
sdk
|
|
15
13
|
} from "./chunk-PFJ2C667.js";
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
import {
|
|
2
|
+
usePayoutTableFilters
|
|
3
|
+
} from "./chunk-DQPTTURI.js";
|
|
4
|
+
import {
|
|
5
|
+
usePayoutTableColumns
|
|
6
|
+
} from "./chunk-CEAFREUV.js";
|
|
7
|
+
import {
|
|
8
|
+
usePayoutTableQuery
|
|
9
|
+
} from "./chunk-UPZP4CHG.js";
|
|
10
|
+
import {
|
|
11
|
+
_DataTable,
|
|
12
|
+
useDataTable
|
|
13
|
+
} from "./chunk-4JXRBULR.js";
|
|
14
|
+
import {
|
|
15
|
+
usePayouts
|
|
16
|
+
} from "./chunk-3EPP7VXZ.js";
|
|
17
|
+
|
|
18
|
+
// src/pages/payouts/common/components/payouts-section.tsx
|
|
19
|
+
import { CurrencyDollar } from "@medusajs/icons";
|
|
20
|
+
import { Container, Heading } from "@medusajs/ui";
|
|
21
|
+
import { keepPreviousData } from "@tanstack/react-query";
|
|
22
|
+
import { useMemo } from "react";
|
|
23
|
+
import { useTranslation } from "react-i18next";
|
|
24
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
25
|
+
var PAGE_SIZE = 10;
|
|
26
|
+
var PayoutsSection = ({
|
|
27
|
+
scope,
|
|
28
|
+
prefix,
|
|
29
|
+
"data-testid": testId = "payouts-section"
|
|
30
|
+
}) => {
|
|
31
|
+
const { t } = useTranslation();
|
|
32
|
+
const { searchParams, raw } = usePayoutTableQuery({
|
|
33
|
+
prefix,
|
|
34
|
+
pageSize: PAGE_SIZE
|
|
35
|
+
});
|
|
36
|
+
const { payouts, count, isError, error, isLoading } = usePayouts(
|
|
37
|
+
{ ...searchParams, ...scope },
|
|
38
|
+
{ placeholderData: keepPreviousData }
|
|
39
|
+
);
|
|
40
|
+
const base = usePayoutTableColumns();
|
|
41
|
+
const columns = useMemo(
|
|
42
|
+
() => base.filter((column) => column.id !== "store"),
|
|
43
|
+
[base]
|
|
44
|
+
);
|
|
45
|
+
const filters = usePayoutTableFilters().filter(
|
|
46
|
+
(filter) => filter.key !== "seller_id"
|
|
47
|
+
);
|
|
48
|
+
const { table } = useDataTable({
|
|
49
|
+
data: payouts ?? [],
|
|
50
|
+
columns,
|
|
51
|
+
enablePagination: true,
|
|
52
|
+
getRowId: (row) => row.id,
|
|
53
|
+
count: count ?? 0,
|
|
54
|
+
pageSize: PAGE_SIZE,
|
|
55
|
+
prefix
|
|
56
|
+
});
|
|
57
|
+
if (isError) {
|
|
58
|
+
throw error;
|
|
59
|
+
}
|
|
60
|
+
return /* @__PURE__ */ jsxs(Container, { className: "divide-y p-0", "data-testid": testId, children: [
|
|
61
|
+
/* @__PURE__ */ jsx("div", { className: "flex items-center justify-between px-6 py-4", children: /* @__PURE__ */ jsx(Heading, { level: "h2", "data-testid": `${testId}-heading`, children: t("payouts.domain") }) }),
|
|
62
|
+
/* @__PURE__ */ jsx(
|
|
63
|
+
_DataTable,
|
|
64
|
+
{
|
|
65
|
+
columns,
|
|
66
|
+
table,
|
|
67
|
+
pagination: true,
|
|
68
|
+
navigateTo: (row) => `/payouts/${row.original.id}`,
|
|
69
|
+
count: count ?? 0,
|
|
70
|
+
filters,
|
|
71
|
+
isLoading,
|
|
72
|
+
pageSize: PAGE_SIZE,
|
|
73
|
+
orderBy: [
|
|
74
|
+
{ key: "status", label: t("fields.status") },
|
|
75
|
+
{ key: "amount", label: t("fields.amount") },
|
|
76
|
+
{ key: "created_at", label: t("fields.createdAt") }
|
|
77
|
+
],
|
|
78
|
+
defaultOrder: "-created_at",
|
|
79
|
+
queryObject: raw,
|
|
80
|
+
prefix,
|
|
81
|
+
noRecords: {
|
|
82
|
+
message: t("payouts.list.empty"),
|
|
83
|
+
icon: /* @__PURE__ */ jsx(CurrencyDollar, { className: "text-ui-fg-subtle" })
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
)
|
|
87
|
+
] });
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export {
|
|
91
|
+
PayoutsSection
|
|
92
|
+
};
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
useApiKeys,
|
|
31
31
|
useDeleteApiKey,
|
|
32
32
|
useRevokeApiKey
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-3MT6RTJD.js";
|
|
34
34
|
|
|
35
35
|
// src/pages/api-key-management/api-key-management-list/api-key-management-list.tsx
|
|
36
36
|
import { Children as Children3 } from "react";
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-KOURHC2N.js";
|
|
7
7
|
import {
|
|
8
8
|
useCollectionTableQuery
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-EYOPD6DG.js";
|
|
10
10
|
import {
|
|
11
11
|
SingleColumnPage
|
|
12
12
|
} from "./chunk-H6MYB7GB.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
useCollections,
|
|
22
22
|
useDeleteCollection
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-EQKM37O2.js";
|
|
24
24
|
|
|
25
25
|
// src/pages/collections/collection-list/collection-list.tsx
|
|
26
26
|
import { Children as Children3 } from "react";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
getMenuItemsByType,
|
|
8
8
|
useExpandedSidebar,
|
|
9
9
|
useLandingRoute
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-LTAR5MLU.js";
|
|
11
11
|
|
|
12
12
|
// src/components/layout/settings-layout/settings-layout.tsx
|
|
13
13
|
import { Fragment, useCallback, useEffect, useMemo, useState } from "react";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
taxRegionsQueryKeys,
|
|
6
6
|
useTaxRegion
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HZBUSK2N.js";
|
|
8
8
|
import {
|
|
9
9
|
queryClient
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2KCF3ZIB.js";
|
|
11
11
|
import {
|
|
12
12
|
sdk
|
|
13
13
|
} from "./chunk-PFJ2C667.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePromotionTableColumns,
|
|
3
3
|
usePromotionTableQuery
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KPYRXLOI.js";
|
|
5
5
|
import {
|
|
6
6
|
usePromotionTableFilters
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ENSULQYA.js";
|
|
8
8
|
import {
|
|
9
9
|
SingleColumnPage
|
|
10
10
|
} from "./chunk-H6MYB7GB.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
useDeletePromotion,
|
|
20
20
|
usePromotions
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GVIW5ZJR.js";
|
|
22
22
|
|
|
23
23
|
// src/pages/promotions/promotion-list/promotions-list.tsx
|
|
24
24
|
import { Children as Children2 } from "react";
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-PYDRHQTY.js";
|
|
4
4
|
import {
|
|
5
5
|
useCustomers
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-WCKHI6BO.js";
|
|
7
7
|
import {
|
|
8
8
|
useSellers
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XJV4PVT5.js";
|
|
10
10
|
import {
|
|
11
11
|
useSalesChannels
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-EKXHGK7S.js";
|
|
13
13
|
|
|
14
14
|
// src/pages/orders/order-list/components/order-list-table/use-order-table-filters.tsx
|
|
15
15
|
import { usePermissions } from "@mercurjs/dashboard-shared";
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getPayoutStatusProps
|
|
3
|
+
} from "./chunk-TWDUEIWF.js";
|
|
4
|
+
import {
|
|
5
|
+
MoneyAmountCell
|
|
6
|
+
} from "./chunk-2Y3WMGN6.js";
|
|
7
|
+
import {
|
|
8
|
+
DateCell
|
|
9
|
+
} from "./chunk-F3XPA5ID.js";
|
|
10
|
+
import {
|
|
11
|
+
TextCell,
|
|
12
|
+
TextHeader
|
|
13
|
+
} from "./chunk-JHIMVLB2.js";
|
|
14
|
+
import {
|
|
15
|
+
StatusCell
|
|
16
|
+
} from "./chunk-DB6ANJBO.js";
|
|
17
|
+
|
|
18
|
+
// src/hooks/table/columns/use-payout-table-columns.tsx
|
|
19
|
+
import { createColumnHelper } from "@tanstack/react-table";
|
|
20
|
+
import { useMemo } from "react";
|
|
21
|
+
import { useTranslation } from "react-i18next";
|
|
22
|
+
import { jsx } from "react/jsx-runtime";
|
|
23
|
+
var columnHelper = createColumnHelper();
|
|
24
|
+
var usePayoutTableColumns = () => {
|
|
25
|
+
const { t } = useTranslation();
|
|
26
|
+
return useMemo(
|
|
27
|
+
() => [
|
|
28
|
+
columnHelper.accessor("display_id", {
|
|
29
|
+
header: () => /* @__PURE__ */ jsx(TextHeader, { text: t("fields.id") }),
|
|
30
|
+
cell: ({ getValue }) => /* @__PURE__ */ jsx(TextCell, { text: `#${getValue()}` })
|
|
31
|
+
}),
|
|
32
|
+
columnHelper.display({
|
|
33
|
+
id: "store",
|
|
34
|
+
header: () => /* @__PURE__ */ jsx(TextHeader, { text: t("payoutAccounts.fields.store") }),
|
|
35
|
+
cell: ({ row }) => /* @__PURE__ */ jsx(
|
|
36
|
+
TextCell,
|
|
37
|
+
{
|
|
38
|
+
text: row.original.seller?.name ?? row.original.account?.seller?.name ?? void 0
|
|
39
|
+
}
|
|
40
|
+
)
|
|
41
|
+
}),
|
|
42
|
+
columnHelper.accessor("order_id", {
|
|
43
|
+
header: () => /* @__PURE__ */ jsx(TextHeader, { text: t("payouts.fields.order") }),
|
|
44
|
+
cell: ({ getValue, row }) => /* @__PURE__ */ jsx(
|
|
45
|
+
TextCell,
|
|
46
|
+
{
|
|
47
|
+
text: row.original.order?.display_id ? `#${row.original.order.display_id}` : getValue() ?? void 0
|
|
48
|
+
}
|
|
49
|
+
)
|
|
50
|
+
}),
|
|
51
|
+
columnHelper.accessor("amount", {
|
|
52
|
+
header: () => /* @__PURE__ */ jsx(TextHeader, { text: t("fields.amount") }),
|
|
53
|
+
cell: ({ getValue, row }) => /* @__PURE__ */ jsx(
|
|
54
|
+
MoneyAmountCell,
|
|
55
|
+
{
|
|
56
|
+
amount: Number(getValue()),
|
|
57
|
+
currencyCode: row.original.currency_code
|
|
58
|
+
}
|
|
59
|
+
)
|
|
60
|
+
}),
|
|
61
|
+
columnHelper.accessor("status", {
|
|
62
|
+
header: () => /* @__PURE__ */ jsx(TextHeader, { text: t("fields.status") }),
|
|
63
|
+
cell: ({ getValue }) => {
|
|
64
|
+
const { color, label } = getPayoutStatusProps(getValue(), t);
|
|
65
|
+
return /* @__PURE__ */ jsx(StatusCell, { color, children: label });
|
|
66
|
+
}
|
|
67
|
+
}),
|
|
68
|
+
columnHelper.accessor("created_at", {
|
|
69
|
+
header: () => /* @__PURE__ */ jsx(TextHeader, { text: t("fields.createdAt") }),
|
|
70
|
+
cell: ({ getValue }) => /* @__PURE__ */ jsx(DateCell, { date: getValue() })
|
|
71
|
+
})
|
|
72
|
+
],
|
|
73
|
+
[t]
|
|
74
|
+
);
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
export {
|
|
78
|
+
usePayoutTableColumns
|
|
79
|
+
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeleteProductTypeAction
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SWLW2RIE.js";
|
|
4
4
|
import {
|
|
5
5
|
useProductTableColumns
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-ZRVOEBMM.js";
|
|
7
7
|
import {
|
|
8
8
|
useProductTableFilters
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-PSNKTHKS.js";
|
|
10
10
|
import {
|
|
11
11
|
useProductTableQuery
|
|
12
12
|
} from "./chunk-S4IDR46L.js";
|
|
@@ -22,13 +22,13 @@ import {
|
|
|
22
22
|
} from "./chunk-3UOYBH5O.js";
|
|
23
23
|
import {
|
|
24
24
|
useProductType
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-TOAE7XZ7.js";
|
|
26
26
|
import {
|
|
27
27
|
SingleColumnPageSkeleton
|
|
28
28
|
} from "./chunk-INNFZYX2.js";
|
|
29
29
|
import {
|
|
30
30
|
useProducts
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-BYW3OPEN.js";
|
|
32
32
|
|
|
33
33
|
// src/pages/product-types/product-type-detail/product-type-detail.tsx
|
|
34
34
|
import { Children } from "react";
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pricePreferencesQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
queryClient
|
|
6
|
-
} from "./chunk-RHKRREUU.js";
|
|
3
|
+
} from "./chunk-J6FNB3IE.js";
|
|
7
4
|
import {
|
|
5
|
+
queryClient,
|
|
8
6
|
queryKeysFactory
|
|
9
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2KCF3ZIB.js";
|
|
10
8
|
import {
|
|
11
9
|
sdk
|
|
12
10
|
} from "./chunk-PFJ2C667.js";
|