@medusajs/dashboard 3.0.0-snapshot-20250410112222 → 3.0.0-snapshot-20251104011621
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-ZVOK5XD2.mjs → add-campaign-promotions-ZUJD7HBF.mjs} +14 -14
- package/dist/{adjust-inventory-WYNH75F7.mjs → adjust-inventory-7EWRE2HD.mjs} +3 -3
- package/dist/{api-key-management-create-HWBQGG6O.mjs → api-key-management-create-SPLD3JMO.mjs} +5 -5
- package/dist/{api-key-management-detail-QVWVJ5X6.mjs → api-key-management-detail-MFQTHUN6.mjs} +26 -22
- package/dist/{api-key-management-edit-UX47FHWV.mjs → api-key-management-edit-2VPL7PHB.mjs} +5 -5
- package/dist/{api-key-management-list-XQ5M7CMJ.mjs → api-key-management-list-22GXXJUC.mjs} +17 -18
- package/dist/{api-key-management-sales-channels-PILAZSU6.mjs → api-key-management-sales-channels-MV6FMA4C.mjs} +15 -11
- package/dist/app.css +347 -334
- package/dist/app.js +79816 -56782
- package/dist/app.mjs +28 -23
- package/dist/{campaign-budget-edit-57NSOYJ3.mjs → campaign-budget-edit-V2VMINUO.mjs} +4 -4
- package/dist/{campaign-configuration-QV3OHWBZ.mjs → campaign-configuration-PP4A5ADV.mjs} +3 -3
- package/dist/{campaign-create-NYJ4HILG.mjs → campaign-create-GD2D45NX.mjs} +8 -6
- package/dist/{campaign-detail-ITINMJJH.mjs → campaign-detail-IKHUALTL.mjs} +50 -44
- package/dist/{campaign-edit-3D5WFWCT.mjs → campaign-edit-O3LKMLXK.mjs} +3 -3
- package/dist/{campaign-list-SXMDW6B6.mjs → campaign-list-3452F4Y6.mjs} +17 -18
- package/dist/{categories-metadata-TE7B2OJY.mjs → categories-metadata-2HM7G27P.mjs} +18 -17
- package/dist/{category-create-NVRG7B6E.mjs → category-create-BC2VUVKO.mjs} +41 -20
- package/dist/{category-detail-WTSUKIXM.mjs → category-detail-D4PYJJGJ.mjs} +35 -35
- package/dist/{category-edit-JBZQKNL7.mjs → category-edit-U5Y5KJ2Y.mjs} +38 -18
- package/dist/{category-list-OWRWVUVN.mjs → category-list-MLLB5U6K.mjs} +13 -14
- package/dist/{category-organize-HUXXVJAB.mjs → category-organize-4NXFDN2I.mjs} +5 -6
- package/dist/{category-products-CRKFES6N.mjs → category-products-K5INZSSV.mjs} +35 -35
- package/dist/{chunk-JDZPSIIG.mjs → chunk-2D44OO7A.mjs} +1 -1
- package/dist/{chunk-FVK4ZYYM.mjs → chunk-2O43G3RH.mjs} +1 -1
- package/dist/{chunk-KERJR2T2.mjs → chunk-2WZUO66T.mjs} +1 -1
- package/dist/{chunk-GW6TVOAA.mjs → chunk-3C6WQ7NH.mjs} +21 -1
- package/dist/{chunk-ICR3D7SB.mjs → chunk-3DO2JGVG.mjs} +1 -1
- package/dist/{chunk-NOZD6HRU.mjs → chunk-3EGEJ6Q2.mjs} +3 -2
- package/dist/chunk-3I6G3NRU.mjs +44 -0
- package/dist/{chunk-LQFD6I7N.mjs → chunk-3JJBLFYN.mjs} +1 -1
- package/dist/{chunk-YIZSVS2R.mjs → chunk-3TZOFKX2.mjs} +23 -3
- package/dist/{chunk-6I62UDJA.mjs → chunk-4BGVSXZZ.mjs} +43 -22
- package/dist/{chunk-3WXBLS2P.mjs → chunk-4FM6S5CX.mjs} +2 -1
- package/dist/chunk-4XSXVVYD.mjs +18 -0
- package/dist/{chunk-6UX3SSRT.mjs → chunk-67ORSRVT.mjs} +36 -1
- package/dist/chunk-6CPMXY5N.mjs +18 -0
- package/dist/{chunk-2WQFRVK5.mjs → chunk-6IXLTZ2H.mjs} +5 -2
- package/dist/{chunk-AL4WDQTN.mjs → chunk-6VRDTPH2.mjs} +60 -50
- package/dist/{chunk-FVC7M755.mjs → chunk-6XWHQ6ON.mjs} +1 -1
- package/dist/{chunk-NGEWNLV7.mjs → chunk-7DWBXEH3.mjs} +72 -20
- package/dist/{chunk-ZCO6EK4W.mjs → chunk-AERWK3TJ.mjs} +13 -10
- package/dist/{chunk-TDDYKNA2.mjs → chunk-AHQI2S2Z.mjs} +66 -5
- package/dist/{chunk-HUGE7T5V.mjs → chunk-ALKTJGWS.mjs} +2 -2
- package/dist/chunk-AMRS4CSX.mjs +9 -0
- package/dist/{chunk-OIAPXGI2.mjs → chunk-B6ZOPCPA.mjs} +1 -1
- package/dist/chunk-BW322BVH.mjs +52 -0
- package/dist/chunk-BW4QA6B6.mjs +49 -0
- package/dist/{chunk-AQS3BSDG.mjs → chunk-CBYAN3G4.mjs} +4 -3
- package/dist/{chunk-CF64SRBE.mjs → chunk-CIY65KNH.mjs} +1 -1
- package/dist/{chunk-VDBOSWVE.mjs → chunk-DG7J63J2.mjs} +7 -7
- package/dist/{chunk-MWVM4TYO.mjs → chunk-DK4WIVY6.mjs} +18 -0
- package/dist/{chunk-THZJC662.mjs → chunk-EHAU7SOS.mjs} +10 -1
- package/dist/{chunk-DXOEDXLQ.mjs → chunk-ELPHCFRW.mjs} +13 -8
- package/dist/{chunk-TP7N4YBP.mjs → chunk-EQKJ5FSL.mjs} +1 -1
- package/dist/{chunk-7I5DQGWY.mjs → chunk-F7LJJHQT.mjs} +11 -1
- package/dist/{chunk-EUTK2A3J.mjs → chunk-FA2DYBNX.mjs} +1 -1
- package/dist/{chunk-CIE5NZAY.mjs → chunk-FKIOYL3D.mjs} +81 -13
- package/dist/{chunk-2RQLKDBF.mjs → chunk-GIZFNLKK.mjs} +103 -96
- package/dist/{chunk-ETF2DN4M.mjs → chunk-GLVCH422.mjs} +3 -3
- package/dist/chunk-GRNWRTT3.mjs +822 -0
- package/dist/{chunk-AOFGTNG6.mjs → chunk-HQKGZADC.mjs} +6 -1
- package/dist/{chunk-LBIOZZPA.mjs → chunk-HWKLNKOY.mjs} +1 -1
- package/dist/{chunk-LDJKJLBJ.mjs → chunk-I6E6CALJ.mjs} +14 -0
- package/dist/{chunk-7MM5L2ZM.mjs → chunk-IKXQEHLS.mjs} +1 -1
- package/dist/{chunk-NNBHHXXN.mjs → chunk-INE2QCSC.mjs} +1 -1
- package/dist/{chunk-7ITM2TNQ.mjs → chunk-IVZ6BMDB.mjs} +4 -3
- package/dist/{chunk-XMAWMECC.mjs → chunk-IW4TACOD.mjs} +1 -1
- package/dist/{chunk-3OHH43G6.mjs → chunk-IXZVR3HG.mjs} +1 -1
- package/dist/chunk-KEQOAJC2.mjs +108 -0
- package/dist/chunk-KX4P5L3R.mjs +127 -0
- package/dist/chunk-KXRW6JRE.mjs +354 -0
- package/dist/{chunk-W7KW2VOI.mjs → chunk-LEKWKUIS.mjs} +3 -3
- package/dist/{chunk-LTC6LGS4.mjs → chunk-LOAL44PP.mjs} +1 -1
- package/dist/chunk-MFALVTRQ.mjs +181 -0
- package/dist/{chunk-Q5DI5VYN.mjs → chunk-MLNUGLGT.mjs} +1 -1
- package/dist/{chunk-ZJ3OFMHB.mjs → chunk-MQALAB34.mjs} +1 -1
- package/dist/{chunk-F6IJV2I2.mjs → chunk-N4N4KGET.mjs} +1 -1
- package/dist/{chunk-RZD5DU5K.mjs → chunk-NDXL7ZT5.mjs} +13 -13
- package/dist/{chunk-BC3M3N6P.mjs → chunk-NQIC7ZFS.mjs} +2 -2
- package/dist/{chunk-GZBFGV7Y.mjs → chunk-OFN7DIZA.mjs} +18 -14
- package/dist/{chunk-PNU5HPGY.mjs → chunk-OGAZYXOV.mjs} +1 -1
- package/dist/{chunk-XNVMTSI7.mjs → chunk-ORMX5RJQ.mjs} +3 -3
- package/dist/{chunk-3NJTXRIY.mjs → chunk-OZPB6JBL.mjs} +5 -1
- package/dist/{chunk-FP5F2XCU.mjs → chunk-P777A4W3.mjs} +5 -5
- package/dist/{chunk-PWBTCXBJ.mjs → chunk-PFKKVLZX.mjs} +1 -1
- package/dist/{chunk-O6K7WXYN.mjs → chunk-PJ5EUKOB.mjs} +92 -43
- package/dist/chunk-PMA2D6IL.mjs +49 -0
- package/dist/{chunk-D7H6ZNK4.mjs → chunk-PRLQLEEQ.mjs} +2 -0
- package/dist/{chunk-5ZEHQCGN.mjs → chunk-PYIPIUAY.mjs} +55526 -34216
- package/dist/chunk-Q33G337Z.mjs +98 -0
- package/dist/{chunk-DGRTPKQC.mjs → chunk-QMRGIWOP.mjs} +1 -1
- package/dist/{chunk-RSYDZHZN.mjs → chunk-QXXHLVRQ.mjs} +44 -72
- package/dist/chunk-QZ7TP4HQ.mjs +7 -0
- package/dist/{chunk-G2H6MAK7.mjs → chunk-R2G2B47Y.mjs} +15 -5
- package/dist/chunk-R2QF6AQX.mjs +41 -0
- package/dist/chunk-RM6NY572.mjs +48 -0
- package/dist/{chunk-CVCFQMSO.mjs → chunk-S34JJVBQ.mjs} +58 -17
- package/dist/chunk-S4DMV3ZT.mjs +35 -0
- package/dist/{chunk-43EZDQEG.mjs → chunk-SC6BSTC7.mjs} +2 -2
- package/dist/{chunk-LU7VJVTE.mjs → chunk-SJ3E4T6B.mjs} +1 -1
- package/dist/{chunk-X2Y4KNQI.mjs → chunk-SNDSWB6B.mjs} +21 -9
- package/dist/{chunk-2MPQMCLO.mjs → chunk-TUCPFNIY.mjs} +57 -13
- package/dist/chunk-UC26CCHZ.mjs +45 -0
- package/dist/{chunk-SKR2YX52.mjs → chunk-UKX2FFFV.mjs} +2 -2
- package/dist/{chunk-6LA2RGO4.mjs → chunk-ULQ3V4CC.mjs} +2 -2
- package/dist/{chunk-UCMPRD5U.mjs → chunk-VAIHVNV6.mjs} +1 -1
- package/dist/chunk-VLOA5XAC.mjs +113 -0
- package/dist/{chunk-E46GSGZ5.mjs → chunk-VWXNC2B5.mjs} +5 -5
- package/dist/chunk-W77EPLUD.mjs +1141 -0
- package/dist/{chunk-OV5NMSY6.mjs → chunk-WATKBUHQ.mjs} +1 -1
- package/dist/{chunk-GE4APTT2.mjs → chunk-WEMXXZMY.mjs} +47 -36
- package/dist/chunk-WMOGMKQN.mjs +0 -0
- package/dist/{chunk-DRAV7IQC.mjs → chunk-WT5BXCPV.mjs} +76 -44
- package/dist/{chunk-RWU2ZKWZ.mjs → chunk-WTK7SR6S.mjs} +37 -3
- package/dist/{chunk-PDWBYQOW.mjs → chunk-X6BAAGCL.mjs} +1 -1
- package/dist/{chunk-UAZEQNCO.mjs → chunk-X6DSNTTX.mjs} +1 -1
- package/dist/{chunk-4UY4U2B5.mjs → chunk-XDCNT5GQ.mjs} +4 -6
- package/dist/{chunk-G3QXMPRB.mjs → chunk-XLDQPLK4.mjs} +8 -41
- package/dist/chunk-XWO5BP42.mjs +37 -0
- package/dist/{chunk-C2ZUHW3Z.mjs → chunk-XXROCJ7D.mjs} +191 -309
- package/dist/{chunk-YS65UGPC.mjs → chunk-XYHXWLTJ.mjs} +1 -1
- package/dist/{chunk-3XEXC5WH.mjs → chunk-Y2XQE25L.mjs} +2 -2
- package/dist/{tax-region-tax-override-edit-2T7PD6N3.mjs → chunk-YL4UEHO3.mjs} +52 -236
- package/dist/{chunk-XKXNQ2KV.mjs → chunk-ZCARHA6C.mjs} +1 -1
- package/dist/{chunk-PBEBKGPJ.mjs → chunk-ZUUKLYH4.mjs} +1 -1
- package/dist/{collection-add-products-XERJQKAX.mjs → collection-add-products-TWIDVZMU.mjs} +34 -34
- package/dist/collection-create-CUZFWEOB.mjs +132 -0
- package/dist/{collection-detail-XRN3Y3YT.mjs → collection-detail-B33WPVIW.mjs} +30 -30
- package/dist/{collection-edit-D7OGD4MC.mjs → collection-edit-22I7EEJG.mjs} +4 -4
- package/dist/{collection-list-G5PTIE4I.mjs → collection-list-DAW7WOX5.mjs} +41 -41
- package/dist/{collection-metadata-244B7424.mjs → collection-metadata-ZUFYY4OU.mjs} +18 -17
- package/dist/{customer-create-TKKVS4LF.mjs → customer-create-WCBUYT44.mjs} +2 -2
- package/dist/{customer-create-address-P4YQFUI5.mjs → customer-create-address-VWVIJDMK.mjs} +5 -4
- package/dist/{customer-detail-EW4Y5ZHT.mjs → customer-detail-ATJGSJTH.mjs} +38 -38
- package/dist/{customer-edit-I4K3LK66.mjs → customer-edit-FMK2AWZ5.mjs} +2 -2
- package/dist/{customer-group-add-customers-UJJ77G7K.mjs → customer-group-add-customers-57THRZ6D.mjs} +30 -31
- package/dist/{customer-group-create-5EILGGLH.mjs → customer-group-create-Y5O2CJOI.mjs} +2 -2
- package/dist/{customer-group-detail-WZFJPKZE.mjs → customer-group-detail-OVZIWNPP.mjs} +29 -30
- package/dist/{customer-group-edit-NBVNSBMX.mjs → customer-group-edit-SMVW7PHM.mjs} +2 -2
- package/dist/{customer-group-list-ZYLGQKOU.mjs → customer-group-list-SADXXHAE.mjs} +25 -21
- package/dist/{customer-group-metadata-IRTI56TA.mjs → customer-group-metadata-XJIMV7QU.mjs} +4 -3
- package/dist/{customer-list-3LZRV3ZM.mjs → customer-list-TE7VNBX6.mjs} +15 -16
- package/dist/{customer-metadata-TPIFKFIQ.mjs → customer-metadata-E32DPXXE.mjs} +4 -3
- package/dist/{customers-add-customer-group-F473JGOA.mjs → customers-add-customer-group-XNPZ47LK.mjs} +26 -27
- package/dist/{edit-inventory-item-KQUKSOGO.mjs → edit-inventory-item-5RPZHCM7.mjs} +3 -3
- package/dist/{edit-inventory-item-attributes-I55BRBWC.mjs → edit-inventory-item-attributes-R73ZTBYG.mjs} +6 -5
- package/dist/{edit-reservation-GEJHV6OI.mjs → edit-reservation-WMLAFMYU.mjs} +9 -4
- package/dist/{edit-rules-7MMNZKEQ.mjs → edit-rules-KV43O773.mjs} +44 -9
- package/dist/en.json +3219 -0
- package/dist/{home-KSB2J7CS.mjs → home-KFQGXKRT.mjs} +1 -1
- package/dist/index.d.ts +8 -3
- package/dist/{inventory-create-NZ67QMNB.mjs → inventory-create-NW5WSPBV.mjs} +27 -21
- package/dist/{inventory-detail-UBCCADB3.mjs → inventory-detail-I2CNJC6Y.mjs} +188 -191
- package/dist/{inventory-list-XIL665KR.mjs → inventory-list-I7IXI4KC.mjs} +11 -12
- package/dist/{inventory-metadata-AG5IVFBR.mjs → inventory-metadata-7XR4ON7G.mjs} +18 -17
- package/dist/{inventory-stock-XZWLARFE.mjs → inventory-stock-VTIDGTOY.mjs} +20 -19
- package/dist/{invite-3KXZ7ZZI.mjs → invite-U4I4IUOM.mjs} +1 -1
- package/dist/{location-create-G3CYBYOF.mjs → location-create-GZCUNYDT.mjs} +5 -4
- package/dist/{location-detail-GHY3DXRP.mjs → location-detail-WZM4EXFM.mjs} +24 -23
- package/dist/{location-edit-IMBG32Z4.mjs → location-edit-VNEMLWGR.mjs} +5 -5
- package/dist/{location-fulfillment-providers-ELVN5G5W.mjs → location-fulfillment-providers-F7MMM5KC.mjs} +26 -27
- package/dist/location-list-W6EHBBE5.mjs +323 -0
- package/dist/{location-sales-channels-JODORWDG.mjs → location-sales-channels-J3V26P3Q.mjs} +15 -11
- package/dist/{location-service-zone-create-6DZFP7Y7.mjs → location-service-zone-create-27MNMKPQ.mjs} +10 -11
- package/dist/{location-service-zone-edit-W3G7XOC7.mjs → location-service-zone-edit-LCBBZ2OA.mjs} +2 -2
- package/dist/{location-service-zone-manage-areas-EJIOVS3U.mjs → location-service-zone-manage-areas-U3EPNWSI.mjs} +10 -11
- package/dist/{location-service-zone-shipping-option-create-7KOH5VVW.mjs → location-service-zone-shipping-option-create-F3EQW67U.mjs} +65 -30
- package/dist/location-service-zone-shipping-option-edit-27MYKN7R.mjs +356 -0
- package/dist/{location-service-zone-shipping-option-pricing-SKUSE5YE.mjs → location-service-zone-shipping-option-pricing-GJIO4RRM.mjs} +7 -6
- package/dist/{login-OYY6LIPR.mjs → login-VZALGB6R.mjs} +15 -15
- package/dist/manage-locations-ZRCDYW5V.mjs +247 -0
- package/dist/{no-match-YRNHGOT3.mjs → no-match-7QRDCDCD.mjs} +1 -1
- package/dist/{order-allocate-items-TMQ5M7TG.mjs → order-allocate-items-MZ7Y4FU4.mjs} +53 -25
- package/dist/{order-create-claim-JRJNBW7N.mjs → order-create-claim-VFFKHCI6.mjs} +93 -62
- package/dist/{order-create-edit-IYZYZOJU.mjs → order-create-edit-7TFUOMST.mjs} +35 -35
- package/dist/{order-create-exchange-SWV6T3C2.mjs → order-create-exchange-CXQ5ZM3Q.mjs} +81 -64
- package/dist/{order-create-fulfillment-62OZHL3L.mjs → order-create-fulfillment-VTICR6OE.mjs} +111 -56
- package/dist/order-create-refund-RWDVIXPV.mjs +686 -0
- package/dist/{order-create-return-CDCLNOCB.mjs → order-create-return-AYWH3WMR.mjs} +36 -30
- package/dist/{order-create-shipment-REC24C7Y.mjs → order-create-shipment-2KNYEHSU.mjs} +118 -41
- package/dist/{order-detail-RP63TRG6.mjs → order-detail-IFXJNVTV.mjs} +895 -391
- package/dist/{order-edit-billing-address-XDNORAHG.mjs → order-edit-billing-address-T6BIIRAX.mjs} +20 -19
- package/dist/{order-edit-email-V4DC4GJV.mjs → order-edit-email-SLUOGWRO.mjs} +17 -17
- package/dist/{order-edit-shipping-address-NWT5LDKC.mjs → order-edit-shipping-address-YUES5K5Q.mjs} +20 -19
- package/dist/order-list-4N3OV2PU.mjs +283 -0
- package/dist/{order-metadata-4YNV2NWH.mjs → order-metadata-HS33MC6S.mjs} +18 -17
- package/dist/{order-receive-return-AXAZNUIB.mjs → order-receive-return-E6BGSZVL.mjs} +21 -20
- package/dist/{order-request-transfer-OZNQQL3N.mjs → order-request-transfer-7IIDQ37I.mjs} +19 -19
- package/dist/{price-list-configuration-QDADAJXD.mjs → price-list-configuration-4XY4JW4I.mjs} +13 -14
- package/dist/{price-list-create-7HYQ5R7R.mjs → price-list-create-VFQVCUWV.mjs} +58 -44
- package/dist/{price-list-detail-DWUY4NRM.mjs → price-list-detail-32UKOWNW.mjs} +33 -33
- package/dist/{price-list-edit-TMZCXEFR.mjs → price-list-edit-GXDLVOU4.mjs} +53 -33
- package/dist/{price-list-list-C53HAXU7.mjs → price-list-list-TKXSU27S.mjs} +13 -14
- package/dist/{price-list-prices-add-PGOF7G5W.mjs → price-list-prices-add-AY75YZ7D.mjs} +44 -36
- package/dist/{price-list-prices-edit-JUS5FBBN.mjs → price-list-prices-edit-J7HCNDTO.mjs} +8 -7
- package/dist/{product-attributes-GKM272E2.mjs → product-attributes-3GCAY7KW.mjs} +37 -29
- package/dist/{product-create-6IIIZWTB.mjs → product-create-4TD7FQC7.mjs} +205 -179
- package/dist/{product-create-option-E2GRTBWP.mjs → product-create-option-D2636LJL.mjs} +3 -3
- package/dist/{product-create-variant-3B32EC76.mjs → product-create-variant-ZWY57BX7.mjs} +38 -25
- package/dist/{product-detail-KCPBP53S.mjs → product-detail-J7T7MNUY.mjs} +74 -64
- package/dist/{product-edit-PBISK6ZJ.mjs → product-edit-MJ7VAIVY.mjs} +50 -36
- package/dist/{product-edit-option-RHMF3YKT.mjs → product-edit-option-DYAFZIT2.mjs} +3 -3
- package/dist/{product-export-KJXAVIZ3.mjs → product-export-X64NQWTS.mjs} +47 -37
- package/dist/product-image-variants-edit-J6A5G4AC.mjs +327 -0
- package/dist/{product-import-JCEJKM3F.mjs → product-import-HDNC36SM.mjs} +25 -25
- package/dist/product-list-E7HS4SBG.mjs +445 -0
- package/dist/{product-media-34NDO6DC.mjs → product-media-Z3NNTB7H.mjs} +10 -11
- package/dist/{product-metadata-PQQ7XV63.mjs → product-metadata-LMDEXR3V.mjs} +18 -17
- package/dist/{product-organization-QZ5AXVG5.mjs → product-organization-263TICCI.mjs} +30 -27
- package/dist/{product-prices-BBTCM3XR.mjs → product-prices-MCZYVPQW.mjs} +6 -5
- package/dist/{product-sales-channels-5L64AKRQ.mjs → product-sales-channels-RHZQXWAY.mjs} +14 -10
- package/dist/{product-shipping-profile-Z2MVNVBT.mjs → product-shipping-profile-GVTR3MHD.mjs} +29 -26
- package/dist/{product-stock-TZS75EG7.mjs → product-stock-O2BH5R45.mjs} +22 -20
- package/dist/{product-tag-create-LE4MZ5BW.mjs → product-tag-create-GOJTE5XA.mjs} +16 -16
- package/dist/{product-tag-detail-LQFUS6IU.mjs → product-tag-detail-CK5F4DU3.mjs} +56 -54
- package/dist/{product-tag-edit-E6WEFNFQ.mjs → product-tag-edit-IT4GHLSO.mjs} +16 -16
- package/dist/{product-tag-list-DASW6YQO.mjs → product-tag-list-VNROS2W3.mjs} +55 -54
- package/dist/product-tag-metadata-QV2BOGP2.mjs +70 -0
- package/dist/{product-type-create-GU5IYXQB.mjs → product-type-create-AHVZETDR.mjs} +2 -2
- package/dist/{product-type-detail-VLOGXH6T.mjs → product-type-detail-7K5RLART.mjs} +30 -30
- package/dist/{product-type-edit-S53VUBU3.mjs → product-type-edit-2RGFBZPK.mjs} +2 -2
- package/dist/{product-type-list-A36X6L73.mjs → product-type-list-2ZQ2NE3R.mjs} +15 -16
- package/dist/product-type-metadata-5TDBJGNQ.mjs +70 -0
- package/dist/{product-variant-detail-HKNUYNS5.mjs → product-variant-detail-3SO2MX22.mjs} +111 -53
- package/dist/{product-variant-edit-G6AM27AT.mjs → product-variant-edit-DW27AYBX.mjs} +24 -19
- package/dist/product-variant-manage-inventory-items-T5OB3YX3.mjs +341 -0
- package/dist/product-variant-media-PHRCKUDK.mjs +374 -0
- package/dist/{product-variant-metadata-2V27ZMDS.mjs → product-variant-metadata-4KJE6B2R.mjs} +18 -17
- package/dist/{profile-detail-4HQ3RK2U.mjs → profile-detail-UTJBWZSA.mjs} +5 -4
- package/dist/{profile-edit-VZPQ4NSH.mjs → profile-edit-OOYMTKX6.mjs} +34 -22
- package/dist/{promotion-add-campaign-4VNRQF52.mjs → promotion-add-campaign-XJB2ZKZ3.mjs} +12 -24
- package/dist/{promotion-create-PLDWDZMZ.mjs → promotion-create-F27AOTVZ.mjs} +258 -93
- package/dist/{promotion-detail-DKYNPGDK.mjs → promotion-detail-ZDINJASC.mjs} +146 -87
- package/dist/promotion-edit-details-JMZ77QJ4.mjs +496 -0
- package/dist/{promotion-list-AGVOXS5Q.mjs → promotion-list-MN6YJCYA.mjs} +15 -16
- package/dist/refund-reason-create-5ATQ2IPU.mjs +192 -0
- package/dist/refund-reason-edit-F7AMOTG3.mjs +192 -0
- package/dist/refund-reason-list-SFTHVSPC.mjs +244 -0
- package/dist/{region-add-countries-DGMSV27N.mjs → region-add-countries-KGFPZSRE.mjs} +15 -15
- package/dist/{region-create-NQLVPGUT.mjs → region-create-YJJRTAYO.mjs} +62 -53
- package/dist/{region-detail-BBK4KAZ5.mjs → region-detail-ERE4ZF2I.mjs} +10 -11
- package/dist/region-edit-QCN7SMR5.mjs +308 -0
- package/dist/{region-list-F7I4UPZS.mjs → region-list-W55C3CTH.mjs} +15 -16
- package/dist/{region-metadata-4S6FEUXA.mjs → region-metadata-CRAHVHOC.mjs} +18 -17
- package/dist/{reservation-create-INUIVD55.mjs → reservation-create-YZMZ6HSS.mjs} +5 -5
- package/dist/{reservation-detail-QKUCAH7D.mjs → reservation-detail-6MCBQZAE.mjs} +19 -18
- package/dist/{reservation-list-NAYFTRNY.mjs → reservation-list-IEUC3KXK.mjs} +15 -15
- package/dist/{reservation-metadata-5ZABNMJP.mjs → reservation-metadata-IQNJPNAX.mjs} +18 -17
- package/dist/{reset-password-HHFO6CDI.mjs → reset-password-CUEG23GU.mjs} +3 -2
- package/dist/{return-reason-create-YANSYS43.mjs → return-reason-create-45IARQ5L.mjs} +2 -2
- package/dist/{return-reason-edit-4FSM4H3M.mjs → return-reason-edit-5FIOEJ5Y.mjs} +2 -2
- package/dist/{return-reason-list-YQP7NEIY.mjs → return-reason-list-CBOVMQZF.mjs} +37 -36
- package/dist/{sales-channel-add-products-ACYP5CUR.mjs → sales-channel-add-products-7RKUDBXN.mjs} +29 -29
- package/dist/{sales-channel-create-HVZPII6E.mjs → sales-channel-create-7ISLGNGC.mjs} +6 -4
- package/dist/{sales-channel-detail-UFL3EW5W.mjs → sales-channel-detail-TKVVIAS5.mjs} +30 -30
- package/dist/{sales-channel-edit-BK7O3ZFI.mjs → sales-channel-edit-2PEHGAWF.mjs} +6 -4
- package/dist/{sales-channel-list-2EDYVY5Y.mjs → sales-channel-list-SI7JVBOI.mjs} +25 -22
- package/dist/{sales-channel-metadata-UH4QYASI.mjs → sales-channel-metadata-ZOCPAIGM.mjs} +18 -17
- package/dist/{settings-FQUPXMWF.mjs → settings-FKUZ6EYT.mjs} +1 -1
- package/dist/shipping-option-type-create-YR2QV2OG.mjs +195 -0
- package/dist/shipping-option-type-detail-TYHGCV2X.mjs +178 -0
- package/dist/shipping-option-type-edit-6KL3MHVT.mjs +193 -0
- package/dist/shipping-option-type-list-YPCCUVFZ.mjs +277 -0
- package/dist/{shipping-profile-create-PBDONCGJ.mjs → shipping-profile-create-372EMPUI.mjs} +2 -2
- package/dist/{shipping-profile-detail-EORJZ7NX.mjs → shipping-profile-detail-MRXUOUXK.mjs} +4 -3
- package/dist/{shipping-profile-metadata-UB73OBPJ.mjs → shipping-profile-metadata-A33XKBQN.mjs} +18 -17
- package/dist/{shipping-profiles-list-EFGYH4OS.mjs → shipping-profiles-list-KYYSHLSZ.mjs} +9 -10
- package/dist/{store-add-currencies-2OBWTWKT.mjs → store-add-currencies-SNSW7A6O.mjs} +11 -10
- package/dist/{store-detail-U5HON77R.mjs → store-detail-3ZV7FCPV.mjs} +24 -25
- package/dist/{store-edit-JNSWFWIG.mjs → store-edit-FNKVB3UA.mjs} +29 -17
- package/dist/{store-metadata-GLAZZPP6.mjs → store-metadata-LMRFCZ3J.mjs} +18 -17
- package/dist/{tax-region-create-EW5USMNY.mjs → tax-region-create-5Y6EA7XE.mjs} +103 -36
- package/dist/{tax-region-detail-MVSV7BWW.mjs → tax-region-detail-TTYUBJ3V.mjs} +107 -40
- package/dist/tax-region-edit-IKEWHRUK.mjs +163 -0
- package/dist/{tax-region-list-FNVPRMTQ.mjs → tax-region-list-HQMSVGDD.mjs} +12 -11
- package/dist/{tax-region-province-create-LQ5SPSXW.mjs → tax-region-province-create-6GZCPPGW.mjs} +35 -53
- package/dist/{tax-region-province-detail-4G2WUUBB.mjs → tax-region-province-detail-YCY56CRL.mjs} +81 -28
- package/dist/{tax-region-tax-override-create-EXGXVKBR.mjs → tax-region-tax-override-create-R3PNDP43.mjs} +90 -61
- package/dist/tax-region-tax-override-edit-QLD7MIQY.mjs +270 -0
- package/dist/{tax-region-tax-rate-create-7GNLSDJ2.mjs → tax-region-tax-rate-create-TJLSRCEC.mjs} +7 -6
- package/dist/{tax-region-tax-rate-edit-6U2BQMIE.mjs → tax-region-tax-rate-edit-DEKCUURK.mjs} +7 -6
- package/dist/{user-detail-X2Z2IYNI.mjs → user-detail-DFZPKHG2.mjs} +5 -4
- package/dist/{user-edit-HFSJM4QT.mjs → user-edit-NFRTYOKO.mjs} +2 -2
- package/dist/{user-invite-3V3ZTOJS.mjs → user-invite-FQNKJKMD.mjs} +14 -20
- package/dist/{user-list-35TJ53CP.mjs → user-list-6EVTLPJE.mjs} +15 -10
- package/dist/{user-metadata-GJ6PIXLU.mjs → user-metadata-BQKW4WAU.mjs} +18 -17
- package/dist/{workflow-execution-detail-D26MDYFC.mjs → workflow-execution-detail-D5QUZFTV.mjs} +21 -17
- package/dist/{workflow-execution-list-FKIKX7HK.mjs → workflow-execution-list-JOVBPL45.mjs} +8 -9
- package/package.json +25 -32
- package/src/app.tsx +2 -0
- package/src/components/common/action-menu/action-menu.tsx +3 -1
- package/src/components/common/customer-info/customer-info.tsx +1 -1
- package/src/components/common/infinite-list/infinite-list.tsx +8 -2
- 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/data-grid/hooks/use-data-grid-form-handlers.tsx +6 -5
- package/src/components/data-table/data-table.tsx +171 -56
- 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/filtering/query/query.tsx +1 -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 +21 -14
- package/src/components/inputs/country-select/country-select.tsx +37 -62
- package/src/components/inputs/percentage-input/percentage-input.tsx +67 -37
- package/src/components/inputs/province-select/province-select.tsx +42 -62
- 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/modals/hooks/use-state-aware-to.tsx +10 -4
- package/src/components/modals/route-modal-form/route-modal-form.tsx +6 -6
- package/src/components/search/search.tsx +5 -3
- package/src/components/search/use-search-results.tsx +1 -1
- package/src/components/table/configurable-data-table/configurable-data-table.tsx +240 -0
- package/src/components/table/configurable-data-table/index.ts +3 -0
- package/src/components/table/configurable-data-table/save-view-dropdown.tsx +87 -0
- package/src/components/table/data-table/data-table-filter/date-filter.tsx +22 -4
- package/src/components/table/data-table/data-table-filter/number-filter.tsx +1 -1
- package/src/components/table/data-table/data-table-filter/string-filter.tsx +1 -1
- 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/components/table/data-table/data-table-search/data-table-search.tsx +1 -1
- package/src/components/table/save-view-dialog/index.ts +1 -0
- package/src/components/table/save-view-dialog/save-view-dialog.tsx +163 -0
- package/src/components/table/save-view-dropdown/index.ts +1 -0
- package/src/components/table/save-view-dropdown/save-view-dropdown.tsx +88 -0
- package/src/components/table/view-selector/index.ts +2 -0
- package/src/components/table/view-selector/view-pills.tsx +265 -0
- package/src/components/table/view-selector/view-selector.tsx +253 -0
- package/src/components/utilities/i18n/i18n.tsx +9 -1
- package/src/dashboard-app/dashboard-app.tsx +22 -0
- package/src/dashboard-app/forms/form-extension-zone/form-extension-zone.tsx +1 -1
- package/src/dashboard-app/routes/get-route.map.tsx +124 -1
- package/src/dashboard-app/types.ts +7 -0
- package/src/hooks/api/campaigns.tsx +1 -0
- package/src/hooks/api/feature-flags.tsx +22 -0
- package/src/hooks/api/index.ts +3 -0
- package/src/hooks/api/inventory.tsx +7 -1
- package/src/hooks/api/orders.tsx +61 -1
- package/src/hooks/api/payments.tsx +6 -1
- package/src/hooks/api/plugins.tsx +28 -0
- package/src/hooks/api/products.tsx +55 -1
- package/src/hooks/api/promotions.tsx +17 -3
- package/src/hooks/api/refund-reasons.tsx +105 -10
- package/src/hooks/api/shipping-option-types.tsx +128 -0
- package/src/hooks/api/tax-regions.tsx +24 -0
- package/src/hooks/api/views.tsx +244 -0
- package/src/hooks/table/columns/index.ts +1 -0
- package/src/hooks/table/columns/use-column-state.ts +209 -0
- package/src/hooks/table/columns/use-configurable-table-columns.tsx +109 -0
- package/src/hooks/table/columns/use-order-data-table-columns.tsx +234 -0
- package/src/hooks/table/columns/use-refund-reason-table-columns.tsx +39 -0
- package/src/hooks/table/columns/use-shipping-option-table-columns.tsx +89 -0
- package/src/hooks/table/columns/use-shipping-option-type-table-columns.tsx +44 -0
- package/src/hooks/table/filters/use-product-table-filters.tsx +3 -0
- package/src/hooks/table/filters/use-shipping-option-table-filters.tsx +10 -19
- package/src/hooks/table/filters/use-shipping-option-type-table-filters.tsx +5 -0
- package/src/hooks/table/query/index.ts +1 -0
- package/src/hooks/table/query/use-order-table-query.tsx +1 -1
- package/src/hooks/table/query/use-product-variant-table-query.tsx +32 -0
- package/src/hooks/table/query/use-promotion-table-query.tsx +3 -2
- package/src/hooks/table/query/use-refund-reason-table-query.tsx +32 -0
- package/src/hooks/table/query/use-shipping-option-table-query.tsx +16 -4
- package/src/hooks/table/query/use-shipping-option-type-table-query.tsx +32 -0
- package/src/hooks/table/use-table-configuration.tsx +287 -0
- package/src/hooks/use-combobox-data.tsx +27 -3
- package/src/hooks/use-debounced-search.tsx +1 -1
- package/src/hooks/use-document-direction.tsx +54 -0
- package/src/hooks/use-view-configurations.tsx +102 -0
- package/src/i18n/config.ts +2 -5
- package/src/i18n/languages.ts +35 -0
- package/src/i18n/translations/$schema.json +818 -33
- package/src/i18n/translations/ar.json +8 -4
- package/src/i18n/translations/bg.json +8 -4
- package/src/i18n/translations/bs.json +3016 -0
- package/src/i18n/translations/cs.json +136 -14
- package/src/i18n/translations/de.json +42 -38
- package/src/i18n/translations/el.json +8 -4
- package/src/i18n/translations/en.json +239 -25
- package/src/i18n/translations/es.json +344 -28
- package/src/i18n/translations/fa.json +8 -4
- package/src/i18n/translations/fr.json +8 -4
- package/src/i18n/translations/he.json +3017 -0
- package/src/i18n/translations/hu.json +3005 -0
- package/src/i18n/translations/id.json +3020 -0
- package/src/i18n/translations/index.ts +20 -1
- package/src/i18n/translations/it.json +8 -4
- package/src/i18n/translations/ja.json +8 -4
- package/src/i18n/translations/ko.json +234 -212
- package/src/i18n/translations/lt.json +8 -4
- package/src/i18n/translations/mk.json +8 -4
- package/src/i18n/translations/mn.json +8 -4
- package/src/i18n/translations/nl.json +3005 -0
- package/src/i18n/translations/pl.json +149 -30
- package/src/i18n/translations/ptBR.json +8 -4
- package/src/i18n/translations/ro.json +8 -4
- package/src/i18n/translations/ru.json +8 -4
- package/src/i18n/translations/th.json +8 -4
- package/src/i18n/translations/tr.json +8 -4
- package/src/i18n/translations/uk.json +8 -4
- package/src/i18n/translations/vi.json +56 -8
- package/src/i18n/translations/zhCN.json +106 -17
- package/src/lib/common.ts +13 -0
- package/src/lib/credit-line.ts +8 -0
- package/src/lib/data/countries.ts +7 -7
- package/src/lib/data/country-states.ts +9 -0
- package/src/lib/data/currencies.ts +18 -0
- package/src/lib/format-currency.ts +1 -1
- package/src/lib/number-helper.ts +19 -0
- package/src/lib/orders.ts +23 -0
- package/src/lib/percentage-helpers.ts +1 -0
- package/src/lib/plugins.ts +7 -0
- package/src/lib/promotions.ts +3 -1
- package/src/lib/shipping-options.ts +43 -0
- package/src/lib/table/cell-renderers.tsx +313 -0
- package/src/lib/table/entity-adapters.tsx +138 -0
- package/src/lib/table/entity-defaults.ts +73 -0
- package/src/lib/table/field-utils.ts +75 -0
- package/src/lib/table/table-adapters.ts +94 -0
- package/src/lib/table-display-utils.tsx +372 -0
- package/src/module.d.ts +6 -0
- package/src/providers/feature-flag-provider/index.tsx +46 -0
- package/src/providers/i18n-provider/i18n-provider.tsx +9 -4
- package/src/providers/keybind-provider/hooks.tsx +1 -1
- package/src/providers/providers.tsx +6 -4
- package/src/routes/api-key-management/api-key-management-detail/components/api-key-sales-channel-section/api-key-sales-channel-section.tsx +1 -0
- package/src/routes/api-key-management/api-key-management-list/components/api-key-management-list-table/api-key-management-list-table.tsx +1 -1
- package/src/routes/campaigns/campaign-create/components/create-campaign-form/create-campaign-form.tsx +8 -2
- package/src/routes/campaigns/campaign-detail/components/campaign-budget/campaign-budget.tsx +20 -9
- package/src/routes/campaigns/campaign-detail/components/campaign-spend/campaign-spend.tsx +6 -4
- package/src/routes/campaigns/campaign-list/components/campaign-list-table.tsx +1 -1
- package/src/routes/campaigns/common/components/create-campaign-form-fields/create-campaign-form-fields.tsx +61 -6
- package/src/routes/campaigns/common/constants.ts +1 -0
- 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/categories/category-products/components/edit-category-products-form/edit-category-products-form.tsx +10 -8
- package/src/routes/collections/collection-add-products/components/add-products-to-collection-form/add-products-to-collection-form.tsx +10 -8
- package/src/routes/collections/collection-create/components/create-collection-form/create-collection-form.tsx +22 -19
- package/src/routes/customer-groups/customer-group-add-customers/components/add-customers-form/add-customers-form.tsx +16 -14
- 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-location-levels.tsx +1 -1
- package/src/routes/inventory/inventory-detail/components/inventory-item-reservations.tsx +1 -1
- package/src/routes/inventory/inventory-detail/components/inventory-item-variants/variants-section.tsx +1 -1
- package/src/routes/inventory/inventory-detail/components/location-levels-table/location-list-table.tsx +12 -18
- package/src/routes/inventory/inventory-detail/components/location-levels-table/use-location-list-table-columns.tsx +79 -6
- package/src/routes/inventory/inventory-detail/components/location-levels-table/use-location-list-table-query.tsx +9 -21
- package/src/routes/inventory/inventory-detail/components/manage-locations/components/location-item.tsx +2 -2
- package/src/routes/inventory/inventory-detail/components/manage-locations/components/location-search-input.tsx +34 -0
- package/src/routes/inventory/inventory-detail/components/manage-locations/components/manage-locations-form.tsx +127 -140
- package/src/routes/locations/common/components/conditional-price-form/conditional-price-form.tsx +1 -1
- package/src/routes/locations/location-edit/components/edit-location-form/edit-location-form.tsx +2 -3
- package/src/routes/locations/location-list/index.ts +0 -1
- package/src/routes/locations/location-list/location-list.tsx +61 -15
- package/src/routes/locations/location-list/use-location-list-table-columns.tsx +185 -0
- package/src/routes/locations/location-list/use-location-list-table-query.tsx +22 -0
- package/src/routes/locations/location-sales-channels/components/edit-sales-channels-form/edit-sales-channels-form.tsx +1 -1
- package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/create-shipping-option-details-form.tsx +40 -5
- package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/create-shipping-options-form.tsx +4 -7
- package/src/routes/locations/location-service-zone-shipping-option-create/components/create-shipping-options-form/schema.ts +1 -0
- package/src/routes/locations/location-service-zone-shipping-option-edit/components/edit-region-form/edit-shipping-option-form.tsx +84 -4
- package/src/routes/orders/order-allocate-items/components/order-create-fulfillment-form/order-allocate-items-form.tsx +28 -11
- package/src/routes/orders/order-allocate-items/components/order-create-fulfillment-form/order-allocate-items-item.tsx +2 -2
- package/src/routes/orders/order-allocate-items/components/order-create-fulfillment-form/utils.ts +28 -0
- package/src/routes/orders/order-balance-settlement/components/order-balance-settlement-form/index.ts +1 -0
- package/src/routes/orders/order-balance-settlement/components/order-balance-settlement-form/order-balance-settlement-form.tsx +396 -0
- package/src/routes/orders/order-balance-settlement/index.ts +1 -0
- package/src/routes/orders/order-create-claim/components/claim-create-form/claim-create-form.tsx +49 -18
- package/src/routes/orders/order-create-claim/components/claim-create-form/claim-outbound-item.tsx +1 -1
- package/src/routes/orders/order-create-claim/components/claim-create-form/claim-outbound-section.tsx +7 -10
- 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-edit/components/order-edit-create-form/order-edit-item.tsx +1 -1
- package/src/routes/orders/order-create-exchange/components/exchange-create-form/exchange-create-form.tsx +38 -16
- package/src/routes/orders/order-create-exchange/components/exchange-create-form/exchange-outbound-item.tsx +1 -1
- package/src/routes/orders/order-create-exchange/components/exchange-create-form/exchange-outbound-section.tsx +7 -10
- package/src/routes/orders/order-create-fulfillment/components/order-create-fulfillment-form/order-create-fulfillment-form.tsx +32 -30
- package/src/routes/orders/order-create-fulfillment/components/order-create-fulfillment-form/order-create-fulfillment-item.tsx +71 -16
- package/src/routes/orders/order-create-refund/components/create-refund-form/create-refund-form.tsx +122 -79
- package/src/routes/orders/order-create-refund/order-create-refund.tsx +7 -14
- package/src/routes/orders/order-create-return/components/return-create-form/return-create-form.tsx +16 -9
- package/src/routes/orders/order-create-shipment/components/order-create-shipment-form/order-create-shipment-form.tsx +108 -44
- package/src/routes/orders/order-detail/components/order-activity-section/order-timeline.tsx +20 -12
- package/src/routes/orders/order-detail/components/order-fulfillment-section/order-fulfillment-section.tsx +30 -13
- package/src/routes/orders/order-detail/components/order-payment-section/order-payment-section.tsx +104 -16
- package/src/routes/orders/order-detail/components/order-summary-section/order-summary-section.tsx +270 -116
- package/src/routes/orders/order-detail/constants.ts +11 -1
- package/src/routes/orders/order-detail/order-detail.tsx +4 -2
- package/src/routes/orders/order-list/components/order-list-table/components/save-view-dropdown.tsx +81 -0
- package/src/routes/orders/order-list/components/order-list-table/configurable-order-list-table.tsx +16 -0
- package/src/routes/orders/order-list/components/order-list-table/constants.ts +14 -0
- package/src/routes/orders/order-list/components/order-list-table/hooks/use-order-data-table-columns.tsx +153 -0
- package/src/routes/orders/order-list/components/order-list-table/order-list-table.tsx +10 -1
- package/src/routes/orders/order-list/components/order-list-table/order-table-adapter.tsx +68 -0
- package/src/routes/orders/order-list/components/order-list-table/use-order-table-filters.tsx +62 -0
- package/src/routes/orders/order-list/const.ts +2 -2
- 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-detail/components/price-list-product-section/price-list-product-section.tsx +1 -1
- 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/price-lists/price-list-prices-add/components/price-list-prices-add-form/price-list-prices-add-product-ids-form.tsx +1 -0
- package/src/routes/product-tags/product-tag-detail/product-tag-detail.tsx +1 -0
- package/src/routes/product-tags/product-tag-metadata/index.ts +1 -0
- package/src/routes/product-tags/product-tag-metadata/product-tag-metadata.tsx +26 -0
- package/src/routes/product-types/product-type-metadata/index.ts +1 -0
- package/src/routes/product-types/product-type-metadata/product-type-metadata.tsx +26 -0
- package/src/routes/product-variants/product-variant-detail/components/variant-media-section/index.ts +1 -0
- package/src/routes/product-variants/product-variant-detail/components/variant-media-section/variant-media-section.tsx +77 -0
- package/src/routes/product-variants/product-variant-detail/constants.ts +1 -1
- package/src/routes/product-variants/product-variant-detail/product-variant-detail.tsx +2 -0
- package/src/routes/product-variants/product-variant-edit/components/product-edit-variant-form/product-edit-variant-form.tsx +4 -0
- package/src/routes/product-variants/product-variant-manage-inventory-items/components/manage-variant-inventory-items-form/manage-variant-inventory-items-form.tsx +183 -115
- package/src/routes/product-variants/product-variant-media/components/edit-product-variant-media-form/edit-product-variant-media-form.tsx +434 -0
- package/src/routes/product-variants/product-variant-media/components/edit-product-variant-media-form/index.ts +1 -0
- package/src/routes/product-variants/product-variant-media/index.ts +1 -0
- package/src/routes/product-variants/product-variant-media/product-variant-media.tsx +38 -0
- package/src/routes/products/common/components/category-combobox/category-combobox.tsx +11 -11
- package/src/routes/products/product-attributes/components/product-attributes-form/product-attributes-form.tsx +8 -4
- package/src/routes/products/product-create/components/product-create-details-form/components/product-create-details-general-section/product-create-general-section.tsx +4 -4
- package/src/routes/products/product-create/components/product-create-details-form/components/product-create-details-variant-section/product-create-details-variant-section.tsx +23 -30
- package/src/routes/products/product-create/components/product-create-form/product-create-form.tsx +3 -1
- package/src/routes/products/product-create/components/product-create-inventory-kit-form/components/product-create-inventory-kit-section/product-create-inventory-kit-section.tsx +148 -109
- package/src/routes/products/product-create/components/product-create-organize-form/components/product-create-sales-channel-stacked-modal/product-create-sales-channel-drawer.tsx +1 -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-detail/components/product-general-section/product-general-section.tsx +6 -1
- package/src/routes/products/product-detail/components/product-media-section/product-media-section.tsx +15 -3
- package/src/routes/products/product-detail/components/product-variant-section/product-variant-section.tsx +21 -28
- package/src/routes/products/product-edit/components/edit-product-form/edit-product-form.tsx +7 -2
- package/src/routes/products/product-export/product-export.tsx +15 -15
- package/src/routes/products/product-image-variants-edit/components/variants-table-form/index.ts +1 -0
- package/src/routes/products/product-image-variants-edit/components/variants-table-form/variants-table-form.tsx +264 -0
- package/src/routes/products/product-image-variants-edit/index.ts +1 -0
- package/src/routes/products/product-image-variants-edit/product-image-variants-edit.tsx +61 -0
- package/src/routes/products/product-import/helpers/import-template.ts +6 -7
- package/src/routes/products/product-list/components/product-list-table/configurable-product-list-table.tsx +26 -0
- package/src/routes/products/product-list/components/product-list-table/product-list-table.tsx +10 -2
- package/src/routes/products/product-list/components/product-list-table/product-table-adapter.tsx +51 -0
- package/src/routes/products/product-list/components/product-list-table/use-product-table-filters.tsx +104 -0
- package/src/routes/products/product-media/components/edit-product-media-form/edit-product-media-form.tsx +1 -0
- package/src/routes/products/product-media/components/product-media-gallery/product-media-gallery.tsx +3 -3
- 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/edit-rules-form/edit-rules-form.tsx +8 -1
- package/src/routes/promotions/common/edit-rules/components/edit-rules-form/form-schema.ts +3 -0
- package/src/routes/promotions/common/edit-rules/components/rule-value-form-field/rule-value-form-field.tsx +36 -5
- package/src/routes/promotions/common/edit-rules/components/rules-form-field/rules-form-field.tsx +59 -8
- package/src/routes/promotions/promotion-add-campaign/components/add-campaign-promotion-form/add-campaign-promotion-form.tsx +48 -49
- package/src/routes/promotions/promotion-add-campaign/components/add-campaign-promotion-form/campaign-details.tsx +29 -2
- package/src/routes/promotions/promotion-add-campaign/promotion-add-campaign.tsx +4 -21
- package/src/routes/promotions/promotion-create/components/create-promotion-form/create-promotion-form.tsx +195 -80
- package/src/routes/promotions/promotion-create/components/create-promotion-form/form-schema.ts +5 -3
- package/src/routes/promotions/promotion-create/components/create-promotion-form/templates.ts +56 -5
- package/src/routes/promotions/promotion-detail/components/promotion-conditions-section/promotion-conditions-section.tsx +9 -3
- package/src/routes/promotions/promotion-detail/components/promotion-general-section/promotion-general-section.tsx +16 -0
- package/src/routes/promotions/promotion-detail/promotion-detail.tsx +4 -0
- package/src/routes/promotions/promotion-edit-details/components/edit-promotion-form/edit-promotion-details-form.tsx +242 -122
- package/src/routes/promotions/promotion-list/components/promotion-list-table/promotion-list-table.tsx +1 -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 +177 -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 +141 -0
- package/src/routes/refund-reasons/refund-reason-edit/index.ts +1 -0
- package/src/routes/refund-reasons/refund-reason-edit/refund-reason-edit.tsx +33 -0
- package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/index.ts +1 -0
- package/src/routes/refund-reasons/refund-reason-list/components/refund-reason-list-table/refund-reason-list-table.tsx +138 -0
- package/src/routes/refund-reasons/refund-reason-list/index.ts +2 -0
- package/src/routes/refund-reasons/refund-reason-list/loader.ts +16 -0
- package/src/routes/refund-reasons/refund-reason-list/refund-reason-list.tsx +21 -0
- package/src/routes/regions/region-add-countries/components/add-countries-form/add-countries-form.tsx +12 -12
- package/src/routes/regions/region-create/components/create-region-form/create-region-form.tsx +40 -24
- package/src/routes/regions/region-create/region-create.tsx +1 -10
- package/src/routes/regions/region-edit/components/edit-region-form/edit-region-form.tsx +33 -11
- package/src/routes/regions/region-edit/region-edit.tsx +0 -5
- package/src/routes/reservations/reservation-detail/components/edit-reservation/components/edit-reservation-form.tsx +3 -1
- package/src/routes/reservations/reservation-list/components/reservation-list-table/use-reservation-table-query.tsx +2 -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/shipping-option-types/common/hooks/use-delete-shipping-option-type-action.tsx +43 -0
- package/src/routes/shipping-option-types/shipping-option-type-create/components/create-shipping-option-type-form/create-shipping-option-type-form.tsx +168 -0
- package/src/routes/shipping-option-types/shipping-option-type-create/components/create-shipping-option-type-form/index.ts +1 -0
- package/src/routes/shipping-option-types/shipping-option-type-create/index.ts +1 -0
- package/src/routes/shipping-option-types/shipping-option-type-create/shipping-option-type-create.tsx +10 -0
- package/src/routes/shipping-option-types/shipping-option-type-detail/breadcrumb.tsx +24 -0
- package/src/routes/shipping-option-types/shipping-option-type-detail/components/shipping-option-type-general-section/index.ts +1 -0
- package/src/routes/shipping-option-types/shipping-option-type-detail/components/shipping-option-type-general-section/shipping-option-type-general-section.tsx +66 -0
- package/src/routes/shipping-option-types/shipping-option-type-detail/index.ts +3 -0
- package/src/routes/shipping-option-types/shipping-option-type-detail/loader.ts +19 -0
- package/src/routes/shipping-option-types/shipping-option-type-detail/shipping-option-type-detail.tsx +46 -0
- package/src/routes/shipping-option-types/shipping-option-type-edit/components/edit-shipping-option-type-form/edit-shipping-option-type-form.tsx +145 -0
- package/src/routes/shipping-option-types/shipping-option-type-edit/components/edit-shipping-option-type-form/index.ts +1 -0
- package/src/routes/shipping-option-types/shipping-option-type-edit/index.ts +1 -0
- package/src/routes/shipping-option-types/shipping-option-type-edit/shipping-option-type-edit.tsx +31 -0
- package/src/routes/shipping-option-types/shipping-option-type-list/components/shipping-option-type-list-table/index.ts +1 -0
- package/src/routes/shipping-option-types/shipping-option-type-list/components/shipping-option-type-list-table/shipping-option-type-list-table.tsx +99 -0
- package/src/routes/shipping-option-types/shipping-option-type-list/components/shipping-option-type-list-table/shipping-option-type-table-row-actions.tsx +44 -0
- package/src/routes/shipping-option-types/shipping-option-type-list/index.ts +1 -0
- package/src/routes/shipping-option-types/shipping-option-type-list/shipping-option-type-list.tsx +18 -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 +9 -4
- package/src/routes/tax-regions/common/components/target-form/target-form.tsx +157 -6
- package/src/routes/tax-regions/common/components/target-item/target-item.tsx +15 -2
- package/src/routes/tax-regions/common/components/tax-override-card/tax-override-card.tsx +33 -13
- package/src/routes/tax-regions/common/components/tax-region-card/tax-region-card.tsx +23 -5
- package/src/routes/tax-regions/common/constants.ts +1 -0
- package/src/routes/tax-regions/tax-region-create/components/tax-region-create-form/tax-region-create-form.tsx +70 -10
- package/src/routes/tax-regions/tax-region-detail/tax-region-detail.tsx +4 -2
- package/src/routes/tax-regions/tax-region-detail/tax-region-provider-section/index.ts +1 -0
- package/src/routes/tax-regions/tax-region-detail/tax-region-provider-section/tax-region-provider-section.tsx +28 -0
- package/src/routes/tax-regions/tax-region-edit/components/tax-region-edit/index.ts +1 -0
- package/src/routes/tax-regions/tax-region-edit/components/tax-region-edit/tax-region-edit-form.tsx +109 -0
- package/src/routes/tax-regions/tax-region-edit/index.ts +1 -0
- package/src/routes/tax-regions/tax-region-edit/tax-region-edit.tsx +33 -0
- package/src/routes/tax-regions/tax-region-province-create/components/tax-region-province-create-form/tax-region-province-create-form.tsx +2 -1
- package/src/routes/tax-regions/tax-region-province-detail/components/tax-region-province-detail-section/tax-region-detail-section.tsx +1 -0
- package/src/routes/tax-regions/tax-region-tax-override-create/components/tax-region-override-create-form/tax-region-tax-override-create.tsx +29 -2
- package/src/routes/tax-regions/tax-region-tax-override-edit/components/tax-region-tax-override-edit-form/tax-region-tax-override-edit-form.tsx +59 -14
- package/src/routes/tax-regions/tax-region-tax-override-edit/tax-region-tax-override-edit.tsx +95 -51
- package/src/routes/tax-regions/tax-region-tax-override-edit/types.ts +4 -3
- package/src/routes/tax-regions/tax-region-tax-rate-create/components/tax-region-tax-rate-create-form/tax-region-tax-rate-create-form.tsx +1 -0
- package/src/routes/tax-regions/tax-region-tax-rate-edit/components/tax-region-tax-rate-edit-form/tax-region-tax-rate-edit-form.tsx +1 -0
- package/src/routes/workflow-executions/workflow-execution-detail/components/workflow-execution-timeline-section/workflow-execution-timeline-section.tsx +3 -2
- package/src/utils/column-utils.ts +71 -0
- package/dist/chunk-4GJJIXM6.mjs +0 -64
- package/dist/chunk-ACBS6KFT.mjs +0 -51
- package/dist/chunk-BKJC5BGQ.mjs +0 -53
- package/dist/chunk-CLRTJ6DI.mjs +0 -164
- package/dist/chunk-DDV2HJEV.mjs +0 -318
- package/dist/chunk-DFA6WGYO.mjs +0 -115
- package/dist/chunk-GH77ZQI2.mjs +0 -36
- package/dist/chunk-I5HYE2RW.mjs +0 -31
- package/dist/chunk-K7S5TX6I.mjs +0 -142
- package/dist/chunk-M3VFKDXJ.mjs +0 -62
- package/dist/chunk-MW4K5NNY.mjs +0 -69
- package/dist/chunk-OPZDUI6B.mjs +0 -5241
- package/dist/chunk-R2O6QX4D.mjs +0 -16
- package/dist/chunk-TD3LLNM6.mjs +0 -383
- package/dist/chunk-V3MOBCDF.mjs +0 -10
- package/dist/chunk-YEDAFXMB.mjs +0 -57
- package/dist/chunk-YRY2CZ6I.mjs +0 -73
- package/dist/collection-create-PXO6DJS3.mjs +0 -124
- package/dist/location-list-5UJ6CSA7.mjs +0 -286
- package/dist/location-service-zone-shipping-option-edit-ODUEKZON.mjs +0 -277
- package/dist/manage-locations-E7YAZVH2.mjs +0 -236
- package/dist/order-create-refund-FXUURAS7.mjs +0 -298
- package/dist/order-list-D4WMVRA2.mjs +0 -146
- package/dist/product-list-BGBZJ5WX.mjs +0 -262
- package/dist/product-variant-manage-inventory-items-BKFYUODS.mjs +0 -306
- package/dist/promotion-edit-details-D6M646E6.mjs +0 -377
- package/dist/region-edit-PXIMLBFB.mjs +0 -285
- package/src/routes/inventory/inventory-detail/components/location-levels-table/location-actions.tsx +0 -62
- package/src/routes/locations/location-list/components/location-list-header/index.ts +0 -1
- package/src/routes/locations/location-list/components/location-list-header/location-list-header.tsx +0 -21
- package/src/routes/locations/location-list/loader.ts +0 -36
|
@@ -539,18 +539,22 @@
|
|
|
539
539
|
"fields": {
|
|
540
540
|
"title": {
|
|
541
541
|
"label": "Tiêu đề",
|
|
542
|
-
"hint": "Đặt cho sản phẩm một tiêu đề ngắn gọn và rõ ràng.<0/>Độ dài khuyến nghị là 50-60 ký tự để tối ưu hóa cho công cụ tìm kiếm."
|
|
542
|
+
"hint": "Đặt cho sản phẩm một tiêu đề ngắn gọn và rõ ràng.<0/>Độ dài khuyến nghị là 50-60 ký tự để tối ưu hóa cho công cụ tìm kiếm.",
|
|
543
|
+
"placeholder": "Áo khoác cho mùa đông"
|
|
543
544
|
},
|
|
544
545
|
"subtitle": {
|
|
545
|
-
"label": "Phụ đề"
|
|
546
|
+
"label": "Phụ đề",
|
|
547
|
+
"placeholder": "Ấm và mềm mại"
|
|
546
548
|
},
|
|
547
549
|
"handle": {
|
|
548
550
|
"label": "Định danh",
|
|
549
|
-
"tooltip": "Định danh được sử dụng để tham chiếu sản phẩm trên giao diện cửa hàng của bạn. Nếu không chỉ định, định danh sẽ được tạo từ tiêu đề sản phẩm."
|
|
551
|
+
"tooltip": "Định danh được sử dụng để tham chiếu sản phẩm trên giao diện cửa hàng của bạn. Nếu không chỉ định, định danh sẽ được tạo từ tiêu đề sản phẩm.",
|
|
552
|
+
"placeholder": "ao-khoac-mua-dong"
|
|
550
553
|
},
|
|
551
554
|
"description": {
|
|
552
555
|
"label": "Mô tả",
|
|
553
|
-
"hint": "Đặt cho sản phẩm một mô tả ngắn gọn và rõ ràng.<0/>Độ dài khuyến nghị là 120-160 ký tự để tối ưu hóa cho công cụ tìm kiếm."
|
|
556
|
+
"hint": "Đặt cho sản phẩm một mô tả ngắn gọn và rõ ràng.<0/>Độ dài khuyến nghị là 120-160 ký tự để tối ưu hóa cho công cụ tìm kiếm.",
|
|
557
|
+
"placeholder": "Áo khoác ấm và mềm mại"
|
|
554
558
|
},
|
|
555
559
|
"discountable": {
|
|
556
560
|
"label": "Có thể giảm giá",
|
|
@@ -811,8 +815,10 @@
|
|
|
811
815
|
"locationLevels": "Vị trí",
|
|
812
816
|
"associatedVariants": "Biến thể liên quan",
|
|
813
817
|
"manageLocations": "Quản lý vị trí",
|
|
818
|
+
"manageLocationQuantity": "Quản lý số vị trí",
|
|
814
819
|
"deleteWarning": "Bạn sắp xóa một mục kho hàng. Hành động này không thể hoàn tác.",
|
|
815
820
|
"editItemDetails": "Chỉnh sửa chi tiết mục",
|
|
821
|
+
"quantityAcrossLocations": "{{quantity}} trên {{locations}} địa điểm",
|
|
816
822
|
"create": {
|
|
817
823
|
"title": "Tạo mục kho hàng",
|
|
818
824
|
"details": "Chi tiết",
|
|
@@ -1004,6 +1010,31 @@
|
|
|
1004
1010
|
}
|
|
1005
1011
|
},
|
|
1006
1012
|
"orders": {
|
|
1013
|
+
"giftCardsStoreCreditLines": "Thẻ quà tặng & hạn mức tín dụng",
|
|
1014
|
+
"creditLines": {
|
|
1015
|
+
"title": "Hạn mức tín dụng",
|
|
1016
|
+
"total": "Tổng tất cả các hạn mức tín dụng",
|
|
1017
|
+
"creditOrDebit": "Tín dụng / Ghi nợ",
|
|
1018
|
+
"createCreditLine": "Tạo hạn mức tín dụng",
|
|
1019
|
+
"createCreditLineSuccess": "Hạn mức tín dụng được tạo thành công",
|
|
1020
|
+
"createCreditLineError": "Lỗi khi tạo hạn mức tín dụng",
|
|
1021
|
+
"createCreditLineDescription": "Tạo một hạn mức tín dụng với số tiền {{amount}}",
|
|
1022
|
+
"operation": "Thao tác",
|
|
1023
|
+
"credit": "Tín dụng",
|
|
1024
|
+
"creditDescription": "Thêm một khoản dương vào đơn hàng",
|
|
1025
|
+
"debit": "Ghi nợ",
|
|
1026
|
+
"debitDescription": "Trừ một khoản âm khỏi đơn hàng"
|
|
1027
|
+
},
|
|
1028
|
+
"balanceSettlement": {
|
|
1029
|
+
"title": "Thanh toán số dư",
|
|
1030
|
+
"settlementType": "Loại thanh toán",
|
|
1031
|
+
"settlementTypes": {
|
|
1032
|
+
"paymentMethod": "Phương thức thanh toán",
|
|
1033
|
+
"paymentMethodDescription": "Hoàn tiền vào phương thức thanh toán",
|
|
1034
|
+
"creditLine": "Tín dụng cửa hàng",
|
|
1035
|
+
"creditLineDescription": "Hoàn tiền dưới dạng tín dụng cửa hàng"
|
|
1036
|
+
}
|
|
1037
|
+
},
|
|
1007
1038
|
"domain": "Đơn hàng",
|
|
1008
1039
|
"claim": "Khiếu nại",
|
|
1009
1040
|
"exchange": "Đổi hàng",
|
|
@@ -1050,6 +1081,7 @@
|
|
|
1050
1081
|
"title": "Thanh toán",
|
|
1051
1082
|
"isReadyToBeCaptured": "Thanh toán <0/> đã sẵn sàng để ghi nhận.",
|
|
1052
1083
|
"totalPaidByCustomer": "Tổng số tiền khách hàng đã thanh toán",
|
|
1084
|
+
"totalStoreCreditRefunds": "Tổng số tiền hoàn lại cho cửa hàng",
|
|
1053
1085
|
"capture": "Ghi nhận thanh toán",
|
|
1054
1086
|
"capture_short": "Ghi nhận",
|
|
1055
1087
|
"refund": "Hoàn tiền",
|
|
@@ -1133,7 +1165,7 @@
|
|
|
1133
1165
|
"sendNotificationHint": "Thông báo cho khách hàng về việc trả hàng.",
|
|
1134
1166
|
"returnTotal": "Tổng trả hàng",
|
|
1135
1167
|
"inboundTotal": "Tổng hàng trả về",
|
|
1136
|
-
"
|
|
1168
|
+
"estDifference": "Chênh lệch ước tính",
|
|
1137
1169
|
"outstandingAmount": "Số tiền còn lại",
|
|
1138
1170
|
"reason": "Lý do",
|
|
1139
1171
|
"reasonHint": "Chọn lý do khách hàng muốn trả hàng.",
|
|
@@ -1712,11 +1744,16 @@
|
|
|
1712
1744
|
"header": "Tạo khu vực thuế",
|
|
1713
1745
|
"hint": "Tạo một khu vực thuế mới để xác định thuế suất cho một quốc gia cụ thể.",
|
|
1714
1746
|
"errors": {
|
|
1715
|
-
"
|
|
1716
|
-
"
|
|
1747
|
+
"missingProvider": "Nhà cung cấp là bắt buộc khi tạo khu vực thuế.",
|
|
1748
|
+
"missingCountry": "Quốc gia là bắt buộc khi tạo khu vực thuế."
|
|
1717
1749
|
},
|
|
1718
1750
|
"successToast": "Khu vực thuế đã được tạo thành công."
|
|
1719
1751
|
},
|
|
1752
|
+
"edit": {
|
|
1753
|
+
"header": "Chỉnh sửa khu vực thuế",
|
|
1754
|
+
"hint": "Chỉnh sửa thông tin chi tiết về khu vực thuế.",
|
|
1755
|
+
"successToast": "Khu vực thuế đã được cập nhật thành công."
|
|
1756
|
+
},
|
|
1720
1757
|
"province": {
|
|
1721
1758
|
"header": "Tỉnh/Thành",
|
|
1722
1759
|
"create": {
|
|
@@ -1724,6 +1761,9 @@
|
|
|
1724
1761
|
"hint": "Tạo một khu vực thuế mới để xác định thuế suất cho một tỉnh/thành cụ thể."
|
|
1725
1762
|
}
|
|
1726
1763
|
},
|
|
1764
|
+
"provider": {
|
|
1765
|
+
"header": "Nhà cung cấp thuế"
|
|
1766
|
+
},
|
|
1727
1767
|
"state": {
|
|
1728
1768
|
"header": "Bang",
|
|
1729
1769
|
"create": {
|
|
@@ -1849,6 +1889,7 @@
|
|
|
1849
1889
|
},
|
|
1850
1890
|
"taxRate": "Thuế suất",
|
|
1851
1891
|
"taxCode": "Mã thuế",
|
|
1892
|
+
"taxProvider": "Nhà cung cấp thuế",
|
|
1852
1893
|
"targets": {
|
|
1853
1894
|
"label": "Đối tượng áp dụng",
|
|
1854
1895
|
"hint": "Chọn các đối tượng mà thuế suất này sẽ áp dụng.",
|
|
@@ -1954,6 +1995,7 @@
|
|
|
1954
1995
|
"allocation": "Phân bổ",
|
|
1955
1996
|
"addCondition": "Thêm điều kiện",
|
|
1956
1997
|
"clearAll": "Xóa tất cả",
|
|
1998
|
+
"taxInclusive": "Bao gồm thuế",
|
|
1957
1999
|
"amount": {
|
|
1958
2000
|
"tooltip": "Chọn mã tiền tệ để kích hoạt cài đặt số tiền"
|
|
1959
2001
|
},
|
|
@@ -2030,6 +2072,10 @@
|
|
|
2030
2072
|
"description": "Tiếp tục mà không liên kết khuyến mãi với chiến dịch"
|
|
2031
2073
|
}
|
|
2032
2074
|
},
|
|
2075
|
+
"taxInclusive": {
|
|
2076
|
+
"title": "Khuyến mãi có bao gồm thuế?",
|
|
2077
|
+
"description": "Bật để áp dụng khuyến mãi sau thuế"
|
|
2078
|
+
},
|
|
2033
2079
|
"status": {
|
|
2034
2080
|
"label": "Trạng thái",
|
|
2035
2081
|
"draft": {
|
|
@@ -2465,7 +2511,6 @@
|
|
|
2465
2511
|
"createTaxRate": "Tạo thuế suất",
|
|
2466
2512
|
"createTaxRateHint": "Tạo một thuế suất mới cho khu vực.",
|
|
2467
2513
|
"deleteRateDescription": "Bạn sắp xóa thuế suất {{name}}. Hành động này không thể hoàn tác.",
|
|
2468
|
-
"editTaxRate": "Chỉnh sửa thuế suất",
|
|
2469
2514
|
"editRateAction": "Chỉnh sửa thuế suất",
|
|
2470
2515
|
"editOverridesAction": "Chỉnh sửa ghi đè",
|
|
2471
2516
|
"editOverridesTitle": "Chỉnh sửa ghi đè thuế suất",
|
|
@@ -2828,6 +2873,8 @@
|
|
|
2828
2873
|
},
|
|
2829
2874
|
"fields": {
|
|
2830
2875
|
"amount": "Số tiền",
|
|
2876
|
+
"reference": "Tham chiếu",
|
|
2877
|
+
"reference_id": "Mã tham chiếu",
|
|
2831
2878
|
"refundAmount": "Số tiền hoàn lại",
|
|
2832
2879
|
"name": "Tên",
|
|
2833
2880
|
"default": "Mặc định",
|
|
@@ -2914,6 +2961,7 @@
|
|
|
2914
2961
|
"account": "Tài khoản",
|
|
2915
2962
|
"total": "Tổng đơn hàng",
|
|
2916
2963
|
"paidTotal": "Tổng đã ghi nhận",
|
|
2964
|
+
"creditTotal": "Tổng hạn mức tín dụng",
|
|
2917
2965
|
"totalExclTax": "Tổng chưa gồm thuế",
|
|
2918
2966
|
"subtotal": "Tạm tính",
|
|
2919
2967
|
"shipping": "Vận chuyển",
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
"plusCount": "+ {{count}}",
|
|
44
44
|
"plusCountMore": "还有 {{count}} 项",
|
|
45
45
|
"areYouSure": "确定吗?",
|
|
46
|
+
"areYouSureDescription": "您即将删除 {{entity}} {{title}}。此操作无法撤消。",
|
|
46
47
|
"noRecordsFound": "未找到记录",
|
|
47
48
|
"typeToConfirm": "请输入 {val} 以确认:",
|
|
48
49
|
"noResultsTitle": "无结果",
|
|
@@ -349,6 +350,7 @@
|
|
|
349
350
|
"backToDashboard": "返回仪表板"
|
|
350
351
|
},
|
|
351
352
|
"addresses": {
|
|
353
|
+
"title": "标题",
|
|
352
354
|
"shippingAddress": {
|
|
353
355
|
"header": "配送地址",
|
|
354
356
|
"editHeader": "编辑配送地址",
|
|
@@ -537,23 +539,31 @@
|
|
|
537
539
|
"fields": {
|
|
538
540
|
"title": {
|
|
539
541
|
"label": "标题",
|
|
540
|
-
"hint": "为您的产品提供一个简短明确的标题。<0/>搜索引擎推荐的长度是 50-60 个字符。"
|
|
542
|
+
"hint": "为您的产品提供一个简短明确的标题。<0/>搜索引擎推荐的长度是 50-60 个字符。",
|
|
543
|
+
"placeholder": "冬季夹克"
|
|
541
544
|
},
|
|
542
545
|
"subtitle": {
|
|
543
|
-
"label": "副标题"
|
|
546
|
+
"label": "副标题",
|
|
547
|
+
"placeholder": "温暖舒适"
|
|
544
548
|
},
|
|
545
549
|
"handle": {
|
|
546
550
|
"label": "标识",
|
|
547
|
-
"tooltip": "标识用于在您的店面引用产品。如果未指定,将根据产品标题生成标识。"
|
|
551
|
+
"tooltip": "标识用于在您的店面引用产品。如果未指定,将根据产品标题生成标识。",
|
|
552
|
+
"placeholder": "冬衣"
|
|
548
553
|
},
|
|
549
554
|
"description": {
|
|
550
555
|
"label": "描述",
|
|
551
|
-
"hint": "为您的产品提供一个简短明确的描述。<0/>搜索引擎推荐的长度是 120-160 个字符。"
|
|
556
|
+
"hint": "为您的产品提供一个简短明确的描述。<0/>搜索引擎推荐的长度是 120-160 个字符。",
|
|
557
|
+
"placeholder": "一件温暖舒适的外套"
|
|
552
558
|
},
|
|
553
559
|
"discountable": {
|
|
554
560
|
"label": "可打折",
|
|
555
561
|
"hint": "取消选中时,折扣将不会应用于此产品"
|
|
556
562
|
},
|
|
563
|
+
"shipping_profile": {
|
|
564
|
+
"label": "运输概况",
|
|
565
|
+
"hint": "将产品连接到运输配置文件"
|
|
566
|
+
},
|
|
557
567
|
"type": {
|
|
558
568
|
"label": "类型"
|
|
559
569
|
},
|
|
@@ -599,7 +609,7 @@
|
|
|
599
609
|
},
|
|
600
610
|
"variants": {
|
|
601
611
|
"label": "产品变体",
|
|
602
|
-
"hint": "
|
|
612
|
+
"hint": "未选中的变体将不会被创建,此排序将影响变体在前端的排序方式。"
|
|
603
613
|
},
|
|
604
614
|
"mid_code": {
|
|
605
615
|
"label": "MID 代码"
|
|
@@ -632,7 +642,7 @@
|
|
|
632
642
|
"inventoryKit": "显示库存项目"
|
|
633
643
|
},
|
|
634
644
|
"inventoryKit": "库存套件",
|
|
635
|
-
"inventoryKitHint": "
|
|
645
|
+
"inventoryKitHint": "此变体是否由多个库存项目组成?",
|
|
636
646
|
"validation": {
|
|
637
647
|
"itemId": "请选择库存项目。",
|
|
638
648
|
"quantity": "数量为必填项。请输入一个正数。"
|
|
@@ -681,6 +691,20 @@
|
|
|
681
691
|
"alreadyManagedWithSku": "此库存项目已可在 {{title}} ({{sku}}) 下编辑。"
|
|
682
692
|
}
|
|
683
693
|
},
|
|
694
|
+
"shippingProfile": {
|
|
695
|
+
"header": "运输配置",
|
|
696
|
+
"edit": {
|
|
697
|
+
"header": "运输配置",
|
|
698
|
+
"toasts": {
|
|
699
|
+
"success": "已成功更新 {{title}} 的运输资料。"
|
|
700
|
+
}
|
|
701
|
+
},
|
|
702
|
+
"create": {
|
|
703
|
+
"errors": {
|
|
704
|
+
"required": "需要运输资料"
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
},
|
|
684
708
|
"toasts": {
|
|
685
709
|
"delete": {
|
|
686
710
|
"success": {
|
|
@@ -704,7 +728,7 @@
|
|
|
704
728
|
"deleteWarning": "您即将删除系列 {{title}}。此操作无法撤销。",
|
|
705
729
|
"removeSingleProductWarning": "您即将从系列中移除产品 {{title}}。此操作无法撤销。",
|
|
706
730
|
"removeProductsWarning_one": "您即将从系列中移除 {{count}} 个产品。此操作无法撤销。",
|
|
707
|
-
"removeProductsWarning_other": "您即将从系列中移除 {{count}}
|
|
731
|
+
"removeProductsWarning_other": "您即将从系列中移除 {{count}} 个产品。此操作无法撤销。",
|
|
708
732
|
"products": {
|
|
709
733
|
"list": {
|
|
710
734
|
"noRecordsMessage": "系列中没有产品。"
|
|
@@ -791,8 +815,10 @@
|
|
|
791
815
|
"locationLevels": "位置",
|
|
792
816
|
"associatedVariants": "关联变体",
|
|
793
817
|
"manageLocations": "管理位置",
|
|
818
|
+
"manageLocationQuantity": "管理位置数量",
|
|
794
819
|
"deleteWarning": "您即将删除一个库存项目。此操作无法撤消。",
|
|
795
820
|
"editItemDetails": "编辑项目详情",
|
|
821
|
+
"quantityAcrossLocations": "{{quantity}} 分布于 {{locations}} 个地点",
|
|
796
822
|
"create": {
|
|
797
823
|
"title": "创建库存项目",
|
|
798
824
|
"details": "详情",
|
|
@@ -913,7 +939,28 @@
|
|
|
913
939
|
},
|
|
914
940
|
"registered": "已注册",
|
|
915
941
|
"guest": "访客",
|
|
916
|
-
"hasAccount": "拥有账户"
|
|
942
|
+
"hasAccount": "拥有账户",
|
|
943
|
+
"addresses": {
|
|
944
|
+
"title": "地址",
|
|
945
|
+
"fields": {
|
|
946
|
+
"addressName": "地址名称",
|
|
947
|
+
"address1": "地址1",
|
|
948
|
+
"address2": "地址2",
|
|
949
|
+
"city": "城市",
|
|
950
|
+
"province": "省份",
|
|
951
|
+
"postalCode": "邮政编码",
|
|
952
|
+
"country": "国家",
|
|
953
|
+
"phone": "电话",
|
|
954
|
+
"company": "公司",
|
|
955
|
+
"countryCode": "国家代码",
|
|
956
|
+
"provinceCode": "省份代码"
|
|
957
|
+
},
|
|
958
|
+
"create": {
|
|
959
|
+
"header": "创建地址",
|
|
960
|
+
"hint": "为客户创建新地址。",
|
|
961
|
+
"successToast": "地址创建成功。"
|
|
962
|
+
}
|
|
963
|
+
}
|
|
917
964
|
},
|
|
918
965
|
"customerGroups": {
|
|
919
966
|
"domain": "客户群组",
|
|
@@ -1092,7 +1139,7 @@
|
|
|
1092
1139
|
"sendNotificationHint": "通知客户关于退货。",
|
|
1093
1140
|
"returnTotal": "退货总计",
|
|
1094
1141
|
"inboundTotal": "入库总计",
|
|
1095
|
-
"
|
|
1142
|
+
"estDifference": "估计差异",
|
|
1096
1143
|
"outstandingAmount": "未结金额",
|
|
1097
1144
|
"reason": "原因",
|
|
1098
1145
|
"reasonHint": "选择客户想要退货的原因。",
|
|
@@ -1249,6 +1296,8 @@
|
|
|
1249
1296
|
"fulfillment": {
|
|
1250
1297
|
"cancelWarning": "您即将取消履行。此操作无法撤消。",
|
|
1251
1298
|
"markAsDeliveredWarning": "您即将将履行标记为已送达。此操作无法撤消。",
|
|
1299
|
+
"differentOptionSelected": "所选的运输方式与客户选择的不同。",
|
|
1300
|
+
"disabledItemTooltip": "您选择的配送方式不允许配送此商品",
|
|
1252
1301
|
"unfulfilledItems": "未履行商品",
|
|
1253
1302
|
"statusLabel": "履行状态",
|
|
1254
1303
|
"statusTitle": "履行状态",
|
|
@@ -1261,6 +1310,7 @@
|
|
|
1261
1310
|
"available": "可用",
|
|
1262
1311
|
"inStock": "有库存",
|
|
1263
1312
|
"markAsShipped": "标记为已发货",
|
|
1313
|
+
"markAsPickedUp": "标记为已取走",
|
|
1264
1314
|
"markAsDelivered": "标记为已送达",
|
|
1265
1315
|
"itemsToFulfillDesc": "选择要履行的商品和数量",
|
|
1266
1316
|
"locationDescription": "选择您想要从哪个位置履行商品。",
|
|
@@ -1269,7 +1319,9 @@
|
|
|
1269
1319
|
"error": {
|
|
1270
1320
|
"wrongQuantity": "只有一件商品可供履行",
|
|
1271
1321
|
"wrongQuantity_other": "数量应该在 1 和 {{number}} 之间",
|
|
1272
|
-
"noItems": "没有要履行的商品。"
|
|
1322
|
+
"noItems": "没有要履行的商品。",
|
|
1323
|
+
"noShippingOption": "需要运输选项",
|
|
1324
|
+
"noLocation": "位置为必填项"
|
|
1273
1325
|
},
|
|
1274
1326
|
"status": {
|
|
1275
1327
|
"notFulfilled": "未履行",
|
|
@@ -1288,7 +1340,8 @@
|
|
|
1288
1340
|
"created": "履行创建成功",
|
|
1289
1341
|
"canceled": "履行已成功取消",
|
|
1290
1342
|
"fulfillmentShipped": "无法取消已发货的履行",
|
|
1291
|
-
"fulfillmentDelivered": "履行已成功标记为已送达"
|
|
1343
|
+
"fulfillmentDelivered": "履行已成功标记为已送达",
|
|
1344
|
+
"fulfillmentPickedUp": "订单已标记为已成功领取"
|
|
1292
1345
|
},
|
|
1293
1346
|
"trackingLabel": "追踪",
|
|
1294
1347
|
"shippingFromLabel": "发货地",
|
|
@@ -1495,7 +1548,13 @@
|
|
|
1495
1548
|
"connectedTo": "已连接 {{total}} 个销售渠道中的 {{count}} 个",
|
|
1496
1549
|
"noChannels": "该位置未连接任何销售渠道。",
|
|
1497
1550
|
"action": "连接销售渠道",
|
|
1498
|
-
"successToast": "销售渠道更新成功。"
|
|
1551
|
+
"successToast": "销售渠道更新成功。",
|
|
1552
|
+
"hint": "管理与此位置相连的销售渠道。"
|
|
1553
|
+
},
|
|
1554
|
+
"pickupOptions": {
|
|
1555
|
+
"edit": {
|
|
1556
|
+
"header": "编辑取货选项"
|
|
1557
|
+
}
|
|
1499
1558
|
},
|
|
1500
1559
|
"shippingOptions": {
|
|
1501
1560
|
"create": {
|
|
@@ -1505,6 +1564,12 @@
|
|
|
1505
1564
|
"label": "配送选项",
|
|
1506
1565
|
"successToast": "配送选项 {{name}} 创建成功。"
|
|
1507
1566
|
},
|
|
1567
|
+
"pickup": {
|
|
1568
|
+
"header": "为 {{zone}} 创建自提选项",
|
|
1569
|
+
"hint": "创建新的自提选项以定义如何从此位置自提产品。",
|
|
1570
|
+
"label": "自提选项",
|
|
1571
|
+
"successToast": "自提选项 {{name}} 创建成功。"
|
|
1572
|
+
},
|
|
1508
1573
|
"returns": {
|
|
1509
1574
|
"header": "为 {{zone}} 创建退货选项",
|
|
1510
1575
|
"hint": "创建新的退货选项以定义如何将产品退回到此位置。",
|
|
@@ -1568,6 +1633,8 @@
|
|
|
1568
1633
|
"count": {
|
|
1569
1634
|
"shipping_one": "{{count}} 个配送选项",
|
|
1570
1635
|
"shipping_other": "{{count}} 个配送选项",
|
|
1636
|
+
"pickup_one": "{{count}} 个自提选项",
|
|
1637
|
+
"pickup_other": "{{count}} 个自提选项",
|
|
1571
1638
|
"returns_one": "{{count}} 个退货选项",
|
|
1572
1639
|
"returns_other": "{{count}} 个退货选项"
|
|
1573
1640
|
},
|
|
@@ -1576,7 +1643,7 @@
|
|
|
1576
1643
|
"options": {
|
|
1577
1644
|
"fixed": {
|
|
1578
1645
|
"label": "固定",
|
|
1579
|
-
"hint": "
|
|
1646
|
+
"hint": "配送选项的价格是固定的,不会根据订单内容变化。"
|
|
1580
1647
|
},
|
|
1581
1648
|
"calculated": {
|
|
1582
1649
|
"label": "计算",
|
|
@@ -1651,11 +1718,16 @@
|
|
|
1651
1718
|
"header": "创建税收地区",
|
|
1652
1719
|
"hint": "创建新的税收地区以定义特定国家的税率。",
|
|
1653
1720
|
"errors": {
|
|
1654
|
-
"
|
|
1655
|
-
"
|
|
1721
|
+
"missingProvider": "创建税收地区时需要提供商。",
|
|
1722
|
+
"missingCountry": "创建税收地区时需要国家。"
|
|
1656
1723
|
},
|
|
1657
1724
|
"successToast": "税收地区创建成功。"
|
|
1658
1725
|
},
|
|
1726
|
+
"edit": {
|
|
1727
|
+
"header": "编辑税收地区",
|
|
1728
|
+
"hint": "编辑税收地区详情。",
|
|
1729
|
+
"successToast": "税收地区更新成功。"
|
|
1730
|
+
},
|
|
1659
1731
|
"province": {
|
|
1660
1732
|
"header": "省份",
|
|
1661
1733
|
"create": {
|
|
@@ -1663,6 +1735,9 @@
|
|
|
1663
1735
|
"hint": "创建新的税收地区以定义特定省份的税率。"
|
|
1664
1736
|
}
|
|
1665
1737
|
},
|
|
1738
|
+
"provider": {
|
|
1739
|
+
"header": "税务提供商"
|
|
1740
|
+
},
|
|
1666
1741
|
"state": {
|
|
1667
1742
|
"header": "州",
|
|
1668
1743
|
"create": {
|
|
@@ -1788,6 +1863,7 @@
|
|
|
1788
1863
|
},
|
|
1789
1864
|
"taxRate": "税率",
|
|
1790
1865
|
"taxCode": "税收代码",
|
|
1866
|
+
"taxProvider": "税务提供商",
|
|
1791
1867
|
"targets": {
|
|
1792
1868
|
"label": "目标",
|
|
1793
1869
|
"hint": "选择此税率将应用的目标。",
|
|
@@ -2299,6 +2375,8 @@
|
|
|
2299
2375
|
"editStore": "编辑商店",
|
|
2300
2376
|
"defaultCurrency": "默认货币",
|
|
2301
2377
|
"defaultRegion": "默认地区",
|
|
2378
|
+
"defaultSalesChannel": "默认销售渠道",
|
|
2379
|
+
"defaultLocation": "默认位置",
|
|
2302
2380
|
"swapLinkTemplate": "交换链接模板",
|
|
2303
2381
|
"paymentLinkTemplate": "支付链接模板",
|
|
2304
2382
|
"inviteLinkTemplate": "邀请链接模板",
|
|
@@ -2402,7 +2480,6 @@
|
|
|
2402
2480
|
"createTaxRate": "创建税率",
|
|
2403
2481
|
"createTaxRateHint": "为地区创建新的税率。",
|
|
2404
2482
|
"deleteRateDescription": "您即将删除税率 {{name}}。此操作无法撤销。",
|
|
2405
|
-
"editTaxRate": "编辑税率",
|
|
2406
2483
|
"editRateAction": "编辑费率",
|
|
2407
2484
|
"editOverridesAction": "编辑覆盖",
|
|
2408
2485
|
"editOverridesTitle": "编辑税率覆盖",
|
|
@@ -2445,6 +2522,16 @@
|
|
|
2445
2522
|
"salesChannels": {
|
|
2446
2523
|
"domain": "销售渠道",
|
|
2447
2524
|
"subtitle": "管理在线和离线销售渠道。",
|
|
2525
|
+
"list": {
|
|
2526
|
+
"empty": {
|
|
2527
|
+
"heading": "未找到销售渠道",
|
|
2528
|
+
"description": "创建销售渠道后,它将显示在这里。"
|
|
2529
|
+
},
|
|
2530
|
+
"filtered": {
|
|
2531
|
+
"heading": "无搜索结果",
|
|
2532
|
+
"description": "没有符合当前筛选条件的销售渠道。"
|
|
2533
|
+
}
|
|
2534
|
+
},
|
|
2448
2535
|
"createSalesChannel": "创建销售渠道",
|
|
2449
2536
|
"createSalesChannelHint": "创建新的销售渠道以销售您的产品。",
|
|
2450
2537
|
"enabledHint": "指定销售渠道是否启用。",
|
|
@@ -2749,7 +2836,9 @@
|
|
|
2749
2836
|
"added": "已添加",
|
|
2750
2837
|
"removed": "已移除",
|
|
2751
2838
|
"from": "从",
|
|
2752
|
-
"to": "至"
|
|
2839
|
+
"to": "至",
|
|
2840
|
+
"beaware": "请注意",
|
|
2841
|
+
"loading": "加载中"
|
|
2753
2842
|
},
|
|
2754
2843
|
"fields": {
|
|
2755
2844
|
"amount": "金额",
|
package/src/lib/common.ts
CHANGED
|
@@ -30,3 +30,16 @@ export function cleanNonValues(obj: Record<string, any>) {
|
|
|
30
30
|
|
|
31
31
|
return ret
|
|
32
32
|
}
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* Convert a string to camel case
|
|
36
|
+
* @param str
|
|
37
|
+
* @returns camel case string
|
|
38
|
+
*/
|
|
39
|
+
export function toCamelCase(str: string): string {
|
|
40
|
+
return /^([a-zA-Z]+)(([A-Z]([a-z]+))+)$/.test(str)
|
|
41
|
+
? str
|
|
42
|
+
: str
|
|
43
|
+
.toLowerCase()
|
|
44
|
+
.replace(/[^a-zA-Z0-9]+(.)/g, (_, chr) => chr.toUpperCase())
|
|
45
|
+
}
|
|
@@ -931,13 +931,6 @@ export const countries: StaticCountry[] = [
|
|
|
931
931
|
name: "MACAO",
|
|
932
932
|
display_name: "Macao",
|
|
933
933
|
},
|
|
934
|
-
{
|
|
935
|
-
iso_2: "mk",
|
|
936
|
-
iso_3: "mkd",
|
|
937
|
-
num_code: "807",
|
|
938
|
-
name: "MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF",
|
|
939
|
-
display_name: "Macedonia, the Former Yugoslav Republic of",
|
|
940
|
-
},
|
|
941
934
|
{
|
|
942
935
|
iso_2: "mg",
|
|
943
936
|
iso_3: "mdg",
|
|
@@ -1162,6 +1155,13 @@ export const countries: StaticCountry[] = [
|
|
|
1162
1155
|
name: "NORFOLK ISLAND",
|
|
1163
1156
|
display_name: "Norfolk Island",
|
|
1164
1157
|
},
|
|
1158
|
+
{
|
|
1159
|
+
iso_2: "mk",
|
|
1160
|
+
iso_3: "mkd",
|
|
1161
|
+
num_code: "807",
|
|
1162
|
+
name: "NORTH MACEDONIA",
|
|
1163
|
+
display_name: "North Macedonia",
|
|
1164
|
+
},
|
|
1165
1165
|
{
|
|
1166
1166
|
iso_2: "mp",
|
|
1167
1167
|
iso_3: "mnp",
|
|
@@ -1227,6 +1227,7 @@ const countryProvinceMap: Record<string, CountryProvinceObject> = {
|
|
|
1227
1227
|
"US-CA": "California",
|
|
1228
1228
|
"US-CO": "Colorado",
|
|
1229
1229
|
"US-CT": "Connecticut",
|
|
1230
|
+
"US-DE": "Delaware",
|
|
1230
1231
|
"US-FL": "Florida",
|
|
1231
1232
|
"US-GA": "Georgia",
|
|
1232
1233
|
"US-HI": "Hawaii",
|
|
@@ -1244,8 +1245,10 @@ const countryProvinceMap: Record<string, CountryProvinceObject> = {
|
|
|
1244
1245
|
"US-MN": "Minnesota",
|
|
1245
1246
|
"US-MS": "Mississippi",
|
|
1246
1247
|
"US-MO": "Missouri",
|
|
1248
|
+
"US-MT": "Montana",
|
|
1247
1249
|
"US-NE": "Nebraska",
|
|
1248
1250
|
"US-NV": "Nevada",
|
|
1251
|
+
"US-NH": "New Hampshire",
|
|
1249
1252
|
"US-NJ": "New Jersey",
|
|
1250
1253
|
"US-NM": "New Mexico",
|
|
1251
1254
|
"US-NY": "New York",
|
|
@@ -1253,6 +1256,7 @@ const countryProvinceMap: Record<string, CountryProvinceObject> = {
|
|
|
1253
1256
|
"US-ND": "North Dakota",
|
|
1254
1257
|
"US-OH": "Ohio",
|
|
1255
1258
|
"US-OK": "Oklahoma",
|
|
1259
|
+
"US-OR": "Oregon",
|
|
1256
1260
|
"US-PA": "Pennsylvania",
|
|
1257
1261
|
"US-PR": "Puerto Rico",
|
|
1258
1262
|
"US-RI": "Rhode Island",
|
|
@@ -1268,6 +1272,11 @@ const countryProvinceMap: Record<string, CountryProvinceObject> = {
|
|
|
1268
1272
|
"US-WV": "West Virginia",
|
|
1269
1273
|
"US-WI": "Wisconsin",
|
|
1270
1274
|
"US-WY": "Wyoming",
|
|
1275
|
+
"US-AS": "American Samoa",
|
|
1276
|
+
"US-GU": "Guam",
|
|
1277
|
+
"US-MP": "Northern Mariana Islands",
|
|
1278
|
+
"US-VI": "U.S. Virgin Islands",
|
|
1279
|
+
"US-UM": "United States Minor Outlying Islands",
|
|
1271
1280
|
},
|
|
1272
1281
|
},
|
|
1273
1282
|
VE: {
|
|
@@ -451,6 +451,12 @@ export const currencies: Record<string, CurrencyInfo> = {
|
|
|
451
451
|
symbol_native: "MURs",
|
|
452
452
|
decimal_digits: 0,
|
|
453
453
|
},
|
|
454
|
+
MWK: {
|
|
455
|
+
code: "MWK",
|
|
456
|
+
name: "Malawian Kwacha",
|
|
457
|
+
symbol_native: "K",
|
|
458
|
+
decimal_digits: 2,
|
|
459
|
+
},
|
|
454
460
|
MXN: {
|
|
455
461
|
code: "MXN",
|
|
456
462
|
name: "Mexican Peso",
|
|
@@ -631,6 +637,12 @@ export const currencies: Record<string, CurrencyInfo> = {
|
|
|
631
637
|
symbol_native: "T$",
|
|
632
638
|
decimal_digits: 2,
|
|
633
639
|
},
|
|
640
|
+
TJS: {
|
|
641
|
+
code: "TJS",
|
|
642
|
+
name: "Tajikistani Somoni",
|
|
643
|
+
symbol_native: "с.",
|
|
644
|
+
decimal_digits: 2,
|
|
645
|
+
},
|
|
634
646
|
TRY: {
|
|
635
647
|
code: "TRY",
|
|
636
648
|
name: "Turkish Lira",
|
|
@@ -703,6 +715,12 @@ export const currencies: Record<string, CurrencyInfo> = {
|
|
|
703
715
|
symbol_native: "CFA",
|
|
704
716
|
decimal_digits: 0,
|
|
705
717
|
},
|
|
718
|
+
XPF: {
|
|
719
|
+
code: "XPF",
|
|
720
|
+
name: "CFP Franc",
|
|
721
|
+
symbol_native: "₣",
|
|
722
|
+
decimal_digits: 0,
|
|
723
|
+
},
|
|
706
724
|
YER: {
|
|
707
725
|
code: "YER",
|
|
708
726
|
name: "Yemeni Rial",
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Gets the number of decimal places in a number
|
|
3
|
+
* @param num - The number for which we are getting the number of decimal places
|
|
4
|
+
* @returns The number of decimal places
|
|
5
|
+
*
|
|
6
|
+
* @example
|
|
7
|
+
* getDecimalPlaces(123.456) // 3
|
|
8
|
+
* getDecimalPlaces(42) // 0
|
|
9
|
+
* getDecimalPlaces(10.0000) // 0
|
|
10
|
+
*/
|
|
11
|
+
export function getNumberOfDecimalPlaces(num: number): number {
|
|
12
|
+
// Convert to string and check if it contains a decimal point
|
|
13
|
+
const str = num.toString()
|
|
14
|
+
if (str.indexOf(".") === -1) {
|
|
15
|
+
return 0
|
|
16
|
+
}
|
|
17
|
+
// Return the length of the part after the decimal point
|
|
18
|
+
return str.split(".")[1].length
|
|
19
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { AdminOrder, AdminOrderLineItem, HttpTypes } from "@medusajs/types"
|
|
2
|
+
|
|
3
|
+
export const getPaymentsFromOrder = (order: HttpTypes.AdminOrder) => {
|
|
4
|
+
return order.payment_collections
|
|
5
|
+
.map((collection: HttpTypes.AdminPaymentCollection) => collection.payments)
|
|
6
|
+
.flat(1)
|
|
7
|
+
.filter(Boolean) as HttpTypes.AdminPayment[]
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* Returns a limit for number of reservations that order can have.
|
|
12
|
+
*/
|
|
13
|
+
export function getReservationsLimitCount(order: AdminOrder) {
|
|
14
|
+
if (!order?.items?.length) {
|
|
15
|
+
return 0
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
return order.items.reduce(
|
|
19
|
+
(acc: number, item: AdminOrderLineItem) =>
|
|
20
|
+
acc + (item.variant?.inventory_items?.length || 1),
|
|
21
|
+
0
|
|
22
|
+
)
|
|
23
|
+
}
|