@medusajs/dashboard 3.0.0-snapshot-20251216135612 → 3.0.0-snapshot-20260102125810
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-locales-2OZXZCT5.mjs +81 -0
- package/dist/{adjust-inventory-26YXAXQL.mjs → adjust-inventory-47KGDWME.mjs} +2 -2
- package/dist/{api-key-management-create-EMP32G2D.mjs → api-key-management-create-EFPPZPZ7.mjs} +4 -4
- package/dist/{api-key-management-detail-6RCDH73M.mjs → api-key-management-detail-4IFED7SF.mjs} +15 -15
- package/dist/{api-key-management-edit-IBM3ZXHK.mjs → api-key-management-edit-QGVBNLUL.mjs} +4 -4
- package/dist/{api-key-management-list-KC5GOWAU.mjs → api-key-management-list-ROIJIIPQ.mjs} +4 -4
- package/dist/{api-key-management-sales-channels-LUB5G6RC.mjs → api-key-management-sales-channels-7P5L45AT.mjs} +6 -6
- package/dist/app.css +39 -3
- package/dist/app.js +18590 -16625
- package/dist/app.mjs +13 -13
- package/dist/{campaign-create-FJOECKGT.mjs → campaign-create-EZGZ4SBQ.mjs} +3 -3
- package/dist/{campaign-detail-5Q4BYCPX.mjs → campaign-detail-NFKLFPY4.mjs} +12 -12
- package/dist/{categories-metadata-J7M3XWI7.mjs → categories-metadata-G7BACZ26.mjs} +12 -12
- package/dist/{category-create-KHJZSC7G.mjs → category-create-7MV25HYX.mjs} +6 -6
- package/dist/{category-detail-S5IPXMHX.mjs → category-detail-XJQQ7UU4.mjs} +14 -14
- package/dist/{category-edit-CTA2EPDG.mjs → category-edit-LV7EARAB.mjs} +3 -3
- package/dist/{category-list-QBYJ4T3R.mjs → category-list-NIVLV5S3.mjs} +6 -6
- package/dist/{category-organize-SXP33XET.mjs → category-organize-SCRGWKDG.mjs} +3 -3
- package/dist/{category-products-KPW6BA5J.mjs → category-products-FXFSMCR6.mjs} +13 -13
- package/dist/{chunk-OXPE5TAY.mjs → chunk-24C2YVFU.mjs} +1 -1
- package/dist/{chunk-4JQR6QNW.mjs → chunk-333HK6Y6.mjs} +2 -2
- package/dist/{chunk-DODQ3KJT.mjs → chunk-3RRA56WC.mjs} +8 -3
- package/dist/{chunk-5LGRZSEH.mjs → chunk-3YPZ3R4U.mjs} +1 -1
- package/dist/{chunk-2DULKOPN.mjs → chunk-5ISRTMYH.mjs} +1 -1
- package/dist/{chunk-PHLCT2HA.mjs → chunk-5ZPKY5XP.mjs} +1 -1
- package/dist/{chunk-U6G4M5LP.mjs → chunk-6EXKKRZY.mjs} +1 -1
- package/dist/{chunk-GRZSG4EP.mjs → chunk-74WPAWMW.mjs} +127 -226
- package/dist/chunk-7AXHHXCX.mjs +4 -0
- package/dist/{chunk-YKYVCQRS.mjs → chunk-BJ44US4R.mjs} +382 -242
- package/dist/{chunk-BMS2QLJY.mjs → chunk-BMJ5RYIO.mjs} +1 -1
- package/dist/{chunk-Y2YVTIJI.mjs → chunk-CW5PQUJ6.mjs} +1 -1
- package/dist/{chunk-IAV7IKJ6.mjs → chunk-DN5BRKVN.mjs} +1 -1
- package/dist/{chunk-RS7DWLEP.mjs → chunk-DQUXK4WW.mjs} +1 -1
- package/dist/{chunk-2XTBDCGE.mjs → chunk-DWH2OQFK.mjs} +1 -1
- package/dist/{chunk-CCQD65EY.mjs → chunk-FKNW5MLZ.mjs} +360 -288
- package/dist/{chunk-HTCYX4VD.mjs → chunk-G35UUG2P.mjs} +1 -1
- package/dist/{chunk-QKALAT7P.mjs → chunk-GGONMC2N.mjs} +1 -1
- package/dist/{chunk-FYWHE3W5.mjs → chunk-GJN5SXGZ.mjs} +1 -1
- package/dist/{chunk-CVHJAKLQ.mjs → chunk-HDO2UCKF.mjs} +1 -1
- package/dist/{chunk-3C6WQ7NH.mjs → chunk-IWNNQ6HA.mjs} +37 -3
- package/dist/{chunk-OL24RDYM.mjs → chunk-KHJL6MUQ.mjs} +8 -8
- package/dist/{chunk-6P4Q4AAP.mjs → chunk-KPI4WFJU.mjs} +3 -3
- package/dist/{chunk-AHZLMCZF.mjs → chunk-KSDXSKJ7.mjs} +1 -1
- package/dist/{chunk-BZKI5J2M.mjs → chunk-L7A2JIQY.mjs} +3 -3
- package/dist/{chunk-XY7A7GZJ.mjs → chunk-LEAMWI5H.mjs} +1 -1
- package/dist/{chunk-A4XYK3MY.mjs → chunk-LG5B2BVB.mjs} +2 -2
- package/dist/{chunk-23GTCEOV.mjs → chunk-ML7BA2NY.mjs} +1 -1
- package/dist/{chunk-OFN7DIZA.mjs → chunk-OYHFHBNL.mjs} +94 -7
- package/dist/{chunk-OSHH5GAS.mjs → chunk-Q34TRFIW.mjs} +1 -13
- package/dist/{chunk-UJ2TMPV4.mjs → chunk-QBIQEVTU.mjs} +0 -12
- package/dist/{chunk-YYOPBKME.mjs → chunk-QHRAWZGA.mjs} +3 -3
- package/dist/{chunk-A2WBKOXJ.mjs → chunk-SO2DE6MM.mjs} +2 -2
- package/dist/chunk-T6DDBLGY.mjs +13 -0
- package/dist/{chunk-EHU67PIM.mjs → chunk-TOCMU7UV.mjs} +7 -3
- package/dist/{chunk-YIOBBZUB.mjs → chunk-U7KANQ5A.mjs} +2 -2
- package/dist/{chunk-Z6BFNHEO.mjs → chunk-UCYUWNJL.mjs} +109 -62
- package/dist/{chunk-WYATCUOM.mjs → chunk-V2RGYIAG.mjs} +10 -10
- package/dist/{chunk-UWY5ZV66.mjs → chunk-VQ73B7ZZ.mjs} +1 -13
- package/dist/chunk-XD72PXRS.mjs +329 -0
- package/dist/{store-add-locales-VJ4RJ7UI.mjs → chunk-YFXI6CWD.mjs} +2 -67
- package/dist/{chunk-AWRCV3ME.mjs → chunk-YM4XGCHB.mjs} +1 -1
- package/dist/{chunk-ZMG5B4FG.mjs → chunk-ZGV5NOTE.mjs} +1 -1
- package/dist/{collection-add-products-FU2BS3D3.mjs → collection-add-products-YDMBU2JY.mjs} +13 -13
- package/dist/{collection-create-GWKWVT7B.mjs → collection-create-RXHEXU6T.mjs} +3 -3
- package/dist/{collection-detail-VJE7XHLV.mjs → collection-detail-75XPGVOX.mjs} +13 -13
- package/dist/{collection-edit-EZIO2BR5.mjs → collection-edit-CGF47VIN.mjs} +3 -3
- package/dist/{collection-list-IGA6SCNF.mjs → collection-list-75N5NYXQ.mjs} +18 -17
- package/dist/{collection-metadata-QK7MI3D2.mjs → collection-metadata-TGGC6HM2.mjs} +12 -12
- package/dist/{customer-detail-MOV2T3LF.mjs → customer-detail-KDLZ23B3.mjs} +17 -16
- package/dist/{customer-group-detail-6T7OXGQD.mjs → customer-group-detail-ZIAVMOYS.mjs} +12 -12
- package/dist/{customer-group-list-AJEAF5D2.mjs → customer-group-list-BDDC5VVZ.mjs} +15 -15
- package/dist/{customers-add-customer-group-QVTVSQYM.mjs → customers-add-customer-group-B3ASQGP6.mjs} +12 -12
- package/dist/{edit-inventory-item-H7DAZWIT.mjs → edit-inventory-item-OKAXQRJ5.mjs} +2 -2
- package/dist/{edit-inventory-item-attributes-7HTXXPGZ.mjs → edit-inventory-item-attributes-FVWDV6O5.mjs} +2 -2
- package/dist/{edit-reservation-OVTRZHJR.mjs → edit-reservation-3PU6YSNJ.mjs} +3 -3
- package/dist/{edit-rules-SMVRTCUP.mjs → edit-rules-LOJ3P4YB.mjs} +14 -14
- package/dist/en.json +85 -5
- package/dist/{inventory-create-ANYUM4P5.mjs → inventory-create-C2WWS7QR.mjs} +13 -13
- package/dist/{inventory-detail-ZPSEMYI2.mjs → inventory-detail-AKOZ4T3Z.mjs} +12 -12
- package/dist/{inventory-list-RXJPSVZE.mjs → inventory-list-DRFJIU2O.mjs} +2 -2
- package/dist/{inventory-metadata-FNEJ3RAT.mjs → inventory-metadata-N6CJZEWD.mjs} +12 -12
- package/dist/{inventory-stock-FD4ZM4BB.mjs → inventory-stock-IJ2N7LKC.mjs} +14 -14
- package/dist/{location-detail-N3GUZSY7.mjs → location-detail-PL4Y43RS.mjs} +16 -16
- package/dist/{location-fulfillment-providers-7ZUJAGNY.mjs → location-fulfillment-providers-2PLOVSXC.mjs} +17 -16
- package/dist/{location-sales-channels-P3QJTFDT.mjs → location-sales-channels-SZARSLWT.mjs} +5 -5
- package/dist/{location-service-zone-shipping-option-create-ZJ4GIBTJ.mjs → location-service-zone-shipping-option-create-CUNSAP24.mjs} +15 -15
- package/dist/{location-service-zone-shipping-option-edit-4CGPQ3VT.mjs → location-service-zone-shipping-option-edit-OJ462SVM.mjs} +1 -1
- package/dist/{location-service-zone-shipping-option-pricing-CR4BVYG3.mjs → location-service-zone-shipping-option-pricing-5HN2Z5RB.mjs} +2 -2
- package/dist/login-VBUNWZHI.mjs +301 -0
- package/dist/{manage-locations-7HH6R4UP.mjs → manage-locations-JPCSBA5D.mjs} +2 -2
- package/dist/{order-allocate-items-HZGGYJ42.mjs → order-allocate-items-6QHQASQJ.mjs} +4 -4
- package/dist/{order-create-claim-SCDJGM46.mjs → order-create-claim-ECVSH5GC.mjs} +22 -22
- package/dist/{order-create-edit-JIE3HDHP.mjs → order-create-edit-EVIOJIXE.mjs} +14 -13
- package/dist/{order-create-exchange-LQU4YN7F.mjs → order-create-exchange-ZVYYOGI3.mjs} +22 -22
- package/dist/{order-create-fulfillment-OWUVTZXW.mjs → order-create-fulfillment-FDIFEV6X.mjs} +16 -16
- package/dist/{order-create-refund-Q6HQY42R.mjs → order-create-refund-TNPGKR5P.mjs} +17 -17
- package/dist/{order-create-return-52GHGW5Z.mjs → order-create-return-NR6XQLDD.mjs} +9 -9
- package/dist/{order-create-shipment-WAGGEPRW.mjs → order-create-shipment-UP3WGRWB.mjs} +12 -12
- package/dist/{order-detail-PVPGEWGY.mjs → order-detail-F6D5DV74.mjs} +28 -28
- package/dist/{order-edit-billing-address-UM76J4KX.mjs → order-edit-billing-address-D4AJ6Z5Q.mjs} +44 -12
- package/dist/{order-edit-email-CL3KNOCM.mjs → order-edit-email-MXYA5BII.mjs} +12 -12
- package/dist/{order-edit-shipping-address-PIESTGVL.mjs → order-edit-shipping-address-GKW2ZPGR.mjs} +42 -12
- package/dist/{order-export-LE363ZLB.mjs → order-export-KQUI2TK7.mjs} +14 -14
- package/dist/{order-list-GRLQWN4L.mjs → order-list-7A5UKGXR.mjs} +11 -11
- package/dist/{order-metadata-FHBB7MTG.mjs → order-metadata-2IXELA7C.mjs} +12 -12
- package/dist/{order-receive-return-PRVKP6J2.mjs → order-receive-return-XXHOXGDC.mjs} +13 -13
- package/dist/{order-request-transfer-XSAGRUMT.mjs → order-request-transfer-2ENR64VR.mjs} +13 -13
- package/dist/{price-list-configuration-6S3MLNXQ.mjs → price-list-configuration-BZ3ZH5FY.mjs} +3 -3
- package/dist/{price-list-create-MFRUQADC.mjs → price-list-create-GFGNP6OS.mjs} +16 -16
- package/dist/{price-list-detail-Q5VG5VGW.mjs → price-list-detail-SNNOR5N7.mjs} +17 -17
- package/dist/{price-list-edit-53UW35L3.mjs → price-list-edit-YW5BXBF2.mjs} +3 -3
- package/dist/{price-list-list-DG5YEZ44.mjs → price-list-list-OF562HME.mjs} +4 -4
- package/dist/{price-list-prices-add-SDU5YZAT.mjs → price-list-prices-add-F7A2EV7L.mjs} +15 -15
- package/dist/{price-list-prices-edit-5USQR4D4.mjs → price-list-prices-edit-PQ26MOJE.mjs} +5 -5
- package/dist/{product-attributes-EFIRUBRO.mjs → product-attributes-JTPGHUXZ.mjs} +13 -13
- package/dist/{product-create-K6EWZHIT.mjs → product-create-VFLLQWVX.mjs} +485 -561
- package/dist/{product-create-variant-ERKHTEJZ.mjs → product-create-variant-PLZ5Q2R6.mjs} +14 -14
- package/dist/{product-detail-DKPZDEIY.mjs → product-detail-ISHFZV7X.mjs} +45 -66
- package/dist/{product-edit-55YXTIGO.mjs → product-edit-6EDDNIM6.mjs} +13 -13
- package/dist/{product-export-5AD7NELI.mjs → product-export-UMMROQ7T.mjs} +18 -17
- package/dist/{product-image-variants-edit-M6QF2RLE.mjs → product-image-variants-edit-VRG3AJID.mjs} +12 -12
- package/dist/{product-import-V3KQN4TV.mjs → product-import-EPS4KDID.mjs} +12 -12
- package/dist/{product-list-EUWZIFTM.mjs → product-list-37O7VB2L.mjs} +20 -20
- package/dist/{product-media-3VJ7KENL.mjs → product-media-IV5NUSLW.mjs} +3 -3
- package/dist/{product-metadata-GL2MVPDI.mjs → product-metadata-KTVRI7B3.mjs} +12 -12
- package/dist/product-option-create-JUGLFR2K.mjs +336 -0
- package/dist/product-option-detail-VVK3YBCE.mjs +331 -0
- package/dist/product-option-edit-7FQSKI2R.mjs +325 -0
- package/dist/product-option-list-YHGRI7OJ.mjs +268 -0
- package/dist/product-option-metadata-P2DHDGYR.mjs +73 -0
- package/dist/product-options-manage-4SZDF5H5.mjs +325 -0
- package/dist/{product-organization-N3VBRXF4.mjs → product-organization-OEUSIWNQ.mjs} +15 -15
- package/dist/{product-prices-4C36AG4R.mjs → product-prices-GUO3KM2U.mjs} +3 -3
- package/dist/{product-sales-channels-PPXUG4KT.mjs → product-sales-channels-BOZD3AC3.mjs} +5 -5
- package/dist/{product-shipping-profile-ETQFZ7DC.mjs → product-shipping-profile-FNFRDY47.mjs} +3 -3
- package/dist/{product-stock-VEGE6SUZ.mjs → product-stock-2DNYG73L.mjs} +14 -14
- package/dist/{product-tag-create-PQMDDKWH.mjs → product-tag-create-CW7GUCZW.mjs} +12 -12
- package/dist/{product-tag-detail-I3MBZX7U.mjs → product-tag-detail-IB5VIZ3K.mjs} +26 -25
- package/dist/{product-tag-edit-K3BBQLJR.mjs → product-tag-edit-ZSXD3DOC.mjs} +12 -12
- package/dist/{product-tag-list-JUWSOMB7.mjs → product-tag-list-MJO5PURP.mjs} +24 -23
- package/dist/{product-tag-metadata-MJH5LH7E.mjs → product-tag-metadata-DAKCXWZF.mjs} +12 -12
- package/dist/{product-type-create-DRFXTL5O.mjs → product-type-create-NRLNMABQ.mjs} +2 -2
- package/dist/{product-type-detail-RKHT5NBL.mjs → product-type-detail-J2IMAZW6.mjs} +14 -14
- package/dist/{product-type-edit-SRHCZDK7.mjs → product-type-edit-BHTPMMVI.mjs} +2 -2
- package/dist/{product-type-list-QQKAHBJ3.mjs → product-type-list-MQ2PW2IE.mjs} +3 -3
- package/dist/{product-type-metadata-CDJDFFGQ.mjs → product-type-metadata-BCZMUG3K.mjs} +12 -12
- package/dist/{product-variant-detail-XAYG5CKE.mjs → product-variant-detail-4L6DHT3K.mjs} +12 -12
- package/dist/{product-variant-edit-DEZEY2H2.mjs → product-variant-edit-PZU4P65H.mjs} +13 -13
- package/dist/{product-variant-manage-inventory-items-Y2VEOHP7.mjs → product-variant-manage-inventory-items-E3GPBPEZ.mjs} +3 -3
- package/dist/{product-variant-media-2WLVNGI4.mjs → product-variant-media-BSNCO642.mjs} +2 -2
- package/dist/{product-variant-metadata-VTZDNWUT.mjs → product-variant-metadata-FHGGZGPV.mjs} +12 -12
- package/dist/{promotion-add-campaign-DO67QK6M.mjs → promotion-add-campaign-NQSIFI33.mjs} +3 -3
- package/dist/{promotion-create-HWFNUQXG.mjs → promotion-create-GBZWJVAI.mjs} +24 -21
- package/dist/{promotion-detail-QC36KXB3.mjs → promotion-detail-W2OGUESO.mjs} +12 -12
- package/dist/{refund-reason-create-YHCDEHGQ.mjs → refund-reason-create-DLVRT5OU.mjs} +12 -12
- package/dist/{refund-reason-edit-CZ5QZ2SZ.mjs → refund-reason-edit-XCSU7RMH.mjs} +12 -12
- package/dist/{refund-reason-list-OJYYEYJE.mjs → refund-reason-list-G6UNVGPG.mjs} +18 -18
- package/dist/{region-create-NA7Y2LN4.mjs → region-create-2CRTF7HJ.mjs} +1 -1
- package/dist/{region-edit-WAU347DP.mjs → region-edit-IB3PJE7V.mjs} +1 -1
- package/dist/{region-metadata-H6XXUQ4S.mjs → region-metadata-WBEUKOI6.mjs} +12 -12
- package/dist/{reservation-create-ZCIYM6JI.mjs → reservation-create-ERFJUBME.mjs} +4 -4
- package/dist/{reservation-detail-LZAQL4XA.mjs → reservation-detail-Y6UZRZXY.mjs} +12 -12
- package/dist/{reservation-list-B47DXTA7.mjs → reservation-list-LEDZB7KL.mjs} +3 -3
- package/dist/{reservation-metadata-5HZSDDOK.mjs → reservation-metadata-7KH4EXMN.mjs} +12 -12
- package/dist/{return-reason-list-SCBGTOEI.mjs → return-reason-list-UUQAL464.mjs} +6 -6
- package/dist/{sales-channel-add-products-F7YV4MO5.mjs → sales-channel-add-products-GSPG7OTK.mjs} +14 -14
- package/dist/{sales-channel-create-MI7HHZYE.mjs → sales-channel-create-MM237EBQ.mjs} +3 -3
- package/dist/{sales-channel-detail-MXIPZCGA.mjs → sales-channel-detail-65ZFV2OI.mjs} +14 -14
- package/dist/{sales-channel-edit-VSHOIR37.mjs → sales-channel-edit-AC2J4N3M.mjs} +3 -3
- package/dist/{sales-channel-list-RLGL7FM3.mjs → sales-channel-list-LXLW7X3U.mjs} +14 -14
- package/dist/{sales-channel-metadata-M364R4RJ.mjs → sales-channel-metadata-QUAL2RH6.mjs} +13 -13
- package/dist/{shipping-option-type-create-C5WUWON7.mjs → shipping-option-type-create-EU75JC2Q.mjs} +12 -12
- package/dist/{shipping-option-type-detail-PENS2K73.mjs → shipping-option-type-detail-5GYEWATD.mjs} +13 -13
- package/dist/{shipping-option-type-edit-CIU5EHRP.mjs → shipping-option-type-edit-YR4JXT5M.mjs} +12 -12
- package/dist/{shipping-option-type-list-DIOX7VG7.mjs → shipping-option-type-list-BLC4Z5QW.mjs} +13 -13
- package/dist/{shipping-profile-metadata-75G2NNMA.mjs → shipping-profile-metadata-64YRWPDA.mjs} +12 -12
- package/dist/store-add-locales-TSMLNFZP.mjs +81 -0
- package/dist/{store-detail-JSNPOB2F.mjs → store-detail-3SS53LZR.mjs} +13 -13
- package/dist/{store-edit-5ZS562ZO.mjs → store-edit-SMEWFETF.mjs} +1 -1
- package/dist/{store-metadata-CYXTVJUE.mjs → store-metadata-IJGVDDA6.mjs} +12 -12
- package/dist/{tax-region-create-DWGL4EUT.mjs → tax-region-create-XLYIS5XX.mjs} +13 -13
- package/dist/{tax-region-detail-2AE2EFI3.mjs → tax-region-detail-66FKEGFB.mjs} +29 -28
- package/dist/{tax-region-edit-EEVEEU2Q.mjs → tax-region-edit-GBR4EDW7.mjs} +13 -13
- package/dist/{tax-region-province-detail-4ERSEQFF.mjs → tax-region-province-detail-OBA7Q7MQ.mjs} +29 -28
- package/dist/{tax-region-tax-override-create-PHCGEF7V.mjs → tax-region-tax-override-create-34WYD2QZ.mjs} +28 -27
- package/dist/{tax-region-tax-override-edit-SMRPSILC.mjs → tax-region-tax-override-edit-6WJVOGWA.mjs} +27 -26
- package/dist/translation-list-J65VNNAX.mjs +527 -0
- package/dist/{translations-edit-HUNKY7CO.mjs → translations-edit-6P3KC4MO.mjs} +285 -320
- package/dist/{user-detail-BJUXLZZQ.mjs → user-detail-VMOJFHIJ.mjs} +2 -2
- package/dist/{user-metadata-2WPJOEJA.mjs → user-metadata-UOPVFX2L.mjs} +12 -12
- package/dist/{workflow-execution-detail-H2AKEZJX.mjs → workflow-execution-detail-WAQ7IG4T.mjs} +12 -12
- package/package.json +9 -9
- package/src/components/data-grid/components/data-grid-cell-container.tsx +7 -10
- package/src/components/data-grid/components/data-grid-multiline-cell.tsx +103 -0
- package/src/components/data-grid/components/data-grid-readonly-cell.tsx +1 -4
- package/src/components/data-grid/components/data-grid-root.tsx +68 -51
- package/src/components/data-grid/components/data-grid-text-cell.tsx +6 -76
- package/src/components/data-grid/components/index.ts +1 -0
- package/src/components/data-grid/data-grid.tsx +2 -0
- package/src/components/data-grid/hooks/use-data-grid-cell.tsx +12 -0
- package/src/components/data-grid/hooks/use-data-grid-form-handlers.tsx +1 -0
- package/src/components/data-grid/hooks/use-data-grid-keydown-event.tsx +65 -7
- package/src/components/data-grid/types.ts +1 -0
- package/src/components/inputs/combobox/combobox.tsx +185 -95
- package/src/components/layout/main-layout/main-layout.tsx +7 -4
- package/src/components/table/table-cells/order/country-cell/country-cell.tsx +5 -1
- package/src/dashboard-app/routes/get-route.map.tsx +68 -12
- package/src/hooks/api/cloud.tsx +41 -0
- package/src/hooks/api/index.ts +3 -1
- package/src/hooks/api/product-options.tsx +151 -0
- package/src/hooks/api/products.tsx +26 -66
- package/src/hooks/api/translations.tsx +103 -191
- package/src/hooks/table/columns/use-order-table-columns.tsx +5 -3
- package/src/hooks/table/columns/use-product-option-table-columns.tsx +44 -0
- package/src/hooks/table/filters/index.ts +1 -0
- package/src/hooks/table/filters/use-product-option-table-filters.tsx +33 -0
- package/src/hooks/table/query/use-product-option-table-query.tsx +34 -0
- package/src/i18n/translations/$schema.json +304 -12
- package/src/i18n/translations/en.json +85 -5
- package/src/i18n/translations/es.json +21 -1
- package/src/routes/customers/customer-detail/components/customer-order-section/customer-order-section.tsx +1 -1
- package/src/routes/login/components/cloud-auth-login.tsx +114 -0
- package/src/routes/login/login.tsx +9 -1
- package/src/routes/orders/order-create-edit/components/order-edit-create-form/order-edit-item.tsx +1 -0
- package/src/routes/orders/order-edit-billing-address/components/edit-order-billing-address-form/edit-order-billing-address-form.tsx +34 -0
- package/src/routes/orders/order-edit-shipping-address/components/edit-order-shipping-address-form/edit-order-shipping-address-form.tsx +32 -0
- package/src/routes/product-options/common/hooks/use-delete-product-option-action.tsx +41 -0
- package/src/routes/product-options/product-option-create/components/create-product-option-form/create-product-option-details.tsx +71 -0
- package/src/routes/product-options/product-option-create/components/create-product-option-form/create-product-option-form.tsx +192 -0
- package/src/routes/product-options/product-option-create/components/create-product-option-form/create-product-option-organize.tsx +77 -0
- package/src/routes/product-options/product-option-create/components/create-product-option-form/index.ts +1 -0
- package/src/routes/product-options/product-option-create/components/create-product-option-form/schema.ts +15 -0
- package/src/routes/product-options/product-option-create/index.ts +1 -0
- package/src/routes/product-options/product-option-create/product-option-create.tsx +10 -0
- package/src/routes/product-options/product-option-detail/breadcrumb.tsx +14 -0
- package/src/routes/product-options/product-option-detail/components/product-option-general-section/index.ts +1 -0
- package/src/routes/product-options/product-option-detail/components/product-option-general-section/product-option-general-section.tsx +84 -0
- package/src/routes/product-options/product-option-detail/components/product-option-product-section/index.ts +1 -0
- package/src/routes/product-options/product-option-detail/components/product-option-product-section/product-option-product-section.tsx +82 -0
- package/src/routes/product-options/product-option-detail/index.ts +3 -0
- package/src/routes/product-options/product-option-detail/loader.ts +18 -0
- package/src/routes/product-options/product-option-detail/product-option-detail.tsx +50 -0
- package/src/routes/product-options/product-option-edit/components/edit-product-option-form/edit-product-option-details.tsx +94 -0
- package/src/routes/product-options/product-option-edit/components/edit-product-option-form/edit-product-option-form.tsx +116 -0
- package/src/routes/product-options/product-option-edit/components/edit-product-option-form/edit-product-option-organize.tsx +77 -0
- package/src/routes/product-options/product-option-edit/components/edit-product-option-form/index.ts +1 -0
- package/src/routes/product-options/product-option-edit/components/edit-product-option-form/schema.ts +13 -0
- package/src/routes/product-options/product-option-edit/index.ts +1 -0
- package/src/routes/product-options/product-option-edit/product-option-edit.tsx +34 -0
- package/src/routes/product-options/product-option-list/components/product-option-list-table/index.ts +1 -0
- package/src/routes/product-options/product-option-list/components/product-option-list-table/product-option-list-table.tsx +140 -0
- package/src/routes/product-options/product-option-list/index.ts +1 -0
- package/src/routes/product-options/product-option-list/product-option-list.tsx +19 -0
- package/src/routes/product-options/product-option-metadata/index.ts +1 -0
- package/src/routes/product-options/product-option-metadata/product-option-metadata.tsx +27 -0
- package/src/routes/products/product-create/components/product-create-details-form/components/product-create-details-general-section/product-create-general-section.tsx +16 -4
- package/src/routes/products/product-create/components/product-create-details-form/components/product-create-details-variant-section/product-create-details-variant-section.tsx +327 -194
- package/src/routes/products/product-create/components/product-create-form/product-create-form.tsx +4 -7
- package/src/routes/products/product-create/constants.ts +2 -0
- package/src/routes/products/product-create/utils.ts +6 -1
- package/src/routes/products/product-detail/components/product-option-section/product-option-section.tsx +33 -51
- package/src/routes/products/product-options-manage/components/product-options-manage-form/index.ts +1 -0
- package/src/routes/products/product-options-manage/components/product-options-manage-form/product-options-manage-form.tsx +296 -0
- package/src/routes/products/product-options-manage/index.ts +1 -0
- package/src/routes/products/product-options-manage/product-options-manage.tsx +35 -0
- package/src/routes/promotions/promotion-create/components/create-promotion-form/create-promotion-form.tsx +6 -0
- package/src/routes/translations/add-locales/add-locales.tsx +29 -0
- package/src/routes/translations/add-locales/index.tsx +1 -0
- package/src/routes/translations/translation-list/components/active-locales-section/active-locales-section.tsx +42 -17
- package/src/routes/translations/translation-list/components/translation-list-section/translation-list-section.tsx +5 -1
- package/src/routes/translations/translation-list/components/translations-completion-section/translations-completion-section.tsx +253 -41
- package/src/routes/translations/translation-list/translation-list.tsx +8 -2
- package/src/routes/translations/translations-edit/components/translations-edit-form/translations-edit-form.tsx +337 -380
- package/src/routes/translations/translations-edit/translations-edit.tsx +8 -13
- package/dist/chunk-HGRIOEAR.mjs +0 -32
- package/dist/chunk-XDJ7OMBR.mjs +0 -160
- package/dist/login-VNOLI5YG.mjs +0 -201
- package/dist/product-create-option-7AOXAA4S.mjs +0 -151
- package/dist/product-edit-option-LWJT3CYJ.mjs +0 -156
- package/dist/translation-list-S5Z6PG2R.mjs +0 -295
- package/src/routes/products/product-create-option/components/create-product-option-form/create-product-option-form.tsx +0 -122
- package/src/routes/products/product-create-option/components/create-product-option-form/index.ts +0 -1
- package/src/routes/products/product-create-option/index.ts +0 -1
- package/src/routes/products/product-create-option/product-create-option.tsx +0 -30
- package/src/routes/products/product-edit-option/components/edit-product-option-form/edit-product-option-form.tsx +0 -123
- package/src/routes/products/product-edit-option/components/edit-product-option-form/index.ts +0 -1
- package/src/routes/products/product-edit-option/index.ts +0 -1
- package/src/routes/products/product-edit-option/product-edit-option.tsx +0 -35
- package/dist/{chunk-FBYTX6K7.mjs → chunk-ORWRXJJT.mjs} +4 -4
- package/dist/{location-list-KVBA6J47.mjs → location-list-3WP65J3E.mjs} +1 -1
- package/dist/{user-list-YTZQNYSO.mjs → user-list-3EAKK4XC.mjs} +3 -3
|
@@ -0,0 +1,301 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AvatarBox
|
|
3
|
+
} from "./chunk-O333RR6K.mjs";
|
|
4
|
+
import "./chunk-KIIT4BNH.mjs";
|
|
5
|
+
import {
|
|
6
|
+
isFetchError
|
|
7
|
+
} from "./chunk-ONB3JEHR.mjs";
|
|
8
|
+
import {
|
|
9
|
+
useExtension
|
|
10
|
+
} from "./chunk-C5P5PL3E.mjs";
|
|
11
|
+
import {
|
|
12
|
+
Form
|
|
13
|
+
} from "./chunk-OBQI23QM.mjs";
|
|
14
|
+
import {
|
|
15
|
+
useCloudAuthEnabled,
|
|
16
|
+
useCreateCloudAuthUser
|
|
17
|
+
} from "./chunk-74WPAWMW.mjs";
|
|
18
|
+
import {
|
|
19
|
+
useSignInWithEmailPass
|
|
20
|
+
} from "./chunk-I4OBEAOJ.mjs";
|
|
21
|
+
import "./chunk-HI6URQ7H.mjs";
|
|
22
|
+
import "./chunk-6CLQKVAU.mjs";
|
|
23
|
+
import "./chunk-ML7BA2NY.mjs";
|
|
24
|
+
import "./chunk-KI7TOXBR.mjs";
|
|
25
|
+
import "./chunk-QBIQEVTU.mjs";
|
|
26
|
+
import "./chunk-WAXMT4IY.mjs";
|
|
27
|
+
import "./chunk-DYDGGABK.mjs";
|
|
28
|
+
import "./chunk-CN7JXSGW.mjs";
|
|
29
|
+
import "./chunk-LGNTHZ5Y.mjs";
|
|
30
|
+
import "./chunk-5BQQRHQS.mjs";
|
|
31
|
+
import "./chunk-G35UUG2P.mjs";
|
|
32
|
+
import "./chunk-5AFMB7XQ.mjs";
|
|
33
|
+
import "./chunk-VQ73B7ZZ.mjs";
|
|
34
|
+
import "./chunk-A63RZVX6.mjs";
|
|
35
|
+
import "./chunk-HBXV7ENS.mjs";
|
|
36
|
+
import "./chunk-CDORR33H.mjs";
|
|
37
|
+
import "./chunk-333HK6Y6.mjs";
|
|
38
|
+
import "./chunk-GJN5SXGZ.mjs";
|
|
39
|
+
import "./chunk-Q34TRFIW.mjs";
|
|
40
|
+
import "./chunk-3BF5SC66.mjs";
|
|
41
|
+
import "./chunk-DWH2OQFK.mjs";
|
|
42
|
+
import "./chunk-VCSSQVPD.mjs";
|
|
43
|
+
import "./chunk-HP2JH45P.mjs";
|
|
44
|
+
import "./chunk-SQDIZZDW.mjs";
|
|
45
|
+
import "./chunk-UCYUWNJL.mjs";
|
|
46
|
+
import "./chunk-7AXHHXCX.mjs";
|
|
47
|
+
import "./chunk-FXYH54JP.mjs";
|
|
48
|
+
import "./chunk-774WSTCC.mjs";
|
|
49
|
+
import {
|
|
50
|
+
sdk
|
|
51
|
+
} from "./chunk-NFEK63OE.mjs";
|
|
52
|
+
import "./chunk-QZ7TP4HQ.mjs";
|
|
53
|
+
|
|
54
|
+
// src/routes/login/login.tsx
|
|
55
|
+
import { zodResolver } from "@hookform/resolvers/zod";
|
|
56
|
+
import { Alert, Button as Button2, Heading, Hint, Input, Text } from "@medusajs/ui";
|
|
57
|
+
import { useForm } from "react-hook-form";
|
|
58
|
+
import { Trans, useTranslation as useTranslation2 } from "react-i18next";
|
|
59
|
+
import { Link, useLocation, useNavigate as useNavigate2 } from "react-router-dom";
|
|
60
|
+
import * as z from "zod";
|
|
61
|
+
|
|
62
|
+
// src/routes/login/components/cloud-auth-login.tsx
|
|
63
|
+
import { Button, toast } from "@medusajs/ui";
|
|
64
|
+
import { useMutation } from "@tanstack/react-query";
|
|
65
|
+
import { useEffect, useRef } from "react";
|
|
66
|
+
import { useTranslation } from "react-i18next";
|
|
67
|
+
import { decodeToken } from "react-jwt";
|
|
68
|
+
import { useNavigate, useSearchParams } from "react-router-dom";
|
|
69
|
+
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
70
|
+
var CLOUD_AUTH_PROVIDER = "cloud";
|
|
71
|
+
var CloudAuthLogin = () => {
|
|
72
|
+
const { t } = useTranslation();
|
|
73
|
+
const [searchParams] = useSearchParams();
|
|
74
|
+
const { handleCallback, isCallbackPending } = useAuthCallback(searchParams);
|
|
75
|
+
const hasCallbackParams = searchParams.get("auth_provider") === CLOUD_AUTH_PROVIDER && searchParams.has("code") && searchParams.has("state");
|
|
76
|
+
const callbackInitiated = useRef(false);
|
|
77
|
+
useEffect(() => {
|
|
78
|
+
if (hasCallbackParams && !callbackInitiated.current) {
|
|
79
|
+
callbackInitiated.current = true;
|
|
80
|
+
handleCallback();
|
|
81
|
+
}
|
|
82
|
+
}, [hasCallbackParams, handleCallback]);
|
|
83
|
+
const handleCloudLogin = async () => {
|
|
84
|
+
try {
|
|
85
|
+
const result = await sdk.auth.login("user", CLOUD_AUTH_PROVIDER, {
|
|
86
|
+
// in case the admin is on a different domain, or the backend URL is set to just "/" which won't work for the callback
|
|
87
|
+
callback_url: `${window.location.origin}${window.location.pathname}?auth_provider=${CLOUD_AUTH_PROVIDER}`
|
|
88
|
+
});
|
|
89
|
+
if (typeof result === "object" && result.location) {
|
|
90
|
+
window.location.href = result.location;
|
|
91
|
+
return;
|
|
92
|
+
}
|
|
93
|
+
throw new Error("Unexpected login response");
|
|
94
|
+
} catch {
|
|
95
|
+
toast.error(t("auth.login.authenticationFailed"));
|
|
96
|
+
}
|
|
97
|
+
};
|
|
98
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
99
|
+
/* @__PURE__ */ jsx("hr", { className: "bg-ui-border-base my-4" }),
|
|
100
|
+
/* @__PURE__ */ jsx(
|
|
101
|
+
Button,
|
|
102
|
+
{
|
|
103
|
+
variant: "secondary",
|
|
104
|
+
onClick: handleCloudLogin,
|
|
105
|
+
className: "w-full",
|
|
106
|
+
disabled: isCallbackPending,
|
|
107
|
+
isLoading: isCallbackPending,
|
|
108
|
+
children: t("auth.login.cloud")
|
|
109
|
+
}
|
|
110
|
+
)
|
|
111
|
+
] });
|
|
112
|
+
};
|
|
113
|
+
var useAuthCallback = (searchParams) => {
|
|
114
|
+
const { t } = useTranslation();
|
|
115
|
+
const navigate = useNavigate();
|
|
116
|
+
const { mutateAsync: createCloudAuthUser } = useCreateCloudAuthUser();
|
|
117
|
+
const { mutateAsync: handleCallback, isPending: isCallbackPending } = useMutation({
|
|
118
|
+
mutationFn: async () => {
|
|
119
|
+
let token;
|
|
120
|
+
try {
|
|
121
|
+
const query = Object.fromEntries(searchParams);
|
|
122
|
+
delete query.auth_provider;
|
|
123
|
+
token = await sdk.auth.callback("user", CLOUD_AUTH_PROVIDER, query);
|
|
124
|
+
} catch (error) {
|
|
125
|
+
throw new Error("Authentication callback failed");
|
|
126
|
+
}
|
|
127
|
+
const decodedToken = decodeToken(token);
|
|
128
|
+
if (!decodedToken?.actor_id) {
|
|
129
|
+
await createCloudAuthUser();
|
|
130
|
+
const refreshedToken = await sdk.auth.refresh({
|
|
131
|
+
Authorization: `Bearer ${token}`
|
|
132
|
+
// passing it manually in case the auth type is session
|
|
133
|
+
});
|
|
134
|
+
if (!refreshedToken) {
|
|
135
|
+
throw new Error("Failed to refresh token after user creation");
|
|
136
|
+
}
|
|
137
|
+
}
|
|
138
|
+
return true;
|
|
139
|
+
},
|
|
140
|
+
onSuccess: () => {
|
|
141
|
+
navigate("/");
|
|
142
|
+
},
|
|
143
|
+
onError: () => {
|
|
144
|
+
toast.error(t("auth.login.authenticationFailed"));
|
|
145
|
+
}
|
|
146
|
+
});
|
|
147
|
+
return { handleCallback, isCallbackPending };
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
// src/routes/login/login.tsx
|
|
151
|
+
import { jsx as jsx2, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
152
|
+
var LoginSchema = z.object({
|
|
153
|
+
email: z.string().email(),
|
|
154
|
+
password: z.string()
|
|
155
|
+
});
|
|
156
|
+
var Login = () => {
|
|
157
|
+
const { t } = useTranslation2();
|
|
158
|
+
const location = useLocation();
|
|
159
|
+
const navigate = useNavigate2();
|
|
160
|
+
const { getWidgets } = useExtension();
|
|
161
|
+
const { data: cloudAuth } = useCloudAuthEnabled();
|
|
162
|
+
const from = location.state?.from?.pathname || "/orders";
|
|
163
|
+
const form = useForm({
|
|
164
|
+
resolver: zodResolver(LoginSchema),
|
|
165
|
+
defaultValues: {
|
|
166
|
+
email: "",
|
|
167
|
+
password: ""
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
const { mutateAsync, isPending } = useSignInWithEmailPass();
|
|
171
|
+
const handleSubmit = form.handleSubmit(async ({ email, password }) => {
|
|
172
|
+
await mutateAsync(
|
|
173
|
+
{
|
|
174
|
+
email,
|
|
175
|
+
password
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
onError: (error) => {
|
|
179
|
+
if (isFetchError(error)) {
|
|
180
|
+
if (error.status === 401) {
|
|
181
|
+
form.setError("email", {
|
|
182
|
+
type: "manual",
|
|
183
|
+
message: error.message
|
|
184
|
+
});
|
|
185
|
+
return;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
form.setError("root.serverError", {
|
|
189
|
+
type: "manual",
|
|
190
|
+
message: error.message
|
|
191
|
+
});
|
|
192
|
+
},
|
|
193
|
+
onSuccess: () => {
|
|
194
|
+
navigate(from, { replace: true });
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
);
|
|
198
|
+
});
|
|
199
|
+
const serverError = form.formState.errors?.root?.serverError?.message;
|
|
200
|
+
const validationError = form.formState.errors.email?.message || form.formState.errors.password?.message;
|
|
201
|
+
const loginAfterWidgets = [...getWidgets("login.after")];
|
|
202
|
+
if (cloudAuth?.enabled) {
|
|
203
|
+
loginAfterWidgets.push(CloudAuthLogin);
|
|
204
|
+
}
|
|
205
|
+
return /* @__PURE__ */ jsx2("div", { className: "bg-ui-bg-subtle flex min-h-dvh w-dvw items-center justify-center", children: /* @__PURE__ */ jsxs2("div", { className: "m-4 flex w-full max-w-[280px] flex-col items-center", children: [
|
|
206
|
+
/* @__PURE__ */ jsx2(AvatarBox, {}),
|
|
207
|
+
/* @__PURE__ */ jsxs2("div", { className: "mb-4 flex flex-col items-center", children: [
|
|
208
|
+
/* @__PURE__ */ jsx2(Heading, { children: t("login.title") }),
|
|
209
|
+
/* @__PURE__ */ jsx2(Text, { size: "small", className: "text-ui-fg-subtle text-center", children: t("login.hint") })
|
|
210
|
+
] }),
|
|
211
|
+
/* @__PURE__ */ jsxs2("div", { className: "flex w-full flex-col gap-y-3", children: [
|
|
212
|
+
getWidgets("login.before").map((Component, i) => {
|
|
213
|
+
return /* @__PURE__ */ jsx2(Component, {}, i);
|
|
214
|
+
}),
|
|
215
|
+
/* @__PURE__ */ jsx2(Form, { ...form, children: /* @__PURE__ */ jsxs2(
|
|
216
|
+
"form",
|
|
217
|
+
{
|
|
218
|
+
onSubmit: handleSubmit,
|
|
219
|
+
className: "flex w-full flex-col gap-y-6",
|
|
220
|
+
children: [
|
|
221
|
+
/* @__PURE__ */ jsxs2("div", { className: "flex flex-col gap-y-1", children: [
|
|
222
|
+
/* @__PURE__ */ jsx2(
|
|
223
|
+
Form.Field,
|
|
224
|
+
{
|
|
225
|
+
control: form.control,
|
|
226
|
+
name: "email",
|
|
227
|
+
render: ({ field }) => {
|
|
228
|
+
return /* @__PURE__ */ jsx2(Form.Item, { children: /* @__PURE__ */ jsx2(Form.Control, { children: /* @__PURE__ */ jsx2(
|
|
229
|
+
Input,
|
|
230
|
+
{
|
|
231
|
+
autoComplete: "email",
|
|
232
|
+
...field,
|
|
233
|
+
className: "bg-ui-bg-field-component",
|
|
234
|
+
placeholder: t("fields.email")
|
|
235
|
+
}
|
|
236
|
+
) }) });
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
),
|
|
240
|
+
/* @__PURE__ */ jsx2(
|
|
241
|
+
Form.Field,
|
|
242
|
+
{
|
|
243
|
+
control: form.control,
|
|
244
|
+
name: "password",
|
|
245
|
+
render: ({ field }) => {
|
|
246
|
+
return /* @__PURE__ */ jsxs2(Form.Item, { children: [
|
|
247
|
+
/* @__PURE__ */ jsx2(Form.Label, {}),
|
|
248
|
+
/* @__PURE__ */ jsx2(Form.Control, { children: /* @__PURE__ */ jsx2(
|
|
249
|
+
Input,
|
|
250
|
+
{
|
|
251
|
+
type: "password",
|
|
252
|
+
autoComplete: "current-password",
|
|
253
|
+
...field,
|
|
254
|
+
className: "bg-ui-bg-field-component",
|
|
255
|
+
placeholder: t("fields.password")
|
|
256
|
+
}
|
|
257
|
+
) })
|
|
258
|
+
] });
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
)
|
|
262
|
+
] }),
|
|
263
|
+
validationError && /* @__PURE__ */ jsx2("div", { className: "text-center", children: /* @__PURE__ */ jsx2(Hint, { className: "inline-flex", variant: "error", children: validationError }) }),
|
|
264
|
+
serverError && /* @__PURE__ */ jsx2(
|
|
265
|
+
Alert,
|
|
266
|
+
{
|
|
267
|
+
className: "bg-ui-bg-base items-center p-2",
|
|
268
|
+
dismissible: true,
|
|
269
|
+
variant: "error",
|
|
270
|
+
children: serverError
|
|
271
|
+
}
|
|
272
|
+
),
|
|
273
|
+
/* @__PURE__ */ jsx2(Button2, { className: "w-full", type: "submit", isLoading: isPending, children: t("actions.continueWithEmail") })
|
|
274
|
+
]
|
|
275
|
+
}
|
|
276
|
+
) }),
|
|
277
|
+
loginAfterWidgets.map((Component, i) => {
|
|
278
|
+
return /* @__PURE__ */ jsx2(Component, {}, i);
|
|
279
|
+
})
|
|
280
|
+
] }),
|
|
281
|
+
/* @__PURE__ */ jsx2("span", { className: "text-ui-fg-muted txt-small my-6", children: /* @__PURE__ */ jsx2(
|
|
282
|
+
Trans,
|
|
283
|
+
{
|
|
284
|
+
i18nKey: "login.forgotPassword",
|
|
285
|
+
components: [
|
|
286
|
+
/* @__PURE__ */ jsx2(
|
|
287
|
+
Link,
|
|
288
|
+
{
|
|
289
|
+
to: "/reset-password",
|
|
290
|
+
className: "text-ui-fg-interactive transition-fg hover:text-ui-fg-interactive-hover focus-visible:text-ui-fg-interactive-hover font-medium outline-none"
|
|
291
|
+
},
|
|
292
|
+
"reset-password-link"
|
|
293
|
+
)
|
|
294
|
+
]
|
|
295
|
+
}
|
|
296
|
+
) })
|
|
297
|
+
] }) });
|
|
298
|
+
};
|
|
299
|
+
export {
|
|
300
|
+
Login as Component
|
|
301
|
+
};
|
|
@@ -14,8 +14,8 @@ import {
|
|
|
14
14
|
import {
|
|
15
15
|
useBatchInventoryItemLocationLevels,
|
|
16
16
|
useInventoryItem
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import "./chunk-
|
|
17
|
+
} from "./chunk-UCYUWNJL.mjs";
|
|
18
|
+
import "./chunk-7AXHHXCX.mjs";
|
|
19
19
|
import "./chunk-FXYH54JP.mjs";
|
|
20
20
|
import "./chunk-774WSTCC.mjs";
|
|
21
21
|
import {
|
|
@@ -25,12 +25,12 @@ import {
|
|
|
25
25
|
import {
|
|
26
26
|
ordersQueryKeys,
|
|
27
27
|
useOrder
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-333HK6Y6.mjs";
|
|
29
29
|
import {
|
|
30
30
|
useCreateReservationItem
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
33
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-GJN5SXGZ.mjs";
|
|
32
|
+
import "./chunk-UCYUWNJL.mjs";
|
|
33
|
+
import "./chunk-7AXHHXCX.mjs";
|
|
34
34
|
import {
|
|
35
35
|
queryClient
|
|
36
36
|
} from "./chunk-FXYH54JP.mjs";
|
|
@@ -4,6 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
getFormattedShippingOptionLocationName
|
|
6
6
|
} from "./chunk-UC26CCHZ.mjs";
|
|
7
|
+
import {
|
|
8
|
+
OutboundShippingPlaceholder,
|
|
9
|
+
ReturnShippingPlaceholder
|
|
10
|
+
} from "./chunk-P3DRE4IY.mjs";
|
|
7
11
|
import {
|
|
8
12
|
useAddClaimInboundItems,
|
|
9
13
|
useAddClaimInboundShipping,
|
|
@@ -21,21 +25,17 @@ import {
|
|
|
21
25
|
useUpdateClaimInboundShipping,
|
|
22
26
|
useUpdateClaimOutboundItems,
|
|
23
27
|
useUpdateClaimOutboundShipping
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import {
|
|
26
|
-
OutboundShippingPlaceholder,
|
|
27
|
-
ReturnShippingPlaceholder
|
|
28
|
-
} from "./chunk-P3DRE4IY.mjs";
|
|
28
|
+
} from "./chunk-SO2DE6MM.mjs";
|
|
29
29
|
import {
|
|
30
30
|
getReturnableQuantity
|
|
31
31
|
} from "./chunk-PXZ7QYKX.mjs";
|
|
32
|
-
import {
|
|
33
|
-
DEFAULT_FIELDS
|
|
34
|
-
} from "./chunk-C7F7MMXS.mjs";
|
|
35
32
|
import {
|
|
36
33
|
useReturn,
|
|
37
34
|
useUpdateReturn
|
|
38
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-6EXKKRZY.mjs";
|
|
36
|
+
import {
|
|
37
|
+
DEFAULT_FIELDS
|
|
38
|
+
} from "./chunk-C7F7MMXS.mjs";
|
|
39
39
|
import {
|
|
40
40
|
MoneyAmountCell
|
|
41
41
|
} from "./chunk-INE2QCSC.mjs";
|
|
@@ -56,7 +56,7 @@ import "./chunk-HQKGZADC.mjs";
|
|
|
56
56
|
import "./chunk-EMIHDNB7.mjs";
|
|
57
57
|
import {
|
|
58
58
|
Combobox
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-OYHFHBNL.mjs";
|
|
60
60
|
import {
|
|
61
61
|
currencies
|
|
62
62
|
} from "./chunk-DK4WIVY6.mjs";
|
|
@@ -94,21 +94,21 @@ import {
|
|
|
94
94
|
} from "./chunk-OBQI23QM.mjs";
|
|
95
95
|
import {
|
|
96
96
|
useVariants
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-74WPAWMW.mjs";
|
|
98
98
|
import "./chunk-I4OBEAOJ.mjs";
|
|
99
99
|
import "./chunk-HI6URQ7H.mjs";
|
|
100
100
|
import "./chunk-6CLQKVAU.mjs";
|
|
101
|
+
import "./chunk-ML7BA2NY.mjs";
|
|
101
102
|
import "./chunk-KI7TOXBR.mjs";
|
|
102
|
-
import "./chunk-
|
|
103
|
-
import "./chunk-23GTCEOV.mjs";
|
|
103
|
+
import "./chunk-QBIQEVTU.mjs";
|
|
104
104
|
import "./chunk-WAXMT4IY.mjs";
|
|
105
105
|
import "./chunk-DYDGGABK.mjs";
|
|
106
|
-
import "./chunk-LGNTHZ5Y.mjs";
|
|
107
106
|
import "./chunk-CN7JXSGW.mjs";
|
|
107
|
+
import "./chunk-LGNTHZ5Y.mjs";
|
|
108
108
|
import "./chunk-5BQQRHQS.mjs";
|
|
109
|
-
import "./chunk-
|
|
109
|
+
import "./chunk-G35UUG2P.mjs";
|
|
110
110
|
import "./chunk-5AFMB7XQ.mjs";
|
|
111
|
-
import "./chunk-
|
|
111
|
+
import "./chunk-VQ73B7ZZ.mjs";
|
|
112
112
|
import "./chunk-A63RZVX6.mjs";
|
|
113
113
|
import {
|
|
114
114
|
useShippingOptions
|
|
@@ -120,16 +120,16 @@ import {
|
|
|
120
120
|
useOrder,
|
|
121
121
|
useOrderPreview,
|
|
122
122
|
useOrderShippingOptions
|
|
123
|
-
} from "./chunk-
|
|
124
|
-
import "./chunk-
|
|
125
|
-
import "./chunk-
|
|
126
|
-
import "./chunk-2XTBDCGE.mjs";
|
|
123
|
+
} from "./chunk-333HK6Y6.mjs";
|
|
124
|
+
import "./chunk-GJN5SXGZ.mjs";
|
|
125
|
+
import "./chunk-Q34TRFIW.mjs";
|
|
127
126
|
import "./chunk-3BF5SC66.mjs";
|
|
127
|
+
import "./chunk-DWH2OQFK.mjs";
|
|
128
128
|
import "./chunk-VCSSQVPD.mjs";
|
|
129
129
|
import "./chunk-HP2JH45P.mjs";
|
|
130
130
|
import "./chunk-SQDIZZDW.mjs";
|
|
131
|
-
import "./chunk-
|
|
132
|
-
import "./chunk-
|
|
131
|
+
import "./chunk-UCYUWNJL.mjs";
|
|
132
|
+
import "./chunk-7AXHHXCX.mjs";
|
|
133
133
|
import "./chunk-FXYH54JP.mjs";
|
|
134
134
|
import "./chunk-774WSTCC.mjs";
|
|
135
135
|
import {
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
useRequestOrderEdit,
|
|
7
7
|
useUpdateOrderEditAddedItem,
|
|
8
8
|
useUpdateOrderEditOriginalItem
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KPI4WFJU.mjs";
|
|
10
10
|
import {
|
|
11
11
|
DEFAULT_FIELDS
|
|
12
12
|
} from "./chunk-C7F7MMXS.mjs";
|
|
@@ -61,37 +61,37 @@ import {
|
|
|
61
61
|
} from "./chunk-OBQI23QM.mjs";
|
|
62
62
|
import {
|
|
63
63
|
useVariants
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-74WPAWMW.mjs";
|
|
65
65
|
import "./chunk-I4OBEAOJ.mjs";
|
|
66
66
|
import "./chunk-HI6URQ7H.mjs";
|
|
67
67
|
import "./chunk-6CLQKVAU.mjs";
|
|
68
|
+
import "./chunk-ML7BA2NY.mjs";
|
|
68
69
|
import "./chunk-KI7TOXBR.mjs";
|
|
69
|
-
import "./chunk-
|
|
70
|
-
import "./chunk-23GTCEOV.mjs";
|
|
70
|
+
import "./chunk-QBIQEVTU.mjs";
|
|
71
71
|
import "./chunk-WAXMT4IY.mjs";
|
|
72
72
|
import "./chunk-DYDGGABK.mjs";
|
|
73
|
-
import "./chunk-LGNTHZ5Y.mjs";
|
|
74
73
|
import "./chunk-CN7JXSGW.mjs";
|
|
74
|
+
import "./chunk-LGNTHZ5Y.mjs";
|
|
75
75
|
import "./chunk-5BQQRHQS.mjs";
|
|
76
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-G35UUG2P.mjs";
|
|
77
77
|
import "./chunk-5AFMB7XQ.mjs";
|
|
78
|
-
import "./chunk-
|
|
78
|
+
import "./chunk-VQ73B7ZZ.mjs";
|
|
79
79
|
import "./chunk-A63RZVX6.mjs";
|
|
80
80
|
import "./chunk-HBXV7ENS.mjs";
|
|
81
81
|
import "./chunk-CDORR33H.mjs";
|
|
82
82
|
import {
|
|
83
83
|
useOrder,
|
|
84
84
|
useOrderPreview
|
|
85
|
-
} from "./chunk-
|
|
86
|
-
import "./chunk-
|
|
87
|
-
import "./chunk-
|
|
88
|
-
import "./chunk-2XTBDCGE.mjs";
|
|
85
|
+
} from "./chunk-333HK6Y6.mjs";
|
|
86
|
+
import "./chunk-GJN5SXGZ.mjs";
|
|
87
|
+
import "./chunk-Q34TRFIW.mjs";
|
|
89
88
|
import "./chunk-3BF5SC66.mjs";
|
|
89
|
+
import "./chunk-DWH2OQFK.mjs";
|
|
90
90
|
import "./chunk-VCSSQVPD.mjs";
|
|
91
91
|
import "./chunk-HP2JH45P.mjs";
|
|
92
92
|
import "./chunk-SQDIZZDW.mjs";
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-UCYUWNJL.mjs";
|
|
94
|
+
import "./chunk-7AXHHXCX.mjs";
|
|
95
95
|
import "./chunk-FXYH54JP.mjs";
|
|
96
96
|
import "./chunk-774WSTCC.mjs";
|
|
97
97
|
import "./chunk-NFEK63OE.mjs";
|
|
@@ -412,6 +412,7 @@ function OrderEditItem({ item, currencyCode, orderId }) {
|
|
|
412
412
|
{
|
|
413
413
|
className: "bg-ui-bg-base txt-small w-[67px] rounded-lg [appearance:textfield] [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none",
|
|
414
414
|
type: "number",
|
|
415
|
+
step: "any",
|
|
415
416
|
disabled: item.detail.fulfilled_quantity === item.quantity,
|
|
416
417
|
min: item.detail.fulfilled_quantity,
|
|
417
418
|
defaultValue: item.quantity,
|
|
@@ -4,6 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
getFormattedShippingOptionLocationName
|
|
6
6
|
} from "./chunk-UC26CCHZ.mjs";
|
|
7
|
+
import {
|
|
8
|
+
OutboundShippingPlaceholder,
|
|
9
|
+
ReturnShippingPlaceholder
|
|
10
|
+
} from "./chunk-P3DRE4IY.mjs";
|
|
7
11
|
import {
|
|
8
12
|
useAddExchangeInboundItems,
|
|
9
13
|
useAddExchangeInboundShipping,
|
|
@@ -21,21 +25,17 @@ import {
|
|
|
21
25
|
useUpdateExchangeInboundShipping,
|
|
22
26
|
useUpdateExchangeOutboundItems,
|
|
23
27
|
useUpdateExchangeOutboundShipping
|
|
24
|
-
} from "./chunk-
|
|
25
|
-
import {
|
|
26
|
-
OutboundShippingPlaceholder,
|
|
27
|
-
ReturnShippingPlaceholder
|
|
28
|
-
} from "./chunk-P3DRE4IY.mjs";
|
|
28
|
+
} from "./chunk-LG5B2BVB.mjs";
|
|
29
29
|
import {
|
|
30
30
|
getReturnableQuantity
|
|
31
31
|
} from "./chunk-PXZ7QYKX.mjs";
|
|
32
|
-
import {
|
|
33
|
-
DEFAULT_FIELDS
|
|
34
|
-
} from "./chunk-C7F7MMXS.mjs";
|
|
35
32
|
import {
|
|
36
33
|
useReturn,
|
|
37
34
|
useUpdateReturn
|
|
38
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-6EXKKRZY.mjs";
|
|
36
|
+
import {
|
|
37
|
+
DEFAULT_FIELDS
|
|
38
|
+
} from "./chunk-C7F7MMXS.mjs";
|
|
39
39
|
import {
|
|
40
40
|
MoneyAmountCell
|
|
41
41
|
} from "./chunk-INE2QCSC.mjs";
|
|
@@ -56,7 +56,7 @@ import "./chunk-HQKGZADC.mjs";
|
|
|
56
56
|
import "./chunk-EMIHDNB7.mjs";
|
|
57
57
|
import {
|
|
58
58
|
Combobox
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-OYHFHBNL.mjs";
|
|
60
60
|
import {
|
|
61
61
|
currencies
|
|
62
62
|
} from "./chunk-DK4WIVY6.mjs";
|
|
@@ -94,21 +94,21 @@ import {
|
|
|
94
94
|
} from "./chunk-OBQI23QM.mjs";
|
|
95
95
|
import {
|
|
96
96
|
useVariants
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-74WPAWMW.mjs";
|
|
98
98
|
import "./chunk-I4OBEAOJ.mjs";
|
|
99
99
|
import "./chunk-HI6URQ7H.mjs";
|
|
100
100
|
import "./chunk-6CLQKVAU.mjs";
|
|
101
|
+
import "./chunk-ML7BA2NY.mjs";
|
|
101
102
|
import "./chunk-KI7TOXBR.mjs";
|
|
102
|
-
import "./chunk-
|
|
103
|
-
import "./chunk-23GTCEOV.mjs";
|
|
103
|
+
import "./chunk-QBIQEVTU.mjs";
|
|
104
104
|
import "./chunk-WAXMT4IY.mjs";
|
|
105
105
|
import "./chunk-DYDGGABK.mjs";
|
|
106
|
-
import "./chunk-LGNTHZ5Y.mjs";
|
|
107
106
|
import "./chunk-CN7JXSGW.mjs";
|
|
107
|
+
import "./chunk-LGNTHZ5Y.mjs";
|
|
108
108
|
import "./chunk-5BQQRHQS.mjs";
|
|
109
|
-
import "./chunk-
|
|
109
|
+
import "./chunk-G35UUG2P.mjs";
|
|
110
110
|
import "./chunk-5AFMB7XQ.mjs";
|
|
111
|
-
import "./chunk-
|
|
111
|
+
import "./chunk-VQ73B7ZZ.mjs";
|
|
112
112
|
import "./chunk-A63RZVX6.mjs";
|
|
113
113
|
import {
|
|
114
114
|
useShippingOptions
|
|
@@ -121,16 +121,16 @@ import {
|
|
|
121
121
|
useOrderPreview,
|
|
122
122
|
useOrderShippingOptions,
|
|
123
123
|
useUpdateOrderChange
|
|
124
|
-
} from "./chunk-
|
|
125
|
-
import "./chunk-
|
|
126
|
-
import "./chunk-
|
|
127
|
-
import "./chunk-2XTBDCGE.mjs";
|
|
124
|
+
} from "./chunk-333HK6Y6.mjs";
|
|
125
|
+
import "./chunk-GJN5SXGZ.mjs";
|
|
126
|
+
import "./chunk-Q34TRFIW.mjs";
|
|
128
127
|
import "./chunk-3BF5SC66.mjs";
|
|
128
|
+
import "./chunk-DWH2OQFK.mjs";
|
|
129
129
|
import "./chunk-VCSSQVPD.mjs";
|
|
130
130
|
import "./chunk-HP2JH45P.mjs";
|
|
131
131
|
import "./chunk-SQDIZZDW.mjs";
|
|
132
|
-
import "./chunk-
|
|
133
|
-
import "./chunk-
|
|
132
|
+
import "./chunk-UCYUWNJL.mjs";
|
|
133
|
+
import "./chunk-7AXHHXCX.mjs";
|
|
134
134
|
import "./chunk-FXYH54JP.mjs";
|
|
135
135
|
import "./chunk-774WSTCC.mjs";
|
|
136
136
|
import {
|
package/dist/{order-create-fulfillment-OWUVTZXW.mjs → order-create-fulfillment-FDIFEV6X.mjs}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
getReservationsLimitCount
|
|
3
|
-
} from "./chunk-4XSXVVYD.mjs";
|
|
4
1
|
import {
|
|
5
2
|
getFulfillableQuantity
|
|
6
3
|
} from "./chunk-WKOPGFW5.mjs";
|
|
4
|
+
import {
|
|
5
|
+
getReservationsLimitCount
|
|
6
|
+
} from "./chunk-4XSXVVYD.mjs";
|
|
7
7
|
import {
|
|
8
8
|
useComboboxData
|
|
9
9
|
} from "./chunk-3TZOFKX2.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Combobox
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OYHFHBNL.mjs";
|
|
13
13
|
import "./chunk-IUCDCPJU.mjs";
|
|
14
14
|
import {
|
|
15
15
|
KeyboundForm
|
|
@@ -28,21 +28,21 @@ import {
|
|
|
28
28
|
import {
|
|
29
29
|
Form
|
|
30
30
|
} from "./chunk-OBQI23QM.mjs";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-74WPAWMW.mjs";
|
|
32
32
|
import "./chunk-I4OBEAOJ.mjs";
|
|
33
33
|
import "./chunk-HI6URQ7H.mjs";
|
|
34
34
|
import "./chunk-6CLQKVAU.mjs";
|
|
35
|
+
import "./chunk-ML7BA2NY.mjs";
|
|
35
36
|
import "./chunk-KI7TOXBR.mjs";
|
|
36
|
-
import "./chunk-
|
|
37
|
-
import "./chunk-23GTCEOV.mjs";
|
|
37
|
+
import "./chunk-QBIQEVTU.mjs";
|
|
38
38
|
import "./chunk-WAXMT4IY.mjs";
|
|
39
39
|
import "./chunk-DYDGGABK.mjs";
|
|
40
|
-
import "./chunk-LGNTHZ5Y.mjs";
|
|
41
40
|
import "./chunk-CN7JXSGW.mjs";
|
|
41
|
+
import "./chunk-LGNTHZ5Y.mjs";
|
|
42
42
|
import "./chunk-5BQQRHQS.mjs";
|
|
43
|
-
import "./chunk-
|
|
43
|
+
import "./chunk-G35UUG2P.mjs";
|
|
44
44
|
import "./chunk-5AFMB7XQ.mjs";
|
|
45
|
-
import "./chunk-
|
|
45
|
+
import "./chunk-VQ73B7ZZ.mjs";
|
|
46
46
|
import "./chunk-A63RZVX6.mjs";
|
|
47
47
|
import {
|
|
48
48
|
useShippingOptions
|
|
@@ -51,20 +51,20 @@ import "./chunk-CDORR33H.mjs";
|
|
|
51
51
|
import {
|
|
52
52
|
useCreateOrderFulfillment,
|
|
53
53
|
useOrder
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-333HK6Y6.mjs";
|
|
55
55
|
import {
|
|
56
56
|
useReservationItems
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
59
|
-
import "./chunk-2XTBDCGE.mjs";
|
|
57
|
+
} from "./chunk-GJN5SXGZ.mjs";
|
|
58
|
+
import "./chunk-Q34TRFIW.mjs";
|
|
60
59
|
import "./chunk-3BF5SC66.mjs";
|
|
60
|
+
import "./chunk-DWH2OQFK.mjs";
|
|
61
61
|
import "./chunk-VCSSQVPD.mjs";
|
|
62
62
|
import "./chunk-HP2JH45P.mjs";
|
|
63
63
|
import "./chunk-SQDIZZDW.mjs";
|
|
64
64
|
import {
|
|
65
65
|
useProductVariant
|
|
66
|
-
} from "./chunk-
|
|
67
|
-
import "./chunk-
|
|
66
|
+
} from "./chunk-UCYUWNJL.mjs";
|
|
67
|
+
import "./chunk-7AXHHXCX.mjs";
|
|
68
68
|
import "./chunk-FXYH54JP.mjs";
|
|
69
69
|
import "./chunk-774WSTCC.mjs";
|
|
70
70
|
import {
|