@mercurjs/admin 2.2.0-canary.1 → 2.2.0-canary.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{[id]-YI7UXOO2.js → [id]-BAPEFPAO.js} +10 -4
- package/dist/{add-campaign-promotions-OLNTDP26.js → add-campaign-promotions-KOGSYV2W.js} +3 -3
- package/dist/{adjust-inventory-CVWSBMHU.js → adjust-inventory-3IQ657W2.js} +12 -13
- package/dist/{api-key-management-create-7RWOCVAO.js → api-key-management-create-UD5V7TOU.js} +3 -3
- package/dist/{api-key-management-detail-ZIIDMHFI.js → api-key-management-detail-NBNHERF6.js} +14 -15
- package/dist/{api-key-management-edit-ACH6TJAX.js → api-key-management-edit-4TLKJSAE.js} +3 -3
- package/dist/{api-key-management-list-JHBBXGHH.js → api-key-management-list-SZUSD6UI.js} +4 -4
- package/dist/{api-key-management-sales-channels-XEBTUB5V.js → api-key-management-sales-channels-TK6XEGF3.js} +3 -3
- package/dist/{attribute-create-BYO7BDF5.js → attribute-create-IKTP5XRS.js} +57 -36
- package/dist/{attribute-detail-36XP35P6.js → attribute-detail-V4QI34FV.js} +15 -16
- package/dist/{attribute-edit-WMJWHT7Z.js → attribute-edit-LUY66TG3.js} +2 -2
- package/dist/{attribute-edit-possible-value-KTUZ7YLW.js → attribute-edit-possible-value-IOS3625C.js} +2 -2
- package/dist/{attribute-list-OHU2QMUG.js → attribute-list-EMPHZ32M.js} +12 -13
- package/dist/campaign-create-VFFIIRE4.js +1 -1
- package/dist/{campaign-detail-AZKBPDLC.js → campaign-detail-QY3AALUR.js} +16 -17
- package/dist/{categories-metadata-YZUP43OH.js → categories-metadata-Z5JAWPAK.js} +12 -13
- package/dist/{category-create-2MRYTSYM.js → category-create-GMCJABRW.js} +3 -3
- package/dist/{category-detail-KTFD3VVR.js → category-detail-IP5EPIUR.js} +19 -20
- package/dist/{category-edit-QLOS2LBA.js → category-edit-GLE4NTFG.js} +2 -2
- package/dist/{category-list-U7ZQBSZN.js → category-list-SNVOQ64L.js} +4 -4
- package/dist/{category-organize-TIKTYJFZ.js → category-organize-UY4M4N7S.js} +2 -2
- package/dist/{category-products-7P5DSQN4.js → category-products-HWXJR7KR.js} +16 -17
- package/dist/{chunk-YLKG7W4P.js → chunk-2OF7GB7J.js} +1 -1
- package/dist/{chunk-EJTB2SLE.js → chunk-3AO6X4CE.js} +1 -1
- package/dist/{chunk-PCLSODMO.js → chunk-3HY4I76Q.js} +115 -180
- package/dist/{chunk-CYGIJOA5.js → chunk-3VDLE5GA.js} +12 -4
- package/dist/{chunk-JQBSPUH2.js → chunk-3XSC3NEG.js} +14 -1
- package/dist/{chunk-OSEIN4Y2.js → chunk-453BC56K.js} +1 -1
- package/dist/{chunk-ALATTLBM.js → chunk-4GFS57XI.js} +1 -1
- package/dist/{chunk-BCVUMATY.js → chunk-4PU6GDCE.js} +3 -3
- package/dist/{chunk-ZSFJVRRS.js → chunk-5AZCIOS4.js} +1 -1
- package/dist/{chunk-2S6VXFBZ.js → chunk-5FFZQPTT.js} +4 -4
- package/dist/chunk-5UPOHLBD.js +213 -0
- package/dist/{chunk-LLOKYZMI.js → chunk-623TMW36.js} +1 -1
- package/dist/{chunk-S5BJ5CMF.js → chunk-6FHQCLHQ.js} +1 -1
- package/dist/{chunk-TITPJHIL.js → chunk-72PLRAWM.js} +1 -1
- package/dist/{chunk-H23AKDB2.js → chunk-7KZ5X5SU.js} +4 -4
- package/dist/chunk-7MMLCMV3.js +142 -0
- package/dist/{chunk-637OFDFC.js → chunk-A62MTLPR.js} +52 -76
- package/dist/{chunk-DOSKHIRH.js → chunk-ABWW3JHS.js} +8 -8
- package/dist/{chunk-UXD3VNBO.js → chunk-AJLGY3LQ.js} +1 -2
- package/dist/{chunk-TP7L6M7V.js → chunk-BPCU5QJE.js} +1 -1
- package/dist/{chunk-RKH3A4O3.js → chunk-BQ6ZDY6L.js} +6 -6
- package/dist/{chunk-LCGLQNOI.js → chunk-CVZA23ES.js} +3 -3
- package/dist/{chunk-UPNMDPFX.js → chunk-CYGCCNIC.js} +4 -4
- package/dist/{chunk-WS63IRBI.js → chunk-D2VXOF46.js} +6 -6
- package/dist/{chunk-GKW445WA.js → chunk-DELK6EWH.js} +13 -187
- package/dist/{chunk-AB2LHP3M.js → chunk-DJWOIRLV.js} +1 -1
- package/dist/{chunk-H5PYBIOZ.js → chunk-DN2K5EAH.js} +1 -1
- package/dist/{chunk-EREXPX6I.js → chunk-EBYWGIOR.js} +23 -37
- package/dist/{chunk-W7NN2EFL.js → chunk-EGTH3PUK.js} +4 -4
- package/dist/{chunk-XODRTI2W.js → chunk-EMQP2CNF.js} +4 -4
- package/dist/{chunk-PXTJJQKJ.js → chunk-ENFXIYIH.js} +1 -1
- package/dist/{chunk-BLYJZMNE.js → chunk-EYFWEKFJ.js} +2 -2
- package/dist/{chunk-LT3REHJG.js → chunk-F52JLHE3.js} +101 -405
- package/dist/{chunk-WKCYMDTV.js → chunk-FDD7TANX.js} +1 -1
- package/dist/{chunk-3EDQIZV6.js → chunk-G5DQCCPL.js} +2 -2
- package/dist/chunk-GVEF6UDT.js +8 -0
- package/dist/{chunk-2YYXP6XI.js → chunk-H3MAUKL7.js} +13 -29
- package/dist/{chunk-77T2UI6L.js → chunk-H4EHUOWL.js} +308 -209
- package/dist/{chunk-A4UQKKGC.js → chunk-HDOWEXDH.js} +3 -3
- package/dist/{chunk-Y3NVKGGI.js → chunk-HEGPAGJT.js} +2 -2
- package/dist/{chunk-3P4VTL4S.js → chunk-IQZ3T2Q4.js} +1 -1
- package/dist/{chunk-Y2M536WR.js → chunk-JHBNG7OD.js} +17 -0
- package/dist/{chunk-GLPS6QFG.js → chunk-JSH7JEKY.js} +4 -8
- package/dist/{chunk-57BHSFNA.js → chunk-JSMUFZZN.js} +1 -1
- package/dist/{chunk-QIU6DJY6.js → chunk-K4WU4PVL.js} +1 -1
- package/dist/{chunk-V6OGMYAI.js → chunk-KT7X72J4.js} +158 -169
- package/dist/{chunk-G4PROEJI.js → chunk-LGL4QSGB.js} +3 -3
- package/dist/{chunk-AXTQMIIK.js → chunk-LJDGVBOQ.js} +8 -27
- package/dist/{chunk-YGAX72XV.js → chunk-LO2ZWQGL.js} +0 -2
- package/dist/{chunk-NQBSSM5V.js → chunk-M572YFDA.js} +4 -4
- package/dist/{chunk-K4TGNN4P.js → chunk-MEXH366L.js} +2 -2
- package/dist/{chunk-NZ2LHIKD.js → chunk-MR3MLNWV.js} +3 -3
- package/dist/{chunk-TGFZ4UBK.js → chunk-MVDPDVMI.js} +5 -5
- package/dist/{chunk-P25PIADJ.js → chunk-N4GJRJF5.js} +1 -1
- package/dist/{chunk-BE6JLTMI.js → chunk-N6YOACEW.js} +1 -1
- package/dist/{chunk-ED7XNGZD.js → chunk-N7OVIX55.js} +1 -1
- package/dist/{chunk-2LQ5SCPB.js → chunk-NGDOLGBQ.js} +18 -6
- package/dist/{chunk-FTAR3BDS.js → chunk-NJP3DEE5.js} +1 -1
- package/dist/{chunk-MN3AEVR7.js → chunk-O2XHQTBX.js} +4 -4
- package/dist/{chunk-GNLPUGYK.js → chunk-OFOKVLV3.js} +2 -2
- package/dist/{chunk-CBG4E3M3.js → chunk-OMBP3YSV.js} +1 -1
- package/dist/{chunk-A772RAKB.js → chunk-P5XVG4PY.js} +1 -1
- package/dist/{chunk-CKACZXMP.js → chunk-PASEZJC7.js} +1 -1
- package/dist/chunk-PT5PLV3N.js +78 -0
- package/dist/{chunk-3IVTUFBM.js → chunk-PXKDYD3M.js} +1 -1
- package/dist/{chunk-HWBUIBJD.js → chunk-QLEGHL2Q.js} +6 -6
- package/dist/{chunk-3B6MTW5G.js → chunk-QUHSHIAC.js} +3 -0
- package/dist/{chunk-BHOZKBYY.js → chunk-QUPUWR42.js} +1 -1
- package/dist/{chunk-6AZKWCVL.js → chunk-R7ESTJHN.js} +5 -5
- package/dist/{chunk-6FIU2V6Y.js → chunk-SJGIQGEC.js} +1 -1
- package/dist/{chunk-SRDK3XX7.js → chunk-SUVFPJ4J.js} +5 -5
- package/dist/{chunk-WDH5C2NS.js → chunk-TE4IF3MM.js} +1 -1
- package/dist/{chunk-ELM74U2R.js → chunk-TZDRRTAX.js} +2 -2
- package/dist/{chunk-IRTI3AS3.js → chunk-UCX2T4BQ.js} +2 -2
- package/dist/{chunk-2MDGYHWN.js → chunk-UCYSCKZV.js} +1328 -1379
- package/dist/chunk-UIVWOKWT.js +63 -0
- package/dist/{chunk-ZHOI4QMK.js → chunk-UXGLM3B4.js} +1 -1
- package/dist/{chunk-D5T7QOVY.js → chunk-VT5E7OMM.js} +2 -2
- package/dist/{chunk-B3EEDC47.js → chunk-VT6QIVZW.js} +0 -93
- package/dist/{chunk-CBGXKU7Z.js → chunk-VY7PT4SI.js} +4 -4
- package/dist/{chunk-BGGUVHDG.js → chunk-W3FDZPPF.js} +82 -271
- package/dist/{chunk-Q6I2IKJB.js → chunk-W6V2L2FX.js} +2 -2
- package/dist/{chunk-SG76L7C7.js → chunk-WPVDACTL.js} +1 -2
- package/dist/{chunk-UXQAHUGZ.js → chunk-WTK4MLMF.js} +1 -1
- package/dist/{chunk-N2LH7A4X.js → chunk-X7H7TIOT.js} +9 -9
- package/dist/{chunk-S4SVK5DE.js → chunk-YVLANFBK.js} +29 -1
- package/dist/{chunk-XZZTC7E5.js → chunk-Z5T5EPLF.js} +1 -1
- package/dist/{chunk-WNYDGJ3E.js → chunk-ZO7A6VYP.js} +6 -6
- package/dist/{collection-add-products-XL2TAKQD.js → collection-add-products-ABWXUOFD.js} +16 -17
- package/dist/{collection-create-HUNYHKUJ.js → collection-create-BRMP6SIZ.js} +2 -2
- package/dist/{collection-detail-2DSZVOI7.js → collection-detail-AMGR2B5N.js} +17 -18
- package/dist/{collection-edit-OQGYTQDO.js → collection-edit-YLWUEU4C.js} +2 -2
- package/dist/{collection-list-NGCW7OTG.js → collection-list-6HZE43AC.js} +18 -19
- package/dist/{collection-metadata-47N7TUOH.js → collection-metadata-JS5QP3GD.js} +12 -13
- package/dist/{commission-rate-create-BQY3UGKV.js → commission-rate-create-PSPSJZR5.js} +23 -24
- package/dist/{commission-rate-detail-LAZZLZVX.js → commission-rate-detail-U72E4ZIO.js} +13 -14
- package/dist/{commission-rate-edit-DAFXNYYN.js → commission-rate-edit-7NJPABVA.js} +23 -24
- package/dist/{constants-26tEckuq.d.ts → constants-Bahlh59D.d.ts} +8 -4
- package/dist/{customer-detail-D5SSLNFT.js → customer-detail-2RWBN6C4.js} +16 -17
- package/dist/{customer-group-detail-KRT7E2JA.js → customer-group-detail-ED66F7JM.js} +12 -13
- package/dist/{customer-group-list-KKDIESQ6.js → customer-group-list-6YUFKBHH.js} +12 -13
- package/dist/{customer-group-metadata-J6JY7DZ3.js → customer-group-metadata-VQUOWR3P.js} +12 -13
- package/dist/{customer-metadata-AH2LBK4T.js → customer-metadata-47AVJXRI.js} +12 -13
- package/dist/{customers-add-customer-group-AHGAPEIS.js → customers-add-customer-group-HI7J7YKN.js} +12 -13
- package/dist/{edit-inventory-item-ADNLKLCN.js → edit-inventory-item-MBPSBJL4.js} +12 -13
- package/dist/{edit-inventory-item-attributes-XVR2WLDU.js → edit-inventory-item-attributes-RVYWOFAC.js} +12 -13
- package/dist/{edit-reservation-HQQL42QX.js → edit-reservation-7BLGYXCJ.js} +5 -5
- package/dist/{edit-rules-YMKM5JPI.js → edit-rules-ZWDKM5M3.js} +13 -14
- package/dist/index.d.ts +2 -2
- package/dist/index.js +500 -566
- package/dist/{inventory-create-IVESXFSV.js → inventory-create-Q4VBPXSG.js} +15 -16
- package/dist/{inventory-detail-TINIAFVB.js → inventory-detail-6CKO3A3Y.js} +13 -14
- package/dist/{inventory-list-YLIAKQXI.js → inventory-list-2JGX6BRI.js} +2 -2
- package/dist/{inventory-metadata-6INRH2JC.js → inventory-metadata-COGGE5ZR.js} +12 -13
- package/dist/{inventory-stock-6YGTATID.js → inventory-stock-2QIKS7LE.js} +196 -35
- package/dist/{loader-6KDBTRVR.js → loader-OU7SKXOD.js} +4 -2
- package/dist/{location-detail-EK2S7WOK.js → location-detail-HOCNTQ7K.js} +14 -15
- package/dist/{location-fulfillment-providers-KUUNC2KP.js → location-fulfillment-providers-YQ2XFPAJ.js} +15 -16
- package/dist/{location-list-IV323QW2.js → location-list-I2UMU25V.js} +12 -13
- package/dist/{location-sales-channels-EYUXMTW7.js → location-sales-channels-GKIWX6B2.js} +2 -2
- package/dist/{location-service-zone-shipping-option-create-36JZFRGY.js → location-service-zone-shipping-option-create-6GYLJHEC.js} +15 -16
- package/dist/{location-service-zone-shipping-option-pricing-JLGCOZGS.js → location-service-zone-shipping-option-pricing-POBJOF3Z.js} +7 -7
- package/dist/{login-6L3RMREO.js → login-N7CVSQNG.js} +12 -13
- package/dist/{manage-locations-CFTM6DNH.js → manage-locations-TKLOHP3D.js} +1 -1
- package/dist/{marketplace-detail-BAU2MEJT.js → marketplace-detail-K52ALYGT.js} +16 -17
- package/dist/{marketplace-metadata-KRCGKOCA.js → marketplace-metadata-ZSX3IQF4.js} +15 -16
- package/dist/{offers-IFKM6EQT.js → offers-UBD6NICA.js} +6 -4
- package/dist/{order-create-claim-RMDDCUZ6.js → order-create-claim-OVHMMR3J.js} +268 -243
- package/dist/{order-create-edit-PQ54JFZZ.js → order-create-edit-HEOYCYZO.js} +205 -110
- package/dist/{order-create-exchange-T6DBVS75.js → order-create-exchange-L56VKQBL.js} +269 -242
- package/dist/{order-create-refund-OW3MIXBY.js → order-create-refund-UTJKJ3AJ.js} +16 -17
- package/dist/{order-create-return-YCX6C3VP.js → order-create-return-FLGYGUTQ.js} +45 -18
- package/dist/{order-detail-2OAEGBQG.js → order-detail-KAB4MV7X.js} +20 -22
- package/dist/{order-edit-billing-address-VGZBQHF5.js → order-edit-billing-address-RUURVISC.js} +14 -15
- package/dist/{order-edit-email-OOCXVRET.js → order-edit-email-OO7AMRHC.js} +13 -14
- package/dist/{order-edit-shipping-address-B4F3E5RE.js → order-edit-shipping-address-BRRXUE76.js} +13 -14
- package/dist/{order-list-DQTMCEFD.js → order-list-S3AJC6L5.js} +7 -7
- package/dist/{order-metadata-AN6MPHHT.js → order-metadata-OHK6TPAO.js} +12 -13
- package/dist/{order-request-transfer-A2NJSQ4H.js → order-request-transfer-YLMXC7NL.js} +13 -14
- package/dist/pages/index.d.ts +36 -316
- package/dist/pages/index.js +103 -114
- package/dist/{price-list-configuration-XAHXLCXR.js → price-list-configuration-Q5H22ZE2.js} +2 -2
- package/dist/{price-list-create-37SCDSPN.js → price-list-create-OYAVGRM5.js} +19 -20
- package/dist/{price-list-detail-4Q2HBLAM.js → price-list-detail-Q4GFFUFG.js} +18 -19
- package/dist/{price-list-edit-ZVLD4M5T.js → price-list-edit-YY4SXEI3.js} +2 -2
- package/dist/{price-list-list-ER4TOZTY.js → price-list-list-OIOY43TF.js} +4 -4
- package/dist/{price-list-prices-add-UASPZXKT.js → price-list-prices-add-KONZVSVQ.js} +19 -20
- package/dist/{price-list-prices-edit-WHCIGSB2.js → price-list-prices-edit-SMUKU7Q6.js} +14 -15
- package/dist/{product-add-existing-attributes-7HEJUR6J.js → product-add-existing-attributes-GGRRNFDK.js} +57 -21
- package/dist/{product-attributes-MHRXZK5S.js → product-attributes-C3KHQF2I.js} +2 -2
- package/dist/{product-bulk-edit-J6ZP7GGM.js → product-bulk-edit-J3CMBZN2.js} +5 -7
- package/dist/{product-create-KHJWRSUB.js → product-create-UR5OFGUY.js} +20 -21
- package/dist/{product-create-attribute-ZT3VZDNZ.js → product-create-attribute-XARMC6FJ.js} +73 -45
- package/dist/product-create-variant-6VUKYLWE.js +20 -0
- package/dist/{product-detail-GLISGO65.js → product-detail-5IEJPONZ.js} +15 -17
- package/dist/{product-edit-EKAZRIJ6.js → product-edit-F4CKOIUO.js} +2 -4
- package/dist/product-edit-attribute-LG2ZM6HQ.js +175 -0
- package/dist/{product-list-2CTGPDDT.js → product-list-2BWYAATR.js} +18 -19
- package/dist/{product-media-KREKRDOC.js → product-media-EUDMCJ75.js} +5 -5
- package/dist/{product-metadata-O3BAEUYB.js → product-metadata-5WVNFCRL.js} +13 -14
- package/dist/{product-organization-SBQY44IF.js → product-organization-BFWDCHP4.js} +4 -47
- package/dist/{product-sales-channels-TFOGXCMI.js → product-sales-channels-WKQSYOEX.js} +3 -3
- package/dist/{product-shipping-profile-E4HJ4EYW.js → product-shipping-profile-WDLKA2SN.js} +2 -2
- package/dist/{product-tag-create-7JBM6I3V.js → product-tag-create-KQSVCWMC.js} +12 -13
- package/dist/{product-tag-detail-MTFAPSG2.js → product-tag-detail-CWDAY7F3.js} +22 -23
- package/dist/{product-tag-edit-O2ADFDD6.js → product-tag-edit-B4SIZCUK.js} +12 -13
- package/dist/{product-tag-list-EOULJIYQ.js → product-tag-list-2OK3OCMZ.js} +22 -23
- package/dist/{product-tag-metadata-SBOUTUXY.js → product-tag-metadata-MASTMIKE.js} +12 -13
- package/dist/{product-type-detail-H4CZN27J.js → product-type-detail-3X7ZTZJN.js} +17 -18
- package/dist/{product-type-metadata-KN5OXR6J.js → product-type-metadata-6BKTQHQC.js} +12 -13
- package/dist/{product-variant-detail-H2YRFDAU.js → product-variant-detail-PQ4RKPZT.js} +17 -27
- package/dist/{product-variant-edit-6W7LKCEE.js → product-variant-edit-TLF475SH.js} +163 -254
- package/dist/{product-variant-metadata-QESZ7VS2.js → product-variant-metadata-3M72B3PM.js} +12 -13
- package/dist/{promotion-create-TGC6BVWF.js → promotion-create-OKZBUSJD.js} +14 -15
- package/dist/{promotion-detail-VYIXZMMD.js → promotion-detail-MMNEDRXD.js} +15 -16
- package/dist/{promotion-list-C3SKV5BJ.js → promotion-list-DHWW7FTI.js} +4 -4
- package/dist/{refund-reason-create-2KEQFOID.js → refund-reason-create-N4DZ4UHS.js} +12 -13
- package/dist/{refund-reason-edit-E7CB7SM3.js → refund-reason-edit-OAHRDKXW.js} +12 -13
- package/dist/{refund-reason-list-TAHJK4OX.js → refund-reason-list-YLH4LD4S.js} +19 -20
- package/dist/{region-metadata-723RQGHS.js → region-metadata-BJSTTZFL.js} +15 -16
- package/dist/{reservation-create-Y3HG4AZA.js → reservation-create-TXYAY3KF.js} +4 -4
- package/dist/{reservation-detail-HQMADZ56.js → reservation-detail-CEENG76D.js} +16 -17
- package/dist/{reservation-list-YKC3JJ6K.js → reservation-list-SORWYHI4.js} +3 -3
- package/dist/{reservation-metadata-UG4YTEMY.js → reservation-metadata-G3QBZF4K.js} +15 -16
- package/dist/{reset-password-2VNU52CE.js → reset-password-QGQ4GAHK.js} +1 -1
- package/dist/{return-reason-list-IHFO2LJK.js → return-reason-list-7HTIV7NK.js} +7 -7
- package/dist/{sales-channel-add-products-YZTQ2SDS.js → sales-channel-add-products-3VZ5SLLP.js} +16 -17
- package/dist/{sales-channel-create-BSNCLZWR.js → sales-channel-create-XBR3QESI.js} +2 -2
- package/dist/{sales-channel-detail-67G7K3IE.js → sales-channel-detail-PHRSKCNM.js} +17 -18
- package/dist/{sales-channel-edit-FUDXMZYV.js → sales-channel-edit-ILBZBQP4.js} +2 -2
- package/dist/{sales-channel-list-GYLGH4U7.js → sales-channel-list-3GCESYAM.js} +13 -14
- package/dist/{sales-channel-metadata-H6RSHKVP.js → sales-channel-metadata-HVPGS756.js} +12 -13
- package/dist/{shipping-option-type-create-QAOW7753.js → shipping-option-type-create-3ZKT7WAC.js} +12 -13
- package/dist/{shipping-option-type-detail-QGWVDTDU.js → shipping-option-type-detail-IYXWAK7F.js} +14 -15
- package/dist/{shipping-option-type-edit-WXYBDRNY.js → shipping-option-type-edit-QRXYNNRW.js} +12 -13
- package/dist/{shipping-option-type-list-YSWP6DSC.js → shipping-option-type-list-MLIDCA3L.js} +14 -15
- package/dist/{shipping-profile-metadata-UE53IA3J.js → shipping-profile-metadata-T4HPNTLH.js} +12 -13
- package/dist/{store-bulk-edit-UYNQ2CPG.js → store-bulk-edit-BNF3HH5K.js} +2 -2
- package/dist/{store-create-WNFRHXWR.js → store-create-KFLNOD73.js} +15 -16
- package/dist/{store-details-R2GQU7HE.js → store-details-E347PHAN.js} +21 -36
- package/dist/{store-edit-UW3QOFFX.js → store-edit-Y6NLBIOP.js} +6 -6
- package/dist/{store-list-5CV7VJLO.js → store-list-S2L44OLB.js} +18 -19
- package/dist/{store-member-invite-M4NVBUXM.js → store-member-invite-J5XSPWMW.js} +1 -1
- package/dist/{tax-region-create-3KVECMFN.js → tax-region-create-MIDQXQS4.js} +13 -14
- package/dist/{tax-region-detail-AOT4X4DZ.js → tax-region-detail-AC7B3G57.js} +14 -15
- package/dist/{tax-region-edit-5T7VHKIA.js → tax-region-edit-5CORTHTC.js} +12 -13
- package/dist/{tax-region-metadata-RSZCJGJT.js → tax-region-metadata-QQZIQPAD.js} +12 -13
- package/dist/{tax-region-province-detail-XEMIX5SQ.js → tax-region-province-detail-2MGX7LEO.js} +14 -15
- package/dist/{tax-region-tax-override-create-KVVY4AF2.js → tax-region-tax-override-create-IONGD4TG.js} +21 -22
- package/dist/{tax-region-tax-override-edit-TVX7SMJD.js → tax-region-tax-override-edit-RIT6YRVK.js} +21 -22
- package/dist/{user-detail-W7DGVXDZ.js → user-detail-MMVBN3AE.js} +1 -1
- package/dist/{user-metadata-3AFZX3DM.js → user-metadata-OZLU3Y2X.js} +12 -13
- package/package.json +5 -5
- package/dist/chunk-ABFL4ACD.js +0 -207
- package/dist/chunk-IEPNHH7Z.js +0 -170
- package/dist/chunk-J65IXAGI.js +0 -292
- package/dist/chunk-QSGR43JM.js +0 -30
- package/dist/chunk-RQ4NMLSS.js +0 -8
- package/dist/chunk-RXM4B6HR.js +0 -8
- package/dist/chunk-U7XILJH6.js +0 -423
- package/dist/chunk-UM7ZR3VU.js +0 -14
- package/dist/chunk-UR6HGBFE.js +0 -652
- package/dist/chunk-V5XHY5LP.js +0 -39
- package/dist/chunk-WV4SQ57G.js +0 -141
- package/dist/chunk-ZZ3XFIEM.js +0 -84
- package/dist/order-allocate-items-DJ2V4B7A.js +0 -563
- package/dist/order-create-fulfillment-SMSUJSBN.js +0 -644
- package/dist/order-create-shipment-5ZAWH5CZ.js +0 -215
- package/dist/order-receive-return-DZ4IUOHY.js +0 -563
- package/dist/product-brand-create-B3ZJGHUQ.js +0 -171
- package/dist/product-brand-detail-6MPQ3UFN.js +0 -100
- package/dist/product-brand-edit-3TQDHZNN.js +0 -179
- package/dist/product-brand-list-ZBPBSRQN.js +0 -30
- package/dist/product-brand-metadata-EAMW6PQJ.js +0 -87
- package/dist/product-create-option-NIAP75EE.js +0 -130
- package/dist/product-create-variant-LCE47YFO.js +0 -60
- package/dist/product-edit-option-OZUZGMIM.js +0 -166
- package/dist/product-prices-R5JOHVGS.js +0 -267
- package/dist/product-stock-EIP2XJUR.js +0 -545
- package/dist/product-variant-manage-inventory-items-Q5MJG3EJ.js +0 -337
- package/dist/{chunk-WVKVPGJW.js → chunk-FNKBJCNF.js} +3 -3
- package/dist/{promotion-add-campaign-O3RTMS3W.js → promotion-add-campaign-S3JJSFHT.js} +2 -2
package/dist/index.js
CHANGED
|
@@ -8,9 +8,6 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
InfiniteList
|
|
10
10
|
} from "./chunk-WMA3WTCM.js";
|
|
11
|
-
import {
|
|
12
|
-
ProgressBar
|
|
13
|
-
} from "./chunk-QSGR43JM.js";
|
|
14
11
|
import "./chunk-FMFVTERD.js";
|
|
15
12
|
import "./chunk-JRTZWK77.js";
|
|
16
13
|
import "./chunk-FQERBIVS.js";
|
|
@@ -26,7 +23,7 @@ import {
|
|
|
26
23
|
} from "./chunk-4KX6CBJ4.js";
|
|
27
24
|
import {
|
|
28
25
|
I18n
|
|
29
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-A62MTLPR.js";
|
|
30
27
|
import {
|
|
31
28
|
TabbedForm,
|
|
32
29
|
defineTabMeta,
|
|
@@ -47,7 +44,7 @@ import {
|
|
|
47
44
|
import {
|
|
48
45
|
PRODUCT_DETAIL_FIELDS,
|
|
49
46
|
PRODUCT_DETAIL_QUERY
|
|
50
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-GVEF6UDT.js";
|
|
51
48
|
import {
|
|
52
49
|
Thumbnail
|
|
53
50
|
} from "./chunk-WIYFXWRI.js";
|
|
@@ -60,22 +57,22 @@ import {
|
|
|
60
57
|
notificationQueryKeys,
|
|
61
58
|
useNotifications,
|
|
62
59
|
useProductTags
|
|
63
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-LJDGVBOQ.js";
|
|
64
61
|
import {
|
|
65
62
|
useLogout
|
|
66
63
|
} from "./chunk-OH4AABUT.js";
|
|
67
64
|
import "./chunk-AEMDNTW5.js";
|
|
68
65
|
import "./chunk-LYD3C73Z.js";
|
|
69
|
-
import "./chunk-FTAR3BDS.js";
|
|
70
66
|
import {
|
|
71
67
|
useProductTypes
|
|
72
68
|
} from "./chunk-46M463BR.js";
|
|
73
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-NJP3DEE5.js";
|
|
74
70
|
import "./chunk-533GMKEG.js";
|
|
75
71
|
import "./chunk-YFRC6GEN.js";
|
|
76
72
|
import "./chunk-DAXXLQKB.js";
|
|
77
73
|
import "./chunk-OHOWEMHO.js";
|
|
78
74
|
import "./chunk-JPNPTILP.js";
|
|
75
|
+
import "./chunk-ESPLVOFC.js";
|
|
79
76
|
import {
|
|
80
77
|
useMe
|
|
81
78
|
} from "./chunk-GKGLVDDV.js";
|
|
@@ -84,14 +81,19 @@ import "./chunk-WJJXUXSO.js";
|
|
|
84
81
|
import "./chunk-LAPEZATU.js";
|
|
85
82
|
import {
|
|
86
83
|
usePriceLists
|
|
87
|
-
} from "./chunk-
|
|
84
|
+
} from "./chunk-453BC56K.js";
|
|
88
85
|
import {
|
|
89
86
|
useCollections
|
|
90
|
-
} from "./chunk-
|
|
87
|
+
} from "./chunk-Z5T5EPLF.js";
|
|
88
|
+
import {
|
|
89
|
+
useStore
|
|
90
|
+
} from "./chunk-FXWKGNRV.js";
|
|
91
|
+
import "./chunk-VDKOJ5WD.js";
|
|
91
92
|
import {
|
|
92
93
|
useCampaigns,
|
|
93
94
|
usePromotions
|
|
94
95
|
} from "./chunk-ZN7LWXVC.js";
|
|
96
|
+
import "./chunk-P5XVG4PY.js";
|
|
95
97
|
import "./chunk-VYMODH6P.js";
|
|
96
98
|
import {
|
|
97
99
|
useSellers
|
|
@@ -105,20 +107,14 @@ import {
|
|
|
105
107
|
} from "./chunk-EPHVGD5Z.js";
|
|
106
108
|
import {
|
|
107
109
|
useOrders
|
|
108
|
-
} from "./chunk-
|
|
109
|
-
import "./chunk-A772RAKB.js";
|
|
110
|
-
import "./chunk-ESPLVOFC.js";
|
|
111
|
-
import {
|
|
112
|
-
useStore
|
|
113
|
-
} from "./chunk-FXWKGNRV.js";
|
|
114
|
-
import "./chunk-VDKOJ5WD.js";
|
|
110
|
+
} from "./chunk-VT6QIVZW.js";
|
|
115
111
|
import {
|
|
116
112
|
ActionMenu
|
|
117
113
|
} from "./chunk-BDGZ4EQO.js";
|
|
118
|
-
import "./chunk-
|
|
114
|
+
import "./chunk-6FHQCLHQ.js";
|
|
119
115
|
import {
|
|
120
116
|
useProductCategories
|
|
121
|
-
} from "./chunk-
|
|
117
|
+
} from "./chunk-DN2K5EAH.js";
|
|
122
118
|
import {
|
|
123
119
|
ConditionalTooltip
|
|
124
120
|
} from "./chunk-LAVHRER2.js";
|
|
@@ -131,7 +127,7 @@ import {
|
|
|
131
127
|
import {
|
|
132
128
|
useInventoryItems,
|
|
133
129
|
useProducts
|
|
134
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-H3MAUKL7.js";
|
|
135
131
|
import {
|
|
136
132
|
queryClient
|
|
137
133
|
} from "./chunk-RHKRREUU.js";
|
|
@@ -1760,6 +1756,33 @@ import {
|
|
|
1760
1756
|
useNavigation
|
|
1761
1757
|
} from "react-router-dom";
|
|
1762
1758
|
|
|
1759
|
+
// src/components/common/progress-bar/progress-bar.tsx
|
|
1760
|
+
import { motion } from "motion/react";
|
|
1761
|
+
import { jsx as jsx8 } from "react/jsx-runtime";
|
|
1762
|
+
var ProgressBar = ({ duration = 2 }) => {
|
|
1763
|
+
return /* @__PURE__ */ jsx8(
|
|
1764
|
+
motion.div,
|
|
1765
|
+
{
|
|
1766
|
+
className: "bg-ui-fg-subtle size-full",
|
|
1767
|
+
initial: {
|
|
1768
|
+
width: "0%"
|
|
1769
|
+
},
|
|
1770
|
+
transition: {
|
|
1771
|
+
delay: 0.2,
|
|
1772
|
+
duration,
|
|
1773
|
+
ease: "linear"
|
|
1774
|
+
},
|
|
1775
|
+
animate: {
|
|
1776
|
+
width: "90%"
|
|
1777
|
+
},
|
|
1778
|
+
exit: {
|
|
1779
|
+
width: "100%",
|
|
1780
|
+
transition: { duration: 0.2, ease: "linear" }
|
|
1781
|
+
}
|
|
1782
|
+
}
|
|
1783
|
+
);
|
|
1784
|
+
};
|
|
1785
|
+
|
|
1763
1786
|
// src/components/layout/notifications/notifications.tsx
|
|
1764
1787
|
import {
|
|
1765
1788
|
BellAlert,
|
|
@@ -1774,7 +1797,7 @@ import { useTranslation as useTranslation5 } from "react-i18next";
|
|
|
1774
1797
|
// src/components/common/file-preview/file-preview.tsx
|
|
1775
1798
|
import { ArrowDownTray, Spinner as Spinner3 } from "@medusajs/icons";
|
|
1776
1799
|
import { IconButton as IconButton2, Text as Text3 } from "@medusajs/ui";
|
|
1777
|
-
import { jsx as
|
|
1800
|
+
import { jsx as jsx9, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
1778
1801
|
var FilePreview = ({
|
|
1779
1802
|
filename,
|
|
1780
1803
|
url,
|
|
@@ -1783,11 +1806,11 @@ var FilePreview = ({
|
|
|
1783
1806
|
actions,
|
|
1784
1807
|
hideThumbnail
|
|
1785
1808
|
}) => {
|
|
1786
|
-
return /* @__PURE__ */
|
|
1809
|
+
return /* @__PURE__ */ jsx9("div", { className: "shadow-elevation-card-rest bg-ui-bg-component transition-fg rounded-md px-3 py-2", children: /* @__PURE__ */ jsxs4("div", { className: "flex flex-row items-center justify-between gap-2", children: [
|
|
1787
1810
|
/* @__PURE__ */ jsxs4("div", { className: "flex flex-row items-center gap-3", children: [
|
|
1788
|
-
!hideThumbnail && /* @__PURE__ */
|
|
1811
|
+
!hideThumbnail && /* @__PURE__ */ jsx9(FileThumbnail, {}),
|
|
1789
1812
|
/* @__PURE__ */ jsxs4("div", { className: "flex flex-col justify-center", children: [
|
|
1790
|
-
/* @__PURE__ */
|
|
1813
|
+
/* @__PURE__ */ jsx9(
|
|
1791
1814
|
Text3,
|
|
1792
1815
|
{
|
|
1793
1816
|
size: "small",
|
|
@@ -1796,7 +1819,7 @@ var FilePreview = ({
|
|
|
1796
1819
|
children: filename
|
|
1797
1820
|
}
|
|
1798
1821
|
),
|
|
1799
|
-
loading && !!activity && /* @__PURE__ */
|
|
1822
|
+
loading && !!activity && /* @__PURE__ */ jsx9(
|
|
1800
1823
|
Text3,
|
|
1801
1824
|
{
|
|
1802
1825
|
leading: "compact",
|
|
@@ -1807,9 +1830,9 @@ var FilePreview = ({
|
|
|
1807
1830
|
)
|
|
1808
1831
|
] })
|
|
1809
1832
|
] }),
|
|
1810
|
-
loading && /* @__PURE__ */
|
|
1811
|
-
!loading && actions && /* @__PURE__ */
|
|
1812
|
-
!loading && url && /* @__PURE__ */
|
|
1833
|
+
loading && /* @__PURE__ */ jsx9(Spinner3, { className: "animate-spin" }),
|
|
1834
|
+
!loading && actions && /* @__PURE__ */ jsx9(ActionMenu, { groups: actions }),
|
|
1835
|
+
!loading && url && /* @__PURE__ */ jsx9(IconButton2, { variant: "transparent", asChild: true, children: /* @__PURE__ */ jsx9("a", { href: url, download: filename ?? `${Date.now()}`, children: /* @__PURE__ */ jsx9(ArrowDownTray, {}) }) })
|
|
1813
1836
|
] }) });
|
|
1814
1837
|
};
|
|
1815
1838
|
var FileThumbnail = () => {
|
|
@@ -1822,7 +1845,7 @@ var FileThumbnail = () => {
|
|
|
1822
1845
|
fill: "none",
|
|
1823
1846
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1824
1847
|
children: [
|
|
1825
|
-
/* @__PURE__ */
|
|
1848
|
+
/* @__PURE__ */ jsx9(
|
|
1826
1849
|
"path",
|
|
1827
1850
|
{
|
|
1828
1851
|
d: "M20 31.75H4C1.92893 31.75 0.25 30.0711 0.25 28V4C0.25 1.92893 1.92893 0.25 4 0.25H15.9431C16.9377 0.25 17.8915 0.645088 18.5948 1.34835L22.6516 5.4052C23.3549 6.10847 23.75 7.06229 23.75 8.05685V28C23.75 30.0711 22.0711 31.75 20 31.75Z",
|
|
@@ -1831,7 +1854,7 @@ var FileThumbnail = () => {
|
|
|
1831
1854
|
"stroke-width": "0.5"
|
|
1832
1855
|
}
|
|
1833
1856
|
),
|
|
1834
|
-
/* @__PURE__ */
|
|
1857
|
+
/* @__PURE__ */ jsx9(
|
|
1835
1858
|
"path",
|
|
1836
1859
|
{
|
|
1837
1860
|
opacity: "0.4",
|
|
@@ -1852,8 +1875,8 @@ var FileThumbnail = () => {
|
|
|
1852
1875
|
y2: "32",
|
|
1853
1876
|
gradientUnits: "userSpaceOnUse",
|
|
1854
1877
|
children: [
|
|
1855
|
-
/* @__PURE__ */
|
|
1856
|
-
/* @__PURE__ */
|
|
1878
|
+
/* @__PURE__ */ jsx9("stop", { "stop-color": "#F4F4F5" }),
|
|
1879
|
+
/* @__PURE__ */ jsx9("stop", { offset: "1", "stop-color": "#E4E4E7" })
|
|
1857
1880
|
]
|
|
1858
1881
|
}
|
|
1859
1882
|
),
|
|
@@ -1867,8 +1890,8 @@ var FileThumbnail = () => {
|
|
|
1867
1890
|
y2: "32",
|
|
1868
1891
|
gradientUnits: "userSpaceOnUse",
|
|
1869
1892
|
children: [
|
|
1870
|
-
/* @__PURE__ */
|
|
1871
|
-
/* @__PURE__ */
|
|
1893
|
+
/* @__PURE__ */ jsx9("stop", { "stop-color": "#E4E4E7" }),
|
|
1894
|
+
/* @__PURE__ */ jsx9("stop", { offset: "1", "stop-color": "#D4D4D8" })
|
|
1872
1895
|
]
|
|
1873
1896
|
}
|
|
1874
1897
|
),
|
|
@@ -1882,8 +1905,8 @@ var FileThumbnail = () => {
|
|
|
1882
1905
|
y2: "21.25",
|
|
1883
1906
|
gradientUnits: "userSpaceOnUse",
|
|
1884
1907
|
children: [
|
|
1885
|
-
/* @__PURE__ */
|
|
1886
|
-
/* @__PURE__ */
|
|
1908
|
+
/* @__PURE__ */ jsx9("stop", { "stop-color": "#52525B" }),
|
|
1909
|
+
/* @__PURE__ */ jsx9("stop", { offset: "1", "stop-color": "#A1A1AA" })
|
|
1887
1910
|
]
|
|
1888
1911
|
}
|
|
1889
1912
|
),
|
|
@@ -1897,8 +1920,8 @@ var FileThumbnail = () => {
|
|
|
1897
1920
|
y2: "21.25",
|
|
1898
1921
|
gradientUnits: "userSpaceOnUse",
|
|
1899
1922
|
children: [
|
|
1900
|
-
/* @__PURE__ */
|
|
1901
|
-
/* @__PURE__ */
|
|
1923
|
+
/* @__PURE__ */ jsx9("stop", { "stop-color": "#18181B" }),
|
|
1924
|
+
/* @__PURE__ */ jsx9("stop", { offset: "1", "stop-color": "#52525B" })
|
|
1902
1925
|
]
|
|
1903
1926
|
}
|
|
1904
1927
|
)
|
|
@@ -1909,7 +1932,7 @@ var FileThumbnail = () => {
|
|
|
1909
1932
|
};
|
|
1910
1933
|
|
|
1911
1934
|
// src/components/layout/notifications/notifications.tsx
|
|
1912
|
-
import { Fragment as Fragment2, jsx as
|
|
1935
|
+
import { Fragment as Fragment2, jsx as jsx10, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
1913
1936
|
var LAST_READ_NOTIFICATION_KEY = "notificationsLastReadAt";
|
|
1914
1937
|
var Notifications = () => {
|
|
1915
1938
|
const { t: t2 } = useTranslation5();
|
|
@@ -1949,20 +1972,20 @@ var Notifications = () => {
|
|
|
1949
1972
|
onOpenChange: handleOnOpen,
|
|
1950
1973
|
"data-testid": "notifications-drawer",
|
|
1951
1974
|
children: [
|
|
1952
|
-
/* @__PURE__ */
|
|
1975
|
+
/* @__PURE__ */ jsx10(Drawer.Trigger, { asChild: true, children: /* @__PURE__ */ jsx10(
|
|
1953
1976
|
IconButton3,
|
|
1954
1977
|
{
|
|
1955
1978
|
variant: "transparent",
|
|
1956
1979
|
size: "small",
|
|
1957
1980
|
className: "text-ui-fg-muted hover:text-ui-fg-subtle",
|
|
1958
1981
|
"data-testid": "notifications-trigger-button",
|
|
1959
|
-
children: hasUnread ? /* @__PURE__ */
|
|
1982
|
+
children: hasUnread ? /* @__PURE__ */ jsx10(BellAlertDone, { "data-testid": "notifications-icon-unread" }) : /* @__PURE__ */ jsx10(BellAlert, { "data-testid": "notifications-icon" })
|
|
1960
1983
|
}
|
|
1961
1984
|
) }),
|
|
1962
1985
|
/* @__PURE__ */ jsxs5(Drawer.Content, { "data-testid": "notifications-content", children: [
|
|
1963
1986
|
/* @__PURE__ */ jsxs5(Drawer.Header, { "data-testid": "notifications-header", children: [
|
|
1964
|
-
/* @__PURE__ */
|
|
1965
|
-
/* @__PURE__ */
|
|
1987
|
+
/* @__PURE__ */ jsx10(Drawer.Title, { asChild: true, children: /* @__PURE__ */ jsx10(Heading, { "data-testid": "notifications-title", children: t2("notifications.domain") }) }),
|
|
1988
|
+
/* @__PURE__ */ jsx10(
|
|
1966
1989
|
Drawer.Description,
|
|
1967
1990
|
{
|
|
1968
1991
|
className: "sr-only",
|
|
@@ -1971,12 +1994,12 @@ var Notifications = () => {
|
|
|
1971
1994
|
}
|
|
1972
1995
|
)
|
|
1973
1996
|
] }),
|
|
1974
|
-
/* @__PURE__ */
|
|
1997
|
+
/* @__PURE__ */ jsx10(
|
|
1975
1998
|
Drawer.Body,
|
|
1976
1999
|
{
|
|
1977
2000
|
className: "overflow-y-auto px-0",
|
|
1978
2001
|
"data-testid": "notifications-body",
|
|
1979
|
-
children: /* @__PURE__ */
|
|
2002
|
+
children: /* @__PURE__ */ jsx10("div", { "data-testid": "notifications-list", children: /* @__PURE__ */ jsx10(
|
|
1980
2003
|
InfiniteList,
|
|
1981
2004
|
{
|
|
1982
2005
|
responseKey: "notifications",
|
|
@@ -1985,9 +2008,9 @@ var Notifications = () => {
|
|
|
1985
2008
|
...params
|
|
1986
2009
|
}),
|
|
1987
2010
|
queryOptions: { enabled: open },
|
|
1988
|
-
renderEmpty: () => /* @__PURE__ */
|
|
2011
|
+
renderEmpty: () => /* @__PURE__ */ jsx10(NotificationsEmptyState, { t: t2 }),
|
|
1989
2012
|
renderItem: (notification) => {
|
|
1990
|
-
return /* @__PURE__ */
|
|
2013
|
+
return /* @__PURE__ */ jsx10(
|
|
1991
2014
|
Notification,
|
|
1992
2015
|
{
|
|
1993
2016
|
notification,
|
|
@@ -2013,18 +2036,18 @@ var Notification = ({
|
|
|
2013
2036
|
if (!data?.title) {
|
|
2014
2037
|
return null;
|
|
2015
2038
|
}
|
|
2016
|
-
return /* @__PURE__ */
|
|
2039
|
+
return /* @__PURE__ */ jsx10(Fragment2, { children: /* @__PURE__ */ jsxs5(
|
|
2017
2040
|
"div",
|
|
2018
2041
|
{
|
|
2019
2042
|
className: "relative flex items-start justify-center gap-3 border-b p-6",
|
|
2020
2043
|
"data-testid": `notification-${notification.id}`,
|
|
2021
2044
|
children: [
|
|
2022
|
-
/* @__PURE__ */
|
|
2045
|
+
/* @__PURE__ */ jsx10(
|
|
2023
2046
|
"div",
|
|
2024
2047
|
{
|
|
2025
2048
|
className: "text-ui-fg-muted flex size-5 items-center justify-center",
|
|
2026
2049
|
"data-testid": `notification-${notification.id}-icon`,
|
|
2027
|
-
children: /* @__PURE__ */
|
|
2050
|
+
children: /* @__PURE__ */ jsx10(InformationCircleSolid, {})
|
|
2028
2051
|
}
|
|
2029
2052
|
),
|
|
2030
2053
|
/* @__PURE__ */ jsxs5(
|
|
@@ -2040,7 +2063,7 @@ var Notification = ({
|
|
|
2040
2063
|
"data-testid": `notification-${notification.id}-header`,
|
|
2041
2064
|
children: [
|
|
2042
2065
|
/* @__PURE__ */ jsxs5("div", { className: "flex items-center justify-between", children: [
|
|
2043
|
-
/* @__PURE__ */
|
|
2066
|
+
/* @__PURE__ */ jsx10(
|
|
2044
2067
|
Text4,
|
|
2045
2068
|
{
|
|
2046
2069
|
size: "small",
|
|
@@ -2056,7 +2079,7 @@ var Notification = ({
|
|
|
2056
2079
|
className: "align-center flex items-center justify-center gap-2",
|
|
2057
2080
|
"data-testid": `notification-${notification.id}-meta`,
|
|
2058
2081
|
children: [
|
|
2059
|
-
/* @__PURE__ */
|
|
2082
|
+
/* @__PURE__ */ jsx10(
|
|
2060
2083
|
Text4,
|
|
2061
2084
|
{
|
|
2062
2085
|
as: "span",
|
|
@@ -2072,7 +2095,7 @@ var Notification = ({
|
|
|
2072
2095
|
})
|
|
2073
2096
|
}
|
|
2074
2097
|
),
|
|
2075
|
-
unread && /* @__PURE__ */
|
|
2098
|
+
unread && /* @__PURE__ */ jsx10(
|
|
2076
2099
|
"div",
|
|
2077
2100
|
{
|
|
2078
2101
|
className: "bg-ui-bg-interactive h-2 w-2 rounded",
|
|
@@ -2084,7 +2107,7 @@ var Notification = ({
|
|
|
2084
2107
|
}
|
|
2085
2108
|
)
|
|
2086
2109
|
] }),
|
|
2087
|
-
!!data.description && /* @__PURE__ */
|
|
2110
|
+
!!data.description && /* @__PURE__ */ jsx10(
|
|
2088
2111
|
Text4,
|
|
2089
2112
|
{
|
|
2090
2113
|
className: "text-ui-fg-subtle whitespace-pre-line",
|
|
@@ -2096,7 +2119,7 @@ var Notification = ({
|
|
|
2096
2119
|
]
|
|
2097
2120
|
}
|
|
2098
2121
|
),
|
|
2099
|
-
!!data?.file?.url && /* @__PURE__ */
|
|
2122
|
+
!!data?.file?.url && /* @__PURE__ */ jsx10(
|
|
2100
2123
|
FilePreview,
|
|
2101
2124
|
{
|
|
2102
2125
|
filename: data.file.filename ?? "",
|
|
@@ -2119,8 +2142,8 @@ var NotificationsEmptyState = ({ t: t2 }) => {
|
|
|
2119
2142
|
className: "flex h-full flex-col items-center justify-center",
|
|
2120
2143
|
"data-testid": "notifications-empty-state",
|
|
2121
2144
|
children: [
|
|
2122
|
-
/* @__PURE__ */
|
|
2123
|
-
/* @__PURE__ */
|
|
2145
|
+
/* @__PURE__ */ jsx10(BellAlertDone, { "data-testid": "notifications-empty-icon" }),
|
|
2146
|
+
/* @__PURE__ */ jsx10(
|
|
2124
2147
|
Text4,
|
|
2125
2148
|
{
|
|
2126
2149
|
size: "small",
|
|
@@ -2131,7 +2154,7 @@ var NotificationsEmptyState = ({ t: t2 }) => {
|
|
|
2131
2154
|
children: t2("notifications.emptyState.title")
|
|
2132
2155
|
}
|
|
2133
2156
|
),
|
|
2134
|
-
/* @__PURE__ */
|
|
2157
|
+
/* @__PURE__ */ jsx10(
|
|
2135
2158
|
Text4,
|
|
2136
2159
|
{
|
|
2137
2160
|
size: "small",
|
|
@@ -2166,20 +2189,20 @@ var useUnreadNotifications = () => {
|
|
|
2166
2189
|
};
|
|
2167
2190
|
|
|
2168
2191
|
// src/components/layout/shell/shell.tsx
|
|
2169
|
-
import { jsx as
|
|
2192
|
+
import { jsx as jsx11, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
2170
2193
|
var Shell = ({ children }) => {
|
|
2171
2194
|
const globalShortcuts = useGlobalShortcuts();
|
|
2172
2195
|
const navigation = useNavigation();
|
|
2173
2196
|
const loading = navigation.state === "loading";
|
|
2174
|
-
return /* @__PURE__ */
|
|
2175
|
-
/* @__PURE__ */
|
|
2197
|
+
return /* @__PURE__ */ jsx11(KeybindProvider, { shortcuts: globalShortcuts, children: /* @__PURE__ */ jsxs6("div", { className: "relative flex h-screen flex-col items-start overflow-hidden lg:flex-row", children: [
|
|
2198
|
+
/* @__PURE__ */ jsx11(NavigationBar, { loading }),
|
|
2176
2199
|
/* @__PURE__ */ jsxs6("div", { children: [
|
|
2177
|
-
/* @__PURE__ */
|
|
2178
|
-
/* @__PURE__ */
|
|
2200
|
+
/* @__PURE__ */ jsx11(MobileSidebarContainer, { children }),
|
|
2201
|
+
/* @__PURE__ */ jsx11(DesktopSidebarContainer, { children })
|
|
2179
2202
|
] }),
|
|
2180
2203
|
/* @__PURE__ */ jsxs6("div", { className: "flex h-screen w-full flex-col overflow-auto", children: [
|
|
2181
|
-
/* @__PURE__ */
|
|
2182
|
-
/* @__PURE__ */
|
|
2204
|
+
/* @__PURE__ */ jsx11(Topbar, {}),
|
|
2205
|
+
/* @__PURE__ */ jsx11(
|
|
2183
2206
|
"main",
|
|
2184
2207
|
{
|
|
2185
2208
|
className: clx4(
|
|
@@ -2188,7 +2211,7 @@ var Shell = ({ children }) => {
|
|
|
2188
2211
|
"opacity-25": loading
|
|
2189
2212
|
}
|
|
2190
2213
|
),
|
|
2191
|
-
children: /* @__PURE__ */
|
|
2214
|
+
children: /* @__PURE__ */ jsx11(Gutter, { children: /* @__PURE__ */ jsx11(Outlet2, {}) })
|
|
2192
2215
|
}
|
|
2193
2216
|
)
|
|
2194
2217
|
] })
|
|
@@ -2209,10 +2232,10 @@ var NavigationBar = ({ loading }) => {
|
|
|
2209
2232
|
clearTimeout(timeout);
|
|
2210
2233
|
};
|
|
2211
2234
|
}, [loading]);
|
|
2212
|
-
return /* @__PURE__ */
|
|
2235
|
+
return /* @__PURE__ */ jsx11("div", { className: "fixed inset-x-0 top-0 z-50 h-1", children: /* @__PURE__ */ jsx11(AnimatePresence, { children: showBar ? /* @__PURE__ */ jsx11(ProgressBar, {}) : null }) });
|
|
2213
2236
|
};
|
|
2214
2237
|
var Gutter = ({ children }) => {
|
|
2215
|
-
return /* @__PURE__ */
|
|
2238
|
+
return /* @__PURE__ */ jsx11("div", { className: "flex w-full max-w-[1600px] flex-col gap-y-2 p-3", children });
|
|
2216
2239
|
};
|
|
2217
2240
|
var Breadcrumbs = () => {
|
|
2218
2241
|
const matches = useMatches();
|
|
@@ -2231,7 +2254,7 @@ var Breadcrumbs = () => {
|
|
|
2231
2254
|
path: match.pathname
|
|
2232
2255
|
};
|
|
2233
2256
|
}).filter(Boolean);
|
|
2234
|
-
return /* @__PURE__ */
|
|
2257
|
+
return /* @__PURE__ */ jsx11(
|
|
2235
2258
|
"ol",
|
|
2236
2259
|
{
|
|
2237
2260
|
className: clx4(
|
|
@@ -2241,7 +2264,7 @@ var Breadcrumbs = () => {
|
|
|
2241
2264
|
const isLast = index === crumbs.length - 1;
|
|
2242
2265
|
const isSingle = crumbs.length === 1;
|
|
2243
2266
|
return /* @__PURE__ */ jsxs6("li", { className: clx4("flex items-center"), children: [
|
|
2244
|
-
!isLast ? /* @__PURE__ */
|
|
2267
|
+
!isLast ? /* @__PURE__ */ jsx11(
|
|
2245
2268
|
Link,
|
|
2246
2269
|
{
|
|
2247
2270
|
className: "transition-fg hover:text-ui-fg-subtle",
|
|
@@ -2249,8 +2272,8 @@ var Breadcrumbs = () => {
|
|
|
2249
2272
|
children: crumb.label
|
|
2250
2273
|
}
|
|
2251
2274
|
) : /* @__PURE__ */ jsxs6("div", { children: [
|
|
2252
|
-
!isSingle && /* @__PURE__ */
|
|
2253
|
-
/* @__PURE__ */
|
|
2275
|
+
!isSingle && /* @__PURE__ */ jsx11("span", { className: "block lg:hidden", children: "..." }),
|
|
2276
|
+
/* @__PURE__ */ jsx11(
|
|
2254
2277
|
"span",
|
|
2255
2278
|
{
|
|
2256
2279
|
className: clx4({
|
|
@@ -2261,7 +2284,7 @@ var Breadcrumbs = () => {
|
|
|
2261
2284
|
index
|
|
2262
2285
|
)
|
|
2263
2286
|
] }),
|
|
2264
|
-
!isLast && /* @__PURE__ */
|
|
2287
|
+
!isLast && /* @__PURE__ */ jsx11("span", { className: "mx-2", children: /* @__PURE__ */ jsx11(TriangleRightMini, { className: "rtl:rotate-180" }) })
|
|
2265
2288
|
] }, index);
|
|
2266
2289
|
})
|
|
2267
2290
|
}
|
|
@@ -2270,24 +2293,24 @@ var Breadcrumbs = () => {
|
|
|
2270
2293
|
var ToggleSidebar = () => {
|
|
2271
2294
|
const { toggle } = useSidebar();
|
|
2272
2295
|
return /* @__PURE__ */ jsxs6("div", { children: [
|
|
2273
|
-
/* @__PURE__ */
|
|
2296
|
+
/* @__PURE__ */ jsx11(
|
|
2274
2297
|
IconButton4,
|
|
2275
2298
|
{
|
|
2276
2299
|
className: "hidden lg:flex",
|
|
2277
2300
|
variant: "transparent",
|
|
2278
2301
|
onClick: () => toggle("desktop"),
|
|
2279
2302
|
size: "small",
|
|
2280
|
-
children: /* @__PURE__ */
|
|
2303
|
+
children: /* @__PURE__ */ jsx11(SidebarLeft, { className: "text-ui-fg-muted rtl:rotate-180" })
|
|
2281
2304
|
}
|
|
2282
2305
|
),
|
|
2283
|
-
/* @__PURE__ */
|
|
2306
|
+
/* @__PURE__ */ jsx11(
|
|
2284
2307
|
IconButton4,
|
|
2285
2308
|
{
|
|
2286
2309
|
className: "hidden max-lg:flex",
|
|
2287
2310
|
variant: "transparent",
|
|
2288
2311
|
onClick: () => toggle("mobile"),
|
|
2289
2312
|
size: "small",
|
|
2290
|
-
children: /* @__PURE__ */
|
|
2313
|
+
children: /* @__PURE__ */ jsx11(SidebarLeft, { className: "text-ui-fg-muted rtl:rotate-180" })
|
|
2291
2314
|
}
|
|
2292
2315
|
)
|
|
2293
2316
|
] });
|
|
@@ -2295,15 +2318,15 @@ var ToggleSidebar = () => {
|
|
|
2295
2318
|
var Topbar = () => {
|
|
2296
2319
|
return /* @__PURE__ */ jsxs6("div", { className: "grid w-full grid-cols-2 border-b p-3", children: [
|
|
2297
2320
|
/* @__PURE__ */ jsxs6("div", { className: "flex items-center gap-x-1.5", children: [
|
|
2298
|
-
/* @__PURE__ */
|
|
2299
|
-
/* @__PURE__ */
|
|
2321
|
+
/* @__PURE__ */ jsx11(ToggleSidebar, {}),
|
|
2322
|
+
/* @__PURE__ */ jsx11(Breadcrumbs, {})
|
|
2300
2323
|
] }),
|
|
2301
|
-
/* @__PURE__ */
|
|
2324
|
+
/* @__PURE__ */ jsx11("div", { className: "flex items-center justify-end gap-x-3", children: /* @__PURE__ */ jsx11(Notifications, {}) })
|
|
2302
2325
|
] });
|
|
2303
2326
|
};
|
|
2304
2327
|
var DesktopSidebarContainer = ({ children }) => {
|
|
2305
2328
|
const { desktop } = useSidebar();
|
|
2306
|
-
return /* @__PURE__ */
|
|
2329
|
+
return /* @__PURE__ */ jsx11(
|
|
2307
2330
|
"div",
|
|
2308
2331
|
{
|
|
2309
2332
|
className: clx4("hidden h-screen w-[220px] border-e", {
|
|
@@ -2316,8 +2339,8 @@ var DesktopSidebarContainer = ({ children }) => {
|
|
|
2316
2339
|
var MobileSidebarContainer = ({ children }) => {
|
|
2317
2340
|
const { t: t2 } = useTranslation6();
|
|
2318
2341
|
const { mobile, toggle } = useSidebar();
|
|
2319
|
-
return /* @__PURE__ */
|
|
2320
|
-
/* @__PURE__ */
|
|
2342
|
+
return /* @__PURE__ */ jsx11(RadixDialog2.Root, { open: mobile, onOpenChange: () => toggle("mobile"), children: /* @__PURE__ */ jsxs6(RadixDialog2.Portal, { children: [
|
|
2343
|
+
/* @__PURE__ */ jsx11(
|
|
2321
2344
|
RadixDialog2.Overlay,
|
|
2322
2345
|
{
|
|
2323
2346
|
className: clx4(
|
|
@@ -2335,17 +2358,17 @@ var MobileSidebarContainer = ({ children }) => {
|
|
|
2335
2358
|
),
|
|
2336
2359
|
children: [
|
|
2337
2360
|
/* @__PURE__ */ jsxs6("div", { className: "p-3", children: [
|
|
2338
|
-
/* @__PURE__ */
|
|
2361
|
+
/* @__PURE__ */ jsx11(RadixDialog2.Close, { asChild: true, children: /* @__PURE__ */ jsx11(
|
|
2339
2362
|
IconButton4,
|
|
2340
2363
|
{
|
|
2341
2364
|
size: "small",
|
|
2342
2365
|
variant: "transparent",
|
|
2343
2366
|
className: "text-ui-fg-subtle",
|
|
2344
|
-
children: /* @__PURE__ */
|
|
2367
|
+
children: /* @__PURE__ */ jsx11(XMark, {})
|
|
2345
2368
|
}
|
|
2346
2369
|
) }),
|
|
2347
|
-
/* @__PURE__ */
|
|
2348
|
-
/* @__PURE__ */
|
|
2370
|
+
/* @__PURE__ */ jsx11(RadixDialog2.Title, { className: "sr-only", children: t2("app.nav.accessibility.title") }),
|
|
2371
|
+
/* @__PURE__ */ jsx11(RadixDialog2.Description, { className: "sr-only", children: t2("app.nav.accessibility.description") })
|
|
2349
2372
|
] }),
|
|
2350
2373
|
children
|
|
2351
2374
|
]
|
|
@@ -2379,7 +2402,7 @@ import { Dialog as RadixDialog3 } from "radix-ui";
|
|
|
2379
2402
|
import { useTranslation as useTranslation7 } from "react-i18next";
|
|
2380
2403
|
import { useState as useState11 } from "react";
|
|
2381
2404
|
import { Link as Link2, useLocation as useLocation5, useNavigate as useNavigate3 } from "react-router-dom";
|
|
2382
|
-
import { jsx as
|
|
2405
|
+
import { jsx as jsx12, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
2383
2406
|
var UserMenu = () => {
|
|
2384
2407
|
const { t: t2 } = useTranslation7();
|
|
2385
2408
|
const location = useLocation5();
|
|
@@ -2392,34 +2415,34 @@ var UserMenu = () => {
|
|
|
2392
2415
|
};
|
|
2393
2416
|
return /* @__PURE__ */ jsxs7("div", { "data-testid": "sidebar-user-menu", children: [
|
|
2394
2417
|
/* @__PURE__ */ jsxs7(DropdownMenu2, { dir: direction, open: openMenu, onOpenChange: setOpenMenu, "data-testid": "sidebar-user-menu-dropdown", children: [
|
|
2395
|
-
/* @__PURE__ */
|
|
2418
|
+
/* @__PURE__ */ jsx12(UserBadge, {}),
|
|
2396
2419
|
/* @__PURE__ */ jsxs7(DropdownMenu2.Content, { className: "min-w-[var(--radix-dropdown-menu-trigger-width)] max-w-[var(--radix-dropdown-menu-trigger-width)]", "data-testid": "sidebar-user-menu-content", children: [
|
|
2397
|
-
/* @__PURE__ */
|
|
2398
|
-
/* @__PURE__ */
|
|
2399
|
-
/* @__PURE__ */
|
|
2400
|
-
/* @__PURE__ */
|
|
2420
|
+
/* @__PURE__ */ jsx12(UserItem, {}),
|
|
2421
|
+
/* @__PURE__ */ jsx12(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-1" }),
|
|
2422
|
+
/* @__PURE__ */ jsx12(DropdownMenu2.Item, { asChild: true, "data-testid": "sidebar-user-menu-profile-settings", children: /* @__PURE__ */ jsxs7(Link2, { to: "/settings/profile", state: { from: location.pathname }, children: [
|
|
2423
|
+
/* @__PURE__ */ jsx12(UserIcon, { className: "text-ui-fg-subtle me-2" }),
|
|
2401
2424
|
t2("app.menus.user.profileSettings")
|
|
2402
2425
|
] }) }),
|
|
2403
|
-
/* @__PURE__ */
|
|
2404
|
-
/* @__PURE__ */
|
|
2405
|
-
/* @__PURE__ */
|
|
2426
|
+
/* @__PURE__ */ jsx12(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-2" }),
|
|
2427
|
+
/* @__PURE__ */ jsx12(DropdownMenu2.Item, { asChild: true, "data-testid": "sidebar-user-menu-documentation", children: /* @__PURE__ */ jsxs7(Link2, { to: "https://docs.mercurjs.com/welcome", target: "_blank", children: [
|
|
2428
|
+
/* @__PURE__ */ jsx12(BookOpen, { className: "text-ui-fg-subtle me-2" }),
|
|
2406
2429
|
t2("app.menus.user.documentation")
|
|
2407
2430
|
] }) }),
|
|
2408
|
-
/* @__PURE__ */
|
|
2409
|
-
/* @__PURE__ */
|
|
2431
|
+
/* @__PURE__ */ jsx12(DropdownMenu2.Item, { asChild: true, "data-testid": "sidebar-user-menu-changelog", children: /* @__PURE__ */ jsxs7(Link2, { to: "https://www.mercurjs.com/updates", target: "_blank", children: [
|
|
2432
|
+
/* @__PURE__ */ jsx12(TimelineVertical, { className: "text-ui-fg-subtle me-2" }),
|
|
2410
2433
|
t2("app.menus.user.changelog")
|
|
2411
2434
|
] }) }),
|
|
2412
|
-
/* @__PURE__ */
|
|
2435
|
+
/* @__PURE__ */ jsx12(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-3" }),
|
|
2413
2436
|
/* @__PURE__ */ jsxs7(DropdownMenu2.Item, { onClick: toggleModal, "data-testid": "sidebar-user-menu-shortcuts", children: [
|
|
2414
|
-
/* @__PURE__ */
|
|
2437
|
+
/* @__PURE__ */ jsx12(Keyboard, { className: "text-ui-fg-subtle me-2" }),
|
|
2415
2438
|
t2("app.menus.user.shortcuts")
|
|
2416
2439
|
] }),
|
|
2417
|
-
/* @__PURE__ */
|
|
2418
|
-
/* @__PURE__ */
|
|
2419
|
-
/* @__PURE__ */
|
|
2440
|
+
/* @__PURE__ */ jsx12(ThemeToggle, {}),
|
|
2441
|
+
/* @__PURE__ */ jsx12(DropdownMenu2.Separator, { "data-testid": "sidebar-user-menu-separator-4" }),
|
|
2442
|
+
/* @__PURE__ */ jsx12(Logout, {})
|
|
2420
2443
|
] })
|
|
2421
2444
|
] }),
|
|
2422
|
-
/* @__PURE__ */
|
|
2445
|
+
/* @__PURE__ */ jsx12(GlobalKeybindsModal, { open: openModal, onOpenChange: setOpenModal })
|
|
2423
2446
|
] });
|
|
2424
2447
|
};
|
|
2425
2448
|
var UserBadge = () => {
|
|
@@ -2429,14 +2452,14 @@ var UserBadge = () => {
|
|
|
2429
2452
|
const fallback = displayName ? displayName[0].toUpperCase() : null;
|
|
2430
2453
|
if (isPending) {
|
|
2431
2454
|
return /* @__PURE__ */ jsxs7("button", { className: "shadow-borders-base flex max-w-[192px] select-none items-center gap-x-2 overflow-hidden text-ellipsis whitespace-nowrap rounded-full py-1 ps-1 pe-2.5", children: [
|
|
2432
|
-
/* @__PURE__ */
|
|
2433
|
-
/* @__PURE__ */
|
|
2455
|
+
/* @__PURE__ */ jsx12(Skeleton, { className: "h-5 w-5 rounded-full" }),
|
|
2456
|
+
/* @__PURE__ */ jsx12(Skeleton, { className: "h-[9px] w-[70px]" })
|
|
2434
2457
|
] });
|
|
2435
2458
|
}
|
|
2436
2459
|
if (isError) {
|
|
2437
2460
|
throw error;
|
|
2438
2461
|
}
|
|
2439
|
-
return /* @__PURE__ */
|
|
2462
|
+
return /* @__PURE__ */ jsx12("div", { className: "p-3", "data-testid": "sidebar-user-menu-badge", children: /* @__PURE__ */ jsxs7(
|
|
2440
2463
|
DropdownMenu2.Trigger,
|
|
2441
2464
|
{
|
|
2442
2465
|
disabled: !user,
|
|
@@ -2448,8 +2471,8 @@ var UserBadge = () => {
|
|
|
2448
2471
|
),
|
|
2449
2472
|
"data-testid": "sidebar-user-menu-trigger",
|
|
2450
2473
|
children: [
|
|
2451
|
-
/* @__PURE__ */
|
|
2452
|
-
/* @__PURE__ */
|
|
2474
|
+
/* @__PURE__ */ jsx12("div", { className: "flex size-6 items-center justify-center", "data-testid": "sidebar-user-menu-avatar-container", children: fallback ? /* @__PURE__ */ jsx12(Avatar, { size: "xsmall", fallback, "data-testid": "sidebar-user-menu-avatar" }) : /* @__PURE__ */ jsx12(Skeleton, { className: "h-6 w-6 rounded-full" }) }),
|
|
2475
|
+
/* @__PURE__ */ jsx12("div", { className: "flex items-center overflow-hidden", "data-testid": "sidebar-user-menu-name-container", children: displayName ? /* @__PURE__ */ jsx12(
|
|
2453
2476
|
Text5,
|
|
2454
2477
|
{
|
|
2455
2478
|
size: "xsmall",
|
|
@@ -2459,8 +2482,8 @@ var UserBadge = () => {
|
|
|
2459
2482
|
"data-testid": "sidebar-user-menu-name",
|
|
2460
2483
|
children: displayName
|
|
2461
2484
|
}
|
|
2462
|
-
) : /* @__PURE__ */
|
|
2463
|
-
/* @__PURE__ */
|
|
2485
|
+
) : /* @__PURE__ */ jsx12(Skeleton, { className: "h-[9px] w-[70px]" }) }),
|
|
2486
|
+
/* @__PURE__ */ jsx12(EllipsisHorizontal, { className: "text-ui-fg-muted" })
|
|
2464
2487
|
]
|
|
2465
2488
|
}
|
|
2466
2489
|
) });
|
|
@@ -2470,11 +2493,11 @@ var ThemeToggle = () => {
|
|
|
2470
2493
|
const { theme, setTheme } = useTheme();
|
|
2471
2494
|
return /* @__PURE__ */ jsxs7(DropdownMenu2.SubMenu, { "data-testid": "sidebar-user-menu-theme-toggle", children: [
|
|
2472
2495
|
/* @__PURE__ */ jsxs7(DropdownMenu2.SubMenuTrigger, { dir: "ltr", className: "rounded-md rtl:rotate-180", "data-testid": "sidebar-user-menu-theme-trigger", children: [
|
|
2473
|
-
/* @__PURE__ */
|
|
2474
|
-
/* @__PURE__ */
|
|
2496
|
+
/* @__PURE__ */ jsx12(CircleHalfSolid, { className: "text-ui-fg-subtle me-2" }),
|
|
2497
|
+
/* @__PURE__ */ jsx12("span", { className: "rtl:rotate-180", children: t2("app.menus.user.theme.label") })
|
|
2475
2498
|
] }),
|
|
2476
|
-
/* @__PURE__ */
|
|
2477
|
-
/* @__PURE__ */
|
|
2499
|
+
/* @__PURE__ */ jsx12(DropdownMenu2.SubMenuContent, { "data-testid": "sidebar-user-menu-theme-content", children: /* @__PURE__ */ jsxs7(DropdownMenu2.RadioGroup, { value: theme, "data-testid": "sidebar-user-menu-theme-radio-group", children: [
|
|
2500
|
+
/* @__PURE__ */ jsx12(
|
|
2478
2501
|
DropdownMenu2.RadioItem,
|
|
2479
2502
|
{
|
|
2480
2503
|
value: "system",
|
|
@@ -2486,7 +2509,7 @@ var ThemeToggle = () => {
|
|
|
2486
2509
|
children: t2("app.menus.user.theme.system")
|
|
2487
2510
|
}
|
|
2488
2511
|
),
|
|
2489
|
-
/* @__PURE__ */
|
|
2512
|
+
/* @__PURE__ */ jsx12(
|
|
2490
2513
|
DropdownMenu2.RadioItem,
|
|
2491
2514
|
{
|
|
2492
2515
|
value: "light",
|
|
@@ -2498,7 +2521,7 @@ var ThemeToggle = () => {
|
|
|
2498
2521
|
children: t2("app.menus.user.theme.light")
|
|
2499
2522
|
}
|
|
2500
2523
|
),
|
|
2501
|
-
/* @__PURE__ */
|
|
2524
|
+
/* @__PURE__ */ jsx12(
|
|
2502
2525
|
DropdownMenu2.RadioItem,
|
|
2503
2526
|
{
|
|
2504
2527
|
value: "dark",
|
|
@@ -2525,9 +2548,9 @@ var Logout = () => {
|
|
|
2525
2548
|
}
|
|
2526
2549
|
});
|
|
2527
2550
|
};
|
|
2528
|
-
return /* @__PURE__ */
|
|
2529
|
-
/* @__PURE__ */
|
|
2530
|
-
/* @__PURE__ */
|
|
2551
|
+
return /* @__PURE__ */ jsx12(DropdownMenu2.Item, { onClick: handleLogout, "data-testid": "sidebar-user-menu-logout", children: /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-2", children: [
|
|
2552
|
+
/* @__PURE__ */ jsx12(OpenRectArrowOut, { className: "text-ui-fg-subtle" }),
|
|
2553
|
+
/* @__PURE__ */ jsx12("span", { children: t2("app.menus.actions.logout") })
|
|
2531
2554
|
] }) });
|
|
2532
2555
|
};
|
|
2533
2556
|
var GlobalKeybindsModal = (props) => {
|
|
@@ -2537,21 +2560,21 @@ var GlobalKeybindsModal = (props) => {
|
|
|
2537
2560
|
const searchResults = searchValue ? globalShortcuts.filter((shortcut) => {
|
|
2538
2561
|
return shortcut.label.toLowerCase().includes(searchValue?.toLowerCase());
|
|
2539
2562
|
}) : globalShortcuts;
|
|
2540
|
-
return /* @__PURE__ */
|
|
2541
|
-
/* @__PURE__ */
|
|
2563
|
+
return /* @__PURE__ */ jsx12(RadixDialog3.Root, { ...props, "data-testid": "shortcuts-modal", children: /* @__PURE__ */ jsxs7(RadixDialog3.Portal, { children: [
|
|
2564
|
+
/* @__PURE__ */ jsx12(RadixDialog3.Overlay, { className: "bg-ui-bg-overlay fixed inset-0", "data-testid": "shortcuts-modal-overlay" }),
|
|
2542
2565
|
/* @__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
2566
|
/* @__PURE__ */ jsxs7("div", { className: "flex flex-col gap-y-3 px-6 py-4", "data-testid": "shortcuts-modal-header", children: [
|
|
2544
2567
|
/* @__PURE__ */ jsxs7("div", { className: "flex items-center justify-between", "data-testid": "shortcuts-modal-header-top", children: [
|
|
2545
2568
|
/* @__PURE__ */ jsxs7("div", { "data-testid": "shortcuts-modal-title-container", children: [
|
|
2546
|
-
/* @__PURE__ */
|
|
2547
|
-
/* @__PURE__ */
|
|
2569
|
+
/* @__PURE__ */ jsx12(RadixDialog3.Title, { asChild: true, children: /* @__PURE__ */ jsx12(Heading2, { "data-testid": "shortcuts-modal-title", children: t2("app.menus.user.shortcuts") }) }),
|
|
2570
|
+
/* @__PURE__ */ jsx12(RadixDialog3.Description, { className: "sr-only", "data-testid": "shortcuts-modal-description" })
|
|
2548
2571
|
] }),
|
|
2549
2572
|
/* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-2", "data-testid": "shortcuts-modal-close-container", children: [
|
|
2550
|
-
/* @__PURE__ */
|
|
2551
|
-
/* @__PURE__ */
|
|
2573
|
+
/* @__PURE__ */ jsx12(Kbd3, { "data-testid": "shortcuts-modal-close-hint", children: "esc" }),
|
|
2574
|
+
/* @__PURE__ */ jsx12(RadixDialog3.Close, { asChild: true, children: /* @__PURE__ */ jsx12(IconButton5, { variant: "transparent", size: "small", "data-testid": "shortcuts-modal-close-button", children: /* @__PURE__ */ jsx12(XMark2, {}) }) })
|
|
2552
2575
|
] })
|
|
2553
2576
|
] }),
|
|
2554
|
-
/* @__PURE__ */
|
|
2577
|
+
/* @__PURE__ */ jsx12("div", { "data-testid": "shortcuts-modal-search-container", children: /* @__PURE__ */ jsx12(
|
|
2555
2578
|
Input,
|
|
2556
2579
|
{
|
|
2557
2580
|
type: "search",
|
|
@@ -2561,18 +2584,18 @@ var GlobalKeybindsModal = (props) => {
|
|
|
2561
2584
|
}
|
|
2562
2585
|
) })
|
|
2563
2586
|
] }),
|
|
2564
|
-
/* @__PURE__ */
|
|
2587
|
+
/* @__PURE__ */ jsx12("div", { className: "flex flex-col divide-y overflow-y-auto", "data-testid": "shortcuts-modal-list", children: searchResults.map((shortcut, index) => {
|
|
2565
2588
|
return /* @__PURE__ */ jsxs7(
|
|
2566
2589
|
"div",
|
|
2567
2590
|
{
|
|
2568
2591
|
className: "text-ui-fg-subtle flex items-center justify-between px-6 py-3",
|
|
2569
2592
|
"data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}`,
|
|
2570
2593
|
children: [
|
|
2571
|
-
/* @__PURE__ */
|
|
2572
|
-
/* @__PURE__ */
|
|
2594
|
+
/* @__PURE__ */ jsx12(Text5, { size: "small", "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-label`, children: shortcut.label }),
|
|
2595
|
+
/* @__PURE__ */ jsx12("div", { className: "flex items-center gap-x-1", "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-keys`, children: shortcut.keys.Mac?.map((key, index2) => {
|
|
2573
2596
|
return /* @__PURE__ */ jsxs7("div", { className: "flex items-center gap-x-1", "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-key-${index2}`, children: [
|
|
2574
|
-
/* @__PURE__ */
|
|
2575
|
-
index2 < (shortcut.keys.Mac?.length || 0) - 1 && /* @__PURE__ */
|
|
2597
|
+
/* @__PURE__ */ jsx12(Kbd3, { "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-kbd-${index2}`, children: key }),
|
|
2598
|
+
index2 < (shortcut.keys.Mac?.length || 0) - 1 && /* @__PURE__ */ jsx12("span", { className: "txt-compact-xsmall text-ui-fg-subtle", "data-testid": `shortcut-item-${shortcut.label.toLowerCase().replace(/\s/g, "-")}-separator-${index2}`, children: t2("app.keyboardShortcuts.then") })
|
|
2576
2599
|
] }, index2);
|
|
2577
2600
|
}) })
|
|
2578
2601
|
]
|
|
@@ -2587,7 +2610,7 @@ var UserItem = () => {
|
|
|
2587
2610
|
const { user, isPending, isError, error } = useMe();
|
|
2588
2611
|
const loaded = !isPending && !!user;
|
|
2589
2612
|
if (!loaded) {
|
|
2590
|
-
return /* @__PURE__ */
|
|
2613
|
+
return /* @__PURE__ */ jsx12("div", {});
|
|
2591
2614
|
}
|
|
2592
2615
|
const name = [user.first_name, user.last_name].filter(Boolean).join(" ");
|
|
2593
2616
|
const email = user.email;
|
|
@@ -2597,7 +2620,7 @@ var UserItem = () => {
|
|
|
2597
2620
|
throw error;
|
|
2598
2621
|
}
|
|
2599
2622
|
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__ */
|
|
2623
|
+
/* @__PURE__ */ jsx12(
|
|
2601
2624
|
Avatar,
|
|
2602
2625
|
{
|
|
2603
2626
|
size: "small",
|
|
@@ -2608,7 +2631,7 @@ var UserItem = () => {
|
|
|
2608
2631
|
}
|
|
2609
2632
|
),
|
|
2610
2633
|
/* @__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__ */
|
|
2634
|
+
/* @__PURE__ */ jsx12(
|
|
2612
2635
|
Text5,
|
|
2613
2636
|
{
|
|
2614
2637
|
size: "small",
|
|
@@ -2619,7 +2642,7 @@ var UserItem = () => {
|
|
|
2619
2642
|
children: name || email
|
|
2620
2643
|
}
|
|
2621
2644
|
),
|
|
2622
|
-
!!name && /* @__PURE__ */
|
|
2645
|
+
!!name && /* @__PURE__ */ jsx12(
|
|
2623
2646
|
Text5,
|
|
2624
2647
|
{
|
|
2625
2648
|
size: "xsmall",
|
|
@@ -2642,7 +2665,7 @@ import { ExclamationCircle } from "@medusajs/icons";
|
|
|
2642
2665
|
import { Text as Text6 } from "@medusajs/ui";
|
|
2643
2666
|
import { useTranslation as useTranslation8 } from "react-i18next";
|
|
2644
2667
|
import { Navigate as Navigate2, useLocation as useLocation6, useRouteError } from "react-router-dom";
|
|
2645
|
-
import { jsx as
|
|
2668
|
+
import { jsx as jsx13, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
2646
2669
|
var ErrorBoundary = () => {
|
|
2647
2670
|
const error = useRouteError();
|
|
2648
2671
|
const location = useLocation6();
|
|
@@ -2650,7 +2673,7 @@ var ErrorBoundary = () => {
|
|
|
2650
2673
|
let code = null;
|
|
2651
2674
|
if (isClientError(error)) {
|
|
2652
2675
|
if (error.status === 401) {
|
|
2653
|
-
return /* @__PURE__ */
|
|
2676
|
+
return /* @__PURE__ */ jsx13(Navigate2, { to: "/login", state: { from: location }, replace: true });
|
|
2654
2677
|
}
|
|
2655
2678
|
code = error.status ?? null;
|
|
2656
2679
|
}
|
|
@@ -2677,11 +2700,11 @@ var ErrorBoundary = () => {
|
|
|
2677
2700
|
message = t2("errorBoundary.defaultMessage");
|
|
2678
2701
|
break;
|
|
2679
2702
|
}
|
|
2680
|
-
return /* @__PURE__ */
|
|
2681
|
-
/* @__PURE__ */
|
|
2703
|
+
return /* @__PURE__ */ jsx13("div", { className: "flex size-full min-h-[calc(100vh-57px-24px)] items-center justify-center", children: /* @__PURE__ */ jsx13("div", { className: "flex flex-col gap-y-6", children: /* @__PURE__ */ jsxs8("div", { className: "text-ui-fg-subtle flex flex-col items-center gap-y-3", children: [
|
|
2704
|
+
/* @__PURE__ */ jsx13(ExclamationCircle, {}),
|
|
2682
2705
|
/* @__PURE__ */ jsxs8("div", { className: "flex flex-col items-center justify-center gap-y-1", children: [
|
|
2683
|
-
/* @__PURE__ */
|
|
2684
|
-
/* @__PURE__ */
|
|
2706
|
+
/* @__PURE__ */ jsx13(Text6, { size: "small", leading: "compact", weight: "plus", children: title }),
|
|
2707
|
+
/* @__PURE__ */ jsx13(
|
|
2685
2708
|
Text6,
|
|
2686
2709
|
{
|
|
2687
2710
|
size: "small",
|
|
@@ -2834,10 +2857,10 @@ var getNestedMenuItems = (menuItems, parentPath) => {
|
|
|
2834
2857
|
};
|
|
2835
2858
|
|
|
2836
2859
|
// src/components/layout/main-layout/main-layout.tsx
|
|
2837
|
-
import { jsx as
|
|
2860
|
+
import { jsx as jsx14, jsxs as jsxs9 } from "react/jsx-runtime";
|
|
2838
2861
|
var MainLayout = () => {
|
|
2839
2862
|
const Sidebar = components.MainSidebar ? components.MainSidebar : MainSidebar;
|
|
2840
|
-
return /* @__PURE__ */
|
|
2863
|
+
return /* @__PURE__ */ jsx14(Shell, { children: /* @__PURE__ */ jsx14(Sidebar, {}) });
|
|
2841
2864
|
};
|
|
2842
2865
|
var allMenuItems = menuItemsModule.menuItems ?? [];
|
|
2843
2866
|
var addNestedItems = (to, items) => {
|
|
@@ -2862,11 +2885,11 @@ var MainSidebar = () => {
|
|
|
2862
2885
|
const customRoutesWithNested = customMenuItems.sort((a, b) => (a.rank ?? 0) - (b.rank ?? 0)).map((item) => ({
|
|
2863
2886
|
label: item.label,
|
|
2864
2887
|
to: item.path,
|
|
2865
|
-
icon: item.icon ? /* @__PURE__ */
|
|
2888
|
+
icon: item.icon ? /* @__PURE__ */ jsx14(item.icon, {}) : void 0,
|
|
2866
2889
|
translationNs: item.translationNs,
|
|
2867
2890
|
items: addNestedItems(item.path)
|
|
2868
2891
|
}));
|
|
2869
|
-
return /* @__PURE__ */
|
|
2892
|
+
return /* @__PURE__ */ jsx14(
|
|
2870
2893
|
"aside",
|
|
2871
2894
|
{
|
|
2872
2895
|
className: "flex flex-1 flex-col justify-between overflow-y-auto",
|
|
@@ -2878,34 +2901,34 @@ var MainSidebar = () => {
|
|
|
2878
2901
|
className: "sticky top-0 bg-ui-bg-subtle",
|
|
2879
2902
|
"data-testid": "sidebar-header-section",
|
|
2880
2903
|
children: [
|
|
2881
|
-
/* @__PURE__ */
|
|
2882
|
-
/* @__PURE__ */
|
|
2904
|
+
/* @__PURE__ */ jsx14(Header, {}),
|
|
2905
|
+
/* @__PURE__ */ jsx14("div", { className: "px-3", children: /* @__PURE__ */ jsx14(Divider, { variant: "dashed" }) })
|
|
2883
2906
|
]
|
|
2884
2907
|
}
|
|
2885
2908
|
),
|
|
2886
2909
|
/* @__PURE__ */ jsxs9("div", { className: "flex flex-1 flex-col justify-between", children: [
|
|
2887
|
-
/* @__PURE__ */
|
|
2910
|
+
/* @__PURE__ */ jsx14("div", { className: "flex flex-1 flex-col", children: /* @__PURE__ */ jsxs9(
|
|
2888
2911
|
"nav",
|
|
2889
2912
|
{
|
|
2890
2913
|
className: "flex flex-col gap-y-1 py-3",
|
|
2891
2914
|
"data-testid": "sidebar-core-routes",
|
|
2892
2915
|
children: [
|
|
2893
|
-
/* @__PURE__ */
|
|
2916
|
+
/* @__PURE__ */ jsx14(Searchbar, {}),
|
|
2894
2917
|
routesWithNested.map((route) => {
|
|
2895
|
-
return /* @__PURE__ */
|
|
2918
|
+
return /* @__PURE__ */ jsx14(NavItem, { ...route }, route.to);
|
|
2896
2919
|
}),
|
|
2897
|
-
customRoutesWithNested.map((route) => /* @__PURE__ */
|
|
2920
|
+
customRoutesWithNested.map((route) => /* @__PURE__ */ jsx14(NavItem, { ...route }, route.to))
|
|
2898
2921
|
]
|
|
2899
2922
|
}
|
|
2900
2923
|
) }),
|
|
2901
|
-
/* @__PURE__ */
|
|
2924
|
+
/* @__PURE__ */ jsx14(UtilitySection, {})
|
|
2902
2925
|
] }),
|
|
2903
|
-
/* @__PURE__ */
|
|
2926
|
+
/* @__PURE__ */ jsx14(
|
|
2904
2927
|
"div",
|
|
2905
2928
|
{
|
|
2906
2929
|
className: "sticky bottom-0 bg-ui-bg-subtle",
|
|
2907
2930
|
"data-testid": "sidebar-user-section",
|
|
2908
|
-
children: /* @__PURE__ */
|
|
2931
|
+
children: /* @__PURE__ */ jsx14(UserSection, {})
|
|
2909
2932
|
}
|
|
2910
2933
|
)
|
|
2911
2934
|
] })
|
|
@@ -2924,14 +2947,14 @@ var Logout2 = () => {
|
|
|
2924
2947
|
}
|
|
2925
2948
|
});
|
|
2926
2949
|
};
|
|
2927
|
-
return /* @__PURE__ */
|
|
2950
|
+
return /* @__PURE__ */ jsx14(
|
|
2928
2951
|
DropdownMenu3.Item,
|
|
2929
2952
|
{
|
|
2930
2953
|
onClick: handleLogout,
|
|
2931
2954
|
"data-testid": "sidebar-header-dropdown-logout",
|
|
2932
2955
|
children: /* @__PURE__ */ jsxs9("div", { className: "flex items-center gap-x-2", children: [
|
|
2933
|
-
/* @__PURE__ */
|
|
2934
|
-
/* @__PURE__ */
|
|
2956
|
+
/* @__PURE__ */ jsx14(OpenRectArrowOut2, { className: "text-ui-fg-subtle" }),
|
|
2957
|
+
/* @__PURE__ */ jsx14("span", { children: t2("app.menus.actions.logout") })
|
|
2935
2958
|
] })
|
|
2936
2959
|
}
|
|
2937
2960
|
);
|
|
@@ -2946,7 +2969,7 @@ var Header = () => {
|
|
|
2946
2969
|
if (isError) {
|
|
2947
2970
|
throw error;
|
|
2948
2971
|
}
|
|
2949
|
-
return /* @__PURE__ */
|
|
2972
|
+
return /* @__PURE__ */ jsx14("div", { className: "w-full p-3", "data-testid": "sidebar-header-dropdown", children: /* @__PURE__ */ jsxs9(DropdownMenu3, { dir: direction, "data-testid": "sidebar-header-dropdown-menu", children: [
|
|
2950
2973
|
/* @__PURE__ */ jsxs9(
|
|
2951
2974
|
DropdownMenu3.Trigger,
|
|
2952
2975
|
{
|
|
@@ -2959,7 +2982,7 @@ var Header = () => {
|
|
|
2959
2982
|
),
|
|
2960
2983
|
"data-testid": "sidebar-header-dropdown-trigger",
|
|
2961
2984
|
children: [
|
|
2962
|
-
fallback ? /* @__PURE__ */
|
|
2985
|
+
fallback ? /* @__PURE__ */ jsx14(
|
|
2963
2986
|
Avatar2,
|
|
2964
2987
|
{
|
|
2965
2988
|
variant: "squared",
|
|
@@ -2967,13 +2990,13 @@ var Header = () => {
|
|
|
2967
2990
|
fallback,
|
|
2968
2991
|
"data-testid": "sidebar-header-dropdown-avatar"
|
|
2969
2992
|
}
|
|
2970
|
-
) : /* @__PURE__ */
|
|
2971
|
-
/* @__PURE__ */
|
|
2993
|
+
) : /* @__PURE__ */ jsx14(Skeleton, { className: "h-6 w-6 rounded-md" }),
|
|
2994
|
+
/* @__PURE__ */ jsx14(
|
|
2972
2995
|
"div",
|
|
2973
2996
|
{
|
|
2974
2997
|
className: "block overflow-hidden text-start",
|
|
2975
2998
|
"data-testid": "sidebar-header-dropdown-store-name",
|
|
2976
|
-
children: name ? /* @__PURE__ */
|
|
2999
|
+
children: name ? /* @__PURE__ */ jsx14(
|
|
2977
3000
|
Text7,
|
|
2978
3001
|
{
|
|
2979
3002
|
size: "small",
|
|
@@ -2982,10 +3005,10 @@ var Header = () => {
|
|
|
2982
3005
|
className: "truncate",
|
|
2983
3006
|
children: store.name
|
|
2984
3007
|
}
|
|
2985
|
-
) : /* @__PURE__ */
|
|
3008
|
+
) : /* @__PURE__ */ jsx14(Skeleton, { className: "h-[9px] w-[120px]" })
|
|
2986
3009
|
}
|
|
2987
3010
|
),
|
|
2988
|
-
/* @__PURE__ */
|
|
3011
|
+
/* @__PURE__ */ jsx14(EllipsisHorizontal2, { className: "text-ui-fg-muted" })
|
|
2989
3012
|
]
|
|
2990
3013
|
}
|
|
2991
3014
|
),
|
|
@@ -3001,7 +3024,7 @@ var Header = () => {
|
|
|
3001
3024
|
className: "flex items-center gap-x-3 px-2 py-1",
|
|
3002
3025
|
"data-testid": "sidebar-header-dropdown-user-info",
|
|
3003
3026
|
children: [
|
|
3004
|
-
/* @__PURE__ */
|
|
3027
|
+
/* @__PURE__ */ jsx14(
|
|
3005
3028
|
Avatar2,
|
|
3006
3029
|
{
|
|
3007
3030
|
variant: "squared",
|
|
@@ -3016,7 +3039,7 @@ var Header = () => {
|
|
|
3016
3039
|
className: "flex flex-col overflow-hidden",
|
|
3017
3040
|
"data-testid": "sidebar-header-dropdown-user-details",
|
|
3018
3041
|
children: [
|
|
3019
|
-
/* @__PURE__ */
|
|
3042
|
+
/* @__PURE__ */ jsx14(
|
|
3020
3043
|
Text7,
|
|
3021
3044
|
{
|
|
3022
3045
|
size: "small",
|
|
@@ -3027,7 +3050,7 @@ var Header = () => {
|
|
|
3027
3050
|
children: name
|
|
3028
3051
|
}
|
|
3029
3052
|
),
|
|
3030
|
-
/* @__PURE__ */
|
|
3053
|
+
/* @__PURE__ */ jsx14(
|
|
3031
3054
|
Text7,
|
|
3032
3055
|
{
|
|
3033
3056
|
size: "xsmall",
|
|
@@ -3043,21 +3066,21 @@ var Header = () => {
|
|
|
3043
3066
|
]
|
|
3044
3067
|
}
|
|
3045
3068
|
),
|
|
3046
|
-
/* @__PURE__ */
|
|
3047
|
-
/* @__PURE__ */
|
|
3069
|
+
/* @__PURE__ */ jsx14(DropdownMenu3.Separator, { "data-testid": "sidebar-header-dropdown-separator-1" }),
|
|
3070
|
+
/* @__PURE__ */ jsx14(
|
|
3048
3071
|
DropdownMenu3.Item,
|
|
3049
3072
|
{
|
|
3050
3073
|
className: "gap-x-2",
|
|
3051
3074
|
asChild: true,
|
|
3052
3075
|
"data-testid": "sidebar-header-dropdown-store-settings",
|
|
3053
3076
|
children: /* @__PURE__ */ jsxs9(Link3, { to: "/settings/marketplace", children: [
|
|
3054
|
-
/* @__PURE__ */
|
|
3077
|
+
/* @__PURE__ */ jsx14(BuildingStorefront, { className: "text-ui-fg-subtle" }),
|
|
3055
3078
|
t2("app.nav.main.marketplaceSettings")
|
|
3056
3079
|
] })
|
|
3057
3080
|
}
|
|
3058
3081
|
),
|
|
3059
|
-
/* @__PURE__ */
|
|
3060
|
-
/* @__PURE__ */
|
|
3082
|
+
/* @__PURE__ */ jsx14(DropdownMenu3.Separator, { "data-testid": "sidebar-header-dropdown-separator-2" }),
|
|
3083
|
+
/* @__PURE__ */ jsx14(Logout2, {})
|
|
3061
3084
|
]
|
|
3062
3085
|
}
|
|
3063
3086
|
)
|
|
@@ -3067,7 +3090,7 @@ var useCoreRoutes = () => {
|
|
|
3067
3090
|
const { t: t2 } = useTranslation9();
|
|
3068
3091
|
return [
|
|
3069
3092
|
{
|
|
3070
|
-
icon: /* @__PURE__ */
|
|
3093
|
+
icon: /* @__PURE__ */ jsx14(ShoppingCart, {}),
|
|
3071
3094
|
label: t2("orders.domain"),
|
|
3072
3095
|
to: "/orders",
|
|
3073
3096
|
items: [
|
|
@@ -3079,7 +3102,7 @@ var useCoreRoutes = () => {
|
|
|
3079
3102
|
]
|
|
3080
3103
|
},
|
|
3081
3104
|
{
|
|
3082
|
-
icon: /* @__PURE__ */
|
|
3105
|
+
icon: /* @__PURE__ */ jsx14(Tag, {}),
|
|
3083
3106
|
label: t2("products.domain"),
|
|
3084
3107
|
to: "/products",
|
|
3085
3108
|
items: [
|
|
@@ -3103,7 +3126,7 @@ var useCoreRoutes = () => {
|
|
|
3103
3126
|
]
|
|
3104
3127
|
},
|
|
3105
3128
|
{
|
|
3106
|
-
icon: /* @__PURE__ */
|
|
3129
|
+
icon: /* @__PURE__ */ jsx14(Buildings, {}),
|
|
3107
3130
|
label: t2("inventory.domain"),
|
|
3108
3131
|
to: "/inventory",
|
|
3109
3132
|
items: [
|
|
@@ -3114,7 +3137,7 @@ var useCoreRoutes = () => {
|
|
|
3114
3137
|
]
|
|
3115
3138
|
},
|
|
3116
3139
|
{
|
|
3117
|
-
icon: /* @__PURE__ */
|
|
3140
|
+
icon: /* @__PURE__ */ jsx14(Users, {}),
|
|
3118
3141
|
label: t2("customers.domain"),
|
|
3119
3142
|
to: "/customers",
|
|
3120
3143
|
items: [
|
|
@@ -3125,7 +3148,7 @@ var useCoreRoutes = () => {
|
|
|
3125
3148
|
]
|
|
3126
3149
|
},
|
|
3127
3150
|
{
|
|
3128
|
-
icon: /* @__PURE__ */
|
|
3151
|
+
icon: /* @__PURE__ */ jsx14(ReceiptPercent, {}),
|
|
3129
3152
|
label: t2("promotions.domain"),
|
|
3130
3153
|
to: "/promotions",
|
|
3131
3154
|
items: [
|
|
@@ -3136,17 +3159,17 @@ var useCoreRoutes = () => {
|
|
|
3136
3159
|
]
|
|
3137
3160
|
},
|
|
3138
3161
|
{
|
|
3139
|
-
icon: /* @__PURE__ */
|
|
3162
|
+
icon: /* @__PURE__ */ jsx14(CurrencyDollar, {}),
|
|
3140
3163
|
label: t2("priceLists.domain"),
|
|
3141
3164
|
to: "/price-lists"
|
|
3142
3165
|
},
|
|
3143
3166
|
{
|
|
3144
|
-
icon: /* @__PURE__ */
|
|
3167
|
+
icon: /* @__PURE__ */ jsx14(BuildingStorefront, {}),
|
|
3145
3168
|
label: t2("stores.domain"),
|
|
3146
3169
|
to: "/stores"
|
|
3147
3170
|
},
|
|
3148
3171
|
{
|
|
3149
|
-
icon: /* @__PURE__ */
|
|
3172
|
+
icon: /* @__PURE__ */ jsx14(CreditCardRefresh, {}),
|
|
3150
3173
|
label: t2("payouts.domain"),
|
|
3151
3174
|
to: "/payouts"
|
|
3152
3175
|
}
|
|
@@ -3155,7 +3178,7 @@ var useCoreRoutes = () => {
|
|
|
3155
3178
|
var Searchbar = () => {
|
|
3156
3179
|
const { t: t2 } = useTranslation9();
|
|
3157
3180
|
const { toggleSearch } = useSearch();
|
|
3158
|
-
return /* @__PURE__ */
|
|
3181
|
+
return /* @__PURE__ */ jsx14("div", { className: "px-3", "data-testid": "sidebar-search", children: /* @__PURE__ */ jsxs9(
|
|
3159
3182
|
"button",
|
|
3160
3183
|
{
|
|
3161
3184
|
onClick: toggleSearch,
|
|
@@ -3166,9 +3189,9 @@ var Searchbar = () => {
|
|
|
3166
3189
|
),
|
|
3167
3190
|
"data-testid": "sidebar-search-button",
|
|
3168
3191
|
children: [
|
|
3169
|
-
/* @__PURE__ */
|
|
3170
|
-
/* @__PURE__ */
|
|
3171
|
-
/* @__PURE__ */
|
|
3192
|
+
/* @__PURE__ */ jsx14(MagnifyingGlass2, {}),
|
|
3193
|
+
/* @__PURE__ */ jsx14("div", { className: "flex-1 text-start", children: /* @__PURE__ */ jsx14(Text7, { size: "small", leading: "compact", weight: "plus", children: t2("app.search.label") }) }),
|
|
3194
|
+
/* @__PURE__ */ jsx14(Text7, { size: "small", leading: "compact", className: "text-ui-fg-muted", children: "\u2318K" })
|
|
3172
3195
|
]
|
|
3173
3196
|
}
|
|
3174
3197
|
) });
|
|
@@ -3176,28 +3199,28 @@ var Searchbar = () => {
|
|
|
3176
3199
|
var UtilitySection = () => {
|
|
3177
3200
|
const location = useLocation7();
|
|
3178
3201
|
const { t: t2 } = useTranslation9();
|
|
3179
|
-
return /* @__PURE__ */
|
|
3202
|
+
return /* @__PURE__ */ jsx14("div", { className: "flex flex-col gap-y-0.5 py-3", children: /* @__PURE__ */ jsx14(
|
|
3180
3203
|
NavItem,
|
|
3181
3204
|
{
|
|
3182
3205
|
label: t2("app.nav.settings.header"),
|
|
3183
3206
|
to: "/settings",
|
|
3184
3207
|
from: location.pathname,
|
|
3185
|
-
icon: /* @__PURE__ */
|
|
3208
|
+
icon: /* @__PURE__ */ jsx14(CogSixTooth, {})
|
|
3186
3209
|
}
|
|
3187
3210
|
) });
|
|
3188
3211
|
};
|
|
3189
3212
|
var UserSection = () => {
|
|
3190
3213
|
return /* @__PURE__ */ jsxs9("div", { children: [
|
|
3191
|
-
/* @__PURE__ */
|
|
3192
|
-
/* @__PURE__ */
|
|
3214
|
+
/* @__PURE__ */ jsx14("div", { className: "px-3", children: /* @__PURE__ */ jsx14(Divider, { variant: "dashed" }) }),
|
|
3215
|
+
/* @__PURE__ */ jsx14(UserMenu, {})
|
|
3193
3216
|
] });
|
|
3194
3217
|
};
|
|
3195
3218
|
|
|
3196
3219
|
// src/components/layout/public-layout/public-layout.tsx
|
|
3197
3220
|
import { Outlet as Outlet3 } from "react-router-dom";
|
|
3198
|
-
import { jsx as
|
|
3221
|
+
import { jsx as jsx15 } from "react/jsx-runtime";
|
|
3199
3222
|
var PublicLayout = () => {
|
|
3200
|
-
return /* @__PURE__ */
|
|
3223
|
+
return /* @__PURE__ */ jsx15(Outlet3, {});
|
|
3201
3224
|
};
|
|
3202
3225
|
|
|
3203
3226
|
// src/components/layout/settings-layout/settings-layout.tsx
|
|
@@ -3209,10 +3232,10 @@ import { useTranslation as useTranslation10 } from "react-i18next";
|
|
|
3209
3232
|
import { Link as Link4, useLocation as useLocation8 } from "react-router-dom";
|
|
3210
3233
|
import components2 from "virtual:mercur/components";
|
|
3211
3234
|
import menuItemsModule2 from "virtual:mercur/menu-items";
|
|
3212
|
-
import { jsx as
|
|
3235
|
+
import { jsx as jsx16, jsxs as jsxs10 } from "react/jsx-runtime";
|
|
3213
3236
|
var SettingsLayout = () => {
|
|
3214
3237
|
const Sidebar = components2.SettingsSidebar ? components2.SettingsSidebar : SettingsSidebar;
|
|
3215
|
-
return /* @__PURE__ */
|
|
3238
|
+
return /* @__PURE__ */ jsx16(Shell, { children: /* @__PURE__ */ jsx16(Sidebar, {}) });
|
|
3216
3239
|
};
|
|
3217
3240
|
var allMenuItems2 = menuItemsModule2.menuItems ?? [];
|
|
3218
3241
|
var customSettingsItems = getMenuItemsByType(allMenuItems2, "settings");
|
|
@@ -3257,10 +3280,6 @@ var useSettingRoutes = () => {
|
|
|
3257
3280
|
label: t2("productTypes.domain"),
|
|
3258
3281
|
to: "/settings/product-types"
|
|
3259
3282
|
},
|
|
3260
|
-
{
|
|
3261
|
-
label: t2("productBrands.domain"),
|
|
3262
|
-
to: "/settings/product-brands"
|
|
3263
|
-
},
|
|
3264
3283
|
{
|
|
3265
3284
|
label: t2("productTags.domain"),
|
|
3266
3285
|
to: "/settings/product-tags"
|
|
@@ -3323,28 +3342,28 @@ var SettingsSidebar = () => {
|
|
|
3323
3342
|
const { t: t2 } = useTranslation10();
|
|
3324
3343
|
return /* @__PURE__ */ jsxs10("aside", { className: "relative flex flex-1 flex-col justify-between overflow-y-auto", children: [
|
|
3325
3344
|
/* @__PURE__ */ jsxs10("div", { className: "sticky top-0 bg-ui-bg-subtle", children: [
|
|
3326
|
-
/* @__PURE__ */
|
|
3327
|
-
/* @__PURE__ */
|
|
3345
|
+
/* @__PURE__ */ jsx16(Header2, {}),
|
|
3346
|
+
/* @__PURE__ */ jsx16("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx16(Divider2, { variant: "dashed" }) })
|
|
3328
3347
|
] }),
|
|
3329
3348
|
/* @__PURE__ */ jsxs10("div", { className: "flex flex-1 flex-col", children: [
|
|
3330
3349
|
/* @__PURE__ */ jsxs10("div", { className: "flex flex-1 flex-col overflow-y-auto", children: [
|
|
3331
|
-
/* @__PURE__ */
|
|
3350
|
+
/* @__PURE__ */ jsx16(
|
|
3332
3351
|
RadixCollapsibleSection,
|
|
3333
3352
|
{
|
|
3334
3353
|
label: t2("app.nav.settings.general"),
|
|
3335
3354
|
items: routes
|
|
3336
3355
|
}
|
|
3337
3356
|
),
|
|
3338
|
-
/* @__PURE__ */
|
|
3339
|
-
/* @__PURE__ */
|
|
3357
|
+
/* @__PURE__ */ jsx16("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx16(Divider2, { variant: "dashed" }) }),
|
|
3358
|
+
/* @__PURE__ */ jsx16(
|
|
3340
3359
|
RadixCollapsibleSection,
|
|
3341
3360
|
{
|
|
3342
3361
|
label: t2("app.nav.settings.developer"),
|
|
3343
3362
|
items: developerRoutes
|
|
3344
3363
|
}
|
|
3345
3364
|
),
|
|
3346
|
-
/* @__PURE__ */
|
|
3347
|
-
/* @__PURE__ */
|
|
3365
|
+
/* @__PURE__ */ jsx16("div", { className: "flex items-center justify-center px-3", children: /* @__PURE__ */ jsx16(Divider2, { variant: "dashed" }) }),
|
|
3366
|
+
/* @__PURE__ */ jsx16(
|
|
3348
3367
|
RadixCollapsibleSection,
|
|
3349
3368
|
{
|
|
3350
3369
|
label: t2("app.nav.settings.myAccount"),
|
|
@@ -3352,7 +3371,7 @@ var SettingsSidebar = () => {
|
|
|
3352
3371
|
}
|
|
3353
3372
|
)
|
|
3354
3373
|
] }),
|
|
3355
|
-
/* @__PURE__ */
|
|
3374
|
+
/* @__PURE__ */ jsx16("div", { className: "sticky bottom-0 bg-ui-bg-subtle", children: /* @__PURE__ */ jsx16(UserSection2, {}) })
|
|
3356
3375
|
] })
|
|
3357
3376
|
] });
|
|
3358
3377
|
};
|
|
@@ -3365,7 +3384,7 @@ var Header2 = () => {
|
|
|
3365
3384
|
setFrom(getSafeFromValue(location.state.from));
|
|
3366
3385
|
}
|
|
3367
3386
|
}, [location]);
|
|
3368
|
-
return /* @__PURE__ */
|
|
3387
|
+
return /* @__PURE__ */ jsx16("div", { className: "bg-ui-bg-subtle p-3", children: /* @__PURE__ */ jsx16(
|
|
3369
3388
|
Link4,
|
|
3370
3389
|
{
|
|
3371
3390
|
to: from,
|
|
@@ -3376,8 +3395,8 @@ var Header2 = () => {
|
|
|
3376
3395
|
"focus-visible:shadow-borders-focus"
|
|
3377
3396
|
),
|
|
3378
3397
|
children: /* @__PURE__ */ jsxs10("div", { className: "flex items-center gap-x-2.5 px-2 py-1", children: [
|
|
3379
|
-
/* @__PURE__ */
|
|
3380
|
-
/* @__PURE__ */
|
|
3398
|
+
/* @__PURE__ */ jsx16("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx16(ArrowUturnLeft2, { className: "text-ui-fg-subtle" }) }),
|
|
3399
|
+
/* @__PURE__ */ jsx16(Text8, { leading: "compact", weight: "plus", size: "small", children: t2("app.nav.settings.header") })
|
|
3381
3400
|
] })
|
|
3382
3401
|
}
|
|
3383
3402
|
) });
|
|
@@ -3387,22 +3406,22 @@ var RadixCollapsibleSection = ({
|
|
|
3387
3406
|
items
|
|
3388
3407
|
}) => {
|
|
3389
3408
|
return /* @__PURE__ */ jsxs10(RadixCollapsible2.Root, { defaultOpen: true, className: "py-3", children: [
|
|
3390
|
-
/* @__PURE__ */
|
|
3391
|
-
/* @__PURE__ */
|
|
3392
|
-
/* @__PURE__ */
|
|
3409
|
+
/* @__PURE__ */ jsx16("div", { className: "px-3", children: /* @__PURE__ */ jsxs10("div", { className: "flex h-7 items-center justify-between px-2 text-ui-fg-muted", children: [
|
|
3410
|
+
/* @__PURE__ */ jsx16(Text8, { size: "small", leading: "compact", children: label }),
|
|
3411
|
+
/* @__PURE__ */ jsx16(RadixCollapsible2.Trigger, { asChild: true, children: /* @__PURE__ */ jsx16(IconButton6, { size: "2xsmall", variant: "transparent", className: "static", children: /* @__PURE__ */ jsx16(MinusMini, { className: "text-ui-fg-muted" }) }) })
|
|
3393
3412
|
] }) }),
|
|
3394
|
-
/* @__PURE__ */
|
|
3413
|
+
/* @__PURE__ */ jsx16(RadixCollapsible2.Content, { children: /* @__PURE__ */ jsx16("div", { className: "pt-0.5", children: /* @__PURE__ */ jsx16("nav", { className: "flex flex-col gap-y-0.5", children: items.map((setting) => /* @__PURE__ */ jsx16(NavItem, { type: "setting", ...setting }, setting.to)) }) }) })
|
|
3395
3414
|
] });
|
|
3396
3415
|
};
|
|
3397
3416
|
var UserSection2 = () => {
|
|
3398
3417
|
return /* @__PURE__ */ jsxs10("div", { children: [
|
|
3399
|
-
/* @__PURE__ */
|
|
3400
|
-
/* @__PURE__ */
|
|
3418
|
+
/* @__PURE__ */ jsx16("div", { className: "px-3", children: /* @__PURE__ */ jsx16(Divider2, { variant: "dashed" }) }),
|
|
3419
|
+
/* @__PURE__ */ jsx16(UserMenu, {})
|
|
3401
3420
|
] });
|
|
3402
3421
|
};
|
|
3403
3422
|
|
|
3404
3423
|
// src/get-route-map.tsx
|
|
3405
|
-
import { jsx as
|
|
3424
|
+
import { jsx as jsx17 } from "react/jsx-runtime";
|
|
3406
3425
|
function mergeRoutes(baseRoutes, customRoutes2) {
|
|
3407
3426
|
const result = baseRoutes.map((route) => ({ ...route }));
|
|
3408
3427
|
for (const customRoute of customRoutes2) {
|
|
@@ -3431,151 +3450,131 @@ function getRouteMap({
|
|
|
3431
3450
|
}) {
|
|
3432
3451
|
return [
|
|
3433
3452
|
{
|
|
3434
|
-
element: /* @__PURE__ */
|
|
3435
|
-
errorElement: /* @__PURE__ */
|
|
3453
|
+
element: /* @__PURE__ */ jsx17(ProtectedRoute, {}),
|
|
3454
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3436
3455
|
children: [
|
|
3437
3456
|
{
|
|
3438
|
-
element: /* @__PURE__ */
|
|
3457
|
+
element: /* @__PURE__ */ jsx17(MainLayout, {}),
|
|
3439
3458
|
children: mergeRoutes(
|
|
3440
3459
|
[
|
|
3441
3460
|
{
|
|
3442
3461
|
path: "/",
|
|
3443
|
-
errorElement: /* @__PURE__ */
|
|
3462
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3444
3463
|
lazy: () => import("./home-I3OILW5Z.js")
|
|
3445
3464
|
},
|
|
3446
3465
|
{
|
|
3447
3466
|
path: "/products",
|
|
3448
|
-
errorElement: /* @__PURE__ */
|
|
3467
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3449
3468
|
handle: {
|
|
3450
3469
|
breadcrumb: () => t("products.domain")
|
|
3451
3470
|
},
|
|
3452
3471
|
children: [
|
|
3453
3472
|
{
|
|
3454
3473
|
path: "",
|
|
3455
|
-
lazy: () => import("./product-list-
|
|
3474
|
+
lazy: () => import("./product-list-2BWYAATR.js"),
|
|
3456
3475
|
children: [
|
|
3457
3476
|
{
|
|
3458
3477
|
path: "create",
|
|
3459
|
-
lazy: () => import("./product-create-
|
|
3478
|
+
lazy: () => import("./product-create-UR5OFGUY.js")
|
|
3460
3479
|
},
|
|
3461
3480
|
{
|
|
3462
3481
|
path: "bulk-edit",
|
|
3463
|
-
lazy: () => import("./product-bulk-edit-
|
|
3482
|
+
lazy: () => import("./product-bulk-edit-J3CMBZN2.js")
|
|
3464
3483
|
}
|
|
3465
3484
|
]
|
|
3466
3485
|
},
|
|
3467
3486
|
{
|
|
3468
3487
|
path: ":id",
|
|
3469
|
-
errorElement: /* @__PURE__ */
|
|
3488
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3470
3489
|
lazy: async () => {
|
|
3471
|
-
const { Breadcrumb, loader } = await import("./product-detail-
|
|
3490
|
+
const { Breadcrumb, loader } = await import("./product-detail-5IEJPONZ.js");
|
|
3472
3491
|
return {
|
|
3473
3492
|
Component: Outlet4,
|
|
3474
3493
|
loader,
|
|
3475
3494
|
handle: {
|
|
3476
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3495
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3477
3496
|
}
|
|
3478
3497
|
};
|
|
3479
3498
|
},
|
|
3480
3499
|
children: [
|
|
3481
3500
|
{
|
|
3482
3501
|
path: "",
|
|
3483
|
-
lazy: () => import("./product-detail-
|
|
3502
|
+
lazy: () => import("./product-detail-5IEJPONZ.js"),
|
|
3484
3503
|
children: [
|
|
3485
3504
|
{
|
|
3486
3505
|
path: "edit",
|
|
3487
|
-
lazy: () => import("./product-edit-
|
|
3506
|
+
lazy: () => import("./product-edit-F4CKOIUO.js")
|
|
3488
3507
|
},
|
|
3489
3508
|
{
|
|
3490
3509
|
path: "edit-variant",
|
|
3491
|
-
lazy: () => import("./product-variant-edit-
|
|
3510
|
+
lazy: () => import("./product-variant-edit-TLF475SH.js")
|
|
3492
3511
|
},
|
|
3493
3512
|
{
|
|
3494
3513
|
path: "sales-channels",
|
|
3495
|
-
lazy: () => import("./product-sales-channels-
|
|
3514
|
+
lazy: () => import("./product-sales-channels-WKQSYOEX.js")
|
|
3496
3515
|
},
|
|
3497
3516
|
{
|
|
3498
3517
|
path: "attributes",
|
|
3499
|
-
lazy: () => import("./product-attributes-
|
|
3518
|
+
lazy: () => import("./product-attributes-C3KHQF2I.js")
|
|
3500
3519
|
},
|
|
3501
3520
|
{
|
|
3502
3521
|
path: "attributes/create",
|
|
3503
|
-
lazy: () => import("./product-create-attribute-
|
|
3522
|
+
lazy: () => import("./product-create-attribute-XARMC6FJ.js")
|
|
3504
3523
|
},
|
|
3505
3524
|
{
|
|
3506
3525
|
path: "attributes/add",
|
|
3507
|
-
lazy: () => import("./product-add-existing-attributes-
|
|
3526
|
+
lazy: () => import("./product-add-existing-attributes-GGRRNFDK.js")
|
|
3527
|
+
},
|
|
3528
|
+
{
|
|
3529
|
+
path: "attributes/:attribute_id/edit",
|
|
3530
|
+
lazy: () => import("./product-edit-attribute-LG2ZM6HQ.js")
|
|
3508
3531
|
},
|
|
3509
3532
|
{
|
|
3510
3533
|
path: "organization",
|
|
3511
|
-
lazy: () => import("./product-organization-
|
|
3534
|
+
lazy: () => import("./product-organization-BFWDCHP4.js")
|
|
3512
3535
|
},
|
|
3513
3536
|
{
|
|
3514
3537
|
path: "shipping-profile",
|
|
3515
|
-
lazy: () => import("./product-shipping-profile-
|
|
3538
|
+
lazy: () => import("./product-shipping-profile-WDLKA2SN.js")
|
|
3516
3539
|
},
|
|
3517
3540
|
{
|
|
3518
3541
|
path: "media",
|
|
3519
|
-
lazy: () => import("./product-media-
|
|
3520
|
-
},
|
|
3521
|
-
{
|
|
3522
|
-
path: "prices",
|
|
3523
|
-
lazy: () => import("./product-prices-R5JOHVGS.js")
|
|
3524
|
-
},
|
|
3525
|
-
{
|
|
3526
|
-
path: "options/create",
|
|
3527
|
-
lazy: () => import("./product-create-option-NIAP75EE.js")
|
|
3528
|
-
},
|
|
3529
|
-
{
|
|
3530
|
-
path: "options/:option_id/edit",
|
|
3531
|
-
lazy: () => import("./product-edit-option-OZUZGMIM.js")
|
|
3542
|
+
lazy: () => import("./product-media-EUDMCJ75.js")
|
|
3532
3543
|
},
|
|
3533
3544
|
{
|
|
3534
3545
|
path: "variants/create",
|
|
3535
|
-
lazy: () => import("./product-create-variant-
|
|
3536
|
-
},
|
|
3537
|
-
{
|
|
3538
|
-
path: "stock",
|
|
3539
|
-
lazy: () => import("./product-stock-EIP2XJUR.js")
|
|
3546
|
+
lazy: () => import("./product-create-variant-6VUKYLWE.js")
|
|
3540
3547
|
},
|
|
3541
3548
|
{
|
|
3542
3549
|
path: "metadata/edit",
|
|
3543
|
-
lazy: () => import("./product-metadata-
|
|
3550
|
+
lazy: () => import("./product-metadata-5WVNFCRL.js")
|
|
3544
3551
|
}
|
|
3545
3552
|
]
|
|
3546
3553
|
},
|
|
3547
3554
|
{
|
|
3548
3555
|
path: "variants/:variant_id",
|
|
3549
3556
|
lazy: async () => {
|
|
3550
|
-
const { Breadcrumb, loader } = await import("./product-variant-detail-
|
|
3557
|
+
const { Breadcrumb, loader } = await import("./product-variant-detail-PQ4RKPZT.js");
|
|
3551
3558
|
return {
|
|
3552
3559
|
Component: Outlet4,
|
|
3553
3560
|
loader,
|
|
3554
3561
|
handle: {
|
|
3555
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3562
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3556
3563
|
}
|
|
3557
3564
|
};
|
|
3558
3565
|
},
|
|
3559
3566
|
children: [
|
|
3560
3567
|
{
|
|
3561
3568
|
path: "",
|
|
3562
|
-
lazy: () => import("./product-variant-detail-
|
|
3569
|
+
lazy: () => import("./product-variant-detail-PQ4RKPZT.js"),
|
|
3563
3570
|
children: [
|
|
3564
3571
|
{
|
|
3565
3572
|
path: "edit",
|
|
3566
|
-
lazy: () => import("./product-variant-edit-
|
|
3567
|
-
},
|
|
3568
|
-
{
|
|
3569
|
-
path: "prices",
|
|
3570
|
-
lazy: () => import("./product-prices-R5JOHVGS.js")
|
|
3571
|
-
},
|
|
3572
|
-
{
|
|
3573
|
-
path: "manage-items",
|
|
3574
|
-
lazy: () => import("./product-variant-manage-inventory-items-Q5MJG3EJ.js")
|
|
3573
|
+
lazy: () => import("./product-variant-edit-TLF475SH.js")
|
|
3575
3574
|
},
|
|
3576
3575
|
{
|
|
3577
3576
|
path: "metadata/edit",
|
|
3578
|
-
lazy: () => import("./product-variant-metadata-
|
|
3577
|
+
lazy: () => import("./product-variant-metadata-3M72B3PM.js")
|
|
3579
3578
|
}
|
|
3580
3579
|
]
|
|
3581
3580
|
}
|
|
@@ -3587,57 +3586,57 @@ function getRouteMap({
|
|
|
3587
3586
|
},
|
|
3588
3587
|
{
|
|
3589
3588
|
path: "/categories",
|
|
3590
|
-
errorElement: /* @__PURE__ */
|
|
3589
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3591
3590
|
handle: {
|
|
3592
3591
|
breadcrumb: () => t("categories.domain")
|
|
3593
3592
|
},
|
|
3594
3593
|
children: [
|
|
3595
3594
|
{
|
|
3596
3595
|
path: "",
|
|
3597
|
-
lazy: () => import("./category-list-
|
|
3596
|
+
lazy: () => import("./category-list-SNVOQ64L.js"),
|
|
3598
3597
|
children: [
|
|
3599
3598
|
{
|
|
3600
3599
|
path: "create",
|
|
3601
|
-
lazy: () => import("./category-create-
|
|
3600
|
+
lazy: () => import("./category-create-GMCJABRW.js")
|
|
3602
3601
|
},
|
|
3603
3602
|
{
|
|
3604
3603
|
path: "organize",
|
|
3605
|
-
lazy: () => import("./category-organize-
|
|
3604
|
+
lazy: () => import("./category-organize-UY4M4N7S.js")
|
|
3606
3605
|
}
|
|
3607
3606
|
]
|
|
3608
3607
|
},
|
|
3609
3608
|
{
|
|
3610
3609
|
path: ":id",
|
|
3611
3610
|
lazy: async () => {
|
|
3612
|
-
const { Breadcrumb, loader } = await import("./category-detail-
|
|
3611
|
+
const { Breadcrumb, loader } = await import("./category-detail-IP5EPIUR.js");
|
|
3613
3612
|
return {
|
|
3614
3613
|
Component: Outlet4,
|
|
3615
3614
|
loader,
|
|
3616
3615
|
handle: {
|
|
3617
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3616
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3618
3617
|
}
|
|
3619
3618
|
};
|
|
3620
3619
|
},
|
|
3621
3620
|
children: [
|
|
3622
3621
|
{
|
|
3623
3622
|
path: "",
|
|
3624
|
-
lazy: () => import("./category-detail-
|
|
3623
|
+
lazy: () => import("./category-detail-IP5EPIUR.js"),
|
|
3625
3624
|
children: [
|
|
3626
3625
|
{
|
|
3627
3626
|
path: "edit",
|
|
3628
|
-
lazy: () => import("./category-edit-
|
|
3627
|
+
lazy: () => import("./category-edit-GLE4NTFG.js")
|
|
3629
3628
|
},
|
|
3630
3629
|
{
|
|
3631
3630
|
path: "products",
|
|
3632
|
-
lazy: () => import("./category-products-
|
|
3631
|
+
lazy: () => import("./category-products-HWXJR7KR.js")
|
|
3633
3632
|
},
|
|
3634
3633
|
{
|
|
3635
3634
|
path: "organize",
|
|
3636
|
-
lazy: () => import("./category-organize-
|
|
3635
|
+
lazy: () => import("./category-organize-UY4M4N7S.js")
|
|
3637
3636
|
},
|
|
3638
3637
|
{
|
|
3639
3638
|
path: "metadata/edit",
|
|
3640
|
-
lazy: () => import("./categories-metadata-
|
|
3639
|
+
lazy: () => import("./categories-metadata-Z5JAWPAK.js")
|
|
3641
3640
|
}
|
|
3642
3641
|
]
|
|
3643
3642
|
}
|
|
@@ -3647,87 +3646,71 @@ function getRouteMap({
|
|
|
3647
3646
|
},
|
|
3648
3647
|
{
|
|
3649
3648
|
path: "/orders",
|
|
3650
|
-
errorElement: /* @__PURE__ */
|
|
3649
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3651
3650
|
handle: {
|
|
3652
3651
|
breadcrumb: () => t("orders.domain")
|
|
3653
3652
|
},
|
|
3654
3653
|
children: [
|
|
3655
3654
|
{
|
|
3656
3655
|
path: "",
|
|
3657
|
-
lazy: () => import("./order-list-
|
|
3656
|
+
lazy: () => import("./order-list-S3AJC6L5.js")
|
|
3658
3657
|
},
|
|
3659
3658
|
{
|
|
3660
3659
|
path: ":id",
|
|
3661
3660
|
lazy: async () => {
|
|
3662
|
-
const { Breadcrumb, loader } = await import("./order-detail-
|
|
3661
|
+
const { Breadcrumb, loader } = await import("./order-detail-KAB4MV7X.js");
|
|
3663
3662
|
return {
|
|
3664
3663
|
Component: Outlet4,
|
|
3665
3664
|
loader,
|
|
3666
3665
|
handle: {
|
|
3667
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3666
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3668
3667
|
}
|
|
3669
3668
|
};
|
|
3670
3669
|
},
|
|
3671
3670
|
children: [
|
|
3672
3671
|
{
|
|
3673
3672
|
path: "",
|
|
3674
|
-
lazy: () => import("./order-detail-
|
|
3673
|
+
lazy: () => import("./order-detail-KAB4MV7X.js"),
|
|
3675
3674
|
children: [
|
|
3676
|
-
{
|
|
3677
|
-
path: "fulfillment",
|
|
3678
|
-
lazy: () => import("./order-create-fulfillment-SMSUJSBN.js")
|
|
3679
|
-
},
|
|
3680
|
-
{
|
|
3681
|
-
path: "returns/:return_id/receive",
|
|
3682
|
-
lazy: () => import("./order-receive-return-DZ4IUOHY.js")
|
|
3683
|
-
},
|
|
3684
|
-
{
|
|
3685
|
-
path: "allocate-items",
|
|
3686
|
-
lazy: () => import("./order-allocate-items-DJ2V4B7A.js")
|
|
3687
|
-
},
|
|
3688
|
-
{
|
|
3689
|
-
path: ":f_id/create-shipment",
|
|
3690
|
-
lazy: () => import("./order-create-shipment-5ZAWH5CZ.js")
|
|
3691
|
-
},
|
|
3692
3675
|
{
|
|
3693
3676
|
path: "returns",
|
|
3694
|
-
lazy: () => import("./order-create-return-
|
|
3677
|
+
lazy: () => import("./order-create-return-FLGYGUTQ.js")
|
|
3695
3678
|
},
|
|
3696
3679
|
{
|
|
3697
3680
|
path: "claims",
|
|
3698
|
-
lazy: () => import("./order-create-claim-
|
|
3681
|
+
lazy: () => import("./order-create-claim-OVHMMR3J.js")
|
|
3699
3682
|
},
|
|
3700
3683
|
{
|
|
3701
3684
|
path: "exchanges",
|
|
3702
|
-
lazy: () => import("./order-create-exchange-
|
|
3685
|
+
lazy: () => import("./order-create-exchange-L56VKQBL.js")
|
|
3703
3686
|
},
|
|
3704
3687
|
{
|
|
3705
3688
|
path: "edits",
|
|
3706
|
-
lazy: () => import("./order-create-edit-
|
|
3689
|
+
lazy: () => import("./order-create-edit-HEOYCYZO.js")
|
|
3707
3690
|
},
|
|
3708
3691
|
{
|
|
3709
3692
|
path: "refund",
|
|
3710
|
-
lazy: () => import("./order-create-refund-
|
|
3693
|
+
lazy: () => import("./order-create-refund-UTJKJ3AJ.js")
|
|
3711
3694
|
},
|
|
3712
3695
|
{
|
|
3713
3696
|
path: "transfer",
|
|
3714
|
-
lazy: () => import("./order-request-transfer-
|
|
3697
|
+
lazy: () => import("./order-request-transfer-YLMXC7NL.js")
|
|
3715
3698
|
},
|
|
3716
3699
|
{
|
|
3717
3700
|
path: "email",
|
|
3718
|
-
lazy: () => import("./order-edit-email-
|
|
3701
|
+
lazy: () => import("./order-edit-email-OO7AMRHC.js")
|
|
3719
3702
|
},
|
|
3720
3703
|
{
|
|
3721
3704
|
path: "shipping-address",
|
|
3722
|
-
lazy: () => import("./order-edit-shipping-address-
|
|
3705
|
+
lazy: () => import("./order-edit-shipping-address-BRRXUE76.js")
|
|
3723
3706
|
},
|
|
3724
3707
|
{
|
|
3725
3708
|
path: "billing-address",
|
|
3726
|
-
lazy: () => import("./order-edit-billing-address-
|
|
3709
|
+
lazy: () => import("./order-edit-billing-address-RUURVISC.js")
|
|
3727
3710
|
},
|
|
3728
3711
|
{
|
|
3729
3712
|
path: "metadata/edit",
|
|
3730
|
-
lazy: () => import("./order-metadata-
|
|
3713
|
+
lazy: () => import("./order-metadata-OHK6TPAO.js")
|
|
3731
3714
|
}
|
|
3732
3715
|
]
|
|
3733
3716
|
}
|
|
@@ -3737,35 +3720,35 @@ function getRouteMap({
|
|
|
3737
3720
|
},
|
|
3738
3721
|
{
|
|
3739
3722
|
path: "/promotions",
|
|
3740
|
-
errorElement: /* @__PURE__ */
|
|
3723
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3741
3724
|
handle: {
|
|
3742
3725
|
breadcrumb: () => t("promotions.domain")
|
|
3743
3726
|
},
|
|
3744
3727
|
children: [
|
|
3745
3728
|
{
|
|
3746
3729
|
path: "",
|
|
3747
|
-
lazy: () => import("./promotion-list-
|
|
3730
|
+
lazy: () => import("./promotion-list-DHWW7FTI.js")
|
|
3748
3731
|
},
|
|
3749
3732
|
{
|
|
3750
3733
|
path: "create",
|
|
3751
|
-
lazy: () => import("./promotion-create-
|
|
3734
|
+
lazy: () => import("./promotion-create-OKZBUSJD.js")
|
|
3752
3735
|
},
|
|
3753
3736
|
{
|
|
3754
3737
|
path: ":id",
|
|
3755
3738
|
lazy: async () => {
|
|
3756
|
-
const { Breadcrumb, loader } = await import("./promotion-detail-
|
|
3739
|
+
const { Breadcrumb, loader } = await import("./promotion-detail-MMNEDRXD.js");
|
|
3757
3740
|
return {
|
|
3758
3741
|
Component: Outlet4,
|
|
3759
3742
|
loader,
|
|
3760
3743
|
handle: {
|
|
3761
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3744
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3762
3745
|
}
|
|
3763
3746
|
};
|
|
3764
3747
|
},
|
|
3765
3748
|
children: [
|
|
3766
3749
|
{
|
|
3767
3750
|
path: "",
|
|
3768
|
-
lazy: () => import("./promotion-detail-
|
|
3751
|
+
lazy: () => import("./promotion-detail-MMNEDRXD.js"),
|
|
3769
3752
|
children: [
|
|
3770
3753
|
{
|
|
3771
3754
|
path: "edit",
|
|
@@ -3773,11 +3756,11 @@ function getRouteMap({
|
|
|
3773
3756
|
},
|
|
3774
3757
|
{
|
|
3775
3758
|
path: "add-to-campaign",
|
|
3776
|
-
lazy: () => import("./promotion-add-campaign-
|
|
3759
|
+
lazy: () => import("./promotion-add-campaign-S3JJSFHT.js")
|
|
3777
3760
|
},
|
|
3778
3761
|
{
|
|
3779
3762
|
path: ":ruleType/edit",
|
|
3780
|
-
lazy: () => import("./edit-rules-
|
|
3763
|
+
lazy: () => import("./edit-rules-ZWDKM5M3.js")
|
|
3781
3764
|
}
|
|
3782
3765
|
]
|
|
3783
3766
|
}
|
|
@@ -3787,7 +3770,7 @@ function getRouteMap({
|
|
|
3787
3770
|
},
|
|
3788
3771
|
{
|
|
3789
3772
|
path: "/campaigns",
|
|
3790
|
-
errorElement: /* @__PURE__ */
|
|
3773
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3791
3774
|
handle: {
|
|
3792
3775
|
breadcrumb: () => t("campaigns.domain")
|
|
3793
3776
|
},
|
|
@@ -3804,19 +3787,19 @@ function getRouteMap({
|
|
|
3804
3787
|
{
|
|
3805
3788
|
path: ":id",
|
|
3806
3789
|
lazy: async () => {
|
|
3807
|
-
const { Breadcrumb, loader } = await import("./campaign-detail-
|
|
3790
|
+
const { Breadcrumb, loader } = await import("./campaign-detail-QY3AALUR.js");
|
|
3808
3791
|
return {
|
|
3809
3792
|
Component: Outlet4,
|
|
3810
3793
|
loader,
|
|
3811
3794
|
handle: {
|
|
3812
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3795
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3813
3796
|
}
|
|
3814
3797
|
};
|
|
3815
3798
|
},
|
|
3816
3799
|
children: [
|
|
3817
3800
|
{
|
|
3818
3801
|
path: "",
|
|
3819
|
-
lazy: () => import("./campaign-detail-
|
|
3802
|
+
lazy: () => import("./campaign-detail-QY3AALUR.js"),
|
|
3820
3803
|
children: [
|
|
3821
3804
|
{
|
|
3822
3805
|
path: "edit",
|
|
@@ -3832,7 +3815,7 @@ function getRouteMap({
|
|
|
3832
3815
|
},
|
|
3833
3816
|
{
|
|
3834
3817
|
path: "add-promotions",
|
|
3835
|
-
lazy: () => import("./add-campaign-promotions-
|
|
3818
|
+
lazy: () => import("./add-campaign-promotions-KOGSYV2W.js")
|
|
3836
3819
|
}
|
|
3837
3820
|
]
|
|
3838
3821
|
}
|
|
@@ -3842,49 +3825,49 @@ function getRouteMap({
|
|
|
3842
3825
|
},
|
|
3843
3826
|
{
|
|
3844
3827
|
path: "/collections",
|
|
3845
|
-
errorElement: /* @__PURE__ */
|
|
3828
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3846
3829
|
handle: {
|
|
3847
3830
|
breadcrumb: () => t("collections.domain")
|
|
3848
3831
|
},
|
|
3849
3832
|
children: [
|
|
3850
3833
|
{
|
|
3851
3834
|
path: "",
|
|
3852
|
-
lazy: () => import("./collection-list-
|
|
3835
|
+
lazy: () => import("./collection-list-6HZE43AC.js"),
|
|
3853
3836
|
children: [
|
|
3854
3837
|
{
|
|
3855
3838
|
path: "create",
|
|
3856
|
-
lazy: () => import("./collection-create-
|
|
3839
|
+
lazy: () => import("./collection-create-BRMP6SIZ.js")
|
|
3857
3840
|
}
|
|
3858
3841
|
]
|
|
3859
3842
|
},
|
|
3860
3843
|
{
|
|
3861
3844
|
path: ":id",
|
|
3862
3845
|
lazy: async () => {
|
|
3863
|
-
const { Breadcrumb, loader } = await import("./collection-detail-
|
|
3846
|
+
const { Breadcrumb, loader } = await import("./collection-detail-AMGR2B5N.js");
|
|
3864
3847
|
return {
|
|
3865
3848
|
Component: Outlet4,
|
|
3866
3849
|
loader,
|
|
3867
3850
|
handle: {
|
|
3868
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3851
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3869
3852
|
}
|
|
3870
3853
|
};
|
|
3871
3854
|
},
|
|
3872
3855
|
children: [
|
|
3873
3856
|
{
|
|
3874
3857
|
path: "",
|
|
3875
|
-
lazy: () => import("./collection-detail-
|
|
3858
|
+
lazy: () => import("./collection-detail-AMGR2B5N.js"),
|
|
3876
3859
|
children: [
|
|
3877
3860
|
{
|
|
3878
3861
|
path: "edit",
|
|
3879
|
-
lazy: () => import("./collection-edit-
|
|
3862
|
+
lazy: () => import("./collection-edit-YLWUEU4C.js")
|
|
3880
3863
|
},
|
|
3881
3864
|
{
|
|
3882
3865
|
path: "products",
|
|
3883
|
-
lazy: () => import("./collection-add-products-
|
|
3866
|
+
lazy: () => import("./collection-add-products-ABWXUOFD.js")
|
|
3884
3867
|
},
|
|
3885
3868
|
{
|
|
3886
3869
|
path: "metadata/edit",
|
|
3887
|
-
lazy: () => import("./collection-metadata-
|
|
3870
|
+
lazy: () => import("./collection-metadata-JS5QP3GD.js")
|
|
3888
3871
|
}
|
|
3889
3872
|
]
|
|
3890
3873
|
}
|
|
@@ -3894,53 +3877,53 @@ function getRouteMap({
|
|
|
3894
3877
|
},
|
|
3895
3878
|
{
|
|
3896
3879
|
path: "/price-lists",
|
|
3897
|
-
errorElement: /* @__PURE__ */
|
|
3880
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3898
3881
|
handle: {
|
|
3899
3882
|
breadcrumb: () => t("priceLists.domain")
|
|
3900
3883
|
},
|
|
3901
3884
|
children: [
|
|
3902
3885
|
{
|
|
3903
3886
|
path: "",
|
|
3904
|
-
lazy: () => import("./price-list-list-
|
|
3887
|
+
lazy: () => import("./price-list-list-OIOY43TF.js"),
|
|
3905
3888
|
children: [
|
|
3906
3889
|
{
|
|
3907
3890
|
path: "create",
|
|
3908
|
-
lazy: () => import("./price-list-create-
|
|
3891
|
+
lazy: () => import("./price-list-create-OYAVGRM5.js")
|
|
3909
3892
|
}
|
|
3910
3893
|
]
|
|
3911
3894
|
},
|
|
3912
3895
|
{
|
|
3913
3896
|
path: ":id",
|
|
3914
3897
|
lazy: async () => {
|
|
3915
|
-
const { Breadcrumb, loader } = await import("./price-list-detail-
|
|
3898
|
+
const { Breadcrumb, loader } = await import("./price-list-detail-Q4GFFUFG.js");
|
|
3916
3899
|
return {
|
|
3917
3900
|
Component: Outlet4,
|
|
3918
3901
|
loader,
|
|
3919
3902
|
handle: {
|
|
3920
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3903
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3921
3904
|
}
|
|
3922
3905
|
};
|
|
3923
3906
|
},
|
|
3924
3907
|
children: [
|
|
3925
3908
|
{
|
|
3926
3909
|
path: "",
|
|
3927
|
-
lazy: () => import("./price-list-detail-
|
|
3910
|
+
lazy: () => import("./price-list-detail-Q4GFFUFG.js"),
|
|
3928
3911
|
children: [
|
|
3929
3912
|
{
|
|
3930
3913
|
path: "edit",
|
|
3931
|
-
lazy: () => import("./price-list-edit-
|
|
3914
|
+
lazy: () => import("./price-list-edit-YY4SXEI3.js")
|
|
3932
3915
|
},
|
|
3933
3916
|
{
|
|
3934
3917
|
path: "configuration",
|
|
3935
|
-
lazy: () => import("./price-list-configuration-
|
|
3918
|
+
lazy: () => import("./price-list-configuration-Q5H22ZE2.js")
|
|
3936
3919
|
},
|
|
3937
3920
|
{
|
|
3938
3921
|
path: "products/add",
|
|
3939
|
-
lazy: () => import("./price-list-prices-add-
|
|
3922
|
+
lazy: () => import("./price-list-prices-add-KONZVSVQ.js")
|
|
3940
3923
|
},
|
|
3941
3924
|
{
|
|
3942
3925
|
path: "products/edit",
|
|
3943
|
-
lazy: () => import("./price-list-prices-edit-
|
|
3926
|
+
lazy: () => import("./price-list-prices-edit-SMUKU7Q6.js")
|
|
3944
3927
|
}
|
|
3945
3928
|
]
|
|
3946
3929
|
}
|
|
@@ -3950,7 +3933,7 @@ function getRouteMap({
|
|
|
3950
3933
|
},
|
|
3951
3934
|
{
|
|
3952
3935
|
path: "/customers",
|
|
3953
|
-
errorElement: /* @__PURE__ */
|
|
3936
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
3954
3937
|
handle: {
|
|
3955
3938
|
breadcrumb: () => t("customers.domain")
|
|
3956
3939
|
},
|
|
@@ -3968,19 +3951,19 @@ function getRouteMap({
|
|
|
3968
3951
|
{
|
|
3969
3952
|
path: ":id",
|
|
3970
3953
|
lazy: async () => {
|
|
3971
|
-
const { Breadcrumb, loader } = await import("./customer-detail-
|
|
3954
|
+
const { Breadcrumb, loader } = await import("./customer-detail-2RWBN6C4.js");
|
|
3972
3955
|
return {
|
|
3973
3956
|
Component: Outlet4,
|
|
3974
3957
|
loader,
|
|
3975
3958
|
handle: {
|
|
3976
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
3959
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
3977
3960
|
}
|
|
3978
3961
|
};
|
|
3979
3962
|
},
|
|
3980
3963
|
children: [
|
|
3981
3964
|
{
|
|
3982
3965
|
path: "",
|
|
3983
|
-
lazy: () => import("./customer-detail-
|
|
3966
|
+
lazy: () => import("./customer-detail-2RWBN6C4.js"),
|
|
3984
3967
|
children: [
|
|
3985
3968
|
{
|
|
3986
3969
|
path: "edit",
|
|
@@ -3992,15 +3975,15 @@ function getRouteMap({
|
|
|
3992
3975
|
},
|
|
3993
3976
|
{
|
|
3994
3977
|
path: "add-customer-groups",
|
|
3995
|
-
lazy: () => import("./customers-add-customer-group-
|
|
3978
|
+
lazy: () => import("./customers-add-customer-group-HI7J7YKN.js")
|
|
3996
3979
|
},
|
|
3997
3980
|
{
|
|
3998
3981
|
path: ":order_id/transfer",
|
|
3999
|
-
lazy: () => import("./order-request-transfer-
|
|
3982
|
+
lazy: () => import("./order-request-transfer-YLMXC7NL.js")
|
|
4000
3983
|
},
|
|
4001
3984
|
{
|
|
4002
3985
|
path: "metadata/edit",
|
|
4003
|
-
lazy: () => import("./customer-metadata-
|
|
3986
|
+
lazy: () => import("./customer-metadata-47AVJXRI.js")
|
|
4004
3987
|
}
|
|
4005
3988
|
]
|
|
4006
3989
|
}
|
|
@@ -4010,14 +3993,14 @@ function getRouteMap({
|
|
|
4010
3993
|
},
|
|
4011
3994
|
{
|
|
4012
3995
|
path: "/customer-groups",
|
|
4013
|
-
errorElement: /* @__PURE__ */
|
|
3996
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4014
3997
|
handle: {
|
|
4015
3998
|
breadcrumb: () => t("customerGroups.domain")
|
|
4016
3999
|
},
|
|
4017
4000
|
children: [
|
|
4018
4001
|
{
|
|
4019
4002
|
path: "",
|
|
4020
|
-
lazy: () => import("./customer-group-list-
|
|
4003
|
+
lazy: () => import("./customer-group-list-6YUFKBHH.js"),
|
|
4021
4004
|
children: [
|
|
4022
4005
|
{
|
|
4023
4006
|
path: "create",
|
|
@@ -4028,19 +4011,19 @@ function getRouteMap({
|
|
|
4028
4011
|
{
|
|
4029
4012
|
path: ":id",
|
|
4030
4013
|
lazy: async () => {
|
|
4031
|
-
const { Breadcrumb, loader } = await import("./customer-group-detail-
|
|
4014
|
+
const { Breadcrumb, loader } = await import("./customer-group-detail-ED66F7JM.js");
|
|
4032
4015
|
return {
|
|
4033
4016
|
Component: Outlet4,
|
|
4034
4017
|
loader,
|
|
4035
4018
|
handle: {
|
|
4036
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4019
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4037
4020
|
}
|
|
4038
4021
|
};
|
|
4039
4022
|
},
|
|
4040
4023
|
children: [
|
|
4041
4024
|
{
|
|
4042
4025
|
path: "",
|
|
4043
|
-
lazy: () => import("./customer-group-detail-
|
|
4026
|
+
lazy: () => import("./customer-group-detail-ED66F7JM.js"),
|
|
4044
4027
|
children: [
|
|
4045
4028
|
{
|
|
4046
4029
|
path: "edit",
|
|
@@ -4052,7 +4035,7 @@ function getRouteMap({
|
|
|
4052
4035
|
},
|
|
4053
4036
|
{
|
|
4054
4037
|
path: "metadata/edit",
|
|
4055
|
-
lazy: () => import("./customer-group-metadata-
|
|
4038
|
+
lazy: () => import("./customer-group-metadata-VQUOWR3P.js")
|
|
4056
4039
|
}
|
|
4057
4040
|
]
|
|
4058
4041
|
}
|
|
@@ -4062,44 +4045,44 @@ function getRouteMap({
|
|
|
4062
4045
|
},
|
|
4063
4046
|
{
|
|
4064
4047
|
path: "/stores",
|
|
4065
|
-
errorElement: /* @__PURE__ */
|
|
4048
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4066
4049
|
handle: {
|
|
4067
4050
|
breadcrumb: () => t("stores.domain")
|
|
4068
4051
|
},
|
|
4069
4052
|
children: [
|
|
4070
4053
|
{
|
|
4071
4054
|
path: "",
|
|
4072
|
-
lazy: () => import("./store-list-
|
|
4055
|
+
lazy: () => import("./store-list-S2L44OLB.js"),
|
|
4073
4056
|
children: [
|
|
4074
4057
|
{
|
|
4075
4058
|
path: "create",
|
|
4076
|
-
lazy: () => import("./store-create-
|
|
4059
|
+
lazy: () => import("./store-create-KFLNOD73.js")
|
|
4077
4060
|
},
|
|
4078
4061
|
{
|
|
4079
4062
|
path: "bulk-edit",
|
|
4080
|
-
lazy: () => import("./store-bulk-edit-
|
|
4063
|
+
lazy: () => import("./store-bulk-edit-BNF3HH5K.js")
|
|
4081
4064
|
}
|
|
4082
4065
|
]
|
|
4083
4066
|
},
|
|
4084
4067
|
{
|
|
4085
4068
|
path: ":id",
|
|
4086
4069
|
lazy: async () => {
|
|
4087
|
-
const { Breadcrumb } = await import("./store-details-
|
|
4070
|
+
const { Breadcrumb } = await import("./store-details-E347PHAN.js");
|
|
4088
4071
|
return {
|
|
4089
4072
|
Component: Outlet4,
|
|
4090
4073
|
handle: {
|
|
4091
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4074
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4092
4075
|
}
|
|
4093
4076
|
};
|
|
4094
4077
|
},
|
|
4095
4078
|
children: [
|
|
4096
4079
|
{
|
|
4097
4080
|
path: "",
|
|
4098
|
-
lazy: () => import("./store-details-
|
|
4081
|
+
lazy: () => import("./store-details-E347PHAN.js"),
|
|
4099
4082
|
children: [
|
|
4100
4083
|
{
|
|
4101
4084
|
path: "edit",
|
|
4102
|
-
lazy: () => import("./store-edit-
|
|
4085
|
+
lazy: () => import("./store-edit-Y6NLBIOP.js")
|
|
4103
4086
|
},
|
|
4104
4087
|
{
|
|
4105
4088
|
path: "edit-address",
|
|
@@ -4119,7 +4102,7 @@ function getRouteMap({
|
|
|
4119
4102
|
},
|
|
4120
4103
|
{
|
|
4121
4104
|
path: "invite",
|
|
4122
|
-
lazy: () => import("./store-member-invite-
|
|
4105
|
+
lazy: () => import("./store-member-invite-J5XSPWMW.js")
|
|
4123
4106
|
}
|
|
4124
4107
|
]
|
|
4125
4108
|
}
|
|
@@ -4129,7 +4112,7 @@ function getRouteMap({
|
|
|
4129
4112
|
},
|
|
4130
4113
|
{
|
|
4131
4114
|
path: "/payouts",
|
|
4132
|
-
errorElement: /* @__PURE__ */
|
|
4115
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4133
4116
|
handle: {
|
|
4134
4117
|
breadcrumb: () => "Payouts"
|
|
4135
4118
|
},
|
|
@@ -4146,7 +4129,7 @@ function getRouteMap({
|
|
|
4146
4129
|
Component: Outlet4,
|
|
4147
4130
|
loader,
|
|
4148
4131
|
handle: {
|
|
4149
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4132
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4150
4133
|
}
|
|
4151
4134
|
};
|
|
4152
4135
|
},
|
|
@@ -4161,45 +4144,45 @@ function getRouteMap({
|
|
|
4161
4144
|
},
|
|
4162
4145
|
{
|
|
4163
4146
|
path: "/reservations",
|
|
4164
|
-
errorElement: /* @__PURE__ */
|
|
4147
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4165
4148
|
handle: {
|
|
4166
4149
|
breadcrumb: () => t("reservations.domain")
|
|
4167
4150
|
},
|
|
4168
4151
|
children: [
|
|
4169
4152
|
{
|
|
4170
4153
|
path: "",
|
|
4171
|
-
lazy: () => import("./reservation-list-
|
|
4154
|
+
lazy: () => import("./reservation-list-SORWYHI4.js"),
|
|
4172
4155
|
children: [
|
|
4173
4156
|
{
|
|
4174
4157
|
path: "create",
|
|
4175
|
-
lazy: () => import("./reservation-create-
|
|
4158
|
+
lazy: () => import("./reservation-create-TXYAY3KF.js")
|
|
4176
4159
|
}
|
|
4177
4160
|
]
|
|
4178
4161
|
},
|
|
4179
4162
|
{
|
|
4180
4163
|
path: ":id",
|
|
4181
4164
|
lazy: async () => {
|
|
4182
|
-
const { Breadcrumb, loader } = await import("./reservation-detail-
|
|
4165
|
+
const { Breadcrumb, loader } = await import("./reservation-detail-CEENG76D.js");
|
|
4183
4166
|
return {
|
|
4184
4167
|
Component: Outlet4,
|
|
4185
4168
|
loader,
|
|
4186
4169
|
handle: {
|
|
4187
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4170
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4188
4171
|
}
|
|
4189
4172
|
};
|
|
4190
4173
|
},
|
|
4191
4174
|
children: [
|
|
4192
4175
|
{
|
|
4193
4176
|
path: "",
|
|
4194
|
-
lazy: () => import("./reservation-detail-
|
|
4177
|
+
lazy: () => import("./reservation-detail-CEENG76D.js"),
|
|
4195
4178
|
children: [
|
|
4196
4179
|
{
|
|
4197
4180
|
path: "edit",
|
|
4198
|
-
lazy: () => import("./edit-reservation-
|
|
4181
|
+
lazy: () => import("./edit-reservation-7BLGYXCJ.js")
|
|
4199
4182
|
},
|
|
4200
4183
|
{
|
|
4201
4184
|
path: "metadata/edit",
|
|
4202
|
-
lazy: () => import("./reservation-metadata-
|
|
4185
|
+
lazy: () => import("./reservation-metadata-G3QBZF4K.js")
|
|
4203
4186
|
}
|
|
4204
4187
|
]
|
|
4205
4188
|
}
|
|
@@ -4209,7 +4192,7 @@ function getRouteMap({
|
|
|
4209
4192
|
},
|
|
4210
4193
|
{
|
|
4211
4194
|
path: "/offers",
|
|
4212
|
-
errorElement: /* @__PURE__ */
|
|
4195
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4213
4196
|
handle: {
|
|
4214
4197
|
breadcrumb: () => t("offers.domain")
|
|
4215
4198
|
},
|
|
@@ -4217,20 +4200,20 @@ function getRouteMap({
|
|
|
4217
4200
|
{
|
|
4218
4201
|
path: "",
|
|
4219
4202
|
lazy: async () => {
|
|
4220
|
-
const { OfferListPage } = await import("./offers-
|
|
4203
|
+
const { OfferListPage } = await import("./offers-UBD6NICA.js");
|
|
4221
4204
|
return { Component: OfferListPage };
|
|
4222
4205
|
}
|
|
4223
4206
|
},
|
|
4224
4207
|
{
|
|
4225
4208
|
path: ":id",
|
|
4226
4209
|
lazy: async () => {
|
|
4227
|
-
const { OfferDetailPage, Breadcrumb } = await import("./[id]-
|
|
4228
|
-
const { loader } = await import("./loader-
|
|
4210
|
+
const { OfferDetailPage, Breadcrumb } = await import("./[id]-BAPEFPAO.js");
|
|
4211
|
+
const { loader } = await import("./loader-OU7SKXOD.js");
|
|
4229
4212
|
return {
|
|
4230
4213
|
Component: OfferDetailPage,
|
|
4231
4214
|
loader,
|
|
4232
4215
|
handle: {
|
|
4233
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4216
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4234
4217
|
}
|
|
4235
4218
|
};
|
|
4236
4219
|
}
|
|
@@ -4239,61 +4222,61 @@ function getRouteMap({
|
|
|
4239
4222
|
},
|
|
4240
4223
|
{
|
|
4241
4224
|
path: "/inventory",
|
|
4242
|
-
errorElement: /* @__PURE__ */
|
|
4225
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4243
4226
|
handle: {
|
|
4244
4227
|
breadcrumb: () => t("inventory.domain")
|
|
4245
4228
|
},
|
|
4246
4229
|
children: [
|
|
4247
4230
|
{
|
|
4248
4231
|
path: "",
|
|
4249
|
-
lazy: () => import("./inventory-list-
|
|
4232
|
+
lazy: () => import("./inventory-list-2JGX6BRI.js"),
|
|
4250
4233
|
children: [
|
|
4251
4234
|
{
|
|
4252
4235
|
path: "create",
|
|
4253
|
-
lazy: () => import("./inventory-create-
|
|
4236
|
+
lazy: () => import("./inventory-create-Q4VBPXSG.js")
|
|
4254
4237
|
},
|
|
4255
4238
|
{
|
|
4256
4239
|
path: "stock",
|
|
4257
|
-
lazy: () => import("./inventory-stock-
|
|
4240
|
+
lazy: () => import("./inventory-stock-2QIKS7LE.js")
|
|
4258
4241
|
}
|
|
4259
4242
|
]
|
|
4260
4243
|
},
|
|
4261
4244
|
{
|
|
4262
4245
|
path: ":id",
|
|
4263
4246
|
lazy: async () => {
|
|
4264
|
-
const { Breadcrumb, loader } = await import("./inventory-detail-
|
|
4247
|
+
const { Breadcrumb, loader } = await import("./inventory-detail-6CKO3A3Y.js");
|
|
4265
4248
|
return {
|
|
4266
4249
|
Component: Outlet4,
|
|
4267
4250
|
loader,
|
|
4268
4251
|
handle: {
|
|
4269
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4252
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4270
4253
|
}
|
|
4271
4254
|
};
|
|
4272
4255
|
},
|
|
4273
4256
|
children: [
|
|
4274
4257
|
{
|
|
4275
4258
|
path: "",
|
|
4276
|
-
lazy: () => import("./inventory-detail-
|
|
4259
|
+
lazy: () => import("./inventory-detail-6CKO3A3Y.js"),
|
|
4277
4260
|
children: [
|
|
4278
4261
|
{
|
|
4279
4262
|
path: "edit",
|
|
4280
|
-
lazy: () => import("./edit-inventory-item-
|
|
4263
|
+
lazy: () => import("./edit-inventory-item-MBPSBJL4.js")
|
|
4281
4264
|
},
|
|
4282
4265
|
{
|
|
4283
4266
|
path: "attributes",
|
|
4284
|
-
lazy: () => import("./edit-inventory-item-attributes-
|
|
4267
|
+
lazy: () => import("./edit-inventory-item-attributes-RVYWOFAC.js")
|
|
4285
4268
|
},
|
|
4286
4269
|
{
|
|
4287
4270
|
path: "metadata/edit",
|
|
4288
|
-
lazy: () => import("./inventory-metadata-
|
|
4271
|
+
lazy: () => import("./inventory-metadata-COGGE5ZR.js")
|
|
4289
4272
|
},
|
|
4290
4273
|
{
|
|
4291
4274
|
path: "locations",
|
|
4292
|
-
lazy: () => import("./manage-locations-
|
|
4275
|
+
lazy: () => import("./manage-locations-TKLOHP3D.js")
|
|
4293
4276
|
},
|
|
4294
4277
|
{
|
|
4295
4278
|
path: "locations/:location_id",
|
|
4296
|
-
lazy: () => import("./adjust-inventory-
|
|
4279
|
+
lazy: () => import("./adjust-inventory-3IQ657W2.js")
|
|
4297
4280
|
}
|
|
4298
4281
|
]
|
|
4299
4282
|
}
|
|
@@ -4308,26 +4291,26 @@ function getRouteMap({
|
|
|
4308
4291
|
]
|
|
4309
4292
|
},
|
|
4310
4293
|
{
|
|
4311
|
-
element: /* @__PURE__ */
|
|
4312
|
-
errorElement: /* @__PURE__ */
|
|
4294
|
+
element: /* @__PURE__ */ jsx17(ProtectedRoute, {}),
|
|
4295
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4313
4296
|
children: [
|
|
4314
4297
|
{
|
|
4315
4298
|
path: "/settings",
|
|
4316
4299
|
handle: {
|
|
4317
4300
|
breadcrumb: () => t("app.nav.settings.header")
|
|
4318
4301
|
},
|
|
4319
|
-
element: /* @__PURE__ */
|
|
4302
|
+
element: /* @__PURE__ */ jsx17(SettingsLayout, {}),
|
|
4320
4303
|
children: mergeRoutes(
|
|
4321
4304
|
[
|
|
4322
4305
|
{
|
|
4323
4306
|
index: true,
|
|
4324
|
-
errorElement: /* @__PURE__ */
|
|
4307
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4325
4308
|
lazy: () => import("./settings-AVE3VCCM.js")
|
|
4326
4309
|
},
|
|
4327
4310
|
{
|
|
4328
4311
|
path: "profile",
|
|
4329
|
-
errorElement: /* @__PURE__ */
|
|
4330
|
-
element: /* @__PURE__ */
|
|
4312
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4313
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4331
4314
|
handle: {
|
|
4332
4315
|
breadcrumb: () => t("profile.domain")
|
|
4333
4316
|
},
|
|
@@ -4346,8 +4329,8 @@ function getRouteMap({
|
|
|
4346
4329
|
},
|
|
4347
4330
|
{
|
|
4348
4331
|
path: "regions",
|
|
4349
|
-
errorElement: /* @__PURE__ */
|
|
4350
|
-
element: /* @__PURE__ */
|
|
4332
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4333
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4351
4334
|
handle: {
|
|
4352
4335
|
breadcrumb: () => t("regions.domain")
|
|
4353
4336
|
},
|
|
@@ -4370,7 +4353,7 @@ function getRouteMap({
|
|
|
4370
4353
|
Component: Outlet4,
|
|
4371
4354
|
loader,
|
|
4372
4355
|
handle: {
|
|
4373
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4356
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4374
4357
|
}
|
|
4375
4358
|
};
|
|
4376
4359
|
},
|
|
@@ -4389,7 +4372,7 @@ function getRouteMap({
|
|
|
4389
4372
|
},
|
|
4390
4373
|
{
|
|
4391
4374
|
path: "metadata/edit",
|
|
4392
|
-
lazy: () => import("./region-metadata-
|
|
4375
|
+
lazy: () => import("./region-metadata-BJSTTZFL.js")
|
|
4393
4376
|
}
|
|
4394
4377
|
]
|
|
4395
4378
|
}
|
|
@@ -4399,15 +4382,15 @@ function getRouteMap({
|
|
|
4399
4382
|
},
|
|
4400
4383
|
{
|
|
4401
4384
|
path: "marketplace",
|
|
4402
|
-
errorElement: /* @__PURE__ */
|
|
4403
|
-
element: /* @__PURE__ */
|
|
4385
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4386
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4404
4387
|
handle: {
|
|
4405
4388
|
breadcrumb: () => t("marketplace.domain")
|
|
4406
4389
|
},
|
|
4407
4390
|
children: [
|
|
4408
4391
|
{
|
|
4409
4392
|
path: "",
|
|
4410
|
-
lazy: () => import("./marketplace-detail-
|
|
4393
|
+
lazy: () => import("./marketplace-detail-K52ALYGT.js"),
|
|
4411
4394
|
children: [
|
|
4412
4395
|
{
|
|
4413
4396
|
path: "edit",
|
|
@@ -4419,7 +4402,7 @@ function getRouteMap({
|
|
|
4419
4402
|
},
|
|
4420
4403
|
{
|
|
4421
4404
|
path: "metadata/edit",
|
|
4422
|
-
lazy: () => import("./marketplace-metadata-
|
|
4405
|
+
lazy: () => import("./marketplace-metadata-ZSX3IQF4.js")
|
|
4423
4406
|
}
|
|
4424
4407
|
]
|
|
4425
4408
|
}
|
|
@@ -4427,8 +4410,8 @@ function getRouteMap({
|
|
|
4427
4410
|
},
|
|
4428
4411
|
{
|
|
4429
4412
|
path: "commission-rates",
|
|
4430
|
-
errorElement: /* @__PURE__ */
|
|
4431
|
-
element: /* @__PURE__ */
|
|
4413
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4414
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4432
4415
|
handle: {
|
|
4433
4416
|
breadcrumb: () => t("commissionRates.domain")
|
|
4434
4417
|
},
|
|
@@ -4439,30 +4422,30 @@ function getRouteMap({
|
|
|
4439
4422
|
children: [
|
|
4440
4423
|
{
|
|
4441
4424
|
path: "create",
|
|
4442
|
-
lazy: () => import("./commission-rate-create-
|
|
4425
|
+
lazy: () => import("./commission-rate-create-PSPSJZR5.js")
|
|
4443
4426
|
}
|
|
4444
4427
|
]
|
|
4445
4428
|
},
|
|
4446
4429
|
{
|
|
4447
4430
|
path: ":id",
|
|
4448
4431
|
lazy: async () => {
|
|
4449
|
-
const { Breadcrumb, loader } = await import("./commission-rate-detail-
|
|
4432
|
+
const { Breadcrumb, loader } = await import("./commission-rate-detail-U72E4ZIO.js");
|
|
4450
4433
|
return {
|
|
4451
4434
|
Component: Outlet4,
|
|
4452
4435
|
loader,
|
|
4453
4436
|
handle: {
|
|
4454
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4437
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4455
4438
|
}
|
|
4456
4439
|
};
|
|
4457
4440
|
},
|
|
4458
4441
|
children: [
|
|
4459
4442
|
{
|
|
4460
4443
|
path: "",
|
|
4461
|
-
lazy: () => import("./commission-rate-detail-
|
|
4444
|
+
lazy: () => import("./commission-rate-detail-U72E4ZIO.js"),
|
|
4462
4445
|
children: [
|
|
4463
4446
|
{
|
|
4464
4447
|
path: "edit",
|
|
4465
|
-
lazy: () => import("./commission-rate-edit-
|
|
4448
|
+
lazy: () => import("./commission-rate-edit-7NJPABVA.js")
|
|
4466
4449
|
}
|
|
4467
4450
|
]
|
|
4468
4451
|
}
|
|
@@ -4472,8 +4455,8 @@ function getRouteMap({
|
|
|
4472
4455
|
},
|
|
4473
4456
|
{
|
|
4474
4457
|
path: "users",
|
|
4475
|
-
errorElement: /* @__PURE__ */
|
|
4476
|
-
element: /* @__PURE__ */
|
|
4458
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4459
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4477
4460
|
handle: {
|
|
4478
4461
|
breadcrumb: () => t("users.domain")
|
|
4479
4462
|
},
|
|
@@ -4491,19 +4474,19 @@ function getRouteMap({
|
|
|
4491
4474
|
{
|
|
4492
4475
|
path: ":id",
|
|
4493
4476
|
lazy: async () => {
|
|
4494
|
-
const { Breadcrumb, loader } = await import("./user-detail-
|
|
4477
|
+
const { Breadcrumb, loader } = await import("./user-detail-MMVBN3AE.js");
|
|
4495
4478
|
return {
|
|
4496
4479
|
Component: Outlet4,
|
|
4497
4480
|
loader,
|
|
4498
4481
|
handle: {
|
|
4499
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4482
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4500
4483
|
}
|
|
4501
4484
|
};
|
|
4502
4485
|
},
|
|
4503
4486
|
children: [
|
|
4504
4487
|
{
|
|
4505
4488
|
path: "",
|
|
4506
|
-
lazy: () => import("./user-detail-
|
|
4489
|
+
lazy: () => import("./user-detail-MMVBN3AE.js"),
|
|
4507
4490
|
children: [
|
|
4508
4491
|
{
|
|
4509
4492
|
path: "edit",
|
|
@@ -4511,7 +4494,7 @@ function getRouteMap({
|
|
|
4511
4494
|
},
|
|
4512
4495
|
{
|
|
4513
4496
|
path: "metadata/edit",
|
|
4514
|
-
lazy: () => import("./user-metadata-
|
|
4497
|
+
lazy: () => import("./user-metadata-OZLU3Y2X.js")
|
|
4515
4498
|
}
|
|
4516
4499
|
]
|
|
4517
4500
|
}
|
|
@@ -4521,50 +4504,50 @@ function getRouteMap({
|
|
|
4521
4504
|
},
|
|
4522
4505
|
{
|
|
4523
4506
|
path: "sales-channels",
|
|
4524
|
-
errorElement: /* @__PURE__ */
|
|
4525
|
-
element: /* @__PURE__ */
|
|
4507
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4508
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4526
4509
|
handle: {
|
|
4527
4510
|
breadcrumb: () => t("salesChannels.domain")
|
|
4528
4511
|
},
|
|
4529
4512
|
children: [
|
|
4530
4513
|
{
|
|
4531
4514
|
path: "",
|
|
4532
|
-
lazy: () => import("./sales-channel-list-
|
|
4515
|
+
lazy: () => import("./sales-channel-list-3GCESYAM.js"),
|
|
4533
4516
|
children: [
|
|
4534
4517
|
{
|
|
4535
4518
|
path: "create",
|
|
4536
|
-
lazy: () => import("./sales-channel-create-
|
|
4519
|
+
lazy: () => import("./sales-channel-create-XBR3QESI.js")
|
|
4537
4520
|
}
|
|
4538
4521
|
]
|
|
4539
4522
|
},
|
|
4540
4523
|
{
|
|
4541
4524
|
path: ":id",
|
|
4542
4525
|
lazy: async () => {
|
|
4543
|
-
const { Breadcrumb, loader } = await import("./sales-channel-detail-
|
|
4526
|
+
const { Breadcrumb, loader } = await import("./sales-channel-detail-PHRSKCNM.js");
|
|
4544
4527
|
return {
|
|
4545
4528
|
Component: Outlet4,
|
|
4546
4529
|
loader,
|
|
4547
4530
|
handle: {
|
|
4548
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4531
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4549
4532
|
}
|
|
4550
4533
|
};
|
|
4551
4534
|
},
|
|
4552
4535
|
children: [
|
|
4553
4536
|
{
|
|
4554
4537
|
path: "",
|
|
4555
|
-
lazy: () => import("./sales-channel-detail-
|
|
4538
|
+
lazy: () => import("./sales-channel-detail-PHRSKCNM.js"),
|
|
4556
4539
|
children: [
|
|
4557
4540
|
{
|
|
4558
4541
|
path: "edit",
|
|
4559
|
-
lazy: () => import("./sales-channel-edit-
|
|
4542
|
+
lazy: () => import("./sales-channel-edit-ILBZBQP4.js")
|
|
4560
4543
|
},
|
|
4561
4544
|
{
|
|
4562
4545
|
path: "add-products",
|
|
4563
|
-
lazy: () => import("./sales-channel-add-products-
|
|
4546
|
+
lazy: () => import("./sales-channel-add-products-3VZ5SLLP.js")
|
|
4564
4547
|
},
|
|
4565
4548
|
{
|
|
4566
4549
|
path: "metadata/edit",
|
|
4567
|
-
lazy: () => import("./sales-channel-metadata-
|
|
4550
|
+
lazy: () => import("./sales-channel-metadata-HVPGS756.js")
|
|
4568
4551
|
}
|
|
4569
4552
|
]
|
|
4570
4553
|
}
|
|
@@ -4574,15 +4557,15 @@ function getRouteMap({
|
|
|
4574
4557
|
},
|
|
4575
4558
|
{
|
|
4576
4559
|
path: "locations",
|
|
4577
|
-
errorElement: /* @__PURE__ */
|
|
4578
|
-
element: /* @__PURE__ */
|
|
4560
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4561
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4579
4562
|
handle: {
|
|
4580
4563
|
breadcrumb: () => t("locations.domain")
|
|
4581
4564
|
},
|
|
4582
4565
|
children: [
|
|
4583
4566
|
{
|
|
4584
4567
|
path: "",
|
|
4585
|
-
lazy: () => import("./location-list-
|
|
4568
|
+
lazy: () => import("./location-list-I2UMU25V.js")
|
|
4586
4569
|
},
|
|
4587
4570
|
{
|
|
4588
4571
|
path: "create",
|
|
@@ -4590,7 +4573,7 @@ function getRouteMap({
|
|
|
4590
4573
|
},
|
|
4591
4574
|
{
|
|
4592
4575
|
path: "shipping-profiles",
|
|
4593
|
-
element: /* @__PURE__ */
|
|
4576
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4594
4577
|
handle: {
|
|
4595
4578
|
breadcrumb: () => t("shippingProfile.domain")
|
|
4596
4579
|
},
|
|
@@ -4613,7 +4596,7 @@ function getRouteMap({
|
|
|
4613
4596
|
Component: Outlet4,
|
|
4614
4597
|
loader,
|
|
4615
4598
|
handle: {
|
|
4616
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4599
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4617
4600
|
}
|
|
4618
4601
|
};
|
|
4619
4602
|
},
|
|
@@ -4624,7 +4607,7 @@ function getRouteMap({
|
|
|
4624
4607
|
children: [
|
|
4625
4608
|
{
|
|
4626
4609
|
path: "metadata/edit",
|
|
4627
|
-
lazy: () => import("./shipping-profile-metadata-
|
|
4610
|
+
lazy: () => import("./shipping-profile-metadata-T4HPNTLH.js")
|
|
4628
4611
|
}
|
|
4629
4612
|
]
|
|
4630
4613
|
}
|
|
@@ -4634,42 +4617,42 @@ function getRouteMap({
|
|
|
4634
4617
|
},
|
|
4635
4618
|
{
|
|
4636
4619
|
path: "shipping-option-types",
|
|
4637
|
-
errorElement: /* @__PURE__ */
|
|
4638
|
-
element: /* @__PURE__ */
|
|
4620
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4621
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4639
4622
|
handle: {
|
|
4640
4623
|
breadcrumb: () => t("shippingOptionTypes.domain")
|
|
4641
4624
|
},
|
|
4642
4625
|
children: [
|
|
4643
4626
|
{
|
|
4644
4627
|
path: "",
|
|
4645
|
-
lazy: () => import("./shipping-option-type-list-
|
|
4628
|
+
lazy: () => import("./shipping-option-type-list-MLIDCA3L.js"),
|
|
4646
4629
|
children: [
|
|
4647
4630
|
{
|
|
4648
4631
|
path: "create",
|
|
4649
|
-
lazy: () => import("./shipping-option-type-create-
|
|
4632
|
+
lazy: () => import("./shipping-option-type-create-3ZKT7WAC.js")
|
|
4650
4633
|
}
|
|
4651
4634
|
]
|
|
4652
4635
|
},
|
|
4653
4636
|
{
|
|
4654
4637
|
path: ":id",
|
|
4655
4638
|
lazy: async () => {
|
|
4656
|
-
const { Breadcrumb, loader } = await import("./shipping-option-type-detail-
|
|
4639
|
+
const { Breadcrumb, loader } = await import("./shipping-option-type-detail-IYXWAK7F.js");
|
|
4657
4640
|
return {
|
|
4658
4641
|
Component: Outlet4,
|
|
4659
4642
|
loader,
|
|
4660
4643
|
handle: {
|
|
4661
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4644
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4662
4645
|
}
|
|
4663
4646
|
};
|
|
4664
4647
|
},
|
|
4665
4648
|
children: [
|
|
4666
4649
|
{
|
|
4667
4650
|
path: "",
|
|
4668
|
-
lazy: () => import("./shipping-option-type-detail-
|
|
4651
|
+
lazy: () => import("./shipping-option-type-detail-IYXWAK7F.js"),
|
|
4669
4652
|
children: [
|
|
4670
4653
|
{
|
|
4671
4654
|
path: "edit",
|
|
4672
|
-
lazy: () => import("./shipping-option-type-edit-
|
|
4655
|
+
lazy: () => import("./shipping-option-type-edit-QRXYNNRW.js")
|
|
4673
4656
|
}
|
|
4674
4657
|
]
|
|
4675
4658
|
}
|
|
@@ -4680,19 +4663,19 @@ function getRouteMap({
|
|
|
4680
4663
|
{
|
|
4681
4664
|
path: ":location_id",
|
|
4682
4665
|
lazy: async () => {
|
|
4683
|
-
const { Breadcrumb, loader } = await import("./location-detail-
|
|
4666
|
+
const { Breadcrumb, loader } = await import("./location-detail-HOCNTQ7K.js");
|
|
4684
4667
|
return {
|
|
4685
4668
|
Component: Outlet4,
|
|
4686
4669
|
loader,
|
|
4687
4670
|
handle: {
|
|
4688
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4671
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4689
4672
|
}
|
|
4690
4673
|
};
|
|
4691
4674
|
},
|
|
4692
4675
|
children: [
|
|
4693
4676
|
{
|
|
4694
4677
|
path: "",
|
|
4695
|
-
lazy: () => import("./location-detail-
|
|
4678
|
+
lazy: () => import("./location-detail-HOCNTQ7K.js"),
|
|
4696
4679
|
children: [
|
|
4697
4680
|
{
|
|
4698
4681
|
path: "edit",
|
|
@@ -4700,11 +4683,11 @@ function getRouteMap({
|
|
|
4700
4683
|
},
|
|
4701
4684
|
{
|
|
4702
4685
|
path: "sales-channels",
|
|
4703
|
-
lazy: () => import("./location-sales-channels-
|
|
4686
|
+
lazy: () => import("./location-sales-channels-GKIWX6B2.js")
|
|
4704
4687
|
},
|
|
4705
4688
|
{
|
|
4706
4689
|
path: "fulfillment-providers",
|
|
4707
|
-
lazy: () => import("./location-fulfillment-providers-
|
|
4690
|
+
lazy: () => import("./location-fulfillment-providers-YQ2XFPAJ.js")
|
|
4708
4691
|
},
|
|
4709
4692
|
{
|
|
4710
4693
|
path: "fulfillment-set/:fset_id",
|
|
@@ -4729,7 +4712,7 @@ function getRouteMap({
|
|
|
4729
4712
|
children: [
|
|
4730
4713
|
{
|
|
4731
4714
|
path: "create",
|
|
4732
|
-
lazy: () => import("./location-service-zone-shipping-option-create-
|
|
4715
|
+
lazy: () => import("./location-service-zone-shipping-option-create-6GYLJHEC.js")
|
|
4733
4716
|
},
|
|
4734
4717
|
{
|
|
4735
4718
|
path: ":so_id",
|
|
@@ -4740,7 +4723,7 @@ function getRouteMap({
|
|
|
4740
4723
|
},
|
|
4741
4724
|
{
|
|
4742
4725
|
path: "pricing",
|
|
4743
|
-
lazy: () => import("./location-service-zone-shipping-option-pricing-
|
|
4726
|
+
lazy: () => import("./location-service-zone-shipping-option-pricing-POBJOF3Z.js")
|
|
4744
4727
|
}
|
|
4745
4728
|
]
|
|
4746
4729
|
}
|
|
@@ -4758,46 +4741,46 @@ function getRouteMap({
|
|
|
4758
4741
|
},
|
|
4759
4742
|
{
|
|
4760
4743
|
path: "product-tags",
|
|
4761
|
-
errorElement: /* @__PURE__ */
|
|
4762
|
-
element: /* @__PURE__ */
|
|
4744
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4745
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4763
4746
|
handle: {
|
|
4764
4747
|
breadcrumb: () => t("productTags.domain")
|
|
4765
4748
|
},
|
|
4766
4749
|
children: [
|
|
4767
4750
|
{
|
|
4768
4751
|
path: "",
|
|
4769
|
-
lazy: () => import("./product-tag-list-
|
|
4752
|
+
lazy: () => import("./product-tag-list-2OK3OCMZ.js"),
|
|
4770
4753
|
children: [
|
|
4771
4754
|
{
|
|
4772
4755
|
path: "create",
|
|
4773
|
-
lazy: () => import("./product-tag-create-
|
|
4756
|
+
lazy: () => import("./product-tag-create-KQSVCWMC.js")
|
|
4774
4757
|
}
|
|
4775
4758
|
]
|
|
4776
4759
|
},
|
|
4777
4760
|
{
|
|
4778
4761
|
path: ":id",
|
|
4779
4762
|
lazy: async () => {
|
|
4780
|
-
const { Breadcrumb, loader } = await import("./product-tag-detail-
|
|
4763
|
+
const { Breadcrumb, loader } = await import("./product-tag-detail-CWDAY7F3.js");
|
|
4781
4764
|
return {
|
|
4782
4765
|
Component: Outlet4,
|
|
4783
4766
|
loader,
|
|
4784
4767
|
handle: {
|
|
4785
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4768
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4786
4769
|
}
|
|
4787
4770
|
};
|
|
4788
4771
|
},
|
|
4789
4772
|
children: [
|
|
4790
4773
|
{
|
|
4791
4774
|
path: "",
|
|
4792
|
-
lazy: () => import("./product-tag-detail-
|
|
4775
|
+
lazy: () => import("./product-tag-detail-CWDAY7F3.js"),
|
|
4793
4776
|
children: [
|
|
4794
4777
|
{
|
|
4795
4778
|
path: "edit",
|
|
4796
|
-
lazy: () => import("./product-tag-edit-
|
|
4779
|
+
lazy: () => import("./product-tag-edit-B4SIZCUK.js")
|
|
4797
4780
|
},
|
|
4798
4781
|
{
|
|
4799
4782
|
path: "metadata/edit",
|
|
4800
|
-
lazy: () => import("./product-tag-metadata-
|
|
4783
|
+
lazy: () => import("./product-tag-metadata-MASTMIKE.js")
|
|
4801
4784
|
}
|
|
4802
4785
|
]
|
|
4803
4786
|
}
|
|
@@ -4807,46 +4790,46 @@ function getRouteMap({
|
|
|
4807
4790
|
},
|
|
4808
4791
|
{
|
|
4809
4792
|
path: "attributes",
|
|
4810
|
-
errorElement: /* @__PURE__ */
|
|
4811
|
-
element: /* @__PURE__ */
|
|
4793
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4794
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4812
4795
|
handle: {
|
|
4813
4796
|
breadcrumb: () => t("attributes.domain")
|
|
4814
4797
|
},
|
|
4815
4798
|
children: [
|
|
4816
4799
|
{
|
|
4817
4800
|
path: "",
|
|
4818
|
-
lazy: () => import("./attribute-list-
|
|
4801
|
+
lazy: () => import("./attribute-list-EMPHZ32M.js"),
|
|
4819
4802
|
children: [
|
|
4820
4803
|
{
|
|
4821
4804
|
path: "create",
|
|
4822
|
-
lazy: () => import("./attribute-create-
|
|
4805
|
+
lazy: () => import("./attribute-create-IKTP5XRS.js")
|
|
4823
4806
|
}
|
|
4824
4807
|
]
|
|
4825
4808
|
},
|
|
4826
4809
|
{
|
|
4827
4810
|
path: ":id",
|
|
4828
4811
|
lazy: async () => {
|
|
4829
|
-
const { Breadcrumb, loader } = await import("./attribute-detail-
|
|
4812
|
+
const { Breadcrumb, loader } = await import("./attribute-detail-V4QI34FV.js");
|
|
4830
4813
|
return {
|
|
4831
4814
|
Component: Outlet4,
|
|
4832
4815
|
loader,
|
|
4833
4816
|
handle: {
|
|
4834
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4817
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4835
4818
|
}
|
|
4836
4819
|
};
|
|
4837
4820
|
},
|
|
4838
4821
|
children: [
|
|
4839
4822
|
{
|
|
4840
4823
|
path: "",
|
|
4841
|
-
lazy: () => import("./attribute-detail-
|
|
4824
|
+
lazy: () => import("./attribute-detail-V4QI34FV.js"),
|
|
4842
4825
|
children: [
|
|
4843
4826
|
{
|
|
4844
4827
|
path: "edit",
|
|
4845
|
-
lazy: () => import("./attribute-edit-
|
|
4828
|
+
lazy: () => import("./attribute-edit-LUY66TG3.js")
|
|
4846
4829
|
},
|
|
4847
4830
|
{
|
|
4848
4831
|
path: "edit-possible-value",
|
|
4849
|
-
lazy: () => import("./attribute-edit-possible-value-
|
|
4832
|
+
lazy: () => import("./attribute-edit-possible-value-IOS3625C.js")
|
|
4850
4833
|
},
|
|
4851
4834
|
{
|
|
4852
4835
|
path: "create-possible-value",
|
|
@@ -4864,8 +4847,8 @@ function getRouteMap({
|
|
|
4864
4847
|
},
|
|
4865
4848
|
{
|
|
4866
4849
|
path: "product-types",
|
|
4867
|
-
errorElement: /* @__PURE__ */
|
|
4868
|
-
element: /* @__PURE__ */
|
|
4850
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
4851
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4869
4852
|
handle: {
|
|
4870
4853
|
breadcrumb: () => t("productTypes.domain")
|
|
4871
4854
|
},
|
|
@@ -4883,19 +4866,19 @@ function getRouteMap({
|
|
|
4883
4866
|
{
|
|
4884
4867
|
path: ":id",
|
|
4885
4868
|
lazy: async () => {
|
|
4886
|
-
const { Breadcrumb, loader } = await import("./product-type-detail-
|
|
4869
|
+
const { Breadcrumb, loader } = await import("./product-type-detail-3X7ZTZJN.js");
|
|
4887
4870
|
return {
|
|
4888
4871
|
Component: Outlet4,
|
|
4889
4872
|
loader,
|
|
4890
4873
|
handle: {
|
|
4891
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4874
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4892
4875
|
}
|
|
4893
4876
|
};
|
|
4894
4877
|
},
|
|
4895
4878
|
children: [
|
|
4896
4879
|
{
|
|
4897
4880
|
path: "",
|
|
4898
|
-
lazy: () => import("./product-type-detail-
|
|
4881
|
+
lazy: () => import("./product-type-detail-3X7ZTZJN.js"),
|
|
4899
4882
|
children: [
|
|
4900
4883
|
{
|
|
4901
4884
|
path: "edit",
|
|
@@ -4903,56 +4886,7 @@ function getRouteMap({
|
|
|
4903
4886
|
},
|
|
4904
4887
|
{
|
|
4905
4888
|
path: "metadata/edit",
|
|
4906
|
-
lazy: () => import("./product-type-metadata-
|
|
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")
|
|
4889
|
+
lazy: () => import("./product-type-metadata-6BKTQHQC.js")
|
|
4956
4890
|
}
|
|
4957
4891
|
]
|
|
4958
4892
|
}
|
|
@@ -4962,22 +4896,22 @@ function getRouteMap({
|
|
|
4962
4896
|
},
|
|
4963
4897
|
{
|
|
4964
4898
|
path: "publishable-api-keys",
|
|
4965
|
-
element: /* @__PURE__ */
|
|
4899
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4966
4900
|
handle: {
|
|
4967
4901
|
breadcrumb: () => t("apiKeyManagement.domain.publishable")
|
|
4968
4902
|
},
|
|
4969
4903
|
children: [
|
|
4970
4904
|
{
|
|
4971
4905
|
path: "",
|
|
4972
|
-
element: /* @__PURE__ */
|
|
4906
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
4973
4907
|
children: [
|
|
4974
4908
|
{
|
|
4975
4909
|
path: "",
|
|
4976
|
-
lazy: () => import("./api-key-management-list-
|
|
4910
|
+
lazy: () => import("./api-key-management-list-SZUSD6UI.js"),
|
|
4977
4911
|
children: [
|
|
4978
4912
|
{
|
|
4979
4913
|
path: "create",
|
|
4980
|
-
lazy: () => import("./api-key-management-create-
|
|
4914
|
+
lazy: () => import("./api-key-management-create-UD5V7TOU.js")
|
|
4981
4915
|
}
|
|
4982
4916
|
]
|
|
4983
4917
|
}
|
|
@@ -4986,27 +4920,27 @@ function getRouteMap({
|
|
|
4986
4920
|
{
|
|
4987
4921
|
path: ":id",
|
|
4988
4922
|
lazy: async () => {
|
|
4989
|
-
const { Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
4923
|
+
const { Breadcrumb, loader } = await import("./api-key-management-detail-NBNHERF6.js");
|
|
4990
4924
|
return {
|
|
4991
4925
|
Component: Outlet4,
|
|
4992
4926
|
loader,
|
|
4993
4927
|
handle: {
|
|
4994
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4928
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
4995
4929
|
}
|
|
4996
4930
|
};
|
|
4997
4931
|
},
|
|
4998
4932
|
children: [
|
|
4999
4933
|
{
|
|
5000
4934
|
path: "",
|
|
5001
|
-
lazy: () => import("./api-key-management-detail-
|
|
4935
|
+
lazy: () => import("./api-key-management-detail-NBNHERF6.js"),
|
|
5002
4936
|
children: [
|
|
5003
4937
|
{
|
|
5004
4938
|
path: "edit",
|
|
5005
|
-
lazy: () => import("./api-key-management-edit-
|
|
4939
|
+
lazy: () => import("./api-key-management-edit-4TLKJSAE.js")
|
|
5006
4940
|
},
|
|
5007
4941
|
{
|
|
5008
4942
|
path: "sales-channels",
|
|
5009
|
-
lazy: () => import("./api-key-management-sales-channels-
|
|
4943
|
+
lazy: () => import("./api-key-management-sales-channels-TK6XEGF3.js")
|
|
5010
4944
|
}
|
|
5011
4945
|
]
|
|
5012
4946
|
}
|
|
@@ -5016,22 +4950,22 @@ function getRouteMap({
|
|
|
5016
4950
|
},
|
|
5017
4951
|
{
|
|
5018
4952
|
path: "secret-api-keys",
|
|
5019
|
-
element: /* @__PURE__ */
|
|
4953
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5020
4954
|
handle: {
|
|
5021
4955
|
breadcrumb: () => t("apiKeyManagement.domain.secret")
|
|
5022
4956
|
},
|
|
5023
4957
|
children: [
|
|
5024
4958
|
{
|
|
5025
4959
|
path: "",
|
|
5026
|
-
element: /* @__PURE__ */
|
|
4960
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5027
4961
|
children: [
|
|
5028
4962
|
{
|
|
5029
4963
|
path: "",
|
|
5030
|
-
lazy: () => import("./api-key-management-list-
|
|
4964
|
+
lazy: () => import("./api-key-management-list-SZUSD6UI.js"),
|
|
5031
4965
|
children: [
|
|
5032
4966
|
{
|
|
5033
4967
|
path: "create",
|
|
5034
|
-
lazy: () => import("./api-key-management-create-
|
|
4968
|
+
lazy: () => import("./api-key-management-create-UD5V7TOU.js")
|
|
5035
4969
|
}
|
|
5036
4970
|
]
|
|
5037
4971
|
}
|
|
@@ -5040,23 +4974,23 @@ function getRouteMap({
|
|
|
5040
4974
|
{
|
|
5041
4975
|
path: ":id",
|
|
5042
4976
|
lazy: async () => {
|
|
5043
|
-
const { Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
4977
|
+
const { Breadcrumb, loader } = await import("./api-key-management-detail-NBNHERF6.js");
|
|
5044
4978
|
return {
|
|
5045
4979
|
Component: Outlet4,
|
|
5046
4980
|
loader,
|
|
5047
4981
|
handle: {
|
|
5048
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
4982
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
5049
4983
|
}
|
|
5050
4984
|
};
|
|
5051
4985
|
},
|
|
5052
4986
|
children: [
|
|
5053
4987
|
{
|
|
5054
4988
|
path: "",
|
|
5055
|
-
lazy: () => import("./api-key-management-detail-
|
|
4989
|
+
lazy: () => import("./api-key-management-detail-NBNHERF6.js"),
|
|
5056
4990
|
children: [
|
|
5057
4991
|
{
|
|
5058
4992
|
path: "edit",
|
|
5059
|
-
lazy: () => import("./api-key-management-edit-
|
|
4993
|
+
lazy: () => import("./api-key-management-edit-4TLKJSAE.js")
|
|
5060
4994
|
}
|
|
5061
4995
|
]
|
|
5062
4996
|
}
|
|
@@ -5066,7 +5000,7 @@ function getRouteMap({
|
|
|
5066
5000
|
},
|
|
5067
5001
|
{
|
|
5068
5002
|
path: "tax-regions",
|
|
5069
|
-
element: /* @__PURE__ */
|
|
5003
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5070
5004
|
handle: {
|
|
5071
5005
|
breadcrumb: () => t("taxRegions.domain")
|
|
5072
5006
|
},
|
|
@@ -5077,7 +5011,7 @@ function getRouteMap({
|
|
|
5077
5011
|
children: [
|
|
5078
5012
|
{
|
|
5079
5013
|
path: "create",
|
|
5080
|
-
lazy: () => import("./tax-region-create-
|
|
5014
|
+
lazy: () => import("./tax-region-create-MIDQXQS4.js")
|
|
5081
5015
|
}
|
|
5082
5016
|
]
|
|
5083
5017
|
},
|
|
@@ -5086,13 +5020,13 @@ function getRouteMap({
|
|
|
5086
5020
|
Component: Outlet4,
|
|
5087
5021
|
loader: taxRegionLoader,
|
|
5088
5022
|
handle: {
|
|
5089
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
5023
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(TaxRegionDetailBreadcrumb, { ...match })
|
|
5090
5024
|
},
|
|
5091
5025
|
children: [
|
|
5092
5026
|
{
|
|
5093
5027
|
path: "",
|
|
5094
5028
|
lazy: async () => {
|
|
5095
|
-
const { Component } = await import("./tax-region-detail-
|
|
5029
|
+
const { Component } = await import("./tax-region-detail-AC7B3G57.js");
|
|
5096
5030
|
return {
|
|
5097
5031
|
Component
|
|
5098
5032
|
};
|
|
@@ -5100,7 +5034,7 @@ function getRouteMap({
|
|
|
5100
5034
|
children: [
|
|
5101
5035
|
{
|
|
5102
5036
|
path: "edit",
|
|
5103
|
-
lazy: () => import("./tax-region-edit-
|
|
5037
|
+
lazy: () => import("./tax-region-edit-5CORTHTC.js")
|
|
5104
5038
|
},
|
|
5105
5039
|
{
|
|
5106
5040
|
path: "provinces/create",
|
|
@@ -5108,11 +5042,11 @@ function getRouteMap({
|
|
|
5108
5042
|
},
|
|
5109
5043
|
{
|
|
5110
5044
|
path: "overrides/create",
|
|
5111
|
-
lazy: () => import("./tax-region-tax-override-create-
|
|
5045
|
+
lazy: () => import("./tax-region-tax-override-create-IONGD4TG.js")
|
|
5112
5046
|
},
|
|
5113
5047
|
{
|
|
5114
5048
|
path: "overrides/:tax_rate_id/edit",
|
|
5115
|
-
lazy: () => import("./tax-region-tax-override-edit-
|
|
5049
|
+
lazy: () => import("./tax-region-tax-override-edit-RIT6YRVK.js")
|
|
5116
5050
|
},
|
|
5117
5051
|
{
|
|
5118
5052
|
path: "tax-rates/create",
|
|
@@ -5124,26 +5058,26 @@ function getRouteMap({
|
|
|
5124
5058
|
},
|
|
5125
5059
|
{
|
|
5126
5060
|
path: "metadata/edit",
|
|
5127
|
-
lazy: () => import("./tax-region-metadata-
|
|
5061
|
+
lazy: () => import("./tax-region-metadata-QQZIQPAD.js")
|
|
5128
5062
|
}
|
|
5129
5063
|
]
|
|
5130
5064
|
},
|
|
5131
5065
|
{
|
|
5132
5066
|
path: "provinces/:province_id",
|
|
5133
5067
|
lazy: async () => {
|
|
5134
|
-
const { Breadcrumb, loader } = await import("./tax-region-province-detail-
|
|
5068
|
+
const { Breadcrumb, loader } = await import("./tax-region-province-detail-2MGX7LEO.js");
|
|
5135
5069
|
return {
|
|
5136
5070
|
Component: Outlet4,
|
|
5137
5071
|
loader,
|
|
5138
5072
|
handle: {
|
|
5139
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
5073
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx17(Breadcrumb, { ...match })
|
|
5140
5074
|
}
|
|
5141
5075
|
};
|
|
5142
5076
|
},
|
|
5143
5077
|
children: [
|
|
5144
5078
|
{
|
|
5145
5079
|
path: "",
|
|
5146
|
-
lazy: () => import("./tax-region-province-detail-
|
|
5080
|
+
lazy: () => import("./tax-region-province-detail-2MGX7LEO.js"),
|
|
5147
5081
|
children: [
|
|
5148
5082
|
{
|
|
5149
5083
|
path: "tax-rates/create",
|
|
@@ -5155,11 +5089,11 @@ function getRouteMap({
|
|
|
5155
5089
|
},
|
|
5156
5090
|
{
|
|
5157
5091
|
path: "overrides/create",
|
|
5158
|
-
lazy: () => import("./tax-region-tax-override-create-
|
|
5092
|
+
lazy: () => import("./tax-region-tax-override-create-IONGD4TG.js")
|
|
5159
5093
|
},
|
|
5160
5094
|
{
|
|
5161
5095
|
path: "overrides/:tax_rate_id/edit",
|
|
5162
|
-
lazy: () => import("./tax-region-tax-override-edit-
|
|
5096
|
+
lazy: () => import("./tax-region-tax-override-edit-RIT6YRVK.js")
|
|
5163
5097
|
}
|
|
5164
5098
|
]
|
|
5165
5099
|
}
|
|
@@ -5171,14 +5105,14 @@ function getRouteMap({
|
|
|
5171
5105
|
},
|
|
5172
5106
|
{
|
|
5173
5107
|
path: "return-reasons",
|
|
5174
|
-
element: /* @__PURE__ */
|
|
5108
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5175
5109
|
handle: {
|
|
5176
5110
|
breadcrumb: () => t("returnReasons.domain")
|
|
5177
5111
|
},
|
|
5178
5112
|
children: [
|
|
5179
5113
|
{
|
|
5180
5114
|
path: "",
|
|
5181
|
-
lazy: () => import("./return-reason-list-
|
|
5115
|
+
lazy: () => import("./return-reason-list-7HTIV7NK.js"),
|
|
5182
5116
|
children: [
|
|
5183
5117
|
{
|
|
5184
5118
|
path: "create",
|
|
@@ -5199,25 +5133,25 @@ function getRouteMap({
|
|
|
5199
5133
|
},
|
|
5200
5134
|
{
|
|
5201
5135
|
path: "refund-reasons",
|
|
5202
|
-
element: /* @__PURE__ */
|
|
5136
|
+
element: /* @__PURE__ */ jsx17(Outlet4, {}),
|
|
5203
5137
|
handle: {
|
|
5204
5138
|
breadcrumb: () => t("refundReasons.domain")
|
|
5205
5139
|
},
|
|
5206
5140
|
children: [
|
|
5207
5141
|
{
|
|
5208
5142
|
path: "",
|
|
5209
|
-
lazy: () => import("./refund-reason-list-
|
|
5143
|
+
lazy: () => import("./refund-reason-list-YLH4LD4S.js"),
|
|
5210
5144
|
children: [
|
|
5211
5145
|
{
|
|
5212
5146
|
path: "create",
|
|
5213
|
-
lazy: () => import("./refund-reason-create-
|
|
5147
|
+
lazy: () => import("./refund-reason-create-N4DZ4UHS.js")
|
|
5214
5148
|
},
|
|
5215
5149
|
{
|
|
5216
5150
|
path: ":id",
|
|
5217
5151
|
children: [
|
|
5218
5152
|
{
|
|
5219
5153
|
path: "edit",
|
|
5220
|
-
lazy: () => import("./refund-reason-edit-
|
|
5154
|
+
lazy: () => import("./refund-reason-edit-OAHRDKXW.js")
|
|
5221
5155
|
}
|
|
5222
5156
|
]
|
|
5223
5157
|
}
|
|
@@ -5232,18 +5166,18 @@ function getRouteMap({
|
|
|
5232
5166
|
]
|
|
5233
5167
|
},
|
|
5234
5168
|
{
|
|
5235
|
-
element: /* @__PURE__ */
|
|
5169
|
+
element: /* @__PURE__ */ jsx17(PublicLayout, {}),
|
|
5236
5170
|
children: [
|
|
5237
5171
|
{
|
|
5238
|
-
errorElement: /* @__PURE__ */
|
|
5172
|
+
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
|
5239
5173
|
children: [
|
|
5240
5174
|
{
|
|
5241
5175
|
path: "/login",
|
|
5242
|
-
lazy: () => import("./login-
|
|
5176
|
+
lazy: () => import("./login-N7CVSQNG.js")
|
|
5243
5177
|
},
|
|
5244
5178
|
{
|
|
5245
5179
|
path: "/reset-password",
|
|
5246
|
-
lazy: () => import("./reset-password-
|
|
5180
|
+
lazy: () => import("./reset-password-QGQ4GAHK.js")
|
|
5247
5181
|
},
|
|
5248
5182
|
{
|
|
5249
5183
|
path: "/invite",
|
|
@@ -5263,7 +5197,7 @@ function getRouteMap({
|
|
|
5263
5197
|
|
|
5264
5198
|
// src/app.tsx
|
|
5265
5199
|
import { useMemo as useMemo5 } from "react";
|
|
5266
|
-
import { jsx as
|
|
5200
|
+
import { jsx as jsx18, jsxs as jsxs11 } from "react/jsx-runtime";
|
|
5267
5201
|
function App() {
|
|
5268
5202
|
const routes = useMemo5(() => {
|
|
5269
5203
|
return {
|
|
@@ -5272,9 +5206,9 @@ function App() {
|
|
|
5272
5206
|
publicRoutes: createRouteMap(getRoutesByType(customRoutes, "public"))
|
|
5273
5207
|
};
|
|
5274
5208
|
}, []);
|
|
5275
|
-
return /* @__PURE__ */
|
|
5276
|
-
/* @__PURE__ */
|
|
5277
|
-
/* @__PURE__ */
|
|
5209
|
+
return /* @__PURE__ */ jsx18(TooltipProvider, { children: /* @__PURE__ */ jsx18(HelmetProvider, { children: /* @__PURE__ */ jsx18(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsxs11(ThemeProvider, { children: [
|
|
5210
|
+
/* @__PURE__ */ jsx18(I18n, {}),
|
|
5211
|
+
/* @__PURE__ */ jsx18(I18nProvider, { children: /* @__PURE__ */ jsx18(
|
|
5278
5212
|
RouterProvider,
|
|
5279
5213
|
{
|
|
5280
5214
|
router: createBrowserRouter(getRouteMap(routes), {
|
|
@@ -5282,7 +5216,7 @@ function App() {
|
|
|
5282
5216
|
})
|
|
5283
5217
|
}
|
|
5284
5218
|
) }),
|
|
5285
|
-
/* @__PURE__ */
|
|
5219
|
+
/* @__PURE__ */ jsx18(Toaster, {})
|
|
5286
5220
|
] }) }) }) });
|
|
5287
5221
|
}
|
|
5288
5222
|
export {
|