@mercurjs/admin 2.1.2-canary.4 → 2.1.2
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-WRGU7MF4.js → add-campaign-promotions-6Z2STQT4.js} +7 -7
- package/dist/{api-key-management-detail-Q5RBMX4J.js → api-key-management-detail-IRYR6J2I.js} +4 -4
- package/dist/{api-key-management-list-DQ33T6KV.js → api-key-management-list-4WCDP4B3.js} +7 -7
- package/dist/{api-key-management-sales-channels-UGAAKILD.js → api-key-management-sales-channels-NVFG2ESH.js} +1 -1
- package/dist/{attribute-create-IVRJPVG5.js → attribute-create-EAOQ6KT6.js} +58 -45
- package/dist/{attribute-detail-FLQKKFCO.js → attribute-detail-R26GDX7Q.js} +7 -7
- package/dist/{attribute-list-ODT2ZP4T.js → attribute-list-XR7OSL2H.js} +7 -7
- package/dist/{campaign-create-QFNB5XZ2.js → campaign-create-AZTR5UZP.js} +2 -2
- package/dist/{campaign-detail-UKVHFA6H.js → campaign-detail-TCPO6DTI.js} +10 -10
- package/dist/{campaign-list-A3TVXCV4.js → campaign-list-DCLVAFEM.js} +7 -7
- package/dist/{category-create-XH6AM3NM.js → category-create-DG3Z5RYE.js} +2 -2
- package/dist/{category-detail-DXQECKDO.js → category-detail-K2UNFPRV.js} +7 -7
- package/dist/{category-list-AQIONIMS.js → category-list-2MG37UXJ.js} +7 -7
- package/dist/{category-organize-NCH6A57L.js → category-organize-CCX2INRS.js} +1 -1
- package/dist/{category-products-VV3JLNW7.js → category-products-LKT7564A.js} +4 -4
- package/dist/{chunk-XZQV2OLD.js → chunk-26UTIAAZ.js} +17 -2
- package/dist/{chunk-VXPWIJZV.js → chunk-2OYCT5NO.js} +1 -1
- package/dist/{chunk-R2FE3PBQ.js → chunk-2U5BRCQO.js} +1 -1
- package/dist/{chunk-Z4CSKRJ4.js → chunk-32OKBVER.js} +2 -2
- package/dist/{chunk-2MNDOYVE.js → chunk-35Q6JF3S.js} +2 -2
- package/dist/{chunk-3BBG3LC3.js → chunk-3DOCALSU.js} +2 -2
- package/dist/{chunk-RHCDOBTU.js → chunk-3IBSB2U6.js} +2 -2
- package/dist/{chunk-LNT72PI5.js → chunk-3T5S5RDO.js} +1 -1
- package/dist/{chunk-FZCXIX37.js → chunk-3ZSYFPHB.js} +5 -4
- package/dist/{chunk-MKIFFPHN.js → chunk-4IZ2RD3L.js} +3 -3
- package/dist/{chunk-S2Q7PO7I.js → chunk-4KX6CBJ4.js} +1 -0
- package/dist/{chunk-IGBGQDKS.js → chunk-4LQX5FRH.js} +2 -2
- package/dist/{chunk-BGSOUCCN.js → chunk-4Q7LZQVY.js} +2 -2
- package/dist/{chunk-OADU6FQZ.js → chunk-4ZN3D4YS.js} +2 -2
- package/dist/{chunk-36NDTZIV.js → chunk-56AUQBQX.js} +1 -1
- package/dist/{chunk-SCKY77PC.js → chunk-5OS2MBRB.js} +2 -2
- package/dist/{chunk-EHLONIAY.js → chunk-5ZBQICCP.js} +1 -1
- package/dist/{chunk-D3OIFOHY.js → chunk-63OSYRLS.js} +1 -1
- package/dist/{chunk-BURG4MO3.js → chunk-6YGOXPB5.js} +2 -2
- package/dist/{chunk-Q64H5G5C.js → chunk-7A5WEMNW.js} +2 -2
- package/dist/{chunk-ZOS6EBB2.js → chunk-7MTFPHXR.js} +2 -2
- package/dist/{chunk-ANHC5MBQ.js → chunk-7QWLLYOY.js} +1 -1
- package/dist/{chunk-TGK2C73H.js → chunk-7XXM72CF.js} +6 -2
- package/dist/{chunk-JDHG7FWL.js → chunk-7YHAFHGI.js} +17 -13
- package/dist/{chunk-4OHMUFVP.js → chunk-ABUQBBEM.js} +2 -2
- package/dist/{chunk-RTOCKSJ5.js → chunk-ARMGWHYU.js} +2 -2
- package/dist/{chunk-MSXZLZ4X.js → chunk-AZAGUAN4.js} +2 -2
- package/dist/{chunk-JPJISU7W.js → chunk-B6SYYKJI.js} +2 -2
- package/dist/{chunk-NZ4BXIO6.js → chunk-BEU674HI.js} +2 -2
- package/dist/{chunk-FNJNVUXR.js → chunk-CEG375CR.js} +1 -1
- package/dist/{chunk-TDQEXNX5.js → chunk-CIH5DSU7.js} +2 -2
- package/dist/{chunk-XILJNA3R.js → chunk-CXO3C3L2.js} +2 -2
- package/dist/{chunk-YQ6JASMO.js → chunk-DVKO4VRC.js} +3 -3
- package/dist/{chunk-V5J73NPW.js → chunk-E74OUNA3.js} +1 -1
- package/dist/{chunk-QRAFS63H.js → chunk-EWMEXGFZ.js} +2 -2
- package/dist/{chunk-GQUE4TAJ.js → chunk-F67RRVMJ.js} +3 -3
- package/dist/{chunk-IK6MPP7K.js → chunk-FSPZYOY6.js} +1 -1
- package/dist/{chunk-WQO26Z76.js → chunk-GDHF6CT5.js} +2 -2
- package/dist/{chunk-CUSRWXZY.js → chunk-GJPGL7RP.js} +1 -1
- package/dist/{chunk-3QIIWLCT.js → chunk-GKJLFLGN.js} +1 -1
- package/dist/{chunk-VTK4AZCW.js → chunk-GPKTJXGG.js} +2 -2
- package/dist/{chunk-GS7L2B4S.js → chunk-GXRLLA5H.js} +3 -4
- package/dist/{chunk-JJYOI5PR.js → chunk-GZBVMHXS.js} +2 -2
- package/dist/{chunk-XIZLPYEE.js → chunk-H6MYB7GB.js} +4 -1
- package/dist/{chunk-KERTIEWE.js → chunk-HGULM6DF.js} +2 -2
- package/dist/{chunk-KBYZLKI4.js → chunk-HKDFWQ6Q.js} +15 -12
- package/dist/{chunk-Z4OJNCER.js → chunk-HNUA6XIW.js} +2 -2
- package/dist/{chunk-VBJFCAKU.js → chunk-HY3CV5V6.js} +2 -2
- package/dist/{chunk-LN3OHONN.js → chunk-J24X54DB.js} +2 -2
- package/dist/{chunk-GU4T2RAQ.js → chunk-KCYUY2AI.js} +6 -1
- package/dist/{chunk-Z6DBHMEN.js → chunk-KHHMQM2L.js} +1 -1
- package/dist/{chunk-KLVTWJ4M.js → chunk-KYPPQGGE.js} +2 -2
- package/dist/{chunk-XZYRXNWO.js → chunk-L56WFGUN.js} +1 -1
- package/dist/{chunk-UEFWVPQ7.js → chunk-LBXPX3XC.js} +3 -3
- package/dist/{chunk-XRCERDBF.js → chunk-LFATSJPO.js} +1 -1
- package/dist/{chunk-YA53AXGM.js → chunk-M73MP4NC.js} +4 -4
- package/dist/{chunk-BJFFCELF.js → chunk-MNYDJXTM.js} +1 -1
- package/dist/{chunk-72Q2T2FK.js → chunk-MWX5JCOM.js} +8 -7
- package/dist/{chunk-L5SVR7FK.js → chunk-MXGDKEU5.js} +1 -1
- package/dist/{chunk-Y3I3LXKW.js → chunk-N23OD7WS.js} +1 -1
- package/dist/{chunk-V2MYKK5U.js → chunk-N57BOIPU.js} +1 -1
- package/dist/{chunk-52ZAPY3Z.js → chunk-NEN6KWAJ.js} +2 -2
- package/dist/{chunk-7AMAENN3.js → chunk-NHAOR25V.js} +2 -2
- package/dist/{chunk-WIDZXOML.js → chunk-NRJ7F7JW.js} +2 -2
- package/dist/{chunk-NNCIV74Y.js → chunk-O5YFLNSQ.js} +67 -57
- package/dist/{chunk-UQITHKTH.js → chunk-OB4NOV4M.js} +6 -15
- package/dist/{chunk-GIU72QEP.js → chunk-OG4WH7IW.js} +2 -2
- package/dist/{chunk-NHHZHVP6.js → chunk-ORI7UXS6.js} +2 -2
- package/dist/{chunk-CMLDMKSO.js → chunk-PIZ7FN3L.js} +11 -3
- package/dist/{chunk-K7BVNZS6.js → chunk-R46PKJUT.js} +2 -2
- package/dist/{chunk-CQFXSD2L.js → chunk-RE3AYHPM.js} +2 -2
- package/dist/{chunk-YWWUOGJA.js → chunk-SESTTUVM.js} +10 -2
- package/dist/{chunk-6AZBAS4D.js → chunk-SJQG3RCN.js} +3 -3
- package/dist/{chunk-N3XQFZPF.js → chunk-SOJ4TLWP.js} +2 -2
- package/dist/{chunk-IXWGJ4W7.js → chunk-SPIVEW2Y.js} +23 -5
- package/dist/{chunk-X3S5LZQO.js → chunk-UEEYZGM3.js} +4 -3
- package/dist/{chunk-OCEPZGFS.js → chunk-V7EPLR3E.js} +2 -2
- package/dist/{chunk-LWIWYLZL.js → chunk-VGM5UQRA.js} +1 -0
- package/dist/{chunk-J3JN6OWV.js → chunk-W576GZBG.js} +2 -2
- package/dist/{chunk-JRWXFXQ7.js → chunk-WIQ2HBJG.js} +3 -3
- package/dist/{chunk-CPZJNHAL.js → chunk-X3YEY2PY.js} +2 -2
- package/dist/{chunk-IBOTFRZP.js → chunk-X4DGVTMC.js} +2 -2
- package/dist/{chunk-QZBAACYC.js → chunk-XB3HXEZB.js} +2 -2
- package/dist/{chunk-FSCMVYXU.js → chunk-XBHUWCBD.js} +1 -1
- package/dist/{chunk-CQ7HSDCL.js → chunk-XCANTVXS.js} +1 -1
- package/dist/{chunk-YXFG3M2D.js → chunk-XLA2CNCW.js} +2 -2
- package/dist/{chunk-ENFPDBSU.js → chunk-Y3FXVIJO.js} +12 -3
- package/dist/{chunk-3UZVMGC6.js → chunk-Y6NK6GBB.js} +1 -1
- package/dist/chunk-YGRTRAWX.js +163 -0
- package/dist/{chunk-YBZWO4ZV.js → chunk-ZMC7BKLT.js} +2 -3
- package/dist/{chunk-OPAARXKJ.js → chunk-ZXYKF4A2.js} +7 -7
- package/dist/{collection-add-products-K4R67OLS.js → collection-add-products-IRYJ6U6P.js} +4 -4
- package/dist/{collection-detail-4ATHIFVS.js → collection-detail-263PM4DL.js} +7 -7
- package/dist/{collection-list-OFZNSMTS.js → collection-list-IVPTNBSI.js} +7 -7
- package/dist/{commission-rate-create-US6HFJ5L.js → commission-rate-create-3N6BHEGT.js} +5 -5
- package/dist/{commission-rate-detail-D5WUXKER.js → commission-rate-detail-MY3F2RHR.js} +3 -3
- package/dist/{commission-rate-edit-VA6VE2H4.js → commission-rate-edit-WZDPXLLZ.js} +5 -5
- package/dist/{commission-rate-list-TFMQC26F.js → commission-rate-list-JPBOTOTA.js} +7 -7
- package/dist/{customer-detail-5UW56MGD.js → customer-detail-2QBJPF7S.js} +7 -7
- package/dist/{customer-group-add-customers-YSFEUI5M.js → customer-group-add-customers-JCLAH45C.js} +4 -4
- package/dist/{customer-group-detail-NL7FAEBO.js → customer-group-detail-BDKFWKTI.js} +7 -7
- package/dist/{customer-group-list-T53DLWPQ.js → customer-group-list-3NEEJXQH.js} +7 -7
- package/dist/{customer-list-LHGKF34F.js → customer-list-ZIFNZXO4.js} +7 -7
- package/dist/{customers-add-customer-group-IWFFLQQQ.js → customers-add-customer-group-OQIFQZBL.js} +4 -4
- package/dist/{edit-rules-BRXIELG2.js → edit-rules-4AHZQGCX.js} +29 -23
- package/dist/index.js +160 -160
- package/dist/{inventory-create-3GAK5IYZ.js → inventory-create-P26OGAHD.js} +2 -2
- package/dist/{inventory-detail-RU37UA2Y.js → inventory-detail-7W7UUWNT.js} +7 -7
- package/dist/{inventory-list-3H3J7IOB.js → inventory-list-PA4B4RWY.js} +7 -7
- package/dist/{inventory-stock-JZNONQAL.js → inventory-stock-UZSYXXPX.js} +2 -2
- package/dist/{location-detail-QHF23BXP.js → location-detail-RUC2ZP3K.js} +3 -3
- package/dist/{location-fulfillment-providers-OQTYP6C7.js → location-fulfillment-providers-WDET6TJP.js} +7 -9
- package/dist/{location-list-XGFUQY7T.js → location-list-R7EECG5Z.js} +4 -4
- package/dist/{location-sales-channels-IRGVGAVC.js → location-sales-channels-IS6E3I4S.js} +1 -1
- package/dist/{location-service-zone-create-URK3O2H4.js → location-service-zone-create-HAQVVTKP.js} +5 -5
- package/dist/{location-service-zone-manage-areas-DO3XK6TU.js → location-service-zone-manage-areas-5LCENMAM.js} +5 -5
- package/dist/{location-service-zone-shipping-option-create-OOU6YVRS.js → location-service-zone-shipping-option-create-FV5Y2PNB.js} +3 -3
- package/dist/{location-service-zone-shipping-option-pricing-MZHMML32.js → location-service-zone-shipping-option-pricing-6QHLZ6IN.js} +2 -2
- package/dist/{manage-locations-BA7VMY3Q.js → manage-locations-TU5HCIKG.js} +34 -31
- package/dist/{marketplace-add-currencies-BIN4YT3V.js → marketplace-add-currencies-PB73MHM6.js} +4 -4
- package/dist/{marketplace-detail-AXO5YXED.js → marketplace-detail-3KFGJWQ7.js} +7 -7
- package/dist/{order-allocate-items-A365NKBM.js → order-allocate-items-2B6T5JCK.js} +6 -2
- package/dist/{order-create-claim-PLC342V5.js → order-create-claim-R2SX6YUS.js} +83 -49
- package/dist/{order-create-edit-25CJG3KZ.js → order-create-edit-G35PDCQ2.js} +12 -8
- package/dist/{order-create-exchange-TK65KBGW.js → order-create-exchange-7KKMJHXE.js} +83 -49
- package/dist/{order-create-fulfillment-BB2FCLAH.js → order-create-fulfillment-2FTTWTFE.js} +18 -3
- package/dist/{order-create-refund-LDODI2AP.js → order-create-refund-KWYYLAED.js} +7 -2
- package/dist/{order-create-return-5XDDN456.js → order-create-return-BQFRANNG.js} +32 -14
- package/dist/{order-detail-SFIBIQTI.js → order-detail-BITJD73H.js} +7 -7
- package/dist/{order-edit-billing-address-JNO7KJKW.js → order-edit-billing-address-FLEI4VDB.js} +1 -1
- package/dist/{order-list-IDKVSUYO.js → order-list-D2SJOMZ2.js} +7 -7
- package/dist/{order-receive-return-6IU2HGAD.js → order-receive-return-JV3X7YHG.js} +9 -2
- package/dist/pages/index.js +88 -88
- package/dist/{payout-detail-DZFTTDUR.js → payout-detail-JWS2Q4TY.js} +3 -3
- package/dist/{payout-list-75YIMPCS.js → payout-list-PW6BFT4O.js} +7 -7
- package/dist/{price-list-configuration-FEO2XAX5.js → price-list-configuration-N5D5OFXX.js} +6 -6
- package/dist/{price-list-create-6XVOYBM4.js → price-list-create-NQFC2JIJ.js} +8 -8
- package/dist/{price-list-detail-FBY7PWN3.js → price-list-detail-HRVLVBPS.js} +7 -7
- package/dist/{price-list-list-TZIZJJH3.js → price-list-list-K4IJFZYH.js} +7 -7
- package/dist/{price-list-prices-add-HQHRB3XG.js → price-list-prices-add-WXEGEWRA.js} +7 -7
- package/dist/{price-list-prices-edit-WSLGG7VC.js → price-list-prices-edit-KJEKS6TL.js} +2 -2
- package/dist/{product-create-NT5YV3BN.js → product-create-BDQ66ECX.js} +9 -9
- package/dist/{product-create-option-WDFFZYTE.js → product-create-option-B7SV42LO.js} +1 -1
- package/dist/{product-create-variant-TJB7NNKY.js → product-create-variant-7YAG2YRZ.js} +2 -2
- package/dist/{product-detail-XXA3V6V3.js → product-detail-DCHR4B4T.js} +4 -4
- package/dist/{product-edit-option-UMOGVYLM.js → product-edit-option-KVTIY5NM.js} +1 -1
- package/dist/{product-export-IJBCSQ5H.js → product-export-E7RBOIO6.js} +2 -2
- package/dist/{product-import-JB7S4EL6.js → product-import-KOSPPCSW.js} +1 -1
- package/dist/{product-list-XXSHUGNI.js → product-list-X72QPKOK.js} +7 -7
- package/dist/{product-media-HCM6UI2O.js → product-media-VNSFLCSH.js} +4 -4
- package/dist/{product-organization-63ODFBLM.js → product-organization-PN22LYKQ.js} +1 -1
- package/dist/{product-prices-RLZBWN6C.js → product-prices-HI4SOTMP.js} +1 -1
- package/dist/{product-sales-channels-53YVZ5G5.js → product-sales-channels-J2ZNRKZT.js} +1 -1
- package/dist/{product-shipping-profile-X5CZJCET.js → product-shipping-profile-G7UPGWYK.js} +1 -1
- package/dist/{product-stock-XB3HKT5G.js → product-stock-666D3AMJ.js} +2 -2
- package/dist/{product-tag-detail-2H7EJV5J.js → product-tag-detail-B7JEBNMJ.js} +7 -7
- package/dist/{product-tag-list-6LTEJAI7.js → product-tag-list-MAUUWH25.js} +8 -8
- package/dist/{product-type-detail-LOCLZUCY.js → product-type-detail-7GHH4ACU.js} +7 -7
- package/dist/{product-type-list-7SXDLL6L.js → product-type-list-LTYTTF4F.js} +7 -7
- package/dist/{product-variant-detail-T2OM45NJ.js → product-variant-detail-PHGVJWUV.js} +7 -7
- package/dist/{profile-detail-IWSYAO67.js → profile-detail-UQTGEFYF.js} +3 -3
- package/dist/{promotion-add-campaign-GBB6M2OB.js → promotion-add-campaign-M4OT6URB.js} +2 -2
- package/dist/{promotion-create-4ZEXEV4G.js → promotion-create-GM37OXEW.js} +5 -5
- package/dist/{promotion-detail-TE54RSNT.js → promotion-detail-PDBRQII7.js} +5 -5
- package/dist/{promotion-list-IANWEI3X.js → promotion-list-XW4PNLJF.js} +10 -10
- package/dist/{refund-reason-list-7G23NIRL.js → refund-reason-list-2S2MDKBQ.js} +4 -4
- package/dist/{region-add-countries-TZEP4SML.js → region-add-countries-T4XZ2CU3.js} +4 -4
- package/dist/{region-create-7YJ25C3H.js → region-create-MQXTWBKC.js} +4 -4
- package/dist/{region-detail-KFFPZLZL.js → region-detail-6OFP76OY.js} +7 -7
- package/dist/{region-list-TPQG44BF.js → region-list-EYTDREE2.js} +7 -7
- package/dist/{reservation-detail-X3W6APD5.js → reservation-detail-G26K6HZV.js} +3 -3
- package/dist/{reservation-list-DOW3PKTS.js → reservation-list-CHHR6CEV.js} +7 -7
- package/dist/{reset-password-BQFZL5XM.js → reset-password-S6IBWG47.js} +1 -1
- package/dist/{return-reason-list-J5S45BMZ.js → return-reason-list-MCGW2JV3.js} +7 -7
- package/dist/{sales-channel-add-products-P5AAQFVB.js → sales-channel-add-products-FH7B7UYR.js} +4 -4
- package/dist/{sales-channel-detail-BJCMSTSA.js → sales-channel-detail-KCS472HN.js} +7 -7
- package/dist/{sales-channel-list-QKFVTZ6A.js → sales-channel-list-6HBRUZ2Z.js} +4 -4
- package/dist/{shipping-option-type-detail-OAKOWHU7.js → shipping-option-type-detail-IS7CNAYI.js} +3 -3
- package/dist/{shipping-option-type-list-HRW7XFEQ.js → shipping-option-type-list-BTPCLBSD.js} +7 -7
- package/dist/{shipping-profile-detail-XKLW22RQ.js → shipping-profile-detail-L3IHPGLL.js} +3 -3
- package/dist/{shipping-profiles-list-IT433GKY.js → shipping-profiles-list-2JKVMEZG.js} +7 -7
- package/dist/{store-bulk-edit-HCEEME3D.js → store-bulk-edit-A4ZWZ7HJ.js} +1 -1
- package/dist/{store-details-6NDWU65D.js → store-details-BOGWBWE7.js} +7 -7
- package/dist/{store-edit-U5I6TFKD.js → store-edit-77WKNZUH.js} +3 -3
- package/dist/{store-list-TJXHXAPH.js → store-list-2G34KVD5.js} +7 -7
- package/dist/{tax-region-create-PSQRQ3UC.js → tax-region-create-5DDZ23QQ.js} +1 -1
- package/dist/{tax-region-detail-KCJTJZZI.js → tax-region-detail-VNBNS7FS.js} +6 -6
- package/dist/{tax-region-list-LP6SV4BF.js → tax-region-list-WCHVLVVC.js} +3 -3
- package/dist/{tax-region-province-detail-IQ3IRVIE.js → tax-region-province-detail-MXYZMUX7.js} +6 -6
- package/dist/{tax-region-tax-override-create-2MNB5QSB.js → tax-region-tax-override-create-VIOPM26G.js} +5 -5
- package/dist/{tax-region-tax-override-edit-JCG5D2HY.js → tax-region-tax-override-edit-5FW6YCCW.js} +5 -5
- package/dist/{user-detail-3KQDH6LZ.js → user-detail-LGIMHLY4.js} +3 -3
- package/dist/{user-invite-ZAGFYQDN.js → user-invite-ZZSWFXFM.js} +4 -4
- package/dist/{user-list-7PIKWZQY.js → user-list-5QJJS7EA.js} +7 -7
- package/package.json +2 -2
- package/dist/chunk-NCYTM57J.js +0 -160
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
_DataTable,
|
|
7
7
|
useDataTable
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-KYPPQGGE.js";
|
|
9
9
|
import {
|
|
10
10
|
SingleColumnPage
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-H6MYB7GB.js";
|
|
12
12
|
import {
|
|
13
13
|
ActionMenu
|
|
14
14
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
_DataTable,
|
|
6
6
|
useDataTable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KYPPQGGE.js";
|
|
8
8
|
import {
|
|
9
9
|
SingleColumnPage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-H6MYB7GB.js";
|
|
11
11
|
import {
|
|
12
12
|
ActionMenu
|
|
13
13
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -55,7 +55,12 @@ var CreateCampaignFormFields = ({ form, fieldScope = "" }) => {
|
|
|
55
55
|
} else {
|
|
56
56
|
form.setValue(`campaign.budget.currency_code`, null);
|
|
57
57
|
}
|
|
58
|
-
}, [
|
|
58
|
+
}, [
|
|
59
|
+
promotionCurrencyValue,
|
|
60
|
+
isTypeSpend,
|
|
61
|
+
fieldScope,
|
|
62
|
+
form
|
|
63
|
+
]);
|
|
59
64
|
if (promotionCurrencyValue) {
|
|
60
65
|
const formCampaignBudget = form.getValues().campaign?.budget;
|
|
61
66
|
const formCampaignCurrency = formCampaignBudget?.currency_code;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DataTableSearch
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZMC7BKLT.js";
|
|
4
4
|
import {
|
|
5
5
|
DataTableOrderBy
|
|
6
6
|
} from "./chunk-KAZ5BYTQ.js";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-INNFZYX2.js";
|
|
14
14
|
import {
|
|
15
15
|
DataTableFilter
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HKDFWQ6Q.js";
|
|
17
17
|
|
|
18
18
|
// src/components/table/data-table/data-table.tsx
|
|
19
19
|
import { clx as clx2 } from "@medusajs/ui";
|
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
} from "./chunk-35NDMIYZ.js";
|
|
19
19
|
import {
|
|
20
20
|
TwoColumnPage
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-E74OUNA3.js";
|
|
22
22
|
import {
|
|
23
23
|
useDataTableDateColumns,
|
|
24
24
|
useDataTableDateFilters
|
|
25
25
|
} from "./chunk-54RTJBYO.js";
|
|
26
26
|
import {
|
|
27
27
|
DataTable
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-OB4NOV4M.js";
|
|
29
29
|
import {
|
|
30
30
|
TwoColumnPageSkeleton
|
|
31
31
|
} from "./chunk-INNFZYX2.js";
|
|
@@ -401,7 +401,7 @@ var ProductMediaSection = ({
|
|
|
401
401
|
"img",
|
|
402
402
|
{
|
|
403
403
|
src: i.url,
|
|
404
|
-
alt:
|
|
404
|
+
alt: product.title,
|
|
405
405
|
className: "size-full object-cover",
|
|
406
406
|
"data-testid": `product-media-image-${i.id}`
|
|
407
407
|
}
|
|
@@ -3,24 +3,24 @@ import {
|
|
|
3
3
|
PriceListRulesSchema,
|
|
4
4
|
usePriceListCurrencyData,
|
|
5
5
|
usePriceListGridColumns
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3T5S5RDO.js";
|
|
7
7
|
import {
|
|
8
8
|
exctractPricesFromProducts,
|
|
9
9
|
isProductRow
|
|
10
10
|
} from "./chunk-U5MJIHLY.js";
|
|
11
11
|
import {
|
|
12
12
|
PriceListCustomerGroupRuleForm
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-63OSYRLS.js";
|
|
14
14
|
import {
|
|
15
15
|
useProductTableColumns
|
|
16
16
|
} from "./chunk-Z5I2Z6L3.js";
|
|
17
17
|
import {
|
|
18
18
|
_DataTable,
|
|
19
19
|
useDataTable
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-KYPPQGGE.js";
|
|
21
21
|
import {
|
|
22
22
|
DataGrid
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-MWX5JCOM.js";
|
|
24
24
|
import {
|
|
25
25
|
TabbedForm,
|
|
26
26
|
defineTabMeta,
|
|
@@ -984,7 +984,7 @@ var useDataGridClipboardEvents = ({
|
|
|
984
984
|
if (typeof value === "object" && value !== null) {
|
|
985
985
|
return JSON.stringify(value);
|
|
986
986
|
}
|
|
987
|
-
return
|
|
987
|
+
return value == null ? "" : `${value}`;
|
|
988
988
|
}).join(" ");
|
|
989
989
|
e.clipboardData?.setData("text/plain", text);
|
|
990
990
|
},
|
|
@@ -1261,7 +1261,7 @@ function convertToggleableNumber(value) {
|
|
|
1261
1261
|
try {
|
|
1262
1262
|
obj = JSON.parse(obj);
|
|
1263
1263
|
} catch (error) {
|
|
1264
|
-
throw new Error(`String "${value}" cannot be converted to object
|
|
1264
|
+
throw new Error(`String "${value}" cannot be converted to object.`, { cause: error });
|
|
1265
1265
|
}
|
|
1266
1266
|
}
|
|
1267
1267
|
return obj;
|
|
@@ -2747,7 +2747,6 @@ var DataGridKeyboardShortcutModal = ({
|
|
|
2747
2747
|
{
|
|
2748
2748
|
type: "search",
|
|
2749
2749
|
value: searchValue,
|
|
2750
|
-
autoFocus: true,
|
|
2751
2750
|
onChange: (e) => onSearchValueChange(e.target.value)
|
|
2752
2751
|
}
|
|
2753
2752
|
) })
|
|
@@ -2921,10 +2920,13 @@ var DataGridRoot = ({
|
|
|
2921
2920
|
}, 100);
|
|
2922
2921
|
return () => {
|
|
2923
2922
|
clearTimeout(timeoutId);
|
|
2924
|
-
|
|
2925
|
-
scrollElement?.removeEventListener("scroll", handleScroll);
|
|
2923
|
+
container.removeEventListener("scroll", handleScroll);
|
|
2926
2924
|
};
|
|
2927
|
-
}, [
|
|
2925
|
+
}, [
|
|
2926
|
+
isLazyMode,
|
|
2927
|
+
hasData,
|
|
2928
|
+
handleScroll
|
|
2929
|
+
]);
|
|
2928
2930
|
const columnVirtualizer = useVirtualizer({
|
|
2929
2931
|
count: visibleColumns.length,
|
|
2930
2932
|
estimateSize: (index) => visibleColumns[index].getSize(),
|
|
@@ -3227,7 +3229,6 @@ var DataGridRoot = ({
|
|
|
3227
3229
|
"div",
|
|
3228
3230
|
{
|
|
3229
3231
|
ref: containerRef,
|
|
3230
|
-
autoFocus: true,
|
|
3231
3232
|
tabIndex: 0,
|
|
3232
3233
|
className: "relative h-full select-none overflow-auto outline-none",
|
|
3233
3234
|
onFocus: handleRestoreGridFocus,
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
TaxOverrideTable,
|
|
3
3
|
TaxRateLine,
|
|
4
4
|
useTaxOverrideTable
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LFATSJPO.js";
|
|
6
6
|
import {
|
|
7
7
|
TaxRegionTable,
|
|
8
8
|
useTaxRegionTable
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-VW56KWO2.js";
|
|
19
19
|
import {
|
|
20
20
|
SingleColumnPage
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-H6MYB7GB.js";
|
|
22
22
|
import {
|
|
23
23
|
SingleColumnPageSkeleton
|
|
24
24
|
} from "./chunk-INNFZYX2.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
_DataTable,
|
|
21
21
|
useDataTable
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KYPPQGGE.js";
|
|
23
23
|
import {
|
|
24
24
|
useShippingOptionTableFilters
|
|
25
25
|
} from "./chunk-KOURHC2N.js";
|
|
@@ -549,7 +549,7 @@ var useCleanupSearchParams = (prefix) => {
|
|
|
549
549
|
return next;
|
|
550
550
|
});
|
|
551
551
|
};
|
|
552
|
-
}, [prefix]);
|
|
552
|
+
}, [prefix, setSearchParams]);
|
|
553
553
|
};
|
|
554
554
|
|
|
555
555
|
// src/pages/tax-regions/common/components/target-item/target-item.tsx
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
_DataTable,
|
|
9
9
|
useDataTable
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-KYPPQGGE.js";
|
|
11
11
|
import {
|
|
12
12
|
SingleColumnPage
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-H6MYB7GB.js";
|
|
14
14
|
import {
|
|
15
15
|
SingleColumnPageSkeleton
|
|
16
16
|
} from "./chunk-INNFZYX2.js";
|
|
@@ -73,14 +73,14 @@ import {
|
|
|
73
73
|
} from "./chunk-W6Y3PPU5.js";
|
|
74
74
|
import {
|
|
75
75
|
TwoColumnPage
|
|
76
|
-
} from "./chunk-
|
|
76
|
+
} from "./chunk-E74OUNA3.js";
|
|
77
77
|
import {
|
|
78
78
|
Thumbnail
|
|
79
79
|
} from "./chunk-WIYFXWRI.js";
|
|
80
80
|
import {
|
|
81
81
|
_DataTable,
|
|
82
82
|
useDataTable
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-KYPPQGGE.js";
|
|
84
84
|
import {
|
|
85
85
|
Skeleton,
|
|
86
86
|
TwoColumnPageSkeleton
|
|
@@ -362,7 +362,7 @@ var OrderActiveEditSection = ({
|
|
|
362
362
|
}
|
|
363
363
|
});
|
|
364
364
|
return [added, removed];
|
|
365
|
-
}, [orderPreview]);
|
|
365
|
+
}, [orderPreview, order.items]);
|
|
366
366
|
const onConfirmOrderEdit = async () => {
|
|
367
367
|
try {
|
|
368
368
|
await confirmOrderEdit();
|
|
@@ -702,7 +702,7 @@ var useActivityItems = (order) => {
|
|
|
702
702
|
fields: "*additional_items"
|
|
703
703
|
});
|
|
704
704
|
const payments = getPaymentsFromOrder(order);
|
|
705
|
-
const
|
|
705
|
+
const _notes = [];
|
|
706
706
|
const isLoading = false;
|
|
707
707
|
return useMemo2(() => {
|
|
708
708
|
if (isLoading) {
|
|
@@ -985,9 +985,10 @@ var useActivityItems = (order) => {
|
|
|
985
985
|
returns,
|
|
986
986
|
exchanges,
|
|
987
987
|
orderChanges,
|
|
988
|
-
notes,
|
|
989
988
|
isLoading,
|
|
990
|
-
itemsMap
|
|
989
|
+
itemsMap,
|
|
990
|
+
claims,
|
|
991
|
+
t
|
|
991
992
|
]);
|
|
992
993
|
};
|
|
993
994
|
var OrderActivityItem = ({
|
|
@@ -3115,23 +3116,26 @@ var CostBreakdown = ({
|
|
|
3115
3116
|
/* @__PURE__ */ jsx17(
|
|
3116
3117
|
Cost,
|
|
3117
3118
|
{
|
|
3118
|
-
label:
|
|
3119
|
-
|
|
3120
|
-
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3119
|
+
label: (
|
|
3120
|
+
// oxlint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
|
|
3121
|
+
/* @__PURE__ */ jsxs17(
|
|
3122
|
+
"span",
|
|
3123
|
+
{
|
|
3124
|
+
onClick: () => setIsShippingOpen((o) => !o),
|
|
3125
|
+
className: "flex cursor-pointer items-center gap-1",
|
|
3126
|
+
children: [
|
|
3127
|
+
/* @__PURE__ */ jsx17("span", { children: t("orders.summary.shippingSubtotal") }),
|
|
3128
|
+
/* @__PURE__ */ jsx17(
|
|
3129
|
+
TriangleDownMini,
|
|
3130
|
+
{
|
|
3131
|
+
style: {
|
|
3132
|
+
transform: `rotate(${isShippingOpen ? 0 : -90}deg)`
|
|
3133
|
+
}
|
|
3130
3134
|
}
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
+
)
|
|
3136
|
+
]
|
|
3137
|
+
}
|
|
3138
|
+
)
|
|
3135
3139
|
),
|
|
3136
3140
|
value: getLocaleAmount(order.shipping_subtotal, order.currency_code)
|
|
3137
3141
|
}
|
|
@@ -3263,26 +3267,29 @@ var DiscountAndTotalBreakdown = ({
|
|
|
3263
3267
|
/* @__PURE__ */ jsx17(
|
|
3264
3268
|
Cost,
|
|
3265
3269
|
{
|
|
3266
|
-
label:
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3270
|
+
label: (
|
|
3271
|
+
// oxlint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
|
|
3272
|
+
/* @__PURE__ */ jsxs17(
|
|
3273
|
+
"span",
|
|
3274
|
+
{
|
|
3275
|
+
onClick: () => hasDiscount && setIsDiscountOpen((o) => !o),
|
|
3276
|
+
className: clx3("flex items-center gap-1", {
|
|
3277
|
+
"cursor-pointer": hasDiscount
|
|
3278
|
+
}),
|
|
3279
|
+
"data-testid": "order-summary-discount-toggle",
|
|
3280
|
+
children: [
|
|
3281
|
+
/* @__PURE__ */ jsx17("span", { children: t("orders.summary.discountTotal") }),
|
|
3282
|
+
hasDiscount && /* @__PURE__ */ jsx17(
|
|
3283
|
+
TriangleDownMini,
|
|
3284
|
+
{
|
|
3285
|
+
style: {
|
|
3286
|
+
transform: `rotate(${isDiscountOpen ? 0 : -90}deg)`
|
|
3287
|
+
}
|
|
3281
3288
|
}
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3289
|
+
)
|
|
3290
|
+
]
|
|
3291
|
+
}
|
|
3292
|
+
)
|
|
3286
3293
|
),
|
|
3287
3294
|
value: getLocaleAmount(order.discount_total, order.currency_code)
|
|
3288
3295
|
}
|
|
@@ -3312,23 +3319,26 @@ var DiscountAndTotalBreakdown = ({
|
|
|
3312
3319
|
/* @__PURE__ */ jsx17(
|
|
3313
3320
|
Cost,
|
|
3314
3321
|
{
|
|
3315
|
-
label:
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
|
|
3319
|
-
|
|
3320
|
-
|
|
3321
|
-
|
|
3322
|
-
|
|
3323
|
-
|
|
3324
|
-
|
|
3325
|
-
|
|
3326
|
-
|
|
3322
|
+
label: (
|
|
3323
|
+
// oxlint-disable-next-line jsx-a11y/click-events-have-key-events, jsx-a11y/no-static-element-interactions
|
|
3324
|
+
/* @__PURE__ */ jsxs17(
|
|
3325
|
+
"span",
|
|
3326
|
+
{
|
|
3327
|
+
onClick: () => setIsCreditLinesOpen((o) => !o),
|
|
3328
|
+
className: "flex cursor-pointer items-center gap-1",
|
|
3329
|
+
children: [
|
|
3330
|
+
/* @__PURE__ */ jsx17("span", { children: t("orders.creditLines.title") }),
|
|
3331
|
+
/* @__PURE__ */ jsx17(
|
|
3332
|
+
TriangleDownMini,
|
|
3333
|
+
{
|
|
3334
|
+
style: {
|
|
3335
|
+
transform: `rotate(${isCreditLinesOpen ? 0 : -90}deg)`
|
|
3336
|
+
}
|
|
3327
3337
|
}
|
|
3328
|
-
|
|
3329
|
-
|
|
3330
|
-
|
|
3331
|
-
|
|
3338
|
+
)
|
|
3339
|
+
]
|
|
3340
|
+
}
|
|
3341
|
+
)
|
|
3332
3342
|
),
|
|
3333
3343
|
value: getLocaleAmount(
|
|
3334
3344
|
order.credit_line_total,
|
|
@@ -29,7 +29,7 @@ var DataTable = ({
|
|
|
29
29
|
rowCount = 0,
|
|
30
30
|
enablePagination = true,
|
|
31
31
|
enableSearch = true,
|
|
32
|
-
autoFocusSearch = false,
|
|
32
|
+
autoFocusSearch: _autoFocusSearch = false,
|
|
33
33
|
enableFilterMenu,
|
|
34
34
|
rowHref,
|
|
35
35
|
heading,
|
|
@@ -46,9 +46,9 @@ var DataTable = ({
|
|
|
46
46
|
onColumnVisibilityChange,
|
|
47
47
|
columnOrder,
|
|
48
48
|
onColumnOrderChange,
|
|
49
|
-
enableViewSelector = false,
|
|
50
|
-
entity,
|
|
51
|
-
currentColumns,
|
|
49
|
+
enableViewSelector: _enableViewSelector = false,
|
|
50
|
+
entity: _entity,
|
|
51
|
+
currentColumns: _currentColumns,
|
|
52
52
|
filterBarContent
|
|
53
53
|
}) => {
|
|
54
54
|
const { t } = useTranslation();
|
|
@@ -66,7 +66,7 @@ var DataTable = ({
|
|
|
66
66
|
if (hasChanged) {
|
|
67
67
|
setColumnVisibility(initialColumnVisibility);
|
|
68
68
|
}
|
|
69
|
-
}, [initialColumnVisibility]);
|
|
69
|
+
}, [initialColumnVisibility, columnVisibility]);
|
|
70
70
|
const handleColumnVisibilityChange = React.useCallback(
|
|
71
71
|
(visibility) => {
|
|
72
72
|
setColumnVisibility(visibility);
|
|
@@ -143,14 +143,6 @@ var DataTable = ({
|
|
|
143
143
|
const sorting = useMemo(() => {
|
|
144
144
|
return order ? parseSortingState(order) : null;
|
|
145
145
|
}, [order]);
|
|
146
|
-
const currentConfiguration = useMemo(
|
|
147
|
-
() => ({
|
|
148
|
-
filters: filtering,
|
|
149
|
-
sorting,
|
|
150
|
-
search
|
|
151
|
-
}),
|
|
152
|
-
[filtering, sorting, search]
|
|
153
|
-
);
|
|
154
146
|
const handleSortingChange = (value) => {
|
|
155
147
|
setSearchParams((prev) => {
|
|
156
148
|
if (value) {
|
|
@@ -243,8 +235,7 @@ var DataTable = ({
|
|
|
243
235
|
enableSearch && /* @__PURE__ */ jsx("div", { className: "w-full md:w-auto", children: /* @__PURE__ */ jsx(
|
|
244
236
|
UiDataTable.Search,
|
|
245
237
|
{
|
|
246
|
-
placeholder: t("filters.searchLabel")
|
|
247
|
-
autoFocus: autoFocusSearch
|
|
238
|
+
placeholder: t("filters.searchLabel")
|
|
248
239
|
}
|
|
249
240
|
) }),
|
|
250
241
|
actionMenu && /* @__PURE__ */ jsx(ActionMenu, { variant: "primary", ...actionMenu }),
|
|
@@ -18,11 +18,11 @@ import {
|
|
|
18
18
|
} from "./chunk-PHOCVOZ5.js";
|
|
19
19
|
import {
|
|
20
20
|
TwoColumnPage
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-E74OUNA3.js";
|
|
22
22
|
import {
|
|
23
23
|
_DataTable,
|
|
24
24
|
useDataTable
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-KYPPQGGE.js";
|
|
26
26
|
import {
|
|
27
27
|
NoRecords
|
|
28
28
|
} from "./chunk-634XVU3D.js";
|
|
@@ -14,10 +14,10 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
_DataTable,
|
|
16
16
|
useDataTable
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-KYPPQGGE.js";
|
|
18
18
|
import {
|
|
19
19
|
SingleColumnPage
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-H6MYB7GB.js";
|
|
21
21
|
import {
|
|
22
22
|
ActionMenu
|
|
23
23
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
ShippingOptionPriceProvider,
|
|
5
5
|
buildShippingOptionPriceRules,
|
|
6
6
|
useShippingOptionPriceColumns
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-CEG375CR.js";
|
|
8
8
|
import {
|
|
9
9
|
CONDITIONAL_PRICES_STACKED_MODAL_ID,
|
|
10
10
|
ShippingOptionPriceType
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
} from "./chunk-VW56KWO2.js";
|
|
15
15
|
import {
|
|
16
16
|
DataGrid
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-MWX5JCOM.js";
|
|
18
18
|
import {
|
|
19
19
|
useComboboxData
|
|
20
20
|
} from "./chunk-AEFDAU3Y.js";
|
|
@@ -406,7 +406,15 @@ var Root2 = ({ type }) => {
|
|
|
406
406
|
});
|
|
407
407
|
}
|
|
408
408
|
}
|
|
409
|
-
}, [
|
|
409
|
+
}, [
|
|
410
|
+
isLoading,
|
|
411
|
+
isPickup,
|
|
412
|
+
currencies.length,
|
|
413
|
+
regions.length,
|
|
414
|
+
currencies,
|
|
415
|
+
form,
|
|
416
|
+
regions
|
|
417
|
+
]);
|
|
410
418
|
if (isStoreError) {
|
|
411
419
|
throw storeError;
|
|
412
420
|
}
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
_DataTable,
|
|
6
6
|
useDataTable
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KYPPQGGE.js";
|
|
8
8
|
import {
|
|
9
9
|
SingleColumnPage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-H6MYB7GB.js";
|
|
11
11
|
import {
|
|
12
12
|
SingleColumnPageSkeleton
|
|
13
13
|
} from "./chunk-INNFZYX2.js";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
_DataTable,
|
|
10
10
|
useDataTable
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-KYPPQGGE.js";
|
|
12
12
|
import {
|
|
13
13
|
SingleColumnPage
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-H6MYB7GB.js";
|
|
15
15
|
import {
|
|
16
16
|
ActionMenu
|
|
17
17
|
} from "./chunk-BDGZ4EQO.js";
|
|
@@ -21,7 +21,11 @@ var useSelectedParams = ({
|
|
|
21
21
|
const updateSingleValue = () => {
|
|
22
22
|
newValue.set(identifier, value);
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
if (multiple) {
|
|
25
|
+
updateMultipleValues();
|
|
26
|
+
} else {
|
|
27
|
+
updateSingleValue();
|
|
28
|
+
}
|
|
25
29
|
newValue.delete(offsetKey);
|
|
26
30
|
return newValue;
|
|
27
31
|
});
|
|
@@ -40,7 +44,11 @@ var useSelectedParams = ({
|
|
|
40
44
|
};
|
|
41
45
|
setSearchParams((prev) => {
|
|
42
46
|
if (value) {
|
|
43
|
-
|
|
47
|
+
if (multiple) {
|
|
48
|
+
deleteMultipleValues(prev);
|
|
49
|
+
} else {
|
|
50
|
+
deleteSingleValue(prev);
|
|
51
|
+
}
|
|
44
52
|
if (!prev.get(identifier)) {
|
|
45
53
|
prev.delete(identifier);
|
|
46
54
|
}
|
|
@@ -15,11 +15,11 @@ import {
|
|
|
15
15
|
} from "./chunk-Z5I2Z6L3.js";
|
|
16
16
|
import {
|
|
17
17
|
TwoColumnPage
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-E74OUNA3.js";
|
|
19
19
|
import {
|
|
20
20
|
_DataTable,
|
|
21
21
|
useDataTable
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KYPPQGGE.js";
|
|
23
23
|
import {
|
|
24
24
|
Skeleton,
|
|
25
25
|
TwoColumnPageSkeleton
|
|
@@ -97,7 +97,7 @@ var CustomerGroupDisplay = ({
|
|
|
97
97
|
}) => {
|
|
98
98
|
const { t } = useTranslation();
|
|
99
99
|
const customerGroupIds = priceList.rules["customer.groups.id"];
|
|
100
|
-
const { customer_groups, isPending, isError
|
|
100
|
+
const { customer_groups, isPending, isError } = useCustomerGroups(
|
|
101
101
|
{
|
|
102
102
|
id: customerGroupIds
|
|
103
103
|
},
|