@medusajs/dashboard 3.0.0-snapshot-20251106143524 → 3.0.0-snapshot-20251106181920

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.
Files changed (267) hide show
  1. package/dist/{add-campaign-promotions-UR3UM3MV.mjs → add-campaign-promotions-ZUJD7HBF.mjs} +4 -4
  2. package/dist/{adjust-inventory-7EWRE2HD.mjs → adjust-inventory-MEJEPP4Y.mjs} +1 -1
  3. package/dist/{api-key-management-create-SPLD3JMO.mjs → api-key-management-create-4OZWVOSF.mjs} +3 -3
  4. package/dist/{api-key-management-detail-Z6V22XWR.mjs → api-key-management-detail-K3A3T6ET.mjs} +17 -17
  5. package/dist/{api-key-management-edit-2VPL7PHB.mjs → api-key-management-edit-FYLVVQOA.mjs} +3 -3
  6. package/dist/{api-key-management-list-TVLEYYQO.mjs → api-key-management-list-6YG52LWY.mjs} +8 -8
  7. package/dist/{api-key-management-sales-channels-Y25FWD5A.mjs → api-key-management-sales-channels-S5IFH7LP.mjs} +8 -8
  8. package/dist/app.css +3 -3
  9. package/dist/app.js +58386 -60410
  10. package/dist/app.mjs +12 -12
  11. package/dist/{campaign-create-GD2D45NX.mjs → campaign-create-NEKUWDGF.mjs} +2 -2
  12. package/dist/{campaign-detail-YDLSCIRO.mjs → campaign-detail-2H2W4W5B.mjs} +15 -15
  13. package/dist/{campaign-list-M2462W5W.mjs → campaign-list-3452F4Y6.mjs} +6 -6
  14. package/dist/{categories-metadata-2HM7G27P.mjs → categories-metadata-ZEYU33GV.mjs} +10 -10
  15. package/dist/{category-create-BC2VUVKO.mjs → category-create-N7PP3GWU.mjs} +5 -5
  16. package/dist/{category-detail-IZ3AWOCP.mjs → category-detail-DKY37LPO.mjs} +18 -18
  17. package/dist/{category-edit-U5Y5KJ2Y.mjs → category-edit-IFDQP7EZ.mjs} +2 -2
  18. package/dist/{category-list-BJLRBYZC.mjs → category-list-2M4BCRAL.mjs} +9 -9
  19. package/dist/{category-organize-4NXFDN2I.mjs → category-organize-76I7PO24.mjs} +2 -2
  20. package/dist/{category-products-55LDLRRQ.mjs → category-products-VVRGW25X.mjs} +17 -17
  21. package/dist/{chunk-VEYZCWO5.mjs → chunk-227DWSFF.mjs} +16 -16
  22. package/dist/{chunk-2X25XWOW.mjs → chunk-2D44OO7A.mjs} +1 -1
  23. package/dist/{chunk-CV65NY6Y.mjs → chunk-2WZUO66T.mjs} +1 -1
  24. package/dist/{chunk-IKXQEHLS.mjs → chunk-3G33PZVQ.mjs} +1 -1
  25. package/dist/{chunk-ULQ3V4CC.mjs → chunk-3MPO56OL.mjs} +2 -2
  26. package/dist/{chunk-SUYYSKCB.mjs → chunk-67ORSRVT.mjs} +16 -23
  27. package/dist/{chunk-MQALAB34.mjs → chunk-7PWZ5GMG.mjs} +1 -1
  28. package/dist/{chunk-5IPYLNMF.mjs → chunk-ET6EGRW3.mjs} +692 -3840
  29. package/dist/{chunk-6IXLTZ2H.mjs → chunk-FA5QNPXE.mjs} +2 -2
  30. package/dist/{chunk-GU5PJRPM.mjs → chunk-FKIOYL3D.mjs} +1 -1
  31. package/dist/{chunk-IXZVR3HG.mjs → chunk-GBKLLUUX.mjs} +1 -1
  32. package/dist/{chunk-ALKTJGWS.mjs → chunk-GI6XX5VU.mjs} +2 -2
  33. package/dist/{chunk-PVW6M64S.mjs → chunk-GLVCH422.mjs} +1 -1
  34. package/dist/{chunk-4BGVSXZZ.mjs → chunk-GVPJPLE2.mjs} +15 -48
  35. package/dist/{chunk-6XWHQ6ON.mjs → chunk-GVVAVAXG.mjs} +1 -1
  36. package/dist/{chunk-3DO2JGVG.mjs → chunk-HGFZAXHD.mjs} +1 -1
  37. package/dist/{chunk-3C6WQ7NH.mjs → chunk-IBSMG7AF.mjs} +37 -3
  38. package/dist/{chunk-GA3UMQMZ.mjs → chunk-IVZ6BMDB.mjs} +1 -1
  39. package/dist/{chunk-EQKJ5FSL.mjs → chunk-JAXWGF4M.mjs} +1 -1
  40. package/dist/{chunk-LEKWKUIS.mjs → chunk-JC75WAC7.mjs} +3 -3
  41. package/dist/{chunk-MBGEZAIM.mjs → chunk-JDA2MYND.mjs} +1 -1
  42. package/dist/{chunk-LOAL44PP.mjs → chunk-JDEH6Z4M.mjs} +1 -1
  43. package/dist/{chunk-2O43G3RH.mjs → chunk-LYTIMAIZ.mjs} +1 -1
  44. package/dist/{chunk-OGAZYXOV.mjs → chunk-NGR5XU3K.mjs} +1 -1
  45. package/dist/{chunk-3JJBLFYN.mjs → chunk-OI4W5AEL.mjs} +6 -2
  46. package/dist/{chunk-T57MRRCF.mjs → chunk-ORMX5RJQ.mjs} +1 -1
  47. package/dist/{chunk-XYHXWLTJ.mjs → chunk-P5RVJWPK.mjs} +1 -1
  48. package/dist/{chunk-DZWH2RV6.mjs → chunk-PFKKVLZX.mjs} +1 -1
  49. package/dist/{chunk-YTN73JYH.mjs → chunk-PJ5EUKOB.mjs} +1 -1
  50. package/dist/{chunk-2GWGNMAA.mjs → chunk-Q33G337Z.mjs} +1 -1
  51. package/dist/{chunk-YGLRZQ4C.mjs → chunk-QXXHLVRQ.mjs} +1 -1
  52. package/dist/{chunk-M4Q5Q4I3.mjs → chunk-S34JJVBQ.mjs} +2 -2
  53. package/dist/{chunk-WTK7SR6S.mjs → chunk-SBFWPL42.mjs} +2 -2
  54. package/dist/{chunk-ROKB75YP.mjs → chunk-SJ3E4T6B.mjs} +1 -1
  55. package/dist/{chunk-3BE5PBQZ.mjs → chunk-SMDWWXCD.mjs} +4 -4
  56. package/dist/{chunk-NDXL7ZT5.mjs → chunk-TNMXAPPT.mjs} +1 -1
  57. package/dist/{chunk-S5GNHYAG.mjs → chunk-UTVAHVAY.mjs} +6 -6
  58. package/dist/{chunk-NL376WAO.mjs → chunk-VAIHVNV6.mjs} +1 -1
  59. package/dist/{chunk-YA5PS6KW.mjs → chunk-W77EPLUD.mjs} +1 -1
  60. package/dist/{chunk-KXRW6JRE.mjs → chunk-WOFUOGLO.mjs} +123 -33
  61. package/dist/{chunk-N4N4KGET.mjs → chunk-WWQZD7WM.mjs} +1 -1
  62. package/dist/{chunk-5IFK2ZTA.mjs → chunk-Y2XQE25L.mjs} +2 -2
  63. package/dist/{chunk-R2QF6AQX.mjs → chunk-Y6ZQFV7H.mjs} +1 -1
  64. package/dist/{chunk-WGIRB6HY.mjs → chunk-YSQG2JDM.mjs} +1 -1
  65. package/dist/chunk-ZHH3W7CN.mjs +171 -0
  66. package/dist/{collection-add-products-7CFVTCLK.mjs → collection-add-products-QCSFXELK.mjs} +18 -18
  67. package/dist/{collection-create-CUZFWEOB.mjs → collection-create-45RYGDW7.mjs} +2 -2
  68. package/dist/{collection-detail-3NMMB3CC.mjs → collection-detail-OLC6DMBZ.mjs} +18 -18
  69. package/dist/{collection-edit-22I7EEJG.mjs → collection-edit-YBPBHLLZ.mjs} +2 -2
  70. package/dist/{collection-list-VNKB3725.mjs → collection-list-6UJNE2QB.mjs} +28 -27
  71. package/dist/{collection-metadata-ZUFYY4OU.mjs → collection-metadata-QG55V5ZM.mjs} +11 -11
  72. package/dist/{customer-detail-PAYUFGP6.mjs → customer-detail-XOCZDUJL.mjs} +20 -20
  73. package/dist/{customer-group-add-customers-MW2XH2F6.mjs → customer-group-add-customers-TQAH4IPM.mjs} +9 -9
  74. package/dist/{customer-group-detail-LJ6YVB2C.mjs → customer-group-detail-EWSDTVTQ.mjs} +19 -19
  75. package/dist/{customer-group-list-M2OOZLIZ.mjs → customer-group-list-NFXAELFY.mjs} +15 -15
  76. package/dist/{customer-list-MZ7ZRERV.mjs → customer-list-TXAB4URJ.mjs} +9 -9
  77. package/dist/{customers-add-customer-group-IAIRRQ2I.mjs → customers-add-customer-group-EYZMFVBS.mjs} +17 -17
  78. package/dist/{edit-inventory-item-5RPZHCM7.mjs → edit-inventory-item-TFJL5H5X.mjs} +1 -1
  79. package/dist/{edit-inventory-item-attributes-R73ZTBYG.mjs → edit-inventory-item-attributes-O3K7OB56.mjs} +1 -1
  80. package/dist/{edit-reservation-WMLAFMYU.mjs → edit-reservation-Z5TFZERY.mjs} +2 -2
  81. package/dist/{edit-rules-KV43O773.mjs → edit-rules-IE77WUXD.mjs} +10 -10
  82. package/dist/en.json +51 -4
  83. package/dist/{inventory-create-NW5WSPBV.mjs → inventory-create-HQ5XLKOJ.mjs} +10 -10
  84. package/dist/{inventory-detail-ZJ5U5FSA.mjs → inventory-detail-DAINM7WP.mjs} +14 -14
  85. package/dist/{inventory-list-HHTQRKQW.mjs → inventory-list-5ROSUTXF.mjs} +5 -5
  86. package/dist/{inventory-metadata-7XR4ON7G.mjs → inventory-metadata-HUL56OD2.mjs} +10 -10
  87. package/dist/{inventory-stock-VTIDGTOY.mjs → inventory-stock-5VIUWKTQ.mjs} +10 -10
  88. package/dist/{location-detail-WZM4EXFM.mjs → location-detail-QMLCFID5.mjs} +15 -15
  89. package/dist/{location-fulfillment-providers-DNIVH7XD.mjs → location-fulfillment-providers-NAFFMP3P.mjs} +19 -18
  90. package/dist/{location-sales-channels-3JAXXM3Q.mjs → location-sales-channels-D37LXTKQ.mjs} +7 -7
  91. package/dist/{location-service-zone-create-D2HXXX63.mjs → location-service-zone-create-27MNMKPQ.mjs} +5 -5
  92. package/dist/{location-service-zone-manage-areas-LVVT6XBE.mjs → location-service-zone-manage-areas-U3EPNWSI.mjs} +5 -5
  93. package/dist/{location-service-zone-shipping-option-create-F3EQW67U.mjs → location-service-zone-shipping-option-create-VM4TEJHY.mjs} +10 -10
  94. package/dist/{login-VZALGB6R.mjs → login-MTGOV7KC.mjs} +10 -10
  95. package/dist/{manage-locations-WMH3RQMR.mjs → manage-locations-OHDFBORX.mjs} +1 -1
  96. package/dist/{order-allocate-items-MZ7Y4FU4.mjs → order-allocate-items-NU65ZXHE.mjs} +3 -3
  97. package/dist/{order-create-claim-2FPE6XP2.mjs → order-create-claim-LTE2E75R.mjs} +20 -20
  98. package/dist/{order-create-edit-PVGKIS6G.mjs → order-create-edit-TPU3CKUU.mjs} +15 -15
  99. package/dist/{order-create-exchange-G4JY4FSX.mjs → order-create-exchange-FVSBZI7P.mjs} +26 -26
  100. package/dist/{order-create-fulfillment-VTICR6OE.mjs → order-create-fulfillment-NFGPDCBV.mjs} +13 -13
  101. package/dist/{order-create-refund-RWDVIXPV.mjs → order-create-refund-DC7C3R4Y.mjs} +15 -15
  102. package/dist/{order-create-return-VEUCH5BA.mjs → order-create-return-RLXYVZLO.mjs} +8 -8
  103. package/dist/{order-create-shipment-2KNYEHSU.mjs → order-create-shipment-RDYWCG3A.mjs} +10 -10
  104. package/dist/{order-detail-2EFNG3UB.mjs → order-detail-VVOZ6E2R.mjs} +33 -33
  105. package/dist/{order-edit-billing-address-T6BIIRAX.mjs → order-edit-billing-address-LV7453CS.mjs} +10 -10
  106. package/dist/{order-edit-email-SLUOGWRO.mjs → order-edit-email-4U5C6UKX.mjs} +10 -10
  107. package/dist/{order-edit-shipping-address-YUES5K5Q.mjs → order-edit-shipping-address-6IQC2CVP.mjs} +10 -10
  108. package/dist/{order-list-EEC3VSLN.mjs → order-list-INSYF52F.mjs} +13 -13
  109. package/dist/{order-metadata-HS33MC6S.mjs → order-metadata-EEV4IWOM.mjs} +10 -10
  110. package/dist/{order-receive-return-E6BGSZVL.mjs → order-receive-return-IWHR3EBF.mjs} +11 -11
  111. package/dist/{order-request-transfer-7IIDQ37I.mjs → order-request-transfer-65R4A7HS.mjs} +10 -10
  112. package/dist/{price-list-configuration-WQEQFG6M.mjs → price-list-configuration-L5XYCVP2.mjs} +8 -8
  113. package/dist/{price-list-create-36BOXETM.mjs → price-list-create-5GIMBRG2.mjs} +21 -21
  114. package/dist/{price-list-detail-6CJ63F65.mjs → price-list-detail-7AL2EBRL.mjs} +22 -22
  115. package/dist/{price-list-edit-GXDLVOU4.mjs → price-list-edit-DHG5STG4.mjs} +2 -2
  116. package/dist/{price-list-list-2HDOJIC6.mjs → price-list-list-QQKZEFSU.mjs} +7 -7
  117. package/dist/{price-list-prices-add-AVPP57TL.mjs → price-list-prices-add-2OO4QEZB.mjs} +17 -17
  118. package/dist/{price-list-prices-edit-J7HCNDTO.mjs → price-list-prices-edit-2FB25KWU.mjs} +2 -2
  119. package/dist/{product-attributes-TWEJQQBK.mjs → product-attributes-CCQ6WAOD.mjs} +13 -13
  120. package/dist/{product-create-GTUUDEAP.mjs → product-create-AIRCVZAE.mjs} +346 -552
  121. package/dist/{product-create-variant-ZWY57BX7.mjs → product-create-variant-7BD5KQHQ.mjs} +10 -10
  122. package/dist/{product-detail-F4MVAHFN.mjs → product-detail-IYMXYAPH.mjs} +28 -55
  123. package/dist/{product-edit-NEIZ3SID.mjs → product-edit-PDGQHCQ2.mjs} +13 -13
  124. package/dist/{product-export-5WBXPUYP.mjs → product-export-5EINLQDF.mjs} +26 -25
  125. package/dist/{product-image-variants-edit-T3STDZJG.mjs → product-image-variants-edit-DDSEBG5H.mjs} +14 -14
  126. package/dist/{product-import-5VLF2ZN4.mjs → product-import-IQJWHNYN.mjs} +10 -10
  127. package/dist/{product-list-BX2QNNQK.mjs → product-list-PUQEGU75.mjs} +23 -23
  128. package/dist/{product-media-Z3NNTB7H.mjs → product-media-Q5XFYZRS.mjs} +2 -2
  129. package/dist/{product-metadata-LMDEXR3V.mjs → product-metadata-WCKNOZXX.mjs} +10 -10
  130. package/dist/product-option-create-MWFWB2SU.mjs +336 -0
  131. package/dist/product-option-detail-UKKEZPG7.mjs +323 -0
  132. package/dist/product-option-edit-NHAF7B4P.mjs +324 -0
  133. package/dist/product-option-list-C6ZR2WIX.mjs +266 -0
  134. package/dist/product-option-metadata-OWSGHNDC.mjs +71 -0
  135. package/dist/product-options-manage-N73G5IXY.mjs +206 -0
  136. package/dist/{product-organization-5N2EIUXB.mjs → product-organization-HHME5F2C.mjs} +14 -14
  137. package/dist/{product-prices-MCZYVPQW.mjs → product-prices-GVEPABHQ.mjs} +1 -1
  138. package/dist/{product-sales-channels-LRMOPHMH.mjs → product-sales-channels-ZC5ONPG7.mjs} +7 -7
  139. package/dist/{product-shipping-profile-AHJE77VR.mjs → product-shipping-profile-KXSBDGRD.mjs} +13 -13
  140. package/dist/{product-stock-O2BH5R45.mjs → product-stock-LXRLD7FA.mjs} +10 -10
  141. package/dist/{product-tag-create-GOJTE5XA.mjs → product-tag-create-RAJEWM5O.mjs} +10 -10
  142. package/dist/{product-tag-detail-LDKRRJWH.mjs → product-tag-detail-EOW2GMOL.mjs} +36 -35
  143. package/dist/{product-tag-edit-IT4GHLSO.mjs → product-tag-edit-ZOO56XMF.mjs} +10 -10
  144. package/dist/{product-tag-list-3ERYK5WE.mjs → product-tag-list-B2UX2OHB.mjs} +35 -34
  145. package/dist/{product-tag-metadata-QV2BOGP2.mjs → product-tag-metadata-OZB7SVDN.mjs} +10 -10
  146. package/dist/{product-type-detail-UJ6QTCGQ.mjs → product-type-detail-4YZUC6ZS.mjs} +17 -17
  147. package/dist/{product-type-list-73DQPW4H.mjs → product-type-list-J2WDYTZK.mjs} +9 -9
  148. package/dist/{product-type-metadata-5TDBJGNQ.mjs → product-type-metadata-6QT47ZSR.mjs} +10 -10
  149. package/dist/{product-variant-detail-JMPD7LEZ.mjs → product-variant-detail-HOOYZSS2.mjs} +14 -14
  150. package/dist/{product-variant-edit-DW27AYBX.mjs → product-variant-edit-J2MTJA75.mjs} +10 -10
  151. package/dist/{product-variant-manage-inventory-items-T5OB3YX3.mjs → product-variant-manage-inventory-items-P4QUORRH.mjs} +1 -1
  152. package/dist/{product-variant-media-PHRCKUDK.mjs → product-variant-media-U5RG7AOW.mjs} +1 -1
  153. package/dist/{product-variant-metadata-4KJE6B2R.mjs → product-variant-metadata-ZRSZO2D4.mjs} +10 -10
  154. package/dist/{profile-detail-MEZKVQAB.mjs → profile-detail-UTJBWZSA.mjs} +1 -1
  155. package/dist/{profile-edit-XAHDV2DG.mjs → profile-edit-OOYMTKX6.mjs} +1 -1
  156. package/dist/{promotion-create-F27AOTVZ.mjs → promotion-create-2E4EF4SP.mjs} +15 -15
  157. package/dist/{promotion-detail-L3FNHH6O.mjs → promotion-detail-P2BHIQDG.mjs} +13 -13
  158. package/dist/{promotion-list-R5JKSO4I.mjs → promotion-list-MN6YJCYA.mjs} +4 -4
  159. package/dist/{refund-reason-create-5ATQ2IPU.mjs → refund-reason-create-I3BIJFJH.mjs} +10 -10
  160. package/dist/{refund-reason-edit-F7AMOTG3.mjs → refund-reason-edit-2BEZASQH.mjs} +10 -10
  161. package/dist/{refund-reason-list-NS4SVHGZ.mjs → refund-reason-list-NIJHHOXJ.mjs} +20 -20
  162. package/dist/{region-add-countries-G5BOUL2E.mjs → region-add-countries-KGFPZSRE.mjs} +4 -4
  163. package/dist/{region-create-MLPUWT5W.mjs → region-create-YJJRTAYO.mjs} +4 -4
  164. package/dist/{region-detail-RICQRZUA.mjs → region-detail-ERE4ZF2I.mjs} +4 -4
  165. package/dist/{region-list-CJYT43SH.mjs → region-list-KE5HCKOR.mjs} +7 -7
  166. package/dist/{region-metadata-CRAHVHOC.mjs → region-metadata-RLZSQNGW.mjs} +10 -10
  167. package/dist/{reservation-create-YZMZ6HSS.mjs → reservation-create-4R2XEEZU.mjs} +2 -2
  168. package/dist/{reservation-detail-6MCBQZAE.mjs → reservation-detail-7OYGNK4L.mjs} +10 -10
  169. package/dist/{reservation-list-XP4YX4TR.mjs → reservation-list-VY44QEH6.mjs} +7 -7
  170. package/dist/{reservation-metadata-IQNJPNAX.mjs → reservation-metadata-VJIAGIMF.mjs} +10 -10
  171. package/dist/{return-reason-list-7MBVORVO.mjs → return-reason-list-6UKR2BLW.mjs} +12 -12
  172. package/dist/{sales-channel-add-products-GQQ7Z3PT.mjs → sales-channel-add-products-KAUMNKMD.mjs} +17 -17
  173. package/dist/{sales-channel-create-7ISLGNGC.mjs → sales-channel-create-I6ME6QBM.mjs} +2 -2
  174. package/dist/{sales-channel-detail-P2HXFYB4.mjs → sales-channel-detail-5SXDKP6P.mjs} +17 -17
  175. package/dist/{sales-channel-edit-2PEHGAWF.mjs → sales-channel-edit-O7GM2B6O.mjs} +2 -2
  176. package/dist/{sales-channel-list-4PJLCQ77.mjs → sales-channel-list-JKZ6TIY7.mjs} +15 -15
  177. package/dist/{sales-channel-metadata-ZOCPAIGM.mjs → sales-channel-metadata-33P5SKDI.mjs} +10 -10
  178. package/dist/{shipping-option-type-create-YR2QV2OG.mjs → shipping-option-type-create-KVYNWD2Q.mjs} +10 -10
  179. package/dist/{shipping-option-type-detail-TYHGCV2X.mjs → shipping-option-type-detail-YX3HMXNI.mjs} +11 -11
  180. package/dist/{shipping-option-type-edit-6KL3MHVT.mjs → shipping-option-type-edit-ODXQMHYJ.mjs} +10 -10
  181. package/dist/{shipping-option-type-list-AWJRR7U5.mjs → shipping-option-type-list-XCQNWDDA.mjs} +16 -16
  182. package/dist/{shipping-profile-metadata-A33XKBQN.mjs → shipping-profile-metadata-K34DAKGY.mjs} +10 -10
  183. package/dist/{shipping-profiles-list-7SVGIP72.mjs → shipping-profiles-list-KYYSHLSZ.mjs} +4 -4
  184. package/dist/{store-add-currencies-V3IBSI45.mjs → store-add-currencies-SNSW7A6O.mjs} +4 -4
  185. package/dist/{store-detail-3WFTRPJW.mjs → store-detail-3Z3BK2BH.mjs} +14 -14
  186. package/dist/{store-metadata-LMRFCZ3J.mjs → store-metadata-FESGAO7E.mjs} +10 -10
  187. package/dist/{tax-region-create-5Y6EA7XE.mjs → tax-region-create-EVFVC6HN.mjs} +10 -10
  188. package/dist/{tax-region-detail-HXVZA2PP.mjs → tax-region-detail-ULHK52CD.mjs} +38 -37
  189. package/dist/{tax-region-edit-IKEWHRUK.mjs → tax-region-edit-CXEPD2F2.mjs} +10 -10
  190. package/dist/{tax-region-province-detail-VT3BUKLS.mjs → tax-region-province-detail-VUY4PDGN.mjs} +38 -37
  191. package/dist/{tax-region-tax-override-create-RZUVOGNR.mjs → tax-region-tax-override-create-WWZZVAG5.mjs} +37 -36
  192. package/dist/{tax-region-tax-override-edit-OEQOEE6I.mjs → tax-region-tax-override-edit-HVZRD44G.mjs} +36 -35
  193. package/dist/{user-detail-DFZPKHG2.mjs → user-detail-YTVBPRH5.mjs} +1 -1
  194. package/dist/{user-invite-QK3ZCSGG.mjs → user-invite-FQNKJKMD.mjs} +4 -4
  195. package/dist/{user-list-RH43CTBN.mjs → user-list-73SJSKYT.mjs} +6 -6
  196. package/dist/{user-metadata-BQKW4WAU.mjs → user-metadata-33W3JSHN.mjs} +10 -10
  197. package/dist/{workflow-execution-detail-D5QUZFTV.mjs → workflow-execution-detail-SHEXD5OL.mjs} +10 -10
  198. package/dist/{workflow-execution-list-6UTBTVX4.mjs → workflow-execution-list-JOVBPL45.mjs} +4 -4
  199. package/package.json +9 -9
  200. package/src/components/layout/main-layout/main-layout.tsx +7 -5
  201. package/src/components/layout/nav-item/nav-item.tsx +4 -14
  202. package/src/dashboard-app/dashboard-app.tsx +0 -1
  203. package/src/dashboard-app/routes/get-route.map.tsx +64 -12
  204. package/src/dashboard-app/types.ts +0 -1
  205. package/src/hooks/api/index.ts +1 -0
  206. package/src/hooks/api/product-options.tsx +151 -0
  207. package/src/hooks/api/products.tsx +23 -63
  208. package/src/hooks/table/columns/use-product-option-table-columns.tsx +43 -0
  209. package/src/hooks/table/filters/index.ts +1 -0
  210. package/src/hooks/table/filters/use-product-option-table-filters.tsx +33 -0
  211. package/src/hooks/table/query/use-product-option-table-query.tsx +34 -0
  212. package/src/i18n/languages.ts +16 -23
  213. package/src/i18n/translations/$schema.json +176 -5
  214. package/src/i18n/translations/en.json +51 -4
  215. package/src/i18n/translations/index.ts +0 -4
  216. package/src/routes/product-options/common/hooks/use-delete-product-option-action.tsx +41 -0
  217. package/src/routes/product-options/product-option-create/components/create-product-option-form/create-product-option-details.tsx +71 -0
  218. package/src/routes/product-options/product-option-create/components/create-product-option-form/create-product-option-form.tsx +192 -0
  219. package/src/routes/product-options/product-option-create/components/create-product-option-form/create-product-option-organize.tsx +77 -0
  220. package/src/routes/product-options/product-option-create/components/create-product-option-form/index.ts +1 -0
  221. package/src/routes/product-options/product-option-create/components/create-product-option-form/schema.ts +15 -0
  222. package/src/routes/product-options/product-option-create/index.ts +1 -0
  223. package/src/routes/product-options/product-option-create/product-option-create.tsx +10 -0
  224. package/src/routes/product-options/product-option-detail/breadcrumb.tsx +14 -0
  225. package/src/routes/product-options/product-option-detail/components/product-option-general-section/index.ts +1 -0
  226. package/src/routes/product-options/product-option-detail/components/product-option-general-section/product-option-general-section.tsx +81 -0
  227. package/src/routes/product-options/product-option-detail/components/product-option-product-section/index.ts +1 -0
  228. package/src/routes/product-options/product-option-detail/components/product-option-product-section/product-option-product-section.tsx +74 -0
  229. package/src/routes/product-options/product-option-detail/index.ts +3 -0
  230. package/src/routes/product-options/product-option-detail/loader.ts +17 -0
  231. package/src/routes/product-options/product-option-detail/product-option-detail.tsx +50 -0
  232. package/src/routes/product-options/product-option-edit/components/edit-product-option-form/edit-product-option-details.tsx +94 -0
  233. package/src/routes/product-options/product-option-edit/components/edit-product-option-form/edit-product-option-form.tsx +116 -0
  234. package/src/routes/product-options/product-option-edit/components/edit-product-option-form/edit-product-option-organize.tsx +77 -0
  235. package/src/routes/product-options/product-option-edit/components/edit-product-option-form/index.ts +1 -0
  236. package/src/routes/product-options/product-option-edit/components/edit-product-option-form/schema.ts +13 -0
  237. package/src/routes/product-options/product-option-edit/index.ts +1 -0
  238. package/src/routes/product-options/product-option-edit/product-option-edit.tsx +34 -0
  239. package/src/routes/product-options/product-option-list/components/product-option-list-table/index.ts +1 -0
  240. package/src/routes/product-options/product-option-list/components/product-option-list-table/product-option-list-table.tsx +131 -0
  241. package/src/routes/product-options/product-option-list/index.ts +1 -0
  242. package/src/routes/product-options/product-option-list/product-option-list.tsx +19 -0
  243. package/src/routes/product-options/product-option-metadata/index.ts +1 -0
  244. package/src/routes/product-options/product-option-metadata/product-option-metadata.tsx +27 -0
  245. package/src/routes/products/product-create/components/product-create-details-form/components/product-create-details-variant-section/product-create-details-variant-section.tsx +214 -198
  246. package/src/routes/products/product-create/components/product-create-form/product-create-form.tsx +4 -7
  247. package/src/routes/products/product-create/constants.ts +1 -0
  248. package/src/routes/products/product-create/utils.ts +6 -1
  249. package/src/routes/products/product-detail/components/product-option-section/product-option-section.tsx +7 -38
  250. package/src/routes/products/product-options-manage/components/product-options-manage-form/index.ts +1 -0
  251. package/src/routes/products/product-options-manage/components/product-options-manage-form/product-options-manage-form.tsx +147 -0
  252. package/src/routes/products/product-options-manage/index.ts +1 -0
  253. package/src/routes/products/product-options-manage/product-options-manage.tsx +35 -0
  254. package/dist/product-create-option-D2636LJL.mjs +0 -145
  255. package/dist/product-edit-option-DYAFZIT2.mjs +0 -150
  256. package/src/i18n/translations/ptPT.json +0 -3219
  257. package/src/routes/products/product-create-option/components/create-product-option-form/create-product-option-form.tsx +0 -122
  258. package/src/routes/products/product-create-option/components/create-product-option-form/index.ts +0 -1
  259. package/src/routes/products/product-create-option/index.ts +0 -1
  260. package/src/routes/products/product-create-option/product-create-option.tsx +0 -26
  261. package/src/routes/products/product-edit-option/components/edit-product-option-form/edit-product-option-form.tsx +0 -123
  262. package/src/routes/products/product-edit-option/components/edit-product-option-form/index.ts +0 -1
  263. package/src/routes/products/product-edit-option/index.ts +0 -1
  264. package/src/routes/products/product-edit-option/product-edit-option.tsx +0 -32
  265. package/dist/{chunk-ELPHCFRW.mjs → chunk-MK4E5XQX.mjs} +3 -3
  266. package/dist/{location-list-W6EHBBE5.mjs → location-list-MVIK73QC.mjs} +1 -1
  267. package/dist/{location-service-zone-shipping-option-edit-27MYKN7R.mjs → location-service-zone-shipping-option-edit-WN4MTZSB.mjs} +3 -3
