@mercurjs/vendor 2.2.0-canary.2 → 2.2.0-canary.21
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]-KRLGIVLR.js → [id]-3JICOSAI.js} +133 -41
- package/dist/[id]-CR76L5TG.js +3102 -0
- package/dist/{[id]-7BAKUHUO.js → [id]-DDGHFRSB.js} +5 -5
- package/dist/{[id]-KVWYLDN3.js → [id]-E7DYRMMO.js} +162 -71
- package/dist/{[id]-4OBGG7OH.js → [id]-FIP4UMQ4.js} +197 -105
- package/dist/{[id]-3EC6HYXL.js → [id]-FZRXOJWL.js} +22 -21
- package/dist/{[id]-ZWWMJAKI.js → [id]-PD3ISUL5.js} +7 -7
- package/dist/{[id]-UUUQK22M.js → [id]-Q5AXQ5XO.js} +460 -581
- package/dist/{[id]-KJIQTFGE.js → [id]-VSNA6SV5.js} +15 -15
- package/dist/{[id]-Y2ISCLUD.js → [id]-XUKQKCDN.js} +3 -3
- package/dist/{[id]-K2CT7BXQ.js → [id]-YPCO3DJV.js} +1 -1
- package/dist/{[id]-LUFRJLAU.js → [id]-ZEFQ7FQQ.js} +36 -33
- package/dist/{[id]-COLO4TQJ.js → [id]-ZW7TBWDU.js} +24 -23
- package/dist/{[province_id]-H2QAPKVH.js → [province_id]-CHOO7ERP.js} +14 -14
- package/dist/{add-FIWTANZX.js → add-GYXNRUAE.js} +40 -37
- package/dist/{add-PBZQCIZQ.js → add-IC5R27X3.js} +95 -32
- package/dist/{add-customer-groups-RAHCP67U.js → add-customer-groups-KIGBZT5G.js} +20 -23
- package/dist/{add-products-N3V2MVLD.js → add-products-ALJVIFXU.js} +23 -22
- package/dist/{add-promotions-CSCAJZHV.js → add-promotions-EQ5MMQKG.js} +8 -8
- package/dist/{add-to-campaign-DLP7PSQB.js → add-to-campaign-C6JDNB6F.js} +4 -4
- package/dist/{address-7F5SN7PV.js → address-UKLDTSTP.js} +13 -13
- package/dist/{adjust-inventory-SZF4W7LR.js → adjust-inventory-5XPGE44Y.js} +2 -2
- package/dist/allocate-items-URVRAFPS.js +685 -0
- package/dist/{areas-7Y6BVS5A.js → areas-64VXOFYS.js} +6 -6
- package/dist/{attributes-MBZ76HVZ.js → attributes-YQNW5JBY.js} +2 -2
- package/dist/{breadcrumb-HND5FFWC.js → breadcrumb-26G7BS3Q.js} +3 -3
- package/dist/{breadcrumb-7PURSRTT.js → breadcrumb-2AYN2SV7.js} +12 -12
- package/dist/{breadcrumb-ZCG2RHIU.js → breadcrumb-4KKLMVC3.js} +12 -12
- package/dist/{breadcrumb-WRG4SITG.js → breadcrumb-4XSHX5RV.js} +13 -13
- package/dist/{breadcrumb-QV2IAX7N.js → breadcrumb-E5OF4L2J.js} +2 -2
- package/dist/breadcrumb-JC5FUQYF.js +28 -0
- package/dist/{breadcrumb-YBBYFQYG.js → breadcrumb-LBO2I4OJ.js} +1 -1
- package/dist/breadcrumb-PIDJ23EZ.js +13 -0
- package/dist/{breadcrumb-65SAGUUL.js → breadcrumb-RWYEU5JK.js} +3 -3
- package/dist/{breadcrumb-VWELWDB2.js → breadcrumb-VXKAO6GP.js} +1 -1
- package/dist/{breadcrumb-FLDHJRVY.js → breadcrumb-WMNG4P6C.js} +9 -8
- package/dist/{breadcrumb-EDPMEN2P.js → breadcrumb-XPQETVMM.js} +2 -2
- package/dist/{campaigns-L6ULR6KR.js → campaigns-4I2T6EDZ.js} +5 -5
- package/dist/{categories-FUZQKBXV.js → categories-3P2DRH5V.js} +10 -8
- package/dist/{chunk-EZ3JOAUS.js → chunk-22CIYLKO.js} +1 -1
- package/dist/{chunk-RZLN2Q6G.js → chunk-247L47JD.js} +1 -1
- package/dist/{chunk-SFQKKIHA.js → chunk-27WLUOI2.js} +1 -1
- package/dist/{chunk-M7KSRYRI.js → chunk-2ECD67FO.js} +2 -2
- package/dist/{chunk-36L54SQQ.js → chunk-2H4FGZ4U.js} +1 -1
- package/dist/{chunk-X2FVFUET.js → chunk-2NUZTTBU.js} +27 -8
- package/dist/chunk-2OY4NW7L.js +185 -0
- package/dist/{chunk-K4X324QP.js → chunk-36WXPGD2.js} +6 -5
- package/dist/{chunk-PXYDR7WQ.js → chunk-3BXCPHN6.js} +3 -2
- package/dist/chunk-3EDZQSKG.js +33 -0
- package/dist/{chunk-2DXNJURE.js → chunk-3L2DVCOC.js} +1 -1
- package/dist/chunk-42R54Z2X.js +8 -0
- package/dist/{chunk-CNMY5HVP.js → chunk-4EQIJMQT.js} +3 -3
- package/dist/{chunk-UAF2S447.js → chunk-4OIOYUQE.js} +3 -3
- package/dist/{chunk-UORPTGV2.js → chunk-4R5GESED.js} +10 -14
- package/dist/{chunk-WUPJADSO.js → chunk-4RFPRO2W.js} +2 -2
- package/dist/chunk-4YWKKCTT.js +32 -0
- package/dist/{chunk-XFQJU6FA.js → chunk-5QG6P6EU.js} +1 -1
- package/dist/{chunk-N4MVIBFM.js → chunk-5Y6RDTW2.js} +3 -3
- package/dist/{chunk-DZIXC7OE.js → chunk-6FLSBL4Q.js} +30 -85
- package/dist/{chunk-DVEKYLPV.js → chunk-6QS6IZC6.js} +1 -1
- package/dist/chunk-6ZGQ3SOR.js +127 -0
- package/dist/{chunk-NXNJQZCP.js → chunk-7FIPNQM2.js} +1 -1
- package/dist/{chunk-NSZQERLE.js → chunk-7GGWRJJF.js} +2 -2
- package/dist/{chunk-QS6RWIBL.js → chunk-7RGUD6PI.js} +34 -20
- package/dist/{chunk-5L2DCA4W.js → chunk-7ZPJGL4C.js} +57 -6
- package/dist/{chunk-KD7RYE6R.js → chunk-AG6KIAUD.js} +2 -2
- package/dist/{chunk-UCQKXXLD.js → chunk-AKKIZD2P.js} +32 -34
- package/dist/chunk-CHBURL76.js +438 -0
- package/dist/{chunk-PBD36EZJ.js → chunk-CI4YXVQF.js} +2 -2
- package/dist/{chunk-7LBY5JLV.js → chunk-DAV7WS53.js} +1 -1
- package/dist/{chunk-6BS2AVGJ.js → chunk-DNXMONCL.js} +6 -6
- package/dist/{chunk-TNVYTMBL.js → chunk-E4O5PARZ.js} +4 -4
- package/dist/{chunk-L7QKFC5N.js → chunk-E6W57UP3.js} +32 -122
- package/dist/chunk-EEBJYXWA.js +15 -0
- package/dist/chunk-FP6U6BPH.js +61 -0
- package/dist/{chunk-SGR4DMCW.js → chunk-FRYZRBLA.js} +1 -1
- package/dist/chunk-FWPGOIFA.js +22 -0
- package/dist/chunk-GL7F6NDU.js +30 -0
- package/dist/chunk-H7BVANDX.js +407 -0
- package/dist/{chunk-FDR22JMM.js → chunk-HFRHHT36.js} +8 -63
- package/dist/{chunk-FJUUGFXL.js → chunk-HOUDNM5M.js} +1 -1
- package/dist/{chunk-6Y53VZ3C.js → chunk-HZCSJLGH.js} +11 -11
- package/dist/chunk-I75SROQZ.js +315 -0
- package/dist/{chunk-JQV7CXEC.js → chunk-II3ACSV2.js} +17 -2
- package/dist/{chunk-DARJTN4I.js → chunk-IMJ62GAP.js} +10 -5
- package/dist/{chunk-PPLC4IKI.js → chunk-IV57G2CB.js} +14 -1
- package/dist/{chunk-7SLWXX6L.js → chunk-J434WDD3.js} +5 -6
- package/dist/chunk-J6XCRFBW.js +30 -0
- package/dist/{chunk-KAZ5BYTQ.js → chunk-KCHYLLVG.js} +6 -4
- package/dist/{chunk-YGRTRAWX.js → chunk-KDE4HKH2.js} +1 -0
- package/dist/{chunk-GXIAIITP.js → chunk-KZYRC3WR.js} +36 -39
- package/dist/chunk-L57USMYC.js +39 -0
- package/dist/chunk-LFX6WU4A.js +36 -0
- package/dist/{chunk-EROX26D4.js → chunk-LRMWYKSF.js} +1 -1
- package/dist/{chunk-LWJF63JW.js → chunk-LTQQRVZG.js} +89 -14
- package/dist/chunk-LYYM7H7H.js +59 -0
- package/dist/{chunk-NHFEY3EI.js → chunk-M3YUT5AY.js} +2 -2
- package/dist/{chunk-H6LZ77GX.js → chunk-MJCL3WID.js} +1 -1
- package/dist/{chunk-X4INVIWL.js → chunk-MZRZVLWD.js} +3 -3
- package/dist/{chunk-DDH7ULIQ.js → chunk-N6MGVXXQ.js} +1 -1
- package/dist/{chunk-QXLRABYH.js → chunk-O7VOGTLX.js} +1 -1
- package/dist/{chunk-35G3SZRN.js → chunk-P3SOE76R.js} +1 -1
- package/dist/{chunk-PZ44R4AS.js → chunk-P7Q5ZSZD.js} +1 -1
- package/dist/{chunk-5ATEALH7.js → chunk-PFJFS3F4.js} +1 -5
- package/dist/chunk-POOTMH3K.js +62 -0
- package/dist/{chunk-GGWUWT55.js → chunk-QJI4OET7.js} +23 -36
- package/dist/{chunk-NJMNYS7G.js → chunk-QS35HWC5.js} +1 -1
- package/dist/{chunk-RTBNJQOV.js → chunk-R4JLYNUA.js} +419 -538
- package/dist/{chunk-DIW4GRTI.js → chunk-RT3G3GEK.js} +47 -31
- package/dist/{chunk-QT7YFHCA.js → chunk-S23FD6FA.js} +12 -0
- package/dist/{chunk-U2ZFCAPX.js → chunk-SITRHMZZ.js} +11 -8
- package/dist/chunk-SPFLYPY6.js +6 -0
- package/dist/{chunk-EIUYXS7E.js → chunk-SZBERGA4.js} +1 -1
- package/dist/chunk-T6DSYOY5.js +173 -0
- package/dist/{chunk-4LVP635F.js → chunk-TKSKCYM3.js} +128 -126
- package/dist/{chunk-QNNJN4H6.js → chunk-TSTUAL6N.js} +59 -0
- package/dist/{chunk-LNM2D2I4.js → chunk-TZMNEN7A.js} +7 -6
- package/dist/chunk-UM7ZR3VU.js +14 -0
- package/dist/{chunk-X22KTLZ7.js → chunk-UO6IX5Y7.js} +1 -1
- package/dist/chunk-VCUUITW6.js +35 -0
- package/dist/{chunk-LQD232FW.js → chunk-WJ5EU3KW.js} +1 -1
- package/dist/{chunk-AIF2KTEE.js → chunk-WKRW5OPL.js} +12 -2
- package/dist/{chunk-6YA3C4NB.js → chunk-XBKWFLJG.js} +4 -13
- package/dist/{chunk-WBHFU3MG.js → chunk-XJYQ4SW5.js} +2 -2
- package/dist/chunk-XQUF3WIS.js +159 -0
- package/dist/chunk-YBF45CX5.js +23 -0
- package/dist/{chunk-AVOIZO63.js → chunk-YQZBAP3S.js} +4 -2
- package/dist/chunk-ZHFFTT3I.js +17 -0
- package/dist/{chunk-TODJFRLH.js → chunk-ZHR77OQI.js} +2 -2
- package/dist/chunk-ZUHIKMQL.js +353 -0
- package/dist/{chunk-44RQ5PTN.js → chunk-ZZIJSTXN.js} +225 -90
- package/dist/{collections-YCAAFGSW.js → collections-7M7O23NO.js} +28 -26
- package/dist/{configuration-UOSNP45I.js → configuration-5IDQRYJQ.js} +4 -4
- package/dist/{configuration-C4IGBNXH.js → configuration-TXRAYMI4.js} +1 -1
- package/dist/{create-BJ4OO6LS.js → create-2N73Y6FO.js} +14 -14
- package/dist/{create-R7K3ECN6.js → create-3MUVY3UY.js} +1 -1
- package/dist/{create-SFU3W3ZH.js → create-6DRXGPYA.js} +1 -1
- package/dist/{create-XAD5NMSJ.js → create-6KM5AZCG.js} +20 -20
- package/dist/{create-YDDBH4VQ.js → create-A6CPQMMH.js} +27 -26
- package/dist/create-B4EWCX7X.js +1798 -0
- package/dist/{create-YBF4YGWG.js → create-BHSMHOFN.js} +1 -1
- package/dist/{create-XVHOCZHJ.js → create-BVUZWMET.js} +1 -1
- package/dist/create-CJEZCYN6.js +1179 -0
- package/dist/create-DAVMJNC2.js +1931 -0
- package/dist/{create-35MYQPVM.js → create-E4HTVPP7.js} +17 -17
- package/dist/{create-JDGM5KXE.js → create-G4TF2M7G.js} +88 -42
- package/dist/{create-UQNYMVBM.js → create-LOP7AF5N.js} +6 -6
- package/dist/{create-UPYB65PD.js → create-MKFDE32U.js} +1 -1
- package/dist/{create-B5ZXTK3K.js → create-NR7ULWQS.js} +37 -34
- package/dist/{create-HI5UI2EZ.js → create-SJSLOXOW.js} +31 -26
- package/dist/{create-GB3ZA4LH.js → create-SYI6DVKM.js} +4 -4
- package/dist/{create-ORXYT74H.js → create-ZAGMLDR4.js} +13 -13
- package/dist/create-ZP4LSJYQ.js +216 -0
- package/dist/customer-group-add-customers-GTM556QA.js +251 -0
- package/dist/customer-group-create-OYHAXX2T.js +140 -0
- package/dist/customer-group-detail-KW62TLWA.js +58 -0
- package/dist/customer-group-edit-WH7O4N4L.js +137 -0
- package/dist/customer-groups-UJFZBZ2B.js +276 -0
- package/dist/{customers-ETXVNM3G.js → customers-4WKIFPUU.js} +7 -7
- package/dist/{edit-UGEC27HP.js → edit-3EN2H52W.js} +39 -36
- package/dist/{edit-ZMERG3L7.js → edit-3VNT35DW.js} +1 -1
- package/dist/{edit-ORXS3A2Y.js → edit-6DUTTLEV.js} +1 -1
- package/dist/edit-6K3NSVI7.js +103 -0
- package/dist/{edit-REDDBLTA.js → edit-6Z6RIJRZ.js} +4 -4
- package/dist/{edit-2Q7TRUTL.js → edit-CVSO5CX7.js} +14 -14
- package/dist/{edit-ZAHCMF5U.js → edit-FQDSESVI.js} +1 -1
- package/dist/edit-GZXLWSTL.js +176 -0
- package/dist/edit-LLNKSZR4.js +871 -0
- package/dist/{edit-O4JLGKQR.js → edit-MKVDAUA5.js} +1 -1
- package/dist/{edit-ZCXUG42Q.js → edit-NDUSRTWY.js} +13 -13
- package/dist/{edit-522DG3BY.js → edit-RBREBAQQ.js} +1 -1
- package/dist/{edit-Q3UQIOLS.js → edit-RQHOHZR6.js} +1 -1
- package/dist/{edit-VKT62KHG.js → edit-SAB6F3ZG.js} +36 -15
- package/dist/{edit-C4OCKQVU.js → edit-SM2GHVKW.js} +1 -1
- package/dist/{edit-KAKVPHZZ.js → edit-UVY3TEHD.js} +1 -1
- package/dist/{edit-SGUY2CCK.js → edit-V7WLYLOQ.js} +16 -16
- package/dist/{edit-FKXIQ6ZI.js → edit-XMZSLH4O.js} +16 -16
- package/dist/{edit-L5ZZLMAY.js → edit-YTS77SJS.js} +43 -32
- package/dist/{edit-budget-L3CCEWNF.js → edit-budget-4JMGEPNF.js} +1 -1
- package/dist/{edit-inventory-item-6B7ITDGD.js → edit-inventory-item-G22KFCYY.js} +2 -2
- package/dist/{edit-inventory-item-attributes-Y7MQZLXI.js → edit-inventory-item-attributes-RJSM4MEI.js} +2 -2
- package/dist/edit-price-K6K2FTMF.js +196 -0
- package/dist/edit-stock-6TUSJD5R.js +229 -0
- package/dist/fulfillment-VEF6HG6D.js +641 -0
- package/dist/{fulfillment-providers-DQAU43JZ.js → fulfillment-providers-VKBWFH45.js} +24 -24
- package/dist/index.css +107 -10
- package/dist/index.js +302 -183
- package/dist/{inventory-KAUVPMPZ.js → inventory-OCIGVZ4V.js} +6 -6
- package/dist/{offer-inventory-batch-page-WKCWNDNK.js → inventory-T7BRSFKY.js} +16 -16
- package/dist/{invite-CI2P4GF6.js → invite-J6L3Q7MQ.js} +12 -12
- package/dist/{invite-Q6EYDZVQ.js → invite-VWNUFOFI.js} +21 -21
- package/dist/loader-2EQ4ROTD.js +34 -0
- package/dist/loader-HYUC2XZX.js +33 -0
- package/dist/{login-KY342RMK.js → login-WOZMCEFY.js} +12 -12
- package/dist/{manage-locations-WNHEBS3A.js → manage-locations-R3ASMF5B.js} +1 -1
- package/dist/{media-B6ME2WXY.js → media-KIIJ6WSZ.js} +18 -17
- package/dist/media-RJHUSBXL.js +315 -0
- package/dist/{metadata-WR4RFXO5.js → metadata-45S6CFKY.js} +14 -14
- package/dist/{metadata-2CMH4I6U.js → metadata-FCATUWIZ.js} +14 -14
- package/dist/{metadata-GWI6R4ES.js → metadata-L5GBBXC4.js} +14 -14
- package/dist/{metadata-TLDUF5KV.js → metadata-R4ZRMAO6.js} +14 -14
- package/dist/{metadata-NUXUC2JA.js → metadata-RM5VVAOS.js} +14 -14
- package/dist/{offer-create-page-4Z6L63BU.js → offer-create-page-DV4JCIL2.js} +190 -195
- package/dist/offer-detail-page-TIBYGQBS.js +590 -0
- package/dist/offer-variant-detail-page-ORH56HZI.js +421 -0
- package/dist/offers-VA63KV3C.js +54 -0
- package/dist/{onboarding-43LQQQGQ.js → onboarding-L5RRKT65.js} +12 -12
- package/dist/{orders-ZV4D6L2V.js → orders-KKJD6EWZ.js} +27 -27
- package/dist/{organization-ZTQGRJWS.js → organization-6YPU2RQP.js} +53 -89
- package/dist/{organize-K6QMAMEN.js → organize-LR7FWK2J.js} +3 -3
- package/dist/{organize-HNJUHEEG.js → organize-SUG4SGVR.js} +3 -3
- package/dist/pages/index.d.ts +40 -16
- package/dist/pages/index.js +73 -73
- package/dist/{payment-details-64US5XWD.js → payment-details-UVEIHQA5.js} +13 -13
- package/dist/{payouts-UXJDTXDL.js → payouts-D4A4CILI.js} +8 -8
- package/dist/{price-lists-KBPUVSZI.js → price-lists-WJFXFGEV.js} +10 -10
- package/dist/{pricing-DF6C5XK4.js → pricing-QEVR2Z4K.js} +19 -19
- package/dist/{offer-pricing-edit-page-4TYGGSOE.js → pricing-XJUUCYL5.js} +24 -18
- package/dist/{product-tags-6MZB4W5R.js → product-tags-MW2JMRFY.js} +36 -33
- package/dist/{product-types-UUHBV4IZ.js → product-types-XXU7X42K.js} +6 -6
- package/dist/product-variant-detail-XZWTSH3H.js +369 -0
- package/dist/{product-variant-edit-YYNPHE4L.js → product-variant-edit-A2KO3E7B.js} +41 -44
- package/dist/{products-MZBU5MEV.js → products-TZS2OPK3.js} +37 -37
- package/dist/{products-IWKTGZS6.js → products-XSXEUKIB.js} +23 -22
- package/dist/{professional-details-5T2VS6MM.js → professional-details-ELUEJPOH.js} +13 -13
- package/dist/{profile-6XGHAT7H.js → profile-EDVGIBW6.js} +16 -16
- package/dist/{promotions-O7U4BTK6.js → promotions-JYO23G6N.js} +8 -8
- package/dist/receive-47SMYKIJ.js +578 -0
- package/dist/refund-IU7B77FV.js +268 -0
- package/dist/{register-N6WOSMLA.js → register-SR2SYX4Q.js} +14 -14
- package/dist/{reset-password-EICPAY2N.js → reset-password-N22YRMR3.js} +1 -1
- package/dist/{return-reasons-IX3LIOCU.js → return-reasons-POR5YPTF.js} +18 -15
- package/dist/{sales-channels-JW3QUYR7.js → sales-channels-ETB6QRRY.js} +8 -8
- package/dist/{sales-channels-B6FULRWI.js → sales-channels-YXRRARDL.js} +7 -7
- package/dist/{settings-MV53ZZ53.js → settings-MHBYIZ2I.js} +38 -35
- package/dist/shipment-ZX6PQ32L.js +241 -0
- package/dist/shipping-W4SPR3JO.js +122 -0
- package/dist/{shipping-profile-Y4SNEPZX.js → shipping-profile-L5CFXVEE.js} +4 -8
- package/dist/{shipping-profiles-2NWKCEJK.js → shipping-profiles-QBJUWXVQ.js} +17 -17
- package/dist/{stock-7CSVEJJU.js → stock-FW4DOVFV.js} +14 -14
- package/dist/{store-X23G3JCJ.js → store-NWWBV2UO.js} +75 -144
- package/dist/{store-closure-P5PD2RSV.js → store-closure-O3CBSOJD.js} +19 -14
- package/dist/{store-select-TREPDS3G.js → store-select-C7GI5MKK.js} +13 -13
- package/dist/{tax-regions-YXZW7UVX.js → tax-regions-2JCIB4T7.js} +2 -2
- package/dist/{team-SPP5OY5W.js → team-MY24J5WO.js} +20 -20
- package/package.json +2 -2
- package/dist/[id]-LTNOHLGE.js +0 -1219
- package/dist/allocate-items-SDFS5GYN.js +0 -533
- package/dist/chunk-432S4FGR.js +0 -0
- package/dist/chunk-AIZM66CG.js +0 -66
- package/dist/chunk-BDZOSMAX.js +0 -23
- package/dist/chunk-CFRWIQIZ.js +0 -43
- package/dist/chunk-GKZHBXZK.js +0 -426
- package/dist/chunk-RXZFEFNV.js +0 -73
- package/dist/chunk-T6LHVNWO.js +0 -27
- package/dist/chunk-WLT7K7K7.js +0 -63
- package/dist/create-FCKGCZSM.js +0 -210
- package/dist/edit-GQNIINRR.js +0 -192
- package/dist/fulfillment-75Z4H23W.js +0 -559
- package/dist/loader-FBB5OQRT.js +0 -31
- package/dist/metadata-5BPOBBU2.js +0 -45
- package/dist/offer-detail-page-6MAHNNIO.js +0 -488
- package/dist/offer-edit-page-DYQFU6JU.js +0 -151
- package/dist/offers-ZG6OTDZ2.js +0 -32
- package/dist/product-variant-detail-RVWEYVPC.js +0 -220
- package/dist/shipment-Q33QBMXX.js +0 -176
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
import {
|
|
13
13
|
_DataTable,
|
|
14
14
|
useDataTable
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-WKRW5OPL.js";
|
|
16
16
|
import "./chunk-YN3FGNJM.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-KCHYLLVG.js";
|
|
18
18
|
import "./chunk-3EF54XFY.js";
|
|
19
19
|
import {
|
|
20
20
|
SectionRow
|
|
@@ -22,11 +22,10 @@ import {
|
|
|
22
22
|
import {
|
|
23
23
|
TwoColumnPage
|
|
24
24
|
} from "./chunk-YV6MK4PZ.js";
|
|
25
|
-
import "./chunk-LRD242C7.js";
|
|
26
|
-
import "./chunk-QHQWEERJ.js";
|
|
27
25
|
import {
|
|
28
26
|
useQueryParams
|
|
29
27
|
} from "./chunk-THHRRYRS.js";
|
|
28
|
+
import "./chunk-LRD242C7.js";
|
|
30
29
|
import {
|
|
31
30
|
Thumbnail
|
|
32
31
|
} from "./chunk-WIYFXWRI.js";
|
|
@@ -37,13 +36,14 @@ import {
|
|
|
37
36
|
ActionMenu
|
|
38
37
|
} from "./chunk-BDGZ4EQO.js";
|
|
39
38
|
import "./chunk-LAVHRER2.js";
|
|
39
|
+
import "./chunk-QHQWEERJ.js";
|
|
40
40
|
import "./chunk-Y7QKP6QU.js";
|
|
41
41
|
import {
|
|
42
42
|
inventoryItemsQueryKeys,
|
|
43
43
|
useDeleteInventoryItemLevel,
|
|
44
44
|
useInventoryItem,
|
|
45
45
|
useInventoryItemLevels
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-TSTUAL6N.js";
|
|
47
47
|
import "./chunk-A5DJIOHN.js";
|
|
48
48
|
import {
|
|
49
49
|
queryClient
|
|
@@ -3,65 +3,68 @@ import {
|
|
|
3
3
|
} from "./chunk-7AV5EJJ5.js";
|
|
4
4
|
import {
|
|
5
5
|
getCategoryChildren,
|
|
6
|
+
getCategoryGallery,
|
|
7
|
+
getCategoryIcon,
|
|
6
8
|
getCategoryPath
|
|
7
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LYYM7H7H.js";
|
|
8
10
|
import {
|
|
9
11
|
useProductTableColumns
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-QJI4OET7.js";
|
|
13
|
+
import "./chunk-PFJFS3F4.js";
|
|
12
14
|
import {
|
|
13
15
|
useProductTableQuery
|
|
14
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-MJCL3WID.js";
|
|
17
|
+
import "./chunk-FWPGOIFA.js";
|
|
15
18
|
import "./chunk-FQERBIVS.js";
|
|
16
19
|
import "./chunk-DB6ANJBO.js";
|
|
17
20
|
import "./chunk-PHOCVOZ5.js";
|
|
18
21
|
import {
|
|
19
22
|
_DataTable,
|
|
20
23
|
useDataTable
|
|
21
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-WKRW5OPL.js";
|
|
22
25
|
import "./chunk-YN3FGNJM.js";
|
|
23
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-KCHYLLVG.js";
|
|
24
27
|
import "./chunk-3EF54XFY.js";
|
|
25
28
|
import {
|
|
26
29
|
TwoColumnPage
|
|
27
30
|
} from "./chunk-YV6MK4PZ.js";
|
|
28
|
-
import "./chunk-LRD242C7.js";
|
|
29
|
-
import "./chunk-QHQWEERJ.js";
|
|
30
31
|
import "./chunk-THHRRYRS.js";
|
|
31
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-LRD242C7.js";
|
|
33
|
+
import "./chunk-6FLSBL4Q.js";
|
|
32
34
|
import "./chunk-WIYFXWRI.js";
|
|
33
35
|
import {
|
|
34
36
|
Skeleton,
|
|
35
37
|
TwoColumnPageSkeleton
|
|
36
38
|
} from "./chunk-INNFZYX2.js";
|
|
37
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-KZYRC3WR.js";
|
|
38
40
|
import "./chunk-F4OJN2F2.js";
|
|
39
41
|
import "./chunk-LRARA622.js";
|
|
40
42
|
import "./chunk-M6N4ISXL.js";
|
|
41
43
|
import "./chunk-S7EKBD2C.js";
|
|
42
|
-
import "./chunk-VXMOPVRH.js";
|
|
43
44
|
import "./chunk-VV6IKGCN.js";
|
|
44
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-M3YUT5AY.js";
|
|
45
46
|
import "./chunk-BOZJOOGW.js";
|
|
46
|
-
import "./chunk-LWJF63JW.js";
|
|
47
|
-
import "./chunk-T6LHVNWO.js";
|
|
48
|
-
import "./chunk-4S6XGIC6.js";
|
|
49
|
-
import "./chunk-QT7YFHCA.js";
|
|
50
47
|
import "./chunk-IQWK723D.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-4S6XGIC6.js";
|
|
49
|
+
import "./chunk-S23FD6FA.js";
|
|
50
|
+
import "./chunk-7FIPNQM2.js";
|
|
51
|
+
import "./chunk-LTQQRVZG.js";
|
|
53
52
|
import "./chunk-VXWN37PT.js";
|
|
54
53
|
import {
|
|
55
54
|
categoriesQueryKeys,
|
|
56
55
|
useProductCategory
|
|
57
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-247L47JD.js";
|
|
57
|
+
import "./chunk-POOTMH3K.js";
|
|
58
|
+
import "./chunk-VXMOPVRH.js";
|
|
58
59
|
import "./chunk-NBPMNUKZ.js";
|
|
59
|
-
import "./chunk-
|
|
60
|
+
import "./chunk-4R5GESED.js";
|
|
61
|
+
import "./chunk-7RGUD6PI.js";
|
|
60
62
|
import "./chunk-3B34B2M2.js";
|
|
63
|
+
import "./chunk-QHQWEERJ.js";
|
|
61
64
|
import "./chunk-Y7QKP6QU.js";
|
|
62
65
|
import {
|
|
63
66
|
useProducts
|
|
64
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-TSTUAL6N.js";
|
|
65
68
|
import "./chunk-A5DJIOHN.js";
|
|
66
69
|
import {
|
|
67
70
|
queryClient
|
|
@@ -113,26 +116,110 @@ var CategoryGeneralSection = ({
|
|
|
113
116
|
] });
|
|
114
117
|
};
|
|
115
118
|
|
|
119
|
+
// src/pages/categories/[id]/_components/category-icon-section/category-icon-section.tsx
|
|
120
|
+
import { Container as Container2, Heading as Heading2, Text as Text2 } from "@medusajs/ui";
|
|
121
|
+
import { useTranslation as useTranslation2 } from "react-i18next";
|
|
122
|
+
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
123
|
+
var CategoryIconSection = ({
|
|
124
|
+
category
|
|
125
|
+
}) => {
|
|
126
|
+
const { t } = useTranslation2();
|
|
127
|
+
const icon = getCategoryIcon(category.images);
|
|
128
|
+
return /* @__PURE__ */ jsxs2(Container2, { className: "divide-y p-0", "data-testid": "category-icon-section", children: [
|
|
129
|
+
/* @__PURE__ */ jsx2("div", { className: "flex items-center justify-between px-6 py-4", children: /* @__PURE__ */ jsx2(Heading2, { children: t("categories.icon.label") }) }),
|
|
130
|
+
/* @__PURE__ */ jsx2("div", { className: "px-6 py-4", children: icon ? /* @__PURE__ */ jsx2("div", { className: "bg-ui-bg-base shadow-elevation-card-rest relative aspect-square w-24 overflow-hidden rounded-[8px]", children: /* @__PURE__ */ jsx2(
|
|
131
|
+
"img",
|
|
132
|
+
{
|
|
133
|
+
src: icon.url,
|
|
134
|
+
alt: "",
|
|
135
|
+
className: "size-full object-contain object-center p-2",
|
|
136
|
+
"data-testid": "category-icon-section-image"
|
|
137
|
+
}
|
|
138
|
+
) }) : /* @__PURE__ */ jsxs2("div", { className: "flex flex-col items-center justify-center gap-y-1 py-8", children: [
|
|
139
|
+
/* @__PURE__ */ jsx2(
|
|
140
|
+
Text2,
|
|
141
|
+
{
|
|
142
|
+
size: "small",
|
|
143
|
+
leading: "compact",
|
|
144
|
+
weight: "plus",
|
|
145
|
+
className: "text-ui-fg-subtle",
|
|
146
|
+
children: t("categories.icon.empty.header")
|
|
147
|
+
}
|
|
148
|
+
),
|
|
149
|
+
/* @__PURE__ */ jsx2(Text2, { size: "small", className: "text-ui-fg-muted", children: t("categories.icon.empty.description") })
|
|
150
|
+
] }) })
|
|
151
|
+
] });
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
// src/pages/categories/[id]/_components/category-media-section/category-media-section.tsx
|
|
155
|
+
import { FeaturedBadge, ThumbnailBadge } from "@medusajs/icons";
|
|
156
|
+
import { Container as Container3, Heading as Heading3, Text as Text3, Tooltip } from "@medusajs/ui";
|
|
157
|
+
import { useTranslation as useTranslation3 } from "react-i18next";
|
|
158
|
+
import { jsx as jsx3, jsxs as jsxs3 } from "react/jsx-runtime";
|
|
159
|
+
var CategoryMediaSection = ({
|
|
160
|
+
category
|
|
161
|
+
}) => {
|
|
162
|
+
const { t } = useTranslation3();
|
|
163
|
+
const gallery = getCategoryGallery(category.images);
|
|
164
|
+
return /* @__PURE__ */ jsxs3(Container3, { className: "divide-y p-0", "data-testid": "category-media-section", children: [
|
|
165
|
+
/* @__PURE__ */ jsx3("div", { className: "flex items-center justify-between px-6 py-4", children: /* @__PURE__ */ jsx3(Heading3, { children: t("categories.media.label") }) }),
|
|
166
|
+
/* @__PURE__ */ jsx3("div", { className: "px-6 py-4", children: gallery.length > 0 ? /* @__PURE__ */ jsx3("div", { className: "grid grid-cols-[repeat(auto-fill,minmax(96px,1fr))] gap-4", children: gallery.map((image) => /* @__PURE__ */ jsxs3(
|
|
167
|
+
"div",
|
|
168
|
+
{
|
|
169
|
+
className: "shadow-elevation-card-rest relative aspect-square size-full overflow-hidden rounded-[8px]",
|
|
170
|
+
"data-testid": `category-media-section-item-${image.id}`,
|
|
171
|
+
children: [
|
|
172
|
+
/* @__PURE__ */ jsx3(
|
|
173
|
+
"img",
|
|
174
|
+
{
|
|
175
|
+
src: image.url,
|
|
176
|
+
alt: "",
|
|
177
|
+
className: "size-full object-cover object-center"
|
|
178
|
+
}
|
|
179
|
+
),
|
|
180
|
+
(image.is_thumbnail || image.is_banner) && /* @__PURE__ */ jsxs3("div", { className: "absolute left-2 top-2 flex items-center gap-x-1", children: [
|
|
181
|
+
image.is_thumbnail && /* @__PURE__ */ jsx3(Tooltip, { content: t("categories.media.thumbnail"), children: /* @__PURE__ */ jsx3(ThumbnailBadge, {}) }),
|
|
182
|
+
image.is_banner && /* @__PURE__ */ jsx3(Tooltip, { content: t("categories.media.banner"), children: /* @__PURE__ */ jsx3(FeaturedBadge, { className: "text-ui-fg-interactive" }) })
|
|
183
|
+
] })
|
|
184
|
+
]
|
|
185
|
+
},
|
|
186
|
+
image.id
|
|
187
|
+
)) }) : /* @__PURE__ */ jsxs3("div", { className: "flex flex-col items-center justify-center gap-y-1 py-8", children: [
|
|
188
|
+
/* @__PURE__ */ jsx3(
|
|
189
|
+
Text3,
|
|
190
|
+
{
|
|
191
|
+
size: "small",
|
|
192
|
+
leading: "compact",
|
|
193
|
+
weight: "plus",
|
|
194
|
+
className: "text-ui-fg-subtle",
|
|
195
|
+
children: t("categories.media.empty.header")
|
|
196
|
+
}
|
|
197
|
+
),
|
|
198
|
+
/* @__PURE__ */ jsx3(Text3, { size: "small", className: "text-ui-fg-muted", children: t("categories.media.empty.description") })
|
|
199
|
+
] }) })
|
|
200
|
+
] });
|
|
201
|
+
};
|
|
202
|
+
|
|
116
203
|
// src/pages/categories/[id]/_components/category-organize-section/category-organize-section.tsx
|
|
117
204
|
import { FolderIllustration, TriangleRightMini } from "@medusajs/icons";
|
|
118
|
-
import { Badge, Container as
|
|
205
|
+
import { Badge, Container as Container4, Heading as Heading4, Text as Text4, Tooltip as Tooltip2 } from "@medusajs/ui";
|
|
119
206
|
import { useMemo, useState } from "react";
|
|
120
|
-
import { useTranslation as
|
|
207
|
+
import { useTranslation as useTranslation4 } from "react-i18next";
|
|
121
208
|
import { Link } from "react-router-dom";
|
|
122
|
-
import { jsx as
|
|
209
|
+
import { jsx as jsx4, jsxs as jsxs4 } from "react/jsx-runtime";
|
|
123
210
|
var CategoryOrganizeSection = ({
|
|
124
211
|
category
|
|
125
212
|
}) => {
|
|
126
|
-
const { t } =
|
|
127
|
-
return /* @__PURE__ */
|
|
128
|
-
/* @__PURE__ */
|
|
129
|
-
/* @__PURE__ */
|
|
130
|
-
/* @__PURE__ */
|
|
131
|
-
/* @__PURE__ */
|
|
213
|
+
const { t } = useTranslation4();
|
|
214
|
+
return /* @__PURE__ */ jsxs4(Container4, { className: "divide-y p-0", children: [
|
|
215
|
+
/* @__PURE__ */ jsx4("div", { className: "flex items-center justify-between px-6 py-4", children: /* @__PURE__ */ jsx4(Heading4, { level: "h2", children: t("categories.organize.header") }) }),
|
|
216
|
+
/* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start gap-3 px-6 py-4", children: [
|
|
217
|
+
/* @__PURE__ */ jsx4(Text4, { size: "small", leading: "compact", weight: "plus", children: t("categories.fields.path.label") }),
|
|
218
|
+
/* @__PURE__ */ jsx4(PathDisplay, { category })
|
|
132
219
|
] }),
|
|
133
|
-
/* @__PURE__ */
|
|
134
|
-
/* @__PURE__ */
|
|
135
|
-
/* @__PURE__ */
|
|
220
|
+
/* @__PURE__ */ jsxs4("div", { className: "text-ui-fg-subtle grid grid-cols-2 items-start gap-3 px-6 py-4", children: [
|
|
221
|
+
/* @__PURE__ */ jsx4(Text4, { size: "small", leading: "compact", weight: "plus", children: t("categories.fields.children.label") }),
|
|
222
|
+
/* @__PURE__ */ jsx4(ChildrenDisplay, { category })
|
|
136
223
|
] })
|
|
137
224
|
] });
|
|
138
225
|
};
|
|
@@ -140,7 +227,7 @@ var PathDisplay = ({
|
|
|
140
227
|
category
|
|
141
228
|
}) => {
|
|
142
229
|
const [expanded, setExpanded] = useState(false);
|
|
143
|
-
const { t } =
|
|
230
|
+
const { t } = useTranslation4();
|
|
144
231
|
const {
|
|
145
232
|
product_category: withParents,
|
|
146
233
|
isLoading
|
|
@@ -149,27 +236,27 @@ var PathDisplay = ({
|
|
|
149
236
|
});
|
|
150
237
|
const chips = useMemo(() => getCategoryPath(withParents), [withParents]);
|
|
151
238
|
if (isLoading || !withParents) {
|
|
152
|
-
return /* @__PURE__ */
|
|
239
|
+
return /* @__PURE__ */ jsx4(Skeleton, { className: "h-5 w-16" });
|
|
153
240
|
}
|
|
154
241
|
if (!chips.length) {
|
|
155
|
-
return /* @__PURE__ */
|
|
242
|
+
return /* @__PURE__ */ jsx4(Text4, { size: "small", leading: "compact", children: "-" });
|
|
156
243
|
}
|
|
157
244
|
if (chips.length > 1 && !expanded) {
|
|
158
|
-
return /* @__PURE__ */
|
|
159
|
-
/* @__PURE__ */
|
|
160
|
-
/* @__PURE__ */
|
|
161
|
-
/* @__PURE__ */
|
|
245
|
+
return /* @__PURE__ */ jsxs4("div", { className: "grid grid-cols-[20px_1fr] items-start gap-x-2", children: [
|
|
246
|
+
/* @__PURE__ */ jsx4(FolderIllustration, {}),
|
|
247
|
+
/* @__PURE__ */ jsxs4("div", { className: "flex w-full items-center gap-x-0.5 overflow-hidden", children: [
|
|
248
|
+
/* @__PURE__ */ jsx4(Tooltip2, { content: t("categories.fields.path.tooltip"), children: /* @__PURE__ */ jsx4(
|
|
162
249
|
"button",
|
|
163
250
|
{
|
|
164
251
|
className: "outline-none",
|
|
165
252
|
type: "button",
|
|
166
253
|
onClick: () => setExpanded(true),
|
|
167
|
-
children: /* @__PURE__ */
|
|
254
|
+
children: /* @__PURE__ */ jsx4(Text4, { size: "xsmall", leading: "compact", weight: "plus", children: "..." })
|
|
168
255
|
}
|
|
169
256
|
) }),
|
|
170
|
-
/* @__PURE__ */
|
|
171
|
-
/* @__PURE__ */
|
|
172
|
-
|
|
257
|
+
/* @__PURE__ */ jsx4("div", { className: "flex size-[15px] shrink-0 items-center justify-center", children: /* @__PURE__ */ jsx4(TriangleRightMini, {}) }),
|
|
258
|
+
/* @__PURE__ */ jsx4(
|
|
259
|
+
Text4,
|
|
173
260
|
{
|
|
174
261
|
size: "xsmall",
|
|
175
262
|
leading: "compact",
|
|
@@ -182,11 +269,11 @@ var PathDisplay = ({
|
|
|
182
269
|
] });
|
|
183
270
|
}
|
|
184
271
|
if (chips.length > 1 && expanded) {
|
|
185
|
-
return /* @__PURE__ */
|
|
186
|
-
/* @__PURE__ */
|
|
187
|
-
/* @__PURE__ */
|
|
188
|
-
return /* @__PURE__ */
|
|
189
|
-
index === chips.length - 1 ? /* @__PURE__ */
|
|
272
|
+
return /* @__PURE__ */ jsxs4("div", { className: "grid grid-cols-[20px_1fr] items-start gap-x-2", children: [
|
|
273
|
+
/* @__PURE__ */ jsx4(FolderIllustration, {}),
|
|
274
|
+
/* @__PURE__ */ jsx4("div", { className: "gap- flex flex-wrap items-center gap-x-0.5 gap-y-1", children: chips.map((chip, index) => {
|
|
275
|
+
return /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-x-0.5", children: [
|
|
276
|
+
index === chips.length - 1 ? /* @__PURE__ */ jsx4(Text4, { size: "xsmall", leading: "compact", weight: "plus", children: chip.name }) : /* @__PURE__ */ jsx4(
|
|
190
277
|
LinkButton,
|
|
191
278
|
{
|
|
192
279
|
to: `/categories/${chip.id}`,
|
|
@@ -194,14 +281,14 @@ var PathDisplay = ({
|
|
|
194
281
|
children: chip.name
|
|
195
282
|
}
|
|
196
283
|
),
|
|
197
|
-
index < chips.length - 1 && /* @__PURE__ */
|
|
284
|
+
index < chips.length - 1 && /* @__PURE__ */ jsx4(TriangleRightMini, {})
|
|
198
285
|
] }, chip.id);
|
|
199
286
|
}) })
|
|
200
287
|
] });
|
|
201
288
|
}
|
|
202
|
-
return /* @__PURE__ */
|
|
203
|
-
/* @__PURE__ */
|
|
204
|
-
index < chips.length - 1 && /* @__PURE__ */
|
|
289
|
+
return /* @__PURE__ */ jsx4("div", { className: "grid grid-cols-1 items-start gap-x-2", children: chips.map((chip, index) => /* @__PURE__ */ jsxs4("div", { className: "flex items-center gap-x-0.5", children: [
|
|
290
|
+
/* @__PURE__ */ jsx4(Text4, { size: "xsmall", leading: "compact", weight: "plus", children: chip.name }),
|
|
291
|
+
index < chips.length - 1 && /* @__PURE__ */ jsx4(TriangleRightMini, {})
|
|
205
292
|
] }, chip.id)) });
|
|
206
293
|
};
|
|
207
294
|
var ChildrenDisplay = ({
|
|
@@ -215,25 +302,25 @@ var ChildrenDisplay = ({
|
|
|
215
302
|
});
|
|
216
303
|
const chips = useMemo(() => getCategoryChildren(withChildren), [withChildren]);
|
|
217
304
|
if (isLoading || !withChildren) {
|
|
218
|
-
return /* @__PURE__ */
|
|
305
|
+
return /* @__PURE__ */ jsx4(Skeleton, { className: "h-5 w-16" });
|
|
219
306
|
}
|
|
220
307
|
if (!chips.length) {
|
|
221
|
-
return /* @__PURE__ */
|
|
308
|
+
return /* @__PURE__ */ jsx4(Text4, { size: "small", leading: "compact", children: "-" });
|
|
222
309
|
}
|
|
223
|
-
return /* @__PURE__ */
|
|
310
|
+
return /* @__PURE__ */ jsx4("div", { className: "flex w-full flex-wrap gap-1", children: chips.map((chip) => /* @__PURE__ */ jsx4(Badge, { size: "2xsmall", className: "max-w-full", asChild: true, children: /* @__PURE__ */ jsx4(Link, { to: `/categories/${chip.id}`, children: /* @__PURE__ */ jsx4("span", { className: "truncate", children: chip.name }) }) }, chip.id)) });
|
|
224
311
|
};
|
|
225
312
|
|
|
226
313
|
// src/pages/categories/[id]/_components/category-product-section/category-product-section.tsx
|
|
227
|
-
import { Container as
|
|
314
|
+
import { Container as Container5, Heading as Heading5 } from "@medusajs/ui";
|
|
228
315
|
import { keepPreviousData } from "@tanstack/react-query";
|
|
229
316
|
import { useMemo as useMemo2, useState as useState2 } from "react";
|
|
230
|
-
import { useTranslation as
|
|
231
|
-
import { jsx as
|
|
317
|
+
import { useTranslation as useTranslation5 } from "react-i18next";
|
|
318
|
+
import { jsx as jsx5, jsxs as jsxs5 } from "react/jsx-runtime";
|
|
232
319
|
var PAGE_SIZE = 10;
|
|
233
320
|
var CategoryProductSection = ({
|
|
234
321
|
category
|
|
235
322
|
}) => {
|
|
236
|
-
const { t } =
|
|
323
|
+
const { t } = useTranslation5();
|
|
237
324
|
const [selection, setSelection] = useState2({});
|
|
238
325
|
const { raw, searchParams } = useProductTableQuery({
|
|
239
326
|
pageSize: PAGE_SIZE
|
|
@@ -267,9 +354,9 @@ var CategoryProductSection = ({
|
|
|
267
354
|
updater: setSelection
|
|
268
355
|
}
|
|
269
356
|
});
|
|
270
|
-
return /* @__PURE__ */
|
|
271
|
-
/* @__PURE__ */
|
|
272
|
-
/* @__PURE__ */
|
|
357
|
+
return /* @__PURE__ */ jsxs5(Container5, { className: "divide-y p-0", children: [
|
|
358
|
+
/* @__PURE__ */ jsx5("div", { className: "flex items-center justify-between px-6 py-4", children: /* @__PURE__ */ jsx5(Heading5, { level: "h2", children: t("products.domain") }) }),
|
|
359
|
+
/* @__PURE__ */ jsx5(
|
|
273
360
|
_DataTable,
|
|
274
361
|
{
|
|
275
362
|
table,
|
|
@@ -336,7 +423,7 @@ var useColumns = () => {
|
|
|
336
423
|
};
|
|
337
424
|
|
|
338
425
|
// src/pages/categories/[id]/category-detail-page.tsx
|
|
339
|
-
import { Fragment, jsx as
|
|
426
|
+
import { Fragment, jsx as jsx6, jsxs as jsxs6 } from "react/jsx-runtime";
|
|
340
427
|
var Root = ({ children }) => {
|
|
341
428
|
const { id } = useParams();
|
|
342
429
|
const {
|
|
@@ -348,10 +435,10 @@ var Root = ({ children }) => {
|
|
|
348
435
|
fields: "+is_active,+is_internal"
|
|
349
436
|
});
|
|
350
437
|
if (categoryLoading || !product_category) {
|
|
351
|
-
return /* @__PURE__ */
|
|
438
|
+
return /* @__PURE__ */ jsx6(
|
|
352
439
|
TwoColumnPageSkeleton,
|
|
353
440
|
{
|
|
354
|
-
mainSections:
|
|
441
|
+
mainSections: 4,
|
|
355
442
|
sidebarSections: 1,
|
|
356
443
|
showJSON: true,
|
|
357
444
|
showMetadata: true
|
|
@@ -361,18 +448,22 @@ var Root = ({ children }) => {
|
|
|
361
448
|
if (categoryError) {
|
|
362
449
|
throw error;
|
|
363
450
|
}
|
|
364
|
-
return /* @__PURE__ */
|
|
365
|
-
/* @__PURE__ */
|
|
366
|
-
/* @__PURE__ */
|
|
367
|
-
/* @__PURE__ */
|
|
451
|
+
return /* @__PURE__ */ jsx6(Fragment, { children: Children.count(children) > 0 ? children : /* @__PURE__ */ jsxs6(TwoColumnPage, { data: product_category, children: [
|
|
452
|
+
/* @__PURE__ */ jsxs6(TwoColumnPage.Main, { children: [
|
|
453
|
+
/* @__PURE__ */ jsx6(CategoryGeneralSection, { category: product_category }),
|
|
454
|
+
/* @__PURE__ */ jsx6(CategoryMediaSection, { category: product_category }),
|
|
455
|
+
/* @__PURE__ */ jsx6(CategoryIconSection, { category: product_category }),
|
|
456
|
+
/* @__PURE__ */ jsx6(CategoryProductSection, { category: product_category })
|
|
368
457
|
] }),
|
|
369
|
-
/* @__PURE__ */
|
|
458
|
+
/* @__PURE__ */ jsx6(TwoColumnPage.Sidebar, { children: /* @__PURE__ */ jsx6(CategoryOrganizeSection, { category: product_category }) })
|
|
370
459
|
] }) });
|
|
371
460
|
};
|
|
372
461
|
var CategoryDetailPage = Object.assign(Root, {
|
|
373
462
|
Main: TwoColumnPage.Main,
|
|
374
463
|
Sidebar: TwoColumnPage.Sidebar,
|
|
375
464
|
MainGeneralSection: CategoryGeneralSection,
|
|
465
|
+
MainMediaSection: CategoryMediaSection,
|
|
466
|
+
MainIconSection: CategoryIconSection,
|
|
376
467
|
MainProductSection: CategoryProductSection,
|
|
377
468
|
SidebarOrganizeSection: CategoryOrganizeSection
|
|
378
469
|
});
|