@medusajs/dashboard 2.10.4-snapshot-20250923121159 → 2.10.4-snapshot-20250925172615
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-JOVLXLS4.mjs → add-campaign-promotions-3BB3BLFD.mjs} +7 -6
- package/dist/{adjust-inventory-WBEBMJN7.mjs → adjust-inventory-OIJTAKHP.mjs} +1 -1
- package/dist/{api-key-management-create-VXPZX2Q5.mjs → api-key-management-create-XDQHUNWK.mjs} +3 -3
- package/dist/{api-key-management-detail-I7T67TXF.mjs → api-key-management-detail-MM673US3.mjs} +16 -14
- package/dist/{api-key-management-edit-7CGMSHAY.mjs → api-key-management-edit-2SUSKI7T.mjs} +3 -3
- package/dist/{api-key-management-list-5DI3L4DV.mjs → api-key-management-list-C2WM4PHC.mjs} +8 -7
- package/dist/{api-key-management-sales-channels-6GN6RVZ2.mjs → api-key-management-sales-channels-MVHVMPF6.mjs} +6 -5
- package/dist/app.css +89 -31
- package/dist/app.js +7050 -5968
- package/dist/app.mjs +18 -15
- package/dist/{campaign-budget-edit-OXNTSPGE.mjs → campaign-budget-edit-UWGCET5Z.mjs} +1 -1
- package/dist/{campaign-configuration-Z5HA2DG3.mjs → campaign-configuration-WWCCFNYQ.mjs} +1 -1
- package/dist/{campaign-create-AVBNHFC2.mjs → campaign-create-CQ3XBHSY.mjs} +4 -3
- package/dist/{campaign-detail-NRZHGINV.mjs → campaign-detail-G2VM7CRL.mjs} +23 -21
- package/dist/{campaign-edit-3TDW52BO.mjs → campaign-edit-R43GXNET.mjs} +1 -1
- package/dist/{campaign-list-G4MD3RPU.mjs → campaign-list-CDO5PRTL.mjs} +7 -6
- package/dist/{categories-metadata-GXWJ3HOG.mjs → categories-metadata-M4PAATNV.mjs} +14 -12
- package/dist/{category-create-FOVB5MJ4.mjs → category-create-GMFWRFT7.mjs} +38 -16
- package/dist/{category-detail-ENUI5EFL.mjs → category-detail-MTLPW4MR.mjs} +20 -18
- package/dist/{category-edit-O4ZSANE5.mjs → category-edit-HCHER73V.mjs} +36 -16
- package/dist/{category-list-UI6W5KF5.mjs → category-list-IXW2NWWJ.mjs} +8 -7
- package/dist/{category-organize-BW3YOPUS.mjs → category-organize-LRQKM4LA.mjs} +2 -2
- package/dist/{category-products-ZG5QDWSW.mjs → category-products-DGWKONYE.mjs} +16 -14
- package/dist/{chunk-2HKRIUW4.mjs → chunk-2PGNKUXS.mjs} +1 -1
- package/dist/{chunk-X4X5KUGQ.mjs → chunk-4QUHWHBD.mjs} +3 -0
- package/dist/{chunk-R2NWOCML.mjs → chunk-5FAWKUSU.mjs} +8 -2
- package/dist/chunk-5U3FFMC7.mjs +84 -0
- package/dist/{chunk-YM4QJC6Y.mjs → chunk-7GBCLBMX.mjs} +1 -1
- package/dist/{chunk-JHXKKOHO.mjs → chunk-7JJTWGHU.mjs} +49 -15
- package/dist/{chunk-6AGMMT5H.mjs → chunk-A4GWVZB4.mjs} +4 -4
- package/dist/{chunk-2YP2ZNKR.mjs → chunk-AN5IILM2.mjs} +1 -1
- package/dist/{chunk-YWNHMIEQ.mjs → chunk-AXXGAOQL.mjs} +2 -2
- package/dist/{chunk-2PMSBTXI.mjs → chunk-CD7VQIPA.mjs} +11 -11
- package/dist/{chunk-RVOPC44F.mjs → chunk-CGEJJR5K.mjs} +623 -682
- package/dist/{chunk-J5E7MQSS.mjs → chunk-CY33DS7K.mjs} +6 -0
- package/dist/{chunk-ZJA7VBUR.mjs → chunk-DKOCYXB5.mjs} +34 -1
- package/dist/{chunk-ZCZL3STK.mjs → chunk-EA5GGT2Q.mjs} +1 -1
- package/dist/{chunk-OGHQ6VJI.mjs → chunk-EILZIUOP.mjs} +1 -6
- package/dist/{chunk-7VJK6HNE.mjs → chunk-EYL2JACT.mjs} +4 -4
- package/dist/{chunk-BFNH5UWD.mjs → chunk-EYTETK3W.mjs} +1 -1
- package/dist/{chunk-74K7HGNI.mjs → chunk-FXG2Z3QT.mjs} +3 -2
- package/dist/{chunk-SMHXCFRS.mjs → chunk-G3VGLFVH.mjs} +54 -41
- package/dist/{chunk-2RQLKDBF.mjs → chunk-GIZFNLKK.mjs} +103 -96
- package/dist/{chunk-NRBOPOMS.mjs → chunk-HOERC634.mjs} +1 -1
- package/dist/{chunk-AOFGTNG6.mjs → chunk-HQKGZADC.mjs} +6 -1
- package/dist/{chunk-LBIOZZPA.mjs → chunk-HWKLNKOY.mjs} +1 -1
- package/dist/{chunk-Y4YXZY7R.mjs → chunk-I2QEZTVU.mjs} +2 -2
- package/dist/{chunk-S2UEWRDA.mjs → chunk-IL5IMREK.mjs} +59 -49
- package/dist/{chunk-JIQQKKLO.mjs → chunk-IP2QPPWC.mjs} +1 -1
- package/dist/{chunk-SCBXRJPV.mjs → chunk-IRO6DO7J.mjs} +1 -1
- package/dist/{chunk-YI4CZGTU.mjs → chunk-ITJEYJNB.mjs} +1 -1
- package/dist/{chunk-T7G2CURS.mjs → chunk-IVZ6BMDB.mjs} +1 -0
- package/dist/{chunk-5WKYR6PY.mjs → chunk-IXMPYDY2.mjs} +1 -1
- package/dist/{chunk-XGJ5DXXG.mjs → chunk-K2HM7KXJ.mjs} +12 -12
- package/dist/{chunk-OKMF4YI7.mjs → chunk-K3OMOMRB.mjs} +25 -0
- package/dist/{chunk-2LPGQWPV.mjs → chunk-KTL6E2WT.mjs} +1 -1
- package/dist/{chunk-OHSRRFGN.mjs → chunk-LKVQ5YC6.mjs} +1 -1
- package/dist/{chunk-QGCKTVQX.mjs → chunk-LMRZMI7O.mjs} +1 -1
- package/dist/{chunk-OLUNPPBR.mjs → chunk-MAKOUE5W.mjs} +1 -1
- package/dist/{chunk-Q5DI5VYN.mjs → chunk-MLNUGLGT.mjs} +1 -1
- package/dist/{chunk-5M5ZVAWU.mjs → chunk-MSOFJHH3.mjs} +2 -2
- package/dist/{chunk-JMQ6V54O.mjs → chunk-NFQXNOP7.mjs} +1 -1
- package/dist/{chunk-UWJBDOQD.mjs → chunk-NKVMOKZA.mjs} +41 -29
- package/dist/{chunk-NCR5UWRI.mjs → chunk-NY6I2FYO.mjs} +1 -1
- package/dist/{chunk-3NJTXRIY.mjs → chunk-OZPB6JBL.mjs} +5 -1
- package/dist/{chunk-FPJBF7VS.mjs → chunk-P2O6XTD4.mjs} +1 -1
- package/dist/{chunk-EFA7S5L3.mjs → chunk-PGTXMCSV.mjs} +1 -1
- package/dist/{chunk-D7H6ZNK4.mjs → chunk-PRLQLEEQ.mjs} +2 -0
- package/dist/{chunk-ZODJNBAV.mjs → chunk-R2G2B47Y.mjs} +1 -0
- package/dist/{chunk-HUX22ZHT.mjs → chunk-RF75BZNF.mjs} +3 -3
- package/dist/{chunk-4RG7UJCT.mjs → chunk-RGP3IXX4.mjs} +1 -1
- package/dist/chunk-S4DMV3ZT.mjs +35 -0
- package/dist/{chunk-5NQ3X2JI.mjs → chunk-SNDSWB6B.mjs} +1 -1
- package/dist/{chunk-EE7SOCEQ.mjs → chunk-SQFZWNYA.mjs} +4 -4
- package/dist/{chunk-O74UDEWT.mjs → chunk-TKZK3YPU.mjs} +1 -1
- package/dist/{chunk-KSRI5LOF.mjs → chunk-U25RCIX2.mjs} +2 -2
- package/dist/{chunk-BHZAQZYP.mjs → chunk-U4R5MBF2.mjs} +1 -1
- package/dist/{chunk-CK3VFTZM.mjs → chunk-UKX2FFFV.mjs} +2 -2
- package/dist/{chunk-37UXEJF2.mjs → chunk-V6JXTITD.mjs} +1 -1
- package/dist/chunk-VLOA5XAC.mjs +113 -0
- package/dist/{chunk-4Q4LIFFO.mjs → chunk-XP3BY6G6.mjs} +1 -1
- package/dist/{chunk-6IZUCU7K.mjs → chunk-YSFTQA6Y.mjs} +2 -2
- package/dist/{chunk-XKXNQ2KV.mjs → chunk-ZCARHA6C.mjs} +1 -1
- package/dist/{chunk-RMEITCLS.mjs → chunk-ZSDEVTFT.mjs} +1 -1
- package/dist/{collection-add-products-2ISNNIHD.mjs → collection-add-products-KEB3ESAK.mjs} +16 -14
- package/dist/{collection-create-75ZI5NDG.mjs → collection-create-PTOF33H2.mjs} +2 -2
- package/dist/{collection-detail-OSX6NHNQ.mjs → collection-detail-V24IDEZQ.mjs} +18 -16
- package/dist/{collection-edit-RD6BDDDI.mjs → collection-edit-WM57WXJ2.mjs} +2 -2
- package/dist/{collection-list-MPIYSHQJ.mjs → collection-list-GD2IJYOP.mjs} +20 -18
- package/dist/{collection-metadata-EOFYXEQI.mjs → collection-metadata-Z2JMXTHW.mjs} +14 -12
- package/dist/{customer-create-address-TPSDYZBN.mjs → customer-create-address-JOYBIPPN.mjs} +1 -1
- package/dist/{customer-detail-FCNRRZSW.mjs → customer-detail-E7LPLLML.mjs} +18 -16
- package/dist/{customer-group-add-customers-ULPWTALS.mjs → customer-group-add-customers-YF2T323Z.mjs} +3 -2
- package/dist/{customer-group-detail-QI3QLJJL.mjs → customer-group-detail-5ZWHOJOD.mjs} +17 -15
- package/dist/{customer-group-list-D26UKQMR.mjs → customer-group-list-N22GDJVL.mjs} +16 -14
- package/dist/{customer-group-metadata-UPAPULMF.mjs → customer-group-metadata-YQCOIVQG.mjs} +2 -1
- package/dist/{customer-list-SINCBCOZ.mjs → customer-list-5IWEXYSW.mjs} +5 -4
- package/dist/{customer-metadata-5NPUMPZ2.mjs → customer-metadata-JZEJBH4V.mjs} +2 -1
- package/dist/{customers-add-customer-group-5TFTVDB6.mjs → customers-add-customer-group-LFEUVS5G.mjs} +15 -13
- package/dist/{edit-inventory-item-ZPE4MMC4.mjs → edit-inventory-item-UV2Z7SYL.mjs} +1 -1
- package/dist/{edit-inventory-item-attributes-KT7BSPZ7.mjs → edit-inventory-item-attributes-BRC3KBYT.mjs} +2 -2
- package/dist/{edit-reservation-EKH4RIAX.mjs → edit-reservation-NYGQBFBO.mjs} +7 -2
- package/dist/{edit-rules-63NG4QVR.mjs → edit-rules-BCGRJ4FJ.mjs} +15 -13
- package/dist/{inventory-create-RIVJFJJQ.mjs → inventory-create-OPYAZF3M.mjs} +20 -14
- package/dist/{inventory-detail-QHL7TJFZ.mjs → inventory-detail-PAVP7J2W.mjs} +26 -18
- package/dist/{inventory-list-YMYF7QVP.mjs → inventory-list-J5VZGQ2M.mjs} +6 -5
- package/dist/{inventory-metadata-FH4CHJBA.mjs → inventory-metadata-PMQLZCHW.mjs} +14 -12
- package/dist/{inventory-stock-D6E4LQRK.mjs → inventory-stock-7QXMAX45.mjs} +15 -13
- package/dist/{location-create-LUP363ZB.mjs → location-create-22H74MFP.mjs} +1 -1
- package/dist/{location-detail-Z6ZDX6RY.mjs → location-detail-IXHZ7DZS.mjs} +15 -13
- package/dist/{location-edit-26K26G23.mjs → location-edit-X6JBEWIF.mjs} +2 -2
- package/dist/{location-fulfillment-providers-45VXZMZI.mjs → location-fulfillment-providers-3KPC4HQT.mjs} +17 -15
- package/dist/{location-list-62KBWY4T.mjs → location-list-VNEYHAKV.mjs} +15 -8
- package/dist/{location-sales-channels-O5XLIPAR.mjs → location-sales-channels-66ZE3ZMI.mjs} +5 -4
- package/dist/{location-service-zone-create-RPFLBVV4.mjs → location-service-zone-create-D5QSFS3M.mjs} +4 -3
- package/dist/{location-service-zone-manage-areas-VEUUGPKF.mjs → location-service-zone-manage-areas-HKCALG4Q.mjs} +4 -3
- package/dist/{location-service-zone-shipping-option-create-NO3665DC.mjs → location-service-zone-shipping-option-create-PVQ66CXW.mjs} +24 -15
- package/dist/{location-service-zone-shipping-option-edit-TMXNX4VX.mjs → location-service-zone-shipping-option-edit-JYM6GHTA.mjs} +40 -28
- package/dist/{location-service-zone-shipping-option-pricing-U2SDK5DE.mjs → location-service-zone-shipping-option-pricing-FLB63UKY.mjs} +3 -2
- package/dist/{login-DSPNELTI.mjs → login-DVYOEF5F.mjs} +12 -11
- package/dist/manage-locations-RPHTPGRE.mjs +247 -0
- package/dist/{order-allocate-items-J3ZHGC22.mjs → order-allocate-items-2RYXQRVK.mjs} +26 -14
- package/dist/{order-create-claim-V63BWLB5.mjs → order-create-claim-FK4LIPAE.mjs} +21 -18
- package/dist/{order-create-edit-NPF4UZ4D.mjs → order-create-edit-VGIWYKBB.mjs} +19 -16
- package/dist/{order-create-exchange-RHIPPSKU.mjs → order-create-exchange-BMRCMN5G.mjs} +21 -18
- package/dist/{order-create-fulfillment-4SSUHQ75.mjs → order-create-fulfillment-NLGPRK4J.mjs} +20 -12
- package/dist/{order-create-refund-QVQC5ZP5.mjs → order-create-refund-TEMK6IEQ.mjs} +51 -14
- package/dist/{order-create-return-GVA6M2RY.mjs → order-create-return-6FHAU3OZ.mjs} +11 -9
- package/dist/{order-create-shipment-TJAARKWA.mjs → order-create-shipment-WCEZXWM6.mjs} +14 -11
- package/dist/{order-detail-2MIN6B2I.mjs → order-detail-QABTBPGX.mjs} +50 -40
- package/dist/{order-edit-billing-address-QP2I5F3E.mjs → order-edit-billing-address-MWF3L6GK.mjs} +13 -12
- package/dist/{order-edit-email-7WT7XTHB.mjs → order-edit-email-UDJOGYPP.mjs} +12 -11
- package/dist/{order-edit-shipping-address-3QFMQP4I.mjs → order-edit-shipping-address-O46U65WM.mjs} +13 -12
- package/dist/{order-list-73DBATIK.mjs → order-list-VDUUHTSU.mjs} +11 -10
- package/dist/{order-metadata-YJS26DHK.mjs → order-metadata-SHCFZWCA.mjs} +14 -12
- package/dist/{order-receive-return-PZMMMUB2.mjs → order-receive-return-MC4DIRK3.mjs} +15 -13
- package/dist/{order-request-transfer-QBIZD36E.mjs → order-request-transfer-MELQKMC4.mjs} +13 -12
- package/dist/{price-list-configuration-435QDWB2.mjs → price-list-configuration-VACKCKJF.mjs} +6 -5
- package/dist/{price-list-create-RXDH5CXF.mjs → price-list-create-TZUDGP2J.mjs} +40 -24
- package/dist/{price-list-detail-PKIKOJ4H.mjs → price-list-detail-DX74DH6G.mjs} +19 -17
- package/dist/{price-list-edit-ZGBOZYSC.mjs → price-list-edit-G73ZIU2Y.mjs} +51 -31
- package/dist/{price-list-list-C6NEB2R4.mjs → price-list-list-QYZSJNF5.mjs} +8 -7
- package/dist/{price-list-prices-add-2CDPUSYA.mjs → price-list-prices-add-IHMS7HIH.mjs} +29 -20
- package/dist/{price-list-prices-edit-ENB4GJZT.mjs → price-list-prices-edit-R53ITSDD.mjs} +5 -4
- package/dist/{product-attributes-FQDJCNUB.mjs → product-attributes-AULEVQ5C.mjs} +20 -17
- package/dist/{product-create-W37RQLON.mjs → product-create-2RPJZR2Q.mjs} +28 -21
- package/dist/{product-create-option-3JR35UZ5.mjs → product-create-option-OW2LMVST.mjs} +1 -1
- package/dist/{product-create-variant-KJKQ6ROY.mjs → product-create-variant-NKU6J7NG.mjs} +32 -18
- package/dist/{product-detail-TANIKAEK.mjs → product-detail-NNTUGXU5.mjs} +22 -19
- package/dist/{product-edit-DO76GHBI.mjs → product-edit-6WRMNGPM.mjs} +42 -28
- package/dist/{product-edit-option-VNDGZ37A.mjs → product-edit-option-OM56DLU6.mjs} +1 -1
- package/dist/{product-export-XERWEI5H.mjs → product-export-W6KP2RGO.mjs} +14 -13
- package/dist/{product-import-AGFJMSVK.mjs → product-import-P76MITMC.mjs} +15 -13
- package/dist/{product-list-KJ3HXPLB.mjs → product-list-7H64APWI.mjs} +20 -18
- package/dist/{product-media-VG4YM2W6.mjs → product-media-TRKQTA4G.mjs} +5 -5
- package/dist/{product-metadata-NZ3HKO67.mjs → product-metadata-2G6DWHWG.mjs} +14 -12
- package/dist/{product-organization-OOVUGXNP.mjs → product-organization-43YS5OUI.mjs} +21 -18
- package/dist/{product-prices-PCBMYYGV.mjs → product-prices-XLY5TUSJ.mjs} +3 -2
- package/dist/{product-sales-channels-QEJRSCAU.mjs → product-sales-channels-KSIHPDJG.mjs} +5 -4
- package/dist/{product-shipping-profile-FFMKOF6B.mjs → product-shipping-profile-SFU2PVR4.mjs} +20 -17
- package/dist/{product-stock-SUVEQZML.mjs → product-stock-GAWLELSE.mjs} +17 -14
- package/dist/{product-tag-create-T6HVAQKN.mjs → product-tag-create-FVU5JRL3.mjs} +12 -11
- package/dist/{product-tag-detail-HOWUZC3P.mjs → product-tag-detail-VMVPWMZK.mjs} +23 -21
- package/dist/{product-tag-edit-WWQDNDRC.mjs → product-tag-edit-OWI3OFVF.mjs} +12 -11
- package/dist/{product-tag-list-FAKSLONF.mjs → product-tag-list-YPIZII2D.mjs} +23 -21
- package/dist/{product-tag-metadata-6B56VEZU.mjs → product-tag-metadata-B4YBSHOH.mjs} +14 -12
- package/dist/{product-type-detail-KN64HYUV.mjs → product-type-detail-243HFRBD.mjs} +18 -16
- package/dist/{product-type-list-6ZIWPIUH.mjs → product-type-list-MJLAGQYC.mjs} +5 -4
- package/dist/{product-type-metadata-F3FTI6OG.mjs → product-type-metadata-4YE4UEOF.mjs} +14 -12
- package/dist/{product-variant-detail-OUHBUY4J.mjs → product-variant-detail-LJE3IFNE.mjs} +17 -15
- package/dist/{product-variant-edit-NBYHDUJ5.mjs → product-variant-edit-IGJIWVQQ.mjs} +18 -13
- package/dist/{product-variant-manage-inventory-items-TM3VAHBJ.mjs → product-variant-manage-inventory-items-2M2KTPNK.mjs} +2 -2
- package/dist/{product-variant-metadata-XDVLJYGQ.mjs → product-variant-metadata-F6BGFMMS.mjs} +14 -12
- package/dist/{profile-detail-ROG22HHL.mjs → profile-detail-XYAQ2G36.mjs} +3 -2
- package/dist/{profile-edit-HSUQIQQH.mjs → profile-edit-7WD4FTRH.mjs} +31 -19
- package/dist/{promotion-add-campaign-7R26KU2U.mjs → promotion-add-campaign-YREHV6TQ.mjs} +9 -21
- package/dist/{promotion-create-UUOG52D5.mjs → promotion-create-YGHBTAFC.mjs} +30 -17
- package/dist/{promotion-detail-GONXLJZ2.mjs → promotion-detail-BIC23HFR.mjs} +17 -15
- package/dist/{promotion-edit-details-HQLYX4X4.mjs → promotion-edit-details-A2UUSAZA.mjs} +10 -2
- package/dist/{promotion-list-NNEMVJ6I.mjs → promotion-list-WDHOSD55.mjs} +9 -8
- package/dist/refund-reason-create-YCWLRRBW.mjs +158 -0
- package/dist/refund-reason-edit-E2HDAQZI.mjs +144 -0
- package/dist/refund-reason-list-7GANH7KL.mjs +246 -0
- package/dist/{region-add-countries-Y4YAHDUZ.mjs → region-add-countries-6GSF4CKJ.mjs} +3 -2
- package/dist/{region-create-5Y3GIQBV.mjs → region-create-AFZTSM3N.mjs} +34 -18
- package/dist/{region-detail-CWRFM6P3.mjs → region-detail-PB7EUSTD.mjs} +5 -4
- package/dist/{region-edit-JWQWCLM3.mjs → region-edit-DSYIUI7W.mjs} +25 -9
- package/dist/{region-list-FQNI7F37.mjs → region-list-52LF5S4S.mjs} +5 -4
- package/dist/{region-metadata-IQVB4ERU.mjs → region-metadata-L5K6YENH.mjs} +14 -12
- package/dist/{reservation-create-7RFXWDXB.mjs → reservation-create-FV7QXGL3.mjs} +3 -3
- package/dist/{reservation-detail-RTGHD35L.mjs → reservation-detail-USDAVGWH.mjs} +16 -14
- package/dist/{reservation-list-UOC7RNRZ.mjs → reservation-list-NOWJUMXV.mjs} +7 -6
- package/dist/{reservation-metadata-WKJXBRLQ.mjs → reservation-metadata-47C6RWYS.mjs} +14 -12
- package/dist/{reset-password-ANJHGYUE.mjs → reset-password-LCVV4NOA.mjs} +1 -1
- package/dist/{return-reason-list-MOP7YWMZ.mjs → return-reason-list-FW7OYUOW.mjs} +8 -7
- package/dist/{sales-channel-add-products-OKVZJ6FI.mjs → sales-channel-add-products-NGPN4IRB.mjs} +16 -14
- package/dist/{sales-channel-create-3MPOMVPD.mjs → sales-channel-create-NODWGJDD.mjs} +4 -2
- package/dist/{sales-channel-detail-WESBK6Q7.mjs → sales-channel-detail-IWWRX2Y3.mjs} +18 -16
- package/dist/{sales-channel-edit-LSLAM7A4.mjs → sales-channel-edit-ALIRERVH.mjs} +4 -2
- package/dist/{sales-channel-list-LKVHXUXW.mjs → sales-channel-list-LCPDOQK3.mjs} +16 -14
- package/dist/{sales-channel-metadata-2OQAHYB4.mjs → sales-channel-metadata-VZ4TINYG.mjs} +14 -12
- package/dist/{shipping-option-type-create-3CGPGDYJ.mjs → shipping-option-type-create-NOMFII5B.mjs} +12 -11
- package/dist/{shipping-option-type-detail-S23H2OGW.mjs → shipping-option-type-detail-6XIJRVZ5.mjs} +16 -14
- package/dist/{shipping-option-type-edit-IHE7XM6M.mjs → shipping-option-type-edit-PEDYL6JQ.mjs} +12 -11
- package/dist/{shipping-option-type-list-47GRJ6EC.mjs → shipping-option-type-list-GI5GBLIS.mjs} +18 -16
- package/dist/{shipping-profile-detail-FDUPDSH4.mjs → shipping-profile-detail-FS46IJZP.mjs} +3 -2
- package/dist/{shipping-profile-metadata-OXWOXAAR.mjs → shipping-profile-metadata-ZOR7MQFF.mjs} +14 -12
- package/dist/{shipping-profiles-list-ZHJEUIKJ.mjs → shipping-profiles-list-QFOG5IDH.mjs} +5 -4
- package/dist/{store-add-currencies-R26SVHT5.mjs → store-add-currencies-W4MWOALR.mjs} +5 -2
- package/dist/{store-detail-4K7TW2TP.mjs → store-detail-MZAKRCTC.mjs} +17 -15
- package/dist/{store-edit-EU55TNFU.mjs → store-edit-3DU5MC25.mjs} +24 -12
- package/dist/{store-metadata-JP2CI7EF.mjs → store-metadata-GO4TXB3W.mjs} +14 -12
- package/dist/{tax-region-create-IWM4755I.mjs → tax-region-create-KDCNQGPC.mjs} +15 -14
- package/dist/{tax-region-detail-V2F2DONN.mjs → tax-region-detail-O6U6ZVDB.mjs} +19 -17
- package/dist/{tax-region-edit-CJPMYTBF.mjs → tax-region-edit-T4B5DM55.mjs} +13 -12
- package/dist/{tax-region-list-NMM3LBPN.mjs → tax-region-list-SQQE2GUU.mjs} +6 -5
- package/dist/{tax-region-province-create-GIIU2G7K.mjs → tax-region-province-create-SBRFGWN3.mjs} +2 -2
- package/dist/{tax-region-province-detail-4PUQ5ADW.mjs → tax-region-province-detail-XH45ZAOJ.mjs} +18 -16
- package/dist/{tax-region-tax-override-create-3SCIOK4P.mjs → tax-region-tax-override-create-MSL7HEM6.mjs} +26 -20
- package/dist/{tax-region-tax-override-edit-P3QJKET3.mjs → tax-region-tax-override-edit-AO6CYS62.mjs} +26 -20
- package/dist/{tax-region-tax-rate-create-Z43M3JTQ.mjs → tax-region-tax-rate-create-JIV5FXUD.mjs} +1 -1
- package/dist/{tax-region-tax-rate-edit-RBF5D2MK.mjs → tax-region-tax-rate-edit-WU2ZQLZQ.mjs} +1 -1
- package/dist/{user-detail-VIVFFLOW.mjs → user-detail-ZFW3YF3M.mjs} +4 -3
- package/dist/{user-invite-W26LOOW7.mjs → user-invite-KUH4AI2L.mjs} +4 -3
- package/dist/{user-list-MKJLB5CQ.mjs → user-list-G4H2RSDX.mjs} +4 -3
- package/dist/{user-metadata-ZURLDLGC.mjs → user-metadata-2CR2AK3U.mjs} +14 -12
- package/dist/{workflow-execution-detail-4R6AFFHV.mjs → workflow-execution-detail-ZD7OVL4W.mjs} +18 -13
- package/dist/{workflow-execution-list-5J3DQQRD.mjs → workflow-execution-list-5WL4L464.mjs} +4 -3
- package/package.json +9 -9
- package/src/components/common/action-menu/action-menu.tsx +3 -1
- package/src/components/common/customer-info/customer-info.tsx +1 -1
- package/src/components/common/json-view-section/json-view-section.tsx +4 -1
- package/src/components/common/sidebar-link/sidebar-link.tsx +1 -1
- package/src/components/common/switch-box/switch-box.tsx +2 -0
- package/src/components/data-grid/components/data-grid-root.tsx +9 -3
- package/src/components/data-grid/components/data-grid-toggleable-number-cell.tsx +2 -1
- package/src/components/filtering/filter-group/filter-group.tsx +5 -1
- package/src/components/filtering/order-by/order-by.tsx +4 -1
- package/src/components/forms/address-form/address-form.tsx +7 -2
- package/src/components/forms/metadata-form/metadata-form.tsx +6 -3
- package/src/components/inputs/combobox/combobox.tsx +11 -11
- package/src/components/inputs/country-select/country-select.tsx +1 -1
- package/src/components/inputs/province-select/province-select.tsx +1 -1
- package/src/components/layout/main-layout/main-layout.tsx +7 -5
- package/src/components/layout/settings-layout/settings-layout.tsx +4 -0
- package/src/components/layout/shell/shell.tsx +6 -6
- package/src/components/layout/user-menu/user-menu.tsx +12 -10
- package/src/components/search/search.tsx +5 -3
- package/src/components/table/data-table/data-table-order-by/data-table-order-by.tsx +4 -1
- package/src/components/table/data-table/data-table-root/data-table-root.tsx +3 -3
- package/src/dashboard-app/forms/form-extension-zone/form-extension-zone.tsx +1 -1
- package/src/dashboard-app/routes/get-route.map.tsx +36 -0
- package/src/hooks/api/campaigns.tsx +1 -0
- package/src/hooks/api/inventory.tsx +3 -0
- package/src/hooks/api/refund-reasons.tsx +105 -10
- package/src/hooks/table/columns/index.ts +1 -0
- package/src/hooks/table/columns/use-refund-reason-table-columns.tsx +32 -0
- package/src/hooks/table/query/index.ts +1 -0
- package/src/hooks/table/query/use-refund-reason-table-query.tsx +32 -0
- package/src/hooks/use-document-direction.tsx +54 -0
- package/src/i18n/translations/$schema.json +118 -0
- package/src/i18n/translations/en.json +34 -1
- package/src/providers/i18n-provider/i18n-provider.tsx +9 -4
- package/src/routes/campaigns/campaign-detail/components/campaign-budget/campaign-budget.tsx +3 -3
- package/src/routes/campaigns/common/components/create-campaign-form-fields/create-campaign-form-fields.tsx +4 -1
- package/src/routes/categories/category-create/components/create-category-form/create-category-details.tsx +12 -3
- package/src/routes/categories/category-create/components/create-category-form/create-category-form.tsx +4 -3
- package/src/routes/categories/category-detail/components/category-organize-section/category-organize-section.tsx +1 -1
- package/src/routes/categories/category-edit/components/edit-category-form/edit-category-form.tsx +12 -3
- package/src/routes/inventory/inventory-create/components/inventory-create-form/inventory-create-form.tsx +3 -1
- package/src/routes/inventory/inventory-detail/components/inventory-item-variants/variants-section.tsx +1 -1
- package/src/routes/inventory/inventory-detail/components/location-levels-table/use-location-list-table-columns.tsx +7 -0
- package/src/routes/inventory/inventory-detail/components/manage-locations/components/location-item.tsx +2 -2
- package/src/routes/inventory/inventory-detail/components/manage-locations/components/location-search-input.tsx +34 -0
- package/src/routes/inventory/inventory-detail/components/manage-locations/components/manage-locations-form.tsx +127 -140
- package/src/routes/locations/location-edit/components/edit-location-form/edit-location-form.tsx +1 -1
- package/src/routes/locations/location-list/location-list.tsx +10 -4
- package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/create-shipping-option-details-form.tsx +4 -1
- package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/create-shipping-options-form.tsx +3 -1
- package/src/routes/locations/location-service-zone-shipping-option-edit/components/edit-region-form/edit-shipping-option-form.tsx +7 -2
- package/src/routes/orders/order-allocate-items/components/order-create-fulfillment-form/order-allocate-items-form.tsx +7 -2
- package/src/routes/orders/order-create-claim/components/claim-create-form/claim-create-form.tsx +2 -1
- package/src/routes/orders/order-create-edit/components/order-edit-create-form/order-edit-create-form.tsx +2 -1
- package/src/routes/orders/order-create-exchange/components/exchange-create-form/exchange-create-form.tsx +2 -1
- package/src/routes/orders/order-create-fulfillment/components/order-create-fulfillment-form/order-create-fulfillment-form.tsx +5 -1
- package/src/routes/orders/order-create-refund/components/create-refund-form/create-refund-form.tsx +42 -1
- package/src/routes/orders/order-create-return/components/return-create-form/return-create-form.tsx +2 -1
- package/src/routes/orders/order-create-shipment/components/order-create-shipment-form/order-create-shipment-form.tsx +2 -0
- package/src/routes/orders/order-detail/components/order-activity-section/order-timeline.tsx +13 -5
- package/src/routes/orders/order-receive-return/components/order-receive-return-form/order-receive-return-form.tsx +2 -1
- package/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-create-form.tsx +3 -1
- package/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-details-form.tsx +8 -2
- package/src/routes/price-lists/price-list-edit/components/price-list-edit-form/edit-price-list-form.tsx +12 -3
- package/src/routes/price-lists/price-list-prices-add/components/price-list-prices-add-form/price-list-prices-add-form.tsx +10 -5
- package/src/routes/product-variants/product-variant-edit/components/product-edit-variant-form/product-edit-variant-form.tsx +4 -0
- package/src/routes/products/common/components/category-combobox/category-combobox.tsx +11 -11
- package/src/routes/products/product-create/components/product-create-form/product-create-form.tsx +3 -1
- package/src/routes/products/product-create-variant/components/create-product-variant-form/create-product-variant-form.tsx +10 -5
- package/src/routes/products/product-create-variant/components/create-product-variant-form/details-tab.tsx +6 -1
- package/src/routes/products/product-edit/components/edit-product-form/edit-product-form.tsx +7 -2
- package/src/routes/products/product-media/components/product-media-gallery/product-media-gallery.tsx +2 -2
- package/src/routes/products/product-stock/hooks/use-product-stock-columns.tsx +2 -1
- package/src/routes/profile/profile-edit/components/edit-profile-form/edit-profile-form.tsx +9 -3
- package/src/routes/promotions/common/edit-rules/components/rules-form-field/rules-form-field.tsx +4 -0
- package/src/routes/promotions/promotion-add-campaign/components/add-campaign-promotion-form/add-campaign-promotion-form.tsx +48 -49
- package/src/routes/promotions/promotion-add-campaign/promotion-add-campaign.tsx +4 -21
- package/src/routes/promotions/promotion-create/components/create-promotion-form/create-promotion-form.tsx +12 -3
- package/src/routes/promotions/promotion-edit-details/components/edit-promotion-form/edit-promotion-details-form.tsx +6 -1
- package/src/routes/refund-reasons/refund-reason-create/components/refund-reason-create-form/index.ts +1 -0
- package/src/routes/refund-reasons/refund-reason-create/components/refund-reason-create-form/refund-reason-create-form.tsx +131 -0
- package/src/routes/refund-reasons/refund-reason-create/index.ts +1 -0
- package/src/routes/refund-reasons/refund-reason-create/refund-reason-create.tsx +10 -0
- package/src/routes/refund-reasons/refund-reason-edit/components/refund-reason-edit-form/index.ts +1 -0
- package/src/routes/refund-reasons/refund-reason-edit/components/refund-reason-edit-form/refund-reason-edit-form.tsx +119 -0
- package/src/routes/refund-reasons/refund-reason-edit/index.ts +1 -0
- package/src/routes/refund-reasons/refund-reason-edit/refund-reason-edit.tsx +33 -0
- package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/index.ts +1 -0
- package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/refund-reason-list-table.tsx +138 -0
- package/src/routes/refund-reasons/refund-reason-list/index.ts +2 -0
- package/src/routes/refund-reasons/refund-reason-list/loader.ts +16 -0
- package/src/routes/refund-reasons/refund-reason-list/refund-reason-list.tsx +21 -0
- package/src/routes/regions/region-create/components/create-region-form/create-region-form.tsx +11 -2
- package/src/routes/regions/region-edit/components/edit-region-form/edit-region-form.tsx +11 -2
- package/src/routes/reservations/reservation-detail/components/edit-reservation/components/edit-reservation-form.tsx +3 -1
- package/src/routes/sales-channels/sales-channel-create/components/create-sales-channel-form/create-sales-channel-form.tsx +2 -0
- package/src/routes/sales-channels/sales-channel-edit/components/edit-sales-channel-form/edit-sales-channel-form.tsx +2 -0
- package/src/routes/store/store-add-currencies/components/add-currencies-form/add-currencies-form.tsx +2 -0
- package/src/routes/store/store-edit/components/edit-store-form/edit-store-form.tsx +7 -2
- package/src/routes/tax-regions/tax-region-tax-override-create/components/tax-region-override-create-form/tax-region-tax-override-create.tsx +3 -1
- package/src/routes/tax-regions/tax-region-tax-override-edit/components/tax-region-tax-override-edit-form/tax-region-tax-override-edit-form.tsx +3 -1
- package/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-timeline-section/workflow-execution-timeline-section.tsx +3 -2
- package/dist/manage-locations-3TBIUSHP.mjs +0 -236
@@ -1,9 +1,9 @@
|
|
1
1
|
import {
|
2
2
|
CountrySelect
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-IRO6DO7J.mjs";
|
4
4
|
import {
|
5
5
|
Combobox
|
6
|
-
} from "./chunk-
|
6
|
+
} from "./chunk-CD7VQIPA.mjs";
|
7
7
|
import {
|
8
8
|
optionalInt
|
9
9
|
} from "./chunk-ZQRKUG6J.mjs";
|
@@ -26,11 +26,12 @@ import {
|
|
26
26
|
} from "./chunk-OBQI23QM.mjs";
|
27
27
|
import {
|
28
28
|
productVariantQueryKeys
|
29
|
-
} from "./chunk-
|
29
|
+
} from "./chunk-EILZIUOP.mjs";
|
30
30
|
import "./chunk-KOSCMAIC.mjs";
|
31
|
+
import "./chunk-5U3FFMC7.mjs";
|
31
32
|
import "./chunk-X6DSNTTX.mjs";
|
32
33
|
import "./chunk-I6E6CALJ.mjs";
|
33
|
-
import "./chunk-
|
34
|
+
import "./chunk-RGP3IXX4.mjs";
|
34
35
|
import "./chunk-QTCZFYFH.mjs";
|
35
36
|
import "./chunk-B4GODIOW.mjs";
|
36
37
|
import "./chunk-ENV6YVOM.mjs";
|
@@ -38,18 +39,18 @@ import "./chunk-PIR2H25N.mjs";
|
|
38
39
|
import "./chunk-RLY2SL5E.mjs";
|
39
40
|
import "./chunk-C5LYZZZ5.mjs";
|
40
41
|
import "./chunk-2ZKVRTBW.mjs";
|
41
|
-
import "./chunk-
|
42
|
-
import "./chunk-
|
42
|
+
import "./chunk-EA5GGT2Q.mjs";
|
43
|
+
import "./chunk-LKVQ5YC6.mjs";
|
43
44
|
import "./chunk-F6PXCY3N.mjs";
|
44
|
-
import "./chunk-
|
45
|
-
import "./chunk-
|
45
|
+
import "./chunk-NY6I2FYO.mjs";
|
46
|
+
import "./chunk-R2G2B47Y.mjs";
|
46
47
|
import "./chunk-GRT22PE5.mjs";
|
47
48
|
import "./chunk-32IQRUVY.mjs";
|
48
|
-
import "./chunk-
|
49
|
-
import "./chunk-
|
50
|
-
import "./chunk-
|
49
|
+
import "./chunk-U25RCIX2.mjs";
|
50
|
+
import "./chunk-ITJEYJNB.mjs";
|
51
|
+
import "./chunk-EYTETK3W.mjs";
|
51
52
|
import "./chunk-KX4P5L3R.mjs";
|
52
|
-
import "./chunk-
|
53
|
+
import "./chunk-XP3BY6G6.mjs";
|
53
54
|
import "./chunk-V2LANK5S.mjs";
|
54
55
|
import "./chunk-QZ6PT4QV.mjs";
|
55
56
|
import "./chunk-QL4XKIVL.mjs";
|
@@ -57,7 +58,7 @@ import {
|
|
57
58
|
useProduct,
|
58
59
|
useProductVariant,
|
59
60
|
useUpdateProductVariant
|
60
|
-
} from "./chunk-
|
61
|
+
} from "./chunk-4QUHWHBD.mjs";
|
61
62
|
import {
|
62
63
|
queryClient
|
63
64
|
} from "./chunk-FXYH54JP.mjs";
|
@@ -310,7 +311,9 @@ var ProductEditVariantForm = ({
|
|
310
311
|
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsx(
|
311
312
|
Switch,
|
312
313
|
{
|
314
|
+
dir: "ltr",
|
313
315
|
checked: value,
|
316
|
+
className: "rtl:rotate-180",
|
314
317
|
onCheckedChange: (checked) => onChange(!!checked),
|
315
318
|
...field
|
316
319
|
}
|
@@ -336,6 +339,8 @@ var ProductEditVariantForm = ({
|
|
336
339
|
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsx(
|
337
340
|
Switch,
|
338
341
|
{
|
342
|
+
dir: "ltr",
|
343
|
+
className: "rtl:rotate-180",
|
339
344
|
checked: value,
|
340
345
|
onCheckedChange: (checked) => onChange(!!checked),
|
341
346
|
...field
|
@@ -6,7 +6,7 @@ import {
|
|
6
6
|
} from "./chunk-HFB3OQXI.mjs";
|
7
7
|
import {
|
8
8
|
Combobox
|
9
|
-
} from "./chunk-
|
9
|
+
} from "./chunk-CD7VQIPA.mjs";
|
10
10
|
import {
|
11
11
|
castNumber
|
12
12
|
} from "./chunk-6GU6IDUA.mjs";
|
@@ -24,7 +24,7 @@ import {
|
|
24
24
|
import {
|
25
25
|
useProductVariant,
|
26
26
|
useProductVariantsInventoryItemsBatch
|
27
|
-
} from "./chunk-
|
27
|
+
} from "./chunk-4QUHWHBD.mjs";
|
28
28
|
import "./chunk-FXYH54JP.mjs";
|
29
29
|
import "./chunk-774WSTCC.mjs";
|
30
30
|
import {
|
package/dist/{product-variant-metadata-XDVLJYGQ.mjs → product-variant-metadata-F6BGFMMS.mjs}
RENAMED
@@ -1,17 +1,19 @@
|
|
1
1
|
import {
|
2
2
|
MetadataForm
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-IL5IMREK.mjs";
|
4
4
|
import "./chunk-IUCDCPJU.mjs";
|
5
5
|
import "./chunk-6HTZNHPT.mjs";
|
6
6
|
import "./chunk-4TC5YS65.mjs";
|
7
7
|
import "./chunk-LPEUYMRK.mjs";
|
8
8
|
import "./chunk-OC7BQLYI.mjs";
|
9
|
+
import "./chunk-S4DMV3ZT.mjs";
|
9
10
|
import "./chunk-OBQI23QM.mjs";
|
10
|
-
import "./chunk-
|
11
|
+
import "./chunk-EILZIUOP.mjs";
|
11
12
|
import "./chunk-KOSCMAIC.mjs";
|
13
|
+
import "./chunk-5U3FFMC7.mjs";
|
12
14
|
import "./chunk-X6DSNTTX.mjs";
|
13
15
|
import "./chunk-I6E6CALJ.mjs";
|
14
|
-
import "./chunk-
|
16
|
+
import "./chunk-RGP3IXX4.mjs";
|
15
17
|
import "./chunk-QTCZFYFH.mjs";
|
16
18
|
import "./chunk-B4GODIOW.mjs";
|
17
19
|
import "./chunk-ENV6YVOM.mjs";
|
@@ -19,25 +21,25 @@ import "./chunk-PIR2H25N.mjs";
|
|
19
21
|
import "./chunk-RLY2SL5E.mjs";
|
20
22
|
import "./chunk-C5LYZZZ5.mjs";
|
21
23
|
import "./chunk-2ZKVRTBW.mjs";
|
22
|
-
import "./chunk-
|
23
|
-
import "./chunk-
|
24
|
+
import "./chunk-EA5GGT2Q.mjs";
|
25
|
+
import "./chunk-LKVQ5YC6.mjs";
|
24
26
|
import "./chunk-F6PXCY3N.mjs";
|
25
|
-
import "./chunk-
|
26
|
-
import "./chunk-
|
27
|
+
import "./chunk-NY6I2FYO.mjs";
|
28
|
+
import "./chunk-R2G2B47Y.mjs";
|
27
29
|
import "./chunk-GRT22PE5.mjs";
|
28
30
|
import "./chunk-32IQRUVY.mjs";
|
29
|
-
import "./chunk-
|
30
|
-
import "./chunk-
|
31
|
-
import "./chunk-
|
31
|
+
import "./chunk-U25RCIX2.mjs";
|
32
|
+
import "./chunk-ITJEYJNB.mjs";
|
33
|
+
import "./chunk-EYTETK3W.mjs";
|
32
34
|
import "./chunk-KX4P5L3R.mjs";
|
33
|
-
import "./chunk-
|
35
|
+
import "./chunk-XP3BY6G6.mjs";
|
34
36
|
import "./chunk-V2LANK5S.mjs";
|
35
37
|
import "./chunk-QZ6PT4QV.mjs";
|
36
38
|
import "./chunk-QL4XKIVL.mjs";
|
37
39
|
import {
|
38
40
|
useProductVariant,
|
39
41
|
useUpdateProductVariant
|
40
|
-
} from "./chunk-
|
42
|
+
} from "./chunk-4QUHWHBD.mjs";
|
41
43
|
import "./chunk-FXYH54JP.mjs";
|
42
44
|
import "./chunk-774WSTCC.mjs";
|
43
45
|
import "./chunk-DEQUVHHE.mjs";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import {
|
2
2
|
SingleColumnPage
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-GIZFNLKK.mjs";
|
4
4
|
import {
|
5
5
|
useExtension
|
6
6
|
} from "./chunk-C5P5PL3E.mjs";
|
@@ -9,8 +9,9 @@ import {
|
|
9
9
|
} from "./chunk-LPEUYMRK.mjs";
|
10
10
|
import {
|
11
11
|
ActionMenu
|
12
|
-
} from "./chunk-
|
12
|
+
} from "./chunk-OZPB6JBL.mjs";
|
13
13
|
import "./chunk-OC7BQLYI.mjs";
|
14
|
+
import "./chunk-S4DMV3ZT.mjs";
|
14
15
|
import {
|
15
16
|
languages
|
16
17
|
} from "./chunk-67ORSRVT.mjs";
|
@@ -6,6 +6,9 @@ import {
|
|
6
6
|
RouteDrawer,
|
7
7
|
useRouteModal
|
8
8
|
} from "./chunk-4TC5YS65.mjs";
|
9
|
+
import {
|
10
|
+
useDocumentDirection
|
11
|
+
} from "./chunk-S4DMV3ZT.mjs";
|
9
12
|
import {
|
10
13
|
languages
|
11
14
|
} from "./chunk-67ORSRVT.mjs";
|
@@ -41,6 +44,7 @@ var EditProfileSchema = zod.object({
|
|
41
44
|
var EditProfileForm = ({ user }) => {
|
42
45
|
const { t, i18n } = useTranslation();
|
43
46
|
const { handleSuccess } = useRouteModal();
|
47
|
+
const direction = useDocumentDirection();
|
44
48
|
const form = useForm({
|
45
49
|
defaultValues: {
|
46
50
|
first_name: user.first_name ?? "",
|
@@ -113,25 +117,33 @@ var EditProfileForm = ({ user }) => {
|
|
113
117
|
/* @__PURE__ */ jsx(Form.Hint, { children: t("profile.edit.languageHint") })
|
114
118
|
] }),
|
115
119
|
/* @__PURE__ */ jsxs("div", { children: [
|
116
|
-
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
120
|
+
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
121
|
+
Select,
|
122
|
+
{
|
123
|
+
dir: direction,
|
124
|
+
...field,
|
125
|
+
onValueChange: field.onChange,
|
126
|
+
children: [
|
127
|
+
/* @__PURE__ */ jsx(Select.Trigger, { ref, className: "py-1 text-[13px]", children: /* @__PURE__ */ jsx(
|
128
|
+
Select.Value,
|
129
|
+
{
|
130
|
+
placeholder: t("profile.edit.languagePlaceholder"),
|
131
|
+
children: sortedLanguages.find(
|
132
|
+
(language) => language.code === field.value
|
133
|
+
)?.display_name
|
134
|
+
}
|
135
|
+
) }),
|
136
|
+
/* @__PURE__ */ jsx(Select.Content, { children: languages.map((language) => /* @__PURE__ */ jsx(
|
137
|
+
Select.Item,
|
138
|
+
{
|
139
|
+
value: language.code,
|
140
|
+
children: language.display_name
|
141
|
+
},
|
142
|
+
language.code
|
143
|
+
)) })
|
144
|
+
]
|
145
|
+
}
|
146
|
+
) }),
|
135
147
|
/* @__PURE__ */ jsx(Form.ErrorMessage, {})
|
136
148
|
] })
|
137
149
|
] })
|
@@ -1,18 +1,20 @@
|
|
1
1
|
import {
|
2
2
|
AddCampaignPromotionForm
|
3
|
-
} from "./chunk-
|
4
|
-
import "./chunk-
|
3
|
+
} from "./chunk-G3VGLFVH.mjs";
|
4
|
+
import "./chunk-CY33DS7K.mjs";
|
5
|
+
import "./chunk-HFB3OQXI.mjs";
|
6
|
+
import "./chunk-CD7VQIPA.mjs";
|
5
7
|
import "./chunk-DK4WIVY6.mjs";
|
6
8
|
import "./chunk-IUCDCPJU.mjs";
|
7
9
|
import "./chunk-6HTZNHPT.mjs";
|
8
10
|
import {
|
9
11
|
RouteDrawer
|
10
12
|
} from "./chunk-4TC5YS65.mjs";
|
13
|
+
import "./chunk-S4DMV3ZT.mjs";
|
11
14
|
import "./chunk-OBQI23QM.mjs";
|
12
15
|
import {
|
13
|
-
useCampaigns,
|
14
16
|
usePromotion
|
15
|
-
} from "./chunk-
|
17
|
+
} from "./chunk-R2G2B47Y.mjs";
|
16
18
|
import "./chunk-V2LANK5S.mjs";
|
17
19
|
import "./chunk-QL4XKIVL.mjs";
|
18
20
|
import "./chunk-FXYH54JP.mjs";
|
@@ -29,26 +31,12 @@ var PromotionAddCampaign = () => {
|
|
29
31
|
const { id } = useParams();
|
30
32
|
const { t } = useTranslation();
|
31
33
|
const { promotion, isPending, isError, error } = usePromotion(id);
|
32
|
-
|
33
|
-
|
34
|
-
campaignQuery = {
|
35
|
-
budget: {
|
36
|
-
currency_code: promotion?.application_method?.currency_code
|
37
|
-
}
|
38
|
-
};
|
39
|
-
}
|
40
|
-
const {
|
41
|
-
campaigns,
|
42
|
-
isPending: areCampaignsLoading,
|
43
|
-
isError: isCampaignError,
|
44
|
-
error: campaignError
|
45
|
-
} = useCampaigns(campaignQuery);
|
46
|
-
if (isError || isCampaignError) {
|
47
|
-
throw error || campaignError;
|
34
|
+
if (isError) {
|
35
|
+
throw error;
|
48
36
|
}
|
49
37
|
return /* @__PURE__ */ jsxs(RouteDrawer, { children: [
|
50
38
|
/* @__PURE__ */ jsx(RouteDrawer.Header, { children: /* @__PURE__ */ jsx(Heading, { children: t("promotions.campaign.edit.header") }) }),
|
51
|
-
!isPending &&
|
39
|
+
!isPending && promotion && /* @__PURE__ */ jsx(AddCampaignPromotionForm, { promotion })
|
52
40
|
] });
|
53
41
|
};
|
54
42
|
export {
|
@@ -3,18 +3,18 @@ import {
|
|
3
3
|
} from "./chunk-KEQOAJC2.mjs";
|
4
4
|
import {
|
5
5
|
AddCampaignPromotionFields
|
6
|
-
} from "./chunk-
|
6
|
+
} from "./chunk-G3VGLFVH.mjs";
|
7
7
|
import {
|
8
8
|
RulesFormField
|
9
|
-
} from "./chunk-
|
9
|
+
} from "./chunk-5FAWKUSU.mjs";
|
10
10
|
import {
|
11
11
|
CreateCampaignSchema,
|
12
12
|
DEFAULT_CAMPAIGN_VALUES
|
13
|
-
} from "./chunk-
|
14
|
-
import "./chunk-
|
13
|
+
} from "./chunk-AXXGAOQL.mjs";
|
14
|
+
import "./chunk-CY33DS7K.mjs";
|
15
15
|
import "./chunk-F6ZOHZVB.mjs";
|
16
16
|
import "./chunk-HFB3OQXI.mjs";
|
17
|
-
import "./chunk-
|
17
|
+
import "./chunk-CD7VQIPA.mjs";
|
18
18
|
import {
|
19
19
|
currencies,
|
20
20
|
getCurrencySymbol
|
@@ -27,14 +27,18 @@ import {
|
|
27
27
|
RouteFocusModal,
|
28
28
|
useRouteModal
|
29
29
|
} from "./chunk-4TC5YS65.mjs";
|
30
|
+
import {
|
31
|
+
useDocumentDirection
|
32
|
+
} from "./chunk-S4DMV3ZT.mjs";
|
30
33
|
import {
|
31
34
|
Form
|
32
35
|
} from "./chunk-OBQI23QM.mjs";
|
33
|
-
import "./chunk-
|
36
|
+
import "./chunk-EILZIUOP.mjs";
|
34
37
|
import "./chunk-KOSCMAIC.mjs";
|
38
|
+
import "./chunk-5U3FFMC7.mjs";
|
35
39
|
import "./chunk-X6DSNTTX.mjs";
|
36
40
|
import "./chunk-I6E6CALJ.mjs";
|
37
|
-
import "./chunk-
|
41
|
+
import "./chunk-RGP3IXX4.mjs";
|
38
42
|
import "./chunk-QTCZFYFH.mjs";
|
39
43
|
import "./chunk-B4GODIOW.mjs";
|
40
44
|
import "./chunk-ENV6YVOM.mjs";
|
@@ -42,25 +46,25 @@ import "./chunk-PIR2H25N.mjs";
|
|
42
46
|
import "./chunk-RLY2SL5E.mjs";
|
43
47
|
import "./chunk-C5LYZZZ5.mjs";
|
44
48
|
import "./chunk-2ZKVRTBW.mjs";
|
45
|
-
import "./chunk-
|
46
|
-
import "./chunk-
|
49
|
+
import "./chunk-EA5GGT2Q.mjs";
|
50
|
+
import "./chunk-LKVQ5YC6.mjs";
|
47
51
|
import "./chunk-F6PXCY3N.mjs";
|
48
|
-
import "./chunk-
|
52
|
+
import "./chunk-NY6I2FYO.mjs";
|
49
53
|
import {
|
50
54
|
useCampaigns,
|
51
55
|
useCreatePromotion
|
52
|
-
} from "./chunk-
|
56
|
+
} from "./chunk-R2G2B47Y.mjs";
|
53
57
|
import "./chunk-GRT22PE5.mjs";
|
54
58
|
import "./chunk-32IQRUVY.mjs";
|
55
|
-
import "./chunk-
|
56
|
-
import "./chunk-
|
57
|
-
import "./chunk-
|
59
|
+
import "./chunk-U25RCIX2.mjs";
|
60
|
+
import "./chunk-ITJEYJNB.mjs";
|
61
|
+
import "./chunk-EYTETK3W.mjs";
|
58
62
|
import "./chunk-KX4P5L3R.mjs";
|
59
|
-
import "./chunk-
|
63
|
+
import "./chunk-XP3BY6G6.mjs";
|
60
64
|
import "./chunk-V2LANK5S.mjs";
|
61
65
|
import "./chunk-QZ6PT4QV.mjs";
|
62
66
|
import "./chunk-QL4XKIVL.mjs";
|
63
|
-
import "./chunk-
|
67
|
+
import "./chunk-4QUHWHBD.mjs";
|
64
68
|
import "./chunk-FXYH54JP.mjs";
|
65
69
|
import "./chunk-774WSTCC.mjs";
|
66
70
|
import "./chunk-DEQUVHHE.mjs";
|
@@ -296,6 +300,7 @@ var CreatePromotionForm = () => {
|
|
296
300
|
});
|
297
301
|
const { t } = useTranslation();
|
298
302
|
const { handleSuccess } = useRouteModal();
|
303
|
+
const direction = useDocumentDirection();
|
299
304
|
const form = useForm({
|
300
305
|
defaultValues,
|
301
306
|
resolver: zodResolver(CreatePromotionSchema)
|
@@ -524,6 +529,7 @@ var CreatePromotionForm = () => {
|
|
524
529
|
/* @__PURE__ */ jsxs(
|
525
530
|
ProgressTabs,
|
526
531
|
{
|
532
|
+
dir: direction,
|
527
533
|
value: tab,
|
528
534
|
onValueChange: (tab2) => handleTabChange(tab2),
|
529
535
|
className: "flex h-full flex-col overflow-hidden",
|
@@ -574,6 +580,7 @@ var CreatePromotionForm = () => {
|
|
574
580
|
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsx(
|
575
581
|
RadioGroup,
|
576
582
|
{
|
583
|
+
dir: direction,
|
577
584
|
className: "flex-col gap-y-3",
|
578
585
|
...field,
|
579
586
|
onValueChange: field.onChange,
|
@@ -637,6 +644,7 @@ var CreatePromotionForm = () => {
|
|
637
644
|
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
638
645
|
RadioGroup,
|
639
646
|
{
|
647
|
+
dir: direction,
|
640
648
|
className: "flex gap-y-3",
|
641
649
|
...field,
|
642
650
|
value: field.value,
|
@@ -685,6 +693,7 @@ var CreatePromotionForm = () => {
|
|
685
693
|
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
686
694
|
RadioGroup,
|
687
695
|
{
|
696
|
+
dir: direction,
|
688
697
|
className: "flex gap-y-3",
|
689
698
|
...field,
|
690
699
|
value: field.value,
|
@@ -772,7 +781,8 @@ var CreatePromotionForm = () => {
|
|
772
781
|
/* @__PURE__ */ jsx(Form.Control, { className: "mr-2 self-center", children: /* @__PURE__ */ jsx(
|
773
782
|
Switch,
|
774
783
|
{
|
775
|
-
|
784
|
+
dir: "ltr",
|
785
|
+
className: "mt-[2px] rtl:rotate-180",
|
776
786
|
checked: !!value,
|
777
787
|
onCheckedChange: onChange,
|
778
788
|
...field
|
@@ -796,6 +806,7 @@ var CreatePromotionForm = () => {
|
|
796
806
|
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
797
807
|
RadioGroup,
|
798
808
|
{
|
809
|
+
dir: direction,
|
799
810
|
className: "flex gap-y-3",
|
800
811
|
...field,
|
801
812
|
onValueChange: field.onChange,
|
@@ -849,6 +860,7 @@ var CreatePromotionForm = () => {
|
|
849
860
|
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
850
861
|
RadioGroup,
|
851
862
|
{
|
863
|
+
dir: direction,
|
852
864
|
className: "flex gap-y-3",
|
853
865
|
...field,
|
854
866
|
onValueChange: field.onChange,
|
@@ -1015,6 +1027,7 @@ var CreatePromotionForm = () => {
|
|
1015
1027
|
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
1016
1028
|
RadioGroup,
|
1017
1029
|
{
|
1030
|
+
dir: direction,
|
1018
1031
|
className: "flex gap-y-3",
|
1019
1032
|
...field,
|
1020
1033
|
onValueChange: field.onChange,
|
@@ -3,7 +3,7 @@ import {
|
|
3
3
|
} from "./chunk-VAIHVNV6.mjs";
|
4
4
|
import {
|
5
5
|
getPromotionStatus
|
6
|
-
} from "./chunk-
|
6
|
+
} from "./chunk-IP2QPPWC.mjs";
|
7
7
|
import {
|
8
8
|
formatPercentage
|
9
9
|
} from "./chunk-4FM6S5CX.mjs";
|
@@ -15,10 +15,10 @@ import {
|
|
15
15
|
} from "./chunk-EMIHDNB7.mjs";
|
16
16
|
import {
|
17
17
|
TwoColumnPage
|
18
|
-
} from "./chunk-
|
18
|
+
} from "./chunk-GIZFNLKK.mjs";
|
19
19
|
import "./chunk-PFKKVLZX.mjs";
|
20
20
|
import "./chunk-4GQOUCX6.mjs";
|
21
|
-
import "./chunk-
|
21
|
+
import "./chunk-DKOCYXB5.mjs";
|
22
22
|
import {
|
23
23
|
useExtension
|
24
24
|
} from "./chunk-C5P5PL3E.mjs";
|
@@ -27,14 +27,16 @@ import {
|
|
27
27
|
} from "./chunk-LPEUYMRK.mjs";
|
28
28
|
import {
|
29
29
|
ActionMenu
|
30
|
-
} from "./chunk-
|
30
|
+
} from "./chunk-OZPB6JBL.mjs";
|
31
31
|
import "./chunk-OC7BQLYI.mjs";
|
32
|
+
import "./chunk-S4DMV3ZT.mjs";
|
32
33
|
import "./chunk-67ORSRVT.mjs";
|
33
|
-
import "./chunk-
|
34
|
+
import "./chunk-EILZIUOP.mjs";
|
34
35
|
import "./chunk-KOSCMAIC.mjs";
|
36
|
+
import "./chunk-5U3FFMC7.mjs";
|
35
37
|
import "./chunk-X6DSNTTX.mjs";
|
36
38
|
import "./chunk-I6E6CALJ.mjs";
|
37
|
-
import "./chunk-
|
39
|
+
import "./chunk-RGP3IXX4.mjs";
|
38
40
|
import "./chunk-QTCZFYFH.mjs";
|
39
41
|
import "./chunk-B4GODIOW.mjs";
|
40
42
|
import "./chunk-ENV6YVOM.mjs";
|
@@ -42,27 +44,27 @@ import "./chunk-PIR2H25N.mjs";
|
|
42
44
|
import "./chunk-RLY2SL5E.mjs";
|
43
45
|
import "./chunk-C5LYZZZ5.mjs";
|
44
46
|
import "./chunk-2ZKVRTBW.mjs";
|
45
|
-
import "./chunk-
|
46
|
-
import "./chunk-
|
47
|
+
import "./chunk-EA5GGT2Q.mjs";
|
48
|
+
import "./chunk-LKVQ5YC6.mjs";
|
47
49
|
import "./chunk-F6PXCY3N.mjs";
|
48
|
-
import "./chunk-
|
50
|
+
import "./chunk-NY6I2FYO.mjs";
|
49
51
|
import {
|
50
52
|
promotionsQueryKeys,
|
51
53
|
useDeletePromotion,
|
52
54
|
usePromotion,
|
53
55
|
usePromotionRules
|
54
|
-
} from "./chunk-
|
56
|
+
} from "./chunk-R2G2B47Y.mjs";
|
55
57
|
import "./chunk-GRT22PE5.mjs";
|
56
58
|
import "./chunk-32IQRUVY.mjs";
|
57
|
-
import "./chunk-
|
58
|
-
import "./chunk-
|
59
|
-
import "./chunk-
|
59
|
+
import "./chunk-U25RCIX2.mjs";
|
60
|
+
import "./chunk-ITJEYJNB.mjs";
|
61
|
+
import "./chunk-EYTETK3W.mjs";
|
60
62
|
import "./chunk-KX4P5L3R.mjs";
|
61
|
-
import "./chunk-
|
63
|
+
import "./chunk-XP3BY6G6.mjs";
|
62
64
|
import "./chunk-V2LANK5S.mjs";
|
63
65
|
import "./chunk-QZ6PT4QV.mjs";
|
64
66
|
import "./chunk-QL4XKIVL.mjs";
|
65
|
-
import "./chunk-
|
67
|
+
import "./chunk-4QUHWHBD.mjs";
|
66
68
|
import {
|
67
69
|
queryClient
|
68
70
|
} from "./chunk-FXYH54JP.mjs";
|
@@ -7,7 +7,7 @@ import {
|
|
7
7
|
} from "./chunk-DK4WIVY6.mjs";
|
8
8
|
import {
|
9
9
|
SwitchBox
|
10
|
-
} from "./chunk-
|
10
|
+
} from "./chunk-PRLQLEEQ.mjs";
|
11
11
|
import "./chunk-IUCDCPJU.mjs";
|
12
12
|
import {
|
13
13
|
KeyboundForm
|
@@ -16,13 +16,16 @@ import {
|
|
16
16
|
RouteDrawer,
|
17
17
|
useRouteModal
|
18
18
|
} from "./chunk-4TC5YS65.mjs";
|
19
|
+
import {
|
20
|
+
useDocumentDirection
|
21
|
+
} from "./chunk-S4DMV3ZT.mjs";
|
19
22
|
import {
|
20
23
|
Form
|
21
24
|
} from "./chunk-OBQI23QM.mjs";
|
22
25
|
import {
|
23
26
|
usePromotion,
|
24
27
|
useUpdatePromotion
|
25
|
-
} from "./chunk-
|
28
|
+
} from "./chunk-R2G2B47Y.mjs";
|
26
29
|
import "./chunk-FXYH54JP.mjs";
|
27
30
|
import "./chunk-774WSTCC.mjs";
|
28
31
|
import "./chunk-DEQUVHHE.mjs";
|
@@ -109,6 +112,7 @@ var EditPromotionDetailsForm = ({
|
|
109
112
|
form.setValue("is_tax_inclusive", false);
|
110
113
|
}
|
111
114
|
}, [allocationWatchValue, form, promotion]);
|
115
|
+
const direction = useDocumentDirection();
|
112
116
|
return /* @__PURE__ */ jsx(RouteDrawer.Form, { form, children: /* @__PURE__ */ jsxs(
|
113
117
|
KeyboundForm,
|
114
118
|
{
|
@@ -127,6 +131,7 @@ var EditPromotionDetailsForm = ({
|
|
127
131
|
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
128
132
|
RadioGroup,
|
129
133
|
{
|
134
|
+
dir: direction,
|
130
135
|
className: "flex-col gap-y-3",
|
131
136
|
...field,
|
132
137
|
value: field.value,
|
@@ -181,6 +186,7 @@ var EditPromotionDetailsForm = ({
|
|
181
186
|
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
182
187
|
RadioGroup,
|
183
188
|
{
|
189
|
+
dir: direction,
|
184
190
|
className: "flex-col gap-y-3",
|
185
191
|
...field,
|
186
192
|
value: field.value,
|
@@ -266,6 +272,7 @@ var EditPromotionDetailsForm = ({
|
|
266
272
|
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
267
273
|
RadioGroup,
|
268
274
|
{
|
275
|
+
dir: direction,
|
269
276
|
className: "flex-col gap-y-3",
|
270
277
|
...field,
|
271
278
|
onValueChange: field.onChange,
|
@@ -357,6 +364,7 @@ var EditPromotionDetailsForm = ({
|
|
357
364
|
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
358
365
|
RadioGroup,
|
359
366
|
{
|
367
|
+
dir: direction,
|
360
368
|
className: "flex-col gap-y-3",
|
361
369
|
...field,
|
362
370
|
onValueChange: field.onChange,
|
@@ -1,8 +1,8 @@
|
|
1
1
|
import {
|
2
2
|
usePromotionTableColumns,
|
3
3
|
usePromotionTableQuery
|
4
|
-
} from "./chunk-
|
5
|
-
import "./chunk-
|
4
|
+
} from "./chunk-U4R5MBF2.mjs";
|
5
|
+
import "./chunk-IP2QPPWC.mjs";
|
6
6
|
import "./chunk-MSDRGCRR.mjs";
|
7
7
|
import "./chunk-ADOCJB6L.mjs";
|
8
8
|
import "./chunk-LQTHYS2Z.mjs";
|
@@ -10,9 +10,9 @@ import "./chunk-P3UUX2T6.mjs";
|
|
10
10
|
import {
|
11
11
|
_DataTable,
|
12
12
|
useDataTable
|
13
|
-
} from "./chunk-
|
13
|
+
} from "./chunk-EYL2JACT.mjs";
|
14
14
|
import "./chunk-YEDAFXMB.mjs";
|
15
|
-
import "./chunk-
|
15
|
+
import "./chunk-HQKGZADC.mjs";
|
16
16
|
import "./chunk-EMIHDNB7.mjs";
|
17
17
|
import {
|
18
18
|
usePromotionTableFilters
|
@@ -21,25 +21,26 @@ import "./chunk-Z26G6WFJ.mjs";
|
|
21
21
|
import "./chunk-M3VFKDXJ.mjs";
|
22
22
|
import {
|
23
23
|
SingleColumnPage
|
24
|
-
} from "./chunk-
|
24
|
+
} from "./chunk-GIZFNLKK.mjs";
|
25
25
|
import "./chunk-C76H5USB.mjs";
|
26
26
|
import "./chunk-PFKKVLZX.mjs";
|
27
27
|
import "./chunk-4GQOUCX6.mjs";
|
28
|
-
import "./chunk-
|
28
|
+
import "./chunk-DKOCYXB5.mjs";
|
29
29
|
import {
|
30
30
|
useExtension
|
31
31
|
} from "./chunk-C5P5PL3E.mjs";
|
32
32
|
import "./chunk-LPEUYMRK.mjs";
|
33
33
|
import {
|
34
34
|
ActionMenu
|
35
|
-
} from "./chunk-
|
35
|
+
} from "./chunk-OZPB6JBL.mjs";
|
36
36
|
import "./chunk-OC7BQLYI.mjs";
|
37
|
+
import "./chunk-S4DMV3ZT.mjs";
|
37
38
|
import "./chunk-67ORSRVT.mjs";
|
38
39
|
import {
|
39
40
|
promotionsQueryKeys,
|
40
41
|
useDeletePromotion,
|
41
42
|
usePromotions
|
42
|
-
} from "./chunk-
|
43
|
+
} from "./chunk-R2G2B47Y.mjs";
|
43
44
|
import {
|
44
45
|
queryClient
|
45
46
|
} from "./chunk-FXYH54JP.mjs";
|