@@ -1,34 +1,33 @@
1
1
  import {
2
- ar,
3
- bg,
4
- bs,
5
- cs,
6
2
  de,
7
- el,
3
+ bg,
8
4
  enUS,
9
5
  es,
10
- faIR,
11
6
  fr,
12
7
  he,
13
- hu,
14
- id,
15
8
  it,
16
9
  ja,
17
- ko,
18
- lt,
19
- mk,
20
- mn,
21
- nl,
22
10
  pl,
23
- pt,
24
11
  ptBR,
25
- ro,
26
- ru,
27
12
  th,
28
13
  tr,
29
14
  uk,
30
- vi,
15
+ ro,
16
+ mk,
17
+ mn,
18
+ ar,
31
19
  zhCN,
20
+ faIR,
21
+ cs,
22
+ ru,
23
+ el,
24
+ lt,
25
+ vi,
26
+ ko,
27
+ nl,
28
+ hu,
29
+ bs,
30
+ id,
32
31
  } from "date-fns/locale"
33
32
  import { Language } from "./types"
34
33
 
@@ -111,12 +110,6 @@ export const languages: Language[] = [
111
110
  ltr: true,
112
111
  date_locale: ptBR,
113
112
  },
114
- {
115
- code: "ptPT",
116
- display_name: "Português (Portugal)",
117
- ltr: true,
118
- date_locale: pt,
119
- },
120
113
  {
121
114
  code: "tr",
122
115
  display_name: "Türkçe",
@@ -178,6 +178,12 @@
178
178
  },
