@mercurjs/admin 2.3.8-canary.1 → 2.3.8-canary.3
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-WFKICGM2.js → add-campaign-promotions-XGOTWIPC.js} +7 -6
- package/dist/{adjust-inventory-OAVA2IIC.js → adjust-inventory-POHCAHIY.js} +3 -4
- package/dist/{api-key-management-detail-DOGBG6HU.js → api-key-management-detail-UGPPDBZJ.js} +3 -4
- package/dist/{api-key-management-list-7L7OLDGO.js → api-key-management-list-HTIDXZPK.js} +3 -3
- package/dist/{attribute-create-OSPXODRH.js → attribute-create-RQN3G47R.js} +3 -4
- package/dist/{attribute-detail-6EYIT65P.js → attribute-detail-HFAWLVDR.js} +8 -9
- package/dist/{attribute-list-LDRPHRDB.js → attribute-list-OPYSKNG4.js} +7 -8
- package/dist/campaign-create-AJ7MTML5.js +1 -1
- package/dist/{campaign-detail-BY7HGASQ.js → campaign-detail-MMBFOZQQ.js} +10 -11
- package/dist/{campaign-list-4UPMYKLS.js → campaign-list-2JPJGXHC.js} +5 -4
- package/dist/{categories-metadata-7NEC26ST.js → categories-metadata-7ZD3EQUL.js} +3 -4
- package/dist/{category-detail-5FQV3EEF.js → category-detail-QCAHWH2R.js} +6 -7
- package/dist/{category-list-67JSNVXT.js → category-list-ICSYAEYY.js} +4 -4
- package/dist/{category-products-PYE5QISB.js → category-products-CI2FEZAI.js} +4 -5
- package/dist/{chunk-RP3J3X7P.js → chunk-2A5ZKUXK.js} +122 -17
- package/dist/{chunk-CXZYKHP3.js → chunk-2AFJMHDQ.js} +1 -1
- package/dist/{chunk-54MIP34R.js → chunk-2SPWEVJM.js} +4 -4
- package/dist/{chunk-OHL76ICJ.js → chunk-34S2KY5H.js} +2 -2
- package/dist/{chunk-MYPV26Q6.js → chunk-3BW7OZC5.js} +1 -1
- package/dist/{chunk-BJCD2G3U.js → chunk-4END3ACP.js} +1 -1
- package/dist/{chunk-AJZPQDDW.js → chunk-4JXRBULR.js} +9 -0
- package/dist/{chunk-66L2TV2T.js → chunk-4TE6D4KL.js} +1 -1
- package/dist/{chunk-IG6ODEES.js → chunk-4YP5MNMC.js} +2 -2
- package/dist/{chunk-ZQMCTQ2T.js → chunk-5B5KCRXP.js} +1 -1
- package/dist/{chunk-V3FUGIP6.js → chunk-5GNRGXUV.js} +262 -139
- package/dist/{chunk-YZ7TYYVL.js → chunk-5QJTHTHZ.js} +31 -3
- package/dist/{chunk-PFP6ZXLY.js → chunk-6ELMO4BK.js} +2 -2
- package/dist/{chunk-NIOVQSKK.js → chunk-6O6WCVRE.js} +4 -4
- package/dist/{chunk-DCOCYWDB.js → chunk-6TTTVOSM.js} +5 -5
- package/dist/{chunk-CXIXKJRN.js → chunk-7FO4ZIXV.js} +3 -3
- package/dist/{chunk-O3JRFTHJ.js → chunk-7LUDLPNC.js} +249 -14
- package/dist/{chunk-UO3PWR76.js → chunk-AJF67M56.js} +1 -1
- package/dist/{chunk-CDFZKJSC.js → chunk-AM7D5DWK.js} +5 -5
- package/dist/{chunk-6QXWDLBA.js → chunk-CR6UNNGK.js} +2 -2
- package/dist/{chunk-KLDYBT5V.js → chunk-CVP27VJG.js} +1 -1
- package/dist/{chunk-U57QUIXU.js → chunk-CZNXPBVQ.js} +6 -6
- package/dist/{chunk-3RQDJFXV.js → chunk-D5CZENGV.js} +1 -1
- package/dist/{chunk-P4ZQ4WBY.js → chunk-DAM74G6Y.js} +1 -1
- package/dist/chunk-DPZXLZNV.js +82 -0
- package/dist/{chunk-T3IV6KW3.js → chunk-EAUGTGH7.js} +4 -4
- package/dist/{chunk-ZLETGX7L.js → chunk-EIZ75GWK.js} +3 -3
- package/dist/{chunk-PTE652T6.js → chunk-EPQQ5YVY.js} +7 -7
- package/dist/{chunk-V2N6JLWD.js → chunk-FEBVY4B3.js} +1 -1
- package/dist/{chunk-35TFC2OI.js → chunk-FVQSHBUC.js} +1 -1
- package/dist/{chunk-EZIUJWDF.js → chunk-FWUQ4J3Q.js} +1 -1
- package/dist/{chunk-RCCFRBVS.js → chunk-G75WKZUH.js} +3 -3
- package/dist/{chunk-WMQW46GK.js → chunk-GELSC2GR.js} +1 -1
- package/dist/{chunk-QIYPAZ3F.js → chunk-GQ2YKIPT.js} +1 -1
- package/dist/{chunk-BRC3VJXF.js → chunk-HI7YT22S.js} +2 -2
- package/dist/{chunk-CYVLNDOE.js → chunk-HLRQHPJD.js} +2 -2
- package/dist/{chunk-W375D3QV.js → chunk-HM3W4RZ6.js} +1 -1
- package/dist/{chunk-5LYC2W3F.js → chunk-HOW2PD6R.js} +1 -1
- package/dist/{chunk-LUFKMNHC.js → chunk-HW35YR3I.js} +1 -1
- package/dist/{chunk-SWSBDREK.js → chunk-IUVOUIAX.js} +47 -8
- package/dist/{chunk-ZCPG6OV7.js → chunk-JED7GXMZ.js} +1 -1
- package/dist/{chunk-GF4BJFSQ.js → chunk-K3JOZVWF.js} +2 -2
- package/dist/{chunk-ITDTXNYW.js → chunk-KCKOWWD4.js} +1 -1
- package/dist/{chunk-WDTE56OU.js → chunk-KFMV55EY.js} +1 -1
- package/dist/{chunk-EWY3IZYN.js → chunk-MXVCQYLH.js} +1 -1
- package/dist/{chunk-7FWLAALV.js → chunk-N66XUGPQ.js} +1 -1
- package/dist/{chunk-ZPKQWWCF.js → chunk-O7P5NI2O.js} +3 -3
- package/dist/{chunk-OHTFAHSD.js → chunk-OQXYCHBP.js} +2 -2
- package/dist/{chunk-5FBGR45D.js → chunk-PRMXLEEH.js} +35 -46
- package/dist/{chunk-Q254WWFS.js → chunk-PXPLW6S2.js} +1 -1
- package/dist/{chunk-5GDEKA5T.js → chunk-PYSHD7WA.js} +1 -1
- package/dist/{chunk-DC345MJ3.js → chunk-QLIA7VXN.js} +1 -1
- package/dist/{chunk-D7PXCIZX.js → chunk-S2W3ESWN.js} +1 -1
- package/dist/{chunk-D4OER4AQ.js → chunk-SA2BNJKG.js} +1 -1
- package/dist/{chunk-DLUZISYY.js → chunk-SLUAV5CI.js} +1 -1
- package/dist/{chunk-FB2PJHN5.js → chunk-T662AJTV.js} +1 -1
- package/dist/{chunk-D5DTP7VN.js → chunk-T6KTEXIQ.js} +1 -1
- package/dist/{chunk-PTEWKH52.js → chunk-TFMCNFSP.js} +1 -1
- package/dist/{chunk-RJUBLHEA.js → chunk-UBBI4VVN.js} +1 -1
- package/dist/{chunk-KSKAUNR6.js → chunk-UOYKYVNP.js} +4 -4
- package/dist/{chunk-YRMMQMSK.js → chunk-WF6XBAYW.js} +1 -1
- package/dist/{chunk-FYLUWJ65.js → chunk-WTHNGITU.js} +3 -3
- package/dist/{chunk-SO2AG3AO.js → chunk-XZ3RO7U6.js} +1 -1
- package/dist/{chunk-Z4SMWZOZ.js → chunk-YN4BYOTF.js} +28 -105
- package/dist/{chunk-7ZFSINKL.js → chunk-YNNJFA7N.js} +4 -4
- package/dist/{chunk-7CNMMPNC.js → chunk-ZN6MKZHK.js} +1 -1
- package/dist/{collection-add-products-LBVUKSMG.js → collection-add-products-ATEZXIJC.js} +4 -5
- package/dist/{collection-detail-DSI5SKV7.js → collection-detail-4X4UBX5Z.js} +6 -7
- package/dist/{collection-list-AGY73KKK.js → collection-list-2IHIDKI3.js} +10 -11
- package/dist/{collection-metadata-JA6FNG7X.js → collection-metadata-XFHVGDOD.js} +3 -4
- package/dist/{commission-rule-detail-5D557BUZ.js → commission-rule-detail-SHFZRM7C.js} +6 -5
- package/dist/{commissions-list-4MRDFAN6.js → commissions-list-CD3KR4SX.js} +7 -6
- package/dist/{customer-detail-BG2R2NOR.js → customer-detail-7MWXRKMQ.js} +9 -10
- package/dist/{customer-group-add-customers-KF432FE3.js → customer-group-add-customers-DBRDFXWE.js} +1 -1
- package/dist/{customer-group-detail-RK36PDWD.js → customer-group-detail-LOBHXY4K.js} +5 -6
- package/dist/{customer-group-list-A4EASRJE.js → customer-group-list-F7Q7ZVGG.js} +6 -7
- package/dist/{customer-group-metadata-VKKYE2PU.js → customer-group-metadata-5F5K34SG.js} +3 -4
- package/dist/{customer-list-NVJX3U6Z.js → customer-list-X3ZBHUKU.js} +2 -2
- package/dist/{customer-metadata-66O7AAIH.js → customer-metadata-6G46GY4X.js} +3 -4
- package/dist/{customers-add-customer-group-VW3EMFQN.js → customers-add-customer-group-HBJTFW3P.js} +5 -6
- package/dist/{edit-inventory-item-5DA44NRL.js → edit-inventory-item-532BJSOA.js} +3 -4
- package/dist/{edit-inventory-item-attributes-JOPNECMK.js → edit-inventory-item-attributes-DN7MP2FH.js} +3 -4
- package/dist/{edit-rules-RFUBVVNC.js → edit-rules-6ATJQOMU.js} +3 -4
- package/dist/extension-targets.d.ts +16 -1
- package/dist/{home-6HWZA2HQ.js → home-5HJJIWZE.js} +4 -5
- package/dist/index.js +199 -185
- package/dist/{inventory-detail-FGKPZNSF.js → inventory-detail-MRY6YCDY.js} +7 -8
- package/dist/{inventory-list-PUHEUY6U.js → inventory-list-WZWLOTY2.js} +4 -3
- package/dist/{inventory-metadata-7ORFCV66.js → inventory-metadata-KS4NKZBJ.js} +3 -4
- package/dist/{inventory-stock-T6KZIALW.js → inventory-stock-3XPTIXNG.js} +3 -4
- package/dist/{location-detail-7XGIXK5S.js → location-detail-LBSJWM7P.js} +3 -4
- package/dist/{location-fulfillment-providers-447M763E.js → location-fulfillment-providers-NEGD7BBS.js} +7 -8
- package/dist/{location-list-5GFBKAMF.js → location-list-335KUY5E.js} +3 -4
- package/dist/{location-service-zone-create-76EAFAJQ.js → location-service-zone-create-ZW2XTMUN.js} +2 -2
- package/dist/{location-service-zone-manage-areas-AU6O2R7D.js → location-service-zone-manage-areas-6TSND57M.js} +2 -2
- package/dist/{location-service-zone-shipping-option-create-7LAR244C.js → location-service-zone-shipping-option-create-OOIP22WR.js} +4 -5
- package/dist/{location-service-zone-shipping-option-pricing-LLBUNXIJ.js → location-service-zone-shipping-option-pricing-AYDYNP43.js} +6 -6
- package/dist/{login-4VCWKHSL.js → login-T5YMPN4J.js} +3 -4
- package/dist/{marketplace-add-currencies-LP54QP2F.js → marketplace-add-currencies-DDKSYGNL.js} +1 -1
- package/dist/{marketplace-detail-E4CIUFQU.js → marketplace-detail-XVPUQGBH.js} +6 -7
- package/dist/{marketplace-metadata-VUY6G4AN.js → marketplace-metadata-RCZGL5JN.js} +3 -4
- package/dist/{offer-condition-create-YVQW4HH6.js → offer-condition-create-TMTPLH5L.js} +83 -79
- package/dist/{offer-condition-edit-DEZWH75B.js → offer-condition-edit-HUF54R35.js} +73 -67
- package/dist/{offer-condition-list-OZJH25GH.js → offer-condition-list-UVSMDY7T.js} +3 -4
- package/dist/{offer-detail-page-XNA63LSW.js → offer-detail-page-CXNYOO3W.js} +8 -7
- package/dist/{offer-variant-detail-page-UATB4UIF.js → offer-variant-detail-page-2Q2QPCNL.js} +8 -6
- package/dist/{offers-SKRC33TP.js → offers-RWSO5ZXU.js} +5 -6
- package/dist/{order-create-claim-SA7G3BF7.js → order-create-claim-DEXNHM76.js} +1 -1
- package/dist/{order-create-edit-MTLZ4MH6.js → order-create-edit-SFMSQGVI.js} +1 -1
- package/dist/{order-create-exchange-EXWIZNVZ.js → order-create-exchange-I4NZMN2Y.js} +4 -5
- package/dist/{order-create-refund-U7MW6F7N.js → order-create-refund-RC3FREJ3.js} +3 -4
- package/dist/{order-create-return-A7F4OQUD.js → order-create-return-LXJGPQNH.js} +1 -1
- package/dist/{order-detail-GJPG4CAB.js → order-detail-CARRAQQP.js} +7 -8
- package/dist/{order-edit-billing-address-D6L4DHHX.js → order-edit-billing-address-DO3VI2C3.js} +4 -5
- package/dist/{order-edit-email-MBLBJ33W.js → order-edit-email-3RWA6UR7.js} +3 -4
- package/dist/{order-edit-shipping-address-NMJNNLVE.js → order-edit-shipping-address-VM3KJJNP.js} +3 -4
- package/dist/{order-list-UNVOSTDF.js → order-list-N5JRGG5K.js} +7 -6
- package/dist/{order-metadata-WKHAMKGP.js → order-metadata-XD6W5K2O.js} +3 -4
- package/dist/{order-request-transfer-H4RWB2AC.js → order-request-transfer-PUP5X2BQ.js} +3 -4
- package/dist/pages/index.d.ts +8 -41
- package/dist/pages/index.js +86 -86
- package/dist/payout-detail-CPUQHAR5.js +1 -1
- package/dist/{payout-list-J5QBFBDQ.js → payout-list-W3I74MBK.js} +3 -3
- package/dist/{price-list-create-UE2UYIPL.js → price-list-create-BDLZBSJG.js} +8 -9
- package/dist/{price-list-detail-ZDQ43YP4.js → price-list-detail-QLZRZUAT.js} +6 -7
- package/dist/{price-list-list-RVA2BXQB.js → price-list-list-VGW4LCI2.js} +3 -3
- package/dist/{price-list-prices-add-EVGBDDR4.js → price-list-prices-add-RERUUCAD.js} +7 -8
- package/dist/{price-list-prices-edit-4MVSAC5I.js → price-list-prices-edit-YELMWLHR.js} +4 -5
- package/dist/{product-add-existing-attributes-SX5V6ALH.js → product-add-existing-attributes-D6KLIN2I.js} +3 -4
- package/dist/{product-create-4IJYKLTQ.js → product-create-ORVIPAKR.js} +7 -8
- package/dist/{product-detail-G65QK6N7.js → product-detail-FG334JGH.js} +5 -8
- package/dist/{product-list-ON4MTTZV.js → product-list-QYSRSGQI.js} +6 -7
- package/dist/{product-media-B3LJ7FWJ.js → product-media-MZTWTN5L.js} +2 -2
- package/dist/{product-metadata-FCESPWW4.js → product-metadata-RI4FVXBM.js} +3 -4
- package/dist/{product-organization-OSKS6OS3.js → product-organization-DIY2VOMK.js} +1 -1
- package/dist/{product-tag-create-2TY4YQAB.js → product-tag-create-Z7NVJFJV.js} +3 -4
- package/dist/{product-tag-detail-Q3AITBSU.js → product-tag-detail-KU3YZGL3.js} +10 -11
- package/dist/{product-tag-edit-KCLNKY2V.js → product-tag-edit-EC4ZR4LT.js} +3 -4
- package/dist/{product-tag-list-YVDLNSHJ.js → product-tag-list-3ZAYQS3L.js} +10 -11
- package/dist/{product-tag-metadata-M3RJT5FZ.js → product-tag-metadata-AB2SFC3P.js} +3 -4
- package/dist/{product-type-detail-Q6YA46X5.js → product-type-detail-LEQIP6AU.js} +5 -6
- package/dist/{product-type-list-B6RRMREU.js → product-type-list-NB77MNFR.js} +3 -3
- package/dist/{product-type-metadata-D3DPZANK.js → product-type-metadata-SGJLT575.js} +3 -4
- package/dist/{product-variant-detail-YRBD5RG4.js → product-variant-detail-FB2JDFPM.js} +6 -7
- package/dist/{product-variant-edit-UID4S5B5.js → product-variant-edit-SN6BX4C3.js} +3 -4
- package/dist/{product-variant-metadata-I62GDAHX.js → product-variant-metadata-MWHJ5FCE.js} +3 -4
- package/dist/{promotion-create-V5BMZW4U.js → promotion-create-MA6HOBDD.js} +3 -4
- package/dist/{promotion-detail-ZTCYV6LF.js → promotion-detail-ENSGRRUE.js} +6 -7
- package/dist/{promotion-list-JQ5NLHHE.js → promotion-list-34SCRAYC.js} +9 -8
- package/dist/{refund-reason-create-TZJB4OCN.js → refund-reason-create-565K7ZBB.js} +3 -4
- package/dist/{refund-reason-edit-5CZCQAEC.js → refund-reason-edit-7DTDR7KP.js} +3 -4
- package/dist/{refund-reason-list-NDA46HE5.js → refund-reason-list-JPMFJMZO.js} +5 -6
- package/dist/{region-add-countries-IA2HWUQX.js → region-add-countries-CHIU5ZTX.js} +2 -2
- package/dist/region-add-sellers-4CSFPQSS.js +267 -0
- package/dist/{region-create-HRJDZSAK.js → region-create-2V4THOCG.js} +4 -4
- package/dist/{region-detail-UDNWHURY.js → region-detail-D2B56VKX.js} +24 -6
- package/dist/{region-edit-I5NPINKO.js → region-edit-QP7H2ADZ.js} +4 -4
- package/dist/{region-list-QQ3XRZBU.js → region-list-EJ63EBF2.js} +3 -3
- package/dist/{region-metadata-XANI6Y5F.js → region-metadata-IZUCWJS3.js} +6 -7
- package/dist/{reservation-detail-2ROVVFQI.js → reservation-detail-4X34KVIH.js} +6 -7
- package/dist/{reservation-list-FJEIO3S2.js → reservation-list-EWOCWJ66.js} +4 -3
- package/dist/{reservation-metadata-S2SH6TSG.js → reservation-metadata-UWN7NEJC.js} +3 -4
- package/dist/{reset-password-TOQ3VPWI.js → reset-password-DWUYBTRN.js} +1 -1
- package/dist/{return-reason-list-KGOK5S3O.js → return-reason-list-4RPZCXGM.js} +4 -4
- package/dist/{review-list-TWXSIZOP.js → review-list-H7BT5OYV.js} +4 -3
- package/dist/{sales-channel-add-products-TPZNA3RG.js → sales-channel-add-products-TCPN5EEY.js} +4 -5
- package/dist/{sales-channel-detail-4RBCKBJA.js → sales-channel-detail-S3SWDOGX.js} +5 -6
- package/dist/{sales-channel-list-BILHGCXR.js → sales-channel-list-O72NCOLG.js} +3 -4
- package/dist/{sales-channel-metadata-DZWPW662.js → sales-channel-metadata-FN2YCPIL.js} +3 -4
- package/dist/{settings-6L223O7W.js → settings-FRGTPPUI.js} +5 -6
- package/dist/{shipping-option-type-create-2A5QXD6Z.js → shipping-option-type-create-NQZZTMBB.js} +3 -4
- package/dist/{shipping-option-type-detail-KZHSG5NT.js → shipping-option-type-detail-ZZS3YVYC.js} +3 -4
- package/dist/{shipping-option-type-edit-7EAE3I6A.js → shipping-option-type-edit-LXJTIH5R.js} +3 -4
- package/dist/{shipping-option-type-list-7IPKUYPY.js → shipping-option-type-list-GVN6RVYE.js} +6 -7
- package/dist/{shipping-profile-detail-YZJXE6YI.js → shipping-profile-detail-DMIXWURE.js} +3 -3
- package/dist/{shipping-profile-metadata-NOAICKII.js → shipping-profile-metadata-NFXAXJRD.js} +3 -4
- package/dist/{shipping-profiles-list-OC45TR2L.js → shipping-profiles-list-MXAS4BOF.js} +2 -2
- package/dist/store-add-regions-QBL4A6MX.js +253 -0
- package/dist/{store-address-edit-G7TW4RAA.js → store-address-edit-CJPADFHM.js} +2 -1
- package/dist/{store-bulk-edit-UNCNOTZ2.js → store-bulk-edit-IKUGDUMX.js} +2 -1
- package/dist/{store-closure-edit-XM7AJFED.js → store-closure-edit-LZERMK2P.js} +2 -1
- package/dist/{store-create-6GYWD4OD.js → store-create-NW47CN5C.js} +57 -7
- package/dist/{store-details-JPBZWT4H.js → store-details-P6ICUMHM.js} +9 -10
- package/dist/{store-edit-LVDIFZPQ.js → store-edit-L4GXEMRE.js} +4 -3
- package/dist/{store-list-BBQWCGM7.js → store-list-KCA75EPZ.js} +11 -11
- package/dist/{store-member-invite-XJN2UUD4.js → store-member-invite-3OZFSH7X.js} +2 -1
- package/dist/{store-payment-details-edit-UQ2KX2QR.js → store-payment-details-edit-GRC6QX4H.js} +2 -1
- package/dist/{store-professional-details-edit-IRQM4XK2.js → store-professional-details-edit-CCRUKH2E.js} +2 -1
- package/dist/{tax-region-create-PW4NVZRO.js → tax-region-create-XEYJT5QR.js} +4 -5
- package/dist/{tax-region-detail-7WZY4XAW.js → tax-region-detail-QUULJTSG.js} +6 -7
- package/dist/{tax-region-edit-4OHQP2OI.js → tax-region-edit-BF3ZVA6J.js} +3 -4
- package/dist/{tax-region-metadata-UEAAQTWA.js → tax-region-metadata-KSHKVHO7.js} +3 -4
- package/dist/{tax-region-province-detail-AL2DG46U.js → tax-region-province-detail-ZZPIBT27.js} +6 -7
- package/dist/{tax-region-tax-override-create-FCLDSF54.js → tax-region-tax-override-create-CFP4LT4X.js} +8 -9
- package/dist/{tax-region-tax-override-edit-Y2ERYQMS.js → tax-region-tax-override-edit-6YZ6UYUA.js} +8 -9
- package/dist/{user-invite-DMUC4EQ4.js → user-invite-FPLKGQVT.js} +1 -1
- package/dist/{user-list-ZK63T6SJ.js → user-list-FCX5QBTR.js} +2 -2
- package/dist/{user-metadata-CEGDSFEP.js → user-metadata-B2U6IAVD.js} +3 -4
- package/package.json +6 -6
- package/dist/chunk-I2EYFPSO.js +0 -89
- package/dist/{chunk-FMVX2NNF.js → chunk-F5MYJKDV.js} +3 -3
- package/dist/{chunk-HHJDAVVR.js → chunk-KOEIQFBH.js} +3 -3
- package/dist/{chunk-A7CLACER.js → chunk-LSQIVWZX.js} +3 -3
- package/dist/{chunk-GAZEPNOV.js → chunk-RVZPX3PK.js} +3 -3
- package/dist/{promotion-add-campaign-2YKHR4CY.js → promotion-add-campaign-BGRGDRB4.js} +1 -1
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DateCell
|
|
3
|
+
} from "./chunk-F3XPA5ID.js";
|
|
4
|
+
import {
|
|
5
|
+
StatusCell
|
|
6
|
+
} from "./chunk-DB6ANJBO.js";
|
|
7
|
+
import {
|
|
8
|
+
require_dist
|
|
9
|
+
} from "./chunk-YJI74L4M.js";
|
|
10
|
+
import {
|
|
11
|
+
__toESM
|
|
12
|
+
} from "./chunk-NBMM2TZK.js";
|
|
13
|
+
|
|
14
|
+
// src/hooks/table/columns/use-seller-table-columns.tsx
|
|
15
|
+
import { createColumnHelper } from "@tanstack/react-table";
|
|
16
|
+
import { useMemo } from "react";
|
|
17
|
+
import { useTranslation as useTranslation2 } from "react-i18next";
|
|
18
|
+
|
|
19
|
+
// src/components/table/table-cells/seller/seller-status-cell/seller-status-cell.tsx
|
|
20
|
+
import { useTranslation } from "react-i18next";
|
|
21
|
+
var import_types = __toESM(require_dist(), 1);
|
|
22
|
+
import { jsx } from "react/jsx-runtime";
|
|
23
|
+
var SellerStatusCell = ({ status }) => {
|
|
24
|
+
const { t } = useTranslation();
|
|
25
|
+
const [color, text] = {
|
|
26
|
+
[import_types.SellerStatus.OPEN]: ["green", t("stores.status.open")],
|
|
27
|
+
[import_types.SellerStatus.PENDING_APPROVAL]: ["orange", t("stores.status.pendingApproval")],
|
|
28
|
+
[import_types.SellerStatus.SUSPENDED]: ["red", t("stores.status.suspended")],
|
|
29
|
+
[import_types.SellerStatus.TERMINATED]: ["grey", t("stores.status.terminated")]
|
|
30
|
+
}[status];
|
|
31
|
+
return /* @__PURE__ */ jsx(StatusCell, { color, children: text });
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
// src/hooks/table/columns/use-seller-table-columns.tsx
|
|
35
|
+
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
36
|
+
var columnHelper = createColumnHelper();
|
|
37
|
+
var useSellersTableColumns = () => {
|
|
38
|
+
const { t } = useTranslation2();
|
|
39
|
+
return useMemo(
|
|
40
|
+
() => [
|
|
41
|
+
columnHelper.display({
|
|
42
|
+
id: "name",
|
|
43
|
+
header: t("stores.fields.seller"),
|
|
44
|
+
cell: ({ row }) => row.original.name
|
|
45
|
+
}),
|
|
46
|
+
columnHelper.display({
|
|
47
|
+
id: "email",
|
|
48
|
+
header: t("stores.fields.email"),
|
|
49
|
+
cell: ({ row }) => row.original.email
|
|
50
|
+
}),
|
|
51
|
+
columnHelper.display({
|
|
52
|
+
id: "status",
|
|
53
|
+
header: t("fields.status"),
|
|
54
|
+
cell: ({ row }) => {
|
|
55
|
+
return /* @__PURE__ */ jsx2(
|
|
56
|
+
SellerStatusCell,
|
|
57
|
+
{
|
|
58
|
+
status: row.original.status
|
|
59
|
+
}
|
|
60
|
+
);
|
|
61
|
+
}
|
|
62
|
+
}),
|
|
63
|
+
columnHelper.display({
|
|
64
|
+
id: "is_premium",
|
|
65
|
+
header: t("stores.fields.premium"),
|
|
66
|
+
cell: ({ row }) => /* @__PURE__ */ jsx2("span", { className: "text-ui-fg-subtle", children: row.original.is_premium ? t("stores.premium.yes") : t("stores.premium.no") })
|
|
67
|
+
}),
|
|
68
|
+
columnHelper.display({
|
|
69
|
+
id: "created_at",
|
|
70
|
+
header: t("fields.createdAt"),
|
|
71
|
+
cell: ({ row }) => {
|
|
72
|
+
return /* @__PURE__ */ jsx2(DateCell, { date: row.original.created_at });
|
|
73
|
+
}
|
|
74
|
+
})
|
|
75
|
+
],
|
|
76
|
+
[t]
|
|
77
|
+
);
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
export {
|
|
81
|
+
useSellersTableColumns
|
|
82
|
+
};
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TextCell
|
|
3
3
|
} from "./chunk-JHIMVLB2.js";
|
|
4
|
+
import {
|
|
5
|
+
SingleColumnPage
|
|
6
|
+
} from "./chunk-H6MYB7GB.js";
|
|
4
7
|
import {
|
|
5
8
|
useAttributeTableFilters
|
|
6
9
|
} from "./chunk-RT6L7JXU.js";
|
|
7
10
|
import {
|
|
8
11
|
useAttributeTableQuery
|
|
9
12
|
} from "./chunk-4YWKKCTT.js";
|
|
10
|
-
import {
|
|
11
|
-
SingleColumnPage
|
|
12
|
-
} from "./chunk-H6MYB7GB.js";
|
|
13
13
|
import {
|
|
14
14
|
_DataTable,
|
|
15
15
|
useDataTable
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4JXRBULR.js";
|
|
17
17
|
import {
|
|
18
18
|
ActionMenu
|
|
19
19
|
} from "./chunk-3UOYBH5O.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePromotionTableColumns,
|
|
3
3
|
usePromotionTableQuery
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-T6KTEXIQ.js";
|
|
5
5
|
import {
|
|
6
6
|
usePromotionTableFilters
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-T662AJTV.js";
|
|
8
8
|
import {
|
|
9
9
|
SingleColumnPage
|
|
10
10
|
} from "./chunk-H6MYB7GB.js";
|
|
11
11
|
import {
|
|
12
12
|
_DataTable,
|
|
13
13
|
useDataTable
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4JXRBULR.js";
|
|
15
15
|
import {
|
|
16
16
|
ActionMenu
|
|
17
17
|
} from "./chunk-3UOYBH5O.js";
|
|
@@ -11,26 +11,26 @@ import {
|
|
|
11
11
|
import {
|
|
12
12
|
_DataTable,
|
|
13
13
|
useDataTable
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4JXRBULR.js";
|
|
15
15
|
import {
|
|
16
16
|
ActionMenu
|
|
17
17
|
} from "./chunk-3UOYBH5O.js";
|
|
18
18
|
import {
|
|
19
19
|
useCurrencies
|
|
20
20
|
} from "./chunk-HPYBEU4R.js";
|
|
21
|
-
import {
|
|
22
|
-
useRegion
|
|
23
|
-
} from "./chunk-I2EYFPSO.js";
|
|
24
21
|
import {
|
|
25
22
|
useStore,
|
|
26
23
|
useUpdateStore
|
|
27
24
|
} from "./chunk-DSH4HYI2.js";
|
|
28
|
-
import {
|
|
29
|
-
usePricePreferences
|
|
30
|
-
} from "./chunk-LDLZJB4B.js";
|
|
31
25
|
import {
|
|
32
26
|
useStockLocation
|
|
33
27
|
} from "./chunk-WDIFZQLC.js";
|
|
28
|
+
import {
|
|
29
|
+
useRegion
|
|
30
|
+
} from "./chunk-2A5ZKUXK.js";
|
|
31
|
+
import {
|
|
32
|
+
usePricePreferences
|
|
33
|
+
} from "./chunk-LDLZJB4B.js";
|
|
34
34
|
import {
|
|
35
35
|
useSalesChannel
|
|
36
36
|
} from "./chunk-7NXOLMSS.js";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
usePromotionTableColumns,
|
|
7
7
|
usePromotionTableQuery
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-T6KTEXIQ.js";
|
|
9
9
|
import {
|
|
10
10
|
usePromotionTableFilters
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-T662AJTV.js";
|
|
12
12
|
import {
|
|
13
13
|
DateRangeDisplay
|
|
14
14
|
} from "./chunk-O7324VFF.js";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
import {
|
|
19
19
|
_DataTable,
|
|
20
20
|
useDataTable
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-4JXRBULR.js";
|
|
22
22
|
import {
|
|
23
23
|
ActionMenu
|
|
24
24
|
} from "./chunk-3UOYBH5O.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
getMenuItemsByType,
|
|
8
8
|
useExpandedSidebar,
|
|
9
9
|
useLandingRoute
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AJF67M56.js";
|
|
11
11
|
|
|
12
12
|
// src/components/layout/settings-layout/settings-layout.tsx
|
|
13
13
|
import { Fragment, useCallback, useEffect, useMemo, useState } from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useCustomerGroupTableFilters
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-2AFJMHDQ.js";
|
|
4
4
|
import {
|
|
5
5
|
useCustomerGroupTableQuery
|
|
6
6
|
} from "./chunk-3XOE4NV5.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
import {
|
|
11
11
|
_DataTable,
|
|
12
12
|
useDataTable
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4JXRBULR.js";
|
|
14
14
|
import {
|
|
15
15
|
useDate
|
|
16
16
|
} from "./chunk-EIWPJWKF.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
useOfferTableColumns,
|
|
6
6
|
useOfferTableFilters,
|
|
7
7
|
useOfferTableQuery
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HM3W4RZ6.js";
|
|
9
9
|
import {
|
|
10
10
|
getPriceListStatus
|
|
11
11
|
} from "./chunk-KVAD5JGS.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
import {
|
|
25
25
|
_DataTable,
|
|
26
26
|
useDataTable
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-4JXRBULR.js";
|
|
28
28
|
import {
|
|
29
29
|
NoRecords
|
|
30
30
|
} from "./chunk-4J74G7N2.js";
|
|
@@ -15828,6 +15828,20 @@ var en_default = {
|
|
|
15828
15828
|
label: "Requirements",
|
|
15829
15829
|
hint: "Specify the requirements for the shipping option."
|
|
15830
15830
|
}
|
|
15831
|
+
},
|
|
15832
|
+
sellers: {
|
|
15833
|
+
header: "Stores",
|
|
15834
|
+
add: "Add stores",
|
|
15835
|
+
hint: "Stores assigned to this region can see it and price offers and shipping in its currency.",
|
|
15836
|
+
empty: "No stores are assigned to this region.",
|
|
15837
|
+
noSellersToAdd: "There are no stores to add.",
|
|
15838
|
+
alreadyAssigned: "This store is already assigned to the region.",
|
|
15839
|
+
removeWarning_one: "You are about to remove {{count}} store from this region. The store will no longer be able to price offers or shipping in it.",
|
|
15840
|
+
removeWarning_other: "You are about to remove {{count}} stores from this region. They will no longer be able to price offers or shipping in it.",
|
|
15841
|
+
toast: {
|
|
15842
|
+
added: "Stores added to region successfully",
|
|
15843
|
+
removed: "Stores removed from region successfully"
|
|
15844
|
+
}
|
|
15831
15845
|
}
|
|
15832
15846
|
},
|
|
15833
15847
|
taxes: {
|
|
@@ -16228,16 +16242,15 @@ var en_default = {
|
|
|
16228
16242
|
},
|
|
16229
16243
|
offerConditions: {
|
|
16230
16244
|
domain: "Offer Conditions",
|
|
16231
|
-
subtitle: "Manage the conditions
|
|
16232
|
-
enabledHint: "Sellers can only list new offers under enabled conditions. Existing offers keep their condition.",
|
|
16245
|
+
subtitle: "Manage the conditions stores can list offers under.",
|
|
16233
16246
|
create: {
|
|
16234
16247
|
header: "Create Offer Condition",
|
|
16235
|
-
subtitle: "
|
|
16248
|
+
subtitle: "Specify the conditions stores can list their offers under.",
|
|
16236
16249
|
successToast: "Offer condition {{label}} was successfully created."
|
|
16237
16250
|
},
|
|
16238
16251
|
edit: {
|
|
16239
16252
|
header: "Edit Offer Condition",
|
|
16240
|
-
subtitle: "Edit the offer condition
|
|
16253
|
+
subtitle: "Edit the details of the offer condition.",
|
|
16241
16254
|
successToast: "Offer condition {{label}} was successfully updated."
|
|
16242
16255
|
},
|
|
16243
16256
|
delete: {
|
|
@@ -16246,15 +16259,21 @@ var en_default = {
|
|
|
16246
16259
|
},
|
|
16247
16260
|
fields: {
|
|
16248
16261
|
label: {
|
|
16262
|
+
label: "Label",
|
|
16249
16263
|
placeholder: "Refurbished"
|
|
16250
16264
|
},
|
|
16251
16265
|
code: {
|
|
16266
|
+
label: "Code",
|
|
16252
16267
|
placeholder: "refurbished",
|
|
16253
|
-
|
|
16268
|
+
tooltip: "The code should be a unique identifier for the offer condition."
|
|
16254
16269
|
},
|
|
16255
16270
|
rank: {
|
|
16256
16271
|
label: "Rank",
|
|
16257
|
-
|
|
16272
|
+
tooltip: "Conditions with a lower rank are listed first."
|
|
16273
|
+
},
|
|
16274
|
+
isActive: {
|
|
16275
|
+
label: "Enabled",
|
|
16276
|
+
hint: "When disabled, stores can't list new offers under this condition."
|
|
16258
16277
|
}
|
|
16259
16278
|
}
|
|
16260
16279
|
},
|
|
@@ -16849,7 +16868,9 @@ var en_default = {
|
|
|
16849
16868
|
emailRequired: "Please enter an email",
|
|
16850
16869
|
emailInvalid: "Please enter a valid email",
|
|
16851
16870
|
currencyRequired: "Please select a currency"
|
|
16852
|
-
}
|
|
16871
|
+
},
|
|
16872
|
+
regions: "Regions",
|
|
16873
|
+
regionsHint: "The store default region is always assigned. Each assigned region unlocks its currency for pricing."
|
|
16853
16874
|
},
|
|
16854
16875
|
request: {
|
|
16855
16876
|
title: "Store request",
|
|
@@ -16896,6 +16917,23 @@ var en_default = {
|
|
|
16896
16917
|
successToast: "{{count}} store(s) updated",
|
|
16897
16918
|
emptyHeading: "No stores selected",
|
|
16898
16919
|
emptyDescription: "Select stores from the list to edit them here."
|
|
16920
|
+
},
|
|
16921
|
+
regions: {
|
|
16922
|
+
header: "Regions",
|
|
16923
|
+
add: "Add regions",
|
|
16924
|
+
empty: {
|
|
16925
|
+
title: "No regions assigned",
|
|
16926
|
+
message: "Assign regions so the seller can price offers and shipping in them."
|
|
16927
|
+
},
|
|
16928
|
+
noRegionsToAdd: "There are no regions to add.",
|
|
16929
|
+
alreadyAssigned: "This region is already assigned to the seller.",
|
|
16930
|
+
removeWarning: "You are about to remove the region {{name}} from this seller. The seller will no longer be able to price offers or shipping in it.",
|
|
16931
|
+
toast: {
|
|
16932
|
+
added: "Regions added successfully",
|
|
16933
|
+
removed: "Region removed successfully"
|
|
16934
|
+
},
|
|
16935
|
+
hint: "Assigned regions decide which currencies this store can price in. The default region is assigned on creation.",
|
|
16936
|
+
lastRegion: "A store must stay assigned to at least one region."
|
|
16899
16937
|
}
|
|
16900
16938
|
},
|
|
16901
16939
|
messages: {
|
|
@@ -17130,7 +17168,8 @@ var en_default = {
|
|
|
17130
17168
|
in_stock: "In stock",
|
|
17131
17169
|
low_stock: "Low stock",
|
|
17132
17170
|
out_of_stock: "Out of stock"
|
|
17133
|
-
}
|
|
17171
|
+
},
|
|
17172
|
+
regionPrices: "Region prices"
|
|
17134
17173
|
},
|
|
17135
17174
|
permissions: {
|
|
17136
17175
|
noAccess: "You don't have permission to view this.",
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
_DataTable,
|
|
15
15
|
useDataTable
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4JXRBULR.js";
|
|
17
17
|
import {
|
|
18
18
|
ActionMenu
|
|
19
19
|
} from "./chunk-3UOYBH5O.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-WDIFZQLC.js";
|
|
23
23
|
import {
|
|
24
24
|
useSellers
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-2A5ZKUXK.js";
|
|
26
26
|
import {
|
|
27
27
|
useDeleteInventoryItem,
|
|
28
28
|
useInventoryItems
|
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
} from "./chunk-54EPH67T.js";
|
|
4
4
|
import {
|
|
5
5
|
useCustomerGroupTableFilters
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-2AFJMHDQ.js";
|
|
7
7
|
import {
|
|
8
8
|
useOrderGroupTableFilters
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-FVQSHBUC.js";
|
|
10
10
|
import {
|
|
11
11
|
useOrderTableQuery
|
|
12
12
|
} from "./chunk-QUHSHIAC.js";
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
import {
|
|
37
37
|
_DataTable,
|
|
38
38
|
useDataTable
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-4JXRBULR.js";
|
|
40
40
|
import {
|
|
41
41
|
NoRecords
|
|
42
42
|
} from "./chunk-4J74G7N2.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
import {
|
|
14
14
|
_DataTable,
|
|
15
15
|
useDataTable
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4JXRBULR.js";
|
|
17
17
|
import {
|
|
18
18
|
ActionMenu
|
|
19
19
|
} from "./chunk-3UOYBH5O.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-F7VUPDXV.js";
|
|
27
27
|
import {
|
|
28
28
|
useSellers
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-2A5ZKUXK.js";
|
|
30
30
|
|
|
31
31
|
// src/pages/reservations/reservation-list/reservation-list.tsx
|
|
32
32
|
import { Children as Children2 } from "react";
|
|
@@ -7,9 +7,6 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
PRODUCT_DETAIL_QUERY
|
|
9
9
|
} from "./chunk-6BAPAIQM.js";
|
|
10
|
-
import {
|
|
11
|
-
TwoColumnPage
|
|
12
|
-
} from "./chunk-E74OUNA3.js";
|
|
13
10
|
import {
|
|
14
11
|
Thumbnail
|
|
15
12
|
} from "./chunk-U3I6S3RO.js";
|
|
@@ -22,13 +19,13 @@ import {
|
|
|
22
19
|
import {
|
|
23
20
|
_DataTable,
|
|
24
21
|
useDataTable
|
|
25
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4JXRBULR.js";
|
|
26
23
|
import {
|
|
27
24
|
ActionMenu
|
|
28
25
|
} from "./chunk-3UOYBH5O.js";
|
|
29
26
|
import {
|
|
30
27
|
useSeller
|
|
31
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-2A5ZKUXK.js";
|
|
32
29
|
import {
|
|
33
30
|
useProductAttributes
|
|
34
31
|
} from "./chunk-ICCSGMYB.js";
|
|
@@ -56,9 +53,20 @@ import {
|
|
|
56
53
|
} from "./chunk-NBMM2TZK.js";
|
|
57
54
|
|
|
58
55
|
// src/pages/products/product-detail/product-detail.tsx
|
|
59
|
-
import { Children } from "react";
|
|
60
56
|
import { useLoaderData, useParams } from "react-router-dom";
|
|
61
|
-
|
|
57
|
+
|
|
58
|
+
// ../dashboard-sdk/dist/index.js
|
|
59
|
+
var CORE_LAYOUT_IDS = {
|
|
60
|
+
SINGLE_COLUMN: "core:single-column",
|
|
61
|
+
TWO_COLUMN: "core:two-column"
|
|
62
|
+
};
|
|
63
|
+
|
|
64
|
+
// src/pages/products/product-detail/product-detail.tsx
|
|
65
|
+
import {
|
|
66
|
+
LayoutComposer,
|
|
67
|
+
detailPageDefaultEntries,
|
|
68
|
+
useLinkQuery
|
|
69
|
+
} from "@mercurjs/dashboard-shared";
|
|
62
70
|
|
|
63
71
|
// src/pages/products/product-detail/components/product-active-edit-section/product-active-edit-section.tsx
|
|
64
72
|
var import_types = __toESM(require_dist(), 1);
|
|
@@ -1074,8 +1082,8 @@ var useOrderBy = () => {
|
|
|
1074
1082
|
};
|
|
1075
1083
|
|
|
1076
1084
|
// src/pages/products/product-detail/product-detail.tsx
|
|
1077
|
-
import { jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1078
|
-
var
|
|
1085
|
+
import { Fragment as Fragment2, jsx as jsx8, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
1086
|
+
var ProductDetailPage = () => {
|
|
1079
1087
|
const initialData = useLoaderData();
|
|
1080
1088
|
const { id } = useParams();
|
|
1081
1089
|
const query = useLinkQuery("product", PRODUCT_DETAIL_QUERY.fields);
|
|
@@ -1102,49 +1110,30 @@ var Root = ({ children }) => {
|
|
|
1102
1110
|
if (isError) {
|
|
1103
1111
|
throw error;
|
|
1104
1112
|
}
|
|
1105
|
-
return
|
|
1106
|
-
|
|
1107
|
-
{
|
|
1108
|
-
data: product,
|
|
1109
|
-
showJSON: true,
|
|
1110
|
-
showMetadata: true,
|
|
1111
|
-
"data-testid": "product-detail-page",
|
|
1112
|
-
children
|
|
1113
|
-
}
|
|
1114
|
-
) : /* @__PURE__ */ jsxs7(
|
|
1115
|
-
TwoColumnPage,
|
|
1113
|
+
return /* @__PURE__ */ jsx8(
|
|
1114
|
+
LayoutComposer,
|
|
1116
1115
|
{
|
|
1116
|
+
widgetsZonePrefix: "product.detail",
|
|
1117
|
+
preferredLayoutId: CORE_LAYOUT_IDS.TWO_COLUMN,
|
|
1117
1118
|
data: product,
|
|
1118
|
-
showJSON: true,
|
|
1119
|
-
showMetadata: true,
|
|
1120
1119
|
"data-testid": "product-detail-page",
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
/* @__PURE__ */ jsx8(ProductActiveRequestSection, { product }),
|
|
1124
|
-
/* @__PURE__ */ jsx8(ProductActiveEditSection, { product }),
|
|
1125
|
-
/* @__PURE__ */ jsx8(ProductGeneralSection, { product }),
|
|
1126
|
-
/* @__PURE__ */ jsx8(ProductMediaSection, { product }),
|
|
1127
|
-
/* @__PURE__ */ jsx8(ProductVariantSection, { product })
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
/* @__PURE__ */ jsx8(
|
|
1132
|
-
|
|
1133
|
-
|
|
1120
|
+
sections: {
|
|
1121
|
+
main: /* @__PURE__ */ jsxs7(Fragment2, { children: [
|
|
1122
|
+
/* @__PURE__ */ jsx8(LayoutComposer.Entry, { id: "ProductActiveRequestSection", children: /* @__PURE__ */ jsx8(ProductActiveRequestSection, { product }) }),
|
|
1123
|
+
/* @__PURE__ */ jsx8(LayoutComposer.Entry, { id: "ProductActiveEditSection", children: /* @__PURE__ */ jsx8(ProductActiveEditSection, { product }) }),
|
|
1124
|
+
/* @__PURE__ */ jsx8(LayoutComposer.Entry, { id: "ProductGeneralSection", children: /* @__PURE__ */ jsx8(ProductGeneralSection, { product }) }),
|
|
1125
|
+
/* @__PURE__ */ jsx8(LayoutComposer.Entry, { id: "ProductMediaSection", children: /* @__PURE__ */ jsx8(ProductMediaSection, { product }) }),
|
|
1126
|
+
/* @__PURE__ */ jsx8(LayoutComposer.Entry, { id: "ProductVariantSection", children: /* @__PURE__ */ jsx8(ProductVariantSection, { product }) }),
|
|
1127
|
+
detailPageDefaultEntries(product)
|
|
1128
|
+
] }),
|
|
1129
|
+
side: /* @__PURE__ */ jsxs7(Fragment2, { children: [
|
|
1130
|
+
/* @__PURE__ */ jsx8(LayoutComposer.Entry, { id: "ProductOrganizationSection", children: /* @__PURE__ */ jsx8(ProductOrganizationSection, { product }) }),
|
|
1131
|
+
/* @__PURE__ */ jsx8(LayoutComposer.Entry, { id: "ProductAttributeSection", children: /* @__PURE__ */ jsx8(ProductAttributeSection, { product }) })
|
|
1132
|
+
] })
|
|
1133
|
+
}
|
|
1134
1134
|
}
|
|
1135
1135
|
);
|
|
1136
1136
|
};
|
|
1137
|
-
var ProductDetailPage = Object.assign(Root, {
|
|
1138
|
-
Main: TwoColumnPage.Main,
|
|
1139
|
-
Sidebar: TwoColumnPage.Sidebar,
|
|
1140
|
-
MainActiveRequestSection: ProductActiveRequestSection,
|
|
1141
|
-
MainActiveEditSection: ProductActiveEditSection,
|
|
1142
|
-
MainGeneralSection: ProductGeneralSection,
|
|
1143
|
-
MainMediaSection: ProductMediaSection,
|
|
1144
|
-
MainAttributeSection: ProductAttributeSection,
|
|
1145
|
-
MainVariantSection: ProductVariantSection,
|
|
1146
|
-
SidebarOrganizationSection: ProductOrganizationSection
|
|
1147
|
-
});
|
|
1148
1137
|
|
|
1149
1138
|
export {
|
|
1150
1139
|
ProductDetailPage
|