@mercurjs/admin 2.2.0-canary.37 → 2.2.0-canary.39
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-26SSHLLG.js → add-campaign-promotions-NT4LQZQJ.js} +4 -4
- package/dist/{adjust-inventory-TECW4NNX.js → adjust-inventory-X45NEQFK.js} +1 -1
- package/dist/{api-key-management-detail-2LYSINFY.js → api-key-management-detail-HKNZPPR2.js} +3 -4
- package/dist/{api-key-management-list-RLATJRDL.js → api-key-management-list-SXHZJUJB.js} +2 -2
- package/dist/{api-key-management-sales-channels-EEM7UDTZ.js → api-key-management-sales-channels-4GLVMHU6.js} +1 -2
- package/dist/{attribute-create-HSR7XVKG.js → attribute-create-D4RUU5OT.js} +1 -1
- package/dist/{attribute-detail-G6APXXFT.js → attribute-detail-OU6557XI.js} +11 -2
- package/dist/{attribute-list-42GDF2PV.js → attribute-list-5LGYNGO7.js} +3 -3
- package/dist/{breadcrumb-DZTALOFP.js → breadcrumb-GHBR74WM.js} +2 -2
- package/dist/{breadcrumb-EPNBJF4V.js → breadcrumb-IEEJTH47.js} +1 -1
- package/dist/{campaign-detail-VMJQISAE.js → campaign-detail-EHNTH6A7.js} +6 -6
- package/dist/{campaign-list-W2YZAPUI.js → campaign-list-FFGRXEVJ.js} +2 -2
- package/dist/{categories-metadata-SWFS4FL4.js → categories-metadata-EKY6TSUK.js} +1 -1
- package/dist/{category-detail-I3EEPAQR.js → category-detail-HCRJDDA2.js} +3 -3
- package/dist/{category-list-QLHQST3D.js → category-list-7ILXI55P.js} +2 -2
- package/dist/{category-products-XGLUDL73.js → category-products-LZQATT5Z.js} +2 -2
- package/dist/{chunk-QM343PBJ.js → chunk-23OLYWMR.js} +1 -1
- package/dist/{chunk-E6VCLJNF.js → chunk-2DSCC2VR.js} +1 -1
- package/dist/{chunk-CMZ4KATG.js → chunk-2S2SBRZP.js} +3 -3
- package/dist/{chunk-L4KT5CLI.js → chunk-2YAVXVET.js} +1 -1
- package/dist/{chunk-SWQC5UPD.js → chunk-325DZAT2.js} +4 -4
- package/dist/{chunk-HMKXCYCJ.js → chunk-3SHHDCA6.js} +8 -3
- package/dist/{chunk-C4N5EJAD.js → chunk-4BCUGMOR.js} +0 -13
- package/dist/{chunk-FU3QYH6H.js → chunk-4C7L7TJT.js} +2 -26
- package/dist/{chunk-3UJQT6UR.js → chunk-4NAIC6RG.js} +5 -6
- package/dist/{chunk-BWRQJXHB.js → chunk-5DQED4UT.js} +1 -1
- package/dist/{chunk-U725ING6.js → chunk-5NC6SI6J.js} +1 -1
- package/dist/{chunk-4JUT54KO.js → chunk-73Y6HKIG.js} +1 -1
- package/dist/{chunk-57MFJ2HE.js → chunk-74WEDBZ7.js} +1 -1
- package/dist/{chunk-RWAEZQCV.js → chunk-7OKYEA6I.js} +96 -6
- package/dist/{chunk-57GNGL6K.js → chunk-7RWFRMQG.js} +1 -1
- package/dist/{chunk-MKNQ6BT6.js → chunk-7TWARCNU.js} +1 -1
- package/dist/{chunk-6YEVK7JJ.js → chunk-AVATBB62.js} +11 -17
- package/dist/{chunk-NS3GQ2J6.js → chunk-BILFRATX.js} +0 -9
- package/dist/{chunk-MIKJRLQI.js → chunk-BO4V6CQN.js} +2 -3
- package/dist/{chunk-6YEU2ZAD.js → chunk-CE2WRTS7.js} +1 -1
- package/dist/{chunk-N5H2J6HE.js → chunk-CN4FCZPK.js} +2 -2
- package/dist/{chunk-RLGMY7JJ.js → chunk-CY263OE4.js} +1 -1
- package/dist/{chunk-KUKBV4XN.js → chunk-CYACZXMQ.js} +1 -1
- package/dist/{chunk-YAJDG3W7.js → chunk-DI2KBXVH.js} +1 -1
- package/dist/{chunk-YLQCULOV.js → chunk-DISTPZNS.js} +1 -1
- package/dist/{chunk-NXMD36QG.js → chunk-EUXCKJPT.js} +1 -1
- package/dist/{chunk-2MRYNLVT.js → chunk-F6NPDZHW.js} +1 -1
- package/dist/{chunk-AIEPAHO5.js → chunk-FLPKTLXN.js} +2 -2
- package/dist/{chunk-OI4DJXUL.js → chunk-FMJBQE56.js} +1 -1
- package/dist/{chunk-PAUULPNC.js → chunk-FNJEXQ2Z.js} +2 -2
- package/dist/{chunk-V7YJ53P5.js → chunk-FZPSX44L.js} +2 -2
- package/dist/{chunk-POMQZ6PN.js → chunk-GUDWUAMT.js} +1 -1
- package/dist/{chunk-TG5BBZ3B.js → chunk-HI7NZVSJ.js} +1 -1
- package/dist/{chunk-SJHBNENS.js → chunk-HSL5IICN.js} +15 -6
- package/dist/{chunk-MHCIHDGF.js → chunk-HWWET5ZP.js} +1 -1
- package/dist/{chunk-5YWQDIVG.js → chunk-I3ARNGRC.js} +1 -1
- package/dist/{chunk-EMW5WXXR.js → chunk-IQDZZ5EQ.js} +1 -1
- package/dist/{chunk-S6A4FVM2.js → chunk-IWBQZK6E.js} +0 -4
- package/dist/{chunk-LBLWPBST.js → chunk-IZDTQFCP.js} +3 -1
- package/dist/{chunk-YRGPQ2C4.js → chunk-JUMT5GX7.js} +1 -1
- package/dist/{chunk-4OCWOY2F.js → chunk-JXSXBSV6.js} +8 -8
- package/dist/{chunk-AQIW7R4Y.js → chunk-KC4J2WOM.js} +1 -1
- package/dist/{chunk-GX7YQ6GM.js → chunk-LRJNSCMR.js} +1 -1
- package/dist/{chunk-RZ43M34Q.js → chunk-LZEEPVQY.js} +61 -57
- package/dist/{chunk-U5MDOZS7.js → chunk-MANRAV52.js} +1 -1
- package/dist/{chunk-4NE4EIHO.js → chunk-MYJJMHR5.js} +1 -1
- package/dist/{chunk-OTXOV6YU.js → chunk-NEGOGYEO.js} +1 -1
- package/dist/{chunk-ENSI7NL7.js → chunk-O5MW4WPZ.js} +1 -1
- package/dist/{chunk-7DHSWPU2.js → chunk-PRSTCHB5.js} +1 -1
- package/dist/{chunk-XQCG2ORD.js → chunk-PSGHE5YJ.js} +2 -2
- package/dist/{chunk-4X4MNAXL.js → chunk-PWLDTJJX.js} +1 -1
- package/dist/{chunk-XEB5I2KE.js → chunk-Q4R2O7XF.js} +2 -2
- package/dist/{chunk-AHUVAYZD.js → chunk-QH34LF36.js} +1 -1
- package/dist/{chunk-GML7DINQ.js → chunk-RDUSAVT3.js} +1 -1
- package/dist/{chunk-PPMWEQP3.js → chunk-RIURQMDE.js} +71 -34
- package/dist/{chunk-LRKN7IQH.js → chunk-RNDDYLHV.js} +1 -1
- package/dist/{chunk-EA3XMVOS.js → chunk-S22SK4KO.js} +1 -1
- package/dist/{chunk-QEXIOKNZ.js → chunk-SLKOHWKT.js} +1 -1
- package/dist/{chunk-THNFAN23.js → chunk-VGXJXU7X.js} +1 -1
- package/dist/{chunk-GCYUOP4W.js → chunk-VSKHV5QF.js} +1 -1
- package/dist/{offers-T4ARWA47.js → chunk-VSLKILOI.js} +124 -253
- package/dist/{chunk-E32O3DUM.js → chunk-WKR3Y2KD.js} +2 -2
- package/dist/{chunk-ZDEIYWCK.js → chunk-WNTHKSLS.js} +1 -1
- package/dist/{chunk-DUVTXDNA.js → chunk-XFKDDRB6.js} +1 -1
- package/dist/{chunk-X3TWPSUM.js → chunk-Y62TJJ3P.js} +1 -1
- package/dist/{chunk-CDVQK7JZ.js → chunk-YNK25LVO.js} +1 -1
- package/dist/{chunk-HBT7GVJD.js → chunk-YUUDST4E.js} +57 -49
- package/dist/{chunk-C6AU3U22.js → chunk-ZO3OJ2UQ.js} +1 -1
- package/dist/{collection-add-products-2G37ZL2J.js → collection-add-products-QIEQCILA.js} +2 -2
- package/dist/{collection-detail-AB6HGJDM.js → collection-detail-PTVRSXT3.js} +3 -3
- package/dist/{collection-list-UHFUKA5U.js → collection-list-O5XBGFTN.js} +5 -5
- package/dist/{collection-metadata-UEYHULPR.js → collection-metadata-TOHJL5WW.js} +1 -1
- package/dist/{commission-rule-detail-RO5KXLGT.js → commission-rule-detail-VTP2JKEG.js} +3 -3
- package/dist/{commissions-list-KQ2TUJAW.js → commissions-list-T7735Y35.js} +4 -4
- package/dist/{customer-detail-ZYJDB47Y.js → customer-detail-IPM3SBHE.js} +5 -5
- package/dist/{customer-group-add-customers-GSEUGBTJ.js → customer-group-add-customers-QBRVKXGO.js} +1 -1
- package/dist/{customer-group-detail-5VSUJTR3.js → customer-group-detail-3HV3BJOU.js} +3 -3
- package/dist/{customer-group-list-BRQRKORR.js → customer-group-list-IR6CW36P.js} +4 -4
- package/dist/{customer-group-metadata-S6NJRGYO.js → customer-group-metadata-4W32YXXP.js} +1 -1
- package/dist/{customer-list-6PRFTWMO.js → customer-list-276YPXTE.js} +2 -2
- package/dist/{customer-metadata-C66G3AS7.js → customer-metadata-L622ZJ43.js} +1 -1
- package/dist/{customers-add-customer-group-56GS7TR7.js → customers-add-customer-group-PWKJZJBP.js} +3 -3
- package/dist/{edit-inventory-item-IIJH26PK.js → edit-inventory-item-73BY4I5T.js} +1 -1
- package/dist/{edit-inventory-item-attributes-KTMOGG4V.js → edit-inventory-item-attributes-ZMB343AB.js} +1 -1
- package/dist/{edit-rules-WOQNXKZZ.js → edit-rules-OK44K33O.js} +1 -1
- package/dist/index.css +5187 -3
- package/dist/index.d.ts +7 -1
- package/dist/index.js +173 -173
- package/dist/{inventory-create-WJ3CCFTD.js → inventory-create-66YM6FST.js} +3 -3
- package/dist/{inventory-detail-QY56I2KX.js → inventory-detail-RYFIUKTJ.js} +3 -3
- package/dist/{inventory-list-AB4OHYMU.js → inventory-list-U4W4AP4E.js} +2 -2
- package/dist/{inventory-metadata-OS6KHY52.js → inventory-metadata-W6Z6J2Z2.js} +1 -1
- package/dist/{inventory-stock-F2BKMXY3.js → inventory-stock-A3TSIGMD.js} +2 -2
- package/dist/loader-HRFMJ5TM.js +36 -0
- package/dist/{loader-P2HT7LSL.js → loader-TIPLOZF7.js} +2 -2
- package/dist/{location-detail-LK736WHY.js → location-detail-CNETNX3M.js} +1 -1
- package/dist/{location-fulfillment-providers-VVJGPYJI.js → location-fulfillment-providers-TMPZH2KQ.js} +4 -4
- package/dist/{location-list-HFVPD3JF.js → location-list-RHUT7IRA.js} +1 -1
- package/dist/{location-sales-channels-WZJ3JWQF.js → location-sales-channels-ZQBQ3VDH.js} +1 -2
- package/dist/{location-service-zone-create-WPSYG3NX.js → location-service-zone-create-U77V3ROT.js} +2 -2
- package/dist/{location-service-zone-manage-areas-ZH2ICSC7.js → location-service-zone-manage-areas-FUUAAIDJ.js} +2 -2
- package/dist/{location-service-zone-shipping-option-create-OLABLTSL.js → location-service-zone-shipping-option-create-3PQ2EYD7.js} +4 -4
- package/dist/{location-service-zone-shipping-option-pricing-TARZ34TW.js → location-service-zone-shipping-option-pricing-UZ577SNK.js} +2 -2
- package/dist/{login-IOW5R2ZZ.js → login-OKBXMSKY.js} +1 -1
- package/dist/{marketplace-add-currencies-FPDYEYCL.js → marketplace-add-currencies-KDNMN57C.js} +1 -1
- package/dist/{marketplace-detail-7WGPHRQM.js → marketplace-detail-KBJSCI2N.js} +3 -3
- package/dist/{marketplace-metadata-RNNA4S3F.js → marketplace-metadata-VXFQ3JZW.js} +1 -1
- package/dist/{offer-detail-page-3RAFKFK4.js → offer-detail-page-D3J547CC.js} +134 -121
- package/dist/{offer-variant-detail-page-5FS6D46I.js → offer-variant-detail-page-P4CKF442.js} +5 -5
- package/dist/offers-7JTHN6FI.js +183 -0
- package/dist/{order-create-claim-GOP565XH.js → order-create-claim-CHXOZH2C.js} +4 -4
- package/dist/{order-create-edit-DK4QG2CR.js → order-create-edit-O4AOAOF7.js} +4 -4
- package/dist/{order-create-exchange-ZHJ3T5QJ.js → order-create-exchange-CG3ODKTK.js} +5 -5
- package/dist/{order-create-refund-DWIGXSYJ.js → order-create-refund-4ZO73NWS.js} +1 -1
- package/dist/{order-create-return-63X5PUTT.js → order-create-return-DDOYLDT7.js} +1 -1
- package/dist/{order-detail-6UAWPZI2.js → order-detail-V6AL4RWB.js} +3 -3
- package/dist/{order-edit-billing-address-IU6W76P3.js → order-edit-billing-address-KVX4EPM7.js} +2 -2
- package/dist/{order-edit-email-OAU3YX45.js → order-edit-email-GLAQZCIT.js} +1 -1
- package/dist/{order-edit-shipping-address-RAO5IKGM.js → order-edit-shipping-address-PF54SFAG.js} +1 -1
- package/dist/{order-list-FFPY5OGR.js → order-list-WHZJ6B4G.js} +4 -4
- package/dist/{order-metadata-IUBTCJQW.js → order-metadata-L6SCT4MO.js} +1 -1
- package/dist/{order-request-transfer-2J4CN5JP.js → order-request-transfer-BLQQ66IF.js} +1 -1
- package/dist/pages/index.d.ts +9 -9
- package/dist/pages/index.js +64 -63
- package/dist/{payout-list-A2KQTZMZ.js → payout-list-SOWVPSFQ.js} +2 -2
- package/dist/{price-list-configuration-2NFE4MNW.js → price-list-configuration-OTSYJ3AQ.js} +4 -4
- package/dist/{price-list-create-UMA2NB3L.js → price-list-create-2422HUBU.js} +7 -7
- package/dist/{price-list-detail-7ANY3XOC.js → price-list-detail-CL3FMPVN.js} +3 -3
- package/dist/{price-list-list-6II3XYUA.js → price-list-list-A42VGE3L.js} +2 -2
- package/dist/{price-list-prices-add-XLFLGFVG.js → price-list-prices-add-OOG6526Y.js} +5 -5
- package/dist/{price-list-prices-edit-MT6BFF3M.js → price-list-prices-edit-ZQE3Z3NK.js} +3 -3
- package/dist/{product-add-existing-attributes-3BJ5KV2V.js → product-add-existing-attributes-DKKPTZMB.js} +1 -1
- package/dist/{product-bulk-edit-3AJGOE6E.js → product-bulk-edit-TRI2KKHW.js} +1 -1
- package/dist/{product-create-2SELD5CI.js → product-create-IX4TOFNU.js} +5 -5
- package/dist/{product-detail-O7MVTHSN.js → product-detail-BLZYOXLS.js} +3 -3
- package/dist/{product-list-SIQDX4AT.js → product-list-PLXUL3YW.js} +3 -3
- package/dist/{product-media-S6L3IHUO.js → product-media-TDEPDO3W.js} +2 -2
- package/dist/{product-metadata-4O5YDITE.js → product-metadata-KBT4QGRF.js} +1 -1
- package/dist/{product-organization-BYPV5QSZ.js → product-organization-HFC44AOV.js} +1 -1
- package/dist/{product-sales-channels-73JEGJIY.js → product-sales-channels-C6UUHWGB.js} +1 -2
- package/dist/{product-tag-create-PSLHVOED.js → product-tag-create-AHG3Y4GE.js} +1 -1
- package/dist/{product-tag-detail-SVDEVPMA.js → product-tag-detail-222RARIO.js} +5 -5
- package/dist/{product-tag-edit-7RYZN7ZP.js → product-tag-edit-ACHNVZZP.js} +1 -1
- package/dist/{product-tag-list-4ECQFBOA.js → product-tag-list-EZ4JUW4U.js} +5 -5
- package/dist/{product-tag-metadata-Z26DWSRN.js → product-tag-metadata-4EUBENJ6.js} +1 -1
- package/dist/{product-type-detail-WSHUE56F.js → product-type-detail-SSMTOG47.js} +3 -3
- package/dist/{product-type-list-EP2YCYLK.js → product-type-list-XTVTT7ZA.js} +2 -2
- package/dist/{product-type-metadata-2YKEGWRE.js → product-type-metadata-RAVB4BK2.js} +1 -1
- package/dist/{product-variant-detail-OZYQPDVX.js → product-variant-detail-7CFNAI3A.js} +1 -1
- package/dist/{product-variant-edit-M74OAUM5.js → product-variant-edit-QJK2CLID.js} +1 -1
- package/dist/{product-variant-metadata-VA4NDA53.js → product-variant-metadata-7VHJ4U6L.js} +1 -1
- package/dist/{promotion-create-TOOHWR6S.js → promotion-create-AWZ7YA5T.js} +1 -1
- package/dist/{promotion-detail-25JCCLU2.js → promotion-detail-EEDQ3GQD.js} +4 -4
- package/dist/{promotion-list-RXLVU4G2.js → promotion-list-SXUXYV6R.js} +5 -5
- package/dist/{refund-reason-create-NA42SWWI.js → refund-reason-create-UA3XS6DP.js} +1 -1
- package/dist/{refund-reason-edit-WMKHZ6SN.js → refund-reason-edit-3TAGKV3U.js} +1 -1
- package/dist/{refund-reason-list-XMDZO34F.js → refund-reason-list-OVTNXVLP.js} +1 -1
- package/dist/{region-add-countries-NFJYG4JA.js → region-add-countries-IIHNNE76.js} +1 -1
- package/dist/{region-create-RW42MXKY.js → region-create-PHZNUCJR.js} +1 -1
- package/dist/{region-detail-S7GNXX5B.js → region-detail-AECQQ62I.js} +2 -2
- package/dist/{region-list-ZP7QIWQ3.js → region-list-IBQW5J3R.js} +2 -2
- package/dist/{region-metadata-GWN4DS4V.js → region-metadata-3KASKFZ3.js} +1 -1
- package/dist/{reservation-detail-JSLACR7K.js → reservation-detail-MAWHNY2H.js} +1 -1
- package/dist/{reservation-list-UGXB2P7K.js → reservation-list-IUYMT4U6.js} +2 -2
- package/dist/{reservation-metadata-YNCMFQIX.js → reservation-metadata-ENY4V2ED.js} +1 -1
- package/dist/{reset-password-GBVMOKXP.js → reset-password-UIDUOHVW.js} +1 -1
- package/dist/{return-reason-list-AW6MMUKD.js → return-reason-list-FRHFRNKK.js} +2 -2
- package/dist/{sales-channel-add-products-LRANEISZ.js → sales-channel-add-products-ZCUVTJQN.js} +2 -2
- package/dist/{sales-channel-detail-5XXO3BXP.js → sales-channel-detail-EZVCWMMS.js} +3 -3
- package/dist/{sales-channel-list-PPESHWHA.js → sales-channel-list-LVW7XE7K.js} +3 -4
- package/dist/{sales-channel-metadata-7HVLURGB.js → sales-channel-metadata-RXC4IDD3.js} +1 -1
- package/dist/{shipping-option-type-create-UFXLX52L.js → shipping-option-type-create-GHOCZT64.js} +1 -1
- package/dist/{shipping-option-type-detail-OCOL5H4I.js → shipping-option-type-detail-W32EHTBS.js} +1 -1
- package/dist/{shipping-option-type-edit-2WVBG2XS.js → shipping-option-type-edit-KRIP6HTC.js} +1 -1
- package/dist/{shipping-option-type-list-UCTCZPAM.js → shipping-option-type-list-Y43XD2XM.js} +3 -3
- package/dist/{shipping-profile-metadata-N2AXNBZT.js → shipping-profile-metadata-HMQZ6LGB.js} +1 -1
- package/dist/{shipping-profiles-list-CBTZYI33.js → shipping-profiles-list-4VHKTKIL.js} +2 -2
- package/dist/{store-address-edit-KITVKFMG.js → store-address-edit-B4LWVP73.js} +1 -1
- package/dist/{store-bulk-edit-I6QHGMEC.js → store-bulk-edit-IXWGUFY2.js} +2 -2
- package/dist/{store-closure-edit-MMGDJGV3.js → store-closure-edit-H3EKROXP.js} +1 -1
- package/dist/{store-create-QUGCV5IG.js → store-create-PL2XGIR5.js} +1 -1
- package/dist/{store-details-XNBFIWDL.js → store-details-4DAUF3CD.js} +6 -6
- package/dist/{store-edit-BBOEDZNV.js → store-edit-ESFC2UXE.js} +3 -3
- package/dist/{store-list-RVZG3UD3.js → store-list-KANREHW5.js} +5 -5
- package/dist/{store-member-invite-3G4PCBJ2.js → store-member-invite-U4UQS5VC.js} +1 -1
- package/dist/{store-payment-details-edit-5LT4OIMA.js → store-payment-details-edit-ERRJDLBO.js} +1 -1
- package/dist/{store-professional-details-edit-ARR5WRGC.js → store-professional-details-edit-VD2J4VYV.js} +1 -1
- package/dist/{tax-region-create-7432IFN5.js → tax-region-create-4YEJ3HFY.js} +2 -2
- package/dist/{tax-region-detail-Q3NZI26Z.js → tax-region-detail-L7STT6C7.js} +1 -1
- package/dist/{tax-region-edit-UMPFELDL.js → tax-region-edit-6JOV3POI.js} +1 -1
- package/dist/{tax-region-metadata-UAGL3HYV.js → tax-region-metadata-N3QNTXME.js} +1 -1
- package/dist/{tax-region-province-detail-JQQQXONY.js → tax-region-province-detail-2GRPOSWS.js} +1 -1
- package/dist/{tax-region-tax-override-create-WRUNCP67.js → tax-region-tax-override-create-JZHOHCXF.js} +5 -5
- package/dist/{tax-region-tax-override-edit-EOIDY4LX.js → tax-region-tax-override-edit-SZRD23P4.js} +5 -5
- package/dist/{user-invite-WIHSREOW.js → user-invite-UN6NCCII.js} +1 -1
- package/dist/{user-list-3C6GRWMJ.js → user-list-27ZKEJXN.js} +2 -2
- package/dist/{user-metadata-EKIWOTII.js → user-metadata-BD73LJWB.js} +1 -1
- package/package.json +9 -6
- package/dist/chunk-DGCPYCHU.js +0 -98
- package/dist/loader-DHCULYGY.js +0 -32
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useDataTableDateFilters
|
|
3
|
-
} from "./chunk-DGCPYCHU.js";
|
|
4
1
|
import {
|
|
5
2
|
DataTableStatusCell
|
|
6
3
|
} from "./chunk-MDABSESI.js";
|
|
@@ -135,16 +132,109 @@ var useSalesChannelTableEmptyState = () => {
|
|
|
135
132
|
};
|
|
136
133
|
|
|
137
134
|
// src/components/data-table/helpers/sales-channels/use-sales-channel-table-filters.tsx
|
|
135
|
+
import { createDataTableFilterHelper as createDataTableFilterHelper2 } from "@medusajs/ui";
|
|
136
|
+
import { useMemo as useMemo5 } from "react";
|
|
137
|
+
import { useTranslation as useTranslation5 } from "react-i18next";
|
|
138
|
+
|
|
139
|
+
// src/components/data-table/helpers/general/use-data-table-date-filters.tsx
|
|
138
140
|
import { createDataTableFilterHelper } from "@medusajs/ui";
|
|
141
|
+
import { subDays, subMonths } from "date-fns";
|
|
139
142
|
import { useMemo as useMemo4 } from "react";
|
|
140
143
|
import { useTranslation as useTranslation4 } from "react-i18next";
|
|
141
144
|
var filterHelper = createDataTableFilterHelper();
|
|
142
|
-
var
|
|
145
|
+
var useDateFilterOptions = () => {
|
|
143
146
|
const { t } = useTranslation4();
|
|
147
|
+
const today = useMemo4(() => {
|
|
148
|
+
const date = /* @__PURE__ */ new Date();
|
|
149
|
+
date.setHours(0, 0, 0, 0);
|
|
150
|
+
return date;
|
|
151
|
+
}, []);
|
|
152
|
+
return useMemo4(() => {
|
|
153
|
+
return [
|
|
154
|
+
{
|
|
155
|
+
label: t("filters.date.today"),
|
|
156
|
+
value: {
|
|
157
|
+
$gte: today.toISOString()
|
|
158
|
+
}
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
label: t("filters.date.lastSevenDays"),
|
|
162
|
+
value: {
|
|
163
|
+
$gte: subDays(today, 7).toISOString()
|
|
164
|
+
// 7 days ago
|
|
165
|
+
}
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
label: t("filters.date.lastThirtyDays"),
|
|
169
|
+
value: {
|
|
170
|
+
$gte: subDays(today, 30).toISOString()
|
|
171
|
+
// 30 days ago
|
|
172
|
+
}
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
label: t("filters.date.lastNinetyDays"),
|
|
176
|
+
value: {
|
|
177
|
+
$gte: subDays(today, 90).toISOString()
|
|
178
|
+
// 90 days ago
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
label: t("filters.date.lastTwelveMonths"),
|
|
183
|
+
value: {
|
|
184
|
+
$gte: subMonths(today, 12).toISOString()
|
|
185
|
+
// 12 months ago
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
];
|
|
189
|
+
}, [today, t]);
|
|
190
|
+
};
|
|
191
|
+
var useDataTableDateFilters = (disableRangeOption) => {
|
|
192
|
+
const { t } = useTranslation4();
|
|
193
|
+
const { getFullDate } = useDate();
|
|
194
|
+
const dateFilterOptions = useDateFilterOptions();
|
|
195
|
+
const rangeOptions = useMemo4(() => {
|
|
196
|
+
if (disableRangeOption) {
|
|
197
|
+
return {
|
|
198
|
+
disableRangeOption: true
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
return {
|
|
202
|
+
rangeOptionStartLabel: t("filters.date.starting"),
|
|
203
|
+
rangeOptionEndLabel: t("filters.date.ending"),
|
|
204
|
+
rangeOptionLabel: t("filters.date.custom"),
|
|
205
|
+
options: dateFilterOptions
|
|
206
|
+
};
|
|
207
|
+
}, [disableRangeOption, t, dateFilterOptions]);
|
|
208
|
+
return useMemo4(() => {
|
|
209
|
+
return [
|
|
210
|
+
filterHelper.accessor("created_at", {
|
|
211
|
+
type: "date",
|
|
212
|
+
label: t("fields.createdAt"),
|
|
213
|
+
format: "date",
|
|
214
|
+
formatDateValue: (date) => getFullDate({ date }),
|
|
215
|
+
options: dateFilterOptions,
|
|
216
|
+
...rangeOptions
|
|
217
|
+
}),
|
|
218
|
+
filterHelper.accessor("updated_at", {
|
|
219
|
+
type: "date",
|
|
220
|
+
label: t("fields.updatedAt"),
|
|
221
|
+
format: "date",
|
|
222
|
+
formatDateValue: (date) => getFullDate({ date }),
|
|
223
|
+
options: dateFilterOptions,
|
|
224
|
+
...rangeOptions
|
|
225
|
+
})
|
|
226
|
+
];
|
|
227
|
+
}, [t, dateFilterOptions, getFullDate, rangeOptions]);
|
|
228
|
+
};
|
|
229
|
+
|
|
230
|
+
// src/components/data-table/helpers/sales-channels/use-sales-channel-table-filters.tsx
|
|
231
|
+
var filterHelper2 = createDataTableFilterHelper2();
|
|
232
|
+
var useSalesChannelTableFilters = () => {
|
|
233
|
+
const { t } = useTranslation5();
|
|
144
234
|
const dateFilters = useDataTableDateFilters();
|
|
145
|
-
return
|
|
235
|
+
return useMemo5(
|
|
146
236
|
() => [
|
|
147
|
-
|
|
237
|
+
filterHelper2.accessor("is_disabled", {
|
|
148
238
|
label: t("fields.status"),
|
|
149
239
|
type: "radio",
|
|
150
240
|
options: [
|
|
@@ -9378,7 +9378,7 @@ var en_default = {
|
|
|
9378
9378
|
attributeVariantsDescription: "Attributes used for variants",
|
|
9379
9379
|
attributeProductInformation: "Product Information",
|
|
9380
9380
|
attributeProductInformationDescription: "Attributes used for informational purposes",
|
|
9381
|
-
attributeRequiredByMarketplace: "This attribute is required by the
|
|
9381
|
+
attributeRequiredByMarketplace: "This attribute is required by the marketplace.",
|
|
9382
9382
|
attributeRequiredDeleteDisabledTooltip: "Required attributes cannot be removed.",
|
|
9383
9383
|
addAttribute: "Add Attribute",
|
|
9384
9384
|
deleteAttributeWarning: 'Are you sure you want to delete the attribute "{{title}}"? This action cannot be undone.',
|
|
@@ -10128,15 +10128,6 @@ var en_default = {
|
|
|
10128
10128
|
claim: "Claim",
|
|
10129
10129
|
exchange: "Exchange",
|
|
10130
10130
|
return: "Return",
|
|
10131
|
-
filters: {
|
|
10132
|
-
request: {
|
|
10133
|
-
label: "Request",
|
|
10134
|
-
edit: "Edit",
|
|
10135
|
-
return: "Return",
|
|
10136
|
-
exchange: "Exchange",
|
|
10137
|
-
claim: "Claim"
|
|
10138
|
-
}
|
|
10139
|
-
},
|
|
10140
10131
|
actions: {
|
|
10141
10132
|
cancelDisabledFulfilled: "Cannot cancel an order that has fulfilled items."
|
|
10142
10133
|
},
|
|
@@ -10144,7 +10135,9 @@ var en_default = {
|
|
|
10144
10135
|
orderCanceled: "Order canceled successfully",
|
|
10145
10136
|
onDateFromSalesChannel: "{{date}} from {{salesChannel}}",
|
|
10146
10137
|
list: {
|
|
10147
|
-
noRecordsMessage: "Your orders will show up here."
|
|
10138
|
+
noRecordsMessage: "Your orders will show up here.",
|
|
10139
|
+
expandAll: "Expand all rows",
|
|
10140
|
+
collapseAll: "Collapse all rows"
|
|
10148
10141
|
},
|
|
10149
10142
|
status: {
|
|
10150
10143
|
not_paid: "Not paid",
|
|
@@ -10586,14 +10579,14 @@ var en_default = {
|
|
|
10586
10579
|
}
|
|
10587
10580
|
},
|
|
10588
10581
|
fields: {
|
|
10589
|
-
displayId: "
|
|
10582
|
+
displayId: "Order ID",
|
|
10590
10583
|
refundableAmount: "Refundable amount",
|
|
10591
10584
|
returnableQuantity: "Returnable quantity",
|
|
10592
10585
|
groupId: "Group ID",
|
|
10593
|
-
orderIds: "Order
|
|
10594
|
-
vendor: "
|
|
10595
|
-
vendorsCount_one: "{{count}}
|
|
10596
|
-
vendorsCount_other: "{{count}}
|
|
10586
|
+
orderIds: "Order ID",
|
|
10587
|
+
vendor: "Store",
|
|
10588
|
+
vendorsCount_one: "{{count}} store",
|
|
10589
|
+
vendorsCount_other: "{{count}} stores"
|
|
10597
10590
|
}
|
|
10598
10591
|
},
|
|
10599
10592
|
payouts: {
|
|
@@ -12847,7 +12840,8 @@ var en_default = {
|
|
|
12847
12840
|
domain: "Offers",
|
|
12848
12841
|
empty: {
|
|
12849
12842
|
heading: "No offers yet",
|
|
12850
|
-
description: "Stores haven't published any offers on this marketplace yet."
|
|
12843
|
+
description: "Stores haven't published any offers on this marketplace yet.",
|
|
12844
|
+
storeDescription: "This store doesn't have any offers"
|
|
12851
12845
|
},
|
|
12852
12846
|
filtered: {
|
|
12853
12847
|
heading: "No matching offers",
|
|
@@ -37,14 +37,6 @@ var useSellers = (query, options) => {
|
|
|
37
37
|
});
|
|
38
38
|
return { ...data, ...rest };
|
|
39
39
|
};
|
|
40
|
-
var useSellerProducts = (id, query, options) => {
|
|
41
|
-
const { data, ...rest } = useQuery({
|
|
42
|
-
queryFn: () => sdk.admin.sellers.$id.products.query({ $id: id, ...query }),
|
|
43
|
-
queryKey: [...sellersQueryKeys.detail(id), "products", query],
|
|
44
|
-
...options
|
|
45
|
-
});
|
|
46
|
-
return { ...data, ...rest };
|
|
47
|
-
};
|
|
48
40
|
var useCreateSeller = (options) => {
|
|
49
41
|
return useMutation({
|
|
50
42
|
mutationFn: (payload) => sdk.admin.sellers.mutate(payload),
|
|
@@ -250,7 +242,6 @@ export {
|
|
|
250
242
|
sellersQueryKeys,
|
|
251
243
|
useSeller,
|
|
252
244
|
useSellers,
|
|
253
|
-
useSellerProducts,
|
|
254
245
|
useCreateSeller,
|
|
255
246
|
useSuspendSeller,
|
|
256
247
|
useApproveSeller,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
_DataTable,
|
|
9
9
|
useDataTable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HSL5IICN.js";
|
|
11
11
|
import {
|
|
12
12
|
NoRecords
|
|
13
13
|
} from "./chunk-PAYQJPGK.js";
|
|
@@ -214,9 +214,8 @@ import { Avatar, Container as Container3, Heading as Heading3 } from "@medusajs/
|
|
|
214
214
|
import { useTranslation as useTranslation3 } from "react-i18next";
|
|
215
215
|
import { Link } from "react-router-dom";
|
|
216
216
|
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
217
|
-
var OfferStoreSidebar = ({
|
|
217
|
+
var OfferStoreSidebar = ({ seller }) => {
|
|
218
218
|
const { t } = useTranslation3();
|
|
219
|
-
const seller = offer.seller;
|
|
220
219
|
if (!seller?.id) {
|
|
221
220
|
return null;
|
|
222
221
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDeleteCommissionRuleAction,
|
|
3
3
|
useScopeReferenceNames
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PRSTCHB5.js";
|
|
5
5
|
import {
|
|
6
6
|
formatCommissionValue,
|
|
7
7
|
getIsActiveProps,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
_DataTable,
|
|
23
23
|
useDataTable
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HSL5IICN.js";
|
|
25
25
|
import {
|
|
26
26
|
SingleColumnPage
|
|
27
27
|
} from "./chunk-H6MYB7GB.js";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-54EPH67T.js";
|
|
4
4
|
import {
|
|
5
5
|
useCustomerGroupTableFilters
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-FMJBQE56.js";
|
|
7
7
|
import {
|
|
8
8
|
useCustomerGroupTableQuery
|
|
9
9
|
} from "./chunk-3XOE4NV5.js";
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
_DataTable,
|
|
16
16
|
useDataTable
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-HSL5IICN.js";
|
|
18
18
|
import {
|
|
19
19
|
useCustomerGroups
|
|
20
20
|
} from "./chunk-RGS5ZOY7.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePromotionTableColumns,
|
|
3
3
|
usePromotionTableQuery
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EUXCKJPT.js";
|
|
5
5
|
import {
|
|
6
6
|
usePromotionTableFilters
|
|
7
7
|
} from "./chunk-S2WEYEQR.js";
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
_DataTable,
|
|
19
19
|
useDataTable
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HSL5IICN.js";
|
|
21
21
|
import {
|
|
22
22
|
useAddOrRemoveCampaignPromotions,
|
|
23
23
|
useCampaign,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useCustomerGroupTableFilters
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FMJBQE56.js";
|
|
4
4
|
import {
|
|
5
5
|
useCustomerGroupTableQuery
|
|
6
6
|
} from "./chunk-3XOE4NV5.js";
|
|
7
7
|
import {
|
|
8
8
|
_DataTable,
|
|
9
9
|
useDataTable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HSL5IICN.js";
|
|
11
11
|
import {
|
|
12
12
|
SingleColumnPage
|
|
13
13
|
} from "./chunk-H6MYB7GB.js";
|
|
@@ -1113,9 +1113,10 @@ var DataTableQuery = ({
|
|
|
1113
1113
|
orderBy,
|
|
1114
1114
|
defaultOrder,
|
|
1115
1115
|
filters,
|
|
1116
|
-
prefix
|
|
1116
|
+
prefix,
|
|
1117
|
+
toolbarActions
|
|
1117
1118
|
}) => {
|
|
1118
|
-
return (search || orderBy || filters || prefix) && /* @__PURE__ */ jsxs7("div", { className: "flex items-start justify-between gap-x-4 px-6 py-4", children: [
|
|
1119
|
+
return (search || orderBy || filters || prefix || toolbarActions) && /* @__PURE__ */ jsxs7("div", { className: "flex items-start justify-between gap-x-4 px-6 py-4", children: [
|
|
1119
1120
|
/* @__PURE__ */ jsx7("div", { className: "w-full max-w-[60%]", children: filters && filters.length > 0 && /* @__PURE__ */ jsx7(DataTableFilter, { filters, prefix }) }),
|
|
1120
1121
|
/* @__PURE__ */ jsxs7("div", { className: "flex shrink-0 items-center gap-x-2", children: [
|
|
1121
1122
|
search && /* @__PURE__ */ jsx7(
|
|
@@ -1132,7 +1133,8 @@ var DataTableQuery = ({
|
|
|
1132
1133
|
prefix,
|
|
1133
1134
|
defaultOrder
|
|
1134
1135
|
}
|
|
1135
|
-
)
|
|
1136
|
+
),
|
|
1137
|
+
toolbarActions
|
|
1136
1138
|
] })
|
|
1137
1139
|
] });
|
|
1138
1140
|
};
|
|
@@ -1156,6 +1158,7 @@ var DataTableRoot = ({
|
|
|
1156
1158
|
columns,
|
|
1157
1159
|
pagination,
|
|
1158
1160
|
navigateTo,
|
|
1161
|
+
onRowClick,
|
|
1159
1162
|
commands,
|
|
1160
1163
|
count = 0,
|
|
1161
1164
|
noResults = false,
|
|
@@ -1248,6 +1251,7 @@ var DataTableRoot = ({
|
|
|
1248
1251
|
}) }),
|
|
1249
1252
|
/* @__PURE__ */ jsx8(Table.Body, { className: "border-b-0", children: table.getRowModel().rows.map((row) => {
|
|
1250
1253
|
const to = navigateTo ? navigateTo(row) : void 0;
|
|
1254
|
+
const handleRowClick = !to && onRowClick ? () => onRowClick(row) : void 0;
|
|
1251
1255
|
const isRowDisabled = hasSelect && !row.getCanSelect();
|
|
1252
1256
|
const isOdd = row.depth % 2 !== 0;
|
|
1253
1257
|
const cells = row.getVisibleCells();
|
|
@@ -1255,12 +1259,13 @@ var DataTableRoot = ({
|
|
|
1255
1259
|
Table.Row,
|
|
1256
1260
|
{
|
|
1257
1261
|
"data-selected": row.getIsSelected(),
|
|
1262
|
+
onClick: handleRowClick,
|
|
1258
1263
|
className: clx7(
|
|
1259
1264
|
"transition-fg group/row group relative [&_td:last-of-type]:w-[1%] [&_td:last-of-type]:whitespace-nowrap",
|
|
1260
1265
|
"has-[[data-row-link]:focus-visible]:bg-ui-bg-base-hover",
|
|
1261
1266
|
{
|
|
1262
1267
|
"bg-ui-bg-subtle hover:bg-ui-bg-subtle-hover": isOdd,
|
|
1263
|
-
"cursor-pointer": !!to,
|
|
1268
|
+
"cursor-pointer": !!to || !!handleRowClick,
|
|
1264
1269
|
"bg-ui-bg-highlight hover:bg-ui-bg-highlight-hover": row.getIsSelected(),
|
|
1265
1270
|
"!bg-ui-bg-disabled !hover:bg-ui-bg-disabled": isRowDisabled
|
|
1266
1271
|
}
|
|
@@ -1390,6 +1395,7 @@ var _DataTable = ({
|
|
|
1390
1395
|
columns,
|
|
1391
1396
|
pagination,
|
|
1392
1397
|
navigateTo,
|
|
1398
|
+
onRowClick,
|
|
1393
1399
|
commands,
|
|
1394
1400
|
count = 0,
|
|
1395
1401
|
search = false,
|
|
@@ -1402,7 +1408,8 @@ var _DataTable = ({
|
|
|
1402
1408
|
isLoading = false,
|
|
1403
1409
|
noHeader = false,
|
|
1404
1410
|
layout = "fit",
|
|
1405
|
-
noRecords: noRecordsProps = {}
|
|
1411
|
+
noRecords: noRecordsProps = {},
|
|
1412
|
+
toolbarActions
|
|
1406
1413
|
}) => {
|
|
1407
1414
|
if (isLoading) {
|
|
1408
1415
|
return /* @__PURE__ */ jsx9(
|
|
@@ -1445,7 +1452,8 @@ var _DataTable = ({
|
|
|
1445
1452
|
orderBy,
|
|
1446
1453
|
defaultOrder,
|
|
1447
1454
|
filters,
|
|
1448
|
-
prefix
|
|
1455
|
+
prefix,
|
|
1456
|
+
toolbarActions
|
|
1449
1457
|
}
|
|
1450
1458
|
),
|
|
1451
1459
|
/* @__PURE__ */ jsx9(
|
|
@@ -1456,6 +1464,7 @@ var _DataTable = ({
|
|
|
1456
1464
|
columns,
|
|
1457
1465
|
pagination: true,
|
|
1458
1466
|
navigateTo,
|
|
1467
|
+
onRowClick,
|
|
1459
1468
|
commands,
|
|
1460
1469
|
noResults,
|
|
1461
1470
|
noHeader,
|
|
@@ -130,9 +130,6 @@ var OFFER_PRODUCT_DETAIL_FIELDS = [
|
|
|
130
130
|
"variants.options.option.title",
|
|
131
131
|
"variants.offers.id",
|
|
132
132
|
"variants.offers.sku",
|
|
133
|
-
"variants.offers.seller.id",
|
|
134
|
-
"variants.offers.seller.name",
|
|
135
|
-
"variants.offers.seller.handle",
|
|
136
133
|
"variants.offers.prices.amount",
|
|
137
134
|
"variants.offers.prices.currency_code",
|
|
138
135
|
"variants.offers.shipping_profile.id",
|
|
@@ -165,6 +162,5 @@ var OFFER_LIST_FIELDS = [
|
|
|
165
162
|
export {
|
|
166
163
|
OFFERS_PAGE_SIZE,
|
|
167
164
|
OFFER_VARIANT_DETAIL_FIELDS,
|
|
168
|
-
OFFER_PRODUCT_LIST_FIELDS,
|
|
169
165
|
OFFER_PRODUCT_DETAIL_FIELDS
|
|
170
166
|
};
|
|
@@ -17,7 +17,9 @@ var OFFERS_QUERY_KEY = "offers";
|
|
|
17
17
|
var offerQueryKeys = queryKeysFactory(OFFERS_QUERY_KEY);
|
|
18
18
|
var useOffers = (query, options) => {
|
|
19
19
|
const { data, ...rest } = useQuery({
|
|
20
|
-
queryFn: () => sdk.admin.offers.query({
|
|
20
|
+
queryFn: () => sdk.admin.offers.query({
|
|
21
|
+
...query
|
|
22
|
+
}),
|
|
21
23
|
queryKey: offerQueryKeys.list(query),
|
|
22
24
|
...options
|
|
23
25
|
});
|
|
@@ -3373,15 +3373,15 @@ var DataGridHeader = ({
|
|
|
3373
3373
|
}
|
|
3374
3374
|
)
|
|
3375
3375
|
] }),
|
|
3376
|
-
headerContent && /* @__PURE__ */ jsx9(
|
|
3377
|
-
"div",
|
|
3378
|
-
{
|
|
3379
|
-
className: "flex items-center",
|
|
3380
|
-
onFocusCapture: () => onHeaderInteractionChange(true),
|
|
3381
|
-
children: headerContent
|
|
3382
|
-
}
|
|
3383
|
-
),
|
|
3384
3376
|
/* @__PURE__ */ jsxs6("div", { className: "ml-auto flex items-center gap-x-2", children: [
|
|
3377
|
+
headerContent && /* @__PURE__ */ jsx9(
|
|
3378
|
+
"div",
|
|
3379
|
+
{
|
|
3380
|
+
className: "flex items-center",
|
|
3381
|
+
onFocusCapture: () => onHeaderInteractionChange(true),
|
|
3382
|
+
children: headerContent
|
|
3383
|
+
}
|
|
3384
|
+
),
|
|
3385
3385
|
errorCount > 0 && /* @__PURE__ */ jsxs6(
|
|
3386
3386
|
Button2,
|
|
3387
3387
|
{
|