179
179
  "noMoreData": {
180
180
  "type": "string"
181
+ },
182
+ "exclusive": {
183
+ "type": "string"
184
+ },
185
+ "global": {
186
+ "type": "string"
181
187
  }
182
188
  },
183
189
  "required": [
@@ -237,7 +243,9 @@
237
243
  "unsavedChangesDescription",
238
244
  "includesTaxTooltip",
239
245
  "excludesTaxTooltip",
240
- "noMoreData"
246
+ "noMoreData",
247
+ "exclusive",
248
+ "global"
241
249
  ],
242
250
  "additionalProperties": false
243
251
  },
@@ -509,6 +517,9 @@
509
517
  },
510
518
  "cannotUndo": {
511
519
  "type": "string"
520
+ },
521
+ "manage": {
522
+ "type": "string"
512
523
  }
513
524
  },
514
525
  "required": [
@@ -555,7 +566,8 @@
555
566
  "hide",
556
567
  "export",
557
568
  "import",
558
- "cannotUndo"
569
+ "cannotUndo",
570
+ "manage"
559
571
  ],
560
572
  "additionalProperties": false
561
573
  },
@@ -1692,6 +1704,9 @@
1692
1704
  },
1693
1705
  "required": ["label", "hint"],
1694
1706
  "additionalProperties": false
