@mercurjs/admin 2.2.0-canary.3 → 2.2.0-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/{[id]-YI7UXOO2.js → [id]-272FUOXG.js} +7 -3
- package/dist/{add-campaign-promotions-OLNTDP26.js → add-campaign-promotions-FAG3FAOF.js} +3 -3
- package/dist/{adjust-inventory-CVWSBMHU.js → adjust-inventory-EAAPNIBZ.js} +17 -17
- package/dist/{api-key-management-create-7RWOCVAO.js → api-key-management-create-MRLR4WFZ.js} +3 -3
- package/dist/{api-key-management-detail-ZIIDMHFI.js → api-key-management-detail-PIN6NFQF.js} +18 -18
- package/dist/{api-key-management-edit-ACH6TJAX.js → api-key-management-edit-EZHFP3RR.js} +3 -3
- package/dist/{api-key-management-list-JHBBXGHH.js → api-key-management-list-OPANEDHB.js} +4 -4
- package/dist/{api-key-management-sales-channels-XEBTUB5V.js → api-key-management-sales-channels-PBL3V4IS.js} +3 -3
- package/dist/{attribute-create-HGNJXJBO.js → attribute-create-F55LOXRA.js} +19 -19
- package/dist/{attribute-detail-JF2RHBXC.js → attribute-detail-NRDJUPTJ.js} +17 -17
- package/dist/{attribute-edit-ADBGDZTL.js → attribute-edit-SB6GN67M.js} +2 -2
- package/dist/{attribute-edit-possible-value-OLHGHLA3.js → attribute-edit-possible-value-5CLQOLVR.js} +2 -2
- package/dist/{attribute-list-OHU2QMUG.js → attribute-list-URWKNTSJ.js} +16 -16
- package/dist/{campaign-create-VFFIIRE4.js → campaign-create-7BELREFT.js} +3 -3
- package/dist/{campaign-detail-AZKBPDLC.js → campaign-detail-QMLFWZ6K.js} +20 -20
- package/dist/{categories-metadata-YZUP43OH.js → categories-metadata-5GXBBHEH.js} +16 -16
- package/dist/{category-create-2MRYTSYM.js → category-create-QPQQGIEN.js} +4 -4
- package/dist/{category-detail-B2TSD5V4.js → category-detail-RIKOZMPK.js} +24 -24
- package/dist/{category-edit-QLOS2LBA.js → category-edit-DJP7TK4X.js} +2 -2
- package/dist/{category-list-U7ZQBSZN.js → category-list-T5SE63HU.js} +4 -4
- package/dist/{category-organize-TIKTYJFZ.js → category-organize-DQQGAAJY.js} +2 -2
- package/dist/{category-products-KIP4KAF2.js → category-products-255EJFTV.js} +21 -21
- package/dist/{chunk-YXSTDH2B.js → chunk-2MVNFKL6.js} +6 -6
- package/dist/{chunk-CIZUUV2Y.js → chunk-2XVH2IJL.js} +8 -8
- package/dist/{chunk-UPNMDPFX.js → chunk-2YN2OI3W.js} +4 -4
- package/dist/{chunk-XZZTC7E5.js → chunk-2ZRWLCYP.js} +1 -1
- package/dist/{chunk-M75FCGHK.js → chunk-34OFJ74B.js} +2 -2
- package/dist/{chunk-GKW445WA.js → chunk-3L7M4E7W.js} +1 -1
- package/dist/{chunk-XALYF4WJ.js → chunk-3OUWXGMT.js} +101 -405
- package/dist/{chunk-AXTQMIIK.js → chunk-46A3QXAL.js} +8 -27
- package/dist/{chunk-FTAR3BDS.js → chunk-4RT7P5ZQ.js} +1 -1
- package/dist/{chunk-IRTI3AS3.js → chunk-4XFFF2L5.js} +2 -2
- package/dist/{chunk-ZSFJVRRS.js → chunk-5AZCIOS4.js} +1 -1
- package/dist/{chunk-VOMVHF67.js → chunk-5J2HQOKK.js} +3 -3
- package/dist/{chunk-DQGGJSOO.js → chunk-6NDM5WGE.js} +1 -1
- package/dist/{chunk-K4TGNN4P.js → chunk-6RHAGO5O.js} +2 -2
- package/dist/{chunk-3O6YY3R5.js → chunk-6WBQDJIH.js} +217 -155
- package/dist/{chunk-EAC7NFA2.js → chunk-6XTHMAA2.js} +2 -2
- package/dist/{chunk-GNLPUGYK.js → chunk-7BD24KNM.js} +2 -2
- package/dist/{chunk-WV4SQ57G.js → chunk-7O6WJTBI.js} +8 -10
- package/dist/{chunk-2LQ5SCPB.js → chunk-ACDG3RAL.js} +4 -4
- package/dist/{chunk-UXD3VNBO.js → chunk-AJLGY3LQ.js} +1 -2
- package/dist/{chunk-EREXPX6I.js → chunk-AKC67AN5.js} +18 -35
- package/dist/{chunk-3EDQIZV6.js → chunk-B66CMFMH.js} +2 -2
- package/dist/{chunk-TP7L6M7V.js → chunk-BKNAX6QQ.js} +1 -1
- package/dist/{chunk-JRUUOZ5S.js → chunk-CKUIM5ZD.js} +5 -5
- package/dist/{chunk-PE4STCQ5.js → chunk-D2NBZVQC.js} +6 -6
- package/dist/{chunk-SNPNLTCO.js → chunk-DDANJIE7.js} +3 -3
- package/dist/{chunk-3P4VTL4S.js → chunk-DV7QV3X2.js} +7 -7
- package/dist/{chunk-UXQAHUGZ.js → chunk-DWCBB4QM.js} +1 -1
- package/dist/{chunk-OSEIN4Y2.js → chunk-E5WBU7ZR.js} +1 -1
- package/dist/{chunk-H5PYBIOZ.js → chunk-EB5QHYKL.js} +1 -1
- package/dist/{chunk-TITPJHIL.js → chunk-EBQUMS7H.js} +1 -1
- package/dist/{chunk-QIU6DJY6.js → chunk-EFZBEG7O.js} +1 -1
- package/dist/{chunk-SRDK3XX7.js → chunk-EZGIPTIF.js} +2 -2
- package/dist/{chunk-FMRP2CNF.js → chunk-F5H5JZQZ.js} +137 -179
- package/dist/{chunk-EJTB2SLE.js → chunk-F7O6IXPA.js} +1 -1
- package/dist/{chunk-S5BJ5CMF.js → chunk-FEC24V7X.js} +1 -1
- package/dist/{chunk-G4PROEJI.js → chunk-FPV32HVT.js} +3 -3
- package/dist/{chunk-6UQ5WDW6.js → chunk-G3GSRFTB.js} +4 -4
- package/dist/{chunk-SUHCZ33F.js → chunk-GPJ6KVY2.js} +2 -2
- package/dist/{chunk-CKACZXMP.js → chunk-GQLVERZW.js} +1 -1
- package/dist/chunk-GVEF6UDT.js +8 -0
- package/dist/{chunk-BHOZKBYY.js → chunk-HZQGZQTV.js} +1 -1
- package/dist/{chunk-WKCYMDTV.js → chunk-IWI34SYT.js} +1 -1
- package/dist/{chunk-JQBSPUH2.js → chunk-J4MAIN7L.js} +1 -1
- package/dist/{chunk-AB2LHP3M.js → chunk-K43FFKGD.js} +1 -1
- package/dist/{chunk-2S6VXFBZ.js → chunk-K6L5PHHQ.js} +4 -4
- package/dist/{chunk-BCVUMATY.js → chunk-KJSCFEXT.js} +4 -4
- package/dist/{chunk-CBGXKU7Z.js → chunk-KMZOBR5Q.js} +4 -4
- package/dist/{chunk-V6OGMYAI.js → chunk-KT7X72J4.js} +158 -169
- package/dist/{chunk-P25PIADJ.js → chunk-KTBL35I2.js} +1 -1
- package/dist/{chunk-WS63IRBI.js → chunk-L3E6LES5.js} +3 -3
- package/dist/chunk-LD7NVG2X.js +213 -0
- package/dist/{chunk-YGAX72XV.js → chunk-LO2ZWQGL.js} +0 -2
- package/dist/{chunk-BLYJZMNE.js → chunk-LO7NJYHZ.js} +2 -2
- package/dist/{chunk-QBVFUDNG.js → chunk-LXMGYWPO.js} +3 -3
- package/dist/{chunk-5DNAS3T4.js → chunk-M5AJSIRN.js} +1 -1
- package/dist/{chunk-YL3SCKWU.js → chunk-MFI5TG54.js} +6 -6
- package/dist/{chunk-YLKG7W4P.js → chunk-MKBCBAS2.js} +4 -4
- package/dist/{chunk-ALATTLBM.js → chunk-MSESXKMA.js} +1 -1
- package/dist/{chunk-BGGUVHDG.js → chunk-N3334MXP.js} +23 -23
- package/dist/{chunk-B3EEDC47.js → chunk-N3BYBEDV.js} +2 -2
- package/dist/{chunk-R2MI5GL4.js → chunk-NMFVQDVF.js} +4 -8
- package/dist/chunk-P42E3L6Z.js +142 -0
- package/dist/{chunk-6FIU2V6Y.js → chunk-PR7Y27BW.js} +1 -1
- package/dist/{chunk-NQBSSM5V.js → chunk-Q23KHB6V.js} +2 -2
- package/dist/{chunk-637OFDFC.js → chunk-QFE4AEQJ.js} +8 -16
- package/dist/{chunk-XODRTI2W.js → chunk-R5F52U3C.js} +1 -1
- package/dist/{chunk-3IVTUFBM.js → chunk-SA3MMYXT.js} +1 -1
- package/dist/{chunk-Q6I2IKJB.js → chunk-SONUZNDT.js} +2 -2
- package/dist/{chunk-X2IZZAII.js → chunk-SS7LB52P.js} +5 -5
- package/dist/{chunk-DTYQWWHT.js → chunk-SXGSYSW7.js} +1 -1
- package/dist/{chunk-AMOSVDPE.js → chunk-TE245WV3.js} +4 -4
- package/dist/{chunk-PXTJJQKJ.js → chunk-TNNQPNXY.js} +1 -1
- package/dist/{chunk-WDH5C2NS.js → chunk-TXNRS2JR.js} +1 -1
- package/dist/{chunk-BE6JLTMI.js → chunk-UFGVU7RF.js} +1 -1
- package/dist/{chunk-6RQR3B6T.js → chunk-UKDC2AQR.js} +1 -2
- package/dist/{chunk-RVBZV3BH.js → chunk-UNOG2S56.js} +115 -180
- package/dist/{chunk-ZHOI4QMK.js → chunk-UXGLM3B4.js} +1 -1
- package/dist/{chunk-2V4BOCYF.js → chunk-VERWLDVW.js} +3 -3
- package/dist/{chunk-YPESX7CE.js → chunk-WRVGLMRW.js} +1 -1
- package/dist/{chunk-ED7XNGZD.js → chunk-X3PXBMI3.js} +1 -1
- package/dist/{chunk-N2LH7A4X.js → chunk-X7H7TIOT.js} +9 -9
- package/dist/{chunk-XTSMGXL2.js → chunk-XAIID3PU.js} +4 -4
- package/dist/{chunk-A772RAKB.js → chunk-ZB4SO44T.js} +1 -1
- package/dist/{chunk-2YYXP6XI.js → chunk-ZRFWXNT3.js} +1 -37
- package/dist/{collection-add-products-5ULJZWE2.js → collection-add-products-4ZTBHENL.js} +21 -21
- package/dist/{collection-create-HUNYHKUJ.js → collection-create-GPBN7KO6.js} +2 -2
- package/dist/{collection-detail-2KCCLJMV.js → collection-detail-W7OC2ALM.js} +22 -22
- package/dist/{collection-edit-OQGYTQDO.js → collection-edit-NVRFKO46.js} +2 -2
- package/dist/{collection-list-QHZSZGPO.js → collection-list-B7LALPSA.js} +23 -23
- package/dist/{collection-metadata-47N7TUOH.js → collection-metadata-E4C54MTU.js} +16 -16
- package/dist/{commission-rate-create-7SH3LKQP.js → commission-rate-create-7MEIKAXK.js} +33 -33
- package/dist/{commission-rate-detail-LAZZLZVX.js → commission-rate-detail-XBMB3Y7S.js} +17 -17
- package/dist/{commission-rate-edit-ISER2E7G.js → commission-rate-edit-XXUAGK5Q.js} +33 -33
- package/dist/{constants-26tEckuq.d.ts → constants-Bahlh59D.d.ts} +8 -4
- package/dist/{customer-detail-D5SSLNFT.js → customer-detail-ONZGPCHW.js} +20 -20
- package/dist/{customer-group-detail-KRT7E2JA.js → customer-group-detail-XTCDJX7O.js} +16 -16
- package/dist/{customer-group-list-KKDIESQ6.js → customer-group-list-63ER7WQH.js} +16 -16
- package/dist/{customer-group-metadata-J6JY7DZ3.js → customer-group-metadata-N7HGHXNC.js} +16 -16
- package/dist/{customer-metadata-AH2LBK4T.js → customer-metadata-63OWV4KB.js} +16 -16
- package/dist/{customers-add-customer-group-AHGAPEIS.js → customers-add-customer-group-NUXPXNUC.js} +16 -16
- package/dist/{edit-inventory-item-ADNLKLCN.js → edit-inventory-item-YOJTYA7H.js} +16 -16
- package/dist/{edit-inventory-item-attributes-XVR2WLDU.js → edit-inventory-item-attributes-JGY633F2.js} +16 -16
- package/dist/{edit-reservation-HQQL42QX.js → edit-reservation-ACDUXG33.js} +2 -2
- package/dist/{edit-rules-YMKM5JPI.js → edit-rules-4VAD5Q3L.js} +17 -17
- package/dist/index.d.ts +2 -2
- package/dist/index.js +517 -517
- package/dist/{inventory-create-IVESXFSV.js → inventory-create-3NJZLSFO.js} +19 -19
- package/dist/{inventory-detail-TINIAFVB.js → inventory-detail-B3HU2OVR.js} +17 -17
- package/dist/{inventory-list-YLIAKQXI.js → inventory-list-AE44PEW7.js} +2 -2
- package/dist/{inventory-metadata-6INRH2JC.js → inventory-metadata-WCFTI7AH.js} +16 -16
- package/dist/{inventory-stock-6YGTATID.js → inventory-stock-M65W4GRN.js} +201 -39
- package/dist/{loader-6KDBTRVR.js → loader-O4EABIXE.js} +1 -1
- package/dist/{location-detail-EK2S7WOK.js → location-detail-2NCZD5MO.js} +19 -19
- package/dist/{location-fulfillment-providers-YQAUTEWK.js → location-fulfillment-providers-3XKOFATD.js} +21 -21
- package/dist/{location-list-IV323QW2.js → location-list-VS6V2FXE.js} +16 -16
- package/dist/{location-sales-channels-EYUXMTW7.js → location-sales-channels-TEUZYDTT.js} +2 -2
- package/dist/{location-service-zone-shipping-option-create-36JZFRGY.js → location-service-zone-shipping-option-create-LAM3OHBC.js} +19 -19
- package/dist/{location-service-zone-shipping-option-pricing-JLGCOZGS.js → location-service-zone-shipping-option-pricing-POBJOF3Z.js} +7 -7
- package/dist/{login-6L3RMREO.js → login-DJWU5X5L.js} +16 -16
- package/dist/{manage-locations-CFTM6DNH.js → manage-locations-E2XQPKKE.js} +1 -1
- package/dist/{marketplace-detail-BAU2MEJT.js → marketplace-detail-IQLU7R3J.js} +19 -19
- package/dist/{marketplace-metadata-KRCGKOCA.js → marketplace-metadata-7DNBHUDD.js} +18 -18
- package/dist/{offers-566UJ2JF.js → offers-UJCSO3RD.js} +3 -3
- package/dist/{order-allocate-items-DJ2V4B7A.js → order-allocate-items-TMVWJUV3.js} +3 -3
- package/dist/{order-create-claim-RMDDCUZ6.js → order-create-claim-MPSXY24H.js} +8 -8
- package/dist/{order-create-edit-PQ54JFZZ.js → order-create-edit-6JLXERBY.js} +4 -4
- package/dist/{order-create-exchange-T6DBVS75.js → order-create-exchange-O6COEAGJ.js} +22 -22
- package/dist/{order-create-fulfillment-SMSUJSBN.js → order-create-fulfillment-Y4HQ5YRS.js} +17 -17
- package/dist/{order-create-refund-OW3MIXBY.js → order-create-refund-TCNCSOMX.js} +20 -20
- package/dist/{order-create-return-YCX6C3VP.js → order-create-return-EVSD6GKE.js} +4 -4
- package/dist/{order-create-shipment-5ZAWH5CZ.js → order-create-shipment-EWOJJXEM.js} +17 -17
- package/dist/{order-detail-2OAEGBQG.js → order-detail-BOW62X75.js} +28 -28
- package/dist/{order-edit-billing-address-VGZBQHF5.js → order-edit-billing-address-5ZBOWDWQ.js} +18 -18
- package/dist/{order-edit-email-OOCXVRET.js → order-edit-email-DQJW2SAM.js} +17 -17
- package/dist/{order-edit-shipping-address-B4F3E5RE.js → order-edit-shipping-address-RIML4XFQ.js} +17 -17
- package/dist/{order-list-M6F7PKVN.js → order-list-U5DZYLJK.js} +7 -7
- package/dist/{order-metadata-AN6MPHHT.js → order-metadata-WGZUETFN.js} +17 -17
- package/dist/{order-receive-return-DZ4IUOHY.js → order-receive-return-MDUU4L4X.js} +18 -18
- package/dist/{order-request-transfer-A2NJSQ4H.js → order-request-transfer-QFUMEZPD.js} +17 -17
- package/dist/pages/index.d.ts +35 -288
- package/dist/pages/index.js +162 -162
- package/dist/{price-list-configuration-XAHXLCXR.js → price-list-configuration-O3MR5IUA.js} +2 -2
- package/dist/{price-list-create-CZAQLDSW.js → price-list-create-J4AJG42T.js} +25 -25
- package/dist/{price-list-detail-6VXW6O5I.js → price-list-detail-D2ETNZ5N.js} +23 -23
- package/dist/{price-list-edit-ZVLD4M5T.js → price-list-edit-OJAYEUYO.js} +2 -2
- package/dist/{price-list-list-ER4TOZTY.js → price-list-list-ARICU2NA.js} +4 -4
- package/dist/{price-list-prices-add-FQI7EF6V.js → price-list-prices-add-FQLQ5DPX.js} +24 -24
- package/dist/{price-list-prices-edit-WHCIGSB2.js → price-list-prices-edit-4HBSUC5W.js} +18 -18
- package/dist/{product-add-existing-attributes-QKIGOAE2.js → product-add-existing-attributes-IHCIKDIH.js} +18 -18
- package/dist/{product-attributes-MHRXZK5S.js → product-attributes-ZURXNZ3J.js} +2 -2
- package/dist/{product-brand-detail-WYALM342.js → product-brand-detail-O7UKYV4H.js} +22 -22
- package/dist/{product-brand-metadata-EAMW6PQJ.js → product-brand-metadata-N2CJ5K3Z.js} +16 -16
- package/dist/{product-bulk-edit-J6ZP7GGM.js → product-bulk-edit-LHCPVFUX.js} +5 -7
- package/dist/{product-create-ZVQOFCJA.js → product-create-BQXFDMEP.js} +24 -24
- package/dist/{product-create-attribute-ZT3VZDNZ.js → product-create-attribute-UBWABT2Q.js} +2 -2
- package/dist/product-create-variant-MVYZPDO7.js +20 -0
- package/dist/{product-detail-N6W4M6TC.js → product-detail-I57XSYLB.js} +19 -20
- package/dist/{product-edit-EKAZRIJ6.js → product-edit-EDW3D2KW.js} +2 -4
- package/dist/{product-list-VWBUTMXT.js → product-list-PR532XII.js} +23 -23
- package/dist/{product-media-KREKRDOC.js → product-media-J3VTWOU4.js} +5 -5
- package/dist/{product-metadata-O3BAEUYB.js → product-metadata-T2D4GEIP.js} +17 -17
- package/dist/{product-organization-SBQY44IF.js → product-organization-D6UMZAUE.js} +4 -4
- package/dist/{product-sales-channels-TFOGXCMI.js → product-sales-channels-NTT6KMSD.js} +3 -3
- package/dist/{product-shipping-profile-E4HJ4EYW.js → product-shipping-profile-WM7LORFB.js} +2 -2
- package/dist/{product-tag-create-7JBM6I3V.js → product-tag-create-47G425O2.js} +16 -16
- package/dist/{product-tag-detail-KSJ45MJU.js → product-tag-detail-VNGOBWYE.js} +32 -32
- package/dist/{product-tag-edit-O2ADFDD6.js → product-tag-edit-DN7IVL75.js} +16 -16
- package/dist/{product-tag-list-NQPPUWZG.js → product-tag-list-ZGRJZT2U.js} +32 -32
- package/dist/{product-tag-metadata-SBOUTUXY.js → product-tag-metadata-YLDBRJMI.js} +16 -16
- package/dist/{product-type-detail-L2ASZ4GW.js → product-type-detail-MPONGCVO.js} +23 -23
- package/dist/{product-type-metadata-KN5OXR6J.js → product-type-metadata-TDAER7JD.js} +17 -17
- package/dist/{product-variant-detail-H2YRFDAU.js → product-variant-detail-5BF6JTHV.js} +21 -30
- package/dist/{product-variant-edit-T267E4SW.js → product-variant-edit-2RHFG2CZ.js} +167 -257
- package/dist/{product-variant-metadata-QESZ7VS2.js → product-variant-metadata-G2LLH7YK.js} +16 -16
- package/dist/{promotion-create-TGC6BVWF.js → promotion-create-G3M4UJX2.js} +21 -21
- package/dist/{promotion-detail-VYIXZMMD.js → promotion-detail-4EHU6FKF.js} +19 -19
- package/dist/{promotion-list-C3SKV5BJ.js → promotion-list-AFBLWKTJ.js} +4 -4
- package/dist/{refund-reason-create-2KEQFOID.js → refund-reason-create-6RPQHIJI.js} +16 -16
- package/dist/{refund-reason-edit-E7CB7SM3.js → refund-reason-edit-W2TVZB3N.js} +16 -16
- package/dist/{refund-reason-list-PAWAU6KN.js → refund-reason-list-TS6JWYS4.js} +27 -27
- package/dist/{region-metadata-723RQGHS.js → region-metadata-TNSJDCBM.js} +19 -19
- package/dist/{reservation-create-Y3HG4AZA.js → reservation-create-2TDZAX5A.js} +2 -2
- package/dist/{reservation-detail-HQMADZ56.js → reservation-detail-KFOVTTFH.js} +18 -18
- package/dist/{reservation-list-YKC3JJ6K.js → reservation-list-K4RPXJTO.js} +3 -3
- package/dist/{reservation-metadata-UG4YTEMY.js → reservation-metadata-HBFAVVPW.js} +17 -17
- package/dist/{reset-password-2VNU52CE.js → reset-password-3NYZNQPK.js} +1 -1
- package/dist/{return-reason-list-YH3HHTLJ.js → return-reason-list-WBLPUYD4.js} +14 -14
- package/dist/{sales-channel-add-products-IOS5FT56.js → sales-channel-add-products-IHGDKRKH.js} +21 -21
- package/dist/{sales-channel-create-BSNCLZWR.js → sales-channel-create-MPZCRQBT.js} +2 -2
- package/dist/{sales-channel-detail-6T4M2IEH.js → sales-channel-detail-QCFO7VUA.js} +22 -22
- package/dist/{sales-channel-edit-FUDXMZYV.js → sales-channel-edit-GILK4QK3.js} +2 -2
- package/dist/{sales-channel-list-GYLGH4U7.js → sales-channel-list-YNHR5EHL.js} +17 -17
- package/dist/{sales-channel-metadata-H6RSHKVP.js → sales-channel-metadata-OEQVWJRQ.js} +16 -16
- package/dist/{shipping-option-type-create-QAOW7753.js → shipping-option-type-create-SMXDCF6I.js} +16 -16
- package/dist/{shipping-option-type-detail-QGWVDTDU.js → shipping-option-type-detail-MO3YRUVR.js} +18 -18
- package/dist/{shipping-option-type-edit-WXYBDRNY.js → shipping-option-type-edit-KO64TZS6.js} +16 -16
- package/dist/{shipping-option-type-list-YSWP6DSC.js → shipping-option-type-list-6C26GWDM.js} +18 -18
- package/dist/{shipping-profile-metadata-UE53IA3J.js → shipping-profile-metadata-FLTMLAZN.js} +16 -16
- package/dist/{store-bulk-edit-AMSI34AW.js → store-bulk-edit-LW6ABDJK.js} +2 -2
- package/dist/{store-create-WNFRHXWR.js → store-create-STR6YNFJ.js} +19 -19
- package/dist/{store-details-4KYA642K.js → store-details-3U4OEFWC.js} +27 -41
- package/dist/{store-edit-GWHK5PX5.js → store-edit-KRBR5MGV.js} +6 -6
- package/dist/{store-list-SUFT46IY.js → store-list-PJ3U254I.js} +23 -23
- package/dist/{store-member-invite-MUSU7EQ7.js → store-member-invite-AKH3KHMF.js} +1 -1
- package/dist/{tax-region-create-3KVECMFN.js → tax-region-create-NEKIT7TT.js} +17 -17
- package/dist/{tax-region-detail-AOT4X4DZ.js → tax-region-detail-LVN5XSN5.js} +18 -18
- package/dist/{tax-region-edit-5T7VHKIA.js → tax-region-edit-4PJV5F5X.js} +16 -16
- package/dist/{tax-region-metadata-RSZCJGJT.js → tax-region-metadata-EYRFMJLL.js} +16 -16
- package/dist/{tax-region-province-detail-XEMIX5SQ.js → tax-region-province-detail-MTHKW7LW.js} +18 -18
- package/dist/{tax-region-tax-override-create-74C24OCP.js → tax-region-tax-override-create-OGW3MPBD.js} +31 -31
- package/dist/{tax-region-tax-override-edit-KSQI4ITI.js → tax-region-tax-override-edit-LTZCYN4Y.js} +33 -33
- package/dist/{user-detail-W7DGVXDZ.js → user-detail-2OTVNTCL.js} +1 -1
- package/dist/{user-metadata-3AFZX3DM.js → user-metadata-GIR3A7WO.js} +16 -16
- package/package.json +2 -2
- package/dist/chunk-IEPNHH7Z.js +0 -170
- package/dist/chunk-QSGR43JM.js +0 -30
- package/dist/chunk-RAWXS763.js +0 -652
- package/dist/chunk-RQ4NMLSS.js +0 -8
- package/dist/chunk-U7XILJH6.js +0 -423
- package/dist/product-create-option-NIAP75EE.js +0 -130
- package/dist/product-create-variant-KKOMOEDX.js +0 -60
- package/dist/product-edit-option-OZUZGMIM.js +0 -166
- package/dist/product-prices-R5JOHVGS.js +0 -267
- package/dist/product-stock-EIP2XJUR.js +0 -545
- package/dist/product-variant-manage-inventory-items-Q5MJG3EJ.js +0 -337
- package/dist/{chunk-WVKVPGJW.js → chunk-FNKBJCNF.js} +3 -3
- package/dist/{chunk-RQPDD3RI.js → chunk-NUC27ELX.js} +3 -3
- package/dist/{promotion-add-campaign-O3RTMS3W.js → promotion-add-campaign-S3JJSFHT.js} +2 -2
package/dist/index.js
CHANGED
|
@@ -8,9 +8,6 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
InfiniteList
|
|
10
10
|
} from "./chunk-WMA3WTCM.js";
|
|
11
|
-
import {
|
|
12
|
-
ProgressBar
|
|
13
|
-
} from "./chunk-QSGR43JM.js";
|
|
14
11
|
import "./chunk-FMFVTERD.js";
|
|
15
12
|
import "./chunk-JRTZWK77.js";
|
|
16
13
|
import "./chunk-FQERBIVS.js";
|
|
@@ -26,7 +23,7 @@ import {
|
|
|
26
23
|
} from "./chunk-4KX6CBJ4.js";
|
|
27
24
|
import {
|
|
28
25
|
I18n
|
|
29
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QFE4AEQJ.js";
|
|
30
27
|
import {
|
|
31
28
|
TabbedForm,
|
|
32
29
|
defineTabMeta,
|
|
@@ -47,7 +44,7 @@ import {
|
|
|
47
44
|
import {
|
|
48
45
|
PRODUCT_DETAIL_FIELDS,
|
|
49
46
|
PRODUCT_DETAIL_QUERY
|
|
50
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-GVEF6UDT.js";
|
|
51
48
|
import {
|
|
52
49
|
Thumbnail
|
|
53
50
|
} from "./chunk-WIYFXWRI.js";
|
|
@@ -60,65 +57,65 @@ import {
|
|
|
60
57
|
notificationQueryKeys,
|
|
61
58
|
useNotifications,
|
|
62
59
|
useProductTags
|
|
63
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-46A3QXAL.js";
|
|
64
61
|
import {
|
|
65
62
|
useLogout
|
|
66
63
|
} from "./chunk-OH4AABUT.js";
|
|
67
64
|
import "./chunk-AEMDNTW5.js";
|
|
68
65
|
import "./chunk-LYD3C73Z.js";
|
|
69
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-ZZ3XFIEM.js";
|
|
67
|
+
import "./chunk-4RT7P5ZQ.js";
|
|
68
|
+
import "./chunk-533GMKEG.js";
|
|
70
69
|
import {
|
|
71
70
|
useProductTypes
|
|
72
71
|
} from "./chunk-46M463BR.js";
|
|
73
|
-
import "./chunk-ZZ3XFIEM.js";
|
|
74
|
-
import "./chunk-533GMKEG.js";
|
|
75
72
|
import "./chunk-YFRC6GEN.js";
|
|
73
|
+
import "./chunk-JPNPTILP.js";
|
|
76
74
|
import "./chunk-DAXXLQKB.js";
|
|
77
75
|
import "./chunk-OHOWEMHO.js";
|
|
78
|
-
import "./chunk-JPNPTILP.js";
|
|
79
76
|
import {
|
|
80
77
|
useMe
|
|
81
78
|
} from "./chunk-GKGLVDDV.js";
|
|
79
|
+
import "./chunk-ESPLVOFC.js";
|
|
82
80
|
import "./chunk-N6SI4IIT.js";
|
|
83
81
|
import "./chunk-WJJXUXSO.js";
|
|
84
82
|
import "./chunk-LAPEZATU.js";
|
|
83
|
+
import {
|
|
84
|
+
useCollections
|
|
85
|
+
} from "./chunk-2ZRWLCYP.js";
|
|
85
86
|
import {
|
|
86
87
|
usePriceLists
|
|
87
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-E5WBU7ZR.js";
|
|
88
89
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
useStore
|
|
91
|
+
} from "./chunk-FXWKGNRV.js";
|
|
92
|
+
import "./chunk-VDKOJ5WD.js";
|
|
91
93
|
import {
|
|
92
94
|
useCampaigns,
|
|
93
95
|
usePromotions
|
|
94
96
|
} from "./chunk-ZN7LWXVC.js";
|
|
95
|
-
import "./chunk-VYMODH6P.js";
|
|
96
|
-
import {
|
|
97
|
-
useSellers
|
|
98
|
-
} from "./chunk-LEG67A2R.js";
|
|
99
|
-
import {
|
|
100
|
-
useCustomers
|
|
101
|
-
} from "./chunk-PRBE5CM3.js";
|
|
102
97
|
import "./chunk-5TRY5IMZ.js";
|
|
103
98
|
import {
|
|
104
99
|
useStockLocations
|
|
105
100
|
} from "./chunk-EPHVGD5Z.js";
|
|
106
101
|
import {
|
|
107
102
|
useOrders
|
|
108
|
-
} from "./chunk-
|
|
109
|
-
import "./chunk-
|
|
110
|
-
import "./chunk-
|
|
103
|
+
} from "./chunk-N3BYBEDV.js";
|
|
104
|
+
import "./chunk-ZB4SO44T.js";
|
|
105
|
+
import "./chunk-VYMODH6P.js";
|
|
111
106
|
import {
|
|
112
|
-
|
|
113
|
-
} from "./chunk-
|
|
114
|
-
import
|
|
107
|
+
useSellers
|
|
108
|
+
} from "./chunk-LEG67A2R.js";
|
|
109
|
+
import {
|
|
110
|
+
useCustomers
|
|
111
|
+
} from "./chunk-PRBE5CM3.js";
|
|
115
112
|
import {
|
|
116
113
|
ActionMenu
|
|
117
114
|
} from "./chunk-BDGZ4EQO.js";
|
|
118
|
-
import "./chunk-
|
|
115
|
+
import "./chunk-FEC24V7X.js";
|
|
119
116
|
import {
|
|
120
117
|
useProductCategories
|
|
121
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-EB5QHYKL.js";
|
|
122
119
|
import {
|
|
123
120
|
ConditionalTooltip
|
|
124
121
|
} from "./chunk-LAVHRER2.js";
|
|
@@ -131,7 +128,7 @@ import {
|
|
|
131
128
|
import {
|
|
132
129
|
useInventoryItems,
|
|
133
130
|
useProducts
|
|
134
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-ZRFWXNT3.js";
|
|
135
132
|
import {
|
|
136
133
|
queryClient
|
|
137
134
|
} from "./chunk-RHKRREUU.js";
|
|
@@ -1760,6 +1757,33 @@ import {
|
|
|
1760
1757
|
useNavigation
|
|
1761
1758
|
} from "react-router-dom";
|
|
1762
1759
|
|
|
1760
|
+
// src/components/common/progress-bar/progress-bar.tsx
|
|
1761
|
+
import { motion } from "motion/react";
|
|
1762
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
1763
|
+
var ProgressBar = ({ duration = 2 }) => {
|
|
1764
|
+
return /* @__PURE__ */ jsx8(
|
|
1765
|
+
motion.div,
|
|
1766
|
+
{
|
|
1767
|
+
className: "bg-ui-fg-subtle size-full",
|
|
1768
|
+
initial: {
|
|
1769
|
+
width: "0%"
|
|
1770
|
+
},
|
|
1771
|
+
transition: {
|
|
1772
|
+
delay: 0.2,
|
|
1773
|
+
duration,
|
|
1774
|
+
ease: "linear"
|
|
1775
|
+
},
|
|
1776
|
+
animate: {
|
|
1777
|
+
width: "90%"
|
|
1778
|
+
},
|
|
1779
|
+
exit: {
|
|
1780
|
+
width: "100%",
|
|
1781
|
+
transition: { duration: 0.2, ease: "linear" }
|
|
1782
|
+
}
|
|
1783
|
+
}
|
|
1784
|
+
);
|
|
1785
|
+
};
|
|
1786
|
+
|
|
1763
1787
|
// src/components/layout/notifications/notifications.tsx
|
|
1764
1788
|
import {
|
|
1765
1789
|
BellAlert,
|
|
@@ -1774,7 +1798,7 @@ import { useTranslation as useTranslation5 } from "react-i18next";
|
|
|
1774
1798
|
// src/components/common/file-preview/file-preview.tsx
|
|
1775
1799
|
import { ArrowDownTray, Spinner as Spinner3 } from "@medusajs/icons";
|
|
1776
1800
|
import { IconButton as IconButton2, Text as Text3 } from "@medusajs/ui";
|
|
1777
|
-
import { jsx as
|
|
1801
|
+
import { jsx as jsx9, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
1778
1802
|
var FilePreview = ({
|
|
1779
1803
|
filename,
|
|
1780
1804
|
url,
|
|
@@ -1783,11 +1807,11 @@ var FilePreview = ({
|
|
|
1783
1807
|
actions,
|
|
1784
1808
|
hideThumbnail
|
|
1785
1809
|
}) => {
|
|
1786
|
-
return /* @__PURE__ */
|
|
1810
|
+
return /* @__PURE__ */ jsx9("div", { className: "shadow-elevation-card-rest bg-ui-bg-component transition-fg rounded-md px-3 py-2", children: /* @__PURE__ */ jsxs4("div", { className: "flex flex-row items-center justify-between gap-2", children: [
|
|
1787
1811
|
/* @__PURE__ */ jsxs4("div", { className: "flex flex-row items-center gap-3", children: [
|
|
1788
|
-
!hideThumbnail && /* @__PURE__ */
|
|
1812
|
+
!hideThumbnail && /* @__PURE__ */ jsx9(FileThumbnail, {}),
|
|
1789
1813
|
/* @__PURE__ */ jsxs4("div", { className: "flex flex-col justify-center", children: [
|
|
1790
|
-
/* @__PURE__ */
|
|
1814
|
+
/* @__PURE__ */ jsx9(
|
|
1791
1815
|
Text3,
|
|
1792
1816
|
{
|
|
1793
1817
|
size: "small",
|
|
@@ -1796,7 +1820,7 @@ var FilePreview = ({
|
|
|
1796
1820
|
children: filename
|
|
1797
1821
|
}
|
|
1798
1822
|
),
|
|
1799
|
-
loading && !!activity && /* @__PURE__ */
|
|
1823
|
+
loading && !!activity && /* @__PURE__ */ jsx9(
|
|
1800
1824
|
Text3,
|
|
1801
1825
|
{
|
|
1802
1826
|
leading: "compact",
|
|
@@ -1807,9 +1831,9 @@ var FilePreview = ({
|
|
|
1807
1831
|
)
|
|
1808
1832
|
] })
|
|
1809
1833
|
] }),
|
|
1810
|
-
loading && /* @__PURE__ */
|
|
1811
|
-
!loading && actions && /* @__PURE__ */
|
|
1812
|
-
!loading && url && /* @__PURE__ */
|
|
1834
|
+
loading && /* @__PURE__ */ jsx9(Spinner3, { className: "animate-spin" }),
|
|
1835
|
+
!loading && actions && /* @__PURE__ */ jsx9(ActionMenu, { groups: actions }),
|
|
1836
|
+
!loading && url && /* @__PURE__ */ jsx9(IconButton2, { variant: "transparent", asChild: true, children: /* @__PURE__ */ jsx9("a", { href: url, download: filename ?? `${Date.now()}`, children: /* @__PURE__ */ jsx9(ArrowDownTray, {}) }) })
|
|
1813
1837
|
] }) });
|
|
1814
1838
|
};
|
|
1815
1839
|
var FileThumbnail = () => {
|
|
@@ -1822,7 +1846,7 @@ var FileThumbnail = () => {
|
|
|
1822
1846
|
fill: "none",
|
|
1823
1847
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1824
1848
|
children: [
|
|
1825
|
-
/* @__PURE__ */
|
|
1849
|
+
/* @__PURE__ */ jsx9(
|
|
1826
1850
|
"path",
|
|
1827
1851
|
{
|
|
1828
1852
|
d: "M20 31.75H4C1.92893 31.75 0.25 30.0711 0.25 28V4C0.25 1.92893 1.92893 0.25 4 0.25H15.9431C16.9377 0.25 17.8915 0.645088 18.5948 1.34835L22.6516 5.4052C23.3549 6.10847 23.75 7.06229 23.75 8.05685V28C23.75 30.0711 22.0711 31.75 20 31.75Z",
|
|
@@ -1831,7 +1855,7 @@ var FileThumbnail = () => {
|
|
|
1831
1855
|
"stroke-width": "0.5"
|
|
1832
1856
|
}
|
|
1833
1857
|
),
|
|
1834
|
-
/* @__PURE__ */
|
|
1858
|
+
/* @__PURE__ */ jsx9(
|
|
1835
1859
|
"path",
|
|
1836
1860
|
{
|
|
1837
1861
|
opacity: "0.4",
|
|
@@ -1852,8 +1876,8 @@ var FileThumbnail = () => {
|
|
|
1852
1876
|
y2: "32",
|
|
1853
1877
|
gradientUnits: "userSpaceOnUse",
|
|
1854
1878
|
children: [
|
|
1855
|
-
/* @__PURE__ */
|
|
1856
|
-
/* @__PURE__ */
|
|
1879
|
+
/* @__PURE__ */ jsx9("stop", { "stop-color": "#F4F4F5" }),
|
|
1880
|
+
/* @__PURE__ */ jsx9("stop", { offset: "1", "stop-color": "#E4E4E7" })
|
|
1857
1881
|
]
|
|
1858
1882
|
}
|
|
1859
1883
|
),
|
|
@@ -1867,8 +1891,8 @@ var FileThumbnail = () => {
|
|
|
1867
1891
|
y2: "32",
|
|
1868
1892
|
gradientUnits: "userSpaceOnUse",
|
|
1869
1893
|
children: [
|
|
1870
|
-
/* @__PURE__ */
|
|
1871
|
-
/* @__PURE__ */
|
|
1894
|
+
/* @__PURE__ */ jsx9("stop", { "stop-color": "#E4E4E7" }),
|
|
1895
|
+
/* @__PURE__ */ jsx9("stop", { offset: "1", "stop-color": "#D4D4D8" })
|
|
1872
1896
|
]
|
|
1873
1897
|
}
|
|
1874
1898
|
),
|
|
@@ -1882,8 +1906,8 @@ var FileThumbnail = () => {
|
|
|
1882
1906
|
y2: "21.25",
|
|
1883
1907
|
gradientUnits: "userSpaceOnUse",
|
|
1884
1908
|
children: [
|
|
1885
|
-
/* @__PURE__ */
|
|
1886
|
-
/* @__PURE__ */
|
|
1909
|
+
/* @__PURE__ */ jsx9("stop", { "stop-color": "#52525B" }),
|
|
1910
|
+
/* @__PURE__ */ jsx9("stop", { offset: "1", "stop-color": "#A1A1AA" })
|
|
1887
1911
|
]
|
|
1888
1912
|
}
|
|
1889
1913
|
),
|
|
@@ -1897,8 +1921,8 @@ var FileThumbnail = () => {
|
|
|
1897
1921
|
y2: "21.25",
|
|
1898
1922
|
gradientUnits: "userSpaceOnUse",
|
|
1899
1923
|
children: [
|
|
1900
|
-
/* @__PURE__ */
|
|
1901
|
-
/* @__PURE__ */
|
|
1924
|
+
/* @__PURE__ */ jsx9("stop", { "stop-color": "#18181B" }),
|
|
1925
|
+
/* @__PURE__ */ jsx9("stop", { offset: "1", "stop-color": "#52525B" })
|
|
1902
1926
|
]
|
|
1903
1927
|
}
|
|
1904
1928
|
)
|
|
@@ -1909,7 +1933,7 @@ var FileThumbnail = () => {
|
|
|
1909
1933
|
};
|
|
1910
1934
|
|
|
1911
1935
|
// src/components/layout/notifications/notifications.tsx
|
|
1912
|
-
import { Fragment as Fragment2, jsx as
|
|
1936
|
+
import { Fragment as Fragment2, jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
1913
1937
|
var LAST_READ_NOTIFICATION_KEY = "notificationsLastReadAt";
|
|
1914
1938
|
var Notifications = () => {
|
|
1915
1939
|
const { t: t2 } = useTranslation5();
|
|
@@ -1949,20 +1973,20 @@ var Notifications = () => {
|
|
|
1949
1973
|
onOpenChange: handleOnOpen,
|
|
1950
1974
|
"data-testid": "notifications-drawer",
|
|
1951
1975
|
children: [
|
|
1952
|
-
/* @__PURE__ */
|
|
1976
|
+
/* @__PURE__ */ jsx10(Drawer.Trigger, { asChild: true, children: /* @__PURE__ */ jsx10(
|
|
1953
1977
|
IconButton3,
|
|
1954
1978
|
{
|
|
1955
1979
|
variant: "transparent",
|
|
1956
1980
|
size: "small",
|
|
1957
1981
|
className: "text-ui-fg-muted hover:text-ui-fg-subtle",
|
|
1958
1982
|
"data-testid": "notifications-trigger-button",
|
|
1959
|
-
children: hasUnread ? /* @__PURE__ */
|
|
1983
|
+
children: hasUnread ? /* @__PURE__ */ jsx10(BellAlertDone, { "data-testid": "notifications-icon-unread" }) : /* @__PURE__ */ jsx10(BellAlert, { "data-testid": "notifications-icon" })
|
|
1960
1984
|
}
|
|
1961
1985
|
) }),
|
|
1962
1986
|
/* @__PURE__ */ jsxs5(Drawer.Content, { "data-testid": "notifications-content", children: [
|
|
1963
1987
|
/* @__PURE__ */ jsxs5(Drawer.Header, { "data-testid": "notifications-header", children: [
|
|
1964
|
-
/* @__PURE__ */
|
|
1965
|
-
/* @__PURE__ */
|
|
1988
|
+
/* @__PURE__ */ jsx10(Drawer.Title, { asChild: true, children: /* @__PURE__ */ jsx10(Heading, { "data-testid": "notifications-title", children: t2("notifications.domain") }) }),
|
|
1989
|
+
/* @__PURE__ */ jsx10(
|
|
1966
1990
|
Drawer.Description,
|
|
1967
1991
|
{
|
|
1968
1992
|
className: "sr-only",
|
|
@@ -1971,12 +1995,12 @@ var Notifications = () => {
|
|
|
1971
1995
|
}
|
|
1972
1996
|
)
|
|
1973
1997
|
] }),
|
|
1974
|
-
/* @__PURE__ */
|
|
1998
|
+
/* @__PURE__ */ jsx10(
|
|
1975
1999
|
Drawer.Body,
|
|
1976
2000
|
{
|
|
1977
2001
|
className: "overflow-y-auto px-0",
|
|
1978
2002
|
"data-testid": "notifications-body",
|
|
1979
|
-
children: /* @__PURE__ */
|
|
2003
|
+
children: /* @__PURE__ */ jsx10("div", { "data-testid": "notifications-list", children: /* @__PURE__ */ jsx10(
|
|
1980
2004
|
InfiniteList,
|
|
1981
2005
|
{
|
|
1982
2006
|
responseKey: "notifications",
|
|
@@ -1985,9 +2009,9 @@ var Notifications = () => {
|
|
|
1985
2009
|
...params
|
|
1986
2010
|
}),
|
|
1987
2011
|
queryOptions: { enabled: open },
|
|
1988
|
-
renderEmpty: () => /* @__PURE__ */
|
|
2012
|
+
renderEmpty: () => /* @__PURE__ */ jsx10(NotificationsEmptyState, { t: t2 }),
|
|
1989
2013
|
renderItem: (notification) => {
|
|
1990
|
-
return /* @__PURE__ */
|
|
2014
|
+
return /* @__PURE__ */ jsx10(
|
|
1991
2015
|
Notification,
|
|
1992
2016
|
{
|
|
1993
2017
|
notification,
|
|
@@ -2013,18 +2037,18 @@ var Notification = ({
|
|
|
2013
2037
|
if (!data?.title) {
|
|
2014
2038
|
return null;
|
|
2015
2039
|
}
|
|
2016
|
-
return /* @__PURE__ */
|
|
2040
|
+
return /* @__PURE__ */ jsx10(Fragment2, { children: /* @__PURE__ */ jsxs5(
|
|
2017
2041
|
"div",
|
|
2018
2042
|
{
|
|
2019
2043
|
className: "relative flex items-start justify-center gap-3 border-b p-6",
|
|
2020
2044
|
"data-testid": `notification-${notification.id}`,
|
|
2021
2045
|
children: [
|
|
2022
|
-
/* @__PURE__ */
|
|
2046
|
+
/* @__PURE__ */ jsx10(
|
|
2023
2047
|
"div",
|
|
2024
2048
|
{
|
|
2025
2049
|
className: "text-ui-fg-muted flex size-5 items-center justify-center",
|
|
2026
2050
|
"data-testid": `notification-${notification.id}-icon`,
|
|
2027
|
-
children: /* @__PURE__ */
|
|
2051
|
+
children: /* @__PURE__ */ jsx10(InformationCircleSolid, {})
|
|
2028
2052
|
}
|
|
2029
2053
|
),
|
|
2030
2054
|
/* @__PURE__ */ jsxs5(
|
|
@@ -2040,7 +2064,7 @@ var Notification = ({
|
|
|
2040
2064
|
"data-testid": `notification-${notification.id}-header`,
|
|
2041
2065
|
children: [
|
|
2042
2066
|
/* @__PURE__ */ jsxs5("div", { className: "flex items-center justify-between", children: [
|
|
2043
|
-
/* @__PURE__ */
|
|
2067
|
+
/* @__PURE__ */ jsx10(
|
|
2044
2068
|
Text4,
|
|
2045
2069
|
{
|
|
2046
2070
|
size: "small",
|
|
@@ -2056,7 +2080,7 @@ var Notification = ({
|
|
|
2056
2080
|
className: "align-center flex items-center justify-center gap-2",
|
|
2057
2081
|
"data-testid": `notification-${notification.id}-meta`,
|
|
2058
2082
|
children: [
|
|
2059
|
-
/* @__PURE__ */
|
|
2083
|
+
/* @__PURE__ */ jsx10(
|
|
2060
2084
|
Text4,
|
|
2061
2085
|
{
|
|
2062
2086
|
as: "span",
|
|
@@ -2072,7 +2096,7 @@ var Notification = ({
|
|
|
2072
2096
|
})
|
|
2073
2097
|
}
|
|
2074
2098
|
),
|
|
2075
|
-
unread && /* @__PURE__ */
|
|
2099
|
+
unread && /* @__PURE__ */ jsx10(
|
|
2076
2100
|
"div",
|
|
2077
2101
|
{
|
|
2078
2102
|
className: "bg-ui-bg-interactive h-2 w-2 rounded",
|
|
@@ -2084,7 +2108,7 @@ var Notification = ({
|
|
|
2084
2108
|
}
|
|
2085
2109
|
)
|
|
2086
2110
|
] }),
|
|
2087
|
-
!!data.description && /* @__PURE__ */
|
|
2111
|
+
!!data.description && /* @__PURE__ */ jsx10(
|
|
2088
2112
|
Text4,
|
|
2089
2113
|
{
|
|
2090
2114
|
className: "text-ui-fg-subtle whitespace-pre-line",
|
|
@@ -2096,7 +2120,7 @@ var Notification = ({
|
|
|
2096
2120
|
]
|
|
2097
2121
|
}
|
|
2098
2122
|
),
|
|
2099
|
-
!!data?.file?.url && /* @__PURE__ */
|
|
2123
|
+
!!data?.file?.url && /* @__PURE__ */ jsx10(
|
|
2100
2124
|
FilePreview,
|
|
2101
2125
|
{
|
|
2102
2126
|
filename: data.file.filename ?? "",
|
|
@@ -2119,8 +2143,8 @@ var NotificationsEmptyState = ({ t: t2 }) => {
|
|
|
2119
2143
|
className: "flex h-full flex-col items-center justify-center",
|
|
2120
2144
|
"data-testid": "notifications-empty-state",
|
|
2121
2145
|
children: [
|
|
2122
|
-
/* @__PURE__ */
|
|
2123
|
-
/* @__PURE__ */
|
|
2146
|
+
/* @__PURE__ */ jsx10(BellAlertDone, { "data-testid": "notifications-empty-icon" }),
|
|
2147
|
+
/* @__PURE__ */ jsx10(
|
|
2124
2148
|
Text4,
|
|
2125
2149
|
{
|
|
2126
2150
|
size: "small",
|
|
@@ -2131,7 +2155,7 @@ var NotificationsEmptyState = ({ t: t2 }) => {
|
|
|
2131
2155
|
children: t2("notifications.emptyState.title")
|
|
2132
2156
|
}
|
|
2133
2157
|
),
|
|
2134
|
-
/* @__PURE__ */
|
|
2158
|
+
/* @__PURE__ */ jsx10(
|
|
2135
2159
|
Text4,
|
|
2136
2160
|
{
|
|
2137
2161
|
size: "small",
|
|
@@ -2166,20 +2190,20 @@ var useUnreadNotifications = () => {
|
|
|
2166
2190
|
};
|
|
2167
2191
|
|
|
2168
2192
|
// src/components/layout/shell/shell.tsx
|
|
2169
|
-
import { jsx as
|
|
2193
|
+
import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
2170
2194
|
var Shell = ({ children }) => {
|
|
2171
2195
|
const globalShortcuts = useGlobalShortcuts();
|
|
2172
2196
|
const navigation = useNavigation();
|
|
2173
2197
|
const loading = navigation.state === "loading";
|
|
2174
|
-
return /* @__PURE__ */
|
|
2175
|
-
/* @__PURE__ */
|
|
2198
|
+
return /* @__PURE__ */ jsx11(KeybindProvider, { shortcuts: globalShortcuts, children: /* @__PURE__ */ jsxs6("div", { className: "relative flex h-screen flex-col items-start overflow-hidden lg:flex-row", children: [
|
|
2199
|
+
/* @__PURE__ */ jsx11(NavigationBar, { loading }),
|
|
2176
2200
|
/* @__PURE__ */ jsxs6("div", { children: [
|
|
2177
|
-
/* @__PURE__ */
|
|
2178
|
-
/* @__PURE__ */
|
|
2201
|
+
/* @__PURE__ */ jsx11(MobileSidebarContainer, { children }),
|
|
2202
|
+
/* @__PURE__ */ jsx11(DesktopSidebarContainer, { children })
|
|
2179
2203
|
] }),
|
|
2180
2204
|
/* @__PURE__ */ jsxs6("div", { className: "flex h-screen w-full flex-col overflow-auto", children: [
|
|
2181
|
-
/* @__PURE__ */
|
|
2182
|
-
/* @__PURE__ */
|
|
2205
|
+
/* @__PURE__ */ jsx11(Topbar, {}),
|
|
2206
|
+
/* @__PURE__ */ jsx11(
|
|
2183
2207
|
"main",
|
|
2184
2208
|
{
|
|
2185
2209
|
className: clx4(
|
|
@@ -2188,7 +2212,7 @@ var Shell = ({ children }) => {
|
|
|
2188
2212
|
"opacity-25": loading
|
|
2189
2213
|
}
|
|
2190
2214
|
),
|
|
2191
|
-
children: /* @__PURE__ */
|
|
2215
|
+
children: /* @__PURE__ */ jsx11(Gutter, { children: /* @__PURE__ */ jsx11(Outlet2, {}) })
|
|
2192
2216
|
}
|
|
2193
2217
|
)
|
|
2194
2218
|
] })
|
|
@@ -2209,10 +2233,10 @@ var NavigationBar = ({ loading }) => {
|
|
|
2209
2233
|
clearTimeout(timeout);
|
|
2210
2234
|
};
|
|
2211
2235
|
}, [loading]);
|
|
2212
|
-
return /* @__PURE__ */
|
|
2236
|
+
return /* @__PURE__ */ jsx11("div", { className: "fixed inset-x-0 top-0 z-50 h-1", children: /* @__PURE__ */ jsx11(AnimatePresence, { children: showBar ? /* @__PURE__ */ jsx11(ProgressBar, {}) : null }) });
|
|
2213
2237
|
};
|
|
2214
2238
|
var Gutter = ({ children }) => {
|
|
2215
|
-
return /* @__PURE__ */
|
|
2239
|
+
return /* @__PURE__ */ jsx11("div", { className: "flex w-full max-w-[1600px] flex-col gap-y-2 p-3", children });
|
|
2216
2240
|
};
|
|
2217
2241
|
var Breadcrumbs = () => {
|
|
2218
2242
|
const matches = useMatches();
|
|
@@ -2231,7 +2255,7 @@ var Breadcrumbs = () => {
|
|
|
2231
2255
|
path: match.pathname
|
|
2232
2256
|
};
|
|
2233
2257
|
}).filter(Boolean);
|
|
2234
|
-
return /* @__PURE__ */
|
|
2258
|
+
return /* @__PURE__ */ jsx11(
|
|
2235
2259
|
"ol",
|
|
2236
2260
|
{
|
|
2237
2261
|
className: clx4(
|
|
@@ -2241,7 +2265,7 @@ var Breadcrumbs = () => {
|
|
|
2241
2265
|
const isLast = index === crumbs.length - 1;
|
|
2242
2266
|
const isSingle = crumbs.length === 1;
|
|
2243
2267
|
return /* @__PURE__ */ jsxs6("li", { className: clx4("flex items-center"), children: [
|
|
2244
|
-
!isLast ? /* @__PURE__ */
|
|
2268
|
+
!isLast ? /* @__PURE__ */ jsx11(
|
|
2245
2269
|
Link,
|
|
2246
2270
|
{
|
|
2247
2271
|
className: "transition-fg hover:text-ui-fg-subtle",
|
|
@@ -2249,8 +2273,8 @@ var Breadcrumbs = () => {
|
|
|
2249
2273
|
children: crumb.label
|
|
2250
2274
|
}
|
|
2251
2275
|
) : /* @__PURE__ */ jsxs6("div", { children: [
|
|
2252
|
-
!isSingle && /* @__PURE__ */
|
|
2253
|
-
/* @__PURE__ */
|
|
2276
|
+
!isSingle && /* @__PURE__ */ jsx11("span", { className: "block lg:hidden", children: "..." }),
|
|
2277
|
+
/* @__PURE__ */ jsx11(
|
|
2254
2278
|
"span",
|
|
2255
2279
|
{
|
|
2256
2280
|
className: clx4({
|
|
@@ -2261,7 +2285,7 @@ var Breadcrumbs = () => {
|
|
|
2261
2285
|
index
|
|
2262
2286
|
)
|
|
2263
2287
|
] }),
|
|
2264
|
-
!isLast && /* @__PURE__ */
|
|
2288
|
+
!isLast && /* @__PURE__ */ jsx11("span", { className: "mx-2", children: /* @__PURE__ */ jsx11(TriangleRightMini, { className: "rtl:rotate-180" }) })
|
|
2265
2289
|
] }, index);
|
|
2266
2290
|
})
|
|
2267
2291
|
}
|
|
@@ -2270,24 +2294,24 @@ var Breadcrumbs = () => {
|
|
|
2270
2294
|
var ToggleSidebar = () => {
|
|
2271
2295
|
const { toggle } = useSidebar();
|
|
2272
2296
|
return /* @__PURE__ */ jsxs6("div", { children: [
|
|
2273
|
-
/* @__PURE__ */
|
|
2297
|
+
/* @__PURE__ */ jsx11(
|
|
2274
2298
|
IconButton4,
|
|
2275
2299
|
{
|
|
2276
2300
|
className: "hidden lg:flex",
|
|
2277
2301
|
variant: "transparent",
|
|
2278
2302
|
onClick: () => toggle("desktop"),
|
|
2279
2303
|
size: "small",
|
|
2280
|
-
children: /* @__PURE__ */
|
|
2304
|
+
children: /* @__PURE__ */ jsx11(SidebarLeft, { className: "text-ui-fg-muted rtl:rotate-180" })
|
|
2281
2305
|
}
|
|
2282
2306
|
),
|
|
2283
|
-
/* @__PURE__ */
|
|
2307
|
+
/* @__PURE__ */ jsx11(
|
|
2284
2308
|
IconButton4,
|
|
2285
2309
|
{
|
|
2286
2310
|
className: "hidden max-lg:flex",
|
|
2287
2311
|
variant: "transparent",
|
|
2288
2312
|
onClick: () => toggle("mobile"),
|
|
2289
2313
|
size: "small",
|
|
2290
|
-
children: /* @__PURE__ */
|
|
2314
|
+
children: /* @__PURE__ */ jsx11(SidebarLeft, { className: "text-ui-fg-muted rtl:rotate-180" })
|
|
2291
2315
|
}
|
|
2292
2316
|
)
|
|
2293
2317
|
] });
|
|
@@ -2295,15 +2319,15 @@ var ToggleSidebar = () => {
|
|
|
2295
2319
|
var Topbar = () => {
|
|
2296
2320
|
return /* @__PURE__ */ jsxs6("div", { className: "grid w-full grid-cols-2 border-b p-3", children: [
|
|
2297
2321
|
/* @__PURE__ */ jsxs6("div", { className: "flex items-center gap-x-1.5", children: [
|
|
2298
|
-
/* @__PURE__ */
|
|
2299
|
-
/* @__PURE__ */
|
|
2322
|
+
/* @__PURE__ */ jsx11(ToggleSidebar, {}),
|
|
2323
|
+
/* @__PURE__ */ jsx11(Breadcrumbs, {})
|
|
2300
2324
|
] }),
|
|
2301
|
-
/* @__PURE__ */
|
|
2325
|
+
/* @__PURE__ */ jsx11("div", { className: "flex items-center justify-end gap-x-3", children: /* @__PURE__ */ jsx11(Notifications, {}) })
|
|
2302
2326
|
] });
|
|
2303
2327
|
};
|
|
2304
2328
|
var DesktopSidebarContainer = ({ children }) => {
|
|
2305
2329
|
const { desktop } = useSidebar();
|
|
2306
|
-
return /* @__PURE__ */
|
|
2330
|
+
return /* @__PURE__ */ jsx11(
|
|
2307
2331
|
"div",
|
|
2308
2332
|
{
|
|
2309
2333
|
className: clx4("hidden h-screen w-[220px] border-e", {
|
|
@@ -2316,8 +2340,8 @@ var DesktopSidebarContainer = ({ children }) => {
|
|
|
2316
2340
|
var MobileSidebarContainer = ({ children }) => {
|
|
2317
2341
|
const { t: t2 } = useTranslation6();
|
|
2318
2342
|
const { mobile, toggle } = useSidebar();
|
|
2319
|
-
return /* @__PURE__ */
|
|
2320
|
-
/* @__PURE__ */
|
|
2343
|
+
return /* @__PURE__ */ jsx11(RadixDialog2.Root, { open: mobile, onOpenChange: () => toggle("mobile"), children: /* @__PURE__ */ jsxs6(RadixDialog2.Portal, { children: [
|
|
2344
|
+
/* @__PURE__ */ jsx11(
|
|
2321
2345
|
RadixDialog2.Overlay,
|
|
2322
2346
|
{
|
|
2323
2347
|
className: clx4(
|
|
@@ -2335,17 +2359,17 @@ var MobileSidebarContainer = ({ children }) => {
|
|
|
2335
2359
|
),
|
|
2336
2360
|
children: [
|
|
2337
2361
|
/* @__PURE__ */ jsxs6("div", { className: "p-3", children: [
|
|
2338
|
-
/* @__PURE__ */
|
|
2362
|
+
/* @__PURE__ */ jsx11(RadixDialog2.Close, { asChild: true, children: /* @__PURE__ */ jsx11(
|
|
2339
2363
|
IconButton4,
|
|
2340
2364
|
{
|
|
2341
2365
|
size: "small",
|
|
2342
2366
|
variant: "transparent",
|
|
2343
2367
|
className: "text-ui-fg-subtle",
|
|
2344
|
-
children: /* @__PURE__ */
|
|
2368
|
+
children: /* @__PURE__ */ jsx11(XMark, {})
|
|
2345
2369
|
}
|
|
2346
2370
|
) }),
|
|
2347
|
-
/* @__PURE__ */
|
|
2348
|
-
/* @__PURE__ */
|
|
2371
|
+
/* @__PURE__ */ jsx11(RadixDialog2.Title, { className: "sr-only", children: t2("app.nav.accessibility.title") }),
|
|
2372
|
+
/* @__PURE__ */ jsx11(RadixDialog2.Description, { className: "sr-only", children: t2("app.nav.accessibility.description") })
|
|
2349
2373
|
] }),
|
|
2350
2374
|
children
|
|
2351
2375
|
]
|
|
@@ -2379,7 +2403,7 @@ import { Dialog as RadixDialog3 } from "radix-ui";
|
|
|
2379
2403
|
import { useTranslation as useTranslation7 } from "react-i18next";
|
|
2380
2404
|
import { useState as useState11 } from "react";
|
|
2381
2405
|
import { Link as Link2, useLocation as useLocation5, useNavigate as useNavigate3 } from "react-router-dom";
|
|
2382
|
-
import { jsx as
|
|
2406
|
+
import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
2383
2407
|
var UserMenu = () => {
|
|
2384
2408
|
const { t: t2 } = useTranslation7();
|
|
2385
2409
|
const location = useLocation5();
|
|
@@ -2392,34 +2416,34 @@ var UserMenu = () => {
|
|
|
2392
2416
|
};
|
|
2393
2417
|
return /* @__PURE__ */ jsxs7("div", { "data-testid": "sidebar-user-menu", children: [
|
|
2394
2418
|
/* @__PURE__ */ jsxs7(DropdownMenu2, { dir: direction, open: openMenu, onOpenChange: setOpenMenu, "data-testid": "sidebar-user-menu-dropdown", children: [
|
|
2395
|
-
/* @__PURE__ */
|
|
2419
|
+
/* @__PURE__ */ jsx12(UserBadge, {}),
|
|
2396
2420
|
/* @__PURE__ */ jsxs7(DropdownMenu2.Content, { className: "min-w-[var(--radix-dropdown-menu-trigger-width)] max-w-[var(--radix-dropdown-menu-trigger-width)]", "data-testid": "sidebar-user-menu-content", children: [
|
|
2397
|
-
/* @__PURE__ */
|
|
2398
|
-
/* @__PURE__ */
|
|
2399
|
-
/* @__PURE__ */
|
|
2400
|
-
/* @__PURE__ */
|
|
2421
|
+
/* @__PURE__ */ jsx12(UserItem, {}),
|
|
2422
|
+
/* @__PURE__ */ jsx12(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-1" }),
|
|
2423
|
+
/* @__PURE__ */ jsx12(DropdownMenu2.Item, { asChild: true, "data-testid": "sidebar-user-menu-profile-settings", children: /* @__PURE__ */ jsxs7(Link2, { to: "/settings/profile", state: { from: location.pathname }, children: [
|
|
2424
|
+
/* @__PURE__ */ jsx12(UserIcon, { className: "text-ui-fg-subtle me-2" }),
|
|
2401
2425
|
t2("app.menus.user.profileSettings")
|
|
2402
2426
|
] }) }),
|
|
2403
|
-
/* @__PURE__ */
|
|
2404
|
-
/* @__PURE__ */
|
|
2405
|
-
/* @__PURE__ */
|
|
2427
|
+
/* @__PURE__ */ jsx12(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-2" }),
|
|
2428
|
+
/* @__PURE__ */ jsx12(DropdownMenu2.Item, { asChild: true, "data-testid": "sidebar-user-menu-documentation", children: /* @__PURE__ */ jsxs7(Link2, { to: "https://docs.mercurjs.com/welcome", target: "_blank", children: [
|
|
2429
|
+
/* @__PURE__ */ jsx12(BookOpen, { className: "text-ui-fg-subtle me-2" }),
|
|
2406
2430
|
t2("app.menus.user.documentation")
|
|
2407
2431
|
] }) }),
|
|
2408
|
-
/* @__PURE__ */
|
|
2409
|
-
/* @__PURE__ */
|
|
2432
|
+
/* @__PURE__ */ jsx12(DropdownMenu2.Item, { asChild: true, "data-testid": "sidebar-user-menu-changelog", children: /* @__PURE__ */ jsxs7(Link2, { to: "https://www.mercurjs.com/updates", target: "_blank", children: [
|
|
2433
|
+
/* @__PURE__ */ jsx12(TimelineVertical, { className: "text-ui-fg-subtle me-2" }),
|
|
2410
2434
|
t2("app.menus.user.changelog")
|
|
2411
2435
|
] }) }),
|
|
2412
|
-
/* @__PURE__ */
|
|
2436
|
+
/* @__PURE__ */ jsx12(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-3" }),
|
|
2413
2437
|
/* @__PURE__ */ jsxs7(DropdownMenu2.Item, { onClick: toggleModal, "data-testid": "sidebar-user-menu-shortcuts", children: [
|
|
2414
|
-
/* @__PURE__ */
|
|
2438
|
+
/* @__PURE__ */ jsx12(Keyboard, { className: "text-ui-fg-subtle me-2" }),
|
|
2415
2439
|
t2("app.menus.user.shortcuts")
|
|
2416
2440
|
] }),
|
|
2417
|
-
/* @__PURE__ */
|
|
2418
|
-
/* @__PURE__ */
|
|
2419
|
-
/* @__PURE__ */
|
|
2441
|
+
/* @__PURE__ */ jsx12(ThemeToggle, {}),
|
|
2442
|
+
/* @__PURE__ */ jsx12(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-4" }),
|
|
2443
|
+
/* @__PURE__ */ jsx12(Logout, {})
|
|
2420
2444
|
] })
|
|
2421
2445
|
] }),
|
|
2422
|
-
/* @__PURE__ */
|
|
2446
|
+
/* @__PURE__ */ jsx12(GlobalKeybindsModal, { open: openModal, onOpenChange: setOpenModal })
|
|
2423
2447
|
] });
|
|
2424
2448
|
};
|
|
2425
2449
|
var UserBadge = () => {
|
|
@@ -2429,14 +2453,14 @@ var UserBadge = () => {
|
|
|
2429
2453
|
const fallback = displayName ? displayName[0].toUpperCase() : null;
|
|
2430
2454
|
if (isPending) {
|
|
2431
2455
|
return /* @__PURE__ */ jsxs7("button", { className: "shadow-borders-base flex max-w-[192px] select-none items-center gap-x-2 overflow-hidden text-ellipsis whitespace-nowrap rounded-full py-1 ps-1 pe-2.5", children: [
|
|
2432
|
-
/* @__PURE__ */
|
|
2433
|
-
/* @__PURE__ */
|
|
2456
|
+
/* @__PURE__ */ jsx12(Skeleton, { className: "h-5 w-5 rounded-full" }),
|
|
2457
|
+
/* @__PURE__ */ jsx12(Skeleton, { className: "h-[9px] w-[70px]" })
|
|
2434
2458
|
] });
|
|
2435
2459
|
}
|
|
2436
2460
|
if (isError) {
|
|
2437
2461
|
throw error;
|
|
2438
2462
|
}
|
|
2439
|
-
return /* @__PURE__ */
|
|
2463
|
+
return /* @__PURE__ */ jsx12("div", { className: "p-3", "data-testid": "sidebar-user-menu-badge", children: /* @__PURE__ */ jsxs7(
|
|
2440
2464
|
DropdownMenu2.Trigger,
|
|
2441
2465
|
{
|
|
2442
2466
|
disabled: !user,
|
|
@@ -2448,8 +2472,8 @@ var UserBadge = () => {
|
|
|
2448
2472
|
),
|
|
2449
2473
|
"data-testid": "sidebar-user-menu-trigger",
|
|
2450
2474
|
children: [
|
|
2451
|
-
/* @__PURE__ */
|
|
2452
|
-
/* @__PURE__ */
|
|
2475
|
+
/* @__PURE__ */ jsx12("div", { className: "flex size-6 items-center justify-center", "data-testid": "sidebar-user-menu-avatar-container", children: fallback ? /* @__PURE__ */ jsx12(Avatar, { size: "xsmall", fallback, "data-testid": "sidebar-user-menu-avatar" }) : /* @__PURE__ */ jsx12(Skeleton, { className: "h-6 w-6 rounded-full" }) }),
|
|
2476
|
+
/* @__PURE__ */ jsx12("div", { className: "flex items-center overflow-hidden", "data-testid": "sidebar-user-menu-name-container", children: displayName ? /* @__PURE__ */ jsx12(
|
|
2453
2477
|
Text5,
|
|
2454
2478
|
{
|
|
2455
2479
|
size: "xsmall",
|
|
@@ -2459,8 +2483,8 @@ var UserBadge = () => {
|
|
|
2459
2483
|
"data-testid": "sidebar-user-menu-name",
|
|
2460
2484
|
children: displayName
|
|
2461
2485
|
}
|
|
2462
|
-
) : /* @__PURE__ */
|
|
2463
|
-
/* @__PURE__ */
|
|
2486
|
+
) : /* @__PURE__ */ jsx12(Skeleton, { className: "h-[9px] w-[70px]" }) }),
|
|
2487
|
+
/* @__PURE__ */ jsx12(EllipsisHorizontal, { className: "text-ui-fg-muted" })
|
|
2464
2488
|
]
|
|
2465
2489
|
}
|
|
2466
2490
|
) });
|
|
@@ -2470,11 +2494,11 @@ var ThemeToggle = () => {
|
|
|
2470
2494
|
const { theme, setTheme } = useTheme();
|
|
2471
2495
|
return /* @__PURE__ */ jsxs7(DropdownMenu2.SubMenu, { "data-testid": "sidebar-user-menu-theme-toggle", children: [
|
|
2472
2496
|
/* @__PURE__ */ jsxs7(DropdownMenu2.SubMenuTrigger, { dir: "ltr", className: "rounded-md rtl:rotate-180", "data-testid": "sidebar-user-menu-theme-trigger", children: [
|
|
2473
|
-
/* @__PURE__ */
|
|
2474
|
-
/* @__PURE__ */
|
|
2497
|
+
/* @__PURE__ */ jsx12(CircleHalfSolid, { className: "text-ui-fg-subtle me-2" }),
|
|
2498
|
+
/* @__PURE__ */ jsx12("span", { className: "rtl:rotate-180", children: t2("app.menus.user.theme.label") })
|
|
2475
2499
|
] }),
|
|
2476
|
-
/* @__PURE__ */
|
|
2477
|
-
/* @__PURE__ */
|
|
2500
|
+
/* @__PURE__ */ jsx12(DropdownMenu2.SubMenuContent, { "data-testid": "sidebar-user-menu-theme-content", children: /* @__PURE__ */ jsxs7(DropdownMenu2.RadioGroup, { value: theme, "data-testid": "sidebar-user-menu-theme-radio-group", children: [
|
|
2501
|
+
/* @__PURE__ */ jsx12(
|
|
2478
2502
|
DropdownMenu2.RadioItem,
|
|
2479
2503
|
{
|
|
2480
2504
|
value: "system",
|
|
@@ -2486,7 +2510,7 @@ var ThemeToggle = () => {
|
|
|
2486
2510
|
children: t2("app.menus.user.theme.system")
|
|
2487
2511
|
}
|
|
2488
2512
|
),
|
|
2489
|
-
/* @__PURE__ */
|
|
2513
|
+
/* @__PURE__ */ jsx12(
|
|
2490
2514
|
DropdownMenu2.RadioItem,
|
|
2491
2515
|
{
|
|
2492
2516
|
value: "light",
|
|
@@ -2498,7 +2522,7 @@ var ThemeToggle = () => {
|
|
|
2498
2522
|
children: t2("app.menus.user.theme.light")
|
|
2499
2523
|
}
|
|
2500
2524
|
),
|
|
2501
|
-
/* @__PURE__ */
|
|
2525
|
+
/* @__PURE__ */ jsx12(
|
|
2502
2526
|
DropdownMenu2.RadioItem,
|
|
2503
2527
|
{
|
|
2504
2528
|
value: "dark",
|
|
@@ -2525,9 +2549,9 @@ var Logout = () => {
|
|
|
2525
2549
|
}
|
|
2526
2550
|
});
|
|
2527
2551
|
};
|
|
2528
|
-
return /* @__PURE__ */
|
|
2529
|
-
/* @__PURE__ */
|
|
2530
|
-
/* @__PURE__ */
|
|
2552
|
+
return /* @__PURE__ */ jsx12(DropdownMenu2.Item, { onClick: handleLogout, "data-testid": "sidebar-user-menu-logout", children: /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-2", children: [
|
|
2553
|
+
/* @__PURE__ */ jsx12(OpenRectArrowOut, { className: "text-ui-fg-subtle" }),
|
|
2554
|
+
/* @__PURE__ */ jsx12("span", { children: t2("app.menus.actions.logout") })
|
|
2531
2555
|
] }) });
|
|
2532
2556
|
};
|
|
2533
2557
|
var GlobalKeybindsModal = (props) => {
|
|
@@ -2537,21 +2561,21 @@ var GlobalKeybindsModal = (props) => {
|
|
|
2537
2561
|
const searchResults = searchValue ? globalShortcuts.filter((shortcut) => {
|
|
2538
2562
|
return shortcut.label.toLowerCase().includes(searchValue?.toLowerCase());
|
|
2539
2563
|
}) : globalShortcuts;
|
|
2540
|
-
return /* @__PURE__ */
|
|
2541
|
-
/* @__PURE__ */
|
|
2564
|
+
return /* @__PURE__ */ jsx12(RadixDialog3.Root, { ...props, "data-testid": "shortcuts-modal", children: /* @__PURE__ */ jsxs7(RadixDialog3.Portal, { children: [
|
|
2565
|
+
/* @__PURE__ */ jsx12(RadixDialog3.Overlay, { className: "bg-ui-bg-overlay fixed inset-0", "data-testid": "shortcuts-modal-overlay" }),
|
|
2542
2566
|
/* @__PURE__ */ jsxs7(RadixDialog3.Content, { className: "bg-ui-bg-subtle shadow-elevation-modal fixed left-[50%] top-[50%] flex h-full max-h-[612px] w-full max-w-[560px] translate-x-[-50%] translate-y-[-50%] flex-col divide-y overflow-hidden rounded-lg", "data-testid": "shortcuts-modal-content", children: [
|
|
2543
2567
|
/* @__PURE__ */ jsxs7("div", { className: "flex flex-col gap-y-3 px-6 py-4", "data-testid": "shortcuts-modal-header", children: [
|
|
2544
2568
|
/* @__PURE__ */ jsxs7("div", { className: "flex items-center justify-between", "data-testid": "shortcuts-modal-header-top", children: [
|
|
2545
2569
|
/* @__PURE__ */ jsxs7("div", { "data-testid": "shortcuts-modal-title-container", children: [
|
|
2546
|
-
/* @__PURE__ */
|
|
2547
|
-
/* @__PURE__ */
|
|
2570
|
+
/* @__PURE__ */ jsx12(RadixDialog3.Title, { asChild: true, children: /* @__PURE__ */ jsx12(Heading2, { "data-testid": "shortcuts-modal-title", children: t2("app.menus.user.shortcuts") }) }),
|
|
2571
|
+
/* @__PURE__ */ jsx12(RadixDialog3.Description, { className: "sr-only", "data-testid": "shortcuts-modal-description" })
|
|
2548
2572
|
] }),
|
|
2549
2573
|
/* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-2", "data-testid": "shortcuts-modal-close-container", children: [
|
|
2550
|
-
/* @__PURE__ */
|
|
2551
|
-
/* @__PURE__ */
|
|
2574
|
+
/* @__PURE__ */ jsx12(Kbd3, { "data-testid": "shortcuts-modal-close-hint", children: "esc" }),
|
|
2575
|
+
/* @__PURE__ */ jsx12(RadixDialog3.Close, { asChild: true, children: /* @__PURE__ */ jsx12(IconButton5, { variant: "transparent", size: "small", "data-testid": "shortcuts-modal-close-button", children: /* @__PURE__ */ jsx12(XMark2, {}) }) })
|
|
2552
2576
|
] })
|
|
2553
2577
|
] }),
|
|
2554
|
-
/* @__PURE__ */
|
|
2578
|
+
/* @__PURE__ */ jsx12("div", { "data-testid": "shortcuts-modal-search-container", children: /* @__PURE__ */ jsx12(
|
|
2555
2579
|
Input,
|
|
2556
2580
|
{
|
|
2557
2581
|
type: "search",
|
|
@@ -2561,18 +2585,18 @@ var GlobalKeybindsModal = (props) => {
|
|
|
2561
2585
|
}
|
|
2562
2586
|
) })
|
|
2563
2587
|
] }),
|
|
2564
|
-
/* @__PURE__ */
|
|
2588
|
+
/* @__PURE__ */ jsx12("div", { className: "flex flex-col divide-y overflow-y-auto", "data-testid": "shortcuts-modal-list", children: searchResults.map((shortcut, index) => {
|
|
2565
2589
|
return /* @__PURE__ */ jsxs7(
|
|
2566
2590
|
"div",
|
|
2567
2591
|
{
|
|
2568
2592
|
className: "text-ui-fg-subtle flex items-center justify-between px-6 py-3",
|
|
2569
2593
|
"data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}`,
|
|
2570
2594
|
children: [
|
|
2571
|
-
/* @__PURE__ */
|
|
2572
|
-
/* @__PURE__ */
|
|
2595
|
+
/* @__PURE__ */ jsx12(Text5, { size: "small", "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-label`, children: shortcut.label }),
|
|
2596
|
+
/* @__PURE__ */ jsx12("div", { className: "flex items-center gap-x-1", "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-keys`, children: shortcut.keys.Mac?.map((key, index2) => {
|
|
2573
2597
|
return /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-1", "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-key-${index2}`, children: [
|
|
2574
|
-
/* @__PURE__ */
|
|
2575
|
-
index2 < (shortcut.keys.Mac?.length || 0) - 1 && /* @__PURE__ */
|
|
2598
|
+
/* @__PURE__ */ jsx12(Kbd3, { "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-kbd-${index2}`, children: key }),
|
|
2599
|
+
index2 < (shortcut.keys.Mac?.length || 0) - 1 && /* @__PURE__ */ jsx12("span", { className: "txt-compact-xsmall text-ui-fg-subtle", "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-separator-${index2}`, children: t2("app.keyboardShortcuts.then") })
|
|
2576
2600
|
] }, index2);
|
|
2577
2601
|
}) })
|
|
2578
2602
|
]
|
|
@@ -2587,7 +2611,7 @@ var UserItem = () => {
|
|
|
2587
2611
|
const { user, isPending, isError, error } = useMe();
|
|
2588
2612
|
const loaded = !isPending && !!user;
|
|
2589
2613
|
if (!loaded) {
|
|
2590
|
-
return /* @__PURE__ */
|
|
2614
|
+
return /* @__PURE__ */ jsx12("div", {});
|
|
2591
2615
|
}
|
|
2592
2616
|
const name = [user.first_name, user.last_name].filter(Boolean).join(" ");
|
|
2593
2617
|
const email = user.email;
|
|
@@ -2597,7 +2621,7 @@ var UserItem = () => {
|
|
|
2597
2621
|
throw error;
|
|
2598
2622
|
}
|
|
2599
2623
|
return /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-3 overflow-hidden px-2 py-1", "data-testid": "sidebar-user-menu-item", children: [
|
|
2600
|
-
/* @__PURE__ */
|
|
2624
|
+
/* @__PURE__ */ jsx12(
|
|
2601
2625
|
Avatar,
|
|
2602
2626
|
{
|
|
2603
2627
|
size: "small",
|
|
@@ -2608,7 +2632,7 @@ var UserItem = () => {
|
|
|
2608
2632
|
}
|
|
2609
2633
|
),
|
|
2610
2634
|
/* @__PURE__ */ jsxs7("div", { className: "block w-full min-w-0 max-w-[187px] overflow-hidden whitespace-nowrap", "data-testid": "sidebar-user-menu-item-details", children: [
|
|
2611
|
-
/* @__PURE__ */
|
|
2635
|
+
/* @__PURE__ */ jsx12(
|
|
2612
2636
|
Text5,
|
|
2613
2637
|
{
|
|
2614
2638
|
size: "small",
|
|
@@ -2619,7 +2643,7 @@ var UserItem = () => {
|
|
|
2619
2643
|
children: name || email
|
|
2620
2644
|
}
|
|
2621
2645
|
),
|
|
2622
|
-
!!name && /* @__PURE__ */
|
|
2646
|
+
!!name && /* @__PURE__ */ jsx12(
|
|
2623
2647
|
Text5,
|
|
2624
2648
|
{
|
|
2625
2649
|
size: "xsmall",
|
|
@@ -2642,7 +2666,7 @@ import { ExclamationCircle } from "@medusajs/icons";
|
|
|
2642
2666
|
import { Text as Text6 } from "@medusajs/ui";
|
|
2643
2667
|
import { useTranslation as useTranslation8 } from "react-i18next";
|
|
2644
2668
|
import { Navigate as Navigate2, useLocation as useLocation6, useRouteError } from "react-router-dom";
|
|
2645
|
-
import { jsx as
|
|
2669
|
+
import { jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
2646
2670
|
var ErrorBoundary = () => {
|
|
2647
2671
|
const error = useRouteError();
|
|
2648
2672
|
const location = useLocation6();
|
|
@@ -2650,7 +2674,7 @@ var ErrorBoundary = () => {
|
|
|
2650
2674
|
let code = null;
|
|
2651
2675
|
if (isClientError(error)) {
|
|
2652
2676
|
if (error.status === 401) {
|
|
2653
|
-
return /* @__PURE__ */
|
|
2677
|
+
return /* @__PURE__ */ jsx13(Navigate2, { to: "/login", state: { from: location }, replace: true });
|
|
2654
2678
|
}
|
|
2655
2679
|
code = error.status ?? null;
|
|
2656
2680
|
}
|
|
@@ -2677,11 +2701,11 @@ var ErrorBoundary = () => {
|
|
|
2677
2701
|
message = t2("errorBoundary.defaultMessage");
|
|
2678
2702
|
break;
|
|
2679
2703
|
}
|
|
2680
|
-
return /* @__PURE__ */
|
|
2681
|
-
/* @__PURE__ */
|
|
2704
|
+
return /* @__PURE__ */ jsx13("div", { className: "flex size-full min-h-[calc(100vh-57px-24px)] items-center justify-center", children: /* @__PURE__ */ jsx13("div", { className: "flex flex-col gap-y-6", children: /* @__PURE__ */ jsxs8("div", { className: "text-ui-fg-subtle flex flex-col items-center gap-y-3", children: [
|
|
2705
|
+
/* @__PURE__ */ jsx13(ExclamationCircle, {}),
|
|
2682
2706
|
/* @__PURE__ */ jsxs8("div", { className: "flex flex-col items-center justify-center gap-y-1", children: [
|
|
2683
|
-
/* @__PURE__ */
|
|
2684
|
-
/* @__PURE__ */
|
|
2707
|
+
/* @__PURE__ */ jsx13(Text6, { size: "small", leading: "compact", weight: "plus", children: title }),
|
|
2708
|
+
/* @__PURE__ */ jsx13(
|
|
2685
2709
|
Text6,
|
|
2686
2710
|
{
|
|
2687
2711
|
size: "small",
|
|
@@ -2834,10 +2858,10 @@ var getNestedMenuItems = (menuItems, parentPath) => {
|
|
|
2834
2858
|
};
|
|
2835
2859
|
|
|
2836
2860
|
// src/components/layout/main-layout/main-layout.tsx
|
|
2837
|
-
import { jsx as
|
|
2861
|
+
import { jsx as jsx14, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
2838
2862
|
var MainLayout = () => {
|
|
2839
2863
|
const Sidebar = components.MainSidebar ? components.MainSidebar : MainSidebar;
|
|
2840
|
-
return /* @__PURE__ */
|
|
2864
|
+
return /* @__PURE__ */ jsx14(Shell, { children: /* @__PURE__ */ jsx14(Sidebar, {}) });
|
|
2841
2865
|
};
|
|
2842
2866
|
var allMenuItems = menuItemsModule.menuItems ?? [];
|
|
2843
2867
|
var addNestedItems = (to, items) => {
|
|
@@ -2862,11 +2886,11 @@ var MainSidebar = () => {
|
|
|
2862
2886
|
const customRoutesWithNested = customMenuItems.sort((a, b) => (a.rank ?? 0) - (b.rank ?? 0)).map((item) => ({
|
|
2863
2887
|
label: item.label,
|
|
2864
2888
|
to: item.path,
|
|
2865
|
-
icon: item.icon ? /* @__PURE__ */
|
|
2889
|
+
icon: item.icon ? /* @__PURE__ */ jsx14(item.icon, {}) : void 0,
|
|
2866
2890
|
translationNs: item.translationNs,
|
|
2867
2891
|
items: addNestedItems(item.path)
|
|
2868
2892
|
}));
|
|
2869
|
-
return /* @__PURE__ */
|
|
2893
|
+
return /* @__PURE__ */ jsx14(
|
|
2870
2894
|
"aside",
|
|
2871
2895
|
{
|
|
2872
2896
|
className: "flex flex-1 flex-col justify-between overflow-y-auto",
|
|
@@ -2878,34 +2902,34 @@ var MainSidebar = () => {
|
|
|
2878
2902
|
className: "sticky top-0 bg-ui-bg-subtle",
|
|
2879
2903
|
"data-testid": "sidebar-header-section",
|
|
2880
2904
|
children: [
|
|
2881
|
-
/* @__PURE__ */
|
|
2882
|
-
/* @__PURE__ */
|
|
2905
|
+
/* @__PURE__ */ jsx14(Header, {}),
|
|
2906
|
+
/* @__PURE__ */ jsx14("div", { className: "px-3", children: /* @__PURE__ */ jsx14(Divider, { variant: "dashed" }) })
|
|
2883
2907
|
]
|
|
2884
2908
|
}
|
|
2885
2909
|
),
|
|
2886
2910
|
/* @__PURE__ */ jsxs9("div", { className: "flex flex-1 flex-col justify-between", children: [
|
|
2887
|
-
/* @__PURE__ */
|
|
2911
|
+
/* @__PURE__ */ jsx14("div", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ jsxs9(
|
|
2888
2912
|
"nav",
|
|
2889
2913
|
{
|
|
2890
2914
|
className: "flex flex-col gap-y-1 py-3",
|
|
2891
2915
|
"data-testid": "sidebar-core-routes",
|
|
2892
2916
|
children: [
|
|
2893
|
-
/* @__PURE__ */
|
|
2917
|
+
/* @__PURE__ */ jsx14(Searchbar, {}),
|
|
2894
2918
|
routesWithNested.map((route) => {
|
|
2895
|
-
return /* @__PURE__ */
|
|
2919
|
+
return /* @__PURE__ */ jsx14(NavItem, { ...route }, route.to);
|
|
2896
2920
|
}),
|
|
2897
|
-
customRoutesWithNested.map((route) => /* @__PURE__ */
|
|
2921
|
+
customRoutesWithNested.map((route) => /* @__PURE__ */ jsx14(NavItem, { ...route }, route.to))
|
|
2898
2922
|
]
|
|
2899
2923
|
}
|
|
2900
2924
|
) }),
|
|
2901
|
-
/* @__PURE__ */
|
|
2925
|
+
/* @__PURE__ */ jsx14(UtilitySection, {})
|
|
2902
2926
|
] }),
|
|
2903
|
-
/* @__PURE__ */
|
|
2927
|
+
/* @__PURE__ */ jsx14(
|
|
2904
2928
|
"div",
|
|
2905
2929
|
{
|
|
2906
2930
|
className: "sticky bottom-0 bg-ui-bg-subtle",
|
|
2907
2931
|
"data-testid": "sidebar-user-section",
|
|
2908
|
-
children: /* @__PURE__ */
|
|
2932
|
+
children: /* @__PURE__ */ jsx14(UserSection, {})
|
|
2909
2933
|
}
|
|
2910
2934
|
)
|
|
2911
2935
|
] })
|
|
@@ -2924,14 +2948,14 @@ var Logout2 = () => {
|
|
|
2924
2948
|
}
|
|
2925
2949
|
});
|
|
2926
2950
|
};
|
|
2927
|
-
return /* @__PURE__ */
|
|
2951
|
+
return /* @__PURE__ */ jsx14(
|
|
2928
2952
|
DropdownMenu3.Item,
|
|
2929
2953
|
{
|
|
2930
2954
|
onClick: handleLogout,
|
|
2931
2955
|
"data-testid": "sidebar-header-dropdown-logout",
|
|
2932
2956
|
children: /* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-x-2", children: [
|
|
2933
|
-
/* @__PURE__ */
|
|
2934
|
-
/* @__PURE__ */
|
|
2957
|
+
/* @__PURE__ */ jsx14(OpenRectArrowOut2, { className: "text-ui-fg-subtle" }),
|
|
2958
|
+
/* @__PURE__ */ jsx14("span", { children: t2("app.menus.actions.logout") })
|
|
2935
2959
|
] })
|
|
2936
2960
|
}
|
|
2937
2961
|
);
|
|
@@ -2946,7 +2970,7 @@ var Header = () => {
|
|
|
2946
2970
|
if (isError) {
|
|
2947
2971
|
throw error;
|
|
2948
2972
|
}
|
|
2949
|
-
return /* @__PURE__ */
|
|
2973
|
+
return /* @__PURE__ */ jsx14("div", { className: "w-full p-3", "data-testid": "sidebar-header-dropdown", children: /* @__PURE__ */ jsxs9(DropdownMenu3, { dir: direction, "data-testid": "sidebar-header-dropdown-menu", children: [
|
|
2950
2974
|
/* @__PURE__ */ jsxs9(
|
|
2951
2975
|
DropdownMenu3.Trigger,
|
|
2952
2976
|
{
|
|
@@ -2959,7 +2983,7 @@ var Header = () => {
|
|
|
2959
2983
|
),
|
|
2960
2984
|
"data-testid": "sidebar-header-dropdown-trigger",
|
|
2961
2985
|
children: [
|
|
2962
|
-
fallback ? /* @__PURE__ */
|
|
2986
|
+
fallback ? /* @__PURE__ */ jsx14(
|
|
2963
2987
|
Avatar2,
|
|
2964
2988
|
{
|
|
2965
2989
|
variant: "squared",
|
|
@@ -2967,13 +2991,13 @@ var Header = () => {
|
|
|
2967
2991
|
fallback,
|
|
2968
2992
|
"data-testid": "sidebar-header-dropdown-avatar"
|
|
2969
2993
|
}
|
|
2970
|
-
) : /* @__PURE__ */
|
|
2971
|
-
/* @__PURE__ */
|
|
2994
|
+
) : /* @__PURE__ */ jsx14(Skeleton, { className: "h-6 w-6 rounded-md" }),
|
|
2995
|
+
/* @__PURE__ */ jsx14(
|
|
2972
2996
|
"div",
|
|
2973
2997
|
{
|
|
2974
2998
|
className: "block overflow-hidden text-start",
|
|
2975
2999
|
"data-testid": "sidebar-header-dropdown-store-name",
|
|
2976
|
-
children: name ? /* @__PURE__ */
|
|
3000
|
+
children: name ? /* @__PURE__ */ jsx14(
|
|
2977
3001
|
Text7,
|
|
2978
3002
|
{
|
|
2979
3003
|
size: "small",
|
|
@@ -2982,10 +3006,10 @@ var Header = () => {
|
|
|
2982
3006
|
className: "truncate",
|
|
2983
3007
|
children: store.name
|
|
2984
3008
|
}
|
|
2985
|
-
) : /* @__PURE__ */
|
|
3009
|
+
) : /* @__PURE__ */ jsx14(Skeleton, { className: "h-[9px] w-[120px]" })
|
|
2986
3010
|
}
|
|
2987
3011
|
),
|
|
2988
|
-
/* @__PURE__ */
|
|
3012
|
+
/* @__PURE__ */ jsx14(EllipsisHorizontal2, { className: "text-ui-fg-muted" })
|
|
2989
3013
|
]
|
|
2990
3014
|
}
|
|
2991
3015
|
),
|
|
@@ -3001,7 +3025,7 @@ var Header = () => {
|
|
|
3001
3025
|
className: "flex items-center gap-x-3 px-2 py-1",
|
|
3002
3026
|
"data-testid": "sidebar-header-dropdown-user-info",
|
|
3003
3027
|
children: [
|
|
3004
|
-
/* @__PURE__ */
|
|
3028
|
+
/* @__PURE__ */ jsx14(
|
|
3005
3029
|
Avatar2,
|
|
3006
3030
|
{
|
|
3007
3031
|
variant: "squared",
|
|
@@ -3016,7 +3040,7 @@ var Header = () => {
|
|
|
3016
3040
|
className: "flex flex-col overflow-hidden",
|
|
3017
3041
|
"data-testid": "sidebar-header-dropdown-user-details",
|
|
3018
3042
|
children: [
|
|
3019
|
-
/* @__PURE__ */
|
|
3043
|
+
/* @__PURE__ */ jsx14(
|
|
3020
3044
|
Text7,
|
|
3021
3045
|
{
|
|
3022
3046
|
size: "small",
|
|
@@ -3027,7 +3051,7 @@ var Header = () => {
|
|
|
3027
3051
|
children: name
|
|
3028
3052
|
}
|
|
3029
3053
|
),
|
|
3030
|
-
/* @__PURE__ */
|
|
3054
|
+
/* @__PURE__ */ jsx14(
|
|
3031
3055
|
Text7,
|
|
3032
3056
|
{
|
|
3033
3057
|
size: "xsmall",
|
|
@@ -3043,21 +3067,21 @@ var Header = () => {
|
|
|
3043
3067
|
]
|
|
3044
3068
|
}
|
|
3045
3069
|
),
|
|
3046
|
-
/* @__PURE__ */
|
|
3047
|
-
/* @__PURE__ */
|
|
3070
|
+
/* @__PURE__ */ jsx14(DropdownMenu3.Separator, { "data-testid": "sidebar-header-dropdown-separator-1" }),
|
|
3071
|
+
/* @__PURE__ */ jsx14(
|
|
3048
3072
|
DropdownMenu3.Item,
|
|
3049
3073
|
{
|
|
3050
3074
|
className: "gap-x-2",
|
|
3051
3075
|
asChild: true,
|
|
3052
3076
|
"data-testid": "sidebar-header-dropdown-store-settings",
|
|
3053
3077
|
children: /* @__PURE__ */ jsxs9(Link3, { to: "/settings/marketplace", children: [
|
|
3054
|
-
/* @__PURE__ */
|
|
3078
|
+
/* @__PURE__ */ jsx14(BuildingStorefront, { className: "text-ui-fg-subtle" }),
|
|
3055
3079
|
t2("app.nav.main.marketplaceSettings")
|
|
3056
3080
|
] })
|
|
3057
3081
|
}
|
|
3058
3082
|
),
|
|
3059
|
-
/* @__PURE__ */
|
|
3060
|
-
/* @__PURE__ */
|
|
3083
|
+
/* @__PURE__ */ jsx14(DropdownMenu3.Separator, { "data-testid": "sidebar-header-dropdown-separator-2" }),
|
|
3084
|
+
/* @__PURE__ */ jsx14(Logout2, {})
|
|
3061
3085
|
]
|
|
3062
3086
|
}
|
|
3063
3087
|
)
|
|
@@ -3067,7 +3091,7 @@ var useCoreRoutes = () => {
|
|
|
3067
3091
|
const { t: t2 } = useTranslation9();
|
|
3068
3092
|
return [
|
|
3069
3093
|
{
|
|
3070
|
-
icon: /* @__PURE__ */
|
|
3094
|
+
icon: /* @__PURE__ */ jsx14(ShoppingCart, {}),
|
|
3071
3095
|
label: t2("orders.domain"),
|
|
3072
3096
|
to: "/orders",
|
|
3073
3097
|
items: [
|
|
@@ -3079,7 +3103,7 @@ var useCoreRoutes = () => {
|
|
|
3079
3103
|
]
|
|
3080
3104
|
},
|
|
3081
3105
|
{
|
|
3082
|
-
icon: /* @__PURE__ */
|
|
3106
|
+
icon: /* @__PURE__ */ jsx14(Tag, {}),
|
|
3083
3107
|
label: t2("products.domain"),
|
|
3084
3108
|
to: "/products",
|
|
3085
3109
|
items: [
|
|
@@ -3103,7 +3127,7 @@ var useCoreRoutes = () => {
|
|
|
3103
3127
|
]
|
|
3104
3128
|
},
|
|
3105
3129
|
{
|
|
3106
|
-
icon: /* @__PURE__ */
|
|
3130
|
+
icon: /* @__PURE__ */ jsx14(Buildings, {}),
|
|
3107
3131
|
label: t2("inventory.domain"),
|
|
3108
3132
|
to: "/inventory",
|
|
3109
3133
|
items: [
|
|
@@ -3114,7 +3138,7 @@ var useCoreRoutes = () => {
|
|
|
3114
3138
|
]
|
|
3115
3139
|
},
|
|
3116
3140
|
{
|
|
3117
|
-
icon: /* @__PURE__ */
|
|
3141
|
+
icon: /* @__PURE__ */ jsx14(Users, {}),
|
|
3118
3142
|
label: t2("customers.domain"),
|
|
3119
3143
|
to: "/customers",
|
|
3120
3144
|
items: [
|
|
@@ -3125,7 +3149,7 @@ var useCoreRoutes = () => {
|
|
|
3125
3149
|
]
|
|
3126
3150
|
},
|
|
3127
3151
|
{
|
|
3128
|
-
icon: /* @__PURE__ */
|
|
3152
|
+
icon: /* @__PURE__ */ jsx14(ReceiptPercent, {}),
|
|
3129
3153
|
label: t2("promotions.domain"),
|
|
3130
3154
|
to: "/promotions",
|
|
3131
3155
|
items: [
|
|
@@ -3136,17 +3160,17 @@ var useCoreRoutes = () => {
|
|
|
3136
3160
|
]
|
|
3137
3161
|
},
|
|
3138
3162
|
{
|
|
3139
|
-
icon: /* @__PURE__ */
|
|
3163
|
+
icon: /* @__PURE__ */ jsx14(CurrencyDollar, {}),
|
|
3140
3164
|
label: t2("priceLists.domain"),
|
|
3141
3165
|
to: "/price-lists"
|
|
3142
3166
|
},
|
|
3143
3167
|
{
|
|
3144
|
-
icon: /* @__PURE__ */
|
|
3168
|
+
icon: /* @__PURE__ */ jsx14(BuildingStorefront, {}),
|
|
3145
3169
|
label: t2("stores.domain"),
|
|
3146
3170
|
to: "/stores"
|
|
3147
3171
|
},
|
|
3148
3172
|
{
|
|
3149
|
-
icon: /* @__PURE__ */
|
|
3173
|
+
icon: /* @__PURE__ */ jsx14(CreditCardRefresh, {}),
|
|
3150
3174
|
label: t2("payouts.domain"),
|
|
3151
3175
|
to: "/payouts"
|
|
3152
3176
|
}
|
|
@@ -3155,7 +3179,7 @@ var useCoreRoutes = () => {
|
|
|
3155
3179
|
var Searchbar = () => {
|
|
3156
3180
|
const { t: t2 } = useTranslation9();
|
|
3157
3181
|
const { toggleSearch } = useSearch();
|
|
3158
|
-
return /* @__PURE__ */
|
|
3182
|
+
return /* @__PURE__ */ jsx14("div", { className: "px-3", "data-testid": "sidebar-search", children: /* @__PURE__ */ jsxs9(
|
|
3159
3183
|
"button",
|
|
3160
3184
|
{
|
|
3161
3185
|
onClick: toggleSearch,
|
|
@@ -3166,9 +3190,9 @@ var Searchbar = () => {
|
|
|
3166
3190
|
),
|
|
3167
3191
|
"data-testid": "sidebar-search-button",
|
|
3168
3192
|
children: [
|
|
3169
|
-
/* @__PURE__ */
|
|
3170
|
-
/* @__PURE__ */
|
|
3171
|
-
/* @__PURE__ */
|
|
3193
|
+
/* @__PURE__ */ jsx14(MagnifyingGlass2, {}),
|
|
3194
|
+
/* @__PURE__ */ jsx14("div", { className: "flex-1 text-start", children: /* @__PURE__ */ jsx14(Text7, { size: "small", leading: "compact", weight: "plus", children: t2("app.search.label") }) }),
|
|
3195
|
+
/* @__PURE__ */ jsx14(Text7, { size: "small", leading: "compact", className: "text-ui-fg-muted", children: "\u2318K" })
|
|
3172
3196
|
]
|
|
3173
3197
|
}
|
|
3174
3198
|
) });
|
|
@@ -3176,28 +3200,28 @@ var Searchbar = () => {
|
|
|
3176
3200
|
var UtilitySection = () => {
|
|
3177
3201
|
const location = useLocation7();
|
|
3178
3202
|
const { t: t2 } = useTranslation9();
|
|
3179
|
-
return /* @__PURE__ */
|
|
3203
|
+
return /* @__PURE__ */ jsx14("div", { className: "flex flex-col gap-y-0.5 py-3", children: /* @__PURE__ */ jsx14(
|
|
3180
3204
|
NavItem,
|
|
3181
3205
|
{
|
|
3182
3206
|
label: t2("app.nav.settings.header"),
|
|
3183
3207
|
to: "/settings",
|
|
3184
3208
|
from: location.pathname,
|
|
3185
|
-
icon: /* @__PURE__ */
|
|
3209
|
+
icon: /* @__PURE__ */ jsx14(CogSixTooth, {})
|
|
3186
3210
|
}
|
|
3187
3211
|
) });
|
|
3188
3212
|
};
|
|
3189
3213
|
var UserSection = () => {
|
|
3190
3214
|
return /* @__PURE__ */ jsxs9("div", { children: [
|
|
3191
|
-
/* @__PURE__ */
|
|
3192
|
-
/* @__PURE__ */
|
|
3215
|
+
/* @__PURE__ */ jsx14("div", { className: "px-3", children: /* @__PURE__ */ jsx14(Divider, { variant: "dashed" }) }),
|
|
3216
|
+
/* @__PURE__ */ jsx14(UserMenu, {})
|
|
3193
3217
|
] });
|
|
3194
3218
|
};
|
|
3195
3219
|
|
|
3196
3220
|
// src/components/layout/public-layout/public-layout.tsx
|
|
3197
3221
|
import { Outlet as Outlet3 } from "react-router-dom";
|
|
3198
|
-
import { jsx as
|
|
3222
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
3199
3223
|
var PublicLayout = () => {
|
|
3200
|
-
return /* @__PURE__ */
|
|
3224
|
+
return /* @__PURE__ */ jsx15(Outlet3, {});
|
|
3201
3225
|
};
|
|
3202
3226
|
|
|
3203
3227
|
// src/components/layout/settings-layout/settings-layout.tsx
|
|
@@ -3209,10 +3233,10 @@ import { useTranslation as useTranslation10 } from "react-i18next";
|
|
|
3209
3233
|
import { Link as Link4, useLocation as useLocation8 } from "react-router-dom";
|
|
3210
3234
|
import components2 from "virtual:mercur/components";
|
|
3211
3235
|
import menuItemsModule2 from "virtual:mercur/menu-items";
|
|
3212
|
-
import { jsx as
|
|
3236
|
+
import { jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
3213
3237
|
var SettingsLayout = () => {
|
|
3214
3238
|
const Sidebar = components2.SettingsSidebar ? components2.SettingsSidebar : SettingsSidebar;
|
|
3215
|
-
return /* @__PURE__ */
|
|
3239
|
+
return /* @__PURE__ */ jsx16(Shell, { children: /* @__PURE__ */ jsx16(Sidebar, {}) });
|
|
3216
3240
|
};
|
|
3217
3241
|
var allMenuItems2 = menuItemsModule2.menuItems ?? [];
|
|
3218
3242
|
var customSettingsItems = getMenuItemsByType(allMenuItems2, "settings");
|
|
@@ -3323,28 +3347,28 @@ var SettingsSidebar = () => {
|
|
|
3323
3347
|
const { t: t2 } = useTranslation10();
|
|
3324
3348
|
return /* @__PURE__ */ jsxs10("aside", { className: "relative flex flex-1 flex-col justify-between overflow-y-auto", children: [
|
|
3325
3349
|
/* @__PURE__ */ jsxs10("div", { className: "sticky top-0 bg-ui-bg-subtle", children: [
|
|
3326
|
-
/* @__PURE__ */
|
|
3327
|
-
/* @__PURE__ */
|
|
3350
|
+
/* @__PURE__ */ jsx16(Header2, {}),
|
|
3351
|
+
/* @__PURE__ */ jsx16("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx16(Divider2, { variant: "dashed" }) })
|
|
3328
3352
|
] }),
|
|
3329
3353
|
/* @__PURE__ */ jsxs10("div", { className: "flex flex-1 flex-col", children: [
|
|
3330
3354
|
/* @__PURE__ */ jsxs10("div", { className: "flex flex-1 flex-col overflow-y-auto", children: [
|
|
3331
|
-
/* @__PURE__ */
|
|
3355
|
+
/* @__PURE__ */ jsx16(
|
|
3332
3356
|
RadixCollapsibleSection,
|
|
3333
3357
|
{
|
|
3334
3358
|
label: t2("app.nav.settings.general"),
|
|
3335
3359
|
items: routes
|
|
3336
3360
|
}
|
|
3337
3361
|
),
|
|
3338
|
-
/* @__PURE__ */
|
|
3339
|
-
/* @__PURE__ */
|
|
3362
|
+
/* @__PURE__ */ jsx16("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx16(Divider2, { variant: "dashed" }) }),
|
|
3363
|
+
/* @__PURE__ */ jsx16(
|
|
3340
3364
|
RadixCollapsibleSection,
|
|
3341
3365
|
{
|
|
3342
3366
|
label: t2("app.nav.settings.developer"),
|
|
3343
3367
|
items: developerRoutes
|
|
3344
3368
|
}
|
|
3345
3369
|
),
|
|
3346
|
-
/* @__PURE__ */
|
|
3347
|
-
/* @__PURE__ */
|
|
3370
|
+
/* @__PURE__ */ jsx16("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx16(Divider2, { variant: "dashed" }) }),
|
|
3371
|
+
/* @__PURE__ */ jsx16(
|
|
3348
3372
|
RadixCollapsibleSection,
|
|
3349
3373
|
{
|
|
3350
3374
|
label: t2("app.nav.settings.myAccount"),
|
|
@@ -3352,7 +3376,7 @@ var SettingsSidebar = () => {
|
|
|
3352
3376
|
}
|
|
3353
3377
|
)
|
|
3354
3378
|
] }),
|
|
3355
|
-
/* @__PURE__ */
|
|
3379
|
+
/* @__PURE__ */ jsx16("div", { className: "sticky bottom-0 bg-ui-bg-subtle", children: /* @__PURE__ */ jsx16(UserSection2, {}) })
|
|
3356
3380
|
] })
|
|
3357
3381
|
] });
|
|
3358
3382
|
};
|
|
@@ -3365,7 +3389,7 @@ var Header2 = () => {
|
|
|
3365
3389
|
setFrom(getSafeFromValue(location.state.from));
|
|
3366
3390
|
}
|
|
3367
3391
|
}, [location]);
|
|
3368
|
-
return /* @__PURE__ */
|
|
3392
|
+
return /* @__PURE__ */ jsx16("div", { className: "bg-ui-bg-subtle p-3", children: /* @__PURE__ */ jsx16(
|
|
3369
3393
|
Link4,
|
|
3370
3394
|
{
|
|
3371
3395
|
to: from,
|
|
@@ -3376,8 +3400,8 @@ var Header2 = () => {
|
|
|
3376
3400
|
"focus-visible:shadow-borders-focus"
|
|
3377
3401
|
),
|
|
3378
3402
|
children: /* @__PURE__ */ jsxs10("div", { className: "flex items-center gap-x-2.5 px-2 py-1", children: [
|
|
3379
|
-
/* @__PURE__ */
|
|
3380
|
-
/* @__PURE__ */
|
|
3403
|
+
/* @__PURE__ */ jsx16("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx16(ArrowUturnLeft2, { className: "text-ui-fg-subtle" }) }),
|
|
3404
|
+
/* @__PURE__ */ jsx16(Text8, { leading: "compact", weight: "plus", size: "small", children: t2("app.nav.settings.header") })
|
|
3381
3405
|
] })
|
|
3382
3406
|
}
|
|
3383
3407
|
) });
|
|
@@ -3387,22 +3411,22 @@ var RadixCollapsibleSection = ({
|
|
|
3387
3411
|
items
|
|
3388
3412
|
}) => {
|
|
3389
3413
|
return /* @__PURE__ */ jsxs10(RadixCollapsible2.Root, { defaultOpen: true, className: "py-3", children: [
|
|
3390
|
-
/* @__PURE__ */
|
|
3391
|
-
/* @__PURE__ */
|
|
3392
|
-
/* @__PURE__ */
|
|
3414
|
+
/* @__PURE__ */ jsx16("div", { className: "px-3", children: /* @__PURE__ */ jsxs10("div", { className: "flex h-7 items-center justify-between px-2 text-ui-fg-muted", children: [
|
|
3415
|
+
/* @__PURE__ */ jsx16(Text8, { size: "small", leading: "compact", children: label }),
|
|
3416
|
+
/* @__PURE__ */ jsx16(RadixCollapsible2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx16(IconButton6, { size: "2xsmall", variant: "transparent", className: "static", children: /* @__PURE__ */ jsx16(MinusMini, { className: "text-ui-fg-muted" }) }) })
|
|
3393
3417
|
] }) }),
|
|
3394
|
-
/* @__PURE__ */
|
|
3418
|
+
/* @__PURE__ */ jsx16(RadixCollapsible2.Content, { children: /* @__PURE__ */ jsx16("div", { className: "pt-0.5", children: /* @__PURE__ */ jsx16("nav", { className: "flex flex-col gap-y-0.5", children: items.map((setting) => /* @__PURE__ */ jsx16(NavItem, { type: "setting", ...setting }, setting.to)) }) }) })
|
|
3395
3419
|
] });
|
|
3396
3420
|
};
|
|
3397
3421
|
var UserSection2 = () => {
|
|
3398
3422
|
return /* @__PURE__ */ jsxs10("div", { children: [
|
|
3399
|
-
/* @__PURE__ */
|
|
3400
|
-
/* @__PURE__ */
|
|
3423
|
+
/* @__PURE__ */ jsx16("div", { className: "px-3", children: /* @__PURE__ */ jsx16(Divider2, { variant: "dashed" }) }),
|
|
3424
|
+
/* @__PURE__ */ jsx16(UserMenu, {})
|
|
3401
3425
|
] });
|
|
3402
3426
|
};
|
|
3403
3427
|
|
|
3404
3428
|
// src/get-route-map.tsx
|
|
3405
|
-
import { jsx as
|
|
3429
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
3406
3430
|
function mergeRoutes(baseRoutes, customRoutes2) {
|
|
3407
3431
|
const result = baseRoutes.map((route) => ({ ...route }));
|
|
3408
3432
|
for (const customRoute of customRoutes2) {
|
|
@@ -3431,151 +3455,127 @@ function getRouteMap({
|
|
|
3431
3455
|
}) {
|
|
3432
3456
|
return [
|
|
3433
3457
|
{
|
|
3434
|
-
element: /* @__PURE__ */
|
|
3435
|
-
errorElement: /* @__PURE__ */
|
|
3458
|
+
element: /* @__PURE__ */ jsx17(ProtectedRoute, {}),
|
|
3459
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3436
3460
|
children: [
|
|
3437
3461
|
{
|
|
3438
|
-
element: /* @__PURE__ */
|
|
3462
|
+
element: /* @__PURE__ */ jsx17(MainLayout, {}),
|
|
3439
3463
|
children: mergeRoutes(
|
|
3440
3464
|
[
|
|
3441
3465
|
{
|
|
3442
3466
|
path: "/",
|
|
3443
|
-
errorElement: /* @__PURE__ */
|
|
3467
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3444
3468
|
lazy: () => import("./home-I3OILW5Z.js")
|
|
3445
3469
|
},
|
|
3446
3470
|
{
|
|
3447
3471
|
path: "/products",
|
|
3448
|
-
errorElement: /* @__PURE__ */
|
|
3472
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3449
3473
|
handle: {
|
|
3450
3474
|
breadcrumb: () => t("products.domain")
|
|
3451
3475
|
},
|
|
3452
3476
|
children: [
|
|
3453
3477
|
{
|
|
3454
3478
|
path: "",
|
|
3455
|
-
lazy: () => import("./product-list-
|
|
3479
|
+
lazy: () => import("./product-list-PR532XII.js"),
|
|
3456
3480
|
children: [
|
|
3457
3481
|
{
|
|
3458
3482
|
path: "create",
|
|
3459
|
-
lazy: () => import("./product-create-
|
|
3483
|
+
lazy: () => import("./product-create-BQXFDMEP.js")
|
|
3460
3484
|
},
|
|
3461
3485
|
{
|
|
3462
3486
|
path: "bulk-edit",
|
|
3463
|
-
lazy: () => import("./product-bulk-edit-
|
|
3487
|
+
lazy: () => import("./product-bulk-edit-LHCPVFUX.js")
|
|
3464
3488
|
}
|
|
3465
3489
|
]
|
|
3466
3490
|
},
|
|
3467
3491
|
{
|
|
3468
3492
|
path: ":id",
|
|
3469
|
-
errorElement: /* @__PURE__ */
|
|
3493
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3470
3494
|
lazy: async () => {
|
|
3471
|
-
const { Breadcrumb, loader } = await import("./product-detail-
|
|
3495
|
+
const { Breadcrumb, loader } = await import("./product-detail-I57XSYLB.js");
|
|
3472
3496
|
return {
|
|
3473
3497
|
Component: Outlet4,
|
|
3474
3498
|
loader,
|
|
3475
3499
|
handle: {
|
|
3476
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3500
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3477
3501
|
}
|
|
3478
3502
|
};
|
|
3479
3503
|
},
|
|
3480
3504
|
children: [
|
|
3481
3505
|
{
|
|
3482
3506
|
path: "",
|
|
3483
|
-
lazy: () => import("./product-detail-
|
|
3507
|
+
lazy: () => import("./product-detail-I57XSYLB.js"),
|
|
3484
3508
|
children: [
|
|
3485
3509
|
{
|
|
3486
3510
|
path: "edit",
|
|
3487
|
-
lazy: () => import("./product-edit-
|
|
3511
|
+
lazy: () => import("./product-edit-EDW3D2KW.js")
|
|
3488
3512
|
},
|
|
3489
3513
|
{
|
|
3490
3514
|
path: "edit-variant",
|
|
3491
|
-
lazy: () => import("./product-variant-edit-
|
|
3515
|
+
lazy: () => import("./product-variant-edit-2RHFG2CZ.js")
|
|
3492
3516
|
},
|
|
3493
3517
|
{
|
|
3494
3518
|
path: "sales-channels",
|
|
3495
|
-
lazy: () => import("./product-sales-channels-
|
|
3519
|
+
lazy: () => import("./product-sales-channels-NTT6KMSD.js")
|
|
3496
3520
|
},
|
|
3497
3521
|
{
|
|
3498
3522
|
path: "attributes",
|
|
3499
|
-
lazy: () => import("./product-attributes-
|
|
3523
|
+
lazy: () => import("./product-attributes-ZURXNZ3J.js")
|
|
3500
3524
|
},
|
|
3501
3525
|
{
|
|
3502
3526
|
path: "attributes/create",
|
|
3503
|
-
lazy: () => import("./product-create-attribute-
|
|
3527
|
+
lazy: () => import("./product-create-attribute-UBWABT2Q.js")
|
|
3504
3528
|
},
|
|
3505
3529
|
{
|
|
3506
3530
|
path: "attributes/add",
|
|
3507
|
-
lazy: () => import("./product-add-existing-attributes-
|
|
3531
|
+
lazy: () => import("./product-add-existing-attributes-IHCIKDIH.js")
|
|
3508
3532
|
},
|
|
3509
3533
|
{
|
|
3510
3534
|
path: "organization",
|
|
3511
|
-
lazy: () => import("./product-organization-
|
|
3535
|
+
lazy: () => import("./product-organization-D6UMZAUE.js")
|
|
3512
3536
|
},
|
|
3513
3537
|
{
|
|
3514
3538
|
path: "shipping-profile",
|
|
3515
|
-
lazy: () => import("./product-shipping-profile-
|
|
3539
|
+
lazy: () => import("./product-shipping-profile-WM7LORFB.js")
|
|
3516
3540
|
},
|
|
3517
3541
|
{
|
|
3518
3542
|
path: "media",
|
|
3519
|
-
lazy: () => import("./product-media-
|
|
3520
|
-
},
|
|
3521
|
-
{
|
|
3522
|
-
path: "prices",
|
|
3523
|
-
lazy: () => import("./product-prices-R5JOHVGS.js")
|
|
3524
|
-
},
|
|
3525
|
-
{
|
|
3526
|
-
path: "options/create",
|
|
3527
|
-
lazy: () => import("./product-create-option-NIAP75EE.js")
|
|
3528
|
-
},
|
|
3529
|
-
{
|
|
3530
|
-
path: "options/:option_id/edit",
|
|
3531
|
-
lazy: () => import("./product-edit-option-OZUZGMIM.js")
|
|
3543
|
+
lazy: () => import("./product-media-J3VTWOU4.js")
|
|
3532
3544
|
},
|
|
3533
3545
|
{
|
|
3534
3546
|
path: "variants/create",
|
|
3535
|
-
lazy: () => import("./product-create-variant-
|
|
3536
|
-
},
|
|
3537
|
-
{
|
|
3538
|
-
path: "stock",
|
|
3539
|
-
lazy: () => import("./product-stock-EIP2XJUR.js")
|
|
3547
|
+
lazy: () => import("./product-create-variant-MVYZPDO7.js")
|
|
3540
3548
|
},
|
|
3541
3549
|
{
|
|
3542
3550
|
path: "metadata/edit",
|
|
3543
|
-
lazy: () => import("./product-metadata-
|
|
3551
|
+
lazy: () => import("./product-metadata-T2D4GEIP.js")
|
|
3544
3552
|
}
|
|
3545
3553
|
]
|
|
3546
3554
|
},
|
|
3547
3555
|
{
|
|
3548
3556
|
path: "variants/:variant_id",
|
|
3549
3557
|
lazy: async () => {
|
|
3550
|
-
const { Breadcrumb, loader } = await import("./product-variant-detail-
|
|
3558
|
+
const { Breadcrumb, loader } = await import("./product-variant-detail-5BF6JTHV.js");
|
|
3551
3559
|
return {
|
|
3552
3560
|
Component: Outlet4,
|
|
3553
3561
|
loader,
|
|
3554
3562
|
handle: {
|
|
3555
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3563
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3556
3564
|
}
|
|
3557
3565
|
};
|
|
3558
3566
|
},
|
|
3559
3567
|
children: [
|
|
3560
3568
|
{
|
|
3561
3569
|
path: "",
|
|
3562
|
-
lazy: () => import("./product-variant-detail-
|
|
3570
|
+
lazy: () => import("./product-variant-detail-5BF6JTHV.js"),
|
|
3563
3571
|
children: [
|
|
3564
3572
|
{
|
|
3565
3573
|
path: "edit",
|
|
3566
|
-
lazy: () => import("./product-variant-edit-
|
|
3567
|
-
},
|
|
3568
|
-
{
|
|
3569
|
-
path: "prices",
|
|
3570
|
-
lazy: () => import("./product-prices-R5JOHVGS.js")
|
|
3571
|
-
},
|
|
3572
|
-
{
|
|
3573
|
-
path: "manage-items",
|
|
3574
|
-
lazy: () => import("./product-variant-manage-inventory-items-Q5MJG3EJ.js")
|
|
3574
|
+
lazy: () => import("./product-variant-edit-2RHFG2CZ.js")
|
|
3575
3575
|
},
|
|
3576
3576
|
{
|
|
3577
3577
|
path: "metadata/edit",
|
|
3578
|
-
lazy: () => import("./product-variant-metadata-
|
|
3578
|
+
lazy: () => import("./product-variant-metadata-G2LLH7YK.js")
|
|
3579
3579
|
}
|
|
3580
3580
|
]
|
|
3581
3581
|
}
|
|
@@ -3587,57 +3587,57 @@ function getRouteMap({
|
|
|
3587
3587
|
},
|
|
3588
3588
|
{
|
|
3589
3589
|
path: "/categories",
|
|
3590
|
-
errorElement: /* @__PURE__ */
|
|
3590
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3591
3591
|
handle: {
|
|
3592
3592
|
breadcrumb: () => t("categories.domain")
|
|
3593
3593
|
},
|
|
3594
3594
|
children: [
|
|
3595
3595
|
{
|
|
3596
3596
|
path: "",
|
|
3597
|
-
lazy: () => import("./category-list-
|
|
3597
|
+
lazy: () => import("./category-list-T5SE63HU.js"),
|
|
3598
3598
|
children: [
|
|
3599
3599
|
{
|
|
3600
3600
|
path: "create",
|
|
3601
|
-
lazy: () => import("./category-create-
|
|
3601
|
+
lazy: () => import("./category-create-QPQQGIEN.js")
|
|
3602
3602
|
},
|
|
3603
3603
|
{
|
|
3604
3604
|
path: "organize",
|
|
3605
|
-
lazy: () => import("./category-organize-
|
|
3605
|
+
lazy: () => import("./category-organize-DQQGAAJY.js")
|
|
3606
3606
|
}
|
|
3607
3607
|
]
|
|
3608
3608
|
},
|
|
3609
3609
|
{
|
|
3610
3610
|
path: ":id",
|
|
3611
3611
|
lazy: async () => {
|
|
3612
|
-
const { Breadcrumb, loader } = await import("./category-detail-
|
|
3612
|
+
const { Breadcrumb, loader } = await import("./category-detail-RIKOZMPK.js");
|
|
3613
3613
|
return {
|
|
3614
3614
|
Component: Outlet4,
|
|
3615
3615
|
loader,
|
|
3616
3616
|
handle: {
|
|
3617
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3617
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3618
3618
|
}
|
|
3619
3619
|
};
|
|
3620
3620
|
},
|
|
3621
3621
|
children: [
|
|
3622
3622
|
{
|
|
3623
3623
|
path: "",
|
|
3624
|
-
lazy: () => import("./category-detail-
|
|
3624
|
+
lazy: () => import("./category-detail-RIKOZMPK.js"),
|
|
3625
3625
|
children: [
|
|
3626
3626
|
{
|
|
3627
3627
|
path: "edit",
|
|
3628
|
-
lazy: () => import("./category-edit-
|
|
3628
|
+
lazy: () => import("./category-edit-DJP7TK4X.js")
|
|
3629
3629
|
},
|
|
3630
3630
|
{
|
|
3631
3631
|
path: "products",
|
|
3632
|
-
lazy: () => import("./category-products-
|
|
3632
|
+
lazy: () => import("./category-products-255EJFTV.js")
|
|
3633
3633
|
},
|
|
3634
3634
|
{
|
|
3635
3635
|
path: "organize",
|
|
3636
|
-
lazy: () => import("./category-organize-
|
|
3636
|
+
lazy: () => import("./category-organize-DQQGAAJY.js")
|
|
3637
3637
|
},
|
|
3638
3638
|
{
|
|
3639
3639
|
path: "metadata/edit",
|
|
3640
|
-
lazy: () => import("./categories-metadata-
|
|
3640
|
+
lazy: () => import("./categories-metadata-5GXBBHEH.js")
|
|
3641
3641
|
}
|
|
3642
3642
|
]
|
|
3643
3643
|
}
|
|
@@ -3647,87 +3647,87 @@ function getRouteMap({
|
|
|
3647
3647
|
},
|
|
3648
3648
|
{
|
|
3649
3649
|
path: "/orders",
|
|
3650
|
-
errorElement: /* @__PURE__ */
|
|
3650
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3651
3651
|
handle: {
|
|
3652
3652
|
breadcrumb: () => t("orders.domain")
|
|
3653
3653
|
},
|
|
3654
3654
|
children: [
|
|
3655
3655
|
{
|
|
3656
3656
|
path: "",
|
|
3657
|
-
lazy: () => import("./order-list-
|
|
3657
|
+
lazy: () => import("./order-list-U5DZYLJK.js")
|
|
3658
3658
|
},
|
|
3659
3659
|
{
|
|
3660
3660
|
path: ":id",
|
|
3661
3661
|
lazy: async () => {
|
|
3662
|
-
const { Breadcrumb, loader } = await import("./order-detail-
|
|
3662
|
+
const { Breadcrumb, loader } = await import("./order-detail-BOW62X75.js");
|
|
3663
3663
|
return {
|
|
3664
3664
|
Component: Outlet4,
|
|
3665
3665
|
loader,
|
|
3666
3666
|
handle: {
|
|
3667
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3667
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3668
3668
|
}
|
|
3669
3669
|
};
|
|
3670
3670
|
},
|
|
3671
3671
|
children: [
|
|
3672
3672
|
{
|
|
3673
3673
|
path: "",
|
|
3674
|
-
lazy: () => import("./order-detail-
|
|
3674
|
+
lazy: () => import("./order-detail-BOW62X75.js"),
|
|
3675
3675
|
children: [
|
|
3676
3676
|
{
|
|
3677
3677
|
path: "fulfillment",
|
|
3678
|
-
lazy: () => import("./order-create-fulfillment-
|
|
3678
|
+
lazy: () => import("./order-create-fulfillment-Y4HQ5YRS.js")
|
|
3679
3679
|
},
|
|
3680
3680
|
{
|
|
3681
3681
|
path: "returns/:return_id/receive",
|
|
3682
|
-
lazy: () => import("./order-receive-return-
|
|
3682
|
+
lazy: () => import("./order-receive-return-MDUU4L4X.js")
|
|
3683
3683
|
},
|
|
3684
3684
|
{
|
|
3685
3685
|
path: "allocate-items",
|
|
3686
|
-
lazy: () => import("./order-allocate-items-
|
|
3686
|
+
lazy: () => import("./order-allocate-items-TMVWJUV3.js")
|
|
3687
3687
|
},
|
|
3688
3688
|
{
|
|
3689
3689
|
path: ":f_id/create-shipment",
|
|
3690
|
-
lazy: () => import("./order-create-shipment-
|
|
3690
|
+
lazy: () => import("./order-create-shipment-EWOJJXEM.js")
|
|
3691
3691
|
},
|
|
3692
3692
|
{
|
|
3693
3693
|
path: "returns",
|
|
3694
|
-
lazy: () => import("./order-create-return-
|
|
3694
|
+
lazy: () => import("./order-create-return-EVSD6GKE.js")
|
|
3695
3695
|
},
|
|
3696
3696
|
{
|
|
3697
3697
|
path: "claims",
|
|
3698
|
-
lazy: () => import("./order-create-claim-
|
|
3698
|
+
lazy: () => import("./order-create-claim-MPSXY24H.js")
|
|
3699
3699
|
},
|
|
3700
3700
|
{
|
|
3701
3701
|
path: "exchanges",
|
|
3702
|
-
lazy: () => import("./order-create-exchange-
|
|
3702
|
+
lazy: () => import("./order-create-exchange-O6COEAGJ.js")
|
|
3703
3703
|
},
|
|
3704
3704
|
{
|
|
3705
3705
|
path: "edits",
|
|
3706
|
-
lazy: () => import("./order-create-edit-
|
|
3706
|
+
lazy: () => import("./order-create-edit-6JLXERBY.js")
|
|
3707
3707
|
},
|
|
3708
3708
|
{
|
|
3709
3709
|
path: "refund",
|
|
3710
|
-
lazy: () => import("./order-create-refund-
|
|
3710
|
+
lazy: () => import("./order-create-refund-TCNCSOMX.js")
|
|
3711
3711
|
},
|
|
3712
3712
|
{
|
|
3713
3713
|
path: "transfer",
|
|
3714
|
-
lazy: () => import("./order-request-transfer-
|
|
3714
|
+
lazy: () => import("./order-request-transfer-QFUMEZPD.js")
|
|
3715
3715
|
},
|
|
3716
3716
|
{
|
|
3717
3717
|
path: "email",
|
|
3718
|
-
lazy: () => import("./order-edit-email-
|
|
3718
|
+
lazy: () => import("./order-edit-email-DQJW2SAM.js")
|
|
3719
3719
|
},
|
|
3720
3720
|
{
|
|
3721
3721
|
path: "shipping-address",
|
|
3722
|
-
lazy: () => import("./order-edit-shipping-address-
|
|
3722
|
+
lazy: () => import("./order-edit-shipping-address-RIML4XFQ.js")
|
|
3723
3723
|
},
|
|
3724
3724
|
{
|
|
3725
3725
|
path: "billing-address",
|
|
3726
|
-
lazy: () => import("./order-edit-billing-address-
|
|
3726
|
+
lazy: () => import("./order-edit-billing-address-5ZBOWDWQ.js")
|
|
3727
3727
|
},
|
|
3728
3728
|
{
|
|
3729
3729
|
path: "metadata/edit",
|
|
3730
|
-
lazy: () => import("./order-metadata-
|
|
3730
|
+
lazy: () => import("./order-metadata-WGZUETFN.js")
|
|
3731
3731
|
}
|
|
3732
3732
|
]
|
|
3733
3733
|
}
|
|
@@ -3737,35 +3737,35 @@ function getRouteMap({
|
|
|
3737
3737
|
},
|
|
3738
3738
|
{
|
|
3739
3739
|
path: "/promotions",
|
|
3740
|
-
errorElement: /* @__PURE__ */
|
|
3740
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3741
3741
|
handle: {
|
|
3742
3742
|
breadcrumb: () => t("promotions.domain")
|
|
3743
3743
|
},
|
|
3744
3744
|
children: [
|
|
3745
3745
|
{
|
|
3746
3746
|
path: "",
|
|
3747
|
-
lazy: () => import("./promotion-list-
|
|
3747
|
+
lazy: () => import("./promotion-list-AFBLWKTJ.js")
|
|
3748
3748
|
},
|
|
3749
3749
|
{
|
|
3750
3750
|
path: "create",
|
|
3751
|
-
lazy: () => import("./promotion-create-
|
|
3751
|
+
lazy: () => import("./promotion-create-G3M4UJX2.js")
|
|
3752
3752
|
},
|
|
3753
3753
|
{
|
|
3754
3754
|
path: ":id",
|
|
3755
3755
|
lazy: async () => {
|
|
3756
|
-
const { Breadcrumb, loader } = await import("./promotion-detail-
|
|
3756
|
+
const { Breadcrumb, loader } = await import("./promotion-detail-4EHU6FKF.js");
|
|
3757
3757
|
return {
|
|
3758
3758
|
Component: Outlet4,
|
|
3759
3759
|
loader,
|
|
3760
3760
|
handle: {
|
|
3761
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3761
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3762
3762
|
}
|
|
3763
3763
|
};
|
|
3764
3764
|
},
|
|
3765
3765
|
children: [
|
|
3766
3766
|
{
|
|
3767
3767
|
path: "",
|
|
3768
|
-
lazy: () => import("./promotion-detail-
|
|
3768
|
+
lazy: () => import("./promotion-detail-4EHU6FKF.js"),
|
|
3769
3769
|
children: [
|
|
3770
3770
|
{
|
|
3771
3771
|
path: "edit",
|
|
@@ -3773,11 +3773,11 @@ function getRouteMap({
|
|
|
3773
3773
|
},
|
|
3774
3774
|
{
|
|
3775
3775
|
path: "add-to-campaign",
|
|
3776
|
-
lazy: () => import("./promotion-add-campaign-
|
|
3776
|
+
lazy: () => import("./promotion-add-campaign-S3JJSFHT.js")
|
|
3777
3777
|
},
|
|
3778
3778
|
{
|
|
3779
3779
|
path: ":ruleType/edit",
|
|
3780
|
-
lazy: () => import("./edit-rules-
|
|
3780
|
+
lazy: () => import("./edit-rules-4VAD5Q3L.js")
|
|
3781
3781
|
}
|
|
3782
3782
|
]
|
|
3783
3783
|
}
|
|
@@ -3787,7 +3787,7 @@ function getRouteMap({
|
|
|
3787
3787
|
},
|
|
3788
3788
|
{
|
|
3789
3789
|
path: "/campaigns",
|
|
3790
|
-
errorElement: /* @__PURE__ */
|
|
3790
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3791
3791
|
handle: {
|
|
3792
3792
|
breadcrumb: () => t("campaigns.domain")
|
|
3793
3793
|
},
|
|
@@ -3799,24 +3799,24 @@ function getRouteMap({
|
|
|
3799
3799
|
},
|
|
3800
3800
|
{
|
|
3801
3801
|
path: "create",
|
|
3802
|
-
lazy: () => import("./campaign-create-
|
|
3802
|
+
lazy: () => import("./campaign-create-7BELREFT.js")
|
|
3803
3803
|
},
|
|
3804
3804
|
{
|
|
3805
3805
|
path: ":id",
|
|
3806
3806
|
lazy: async () => {
|
|
3807
|
-
const { Breadcrumb, loader } = await import("./campaign-detail-
|
|
3807
|
+
const { Breadcrumb, loader } = await import("./campaign-detail-QMLFWZ6K.js");
|
|
3808
3808
|
return {
|
|
3809
3809
|
Component: Outlet4,
|
|
3810
3810
|
loader,
|
|
3811
3811
|
handle: {
|
|
3812
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3812
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3813
3813
|
}
|
|
3814
3814
|
};
|
|
3815
3815
|
},
|
|
3816
3816
|
children: [
|
|
3817
3817
|
{
|
|
3818
3818
|
path: "",
|
|
3819
|
-
lazy: () => import("./campaign-detail-
|
|
3819
|
+
lazy: () => import("./campaign-detail-QMLFWZ6K.js"),
|
|
3820
3820
|
children: [
|
|
3821
3821
|
{
|
|
3822
3822
|
path: "edit",
|
|
@@ -3832,7 +3832,7 @@ function getRouteMap({
|
|
|
3832
3832
|
},
|
|
3833
3833
|
{
|
|
3834
3834
|
path: "add-promotions",
|
|
3835
|
-
lazy: () => import("./add-campaign-promotions-
|
|
3835
|
+
lazy: () => import("./add-campaign-promotions-FAG3FAOF.js")
|
|
3836
3836
|
}
|
|
3837
3837
|
]
|
|
3838
3838
|
}
|
|
@@ -3842,49 +3842,49 @@ function getRouteMap({
|
|
|
3842
3842
|
},
|
|
3843
3843
|
{
|
|
3844
3844
|
path: "/collections",
|
|
3845
|
-
errorElement: /* @__PURE__ */
|
|
3845
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3846
3846
|
handle: {
|
|
3847
3847
|
breadcrumb: () => t("collections.domain")
|
|
3848
3848
|
},
|
|
3849
3849
|
children: [
|
|
3850
3850
|
{
|
|
3851
3851
|
path: "",
|
|
3852
|
-
lazy: () => import("./collection-list-
|
|
3852
|
+
lazy: () => import("./collection-list-B7LALPSA.js"),
|
|
3853
3853
|
children: [
|
|
3854
3854
|
{
|
|
3855
3855
|
path: "create",
|
|
3856
|
-
lazy: () => import("./collection-create-
|
|
3856
|
+
lazy: () => import("./collection-create-GPBN7KO6.js")
|
|
3857
3857
|
}
|
|
3858
3858
|
]
|
|
3859
3859
|
},
|
|
3860
3860
|
{
|
|
3861
3861
|
path: ":id",
|
|
3862
3862
|
lazy: async () => {
|
|
3863
|
-
const { Breadcrumb, loader } = await import("./collection-detail-
|
|
3863
|
+
const { Breadcrumb, loader } = await import("./collection-detail-W7OC2ALM.js");
|
|
3864
3864
|
return {
|
|
3865
3865
|
Component: Outlet4,
|
|
3866
3866
|
loader,
|
|
3867
3867
|
handle: {
|
|
3868
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3868
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3869
3869
|
}
|
|
3870
3870
|
};
|
|
3871
3871
|
},
|
|
3872
3872
|
children: [
|
|
3873
3873
|
{
|
|
3874
3874
|
path: "",
|
|
3875
|
-
lazy: () => import("./collection-detail-
|
|
3875
|
+
lazy: () => import("./collection-detail-W7OC2ALM.js"),
|
|
3876
3876
|
children: [
|
|
3877
3877
|
{
|
|
3878
3878
|
path: "edit",
|
|
3879
|
-
lazy: () => import("./collection-edit-
|
|
3879
|
+
lazy: () => import("./collection-edit-NVRFKO46.js")
|
|
3880
3880
|
},
|
|
3881
3881
|
{
|
|
3882
3882
|
path: "products",
|
|
3883
|
-
lazy: () => import("./collection-add-products-
|
|
3883
|
+
lazy: () => import("./collection-add-products-4ZTBHENL.js")
|
|
3884
3884
|
},
|
|
3885
3885
|
{
|
|
3886
3886
|
path: "metadata/edit",
|
|
3887
|
-
lazy: () => import("./collection-metadata-
|
|
3887
|
+
lazy: () => import("./collection-metadata-E4C54MTU.js")
|
|
3888
3888
|
}
|
|
3889
3889
|
]
|
|
3890
3890
|
}
|
|
@@ -3894,53 +3894,53 @@ function getRouteMap({
|
|
|
3894
3894
|
},
|
|
3895
3895
|
{
|
|
3896
3896
|
path: "/price-lists",
|
|
3897
|
-
errorElement: /* @__PURE__ */
|
|
3897
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3898
3898
|
handle: {
|
|
3899
3899
|
breadcrumb: () => t("priceLists.domain")
|
|
3900
3900
|
},
|
|
3901
3901
|
children: [
|
|
3902
3902
|
{
|
|
3903
3903
|
path: "",
|
|
3904
|
-
lazy: () => import("./price-list-list-
|
|
3904
|
+
lazy: () => import("./price-list-list-ARICU2NA.js"),
|
|
3905
3905
|
children: [
|
|
3906
3906
|
{
|
|
3907
3907
|
path: "create",
|
|
3908
|
-
lazy: () => import("./price-list-create-
|
|
3908
|
+
lazy: () => import("./price-list-create-J4AJG42T.js")
|
|
3909
3909
|
}
|
|
3910
3910
|
]
|
|
3911
3911
|
},
|
|
3912
3912
|
{
|
|
3913
3913
|
path: ":id",
|
|
3914
3914
|
lazy: async () => {
|
|
3915
|
-
const { Breadcrumb, loader } = await import("./price-list-detail-
|
|
3915
|
+
const { Breadcrumb, loader } = await import("./price-list-detail-D2ETNZ5N.js");
|
|
3916
3916
|
return {
|
|
3917
3917
|
Component: Outlet4,
|
|
3918
3918
|
loader,
|
|
3919
3919
|
handle: {
|
|
3920
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3920
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3921
3921
|
}
|
|
3922
3922
|
};
|
|
3923
3923
|
},
|
|
3924
3924
|
children: [
|
|
3925
3925
|
{
|
|
3926
3926
|
path: "",
|
|
3927
|
-
lazy: () => import("./price-list-detail-
|
|
3927
|
+
lazy: () => import("./price-list-detail-D2ETNZ5N.js"),
|
|
3928
3928
|
children: [
|
|
3929
3929
|
{
|
|
3930
3930
|
path: "edit",
|
|
3931
|
-
lazy: () => import("./price-list-edit-
|
|
3931
|
+
lazy: () => import("./price-list-edit-OJAYEUYO.js")
|
|
3932
3932
|
},
|
|
3933
3933
|
{
|
|
3934
3934
|
path: "configuration",
|
|
3935
|
-
lazy: () => import("./price-list-configuration-
|
|
3935
|
+
lazy: () => import("./price-list-configuration-O3MR5IUA.js")
|
|
3936
3936
|
},
|
|
3937
3937
|
{
|
|
3938
3938
|
path: "products/add",
|
|
3939
|
-
lazy: () => import("./price-list-prices-add-
|
|
3939
|
+
lazy: () => import("./price-list-prices-add-FQLQ5DPX.js")
|
|
3940
3940
|
},
|
|
3941
3941
|
{
|
|
3942
3942
|
path: "products/edit",
|
|
3943
|
-
lazy: () => import("./price-list-prices-edit-
|
|
3943
|
+
lazy: () => import("./price-list-prices-edit-4HBSUC5W.js")
|
|
3944
3944
|
}
|
|
3945
3945
|
]
|
|
3946
3946
|
}
|
|
@@ -3950,7 +3950,7 @@ function getRouteMap({
|
|
|
3950
3950
|
},
|
|
3951
3951
|
{
|
|
3952
3952
|
path: "/customers",
|
|
3953
|
-
errorElement: /* @__PURE__ */
|
|
3953
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3954
3954
|
handle: {
|
|
3955
3955
|
breadcrumb: () => t("customers.domain")
|
|
3956
3956
|
},
|
|
@@ -3968,19 +3968,19 @@ function getRouteMap({
|
|
|
3968
3968
|
{
|
|
3969
3969
|
path: ":id",
|
|
3970
3970
|
lazy: async () => {
|
|
3971
|
-
const { Breadcrumb, loader } = await import("./customer-detail-
|
|
3971
|
+
const { Breadcrumb, loader } = await import("./customer-detail-ONZGPCHW.js");
|
|
3972
3972
|
return {
|
|
3973
3973
|
Component: Outlet4,
|
|
3974
3974
|
loader,
|
|
3975
3975
|
handle: {
|
|
3976
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3976
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3977
3977
|
}
|
|
3978
3978
|
};
|
|
3979
3979
|
},
|
|
3980
3980
|
children: [
|
|
3981
3981
|
{
|
|
3982
3982
|
path: "",
|
|
3983
|
-
lazy: () => import("./customer-detail-
|
|
3983
|
+
lazy: () => import("./customer-detail-ONZGPCHW.js"),
|
|
3984
3984
|
children: [
|
|
3985
3985
|
{
|
|
3986
3986
|
path: "edit",
|
|
@@ -3992,15 +3992,15 @@ function getRouteMap({
|
|
|
3992
3992
|
},
|
|
3993
3993
|
{
|
|
3994
3994
|
path: "add-customer-groups",
|
|
3995
|
-
lazy: () => import("./customers-add-customer-group-
|
|
3995
|
+
lazy: () => import("./customers-add-customer-group-NUXPXNUC.js")
|
|
3996
3996
|
},
|
|
3997
3997
|
{
|
|
3998
3998
|
path: ":order_id/transfer",
|
|
3999
|
-
lazy: () => import("./order-request-transfer-
|
|
3999
|
+
lazy: () => import("./order-request-transfer-QFUMEZPD.js")
|
|
4000
4000
|
},
|
|
4001
4001
|
{
|
|
4002
4002
|
path: "metadata/edit",
|
|
4003
|
-
lazy: () => import("./customer-metadata-
|
|
4003
|
+
lazy: () => import("./customer-metadata-63OWV4KB.js")
|
|
4004
4004
|
}
|
|
4005
4005
|
]
|
|
4006
4006
|
}
|
|
@@ -4010,14 +4010,14 @@ function getRouteMap({
|
|
|
4010
4010
|
},
|
|
4011
4011
|
{
|
|
4012
4012
|
path: "/customer-groups",
|
|
4013
|
-
errorElement: /* @__PURE__ */
|
|
4013
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4014
4014
|
handle: {
|
|
4015
4015
|
breadcrumb: () => t("customerGroups.domain")
|
|
4016
4016
|
},
|
|
4017
4017
|
children: [
|
|
4018
4018
|
{
|
|
4019
4019
|
path: "",
|
|
4020
|
-
lazy: () => import("./customer-group-list-
|
|
4020
|
+
lazy: () => import("./customer-group-list-63ER7WQH.js"),
|
|
4021
4021
|
children: [
|
|
4022
4022
|
{
|
|
4023
4023
|
path: "create",
|
|
@@ -4028,19 +4028,19 @@ function getRouteMap({
|
|
|
4028
4028
|
{
|
|
4029
4029
|
path: ":id",
|
|
4030
4030
|
lazy: async () => {
|
|
4031
|
-
const { Breadcrumb, loader } = await import("./customer-group-detail-
|
|
4031
|
+
const { Breadcrumb, loader } = await import("./customer-group-detail-XTCDJX7O.js");
|
|
4032
4032
|
return {
|
|
4033
4033
|
Component: Outlet4,
|
|
4034
4034
|
loader,
|
|
4035
4035
|
handle: {
|
|
4036
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4036
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4037
4037
|
}
|
|
4038
4038
|
};
|
|
4039
4039
|
},
|
|
4040
4040
|
children: [
|
|
4041
4041
|
{
|
|
4042
4042
|
path: "",
|
|
4043
|
-
lazy: () => import("./customer-group-detail-
|
|
4043
|
+
lazy: () => import("./customer-group-detail-XTCDJX7O.js"),
|
|
4044
4044
|
children: [
|
|
4045
4045
|
{
|
|
4046
4046
|
path: "edit",
|
|
@@ -4052,7 +4052,7 @@ function getRouteMap({
|
|
|
4052
4052
|
},
|
|
4053
4053
|
{
|
|
4054
4054
|
path: "metadata/edit",
|
|
4055
|
-
lazy: () => import("./customer-group-metadata-
|
|
4055
|
+
lazy: () => import("./customer-group-metadata-N7HGHXNC.js")
|
|
4056
4056
|
}
|
|
4057
4057
|
]
|
|
4058
4058
|
}
|
|
@@ -4062,44 +4062,44 @@ function getRouteMap({
|
|
|
4062
4062
|
},
|
|
4063
4063
|
{
|
|
4064
4064
|
path: "/stores",
|
|
4065
|
-
errorElement: /* @__PURE__ */
|
|
4065
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4066
4066
|
handle: {
|
|
4067
4067
|
breadcrumb: () => t("stores.domain")
|
|
4068
4068
|
},
|
|
4069
4069
|
children: [
|
|
4070
4070
|
{
|
|
4071
4071
|
path: "",
|
|
4072
|
-
lazy: () => import("./store-list-
|
|
4072
|
+
lazy: () => import("./store-list-PJ3U254I.js"),
|
|
4073
4073
|
children: [
|
|
4074
4074
|
{
|
|
4075
4075
|
path: "create",
|
|
4076
|
-
lazy: () => import("./store-create-
|
|
4076
|
+
lazy: () => import("./store-create-STR6YNFJ.js")
|
|
4077
4077
|
},
|
|
4078
4078
|
{
|
|
4079
4079
|
path: "bulk-edit",
|
|
4080
|
-
lazy: () => import("./store-bulk-edit-
|
|
4080
|
+
lazy: () => import("./store-bulk-edit-LW6ABDJK.js")
|
|
4081
4081
|
}
|
|
4082
4082
|
]
|
|
4083
4083
|
},
|
|
4084
4084
|
{
|
|
4085
4085
|
path: ":id",
|
|
4086
4086
|
lazy: async () => {
|
|
4087
|
-
const { Breadcrumb } = await import("./store-details-
|
|
4087
|
+
const { Breadcrumb } = await import("./store-details-3U4OEFWC.js");
|
|
4088
4088
|
return {
|
|
4089
4089
|
Component: Outlet4,
|
|
4090
4090
|
handle: {
|
|
4091
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4091
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4092
4092
|
}
|
|
4093
4093
|
};
|
|
4094
4094
|
},
|
|
4095
4095
|
children: [
|
|
4096
4096
|
{
|
|
4097
4097
|
path: "",
|
|
4098
|
-
lazy: () => import("./store-details-
|
|
4098
|
+
lazy: () => import("./store-details-3U4OEFWC.js"),
|
|
4099
4099
|
children: [
|
|
4100
4100
|
{
|
|
4101
4101
|
path: "edit",
|
|
4102
|
-
lazy: () => import("./store-edit-
|
|
4102
|
+
lazy: () => import("./store-edit-KRBR5MGV.js")
|
|
4103
4103
|
},
|
|
4104
4104
|
{
|
|
4105
4105
|
path: "edit-address",
|
|
@@ -4119,7 +4119,7 @@ function getRouteMap({
|
|
|
4119
4119
|
},
|
|
4120
4120
|
{
|
|
4121
4121
|
path: "invite",
|
|
4122
|
-
lazy: () => import("./store-member-invite-
|
|
4122
|
+
lazy: () => import("./store-member-invite-AKH3KHMF.js")
|
|
4123
4123
|
}
|
|
4124
4124
|
]
|
|
4125
4125
|
}
|
|
@@ -4129,7 +4129,7 @@ function getRouteMap({
|
|
|
4129
4129
|
},
|
|
4130
4130
|
{
|
|
4131
4131
|
path: "/payouts",
|
|
4132
|
-
errorElement: /* @__PURE__ */
|
|
4132
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4133
4133
|
handle: {
|
|
4134
4134
|
breadcrumb: () => "Payouts"
|
|
4135
4135
|
},
|
|
@@ -4146,7 +4146,7 @@ function getRouteMap({
|
|
|
4146
4146
|
Component: Outlet4,
|
|
4147
4147
|
loader,
|
|
4148
4148
|
handle: {
|
|
4149
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4149
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4150
4150
|
}
|
|
4151
4151
|
};
|
|
4152
4152
|
},
|
|
@@ -4161,45 +4161,45 @@ function getRouteMap({
|
|
|
4161
4161
|
},
|
|
4162
4162
|
{
|
|
4163
4163
|
path: "/reservations",
|
|
4164
|
-
errorElement: /* @__PURE__ */
|
|
4164
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4165
4165
|
handle: {
|
|
4166
4166
|
breadcrumb: () => t("reservations.domain")
|
|
4167
4167
|
},
|
|
4168
4168
|
children: [
|
|
4169
4169
|
{
|
|
4170
4170
|
path: "",
|
|
4171
|
-
lazy: () => import("./reservation-list-
|
|
4171
|
+
lazy: () => import("./reservation-list-K4RPXJTO.js"),
|
|
4172
4172
|
children: [
|
|
4173
4173
|
{
|
|
4174
4174
|
path: "create",
|
|
4175
|
-
lazy: () => import("./reservation-create-
|
|
4175
|
+
lazy: () => import("./reservation-create-2TDZAX5A.js")
|
|
4176
4176
|
}
|
|
4177
4177
|
]
|
|
4178
4178
|
},
|
|
4179
4179
|
{
|
|
4180
4180
|
path: ":id",
|
|
4181
4181
|
lazy: async () => {
|
|
4182
|
-
const { Breadcrumb, loader } = await import("./reservation-detail-
|
|
4182
|
+
const { Breadcrumb, loader } = await import("./reservation-detail-KFOVTTFH.js");
|
|
4183
4183
|
return {
|
|
4184
4184
|
Component: Outlet4,
|
|
4185
4185
|
loader,
|
|
4186
4186
|
handle: {
|
|
4187
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4187
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4188
4188
|
}
|
|
4189
4189
|
};
|
|
4190
4190
|
},
|
|
4191
4191
|
children: [
|
|
4192
4192
|
{
|
|
4193
4193
|
path: "",
|
|
4194
|
-
lazy: () => import("./reservation-detail-
|
|
4194
|
+
lazy: () => import("./reservation-detail-KFOVTTFH.js"),
|
|
4195
4195
|
children: [
|
|
4196
4196
|
{
|
|
4197
4197
|
path: "edit",
|
|
4198
|
-
lazy: () => import("./edit-reservation-
|
|
4198
|
+
lazy: () => import("./edit-reservation-ACDUXG33.js")
|
|
4199
4199
|
},
|
|
4200
4200
|
{
|
|
4201
4201
|
path: "metadata/edit",
|
|
4202
|
-
lazy: () => import("./reservation-metadata-
|
|
4202
|
+
lazy: () => import("./reservation-metadata-HBFAVVPW.js")
|
|
4203
4203
|
}
|
|
4204
4204
|
]
|
|
4205
4205
|
}
|
|
@@ -4209,7 +4209,7 @@ function getRouteMap({
|
|
|
4209
4209
|
},
|
|
4210
4210
|
{
|
|
4211
4211
|
path: "/offers",
|
|
4212
|
-
errorElement: /* @__PURE__ */
|
|
4212
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4213
4213
|
handle: {
|
|
4214
4214
|
breadcrumb: () => t("offers.domain")
|
|
4215
4215
|
},
|
|
@@ -4217,20 +4217,20 @@ function getRouteMap({
|
|
|
4217
4217
|
{
|
|
4218
4218
|
path: "",
|
|
4219
4219
|
lazy: async () => {
|
|
4220
|
-
const { OfferListPage } = await import("./offers-
|
|
4220
|
+
const { OfferListPage } = await import("./offers-UJCSO3RD.js");
|
|
4221
4221
|
return { Component: OfferListPage };
|
|
4222
4222
|
}
|
|
4223
4223
|
},
|
|
4224
4224
|
{
|
|
4225
4225
|
path: ":id",
|
|
4226
4226
|
lazy: async () => {
|
|
4227
|
-
const { OfferDetailPage, Breadcrumb } = await import("./[id]-
|
|
4228
|
-
const { loader } = await import("./loader-
|
|
4227
|
+
const { OfferDetailPage, Breadcrumb } = await import("./[id]-272FUOXG.js");
|
|
4228
|
+
const { loader } = await import("./loader-O4EABIXE.js");
|
|
4229
4229
|
return {
|
|
4230
4230
|
Component: OfferDetailPage,
|
|
4231
4231
|
loader,
|
|
4232
4232
|
handle: {
|
|
4233
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4233
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4234
4234
|
}
|
|
4235
4235
|
};
|
|
4236
4236
|
}
|
|
@@ -4239,61 +4239,61 @@ function getRouteMap({
|
|
|
4239
4239
|
},
|
|
4240
4240
|
{
|
|
4241
4241
|
path: "/inventory",
|
|
4242
|
-
errorElement: /* @__PURE__ */
|
|
4242
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4243
4243
|
handle: {
|
|
4244
4244
|
breadcrumb: () => t("inventory.domain")
|
|
4245
4245
|
},
|
|
4246
4246
|
children: [
|
|
4247
4247
|
{
|
|
4248
4248
|
path: "",
|
|
4249
|
-
lazy: () => import("./inventory-list-
|
|
4249
|
+
lazy: () => import("./inventory-list-AE44PEW7.js"),
|
|
4250
4250
|
children: [
|
|
4251
4251
|
{
|
|
4252
4252
|
path: "create",
|
|
4253
|
-
lazy: () => import("./inventory-create-
|
|
4253
|
+
lazy: () => import("./inventory-create-3NJZLSFO.js")
|
|
4254
4254
|
},
|
|
4255
4255
|
{
|
|
4256
4256
|
path: "stock",
|
|
4257
|
-
lazy: () => import("./inventory-stock-
|
|
4257
|
+
lazy: () => import("./inventory-stock-M65W4GRN.js")
|
|
4258
4258
|
}
|
|
4259
4259
|
]
|
|
4260
4260
|
},
|
|
4261
4261
|
{
|
|
4262
4262
|
path: ":id",
|
|
4263
4263
|
lazy: async () => {
|
|
4264
|
-
const { Breadcrumb, loader } = await import("./inventory-detail-
|
|
4264
|
+
const { Breadcrumb, loader } = await import("./inventory-detail-B3HU2OVR.js");
|
|
4265
4265
|
return {
|
|
4266
4266
|
Component: Outlet4,
|
|
4267
4267
|
loader,
|
|
4268
4268
|
handle: {
|
|
4269
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4269
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4270
4270
|
}
|
|
4271
4271
|
};
|
|
4272
4272
|
},
|
|
4273
4273
|
children: [
|
|
4274
4274
|
{
|
|
4275
4275
|
path: "",
|
|
4276
|
-
lazy: () => import("./inventory-detail-
|
|
4276
|
+
lazy: () => import("./inventory-detail-B3HU2OVR.js"),
|
|
4277
4277
|
children: [
|
|
4278
4278
|
{
|
|
4279
4279
|
path: "edit",
|
|
4280
|
-
lazy: () => import("./edit-inventory-item-
|
|
4280
|
+
lazy: () => import("./edit-inventory-item-YOJTYA7H.js")
|
|
4281
4281
|
},
|
|
4282
4282
|
{
|
|
4283
4283
|
path: "attributes",
|
|
4284
|
-
lazy: () => import("./edit-inventory-item-attributes-
|
|
4284
|
+
lazy: () => import("./edit-inventory-item-attributes-JGY633F2.js")
|
|
4285
4285
|
},
|
|
4286
4286
|
{
|
|
4287
4287
|
path: "metadata/edit",
|
|
4288
|
-
lazy: () => import("./inventory-metadata-
|
|
4288
|
+
lazy: () => import("./inventory-metadata-WCFTI7AH.js")
|
|
4289
4289
|
},
|
|
4290
4290
|
{
|
|
4291
4291
|
path: "locations",
|
|
4292
|
-
lazy: () => import("./manage-locations-
|
|
4292
|
+
lazy: () => import("./manage-locations-E2XQPKKE.js")
|
|
4293
4293
|
},
|
|
4294
4294
|
{
|
|
4295
4295
|
path: "locations/:location_id",
|
|
4296
|
-
lazy: () => import("./adjust-inventory-
|
|
4296
|
+
lazy: () => import("./adjust-inventory-EAAPNIBZ.js")
|
|
4297
4297
|
}
|
|
4298
4298
|
]
|
|
4299
4299
|
}
|
|
@@ -4308,26 +4308,26 @@ function getRouteMap({
|
|
|
4308
4308
|
]
|
|
4309
4309
|
},
|
|
4310
4310
|
{
|
|
4311
|
-
element: /* @__PURE__ */
|
|
4312
|
-
errorElement: /* @__PURE__ */
|
|
4311
|
+
element: /* @__PURE__ */ jsx17(ProtectedRoute, {}),
|
|
4312
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4313
4313
|
children: [
|
|
4314
4314
|
{
|
|
4315
4315
|
path: "/settings",
|
|
4316
4316
|
handle: {
|
|
4317
4317
|
breadcrumb: () => t("app.nav.settings.header")
|
|
4318
4318
|
},
|
|
4319
|
-
element: /* @__PURE__ */
|
|
4319
|
+
element: /* @__PURE__ */ jsx17(SettingsLayout, {}),
|
|
4320
4320
|
children: mergeRoutes(
|
|
4321
4321
|
[
|
|
4322
4322
|
{
|
|
4323
4323
|
index: true,
|
|
4324
|
-
errorElement: /* @__PURE__ */
|
|
4324
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4325
4325
|
lazy: () => import("./settings-AVE3VCCM.js")
|
|
4326
4326
|
},
|
|
4327
4327
|
{
|
|
4328
4328
|
path: "profile",
|
|
4329
|
-
errorElement: /* @__PURE__ */
|
|
4330
|
-
element: /* @__PURE__ */
|
|
4329
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4330
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4331
4331
|
handle: {
|
|
4332
4332
|
breadcrumb: () => t("profile.domain")
|
|
4333
4333
|
},
|
|
@@ -4346,8 +4346,8 @@ function getRouteMap({
|
|
|
4346
4346
|
},
|
|
4347
4347
|
{
|
|
4348
4348
|
path: "regions",
|
|
4349
|
-
errorElement: /* @__PURE__ */
|
|
4350
|
-
element: /* @__PURE__ */
|
|
4349
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4350
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4351
4351
|
handle: {
|
|
4352
4352
|
breadcrumb: () => t("regions.domain")
|
|
4353
4353
|
},
|
|
@@ -4370,7 +4370,7 @@ function getRouteMap({
|
|
|
4370
4370
|
Component: Outlet4,
|
|
4371
4371
|
loader,
|
|
4372
4372
|
handle: {
|
|
4373
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4373
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4374
4374
|
}
|
|
4375
4375
|
};
|
|
4376
4376
|
},
|
|
@@ -4389,7 +4389,7 @@ function getRouteMap({
|
|
|
4389
4389
|
},
|
|
4390
4390
|
{
|
|
4391
4391
|
path: "metadata/edit",
|
|
4392
|
-
lazy: () => import("./region-metadata-
|
|
4392
|
+
lazy: () => import("./region-metadata-TNSJDCBM.js")
|
|
4393
4393
|
}
|
|
4394
4394
|
]
|
|
4395
4395
|
}
|
|
@@ -4399,15 +4399,15 @@ function getRouteMap({
|
|
|
4399
4399
|
},
|
|
4400
4400
|
{
|
|
4401
4401
|
path: "marketplace",
|
|
4402
|
-
errorElement: /* @__PURE__ */
|
|
4403
|
-
element: /* @__PURE__ */
|
|
4402
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4403
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4404
4404
|
handle: {
|
|
4405
4405
|
breadcrumb: () => t("marketplace.domain")
|
|
4406
4406
|
},
|
|
4407
4407
|
children: [
|
|
4408
4408
|
{
|
|
4409
4409
|
path: "",
|
|
4410
|
-
lazy: () => import("./marketplace-detail-
|
|
4410
|
+
lazy: () => import("./marketplace-detail-IQLU7R3J.js"),
|
|
4411
4411
|
children: [
|
|
4412
4412
|
{
|
|
4413
4413
|
path: "edit",
|
|
@@ -4419,7 +4419,7 @@ function getRouteMap({
|
|
|
4419
4419
|
},
|
|
4420
4420
|
{
|
|
4421
4421
|
path: "metadata/edit",
|
|
4422
|
-
lazy: () => import("./marketplace-metadata-
|
|
4422
|
+
lazy: () => import("./marketplace-metadata-7DNBHUDD.js")
|
|
4423
4423
|
}
|
|
4424
4424
|
]
|
|
4425
4425
|
}
|
|
@@ -4427,8 +4427,8 @@ function getRouteMap({
|
|
|
4427
4427
|
},
|
|
4428
4428
|
{
|
|
4429
4429
|
path: "commission-rates",
|
|
4430
|
-
errorElement: /* @__PURE__ */
|
|
4431
|
-
element: /* @__PURE__ */
|
|
4430
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4431
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4432
4432
|
handle: {
|
|
4433
4433
|
breadcrumb: () => t("commissionRates.domain")
|
|
4434
4434
|
},
|
|
@@ -4439,30 +4439,30 @@ function getRouteMap({
|
|
|
4439
4439
|
children: [
|
|
4440
4440
|
{
|
|
4441
4441
|
path: "create",
|
|
4442
|
-
lazy: () => import("./commission-rate-create-
|
|
4442
|
+
lazy: () => import("./commission-rate-create-7MEIKAXK.js")
|
|
4443
4443
|
}
|
|
4444
4444
|
]
|
|
4445
4445
|
},
|
|
4446
4446
|
{
|
|
4447
4447
|
path: ":id",
|
|
4448
4448
|
lazy: async () => {
|
|
4449
|
-
const { Breadcrumb, loader } = await import("./commission-rate-detail-
|
|
4449
|
+
const { Breadcrumb, loader } = await import("./commission-rate-detail-XBMB3Y7S.js");
|
|
4450
4450
|
return {
|
|
4451
4451
|
Component: Outlet4,
|
|
4452
4452
|
loader,
|
|
4453
4453
|
handle: {
|
|
4454
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4454
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4455
4455
|
}
|
|
4456
4456
|
};
|
|
4457
4457
|
},
|
|
4458
4458
|
children: [
|
|
4459
4459
|
{
|
|
4460
4460
|
path: "",
|
|
4461
|
-
lazy: () => import("./commission-rate-detail-
|
|
4461
|
+
lazy: () => import("./commission-rate-detail-XBMB3Y7S.js"),
|
|
4462
4462
|
children: [
|
|
4463
4463
|
{
|
|
4464
4464
|
path: "edit",
|
|
4465
|
-
lazy: () => import("./commission-rate-edit-
|
|
4465
|
+
lazy: () => import("./commission-rate-edit-XXUAGK5Q.js")
|
|
4466
4466
|
}
|
|
4467
4467
|
]
|
|
4468
4468
|
}
|
|
@@ -4472,8 +4472,8 @@ function getRouteMap({
|
|
|
4472
4472
|
},
|
|
4473
4473
|
{
|
|
4474
4474
|
path: "users",
|
|
4475
|
-
errorElement: /* @__PURE__ */
|
|
4476
|
-
element: /* @__PURE__ */
|
|
4475
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4476
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4477
4477
|
handle: {
|
|
4478
4478
|
breadcrumb: () => t("users.domain")
|
|
4479
4479
|
},
|
|
@@ -4491,19 +4491,19 @@ function getRouteMap({
|
|
|
4491
4491
|
{
|
|
4492
4492
|
path: ":id",
|
|
4493
4493
|
lazy: async () => {
|
|
4494
|
-
const { Breadcrumb, loader } = await import("./user-detail-
|
|
4494
|
+
const { Breadcrumb, loader } = await import("./user-detail-2OTVNTCL.js");
|
|
4495
4495
|
return {
|
|
4496
4496
|
Component: Outlet4,
|
|
4497
4497
|
loader,
|
|
4498
4498
|
handle: {
|
|
4499
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4499
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4500
4500
|
}
|
|
4501
4501
|
};
|
|
4502
4502
|
},
|
|
4503
4503
|
children: [
|
|
4504
4504
|
{
|
|
4505
4505
|
path: "",
|
|
4506
|
-
lazy: () => import("./user-detail-
|
|
4506
|
+
lazy: () => import("./user-detail-2OTVNTCL.js"),
|
|
4507
4507
|
children: [
|
|
4508
4508
|
{
|
|
4509
4509
|
path: "edit",
|
|
@@ -4511,7 +4511,7 @@ function getRouteMap({
|
|
|
4511
4511
|
},
|
|
4512
4512
|
{
|
|
4513
4513
|
path: "metadata/edit",
|
|
4514
|
-
lazy: () => import("./user-metadata-
|
|
4514
|
+
lazy: () => import("./user-metadata-GIR3A7WO.js")
|
|
4515
4515
|
}
|
|
4516
4516
|
]
|
|
4517
4517
|
}
|
|
@@ -4521,50 +4521,50 @@ function getRouteMap({
|
|
|
4521
4521
|
},
|
|
4522
4522
|
{
|
|
4523
4523
|
path: "sales-channels",
|
|
4524
|
-
errorElement: /* @__PURE__ */
|
|
4525
|
-
element: /* @__PURE__ */
|
|
4524
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4525
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4526
4526
|
handle: {
|
|
4527
4527
|
breadcrumb: () => t("salesChannels.domain")
|
|
4528
4528
|
},
|
|
4529
4529
|
children: [
|
|
4530
4530
|
{
|
|
4531
4531
|
path: "",
|
|
4532
|
-
lazy: () => import("./sales-channel-list-
|
|
4532
|
+
lazy: () => import("./sales-channel-list-YNHR5EHL.js"),
|
|
4533
4533
|
children: [
|
|
4534
4534
|
{
|
|
4535
4535
|
path: "create",
|
|
4536
|
-
lazy: () => import("./sales-channel-create-
|
|
4536
|
+
lazy: () => import("./sales-channel-create-MPZCRQBT.js")
|
|
4537
4537
|
}
|
|
4538
4538
|
]
|
|
4539
4539
|
},
|
|
4540
4540
|
{
|
|
4541
4541
|
path: ":id",
|
|
4542
4542
|
lazy: async () => {
|
|
4543
|
-
const { Breadcrumb, loader } = await import("./sales-channel-detail-
|
|
4543
|
+
const { Breadcrumb, loader } = await import("./sales-channel-detail-QCFO7VUA.js");
|
|
4544
4544
|
return {
|
|
4545
4545
|
Component: Outlet4,
|
|
4546
4546
|
loader,
|
|
4547
4547
|
handle: {
|
|
4548
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4548
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4549
4549
|
}
|
|
4550
4550
|
};
|
|
4551
4551
|
},
|
|
4552
4552
|
children: [
|
|
4553
4553
|
{
|
|
4554
4554
|
path: "",
|
|
4555
|
-
lazy: () => import("./sales-channel-detail-
|
|
4555
|
+
lazy: () => import("./sales-channel-detail-QCFO7VUA.js"),
|
|
4556
4556
|
children: [
|
|
4557
4557
|
{
|
|
4558
4558
|
path: "edit",
|
|
4559
|
-
lazy: () => import("./sales-channel-edit-
|
|
4559
|
+
lazy: () => import("./sales-channel-edit-GILK4QK3.js")
|
|
4560
4560
|
},
|
|
4561
4561
|
{
|
|
4562
4562
|
path: "add-products",
|
|
4563
|
-
lazy: () => import("./sales-channel-add-products-
|
|
4563
|
+
lazy: () => import("./sales-channel-add-products-IHGDKRKH.js")
|
|
4564
4564
|
},
|
|
4565
4565
|
{
|
|
4566
4566
|
path: "metadata/edit",
|
|
4567
|
-
lazy: () => import("./sales-channel-metadata-
|
|
4567
|
+
lazy: () => import("./sales-channel-metadata-OEQVWJRQ.js")
|
|
4568
4568
|
}
|
|
4569
4569
|
]
|
|
4570
4570
|
}
|
|
@@ -4574,15 +4574,15 @@ function getRouteMap({
|
|
|
4574
4574
|
},
|
|
4575
4575
|
{
|
|
4576
4576
|
path: "locations",
|
|
4577
|
-
errorElement: /* @__PURE__ */
|
|
4578
|
-
element: /* @__PURE__ */
|
|
4577
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4578
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4579
4579
|
handle: {
|
|
4580
4580
|
breadcrumb: () => t("locations.domain")
|
|
4581
4581
|
},
|
|
4582
4582
|
children: [
|
|
4583
4583
|
{
|
|
4584
4584
|
path: "",
|
|
4585
|
-
lazy: () => import("./location-list-
|
|
4585
|
+
lazy: () => import("./location-list-VS6V2FXE.js")
|
|
4586
4586
|
},
|
|
4587
4587
|
{
|
|
4588
4588
|
path: "create",
|
|
@@ -4590,7 +4590,7 @@ function getRouteMap({
|
|
|
4590
4590
|
},
|
|
4591
4591
|
{
|
|
4592
4592
|
path: "shipping-profiles",
|
|
4593
|
-
element: /* @__PURE__ */
|
|
4593
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4594
4594
|
handle: {
|
|
4595
4595
|
breadcrumb: () => t("shippingProfile.domain")
|
|
4596
4596
|
},
|
|
@@ -4613,7 +4613,7 @@ function getRouteMap({
|
|
|
4613
4613
|
Component: Outlet4,
|
|
4614
4614
|
loader,
|
|
4615
4615
|
handle: {
|
|
4616
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4616
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4617
4617
|
}
|
|
4618
4618
|
};
|
|
4619
4619
|
},
|
|
@@ -4624,7 +4624,7 @@ function getRouteMap({
|
|
|
4624
4624
|
children: [
|
|
4625
4625
|
{
|
|
4626
4626
|
path: "metadata/edit",
|
|
4627
|
-
lazy: () => import("./shipping-profile-metadata-
|
|
4627
|
+
lazy: () => import("./shipping-profile-metadata-FLTMLAZN.js")
|
|
4628
4628
|
}
|
|
4629
4629
|
]
|
|
4630
4630
|
}
|
|
@@ -4634,42 +4634,42 @@ function getRouteMap({
|
|
|
4634
4634
|
},
|
|
4635
4635
|
{
|
|
4636
4636
|
path: "shipping-option-types",
|
|
4637
|
-
errorElement: /* @__PURE__ */
|
|
4638
|
-
element: /* @__PURE__ */
|
|
4637
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4638
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4639
4639
|
handle: {
|
|
4640
4640
|
breadcrumb: () => t("shippingOptionTypes.domain")
|
|
4641
4641
|
},
|
|
4642
4642
|
children: [
|
|
4643
4643
|
{
|
|
4644
4644
|
path: "",
|
|
4645
|
-
lazy: () => import("./shipping-option-type-list-
|
|
4645
|
+
lazy: () => import("./shipping-option-type-list-6C26GWDM.js"),
|
|
4646
4646
|
children: [
|
|
4647
4647
|
{
|
|
4648
4648
|
path: "create",
|
|
4649
|
-
lazy: () => import("./shipping-option-type-create-
|
|
4649
|
+
lazy: () => import("./shipping-option-type-create-SMXDCF6I.js")
|
|
4650
4650
|
}
|
|
4651
4651
|
]
|
|
4652
4652
|
},
|
|
4653
4653
|
{
|
|
4654
4654
|
path: ":id",
|
|
4655
4655
|
lazy: async () => {
|
|
4656
|
-
const { Breadcrumb, loader } = await import("./shipping-option-type-detail-
|
|
4656
|
+
const { Breadcrumb, loader } = await import("./shipping-option-type-detail-MO3YRUVR.js");
|
|
4657
4657
|
return {
|
|
4658
4658
|
Component: Outlet4,
|
|
4659
4659
|
loader,
|
|
4660
4660
|
handle: {
|
|
4661
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4661
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4662
4662
|
}
|
|
4663
4663
|
};
|
|
4664
4664
|
},
|
|
4665
4665
|
children: [
|
|
4666
4666
|
{
|
|
4667
4667
|
path: "",
|
|
4668
|
-
lazy: () => import("./shipping-option-type-detail-
|
|
4668
|
+
lazy: () => import("./shipping-option-type-detail-MO3YRUVR.js"),
|
|
4669
4669
|
children: [
|
|
4670
4670
|
{
|
|
4671
4671
|
path: "edit",
|
|
4672
|
-
lazy: () => import("./shipping-option-type-edit-
|
|
4672
|
+
lazy: () => import("./shipping-option-type-edit-KO64TZS6.js")
|
|
4673
4673
|
}
|
|
4674
4674
|
]
|
|
4675
4675
|
}
|
|
@@ -4680,19 +4680,19 @@ function getRouteMap({
|
|
|
4680
4680
|
{
|
|
4681
4681
|
path: ":location_id",
|
|
4682
4682
|
lazy: async () => {
|
|
4683
|
-
const { Breadcrumb, loader } = await import("./location-detail-
|
|
4683
|
+
const { Breadcrumb, loader } = await import("./location-detail-2NCZD5MO.js");
|
|
4684
4684
|
return {
|
|
4685
4685
|
Component: Outlet4,
|
|
4686
4686
|
loader,
|
|
4687
4687
|
handle: {
|
|
4688
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4688
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4689
4689
|
}
|
|
4690
4690
|
};
|
|
4691
4691
|
},
|
|
4692
4692
|
children: [
|
|
4693
4693
|
{
|
|
4694
4694
|
path: "",
|
|
4695
|
-
lazy: () => import("./location-detail-
|
|
4695
|
+
lazy: () => import("./location-detail-2NCZD5MO.js"),
|
|
4696
4696
|
children: [
|
|
4697
4697
|
{
|
|
4698
4698
|
path: "edit",
|
|
@@ -4700,11 +4700,11 @@ function getRouteMap({
|
|
|
4700
4700
|
},
|
|
4701
4701
|
{
|
|
4702
4702
|
path: "sales-channels",
|
|
4703
|
-
lazy: () => import("./location-sales-channels-
|
|
4703
|
+
lazy: () => import("./location-sales-channels-TEUZYDTT.js")
|
|
4704
4704
|
},
|
|
4705
4705
|
{
|
|
4706
4706
|
path: "fulfillment-providers",
|
|
4707
|
-
lazy: () => import("./location-fulfillment-providers-
|
|
4707
|
+
lazy: () => import("./location-fulfillment-providers-3XKOFATD.js")
|
|
4708
4708
|
},
|
|
4709
4709
|
{
|
|
4710
4710
|
path: "fulfillment-set/:fset_id",
|
|
@@ -4729,7 +4729,7 @@ function getRouteMap({
|
|
|
4729
4729
|
children: [
|
|
4730
4730
|
{
|
|
4731
4731
|
path: "create",
|
|
4732
|
-
lazy: () => import("./location-service-zone-shipping-option-create-
|
|
4732
|
+
lazy: () => import("./location-service-zone-shipping-option-create-LAM3OHBC.js")
|
|
4733
4733
|
},
|
|
4734
4734
|
{
|
|
4735
4735
|
path: ":so_id",
|
|
@@ -4740,7 +4740,7 @@ function getRouteMap({
|
|
|
4740
4740
|
},
|
|
4741
4741
|
{
|
|
4742
4742
|
path: "pricing",
|
|
4743
|
-
lazy: () => import("./location-service-zone-shipping-option-pricing-
|
|
4743
|
+
lazy: () => import("./location-service-zone-shipping-option-pricing-POBJOF3Z.js")
|
|
4744
4744
|
}
|
|
4745
4745
|
]
|
|
4746
4746
|
}
|
|
@@ -4758,46 +4758,46 @@ function getRouteMap({
|
|
|
4758
4758
|
},
|
|
4759
4759
|
{
|
|
4760
4760
|
path: "product-tags",
|
|
4761
|
-
errorElement: /* @__PURE__ */
|
|
4762
|
-
element: /* @__PURE__ */
|
|
4761
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4762
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4763
4763
|
handle: {
|
|
4764
4764
|
breadcrumb: () => t("productTags.domain")
|
|
4765
4765
|
},
|
|
4766
4766
|
children: [
|
|
4767
4767
|
{
|
|
4768
4768
|
path: "",
|
|
4769
|
-
lazy: () => import("./product-tag-list-
|
|
4769
|
+
lazy: () => import("./product-tag-list-ZGRJZT2U.js"),
|
|
4770
4770
|
children: [
|
|
4771
4771
|
{
|
|
4772
4772
|
path: "create",
|
|
4773
|
-
lazy: () => import("./product-tag-create-
|
|
4773
|
+
lazy: () => import("./product-tag-create-47G425O2.js")
|
|
4774
4774
|
}
|
|
4775
4775
|
]
|
|
4776
4776
|
},
|
|
4777
4777
|
{
|
|
4778
4778
|
path: ":id",
|
|
4779
4779
|
lazy: async () => {
|
|
4780
|
-
const { Breadcrumb, loader } = await import("./product-tag-detail-
|
|
4780
|
+
const { Breadcrumb, loader } = await import("./product-tag-detail-VNGOBWYE.js");
|
|
4781
4781
|
return {
|
|
4782
4782
|
Component: Outlet4,
|
|
4783
4783
|
loader,
|
|
4784
4784
|
handle: {
|
|
4785
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4785
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4786
4786
|
}
|
|
4787
4787
|
};
|
|
4788
4788
|
},
|
|
4789
4789
|
children: [
|
|
4790
4790
|
{
|
|
4791
4791
|
path: "",
|
|
4792
|
-
lazy: () => import("./product-tag-detail-
|
|
4792
|
+
lazy: () => import("./product-tag-detail-VNGOBWYE.js"),
|
|
4793
4793
|
children: [
|
|
4794
4794
|
{
|
|
4795
4795
|
path: "edit",
|
|
4796
|
-
lazy: () => import("./product-tag-edit-
|
|
4796
|
+
lazy: () => import("./product-tag-edit-DN7IVL75.js")
|
|
4797
4797
|
},
|
|
4798
4798
|
{
|
|
4799
4799
|
path: "metadata/edit",
|
|
4800
|
-
lazy: () => import("./product-tag-metadata-
|
|
4800
|
+
lazy: () => import("./product-tag-metadata-YLDBRJMI.js")
|
|
4801
4801
|
}
|
|
4802
4802
|
]
|
|
4803
4803
|
}
|
|
@@ -4807,46 +4807,46 @@ function getRouteMap({
|
|
|
4807
4807
|
},
|
|
4808
4808
|
{
|
|
4809
4809
|
path: "attributes",
|
|
4810
|
-
errorElement: /* @__PURE__ */
|
|
4811
|
-
element: /* @__PURE__ */
|
|
4810
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4811
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4812
4812
|
handle: {
|
|
4813
4813
|
breadcrumb: () => t("attributes.domain")
|
|
4814
4814
|
},
|
|
4815
4815
|
children: [
|
|
4816
4816
|
{
|
|
4817
4817
|
path: "",
|
|
4818
|
-
lazy: () => import("./attribute-list-
|
|
4818
|
+
lazy: () => import("./attribute-list-URWKNTSJ.js"),
|
|
4819
4819
|
children: [
|
|
4820
4820
|
{
|
|
4821
4821
|
path: "create",
|
|
4822
|
-
lazy: () => import("./attribute-create-
|
|
4822
|
+
lazy: () => import("./attribute-create-F55LOXRA.js")
|
|
4823
4823
|
}
|
|
4824
4824
|
]
|
|
4825
4825
|
},
|
|
4826
4826
|
{
|
|
4827
4827
|
path: ":id",
|
|
4828
4828
|
lazy: async () => {
|
|
4829
|
-
const { Breadcrumb, loader } = await import("./attribute-detail-
|
|
4829
|
+
const { Breadcrumb, loader } = await import("./attribute-detail-NRDJUPTJ.js");
|
|
4830
4830
|
return {
|
|
4831
4831
|
Component: Outlet4,
|
|
4832
4832
|
loader,
|
|
4833
4833
|
handle: {
|
|
4834
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4834
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4835
4835
|
}
|
|
4836
4836
|
};
|
|
4837
4837
|
},
|
|
4838
4838
|
children: [
|
|
4839
4839
|
{
|
|
4840
4840
|
path: "",
|
|
4841
|
-
lazy: () => import("./attribute-detail-
|
|
4841
|
+
lazy: () => import("./attribute-detail-NRDJUPTJ.js"),
|
|
4842
4842
|
children: [
|
|
4843
4843
|
{
|
|
4844
4844
|
path: "edit",
|
|
4845
|
-
lazy: () => import("./attribute-edit-
|
|
4845
|
+
lazy: () => import("./attribute-edit-SB6GN67M.js")
|
|
4846
4846
|
},
|
|
4847
4847
|
{
|
|
4848
4848
|
path: "edit-possible-value",
|
|
4849
|
-
lazy: () => import("./attribute-edit-possible-value-
|
|
4849
|
+
lazy: () => import("./attribute-edit-possible-value-5CLQOLVR.js")
|
|
4850
4850
|
},
|
|
4851
4851
|
{
|
|
4852
4852
|
path: "create-possible-value",
|
|
@@ -4864,8 +4864,8 @@ function getRouteMap({
|
|
|
4864
4864
|
},
|
|
4865
4865
|
{
|
|
4866
4866
|
path: "product-types",
|
|
4867
|
-
errorElement: /* @__PURE__ */
|
|
4868
|
-
element: /* @__PURE__ */
|
|
4867
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4868
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4869
4869
|
handle: {
|
|
4870
4870
|
breadcrumb: () => t("productTypes.domain")
|
|
4871
4871
|
},
|
|
@@ -4883,19 +4883,19 @@ function getRouteMap({
|
|
|
4883
4883
|
{
|
|
4884
4884
|
path: ":id",
|
|
4885
4885
|
lazy: async () => {
|
|
4886
|
-
const { Breadcrumb, loader } = await import("./product-type-detail-
|
|
4886
|
+
const { Breadcrumb, loader } = await import("./product-type-detail-MPONGCVO.js");
|
|
4887
4887
|
return {
|
|
4888
4888
|
Component: Outlet4,
|
|
4889
4889
|
loader,
|
|
4890
4890
|
handle: {
|
|
4891
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4891
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4892
4892
|
}
|
|
4893
4893
|
};
|
|
4894
4894
|
},
|
|
4895
4895
|
children: [
|
|
4896
4896
|
{
|
|
4897
4897
|
path: "",
|
|
4898
|
-
lazy: () => import("./product-type-detail-
|
|
4898
|
+
lazy: () => import("./product-type-detail-MPONGCVO.js"),
|
|
4899
4899
|
children: [
|
|
4900
4900
|
{
|
|
4901
4901
|
path: "edit",
|
|
@@ -4903,7 +4903,7 @@ function getRouteMap({
|
|
|
4903
4903
|
},
|
|
4904
4904
|
{
|
|
4905
4905
|
path: "metadata/edit",
|
|
4906
|
-
lazy: () => import("./product-type-metadata-
|
|
4906
|
+
lazy: () => import("./product-type-metadata-TDAER7JD.js")
|
|
4907
4907
|
}
|
|
4908
4908
|
]
|
|
4909
4909
|
}
|
|
@@ -4913,8 +4913,8 @@ function getRouteMap({
|
|
|
4913
4913
|
},
|
|
4914
4914
|
{
|
|
4915
4915
|
path: "product-brands",
|
|
4916
|
-
errorElement: /* @__PURE__ */
|
|
4917
|
-
element: /* @__PURE__ */
|
|
4916
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4917
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4918
4918
|
handle: {
|
|
4919
4919
|
breadcrumb: () => t("productBrands.domain")
|
|
4920
4920
|
},
|
|
@@ -4932,19 +4932,19 @@ function getRouteMap({
|
|
|
4932
4932
|
{
|
|
4933
4933
|
path: ":id",
|
|
4934
4934
|
lazy: async () => {
|
|
4935
|
-
const { Breadcrumb, loader } = await import("./product-brand-detail-
|
|
4935
|
+
const { Breadcrumb, loader } = await import("./product-brand-detail-O7UKYV4H.js");
|
|
4936
4936
|
return {
|
|
4937
4937
|
Component: Outlet4,
|
|
4938
4938
|
loader,
|
|
4939
4939
|
handle: {
|
|
4940
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4940
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4941
4941
|
}
|
|
4942
4942
|
};
|
|
4943
4943
|
},
|
|
4944
4944
|
children: [
|
|
4945
4945
|
{
|
|
4946
4946
|
path: "",
|
|
4947
|
-
lazy: () => import("./product-brand-detail-
|
|
4947
|
+
lazy: () => import("./product-brand-detail-O7UKYV4H.js"),
|
|
4948
4948
|
children: [
|
|
4949
4949
|
{
|
|
4950
4950
|
path: "edit",
|
|
@@ -4952,7 +4952,7 @@ function getRouteMap({
|
|
|
4952
4952
|
},
|
|
4953
4953
|
{
|
|
4954
4954
|
path: "metadata/edit",
|
|
4955
|
-
lazy: () => import("./product-brand-metadata-
|
|
4955
|
+
lazy: () => import("./product-brand-metadata-N2CJ5K3Z.js")
|
|
4956
4956
|
}
|
|
4957
4957
|
]
|
|
4958
4958
|
}
|
|
@@ -4962,22 +4962,22 @@ function getRouteMap({
|
|
|
4962
4962
|
},
|
|
4963
4963
|
{
|
|
4964
4964
|
path: "publishable-api-keys",
|
|
4965
|
-
element: /* @__PURE__ */
|
|
4965
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4966
4966
|
handle: {
|
|
4967
4967
|
breadcrumb: () => t("apiKeyManagement.domain.publishable")
|
|
4968
4968
|
},
|
|
4969
4969
|
children: [
|
|
4970
4970
|
{
|
|
4971
4971
|
path: "",
|
|
4972
|
-
element: /* @__PURE__ */
|
|
4972
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4973
4973
|
children: [
|
|
4974
4974
|
{
|
|
4975
4975
|
path: "",
|
|
4976
|
-
lazy: () => import("./api-key-management-list-
|
|
4976
|
+
lazy: () => import("./api-key-management-list-OPANEDHB.js"),
|
|
4977
4977
|
children: [
|
|
4978
4978
|
{
|
|
4979
4979
|
path: "create",
|
|
4980
|
-
lazy: () => import("./api-key-management-create-
|
|
4980
|
+
lazy: () => import("./api-key-management-create-MRLR4WFZ.js")
|
|
4981
4981
|
}
|
|
4982
4982
|
]
|
|
4983
4983
|
}
|
|
@@ -4986,27 +4986,27 @@ function getRouteMap({
|
|
|
4986
4986
|
{
|
|
4987
4987
|
path: ":id",
|
|
4988
4988
|
lazy: async () => {
|
|
4989
|
-
const { Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
4989
|
+
const { Breadcrumb, loader } = await import("./api-key-management-detail-PIN6NFQF.js");
|
|
4990
4990
|
return {
|
|
4991
4991
|
Component: Outlet4,
|
|
4992
4992
|
loader,
|
|
4993
4993
|
handle: {
|
|
4994
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4994
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4995
4995
|
}
|
|
4996
4996
|
};
|
|
4997
4997
|
},
|
|
4998
4998
|
children: [
|
|
4999
4999
|
{
|
|
5000
5000
|
path: "",
|
|
5001
|
-
lazy: () => import("./api-key-management-detail-
|
|
5001
|
+
lazy: () => import("./api-key-management-detail-PIN6NFQF.js"),
|
|
5002
5002
|
children: [
|
|
5003
5003
|
{
|
|
5004
5004
|
path: "edit",
|
|
5005
|
-
lazy: () => import("./api-key-management-edit-
|
|
5005
|
+
lazy: () => import("./api-key-management-edit-EZHFP3RR.js")
|
|
5006
5006
|
},
|
|
5007
5007
|
{
|
|
5008
5008
|
path: "sales-channels",
|
|
5009
|
-
lazy: () => import("./api-key-management-sales-channels-
|
|
5009
|
+
lazy: () => import("./api-key-management-sales-channels-PBL3V4IS.js")
|
|
5010
5010
|
}
|
|
5011
5011
|
]
|
|
5012
5012
|
}
|
|
@@ -5016,22 +5016,22 @@ function getRouteMap({
|
|
|
5016
5016
|
},
|
|
5017
5017
|
{
|
|
5018
5018
|
path: "secret-api-keys",
|
|
5019
|
-
element: /* @__PURE__ */
|
|
5019
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5020
5020
|
handle: {
|
|
5021
5021
|
breadcrumb: () => t("apiKeyManagement.domain.secret")
|
|
5022
5022
|
},
|
|
5023
5023
|
children: [
|
|
5024
5024
|
{
|
|
5025
5025
|
path: "",
|
|
5026
|
-
element: /* @__PURE__ */
|
|
5026
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5027
5027
|
children: [
|
|
5028
5028
|
{
|
|
5029
5029
|
path: "",
|
|
5030
|
-
lazy: () => import("./api-key-management-list-
|
|
5030
|
+
lazy: () => import("./api-key-management-list-OPANEDHB.js"),
|
|
5031
5031
|
children: [
|
|
5032
5032
|
{
|
|
5033
5033
|
path: "create",
|
|
5034
|
-
lazy: () => import("./api-key-management-create-
|
|
5034
|
+
lazy: () => import("./api-key-management-create-MRLR4WFZ.js")
|
|
5035
5035
|
}
|
|
5036
5036
|
]
|
|
5037
5037
|
}
|
|
@@ -5040,23 +5040,23 @@ function getRouteMap({
|
|
|
5040
5040
|
{
|
|
5041
5041
|
path: ":id",
|
|
5042
5042
|
lazy: async () => {
|
|
5043
|
-
const { Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
5043
|
+
const { Breadcrumb, loader } = await import("./api-key-management-detail-PIN6NFQF.js");
|
|
5044
5044
|
return {
|
|
5045
5045
|
Component: Outlet4,
|
|
5046
5046
|
loader,
|
|
5047
5047
|
handle: {
|
|
5048
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
5048
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
5049
5049
|
}
|
|
5050
5050
|
};
|
|
5051
5051
|
},
|
|
5052
5052
|
children: [
|
|
5053
5053
|
{
|
|
5054
5054
|
path: "",
|
|
5055
|
-
lazy: () => import("./api-key-management-detail-
|
|
5055
|
+
lazy: () => import("./api-key-management-detail-PIN6NFQF.js"),
|
|
5056
5056
|
children: [
|
|
5057
5057
|
{
|
|
5058
5058
|
path: "edit",
|
|
5059
|
-
lazy: () => import("./api-key-management-edit-
|
|
5059
|
+
lazy: () => import("./api-key-management-edit-EZHFP3RR.js")
|
|
5060
5060
|
}
|
|
5061
5061
|
]
|
|
5062
5062
|
}
|
|
@@ -5066,7 +5066,7 @@ function getRouteMap({
|
|
|
5066
5066
|
},
|
|
5067
5067
|
{
|
|
5068
5068
|
path: "tax-regions",
|
|
5069
|
-
element: /* @__PURE__ */
|
|
5069
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5070
5070
|
handle: {
|
|
5071
5071
|
breadcrumb: () => t("taxRegions.domain")
|
|
5072
5072
|
},
|
|
@@ -5077,7 +5077,7 @@ function getRouteMap({
|
|
|
5077
5077
|
children: [
|
|
5078
5078
|
{
|
|
5079
5079
|
path: "create",
|
|
5080
|
-
lazy: () => import("./tax-region-create-
|
|
5080
|
+
lazy: () => import("./tax-region-create-NEKIT7TT.js")
|
|
5081
5081
|
}
|
|
5082
5082
|
]
|
|
5083
5083
|
},
|
|
@@ -5086,13 +5086,13 @@ function getRouteMap({
|
|
|
5086
5086
|
Component: Outlet4,
|
|
5087
5087
|
loader: taxRegionLoader,
|
|
5088
5088
|
handle: {
|
|
5089
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
5089
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(TaxRegionDetailBreadcrumb, { ...match })
|
|
5090
5090
|
},
|
|
5091
5091
|
children: [
|
|
5092
5092
|
{
|
|
5093
5093
|
path: "",
|
|
5094
5094
|
lazy: async () => {
|
|
5095
|
-
const { Component } = await import("./tax-region-detail-
|
|
5095
|
+
const { Component } = await import("./tax-region-detail-LVN5XSN5.js");
|
|
5096
5096
|
return {
|
|
5097
5097
|
Component
|
|
5098
5098
|
};
|
|
@@ -5100,7 +5100,7 @@ function getRouteMap({
|
|
|
5100
5100
|
children: [
|
|
5101
5101
|
{
|
|
5102
5102
|
path: "edit",
|
|
5103
|
-
lazy: () => import("./tax-region-edit-
|
|
5103
|
+
lazy: () => import("./tax-region-edit-4PJV5F5X.js")
|
|
5104
5104
|
},
|
|
5105
5105
|
{
|
|
5106
5106
|
path: "provinces/create",
|
|
@@ -5108,11 +5108,11 @@ function getRouteMap({
|
|
|
5108
5108
|
},
|
|
5109
5109
|
{
|
|
5110
5110
|
path: "overrides/create",
|
|
5111
|
-
lazy: () => import("./tax-region-tax-override-create-
|
|
5111
|
+
lazy: () => import("./tax-region-tax-override-create-OGW3MPBD.js")
|
|
5112
5112
|
},
|
|
5113
5113
|
{
|
|
5114
5114
|
path: "overrides/:tax_rate_id/edit",
|
|
5115
|
-
lazy: () => import("./tax-region-tax-override-edit-
|
|
5115
|
+
lazy: () => import("./tax-region-tax-override-edit-LTZCYN4Y.js")
|
|
5116
5116
|
},
|
|
5117
5117
|
{
|
|
5118
5118
|
path: "tax-rates/create",
|
|
@@ -5124,26 +5124,26 @@ function getRouteMap({
|
|
|
5124
5124
|
},
|
|
5125
5125
|
{
|
|
5126
5126
|
path: "metadata/edit",
|
|
5127
|
-
lazy: () => import("./tax-region-metadata-
|
|
5127
|
+
lazy: () => import("./tax-region-metadata-EYRFMJLL.js")
|
|
5128
5128
|
}
|
|
5129
5129
|
]
|
|
5130
5130
|
},
|
|
5131
5131
|
{
|
|
5132
5132
|
path: "provinces/:province_id",
|
|
5133
5133
|
lazy: async () => {
|
|
5134
|
-
const { Breadcrumb, loader } = await import("./tax-region-province-detail-
|
|
5134
|
+
const { Breadcrumb, loader } = await import("./tax-region-province-detail-MTHKW7LW.js");
|
|
5135
5135
|
return {
|
|
5136
5136
|
Component: Outlet4,
|
|
5137
5137
|
loader,
|
|
5138
5138
|
handle: {
|
|
5139
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
5139
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
5140
5140
|
}
|
|
5141
5141
|
};
|
|
5142
5142
|
},
|
|
5143
5143
|
children: [
|
|
5144
5144
|
{
|
|
5145
5145
|
path: "",
|
|
5146
|
-
lazy: () => import("./tax-region-province-detail-
|
|
5146
|
+
lazy: () => import("./tax-region-province-detail-MTHKW7LW.js"),
|
|
5147
5147
|
children: [
|
|
5148
5148
|
{
|
|
5149
5149
|
path: "tax-rates/create",
|
|
@@ -5155,11 +5155,11 @@ function getRouteMap({
|
|
|
5155
5155
|
},
|
|
5156
5156
|
{
|
|
5157
5157
|
path: "overrides/create",
|
|
5158
|
-
lazy: () => import("./tax-region-tax-override-create-
|
|
5158
|
+
lazy: () => import("./tax-region-tax-override-create-OGW3MPBD.js")
|
|
5159
5159
|
},
|
|
5160
5160
|
{
|
|
5161
5161
|
path: "overrides/:tax_rate_id/edit",
|
|
5162
|
-
lazy: () => import("./tax-region-tax-override-edit-
|
|
5162
|
+
lazy: () => import("./tax-region-tax-override-edit-LTZCYN4Y.js")
|
|
5163
5163
|
}
|
|
5164
5164
|
]
|
|
5165
5165
|
}
|
|
@@ -5171,14 +5171,14 @@ function getRouteMap({
|
|
|
5171
5171
|
},
|
|
5172
5172
|
{
|
|
5173
5173
|
path: "return-reasons",
|
|
5174
|
-
element: /* @__PURE__ */
|
|
5174
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5175
5175
|
handle: {
|
|
5176
5176
|
breadcrumb: () => t("returnReasons.domain")
|
|
5177
5177
|
},
|
|
5178
5178
|
children: [
|
|
5179
5179
|
{
|
|
5180
5180
|
path: "",
|
|
5181
|
-
lazy: () => import("./return-reason-list-
|
|
5181
|
+
lazy: () => import("./return-reason-list-WBLPUYD4.js"),
|
|
5182
5182
|
children: [
|
|
5183
5183
|
{
|
|
5184
5184
|
path: "create",
|
|
@@ -5199,25 +5199,25 @@ function getRouteMap({
|
|
|
5199
5199
|
},
|
|
5200
5200
|
{
|
|
5201
5201
|
path: "refund-reasons",
|
|
5202
|
-
element: /* @__PURE__ */
|
|
5202
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5203
5203
|
handle: {
|
|
5204
5204
|
breadcrumb: () => t("refundReasons.domain")
|
|
5205
5205
|
},
|
|
5206
5206
|
children: [
|
|
5207
5207
|
{
|
|
5208
5208
|
path: "",
|
|
5209
|
-
lazy: () => import("./refund-reason-list-
|
|
5209
|
+
lazy: () => import("./refund-reason-list-TS6JWYS4.js"),
|
|
5210
5210
|
children: [
|
|
5211
5211
|
{
|
|
5212
5212
|
path: "create",
|
|
5213
|
-
lazy: () => import("./refund-reason-create-
|
|
5213
|
+
lazy: () => import("./refund-reason-create-6RPQHIJI.js")
|
|
5214
5214
|
},
|
|
5215
5215
|
{
|
|
5216
5216
|
path: ":id",
|
|
5217
5217
|
children: [
|
|
5218
5218
|
{
|
|
5219
5219
|
path: "edit",
|
|
5220
|
-
lazy: () => import("./refund-reason-edit-
|
|
5220
|
+
lazy: () => import("./refund-reason-edit-W2TVZB3N.js")
|
|
5221
5221
|
}
|
|
5222
5222
|
]
|
|
5223
5223
|
}
|
|
@@ -5232,18 +5232,18 @@ function getRouteMap({
|
|
|
5232
5232
|
]
|
|
5233
5233
|
},
|
|
5234
5234
|
{
|
|
5235
|
-
element: /* @__PURE__ */
|
|
5235
|
+
element: /* @__PURE__ */ jsx17(PublicLayout, {}),
|
|
5236
5236
|
children: [
|
|
5237
5237
|
{
|
|
5238
|
-
errorElement: /* @__PURE__ */
|
|
5238
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
5239
5239
|
children: [
|
|
5240
5240
|
{
|
|
5241
5241
|
path: "/login",
|
|
5242
|
-
lazy: () => import("./login-
|
|
5242
|
+
lazy: () => import("./login-DJWU5X5L.js")
|
|
5243
5243
|
},
|
|
5244
5244
|
{
|
|
5245
5245
|
path: "/reset-password",
|
|
5246
|
-
lazy: () => import("./reset-password-
|
|
5246
|
+
lazy: () => import("./reset-password-3NYZNQPK.js")
|
|
5247
5247
|
},
|
|
5248
5248
|
{
|
|
5249
5249
|
path: "/invite",
|
|
@@ -5263,7 +5263,7 @@ function getRouteMap({
|
|
|
5263
5263
|
|
|
5264
5264
|
// src/app.tsx
|
|
5265
5265
|
import { useMemo as useMemo5 } from "react";
|
|
5266
|
-
import { jsx as
|
|
5266
|
+
import { jsx as jsx18, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5267
5267
|
function App() {
|
|
5268
5268
|
const routes = useMemo5(() => {
|
|
5269
5269
|
return {
|
|
@@ -5272,9 +5272,9 @@ function App() {
|
|
|
5272
5272
|
publicRoutes: createRouteMap(getRoutesByType(customRoutes, "public"))
|
|
5273
5273
|
};
|
|
5274
5274
|
}, []);
|
|
5275
|
-
return /* @__PURE__ */
|
|
5276
|
-
/* @__PURE__ */
|
|
5277
|
-
/* @__PURE__ */
|
|
5275
|
+
return /* @__PURE__ */ jsx18(TooltipProvider, { children: /* @__PURE__ */ jsx18(HelmetProvider, { children: /* @__PURE__ */ jsx18(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsxs11(ThemeProvider, { children: [
|
|
5276
|
+
/* @__PURE__ */ jsx18(I18n, {}),
|
|
5277
|
+
/* @__PURE__ */ jsx18(I18nProvider, { children: /* @__PURE__ */ jsx18(
|
|
5278
5278
|
RouterProvider,
|
|
5279
5279
|
{
|
|
5280
5280
|
router: createBrowserRouter(getRouteMap(routes), {
|
|
@@ -5282,7 +5282,7 @@ function App() {
|
|
|
5282
5282
|
})
|
|
5283
5283
|
}
|
|
5284
5284
|
) }),
|
|
5285
|
-
/* @__PURE__ */
|
|
5285
|
+
/* @__PURE__ */ jsx18(Toaster, {})
|
|
5286
5286
|
] }) }) }) });
|
|
5287
5287
|
}
|
|
5288
5288
|
export {
|