@mercurjs/admin 2.2.0-canary.2 → 2.2.0-canary.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-campaign-promotions-OLNTDP26.js → add-campaign-promotions-EB2MYHMZ.js} +4 -4
- package/dist/{adjust-inventory-CVWSBMHU.js → adjust-inventory-KNHM7QEV.js} +20 -21
- package/dist/{api-key-management-create-7RWOCVAO.js → api-key-management-create-7SIKAXEH.js} +4 -4
- package/dist/{api-key-management-detail-ZIIDMHFI.js → api-key-management-detail-ELMPBXEB.js} +26 -26
- package/dist/{api-key-management-edit-ACH6TJAX.js → api-key-management-edit-C4FYJZGH.js} +4 -4
- package/dist/{api-key-management-list-JHBBXGHH.js → api-key-management-list-FVOOICQR.js} +4 -4
- package/dist/{api-key-management-sales-channels-XEBTUB5V.js → api-key-management-sales-channels-JLSDZRG6.js} +8 -7
- package/dist/{attribute-create-2PNEX4PM.js → attribute-create-Q3IEGYRG.js} +66 -45
- package/dist/{attribute-detail-3QBRIF6Q.js → attribute-detail-SDYWELHS.js} +26 -24
- package/dist/{attribute-edit-5G7P3LP2.js → attribute-edit-4YPWXZRX.js} +3 -3
- package/dist/{attribute-edit-possible-value-VQ7MEFZA.js → attribute-edit-possible-value-YHEWXK6L.js} +3 -3
- package/dist/{attribute-list-OHU2QMUG.js → attribute-list-HW3R6764.js} +20 -21
- package/dist/breadcrumb-CO5DVI72.js +26 -0
- package/dist/breadcrumb-RYIHOYZE.js +27 -0
- package/dist/{campaign-budget-edit-WKSYXTBX.js → campaign-budget-edit-N2WWGO2G.js} +1 -1
- package/dist/{campaign-configuration-ZTK46EB5.js → campaign-configuration-MFFZXUEN.js} +1 -1
- package/dist/{campaign-create-VFFIIRE4.js → campaign-create-NMIOUGXQ.js} +3 -3
- package/dist/{campaign-detail-AZKBPDLC.js → campaign-detail-EAARQB3E.js} +23 -24
- package/dist/{campaign-edit-ZGLDY4X4.js → campaign-edit-PA7FGIY3.js} +1 -1
- package/dist/{categories-metadata-YZUP43OH.js → categories-metadata-INVMU224.js} +21 -22
- package/dist/{category-create-2MRYTSYM.js → category-create-AR33DJYX.js} +8 -5
- package/dist/{category-detail-PBGZSZRK.js → category-detail-ABK4MEZP.js} +29 -28
- package/dist/{category-edit-QLOS2LBA.js → category-edit-XKANIIH5.js} +3 -3
- package/dist/category-icon-edit-4GXAK4JZ.js +117 -0
- package/dist/{category-list-U7ZQBSZN.js → category-list-PFOINLTU.js} +7 -4
- package/dist/category-media-7SLAXXXM.js +654 -0
- package/dist/{category-organize-TIKTYJFZ.js → category-organize-U6UO35Y3.js} +2 -2
- package/dist/{category-products-4V2CKLVW.js → category-products-HTNBFHSW.js} +26 -27
- package/dist/{chunk-3JSAS7QP.js → chunk-22EOFXNK.js} +16 -0
- package/dist/{chunk-EREXPX6I.js → chunk-2KPITPB7.js} +23 -37
- package/dist/{chunk-BVZAGCTV.js → chunk-2L4W75VS.js} +3 -3
- package/dist/{chunk-26UTIAAZ.js → chunk-32URSQ4F.js} +1 -1
- package/dist/{chunk-CKACZXMP.js → chunk-3FN3YH2F.js} +4 -4
- package/dist/{chunk-5POK3PM3.js → chunk-3JN4WUVU.js} +4 -8
- package/dist/{chunk-EJTB2SLE.js → chunk-3LYOKDUA.js} +1 -1
- package/dist/{chunk-VKOE5J66.js → chunk-3XOE4NV5.js} +11 -2
- package/dist/{chunk-XODRTI2W.js → chunk-47TXYMFT.js} +1 -1
- package/dist/chunk-4FHHNYIV.js +280 -0
- package/dist/{chunk-Q6I2IKJB.js → chunk-4GRFDNQQ.js} +2 -2
- package/dist/{chunk-2LQ5SCPB.js → chunk-4O7GPTNJ.js} +19 -7
- package/dist/{chunk-ZHOI4QMK.js → chunk-4OEYCLBE.js} +1 -1
- package/dist/{chunk-HDRFPI6V.js → chunk-4UWPTSZK.js} +346 -424
- package/dist/{chunk-637OFDFC.js → chunk-5NQUJQXX.js} +243 -78
- package/dist/{chunk-IRTI3AS3.js → chunk-5T45PYWI.js} +4 -4
- package/dist/{chunk-GJ6WPZQG.js → chunk-67RX3M6X.js} +158 -27
- package/dist/{chunk-DZIXC7OE.js → chunk-6FLSBL4Q.js} +30 -85
- package/dist/{chunk-3EDQIZV6.js → chunk-6LG3VL3Q.js} +2 -2
- package/dist/{chunk-2S6VXFBZ.js → chunk-6PTZK4CH.js} +4 -4
- package/dist/{chunk-TITPJHIL.js → chunk-6YPV4T3R.js} +1 -1
- package/dist/{chunk-DKMBAZ5P.js → chunk-7IVRL4AF.js} +7 -7
- package/dist/{chunk-G4PROEJI.js → chunk-7ZL46D3W.js} +4 -4
- package/dist/{chunk-HR7TFO2X.js → chunk-A3IFGUDD.js} +3 -3
- package/dist/{chunk-P25PIADJ.js → chunk-AH3KBVKC.js} +1 -1
- package/dist/{chunk-UXD3VNBO.js → chunk-AJLGY3LQ.js} +1 -2
- package/dist/{chunk-CMHI2RPL.js → chunk-AKSUGT5I.js} +21 -0
- package/dist/{chunk-6LZAVEHW.js → chunk-ARN66CDK.js} +3 -3
- package/dist/{chunk-WYA62MUL.js → chunk-AROCMF45.js} +1 -1
- package/dist/chunk-AWLDIHXR.js +204 -0
- package/dist/{chunk-BHOZKBYY.js → chunk-B5OMHYJ5.js} +6 -4
- package/dist/chunk-BN6OOLJA.js +358 -0
- package/dist/{chunk-LYZT5REU.js → chunk-C4XKPQ6T.js} +14 -1
- package/dist/{chunk-NQBSSM5V.js → chunk-CKQPO2SN.js} +2 -2
- package/dist/{chunk-BGGUVHDG.js → chunk-CPWOVYZE.js} +604 -744
- package/dist/{chunk-54RTJBYO.js → chunk-DGCPYCHU.js} +8 -63
- package/dist/{chunk-HLPCO2OQ.js → chunk-EAC3J2Z4.js} +5 -5
- package/dist/{chunk-JQV7CXEC.js → chunk-EDDKIVMF.js} +17 -2
- package/dist/chunk-EG45GIE3.js +368 -0
- package/dist/{chunk-TP7L6M7V.js → chunk-FBD7WJPO.js} +1 -1
- package/dist/{chunk-K4TGNN4P.js → chunk-FCLS6CKW.js} +2 -2
- package/dist/{chunk-FTAR3BDS.js → chunk-FJHAAROU.js} +1 -1
- package/dist/chunk-FNGPOGDR.js +213 -0
- package/dist/{chunk-4LXBQTFN.js → chunk-FREUYHMS.js} +1 -1
- package/dist/{chunk-Q2QFNTNX.js → chunk-FWWPSH6V.js} +1 -1
- package/dist/{chunk-PXTJJQKJ.js → chunk-FYKG35MR.js} +1 -1
- package/dist/{chunk-BAYORQYD.js → chunk-FZHLRCBV.js} +4 -4
- package/dist/{chunk-AB2LHP3M.js → chunk-G66KMUI5.js} +1 -1
- package/dist/{chunk-GNLPUGYK.js → chunk-GHGOOZEL.js} +2 -2
- package/dist/{chunk-ZSFJVRRS.js → chunk-GQUGCSJV.js} +2 -2
- package/dist/chunk-GVEF6UDT.js +8 -0
- package/dist/{chunk-V6OGMYAI.js → chunk-HHW4PPNH.js} +159 -169
- package/dist/{chunk-GKW445WA.js → chunk-IHTQOPB6.js} +13 -187
- package/dist/{chunk-6MJ6ZSJF.js → chunk-IO5S4RFO.js} +6 -6
- package/dist/{chunk-DRJAKRTI.js → chunk-ISS4LS3E.js} +1 -1
- package/dist/{chunk-JQBSPUH2.js → chunk-J3AMUGGZ.js} +14 -1
- package/dist/{chunk-3IVTUFBM.js → chunk-JAPKOO4T.js} +1 -1
- package/dist/chunk-JEJQKTZO.js +191 -0
- package/dist/{chunk-Y2M536WR.js → chunk-JHBNG7OD.js} +17 -0
- package/dist/{chunk-N2LH7A4X.js → chunk-JR4T4OQU.js} +10 -10
- package/dist/{chunk-WKCYMDTV.js → chunk-JRLDKKCM.js} +3 -3
- package/dist/{chunk-XFQH5HPP.js → chunk-JZBVDH6A.js} +3 -3
- package/dist/{chunk-YZW5JD5A.js → chunk-KAAUSK5T.js} +119 -184
- package/dist/{chunk-YGRTRAWX.js → chunk-KDE4HKH2.js} +1 -0
- package/dist/{chunk-SRDK3XX7.js → chunk-KNB55WE4.js} +2 -2
- package/dist/{chunk-QABGBGAE.js → chunk-KNZ6ICKB.js} +6 -6
- package/dist/{chunk-H5PYBIOZ.js → chunk-KYFWVLWO.js} +1 -1
- package/dist/chunk-KZB7LCF2.js +82 -0
- package/dist/{chunk-BE6JLTMI.js → chunk-L5Z4JGRD.js} +1 -1
- package/dist/{chunk-CKNQJPAG.js → chunk-LEHS6RED.js} +4 -2
- package/dist/{chunk-FB7DDNCA.js → chunk-LHVXXHPO.js} +1 -1
- package/dist/{chunk-UPNMDPFX.js → chunk-LLHYICP5.js} +18 -6
- package/dist/{chunk-FFNSWUDC.js → chunk-LNPJFQWA.js} +11 -4
- package/dist/{chunk-YGAX72XV.js → chunk-LO2ZWQGL.js} +0 -2
- package/dist/{chunk-3P4VTL4S.js → chunk-LTAQZW2L.js} +6 -6
- package/dist/{chunk-S72BD7TM.js → chunk-LYCKVPWQ.js} +12 -4
- package/dist/{chunk-2YYXP6XI.js → chunk-M2E3PKA4.js} +196 -212
- package/dist/{chunk-YLKG7W4P.js → chunk-M3YII6OB.js} +73 -20
- package/dist/{chunk-PQI4UJ6F.js → chunk-MASXQMJY.js} +3 -3
- package/dist/{chunk-H5EOOXPA.js → chunk-N6R2WOJ7.js} +1 -2
- package/dist/{chunk-ZF3WBVOB.js → chunk-NEZ35LWM.js} +3 -3
- package/dist/{chunk-QIU6DJY6.js → chunk-NZOB3LPA.js} +1 -1
- package/dist/{chunk-S5BJ5CMF.js → chunk-OKWGPKVK.js} +1 -1
- package/dist/{chunk-6GWCDARX.js → chunk-ORENI3LP.js} +3 -3
- package/dist/{chunk-KXIA66EJ.js → chunk-PAEKCYFU.js} +7 -3
- package/dist/{chunk-AXTQMIIK.js → chunk-PJR6W35H.js} +8 -27
- package/dist/chunk-PN5C4AND.js +115 -0
- package/dist/{chunk-UXQAHUGZ.js → chunk-POSHDM4L.js} +1 -1
- package/dist/{chunk-6FIU2V6Y.js → chunk-PT3DTHQK.js} +1 -1
- package/dist/chunk-PZ27H46M.js +358 -0
- package/dist/{chunk-XZZTC7E5.js → chunk-QKJGSZI2.js} +1 -1
- package/dist/{chunk-N7KTSXS5.js → chunk-QPLEFEOZ.js} +1 -1
- package/dist/chunk-QR3GYYX6.js +0 -0
- package/dist/{chunk-3B6MTW5G.js → chunk-QUHSHIAC.js} +3 -0
- package/dist/{chunk-PRBE5CM3.js → chunk-QYDWMBEX.js} +31 -0
- package/dist/{chunk-BCVUMATY.js → chunk-R2UDZINP.js} +216 -40
- package/dist/{chunk-OSEIN4Y2.js → chunk-RDTFLHYO.js} +2 -2
- package/dist/{chunk-B3EEDC47.js → chunk-RMAQKNBA.js} +10 -94
- package/dist/{chunk-ED7XNGZD.js → chunk-RWW3TAJQ.js} +4 -4
- package/dist/chunk-RXRDZ47F.js +103 -0
- package/dist/chunk-S6A4FVM2.js +170 -0
- package/dist/{chunk-XQBPW3A4.js → chunk-S6E7XAWX.js} +2 -2
- package/dist/{chunk-CBGXKU7Z.js → chunk-SEY52XON.js} +4 -4
- package/dist/{chunk-U2ZFCAPX.js → chunk-SITRHMZZ.js} +11 -8
- package/dist/{chunk-RQPDD3RI.js → chunk-SKKF3CU6.js} +1 -1
- package/dist/{chunk-BGQ7H2KL.js → chunk-SMQM5N45.js} +2 -2
- package/dist/{chunk-BLYJZMNE.js → chunk-TLOJG7LK.js} +2 -2
- package/dist/chunk-UIVWOKWT.js +63 -0
- package/dist/chunk-UKLRBS4W.js +61 -0
- package/dist/{chunk-WS63IRBI.js → chunk-UUTACMA5.js} +6 -6
- package/dist/{chunk-BECQJZQ4.js → chunk-V3ATA433.js} +17 -8
- package/dist/{chunk-4KX6CBJ4.js → chunk-VSLHL2AZ.js} +2 -0
- package/dist/{chunk-WDH5C2NS.js → chunk-WJGABDWC.js} +1 -1
- package/dist/{chunk-A772RAKB.js → chunk-XGUUM3S6.js} +1 -1
- package/dist/{chunk-I5THQVYP.js → chunk-XIFE4VUR.js} +1 -1
- package/dist/chunk-XVSJKCCQ.js +142 -0
- package/dist/chunk-Y3RABQC4.js +33 -0
- package/dist/{chunk-HRGC5JHU.js → chunk-YUECTKEY.js} +107 -411
- package/dist/{chunk-S4SVK5DE.js → chunk-YVLANFBK.js} +29 -1
- package/dist/{chunk-NXLOYMWF.js → chunk-Z7AXFQPD.js} +8 -8
- package/dist/{chunk-OHOWEMHO.js → chunk-ZIFHQXP3.js} +31 -25
- package/dist/{chunk-U7AZOXPV.js → chunk-ZLETFDWJ.js} +205 -110
- package/dist/{collection-add-products-33MYCTBF.js → collection-add-products-CKF2VFVK.js} +25 -26
- package/dist/{collection-create-HUNYHKUJ.js → collection-create-UNGPKT7H.js} +86 -15
- package/dist/{collection-detail-ACN5GFHC.js → collection-detail-36QTD3ZU.js} +27 -26
- package/dist/{collection-edit-OQGYTQDO.js → collection-edit-LQEQ6YGD.js} +3 -3
- package/dist/collection-icon-edit-V4SNBMD5.js +117 -0
- package/dist/{collection-list-M4MFNMXL.js → collection-list-UN7C36DU.js} +32 -30
- package/dist/collection-media-ESJUYVF7.js +654 -0
- package/dist/{collection-metadata-47N7TUOH.js → collection-metadata-6SD67JUV.js} +21 -22
- package/dist/commission-rule-commission-edit-TA3H3EEN.js +196 -0
- package/dist/commission-rule-create-O7Z25SC7.js +412 -0
- package/dist/commission-rule-detail-I7LVSNAM.js +45 -0
- package/dist/commission-rule-edit-YSHDTYZY.js +342 -0
- package/dist/{product-brand-list-ZBPBSRQN.js → commissions-list-OUGVPED6.js} +12 -7
- package/dist/{constants-26tEckuq.d.ts → constants-Bahlh59D.d.ts} +8 -4
- package/dist/{customer-create-QHA4KM6N.js → customer-create-HZXLOIZH.js} +2 -2
- package/dist/{customer-create-address-TYWVWNUE.js → customer-create-address-AEZNVQOG.js} +2 -2
- package/dist/{customer-detail-D5SSLNFT.js → customer-detail-3OQ7RSDN.js} +24 -29
- package/dist/{customer-edit-JZ4PQTIN.js → customer-edit-MMRTWOAF.js} +2 -2
- package/dist/customer-edit-address-AEYX2LMP.js +302 -0
- package/dist/{customer-group-add-customers-VJUBEN7M.js → customer-group-add-customers-4OAYSXWK.js} +3 -3
- package/dist/{customer-group-create-NA2UKCF6.js → customer-group-create-25JT74S3.js} +2 -2
- package/dist/{customer-group-detail-KRT7E2JA.js → customer-group-detail-CH4UIK3X.js} +21 -22
- package/dist/{customer-group-edit-3O6HAYYN.js → customer-group-edit-AAI47MUL.js} +2 -2
- package/dist/{customer-group-list-KKDIESQ6.js → customer-group-list-777C2B57.js} +22 -23
- package/dist/{customer-group-metadata-J6JY7DZ3.js → customer-group-metadata-ELFKJMYK.js} +21 -22
- package/dist/{customer-list-MB6WZFMA.js → customer-list-U7VFBV7E.js} +3 -3
- package/dist/{customer-metadata-AH2LBK4T.js → customer-metadata-4H6ADARR.js} +21 -22
- package/dist/{customers-add-customer-group-AHGAPEIS.js → customers-add-customer-group-AZ3ILZMA.js} +22 -23
- package/dist/{edit-inventory-item-ADNLKLCN.js → edit-inventory-item-NL5WNNI3.js} +20 -21
- package/dist/{edit-inventory-item-attributes-XVR2WLDU.js → edit-inventory-item-attributes-2JEH72WW.js} +20 -21
- package/dist/{edit-reservation-HQQL42QX.js → edit-reservation-TBZL2REV.js} +3 -3
- package/dist/{edit-rules-YMKM5JPI.js → edit-rules-XYTK7DQ2.js} +21 -22
- package/dist/global-commission-edit-LCD6JJUX.js +194 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +626 -632
- package/dist/{inventory-create-IVESXFSV.js → inventory-create-7RQSCNCQ.js} +24 -25
- package/dist/{inventory-detail-TINIAFVB.js → inventory-detail-W7BGKWKL.js} +20 -21
- package/dist/{inventory-list-YLIAKQXI.js → inventory-list-SCRYOBZV.js} +2 -2
- package/dist/{inventory-metadata-6INRH2JC.js → inventory-metadata-ZGLTDSQB.js} +21 -22
- package/dist/{inventory-stock-6YGTATID.js → inventory-stock-US7LGBC4.js} +204 -43
- package/dist/loader-S77URTQS.js +32 -0
- package/dist/loader-XPJWDZU3.js +32 -0
- package/dist/{location-create-ZMNB7YKR.js → location-create-SO2CURZL.js} +1 -1
- package/dist/{location-detail-EK2S7WOK.js → location-detail-GAINHCV5.js} +21 -22
- package/dist/{location-edit-DMBF3CYZ.js → location-edit-XA53657R.js} +1 -1
- package/dist/{location-fulfillment-providers-V26OWDAI.js → location-fulfillment-providers-6DFBFALS.js} +25 -26
- package/dist/{location-list-IV323QW2.js → location-list-QXIHD6NJ.js} +21 -22
- package/dist/{location-sales-channels-EYUXMTW7.js → location-sales-channels-46SPET7R.js} +7 -6
- package/dist/{location-service-zone-create-ZS3UWJAA.js → location-service-zone-create-IOB7DWBR.js} +1 -1
- package/dist/{location-service-zone-edit-MTGU2O4C.js → location-service-zone-edit-X37BNDRP.js} +1 -1
- package/dist/{location-service-zone-manage-areas-S7QZTIFT.js → location-service-zone-manage-areas-CWWABV5M.js} +1 -1
- package/dist/{location-service-zone-shipping-option-create-36JZFRGY.js → location-service-zone-shipping-option-create-AUNZVIGU.js} +24 -25
- package/dist/{location-service-zone-shipping-option-edit-3PGSNKYT.js → location-service-zone-shipping-option-edit-WRSLBO23.js} +4 -4
- package/dist/{location-service-zone-shipping-option-pricing-JLGCOZGS.js → location-service-zone-shipping-option-pricing-FZNCTVT6.js} +8 -8
- package/dist/{login-6L3RMREO.js → login-NFPUZDAL.js} +19 -20
- package/dist/{manage-locations-CFTM6DNH.js → manage-locations-WW35SVOX.js} +1 -1
- package/dist/{marketplace-add-currencies-6ANNBGZM.js → marketplace-add-currencies-YVJA6G6V.js} +1 -1
- package/dist/{marketplace-detail-BAU2MEJT.js → marketplace-detail-M7DWNMIH.js} +21 -22
- package/dist/{marketplace-edit-6Q3G2OY5.js → marketplace-edit-QNFCTDUC.js} +1 -1
- package/dist/{marketplace-metadata-KRCGKOCA.js → marketplace-metadata-FYJ7TJLZ.js} +22 -23
- package/dist/offer-detail-page-2DG3W7VG.js +572 -0
- package/dist/offer-variant-detail-page-U4LDYFE3.js +143 -0
- package/dist/{offers-J2SFSNF3.js → offers-PYM6LQSX.js} +287 -124
- package/dist/{order-create-claim-RMDDCUZ6.js → order-create-claim-2MO3LM6J.js} +271 -246
- package/dist/{order-create-edit-PQ54JFZZ.js → order-create-edit-UFD26FE2.js} +206 -111
- package/dist/{order-create-exchange-T6DBVS75.js → order-create-exchange-4PWNGE6U.js} +279 -252
- package/dist/{order-create-refund-OW3MIXBY.js → order-create-refund-A4AXOFZC.js} +24 -25
- package/dist/{order-create-return-YCX6C3VP.js → order-create-return-Y7QS52UL.js} +46 -19
- package/dist/{order-detail-2OAEGBQG.js → order-detail-HPYAUA2N.js} +30 -32
- package/dist/{order-edit-billing-address-VGZBQHF5.js → order-edit-billing-address-R7DOKCV5.js} +22 -23
- package/dist/{order-edit-email-OOCXVRET.js → order-edit-email-44O3ARQ4.js} +21 -22
- package/dist/{order-edit-shipping-address-B4F3E5RE.js → order-edit-shipping-address-UI2AHBXW.js} +21 -22
- package/dist/{order-list-ERQWQ6UI.js → order-list-IVXCYRGB.js} +9 -9
- package/dist/{order-metadata-AN6MPHHT.js → order-metadata-3U5KT3MW.js} +21 -22
- package/dist/{order-request-transfer-A2NJSQ4H.js → order-request-transfer-OM3BPIWZ.js} +21 -22
- package/dist/pages/index.d.ts +159 -340
- package/dist/pages/index.js +191 -194
- package/dist/{price-list-configuration-XAHXLCXR.js → price-list-configuration-6LD6DTEQ.js} +8 -7
- package/dist/{price-list-create-XCP32SJZ.js → price-list-create-SR24HYH3.js} +32 -33
- package/dist/{price-list-detail-26RLU4G3.js → price-list-detail-QIMJQ6DD.js} +26 -27
- package/dist/{price-list-edit-ZVLD4M5T.js → price-list-edit-MEM47NGY.js} +4 -4
- package/dist/{price-list-list-ER4TOZTY.js → price-list-list-GIVZGIYW.js} +5 -5
- package/dist/{price-list-prices-add-H4E2IVBC.js → price-list-prices-add-VE5RTT5O.js} +29 -30
- package/dist/{price-list-prices-edit-WHCIGSB2.js → price-list-prices-edit-R52K4MBL.js} +22 -23
- package/dist/{product-add-existing-attributes-MSJD3GOP.js → product-add-existing-attributes-AC4643LI.js} +66 -30
- package/dist/{product-attributes-MHRXZK5S.js → product-attributes-2LAKXXX6.js} +3 -3
- package/dist/{product-bulk-edit-J6ZP7GGM.js → product-bulk-edit-G7QTYQHG.js} +6 -8
- package/dist/{product-create-WOCQFTMZ.js → product-create-R5HJ2GYT.js} +32 -33
- package/dist/{product-create-attribute-ZT3VZDNZ.js → product-create-attribute-ELMLVRUB.js} +75 -47
- package/dist/product-create-variant-FQSREC66.js +20 -0
- package/dist/{product-detail-AOMYROBE.js → product-detail-77DV4TAW.js} +26 -26
- package/dist/{product-edit-EKAZRIJ6.js → product-edit-3Q5E5E5L.js} +3 -5
- package/dist/product-edit-attribute-WW4LCYD7.js +175 -0
- package/dist/{product-list-J7RDCTOW.js → product-list-4JGMM4AF.js} +26 -27
- package/dist/{product-media-KREKRDOC.js → product-media-OL4ETNFW.js} +9 -8
- package/dist/{product-metadata-O3BAEUYB.js → product-metadata-H53ZIWBS.js} +22 -23
- package/dist/{product-organization-SBQY44IF.js → product-organization-ILQCXL7B.js} +5 -48
- package/dist/{product-sales-channels-TFOGXCMI.js → product-sales-channels-7QCAABL4.js} +7 -6
- package/dist/{product-shipping-profile-E4HJ4EYW.js → product-shipping-profile-4K7LTJ5K.js} +3 -3
- package/dist/{product-tag-create-7JBM6I3V.js → product-tag-create-4OT4PMCG.js} +20 -21
- package/dist/{product-tag-detail-FCVZLJ7N.js → product-tag-detail-NVTDW7BR.js} +43 -42
- package/dist/{product-tag-edit-O2ADFDD6.js → product-tag-edit-RXF6ZZ6E.js} +20 -21
- package/dist/{product-tag-list-N44OW4BR.js → product-tag-list-T6BDTH24.js} +43 -42
- package/dist/{product-tag-metadata-SBOUTUXY.js → product-tag-metadata-HN5QRCYY.js} +21 -22
- package/dist/{product-type-create-RHG4KEAV.js → product-type-create-A7SUR2OX.js} +1 -1
- package/dist/{product-type-detail-II4RYMUP.js → product-type-detail-KOGHJIMG.js} +27 -28
- package/dist/{product-type-edit-CABB7R7Y.js → product-type-edit-DM4U2VB4.js} +1 -1
- package/dist/{product-type-metadata-KN5OXR6J.js → product-type-metadata-QUCMB3ZJ.js} +23 -24
- package/dist/{product-variant-detail-H2YRFDAU.js → product-variant-detail-6XBLXEXQ.js} +24 -34
- package/dist/{product-variant-edit-3HKWOCHQ.js → product-variant-edit-3KAFS4OC.js} +171 -262
- package/dist/{product-variant-metadata-QESZ7VS2.js → product-variant-metadata-N5H2VPGQ.js} +21 -22
- package/dist/{profile-edit-HQTWYWZ7.js → profile-edit-H5QZ66PF.js} +1 -1
- package/dist/{promotion-add-campaign-O3RTMS3W.js → promotion-add-campaign-V3RJ634F.js} +4 -4
- package/dist/{promotion-create-TGC6BVWF.js → promotion-create-Y2XVWGAT.js} +25 -26
- package/dist/{promotion-detail-VYIXZMMD.js → promotion-detail-SCS7MWD7.js} +22 -23
- package/dist/{promotion-edit-details-TKRC5HES.js → promotion-edit-details-NWOBD3YD.js} +1 -1
- package/dist/{promotion-list-C3SKV5BJ.js → promotion-list-ZFF4E4ZW.js} +4 -4
- package/dist/{refund-reason-create-2KEQFOID.js → refund-reason-create-CIXYHBRC.js} +20 -21
- package/dist/{refund-reason-edit-E7CB7SM3.js → refund-reason-edit-AXMEDPRT.js} +20 -21
- package/dist/{refund-reason-list-CB2FZPDK.js → refund-reason-list-F56TJAGR.js} +38 -37
- package/dist/{region-add-countries-COXN4LP3.js → region-add-countries-5I2UDAJU.js} +1 -1
- package/dist/{region-create-P66Q65XY.js → region-create-SIB6WZPV.js} +1 -1
- package/dist/{region-edit-XFE54SAO.js → region-edit-YQZCZIX3.js} +1 -1
- package/dist/region-list-2XXKCDDX.js +1 -1
- package/dist/{region-metadata-723RQGHS.js → region-metadata-QGH7IBQU.js} +24 -25
- package/dist/{reservation-create-Y3HG4AZA.js → reservation-create-F6YDCLCG.js} +3 -3
- package/dist/{reservation-detail-HQMADZ56.js → reservation-detail-7TL2OFEM.js} +20 -21
- package/dist/{reservation-list-YKC3JJ6K.js → reservation-list-RGD6O4RY.js} +3 -3
- package/dist/{reservation-metadata-UG4YTEMY.js → reservation-metadata-UXACXYO6.js} +21 -22
- package/dist/{reset-password-2VNU52CE.js → reset-password-Y7HXY2NX.js} +1 -1
- package/dist/{return-reason-create-KED7446I.js → return-reason-create-G7ON7U3A.js} +1 -1
- package/dist/{return-reason-edit-57EU3XSE.js → return-reason-edit-77RVRFF6.js} +1 -1
- package/dist/{return-reason-list-47DFQ3NX.js → return-reason-list-EJ5DLDR2.js} +21 -19
- package/dist/{sales-channel-add-products-KKU2AR5R.js → sales-channel-add-products-7ERGMGJ7.js} +25 -26
- package/dist/{sales-channel-create-BSNCLZWR.js → sales-channel-create-TAKKGGK3.js} +3 -3
- package/dist/{sales-channel-detail-5WPD5VKT.js → sales-channel-detail-LWVBJCJQ.js} +25 -26
- package/dist/{sales-channel-edit-FUDXMZYV.js → sales-channel-edit-HEESIKZH.js} +3 -3
- package/dist/{sales-channel-list-GYLGH4U7.js → sales-channel-list-I72W2XTH.js} +24 -24
- package/dist/{sales-channel-metadata-H6RSHKVP.js → sales-channel-metadata-RD6QDHRW.js} +21 -22
- package/dist/{shipping-option-type-create-QAOW7753.js → shipping-option-type-create-LXYYXNSQ.js} +20 -21
- package/dist/{shipping-option-type-detail-QGWVDTDU.js → shipping-option-type-detail-2IQSQ5BQ.js} +21 -22
- package/dist/{shipping-option-type-edit-WXYBDRNY.js → shipping-option-type-edit-4XKXWCN3.js} +20 -21
- package/dist/{shipping-option-type-list-YSWP6DSC.js → shipping-option-type-list-QA2TA7XQ.js} +21 -22
- package/dist/{shipping-profile-create-UJNCCKKK.js → shipping-profile-create-JYRXTOBF.js} +1 -1
- package/dist/{shipping-profile-metadata-UE53IA3J.js → shipping-profile-metadata-PVNYV7DY.js} +22 -23
- package/dist/{store-address-edit-PKIBRFH4.js → store-address-edit-SWLACMPC.js} +1 -1
- package/dist/{store-bulk-edit-6SQX7OV2.js → store-bulk-edit-JAOT5GY2.js} +3 -3
- package/dist/{store-closure-edit-OK7MTUHY.js → store-closure-edit-Y3FOCDRX.js} +1 -1
- package/dist/{store-create-WNFRHXWR.js → store-create-F6W5CSH2.js} +24 -25
- package/dist/{store-details-RS3SPTXC.js → store-details-CSHIHCVO.js} +33 -48
- package/dist/{store-edit-34CPYPM3.js → store-edit-YEWQFHHM.js} +8 -8
- package/dist/{store-list-Q5X3JB3R.js → store-list-FGLLHZPD.js} +28 -29
- package/dist/{store-member-invite-7PAPHDOK.js → store-member-invite-MNRTPHUB.js} +2 -2
- package/dist/{store-payment-details-edit-HOGHZMZC.js → store-payment-details-edit-DF2WURRI.js} +1 -1
- package/dist/{store-professional-details-edit-DPJ4ZFDR.js → store-professional-details-edit-FPOLORSE.js} +1 -1
- package/dist/{tax-region-create-3KVECMFN.js → tax-region-create-YQ5YBOC3.js} +21 -22
- package/dist/{tax-region-detail-AOT4X4DZ.js → tax-region-detail-EU5U3SFN.js} +24 -25
- package/dist/{tax-region-edit-5T7VHKIA.js → tax-region-edit-XHO3ELVD.js} +20 -21
- package/dist/{tax-region-metadata-RSZCJGJT.js → tax-region-metadata-NYTCYO6D.js} +21 -22
- package/dist/{tax-region-province-create-OVLIZPNP.js → tax-region-province-create-SEPY4OAZ.js} +1 -1
- package/dist/{tax-region-province-detail-XEMIX5SQ.js → tax-region-province-detail-U4RULBEK.js} +23 -24
- package/dist/{tax-region-tax-override-create-KPFXMSPH.js → tax-region-tax-override-create-5MIAKHY6.js} +46 -47
- package/dist/{tax-region-tax-override-edit-RMMHCFXN.js → tax-region-tax-override-edit-EHLIO56A.js} +48 -49
- package/dist/{tax-region-tax-rate-create-KDN6G52Y.js → tax-region-tax-rate-create-ZITIAU3K.js} +1 -1
- package/dist/{tax-region-tax-rate-edit-D4BFDDJ7.js → tax-region-tax-rate-edit-RQLUPHD4.js} +1 -1
- package/dist/{user-detail-W7DGVXDZ.js → user-detail-6CCQQPFR.js} +1 -1
- package/dist/{user-edit-MXS2DV37.js → user-edit-DVIMNODF.js} +1 -1
- package/dist/{user-invite-HLZJ7FST.js → user-invite-NJZWT4M5.js} +1 -1
- package/dist/{user-metadata-3AFZX3DM.js → user-metadata-VCWUSKHV.js} +21 -22
- package/package.json +2 -2
- package/dist/[id]-YI7UXOO2.js +0 -499
- package/dist/chunk-AKTAFKIU.js +0 -228
- package/dist/chunk-ALATTLBM.js +0 -390
- package/dist/chunk-IEPNHH7Z.js +0 -170
- package/dist/chunk-J65IXAGI.js +0 -292
- package/dist/chunk-QSGR43JM.js +0 -30
- package/dist/chunk-RQ4NMLSS.js +0 -8
- package/dist/chunk-RXM4B6HR.js +0 -8
- package/dist/chunk-SWL7ZCP3.js +0 -11
- package/dist/chunk-TIMU6K63.js +0 -207
- package/dist/chunk-TTERSO37.js +0 -652
- package/dist/chunk-U7XILJH6.js +0 -423
- package/dist/chunk-UM7ZR3VU.js +0 -14
- package/dist/chunk-V5XHY5LP.js +0 -39
- package/dist/chunk-WV4SQ57G.js +0 -141
- package/dist/chunk-ZZ3XFIEM.js +0 -84
- package/dist/commission-rate-create-DCMGZS3D.js +0 -783
- package/dist/commission-rate-detail-LAZZLZVX.js +0 -86
- package/dist/commission-rate-edit-VL4TUE3M.js +0 -768
- package/dist/commission-rate-list-Y5XLEO67.js +0 -26
- package/dist/loader-6KDBTRVR.js +0 -26
- package/dist/order-allocate-items-DJ2V4B7A.js +0 -563
- package/dist/order-create-fulfillment-SMSUJSBN.js +0 -644
- package/dist/order-create-shipment-5ZAWH5CZ.js +0 -215
- package/dist/order-receive-return-DZ4IUOHY.js +0 -563
- package/dist/product-brand-create-B3ZJGHUQ.js +0 -171
- package/dist/product-brand-detail-QBWHNBYM.js +0 -100
- package/dist/product-brand-edit-3TQDHZNN.js +0 -179
- package/dist/product-brand-metadata-EAMW6PQJ.js +0 -87
- package/dist/product-create-option-NIAP75EE.js +0 -130
- package/dist/product-create-variant-QODC7MZ7.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/index.js
CHANGED
|
@@ -5,12 +5,10 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
isClientError
|
|
7
7
|
} from "./chunk-C6SUTRP2.js";
|
|
8
|
+
import "./chunk-QR3GYYX6.js";
|
|
8
9
|
import {
|
|
9
10
|
InfiniteList
|
|
10
11
|
} from "./chunk-WMA3WTCM.js";
|
|
11
|
-
import {
|
|
12
|
-
ProgressBar
|
|
13
|
-
} from "./chunk-QSGR43JM.js";
|
|
14
12
|
import "./chunk-FMFVTERD.js";
|
|
15
13
|
import "./chunk-JRTZWK77.js";
|
|
16
14
|
import "./chunk-FQERBIVS.js";
|
|
@@ -21,25 +19,25 @@ import {
|
|
|
21
19
|
import "./chunk-YN3FGNJM.js";
|
|
22
20
|
import "./chunk-KAZ5BYTQ.js";
|
|
23
21
|
import "./chunk-634XVU3D.js";
|
|
24
|
-
import {
|
|
25
|
-
FileUpload
|
|
26
|
-
} from "./chunk-4KX6CBJ4.js";
|
|
27
22
|
import {
|
|
28
23
|
I18n
|
|
29
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-5NQUJQXX.js";
|
|
30
25
|
import {
|
|
31
26
|
TabbedForm,
|
|
32
27
|
defineTabMeta,
|
|
33
28
|
useTabbedForm
|
|
34
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-FREUYHMS.js";
|
|
30
|
+
import {
|
|
31
|
+
FileUpload
|
|
32
|
+
} from "./chunk-VSLHL2AZ.js";
|
|
35
33
|
import {
|
|
36
34
|
SwitchBox
|
|
37
35
|
} from "./chunk-2EME4AWX.js";
|
|
38
36
|
import {
|
|
39
37
|
ChipInput
|
|
40
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-KDE4HKH2.js";
|
|
41
39
|
import "./chunk-TKGWSUEI.js";
|
|
42
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-SITRHMZZ.js";
|
|
43
41
|
import "./chunk-FWJLS7XD.js";
|
|
44
42
|
import {
|
|
45
43
|
Form
|
|
@@ -47,7 +45,7 @@ import {
|
|
|
47
45
|
import {
|
|
48
46
|
PRODUCT_DETAIL_FIELDS,
|
|
49
47
|
PRODUCT_DETAIL_QUERY
|
|
50
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-GVEF6UDT.js";
|
|
51
49
|
import {
|
|
52
50
|
Thumbnail
|
|
53
51
|
} from "./chunk-WIYFXWRI.js";
|
|
@@ -60,65 +58,64 @@ import {
|
|
|
60
58
|
notificationQueryKeys,
|
|
61
59
|
useNotifications,
|
|
62
60
|
useProductTags
|
|
63
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-PJR6W35H.js";
|
|
64
62
|
import {
|
|
65
63
|
useLogout
|
|
66
64
|
} from "./chunk-OH4AABUT.js";
|
|
65
|
+
import "./chunk-FJHAAROU.js";
|
|
67
66
|
import "./chunk-AEMDNTW5.js";
|
|
68
67
|
import "./chunk-LYD3C73Z.js";
|
|
69
|
-
import "./chunk-FTAR3BDS.js";
|
|
70
|
-
import {
|
|
71
|
-
useProductTypes
|
|
72
|
-
} from "./chunk-46M463BR.js";
|
|
73
|
-
import "./chunk-ZZ3XFIEM.js";
|
|
74
68
|
import "./chunk-533GMKEG.js";
|
|
75
69
|
import "./chunk-YFRC6GEN.js";
|
|
76
|
-
import "./chunk-
|
|
77
|
-
import "./chunk-OHOWEMHO.js";
|
|
70
|
+
import "./chunk-N6SI4IIT.js";
|
|
78
71
|
import "./chunk-JPNPTILP.js";
|
|
72
|
+
import "./chunk-DAXXLQKB.js";
|
|
73
|
+
import {
|
|
74
|
+
useProductTypes
|
|
75
|
+
} from "./chunk-46M463BR.js";
|
|
76
|
+
import "./chunk-ZIFHQXP3.js";
|
|
77
|
+
import "./chunk-ESPLVOFC.js";
|
|
79
78
|
import {
|
|
80
79
|
useMe
|
|
81
80
|
} from "./chunk-GKGLVDDV.js";
|
|
82
|
-
import "./chunk-N6SI4IIT.js";
|
|
83
81
|
import "./chunk-WJJXUXSO.js";
|
|
84
82
|
import "./chunk-LAPEZATU.js";
|
|
85
83
|
import {
|
|
86
84
|
usePriceLists
|
|
87
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-RDTFLHYO.js";
|
|
88
86
|
import {
|
|
89
87
|
useCollections
|
|
90
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-QKJGSZI2.js";
|
|
89
|
+
import {
|
|
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";
|
|
101
|
+
import "./chunk-XGUUM3S6.js";
|
|
106
102
|
import {
|
|
107
103
|
useOrders
|
|
108
|
-
} from "./chunk-
|
|
109
|
-
import "./chunk-
|
|
110
|
-
import "./chunk-ESPLVOFC.js";
|
|
104
|
+
} from "./chunk-RMAQKNBA.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-QYDWMBEX.js";
|
|
115
112
|
import {
|
|
116
113
|
ActionMenu
|
|
117
114
|
} from "./chunk-BDGZ4EQO.js";
|
|
118
|
-
import "./chunk-
|
|
115
|
+
import "./chunk-OKWGPKVK.js";
|
|
119
116
|
import {
|
|
120
117
|
useProductCategories
|
|
121
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-KYFWVLWO.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-M2E3PKA4.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");
|
|
@@ -3257,10 +3281,6 @@ var useSettingRoutes = () => {
|
|
|
3257
3281
|
label: t2("productTypes.domain"),
|
|
3258
3282
|
to: "/settings/product-types"
|
|
3259
3283
|
},
|
|
3260
|
-
{
|
|
3261
|
-
label: t2("productBrands.domain"),
|
|
3262
|
-
to: "/settings/product-brands"
|
|
3263
|
-
},
|
|
3264
3284
|
{
|
|
3265
3285
|
label: t2("productTags.domain"),
|
|
3266
3286
|
to: "/settings/product-tags"
|
|
@@ -3274,8 +3294,8 @@ var useSettingRoutes = () => {
|
|
|
3274
3294
|
to: "/settings/locations"
|
|
3275
3295
|
},
|
|
3276
3296
|
{
|
|
3277
|
-
label: t2("
|
|
3278
|
-
to: "/settings/
|
|
3297
|
+
label: t2("commissions.domain", "Commissions"),
|
|
3298
|
+
to: "/settings/commissions"
|
|
3279
3299
|
},
|
|
3280
3300
|
...extensionNavItems
|
|
3281
3301
|
],
|
|
@@ -3323,28 +3343,28 @@ var SettingsSidebar = () => {
|
|
|
3323
3343
|
const { t: t2 } = useTranslation10();
|
|
3324
3344
|
return /* @__PURE__ */ jsxs10("aside", { className: "relative flex flex-1 flex-col justify-between overflow-y-auto", children: [
|
|
3325
3345
|
/* @__PURE__ */ jsxs10("div", { className: "sticky top-0 bg-ui-bg-subtle", children: [
|
|
3326
|
-
/* @__PURE__ */
|
|
3327
|
-
/* @__PURE__ */
|
|
3346
|
+
/* @__PURE__ */ jsx16(Header2, {}),
|
|
3347
|
+
/* @__PURE__ */ jsx16("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx16(Divider2, { variant: "dashed" }) })
|
|
3328
3348
|
] }),
|
|
3329
3349
|
/* @__PURE__ */ jsxs10("div", { className: "flex flex-1 flex-col", children: [
|
|
3330
3350
|
/* @__PURE__ */ jsxs10("div", { className: "flex flex-1 flex-col overflow-y-auto", children: [
|
|
3331
|
-
/* @__PURE__ */
|
|
3351
|
+
/* @__PURE__ */ jsx16(
|
|
3332
3352
|
RadixCollapsibleSection,
|
|
3333
3353
|
{
|
|
3334
3354
|
label: t2("app.nav.settings.general"),
|
|
3335
3355
|
items: routes
|
|
3336
3356
|
}
|
|
3337
3357
|
),
|
|
3338
|
-
/* @__PURE__ */
|
|
3339
|
-
/* @__PURE__ */
|
|
3358
|
+
/* @__PURE__ */ jsx16("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx16(Divider2, { variant: "dashed" }) }),
|
|
3359
|
+
/* @__PURE__ */ jsx16(
|
|
3340
3360
|
RadixCollapsibleSection,
|
|
3341
3361
|
{
|
|
3342
3362
|
label: t2("app.nav.settings.developer"),
|
|
3343
3363
|
items: developerRoutes
|
|
3344
3364
|
}
|
|
3345
3365
|
),
|
|
3346
|
-
/* @__PURE__ */
|
|
3347
|
-
/* @__PURE__ */
|
|
3366
|
+
/* @__PURE__ */ jsx16("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx16(Divider2, { variant: "dashed" }) }),
|
|
3367
|
+
/* @__PURE__ */ jsx16(
|
|
3348
3368
|
RadixCollapsibleSection,
|
|
3349
3369
|
{
|
|
3350
3370
|
label: t2("app.nav.settings.myAccount"),
|
|
@@ -3352,7 +3372,7 @@ var SettingsSidebar = () => {
|
|
|
3352
3372
|
}
|
|
3353
3373
|
)
|
|
3354
3374
|
] }),
|
|
3355
|
-
/* @__PURE__ */
|
|
3375
|
+
/* @__PURE__ */ jsx16("div", { className: "sticky bottom-0 bg-ui-bg-subtle", children: /* @__PURE__ */ jsx16(UserSection2, {}) })
|
|
3356
3376
|
] })
|
|
3357
3377
|
] });
|
|
3358
3378
|
};
|
|
@@ -3365,7 +3385,7 @@ var Header2 = () => {
|
|
|
3365
3385
|
setFrom(getSafeFromValue(location.state.from));
|
|
3366
3386
|
}
|
|
3367
3387
|
}, [location]);
|
|
3368
|
-
return /* @__PURE__ */
|
|
3388
|
+
return /* @__PURE__ */ jsx16("div", { className: "bg-ui-bg-subtle p-3", children: /* @__PURE__ */ jsx16(
|
|
3369
3389
|
Link4,
|
|
3370
3390
|
{
|
|
3371
3391
|
to: from,
|
|
@@ -3376,8 +3396,8 @@ var Header2 = () => {
|
|
|
3376
3396
|
"focus-visible:shadow-borders-focus"
|
|
3377
3397
|
),
|
|
3378
3398
|
children: /* @__PURE__ */ jsxs10("div", { className: "flex items-center gap-x-2.5 px-2 py-1", children: [
|
|
3379
|
-
/* @__PURE__ */
|
|
3380
|
-
/* @__PURE__ */
|
|
3399
|
+
/* @__PURE__ */ jsx16("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx16(ArrowUturnLeft2, { className: "text-ui-fg-subtle" }) }),
|
|
3400
|
+
/* @__PURE__ */ jsx16(Text8, { leading: "compact", weight: "plus", size: "small", children: t2("app.nav.settings.header") })
|
|
3381
3401
|
] })
|
|
3382
3402
|
}
|
|
3383
3403
|
) });
|
|
@@ -3387,22 +3407,22 @@ var RadixCollapsibleSection = ({
|
|
|
3387
3407
|
items
|
|
3388
3408
|
}) => {
|
|
3389
3409
|
return /* @__PURE__ */ jsxs10(RadixCollapsible2.Root, { defaultOpen: true, className: "py-3", children: [
|
|
3390
|
-
/* @__PURE__ */
|
|
3391
|
-
/* @__PURE__ */
|
|
3392
|
-
/* @__PURE__ */
|
|
3410
|
+
/* @__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: [
|
|
3411
|
+
/* @__PURE__ */ jsx16(Text8, { size: "small", leading: "compact", children: label }),
|
|
3412
|
+
/* @__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
3413
|
] }) }),
|
|
3394
|
-
/* @__PURE__ */
|
|
3414
|
+
/* @__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
3415
|
] });
|
|
3396
3416
|
};
|
|
3397
3417
|
var UserSection2 = () => {
|
|
3398
3418
|
return /* @__PURE__ */ jsxs10("div", { children: [
|
|
3399
|
-
/* @__PURE__ */
|
|
3400
|
-
/* @__PURE__ */
|
|
3419
|
+
/* @__PURE__ */ jsx16("div", { className: "px-3", children: /* @__PURE__ */ jsx16(Divider2, { variant: "dashed" }) }),
|
|
3420
|
+
/* @__PURE__ */ jsx16(UserMenu, {})
|
|
3401
3421
|
] });
|
|
3402
3422
|
};
|
|
3403
3423
|
|
|
3404
3424
|
// src/get-route-map.tsx
|
|
3405
|
-
import { jsx as
|
|
3425
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
3406
3426
|
function mergeRoutes(baseRoutes, customRoutes2) {
|
|
3407
3427
|
const result = baseRoutes.map((route) => ({ ...route }));
|
|
3408
3428
|
for (const customRoute of customRoutes2) {
|
|
@@ -3431,151 +3451,131 @@ function getRouteMap({
|
|
|
3431
3451
|
}) {
|
|
3432
3452
|
return [
|
|
3433
3453
|
{
|
|
3434
|
-
element: /* @__PURE__ */
|
|
3435
|
-
errorElement: /* @__PURE__ */
|
|
3454
|
+
element: /* @__PURE__ */ jsx17(ProtectedRoute, {}),
|
|
3455
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3436
3456
|
children: [
|
|
3437
3457
|
{
|
|
3438
|
-
element: /* @__PURE__ */
|
|
3458
|
+
element: /* @__PURE__ */ jsx17(MainLayout, {}),
|
|
3439
3459
|
children: mergeRoutes(
|
|
3440
3460
|
[
|
|
3441
3461
|
{
|
|
3442
3462
|
path: "/",
|
|
3443
|
-
errorElement: /* @__PURE__ */
|
|
3463
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3444
3464
|
lazy: () => import("./home-I3OILW5Z.js")
|
|
3445
3465
|
},
|
|
3446
3466
|
{
|
|
3447
3467
|
path: "/products",
|
|
3448
|
-
errorElement: /* @__PURE__ */
|
|
3468
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3449
3469
|
handle: {
|
|
3450
3470
|
breadcrumb: () => t("products.domain")
|
|
3451
3471
|
},
|
|
3452
3472
|
children: [
|
|
3453
3473
|
{
|
|
3454
3474
|
path: "",
|
|
3455
|
-
lazy: () => import("./product-list-
|
|
3475
|
+
lazy: () => import("./product-list-4JGMM4AF.js"),
|
|
3456
3476
|
children: [
|
|
3457
3477
|
{
|
|
3458
3478
|
path: "create",
|
|
3459
|
-
lazy: () => import("./product-create-
|
|
3479
|
+
lazy: () => import("./product-create-R5HJ2GYT.js")
|
|
3460
3480
|
},
|
|
3461
3481
|
{
|
|
3462
3482
|
path: "bulk-edit",
|
|
3463
|
-
lazy: () => import("./product-bulk-edit-
|
|
3483
|
+
lazy: () => import("./product-bulk-edit-G7QTYQHG.js")
|
|
3464
3484
|
}
|
|
3465
3485
|
]
|
|
3466
3486
|
},
|
|
3467
3487
|
{
|
|
3468
3488
|
path: ":id",
|
|
3469
|
-
errorElement: /* @__PURE__ */
|
|
3489
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3470
3490
|
lazy: async () => {
|
|
3471
|
-
const { Breadcrumb, loader } = await import("./product-detail-
|
|
3491
|
+
const { Breadcrumb, loader } = await import("./product-detail-77DV4TAW.js");
|
|
3472
3492
|
return {
|
|
3473
3493
|
Component: Outlet4,
|
|
3474
3494
|
loader,
|
|
3475
3495
|
handle: {
|
|
3476
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3496
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3477
3497
|
}
|
|
3478
3498
|
};
|
|
3479
3499
|
},
|
|
3480
3500
|
children: [
|
|
3481
3501
|
{
|
|
3482
3502
|
path: "",
|
|
3483
|
-
lazy: () => import("./product-detail-
|
|
3503
|
+
lazy: () => import("./product-detail-77DV4TAW.js"),
|
|
3484
3504
|
children: [
|
|
3485
3505
|
{
|
|
3486
3506
|
path: "edit",
|
|
3487
|
-
lazy: () => import("./product-edit-
|
|
3507
|
+
lazy: () => import("./product-edit-3Q5E5E5L.js")
|
|
3488
3508
|
},
|
|
3489
3509
|
{
|
|
3490
3510
|
path: "edit-variant",
|
|
3491
|
-
lazy: () => import("./product-variant-edit-
|
|
3511
|
+
lazy: () => import("./product-variant-edit-3KAFS4OC.js")
|
|
3492
3512
|
},
|
|
3493
3513
|
{
|
|
3494
3514
|
path: "sales-channels",
|
|
3495
|
-
lazy: () => import("./product-sales-channels-
|
|
3515
|
+
lazy: () => import("./product-sales-channels-7QCAABL4.js")
|
|
3496
3516
|
},
|
|
3497
3517
|
{
|
|
3498
3518
|
path: "attributes",
|
|
3499
|
-
lazy: () => import("./product-attributes-
|
|
3519
|
+
lazy: () => import("./product-attributes-2LAKXXX6.js")
|
|
3500
3520
|
},
|
|
3501
3521
|
{
|
|
3502
3522
|
path: "attributes/create",
|
|
3503
|
-
lazy: () => import("./product-create-attribute-
|
|
3523
|
+
lazy: () => import("./product-create-attribute-ELMLVRUB.js")
|
|
3504
3524
|
},
|
|
3505
3525
|
{
|
|
3506
3526
|
path: "attributes/add",
|
|
3507
|
-
lazy: () => import("./product-add-existing-attributes-
|
|
3527
|
+
lazy: () => import("./product-add-existing-attributes-AC4643LI.js")
|
|
3528
|
+
},
|
|
3529
|
+
{
|
|
3530
|
+
path: "attributes/:attribute_id/edit",
|
|
3531
|
+
lazy: () => import("./product-edit-attribute-WW4LCYD7.js")
|
|
3508
3532
|
},
|
|
3509
3533
|
{
|
|
3510
3534
|
path: "organization",
|
|
3511
|
-
lazy: () => import("./product-organization-
|
|
3535
|
+
lazy: () => import("./product-organization-ILQCXL7B.js")
|
|
3512
3536
|
},
|
|
3513
3537
|
{
|
|
3514
3538
|
path: "shipping-profile",
|
|
3515
|
-
lazy: () => import("./product-shipping-profile-
|
|
3539
|
+
lazy: () => import("./product-shipping-profile-4K7LTJ5K.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-OL4ETNFW.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-FQSREC66.js")
|
|
3540
3548
|
},
|
|
3541
3549
|
{
|
|
3542
3550
|
path: "metadata/edit",
|
|
3543
|
-
lazy: () => import("./product-metadata-
|
|
3551
|
+
lazy: () => import("./product-metadata-H53ZIWBS.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-6XBLXEXQ.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-6XBLXEXQ.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-3KAFS4OC.js")
|
|
3575
3575
|
},
|
|
3576
3576
|
{
|
|
3577
3577
|
path: "metadata/edit",
|
|
3578
|
-
lazy: () => import("./product-variant-metadata-
|
|
3578
|
+
lazy: () => import("./product-variant-metadata-N5H2VPGQ.js")
|
|
3579
3579
|
}
|
|
3580
3580
|
]
|
|
3581
3581
|
}
|
|
@@ -3587,57 +3587,65 @@ 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-PFOINLTU.js"),
|
|
3598
3598
|
children: [
|
|
3599
3599
|
{
|
|
3600
3600
|
path: "create",
|
|
3601
|
-
lazy: () => import("./category-create-
|
|
3601
|
+
lazy: () => import("./category-create-AR33DJYX.js")
|
|
3602
3602
|
},
|
|
3603
3603
|
{
|
|
3604
3604
|
path: "organize",
|
|
3605
|
-
lazy: () => import("./category-organize-
|
|
3605
|
+
lazy: () => import("./category-organize-U6UO35Y3.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-ABK4MEZP.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-ABK4MEZP.js"),
|
|
3625
3625
|
children: [
|
|
3626
3626
|
{
|
|
3627
3627
|
path: "edit",
|
|
3628
|
-
lazy: () => import("./category-edit-
|
|
3628
|
+
lazy: () => import("./category-edit-XKANIIH5.js")
|
|
3629
|
+
},
|
|
3630
|
+
{
|
|
3631
|
+
path: "media",
|
|
3632
|
+
lazy: () => import("./category-media-7SLAXXXM.js")
|
|
3633
|
+
},
|
|
3634
|
+
{
|
|
3635
|
+
path: "icon/edit",
|
|
3636
|
+
lazy: () => import("./category-icon-edit-4GXAK4JZ.js")
|
|
3629
3637
|
},
|
|
3630
3638
|
{
|
|
3631
3639
|
path: "products",
|
|
3632
|
-
lazy: () => import("./category-products-
|
|
3640
|
+
lazy: () => import("./category-products-HTNBFHSW.js")
|
|
3633
3641
|
},
|
|
3634
3642
|
{
|
|
3635
3643
|
path: "organize",
|
|
3636
|
-
lazy: () => import("./category-organize-
|
|
3644
|
+
lazy: () => import("./category-organize-U6UO35Y3.js")
|
|
3637
3645
|
},
|
|
3638
3646
|
{
|
|
3639
3647
|
path: "metadata/edit",
|
|
3640
|
-
lazy: () => import("./categories-metadata-
|
|
3648
|
+
lazy: () => import("./categories-metadata-INVMU224.js")
|
|
3641
3649
|
}
|
|
3642
3650
|
]
|
|
3643
3651
|
}
|
|
@@ -3647,87 +3655,71 @@ function getRouteMap({
|
|
|
3647
3655
|
},
|
|
3648
3656
|
{
|
|
3649
3657
|
path: "/orders",
|
|
3650
|
-
errorElement: /* @__PURE__ */
|
|
3658
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3651
3659
|
handle: {
|
|
3652
3660
|
breadcrumb: () => t("orders.domain")
|
|
3653
3661
|
},
|
|
3654
3662
|
children: [
|
|
3655
3663
|
{
|
|
3656
3664
|
path: "",
|
|
3657
|
-
lazy: () => import("./order-list-
|
|
3665
|
+
lazy: () => import("./order-list-IVXCYRGB.js")
|
|
3658
3666
|
},
|
|
3659
3667
|
{
|
|
3660
3668
|
path: ":id",
|
|
3661
3669
|
lazy: async () => {
|
|
3662
|
-
const { Breadcrumb, loader } = await import("./order-detail-
|
|
3670
|
+
const { Breadcrumb, loader } = await import("./order-detail-HPYAUA2N.js");
|
|
3663
3671
|
return {
|
|
3664
3672
|
Component: Outlet4,
|
|
3665
3673
|
loader,
|
|
3666
3674
|
handle: {
|
|
3667
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3675
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3668
3676
|
}
|
|
3669
3677
|
};
|
|
3670
3678
|
},
|
|
3671
3679
|
children: [
|
|
3672
3680
|
{
|
|
3673
3681
|
path: "",
|
|
3674
|
-
lazy: () => import("./order-detail-
|
|
3682
|
+
lazy: () => import("./order-detail-HPYAUA2N.js"),
|
|
3675
3683
|
children: [
|
|
3676
|
-
{
|
|
3677
|
-
path: "fulfillment",
|
|
3678
|
-
lazy: () => import("./order-create-fulfillment-SMSUJSBN.js")
|
|
3679
|
-
},
|
|
3680
|
-
{
|
|
3681
|
-
path: "returns/:return_id/receive",
|
|
3682
|
-
lazy: () => import("./order-receive-return-DZ4IUOHY.js")
|
|
3683
|
-
},
|
|
3684
|
-
{
|
|
3685
|
-
path: "allocate-items",
|
|
3686
|
-
lazy: () => import("./order-allocate-items-DJ2V4B7A.js")
|
|
3687
|
-
},
|
|
3688
|
-
{
|
|
3689
|
-
path: ":f_id/create-shipment",
|
|
3690
|
-
lazy: () => import("./order-create-shipment-5ZAWH5CZ.js")
|
|
3691
|
-
},
|
|
3692
3684
|
{
|
|
3693
3685
|
path: "returns",
|
|
3694
|
-
lazy: () => import("./order-create-return-
|
|
3686
|
+
lazy: () => import("./order-create-return-Y7QS52UL.js")
|
|
3695
3687
|
},
|
|
3696
3688
|
{
|
|
3697
3689
|
path: "claims",
|
|
3698
|
-
lazy: () => import("./order-create-claim-
|
|
3690
|
+
lazy: () => import("./order-create-claim-2MO3LM6J.js")
|
|
3699
3691
|
},
|
|
3700
3692
|
{
|
|
3701
3693
|
path: "exchanges",
|
|
3702
|
-
lazy: () => import("./order-create-exchange-
|
|
3694
|
+
lazy: () => import("./order-create-exchange-4PWNGE6U.js")
|
|
3703
3695
|
},
|
|
3704
3696
|
{
|
|
3705
3697
|
path: "edits",
|
|
3706
|
-
lazy: () => import("./order-create-edit-
|
|
3698
|
+
lazy: () => import("./order-create-edit-UFD26FE2.js")
|
|
3707
3699
|
},
|
|
3708
3700
|
{
|
|
3709
3701
|
path: "refund",
|
|
3710
|
-
lazy: () => import("./order-create-refund-
|
|
3702
|
+
lazy: () => import("./order-create-refund-A4AXOFZC.js")
|
|
3711
3703
|
},
|
|
3712
3704
|
{
|
|
3713
3705
|
path: "transfer",
|
|
3714
|
-
lazy: () => import("./order-request-transfer-
|
|
3706
|
+
lazy: () => import("./order-request-transfer-OM3BPIWZ.js")
|
|
3715
3707
|
},
|
|
3716
3708
|
{
|
|
3717
3709
|
path: "email",
|
|
3718
|
-
lazy: () => import("./order-edit-email-
|
|
3710
|
+
lazy: () => import("./order-edit-email-44O3ARQ4.js")
|
|
3719
3711
|
},
|
|
3720
3712
|
{
|
|
3721
3713
|
path: "shipping-address",
|
|
3722
|
-
lazy: () => import("./order-edit-shipping-address-
|
|
3714
|
+
lazy: () => import("./order-edit-shipping-address-UI2AHBXW.js")
|
|
3723
3715
|
},
|
|
3724
3716
|
{
|
|
3725
3717
|
path: "billing-address",
|
|
3726
|
-
lazy: () => import("./order-edit-billing-address-
|
|
3718
|
+
lazy: () => import("./order-edit-billing-address-R7DOKCV5.js")
|
|
3727
3719
|
},
|
|
3728
3720
|
{
|
|
3729
3721
|
path: "metadata/edit",
|
|
3730
|
-
lazy: () => import("./order-metadata-
|
|
3722
|
+
lazy: () => import("./order-metadata-3U5KT3MW.js")
|
|
3731
3723
|
}
|
|
3732
3724
|
]
|
|
3733
3725
|
}
|
|
@@ -3737,47 +3729,47 @@ function getRouteMap({
|
|
|
3737
3729
|
},
|
|
3738
3730
|
{
|
|
3739
3731
|
path: "/promotions",
|
|
3740
|
-
errorElement: /* @__PURE__ */
|
|
3732
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3741
3733
|
handle: {
|
|
3742
3734
|
breadcrumb: () => t("promotions.domain")
|
|
3743
3735
|
},
|
|
3744
3736
|
children: [
|
|
3745
3737
|
{
|
|
3746
3738
|
path: "",
|
|
3747
|
-
lazy: () => import("./promotion-list-
|
|
3739
|
+
lazy: () => import("./promotion-list-ZFF4E4ZW.js")
|
|
3748
3740
|
},
|
|
3749
3741
|
{
|
|
3750
3742
|
path: "create",
|
|
3751
|
-
lazy: () => import("./promotion-create-
|
|
3743
|
+
lazy: () => import("./promotion-create-Y2XVWGAT.js")
|
|
3752
3744
|
},
|
|
3753
3745
|
{
|
|
3754
3746
|
path: ":id",
|
|
3755
3747
|
lazy: async () => {
|
|
3756
|
-
const { Breadcrumb, loader } = await import("./promotion-detail-
|
|
3748
|
+
const { Breadcrumb, loader } = await import("./promotion-detail-SCS7MWD7.js");
|
|
3757
3749
|
return {
|
|
3758
3750
|
Component: Outlet4,
|
|
3759
3751
|
loader,
|
|
3760
3752
|
handle: {
|
|
3761
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3753
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3762
3754
|
}
|
|
3763
3755
|
};
|
|
3764
3756
|
},
|
|
3765
3757
|
children: [
|
|
3766
3758
|
{
|
|
3767
3759
|
path: "",
|
|
3768
|
-
lazy: () => import("./promotion-detail-
|
|
3760
|
+
lazy: () => import("./promotion-detail-SCS7MWD7.js"),
|
|
3769
3761
|
children: [
|
|
3770
3762
|
{
|
|
3771
3763
|
path: "edit",
|
|
3772
|
-
lazy: () => import("./promotion-edit-details-
|
|
3764
|
+
lazy: () => import("./promotion-edit-details-NWOBD3YD.js")
|
|
3773
3765
|
},
|
|
3774
3766
|
{
|
|
3775
3767
|
path: "add-to-campaign",
|
|
3776
|
-
lazy: () => import("./promotion-add-campaign-
|
|
3768
|
+
lazy: () => import("./promotion-add-campaign-V3RJ634F.js")
|
|
3777
3769
|
},
|
|
3778
3770
|
{
|
|
3779
3771
|
path: ":ruleType/edit",
|
|
3780
|
-
lazy: () => import("./edit-rules-
|
|
3772
|
+
lazy: () => import("./edit-rules-XYTK7DQ2.js")
|
|
3781
3773
|
}
|
|
3782
3774
|
]
|
|
3783
3775
|
}
|
|
@@ -3787,7 +3779,7 @@ function getRouteMap({
|
|
|
3787
3779
|
},
|
|
3788
3780
|
{
|
|
3789
3781
|
path: "/campaigns",
|
|
3790
|
-
errorElement: /* @__PURE__ */
|
|
3782
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3791
3783
|
handle: {
|
|
3792
3784
|
breadcrumb: () => t("campaigns.domain")
|
|
3793
3785
|
},
|
|
@@ -3799,40 +3791,40 @@ function getRouteMap({
|
|
|
3799
3791
|
},
|
|
3800
3792
|
{
|
|
3801
3793
|
path: "create",
|
|
3802
|
-
lazy: () => import("./campaign-create-
|
|
3794
|
+
lazy: () => import("./campaign-create-NMIOUGXQ.js")
|
|
3803
3795
|
},
|
|
3804
3796
|
{
|
|
3805
3797
|
path: ":id",
|
|
3806
3798
|
lazy: async () => {
|
|
3807
|
-
const { Breadcrumb, loader } = await import("./campaign-detail-
|
|
3799
|
+
const { Breadcrumb, loader } = await import("./campaign-detail-EAARQB3E.js");
|
|
3808
3800
|
return {
|
|
3809
3801
|
Component: Outlet4,
|
|
3810
3802
|
loader,
|
|
3811
3803
|
handle: {
|
|
3812
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3804
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3813
3805
|
}
|
|
3814
3806
|
};
|
|
3815
3807
|
},
|
|
3816
3808
|
children: [
|
|
3817
3809
|
{
|
|
3818
3810
|
path: "",
|
|
3819
|
-
lazy: () => import("./campaign-detail-
|
|
3811
|
+
lazy: () => import("./campaign-detail-EAARQB3E.js"),
|
|
3820
3812
|
children: [
|
|
3821
3813
|
{
|
|
3822
3814
|
path: "edit",
|
|
3823
|
-
lazy: () => import("./campaign-edit-
|
|
3815
|
+
lazy: () => import("./campaign-edit-PA7FGIY3.js")
|
|
3824
3816
|
},
|
|
3825
3817
|
{
|
|
3826
3818
|
path: "configuration",
|
|
3827
|
-
lazy: () => import("./campaign-configuration-
|
|
3819
|
+
lazy: () => import("./campaign-configuration-MFFZXUEN.js")
|
|
3828
3820
|
},
|
|
3829
3821
|
{
|
|
3830
3822
|
path: "edit-budget",
|
|
3831
|
-
lazy: () => import("./campaign-budget-edit-
|
|
3823
|
+
lazy: () => import("./campaign-budget-edit-N2WWGO2G.js")
|
|
3832
3824
|
},
|
|
3833
3825
|
{
|
|
3834
3826
|
path: "add-promotions",
|
|
3835
|
-
lazy: () => import("./add-campaign-promotions-
|
|
3827
|
+
lazy: () => import("./add-campaign-promotions-EB2MYHMZ.js")
|
|
3836
3828
|
}
|
|
3837
3829
|
]
|
|
3838
3830
|
}
|
|
@@ -3842,49 +3834,57 @@ function getRouteMap({
|
|
|
3842
3834
|
},
|
|
3843
3835
|
{
|
|
3844
3836
|
path: "/collections",
|
|
3845
|
-
errorElement: /* @__PURE__ */
|
|
3837
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3846
3838
|
handle: {
|
|
3847
3839
|
breadcrumb: () => t("collections.domain")
|
|
3848
3840
|
},
|
|
3849
3841
|
children: [
|
|
3850
3842
|
{
|
|
3851
3843
|
path: "",
|
|
3852
|
-
lazy: () => import("./collection-list-
|
|
3844
|
+
lazy: () => import("./collection-list-UN7C36DU.js"),
|
|
3853
3845
|
children: [
|
|
3854
3846
|
{
|
|
3855
3847
|
path: "create",
|
|
3856
|
-
lazy: () => import("./collection-create-
|
|
3848
|
+
lazy: () => import("./collection-create-UNGPKT7H.js")
|
|
3857
3849
|
}
|
|
3858
3850
|
]
|
|
3859
3851
|
},
|
|
3860
3852
|
{
|
|
3861
3853
|
path: ":id",
|
|
3862
3854
|
lazy: async () => {
|
|
3863
|
-
const { Breadcrumb, loader } = await import("./collection-detail-
|
|
3855
|
+
const { Breadcrumb, loader } = await import("./collection-detail-36QTD3ZU.js");
|
|
3864
3856
|
return {
|
|
3865
3857
|
Component: Outlet4,
|
|
3866
3858
|
loader,
|
|
3867
3859
|
handle: {
|
|
3868
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3860
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3869
3861
|
}
|
|
3870
3862
|
};
|
|
3871
3863
|
},
|
|
3872
3864
|
children: [
|
|
3873
3865
|
{
|
|
3874
3866
|
path: "",
|
|
3875
|
-
lazy: () => import("./collection-detail-
|
|
3867
|
+
lazy: () => import("./collection-detail-36QTD3ZU.js"),
|
|
3876
3868
|
children: [
|
|
3877
3869
|
{
|
|
3878
3870
|
path: "edit",
|
|
3879
|
-
lazy: () => import("./collection-edit-
|
|
3871
|
+
lazy: () => import("./collection-edit-LQEQ6YGD.js")
|
|
3872
|
+
},
|
|
3873
|
+
{
|
|
3874
|
+
path: "media",
|
|
3875
|
+
lazy: () => import("./collection-media-ESJUYVF7.js")
|
|
3876
|
+
},
|
|
3877
|
+
{
|
|
3878
|
+
path: "icon/edit",
|
|
3879
|
+
lazy: () => import("./collection-icon-edit-V4SNBMD5.js")
|
|
3880
3880
|
},
|
|
3881
3881
|
{
|
|
3882
3882
|
path: "products",
|
|
3883
|
-
lazy: () => import("./collection-add-products-
|
|
3883
|
+
lazy: () => import("./collection-add-products-CKF2VFVK.js")
|
|
3884
3884
|
},
|
|
3885
3885
|
{
|
|
3886
3886
|
path: "metadata/edit",
|
|
3887
|
-
lazy: () => import("./collection-metadata-
|
|
3887
|
+
lazy: () => import("./collection-metadata-6SD67JUV.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-GIVZGIYW.js"),
|
|
3905
3905
|
children: [
|
|
3906
3906
|
{
|
|
3907
3907
|
path: "create",
|
|
3908
|
-
lazy: () => import("./price-list-create-
|
|
3908
|
+
lazy: () => import("./price-list-create-SR24HYH3.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-QIMJQ6DD.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-QIMJQ6DD.js"),
|
|
3928
3928
|
children: [
|
|
3929
3929
|
{
|
|
3930
3930
|
path: "edit",
|
|
3931
|
-
lazy: () => import("./price-list-edit-
|
|
3931
|
+
lazy: () => import("./price-list-edit-MEM47NGY.js")
|
|
3932
3932
|
},
|
|
3933
3933
|
{
|
|
3934
3934
|
path: "configuration",
|
|
3935
|
-
lazy: () => import("./price-list-configuration-
|
|
3935
|
+
lazy: () => import("./price-list-configuration-6LD6DTEQ.js")
|
|
3936
3936
|
},
|
|
3937
3937
|
{
|
|
3938
3938
|
path: "products/add",
|
|
3939
|
-
lazy: () => import("./price-list-prices-add-
|
|
3939
|
+
lazy: () => import("./price-list-prices-add-VE5RTT5O.js")
|
|
3940
3940
|
},
|
|
3941
3941
|
{
|
|
3942
3942
|
path: "products/edit",
|
|
3943
|
-
lazy: () => import("./price-list-prices-edit-
|
|
3943
|
+
lazy: () => import("./price-list-prices-edit-R52K4MBL.js")
|
|
3944
3944
|
}
|
|
3945
3945
|
]
|
|
3946
3946
|
}
|
|
@@ -3950,57 +3950,61 @@ 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
|
},
|
|
3957
3957
|
children: [
|
|
3958
3958
|
{
|
|
3959
3959
|
path: "",
|
|
3960
|
-
lazy: () => import("./customer-list-
|
|
3960
|
+
lazy: () => import("./customer-list-U7VFBV7E.js"),
|
|
3961
3961
|
children: [
|
|
3962
3962
|
{
|
|
3963
3963
|
path: "create",
|
|
3964
|
-
lazy: () => import("./customer-create-
|
|
3964
|
+
lazy: () => import("./customer-create-HZXLOIZH.js")
|
|
3965
3965
|
}
|
|
3966
3966
|
]
|
|
3967
3967
|
},
|
|
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-3OQ7RSDN.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-3OQ7RSDN.js"),
|
|
3984
3984
|
children: [
|
|
3985
3985
|
{
|
|
3986
3986
|
path: "edit",
|
|
3987
|
-
lazy: () => import("./customer-edit-
|
|
3987
|
+
lazy: () => import("./customer-edit-MMRTWOAF.js")
|
|
3988
3988
|
},
|
|
3989
3989
|
{
|
|
3990
3990
|
path: "create-address",
|
|
3991
|
-
lazy: () => import("./customer-create-address-
|
|
3991
|
+
lazy: () => import("./customer-create-address-AEZNVQOG.js")
|
|
3992
|
+
},
|
|
3993
|
+
{
|
|
3994
|
+
path: "edit-address/:address_id",
|
|
3995
|
+
lazy: () => import("./customer-edit-address-AEYX2LMP.js")
|
|
3992
3996
|
},
|
|
3993
3997
|
{
|
|
3994
3998
|
path: "add-customer-groups",
|
|
3995
|
-
lazy: () => import("./customers-add-customer-group-
|
|
3999
|
+
lazy: () => import("./customers-add-customer-group-AZ3ILZMA.js")
|
|
3996
4000
|
},
|
|
3997
4001
|
{
|
|
3998
4002
|
path: ":order_id/transfer",
|
|
3999
|
-
lazy: () => import("./order-request-transfer-
|
|
4003
|
+
lazy: () => import("./order-request-transfer-OM3BPIWZ.js")
|
|
4000
4004
|
},
|
|
4001
4005
|
{
|
|
4002
4006
|
path: "metadata/edit",
|
|
4003
|
-
lazy: () => import("./customer-metadata-
|
|
4007
|
+
lazy: () => import("./customer-metadata-4H6ADARR.js")
|
|
4004
4008
|
}
|
|
4005
4009
|
]
|
|
4006
4010
|
}
|
|
@@ -4010,49 +4014,49 @@ function getRouteMap({
|
|
|
4010
4014
|
},
|
|
4011
4015
|
{
|
|
4012
4016
|
path: "/customer-groups",
|
|
4013
|
-
errorElement: /* @__PURE__ */
|
|
4017
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4014
4018
|
handle: {
|
|
4015
4019
|
breadcrumb: () => t("customerGroups.domain")
|
|
4016
4020
|
},
|
|
4017
4021
|
children: [
|
|
4018
4022
|
{
|
|
4019
4023
|
path: "",
|
|
4020
|
-
lazy: () => import("./customer-group-list-
|
|
4024
|
+
lazy: () => import("./customer-group-list-777C2B57.js"),
|
|
4021
4025
|
children: [
|
|
4022
4026
|
{
|
|
4023
4027
|
path: "create",
|
|
4024
|
-
lazy: () => import("./customer-group-create-
|
|
4028
|
+
lazy: () => import("./customer-group-create-25JT74S3.js")
|
|
4025
4029
|
}
|
|
4026
4030
|
]
|
|
4027
4031
|
},
|
|
4028
4032
|
{
|
|
4029
4033
|
path: ":id",
|
|
4030
4034
|
lazy: async () => {
|
|
4031
|
-
const { Breadcrumb, loader } = await import("./customer-group-detail-
|
|
4035
|
+
const { Breadcrumb, loader } = await import("./customer-group-detail-CH4UIK3X.js");
|
|
4032
4036
|
return {
|
|
4033
4037
|
Component: Outlet4,
|
|
4034
4038
|
loader,
|
|
4035
4039
|
handle: {
|
|
4036
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4040
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4037
4041
|
}
|
|
4038
4042
|
};
|
|
4039
4043
|
},
|
|
4040
4044
|
children: [
|
|
4041
4045
|
{
|
|
4042
4046
|
path: "",
|
|
4043
|
-
lazy: () => import("./customer-group-detail-
|
|
4047
|
+
lazy: () => import("./customer-group-detail-CH4UIK3X.js"),
|
|
4044
4048
|
children: [
|
|
4045
4049
|
{
|
|
4046
4050
|
path: "edit",
|
|
4047
|
-
lazy: () => import("./customer-group-edit-
|
|
4051
|
+
lazy: () => import("./customer-group-edit-AAI47MUL.js")
|
|
4048
4052
|
},
|
|
4049
4053
|
{
|
|
4050
4054
|
path: "add-customers",
|
|
4051
|
-
lazy: () => import("./customer-group-add-customers-
|
|
4055
|
+
lazy: () => import("./customer-group-add-customers-4OAYSXWK.js")
|
|
4052
4056
|
},
|
|
4053
4057
|
{
|
|
4054
4058
|
path: "metadata/edit",
|
|
4055
|
-
lazy: () => import("./customer-group-metadata-
|
|
4059
|
+
lazy: () => import("./customer-group-metadata-ELFKJMYK.js")
|
|
4056
4060
|
}
|
|
4057
4061
|
]
|
|
4058
4062
|
}
|
|
@@ -4062,64 +4066,64 @@ function getRouteMap({
|
|
|
4062
4066
|
},
|
|
4063
4067
|
{
|
|
4064
4068
|
path: "/stores",
|
|
4065
|
-
errorElement: /* @__PURE__ */
|
|
4069
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4066
4070
|
handle: {
|
|
4067
4071
|
breadcrumb: () => t("stores.domain")
|
|
4068
4072
|
},
|
|
4069
4073
|
children: [
|
|
4070
4074
|
{
|
|
4071
4075
|
path: "",
|
|
4072
|
-
lazy: () => import("./store-list-
|
|
4076
|
+
lazy: () => import("./store-list-FGLLHZPD.js"),
|
|
4073
4077
|
children: [
|
|
4074
4078
|
{
|
|
4075
4079
|
path: "create",
|
|
4076
|
-
lazy: () => import("./store-create-
|
|
4080
|
+
lazy: () => import("./store-create-F6W5CSH2.js")
|
|
4077
4081
|
},
|
|
4078
4082
|
{
|
|
4079
4083
|
path: "bulk-edit",
|
|
4080
|
-
lazy: () => import("./store-bulk-edit-
|
|
4084
|
+
lazy: () => import("./store-bulk-edit-JAOT5GY2.js")
|
|
4081
4085
|
}
|
|
4082
4086
|
]
|
|
4083
4087
|
},
|
|
4084
4088
|
{
|
|
4085
4089
|
path: ":id",
|
|
4086
4090
|
lazy: async () => {
|
|
4087
|
-
const { Breadcrumb } = await import("./store-details-
|
|
4091
|
+
const { Breadcrumb } = await import("./store-details-CSHIHCVO.js");
|
|
4088
4092
|
return {
|
|
4089
4093
|
Component: Outlet4,
|
|
4090
4094
|
handle: {
|
|
4091
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4095
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4092
4096
|
}
|
|
4093
4097
|
};
|
|
4094
4098
|
},
|
|
4095
4099
|
children: [
|
|
4096
4100
|
{
|
|
4097
4101
|
path: "",
|
|
4098
|
-
lazy: () => import("./store-details-
|
|
4102
|
+
lazy: () => import("./store-details-CSHIHCVO.js"),
|
|
4099
4103
|
children: [
|
|
4100
4104
|
{
|
|
4101
4105
|
path: "edit",
|
|
4102
|
-
lazy: () => import("./store-edit-
|
|
4106
|
+
lazy: () => import("./store-edit-YEWQFHHM.js")
|
|
4103
4107
|
},
|
|
4104
4108
|
{
|
|
4105
4109
|
path: "edit-address",
|
|
4106
|
-
lazy: () => import("./store-address-edit-
|
|
4110
|
+
lazy: () => import("./store-address-edit-SWLACMPC.js")
|
|
4107
4111
|
},
|
|
4108
4112
|
{
|
|
4109
4113
|
path: "professional-details",
|
|
4110
|
-
lazy: () => import("./store-professional-details-edit-
|
|
4114
|
+
lazy: () => import("./store-professional-details-edit-FPOLORSE.js")
|
|
4111
4115
|
},
|
|
4112
4116
|
{
|
|
4113
4117
|
path: "payment-details",
|
|
4114
|
-
lazy: () => import("./store-payment-details-edit-
|
|
4118
|
+
lazy: () => import("./store-payment-details-edit-DF2WURRI.js")
|
|
4115
4119
|
},
|
|
4116
4120
|
{
|
|
4117
4121
|
path: "store-closure",
|
|
4118
|
-
lazy: () => import("./store-closure-edit-
|
|
4122
|
+
lazy: () => import("./store-closure-edit-Y3FOCDRX.js")
|
|
4119
4123
|
},
|
|
4120
4124
|
{
|
|
4121
4125
|
path: "invite",
|
|
4122
|
-
lazy: () => import("./store-member-invite-
|
|
4126
|
+
lazy: () => import("./store-member-invite-MNRTPHUB.js")
|
|
4123
4127
|
}
|
|
4124
4128
|
]
|
|
4125
4129
|
}
|
|
@@ -4129,7 +4133,7 @@ function getRouteMap({
|
|
|
4129
4133
|
},
|
|
4130
4134
|
{
|
|
4131
4135
|
path: "/payouts",
|
|
4132
|
-
errorElement: /* @__PURE__ */
|
|
4136
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4133
4137
|
handle: {
|
|
4134
4138
|
breadcrumb: () => "Payouts"
|
|
4135
4139
|
},
|
|
@@ -4146,7 +4150,7 @@ function getRouteMap({
|
|
|
4146
4150
|
Component: Outlet4,
|
|
4147
4151
|
loader,
|
|
4148
4152
|
handle: {
|
|
4149
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4153
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4150
4154
|
}
|
|
4151
4155
|
};
|
|
4152
4156
|
},
|
|
@@ -4161,45 +4165,45 @@ function getRouteMap({
|
|
|
4161
4165
|
},
|
|
4162
4166
|
{
|
|
4163
4167
|
path: "/reservations",
|
|
4164
|
-
errorElement: /* @__PURE__ */
|
|
4168
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4165
4169
|
handle: {
|
|
4166
4170
|
breadcrumb: () => t("reservations.domain")
|
|
4167
4171
|
},
|
|
4168
4172
|
children: [
|
|
4169
4173
|
{
|
|
4170
4174
|
path: "",
|
|
4171
|
-
lazy: () => import("./reservation-list-
|
|
4175
|
+
lazy: () => import("./reservation-list-RGD6O4RY.js"),
|
|
4172
4176
|
children: [
|
|
4173
4177
|
{
|
|
4174
4178
|
path: "create",
|
|
4175
|
-
lazy: () => import("./reservation-create-
|
|
4179
|
+
lazy: () => import("./reservation-create-F6YDCLCG.js")
|
|
4176
4180
|
}
|
|
4177
4181
|
]
|
|
4178
4182
|
},
|
|
4179
4183
|
{
|
|
4180
4184
|
path: ":id",
|
|
4181
4185
|
lazy: async () => {
|
|
4182
|
-
const { Breadcrumb, loader } = await import("./reservation-detail-
|
|
4186
|
+
const { Breadcrumb, loader } = await import("./reservation-detail-7TL2OFEM.js");
|
|
4183
4187
|
return {
|
|
4184
4188
|
Component: Outlet4,
|
|
4185
4189
|
loader,
|
|
4186
4190
|
handle: {
|
|
4187
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4191
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4188
4192
|
}
|
|
4189
4193
|
};
|
|
4190
4194
|
},
|
|
4191
4195
|
children: [
|
|
4192
4196
|
{
|
|
4193
4197
|
path: "",
|
|
4194
|
-
lazy: () => import("./reservation-detail-
|
|
4198
|
+
lazy: () => import("./reservation-detail-7TL2OFEM.js"),
|
|
4195
4199
|
children: [
|
|
4196
4200
|
{
|
|
4197
4201
|
path: "edit",
|
|
4198
|
-
lazy: () => import("./edit-reservation-
|
|
4202
|
+
lazy: () => import("./edit-reservation-TBZL2REV.js")
|
|
4199
4203
|
},
|
|
4200
4204
|
{
|
|
4201
4205
|
path: "metadata/edit",
|
|
4202
|
-
lazy: () => import("./reservation-metadata-
|
|
4206
|
+
lazy: () => import("./reservation-metadata-UXACXYO6.js")
|
|
4203
4207
|
}
|
|
4204
4208
|
]
|
|
4205
4209
|
}
|
|
@@ -4209,7 +4213,7 @@ function getRouteMap({
|
|
|
4209
4213
|
},
|
|
4210
4214
|
{
|
|
4211
4215
|
path: "/offers",
|
|
4212
|
-
errorElement: /* @__PURE__ */
|
|
4216
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4213
4217
|
handle: {
|
|
4214
4218
|
breadcrumb: () => t("offers.domain")
|
|
4215
4219
|
},
|
|
@@ -4217,83 +4221,115 @@ function getRouteMap({
|
|
|
4217
4221
|
{
|
|
4218
4222
|
path: "",
|
|
4219
4223
|
lazy: async () => {
|
|
4220
|
-
const { OfferListPage } = await import("./offers-
|
|
4224
|
+
const { OfferListPage } = await import("./offers-PYM6LQSX.js");
|
|
4221
4225
|
return { Component: OfferListPage };
|
|
4222
4226
|
}
|
|
4223
4227
|
},
|
|
4224
4228
|
{
|
|
4225
4229
|
path: ":id",
|
|
4226
4230
|
lazy: async () => {
|
|
4227
|
-
const {
|
|
4228
|
-
const {
|
|
4231
|
+
const { loader } = await import("./loader-XPJWDZU3.js");
|
|
4232
|
+
const { Breadcrumb } = await import("./breadcrumb-CO5DVI72.js");
|
|
4229
4233
|
return {
|
|
4230
|
-
Component:
|
|
4234
|
+
Component: Outlet4,
|
|
4231
4235
|
loader,
|
|
4232
4236
|
handle: {
|
|
4233
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4237
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4234
4238
|
}
|
|
4235
4239
|
};
|
|
4236
|
-
}
|
|
4240
|
+
},
|
|
4241
|
+
children: [
|
|
4242
|
+
{
|
|
4243
|
+
path: "",
|
|
4244
|
+
lazy: async () => {
|
|
4245
|
+
const { OfferDetailPage } = await import("./offer-detail-page-2DG3W7VG.js");
|
|
4246
|
+
return { Component: OfferDetailPage };
|
|
4247
|
+
}
|
|
4248
|
+
},
|
|
4249
|
+
{
|
|
4250
|
+
path: "variants/:offer_id",
|
|
4251
|
+
lazy: async () => {
|
|
4252
|
+
const { loader } = await import("./loader-S77URTQS.js");
|
|
4253
|
+
const { Breadcrumb } = await import("./breadcrumb-RYIHOYZE.js");
|
|
4254
|
+
return {
|
|
4255
|
+
Component: Outlet4,
|
|
4256
|
+
loader,
|
|
4257
|
+
handle: {
|
|
4258
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4259
|
+
}
|
|
4260
|
+
};
|
|
4261
|
+
},
|
|
4262
|
+
children: [
|
|
4263
|
+
{
|
|
4264
|
+
path: "",
|
|
4265
|
+
lazy: async () => {
|
|
4266
|
+
const { OfferVariantDetailPage } = await import("./offer-variant-detail-page-U4LDYFE3.js");
|
|
4267
|
+
return { Component: OfferVariantDetailPage };
|
|
4268
|
+
}
|
|
4269
|
+
}
|
|
4270
|
+
]
|
|
4271
|
+
}
|
|
4272
|
+
]
|
|
4237
4273
|
}
|
|
4238
4274
|
]
|
|
4239
4275
|
},
|
|
4240
4276
|
{
|
|
4241
4277
|
path: "/inventory",
|
|
4242
|
-
errorElement: /* @__PURE__ */
|
|
4278
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4243
4279
|
handle: {
|
|
4244
4280
|
breadcrumb: () => t("inventory.domain")
|
|
4245
4281
|
},
|
|
4246
4282
|
children: [
|
|
4247
4283
|
{
|
|
4248
4284
|
path: "",
|
|
4249
|
-
lazy: () => import("./inventory-list-
|
|
4285
|
+
lazy: () => import("./inventory-list-SCRYOBZV.js"),
|
|
4250
4286
|
children: [
|
|
4251
4287
|
{
|
|
4252
4288
|
path: "create",
|
|
4253
|
-
lazy: () => import("./inventory-create-
|
|
4289
|
+
lazy: () => import("./inventory-create-7RQSCNCQ.js")
|
|
4254
4290
|
},
|
|
4255
4291
|
{
|
|
4256
4292
|
path: "stock",
|
|
4257
|
-
lazy: () => import("./inventory-stock-
|
|
4293
|
+
lazy: () => import("./inventory-stock-US7LGBC4.js")
|
|
4258
4294
|
}
|
|
4259
4295
|
]
|
|
4260
4296
|
},
|
|
4261
4297
|
{
|
|
4262
4298
|
path: ":id",
|
|
4263
4299
|
lazy: async () => {
|
|
4264
|
-
const { Breadcrumb, loader } = await import("./inventory-detail-
|
|
4300
|
+
const { Breadcrumb, loader } = await import("./inventory-detail-W7BGKWKL.js");
|
|
4265
4301
|
return {
|
|
4266
4302
|
Component: Outlet4,
|
|
4267
4303
|
loader,
|
|
4268
4304
|
handle: {
|
|
4269
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4305
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4270
4306
|
}
|
|
4271
4307
|
};
|
|
4272
4308
|
},
|
|
4273
4309
|
children: [
|
|
4274
4310
|
{
|
|
4275
4311
|
path: "",
|
|
4276
|
-
lazy: () => import("./inventory-detail-
|
|
4312
|
+
lazy: () => import("./inventory-detail-W7BGKWKL.js"),
|
|
4277
4313
|
children: [
|
|
4278
4314
|
{
|
|
4279
4315
|
path: "edit",
|
|
4280
|
-
lazy: () => import("./edit-inventory-item-
|
|
4316
|
+
lazy: () => import("./edit-inventory-item-NL5WNNI3.js")
|
|
4281
4317
|
},
|
|
4282
4318
|
{
|
|
4283
4319
|
path: "attributes",
|
|
4284
|
-
lazy: () => import("./edit-inventory-item-attributes-
|
|
4320
|
+
lazy: () => import("./edit-inventory-item-attributes-2JEH72WW.js")
|
|
4285
4321
|
},
|
|
4286
4322
|
{
|
|
4287
4323
|
path: "metadata/edit",
|
|
4288
|
-
lazy: () => import("./inventory-metadata-
|
|
4324
|
+
lazy: () => import("./inventory-metadata-ZGLTDSQB.js")
|
|
4289
4325
|
},
|
|
4290
4326
|
{
|
|
4291
4327
|
path: "locations",
|
|
4292
|
-
lazy: () => import("./manage-locations-
|
|
4328
|
+
lazy: () => import("./manage-locations-WW35SVOX.js")
|
|
4293
4329
|
},
|
|
4294
4330
|
{
|
|
4295
4331
|
path: "locations/:location_id",
|
|
4296
|
-
lazy: () => import("./adjust-inventory-
|
|
4332
|
+
lazy: () => import("./adjust-inventory-KNHM7QEV.js")
|
|
4297
4333
|
}
|
|
4298
4334
|
]
|
|
4299
4335
|
}
|
|
@@ -4308,26 +4344,26 @@ function getRouteMap({
|
|
|
4308
4344
|
]
|
|
4309
4345
|
},
|
|
4310
4346
|
{
|
|
4311
|
-
element: /* @__PURE__ */
|
|
4312
|
-
errorElement: /* @__PURE__ */
|
|
4347
|
+
element: /* @__PURE__ */ jsx17(ProtectedRoute, {}),
|
|
4348
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4313
4349
|
children: [
|
|
4314
4350
|
{
|
|
4315
4351
|
path: "/settings",
|
|
4316
4352
|
handle: {
|
|
4317
4353
|
breadcrumb: () => t("app.nav.settings.header")
|
|
4318
4354
|
},
|
|
4319
|
-
element: /* @__PURE__ */
|
|
4355
|
+
element: /* @__PURE__ */ jsx17(SettingsLayout, {}),
|
|
4320
4356
|
children: mergeRoutes(
|
|
4321
4357
|
[
|
|
4322
4358
|
{
|
|
4323
4359
|
index: true,
|
|
4324
|
-
errorElement: /* @__PURE__ */
|
|
4360
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4325
4361
|
lazy: () => import("./settings-AVE3VCCM.js")
|
|
4326
4362
|
},
|
|
4327
4363
|
{
|
|
4328
4364
|
path: "profile",
|
|
4329
|
-
errorElement: /* @__PURE__ */
|
|
4330
|
-
element: /* @__PURE__ */
|
|
4365
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4366
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4331
4367
|
handle: {
|
|
4332
4368
|
breadcrumb: () => t("profile.domain")
|
|
4333
4369
|
},
|
|
@@ -4338,7 +4374,7 @@ function getRouteMap({
|
|
|
4338
4374
|
children: [
|
|
4339
4375
|
{
|
|
4340
4376
|
path: "edit",
|
|
4341
|
-
lazy: () => import("./profile-edit-
|
|
4377
|
+
lazy: () => import("./profile-edit-H5QZ66PF.js")
|
|
4342
4378
|
}
|
|
4343
4379
|
]
|
|
4344
4380
|
}
|
|
@@ -4346,8 +4382,8 @@ function getRouteMap({
|
|
|
4346
4382
|
},
|
|
4347
4383
|
{
|
|
4348
4384
|
path: "regions",
|
|
4349
|
-
errorElement: /* @__PURE__ */
|
|
4350
|
-
element: /* @__PURE__ */
|
|
4385
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4386
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4351
4387
|
handle: {
|
|
4352
4388
|
breadcrumb: () => t("regions.domain")
|
|
4353
4389
|
},
|
|
@@ -4358,7 +4394,7 @@ function getRouteMap({
|
|
|
4358
4394
|
children: [
|
|
4359
4395
|
{
|
|
4360
4396
|
path: "create",
|
|
4361
|
-
lazy: () => import("./region-create-
|
|
4397
|
+
lazy: () => import("./region-create-SIB6WZPV.js")
|
|
4362
4398
|
}
|
|
4363
4399
|
]
|
|
4364
4400
|
},
|
|
@@ -4370,7 +4406,7 @@ function getRouteMap({
|
|
|
4370
4406
|
Component: Outlet4,
|
|
4371
4407
|
loader,
|
|
4372
4408
|
handle: {
|
|
4373
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4409
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4374
4410
|
}
|
|
4375
4411
|
};
|
|
4376
4412
|
},
|
|
@@ -4381,15 +4417,15 @@ function getRouteMap({
|
|
|
4381
4417
|
children: [
|
|
4382
4418
|
{
|
|
4383
4419
|
path: "edit",
|
|
4384
|
-
lazy: () => import("./region-edit-
|
|
4420
|
+
lazy: () => import("./region-edit-YQZCZIX3.js")
|
|
4385
4421
|
},
|
|
4386
4422
|
{
|
|
4387
4423
|
path: "countries/add",
|
|
4388
|
-
lazy: () => import("./region-add-countries-
|
|
4424
|
+
lazy: () => import("./region-add-countries-5I2UDAJU.js")
|
|
4389
4425
|
},
|
|
4390
4426
|
{
|
|
4391
4427
|
path: "metadata/edit",
|
|
4392
|
-
lazy: () => import("./region-metadata-
|
|
4428
|
+
lazy: () => import("./region-metadata-QGH7IBQU.js")
|
|
4393
4429
|
}
|
|
4394
4430
|
]
|
|
4395
4431
|
}
|
|
@@ -4399,70 +4435,77 @@ function getRouteMap({
|
|
|
4399
4435
|
},
|
|
4400
4436
|
{
|
|
4401
4437
|
path: "marketplace",
|
|
4402
|
-
errorElement: /* @__PURE__ */
|
|
4403
|
-
element: /* @__PURE__ */
|
|
4438
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4439
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4404
4440
|
handle: {
|
|
4405
4441
|
breadcrumb: () => t("marketplace.domain")
|
|
4406
4442
|
},
|
|
4407
4443
|
children: [
|
|
4408
4444
|
{
|
|
4409
4445
|
path: "",
|
|
4410
|
-
lazy: () => import("./marketplace-detail-
|
|
4446
|
+
lazy: () => import("./marketplace-detail-M7DWNMIH.js"),
|
|
4411
4447
|
children: [
|
|
4412
4448
|
{
|
|
4413
4449
|
path: "edit",
|
|
4414
|
-
lazy: () => import("./marketplace-edit-
|
|
4450
|
+
lazy: () => import("./marketplace-edit-QNFCTDUC.js")
|
|
4415
4451
|
},
|
|
4416
4452
|
{
|
|
4417
4453
|
path: "currencies",
|
|
4418
|
-
lazy: () => import("./marketplace-add-currencies-
|
|
4454
|
+
lazy: () => import("./marketplace-add-currencies-YVJA6G6V.js")
|
|
4419
4455
|
},
|
|
4420
4456
|
{
|
|
4421
4457
|
path: "metadata/edit",
|
|
4422
|
-
lazy: () => import("./marketplace-metadata-
|
|
4458
|
+
lazy: () => import("./marketplace-metadata-FYJ7TJLZ.js")
|
|
4423
4459
|
}
|
|
4424
4460
|
]
|
|
4425
4461
|
}
|
|
4426
4462
|
]
|
|
4427
4463
|
},
|
|
4428
4464
|
{
|
|
4429
|
-
path: "
|
|
4430
|
-
errorElement: /* @__PURE__ */
|
|
4431
|
-
element: /* @__PURE__ */
|
|
4465
|
+
path: "commissions",
|
|
4466
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4467
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4432
4468
|
handle: {
|
|
4433
|
-
breadcrumb: () => t("
|
|
4469
|
+
breadcrumb: () => t("commissions.domain", "Commissions")
|
|
4434
4470
|
},
|
|
4435
4471
|
children: [
|
|
4436
4472
|
{
|
|
4437
4473
|
path: "",
|
|
4438
|
-
lazy: () => import("./
|
|
4474
|
+
lazy: () => import("./commissions-list-OUGVPED6.js"),
|
|
4439
4475
|
children: [
|
|
4440
4476
|
{
|
|
4441
4477
|
path: "create",
|
|
4442
|
-
lazy: () => import("./commission-
|
|
4478
|
+
lazy: () => import("./commission-rule-create-O7Z25SC7.js")
|
|
4479
|
+
},
|
|
4480
|
+
{
|
|
4481
|
+
path: "edit-global",
|
|
4482
|
+
lazy: () => import("./global-commission-edit-LCD6JJUX.js")
|
|
4443
4483
|
}
|
|
4444
4484
|
]
|
|
4445
4485
|
},
|
|
4446
4486
|
{
|
|
4447
4487
|
path: ":id",
|
|
4448
4488
|
lazy: async () => {
|
|
4449
|
-
const { Breadcrumb
|
|
4489
|
+
const { Breadcrumb } = await import("./commission-rule-detail-I7LVSNAM.js");
|
|
4450
4490
|
return {
|
|
4451
4491
|
Component: Outlet4,
|
|
4452
|
-
loader,
|
|
4453
4492
|
handle: {
|
|
4454
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4493
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4455
4494
|
}
|
|
4456
4495
|
};
|
|
4457
4496
|
},
|
|
4458
4497
|
children: [
|
|
4459
4498
|
{
|
|
4460
4499
|
path: "",
|
|
4461
|
-
lazy: () => import("./commission-
|
|
4500
|
+
lazy: () => import("./commission-rule-detail-I7LVSNAM.js"),
|
|
4462
4501
|
children: [
|
|
4463
4502
|
{
|
|
4464
4503
|
path: "edit",
|
|
4465
|
-
lazy: () => import("./commission-
|
|
4504
|
+
lazy: () => import("./commission-rule-edit-YSHDTYZY.js")
|
|
4505
|
+
},
|
|
4506
|
+
{
|
|
4507
|
+
path: "edit-commission",
|
|
4508
|
+
lazy: () => import("./commission-rule-commission-edit-TA3H3EEN.js")
|
|
4466
4509
|
}
|
|
4467
4510
|
]
|
|
4468
4511
|
}
|
|
@@ -4472,8 +4515,8 @@ function getRouteMap({
|
|
|
4472
4515
|
},
|
|
4473
4516
|
{
|
|
4474
4517
|
path: "users",
|
|
4475
|
-
errorElement: /* @__PURE__ */
|
|
4476
|
-
element: /* @__PURE__ */
|
|
4518
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4519
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4477
4520
|
handle: {
|
|
4478
4521
|
breadcrumb: () => t("users.domain")
|
|
4479
4522
|
},
|
|
@@ -4484,34 +4527,34 @@ function getRouteMap({
|
|
|
4484
4527
|
children: [
|
|
4485
4528
|
{
|
|
4486
4529
|
path: "invite",
|
|
4487
|
-
lazy: () => import("./user-invite-
|
|
4530
|
+
lazy: () => import("./user-invite-NJZWT4M5.js")
|
|
4488
4531
|
}
|
|
4489
4532
|
]
|
|
4490
4533
|
},
|
|
4491
4534
|
{
|
|
4492
4535
|
path: ":id",
|
|
4493
4536
|
lazy: async () => {
|
|
4494
|
-
const { Breadcrumb, loader } = await import("./user-detail-
|
|
4537
|
+
const { Breadcrumb, loader } = await import("./user-detail-6CCQQPFR.js");
|
|
4495
4538
|
return {
|
|
4496
4539
|
Component: Outlet4,
|
|
4497
4540
|
loader,
|
|
4498
4541
|
handle: {
|
|
4499
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4542
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4500
4543
|
}
|
|
4501
4544
|
};
|
|
4502
4545
|
},
|
|
4503
4546
|
children: [
|
|
4504
4547
|
{
|
|
4505
4548
|
path: "",
|
|
4506
|
-
lazy: () => import("./user-detail-
|
|
4549
|
+
lazy: () => import("./user-detail-6CCQQPFR.js"),
|
|
4507
4550
|
children: [
|
|
4508
4551
|
{
|
|
4509
4552
|
path: "edit",
|
|
4510
|
-
lazy: () => import("./user-edit-
|
|
4553
|
+
lazy: () => import("./user-edit-DVIMNODF.js")
|
|
4511
4554
|
},
|
|
4512
4555
|
{
|
|
4513
4556
|
path: "metadata/edit",
|
|
4514
|
-
lazy: () => import("./user-metadata-
|
|
4557
|
+
lazy: () => import("./user-metadata-VCWUSKHV.js")
|
|
4515
4558
|
}
|
|
4516
4559
|
]
|
|
4517
4560
|
}
|
|
@@ -4521,50 +4564,50 @@ function getRouteMap({
|
|
|
4521
4564
|
},
|
|
4522
4565
|
{
|
|
4523
4566
|
path: "sales-channels",
|
|
4524
|
-
errorElement: /* @__PURE__ */
|
|
4525
|
-
element: /* @__PURE__ */
|
|
4567
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4568
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4526
4569
|
handle: {
|
|
4527
4570
|
breadcrumb: () => t("salesChannels.domain")
|
|
4528
4571
|
},
|
|
4529
4572
|
children: [
|
|
4530
4573
|
{
|
|
4531
4574
|
path: "",
|
|
4532
|
-
lazy: () => import("./sales-channel-list-
|
|
4575
|
+
lazy: () => import("./sales-channel-list-I72W2XTH.js"),
|
|
4533
4576
|
children: [
|
|
4534
4577
|
{
|
|
4535
4578
|
path: "create",
|
|
4536
|
-
lazy: () => import("./sales-channel-create-
|
|
4579
|
+
lazy: () => import("./sales-channel-create-TAKKGGK3.js")
|
|
4537
4580
|
}
|
|
4538
4581
|
]
|
|
4539
4582
|
},
|
|
4540
4583
|
{
|
|
4541
4584
|
path: ":id",
|
|
4542
4585
|
lazy: async () => {
|
|
4543
|
-
const { Breadcrumb, loader } = await import("./sales-channel-detail-
|
|
4586
|
+
const { Breadcrumb, loader } = await import("./sales-channel-detail-LWVBJCJQ.js");
|
|
4544
4587
|
return {
|
|
4545
4588
|
Component: Outlet4,
|
|
4546
4589
|
loader,
|
|
4547
4590
|
handle: {
|
|
4548
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4591
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4549
4592
|
}
|
|
4550
4593
|
};
|
|
4551
4594
|
},
|
|
4552
4595
|
children: [
|
|
4553
4596
|
{
|
|
4554
4597
|
path: "",
|
|
4555
|
-
lazy: () => import("./sales-channel-detail-
|
|
4598
|
+
lazy: () => import("./sales-channel-detail-LWVBJCJQ.js"),
|
|
4556
4599
|
children: [
|
|
4557
4600
|
{
|
|
4558
4601
|
path: "edit",
|
|
4559
|
-
lazy: () => import("./sales-channel-edit-
|
|
4602
|
+
lazy: () => import("./sales-channel-edit-HEESIKZH.js")
|
|
4560
4603
|
},
|
|
4561
4604
|
{
|
|
4562
4605
|
path: "add-products",
|
|
4563
|
-
lazy: () => import("./sales-channel-add-products-
|
|
4606
|
+
lazy: () => import("./sales-channel-add-products-7ERGMGJ7.js")
|
|
4564
4607
|
},
|
|
4565
4608
|
{
|
|
4566
4609
|
path: "metadata/edit",
|
|
4567
|
-
lazy: () => import("./sales-channel-metadata-
|
|
4610
|
+
lazy: () => import("./sales-channel-metadata-RD6QDHRW.js")
|
|
4568
4611
|
}
|
|
4569
4612
|
]
|
|
4570
4613
|
}
|
|
@@ -4574,23 +4617,23 @@ function getRouteMap({
|
|
|
4574
4617
|
},
|
|
4575
4618
|
{
|
|
4576
4619
|
path: "locations",
|
|
4577
|
-
errorElement: /* @__PURE__ */
|
|
4578
|
-
element: /* @__PURE__ */
|
|
4620
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4621
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4579
4622
|
handle: {
|
|
4580
4623
|
breadcrumb: () => t("locations.domain")
|
|
4581
4624
|
},
|
|
4582
4625
|
children: [
|
|
4583
4626
|
{
|
|
4584
4627
|
path: "",
|
|
4585
|
-
lazy: () => import("./location-list-
|
|
4628
|
+
lazy: () => import("./location-list-QXIHD6NJ.js")
|
|
4586
4629
|
},
|
|
4587
4630
|
{
|
|
4588
4631
|
path: "create",
|
|
4589
|
-
lazy: () => import("./location-create-
|
|
4632
|
+
lazy: () => import("./location-create-SO2CURZL.js")
|
|
4590
4633
|
},
|
|
4591
4634
|
{
|
|
4592
4635
|
path: "shipping-profiles",
|
|
4593
|
-
element: /* @__PURE__ */
|
|
4636
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4594
4637
|
handle: {
|
|
4595
4638
|
breadcrumb: () => t("shippingProfile.domain")
|
|
4596
4639
|
},
|
|
@@ -4601,7 +4644,7 @@ function getRouteMap({
|
|
|
4601
4644
|
children: [
|
|
4602
4645
|
{
|
|
4603
4646
|
path: "create",
|
|
4604
|
-
lazy: () => import("./shipping-profile-create-
|
|
4647
|
+
lazy: () => import("./shipping-profile-create-JYRXTOBF.js")
|
|
4605
4648
|
}
|
|
4606
4649
|
]
|
|
4607
4650
|
},
|
|
@@ -4613,7 +4656,7 @@ function getRouteMap({
|
|
|
4613
4656
|
Component: Outlet4,
|
|
4614
4657
|
loader,
|
|
4615
4658
|
handle: {
|
|
4616
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4659
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4617
4660
|
}
|
|
4618
4661
|
};
|
|
4619
4662
|
},
|
|
@@ -4624,7 +4667,7 @@ function getRouteMap({
|
|
|
4624
4667
|
children: [
|
|
4625
4668
|
{
|
|
4626
4669
|
path: "metadata/edit",
|
|
4627
|
-
lazy: () => import("./shipping-profile-metadata-
|
|
4670
|
+
lazy: () => import("./shipping-profile-metadata-PVNYV7DY.js")
|
|
4628
4671
|
}
|
|
4629
4672
|
]
|
|
4630
4673
|
}
|
|
@@ -4634,42 +4677,42 @@ function getRouteMap({
|
|
|
4634
4677
|
},
|
|
4635
4678
|
{
|
|
4636
4679
|
path: "shipping-option-types",
|
|
4637
|
-
errorElement: /* @__PURE__ */
|
|
4638
|
-
element: /* @__PURE__ */
|
|
4680
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4681
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4639
4682
|
handle: {
|
|
4640
4683
|
breadcrumb: () => t("shippingOptionTypes.domain")
|
|
4641
4684
|
},
|
|
4642
4685
|
children: [
|
|
4643
4686
|
{
|
|
4644
4687
|
path: "",
|
|
4645
|
-
lazy: () => import("./shipping-option-type-list-
|
|
4688
|
+
lazy: () => import("./shipping-option-type-list-QA2TA7XQ.js"),
|
|
4646
4689
|
children: [
|
|
4647
4690
|
{
|
|
4648
4691
|
path: "create",
|
|
4649
|
-
lazy: () => import("./shipping-option-type-create-
|
|
4692
|
+
lazy: () => import("./shipping-option-type-create-LXYYXNSQ.js")
|
|
4650
4693
|
}
|
|
4651
4694
|
]
|
|
4652
4695
|
},
|
|
4653
4696
|
{
|
|
4654
4697
|
path: ":id",
|
|
4655
4698
|
lazy: async () => {
|
|
4656
|
-
const { Breadcrumb, loader } = await import("./shipping-option-type-detail-
|
|
4699
|
+
const { Breadcrumb, loader } = await import("./shipping-option-type-detail-2IQSQ5BQ.js");
|
|
4657
4700
|
return {
|
|
4658
4701
|
Component: Outlet4,
|
|
4659
4702
|
loader,
|
|
4660
4703
|
handle: {
|
|
4661
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4704
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4662
4705
|
}
|
|
4663
4706
|
};
|
|
4664
4707
|
},
|
|
4665
4708
|
children: [
|
|
4666
4709
|
{
|
|
4667
4710
|
path: "",
|
|
4668
|
-
lazy: () => import("./shipping-option-type-detail-
|
|
4711
|
+
lazy: () => import("./shipping-option-type-detail-2IQSQ5BQ.js"),
|
|
4669
4712
|
children: [
|
|
4670
4713
|
{
|
|
4671
4714
|
path: "edit",
|
|
4672
|
-
lazy: () => import("./shipping-option-type-edit-
|
|
4715
|
+
lazy: () => import("./shipping-option-type-edit-4XKXWCN3.js")
|
|
4673
4716
|
}
|
|
4674
4717
|
]
|
|
4675
4718
|
}
|
|
@@ -4680,67 +4723,67 @@ function getRouteMap({
|
|
|
4680
4723
|
{
|
|
4681
4724
|
path: ":location_id",
|
|
4682
4725
|
lazy: async () => {
|
|
4683
|
-
const { Breadcrumb, loader } = await import("./location-detail-
|
|
4726
|
+
const { Breadcrumb, loader } = await import("./location-detail-GAINHCV5.js");
|
|
4684
4727
|
return {
|
|
4685
4728
|
Component: Outlet4,
|
|
4686
4729
|
loader,
|
|
4687
4730
|
handle: {
|
|
4688
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4731
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4689
4732
|
}
|
|
4690
4733
|
};
|
|
4691
4734
|
},
|
|
4692
4735
|
children: [
|
|
4693
4736
|
{
|
|
4694
4737
|
path: "",
|
|
4695
|
-
lazy: () => import("./location-detail-
|
|
4738
|
+
lazy: () => import("./location-detail-GAINHCV5.js"),
|
|
4696
4739
|
children: [
|
|
4697
4740
|
{
|
|
4698
4741
|
path: "edit",
|
|
4699
|
-
lazy: () => import("./location-edit-
|
|
4742
|
+
lazy: () => import("./location-edit-XA53657R.js")
|
|
4700
4743
|
},
|
|
4701
4744
|
{
|
|
4702
4745
|
path: "sales-channels",
|
|
4703
|
-
lazy: () => import("./location-sales-channels-
|
|
4746
|
+
lazy: () => import("./location-sales-channels-46SPET7R.js")
|
|
4704
4747
|
},
|
|
4705
4748
|
{
|
|
4706
4749
|
path: "fulfillment-providers",
|
|
4707
|
-
lazy: () => import("./location-fulfillment-providers-
|
|
4750
|
+
lazy: () => import("./location-fulfillment-providers-6DFBFALS.js")
|
|
4708
4751
|
},
|
|
4709
4752
|
{
|
|
4710
4753
|
path: "fulfillment-set/:fset_id",
|
|
4711
4754
|
children: [
|
|
4712
4755
|
{
|
|
4713
4756
|
path: "service-zones/create",
|
|
4714
|
-
lazy: () => import("./location-service-zone-create-
|
|
4757
|
+
lazy: () => import("./location-service-zone-create-IOB7DWBR.js")
|
|
4715
4758
|
},
|
|
4716
4759
|
{
|
|
4717
4760
|
path: "service-zone/:zone_id",
|
|
4718
4761
|
children: [
|
|
4719
4762
|
{
|
|
4720
4763
|
path: "edit",
|
|
4721
|
-
lazy: () => import("./location-service-zone-edit-
|
|
4764
|
+
lazy: () => import("./location-service-zone-edit-X37BNDRP.js")
|
|
4722
4765
|
},
|
|
4723
4766
|
{
|
|
4724
4767
|
path: "areas",
|
|
4725
|
-
lazy: () => import("./location-service-zone-manage-areas-
|
|
4768
|
+
lazy: () => import("./location-service-zone-manage-areas-CWWABV5M.js")
|
|
4726
4769
|
},
|
|
4727
4770
|
{
|
|
4728
4771
|
path: "shipping-option",
|
|
4729
4772
|
children: [
|
|
4730
4773
|
{
|
|
4731
4774
|
path: "create",
|
|
4732
|
-
lazy: () => import("./location-service-zone-shipping-option-create-
|
|
4775
|
+
lazy: () => import("./location-service-zone-shipping-option-create-AUNZVIGU.js")
|
|
4733
4776
|
},
|
|
4734
4777
|
{
|
|
4735
4778
|
path: ":so_id",
|
|
4736
4779
|
children: [
|
|
4737
4780
|
{
|
|
4738
4781
|
path: "edit",
|
|
4739
|
-
lazy: () => import("./location-service-zone-shipping-option-edit-
|
|
4782
|
+
lazy: () => import("./location-service-zone-shipping-option-edit-WRSLBO23.js")
|
|
4740
4783
|
},
|
|
4741
4784
|
{
|
|
4742
4785
|
path: "pricing",
|
|
4743
|
-
lazy: () => import("./location-service-zone-shipping-option-pricing-
|
|
4786
|
+
lazy: () => import("./location-service-zone-shipping-option-pricing-FZNCTVT6.js")
|
|
4744
4787
|
}
|
|
4745
4788
|
]
|
|
4746
4789
|
}
|
|
@@ -4758,46 +4801,46 @@ function getRouteMap({
|
|
|
4758
4801
|
},
|
|
4759
4802
|
{
|
|
4760
4803
|
path: "product-tags",
|
|
4761
|
-
errorElement: /* @__PURE__ */
|
|
4762
|
-
element: /* @__PURE__ */
|
|
4804
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4805
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4763
4806
|
handle: {
|
|
4764
4807
|
breadcrumb: () => t("productTags.domain")
|
|
4765
4808
|
},
|
|
4766
4809
|
children: [
|
|
4767
4810
|
{
|
|
4768
4811
|
path: "",
|
|
4769
|
-
lazy: () => import("./product-tag-list-
|
|
4812
|
+
lazy: () => import("./product-tag-list-T6BDTH24.js"),
|
|
4770
4813
|
children: [
|
|
4771
4814
|
{
|
|
4772
4815
|
path: "create",
|
|
4773
|
-
lazy: () => import("./product-tag-create-
|
|
4816
|
+
lazy: () => import("./product-tag-create-4OT4PMCG.js")
|
|
4774
4817
|
}
|
|
4775
4818
|
]
|
|
4776
4819
|
},
|
|
4777
4820
|
{
|
|
4778
4821
|
path: ":id",
|
|
4779
4822
|
lazy: async () => {
|
|
4780
|
-
const { Breadcrumb, loader } = await import("./product-tag-detail-
|
|
4823
|
+
const { Breadcrumb, loader } = await import("./product-tag-detail-NVTDW7BR.js");
|
|
4781
4824
|
return {
|
|
4782
4825
|
Component: Outlet4,
|
|
4783
4826
|
loader,
|
|
4784
4827
|
handle: {
|
|
4785
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4828
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4786
4829
|
}
|
|
4787
4830
|
};
|
|
4788
4831
|
},
|
|
4789
4832
|
children: [
|
|
4790
4833
|
{
|
|
4791
4834
|
path: "",
|
|
4792
|
-
lazy: () => import("./product-tag-detail-
|
|
4835
|
+
lazy: () => import("./product-tag-detail-NVTDW7BR.js"),
|
|
4793
4836
|
children: [
|
|
4794
4837
|
{
|
|
4795
4838
|
path: "edit",
|
|
4796
|
-
lazy: () => import("./product-tag-edit-
|
|
4839
|
+
lazy: () => import("./product-tag-edit-RXF6ZZ6E.js")
|
|
4797
4840
|
},
|
|
4798
4841
|
{
|
|
4799
4842
|
path: "metadata/edit",
|
|
4800
|
-
lazy: () => import("./product-tag-metadata-
|
|
4843
|
+
lazy: () => import("./product-tag-metadata-HN5QRCYY.js")
|
|
4801
4844
|
}
|
|
4802
4845
|
]
|
|
4803
4846
|
}
|
|
@@ -4807,46 +4850,46 @@ function getRouteMap({
|
|
|
4807
4850
|
},
|
|
4808
4851
|
{
|
|
4809
4852
|
path: "attributes",
|
|
4810
|
-
errorElement: /* @__PURE__ */
|
|
4811
|
-
element: /* @__PURE__ */
|
|
4853
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4854
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4812
4855
|
handle: {
|
|
4813
4856
|
breadcrumb: () => t("attributes.domain")
|
|
4814
4857
|
},
|
|
4815
4858
|
children: [
|
|
4816
4859
|
{
|
|
4817
4860
|
path: "",
|
|
4818
|
-
lazy: () => import("./attribute-list-
|
|
4861
|
+
lazy: () => import("./attribute-list-HW3R6764.js"),
|
|
4819
4862
|
children: [
|
|
4820
4863
|
{
|
|
4821
4864
|
path: "create",
|
|
4822
|
-
lazy: () => import("./attribute-create-
|
|
4865
|
+
lazy: () => import("./attribute-create-Q3IEGYRG.js")
|
|
4823
4866
|
}
|
|
4824
4867
|
]
|
|
4825
4868
|
},
|
|
4826
4869
|
{
|
|
4827
4870
|
path: ":id",
|
|
4828
4871
|
lazy: async () => {
|
|
4829
|
-
const { Breadcrumb, loader } = await import("./attribute-detail-
|
|
4872
|
+
const { Breadcrumb, loader } = await import("./attribute-detail-SDYWELHS.js");
|
|
4830
4873
|
return {
|
|
4831
4874
|
Component: Outlet4,
|
|
4832
4875
|
loader,
|
|
4833
4876
|
handle: {
|
|
4834
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4877
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4835
4878
|
}
|
|
4836
4879
|
};
|
|
4837
4880
|
},
|
|
4838
4881
|
children: [
|
|
4839
4882
|
{
|
|
4840
4883
|
path: "",
|
|
4841
|
-
lazy: () => import("./attribute-detail-
|
|
4884
|
+
lazy: () => import("./attribute-detail-SDYWELHS.js"),
|
|
4842
4885
|
children: [
|
|
4843
4886
|
{
|
|
4844
4887
|
path: "edit",
|
|
4845
|
-
lazy: () => import("./attribute-edit-
|
|
4888
|
+
lazy: () => import("./attribute-edit-4YPWXZRX.js")
|
|
4846
4889
|
},
|
|
4847
4890
|
{
|
|
4848
4891
|
path: "edit-possible-value",
|
|
4849
|
-
lazy: () => import("./attribute-edit-possible-value-
|
|
4892
|
+
lazy: () => import("./attribute-edit-possible-value-YHEWXK6L.js")
|
|
4850
4893
|
},
|
|
4851
4894
|
{
|
|
4852
4895
|
path: "create-possible-value",
|
|
@@ -4864,8 +4907,8 @@ function getRouteMap({
|
|
|
4864
4907
|
},
|
|
4865
4908
|
{
|
|
4866
4909
|
path: "product-types",
|
|
4867
|
-
errorElement: /* @__PURE__ */
|
|
4868
|
-
element: /* @__PURE__ */
|
|
4910
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4911
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4869
4912
|
handle: {
|
|
4870
4913
|
breadcrumb: () => t("productTypes.domain")
|
|
4871
4914
|
},
|
|
@@ -4876,83 +4919,34 @@ function getRouteMap({
|
|
|
4876
4919
|
children: [
|
|
4877
4920
|
{
|
|
4878
4921
|
path: "create",
|
|
4879
|
-
lazy: () => import("./product-type-create-
|
|
4880
|
-
}
|
|
4881
|
-
]
|
|
4882
|
-
},
|
|
4883
|
-
{
|
|
4884
|
-
path: ":id",
|
|
4885
|
-
lazy: async () => {
|
|
4886
|
-
const { Breadcrumb, loader } = await import("./product-type-detail-II4RYMUP.js");
|
|
4887
|
-
return {
|
|
4888
|
-
Component: Outlet4,
|
|
4889
|
-
loader,
|
|
4890
|
-
handle: {
|
|
4891
|
-
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
4892
|
-
}
|
|
4893
|
-
};
|
|
4894
|
-
},
|
|
4895
|
-
children: [
|
|
4896
|
-
{
|
|
4897
|
-
path: "",
|
|
4898
|
-
lazy: () => import("./product-type-detail-II4RYMUP.js"),
|
|
4899
|
-
children: [
|
|
4900
|
-
{
|
|
4901
|
-
path: "edit",
|
|
4902
|
-
lazy: () => import("./product-type-edit-CABB7R7Y.js")
|
|
4903
|
-
},
|
|
4904
|
-
{
|
|
4905
|
-
path: "metadata/edit",
|
|
4906
|
-
lazy: () => import("./product-type-metadata-KN5OXR6J.js")
|
|
4907
|
-
}
|
|
4908
|
-
]
|
|
4909
|
-
}
|
|
4910
|
-
]
|
|
4911
|
-
}
|
|
4912
|
-
]
|
|
4913
|
-
},
|
|
4914
|
-
{
|
|
4915
|
-
path: "product-brands",
|
|
4916
|
-
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
4917
|
-
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4918
|
-
handle: {
|
|
4919
|
-
breadcrumb: () => t("productBrands.domain")
|
|
4920
|
-
},
|
|
4921
|
-
children: [
|
|
4922
|
-
{
|
|
4923
|
-
path: "",
|
|
4924
|
-
lazy: () => import("./product-brand-list-ZBPBSRQN.js"),
|
|
4925
|
-
children: [
|
|
4926
|
-
{
|
|
4927
|
-
path: "create",
|
|
4928
|
-
lazy: () => import("./product-brand-create-B3ZJGHUQ.js")
|
|
4922
|
+
lazy: () => import("./product-type-create-A7SUR2OX.js")
|
|
4929
4923
|
}
|
|
4930
4924
|
]
|
|
4931
4925
|
},
|
|
4932
4926
|
{
|
|
4933
4927
|
path: ":id",
|
|
4934
4928
|
lazy: async () => {
|
|
4935
|
-
const { Breadcrumb, loader } = await import("./product-
|
|
4929
|
+
const { Breadcrumb, loader } = await import("./product-type-detail-KOGHJIMG.js");
|
|
4936
4930
|
return {
|
|
4937
4931
|
Component: Outlet4,
|
|
4938
4932
|
loader,
|
|
4939
4933
|
handle: {
|
|
4940
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4934
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4941
4935
|
}
|
|
4942
4936
|
};
|
|
4943
4937
|
},
|
|
4944
4938
|
children: [
|
|
4945
4939
|
{
|
|
4946
4940
|
path: "",
|
|
4947
|
-
lazy: () => import("./product-
|
|
4941
|
+
lazy: () => import("./product-type-detail-KOGHJIMG.js"),
|
|
4948
4942
|
children: [
|
|
4949
4943
|
{
|
|
4950
4944
|
path: "edit",
|
|
4951
|
-
lazy: () => import("./product-
|
|
4945
|
+
lazy: () => import("./product-type-edit-DM4U2VB4.js")
|
|
4952
4946
|
},
|
|
4953
4947
|
{
|
|
4954
4948
|
path: "metadata/edit",
|
|
4955
|
-
lazy: () => import("./product-
|
|
4949
|
+
lazy: () => import("./product-type-metadata-QUCMB3ZJ.js")
|
|
4956
4950
|
}
|
|
4957
4951
|
]
|
|
4958
4952
|
}
|
|
@@ -4962,22 +4956,22 @@ function getRouteMap({
|
|
|
4962
4956
|
},
|
|
4963
4957
|
{
|
|
4964
4958
|
path: "publishable-api-keys",
|
|
4965
|
-
element: /* @__PURE__ */
|
|
4959
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4966
4960
|
handle: {
|
|
4967
4961
|
breadcrumb: () => t("apiKeyManagement.domain.publishable")
|
|
4968
4962
|
},
|
|
4969
4963
|
children: [
|
|
4970
4964
|
{
|
|
4971
4965
|
path: "",
|
|
4972
|
-
element: /* @__PURE__ */
|
|
4966
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4973
4967
|
children: [
|
|
4974
4968
|
{
|
|
4975
4969
|
path: "",
|
|
4976
|
-
lazy: () => import("./api-key-management-list-
|
|
4970
|
+
lazy: () => import("./api-key-management-list-FVOOICQR.js"),
|
|
4977
4971
|
children: [
|
|
4978
4972
|
{
|
|
4979
4973
|
path: "create",
|
|
4980
|
-
lazy: () => import("./api-key-management-create-
|
|
4974
|
+
lazy: () => import("./api-key-management-create-7SIKAXEH.js")
|
|
4981
4975
|
}
|
|
4982
4976
|
]
|
|
4983
4977
|
}
|
|
@@ -4986,27 +4980,27 @@ function getRouteMap({
|
|
|
4986
4980
|
{
|
|
4987
4981
|
path: ":id",
|
|
4988
4982
|
lazy: async () => {
|
|
4989
|
-
const { Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
4983
|
+
const { Breadcrumb, loader } = await import("./api-key-management-detail-ELMPBXEB.js");
|
|
4990
4984
|
return {
|
|
4991
4985
|
Component: Outlet4,
|
|
4992
4986
|
loader,
|
|
4993
4987
|
handle: {
|
|
4994
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4988
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4995
4989
|
}
|
|
4996
4990
|
};
|
|
4997
4991
|
},
|
|
4998
4992
|
children: [
|
|
4999
4993
|
{
|
|
5000
4994
|
path: "",
|
|
5001
|
-
lazy: () => import("./api-key-management-detail-
|
|
4995
|
+
lazy: () => import("./api-key-management-detail-ELMPBXEB.js"),
|
|
5002
4996
|
children: [
|
|
5003
4997
|
{
|
|
5004
4998
|
path: "edit",
|
|
5005
|
-
lazy: () => import("./api-key-management-edit-
|
|
4999
|
+
lazy: () => import("./api-key-management-edit-C4FYJZGH.js")
|
|
5006
5000
|
},
|
|
5007
5001
|
{
|
|
5008
5002
|
path: "sales-channels",
|
|
5009
|
-
lazy: () => import("./api-key-management-sales-channels-
|
|
5003
|
+
lazy: () => import("./api-key-management-sales-channels-JLSDZRG6.js")
|
|
5010
5004
|
}
|
|
5011
5005
|
]
|
|
5012
5006
|
}
|
|
@@ -5016,22 +5010,22 @@ function getRouteMap({
|
|
|
5016
5010
|
},
|
|
5017
5011
|
{
|
|
5018
5012
|
path: "secret-api-keys",
|
|
5019
|
-
element: /* @__PURE__ */
|
|
5013
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5020
5014
|
handle: {
|
|
5021
5015
|
breadcrumb: () => t("apiKeyManagement.domain.secret")
|
|
5022
5016
|
},
|
|
5023
5017
|
children: [
|
|
5024
5018
|
{
|
|
5025
5019
|
path: "",
|
|
5026
|
-
element: /* @__PURE__ */
|
|
5020
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5027
5021
|
children: [
|
|
5028
5022
|
{
|
|
5029
5023
|
path: "",
|
|
5030
|
-
lazy: () => import("./api-key-management-list-
|
|
5024
|
+
lazy: () => import("./api-key-management-list-FVOOICQR.js"),
|
|
5031
5025
|
children: [
|
|
5032
5026
|
{
|
|
5033
5027
|
path: "create",
|
|
5034
|
-
lazy: () => import("./api-key-management-create-
|
|
5028
|
+
lazy: () => import("./api-key-management-create-7SIKAXEH.js")
|
|
5035
5029
|
}
|
|
5036
5030
|
]
|
|
5037
5031
|
}
|
|
@@ -5040,23 +5034,23 @@ function getRouteMap({
|
|
|
5040
5034
|
{
|
|
5041
5035
|
path: ":id",
|
|
5042
5036
|
lazy: async () => {
|
|
5043
|
-
const { Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
5037
|
+
const { Breadcrumb, loader } = await import("./api-key-management-detail-ELMPBXEB.js");
|
|
5044
5038
|
return {
|
|
5045
5039
|
Component: Outlet4,
|
|
5046
5040
|
loader,
|
|
5047
5041
|
handle: {
|
|
5048
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
5042
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
5049
5043
|
}
|
|
5050
5044
|
};
|
|
5051
5045
|
},
|
|
5052
5046
|
children: [
|
|
5053
5047
|
{
|
|
5054
5048
|
path: "",
|
|
5055
|
-
lazy: () => import("./api-key-management-detail-
|
|
5049
|
+
lazy: () => import("./api-key-management-detail-ELMPBXEB.js"),
|
|
5056
5050
|
children: [
|
|
5057
5051
|
{
|
|
5058
5052
|
path: "edit",
|
|
5059
|
-
lazy: () => import("./api-key-management-edit-
|
|
5053
|
+
lazy: () => import("./api-key-management-edit-C4FYJZGH.js")
|
|
5060
5054
|
}
|
|
5061
5055
|
]
|
|
5062
5056
|
}
|
|
@@ -5066,7 +5060,7 @@ function getRouteMap({
|
|
|
5066
5060
|
},
|
|
5067
5061
|
{
|
|
5068
5062
|
path: "tax-regions",
|
|
5069
|
-
element: /* @__PURE__ */
|
|
5063
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5070
5064
|
handle: {
|
|
5071
5065
|
breadcrumb: () => t("taxRegions.domain")
|
|
5072
5066
|
},
|
|
@@ -5077,7 +5071,7 @@ function getRouteMap({
|
|
|
5077
5071
|
children: [
|
|
5078
5072
|
{
|
|
5079
5073
|
path: "create",
|
|
5080
|
-
lazy: () => import("./tax-region-create-
|
|
5074
|
+
lazy: () => import("./tax-region-create-YQ5YBOC3.js")
|
|
5081
5075
|
}
|
|
5082
5076
|
]
|
|
5083
5077
|
},
|
|
@@ -5086,13 +5080,13 @@ function getRouteMap({
|
|
|
5086
5080
|
Component: Outlet4,
|
|
5087
5081
|
loader: taxRegionLoader,
|
|
5088
5082
|
handle: {
|
|
5089
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
5083
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(TaxRegionDetailBreadcrumb, { ...match })
|
|
5090
5084
|
},
|
|
5091
5085
|
children: [
|
|
5092
5086
|
{
|
|
5093
5087
|
path: "",
|
|
5094
5088
|
lazy: async () => {
|
|
5095
|
-
const { Component } = await import("./tax-region-detail-
|
|
5089
|
+
const { Component } = await import("./tax-region-detail-EU5U3SFN.js");
|
|
5096
5090
|
return {
|
|
5097
5091
|
Component
|
|
5098
5092
|
};
|
|
@@ -5100,66 +5094,66 @@ function getRouteMap({
|
|
|
5100
5094
|
children: [
|
|
5101
5095
|
{
|
|
5102
5096
|
path: "edit",
|
|
5103
|
-
lazy: () => import("./tax-region-edit-
|
|
5097
|
+
lazy: () => import("./tax-region-edit-XHO3ELVD.js")
|
|
5104
5098
|
},
|
|
5105
5099
|
{
|
|
5106
5100
|
path: "provinces/create",
|
|
5107
|
-
lazy: () => import("./tax-region-province-create-
|
|
5101
|
+
lazy: () => import("./tax-region-province-create-SEPY4OAZ.js")
|
|
5108
5102
|
},
|
|
5109
5103
|
{
|
|
5110
5104
|
path: "overrides/create",
|
|
5111
|
-
lazy: () => import("./tax-region-tax-override-create-
|
|
5105
|
+
lazy: () => import("./tax-region-tax-override-create-5MIAKHY6.js")
|
|
5112
5106
|
},
|
|
5113
5107
|
{
|
|
5114
5108
|
path: "overrides/:tax_rate_id/edit",
|
|
5115
|
-
lazy: () => import("./tax-region-tax-override-edit-
|
|
5109
|
+
lazy: () => import("./tax-region-tax-override-edit-EHLIO56A.js")
|
|
5116
5110
|
},
|
|
5117
5111
|
{
|
|
5118
5112
|
path: "tax-rates/create",
|
|
5119
|
-
lazy: () => import("./tax-region-tax-rate-create-
|
|
5113
|
+
lazy: () => import("./tax-region-tax-rate-create-ZITIAU3K.js")
|
|
5120
5114
|
},
|
|
5121
5115
|
{
|
|
5122
5116
|
path: "tax-rates/:tax_rate_id/edit",
|
|
5123
|
-
lazy: () => import("./tax-region-tax-rate-edit-
|
|
5117
|
+
lazy: () => import("./tax-region-tax-rate-edit-RQLUPHD4.js")
|
|
5124
5118
|
},
|
|
5125
5119
|
{
|
|
5126
5120
|
path: "metadata/edit",
|
|
5127
|
-
lazy: () => import("./tax-region-metadata-
|
|
5121
|
+
lazy: () => import("./tax-region-metadata-NYTCYO6D.js")
|
|
5128
5122
|
}
|
|
5129
5123
|
]
|
|
5130
5124
|
},
|
|
5131
5125
|
{
|
|
5132
5126
|
path: "provinces/:province_id",
|
|
5133
5127
|
lazy: async () => {
|
|
5134
|
-
const { Breadcrumb, loader } = await import("./tax-region-province-detail-
|
|
5128
|
+
const { Breadcrumb, loader } = await import("./tax-region-province-detail-U4RULBEK.js");
|
|
5135
5129
|
return {
|
|
5136
5130
|
Component: Outlet4,
|
|
5137
5131
|
loader,
|
|
5138
5132
|
handle: {
|
|
5139
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
5133
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
5140
5134
|
}
|
|
5141
5135
|
};
|
|
5142
5136
|
},
|
|
5143
5137
|
children: [
|
|
5144
5138
|
{
|
|
5145
5139
|
path: "",
|
|
5146
|
-
lazy: () => import("./tax-region-province-detail-
|
|
5140
|
+
lazy: () => import("./tax-region-province-detail-U4RULBEK.js"),
|
|
5147
5141
|
children: [
|
|
5148
5142
|
{
|
|
5149
5143
|
path: "tax-rates/create",
|
|
5150
|
-
lazy: () => import("./tax-region-tax-rate-create-
|
|
5144
|
+
lazy: () => import("./tax-region-tax-rate-create-ZITIAU3K.js")
|
|
5151
5145
|
},
|
|
5152
5146
|
{
|
|
5153
5147
|
path: "tax-rates/:tax_rate_id/edit",
|
|
5154
|
-
lazy: () => import("./tax-region-tax-rate-edit-
|
|
5148
|
+
lazy: () => import("./tax-region-tax-rate-edit-RQLUPHD4.js")
|
|
5155
5149
|
},
|
|
5156
5150
|
{
|
|
5157
5151
|
path: "overrides/create",
|
|
5158
|
-
lazy: () => import("./tax-region-tax-override-create-
|
|
5152
|
+
lazy: () => import("./tax-region-tax-override-create-5MIAKHY6.js")
|
|
5159
5153
|
},
|
|
5160
5154
|
{
|
|
5161
5155
|
path: "overrides/:tax_rate_id/edit",
|
|
5162
|
-
lazy: () => import("./tax-region-tax-override-edit-
|
|
5156
|
+
lazy: () => import("./tax-region-tax-override-edit-EHLIO56A.js")
|
|
5163
5157
|
}
|
|
5164
5158
|
]
|
|
5165
5159
|
}
|
|
@@ -5171,25 +5165,25 @@ function getRouteMap({
|
|
|
5171
5165
|
},
|
|
5172
5166
|
{
|
|
5173
5167
|
path: "return-reasons",
|
|
5174
|
-
element: /* @__PURE__ */
|
|
5168
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5175
5169
|
handle: {
|
|
5176
5170
|
breadcrumb: () => t("returnReasons.domain")
|
|
5177
5171
|
},
|
|
5178
5172
|
children: [
|
|
5179
5173
|
{
|
|
5180
5174
|
path: "",
|
|
5181
|
-
lazy: () => import("./return-reason-list-
|
|
5175
|
+
lazy: () => import("./return-reason-list-EJ5DLDR2.js"),
|
|
5182
5176
|
children: [
|
|
5183
5177
|
{
|
|
5184
5178
|
path: "create",
|
|
5185
|
-
lazy: () => import("./return-reason-create-
|
|
5179
|
+
lazy: () => import("./return-reason-create-G7ON7U3A.js")
|
|
5186
5180
|
},
|
|
5187
5181
|
{
|
|
5188
5182
|
path: ":id",
|
|
5189
5183
|
children: [
|
|
5190
5184
|
{
|
|
5191
5185
|
path: "edit",
|
|
5192
|
-
lazy: () => import("./return-reason-edit-
|
|
5186
|
+
lazy: () => import("./return-reason-edit-77RVRFF6.js")
|
|
5193
5187
|
}
|
|
5194
5188
|
]
|
|
5195
5189
|
}
|
|
@@ -5199,25 +5193,25 @@ function getRouteMap({
|
|
|
5199
5193
|
},
|
|
5200
5194
|
{
|
|
5201
5195
|
path: "refund-reasons",
|
|
5202
|
-
element: /* @__PURE__ */
|
|
5196
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5203
5197
|
handle: {
|
|
5204
5198
|
breadcrumb: () => t("refundReasons.domain")
|
|
5205
5199
|
},
|
|
5206
5200
|
children: [
|
|
5207
5201
|
{
|
|
5208
5202
|
path: "",
|
|
5209
|
-
lazy: () => import("./refund-reason-list-
|
|
5203
|
+
lazy: () => import("./refund-reason-list-F56TJAGR.js"),
|
|
5210
5204
|
children: [
|
|
5211
5205
|
{
|
|
5212
5206
|
path: "create",
|
|
5213
|
-
lazy: () => import("./refund-reason-create-
|
|
5207
|
+
lazy: () => import("./refund-reason-create-CIXYHBRC.js")
|
|
5214
5208
|
},
|
|
5215
5209
|
{
|
|
5216
5210
|
path: ":id",
|
|
5217
5211
|
children: [
|
|
5218
5212
|
{
|
|
5219
5213
|
path: "edit",
|
|
5220
|
-
lazy: () => import("./refund-reason-edit-
|
|
5214
|
+
lazy: () => import("./refund-reason-edit-AXMEDPRT.js")
|
|
5221
5215
|
}
|
|
5222
5216
|
]
|
|
5223
5217
|
}
|
|
@@ -5232,18 +5226,18 @@ function getRouteMap({
|
|
|
5232
5226
|
]
|
|
5233
5227
|
},
|
|
5234
5228
|
{
|
|
5235
|
-
element: /* @__PURE__ */
|
|
5229
|
+
element: /* @__PURE__ */ jsx17(PublicLayout, {}),
|
|
5236
5230
|
children: [
|
|
5237
5231
|
{
|
|
5238
|
-
errorElement: /* @__PURE__ */
|
|
5232
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
5239
5233
|
children: [
|
|
5240
5234
|
{
|
|
5241
5235
|
path: "/login",
|
|
5242
|
-
lazy: () => import("./login-
|
|
5236
|
+
lazy: () => import("./login-NFPUZDAL.js")
|
|
5243
5237
|
},
|
|
5244
5238
|
{
|
|
5245
5239
|
path: "/reset-password",
|
|
5246
|
-
lazy: () => import("./reset-password-
|
|
5240
|
+
lazy: () => import("./reset-password-Y7HXY2NX.js")
|
|
5247
5241
|
},
|
|
5248
5242
|
{
|
|
5249
5243
|
path: "/invite",
|
|
@@ -5263,7 +5257,7 @@ function getRouteMap({
|
|
|
5263
5257
|
|
|
5264
5258
|
// src/app.tsx
|
|
5265
5259
|
import { useMemo as useMemo5 } from "react";
|
|
5266
|
-
import { jsx as
|
|
5260
|
+
import { jsx as jsx18, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5267
5261
|
function App() {
|
|
5268
5262
|
const routes = useMemo5(() => {
|
|
5269
5263
|
return {
|
|
@@ -5272,9 +5266,9 @@ function App() {
|
|
|
5272
5266
|
publicRoutes: createRouteMap(getRoutesByType(customRoutes, "public"))
|
|
5273
5267
|
};
|
|
5274
5268
|
}, []);
|
|
5275
|
-
return /* @__PURE__ */
|
|
5276
|
-
/* @__PURE__ */
|
|
5277
|
-
/* @__PURE__ */
|
|
5269
|
+
return /* @__PURE__ */ jsx18(TooltipProvider, { children: /* @__PURE__ */ jsx18(HelmetProvider, { children: /* @__PURE__ */ jsx18(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsxs11(ThemeProvider, { children: [
|
|
5270
|
+
/* @__PURE__ */ jsx18(I18n, {}),
|
|
5271
|
+
/* @__PURE__ */ jsx18(I18nProvider, { children: /* @__PURE__ */ jsx18(
|
|
5278
5272
|
RouterProvider,
|
|
5279
5273
|
{
|
|
5280
5274
|
router: createBrowserRouter(getRouteMap(routes), {
|
|
@@ -5282,7 +5276,7 @@ function App() {
|
|
|
5282
5276
|
})
|
|
5283
5277
|
}
|
|
5284
5278
|
) }),
|
|
5285
|
-
/* @__PURE__ */
|
|
5279
|
+
/* @__PURE__ */ jsx18(Toaster, {})
|
|
5286
5280
|
] }) }) }) });
|
|
5287
5281
|
}
|
|
5288
5282
|
export {
|