1707
+ },
1708
+ "selectValuesHint": {
1709
+ "type": "string"
1695
1710
  }
1696
1711
  },
1697
1712
  "required": [
@@ -1701,7 +1716,8 @@
1701
1716
  "optionTitle",
1702
1717
  "optionValues",
1703
1718
  "productVariants",
1704
- "productOptions"
1719
+ "productOptions",
1720
+ "selectValuesHint"
1705
1721
  ],
1706
1722
  "additionalProperties": false
1707
1723
  },
@@ -2648,11 +2664,39 @@
2648
2664
  "required": ["header", "successToast"],
2649
2665
  "additionalProperties": false
2650
2666
  },
2667
+ "manage": {
2668
+ "type": "object",
2669
+ "properties": {
2670
+ "header": {
2671
+ "type": "string"
2672
+ },
2673
+ "description": {
2674
+ "type": "string"
2675
+ },
2676
+ "label": {
2677
+ "type": "string"
2678
+ },
2679
+ "hint": {
2680
+ "type": "string"
2681
+ },
2682
+ "placeholder": {
2683
+ "type": "string"
2684
+ }
2685
+ },
2686
+ "required": [
2687
+ "header",
2688
+ "description",
2689
+ "label",
2690
+ "hint",
2691
+ "placeholder"
2692
+ ],
2693
+ "additionalProperties": false
2694
+ },
2651
2695
  "deleteWarning": {
2652
2696
  "type": "string"
2653
2697
  }
