@mercurjs/vendor 2.2.0-rc.3 → 2.2.1-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/{[id]-OV5VX7KD.js → [id]-4H5PHF5Y.js} +12 -12
- package/dist/{[id]-LJABCC3D.js → [id]-DO6VH55G.js} +14 -14
- package/dist/{[id]-RFC2YGFT.js → [id]-JZSYMEEU.js} +3 -3
- package/dist/{[id]-AXGVRF7M.js → [id]-L3SFKXZ7.js} +9 -9
- package/dist/{[id]-NGB5OLRW.js → [id]-ME4FNZNO.js} +77 -240
- package/dist/{[id]-VKEADKFV.js → [id]-OHHNUQEA.js} +13 -13
- package/dist/{[id]-FOWK6QIJ.js → [id]-UPNT4QPB.js} +14 -14
- package/dist/{[id]-H3YKIFO3.js → [id]-URI4QFRU.js} +81 -32
- package/dist/{[id]-WUXFJPPB.js → [id]-V4RDXDN5.js} +7 -7
- package/dist/{[id]-IFWREJVP.js → [id]-X75OHEV7.js} +13 -13
- package/dist/{[id]-DKF4YEXN.js → [id]-XMJLPBNR.js} +10 -10
- package/dist/{[id]-3GF4DR5K.js → [id]-ZD5HBP2R.js} +11 -11
- package/dist/{[location_id]-ZG5GZKHC.js → [location_id]-CJDVYICJ.js} +1 -1
- package/dist/{[province_id]-KEDQTW6S.js → [province_id]-4WMI4GFG.js} +9 -9
- package/dist/{add-HARVSLKD.js → add-Q4A7JELU.js} +14 -14
- package/dist/{add-IEIH4CBT.js → add-YEUSE5QA.js} +9 -9
- package/dist/{add-customer-groups-EJIRM264.js → add-customer-groups-U2VVS2U4.js} +9 -9
- package/dist/{add-products-MW2JYTSJ.js → add-products-GVD6RS4H.js} +13 -13
- package/dist/{add-promotions-7KCUDY3S.js → add-promotions-C4EVHYS6.js} +7 -7
- package/dist/{add-to-campaign-B7RFNWPF.js → add-to-campaign-WBSCTSKW.js} +2 -2
- package/dist/{address-CP2MSWLA.js → address-ZMZ4ST5T.js} +7 -7
- package/dist/{adjust-inventory-CQPDV5X7.js → adjust-inventory-QUGKDXOC.js} +1 -1
- package/dist/{allocate-items-646J75L2.js → allocate-items-7NSBGXSF.js} +2 -2
- package/dist/{areas-VO7NUUUL.js → areas-V6PALYZ5.js} +3 -3
- package/dist/{attributes-HU6I723C.js → attributes-6KZMMR7U.js} +1 -1
- package/dist/{breadcrumb-3M7RKX5V.js → breadcrumb-C7M5PG2Q.js} +7 -7
- package/dist/{breadcrumb-X5TTCKIB.js → breadcrumb-CX5327S5.js} +1 -1
- package/dist/{breadcrumb-C7X6FV2H.js → breadcrumb-JWFTKHLE.js} +2 -2
- package/dist/{breadcrumb-4Z7NR2BO.js → breadcrumb-KLNC72RI.js} +2 -2
- package/dist/{breadcrumb-HK53R6S2.js → breadcrumb-KNBZ3JNR.js} +1 -1
- package/dist/{breadcrumb-UVODV3YP.js → breadcrumb-M657ZCG6.js} +2 -2
- package/dist/{breadcrumb-KV6K64PW.js → breadcrumb-M6NW3DRQ.js} +1 -1
- package/dist/{breadcrumb-TPITDYD7.js → breadcrumb-MXYWEBK6.js} +7 -7
- package/dist/{breadcrumb-FF7H3XPP.js → breadcrumb-NBO7UIBV.js} +2 -2
- package/dist/{breadcrumb-EAYZVNKS.js → breadcrumb-QPV566YX.js} +7 -7
- package/dist/{campaigns-JKFMRYZE.js → campaigns-JVLK7PZZ.js} +3 -3
- package/dist/{categories-2PGWWGP6.js → categories-V5UXBO7N.js} +5 -5
- package/dist/{chunk-P7UBW2EI.js → chunk-2S2WK2OG.js} +1 -1
- package/dist/{chunk-AAKR2CB4.js → chunk-3GSR455R.js} +1 -1
- package/dist/{chunk-DSNCEHLY.js → chunk-3WQSQ46M.js} +54 -12
- package/dist/{chunk-53JNB4BP.js → chunk-4E26HOEQ.js} +3 -3
- package/dist/{chunk-B25W27XK.js → chunk-4PLH6C5Y.js} +2 -2
- package/dist/{chunk-52KJSIHS.js → chunk-4UQMRTSC.js} +1393 -1359
- package/dist/{chunk-D6XR2USM.js → chunk-5YRE7YS6.js} +6 -6
- package/dist/{chunk-DHARUTMI.js → chunk-63F4K3JV.js} +1 -1
- package/dist/{chunk-RPMYKDNA.js → chunk-6VKJM537.js} +1 -1
- package/dist/{chunk-2GVPLCQR.js → chunk-72HQFLZI.js} +1 -1
- package/dist/{chunk-ORI73OPX.js → chunk-7BIBEQTK.js} +1 -1
- package/dist/{chunk-YVI3LZ3X.js → chunk-7LSQNTWJ.js} +5 -5
- package/dist/{chunk-ZZ4JC4WE.js → chunk-A2KHOOJJ.js} +305 -271
- package/dist/{chunk-F4ORNDFU.js → chunk-B6PFCERY.js} +1 -1
- package/dist/{chunk-P76QYIFF.js → chunk-BTQN4KKH.js} +1 -1
- package/dist/{chunk-JDMNEMRJ.js → chunk-BX3JE7IE.js} +1 -1
- package/dist/{chunk-54SCBOWD.js → chunk-BZ62QUXM.js} +5 -5
- package/dist/{chunk-3IZSQI6K.js → chunk-CQ2LZLMZ.js} +1 -1
- package/dist/{chunk-656G74I2.js → chunk-DETQ6IBQ.js} +1 -1
- package/dist/{chunk-YAUGB4LD.js → chunk-EMUCGKHP.js} +19 -23
- package/dist/{chunk-D6RN3ONJ.js → chunk-EPSRO7C5.js} +2 -2
- package/dist/{chunk-6PSJJHI4.js → chunk-GIKVFOQL.js} +1 -1
- package/dist/{chunk-DSY5PNK6.js → chunk-HCUIYIIY.js} +1 -1
- package/dist/{chunk-SCPQYA26.js → chunk-HJKH5CIN.js} +1 -1
- package/dist/{chunk-KUH5ZX7G.js → chunk-IMIPUUZG.js} +1 -1
- package/dist/chunk-J75EFK5A.js +59 -0
- package/dist/{chunk-IP6TSKUQ.js → chunk-JB32ZD4Y.js} +2 -2
- package/dist/chunk-MDABSESI.js +38 -0
- package/dist/{chunk-UWU6VSO4.js → chunk-MJDXUH62.js} +2 -2
- package/dist/{chunk-RSOV55K7.js → chunk-NIBVITRN.js} +1 -1
- package/dist/{chunk-XKEYHWBS.js → chunk-OCYVN77Z.js} +1 -1
- package/dist/{chunk-DIAWPVYS.js → chunk-OGUTFP6B.js} +1 -1
- package/dist/{chunk-OCS24TF4.js → chunk-OTBX6TP5.js} +1 -1
- package/dist/{chunk-OZ2UHCWA.js → chunk-OZJVEN6Y.js} +1 -1
- package/dist/{chunk-N7YRIXJA.js → chunk-OZUKJHBG.js} +2 -2
- package/dist/{chunk-5DKUSZQ7.js → chunk-PF7R7LMW.js} +1 -1
- package/dist/{chunk-WJ4KVDFV.js → chunk-PFZJDFJE.js} +1 -1
- package/dist/{chunk-7TQNE3E2.js → chunk-RR276N7K.js} +1 -1
- package/dist/{chunk-57ZJ6HTU.js → chunk-RVFPWOR2.js} +4 -1
- package/dist/{chunk-MDGTQT5D.js → chunk-RW2EF2S2.js} +15 -44
- package/dist/{chunk-S5KWI3MM.js → chunk-RZNF5OGM.js} +12 -12
- package/dist/{chunk-G64YUZSL.js → chunk-S2VYK3YC.js} +1 -1
- package/dist/{chunk-E73SSHJR.js → chunk-SA7ZGKMI.js} +1 -1
- package/dist/{chunk-SFQOECF7.js → chunk-SI55QRZ4.js} +7 -6
- package/dist/{chunk-XQO243HC.js → chunk-TGAJLPO4.js} +1 -1
- package/dist/{chunk-WN2NWWVO.js → chunk-TII3PB6X.js} +1 -1
- package/dist/{chunk-VUWAOX7H.js → chunk-U5V6HNVW.js} +1 -1
- package/dist/{chunk-XEQU2OQP.js → chunk-UJ57OE7G.js} +4 -4
- package/dist/{chunk-4GPAS5GW.js → chunk-UST2RGWB.js} +3 -2
- package/dist/{chunk-DRKRLQZZ.js → chunk-VHFKJLDH.js} +1 -1
- package/dist/{chunk-KGHHGMDU.js → chunk-VVTBCP3J.js} +2 -2
- package/dist/{chunk-XUJUJD2E.js → chunk-VVX7PL6K.js} +77 -14
- package/dist/{chunk-P27MQBMZ.js → chunk-WJF24CGA.js} +1 -1
- package/dist/{chunk-OQTL7PXK.js → chunk-XVBONKRV.js} +1 -1
- package/dist/{chunk-ZZ7T7GN5.js → chunk-YG5K4DQ2.js} +25 -16
- package/dist/{chunk-4ZWIWI2H.js → chunk-Z6KOYIKK.js} +2 -2
- package/dist/{chunk-VQTQILLY.js → chunk-ZEXF3ABX.js} +1 -1
- package/dist/{chunk-CVXKASWV.js → chunk-ZHXIOG62.js} +1 -1
- package/dist/{chunk-LFX6R456.js → chunk-ZXDMPIXN.js} +3 -3
- package/dist/{collections-BLDMQOVB.js → collections-K7H2MWBH.js} +13 -13
- package/dist/{configuration-YVYVOLSP.js → configuration-QEDVL2WF.js} +2 -2
- package/dist/{create-FYKFT7TQ.js → create-2I3GAX4C.js} +7 -7
- package/dist/{create-3WBHG32J.js → create-2VDED7TL.js} +6 -6
- package/dist/{create-QZVZF3MJ.js → create-7FT7N2NH.js} +2 -2
- package/dist/{create-PO3JC6QK.js → create-GEOTGYQK.js} +7 -7
- package/dist/{create-NNBIDU4Q.js → create-GEYXN6SW.js} +7 -7
- package/dist/{create-Z6ZHEAKU.js → create-H77ZUZG5.js} +7 -7
- package/dist/{create-Y2FZ4565.js → create-HQVENM5H.js} +159 -132
- package/dist/{create-TDQISX3H.js → create-LJO4YEDW.js} +5 -5
- package/dist/{create-ZLYEPOAQ.js → create-MFGMTZ5A.js} +8 -8
- package/dist/{create-PO2JF7F5.js → create-PF2465JI.js} +15 -15
- package/dist/{create-XORPYXNT.js → create-S7VYYTUD.js} +9 -9
- package/dist/{create-7VKH255E.js → create-T6WOFJDM.js} +3 -3
- package/dist/{create-DU2V6X5H.js → create-V4YOFXW7.js} +13 -13
- package/dist/{create-G6VJD52A.js → create-VWONAYEZ.js} +15 -15
- package/dist/{customer-group-add-customers-UTBBZ6T4.js → customer-group-add-customers-GUJQAPU4.js} +2 -2
- package/dist/{customer-group-detail-WSBXE23J.js → customer-group-detail-ZQOMC6C5.js} +3 -3
- package/dist/{customer-groups-TWCYFU3U.js → customer-groups-JKF46LEB.js} +3 -3
- package/dist/{customers-6HDZKARD.js → customers-OZJ5UBIZ.js} +3 -3
- package/dist/{edit-K2IP2H25.js → edit-4B364HGZ.js} +2 -2
- package/dist/{edit-Y4XONJJU.js → edit-6VJWRZHQ.js} +7 -7
- package/dist/{edit-IVBVZ5NL.js → edit-735HBYH2.js} +2 -2
- package/dist/{edit-YDMBLXGU.js → edit-M4AP65HO.js} +8 -8
- package/dist/{edit-CKO32TA3.js → edit-MPOTIGUY.js} +8 -8
- package/dist/{edit-3AM5DZE7.js → edit-PUGFEETJ.js} +10 -10
- package/dist/edit-QBUYHSE7.js +122 -0
- package/dist/{edit-CNXA4GKJ.js → edit-QHXQ4XOC.js} +6 -6
- package/dist/{edit-YPIJHIGC.js → edit-RJUZDCAC.js} +15 -15
- package/dist/{edit-3HMTDPZK.js → edit-SQU5UOGE.js} +8 -8
- package/dist/{edit-OOY2XGLZ.js → edit-TFFIBHDE.js} +53 -42
- package/dist/edit-TTW5DB77.js +525 -0
- package/dist/{edit-inventory-item-5VBH365V.js → edit-inventory-item-BCVECCLT.js} +1 -1
- package/dist/{edit-inventory-item-attributes-RMKG2IRO.js → edit-inventory-item-attributes-GWEMP67O.js} +1 -1
- package/dist/{edit-price-PDS4XN2J.js → edit-price-GLAEAO7R.js} +2 -2
- package/dist/{edit-stock-UI6HXHJJ.js → edit-stock-E3PM2YOP.js} +2 -2
- package/dist/extension-targets.d.ts +2 -2
- package/dist/{fulfillment-6GC3NRFT.js → fulfillment-HDU7GATG.js} +7 -7
- package/dist/{fulfillment-providers-IND53UPG.js → fulfillment-providers-KT6GFVHM.js} +12 -12
- package/dist/index.css +9 -0
- package/dist/index.js +158 -158
- package/dist/{inventory-BDST2XIX.js → inventory-4DHRHO5G.js} +4 -4
- package/dist/{inventory-LSG2IEWD.js → inventory-CKA34HWM.js} +2 -2
- package/dist/{invite-DD2G6UUM.js → invite-4CRK5AKM.js} +10 -10
- package/dist/{invite-CNJQ27AY.js → invite-755AJC3M.js} +7 -7
- package/dist/{loader-MJTR2S7V.js → loader-B4T2VBGV.js} +2 -2
- package/dist/{loader-BLRQLIJT.js → loader-UUSAVCK6.js} +1 -1
- package/dist/{locations-HHP2DZ4N.js → locations-BN2BTULF.js} +2 -2
- package/dist/{login-FK6ATIQV.js → login-UGKYRKMD.js} +9 -9
- package/dist/{manage-locations-V2AJVZXA.js → manage-locations-PRQI5TI4.js} +1 -1
- package/dist/{media-ZXUMWWXV.js → media-QXTBUKRL.js} +11 -11
- package/dist/{media-T26YU24S.js → media-TGFAHFBV.js} +9 -9
- package/dist/{metadata-WB37SSTG.js → metadata-4ZZ4ZIWJ.js} +7 -7
- package/dist/{metadata-XS3VAC3N.js → metadata-5TVRCKWX.js} +7 -7
- package/dist/{metadata-BGYWXGMG.js → metadata-7JWZ4VFM.js} +7 -7
- package/dist/{metadata-3CER2AEK.js → metadata-BQQFHVKF.js} +7 -7
- package/dist/{metadata-MSAODJ2T.js → metadata-G73TILNE.js} +7 -7
- package/dist/{offer-create-page-VHNJL3UO.js → offer-create-page-WPGYWE3P.js} +12 -12
- package/dist/{offer-detail-page-ZLGP4ELR.js → offer-detail-page-MCCTZS4U.js} +16 -23
- package/dist/{offer-variant-detail-page-2A7TRGYS.js → offer-variant-detail-page-ITNWEDPL.js} +16 -19
- package/dist/{offers-ZBAZOZ7Q.js → offers-VURV22HI.js} +13 -13
- package/dist/{onboarding-XCCZ2TMN.js → onboarding-7MURQYXX.js} +7 -7
- package/dist/{orders-VFSDZYOV.js → orders-WX5YB4QC.js} +13 -13
- package/dist/{organization-YB45TRUN.js → organization-T6ZTYMMW.js} +9 -9
- package/dist/{organize-T62CDRZC.js → organize-F2KDXDHQ.js} +3 -3
- package/dist/{organize-HQLROEUF.js → organize-GZ5URDMH.js} +3 -3
- package/dist/pages/index.d.ts +1 -2
- package/dist/pages/index.js +40 -39
- package/dist/{payment-details-O4EWCOYQ.js → payment-details-UQ65D5AY.js} +7 -7
- package/dist/{payouts-7O5W2X5J.js → payouts-64CG65KK.js} +3 -3
- package/dist/{price-lists-5C4MCWWR.js → price-lists-ZRXB2V7W.js} +6 -6
- package/dist/{pricing-CF3FJP6A.js → pricing-3NLEJYRP.js} +2 -2
- package/dist/{pricing-OQ4RKZO5.js → pricing-CPPIL627.js} +7 -7
- package/dist/{product-tags-2TLA7BVO.js → product-tags-AE5K6YFE.js} +15 -15
- package/dist/{product-types-LZAMCLGS.js → product-types-OMPZFQH4.js} +3 -3
- package/dist/{product-variant-detail-UNG6LWDP.js → product-variant-detail-4DDE6RJ5.js} +8 -8
- package/dist/{product-variant-edit-K5U3JZFW.js → product-variant-edit-SAZUI4E3.js} +9 -9
- package/dist/{products-WJJBC3NI.js → products-4AAGMX3C.js} +13 -13
- package/dist/{products-QIGSKI65.js → products-7SPJXANH.js} +19 -19
- package/dist/{professional-details-ZCRAWCXZ.js → professional-details-UN5B4YDJ.js} +7 -7
- package/dist/{profile-T2QLFLI7.js → profile-6MIDTK52.js} +7 -7
- package/dist/{promotions-JT5PFYPT.js → promotions-FUPYU3EL.js} +8 -8
- package/dist/{receive-QCVCAR3R.js → receive-ZG6FFN7H.js} +3 -3
- package/dist/{refund-GAOWE636.js → refund-KJX74N6T.js} +3 -3
- package/dist/{register-L4ADQUUW.js → register-GAG7SNL6.js} +11 -9
- package/dist/{reset-password-VTYSKEFH.js → reset-password-YI7COKLV.js} +1 -1
- package/dist/{return-reasons-RH6IEU2M.js → return-reasons-I7YVFYB7.js} +5 -5
- package/dist/{sales-channels-ZHYGTRWU.js → sales-channels-LWEVGTY6.js} +3 -2
- package/dist/{sales-channels-C5M2ZA5L.js → sales-channels-RJLPZDOZ.js} +3 -2
- package/dist/{settings-5IUDEPUN.js → settings-YWUHDHET.js} +19 -19
- package/dist/{shipment-UP2OGESO.js → shipment-6CTA2GHU.js} +7 -7
- package/dist/{shipping-ACK5UOA5.js → shipping-TKKMYQHJ.js} +2 -2
- package/dist/{shipping-profile-3US7LC5E.js → shipping-profile-CFISOMTE.js} +1 -1
- package/dist/{shipping-profiles-34432J3C.js → shipping-profiles-42EXTQKX.js} +10 -10
- package/dist/{stock-QOUDJSFO.js → stock-465GEUY3.js} +7 -7
- package/dist/{store-BCNSSIO6.js → store-BRVTHHXV.js} +9 -9
- package/dist/{store-closure-QGR3F45Y.js → store-closure-DYW54VHB.js} +7 -7
- package/dist/{store-select-55ZOJGGV.js → store-select-6A5YR7WH.js} +8 -8
- package/dist/{tax-regions-RTPVM4IC.js → tax-regions-SQVEIHUK.js} +2 -2
- package/dist/{team-DAUWBJAI.js → team-5SBIRJKL.js} +10 -10
- package/package.json +15 -15
- package/dist/chunk-S2WEYEQR.js +0 -14
- package/dist/edit-DCMMX4GW.js +0 -366
- package/dist/edit-P6YZBA32.js +0 -324
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ProductGeneralSection,
|
|
3
3
|
ProductMediaSection
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TII3PB6X.js";
|
|
5
5
|
import {
|
|
6
6
|
SectionRow
|
|
7
7
|
} from "./chunk-4TLP3TAA.js";
|
|
8
8
|
import {
|
|
9
9
|
SidebarLink
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UST2RGWB.js";
|
|
11
11
|
import "./chunk-U2EI2ZLM.js";
|
|
12
12
|
import {
|
|
13
13
|
TwoColumnPage
|
|
@@ -16,17 +16,17 @@ import "./chunk-FQERBIVS.js";
|
|
|
16
16
|
import {
|
|
17
17
|
_DataTable,
|
|
18
18
|
useDataTable
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-RR276N7K.js";
|
|
20
20
|
import "./chunk-YN3FGNJM.js";
|
|
21
21
|
import "./chunk-KCHYLLVG.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-ZHXIOG62.js";
|
|
23
23
|
import {
|
|
24
24
|
useQueryParams
|
|
25
25
|
} from "./chunk-THHRRYRS.js";
|
|
26
26
|
import "./chunk-LRD242C7.js";
|
|
27
27
|
import {
|
|
28
28
|
require_dist
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-4UQMRTSC.js";
|
|
30
30
|
import {
|
|
31
31
|
Thumbnail
|
|
32
32
|
} from "./chunk-WIYFXWRI.js";
|
|
@@ -47,20 +47,20 @@ import "./chunk-FV76G2D7.js";
|
|
|
47
47
|
import "./chunk-GHDLST2P.js";
|
|
48
48
|
import "./chunk-YVYYOBAE.js";
|
|
49
49
|
import "./chunk-L2NJPDUD.js";
|
|
50
|
-
import "./chunk-
|
|
50
|
+
import "./chunk-2S2WK2OG.js";
|
|
51
51
|
import "./chunk-MR6REQKT.js";
|
|
52
52
|
import "./chunk-EPSDO2MJ.js";
|
|
53
53
|
import "./chunk-BHEU34FL.js";
|
|
54
54
|
import "./chunk-W34KDYZA.js";
|
|
55
55
|
import "./chunk-II3CLUXA.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-OCYVN77Z.js";
|
|
57
57
|
import "./chunk-J2XUEO2E.js";
|
|
58
|
-
import "./chunk-
|
|
58
|
+
import "./chunk-DETQ6IBQ.js";
|
|
59
59
|
import "./chunk-VWPNMEOE.js";
|
|
60
60
|
import "./chunk-O72AIZUN.js";
|
|
61
|
-
import "./chunk-
|
|
62
|
-
import "./chunk-
|
|
63
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-U5V6HNVW.js";
|
|
62
|
+
import "./chunk-PF7R7LMW.js";
|
|
63
|
+
import "./chunk-OGUTFP6B.js";
|
|
64
64
|
import {
|
|
65
65
|
useSalesChannels
|
|
66
66
|
} from "./chunk-4U2BLH45.js";
|
|
@@ -69,13 +69,14 @@ import {
|
|
|
69
69
|
} from "./chunk-Q6SPIHFR.js";
|
|
70
70
|
import {
|
|
71
71
|
productsQueryKeys,
|
|
72
|
+
useBatchProductAttributes,
|
|
72
73
|
useCancelProductEdit,
|
|
73
74
|
useDeleteVariantLazy,
|
|
74
75
|
useProduct,
|
|
76
|
+
useProductAttributes,
|
|
75
77
|
useProductChange,
|
|
76
|
-
useProductVariants
|
|
77
|
-
|
|
78
|
-
} from "./chunk-YAUGB4LD.js";
|
|
78
|
+
useProductVariants
|
|
79
|
+
} from "./chunk-EMUCGKHP.js";
|
|
79
80
|
import "./chunk-A5DJIOHN.js";
|
|
80
81
|
import {
|
|
81
82
|
queryClient
|
|
@@ -599,231 +600,67 @@ var useOrderBy = () => {
|
|
|
599
600
|
};
|
|
600
601
|
|
|
601
602
|
// src/pages/products/[id]/_components/product-attribute-section/product-attribute-section.tsx
|
|
603
|
+
var import_types2 = __toESM(require_dist(), 1);
|
|
604
|
+
import { toast as toast3 } from "@medusajs/ui";
|
|
602
605
|
import {
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
Swatch,
|
|
606
|
-
DropCap,
|
|
607
|
-
InformationCircleSolid,
|
|
608
|
-
PencilSquare as PencilSquare3
|
|
609
|
-
} from "@medusajs/icons";
|
|
610
|
-
import {
|
|
611
|
-
Badge as Badge3,
|
|
612
|
-
Container as Container3,
|
|
613
|
-
Heading as Heading3,
|
|
614
|
-
Text,
|
|
615
|
-
toast as toast3,
|
|
616
|
-
Tooltip as Tooltip3,
|
|
617
|
-
usePrompt as usePrompt3
|
|
618
|
-
} from "@medusajs/ui";
|
|
619
|
-
import { DisplayExtensionZone as DisplayExtensionZone3 } from "@mercurjs/dashboard-shared";
|
|
606
|
+
ProductAttributeSection as SharedProductAttributeSection
|
|
607
|
+
} from "@mercurjs/dashboard-shared";
|
|
620
608
|
import { useTranslation as useTranslation4 } from "react-i18next";
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
productId,
|
|
625
|
-
attribute
|
|
609
|
+
import { jsx as jsx4 } from "react/jsx-runtime";
|
|
610
|
+
var ProductAttributeSection = ({
|
|
611
|
+
product
|
|
626
612
|
}) => {
|
|
627
613
|
const { t } = useTranslation4();
|
|
628
|
-
const prompt = usePrompt3();
|
|
629
614
|
const { feature_flags } = useFeatureFlags();
|
|
630
615
|
const isProductRequestEnabled = !!feature_flags?.[import_types2.MercurFeatureFlags.PRODUCT_REQUEST];
|
|
631
|
-
const
|
|
632
|
-
const
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
616
|
+
const categoryId = product.categories?.[0]?.id;
|
|
617
|
+
const { product_attributes } = useProductAttributes(
|
|
618
|
+
{ category_id: categoryId, is_required: true },
|
|
619
|
+
{ enabled: !!categoryId }
|
|
620
|
+
);
|
|
621
|
+
const { mutateAsync } = useBatchProductAttributes(product.id);
|
|
622
|
+
const onDeleteAttribute = async (attribute) => {
|
|
623
|
+
try {
|
|
624
|
+
await mutateAsync(
|
|
625
|
+
{ remove: [attribute.id] },
|
|
626
|
+
{
|
|
627
|
+
onSuccess: () => {
|
|
628
|
+
toast3.success(
|
|
629
|
+
isProductRequestEnabled ? t("products.edit.requestSuccessToast") : t("products.edit.attributes.deleteSuccessToast")
|
|
630
|
+
);
|
|
631
|
+
},
|
|
632
|
+
onError: (error) => {
|
|
633
|
+
toast3.error(error.message);
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
);
|
|
637
|
+
} catch {
|
|
643
638
|
}
|
|
644
|
-
await mutateAsync(void 0, {
|
|
645
|
-
onSuccess: () => {
|
|
646
|
-
toast3.success(
|
|
647
|
-
isProductRequestEnabled ? t("products.edit.requestSuccessToast") : t("products.edit.attributes.deleteSuccessToast")
|
|
648
|
-
);
|
|
649
|
-
},
|
|
650
|
-
onError: (error) => {
|
|
651
|
-
toast3.error(error.message);
|
|
652
|
-
}
|
|
653
|
-
});
|
|
654
639
|
};
|
|
655
640
|
return /* @__PURE__ */ jsx4(
|
|
656
|
-
|
|
641
|
+
SharedProductAttributeSection,
|
|
657
642
|
{
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
{
|
|
662
|
-
label: t("actions.edit"),
|
|
663
|
-
to: `attributes/${attribute.id}/edit`,
|
|
664
|
-
icon: /* @__PURE__ */ jsx4(PencilSquare3, {})
|
|
665
|
-
}
|
|
666
|
-
]
|
|
667
|
-
},
|
|
668
|
-
...attribute.is_required ? [] : [
|
|
669
|
-
{
|
|
670
|
-
actions: [
|
|
671
|
-
{
|
|
672
|
-
label: t("actions.delete"),
|
|
673
|
-
onClick: handleDelete,
|
|
674
|
-
icon: /* @__PURE__ */ jsx4(Trash2, {})
|
|
675
|
-
}
|
|
676
|
-
]
|
|
677
|
-
}
|
|
678
|
-
]
|
|
679
|
-
]
|
|
643
|
+
product,
|
|
644
|
+
requiredAttributes: product_attributes,
|
|
645
|
+
onDeleteAttribute
|
|
680
646
|
}
|
|
681
647
|
);
|
|
682
648
|
};
|
|
683
|
-
var AttributeValue = ({
|
|
684
|
-
attribute
|
|
685
|
-
}) => {
|
|
686
|
-
const { t } = useTranslation4();
|
|
687
|
-
const values = attribute.values?.map((v) => v.name) ?? [];
|
|
688
|
-
if (["single_select", "multi_select"].includes(attribute.type)) {
|
|
689
|
-
return /* @__PURE__ */ jsx4("div", { className: "flex flex-wrap gap-1", children: values.map((val) => /* @__PURE__ */ jsx4(
|
|
690
|
-
Badge3,
|
|
691
|
-
{
|
|
692
|
-
size: "2xsmall",
|
|
693
|
-
className: "flex min-w-[20px] items-center justify-center",
|
|
694
|
-
children: val
|
|
695
|
-
},
|
|
696
|
-
val
|
|
697
|
-
)) });
|
|
698
|
-
}
|
|
699
|
-
const textValue = attribute.type === "toggle" ? values.map((val) => val === "true" ? t("general.yes") : t("general.no")).join(", ") || "-" : values.join(", ") || "-";
|
|
700
|
-
return /* @__PURE__ */ jsx4(Tooltip3, { content: /* @__PURE__ */ jsx4("span", { className: "break-all", children: textValue }), children: /* @__PURE__ */ jsx4(
|
|
701
|
-
Text,
|
|
702
|
-
{
|
|
703
|
-
size: "small",
|
|
704
|
-
leading: "compact",
|
|
705
|
-
className: "line-clamp-3 min-w-0 break-words text-ui-fg-subtle",
|
|
706
|
-
children: textValue
|
|
707
|
-
}
|
|
708
|
-
) });
|
|
709
|
-
};
|
|
710
|
-
var AttributeGroup = ({
|
|
711
|
-
icon,
|
|
712
|
-
title,
|
|
713
|
-
description,
|
|
714
|
-
attributes,
|
|
715
|
-
productId
|
|
716
|
-
}) => {
|
|
717
|
-
const { t } = useTranslation4();
|
|
718
|
-
if (!attributes.length) {
|
|
719
|
-
return null;
|
|
720
|
-
}
|
|
721
|
-
return /* @__PURE__ */ jsxs3("div", { className: "flex flex-col gap-y-4 px-3 py-4", children: [
|
|
722
|
-
/* @__PURE__ */ jsxs3("div", { className: "flex items-center gap-x-3 px-3", children: [
|
|
723
|
-
/* @__PURE__ */ jsx4("div", { className: "text-ui-fg-muted flex h-8 w-8 items-center justify-center rounded-lg border border-ui-border-base bg-ui-bg-component", children: icon }),
|
|
724
|
-
/* @__PURE__ */ jsxs3("div", { children: [
|
|
725
|
-
/* @__PURE__ */ jsx4(Text, { size: "small", weight: "plus", leading: "compact", children: title }),
|
|
726
|
-
/* @__PURE__ */ jsx4(Text, { size: "small", leading: "compact", className: "text-ui-fg-subtle", children: description })
|
|
727
|
-
] })
|
|
728
|
-
] }),
|
|
729
|
-
/* @__PURE__ */ jsx4("div", { className: "flex flex-col gap-y-0", children: /* @__PURE__ */ jsx4("div", { className: "overflow-hidden rounded-xl border border-ui-border-base", children: attributes.map((attr, index) => {
|
|
730
|
-
return /* @__PURE__ */ jsx4(
|
|
731
|
-
"div",
|
|
732
|
-
{
|
|
733
|
-
className: index < attributes.length - 1 ? "border-b border-ui-border-base" : "",
|
|
734
|
-
children: /* @__PURE__ */ jsxs3("div", { className: "grid grid-cols-[minmax(0,1fr)_minmax(0,1fr)_28px] items-center gap-4 px-4 py-3 bg-ui-bg-component", children: [
|
|
735
|
-
/* @__PURE__ */ jsxs3("div", { className: "flex items-center gap-x-2 text-ui-fg-subtle", children: [
|
|
736
|
-
/* @__PURE__ */ jsx4(Text, { size: "small", weight: "plus", leading: "compact", children: attr.name }),
|
|
737
|
-
attr.description && /* @__PURE__ */ jsx4(Tooltip3, { content: attr.description, children: /* @__PURE__ */ jsx4("span", { className: "text-ui-fg-muted flex items-center", children: /* @__PURE__ */ jsx4(InformationCircleSolid, {}) }) }),
|
|
738
|
-
attr.is_required && /* @__PURE__ */ jsx4(Tooltip3, { content: t("products.attributeRequiredByMarketplace"), children: /* @__PURE__ */ jsx4("span", { className: "text-ui-fg-muted flex items-center", children: /* @__PURE__ */ jsx4(InformationCircleSolid, {}) }) })
|
|
739
|
-
] }),
|
|
740
|
-
/* @__PURE__ */ jsx4(AttributeValue, { attribute: attr }),
|
|
741
|
-
/* @__PURE__ */ jsx4(AttributeActions, { productId, attribute: attr })
|
|
742
|
-
] })
|
|
743
|
-
},
|
|
744
|
-
attr.id
|
|
745
|
-
);
|
|
746
|
-
}) }) })
|
|
747
|
-
] });
|
|
748
|
-
};
|
|
749
|
-
var ProductAttributeSection = ({
|
|
750
|
-
product
|
|
751
|
-
}) => {
|
|
752
|
-
const { t } = useTranslation4();
|
|
753
|
-
const allAttributes = product.attributes ?? [];
|
|
754
|
-
const variantAttributes = allAttributes.filter((a) => a.is_variant_axis);
|
|
755
|
-
const infoAttributes = allAttributes.filter((a) => !a.is_variant_axis);
|
|
756
|
-
const isEmpty = !variantAttributes.length && !infoAttributes.length;
|
|
757
|
-
return /* @__PURE__ */ jsxs3(Container3, { className: "p-0", children: [
|
|
758
|
-
/* @__PURE__ */ jsxs3(
|
|
759
|
-
"div",
|
|
760
|
-
{
|
|
761
|
-
className: `flex items-center justify-between px-6 py-4${isEmpty ? "" : " border-b border-ui-border-base"}`,
|
|
762
|
-
children: [
|
|
763
|
-
/* @__PURE__ */ jsx4(Heading3, { level: "h2", children: t("products.attributes") }),
|
|
764
|
-
/* @__PURE__ */ jsx4(
|
|
765
|
-
ActionMenu,
|
|
766
|
-
{
|
|
767
|
-
groups: [
|
|
768
|
-
{
|
|
769
|
-
actions: [
|
|
770
|
-
{
|
|
771
|
-
label: t("products.create.attributes.addExisting"),
|
|
772
|
-
to: "attributes/add",
|
|
773
|
-
icon: /* @__PURE__ */ jsx4(Plus, {})
|
|
774
|
-
},
|
|
775
|
-
{
|
|
776
|
-
label: t("products.create.attributes.createNew"),
|
|
777
|
-
to: "attributes/create",
|
|
778
|
-
icon: /* @__PURE__ */ jsx4(PencilSquare3, {})
|
|
779
|
-
}
|
|
780
|
-
]
|
|
781
|
-
}
|
|
782
|
-
]
|
|
783
|
-
}
|
|
784
|
-
)
|
|
785
|
-
]
|
|
786
|
-
}
|
|
787
|
-
),
|
|
788
|
-
variantAttributes.length > 0 && /* @__PURE__ */ jsx4(
|
|
789
|
-
AttributeGroup,
|
|
790
|
-
{
|
|
791
|
-
icon: /* @__PURE__ */ jsx4(Swatch, {}),
|
|
792
|
-
title: t("products.attributeVariations"),
|
|
793
|
-
description: t("products.attributeVariantsDescription"),
|
|
794
|
-
attributes: variantAttributes,
|
|
795
|
-
productId: product.id
|
|
796
|
-
}
|
|
797
|
-
),
|
|
798
|
-
variantAttributes.length > 0 && infoAttributes.length > 0 && /* @__PURE__ */ jsx4("div", { className: "border-t border-dashed border-ui-border-base" }),
|
|
799
|
-
infoAttributes.length > 0 && /* @__PURE__ */ jsx4(
|
|
800
|
-
AttributeGroup,
|
|
801
|
-
{
|
|
802
|
-
icon: /* @__PURE__ */ jsx4(DropCap, {}),
|
|
803
|
-
title: t("products.attributeProductInformation"),
|
|
804
|
-
description: t("products.attributeProductInformationDescription"),
|
|
805
|
-
attributes: infoAttributes,
|
|
806
|
-
productId: product.id
|
|
807
|
-
}
|
|
808
|
-
),
|
|
809
|
-
/* @__PURE__ */ jsx4(DisplayExtensionZone3, { model: "product", zone: "attributes", data: product })
|
|
810
|
-
] });
|
|
811
|
-
};
|
|
812
649
|
|
|
813
650
|
// src/pages/products/[id]/_components/product-shipping-profile-section/product-shipping-profile-section.tsx
|
|
814
|
-
import { PencilSquare as
|
|
815
|
-
import { Container as
|
|
651
|
+
import { PencilSquare as PencilSquare3, ShoppingBag } from "@medusajs/icons";
|
|
652
|
+
import { Container as Container3, Heading as Heading3 } from "@medusajs/ui";
|
|
816
653
|
import { useTranslation as useTranslation5 } from "react-i18next";
|
|
817
|
-
import { DisplayExtensionZone as
|
|
818
|
-
import { jsx as jsx5, jsxs as
|
|
654
|
+
import { DisplayExtensionZone as DisplayExtensionZone3 } from "@mercurjs/dashboard-shared";
|
|
655
|
+
import { jsx as jsx5, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
819
656
|
var ProductShippingProfileSection = ({
|
|
820
657
|
product
|
|
821
658
|
}) => {
|
|
822
659
|
const { t } = useTranslation5();
|
|
823
660
|
const shippingProfile = product.shipping_profile;
|
|
824
|
-
return /* @__PURE__ */
|
|
825
|
-
/* @__PURE__ */
|
|
826
|
-
/* @__PURE__ */ jsx5(
|
|
661
|
+
return /* @__PURE__ */ jsxs3(Container3, { className: "p-0", children: [
|
|
662
|
+
/* @__PURE__ */ jsxs3("div", { className: "flex items-center justify-between px-6 py-4", children: [
|
|
663
|
+
/* @__PURE__ */ jsx5(Heading3, { level: "h2", children: t("products.shippingProfile.header") }),
|
|
827
664
|
/* @__PURE__ */ jsx5(
|
|
828
665
|
ActionMenu,
|
|
829
666
|
{
|
|
@@ -833,7 +670,7 @@ var ProductShippingProfileSection = ({
|
|
|
833
670
|
{
|
|
834
671
|
label: t("actions.edit"),
|
|
835
672
|
to: "shipping-profile",
|
|
836
|
-
icon: /* @__PURE__ */ jsx5(
|
|
673
|
+
icon: /* @__PURE__ */ jsx5(PencilSquare3, {})
|
|
837
674
|
}
|
|
838
675
|
]
|
|
839
676
|
}
|
|
@@ -850,16 +687,16 @@ var ProductShippingProfileSection = ({
|
|
|
850
687
|
icon: /* @__PURE__ */ jsx5(ShoppingBag, {})
|
|
851
688
|
}
|
|
852
689
|
),
|
|
853
|
-
/* @__PURE__ */ jsx5(
|
|
690
|
+
/* @__PURE__ */ jsx5(DisplayExtensionZone3, { model: "product", zone: "shipping-profile", data: product })
|
|
854
691
|
] });
|
|
855
692
|
};
|
|
856
693
|
|
|
857
694
|
// src/pages/products/[id]/_components/product-sales-channel-section/product-sales-channel-section.tsx
|
|
858
|
-
import { Channels, PencilSquare as
|
|
859
|
-
import { Container as
|
|
695
|
+
import { Channels, PencilSquare as PencilSquare4 } from "@medusajs/icons";
|
|
696
|
+
import { Container as Container4, Heading as Heading4, Text, Tooltip as Tooltip3 } from "@medusajs/ui";
|
|
860
697
|
import { Trans, useTranslation as useTranslation6 } from "react-i18next";
|
|
861
|
-
import { DisplayExtensionZone as
|
|
862
|
-
import { jsx as jsx6, jsxs as
|
|
698
|
+
import { DisplayExtensionZone as DisplayExtensionZone4 } from "@mercurjs/dashboard-shared";
|
|
699
|
+
import { jsx as jsx6, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
863
700
|
var ProductSalesChannelSection = ({
|
|
864
701
|
product
|
|
865
702
|
}) => {
|
|
@@ -871,9 +708,9 @@ var ProductSalesChannelSection = ({
|
|
|
871
708
|
})) ?? [];
|
|
872
709
|
const firstChannels = availableInSalesChannels.slice(0, 3);
|
|
873
710
|
const restChannels = availableInSalesChannels.slice(3);
|
|
874
|
-
return /* @__PURE__ */
|
|
875
|
-
/* @__PURE__ */
|
|
876
|
-
/* @__PURE__ */ jsx6(
|
|
711
|
+
return /* @__PURE__ */ jsxs4(Container4, { className: "flex flex-col gap-y-4 px-6 py-4", children: [
|
|
712
|
+
/* @__PURE__ */ jsxs4("div", { className: "flex items-center justify-between", children: [
|
|
713
|
+
/* @__PURE__ */ jsx6(Heading4, { level: "h2", children: t("fields.sales_channels") }),
|
|
877
714
|
/* @__PURE__ */ jsx6(
|
|
878
715
|
ActionMenu,
|
|
879
716
|
{
|
|
@@ -883,7 +720,7 @@ var ProductSalesChannelSection = ({
|
|
|
883
720
|
{
|
|
884
721
|
label: t("actions.edit"),
|
|
885
722
|
to: "sales-channels",
|
|
886
|
-
icon: /* @__PURE__ */ jsx6(
|
|
723
|
+
icon: /* @__PURE__ */ jsx6(PencilSquare4, {})
|
|
887
724
|
}
|
|
888
725
|
]
|
|
889
726
|
}
|
|
@@ -891,16 +728,16 @@ var ProductSalesChannelSection = ({
|
|
|
891
728
|
}
|
|
892
729
|
)
|
|
893
730
|
] }),
|
|
894
|
-
/* @__PURE__ */
|
|
731
|
+
/* @__PURE__ */ jsxs4("div", { className: "grid grid-cols-[28px_1fr] items-center gap-x-3", children: [
|
|
895
732
|
/* @__PURE__ */ jsx6("div", { className: "bg-ui-bg-base shadow-borders-base flex size-7 items-center justify-center rounded-md", children: /* @__PURE__ */ jsx6("div", { className: "bg-ui-bg-component flex size-6 items-center justify-center rounded-[4px]", children: /* @__PURE__ */ jsx6(Channels, { className: "text-ui-fg-subtle" }) }) }),
|
|
896
|
-
availableInSalesChannels.length > 0 ? /* @__PURE__ */
|
|
897
|
-
/* @__PURE__ */ jsx6(
|
|
733
|
+
availableInSalesChannels.length > 0 ? /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-x-1", children: [
|
|
734
|
+
/* @__PURE__ */ jsx6(Text, { size: "small", leading: "compact", children: firstChannels.map((sc) => sc.name).join(", ") }),
|
|
898
735
|
restChannels.length > 0 && /* @__PURE__ */ jsx6(
|
|
899
|
-
|
|
736
|
+
Tooltip3,
|
|
900
737
|
{
|
|
901
738
|
content: /* @__PURE__ */ jsx6("ul", { children: restChannels.map((sc) => /* @__PURE__ */ jsx6("li", { children: sc.name }, sc.id)) }),
|
|
902
739
|
children: /* @__PURE__ */ jsx6(
|
|
903
|
-
|
|
740
|
+
Text,
|
|
904
741
|
{
|
|
905
742
|
size: "small",
|
|
906
743
|
leading: "compact",
|
|
@@ -910,9 +747,9 @@ var ProductSalesChannelSection = ({
|
|
|
910
747
|
)
|
|
911
748
|
}
|
|
912
749
|
)
|
|
913
|
-
] }) : /* @__PURE__ */ jsx6(
|
|
750
|
+
] }) : /* @__PURE__ */ jsx6(Text, { size: "small", leading: "compact", className: "text-ui-fg-subtle", children: t("products.noSalesChannels") })
|
|
914
751
|
] }),
|
|
915
|
-
/* @__PURE__ */ jsx6("div", { children: /* @__PURE__ */ jsx6(
|
|
752
|
+
/* @__PURE__ */ jsx6("div", { children: /* @__PURE__ */ jsx6(Text, { className: "text-ui-fg-subtle", size: "small", leading: "compact", children: /* @__PURE__ */ jsx6(
|
|
916
753
|
Trans,
|
|
917
754
|
{
|
|
918
755
|
i18nKey: "sales_channels.availableIn",
|
|
@@ -938,12 +775,12 @@ var ProductSalesChannelSection = ({
|
|
|
938
775
|
]
|
|
939
776
|
}
|
|
940
777
|
) }) }),
|
|
941
|
-
/* @__PURE__ */ jsx6(
|
|
778
|
+
/* @__PURE__ */ jsx6(DisplayExtensionZone4, { model: "product", zone: "sales-channels", data: product })
|
|
942
779
|
] });
|
|
943
780
|
};
|
|
944
781
|
|
|
945
782
|
// src/pages/products/[id]/product-detail-page.tsx
|
|
946
|
-
import { jsx as jsx7, jsxs as
|
|
783
|
+
import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
947
784
|
var Root = ({ children }) => {
|
|
948
785
|
const initialData = useLoaderData();
|
|
949
786
|
const { id } = useParams();
|
|
@@ -957,14 +794,14 @@ var Root = ({ children }) => {
|
|
|
957
794
|
if (isError) {
|
|
958
795
|
throw error;
|
|
959
796
|
}
|
|
960
|
-
return Children.count(children) > 0 ? /* @__PURE__ */ jsx7(TwoColumnPage, { data: product, "data-testid": "product-detail-page", children }) : /* @__PURE__ */
|
|
961
|
-
/* @__PURE__ */ jsx7(TwoColumnPage.Main, { "data-testid": "product-detail-main", children: /* @__PURE__ */
|
|
797
|
+
return Children.count(children) > 0 ? /* @__PURE__ */ jsx7(TwoColumnPage, { data: product, "data-testid": "product-detail-page", children }) : /* @__PURE__ */ jsxs5(TwoColumnPage, { data: product, "data-testid": "product-detail-page", children: [
|
|
798
|
+
/* @__PURE__ */ jsx7(TwoColumnPage.Main, { "data-testid": "product-detail-main", children: /* @__PURE__ */ jsxs5(WidgetZone, { id: "product.detail.main", data: product, children: [
|
|
962
799
|
/* @__PURE__ */ jsx7(ProductActiveEditSection, { product }),
|
|
963
800
|
/* @__PURE__ */ jsx7(ProductGeneralSection, { product }),
|
|
964
801
|
/* @__PURE__ */ jsx7(ProductMediaSection, { product }),
|
|
965
802
|
/* @__PURE__ */ jsx7(ProductVariantSection, { product })
|
|
966
803
|
] }) }),
|
|
967
|
-
/* @__PURE__ */ jsx7(TwoColumnPage.Sidebar, { "data-testid": "product-detail-sidebar", children: /* @__PURE__ */
|
|
804
|
+
/* @__PURE__ */ jsx7(TwoColumnPage.Sidebar, { "data-testid": "product-detail-sidebar", children: /* @__PURE__ */ jsxs5(WidgetZone, { id: "product.detail.side", data: product, children: [
|
|
968
805
|
/* @__PURE__ */ jsx7(ProductOrganizationSection, { product }),
|
|
969
806
|
/* @__PURE__ */ jsx7(ProductAttributeSection, { product })
|
|
970
807
|
] }) })
|
|
@@ -4,15 +4,15 @@ import {
|
|
|
4
4
|
} from "./chunk-42R54Z2X.js";
|
|
5
5
|
import {
|
|
6
6
|
useProductTableColumns
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-3GSR455R.js";
|
|
8
|
+
import "./chunk-S2VYK3YC.js";
|
|
9
9
|
import {
|
|
10
10
|
useProductTableQuery
|
|
11
11
|
} from "./chunk-BEPAXQMU.js";
|
|
12
12
|
import "./chunk-FWPGOIFA.js";
|
|
13
13
|
import {
|
|
14
14
|
useProductTableFilters
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZXDMPIXN.js";
|
|
16
16
|
import "./chunk-DB6ANJBO.js";
|
|
17
17
|
import "./chunk-PHOCVOZ5.js";
|
|
18
18
|
import {
|
|
@@ -22,13 +22,13 @@ import "./chunk-FQERBIVS.js";
|
|
|
22
22
|
import {
|
|
23
23
|
_DataTable,
|
|
24
24
|
useDataTable
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-RR276N7K.js";
|
|
26
26
|
import "./chunk-YN3FGNJM.js";
|
|
27
27
|
import "./chunk-KCHYLLVG.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-ZHXIOG62.js";
|
|
29
29
|
import "./chunk-THHRRYRS.js";
|
|
30
30
|
import "./chunk-LRD242C7.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-4UQMRTSC.js";
|
|
32
32
|
import "./chunk-WIYFXWRI.js";
|
|
33
33
|
import {
|
|
34
34
|
SingleColumnPageSkeleton
|
|
@@ -45,7 +45,7 @@ import "./chunk-FV76G2D7.js";
|
|
|
45
45
|
import "./chunk-GHDLST2P.js";
|
|
46
46
|
import "./chunk-YVYYOBAE.js";
|
|
47
47
|
import "./chunk-L2NJPDUD.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-2S2WK2OG.js";
|
|
49
49
|
import "./chunk-MR6REQKT.js";
|
|
50
50
|
import "./chunk-EPSDO2MJ.js";
|
|
51
51
|
import "./chunk-BHEU34FL.js";
|
|
@@ -55,18 +55,18 @@ import {
|
|
|
55
55
|
collectionsQueryKeys,
|
|
56
56
|
useCollection,
|
|
57
57
|
useUpdateCollectionProducts
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-OCYVN77Z.js";
|
|
59
59
|
import "./chunk-J2XUEO2E.js";
|
|
60
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-DETQ6IBQ.js";
|
|
61
61
|
import "./chunk-VWPNMEOE.js";
|
|
62
62
|
import "./chunk-O72AIZUN.js";
|
|
63
|
-
import "./chunk-
|
|
64
|
-
import "./chunk-
|
|
65
|
-
import "./chunk-
|
|
63
|
+
import "./chunk-U5V6HNVW.js";
|
|
64
|
+
import "./chunk-PF7R7LMW.js";
|
|
65
|
+
import "./chunk-OGUTFP6B.js";
|
|
66
66
|
import "./chunk-4U2BLH45.js";
|
|
67
67
|
import {
|
|
68
68
|
useProducts
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-EMUCGKHP.js";
|
|
70
70
|
import "./chunk-A5DJIOHN.js";
|
|
71
71
|
import {
|
|
72
72
|
queryClient
|
|
@@ -4,22 +4,22 @@ import {
|
|
|
4
4
|
import "./chunk-4F5GP7J7.js";
|
|
5
5
|
import {
|
|
6
6
|
useDeletePriceListAction
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HCUIYIIY.js";
|
|
8
8
|
import {
|
|
9
9
|
getPriceListStatus
|
|
10
10
|
} from "./chunk-BNOKKKUU.js";
|
|
11
11
|
import "./chunk-6IJMSVC6.js";
|
|
12
12
|
import {
|
|
13
13
|
useProductTableColumns
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-3GSR455R.js";
|
|
15
|
+
import "./chunk-S2VYK3YC.js";
|
|
16
16
|
import {
|
|
17
17
|
useProductTableQuery
|
|
18
18
|
} from "./chunk-BEPAXQMU.js";
|
|
19
19
|
import "./chunk-FWPGOIFA.js";
|
|
20
20
|
import {
|
|
21
21
|
useProductTableFilters
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ZXDMPIXN.js";
|
|
23
23
|
import "./chunk-DB6ANJBO.js";
|
|
24
24
|
import "./chunk-PHOCVOZ5.js";
|
|
25
25
|
import "./chunk-SMQT3ZNO.js";
|
|
@@ -30,13 +30,13 @@ import "./chunk-FQERBIVS.js";
|
|
|
30
30
|
import {
|
|
31
31
|
_DataTable,
|
|
32
32
|
useDataTable
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-RR276N7K.js";
|
|
34
34
|
import "./chunk-YN3FGNJM.js";
|
|
35
35
|
import "./chunk-KCHYLLVG.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-ZHXIOG62.js";
|
|
37
37
|
import "./chunk-THHRRYRS.js";
|
|
38
38
|
import "./chunk-LRD242C7.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-4UQMRTSC.js";
|
|
40
40
|
import "./chunk-WIYFXWRI.js";
|
|
41
41
|
import {
|
|
42
42
|
TwoColumnPageSkeleton
|
|
@@ -57,24 +57,24 @@ import {
|
|
|
57
57
|
priceListsQueryKeys,
|
|
58
58
|
usePriceList,
|
|
59
59
|
usePriceListLinkProducts
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-2S2WK2OG.js";
|
|
61
61
|
import "./chunk-MR6REQKT.js";
|
|
62
62
|
import "./chunk-EPSDO2MJ.js";
|
|
63
63
|
import "./chunk-BHEU34FL.js";
|
|
64
64
|
import "./chunk-W34KDYZA.js";
|
|
65
65
|
import "./chunk-II3CLUXA.js";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-OCYVN77Z.js";
|
|
67
67
|
import "./chunk-J2XUEO2E.js";
|
|
68
|
-
import "./chunk-
|
|
68
|
+
import "./chunk-DETQ6IBQ.js";
|
|
69
69
|
import "./chunk-VWPNMEOE.js";
|
|
70
70
|
import "./chunk-O72AIZUN.js";
|
|
71
|
-
import "./chunk-
|
|
72
|
-
import "./chunk-
|
|
73
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-U5V6HNVW.js";
|
|
72
|
+
import "./chunk-PF7R7LMW.js";
|
|
73
|
+
import "./chunk-OGUTFP6B.js";
|
|
74
74
|
import "./chunk-4U2BLH45.js";
|
|
75
75
|
import {
|
|
76
76
|
useProducts
|
|
77
|
-
} from "./chunk-
|
|
77
|
+
} from "./chunk-EMUCGKHP.js";
|
|
78
78
|
import "./chunk-A5DJIOHN.js";
|
|
79
79
|
import {
|
|
80
80
|
queryClient
|