@mercurjs/admin 2.3.9-canary.7 → 2.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{add-campaign-promotions-HBMPYBWL.js → add-campaign-promotions-I2RE2TFI.js} +21 -20
- package/dist/{adjust-inventory-RTMTGO5T.js → adjust-inventory-HCWOMJAV.js} +23 -22
- package/dist/{api-key-management-create-R2QRXLWU.js → api-key-management-create-E5MDWSPT.js} +5 -5
- package/dist/{api-key-management-detail-2FMETKXR.js → api-key-management-detail-D2GM6B6T.js} +17 -16
- package/dist/{api-key-management-edit-3UJ7DIH2.js → api-key-management-edit-4LF2QQ7K.js} +6 -6
- package/dist/{api-key-management-list-3YBD5KNP.js → api-key-management-list-QR65GHKN.js} +8 -8
- package/dist/{api-key-management-sales-channels-VP5FPCMF.js → api-key-management-sales-channels-ODNVPGYF.js} +13 -13
- package/dist/{attribute-create-R56WADNB.js → attribute-create-K7TPMERV.js} +26 -26
- package/dist/{attribute-detail-PU3LWSEC.js → attribute-detail-LB7SMSUV.js} +34 -34
- package/dist/{attribute-edit-RK2QASAT.js → attribute-edit-JHXYOZAS.js} +6 -6
- package/dist/{attribute-edit-possible-value-WV5FR3A7.js → attribute-edit-possible-value-SA5JMQXA.js} +6 -6
- package/dist/{attribute-list-GXZY4A2K.js → attribute-list-3PNFEKNK.js} +23 -22
- package/dist/{breadcrumb-2IXSJGVH.js → breadcrumb-5WEYNHQL.js} +1 -1
- package/dist/{campaign-create-ZPHJYED3.js → campaign-create-GI44VXL5.js} +5 -5
- package/dist/{campaign-detail-ZNFVVNX4.js → campaign-detail-WDXCECLJ.js} +27 -26
- package/dist/{campaign-list-27HCFLS7.js → campaign-list-MHCSLAYG.js} +9 -8
- package/dist/{categories-metadata-VOKG26IC.js → categories-metadata-4F2CFSXD.js} +22 -21
- package/dist/{category-create-MKENO5UC.js → category-create-T6KSFJFR.js} +3 -3
- package/dist/{category-detail-SJPQSYH2.js → category-detail-6BSP4F34.js} +30 -29
- package/dist/{category-edit-SKLDLRHW.js → category-edit-OE4ONHT6.js} +5 -5
- package/dist/{category-icon-edit-XJMM3O74.js → category-icon-edit-PW5CAWMU.js} +5 -5
- package/dist/{category-list-KI2XDQ3A.js → category-list-I32XZHH5.js} +8 -8
- package/dist/{category-media-HLDRYNWZ.js → category-media-WNBMNSD7.js} +5 -5
- package/dist/{category-organize-SKRZFHUJ.js → category-organize-EPEKZLIU.js} +5 -5
- package/dist/{category-products-6JFOCWYN.js → category-products-6JWUKWLH.js} +39 -38
- package/dist/{chunk-EQKM37O2.js → chunk-2BUD2E7H.js} +1 -1
- package/dist/{chunk-VHAJNIVQ.js → chunk-2DCSR6PN.js} +6 -6
- package/dist/{chunk-35PCKHL7.js → chunk-2IBXBHN4.js} +5 -5
- package/dist/{chunk-SQYHUF4Y.js → chunk-2JJKODRU.js} +4 -4
- package/dist/{chunk-ZYK6RTG2.js → chunk-2LJB5MG5.js} +13 -13
- package/dist/{chunk-QEUNVKSA.js → chunk-2SPKAU6B.js} +7 -7
- package/dist/{chunk-KP3LZSTC.js → chunk-3AYEOPR7.js} +5 -5
- package/dist/{chunk-6NR2MKZT.js → chunk-3FW25NHA.js} +1 -1
- package/dist/{chunk-KVM4YVFU.js → chunk-3LMHCJEX.js} +4 -4
- package/dist/{chunk-CEW7IUTB.js → chunk-3XE5GSUK.js} +7 -7
- package/dist/{chunk-IIAKP25M.js → chunk-3YN2ZMOJ.js} +10 -10
- package/dist/{chunk-K2VXSJUF.js → chunk-42EOT2GS.js} +1 -1
- package/dist/{chunk-LTAR5MLU.js → chunk-47SMVPF4.js} +51 -15
- package/dist/{chunk-5F7OAHRW.js → chunk-4E7M7XYS.js} +4 -4
- package/dist/{chunk-KXEXGXFV.js → chunk-4I65EBC3.js} +8 -8
- package/dist/{chunk-QFZK43H2.js → chunk-5OYCQHBX.js} +4 -4
- package/dist/{chunk-YCAFOH7B.js → chunk-5TFDVLNS.js} +4 -4
- package/dist/{chunk-VSA35Z34.js → chunk-5V7TZO2C.js} +4 -4
- package/dist/{chunk-7ZSLJUXV.js → chunk-5ZF2SG36.js} +11 -11
- package/dist/{chunk-W3FZMS7E.js → chunk-65UMNTRR.js} +6 -6
- package/dist/{chunk-4TKGJDGK.js → chunk-6IE322SZ.js} +9 -9
- package/dist/{chunk-ZEXGMG5L.js → chunk-6JO4K4QK.js} +1 -1
- package/dist/{chunk-XJV4PVT5.js → chunk-6W57K3PC.js} +57 -0
- package/dist/{chunk-VYPJCJ5T.js → chunk-732GOB5M.js} +1617 -1492
- package/dist/{chunk-3MT6RTJD.js → chunk-73UGQNLW.js} +1 -1
- package/dist/{chunk-2GD4XTO7.js → chunk-77XMRJKQ.js} +8 -8
- package/dist/{chunk-PSNKTHKS.js → chunk-7F6ILJAJ.js} +5 -5
- package/dist/{chunk-ZHI5INXR.js → chunk-7LJ6Z5TK.js} +1 -1
- package/dist/{chunk-JT47JVMM.js → chunk-7NDIA2SN.js} +29 -29
- package/dist/{chunk-PTXXNVII.js → chunk-A4LXFSDU.js} +7 -7
- package/dist/{chunk-SSHDOORP.js → chunk-A6I4LURU.js} +5 -5
- package/dist/{chunk-KQPZRFFT.js → chunk-AET2AAKT.js} +6 -6
- package/dist/{chunk-IXSNEWUQ.js → chunk-AHXURBQK.js} +36 -36
- package/dist/{chunk-3F5TBRXC.js → chunk-AUFNEWYR.js} +4 -4
- package/dist/{chunk-TPHZ6MH5.js → chunk-BKNZMLN6.js} +8 -8
- package/dist/{chunk-FNBJK2TJ.js → chunk-BYAFLPPK.js} +8 -8
- package/dist/{chunk-BYW3OPEN.js → chunk-C54WZEEX.js} +19 -0
- package/dist/{chunk-VWFT6TH3.js → chunk-CAWQT5KV.js} +6 -6
- package/dist/{chunk-CCJPJKTY.js → chunk-CJ44WLY3.js} +4 -4
- package/dist/{chunk-ZSBHQBTB.js → chunk-EB4AEE5K.js} +10 -10
- package/dist/{chunk-SI47AGBI.js → chunk-EYIEFDQM.js} +3 -3
- package/dist/{chunk-N2YEPXWG.js → chunk-EZ3A5EME.js} +1 -1
- package/dist/{chunk-YHSJFILH.js → chunk-F523UP2R.js} +10 -10
- package/dist/{chunk-GIPLONYW.js → chunk-FKQAVXJB.js} +2 -2
- package/dist/{chunk-MAAVSBM6.js → chunk-FMARCJU2.js} +14 -14
- package/dist/{chunk-AQBW6KVN.js → chunk-FOQIQUOW.js} +1 -1
- package/dist/{chunk-EVWDEDPV.js → chunk-FP6AGRMB.js} +4 -4
- package/dist/{chunk-GLQH2FNY.js → chunk-GTWQFFLT.js} +1 -1
- package/dist/{chunk-AF4UKAMF.js → chunk-GVEY7LY4.js} +6 -6
- package/dist/{chunk-FT2MLA4F.js → chunk-HYNF4MXN.js} +26 -25
- package/dist/{chunk-7ASMQGI2.js → chunk-IRX6H6PX.js} +5 -5
- package/dist/{chunk-OUTMAZS3.js → chunk-JD7F6TNN.js} +2 -2
- package/dist/{chunk-46XA3DMZ.js → chunk-JKV66HIB.js} +11 -11
- package/dist/{chunk-GUNKK5PA.js → chunk-JVQ5ILSP.js} +18 -18
- package/dist/{chunk-XPRFPBDC.js → chunk-JXRIOU6S.js} +5 -5
- package/dist/{chunk-3YHS5YGW.js → chunk-LHSJXV22.js} +32 -0
- package/dist/{chunk-CYV4ULEF.js → chunk-M65R6KJ7.js} +6 -6
- package/dist/{chunk-I7SKIUQJ.js → chunk-M7DJHW7Y.js} +9 -9
- package/dist/{chunk-DTZLKSWU.js → chunk-MABKQJLL.js} +4 -4
- package/dist/{chunk-HEHM26GN.js → chunk-MB457RHR.js} +1 -1
- package/dist/{chunk-EYOPD6DG.js → chunk-MD36ZSRC.js} +1 -1
- package/dist/{chunk-3435VAEX.js → chunk-MG4HOHXJ.js} +7 -7
- package/dist/{chunk-I4UQLLSP.js → chunk-MUQ6XTZG.js} +1 -1
- package/dist/{chunk-3QEYOHBB.js → chunk-MVZBABWL.js} +4 -4
- package/dist/{chunk-4Y2LVCLK.js → chunk-N3MOQFE2.js} +7 -7
- package/dist/chunk-N72547NA.js +33 -0
- package/dist/{chunk-JCXX4DNP.js → chunk-N7FZLLOS.js} +2 -2
- package/dist/{chunk-OKXPZIGO.js → chunk-NE5GEZYD.js} +8 -8
- package/dist/{chunk-ZTUJNVXJ.js → chunk-PJUW7FBR.js} +1 -1
- package/dist/{chunk-OA6BLEVL.js → chunk-PZKPLLCK.js} +9 -9
- package/dist/{chunk-E2R5JEQC.js → chunk-QCPXVVAM.js} +2 -2
- package/dist/chunk-QE6OUQVH.js +64 -0
- package/dist/{chunk-DQPTTURI.js → chunk-QMURCXV6.js} +1 -1
- package/dist/{chunk-ZRVOEBMM.js → chunk-QNH2UAGS.js} +4 -2
- package/dist/{chunk-5QORIQSD.js → chunk-RAVKYLQV.js} +14 -12
- package/dist/{chunk-WH7WEJMX.js → chunk-RJ62M6VM.js} +8 -8
- package/dist/{chunk-VG3FVZJW.js → chunk-T5VQZAUQ.js} +12 -12
- package/dist/{chunk-TQ7X7BTA.js → chunk-TJJBEBVO.js} +18 -18
- package/dist/{chunk-L7UVRJU6.js → chunk-TNW5SNAA.js} +4 -4
- package/dist/{chunk-EKXHGK7S.js → chunk-TPXDWHKN.js} +1 -1
- package/dist/{chunk-L6ZOJ3F5.js → chunk-TRFZWFQP.js} +6 -6
- package/dist/{chunk-2MJHJ3VY.js → chunk-UG2TX3DW.js} +9 -9
- package/dist/{chunk-JV3J45SY.js → chunk-V5ILLJVE.js} +12 -12
- package/dist/{chunk-6ZNREXHT.js → chunk-VCCCWNJ2.js} +1 -1
- package/dist/{chunk-C24M2TDZ.js → chunk-VOIYFZUD.js} +6 -6
- package/dist/{chunk-XZTJCIW5.js → chunk-W2WJU2F7.js} +3 -3
- package/dist/{chunk-JPZ5C6FD.js → chunk-W34INFPB.js} +1 -1
- package/dist/{chunk-ZTHL4V67.js → chunk-X6IEU5BN.js} +20 -20
- package/dist/{chunk-5G4ZVGO7.js → chunk-XJ4VE6B6.js} +6 -6
- package/dist/chunk-XSACPXD4.js +30 -0
- package/dist/{chunk-OPMPCYJX.js → chunk-XYQHDLH7.js} +4 -4
- package/dist/{chunk-FYON63D2.js → chunk-YNFKPKE2.js} +1 -1
- package/dist/{chunk-ITMSX2KQ.js → chunk-YP2DOA53.js} +1 -1
- package/dist/{chunk-65S7FFIR.js → chunk-YRUD4KEK.js} +7 -7
- package/dist/{chunk-KPYRXLOI.js → chunk-Z5JATDR6.js} +1 -1
- package/dist/{chunk-23XQKZVI.js → chunk-ZFJ4JK2G.js} +10 -10
- package/dist/{chunk-ENSULQYA.js → chunk-ZREELPMV.js} +1 -1
- package/dist/{collection-add-products-HGAABSQG.js → collection-add-products-QF4ODQKF.js} +36 -35
- package/dist/{collection-create-IROC3TUS.js → collection-create-OFAKZT3H.js} +4 -4
- package/dist/{collection-detail-POPHBJTD.js → collection-detail-NBOFITIU.js} +28 -27
- package/dist/{collection-edit-VLCCN534.js → collection-edit-VVUKOHZO.js} +5 -5
- package/dist/{collection-icon-edit-HGOORQUL.js → collection-icon-edit-ZEOV47DV.js} +5 -5
- package/dist/{collection-list-QYOZOLH6.js → collection-list-7LTCCKRK.js} +29 -29
- package/dist/{collection-media-YK4XDMDC.js → collection-media-SW6O54X5.js} +5 -5
- package/dist/{collection-metadata-NAUKYDWG.js → collection-metadata-BZSIYBDF.js} +19 -18
- package/dist/{commission-rule-commission-edit-ORXDQKCX.js → commission-rule-commission-edit-3QPNHX5T.js} +7 -7
- package/dist/{commission-rule-create-3E62CKHW.js → commission-rule-create-ZIXZWIHV.js} +6 -6
- package/dist/{commission-rule-detail-3NH7ULIN.js → commission-rule-detail-6K5ZAF7H.js} +8 -7
- package/dist/{commissions-list-BADK7MSY.js → commissions-list-G4VHOTSN.js} +13 -12
- package/dist/{customer-detail-SZT2SUP7.js → customer-detail-QVCK3IQG.js} +28 -27
- package/dist/{customer-group-detail-FFMUXNIB.js → customer-group-detail-I2JJM7DG.js} +23 -22
- package/dist/{customer-group-list-EOSIHWXE.js → customer-group-list-PUUJ7MM2.js} +23 -22
- package/dist/{customer-group-metadata-TJIDSJ6Z.js → customer-group-metadata-XXOBH3L2.js} +20 -19
- package/dist/{customer-list-Y76GVUYI.js → customer-list-NAWGRWW3.js} +4 -4
- package/dist/{customer-metadata-DE3WIXFE.js → customer-metadata-SAW62KGI.js} +20 -19
- package/dist/{customers-add-customer-group-6ITTWDUT.js → customers-add-customer-group-BHXFYVLH.js} +36 -35
- package/dist/{edit-inventory-item-JHEJ663F.js → edit-inventory-item-2DLVVIJ4.js} +23 -22
- package/dist/{edit-inventory-item-attributes-GXSPW442.js → edit-inventory-item-attributes-RQZEKOXP.js} +23 -22
- package/dist/{edit-reservation-FJR7ZYJF.js → edit-reservation-7XALDPYA.js} +8 -8
- package/dist/{edit-rules-ACC2CU4N.js → edit-rules-JPACO35R.js} +22 -21
- package/dist/extension-targets.d.ts +3 -0
- package/dist/{global-commission-edit-6UEKJHWH.js → global-commission-edit-UKMZZA22.js} +7 -7
- package/dist/{home-DBMCSDAX.js → home-QFVMESEG.js} +16 -14
- package/dist/index.css +10 -0
- package/dist/index.js +409 -439
- package/dist/{inventory-detail-NLQA355J.js → inventory-detail-OXM2U25Q.js} +25 -24
- package/dist/{inventory-list-YH3VIQ4F.js → inventory-list-DPV4VMBB.js} +7 -6
- package/dist/{inventory-metadata-NGKWP7VG.js → inventory-metadata-4NHI7KVC.js} +21 -20
- package/dist/{inventory-stock-MHGGME6C.js → inventory-stock-BN4RQN34.js} +35 -34
- package/dist/{loader-PKVN2RNN.js → loader-HZFVOO6G.js} +1 -1
- package/dist/{location-detail-5J76LVYZ.js → location-detail-QISQPJ2S.js} +14 -13
- package/dist/{location-fulfillment-providers-BXNGW5FD.js → location-fulfillment-providers-DESFXOLB.js} +40 -40
- package/dist/{location-list-SJZNHDQ5.js → location-list-7GZTMS6Z.js} +15 -14
- package/dist/{location-sales-channels-TNLIHLYK.js → location-sales-channels-M5UZFBFQ.js} +13 -13
- package/dist/{location-service-zone-create-2UEUMJ33.js → location-service-zone-create-SPDMYFPB.js} +17 -17
- package/dist/{location-service-zone-manage-areas-5ALQ3XTP.js → location-service-zone-manage-areas-PGGAYMK7.js} +15 -15
- package/dist/{location-service-zone-shipping-option-create-6D242QKG.js → location-service-zone-shipping-option-create-LMCLZHW5.js} +23 -22
- package/dist/{location-service-zone-shipping-option-pricing-7PC7CUC4.js → location-service-zone-shipping-option-pricing-THSABNGZ.js} +18 -17
- package/dist/{login-NVTT2EHC.js → login-TZCKYLS2.js} +15 -14
- package/dist/{manage-locations-VKDYHYYV.js → manage-locations-AWAF7NHT.js} +4 -4
- package/dist/{marketplace-detail-HT4HIW5I.js → marketplace-detail-TQCKYRBS.js} +23 -23
- package/dist/{marketplace-edit-TTP44LZN.js → marketplace-edit-P3NH6JDD.js} +8 -8
- package/dist/{marketplace-metadata-2XEMGXBZ.js → marketplace-metadata-Z3UFWZUC.js} +21 -20
- package/dist/{offer-condition-create-J5Z3Q5MH.js → offer-condition-create-JCDGQFLY.js} +13 -12
- package/dist/{offer-condition-edit-CPBKK54R.js → offer-condition-edit-Y32ODIVM.js} +13 -12
- package/dist/{offer-condition-list-ELVULPI6.js → offer-condition-list-Q4SGJ5ER.js} +32 -31
- package/dist/{offer-detail-page-4P2NUI5V.js → offer-detail-page-KBX4DEFJ.js} +15 -14
- package/dist/{offer-variant-detail-page-WPBDFISE.js → offer-variant-detail-page-TNNLDDNI.js} +10 -9
- package/dist/{offers-SQQ5SVNW.js → offers-EPZHPNYY.js} +27 -26
- package/dist/{order-create-edit-KSOUDYKT.js → order-create-edit-ZOXREL6X.js} +26 -26
- package/dist/{order-create-exchange-GJ6VZUXC.js → order-create-exchange-W5FBNAZ4.js} +49 -48
- package/dist/{order-create-refund-I24FCJLL.js → order-create-refund-OSD76IHC.js} +31 -30
- package/dist/{order-detail-74FNI5EP.js → order-detail-ECCZ6PVH.js} +27 -26
- package/dist/{order-edit-billing-address-BQUX6XE4.js → order-edit-billing-address-S62PLHKI.js} +24 -23
- package/dist/{order-edit-email-PIF3KMMY.js → order-edit-email-43XUEGOW.js} +23 -22
- package/dist/{order-edit-shipping-address-IWAXYN6Y.js → order-edit-shipping-address-VNJ3DEDC.js} +23 -22
- package/dist/{order-list-X5UIPQ2L.js → order-list-JQHYTMPK.js} +14 -14
- package/dist/{order-metadata-4IZB4TSA.js → order-metadata-S7P77GAB.js} +19 -18
- package/dist/{order-request-transfer-RRFZTO2H.js → order-request-transfer-Y3DJEWCH.js} +26 -25
- package/dist/pages/index.js +167 -166
- package/dist/{payout-account-detail-XHWAJWNR.js → payout-account-detail-MHGZZIRD.js} +20 -19
- package/dist/{payout-account-list-XCQFSEMY.js → payout-account-list-RQNRNFIV.js} +7 -6
- package/dist/{payout-detail-3Y4CDLYC.js → payout-detail-TLN5EW23.js} +12 -12
- package/dist/{payout-list-GPITXLNR.js → payout-list-LMWL45PW.js} +12 -11
- package/dist/{price-list-configuration-TIVJZ4CD.js → price-list-configuration-OT3FSLYS.js} +6 -6
- package/dist/{price-list-create-2OSDP6YG.js → price-list-create-DKIPNI7N.js} +36 -35
- package/dist/{price-list-customer-availability-XUW5CXVO.js → price-list-customer-availability-W5MPRJAP.js} +8 -8
- package/dist/{price-list-detail-VBGZ56NK.js → price-list-detail-24JSV6DP.js} +26 -25
- package/dist/{price-list-edit-VO6QAM7N.js → price-list-edit-HTL5XNKZ.js} +6 -6
- package/dist/{price-list-list-AOJQ3DYT.js → price-list-list-HTAI5DW4.js} +8 -8
- package/dist/{price-list-prices-add-K6UW7LCI.js → price-list-prices-add-H4U7R42B.js} +34 -33
- package/dist/{price-list-prices-edit-IR2HYR5F.js → price-list-prices-edit-6PXRI6VE.js} +29 -28
- package/dist/{product-add-existing-attributes-SMP52KCJ.js → product-add-existing-attributes-BPU2Z6KR.js} +31 -31
- package/dist/{product-attributes-RREAPT6T.js → product-attributes-5PMGQBIW.js} +4 -4
- package/dist/{product-bulk-edit-UMEOJQKA.js → product-bulk-edit-ETVMA4TH.js} +3 -3
- package/dist/{product-create-HBGQNARV.js → product-create-5OOPORPD.js} +36 -36
- package/dist/{product-create-attribute-G3AUSBVE.js → product-create-attribute-JRUTWHLJ.js} +4 -4
- package/dist/{product-create-variant-MO7Z452J.js → product-create-variant-G3XZ572E.js} +5 -5
- package/dist/{product-detail-SW2QUQRB.js → product-detail-3LUXR2LK.js} +23 -23
- package/dist/{product-edit-OLKZ6FO2.js → product-edit-HVV6HFPP.js} +4 -4
- package/dist/{product-edit-attribute-DIZFQ6ZP.js → product-edit-attribute-3JHAMGZG.js} +1 -1
- package/dist/product-inbox-BBAXGADC.js +305 -0
- package/dist/{product-list-MEHDACOH.js → product-list-KSOPIKZZ.js} +28 -27
- package/dist/{product-media-DNP46LTI.js → product-media-W3QHRCXX.js} +7 -7
- package/dist/{product-metadata-SKGGZGMW.js → product-metadata-ZN2Z4THR.js} +19 -18
- package/dist/{product-organization-DLJBYZU3.js → product-organization-BPTXZPF2.js} +7 -7
- package/dist/{product-sales-channels-PK2FKY2X.js → product-sales-channels-HFMSJZVI.js} +10 -10
- package/dist/{product-shipping-profile-YLE4YIDL.js → product-shipping-profile-MM74FN47.js} +4 -4
- package/dist/{product-tag-create-BC7ACPGU.js → product-tag-create-2RC7QI4R.js} +23 -22
- package/dist/{product-tag-detail-74SRZY5I.js → product-tag-detail-AUWXAVV5.js} +42 -41
- package/dist/{product-tag-edit-HSOUEU5D.js → product-tag-edit-J4QQIFOP.js} +23 -22
- package/dist/{product-tag-list-YC6BIXAJ.js → product-tag-list-SAWEXU6Y.js} +42 -41
- package/dist/{product-tag-metadata-2AIAO4B3.js → product-tag-metadata-XFPUJJQK.js} +19 -18
- package/dist/{product-type-detail-6R4BJSSQ.js → product-type-detail-BYBH6FU5.js} +27 -26
- package/dist/{product-type-list-I3YSKNZ2.js → product-type-list-YJCXTJQE.js} +7 -7
- package/dist/{product-type-metadata-34AOQ56P.js → product-type-metadata-LTKMPGZG.js} +19 -18
- package/dist/{product-variant-detail-Y2JPURSC.js → product-variant-detail-QSIMMPAS.js} +15 -14
- package/dist/{product-variant-edit-FYT5JOLH.js → product-variant-edit-GCNHVA66.js} +26 -26
- package/dist/{product-variant-metadata-BJ4ESS42.js → product-variant-metadata-RPUU24N6.js} +19 -18
- package/dist/{profile-detail-NJV3B3QG.js → profile-detail-4FHCZL5O.js} +2 -2
- package/dist/{promotion-add-campaign-USH5DBXT.js → promotion-add-campaign-AM7UUMYW.js} +7 -7
- package/dist/{promotion-create-SIOUY7KZ.js → promotion-create-I7DRFZHS.js} +23 -22
- package/dist/{promotion-detail-QDF7I6KQ.js → promotion-detail-UHTA7TW4.js} +18 -17
- package/dist/{promotion-list-35QHP535.js → promotion-list-DTEMWIUT.js} +13 -12
- package/dist/{refund-reason-create-NYGRLVIC.js → refund-reason-create-LHS575LW.js} +23 -22
- package/dist/{refund-reason-edit-C2QOTJSU.js → refund-reason-edit-C4VW2HFG.js} +23 -22
- package/dist/{refund-reason-list-QZ2Z7MNL.js → refund-reason-list-2MWIMSAT.js} +33 -32
- package/dist/{region-add-countries-OL553I4U.js → region-add-countries-AJM47ID6.js} +12 -11
- package/dist/{region-add-sellers-K3AHYJYP.js → region-add-sellers-KN5PRYNT.js} +14 -14
- package/dist/{region-create-ISLRLCWK.js → region-create-V4YPSF33.js} +20 -19
- package/dist/{region-detail-73CVUMEC.js → region-detail-TRHQFBTW.js} +10 -10
- package/dist/{region-edit-YFHA3XUW.js → region-edit-KEAWUONT.js} +11 -10
- package/dist/{region-list-TV3DT5F6.js → region-list-UE6RO2PZ.js} +6 -5
- package/dist/{region-metadata-MIQHNJWB.js → region-metadata-JFMEKJKX.js} +21 -20
- package/dist/{reservation-create-UAEX2IIQ.js → reservation-create-M7U5YGMU.js} +7 -7
- package/dist/{reservation-detail-7LNYITL4.js → reservation-detail-UW76ZPR4.js} +15 -14
- package/dist/{reservation-list-HI4E5SD3.js → reservation-list-MK6AFJ5N.js} +8 -7
- package/dist/{reservation-metadata-S3364EKD.js → reservation-metadata-RWKUHPTL.js} +21 -20
- package/dist/{reset-password-RGFOVPEN.js → reset-password-CRA4KXXZ.js} +4 -4
- package/dist/{return-reason-list-CVANLLJB.js → return-reason-list-2GUYWZLY.js} +23 -22
- package/dist/{review-list-PA6S6M3K.js → review-list-PR4KAUEG.js} +6 -5
- package/dist/{sales-channel-add-products-MGVP4FFA.js → sales-channel-add-products-3Z4H2LBG.js} +38 -37
- package/dist/{sales-channel-create-KCEMVUFL.js → sales-channel-create-JLRHY4I3.js} +4 -4
- package/dist/{sales-channel-detail-R7NN5C34.js → sales-channel-detail-W6DH33UU.js} +27 -26
- package/dist/{sales-channel-edit-EE4HMRMK.js → sales-channel-edit-F6WEJPJD.js} +5 -5
- package/dist/{sales-channel-list-KAGUTX7P.js → sales-channel-list-SM56SL3Q.js} +17 -16
- package/dist/{sales-channel-metadata-6MT5BCGH.js → sales-channel-metadata-5J3LEVDW.js} +21 -20
- package/dist/{settings-5AJC22SM.js → settings-BYCHWQZP.js} +17 -15
- package/dist/{shipping-option-type-create-LGGBUTPM.js → shipping-option-type-create-K5J6N6OO.js} +23 -22
- package/dist/{shipping-option-type-detail-RDKLCL3M.js → shipping-option-type-detail-5OD7PUYU.js} +12 -11
- package/dist/{shipping-option-type-edit-K2DRIE6Q.js → shipping-option-type-edit-65TVRSX4.js} +23 -22
- package/dist/{shipping-option-type-list-JIGYSRUS.js → shipping-option-type-list-RXBWNCTF.js} +24 -23
- package/dist/{shipping-profile-detail-HY362D6V.js → shipping-profile-detail-2BO5PJLM.js} +3 -3
- package/dist/{shipping-profile-metadata-INM6HD5Y.js → shipping-profile-metadata-7D56WKNO.js} +19 -18
- package/dist/{shipping-profiles-list-4L2FFQ7C.js → shipping-profiles-list-6XJ2BCAN.js} +4 -4
- package/dist/{store-add-regions-2D5WXXAC.js → store-add-regions-EOGPCBH4.js} +13 -12
- package/dist/{store-address-edit-3FUQAVO6.js → store-address-edit-BWDVQ4AO.js} +6 -5
- package/dist/{store-bulk-edit-WIPY4OI5.js → store-bulk-edit-26DGX4KW.js} +36 -48
- package/dist/{store-closure-edit-F2UB2UE3.js → store-closure-edit-7SUR4F2K.js} +6 -5
- package/dist/{store-create-XWRAEDU5.js → store-create-FDBL3NJ5.js} +24 -23
- package/dist/{store-details-VPNLJEQW.js → store-details-N7LSB242.js} +39 -38
- package/dist/{store-edit-6Z2ORG5F.js → store-edit-6G62NLNK.js} +38 -21
- package/dist/{store-list-FV2HPPVE.js → store-list-RKHROB2P.js} +28 -28
- package/dist/{store-member-invite-HJ3HSQ6P.js → store-member-invite-KHZD23MS.js} +13 -13
- package/dist/{store-payment-details-edit-JRHVAWFJ.js → store-payment-details-edit-RQNDJCYW.js} +6 -5
- package/dist/{store-professional-details-edit-623AGHEB.js → store-professional-details-edit-QRB6EBTP.js} +6 -5
- package/dist/{tax-region-create-NRY2FH4O.js → tax-region-create-A4ZIEXOC.js} +24 -23
- package/dist/{tax-region-detail-JA7S5HWF.js → tax-region-detail-QOXPUIGD.js} +21 -20
- package/dist/{tax-region-edit-KYF2TUAA.js → tax-region-edit-7OOWJR7E.js} +23 -22
- package/dist/tax-region-list-EN2XGZLJ.js +4 -4
- package/dist/{tax-region-metadata-PZNTQZ66.js → tax-region-metadata-NU24NL4X.js} +21 -20
- package/dist/{tax-region-province-detail-QPZUP6LC.js → tax-region-province-detail-656A6ITD.js} +20 -19
- package/dist/{tax-region-tax-override-create-U5654PKU.js → tax-region-tax-override-create-JVNMHUJH.js} +56 -55
- package/dist/{tax-region-tax-override-edit-DQCSKCYZ.js → tax-region-tax-override-edit-CXDK225Q.js} +56 -55
- package/dist/{user-detail-JVJCU3AN.js → user-detail-W5HUECIC.js} +1 -1
- package/dist/{user-list-KBRBDW2H.js → user-list-TC6EBLIK.js} +4 -4
- package/dist/{user-metadata-A2GTLQEJ.js → user-metadata-Z63EDSGF.js} +21 -20
- package/package.json +13 -13
- package/dist/chunk-PZRMVDNF.js +0 -60
- package/dist/{attribute-create-possible-value-3R4XNSXB.js → attribute-create-possible-value-BYZBIM67.js} +4 -4
- package/dist/{attribute-edit-ranking-53TCHOGF.js → attribute-edit-ranking-ITKTUZNK.js} +4 -4
- package/dist/{campaign-budget-edit-OG4JZ5Q4.js → campaign-budget-edit-JFWPF2NO.js} +4 -4
- package/dist/{campaign-configuration-ASHJSSD3.js → campaign-configuration-WDDM7RZ2.js} +4 -4
- package/dist/{campaign-edit-RIQCPM5M.js → campaign-edit-YIGWVRGP.js} +4 -4
- package/dist/{chunk-CEAFREUV.js → chunk-2DG56CBS.js} +3 -3
- package/dist/{chunk-J3U2QLEW.js → chunk-5ZBFCBQR.js} +7 -7
- package/dist/{chunk-DRURWEJR.js → chunk-CSNREXFJ.js} +4 -4
- package/dist/{chunk-JPYECNPC.js → chunk-CVB2POLW.js} +3 -3
- package/dist/{chunk-DPGIKIH6.js → chunk-GJCMUX7T.js} +3 -3
- package/dist/{chunk-VKEUZPVJ.js → chunk-HJYNCOC7.js} +3 -3
- package/dist/{chunk-4END3ACP.js → chunk-JH7QZCDE.js} +4 -4
- package/dist/{chunk-VLNTJXXO.js → chunk-MU7RXGLY.js} +3 -3
- package/dist/{chunk-WJAFVDOO.js → chunk-PA3BZFOS.js} +6 -6
- package/dist/{chunk-X5PMVI7H.js → chunk-PSWHADBT.js} +3 -3
- package/dist/{chunk-JQ6JP5U3.js → chunk-PW6I5D3O.js} +9 -9
- package/dist/{chunk-NMC4FYSN.js → chunk-QO3LBQVW.js} +3 -3
- package/dist/{chunk-7VO6VJZJ.js → chunk-RSBKZYJ7.js} +3 -3
- package/dist/{chunk-UKL34M7K.js → chunk-RZON6NUL.js} +4 -4
- package/dist/{chunk-E7HU64ES.js → chunk-TVQDFXGM.js} +4 -4
- package/dist/{chunk-4BPYFH72.js → chunk-US4ODTG4.js} +3 -3
- package/dist/{chunk-JJUA3AUY.js → chunk-X7YXQYAJ.js} +3 -3
- package/dist/{chunk-E6DSHSYR.js → chunk-ZDWFCRK2.js} +11 -11
- package/dist/{chunk-ZASF7XBG.js → chunk-ZFPHVI5D.js} +3 -3
- package/dist/{commission-rule-edit-4JVK6S76.js → commission-rule-edit-5EOJ5LUY.js} +5 -5
- package/dist/{customer-create-HPOKBBWF.js → customer-create-XAXPKUME.js} +3 -3
- package/dist/{customer-create-address-X74BQEEF.js → customer-create-address-DK7B6UQG.js} +3 -3
- package/dist/{customer-edit-23V25VEJ.js → customer-edit-I7P7LOHG.js} +4 -4
- package/dist/{customer-edit-address-IKTNWMCQ.js → customer-edit-address-Z3ITANMQ.js} +4 -4
- package/dist/{customer-group-add-customers-Z3ZKTWF4.js → customer-group-add-customers-OIRQOJFT.js} +12 -12
- package/dist/{customer-group-create-B33PV7LT.js → customer-group-create-F4UVX2LS.js} +3 -3
- package/dist/{customer-group-edit-R7GY2M7U.js → customer-group-edit-6YA2JKV5.js} +4 -4
- package/dist/{invite-IDVA7HGQ.js → invite-RQPJ24XM.js} +3 -3
- package/dist/{location-create-6YTSKD7F.js → location-create-XEAFZKL4.js} +3 -3
- package/dist/{location-edit-M6MJAFKF.js → location-edit-2CMYJ5IV.js} +4 -4
- package/dist/{location-service-zone-edit-YHMPLIBL.js → location-service-zone-edit-EBP2VFWK.js} +7 -7
- package/dist/{location-service-zone-shipping-option-edit-K6UP33QH.js → location-service-zone-shipping-option-edit-K7SOAJHY.js} +5 -5
- package/dist/{marketplace-add-currencies-3MQIZY5Q.js → marketplace-add-currencies-OESXX47Z.js} +16 -16
- package/dist/{order-create-claim-SK6YC7UT.js → order-create-claim-RSZ3M7TG.js} +31 -31
- package/dist/{order-create-return-M7UE3KTN.js → order-create-return-6H2QQN4E.js} +31 -31
- package/dist/{product-type-create-J7ELRHCC.js → product-type-create-KAIH2IH4.js} +3 -3
- package/dist/{product-type-edit-Y5ZIXWE4.js → product-type-edit-KQK7OWC2.js} +4 -4
- package/dist/{profile-edit-5LG6ZD34.js → profile-edit-BQ27KAP6.js} +7 -7
- package/dist/{promotion-edit-details-JUKUUBUL.js → promotion-edit-details-7RJ5KQDZ.js} +5 -5
- package/dist/{shipping-profile-create-RKD7BJGH.js → shipping-profile-create-SLVMPOV7.js} +3 -3
- package/dist/{tax-region-province-create-DY7IEM2A.js → tax-region-province-create-HBUNRYHU.js} +4 -4
- package/dist/{tax-region-tax-rate-create-N5FHHGV2.js → tax-region-tax-rate-create-FSLLYJFU.js} +6 -6
- package/dist/{tax-region-tax-rate-edit-7E45DXUP.js → tax-region-tax-rate-edit-Y3GFJAR5.js} +5 -5
- package/dist/{user-edit-UJMTZBPX.js → user-edit-ERWEAGP3.js} +4 -4
- package/dist/{user-invite-VDNGXSV3.js → user-invite-O4EIKZZ5.js} +15 -15
package/dist/index.js
CHANGED
|
@@ -5,9 +5,13 @@ import {
|
|
|
5
5
|
import "./chunk-QR3GYYX6.js";
|
|
6
6
|
import {
|
|
7
7
|
SettingsLayout
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FOQIQUOW.js";
|
|
9
9
|
import "./chunk-FMFVTERD.js";
|
|
10
10
|
import "./chunk-JRTZWK77.js";
|
|
11
|
+
import {
|
|
12
|
+
PRODUCT_DETAIL_FIELDS,
|
|
13
|
+
PRODUCT_DETAIL_QUERY
|
|
14
|
+
} from "./chunk-6BAPAIQM.js";
|
|
11
15
|
import {
|
|
12
16
|
ErrorBoundary,
|
|
13
17
|
MainLayout,
|
|
@@ -16,11 +20,18 @@ import {
|
|
|
16
20
|
ThemeProvider,
|
|
17
21
|
createRouteMap,
|
|
18
22
|
getRoutesByType
|
|
19
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-47SMVPF4.js";
|
|
20
24
|
import "./chunk-C6SUTRP2.js";
|
|
25
|
+
import {
|
|
26
|
+
FeatureFlagProvider
|
|
27
|
+
} from "./chunk-QE6OUQVH.js";
|
|
21
28
|
import {
|
|
22
29
|
SingleColumnPage
|
|
23
30
|
} from "./chunk-H6MYB7GB.js";
|
|
31
|
+
import "./chunk-U3I6S3RO.js";
|
|
32
|
+
import {
|
|
33
|
+
I18n
|
|
34
|
+
} from "./chunk-LHSJXV22.js";
|
|
24
35
|
import {
|
|
25
36
|
TabbedForm,
|
|
26
37
|
defineTabMeta,
|
|
@@ -29,43 +40,18 @@ import {
|
|
|
29
40
|
import {
|
|
30
41
|
FileUpload
|
|
31
42
|
} from "./chunk-VSLHL2AZ.js";
|
|
32
|
-
import {
|
|
33
|
-
ChipInput
|
|
34
|
-
} from "./chunk-KDE4HKH2.js";
|
|
35
|
-
import {
|
|
36
|
-
I18n
|
|
37
|
-
} from "./chunk-3YHS5YGW.js";
|
|
38
43
|
import {
|
|
39
44
|
SwitchBox
|
|
40
45
|
} from "./chunk-2EME4AWX.js";
|
|
41
|
-
import "./chunk-TKGWSUEI.js";
|
|
42
|
-
import "./chunk-SITRHMZZ.js";
|
|
43
|
-
import "./chunk-FWJLS7XD.js";
|
|
44
46
|
import {
|
|
45
|
-
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-LAVHRER2.js";
|
|
48
|
-
import {
|
|
49
|
-
PRODUCT_DETAIL_FIELDS,
|
|
50
|
-
PRODUCT_DETAIL_QUERY
|
|
51
|
-
} from "./chunk-6BAPAIQM.js";
|
|
52
|
-
import "./chunk-U3I6S3RO.js";
|
|
53
|
-
import "./chunk-FQERBIVS.js";
|
|
54
|
-
import {
|
|
55
|
-
_DataTable,
|
|
56
|
-
useDataTable
|
|
57
|
-
} from "./chunk-4JXRBULR.js";
|
|
58
|
-
import "./chunk-YN3FGNJM.js";
|
|
59
|
-
import "./chunk-ZAOEFQ6K.js";
|
|
60
|
-
import "./chunk-4J74G7N2.js";
|
|
61
|
-
import "./chunk-EIWPJWKF.js";
|
|
62
|
-
import "./chunk-46WEBDVJ.js";
|
|
47
|
+
ChipInput
|
|
48
|
+
} from "./chunk-KDE4HKH2.js";
|
|
63
49
|
import {
|
|
64
50
|
ActionMenu
|
|
65
51
|
} from "./chunk-3UOYBH5O.js";
|
|
66
52
|
import "./chunk-NA2GDOU7.js";
|
|
67
53
|
import "./chunk-J4EI5GOR.js";
|
|
68
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-73UGQNLW.js";
|
|
69
55
|
import "./chunk-TVJ5Y6U5.js";
|
|
70
56
|
import "./chunk-HZBUSK2N.js";
|
|
71
57
|
import "./chunk-5GXFPPT5.js";
|
|
@@ -80,29 +66,46 @@ import {
|
|
|
80
66
|
} from "./chunk-6ZQXTLI7.js";
|
|
81
67
|
import "./chunk-ZVOBDGMH.js";
|
|
82
68
|
import "./chunk-3EPP7VXZ.js";
|
|
83
|
-
import "./chunk-
|
|
84
|
-
import "./chunk-
|
|
69
|
+
import "./chunk-7LJ6Z5TK.js";
|
|
70
|
+
import "./chunk-2BUD2E7H.js";
|
|
85
71
|
import "./chunk-CYRBIZLI.js";
|
|
86
72
|
import "./chunk-GVIW5ZJR.js";
|
|
73
|
+
import "./chunk-RYOXVZEX.js";
|
|
74
|
+
import "./chunk-WCKHI6BO.js";
|
|
87
75
|
import "./chunk-XHJ64CM2.js";
|
|
88
76
|
import "./chunk-Y5ZZOV2D.js";
|
|
89
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-PJUW7FBR.js";
|
|
90
78
|
import "./chunk-KDGQJ37N.js";
|
|
91
|
-
import "./chunk-
|
|
92
|
-
import "./chunk-
|
|
93
|
-
import "./chunk-XJV4PVT5.js";
|
|
94
|
-
import "./chunk-J6FNB3IE.js";
|
|
95
|
-
import "./chunk-EKXHGK7S.js";
|
|
79
|
+
import "./chunk-YP2DOA53.js";
|
|
80
|
+
import "./chunk-TPXDWHKN.js";
|
|
96
81
|
import "./chunk-KUR6AQRH.js";
|
|
97
|
-
import "./chunk-
|
|
98
|
-
import
|
|
82
|
+
import "./chunk-FQERBIVS.js";
|
|
83
|
+
import {
|
|
84
|
+
_DataTable,
|
|
85
|
+
useDataTable
|
|
86
|
+
} from "./chunk-4JXRBULR.js";
|
|
87
|
+
import "./chunk-YN3FGNJM.js";
|
|
88
|
+
import "./chunk-ZAOEFQ6K.js";
|
|
89
|
+
import "./chunk-4J74G7N2.js";
|
|
90
|
+
import "./chunk-EIWPJWKF.js";
|
|
91
|
+
import "./chunk-46WEBDVJ.js";
|
|
92
|
+
import "./chunk-6W57K3PC.js";
|
|
93
|
+
import "./chunk-J6FNB3IE.js";
|
|
94
|
+
import "./chunk-732GOB5M.js";
|
|
95
|
+
import "./chunk-TKGWSUEI.js";
|
|
96
|
+
import "./chunk-SITRHMZZ.js";
|
|
97
|
+
import "./chunk-FWJLS7XD.js";
|
|
98
|
+
import {
|
|
99
|
+
Form
|
|
100
|
+
} from "./chunk-3QSRE5LS.js";
|
|
101
|
+
import "./chunk-LAVHRER2.js";
|
|
99
102
|
import "./chunk-INNFZYX2.js";
|
|
100
|
-
import "./chunk-
|
|
103
|
+
import "./chunk-Y7QKP6QU.js";
|
|
104
|
+
import "./chunk-C54WZEEX.js";
|
|
101
105
|
import {
|
|
102
106
|
queryClient
|
|
103
107
|
} from "./chunk-2KCF3ZIB.js";
|
|
104
108
|
import {
|
|
105
|
-
fetchQuery,
|
|
106
109
|
getAuthHeaders
|
|
107
110
|
} from "./chunk-PFJ2C667.js";
|
|
108
111
|
import "./chunk-NBMM2TZK.js";
|
|
@@ -117,47 +120,6 @@ import preferences from "virtual:mercur/preferences";
|
|
|
117
120
|
import { HelmetProvider } from "react-helmet-async";
|
|
118
121
|
import { QueryClientProvider } from "@tanstack/react-query";
|
|
119
122
|
import { ExtensionProvider, resolveRouteOverrides } from "@mercurjs/dashboard-shared";
|
|
120
|
-
|
|
121
|
-
// src/providers/feature-flag-provider/index.tsx
|
|
122
|
-
import { createContext, useCallback, useContext, useMemo } from "react";
|
|
123
|
-
|
|
124
|
-
// src/hooks/api/feature-flags.tsx
|
|
125
|
-
import { useQuery } from "@tanstack/react-query";
|
|
126
|
-
var useFeatureFlags = () => {
|
|
127
|
-
return useQuery({
|
|
128
|
-
queryKey: ["admin", "feature-flags"],
|
|
129
|
-
queryFn: async () => {
|
|
130
|
-
const response = await fetchQuery("/admin/feature-flags", {
|
|
131
|
-
method: "GET"
|
|
132
|
-
});
|
|
133
|
-
return response.feature_flags;
|
|
134
|
-
},
|
|
135
|
-
staleTime: 5 * 60 * 1e3,
|
|
136
|
-
gcTime: 10 * 60 * 1e3
|
|
137
|
-
});
|
|
138
|
-
};
|
|
139
|
-
|
|
140
|
-
// src/providers/feature-flag-provider/index.tsx
|
|
141
|
-
import { jsx } from "react/jsx-runtime";
|
|
142
|
-
var FeatureFlagContext = createContext(null);
|
|
143
|
-
var FeatureFlagProvider = ({
|
|
144
|
-
children
|
|
145
|
-
}) => {
|
|
146
|
-
const { data: flags = {}, isLoading } = useFeatureFlags();
|
|
147
|
-
const isFeatureEnabled = useCallback(
|
|
148
|
-
(flag) => {
|
|
149
|
-
return flags[flag] === true;
|
|
150
|
-
},
|
|
151
|
-
[flags]
|
|
152
|
-
);
|
|
153
|
-
const value = useMemo(
|
|
154
|
-
() => ({ flags, isLoading, isFeatureEnabled }),
|
|
155
|
-
[flags, isLoading, isFeatureEnabled]
|
|
156
|
-
);
|
|
157
|
-
return /* @__PURE__ */ jsx(FeatureFlagContext.Provider, { value, children });
|
|
158
|
-
};
|
|
159
|
-
|
|
160
|
-
// src/app.tsx
|
|
161
123
|
import { I18nProvider, Toaster, TooltipProvider } from "@medusajs/ui";
|
|
162
124
|
import { createBrowserRouter, RouterProvider } from "react-router-dom";
|
|
163
125
|
|
|
@@ -169,30 +131,30 @@ import { Outlet as Outlet3 } from "react-router-dom";
|
|
|
169
131
|
import { Spinner } from "@medusajs/icons";
|
|
170
132
|
import { Navigate, Outlet, useLocation } from "react-router-dom";
|
|
171
133
|
import { PermissionsProvider } from "@mercurjs/dashboard-shared";
|
|
172
|
-
import { jsx
|
|
134
|
+
import { jsx } from "react/jsx-runtime";
|
|
173
135
|
var ProtectedRoute = () => {
|
|
174
136
|
const location = useLocation();
|
|
175
137
|
const { user, isLoading: isLoadingUser } = useMe();
|
|
176
138
|
if (isLoadingUser) {
|
|
177
|
-
return /* @__PURE__ */
|
|
139
|
+
return /* @__PURE__ */ jsx("div", { className: "flex min-h-screen items-center justify-center", children: /* @__PURE__ */ jsx(Spinner, { className: "text-ui-fg-interactive animate-spin" }) });
|
|
178
140
|
}
|
|
179
141
|
if (!user) {
|
|
180
|
-
return /* @__PURE__ */
|
|
142
|
+
return /* @__PURE__ */ jsx(Navigate, { to: "/login", state: { from: location }, replace: true });
|
|
181
143
|
}
|
|
182
|
-
return /* @__PURE__ */
|
|
144
|
+
return /* @__PURE__ */ jsx(
|
|
183
145
|
PermissionsProvider,
|
|
184
146
|
{
|
|
185
147
|
permissions: user.permissions ?? null,
|
|
186
|
-
children: /* @__PURE__ */
|
|
148
|
+
children: /* @__PURE__ */ jsx(SidebarProvider, { children: /* @__PURE__ */ jsx(SearchProvider, { children: /* @__PURE__ */ jsx(Outlet, {}) }) })
|
|
187
149
|
}
|
|
188
150
|
);
|
|
189
151
|
};
|
|
190
152
|
|
|
191
153
|
// src/components/layout/public-layout/public-layout.tsx
|
|
192
154
|
import { Outlet as Outlet2 } from "react-router-dom";
|
|
193
|
-
import { jsx as
|
|
155
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
194
156
|
var PublicLayout = () => {
|
|
195
|
-
return /* @__PURE__ */
|
|
157
|
+
return /* @__PURE__ */ jsx2(Outlet2, {});
|
|
196
158
|
};
|
|
197
159
|
|
|
198
160
|
// src/get-route-map.tsx
|
|
@@ -207,7 +169,7 @@ var withPermission = createWithPermission(async () => {
|
|
|
207
169
|
var withLoaderPermission = (permission) => (module) => module.loader ? { ...module, loader: withPermission(module.loader, permission) } : module;
|
|
208
170
|
|
|
209
171
|
// src/get-route-map.tsx
|
|
210
|
-
import { jsx as
|
|
172
|
+
import { jsx as jsx3 } from "react/jsx-runtime";
|
|
211
173
|
function mergeRoutes(baseRoutes, customRoutes2) {
|
|
212
174
|
const result = baseRoutes.map((route) => ({ ...route }));
|
|
213
175
|
for (const customRoute of customRoutes2) {
|
|
@@ -241,154 +203,162 @@ function getRouteMap({
|
|
|
241
203
|
}) {
|
|
242
204
|
return [
|
|
243
205
|
{
|
|
244
|
-
element: /* @__PURE__ */
|
|
245
|
-
errorElement: /* @__PURE__ */
|
|
206
|
+
element: /* @__PURE__ */ jsx3(ProtectedRoute, {}),
|
|
207
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
246
208
|
children: [
|
|
247
209
|
{
|
|
248
|
-
element: /* @__PURE__ */
|
|
210
|
+
element: /* @__PURE__ */ jsx3(MainLayout, {}),
|
|
249
211
|
children: [
|
|
250
212
|
{
|
|
251
213
|
// Pathless wrapper so every route below — including extension
|
|
252
214
|
// routes merged in from virtual:mercur/routes — is enforced
|
|
253
215
|
// without each one wiring its own guard element.
|
|
254
|
-
element: /* @__PURE__ */
|
|
216
|
+
element: /* @__PURE__ */ jsx3(RoutePermissionGuard, {}),
|
|
255
217
|
children: mergeRoutes(
|
|
256
218
|
[
|
|
257
219
|
{
|
|
258
220
|
path: "/",
|
|
259
|
-
errorElement: /* @__PURE__ */
|
|
260
|
-
lazy: () => import("./home-
|
|
221
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
222
|
+
lazy: () => import("./home-QFVMESEG.js")
|
|
261
223
|
},
|
|
262
224
|
{
|
|
263
225
|
path: "/products",
|
|
264
|
-
errorElement: /* @__PURE__ */
|
|
226
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
265
227
|
handle: {
|
|
266
228
|
breadcrumb: () => t("products.domain"),
|
|
267
229
|
permissions: "products:view"
|
|
268
230
|
},
|
|
269
231
|
children: [
|
|
232
|
+
{
|
|
233
|
+
path: "inbox",
|
|
234
|
+
handle: {
|
|
235
|
+
breadcrumb: () => t("products.inbox.domain"),
|
|
236
|
+
permissions: ["product_changes:view", "products:view"]
|
|
237
|
+
},
|
|
238
|
+
lazy: () => import("./product-inbox-BBAXGADC.js")
|
|
239
|
+
},
|
|
270
240
|
{
|
|
271
241
|
path: "",
|
|
272
|
-
lazy: () => import("./product-list-
|
|
242
|
+
lazy: () => import("./product-list-KSOPIKZZ.js"),
|
|
273
243
|
children: [
|
|
274
244
|
{
|
|
275
245
|
path: "create",
|
|
276
246
|
handle: { permissions: "products:edit" },
|
|
277
|
-
lazy: () => import("./product-create-
|
|
247
|
+
lazy: () => import("./product-create-5OOPORPD.js")
|
|
278
248
|
},
|
|
279
249
|
{
|
|
280
250
|
path: "bulk-edit",
|
|
281
251
|
handle: { permissions: "products:edit" },
|
|
282
|
-
lazy: () => import("./product-bulk-edit-
|
|
252
|
+
lazy: () => import("./product-bulk-edit-ETVMA4TH.js")
|
|
283
253
|
}
|
|
284
254
|
]
|
|
285
255
|
},
|
|
286
256
|
{
|
|
287
257
|
path: ":id",
|
|
288
|
-
errorElement: /* @__PURE__ */
|
|
258
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
289
259
|
lazy: async () => {
|
|
290
|
-
const { Breadcrumb, loader } = await import("./product-detail-
|
|
260
|
+
const { Breadcrumb, loader } = await import("./product-detail-3LUXR2LK.js");
|
|
291
261
|
return {
|
|
292
262
|
Component: Outlet3,
|
|
293
263
|
loader: withPermission(loader, "products:view"),
|
|
294
264
|
handle: {
|
|
295
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
265
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
296
266
|
}
|
|
297
267
|
};
|
|
298
268
|
},
|
|
299
269
|
children: [
|
|
300
270
|
{
|
|
301
271
|
path: "",
|
|
302
|
-
lazy: () => import("./product-detail-
|
|
272
|
+
lazy: () => import("./product-detail-3LUXR2LK.js").then(withLoaderPermission("products:view")),
|
|
303
273
|
children: [
|
|
304
274
|
{
|
|
305
275
|
path: "edit",
|
|
306
276
|
handle: { permissions: "products:edit" },
|
|
307
|
-
lazy: () => import("./product-edit-
|
|
277
|
+
lazy: () => import("./product-edit-HVV6HFPP.js")
|
|
308
278
|
},
|
|
309
279
|
{
|
|
310
280
|
path: "edit-variant",
|
|
311
281
|
handle: { permissions: "products:edit" },
|
|
312
|
-
lazy: () => import("./product-variant-edit-
|
|
282
|
+
lazy: () => import("./product-variant-edit-GCNHVA66.js").then(withLoaderPermission("products:edit"))
|
|
313
283
|
},
|
|
314
284
|
{
|
|
315
285
|
path: "sales-channels",
|
|
316
286
|
handle: { permissions: ["products:edit", "sales_channels:view"] },
|
|
317
|
-
lazy: () => import("./product-sales-channels-
|
|
287
|
+
lazy: () => import("./product-sales-channels-HFMSJZVI.js")
|
|
318
288
|
},
|
|
319
289
|
{
|
|
320
290
|
path: "attributes",
|
|
321
291
|
handle: { permissions: "products:edit" },
|
|
322
|
-
lazy: () => import("./product-attributes-
|
|
292
|
+
lazy: () => import("./product-attributes-5PMGQBIW.js")
|
|
323
293
|
},
|
|
324
294
|
{
|
|
325
295
|
path: "attributes/create",
|
|
326
296
|
handle: { permissions: "products:edit" },
|
|
327
|
-
lazy: () => import("./product-create-attribute-
|
|
297
|
+
lazy: () => import("./product-create-attribute-JRUTWHLJ.js")
|
|
328
298
|
},
|
|
329
299
|
{
|
|
330
300
|
path: "attributes/add",
|
|
331
301
|
handle: { permissions: ["products:edit", "product_attributes:view"] },
|
|
332
|
-
lazy: () => import("./product-add-existing-attributes-
|
|
302
|
+
lazy: () => import("./product-add-existing-attributes-BPU2Z6KR.js")
|
|
333
303
|
},
|
|
334
304
|
{
|
|
335
305
|
path: "attributes/:attribute_id/edit",
|
|
336
306
|
handle: { permissions: "products:edit" },
|
|
337
|
-
lazy: () => import("./product-edit-attribute-
|
|
307
|
+
lazy: () => import("./product-edit-attribute-3JHAMGZG.js")
|
|
338
308
|
},
|
|
339
309
|
{
|
|
340
310
|
path: "organization",
|
|
341
311
|
handle: { permissions: "products:edit" },
|
|
342
|
-
lazy: () => import("./product-organization-
|
|
312
|
+
lazy: () => import("./product-organization-BPTXZPF2.js")
|
|
343
313
|
},
|
|
344
314
|
{
|
|
345
315
|
path: "shipping-profile",
|
|
346
316
|
handle: { permissions: "products:edit" },
|
|
347
|
-
lazy: () => import("./product-shipping-profile-
|
|
317
|
+
lazy: () => import("./product-shipping-profile-MM74FN47.js")
|
|
348
318
|
},
|
|
349
319
|
{
|
|
350
320
|
path: "media",
|
|
351
321
|
handle: { permissions: "products:edit" },
|
|
352
|
-
lazy: () => import("./product-media-
|
|
322
|
+
lazy: () => import("./product-media-W3QHRCXX.js")
|
|
353
323
|
},
|
|
354
324
|
{
|
|
355
325
|
path: "variants/create",
|
|
356
326
|
handle: { permissions: "products:edit" },
|
|
357
|
-
lazy: () => import("./product-create-variant-
|
|
327
|
+
lazy: () => import("./product-create-variant-G3XZ572E.js")
|
|
358
328
|
},
|
|
359
329
|
{
|
|
360
330
|
path: "metadata/edit",
|
|
361
331
|
handle: { permissions: "products:edit" },
|
|
362
|
-
lazy: () => import("./product-metadata-
|
|
332
|
+
lazy: () => import("./product-metadata-ZN2Z4THR.js")
|
|
363
333
|
}
|
|
364
334
|
]
|
|
365
335
|
},
|
|
366
336
|
{
|
|
367
337
|
path: "variants/:variant_id",
|
|
368
338
|
lazy: async () => {
|
|
369
|
-
const { Breadcrumb, loader } = await import("./product-variant-detail-
|
|
339
|
+
const { Breadcrumb, loader } = await import("./product-variant-detail-QSIMMPAS.js");
|
|
370
340
|
return {
|
|
371
341
|
Component: Outlet3,
|
|
372
342
|
loader: withPermission(loader, "products:view"),
|
|
373
343
|
handle: {
|
|
374
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
344
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
375
345
|
}
|
|
376
346
|
};
|
|
377
347
|
},
|
|
378
348
|
children: [
|
|
379
349
|
{
|
|
380
350
|
path: "",
|
|
381
|
-
lazy: () => import("./product-variant-detail-
|
|
351
|
+
lazy: () => import("./product-variant-detail-QSIMMPAS.js").then(withLoaderPermission("products:view")),
|
|
382
352
|
children: [
|
|
383
353
|
{
|
|
384
354
|
path: "edit",
|
|
385
355
|
handle: { permissions: "products:edit" },
|
|
386
|
-
lazy: () => import("./product-variant-edit-
|
|
356
|
+
lazy: () => import("./product-variant-edit-GCNHVA66.js").then(withLoaderPermission("products:edit"))
|
|
387
357
|
},
|
|
388
358
|
{
|
|
389
359
|
path: "metadata/edit",
|
|
390
360
|
handle: { permissions: "products:edit" },
|
|
391
|
-
lazy: () => import("./product-variant-metadata-
|
|
361
|
+
lazy: () => import("./product-variant-metadata-RPUU24N6.js")
|
|
392
362
|
}
|
|
393
363
|
]
|
|
394
364
|
}
|
|
@@ -400,7 +370,7 @@ function getRouteMap({
|
|
|
400
370
|
},
|
|
401
371
|
{
|
|
402
372
|
path: "/categories",
|
|
403
|
-
errorElement: /* @__PURE__ */
|
|
373
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
404
374
|
handle: {
|
|
405
375
|
breadcrumb: () => t("categories.domain"),
|
|
406
376
|
permissions: "product_categories:view"
|
|
@@ -408,66 +378,66 @@ function getRouteMap({
|
|
|
408
378
|
children: [
|
|
409
379
|
{
|
|
410
380
|
path: "",
|
|
411
|
-
lazy: () => import("./category-list-
|
|
381
|
+
lazy: () => import("./category-list-I32XZHH5.js"),
|
|
412
382
|
children: [
|
|
413
383
|
{
|
|
414
384
|
path: "create",
|
|
415
385
|
handle: { permissions: "product_categories:edit" },
|
|
416
|
-
lazy: () => import("./category-create-
|
|
386
|
+
lazy: () => import("./category-create-T6KSFJFR.js")
|
|
417
387
|
},
|
|
418
388
|
{
|
|
419
389
|
path: "organize",
|
|
420
390
|
handle: { permissions: "product_categories:edit" },
|
|
421
|
-
lazy: () => import("./category-organize-
|
|
391
|
+
lazy: () => import("./category-organize-EPEKZLIU.js")
|
|
422
392
|
}
|
|
423
393
|
]
|
|
424
394
|
},
|
|
425
395
|
{
|
|
426
396
|
path: ":id",
|
|
427
397
|
lazy: async () => {
|
|
428
|
-
const { Breadcrumb, loader } = await import("./category-detail-
|
|
398
|
+
const { Breadcrumb, loader } = await import("./category-detail-6BSP4F34.js");
|
|
429
399
|
return {
|
|
430
400
|
Component: Outlet3,
|
|
431
401
|
loader: withPermission(loader, "product_categories:view"),
|
|
432
402
|
handle: {
|
|
433
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
403
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
434
404
|
}
|
|
435
405
|
};
|
|
436
406
|
},
|
|
437
407
|
children: [
|
|
438
408
|
{
|
|
439
409
|
path: "",
|
|
440
|
-
lazy: () => import("./category-detail-
|
|
410
|
+
lazy: () => import("./category-detail-6BSP4F34.js").then(withLoaderPermission("product_categories:view")),
|
|
441
411
|
children: [
|
|
442
412
|
{
|
|
443
413
|
path: "edit",
|
|
444
414
|
handle: { permissions: "product_categories:edit" },
|
|
445
|
-
lazy: () => import("./category-edit-
|
|
415
|
+
lazy: () => import("./category-edit-OE4ONHT6.js")
|
|
446
416
|
},
|
|
447
417
|
{
|
|
448
418
|
path: "media",
|
|
449
419
|
handle: { permissions: "product_categories:edit" },
|
|
450
|
-
lazy: () => import("./category-media-
|
|
420
|
+
lazy: () => import("./category-media-WNBMNSD7.js")
|
|
451
421
|
},
|
|
452
422
|
{
|
|
453
423
|
path: "icon/edit",
|
|
454
424
|
handle: { permissions: "product_categories:edit" },
|
|
455
|
-
lazy: () => import("./category-icon-edit-
|
|
425
|
+
lazy: () => import("./category-icon-edit-PW5CAWMU.js")
|
|
456
426
|
},
|
|
457
427
|
{
|
|
458
428
|
path: "products",
|
|
459
429
|
handle: { permissions: ["product_categories:edit", "products:view"] },
|
|
460
|
-
lazy: () => import("./category-products-
|
|
430
|
+
lazy: () => import("./category-products-6JWUKWLH.js")
|
|
461
431
|
},
|
|
462
432
|
{
|
|
463
433
|
path: "organize",
|
|
464
434
|
handle: { permissions: "product_categories:edit" },
|
|
465
|
-
lazy: () => import("./category-organize-
|
|
435
|
+
lazy: () => import("./category-organize-EPEKZLIU.js")
|
|
466
436
|
},
|
|
467
437
|
{
|
|
468
438
|
path: "metadata/edit",
|
|
469
439
|
handle: { permissions: "product_categories:edit" },
|
|
470
|
-
lazy: () => import("./categories-metadata-
|
|
440
|
+
lazy: () => import("./categories-metadata-4F2CFSXD.js")
|
|
471
441
|
}
|
|
472
442
|
]
|
|
473
443
|
}
|
|
@@ -477,7 +447,7 @@ function getRouteMap({
|
|
|
477
447
|
},
|
|
478
448
|
{
|
|
479
449
|
path: "/orders",
|
|
480
|
-
errorElement: /* @__PURE__ */
|
|
450
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
481
451
|
handle: {
|
|
482
452
|
breadcrumb: () => t("orders.domain"),
|
|
483
453
|
permissions: "orders:view"
|
|
@@ -485,74 +455,74 @@ function getRouteMap({
|
|
|
485
455
|
children: [
|
|
486
456
|
{
|
|
487
457
|
path: "",
|
|
488
|
-
lazy: () => import("./order-list-
|
|
458
|
+
lazy: () => import("./order-list-JQHYTMPK.js")
|
|
489
459
|
},
|
|
490
460
|
{
|
|
491
461
|
path: ":id",
|
|
492
462
|
lazy: async () => {
|
|
493
|
-
const { Breadcrumb, loader } = await import("./order-detail-
|
|
463
|
+
const { Breadcrumb, loader } = await import("./order-detail-ECCZ6PVH.js");
|
|
494
464
|
return {
|
|
495
465
|
Component: Outlet3,
|
|
496
466
|
loader: withPermission(loader, "orders:view"),
|
|
497
467
|
handle: {
|
|
498
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
468
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
499
469
|
}
|
|
500
470
|
};
|
|
501
471
|
},
|
|
502
472
|
children: [
|
|
503
473
|
{
|
|
504
474
|
path: "",
|
|
505
|
-
lazy: () => import("./order-detail-
|
|
475
|
+
lazy: () => import("./order-detail-ECCZ6PVH.js").then(withLoaderPermission("orders:view")),
|
|
506
476
|
children: [
|
|
507
477
|
{
|
|
508
478
|
path: "returns",
|
|
509
479
|
handle: { permissions: "orders.returns:edit" },
|
|
510
|
-
lazy: () => import("./order-create-return-
|
|
480
|
+
lazy: () => import("./order-create-return-6H2QQN4E.js")
|
|
511
481
|
},
|
|
512
482
|
{
|
|
513
483
|
path: "claims",
|
|
514
484
|
handle: { permissions: "orders.returns:edit" },
|
|
515
|
-
lazy: () => import("./order-create-claim-
|
|
485
|
+
lazy: () => import("./order-create-claim-RSZ3M7TG.js")
|
|
516
486
|
},
|
|
517
487
|
{
|
|
518
488
|
path: "exchanges",
|
|
519
489
|
handle: { permissions: "orders.returns:edit" },
|
|
520
|
-
lazy: () => import("./order-create-exchange-
|
|
490
|
+
lazy: () => import("./order-create-exchange-W5FBNAZ4.js")
|
|
521
491
|
},
|
|
522
492
|
{
|
|
523
493
|
path: "edits",
|
|
524
494
|
handle: { permissions: "orders.edits:edit" },
|
|
525
|
-
lazy: () => import("./order-create-edit-
|
|
495
|
+
lazy: () => import("./order-create-edit-ZOXREL6X.js")
|
|
526
496
|
},
|
|
527
497
|
{
|
|
528
498
|
path: "refund",
|
|
529
499
|
handle: { permissions: "orders.refunds:edit" },
|
|
530
|
-
lazy: () => import("./order-create-refund-
|
|
500
|
+
lazy: () => import("./order-create-refund-OSD76IHC.js")
|
|
531
501
|
},
|
|
532
502
|
{
|
|
533
503
|
path: "transfer",
|
|
534
504
|
handle: { permissions: "orders:edit" },
|
|
535
|
-
lazy: () => import("./order-request-transfer-
|
|
505
|
+
lazy: () => import("./order-request-transfer-Y3DJEWCH.js")
|
|
536
506
|
},
|
|
537
507
|
{
|
|
538
508
|
path: "email",
|
|
539
509
|
handle: { permissions: "orders:edit" },
|
|
540
|
-
lazy: () => import("./order-edit-email-
|
|
510
|
+
lazy: () => import("./order-edit-email-43XUEGOW.js")
|
|
541
511
|
},
|
|
542
512
|
{
|
|
543
513
|
path: "shipping-address",
|
|
544
514
|
handle: { permissions: "orders:edit" },
|
|
545
|
-
lazy: () => import("./order-edit-shipping-address-
|
|
515
|
+
lazy: () => import("./order-edit-shipping-address-VNJ3DEDC.js")
|
|
546
516
|
},
|
|
547
517
|
{
|
|
548
518
|
path: "billing-address",
|
|
549
519
|
handle: { permissions: "orders:edit" },
|
|
550
|
-
lazy: () => import("./order-edit-billing-address-
|
|
520
|
+
lazy: () => import("./order-edit-billing-address-S62PLHKI.js")
|
|
551
521
|
},
|
|
552
522
|
{
|
|
553
523
|
path: "metadata/edit",
|
|
554
524
|
handle: { permissions: "orders:edit" },
|
|
555
|
-
lazy: () => import("./order-metadata-
|
|
525
|
+
lazy: () => import("./order-metadata-S7P77GAB.js")
|
|
556
526
|
}
|
|
557
527
|
]
|
|
558
528
|
}
|
|
@@ -562,7 +532,7 @@ function getRouteMap({
|
|
|
562
532
|
},
|
|
563
533
|
{
|
|
564
534
|
path: "/promotions",
|
|
565
|
-
errorElement: /* @__PURE__ */
|
|
535
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
566
536
|
handle: {
|
|
567
537
|
breadcrumb: () => t("promotions.domain"),
|
|
568
538
|
permissions: "promotions:view"
|
|
@@ -570,44 +540,44 @@ function getRouteMap({
|
|
|
570
540
|
children: [
|
|
571
541
|
{
|
|
572
542
|
path: "",
|
|
573
|
-
lazy: () => import("./promotion-list-
|
|
543
|
+
lazy: () => import("./promotion-list-DTEMWIUT.js")
|
|
574
544
|
},
|
|
575
545
|
{
|
|
576
546
|
path: "create",
|
|
577
547
|
handle: { permissions: "promotions:edit" },
|
|
578
|
-
lazy: () => import("./promotion-create-
|
|
548
|
+
lazy: () => import("./promotion-create-I7DRFZHS.js")
|
|
579
549
|
},
|
|
580
550
|
{
|
|
581
551
|
path: ":id",
|
|
582
552
|
lazy: async () => {
|
|
583
|
-
const { Breadcrumb, loader } = await import("./promotion-detail-
|
|
553
|
+
const { Breadcrumb, loader } = await import("./promotion-detail-UHTA7TW4.js");
|
|
584
554
|
return {
|
|
585
555
|
Component: Outlet3,
|
|
586
556
|
loader: withPermission(loader, "promotions:view"),
|
|
587
557
|
handle: {
|
|
588
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
558
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
589
559
|
}
|
|
590
560
|
};
|
|
591
561
|
},
|
|
592
562
|
children: [
|
|
593
563
|
{
|
|
594
564
|
path: "",
|
|
595
|
-
lazy: () => import("./promotion-detail-
|
|
565
|
+
lazy: () => import("./promotion-detail-UHTA7TW4.js").then(withLoaderPermission("promotions:view")),
|
|
596
566
|
children: [
|
|
597
567
|
{
|
|
598
568
|
path: "edit",
|
|
599
569
|
handle: { permissions: "promotions:edit" },
|
|
600
|
-
lazy: () => import("./promotion-edit-details-
|
|
570
|
+
lazy: () => import("./promotion-edit-details-7RJ5KQDZ.js")
|
|
601
571
|
},
|
|
602
572
|
{
|
|
603
573
|
path: "add-to-campaign",
|
|
604
574
|
handle: { permissions: ["promotions:edit", "campaigns:view"] },
|
|
605
|
-
lazy: () => import("./promotion-add-campaign-
|
|
575
|
+
lazy: () => import("./promotion-add-campaign-AM7UUMYW.js")
|
|
606
576
|
},
|
|
607
577
|
{
|
|
608
578
|
path: ":ruleType/edit",
|
|
609
579
|
handle: { permissions: "promotions:edit" },
|
|
610
|
-
lazy: () => import("./edit-rules-
|
|
580
|
+
lazy: () => import("./edit-rules-JPACO35R.js")
|
|
611
581
|
}
|
|
612
582
|
]
|
|
613
583
|
}
|
|
@@ -617,7 +587,7 @@ function getRouteMap({
|
|
|
617
587
|
},
|
|
618
588
|
{
|
|
619
589
|
path: "/campaigns",
|
|
620
|
-
errorElement: /* @__PURE__ */
|
|
590
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
621
591
|
handle: {
|
|
622
592
|
breadcrumb: () => t("campaigns.domain"),
|
|
623
593
|
permissions: "campaigns:view"
|
|
@@ -625,50 +595,50 @@ function getRouteMap({
|
|
|
625
595
|
children: [
|
|
626
596
|
{
|
|
627
597
|
path: "",
|
|
628
|
-
lazy: () => import("./campaign-list-
|
|
598
|
+
lazy: () => import("./campaign-list-MHCSLAYG.js"),
|
|
629
599
|
children: []
|
|
630
600
|
},
|
|
631
601
|
{
|
|
632
602
|
path: "create",
|
|
633
603
|
handle: { permissions: "campaigns:edit" },
|
|
634
|
-
lazy: () => import("./campaign-create-
|
|
604
|
+
lazy: () => import("./campaign-create-GI44VXL5.js")
|
|
635
605
|
},
|
|
636
606
|
{
|
|
637
607
|
path: ":id",
|
|
638
608
|
lazy: async () => {
|
|
639
|
-
const { Breadcrumb, loader } = await import("./campaign-detail-
|
|
609
|
+
const { Breadcrumb, loader } = await import("./campaign-detail-WDXCECLJ.js");
|
|
640
610
|
return {
|
|
641
611
|
Component: Outlet3,
|
|
642
612
|
loader: withPermission(loader, "campaigns:view"),
|
|
643
613
|
handle: {
|
|
644
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
614
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
645
615
|
}
|
|
646
616
|
};
|
|
647
617
|
},
|
|
648
618
|
children: [
|
|
649
619
|
{
|
|
650
620
|
path: "",
|
|
651
|
-
lazy: () => import("./campaign-detail-
|
|
621
|
+
lazy: () => import("./campaign-detail-WDXCECLJ.js").then(withLoaderPermission("campaigns:view")),
|
|
652
622
|
children: [
|
|
653
623
|
{
|
|
654
624
|
path: "edit",
|
|
655
625
|
handle: { permissions: "campaigns:edit" },
|
|
656
|
-
lazy: () => import("./campaign-edit-
|
|
626
|
+
lazy: () => import("./campaign-edit-YIGWVRGP.js")
|
|
657
627
|
},
|
|
658
628
|
{
|
|
659
629
|
path: "configuration",
|
|
660
630
|
handle: { permissions: "campaigns:edit" },
|
|
661
|
-
lazy: () => import("./campaign-configuration-
|
|
631
|
+
lazy: () => import("./campaign-configuration-WDDM7RZ2.js")
|
|
662
632
|
},
|
|
663
633
|
{
|
|
664
634
|
path: "edit-budget",
|
|
665
635
|
handle: { permissions: "campaigns:edit" },
|
|
666
|
-
lazy: () => import("./campaign-budget-edit-
|
|
636
|
+
lazy: () => import("./campaign-budget-edit-JFWPF2NO.js")
|
|
667
637
|
},
|
|
668
638
|
{
|
|
669
639
|
path: "add-promotions",
|
|
670
640
|
handle: { permissions: ["campaigns:edit", "promotions:view"] },
|
|
671
|
-
lazy: () => import("./add-campaign-promotions-
|
|
641
|
+
lazy: () => import("./add-campaign-promotions-I2RE2TFI.js")
|
|
672
642
|
}
|
|
673
643
|
]
|
|
674
644
|
}
|
|
@@ -678,7 +648,7 @@ function getRouteMap({
|
|
|
678
648
|
},
|
|
679
649
|
{
|
|
680
650
|
path: "/reviews",
|
|
681
|
-
errorElement: /* @__PURE__ */
|
|
651
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
682
652
|
handle: {
|
|
683
653
|
breadcrumb: () => t("reviews.domain"),
|
|
684
654
|
permissions: "reviews:view"
|
|
@@ -686,7 +656,7 @@ function getRouteMap({
|
|
|
686
656
|
children: [
|
|
687
657
|
{
|
|
688
658
|
path: "",
|
|
689
|
-
lazy: () => import("./review-list-
|
|
659
|
+
lazy: () => import("./review-list-PR4KAUEG.js"),
|
|
690
660
|
children: []
|
|
691
661
|
},
|
|
692
662
|
{
|
|
@@ -697,7 +667,7 @@ function getRouteMap({
|
|
|
697
667
|
Component: Outlet3,
|
|
698
668
|
loader: withPermission(loader, "reviews:view"),
|
|
699
669
|
handle: {
|
|
700
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
670
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
701
671
|
}
|
|
702
672
|
};
|
|
703
673
|
},
|
|
@@ -724,7 +694,7 @@ function getRouteMap({
|
|
|
724
694
|
},
|
|
725
695
|
{
|
|
726
696
|
path: "/collections",
|
|
727
|
-
errorElement: /* @__PURE__ */
|
|
697
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
728
698
|
handle: {
|
|
729
699
|
breadcrumb: () => t("collections.domain"),
|
|
730
700
|
permissions: "product_collections:view"
|
|
@@ -732,56 +702,56 @@ function getRouteMap({
|
|
|
732
702
|
children: [
|
|
733
703
|
{
|
|
734
704
|
path: "",
|
|
735
|
-
lazy: () => import("./collection-list-
|
|
705
|
+
lazy: () => import("./collection-list-7LTCCKRK.js"),
|
|
736
706
|
children: [
|
|
737
707
|
{
|
|
738
708
|
path: "create",
|
|
739
709
|
handle: { permissions: "product_collections:edit" },
|
|
740
|
-
lazy: () => import("./collection-create-
|
|
710
|
+
lazy: () => import("./collection-create-OFAKZT3H.js")
|
|
741
711
|
}
|
|
742
712
|
]
|
|
743
713
|
},
|
|
744
714
|
{
|
|
745
715
|
path: ":id",
|
|
746
716
|
lazy: async () => {
|
|
747
|
-
const { Breadcrumb, loader } = await import("./collection-detail-
|
|
717
|
+
const { Breadcrumb, loader } = await import("./collection-detail-NBOFITIU.js");
|
|
748
718
|
return {
|
|
749
719
|
Component: Outlet3,
|
|
750
720
|
loader: withPermission(loader, "product_collections:view"),
|
|
751
721
|
handle: {
|
|
752
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
722
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
753
723
|
}
|
|
754
724
|
};
|
|
755
725
|
},
|
|
756
726
|
children: [
|
|
757
727
|
{
|
|
758
728
|
path: "",
|
|
759
|
-
lazy: () => import("./collection-detail-
|
|
729
|
+
lazy: () => import("./collection-detail-NBOFITIU.js").then(withLoaderPermission("product_collections:view")),
|
|
760
730
|
children: [
|
|
761
731
|
{
|
|
762
732
|
path: "edit",
|
|
763
733
|
handle: { permissions: "product_collections:edit" },
|
|
764
|
-
lazy: () => import("./collection-edit-
|
|
734
|
+
lazy: () => import("./collection-edit-VVUKOHZO.js")
|
|
765
735
|
},
|
|
766
736
|
{
|
|
767
737
|
path: "media",
|
|
768
738
|
handle: { permissions: "product_collections:edit" },
|
|
769
|
-
lazy: () => import("./collection-media-
|
|
739
|
+
lazy: () => import("./collection-media-SW6O54X5.js")
|
|
770
740
|
},
|
|
771
741
|
{
|
|
772
742
|
path: "icon/edit",
|
|
773
743
|
handle: { permissions: "product_collections:edit" },
|
|
774
|
-
lazy: () => import("./collection-icon-edit-
|
|
744
|
+
lazy: () => import("./collection-icon-edit-ZEOV47DV.js")
|
|
775
745
|
},
|
|
776
746
|
{
|
|
777
747
|
path: "products",
|
|
778
748
|
handle: { permissions: ["product_collections:edit", "products:view"] },
|
|
779
|
-
lazy: () => import("./collection-add-products-
|
|
749
|
+
lazy: () => import("./collection-add-products-QF4ODQKF.js")
|
|
780
750
|
},
|
|
781
751
|
{
|
|
782
752
|
path: "metadata/edit",
|
|
783
753
|
handle: { permissions: "product_collections:edit" },
|
|
784
|
-
lazy: () => import("./collection-metadata-
|
|
754
|
+
lazy: () => import("./collection-metadata-BZSIYBDF.js")
|
|
785
755
|
}
|
|
786
756
|
]
|
|
787
757
|
}
|
|
@@ -791,7 +761,7 @@ function getRouteMap({
|
|
|
791
761
|
},
|
|
792
762
|
{
|
|
793
763
|
path: "/price-lists",
|
|
794
|
-
errorElement: /* @__PURE__ */
|
|
764
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
795
765
|
handle: {
|
|
796
766
|
breadcrumb: () => t("priceLists.domain"),
|
|
797
767
|
permissions: "price_lists:view"
|
|
@@ -799,56 +769,56 @@ function getRouteMap({
|
|
|
799
769
|
children: [
|
|
800
770
|
{
|
|
801
771
|
path: "",
|
|
802
|
-
lazy: () => import("./price-list-list-
|
|
772
|
+
lazy: () => import("./price-list-list-HTAI5DW4.js"),
|
|
803
773
|
children: [
|
|
804
774
|
{
|
|
805
775
|
path: "create",
|
|
806
776
|
handle: { permissions: "price_lists:edit" },
|
|
807
|
-
lazy: () => import("./price-list-create-
|
|
777
|
+
lazy: () => import("./price-list-create-DKIPNI7N.js")
|
|
808
778
|
}
|
|
809
779
|
]
|
|
810
780
|
},
|
|
811
781
|
{
|
|
812
782
|
path: ":id",
|
|
813
783
|
lazy: async () => {
|
|
814
|
-
const { Breadcrumb, loader } = await import("./price-list-detail-
|
|
784
|
+
const { Breadcrumb, loader } = await import("./price-list-detail-24JSV6DP.js");
|
|
815
785
|
return {
|
|
816
786
|
Component: Outlet3,
|
|
817
787
|
loader: withPermission(loader, "price_lists:view"),
|
|
818
788
|
handle: {
|
|
819
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
789
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
820
790
|
}
|
|
821
791
|
};
|
|
822
792
|
},
|
|
823
793
|
children: [
|
|
824
794
|
{
|
|
825
795
|
path: "",
|
|
826
|
-
lazy: () => import("./price-list-detail-
|
|
796
|
+
lazy: () => import("./price-list-detail-24JSV6DP.js").then(withLoaderPermission("price_lists:view")),
|
|
827
797
|
children: [
|
|
828
798
|
{
|
|
829
799
|
path: "edit",
|
|
830
800
|
handle: { permissions: "price_lists:edit" },
|
|
831
|
-
lazy: () => import("./price-list-edit-
|
|
801
|
+
lazy: () => import("./price-list-edit-HTL5XNKZ.js")
|
|
832
802
|
},
|
|
833
803
|
{
|
|
834
804
|
path: "configuration",
|
|
835
805
|
handle: { permissions: "price_lists:edit" },
|
|
836
|
-
lazy: () => import("./price-list-configuration-
|
|
806
|
+
lazy: () => import("./price-list-configuration-OT3FSLYS.js")
|
|
837
807
|
},
|
|
838
808
|
{
|
|
839
809
|
path: "customer-availability",
|
|
840
810
|
handle: { permissions: "price_lists:edit" },
|
|
841
|
-
lazy: () => import("./price-list-customer-availability-
|
|
811
|
+
lazy: () => import("./price-list-customer-availability-W5MPRJAP.js")
|
|
842
812
|
},
|
|
843
813
|
{
|
|
844
814
|
path: "products/add",
|
|
845
815
|
handle: { permissions: "price_lists:edit" },
|
|
846
|
-
lazy: () => import("./price-list-prices-add-
|
|
816
|
+
lazy: () => import("./price-list-prices-add-H4U7R42B.js")
|
|
847
817
|
},
|
|
848
818
|
{
|
|
849
819
|
path: "products/edit",
|
|
850
820
|
handle: { permissions: "price_lists:edit" },
|
|
851
|
-
lazy: () => import("./price-list-prices-edit-
|
|
821
|
+
lazy: () => import("./price-list-prices-edit-6PXRI6VE.js")
|
|
852
822
|
}
|
|
853
823
|
]
|
|
854
824
|
}
|
|
@@ -858,7 +828,7 @@ function getRouteMap({
|
|
|
858
828
|
},
|
|
859
829
|
{
|
|
860
830
|
path: "/customers",
|
|
861
|
-
errorElement: /* @__PURE__ */
|
|
831
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
862
832
|
handle: {
|
|
863
833
|
breadcrumb: () => t("customers.domain"),
|
|
864
834
|
permissions: "customers:view"
|
|
@@ -866,61 +836,61 @@ function getRouteMap({
|
|
|
866
836
|
children: [
|
|
867
837
|
{
|
|
868
838
|
path: "",
|
|
869
|
-
lazy: () => import("./customer-list-
|
|
839
|
+
lazy: () => import("./customer-list-NAWGRWW3.js"),
|
|
870
840
|
children: [
|
|
871
841
|
{
|
|
872
842
|
path: "create",
|
|
873
843
|
handle: { permissions: "customers:edit" },
|
|
874
|
-
lazy: () => import("./customer-create-
|
|
844
|
+
lazy: () => import("./customer-create-XAXPKUME.js")
|
|
875
845
|
}
|
|
876
846
|
]
|
|
877
847
|
},
|
|
878
848
|
{
|
|
879
849
|
path: ":id",
|
|
880
850
|
lazy: async () => {
|
|
881
|
-
const { Breadcrumb, loader } = await import("./customer-detail-
|
|
851
|
+
const { Breadcrumb, loader } = await import("./customer-detail-QVCK3IQG.js");
|
|
882
852
|
return {
|
|
883
853
|
Component: Outlet3,
|
|
884
854
|
loader: withPermission(loader, "customers:view"),
|
|
885
855
|
handle: {
|
|
886
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
856
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
887
857
|
}
|
|
888
858
|
};
|
|
889
859
|
},
|
|
890
860
|
children: [
|
|
891
861
|
{
|
|
892
862
|
path: "",
|
|
893
|
-
lazy: () => import("./customer-detail-
|
|
863
|
+
lazy: () => import("./customer-detail-QVCK3IQG.js").then(withLoaderPermission("customers:view")),
|
|
894
864
|
children: [
|
|
895
865
|
{
|
|
896
866
|
path: "edit",
|
|
897
867
|
handle: { permissions: "customers:edit" },
|
|
898
|
-
lazy: () => import("./customer-edit-
|
|
868
|
+
lazy: () => import("./customer-edit-I7P7LOHG.js")
|
|
899
869
|
},
|
|
900
870
|
{
|
|
901
871
|
path: "create-address",
|
|
902
872
|
handle: { permissions: "customers:edit" },
|
|
903
|
-
lazy: () => import("./customer-create-address-
|
|
873
|
+
lazy: () => import("./customer-create-address-DK7B6UQG.js")
|
|
904
874
|
},
|
|
905
875
|
{
|
|
906
876
|
path: "edit-address/:address_id",
|
|
907
877
|
handle: { permissions: "customers:edit" },
|
|
908
|
-
lazy: () => import("./customer-edit-address-
|
|
878
|
+
lazy: () => import("./customer-edit-address-Z3ITANMQ.js")
|
|
909
879
|
},
|
|
910
880
|
{
|
|
911
881
|
path: "add-customer-groups",
|
|
912
882
|
handle: { permissions: ["customers:edit", "customer_groups:view"] },
|
|
913
|
-
lazy: () => import("./customers-add-customer-group-
|
|
883
|
+
lazy: () => import("./customers-add-customer-group-BHXFYVLH.js")
|
|
914
884
|
},
|
|
915
885
|
{
|
|
916
886
|
path: ":order_id/transfer",
|
|
917
887
|
handle: { permissions: "orders:edit" },
|
|
918
|
-
lazy: () => import("./order-request-transfer-
|
|
888
|
+
lazy: () => import("./order-request-transfer-Y3DJEWCH.js")
|
|
919
889
|
},
|
|
920
890
|
{
|
|
921
891
|
path: "metadata/edit",
|
|
922
892
|
handle: { permissions: "customers:edit" },
|
|
923
|
-
lazy: () => import("./customer-metadata-
|
|
893
|
+
lazy: () => import("./customer-metadata-SAW62KGI.js")
|
|
924
894
|
}
|
|
925
895
|
]
|
|
926
896
|
}
|
|
@@ -930,7 +900,7 @@ function getRouteMap({
|
|
|
930
900
|
},
|
|
931
901
|
{
|
|
932
902
|
path: "/customer-groups",
|
|
933
|
-
errorElement: /* @__PURE__ */
|
|
903
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
934
904
|
handle: {
|
|
935
905
|
breadcrumb: () => t("customerGroups.domain"),
|
|
936
906
|
permissions: "customer_groups:view"
|
|
@@ -938,46 +908,46 @@ function getRouteMap({
|
|
|
938
908
|
children: [
|
|
939
909
|
{
|
|
940
910
|
path: "",
|
|
941
|
-
lazy: () => import("./customer-group-list-
|
|
911
|
+
lazy: () => import("./customer-group-list-PUUJ7MM2.js"),
|
|
942
912
|
children: [
|
|
943
913
|
{
|
|
944
914
|
path: "create",
|
|
945
915
|
handle: { permissions: "customer_groups:edit" },
|
|
946
|
-
lazy: () => import("./customer-group-create-
|
|
916
|
+
lazy: () => import("./customer-group-create-F4UVX2LS.js")
|
|
947
917
|
}
|
|
948
918
|
]
|
|
949
919
|
},
|
|
950
920
|
{
|
|
951
921
|
path: ":id",
|
|
952
922
|
lazy: async () => {
|
|
953
|
-
const { Breadcrumb, loader } = await import("./customer-group-detail-
|
|
923
|
+
const { Breadcrumb, loader } = await import("./customer-group-detail-I2JJM7DG.js");
|
|
954
924
|
return {
|
|
955
925
|
Component: Outlet3,
|
|
956
926
|
loader: withPermission(loader, "customer_groups:view"),
|
|
957
927
|
handle: {
|
|
958
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
928
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
959
929
|
}
|
|
960
930
|
};
|
|
961
931
|
},
|
|
962
932
|
children: [
|
|
963
933
|
{
|
|
964
934
|
path: "",
|
|
965
|
-
lazy: () => import("./customer-group-detail-
|
|
935
|
+
lazy: () => import("./customer-group-detail-I2JJM7DG.js").then(withLoaderPermission("customer_groups:view")),
|
|
966
936
|
children: [
|
|
967
937
|
{
|
|
968
938
|
path: "edit",
|
|
969
939
|
handle: { permissions: "customer_groups:edit" },
|
|
970
|
-
lazy: () => import("./customer-group-edit-
|
|
940
|
+
lazy: () => import("./customer-group-edit-6YA2JKV5.js")
|
|
971
941
|
},
|
|
972
942
|
{
|
|
973
943
|
path: "add-customers",
|
|
974
944
|
handle: { permissions: ["customer_groups:edit", "customers:view"] },
|
|
975
|
-
lazy: () => import("./customer-group-add-customers-
|
|
945
|
+
lazy: () => import("./customer-group-add-customers-OIRQOJFT.js")
|
|
976
946
|
},
|
|
977
947
|
{
|
|
978
948
|
path: "metadata/edit",
|
|
979
949
|
handle: { permissions: "customer_groups:edit" },
|
|
980
|
-
lazy: () => import("./customer-group-metadata-
|
|
950
|
+
lazy: () => import("./customer-group-metadata-XXOBH3L2.js")
|
|
981
951
|
}
|
|
982
952
|
]
|
|
983
953
|
}
|
|
@@ -987,7 +957,7 @@ function getRouteMap({
|
|
|
987
957
|
},
|
|
988
958
|
{
|
|
989
959
|
path: "/stores",
|
|
990
|
-
errorElement: /* @__PURE__ */
|
|
960
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
991
961
|
handle: {
|
|
992
962
|
breadcrumb: () => t("stores.domain"),
|
|
993
963
|
permissions: "sellers:view"
|
|
@@ -995,70 +965,70 @@ function getRouteMap({
|
|
|
995
965
|
children: [
|
|
996
966
|
{
|
|
997
967
|
path: "",
|
|
998
|
-
lazy: () => import("./store-list-
|
|
968
|
+
lazy: () => import("./store-list-RKHROB2P.js"),
|
|
999
969
|
children: [
|
|
1000
970
|
{
|
|
1001
971
|
path: "create",
|
|
1002
972
|
handle: { permissions: "sellers:edit" },
|
|
1003
|
-
lazy: () => import("./store-create-
|
|
973
|
+
lazy: () => import("./store-create-FDBL3NJ5.js")
|
|
1004
974
|
},
|
|
1005
975
|
{
|
|
1006
976
|
path: "bulk-edit",
|
|
1007
977
|
handle: { permissions: "sellers:edit" },
|
|
1008
|
-
lazy: () => import("./store-bulk-edit-
|
|
978
|
+
lazy: () => import("./store-bulk-edit-26DGX4KW.js")
|
|
1009
979
|
}
|
|
1010
980
|
]
|
|
1011
981
|
},
|
|
1012
982
|
{
|
|
1013
983
|
path: ":id",
|
|
1014
984
|
lazy: async () => {
|
|
1015
|
-
const { Breadcrumb } = await import("./store-details-
|
|
985
|
+
const { Breadcrumb } = await import("./store-details-N7LSB242.js");
|
|
1016
986
|
return {
|
|
1017
987
|
Component: Outlet3,
|
|
1018
988
|
handle: {
|
|
1019
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
989
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1020
990
|
}
|
|
1021
991
|
};
|
|
1022
992
|
},
|
|
1023
993
|
children: [
|
|
1024
994
|
{
|
|
1025
995
|
path: "",
|
|
1026
|
-
lazy: () => import("./store-details-
|
|
996
|
+
lazy: () => import("./store-details-N7LSB242.js").then(withLoaderPermission("sellers:view")),
|
|
1027
997
|
children: [
|
|
1028
998
|
{
|
|
1029
999
|
path: "edit",
|
|
1030
1000
|
handle: { permissions: "sellers:edit" },
|
|
1031
|
-
lazy: () => import("./store-edit-
|
|
1001
|
+
lazy: () => import("./store-edit-6G62NLNK.js")
|
|
1032
1002
|
},
|
|
1033
1003
|
{
|
|
1034
1004
|
path: "edit-address",
|
|
1035
1005
|
handle: { permissions: "sellers:edit" },
|
|
1036
|
-
lazy: () => import("./store-address-edit-
|
|
1006
|
+
lazy: () => import("./store-address-edit-BWDVQ4AO.js")
|
|
1037
1007
|
},
|
|
1038
1008
|
{
|
|
1039
1009
|
path: "professional-details",
|
|
1040
1010
|
handle: { permissions: "sellers:edit" },
|
|
1041
|
-
lazy: () => import("./store-professional-details-edit-
|
|
1011
|
+
lazy: () => import("./store-professional-details-edit-QRB6EBTP.js")
|
|
1042
1012
|
},
|
|
1043
1013
|
{
|
|
1044
1014
|
path: "payment-details",
|
|
1045
1015
|
handle: { permissions: "sellers:edit" },
|
|
1046
|
-
lazy: () => import("./store-payment-details-edit-
|
|
1016
|
+
lazy: () => import("./store-payment-details-edit-RQNDJCYW.js")
|
|
1047
1017
|
},
|
|
1048
1018
|
{
|
|
1049
1019
|
path: "store-closure",
|
|
1050
1020
|
handle: { permissions: "sellers:edit" },
|
|
1051
|
-
lazy: () => import("./store-closure-edit-
|
|
1021
|
+
lazy: () => import("./store-closure-edit-7SUR4F2K.js")
|
|
1052
1022
|
},
|
|
1053
1023
|
{
|
|
1054
1024
|
path: "invite",
|
|
1055
1025
|
handle: { permissions: "members.invites:edit" },
|
|
1056
|
-
lazy: () => import("./store-member-invite-
|
|
1026
|
+
lazy: () => import("./store-member-invite-KHZD23MS.js")
|
|
1057
1027
|
},
|
|
1058
1028
|
{
|
|
1059
1029
|
path: "regions/add",
|
|
1060
1030
|
handle: { permissions: "sellers:edit" },
|
|
1061
|
-
lazy: () => import("./store-add-regions-
|
|
1031
|
+
lazy: () => import("./store-add-regions-EOGPCBH4.js")
|
|
1062
1032
|
}
|
|
1063
1033
|
]
|
|
1064
1034
|
}
|
|
@@ -1068,7 +1038,7 @@ function getRouteMap({
|
|
|
1068
1038
|
},
|
|
1069
1039
|
{
|
|
1070
1040
|
path: "/payouts",
|
|
1071
|
-
errorElement: /* @__PURE__ */
|
|
1041
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1072
1042
|
handle: {
|
|
1073
1043
|
breadcrumb: () => "Payouts",
|
|
1074
1044
|
permissions: "payouts:view"
|
|
@@ -1076,24 +1046,24 @@ function getRouteMap({
|
|
|
1076
1046
|
children: [
|
|
1077
1047
|
{
|
|
1078
1048
|
path: "",
|
|
1079
|
-
lazy: () => import("./payout-list-
|
|
1049
|
+
lazy: () => import("./payout-list-LMWL45PW.js")
|
|
1080
1050
|
},
|
|
1081
1051
|
{
|
|
1082
1052
|
path: ":id",
|
|
1083
1053
|
lazy: async () => {
|
|
1084
|
-
const { Breadcrumb, loader } = await import("./payout-detail-
|
|
1054
|
+
const { Breadcrumb, loader } = await import("./payout-detail-TLN5EW23.js");
|
|
1085
1055
|
return {
|
|
1086
1056
|
Component: Outlet3,
|
|
1087
1057
|
loader: withPermission(loader, "payouts:view"),
|
|
1088
1058
|
handle: {
|
|
1089
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1059
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1090
1060
|
}
|
|
1091
1061
|
};
|
|
1092
1062
|
},
|
|
1093
1063
|
children: [
|
|
1094
1064
|
{
|
|
1095
1065
|
path: "",
|
|
1096
|
-
lazy: () => import("./payout-detail-
|
|
1066
|
+
lazy: () => import("./payout-detail-TLN5EW23.js").then(withLoaderPermission("payouts:view"))
|
|
1097
1067
|
}
|
|
1098
1068
|
]
|
|
1099
1069
|
}
|
|
@@ -1101,7 +1071,7 @@ function getRouteMap({
|
|
|
1101
1071
|
},
|
|
1102
1072
|
{
|
|
1103
1073
|
path: "/payout-accounts",
|
|
1104
|
-
errorElement: /* @__PURE__ */
|
|
1074
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1105
1075
|
handle: {
|
|
1106
1076
|
breadcrumb: () => t("payoutAccounts.domain"),
|
|
1107
1077
|
permissions: "payouts:view"
|
|
@@ -1109,24 +1079,24 @@ function getRouteMap({
|
|
|
1109
1079
|
children: [
|
|
1110
1080
|
{
|
|
1111
1081
|
path: "",
|
|
1112
|
-
lazy: () => import("./payout-account-list-
|
|
1082
|
+
lazy: () => import("./payout-account-list-RQNRNFIV.js")
|
|
1113
1083
|
},
|
|
1114
1084
|
{
|
|
1115
1085
|
path: ":id",
|
|
1116
1086
|
lazy: async () => {
|
|
1117
|
-
const { Breadcrumb, loader } = await import("./payout-account-detail-
|
|
1087
|
+
const { Breadcrumb, loader } = await import("./payout-account-detail-MHGZZIRD.js");
|
|
1118
1088
|
return {
|
|
1119
1089
|
Component: Outlet3,
|
|
1120
1090
|
loader: withPermission(loader, "payouts:view"),
|
|
1121
1091
|
handle: {
|
|
1122
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1092
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1123
1093
|
}
|
|
1124
1094
|
};
|
|
1125
1095
|
},
|
|
1126
1096
|
children: [
|
|
1127
1097
|
{
|
|
1128
1098
|
path: "",
|
|
1129
|
-
lazy: () => import("./payout-account-detail-
|
|
1099
|
+
lazy: () => import("./payout-account-detail-MHGZZIRD.js").then(withLoaderPermission("payouts:view"))
|
|
1130
1100
|
}
|
|
1131
1101
|
]
|
|
1132
1102
|
}
|
|
@@ -1134,7 +1104,7 @@ function getRouteMap({
|
|
|
1134
1104
|
},
|
|
1135
1105
|
{
|
|
1136
1106
|
path: "/reservations",
|
|
1137
|
-
errorElement: /* @__PURE__ */
|
|
1107
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1138
1108
|
handle: {
|
|
1139
1109
|
breadcrumb: () => t("reservations.domain"),
|
|
1140
1110
|
permissions: "reservations:view"
|
|
@@ -1142,41 +1112,41 @@ function getRouteMap({
|
|
|
1142
1112
|
children: [
|
|
1143
1113
|
{
|
|
1144
1114
|
path: "",
|
|
1145
|
-
lazy: () => import("./reservation-list-
|
|
1115
|
+
lazy: () => import("./reservation-list-MK6AFJ5N.js"),
|
|
1146
1116
|
children: [
|
|
1147
1117
|
{
|
|
1148
1118
|
path: "create",
|
|
1149
1119
|
handle: { permissions: "reservations:edit" },
|
|
1150
|
-
lazy: () => import("./reservation-create-
|
|
1120
|
+
lazy: () => import("./reservation-create-M7U5YGMU.js")
|
|
1151
1121
|
}
|
|
1152
1122
|
]
|
|
1153
1123
|
},
|
|
1154
1124
|
{
|
|
1155
1125
|
path: ":id",
|
|
1156
1126
|
lazy: async () => {
|
|
1157
|
-
const { Breadcrumb, loader } = await import("./reservation-detail-
|
|
1127
|
+
const { Breadcrumb, loader } = await import("./reservation-detail-UW76ZPR4.js");
|
|
1158
1128
|
return {
|
|
1159
1129
|
Component: Outlet3,
|
|
1160
1130
|
loader: withPermission(loader, "reservations:view"),
|
|
1161
1131
|
handle: {
|
|
1162
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1132
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1163
1133
|
}
|
|
1164
1134
|
};
|
|
1165
1135
|
},
|
|
1166
1136
|
children: [
|
|
1167
1137
|
{
|
|
1168
1138
|
path: "",
|
|
1169
|
-
lazy: () => import("./reservation-detail-
|
|
1139
|
+
lazy: () => import("./reservation-detail-UW76ZPR4.js").then(withLoaderPermission("reservations:view")),
|
|
1170
1140
|
children: [
|
|
1171
1141
|
{
|
|
1172
1142
|
path: "edit",
|
|
1173
1143
|
handle: { permissions: "reservations:edit" },
|
|
1174
|
-
lazy: () => import("./edit-reservation-
|
|
1144
|
+
lazy: () => import("./edit-reservation-7XALDPYA.js")
|
|
1175
1145
|
},
|
|
1176
1146
|
{
|
|
1177
1147
|
path: "metadata/edit",
|
|
1178
1148
|
handle: { permissions: "reservations:edit" },
|
|
1179
|
-
lazy: () => import("./reservation-metadata-
|
|
1149
|
+
lazy: () => import("./reservation-metadata-RWKUHPTL.js")
|
|
1180
1150
|
}
|
|
1181
1151
|
]
|
|
1182
1152
|
}
|
|
@@ -1186,7 +1156,7 @@ function getRouteMap({
|
|
|
1186
1156
|
},
|
|
1187
1157
|
{
|
|
1188
1158
|
path: "/offers",
|
|
1189
|
-
errorElement: /* @__PURE__ */
|
|
1159
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1190
1160
|
handle: {
|
|
1191
1161
|
breadcrumb: () => t("offers.domain"),
|
|
1192
1162
|
permissions: ["offers:view", "products:view"]
|
|
@@ -1195,20 +1165,20 @@ function getRouteMap({
|
|
|
1195
1165
|
{
|
|
1196
1166
|
path: "",
|
|
1197
1167
|
lazy: async () => {
|
|
1198
|
-
const { OfferListPage } = await import("./offers-
|
|
1168
|
+
const { OfferListPage } = await import("./offers-EPZHPNYY.js");
|
|
1199
1169
|
return { Component: OfferListPage };
|
|
1200
1170
|
}
|
|
1201
1171
|
},
|
|
1202
1172
|
{
|
|
1203
1173
|
path: ":id",
|
|
1204
1174
|
lazy: async () => {
|
|
1205
|
-
const { loader } = await import("./loader-
|
|
1206
|
-
const { Breadcrumb } = await import("./breadcrumb-
|
|
1175
|
+
const { loader } = await import("./loader-HZFVOO6G.js");
|
|
1176
|
+
const { Breadcrumb } = await import("./breadcrumb-5WEYNHQL.js");
|
|
1207
1177
|
return {
|
|
1208
1178
|
Component: Outlet3,
|
|
1209
1179
|
loader: withPermission(loader, ["offers:view", "products:view"]),
|
|
1210
1180
|
handle: {
|
|
1211
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1181
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1212
1182
|
}
|
|
1213
1183
|
};
|
|
1214
1184
|
},
|
|
@@ -1216,7 +1186,7 @@ function getRouteMap({
|
|
|
1216
1186
|
{
|
|
1217
1187
|
path: "",
|
|
1218
1188
|
lazy: async () => {
|
|
1219
|
-
const { OfferDetailPage } = await import("./offer-detail-page-
|
|
1189
|
+
const { OfferDetailPage } = await import("./offer-detail-page-KBX4DEFJ.js");
|
|
1220
1190
|
return { Component: OfferDetailPage };
|
|
1221
1191
|
}
|
|
1222
1192
|
},
|
|
@@ -1229,7 +1199,7 @@ function getRouteMap({
|
|
|
1229
1199
|
Component: Outlet3,
|
|
1230
1200
|
loader: withPermission(loader, ["offers:view", "products:view"]),
|
|
1231
1201
|
handle: {
|
|
1232
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1202
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1233
1203
|
}
|
|
1234
1204
|
};
|
|
1235
1205
|
},
|
|
@@ -1237,7 +1207,7 @@ function getRouteMap({
|
|
|
1237
1207
|
{
|
|
1238
1208
|
path: "",
|
|
1239
1209
|
lazy: async () => {
|
|
1240
|
-
const { OfferVariantDetailPage } = await import("./offer-variant-detail-page-
|
|
1210
|
+
const { OfferVariantDetailPage } = await import("./offer-variant-detail-page-TNNLDDNI.js");
|
|
1241
1211
|
return { Component: OfferVariantDetailPage };
|
|
1242
1212
|
}
|
|
1243
1213
|
}
|
|
@@ -1249,7 +1219,7 @@ function getRouteMap({
|
|
|
1249
1219
|
},
|
|
1250
1220
|
{
|
|
1251
1221
|
path: "/inventory",
|
|
1252
|
-
errorElement: /* @__PURE__ */
|
|
1222
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1253
1223
|
handle: {
|
|
1254
1224
|
breadcrumb: () => t("inventory.domain"),
|
|
1255
1225
|
permissions: "inventory_items:view"
|
|
@@ -1257,56 +1227,56 @@ function getRouteMap({
|
|
|
1257
1227
|
children: [
|
|
1258
1228
|
{
|
|
1259
1229
|
path: "",
|
|
1260
|
-
lazy: () => import("./inventory-list-
|
|
1230
|
+
lazy: () => import("./inventory-list-DPV4VMBB.js"),
|
|
1261
1231
|
children: [
|
|
1262
1232
|
{
|
|
1263
1233
|
path: "stock",
|
|
1264
1234
|
handle: { permissions: ["inventory_items:edit", "stock_locations:view"] },
|
|
1265
|
-
lazy: () => import("./inventory-stock-
|
|
1235
|
+
lazy: () => import("./inventory-stock-BN4RQN34.js")
|
|
1266
1236
|
}
|
|
1267
1237
|
]
|
|
1268
1238
|
},
|
|
1269
1239
|
{
|
|
1270
1240
|
path: ":id",
|
|
1271
1241
|
lazy: async () => {
|
|
1272
|
-
const { Breadcrumb, loader } = await import("./inventory-detail-
|
|
1242
|
+
const { Breadcrumb, loader } = await import("./inventory-detail-OXM2U25Q.js");
|
|
1273
1243
|
return {
|
|
1274
1244
|
Component: Outlet3,
|
|
1275
1245
|
loader: withPermission(loader, "inventory_items:view"),
|
|
1276
1246
|
handle: {
|
|
1277
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1247
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1278
1248
|
}
|
|
1279
1249
|
};
|
|
1280
1250
|
},
|
|
1281
1251
|
children: [
|
|
1282
1252
|
{
|
|
1283
1253
|
path: "",
|
|
1284
|
-
lazy: () => import("./inventory-detail-
|
|
1254
|
+
lazy: () => import("./inventory-detail-OXM2U25Q.js").then(withLoaderPermission("inventory_items:view")),
|
|
1285
1255
|
children: [
|
|
1286
1256
|
{
|
|
1287
1257
|
path: "edit",
|
|
1288
1258
|
handle: { permissions: "inventory_items:edit" },
|
|
1289
|
-
lazy: () => import("./edit-inventory-item-
|
|
1259
|
+
lazy: () => import("./edit-inventory-item-2DLVVIJ4.js")
|
|
1290
1260
|
},
|
|
1291
1261
|
{
|
|
1292
1262
|
path: "attributes",
|
|
1293
1263
|
handle: { permissions: "inventory_items:edit" },
|
|
1294
|
-
lazy: () => import("./edit-inventory-item-attributes-
|
|
1264
|
+
lazy: () => import("./edit-inventory-item-attributes-RQZEKOXP.js")
|
|
1295
1265
|
},
|
|
1296
1266
|
{
|
|
1297
1267
|
path: "metadata/edit",
|
|
1298
1268
|
handle: { permissions: "inventory_items:edit" },
|
|
1299
|
-
lazy: () => import("./inventory-metadata-
|
|
1269
|
+
lazy: () => import("./inventory-metadata-4NHI7KVC.js")
|
|
1300
1270
|
},
|
|
1301
1271
|
{
|
|
1302
1272
|
path: "locations",
|
|
1303
1273
|
handle: { permissions: ["inventory_items:edit", "stock_locations:view"] },
|
|
1304
|
-
lazy: () => import("./manage-locations-
|
|
1274
|
+
lazy: () => import("./manage-locations-AWAF7NHT.js")
|
|
1305
1275
|
},
|
|
1306
1276
|
{
|
|
1307
1277
|
path: "locations/:location_id",
|
|
1308
1278
|
handle: { permissions: "inventory_items:edit" },
|
|
1309
|
-
lazy: () => import("./adjust-inventory-
|
|
1279
|
+
lazy: () => import("./adjust-inventory-HCWOMJAV.js")
|
|
1310
1280
|
}
|
|
1311
1281
|
]
|
|
1312
1282
|
}
|
|
@@ -1323,40 +1293,40 @@ function getRouteMap({
|
|
|
1323
1293
|
]
|
|
1324
1294
|
},
|
|
1325
1295
|
{
|
|
1326
|
-
element: /* @__PURE__ */
|
|
1327
|
-
errorElement: /* @__PURE__ */
|
|
1296
|
+
element: /* @__PURE__ */ jsx3(ProtectedRoute, {}),
|
|
1297
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1328
1298
|
children: [
|
|
1329
1299
|
{
|
|
1330
1300
|
path: "/settings",
|
|
1331
1301
|
handle: {
|
|
1332
1302
|
breadcrumb: () => t("app.nav.settings.header")
|
|
1333
1303
|
},
|
|
1334
|
-
element: /* @__PURE__ */
|
|
1304
|
+
element: /* @__PURE__ */ jsx3(SettingsLayout, {}),
|
|
1335
1305
|
children: [
|
|
1336
1306
|
{
|
|
1337
|
-
element: /* @__PURE__ */
|
|
1307
|
+
element: /* @__PURE__ */ jsx3(RoutePermissionGuard, {}),
|
|
1338
1308
|
children: mergeRoutes(
|
|
1339
1309
|
[
|
|
1340
1310
|
{
|
|
1341
1311
|
index: true,
|
|
1342
|
-
errorElement: /* @__PURE__ */
|
|
1343
|
-
lazy: () => import("./settings-
|
|
1312
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1313
|
+
lazy: () => import("./settings-BYCHWQZP.js")
|
|
1344
1314
|
},
|
|
1345
1315
|
{
|
|
1346
1316
|
path: "profile",
|
|
1347
|
-
errorElement: /* @__PURE__ */
|
|
1348
|
-
element: /* @__PURE__ */
|
|
1317
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1318
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1349
1319
|
handle: {
|
|
1350
1320
|
breadcrumb: () => t("profile.domain")
|
|
1351
1321
|
},
|
|
1352
1322
|
children: [
|
|
1353
1323
|
{
|
|
1354
1324
|
path: "",
|
|
1355
|
-
lazy: () => import("./profile-detail-
|
|
1325
|
+
lazy: () => import("./profile-detail-4FHCZL5O.js"),
|
|
1356
1326
|
children: [
|
|
1357
1327
|
{
|
|
1358
1328
|
path: "edit",
|
|
1359
|
-
lazy: () => import("./profile-edit-
|
|
1329
|
+
lazy: () => import("./profile-edit-BQ27KAP6.js")
|
|
1360
1330
|
}
|
|
1361
1331
|
]
|
|
1362
1332
|
}
|
|
@@ -1364,8 +1334,8 @@ function getRouteMap({
|
|
|
1364
1334
|
},
|
|
1365
1335
|
{
|
|
1366
1336
|
path: "regions",
|
|
1367
|
-
errorElement: /* @__PURE__ */
|
|
1368
|
-
element: /* @__PURE__ */
|
|
1337
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1338
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1369
1339
|
handle: {
|
|
1370
1340
|
breadcrumb: () => t("regions.domain"),
|
|
1371
1341
|
permissions: "regions:view"
|
|
@@ -1373,51 +1343,51 @@ function getRouteMap({
|
|
|
1373
1343
|
children: [
|
|
1374
1344
|
{
|
|
1375
1345
|
path: "",
|
|
1376
|
-
lazy: () => import("./region-list-
|
|
1346
|
+
lazy: () => import("./region-list-UE6RO2PZ.js"),
|
|
1377
1347
|
children: [
|
|
1378
1348
|
{
|
|
1379
1349
|
path: "create",
|
|
1380
1350
|
handle: { permissions: "regions:edit" },
|
|
1381
|
-
lazy: () => import("./region-create-
|
|
1351
|
+
lazy: () => import("./region-create-V4YPSF33.js")
|
|
1382
1352
|
}
|
|
1383
1353
|
]
|
|
1384
1354
|
},
|
|
1385
1355
|
{
|
|
1386
1356
|
path: ":id",
|
|
1387
1357
|
lazy: async () => {
|
|
1388
|
-
const { Breadcrumb, loader } = await import("./region-detail-
|
|
1358
|
+
const { Breadcrumb, loader } = await import("./region-detail-TRHQFBTW.js");
|
|
1389
1359
|
return {
|
|
1390
1360
|
Component: Outlet3,
|
|
1391
1361
|
loader: withPermission(loader, "regions:view"),
|
|
1392
1362
|
handle: {
|
|
1393
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1363
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1394
1364
|
}
|
|
1395
1365
|
};
|
|
1396
1366
|
},
|
|
1397
1367
|
children: [
|
|
1398
1368
|
{
|
|
1399
1369
|
path: "",
|
|
1400
|
-
lazy: () => import("./region-detail-
|
|
1370
|
+
lazy: () => import("./region-detail-TRHQFBTW.js").then(withLoaderPermission("regions:view")),
|
|
1401
1371
|
children: [
|
|
1402
1372
|
{
|
|
1403
1373
|
path: "edit",
|
|
1404
1374
|
handle: { permissions: "regions:edit" },
|
|
1405
|
-
lazy: () => import("./region-edit-
|
|
1375
|
+
lazy: () => import("./region-edit-KEAWUONT.js")
|
|
1406
1376
|
},
|
|
1407
1377
|
{
|
|
1408
1378
|
path: "countries/add",
|
|
1409
1379
|
handle: { permissions: "regions:edit" },
|
|
1410
|
-
lazy: () => import("./region-add-countries-
|
|
1380
|
+
lazy: () => import("./region-add-countries-AJM47ID6.js")
|
|
1411
1381
|
},
|
|
1412
1382
|
{
|
|
1413
1383
|
path: "sellers/add",
|
|
1414
1384
|
handle: { permissions: "regions:edit" },
|
|
1415
|
-
lazy: () => import("./region-add-sellers-
|
|
1385
|
+
lazy: () => import("./region-add-sellers-KN5PRYNT.js")
|
|
1416
1386
|
},
|
|
1417
1387
|
{
|
|
1418
1388
|
path: "metadata/edit",
|
|
1419
1389
|
handle: { permissions: "regions:edit" },
|
|
1420
|
-
lazy: () => import("./region-metadata-
|
|
1390
|
+
lazy: () => import("./region-metadata-JFMEKJKX.js")
|
|
1421
1391
|
}
|
|
1422
1392
|
]
|
|
1423
1393
|
}
|
|
@@ -1427,8 +1397,8 @@ function getRouteMap({
|
|
|
1427
1397
|
},
|
|
1428
1398
|
{
|
|
1429
1399
|
path: "marketplace",
|
|
1430
|
-
errorElement: /* @__PURE__ */
|
|
1431
|
-
element: /* @__PURE__ */
|
|
1400
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1401
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1432
1402
|
handle: {
|
|
1433
1403
|
breadcrumb: () => t("marketplace.domain"),
|
|
1434
1404
|
permissions: "store:view"
|
|
@@ -1436,22 +1406,22 @@ function getRouteMap({
|
|
|
1436
1406
|
children: [
|
|
1437
1407
|
{
|
|
1438
1408
|
path: "",
|
|
1439
|
-
lazy: () => import("./marketplace-detail-
|
|
1409
|
+
lazy: () => import("./marketplace-detail-TQCKYRBS.js").then(withLoaderPermission("store:view")),
|
|
1440
1410
|
children: [
|
|
1441
1411
|
{
|
|
1442
1412
|
path: "edit",
|
|
1443
1413
|
handle: { permissions: "store:edit" },
|
|
1444
|
-
lazy: () => import("./marketplace-edit-
|
|
1414
|
+
lazy: () => import("./marketplace-edit-P3NH6JDD.js")
|
|
1445
1415
|
},
|
|
1446
1416
|
{
|
|
1447
1417
|
path: "currencies",
|
|
1448
1418
|
handle: { permissions: ["store:edit", "regions:view", "price_preferences:view"] },
|
|
1449
|
-
lazy: () => import("./marketplace-add-currencies-
|
|
1419
|
+
lazy: () => import("./marketplace-add-currencies-OESXX47Z.js")
|
|
1450
1420
|
},
|
|
1451
1421
|
{
|
|
1452
1422
|
path: "metadata/edit",
|
|
1453
1423
|
handle: { permissions: "store:edit" },
|
|
1454
|
-
lazy: () => import("./marketplace-metadata-
|
|
1424
|
+
lazy: () => import("./marketplace-metadata-Z3UFWZUC.js")
|
|
1455
1425
|
}
|
|
1456
1426
|
]
|
|
1457
1427
|
}
|
|
@@ -1459,8 +1429,8 @@ function getRouteMap({
|
|
|
1459
1429
|
},
|
|
1460
1430
|
{
|
|
1461
1431
|
path: "commissions",
|
|
1462
|
-
errorElement: /* @__PURE__ */
|
|
1463
|
-
element: /* @__PURE__ */
|
|
1432
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1433
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1464
1434
|
handle: {
|
|
1465
1435
|
breadcrumb: () => t("commissions.domain"),
|
|
1466
1436
|
permissions: "commission_rates:view"
|
|
@@ -1468,45 +1438,45 @@ function getRouteMap({
|
|
|
1468
1438
|
children: [
|
|
1469
1439
|
{
|
|
1470
1440
|
path: "",
|
|
1471
|
-
lazy: () => import("./commissions-list-
|
|
1441
|
+
lazy: () => import("./commissions-list-G4VHOTSN.js"),
|
|
1472
1442
|
children: [
|
|
1473
1443
|
{
|
|
1474
1444
|
path: "create",
|
|
1475
1445
|
handle: { permissions: "commission_rates:edit" },
|
|
1476
|
-
lazy: () => import("./commission-rule-create-
|
|
1446
|
+
lazy: () => import("./commission-rule-create-ZIXZWIHV.js")
|
|
1477
1447
|
},
|
|
1478
1448
|
{
|
|
1479
1449
|
path: "edit-global",
|
|
1480
1450
|
handle: { permissions: "commission_rates:edit" },
|
|
1481
|
-
lazy: () => import("./global-commission-edit-
|
|
1451
|
+
lazy: () => import("./global-commission-edit-UKMZZA22.js")
|
|
1482
1452
|
}
|
|
1483
1453
|
]
|
|
1484
1454
|
},
|
|
1485
1455
|
{
|
|
1486
1456
|
path: ":id",
|
|
1487
1457
|
lazy: async () => {
|
|
1488
|
-
const { Breadcrumb } = await import("./commission-rule-detail-
|
|
1458
|
+
const { Breadcrumb } = await import("./commission-rule-detail-6K5ZAF7H.js");
|
|
1489
1459
|
return {
|
|
1490
1460
|
Component: Outlet3,
|
|
1491
1461
|
handle: {
|
|
1492
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1462
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1493
1463
|
}
|
|
1494
1464
|
};
|
|
1495
1465
|
},
|
|
1496
1466
|
children: [
|
|
1497
1467
|
{
|
|
1498
1468
|
path: "",
|
|
1499
|
-
lazy: () => import("./commission-rule-detail-
|
|
1469
|
+
lazy: () => import("./commission-rule-detail-6K5ZAF7H.js"),
|
|
1500
1470
|
children: [
|
|
1501
1471
|
{
|
|
1502
1472
|
path: "edit",
|
|
1503
1473
|
handle: { permissions: "commission_rates:edit" },
|
|
1504
|
-
lazy: () => import("./commission-rule-edit-
|
|
1474
|
+
lazy: () => import("./commission-rule-edit-5EOJ5LUY.js")
|
|
1505
1475
|
},
|
|
1506
1476
|
{
|
|
1507
1477
|
path: "edit-commission",
|
|
1508
1478
|
handle: { permissions: "commission_rates:edit" },
|
|
1509
|
-
lazy: () => import("./commission-rule-commission-edit-
|
|
1479
|
+
lazy: () => import("./commission-rule-commission-edit-3QPNHX5T.js")
|
|
1510
1480
|
}
|
|
1511
1481
|
]
|
|
1512
1482
|
}
|
|
@@ -1516,8 +1486,8 @@ function getRouteMap({
|
|
|
1516
1486
|
},
|
|
1517
1487
|
{
|
|
1518
1488
|
path: "users",
|
|
1519
|
-
errorElement: /* @__PURE__ */
|
|
1520
|
-
element: /* @__PURE__ */
|
|
1489
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1490
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1521
1491
|
handle: {
|
|
1522
1492
|
breadcrumb: () => t("users.domain"),
|
|
1523
1493
|
permissions: "users:view"
|
|
@@ -1525,41 +1495,41 @@ function getRouteMap({
|
|
|
1525
1495
|
children: [
|
|
1526
1496
|
{
|
|
1527
1497
|
path: "",
|
|
1528
|
-
lazy: () => import("./user-list-
|
|
1498
|
+
lazy: () => import("./user-list-TC6EBLIK.js"),
|
|
1529
1499
|
children: [
|
|
1530
1500
|
{
|
|
1531
1501
|
path: "invite",
|
|
1532
1502
|
handle: { permissions: "users:edit" },
|
|
1533
|
-
lazy: () => import("./user-invite-
|
|
1503
|
+
lazy: () => import("./user-invite-O4EIKZZ5.js")
|
|
1534
1504
|
}
|
|
1535
1505
|
]
|
|
1536
1506
|
},
|
|
1537
1507
|
{
|
|
1538
1508
|
path: ":id",
|
|
1539
1509
|
lazy: async () => {
|
|
1540
|
-
const { Breadcrumb, loader } = await import("./user-detail-
|
|
1510
|
+
const { Breadcrumb, loader } = await import("./user-detail-W5HUECIC.js");
|
|
1541
1511
|
return {
|
|
1542
1512
|
Component: Outlet3,
|
|
1543
1513
|
loader: withPermission(loader, "users:view"),
|
|
1544
1514
|
handle: {
|
|
1545
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1515
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1546
1516
|
}
|
|
1547
1517
|
};
|
|
1548
1518
|
},
|
|
1549
1519
|
children: [
|
|
1550
1520
|
{
|
|
1551
1521
|
path: "",
|
|
1552
|
-
lazy: () => import("./user-detail-
|
|
1522
|
+
lazy: () => import("./user-detail-W5HUECIC.js").then(withLoaderPermission("users:view")),
|
|
1553
1523
|
children: [
|
|
1554
1524
|
{
|
|
1555
1525
|
path: "edit",
|
|
1556
1526
|
handle: { permissions: "users:edit" },
|
|
1557
|
-
lazy: () => import("./user-edit-
|
|
1527
|
+
lazy: () => import("./user-edit-ERWEAGP3.js")
|
|
1558
1528
|
},
|
|
1559
1529
|
{
|
|
1560
1530
|
path: "metadata/edit",
|
|
1561
1531
|
handle: { permissions: "users:edit" },
|
|
1562
|
-
lazy: () => import("./user-metadata-
|
|
1532
|
+
lazy: () => import("./user-metadata-Z63EDSGF.js")
|
|
1563
1533
|
}
|
|
1564
1534
|
]
|
|
1565
1535
|
}
|
|
@@ -1569,8 +1539,8 @@ function getRouteMap({
|
|
|
1569
1539
|
},
|
|
1570
1540
|
{
|
|
1571
1541
|
path: "sales-channels",
|
|
1572
|
-
errorElement: /* @__PURE__ */
|
|
1573
|
-
element: /* @__PURE__ */
|
|
1542
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1543
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1574
1544
|
handle: {
|
|
1575
1545
|
breadcrumb: () => t("salesChannels.domain"),
|
|
1576
1546
|
permissions: "sales_channels:view"
|
|
@@ -1578,46 +1548,46 @@ function getRouteMap({
|
|
|
1578
1548
|
children: [
|
|
1579
1549
|
{
|
|
1580
1550
|
path: "",
|
|
1581
|
-
lazy: () => import("./sales-channel-list-
|
|
1551
|
+
lazy: () => import("./sales-channel-list-SM56SL3Q.js"),
|
|
1582
1552
|
children: [
|
|
1583
1553
|
{
|
|
1584
1554
|
path: "create",
|
|
1585
1555
|
handle: { permissions: "sales_channels:edit" },
|
|
1586
|
-
lazy: () => import("./sales-channel-create-
|
|
1556
|
+
lazy: () => import("./sales-channel-create-JLRHY4I3.js")
|
|
1587
1557
|
}
|
|
1588
1558
|
]
|
|
1589
1559
|
},
|
|
1590
1560
|
{
|
|
1591
1561
|
path: ":id",
|
|
1592
1562
|
lazy: async () => {
|
|
1593
|
-
const { Breadcrumb, loader } = await import("./sales-channel-detail-
|
|
1563
|
+
const { Breadcrumb, loader } = await import("./sales-channel-detail-W6DH33UU.js");
|
|
1594
1564
|
return {
|
|
1595
1565
|
Component: Outlet3,
|
|
1596
1566
|
loader: withPermission(loader, "sales_channels:view"),
|
|
1597
1567
|
handle: {
|
|
1598
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1568
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1599
1569
|
}
|
|
1600
1570
|
};
|
|
1601
1571
|
},
|
|
1602
1572
|
children: [
|
|
1603
1573
|
{
|
|
1604
1574
|
path: "",
|
|
1605
|
-
lazy: () => import("./sales-channel-detail-
|
|
1575
|
+
lazy: () => import("./sales-channel-detail-W6DH33UU.js").then(withLoaderPermission("sales_channels:view")),
|
|
1606
1576
|
children: [
|
|
1607
1577
|
{
|
|
1608
1578
|
path: "edit",
|
|
1609
1579
|
handle: { permissions: "sales_channels:edit" },
|
|
1610
|
-
lazy: () => import("./sales-channel-edit-
|
|
1580
|
+
lazy: () => import("./sales-channel-edit-F6WEJPJD.js")
|
|
1611
1581
|
},
|
|
1612
1582
|
{
|
|
1613
1583
|
path: "add-products",
|
|
1614
1584
|
handle: { permissions: ["sales_channels:edit", "products:view"] },
|
|
1615
|
-
lazy: () => import("./sales-channel-add-products-
|
|
1585
|
+
lazy: () => import("./sales-channel-add-products-3Z4H2LBG.js")
|
|
1616
1586
|
},
|
|
1617
1587
|
{
|
|
1618
1588
|
path: "metadata/edit",
|
|
1619
1589
|
handle: { permissions: "sales_channels:edit" },
|
|
1620
|
-
lazy: () => import("./sales-channel-metadata-
|
|
1590
|
+
lazy: () => import("./sales-channel-metadata-5J3LEVDW.js")
|
|
1621
1591
|
}
|
|
1622
1592
|
]
|
|
1623
1593
|
}
|
|
@@ -1627,8 +1597,8 @@ function getRouteMap({
|
|
|
1627
1597
|
},
|
|
1628
1598
|
{
|
|
1629
1599
|
path: "locations",
|
|
1630
|
-
errorElement: /* @__PURE__ */
|
|
1631
|
-
element: /* @__PURE__ */
|
|
1600
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1601
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1632
1602
|
handle: {
|
|
1633
1603
|
breadcrumb: () => t("locations.domain"),
|
|
1634
1604
|
permissions: "stock_locations:view"
|
|
@@ -1636,16 +1606,16 @@ function getRouteMap({
|
|
|
1636
1606
|
children: [
|
|
1637
1607
|
{
|
|
1638
1608
|
path: "",
|
|
1639
|
-
lazy: () => import("./location-list-
|
|
1609
|
+
lazy: () => import("./location-list-7GZTMS6Z.js")
|
|
1640
1610
|
},
|
|
1641
1611
|
{
|
|
1642
1612
|
path: "create",
|
|
1643
1613
|
handle: { permissions: "stock_locations:edit" },
|
|
1644
|
-
lazy: () => import("./location-create-
|
|
1614
|
+
lazy: () => import("./location-create-XEAFZKL4.js")
|
|
1645
1615
|
},
|
|
1646
1616
|
{
|
|
1647
1617
|
path: "shipping-profiles",
|
|
1648
|
-
element: /* @__PURE__ */
|
|
1618
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1649
1619
|
handle: {
|
|
1650
1620
|
breadcrumb: () => t("shippingProfile.domain"),
|
|
1651
1621
|
permissions: "shipping_profiles:view"
|
|
@@ -1653,36 +1623,36 @@ function getRouteMap({
|
|
|
1653
1623
|
children: [
|
|
1654
1624
|
{
|
|
1655
1625
|
path: "",
|
|
1656
|
-
lazy: () => import("./shipping-profiles-list-
|
|
1626
|
+
lazy: () => import("./shipping-profiles-list-6XJ2BCAN.js"),
|
|
1657
1627
|
children: [
|
|
1658
1628
|
{
|
|
1659
1629
|
path: "create",
|
|
1660
1630
|
handle: { permissions: "shipping_profiles:edit" },
|
|
1661
|
-
lazy: () => import("./shipping-profile-create-
|
|
1631
|
+
lazy: () => import("./shipping-profile-create-SLVMPOV7.js")
|
|
1662
1632
|
}
|
|
1663
1633
|
]
|
|
1664
1634
|
},
|
|
1665
1635
|
{
|
|
1666
1636
|
path: ":shipping_profile_id",
|
|
1667
1637
|
lazy: async () => {
|
|
1668
|
-
const { Breadcrumb, loader } = await import("./shipping-profile-detail-
|
|
1638
|
+
const { Breadcrumb, loader } = await import("./shipping-profile-detail-2BO5PJLM.js");
|
|
1669
1639
|
return {
|
|
1670
1640
|
Component: Outlet3,
|
|
1671
1641
|
loader: withPermission(loader, "shipping_profiles:view"),
|
|
1672
1642
|
handle: {
|
|
1673
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1643
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1674
1644
|
}
|
|
1675
1645
|
};
|
|
1676
1646
|
},
|
|
1677
1647
|
children: [
|
|
1678
1648
|
{
|
|
1679
1649
|
path: "",
|
|
1680
|
-
lazy: () => import("./shipping-profile-detail-
|
|
1650
|
+
lazy: () => import("./shipping-profile-detail-2BO5PJLM.js").then(withLoaderPermission("shipping_profiles:view")),
|
|
1681
1651
|
children: [
|
|
1682
1652
|
{
|
|
1683
1653
|
path: "metadata/edit",
|
|
1684
1654
|
handle: { permissions: "shipping_profiles:edit" },
|
|
1685
|
-
lazy: () => import("./shipping-profile-metadata-
|
|
1655
|
+
lazy: () => import("./shipping-profile-metadata-7D56WKNO.js")
|
|
1686
1656
|
}
|
|
1687
1657
|
]
|
|
1688
1658
|
}
|
|
@@ -1692,8 +1662,8 @@ function getRouteMap({
|
|
|
1692
1662
|
},
|
|
1693
1663
|
{
|
|
1694
1664
|
path: "shipping-option-types",
|
|
1695
|
-
errorElement: /* @__PURE__ */
|
|
1696
|
-
element: /* @__PURE__ */
|
|
1665
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1666
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1697
1667
|
handle: {
|
|
1698
1668
|
breadcrumb: () => t("shippingOptionTypes.domain"),
|
|
1699
1669
|
permissions: "shipping_options:view"
|
|
@@ -1701,36 +1671,36 @@ function getRouteMap({
|
|
|
1701
1671
|
children: [
|
|
1702
1672
|
{
|
|
1703
1673
|
path: "",
|
|
1704
|
-
lazy: () => import("./shipping-option-type-list-
|
|
1674
|
+
lazy: () => import("./shipping-option-type-list-RXBWNCTF.js"),
|
|
1705
1675
|
children: [
|
|
1706
1676
|
{
|
|
1707
1677
|
path: "create",
|
|
1708
1678
|
handle: { permissions: "shipping_options:edit" },
|
|
1709
|
-
lazy: () => import("./shipping-option-type-create-
|
|
1679
|
+
lazy: () => import("./shipping-option-type-create-K5J6N6OO.js")
|
|
1710
1680
|
}
|
|
1711
1681
|
]
|
|
1712
1682
|
},
|
|
1713
1683
|
{
|
|
1714
1684
|
path: ":id",
|
|
1715
1685
|
lazy: async () => {
|
|
1716
|
-
const { Breadcrumb, loader } = await import("./shipping-option-type-detail-
|
|
1686
|
+
const { Breadcrumb, loader } = await import("./shipping-option-type-detail-5OD7PUYU.js");
|
|
1717
1687
|
return {
|
|
1718
1688
|
Component: Outlet3,
|
|
1719
1689
|
loader: withPermission(loader, "shipping_options:view"),
|
|
1720
1690
|
handle: {
|
|
1721
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1691
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1722
1692
|
}
|
|
1723
1693
|
};
|
|
1724
1694
|
},
|
|
1725
1695
|
children: [
|
|
1726
1696
|
{
|
|
1727
1697
|
path: "",
|
|
1728
|
-
lazy: () => import("./shipping-option-type-detail-
|
|
1698
|
+
lazy: () => import("./shipping-option-type-detail-5OD7PUYU.js").then(withLoaderPermission("shipping_options:view")),
|
|
1729
1699
|
children: [
|
|
1730
1700
|
{
|
|
1731
1701
|
path: "edit",
|
|
1732
1702
|
handle: { permissions: "shipping_options:edit" },
|
|
1733
|
-
lazy: () => import("./shipping-option-type-edit-
|
|
1703
|
+
lazy: () => import("./shipping-option-type-edit-65TVRSX4.js")
|
|
1734
1704
|
}
|
|
1735
1705
|
]
|
|
1736
1706
|
}
|
|
@@ -1741,34 +1711,34 @@ function getRouteMap({
|
|
|
1741
1711
|
{
|
|
1742
1712
|
path: ":location_id",
|
|
1743
1713
|
lazy: async () => {
|
|
1744
|
-
const { Breadcrumb, loader } = await import("./location-detail-
|
|
1714
|
+
const { Breadcrumb, loader } = await import("./location-detail-QISQPJ2S.js");
|
|
1745
1715
|
return {
|
|
1746
1716
|
Component: Outlet3,
|
|
1747
1717
|
loader: withPermission(loader, "stock_locations:view"),
|
|
1748
1718
|
handle: {
|
|
1749
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1719
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1750
1720
|
}
|
|
1751
1721
|
};
|
|
1752
1722
|
},
|
|
1753
1723
|
children: [
|
|
1754
1724
|
{
|
|
1755
1725
|
path: "",
|
|
1756
|
-
lazy: () => import("./location-detail-
|
|
1726
|
+
lazy: () => import("./location-detail-QISQPJ2S.js").then(withLoaderPermission("stock_locations:view")),
|
|
1757
1727
|
children: [
|
|
1758
1728
|
{
|
|
1759
1729
|
path: "edit",
|
|
1760
1730
|
handle: { permissions: "stock_locations:edit" },
|
|
1761
|
-
lazy: () => import("./location-edit-
|
|
1731
|
+
lazy: () => import("./location-edit-2CMYJ5IV.js")
|
|
1762
1732
|
},
|
|
1763
1733
|
{
|
|
1764
1734
|
path: "sales-channels",
|
|
1765
1735
|
handle: { permissions: ["stock_locations:edit", "sales_channels:view"] },
|
|
1766
|
-
lazy: () => import("./location-sales-channels-
|
|
1736
|
+
lazy: () => import("./location-sales-channels-M5UZFBFQ.js")
|
|
1767
1737
|
},
|
|
1768
1738
|
{
|
|
1769
1739
|
path: "fulfillment-providers",
|
|
1770
1740
|
handle: { permissions: ["stock_locations:edit", "fulfillment_sets:view"] },
|
|
1771
|
-
lazy: () => import("./location-fulfillment-providers-
|
|
1741
|
+
lazy: () => import("./location-fulfillment-providers-DESFXOLB.js")
|
|
1772
1742
|
},
|
|
1773
1743
|
{
|
|
1774
1744
|
path: "fulfillment-set/:fset_id",
|
|
@@ -1776,7 +1746,7 @@ function getRouteMap({
|
|
|
1776
1746
|
{
|
|
1777
1747
|
path: "service-zones/create",
|
|
1778
1748
|
handle: { permissions: "fulfillment_sets:edit" },
|
|
1779
|
-
lazy: () => import("./location-service-zone-create-
|
|
1749
|
+
lazy: () => import("./location-service-zone-create-SPDMYFPB.js")
|
|
1780
1750
|
},
|
|
1781
1751
|
{
|
|
1782
1752
|
path: "service-zone/:zone_id",
|
|
@@ -1784,12 +1754,12 @@ function getRouteMap({
|
|
|
1784
1754
|
{
|
|
1785
1755
|
path: "edit",
|
|
1786
1756
|
handle: { permissions: "fulfillment_sets:edit" },
|
|
1787
|
-
lazy: () => import("./location-service-zone-edit-
|
|
1757
|
+
lazy: () => import("./location-service-zone-edit-EBP2VFWK.js")
|
|
1788
1758
|
},
|
|
1789
1759
|
{
|
|
1790
1760
|
path: "areas",
|
|
1791
1761
|
handle: { permissions: "fulfillment_sets:edit" },
|
|
1792
|
-
lazy: () => import("./location-service-zone-manage-areas-
|
|
1762
|
+
lazy: () => import("./location-service-zone-manage-areas-PGGAYMK7.js")
|
|
1793
1763
|
},
|
|
1794
1764
|
{
|
|
1795
1765
|
path: "shipping-option",
|
|
@@ -1797,7 +1767,7 @@ function getRouteMap({
|
|
|
1797
1767
|
{
|
|
1798
1768
|
path: "create",
|
|
1799
1769
|
handle: { permissions: "shipping_options:edit" },
|
|
1800
|
-
lazy: () => import("./location-service-zone-shipping-option-create-
|
|
1770
|
+
lazy: () => import("./location-service-zone-shipping-option-create-LMCLZHW5.js")
|
|
1801
1771
|
},
|
|
1802
1772
|
{
|
|
1803
1773
|
path: ":so_id",
|
|
@@ -1805,12 +1775,12 @@ function getRouteMap({
|
|
|
1805
1775
|
{
|
|
1806
1776
|
path: "edit",
|
|
1807
1777
|
handle: { permissions: "shipping_options:edit" },
|
|
1808
|
-
lazy: () => import("./location-service-zone-shipping-option-edit-
|
|
1778
|
+
lazy: () => import("./location-service-zone-shipping-option-edit-K7SOAJHY.js")
|
|
1809
1779
|
},
|
|
1810
1780
|
{
|
|
1811
1781
|
path: "pricing",
|
|
1812
1782
|
handle: { permissions: "shipping_options:edit" },
|
|
1813
|
-
lazy: () => import("./location-service-zone-shipping-option-pricing-
|
|
1783
|
+
lazy: () => import("./location-service-zone-shipping-option-pricing-THSABNGZ.js")
|
|
1814
1784
|
}
|
|
1815
1785
|
]
|
|
1816
1786
|
}
|
|
@@ -1828,8 +1798,8 @@ function getRouteMap({
|
|
|
1828
1798
|
},
|
|
1829
1799
|
{
|
|
1830
1800
|
path: "product-tags",
|
|
1831
|
-
errorElement: /* @__PURE__ */
|
|
1832
|
-
element: /* @__PURE__ */
|
|
1801
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1802
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1833
1803
|
handle: {
|
|
1834
1804
|
breadcrumb: () => t("productTags.domain"),
|
|
1835
1805
|
permissions: "product_tags:view"
|
|
@@ -1837,41 +1807,41 @@ function getRouteMap({
|
|
|
1837
1807
|
children: [
|
|
1838
1808
|
{
|
|
1839
1809
|
path: "",
|
|
1840
|
-
lazy: () => import("./product-tag-list-
|
|
1810
|
+
lazy: () => import("./product-tag-list-SAWEXU6Y.js").then(withLoaderPermission("product_tags:view")),
|
|
1841
1811
|
children: [
|
|
1842
1812
|
{
|
|
1843
1813
|
path: "create",
|
|
1844
1814
|
handle: { permissions: "product_tags:edit" },
|
|
1845
|
-
lazy: () => import("./product-tag-create-
|
|
1815
|
+
lazy: () => import("./product-tag-create-2RC7QI4R.js")
|
|
1846
1816
|
}
|
|
1847
1817
|
]
|
|
1848
1818
|
},
|
|
1849
1819
|
{
|
|
1850
1820
|
path: ":id",
|
|
1851
1821
|
lazy: async () => {
|
|
1852
|
-
const { Breadcrumb, loader } = await import("./product-tag-detail-
|
|
1822
|
+
const { Breadcrumb, loader } = await import("./product-tag-detail-AUWXAVV5.js");
|
|
1853
1823
|
return {
|
|
1854
1824
|
Component: Outlet3,
|
|
1855
1825
|
loader: withPermission(loader, "product_tags:view"),
|
|
1856
1826
|
handle: {
|
|
1857
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1827
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1858
1828
|
}
|
|
1859
1829
|
};
|
|
1860
1830
|
},
|
|
1861
1831
|
children: [
|
|
1862
1832
|
{
|
|
1863
1833
|
path: "",
|
|
1864
|
-
lazy: () => import("./product-tag-detail-
|
|
1834
|
+
lazy: () => import("./product-tag-detail-AUWXAVV5.js").then(withLoaderPermission("product_tags:view")),
|
|
1865
1835
|
children: [
|
|
1866
1836
|
{
|
|
1867
1837
|
path: "edit",
|
|
1868
1838
|
handle: { permissions: "product_tags:edit" },
|
|
1869
|
-
lazy: () => import("./product-tag-edit-
|
|
1839
|
+
lazy: () => import("./product-tag-edit-J4QQIFOP.js")
|
|
1870
1840
|
},
|
|
1871
1841
|
{
|
|
1872
1842
|
path: "metadata/edit",
|
|
1873
1843
|
handle: { permissions: "product_tags:edit" },
|
|
1874
|
-
lazy: () => import("./product-tag-metadata-
|
|
1844
|
+
lazy: () => import("./product-tag-metadata-XFPUJJQK.js")
|
|
1875
1845
|
}
|
|
1876
1846
|
]
|
|
1877
1847
|
}
|
|
@@ -1881,8 +1851,8 @@ function getRouteMap({
|
|
|
1881
1851
|
},
|
|
1882
1852
|
{
|
|
1883
1853
|
path: "attributes",
|
|
1884
|
-
errorElement: /* @__PURE__ */
|
|
1885
|
-
element: /* @__PURE__ */
|
|
1854
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1855
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1886
1856
|
handle: {
|
|
1887
1857
|
breadcrumb: () => t("attributes.domain"),
|
|
1888
1858
|
permissions: "product_attributes:view"
|
|
@@ -1890,51 +1860,51 @@ function getRouteMap({
|
|
|
1890
1860
|
children: [
|
|
1891
1861
|
{
|
|
1892
1862
|
path: "",
|
|
1893
|
-
lazy: () => import("./attribute-list-
|
|
1863
|
+
lazy: () => import("./attribute-list-3PNFEKNK.js").then(withLoaderPermission("product_attributes:view")),
|
|
1894
1864
|
children: [
|
|
1895
1865
|
{
|
|
1896
1866
|
path: "create",
|
|
1897
1867
|
handle: { permissions: "product_attributes:edit" },
|
|
1898
|
-
lazy: () => import("./attribute-create-
|
|
1868
|
+
lazy: () => import("./attribute-create-K7TPMERV.js")
|
|
1899
1869
|
}
|
|
1900
1870
|
]
|
|
1901
1871
|
},
|
|
1902
1872
|
{
|
|
1903
1873
|
path: ":id",
|
|
1904
1874
|
lazy: async () => {
|
|
1905
|
-
const { Breadcrumb, loader } = await import("./attribute-detail-
|
|
1875
|
+
const { Breadcrumb, loader } = await import("./attribute-detail-LB7SMSUV.js");
|
|
1906
1876
|
return {
|
|
1907
1877
|
Component: Outlet3,
|
|
1908
1878
|
loader: withPermission(loader, "product_attributes:view"),
|
|
1909
1879
|
handle: {
|
|
1910
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1880
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1911
1881
|
}
|
|
1912
1882
|
};
|
|
1913
1883
|
},
|
|
1914
1884
|
children: [
|
|
1915
1885
|
{
|
|
1916
1886
|
path: "",
|
|
1917
|
-
lazy: () => import("./attribute-detail-
|
|
1887
|
+
lazy: () => import("./attribute-detail-LB7SMSUV.js").then(withLoaderPermission("product_attributes:view")),
|
|
1918
1888
|
children: [
|
|
1919
1889
|
{
|
|
1920
1890
|
path: "edit",
|
|
1921
1891
|
handle: { permissions: "product_attributes:edit" },
|
|
1922
|
-
lazy: () => import("./attribute-edit-
|
|
1892
|
+
lazy: () => import("./attribute-edit-JHXYOZAS.js")
|
|
1923
1893
|
},
|
|
1924
1894
|
{
|
|
1925
1895
|
path: "edit-possible-value",
|
|
1926
1896
|
handle: { permissions: "product_attributes:edit" },
|
|
1927
|
-
lazy: () => import("./attribute-edit-possible-value-
|
|
1897
|
+
lazy: () => import("./attribute-edit-possible-value-SA5JMQXA.js")
|
|
1928
1898
|
},
|
|
1929
1899
|
{
|
|
1930
1900
|
path: "create-possible-value",
|
|
1931
1901
|
handle: { permissions: "product_attributes:edit" },
|
|
1932
|
-
lazy: () => import("./attribute-create-possible-value-
|
|
1902
|
+
lazy: () => import("./attribute-create-possible-value-BYZBIM67.js")
|
|
1933
1903
|
},
|
|
1934
1904
|
{
|
|
1935
1905
|
path: "edit-ranking",
|
|
1936
1906
|
handle: { permissions: "product_attributes:edit" },
|
|
1937
|
-
lazy: () => import("./attribute-edit-ranking-
|
|
1907
|
+
lazy: () => import("./attribute-edit-ranking-ITKTUZNK.js")
|
|
1938
1908
|
}
|
|
1939
1909
|
]
|
|
1940
1910
|
}
|
|
@@ -1944,8 +1914,8 @@ function getRouteMap({
|
|
|
1944
1914
|
},
|
|
1945
1915
|
{
|
|
1946
1916
|
path: "product-types",
|
|
1947
|
-
errorElement: /* @__PURE__ */
|
|
1948
|
-
element: /* @__PURE__ */
|
|
1917
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1918
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1949
1919
|
handle: {
|
|
1950
1920
|
breadcrumb: () => t("productTypes.domain"),
|
|
1951
1921
|
permissions: "product_types:view"
|
|
@@ -1953,41 +1923,41 @@ function getRouteMap({
|
|
|
1953
1923
|
children: [
|
|
1954
1924
|
{
|
|
1955
1925
|
path: "",
|
|
1956
|
-
lazy: () => import("./product-type-list-
|
|
1926
|
+
lazy: () => import("./product-type-list-YJCXTJQE.js"),
|
|
1957
1927
|
children: [
|
|
1958
1928
|
{
|
|
1959
1929
|
path: "create",
|
|
1960
1930
|
handle: { permissions: "product_types:edit" },
|
|
1961
|
-
lazy: () => import("./product-type-create-
|
|
1931
|
+
lazy: () => import("./product-type-create-KAIH2IH4.js")
|
|
1962
1932
|
}
|
|
1963
1933
|
]
|
|
1964
1934
|
},
|
|
1965
1935
|
{
|
|
1966
1936
|
path: ":id",
|
|
1967
1937
|
lazy: async () => {
|
|
1968
|
-
const { Breadcrumb, loader } = await import("./product-type-detail-
|
|
1938
|
+
const { Breadcrumb, loader } = await import("./product-type-detail-BYBH6FU5.js");
|
|
1969
1939
|
return {
|
|
1970
1940
|
Component: Outlet3,
|
|
1971
1941
|
loader: withPermission(loader, "product_types:view"),
|
|
1972
1942
|
handle: {
|
|
1973
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1943
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1974
1944
|
}
|
|
1975
1945
|
};
|
|
1976
1946
|
},
|
|
1977
1947
|
children: [
|
|
1978
1948
|
{
|
|
1979
1949
|
path: "",
|
|
1980
|
-
lazy: () => import("./product-type-detail-
|
|
1950
|
+
lazy: () => import("./product-type-detail-BYBH6FU5.js").then(withLoaderPermission("product_types:view")),
|
|
1981
1951
|
children: [
|
|
1982
1952
|
{
|
|
1983
1953
|
path: "edit",
|
|
1984
1954
|
handle: { permissions: "product_types:edit" },
|
|
1985
|
-
lazy: () => import("./product-type-edit-
|
|
1955
|
+
lazy: () => import("./product-type-edit-KQK7OWC2.js")
|
|
1986
1956
|
},
|
|
1987
1957
|
{
|
|
1988
1958
|
path: "metadata/edit",
|
|
1989
1959
|
handle: { permissions: "product_types:edit" },
|
|
1990
|
-
lazy: () => import("./product-type-metadata-
|
|
1960
|
+
lazy: () => import("./product-type-metadata-LTKMPGZG.js")
|
|
1991
1961
|
}
|
|
1992
1962
|
]
|
|
1993
1963
|
}
|
|
@@ -1997,7 +1967,7 @@ function getRouteMap({
|
|
|
1997
1967
|
},
|
|
1998
1968
|
{
|
|
1999
1969
|
path: "publishable-api-keys",
|
|
2000
|
-
element: /* @__PURE__ */
|
|
1970
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
2001
1971
|
handle: {
|
|
2002
1972
|
breadcrumb: () => t("apiKeyManagement.domain.publishable"),
|
|
2003
1973
|
permissions: "api_keys:view"
|
|
@@ -2005,16 +1975,16 @@ function getRouteMap({
|
|
|
2005
1975
|
children: [
|
|
2006
1976
|
{
|
|
2007
1977
|
path: "",
|
|
2008
|
-
element: /* @__PURE__ */
|
|
1978
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
2009
1979
|
children: [
|
|
2010
1980
|
{
|
|
2011
1981
|
path: "",
|
|
2012
|
-
lazy: () => import("./api-key-management-list-
|
|
1982
|
+
lazy: () => import("./api-key-management-list-QR65GHKN.js"),
|
|
2013
1983
|
children: [
|
|
2014
1984
|
{
|
|
2015
1985
|
path: "create",
|
|
2016
1986
|
handle: { permissions: "api_keys:edit" },
|
|
2017
|
-
lazy: () => import("./api-key-management-create-
|
|
1987
|
+
lazy: () => import("./api-key-management-create-E5MDWSPT.js")
|
|
2018
1988
|
}
|
|
2019
1989
|
]
|
|
2020
1990
|
}
|
|
@@ -2023,29 +1993,29 @@ function getRouteMap({
|
|
|
2023
1993
|
{
|
|
2024
1994
|
path: ":id",
|
|
2025
1995
|
lazy: async () => {
|
|
2026
|
-
const { Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
1996
|
+
const { Breadcrumb, loader } = await import("./api-key-management-detail-D2GM6B6T.js");
|
|
2027
1997
|
return {
|
|
2028
1998
|
Component: Outlet3,
|
|
2029
1999
|
loader: withPermission(loader, "api_keys:view"),
|
|
2030
2000
|
handle: {
|
|
2031
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
2001
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
2032
2002
|
}
|
|
2033
2003
|
};
|
|
2034
2004
|
},
|
|
2035
2005
|
children: [
|
|
2036
2006
|
{
|
|
2037
2007
|
path: "",
|
|
2038
|
-
lazy: () => import("./api-key-management-detail-
|
|
2008
|
+
lazy: () => import("./api-key-management-detail-D2GM6B6T.js").then(withLoaderPermission("api_keys:view")),
|
|
2039
2009
|
children: [
|
|
2040
2010
|
{
|
|
2041
2011
|
path: "edit",
|
|
2042
2012
|
handle: { permissions: "api_keys:edit" },
|
|
2043
|
-
lazy: () => import("./api-key-management-edit-
|
|
2013
|
+
lazy: () => import("./api-key-management-edit-4LF2QQ7K.js")
|
|
2044
2014
|
},
|
|
2045
2015
|
{
|
|
2046
2016
|
path: "sales-channels",
|
|
2047
2017
|
handle: { permissions: ["api_keys:edit", "sales_channels:view"] },
|
|
2048
|
-
lazy: () => import("./api-key-management-sales-channels-
|
|
2018
|
+
lazy: () => import("./api-key-management-sales-channels-ODNVPGYF.js")
|
|
2049
2019
|
}
|
|
2050
2020
|
]
|
|
2051
2021
|
}
|
|
@@ -2055,7 +2025,7 @@ function getRouteMap({
|
|
|
2055
2025
|
},
|
|
2056
2026
|
{
|
|
2057
2027
|
path: "secret-api-keys",
|
|
2058
|
-
element: /* @__PURE__ */
|
|
2028
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
2059
2029
|
handle: {
|
|
2060
2030
|
breadcrumb: () => t("apiKeyManagement.domain.secret"),
|
|
2061
2031
|
permissions: "api_keys:view"
|
|
@@ -2063,16 +2033,16 @@ function getRouteMap({
|
|
|
2063
2033
|
children: [
|
|
2064
2034
|
{
|
|
2065
2035
|
path: "",
|
|
2066
|
-
element: /* @__PURE__ */
|
|
2036
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
2067
2037
|
children: [
|
|
2068
2038
|
{
|
|
2069
2039
|
path: "",
|
|
2070
|
-
lazy: () => import("./api-key-management-list-
|
|
2040
|
+
lazy: () => import("./api-key-management-list-QR65GHKN.js"),
|
|
2071
2041
|
children: [
|
|
2072
2042
|
{
|
|
2073
2043
|
path: "create",
|
|
2074
2044
|
handle: { permissions: "api_keys:edit" },
|
|
2075
|
-
lazy: () => import("./api-key-management-create-
|
|
2045
|
+
lazy: () => import("./api-key-management-create-E5MDWSPT.js")
|
|
2076
2046
|
}
|
|
2077
2047
|
]
|
|
2078
2048
|
}
|
|
@@ -2081,24 +2051,24 @@ function getRouteMap({
|
|
|
2081
2051
|
{
|
|
2082
2052
|
path: ":id",
|
|
2083
2053
|
lazy: async () => {
|
|
2084
|
-
const { Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
2054
|
+
const { Breadcrumb, loader } = await import("./api-key-management-detail-D2GM6B6T.js");
|
|
2085
2055
|
return {
|
|
2086
2056
|
Component: Outlet3,
|
|
2087
2057
|
loader: withPermission(loader, "api_keys:view"),
|
|
2088
2058
|
handle: {
|
|
2089
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
2059
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
2090
2060
|
}
|
|
2091
2061
|
};
|
|
2092
2062
|
},
|
|
2093
2063
|
children: [
|
|
2094
2064
|
{
|
|
2095
2065
|
path: "",
|
|
2096
|
-
lazy: () => import("./api-key-management-detail-
|
|
2066
|
+
lazy: () => import("./api-key-management-detail-D2GM6B6T.js").then(withLoaderPermission("api_keys:view")),
|
|
2097
2067
|
children: [
|
|
2098
2068
|
{
|
|
2099
2069
|
path: "edit",
|
|
2100
2070
|
handle: { permissions: "api_keys:edit" },
|
|
2101
|
-
lazy: () => import("./api-key-management-edit-
|
|
2071
|
+
lazy: () => import("./api-key-management-edit-4LF2QQ7K.js")
|
|
2102
2072
|
}
|
|
2103
2073
|
]
|
|
2104
2074
|
}
|
|
@@ -2108,7 +2078,7 @@ function getRouteMap({
|
|
|
2108
2078
|
},
|
|
2109
2079
|
{
|
|
2110
2080
|
path: "tax-regions",
|
|
2111
|
-
element: /* @__PURE__ */
|
|
2081
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
2112
2082
|
handle: {
|
|
2113
2083
|
breadcrumb: () => t("taxRegions.domain"),
|
|
2114
2084
|
permissions: "tax_regions:view"
|
|
@@ -2121,7 +2091,7 @@ function getRouteMap({
|
|
|
2121
2091
|
{
|
|
2122
2092
|
path: "create",
|
|
2123
2093
|
handle: { permissions: "tax_regions:edit" },
|
|
2124
|
-
lazy: () => import("./tax-region-create-
|
|
2094
|
+
lazy: () => import("./tax-region-create-A4ZIEXOC.js")
|
|
2125
2095
|
}
|
|
2126
2096
|
]
|
|
2127
2097
|
},
|
|
@@ -2130,13 +2100,13 @@ function getRouteMap({
|
|
|
2130
2100
|
Component: Outlet3,
|
|
2131
2101
|
loader: withPermission(taxRegionLoader, "tax_regions:view"),
|
|
2132
2102
|
handle: {
|
|
2133
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
2103
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(TaxRegionDetailBreadcrumb, { ...match })
|
|
2134
2104
|
},
|
|
2135
2105
|
children: [
|
|
2136
2106
|
{
|
|
2137
2107
|
path: "",
|
|
2138
2108
|
lazy: async () => {
|
|
2139
|
-
const { Component } = await import("./tax-region-detail-
|
|
2109
|
+
const { Component } = await import("./tax-region-detail-QOXPUIGD.js");
|
|
2140
2110
|
return {
|
|
2141
2111
|
Component
|
|
2142
2112
|
};
|
|
@@ -2145,76 +2115,76 @@ function getRouteMap({
|
|
|
2145
2115
|
{
|
|
2146
2116
|
path: "edit",
|
|
2147
2117
|
handle: { permissions: "tax_regions:edit" },
|
|
2148
|
-
lazy: () => import("./tax-region-edit-
|
|
2118
|
+
lazy: () => import("./tax-region-edit-7OOWJR7E.js")
|
|
2149
2119
|
},
|
|
2150
2120
|
{
|
|
2151
2121
|
path: "provinces/create",
|
|
2152
2122
|
handle: { permissions: "tax_regions:edit" },
|
|
2153
|
-
lazy: () => import("./tax-region-province-create-
|
|
2123
|
+
lazy: () => import("./tax-region-province-create-HBUNRYHU.js")
|
|
2154
2124
|
},
|
|
2155
2125
|
{
|
|
2156
2126
|
path: "overrides/create",
|
|
2157
2127
|
handle: { permissions: "tax_regions:edit" },
|
|
2158
|
-
lazy: () => import("./tax-region-tax-override-create-
|
|
2128
|
+
lazy: () => import("./tax-region-tax-override-create-JVNMHUJH.js")
|
|
2159
2129
|
},
|
|
2160
2130
|
{
|
|
2161
2131
|
path: "overrides/:tax_rate_id/edit",
|
|
2162
2132
|
handle: { permissions: "tax_regions:edit" },
|
|
2163
|
-
lazy: () => import("./tax-region-tax-override-edit-
|
|
2133
|
+
lazy: () => import("./tax-region-tax-override-edit-CXDK225Q.js")
|
|
2164
2134
|
},
|
|
2165
2135
|
{
|
|
2166
2136
|
path: "tax-rates/create",
|
|
2167
2137
|
handle: { permissions: "tax_regions:edit" },
|
|
2168
|
-
lazy: () => import("./tax-region-tax-rate-create-
|
|
2138
|
+
lazy: () => import("./tax-region-tax-rate-create-FSLLYJFU.js")
|
|
2169
2139
|
},
|
|
2170
2140
|
{
|
|
2171
2141
|
path: "tax-rates/:tax_rate_id/edit",
|
|
2172
2142
|
handle: { permissions: "tax_regions:edit" },
|
|
2173
|
-
lazy: () => import("./tax-region-tax-rate-edit-
|
|
2143
|
+
lazy: () => import("./tax-region-tax-rate-edit-Y3GFJAR5.js")
|
|
2174
2144
|
},
|
|
2175
2145
|
{
|
|
2176
2146
|
path: "metadata/edit",
|
|
2177
2147
|
handle: { permissions: "tax_regions:edit" },
|
|
2178
|
-
lazy: () => import("./tax-region-metadata-
|
|
2148
|
+
lazy: () => import("./tax-region-metadata-NU24NL4X.js")
|
|
2179
2149
|
}
|
|
2180
2150
|
]
|
|
2181
2151
|
},
|
|
2182
2152
|
{
|
|
2183
2153
|
path: "provinces/:province_id",
|
|
2184
2154
|
lazy: async () => {
|
|
2185
|
-
const { Breadcrumb, loader } = await import("./tax-region-province-detail-
|
|
2155
|
+
const { Breadcrumb, loader } = await import("./tax-region-province-detail-656A6ITD.js");
|
|
2186
2156
|
return {
|
|
2187
2157
|
Component: Outlet3,
|
|
2188
2158
|
loader: withPermission(loader, "tax_regions:view"),
|
|
2189
2159
|
handle: {
|
|
2190
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
2160
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
2191
2161
|
}
|
|
2192
2162
|
};
|
|
2193
2163
|
},
|
|
2194
2164
|
children: [
|
|
2195
2165
|
{
|
|
2196
2166
|
path: "",
|
|
2197
|
-
lazy: () => import("./tax-region-province-detail-
|
|
2167
|
+
lazy: () => import("./tax-region-province-detail-656A6ITD.js").then(withLoaderPermission("tax_regions:view")),
|
|
2198
2168
|
children: [
|
|
2199
2169
|
{
|
|
2200
2170
|
path: "tax-rates/create",
|
|
2201
2171
|
handle: { permissions: "tax_regions:edit" },
|
|
2202
|
-
lazy: () => import("./tax-region-tax-rate-create-
|
|
2172
|
+
lazy: () => import("./tax-region-tax-rate-create-FSLLYJFU.js")
|
|
2203
2173
|
},
|
|
2204
2174
|
{
|
|
2205
2175
|
path: "tax-rates/:tax_rate_id/edit",
|
|
2206
2176
|
handle: { permissions: "tax_regions:edit" },
|
|
2207
|
-
lazy: () => import("./tax-region-tax-rate-edit-
|
|
2177
|
+
lazy: () => import("./tax-region-tax-rate-edit-Y3GFJAR5.js")
|
|
2208
2178
|
},
|
|
2209
2179
|
{
|
|
2210
2180
|
path: "overrides/create",
|
|
2211
2181
|
handle: { permissions: "tax_regions:edit" },
|
|
2212
|
-
lazy: () => import("./tax-region-tax-override-create-
|
|
2182
|
+
lazy: () => import("./tax-region-tax-override-create-JVNMHUJH.js")
|
|
2213
2183
|
},
|
|
2214
2184
|
{
|
|
2215
2185
|
path: "overrides/:tax_rate_id/edit",
|
|
2216
2186
|
handle: { permissions: "tax_regions:edit" },
|
|
2217
|
-
lazy: () => import("./tax-region-tax-override-edit-
|
|
2187
|
+
lazy: () => import("./tax-region-tax-override-edit-CXDK225Q.js")
|
|
2218
2188
|
}
|
|
2219
2189
|
]
|
|
2220
2190
|
}
|
|
@@ -2226,7 +2196,7 @@ function getRouteMap({
|
|
|
2226
2196
|
},
|
|
2227
2197
|
{
|
|
2228
2198
|
path: "return-reasons",
|
|
2229
|
-
element: /* @__PURE__ */
|
|
2199
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
2230
2200
|
handle: {
|
|
2231
2201
|
breadcrumb: () => t("returnReasons.domain"),
|
|
2232
2202
|
permissions: "return_reasons:view"
|
|
@@ -2234,7 +2204,7 @@ function getRouteMap({
|
|
|
2234
2204
|
children: [
|
|
2235
2205
|
{
|
|
2236
2206
|
path: "",
|
|
2237
|
-
lazy: () => import("./return-reason-list-
|
|
2207
|
+
lazy: () => import("./return-reason-list-2GUYWZLY.js").then(withLoaderPermission("return_reasons:view")),
|
|
2238
2208
|
children: [
|
|
2239
2209
|
{
|
|
2240
2210
|
path: "create",
|
|
@@ -2257,7 +2227,7 @@ function getRouteMap({
|
|
|
2257
2227
|
},
|
|
2258
2228
|
{
|
|
2259
2229
|
path: "refund-reasons",
|
|
2260
|
-
element: /* @__PURE__ */
|
|
2230
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
2261
2231
|
handle: {
|
|
2262
2232
|
breadcrumb: () => t("refundReasons.domain"),
|
|
2263
2233
|
permissions: "refund_reasons:view"
|
|
@@ -2265,12 +2235,12 @@ function getRouteMap({
|
|
|
2265
2235
|
children: [
|
|
2266
2236
|
{
|
|
2267
2237
|
path: "",
|
|
2268
|
-
lazy: () => import("./refund-reason-list-
|
|
2238
|
+
lazy: () => import("./refund-reason-list-2MWIMSAT.js").then(withLoaderPermission("refund_reasons:view")),
|
|
2269
2239
|
children: [
|
|
2270
2240
|
{
|
|
2271
2241
|
path: "create",
|
|
2272
2242
|
handle: { permissions: "refund_reasons:edit" },
|
|
2273
|
-
lazy: () => import("./refund-reason-create-
|
|
2243
|
+
lazy: () => import("./refund-reason-create-LHS575LW.js")
|
|
2274
2244
|
},
|
|
2275
2245
|
{
|
|
2276
2246
|
path: ":id",
|
|
@@ -2278,7 +2248,7 @@ function getRouteMap({
|
|
|
2278
2248
|
{
|
|
2279
2249
|
path: "edit",
|
|
2280
2250
|
handle: { permissions: "refund_reasons:edit" },
|
|
2281
|
-
lazy: () => import("./refund-reason-edit-
|
|
2251
|
+
lazy: () => import("./refund-reason-edit-C4VW2HFG.js")
|
|
2282
2252
|
}
|
|
2283
2253
|
]
|
|
2284
2254
|
}
|
|
@@ -2288,7 +2258,7 @@ function getRouteMap({
|
|
|
2288
2258
|
},
|
|
2289
2259
|
{
|
|
2290
2260
|
path: "offer-conditions",
|
|
2291
|
-
element: /* @__PURE__ */
|
|
2261
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
2292
2262
|
handle: {
|
|
2293
2263
|
breadcrumb: () => t("offerConditions.domain"),
|
|
2294
2264
|
permissions: "offers:view"
|
|
@@ -2296,12 +2266,12 @@ function getRouteMap({
|
|
|
2296
2266
|
children: [
|
|
2297
2267
|
{
|
|
2298
2268
|
path: "",
|
|
2299
|
-
lazy: () => import("./offer-condition-list-
|
|
2269
|
+
lazy: () => import("./offer-condition-list-Q4SGJ5ER.js").then(withLoaderPermission("offers:view")),
|
|
2300
2270
|
children: [
|
|
2301
2271
|
{
|
|
2302
2272
|
path: "create",
|
|
2303
2273
|
handle: { permissions: "offers:manage" },
|
|
2304
|
-
lazy: () => import("./offer-condition-create-
|
|
2274
|
+
lazy: () => import("./offer-condition-create-JCDGQFLY.js")
|
|
2305
2275
|
},
|
|
2306
2276
|
{
|
|
2307
2277
|
path: ":id",
|
|
@@ -2309,7 +2279,7 @@ function getRouteMap({
|
|
|
2309
2279
|
{
|
|
2310
2280
|
path: "edit",
|
|
2311
2281
|
handle: { permissions: "offers:manage" },
|
|
2312
|
-
lazy: () => import("./offer-condition-edit-
|
|
2282
|
+
lazy: () => import("./offer-condition-edit-Y32ODIVM.js")
|
|
2313
2283
|
}
|
|
2314
2284
|
]
|
|
2315
2285
|
}
|
|
@@ -2326,22 +2296,22 @@ function getRouteMap({
|
|
|
2326
2296
|
]
|
|
2327
2297
|
},
|
|
2328
2298
|
{
|
|
2329
|
-
element: /* @__PURE__ */
|
|
2299
|
+
element: /* @__PURE__ */ jsx3(PublicLayout, {}),
|
|
2330
2300
|
children: [
|
|
2331
2301
|
{
|
|
2332
|
-
errorElement: /* @__PURE__ */
|
|
2302
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
2333
2303
|
children: [
|
|
2334
2304
|
{
|
|
2335
2305
|
path: "/login",
|
|
2336
|
-
lazy: () => import("./login-
|
|
2306
|
+
lazy: () => import("./login-TZCKYLS2.js")
|
|
2337
2307
|
},
|
|
2338
2308
|
{
|
|
2339
2309
|
path: "/reset-password",
|
|
2340
|
-
lazy: () => import("./reset-password-
|
|
2310
|
+
lazy: () => import("./reset-password-CRA4KXXZ.js")
|
|
2341
2311
|
},
|
|
2342
2312
|
{
|
|
2343
2313
|
path: "/invite",
|
|
2344
|
-
lazy: () => import("./invite-
|
|
2314
|
+
lazy: () => import("./invite-RQPJ24XM.js")
|
|
2345
2315
|
},
|
|
2346
2316
|
...customPublicRoutes,
|
|
2347
2317
|
{
|
|
@@ -2356,10 +2326,10 @@ function getRouteMap({
|
|
|
2356
2326
|
}
|
|
2357
2327
|
|
|
2358
2328
|
// src/app.tsx
|
|
2359
|
-
import { useMemo
|
|
2360
|
-
import { jsx as
|
|
2329
|
+
import { useMemo } from "react";
|
|
2330
|
+
import { jsx as jsx4, jsxs } from "react/jsx-runtime";
|
|
2361
2331
|
function App() {
|
|
2362
|
-
const routes =
|
|
2332
|
+
const routes = useMemo(() => {
|
|
2363
2333
|
const resolved = resolveRouteOverrides(customRoutes);
|
|
2364
2334
|
return {
|
|
2365
2335
|
settingsRoutes: createRouteMap(getRoutesByType(resolved, "settings")),
|
|
@@ -2367,7 +2337,7 @@ function App() {
|
|
|
2367
2337
|
publicRoutes: createRouteMap(getRoutesByType(resolved, "public"))
|
|
2368
2338
|
};
|
|
2369
2339
|
}, []);
|
|
2370
|
-
return /* @__PURE__ */
|
|
2340
|
+
return /* @__PURE__ */ jsx4(TooltipProvider, { children: /* @__PURE__ */ jsx4(HelmetProvider, { children: /* @__PURE__ */ jsx4(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ jsx4(ThemeProvider, { children: /* @__PURE__ */ jsx4(FeatureFlagProvider, { children: /* @__PURE__ */ jsxs(
|
|
2371
2341
|
ExtensionProvider,
|
|
2372
2342
|
{
|
|
2373
2343
|
widgets,
|
|
@@ -2376,8 +2346,8 @@ function App() {
|
|
|
2376
2346
|
layouts,
|
|
2377
2347
|
preferences,
|
|
2378
2348
|
children: [
|
|
2379
|
-
/* @__PURE__ */
|
|
2380
|
-
/* @__PURE__ */
|
|
2349
|
+
/* @__PURE__ */ jsx4(I18n, {}),
|
|
2350
|
+
/* @__PURE__ */ jsx4(I18nProvider, { children: /* @__PURE__ */ jsx4(
|
|
2381
2351
|
RouterProvider,
|
|
2382
2352
|
{
|
|
2383
2353
|
router: createBrowserRouter(getRouteMap(routes), {
|
|
@@ -2385,7 +2355,7 @@ function App() {
|
|
|
2385
2355
|
})
|
|
2386
2356
|
}
|
|
2387
2357
|
) }),
|
|
2388
|
-
/* @__PURE__ */
|
|
2358
|
+
/* @__PURE__ */ jsx4(Toaster, {})
|
|
2389
2359
|
]
|
|
2390
2360
|
}
|
|
2391
2361
|
) }) }) }) }) });
|