2654
2698
  },
2655
- "required": ["header", "edit", "create", "deleteWarning"],
2699
+ "required": ["header", "edit", "create", "manage", "deleteWarning"],
2656
2700
  "additionalProperties": false
2657
2701
  },
2658
2702
  "organization": {
@@ -3153,6 +3197,128 @@
3153
3197
  ],
3154
3198
  "additionalProperties": false
3155
3199
  },
3200
+ "productOptions": {
3201
+ "type": "object",
3202
+ "properties": {
3203
+ "domain": {
3204
+ "type": "string"
3205
+ },
3206
+ "subtitle": {
3207
+ "type": "string"
3208
+ },
3209
+ "values": {
3210
+ "type": "object",
3211
+ "properties": {
3212
+ "header": {
3213
+ "type": "string"
3214
+ }
3215
+ },
3216
+ "required": ["header"],
3217
+ "additionalProperties": false
3218
+ },
3219
+ "create": {
3220
+ "type": "object",
3221
+ "properties": {
3222
+ "header": {
3223
+ "type": "string"
3224
+ },
3225
+ "hint": {
3226
+ "type": "string"
3227
+ },
3228
+ "successToast": {
3229
+ "type": "string"
3230
+ },
3231
+ "tabs": {
3232
+ "type": "object",
3233
+ "properties": {
3234
+ "details": {
3235
+ "type": "string"
3236
+ },
3237
+ "organize": {
3238
+ "type": "string"
3239
+ }
3240
+ },
3241
+ "required": ["details", "organize"],
3242
+ "additionalProperties": false
3243
+ }
3244
+ },
3245
+ "required": ["header", "hint", "successToast", "tabs"],
3246
+ "additionalProperties": false
3247
+ },
3248
+ "edit": {
3249
+ "type": "object",
3250
+ "properties": {
3251
+ "header": {
3252
+ "type": "string"
3253
+ },
3254
+ "description": {
3255
+ "type": "string"
3256
+ },
3257
+ "successToast": {
3258
+ "type": "string"
3259
+ }
3260
+ },
3261
+ "required": ["header", "description", "successToast"],
3262
+ "additionalProperties": false
3263
+ },
3264
+ "delete": {
3265
+ "type": "object",
3266
+ "properties": {
3267
+ "confirmation": {
3268
+ "type": "string"
3269
+ },
3270
+ "successToast": {
3271
+ "type": "string"
3272
+ }
3273
+ },
3274
+ "required": ["confirmation", "successToast"],
3275
+ "additionalProperties": false
3276
+ },
3277
+ "fields": {
3278
+ "type": "object",
3279
+ "properties": {
3280
+ "title": {
3281
+ "type": "object",
3282
+ "properties": {
3283
+ "label": {
3284
+ "type": "string"
3285
+ },
3286
+ "placeholder": {
3287
+ "type": "string"
3288
+ }
3289
+ },
3290
+ "required": ["label", "placeholder"],
3291
+ "additionalProperties": false
3292
+ },
3293
+ "values": {
3294
+ "type": "object",
3295
+ "properties": {
3296
+ "label": {
3297
+ "type": "string"
3298
+ },
3299
+ "placeholder": {
3300
+ "type": "string"
3301
+ }
3302
+ },
3303
+ "required": ["label", "placeholder"],
3304
+ "additionalProperties": false
3305
+ }
3306
+ },
3307
+ "required": ["title", "values"],
3308
+ "additionalProperties": false
3309
+ }
3310
+ },
3311
+ "required": [
3312
+ "domain",
3313
+ "subtitle",
3314
+ "values",
3315
+ "create",
3316
+ "edit",
3317
+ "delete",
3318
+ "fields"
3319
+ ],
3320
+ "additionalProperties": false
3321
+ },
3156
3322
  "inventory": {
3157
3323
  "type": "object",
3158
3324
  "properties": {
@@ -11712,6 +11878,9 @@
11712
11878
  },
11713
11879
  "values": {
11714
11880
  "type": "string"
11881
+ },
11882
+ "exclusive": {
11883
+ "type": "string"
11715
11884
  }
11716
11885
  },
