@mercurjs/admin 2.0.0-canary.34 → 2.0.0-canary.36
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-UVEH25GZ.js → add-campaign-promotions-ZUXBF5G3.js} +10 -10
- package/dist/{adjust-inventory-6Q53EEFB.js → adjust-inventory-HZCWL6SC.js} +10 -10
- package/dist/api-key-management-detail-SKJNAZ5L.js +87 -0
- package/dist/api-key-management-list-2D4WKI6Y.js +33 -0
- package/dist/{campaign-create-2IIU3WTS.js → campaign-create-B7XM2FZM.js} +4 -4
- package/dist/campaign-detail-7U4CQHU5.js +105 -0
- package/dist/campaign-list-SC7FLTRM.js +31 -0
- package/dist/{categories-metadata-G7JDGW6O.js → categories-metadata-LPSJNCME.js} +12 -12
- package/dist/category-detail-HGHR3R2R.js +105 -0
- package/dist/category-list-QBBFGHQM.js +32 -0
- package/dist/{category-products-FH4RIZKA.js → category-products-XLCG2JR7.js} +14 -14
- package/dist/{chunk-36WVODFU.js → chunk-23663A2W.js} +1 -1
- package/dist/chunk-2IGCU3KP.js +170 -0
- package/dist/chunk-33FUPXJL.js +102 -0
- package/dist/{chunk-O5HZRJPB.js → chunk-3B6MTW5G.js} +9 -0
- package/dist/{shipping-profiles-list-FUW4FXLC.js → chunk-3H74EI2D.js} +11 -19
- package/dist/{shipping-profile-detail-WHKHB2OQ.js → chunk-3IYIS5UZ.js} +15 -61
- package/dist/{return-reason-list-MRYG7ZK7.js → chunk-3SAH3NUS.js} +12 -80
- package/dist/chunk-4GVHNYZR.js +294 -0
- package/dist/chunk-4WYBW3HK.js +209 -0
- package/dist/chunk-5GG65TKV.js +335 -0
- package/dist/{customer-group-detail-CPONLZRF.js → chunk-5VEYNZSW.js} +33 -119
- package/dist/{customer-group-list-V2CGT3FT.js → chunk-62ZRA6BZ.js} +2 -37
- package/dist/{category-list-YPRENMVF.js → chunk-66IHH2HG.js} +105 -89
- package/dist/chunk-6L2LSIPR.js +223 -0
- package/dist/{region-list-PGWUOULN.js → chunk-6PNMR6XP.js} +18 -32
- package/dist/{product-type-list-T5KO5J3W.js → chunk-7COSFMM7.js} +17 -30
- package/dist/{api-key-management-detail-RQW5RC5F.js → chunk-7TLEUIAL.js} +22 -80
- package/dist/{product-tag-list-I6M6TAYM.js → chunk-A2KURGQO.js} +16 -131
- package/dist/{chunk-GFZ7GOEU.js → chunk-A6Z2Q7D5.js} +2 -2
- package/dist/{customer-detail-YS265DZS.js → chunk-AOVEX4EM.js} +74 -158
- package/dist/{inventory-detail-42GK24BA.js → chunk-AOVJTW7M.js} +130 -196
- package/dist/{payout-list-GE7E637R.js → chunk-BHID7W3U.js} +12 -22
- package/dist/{price-list-list-VFHHTBLR.js → chunk-CR4E2DCR.js} +98 -78
- package/dist/{chunk-UZVYM65V.js → chunk-D44T5KAE.js} +6 -6
- package/dist/{chunk-BFCAJKRG.js → chunk-DBYUB2YI.js} +28 -56
- package/dist/{user-detail-Q7ST2YKP.js → chunk-DK3U2SRA.js} +17 -62
- package/dist/{refund-reason-list-ECQKWA2M.js → chunk-DP5U3GQU.js} +54 -105
- package/dist/chunk-E2AAYIHS.js +250 -0
- package/dist/{commission-rate-detail-ANI37QHI.js → chunk-EDQBUWY7.js} +46 -106
- package/dist/{region-detail-DIEFHHOM.js → chunk-ENMRRG4N.js} +48 -94
- package/dist/{chunk-UZJ2NQSN.js → chunk-FRRQW7BG.js} +4 -4
- package/dist/{order-detail-V2O5C4CX.js → chunk-FXU7SL6M.js} +413 -423
- package/dist/{product-type-detail-JI4DF7WR.js → chunk-FYB5MS4F.js} +29 -110
- package/dist/{chunk-QNGHZSK3.js → chunk-G644AXKV.js} +1 -1
- package/dist/chunk-GJTIHFXG.js +115 -0
- package/dist/{sales-channel-list-2ZUNUM2T.js → chunk-HHNJNKCB.js} +16 -54
- package/dist/{campaign-list-EAGDQZO3.js → chunk-HZKW7HRU.js} +14 -32
- package/dist/chunk-IXGP2EEN.js +425 -0
- package/dist/{profile-detail-AWZ4EZ6R.js → chunk-J7SR4GW5.js} +10 -15
- package/dist/{product-variant-detail-DXTUM4R7.js → chunk-JA2XIIIZ.js} +96 -178
- package/dist/{price-list-detail-324FZRK5.js → chunk-JRWB7VWP.js} +59 -130
- package/dist/{category-detail-2U65E3CX.js → chunk-KUDLPUWR.js} +70 -146
- package/dist/{collection-detail-Y4GGSHXX.js → chunk-KXPCEVFB.js} +44 -121
- package/dist/{location-list-KVFFPEIV.js → chunk-KYUXTS2L.js} +61 -86
- package/dist/{chunk-M3I52H3M.js → chunk-LU72QEQC.js} +4 -4
- package/dist/{location-detail-XO4RRCAU.js → chunk-LYT3RI4O.js} +90 -155
- package/dist/chunk-NOWUEJ74.js +44 -0
- package/dist/{product-detail-3UWUMNHC.js → chunk-NQPAEBSZ.js} +145 -195
- package/dist/{api-key-management-list-VYQ4AVSX.js → chunk-O6O22BN4.js} +9 -29
- package/dist/{tax-region-province-detail-PB7RFWJ4.js → chunk-OFRQZHVQ.js} +15 -99
- package/dist/{reservation-detail-J4M2EXRY.js → chunk-OSHCUDYY.js} +27 -93
- package/dist/{campaign-detail-4DO3S5UZ.js → chunk-Q6XCCONH.js} +118 -193
- package/dist/{payout-detail-PRYOQSGQ.js → chunk-QBOXELB5.js} +7 -41
- package/dist/chunk-QD6KYDYH.js +169 -0
- package/dist/{commission-rate-list-FCQ3HXC7.js → chunk-QP6XXG6A.js} +11 -20
- package/dist/{promotion-list-SJYMXQXT.js → chunk-RIMR3ULR.js} +14 -51
- package/dist/{shipping-option-type-list-4A7FT4P5.js → chunk-SFG7JTBH.js} +14 -51
- package/dist/{sales-channel-detail-RMU5QW3N.js → chunk-T25UE7SS.js} +39 -120
- package/dist/{tax-region-detail-L3EB6JSF.js → chunk-TE5VQBCL.js} +19 -60
- package/dist/{reservation-list-X33SIPG3.js → chunk-TKGZBTOS.js} +11 -20
- package/dist/{chunk-LQSLDDPT.js → chunk-TZSOL34K.js} +40 -1
- package/dist/{chunk-F5PEK3DA.js → chunk-U3SFHLUA.js} +1 -1
- package/dist/{chunk-IZ5RG5XI.js → chunk-UXD3VNBO.js} +1 -20
- package/dist/{chunk-XE6KSRKQ.js → chunk-V2DXJ75C.js} +1 -1
- package/dist/{marketplace-detail-OVWHCK5W.js → chunk-VBAAYYCS.js} +114 -172
- package/dist/{chunk-5POS4GBN.js → chunk-WZADCDDE.js} +4 -4
- package/dist/{chunk-HOZHWCST.js → chunk-XDVS4B7W.js} +1 -1
- package/dist/{promotion-detail-IO7V5CXR.js → chunk-XVKRTPVM.js} +147 -162
- package/dist/{inventory-list-UJNDJFJS.js → chunk-YH4VQBAA.js} +11 -19
- package/dist/{collection-add-products-RLTEE27D.js → collection-add-products-IQ7M63BA.js} +13 -13
- package/dist/collection-detail-YJ3FV2C6.js +96 -0
- package/dist/collection-list-WDQOBHQN.js +78 -0
- package/dist/{collection-metadata-CQWEZ4EQ.js → collection-metadata-UZ3VN625.js} +10 -10
- package/dist/{commission-rate-create-YK6GCP2R.js → commission-rate-create-VC72GTV4.js} +34 -34
- package/dist/commission-rate-detail-UQDIIMIK.js +82 -0
- package/dist/{commission-rate-edit-5MPI53CE.js → commission-rate-edit-AXJKJNFY.js} +34 -34
- package/dist/commission-rate-list-WTDZLKUR.js +27 -0
- package/dist/customer-detail-N7CS4IJU.js +106 -0
- package/dist/{customer-group-add-customers-FTRCJHE7.js → customer-group-add-customers-LCNDTLXR.js} +6 -6
- package/dist/customer-group-detail-UCTY4FF7.js +105 -0
- package/dist/customer-group-list-XOQ64CVR.js +48 -0
- package/dist/{customer-group-metadata-BITZXXFX.js → customer-group-metadata-FMAZBXIK.js} +11 -11
- package/dist/customer-list-BUUO6OF7.js +32 -0
- package/dist/{customer-metadata-6DDHIGDD.js → customer-metadata-7GW4JRZR.js} +11 -11
- package/dist/{customers-add-customer-group-SD3KK6JE.js → customers-add-customer-group-BKEV24N2.js} +15 -15
- package/dist/{edit-inventory-item-5PZZ3IAH.js → edit-inventory-item-RECBP7OX.js} +7 -7
- package/dist/{edit-inventory-item-attributes-7PJQCUXL.js → edit-inventory-item-attributes-2P3BMQJ5.js} +8 -8
- package/dist/{edit-rules-E2564ZQB.js → edit-rules-DPHJ7PQQ.js} +9 -9
- package/dist/index.d.ts +5 -0
- package/dist/index.js +564 -757
- package/dist/{inventory-create-LYXHQR7Y.js → inventory-create-QLEIHESO.js} +20 -20
- package/dist/inventory-detail-BJT5WEV5.js +106 -0
- package/dist/inventory-list-3LWBPWVK.js +29 -0
- package/dist/{inventory-metadata-OLR5ZMMN.js → inventory-metadata-ZNHZQEMX.js} +11 -11
- package/dist/{inventory-stock-ZOM2ANKJ.js → inventory-stock-G3GP4FZX.js} +17 -17
- package/dist/location-detail-N7J6PEAP.js +99 -0
- package/dist/{location-fulfillment-providers-6T27UNF7.js → location-fulfillment-providers-BHCY2MYC.js} +18 -18
- package/dist/location-list-UG6B47NP.js +52 -0
- package/dist/{location-service-zone-create-IYKQNCNO.js → location-service-zone-create-AIVG7HTM.js} +8 -8
- package/dist/{location-service-zone-manage-areas-L7BQTR7S.js → location-service-zone-manage-areas-EZSV25CP.js} +10 -10
- package/dist/{location-service-zone-shipping-option-create-PSPX634E.js → location-service-zone-shipping-option-create-GYPW6SSN.js} +18 -18
- package/dist/{location-service-zone-shipping-option-pricing-HC7Z4BVU.js → location-service-zone-shipping-option-pricing-7VMPXDWX.js} +8 -8
- package/dist/{login-U5WERLJC.js → login-2HSCF4ZB.js} +16 -10
- package/dist/{marketplace-add-currencies-XQPZT237.js → marketplace-add-currencies-CIGOPBO6.js} +7 -7
- package/dist/marketplace-detail-7KJMXXAJ.js +74 -0
- package/dist/{marketplace-metadata-GIYATM54.js → marketplace-metadata-PHZ4PUWM.js} +11 -11
- package/dist/{order-create-claim-UWNZUBL7.js → order-create-claim-7WW6MXTT.js} +34 -34
- package/dist/{order-create-edit-JD4UZ5GW.js → order-create-edit-KAH6ZPLX.js} +20 -20
- package/dist/{order-create-exchange-OTIDP47E.js → order-create-exchange-ELLWF3IY.js} +31 -31
- package/dist/{order-create-fulfillment-7OP64TNJ.js → order-create-fulfillment-E3J7ILOJ.js} +13 -13
- package/dist/{order-create-refund-U4UK5IZB.js → order-create-refund-5QZBOSCA.js} +13 -13
- package/dist/{order-create-return-LH4LW5BZ.js → order-create-return-L6DEDPJK.js} +17 -17
- package/dist/{order-create-shipment-URYCUNU6.js → order-create-shipment-NBQ226NM.js} +7 -7
- package/dist/order-detail-C25NQSZN.js +122 -0
- package/dist/{order-edit-billing-address-XRUEKX33.js → order-edit-billing-address-NVRMPZEU.js} +14 -14
- package/dist/{order-edit-email-CJ3MEZB6.js → order-edit-email-5FA7X52X.js} +7 -7
- package/dist/{order-edit-shipping-address-SV4UVNBQ.js → order-edit-shipping-address-BPU7OL2N.js} +11 -11
- package/dist/order-list-7NH7LROU.js +48 -0
- package/dist/{order-metadata-HIOSALZT.js → order-metadata-47FUKENZ.js} +10 -10
- package/dist/{order-receive-return-4SRRRBW6.js → order-receive-return-FW5QZJBM.js} +8 -8
- package/dist/{order-request-transfer-5AGKGFVY.js → order-request-transfer-WD327YGL.js} +7 -7
- package/dist/pages/index.d.ts +638 -0
- package/dist/pages/index.js +359 -0
- package/dist/payout-detail-MDD5SRK5.js +51 -0
- package/dist/payout-list-XY2A5KYS.js +28 -0
- package/dist/{price-list-configuration-GK4MA3BE.js → price-list-configuration-XK3IZLLX.js} +8 -8
- package/dist/{price-list-create-3NNWUS6L.js → price-list-create-OK7YYLAB.js} +22 -22
- package/dist/price-list-detail-IGFSM77P.js +102 -0
- package/dist/price-list-list-TBXQ5DOS.js +35 -0
- package/dist/{price-list-prices-add-IBSLTMNK.js → price-list-prices-add-7PGUONDK.js} +18 -18
- package/dist/{price-list-prices-edit-AAVPX34P.js → price-list-prices-edit-QVGBT6AI.js} +14 -14
- package/dist/{product-create-C4GHUEM5.js → product-create-NVBKO426.js} +218 -383
- package/dist/{product-create-variant-5MVBT5ST.js → product-create-variant-CJPECBV4.js} +68 -230
- package/dist/product-detail-ZC37BGPC.js +100 -0
- package/dist/{product-export-XTS7P5AD.js → product-export-ULTY2SNJ.js} +14 -14
- package/dist/{product-import-ZEZE2JE6.js → product-import-Q2CPHVNJ.js} +10 -10
- package/dist/product-list-635ZXM2D.js +85 -0
- package/dist/{product-media-Z2DCRZSU.js → product-media-ZMDAVPGI.js} +4 -4
- package/dist/{product-metadata-NBB5SRDN.js → product-metadata-36JNWKCJ.js} +10 -10
- package/dist/{product-stock-ZXNZZBJI.js → product-stock-HF42WRSC.js} +18 -18
- package/dist/{product-tag-create-LL35OFZM.js → product-tag-create-VCRDLR27.js} +7 -7
- package/dist/product-tag-detail-OJLYO3Q5.js +135 -0
- package/dist/{product-tag-edit-6XBZCCED.js → product-tag-edit-BYE7UP54.js} +7 -7
- package/dist/product-tag-list-XFHGJBRF.js +129 -0
- package/dist/{product-tag-metadata-UGO4RUFU.js → product-tag-metadata-ADHNZA2H.js} +10 -10
- package/dist/product-type-detail-J4UA4AEM.js +97 -0
- package/dist/product-type-list-H5EQHCXS.js +34 -0
- package/dist/{product-type-metadata-ZKOZNZE3.js → product-type-metadata-UY22KDAN.js} +10 -10
- package/dist/product-variant-detail-5WKYURFA.js +111 -0
- package/dist/{product-variant-edit-KGLW5GXD.js → product-variant-edit-66ZUIIMP.js} +10 -10
- package/dist/{product-variant-metadata-H7J7SZNU.js → product-variant-metadata-7N5F7DM5.js} +10 -10
- package/dist/profile-detail-EYNXOHGZ.js +17 -0
- package/dist/{promotion-add-campaign-OEMV62HF.js → promotion-add-campaign-B5SF72KC.js} +4 -4
- package/dist/{promotion-create-P2WR5RPH.js → promotion-create-D77SANLX.js} +17 -17
- package/dist/promotion-detail-MVFOMS4E.js +87 -0
- package/dist/promotion-list-IN4VWEQN.js +57 -0
- package/dist/{refund-reason-create-PTHFUT2D.js → refund-reason-create-BHI5XXZC.js} +7 -7
- package/dist/{refund-reason-edit-WEEQQGYO.js → refund-reason-edit-UWWYC4OB.js} +7 -7
- package/dist/refund-reason-list-DJZZC7KK.js +101 -0
- package/dist/{region-add-countries-GVOTB5YX.js → region-add-countries-YOGU74UR.js} +9 -9
- package/dist/{region-create-3BCYTIDB.js → region-create-UMJK3VGL.js} +14 -14
- package/dist/region-detail-OFZHX57G.js +73 -0
- package/dist/region-list-L4FKHVJJ.js +34 -0
- package/dist/{region-metadata-IYIHJCTK.js → region-metadata-JLHWQGTC.js} +11 -11
- package/dist/reservation-detail-LZYEM5NW.js +82 -0
- package/dist/reservation-list-OGPDB7WG.js +30 -0
- package/dist/{reservation-metadata-MMHE4TPO.js → reservation-metadata-WB42HSMD.js} +11 -11
- package/dist/{reset-password-WNANNJDX.js → reset-password-Q7Y4FWRE.js} +2 -2
- package/dist/return-reason-list-6ICMSVKF.js +80 -0
- package/dist/{sales-channel-add-products-GP7TMMKB.js → sales-channel-add-products-EOWFSO35.js} +14 -14
- package/dist/sales-channel-detail-RRJG7U7R.js +97 -0
- package/dist/sales-channel-list-LUZ4ZXCY.js +50 -0
- package/dist/{sales-channel-metadata-QF5KEN7C.js → sales-channel-metadata-5CLXRNQF.js} +12 -12
- package/dist/{seller-details-EUCYPH4Z.js → seller-details-KROISMQC.js} +48 -48
- package/dist/seller-list-664H4SI5.js +79 -0
- package/dist/{shipping-option-type-create-KBQMPNIW.js → shipping-option-type-create-42URKECR.js} +7 -7
- package/dist/shipping-option-type-detail-2RY3NHRO.js +81 -0
- package/dist/{shipping-option-type-edit-S3R6JBFV.js → shipping-option-type-edit-VLFV2AR4.js} +7 -7
- package/dist/shipping-option-type-list-IOSOE33S.js +59 -0
- package/dist/shipping-profile-detail-RIIAX7VE.js +56 -0
- package/dist/{shipping-profile-metadata-BJFUYS5L.js → shipping-profile-metadata-7WDHFEEH.js} +10 -10
- package/dist/shipping-profiles-list-AL4EJSJY.js +26 -0
- package/dist/{tax-region-create-KTFZNQCZ.js → tax-region-create-UOTLTCOP.js} +14 -14
- package/dist/tax-region-detail-CA2W5W6A.js +67 -0
- package/dist/{tax-region-edit-H2ORQVEW.js → tax-region-edit-7O2Z3EYC.js} +7 -7
- package/dist/tax-region-list-JTZ7KZCX.js +26 -0
- package/dist/{tax-region-metadata-2PYZ5ECB.js → tax-region-metadata-VQ57FSEM.js} +11 -11
- package/dist/tax-region-province-detail-ZHLX4FF4.js +98 -0
- package/dist/{tax-region-tax-override-create-IDGG732M.js → tax-region-tax-override-create-WIWUNXW6.js} +31 -31
- package/dist/{tax-region-tax-override-edit-NSBZBBZA.js → tax-region-tax-override-edit-SWROFQTP.js} +31 -31
- package/dist/user-detail-YNPBC5MN.js +54 -0
- package/dist/{user-invite-ATAF42EH.js → user-invite-OT73USBI.js} +10 -10
- package/dist/user-list-LNTZNT3D.js +27 -0
- package/dist/{user-metadata-QFVK2VJX.js → user-metadata-ZGTN4FRU.js} +11 -11
- package/package.json +3 -3
- package/dist/chunk-RW35OPIA.js +0 -45
- package/dist/collection-list-WUPG6AU2.js +0 -233
- package/dist/customer-list-DYQHKNJV.js +0 -153
- package/dist/order-list-ASHM44MM.js +0 -317
- package/dist/product-list-7WK2AWI2.js +0 -323
- package/dist/product-tag-detail-E7VYBISE.js +0 -288
- package/dist/seller-list-W76S2T27.js +0 -237
- package/dist/shipping-option-type-detail-CFGKF7NV.js +0 -173
- package/dist/tax-region-list-D7HWEZUR.js +0 -92
- package/dist/user-list-S6BMNMKL.js +0 -342
- package/dist/{api-key-management-sales-channels-RDE5YSYK.js → api-key-management-sales-channels-C7EWPHC2.js} +9 -9
- package/dist/{campaign-budget-edit-722ECPRI.js → campaign-budget-edit-AIXCDGG3.js} +3 -3
- package/dist/{category-create-VSH7BLNC.js → category-create-UWBJGIED.js} +7 -7
- package/dist/{category-edit-CCHWEQER.js → category-edit-ZDTTOXKZ.js} +3 -3
- package/dist/{chunk-JISYRXUS.js → chunk-B44E3LJT.js} +7 -7
- package/dist/{chunk-L22DLGNI.js → chunk-DEKJJ7NG.js} +3 -3
- package/dist/{chunk-2PZGY332.js → chunk-LQAAVRET.js} +3 -3
- package/dist/{chunk-GEVYE225.js → chunk-RA4UMZRP.js} +3 -3
- package/dist/{chunk-NIRWGTM3.js → chunk-RV6NZTNP.js} +3 -3
- package/dist/{chunk-SXC5ZMLI.js → chunk-TKEAOWBZ.js} +24 -24
- package/dist/{chunk-FLCYR7E5.js → chunk-ULJ3OMWU.js} +3 -3
- package/dist/{chunk-XDEVXAGC.js → chunk-VBBBIEVH.js} +3 -3
- package/dist/{chunk-FMOQNZFZ.js → chunk-YMKZS2HK.js} +12 -12
- package/dist/{customer-create-address-2LLOW6NZ.js → customer-create-address-GKWNPTZS.js} +1 -1
- package/dist/{customer-edit-F5UBFJIZ.js → customer-edit-WDRZ6YUO.js} +3 -3
- package/dist/{edit-reservation-SAKSTZTE.js → edit-reservation-7UOWKFMF.js} +3 -3
- package/dist/{invite-CSXH7VAO.js → invite-AXGDIENO.js} +1 -1
- package/dist/{location-create-HHOJPTDK.js → location-create-FQT3BJGV.js} +1 -1
- package/dist/{location-edit-2NAOR4DV.js → location-edit-RTPPP4KP.js} +1 -1
- package/dist/{location-sales-channels-BJUJNBQQ.js → location-sales-channels-3IGHCJEN.js} +9 -9
- package/dist/{location-service-zone-shipping-option-edit-SSMGORBF.js → location-service-zone-shipping-option-edit-E3GN4ZF5.js} +3 -3
- package/dist/{marketplace-edit-WPOSY2WN.js → marketplace-edit-GH2GQF3O.js} +3 -3
- package/dist/{order-allocate-items-DLVOSAC2.js → order-allocate-items-VEEANPH7.js} +3 -3
- package/dist/{price-list-edit-UU2XBKT3.js → price-list-edit-KK7SHR7O.js} +3 -3
- package/dist/{product-attributes-HNF4J53T.js → product-attributes-NG4OSBIV.js} +1 -1
- package/dist/{product-edit-6EL6US22.js → product-edit-LQJDUUVX.js} +4 -4
- package/dist/{product-organization-NWS3NMD6.js → product-organization-AFCELJ62.js} +1 -1
- package/dist/{product-prices-V63CFHI3.js → product-prices-WMRIC7WM.js} +7 -7
- package/dist/{product-sales-channels-WU3MSCV5.js → product-sales-channels-LSN5DVWZ.js} +5 -5
- package/dist/{product-variant-manage-inventory-items-C77QHYRT.js → product-variant-manage-inventory-items-CV2CC2PV.js} +3 -3
- package/dist/{profile-edit-3GIVUYUM.js → profile-edit-4HXBRWJ5.js} +6 -6
- package/dist/{promotion-edit-details-7Y2A5PPJ.js → promotion-edit-details-YKS24GBD.js} +6 -6
- package/dist/{region-edit-7XER3THY.js → region-edit-ODVSNJHM.js} +5 -5
- package/dist/{tax-region-province-create-7BMYABJ6.js → tax-region-province-create-RFYCUDER.js} +3 -3
|
@@ -1,342 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DateCell
|
|
3
|
-
} from "./chunk-25LYVP3C.js";
|
|
4
|
-
import "./chunk-PHOCVOZ5.js";
|
|
5
|
-
import {
|
|
6
|
-
_DataTable,
|
|
7
|
-
useDataTable
|
|
8
|
-
} from "./chunk-FLCYR7E5.js";
|
|
9
|
-
import "./chunk-YBZWO4ZV.js";
|
|
10
|
-
import "./chunk-KAZ5BYTQ.js";
|
|
11
|
-
import "./chunk-3EF54XFY.js";
|
|
12
|
-
import "./chunk-KBYZLKI4.js";
|
|
13
|
-
import "./chunk-YWWUOGJA.js";
|
|
14
|
-
import {
|
|
15
|
-
SingleColumnPage
|
|
16
|
-
} from "./chunk-U2UCL2VG.js";
|
|
17
|
-
import "./chunk-INNFZYX2.js";
|
|
18
|
-
import {
|
|
19
|
-
ActionMenu
|
|
20
|
-
} from "./chunk-BDGZ4EQO.js";
|
|
21
|
-
import "./chunk-LAVHRER2.js";
|
|
22
|
-
import "./chunk-Y7QKP6QU.js";
|
|
23
|
-
import {
|
|
24
|
-
useQueryParams
|
|
25
|
-
} from "./chunk-THHRRYRS.js";
|
|
26
|
-
import "./chunk-UZWFZMOX.js";
|
|
27
|
-
import "./chunk-XQNVC4Q7.js";
|
|
28
|
-
import {
|
|
29
|
-
useUsers
|
|
30
|
-
} from "./chunk-NNZP4PYP.js";
|
|
31
|
-
import "./chunk-RHKRREUU.js";
|
|
32
|
-
import "./chunk-ZA2KFUFR.js";
|
|
33
|
-
import "./chunk-ZYNBKBY3.js";
|
|
34
|
-
import "./chunk-NBMM2TZK.js";
|
|
35
|
-
|
|
36
|
-
// src/pages/users/user-list/components/user-list-table/user-list-table.tsx
|
|
37
|
-
import { useMemo as useMemo2 } from "react";
|
|
38
|
-
import { PencilSquare } from "@medusajs/icons";
|
|
39
|
-
import { Button, Container, Heading } from "@medusajs/ui";
|
|
40
|
-
import { keepPreviousData } from "@tanstack/react-query";
|
|
41
|
-
import { createColumnHelper } from "@tanstack/react-table";
|
|
42
|
-
import { useTranslation as useTranslation2 } from "react-i18next";
|
|
43
|
-
import { Link, useNavigate } from "react-router-dom";
|
|
44
|
-
|
|
45
|
-
// src/hooks/table/query/use-user-table-query.tsx
|
|
46
|
-
var useUserTableQuery = (options) => {
|
|
47
|
-
const { prefix, pageSize = 20 } = options ?? {};
|
|
48
|
-
const queryObject = useQueryParams(["offset", "q", "created_at", "updated_at", "order"], prefix);
|
|
49
|
-
const { offset, created_at, updated_at, q, order } = queryObject;
|
|
50
|
-
const searchParams = {
|
|
51
|
-
limit: pageSize,
|
|
52
|
-
offset: offset ? Number(offset) : 0,
|
|
53
|
-
created_at: created_at ? JSON.parse(created_at) : void 0,
|
|
54
|
-
updated_at: updated_at ? JSON.parse(updated_at) : void 0,
|
|
55
|
-
order: order ? order : "-created_at",
|
|
56
|
-
q
|
|
57
|
-
};
|
|
58
|
-
return {
|
|
59
|
-
searchParams,
|
|
60
|
-
raw: queryObject
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
|
|
64
|
-
// src/pages/users/user-list/components/user-list-table/use-user-table-filters.tsx
|
|
65
|
-
import { useMemo } from "react";
|
|
66
|
-
import { useTranslation } from "react-i18next";
|
|
67
|
-
var useUserTableFilters = () => {
|
|
68
|
-
const { t } = useTranslation();
|
|
69
|
-
return useMemo(
|
|
70
|
-
() => [
|
|
71
|
-
{
|
|
72
|
-
key: "created_at",
|
|
73
|
-
label: t("fields.createdAt"),
|
|
74
|
-
type: "date"
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
key: "updated_at",
|
|
78
|
-
label: t("fields.updatedAt"),
|
|
79
|
-
type: "date"
|
|
80
|
-
}
|
|
81
|
-
],
|
|
82
|
-
[t]
|
|
83
|
-
);
|
|
84
|
-
};
|
|
85
|
-
|
|
86
|
-
// src/pages/users/user-list/components/user-list-table/user-list-table.tsx
|
|
87
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
88
|
-
var PAGE_SIZE = 20;
|
|
89
|
-
var UserListTable = () => {
|
|
90
|
-
const { t } = useTranslation2();
|
|
91
|
-
const { searchParams, raw } = useUserTableQuery({ pageSize: PAGE_SIZE });
|
|
92
|
-
const { users, count, isPending, isError, error } = useUsers(
|
|
93
|
-
{
|
|
94
|
-
...searchParams
|
|
95
|
-
},
|
|
96
|
-
{
|
|
97
|
-
placeholderData: keepPreviousData
|
|
98
|
-
}
|
|
99
|
-
);
|
|
100
|
-
const filters = useUserTableFilters();
|
|
101
|
-
const columns = useColumns();
|
|
102
|
-
const { table } = useDataTable({
|
|
103
|
-
data: users ?? [],
|
|
104
|
-
columns,
|
|
105
|
-
enablePagination: true,
|
|
106
|
-
count,
|
|
107
|
-
pageSize: PAGE_SIZE,
|
|
108
|
-
getRowId: (row) => row.id
|
|
109
|
-
});
|
|
110
|
-
if (isError) {
|
|
111
|
-
throw error;
|
|
112
|
-
}
|
|
113
|
-
return /* @__PURE__ */ jsxs(
|
|
114
|
-
Container,
|
|
115
|
-
{
|
|
116
|
-
className: "divide-y p-0",
|
|
117
|
-
"data-testid": "users-list-table",
|
|
118
|
-
children: [
|
|
119
|
-
/* @__PURE__ */ jsxs(
|
|
120
|
-
"div",
|
|
121
|
-
{
|
|
122
|
-
className: "flex items-center justify-between px-6 py-4",
|
|
123
|
-
"data-testid": "users-list-header",
|
|
124
|
-
children: [
|
|
125
|
-
/* @__PURE__ */ jsx(
|
|
126
|
-
Heading,
|
|
127
|
-
{
|
|
128
|
-
level: "h2",
|
|
129
|
-
"data-testid": "users-list-title",
|
|
130
|
-
children: t("users.domain")
|
|
131
|
-
}
|
|
132
|
-
),
|
|
133
|
-
/* @__PURE__ */ jsx(
|
|
134
|
-
Link,
|
|
135
|
-
{
|
|
136
|
-
to: "invite",
|
|
137
|
-
"data-testid": "users-invite-link",
|
|
138
|
-
children: /* @__PURE__ */ jsx(
|
|
139
|
-
Button,
|
|
140
|
-
{
|
|
141
|
-
size: "small",
|
|
142
|
-
variant: "secondary",
|
|
143
|
-
"data-testid": "users-invite-button",
|
|
144
|
-
children: t("users.invite")
|
|
145
|
-
}
|
|
146
|
-
)
|
|
147
|
-
}
|
|
148
|
-
)
|
|
149
|
-
]
|
|
150
|
-
}
|
|
151
|
-
),
|
|
152
|
-
/* @__PURE__ */ jsx("div", { "data-testid": "users-data-table", children: /* @__PURE__ */ jsx(
|
|
153
|
-
_DataTable,
|
|
154
|
-
{
|
|
155
|
-
table,
|
|
156
|
-
columns,
|
|
157
|
-
count,
|
|
158
|
-
pageSize: PAGE_SIZE,
|
|
159
|
-
filters,
|
|
160
|
-
search: true,
|
|
161
|
-
pagination: true,
|
|
162
|
-
isLoading: isPending,
|
|
163
|
-
queryObject: raw,
|
|
164
|
-
navigateTo: (row) => `${row.original.id}`,
|
|
165
|
-
orderBy: [
|
|
166
|
-
{ key: "email", label: t("fields.email") },
|
|
167
|
-
{ key: "first_name", label: t("fields.firstName") },
|
|
168
|
-
{ key: "last_name", label: t("fields.lastName") },
|
|
169
|
-
{ key: "created_at", label: t("fields.createdAt") },
|
|
170
|
-
{ key: "updated_at", label: t("fields.updatedAt") }
|
|
171
|
-
],
|
|
172
|
-
noRecords: {
|
|
173
|
-
message: t("users.list.empty.description")
|
|
174
|
-
}
|
|
175
|
-
}
|
|
176
|
-
) })
|
|
177
|
-
]
|
|
178
|
-
}
|
|
179
|
-
);
|
|
180
|
-
};
|
|
181
|
-
var columnHelper = createColumnHelper();
|
|
182
|
-
var useColumns = () => {
|
|
183
|
-
const { t } = useTranslation2();
|
|
184
|
-
const navigate = useNavigate();
|
|
185
|
-
return useMemo2(
|
|
186
|
-
() => [
|
|
187
|
-
columnHelper.accessor("email", {
|
|
188
|
-
header: () => /* @__PURE__ */ jsx(
|
|
189
|
-
"div",
|
|
190
|
-
{
|
|
191
|
-
className: "flex h-full w-full items-center",
|
|
192
|
-
"data-testid": "users-table-header-email",
|
|
193
|
-
children: /* @__PURE__ */ jsx("span", { "data-testid": "users-table-header-email-text", children: t("fields.email") })
|
|
194
|
-
}
|
|
195
|
-
),
|
|
196
|
-
cell: ({ row }) => {
|
|
197
|
-
return /* @__PURE__ */ jsx("div", { className: "flex size-full items-center overflow-hidden", children: /* @__PURE__ */ jsx(
|
|
198
|
-
"span",
|
|
199
|
-
{
|
|
200
|
-
className: "truncate",
|
|
201
|
-
"data-testid": `users-table-cell-${row.index}-email-value`,
|
|
202
|
-
children: row.original.email
|
|
203
|
-
}
|
|
204
|
-
) });
|
|
205
|
-
}
|
|
206
|
-
}),
|
|
207
|
-
columnHelper.accessor("first_name", {
|
|
208
|
-
header: () => /* @__PURE__ */ jsx(
|
|
209
|
-
"div",
|
|
210
|
-
{
|
|
211
|
-
className: "flex h-full w-full items-center",
|
|
212
|
-
"data-testid": "users-table-header-first_name",
|
|
213
|
-
children: /* @__PURE__ */ jsx("span", { "data-testid": "users-table-header-first_name-text", children: t("fields.firstName") })
|
|
214
|
-
}
|
|
215
|
-
),
|
|
216
|
-
cell: ({ row }) => {
|
|
217
|
-
return /* @__PURE__ */ jsx("div", { className: "flex size-full items-center overflow-hidden", children: /* @__PURE__ */ jsx(
|
|
218
|
-
"span",
|
|
219
|
-
{
|
|
220
|
-
className: "truncate",
|
|
221
|
-
"data-testid": `users-table-cell-${row.index}-first_name-value`,
|
|
222
|
-
children: row.original.first_name || "-"
|
|
223
|
-
}
|
|
224
|
-
) });
|
|
225
|
-
}
|
|
226
|
-
}),
|
|
227
|
-
columnHelper.accessor("last_name", {
|
|
228
|
-
header: () => /* @__PURE__ */ jsx(
|
|
229
|
-
"div",
|
|
230
|
-
{
|
|
231
|
-
className: "flex h-full w-full items-center",
|
|
232
|
-
"data-testid": "users-table-header-last_name",
|
|
233
|
-
children: /* @__PURE__ */ jsx("span", { "data-testid": "users-table-header-last_name-text", children: t("fields.lastName") })
|
|
234
|
-
}
|
|
235
|
-
),
|
|
236
|
-
cell: ({ row }) => {
|
|
237
|
-
return /* @__PURE__ */ jsx("div", { className: "flex size-full items-center overflow-hidden", children: /* @__PURE__ */ jsx(
|
|
238
|
-
"span",
|
|
239
|
-
{
|
|
240
|
-
className: "truncate",
|
|
241
|
-
"data-testid": `users-table-cell-${row.index}-last_name-value`,
|
|
242
|
-
children: row.original.last_name || "-"
|
|
243
|
-
}
|
|
244
|
-
) });
|
|
245
|
-
}
|
|
246
|
-
}),
|
|
247
|
-
columnHelper.accessor("created_at", {
|
|
248
|
-
header: () => /* @__PURE__ */ jsx(
|
|
249
|
-
"div",
|
|
250
|
-
{
|
|
251
|
-
className: "flex h-full w-full items-center",
|
|
252
|
-
"data-testid": "users-table-header-created_at",
|
|
253
|
-
children: /* @__PURE__ */ jsx("span", { "data-testid": "users-table-header-created_at-text", children: t("fields.createdAt") })
|
|
254
|
-
}
|
|
255
|
-
),
|
|
256
|
-
cell: ({ getValue, row }) => {
|
|
257
|
-
const date = getValue();
|
|
258
|
-
return /* @__PURE__ */ jsx(
|
|
259
|
-
DateCell,
|
|
260
|
-
{
|
|
261
|
-
date: date ? new Date(date) : null,
|
|
262
|
-
"data-testid": `users-table-cell-${row.index}-created_at-value`
|
|
263
|
-
}
|
|
264
|
-
);
|
|
265
|
-
}
|
|
266
|
-
}),
|
|
267
|
-
columnHelper.accessor("updated_at", {
|
|
268
|
-
header: () => /* @__PURE__ */ jsx(
|
|
269
|
-
"div",
|
|
270
|
-
{
|
|
271
|
-
className: "flex h-full w-full items-center",
|
|
272
|
-
"data-testid": "users-table-header-updated_at",
|
|
273
|
-
children: /* @__PURE__ */ jsx("span", { "data-testid": "users-table-header-updated_at-text", children: t("fields.updatedAt") })
|
|
274
|
-
}
|
|
275
|
-
),
|
|
276
|
-
cell: ({ getValue, row }) => {
|
|
277
|
-
const date = getValue();
|
|
278
|
-
return /* @__PURE__ */ jsx(
|
|
279
|
-
DateCell,
|
|
280
|
-
{
|
|
281
|
-
date: date ? new Date(date) : null,
|
|
282
|
-
"data-testid": `users-table-cell-${row.index}-updated_at-value`
|
|
283
|
-
}
|
|
284
|
-
);
|
|
285
|
-
}
|
|
286
|
-
}),
|
|
287
|
-
columnHelper.display({
|
|
288
|
-
id: "actions",
|
|
289
|
-
header: () => /* @__PURE__ */ jsx(
|
|
290
|
-
"div",
|
|
291
|
-
{
|
|
292
|
-
className: "flex h-full w-full items-center",
|
|
293
|
-
"data-testid": "users-table-header-actions",
|
|
294
|
-
children: /* @__PURE__ */ jsx("span", { "data-testid": "users-table-header-actions-text" })
|
|
295
|
-
}
|
|
296
|
-
),
|
|
297
|
-
cell: ({ row }) => {
|
|
298
|
-
return /* @__PURE__ */ jsx(
|
|
299
|
-
UserActions,
|
|
300
|
-
{
|
|
301
|
-
user: row.original,
|
|
302
|
-
index: row.index
|
|
303
|
-
}
|
|
304
|
-
);
|
|
305
|
-
}
|
|
306
|
-
})
|
|
307
|
-
],
|
|
308
|
-
[t, navigate]
|
|
309
|
-
);
|
|
310
|
-
};
|
|
311
|
-
var UserActions = ({ user, index }) => {
|
|
312
|
-
const { t } = useTranslation2();
|
|
313
|
-
const navigate = useNavigate();
|
|
314
|
-
return /* @__PURE__ */ jsx(
|
|
315
|
-
ActionMenu,
|
|
316
|
-
{
|
|
317
|
-
groups: [
|
|
318
|
-
{
|
|
319
|
-
actions: [
|
|
320
|
-
{
|
|
321
|
-
icon: /* @__PURE__ */ jsx(PencilSquare, {}),
|
|
322
|
-
label: t("actions.edit"),
|
|
323
|
-
onClick: () => {
|
|
324
|
-
navigate(`${user.id}/edit`);
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
]
|
|
328
|
-
}
|
|
329
|
-
],
|
|
330
|
-
"data-testid": `user-actions-${index}`
|
|
331
|
-
}
|
|
332
|
-
);
|
|
333
|
-
};
|
|
334
|
-
|
|
335
|
-
// src/pages/users/user-list/user-list.tsx
|
|
336
|
-
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
337
|
-
var UserList = () => {
|
|
338
|
-
return /* @__PURE__ */ jsx2(SingleColumnPage, { children: /* @__PURE__ */ jsx2(UserListTable, {}) });
|
|
339
|
-
};
|
|
340
|
-
export {
|
|
341
|
-
UserList as Component
|
|
342
|
-
};
|
|
@@ -1,21 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VisuallyHidden
|
|
3
3
|
} from "./chunk-54TMLQH3.js";
|
|
4
|
+
import "./chunk-TKGWSUEI.js";
|
|
5
|
+
import {
|
|
6
|
+
KeyboundForm
|
|
7
|
+
} from "./chunk-U2ZFCAPX.js";
|
|
4
8
|
import {
|
|
5
9
|
useSalesChannelTableColumns,
|
|
6
10
|
useSalesChannelTableEmptyState,
|
|
7
11
|
useSalesChannelTableFilters,
|
|
8
12
|
useSalesChannelTableQuery
|
|
9
13
|
} from "./chunk-G4QMLQF2.js";
|
|
10
|
-
import "./chunk-TKGWSUEI.js";
|
|
11
|
-
import {
|
|
12
|
-
KeyboundForm
|
|
13
|
-
} from "./chunk-U2ZFCAPX.js";
|
|
14
|
-
import {
|
|
15
|
-
RouteFocusModal,
|
|
16
|
-
useRouteModal
|
|
17
|
-
} from "./chunk-MWOKFNRO.js";
|
|
18
|
-
import "./chunk-3QSRE5LS.js";
|
|
19
14
|
import "./chunk-UKLRBS4W.js";
|
|
20
15
|
import "./chunk-DGCPYCHU.js";
|
|
21
16
|
import {
|
|
@@ -29,6 +24,11 @@ import "./chunk-Y7QKP6QU.js";
|
|
|
29
24
|
import "./chunk-THHRRYRS.js";
|
|
30
25
|
import "./chunk-UZWFZMOX.js";
|
|
31
26
|
import "./chunk-XQNVC4Q7.js";
|
|
27
|
+
import {
|
|
28
|
+
RouteFocusModal,
|
|
29
|
+
useRouteModal
|
|
30
|
+
} from "./chunk-MWOKFNRO.js";
|
|
31
|
+
import "./chunk-3QSRE5LS.js";
|
|
32
32
|
import {
|
|
33
33
|
useApiKey,
|
|
34
34
|
useBatchAddSalesChannelsToApiKey
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getCurrencySymbol
|
|
3
|
-
} from "./chunk-IQPN4PZJ.js";
|
|
4
1
|
import "./chunk-TKGWSUEI.js";
|
|
5
2
|
import {
|
|
6
3
|
KeyboundForm
|
|
7
4
|
} from "./chunk-U2ZFCAPX.js";
|
|
5
|
+
import {
|
|
6
|
+
getCurrencySymbol
|
|
7
|
+
} from "./chunk-IQPN4PZJ.js";
|
|
8
8
|
import {
|
|
9
9
|
RouteDrawer,
|
|
10
10
|
useRouteModal
|
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CategoryTree
|
|
3
3
|
} from "./chunk-YXFG3M2D.js";
|
|
4
|
-
import {
|
|
5
|
-
insertCategoryTreeItem
|
|
6
|
-
} from "./chunk-Y456KVIN.js";
|
|
7
4
|
import {
|
|
8
5
|
transformNullableFormData
|
|
9
6
|
} from "./chunk-7RPRNVBS.js";
|
|
7
|
+
import {
|
|
8
|
+
insertCategoryTreeItem
|
|
9
|
+
} from "./chunk-Y456KVIN.js";
|
|
10
10
|
import {
|
|
11
11
|
HandleInput
|
|
12
12
|
} from "./chunk-TLE6YHGH.js";
|
|
13
|
-
import "./chunk-SMQT3ZNO.js";
|
|
14
13
|
import "./chunk-TKGWSUEI.js";
|
|
15
14
|
import {
|
|
16
15
|
KeyboundForm
|
|
17
16
|
} from "./chunk-U2ZFCAPX.js";
|
|
17
|
+
import "./chunk-SMQT3ZNO.js";
|
|
18
|
+
import {
|
|
19
|
+
useDocumentDirection
|
|
20
|
+
} from "./chunk-Y7QKP6QU.js";
|
|
18
21
|
import {
|
|
19
22
|
RouteFocusModal,
|
|
20
23
|
useRouteModal
|
|
@@ -22,9 +25,6 @@ import {
|
|
|
22
25
|
import {
|
|
23
26
|
Form
|
|
24
27
|
} from "./chunk-3QSRE5LS.js";
|
|
25
|
-
import {
|
|
26
|
-
useDocumentDirection
|
|
27
|
-
} from "./chunk-Y7QKP6QU.js";
|
|
28
28
|
import {
|
|
29
29
|
useCreateProductCategory,
|
|
30
30
|
useProductCategories
|
|
@@ -5,6 +5,9 @@ import "./chunk-TKGWSUEI.js";
|
|
|
5
5
|
import {
|
|
6
6
|
KeyboundForm
|
|
7
7
|
} from "./chunk-U2ZFCAPX.js";
|
|
8
|
+
import {
|
|
9
|
+
useDocumentDirection
|
|
10
|
+
} from "./chunk-Y7QKP6QU.js";
|
|
8
11
|
import {
|
|
9
12
|
RouteDrawer,
|
|
10
13
|
useRouteModal
|
|
@@ -12,9 +15,6 @@ import {
|
|
|
12
15
|
import {
|
|
13
16
|
Form
|
|
14
17
|
} from "./chunk-3QSRE5LS.js";
|
|
15
|
-
import {
|
|
16
|
-
useDocumentDirection
|
|
17
|
-
} from "./chunk-Y7QKP6QU.js";
|
|
18
18
|
import {
|
|
19
19
|
useProductCategory,
|
|
20
20
|
useUpdateProductCategory
|
|
@@ -1,13 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
KeyboundForm
|
|
3
3
|
} from "./chunk-U2ZFCAPX.js";
|
|
4
|
-
import {
|
|
5
|
-
RouteDrawer,
|
|
6
|
-
useRouteModal
|
|
7
|
-
} from "./chunk-MWOKFNRO.js";
|
|
8
|
-
import {
|
|
9
|
-
Form
|
|
10
|
-
} from "./chunk-3QSRE5LS.js";
|
|
11
4
|
import {
|
|
12
5
|
Skeleton
|
|
13
6
|
} from "./chunk-INNFZYX2.js";
|
|
@@ -17,6 +10,13 @@ import {
|
|
|
17
10
|
import {
|
|
18
11
|
useDocumentDirection
|
|
19
12
|
} from "./chunk-Y7QKP6QU.js";
|
|
13
|
+
import {
|
|
14
|
+
RouteDrawer,
|
|
15
|
+
useRouteModal
|
|
16
|
+
} from "./chunk-MWOKFNRO.js";
|
|
17
|
+
import {
|
|
18
|
+
Form
|
|
19
|
+
} from "./chunk-3QSRE5LS.js";
|
|
20
20
|
|
|
21
21
|
// src/components/forms/metadata-form/metadata-form.tsx
|
|
22
22
|
import { zodResolver } from "@hookform/resolvers/zod";
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
currencies,
|
|
6
6
|
getCurrencySymbol
|
|
7
7
|
} from "./chunk-IQPN4PZJ.js";
|
|
8
|
-
import {
|
|
9
|
-
Form
|
|
10
|
-
} from "./chunk-3QSRE5LS.js";
|
|
11
8
|
import {
|
|
12
9
|
useDocumentDirection
|
|
13
10
|
} from "./chunk-Y7QKP6QU.js";
|
|
11
|
+
import {
|
|
12
|
+
Form
|
|
13
|
+
} from "./chunk-3QSRE5LS.js";
|
|
14
14
|
import {
|
|
15
15
|
useStore
|
|
16
16
|
} from "./chunk-MIHEJ6Y6.js";
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
formatProvider
|
|
6
6
|
} from "./chunk-VW56KWO2.js";
|
|
7
|
-
import {
|
|
8
|
-
PlaceholderCell
|
|
9
|
-
} from "./chunk-PHOCVOZ5.js";
|
|
10
7
|
import {
|
|
11
8
|
countries
|
|
12
9
|
} from "./chunk-JRTZWK77.js";
|
|
10
|
+
import {
|
|
11
|
+
PlaceholderCell
|
|
12
|
+
} from "./chunk-PHOCVOZ5.js";
|
|
13
13
|
|
|
14
14
|
// src/hooks/table/columns/use-region-table-columns.tsx
|
|
15
15
|
import { createColumnHelper } from "@tanstack/react-table";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
useSalesChannels
|
|
3
|
-
} from "./chunk-LORVU5II.js";
|
|
4
1
|
import {
|
|
5
2
|
useRegions
|
|
6
3
|
} from "./chunk-QSM56ZOP.js";
|
|
4
|
+
import {
|
|
5
|
+
useSalesChannels
|
|
6
|
+
} from "./chunk-LORVU5II.js";
|
|
7
7
|
|
|
8
8
|
// src/hooks/table/filters/use-order-table-filters.tsx
|
|
9
9
|
import { useTranslation } from "react-i18next";
|
|
@@ -13,15 +13,15 @@ import {
|
|
|
13
13
|
useDataGridCell,
|
|
14
14
|
useDataGridCellError
|
|
15
15
|
} from "./chunk-KUWNYCGL.js";
|
|
16
|
+
import {
|
|
17
|
+
KeyboundForm
|
|
18
|
+
} from "./chunk-U2ZFCAPX.js";
|
|
16
19
|
import {
|
|
17
20
|
currencies
|
|
18
21
|
} from "./chunk-IQPN4PZJ.js";
|
|
19
22
|
import {
|
|
20
23
|
castNumber
|
|
21
24
|
} from "./chunk-SMQT3ZNO.js";
|
|
22
|
-
import {
|
|
23
|
-
KeyboundForm
|
|
24
|
-
} from "./chunk-U2ZFCAPX.js";
|
|
25
25
|
import {
|
|
26
26
|
StackedFocusModal
|
|
27
27
|
} from "./chunk-MWOKFNRO.js";
|
|
@@ -2,30 +2,6 @@ import {
|
|
|
2
2
|
useQueryParams
|
|
3
3
|
} from "./chunk-THHRRYRS.js";
|
|
4
4
|
|
|
5
|
-
// src/hooks/table/query/use-sellers-table-query.tsx
|
|
6
|
-
var useSellersTableQuery = ({
|
|
7
|
-
prefix,
|
|
8
|
-
pageSize = 20
|
|
9
|
-
}) => {
|
|
10
|
-
const queryObject = useQueryParams(
|
|
11
|
-
["offset", "q", "created_at", "status", "order"],
|
|
12
|
-
prefix
|
|
13
|
-
);
|
|
14
|
-
const { offset, created_at, status, q, order } = queryObject;
|
|
15
|
-
const searchParams = {
|
|
16
|
-
limit: pageSize,
|
|
17
|
-
offset: offset ? Number(offset) : 0,
|
|
18
|
-
created_at: created_at ? JSON.parse(created_at) : void 0,
|
|
19
|
-
status: status?.split(","),
|
|
20
|
-
q,
|
|
21
|
-
order: order ? order : void 0
|
|
22
|
-
};
|
|
23
|
-
return {
|
|
24
|
-
searchParams,
|
|
25
|
-
raw: queryObject
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
|
|
29
5
|
// src/hooks/table/query/use-collection-table-query.tsx
|
|
30
6
|
var useCollectionTableQuery = ({
|
|
31
7
|
prefix,
|
|
@@ -168,6 +144,30 @@ var useShippingOptionTableQuery = ({
|
|
|
168
144
|
};
|
|
169
145
|
};
|
|
170
146
|
|
|
147
|
+
// src/hooks/table/query/use-sellers-table-query.tsx
|
|
148
|
+
var useSellersTableQuery = ({
|
|
149
|
+
prefix,
|
|
150
|
+
pageSize = 20
|
|
151
|
+
}) => {
|
|
152
|
+
const queryObject = useQueryParams(
|
|
153
|
+
["offset", "q", "created_at", "status", "order"],
|
|
154
|
+
prefix
|
|
155
|
+
);
|
|
156
|
+
const { offset, created_at, status, q, order } = queryObject;
|
|
157
|
+
const searchParams = {
|
|
158
|
+
limit: pageSize,
|
|
159
|
+
offset: offset ? Number(offset) : 0,
|
|
160
|
+
created_at: created_at ? JSON.parse(created_at) : void 0,
|
|
161
|
+
status: status?.split(","),
|
|
162
|
+
q,
|
|
163
|
+
order: order ? order : void 0
|
|
164
|
+
};
|
|
165
|
+
return {
|
|
166
|
+
searchParams,
|
|
167
|
+
raw: queryObject
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
|
|
171
171
|
export {
|
|
172
172
|
useCollectionTableQuery,
|
|
173
173
|
useProductTagTableQuery,
|
|
@@ -8,12 +8,12 @@ import {
|
|
|
8
8
|
NoRecords,
|
|
9
9
|
NoResults
|
|
10
10
|
} from "./chunk-3EF54XFY.js";
|
|
11
|
-
import {
|
|
12
|
-
DataTableFilter
|
|
13
|
-
} from "./chunk-KBYZLKI4.js";
|
|
14
11
|
import {
|
|
15
12
|
TableSkeleton
|
|
16
13
|
} from "./chunk-INNFZYX2.js";
|
|
14
|
+
import {
|
|
15
|
+
DataTableFilter
|
|
16
|
+
} from "./chunk-KBYZLKI4.js";
|
|
17
17
|
|
|
18
18
|
// src/components/table/data-table/data-table.tsx
|
|
19
19
|
import { clx as clx2 } from "@medusajs/ui";
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
Combobox
|
|
6
6
|
} from "./chunk-AW77UWCZ.js";
|
|
7
|
-
import {
|
|
8
|
-
Form
|
|
9
|
-
} from "./chunk-3QSRE5LS.js";
|
|
10
7
|
import {
|
|
11
8
|
useDocumentDirection
|
|
12
9
|
} from "./chunk-Y7QKP6QU.js";
|
|
10
|
+
import {
|
|
11
|
+
Form
|
|
12
|
+
} from "./chunk-3QSRE5LS.js";
|
|
13
13
|
import {
|
|
14
14
|
usePromotionRuleAttributes,
|
|
15
15
|
usePromotionRules
|
|
@@ -2,6 +2,18 @@ import {
|
|
|
2
2
|
useDateTableFilters
|
|
3
3
|
} from "./chunk-26OOAKQ6.js";
|
|
4
4
|
|
|
5
|
+
// src/hooks/table/filters/use-collection-table-filters.tsx
|
|
6
|
+
var useCollectionTableFilters = () => {
|
|
7
|
+
const dateFilters = useDateTableFilters();
|
|
8
|
+
return dateFilters;
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
// src/hooks/table/filters/use-product-tag-table-filters.tsx
|
|
12
|
+
var useProductTagTableFilters = () => {
|
|
13
|
+
const dateFilters = useDateTableFilters();
|
|
14
|
+
return dateFilters;
|
|
15
|
+
};
|
|
16
|
+
|
|
5
17
|
// src/hooks/table/filters/use-seller-table-filters.tsx
|
|
6
18
|
import { useTranslation } from "react-i18next";
|
|
7
19
|
var useSellerTableFilters = () => {
|
|
@@ -37,18 +49,6 @@ var useSellerTableFilters = () => {
|
|
|
37
49
|
return [statusFilter, ...dateFilters];
|
|
38
50
|
};
|
|
39
51
|
|
|
40
|
-
// src/hooks/table/filters/use-collection-table-filters.tsx
|
|
41
|
-
var useCollectionTableFilters = () => {
|
|
42
|
-
const dateFilters = useDateTableFilters();
|
|
43
|
-
return dateFilters;
|
|
44
|
-
};
|
|
45
|
-
|
|
46
|
-
// src/hooks/table/filters/use-product-tag-table-filters.tsx
|
|
47
|
-
var useProductTagTableFilters = () => {
|
|
48
|
-
const dateFilters = useDateTableFilters();
|
|
49
|
-
return dateFilters;
|
|
50
|
-
};
|
|
51
|
-
|
|
52
52
|
// src/hooks/table/filters/use-shipping-option-table-filters.tsx
|
|
53
53
|
import { useTranslation as useTranslation2 } from "react-i18next";
|
|
54
54
|
var useShippingOptionTableFilters = (locations) => {
|
|
@@ -2,6 +2,7 @@ import "./chunk-NXDFDEKP.js";
|
|
|
2
2
|
import {
|
|
3
3
|
CountrySelect
|
|
4
4
|
} from "./chunk-V74Y5NIV.js";
|
|
5
|
+
import "./chunk-JRTZWK77.js";
|
|
5
6
|
import "./chunk-TKGWSUEI.js";
|
|
6
7
|
import {
|
|
7
8
|
KeyboundForm
|
|
@@ -13,7 +14,6 @@ import {
|
|
|
13
14
|
import {
|
|
14
15
|
Form
|
|
15
16
|
} from "./chunk-3QSRE5LS.js";
|
|
16
|
-
import "./chunk-JRTZWK77.js";
|
|
17
17
|
import {
|
|
18
18
|
useCreateCustomerAddress
|
|
19
19
|
} from "./chunk-A5XOYSDC.js";
|