@mercurjs/admin 2.4.0 → 2.4.2-canary.0
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-VN7VTEHC.js} +24 -23
- 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-QPIDG4YL.js} +18 -17
- 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-KXP2BR3A.js} +27 -27
- package/dist/{attribute-detail-PU3LWSEC.js → attribute-detail-EXGOXBSF.js} +35 -35
- 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-YGW7T57X.js} +24 -23
- 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-CQLFD5TR.js} +28 -27
- package/dist/{campaign-list-27HCFLS7.js → campaign-list-MHCSLAYG.js} +9 -8
- package/dist/{categories-metadata-VOKG26IC.js → categories-metadata-5WRCUAYB.js} +23 -22
- package/dist/{category-create-MKENO5UC.js → category-create-T6KSFJFR.js} +3 -3
- package/dist/{category-detail-SJPQSYH2.js → category-detail-XYXPRDG6.js} +31 -30
- 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-AE44IYFB.js} +40 -39
- 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-AQBW6KVN.js → chunk-2LSMPTXI.js} +1 -1
- 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-ZSBHQBTB.js → chunk-3XDYPQNV.js} +48 -45
- 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-5F7OAHRW.js → chunk-4E7M7XYS.js} +4 -4
- package/dist/{chunk-LTAR5MLU.js → chunk-4HKO3FVW.js} +51 -15
- package/dist/{chunk-KXEXGXFV.js → chunk-4I65EBC3.js} +8 -8
- 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-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-GLQH2FNY.js → chunk-GTWQFFLT.js} +1 -1
- package/dist/{chunk-AF4UKAMF.js → chunk-GVEY7LY4.js} +6 -6
- package/dist/{chunk-HU6Z5HMO.js → chunk-H77B5JE2.js} +1 -1
- 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-QFZK43H2.js → chunk-PQ6UCU26.js} +8 -7
- package/dist/{chunk-OA6BLEVL.js → chunk-PZKPLLCK.js} +9 -9
- package/dist/chunk-Q25CKL6P.js +158 -0
- 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-YGSJTBLG.js} +37 -36
- package/dist/{collection-create-IROC3TUS.js → collection-create-OFAKZT3H.js} +4 -4
- package/dist/{collection-detail-POPHBJTD.js → collection-detail-SA3GXCYV.js} +29 -28
- 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-T7LIHCSO.js} +30 -30
- package/dist/{collection-media-YK4XDMDC.js → collection-media-SW6O54X5.js} +5 -5
- package/dist/{collection-metadata-NAUKYDWG.js → collection-metadata-D56TMA2O.js} +20 -19
- package/dist/{commission-rule-commission-edit-ORXDQKCX.js → commission-rule-commission-edit-CQEL6X4K.js} +31 -15
- package/dist/{commission-rule-create-3E62CKHW.js → commission-rule-create-TIBT26QY.js} +40 -17
- package/dist/{commission-rule-detail-3NH7ULIN.js → commission-rule-detail-KXOBJ7ZE.js} +10 -8
- package/dist/{commission-rule-edit-4JVK6S76.js → commission-rule-edit-YJXOOLIR.js} +32 -14
- package/dist/{commissions-list-BADK7MSY.js → commissions-list-NOHWTAL6.js} +14 -12
- package/dist/{customer-detail-SZT2SUP7.js → customer-detail-X4QO7R4I.js} +29 -28
- package/dist/{customer-group-detail-FFMUXNIB.js → customer-group-detail-5SI2UEWT.js} +24 -23
- package/dist/{customer-group-list-EOSIHWXE.js → customer-group-list-W6AAEMJZ.js} +24 -23
- package/dist/{customer-group-metadata-TJIDSJ6Z.js → customer-group-metadata-ZULCBXZT.js} +21 -20
- package/dist/{customer-list-Y76GVUYI.js → customer-list-NAWGRWW3.js} +4 -4
- package/dist/{customer-metadata-DE3WIXFE.js → customer-metadata-PX4675YG.js} +21 -20
- package/dist/{customers-add-customer-group-6ITTWDUT.js → customers-add-customer-group-MRUPG2NL.js} +37 -36
- package/dist/{edit-inventory-item-JHEJ663F.js → edit-inventory-item-E4HTJCLW.js} +24 -23
- package/dist/{edit-inventory-item-attributes-GXSPW442.js → edit-inventory-item-attributes-DTFCKHA3.js} +24 -23
- package/dist/{edit-reservation-FJR7ZYJF.js → edit-reservation-7XALDPYA.js} +8 -8
- package/dist/{edit-rules-ACC2CU4N.js → edit-rules-D2ETXYOG.js} +23 -22
- package/dist/extension-targets.d.ts +12 -0
- package/dist/{global-commission-edit-6UEKJHWH.js → global-commission-edit-RPDJHLOU.js} +31 -15
- package/dist/{home-DBMCSDAX.js → home-ZMWPB7Z4.js} +17 -15
- package/dist/index.css +10 -0
- package/dist/index.js +413 -441
- package/dist/{inventory-detail-NLQA355J.js → inventory-detail-2QWJSRLT.js} +26 -25
- package/dist/{inventory-list-YH3VIQ4F.js → inventory-list-DPV4VMBB.js} +7 -6
- package/dist/{inventory-metadata-NGKWP7VG.js → inventory-metadata-ZOFBU2CS.js} +22 -21
- package/dist/{inventory-stock-MHGGME6C.js → inventory-stock-2KPY45VX.js} +35 -34
- package/dist/{loader-PKVN2RNN.js → loader-HZFVOO6G.js} +1 -1
- package/dist/{location-detail-5J76LVYZ.js → location-detail-CQFXKIW2.js} +15 -14
- package/dist/{location-fulfillment-providers-BXNGW5FD.js → location-fulfillment-providers-K3IF56D3.js} +41 -41
- package/dist/{location-list-SJZNHDQ5.js → location-list-CVMIBMT7.js} +16 -15
- 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-RL7Q7P3U.js} +24 -23
- 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-GB4TZ3KN.js} +16 -15
- package/dist/{manage-locations-VKDYHYYV.js → manage-locations-AWAF7NHT.js} +4 -4
- package/dist/{marketplace-detail-HT4HIW5I.js → marketplace-detail-BGGEDBMZ.js} +24 -24
- package/dist/{marketplace-edit-TTP44LZN.js → marketplace-edit-P3NH6JDD.js} +8 -8
- package/dist/{marketplace-metadata-2XEMGXBZ.js → marketplace-metadata-AV4IYMSI.js} +22 -21
- package/dist/{offer-condition-create-J5Z3Q5MH.js → offer-condition-create-ELOPMTVF.js} +14 -13
- package/dist/{offer-condition-edit-CPBKK54R.js → offer-condition-edit-X47KO53G.js} +14 -13
- package/dist/{offer-condition-list-ELVULPI6.js → offer-condition-list-F2UTHYW5.js} +33 -32
- 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-BCT5ZNVV.js} +28 -27
- package/dist/{order-create-edit-KSOUDYKT.js → order-create-edit-ZOXREL6X.js} +26 -26
- package/dist/{order-create-exchange-GJ6VZUXC.js → order-create-exchange-BJK7VBZJ.js} +50 -49
- package/dist/{order-create-refund-I24FCJLL.js → order-create-refund-HCWHO7UA.js} +32 -31
- package/dist/{order-detail-74FNI5EP.js → order-detail-UGTEV6YA.js} +28 -27
- package/dist/{order-edit-billing-address-BQUX6XE4.js → order-edit-billing-address-L7OB7DT4.js} +25 -24
- package/dist/{order-edit-email-PIF3KMMY.js → order-edit-email-6W3ZFJP3.js} +24 -23
- package/dist/{order-edit-shipping-address-IWAXYN6Y.js → order-edit-shipping-address-EAN3RL44.js} +24 -23
- package/dist/{order-list-X5UIPQ2L.js → order-list-JQHYTMPK.js} +14 -14
- package/dist/{order-metadata-4IZB4TSA.js → order-metadata-H55SOYPV.js} +20 -19
- package/dist/{order-request-transfer-RRFZTO2H.js → order-request-transfer-5Z5ASYLA.js} +27 -26
- package/dist/pages/index.js +168 -167
- 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-MZBAANRE.js} +37 -36
- 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-GHBU34II.js} +27 -26
- 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-PU3QIZ6C.js} +35 -34
- package/dist/{price-list-prices-edit-IR2HYR5F.js → price-list-prices-edit-U5JMSZR2.js} +30 -29
- package/dist/{product-add-existing-attributes-SMP52KCJ.js → product-add-existing-attributes-BUPTMRVD.js} +32 -32
- 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-W3RUAYN2.js} +37 -37
- 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-56VBJ5BZ.js} +24 -24
- 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-UTRXPARK.js} +29 -28
- package/dist/{product-media-DNP46LTI.js → product-media-W3QHRCXX.js} +7 -7
- package/dist/{product-metadata-SKGGZGMW.js → product-metadata-Y3M4ZZ2H.js} +20 -19
- 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-GNJTKAUY.js} +24 -23
- package/dist/{product-tag-detail-74SRZY5I.js → product-tag-detail-PWYCRCC3.js} +43 -42
- package/dist/{product-tag-edit-HSOUEU5D.js → product-tag-edit-IEYXMMU3.js} +24 -23
- package/dist/{product-tag-list-YC6BIXAJ.js → product-tag-list-LNKN323U.js} +43 -42
- package/dist/{product-tag-metadata-2AIAO4B3.js → product-tag-metadata-Q4JIK46H.js} +20 -19
- package/dist/{product-type-detail-6R4BJSSQ.js → product-type-detail-7P2M7JIS.js} +28 -27
- package/dist/{product-type-list-I3YSKNZ2.js → product-type-list-YJCXTJQE.js} +7 -7
- package/dist/{product-type-metadata-34AOQ56P.js → product-type-metadata-S7ZPZFPU.js} +20 -19
- package/dist/{product-variant-detail-Y2JPURSC.js → product-variant-detail-K5L2YBZ5.js} +16 -15
- package/dist/{product-variant-edit-FYT5JOLH.js → product-variant-edit-2A6AJ74P.js} +27 -27
- package/dist/{product-variant-metadata-BJ4ESS42.js → product-variant-metadata-DNMZY323.js} +20 -19
- 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-6Q2ZXHUG.js} +24 -23
- package/dist/{promotion-detail-QDF7I6KQ.js → promotion-detail-QYNXRGMO.js} +19 -18
- package/dist/{promotion-list-35QHP535.js → promotion-list-DTEMWIUT.js} +13 -12
- package/dist/{refund-reason-create-NYGRLVIC.js → refund-reason-create-25ZABWC3.js} +24 -23
- package/dist/{refund-reason-edit-C2QOTJSU.js → refund-reason-edit-5DZPMYVZ.js} +24 -23
- package/dist/{refund-reason-list-QZ2Z7MNL.js → refund-reason-list-YJN3YBCX.js} +34 -33
- 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-R6S3KUOD.js} +22 -21
- package/dist/{reservation-create-UAEX2IIQ.js → reservation-create-M7U5YGMU.js} +7 -7
- package/dist/{reservation-detail-7LNYITL4.js → reservation-detail-FCLXXM7P.js} +16 -15
- package/dist/{reservation-list-HI4E5SD3.js → reservation-list-MK6AFJ5N.js} +8 -7
- package/dist/{reservation-metadata-S3364EKD.js → reservation-metadata-35N7FCGC.js} +22 -21
- 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-XSGA433D.js} +39 -38
- package/dist/{sales-channel-create-KCEMVUFL.js → sales-channel-create-JLRHY4I3.js} +4 -4
- package/dist/{sales-channel-detail-R7NN5C34.js → sales-channel-detail-WUA6WCD3.js} +28 -27
- package/dist/{sales-channel-edit-EE4HMRMK.js → sales-channel-edit-F6WEJPJD.js} +5 -5
- package/dist/{sales-channel-list-KAGUTX7P.js → sales-channel-list-OA3BS44A.js} +18 -17
- package/dist/{sales-channel-metadata-6MT5BCGH.js → sales-channel-metadata-EQEMA7ZK.js} +22 -21
- package/dist/{settings-5AJC22SM.js → settings-SQMRZHLN.js} +18 -16
- package/dist/{shipping-option-type-create-LGGBUTPM.js → shipping-option-type-create-JNVJYWQ4.js} +24 -23
- package/dist/{shipping-option-type-detail-RDKLCL3M.js → shipping-option-type-detail-FWMONUZX.js} +13 -12
- package/dist/{shipping-option-type-edit-K2DRIE6Q.js → shipping-option-type-edit-2ORVYAS2.js} +24 -23
- package/dist/{shipping-option-type-list-JIGYSRUS.js → shipping-option-type-list-XOC4A2K5.js} +25 -24
- package/dist/{shipping-profile-detail-HY362D6V.js → shipping-profile-detail-2BO5PJLM.js} +3 -3
- package/dist/{shipping-profile-metadata-INM6HD5Y.js → shipping-profile-metadata-TQJUPQDT.js} +20 -19
- 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-XODKGAQB.js} +25 -24
- package/dist/{store-details-VPNLJEQW.js → store-details-CTXOMJ4F.js} +40 -39
- package/dist/{store-edit-6Z2ORG5F.js → store-edit-6G62NLNK.js} +38 -21
- package/dist/{store-list-FV2HPPVE.js → store-list-MSXINJBB.js} +29 -29
- 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-27DNVEWH.js} +25 -24
- package/dist/{tax-region-detail-JA7S5HWF.js → tax-region-detail-TL34TZ74.js} +22 -21
- package/dist/{tax-region-edit-KYF2TUAA.js → tax-region-edit-WMTF547K.js} +24 -23
- package/dist/tax-region-list-EN2XGZLJ.js +4 -4
- package/dist/{tax-region-metadata-PZNTQZ66.js → tax-region-metadata-XTERQTSO.js} +22 -21
- package/dist/{tax-region-province-detail-QPZUP6LC.js → tax-region-province-detail-V4O4LIEL.js} +21 -20
- package/dist/{tax-region-tax-override-create-U5654PKU.js → tax-region-tax-override-create-MGQYCSLB.js} +57 -56
- package/dist/{tax-region-tax-override-edit-DQCSKCYZ.js → tax-region-tax-override-edit-PWH2ZJVM.js} +57 -56
- 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-P4XDYLXJ.js} +22 -21
- package/package.json +13 -13
- package/dist/chunk-EVWDEDPV.js +0 -106
- 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/{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-2LSMPTXI.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-4HKO3FVW.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";
|
|
@@ -73,36 +59,53 @@ import "./chunk-ZPNDXVKU.js";
|
|
|
73
59
|
import "./chunk-7DEZJGI6.js";
|
|
74
60
|
import "./chunk-H5G6SVUG.js";
|
|
75
61
|
import "./chunk-TOAE7XZ7.js";
|
|
76
|
-
import "./chunk-
|
|
62
|
+
import "./chunk-H77B5JE2.js";
|
|
77
63
|
import {
|
|
78
64
|
meQueryOptions,
|
|
79
65
|
useMe
|
|
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,34 +131,34 @@ 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
|
|
199
|
-
import { RoutePermissionGuard } from "@mercurjs/dashboard-shared";
|
|
161
|
+
import { overrideLazyRoute, RoutePermissionGuard } from "@mercurjs/dashboard-shared";
|
|
200
162
|
|
|
201
163
|
// src/lib/permissions/with-permission.ts
|
|
202
164
|
import { createWithPermission } from "@mercurjs/dashboard-shared";
|
|
@@ -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) {
|
|
@@ -217,12 +179,14 @@ function mergeRoutes(baseRoutes, customRoutes2) {
|
|
|
217
179
|
);
|
|
218
180
|
if (existingIndex !== -1) {
|
|
219
181
|
const { children: customChildren, ...customRest } = customRoute;
|
|
182
|
+
const baseLazy = result[existingIndex].lazy;
|
|
220
183
|
const baseHandle = result[existingIndex].handle;
|
|
221
184
|
const customHandle = customRest.handle;
|
|
222
185
|
result[existingIndex] = {
|
|
223
186
|
...result[existingIndex],
|
|
224
187
|
...customRest,
|
|
225
188
|
path: result[existingIndex].path,
|
|
189
|
+
lazy: typeof baseLazy === "function" && typeof customRest.lazy === "function" ? overrideLazyRoute(baseLazy, customRest.lazy) : customRest.lazy ?? baseLazy,
|
|
226
190
|
// Merge rather than replace, so a custom route declaring only
|
|
227
191
|
// `permissions` doesn't drop the base route's `breadcrumb`.
|
|
228
192
|
handle: baseHandle || customHandle ? { ...baseHandle, ...customHandle } : void 0,
|
|
@@ -241,154 +205,162 @@ function getRouteMap({
|
|
|
241
205
|
}) {
|
|
242
206
|
return [
|
|
243
207
|
{
|
|
244
|
-
element: /* @__PURE__ */
|
|
245
|
-
errorElement: /* @__PURE__ */
|
|
208
|
+
element: /* @__PURE__ */ jsx3(ProtectedRoute, {}),
|
|
209
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
246
210
|
children: [
|
|
247
211
|
{
|
|
248
|
-
element: /* @__PURE__ */
|
|
212
|
+
element: /* @__PURE__ */ jsx3(MainLayout, {}),
|
|
249
213
|
children: [
|
|
250
214
|
{
|
|
251
215
|
// Pathless wrapper so every route below — including extension
|
|
252
216
|
// routes merged in from virtual:mercur/routes — is enforced
|
|
253
217
|
// without each one wiring its own guard element.
|
|
254
|
-
element: /* @__PURE__ */
|
|
218
|
+
element: /* @__PURE__ */ jsx3(RoutePermissionGuard, {}),
|
|
255
219
|
children: mergeRoutes(
|
|
256
220
|
[
|
|
257
221
|
{
|
|
258
222
|
path: "/",
|
|
259
|
-
errorElement: /* @__PURE__ */
|
|
260
|
-
lazy: () => import("./home-
|
|
223
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
224
|
+
lazy: () => import("./home-ZMWPB7Z4.js")
|
|
261
225
|
},
|
|
262
226
|
{
|
|
263
227
|
path: "/products",
|
|
264
|
-
errorElement: /* @__PURE__ */
|
|
228
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
265
229
|
handle: {
|
|
266
230
|
breadcrumb: () => t("products.domain"),
|
|
267
231
|
permissions: "products:view"
|
|
268
232
|
},
|
|
269
233
|
children: [
|
|
234
|
+
{
|
|
235
|
+
path: "inbox",
|
|
236
|
+
handle: {
|
|
237
|
+
breadcrumb: () => t("products.inbox.domain"),
|
|
238
|
+
permissions: ["product_changes:view", "products:view"]
|
|
239
|
+
},
|
|
240
|
+
lazy: () => import("./product-inbox-BBAXGADC.js")
|
|
241
|
+
},
|
|
270
242
|
{
|
|
271
243
|
path: "",
|
|
272
|
-
lazy: () => import("./product-list-
|
|
244
|
+
lazy: () => import("./product-list-UTRXPARK.js"),
|
|
273
245
|
children: [
|
|
274
246
|
{
|
|
275
247
|
path: "create",
|
|
276
248
|
handle: { permissions: "products:edit" },
|
|
277
|
-
lazy: () => import("./product-create-
|
|
249
|
+
lazy: () => import("./product-create-W3RUAYN2.js")
|
|
278
250
|
},
|
|
279
251
|
{
|
|
280
252
|
path: "bulk-edit",
|
|
281
253
|
handle: { permissions: "products:edit" },
|
|
282
|
-
lazy: () => import("./product-bulk-edit-
|
|
254
|
+
lazy: () => import("./product-bulk-edit-ETVMA4TH.js")
|
|
283
255
|
}
|
|
284
256
|
]
|
|
285
257
|
},
|
|
286
258
|
{
|
|
287
259
|
path: ":id",
|
|
288
|
-
errorElement: /* @__PURE__ */
|
|
260
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
289
261
|
lazy: async () => {
|
|
290
|
-
const { Breadcrumb, loader } = await import("./product-detail-
|
|
262
|
+
const { Breadcrumb, loader } = await import("./product-detail-56VBJ5BZ.js");
|
|
291
263
|
return {
|
|
292
264
|
Component: Outlet3,
|
|
293
265
|
loader: withPermission(loader, "products:view"),
|
|
294
266
|
handle: {
|
|
295
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
267
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
296
268
|
}
|
|
297
269
|
};
|
|
298
270
|
},
|
|
299
271
|
children: [
|
|
300
272
|
{
|
|
301
273
|
path: "",
|
|
302
|
-
lazy: () => import("./product-detail-
|
|
274
|
+
lazy: () => import("./product-detail-56VBJ5BZ.js").then(withLoaderPermission("products:view")),
|
|
303
275
|
children: [
|
|
304
276
|
{
|
|
305
277
|
path: "edit",
|
|
306
278
|
handle: { permissions: "products:edit" },
|
|
307
|
-
lazy: () => import("./product-edit-
|
|
279
|
+
lazy: () => import("./product-edit-HVV6HFPP.js")
|
|
308
280
|
},
|
|
309
281
|
{
|
|
310
282
|
path: "edit-variant",
|
|
311
283
|
handle: { permissions: "products:edit" },
|
|
312
|
-
lazy: () => import("./product-variant-edit-
|
|
284
|
+
lazy: () => import("./product-variant-edit-2A6AJ74P.js").then(withLoaderPermission("products:edit"))
|
|
313
285
|
},
|
|
314
286
|
{
|
|
315
287
|
path: "sales-channels",
|
|
316
288
|
handle: { permissions: ["products:edit", "sales_channels:view"] },
|
|
317
|
-
lazy: () => import("./product-sales-channels-
|
|
289
|
+
lazy: () => import("./product-sales-channels-HFMSJZVI.js")
|
|
318
290
|
},
|
|
319
291
|
{
|
|
320
292
|
path: "attributes",
|
|
321
293
|
handle: { permissions: "products:edit" },
|
|
322
|
-
lazy: () => import("./product-attributes-
|
|
294
|
+
lazy: () => import("./product-attributes-5PMGQBIW.js")
|
|
323
295
|
},
|
|
324
296
|
{
|
|
325
297
|
path: "attributes/create",
|
|
326
298
|
handle: { permissions: "products:edit" },
|
|
327
|
-
lazy: () => import("./product-create-attribute-
|
|
299
|
+
lazy: () => import("./product-create-attribute-JRUTWHLJ.js")
|
|
328
300
|
},
|
|
329
301
|
{
|
|
330
302
|
path: "attributes/add",
|
|
331
303
|
handle: { permissions: ["products:edit", "product_attributes:view"] },
|
|
332
|
-
lazy: () => import("./product-add-existing-attributes-
|
|
304
|
+
lazy: () => import("./product-add-existing-attributes-BUPTMRVD.js")
|
|
333
305
|
},
|
|
334
306
|
{
|
|
335
307
|
path: "attributes/:attribute_id/edit",
|
|
336
308
|
handle: { permissions: "products:edit" },
|
|
337
|
-
lazy: () => import("./product-edit-attribute-
|
|
309
|
+
lazy: () => import("./product-edit-attribute-3JHAMGZG.js")
|
|
338
310
|
},
|
|
339
311
|
{
|
|
340
312
|
path: "organization",
|
|
341
313
|
handle: { permissions: "products:edit" },
|
|
342
|
-
lazy: () => import("./product-organization-
|
|
314
|
+
lazy: () => import("./product-organization-BPTXZPF2.js")
|
|
343
315
|
},
|
|
344
316
|
{
|
|
345
317
|
path: "shipping-profile",
|
|
346
318
|
handle: { permissions: "products:edit" },
|
|
347
|
-
lazy: () => import("./product-shipping-profile-
|
|
319
|
+
lazy: () => import("./product-shipping-profile-MM74FN47.js")
|
|
348
320
|
},
|
|
349
321
|
{
|
|
350
322
|
path: "media",
|
|
351
323
|
handle: { permissions: "products:edit" },
|
|
352
|
-
lazy: () => import("./product-media-
|
|
324
|
+
lazy: () => import("./product-media-W3QHRCXX.js")
|
|
353
325
|
},
|
|
354
326
|
{
|
|
355
327
|
path: "variants/create",
|
|
356
328
|
handle: { permissions: "products:edit" },
|
|
357
|
-
lazy: () => import("./product-create-variant-
|
|
329
|
+
lazy: () => import("./product-create-variant-G3XZ572E.js")
|
|
358
330
|
},
|
|
359
331
|
{
|
|
360
332
|
path: "metadata/edit",
|
|
361
333
|
handle: { permissions: "products:edit" },
|
|
362
|
-
lazy: () => import("./product-metadata-
|
|
334
|
+
lazy: () => import("./product-metadata-Y3M4ZZ2H.js")
|
|
363
335
|
}
|
|
364
336
|
]
|
|
365
337
|
},
|
|
366
338
|
{
|
|
367
339
|
path: "variants/:variant_id",
|
|
368
340
|
lazy: async () => {
|
|
369
|
-
const { Breadcrumb, loader } = await import("./product-variant-detail-
|
|
341
|
+
const { Breadcrumb, loader } = await import("./product-variant-detail-K5L2YBZ5.js");
|
|
370
342
|
return {
|
|
371
343
|
Component: Outlet3,
|
|
372
344
|
loader: withPermission(loader, "products:view"),
|
|
373
345
|
handle: {
|
|
374
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
346
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
375
347
|
}
|
|
376
348
|
};
|
|
377
349
|
},
|
|
378
350
|
children: [
|
|
379
351
|
{
|
|
380
352
|
path: "",
|
|
381
|
-
lazy: () => import("./product-variant-detail-
|
|
353
|
+
lazy: () => import("./product-variant-detail-K5L2YBZ5.js").then(withLoaderPermission("products:view")),
|
|
382
354
|
children: [
|
|
383
355
|
{
|
|
384
356
|
path: "edit",
|
|
385
357
|
handle: { permissions: "products:edit" },
|
|
386
|
-
lazy: () => import("./product-variant-edit-
|
|
358
|
+
lazy: () => import("./product-variant-edit-2A6AJ74P.js").then(withLoaderPermission("products:edit"))
|
|
387
359
|
},
|
|
388
360
|
{
|
|
389
361
|
path: "metadata/edit",
|
|
390
362
|
handle: { permissions: "products:edit" },
|
|
391
|
-
lazy: () => import("./product-variant-metadata-
|
|
363
|
+
lazy: () => import("./product-variant-metadata-DNMZY323.js")
|
|
392
364
|
}
|
|
393
365
|
]
|
|
394
366
|
}
|
|
@@ -400,7 +372,7 @@ function getRouteMap({
|
|
|
400
372
|
},
|
|
401
373
|
{
|
|
402
374
|
path: "/categories",
|
|
403
|
-
errorElement: /* @__PURE__ */
|
|
375
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
404
376
|
handle: {
|
|
405
377
|
breadcrumb: () => t("categories.domain"),
|
|
406
378
|
permissions: "product_categories:view"
|
|
@@ -408,66 +380,66 @@ function getRouteMap({
|
|
|
408
380
|
children: [
|
|
409
381
|
{
|
|
410
382
|
path: "",
|
|
411
|
-
lazy: () => import("./category-list-
|
|
383
|
+
lazy: () => import("./category-list-I32XZHH5.js"),
|
|
412
384
|
children: [
|
|
413
385
|
{
|
|
414
386
|
path: "create",
|
|
415
387
|
handle: { permissions: "product_categories:edit" },
|
|
416
|
-
lazy: () => import("./category-create-
|
|
388
|
+
lazy: () => import("./category-create-T6KSFJFR.js")
|
|
417
389
|
},
|
|
418
390
|
{
|
|
419
391
|
path: "organize",
|
|
420
392
|
handle: { permissions: "product_categories:edit" },
|
|
421
|
-
lazy: () => import("./category-organize-
|
|
393
|
+
lazy: () => import("./category-organize-EPEKZLIU.js")
|
|
422
394
|
}
|
|
423
395
|
]
|
|
424
396
|
},
|
|
425
397
|
{
|
|
426
398
|
path: ":id",
|
|
427
399
|
lazy: async () => {
|
|
428
|
-
const { Breadcrumb, loader } = await import("./category-detail-
|
|
400
|
+
const { Breadcrumb, loader } = await import("./category-detail-XYXPRDG6.js");
|
|
429
401
|
return {
|
|
430
402
|
Component: Outlet3,
|
|
431
403
|
loader: withPermission(loader, "product_categories:view"),
|
|
432
404
|
handle: {
|
|
433
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
405
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
434
406
|
}
|
|
435
407
|
};
|
|
436
408
|
},
|
|
437
409
|
children: [
|
|
438
410
|
{
|
|
439
411
|
path: "",
|
|
440
|
-
lazy: () => import("./category-detail-
|
|
412
|
+
lazy: () => import("./category-detail-XYXPRDG6.js").then(withLoaderPermission("product_categories:view")),
|
|
441
413
|
children: [
|
|
442
414
|
{
|
|
443
415
|
path: "edit",
|
|
444
416
|
handle: { permissions: "product_categories:edit" },
|
|
445
|
-
lazy: () => import("./category-edit-
|
|
417
|
+
lazy: () => import("./category-edit-OE4ONHT6.js")
|
|
446
418
|
},
|
|
447
419
|
{
|
|
448
420
|
path: "media",
|
|
449
421
|
handle: { permissions: "product_categories:edit" },
|
|
450
|
-
lazy: () => import("./category-media-
|
|
422
|
+
lazy: () => import("./category-media-WNBMNSD7.js")
|
|
451
423
|
},
|
|
452
424
|
{
|
|
453
425
|
path: "icon/edit",
|
|
454
426
|
handle: { permissions: "product_categories:edit" },
|
|
455
|
-
lazy: () => import("./category-icon-edit-
|
|
427
|
+
lazy: () => import("./category-icon-edit-PW5CAWMU.js")
|
|
456
428
|
},
|
|
457
429
|
{
|
|
458
430
|
path: "products",
|
|
459
431
|
handle: { permissions: ["product_categories:edit", "products:view"] },
|
|
460
|
-
lazy: () => import("./category-products-
|
|
432
|
+
lazy: () => import("./category-products-AE44IYFB.js")
|
|
461
433
|
},
|
|
462
434
|
{
|
|
463
435
|
path: "organize",
|
|
464
436
|
handle: { permissions: "product_categories:edit" },
|
|
465
|
-
lazy: () => import("./category-organize-
|
|
437
|
+
lazy: () => import("./category-organize-EPEKZLIU.js")
|
|
466
438
|
},
|
|
467
439
|
{
|
|
468
440
|
path: "metadata/edit",
|
|
469
441
|
handle: { permissions: "product_categories:edit" },
|
|
470
|
-
lazy: () => import("./categories-metadata-
|
|
442
|
+
lazy: () => import("./categories-metadata-5WRCUAYB.js")
|
|
471
443
|
}
|
|
472
444
|
]
|
|
473
445
|
}
|
|
@@ -477,7 +449,7 @@ function getRouteMap({
|
|
|
477
449
|
},
|
|
478
450
|
{
|
|
479
451
|
path: "/orders",
|
|
480
|
-
errorElement: /* @__PURE__ */
|
|
452
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
481
453
|
handle: {
|
|
482
454
|
breadcrumb: () => t("orders.domain"),
|
|
483
455
|
permissions: "orders:view"
|
|
@@ -485,74 +457,74 @@ function getRouteMap({
|
|
|
485
457
|
children: [
|
|
486
458
|
{
|
|
487
459
|
path: "",
|
|
488
|
-
lazy: () => import("./order-list-
|
|
460
|
+
lazy: () => import("./order-list-JQHYTMPK.js")
|
|
489
461
|
},
|
|
490
462
|
{
|
|
491
463
|
path: ":id",
|
|
492
464
|
lazy: async () => {
|
|
493
|
-
const { Breadcrumb, loader } = await import("./order-detail-
|
|
465
|
+
const { Breadcrumb, loader } = await import("./order-detail-UGTEV6YA.js");
|
|
494
466
|
return {
|
|
495
467
|
Component: Outlet3,
|
|
496
468
|
loader: withPermission(loader, "orders:view"),
|
|
497
469
|
handle: {
|
|
498
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
470
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
499
471
|
}
|
|
500
472
|
};
|
|
501
473
|
},
|
|
502
474
|
children: [
|
|
503
475
|
{
|
|
504
476
|
path: "",
|
|
505
|
-
lazy: () => import("./order-detail-
|
|
477
|
+
lazy: () => import("./order-detail-UGTEV6YA.js").then(withLoaderPermission("orders:view")),
|
|
506
478
|
children: [
|
|
507
479
|
{
|
|
508
480
|
path: "returns",
|
|
509
481
|
handle: { permissions: "orders.returns:edit" },
|
|
510
|
-
lazy: () => import("./order-create-return-
|
|
482
|
+
lazy: () => import("./order-create-return-6H2QQN4E.js")
|
|
511
483
|
},
|
|
512
484
|
{
|
|
513
485
|
path: "claims",
|
|
514
486
|
handle: { permissions: "orders.returns:edit" },
|
|
515
|
-
lazy: () => import("./order-create-claim-
|
|
487
|
+
lazy: () => import("./order-create-claim-RSZ3M7TG.js")
|
|
516
488
|
},
|
|
517
489
|
{
|
|
518
490
|
path: "exchanges",
|
|
519
491
|
handle: { permissions: "orders.returns:edit" },
|
|
520
|
-
lazy: () => import("./order-create-exchange-
|
|
492
|
+
lazy: () => import("./order-create-exchange-BJK7VBZJ.js")
|
|
521
493
|
},
|
|
522
494
|
{
|
|
523
495
|
path: "edits",
|
|
524
496
|
handle: { permissions: "orders.edits:edit" },
|
|
525
|
-
lazy: () => import("./order-create-edit-
|
|
497
|
+
lazy: () => import("./order-create-edit-ZOXREL6X.js")
|
|
526
498
|
},
|
|
527
499
|
{
|
|
528
500
|
path: "refund",
|
|
529
501
|
handle: { permissions: "orders.refunds:edit" },
|
|
530
|
-
lazy: () => import("./order-create-refund-
|
|
502
|
+
lazy: () => import("./order-create-refund-HCWHO7UA.js")
|
|
531
503
|
},
|
|
532
504
|
{
|
|
533
505
|
path: "transfer",
|
|
534
506
|
handle: { permissions: "orders:edit" },
|
|
535
|
-
lazy: () => import("./order-request-transfer-
|
|
507
|
+
lazy: () => import("./order-request-transfer-5Z5ASYLA.js")
|
|
536
508
|
},
|
|
537
509
|
{
|
|
538
510
|
path: "email",
|
|
539
511
|
handle: { permissions: "orders:edit" },
|
|
540
|
-
lazy: () => import("./order-edit-email-
|
|
512
|
+
lazy: () => import("./order-edit-email-6W3ZFJP3.js")
|
|
541
513
|
},
|
|
542
514
|
{
|
|
543
515
|
path: "shipping-address",
|
|
544
516
|
handle: { permissions: "orders:edit" },
|
|
545
|
-
lazy: () => import("./order-edit-shipping-address-
|
|
517
|
+
lazy: () => import("./order-edit-shipping-address-EAN3RL44.js")
|
|
546
518
|
},
|
|
547
519
|
{
|
|
548
520
|
path: "billing-address",
|
|
549
521
|
handle: { permissions: "orders:edit" },
|
|
550
|
-
lazy: () => import("./order-edit-billing-address-
|
|
522
|
+
lazy: () => import("./order-edit-billing-address-L7OB7DT4.js")
|
|
551
523
|
},
|
|
552
524
|
{
|
|
553
525
|
path: "metadata/edit",
|
|
554
526
|
handle: { permissions: "orders:edit" },
|
|
555
|
-
lazy: () => import("./order-metadata-
|
|
527
|
+
lazy: () => import("./order-metadata-H55SOYPV.js")
|
|
556
528
|
}
|
|
557
529
|
]
|
|
558
530
|
}
|
|
@@ -562,7 +534,7 @@ function getRouteMap({
|
|
|
562
534
|
},
|
|
563
535
|
{
|
|
564
536
|
path: "/promotions",
|
|
565
|
-
errorElement: /* @__PURE__ */
|
|
537
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
566
538
|
handle: {
|
|
567
539
|
breadcrumb: () => t("promotions.domain"),
|
|
568
540
|
permissions: "promotions:view"
|
|
@@ -570,44 +542,44 @@ function getRouteMap({
|
|
|
570
542
|
children: [
|
|
571
543
|
{
|
|
572
544
|
path: "",
|
|
573
|
-
lazy: () => import("./promotion-list-
|
|
545
|
+
lazy: () => import("./promotion-list-DTEMWIUT.js")
|
|
574
546
|
},
|
|
575
547
|
{
|
|
576
548
|
path: "create",
|
|
577
549
|
handle: { permissions: "promotions:edit" },
|
|
578
|
-
lazy: () => import("./promotion-create-
|
|
550
|
+
lazy: () => import("./promotion-create-6Q2ZXHUG.js")
|
|
579
551
|
},
|
|
580
552
|
{
|
|
581
553
|
path: ":id",
|
|
582
554
|
lazy: async () => {
|
|
583
|
-
const { Breadcrumb, loader } = await import("./promotion-detail-
|
|
555
|
+
const { Breadcrumb, loader } = await import("./promotion-detail-QYNXRGMO.js");
|
|
584
556
|
return {
|
|
585
557
|
Component: Outlet3,
|
|
586
558
|
loader: withPermission(loader, "promotions:view"),
|
|
587
559
|
handle: {
|
|
588
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
560
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
589
561
|
}
|
|
590
562
|
};
|
|
591
563
|
},
|
|
592
564
|
children: [
|
|
593
565
|
{
|
|
594
566
|
path: "",
|
|
595
|
-
lazy: () => import("./promotion-detail-
|
|
567
|
+
lazy: () => import("./promotion-detail-QYNXRGMO.js").then(withLoaderPermission("promotions:view")),
|
|
596
568
|
children: [
|
|
597
569
|
{
|
|
598
570
|
path: "edit",
|
|
599
571
|
handle: { permissions: "promotions:edit" },
|
|
600
|
-
lazy: () => import("./promotion-edit-details-
|
|
572
|
+
lazy: () => import("./promotion-edit-details-7RJ5KQDZ.js")
|
|
601
573
|
},
|
|
602
574
|
{
|
|
603
575
|
path: "add-to-campaign",
|
|
604
576
|
handle: { permissions: ["promotions:edit", "campaigns:view"] },
|
|
605
|
-
lazy: () => import("./promotion-add-campaign-
|
|
577
|
+
lazy: () => import("./promotion-add-campaign-AM7UUMYW.js")
|
|
606
578
|
},
|
|
607
579
|
{
|
|
608
580
|
path: ":ruleType/edit",
|
|
609
581
|
handle: { permissions: "promotions:edit" },
|
|
610
|
-
lazy: () => import("./edit-rules-
|
|
582
|
+
lazy: () => import("./edit-rules-D2ETXYOG.js")
|
|
611
583
|
}
|
|
612
584
|
]
|
|
613
585
|
}
|
|
@@ -617,7 +589,7 @@ function getRouteMap({
|
|
|
617
589
|
},
|
|
618
590
|
{
|
|
619
591
|
path: "/campaigns",
|
|
620
|
-
errorElement: /* @__PURE__ */
|
|
592
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
621
593
|
handle: {
|
|
622
594
|
breadcrumb: () => t("campaigns.domain"),
|
|
623
595
|
permissions: "campaigns:view"
|
|
@@ -625,50 +597,50 @@ function getRouteMap({
|
|
|
625
597
|
children: [
|
|
626
598
|
{
|
|
627
599
|
path: "",
|
|
628
|
-
lazy: () => import("./campaign-list-
|
|
600
|
+
lazy: () => import("./campaign-list-MHCSLAYG.js"),
|
|
629
601
|
children: []
|
|
630
602
|
},
|
|
631
603
|
{
|
|
632
604
|
path: "create",
|
|
633
605
|
handle: { permissions: "campaigns:edit" },
|
|
634
|
-
lazy: () => import("./campaign-create-
|
|
606
|
+
lazy: () => import("./campaign-create-GI44VXL5.js")
|
|
635
607
|
},
|
|
636
608
|
{
|
|
637
609
|
path: ":id",
|
|
638
610
|
lazy: async () => {
|
|
639
|
-
const { Breadcrumb, loader } = await import("./campaign-detail-
|
|
611
|
+
const { Breadcrumb, loader } = await import("./campaign-detail-CQLFD5TR.js");
|
|
640
612
|
return {
|
|
641
613
|
Component: Outlet3,
|
|
642
614
|
loader: withPermission(loader, "campaigns:view"),
|
|
643
615
|
handle: {
|
|
644
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
616
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
645
617
|
}
|
|
646
618
|
};
|
|
647
619
|
},
|
|
648
620
|
children: [
|
|
649
621
|
{
|
|
650
622
|
path: "",
|
|
651
|
-
lazy: () => import("./campaign-detail-
|
|
623
|
+
lazy: () => import("./campaign-detail-CQLFD5TR.js").then(withLoaderPermission("campaigns:view")),
|
|
652
624
|
children: [
|
|
653
625
|
{
|
|
654
626
|
path: "edit",
|
|
655
627
|
handle: { permissions: "campaigns:edit" },
|
|
656
|
-
lazy: () => import("./campaign-edit-
|
|
628
|
+
lazy: () => import("./campaign-edit-YIGWVRGP.js")
|
|
657
629
|
},
|
|
658
630
|
{
|
|
659
631
|
path: "configuration",
|
|
660
632
|
handle: { permissions: "campaigns:edit" },
|
|
661
|
-
lazy: () => import("./campaign-configuration-
|
|
633
|
+
lazy: () => import("./campaign-configuration-WDDM7RZ2.js")
|
|
662
634
|
},
|
|
663
635
|
{
|
|
664
636
|
path: "edit-budget",
|
|
665
637
|
handle: { permissions: "campaigns:edit" },
|
|
666
|
-
lazy: () => import("./campaign-budget-edit-
|
|
638
|
+
lazy: () => import("./campaign-budget-edit-JFWPF2NO.js")
|
|
667
639
|
},
|
|
668
640
|
{
|
|
669
641
|
path: "add-promotions",
|
|
670
642
|
handle: { permissions: ["campaigns:edit", "promotions:view"] },
|
|
671
|
-
lazy: () => import("./add-campaign-promotions-
|
|
643
|
+
lazy: () => import("./add-campaign-promotions-I2RE2TFI.js")
|
|
672
644
|
}
|
|
673
645
|
]
|
|
674
646
|
}
|
|
@@ -678,7 +650,7 @@ function getRouteMap({
|
|
|
678
650
|
},
|
|
679
651
|
{
|
|
680
652
|
path: "/reviews",
|
|
681
|
-
errorElement: /* @__PURE__ */
|
|
653
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
682
654
|
handle: {
|
|
683
655
|
breadcrumb: () => t("reviews.domain"),
|
|
684
656
|
permissions: "reviews:view"
|
|
@@ -686,7 +658,7 @@ function getRouteMap({
|
|
|
686
658
|
children: [
|
|
687
659
|
{
|
|
688
660
|
path: "",
|
|
689
|
-
lazy: () => import("./review-list-
|
|
661
|
+
lazy: () => import("./review-list-PR4KAUEG.js"),
|
|
690
662
|
children: []
|
|
691
663
|
},
|
|
692
664
|
{
|
|
@@ -697,7 +669,7 @@ function getRouteMap({
|
|
|
697
669
|
Component: Outlet3,
|
|
698
670
|
loader: withPermission(loader, "reviews:view"),
|
|
699
671
|
handle: {
|
|
700
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
672
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
701
673
|
}
|
|
702
674
|
};
|
|
703
675
|
},
|
|
@@ -724,7 +696,7 @@ function getRouteMap({
|
|
|
724
696
|
},
|
|
725
697
|
{
|
|
726
698
|
path: "/collections",
|
|
727
|
-
errorElement: /* @__PURE__ */
|
|
699
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
728
700
|
handle: {
|
|
729
701
|
breadcrumb: () => t("collections.domain"),
|
|
730
702
|
permissions: "product_collections:view"
|
|
@@ -732,56 +704,56 @@ function getRouteMap({
|
|
|
732
704
|
children: [
|
|
733
705
|
{
|
|
734
706
|
path: "",
|
|
735
|
-
lazy: () => import("./collection-list-
|
|
707
|
+
lazy: () => import("./collection-list-T7LIHCSO.js"),
|
|
736
708
|
children: [
|
|
737
709
|
{
|
|
738
710
|
path: "create",
|
|
739
711
|
handle: { permissions: "product_collections:edit" },
|
|
740
|
-
lazy: () => import("./collection-create-
|
|
712
|
+
lazy: () => import("./collection-create-OFAKZT3H.js")
|
|
741
713
|
}
|
|
742
714
|
]
|
|
743
715
|
},
|
|
744
716
|
{
|
|
745
717
|
path: ":id",
|
|
746
718
|
lazy: async () => {
|
|
747
|
-
const { Breadcrumb, loader } = await import("./collection-detail-
|
|
719
|
+
const { Breadcrumb, loader } = await import("./collection-detail-SA3GXCYV.js");
|
|
748
720
|
return {
|
|
749
721
|
Component: Outlet3,
|
|
750
722
|
loader: withPermission(loader, "product_collections:view"),
|
|
751
723
|
handle: {
|
|
752
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
724
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
753
725
|
}
|
|
754
726
|
};
|
|
755
727
|
},
|
|
756
728
|
children: [
|
|
757
729
|
{
|
|
758
730
|
path: "",
|
|
759
|
-
lazy: () => import("./collection-detail-
|
|
731
|
+
lazy: () => import("./collection-detail-SA3GXCYV.js").then(withLoaderPermission("product_collections:view")),
|
|
760
732
|
children: [
|
|
761
733
|
{
|
|
762
734
|
path: "edit",
|
|
763
735
|
handle: { permissions: "product_collections:edit" },
|
|
764
|
-
lazy: () => import("./collection-edit-
|
|
736
|
+
lazy: () => import("./collection-edit-VVUKOHZO.js")
|
|
765
737
|
},
|
|
766
738
|
{
|
|
767
739
|
path: "media",
|
|
768
740
|
handle: { permissions: "product_collections:edit" },
|
|
769
|
-
lazy: () => import("./collection-media-
|
|
741
|
+
lazy: () => import("./collection-media-SW6O54X5.js")
|
|
770
742
|
},
|
|
771
743
|
{
|
|
772
744
|
path: "icon/edit",
|
|
773
745
|
handle: { permissions: "product_collections:edit" },
|
|
774
|
-
lazy: () => import("./collection-icon-edit-
|
|
746
|
+
lazy: () => import("./collection-icon-edit-ZEOV47DV.js")
|
|
775
747
|
},
|
|
776
748
|
{
|
|
777
749
|
path: "products",
|
|
778
750
|
handle: { permissions: ["product_collections:edit", "products:view"] },
|
|
779
|
-
lazy: () => import("./collection-add-products-
|
|
751
|
+
lazy: () => import("./collection-add-products-YGSJTBLG.js")
|
|
780
752
|
},
|
|
781
753
|
{
|
|
782
754
|
path: "metadata/edit",
|
|
783
755
|
handle: { permissions: "product_collections:edit" },
|
|
784
|
-
lazy: () => import("./collection-metadata-
|
|
756
|
+
lazy: () => import("./collection-metadata-D56TMA2O.js")
|
|
785
757
|
}
|
|
786
758
|
]
|
|
787
759
|
}
|
|
@@ -791,7 +763,7 @@ function getRouteMap({
|
|
|
791
763
|
},
|
|
792
764
|
{
|
|
793
765
|
path: "/price-lists",
|
|
794
|
-
errorElement: /* @__PURE__ */
|
|
766
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
795
767
|
handle: {
|
|
796
768
|
breadcrumb: () => t("priceLists.domain"),
|
|
797
769
|
permissions: "price_lists:view"
|
|
@@ -799,56 +771,56 @@ function getRouteMap({
|
|
|
799
771
|
children: [
|
|
800
772
|
{
|
|
801
773
|
path: "",
|
|
802
|
-
lazy: () => import("./price-list-list-
|
|
774
|
+
lazy: () => import("./price-list-list-HTAI5DW4.js"),
|
|
803
775
|
children: [
|
|
804
776
|
{
|
|
805
777
|
path: "create",
|
|
806
778
|
handle: { permissions: "price_lists:edit" },
|
|
807
|
-
lazy: () => import("./price-list-create-
|
|
779
|
+
lazy: () => import("./price-list-create-MZBAANRE.js")
|
|
808
780
|
}
|
|
809
781
|
]
|
|
810
782
|
},
|
|
811
783
|
{
|
|
812
784
|
path: ":id",
|
|
813
785
|
lazy: async () => {
|
|
814
|
-
const { Breadcrumb, loader } = await import("./price-list-detail-
|
|
786
|
+
const { Breadcrumb, loader } = await import("./price-list-detail-GHBU34II.js");
|
|
815
787
|
return {
|
|
816
788
|
Component: Outlet3,
|
|
817
789
|
loader: withPermission(loader, "price_lists:view"),
|
|
818
790
|
handle: {
|
|
819
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
791
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
820
792
|
}
|
|
821
793
|
};
|
|
822
794
|
},
|
|
823
795
|
children: [
|
|
824
796
|
{
|
|
825
797
|
path: "",
|
|
826
|
-
lazy: () => import("./price-list-detail-
|
|
798
|
+
lazy: () => import("./price-list-detail-GHBU34II.js").then(withLoaderPermission("price_lists:view")),
|
|
827
799
|
children: [
|
|
828
800
|
{
|
|
829
801
|
path: "edit",
|
|
830
802
|
handle: { permissions: "price_lists:edit" },
|
|
831
|
-
lazy: () => import("./price-list-edit-
|
|
803
|
+
lazy: () => import("./price-list-edit-HTL5XNKZ.js")
|
|
832
804
|
},
|
|
833
805
|
{
|
|
834
806
|
path: "configuration",
|
|
835
807
|
handle: { permissions: "price_lists:edit" },
|
|
836
|
-
lazy: () => import("./price-list-configuration-
|
|
808
|
+
lazy: () => import("./price-list-configuration-OT3FSLYS.js")
|
|
837
809
|
},
|
|
838
810
|
{
|
|
839
811
|
path: "customer-availability",
|
|
840
812
|
handle: { permissions: "price_lists:edit" },
|
|
841
|
-
lazy: () => import("./price-list-customer-availability-
|
|
813
|
+
lazy: () => import("./price-list-customer-availability-W5MPRJAP.js")
|
|
842
814
|
},
|
|
843
815
|
{
|
|
844
816
|
path: "products/add",
|
|
845
817
|
handle: { permissions: "price_lists:edit" },
|
|
846
|
-
lazy: () => import("./price-list-prices-add-
|
|
818
|
+
lazy: () => import("./price-list-prices-add-PU3QIZ6C.js")
|
|
847
819
|
},
|
|
848
820
|
{
|
|
849
821
|
path: "products/edit",
|
|
850
822
|
handle: { permissions: "price_lists:edit" },
|
|
851
|
-
lazy: () => import("./price-list-prices-edit-
|
|
823
|
+
lazy: () => import("./price-list-prices-edit-U5JMSZR2.js")
|
|
852
824
|
}
|
|
853
825
|
]
|
|
854
826
|
}
|
|
@@ -858,7 +830,7 @@ function getRouteMap({
|
|
|
858
830
|
},
|
|
859
831
|
{
|
|
860
832
|
path: "/customers",
|
|
861
|
-
errorElement: /* @__PURE__ */
|
|
833
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
862
834
|
handle: {
|
|
863
835
|
breadcrumb: () => t("customers.domain"),
|
|
864
836
|
permissions: "customers:view"
|
|
@@ -866,61 +838,61 @@ function getRouteMap({
|
|
|
866
838
|
children: [
|
|
867
839
|
{
|
|
868
840
|
path: "",
|
|
869
|
-
lazy: () => import("./customer-list-
|
|
841
|
+
lazy: () => import("./customer-list-NAWGRWW3.js"),
|
|
870
842
|
children: [
|
|
871
843
|
{
|
|
872
844
|
path: "create",
|
|
873
845
|
handle: { permissions: "customers:edit" },
|
|
874
|
-
lazy: () => import("./customer-create-
|
|
846
|
+
lazy: () => import("./customer-create-XAXPKUME.js")
|
|
875
847
|
}
|
|
876
848
|
]
|
|
877
849
|
},
|
|
878
850
|
{
|
|
879
851
|
path: ":id",
|
|
880
852
|
lazy: async () => {
|
|
881
|
-
const { Breadcrumb, loader } = await import("./customer-detail-
|
|
853
|
+
const { Breadcrumb, loader } = await import("./customer-detail-X4QO7R4I.js");
|
|
882
854
|
return {
|
|
883
855
|
Component: Outlet3,
|
|
884
856
|
loader: withPermission(loader, "customers:view"),
|
|
885
857
|
handle: {
|
|
886
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
858
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
887
859
|
}
|
|
888
860
|
};
|
|
889
861
|
},
|
|
890
862
|
children: [
|
|
891
863
|
{
|
|
892
864
|
path: "",
|
|
893
|
-
lazy: () => import("./customer-detail-
|
|
865
|
+
lazy: () => import("./customer-detail-X4QO7R4I.js").then(withLoaderPermission("customers:view")),
|
|
894
866
|
children: [
|
|
895
867
|
{
|
|
896
868
|
path: "edit",
|
|
897
869
|
handle: { permissions: "customers:edit" },
|
|
898
|
-
lazy: () => import("./customer-edit-
|
|
870
|
+
lazy: () => import("./customer-edit-I7P7LOHG.js")
|
|
899
871
|
},
|
|
900
872
|
{
|
|
901
873
|
path: "create-address",
|
|
902
874
|
handle: { permissions: "customers:edit" },
|
|
903
|
-
lazy: () => import("./customer-create-address-
|
|
875
|
+
lazy: () => import("./customer-create-address-DK7B6UQG.js")
|
|
904
876
|
},
|
|
905
877
|
{
|
|
906
878
|
path: "edit-address/:address_id",
|
|
907
879
|
handle: { permissions: "customers:edit" },
|
|
908
|
-
lazy: () => import("./customer-edit-address-
|
|
880
|
+
lazy: () => import("./customer-edit-address-Z3ITANMQ.js")
|
|
909
881
|
},
|
|
910
882
|
{
|
|
911
883
|
path: "add-customer-groups",
|
|
912
884
|
handle: { permissions: ["customers:edit", "customer_groups:view"] },
|
|
913
|
-
lazy: () => import("./customers-add-customer-group-
|
|
885
|
+
lazy: () => import("./customers-add-customer-group-MRUPG2NL.js")
|
|
914
886
|
},
|
|
915
887
|
{
|
|
916
888
|
path: ":order_id/transfer",
|
|
917
889
|
handle: { permissions: "orders:edit" },
|
|
918
|
-
lazy: () => import("./order-request-transfer-
|
|
890
|
+
lazy: () => import("./order-request-transfer-5Z5ASYLA.js")
|
|
919
891
|
},
|
|
920
892
|
{
|
|
921
893
|
path: "metadata/edit",
|
|
922
894
|
handle: { permissions: "customers:edit" },
|
|
923
|
-
lazy: () => import("./customer-metadata-
|
|
895
|
+
lazy: () => import("./customer-metadata-PX4675YG.js")
|
|
924
896
|
}
|
|
925
897
|
]
|
|
926
898
|
}
|
|
@@ -930,7 +902,7 @@ function getRouteMap({
|
|
|
930
902
|
},
|
|
931
903
|
{
|
|
932
904
|
path: "/customer-groups",
|
|
933
|
-
errorElement: /* @__PURE__ */
|
|
905
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
934
906
|
handle: {
|
|
935
907
|
breadcrumb: () => t("customerGroups.domain"),
|
|
936
908
|
permissions: "customer_groups:view"
|
|
@@ -938,46 +910,46 @@ function getRouteMap({
|
|
|
938
910
|
children: [
|
|
939
911
|
{
|
|
940
912
|
path: "",
|
|
941
|
-
lazy: () => import("./customer-group-list-
|
|
913
|
+
lazy: () => import("./customer-group-list-W6AAEMJZ.js"),
|
|
942
914
|
children: [
|
|
943
915
|
{
|
|
944
916
|
path: "create",
|
|
945
917
|
handle: { permissions: "customer_groups:edit" },
|
|
946
|
-
lazy: () => import("./customer-group-create-
|
|
918
|
+
lazy: () => import("./customer-group-create-F4UVX2LS.js")
|
|
947
919
|
}
|
|
948
920
|
]
|
|
949
921
|
},
|
|
950
922
|
{
|
|
951
923
|
path: ":id",
|
|
952
924
|
lazy: async () => {
|
|
953
|
-
const { Breadcrumb, loader } = await import("./customer-group-detail-
|
|
925
|
+
const { Breadcrumb, loader } = await import("./customer-group-detail-5SI2UEWT.js");
|
|
954
926
|
return {
|
|
955
927
|
Component: Outlet3,
|
|
956
928
|
loader: withPermission(loader, "customer_groups:view"),
|
|
957
929
|
handle: {
|
|
958
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
930
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
959
931
|
}
|
|
960
932
|
};
|
|
961
933
|
},
|
|
962
934
|
children: [
|
|
963
935
|
{
|
|
964
936
|
path: "",
|
|
965
|
-
lazy: () => import("./customer-group-detail-
|
|
937
|
+
lazy: () => import("./customer-group-detail-5SI2UEWT.js").then(withLoaderPermission("customer_groups:view")),
|
|
966
938
|
children: [
|
|
967
939
|
{
|
|
968
940
|
path: "edit",
|
|
969
941
|
handle: { permissions: "customer_groups:edit" },
|
|
970
|
-
lazy: () => import("./customer-group-edit-
|
|
942
|
+
lazy: () => import("./customer-group-edit-6YA2JKV5.js")
|
|
971
943
|
},
|
|
972
944
|
{
|
|
973
945
|
path: "add-customers",
|
|
974
946
|
handle: { permissions: ["customer_groups:edit", "customers:view"] },
|
|
975
|
-
lazy: () => import("./customer-group-add-customers-
|
|
947
|
+
lazy: () => import("./customer-group-add-customers-OIRQOJFT.js")
|
|
976
948
|
},
|
|
977
949
|
{
|
|
978
950
|
path: "metadata/edit",
|
|
979
951
|
handle: { permissions: "customer_groups:edit" },
|
|
980
|
-
lazy: () => import("./customer-group-metadata-
|
|
952
|
+
lazy: () => import("./customer-group-metadata-ZULCBXZT.js")
|
|
981
953
|
}
|
|
982
954
|
]
|
|
983
955
|
}
|
|
@@ -987,7 +959,7 @@ function getRouteMap({
|
|
|
987
959
|
},
|
|
988
960
|
{
|
|
989
961
|
path: "/stores",
|
|
990
|
-
errorElement: /* @__PURE__ */
|
|
962
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
991
963
|
handle: {
|
|
992
964
|
breadcrumb: () => t("stores.domain"),
|
|
993
965
|
permissions: "sellers:view"
|
|
@@ -995,70 +967,70 @@ function getRouteMap({
|
|
|
995
967
|
children: [
|
|
996
968
|
{
|
|
997
969
|
path: "",
|
|
998
|
-
lazy: () => import("./store-list-
|
|
970
|
+
lazy: () => import("./store-list-MSXINJBB.js"),
|
|
999
971
|
children: [
|
|
1000
972
|
{
|
|
1001
973
|
path: "create",
|
|
1002
974
|
handle: { permissions: "sellers:edit" },
|
|
1003
|
-
lazy: () => import("./store-create-
|
|
975
|
+
lazy: () => import("./store-create-XODKGAQB.js")
|
|
1004
976
|
},
|
|
1005
977
|
{
|
|
1006
978
|
path: "bulk-edit",
|
|
1007
979
|
handle: { permissions: "sellers:edit" },
|
|
1008
|
-
lazy: () => import("./store-bulk-edit-
|
|
980
|
+
lazy: () => import("./store-bulk-edit-26DGX4KW.js")
|
|
1009
981
|
}
|
|
1010
982
|
]
|
|
1011
983
|
},
|
|
1012
984
|
{
|
|
1013
985
|
path: ":id",
|
|
1014
986
|
lazy: async () => {
|
|
1015
|
-
const { Breadcrumb } = await import("./store-details-
|
|
987
|
+
const { Breadcrumb } = await import("./store-details-CTXOMJ4F.js");
|
|
1016
988
|
return {
|
|
1017
989
|
Component: Outlet3,
|
|
1018
990
|
handle: {
|
|
1019
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
991
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1020
992
|
}
|
|
1021
993
|
};
|
|
1022
994
|
},
|
|
1023
995
|
children: [
|
|
1024
996
|
{
|
|
1025
997
|
path: "",
|
|
1026
|
-
lazy: () => import("./store-details-
|
|
998
|
+
lazy: () => import("./store-details-CTXOMJ4F.js").then(withLoaderPermission("sellers:view")),
|
|
1027
999
|
children: [
|
|
1028
1000
|
{
|
|
1029
1001
|
path: "edit",
|
|
1030
1002
|
handle: { permissions: "sellers:edit" },
|
|
1031
|
-
lazy: () => import("./store-edit-
|
|
1003
|
+
lazy: () => import("./store-edit-6G62NLNK.js")
|
|
1032
1004
|
},
|
|
1033
1005
|
{
|
|
1034
1006
|
path: "edit-address",
|
|
1035
1007
|
handle: { permissions: "sellers:edit" },
|
|
1036
|
-
lazy: () => import("./store-address-edit-
|
|
1008
|
+
lazy: () => import("./store-address-edit-BWDVQ4AO.js")
|
|
1037
1009
|
},
|
|
1038
1010
|
{
|
|
1039
1011
|
path: "professional-details",
|
|
1040
1012
|
handle: { permissions: "sellers:edit" },
|
|
1041
|
-
lazy: () => import("./store-professional-details-edit-
|
|
1013
|
+
lazy: () => import("./store-professional-details-edit-QRB6EBTP.js")
|
|
1042
1014
|
},
|
|
1043
1015
|
{
|
|
1044
1016
|
path: "payment-details",
|
|
1045
1017
|
handle: { permissions: "sellers:edit" },
|
|
1046
|
-
lazy: () => import("./store-payment-details-edit-
|
|
1018
|
+
lazy: () => import("./store-payment-details-edit-RQNDJCYW.js")
|
|
1047
1019
|
},
|
|
1048
1020
|
{
|
|
1049
1021
|
path: "store-closure",
|
|
1050
1022
|
handle: { permissions: "sellers:edit" },
|
|
1051
|
-
lazy: () => import("./store-closure-edit-
|
|
1023
|
+
lazy: () => import("./store-closure-edit-7SUR4F2K.js")
|
|
1052
1024
|
},
|
|
1053
1025
|
{
|
|
1054
1026
|
path: "invite",
|
|
1055
1027
|
handle: { permissions: "members.invites:edit" },
|
|
1056
|
-
lazy: () => import("./store-member-invite-
|
|
1028
|
+
lazy: () => import("./store-member-invite-KHZD23MS.js")
|
|
1057
1029
|
},
|
|
1058
1030
|
{
|
|
1059
1031
|
path: "regions/add",
|
|
1060
1032
|
handle: { permissions: "sellers:edit" },
|
|
1061
|
-
lazy: () => import("./store-add-regions-
|
|
1033
|
+
lazy: () => import("./store-add-regions-EOGPCBH4.js")
|
|
1062
1034
|
}
|
|
1063
1035
|
]
|
|
1064
1036
|
}
|
|
@@ -1068,7 +1040,7 @@ function getRouteMap({
|
|
|
1068
1040
|
},
|
|
1069
1041
|
{
|
|
1070
1042
|
path: "/payouts",
|
|
1071
|
-
errorElement: /* @__PURE__ */
|
|
1043
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1072
1044
|
handle: {
|
|
1073
1045
|
breadcrumb: () => "Payouts",
|
|
1074
1046
|
permissions: "payouts:view"
|
|
@@ -1076,24 +1048,24 @@ function getRouteMap({
|
|
|
1076
1048
|
children: [
|
|
1077
1049
|
{
|
|
1078
1050
|
path: "",
|
|
1079
|
-
lazy: () => import("./payout-list-
|
|
1051
|
+
lazy: () => import("./payout-list-LMWL45PW.js")
|
|
1080
1052
|
},
|
|
1081
1053
|
{
|
|
1082
1054
|
path: ":id",
|
|
1083
1055
|
lazy: async () => {
|
|
1084
|
-
const { Breadcrumb, loader } = await import("./payout-detail-
|
|
1056
|
+
const { Breadcrumb, loader } = await import("./payout-detail-TLN5EW23.js");
|
|
1085
1057
|
return {
|
|
1086
1058
|
Component: Outlet3,
|
|
1087
1059
|
loader: withPermission(loader, "payouts:view"),
|
|
1088
1060
|
handle: {
|
|
1089
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1061
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1090
1062
|
}
|
|
1091
1063
|
};
|
|
1092
1064
|
},
|
|
1093
1065
|
children: [
|
|
1094
1066
|
{
|
|
1095
1067
|
path: "",
|
|
1096
|
-
lazy: () => import("./payout-detail-
|
|
1068
|
+
lazy: () => import("./payout-detail-TLN5EW23.js").then(withLoaderPermission("payouts:view"))
|
|
1097
1069
|
}
|
|
1098
1070
|
]
|
|
1099
1071
|
}
|
|
@@ -1101,7 +1073,7 @@ function getRouteMap({
|
|
|
1101
1073
|
},
|
|
1102
1074
|
{
|
|
1103
1075
|
path: "/payout-accounts",
|
|
1104
|
-
errorElement: /* @__PURE__ */
|
|
1076
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1105
1077
|
handle: {
|
|
1106
1078
|
breadcrumb: () => t("payoutAccounts.domain"),
|
|
1107
1079
|
permissions: "payouts:view"
|
|
@@ -1109,24 +1081,24 @@ function getRouteMap({
|
|
|
1109
1081
|
children: [
|
|
1110
1082
|
{
|
|
1111
1083
|
path: "",
|
|
1112
|
-
lazy: () => import("./payout-account-list-
|
|
1084
|
+
lazy: () => import("./payout-account-list-RQNRNFIV.js")
|
|
1113
1085
|
},
|
|
1114
1086
|
{
|
|
1115
1087
|
path: ":id",
|
|
1116
1088
|
lazy: async () => {
|
|
1117
|
-
const { Breadcrumb, loader } = await import("./payout-account-detail-
|
|
1089
|
+
const { Breadcrumb, loader } = await import("./payout-account-detail-MHGZZIRD.js");
|
|
1118
1090
|
return {
|
|
1119
1091
|
Component: Outlet3,
|
|
1120
1092
|
loader: withPermission(loader, "payouts:view"),
|
|
1121
1093
|
handle: {
|
|
1122
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1094
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1123
1095
|
}
|
|
1124
1096
|
};
|
|
1125
1097
|
},
|
|
1126
1098
|
children: [
|
|
1127
1099
|
{
|
|
1128
1100
|
path: "",
|
|
1129
|
-
lazy: () => import("./payout-account-detail-
|
|
1101
|
+
lazy: () => import("./payout-account-detail-MHGZZIRD.js").then(withLoaderPermission("payouts:view"))
|
|
1130
1102
|
}
|
|
1131
1103
|
]
|
|
1132
1104
|
}
|
|
@@ -1134,7 +1106,7 @@ function getRouteMap({
|
|
|
1134
1106
|
},
|
|
1135
1107
|
{
|
|
1136
1108
|
path: "/reservations",
|
|
1137
|
-
errorElement: /* @__PURE__ */
|
|
1109
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1138
1110
|
handle: {
|
|
1139
1111
|
breadcrumb: () => t("reservations.domain"),
|
|
1140
1112
|
permissions: "reservations:view"
|
|
@@ -1142,41 +1114,41 @@ function getRouteMap({
|
|
|
1142
1114
|
children: [
|
|
1143
1115
|
{
|
|
1144
1116
|
path: "",
|
|
1145
|
-
lazy: () => import("./reservation-list-
|
|
1117
|
+
lazy: () => import("./reservation-list-MK6AFJ5N.js"),
|
|
1146
1118
|
children: [
|
|
1147
1119
|
{
|
|
1148
1120
|
path: "create",
|
|
1149
1121
|
handle: { permissions: "reservations:edit" },
|
|
1150
|
-
lazy: () => import("./reservation-create-
|
|
1122
|
+
lazy: () => import("./reservation-create-M7U5YGMU.js")
|
|
1151
1123
|
}
|
|
1152
1124
|
]
|
|
1153
1125
|
},
|
|
1154
1126
|
{
|
|
1155
1127
|
path: ":id",
|
|
1156
1128
|
lazy: async () => {
|
|
1157
|
-
const { Breadcrumb, loader } = await import("./reservation-detail-
|
|
1129
|
+
const { Breadcrumb, loader } = await import("./reservation-detail-FCLXXM7P.js");
|
|
1158
1130
|
return {
|
|
1159
1131
|
Component: Outlet3,
|
|
1160
1132
|
loader: withPermission(loader, "reservations:view"),
|
|
1161
1133
|
handle: {
|
|
1162
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1134
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1163
1135
|
}
|
|
1164
1136
|
};
|
|
1165
1137
|
},
|
|
1166
1138
|
children: [
|
|
1167
1139
|
{
|
|
1168
1140
|
path: "",
|
|
1169
|
-
lazy: () => import("./reservation-detail-
|
|
1141
|
+
lazy: () => import("./reservation-detail-FCLXXM7P.js").then(withLoaderPermission("reservations:view")),
|
|
1170
1142
|
children: [
|
|
1171
1143
|
{
|
|
1172
1144
|
path: "edit",
|
|
1173
1145
|
handle: { permissions: "reservations:edit" },
|
|
1174
|
-
lazy: () => import("./edit-reservation-
|
|
1146
|
+
lazy: () => import("./edit-reservation-7XALDPYA.js")
|
|
1175
1147
|
},
|
|
1176
1148
|
{
|
|
1177
1149
|
path: "metadata/edit",
|
|
1178
1150
|
handle: { permissions: "reservations:edit" },
|
|
1179
|
-
lazy: () => import("./reservation-metadata-
|
|
1151
|
+
lazy: () => import("./reservation-metadata-35N7FCGC.js")
|
|
1180
1152
|
}
|
|
1181
1153
|
]
|
|
1182
1154
|
}
|
|
@@ -1186,7 +1158,7 @@ function getRouteMap({
|
|
|
1186
1158
|
},
|
|
1187
1159
|
{
|
|
1188
1160
|
path: "/offers",
|
|
1189
|
-
errorElement: /* @__PURE__ */
|
|
1161
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1190
1162
|
handle: {
|
|
1191
1163
|
breadcrumb: () => t("offers.domain"),
|
|
1192
1164
|
permissions: ["offers:view", "products:view"]
|
|
@@ -1195,20 +1167,20 @@ function getRouteMap({
|
|
|
1195
1167
|
{
|
|
1196
1168
|
path: "",
|
|
1197
1169
|
lazy: async () => {
|
|
1198
|
-
const { OfferListPage } = await import("./offers-
|
|
1170
|
+
const { OfferListPage } = await import("./offers-BCT5ZNVV.js");
|
|
1199
1171
|
return { Component: OfferListPage };
|
|
1200
1172
|
}
|
|
1201
1173
|
},
|
|
1202
1174
|
{
|
|
1203
1175
|
path: ":id",
|
|
1204
1176
|
lazy: async () => {
|
|
1205
|
-
const { loader } = await import("./loader-
|
|
1206
|
-
const { Breadcrumb } = await import("./breadcrumb-
|
|
1177
|
+
const { loader } = await import("./loader-HZFVOO6G.js");
|
|
1178
|
+
const { Breadcrumb } = await import("./breadcrumb-5WEYNHQL.js");
|
|
1207
1179
|
return {
|
|
1208
1180
|
Component: Outlet3,
|
|
1209
1181
|
loader: withPermission(loader, ["offers:view", "products:view"]),
|
|
1210
1182
|
handle: {
|
|
1211
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1183
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1212
1184
|
}
|
|
1213
1185
|
};
|
|
1214
1186
|
},
|
|
@@ -1216,7 +1188,7 @@ function getRouteMap({
|
|
|
1216
1188
|
{
|
|
1217
1189
|
path: "",
|
|
1218
1190
|
lazy: async () => {
|
|
1219
|
-
const { OfferDetailPage } = await import("./offer-detail-page-
|
|
1191
|
+
const { OfferDetailPage } = await import("./offer-detail-page-KBX4DEFJ.js");
|
|
1220
1192
|
return { Component: OfferDetailPage };
|
|
1221
1193
|
}
|
|
1222
1194
|
},
|
|
@@ -1229,7 +1201,7 @@ function getRouteMap({
|
|
|
1229
1201
|
Component: Outlet3,
|
|
1230
1202
|
loader: withPermission(loader, ["offers:view", "products:view"]),
|
|
1231
1203
|
handle: {
|
|
1232
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1204
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1233
1205
|
}
|
|
1234
1206
|
};
|
|
1235
1207
|
},
|
|
@@ -1237,7 +1209,7 @@ function getRouteMap({
|
|
|
1237
1209
|
{
|
|
1238
1210
|
path: "",
|
|
1239
1211
|
lazy: async () => {
|
|
1240
|
-
const { OfferVariantDetailPage } = await import("./offer-variant-detail-page-
|
|
1212
|
+
const { OfferVariantDetailPage } = await import("./offer-variant-detail-page-TNNLDDNI.js");
|
|
1241
1213
|
return { Component: OfferVariantDetailPage };
|
|
1242
1214
|
}
|
|
1243
1215
|
}
|
|
@@ -1249,7 +1221,7 @@ function getRouteMap({
|
|
|
1249
1221
|
},
|
|
1250
1222
|
{
|
|
1251
1223
|
path: "/inventory",
|
|
1252
|
-
errorElement: /* @__PURE__ */
|
|
1224
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1253
1225
|
handle: {
|
|
1254
1226
|
breadcrumb: () => t("inventory.domain"),
|
|
1255
1227
|
permissions: "inventory_items:view"
|
|
@@ -1257,56 +1229,56 @@ function getRouteMap({
|
|
|
1257
1229
|
children: [
|
|
1258
1230
|
{
|
|
1259
1231
|
path: "",
|
|
1260
|
-
lazy: () => import("./inventory-list-
|
|
1232
|
+
lazy: () => import("./inventory-list-DPV4VMBB.js"),
|
|
1261
1233
|
children: [
|
|
1262
1234
|
{
|
|
1263
1235
|
path: "stock",
|
|
1264
1236
|
handle: { permissions: ["inventory_items:edit", "stock_locations:view"] },
|
|
1265
|
-
lazy: () => import("./inventory-stock-
|
|
1237
|
+
lazy: () => import("./inventory-stock-2KPY45VX.js")
|
|
1266
1238
|
}
|
|
1267
1239
|
]
|
|
1268
1240
|
},
|
|
1269
1241
|
{
|
|
1270
1242
|
path: ":id",
|
|
1271
1243
|
lazy: async () => {
|
|
1272
|
-
const { Breadcrumb, loader } = await import("./inventory-detail-
|
|
1244
|
+
const { Breadcrumb, loader } = await import("./inventory-detail-2QWJSRLT.js");
|
|
1273
1245
|
return {
|
|
1274
1246
|
Component: Outlet3,
|
|
1275
1247
|
loader: withPermission(loader, "inventory_items:view"),
|
|
1276
1248
|
handle: {
|
|
1277
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1249
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1278
1250
|
}
|
|
1279
1251
|
};
|
|
1280
1252
|
},
|
|
1281
1253
|
children: [
|
|
1282
1254
|
{
|
|
1283
1255
|
path: "",
|
|
1284
|
-
lazy: () => import("./inventory-detail-
|
|
1256
|
+
lazy: () => import("./inventory-detail-2QWJSRLT.js").then(withLoaderPermission("inventory_items:view")),
|
|
1285
1257
|
children: [
|
|
1286
1258
|
{
|
|
1287
1259
|
path: "edit",
|
|
1288
1260
|
handle: { permissions: "inventory_items:edit" },
|
|
1289
|
-
lazy: () => import("./edit-inventory-item-
|
|
1261
|
+
lazy: () => import("./edit-inventory-item-E4HTJCLW.js")
|
|
1290
1262
|
},
|
|
1291
1263
|
{
|
|
1292
1264
|
path: "attributes",
|
|
1293
1265
|
handle: { permissions: "inventory_items:edit" },
|
|
1294
|
-
lazy: () => import("./edit-inventory-item-attributes-
|
|
1266
|
+
lazy: () => import("./edit-inventory-item-attributes-DTFCKHA3.js")
|
|
1295
1267
|
},
|
|
1296
1268
|
{
|
|
1297
1269
|
path: "metadata/edit",
|
|
1298
1270
|
handle: { permissions: "inventory_items:edit" },
|
|
1299
|
-
lazy: () => import("./inventory-metadata-
|
|
1271
|
+
lazy: () => import("./inventory-metadata-ZOFBU2CS.js")
|
|
1300
1272
|
},
|
|
1301
1273
|
{
|
|
1302
1274
|
path: "locations",
|
|
1303
1275
|
handle: { permissions: ["inventory_items:edit", "stock_locations:view"] },
|
|
1304
|
-
lazy: () => import("./manage-locations-
|
|
1276
|
+
lazy: () => import("./manage-locations-AWAF7NHT.js")
|
|
1305
1277
|
},
|
|
1306
1278
|
{
|
|
1307
1279
|
path: "locations/:location_id",
|
|
1308
1280
|
handle: { permissions: "inventory_items:edit" },
|
|
1309
|
-
lazy: () => import("./adjust-inventory-
|
|
1281
|
+
lazy: () => import("./adjust-inventory-VN7VTEHC.js")
|
|
1310
1282
|
}
|
|
1311
1283
|
]
|
|
1312
1284
|
}
|
|
@@ -1323,40 +1295,40 @@ function getRouteMap({
|
|
|
1323
1295
|
]
|
|
1324
1296
|
},
|
|
1325
1297
|
{
|
|
1326
|
-
element: /* @__PURE__ */
|
|
1327
|
-
errorElement: /* @__PURE__ */
|
|
1298
|
+
element: /* @__PURE__ */ jsx3(ProtectedRoute, {}),
|
|
1299
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1328
1300
|
children: [
|
|
1329
1301
|
{
|
|
1330
1302
|
path: "/settings",
|
|
1331
1303
|
handle: {
|
|
1332
1304
|
breadcrumb: () => t("app.nav.settings.header")
|
|
1333
1305
|
},
|
|
1334
|
-
element: /* @__PURE__ */
|
|
1306
|
+
element: /* @__PURE__ */ jsx3(SettingsLayout, {}),
|
|
1335
1307
|
children: [
|
|
1336
1308
|
{
|
|
1337
|
-
element: /* @__PURE__ */
|
|
1309
|
+
element: /* @__PURE__ */ jsx3(RoutePermissionGuard, {}),
|
|
1338
1310
|
children: mergeRoutes(
|
|
1339
1311
|
[
|
|
1340
1312
|
{
|
|
1341
1313
|
index: true,
|
|
1342
|
-
errorElement: /* @__PURE__ */
|
|
1343
|
-
lazy: () => import("./settings-
|
|
1314
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1315
|
+
lazy: () => import("./settings-SQMRZHLN.js")
|
|
1344
1316
|
},
|
|
1345
1317
|
{
|
|
1346
1318
|
path: "profile",
|
|
1347
|
-
errorElement: /* @__PURE__ */
|
|
1348
|
-
element: /* @__PURE__ */
|
|
1319
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1320
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1349
1321
|
handle: {
|
|
1350
1322
|
breadcrumb: () => t("profile.domain")
|
|
1351
1323
|
},
|
|
1352
1324
|
children: [
|
|
1353
1325
|
{
|
|
1354
1326
|
path: "",
|
|
1355
|
-
lazy: () => import("./profile-detail-
|
|
1327
|
+
lazy: () => import("./profile-detail-4FHCZL5O.js"),
|
|
1356
1328
|
children: [
|
|
1357
1329
|
{
|
|
1358
1330
|
path: "edit",
|
|
1359
|
-
lazy: () => import("./profile-edit-
|
|
1331
|
+
lazy: () => import("./profile-edit-BQ27KAP6.js")
|
|
1360
1332
|
}
|
|
1361
1333
|
]
|
|
1362
1334
|
}
|
|
@@ -1364,8 +1336,8 @@ function getRouteMap({
|
|
|
1364
1336
|
},
|
|
1365
1337
|
{
|
|
1366
1338
|
path: "regions",
|
|
1367
|
-
errorElement: /* @__PURE__ */
|
|
1368
|
-
element: /* @__PURE__ */
|
|
1339
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1340
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1369
1341
|
handle: {
|
|
1370
1342
|
breadcrumb: () => t("regions.domain"),
|
|
1371
1343
|
permissions: "regions:view"
|
|
@@ -1373,51 +1345,51 @@ function getRouteMap({
|
|
|
1373
1345
|
children: [
|
|
1374
1346
|
{
|
|
1375
1347
|
path: "",
|
|
1376
|
-
lazy: () => import("./region-list-
|
|
1348
|
+
lazy: () => import("./region-list-UE6RO2PZ.js"),
|
|
1377
1349
|
children: [
|
|
1378
1350
|
{
|
|
1379
1351
|
path: "create",
|
|
1380
1352
|
handle: { permissions: "regions:edit" },
|
|
1381
|
-
lazy: () => import("./region-create-
|
|
1353
|
+
lazy: () => import("./region-create-V4YPSF33.js")
|
|
1382
1354
|
}
|
|
1383
1355
|
]
|
|
1384
1356
|
},
|
|
1385
1357
|
{
|
|
1386
1358
|
path: ":id",
|
|
1387
1359
|
lazy: async () => {
|
|
1388
|
-
const { Breadcrumb, loader } = await import("./region-detail-
|
|
1360
|
+
const { Breadcrumb, loader } = await import("./region-detail-TRHQFBTW.js");
|
|
1389
1361
|
return {
|
|
1390
1362
|
Component: Outlet3,
|
|
1391
1363
|
loader: withPermission(loader, "regions:view"),
|
|
1392
1364
|
handle: {
|
|
1393
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1365
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1394
1366
|
}
|
|
1395
1367
|
};
|
|
1396
1368
|
},
|
|
1397
1369
|
children: [
|
|
1398
1370
|
{
|
|
1399
1371
|
path: "",
|
|
1400
|
-
lazy: () => import("./region-detail-
|
|
1372
|
+
lazy: () => import("./region-detail-TRHQFBTW.js").then(withLoaderPermission("regions:view")),
|
|
1401
1373
|
children: [
|
|
1402
1374
|
{
|
|
1403
1375
|
path: "edit",
|
|
1404
1376
|
handle: { permissions: "regions:edit" },
|
|
1405
|
-
lazy: () => import("./region-edit-
|
|
1377
|
+
lazy: () => import("./region-edit-KEAWUONT.js")
|
|
1406
1378
|
},
|
|
1407
1379
|
{
|
|
1408
1380
|
path: "countries/add",
|
|
1409
1381
|
handle: { permissions: "regions:edit" },
|
|
1410
|
-
lazy: () => import("./region-add-countries-
|
|
1382
|
+
lazy: () => import("./region-add-countries-AJM47ID6.js")
|
|
1411
1383
|
},
|
|
1412
1384
|
{
|
|
1413
1385
|
path: "sellers/add",
|
|
1414
1386
|
handle: { permissions: "regions:edit" },
|
|
1415
|
-
lazy: () => import("./region-add-sellers-
|
|
1387
|
+
lazy: () => import("./region-add-sellers-KN5PRYNT.js")
|
|
1416
1388
|
},
|
|
1417
1389
|
{
|
|
1418
1390
|
path: "metadata/edit",
|
|
1419
1391
|
handle: { permissions: "regions:edit" },
|
|
1420
|
-
lazy: () => import("./region-metadata-
|
|
1392
|
+
lazy: () => import("./region-metadata-R6S3KUOD.js")
|
|
1421
1393
|
}
|
|
1422
1394
|
]
|
|
1423
1395
|
}
|
|
@@ -1427,8 +1399,8 @@ function getRouteMap({
|
|
|
1427
1399
|
},
|
|
1428
1400
|
{
|
|
1429
1401
|
path: "marketplace",
|
|
1430
|
-
errorElement: /* @__PURE__ */
|
|
1431
|
-
element: /* @__PURE__ */
|
|
1402
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1403
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1432
1404
|
handle: {
|
|
1433
1405
|
breadcrumb: () => t("marketplace.domain"),
|
|
1434
1406
|
permissions: "store:view"
|
|
@@ -1436,22 +1408,22 @@ function getRouteMap({
|
|
|
1436
1408
|
children: [
|
|
1437
1409
|
{
|
|
1438
1410
|
path: "",
|
|
1439
|
-
lazy: () => import("./marketplace-detail-
|
|
1411
|
+
lazy: () => import("./marketplace-detail-BGGEDBMZ.js").then(withLoaderPermission("store:view")),
|
|
1440
1412
|
children: [
|
|
1441
1413
|
{
|
|
1442
1414
|
path: "edit",
|
|
1443
1415
|
handle: { permissions: "store:edit" },
|
|
1444
|
-
lazy: () => import("./marketplace-edit-
|
|
1416
|
+
lazy: () => import("./marketplace-edit-P3NH6JDD.js")
|
|
1445
1417
|
},
|
|
1446
1418
|
{
|
|
1447
1419
|
path: "currencies",
|
|
1448
1420
|
handle: { permissions: ["store:edit", "regions:view", "price_preferences:view"] },
|
|
1449
|
-
lazy: () => import("./marketplace-add-currencies-
|
|
1421
|
+
lazy: () => import("./marketplace-add-currencies-OESXX47Z.js")
|
|
1450
1422
|
},
|
|
1451
1423
|
{
|
|
1452
1424
|
path: "metadata/edit",
|
|
1453
1425
|
handle: { permissions: "store:edit" },
|
|
1454
|
-
lazy: () => import("./marketplace-metadata-
|
|
1426
|
+
lazy: () => import("./marketplace-metadata-AV4IYMSI.js")
|
|
1455
1427
|
}
|
|
1456
1428
|
]
|
|
1457
1429
|
}
|
|
@@ -1459,8 +1431,8 @@ function getRouteMap({
|
|
|
1459
1431
|
},
|
|
1460
1432
|
{
|
|
1461
1433
|
path: "commissions",
|
|
1462
|
-
errorElement: /* @__PURE__ */
|
|
1463
|
-
element: /* @__PURE__ */
|
|
1434
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1435
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1464
1436
|
handle: {
|
|
1465
1437
|
breadcrumb: () => t("commissions.domain"),
|
|
1466
1438
|
permissions: "commission_rates:view"
|
|
@@ -1468,45 +1440,45 @@ function getRouteMap({
|
|
|
1468
1440
|
children: [
|
|
1469
1441
|
{
|
|
1470
1442
|
path: "",
|
|
1471
|
-
lazy: () => import("./commissions-list-
|
|
1443
|
+
lazy: () => import("./commissions-list-NOHWTAL6.js"),
|
|
1472
1444
|
children: [
|
|
1473
1445
|
{
|
|
1474
1446
|
path: "create",
|
|
1475
1447
|
handle: { permissions: "commission_rates:edit" },
|
|
1476
|
-
lazy: () => import("./commission-rule-create-
|
|
1448
|
+
lazy: () => import("./commission-rule-create-TIBT26QY.js")
|
|
1477
1449
|
},
|
|
1478
1450
|
{
|
|
1479
1451
|
path: "edit-global",
|
|
1480
1452
|
handle: { permissions: "commission_rates:edit" },
|
|
1481
|
-
lazy: () => import("./global-commission-edit-
|
|
1453
|
+
lazy: () => import("./global-commission-edit-RPDJHLOU.js")
|
|
1482
1454
|
}
|
|
1483
1455
|
]
|
|
1484
1456
|
},
|
|
1485
1457
|
{
|
|
1486
1458
|
path: ":id",
|
|
1487
1459
|
lazy: async () => {
|
|
1488
|
-
const { Breadcrumb } = await import("./commission-rule-detail-
|
|
1460
|
+
const { Breadcrumb } = await import("./commission-rule-detail-KXOBJ7ZE.js");
|
|
1489
1461
|
return {
|
|
1490
1462
|
Component: Outlet3,
|
|
1491
1463
|
handle: {
|
|
1492
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1464
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1493
1465
|
}
|
|
1494
1466
|
};
|
|
1495
1467
|
},
|
|
1496
1468
|
children: [
|
|
1497
1469
|
{
|
|
1498
1470
|
path: "",
|
|
1499
|
-
lazy: () => import("./commission-rule-detail-
|
|
1471
|
+
lazy: () => import("./commission-rule-detail-KXOBJ7ZE.js"),
|
|
1500
1472
|
children: [
|
|
1501
1473
|
{
|
|
1502
1474
|
path: "edit",
|
|
1503
1475
|
handle: { permissions: "commission_rates:edit" },
|
|
1504
|
-
lazy: () => import("./commission-rule-edit-
|
|
1476
|
+
lazy: () => import("./commission-rule-edit-YJXOOLIR.js")
|
|
1505
1477
|
},
|
|
1506
1478
|
{
|
|
1507
1479
|
path: "edit-commission",
|
|
1508
1480
|
handle: { permissions: "commission_rates:edit" },
|
|
1509
|
-
lazy: () => import("./commission-rule-commission-edit-
|
|
1481
|
+
lazy: () => import("./commission-rule-commission-edit-CQEL6X4K.js")
|
|
1510
1482
|
}
|
|
1511
1483
|
]
|
|
1512
1484
|
}
|
|
@@ -1516,8 +1488,8 @@ function getRouteMap({
|
|
|
1516
1488
|
},
|
|
1517
1489
|
{
|
|
1518
1490
|
path: "users",
|
|
1519
|
-
errorElement: /* @__PURE__ */
|
|
1520
|
-
element: /* @__PURE__ */
|
|
1491
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1492
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1521
1493
|
handle: {
|
|
1522
1494
|
breadcrumb: () => t("users.domain"),
|
|
1523
1495
|
permissions: "users:view"
|
|
@@ -1525,41 +1497,41 @@ function getRouteMap({
|
|
|
1525
1497
|
children: [
|
|
1526
1498
|
{
|
|
1527
1499
|
path: "",
|
|
1528
|
-
lazy: () => import("./user-list-
|
|
1500
|
+
lazy: () => import("./user-list-TC6EBLIK.js"),
|
|
1529
1501
|
children: [
|
|
1530
1502
|
{
|
|
1531
1503
|
path: "invite",
|
|
1532
1504
|
handle: { permissions: "users:edit" },
|
|
1533
|
-
lazy: () => import("./user-invite-
|
|
1505
|
+
lazy: () => import("./user-invite-O4EIKZZ5.js")
|
|
1534
1506
|
}
|
|
1535
1507
|
]
|
|
1536
1508
|
},
|
|
1537
1509
|
{
|
|
1538
1510
|
path: ":id",
|
|
1539
1511
|
lazy: async () => {
|
|
1540
|
-
const { Breadcrumb, loader } = await import("./user-detail-
|
|
1512
|
+
const { Breadcrumb, loader } = await import("./user-detail-W5HUECIC.js");
|
|
1541
1513
|
return {
|
|
1542
1514
|
Component: Outlet3,
|
|
1543
1515
|
loader: withPermission(loader, "users:view"),
|
|
1544
1516
|
handle: {
|
|
1545
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1517
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1546
1518
|
}
|
|
1547
1519
|
};
|
|
1548
1520
|
},
|
|
1549
1521
|
children: [
|
|
1550
1522
|
{
|
|
1551
1523
|
path: "",
|
|
1552
|
-
lazy: () => import("./user-detail-
|
|
1524
|
+
lazy: () => import("./user-detail-W5HUECIC.js").then(withLoaderPermission("users:view")),
|
|
1553
1525
|
children: [
|
|
1554
1526
|
{
|
|
1555
1527
|
path: "edit",
|
|
1556
1528
|
handle: { permissions: "users:edit" },
|
|
1557
|
-
lazy: () => import("./user-edit-
|
|
1529
|
+
lazy: () => import("./user-edit-ERWEAGP3.js")
|
|
1558
1530
|
},
|
|
1559
1531
|
{
|
|
1560
1532
|
path: "metadata/edit",
|
|
1561
1533
|
handle: { permissions: "users:edit" },
|
|
1562
|
-
lazy: () => import("./user-metadata-
|
|
1534
|
+
lazy: () => import("./user-metadata-P4XDYLXJ.js")
|
|
1563
1535
|
}
|
|
1564
1536
|
]
|
|
1565
1537
|
}
|
|
@@ -1569,8 +1541,8 @@ function getRouteMap({
|
|
|
1569
1541
|
},
|
|
1570
1542
|
{
|
|
1571
1543
|
path: "sales-channels",
|
|
1572
|
-
errorElement: /* @__PURE__ */
|
|
1573
|
-
element: /* @__PURE__ */
|
|
1544
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1545
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1574
1546
|
handle: {
|
|
1575
1547
|
breadcrumb: () => t("salesChannels.domain"),
|
|
1576
1548
|
permissions: "sales_channels:view"
|
|
@@ -1578,46 +1550,46 @@ function getRouteMap({
|
|
|
1578
1550
|
children: [
|
|
1579
1551
|
{
|
|
1580
1552
|
path: "",
|
|
1581
|
-
lazy: () => import("./sales-channel-list-
|
|
1553
|
+
lazy: () => import("./sales-channel-list-OA3BS44A.js"),
|
|
1582
1554
|
children: [
|
|
1583
1555
|
{
|
|
1584
1556
|
path: "create",
|
|
1585
1557
|
handle: { permissions: "sales_channels:edit" },
|
|
1586
|
-
lazy: () => import("./sales-channel-create-
|
|
1558
|
+
lazy: () => import("./sales-channel-create-JLRHY4I3.js")
|
|
1587
1559
|
}
|
|
1588
1560
|
]
|
|
1589
1561
|
},
|
|
1590
1562
|
{
|
|
1591
1563
|
path: ":id",
|
|
1592
1564
|
lazy: async () => {
|
|
1593
|
-
const { Breadcrumb, loader } = await import("./sales-channel-detail-
|
|
1565
|
+
const { Breadcrumb, loader } = await import("./sales-channel-detail-WUA6WCD3.js");
|
|
1594
1566
|
return {
|
|
1595
1567
|
Component: Outlet3,
|
|
1596
1568
|
loader: withPermission(loader, "sales_channels:view"),
|
|
1597
1569
|
handle: {
|
|
1598
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1570
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1599
1571
|
}
|
|
1600
1572
|
};
|
|
1601
1573
|
},
|
|
1602
1574
|
children: [
|
|
1603
1575
|
{
|
|
1604
1576
|
path: "",
|
|
1605
|
-
lazy: () => import("./sales-channel-detail-
|
|
1577
|
+
lazy: () => import("./sales-channel-detail-WUA6WCD3.js").then(withLoaderPermission("sales_channels:view")),
|
|
1606
1578
|
children: [
|
|
1607
1579
|
{
|
|
1608
1580
|
path: "edit",
|
|
1609
1581
|
handle: { permissions: "sales_channels:edit" },
|
|
1610
|
-
lazy: () => import("./sales-channel-edit-
|
|
1582
|
+
lazy: () => import("./sales-channel-edit-F6WEJPJD.js")
|
|
1611
1583
|
},
|
|
1612
1584
|
{
|
|
1613
1585
|
path: "add-products",
|
|
1614
1586
|
handle: { permissions: ["sales_channels:edit", "products:view"] },
|
|
1615
|
-
lazy: () => import("./sales-channel-add-products-
|
|
1587
|
+
lazy: () => import("./sales-channel-add-products-XSGA433D.js")
|
|
1616
1588
|
},
|
|
1617
1589
|
{
|
|
1618
1590
|
path: "metadata/edit",
|
|
1619
1591
|
handle: { permissions: "sales_channels:edit" },
|
|
1620
|
-
lazy: () => import("./sales-channel-metadata-
|
|
1592
|
+
lazy: () => import("./sales-channel-metadata-EQEMA7ZK.js")
|
|
1621
1593
|
}
|
|
1622
1594
|
]
|
|
1623
1595
|
}
|
|
@@ -1627,8 +1599,8 @@ function getRouteMap({
|
|
|
1627
1599
|
},
|
|
1628
1600
|
{
|
|
1629
1601
|
path: "locations",
|
|
1630
|
-
errorElement: /* @__PURE__ */
|
|
1631
|
-
element: /* @__PURE__ */
|
|
1602
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1603
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1632
1604
|
handle: {
|
|
1633
1605
|
breadcrumb: () => t("locations.domain"),
|
|
1634
1606
|
permissions: "stock_locations:view"
|
|
@@ -1636,16 +1608,16 @@ function getRouteMap({
|
|
|
1636
1608
|
children: [
|
|
1637
1609
|
{
|
|
1638
1610
|
path: "",
|
|
1639
|
-
lazy: () => import("./location-list-
|
|
1611
|
+
lazy: () => import("./location-list-CVMIBMT7.js")
|
|
1640
1612
|
},
|
|
1641
1613
|
{
|
|
1642
1614
|
path: "create",
|
|
1643
1615
|
handle: { permissions: "stock_locations:edit" },
|
|
1644
|
-
lazy: () => import("./location-create-
|
|
1616
|
+
lazy: () => import("./location-create-XEAFZKL4.js")
|
|
1645
1617
|
},
|
|
1646
1618
|
{
|
|
1647
1619
|
path: "shipping-profiles",
|
|
1648
|
-
element: /* @__PURE__ */
|
|
1620
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1649
1621
|
handle: {
|
|
1650
1622
|
breadcrumb: () => t("shippingProfile.domain"),
|
|
1651
1623
|
permissions: "shipping_profiles:view"
|
|
@@ -1653,36 +1625,36 @@ function getRouteMap({
|
|
|
1653
1625
|
children: [
|
|
1654
1626
|
{
|
|
1655
1627
|
path: "",
|
|
1656
|
-
lazy: () => import("./shipping-profiles-list-
|
|
1628
|
+
lazy: () => import("./shipping-profiles-list-6XJ2BCAN.js"),
|
|
1657
1629
|
children: [
|
|
1658
1630
|
{
|
|
1659
1631
|
path: "create",
|
|
1660
1632
|
handle: { permissions: "shipping_profiles:edit" },
|
|
1661
|
-
lazy: () => import("./shipping-profile-create-
|
|
1633
|
+
lazy: () => import("./shipping-profile-create-SLVMPOV7.js")
|
|
1662
1634
|
}
|
|
1663
1635
|
]
|
|
1664
1636
|
},
|
|
1665
1637
|
{
|
|
1666
1638
|
path: ":shipping_profile_id",
|
|
1667
1639
|
lazy: async () => {
|
|
1668
|
-
const { Breadcrumb, loader } = await import("./shipping-profile-detail-
|
|
1640
|
+
const { Breadcrumb, loader } = await import("./shipping-profile-detail-2BO5PJLM.js");
|
|
1669
1641
|
return {
|
|
1670
1642
|
Component: Outlet3,
|
|
1671
1643
|
loader: withPermission(loader, "shipping_profiles:view"),
|
|
1672
1644
|
handle: {
|
|
1673
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1645
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1674
1646
|
}
|
|
1675
1647
|
};
|
|
1676
1648
|
},
|
|
1677
1649
|
children: [
|
|
1678
1650
|
{
|
|
1679
1651
|
path: "",
|
|
1680
|
-
lazy: () => import("./shipping-profile-detail-
|
|
1652
|
+
lazy: () => import("./shipping-profile-detail-2BO5PJLM.js").then(withLoaderPermission("shipping_profiles:view")),
|
|
1681
1653
|
children: [
|
|
1682
1654
|
{
|
|
1683
1655
|
path: "metadata/edit",
|
|
1684
1656
|
handle: { permissions: "shipping_profiles:edit" },
|
|
1685
|
-
lazy: () => import("./shipping-profile-metadata-
|
|
1657
|
+
lazy: () => import("./shipping-profile-metadata-TQJUPQDT.js")
|
|
1686
1658
|
}
|
|
1687
1659
|
]
|
|
1688
1660
|
}
|
|
@@ -1692,8 +1664,8 @@ function getRouteMap({
|
|
|
1692
1664
|
},
|
|
1693
1665
|
{
|
|
1694
1666
|
path: "shipping-option-types",
|
|
1695
|
-
errorElement: /* @__PURE__ */
|
|
1696
|
-
element: /* @__PURE__ */
|
|
1667
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1668
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1697
1669
|
handle: {
|
|
1698
1670
|
breadcrumb: () => t("shippingOptionTypes.domain"),
|
|
1699
1671
|
permissions: "shipping_options:view"
|
|
@@ -1701,36 +1673,36 @@ function getRouteMap({
|
|
|
1701
1673
|
children: [
|
|
1702
1674
|
{
|
|
1703
1675
|
path: "",
|
|
1704
|
-
lazy: () => import("./shipping-option-type-list-
|
|
1676
|
+
lazy: () => import("./shipping-option-type-list-XOC4A2K5.js"),
|
|
1705
1677
|
children: [
|
|
1706
1678
|
{
|
|
1707
1679
|
path: "create",
|
|
1708
1680
|
handle: { permissions: "shipping_options:edit" },
|
|
1709
|
-
lazy: () => import("./shipping-option-type-create-
|
|
1681
|
+
lazy: () => import("./shipping-option-type-create-JNVJYWQ4.js")
|
|
1710
1682
|
}
|
|
1711
1683
|
]
|
|
1712
1684
|
},
|
|
1713
1685
|
{
|
|
1714
1686
|
path: ":id",
|
|
1715
1687
|
lazy: async () => {
|
|
1716
|
-
const { Breadcrumb, loader } = await import("./shipping-option-type-detail-
|
|
1688
|
+
const { Breadcrumb, loader } = await import("./shipping-option-type-detail-FWMONUZX.js");
|
|
1717
1689
|
return {
|
|
1718
1690
|
Component: Outlet3,
|
|
1719
1691
|
loader: withPermission(loader, "shipping_options:view"),
|
|
1720
1692
|
handle: {
|
|
1721
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1693
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1722
1694
|
}
|
|
1723
1695
|
};
|
|
1724
1696
|
},
|
|
1725
1697
|
children: [
|
|
1726
1698
|
{
|
|
1727
1699
|
path: "",
|
|
1728
|
-
lazy: () => import("./shipping-option-type-detail-
|
|
1700
|
+
lazy: () => import("./shipping-option-type-detail-FWMONUZX.js").then(withLoaderPermission("shipping_options:view")),
|
|
1729
1701
|
children: [
|
|
1730
1702
|
{
|
|
1731
1703
|
path: "edit",
|
|
1732
1704
|
handle: { permissions: "shipping_options:edit" },
|
|
1733
|
-
lazy: () => import("./shipping-option-type-edit-
|
|
1705
|
+
lazy: () => import("./shipping-option-type-edit-2ORVYAS2.js")
|
|
1734
1706
|
}
|
|
1735
1707
|
]
|
|
1736
1708
|
}
|
|
@@ -1741,34 +1713,34 @@ function getRouteMap({
|
|
|
1741
1713
|
{
|
|
1742
1714
|
path: ":location_id",
|
|
1743
1715
|
lazy: async () => {
|
|
1744
|
-
const { Breadcrumb, loader } = await import("./location-detail-
|
|
1716
|
+
const { Breadcrumb, loader } = await import("./location-detail-CQFXKIW2.js");
|
|
1745
1717
|
return {
|
|
1746
1718
|
Component: Outlet3,
|
|
1747
1719
|
loader: withPermission(loader, "stock_locations:view"),
|
|
1748
1720
|
handle: {
|
|
1749
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1721
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1750
1722
|
}
|
|
1751
1723
|
};
|
|
1752
1724
|
},
|
|
1753
1725
|
children: [
|
|
1754
1726
|
{
|
|
1755
1727
|
path: "",
|
|
1756
|
-
lazy: () => import("./location-detail-
|
|
1728
|
+
lazy: () => import("./location-detail-CQFXKIW2.js").then(withLoaderPermission("stock_locations:view")),
|
|
1757
1729
|
children: [
|
|
1758
1730
|
{
|
|
1759
1731
|
path: "edit",
|
|
1760
1732
|
handle: { permissions: "stock_locations:edit" },
|
|
1761
|
-
lazy: () => import("./location-edit-
|
|
1733
|
+
lazy: () => import("./location-edit-2CMYJ5IV.js")
|
|
1762
1734
|
},
|
|
1763
1735
|
{
|
|
1764
1736
|
path: "sales-channels",
|
|
1765
1737
|
handle: { permissions: ["stock_locations:edit", "sales_channels:view"] },
|
|
1766
|
-
lazy: () => import("./location-sales-channels-
|
|
1738
|
+
lazy: () => import("./location-sales-channels-M5UZFBFQ.js")
|
|
1767
1739
|
},
|
|
1768
1740
|
{
|
|
1769
1741
|
path: "fulfillment-providers",
|
|
1770
1742
|
handle: { permissions: ["stock_locations:edit", "fulfillment_sets:view"] },
|
|
1771
|
-
lazy: () => import("./location-fulfillment-providers-
|
|
1743
|
+
lazy: () => import("./location-fulfillment-providers-K3IF56D3.js")
|
|
1772
1744
|
},
|
|
1773
1745
|
{
|
|
1774
1746
|
path: "fulfillment-set/:fset_id",
|
|
@@ -1776,7 +1748,7 @@ function getRouteMap({
|
|
|
1776
1748
|
{
|
|
1777
1749
|
path: "service-zones/create",
|
|
1778
1750
|
handle: { permissions: "fulfillment_sets:edit" },
|
|
1779
|
-
lazy: () => import("./location-service-zone-create-
|
|
1751
|
+
lazy: () => import("./location-service-zone-create-SPDMYFPB.js")
|
|
1780
1752
|
},
|
|
1781
1753
|
{
|
|
1782
1754
|
path: "service-zone/:zone_id",
|
|
@@ -1784,12 +1756,12 @@ function getRouteMap({
|
|
|
1784
1756
|
{
|
|
1785
1757
|
path: "edit",
|
|
1786
1758
|
handle: { permissions: "fulfillment_sets:edit" },
|
|
1787
|
-
lazy: () => import("./location-service-zone-edit-
|
|
1759
|
+
lazy: () => import("./location-service-zone-edit-EBP2VFWK.js")
|
|
1788
1760
|
},
|
|
1789
1761
|
{
|
|
1790
1762
|
path: "areas",
|
|
1791
1763
|
handle: { permissions: "fulfillment_sets:edit" },
|
|
1792
|
-
lazy: () => import("./location-service-zone-manage-areas-
|
|
1764
|
+
lazy: () => import("./location-service-zone-manage-areas-PGGAYMK7.js")
|
|
1793
1765
|
},
|
|
1794
1766
|
{
|
|
1795
1767
|
path: "shipping-option",
|
|
@@ -1797,7 +1769,7 @@ function getRouteMap({
|
|
|
1797
1769
|
{
|
|
1798
1770
|
path: "create",
|
|
1799
1771
|
handle: { permissions: "shipping_options:edit" },
|
|
1800
|
-
lazy: () => import("./location-service-zone-shipping-option-create-
|
|
1772
|
+
lazy: () => import("./location-service-zone-shipping-option-create-RL7Q7P3U.js")
|
|
1801
1773
|
},
|
|
1802
1774
|
{
|
|
1803
1775
|
path: ":so_id",
|
|
@@ -1805,12 +1777,12 @@ function getRouteMap({
|
|
|
1805
1777
|
{
|
|
1806
1778
|
path: "edit",
|
|
1807
1779
|
handle: { permissions: "shipping_options:edit" },
|
|
1808
|
-
lazy: () => import("./location-service-zone-shipping-option-edit-
|
|
1780
|
+
lazy: () => import("./location-service-zone-shipping-option-edit-K7SOAJHY.js")
|
|
1809
1781
|
},
|
|
1810
1782
|
{
|
|
1811
1783
|
path: "pricing",
|
|
1812
1784
|
handle: { permissions: "shipping_options:edit" },
|
|
1813
|
-
lazy: () => import("./location-service-zone-shipping-option-pricing-
|
|
1785
|
+
lazy: () => import("./location-service-zone-shipping-option-pricing-THSABNGZ.js")
|
|
1814
1786
|
}
|
|
1815
1787
|
]
|
|
1816
1788
|
}
|
|
@@ -1828,8 +1800,8 @@ function getRouteMap({
|
|
|
1828
1800
|
},
|
|
1829
1801
|
{
|
|
1830
1802
|
path: "product-tags",
|
|
1831
|
-
errorElement: /* @__PURE__ */
|
|
1832
|
-
element: /* @__PURE__ */
|
|
1803
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1804
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1833
1805
|
handle: {
|
|
1834
1806
|
breadcrumb: () => t("productTags.domain"),
|
|
1835
1807
|
permissions: "product_tags:view"
|
|
@@ -1837,41 +1809,41 @@ function getRouteMap({
|
|
|
1837
1809
|
children: [
|
|
1838
1810
|
{
|
|
1839
1811
|
path: "",
|
|
1840
|
-
lazy: () => import("./product-tag-list-
|
|
1812
|
+
lazy: () => import("./product-tag-list-LNKN323U.js").then(withLoaderPermission("product_tags:view")),
|
|
1841
1813
|
children: [
|
|
1842
1814
|
{
|
|
1843
1815
|
path: "create",
|
|
1844
1816
|
handle: { permissions: "product_tags:edit" },
|
|
1845
|
-
lazy: () => import("./product-tag-create-
|
|
1817
|
+
lazy: () => import("./product-tag-create-GNJTKAUY.js")
|
|
1846
1818
|
}
|
|
1847
1819
|
]
|
|
1848
1820
|
},
|
|
1849
1821
|
{
|
|
1850
1822
|
path: ":id",
|
|
1851
1823
|
lazy: async () => {
|
|
1852
|
-
const { Breadcrumb, loader } = await import("./product-tag-detail-
|
|
1824
|
+
const { Breadcrumb, loader } = await import("./product-tag-detail-PWYCRCC3.js");
|
|
1853
1825
|
return {
|
|
1854
1826
|
Component: Outlet3,
|
|
1855
1827
|
loader: withPermission(loader, "product_tags:view"),
|
|
1856
1828
|
handle: {
|
|
1857
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1829
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1858
1830
|
}
|
|
1859
1831
|
};
|
|
1860
1832
|
},
|
|
1861
1833
|
children: [
|
|
1862
1834
|
{
|
|
1863
1835
|
path: "",
|
|
1864
|
-
lazy: () => import("./product-tag-detail-
|
|
1836
|
+
lazy: () => import("./product-tag-detail-PWYCRCC3.js").then(withLoaderPermission("product_tags:view")),
|
|
1865
1837
|
children: [
|
|
1866
1838
|
{
|
|
1867
1839
|
path: "edit",
|
|
1868
1840
|
handle: { permissions: "product_tags:edit" },
|
|
1869
|
-
lazy: () => import("./product-tag-edit-
|
|
1841
|
+
lazy: () => import("./product-tag-edit-IEYXMMU3.js")
|
|
1870
1842
|
},
|
|
1871
1843
|
{
|
|
1872
1844
|
path: "metadata/edit",
|
|
1873
1845
|
handle: { permissions: "product_tags:edit" },
|
|
1874
|
-
lazy: () => import("./product-tag-metadata-
|
|
1846
|
+
lazy: () => import("./product-tag-metadata-Q4JIK46H.js")
|
|
1875
1847
|
}
|
|
1876
1848
|
]
|
|
1877
1849
|
}
|
|
@@ -1881,8 +1853,8 @@ function getRouteMap({
|
|
|
1881
1853
|
},
|
|
1882
1854
|
{
|
|
1883
1855
|
path: "attributes",
|
|
1884
|
-
errorElement: /* @__PURE__ */
|
|
1885
|
-
element: /* @__PURE__ */
|
|
1856
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1857
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1886
1858
|
handle: {
|
|
1887
1859
|
breadcrumb: () => t("attributes.domain"),
|
|
1888
1860
|
permissions: "product_attributes:view"
|
|
@@ -1890,51 +1862,51 @@ function getRouteMap({
|
|
|
1890
1862
|
children: [
|
|
1891
1863
|
{
|
|
1892
1864
|
path: "",
|
|
1893
|
-
lazy: () => import("./attribute-list-
|
|
1865
|
+
lazy: () => import("./attribute-list-YGW7T57X.js").then(withLoaderPermission("product_attributes:view")),
|
|
1894
1866
|
children: [
|
|
1895
1867
|
{
|
|
1896
1868
|
path: "create",
|
|
1897
1869
|
handle: { permissions: "product_attributes:edit" },
|
|
1898
|
-
lazy: () => import("./attribute-create-
|
|
1870
|
+
lazy: () => import("./attribute-create-KXP2BR3A.js")
|
|
1899
1871
|
}
|
|
1900
1872
|
]
|
|
1901
1873
|
},
|
|
1902
1874
|
{
|
|
1903
1875
|
path: ":id",
|
|
1904
1876
|
lazy: async () => {
|
|
1905
|
-
const { Breadcrumb, loader } = await import("./attribute-detail-
|
|
1877
|
+
const { Breadcrumb, loader } = await import("./attribute-detail-EXGOXBSF.js");
|
|
1906
1878
|
return {
|
|
1907
1879
|
Component: Outlet3,
|
|
1908
1880
|
loader: withPermission(loader, "product_attributes:view"),
|
|
1909
1881
|
handle: {
|
|
1910
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1882
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1911
1883
|
}
|
|
1912
1884
|
};
|
|
1913
1885
|
},
|
|
1914
1886
|
children: [
|
|
1915
1887
|
{
|
|
1916
1888
|
path: "",
|
|
1917
|
-
lazy: () => import("./attribute-detail-
|
|
1889
|
+
lazy: () => import("./attribute-detail-EXGOXBSF.js").then(withLoaderPermission("product_attributes:view")),
|
|
1918
1890
|
children: [
|
|
1919
1891
|
{
|
|
1920
1892
|
path: "edit",
|
|
1921
1893
|
handle: { permissions: "product_attributes:edit" },
|
|
1922
|
-
lazy: () => import("./attribute-edit-
|
|
1894
|
+
lazy: () => import("./attribute-edit-JHXYOZAS.js")
|
|
1923
1895
|
},
|
|
1924
1896
|
{
|
|
1925
1897
|
path: "edit-possible-value",
|
|
1926
1898
|
handle: { permissions: "product_attributes:edit" },
|
|
1927
|
-
lazy: () => import("./attribute-edit-possible-value-
|
|
1899
|
+
lazy: () => import("./attribute-edit-possible-value-SA5JMQXA.js")
|
|
1928
1900
|
},
|
|
1929
1901
|
{
|
|
1930
1902
|
path: "create-possible-value",
|
|
1931
1903
|
handle: { permissions: "product_attributes:edit" },
|
|
1932
|
-
lazy: () => import("./attribute-create-possible-value-
|
|
1904
|
+
lazy: () => import("./attribute-create-possible-value-BYZBIM67.js")
|
|
1933
1905
|
},
|
|
1934
1906
|
{
|
|
1935
1907
|
path: "edit-ranking",
|
|
1936
1908
|
handle: { permissions: "product_attributes:edit" },
|
|
1937
|
-
lazy: () => import("./attribute-edit-ranking-
|
|
1909
|
+
lazy: () => import("./attribute-edit-ranking-ITKTUZNK.js")
|
|
1938
1910
|
}
|
|
1939
1911
|
]
|
|
1940
1912
|
}
|
|
@@ -1944,8 +1916,8 @@ function getRouteMap({
|
|
|
1944
1916
|
},
|
|
1945
1917
|
{
|
|
1946
1918
|
path: "product-types",
|
|
1947
|
-
errorElement: /* @__PURE__ */
|
|
1948
|
-
element: /* @__PURE__ */
|
|
1919
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
1920
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
1949
1921
|
handle: {
|
|
1950
1922
|
breadcrumb: () => t("productTypes.domain"),
|
|
1951
1923
|
permissions: "product_types:view"
|
|
@@ -1953,41 +1925,41 @@ function getRouteMap({
|
|
|
1953
1925
|
children: [
|
|
1954
1926
|
{
|
|
1955
1927
|
path: "",
|
|
1956
|
-
lazy: () => import("./product-type-list-
|
|
1928
|
+
lazy: () => import("./product-type-list-YJCXTJQE.js"),
|
|
1957
1929
|
children: [
|
|
1958
1930
|
{
|
|
1959
1931
|
path: "create",
|
|
1960
1932
|
handle: { permissions: "product_types:edit" },
|
|
1961
|
-
lazy: () => import("./product-type-create-
|
|
1933
|
+
lazy: () => import("./product-type-create-KAIH2IH4.js")
|
|
1962
1934
|
}
|
|
1963
1935
|
]
|
|
1964
1936
|
},
|
|
1965
1937
|
{
|
|
1966
1938
|
path: ":id",
|
|
1967
1939
|
lazy: async () => {
|
|
1968
|
-
const { Breadcrumb, loader } = await import("./product-type-detail-
|
|
1940
|
+
const { Breadcrumb, loader } = await import("./product-type-detail-7P2M7JIS.js");
|
|
1969
1941
|
return {
|
|
1970
1942
|
Component: Outlet3,
|
|
1971
1943
|
loader: withPermission(loader, "product_types:view"),
|
|
1972
1944
|
handle: {
|
|
1973
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
1945
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
1974
1946
|
}
|
|
1975
1947
|
};
|
|
1976
1948
|
},
|
|
1977
1949
|
children: [
|
|
1978
1950
|
{
|
|
1979
1951
|
path: "",
|
|
1980
|
-
lazy: () => import("./product-type-detail-
|
|
1952
|
+
lazy: () => import("./product-type-detail-7P2M7JIS.js").then(withLoaderPermission("product_types:view")),
|
|
1981
1953
|
children: [
|
|
1982
1954
|
{
|
|
1983
1955
|
path: "edit",
|
|
1984
1956
|
handle: { permissions: "product_types:edit" },
|
|
1985
|
-
lazy: () => import("./product-type-edit-
|
|
1957
|
+
lazy: () => import("./product-type-edit-KQK7OWC2.js")
|
|
1986
1958
|
},
|
|
1987
1959
|
{
|
|
1988
1960
|
path: "metadata/edit",
|
|
1989
1961
|
handle: { permissions: "product_types:edit" },
|
|
1990
|
-
lazy: () => import("./product-type-metadata-
|
|
1962
|
+
lazy: () => import("./product-type-metadata-S7ZPZFPU.js")
|
|
1991
1963
|
}
|
|
1992
1964
|
]
|
|
1993
1965
|
}
|
|
@@ -1997,7 +1969,7 @@ function getRouteMap({
|
|
|
1997
1969
|
},
|
|
1998
1970
|
{
|
|
1999
1971
|
path: "publishable-api-keys",
|
|
2000
|
-
element: /* @__PURE__ */
|
|
1972
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
2001
1973
|
handle: {
|
|
2002
1974
|
breadcrumb: () => t("apiKeyManagement.domain.publishable"),
|
|
2003
1975
|
permissions: "api_keys:view"
|
|
@@ -2005,16 +1977,16 @@ function getRouteMap({
|
|
|
2005
1977
|
children: [
|
|
2006
1978
|
{
|
|
2007
1979
|
path: "",
|
|
2008
|
-
element: /* @__PURE__ */
|
|
1980
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
2009
1981
|
children: [
|
|
2010
1982
|
{
|
|
2011
1983
|
path: "",
|
|
2012
|
-
lazy: () => import("./api-key-management-list-
|
|
1984
|
+
lazy: () => import("./api-key-management-list-QR65GHKN.js"),
|
|
2013
1985
|
children: [
|
|
2014
1986
|
{
|
|
2015
1987
|
path: "create",
|
|
2016
1988
|
handle: { permissions: "api_keys:edit" },
|
|
2017
|
-
lazy: () => import("./api-key-management-create-
|
|
1989
|
+
lazy: () => import("./api-key-management-create-E5MDWSPT.js")
|
|
2018
1990
|
}
|
|
2019
1991
|
]
|
|
2020
1992
|
}
|
|
@@ -2023,29 +1995,29 @@ function getRouteMap({
|
|
|
2023
1995
|
{
|
|
2024
1996
|
path: ":id",
|
|
2025
1997
|
lazy: async () => {
|
|
2026
|
-
const { Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
1998
|
+
const { Breadcrumb, loader } = await import("./api-key-management-detail-QPIDG4YL.js");
|
|
2027
1999
|
return {
|
|
2028
2000
|
Component: Outlet3,
|
|
2029
2001
|
loader: withPermission(loader, "api_keys:view"),
|
|
2030
2002
|
handle: {
|
|
2031
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
2003
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
2032
2004
|
}
|
|
2033
2005
|
};
|
|
2034
2006
|
},
|
|
2035
2007
|
children: [
|
|
2036
2008
|
{
|
|
2037
2009
|
path: "",
|
|
2038
|
-
lazy: () => import("./api-key-management-detail-
|
|
2010
|
+
lazy: () => import("./api-key-management-detail-QPIDG4YL.js").then(withLoaderPermission("api_keys:view")),
|
|
2039
2011
|
children: [
|
|
2040
2012
|
{
|
|
2041
2013
|
path: "edit",
|
|
2042
2014
|
handle: { permissions: "api_keys:edit" },
|
|
2043
|
-
lazy: () => import("./api-key-management-edit-
|
|
2015
|
+
lazy: () => import("./api-key-management-edit-4LF2QQ7K.js")
|
|
2044
2016
|
},
|
|
2045
2017
|
{
|
|
2046
2018
|
path: "sales-channels",
|
|
2047
2019
|
handle: { permissions: ["api_keys:edit", "sales_channels:view"] },
|
|
2048
|
-
lazy: () => import("./api-key-management-sales-channels-
|
|
2020
|
+
lazy: () => import("./api-key-management-sales-channels-ODNVPGYF.js")
|
|
2049
2021
|
}
|
|
2050
2022
|
]
|
|
2051
2023
|
}
|
|
@@ -2055,7 +2027,7 @@ function getRouteMap({
|
|
|
2055
2027
|
},
|
|
2056
2028
|
{
|
|
2057
2029
|
path: "secret-api-keys",
|
|
2058
|
-
element: /* @__PURE__ */
|
|
2030
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
2059
2031
|
handle: {
|
|
2060
2032
|
breadcrumb: () => t("apiKeyManagement.domain.secret"),
|
|
2061
2033
|
permissions: "api_keys:view"
|
|
@@ -2063,16 +2035,16 @@ function getRouteMap({
|
|
|
2063
2035
|
children: [
|
|
2064
2036
|
{
|
|
2065
2037
|
path: "",
|
|
2066
|
-
element: /* @__PURE__ */
|
|
2038
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
2067
2039
|
children: [
|
|
2068
2040
|
{
|
|
2069
2041
|
path: "",
|
|
2070
|
-
lazy: () => import("./api-key-management-list-
|
|
2042
|
+
lazy: () => import("./api-key-management-list-QR65GHKN.js"),
|
|
2071
2043
|
children: [
|
|
2072
2044
|
{
|
|
2073
2045
|
path: "create",
|
|
2074
2046
|
handle: { permissions: "api_keys:edit" },
|
|
2075
|
-
lazy: () => import("./api-key-management-create-
|
|
2047
|
+
lazy: () => import("./api-key-management-create-E5MDWSPT.js")
|
|
2076
2048
|
}
|
|
2077
2049
|
]
|
|
2078
2050
|
}
|
|
@@ -2081,24 +2053,24 @@ function getRouteMap({
|
|
|
2081
2053
|
{
|
|
2082
2054
|
path: ":id",
|
|
2083
2055
|
lazy: async () => {
|
|
2084
|
-
const { Breadcrumb, loader } = await import("./api-key-management-detail-
|
|
2056
|
+
const { Breadcrumb, loader } = await import("./api-key-management-detail-QPIDG4YL.js");
|
|
2085
2057
|
return {
|
|
2086
2058
|
Component: Outlet3,
|
|
2087
2059
|
loader: withPermission(loader, "api_keys:view"),
|
|
2088
2060
|
handle: {
|
|
2089
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
2061
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
2090
2062
|
}
|
|
2091
2063
|
};
|
|
2092
2064
|
},
|
|
2093
2065
|
children: [
|
|
2094
2066
|
{
|
|
2095
2067
|
path: "",
|
|
2096
|
-
lazy: () => import("./api-key-management-detail-
|
|
2068
|
+
lazy: () => import("./api-key-management-detail-QPIDG4YL.js").then(withLoaderPermission("api_keys:view")),
|
|
2097
2069
|
children: [
|
|
2098
2070
|
{
|
|
2099
2071
|
path: "edit",
|
|
2100
2072
|
handle: { permissions: "api_keys:edit" },
|
|
2101
|
-
lazy: () => import("./api-key-management-edit-
|
|
2073
|
+
lazy: () => import("./api-key-management-edit-4LF2QQ7K.js")
|
|
2102
2074
|
}
|
|
2103
2075
|
]
|
|
2104
2076
|
}
|
|
@@ -2108,7 +2080,7 @@ function getRouteMap({
|
|
|
2108
2080
|
},
|
|
2109
2081
|
{
|
|
2110
2082
|
path: "tax-regions",
|
|
2111
|
-
element: /* @__PURE__ */
|
|
2083
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
2112
2084
|
handle: {
|
|
2113
2085
|
breadcrumb: () => t("taxRegions.domain"),
|
|
2114
2086
|
permissions: "tax_regions:view"
|
|
@@ -2121,7 +2093,7 @@ function getRouteMap({
|
|
|
2121
2093
|
{
|
|
2122
2094
|
path: "create",
|
|
2123
2095
|
handle: { permissions: "tax_regions:edit" },
|
|
2124
|
-
lazy: () => import("./tax-region-create-
|
|
2096
|
+
lazy: () => import("./tax-region-create-27DNVEWH.js")
|
|
2125
2097
|
}
|
|
2126
2098
|
]
|
|
2127
2099
|
},
|
|
@@ -2130,13 +2102,13 @@ function getRouteMap({
|
|
|
2130
2102
|
Component: Outlet3,
|
|
2131
2103
|
loader: withPermission(taxRegionLoader, "tax_regions:view"),
|
|
2132
2104
|
handle: {
|
|
2133
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
2105
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(TaxRegionDetailBreadcrumb, { ...match })
|
|
2134
2106
|
},
|
|
2135
2107
|
children: [
|
|
2136
2108
|
{
|
|
2137
2109
|
path: "",
|
|
2138
2110
|
lazy: async () => {
|
|
2139
|
-
const { Component } = await import("./tax-region-detail-
|
|
2111
|
+
const { Component } = await import("./tax-region-detail-TL34TZ74.js");
|
|
2140
2112
|
return {
|
|
2141
2113
|
Component
|
|
2142
2114
|
};
|
|
@@ -2145,76 +2117,76 @@ function getRouteMap({
|
|
|
2145
2117
|
{
|
|
2146
2118
|
path: "edit",
|
|
2147
2119
|
handle: { permissions: "tax_regions:edit" },
|
|
2148
|
-
lazy: () => import("./tax-region-edit-
|
|
2120
|
+
lazy: () => import("./tax-region-edit-WMTF547K.js")
|
|
2149
2121
|
},
|
|
2150
2122
|
{
|
|
2151
2123
|
path: "provinces/create",
|
|
2152
2124
|
handle: { permissions: "tax_regions:edit" },
|
|
2153
|
-
lazy: () => import("./tax-region-province-create-
|
|
2125
|
+
lazy: () => import("./tax-region-province-create-HBUNRYHU.js")
|
|
2154
2126
|
},
|
|
2155
2127
|
{
|
|
2156
2128
|
path: "overrides/create",
|
|
2157
2129
|
handle: { permissions: "tax_regions:edit" },
|
|
2158
|
-
lazy: () => import("./tax-region-tax-override-create-
|
|
2130
|
+
lazy: () => import("./tax-region-tax-override-create-MGQYCSLB.js")
|
|
2159
2131
|
},
|
|
2160
2132
|
{
|
|
2161
2133
|
path: "overrides/:tax_rate_id/edit",
|
|
2162
2134
|
handle: { permissions: "tax_regions:edit" },
|
|
2163
|
-
lazy: () => import("./tax-region-tax-override-edit-
|
|
2135
|
+
lazy: () => import("./tax-region-tax-override-edit-PWH2ZJVM.js")
|
|
2164
2136
|
},
|
|
2165
2137
|
{
|
|
2166
2138
|
path: "tax-rates/create",
|
|
2167
2139
|
handle: { permissions: "tax_regions:edit" },
|
|
2168
|
-
lazy: () => import("./tax-region-tax-rate-create-
|
|
2140
|
+
lazy: () => import("./tax-region-tax-rate-create-FSLLYJFU.js")
|
|
2169
2141
|
},
|
|
2170
2142
|
{
|
|
2171
2143
|
path: "tax-rates/:tax_rate_id/edit",
|
|
2172
2144
|
handle: { permissions: "tax_regions:edit" },
|
|
2173
|
-
lazy: () => import("./tax-region-tax-rate-edit-
|
|
2145
|
+
lazy: () => import("./tax-region-tax-rate-edit-Y3GFJAR5.js")
|
|
2174
2146
|
},
|
|
2175
2147
|
{
|
|
2176
2148
|
path: "metadata/edit",
|
|
2177
2149
|
handle: { permissions: "tax_regions:edit" },
|
|
2178
|
-
lazy: () => import("./tax-region-metadata-
|
|
2150
|
+
lazy: () => import("./tax-region-metadata-XTERQTSO.js")
|
|
2179
2151
|
}
|
|
2180
2152
|
]
|
|
2181
2153
|
},
|
|
2182
2154
|
{
|
|
2183
2155
|
path: "provinces/:province_id",
|
|
2184
2156
|
lazy: async () => {
|
|
2185
|
-
const { Breadcrumb, loader } = await import("./tax-region-province-detail-
|
|
2157
|
+
const { Breadcrumb, loader } = await import("./tax-region-province-detail-V4O4LIEL.js");
|
|
2186
2158
|
return {
|
|
2187
2159
|
Component: Outlet3,
|
|
2188
2160
|
loader: withPermission(loader, "tax_regions:view"),
|
|
2189
2161
|
handle: {
|
|
2190
|
-
breadcrumb: (match) => /* @__PURE__ */
|
|
2162
|
+
breadcrumb: (match) => /* @__PURE__ */ jsx3(Breadcrumb, { ...match })
|
|
2191
2163
|
}
|
|
2192
2164
|
};
|
|
2193
2165
|
},
|
|
2194
2166
|
children: [
|
|
2195
2167
|
{
|
|
2196
2168
|
path: "",
|
|
2197
|
-
lazy: () => import("./tax-region-province-detail-
|
|
2169
|
+
lazy: () => import("./tax-region-province-detail-V4O4LIEL.js").then(withLoaderPermission("tax_regions:view")),
|
|
2198
2170
|
children: [
|
|
2199
2171
|
{
|
|
2200
2172
|
path: "tax-rates/create",
|
|
2201
2173
|
handle: { permissions: "tax_regions:edit" },
|
|
2202
|
-
lazy: () => import("./tax-region-tax-rate-create-
|
|
2174
|
+
lazy: () => import("./tax-region-tax-rate-create-FSLLYJFU.js")
|
|
2203
2175
|
},
|
|
2204
2176
|
{
|
|
2205
2177
|
path: "tax-rates/:tax_rate_id/edit",
|
|
2206
2178
|
handle: { permissions: "tax_regions:edit" },
|
|
2207
|
-
lazy: () => import("./tax-region-tax-rate-edit-
|
|
2179
|
+
lazy: () => import("./tax-region-tax-rate-edit-Y3GFJAR5.js")
|
|
2208
2180
|
},
|
|
2209
2181
|
{
|
|
2210
2182
|
path: "overrides/create",
|
|
2211
2183
|
handle: { permissions: "tax_regions:edit" },
|
|
2212
|
-
lazy: () => import("./tax-region-tax-override-create-
|
|
2184
|
+
lazy: () => import("./tax-region-tax-override-create-MGQYCSLB.js")
|
|
2213
2185
|
},
|
|
2214
2186
|
{
|
|
2215
2187
|
path: "overrides/:tax_rate_id/edit",
|
|
2216
2188
|
handle: { permissions: "tax_regions:edit" },
|
|
2217
|
-
lazy: () => import("./tax-region-tax-override-edit-
|
|
2189
|
+
lazy: () => import("./tax-region-tax-override-edit-PWH2ZJVM.js")
|
|
2218
2190
|
}
|
|
2219
2191
|
]
|
|
2220
2192
|
}
|
|
@@ -2226,7 +2198,7 @@ function getRouteMap({
|
|
|
2226
2198
|
},
|
|
2227
2199
|
{
|
|
2228
2200
|
path: "return-reasons",
|
|
2229
|
-
element: /* @__PURE__ */
|
|
2201
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
2230
2202
|
handle: {
|
|
2231
2203
|
breadcrumb: () => t("returnReasons.domain"),
|
|
2232
2204
|
permissions: "return_reasons:view"
|
|
@@ -2234,7 +2206,7 @@ function getRouteMap({
|
|
|
2234
2206
|
children: [
|
|
2235
2207
|
{
|
|
2236
2208
|
path: "",
|
|
2237
|
-
lazy: () => import("./return-reason-list-
|
|
2209
|
+
lazy: () => import("./return-reason-list-2GUYWZLY.js").then(withLoaderPermission("return_reasons:view")),
|
|
2238
2210
|
children: [
|
|
2239
2211
|
{
|
|
2240
2212
|
path: "create",
|
|
@@ -2257,7 +2229,7 @@ function getRouteMap({
|
|
|
2257
2229
|
},
|
|
2258
2230
|
{
|
|
2259
2231
|
path: "refund-reasons",
|
|
2260
|
-
element: /* @__PURE__ */
|
|
2232
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
2261
2233
|
handle: {
|
|
2262
2234
|
breadcrumb: () => t("refundReasons.domain"),
|
|
2263
2235
|
permissions: "refund_reasons:view"
|
|
@@ -2265,12 +2237,12 @@ function getRouteMap({
|
|
|
2265
2237
|
children: [
|
|
2266
2238
|
{
|
|
2267
2239
|
path: "",
|
|
2268
|
-
lazy: () => import("./refund-reason-list-
|
|
2240
|
+
lazy: () => import("./refund-reason-list-YJN3YBCX.js").then(withLoaderPermission("refund_reasons:view")),
|
|
2269
2241
|
children: [
|
|
2270
2242
|
{
|
|
2271
2243
|
path: "create",
|
|
2272
2244
|
handle: { permissions: "refund_reasons:edit" },
|
|
2273
|
-
lazy: () => import("./refund-reason-create-
|
|
2245
|
+
lazy: () => import("./refund-reason-create-25ZABWC3.js")
|
|
2274
2246
|
},
|
|
2275
2247
|
{
|
|
2276
2248
|
path: ":id",
|
|
@@ -2278,7 +2250,7 @@ function getRouteMap({
|
|
|
2278
2250
|
{
|
|
2279
2251
|
path: "edit",
|
|
2280
2252
|
handle: { permissions: "refund_reasons:edit" },
|
|
2281
|
-
lazy: () => import("./refund-reason-edit-
|
|
2253
|
+
lazy: () => import("./refund-reason-edit-5DZPMYVZ.js")
|
|
2282
2254
|
}
|
|
2283
2255
|
]
|
|
2284
2256
|
}
|
|
@@ -2288,7 +2260,7 @@ function getRouteMap({
|
|
|
2288
2260
|
},
|
|
2289
2261
|
{
|
|
2290
2262
|
path: "offer-conditions",
|
|
2291
|
-
element: /* @__PURE__ */
|
|
2263
|
+
element: /* @__PURE__ */ jsx3(Outlet3, {}),
|
|
2292
2264
|
handle: {
|
|
2293
2265
|
breadcrumb: () => t("offerConditions.domain"),
|
|
2294
2266
|
permissions: "offers:view"
|
|
@@ -2296,12 +2268,12 @@ function getRouteMap({
|
|
|
2296
2268
|
children: [
|
|
2297
2269
|
{
|
|
2298
2270
|
path: "",
|
|
2299
|
-
lazy: () => import("./offer-condition-list-
|
|
2271
|
+
lazy: () => import("./offer-condition-list-F2UTHYW5.js").then(withLoaderPermission("offers:view")),
|
|
2300
2272
|
children: [
|
|
2301
2273
|
{
|
|
2302
2274
|
path: "create",
|
|
2303
2275
|
handle: { permissions: "offers:manage" },
|
|
2304
|
-
lazy: () => import("./offer-condition-create-
|
|
2276
|
+
lazy: () => import("./offer-condition-create-ELOPMTVF.js")
|
|
2305
2277
|
},
|
|
2306
2278
|
{
|
|
2307
2279
|
path: ":id",
|
|
@@ -2309,7 +2281,7 @@ function getRouteMap({
|
|
|
2309
2281
|
{
|
|
2310
2282
|
path: "edit",
|
|
2311
2283
|
handle: { permissions: "offers:manage" },
|
|
2312
|
-
lazy: () => import("./offer-condition-edit-
|
|
2284
|
+
lazy: () => import("./offer-condition-edit-X47KO53G.js")
|
|
2313
2285
|
}
|
|
2314
2286
|
]
|
|
2315
2287
|
}
|
|
@@ -2326,22 +2298,22 @@ function getRouteMap({
|
|
|
2326
2298
|
]
|
|
2327
2299
|
},
|
|
2328
2300
|
{
|
|
2329
|
-
element: /* @__PURE__ */
|
|
2301
|
+
element: /* @__PURE__ */ jsx3(PublicLayout, {}),
|
|
2330
2302
|
children: [
|
|
2331
2303
|
{
|
|
2332
|
-
errorElement: /* @__PURE__ */
|
|
2304
|
+
errorElement: /* @__PURE__ */ jsx3(ErrorBoundary, {}),
|
|
2333
2305
|
children: [
|
|
2334
2306
|
{
|
|
2335
2307
|
path: "/login",
|
|
2336
|
-
lazy: () => import("./login-
|
|
2308
|
+
lazy: () => import("./login-GB4TZ3KN.js")
|
|
2337
2309
|
},
|
|
2338
2310
|
{
|
|
2339
2311
|
path: "/reset-password",
|
|
2340
|
-
lazy: () => import("./reset-password-
|
|
2312
|
+
lazy: () => import("./reset-password-CRA4KXXZ.js")
|
|
2341
2313
|
},
|
|
2342
2314
|
{
|
|
2343
2315
|
path: "/invite",
|
|
2344
|
-
lazy: () => import("./invite-
|
|
2316
|
+
lazy: () => import("./invite-RQPJ24XM.js")
|
|
2345
2317
|
},
|
|
2346
2318
|
...customPublicRoutes,
|
|
2347
2319
|
{
|
|
@@ -2356,10 +2328,10 @@ function getRouteMap({
|
|
|
2356
2328
|
}
|
|
2357
2329
|
|
|
2358
2330
|
// src/app.tsx
|
|
2359
|
-
import { useMemo
|
|
2360
|
-
import { jsx as
|
|
2331
|
+
import { useMemo } from "react";
|
|
2332
|
+
import { jsx as jsx4, jsxs } from "react/jsx-runtime";
|
|
2361
2333
|
function App() {
|
|
2362
|
-
const routes =
|
|
2334
|
+
const routes = useMemo(() => {
|
|
2363
2335
|
const resolved = resolveRouteOverrides(customRoutes);
|
|
2364
2336
|
return {
|
|
2365
2337
|
settingsRoutes: createRouteMap(getRoutesByType(resolved, "settings")),
|
|
@@ -2367,7 +2339,7 @@ function App() {
|
|
|
2367
2339
|
publicRoutes: createRouteMap(getRoutesByType(resolved, "public"))
|
|
2368
2340
|
};
|
|
2369
2341
|
}, []);
|
|
2370
|
-
return /* @__PURE__ */
|
|
2342
|
+
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
2343
|
ExtensionProvider,
|
|
2372
2344
|
{
|
|
2373
2345
|
widgets,
|
|
@@ -2376,8 +2348,8 @@ function App() {
|
|
|
2376
2348
|
layouts,
|
|
2377
2349
|
preferences,
|
|
2378
2350
|
children: [
|
|
2379
|
-
/* @__PURE__ */
|
|
2380
|
-
/* @__PURE__ */
|
|
2351
|
+
/* @__PURE__ */ jsx4(I18n, {}),
|
|
2352
|
+
/* @__PURE__ */ jsx4(I18nProvider, { children: /* @__PURE__ */ jsx4(
|
|
2381
2353
|
RouterProvider,
|
|
2382
2354
|
{
|
|
2383
2355
|
router: createBrowserRouter(getRouteMap(routes), {
|
|
@@ -2385,7 +2357,7 @@ function App() {
|
|
|
2385
2357
|
})
|
|
2386
2358
|
}
|
|
2387
2359
|
) }),
|
|
2388
|
-
/* @__PURE__ */
|
|
2360
|
+
/* @__PURE__ */ jsx4(Toaster, {})
|
|
2389
2361
|
]
|
|
2390
2362
|
}
|
|
2391
2363
|
) }) }) }) }) });
|