@medusajs/dashboard 3.0.0-snapshot-20251216145629 → 3.0.0-snapshot-20260102134455
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 +33 -3
- package/dist/app.js +18467 -16698
- 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-5BUFAGKR.mjs +13 -0
- 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-UULAOAFM.mjs → chunk-772OR7OQ.mjs} +358 -242
- package/dist/chunk-7AXHHXCX.mjs +4 -0
- 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-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 +73 -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-K4FGFORS.mjs → product-attributes-HO2B4OHP.mjs} +13 -13
- package/dist/{product-create-7YTRHZQQ.mjs → product-create-UEVW5JO4.mjs} +485 -561
- package/dist/{product-create-variant-ERKHTEJZ.mjs → product-create-variant-PLZ5Q2R6.mjs} +14 -14
- package/dist/{product-detail-32ZXNWOP.mjs → product-detail-Z7K5TGZY.mjs} +45 -66
- package/dist/{product-edit-FBAKONMR.mjs → product-edit-6I6JG4GP.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-C5BPN6P6.mjs +268 -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-B4N54NCR.mjs +358 -0
- package/dist/{product-organization-IUSVX22S.mjs → product-organization-L23V4JA7.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-KECSHYZY.mjs → translations-edit-6P3KC4MO.mjs} +280 -304
- 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 +290 -32
- package/src/i18n/translations/en.json +73 -5
- package/src/i18n/translations/es.json +9 -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 +97 -0
- package/src/routes/product-options/product-option-create/components/create-product-option-form/create-product-option-organize.tsx +92 -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 +328 -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 +182 -121
- package/src/routes/translations/translations-edit/components/translations-edit-form/translations-edit-form.tsx +330 -361
- 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-UF7FLXOW.mjs +0 -441
- 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,44 @@
|
|
|
1
|
+
import { createColumnHelper } from "@tanstack/react-table"
|
|
2
|
+
import { useMemo } from "react"
|
|
3
|
+
import { useTranslation } from "react-i18next"
|
|
4
|
+
import { TextCell } from "../../../components/table/table-cells/common/text-cell"
|
|
5
|
+
import { HttpTypes } from "@medusajs/types"
|
|
6
|
+
import { Badge } from "@medusajs/ui"
|
|
7
|
+
|
|
8
|
+
const columnHelper = createColumnHelper<HttpTypes.AdminProductOption>()
|
|
9
|
+
|
|
10
|
+
export const useProductOptionTableColumns = () => {
|
|
11
|
+
const { t } = useTranslation()
|
|
12
|
+
|
|
13
|
+
return useMemo(
|
|
14
|
+
() => [
|
|
15
|
+
columnHelper.accessor("title", {
|
|
16
|
+
header: t("fields.title"),
|
|
17
|
+
cell: ({ getValue }) => <TextCell text={getValue()} />,
|
|
18
|
+
}),
|
|
19
|
+
columnHelper.accessor("values", {
|
|
20
|
+
header: t("fields.values"),
|
|
21
|
+
cell: ({ getValue }) => {
|
|
22
|
+
const values = getValue()
|
|
23
|
+
const count = values?.length || 0
|
|
24
|
+
const displayText =
|
|
25
|
+
count > 0 ? `${count} ${count === 1 ? "value" : "values"}` : "-"
|
|
26
|
+
|
|
27
|
+
return <TextCell text={displayText} />
|
|
28
|
+
},
|
|
29
|
+
}),
|
|
30
|
+
columnHelper.accessor("is_exclusive", {
|
|
31
|
+
header: t("fields.status"),
|
|
32
|
+
cell: ({ getValue }) => {
|
|
33
|
+
const isExclusive = getValue()
|
|
34
|
+
return (
|
|
35
|
+
<Badge size="xsmall" color={isExclusive ? "grey" : "blue"}>
|
|
36
|
+
{t(`general.${isExclusive ? "exclusive" : "global"}`)}
|
|
37
|
+
</Badge>
|
|
38
|
+
)
|
|
39
|
+
},
|
|
40
|
+
}),
|
|
41
|
+
],
|
|
42
|
+
[t]
|
|
43
|
+
)
|
|
44
|
+
}
|
|
@@ -4,6 +4,7 @@ export * from "./use-customer-table-filters"
|
|
|
4
4
|
export * from "./use-date-table-filters"
|
|
5
5
|
export * from "./use-order-table-filters"
|
|
6
6
|
export * from "./use-product-table-filters"
|
|
7
|
+
export * from "./use-product-option-table-filters"
|
|
7
8
|
export * from "./use-product-tag-table-filters"
|
|
8
9
|
export * from "./use-product-type-table-filters"
|
|
9
10
|
export * from "./use-promotion-table-filters"
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { useTranslation } from "react-i18next"
|
|
2
|
+
import { createDataTableFilterHelper } from "@medusajs/ui"
|
|
3
|
+
import { HttpTypes } from "@medusajs/types"
|
|
4
|
+
import { useDataTableDateFilters } from "../../../components/data-table/helpers/general/use-data-table-date-filters.tsx"
|
|
5
|
+
import { useMemo } from "react"
|
|
6
|
+
|
|
7
|
+
const filterHelper = createDataTableFilterHelper<HttpTypes.AdminProductOption>()
|
|
8
|
+
|
|
9
|
+
export const useProductOptionTableFilters = () => {
|
|
10
|
+
const { t } = useTranslation()
|
|
11
|
+
const dateFilters = useDataTableDateFilters()
|
|
12
|
+
|
|
13
|
+
return useMemo(
|
|
14
|
+
() => [
|
|
15
|
+
filterHelper.accessor("is_exclusive", {
|
|
16
|
+
label: t("fields.type"),
|
|
17
|
+
type: "radio",
|
|
18
|
+
options: [
|
|
19
|
+
{
|
|
20
|
+
label: t("general.exclusive"),
|
|
21
|
+
value: "true",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
label: t("general.global"),
|
|
25
|
+
value: "false",
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
}),
|
|
29
|
+
...dateFilters,
|
|
30
|
+
],
|
|
31
|
+
[dateFilters, t]
|
|
32
|
+
)
|
|
33
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { HttpTypes } from "@medusajs/types"
|
|
2
|
+
import { useQueryParams } from "../../use-query-params"
|
|
3
|
+
|
|
4
|
+
type UseProductOptionTableQueryProps = {
|
|
5
|
+
prefix?: string
|
|
6
|
+
pageSize?: number
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
export const useProductOptionTableQuery = ({
|
|
10
|
+
prefix,
|
|
11
|
+
pageSize = 20,
|
|
12
|
+
}: UseProductOptionTableQueryProps) => {
|
|
13
|
+
const queryObject = useQueryParams(
|
|
14
|
+
["offset", "q", "order", "created_at", "updated_at", "is_exclusive"],
|
|
15
|
+
prefix
|
|
16
|
+
)
|
|
17
|
+
|
|
18
|
+
const { offset, created_at, updated_at, q, order, is_exclusive } = queryObject
|
|
19
|
+
|
|
20
|
+
const searchParams: HttpTypes.AdminProductOptionListParams = {
|
|
21
|
+
limit: pageSize,
|
|
22
|
+
offset: offset ? Number(offset) : 0,
|
|
23
|
+
order,
|
|
24
|
+
created_at: created_at ? JSON.parse(created_at) : undefined,
|
|
25
|
+
updated_at: updated_at ? JSON.parse(updated_at) : undefined,
|
|
26
|
+
is_exclusive: is_exclusive ? JSON.parse(is_exclusive) : undefined,
|
|
27
|
+
q,
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return {
|
|
31
|
+
searchParams,
|
|
32
|
+
raw: queryObject,
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -184,6 +184,12 @@
|
|
|
184
184
|
},
|
|
185
185
|
"noMoreData": {
|
|
186
186
|
"type": "string"
|
|
187
|
+
},
|
|
188
|
+
"exclusive": {
|
|
189
|
+
"type": "string"
|
|
190
|
+
},
|
|
191
|
+
"global": {
|
|
192
|
+
"type": "string"
|
|
187
193
|
}
|
|
188
194
|
},
|
|
189
195
|
"required": [
|
|
@@ -245,7 +251,9 @@
|
|
|
245
251
|
"unsavedChangesDescription",
|
|
246
252
|
"includesTaxTooltip",
|
|
247
253
|
"excludesTaxTooltip",
|
|
248
|
-
"noMoreData"
|
|
254
|
+
"noMoreData",
|
|
255
|
+
"exclusive",
|
|
256
|
+
"global"
|
|
249
257
|
],
|
|
250
258
|
"additionalProperties": false
|
|
251
259
|
},
|
|
@@ -392,10 +400,10 @@
|
|
|
392
400
|
"saveChanges": {
|
|
393
401
|
"type": "string"
|
|
394
402
|
},
|
|
395
|
-
"
|
|
403
|
+
"saveAsDraft": {
|
|
396
404
|
"type": "string"
|
|
397
405
|
},
|
|
398
|
-
"
|
|
406
|
+
"saveAndClose": {
|
|
399
407
|
"type": "string"
|
|
400
408
|
},
|
|
401
409
|
"copy": {
|
|
@@ -523,6 +531,12 @@
|
|
|
523
531
|
},
|
|
524
532
|
"cannotUndo": {
|
|
525
533
|
"type": "string"
|
|
534
|
+
},
|
|
535
|
+
"manage": {
|
|
536
|
+
"type": "string"
|
|
537
|
+
},
|
|
538
|
+
"goToProductOption": {
|
|
539
|
+
"type": "string"
|
|
526
540
|
}
|
|
527
541
|
},
|
|
528
542
|
"required": [
|
|
@@ -571,7 +585,9 @@
|
|
|
571
585
|
"hide",
|
|
572
586
|
"export",
|
|
573
587
|
"import",
|
|
574
|
-
"cannotUndo"
|
|
588
|
+
"cannotUndo",
|
|
589
|
+
"manage",
|
|
590
|
+
"goToProductOption"
|
|
575
591
|
],
|
|
576
592
|
"additionalProperties": false
|
|
577
593
|
},
|
|
@@ -1708,6 +1724,9 @@
|
|
|
1708
1724
|
},
|
|
1709
1725
|
"required": ["label", "hint"],
|
|
1710
1726
|
"additionalProperties": false
|
|
1727
|
+
},
|
|
1728
|
+
"selectValuesHint": {
|
|
1729
|
+
"type": "string"
|
|
1711
1730
|
}
|
|
1712
1731
|
},
|
|
1713
1732
|
"required": [
|
|
@@ -1717,7 +1736,8 @@
|
|
|
1717
1736
|
"optionTitle",
|
|
1718
1737
|
"optionValues",
|
|
1719
1738
|
"productVariants",
|
|
1720
|
-
"productOptions"
|
|
1739
|
+
"productOptions",
|
|
1740
|
+
"selectValuesHint"
|
|
1721
1741
|
],
|
|
1722
1742
|
"additionalProperties": false
|
|
1723
1743
|
},
|
|
@@ -2668,11 +2688,39 @@
|
|
|
2668
2688
|
"required": ["header", "successToast"],
|
|
2669
2689
|
"additionalProperties": false
|
|
2670
2690
|
},
|
|
2691
|
+
"manage": {
|
|
2692
|
+
"type": "object",
|
|
2693
|
+
"properties": {
|
|
2694
|
+
"header": {
|
|
2695
|
+
"type": "string"
|
|
2696
|
+
},
|
|
2697
|
+
"description": {
|
|
2698
|
+
"type": "string"
|
|
2699
|
+
},
|
|
2700
|
+
"label": {
|
|
2701
|
+
"type": "string"
|
|
2702
|
+
},
|
|
2703
|
+
"hint": {
|
|
2704
|
+
"type": "string"
|
|
2705
|
+
},
|
|
2706
|
+
"placeholder": {
|
|
2707
|
+
"type": "string"
|
|
2708
|
+
}
|
|
2709
|
+
},
|
|
2710
|
+
"required": [
|
|
2711
|
+
"header",
|
|
2712
|
+
"description",
|
|
2713
|
+
"label",
|
|
2714
|
+
"hint",
|
|
2715
|
+
"placeholder"
|
|
2716
|
+
],
|
|
2717
|
+
"additionalProperties": false
|
|
2718
|
+
},
|
|
2671
2719
|
"deleteWarning": {
|
|
2672
2720
|
"type": "string"
|
|
2673
2721
|
}
|
|
2674
2722
|
},
|
|
2675
|
-
"required": ["header", "edit", "create", "deleteWarning"],
|
|
2723
|
+
"required": ["header", "edit", "create", "manage", "deleteWarning"],
|
|
2676
2724
|
"additionalProperties": false
|
|
2677
2725
|
},
|
|
2678
2726
|
"organization": {
|
|
@@ -3173,6 +3221,157 @@
|
|
|
3173
3221
|
],
|
|
3174
3222
|
"additionalProperties": false
|
|
3175
3223
|
},
|
|
3224
|
+
"productOptions": {
|
|
3225
|
+
"type": "object",
|
|
3226
|
+
"properties": {
|
|
3227
|
+
"domain": {
|
|
3228
|
+
"type": "string"
|
|
3229
|
+
},
|
|
3230
|
+
"subtitle": {
|
|
3231
|
+
"type": "string"
|
|
3232
|
+
},
|
|
3233
|
+
"values": {
|
|
3234
|
+
"type": "object",
|
|
3235
|
+
"properties": {
|
|
3236
|
+
"header": {
|
|
3237
|
+
"type": "string"
|
|
3238
|
+
}
|
|
3239
|
+
},
|
|
3240
|
+
"required": ["header"],
|
|
3241
|
+
"additionalProperties": false
|
|
3242
|
+
},
|
|
3243
|
+
"products": {
|
|
3244
|
+
"type": "object",
|
|
3245
|
+
"properties": {
|
|
3246
|
+
"list": {
|
|
3247
|
+
"type": "object",
|
|
3248
|
+
"properties": {
|
|
3249
|
+
"noRecords": {
|
|
3250
|
+
"type": "string"
|
|
3251
|
+
}
|
|
3252
|
+
},
|
|
3253
|
+
"required": ["noRecords"],
|
|
3254
|
+
"additionalProperties": false
|
|
3255
|
+
}
|
|
3256
|
+
},
|
|
3257
|
+
"required": ["list"],
|
|
3258
|
+
"additionalProperties": false
|
|
3259
|
+
},
|
|
3260
|
+
"create": {
|
|
3261
|
+
"type": "object",
|
|
3262
|
+
"properties": {
|
|
3263
|
+
"header": {
|
|
3264
|
+
"type": "string"
|
|
3265
|
+
},
|
|
3266
|
+
"hint": {
|
|
3267
|
+
"type": "string"
|
|
3268
|
+
},
|
|
3269
|
+
"successToast": {
|
|
3270
|
+
"type": "string"
|
|
3271
|
+
},
|
|
3272
|
+
"tabs": {
|
|
3273
|
+
"type": "object",
|
|
3274
|
+
"properties": {
|
|
3275
|
+
"details": {
|
|
3276
|
+
"type": "string"
|
|
3277
|
+
},
|
|
3278
|
+
"organize": {
|
|
3279
|
+
"type": "string"
|
|
3280
|
+
}
|
|
3281
|
+
},
|
|
3282
|
+
"required": ["details", "organize"],
|
|
3283
|
+
"additionalProperties": false
|
|
3284
|
+
}
|
|
3285
|
+
},
|
|
3286
|
+
"required": ["header", "hint", "successToast", "tabs"],
|
|
3287
|
+
"additionalProperties": false
|
|
3288
|
+
},
|
|
3289
|
+
"manage": {
|
|
3290
|
+
"type": "object",
|
|
3291
|
+
"properties": {
|
|
3292
|
+
"exclusiveOption": {
|
|
3293
|
+
"type": "string"
|
|
3294
|
+
}
|
|
3295
|
+
},
|
|
3296
|
+
"required": ["exclusiveOption"],
|
|
3297
|
+
"additionalProperties": false
|
|
3298
|
+
},
|
|
3299
|
+
"edit": {
|
|
3300
|
+
"type": "object",
|
|
3301
|
+
"properties": {
|
|
3302
|
+
"header": {
|
|
3303
|
+
"type": "string"
|
|
3304
|
+
},
|
|
3305
|
+
"description": {
|
|
3306
|
+
"type": "string"
|
|
3307
|
+
},
|
|
3308
|
+
"successToast": {
|
|
3309
|
+
"type": "string"
|
|
3310
|
+
}
|
|
3311
|
+
},
|
|
3312
|
+
"required": ["header", "description", "successToast"],
|
|
3313
|
+
"additionalProperties": false
|
|
3314
|
+
},
|
|
3315
|
+
"delete": {
|
|
3316
|
+
"type": "object",
|
|
3317
|
+
"properties": {
|
|
3318
|
+
"confirmation": {
|
|
3319
|
+
"type": "string"
|
|
3320
|
+
},
|
|
3321
|
+
"successToast": {
|
|
3322
|
+
"type": "string"
|
|
3323
|
+
}
|
|
3324
|
+
},
|
|
3325
|
+
"required": ["confirmation", "successToast"],
|
|
3326
|
+
"additionalProperties": false
|
|
3327
|
+
},
|
|
3328
|
+
"fields": {
|
|
3329
|
+
"type": "object",
|
|
3330
|
+
"properties": {
|
|
3331
|
+
"title": {
|
|
3332
|
+
"type": "object",
|
|
3333
|
+
"properties": {
|
|
3334
|
+
"label": {
|
|
3335
|
+
"type": "string"
|
|
3336
|
+
},
|
|
3337
|
+
"placeholder": {
|
|
3338
|
+
"type": "string"
|
|
3339
|
+
}
|
|
3340
|
+
},
|
|
3341
|
+
"required": ["label", "placeholder"],
|
|
3342
|
+
"additionalProperties": false
|
|
3343
|
+
},
|
|
3344
|
+
"values": {
|
|
3345
|
+
"type": "object",
|
|
3346
|
+
"properties": {
|
|
3347
|
+
"label": {
|
|
3348
|
+
"type": "string"
|
|
3349
|
+
},
|
|
3350
|
+
"placeholder": {
|
|
3351
|
+
"type": "string"
|
|
3352
|
+
}
|
|
3353
|
+
},
|
|
3354
|
+
"required": ["label", "placeholder"],
|
|
3355
|
+
"additionalProperties": false
|
|
3356
|
+
}
|
|
3357
|
+
},
|
|
3358
|
+
"required": ["title", "values"],
|
|
3359
|
+
"additionalProperties": false
|
|
3360
|
+
}
|
|
3361
|
+
},
|
|
3362
|
+
"required": [
|
|
3363
|
+
"domain",
|
|
3364
|
+
"subtitle",
|
|
3365
|
+
"values",
|
|
3366
|
+
"products",
|
|
3367
|
+
"create",
|
|
3368
|
+
"manage",
|
|
3369
|
+
"edit",
|
|
3370
|
+
"delete",
|
|
3371
|
+
"fields"
|
|
3372
|
+
],
|
|
3373
|
+
"additionalProperties": false
|
|
3374
|
+
},
|
|
3176
3375
|
"inventory": {
|
|
3177
3376
|
"type": "object",
|
|
3178
3377
|
"properties": {
|
|
@@ -5860,6 +6059,32 @@
|
|
|
5860
6059
|
"required": ["open", "completed"],
|
|
5861
6060
|
"additionalProperties": false
|
|
5862
6061
|
},
|
|
6062
|
+
"list": {
|
|
6063
|
+
"type": "object",
|
|
6064
|
+
"properties": {
|
|
6065
|
+
"description": {
|
|
6066
|
+
"type": "string"
|
|
6067
|
+
},
|
|
6068
|
+
"noRecordsMessage": {
|
|
6069
|
+
"type": "string"
|
|
6070
|
+
},
|
|
6071
|
+
"filtered": {
|
|
6072
|
+
"type": "object",
|
|
6073
|
+
"properties": {
|
|
6074
|
+
"heading": {
|
|
6075
|
+
"type": "string"
|
|
6076
|
+
},
|
|
6077
|
+
"description": {
|
|
6078
|
+
"type": "string"
|
|
6079
|
+
}
|
|
6080
|
+
},
|
|
6081
|
+
"required": ["heading", "description"],
|
|
6082
|
+
"additionalProperties": false
|
|
6083
|
+
}
|
|
6084
|
+
},
|
|
6085
|
+
"required": ["description", "noRecordsMessage", "filtered"],
|
|
6086
|
+
"additionalProperties": false
|
|
6087
|
+
},
|
|
5863
6088
|
"create": {
|
|
5864
6089
|
"type": "object",
|
|
5865
6090
|
"properties": {
|
|
@@ -9350,29 +9575,31 @@
|
|
|
9350
9575
|
"domain": {
|
|
9351
9576
|
"type": "string"
|
|
9352
9577
|
},
|
|
9353
|
-
"
|
|
9354
|
-
"type": "string"
|
|
9355
|
-
},
|
|
9356
|
-
"list": {
|
|
9578
|
+
"actions": {
|
|
9357
9579
|
"type": "object",
|
|
9358
9580
|
"properties": {
|
|
9359
|
-
"
|
|
9581
|
+
"manage": {
|
|
9582
|
+
"type": "string"
|
|
9583
|
+
},
|
|
9584
|
+
"manageLocales": {
|
|
9360
9585
|
"type": "string"
|
|
9361
9586
|
}
|
|
9362
9587
|
},
|
|
9363
|
-
"required": ["
|
|
9588
|
+
"required": ["manage", "manageLocales"],
|
|
9589
|
+
"additionalProperties": false
|
|
9364
9590
|
},
|
|
9365
|
-
"
|
|
9591
|
+
"subtitle": {
|
|
9592
|
+
"type": "string"
|
|
9593
|
+
},
|
|
9594
|
+
"list": {
|
|
9366
9595
|
"type": "object",
|
|
9367
9596
|
"properties": {
|
|
9368
|
-
"
|
|
9369
|
-
"type": "string"
|
|
9370
|
-
},
|
|
9371
|
-
"manage": {
|
|
9597
|
+
"metrics": {
|
|
9372
9598
|
"type": "string"
|
|
9373
9599
|
}
|
|
9374
9600
|
},
|
|
9375
|
-
"required": ["
|
|
9601
|
+
"required": ["metrics"],
|
|
9602
|
+
"additionalProperties": false
|
|
9376
9603
|
},
|
|
9377
9604
|
"edit": {
|
|
9378
9605
|
"type": "object",
|
|
@@ -9390,10 +9617,12 @@
|
|
|
9390
9617
|
"type": "string"
|
|
9391
9618
|
}
|
|
9392
9619
|
},
|
|
9393
|
-
"required": ["title", "description"]
|
|
9620
|
+
"required": ["title", "description"],
|
|
9621
|
+
"additionalProperties": false
|
|
9394
9622
|
}
|
|
9395
9623
|
},
|
|
9396
|
-
"required": ["successToast", "unsavedChanges"]
|
|
9624
|
+
"required": ["successToast", "unsavedChanges"],
|
|
9625
|
+
"additionalProperties": false
|
|
9397
9626
|
},
|
|
9398
9627
|
"bulk": {
|
|
9399
9628
|
"type": "object",
|
|
@@ -9405,7 +9634,8 @@
|
|
|
9405
9634
|
"type": "string"
|
|
9406
9635
|
}
|
|
9407
9636
|
},
|
|
9408
|
-
"required": ["header"]
|
|
9637
|
+
"required": ["header", "mainColumn"],
|
|
9638
|
+
"additionalProperties": false
|
|
9409
9639
|
},
|
|
9410
9640
|
"activeLocales": {
|
|
9411
9641
|
"type": "object",
|
|
@@ -9420,7 +9650,8 @@
|
|
|
9420
9650
|
"type": "string"
|
|
9421
9651
|
}
|
|
9422
9652
|
},
|
|
9423
|
-
"required": ["heading", "subtitle", "noLocalesTip"]
|
|
9653
|
+
"required": ["heading", "subtitle", "noLocalesTip"],
|
|
9654
|
+
"additionalProperties": false
|
|
9424
9655
|
},
|
|
9425
9656
|
"completion": {
|
|
9426
9657
|
"type": "object",
|
|
@@ -9438,17 +9669,21 @@
|
|
|
9438
9669
|
"type": "string"
|
|
9439
9670
|
}
|
|
9440
9671
|
},
|
|
9441
|
-
"required": ["heading", "translated", "toTranslate", "footer"]
|
|
9672
|
+
"required": ["heading", "translated", "toTranslate", "footer"],
|
|
9673
|
+
"additionalProperties": false
|
|
9442
9674
|
}
|
|
9443
9675
|
},
|
|
9444
9676
|
"required": [
|
|
9445
9677
|
"domain",
|
|
9446
9678
|
"actions",
|
|
9447
9679
|
"subtitle",
|
|
9680
|
+
"list",
|
|
9681
|
+
"edit",
|
|
9448
9682
|
"bulk",
|
|
9449
|
-
"
|
|
9450
|
-
"
|
|
9451
|
-
]
|
|
9683
|
+
"activeLocales",
|
|
9684
|
+
"completion"
|
|
9685
|
+
],
|
|
9686
|
+
"additionalProperties": false
|
|
9452
9687
|
},
|
|
9453
9688
|
"store": {
|
|
9454
9689
|
"type": "object",
|
|
@@ -9513,10 +9748,10 @@
|
|
|
9513
9748
|
"removeLocaleWarning_other": {
|
|
9514
9749
|
"type": "string"
|
|
9515
9750
|
},
|
|
9516
|
-
"
|
|
9751
|
+
"currencyAlreadyAdded": {
|
|
9517
9752
|
"type": "string"
|
|
9518
9753
|
},
|
|
9519
|
-
"
|
|
9754
|
+
"localeAlreadyAdded": {
|
|
9520
9755
|
"type": "string"
|
|
9521
9756
|
},
|
|
9522
9757
|
"edit": {
|
|
@@ -9535,10 +9770,10 @@
|
|
|
9535
9770
|
"update": {
|
|
9536
9771
|
"type": "string"
|
|
9537
9772
|
},
|
|
9538
|
-
"
|
|
9773
|
+
"currenciesUpdated": {
|
|
9539
9774
|
"type": "string"
|
|
9540
9775
|
},
|
|
9541
|
-
"
|
|
9776
|
+
"localesUpdated": {
|
|
9542
9777
|
"type": "string"
|
|
9543
9778
|
},
|
|
9544
9779
|
"currenciesRemoved": {
|
|
@@ -9553,8 +9788,8 @@
|
|
|
9553
9788
|
},
|
|
9554
9789
|
"required": [
|
|
9555
9790
|
"update",
|
|
9556
|
-
"localesUpdated",
|
|
9557
9791
|
"currenciesUpdated",
|
|
9792
|
+
"localesUpdated",
|
|
9558
9793
|
"currenciesRemoved",
|
|
9559
9794
|
"localesRemoved",
|
|
9560
9795
|
"updatedTaxInclusivitySuccessfully"
|
|
@@ -12242,6 +12477,26 @@
|
|
|
12242
12477
|
"prompts"
|
|
12243
12478
|
],
|
|
12244
12479
|
"additionalProperties": false
|
|
12480
|
+
},
|
|
12481
|
+
"auth": {
|
|
12482
|
+
"type": "object",
|
|
12483
|
+
"properties": {
|
|
12484
|
+
"login": {
|
|
12485
|
+
"type": "object",
|
|
12486
|
+
"properties": {
|
|
12487
|
+
"authenticationFailed": {
|
|
12488
|
+
"type": "string"
|
|
12489
|
+
},
|
|
12490
|
+
"cloud": {
|
|
12491
|
+
"type": "string"
|
|
12492
|
+
}
|
|
12493
|
+
},
|
|
12494
|
+
"required": ["authenticationFailed", "cloud"],
|
|
12495
|
+
"additionalProperties": false
|
|
12496
|
+
}
|
|
12497
|
+
},
|
|
12498
|
+
"required": ["login"],
|
|
12499
|
+
"additionalProperties": false
|
|
12245
12500
|
}
|
|
12246
12501
|
},
|
|
12247
12502
|
"required": [
|
|
@@ -12263,6 +12518,7 @@
|
|
|
12263
12518
|
"products",
|
|
12264
12519
|
"collections",
|
|
12265
12520
|
"categories",
|
|
12521
|
+
"productOptions",
|
|
12266
12522
|
"inventory",
|
|
12267
12523
|
"giftCards",
|
|
12268
12524
|
"customers",
|
|
@@ -12277,6 +12533,7 @@
|
|
|
12277
12533
|
"priceLists",
|
|
12278
12534
|
"profile",
|
|
12279
12535
|
"users",
|
|
12536
|
+
"translations",
|
|
12280
12537
|
"store",
|
|
12281
12538
|
"regions",
|
|
12282
12539
|
"taxes",
|
|
@@ -12299,7 +12556,8 @@
|
|
|
12299
12556
|
"labels",
|
|
12300
12557
|
"fields",
|
|
12301
12558
|
"dateTime",
|
|
12302
|
-
"views"
|
|
12559
|
+
"views",
|
|
12560
|
+
"auth"
|
|
12303
12561
|
],
|
|
12304
12562
|
"additionalProperties": false
|
|
12305
12563
|
}
|