@mercurjs/admin 2.2.0-canary.2 → 2.2.0-canary.20
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-BNLH6QN5.js} +4 -4
- package/dist/{adjust-inventory-CVWSBMHU.js → adjust-inventory-2LHBQAWK.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-R5QQPNOD.js} +23 -23
- 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-JW7OXOK2.js} +65 -44
- package/dist/{attribute-detail-3QBRIF6Q.js → attribute-detail-3Z6MTMJT.js} +25 -23
- 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-WRTXTFED.js} +19 -20
- 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-ROTJ4SWD.js} +22 -23
- package/dist/{campaign-edit-ZGLDY4X4.js → campaign-edit-PA7FGIY3.js} +1 -1
- package/dist/{categories-metadata-YZUP43OH.js → categories-metadata-EPKUI3R4.js} +20 -21
- package/dist/{category-create-2MRYTSYM.js → category-create-AR33DJYX.js} +8 -5
- package/dist/{category-detail-PBGZSZRK.js → category-detail-ICACLNJ3.js} +28 -27
- 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-V4H3B6ML.js} +25 -26
- package/dist/{chunk-3JSAS7QP.js → chunk-22EOFXNK.js} +16 -0
- package/dist/{chunk-GJ6WPZQG.js → chunk-2HMWS5UW.js} +4 -4
- package/dist/{chunk-BVZAGCTV.js → chunk-2L4W75VS.js} +3 -3
- package/dist/{chunk-DKMBAZ5P.js → chunk-2MYHGOPY.js} +7 -7
- package/dist/{chunk-637OFDFC.js → chunk-2NA54XKC.js} +186 -78
- 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-XODRTI2W.js → chunk-47TXYMFT.js} +1 -1
- package/dist/chunk-4FHHNYIV.js +280 -0
- package/dist/{chunk-ZHOI4QMK.js → chunk-4OEYCLBE.js} +1 -1
- package/dist/{chunk-2LQ5SCPB.js → chunk-4Q5JHL4V.js} +18 -6
- package/dist/{chunk-HDRFPI6V.js → chunk-4UWPTSZK.js} +346 -424
- package/dist/{chunk-NXLOYMWF.js → chunk-4VXYPZMT.js} +7 -7
- package/dist/{chunk-IRTI3AS3.js → chunk-5T45PYWI.js} +4 -4
- 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-6LZAVEHW.js → chunk-7JZVZ5EX.js} +2 -2
- package/dist/{chunk-P25PIADJ.js → chunk-7VPJ4C6F.js} +1 -1
- package/dist/{chunk-HRGC5JHU.js → chunk-7XBB24GO.js} +107 -411
- package/dist/{chunk-G4PROEJI.js → chunk-7ZL46D3W.js} +4 -4
- package/dist/{chunk-EJTB2SLE.js → chunk-A7RM5JXC.js} +1 -1
- package/dist/{chunk-EREXPX6I.js → chunk-AGXO2H4E.js} +23 -37
- package/dist/{chunk-UXD3VNBO.js → chunk-AJLGY3LQ.js} +1 -2
- 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-LYZT5REU.js → chunk-C4XKPQ6T.js} +14 -1
- package/dist/{chunk-NQBSSM5V.js → chunk-CKQPO2SN.js} +2 -2
- package/dist/{chunk-54RTJBYO.js → chunk-DGCPYCHU.js} +8 -63
- package/dist/{chunk-HLPCO2OQ.js → chunk-EAC3J2Z4.js} +5 -5
- 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-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-AB2LHP3M.js → chunk-HI6L7DXI.js} +1 -1
- package/dist/{chunk-TITPJHIL.js → chunk-IER5BQNC.js} +1 -1
- package/dist/{chunk-GKW445WA.js → chunk-IHTQOPB6.js} +13 -187
- package/dist/{chunk-DRJAKRTI.js → chunk-ISS4LS3E.js} +1 -1
- package/dist/{chunk-JQBSPUH2.js → chunk-J3AMUGGZ.js} +14 -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-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-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-6FIU2V6Y.js → chunk-MHVZVF6O.js} +1 -1
- 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-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-3IVTUFBM.js → chunk-PWFZCT6H.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-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-6MJ6ZSJF.js → chunk-SJKLYS3R.js} +5 -5
- package/dist/{chunk-RQPDD3RI.js → chunk-SKKF3CU6.js} +1 -1
- package/dist/{chunk-Q6I2IKJB.js → chunk-SNCZQATG.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-BGGUVHDG.js → chunk-WETV577Q.js} +604 -744
- package/dist/{chunk-WDH5C2NS.js → chunk-WJGABDWC.js} +1 -1
- package/dist/{chunk-YZW5JD5A.js → chunk-WTPWO7KS.js} +116 -181
- package/dist/{chunk-A772RAKB.js → chunk-XGUUM3S6.js} +1 -1
- package/dist/chunk-XVSJKCCQ.js +142 -0
- package/dist/chunk-Y3RABQC4.js +33 -0
- package/dist/{chunk-S4SVK5DE.js → chunk-YVLANFBK.js} +29 -1
- package/dist/{chunk-OSEIN4Y2.js → chunk-Z2UBJXTU.js} +1 -1
- package/dist/{chunk-BCVUMATY.js → chunk-Z3SUMFDT.js} +7 -7
- 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-PBCIG33C.js} +24 -25
- package/dist/{collection-create-HUNYHKUJ.js → collection-create-7G3MHBVQ.js} +3 -3
- package/dist/{collection-detail-ACN5GFHC.js → collection-detail-3OLBOV24.js} +24 -25
- package/dist/{collection-edit-OQGYTQDO.js → collection-edit-LQEQ6YGD.js} +3 -3
- package/dist/{collection-list-M4MFNMXL.js → collection-list-S4ICG5T6.js} +24 -25
- package/dist/{collection-metadata-47N7TUOH.js → collection-metadata-VUOECEP4.js} +20 -21
- 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-RW63XPQ6.js} +1 -1
- package/dist/{customer-create-address-TYWVWNUE.js → customer-create-address-SZCOIGDP.js} +1 -1
- package/dist/{customer-detail-D5SSLNFT.js → customer-detail-MT2R7DFI.js} +24 -25
- package/dist/{customer-edit-JZ4PQTIN.js → customer-edit-ZBIZ4FKT.js} +1 -1
- package/dist/{customer-group-add-customers-VJUBEN7M.js → customer-group-add-customers-SG7EU4D7.js} +1 -1
- package/dist/{customer-group-create-NA2UKCF6.js → customer-group-create-LFGY5HR6.js} +1 -1
- package/dist/{customer-group-detail-KRT7E2JA.js → customer-group-detail-MCAEXZYM.js} +18 -19
- package/dist/{customer-group-edit-3O6HAYYN.js → customer-group-edit-CXWQSMDZ.js} +1 -1
- package/dist/{customer-group-list-KKDIESQ6.js → customer-group-list-V4PW33M5.js} +18 -19
- package/dist/{customer-group-metadata-J6JY7DZ3.js → customer-group-metadata-J622TR4I.js} +20 -21
- package/dist/{customer-metadata-AH2LBK4T.js → customer-metadata-SFS5VRK5.js} +20 -21
- package/dist/{customers-add-customer-group-AHGAPEIS.js → customers-add-customer-group-G6FIKKUP.js} +19 -20
- package/dist/{edit-inventory-item-ADNLKLCN.js → edit-inventory-item-OFPVTJ4I.js} +19 -20
- package/dist/{edit-inventory-item-attributes-XVR2WLDU.js → edit-inventory-item-attributes-Z37AFIYM.js} +19 -20
- package/dist/{edit-reservation-HQQL42QX.js → edit-reservation-TBZL2REV.js} +3 -3
- package/dist/{edit-rules-YMKM5JPI.js → edit-rules-JG62MLUS.js} +20 -21
- package/dist/global-commission-edit-LCD6JJUX.js +194 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +613 -631
- package/dist/{inventory-create-IVESXFSV.js → inventory-create-3IM54ZO3.js} +23 -24
- package/dist/{inventory-detail-TINIAFVB.js → inventory-detail-POKYZVLA.js} +19 -20
- package/dist/{inventory-list-YLIAKQXI.js → inventory-list-SCRYOBZV.js} +2 -2
- package/dist/{inventory-metadata-6INRH2JC.js → inventory-metadata-XXYKRUNP.js} +20 -21
- package/dist/{inventory-stock-6YGTATID.js → inventory-stock-CXPPGARO.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-PHT367V5.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-EZOVLJWL.js} +23 -24
- package/dist/{location-list-IV323QW2.js → location-list-HVSRDHOW.js} +20 -21
- 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-VZBL7MK6.js} +23 -24
- 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-LJMTSRAG.js} +18 -19
- 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-WINAJJDB.js} +21 -22
- package/dist/{marketplace-edit-6Q3G2OY5.js → marketplace-edit-QNFCTDUC.js} +1 -1
- package/dist/{marketplace-metadata-KRCGKOCA.js → marketplace-metadata-CCUK2B4Q.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-5LSNWJ6B.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-6IQJFYUK.js} +279 -252
- package/dist/{order-create-refund-OW3MIXBY.js → order-create-refund-DUVGD54U.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-Y6SFV44C.js} +30 -32
- package/dist/{order-edit-billing-address-VGZBQHF5.js → order-edit-billing-address-IW6UIARN.js} +22 -23
- package/dist/{order-edit-email-OOCXVRET.js → order-edit-email-D5XIYASI.js} +21 -22
- package/dist/{order-edit-shipping-address-B4F3E5RE.js → order-edit-shipping-address-4VJDVGKJ.js} +21 -22
- package/dist/{order-list-ERQWQ6UI.js → order-list-KWHMMX2M.js} +7 -7
- package/dist/{order-metadata-AN6MPHHT.js → order-metadata-QSTGFW66.js} +21 -22
- package/dist/{order-request-transfer-A2NJSQ4H.js → order-request-transfer-GYBTSHU4.js} +21 -22
- package/dist/pages/index.d.ts +134 -339
- package/dist/pages/index.js +172 -176
- package/dist/{price-list-configuration-XAHXLCXR.js → price-list-configuration-SNL2LNV2.js} +3 -3
- package/dist/{price-list-create-XCP32SJZ.js → price-list-create-LPJWSOBP.js} +29 -30
- package/dist/{price-list-detail-26RLU4G3.js → price-list-detail-7AUDNRSM.js} +25 -26
- package/dist/{price-list-edit-ZVLD4M5T.js → price-list-edit-BOEBNVGM.js} +3 -3
- package/dist/{price-list-list-ER4TOZTY.js → price-list-list-AX7ZW6LL.js} +4 -4
- package/dist/{price-list-prices-add-H4E2IVBC.js → price-list-prices-add-5IOYBCXV.js} +28 -29
- package/dist/{price-list-prices-edit-WHCIGSB2.js → price-list-prices-edit-DT2DLFTO.js} +21 -22
- package/dist/{product-add-existing-attributes-MSJD3GOP.js → product-add-existing-attributes-LNZK2LHX.js} +65 -29
- 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-QYEZHBTC.js} +31 -32
- 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-Q6YF7IYX.js} +25 -25
- 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-IDRT4WUK.js} +25 -26
- package/dist/{product-media-KREKRDOC.js → product-media-6H34CVXJ.js} +9 -8
- package/dist/{product-metadata-O3BAEUYB.js → product-metadata-VJMZL753.js} +21 -22
- 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-4FYE46PE.js} +19 -20
- package/dist/{product-tag-detail-FCVZLJ7N.js → product-tag-detail-WF34TUQR.js} +35 -36
- package/dist/{product-tag-edit-O2ADFDD6.js → product-tag-edit-HRWMMCUC.js} +19 -20
- package/dist/{product-tag-list-N44OW4BR.js → product-tag-list-PK43EMMH.js} +35 -36
- package/dist/{product-tag-metadata-SBOUTUXY.js → product-tag-metadata-ONSEQTEW.js} +20 -21
- package/dist/{product-type-create-RHG4KEAV.js → product-type-create-A7SUR2OX.js} +1 -1
- package/dist/{product-type-detail-II4RYMUP.js → product-type-detail-J466AJUQ.js} +25 -26
- package/dist/{product-type-edit-CABB7R7Y.js → product-type-edit-DM4U2VB4.js} +1 -1
- package/dist/{product-type-metadata-KN5OXR6J.js → product-type-metadata-CXYKP2OF.js} +21 -22
- package/dist/{product-variant-detail-H2YRFDAU.js → product-variant-detail-FXQZLB7Q.js} +23 -33
- package/dist/{product-variant-edit-3HKWOCHQ.js → product-variant-edit-CYEISGII.js} +170 -261
- package/dist/{product-variant-metadata-QESZ7VS2.js → product-variant-metadata-YQ2GKWW7.js} +20 -21
- 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-KNK57JWD.js} +24 -25
- package/dist/{promotion-detail-VYIXZMMD.js → promotion-detail-EUQ5LK2V.js} +21 -22
- package/dist/{promotion-edit-details-TKRC5HES.js → promotion-edit-details-NWOBD3YD.js} +1 -1
- package/dist/{promotion-list-C3SKV5BJ.js → promotion-list-M5SAE7A3.js} +4 -4
- package/dist/{refund-reason-create-2KEQFOID.js → refund-reason-create-ANAVZO2N.js} +19 -20
- package/dist/{refund-reason-edit-E7CB7SM3.js → refund-reason-edit-HKEVJ6A5.js} +19 -20
- package/dist/{refund-reason-list-CB2FZPDK.js → refund-reason-list-FBH43XVP.js} +32 -33
- 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-XHT3A6D7.js} +23 -24
- package/dist/{reservation-create-Y3HG4AZA.js → reservation-create-F6YDCLCG.js} +3 -3
- package/dist/{reservation-detail-HQMADZ56.js → reservation-detail-T3VHDWP6.js} +20 -21
- package/dist/{reservation-list-YKC3JJ6K.js → reservation-list-RGD6O4RY.js} +3 -3
- package/dist/{reservation-metadata-UG4YTEMY.js → reservation-metadata-4LVLM4UW.js} +21 -22
- package/dist/{reset-password-2VNU52CE.js → reset-password-RF5J4RIU.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-4JWWSFOS.js} +16 -16
- package/dist/{sales-channel-add-products-KKU2AR5R.js → sales-channel-add-products-FNJQKCQQ.js} +24 -25
- package/dist/{sales-channel-create-BSNCLZWR.js → sales-channel-create-TAKKGGK3.js} +3 -3
- package/dist/{sales-channel-detail-5WPD5VKT.js → sales-channel-detail-HXJAR6M4.js} +24 -25
- package/dist/{sales-channel-edit-FUDXMZYV.js → sales-channel-edit-HEESIKZH.js} +3 -3
- package/dist/{sales-channel-list-GYLGH4U7.js → sales-channel-list-YYIH254X.js} +23 -23
- package/dist/{sales-channel-metadata-H6RSHKVP.js → sales-channel-metadata-YF5AV2XX.js} +20 -21
- package/dist/{shipping-option-type-create-QAOW7753.js → shipping-option-type-create-TOONS7EC.js} +19 -20
- package/dist/{shipping-option-type-detail-QGWVDTDU.js → shipping-option-type-detail-VXZ4UQQI.js} +20 -21
- package/dist/{shipping-option-type-edit-WXYBDRNY.js → shipping-option-type-edit-6WO2XRLE.js} +19 -20
- package/dist/{shipping-option-type-list-YSWP6DSC.js → shipping-option-type-list-S7TW7Q3R.js} +20 -21
- package/dist/{shipping-profile-create-UJNCCKKK.js → shipping-profile-create-JYRXTOBF.js} +1 -1
- package/dist/{shipping-profile-metadata-UE53IA3J.js → shipping-profile-metadata-SVD3WK7H.js} +21 -22
- 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-7A5OSRIV.js} +23 -24
- package/dist/{store-details-RS3SPTXC.js → store-details-LSGSI4QU.js} +30 -45
- package/dist/{store-edit-34CPYPM3.js → store-edit-TP5CQHV7.js} +8 -8
- package/dist/{store-list-Q5X3JB3R.js → store-list-KQGPNQQ4.js} +24 -25
- 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-JR7OHOJ5.js} +20 -21
- package/dist/{tax-region-detail-AOT4X4DZ.js → tax-region-detail-2E56T5C2.js} +23 -24
- package/dist/{tax-region-edit-5T7VHKIA.js → tax-region-edit-7SBQFGPY.js} +19 -20
- package/dist/{tax-region-metadata-RSZCJGJT.js → tax-region-metadata-4NUEQV3N.js} +20 -21
- 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-5Q5E5OP7.js} +22 -23
- package/dist/{tax-region-tax-override-create-KPFXMSPH.js → tax-region-tax-override-create-S5S5JZEJ.js} +38 -41
- package/dist/{tax-region-tax-override-edit-RMMHCFXN.js → tax-region-tax-override-edit-JBG3MRNC.js} +40 -43
- 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-2D552EAR.js} +20 -21
- 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
|
@@ -2,15 +2,13 @@ import {
|
|
|
2
2
|
TaxRegionDetailBreadcrumb,
|
|
3
3
|
taxRegionLoader
|
|
4
4
|
} from "./chunk-YNHS5G26.js";
|
|
5
|
+
import "./chunk-QR3GYYX6.js";
|
|
5
6
|
import {
|
|
6
7
|
isClientError
|
|
7
8
|
} from "./chunk-C6SUTRP2.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-2NA54XKC.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";
|
|
67
65
|
import "./chunk-AEMDNTW5.js";
|
|
68
66
|
import "./chunk-LYD3C73Z.js";
|
|
69
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-FJHAAROU.js";
|
|
68
|
+
import "./chunk-533GMKEG.js";
|
|
69
|
+
import "./chunk-YFRC6GEN.js";
|
|
70
|
+
import "./chunk-N6SI4IIT.js";
|
|
70
71
|
import {
|
|
71
72
|
useProductTypes
|
|
72
73
|
} from "./chunk-46M463BR.js";
|
|
73
|
-
import "./chunk-
|
|
74
|
-
import "./chunk-533GMKEG.js";
|
|
75
|
-
import "./chunk-YFRC6GEN.js";
|
|
76
|
-
import "./chunk-DAXXLQKB.js";
|
|
77
|
-
import "./chunk-OHOWEMHO.js";
|
|
74
|
+
import "./chunk-ZIFHQXP3.js";
|
|
78
75
|
import "./chunk-JPNPTILP.js";
|
|
76
|
+
import "./chunk-DAXXLQKB.js";
|
|
79
77
|
import {
|
|
80
78
|
useMe
|
|
81
79
|
} from "./chunk-GKGLVDDV.js";
|
|
82
|
-
import "./chunk-
|
|
80
|
+
import "./chunk-ESPLVOFC.js";
|
|
83
81
|
import "./chunk-WJJXUXSO.js";
|
|
84
82
|
import "./chunk-LAPEZATU.js";
|
|
83
|
+
import {
|
|
84
|
+
useCollections
|
|
85
|
+
} from "./chunk-QKJGSZI2.js";
|
|
85
86
|
import {
|
|
86
87
|
usePriceLists
|
|
87
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-Z2UBJXTU.js";
|
|
88
89
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
useStore
|
|
91
|
+
} from "./chunk-FXWKGNRV.js";
|
|
92
|
+
import "./chunk-VDKOJ5WD.js";
|
|
91
93
|
import {
|
|
92
94
|
useCampaigns,
|
|
93
95
|
usePromotions
|
|
94
96
|
} from "./chunk-ZN7LWXVC.js";
|
|
95
|
-
import "./chunk-VYMODH6P.js";
|
|
96
|
-
import {
|
|
97
|
-
useSellers
|
|
98
|
-
} from "./chunk-LEG67A2R.js";
|
|
99
|
-
import {
|
|
100
|
-
useCustomers
|
|
101
|
-
} from "./chunk-PRBE5CM3.js";
|
|
102
97
|
import "./chunk-5TRY5IMZ.js";
|
|
103
98
|
import {
|
|
104
99
|
useStockLocations
|
|
105
100
|
} from "./chunk-EPHVGD5Z.js";
|
|
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-PRBE5CM3.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-IDRT4WUK.js"),
|
|
3456
3476
|
children: [
|
|
3457
3477
|
{
|
|
3458
3478
|
path: "create",
|
|
3459
|
-
lazy: () => import("./product-create-
|
|
3479
|
+
lazy: () => import("./product-create-QYEZHBTC.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-Q6YF7IYX.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-Q6YF7IYX.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-CYEISGII.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-LNZK2LHX.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-6H34CVXJ.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-VJMZL753.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-FXQZLB7Q.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-FXQZLB7Q.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-CYEISGII.js")
|
|
3575
3575
|
},
|
|
3576
3576
|
{
|
|
3577
3577
|
path: "metadata/edit",
|
|
3578
|
-
lazy: () => import("./product-variant-metadata-
|
|
3578
|
+
lazy: () => import("./product-variant-metadata-YQ2GKWW7.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-ICACLNJ3.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-ICACLNJ3.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-V4H3B6ML.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-EPKUI3R4.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-KWHMMX2M.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-Y6SFV44C.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-Y6SFV44C.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-6IQJFYUK.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-DUVGD54U.js")
|
|
3711
3703
|
},
|
|
3712
3704
|
{
|
|
3713
3705
|
path: "transfer",
|
|
3714
|
-
lazy: () => import("./order-request-transfer-
|
|
3706
|
+
lazy: () => import("./order-request-transfer-GYBTSHU4.js")
|
|
3715
3707
|
},
|
|
3716
3708
|
{
|
|
3717
3709
|
path: "email",
|
|
3718
|
-
lazy: () => import("./order-edit-email-
|
|
3710
|
+
lazy: () => import("./order-edit-email-D5XIYASI.js")
|
|
3719
3711
|
},
|
|
3720
3712
|
{
|
|
3721
3713
|
path: "shipping-address",
|
|
3722
|
-
lazy: () => import("./order-edit-shipping-address-
|
|
3714
|
+
lazy: () => import("./order-edit-shipping-address-4VJDVGKJ.js")
|
|
3723
3715
|
},
|
|
3724
3716
|
{
|
|
3725
3717
|
path: "billing-address",
|
|
3726
|
-
lazy: () => import("./order-edit-billing-address-
|
|
3718
|
+
lazy: () => import("./order-edit-billing-address-IW6UIARN.js")
|
|
3727
3719
|
},
|
|
3728
3720
|
{
|
|
3729
3721
|
path: "metadata/edit",
|
|
3730
|
-
lazy: () => import("./order-metadata-
|
|
3722
|
+
lazy: () => import("./order-metadata-QSTGFW66.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-M5SAE7A3.js")
|
|
3748
3740
|
},
|
|
3749
3741
|
{
|
|
3750
3742
|
path: "create",
|
|
3751
|
-
lazy: () => import("./promotion-create-
|
|
3743
|
+
lazy: () => import("./promotion-create-KNK57JWD.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-EUQ5LK2V.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-EUQ5LK2V.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-JG62MLUS.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-ROTJ4SWD.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-ROTJ4SWD.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-BNLH6QN5.js")
|
|
3836
3828
|
}
|
|
3837
3829
|
]
|
|
3838
3830
|
}
|
|
@@ -3842,49 +3834,49 @@ 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-S4ICG5T6.js"),
|
|
3853
3845
|
children: [
|
|
3854
3846
|
{
|
|
3855
3847
|
path: "create",
|
|
3856
|
-
lazy: () => import("./collection-create-
|
|
3848
|
+
lazy: () => import("./collection-create-7G3MHBVQ.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-3OLBOV24.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-3OLBOV24.js"),
|
|
3876
3868
|
children: [
|
|
3877
3869
|
{
|
|
3878
3870
|
path: "edit",
|
|
3879
|
-
lazy: () => import("./collection-edit-
|
|
3871
|
+
lazy: () => import("./collection-edit-LQEQ6YGD.js")
|
|
3880
3872
|
},
|
|
3881
3873
|
{
|
|
3882
3874
|
path: "products",
|
|
3883
|
-
lazy: () => import("./collection-add-products-
|
|
3875
|
+
lazy: () => import("./collection-add-products-PBCIG33C.js")
|
|
3884
3876
|
},
|
|
3885
3877
|
{
|
|
3886
3878
|
path: "metadata/edit",
|
|
3887
|
-
lazy: () => import("./collection-metadata-
|
|
3879
|
+
lazy: () => import("./collection-metadata-VUOECEP4.js")
|
|
3888
3880
|
}
|
|
3889
3881
|
]
|
|
3890
3882
|
}
|
|
@@ -3894,53 +3886,53 @@ function getRouteMap({
|
|
|
3894
3886
|
},
|
|
3895
3887
|
{
|
|
3896
3888
|
path: "/price-lists",
|
|
3897
|
-
errorElement: /* @__PURE__ */
|
|
3889
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3898
3890
|
handle: {
|
|
3899
3891
|
breadcrumb: () => t("priceLists.domain")
|
|
3900
3892
|
},
|
|
3901
3893
|
children: [
|
|
3902
3894
|
{
|
|
3903
3895
|
path: "",
|
|
3904
|
-
lazy: () => import("./price-list-list-
|
|
3896
|
+
lazy: () => import("./price-list-list-AX7ZW6LL.js"),
|
|
3905
3897
|
children: [
|
|
3906
3898
|
{
|
|
3907
3899
|
path: "create",
|
|
3908
|
-
lazy: () => import("./price-list-create-
|
|
3900
|
+
lazy: () => import("./price-list-create-LPJWSOBP.js")
|
|
3909
3901
|
}
|
|
3910
3902
|
]
|
|
3911
3903
|
},
|
|
3912
3904
|
{
|
|
3913
3905
|
path: ":id",
|
|
3914
3906
|
lazy: async () => {
|
|
3915
|
-
const { Breadcrumb, loader } = await import("./price-list-detail-
|
|
3907
|
+
const { Breadcrumb, loader } = await import("./price-list-detail-7AUDNRSM.js");
|
|
3916
3908
|
return {
|
|
3917
3909
|
Component: Outlet4,
|
|
3918
3910
|
loader,
|
|
3919
3911
|
handle: {
|
|
3920
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3912
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3921
3913
|
}
|
|
3922
3914
|
};
|
|
3923
3915
|
},
|
|
3924
3916
|
children: [
|
|
3925
3917
|
{
|
|
3926
3918
|
path: "",
|
|
3927
|
-
lazy: () => import("./price-list-detail-
|
|
3919
|
+
lazy: () => import("./price-list-detail-7AUDNRSM.js"),
|
|
3928
3920
|
children: [
|
|
3929
3921
|
{
|
|
3930
3922
|
path: "edit",
|
|
3931
|
-
lazy: () => import("./price-list-edit-
|
|
3923
|
+
lazy: () => import("./price-list-edit-BOEBNVGM.js")
|
|
3932
3924
|
},
|
|
3933
3925
|
{
|
|
3934
3926
|
path: "configuration",
|
|
3935
|
-
lazy: () => import("./price-list-configuration-
|
|
3927
|
+
lazy: () => import("./price-list-configuration-SNL2LNV2.js")
|
|
3936
3928
|
},
|
|
3937
3929
|
{
|
|
3938
3930
|
path: "products/add",
|
|
3939
|
-
lazy: () => import("./price-list-prices-add-
|
|
3931
|
+
lazy: () => import("./price-list-prices-add-5IOYBCXV.js")
|
|
3940
3932
|
},
|
|
3941
3933
|
{
|
|
3942
3934
|
path: "products/edit",
|
|
3943
|
-
lazy: () => import("./price-list-prices-edit-
|
|
3935
|
+
lazy: () => import("./price-list-prices-edit-DT2DLFTO.js")
|
|
3944
3936
|
}
|
|
3945
3937
|
]
|
|
3946
3938
|
}
|
|
@@ -3950,7 +3942,7 @@ function getRouteMap({
|
|
|
3950
3942
|
},
|
|
3951
3943
|
{
|
|
3952
3944
|
path: "/customers",
|
|
3953
|
-
errorElement: /* @__PURE__ */
|
|
3945
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3954
3946
|
handle: {
|
|
3955
3947
|
breadcrumb: () => t("customers.domain")
|
|
3956
3948
|
},
|
|
@@ -3961,46 +3953,46 @@ function getRouteMap({
|
|
|
3961
3953
|
children: [
|
|
3962
3954
|
{
|
|
3963
3955
|
path: "create",
|
|
3964
|
-
lazy: () => import("./customer-create-
|
|
3956
|
+
lazy: () => import("./customer-create-RW63XPQ6.js")
|
|
3965
3957
|
}
|
|
3966
3958
|
]
|
|
3967
3959
|
},
|
|
3968
3960
|
{
|
|
3969
3961
|
path: ":id",
|
|
3970
3962
|
lazy: async () => {
|
|
3971
|
-
const { Breadcrumb, loader } = await import("./customer-detail-
|
|
3963
|
+
const { Breadcrumb, loader } = await import("./customer-detail-MT2R7DFI.js");
|
|
3972
3964
|
return {
|
|
3973
3965
|
Component: Outlet4,
|
|
3974
3966
|
loader,
|
|
3975
3967
|
handle: {
|
|
3976
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3968
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3977
3969
|
}
|
|
3978
3970
|
};
|
|
3979
3971
|
},
|
|
3980
3972
|
children: [
|
|
3981
3973
|
{
|
|
3982
3974
|
path: "",
|
|
3983
|
-
lazy: () => import("./customer-detail-
|
|
3975
|
+
lazy: () => import("./customer-detail-MT2R7DFI.js"),
|
|
3984
3976
|
children: [
|
|
3985
3977
|
{
|
|
3986
3978
|
path: "edit",
|
|
3987
|
-
lazy: () => import("./customer-edit-
|
|
3979
|
+
lazy: () => import("./customer-edit-ZBIZ4FKT.js")
|
|
3988
3980
|
},
|
|
3989
3981
|
{
|
|
3990
3982
|
path: "create-address",
|
|
3991
|
-
lazy: () => import("./customer-create-address-
|
|
3983
|
+
lazy: () => import("./customer-create-address-SZCOIGDP.js")
|
|
3992
3984
|
},
|
|
3993
3985
|
{
|
|
3994
3986
|
path: "add-customer-groups",
|
|
3995
|
-
lazy: () => import("./customers-add-customer-group-
|
|
3987
|
+
lazy: () => import("./customers-add-customer-group-G6FIKKUP.js")
|
|
3996
3988
|
},
|
|
3997
3989
|
{
|
|
3998
3990
|
path: ":order_id/transfer",
|
|
3999
|
-
lazy: () => import("./order-request-transfer-
|
|
3991
|
+
lazy: () => import("./order-request-transfer-GYBTSHU4.js")
|
|
4000
3992
|
},
|
|
4001
3993
|
{
|
|
4002
3994
|
path: "metadata/edit",
|
|
4003
|
-
lazy: () => import("./customer-metadata-
|
|
3995
|
+
lazy: () => import("./customer-metadata-SFS5VRK5.js")
|
|
4004
3996
|
}
|
|
4005
3997
|
]
|
|
4006
3998
|
}
|
|
@@ -4010,49 +4002,49 @@ function getRouteMap({
|
|
|
4010
4002
|
},
|
|
4011
4003
|
{
|
|
4012
4004
|
path: "/customer-groups",
|
|
4013
|
-
errorElement: /* @__PURE__ */
|
|
4005
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4014
4006
|
handle: {
|
|
4015
4007
|
breadcrumb: () => t("customerGroups.domain")
|
|
4016
4008
|
},
|
|
4017
4009
|
children: [
|
|
4018
4010
|
{
|
|
4019
4011
|
path: "",
|
|
4020
|
-
lazy: () => import("./customer-group-list-
|
|
4012
|
+
lazy: () => import("./customer-group-list-V4PW33M5.js"),
|
|
4021
4013
|
children: [
|
|
4022
4014
|
{
|
|
4023
4015
|
path: "create",
|
|
4024
|
-
lazy: () => import("./customer-group-create-
|
|
4016
|
+
lazy: () => import("./customer-group-create-LFGY5HR6.js")
|
|
4025
4017
|
}
|
|
4026
4018
|
]
|
|
4027
4019
|
},
|
|
4028
4020
|
{
|
|
4029
4021
|
path: ":id",
|
|
4030
4022
|
lazy: async () => {
|
|
4031
|
-
const { Breadcrumb, loader } = await import("./customer-group-detail-
|
|
4023
|
+
const { Breadcrumb, loader } = await import("./customer-group-detail-MCAEXZYM.js");
|
|
4032
4024
|
return {
|
|
4033
4025
|
Component: Outlet4,
|
|
4034
4026
|
loader,
|
|
4035
4027
|
handle: {
|
|
4036
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4028
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4037
4029
|
}
|
|
4038
4030
|
};
|
|
4039
4031
|
},
|
|
4040
4032
|
children: [
|
|
4041
4033
|
{
|
|
4042
4034
|
path: "",
|
|
4043
|
-
lazy: () => import("./customer-group-detail-
|
|
4035
|
+
lazy: () => import("./customer-group-detail-MCAEXZYM.js"),
|
|
4044
4036
|
children: [
|
|
4045
4037
|
{
|
|
4046
4038
|
path: "edit",
|
|
4047
|
-
lazy: () => import("./customer-group-edit-
|
|
4039
|
+
lazy: () => import("./customer-group-edit-CXWQSMDZ.js")
|
|
4048
4040
|
},
|
|
4049
4041
|
{
|
|
4050
4042
|
path: "add-customers",
|
|
4051
|
-
lazy: () => import("./customer-group-add-customers-
|
|
4043
|
+
lazy: () => import("./customer-group-add-customers-SG7EU4D7.js")
|
|
4052
4044
|
},
|
|
4053
4045
|
{
|
|
4054
4046
|
path: "metadata/edit",
|
|
4055
|
-
lazy: () => import("./customer-group-metadata-
|
|
4047
|
+
lazy: () => import("./customer-group-metadata-J622TR4I.js")
|
|
4056
4048
|
}
|
|
4057
4049
|
]
|
|
4058
4050
|
}
|
|
@@ -4062,64 +4054,64 @@ function getRouteMap({
|
|
|
4062
4054
|
},
|
|
4063
4055
|
{
|
|
4064
4056
|
path: "/stores",
|
|
4065
|
-
errorElement: /* @__PURE__ */
|
|
4057
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4066
4058
|
handle: {
|
|
4067
4059
|
breadcrumb: () => t("stores.domain")
|
|
4068
4060
|
},
|
|
4069
4061
|
children: [
|
|
4070
4062
|
{
|
|
4071
4063
|
path: "",
|
|
4072
|
-
lazy: () => import("./store-list-
|
|
4064
|
+
lazy: () => import("./store-list-KQGPNQQ4.js"),
|
|
4073
4065
|
children: [
|
|
4074
4066
|
{
|
|
4075
4067
|
path: "create",
|
|
4076
|
-
lazy: () => import("./store-create-
|
|
4068
|
+
lazy: () => import("./store-create-7A5OSRIV.js")
|
|
4077
4069
|
},
|
|
4078
4070
|
{
|
|
4079
4071
|
path: "bulk-edit",
|
|
4080
|
-
lazy: () => import("./store-bulk-edit-
|
|
4072
|
+
lazy: () => import("./store-bulk-edit-JAOT5GY2.js")
|
|
4081
4073
|
}
|
|
4082
4074
|
]
|
|
4083
4075
|
},
|
|
4084
4076
|
{
|
|
4085
4077
|
path: ":id",
|
|
4086
4078
|
lazy: async () => {
|
|
4087
|
-
const { Breadcrumb } = await import("./store-details-
|
|
4079
|
+
const { Breadcrumb } = await import("./store-details-LSGSI4QU.js");
|
|
4088
4080
|
return {
|
|
4089
4081
|
Component: Outlet4,
|
|
4090
4082
|
handle: {
|
|
4091
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4083
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4092
4084
|
}
|
|
4093
4085
|
};
|
|
4094
4086
|
},
|
|
4095
4087
|
children: [
|
|
4096
4088
|
{
|
|
4097
4089
|
path: "",
|
|
4098
|
-
lazy: () => import("./store-details-
|
|
4090
|
+
lazy: () => import("./store-details-LSGSI4QU.js"),
|
|
4099
4091
|
children: [
|
|
4100
4092
|
{
|
|
4101
4093
|
path: "edit",
|
|
4102
|
-
lazy: () => import("./store-edit-
|
|
4094
|
+
lazy: () => import("./store-edit-TP5CQHV7.js")
|
|
4103
4095
|
},
|
|
4104
4096
|
{
|
|
4105
4097
|
path: "edit-address",
|
|
4106
|
-
lazy: () => import("./store-address-edit-
|
|
4098
|
+
lazy: () => import("./store-address-edit-SWLACMPC.js")
|
|
4107
4099
|
},
|
|
4108
4100
|
{
|
|
4109
4101
|
path: "professional-details",
|
|
4110
|
-
lazy: () => import("./store-professional-details-edit-
|
|
4102
|
+
lazy: () => import("./store-professional-details-edit-FPOLORSE.js")
|
|
4111
4103
|
},
|
|
4112
4104
|
{
|
|
4113
4105
|
path: "payment-details",
|
|
4114
|
-
lazy: () => import("./store-payment-details-edit-
|
|
4106
|
+
lazy: () => import("./store-payment-details-edit-DF2WURRI.js")
|
|
4115
4107
|
},
|
|
4116
4108
|
{
|
|
4117
4109
|
path: "store-closure",
|
|
4118
|
-
lazy: () => import("./store-closure-edit-
|
|
4110
|
+
lazy: () => import("./store-closure-edit-Y3FOCDRX.js")
|
|
4119
4111
|
},
|
|
4120
4112
|
{
|
|
4121
4113
|
path: "invite",
|
|
4122
|
-
lazy: () => import("./store-member-invite-
|
|
4114
|
+
lazy: () => import("./store-member-invite-MNRTPHUB.js")
|
|
4123
4115
|
}
|
|
4124
4116
|
]
|
|
4125
4117
|
}
|
|
@@ -4129,7 +4121,7 @@ function getRouteMap({
|
|
|
4129
4121
|
},
|
|
4130
4122
|
{
|
|
4131
4123
|
path: "/payouts",
|
|
4132
|
-
errorElement: /* @__PURE__ */
|
|
4124
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4133
4125
|
handle: {
|
|
4134
4126
|
breadcrumb: () => "Payouts"
|
|
4135
4127
|
},
|
|
@@ -4146,7 +4138,7 @@ function getRouteMap({
|
|
|
4146
4138
|
Component: Outlet4,
|
|
4147
4139
|
loader,
|
|
4148
4140
|
handle: {
|
|
4149
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4141
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4150
4142
|
}
|
|
4151
4143
|
};
|
|
4152
4144
|
},
|
|
@@ -4161,45 +4153,45 @@ function getRouteMap({
|
|
|
4161
4153
|
},
|
|
4162
4154
|
{
|
|
4163
4155
|
path: "/reservations",
|
|
4164
|
-
errorElement: /* @__PURE__ */
|
|
4156
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4165
4157
|
handle: {
|
|
4166
4158
|
breadcrumb: () => t("reservations.domain")
|
|
4167
4159
|
},
|
|
4168
4160
|
children: [
|
|
4169
4161
|
{
|
|
4170
4162
|
path: "",
|
|
4171
|
-
lazy: () => import("./reservation-list-
|
|
4163
|
+
lazy: () => import("./reservation-list-RGD6O4RY.js"),
|
|
4172
4164
|
children: [
|
|
4173
4165
|
{
|
|
4174
4166
|
path: "create",
|
|
4175
|
-
lazy: () => import("./reservation-create-
|
|
4167
|
+
lazy: () => import("./reservation-create-F6YDCLCG.js")
|
|
4176
4168
|
}
|
|
4177
4169
|
]
|
|
4178
4170
|
},
|
|
4179
4171
|
{
|
|
4180
4172
|
path: ":id",
|
|
4181
4173
|
lazy: async () => {
|
|
4182
|
-
const { Breadcrumb, loader } = await import("./reservation-detail-
|
|
4174
|
+
const { Breadcrumb, loader } = await import("./reservation-detail-T3VHDWP6.js");
|
|
4183
4175
|
return {
|
|
4184
4176
|
Component: Outlet4,
|
|
4185
4177
|
loader,
|
|
4186
4178
|
handle: {
|
|
4187
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4179
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4188
4180
|
}
|
|
4189
4181
|
};
|
|
4190
4182
|
},
|
|
4191
4183
|
children: [
|
|
4192
4184
|
{
|
|
4193
4185
|
path: "",
|
|
4194
|
-
lazy: () => import("./reservation-detail-
|
|
4186
|
+
lazy: () => import("./reservation-detail-T3VHDWP6.js"),
|
|
4195
4187
|
children: [
|
|
4196
4188
|
{
|
|
4197
4189
|
path: "edit",
|
|
4198
|
-
lazy: () => import("./edit-reservation-
|
|
4190
|
+
lazy: () => import("./edit-reservation-TBZL2REV.js")
|
|
4199
4191
|
},
|
|
4200
4192
|
{
|
|
4201
4193
|
path: "metadata/edit",
|
|
4202
|
-
lazy: () => import("./reservation-metadata-
|
|
4194
|
+
lazy: () => import("./reservation-metadata-4LVLM4UW.js")
|
|
4203
4195
|
}
|
|
4204
4196
|
]
|
|
4205
4197
|
}
|
|
@@ -4209,7 +4201,7 @@ function getRouteMap({
|
|
|
4209
4201
|
},
|
|
4210
4202
|
{
|
|
4211
4203
|
path: "/offers",
|
|
4212
|
-
errorElement: /* @__PURE__ */
|
|
4204
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4213
4205
|
handle: {
|
|
4214
4206
|
breadcrumb: () => t("offers.domain")
|
|
4215
4207
|
},
|
|
@@ -4217,83 +4209,115 @@ function getRouteMap({
|
|
|
4217
4209
|
{
|
|
4218
4210
|
path: "",
|
|
4219
4211
|
lazy: async () => {
|
|
4220
|
-
const { OfferListPage } = await import("./offers-
|
|
4212
|
+
const { OfferListPage } = await import("./offers-5LSNWJ6B.js");
|
|
4221
4213
|
return { Component: OfferListPage };
|
|
4222
4214
|
}
|
|
4223
4215
|
},
|
|
4224
4216
|
{
|
|
4225
4217
|
path: ":id",
|
|
4226
4218
|
lazy: async () => {
|
|
4227
|
-
const {
|
|
4228
|
-
const {
|
|
4219
|
+
const { loader } = await import("./loader-XPJWDZU3.js");
|
|
4220
|
+
const { Breadcrumb } = await import("./breadcrumb-CO5DVI72.js");
|
|
4229
4221
|
return {
|
|
4230
|
-
Component:
|
|
4222
|
+
Component: Outlet4,
|
|
4231
4223
|
loader,
|
|
4232
4224
|
handle: {
|
|
4233
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4225
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4234
4226
|
}
|
|
4235
4227
|
};
|
|
4236
|
-
}
|
|
4228
|
+
},
|
|
4229
|
+
children: [
|
|
4230
|
+
{
|
|
4231
|
+
path: "",
|
|
4232
|
+
lazy: async () => {
|
|
4233
|
+
const { OfferDetailPage } = await import("./offer-detail-page-2DG3W7VG.js");
|
|
4234
|
+
return { Component: OfferDetailPage };
|
|
4235
|
+
}
|
|
4236
|
+
},
|
|
4237
|
+
{
|
|
4238
|
+
path: "variants/:offer_id",
|
|
4239
|
+
lazy: async () => {
|
|
4240
|
+
const { loader } = await import("./loader-S77URTQS.js");
|
|
4241
|
+
const { Breadcrumb } = await import("./breadcrumb-RYIHOYZE.js");
|
|
4242
|
+
return {
|
|
4243
|
+
Component: Outlet4,
|
|
4244
|
+
loader,
|
|
4245
|
+
handle: {
|
|
4246
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4247
|
+
}
|
|
4248
|
+
};
|
|
4249
|
+
},
|
|
4250
|
+
children: [
|
|
4251
|
+
{
|
|
4252
|
+
path: "",
|
|
4253
|
+
lazy: async () => {
|
|
4254
|
+
const { OfferVariantDetailPage } = await import("./offer-variant-detail-page-U4LDYFE3.js");
|
|
4255
|
+
return { Component: OfferVariantDetailPage };
|
|
4256
|
+
}
|
|
4257
|
+
}
|
|
4258
|
+
]
|
|
4259
|
+
}
|
|
4260
|
+
]
|
|
4237
4261
|
}
|
|
4238
4262
|
]
|
|
4239
4263
|
},
|
|
4240
4264
|
{
|
|
4241
4265
|
path: "/inventory",
|
|
4242
|
-
errorElement: /* @__PURE__ */
|
|
4266
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4243
4267
|
handle: {
|
|
4244
4268
|
breadcrumb: () => t("inventory.domain")
|
|
4245
4269
|
},
|
|
4246
4270
|
children: [
|
|
4247
4271
|
{
|
|
4248
4272
|
path: "",
|
|
4249
|
-
lazy: () => import("./inventory-list-
|
|
4273
|
+
lazy: () => import("./inventory-list-SCRYOBZV.js"),
|
|
4250
4274
|
children: [
|
|
4251
4275
|
{
|
|
4252
4276
|
path: "create",
|
|
4253
|
-
lazy: () => import("./inventory-create-
|
|
4277
|
+
lazy: () => import("./inventory-create-3IM54ZO3.js")
|
|
4254
4278
|
},
|
|
4255
4279
|
{
|
|
4256
4280
|
path: "stock",
|
|
4257
|
-
lazy: () => import("./inventory-stock-
|
|
4281
|
+
lazy: () => import("./inventory-stock-CXPPGARO.js")
|
|
4258
4282
|
}
|
|
4259
4283
|
]
|
|
4260
4284
|
},
|
|
4261
4285
|
{
|
|
4262
4286
|
path: ":id",
|
|
4263
4287
|
lazy: async () => {
|
|
4264
|
-
const { Breadcrumb, loader } = await import("./inventory-detail-
|
|
4288
|
+
const { Breadcrumb, loader } = await import("./inventory-detail-POKYZVLA.js");
|
|
4265
4289
|
return {
|
|
4266
4290
|
Component: Outlet4,
|
|
4267
4291
|
loader,
|
|
4268
4292
|
handle: {
|
|
4269
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4293
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4270
4294
|
}
|
|
4271
4295
|
};
|
|
4272
4296
|
},
|
|
4273
4297
|
children: [
|
|
4274
4298
|
{
|
|
4275
4299
|
path: "",
|
|
4276
|
-
lazy: () => import("./inventory-detail-
|
|
4300
|
+
lazy: () => import("./inventory-detail-POKYZVLA.js"),
|
|
4277
4301
|
children: [
|
|
4278
4302
|
{
|
|
4279
4303
|
path: "edit",
|
|
4280
|
-
lazy: () => import("./edit-inventory-item-
|
|
4304
|
+
lazy: () => import("./edit-inventory-item-OFPVTJ4I.js")
|
|
4281
4305
|
},
|
|
4282
4306
|
{
|
|
4283
4307
|
path: "attributes",
|
|
4284
|
-
lazy: () => import("./edit-inventory-item-attributes-
|
|
4308
|
+
lazy: () => import("./edit-inventory-item-attributes-Z37AFIYM.js")
|
|
4285
4309
|
},
|
|
4286
4310
|
{
|
|
4287
4311
|
path: "metadata/edit",
|
|
4288
|
-
lazy: () => import("./inventory-metadata-
|
|
4312
|
+
lazy: () => import("./inventory-metadata-XXYKRUNP.js")
|
|
4289
4313
|
},
|
|
4290
4314
|
{
|
|
4291
4315
|
path: "locations",
|
|
4292
|
-
lazy: () => import("./manage-locations-
|
|
4316
|
+
lazy: () => import("./manage-locations-WW35SVOX.js")
|
|
4293
4317
|
},
|
|
4294
4318
|
{
|
|
4295
4319
|
path: "locations/:location_id",
|
|
4296
|
-
lazy: () => import("./adjust-inventory-
|
|
4320
|
+
lazy: () => import("./adjust-inventory-2LHBQAWK.js")
|
|
4297
4321
|
}
|
|
4298
4322
|
]
|
|
4299
4323
|
}
|
|
@@ -4308,26 +4332,26 @@ function getRouteMap({
|
|
|
4308
4332
|
]
|
|
4309
4333
|
},
|
|
4310
4334
|
{
|
|
4311
|
-
element: /* @__PURE__ */
|
|
4312
|
-
errorElement: /* @__PURE__ */
|
|
4335
|
+
element: /* @__PURE__ */ jsx17(ProtectedRoute, {}),
|
|
4336
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4313
4337
|
children: [
|
|
4314
4338
|
{
|
|
4315
4339
|
path: "/settings",
|
|
4316
4340
|
handle: {
|
|
4317
4341
|
breadcrumb: () => t("app.nav.settings.header")
|
|
4318
4342
|
},
|
|
4319
|
-
element: /* @__PURE__ */
|
|
4343
|
+
element: /* @__PURE__ */ jsx17(SettingsLayout, {}),
|
|
4320
4344
|
children: mergeRoutes(
|
|
4321
4345
|
[
|
|
4322
4346
|
{
|
|
4323
4347
|
index: true,
|
|
4324
|
-
errorElement: /* @__PURE__ */
|
|
4348
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4325
4349
|
lazy: () => import("./settings-AVE3VCCM.js")
|
|
4326
4350
|
},
|
|
4327
4351
|
{
|
|
4328
4352
|
path: "profile",
|
|
4329
|
-
errorElement: /* @__PURE__ */
|
|
4330
|
-
element: /* @__PURE__ */
|
|
4353
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4354
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4331
4355
|
handle: {
|
|
4332
4356
|
breadcrumb: () => t("profile.domain")
|
|
4333
4357
|
},
|
|
@@ -4338,7 +4362,7 @@ function getRouteMap({
|
|
|
4338
4362
|
children: [
|
|
4339
4363
|
{
|
|
4340
4364
|
path: "edit",
|
|
4341
|
-
lazy: () => import("./profile-edit-
|
|
4365
|
+
lazy: () => import("./profile-edit-H5QZ66PF.js")
|
|
4342
4366
|
}
|
|
4343
4367
|
]
|
|
4344
4368
|
}
|
|
@@ -4346,8 +4370,8 @@ function getRouteMap({
|
|
|
4346
4370
|
},
|
|
4347
4371
|
{
|
|
4348
4372
|
path: "regions",
|
|
4349
|
-
errorElement: /* @__PURE__ */
|
|
4350
|
-
element: /* @__PURE__ */
|
|
4373
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4374
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4351
4375
|
handle: {
|
|
4352
4376
|
breadcrumb: () => t("regions.domain")
|
|
4353
4377
|
},
|
|
@@ -4358,7 +4382,7 @@ function getRouteMap({
|
|
|
4358
4382
|
children: [
|
|
4359
4383
|
{
|
|
4360
4384
|
path: "create",
|
|
4361
|
-
lazy: () => import("./region-create-
|
|
4385
|
+
lazy: () => import("./region-create-SIB6WZPV.js")
|
|
4362
4386
|
}
|
|
4363
4387
|
]
|
|
4364
4388
|
},
|
|
@@ -4370,7 +4394,7 @@ function getRouteMap({
|
|
|
4370
4394
|
Component: Outlet4,
|
|
4371
4395
|
loader,
|
|
4372
4396
|
handle: {
|
|
4373
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4397
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4374
4398
|
}
|
|
4375
4399
|
};
|
|
4376
4400
|
},
|
|
@@ -4381,15 +4405,15 @@ function getRouteMap({
|
|
|
4381
4405
|
children: [
|
|
4382
4406
|
{
|
|
4383
4407
|
path: "edit",
|
|
4384
|
-
lazy: () => import("./region-edit-
|
|
4408
|
+
lazy: () => import("./region-edit-YQZCZIX3.js")
|
|
4385
4409
|
},
|
|
4386
4410
|
{
|
|
4387
4411
|
path: "countries/add",
|
|
4388
|
-
lazy: () => import("./region-add-countries-
|
|
4412
|
+
lazy: () => import("./region-add-countries-5I2UDAJU.js")
|
|
4389
4413
|
},
|
|
4390
4414
|
{
|
|
4391
4415
|
path: "metadata/edit",
|
|
4392
|
-
lazy: () => import("./region-metadata-
|
|
4416
|
+
lazy: () => import("./region-metadata-XHT3A6D7.js")
|
|
4393
4417
|
}
|
|
4394
4418
|
]
|
|
4395
4419
|
}
|
|
@@ -4399,70 +4423,77 @@ function getRouteMap({
|
|
|
4399
4423
|
},
|
|
4400
4424
|
{
|
|
4401
4425
|
path: "marketplace",
|
|
4402
|
-
errorElement: /* @__PURE__ */
|
|
4403
|
-
element: /* @__PURE__ */
|
|
4426
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4427
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4404
4428
|
handle: {
|
|
4405
4429
|
breadcrumb: () => t("marketplace.domain")
|
|
4406
4430
|
},
|
|
4407
4431
|
children: [
|
|
4408
4432
|
{
|
|
4409
4433
|
path: "",
|
|
4410
|
-
lazy: () => import("./marketplace-detail-
|
|
4434
|
+
lazy: () => import("./marketplace-detail-WINAJJDB.js"),
|
|
4411
4435
|
children: [
|
|
4412
4436
|
{
|
|
4413
4437
|
path: "edit",
|
|
4414
|
-
lazy: () => import("./marketplace-edit-
|
|
4438
|
+
lazy: () => import("./marketplace-edit-QNFCTDUC.js")
|
|
4415
4439
|
},
|
|
4416
4440
|
{
|
|
4417
4441
|
path: "currencies",
|
|
4418
|
-
lazy: () => import("./marketplace-add-currencies-
|
|
4442
|
+
lazy: () => import("./marketplace-add-currencies-YVJA6G6V.js")
|
|
4419
4443
|
},
|
|
4420
4444
|
{
|
|
4421
4445
|
path: "metadata/edit",
|
|
4422
|
-
lazy: () => import("./marketplace-metadata-
|
|
4446
|
+
lazy: () => import("./marketplace-metadata-CCUK2B4Q.js")
|
|
4423
4447
|
}
|
|
4424
4448
|
]
|
|
4425
4449
|
}
|
|
4426
4450
|
]
|
|
4427
4451
|
},
|
|
4428
4452
|
{
|
|
4429
|
-
path: "
|
|
4430
|
-
errorElement: /* @__PURE__ */
|
|
4431
|
-
element: /* @__PURE__ */
|
|
4453
|
+
path: "commissions",
|
|
4454
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4455
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4432
4456
|
handle: {
|
|
4433
|
-
breadcrumb: () => t("
|
|
4457
|
+
breadcrumb: () => t("commissions.domain", "Commissions")
|
|
4434
4458
|
},
|
|
4435
4459
|
children: [
|
|
4436
4460
|
{
|
|
4437
4461
|
path: "",
|
|
4438
|
-
lazy: () => import("./
|
|
4462
|
+
lazy: () => import("./commissions-list-OUGVPED6.js"),
|
|
4439
4463
|
children: [
|
|
4440
4464
|
{
|
|
4441
4465
|
path: "create",
|
|
4442
|
-
lazy: () => import("./commission-
|
|
4466
|
+
lazy: () => import("./commission-rule-create-O7Z25SC7.js")
|
|
4467
|
+
},
|
|
4468
|
+
{
|
|
4469
|
+
path: "edit-global",
|
|
4470
|
+
lazy: () => import("./global-commission-edit-LCD6JJUX.js")
|
|
4443
4471
|
}
|
|
4444
4472
|
]
|
|
4445
4473
|
},
|
|
4446
4474
|
{
|
|
4447
4475
|
path: ":id",
|
|
4448
4476
|
lazy: async () => {
|
|
4449
|
-
const { Breadcrumb
|
|
4477
|
+
const { Breadcrumb } = await import("./commission-rule-detail-I7LVSNAM.js");
|
|
4450
4478
|
return {
|
|
4451
4479
|
Component: Outlet4,
|
|
4452
|
-
loader,
|
|
4453
4480
|
handle: {
|
|
4454
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4481
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4455
4482
|
}
|
|
4456
4483
|
};
|
|
4457
4484
|
},
|
|
4458
4485
|
children: [
|
|
4459
4486
|
{
|
|
4460
4487
|
path: "",
|
|
4461
|
-
lazy: () => import("./commission-
|
|
4488
|
+
lazy: () => import("./commission-rule-detail-I7LVSNAM.js"),
|
|
4462
4489
|
children: [
|
|
4463
4490
|
{
|
|
4464
4491
|
path: "edit",
|
|
4465
|
-
lazy: () => import("./commission-
|
|
4492
|
+
lazy: () => import("./commission-rule-edit-YSHDTYZY.js")
|
|
4493
|
+
},
|
|
4494
|
+
{
|
|
4495
|
+
path: "edit-commission",
|
|
4496
|
+
lazy: () => import("./commission-rule-commission-edit-TA3H3EEN.js")
|
|
4466
4497
|
}
|
|
4467
4498
|
]
|
|
4468
4499
|
}
|
|
@@ -4472,8 +4503,8 @@ function getRouteMap({
|
|
|
4472
4503
|
},
|
|
4473
4504
|
{
|
|
4474
4505
|
path: "users",
|
|
4475
|
-
errorElement: /* @__PURE__ */
|
|
4476
|
-
element: /* @__PURE__ */
|
|
4506
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4507
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4477
4508
|
handle: {
|
|
4478
4509
|
breadcrumb: () => t("users.domain")
|
|
4479
4510
|
},
|
|
@@ -4484,34 +4515,34 @@ function getRouteMap({
|
|
|
4484
4515
|
children: [
|
|
4485
4516
|
{
|
|
4486
4517
|
path: "invite",
|
|
4487
|
-
lazy: () => import("./user-invite-
|
|
4518
|
+
lazy: () => import("./user-invite-NJZWT4M5.js")
|
|
4488
4519
|
}
|
|
4489
4520
|
]
|
|
4490
4521
|
},
|
|
4491
4522
|
{
|
|
4492
4523
|
path: ":id",
|
|
4493
4524
|
lazy: async () => {
|
|
4494
|
-
const { Breadcrumb, loader } = await import("./user-detail-
|
|
4525
|
+
const { Breadcrumb, loader } = await import("./user-detail-6CCQQPFR.js");
|
|
4495
4526
|
return {
|
|
4496
4527
|
Component: Outlet4,
|
|
4497
4528
|
loader,
|
|
4498
4529
|
handle: {
|
|
4499
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4530
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4500
4531
|
}
|
|
4501
4532
|
};
|
|
4502
4533
|
},
|
|
4503
4534
|
children: [
|
|
4504
4535
|
{
|
|
4505
4536
|
path: "",
|
|
4506
|
-
lazy: () => import("./user-detail-
|
|
4537
|
+
lazy: () => import("./user-detail-6CCQQPFR.js"),
|
|
4507
4538
|
children: [
|
|
4508
4539
|
{
|
|
4509
4540
|
path: "edit",
|
|
4510
|
-
lazy: () => import("./user-edit-
|
|
4541
|
+
lazy: () => import("./user-edit-DVIMNODF.js")
|
|
4511
4542
|
},
|
|
4512
4543
|
{
|
|
4513
4544
|
path: "metadata/edit",
|
|
4514
|
-
lazy: () => import("./user-metadata-
|
|
4545
|
+
lazy: () => import("./user-metadata-2D552EAR.js")
|
|
4515
4546
|
}
|
|
4516
4547
|
]
|
|
4517
4548
|
}
|
|
@@ -4521,50 +4552,50 @@ function getRouteMap({
|
|
|
4521
4552
|
},
|
|
4522
4553
|
{
|
|
4523
4554
|
path: "sales-channels",
|
|
4524
|
-
errorElement: /* @__PURE__ */
|
|
4525
|
-
element: /* @__PURE__ */
|
|
4555
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4556
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4526
4557
|
handle: {
|
|
4527
4558
|
breadcrumb: () => t("salesChannels.domain")
|
|
4528
4559
|
},
|
|
4529
4560
|
children: [
|
|
4530
4561
|
{
|
|
4531
4562
|
path: "",
|
|
4532
|
-
lazy: () => import("./sales-channel-list-
|
|
4563
|
+
lazy: () => import("./sales-channel-list-YYIH254X.js"),
|
|
4533
4564
|
children: [
|
|
4534
4565
|
{
|
|
4535
4566
|
path: "create",
|
|
4536
|
-
lazy: () => import("./sales-channel-create-
|
|
4567
|
+
lazy: () => import("./sales-channel-create-TAKKGGK3.js")
|
|
4537
4568
|
}
|
|
4538
4569
|
]
|
|
4539
4570
|
},
|
|
4540
4571
|
{
|
|
4541
4572
|
path: ":id",
|
|
4542
4573
|
lazy: async () => {
|
|
4543
|
-
const { Breadcrumb, loader } = await import("./sales-channel-detail-
|
|
4574
|
+
const { Breadcrumb, loader } = await import("./sales-channel-detail-HXJAR6M4.js");
|
|
4544
4575
|
return {
|
|
4545
4576
|
Component: Outlet4,
|
|
4546
4577
|
loader,
|
|
4547
4578
|
handle: {
|
|
4548
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4579
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4549
4580
|
}
|
|
4550
4581
|
};
|
|
4551
4582
|
},
|
|
4552
4583
|
children: [
|
|
4553
4584
|
{
|
|
4554
4585
|
path: "",
|
|
4555
|
-
lazy: () => import("./sales-channel-detail-
|
|
4586
|
+
lazy: () => import("./sales-channel-detail-HXJAR6M4.js"),
|
|
4556
4587
|
children: [
|
|
4557
4588
|
{
|
|
4558
4589
|
path: "edit",
|
|
4559
|
-
lazy: () => import("./sales-channel-edit-
|
|
4590
|
+
lazy: () => import("./sales-channel-edit-HEESIKZH.js")
|
|
4560
4591
|
},
|
|
4561
4592
|
{
|
|
4562
4593
|
path: "add-products",
|
|
4563
|
-
lazy: () => import("./sales-channel-add-products-
|
|
4594
|
+
lazy: () => import("./sales-channel-add-products-FNJQKCQQ.js")
|
|
4564
4595
|
},
|
|
4565
4596
|
{
|
|
4566
4597
|
path: "metadata/edit",
|
|
4567
|
-
lazy: () => import("./sales-channel-metadata-
|
|
4598
|
+
lazy: () => import("./sales-channel-metadata-YF5AV2XX.js")
|
|
4568
4599
|
}
|
|
4569
4600
|
]
|
|
4570
4601
|
}
|
|
@@ -4574,23 +4605,23 @@ function getRouteMap({
|
|
|
4574
4605
|
},
|
|
4575
4606
|
{
|
|
4576
4607
|
path: "locations",
|
|
4577
|
-
errorElement: /* @__PURE__ */
|
|
4578
|
-
element: /* @__PURE__ */
|
|
4608
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4609
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4579
4610
|
handle: {
|
|
4580
4611
|
breadcrumb: () => t("locations.domain")
|
|
4581
4612
|
},
|
|
4582
4613
|
children: [
|
|
4583
4614
|
{
|
|
4584
4615
|
path: "",
|
|
4585
|
-
lazy: () => import("./location-list-
|
|
4616
|
+
lazy: () => import("./location-list-HVSRDHOW.js")
|
|
4586
4617
|
},
|
|
4587
4618
|
{
|
|
4588
4619
|
path: "create",
|
|
4589
|
-
lazy: () => import("./location-create-
|
|
4620
|
+
lazy: () => import("./location-create-SO2CURZL.js")
|
|
4590
4621
|
},
|
|
4591
4622
|
{
|
|
4592
4623
|
path: "shipping-profiles",
|
|
4593
|
-
element: /* @__PURE__ */
|
|
4624
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4594
4625
|
handle: {
|
|
4595
4626
|
breadcrumb: () => t("shippingProfile.domain")
|
|
4596
4627
|
},
|
|
@@ -4601,7 +4632,7 @@ function getRouteMap({
|
|
|
4601
4632
|
children: [
|
|
4602
4633
|
{
|
|
4603
4634
|
path: "create",
|
|
4604
|
-
lazy: () => import("./shipping-profile-create-
|
|
4635
|
+
lazy: () => import("./shipping-profile-create-JYRXTOBF.js")
|
|
4605
4636
|
}
|
|
4606
4637
|
]
|
|
4607
4638
|
},
|
|
@@ -4613,7 +4644,7 @@ function getRouteMap({
|
|
|
4613
4644
|
Component: Outlet4,
|
|
4614
4645
|
loader,
|
|
4615
4646
|
handle: {
|
|
4616
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4647
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4617
4648
|
}
|
|
4618
4649
|
};
|
|
4619
4650
|
},
|
|
@@ -4624,7 +4655,7 @@ function getRouteMap({
|
|
|
4624
4655
|
children: [
|
|
4625
4656
|
{
|
|
4626
4657
|
path: "metadata/edit",
|
|
4627
|
-
lazy: () => import("./shipping-profile-metadata-
|
|
4658
|
+
lazy: () => import("./shipping-profile-metadata-SVD3WK7H.js")
|
|
4628
4659
|
}
|
|
4629
4660
|
]
|
|
4630
4661
|
}
|
|
@@ -4634,42 +4665,42 @@ function getRouteMap({
|
|
|
4634
4665
|
},
|
|
4635
4666
|
{
|
|
4636
4667
|
path: "shipping-option-types",
|
|
4637
|
-
errorElement: /* @__PURE__ */
|
|
4638
|
-
element: /* @__PURE__ */
|
|
4668
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4669
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4639
4670
|
handle: {
|
|
4640
4671
|
breadcrumb: () => t("shippingOptionTypes.domain")
|
|
4641
4672
|
},
|
|
4642
4673
|
children: [
|
|
4643
4674
|
{
|
|
4644
4675
|
path: "",
|
|
4645
|
-
lazy: () => import("./shipping-option-type-list-
|
|
4676
|
+
lazy: () => import("./shipping-option-type-list-S7TW7Q3R.js"),
|
|
4646
4677
|
children: [
|
|
4647
4678
|
{
|
|
4648
4679
|
path: "create",
|
|
4649
|
-
lazy: () => import("./shipping-option-type-create-
|
|
4680
|
+
lazy: () => import("./shipping-option-type-create-TOONS7EC.js")
|
|
4650
4681
|
}
|
|
4651
4682
|
]
|
|
4652
4683
|
},
|
|
4653
4684
|
{
|
|
4654
4685
|
path: ":id",
|
|
4655
4686
|
lazy: async () => {
|
|
4656
|
-
const { Breadcrumb, loader } = await import("./shipping-option-type-detail-
|
|
4687
|
+
const { Breadcrumb, loader } = await import("./shipping-option-type-detail-VXZ4UQQI.js");
|
|
4657
4688
|
return {
|
|
4658
4689
|
Component: Outlet4,
|
|
4659
4690
|
loader,
|
|
4660
4691
|
handle: {
|
|
4661
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4692
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4662
4693
|
}
|
|
4663
4694
|
};
|
|
4664
4695
|
},
|
|
4665
4696
|
children: [
|
|
4666
4697
|
{
|
|
4667
4698
|
path: "",
|
|
4668
|
-
lazy: () => import("./shipping-option-type-detail-
|
|
4699
|
+
lazy: () => import("./shipping-option-type-detail-VXZ4UQQI.js"),
|
|
4669
4700
|
children: [
|
|
4670
4701
|
{
|
|
4671
4702
|
path: "edit",
|
|
4672
|
-
lazy: () => import("./shipping-option-type-edit-
|
|
4703
|
+
lazy: () => import("./shipping-option-type-edit-6WO2XRLE.js")
|
|
4673
4704
|
}
|
|
4674
4705
|
]
|
|
4675
4706
|
}
|
|
@@ -4680,67 +4711,67 @@ function getRouteMap({
|
|
|
4680
4711
|
{
|
|
4681
4712
|
path: ":location_id",
|
|
4682
4713
|
lazy: async () => {
|
|
4683
|
-
const { Breadcrumb, loader } = await import("./location-detail-
|
|
4714
|
+
const { Breadcrumb, loader } = await import("./location-detail-PHT367V5.js");
|
|
4684
4715
|
return {
|
|
4685
4716
|
Component: Outlet4,
|
|
4686
4717
|
loader,
|
|
4687
4718
|
handle: {
|
|
4688
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4719
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4689
4720
|
}
|
|
4690
4721
|
};
|
|
4691
4722
|
},
|
|
4692
4723
|
children: [
|
|
4693
4724
|
{
|
|
4694
4725
|
path: "",
|
|
4695
|
-
lazy: () => import("./location-detail-
|
|
4726
|
+
lazy: () => import("./location-detail-PHT367V5.js"),
|
|
4696
4727
|
children: [
|
|
4697
4728
|
{
|
|
4698
4729
|
path: "edit",
|
|
4699
|
-
lazy: () => import("./location-edit-
|
|
4730
|
+
lazy: () => import("./location-edit-XA53657R.js")
|
|
4700
4731
|
},
|
|
4701
4732
|
{
|
|
4702
4733
|
path: "sales-channels",
|
|
4703
|
-
lazy: () => import("./location-sales-channels-
|
|
4734
|
+
lazy: () => import("./location-sales-channels-46SPET7R.js")
|
|
4704
4735
|
},
|
|
4705
4736
|
{
|
|
4706
4737
|
path: "fulfillment-providers",
|
|
4707
|
-
lazy: () => import("./location-fulfillment-providers-
|
|
4738
|
+
lazy: () => import("./location-fulfillment-providers-EZOVLJWL.js")
|
|
4708
4739
|
},
|
|
4709
4740
|
{
|
|
4710
4741
|
path: "fulfillment-set/:fset_id",
|
|
4711
4742
|
children: [
|
|
4712
4743
|
{
|
|
4713
4744
|
path: "service-zones/create",
|
|
4714
|
-
lazy: () => import("./location-service-zone-create-
|
|
4745
|
+
lazy: () => import("./location-service-zone-create-IOB7DWBR.js")
|
|
4715
4746
|
},
|
|
4716
4747
|
{
|
|
4717
4748
|
path: "service-zone/:zone_id",
|
|
4718
4749
|
children: [
|
|
4719
4750
|
{
|
|
4720
4751
|
path: "edit",
|
|
4721
|
-
lazy: () => import("./location-service-zone-edit-
|
|
4752
|
+
lazy: () => import("./location-service-zone-edit-X37BNDRP.js")
|
|
4722
4753
|
},
|
|
4723
4754
|
{
|
|
4724
4755
|
path: "areas",
|
|
4725
|
-
lazy: () => import("./location-service-zone-manage-areas-
|
|
4756
|
+
lazy: () => import("./location-service-zone-manage-areas-CWWABV5M.js")
|
|
4726
4757
|
},
|
|
4727
4758
|
{
|
|
4728
4759
|
path: "shipping-option",
|
|
4729
4760
|
children: [
|
|
4730
4761
|
{
|
|
4731
4762
|
path: "create",
|
|
4732
|
-
lazy: () => import("./location-service-zone-shipping-option-create-
|
|
4763
|
+
lazy: () => import("./location-service-zone-shipping-option-create-VZBL7MK6.js")
|
|
4733
4764
|
},
|
|
4734
4765
|
{
|
|
4735
4766
|
path: ":so_id",
|
|
4736
4767
|
children: [
|
|
4737
4768
|
{
|
|
4738
4769
|
path: "edit",
|
|
4739
|
-
lazy: () => import("./location-service-zone-shipping-option-edit-
|
|
4770
|
+
lazy: () => import("./location-service-zone-shipping-option-edit-WRSLBO23.js")
|
|
4740
4771
|
},
|
|
4741
4772
|
{
|
|
4742
4773
|
path: "pricing",
|
|
4743
|
-
lazy: () => import("./location-service-zone-shipping-option-pricing-
|
|
4774
|
+
lazy: () => import("./location-service-zone-shipping-option-pricing-FZNCTVT6.js")
|
|
4744
4775
|
}
|
|
4745
4776
|
]
|
|
4746
4777
|
}
|
|
@@ -4758,46 +4789,46 @@ function getRouteMap({
|
|
|
4758
4789
|
},
|
|
4759
4790
|
{
|
|
4760
4791
|
path: "product-tags",
|
|
4761
|
-
errorElement: /* @__PURE__ */
|
|
4762
|
-
element: /* @__PURE__ */
|
|
4792
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4793
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4763
4794
|
handle: {
|
|
4764
4795
|
breadcrumb: () => t("productTags.domain")
|
|
4765
4796
|
},
|
|
4766
4797
|
children: [
|
|
4767
4798
|
{
|
|
4768
4799
|
path: "",
|
|
4769
|
-
lazy: () => import("./product-tag-list-
|
|
4800
|
+
lazy: () => import("./product-tag-list-PK43EMMH.js"),
|
|
4770
4801
|
children: [
|
|
4771
4802
|
{
|
|
4772
4803
|
path: "create",
|
|
4773
|
-
lazy: () => import("./product-tag-create-
|
|
4804
|
+
lazy: () => import("./product-tag-create-4FYE46PE.js")
|
|
4774
4805
|
}
|
|
4775
4806
|
]
|
|
4776
4807
|
},
|
|
4777
4808
|
{
|
|
4778
4809
|
path: ":id",
|
|
4779
4810
|
lazy: async () => {
|
|
4780
|
-
const { Breadcrumb, loader } = await import("./product-tag-detail-
|
|
4811
|
+
const { Breadcrumb, loader } = await import("./product-tag-detail-WF34TUQR.js");
|
|
4781
4812
|
return {
|
|
4782
4813
|
Component: Outlet4,
|
|
4783
4814
|
loader,
|
|
4784
4815
|
handle: {
|
|
4785
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4816
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4786
4817
|
}
|
|
4787
4818
|
};
|
|
4788
4819
|
},
|
|
4789
4820
|
children: [
|
|
4790
4821
|
{
|
|
4791
4822
|
path: "",
|
|
4792
|
-
lazy: () => import("./product-tag-detail-
|
|
4823
|
+
lazy: () => import("./product-tag-detail-WF34TUQR.js"),
|
|
4793
4824
|
children: [
|
|
4794
4825
|
{
|
|
4795
4826
|
path: "edit",
|
|
4796
|
-
lazy: () => import("./product-tag-edit-
|
|
4827
|
+
lazy: () => import("./product-tag-edit-HRWMMCUC.js")
|
|
4797
4828
|
},
|
|
4798
4829
|
{
|
|
4799
4830
|
path: "metadata/edit",
|
|
4800
|
-
lazy: () => import("./product-tag-metadata-
|
|
4831
|
+
lazy: () => import("./product-tag-metadata-ONSEQTEW.js")
|
|
4801
4832
|
}
|
|
4802
4833
|
]
|
|
4803
4834
|
}
|
|
@@ -4807,46 +4838,46 @@ function getRouteMap({
|
|
|
4807
4838
|
},
|
|
4808
4839
|
{
|
|
4809
4840
|
path: "attributes",
|
|
4810
|
-
errorElement: /* @__PURE__ */
|
|
4811
|
-
element: /* @__PURE__ */
|
|
4841
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4842
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4812
4843
|
handle: {
|
|
4813
4844
|
breadcrumb: () => t("attributes.domain")
|
|
4814
4845
|
},
|
|
4815
4846
|
children: [
|
|
4816
4847
|
{
|
|
4817
4848
|
path: "",
|
|
4818
|
-
lazy: () => import("./attribute-list-
|
|
4849
|
+
lazy: () => import("./attribute-list-WRTXTFED.js"),
|
|
4819
4850
|
children: [
|
|
4820
4851
|
{
|
|
4821
4852
|
path: "create",
|
|
4822
|
-
lazy: () => import("./attribute-create-
|
|
4853
|
+
lazy: () => import("./attribute-create-JW7OXOK2.js")
|
|
4823
4854
|
}
|
|
4824
4855
|
]
|
|
4825
4856
|
},
|
|
4826
4857
|
{
|
|
4827
4858
|
path: ":id",
|
|
4828
4859
|
lazy: async () => {
|
|
4829
|
-
const { Breadcrumb, loader } = await import("./attribute-detail-
|
|
4860
|
+
const { Breadcrumb, loader } = await import("./attribute-detail-3Z6MTMJT.js");
|
|
4830
4861
|
return {
|
|
4831
4862
|
Component: Outlet4,
|
|
4832
4863
|
loader,
|
|
4833
4864
|
handle: {
|
|
4834
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4865
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4835
4866
|
}
|
|
4836
4867
|
};
|
|
4837
4868
|
},
|
|
4838
4869
|
children: [
|
|
4839
4870
|
{
|
|
4840
4871
|
path: "",
|
|
4841
|
-
lazy: () => import("./attribute-detail-
|
|
4872
|
+
lazy: () => import("./attribute-detail-3Z6MTMJT.js"),
|
|
4842
4873
|
children: [
|
|
4843
4874
|
{
|
|
4844
4875
|
path: "edit",
|
|
4845
|
-
lazy: () => import("./attribute-edit-
|
|
4876
|
+
lazy: () => import("./attribute-edit-4YPWXZRX.js")
|
|
4846
4877
|
},
|
|
4847
4878
|
{
|
|
4848
4879
|
path: "edit-possible-value",
|
|
4849
|
-
lazy: () => import("./attribute-edit-possible-value-
|
|
4880
|
+
lazy: () => import("./attribute-edit-possible-value-YHEWXK6L.js")
|
|
4850
4881
|
},
|
|
4851
4882
|
{
|
|
4852
4883
|
path: "create-possible-value",
|
|
@@ -4864,8 +4895,8 @@ function getRouteMap({
|
|
|
4864
4895
|
},
|
|
4865
4896
|
{
|
|
4866
4897
|
path: "product-types",
|
|
4867
|
-
errorElement: /* @__PURE__ */
|
|
4868
|
-
element: /* @__PURE__ */
|
|
4898
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4899
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4869
4900
|
handle: {
|
|
4870
4901
|
breadcrumb: () => t("productTypes.domain")
|
|
4871
4902
|
},
|
|
@@ -4876,83 +4907,34 @@ function getRouteMap({
|
|
|
4876
4907
|
children: [
|
|
4877
4908
|
{
|
|
4878
4909
|
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")
|
|
4910
|
+
lazy: () => import("./product-type-create-A7SUR2OX.js")
|
|
4929
4911
|
}
|
|
4930
4912
|
]
|
|
4931
4913
|
},
|
|
4932
4914
|
{
|
|
4933
4915
|
path: ":id",
|
|
4934
4916
|
lazy: async () => {
|
|
4935
|
-
const { Breadcrumb, loader } = await import("./product-
|
|
4917
|
+
const { Breadcrumb, loader } = await import("./product-type-detail-J466AJUQ.js");
|
|
4936
4918
|
return {
|
|
4937
4919
|
Component: Outlet4,
|
|
4938
4920
|
loader,
|
|
4939
4921
|
handle: {
|
|
4940
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4922
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4941
4923
|
}
|
|
4942
4924
|
};
|
|
4943
4925
|
},
|
|
4944
4926
|
children: [
|
|
4945
4927
|
{
|
|
4946
4928
|
path: "",
|
|
4947
|
-
lazy: () => import("./product-
|
|
4929
|
+
lazy: () => import("./product-type-detail-J466AJUQ.js"),
|
|
4948
4930
|
children: [
|
|
4949
4931
|
{
|
|
4950
4932
|
path: "edit",
|
|
4951
|
-
lazy: () => import("./product-
|
|
4933
|
+
lazy: () => import("./product-type-edit-DM4U2VB4.js")
|
|
4952
4934
|
},
|
|
4953
4935
|
{
|
|
4954
4936
|
path: "metadata/edit",
|
|
4955
|
-
lazy: () => import("./product-
|
|
4937
|
+
lazy: () => import("./product-type-metadata-CXYKP2OF.js")
|
|
4956
4938
|
}
|
|
4957
4939
|
]
|
|
4958
4940
|
}
|
|
@@ -4962,22 +4944,22 @@ function getRouteMap({
|
|
|
4962
4944
|
},
|
|
4963
4945
|
{
|
|
4964
4946
|
path: "publishable-api-keys",
|
|
4965
|
-
element: /* @__PURE__ */
|
|
4947
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4966
4948
|
handle: {
|
|
4967
4949
|
breadcrumb: () => t("apiKeyManagement.domain.publishable")
|
|
4968
4950
|
},
|
|
4969
4951
|
children: [
|
|
4970
4952
|
{
|
|
4971
4953
|
path: "",
|
|
4972
|
-
element: /* @__PURE__ */
|
|
4954
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4973
4955
|
children: [
|
|
4974
4956
|
{
|
|
4975
4957
|
path: "",
|
|
4976
|
-
lazy: () => import("./api-key-management-list-
|
|
4958
|
+
lazy: () => import("./api-key-management-list-FVOOICQR.js"),
|
|
4977
4959
|
children: [
|
|
4978
4960
|
{
|
|
4979
4961
|
path: "create",
|
|
4980
|
-
lazy: () => import("./api-key-management-create-
|
|
4962
|
+
lazy: () => import("./api-key-management-create-7SIKAXEH.js")
|
|
4981
4963
|
}
|
|
4982
4964
|
]
|
|
4983
4965
|
}
|
|
@@ -4986,27 +4968,27 @@ function getRouteMap({
|
|
|
4986
4968
|
{
|
|
4987
4969
|
path: ":id",
|
|
4988
4970
|
lazy: async () => {
|
|
4989
|
-
const { Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
4971
|
+
const { Breadcrumb, loader } = await import("./api-key-management-detail-R5QQPNOD.js");
|
|
4990
4972
|
return {
|
|
4991
4973
|
Component: Outlet4,
|
|
4992
4974
|
loader,
|
|
4993
4975
|
handle: {
|
|
4994
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4976
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4995
4977
|
}
|
|
4996
4978
|
};
|
|
4997
4979
|
},
|
|
4998
4980
|
children: [
|
|
4999
4981
|
{
|
|
5000
4982
|
path: "",
|
|
5001
|
-
lazy: () => import("./api-key-management-detail-
|
|
4983
|
+
lazy: () => import("./api-key-management-detail-R5QQPNOD.js"),
|
|
5002
4984
|
children: [
|
|
5003
4985
|
{
|
|
5004
4986
|
path: "edit",
|
|
5005
|
-
lazy: () => import("./api-key-management-edit-
|
|
4987
|
+
lazy: () => import("./api-key-management-edit-C4FYJZGH.js")
|
|
5006
4988
|
},
|
|
5007
4989
|
{
|
|
5008
4990
|
path: "sales-channels",
|
|
5009
|
-
lazy: () => import("./api-key-management-sales-channels-
|
|
4991
|
+
lazy: () => import("./api-key-management-sales-channels-JLSDZRG6.js")
|
|
5010
4992
|
}
|
|
5011
4993
|
]
|
|
5012
4994
|
}
|
|
@@ -5016,22 +4998,22 @@ function getRouteMap({
|
|
|
5016
4998
|
},
|
|
5017
4999
|
{
|
|
5018
5000
|
path: "secret-api-keys",
|
|
5019
|
-
element: /* @__PURE__ */
|
|
5001
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5020
5002
|
handle: {
|
|
5021
5003
|
breadcrumb: () => t("apiKeyManagement.domain.secret")
|
|
5022
5004
|
},
|
|
5023
5005
|
children: [
|
|
5024
5006
|
{
|
|
5025
5007
|
path: "",
|
|
5026
|
-
element: /* @__PURE__ */
|
|
5008
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5027
5009
|
children: [
|
|
5028
5010
|
{
|
|
5029
5011
|
path: "",
|
|
5030
|
-
lazy: () => import("./api-key-management-list-
|
|
5012
|
+
lazy: () => import("./api-key-management-list-FVOOICQR.js"),
|
|
5031
5013
|
children: [
|
|
5032
5014
|
{
|
|
5033
5015
|
path: "create",
|
|
5034
|
-
lazy: () => import("./api-key-management-create-
|
|
5016
|
+
lazy: () => import("./api-key-management-create-7SIKAXEH.js")
|
|
5035
5017
|
}
|
|
5036
5018
|
]
|
|
5037
5019
|
}
|
|
@@ -5040,23 +5022,23 @@ function getRouteMap({
|
|
|
5040
5022
|
{
|
|
5041
5023
|
path: ":id",
|
|
5042
5024
|
lazy: async () => {
|
|
5043
|
-
const { Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
5025
|
+
const { Breadcrumb, loader } = await import("./api-key-management-detail-R5QQPNOD.js");
|
|
5044
5026
|
return {
|
|
5045
5027
|
Component: Outlet4,
|
|
5046
5028
|
loader,
|
|
5047
5029
|
handle: {
|
|
5048
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
5030
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
5049
5031
|
}
|
|
5050
5032
|
};
|
|
5051
5033
|
},
|
|
5052
5034
|
children: [
|
|
5053
5035
|
{
|
|
5054
5036
|
path: "",
|
|
5055
|
-
lazy: () => import("./api-key-management-detail-
|
|
5037
|
+
lazy: () => import("./api-key-management-detail-R5QQPNOD.js"),
|
|
5056
5038
|
children: [
|
|
5057
5039
|
{
|
|
5058
5040
|
path: "edit",
|
|
5059
|
-
lazy: () => import("./api-key-management-edit-
|
|
5041
|
+
lazy: () => import("./api-key-management-edit-C4FYJZGH.js")
|
|
5060
5042
|
}
|
|
5061
5043
|
]
|
|
5062
5044
|
}
|
|
@@ -5066,7 +5048,7 @@ function getRouteMap({
|
|
|
5066
5048
|
},
|
|
5067
5049
|
{
|
|
5068
5050
|
path: "tax-regions",
|
|
5069
|
-
element: /* @__PURE__ */
|
|
5051
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5070
5052
|
handle: {
|
|
5071
5053
|
breadcrumb: () => t("taxRegions.domain")
|
|
5072
5054
|
},
|
|
@@ -5077,7 +5059,7 @@ function getRouteMap({
|
|
|
5077
5059
|
children: [
|
|
5078
5060
|
{
|
|
5079
5061
|
path: "create",
|
|
5080
|
-
lazy: () => import("./tax-region-create-
|
|
5062
|
+
lazy: () => import("./tax-region-create-JR7OHOJ5.js")
|
|
5081
5063
|
}
|
|
5082
5064
|
]
|
|
5083
5065
|
},
|
|
@@ -5086,13 +5068,13 @@ function getRouteMap({
|
|
|
5086
5068
|
Component: Outlet4,
|
|
5087
5069
|
loader: taxRegionLoader,
|
|
5088
5070
|
handle: {
|
|
5089
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
5071
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(TaxRegionDetailBreadcrumb, { ...match })
|
|
5090
5072
|
},
|
|
5091
5073
|
children: [
|
|
5092
5074
|
{
|
|
5093
5075
|
path: "",
|
|
5094
5076
|
lazy: async () => {
|
|
5095
|
-
const { Component } = await import("./tax-region-detail-
|
|
5077
|
+
const { Component } = await import("./tax-region-detail-2E56T5C2.js");
|
|
5096
5078
|
return {
|
|
5097
5079
|
Component
|
|
5098
5080
|
};
|
|
@@ -5100,66 +5082,66 @@ function getRouteMap({
|
|
|
5100
5082
|
children: [
|
|
5101
5083
|
{
|
|
5102
5084
|
path: "edit",
|
|
5103
|
-
lazy: () => import("./tax-region-edit-
|
|
5085
|
+
lazy: () => import("./tax-region-edit-7SBQFGPY.js")
|
|
5104
5086
|
},
|
|
5105
5087
|
{
|
|
5106
5088
|
path: "provinces/create",
|
|
5107
|
-
lazy: () => import("./tax-region-province-create-
|
|
5089
|
+
lazy: () => import("./tax-region-province-create-SEPY4OAZ.js")
|
|
5108
5090
|
},
|
|
5109
5091
|
{
|
|
5110
5092
|
path: "overrides/create",
|
|
5111
|
-
lazy: () => import("./tax-region-tax-override-create-
|
|
5093
|
+
lazy: () => import("./tax-region-tax-override-create-S5S5JZEJ.js")
|
|
5112
5094
|
},
|
|
5113
5095
|
{
|
|
5114
5096
|
path: "overrides/:tax_rate_id/edit",
|
|
5115
|
-
lazy: () => import("./tax-region-tax-override-edit-
|
|
5097
|
+
lazy: () => import("./tax-region-tax-override-edit-JBG3MRNC.js")
|
|
5116
5098
|
},
|
|
5117
5099
|
{
|
|
5118
5100
|
path: "tax-rates/create",
|
|
5119
|
-
lazy: () => import("./tax-region-tax-rate-create-
|
|
5101
|
+
lazy: () => import("./tax-region-tax-rate-create-ZITIAU3K.js")
|
|
5120
5102
|
},
|
|
5121
5103
|
{
|
|
5122
5104
|
path: "tax-rates/:tax_rate_id/edit",
|
|
5123
|
-
lazy: () => import("./tax-region-tax-rate-edit-
|
|
5105
|
+
lazy: () => import("./tax-region-tax-rate-edit-RQLUPHD4.js")
|
|
5124
5106
|
},
|
|
5125
5107
|
{
|
|
5126
5108
|
path: "metadata/edit",
|
|
5127
|
-
lazy: () => import("./tax-region-metadata-
|
|
5109
|
+
lazy: () => import("./tax-region-metadata-4NUEQV3N.js")
|
|
5128
5110
|
}
|
|
5129
5111
|
]
|
|
5130
5112
|
},
|
|
5131
5113
|
{
|
|
5132
5114
|
path: "provinces/:province_id",
|
|
5133
5115
|
lazy: async () => {
|
|
5134
|
-
const { Breadcrumb, loader } = await import("./tax-region-province-detail-
|
|
5116
|
+
const { Breadcrumb, loader } = await import("./tax-region-province-detail-5Q5E5OP7.js");
|
|
5135
5117
|
return {
|
|
5136
5118
|
Component: Outlet4,
|
|
5137
5119
|
loader,
|
|
5138
5120
|
handle: {
|
|
5139
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
5121
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
5140
5122
|
}
|
|
5141
5123
|
};
|
|
5142
5124
|
},
|
|
5143
5125
|
children: [
|
|
5144
5126
|
{
|
|
5145
5127
|
path: "",
|
|
5146
|
-
lazy: () => import("./tax-region-province-detail-
|
|
5128
|
+
lazy: () => import("./tax-region-province-detail-5Q5E5OP7.js"),
|
|
5147
5129
|
children: [
|
|
5148
5130
|
{
|
|
5149
5131
|
path: "tax-rates/create",
|
|
5150
|
-
lazy: () => import("./tax-region-tax-rate-create-
|
|
5132
|
+
lazy: () => import("./tax-region-tax-rate-create-ZITIAU3K.js")
|
|
5151
5133
|
},
|
|
5152
5134
|
{
|
|
5153
5135
|
path: "tax-rates/:tax_rate_id/edit",
|
|
5154
|
-
lazy: () => import("./tax-region-tax-rate-edit-
|
|
5136
|
+
lazy: () => import("./tax-region-tax-rate-edit-RQLUPHD4.js")
|
|
5155
5137
|
},
|
|
5156
5138
|
{
|
|
5157
5139
|
path: "overrides/create",
|
|
5158
|
-
lazy: () => import("./tax-region-tax-override-create-
|
|
5140
|
+
lazy: () => import("./tax-region-tax-override-create-S5S5JZEJ.js")
|
|
5159
5141
|
},
|
|
5160
5142
|
{
|
|
5161
5143
|
path: "overrides/:tax_rate_id/edit",
|
|
5162
|
-
lazy: () => import("./tax-region-tax-override-edit-
|
|
5144
|
+
lazy: () => import("./tax-region-tax-override-edit-JBG3MRNC.js")
|
|
5163
5145
|
}
|
|
5164
5146
|
]
|
|
5165
5147
|
}
|
|
@@ -5171,25 +5153,25 @@ function getRouteMap({
|
|
|
5171
5153
|
},
|
|
5172
5154
|
{
|
|
5173
5155
|
path: "return-reasons",
|
|
5174
|
-
element: /* @__PURE__ */
|
|
5156
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5175
5157
|
handle: {
|
|
5176
5158
|
breadcrumb: () => t("returnReasons.domain")
|
|
5177
5159
|
},
|
|
5178
5160
|
children: [
|
|
5179
5161
|
{
|
|
5180
5162
|
path: "",
|
|
5181
|
-
lazy: () => import("./return-reason-list-
|
|
5163
|
+
lazy: () => import("./return-reason-list-4JWWSFOS.js"),
|
|
5182
5164
|
children: [
|
|
5183
5165
|
{
|
|
5184
5166
|
path: "create",
|
|
5185
|
-
lazy: () => import("./return-reason-create-
|
|
5167
|
+
lazy: () => import("./return-reason-create-G7ON7U3A.js")
|
|
5186
5168
|
},
|
|
5187
5169
|
{
|
|
5188
5170
|
path: ":id",
|
|
5189
5171
|
children: [
|
|
5190
5172
|
{
|
|
5191
5173
|
path: "edit",
|
|
5192
|
-
lazy: () => import("./return-reason-edit-
|
|
5174
|
+
lazy: () => import("./return-reason-edit-77RVRFF6.js")
|
|
5193
5175
|
}
|
|
5194
5176
|
]
|
|
5195
5177
|
}
|
|
@@ -5199,25 +5181,25 @@ function getRouteMap({
|
|
|
5199
5181
|
},
|
|
5200
5182
|
{
|
|
5201
5183
|
path: "refund-reasons",
|
|
5202
|
-
element: /* @__PURE__ */
|
|
5184
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5203
5185
|
handle: {
|
|
5204
5186
|
breadcrumb: () => t("refundReasons.domain")
|
|
5205
5187
|
},
|
|
5206
5188
|
children: [
|
|
5207
5189
|
{
|
|
5208
5190
|
path: "",
|
|
5209
|
-
lazy: () => import("./refund-reason-list-
|
|
5191
|
+
lazy: () => import("./refund-reason-list-FBH43XVP.js"),
|
|
5210
5192
|
children: [
|
|
5211
5193
|
{
|
|
5212
5194
|
path: "create",
|
|
5213
|
-
lazy: () => import("./refund-reason-create-
|
|
5195
|
+
lazy: () => import("./refund-reason-create-ANAVZO2N.js")
|
|
5214
5196
|
},
|
|
5215
5197
|
{
|
|
5216
5198
|
path: ":id",
|
|
5217
5199
|
children: [
|
|
5218
5200
|
{
|
|
5219
5201
|
path: "edit",
|
|
5220
|
-
lazy: () => import("./refund-reason-edit-
|
|
5202
|
+
lazy: () => import("./refund-reason-edit-HKEVJ6A5.js")
|
|
5221
5203
|
}
|
|
5222
5204
|
]
|
|
5223
5205
|
}
|
|
@@ -5232,18 +5214,18 @@ function getRouteMap({
|
|
|
5232
5214
|
]
|
|
5233
5215
|
},
|
|
5234
5216
|
{
|
|
5235
|
-
element: /* @__PURE__ */
|
|
5217
|
+
element: /* @__PURE__ */ jsx17(PublicLayout, {}),
|
|
5236
5218
|
children: [
|
|
5237
5219
|
{
|
|
5238
|
-
errorElement: /* @__PURE__ */
|
|
5220
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
5239
5221
|
children: [
|
|
5240
5222
|
{
|
|
5241
5223
|
path: "/login",
|
|
5242
|
-
lazy: () => import("./login-
|
|
5224
|
+
lazy: () => import("./login-LJMTSRAG.js")
|
|
5243
5225
|
},
|
|
5244
5226
|
{
|
|
5245
5227
|
path: "/reset-password",
|
|
5246
|
-
lazy: () => import("./reset-password-
|
|
5228
|
+
lazy: () => import("./reset-password-RF5J4RIU.js")
|
|
5247
5229
|
},
|
|
5248
5230
|
{
|
|
5249
5231
|
path: "/invite",
|
|
@@ -5263,7 +5245,7 @@ function getRouteMap({
|
|
|
5263
5245
|
|
|
5264
5246
|
// src/app.tsx
|
|
5265
5247
|
import { useMemo as useMemo5 } from "react";
|
|
5266
|
-
import { jsx as
|
|
5248
|
+
import { jsx as jsx18, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5267
5249
|
function App() {
|
|
5268
5250
|
const routes = useMemo5(() => {
|
|
5269
5251
|
return {
|
|
@@ -5272,9 +5254,9 @@ function App() {
|
|
|
5272
5254
|
publicRoutes: createRouteMap(getRoutesByType(customRoutes, "public"))
|
|
5273
5255
|
};
|
|
5274
5256
|
}, []);
|
|
5275
|
-
return /* @__PURE__ */
|
|
5276
|
-
/* @__PURE__ */
|
|
5277
|
-
/* @__PURE__ */
|
|
5257
|
+
return /* @__PURE__ */ jsx18(TooltipProvider, { children: /* @__PURE__ */ jsx18(HelmetProvider, { children: /* @__PURE__ */ jsx18(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsxs11(ThemeProvider, { children: [
|
|
5258
|
+
/* @__PURE__ */ jsx18(I18n, {}),
|
|
5259
|
+
/* @__PURE__ */ jsx18(I18nProvider, { children: /* @__PURE__ */ jsx18(
|
|
5278
5260
|
RouterProvider,
|
|
5279
5261
|
{
|
|
5280
5262
|
router: createBrowserRouter(getRouteMap(routes), {
|
|
@@ -5282,7 +5264,7 @@ function App() {
|
|
|
5282
5264
|
})
|
|
5283
5265
|
}
|
|
5284
5266
|
) }),
|
|
5285
|
-
/* @__PURE__ */
|
|
5267
|
+
/* @__PURE__ */ jsx18(Toaster, {})
|
|
5286
5268
|
] }) }) }) });
|
|
5287
5269
|
}
|
|
5288
5270
|
export {
|