@mercurjs/admin 2.3.9-canary.3 → 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-NCT667Q5.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-PC2KYGGZ.js → chunk-2GD4XTO7.js} +22 -9
- 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-7OFD2K5S.js → chunk-3QEYOHBB.js} +16 -4
- package/dist/{chunk-HMHKC3Y3.js → chunk-3YHS5YGW.js} +129 -60
- package/dist/{chunk-AUNBNATP.js → chunk-46XA3DMZ.js} +21 -7
- 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-VI7SQHZW.js → chunk-GIPLONYW.js} +42 -13
- 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-EEVKZMQQ.js → chunk-I7SKIUQJ.js} +27 -11
- 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-NHLKAUGR.js → chunk-IXSNEWUQ.js} +453 -206
- 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-DKRNK7LD.js → chunk-JV3J45SY.js} +6 -6
- 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-YJBT2HTY.js → chunk-KQPZRFFT.js} +4 -4
- 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-BTHHPKCS.js → chunk-MAAVSBM6.js} +35 -11
- 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-H4ZFKIVQ.js → chunk-TQ7X7BTA.js} +8 -8
- 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-SNRPCOU4.js → chunk-ZASF7XBG.js} +57 -1
- package/dist/{chunk-XZ4GKMFM.js → chunk-ZEXGMG5L.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-A6JWUPH5.js → chunk-ZTHL4V67.js} +7 -7
- 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-C2VHK6JM.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 +54 -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-4O53UJDE.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-3SDSWZ45.js → inventory-stock-MHGGME6C.js} +31 -32
- 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-JZAQVSGB.js → location-service-zone-shipping-option-pricing-7PC7CUC4.js} +8 -9
- 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-4U4PPA7Q.js → offer-detail-page-4P2NUI5V.js} +22 -10
- package/dist/{offer-variant-detail-page-4ZDMBL4R.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 +46 -3
- package/dist/pages/index.js +167 -163
- 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-Q7VBH25K.js → price-list-prices-edit-IR2HYR5F.js} +33 -34
- 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-UA4PM7Q5.js → product-bulk-edit-UMEOJQKA.js} +3 -4
- package/dist/{product-create-7OOB5EJF.js → product-create-HBGQNARV.js} +36 -37
- 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-YOLJY6UR.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-AE3YKMZI.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-5G5STIL2.js → store-bulk-edit-WIPY4OI5.js} +5 -6
- 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-FXGGXEPH.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-PDEJJ6E3.js +0 -59
- package/dist/price-list-create-R2JDXJRG.js +0 -73
- package/dist/price-list-prices-add-Q7UR2HAT.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,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
reservationItemsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZTUJNVXJ.js";
|
|
4
4
|
import {
|
|
5
5
|
ordersQueryKeys
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-KDGQJ37N.js";
|
|
7
7
|
import {
|
|
8
8
|
inventoryItemsQueryKeys
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-BYW3OPEN.js";
|
|
10
10
|
import {
|
|
11
11
|
queryClient
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2KCF3ZIB.js";
|
|
13
13
|
import {
|
|
14
14
|
sdk
|
|
15
15
|
} from "./chunk-PFJ2C667.js";
|
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useRetryPayoutAction
|
|
3
|
+
} from "./chunk-5CNQLDVS.js";
|
|
4
|
+
import {
|
|
5
|
+
getPayoutStatusDetail,
|
|
6
|
+
getPayoutStatusProps,
|
|
7
|
+
getPayoutStatusReasonLabel
|
|
8
|
+
} from "./chunk-TWDUEIWF.js";
|
|
9
|
+
import {
|
|
10
|
+
SidebarLink
|
|
11
|
+
} from "./chunk-UST2RGWB.js";
|
|
12
|
+
import {
|
|
13
|
+
MoneyAmountCell
|
|
14
|
+
} from "./chunk-2Y3WMGN6.js";
|
|
15
|
+
import {
|
|
16
|
+
DateCell
|
|
17
|
+
} from "./chunk-F3XPA5ID.js";
|
|
18
|
+
import {
|
|
19
|
+
getStylizedAmount
|
|
20
|
+
} from "./chunk-PXYDR7WQ.js";
|
|
21
|
+
import {
|
|
22
|
+
TextCell
|
|
23
|
+
} from "./chunk-JHIMVLB2.js";
|
|
24
|
+
import {
|
|
25
|
+
StatusCell
|
|
26
|
+
} from "./chunk-DB6ANJBO.js";
|
|
27
|
+
import {
|
|
28
|
+
TwoColumnPage
|
|
29
|
+
} from "./chunk-E74OUNA3.js";
|
|
30
|
+
import {
|
|
31
|
+
SectionRow
|
|
32
|
+
} from "./chunk-3XPXUIK3.js";
|
|
33
|
+
import {
|
|
34
|
+
_DataTable,
|
|
35
|
+
useDataTable
|
|
36
|
+
} from "./chunk-4JXRBULR.js";
|
|
37
|
+
import {
|
|
38
|
+
NoRecords
|
|
39
|
+
} from "./chunk-4J74G7N2.js";
|
|
40
|
+
import {
|
|
41
|
+
useDate
|
|
42
|
+
} from "./chunk-EIWPJWKF.js";
|
|
43
|
+
import {
|
|
44
|
+
ActionMenu
|
|
45
|
+
} from "./chunk-3UOYBH5O.js";
|
|
46
|
+
import {
|
|
47
|
+
usePayout
|
|
48
|
+
} from "./chunk-3EPP7VXZ.js";
|
|
49
|
+
import {
|
|
50
|
+
TwoColumnPageSkeleton
|
|
51
|
+
} from "./chunk-INNFZYX2.js";
|
|
52
|
+
|
|
53
|
+
// src/pages/payouts/payout-detail/payout-detail.tsx
|
|
54
|
+
import { Children } from "react";
|
|
55
|
+
import { useLoaderData, useParams } from "react-router-dom";
|
|
56
|
+
import { WidgetZone } from "@mercurjs/dashboard-shared";
|
|
57
|
+
|
|
58
|
+
// src/pages/payouts/payout-detail/components/payout-general-section.tsx
|
|
59
|
+
import { ArrowPath } from "@medusajs/icons";
|
|
60
|
+
import { Container, Heading, StatusBadge } from "@medusajs/ui";
|
|
61
|
+
import { useTranslation } from "react-i18next";
|
|
62
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
63
|
+
var PayoutGeneralSection = ({ payout }) => {
|
|
64
|
+
const { t } = useTranslation();
|
|
65
|
+
const { getFullDate } = useDate();
|
|
66
|
+
const { handleRetry, canRetry } = useRetryPayoutAction(payout);
|
|
67
|
+
const status = getPayoutStatusProps(payout.status, t);
|
|
68
|
+
const formatDate = (value) => value ? getFullDate({ date: value, includeTime: true }) : "-";
|
|
69
|
+
return /* @__PURE__ */ jsxs(Container, { className: "divide-y p-0", "data-testid": "payout-general-section", children: [
|
|
70
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center justify-between px-6 py-4", children: [
|
|
71
|
+
/* @__PURE__ */ jsx(Heading, { "data-testid": "payout-general-section-heading", children: getStylizedAmount(Number(payout.amount), payout.currency_code) }),
|
|
72
|
+
/* @__PURE__ */ jsxs("div", { className: "flex items-center gap-x-2", children: [
|
|
73
|
+
/* @__PURE__ */ jsx(
|
|
74
|
+
StatusBadge,
|
|
75
|
+
{
|
|
76
|
+
color: status.color,
|
|
77
|
+
"data-testid": "payout-general-section-status-badge",
|
|
78
|
+
children: status.label
|
|
79
|
+
}
|
|
80
|
+
),
|
|
81
|
+
/* @__PURE__ */ jsx(
|
|
82
|
+
ActionMenu,
|
|
83
|
+
{
|
|
84
|
+
"data-testid": "payout-general-section-action-menu",
|
|
85
|
+
groups: [
|
|
86
|
+
{
|
|
87
|
+
actions: [
|
|
88
|
+
{
|
|
89
|
+
label: t("payouts.actions.retry"),
|
|
90
|
+
icon: /* @__PURE__ */ jsx(ArrowPath, {}),
|
|
91
|
+
onClick: handleRetry,
|
|
92
|
+
permission: "payouts:edit",
|
|
93
|
+
disabled: !canRetry,
|
|
94
|
+
disabledTooltip: t("payouts.retry.disabledTooltip")
|
|
95
|
+
}
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
]
|
|
99
|
+
}
|
|
100
|
+
)
|
|
101
|
+
] })
|
|
102
|
+
] }),
|
|
103
|
+
/* @__PURE__ */ jsx(SectionRow, { title: t("fields.id"), value: `#${payout.display_id}` }),
|
|
104
|
+
/* @__PURE__ */ jsx(
|
|
105
|
+
SectionRow,
|
|
106
|
+
{
|
|
107
|
+
title: t("fields.createdAt"),
|
|
108
|
+
value: formatDate(payout.created_at)
|
|
109
|
+
}
|
|
110
|
+
),
|
|
111
|
+
/* @__PURE__ */ jsx(
|
|
112
|
+
SectionRow,
|
|
113
|
+
{
|
|
114
|
+
title: t("fields.updatedAt"),
|
|
115
|
+
value: formatDate(payout.updated_at)
|
|
116
|
+
}
|
|
117
|
+
)
|
|
118
|
+
] });
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
// src/pages/payouts/payout-detail/components/payout-references-section.tsx
|
|
122
|
+
import { BuildingStorefront, CurrencyDollar, ShoppingCart } from "@medusajs/icons";
|
|
123
|
+
import { Container as Container2, Heading as Heading2, Text } from "@medusajs/ui";
|
|
124
|
+
import { useTranslation as useTranslation2 } from "react-i18next";
|
|
125
|
+
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
126
|
+
var PayoutReferencesSection = ({ payout }) => {
|
|
127
|
+
const { t } = useTranslation2();
|
|
128
|
+
const seller = payout.seller ?? payout.account?.seller;
|
|
129
|
+
const hasReferences = !!seller?.id || !!payout.account_id || !!payout.order_id;
|
|
130
|
+
return /* @__PURE__ */ jsxs2(Container2, { className: "p-0", "data-testid": "payout-references-section", children: [
|
|
131
|
+
/* @__PURE__ */ jsx2("div", { className: "flex items-center justify-between px-6 py-4", children: /* @__PURE__ */ jsx2(Heading2, { level: "h2", children: t("payouts.references.header") }) }),
|
|
132
|
+
!hasReferences && /* @__PURE__ */ jsx2("div", { className: "border-t px-6 py-4", children: /* @__PURE__ */ jsx2(Text, { size: "small", leading: "compact", className: "text-ui-fg-subtle", children: t("payouts.references.empty") }) }),
|
|
133
|
+
payout.order_id && /* @__PURE__ */ jsx2(
|
|
134
|
+
SidebarLink,
|
|
135
|
+
{
|
|
136
|
+
to: `/orders/${payout.order_id}`,
|
|
137
|
+
labelKey: t("payouts.fields.order"),
|
|
138
|
+
descriptionKey: payout.order?.display_id ? `#${payout.order.display_id}` : payout.order_id,
|
|
139
|
+
icon: /* @__PURE__ */ jsx2(ShoppingCart, {}),
|
|
140
|
+
dataTestid: "payout-reference-order"
|
|
141
|
+
}
|
|
142
|
+
),
|
|
143
|
+
seller?.id && /* @__PURE__ */ jsx2(
|
|
144
|
+
SidebarLink,
|
|
145
|
+
{
|
|
146
|
+
to: `/stores/${seller.id}`,
|
|
147
|
+
labelKey: seller.name ?? seller.id,
|
|
148
|
+
descriptionKey: seller.handle ?? seller.id,
|
|
149
|
+
icon: /* @__PURE__ */ jsx2(BuildingStorefront, {}),
|
|
150
|
+
dataTestid: "payout-reference-store"
|
|
151
|
+
}
|
|
152
|
+
),
|
|
153
|
+
payout.account_id && /* @__PURE__ */ jsx2(
|
|
154
|
+
SidebarLink,
|
|
155
|
+
{
|
|
156
|
+
to: `/payout-accounts/${payout.account_id}`,
|
|
157
|
+
labelKey: t("payouts.fields.payoutAccount"),
|
|
158
|
+
descriptionKey: payout.account_id,
|
|
159
|
+
icon: /* @__PURE__ */ jsx2(CurrencyDollar, {}),
|
|
160
|
+
dataTestid: "payout-reference-payout-account"
|
|
161
|
+
}
|
|
162
|
+
)
|
|
163
|
+
] });
|
|
164
|
+
};
|
|
165
|
+
|
|
166
|
+
// src/pages/payouts/payout-detail/components/payout-reversals-section.tsx
|
|
167
|
+
import { ExclamationCircle } from "@medusajs/icons";
|
|
168
|
+
import { Container as Container3, Heading as Heading3, Tooltip } from "@medusajs/ui";
|
|
169
|
+
import { createColumnHelper } from "@tanstack/react-table";
|
|
170
|
+
import { useMemo } from "react";
|
|
171
|
+
import { useTranslation as useTranslation3 } from "react-i18next";
|
|
172
|
+
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
173
|
+
var columnHelper = createColumnHelper();
|
|
174
|
+
var PayoutReversalsSection = ({ payout }) => {
|
|
175
|
+
const { t } = useTranslation3();
|
|
176
|
+
const reversals = useMemo(() => payout.reversals ?? [], [payout.reversals]);
|
|
177
|
+
const columns = useMemo(
|
|
178
|
+
() => [
|
|
179
|
+
columnHelper.accessor("created_at", {
|
|
180
|
+
header: () => t("fields.date"),
|
|
181
|
+
cell: ({ getValue }) => /* @__PURE__ */ jsx3(DateCell, { date: getValue() })
|
|
182
|
+
}),
|
|
183
|
+
columnHelper.accessor("refund_id", {
|
|
184
|
+
header: () => t("payouts.reversals.refund"),
|
|
185
|
+
cell: ({ getValue }) => /* @__PURE__ */ jsx3(TextCell, { text: getValue() ?? "-" })
|
|
186
|
+
}),
|
|
187
|
+
columnHelper.accessor("amount", {
|
|
188
|
+
header: () => t("fields.amount"),
|
|
189
|
+
cell: ({ getValue }) => /* @__PURE__ */ jsx3(
|
|
190
|
+
MoneyAmountCell,
|
|
191
|
+
{
|
|
192
|
+
currencyCode: payout.currency_code,
|
|
193
|
+
amount: Number(getValue())
|
|
194
|
+
}
|
|
195
|
+
)
|
|
196
|
+
}),
|
|
197
|
+
columnHelper.accessor("status", {
|
|
198
|
+
header: () => t("fields.status"),
|
|
199
|
+
cell: ({ getValue, row }) => {
|
|
200
|
+
const status = getPayoutStatusProps(getValue(), t);
|
|
201
|
+
const reason = row.original.status_reason;
|
|
202
|
+
const detail = getPayoutStatusDetail(row.original.data);
|
|
203
|
+
return /* @__PURE__ */ jsxs3("div", { className: "flex h-full w-full items-center gap-x-2", children: [
|
|
204
|
+
/* @__PURE__ */ jsx3(StatusCell, { color: status.color, children: status.label }),
|
|
205
|
+
reason && /* @__PURE__ */ jsx3(
|
|
206
|
+
Tooltip,
|
|
207
|
+
{
|
|
208
|
+
content: detail ? `${getPayoutStatusReasonLabel(reason, t)} ${detail}` : getPayoutStatusReasonLabel(reason, t),
|
|
209
|
+
children: /* @__PURE__ */ jsx3(
|
|
210
|
+
ExclamationCircle,
|
|
211
|
+
{
|
|
212
|
+
className: "text-ui-tag-orange-icon shrink-0",
|
|
213
|
+
"data-testid": `payout-reversal-reason-${row.original.id}`
|
|
214
|
+
}
|
|
215
|
+
)
|
|
216
|
+
}
|
|
217
|
+
)
|
|
218
|
+
] });
|
|
219
|
+
}
|
|
220
|
+
})
|
|
221
|
+
],
|
|
222
|
+
[t, payout.currency_code]
|
|
223
|
+
);
|
|
224
|
+
const { table } = useDataTable({
|
|
225
|
+
data: reversals,
|
|
226
|
+
count: reversals.length,
|
|
227
|
+
columns,
|
|
228
|
+
getRowId: (row) => row.id,
|
|
229
|
+
pageSize: Math.max(reversals.length, 1)
|
|
230
|
+
});
|
|
231
|
+
return /* @__PURE__ */ jsxs3(Container3, { className: "divide-y p-0", "data-testid": "payout-reversals-section", children: [
|
|
232
|
+
/* @__PURE__ */ jsx3("div", { className: "flex items-center justify-between px-6 py-4", children: /* @__PURE__ */ jsx3(Heading3, { level: "h2", children: t("payouts.reversals.header") }) }),
|
|
233
|
+
reversals.length > 0 ? /* @__PURE__ */ jsx3(
|
|
234
|
+
_DataTable,
|
|
235
|
+
{
|
|
236
|
+
table,
|
|
237
|
+
columns,
|
|
238
|
+
pageSize: Math.max(reversals.length, 1),
|
|
239
|
+
count: reversals.length
|
|
240
|
+
}
|
|
241
|
+
) : /* @__PURE__ */ jsx3(
|
|
242
|
+
NoRecords,
|
|
243
|
+
{
|
|
244
|
+
className: "border-t",
|
|
245
|
+
title: t("payouts.reversals.noRecordsTitle"),
|
|
246
|
+
message: t("payouts.reversals.noRecordsMessage")
|
|
247
|
+
}
|
|
248
|
+
)
|
|
249
|
+
] });
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
// src/pages/payouts/payout-detail/components/payout-status-alert.tsx
|
|
253
|
+
import { Alert, Text as Text2 } from "@medusajs/ui";
|
|
254
|
+
import { useTranslation as useTranslation4 } from "react-i18next";
|
|
255
|
+
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
256
|
+
var variantForStatus = (status) => {
|
|
257
|
+
switch (status) {
|
|
258
|
+
case "failed":
|
|
259
|
+
case "aborted":
|
|
260
|
+
return "error";
|
|
261
|
+
case "on_hold":
|
|
262
|
+
return "warning";
|
|
263
|
+
default:
|
|
264
|
+
return "info";
|
|
265
|
+
}
|
|
266
|
+
};
|
|
267
|
+
var PayoutStatusAlert = ({ payout }) => {
|
|
268
|
+
const { t } = useTranslation4();
|
|
269
|
+
if (!payout.status_reason) {
|
|
270
|
+
return null;
|
|
271
|
+
}
|
|
272
|
+
const detail = getPayoutStatusDetail(payout.data);
|
|
273
|
+
return /* @__PURE__ */ jsx4(
|
|
274
|
+
Alert,
|
|
275
|
+
{
|
|
276
|
+
variant: variantForStatus(payout.status),
|
|
277
|
+
"data-testid": "payout-status-alert",
|
|
278
|
+
children: /* @__PURE__ */ jsxs4("div", { className: "flex flex-col gap-y-1", children: [
|
|
279
|
+
/* @__PURE__ */ jsx4("span", { children: getPayoutStatusReasonLabel(payout.status_reason, t) }),
|
|
280
|
+
detail && /* @__PURE__ */ jsx4(
|
|
281
|
+
Text2,
|
|
282
|
+
{
|
|
283
|
+
size: "small",
|
|
284
|
+
className: "text-ui-fg-subtle",
|
|
285
|
+
"data-testid": "payout-status-alert-detail",
|
|
286
|
+
children: detail
|
|
287
|
+
}
|
|
288
|
+
)
|
|
289
|
+
] })
|
|
290
|
+
}
|
|
291
|
+
);
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
// src/pages/payouts/payout-detail/payout-detail.tsx
|
|
295
|
+
import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
296
|
+
var Root = ({ children }) => {
|
|
297
|
+
const { id } = useParams();
|
|
298
|
+
const initialData = useLoaderData();
|
|
299
|
+
const { payout, isLoading, isError, error } = usePayout(id, void 0, {
|
|
300
|
+
initialData
|
|
301
|
+
});
|
|
302
|
+
if (isLoading || !payout) {
|
|
303
|
+
return /* @__PURE__ */ jsx5(TwoColumnPageSkeleton, { mainSections: 2, sidebarSections: 1, showJSON: true });
|
|
304
|
+
}
|
|
305
|
+
if (isError) {
|
|
306
|
+
throw error;
|
|
307
|
+
}
|
|
308
|
+
return Children.count(children) > 0 ? /* @__PURE__ */ jsx5(TwoColumnPage, { data: payout, showJSON: true, showMetadata: true, children }) : /* @__PURE__ */ jsxs5(TwoColumnPage, { data: payout, showJSON: true, showMetadata: true, children: [
|
|
309
|
+
/* @__PURE__ */ jsx5(TwoColumnPage.Main, { children: /* @__PURE__ */ jsxs5(WidgetZone, { id: "payouts.detail.main", data: payout, children: [
|
|
310
|
+
/* @__PURE__ */ jsx5(PayoutStatusAlert, { payout }),
|
|
311
|
+
/* @__PURE__ */ jsx5(PayoutGeneralSection, { payout }),
|
|
312
|
+
/* @__PURE__ */ jsx5(PayoutReversalsSection, { payout })
|
|
313
|
+
] }) }),
|
|
314
|
+
/* @__PURE__ */ jsx5(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx5(WidgetZone, { id: "payouts.detail.side", data: payout, children: /* @__PURE__ */ jsx5(PayoutReferencesSection, { payout }) }) })
|
|
315
|
+
] });
|
|
316
|
+
};
|
|
317
|
+
var PayoutDetailPage = Object.assign(Root, {
|
|
318
|
+
Main: TwoColumnPage.Main,
|
|
319
|
+
Sidebar: TwoColumnPage.Sidebar,
|
|
320
|
+
MainStatusAlert: PayoutStatusAlert,
|
|
321
|
+
MainGeneralSection: PayoutGeneralSection,
|
|
322
|
+
MainReversalsSection: PayoutReversalsSection,
|
|
323
|
+
SidebarReferencesSection: PayoutReferencesSection
|
|
324
|
+
});
|
|
325
|
+
|
|
326
|
+
export {
|
|
327
|
+
PayoutDetailPage
|
|
328
|
+
};
|
|
@@ -22,10 +22,10 @@ import {
|
|
|
22
22
|
useDeleteProductAttribute,
|
|
23
23
|
useProductAttributes,
|
|
24
24
|
useUpdateProductAttribute
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-KUR6AQRH.js";
|
|
26
26
|
import {
|
|
27
27
|
queryClient
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-2KCF3ZIB.js";
|
|
29
29
|
import {
|
|
30
30
|
sdk
|
|
31
31
|
} from "./chunk-PFJ2C667.js";
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
productsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
queryClient
|
|
6
|
-
} from "./chunk-RHKRREUU.js";
|
|
3
|
+
} from "./chunk-BYW3OPEN.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";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useCampaigns
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-GVIW5ZJR.js";
|
|
4
4
|
import {
|
|
5
5
|
useSellers
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-XJV4PVT5.js";
|
|
7
7
|
|
|
8
8
|
// src/hooks/table/filters/use-promotion-table-filters.tsx
|
|
9
9
|
import { usePermissions } from "@mercurjs/dashboard-shared";
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
productsQueryKeys
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import {
|
|
5
|
-
queryClient
|
|
6
|
-
} from "./chunk-RHKRREUU.js";
|
|
3
|
+
} from "./chunk-BYW3OPEN.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";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useProductTypes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TOAE7XZ7.js";
|
|
4
4
|
import {
|
|
5
5
|
useDeleteCommissionRule
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-HU6Z5HMO.js";
|
|
7
7
|
import {
|
|
8
8
|
useSellers
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-XJV4PVT5.js";
|
|
10
10
|
import {
|
|
11
11
|
useProductCategories
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-ITMSX2KQ.js";
|
|
13
13
|
|
|
14
14
|
// src/pages/commissions/common/hooks/use-delete-commission-rule-action.tsx
|
|
15
15
|
import { toast, usePrompt } from "@medusajs/ui";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AttributeValueInput
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6ZNREXHT.js";
|
|
4
4
|
import {
|
|
5
5
|
TabbedForm,
|
|
6
6
|
defineTabMeta,
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
} from "./chunk-6BAPAIQM.js";
|
|
19
19
|
import {
|
|
20
20
|
require_dist
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-VYPJCJ5T.js";
|
|
22
22
|
import {
|
|
23
23
|
useCreateProductVariant,
|
|
24
24
|
useProduct
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-BYW3OPEN.js";
|
|
26
26
|
import {
|
|
27
27
|
__toESM
|
|
28
28
|
} from "./chunk-NBMM2TZK.js";
|