11717
11886
  "required": [
@@ -11877,7 +12046,8 @@
11877
12046
  "startDate",
11878
12047
  "endDate",
11879
12048
  "draft",
11880
- "values"
12049
+ "values",
12050
+ "exclusive"
11881
12051
  ],
11882
12052
  "additionalProperties": false
11883
12053
  },
@@ -12035,6 +12205,7 @@
12035
12205
  "products",
12036
12206
  "collections",
12037
12207
  "categories",
12208
+ "productOptions",
12038
12209
  "inventory",
12039
12210
  "giftCards",
12040
12211
  "customers",
@@ -57,7 +57,9 @@
57
57
  "unsavedChangesDescription": "You have unsaved changes that will be lost if you exit this form.",
58
58
  "includesTaxTooltip": "Prices in this column are tax inclusive.",
59
59
  "excludesTaxTooltip": "Prices in this column are tax exclusive.",
60
- "noMoreData": "No more data"
60
+ "noMoreData": "No more data",
61
+ "exclusive": "Exclusive",
62
+ "global": "Global"
61
63
  },
62
64
  "json": {
63
65
  "header": "JSON",
@@ -141,7 +143,8 @@
141
143
  "hide": "Hide",
142
144
  "export": "Export",
143
145
  "import": "Import",
144
- "cannotUndo": "This action cannot be undone"
146
+ "cannotUndo": "This action cannot be undone",
147
+ "manage": "Manage"
145
148
  },
