@mercurjs/admin 2.1.2-canary.5 → 2.2.0-canary.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/[id]-YI7UXOO2.js +499 -0
- package/dist/{add-campaign-promotions-WRGU7MF4.js → add-campaign-promotions-OLNTDP26.js} +14 -16
- package/dist/{adjust-inventory-NVBPZYOF.js → adjust-inventory-CVWSBMHU.js} +13 -12
- package/dist/{api-key-management-create-THDCXGWK.js → api-key-management-create-7RWOCVAO.js} +3 -3
- package/dist/{api-key-management-detail-Q5RBMX4J.js → api-key-management-detail-ZIIDMHFI.js} +24 -23
- package/dist/{api-key-management-edit-LTVNXP6T.js → api-key-management-edit-ACH6TJAX.js} +3 -3
- package/dist/{api-key-management-list-DQ33T6KV.js → api-key-management-list-JHBBXGHH.js} +12 -14
- package/dist/{api-key-management-sales-channels-UGAAKILD.js → api-key-management-sales-channels-XEBTUB5V.js} +15 -15
- package/dist/attribute-create-BYO7BDF5.js +562 -0
- package/dist/attribute-create-possible-value-EXVHC272.js +476 -0
- package/dist/{attribute-detail-FLQKKFCO.js → attribute-detail-36XP35P6.js} +74 -64
- package/dist/attribute-edit-WMJWHT7Z.js +183 -0
- package/dist/attribute-edit-possible-value-KTUZ7YLW.js +164 -0
- package/dist/{attribute-edit-ranking-CEBR5LJ7.js → attribute-edit-ranking-7AAAYEC7.js} +66 -61
- package/dist/{attribute-list-ODT2ZP4T.js → attribute-list-OHU2QMUG.js} +24 -26
- package/dist/{campaign-create-QFNB5XZ2.js → campaign-create-VFFIIRE4.js} +4 -4
- package/dist/{campaign-detail-UKVHFA6H.js → campaign-detail-AZKBPDLC.js} +27 -28
- package/dist/{campaign-list-A3TVXCV4.js → campaign-list-NQGNOFVZ.js} +11 -13
- package/dist/{categories-metadata-YVUNHMQT.js → categories-metadata-YZUP43OH.js} +17 -16
- package/dist/{category-create-XH6AM3NM.js → category-create-2MRYTSYM.js} +5 -5
- package/dist/{category-detail-DXQECKDO.js → category-detail-KTFD3VVR.js} +30 -29
- package/dist/{category-edit-IXU6E3YT.js → category-edit-QLOS2LBA.js} +5 -5
- package/dist/{category-list-AQIONIMS.js → category-list-U7ZQBSZN.js} +12 -14
- package/dist/{category-organize-NCH6A57L.js → category-organize-TIKTYJFZ.js} +3 -3
- package/dist/{category-products-VV3JLNW7.js → category-products-7P5DSQN4.js} +30 -29
- package/dist/{chunk-XZQV2OLD.js → chunk-26UTIAAZ.js} +17 -2
- package/dist/{chunk-BURG4MO3.js → chunk-2LQ5SCPB.js} +6 -6
- package/dist/{chunk-ZZO3INVE.js → chunk-2MDGYHWN.js} +128 -25
- package/dist/{chunk-CPZJNHAL.js → chunk-2S6VXFBZ.js} +9 -9
- package/dist/{chunk-5CK6XEFV.js → chunk-2YYXP6XI.js} +183 -111
- package/dist/{chunk-GAD5DQOY.js → chunk-3EDQIZV6.js} +2 -2
- package/dist/{chunk-MKIFFPHN.js → chunk-3IVTUFBM.js} +9 -9
- package/dist/{chunk-JDHG7FWL.js → chunk-3JSAS7QP.js} +91 -160
- package/dist/{chunk-YQ6JASMO.js → chunk-3P4VTL4S.js} +12 -12
- package/dist/{chunk-CUSRWXZY.js → chunk-3VTAK3S6.js} +108 -28
- package/dist/{chunk-S2Q7PO7I.js → chunk-4KX6CBJ4.js} +1 -0
- package/dist/{chunk-C3WE6EFO.js → chunk-4YWKKCTT.js} +1 -2
- package/dist/chunk-533GMKEG.js +125 -0
- package/dist/chunk-57BHSFNA.js +101 -0
- package/dist/{chunk-AEFDAU3Y.js → chunk-5KGMGL4N.js} +4 -24
- package/dist/{chunk-LWIWYLZL.js → chunk-637OFDFC.js} +810 -306
- package/dist/{chunk-WIDZXOML.js → chunk-6AZKWCVL.js} +15 -15
- package/dist/{chunk-JCSPXBS3.js → chunk-6FIU2V6Y.js} +1 -1
- package/dist/chunk-77T2UI6L.js +1671 -0
- package/dist/{chunk-JPJISU7W.js → chunk-A4UQKKGC.js} +14 -14
- package/dist/{chunk-B6FG7A6W.js → chunk-A772RAKB.js} +1 -1
- package/dist/{chunk-2MNDOYVE.js → chunk-A7JOHU6Q.js} +5 -5
- package/dist/{chunk-V2MYKK5U.js → chunk-AB2LHP3M.js} +1 -1
- package/dist/chunk-ABFL4ACD.js +207 -0
- package/dist/{chunk-VBJFCAKU.js → chunk-AKTAFKIU.js} +5 -5
- package/dist/{chunk-Y3I3LXKW.js → chunk-ALATTLBM.js} +8 -8
- package/dist/{chunk-PBQ5M44A.js → chunk-AXTQMIIK.js} +13 -30
- package/dist/{chunk-TAKEQAZZ.js → chunk-B3EEDC47.js} +2 -2
- package/dist/{chunk-QRAFS63H.js → chunk-BCVUMATY.js} +18 -18
- package/dist/{chunk-34I4QIBD.js → chunk-BE6JLTMI.js} +1 -1
- package/dist/{chunk-OCEPZGFS.js → chunk-BFT3CN5L.js} +10 -10
- package/dist/{chunk-NNCIV74Y.js → chunk-BGGUVHDG.js} +93 -83
- package/dist/{chunk-KERTIEWE.js → chunk-BGQ7H2KL.js} +10 -10
- package/dist/{chunk-3BBG3LC3.js → chunk-BHOZKBYY.js} +397 -13
- package/dist/{chunk-Z6DBHMEN.js → chunk-BLYJZMNE.js} +6 -6
- package/dist/chunk-CBG4E3M3.js +165 -0
- package/dist/{chunk-EHLONIAY.js → chunk-CBGXKU7Z.js} +18 -18
- package/dist/{chunk-XRCERDBF.js → chunk-CKACZXMP.js} +9 -9
- package/dist/{chunk-GS7L2B4S.js → chunk-CKD5563X.js} +6 -7
- package/dist/{chunk-E3DLJSYD.js → chunk-COP7NFSJ.js} +1 -1
- package/dist/{chunk-CQ7HSDCL.js → chunk-CPXK5RSJ.js} +7 -7
- package/dist/{chunk-4OHMUFVP.js → chunk-CVFVEDMV.js} +5 -5
- package/dist/chunk-CYGIJOA5.js +79 -0
- package/dist/{chunk-XILJNA3R.js → chunk-D5T7QOVY.js} +12 -12
- package/dist/{chunk-RTOCKSJ5.js → chunk-DOSKHIRH.js} +16 -16
- package/dist/{chunk-X3S5LZQO.js → chunk-DRJAKRTI.js} +49 -19
- package/dist/{chunk-V5J73NPW.js → chunk-E74OUNA3.js} +1 -1
- package/dist/{chunk-52ZAPY3Z.js → chunk-ED7XNGZD.js} +12 -12
- package/dist/{chunk-J3JN6OWV.js → chunk-EJTB2SLE.js} +9 -9
- package/dist/{chunk-Z4CSKRJ4.js → chunk-ELM74U2R.js} +6 -6
- package/dist/chunk-EREXPX6I.js +348 -0
- package/dist/{chunk-BJFFCELF.js → chunk-FB7DDNCA.js} +5 -5
- package/dist/{chunk-JJYOI5PR.js → chunk-FFNSWUDC.js} +10 -10
- package/dist/{chunk-YKDEE7ZL.js → chunk-FTAR3BDS.js} +1 -1
- package/dist/{chunk-VXPWIJZV.js → chunk-G4PROEJI.js} +5 -5
- package/dist/{chunk-OQMBWJPH.js → chunk-GKW445WA.js} +1 -1
- package/dist/{chunk-LNAXUDW2.js → chunk-GLPS6QFG.js} +64 -62
- package/dist/{chunk-3IN6MMKV.js → chunk-GNLPUGYK.js} +2 -2
- package/dist/{chunk-3UZVMGC6.js → chunk-GP4J42UD.js} +6 -6
- package/dist/{chunk-RHCDOBTU.js → chunk-H23AKDB2.js} +15 -15
- package/dist/{chunk-Z2QQZOG3.js → chunk-H5PYBIOZ.js} +1 -1
- package/dist/{chunk-XIZLPYEE.js → chunk-H6MYB7GB.js} +4 -1
- package/dist/{chunk-D3OIFOHY.js → chunk-HR7TFO2X.js} +4 -4
- package/dist/{chunk-QZBAACYC.js → chunk-HWBUIBJD.js} +78 -73
- package/dist/{chunk-BGSOUCCN.js → chunk-IAWZQKUH.js} +10 -10
- package/dist/{chunk-R2FE3PBQ.js → chunk-IEPNHH7Z.js} +1 -1
- package/dist/chunk-IIFQ7KYL.js +171 -0
- package/dist/{chunk-XZYRXNWO.js → chunk-IMR3MZDP.js} +4 -4
- package/dist/{chunk-Z4OJNCER.js → chunk-IRTI3AS3.js} +14 -14
- package/dist/chunk-J65IXAGI.js +292 -0
- package/dist/{chunk-VIGX66F7.js → chunk-JQBSPUH2.js} +1 -1
- package/dist/{chunk-OADU6FQZ.js → chunk-K4TGNN4P.js} +10 -10
- package/dist/{chunk-K7BVNZS6.js → chunk-KXIA66EJ.js} +13 -13
- package/dist/{chunk-TDQEXNX5.js → chunk-LCGLQNOI.js} +12 -12
- package/dist/{chunk-CQFXSD2L.js → chunk-LLOKYZMI.js} +5 -5
- package/dist/chunk-LT3REHJG.js +2355 -0
- package/dist/{chunk-VVWB3GIK.js → chunk-LYZDVZWA.js} +3 -12
- package/dist/{chunk-UQITHKTH.js → chunk-LYZT5REU.js} +9 -18
- package/dist/{chunk-MSXZLZ4X.js → chunk-MN3AEVR7.js} +16 -16
- package/dist/{chunk-LN3OHONN.js → chunk-MVNO35S5.js} +8 -8
- package/dist/{chunk-CMLDMKSO.js → chunk-N2LH7A4X.js} +18 -10
- package/dist/{chunk-IXWGJ4W7.js → chunk-NQBSSM5V.js} +31 -13
- package/dist/{chunk-KBYZLKI4.js → chunk-NQEXDLYH.js} +474 -13
- package/dist/{chunk-HO7Z6MC3.js → chunk-NZ2LHIKD.js} +33 -33
- package/dist/{chunk-DBNPVU3L.js → chunk-OSEIN4Y2.js} +1 -1
- package/dist/{chunk-FSCMVYXU.js → chunk-P25PIADJ.js} +1 -1
- package/dist/{chunk-VTK4AZCW.js → chunk-PCLSODMO.js} +32 -32
- package/dist/{chunk-WRRMBJBQ.js → chunk-PXTJJQKJ.js} +1 -1
- package/dist/chunk-PYDRHQTY.js +24 -0
- package/dist/{chunk-NHHZHVP6.js → chunk-Q6I2IKJB.js} +7 -7
- package/dist/{chunk-IBOTFRZP.js → chunk-QIU6DJY6.js} +6 -6
- package/dist/{chunk-GQUE4TAJ.js → chunk-RKH3A4O3.js} +13 -13
- package/dist/chunk-RQ4NMLSS.js +8 -0
- package/dist/{chunk-ANHC5MBQ.js → chunk-RQPDD3RI.js} +1 -1
- package/dist/{chunk-DL2ZIXBO.js → chunk-S5BJ5CMF.js} +1 -1
- package/dist/chunk-SG76L7C7.js +61 -0
- package/dist/{chunk-FZCXIX37.js → chunk-SRDK3XX7.js} +24 -23
- package/dist/{chunk-6AZBAS4D.js → chunk-TGFZ4UBK.js} +20 -20
- package/dist/{chunk-JRWXFXQ7.js → chunk-TITPJHIL.js} +13 -13
- package/dist/{chunk-N3XQFZPF.js → chunk-TP7L6M7V.js} +6 -6
- package/dist/{chunk-GIU72QEP.js → chunk-U7XILJH6.js} +35 -32
- package/dist/{chunk-ZOS6EBB2.js → chunk-UPNMDPFX.js} +7 -7
- package/dist/{chunk-TGK2C73H.js → chunk-UR6HGBFE.js} +67 -90
- package/dist/{chunk-SCKY77PC.js → chunk-UXQAHUGZ.js} +8 -8
- package/dist/chunk-V5XHY5LP.js +39 -0
- package/dist/{chunk-72Q2T2FK.js → chunk-V6OGMYAI.js} +11 -10
- package/dist/{chunk-7AMAENN3.js → chunk-W7NN2EFL.js} +21 -21
- package/dist/{chunk-YEUUI6JF.js → chunk-WDH5C2NS.js} +1 -1
- package/dist/{chunk-NZ4BXIO6.js → chunk-WKCYMDTV.js} +5 -5
- package/dist/{chunk-YA53AXGM.js → chunk-WNYDGJ3E.js} +19 -19
- package/dist/{chunk-GU4T2RAQ.js → chunk-WQFFCK3R.js} +12 -7
- package/dist/{chunk-6MJ5HPIP.js → chunk-WS63IRBI.js} +3 -3
- package/dist/chunk-WV4SQ57G.js +141 -0
- package/dist/{chunk-ENFPDBSU.js → chunk-WVKVPGJW.js} +16 -7
- package/dist/{chunk-WQO26Z76.js → chunk-X45JKZYW.js} +11 -11
- package/dist/{chunk-3QIIWLCT.js → chunk-XJ3WC4G7.js} +4 -4
- package/dist/{chunk-YXFG3M2D.js → chunk-XLA2CNCW.js} +2 -2
- package/dist/{chunk-IGBGQDKS.js → chunk-XODRTI2W.js} +8 -8
- package/dist/{chunk-U7WZYWGA.js → chunk-XZZTC7E5.js} +1 -1
- package/dist/{chunk-Q64H5G5C.js → chunk-Y3NVKGGI.js} +12 -12
- package/dist/{chunk-33XUAKRP.js → chunk-YGAX72XV.js} +3 -1
- package/dist/chunk-YGRTRAWX.js +163 -0
- package/dist/{chunk-IK6MPP7K.js → chunk-YLKG7W4P.js} +5 -5
- package/dist/{chunk-YWWUOGJA.js → chunk-YN3FGNJM.js} +63 -3
- package/dist/{chunk-36NDTZIV.js → chunk-YYMACYP6.js} +6 -6
- package/dist/{chunk-LNT72PI5.js → chunk-ZHOI4QMK.js} +4 -4
- package/dist/{chunk-FNJNVUXR.js → chunk-ZSFJVRRS.js} +4 -4
- package/dist/chunk-ZZ3XFIEM.js +84 -0
- package/dist/{collection-add-products-K4R67OLS.js → collection-add-products-XL2TAKQD.js} +30 -29
- package/dist/{collection-create-3BTRORHU.js → collection-create-HUNYHKUJ.js} +2 -2
- package/dist/{collection-detail-4ATHIFVS.js → collection-detail-2DSZVOI7.js} +29 -28
- package/dist/{collection-edit-L5GPFBBX.js → collection-edit-OQGYTQDO.js} +2 -2
- package/dist/{collection-list-OFZNSMTS.js → collection-list-NGCW7OTG.js} +35 -36
- package/dist/{collection-metadata-KHGPTV5C.js → collection-metadata-47N7TUOH.js} +17 -16
- package/dist/{commission-rate-create-US6HFJ5L.js → commission-rate-create-BQY3UGKV.js} +53 -53
- package/dist/{commission-rate-detail-D5WUXKER.js → commission-rate-detail-LAZZLZVX.js} +20 -19
- package/dist/{commission-rate-edit-VA6VE2H4.js → commission-rate-edit-DAFXNYYN.js} +53 -53
- package/dist/{commission-rate-list-TFMQC26F.js → commission-rate-list-Y5XLEO67.js} +9 -11
- package/dist/{constants-CAwtRicB.d.ts → constants-26tEckuq.d.ts} +3 -3
- package/dist/{customer-detail-5UW56MGD.js → customer-detail-D5SSLNFT.js} +27 -28
- package/dist/{customer-group-add-customers-YSFEUI5M.js → customer-group-add-customers-VJUBEN7M.js} +13 -15
- package/dist/{customer-group-detail-NL7FAEBO.js → customer-group-detail-KRT7E2JA.js} +25 -26
- package/dist/{customer-group-list-T53DLWPQ.js → customer-group-list-KKDIESQ6.js} +25 -26
- package/dist/{customer-group-metadata-YJXZFSFG.js → customer-group-metadata-J6JY7DZ3.js} +17 -16
- package/dist/{customer-list-LHGKF34F.js → customer-list-MB6WZFMA.js} +12 -14
- package/dist/{customer-metadata-SG6M7X3Q.js → customer-metadata-AH2LBK4T.js} +17 -16
- package/dist/{customers-add-customer-group-IWFFLQQQ.js → customers-add-customer-group-AHGAPEIS.js} +27 -28
- package/dist/{edit-inventory-item-TDG2ZTPM.js → edit-inventory-item-ADNLKLCN.js} +13 -12
- package/dist/{edit-inventory-item-attributes-T56PJTCT.js → edit-inventory-item-attributes-XVR2WLDU.js} +13 -12
- package/dist/{edit-reservation-T6SKOG2F.js → edit-reservation-HQQL42QX.js} +7 -7
- package/dist/{edit-rules-BRXIELG2.js → edit-rules-YMKM5JPI.js} +45 -37
- package/dist/index.d.ts +2 -2
- package/dist/index.js +827 -601
- package/dist/{inventory-create-3GAK5IYZ.js → inventory-create-IVESXFSV.js} +19 -18
- package/dist/{inventory-detail-RU37UA2Y.js → inventory-detail-TINIAFVB.js} +27 -28
- package/dist/{inventory-list-3H3J7IOB.js → inventory-list-YLIAKQXI.js} +11 -13
- package/dist/{inventory-metadata-LUGA3KNV.js → inventory-metadata-6INRH2JC.js} +17 -16
- package/dist/{inventory-stock-JZNONQAL.js → inventory-stock-6YGTATID.js} +21 -20
- package/dist/loader-6KDBTRVR.js +26 -0
- package/dist/{location-detail-QHF23BXP.js → location-detail-EK2S7WOK.js} +23 -22
- package/dist/{location-fulfillment-providers-OQTYP6C7.js → location-fulfillment-providers-KUUNC2KP.js} +39 -41
- package/dist/{location-list-XGFUQY7T.js → location-list-IV323QW2.js} +21 -21
- package/dist/{location-sales-channels-IRGVGAVC.js → location-sales-channels-EYUXMTW7.js} +12 -12
- package/dist/{location-service-zone-create-URK3O2H4.js → location-service-zone-create-ZS3UWJAA.js} +8 -11
- package/dist/{location-service-zone-manage-areas-DO3XK6TU.js → location-service-zone-manage-areas-S7QZTIFT.js} +8 -11
- package/dist/{location-service-zone-shipping-option-create-OOU6YVRS.js → location-service-zone-shipping-option-create-36JZFRGY.js} +23 -21
- package/dist/{location-service-zone-shipping-option-edit-PLEDWIY3.js → location-service-zone-shipping-option-edit-3PGSNKYT.js} +8 -7
- package/dist/{location-service-zone-shipping-option-pricing-MZHMML32.js → location-service-zone-shipping-option-pricing-JLGCOZGS.js} +8 -8
- package/dist/{login-EWHQY6G3.js → login-6L3RMREO.js} +13 -12
- package/dist/{manage-locations-BA7VMY3Q.js → manage-locations-CFTM6DNH.js} +35 -32
- package/dist/{marketplace-add-currencies-BIN4YT3V.js → marketplace-add-currencies-6ANNBGZM.js} +8 -10
- package/dist/{marketplace-detail-AXO5YXED.js → marketplace-detail-BAU2MEJT.js} +23 -24
- package/dist/{marketplace-edit-U5B6WA56.js → marketplace-edit-6Q3G2OY5.js} +5 -4
- package/dist/{marketplace-metadata-VYCPYFJD.js → marketplace-metadata-KRCGKOCA.js} +17 -16
- package/dist/offers-IFKM6EQT.js +440 -0
- package/dist/{order-allocate-items-A365NKBM.js → order-allocate-items-DJ2V4B7A.js} +17 -13
- package/dist/{order-create-claim-PLC342V5.js → order-create-claim-RMDDCUZ6.js} +106 -106
- package/dist/{order-create-edit-25CJG3KZ.js → order-create-edit-PQ54JFZZ.js} +32 -62
- package/dist/{order-create-exchange-TK65KBGW.js → order-create-exchange-T6DBVS75.js} +120 -93
- package/dist/{order-create-fulfillment-BB2FCLAH.js → order-create-fulfillment-SMSUJSBN.js} +40 -23
- package/dist/{order-create-refund-LDODI2AP.js → order-create-refund-OW3MIXBY.js} +24 -18
- package/dist/{order-create-return-5XDDN456.js → order-create-return-YCX6C3VP.js} +53 -37
- package/dist/{order-create-shipment-7XP6PDTD.js → order-create-shipment-5ZAWH5CZ.js} +14 -13
- package/dist/{order-detail-SFIBIQTI.js → order-detail-2OAEGBQG.js} +29 -30
- package/dist/{order-edit-billing-address-JNO7KJKW.js → order-edit-billing-address-VGZBQHF5.js} +15 -14
- package/dist/{order-edit-email-AZIA6X5Q.js → order-edit-email-OOCXVRET.js} +14 -13
- package/dist/{order-edit-shipping-address-GJMUSOPK.js → order-edit-shipping-address-B4F3E5RE.js} +14 -13
- package/dist/{order-list-IDKVSUYO.js → order-list-DQTMCEFD.js} +25 -27
- package/dist/{order-metadata-RXIJOP4V.js → order-metadata-AN6MPHHT.js} +18 -17
- package/dist/{order-receive-return-6IU2HGAD.js → order-receive-return-DZ4IUOHY.js} +29 -21
- package/dist/{order-request-transfer-6IZVCHGV.js → order-request-transfer-A2NJSQ4H.js} +16 -14
- package/dist/pages/index.d.ts +702 -566
- package/dist/pages/index.js +194 -186
- package/dist/{payout-detail-DZFTTDUR.js → payout-detail-TWO6HN4E.js} +4 -4
- package/dist/{payout-list-75YIMPCS.js → payout-list-7WJZFNW5.js} +9 -11
- package/dist/{price-list-configuration-FEO2XAX5.js → price-list-configuration-XAHXLCXR.js} +14 -16
- package/dist/{price-list-create-6XVOYBM4.js → price-list-create-37SCDSPN.js} +35 -34
- package/dist/{price-list-detail-FBY7PWN3.js → price-list-detail-4Q2HBLAM.js} +30 -29
- package/dist/{price-list-edit-BVVLQ5WV.js → price-list-edit-ZVLD4M5T.js} +5 -5
- package/dist/{price-list-list-TZIZJJH3.js → price-list-list-ER4TOZTY.js} +13 -15
- package/dist/{price-list-prices-add-HQHRB3XG.js → price-list-prices-add-UASPZXKT.js} +31 -30
- package/dist/{price-list-prices-edit-WSLGG7VC.js → price-list-prices-edit-WHCIGSB2.js} +22 -21
- package/dist/product-add-existing-attributes-7HEJUR6J.js +420 -0
- package/dist/{product-attributes-ASPKDH7H.js → product-attributes-MHRXZK5S.js} +4 -4
- package/dist/product-brand-create-B3ZJGHUQ.js +171 -0
- package/dist/product-brand-detail-6MPQ3UFN.js +100 -0
- package/dist/product-brand-edit-3TQDHZNN.js +179 -0
- package/dist/product-brand-list-ZBPBSRQN.js +30 -0
- package/dist/product-brand-metadata-EAMW6PQJ.js +87 -0
- package/dist/product-bulk-edit-J6ZP7GGM.js +287 -0
- package/dist/{product-create-NT5YV3BN.js → product-create-KHJWRSUB.js} +35 -35
- package/dist/product-create-attribute-ZT3VZDNZ.js +196 -0
- package/dist/{product-create-option-WDFFZYTE.js → product-create-option-NIAP75EE.js} +7 -25
- package/dist/{product-create-variant-TJB7NNKY.js → product-create-variant-LCE47YFO.js} +25 -21
- package/dist/{product-detail-XXA3V6V3.js → product-detail-GLISGO65.js} +27 -29
- package/dist/{product-edit-IASCMBET.js → product-edit-EKAZRIJ6.js} +15 -8
- package/dist/product-edit-option-OZUZGMIM.js +166 -0
- package/dist/{product-list-XXSHUGNI.js → product-list-2CTGPDDT.js} +32 -31
- package/dist/{product-media-HCM6UI2O.js → product-media-KREKRDOC.js} +16 -9
- package/dist/{product-metadata-GJ7C2UJG.js → product-metadata-O3BAEUYB.js} +20 -19
- package/dist/{product-organization-63ODFBLM.js → product-organization-SBQY44IF.js} +61 -18
- package/dist/{product-prices-RLZBWN6C.js → product-prices-R5JOHVGS.js} +8 -8
- package/dist/{product-sales-channels-53YVZ5G5.js → product-sales-channels-TFOGXCMI.js} +15 -15
- package/dist/{product-shipping-profile-X5CZJCET.js → product-shipping-profile-E4HJ4EYW.js} +7 -6
- package/dist/{product-stock-XB3HKT5G.js → product-stock-EIP2XJUR.js} +28 -27
- package/dist/{product-tag-create-PHJICTE4.js → product-tag-create-7JBM6I3V.js} +13 -12
- package/dist/{product-tag-detail-2H7EJV5J.js → product-tag-detail-MTFAPSG2.js} +51 -51
- package/dist/{product-tag-edit-G4UNGXPT.js → product-tag-edit-O2ADFDD6.js} +13 -12
- package/dist/{product-tag-list-6LTEJAI7.js → product-tag-list-EOULJIYQ.js} +52 -52
- package/dist/{product-tag-metadata-I4V6CR6Z.js → product-tag-metadata-SBOUTUXY.js} +17 -16
- package/dist/{product-type-detail-LOCLZUCY.js → product-type-detail-H4CZN27J.js} +29 -28
- package/dist/{product-type-list-7SXDLL6L.js → product-type-list-TM26QMHR.js} +13 -15
- package/dist/{product-type-metadata-KGVRMMTQ.js → product-type-metadata-KN5OXR6J.js} +17 -16
- package/dist/{product-variant-detail-T2OM45NJ.js → product-variant-detail-H2YRFDAU.js} +27 -37
- package/dist/product-variant-edit-6W7LKCEE.js +867 -0
- package/dist/{product-variant-manage-inventory-items-WENX2QCZ.js → product-variant-manage-inventory-items-Q5MJG3EJ.js} +6 -10
- package/dist/{product-variant-metadata-HV72UBCP.js → product-variant-metadata-QESZ7VS2.js} +17 -16
- package/dist/{profile-detail-IWSYAO67.js → profile-detail-ZRL5SERS.js} +6 -6
- package/dist/{promotion-add-campaign-GBB6M2OB.js → promotion-add-campaign-O3RTMS3W.js} +6 -5
- package/dist/{promotion-create-4ZEXEV4G.js → promotion-create-TGC6BVWF.js} +23 -21
- package/dist/{promotion-detail-TE54RSNT.js → promotion-detail-VYIXZMMD.js} +22 -21
- package/dist/{promotion-list-IANWEI3X.js → promotion-list-C3SKV5BJ.js} +14 -16
- package/dist/{refund-reason-create-M2CYTCEM.js → refund-reason-create-2KEQFOID.js} +13 -12
- package/dist/{refund-reason-edit-M4XBV633.js → refund-reason-edit-E7CB7SM3.js} +13 -12
- package/dist/{refund-reason-list-7G23NIRL.js → refund-reason-list-TAHJK4OX.js} +39 -37
- package/dist/{region-add-countries-TZEP4SML.js → region-add-countries-COXN4LP3.js} +7 -9
- package/dist/{region-create-7YJ25C3H.js → region-create-P66Q65XY.js} +14 -15
- package/dist/{region-detail-KFFPZLZL.js → region-detail-P2HHBYFV.js} +11 -13
- package/dist/{region-edit-QNJ2HT76.js → region-edit-XFE54SAO.js} +8 -7
- package/dist/{region-list-TPQG44BF.js → region-list-2XXKCDDX.js} +12 -14
- package/dist/{region-metadata-4JWOEGTZ.js → region-metadata-723RQGHS.js} +17 -16
- package/dist/{reservation-create-26QAWABA.js → reservation-create-Y3HG4AZA.js} +4 -4
- package/dist/{reservation-detail-X3W6APD5.js → reservation-detail-HQMADZ56.js} +21 -20
- package/dist/{reservation-list-DOW3PKTS.js → reservation-list-YKC3JJ6K.js} +12 -14
- package/dist/{reservation-metadata-JFLJ27A3.js → reservation-metadata-UG4YTEMY.js} +18 -17
- package/dist/{reset-password-BQFZL5XM.js → reset-password-2VNU52CE.js} +1 -1
- package/dist/{return-reason-list-J5S45BMZ.js → return-reason-list-IHFO2LJK.js} +27 -28
- package/dist/{sales-channel-add-products-P5AAQFVB.js → sales-channel-add-products-YZTQ2SDS.js} +31 -30
- package/dist/{sales-channel-create-NSZEHGZE.js → sales-channel-create-BSNCLZWR.js} +2 -2
- package/dist/{sales-channel-detail-BJCMSTSA.js → sales-channel-detail-67G7K3IE.js} +29 -28
- package/dist/{sales-channel-edit-W6Z2ERBJ.js → sales-channel-edit-FUDXMZYV.js} +2 -2
- package/dist/{sales-channel-list-QKFVTZ6A.js → sales-channel-list-GYLGH4U7.js} +21 -20
- package/dist/{sales-channel-metadata-NDSKXOGH.js → sales-channel-metadata-H6RSHKVP.js} +17 -16
- package/dist/{shipping-option-type-create-MEL24PGH.js → shipping-option-type-create-QAOW7753.js} +13 -12
- package/dist/{shipping-option-type-detail-OAKOWHU7.js → shipping-option-type-detail-QGWVDTDU.js} +21 -20
- package/dist/{shipping-option-type-edit-IVBHURXR.js → shipping-option-type-edit-WXYBDRNY.js} +13 -12
- package/dist/{shipping-option-type-list-HRW7XFEQ.js → shipping-option-type-list-YSWP6DSC.js} +25 -26
- package/dist/{shipping-profile-detail-XKLW22RQ.js → shipping-profile-detail-YAKZHWZI.js} +7 -7
- package/dist/{shipping-profile-metadata-UZPX2PHJ.js → shipping-profile-metadata-UE53IA3J.js} +19 -18
- package/dist/{shipping-profiles-list-IT433GKY.js → shipping-profiles-list-JF2SQIQ7.js} +10 -12
- package/dist/{store-bulk-edit-HCEEME3D.js → store-bulk-edit-UYNQ2CPG.js} +7 -7
- package/dist/{store-create-OQVFVIK4.js → store-create-WNFRHXWR.js} +13 -12
- package/dist/{store-details-6NDWU65D.js → store-details-R2GQU7HE.js} +44 -44
- package/dist/{store-edit-U5I6TFKD.js → store-edit-UW3QOFFX.js} +11 -11
- package/dist/{store-list-TJXHXAPH.js → store-list-5CV7VJLO.js} +36 -37
- package/dist/{store-member-invite-4GDKCSTT.js → store-member-invite-M4NVBUXM.js} +3 -3
- package/dist/{tax-region-create-PSQRQ3UC.js → tax-region-create-3KVECMFN.js} +16 -14
- package/dist/{tax-region-detail-KCJTJZZI.js → tax-region-detail-AOT4X4DZ.js} +27 -27
- package/dist/{tax-region-edit-OARZRBVK.js → tax-region-edit-5T7VHKIA.js} +15 -13
- package/dist/{tax-region-list-LP6SV4BF.js → tax-region-list-FIBHEFVD.js} +10 -10
- package/dist/{tax-region-metadata-XJRFOG7I.js → tax-region-metadata-RSZCJGJT.js} +17 -16
- package/dist/{tax-region-province-detail-IQ3IRVIE.js → tax-region-province-detail-XEMIX5SQ.js} +25 -25
- package/dist/{tax-region-tax-override-create-2MNB5QSB.js → tax-region-tax-override-create-KVVY4AF2.js} +54 -54
- package/dist/{tax-region-tax-override-edit-JCG5D2HY.js → tax-region-tax-override-edit-TVX7SMJD.js} +54 -54
- package/dist/{user-detail-3KQDH6LZ.js → user-detail-W7DGVXDZ.js} +8 -8
- package/dist/{user-invite-ZAGFYQDN.js → user-invite-HLZJ7FST.js} +14 -16
- package/dist/{user-list-7PIKWZQY.js → user-list-TR7RSGUO.js} +10 -12
- package/dist/{user-metadata-376YJMY3.js → user-metadata-3AFZX3DM.js} +17 -16
- package/package.json +4 -4
- package/dist/attribute-create-IVRJPVG5.js +0 -997
- package/dist/attribute-create-possible-value-BIU2L7AN.js +0 -437
- package/dist/attribute-edit-DRHFOHMK.js +0 -282
- package/dist/attribute-edit-possible-value-G2ON2AE3.js +0 -264
- package/dist/chunk-35NDMIYZ.js +0 -8
- package/dist/chunk-4GPAS5GW.js +0 -36
- package/dist/chunk-4ZTZTIIM.js +0 -69
- package/dist/chunk-7O5NDICV.js +0 -120
- package/dist/chunk-IGTRIAUC.js +0 -84
- package/dist/chunk-KLVTWJ4M.js +0 -467
- package/dist/chunk-L5SVR7FK.js +0 -248
- package/dist/chunk-LO7XX5M7.js +0 -6
- package/dist/chunk-NCYTM57J.js +0 -160
- package/dist/chunk-OPAARXKJ.js +0 -2146
- package/dist/chunk-QOQSXNEF.js +0 -37
- package/dist/chunk-RSBZREKG.js +0 -144
- package/dist/chunk-UEFWVPQ7.js +0 -1260
- package/dist/chunk-WCEMRNW4.js +0 -6
- package/dist/chunk-YBZWO4ZV.js +0 -57
- package/dist/chunk-Z5I2Z6L3.js +0 -160
- package/dist/product-edit-option-UMOGVYLM.js +0 -156
- package/dist/product-export-IJBCSQ5H.js +0 -137
- package/dist/product-import-JB7S4EL6.js +0 -267
- package/dist/product-variant-edit-L77HDGTA.js +0 -547
- package/dist/{chunk-ZBJ56XDB.js → chunk-Q2ULPJJ6.js} +3 -3
- package/dist/{chunk-ZW34ZAIP.js → chunk-WYA62MUL.js} +8 -8
- package/dist/{customer-edit-X4HQOUAE.js → customer-edit-JZ4PQTIN.js} +3 -3
- package/dist/{profile-edit-Y5UUUKVH.js → profile-edit-HQTWYWZ7.js} +6 -6
- package/dist/{promotion-edit-details-E2XKWY7L.js → promotion-edit-details-TKRC5HES.js} +6 -6
package/dist/index.js
CHANGED
|
@@ -13,27 +13,20 @@ import {
|
|
|
13
13
|
} from "./chunk-QSGR43JM.js";
|
|
14
14
|
import "./chunk-FMFVTERD.js";
|
|
15
15
|
import "./chunk-JRTZWK77.js";
|
|
16
|
-
import {
|
|
17
|
-
PRODUCT_DETAIL_FIELDS,
|
|
18
|
-
PRODUCT_DETAIL_QUERY
|
|
19
|
-
} from "./chunk-35NDMIYZ.js";
|
|
20
|
-
import {
|
|
21
|
-
Thumbnail
|
|
22
|
-
} from "./chunk-WIYFXWRI.js";
|
|
23
16
|
import "./chunk-FQERBIVS.js";
|
|
24
17
|
import {
|
|
25
18
|
_DataTable,
|
|
26
19
|
useDataTable
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import "./chunk-
|
|
20
|
+
} from "./chunk-NQEXDLYH.js";
|
|
21
|
+
import "./chunk-YN3FGNJM.js";
|
|
29
22
|
import "./chunk-KAZ5BYTQ.js";
|
|
30
23
|
import "./chunk-634XVU3D.js";
|
|
31
24
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./chunk-
|
|
25
|
+
FileUpload
|
|
26
|
+
} from "./chunk-4KX6CBJ4.js";
|
|
34
27
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./chunk-
|
|
28
|
+
I18n
|
|
29
|
+
} from "./chunk-637OFDFC.js";
|
|
37
30
|
import {
|
|
38
31
|
TabbedForm,
|
|
39
32
|
defineTabMeta,
|
|
@@ -43,67 +36,58 @@ import {
|
|
|
43
36
|
SwitchBox
|
|
44
37
|
} from "./chunk-2EME4AWX.js";
|
|
45
38
|
import {
|
|
46
|
-
|
|
47
|
-
} from "./chunk-
|
|
39
|
+
ChipInput
|
|
40
|
+
} from "./chunk-YGRTRAWX.js";
|
|
48
41
|
import "./chunk-TKGWSUEI.js";
|
|
49
42
|
import "./chunk-U2ZFCAPX.js";
|
|
43
|
+
import "./chunk-FWJLS7XD.js";
|
|
50
44
|
import {
|
|
51
|
-
|
|
52
|
-
} from "./chunk-
|
|
53
|
-
import {
|
|
54
|
-
FilePreview
|
|
55
|
-
} from "./chunk-RSBZREKG.js";
|
|
56
|
-
import {
|
|
57
|
-
FileUpload
|
|
58
|
-
} from "./chunk-S2Q7PO7I.js";
|
|
45
|
+
Form
|
|
46
|
+
} from "./chunk-3QSRE5LS.js";
|
|
59
47
|
import {
|
|
60
|
-
|
|
61
|
-
|
|
48
|
+
PRODUCT_DETAIL_FIELDS,
|
|
49
|
+
PRODUCT_DETAIL_QUERY
|
|
50
|
+
} from "./chunk-RQ4NMLSS.js";
|
|
62
51
|
import {
|
|
63
|
-
|
|
64
|
-
} from "./chunk-
|
|
52
|
+
Thumbnail
|
|
53
|
+
} from "./chunk-WIYFXWRI.js";
|
|
65
54
|
import {
|
|
66
|
-
|
|
67
|
-
} from "./chunk-
|
|
68
|
-
import "./chunk-KBYZLKI4.js";
|
|
69
|
-
import "./chunk-YWWUOGJA.js";
|
|
55
|
+
SingleColumnPage
|
|
56
|
+
} from "./chunk-H6MYB7GB.js";
|
|
70
57
|
import "./chunk-UZWFZMOX.js";
|
|
71
58
|
import "./chunk-XQNVC4Q7.js";
|
|
72
|
-
import "./chunk-FWJLS7XD.js";
|
|
73
|
-
import {
|
|
74
|
-
Form
|
|
75
|
-
} from "./chunk-3QSRE5LS.js";
|
|
76
59
|
import {
|
|
77
60
|
notificationQueryKeys,
|
|
78
61
|
useNotifications,
|
|
79
62
|
useProductTags
|
|
80
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-AXTQMIIK.js";
|
|
81
64
|
import {
|
|
82
65
|
useLogout
|
|
83
66
|
} from "./chunk-OH4AABUT.js";
|
|
84
|
-
import "./chunk-YKDEE7ZL.js";
|
|
85
67
|
import "./chunk-AEMDNTW5.js";
|
|
86
68
|
import "./chunk-LYD3C73Z.js";
|
|
87
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-FTAR3BDS.js";
|
|
88
70
|
import {
|
|
89
71
|
useProductTypes
|
|
90
72
|
} from "./chunk-46M463BR.js";
|
|
73
|
+
import "./chunk-ZZ3XFIEM.js";
|
|
74
|
+
import "./chunk-533GMKEG.js";
|
|
91
75
|
import "./chunk-YFRC6GEN.js";
|
|
92
|
-
import "./chunk-N6SI4IIT.js";
|
|
93
|
-
import "./chunk-JPNPTILP.js";
|
|
94
76
|
import "./chunk-DAXXLQKB.js";
|
|
95
77
|
import "./chunk-OHOWEMHO.js";
|
|
78
|
+
import "./chunk-JPNPTILP.js";
|
|
96
79
|
import {
|
|
97
80
|
useMe
|
|
98
81
|
} from "./chunk-GKGLVDDV.js";
|
|
82
|
+
import "./chunk-N6SI4IIT.js";
|
|
99
83
|
import "./chunk-WJJXUXSO.js";
|
|
100
84
|
import "./chunk-LAPEZATU.js";
|
|
101
85
|
import {
|
|
102
86
|
usePriceLists
|
|
103
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-OSEIN4Y2.js";
|
|
104
88
|
import {
|
|
105
89
|
useCollections
|
|
106
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-XZZTC7E5.js";
|
|
107
91
|
import {
|
|
108
92
|
useCampaigns,
|
|
109
93
|
usePromotions
|
|
@@ -116,26 +100,38 @@ import {
|
|
|
116
100
|
useCustomers
|
|
117
101
|
} from "./chunk-PRBE5CM3.js";
|
|
118
102
|
import "./chunk-5TRY5IMZ.js";
|
|
119
|
-
import {
|
|
120
|
-
useOrders
|
|
121
|
-
} from "./chunk-TAKEQAZZ.js";
|
|
122
|
-
import "./chunk-B6FG7A6W.js";
|
|
123
103
|
import {
|
|
124
104
|
useStockLocations
|
|
125
105
|
} from "./chunk-EPHVGD5Z.js";
|
|
106
|
+
import {
|
|
107
|
+
useOrders
|
|
108
|
+
} from "./chunk-B3EEDC47.js";
|
|
109
|
+
import "./chunk-A772RAKB.js";
|
|
126
110
|
import "./chunk-ESPLVOFC.js";
|
|
127
111
|
import {
|
|
128
112
|
useStore
|
|
129
113
|
} from "./chunk-FXWKGNRV.js";
|
|
130
114
|
import "./chunk-VDKOJ5WD.js";
|
|
131
|
-
import
|
|
115
|
+
import {
|
|
116
|
+
ActionMenu
|
|
117
|
+
} from "./chunk-BDGZ4EQO.js";
|
|
118
|
+
import "./chunk-S5BJ5CMF.js";
|
|
132
119
|
import {
|
|
133
120
|
useProductCategories
|
|
134
|
-
} from "./chunk-
|
|
121
|
+
} from "./chunk-H5PYBIOZ.js";
|
|
122
|
+
import {
|
|
123
|
+
ConditionalTooltip
|
|
124
|
+
} from "./chunk-LAVHRER2.js";
|
|
125
|
+
import {
|
|
126
|
+
useDocumentDirection
|
|
127
|
+
} from "./chunk-Y7QKP6QU.js";
|
|
128
|
+
import {
|
|
129
|
+
Skeleton
|
|
130
|
+
} from "./chunk-INNFZYX2.js";
|
|
135
131
|
import {
|
|
136
132
|
useInventoryItems,
|
|
137
133
|
useProducts
|
|
138
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-2YYXP6XI.js";
|
|
139
135
|
import {
|
|
140
136
|
queryClient
|
|
141
137
|
} from "./chunk-RHKRREUU.js";
|
|
@@ -204,7 +200,7 @@ var ThemeProvider = ({ children }) => {
|
|
|
204
200
|
html.classList.remove(value === "light" ? "dark" : "light");
|
|
205
201
|
html.classList.add(value);
|
|
206
202
|
html.style.colorScheme = value;
|
|
207
|
-
window.getComputedStyle(css).opacity;
|
|
203
|
+
void window.getComputedStyle(css).opacity;
|
|
208
204
|
document.head.removeChild(css);
|
|
209
205
|
}
|
|
210
206
|
}, [value]);
|
|
@@ -1560,7 +1556,7 @@ import {
|
|
|
1560
1556
|
Tag,
|
|
1561
1557
|
Users
|
|
1562
1558
|
} from "@medusajs/icons";
|
|
1563
|
-
import { Avatar as Avatar2, Divider, DropdownMenu as DropdownMenu3, Text as
|
|
1559
|
+
import { Avatar as Avatar2, Divider, DropdownMenu as DropdownMenu3, Text as Text7, clx as clx6 } from "@medusajs/ui";
|
|
1564
1560
|
import { useTranslation as useTranslation9 } from "react-i18next";
|
|
1565
1561
|
import { Link as Link3, useLocation as useLocation7, useNavigate as useNavigate4 } from "react-router-dom";
|
|
1566
1562
|
|
|
@@ -1752,7 +1748,7 @@ var Icon = ({ icon, type }) => {
|
|
|
1752
1748
|
|
|
1753
1749
|
// src/components/layout/shell/shell.tsx
|
|
1754
1750
|
import { SidebarLeft, TriangleRightMini, XMark } from "@medusajs/icons";
|
|
1755
|
-
import { IconButton as
|
|
1751
|
+
import { IconButton as IconButton4, clx as clx4 } from "@medusajs/ui";
|
|
1756
1752
|
import { AnimatePresence } from "motion/react";
|
|
1757
1753
|
import { Dialog as RadixDialog2 } from "radix-ui";
|
|
1758
1754
|
import { useEffect as useEffect9, useState as useState10 } from "react";
|
|
@@ -1770,11 +1766,150 @@ import {
|
|
|
1770
1766
|
BellAlertDone,
|
|
1771
1767
|
InformationCircleSolid
|
|
1772
1768
|
} from "@medusajs/icons";
|
|
1773
|
-
import { clx as clx3, Drawer, Heading, IconButton as
|
|
1769
|
+
import { clx as clx3, Drawer, Heading, IconButton as IconButton3, Text as Text4 } from "@medusajs/ui";
|
|
1774
1770
|
import { formatDistance } from "date-fns";
|
|
1775
1771
|
import { useEffect as useEffect8, useState as useState9 } from "react";
|
|
1776
1772
|
import { useTranslation as useTranslation5 } from "react-i18next";
|
|
1777
|
-
|
|
1773
|
+
|
|
1774
|
+
// src/components/common/file-preview/file-preview.tsx
|
|
1775
|
+
import { ArrowDownTray, Spinner as Spinner3 } from "@medusajs/icons";
|
|
1776
|
+
import { IconButton as IconButton2, Text as Text3 } from "@medusajs/ui";
|
|
1777
|
+
import { jsx as jsx8, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
1778
|
+
var FilePreview = ({
|
|
1779
|
+
filename,
|
|
1780
|
+
url,
|
|
1781
|
+
loading,
|
|
1782
|
+
activity,
|
|
1783
|
+
actions,
|
|
1784
|
+
hideThumbnail
|
|
1785
|
+
}) => {
|
|
1786
|
+
return /* @__PURE__ */ jsx8("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
|
+
/* @__PURE__ */ jsxs4("div", { className: "flex flex-row items-center gap-3", children: [
|
|
1788
|
+
!hideThumbnail && /* @__PURE__ */ jsx8(FileThumbnail, {}),
|
|
1789
|
+
/* @__PURE__ */ jsxs4("div", { className: "flex flex-col justify-center", children: [
|
|
1790
|
+
/* @__PURE__ */ jsx8(
|
|
1791
|
+
Text3,
|
|
1792
|
+
{
|
|
1793
|
+
size: "small",
|
|
1794
|
+
leading: "compact",
|
|
1795
|
+
className: "truncate max-w-[260px]",
|
|
1796
|
+
children: filename
|
|
1797
|
+
}
|
|
1798
|
+
),
|
|
1799
|
+
loading && !!activity && /* @__PURE__ */ jsx8(
|
|
1800
|
+
Text3,
|
|
1801
|
+
{
|
|
1802
|
+
leading: "compact",
|
|
1803
|
+
size: "xsmall",
|
|
1804
|
+
className: "text-ui-fg-interactive",
|
|
1805
|
+
children: activity
|
|
1806
|
+
}
|
|
1807
|
+
)
|
|
1808
|
+
] })
|
|
1809
|
+
] }),
|
|
1810
|
+
loading && /* @__PURE__ */ jsx8(Spinner3, { className: "animate-spin" }),
|
|
1811
|
+
!loading && actions && /* @__PURE__ */ jsx8(ActionMenu, { groups: actions }),
|
|
1812
|
+
!loading && url && /* @__PURE__ */ jsx8(IconButton2, { variant: "transparent", asChild: true, children: /* @__PURE__ */ jsx8("a", { href: url, download: filename ?? `${Date.now()}`, children: /* @__PURE__ */ jsx8(ArrowDownTray, {}) }) })
|
|
1813
|
+
] }) });
|
|
1814
|
+
};
|
|
1815
|
+
var FileThumbnail = () => {
|
|
1816
|
+
return /* @__PURE__ */ jsxs4(
|
|
1817
|
+
"svg",
|
|
1818
|
+
{
|
|
1819
|
+
width: "24",
|
|
1820
|
+
height: "32",
|
|
1821
|
+
viewBox: "0 0 24 32",
|
|
1822
|
+
fill: "none",
|
|
1823
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1824
|
+
children: [
|
|
1825
|
+
/* @__PURE__ */ jsx8(
|
|
1826
|
+
"path",
|
|
1827
|
+
{
|
|
1828
|
+
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",
|
|
1829
|
+
fill: "url(#paint0_linear_6594_388107)",
|
|
1830
|
+
stroke: "url(#paint1_linear_6594_388107)",
|
|
1831
|
+
"stroke-width": "0.5"
|
|
1832
|
+
}
|
|
1833
|
+
),
|
|
1834
|
+
/* @__PURE__ */ jsx8(
|
|
1835
|
+
"path",
|
|
1836
|
+
{
|
|
1837
|
+
opacity: "0.4",
|
|
1838
|
+
d: "M17.7857 12.8125V13.5357H10.3393V10.9643H15.9375C16.9569 10.9643 17.7857 11.7931 17.7857 12.8125ZM6.21429 16.9107V15.0893H8.78571V16.9107H6.21429ZM10.3393 16.9107V15.0893H17.7857V16.9107H10.3393ZM15.9375 21.0357H10.3393V18.4643H17.7857V19.1875C17.7857 20.2069 16.9569 21.0357 15.9375 21.0357ZM6.21429 19.1875V18.4643H8.78571V21.0357H8.0625C7.0431 21.0357 6.21429 20.2069 6.21429 19.1875ZM8.0625 10.9643H8.78571V13.5357H6.21429V12.8125C6.21429 11.7931 7.0431 10.9643 8.0625 10.9643Z",
|
|
1839
|
+
fill: "url(#paint2_linear_6594_388107)",
|
|
1840
|
+
stroke: "url(#paint3_linear_6594_388107)",
|
|
1841
|
+
"stroke-width": "0.428571"
|
|
1842
|
+
}
|
|
1843
|
+
),
|
|
1844
|
+
/* @__PURE__ */ jsxs4("defs", { children: [
|
|
1845
|
+
/* @__PURE__ */ jsxs4(
|
|
1846
|
+
"linearGradient",
|
|
1847
|
+
{
|
|
1848
|
+
id: "paint0_linear_6594_388107",
|
|
1849
|
+
x1: "12",
|
|
1850
|
+
y1: "0",
|
|
1851
|
+
x2: "12",
|
|
1852
|
+
y2: "32",
|
|
1853
|
+
gradientUnits: "userSpaceOnUse",
|
|
1854
|
+
children: [
|
|
1855
|
+
/* @__PURE__ */ jsx8("stop", { "stop-color": "#F4F4F5" }),
|
|
1856
|
+
/* @__PURE__ */ jsx8("stop", { offset: "1", "stop-color": "#E4E4E7" })
|
|
1857
|
+
]
|
|
1858
|
+
}
|
|
1859
|
+
),
|
|
1860
|
+
/* @__PURE__ */ jsxs4(
|
|
1861
|
+
"linearGradient",
|
|
1862
|
+
{
|
|
1863
|
+
id: "paint1_linear_6594_388107",
|
|
1864
|
+
x1: "12",
|
|
1865
|
+
y1: "0",
|
|
1866
|
+
x2: "12",
|
|
1867
|
+
y2: "32",
|
|
1868
|
+
gradientUnits: "userSpaceOnUse",
|
|
1869
|
+
children: [
|
|
1870
|
+
/* @__PURE__ */ jsx8("stop", { "stop-color": "#E4E4E7" }),
|
|
1871
|
+
/* @__PURE__ */ jsx8("stop", { offset: "1", "stop-color": "#D4D4D8" })
|
|
1872
|
+
]
|
|
1873
|
+
}
|
|
1874
|
+
),
|
|
1875
|
+
/* @__PURE__ */ jsxs4(
|
|
1876
|
+
"linearGradient",
|
|
1877
|
+
{
|
|
1878
|
+
id: "paint2_linear_6594_388107",
|
|
1879
|
+
x1: "12",
|
|
1880
|
+
y1: "10.75",
|
|
1881
|
+
x2: "12",
|
|
1882
|
+
y2: "21.25",
|
|
1883
|
+
gradientUnits: "userSpaceOnUse",
|
|
1884
|
+
children: [
|
|
1885
|
+
/* @__PURE__ */ jsx8("stop", { "stop-color": "#52525B" }),
|
|
1886
|
+
/* @__PURE__ */ jsx8("stop", { offset: "1", "stop-color": "#A1A1AA" })
|
|
1887
|
+
]
|
|
1888
|
+
}
|
|
1889
|
+
),
|
|
1890
|
+
/* @__PURE__ */ jsxs4(
|
|
1891
|
+
"linearGradient",
|
|
1892
|
+
{
|
|
1893
|
+
id: "paint3_linear_6594_388107",
|
|
1894
|
+
x1: "12",
|
|
1895
|
+
y1: "10.75",
|
|
1896
|
+
x2: "12",
|
|
1897
|
+
y2: "21.25",
|
|
1898
|
+
gradientUnits: "userSpaceOnUse",
|
|
1899
|
+
children: [
|
|
1900
|
+
/* @__PURE__ */ jsx8("stop", { "stop-color": "#18181B" }),
|
|
1901
|
+
/* @__PURE__ */ jsx8("stop", { offset: "1", "stop-color": "#52525B" })
|
|
1902
|
+
]
|
|
1903
|
+
}
|
|
1904
|
+
)
|
|
1905
|
+
] })
|
|
1906
|
+
]
|
|
1907
|
+
}
|
|
1908
|
+
);
|
|
1909
|
+
};
|
|
1910
|
+
|
|
1911
|
+
// src/components/layout/notifications/notifications.tsx
|
|
1912
|
+
import { Fragment as Fragment2, jsx as jsx9, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
1778
1913
|
var LAST_READ_NOTIFICATION_KEY = "notificationsLastReadAt";
|
|
1779
1914
|
var Notifications = () => {
|
|
1780
1915
|
const { t: t2 } = useTranslation5();
|
|
@@ -1807,27 +1942,27 @@ var Notifications = () => {
|
|
|
1807
1942
|
setLastReadAt(localStorage.getItem(LAST_READ_NOTIFICATION_KEY));
|
|
1808
1943
|
}
|
|
1809
1944
|
};
|
|
1810
|
-
return /* @__PURE__ */
|
|
1945
|
+
return /* @__PURE__ */ jsxs5(
|
|
1811
1946
|
Drawer,
|
|
1812
1947
|
{
|
|
1813
1948
|
open,
|
|
1814
1949
|
onOpenChange: handleOnOpen,
|
|
1815
1950
|
"data-testid": "notifications-drawer",
|
|
1816
1951
|
children: [
|
|
1817
|
-
/* @__PURE__ */
|
|
1818
|
-
|
|
1952
|
+
/* @__PURE__ */ jsx9(Drawer.Trigger, { asChild: true, children: /* @__PURE__ */ jsx9(
|
|
1953
|
+
IconButton3,
|
|
1819
1954
|
{
|
|
1820
1955
|
variant: "transparent",
|
|
1821
1956
|
size: "small",
|
|
1822
1957
|
className: "text-ui-fg-muted hover:text-ui-fg-subtle",
|
|
1823
1958
|
"data-testid": "notifications-trigger-button",
|
|
1824
|
-
children: hasUnread ? /* @__PURE__ */
|
|
1959
|
+
children: hasUnread ? /* @__PURE__ */ jsx9(BellAlertDone, { "data-testid": "notifications-icon-unread" }) : /* @__PURE__ */ jsx9(BellAlert, { "data-testid": "notifications-icon" })
|
|
1825
1960
|
}
|
|
1826
1961
|
) }),
|
|
1827
|
-
/* @__PURE__ */
|
|
1828
|
-
/* @__PURE__ */
|
|
1829
|
-
/* @__PURE__ */
|
|
1830
|
-
/* @__PURE__ */
|
|
1962
|
+
/* @__PURE__ */ jsxs5(Drawer.Content, { "data-testid": "notifications-content", children: [
|
|
1963
|
+
/* @__PURE__ */ jsxs5(Drawer.Header, { "data-testid": "notifications-header", children: [
|
|
1964
|
+
/* @__PURE__ */ jsx9(Drawer.Title, { asChild: true, children: /* @__PURE__ */ jsx9(Heading, { "data-testid": "notifications-title", children: t2("notifications.domain") }) }),
|
|
1965
|
+
/* @__PURE__ */ jsx9(
|
|
1831
1966
|
Drawer.Description,
|
|
1832
1967
|
{
|
|
1833
1968
|
className: "sr-only",
|
|
@@ -1836,12 +1971,12 @@ var Notifications = () => {
|
|
|
1836
1971
|
}
|
|
1837
1972
|
)
|
|
1838
1973
|
] }),
|
|
1839
|
-
/* @__PURE__ */
|
|
1974
|
+
/* @__PURE__ */ jsx9(
|
|
1840
1975
|
Drawer.Body,
|
|
1841
1976
|
{
|
|
1842
1977
|
className: "overflow-y-auto px-0",
|
|
1843
1978
|
"data-testid": "notifications-body",
|
|
1844
|
-
children: /* @__PURE__ */
|
|
1979
|
+
children: /* @__PURE__ */ jsx9("div", { "data-testid": "notifications-list", children: /* @__PURE__ */ jsx9(
|
|
1845
1980
|
InfiniteList,
|
|
1846
1981
|
{
|
|
1847
1982
|
responseKey: "notifications",
|
|
@@ -1850,9 +1985,9 @@ var Notifications = () => {
|
|
|
1850
1985
|
...params
|
|
1851
1986
|
}),
|
|
1852
1987
|
queryOptions: { enabled: open },
|
|
1853
|
-
renderEmpty: () => /* @__PURE__ */
|
|
1988
|
+
renderEmpty: () => /* @__PURE__ */ jsx9(NotificationsEmptyState, { t: t2 }),
|
|
1854
1989
|
renderItem: (notification) => {
|
|
1855
|
-
return /* @__PURE__ */
|
|
1990
|
+
return /* @__PURE__ */ jsx9(
|
|
1856
1991
|
Notification,
|
|
1857
1992
|
{
|
|
1858
1993
|
notification,
|
|
@@ -1878,35 +2013,35 @@ var Notification = ({
|
|
|
1878
2013
|
if (!data?.title) {
|
|
1879
2014
|
return null;
|
|
1880
2015
|
}
|
|
1881
|
-
return /* @__PURE__ */
|
|
2016
|
+
return /* @__PURE__ */ jsx9(Fragment2, { children: /* @__PURE__ */ jsxs5(
|
|
1882
2017
|
"div",
|
|
1883
2018
|
{
|
|
1884
2019
|
className: "relative flex items-start justify-center gap-3 border-b p-6",
|
|
1885
2020
|
"data-testid": `notification-${notification.id}`,
|
|
1886
2021
|
children: [
|
|
1887
|
-
/* @__PURE__ */
|
|
2022
|
+
/* @__PURE__ */ jsx9(
|
|
1888
2023
|
"div",
|
|
1889
2024
|
{
|
|
1890
2025
|
className: "text-ui-fg-muted flex size-5 items-center justify-center",
|
|
1891
2026
|
"data-testid": `notification-${notification.id}-icon`,
|
|
1892
|
-
children: /* @__PURE__ */
|
|
2027
|
+
children: /* @__PURE__ */ jsx9(InformationCircleSolid, {})
|
|
1893
2028
|
}
|
|
1894
2029
|
),
|
|
1895
|
-
/* @__PURE__ */
|
|
2030
|
+
/* @__PURE__ */ jsxs5(
|
|
1896
2031
|
"div",
|
|
1897
2032
|
{
|
|
1898
2033
|
className: "flex w-full flex-col gap-y-3",
|
|
1899
2034
|
"data-testid": `notification-${notification.id}-content`,
|
|
1900
2035
|
children: [
|
|
1901
|
-
/* @__PURE__ */
|
|
2036
|
+
/* @__PURE__ */ jsxs5(
|
|
1902
2037
|
"div",
|
|
1903
2038
|
{
|
|
1904
2039
|
className: "flex flex-col",
|
|
1905
2040
|
"data-testid": `notification-${notification.id}-header`,
|
|
1906
2041
|
children: [
|
|
1907
|
-
/* @__PURE__ */
|
|
1908
|
-
/* @__PURE__ */
|
|
1909
|
-
|
|
2042
|
+
/* @__PURE__ */ jsxs5("div", { className: "flex items-center justify-between", children: [
|
|
2043
|
+
/* @__PURE__ */ jsx9(
|
|
2044
|
+
Text4,
|
|
1910
2045
|
{
|
|
1911
2046
|
size: "small",
|
|
1912
2047
|
leading: "compact",
|
|
@@ -1915,14 +2050,14 @@ var Notification = ({
|
|
|
1915
2050
|
children: data.title
|
|
1916
2051
|
}
|
|
1917
2052
|
),
|
|
1918
|
-
/* @__PURE__ */
|
|
2053
|
+
/* @__PURE__ */ jsxs5(
|
|
1919
2054
|
"div",
|
|
1920
2055
|
{
|
|
1921
2056
|
className: "align-center flex items-center justify-center gap-2",
|
|
1922
2057
|
"data-testid": `notification-${notification.id}-meta`,
|
|
1923
2058
|
children: [
|
|
1924
|
-
/* @__PURE__ */
|
|
1925
|
-
|
|
2059
|
+
/* @__PURE__ */ jsx9(
|
|
2060
|
+
Text4,
|
|
1926
2061
|
{
|
|
1927
2062
|
as: "span",
|
|
1928
2063
|
className: clx3("text-ui-fg-subtle", {
|
|
@@ -1937,7 +2072,7 @@ var Notification = ({
|
|
|
1937
2072
|
})
|
|
1938
2073
|
}
|
|
1939
2074
|
),
|
|
1940
|
-
unread && /* @__PURE__ */
|
|
2075
|
+
unread && /* @__PURE__ */ jsx9(
|
|
1941
2076
|
"div",
|
|
1942
2077
|
{
|
|
1943
2078
|
className: "bg-ui-bg-interactive h-2 w-2 rounded",
|
|
@@ -1949,8 +2084,8 @@ var Notification = ({
|
|
|
1949
2084
|
}
|
|
1950
2085
|
)
|
|
1951
2086
|
] }),
|
|
1952
|
-
!!data.description && /* @__PURE__ */
|
|
1953
|
-
|
|
2087
|
+
!!data.description && /* @__PURE__ */ jsx9(
|
|
2088
|
+
Text4,
|
|
1954
2089
|
{
|
|
1955
2090
|
className: "text-ui-fg-subtle whitespace-pre-line",
|
|
1956
2091
|
size: "small",
|
|
@@ -1961,7 +2096,7 @@ var Notification = ({
|
|
|
1961
2096
|
]
|
|
1962
2097
|
}
|
|
1963
2098
|
),
|
|
1964
|
-
!!data?.file?.url && /* @__PURE__ */
|
|
2099
|
+
!!data?.file?.url && /* @__PURE__ */ jsx9(
|
|
1965
2100
|
FilePreview,
|
|
1966
2101
|
{
|
|
1967
2102
|
filename: data.file.filename ?? "",
|
|
@@ -1978,15 +2113,15 @@ var Notification = ({
|
|
|
1978
2113
|
) });
|
|
1979
2114
|
};
|
|
1980
2115
|
var NotificationsEmptyState = ({ t: t2 }) => {
|
|
1981
|
-
return /* @__PURE__ */
|
|
2116
|
+
return /* @__PURE__ */ jsxs5(
|
|
1982
2117
|
"div",
|
|
1983
2118
|
{
|
|
1984
2119
|
className: "flex h-full flex-col items-center justify-center",
|
|
1985
2120
|
"data-testid": "notifications-empty-state",
|
|
1986
2121
|
children: [
|
|
1987
|
-
/* @__PURE__ */
|
|
1988
|
-
/* @__PURE__ */
|
|
1989
|
-
|
|
2122
|
+
/* @__PURE__ */ jsx9(BellAlertDone, { "data-testid": "notifications-empty-icon" }),
|
|
2123
|
+
/* @__PURE__ */ jsx9(
|
|
2124
|
+
Text4,
|
|
1990
2125
|
{
|
|
1991
2126
|
size: "small",
|
|
1992
2127
|
leading: "compact",
|
|
@@ -1996,8 +2131,8 @@ var NotificationsEmptyState = ({ t: t2 }) => {
|
|
|
1996
2131
|
children: t2("notifications.emptyState.title")
|
|
1997
2132
|
}
|
|
1998
2133
|
),
|
|
1999
|
-
/* @__PURE__ */
|
|
2000
|
-
|
|
2134
|
+
/* @__PURE__ */ jsx9(
|
|
2135
|
+
Text4,
|
|
2001
2136
|
{
|
|
2002
2137
|
size: "small",
|
|
2003
2138
|
className: "text-ui-fg-muted mt-1 max-w-[294px] text-center",
|
|
@@ -2031,20 +2166,20 @@ var useUnreadNotifications = () => {
|
|
|
2031
2166
|
};
|
|
2032
2167
|
|
|
2033
2168
|
// src/components/layout/shell/shell.tsx
|
|
2034
|
-
import { jsx as
|
|
2169
|
+
import { jsx as jsx10, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
2035
2170
|
var Shell = ({ children }) => {
|
|
2036
2171
|
const globalShortcuts = useGlobalShortcuts();
|
|
2037
2172
|
const navigation = useNavigation();
|
|
2038
2173
|
const loading = navigation.state === "loading";
|
|
2039
|
-
return /* @__PURE__ */
|
|
2040
|
-
/* @__PURE__ */
|
|
2041
|
-
/* @__PURE__ */
|
|
2042
|
-
/* @__PURE__ */
|
|
2043
|
-
/* @__PURE__ */
|
|
2174
|
+
return /* @__PURE__ */ jsx10(KeybindProvider, { shortcuts: globalShortcuts, children: /* @__PURE__ */ jsxs6("div", { className: "relative flex h-screen flex-col items-start overflow-hidden lg:flex-row", children: [
|
|
2175
|
+
/* @__PURE__ */ jsx10(NavigationBar, { loading }),
|
|
2176
|
+
/* @__PURE__ */ jsxs6("div", { children: [
|
|
2177
|
+
/* @__PURE__ */ jsx10(MobileSidebarContainer, { children }),
|
|
2178
|
+
/* @__PURE__ */ jsx10(DesktopSidebarContainer, { children })
|
|
2044
2179
|
] }),
|
|
2045
|
-
/* @__PURE__ */
|
|
2046
|
-
/* @__PURE__ */
|
|
2047
|
-
/* @__PURE__ */
|
|
2180
|
+
/* @__PURE__ */ jsxs6("div", { className: "flex h-screen w-full flex-col overflow-auto", children: [
|
|
2181
|
+
/* @__PURE__ */ jsx10(Topbar, {}),
|
|
2182
|
+
/* @__PURE__ */ jsx10(
|
|
2048
2183
|
"main",
|
|
2049
2184
|
{
|
|
2050
2185
|
className: clx4(
|
|
@@ -2053,7 +2188,7 @@ var Shell = ({ children }) => {
|
|
|
2053
2188
|
"opacity-25": loading
|
|
2054
2189
|
}
|
|
2055
2190
|
),
|
|
2056
|
-
children: /* @__PURE__ */
|
|
2191
|
+
children: /* @__PURE__ */ jsx10(Gutter, { children: /* @__PURE__ */ jsx10(Outlet2, {}) })
|
|
2057
2192
|
}
|
|
2058
2193
|
)
|
|
2059
2194
|
] })
|
|
@@ -2074,10 +2209,10 @@ var NavigationBar = ({ loading }) => {
|
|
|
2074
2209
|
clearTimeout(timeout);
|
|
2075
2210
|
};
|
|
2076
2211
|
}, [loading]);
|
|
2077
|
-
return /* @__PURE__ */
|
|
2212
|
+
return /* @__PURE__ */ jsx10("div", { className: "fixed inset-x-0 top-0 z-50 h-1", children: /* @__PURE__ */ jsx10(AnimatePresence, { children: showBar ? /* @__PURE__ */ jsx10(ProgressBar, {}) : null }) });
|
|
2078
2213
|
};
|
|
2079
2214
|
var Gutter = ({ children }) => {
|
|
2080
|
-
return /* @__PURE__ */
|
|
2215
|
+
return /* @__PURE__ */ jsx10("div", { className: "flex w-full max-w-[1600px] flex-col gap-y-2 p-3", children });
|
|
2081
2216
|
};
|
|
2082
2217
|
var Breadcrumbs = () => {
|
|
2083
2218
|
const matches = useMatches();
|
|
@@ -2086,7 +2221,7 @@ var Breadcrumbs = () => {
|
|
|
2086
2221
|
let label = void 0;
|
|
2087
2222
|
try {
|
|
2088
2223
|
label = handle.breadcrumb?.(match);
|
|
2089
|
-
} catch
|
|
2224
|
+
} catch {
|
|
2090
2225
|
}
|
|
2091
2226
|
if (!label) {
|
|
2092
2227
|
return null;
|
|
@@ -2096,7 +2231,7 @@ var Breadcrumbs = () => {
|
|
|
2096
2231
|
path: match.pathname
|
|
2097
2232
|
};
|
|
2098
2233
|
}).filter(Boolean);
|
|
2099
|
-
return /* @__PURE__ */
|
|
2234
|
+
return /* @__PURE__ */ jsx10(
|
|
2100
2235
|
"ol",
|
|
2101
2236
|
{
|
|
2102
2237
|
className: clx4(
|
|
@@ -2105,17 +2240,17 @@ var Breadcrumbs = () => {
|
|
|
2105
2240
|
children: crumbs.map((crumb, index) => {
|
|
2106
2241
|
const isLast = index === crumbs.length - 1;
|
|
2107
2242
|
const isSingle = crumbs.length === 1;
|
|
2108
|
-
return /* @__PURE__ */
|
|
2109
|
-
!isLast ? /* @__PURE__ */
|
|
2243
|
+
return /* @__PURE__ */ jsxs6("li", { className: clx4("flex items-center"), children: [
|
|
2244
|
+
!isLast ? /* @__PURE__ */ jsx10(
|
|
2110
2245
|
Link,
|
|
2111
2246
|
{
|
|
2112
2247
|
className: "transition-fg hover:text-ui-fg-subtle",
|
|
2113
2248
|
to: crumb.path,
|
|
2114
2249
|
children: crumb.label
|
|
2115
2250
|
}
|
|
2116
|
-
) : /* @__PURE__ */
|
|
2117
|
-
!isSingle && /* @__PURE__ */
|
|
2118
|
-
/* @__PURE__ */
|
|
2251
|
+
) : /* @__PURE__ */ jsxs6("div", { children: [
|
|
2252
|
+
!isSingle && /* @__PURE__ */ jsx10("span", { className: "block lg:hidden", children: "..." }),
|
|
2253
|
+
/* @__PURE__ */ jsx10(
|
|
2119
2254
|
"span",
|
|
2120
2255
|
{
|
|
2121
2256
|
className: clx4({
|
|
@@ -2126,7 +2261,7 @@ var Breadcrumbs = () => {
|
|
|
2126
2261
|
index
|
|
2127
2262
|
)
|
|
2128
2263
|
] }),
|
|
2129
|
-
!isLast && /* @__PURE__ */
|
|
2264
|
+
!isLast && /* @__PURE__ */ jsx10("span", { className: "mx-2", children: /* @__PURE__ */ jsx10(TriangleRightMini, { className: "rtl:rotate-180" }) })
|
|
2130
2265
|
] }, index);
|
|
2131
2266
|
})
|
|
2132
2267
|
}
|
|
@@ -2134,41 +2269,41 @@ var Breadcrumbs = () => {
|
|
|
2134
2269
|
};
|
|
2135
2270
|
var ToggleSidebar = () => {
|
|
2136
2271
|
const { toggle } = useSidebar();
|
|
2137
|
-
return /* @__PURE__ */
|
|
2138
|
-
/* @__PURE__ */
|
|
2139
|
-
|
|
2272
|
+
return /* @__PURE__ */ jsxs6("div", { children: [
|
|
2273
|
+
/* @__PURE__ */ jsx10(
|
|
2274
|
+
IconButton4,
|
|
2140
2275
|
{
|
|
2141
2276
|
className: "hidden lg:flex",
|
|
2142
2277
|
variant: "transparent",
|
|
2143
2278
|
onClick: () => toggle("desktop"),
|
|
2144
2279
|
size: "small",
|
|
2145
|
-
children: /* @__PURE__ */
|
|
2280
|
+
children: /* @__PURE__ */ jsx10(SidebarLeft, { className: "text-ui-fg-muted rtl:rotate-180" })
|
|
2146
2281
|
}
|
|
2147
2282
|
),
|
|
2148
|
-
/* @__PURE__ */
|
|
2149
|
-
|
|
2283
|
+
/* @__PURE__ */ jsx10(
|
|
2284
|
+
IconButton4,
|
|
2150
2285
|
{
|
|
2151
2286
|
className: "hidden max-lg:flex",
|
|
2152
2287
|
variant: "transparent",
|
|
2153
2288
|
onClick: () => toggle("mobile"),
|
|
2154
2289
|
size: "small",
|
|
2155
|
-
children: /* @__PURE__ */
|
|
2290
|
+
children: /* @__PURE__ */ jsx10(SidebarLeft, { className: "text-ui-fg-muted rtl:rotate-180" })
|
|
2156
2291
|
}
|
|
2157
2292
|
)
|
|
2158
2293
|
] });
|
|
2159
2294
|
};
|
|
2160
2295
|
var Topbar = () => {
|
|
2161
|
-
return /* @__PURE__ */
|
|
2162
|
-
/* @__PURE__ */
|
|
2163
|
-
/* @__PURE__ */
|
|
2164
|
-
/* @__PURE__ */
|
|
2296
|
+
return /* @__PURE__ */ jsxs6("div", { className: "grid w-full grid-cols-2 border-b p-3", children: [
|
|
2297
|
+
/* @__PURE__ */ jsxs6("div", { className: "flex items-center gap-x-1.5", children: [
|
|
2298
|
+
/* @__PURE__ */ jsx10(ToggleSidebar, {}),
|
|
2299
|
+
/* @__PURE__ */ jsx10(Breadcrumbs, {})
|
|
2165
2300
|
] }),
|
|
2166
|
-
/* @__PURE__ */
|
|
2301
|
+
/* @__PURE__ */ jsx10("div", { className: "flex items-center justify-end gap-x-3", children: /* @__PURE__ */ jsx10(Notifications, {}) })
|
|
2167
2302
|
] });
|
|
2168
2303
|
};
|
|
2169
2304
|
var DesktopSidebarContainer = ({ children }) => {
|
|
2170
2305
|
const { desktop } = useSidebar();
|
|
2171
|
-
return /* @__PURE__ */
|
|
2306
|
+
return /* @__PURE__ */ jsx10(
|
|
2172
2307
|
"div",
|
|
2173
2308
|
{
|
|
2174
2309
|
className: clx4("hidden h-screen w-[220px] border-e", {
|
|
@@ -2181,8 +2316,8 @@ var DesktopSidebarContainer = ({ children }) => {
|
|
|
2181
2316
|
var MobileSidebarContainer = ({ children }) => {
|
|
2182
2317
|
const { t: t2 } = useTranslation6();
|
|
2183
2318
|
const { mobile, toggle } = useSidebar();
|
|
2184
|
-
return /* @__PURE__ */
|
|
2185
|
-
/* @__PURE__ */
|
|
2319
|
+
return /* @__PURE__ */ jsx10(RadixDialog2.Root, { open: mobile, onOpenChange: () => toggle("mobile"), children: /* @__PURE__ */ jsxs6(RadixDialog2.Portal, { children: [
|
|
2320
|
+
/* @__PURE__ */ jsx10(
|
|
2186
2321
|
RadixDialog2.Overlay,
|
|
2187
2322
|
{
|
|
2188
2323
|
className: clx4(
|
|
@@ -2191,7 +2326,7 @@ var MobileSidebarContainer = ({ children }) => {
|
|
|
2191
2326
|
)
|
|
2192
2327
|
}
|
|
2193
2328
|
),
|
|
2194
|
-
/* @__PURE__ */
|
|
2329
|
+
/* @__PURE__ */ jsxs6(
|
|
2195
2330
|
RadixDialog2.Content,
|
|
2196
2331
|
{
|
|
2197
2332
|
className: clx4(
|
|
@@ -2199,18 +2334,18 @@ var MobileSidebarContainer = ({ children }) => {
|
|
|
2199
2334
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:slide-out-to-start-1/2 data-[state=open]:slide-in-from-start-1/2 duration-200"
|
|
2200
2335
|
),
|
|
2201
2336
|
children: [
|
|
2202
|
-
/* @__PURE__ */
|
|
2203
|
-
/* @__PURE__ */
|
|
2204
|
-
|
|
2337
|
+
/* @__PURE__ */ jsxs6("div", { className: "p-3", children: [
|
|
2338
|
+
/* @__PURE__ */ jsx10(RadixDialog2.Close, { asChild: true, children: /* @__PURE__ */ jsx10(
|
|
2339
|
+
IconButton4,
|
|
2205
2340
|
{
|
|
2206
2341
|
size: "small",
|
|
2207
2342
|
variant: "transparent",
|
|
2208
2343
|
className: "text-ui-fg-subtle",
|
|
2209
|
-
children: /* @__PURE__ */
|
|
2344
|
+
children: /* @__PURE__ */ jsx10(XMark, {})
|
|
2210
2345
|
}
|
|
2211
2346
|
) }),
|
|
2212
|
-
/* @__PURE__ */
|
|
2213
|
-
/* @__PURE__ */
|
|
2347
|
+
/* @__PURE__ */ jsx10(RadixDialog2.Title, { className: "sr-only", children: t2("app.nav.accessibility.title") }),
|
|
2348
|
+
/* @__PURE__ */ jsx10(RadixDialog2.Description, { className: "sr-only", children: t2("app.nav.accessibility.description") })
|
|
2214
2349
|
] }),
|
|
2215
2350
|
children
|
|
2216
2351
|
]
|
|
@@ -2234,17 +2369,17 @@ import {
|
|
|
2234
2369
|
Avatar,
|
|
2235
2370
|
DropdownMenu as DropdownMenu2,
|
|
2236
2371
|
Heading as Heading2,
|
|
2237
|
-
IconButton as
|
|
2372
|
+
IconButton as IconButton5,
|
|
2238
2373
|
Input,
|
|
2239
2374
|
Kbd as Kbd3,
|
|
2240
|
-
Text as
|
|
2375
|
+
Text as Text5,
|
|
2241
2376
|
clx as clx5
|
|
2242
2377
|
} from "@medusajs/ui";
|
|
2243
2378
|
import { Dialog as RadixDialog3 } from "radix-ui";
|
|
2244
2379
|
import { useTranslation as useTranslation7 } from "react-i18next";
|
|
2245
2380
|
import { useState as useState11 } from "react";
|
|
2246
2381
|
import { Link as Link2, useLocation as useLocation5, useNavigate as useNavigate3 } from "react-router-dom";
|
|
2247
|
-
import { jsx as
|
|
2382
|
+
import { jsx as jsx11, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
2248
2383
|
var UserMenu = () => {
|
|
2249
2384
|
const { t: t2 } = useTranslation7();
|
|
2250
2385
|
const location = useLocation5();
|
|
@@ -2255,36 +2390,36 @@ var UserMenu = () => {
|
|
|
2255
2390
|
setOpenMenu(false);
|
|
2256
2391
|
setOpenModal(!openModal);
|
|
2257
2392
|
};
|
|
2258
|
-
return /* @__PURE__ */
|
|
2259
|
-
/* @__PURE__ */
|
|
2260
|
-
/* @__PURE__ */
|
|
2261
|
-
/* @__PURE__ */
|
|
2262
|
-
/* @__PURE__ */
|
|
2263
|
-
/* @__PURE__ */
|
|
2264
|
-
/* @__PURE__ */
|
|
2265
|
-
/* @__PURE__ */
|
|
2393
|
+
return /* @__PURE__ */ jsxs7("div", { "data-testid": "sidebar-user-menu", children: [
|
|
2394
|
+
/* @__PURE__ */ jsxs7(DropdownMenu2, { dir: direction, open: openMenu, onOpenChange: setOpenMenu, "data-testid": "sidebar-user-menu-dropdown", children: [
|
|
2395
|
+
/* @__PURE__ */ jsx11(UserBadge, {}),
|
|
2396
|
+
/* @__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__ */ jsx11(UserItem, {}),
|
|
2398
|
+
/* @__PURE__ */ jsx11(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-1" }),
|
|
2399
|
+
/* @__PURE__ */ jsx11(DropdownMenu2.Item, { asChild: true, "data-testid": "sidebar-user-menu-profile-settings", children: /* @__PURE__ */ jsxs7(Link2, { to: "/settings/profile", state: { from: location.pathname }, children: [
|
|
2400
|
+
/* @__PURE__ */ jsx11(UserIcon, { className: "text-ui-fg-subtle me-2" }),
|
|
2266
2401
|
t2("app.menus.user.profileSettings")
|
|
2267
2402
|
] }) }),
|
|
2268
|
-
/* @__PURE__ */
|
|
2269
|
-
/* @__PURE__ */
|
|
2270
|
-
/* @__PURE__ */
|
|
2403
|
+
/* @__PURE__ */ jsx11(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-2" }),
|
|
2404
|
+
/* @__PURE__ */ jsx11(DropdownMenu2.Item, { asChild: true, "data-testid": "sidebar-user-menu-documentation", children: /* @__PURE__ */ jsxs7(Link2, { to: "https://docs.mercurjs.com/welcome", target: "_blank", children: [
|
|
2405
|
+
/* @__PURE__ */ jsx11(BookOpen, { className: "text-ui-fg-subtle me-2" }),
|
|
2271
2406
|
t2("app.menus.user.documentation")
|
|
2272
2407
|
] }) }),
|
|
2273
|
-
/* @__PURE__ */
|
|
2274
|
-
/* @__PURE__ */
|
|
2408
|
+
/* @__PURE__ */ jsx11(DropdownMenu2.Item, { asChild: true, "data-testid": "sidebar-user-menu-changelog", children: /* @__PURE__ */ jsxs7(Link2, { to: "https://www.mercurjs.com/updates", target: "_blank", children: [
|
|
2409
|
+
/* @__PURE__ */ jsx11(TimelineVertical, { className: "text-ui-fg-subtle me-2" }),
|
|
2275
2410
|
t2("app.menus.user.changelog")
|
|
2276
2411
|
] }) }),
|
|
2277
|
-
/* @__PURE__ */
|
|
2278
|
-
/* @__PURE__ */
|
|
2279
|
-
/* @__PURE__ */
|
|
2412
|
+
/* @__PURE__ */ jsx11(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-3" }),
|
|
2413
|
+
/* @__PURE__ */ jsxs7(DropdownMenu2.Item, { onClick: toggleModal, "data-testid": "sidebar-user-menu-shortcuts", children: [
|
|
2414
|
+
/* @__PURE__ */ jsx11(Keyboard, { className: "text-ui-fg-subtle me-2" }),
|
|
2280
2415
|
t2("app.menus.user.shortcuts")
|
|
2281
2416
|
] }),
|
|
2282
|
-
/* @__PURE__ */
|
|
2283
|
-
/* @__PURE__ */
|
|
2284
|
-
/* @__PURE__ */
|
|
2417
|
+
/* @__PURE__ */ jsx11(ThemeToggle, {}),
|
|
2418
|
+
/* @__PURE__ */ jsx11(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-4" }),
|
|
2419
|
+
/* @__PURE__ */ jsx11(Logout, {})
|
|
2285
2420
|
] })
|
|
2286
2421
|
] }),
|
|
2287
|
-
/* @__PURE__ */
|
|
2422
|
+
/* @__PURE__ */ jsx11(GlobalKeybindsModal, { open: openModal, onOpenChange: setOpenModal })
|
|
2288
2423
|
] });
|
|
2289
2424
|
};
|
|
2290
2425
|
var UserBadge = () => {
|
|
@@ -2293,15 +2428,15 @@ var UserBadge = () => {
|
|
|
2293
2428
|
const displayName = name || user?.email;
|
|
2294
2429
|
const fallback = displayName ? displayName[0].toUpperCase() : null;
|
|
2295
2430
|
if (isPending) {
|
|
2296
|
-
return /* @__PURE__ */
|
|
2297
|
-
/* @__PURE__ */
|
|
2298
|
-
/* @__PURE__ */
|
|
2431
|
+
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__ */ jsx11(Skeleton, { className: "h-5 w-5 rounded-full" }),
|
|
2433
|
+
/* @__PURE__ */ jsx11(Skeleton, { className: "h-[9px] w-[70px]" })
|
|
2299
2434
|
] });
|
|
2300
2435
|
}
|
|
2301
2436
|
if (isError) {
|
|
2302
2437
|
throw error;
|
|
2303
2438
|
}
|
|
2304
|
-
return /* @__PURE__ */
|
|
2439
|
+
return /* @__PURE__ */ jsx11("div", { className: "p-3", "data-testid": "sidebar-user-menu-badge", children: /* @__PURE__ */ jsxs7(
|
|
2305
2440
|
DropdownMenu2.Trigger,
|
|
2306
2441
|
{
|
|
2307
2442
|
disabled: !user,
|
|
@@ -2313,9 +2448,9 @@ var UserBadge = () => {
|
|
|
2313
2448
|
),
|
|
2314
2449
|
"data-testid": "sidebar-user-menu-trigger",
|
|
2315
2450
|
children: [
|
|
2316
|
-
/* @__PURE__ */
|
|
2317
|
-
/* @__PURE__ */
|
|
2318
|
-
|
|
2451
|
+
/* @__PURE__ */ jsx11("div", { className: "flex size-6 items-center justify-center", "data-testid": "sidebar-user-menu-avatar-container", children: fallback ? /* @__PURE__ */ jsx11(Avatar, { size: "xsmall", fallback, "data-testid": "sidebar-user-menu-avatar" }) : /* @__PURE__ */ jsx11(Skeleton, { className: "h-6 w-6 rounded-full" }) }),
|
|
2452
|
+
/* @__PURE__ */ jsx11("div", { className: "flex items-center overflow-hidden", "data-testid": "sidebar-user-menu-name-container", children: displayName ? /* @__PURE__ */ jsx11(
|
|
2453
|
+
Text5,
|
|
2319
2454
|
{
|
|
2320
2455
|
size: "xsmall",
|
|
2321
2456
|
weight: "plus",
|
|
@@ -2324,8 +2459,8 @@ var UserBadge = () => {
|
|
|
2324
2459
|
"data-testid": "sidebar-user-menu-name",
|
|
2325
2460
|
children: displayName
|
|
2326
2461
|
}
|
|
2327
|
-
) : /* @__PURE__ */
|
|
2328
|
-
/* @__PURE__ */
|
|
2462
|
+
) : /* @__PURE__ */ jsx11(Skeleton, { className: "h-[9px] w-[70px]" }) }),
|
|
2463
|
+
/* @__PURE__ */ jsx11(EllipsisHorizontal, { className: "text-ui-fg-muted" })
|
|
2329
2464
|
]
|
|
2330
2465
|
}
|
|
2331
2466
|
) });
|
|
@@ -2333,13 +2468,13 @@ var UserBadge = () => {
|
|
|
2333
2468
|
var ThemeToggle = () => {
|
|
2334
2469
|
const { t: t2 } = useTranslation7();
|
|
2335
2470
|
const { theme, setTheme } = useTheme();
|
|
2336
|
-
return /* @__PURE__ */
|
|
2337
|
-
/* @__PURE__ */
|
|
2338
|
-
/* @__PURE__ */
|
|
2339
|
-
/* @__PURE__ */
|
|
2471
|
+
return /* @__PURE__ */ jsxs7(DropdownMenu2.SubMenu, { "data-testid": "sidebar-user-menu-theme-toggle", children: [
|
|
2472
|
+
/* @__PURE__ */ jsxs7(DropdownMenu2.SubMenuTrigger, { dir: "ltr", className: "rounded-md rtl:rotate-180", "data-testid": "sidebar-user-menu-theme-trigger", children: [
|
|
2473
|
+
/* @__PURE__ */ jsx11(CircleHalfSolid, { className: "text-ui-fg-subtle me-2" }),
|
|
2474
|
+
/* @__PURE__ */ jsx11("span", { className: "rtl:rotate-180", children: t2("app.menus.user.theme.label") })
|
|
2340
2475
|
] }),
|
|
2341
|
-
/* @__PURE__ */
|
|
2342
|
-
/* @__PURE__ */
|
|
2476
|
+
/* @__PURE__ */ jsx11(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: [
|
|
2477
|
+
/* @__PURE__ */ jsx11(
|
|
2343
2478
|
DropdownMenu2.RadioItem,
|
|
2344
2479
|
{
|
|
2345
2480
|
value: "system",
|
|
@@ -2351,7 +2486,7 @@ var ThemeToggle = () => {
|
|
|
2351
2486
|
children: t2("app.menus.user.theme.system")
|
|
2352
2487
|
}
|
|
2353
2488
|
),
|
|
2354
|
-
/* @__PURE__ */
|
|
2489
|
+
/* @__PURE__ */ jsx11(
|
|
2355
2490
|
DropdownMenu2.RadioItem,
|
|
2356
2491
|
{
|
|
2357
2492
|
value: "light",
|
|
@@ -2363,7 +2498,7 @@ var ThemeToggle = () => {
|
|
|
2363
2498
|
children: t2("app.menus.user.theme.light")
|
|
2364
2499
|
}
|
|
2365
2500
|
),
|
|
2366
|
-
/* @__PURE__ */
|
|
2501
|
+
/* @__PURE__ */ jsx11(
|
|
2367
2502
|
DropdownMenu2.RadioItem,
|
|
2368
2503
|
{
|
|
2369
2504
|
value: "dark",
|
|
@@ -2390,9 +2525,9 @@ var Logout = () => {
|
|
|
2390
2525
|
}
|
|
2391
2526
|
});
|
|
2392
2527
|
};
|
|
2393
|
-
return /* @__PURE__ */
|
|
2394
|
-
/* @__PURE__ */
|
|
2395
|
-
/* @__PURE__ */
|
|
2528
|
+
return /* @__PURE__ */ jsx11(DropdownMenu2.Item, { onClick: handleLogout, "data-testid": "sidebar-user-menu-logout", children: /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-2", children: [
|
|
2529
|
+
/* @__PURE__ */ jsx11(OpenRectArrowOut, { className: "text-ui-fg-subtle" }),
|
|
2530
|
+
/* @__PURE__ */ jsx11("span", { children: t2("app.menus.actions.logout") })
|
|
2396
2531
|
] }) });
|
|
2397
2532
|
};
|
|
2398
2533
|
var GlobalKeybindsModal = (props) => {
|
|
@@ -2402,21 +2537,21 @@ var GlobalKeybindsModal = (props) => {
|
|
|
2402
2537
|
const searchResults = searchValue ? globalShortcuts.filter((shortcut) => {
|
|
2403
2538
|
return shortcut.label.toLowerCase().includes(searchValue?.toLowerCase());
|
|
2404
2539
|
}) : globalShortcuts;
|
|
2405
|
-
return /* @__PURE__ */
|
|
2406
|
-
/* @__PURE__ */
|
|
2407
|
-
/* @__PURE__ */
|
|
2408
|
-
/* @__PURE__ */
|
|
2409
|
-
/* @__PURE__ */
|
|
2410
|
-
/* @__PURE__ */
|
|
2411
|
-
/* @__PURE__ */
|
|
2412
|
-
/* @__PURE__ */
|
|
2540
|
+
return /* @__PURE__ */ jsx11(RadixDialog3.Root, { ...props, "data-testid": "shortcuts-modal", children: /* @__PURE__ */ jsxs7(RadixDialog3.Portal, { children: [
|
|
2541
|
+
/* @__PURE__ */ jsx11(RadixDialog3.Overlay, { className: "bg-ui-bg-overlay fixed inset-0", "data-testid": "shortcuts-modal-overlay" }),
|
|
2542
|
+
/* @__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
|
+
/* @__PURE__ */ jsxs7("div", { className: "flex flex-col gap-y-3 px-6 py-4", "data-testid": "shortcuts-modal-header", children: [
|
|
2544
|
+
/* @__PURE__ */ jsxs7("div", { className: "flex items-center justify-between", "data-testid": "shortcuts-modal-header-top", children: [
|
|
2545
|
+
/* @__PURE__ */ jsxs7("div", { "data-testid": "shortcuts-modal-title-container", children: [
|
|
2546
|
+
/* @__PURE__ */ jsx11(RadixDialog3.Title, { asChild: true, children: /* @__PURE__ */ jsx11(Heading2, { "data-testid": "shortcuts-modal-title", children: t2("app.menus.user.shortcuts") }) }),
|
|
2547
|
+
/* @__PURE__ */ jsx11(RadixDialog3.Description, { className: "sr-only", "data-testid": "shortcuts-modal-description" })
|
|
2413
2548
|
] }),
|
|
2414
|
-
/* @__PURE__ */
|
|
2415
|
-
/* @__PURE__ */
|
|
2416
|
-
/* @__PURE__ */
|
|
2549
|
+
/* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-2", "data-testid": "shortcuts-modal-close-container", children: [
|
|
2550
|
+
/* @__PURE__ */ jsx11(Kbd3, { "data-testid": "shortcuts-modal-close-hint", children: "esc" }),
|
|
2551
|
+
/* @__PURE__ */ jsx11(RadixDialog3.Close, { asChild: true, children: /* @__PURE__ */ jsx11(IconButton5, { variant: "transparent", size: "small", "data-testid": "shortcuts-modal-close-button", children: /* @__PURE__ */ jsx11(XMark2, {}) }) })
|
|
2417
2552
|
] })
|
|
2418
2553
|
] }),
|
|
2419
|
-
/* @__PURE__ */
|
|
2554
|
+
/* @__PURE__ */ jsx11("div", { "data-testid": "shortcuts-modal-search-container", children: /* @__PURE__ */ jsx11(
|
|
2420
2555
|
Input,
|
|
2421
2556
|
{
|
|
2422
2557
|
type: "search",
|
|
@@ -2426,18 +2561,18 @@ var GlobalKeybindsModal = (props) => {
|
|
|
2426
2561
|
}
|
|
2427
2562
|
) })
|
|
2428
2563
|
] }),
|
|
2429
|
-
/* @__PURE__ */
|
|
2430
|
-
return /* @__PURE__ */
|
|
2564
|
+
/* @__PURE__ */ jsx11("div", { className: "flex flex-col divide-y overflow-y-auto", "data-testid": "shortcuts-modal-list", children: searchResults.map((shortcut, index) => {
|
|
2565
|
+
return /* @__PURE__ */ jsxs7(
|
|
2431
2566
|
"div",
|
|
2432
2567
|
{
|
|
2433
2568
|
className: "text-ui-fg-subtle flex items-center justify-between px-6 py-3",
|
|
2434
2569
|
"data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}`,
|
|
2435
2570
|
children: [
|
|
2436
|
-
/* @__PURE__ */
|
|
2437
|
-
/* @__PURE__ */
|
|
2438
|
-
return /* @__PURE__ */
|
|
2439
|
-
/* @__PURE__ */
|
|
2440
|
-
index2 < (shortcut.keys.Mac?.length || 0) - 1 && /* @__PURE__ */
|
|
2571
|
+
/* @__PURE__ */ jsx11(Text5, { size: "small", "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-label`, children: shortcut.label }),
|
|
2572
|
+
/* @__PURE__ */ jsx11("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
|
+
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__ */ jsx11(Kbd3, { "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-kbd-${index2}`, children: key }),
|
|
2575
|
+
index2 < (shortcut.keys.Mac?.length || 0) - 1 && /* @__PURE__ */ jsx11("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") })
|
|
2441
2576
|
] }, index2);
|
|
2442
2577
|
}) })
|
|
2443
2578
|
]
|
|
@@ -2452,7 +2587,7 @@ var UserItem = () => {
|
|
|
2452
2587
|
const { user, isPending, isError, error } = useMe();
|
|
2453
2588
|
const loaded = !isPending && !!user;
|
|
2454
2589
|
if (!loaded) {
|
|
2455
|
-
return /* @__PURE__ */
|
|
2590
|
+
return /* @__PURE__ */ jsx11("div", {});
|
|
2456
2591
|
}
|
|
2457
2592
|
const name = [user.first_name, user.last_name].filter(Boolean).join(" ");
|
|
2458
2593
|
const email = user.email;
|
|
@@ -2461,8 +2596,8 @@ var UserItem = () => {
|
|
|
2461
2596
|
if (isError) {
|
|
2462
2597
|
throw error;
|
|
2463
2598
|
}
|
|
2464
|
-
return /* @__PURE__ */
|
|
2465
|
-
/* @__PURE__ */
|
|
2599
|
+
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__ */ jsx11(
|
|
2466
2601
|
Avatar,
|
|
2467
2602
|
{
|
|
2468
2603
|
size: "small",
|
|
@@ -2472,9 +2607,9 @@ var UserItem = () => {
|
|
|
2472
2607
|
"data-testid": "sidebar-user-menu-item-avatar"
|
|
2473
2608
|
}
|
|
2474
2609
|
),
|
|
2475
|
-
/* @__PURE__ */
|
|
2476
|
-
/* @__PURE__ */
|
|
2477
|
-
|
|
2610
|
+
/* @__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__ */ jsx11(
|
|
2612
|
+
Text5,
|
|
2478
2613
|
{
|
|
2479
2614
|
size: "small",
|
|
2480
2615
|
weight: "plus",
|
|
@@ -2484,8 +2619,8 @@ var UserItem = () => {
|
|
|
2484
2619
|
children: name || email
|
|
2485
2620
|
}
|
|
2486
2621
|
),
|
|
2487
|
-
!!name && /* @__PURE__ */
|
|
2488
|
-
|
|
2622
|
+
!!name && /* @__PURE__ */ jsx11(
|
|
2623
|
+
Text5,
|
|
2489
2624
|
{
|
|
2490
2625
|
size: "xsmall",
|
|
2491
2626
|
leading: "compact",
|
|
@@ -2504,10 +2639,10 @@ import menuItemsModule from "virtual:mercur/menu-items";
|
|
|
2504
2639
|
|
|
2505
2640
|
// src/components/utilities/error-boundary/error-boundary.tsx
|
|
2506
2641
|
import { ExclamationCircle } from "@medusajs/icons";
|
|
2507
|
-
import { Text as
|
|
2642
|
+
import { Text as Text6 } from "@medusajs/ui";
|
|
2508
2643
|
import { useTranslation as useTranslation8 } from "react-i18next";
|
|
2509
2644
|
import { Navigate as Navigate2, useLocation as useLocation6, useRouteError } from "react-router-dom";
|
|
2510
|
-
import { jsx as
|
|
2645
|
+
import { jsx as jsx12, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
2511
2646
|
var ErrorBoundary = () => {
|
|
2512
2647
|
const error = useRouteError();
|
|
2513
2648
|
const location = useLocation6();
|
|
@@ -2515,7 +2650,7 @@ var ErrorBoundary = () => {
|
|
|
2515
2650
|
let code = null;
|
|
2516
2651
|
if (isClientError(error)) {
|
|
2517
2652
|
if (error.status === 401) {
|
|
2518
|
-
return /* @__PURE__ */
|
|
2653
|
+
return /* @__PURE__ */ jsx12(Navigate2, { to: "/login", state: { from: location }, replace: true });
|
|
2519
2654
|
}
|
|
2520
2655
|
code = error.status ?? null;
|
|
2521
2656
|
}
|
|
@@ -2542,12 +2677,12 @@ var ErrorBoundary = () => {
|
|
|
2542
2677
|
message = t2("errorBoundary.defaultMessage");
|
|
2543
2678
|
break;
|
|
2544
2679
|
}
|
|
2545
|
-
return /* @__PURE__ */
|
|
2546
|
-
/* @__PURE__ */
|
|
2547
|
-
/* @__PURE__ */
|
|
2548
|
-
/* @__PURE__ */
|
|
2549
|
-
/* @__PURE__ */
|
|
2550
|
-
|
|
2680
|
+
return /* @__PURE__ */ jsx12("div", { className: "flex size-full min-h-[calc(100vh-57px-24px)] items-center justify-center", children: /* @__PURE__ */ jsx12("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: [
|
|
2681
|
+
/* @__PURE__ */ jsx12(ExclamationCircle, {}),
|
|
2682
|
+
/* @__PURE__ */ jsxs8("div", { className: "flex flex-col items-center justify-center gap-y-1", children: [
|
|
2683
|
+
/* @__PURE__ */ jsx12(Text6, { size: "small", leading: "compact", weight: "plus", children: title }),
|
|
2684
|
+
/* @__PURE__ */ jsx12(
|
|
2685
|
+
Text6,
|
|
2551
2686
|
{
|
|
2552
2687
|
size: "small",
|
|
2553
2688
|
className: "text-ui-fg-muted text-balance text-center",
|
|
@@ -2699,10 +2834,10 @@ var getNestedMenuItems = (menuItems, parentPath) => {
|
|
|
2699
2834
|
};
|
|
2700
2835
|
|
|
2701
2836
|
// src/components/layout/main-layout/main-layout.tsx
|
|
2702
|
-
import { jsx as
|
|
2837
|
+
import { jsx as jsx13, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
2703
2838
|
var MainLayout = () => {
|
|
2704
2839
|
const Sidebar = components.MainSidebar ? components.MainSidebar : MainSidebar;
|
|
2705
|
-
return /* @__PURE__ */
|
|
2840
|
+
return /* @__PURE__ */ jsx13(Shell, { children: /* @__PURE__ */ jsx13(Sidebar, {}) });
|
|
2706
2841
|
};
|
|
2707
2842
|
var allMenuItems = menuItemsModule.menuItems ?? [];
|
|
2708
2843
|
var addNestedItems = (to, items) => {
|
|
@@ -2727,50 +2862,50 @@ var MainSidebar = () => {
|
|
|
2727
2862
|
const customRoutesWithNested = customMenuItems.sort((a, b) => (a.rank ?? 0) - (b.rank ?? 0)).map((item) => ({
|
|
2728
2863
|
label: item.label,
|
|
2729
2864
|
to: item.path,
|
|
2730
|
-
icon: item.icon ? /* @__PURE__ */
|
|
2865
|
+
icon: item.icon ? /* @__PURE__ */ jsx13(item.icon, {}) : void 0,
|
|
2731
2866
|
translationNs: item.translationNs,
|
|
2732
2867
|
items: addNestedItems(item.path)
|
|
2733
2868
|
}));
|
|
2734
|
-
return /* @__PURE__ */
|
|
2869
|
+
return /* @__PURE__ */ jsx13(
|
|
2735
2870
|
"aside",
|
|
2736
2871
|
{
|
|
2737
2872
|
className: "flex flex-1 flex-col justify-between overflow-y-auto",
|
|
2738
2873
|
"data-testid": "sidebar",
|
|
2739
|
-
children: /* @__PURE__ */
|
|
2740
|
-
/* @__PURE__ */
|
|
2874
|
+
children: /* @__PURE__ */ jsxs9("div", { className: "flex flex-1 flex-col", children: [
|
|
2875
|
+
/* @__PURE__ */ jsxs9(
|
|
2741
2876
|
"div",
|
|
2742
2877
|
{
|
|
2743
2878
|
className: "sticky top-0 bg-ui-bg-subtle",
|
|
2744
2879
|
"data-testid": "sidebar-header-section",
|
|
2745
2880
|
children: [
|
|
2746
|
-
/* @__PURE__ */
|
|
2747
|
-
/* @__PURE__ */
|
|
2881
|
+
/* @__PURE__ */ jsx13(Header, {}),
|
|
2882
|
+
/* @__PURE__ */ jsx13("div", { className: "px-3", children: /* @__PURE__ */ jsx13(Divider, { variant: "dashed" }) })
|
|
2748
2883
|
]
|
|
2749
2884
|
}
|
|
2750
2885
|
),
|
|
2751
|
-
/* @__PURE__ */
|
|
2752
|
-
/* @__PURE__ */
|
|
2886
|
+
/* @__PURE__ */ jsxs9("div", { className: "flex flex-1 flex-col justify-between", children: [
|
|
2887
|
+
/* @__PURE__ */ jsx13("div", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ jsxs9(
|
|
2753
2888
|
"nav",
|
|
2754
2889
|
{
|
|
2755
2890
|
className: "flex flex-col gap-y-1 py-3",
|
|
2756
2891
|
"data-testid": "sidebar-core-routes",
|
|
2757
2892
|
children: [
|
|
2758
|
-
/* @__PURE__ */
|
|
2893
|
+
/* @__PURE__ */ jsx13(Searchbar, {}),
|
|
2759
2894
|
routesWithNested.map((route) => {
|
|
2760
|
-
return /* @__PURE__ */
|
|
2895
|
+
return /* @__PURE__ */ jsx13(NavItem, { ...route }, route.to);
|
|
2761
2896
|
}),
|
|
2762
|
-
customRoutesWithNested.map((route) => /* @__PURE__ */
|
|
2897
|
+
customRoutesWithNested.map((route) => /* @__PURE__ */ jsx13(NavItem, { ...route }, route.to))
|
|
2763
2898
|
]
|
|
2764
2899
|
}
|
|
2765
2900
|
) }),
|
|
2766
|
-
/* @__PURE__ */
|
|
2901
|
+
/* @__PURE__ */ jsx13(UtilitySection, {})
|
|
2767
2902
|
] }),
|
|
2768
|
-
/* @__PURE__ */
|
|
2903
|
+
/* @__PURE__ */ jsx13(
|
|
2769
2904
|
"div",
|
|
2770
2905
|
{
|
|
2771
2906
|
className: "sticky bottom-0 bg-ui-bg-subtle",
|
|
2772
2907
|
"data-testid": "sidebar-user-section",
|
|
2773
|
-
children: /* @__PURE__ */
|
|
2908
|
+
children: /* @__PURE__ */ jsx13(UserSection, {})
|
|
2774
2909
|
}
|
|
2775
2910
|
)
|
|
2776
2911
|
] })
|
|
@@ -2789,14 +2924,14 @@ var Logout2 = () => {
|
|
|
2789
2924
|
}
|
|
2790
2925
|
});
|
|
2791
2926
|
};
|
|
2792
|
-
return /* @__PURE__ */
|
|
2927
|
+
return /* @__PURE__ */ jsx13(
|
|
2793
2928
|
DropdownMenu3.Item,
|
|
2794
2929
|
{
|
|
2795
2930
|
onClick: handleLogout,
|
|
2796
2931
|
"data-testid": "sidebar-header-dropdown-logout",
|
|
2797
|
-
children: /* @__PURE__ */
|
|
2798
|
-
/* @__PURE__ */
|
|
2799
|
-
/* @__PURE__ */
|
|
2932
|
+
children: /* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-x-2", children: [
|
|
2933
|
+
/* @__PURE__ */ jsx13(OpenRectArrowOut2, { className: "text-ui-fg-subtle" }),
|
|
2934
|
+
/* @__PURE__ */ jsx13("span", { children: t2("app.menus.actions.logout") })
|
|
2800
2935
|
] })
|
|
2801
2936
|
}
|
|
2802
2937
|
);
|
|
@@ -2811,8 +2946,8 @@ var Header = () => {
|
|
|
2811
2946
|
if (isError) {
|
|
2812
2947
|
throw error;
|
|
2813
2948
|
}
|
|
2814
|
-
return /* @__PURE__ */
|
|
2815
|
-
/* @__PURE__ */
|
|
2949
|
+
return /* @__PURE__ */ jsx13("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
|
+
/* @__PURE__ */ jsxs9(
|
|
2816
2951
|
DropdownMenu3.Trigger,
|
|
2817
2952
|
{
|
|
2818
2953
|
disabled: !isLoaded,
|
|
@@ -2824,7 +2959,7 @@ var Header = () => {
|
|
|
2824
2959
|
),
|
|
2825
2960
|
"data-testid": "sidebar-header-dropdown-trigger",
|
|
2826
2961
|
children: [
|
|
2827
|
-
fallback ? /* @__PURE__ */
|
|
2962
|
+
fallback ? /* @__PURE__ */ jsx13(
|
|
2828
2963
|
Avatar2,
|
|
2829
2964
|
{
|
|
2830
2965
|
variant: "squared",
|
|
@@ -2832,14 +2967,14 @@ var Header = () => {
|
|
|
2832
2967
|
fallback,
|
|
2833
2968
|
"data-testid": "sidebar-header-dropdown-avatar"
|
|
2834
2969
|
}
|
|
2835
|
-
) : /* @__PURE__ */
|
|
2836
|
-
/* @__PURE__ */
|
|
2970
|
+
) : /* @__PURE__ */ jsx13(Skeleton, { className: "h-6 w-6 rounded-md" }),
|
|
2971
|
+
/* @__PURE__ */ jsx13(
|
|
2837
2972
|
"div",
|
|
2838
2973
|
{
|
|
2839
2974
|
className: "block overflow-hidden text-start",
|
|
2840
2975
|
"data-testid": "sidebar-header-dropdown-store-name",
|
|
2841
|
-
children: name ? /* @__PURE__ */
|
|
2842
|
-
|
|
2976
|
+
children: name ? /* @__PURE__ */ jsx13(
|
|
2977
|
+
Text7,
|
|
2843
2978
|
{
|
|
2844
2979
|
size: "small",
|
|
2845
2980
|
weight: "plus",
|
|
@@ -2847,26 +2982,26 @@ var Header = () => {
|
|
|
2847
2982
|
className: "truncate",
|
|
2848
2983
|
children: store.name
|
|
2849
2984
|
}
|
|
2850
|
-
) : /* @__PURE__ */
|
|
2985
|
+
) : /* @__PURE__ */ jsx13(Skeleton, { className: "h-[9px] w-[120px]" })
|
|
2851
2986
|
}
|
|
2852
2987
|
),
|
|
2853
|
-
/* @__PURE__ */
|
|
2988
|
+
/* @__PURE__ */ jsx13(EllipsisHorizontal2, { className: "text-ui-fg-muted" })
|
|
2854
2989
|
]
|
|
2855
2990
|
}
|
|
2856
2991
|
),
|
|
2857
|
-
isLoaded && /* @__PURE__ */
|
|
2992
|
+
isLoaded && /* @__PURE__ */ jsxs9(
|
|
2858
2993
|
DropdownMenu3.Content,
|
|
2859
2994
|
{
|
|
2860
2995
|
className: "w-[var(--radix-dropdown-menu-trigger-width)] min-w-0",
|
|
2861
2996
|
"data-testid": "sidebar-header-dropdown-content",
|
|
2862
2997
|
children: [
|
|
2863
|
-
/* @__PURE__ */
|
|
2998
|
+
/* @__PURE__ */ jsxs9(
|
|
2864
2999
|
"div",
|
|
2865
3000
|
{
|
|
2866
3001
|
className: "flex items-center gap-x-3 px-2 py-1",
|
|
2867
3002
|
"data-testid": "sidebar-header-dropdown-user-info",
|
|
2868
3003
|
children: [
|
|
2869
|
-
/* @__PURE__ */
|
|
3004
|
+
/* @__PURE__ */ jsx13(
|
|
2870
3005
|
Avatar2,
|
|
2871
3006
|
{
|
|
2872
3007
|
variant: "squared",
|
|
@@ -2875,14 +3010,14 @@ var Header = () => {
|
|
|
2875
3010
|
"data-testid": "sidebar-header-dropdown-user-avatar"
|
|
2876
3011
|
}
|
|
2877
3012
|
),
|
|
2878
|
-
/* @__PURE__ */
|
|
3013
|
+
/* @__PURE__ */ jsxs9(
|
|
2879
3014
|
"div",
|
|
2880
3015
|
{
|
|
2881
3016
|
className: "flex flex-col overflow-hidden",
|
|
2882
3017
|
"data-testid": "sidebar-header-dropdown-user-details",
|
|
2883
3018
|
children: [
|
|
2884
|
-
/* @__PURE__ */
|
|
2885
|
-
|
|
3019
|
+
/* @__PURE__ */ jsx13(
|
|
3020
|
+
Text7,
|
|
2886
3021
|
{
|
|
2887
3022
|
size: "small",
|
|
2888
3023
|
weight: "plus",
|
|
@@ -2892,8 +3027,8 @@ var Header = () => {
|
|
|
2892
3027
|
children: name
|
|
2893
3028
|
}
|
|
2894
3029
|
),
|
|
2895
|
-
/* @__PURE__ */
|
|
2896
|
-
|
|
3030
|
+
/* @__PURE__ */ jsx13(
|
|
3031
|
+
Text7,
|
|
2897
3032
|
{
|
|
2898
3033
|
size: "xsmall",
|
|
2899
3034
|
leading: "compact",
|
|
@@ -2908,21 +3043,21 @@ var Header = () => {
|
|
|
2908
3043
|
]
|
|
2909
3044
|
}
|
|
2910
3045
|
),
|
|
2911
|
-
/* @__PURE__ */
|
|
2912
|
-
/* @__PURE__ */
|
|
3046
|
+
/* @__PURE__ */ jsx13(DropdownMenu3.Separator, { "data-testid": "sidebar-header-dropdown-separator-1" }),
|
|
3047
|
+
/* @__PURE__ */ jsx13(
|
|
2913
3048
|
DropdownMenu3.Item,
|
|
2914
3049
|
{
|
|
2915
3050
|
className: "gap-x-2",
|
|
2916
3051
|
asChild: true,
|
|
2917
3052
|
"data-testid": "sidebar-header-dropdown-store-settings",
|
|
2918
|
-
children: /* @__PURE__ */
|
|
2919
|
-
/* @__PURE__ */
|
|
3053
|
+
children: /* @__PURE__ */ jsxs9(Link3, { to: "/settings/marketplace", children: [
|
|
3054
|
+
/* @__PURE__ */ jsx13(BuildingStorefront, { className: "text-ui-fg-subtle" }),
|
|
2920
3055
|
t2("app.nav.main.marketplaceSettings")
|
|
2921
3056
|
] })
|
|
2922
3057
|
}
|
|
2923
3058
|
),
|
|
2924
|
-
/* @__PURE__ */
|
|
2925
|
-
/* @__PURE__ */
|
|
3059
|
+
/* @__PURE__ */ jsx13(DropdownMenu3.Separator, { "data-testid": "sidebar-header-dropdown-separator-2" }),
|
|
3060
|
+
/* @__PURE__ */ jsx13(Logout2, {})
|
|
2926
3061
|
]
|
|
2927
3062
|
}
|
|
2928
3063
|
)
|
|
@@ -2932,7 +3067,7 @@ var useCoreRoutes = () => {
|
|
|
2932
3067
|
const { t: t2 } = useTranslation9();
|
|
2933
3068
|
return [
|
|
2934
3069
|
{
|
|
2935
|
-
icon: /* @__PURE__ */
|
|
3070
|
+
icon: /* @__PURE__ */ jsx13(ShoppingCart, {}),
|
|
2936
3071
|
label: t2("orders.domain"),
|
|
2937
3072
|
to: "/orders",
|
|
2938
3073
|
items: [
|
|
@@ -2944,10 +3079,14 @@ var useCoreRoutes = () => {
|
|
|
2944
3079
|
]
|
|
2945
3080
|
},
|
|
2946
3081
|
{
|
|
2947
|
-
icon: /* @__PURE__ */
|
|
3082
|
+
icon: /* @__PURE__ */ jsx13(Tag, {}),
|
|
2948
3083
|
label: t2("products.domain"),
|
|
2949
3084
|
to: "/products",
|
|
2950
3085
|
items: [
|
|
3086
|
+
{
|
|
3087
|
+
label: t2("offers.domain"),
|
|
3088
|
+
to: "/offers"
|
|
3089
|
+
},
|
|
2951
3090
|
{
|
|
2952
3091
|
label: t2("collections.domain"),
|
|
2953
3092
|
to: "/collections"
|
|
@@ -2964,7 +3103,7 @@ var useCoreRoutes = () => {
|
|
|
2964
3103
|
]
|
|
2965
3104
|
},
|
|
2966
3105
|
{
|
|
2967
|
-
icon: /* @__PURE__ */
|
|
3106
|
+
icon: /* @__PURE__ */ jsx13(Buildings, {}),
|
|
2968
3107
|
label: t2("inventory.domain"),
|
|
2969
3108
|
to: "/inventory",
|
|
2970
3109
|
items: [
|
|
@@ -2975,7 +3114,7 @@ var useCoreRoutes = () => {
|
|
|
2975
3114
|
]
|
|
2976
3115
|
},
|
|
2977
3116
|
{
|
|
2978
|
-
icon: /* @__PURE__ */
|
|
3117
|
+
icon: /* @__PURE__ */ jsx13(Users, {}),
|
|
2979
3118
|
label: t2("customers.domain"),
|
|
2980
3119
|
to: "/customers",
|
|
2981
3120
|
items: [
|
|
@@ -2986,7 +3125,7 @@ var useCoreRoutes = () => {
|
|
|
2986
3125
|
]
|
|
2987
3126
|
},
|
|
2988
3127
|
{
|
|
2989
|
-
icon: /* @__PURE__ */
|
|
3128
|
+
icon: /* @__PURE__ */ jsx13(ReceiptPercent, {}),
|
|
2990
3129
|
label: t2("promotions.domain"),
|
|
2991
3130
|
to: "/promotions",
|
|
2992
3131
|
items: [
|
|
@@ -2997,17 +3136,17 @@ var useCoreRoutes = () => {
|
|
|
2997
3136
|
]
|
|
2998
3137
|
},
|
|
2999
3138
|
{
|
|
3000
|
-
icon: /* @__PURE__ */
|
|
3139
|
+
icon: /* @__PURE__ */ jsx13(CurrencyDollar, {}),
|
|
3001
3140
|
label: t2("priceLists.domain"),
|
|
3002
3141
|
to: "/price-lists"
|
|
3003
3142
|
},
|
|
3004
3143
|
{
|
|
3005
|
-
icon: /* @__PURE__ */
|
|
3144
|
+
icon: /* @__PURE__ */ jsx13(BuildingStorefront, {}),
|
|
3006
3145
|
label: t2("stores.domain"),
|
|
3007
3146
|
to: "/stores"
|
|
3008
3147
|
},
|
|
3009
3148
|
{
|
|
3010
|
-
icon: /* @__PURE__ */
|
|
3149
|
+
icon: /* @__PURE__ */ jsx13(CreditCardRefresh, {}),
|
|
3011
3150
|
label: t2("payouts.domain"),
|
|
3012
3151
|
to: "/payouts"
|
|
3013
3152
|
}
|
|
@@ -3016,7 +3155,7 @@ var useCoreRoutes = () => {
|
|
|
3016
3155
|
var Searchbar = () => {
|
|
3017
3156
|
const { t: t2 } = useTranslation9();
|
|
3018
3157
|
const { toggleSearch } = useSearch();
|
|
3019
|
-
return /* @__PURE__ */
|
|
3158
|
+
return /* @__PURE__ */ jsx13("div", { className: "px-3", "data-testid": "sidebar-search", children: /* @__PURE__ */ jsxs9(
|
|
3020
3159
|
"button",
|
|
3021
3160
|
{
|
|
3022
3161
|
onClick: toggleSearch,
|
|
@@ -3027,9 +3166,9 @@ var Searchbar = () => {
|
|
|
3027
3166
|
),
|
|
3028
3167
|
"data-testid": "sidebar-search-button",
|
|
3029
3168
|
children: [
|
|
3030
|
-
/* @__PURE__ */
|
|
3031
|
-
/* @__PURE__ */
|
|
3032
|
-
/* @__PURE__ */
|
|
3169
|
+
/* @__PURE__ */ jsx13(MagnifyingGlass2, {}),
|
|
3170
|
+
/* @__PURE__ */ jsx13("div", { className: "flex-1 text-start", children: /* @__PURE__ */ jsx13(Text7, { size: "small", leading: "compact", weight: "plus", children: t2("app.search.label") }) }),
|
|
3171
|
+
/* @__PURE__ */ jsx13(Text7, { size: "small", leading: "compact", className: "text-ui-fg-muted", children: "\u2318K" })
|
|
3033
3172
|
]
|
|
3034
3173
|
}
|
|
3035
3174
|
) });
|
|
@@ -3037,43 +3176,43 @@ var Searchbar = () => {
|
|
|
3037
3176
|
var UtilitySection = () => {
|
|
3038
3177
|
const location = useLocation7();
|
|
3039
3178
|
const { t: t2 } = useTranslation9();
|
|
3040
|
-
return /* @__PURE__ */
|
|
3179
|
+
return /* @__PURE__ */ jsx13("div", { className: "flex flex-col gap-y-0.5 py-3", children: /* @__PURE__ */ jsx13(
|
|
3041
3180
|
NavItem,
|
|
3042
3181
|
{
|
|
3043
3182
|
label: t2("app.nav.settings.header"),
|
|
3044
3183
|
to: "/settings",
|
|
3045
3184
|
from: location.pathname,
|
|
3046
|
-
icon: /* @__PURE__ */
|
|
3185
|
+
icon: /* @__PURE__ */ jsx13(CogSixTooth, {})
|
|
3047
3186
|
}
|
|
3048
3187
|
) });
|
|
3049
3188
|
};
|
|
3050
3189
|
var UserSection = () => {
|
|
3051
|
-
return /* @__PURE__ */
|
|
3052
|
-
/* @__PURE__ */
|
|
3053
|
-
/* @__PURE__ */
|
|
3190
|
+
return /* @__PURE__ */ jsxs9("div", { children: [
|
|
3191
|
+
/* @__PURE__ */ jsx13("div", { className: "px-3", children: /* @__PURE__ */ jsx13(Divider, { variant: "dashed" }) }),
|
|
3192
|
+
/* @__PURE__ */ jsx13(UserMenu, {})
|
|
3054
3193
|
] });
|
|
3055
3194
|
};
|
|
3056
3195
|
|
|
3057
3196
|
// src/components/layout/public-layout/public-layout.tsx
|
|
3058
3197
|
import { Outlet as Outlet3 } from "react-router-dom";
|
|
3059
|
-
import { jsx as
|
|
3198
|
+
import { jsx as jsx14 } from "react/jsx-runtime";
|
|
3060
3199
|
var PublicLayout = () => {
|
|
3061
|
-
return /* @__PURE__ */
|
|
3200
|
+
return /* @__PURE__ */ jsx14(Outlet3, {});
|
|
3062
3201
|
};
|
|
3063
3202
|
|
|
3064
3203
|
// src/components/layout/settings-layout/settings-layout.tsx
|
|
3065
3204
|
import { useEffect as useEffect10, useMemo as useMemo4, useState as useState12 } from "react";
|
|
3066
3205
|
import { ArrowUturnLeft as ArrowUturnLeft2, MinusMini } from "@medusajs/icons";
|
|
3067
|
-
import { Divider as Divider2, IconButton as
|
|
3206
|
+
import { Divider as Divider2, IconButton as IconButton6, Text as Text8, clx as clx7 } from "@medusajs/ui";
|
|
3068
3207
|
import { Collapsible as RadixCollapsible2 } from "radix-ui";
|
|
3069
3208
|
import { useTranslation as useTranslation10 } from "react-i18next";
|
|
3070
3209
|
import { Link as Link4, useLocation as useLocation8 } from "react-router-dom";
|
|
3071
3210
|
import components2 from "virtual:mercur/components";
|
|
3072
3211
|
import menuItemsModule2 from "virtual:mercur/menu-items";
|
|
3073
|
-
import { jsx as
|
|
3212
|
+
import { jsx as jsx15, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
3074
3213
|
var SettingsLayout = () => {
|
|
3075
3214
|
const Sidebar = components2.SettingsSidebar ? components2.SettingsSidebar : SettingsSidebar;
|
|
3076
|
-
return /* @__PURE__ */
|
|
3215
|
+
return /* @__PURE__ */ jsx15(Shell, { children: /* @__PURE__ */ jsx15(Sidebar, {}) });
|
|
3077
3216
|
};
|
|
3078
3217
|
var allMenuItems2 = menuItemsModule2.menuItems ?? [];
|
|
3079
3218
|
var customSettingsItems = getMenuItemsByType(allMenuItems2, "settings");
|
|
@@ -3118,6 +3257,10 @@ var useSettingRoutes = () => {
|
|
|
3118
3257
|
label: t2("productTypes.domain"),
|
|
3119
3258
|
to: "/settings/product-types"
|
|
3120
3259
|
},
|
|
3260
|
+
{
|
|
3261
|
+
label: t2("productBrands.domain"),
|
|
3262
|
+
to: "/settings/product-brands"
|
|
3263
|
+
},
|
|
3121
3264
|
{
|
|
3122
3265
|
label: t2("productTags.domain"),
|
|
3123
3266
|
to: "/settings/product-tags"
|
|
@@ -3178,30 +3321,30 @@ var SettingsSidebar = () => {
|
|
|
3178
3321
|
const developerRoutes = useDeveloperRoutes();
|
|
3179
3322
|
const myAccountRoutes = useMyAccountRoutes();
|
|
3180
3323
|
const { t: t2 } = useTranslation10();
|
|
3181
|
-
return /* @__PURE__ */
|
|
3182
|
-
/* @__PURE__ */
|
|
3183
|
-
/* @__PURE__ */
|
|
3184
|
-
/* @__PURE__ */
|
|
3324
|
+
return /* @__PURE__ */ jsxs10("aside", { className: "relative flex flex-1 flex-col justify-between overflow-y-auto", children: [
|
|
3325
|
+
/* @__PURE__ */ jsxs10("div", { className: "sticky top-0 bg-ui-bg-subtle", children: [
|
|
3326
|
+
/* @__PURE__ */ jsx15(Header2, {}),
|
|
3327
|
+
/* @__PURE__ */ jsx15("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx15(Divider2, { variant: "dashed" }) })
|
|
3185
3328
|
] }),
|
|
3186
|
-
/* @__PURE__ */
|
|
3187
|
-
/* @__PURE__ */
|
|
3188
|
-
/* @__PURE__ */
|
|
3329
|
+
/* @__PURE__ */ jsxs10("div", { className: "flex flex-1 flex-col", children: [
|
|
3330
|
+
/* @__PURE__ */ jsxs10("div", { className: "flex flex-1 flex-col overflow-y-auto", children: [
|
|
3331
|
+
/* @__PURE__ */ jsx15(
|
|
3189
3332
|
RadixCollapsibleSection,
|
|
3190
3333
|
{
|
|
3191
3334
|
label: t2("app.nav.settings.general"),
|
|
3192
3335
|
items: routes
|
|
3193
3336
|
}
|
|
3194
3337
|
),
|
|
3195
|
-
/* @__PURE__ */
|
|
3196
|
-
/* @__PURE__ */
|
|
3338
|
+
/* @__PURE__ */ jsx15("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx15(Divider2, { variant: "dashed" }) }),
|
|
3339
|
+
/* @__PURE__ */ jsx15(
|
|
3197
3340
|
RadixCollapsibleSection,
|
|
3198
3341
|
{
|
|
3199
3342
|
label: t2("app.nav.settings.developer"),
|
|
3200
3343
|
items: developerRoutes
|
|
3201
3344
|
}
|
|
3202
3345
|
),
|
|
3203
|
-
/* @__PURE__ */
|
|
3204
|
-
/* @__PURE__ */
|
|
3346
|
+
/* @__PURE__ */ jsx15("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx15(Divider2, { variant: "dashed" }) }),
|
|
3347
|
+
/* @__PURE__ */ jsx15(
|
|
3205
3348
|
RadixCollapsibleSection,
|
|
3206
3349
|
{
|
|
3207
3350
|
label: t2("app.nav.settings.myAccount"),
|
|
@@ -3209,7 +3352,7 @@ var SettingsSidebar = () => {
|
|
|
3209
3352
|
}
|
|
3210
3353
|
)
|
|
3211
3354
|
] }),
|
|
3212
|
-
/* @__PURE__ */
|
|
3355
|
+
/* @__PURE__ */ jsx15("div", { className: "sticky bottom-0 bg-ui-bg-subtle", children: /* @__PURE__ */ jsx15(UserSection2, {}) })
|
|
3213
3356
|
] })
|
|
3214
3357
|
] });
|
|
3215
3358
|
};
|
|
@@ -3222,7 +3365,7 @@ var Header2 = () => {
|
|
|
3222
3365
|
setFrom(getSafeFromValue(location.state.from));
|
|
3223
3366
|
}
|
|
3224
3367
|
}, [location]);
|
|
3225
|
-
return /* @__PURE__ */
|
|
3368
|
+
return /* @__PURE__ */ jsx15("div", { className: "bg-ui-bg-subtle p-3", children: /* @__PURE__ */ jsx15(
|
|
3226
3369
|
Link4,
|
|
3227
3370
|
{
|
|
3228
3371
|
to: from,
|
|
@@ -3232,9 +3375,9 @@ var Header2 = () => {
|
|
|
3232
3375
|
"hover:bg-ui-bg-subtle-hover",
|
|
3233
3376
|
"focus-visible:shadow-borders-focus"
|
|
3234
3377
|
),
|
|
3235
|
-
children: /* @__PURE__ */
|
|
3236
|
-
/* @__PURE__ */
|
|
3237
|
-
/* @__PURE__ */
|
|
3378
|
+
children: /* @__PURE__ */ jsxs10("div", { className: "flex items-center gap-x-2.5 px-2 py-1", children: [
|
|
3379
|
+
/* @__PURE__ */ jsx15("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx15(ArrowUturnLeft2, { className: "text-ui-fg-subtle" }) }),
|
|
3380
|
+
/* @__PURE__ */ jsx15(Text8, { leading: "compact", weight: "plus", size: "small", children: t2("app.nav.settings.header") })
|
|
3238
3381
|
] })
|
|
3239
3382
|
}
|
|
3240
3383
|
) });
|
|
@@ -3243,23 +3386,23 @@ var RadixCollapsibleSection = ({
|
|
|
3243
3386
|
label,
|
|
3244
3387
|
items
|
|
3245
3388
|
}) => {
|
|
3246
|
-
return /* @__PURE__ */
|
|
3247
|
-
/* @__PURE__ */
|
|
3248
|
-
/* @__PURE__ */
|
|
3249
|
-
/* @__PURE__ */
|
|
3389
|
+
return /* @__PURE__ */ jsxs10(RadixCollapsible2.Root, { defaultOpen: true, className: "py-3", children: [
|
|
3390
|
+
/* @__PURE__ */ jsx15("div", { className: "px-3", children: /* @__PURE__ */ jsxs10("div", { className: "flex h-7 items-center justify-between px-2 text-ui-fg-muted", children: [
|
|
3391
|
+
/* @__PURE__ */ jsx15(Text8, { size: "small", leading: "compact", children: label }),
|
|
3392
|
+
/* @__PURE__ */ jsx15(RadixCollapsible2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx15(IconButton6, { size: "2xsmall", variant: "transparent", className: "static", children: /* @__PURE__ */ jsx15(MinusMini, { className: "text-ui-fg-muted" }) }) })
|
|
3250
3393
|
] }) }),
|
|
3251
|
-
/* @__PURE__ */
|
|
3394
|
+
/* @__PURE__ */ jsx15(RadixCollapsible2.Content, { children: /* @__PURE__ */ jsx15("div", { className: "pt-0.5", children: /* @__PURE__ */ jsx15("nav", { className: "flex flex-col gap-y-0.5", children: items.map((setting) => /* @__PURE__ */ jsx15(NavItem, { type: "setting", ...setting }, setting.to)) }) }) })
|
|
3252
3395
|
] });
|
|
3253
3396
|
};
|
|
3254
3397
|
var UserSection2 = () => {
|
|
3255
|
-
return /* @__PURE__ */
|
|
3256
|
-
/* @__PURE__ */
|
|
3257
|
-
/* @__PURE__ */
|
|
3398
|
+
return /* @__PURE__ */ jsxs10("div", { children: [
|
|
3399
|
+
/* @__PURE__ */ jsx15("div", { className: "px-3", children: /* @__PURE__ */ jsx15(Divider2, { variant: "dashed" }) }),
|
|
3400
|
+
/* @__PURE__ */ jsx15(UserMenu, {})
|
|
3258
3401
|
] });
|
|
3259
3402
|
};
|
|
3260
3403
|
|
|
3261
3404
|
// src/get-route-map.tsx
|
|
3262
|
-
import { jsx as
|
|
3405
|
+
import { jsx as jsx16 } from "react/jsx-runtime";
|
|
3263
3406
|
function mergeRoutes(baseRoutes, customRoutes2) {
|
|
3264
3407
|
const result = baseRoutes.map((route) => ({ ...route }));
|
|
3265
3408
|
for (const customRoute of customRoutes2) {
|
|
@@ -3288,147 +3431,151 @@ function getRouteMap({
|
|
|
3288
3431
|
}) {
|
|
3289
3432
|
return [
|
|
3290
3433
|
{
|
|
3291
|
-
element: /* @__PURE__ */
|
|
3292
|
-
errorElement: /* @__PURE__ */
|
|
3434
|
+
element: /* @__PURE__ */ jsx16(ProtectedRoute, {}),
|
|
3435
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
3293
3436
|
children: [
|
|
3294
3437
|
{
|
|
3295
|
-
element: /* @__PURE__ */
|
|
3438
|
+
element: /* @__PURE__ */ jsx16(MainLayout, {}),
|
|
3296
3439
|
children: mergeRoutes(
|
|
3297
3440
|
[
|
|
3298
3441
|
{
|
|
3299
3442
|
path: "/",
|
|
3300
|
-
errorElement: /* @__PURE__ */
|
|
3443
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
3301
3444
|
lazy: () => import("./home-I3OILW5Z.js")
|
|
3302
3445
|
},
|
|
3303
3446
|
{
|
|
3304
3447
|
path: "/products",
|
|
3305
|
-
errorElement: /* @__PURE__ */
|
|
3448
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
3306
3449
|
handle: {
|
|
3307
3450
|
breadcrumb: () => t("products.domain")
|
|
3308
3451
|
},
|
|
3309
3452
|
children: [
|
|
3310
3453
|
{
|
|
3311
3454
|
path: "",
|
|
3312
|
-
lazy: () => import("./product-list-
|
|
3455
|
+
lazy: () => import("./product-list-2CTGPDDT.js"),
|
|
3313
3456
|
children: [
|
|
3314
3457
|
{
|
|
3315
3458
|
path: "create",
|
|
3316
|
-
lazy: () => import("./product-create-
|
|
3317
|
-
},
|
|
3318
|
-
{
|
|
3319
|
-
path: "import",
|
|
3320
|
-
lazy: () => import("./product-import-JB7S4EL6.js")
|
|
3459
|
+
lazy: () => import("./product-create-KHJWRSUB.js")
|
|
3321
3460
|
},
|
|
3322
3461
|
{
|
|
3323
|
-
path: "
|
|
3324
|
-
lazy: () => import("./product-
|
|
3462
|
+
path: "bulk-edit",
|
|
3463
|
+
lazy: () => import("./product-bulk-edit-J6ZP7GGM.js")
|
|
3325
3464
|
}
|
|
3326
3465
|
]
|
|
3327
3466
|
},
|
|
3328
3467
|
{
|
|
3329
3468
|
path: ":id",
|
|
3330
|
-
errorElement: /* @__PURE__ */
|
|
3469
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
3331
3470
|
lazy: async () => {
|
|
3332
|
-
const { Breadcrumb, loader } = await import("./product-detail-
|
|
3471
|
+
const { Breadcrumb, loader } = await import("./product-detail-GLISGO65.js");
|
|
3333
3472
|
return {
|
|
3334
3473
|
Component: Outlet4,
|
|
3335
3474
|
loader,
|
|
3336
3475
|
handle: {
|
|
3337
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3476
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
3338
3477
|
}
|
|
3339
3478
|
};
|
|
3340
3479
|
},
|
|
3341
3480
|
children: [
|
|
3342
3481
|
{
|
|
3343
3482
|
path: "",
|
|
3344
|
-
lazy: () => import("./product-detail-
|
|
3483
|
+
lazy: () => import("./product-detail-GLISGO65.js"),
|
|
3345
3484
|
children: [
|
|
3346
3485
|
{
|
|
3347
3486
|
path: "edit",
|
|
3348
|
-
lazy: () => import("./product-edit-
|
|
3487
|
+
lazy: () => import("./product-edit-EKAZRIJ6.js")
|
|
3349
3488
|
},
|
|
3350
3489
|
{
|
|
3351
3490
|
path: "edit-variant",
|
|
3352
|
-
lazy: () => import("./product-variant-edit-
|
|
3491
|
+
lazy: () => import("./product-variant-edit-6W7LKCEE.js")
|
|
3353
3492
|
},
|
|
3354
3493
|
{
|
|
3355
3494
|
path: "sales-channels",
|
|
3356
|
-
lazy: () => import("./product-sales-channels-
|
|
3495
|
+
lazy: () => import("./product-sales-channels-TFOGXCMI.js")
|
|
3357
3496
|
},
|
|
3358
3497
|
{
|
|
3359
3498
|
path: "attributes",
|
|
3360
|
-
lazy: () => import("./product-attributes-
|
|
3499
|
+
lazy: () => import("./product-attributes-MHRXZK5S.js")
|
|
3500
|
+
},
|
|
3501
|
+
{
|
|
3502
|
+
path: "attributes/create",
|
|
3503
|
+
lazy: () => import("./product-create-attribute-ZT3VZDNZ.js")
|
|
3504
|
+
},
|
|
3505
|
+
{
|
|
3506
|
+
path: "attributes/add",
|
|
3507
|
+
lazy: () => import("./product-add-existing-attributes-7HEJUR6J.js")
|
|
3361
3508
|
},
|
|
3362
3509
|
{
|
|
3363
3510
|
path: "organization",
|
|
3364
|
-
lazy: () => import("./product-organization-
|
|
3511
|
+
lazy: () => import("./product-organization-SBQY44IF.js")
|
|
3365
3512
|
},
|
|
3366
3513
|
{
|
|
3367
3514
|
path: "shipping-profile",
|
|
3368
|
-
lazy: () => import("./product-shipping-profile-
|
|
3515
|
+
lazy: () => import("./product-shipping-profile-E4HJ4EYW.js")
|
|
3369
3516
|
},
|
|
3370
3517
|
{
|
|
3371
3518
|
path: "media",
|
|
3372
|
-
lazy: () => import("./product-media-
|
|
3519
|
+
lazy: () => import("./product-media-KREKRDOC.js")
|
|
3373
3520
|
},
|
|
3374
3521
|
{
|
|
3375
3522
|
path: "prices",
|
|
3376
|
-
lazy: () => import("./product-prices-
|
|
3523
|
+
lazy: () => import("./product-prices-R5JOHVGS.js")
|
|
3377
3524
|
},
|
|
3378
3525
|
{
|
|
3379
3526
|
path: "options/create",
|
|
3380
|
-
lazy: () => import("./product-create-option-
|
|
3527
|
+
lazy: () => import("./product-create-option-NIAP75EE.js")
|
|
3381
3528
|
},
|
|
3382
3529
|
{
|
|
3383
3530
|
path: "options/:option_id/edit",
|
|
3384
|
-
lazy: () => import("./product-edit-option-
|
|
3531
|
+
lazy: () => import("./product-edit-option-OZUZGMIM.js")
|
|
3385
3532
|
},
|
|
3386
3533
|
{
|
|
3387
3534
|
path: "variants/create",
|
|
3388
|
-
lazy: () => import("./product-create-variant-
|
|
3535
|
+
lazy: () => import("./product-create-variant-LCE47YFO.js")
|
|
3389
3536
|
},
|
|
3390
3537
|
{
|
|
3391
3538
|
path: "stock",
|
|
3392
|
-
lazy: () => import("./product-stock-
|
|
3539
|
+
lazy: () => import("./product-stock-EIP2XJUR.js")
|
|
3393
3540
|
},
|
|
3394
3541
|
{
|
|
3395
3542
|
path: "metadata/edit",
|
|
3396
|
-
lazy: () => import("./product-metadata-
|
|
3543
|
+
lazy: () => import("./product-metadata-O3BAEUYB.js")
|
|
3397
3544
|
}
|
|
3398
3545
|
]
|
|
3399
3546
|
},
|
|
3400
3547
|
{
|
|
3401
3548
|
path: "variants/:variant_id",
|
|
3402
3549
|
lazy: async () => {
|
|
3403
|
-
const { Breadcrumb, loader } = await import("./product-variant-detail-
|
|
3550
|
+
const { Breadcrumb, loader } = await import("./product-variant-detail-H2YRFDAU.js");
|
|
3404
3551
|
return {
|
|
3405
3552
|
Component: Outlet4,
|
|
3406
3553
|
loader,
|
|
3407
3554
|
handle: {
|
|
3408
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3555
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
3409
3556
|
}
|
|
3410
3557
|
};
|
|
3411
3558
|
},
|
|
3412
3559
|
children: [
|
|
3413
3560
|
{
|
|
3414
3561
|
path: "",
|
|
3415
|
-
lazy: () => import("./product-variant-detail-
|
|
3562
|
+
lazy: () => import("./product-variant-detail-H2YRFDAU.js"),
|
|
3416
3563
|
children: [
|
|
3417
3564
|
{
|
|
3418
3565
|
path: "edit",
|
|
3419
|
-
lazy: () => import("./product-variant-edit-
|
|
3566
|
+
lazy: () => import("./product-variant-edit-6W7LKCEE.js")
|
|
3420
3567
|
},
|
|
3421
3568
|
{
|
|
3422
3569
|
path: "prices",
|
|
3423
|
-
lazy: () => import("./product-prices-
|
|
3570
|
+
lazy: () => import("./product-prices-R5JOHVGS.js")
|
|
3424
3571
|
},
|
|
3425
3572
|
{
|
|
3426
3573
|
path: "manage-items",
|
|
3427
|
-
lazy: () => import("./product-variant-manage-inventory-items-
|
|
3574
|
+
lazy: () => import("./product-variant-manage-inventory-items-Q5MJG3EJ.js")
|
|
3428
3575
|
},
|
|
3429
3576
|
{
|
|
3430
3577
|
path: "metadata/edit",
|
|
3431
|
-
lazy: () => import("./product-variant-metadata-
|
|
3578
|
+
lazy: () => import("./product-variant-metadata-QESZ7VS2.js")
|
|
3432
3579
|
}
|
|
3433
3580
|
]
|
|
3434
3581
|
}
|
|
@@ -3440,57 +3587,57 @@ function getRouteMap({
|
|
|
3440
3587
|
},
|
|
3441
3588
|
{
|
|
3442
3589
|
path: "/categories",
|
|
3443
|
-
errorElement: /* @__PURE__ */
|
|
3590
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
3444
3591
|
handle: {
|
|
3445
3592
|
breadcrumb: () => t("categories.domain")
|
|
3446
3593
|
},
|
|
3447
3594
|
children: [
|
|
3448
3595
|
{
|
|
3449
3596
|
path: "",
|
|
3450
|
-
lazy: () => import("./category-list-
|
|
3597
|
+
lazy: () => import("./category-list-U7ZQBSZN.js"),
|
|
3451
3598
|
children: [
|
|
3452
3599
|
{
|
|
3453
3600
|
path: "create",
|
|
3454
|
-
lazy: () => import("./category-create-
|
|
3601
|
+
lazy: () => import("./category-create-2MRYTSYM.js")
|
|
3455
3602
|
},
|
|
3456
3603
|
{
|
|
3457
3604
|
path: "organize",
|
|
3458
|
-
lazy: () => import("./category-organize-
|
|
3605
|
+
lazy: () => import("./category-organize-TIKTYJFZ.js")
|
|
3459
3606
|
}
|
|
3460
3607
|
]
|
|
3461
3608
|
},
|
|
3462
3609
|
{
|
|
3463
3610
|
path: ":id",
|
|
3464
3611
|
lazy: async () => {
|
|
3465
|
-
const { Breadcrumb, loader } = await import("./category-detail-
|
|
3612
|
+
const { Breadcrumb, loader } = await import("./category-detail-KTFD3VVR.js");
|
|
3466
3613
|
return {
|
|
3467
3614
|
Component: Outlet4,
|
|
3468
3615
|
loader,
|
|
3469
3616
|
handle: {
|
|
3470
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3617
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
3471
3618
|
}
|
|
3472
3619
|
};
|
|
3473
3620
|
},
|
|
3474
3621
|
children: [
|
|
3475
3622
|
{
|
|
3476
3623
|
path: "",
|
|
3477
|
-
lazy: () => import("./category-detail-
|
|
3624
|
+
lazy: () => import("./category-detail-KTFD3VVR.js"),
|
|
3478
3625
|
children: [
|
|
3479
3626
|
{
|
|
3480
3627
|
path: "edit",
|
|
3481
|
-
lazy: () => import("./category-edit-
|
|
3628
|
+
lazy: () => import("./category-edit-QLOS2LBA.js")
|
|
3482
3629
|
},
|
|
3483
3630
|
{
|
|
3484
3631
|
path: "products",
|
|
3485
|
-
lazy: () => import("./category-products-
|
|
3632
|
+
lazy: () => import("./category-products-7P5DSQN4.js")
|
|
3486
3633
|
},
|
|
3487
3634
|
{
|
|
3488
3635
|
path: "organize",
|
|
3489
|
-
lazy: () => import("./category-organize-
|
|
3636
|
+
lazy: () => import("./category-organize-TIKTYJFZ.js")
|
|
3490
3637
|
},
|
|
3491
3638
|
{
|
|
3492
3639
|
path: "metadata/edit",
|
|
3493
|
-
lazy: () => import("./categories-metadata-
|
|
3640
|
+
lazy: () => import("./categories-metadata-YZUP43OH.js")
|
|
3494
3641
|
}
|
|
3495
3642
|
]
|
|
3496
3643
|
}
|
|
@@ -3500,87 +3647,87 @@ function getRouteMap({
|
|
|
3500
3647
|
},
|
|
3501
3648
|
{
|
|
3502
3649
|
path: "/orders",
|
|
3503
|
-
errorElement: /* @__PURE__ */
|
|
3650
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
3504
3651
|
handle: {
|
|
3505
3652
|
breadcrumb: () => t("orders.domain")
|
|
3506
3653
|
},
|
|
3507
3654
|
children: [
|
|
3508
3655
|
{
|
|
3509
3656
|
path: "",
|
|
3510
|
-
lazy: () => import("./order-list-
|
|
3657
|
+
lazy: () => import("./order-list-DQTMCEFD.js")
|
|
3511
3658
|
},
|
|
3512
3659
|
{
|
|
3513
3660
|
path: ":id",
|
|
3514
3661
|
lazy: async () => {
|
|
3515
|
-
const { Breadcrumb, loader } = await import("./order-detail-
|
|
3662
|
+
const { Breadcrumb, loader } = await import("./order-detail-2OAEGBQG.js");
|
|
3516
3663
|
return {
|
|
3517
3664
|
Component: Outlet4,
|
|
3518
3665
|
loader,
|
|
3519
3666
|
handle: {
|
|
3520
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3667
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
3521
3668
|
}
|
|
3522
3669
|
};
|
|
3523
3670
|
},
|
|
3524
3671
|
children: [
|
|
3525
3672
|
{
|
|
3526
3673
|
path: "",
|
|
3527
|
-
lazy: () => import("./order-detail-
|
|
3674
|
+
lazy: () => import("./order-detail-2OAEGBQG.js"),
|
|
3528
3675
|
children: [
|
|
3529
3676
|
{
|
|
3530
3677
|
path: "fulfillment",
|
|
3531
|
-
lazy: () => import("./order-create-fulfillment-
|
|
3678
|
+
lazy: () => import("./order-create-fulfillment-SMSUJSBN.js")
|
|
3532
3679
|
},
|
|
3533
3680
|
{
|
|
3534
3681
|
path: "returns/:return_id/receive",
|
|
3535
|
-
lazy: () => import("./order-receive-return-
|
|
3682
|
+
lazy: () => import("./order-receive-return-DZ4IUOHY.js")
|
|
3536
3683
|
},
|
|
3537
3684
|
{
|
|
3538
3685
|
path: "allocate-items",
|
|
3539
|
-
lazy: () => import("./order-allocate-items-
|
|
3686
|
+
lazy: () => import("./order-allocate-items-DJ2V4B7A.js")
|
|
3540
3687
|
},
|
|
3541
3688
|
{
|
|
3542
3689
|
path: ":f_id/create-shipment",
|
|
3543
|
-
lazy: () => import("./order-create-shipment-
|
|
3690
|
+
lazy: () => import("./order-create-shipment-5ZAWH5CZ.js")
|
|
3544
3691
|
},
|
|
3545
3692
|
{
|
|
3546
3693
|
path: "returns",
|
|
3547
|
-
lazy: () => import("./order-create-return-
|
|
3694
|
+
lazy: () => import("./order-create-return-YCX6C3VP.js")
|
|
3548
3695
|
},
|
|
3549
3696
|
{
|
|
3550
3697
|
path: "claims",
|
|
3551
|
-
lazy: () => import("./order-create-claim-
|
|
3698
|
+
lazy: () => import("./order-create-claim-RMDDCUZ6.js")
|
|
3552
3699
|
},
|
|
3553
3700
|
{
|
|
3554
3701
|
path: "exchanges",
|
|
3555
|
-
lazy: () => import("./order-create-exchange-
|
|
3702
|
+
lazy: () => import("./order-create-exchange-T6DBVS75.js")
|
|
3556
3703
|
},
|
|
3557
3704
|
{
|
|
3558
3705
|
path: "edits",
|
|
3559
|
-
lazy: () => import("./order-create-edit-
|
|
3706
|
+
lazy: () => import("./order-create-edit-PQ54JFZZ.js")
|
|
3560
3707
|
},
|
|
3561
3708
|
{
|
|
3562
3709
|
path: "refund",
|
|
3563
|
-
lazy: () => import("./order-create-refund-
|
|
3710
|
+
lazy: () => import("./order-create-refund-OW3MIXBY.js")
|
|
3564
3711
|
},
|
|
3565
3712
|
{
|
|
3566
3713
|
path: "transfer",
|
|
3567
|
-
lazy: () => import("./order-request-transfer-
|
|
3714
|
+
lazy: () => import("./order-request-transfer-A2NJSQ4H.js")
|
|
3568
3715
|
},
|
|
3569
3716
|
{
|
|
3570
3717
|
path: "email",
|
|
3571
|
-
lazy: () => import("./order-edit-email-
|
|
3718
|
+
lazy: () => import("./order-edit-email-OOCXVRET.js")
|
|
3572
3719
|
},
|
|
3573
3720
|
{
|
|
3574
3721
|
path: "shipping-address",
|
|
3575
|
-
lazy: () => import("./order-edit-shipping-address-
|
|
3722
|
+
lazy: () => import("./order-edit-shipping-address-B4F3E5RE.js")
|
|
3576
3723
|
},
|
|
3577
3724
|
{
|
|
3578
3725
|
path: "billing-address",
|
|
3579
|
-
lazy: () => import("./order-edit-billing-address-
|
|
3726
|
+
lazy: () => import("./order-edit-billing-address-VGZBQHF5.js")
|
|
3580
3727
|
},
|
|
3581
3728
|
{
|
|
3582
3729
|
path: "metadata/edit",
|
|
3583
|
-
lazy: () => import("./order-metadata-
|
|
3730
|
+
lazy: () => import("./order-metadata-AN6MPHHT.js")
|
|
3584
3731
|
}
|
|
3585
3732
|
]
|
|
3586
3733
|
}
|
|
@@ -3590,47 +3737,47 @@ function getRouteMap({
|
|
|
3590
3737
|
},
|
|
3591
3738
|
{
|
|
3592
3739
|
path: "/promotions",
|
|
3593
|
-
errorElement: /* @__PURE__ */
|
|
3740
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
3594
3741
|
handle: {
|
|
3595
3742
|
breadcrumb: () => t("promotions.domain")
|
|
3596
3743
|
},
|
|
3597
3744
|
children: [
|
|
3598
3745
|
{
|
|
3599
3746
|
path: "",
|
|
3600
|
-
lazy: () => import("./promotion-list-
|
|
3747
|
+
lazy: () => import("./promotion-list-C3SKV5BJ.js")
|
|
3601
3748
|
},
|
|
3602
3749
|
{
|
|
3603
3750
|
path: "create",
|
|
3604
|
-
lazy: () => import("./promotion-create-
|
|
3751
|
+
lazy: () => import("./promotion-create-TGC6BVWF.js")
|
|
3605
3752
|
},
|
|
3606
3753
|
{
|
|
3607
3754
|
path: ":id",
|
|
3608
3755
|
lazy: async () => {
|
|
3609
|
-
const { Breadcrumb, loader } = await import("./promotion-detail-
|
|
3756
|
+
const { Breadcrumb, loader } = await import("./promotion-detail-VYIXZMMD.js");
|
|
3610
3757
|
return {
|
|
3611
3758
|
Component: Outlet4,
|
|
3612
3759
|
loader,
|
|
3613
3760
|
handle: {
|
|
3614
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3761
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
3615
3762
|
}
|
|
3616
3763
|
};
|
|
3617
3764
|
},
|
|
3618
3765
|
children: [
|
|
3619
3766
|
{
|
|
3620
3767
|
path: "",
|
|
3621
|
-
lazy: () => import("./promotion-detail-
|
|
3768
|
+
lazy: () => import("./promotion-detail-VYIXZMMD.js"),
|
|
3622
3769
|
children: [
|
|
3623
3770
|
{
|
|
3624
3771
|
path: "edit",
|
|
3625
|
-
lazy: () => import("./promotion-edit-details-
|
|
3772
|
+
lazy: () => import("./promotion-edit-details-TKRC5HES.js")
|
|
3626
3773
|
},
|
|
3627
3774
|
{
|
|
3628
3775
|
path: "add-to-campaign",
|
|
3629
|
-
lazy: () => import("./promotion-add-campaign-
|
|
3776
|
+
lazy: () => import("./promotion-add-campaign-O3RTMS3W.js")
|
|
3630
3777
|
},
|
|
3631
3778
|
{
|
|
3632
3779
|
path: ":ruleType/edit",
|
|
3633
|
-
lazy: () => import("./edit-rules-
|
|
3780
|
+
lazy: () => import("./edit-rules-YMKM5JPI.js")
|
|
3634
3781
|
}
|
|
3635
3782
|
]
|
|
3636
3783
|
}
|
|
@@ -3640,36 +3787,36 @@ function getRouteMap({
|
|
|
3640
3787
|
},
|
|
3641
3788
|
{
|
|
3642
3789
|
path: "/campaigns",
|
|
3643
|
-
errorElement: /* @__PURE__ */
|
|
3790
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
3644
3791
|
handle: {
|
|
3645
3792
|
breadcrumb: () => t("campaigns.domain")
|
|
3646
3793
|
},
|
|
3647
3794
|
children: [
|
|
3648
3795
|
{
|
|
3649
3796
|
path: "",
|
|
3650
|
-
lazy: () => import("./campaign-list-
|
|
3797
|
+
lazy: () => import("./campaign-list-NQGNOFVZ.js"),
|
|
3651
3798
|
children: []
|
|
3652
3799
|
},
|
|
3653
3800
|
{
|
|
3654
3801
|
path: "create",
|
|
3655
|
-
lazy: () => import("./campaign-create-
|
|
3802
|
+
lazy: () => import("./campaign-create-VFFIIRE4.js")
|
|
3656
3803
|
},
|
|
3657
3804
|
{
|
|
3658
3805
|
path: ":id",
|
|
3659
3806
|
lazy: async () => {
|
|
3660
|
-
const { Breadcrumb, loader } = await import("./campaign-detail-
|
|
3807
|
+
const { Breadcrumb, loader } = await import("./campaign-detail-AZKBPDLC.js");
|
|
3661
3808
|
return {
|
|
3662
3809
|
Component: Outlet4,
|
|
3663
3810
|
loader,
|
|
3664
3811
|
handle: {
|
|
3665
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3812
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
3666
3813
|
}
|
|
3667
3814
|
};
|
|
3668
3815
|
},
|
|
3669
3816
|
children: [
|
|
3670
3817
|
{
|
|
3671
3818
|
path: "",
|
|
3672
|
-
lazy: () => import("./campaign-detail-
|
|
3819
|
+
lazy: () => import("./campaign-detail-AZKBPDLC.js"),
|
|
3673
3820
|
children: [
|
|
3674
3821
|
{
|
|
3675
3822
|
path: "edit",
|
|
@@ -3685,7 +3832,7 @@ function getRouteMap({
|
|
|
3685
3832
|
},
|
|
3686
3833
|
{
|
|
3687
3834
|
path: "add-promotions",
|
|
3688
|
-
lazy: () => import("./add-campaign-promotions-
|
|
3835
|
+
lazy: () => import("./add-campaign-promotions-OLNTDP26.js")
|
|
3689
3836
|
}
|
|
3690
3837
|
]
|
|
3691
3838
|
}
|
|
@@ -3695,49 +3842,49 @@ function getRouteMap({
|
|
|
3695
3842
|
},
|
|
3696
3843
|
{
|
|
3697
3844
|
path: "/collections",
|
|
3698
|
-
errorElement: /* @__PURE__ */
|
|
3845
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
3699
3846
|
handle: {
|
|
3700
3847
|
breadcrumb: () => t("collections.domain")
|
|
3701
3848
|
},
|
|
3702
3849
|
children: [
|
|
3703
3850
|
{
|
|
3704
3851
|
path: "",
|
|
3705
|
-
lazy: () => import("./collection-list-
|
|
3852
|
+
lazy: () => import("./collection-list-NGCW7OTG.js"),
|
|
3706
3853
|
children: [
|
|
3707
3854
|
{
|
|
3708
3855
|
path: "create",
|
|
3709
|
-
lazy: () => import("./collection-create-
|
|
3856
|
+
lazy: () => import("./collection-create-HUNYHKUJ.js")
|
|
3710
3857
|
}
|
|
3711
3858
|
]
|
|
3712
3859
|
},
|
|
3713
3860
|
{
|
|
3714
3861
|
path: ":id",
|
|
3715
3862
|
lazy: async () => {
|
|
3716
|
-
const { Breadcrumb, loader } = await import("./collection-detail-
|
|
3863
|
+
const { Breadcrumb, loader } = await import("./collection-detail-2DSZVOI7.js");
|
|
3717
3864
|
return {
|
|
3718
3865
|
Component: Outlet4,
|
|
3719
3866
|
loader,
|
|
3720
3867
|
handle: {
|
|
3721
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3868
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
3722
3869
|
}
|
|
3723
3870
|
};
|
|
3724
3871
|
},
|
|
3725
3872
|
children: [
|
|
3726
3873
|
{
|
|
3727
3874
|
path: "",
|
|
3728
|
-
lazy: () => import("./collection-detail-
|
|
3875
|
+
lazy: () => import("./collection-detail-2DSZVOI7.js"),
|
|
3729
3876
|
children: [
|
|
3730
3877
|
{
|
|
3731
3878
|
path: "edit",
|
|
3732
|
-
lazy: () => import("./collection-edit-
|
|
3879
|
+
lazy: () => import("./collection-edit-OQGYTQDO.js")
|
|
3733
3880
|
},
|
|
3734
3881
|
{
|
|
3735
3882
|
path: "products",
|
|
3736
|
-
lazy: () => import("./collection-add-products-
|
|
3883
|
+
lazy: () => import("./collection-add-products-XL2TAKQD.js")
|
|
3737
3884
|
},
|
|
3738
3885
|
{
|
|
3739
3886
|
path: "metadata/edit",
|
|
3740
|
-
lazy: () => import("./collection-metadata-
|
|
3887
|
+
lazy: () => import("./collection-metadata-47N7TUOH.js")
|
|
3741
3888
|
}
|
|
3742
3889
|
]
|
|
3743
3890
|
}
|
|
@@ -3747,53 +3894,53 @@ function getRouteMap({
|
|
|
3747
3894
|
},
|
|
3748
3895
|
{
|
|
3749
3896
|
path: "/price-lists",
|
|
3750
|
-
errorElement: /* @__PURE__ */
|
|
3897
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
3751
3898
|
handle: {
|
|
3752
3899
|
breadcrumb: () => t("priceLists.domain")
|
|
3753
3900
|
},
|
|
3754
3901
|
children: [
|
|
3755
3902
|
{
|
|
3756
3903
|
path: "",
|
|
3757
|
-
lazy: () => import("./price-list-list-
|
|
3904
|
+
lazy: () => import("./price-list-list-ER4TOZTY.js"),
|
|
3758
3905
|
children: [
|
|
3759
3906
|
{
|
|
3760
3907
|
path: "create",
|
|
3761
|
-
lazy: () => import("./price-list-create-
|
|
3908
|
+
lazy: () => import("./price-list-create-37SCDSPN.js")
|
|
3762
3909
|
}
|
|
3763
3910
|
]
|
|
3764
3911
|
},
|
|
3765
3912
|
{
|
|
3766
3913
|
path: ":id",
|
|
3767
3914
|
lazy: async () => {
|
|
3768
|
-
const { Breadcrumb, loader } = await import("./price-list-detail-
|
|
3915
|
+
const { Breadcrumb, loader } = await import("./price-list-detail-4Q2HBLAM.js");
|
|
3769
3916
|
return {
|
|
3770
3917
|
Component: Outlet4,
|
|
3771
3918
|
loader,
|
|
3772
3919
|
handle: {
|
|
3773
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3920
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
3774
3921
|
}
|
|
3775
3922
|
};
|
|
3776
3923
|
},
|
|
3777
3924
|
children: [
|
|
3778
3925
|
{
|
|
3779
3926
|
path: "",
|
|
3780
|
-
lazy: () => import("./price-list-detail-
|
|
3927
|
+
lazy: () => import("./price-list-detail-4Q2HBLAM.js"),
|
|
3781
3928
|
children: [
|
|
3782
3929
|
{
|
|
3783
3930
|
path: "edit",
|
|
3784
|
-
lazy: () => import("./price-list-edit-
|
|
3931
|
+
lazy: () => import("./price-list-edit-ZVLD4M5T.js")
|
|
3785
3932
|
},
|
|
3786
3933
|
{
|
|
3787
3934
|
path: "configuration",
|
|
3788
|
-
lazy: () => import("./price-list-configuration-
|
|
3935
|
+
lazy: () => import("./price-list-configuration-XAHXLCXR.js")
|
|
3789
3936
|
},
|
|
3790
3937
|
{
|
|
3791
3938
|
path: "products/add",
|
|
3792
|
-
lazy: () => import("./price-list-prices-add-
|
|
3939
|
+
lazy: () => import("./price-list-prices-add-UASPZXKT.js")
|
|
3793
3940
|
},
|
|
3794
3941
|
{
|
|
3795
3942
|
path: "products/edit",
|
|
3796
|
-
lazy: () => import("./price-list-prices-edit-
|
|
3943
|
+
lazy: () => import("./price-list-prices-edit-WHCIGSB2.js")
|
|
3797
3944
|
}
|
|
3798
3945
|
]
|
|
3799
3946
|
}
|
|
@@ -3803,14 +3950,14 @@ function getRouteMap({
|
|
|
3803
3950
|
},
|
|
3804
3951
|
{
|
|
3805
3952
|
path: "/customers",
|
|
3806
|
-
errorElement: /* @__PURE__ */
|
|
3953
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
3807
3954
|
handle: {
|
|
3808
3955
|
breadcrumb: () => t("customers.domain")
|
|
3809
3956
|
},
|
|
3810
3957
|
children: [
|
|
3811
3958
|
{
|
|
3812
3959
|
path: "",
|
|
3813
|
-
lazy: () => import("./customer-list-
|
|
3960
|
+
lazy: () => import("./customer-list-MB6WZFMA.js"),
|
|
3814
3961
|
children: [
|
|
3815
3962
|
{
|
|
3816
3963
|
path: "create",
|
|
@@ -3821,23 +3968,23 @@ function getRouteMap({
|
|
|
3821
3968
|
{
|
|
3822
3969
|
path: ":id",
|
|
3823
3970
|
lazy: async () => {
|
|
3824
|
-
const { Breadcrumb, loader } = await import("./customer-detail-
|
|
3971
|
+
const { Breadcrumb, loader } = await import("./customer-detail-D5SSLNFT.js");
|
|
3825
3972
|
return {
|
|
3826
3973
|
Component: Outlet4,
|
|
3827
3974
|
loader,
|
|
3828
3975
|
handle: {
|
|
3829
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3976
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
3830
3977
|
}
|
|
3831
3978
|
};
|
|
3832
3979
|
},
|
|
3833
3980
|
children: [
|
|
3834
3981
|
{
|
|
3835
3982
|
path: "",
|
|
3836
|
-
lazy: () => import("./customer-detail-
|
|
3983
|
+
lazy: () => import("./customer-detail-D5SSLNFT.js"),
|
|
3837
3984
|
children: [
|
|
3838
3985
|
{
|
|
3839
3986
|
path: "edit",
|
|
3840
|
-
lazy: () => import("./customer-edit-
|
|
3987
|
+
lazy: () => import("./customer-edit-JZ4PQTIN.js")
|
|
3841
3988
|
},
|
|
3842
3989
|
{
|
|
3843
3990
|
path: "create-address",
|
|
@@ -3845,15 +3992,15 @@ function getRouteMap({
|
|
|
3845
3992
|
},
|
|
3846
3993
|
{
|
|
3847
3994
|
path: "add-customer-groups",
|
|
3848
|
-
lazy: () => import("./customers-add-customer-group-
|
|
3995
|
+
lazy: () => import("./customers-add-customer-group-AHGAPEIS.js")
|
|
3849
3996
|
},
|
|
3850
3997
|
{
|
|
3851
3998
|
path: ":order_id/transfer",
|
|
3852
|
-
lazy: () => import("./order-request-transfer-
|
|
3999
|
+
lazy: () => import("./order-request-transfer-A2NJSQ4H.js")
|
|
3853
4000
|
},
|
|
3854
4001
|
{
|
|
3855
4002
|
path: "metadata/edit",
|
|
3856
|
-
lazy: () => import("./customer-metadata-
|
|
4003
|
+
lazy: () => import("./customer-metadata-AH2LBK4T.js")
|
|
3857
4004
|
}
|
|
3858
4005
|
]
|
|
3859
4006
|
}
|
|
@@ -3863,14 +4010,14 @@ function getRouteMap({
|
|
|
3863
4010
|
},
|
|
3864
4011
|
{
|
|
3865
4012
|
path: "/customer-groups",
|
|
3866
|
-
errorElement: /* @__PURE__ */
|
|
4013
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
3867
4014
|
handle: {
|
|
3868
4015
|
breadcrumb: () => t("customerGroups.domain")
|
|
3869
4016
|
},
|
|
3870
4017
|
children: [
|
|
3871
4018
|
{
|
|
3872
4019
|
path: "",
|
|
3873
|
-
lazy: () => import("./customer-group-list-
|
|
4020
|
+
lazy: () => import("./customer-group-list-KKDIESQ6.js"),
|
|
3874
4021
|
children: [
|
|
3875
4022
|
{
|
|
3876
4023
|
path: "create",
|
|
@@ -3881,19 +4028,19 @@ function getRouteMap({
|
|
|
3881
4028
|
{
|
|
3882
4029
|
path: ":id",
|
|
3883
4030
|
lazy: async () => {
|
|
3884
|
-
const { Breadcrumb, loader } = await import("./customer-group-detail-
|
|
4031
|
+
const { Breadcrumb, loader } = await import("./customer-group-detail-KRT7E2JA.js");
|
|
3885
4032
|
return {
|
|
3886
4033
|
Component: Outlet4,
|
|
3887
4034
|
loader,
|
|
3888
4035
|
handle: {
|
|
3889
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4036
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
3890
4037
|
}
|
|
3891
4038
|
};
|
|
3892
4039
|
},
|
|
3893
4040
|
children: [
|
|
3894
4041
|
{
|
|
3895
4042
|
path: "",
|
|
3896
|
-
lazy: () => import("./customer-group-detail-
|
|
4043
|
+
lazy: () => import("./customer-group-detail-KRT7E2JA.js"),
|
|
3897
4044
|
children: [
|
|
3898
4045
|
{
|
|
3899
4046
|
path: "edit",
|
|
@@ -3901,11 +4048,11 @@ function getRouteMap({
|
|
|
3901
4048
|
},
|
|
3902
4049
|
{
|
|
3903
4050
|
path: "add-customers",
|
|
3904
|
-
lazy: () => import("./customer-group-add-customers-
|
|
4051
|
+
lazy: () => import("./customer-group-add-customers-VJUBEN7M.js")
|
|
3905
4052
|
},
|
|
3906
4053
|
{
|
|
3907
4054
|
path: "metadata/edit",
|
|
3908
|
-
lazy: () => import("./customer-group-metadata-
|
|
4055
|
+
lazy: () => import("./customer-group-metadata-J6JY7DZ3.js")
|
|
3909
4056
|
}
|
|
3910
4057
|
]
|
|
3911
4058
|
}
|
|
@@ -3915,44 +4062,44 @@ function getRouteMap({
|
|
|
3915
4062
|
},
|
|
3916
4063
|
{
|
|
3917
4064
|
path: "/stores",
|
|
3918
|
-
errorElement: /* @__PURE__ */
|
|
4065
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
3919
4066
|
handle: {
|
|
3920
4067
|
breadcrumb: () => t("stores.domain")
|
|
3921
4068
|
},
|
|
3922
4069
|
children: [
|
|
3923
4070
|
{
|
|
3924
4071
|
path: "",
|
|
3925
|
-
lazy: () => import("./store-list-
|
|
4072
|
+
lazy: () => import("./store-list-5CV7VJLO.js"),
|
|
3926
4073
|
children: [
|
|
3927
4074
|
{
|
|
3928
4075
|
path: "create",
|
|
3929
|
-
lazy: () => import("./store-create-
|
|
4076
|
+
lazy: () => import("./store-create-WNFRHXWR.js")
|
|
3930
4077
|
},
|
|
3931
4078
|
{
|
|
3932
4079
|
path: "bulk-edit",
|
|
3933
|
-
lazy: () => import("./store-bulk-edit-
|
|
4080
|
+
lazy: () => import("./store-bulk-edit-UYNQ2CPG.js")
|
|
3934
4081
|
}
|
|
3935
4082
|
]
|
|
3936
4083
|
},
|
|
3937
4084
|
{
|
|
3938
4085
|
path: ":id",
|
|
3939
4086
|
lazy: async () => {
|
|
3940
|
-
const { Breadcrumb } = await import("./store-details-
|
|
4087
|
+
const { Breadcrumb } = await import("./store-details-R2GQU7HE.js");
|
|
3941
4088
|
return {
|
|
3942
4089
|
Component: Outlet4,
|
|
3943
4090
|
handle: {
|
|
3944
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4091
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
3945
4092
|
}
|
|
3946
4093
|
};
|
|
3947
4094
|
},
|
|
3948
4095
|
children: [
|
|
3949
4096
|
{
|
|
3950
4097
|
path: "",
|
|
3951
|
-
lazy: () => import("./store-details-
|
|
4098
|
+
lazy: () => import("./store-details-R2GQU7HE.js"),
|
|
3952
4099
|
children: [
|
|
3953
4100
|
{
|
|
3954
4101
|
path: "edit",
|
|
3955
|
-
lazy: () => import("./store-edit-
|
|
4102
|
+
lazy: () => import("./store-edit-UW3QOFFX.js")
|
|
3956
4103
|
},
|
|
3957
4104
|
{
|
|
3958
4105
|
path: "edit-address",
|
|
@@ -3972,7 +4119,7 @@ function getRouteMap({
|
|
|
3972
4119
|
},
|
|
3973
4120
|
{
|
|
3974
4121
|
path: "invite",
|
|
3975
|
-
lazy: () => import("./store-member-invite-
|
|
4122
|
+
lazy: () => import("./store-member-invite-M4NVBUXM.js")
|
|
3976
4123
|
}
|
|
3977
4124
|
]
|
|
3978
4125
|
}
|
|
@@ -3982,31 +4129,31 @@ function getRouteMap({
|
|
|
3982
4129
|
},
|
|
3983
4130
|
{
|
|
3984
4131
|
path: "/payouts",
|
|
3985
|
-
errorElement: /* @__PURE__ */
|
|
4132
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
3986
4133
|
handle: {
|
|
3987
4134
|
breadcrumb: () => "Payouts"
|
|
3988
4135
|
},
|
|
3989
4136
|
children: [
|
|
3990
4137
|
{
|
|
3991
4138
|
path: "",
|
|
3992
|
-
lazy: () => import("./payout-list-
|
|
4139
|
+
lazy: () => import("./payout-list-7WJZFNW5.js")
|
|
3993
4140
|
},
|
|
3994
4141
|
{
|
|
3995
4142
|
path: ":id",
|
|
3996
4143
|
lazy: async () => {
|
|
3997
|
-
const { Breadcrumb, loader } = await import("./payout-detail-
|
|
4144
|
+
const { Breadcrumb, loader } = await import("./payout-detail-TWO6HN4E.js");
|
|
3998
4145
|
return {
|
|
3999
4146
|
Component: Outlet4,
|
|
4000
4147
|
loader,
|
|
4001
4148
|
handle: {
|
|
4002
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4149
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
4003
4150
|
}
|
|
4004
4151
|
};
|
|
4005
4152
|
},
|
|
4006
4153
|
children: [
|
|
4007
4154
|
{
|
|
4008
4155
|
path: "",
|
|
4009
|
-
lazy: () => import("./payout-detail-
|
|
4156
|
+
lazy: () => import("./payout-detail-TWO6HN4E.js")
|
|
4010
4157
|
}
|
|
4011
4158
|
]
|
|
4012
4159
|
}
|
|
@@ -4014,45 +4161,45 @@ function getRouteMap({
|
|
|
4014
4161
|
},
|
|
4015
4162
|
{
|
|
4016
4163
|
path: "/reservations",
|
|
4017
|
-
errorElement: /* @__PURE__ */
|
|
4164
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
4018
4165
|
handle: {
|
|
4019
4166
|
breadcrumb: () => t("reservations.domain")
|
|
4020
4167
|
},
|
|
4021
4168
|
children: [
|
|
4022
4169
|
{
|
|
4023
4170
|
path: "",
|
|
4024
|
-
lazy: () => import("./reservation-list-
|
|
4171
|
+
lazy: () => import("./reservation-list-YKC3JJ6K.js"),
|
|
4025
4172
|
children: [
|
|
4026
4173
|
{
|
|
4027
4174
|
path: "create",
|
|
4028
|
-
lazy: () => import("./reservation-create-
|
|
4175
|
+
lazy: () => import("./reservation-create-Y3HG4AZA.js")
|
|
4029
4176
|
}
|
|
4030
4177
|
]
|
|
4031
4178
|
},
|
|
4032
4179
|
{
|
|
4033
4180
|
path: ":id",
|
|
4034
4181
|
lazy: async () => {
|
|
4035
|
-
const { Breadcrumb, loader } = await import("./reservation-detail-
|
|
4182
|
+
const { Breadcrumb, loader } = await import("./reservation-detail-HQMADZ56.js");
|
|
4036
4183
|
return {
|
|
4037
4184
|
Component: Outlet4,
|
|
4038
4185
|
loader,
|
|
4039
4186
|
handle: {
|
|
4040
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4187
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
4041
4188
|
}
|
|
4042
4189
|
};
|
|
4043
4190
|
},
|
|
4044
4191
|
children: [
|
|
4045
4192
|
{
|
|
4046
4193
|
path: "",
|
|
4047
|
-
lazy: () => import("./reservation-detail-
|
|
4194
|
+
lazy: () => import("./reservation-detail-HQMADZ56.js"),
|
|
4048
4195
|
children: [
|
|
4049
4196
|
{
|
|
4050
4197
|
path: "edit",
|
|
4051
|
-
lazy: () => import("./edit-reservation-
|
|
4198
|
+
lazy: () => import("./edit-reservation-HQQL42QX.js")
|
|
4052
4199
|
},
|
|
4053
4200
|
{
|
|
4054
4201
|
path: "metadata/edit",
|
|
4055
|
-
lazy: () => import("./reservation-metadata-
|
|
4202
|
+
lazy: () => import("./reservation-metadata-UG4YTEMY.js")
|
|
4056
4203
|
}
|
|
4057
4204
|
]
|
|
4058
4205
|
}
|
|
@@ -4060,63 +4207,93 @@ function getRouteMap({
|
|
|
4060
4207
|
}
|
|
4061
4208
|
]
|
|
4062
4209
|
},
|
|
4210
|
+
{
|
|
4211
|
+
path: "/offers",
|
|
4212
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
4213
|
+
handle: {
|
|
4214
|
+
breadcrumb: () => t("offers.domain")
|
|
4215
|
+
},
|
|
4216
|
+
children: [
|
|
4217
|
+
{
|
|
4218
|
+
path: "",
|
|
4219
|
+
lazy: async () => {
|
|
4220
|
+
const { OfferListPage } = await import("./offers-IFKM6EQT.js");
|
|
4221
|
+
return { Component: OfferListPage };
|
|
4222
|
+
}
|
|
4223
|
+
},
|
|
4224
|
+
{
|
|
4225
|
+
path: ":id",
|
|
4226
|
+
lazy: async () => {
|
|
4227
|
+
const { OfferDetailPage, Breadcrumb } = await import("./[id]-YI7UXOO2.js");
|
|
4228
|
+
const { loader } = await import("./loader-6KDBTRVR.js");
|
|
4229
|
+
return {
|
|
4230
|
+
Component: OfferDetailPage,
|
|
4231
|
+
loader,
|
|
4232
|
+
handle: {
|
|
4233
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
4234
|
+
}
|
|
4235
|
+
};
|
|
4236
|
+
}
|
|
4237
|
+
}
|
|
4238
|
+
]
|
|
4239
|
+
},
|
|
4063
4240
|
{
|
|
4064
4241
|
path: "/inventory",
|
|
4065
|
-
errorElement: /* @__PURE__ */
|
|
4242
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
4066
4243
|
handle: {
|
|
4067
4244
|
breadcrumb: () => t("inventory.domain")
|
|
4068
4245
|
},
|
|
4069
4246
|
children: [
|
|
4070
4247
|
{
|
|
4071
4248
|
path: "",
|
|
4072
|
-
lazy: () => import("./inventory-list-
|
|
4249
|
+
lazy: () => import("./inventory-list-YLIAKQXI.js"),
|
|
4073
4250
|
children: [
|
|
4074
4251
|
{
|
|
4075
4252
|
path: "create",
|
|
4076
|
-
lazy: () => import("./inventory-create-
|
|
4253
|
+
lazy: () => import("./inventory-create-IVESXFSV.js")
|
|
4077
4254
|
},
|
|
4078
4255
|
{
|
|
4079
4256
|
path: "stock",
|
|
4080
|
-
lazy: () => import("./inventory-stock-
|
|
4257
|
+
lazy: () => import("./inventory-stock-6YGTATID.js")
|
|
4081
4258
|
}
|
|
4082
4259
|
]
|
|
4083
4260
|
},
|
|
4084
4261
|
{
|
|
4085
4262
|
path: ":id",
|
|
4086
4263
|
lazy: async () => {
|
|
4087
|
-
const { Breadcrumb, loader } = await import("./inventory-detail-
|
|
4264
|
+
const { Breadcrumb, loader } = await import("./inventory-detail-TINIAFVB.js");
|
|
4088
4265
|
return {
|
|
4089
4266
|
Component: Outlet4,
|
|
4090
4267
|
loader,
|
|
4091
4268
|
handle: {
|
|
4092
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4269
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
4093
4270
|
}
|
|
4094
4271
|
};
|
|
4095
4272
|
},
|
|
4096
4273
|
children: [
|
|
4097
4274
|
{
|
|
4098
4275
|
path: "",
|
|
4099
|
-
lazy: () => import("./inventory-detail-
|
|
4276
|
+
lazy: () => import("./inventory-detail-TINIAFVB.js"),
|
|
4100
4277
|
children: [
|
|
4101
4278
|
{
|
|
4102
4279
|
path: "edit",
|
|
4103
|
-
lazy: () => import("./edit-inventory-item-
|
|
4280
|
+
lazy: () => import("./edit-inventory-item-ADNLKLCN.js")
|
|
4104
4281
|
},
|
|
4105
4282
|
{
|
|
4106
4283
|
path: "attributes",
|
|
4107
|
-
lazy: () => import("./edit-inventory-item-attributes-
|
|
4284
|
+
lazy: () => import("./edit-inventory-item-attributes-XVR2WLDU.js")
|
|
4108
4285
|
},
|
|
4109
4286
|
{
|
|
4110
4287
|
path: "metadata/edit",
|
|
4111
|
-
lazy: () => import("./inventory-metadata-
|
|
4288
|
+
lazy: () => import("./inventory-metadata-6INRH2JC.js")
|
|
4112
4289
|
},
|
|
4113
4290
|
{
|
|
4114
4291
|
path: "locations",
|
|
4115
|
-
lazy: () => import("./manage-locations-
|
|
4292
|
+
lazy: () => import("./manage-locations-CFTM6DNH.js")
|
|
4116
4293
|
},
|
|
4117
4294
|
{
|
|
4118
4295
|
path: "locations/:location_id",
|
|
4119
|
-
lazy: () => import("./adjust-inventory-
|
|
4296
|
+
lazy: () => import("./adjust-inventory-CVWSBMHU.js")
|
|
4120
4297
|
}
|
|
4121
4298
|
]
|
|
4122
4299
|
}
|
|
@@ -4131,37 +4308,37 @@ function getRouteMap({
|
|
|
4131
4308
|
]
|
|
4132
4309
|
},
|
|
4133
4310
|
{
|
|
4134
|
-
element: /* @__PURE__ */
|
|
4135
|
-
errorElement: /* @__PURE__ */
|
|
4311
|
+
element: /* @__PURE__ */ jsx16(ProtectedRoute, {}),
|
|
4312
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
4136
4313
|
children: [
|
|
4137
4314
|
{
|
|
4138
4315
|
path: "/settings",
|
|
4139
4316
|
handle: {
|
|
4140
4317
|
breadcrumb: () => t("app.nav.settings.header")
|
|
4141
4318
|
},
|
|
4142
|
-
element: /* @__PURE__ */
|
|
4319
|
+
element: /* @__PURE__ */ jsx16(SettingsLayout, {}),
|
|
4143
4320
|
children: mergeRoutes(
|
|
4144
4321
|
[
|
|
4145
4322
|
{
|
|
4146
4323
|
index: true,
|
|
4147
|
-
errorElement: /* @__PURE__ */
|
|
4324
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
4148
4325
|
lazy: () => import("./settings-AVE3VCCM.js")
|
|
4149
4326
|
},
|
|
4150
4327
|
{
|
|
4151
4328
|
path: "profile",
|
|
4152
|
-
errorElement: /* @__PURE__ */
|
|
4153
|
-
element: /* @__PURE__ */
|
|
4329
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
4330
|
+
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4154
4331
|
handle: {
|
|
4155
4332
|
breadcrumb: () => t("profile.domain")
|
|
4156
4333
|
},
|
|
4157
4334
|
children: [
|
|
4158
4335
|
{
|
|
4159
4336
|
path: "",
|
|
4160
|
-
lazy: () => import("./profile-detail-
|
|
4337
|
+
lazy: () => import("./profile-detail-ZRL5SERS.js"),
|
|
4161
4338
|
children: [
|
|
4162
4339
|
{
|
|
4163
4340
|
path: "edit",
|
|
4164
|
-
lazy: () => import("./profile-edit-
|
|
4341
|
+
lazy: () => import("./profile-edit-HQTWYWZ7.js")
|
|
4165
4342
|
}
|
|
4166
4343
|
]
|
|
4167
4344
|
}
|
|
@@ -4169,50 +4346,50 @@ function getRouteMap({
|
|
|
4169
4346
|
},
|
|
4170
4347
|
{
|
|
4171
4348
|
path: "regions",
|
|
4172
|
-
errorElement: /* @__PURE__ */
|
|
4173
|
-
element: /* @__PURE__ */
|
|
4349
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
4350
|
+
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4174
4351
|
handle: {
|
|
4175
4352
|
breadcrumb: () => t("regions.domain")
|
|
4176
4353
|
},
|
|
4177
4354
|
children: [
|
|
4178
4355
|
{
|
|
4179
4356
|
path: "",
|
|
4180
|
-
lazy: () => import("./region-list-
|
|
4357
|
+
lazy: () => import("./region-list-2XXKCDDX.js"),
|
|
4181
4358
|
children: [
|
|
4182
4359
|
{
|
|
4183
4360
|
path: "create",
|
|
4184
|
-
lazy: () => import("./region-create-
|
|
4361
|
+
lazy: () => import("./region-create-P66Q65XY.js")
|
|
4185
4362
|
}
|
|
4186
4363
|
]
|
|
4187
4364
|
},
|
|
4188
4365
|
{
|
|
4189
4366
|
path: ":id",
|
|
4190
4367
|
lazy: async () => {
|
|
4191
|
-
const { Breadcrumb, loader } = await import("./region-detail-
|
|
4368
|
+
const { Breadcrumb, loader } = await import("./region-detail-P2HHBYFV.js");
|
|
4192
4369
|
return {
|
|
4193
4370
|
Component: Outlet4,
|
|
4194
4371
|
loader,
|
|
4195
4372
|
handle: {
|
|
4196
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4373
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
4197
4374
|
}
|
|
4198
4375
|
};
|
|
4199
4376
|
},
|
|
4200
4377
|
children: [
|
|
4201
4378
|
{
|
|
4202
4379
|
path: "",
|
|
4203
|
-
lazy: () => import("./region-detail-
|
|
4380
|
+
lazy: () => import("./region-detail-P2HHBYFV.js"),
|
|
4204
4381
|
children: [
|
|
4205
4382
|
{
|
|
4206
4383
|
path: "edit",
|
|
4207
|
-
lazy: () => import("./region-edit-
|
|
4384
|
+
lazy: () => import("./region-edit-XFE54SAO.js")
|
|
4208
4385
|
},
|
|
4209
4386
|
{
|
|
4210
4387
|
path: "countries/add",
|
|
4211
|
-
lazy: () => import("./region-add-countries-
|
|
4388
|
+
lazy: () => import("./region-add-countries-COXN4LP3.js")
|
|
4212
4389
|
},
|
|
4213
4390
|
{
|
|
4214
4391
|
path: "metadata/edit",
|
|
4215
|
-
lazy: () => import("./region-metadata-
|
|
4392
|
+
lazy: () => import("./region-metadata-723RQGHS.js")
|
|
4216
4393
|
}
|
|
4217
4394
|
]
|
|
4218
4395
|
}
|
|
@@ -4222,27 +4399,27 @@ function getRouteMap({
|
|
|
4222
4399
|
},
|
|
4223
4400
|
{
|
|
4224
4401
|
path: "marketplace",
|
|
4225
|
-
errorElement: /* @__PURE__ */
|
|
4226
|
-
element: /* @__PURE__ */
|
|
4402
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
4403
|
+
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4227
4404
|
handle: {
|
|
4228
4405
|
breadcrumb: () => t("marketplace.domain")
|
|
4229
4406
|
},
|
|
4230
4407
|
children: [
|
|
4231
4408
|
{
|
|
4232
4409
|
path: "",
|
|
4233
|
-
lazy: () => import("./marketplace-detail-
|
|
4410
|
+
lazy: () => import("./marketplace-detail-BAU2MEJT.js"),
|
|
4234
4411
|
children: [
|
|
4235
4412
|
{
|
|
4236
4413
|
path: "edit",
|
|
4237
|
-
lazy: () => import("./marketplace-edit-
|
|
4414
|
+
lazy: () => import("./marketplace-edit-6Q3G2OY5.js")
|
|
4238
4415
|
},
|
|
4239
4416
|
{
|
|
4240
4417
|
path: "currencies",
|
|
4241
|
-
lazy: () => import("./marketplace-add-currencies-
|
|
4418
|
+
lazy: () => import("./marketplace-add-currencies-6ANNBGZM.js")
|
|
4242
4419
|
},
|
|
4243
4420
|
{
|
|
4244
4421
|
path: "metadata/edit",
|
|
4245
|
-
lazy: () => import("./marketplace-metadata-
|
|
4422
|
+
lazy: () => import("./marketplace-metadata-KRCGKOCA.js")
|
|
4246
4423
|
}
|
|
4247
4424
|
]
|
|
4248
4425
|
}
|
|
@@ -4250,42 +4427,42 @@ function getRouteMap({
|
|
|
4250
4427
|
},
|
|
4251
4428
|
{
|
|
4252
4429
|
path: "commission-rates",
|
|
4253
|
-
errorElement: /* @__PURE__ */
|
|
4254
|
-
element: /* @__PURE__ */
|
|
4430
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
4431
|
+
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4255
4432
|
handle: {
|
|
4256
4433
|
breadcrumb: () => t("commissionRates.domain")
|
|
4257
4434
|
},
|
|
4258
4435
|
children: [
|
|
4259
4436
|
{
|
|
4260
4437
|
path: "",
|
|
4261
|
-
lazy: () => import("./commission-rate-list-
|
|
4438
|
+
lazy: () => import("./commission-rate-list-Y5XLEO67.js"),
|
|
4262
4439
|
children: [
|
|
4263
4440
|
{
|
|
4264
4441
|
path: "create",
|
|
4265
|
-
lazy: () => import("./commission-rate-create-
|
|
4442
|
+
lazy: () => import("./commission-rate-create-BQY3UGKV.js")
|
|
4266
4443
|
}
|
|
4267
4444
|
]
|
|
4268
4445
|
},
|
|
4269
4446
|
{
|
|
4270
4447
|
path: ":id",
|
|
4271
4448
|
lazy: async () => {
|
|
4272
|
-
const { Breadcrumb, loader } = await import("./commission-rate-detail-
|
|
4449
|
+
const { Breadcrumb, loader } = await import("./commission-rate-detail-LAZZLZVX.js");
|
|
4273
4450
|
return {
|
|
4274
4451
|
Component: Outlet4,
|
|
4275
4452
|
loader,
|
|
4276
4453
|
handle: {
|
|
4277
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4454
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
4278
4455
|
}
|
|
4279
4456
|
};
|
|
4280
4457
|
},
|
|
4281
4458
|
children: [
|
|
4282
4459
|
{
|
|
4283
4460
|
path: "",
|
|
4284
|
-
lazy: () => import("./commission-rate-detail-
|
|
4461
|
+
lazy: () => import("./commission-rate-detail-LAZZLZVX.js"),
|
|
4285
4462
|
children: [
|
|
4286
4463
|
{
|
|
4287
4464
|
path: "edit",
|
|
4288
|
-
lazy: () => import("./commission-rate-edit-
|
|
4465
|
+
lazy: () => import("./commission-rate-edit-DAFXNYYN.js")
|
|
4289
4466
|
}
|
|
4290
4467
|
]
|
|
4291
4468
|
}
|
|
@@ -4295,38 +4472,38 @@ function getRouteMap({
|
|
|
4295
4472
|
},
|
|
4296
4473
|
{
|
|
4297
4474
|
path: "users",
|
|
4298
|
-
errorElement: /* @__PURE__ */
|
|
4299
|
-
element: /* @__PURE__ */
|
|
4475
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
4476
|
+
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4300
4477
|
handle: {
|
|
4301
4478
|
breadcrumb: () => t("users.domain")
|
|
4302
4479
|
},
|
|
4303
4480
|
children: [
|
|
4304
4481
|
{
|
|
4305
4482
|
path: "",
|
|
4306
|
-
lazy: () => import("./user-list-
|
|
4483
|
+
lazy: () => import("./user-list-TR7RSGUO.js"),
|
|
4307
4484
|
children: [
|
|
4308
4485
|
{
|
|
4309
4486
|
path: "invite",
|
|
4310
|
-
lazy: () => import("./user-invite-
|
|
4487
|
+
lazy: () => import("./user-invite-HLZJ7FST.js")
|
|
4311
4488
|
}
|
|
4312
4489
|
]
|
|
4313
4490
|
},
|
|
4314
4491
|
{
|
|
4315
4492
|
path: ":id",
|
|
4316
4493
|
lazy: async () => {
|
|
4317
|
-
const { Breadcrumb, loader } = await import("./user-detail-
|
|
4494
|
+
const { Breadcrumb, loader } = await import("./user-detail-W7DGVXDZ.js");
|
|
4318
4495
|
return {
|
|
4319
4496
|
Component: Outlet4,
|
|
4320
4497
|
loader,
|
|
4321
4498
|
handle: {
|
|
4322
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4499
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
4323
4500
|
}
|
|
4324
4501
|
};
|
|
4325
4502
|
},
|
|
4326
4503
|
children: [
|
|
4327
4504
|
{
|
|
4328
4505
|
path: "",
|
|
4329
|
-
lazy: () => import("./user-detail-
|
|
4506
|
+
lazy: () => import("./user-detail-W7DGVXDZ.js"),
|
|
4330
4507
|
children: [
|
|
4331
4508
|
{
|
|
4332
4509
|
path: "edit",
|
|
@@ -4334,7 +4511,7 @@ function getRouteMap({
|
|
|
4334
4511
|
},
|
|
4335
4512
|
{
|
|
4336
4513
|
path: "metadata/edit",
|
|
4337
|
-
lazy: () => import("./user-metadata-
|
|
4514
|
+
lazy: () => import("./user-metadata-3AFZX3DM.js")
|
|
4338
4515
|
}
|
|
4339
4516
|
]
|
|
4340
4517
|
}
|
|
@@ -4344,50 +4521,50 @@ function getRouteMap({
|
|
|
4344
4521
|
},
|
|
4345
4522
|
{
|
|
4346
4523
|
path: "sales-channels",
|
|
4347
|
-
errorElement: /* @__PURE__ */
|
|
4348
|
-
element: /* @__PURE__ */
|
|
4524
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
4525
|
+
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4349
4526
|
handle: {
|
|
4350
4527
|
breadcrumb: () => t("salesChannels.domain")
|
|
4351
4528
|
},
|
|
4352
4529
|
children: [
|
|
4353
4530
|
{
|
|
4354
4531
|
path: "",
|
|
4355
|
-
lazy: () => import("./sales-channel-list-
|
|
4532
|
+
lazy: () => import("./sales-channel-list-GYLGH4U7.js"),
|
|
4356
4533
|
children: [
|
|
4357
4534
|
{
|
|
4358
4535
|
path: "create",
|
|
4359
|
-
lazy: () => import("./sales-channel-create-
|
|
4536
|
+
lazy: () => import("./sales-channel-create-BSNCLZWR.js")
|
|
4360
4537
|
}
|
|
4361
4538
|
]
|
|
4362
4539
|
},
|
|
4363
4540
|
{
|
|
4364
4541
|
path: ":id",
|
|
4365
4542
|
lazy: async () => {
|
|
4366
|
-
const { Breadcrumb, loader } = await import("./sales-channel-detail-
|
|
4543
|
+
const { Breadcrumb, loader } = await import("./sales-channel-detail-67G7K3IE.js");
|
|
4367
4544
|
return {
|
|
4368
4545
|
Component: Outlet4,
|
|
4369
4546
|
loader,
|
|
4370
4547
|
handle: {
|
|
4371
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4548
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
4372
4549
|
}
|
|
4373
4550
|
};
|
|
4374
4551
|
},
|
|
4375
4552
|
children: [
|
|
4376
4553
|
{
|
|
4377
4554
|
path: "",
|
|
4378
|
-
lazy: () => import("./sales-channel-detail-
|
|
4555
|
+
lazy: () => import("./sales-channel-detail-67G7K3IE.js"),
|
|
4379
4556
|
children: [
|
|
4380
4557
|
{
|
|
4381
4558
|
path: "edit",
|
|
4382
|
-
lazy: () => import("./sales-channel-edit-
|
|
4559
|
+
lazy: () => import("./sales-channel-edit-FUDXMZYV.js")
|
|
4383
4560
|
},
|
|
4384
4561
|
{
|
|
4385
4562
|
path: "add-products",
|
|
4386
|
-
lazy: () => import("./sales-channel-add-products-
|
|
4563
|
+
lazy: () => import("./sales-channel-add-products-YZTQ2SDS.js")
|
|
4387
4564
|
},
|
|
4388
4565
|
{
|
|
4389
4566
|
path: "metadata/edit",
|
|
4390
|
-
lazy: () => import("./sales-channel-metadata-
|
|
4567
|
+
lazy: () => import("./sales-channel-metadata-H6RSHKVP.js")
|
|
4391
4568
|
}
|
|
4392
4569
|
]
|
|
4393
4570
|
}
|
|
@@ -4397,15 +4574,15 @@ function getRouteMap({
|
|
|
4397
4574
|
},
|
|
4398
4575
|
{
|
|
4399
4576
|
path: "locations",
|
|
4400
|
-
errorElement: /* @__PURE__ */
|
|
4401
|
-
element: /* @__PURE__ */
|
|
4577
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
4578
|
+
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4402
4579
|
handle: {
|
|
4403
4580
|
breadcrumb: () => t("locations.domain")
|
|
4404
4581
|
},
|
|
4405
4582
|
children: [
|
|
4406
4583
|
{
|
|
4407
4584
|
path: "",
|
|
4408
|
-
lazy: () => import("./location-list-
|
|
4585
|
+
lazy: () => import("./location-list-IV323QW2.js")
|
|
4409
4586
|
},
|
|
4410
4587
|
{
|
|
4411
4588
|
path: "create",
|
|
@@ -4413,14 +4590,14 @@ function getRouteMap({
|
|
|
4413
4590
|
},
|
|
4414
4591
|
{
|
|
4415
4592
|
path: "shipping-profiles",
|
|
4416
|
-
element: /* @__PURE__ */
|
|
4593
|
+
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4417
4594
|
handle: {
|
|
4418
4595
|
breadcrumb: () => t("shippingProfile.domain")
|
|
4419
4596
|
},
|
|
4420
4597
|
children: [
|
|
4421
4598
|
{
|
|
4422
4599
|
path: "",
|
|
4423
|
-
lazy: () => import("./shipping-profiles-list-
|
|
4600
|
+
lazy: () => import("./shipping-profiles-list-JF2SQIQ7.js"),
|
|
4424
4601
|
children: [
|
|
4425
4602
|
{
|
|
4426
4603
|
path: "create",
|
|
@@ -4431,23 +4608,23 @@ function getRouteMap({
|
|
|
4431
4608
|
{
|
|
4432
4609
|
path: ":shipping_profile_id",
|
|
4433
4610
|
lazy: async () => {
|
|
4434
|
-
const { Breadcrumb, loader } = await import("./shipping-profile-detail-
|
|
4611
|
+
const { Breadcrumb, loader } = await import("./shipping-profile-detail-YAKZHWZI.js");
|
|
4435
4612
|
return {
|
|
4436
4613
|
Component: Outlet4,
|
|
4437
4614
|
loader,
|
|
4438
4615
|
handle: {
|
|
4439
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4616
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
4440
4617
|
}
|
|
4441
4618
|
};
|
|
4442
4619
|
},
|
|
4443
4620
|
children: [
|
|
4444
4621
|
{
|
|
4445
4622
|
path: "",
|
|
4446
|
-
lazy: () => import("./shipping-profile-detail-
|
|
4623
|
+
lazy: () => import("./shipping-profile-detail-YAKZHWZI.js"),
|
|
4447
4624
|
children: [
|
|
4448
4625
|
{
|
|
4449
4626
|
path: "metadata/edit",
|
|
4450
|
-
lazy: () => import("./shipping-profile-metadata-
|
|
4627
|
+
lazy: () => import("./shipping-profile-metadata-UE53IA3J.js")
|
|
4451
4628
|
}
|
|
4452
4629
|
]
|
|
4453
4630
|
}
|
|
@@ -4457,42 +4634,42 @@ function getRouteMap({
|
|
|
4457
4634
|
},
|
|
4458
4635
|
{
|
|
4459
4636
|
path: "shipping-option-types",
|
|
4460
|
-
errorElement: /* @__PURE__ */
|
|
4461
|
-
element: /* @__PURE__ */
|
|
4637
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
4638
|
+
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4462
4639
|
handle: {
|
|
4463
4640
|
breadcrumb: () => t("shippingOptionTypes.domain")
|
|
4464
4641
|
},
|
|
4465
4642
|
children: [
|
|
4466
4643
|
{
|
|
4467
4644
|
path: "",
|
|
4468
|
-
lazy: () => import("./shipping-option-type-list-
|
|
4645
|
+
lazy: () => import("./shipping-option-type-list-YSWP6DSC.js"),
|
|
4469
4646
|
children: [
|
|
4470
4647
|
{
|
|
4471
4648
|
path: "create",
|
|
4472
|
-
lazy: () => import("./shipping-option-type-create-
|
|
4649
|
+
lazy: () => import("./shipping-option-type-create-QAOW7753.js")
|
|
4473
4650
|
}
|
|
4474
4651
|
]
|
|
4475
4652
|
},
|
|
4476
4653
|
{
|
|
4477
4654
|
path: ":id",
|
|
4478
4655
|
lazy: async () => {
|
|
4479
|
-
const { Breadcrumb, loader } = await import("./shipping-option-type-detail-
|
|
4656
|
+
const { Breadcrumb, loader } = await import("./shipping-option-type-detail-QGWVDTDU.js");
|
|
4480
4657
|
return {
|
|
4481
4658
|
Component: Outlet4,
|
|
4482
4659
|
loader,
|
|
4483
4660
|
handle: {
|
|
4484
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4661
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
4485
4662
|
}
|
|
4486
4663
|
};
|
|
4487
4664
|
},
|
|
4488
4665
|
children: [
|
|
4489
4666
|
{
|
|
4490
4667
|
path: "",
|
|
4491
|
-
lazy: () => import("./shipping-option-type-detail-
|
|
4668
|
+
lazy: () => import("./shipping-option-type-detail-QGWVDTDU.js"),
|
|
4492
4669
|
children: [
|
|
4493
4670
|
{
|
|
4494
4671
|
path: "edit",
|
|
4495
|
-
lazy: () => import("./shipping-option-type-edit-
|
|
4672
|
+
lazy: () => import("./shipping-option-type-edit-WXYBDRNY.js")
|
|
4496
4673
|
}
|
|
4497
4674
|
]
|
|
4498
4675
|
}
|
|
@@ -4503,19 +4680,19 @@ function getRouteMap({
|
|
|
4503
4680
|
{
|
|
4504
4681
|
path: ":location_id",
|
|
4505
4682
|
lazy: async () => {
|
|
4506
|
-
const { Breadcrumb, loader } = await import("./location-detail-
|
|
4683
|
+
const { Breadcrumb, loader } = await import("./location-detail-EK2S7WOK.js");
|
|
4507
4684
|
return {
|
|
4508
4685
|
Component: Outlet4,
|
|
4509
4686
|
loader,
|
|
4510
4687
|
handle: {
|
|
4511
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4688
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
4512
4689
|
}
|
|
4513
4690
|
};
|
|
4514
4691
|
},
|
|
4515
4692
|
children: [
|
|
4516
4693
|
{
|
|
4517
4694
|
path: "",
|
|
4518
|
-
lazy: () => import("./location-detail-
|
|
4695
|
+
lazy: () => import("./location-detail-EK2S7WOK.js"),
|
|
4519
4696
|
children: [
|
|
4520
4697
|
{
|
|
4521
4698
|
path: "edit",
|
|
@@ -4523,18 +4700,18 @@ function getRouteMap({
|
|
|
4523
4700
|
},
|
|
4524
4701
|
{
|
|
4525
4702
|
path: "sales-channels",
|
|
4526
|
-
lazy: () => import("./location-sales-channels-
|
|
4703
|
+
lazy: () => import("./location-sales-channels-EYUXMTW7.js")
|
|
4527
4704
|
},
|
|
4528
4705
|
{
|
|
4529
4706
|
path: "fulfillment-providers",
|
|
4530
|
-
lazy: () => import("./location-fulfillment-providers-
|
|
4707
|
+
lazy: () => import("./location-fulfillment-providers-KUUNC2KP.js")
|
|
4531
4708
|
},
|
|
4532
4709
|
{
|
|
4533
4710
|
path: "fulfillment-set/:fset_id",
|
|
4534
4711
|
children: [
|
|
4535
4712
|
{
|
|
4536
4713
|
path: "service-zones/create",
|
|
4537
|
-
lazy: () => import("./location-service-zone-create-
|
|
4714
|
+
lazy: () => import("./location-service-zone-create-ZS3UWJAA.js")
|
|
4538
4715
|
},
|
|
4539
4716
|
{
|
|
4540
4717
|
path: "service-zone/:zone_id",
|
|
@@ -4545,25 +4722,25 @@ function getRouteMap({
|
|
|
4545
4722
|
},
|
|
4546
4723
|
{
|
|
4547
4724
|
path: "areas",
|
|
4548
|
-
lazy: () => import("./location-service-zone-manage-areas-
|
|
4725
|
+
lazy: () => import("./location-service-zone-manage-areas-S7QZTIFT.js")
|
|
4549
4726
|
},
|
|
4550
4727
|
{
|
|
4551
4728
|
path: "shipping-option",
|
|
4552
4729
|
children: [
|
|
4553
4730
|
{
|
|
4554
4731
|
path: "create",
|
|
4555
|
-
lazy: () => import("./location-service-zone-shipping-option-create-
|
|
4732
|
+
lazy: () => import("./location-service-zone-shipping-option-create-36JZFRGY.js")
|
|
4556
4733
|
},
|
|
4557
4734
|
{
|
|
4558
4735
|
path: ":so_id",
|
|
4559
4736
|
children: [
|
|
4560
4737
|
{
|
|
4561
4738
|
path: "edit",
|
|
4562
|
-
lazy: () => import("./location-service-zone-shipping-option-edit-
|
|
4739
|
+
lazy: () => import("./location-service-zone-shipping-option-edit-3PGSNKYT.js")
|
|
4563
4740
|
},
|
|
4564
4741
|
{
|
|
4565
4742
|
path: "pricing",
|
|
4566
|
-
lazy: () => import("./location-service-zone-shipping-option-pricing-
|
|
4743
|
+
lazy: () => import("./location-service-zone-shipping-option-pricing-JLGCOZGS.js")
|
|
4567
4744
|
}
|
|
4568
4745
|
]
|
|
4569
4746
|
}
|
|
@@ -4581,46 +4758,46 @@ function getRouteMap({
|
|
|
4581
4758
|
},
|
|
4582
4759
|
{
|
|
4583
4760
|
path: "product-tags",
|
|
4584
|
-
errorElement: /* @__PURE__ */
|
|
4585
|
-
element: /* @__PURE__ */
|
|
4761
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
4762
|
+
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4586
4763
|
handle: {
|
|
4587
4764
|
breadcrumb: () => t("productTags.domain")
|
|
4588
4765
|
},
|
|
4589
4766
|
children: [
|
|
4590
4767
|
{
|
|
4591
4768
|
path: "",
|
|
4592
|
-
lazy: () => import("./product-tag-list-
|
|
4769
|
+
lazy: () => import("./product-tag-list-EOULJIYQ.js"),
|
|
4593
4770
|
children: [
|
|
4594
4771
|
{
|
|
4595
4772
|
path: "create",
|
|
4596
|
-
lazy: () => import("./product-tag-create-
|
|
4773
|
+
lazy: () => import("./product-tag-create-7JBM6I3V.js")
|
|
4597
4774
|
}
|
|
4598
4775
|
]
|
|
4599
4776
|
},
|
|
4600
4777
|
{
|
|
4601
4778
|
path: ":id",
|
|
4602
4779
|
lazy: async () => {
|
|
4603
|
-
const { Breadcrumb, loader } = await import("./product-tag-detail-
|
|
4780
|
+
const { Breadcrumb, loader } = await import("./product-tag-detail-MTFAPSG2.js");
|
|
4604
4781
|
return {
|
|
4605
4782
|
Component: Outlet4,
|
|
4606
4783
|
loader,
|
|
4607
4784
|
handle: {
|
|
4608
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4785
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
4609
4786
|
}
|
|
4610
4787
|
};
|
|
4611
4788
|
},
|
|
4612
4789
|
children: [
|
|
4613
4790
|
{
|
|
4614
4791
|
path: "",
|
|
4615
|
-
lazy: () => import("./product-tag-detail-
|
|
4792
|
+
lazy: () => import("./product-tag-detail-MTFAPSG2.js"),
|
|
4616
4793
|
children: [
|
|
4617
4794
|
{
|
|
4618
4795
|
path: "edit",
|
|
4619
|
-
lazy: () => import("./product-tag-edit-
|
|
4796
|
+
lazy: () => import("./product-tag-edit-O2ADFDD6.js")
|
|
4620
4797
|
},
|
|
4621
4798
|
{
|
|
4622
4799
|
path: "metadata/edit",
|
|
4623
|
-
lazy: () => import("./product-tag-metadata-
|
|
4800
|
+
lazy: () => import("./product-tag-metadata-SBOUTUXY.js")
|
|
4624
4801
|
}
|
|
4625
4802
|
]
|
|
4626
4803
|
}
|
|
@@ -4630,54 +4807,54 @@ function getRouteMap({
|
|
|
4630
4807
|
},
|
|
4631
4808
|
{
|
|
4632
4809
|
path: "attributes",
|
|
4633
|
-
errorElement: /* @__PURE__ */
|
|
4634
|
-
element: /* @__PURE__ */
|
|
4810
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
4811
|
+
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4635
4812
|
handle: {
|
|
4636
4813
|
breadcrumb: () => t("attributes.domain")
|
|
4637
4814
|
},
|
|
4638
4815
|
children: [
|
|
4639
4816
|
{
|
|
4640
4817
|
path: "",
|
|
4641
|
-
lazy: () => import("./attribute-list-
|
|
4818
|
+
lazy: () => import("./attribute-list-OHU2QMUG.js"),
|
|
4642
4819
|
children: [
|
|
4643
4820
|
{
|
|
4644
4821
|
path: "create",
|
|
4645
|
-
lazy: () => import("./attribute-create-
|
|
4822
|
+
lazy: () => import("./attribute-create-BYO7BDF5.js")
|
|
4646
4823
|
}
|
|
4647
4824
|
]
|
|
4648
4825
|
},
|
|
4649
4826
|
{
|
|
4650
4827
|
path: ":id",
|
|
4651
4828
|
lazy: async () => {
|
|
4652
|
-
const { Breadcrumb, loader } = await import("./attribute-detail-
|
|
4829
|
+
const { Breadcrumb, loader } = await import("./attribute-detail-36XP35P6.js");
|
|
4653
4830
|
return {
|
|
4654
4831
|
Component: Outlet4,
|
|
4655
4832
|
loader,
|
|
4656
4833
|
handle: {
|
|
4657
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4834
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
4658
4835
|
}
|
|
4659
4836
|
};
|
|
4660
4837
|
},
|
|
4661
4838
|
children: [
|
|
4662
4839
|
{
|
|
4663
4840
|
path: "",
|
|
4664
|
-
lazy: () => import("./attribute-detail-
|
|
4841
|
+
lazy: () => import("./attribute-detail-36XP35P6.js"),
|
|
4665
4842
|
children: [
|
|
4666
4843
|
{
|
|
4667
4844
|
path: "edit",
|
|
4668
|
-
lazy: () => import("./attribute-edit-
|
|
4845
|
+
lazy: () => import("./attribute-edit-WMJWHT7Z.js")
|
|
4669
4846
|
},
|
|
4670
4847
|
{
|
|
4671
4848
|
path: "edit-possible-value",
|
|
4672
|
-
lazy: () => import("./attribute-edit-possible-value-
|
|
4849
|
+
lazy: () => import("./attribute-edit-possible-value-KTUZ7YLW.js")
|
|
4673
4850
|
},
|
|
4674
4851
|
{
|
|
4675
4852
|
path: "create-possible-value",
|
|
4676
|
-
lazy: () => import("./attribute-create-possible-value-
|
|
4853
|
+
lazy: () => import("./attribute-create-possible-value-EXVHC272.js")
|
|
4677
4854
|
},
|
|
4678
4855
|
{
|
|
4679
4856
|
path: "edit-ranking",
|
|
4680
|
-
lazy: () => import("./attribute-edit-ranking-
|
|
4857
|
+
lazy: () => import("./attribute-edit-ranking-7AAAYEC7.js")
|
|
4681
4858
|
}
|
|
4682
4859
|
]
|
|
4683
4860
|
}
|
|
@@ -4687,15 +4864,15 @@ function getRouteMap({
|
|
|
4687
4864
|
},
|
|
4688
4865
|
{
|
|
4689
4866
|
path: "product-types",
|
|
4690
|
-
errorElement: /* @__PURE__ */
|
|
4691
|
-
element: /* @__PURE__ */
|
|
4867
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
4868
|
+
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4692
4869
|
handle: {
|
|
4693
4870
|
breadcrumb: () => t("productTypes.domain")
|
|
4694
4871
|
},
|
|
4695
4872
|
children: [
|
|
4696
4873
|
{
|
|
4697
4874
|
path: "",
|
|
4698
|
-
lazy: () => import("./product-type-list-
|
|
4875
|
+
lazy: () => import("./product-type-list-TM26QMHR.js"),
|
|
4699
4876
|
children: [
|
|
4700
4877
|
{
|
|
4701
4878
|
path: "create",
|
|
@@ -4706,19 +4883,19 @@ function getRouteMap({
|
|
|
4706
4883
|
{
|
|
4707
4884
|
path: ":id",
|
|
4708
4885
|
lazy: async () => {
|
|
4709
|
-
const { Breadcrumb, loader } = await import("./product-type-detail-
|
|
4886
|
+
const { Breadcrumb, loader } = await import("./product-type-detail-H4CZN27J.js");
|
|
4710
4887
|
return {
|
|
4711
4888
|
Component: Outlet4,
|
|
4712
4889
|
loader,
|
|
4713
4890
|
handle: {
|
|
4714
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4891
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
4715
4892
|
}
|
|
4716
4893
|
};
|
|
4717
4894
|
},
|
|
4718
4895
|
children: [
|
|
4719
4896
|
{
|
|
4720
4897
|
path: "",
|
|
4721
|
-
lazy: () => import("./product-type-detail-
|
|
4898
|
+
lazy: () => import("./product-type-detail-H4CZN27J.js"),
|
|
4722
4899
|
children: [
|
|
4723
4900
|
{
|
|
4724
4901
|
path: "edit",
|
|
@@ -4726,7 +4903,56 @@ function getRouteMap({
|
|
|
4726
4903
|
},
|
|
4727
4904
|
{
|
|
4728
4905
|
path: "metadata/edit",
|
|
4729
|
-
lazy: () => import("./product-type-metadata-
|
|
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")
|
|
4929
|
+
}
|
|
4930
|
+
]
|
|
4931
|
+
},
|
|
4932
|
+
{
|
|
4933
|
+
path: ":id",
|
|
4934
|
+
lazy: async () => {
|
|
4935
|
+
const { Breadcrumb, loader } = await import("./product-brand-detail-6MPQ3UFN.js");
|
|
4936
|
+
return {
|
|
4937
|
+
Component: Outlet4,
|
|
4938
|
+
loader,
|
|
4939
|
+
handle: {
|
|
4940
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
4941
|
+
}
|
|
4942
|
+
};
|
|
4943
|
+
},
|
|
4944
|
+
children: [
|
|
4945
|
+
{
|
|
4946
|
+
path: "",
|
|
4947
|
+
lazy: () => import("./product-brand-detail-6MPQ3UFN.js"),
|
|
4948
|
+
children: [
|
|
4949
|
+
{
|
|
4950
|
+
path: "edit",
|
|
4951
|
+
lazy: () => import("./product-brand-edit-3TQDHZNN.js")
|
|
4952
|
+
},
|
|
4953
|
+
{
|
|
4954
|
+
path: "metadata/edit",
|
|
4955
|
+
lazy: () => import("./product-brand-metadata-EAMW6PQJ.js")
|
|
4730
4956
|
}
|
|
4731
4957
|
]
|
|
4732
4958
|
}
|
|
@@ -4736,22 +4962,22 @@ function getRouteMap({
|
|
|
4736
4962
|
},
|
|
4737
4963
|
{
|
|
4738
4964
|
path: "publishable-api-keys",
|
|
4739
|
-
element: /* @__PURE__ */
|
|
4965
|
+
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4740
4966
|
handle: {
|
|
4741
4967
|
breadcrumb: () => t("apiKeyManagement.domain.publishable")
|
|
4742
4968
|
},
|
|
4743
4969
|
children: [
|
|
4744
4970
|
{
|
|
4745
4971
|
path: "",
|
|
4746
|
-
element: /* @__PURE__ */
|
|
4972
|
+
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4747
4973
|
children: [
|
|
4748
4974
|
{
|
|
4749
4975
|
path: "",
|
|
4750
|
-
lazy: () => import("./api-key-management-list-
|
|
4976
|
+
lazy: () => import("./api-key-management-list-JHBBXGHH.js"),
|
|
4751
4977
|
children: [
|
|
4752
4978
|
{
|
|
4753
4979
|
path: "create",
|
|
4754
|
-
lazy: () => import("./api-key-management-create-
|
|
4980
|
+
lazy: () => import("./api-key-management-create-7RWOCVAO.js")
|
|
4755
4981
|
}
|
|
4756
4982
|
]
|
|
4757
4983
|
}
|
|
@@ -4760,27 +4986,27 @@ function getRouteMap({
|
|
|
4760
4986
|
{
|
|
4761
4987
|
path: ":id",
|
|
4762
4988
|
lazy: async () => {
|
|
4763
|
-
const { Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
4989
|
+
const { Breadcrumb, loader } = await import("./api-key-management-detail-ZIIDMHFI.js");
|
|
4764
4990
|
return {
|
|
4765
4991
|
Component: Outlet4,
|
|
4766
4992
|
loader,
|
|
4767
4993
|
handle: {
|
|
4768
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4994
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
4769
4995
|
}
|
|
4770
4996
|
};
|
|
4771
4997
|
},
|
|
4772
4998
|
children: [
|
|
4773
4999
|
{
|
|
4774
5000
|
path: "",
|
|
4775
|
-
lazy: () => import("./api-key-management-detail-
|
|
5001
|
+
lazy: () => import("./api-key-management-detail-ZIIDMHFI.js"),
|
|
4776
5002
|
children: [
|
|
4777
5003
|
{
|
|
4778
5004
|
path: "edit",
|
|
4779
|
-
lazy: () => import("./api-key-management-edit-
|
|
5005
|
+
lazy: () => import("./api-key-management-edit-ACH6TJAX.js")
|
|
4780
5006
|
},
|
|
4781
5007
|
{
|
|
4782
5008
|
path: "sales-channels",
|
|
4783
|
-
lazy: () => import("./api-key-management-sales-channels-
|
|
5009
|
+
lazy: () => import("./api-key-management-sales-channels-XEBTUB5V.js")
|
|
4784
5010
|
}
|
|
4785
5011
|
]
|
|
4786
5012
|
}
|
|
@@ -4790,22 +5016,22 @@ function getRouteMap({
|
|
|
4790
5016
|
},
|
|
4791
5017
|
{
|
|
4792
5018
|
path: "secret-api-keys",
|
|
4793
|
-
element: /* @__PURE__ */
|
|
5019
|
+
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4794
5020
|
handle: {
|
|
4795
5021
|
breadcrumb: () => t("apiKeyManagement.domain.secret")
|
|
4796
5022
|
},
|
|
4797
5023
|
children: [
|
|
4798
5024
|
{
|
|
4799
5025
|
path: "",
|
|
4800
|
-
element: /* @__PURE__ */
|
|
5026
|
+
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4801
5027
|
children: [
|
|
4802
5028
|
{
|
|
4803
5029
|
path: "",
|
|
4804
|
-
lazy: () => import("./api-key-management-list-
|
|
5030
|
+
lazy: () => import("./api-key-management-list-JHBBXGHH.js"),
|
|
4805
5031
|
children: [
|
|
4806
5032
|
{
|
|
4807
5033
|
path: "create",
|
|
4808
|
-
lazy: () => import("./api-key-management-create-
|
|
5034
|
+
lazy: () => import("./api-key-management-create-7RWOCVAO.js")
|
|
4809
5035
|
}
|
|
4810
5036
|
]
|
|
4811
5037
|
}
|
|
@@ -4814,23 +5040,23 @@ function getRouteMap({
|
|
|
4814
5040
|
{
|
|
4815
5041
|
path: ":id",
|
|
4816
5042
|
lazy: async () => {
|
|
4817
|
-
const { Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
5043
|
+
const { Breadcrumb, loader } = await import("./api-key-management-detail-ZIIDMHFI.js");
|
|
4818
5044
|
return {
|
|
4819
5045
|
Component: Outlet4,
|
|
4820
5046
|
loader,
|
|
4821
5047
|
handle: {
|
|
4822
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
5048
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
4823
5049
|
}
|
|
4824
5050
|
};
|
|
4825
5051
|
},
|
|
4826
5052
|
children: [
|
|
4827
5053
|
{
|
|
4828
5054
|
path: "",
|
|
4829
|
-
lazy: () => import("./api-key-management-detail-
|
|
5055
|
+
lazy: () => import("./api-key-management-detail-ZIIDMHFI.js"),
|
|
4830
5056
|
children: [
|
|
4831
5057
|
{
|
|
4832
5058
|
path: "edit",
|
|
4833
|
-
lazy: () => import("./api-key-management-edit-
|
|
5059
|
+
lazy: () => import("./api-key-management-edit-ACH6TJAX.js")
|
|
4834
5060
|
}
|
|
4835
5061
|
]
|
|
4836
5062
|
}
|
|
@@ -4840,18 +5066,18 @@ function getRouteMap({
|
|
|
4840
5066
|
},
|
|
4841
5067
|
{
|
|
4842
5068
|
path: "tax-regions",
|
|
4843
|
-
element: /* @__PURE__ */
|
|
5069
|
+
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4844
5070
|
handle: {
|
|
4845
5071
|
breadcrumb: () => t("taxRegions.domain")
|
|
4846
5072
|
},
|
|
4847
5073
|
children: [
|
|
4848
5074
|
{
|
|
4849
5075
|
path: "",
|
|
4850
|
-
lazy: () => import("./tax-region-list-
|
|
5076
|
+
lazy: () => import("./tax-region-list-FIBHEFVD.js"),
|
|
4851
5077
|
children: [
|
|
4852
5078
|
{
|
|
4853
5079
|
path: "create",
|
|
4854
|
-
lazy: () => import("./tax-region-create-
|
|
5080
|
+
lazy: () => import("./tax-region-create-3KVECMFN.js")
|
|
4855
5081
|
}
|
|
4856
5082
|
]
|
|
4857
5083
|
},
|
|
@@ -4860,13 +5086,13 @@ function getRouteMap({
|
|
|
4860
5086
|
Component: Outlet4,
|
|
4861
5087
|
loader: taxRegionLoader,
|
|
4862
5088
|
handle: {
|
|
4863
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
5089
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(TaxRegionDetailBreadcrumb, { ...match })
|
|
4864
5090
|
},
|
|
4865
5091
|
children: [
|
|
4866
5092
|
{
|
|
4867
5093
|
path: "",
|
|
4868
5094
|
lazy: async () => {
|
|
4869
|
-
const { Component } = await import("./tax-region-detail-
|
|
5095
|
+
const { Component } = await import("./tax-region-detail-AOT4X4DZ.js");
|
|
4870
5096
|
return {
|
|
4871
5097
|
Component
|
|
4872
5098
|
};
|
|
@@ -4874,7 +5100,7 @@ function getRouteMap({
|
|
|
4874
5100
|
children: [
|
|
4875
5101
|
{
|
|
4876
5102
|
path: "edit",
|
|
4877
|
-
lazy: () => import("./tax-region-edit-
|
|
5103
|
+
lazy: () => import("./tax-region-edit-5T7VHKIA.js")
|
|
4878
5104
|
},
|
|
4879
5105
|
{
|
|
4880
5106
|
path: "provinces/create",
|
|
@@ -4882,11 +5108,11 @@ function getRouteMap({
|
|
|
4882
5108
|
},
|
|
4883
5109
|
{
|
|
4884
5110
|
path: "overrides/create",
|
|
4885
|
-
lazy: () => import("./tax-region-tax-override-create-
|
|
5111
|
+
lazy: () => import("./tax-region-tax-override-create-KVVY4AF2.js")
|
|
4886
5112
|
},
|
|
4887
5113
|
{
|
|
4888
5114
|
path: "overrides/:tax_rate_id/edit",
|
|
4889
|
-
lazy: () => import("./tax-region-tax-override-edit-
|
|
5115
|
+
lazy: () => import("./tax-region-tax-override-edit-TVX7SMJD.js")
|
|
4890
5116
|
},
|
|
4891
5117
|
{
|
|
4892
5118
|
path: "tax-rates/create",
|
|
@@ -4898,26 +5124,26 @@ function getRouteMap({
|
|
|
4898
5124
|
},
|
|
4899
5125
|
{
|
|
4900
5126
|
path: "metadata/edit",
|
|
4901
|
-
lazy: () => import("./tax-region-metadata-
|
|
5127
|
+
lazy: () => import("./tax-region-metadata-RSZCJGJT.js")
|
|
4902
5128
|
}
|
|
4903
5129
|
]
|
|
4904
5130
|
},
|
|
4905
5131
|
{
|
|
4906
5132
|
path: "provinces/:province_id",
|
|
4907
5133
|
lazy: async () => {
|
|
4908
|
-
const { Breadcrumb, loader } = await import("./tax-region-province-detail-
|
|
5134
|
+
const { Breadcrumb, loader } = await import("./tax-region-province-detail-XEMIX5SQ.js");
|
|
4909
5135
|
return {
|
|
4910
5136
|
Component: Outlet4,
|
|
4911
5137
|
loader,
|
|
4912
5138
|
handle: {
|
|
4913
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
5139
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx16(Breadcrumb, { ...match })
|
|
4914
5140
|
}
|
|
4915
5141
|
};
|
|
4916
5142
|
},
|
|
4917
5143
|
children: [
|
|
4918
5144
|
{
|
|
4919
5145
|
path: "",
|
|
4920
|
-
lazy: () => import("./tax-region-province-detail-
|
|
5146
|
+
lazy: () => import("./tax-region-province-detail-XEMIX5SQ.js"),
|
|
4921
5147
|
children: [
|
|
4922
5148
|
{
|
|
4923
5149
|
path: "tax-rates/create",
|
|
@@ -4929,11 +5155,11 @@ function getRouteMap({
|
|
|
4929
5155
|
},
|
|
4930
5156
|
{
|
|
4931
5157
|
path: "overrides/create",
|
|
4932
|
-
lazy: () => import("./tax-region-tax-override-create-
|
|
5158
|
+
lazy: () => import("./tax-region-tax-override-create-KVVY4AF2.js")
|
|
4933
5159
|
},
|
|
4934
5160
|
{
|
|
4935
5161
|
path: "overrides/:tax_rate_id/edit",
|
|
4936
|
-
lazy: () => import("./tax-region-tax-override-edit-
|
|
5162
|
+
lazy: () => import("./tax-region-tax-override-edit-TVX7SMJD.js")
|
|
4937
5163
|
}
|
|
4938
5164
|
]
|
|
4939
5165
|
}
|
|
@@ -4945,14 +5171,14 @@ function getRouteMap({
|
|
|
4945
5171
|
},
|
|
4946
5172
|
{
|
|
4947
5173
|
path: "return-reasons",
|
|
4948
|
-
element: /* @__PURE__ */
|
|
5174
|
+
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4949
5175
|
handle: {
|
|
4950
5176
|
breadcrumb: () => t("returnReasons.domain")
|
|
4951
5177
|
},
|
|
4952
5178
|
children: [
|
|
4953
5179
|
{
|
|
4954
5180
|
path: "",
|
|
4955
|
-
lazy: () => import("./return-reason-list-
|
|
5181
|
+
lazy: () => import("./return-reason-list-IHFO2LJK.js"),
|
|
4956
5182
|
children: [
|
|
4957
5183
|
{
|
|
4958
5184
|
path: "create",
|
|
@@ -4973,25 +5199,25 @@ function getRouteMap({
|
|
|
4973
5199
|
},
|
|
4974
5200
|
{
|
|
4975
5201
|
path: "refund-reasons",
|
|
4976
|
-
element: /* @__PURE__ */
|
|
5202
|
+
element: /* @__PURE__ */ jsx16(Outlet4, {}),
|
|
4977
5203
|
handle: {
|
|
4978
5204
|
breadcrumb: () => t("refundReasons.domain")
|
|
4979
5205
|
},
|
|
4980
5206
|
children: [
|
|
4981
5207
|
{
|
|
4982
5208
|
path: "",
|
|
4983
|
-
lazy: () => import("./refund-reason-list-
|
|
5209
|
+
lazy: () => import("./refund-reason-list-TAHJK4OX.js"),
|
|
4984
5210
|
children: [
|
|
4985
5211
|
{
|
|
4986
5212
|
path: "create",
|
|
4987
|
-
lazy: () => import("./refund-reason-create-
|
|
5213
|
+
lazy: () => import("./refund-reason-create-2KEQFOID.js")
|
|
4988
5214
|
},
|
|
4989
5215
|
{
|
|
4990
5216
|
path: ":id",
|
|
4991
5217
|
children: [
|
|
4992
5218
|
{
|
|
4993
5219
|
path: "edit",
|
|
4994
|
-
lazy: () => import("./refund-reason-edit-
|
|
5220
|
+
lazy: () => import("./refund-reason-edit-E7CB7SM3.js")
|
|
4995
5221
|
}
|
|
4996
5222
|
]
|
|
4997
5223
|
}
|
|
@@ -5006,18 +5232,18 @@ function getRouteMap({
|
|
|
5006
5232
|
]
|
|
5007
5233
|
},
|
|
5008
5234
|
{
|
|
5009
|
-
element: /* @__PURE__ */
|
|
5235
|
+
element: /* @__PURE__ */ jsx16(PublicLayout, {}),
|
|
5010
5236
|
children: [
|
|
5011
5237
|
{
|
|
5012
|
-
errorElement: /* @__PURE__ */
|
|
5238
|
+
errorElement: /* @__PURE__ */ jsx16(ErrorBoundary, {}),
|
|
5013
5239
|
children: [
|
|
5014
5240
|
{
|
|
5015
5241
|
path: "/login",
|
|
5016
|
-
lazy: () => import("./login-
|
|
5242
|
+
lazy: () => import("./login-6L3RMREO.js")
|
|
5017
5243
|
},
|
|
5018
5244
|
{
|
|
5019
5245
|
path: "/reset-password",
|
|
5020
|
-
lazy: () => import("./reset-password-
|
|
5246
|
+
lazy: () => import("./reset-password-2VNU52CE.js")
|
|
5021
5247
|
},
|
|
5022
5248
|
{
|
|
5023
5249
|
path: "/invite",
|
|
@@ -5037,7 +5263,7 @@ function getRouteMap({
|
|
|
5037
5263
|
|
|
5038
5264
|
// src/app.tsx
|
|
5039
5265
|
import { useMemo as useMemo5 } from "react";
|
|
5040
|
-
import { jsx as
|
|
5266
|
+
import { jsx as jsx17, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5041
5267
|
function App() {
|
|
5042
5268
|
const routes = useMemo5(() => {
|
|
5043
5269
|
return {
|
|
@@ -5045,10 +5271,10 @@ function App() {
|
|
|
5045
5271
|
mainRoutes: createRouteMap(getRoutesByType(customRoutes, "main")),
|
|
5046
5272
|
publicRoutes: createRouteMap(getRoutesByType(customRoutes, "public"))
|
|
5047
5273
|
};
|
|
5048
|
-
}, [
|
|
5049
|
-
return /* @__PURE__ */
|
|
5050
|
-
/* @__PURE__ */
|
|
5051
|
-
/* @__PURE__ */
|
|
5274
|
+
}, []);
|
|
5275
|
+
return /* @__PURE__ */ jsx17(TooltipProvider, { children: /* @__PURE__ */ jsx17(HelmetProvider, { children: /* @__PURE__ */ jsx17(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsxs11(ThemeProvider, { children: [
|
|
5276
|
+
/* @__PURE__ */ jsx17(I18n, {}),
|
|
5277
|
+
/* @__PURE__ */ jsx17(I18nProvider, { children: /* @__PURE__ */ jsx17(
|
|
5052
5278
|
RouterProvider,
|
|
5053
5279
|
{
|
|
5054
5280
|
router: createBrowserRouter(getRouteMap(routes), {
|
|
@@ -5056,7 +5282,7 @@ function App() {
|
|
|
5056
5282
|
})
|
|
5057
5283
|
}
|
|
5058
5284
|
) }),
|
|
5059
|
-
/* @__PURE__ */
|
|
5285
|
+
/* @__PURE__ */ jsx17(Toaster, {})
|
|
5060
5286
|
] }) }) }) });
|
|
5061
5287
|
}
|
|
5062
5288
|
export {
|