@medusajs/dashboard 2.10.4-preview-20250923120202 → 2.10.4-preview-20250923180156
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-FE4BXGVN.mjs → add-campaign-promotions-BWIP24MA.mjs} +6 -5
- package/dist/{api-key-management-detail-SAVBCKX7.mjs → api-key-management-detail-WGWZQCFC.mjs} +6 -4
- package/dist/{api-key-management-list-5DI3L4DV.mjs → api-key-management-list-QAMBWB7T.mjs} +5 -4
- package/dist/{api-key-management-sales-channels-WL5L5XWM.mjs → api-key-management-sales-channels-H5TVIHTV.mjs} +3 -2
- package/dist/app.css +89 -31
- package/dist/app.js +4681 -3651
- package/dist/app.mjs +7 -5
- package/dist/{campaign-create-AVBNHFC2.mjs → campaign-create-GRKYQY5D.mjs} +3 -2
- package/dist/{campaign-detail-KTOLZNTA.mjs → campaign-detail-EJD7LQCW.mjs} +13 -11
- package/dist/{campaign-list-G4MD3RPU.mjs → campaign-list-IDPRC2MD.mjs} +6 -5
- package/dist/{categories-metadata-GXWJ3HOG.mjs → categories-metadata-JFNWZA5D.mjs} +4 -2
- package/dist/{category-create-FOVB5MJ4.mjs → category-create-DJHTY4QX.mjs} +36 -14
- package/dist/{category-detail-ENUI5EFL.mjs → category-detail-CL3XCV7E.mjs} +9 -7
- package/dist/{category-edit-O4ZSANE5.mjs → category-edit-JQQX7IZZ.mjs} +34 -14
- package/dist/{category-list-UI6W5KF5.mjs → category-list-FOCNQKPH.mjs} +5 -4
- package/dist/{category-products-ZG5QDWSW.mjs → category-products-UZEG63WY.mjs} +6 -4
- package/dist/{chunk-KMUDF36P.mjs → chunk-2252SSK6.mjs} +1 -1
- package/dist/{chunk-SMHXCFRS.mjs → chunk-4CGHNQP2.mjs} +28 -15
- package/dist/chunk-5U3FFMC7.mjs +84 -0
- package/dist/{chunk-JO6QASTJ.mjs → chunk-6RWF7BPW.mjs} +1 -1
- package/dist/{chunk-JHXKKOHO.mjs → chunk-7JJTWGHU.mjs} +49 -15
- package/dist/{chunk-5WKYR6PY.mjs → chunk-BM5ZIV5V.mjs} +1 -1
- package/dist/{chunk-OGHQ6VJI.mjs → chunk-BSBCIU6C.mjs} +0 -5
- package/dist/{chunk-IINWRJA6.mjs → chunk-CAZKNJTG.mjs} +316 -266
- package/dist/{chunk-2PMSBTXI.mjs → chunk-CD7VQIPA.mjs} +11 -11
- package/dist/{chunk-NRBOPOMS.mjs → chunk-CU5EFQSB.mjs} +1 -1
- package/dist/{chunk-J5E7MQSS.mjs → chunk-CY33DS7K.mjs} +6 -0
- package/dist/{chunk-7VJK6HNE.mjs → chunk-EYL2JACT.mjs} +4 -4
- package/dist/{chunk-R2NWOCML.mjs → chunk-FUQ27NT5.mjs} +7 -1
- package/dist/{chunk-74K7HGNI.mjs → chunk-FXG2Z3QT.mjs} +3 -2
- package/dist/{chunk-2RQLKDBF.mjs → chunk-GIZFNLKK.mjs} +103 -96
- package/dist/{chunk-AOFGTNG6.mjs → chunk-HQKGZADC.mjs} +6 -1
- package/dist/{chunk-LBIOZZPA.mjs → chunk-HWKLNKOY.mjs} +1 -1
- package/dist/{chunk-S2UEWRDA.mjs → chunk-IL5IMREK.mjs} +59 -49
- package/dist/{chunk-SCBXRJPV.mjs → chunk-IRO6DO7J.mjs} +1 -1
- package/dist/{chunk-T7G2CURS.mjs → chunk-IVZ6BMDB.mjs} +1 -0
- package/dist/{chunk-XGJ5DXXG.mjs → chunk-IYDBZI47.mjs} +11 -11
- package/dist/{chunk-OKMF4YI7.mjs → chunk-K3OMOMRB.mjs} +25 -0
- package/dist/{chunk-2LPGQWPV.mjs → chunk-KTL6E2WT.mjs} +1 -1
- package/dist/{chunk-YWNHMIEQ.mjs → chunk-LJDVFJK7.mjs} +1 -1
- package/dist/{chunk-Q5DI5VYN.mjs → chunk-MLNUGLGT.mjs} +1 -1
- package/dist/{chunk-UWJBDOQD.mjs → chunk-NKVMOKZA.mjs} +41 -29
- package/dist/{chunk-UNM3LPTG.mjs → chunk-OQPVQGSH.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-6AGMMT5H.mjs → chunk-RFP4O5GO.mjs} +3 -3
- package/dist/chunk-S4DMV3ZT.mjs +35 -0
- package/dist/{chunk-5NQ3X2JI.mjs → chunk-SNDSWB6B.mjs} +1 -1
- package/dist/{chunk-O74UDEWT.mjs → chunk-TKZK3YPU.mjs} +1 -1
- package/dist/{chunk-EE7SOCEQ.mjs → chunk-TOS3CYMH.mjs} +3 -3
- package/dist/{chunk-CGK6IVLN.mjs → chunk-U2FXUMKA.mjs} +1 -1
- package/dist/{chunk-CK3VFTZM.mjs → chunk-UKX2FFFV.mjs} +2 -2
- package/dist/{chunk-7YZF3THS.mjs → chunk-V53HAFWH.mjs} +1 -1
- package/dist/{chunk-S45XMWVD.mjs → chunk-WP5CXGGO.mjs} +1 -1
- package/dist/{chunk-Y4YXZY7R.mjs → chunk-YPDTZXV6.mjs} +1 -1
- package/dist/{chunk-JELVERJM.mjs → chunk-YPSSUJUZ.mjs} +32 -0
- package/dist/{chunk-XKXNQ2KV.mjs → chunk-ZCARHA6C.mjs} +1 -1
- package/dist/{collection-add-products-2ISNNIHD.mjs → collection-add-products-QTFBLLND.mjs} +6 -4
- package/dist/{collection-detail-OSX6NHNQ.mjs → collection-detail-ZEAUSZBJ.mjs} +8 -6
- package/dist/{collection-list-MPIYSHQJ.mjs → collection-list-V27JHDAD.mjs} +9 -7
- package/dist/{collection-metadata-EOFYXEQI.mjs → collection-metadata-JAEMZMU6.mjs} +4 -2
- package/dist/{customer-create-address-TPSDYZBN.mjs → customer-create-address-JOYBIPPN.mjs} +1 -1
- package/dist/{customer-detail-FCNRRZSW.mjs → customer-detail-YBOM6KGC.mjs} +7 -5
- 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-72VFORGF.mjs} +7 -5
- package/dist/{customer-group-list-GPIKR66X.mjs → customer-group-list-UTC5ZCJZ.mjs} +6 -4
- 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-ZUCFXW2U.mjs} +5 -3
- package/dist/{edit-inventory-item-attributes-KT7BSPZ7.mjs → edit-inventory-item-attributes-BMPRVCPN.mjs} +1 -1
- package/dist/{edit-reservation-EKH4RIAX.mjs → edit-reservation-QQTYP22N.mjs} +5 -0
- package/dist/{edit-rules-63NG4QVR.mjs → edit-rules-RY7JMYLR.mjs} +5 -3
- package/dist/{inventory-create-RIVJFJJQ.mjs → inventory-create-F5PSTEN2.mjs} +10 -4
- package/dist/{inventory-detail-5433AAQ2.mjs → inventory-detail-BO5E7KXO.mjs} +10 -8
- package/dist/{inventory-list-YMYF7QVP.mjs → inventory-list-HUYCKI2I.mjs} +5 -4
- package/dist/{inventory-metadata-FH4CHJBA.mjs → inventory-metadata-QGPVSAUI.mjs} +4 -2
- package/dist/{inventory-stock-D6E4LQRK.mjs → inventory-stock-VQNXCIOA.mjs} +5 -3
- package/dist/{location-create-LUP363ZB.mjs → location-create-22H74MFP.mjs} +1 -1
- package/dist/{location-detail-Z6ZDX6RY.mjs → location-detail-M4CYDTSY.mjs} +5 -3
- package/dist/{location-edit-26K26G23.mjs → location-edit-RNGPJ26L.mjs} +1 -1
- package/dist/{location-fulfillment-providers-45VXZMZI.mjs → location-fulfillment-providers-XVEQZCUD.mjs} +6 -4
- package/dist/{location-list-BKK2PAKF.mjs → location-list-NKIOBHG4.mjs} +4 -3
- package/dist/{location-sales-channels-2BOIPBBG.mjs → location-sales-channels-NSXV65ZM.mjs} +3 -2
- 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-I3HAEEFA.mjs} +14 -5
- 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-QOENXTB7.mjs} +2 -1
- package/dist/{order-allocate-items-J3ZHGC22.mjs → order-allocate-items-NO5SVLS6.mjs} +23 -11
- package/dist/{order-create-claim-V63BWLB5.mjs → order-create-claim-MOBLO4YM.mjs} +9 -6
- package/dist/{order-create-edit-NPF4UZ4D.mjs → order-create-edit-C75GUZJE.mjs} +8 -5
- package/dist/{order-create-exchange-RHIPPSKU.mjs → order-create-exchange-RCUALEXO.mjs} +9 -6
- package/dist/{order-create-fulfillment-4SSUHQ75.mjs → order-create-fulfillment-EZTEZ4CF.mjs} +10 -2
- package/dist/{order-create-refund-QVQC5ZP5.mjs → order-create-refund-4FAIESAN.mjs} +7 -1
- package/dist/{order-create-return-GVA6M2RY.mjs → order-create-return-AV4BEJDN.mjs} +7 -5
- package/dist/{order-create-shipment-TJAARKWA.mjs → order-create-shipment-PTUJKVWK.mjs} +4 -1
- package/dist/{order-detail-2MIN6B2I.mjs → order-detail-6XQLJ5TU.mjs} +5 -3
- package/dist/{order-edit-billing-address-QP2I5F3E.mjs → order-edit-billing-address-46CFUZGL.mjs} +3 -2
- package/dist/{order-edit-email-7WT7XTHB.mjs → order-edit-email-FOK5GQW2.mjs} +2 -1
- package/dist/{order-edit-shipping-address-3QFMQP4I.mjs → order-edit-shipping-address-WFN2SVKM.mjs} +3 -2
- package/dist/{order-list-ZCMNSZYB.mjs → order-list-OTPVQKU6.mjs} +7 -6
- package/dist/{order-metadata-YJS26DHK.mjs → order-metadata-COJNFRPZ.mjs} +4 -2
- package/dist/{order-receive-return-PZMMMUB2.mjs → order-receive-return-P4OPVOPM.mjs} +4 -2
- package/dist/{order-request-transfer-QBIZD36E.mjs → order-request-transfer-HRPCEL5L.mjs} +3 -2
- package/dist/{price-list-configuration-435QDWB2.mjs → price-list-configuration-HF3DARKG.mjs} +4 -3
- package/dist/{price-list-create-RXDH5CXF.mjs → price-list-create-FJ2FM6GL.mjs} +30 -14
- package/dist/{price-list-detail-PKIKOJ4H.mjs → price-list-detail-VNZ3Q426.mjs} +8 -6
- package/dist/{price-list-edit-ZGBOZYSC.mjs → price-list-edit-COHKW6UK.mjs} +49 -29
- package/dist/{price-list-list-C6NEB2R4.mjs → price-list-list-55WD2WAY.mjs} +5 -4
- package/dist/{price-list-prices-add-2CDPUSYA.mjs → price-list-prices-add-FMZKGOHD.mjs} +19 -10
- package/dist/{price-list-prices-edit-ENB4GJZT.mjs → price-list-prices-edit-SUZNOKK2.mjs} +3 -2
- package/dist/{product-attributes-ZZPEBDCK.mjs → product-attributes-5PLACMXK.mjs} +9 -7
- package/dist/{product-create-FCDCIDCH.mjs → product-create-6FMLIS5X.mjs} +17 -11
- package/dist/{product-create-variant-KJKQ6ROY.mjs → product-create-variant-KGBSFIKQ.mjs} +22 -8
- package/dist/{product-detail-2ZUONC23.mjs → product-detail-2BJJMCCO.mjs} +11 -9
- package/dist/{product-edit-G3Z6FCN6.mjs → product-edit-N5P7RVNS.mjs} +31 -18
- package/dist/{product-export-XERWEI5H.mjs → product-export-XA5POQKT.mjs} +3 -2
- package/dist/{product-import-AGFJMSVK.mjs → product-import-DYTT4YDA.mjs} +5 -3
- package/dist/{product-list-WGX66SGI.mjs → product-list-EUQX3NBE.mjs} +10 -8
- package/dist/{product-media-APQKPFTT.mjs → product-media-XJGAON6B.mjs} +4 -4
- package/dist/{product-metadata-NZ3HKO67.mjs → product-metadata-44VYAXZD.mjs} +4 -2
- package/dist/{product-organization-BYT4TKMZ.mjs → product-organization-FB6BVKKL.mjs} +10 -8
- package/dist/{product-prices-PCBMYYGV.mjs → product-prices-4ZV5EXX5.mjs} +2 -1
- package/dist/{product-sales-channels-UGPAXFAV.mjs → product-sales-channels-QBQDLU7Z.mjs} +3 -2
- package/dist/{product-shipping-profile-YDN4X6S2.mjs → product-shipping-profile-UZQSV54B.mjs} +9 -7
- package/dist/{product-stock-SUVEQZML.mjs → product-stock-PX5NAHH6.mjs} +7 -4
- package/dist/{product-tag-create-T6HVAQKN.mjs → product-tag-create-R4YSSXD6.mjs} +2 -1
- package/dist/{product-tag-detail-HOWUZC3P.mjs → product-tag-detail-XJEGQD7U.mjs} +12 -10
- package/dist/{product-tag-edit-WWQDNDRC.mjs → product-tag-edit-7JXF42HY.mjs} +2 -1
- package/dist/{product-tag-list-FAKSLONF.mjs → product-tag-list-GTUMQQ6V.mjs} +12 -10
- package/dist/{product-tag-metadata-6B56VEZU.mjs → product-tag-metadata-5QV3HMXJ.mjs} +4 -2
- package/dist/{product-type-detail-KN64HYUV.mjs → product-type-detail-CN74BB3Y.mjs} +8 -6
- package/dist/{product-type-list-6ZIWPIUH.mjs → product-type-list-MJLAGQYC.mjs} +5 -4
- package/dist/{product-type-metadata-F3FTI6OG.mjs → product-type-metadata-JPFREADV.mjs} +4 -2
- package/dist/{product-variant-detail-OUHBUY4J.mjs → product-variant-detail-BSLEUW5J.mjs} +7 -5
- package/dist/{product-variant-edit-NBYHDUJ5.mjs → product-variant-edit-VOW5633S.mjs} +8 -3
- package/dist/{product-variant-manage-inventory-items-TM3VAHBJ.mjs → product-variant-manage-inventory-items-LGRRKHT2.mjs} +1 -1
- package/dist/{product-variant-metadata-XDVLJYGQ.mjs → product-variant-metadata-KDSV47PE.mjs} +4 -2
- 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-JXBRCUXL.mjs} +3 -2
- package/dist/{promotion-create-UUOG52D5.mjs → promotion-create-YPX2R3ZB.mjs} +20 -7
- package/dist/{promotion-detail-6ZD7Z6BF.mjs → promotion-detail-VB5GZDCC.mjs} +7 -5
- package/dist/{promotion-edit-details-HQLYX4X4.mjs → promotion-edit-details-I5DYHQUM.mjs} +9 -1
- package/dist/{promotion-list-GI64LDWI.mjs → promotion-list-NAUTWXNU.mjs} +8 -7
- package/dist/refund-reason-create-CYHPXX2O.mjs +158 -0
- package/dist/refund-reason-edit-E2HDAQZI.mjs +144 -0
- package/dist/refund-reason-list-VBHGRLJJ.mjs +241 -0
- package/dist/{region-add-countries-Y4YAHDUZ.mjs → region-add-countries-6GSF4CKJ.mjs} +3 -2
- package/dist/{region-create-5Y3GIQBV.mjs → region-create-4C42KVB4.mjs} +30 -14
- package/dist/{region-detail-CWRFM6P3.mjs → region-detail-PB7EUSTD.mjs} +5 -4
- package/dist/{region-edit-JWQWCLM3.mjs → region-edit-CLE5VVRP.mjs} +21 -5
- package/dist/{region-list-FQNI7F37.mjs → region-list-52LF5S4S.mjs} +5 -4
- package/dist/{region-metadata-IQVB4ERU.mjs → region-metadata-NXD563F4.mjs} +4 -2
- package/dist/{reservation-create-7RFXWDXB.mjs → reservation-create-CBWJLYHP.mjs} +1 -1
- package/dist/{reservation-detail-RTGHD35L.mjs → reservation-detail-64MMXK7D.mjs} +6 -4
- package/dist/{reservation-list-UOC7RNRZ.mjs → reservation-list-YNG7YKG2.mjs} +5 -4
- package/dist/{reservation-metadata-WKJXBRLQ.mjs → reservation-metadata-4GZCEGM7.mjs} +4 -2
- package/dist/{reset-password-SXA6YKTJ.mjs → reset-password-ZCKXQZNQ.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-EAWW7ADY.mjs} +6 -4
- package/dist/{sales-channel-create-3MPOMVPD.mjs → sales-channel-create-VW2UPYSI.mjs} +2 -0
- package/dist/{sales-channel-detail-WESBK6Q7.mjs → sales-channel-detail-3F3HFTD2.mjs} +8 -6
- package/dist/{sales-channel-edit-LSLAM7A4.mjs → sales-channel-edit-OA6QPIHW.mjs} +2 -0
- package/dist/{sales-channel-list-ADIJMXNV.mjs → sales-channel-list-R4HT6A7P.mjs} +6 -4
- package/dist/{sales-channel-metadata-2OQAHYB4.mjs → sales-channel-metadata-LAHTTRLQ.mjs} +4 -2
- package/dist/{shipping-option-type-create-3CGPGDYJ.mjs → shipping-option-type-create-IPKK5MRS.mjs} +2 -1
- package/dist/{shipping-option-type-detail-S23H2OGW.mjs → shipping-option-type-detail-NEQ4RA5F.mjs} +6 -4
- package/dist/{shipping-option-type-edit-IHE7XM6M.mjs → shipping-option-type-edit-CC64TWSB.mjs} +2 -1
- package/dist/{shipping-option-type-list-47GRJ6EC.mjs → shipping-option-type-list-3GTGTBK7.mjs} +8 -6
- package/dist/{shipping-profile-detail-FDUPDSH4.mjs → shipping-profile-detail-FS46IJZP.mjs} +3 -2
- package/dist/{shipping-profile-metadata-OXWOXAAR.mjs → shipping-profile-metadata-EPVLPEEM.mjs} +4 -2
- 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-PUOKMK4K.mjs} +7 -5
- package/dist/{store-edit-EU55TNFU.mjs → store-edit-3DU5MC25.mjs} +24 -12
- package/dist/{store-metadata-JP2CI7EF.mjs → store-metadata-JYIVRRLW.mjs} +4 -2
- package/dist/{tax-region-create-W3K5IFD3.mjs → tax-region-create-2GDG36NQ.mjs} +5 -4
- package/dist/{tax-region-detail-V2F2DONN.mjs → tax-region-detail-MQKBEBOZ.mjs} +9 -7
- package/dist/{tax-region-edit-CJPMYTBF.mjs → tax-region-edit-2H5ACSFG.mjs} +3 -2
- 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-HNK2ZJWL.mjs} +8 -6
- package/dist/{tax-region-tax-override-create-3SCIOK4P.mjs → tax-region-tax-override-create-XZJ3EIFJ.mjs} +15 -9
- package/dist/{tax-region-tax-override-edit-P3QJKET3.mjs → tax-region-tax-override-edit-QHQHFI2Y.mjs} +15 -9
- 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-ZIWKV6QD.mjs} +3 -2
- package/dist/{user-invite-W26LOOW7.mjs → user-invite-KUH4AI2L.mjs} +4 -3
- package/dist/{user-list-3YFYZFSK.mjs → user-list-TPBPZ7KJ.mjs} +4 -3
- package/dist/{user-metadata-ZURLDLGC.mjs → user-metadata-F6KRFYDW.mjs} +4 -2
- package/dist/{workflow-execution-detail-4R6AFFHV.mjs → workflow-execution-detail-JRJZATNU.mjs} +8 -3
- 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/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/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 +185 -65
- package/src/i18n/translations/en.json +32 -0
- 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/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 +3 -0
- 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-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 +8 -2
- 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 +130 -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/{order-edit-shipping-address-3QFMQP4I.mjs → order-edit-shipping-address-WFN2SVKM.mjs}
RENAMED
@@ -3,7 +3,7 @@ import {
|
|
3
3
|
} from "./chunk-F7LJJHQT.mjs";
|
4
4
|
import {
|
5
5
|
CountrySelect
|
6
|
-
} from "./chunk-
|
6
|
+
} from "./chunk-IRO6DO7J.mjs";
|
7
7
|
import "./chunk-IUCDCPJU.mjs";
|
8
8
|
import {
|
9
9
|
KeyboundForm
|
@@ -16,8 +16,9 @@ import "./chunk-DG7J63J2.mjs";
|
|
16
16
|
import {
|
17
17
|
Form
|
18
18
|
} from "./chunk-OBQI23QM.mjs";
|
19
|
-
import "./chunk-
|
19
|
+
import "./chunk-BSBCIU6C.mjs";
|
20
20
|
import "./chunk-KOSCMAIC.mjs";
|
21
|
+
import "./chunk-5U3FFMC7.mjs";
|
21
22
|
import "./chunk-X6DSNTTX.mjs";
|
22
23
|
import "./chunk-I6E6CALJ.mjs";
|
23
24
|
import "./chunk-4RG7UJCT.mjs";
|
@@ -9,7 +9,7 @@ import {
|
|
9
9
|
ConfigurableDataTable,
|
10
10
|
createTableAdapter,
|
11
11
|
orderColumnAdapter
|
12
|
-
} from "./chunk-
|
12
|
+
} from "./chunk-6RWF7BPW.mjs";
|
13
13
|
import "./chunk-3I6G3NRU.mjs";
|
14
14
|
import "./chunk-SJ3E4T6B.mjs";
|
15
15
|
import "./chunk-INE2QCSC.mjs";
|
@@ -21,20 +21,20 @@ import "./chunk-P3UUX2T6.mjs";
|
|
21
21
|
import {
|
22
22
|
_DataTable,
|
23
23
|
useDataTable
|
24
|
-
} from "./chunk-
|
24
|
+
} from "./chunk-EYL2JACT.mjs";
|
25
25
|
import "./chunk-YEDAFXMB.mjs";
|
26
|
-
import "./chunk-
|
26
|
+
import "./chunk-HQKGZADC.mjs";
|
27
27
|
import "./chunk-EMIHDNB7.mjs";
|
28
28
|
import "./chunk-DK4WIVY6.mjs";
|
29
29
|
import "./chunk-Z26G6WFJ.mjs";
|
30
30
|
import "./chunk-M3VFKDXJ.mjs";
|
31
31
|
import {
|
32
32
|
SingleColumnPage
|
33
|
-
} from "./chunk-
|
33
|
+
} from "./chunk-GIZFNLKK.mjs";
|
34
34
|
import {
|
35
35
|
useDataTableDateFilters
|
36
36
|
} from "./chunk-Q33G337Z.mjs";
|
37
|
-
import "./chunk-
|
37
|
+
import "./chunk-OQPVQGSH.mjs";
|
38
38
|
import "./chunk-C76H5USB.mjs";
|
39
39
|
import "./chunk-PFKKVLZX.mjs";
|
40
40
|
import "./chunk-MNXC6Q4F.mjs";
|
@@ -46,8 +46,9 @@ import {
|
|
46
46
|
useFeatureFlag
|
47
47
|
} from "./chunk-RM6NY572.mjs";
|
48
48
|
import "./chunk-LPEUYMRK.mjs";
|
49
|
-
import "./chunk-
|
49
|
+
import "./chunk-OZPB6JBL.mjs";
|
50
50
|
import "./chunk-OC7BQLYI.mjs";
|
51
|
+
import "./chunk-S4DMV3ZT.mjs";
|
51
52
|
import "./chunk-67ORSRVT.mjs";
|
52
53
|
import {
|
53
54
|
useOrders
|
@@ -1,14 +1,16 @@
|
|
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-BSBCIU6C.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
16
|
import "./chunk-4RG7UJCT.mjs";
|
@@ -28,8 +28,9 @@ import {
|
|
28
28
|
import {
|
29
29
|
Form
|
30
30
|
} from "./chunk-OBQI23QM.mjs";
|
31
|
-
import "./chunk-
|
31
|
+
import "./chunk-BSBCIU6C.mjs";
|
32
32
|
import "./chunk-KOSCMAIC.mjs";
|
33
|
+
import "./chunk-5U3FFMC7.mjs";
|
33
34
|
import "./chunk-X6DSNTTX.mjs";
|
34
35
|
import "./chunk-I6E6CALJ.mjs";
|
35
36
|
import "./chunk-4RG7UJCT.mjs";
|
@@ -458,7 +459,8 @@ function OrderReceiveReturnForm({
|
|
458
459
|
/* @__PURE__ */ jsx2(Form.Control, { children: /* @__PURE__ */ jsx2(
|
459
460
|
Switch,
|
460
461
|
{
|
461
|
-
|
462
|
+
dir: "ltr",
|
463
|
+
className: "mt-1 self-start rtl:rotate-180",
|
462
464
|
checked: !!value,
|
463
465
|
onCheckedChange: onChange,
|
464
466
|
...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 "./chunk-IUCDCPJU.mjs";
|
11
11
|
import {
|
12
12
|
KeyboundForm
|
@@ -18,8 +18,9 @@ import {
|
|
18
18
|
import {
|
19
19
|
Form
|
20
20
|
} from "./chunk-OBQI23QM.mjs";
|
21
|
-
import "./chunk-
|
21
|
+
import "./chunk-BSBCIU6C.mjs";
|
22
22
|
import "./chunk-KOSCMAIC.mjs";
|
23
|
+
import "./chunk-5U3FFMC7.mjs";
|
23
24
|
import "./chunk-X6DSNTTX.mjs";
|
24
25
|
import "./chunk-I6E6CALJ.mjs";
|
25
26
|
import "./chunk-4RG7UJCT.mjs";
|
package/dist/{price-list-configuration-435QDWB2.mjs → price-list-configuration-HF3DARKG.mjs}
RENAMED
@@ -1,14 +1,14 @@
|
|
1
1
|
import {
|
2
2
|
PriceListCustomerGroupRuleForm
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-KTL6E2WT.mjs";
|
4
4
|
import "./chunk-ZJRFL6ZN.mjs";
|
5
5
|
import "./chunk-MOSRJHJ3.mjs";
|
6
6
|
import "./chunk-MSDRGCRR.mjs";
|
7
7
|
import "./chunk-LQTHYS2Z.mjs";
|
8
8
|
import "./chunk-P3UUX2T6.mjs";
|
9
|
-
import "./chunk-
|
9
|
+
import "./chunk-EYL2JACT.mjs";
|
10
10
|
import "./chunk-YEDAFXMB.mjs";
|
11
|
-
import "./chunk-
|
11
|
+
import "./chunk-HQKGZADC.mjs";
|
12
12
|
import "./chunk-EMIHDNB7.mjs";
|
13
13
|
import "./chunk-DLZWPHHO.mjs";
|
14
14
|
import "./chunk-Z26G6WFJ.mjs";
|
@@ -27,6 +27,7 @@ import {
|
|
27
27
|
} from "./chunk-4TC5YS65.mjs";
|
28
28
|
import "./chunk-LPEUYMRK.mjs";
|
29
29
|
import "./chunk-OC7BQLYI.mjs";
|
30
|
+
import "./chunk-S4DMV3ZT.mjs";
|
30
31
|
import "./chunk-67ORSRVT.mjs";
|
31
32
|
import {
|
32
33
|
Form
|
@@ -1,13 +1,13 @@
|
|
1
1
|
import {
|
2
2
|
PriceListCustomerGroupRuleForm
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-KTL6E2WT.mjs";
|
4
4
|
import "./chunk-ZJRFL6ZN.mjs";
|
5
5
|
import {
|
6
6
|
PriceListCreateProductsSchema,
|
7
7
|
PriceListRulesSchema,
|
8
8
|
usePriceListCurrencyData,
|
9
9
|
usePriceListGridColumns
|
10
|
-
} from "./chunk-
|
10
|
+
} from "./chunk-P2O6XTD4.mjs";
|
11
11
|
import {
|
12
12
|
exctractPricesFromProducts,
|
13
13
|
isProductRow
|
@@ -29,18 +29,18 @@ import "./chunk-P3UUX2T6.mjs";
|
|
29
29
|
import {
|
30
30
|
_DataTable,
|
31
31
|
useDataTable
|
32
|
-
} from "./chunk-
|
32
|
+
} from "./chunk-EYL2JACT.mjs";
|
33
33
|
import "./chunk-YEDAFXMB.mjs";
|
34
|
-
import "./chunk-
|
34
|
+
import "./chunk-HQKGZADC.mjs";
|
35
35
|
import "./chunk-EMIHDNB7.mjs";
|
36
36
|
import {
|
37
37
|
DataGrid
|
38
|
-
} from "./chunk-
|
38
|
+
} from "./chunk-NKVMOKZA.mjs";
|
39
39
|
import "./chunk-DK4WIVY6.mjs";
|
40
40
|
import "./chunk-DLZWPHHO.mjs";
|
41
41
|
import {
|
42
42
|
useProductTableFilters
|
43
|
-
} from "./chunk-
|
43
|
+
} from "./chunk-YPDTZXV6.mjs";
|
44
44
|
import "./chunk-Z26G6WFJ.mjs";
|
45
45
|
import "./chunk-M3VFKDXJ.mjs";
|
46
46
|
import "./chunk-C76H5USB.mjs";
|
@@ -59,12 +59,16 @@ import {
|
|
59
59
|
import "./chunk-MNXC6Q4F.mjs";
|
60
60
|
import "./chunk-LPEUYMRK.mjs";
|
61
61
|
import "./chunk-OC7BQLYI.mjs";
|
62
|
+
import {
|
63
|
+
useDocumentDirection
|
64
|
+
} from "./chunk-S4DMV3ZT.mjs";
|
62
65
|
import "./chunk-67ORSRVT.mjs";
|
63
66
|
import {
|
64
67
|
Form
|
65
68
|
} from "./chunk-OBQI23QM.mjs";
|
66
|
-
import "./chunk-
|
69
|
+
import "./chunk-BSBCIU6C.mjs";
|
67
70
|
import "./chunk-KOSCMAIC.mjs";
|
71
|
+
import "./chunk-5U3FFMC7.mjs";
|
68
72
|
import "./chunk-X6DSNTTX.mjs";
|
69
73
|
import "./chunk-I6E6CALJ.mjs";
|
70
74
|
import "./chunk-4RG7UJCT.mjs";
|
@@ -127,6 +131,7 @@ import { useTranslation } from "react-i18next";
|
|
127
131
|
import { jsx, jsxs } from "react/jsx-runtime";
|
128
132
|
var PriceListDetailsForm = ({ form }) => {
|
129
133
|
const { t } = useTranslation();
|
134
|
+
const direction = useDocumentDirection();
|
130
135
|
const { fields, remove, append } = useFieldArray({
|
131
136
|
control: form.control,
|
132
137
|
name: "rules.customer_group_id",
|
@@ -166,6 +171,7 @@ var PriceListDetailsForm = ({ form }) => {
|
|
166
171
|
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
167
172
|
RadioGroup,
|
168
173
|
{
|
174
|
+
dir: direction,
|
169
175
|
onValueChange: onChange,
|
170
176
|
...rest,
|
171
177
|
className: "grid grid-cols-1 gap-4 md:grid-cols-2",
|
@@ -225,13 +231,21 @@ var PriceListDetailsForm = ({ form }) => {
|
|
225
231
|
render: ({ field: { onChange, ref, ...field } }) => {
|
226
232
|
return /* @__PURE__ */ jsxs(Form.Item, { children: [
|
227
233
|
/* @__PURE__ */ jsx(Form.Label, { children: t("priceLists.fields.status.label") }),
|
228
|
-
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
229
|
-
|
230
|
-
|
231
|
-
|
232
|
-
|
233
|
-
|
234
|
-
|
234
|
+
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
235
|
+
Select,
|
236
|
+
{
|
237
|
+
dir: direction,
|
238
|
+
...field,
|
239
|
+
onValueChange: onChange,
|
240
|
+
children: [
|
241
|
+
/* @__PURE__ */ jsx(Select.Trigger, { ref, children: /* @__PURE__ */ jsx(Select.Value, {}) }),
|
242
|
+
/* @__PURE__ */ jsxs(Select.Content, { children: [
|
243
|
+
/* @__PURE__ */ jsx(Select.Item, { value: "active", children: t("priceLists.fields.status.options.active") }),
|
244
|
+
/* @__PURE__ */ jsx(Select.Item, { value: "draft", children: t("priceLists.fields.status.options.draft") })
|
245
|
+
] })
|
246
|
+
]
|
247
|
+
}
|
248
|
+
) }),
|
235
249
|
/* @__PURE__ */ jsx(Form.ErrorMessage, {})
|
236
250
|
] });
|
237
251
|
}
|
@@ -666,6 +680,7 @@ var PriceListCreateForm = ({
|
|
666
680
|
const [tabState, setTabState] = useState2(initialTabState);
|
667
681
|
const { t } = useTranslation3();
|
668
682
|
const { handleSuccess } = useRouteModal();
|
683
|
+
const direction = useDocumentDirection();
|
669
684
|
const form = useForm({
|
670
685
|
defaultValues: {
|
671
686
|
type: "sale",
|
@@ -817,6 +832,7 @@ var PriceListCreateForm = ({
|
|
817
832
|
return /* @__PURE__ */ jsx4(RouteFocusModal.Form, { form, children: /* @__PURE__ */ jsx4(
|
818
833
|
ProgressTabs,
|
819
834
|
{
|
835
|
+
dir: direction,
|
820
836
|
value: tab,
|
821
837
|
onValueChange: (tab2) => handleChangeTab(tab2),
|
822
838
|
className: "flex h-full flex-col overflow-hidden",
|
@@ -25,18 +25,18 @@ import "./chunk-P3UUX2T6.mjs";
|
|
25
25
|
import {
|
26
26
|
_DataTable,
|
27
27
|
useDataTable
|
28
|
-
} from "./chunk-
|
28
|
+
} from "./chunk-EYL2JACT.mjs";
|
29
29
|
import "./chunk-YEDAFXMB.mjs";
|
30
|
-
import "./chunk-
|
30
|
+
import "./chunk-HQKGZADC.mjs";
|
31
31
|
import "./chunk-EMIHDNB7.mjs";
|
32
32
|
import {
|
33
33
|
useProductTableFilters
|
34
|
-
} from "./chunk-
|
34
|
+
} from "./chunk-YPDTZXV6.mjs";
|
35
35
|
import "./chunk-Z26G6WFJ.mjs";
|
36
36
|
import "./chunk-M3VFKDXJ.mjs";
|
37
37
|
import {
|
38
38
|
TwoColumnPage
|
39
|
-
} from "./chunk-
|
39
|
+
} from "./chunk-GIZFNLKK.mjs";
|
40
40
|
import "./chunk-C76H5USB.mjs";
|
41
41
|
import "./chunk-PFKKVLZX.mjs";
|
42
42
|
import "./chunk-6GU6IDUA.mjs";
|
@@ -50,11 +50,13 @@ import {
|
|
50
50
|
} from "./chunk-LPEUYMRK.mjs";
|
51
51
|
import {
|
52
52
|
ActionMenu
|
53
|
-
} from "./chunk-
|
53
|
+
} from "./chunk-OZPB6JBL.mjs";
|
54
54
|
import "./chunk-OC7BQLYI.mjs";
|
55
|
+
import "./chunk-S4DMV3ZT.mjs";
|
55
56
|
import "./chunk-67ORSRVT.mjs";
|
56
|
-
import "./chunk-
|
57
|
+
import "./chunk-BSBCIU6C.mjs";
|
57
58
|
import "./chunk-KOSCMAIC.mjs";
|
59
|
+
import "./chunk-5U3FFMC7.mjs";
|
58
60
|
import "./chunk-X6DSNTTX.mjs";
|
59
61
|
import "./chunk-I6E6CALJ.mjs";
|
60
62
|
import "./chunk-4RG7UJCT.mjs";
|
@@ -10,6 +10,9 @@ import {
|
|
10
10
|
RouteDrawer,
|
11
11
|
useRouteModal
|
12
12
|
} from "./chunk-4TC5YS65.mjs";
|
13
|
+
import {
|
14
|
+
useDocumentDirection
|
15
|
+
} from "./chunk-S4DMV3ZT.mjs";
|
13
16
|
import {
|
14
17
|
Form
|
15
18
|
} from "./chunk-OBQI23QM.mjs";
|
@@ -52,6 +55,7 @@ var PriceListEditSchema = z.object({
|
|
52
55
|
var PriceListEditForm = ({ priceList }) => {
|
53
56
|
const { t } = useTranslation();
|
54
57
|
const { handleSuccess } = useRouteModal();
|
58
|
+
const direction = useDocumentDirection();
|
55
59
|
const form = useForm({
|
56
60
|
defaultValues: {
|
57
61
|
type: priceList.type,
|
@@ -95,30 +99,38 @@ var PriceListEditForm = ({ priceList }) => {
|
|
95
99
|
/* @__PURE__ */ jsx(Form.Label, { children: t("priceLists.fields.type.label") }),
|
96
100
|
/* @__PURE__ */ jsx(Form.Hint, { children: t("priceLists.fields.type.hint") })
|
97
101
|
] }),
|
98
|
-
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
"priceLists.fields.type.options.override.label"
|
102
|
+
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
103
|
+
RadioGroup,
|
104
|
+
{
|
105
|
+
dir: direction,
|
106
|
+
...field,
|
107
|
+
onValueChange: onChange,
|
108
|
+
children: [
|
109
|
+
/* @__PURE__ */ jsx(
|
110
|
+
RadioGroup.ChoiceBox,
|
111
|
+
{
|
112
|
+
value: "sale" /* SALE */,
|
113
|
+
label: t("priceLists.fields.type.options.sale.label"),
|
114
|
+
description: t(
|
115
|
+
"priceLists.fields.type.options.sale.description"
|
116
|
+
)
|
117
|
+
}
|
115
118
|
),
|
116
|
-
|
117
|
-
|
119
|
+
/* @__PURE__ */ jsx(
|
120
|
+
RadioGroup.ChoiceBox,
|
121
|
+
{
|
122
|
+
value: "override" /* OVERRIDE */,
|
123
|
+
label: t(
|
124
|
+
"priceLists.fields.type.options.override.label"
|
125
|
+
),
|
126
|
+
description: t(
|
127
|
+
"priceLists.fields.type.options.override.description"
|
128
|
+
)
|
129
|
+
}
|
118
130
|
)
|
119
|
-
|
120
|
-
|
121
|
-
|
131
|
+
]
|
132
|
+
}
|
133
|
+
) }),
|
122
134
|
/* @__PURE__ */ jsx(Form.ErrorMessage, {})
|
123
135
|
] });
|
124
136
|
}
|
@@ -147,13 +159,21 @@ var PriceListEditForm = ({ priceList }) => {
|
|
147
159
|
render: ({ field: { onChange, ref, ...field } }) => {
|
148
160
|
return /* @__PURE__ */ jsxs(Form.Item, { children: [
|
149
161
|
/* @__PURE__ */ jsx(Form.Label, { children: t("priceLists.fields.status.label") }),
|
150
|
-
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
162
|
+
/* @__PURE__ */ jsx(Form.Control, { children: /* @__PURE__ */ jsxs(
|
163
|
+
Select,
|
164
|
+
{
|
165
|
+
dir: direction,
|
166
|
+
...field,
|
167
|
+
onValueChange: onChange,
|
168
|
+
children: [
|
169
|
+
/* @__PURE__ */ jsx(Select.Trigger, { ref, children: /* @__PURE__ */ jsx(Select.Value, {}) }),
|
170
|
+
/* @__PURE__ */ jsxs(Select.Content, { children: [
|
171
|
+
/* @__PURE__ */ jsx(Select.Item, { value: "active" /* ACTIVE */, children: t("priceLists.fields.status.options.active") }),
|
172
|
+
/* @__PURE__ */ jsx(Select.Item, { value: "draft" /* DRAFT */, children: t("priceLists.fields.status.options.draft") })
|
173
|
+
] })
|
174
|
+
]
|
175
|
+
}
|
176
|
+
) }),
|
157
177
|
/* @__PURE__ */ jsx(Form.ErrorMessage, {})
|
158
178
|
] });
|
159
179
|
}
|
@@ -17,9 +17,9 @@ import "./chunk-P3UUX2T6.mjs";
|
|
17
17
|
import {
|
18
18
|
_DataTable,
|
19
19
|
useDataTable
|
20
|
-
} from "./chunk-
|
20
|
+
} from "./chunk-EYL2JACT.mjs";
|
21
21
|
import "./chunk-YEDAFXMB.mjs";
|
22
|
-
import "./chunk-
|
22
|
+
import "./chunk-HQKGZADC.mjs";
|
23
23
|
import "./chunk-EMIHDNB7.mjs";
|
24
24
|
import {
|
25
25
|
useDateTableFilters
|
@@ -28,7 +28,7 @@ import "./chunk-Z26G6WFJ.mjs";
|
|
28
28
|
import "./chunk-M3VFKDXJ.mjs";
|
29
29
|
import {
|
30
30
|
SingleColumnPage
|
31
|
-
} from "./chunk-
|
31
|
+
} from "./chunk-GIZFNLKK.mjs";
|
32
32
|
import {
|
33
33
|
useQueryParams
|
34
34
|
} from "./chunk-C76H5USB.mjs";
|
@@ -40,8 +40,9 @@ import {
|
|
40
40
|
import "./chunk-LPEUYMRK.mjs";
|
41
41
|
import {
|
42
42
|
ActionMenu
|
43
|
-
} from "./chunk-
|
43
|
+
} from "./chunk-OZPB6JBL.mjs";
|
44
44
|
import "./chunk-OC7BQLYI.mjs";
|
45
|
+
import "./chunk-S4DMV3ZT.mjs";
|
45
46
|
import "./chunk-67ORSRVT.mjs";
|
46
47
|
import {
|
47
48
|
usePriceLists
|
@@ -2,7 +2,7 @@ import {
|
|
2
2
|
PriceListCreateProductsSchema,
|
3
3
|
usePriceListCurrencyData,
|
4
4
|
usePriceListGridColumns
|
5
|
-
} from "./chunk-
|
5
|
+
} from "./chunk-P2O6XTD4.mjs";
|
6
6
|
import {
|
7
7
|
exctractPricesFromProducts,
|
8
8
|
isProductRow
|
@@ -22,17 +22,17 @@ import "./chunk-P3UUX2T6.mjs";
|
|
22
22
|
import {
|
23
23
|
_DataTable,
|
24
24
|
useDataTable
|
25
|
-
} from "./chunk-
|
25
|
+
} from "./chunk-EYL2JACT.mjs";
|
26
26
|
import "./chunk-YEDAFXMB.mjs";
|
27
|
-
import "./chunk-
|
27
|
+
import "./chunk-HQKGZADC.mjs";
|
28
28
|
import "./chunk-EMIHDNB7.mjs";
|
29
29
|
import {
|
30
30
|
DataGrid
|
31
|
-
} from "./chunk-
|
31
|
+
} from "./chunk-NKVMOKZA.mjs";
|
32
32
|
import "./chunk-DK4WIVY6.mjs";
|
33
33
|
import {
|
34
34
|
useProductTableFilters
|
35
|
-
} from "./chunk-
|
35
|
+
} from "./chunk-YPDTZXV6.mjs";
|
36
36
|
import "./chunk-Z26G6WFJ.mjs";
|
37
37
|
import "./chunk-M3VFKDXJ.mjs";
|
38
38
|
import "./chunk-C76H5USB.mjs";
|
@@ -49,10 +49,14 @@ import {
|
|
49
49
|
import "./chunk-MNXC6Q4F.mjs";
|
50
50
|
import "./chunk-LPEUYMRK.mjs";
|
51
51
|
import "./chunk-OC7BQLYI.mjs";
|
52
|
+
import {
|
53
|
+
useDocumentDirection
|
54
|
+
} from "./chunk-S4DMV3ZT.mjs";
|
52
55
|
import "./chunk-67ORSRVT.mjs";
|
53
56
|
import "./chunk-OBQI23QM.mjs";
|
54
|
-
import "./chunk-
|
57
|
+
import "./chunk-BSBCIU6C.mjs";
|
55
58
|
import "./chunk-KOSCMAIC.mjs";
|
59
|
+
import "./chunk-5U3FFMC7.mjs";
|
56
60
|
import "./chunk-X6DSNTTX.mjs";
|
57
61
|
import "./chunk-I6E6CALJ.mjs";
|
58
62
|
import "./chunk-4RG7UJCT.mjs";
|
@@ -373,6 +377,7 @@ var PriceListPricesAddForm = ({
|
|
373
377
|
const [tabState, setTabState] = useState2(initialTabState);
|
374
378
|
const { t } = useTranslation2();
|
375
379
|
const { handleSuccess } = useRouteModal();
|
380
|
+
const direction = useDocumentDirection();
|
376
381
|
const form = useForm({
|
377
382
|
defaultValues: {
|
378
383
|
products: {},
|
@@ -399,10 +404,13 @@ var PriceListPricesAddForm = ({
|
|
399
404
|
});
|
400
405
|
const partialFormValidation = (fields, schema) => {
|
401
406
|
form.clearErrors(fields);
|
402
|
-
const values = fields.reduce(
|
403
|
-
acc
|
404
|
-
|
405
|
-
|
407
|
+
const values = fields.reduce(
|
408
|
+
(acc, key) => {
|
409
|
+
acc[key] = form.getValues(key);
|
410
|
+
return acc;
|
411
|
+
},
|
412
|
+
{}
|
413
|
+
);
|
406
414
|
const validationResult = schema.safeParse(values);
|
407
415
|
if (!validationResult.success) {
|
408
416
|
validationResult.error.errors.forEach(({ path, message, code }) => {
|
@@ -482,6 +490,7 @@ var PriceListPricesAddForm = ({
|
|
482
490
|
return /* @__PURE__ */ jsx3(RouteFocusModal.Form, { form, children: /* @__PURE__ */ jsx3(
|
483
491
|
ProgressTabs,
|
484
492
|
{
|
493
|
+
dir: direction,
|
485
494
|
value: tab,
|
486
495
|
onValueChange: (tab2) => handleChangeTab(tab2),
|
487
496
|
className: "flex h-full flex-col overflow-hidden",
|
@@ -2,14 +2,14 @@ import {
|
|
2
2
|
PriceListUpdateProductsSchema,
|
3
3
|
usePriceListCurrencyData,
|
4
4
|
usePriceListGridColumns
|
5
|
-
} from "./chunk-
|
5
|
+
} from "./chunk-P2O6XTD4.mjs";
|
6
6
|
import {
|
7
7
|
isProductRow
|
8
8
|
} from "./chunk-G2J2T2QU.mjs";
|
9
9
|
import "./chunk-XUQVQCAO.mjs";
|
10
10
|
import {
|
11
11
|
DataGrid
|
12
|
-
} from "./chunk-
|
12
|
+
} from "./chunk-NKVMOKZA.mjs";
|
13
13
|
import "./chunk-DK4WIVY6.mjs";
|
14
14
|
import {
|
15
15
|
castNumber
|
@@ -25,6 +25,7 @@ import {
|
|
25
25
|
import "./chunk-MNXC6Q4F.mjs";
|
26
26
|
import "./chunk-LPEUYMRK.mjs";
|
27
27
|
import "./chunk-OC7BQLYI.mjs";
|
28
|
+
import "./chunk-S4DMV3ZT.mjs";
|
28
29
|
import "./chunk-OBQI23QM.mjs";
|
29
30
|
import {
|
30
31
|
useBatchPriceListPrices,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import {
|
2
2
|
CountrySelect
|
3
|
-
} from "./chunk-
|
3
|
+
} from "./chunk-IRO6DO7J.mjs";
|
4
4
|
import "./chunk-IUCDCPJU.mjs";
|
5
5
|
import {
|
6
6
|
KeyboundForm
|
@@ -11,17 +11,17 @@ import {
|
|
11
11
|
} from "./chunk-4TC5YS65.mjs";
|
12
12
|
import {
|
13
13
|
PRODUCT_DETAIL_FIELDS
|
14
|
-
} from "./chunk-
|
14
|
+
} from "./chunk-U2FXUMKA.mjs";
|
15
15
|
import {
|
16
16
|
FormExtensionZone,
|
17
17
|
useExtendableForm
|
18
|
-
} from "./chunk-
|
18
|
+
} from "./chunk-CAZKNJTG.mjs";
|
19
19
|
import "./chunk-NQIC7ZFS.mjs";
|
20
20
|
import "./chunk-ONB3JEHR.mjs";
|
21
21
|
import "./chunk-4GQOUCX6.mjs";
|
22
22
|
import "./chunk-2VTICXJR.mjs";
|
23
23
|
import "./chunk-D3YQN7HV.mjs";
|
24
|
-
import "./chunk-
|
24
|
+
import "./chunk-YPSSUJUZ.mjs";
|
25
25
|
import "./chunk-MNXC6Q4F.mjs";
|
26
26
|
import {
|
27
27
|
useExtension
|
@@ -29,15 +29,17 @@ import {
|
|
29
29
|
import "./chunk-DG7J63J2.mjs";
|
30
30
|
import "./chunk-RM6NY572.mjs";
|
31
31
|
import "./chunk-LPEUYMRK.mjs";
|
32
|
-
import "./chunk-
|
33
|
-
import "./chunk-
|
32
|
+
import "./chunk-ZCARHA6C.mjs";
|
33
|
+
import "./chunk-OZPB6JBL.mjs";
|
34
34
|
import "./chunk-OC7BQLYI.mjs";
|
35
|
+
import "./chunk-S4DMV3ZT.mjs";
|
35
36
|
import "./chunk-67ORSRVT.mjs";
|
36
37
|
import {
|
37
38
|
Form
|
38
39
|
} from "./chunk-OBQI23QM.mjs";
|
39
|
-
import "./chunk-
|
40
|
+
import "./chunk-BSBCIU6C.mjs";
|
40
41
|
import "./chunk-KOSCMAIC.mjs";
|
42
|
+
import "./chunk-5U3FFMC7.mjs";
|
41
43
|
import "./chunk-X6DSNTTX.mjs";
|
42
44
|
import "./chunk-I6E6CALJ.mjs";
|
43
45
|
import "./chunk-4RG7UJCT.mjs";
|