146
149
  "operators": {
147
150
  "in": "In"
@@ -448,7 +451,8 @@
448
451
  "productOptions": {
449
452
  "label": "Product options",
450
453
  "hint": "Define the options for the product, e.g. color, size, etc."
451
- }
454
+ },
455
+ "selectValuesHint": "Select which values to use for each option"
452
456
  },
453
457
  "successToast": "Product {{title}} was successfully created."
454
458
  },
@@ -704,6 +708,13 @@
704
708
  "header": "Create Option",
705
709
  "successToast": "Option {{title}} was successfully created."
706
710
  },
711
+ "manage": {
712
+ "header": "Manage Product Options",
713
+ "description": "Associate or disassociate product options from this product.",
714
+ "label": "Product Options",
715
+ "hint": "Select which options should be associated to this product.",
716
+ "placeholder": "Select options"
717
+ },
707
718
  "deleteWarning": "You are about to delete the product option: {{title}}. This action cannot be undone."
708
719
  },
709
720
  "organization": {
@@ -840,6 +851,41 @@
840
851
  }
841
852
  }
842
853
  },
854
+ "productOptions": {
855
+ "domain": "Options",
856
+ "subtitle": "Manage product options and their associated values.",
857
+ "values": {
858
+ "header": "Values"
859
+ },
860
+ "create": {
861
+ "header": "Create Product Option",
862
+ "hint": "Create a new product option and manage its values.",
863
+ "successToast": "Product option \"{{title}}\" was successfully created.",
864
+ "tabs": {
865
+ "details": "Details",
866
+ "organize": "Organize"
867
+ }
868
+ },
869
+ "edit": {
870
+ "header": "Edit Product Option",
871
+ "description": "Edit the product option to update its details and associated values.",
872
+ "successToast": "Product option \"{{title}}\" was successfully updated."
873
+ },
874
+ "delete": {
875
+ "confirmation": "You are about to delete the product option \"{{title}}\". This action cannot be undone.",
876
+ "successToast": "Product option was successfully deleted."
877
+ },
878
+ "fields": {
879
+ "title": {
880
+ "label": "Title",
881
+ "placeholder": "Size"
882
+ },
883
+ "values": {
884
+ "label": "Values",
885
+ "placeholder": "S, M, L"
886
+ }
887
+ }
888
+ },
843
889
  "inventory": {
844
890
  "domain": "Inventory",
845
891
  "subtitle": "Manage your inventory items",
@@ -3178,7 +3224,8 @@
3178
3224
  "startDate": "Start date",
3179
3225
  "endDate": "End date",
3180
3226
  "draft": "Draft",
3181
- "values": "Values"
3227
+ "values": "Values",
3228
+ "exclusive": "Exclusive"
3182
3229
  },
3183
3230
  "dateTime": {
3184
3231
  "years_one": "Year",
@@ -10,7 +10,6 @@ import it from "./it.json"
10
10
  import ja from "./ja.json"
11
11
  import pl from "./pl.json"
12
12
  import ptBR from "./ptBR.json"
13
- import ptPT from "./ptPT.json"
14
13
  import th from "./th.json"
15
14
  import tr from "./tr.json"
16
15
  import uk from "./uk.json"
@@ -68,9 +67,6 @@ export default {
68
67
  ptBR: {
69
68
  translation: ptBR,
70
69
  },
71
- ptPT: {
72
- translation: ptPT,
73
- },
74
70
  th: {
75
71
  translation: th,
76
72
  },
@@ -0,0 +1,41 @@
1
+ import { useNavigate } from "react-router-dom"
2
+ import { toast, usePrompt } from "@medusajs/ui"
3
+ import { useTranslation } from "react-i18next"
4
+ import { useDeleteProductOption } from "../../../../hooks/api"
5
+ import { HttpTypes } from "@medusajs/types"
6
+
7
+ export const useDeleteProductOptionAction = ({
8
+ id,
9
+ title,
10
+ }: HttpTypes.AdminProductOption) => {
11
+ const { t } = useTranslation()
12
+ const prompt = usePrompt()
13
+ const navigate = useNavigate()
14
+
15
+ const { mutateAsync } = useDeleteProductOption(id)
16
+
17
+ return async () => {
18
+ const result = await prompt({
19
+ title: t("general.areYouSure"),
20
+ description: t("productOptions.delete.confirmation", { title }),
21
+ confirmText: t("actions.delete"),
22
+ cancelText: t("actions.cancel"),
23
+ })
24
+
25
+ if (!result) {
26
+ return
27
+ }
28
+
29
+ await mutateAsync(undefined, {
30
+ onSuccess: () => {
31
+ navigate("/product-options", {
32
+ replace: true,
33
+ })
34
+ toast.success(t("productOptions.delete.successToast", { title }))
35
+ },
36
+ onError: (e) => {
37
+ toast.error(e.message)
38
+ },
39
+ })
40
+ }
41
+ }
@@ -0,0 +1,71 @@
1
+ import { Heading, Input, Text } from "@medusajs/ui"
2
+ import { UseFormReturn } from "react-hook-form"
3
+ import { useTranslation } from "react-i18next"
4
+
5
+ import { Form } from "../../../../../components/common/form"
6
+ import { ChipInput } from "../../../../../components/inputs/chip-input"
7
+ import { CreateProductOptionSchema } from "./schema"
8
+
9
+ type CreateProductOptionDetailsProps = {
10
+ form: UseFormReturn<CreateProductOptionSchema>
11
+ }
12
+
13
+ export const CreateProductOptionDetails = ({
14
+ form,
15
+ }: CreateProductOptionDetailsProps) => {
16
+ const { t } = useTranslation()
17
+
18
+ return (
19
+ <div className="flex flex-col items-center p-16">
20
+ <div className="flex w-full max-w-[720px] flex-col gap-y-8">
21
+ <div>
22
+ <Heading>{t("productOptions.create.header")}</Heading>
23
+ <Text size="small" className="text-ui-fg-subtle">
24
+ {t("productOptions.create.hint")}
25
+ </Text>
26
+ </div>
27
+ <Form.Field
28
+ control={form.control}
29
+ name="title"
30
+ render={({ field }) => {
31
+ return (
32
+ <Form.Item>
33
+ <Form.Label>
34
+ {t("productOptions.fields.title.label")}
35
+ </Form.Label>
36
+ <Form.Control>
37
+ <Input
38
+ autoComplete="off"
39
+ {...field}
40
+ placeholder={t("productOptions.fields.title.placeholder")}
41
+ />
42
+ </Form.Control>
43
+ <Form.ErrorMessage />
44
+ </Form.Item>
45
+ )
46
+ }}
47
+ />
48
+ <Form.Field
49
+ control={form.control}
50
+ name="values"
51
+ render={({ field }) => {
52
+ return (
53
+ <Form.Item>
54
+ <Form.Label>
55
+ {t("productOptions.fields.values.label")}
56
+ </Form.Label>
57
+ <Form.Control>
58
+ <ChipInput
59
+ {...field}
60
+ placeholder={t("productOptions.fields.values.placeholder")}
61
+ />
62
+ </Form.Control>
63
+ <Form.ErrorMessage />
64
+ </Form.Item>
65
+ )
66
+ }}
67
+ />
68
+ </div>
69
+ </div>
70
+ )
71
+ }