@medusajs/dashboard 3.0.0-snapshot-20251214110905 → 3.0.0-snapshot-20251215162333

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 (197) hide show
  1. package/dist/{adjust-inventory-I5VYMAI4.mjs → adjust-inventory-26YXAXQL.mjs} +2 -1
  2. package/dist/{api-key-management-create-CVRFY4PL.mjs → api-key-management-create-EMP32G2D.mjs} +4 -3
  3. package/dist/{api-key-management-detail-HRVP6HRC.mjs → api-key-management-detail-NRGL7HHX.mjs} +11 -10
  4. package/dist/{api-key-management-edit-JMU3WEPX.mjs → api-key-management-edit-IBM3ZXHK.mjs} +4 -3
  5. package/dist/{api-key-management-list-RGLZMUCB.mjs → api-key-management-list-LJSWRAGE.mjs} +4 -3
  6. package/dist/{api-key-management-sales-channels-4OU5VGIG.mjs → api-key-management-sales-channels-3GRNDBZ4.mjs} +4 -3
  7. package/dist/app.css +3 -0
  8. package/dist/app.js +1085 -835
  9. package/dist/app.mjs +12 -11
  10. package/dist/{campaign-detail-BDI3P2SF.mjs → campaign-detail-22Q6XWGL.mjs} +11 -10
  11. package/dist/{categories-metadata-BARTITD5.mjs → categories-metadata-J7M3XWI7.mjs} +11 -10
  12. package/dist/{category-create-L2KJCHPO.mjs → category-create-KHJZSC7G.mjs} +3 -2
  13. package/dist/{category-detail-CUMEBNXU.mjs → category-detail-RRKJPMEG.mjs} +13 -12
  14. package/dist/{category-edit-U6SLZSAX.mjs → category-edit-CTA2EPDG.mjs} +3 -2
  15. package/dist/{category-list-W7JW4PWA.mjs → category-list-4HZP4FRE.mjs} +4 -3
  16. package/dist/{category-organize-LLSVAO3U.mjs → category-organize-SXP33XET.mjs} +3 -2
  17. package/dist/{category-products-GYXTDDBQ.mjs → category-products-EFZRTCSF.mjs} +12 -11
  18. package/dist/{chunk-XIVBRONM.mjs → chunk-23GTCEOV.mjs} +1 -1
  19. package/dist/{chunk-N3FCYZV6.mjs → chunk-2XTBDCGE.mjs} +1 -1
  20. package/dist/{chunk-DS5IRNJY.mjs → chunk-32FPYJ3S.mjs} +1 -1
  21. package/dist/{chunk-FPBKWWSI.mjs → chunk-43X7ZR3P.mjs} +1 -1
  22. package/dist/{chunk-RU4ZS47V.mjs → chunk-4JQR6QNW.mjs} +2 -2
  23. package/dist/{chunk-Z6NHG5LQ.mjs → chunk-6P4Q4AAP.mjs} +3 -3
  24. package/dist/{chunk-F5NZDW7L.mjs → chunk-A2WBKOXJ.mjs} +2 -2
  25. package/dist/{chunk-F63F3FIT.mjs → chunk-A4XYK3MY.mjs} +2 -2
  26. package/dist/{chunk-NT6C7CHT.mjs → chunk-AWRCV3ME.mjs} +1 -1
  27. package/dist/{chunk-5X6SKB2P.mjs → chunk-BMS2QLJY.mjs} +1 -1
  28. package/dist/{chunk-67KHYLIQ.mjs → chunk-DK7IWUMK.mjs} +3 -3
  29. package/dist/{chunk-FEB3ZGTL.mjs → chunk-DNUVCBN7.mjs} +159 -5
  30. package/dist/{chunk-N4O5FAUC.mjs → chunk-FYWHE3W5.mjs} +1 -1
  31. package/dist/{chunk-HKKZJTRO.mjs → chunk-GRZSG4EP.mjs} +89 -34
  32. package/dist/chunk-HGRIOEAR.mjs +32 -0
  33. package/dist/{chunk-Y5UO73CH.mjs → chunk-HTCYX4VD.mjs} +1 -1
  34. package/dist/{chunk-34KFHPN6.mjs → chunk-IAV7IKJ6.mjs} +1 -1
  35. package/dist/{chunk-3BJLNORD.mjs → chunk-KQ4LC2YV.mjs} +1 -1
  36. package/dist/{chunk-GC3QXC6D.mjs → chunk-OHY2N2Q4.mjs} +4 -4
  37. package/dist/{chunk-7AX6R6G6.mjs → chunk-OSHH5GAS.mjs} +13 -1
  38. package/dist/{chunk-PXZEQZ6Q.mjs → chunk-PHLCT2HA.mjs} +1 -1
  39. package/dist/{chunk-35LSPN2U.mjs → chunk-QKALAT7P.mjs} +1 -1
  40. package/dist/{chunk-BBTE6VKD.mjs → chunk-RL5EYTP6.mjs} +1 -1
  41. package/dist/{chunk-B3AOQW2B.mjs → chunk-U6G4M5LP.mjs} +1 -1
  42. package/dist/{chunk-HKIF5HVL.mjs → chunk-UJ2TMPV4.mjs} +12 -0
  43. package/dist/{chunk-NHDFPGQ3.mjs → chunk-UWY5ZV66.mjs} +13 -1
  44. package/dist/{chunk-AH4DORIW.mjs → chunk-XY7A7GZJ.mjs} +1 -1
  45. package/dist/{chunk-FQDPOKEK.mjs → chunk-Y2YVTIJI.mjs} +1 -1
  46. package/dist/{chunk-Q4AXBDFH.mjs → chunk-YTYDWNYA.mjs} +155 -153
  47. package/dist/{chunk-2HDKZN4Q.mjs → chunk-YYOPBKME.mjs} +3 -3
  48. package/dist/{chunk-LEJUZW3P.mjs → chunk-Z6BFNHEO.mjs} +12 -0
  49. package/dist/{chunk-AIZ6W4QI.mjs → chunk-ZMG5B4FG.mjs} +1 -1
  50. package/dist/{collection-add-products-4WBPS6PY.mjs → collection-add-products-XUMV6XR7.mjs} +12 -11
  51. package/dist/{collection-create-4JX4YE47.mjs → collection-create-GWKWVT7B.mjs} +3 -2
  52. package/dist/{collection-detail-HT4SSV32.mjs → collection-detail-ONRBKJLN.mjs} +12 -11
  53. package/dist/{collection-edit-MXL35GQQ.mjs → collection-edit-EZIO2BR5.mjs} +3 -2
  54. package/dist/{collection-list-FYONEBDN.mjs → collection-list-XCC4SIPJ.mjs} +13 -12
  55. package/dist/{collection-metadata-YEZ2TBRX.mjs → collection-metadata-QK7MI3D2.mjs} +11 -10
  56. package/dist/{customer-detail-MB7CS7OG.mjs → customer-detail-FR6J37ZC.mjs} +12 -11
  57. package/dist/{customer-group-detail-U5UAP7QS.mjs → customer-group-detail-YSKSNETG.mjs} +11 -10
  58. package/dist/{customer-group-list-KAS6JSCQ.mjs → customer-group-list-XBCD4FZH.mjs} +11 -10
  59. package/dist/{customers-add-customer-group-UKLSPYEU.mjs → customers-add-customer-group-Q7FMR2Y5.mjs} +11 -10
  60. package/dist/{edit-inventory-item-RATTNP2Y.mjs → edit-inventory-item-H7DAZWIT.mjs} +2 -1
  61. package/dist/{edit-inventory-item-attributes-JHH5GSNL.mjs → edit-inventory-item-attributes-7HTXXPGZ.mjs} +2 -1
  62. package/dist/{edit-reservation-UZCSNLHY.mjs → edit-reservation-OVTRZHJR.mjs} +3 -2
  63. package/dist/{edit-rules-VMEHCXYQ.mjs → edit-rules-SMVRTCUP.mjs} +11 -10
  64. package/dist/en.json +1 -0
  65. package/dist/{inventory-create-KN72V2KK.mjs → inventory-create-3XONKYMZ.mjs} +12 -11
  66. package/dist/{inventory-detail-7OHCFAJO.mjs → inventory-detail-6A6GOLB6.mjs} +11 -10
  67. package/dist/{inventory-list-BQPHK3FV.mjs → inventory-list-2CJLAK3X.mjs} +2 -1
  68. package/dist/{inventory-metadata-I3IRRMLH.mjs → inventory-metadata-FNEJ3RAT.mjs} +11 -10
  69. package/dist/{inventory-stock-5IUICNEH.mjs → inventory-stock-S3ZYYCMZ.mjs} +13 -12
  70. package/dist/{location-detail-3MSUGB4W.mjs → location-detail-N3GUZSY7.mjs} +11 -10
  71. package/dist/{location-fulfillment-providers-ZVZMLCIC.mjs → location-fulfillment-providers-WM6DT252.mjs} +13 -12
  72. package/dist/{location-sales-channels-NKNM5TQK.mjs → location-sales-channels-WLVTMU4Z.mjs} +3 -2
  73. package/dist/{location-service-zone-shipping-option-create-CZWEHKVJ.mjs → location-service-zone-shipping-option-create-MJPH3WKX.mjs} +13 -12
  74. package/dist/{location-service-zone-shipping-option-pricing-Z5IFOLFJ.mjs → location-service-zone-shipping-option-pricing-6IRNPWJY.mjs} +2 -2
  75. package/dist/{login-OCYZM7SI.mjs → login-VNOLI5YG.mjs} +11 -10
  76. package/dist/{manage-locations-MLNMPQ5I.mjs → manage-locations-7HH6R4UP.mjs} +2 -1
  77. package/dist/{order-allocate-items-VRPPVPP3.mjs → order-allocate-items-HZGGYJ42.mjs} +4 -3
  78. package/dist/{order-create-claim-O3ZYTAIC.mjs → order-create-claim-GUYTLVPB.mjs} +13 -12
  79. package/dist/{order-create-edit-HUS7IRS3.mjs → order-create-edit-ODIN6GRW.mjs} +12 -11
  80. package/dist/{order-create-exchange-TUP4NHHX.mjs → order-create-exchange-ZT5RBRKL.mjs} +13 -12
  81. package/dist/{order-create-fulfillment-4BGDYHBB.mjs → order-create-fulfillment-OWUVTZXW.mjs} +11 -10
  82. package/dist/{order-create-refund-FA5ERI7M.mjs → order-create-refund-Q6HQY42R.mjs} +11 -10
  83. package/dist/{order-create-return-7GPHJ2WU.mjs → order-create-return-E2KILJX2.mjs} +5 -4
  84. package/dist/{order-create-shipment-27UBYPKT.mjs → order-create-shipment-WAGGEPRW.mjs} +11 -10
  85. package/dist/{order-detail-2J7KDTKG.mjs → order-detail-HFJONELJ.mjs} +15 -14
  86. package/dist/{order-edit-billing-address-E7CD5FBQ.mjs → order-edit-billing-address-UM76J4KX.mjs} +11 -10
  87. package/dist/{order-edit-email-ELRIQYVN.mjs → order-edit-email-CL3KNOCM.mjs} +11 -10
  88. package/dist/{order-edit-shipping-address-HVNAJUZI.mjs → order-edit-shipping-address-PIESTGVL.mjs} +11 -10
  89. package/dist/{order-export-TRMFVBFO.mjs → order-export-4MZUPMGD.mjs} +12 -11
  90. package/dist/{order-list-Y4FET3XV.mjs → order-list-ACSFGIPD.mjs} +6 -5
  91. package/dist/{order-metadata-THARHEJC.mjs → order-metadata-FHBB7MTG.mjs} +11 -10
  92. package/dist/{order-receive-return-X5ASB7DL.mjs → order-receive-return-PRVKP6J2.mjs} +12 -11
  93. package/dist/{order-request-transfer-PKF4ULJY.mjs → order-request-transfer-XSAGRUMT.mjs} +11 -10
  94. package/dist/{price-list-configuration-SZRY7CXO.mjs → price-list-configuration-IHPSUNZJ.mjs} +3 -2
  95. package/dist/{price-list-create-TYNSJDDM.mjs → price-list-create-YHXRQSC3.mjs} +14 -13
  96. package/dist/{price-list-detail-ORYFRNB6.mjs → price-list-detail-FR3FQR3H.mjs} +13 -12
  97. package/dist/{price-list-edit-I5QNCWJP.mjs → price-list-edit-53UW35L3.mjs} +3 -2
  98. package/dist/{price-list-list-AZOGEZAS.mjs → price-list-list-YSEM6IAI.mjs} +4 -3
  99. package/dist/{price-list-prices-add-MWAUNUBF.mjs → price-list-prices-add-GJVI47OY.mjs} +14 -13
  100. package/dist/{price-list-prices-edit-Z4YJ4YBY.mjs → price-list-prices-edit-E4Q5TQPM.mjs} +5 -4
  101. package/dist/{product-attributes-5QW6ZEYB.mjs → product-attributes-TKCE2M63.mjs} +12 -11
  102. package/dist/{product-create-YQ76CEF3.mjs → product-create-OLDZPMLW.mjs} +14 -13
  103. package/dist/{product-create-option-UMZKRNTC.mjs → product-create-option-7AOXAA4S.mjs} +2 -1
  104. package/dist/{product-create-variant-IASRY2JX.mjs → product-create-variant-KEBN5OR7.mjs} +12 -11
  105. package/dist/{product-detail-NVLJQGGK.mjs → product-detail-O6QWJIKR.mjs} +12 -11
  106. package/dist/{product-edit-DP42G3EU.mjs → product-edit-56XDGDUN.mjs} +12 -11
  107. package/dist/{product-edit-option-ZMTSLRG5.mjs → product-edit-option-LWJT3CYJ.mjs} +2 -1
  108. package/dist/{product-export-OK5FCD42.mjs → product-export-WUZYHPS5.mjs} +13 -12
  109. package/dist/{product-image-variants-edit-VEWNL52X.mjs → product-image-variants-edit-Y363J5NG.mjs} +11 -10
  110. package/dist/{product-import-LX625CIX.mjs → product-import-V3KQN4TV.mjs} +11 -10
  111. package/dist/{product-list-TXEPE6NL.mjs → product-list-DNTS7WUN.mjs} +12 -11
  112. package/dist/{product-media-ULNJ7JJY.mjs → product-media-3VJ7KENL.mjs} +2 -1
  113. package/dist/{product-metadata-ZKKBE6GG.mjs → product-metadata-GL2MVPDI.mjs} +11 -10
  114. package/dist/{product-organization-NMA2WJNT.mjs → product-organization-PNKWRNHC.mjs} +13 -12
  115. package/dist/{product-prices-5WCCQDS6.mjs → product-prices-JOG6IIQ7.mjs} +3 -2
  116. package/dist/{product-sales-channels-2PN4L7II.mjs → product-sales-channels-ANCFZZ5S.mjs} +3 -2
  117. package/dist/{product-shipping-profile-45XXB7FM.mjs → product-shipping-profile-ETQFZ7DC.mjs} +2 -1
  118. package/dist/{product-stock-KUHH6MFA.mjs → product-stock-NYUFMEVG.mjs} +13 -12
  119. package/dist/{product-tag-create-7EVRE5BL.mjs → product-tag-create-PQMDDKWH.mjs} +11 -10
  120. package/dist/{product-tag-detail-WULO55NT.mjs → product-tag-detail-EHBB3WUB.mjs} +14 -13
  121. package/dist/{product-tag-edit-J4ODRLXN.mjs → product-tag-edit-K3BBQLJR.mjs} +11 -10
  122. package/dist/{product-tag-list-V4CCQTL6.mjs → product-tag-list-LSW5FFVN.mjs} +14 -13
  123. package/dist/{product-tag-metadata-KHDYQMSG.mjs → product-tag-metadata-MJH5LH7E.mjs} +11 -10
  124. package/dist/{product-type-create-KHSNCQCV.mjs → product-type-create-DRFXTL5O.mjs} +2 -1
  125. package/dist/{product-type-detail-F35MUSLD.mjs → product-type-detail-3VB6AWUW.mjs} +13 -12
  126. package/dist/{product-type-edit-3LRBWZ3S.mjs → product-type-edit-SRHCZDK7.mjs} +2 -1
  127. package/dist/{product-type-list-K2GULUPF.mjs → product-type-list-FD3TGPNP.mjs} +3 -2
  128. package/dist/{product-type-metadata-CGXFFEJO.mjs → product-type-metadata-CDJDFFGQ.mjs} +11 -10
  129. package/dist/{product-variant-detail-NT2MB3Z4.mjs → product-variant-detail-43T33AQP.mjs} +11 -10
  130. package/dist/{product-variant-edit-KZ6D5CSA.mjs → product-variant-edit-DEZEY2H2.mjs} +11 -10
  131. package/dist/{product-variant-manage-inventory-items-OGM64KYP.mjs → product-variant-manage-inventory-items-Y2VEOHP7.mjs} +2 -1
  132. package/dist/{product-variant-media-C3KCFODU.mjs → product-variant-media-2WLVNGI4.mjs} +2 -1
  133. package/dist/{product-variant-metadata-I2PN64TH.mjs → product-variant-metadata-VTZDNWUT.mjs} +11 -10
  134. package/dist/{promotion-create-4KVSXYAI.mjs → promotion-create-HWFNUQXG.mjs} +11 -10
  135. package/dist/{promotion-detail-NGNVELME.mjs → promotion-detail-VJB55PJK.mjs} +11 -10
  136. package/dist/{refund-reason-create-CTAPBK3X.mjs → refund-reason-create-YHCDEHGQ.mjs} +11 -10
  137. package/dist/{refund-reason-edit-B6HRNXGE.mjs → refund-reason-edit-CZ5QZ2SZ.mjs} +11 -10
  138. package/dist/{refund-reason-list-7OUHUORB.mjs → refund-reason-list-URYYYEK6.mjs} +11 -10
  139. package/dist/{region-metadata-GRG3QSJY.mjs → region-metadata-H6XXUQ4S.mjs} +11 -10
  140. package/dist/{reservation-create-C6HTEF3R.mjs → reservation-create-ZCIYM6JI.mjs} +3 -2
  141. package/dist/{reservation-detail-KAI7N5UP.mjs → reservation-detail-LZAQL4XA.mjs} +11 -10
  142. package/dist/{reservation-list-SOJRN5RI.mjs → reservation-list-2DN3YHIJ.mjs} +3 -2
  143. package/dist/{reservation-metadata-TWV7KLOB.mjs → reservation-metadata-5HZSDDOK.mjs} +11 -10
  144. package/dist/{sales-channel-add-products-CBECZU46.mjs → sales-channel-add-products-VH5T3GDA.mjs} +12 -11
  145. package/dist/{sales-channel-create-4XLJDVJO.mjs → sales-channel-create-MI7HHZYE.mjs} +3 -2
  146. package/dist/{sales-channel-detail-NQSBPPIE.mjs → sales-channel-detail-I2ZHVXMG.mjs} +12 -11
  147. package/dist/{sales-channel-edit-UZGSXD5X.mjs → sales-channel-edit-VSHOIR37.mjs} +3 -2
  148. package/dist/{sales-channel-list-UYN2OCBR.mjs → sales-channel-list-3FV4S2NN.mjs} +11 -10
  149. package/dist/{sales-channel-metadata-4XWXYN2E.mjs → sales-channel-metadata-M364R4RJ.mjs} +11 -10
  150. package/dist/{shipping-option-type-create-U7PIKVMV.mjs → shipping-option-type-create-C5WUWON7.mjs} +11 -10
  151. package/dist/{shipping-option-type-detail-QNZLQGI6.mjs → shipping-option-type-detail-PENS2K73.mjs} +12 -11
  152. package/dist/{shipping-option-type-edit-BP6HLZ7B.mjs → shipping-option-type-edit-CIU5EHRP.mjs} +11 -10
  153. package/dist/{shipping-option-type-list-L274RM6A.mjs → shipping-option-type-list-ZMZMXFME.mjs} +12 -11
  154. package/dist/{shipping-profile-metadata-BZKPLXHO.mjs → shipping-profile-metadata-75G2NNMA.mjs} +11 -10
  155. package/dist/{store-add-locales-EXR3NLOM.mjs → store-add-locales-IZOZP5C6.mjs} +12 -18
  156. package/dist/{store-detail-T4YY5NHG.mjs → store-detail-4IBAEVSD.mjs} +16 -28
  157. package/dist/{store-edit-AB5CDUTK.mjs → store-edit-5ZS562ZO.mjs} +1 -42
  158. package/dist/{store-metadata-FN3WZLXA.mjs → store-metadata-CYXTVJUE.mjs} +11 -10
  159. package/dist/{tax-region-create-PWXTFE3Q.mjs → tax-region-create-DWGL4EUT.mjs} +11 -10
  160. package/dist/{tax-region-detail-GJW63AMV.mjs → tax-region-detail-O2T7BI3V.mjs} +16 -15
  161. package/dist/{tax-region-edit-WOUO7TPQ.mjs → tax-region-edit-EEVEEU2Q.mjs} +11 -10
  162. package/dist/{tax-region-province-detail-FCHPIRXW.mjs → tax-region-province-detail-2W7RXAM5.mjs} +16 -15
  163. package/dist/{tax-region-tax-override-create-ZLWXRNLN.mjs → tax-region-tax-override-create-7IM4ZVPH.mjs} +14 -13
  164. package/dist/{tax-region-tax-override-edit-ZM2JUFNJ.mjs → tax-region-tax-override-edit-3ZT5IZYR.mjs} +15 -14
  165. package/dist/{translation-list-Y2GWTRGW.mjs → translation-list-AFK5MGSH.mjs} +68 -79
  166. package/dist/{translations-edit-PM4PSMRF.mjs → translations-edit-EN47PWTO.mjs} +146 -81
  167. package/dist/{user-detail-KEDJ7N3Q.mjs → user-detail-BJUXLZZQ.mjs} +2 -1
  168. package/dist/{user-metadata-LNADHFTW.mjs → user-metadata-2WPJOEJA.mjs} +11 -10
  169. package/dist/{workflow-execution-detail-POTSURJX.mjs → workflow-execution-detail-H2AKEZJX.mjs} +11 -10
  170. package/package.json +9 -9
  171. package/src/components/data-grid/components/data-grid-root.tsx +184 -5
  172. package/src/components/data-grid/data-grid.tsx +12 -1
  173. package/src/components/data-grid/helpers/create-data-grid-column-helper.ts +18 -0
  174. package/src/components/data-grid/hooks/use-data-grid-cell.tsx +1 -1
  175. package/src/hooks/api/categories.tsx +32 -0
  176. package/src/hooks/api/collections.tsx +31 -0
  177. package/src/hooks/api/product-types.tsx +32 -0
  178. package/src/hooks/api/product-variants.tsx +40 -2
  179. package/src/hooks/api/products.tsx +29 -0
  180. package/src/hooks/api/tags.tsx +32 -0
  181. package/src/hooks/api/translations.tsx +114 -62
  182. package/src/hooks/use-infinite-list.tsx +92 -0
  183. package/src/i18n/translations/$schema.json +4 -0
  184. package/src/i18n/translations/en.json +1 -0
  185. package/src/i18n/translations/es.json +1 -0
  186. package/src/routes/store/store-add-locales/components/add-locales-form/add-locales-form.tsx +0 -9
  187. package/src/routes/store/store-detail/components/store-general-section/store-general-section.tsx +0 -24
  188. package/src/routes/store/store-detail/components/store-locale-section/store-locale-section.tsx +1 -9
  189. package/src/routes/store/store-edit/components/edit-store-form/edit-store-form.tsx +1 -45
  190. package/src/routes/translations/translation-list/components/active-locales-section/active-locales-section.tsx +2 -2
  191. package/src/routes/translations/translation-list/components/translation-list-section/translation-list-section.tsx +1 -8
  192. package/src/routes/translations/translation-list/components/translations-completion-section/translations-completion-section.tsx +10 -4
  193. package/src/routes/translations/translation-list/translation-list.tsx +66 -68
  194. package/src/routes/translations/translations-edit/components/translations-edit-form/translations-edit-form.tsx +131 -65
  195. package/src/routes/translations/translations-edit/translations-edit.tsx +36 -12
  196. package/src/routes/translations/translations-edit/utils/index.ts +0 -1
  197. package/src/routes/translations/translations-edit/utils/reference-label-map.ts +0 -10
@@ -265,7 +265,7 @@ var useDataGridCell = ({
265
265
  }, [type]);
266
266
  useEffect(() => {
267
267
  if (isAnchor && !containerRef.current?.contains(document.activeElement)) {
268
- containerRef.current?.focus();
268
+ containerRef.current?.focus({ preventScroll: true });
269
269
  }
270
270
  }, [isAnchor]);
271
271
  const renderProps = {
@@ -2637,8 +2637,13 @@ var DataGridRoot = ({
2637
2637
  getSubRows,
2638
2638
  onEditingChange,
2639
2639
  disableInteractions,
2640
- multiColumnSelection = false
2640
+ multiColumnSelection = false,
2641
+ totalRowCount,
2642
+ onFetchMore,
2643
+ isFetchingMore,
2644
+ hasNextPage
2641
2645
  }) => {
2646
+ const isLazyMode = totalRowCount !== void 0;
2642
2647
  const containerRef = useRef3(null);
2643
2648
  const { redo, undo, execute } = useCommandHistory();
2644
2649
  const {
@@ -2684,8 +2689,9 @@ var DataGridRoot = ({
2684
2689
  [flatRows, rowVisibility]
2685
2690
  );
2686
2691
  const visibleColumns = grid.getVisibleLeafColumns();
2692
+ const effectiveRowCount = isLazyMode ? totalRowCount : visibleRows.length;
2687
2693
  const rowVirtualizer = useVirtualizer({
2688
- count: visibleRows.length,
2694
+ count: effectiveRowCount,
2689
2695
  estimateSize: () => ROW_HEIGHT,
2690
2696
  getScrollElement: () => containerRef.current,
2691
2697
  overscan: 5,
@@ -2706,6 +2712,56 @@ var DataGridRoot = ({
2706
2712
  }
2707
2713
  });
2708
2714
  const virtualRows = rowVirtualizer.getVirtualItems();
2715
+ const lazyLoadingRefs = useRef3({
2716
+ onFetchMore,
2717
+ hasNextPage,
2718
+ isFetchingMore,
2719
+ loadedRowCount: visibleRows.length
2720
+ });
2721
+ useEffect5(() => {
2722
+ lazyLoadingRefs.current = {
2723
+ onFetchMore,
2724
+ hasNextPage,
2725
+ isFetchingMore,
2726
+ loadedRowCount: visibleRows.length
2727
+ };
2728
+ }, [onFetchMore, hasNextPage, isFetchingMore, visibleRows.length]);
2729
+ const hasData = visibleRows.length > 0;
2730
+ const handleScroll = useCallback14(() => {
2731
+ const { onFetchMore: onFetchMore2, hasNextPage: hasNextPage2, isFetchingMore: isFetchingMore2, loadedRowCount } = lazyLoadingRefs.current;
2732
+ if (!onFetchMore2 || !hasNextPage2 || isFetchingMore2) {
2733
+ return;
2734
+ }
2735
+ const scrollElement = containerRef.current;
2736
+ const { scrollTop, clientHeight } = scrollElement;
2737
+ const loadedHeight = loadedRowCount * ROW_HEIGHT;
2738
+ const viewportBottom = scrollTop + clientHeight;
2739
+ const fetchThreshold = loadedHeight - ROW_HEIGHT * 10;
2740
+ if (viewportBottom >= fetchThreshold) {
2741
+ onFetchMore2();
2742
+ }
2743
+ }, [lazyLoadingRefs, containerRef]);
2744
+ useEffect5(() => {
2745
+ if (!isLazyMode || !hasData) {
2746
+ return;
2747
+ }
2748
+ const container = containerRef.current;
2749
+ if (!container) {
2750
+ return;
2751
+ }
2752
+ const timeoutId = setTimeout(() => {
2753
+ const scrollElement = containerRef.current;
2754
+ if (!scrollElement) {
2755
+ return;
2756
+ }
2757
+ scrollElement.addEventListener("scroll", handleScroll);
2758
+ }, 100);
2759
+ return () => {
2760
+ clearTimeout(timeoutId);
2761
+ const scrollElement = containerRef.current;
2762
+ scrollElement?.removeEventListener("scroll", handleScroll);
2763
+ };
2764
+ }, [isLazyMode, hasData]);
2709
2765
  const columnVirtualizer = useVirtualizer({
2710
2766
  count: visibleColumns.length,
2711
2767
  estimateSize: (index) => visibleColumns[index].getSize(),
@@ -3097,6 +3153,18 @@ var DataGridRoot = ({
3097
3153
  },
3098
3154
  children: virtualRows.map((virtualRow) => {
3099
3155
  const row = visibleRows[virtualRow.index];
3156
+ if (!row) {
3157
+ return /* @__PURE__ */ jsx9(
3158
+ DataGridRowSkeleton,
3159
+ {
3160
+ virtualRow,
3161
+ virtualColumns,
3162
+ virtualPaddingLeft,
3163
+ virtualPaddingRight
3164
+ },
3165
+ `skeleton-${virtualRow.index}`
3166
+ );
3167
+ }
3100
3168
  const rowIndex = flatRows.findIndex((r) => r.id === row.id);
3101
3169
  return /* @__PURE__ */ jsx9(
3102
3170
  DataGridRow,
@@ -3354,6 +3422,72 @@ var DataGridRow = ({
3354
3422
  }
3355
3423
  );
3356
3424
  };
3425
+ var DataGridRowSkeleton = ({
3426
+ virtualRow,
3427
+ virtualPaddingLeft,
3428
+ virtualPaddingRight,
3429
+ virtualColumns
3430
+ }) => {
3431
+ return /* @__PURE__ */ jsxs7(
3432
+ "div",
3433
+ {
3434
+ role: "row",
3435
+ "aria-rowindex": virtualRow.index,
3436
+ style: {
3437
+ transform: `translateY(${virtualRow.start}px)`
3438
+ },
3439
+ className: "bg-ui-bg-subtle txt-compact-small absolute flex h-10 w-full",
3440
+ children: [
3441
+ virtualPaddingLeft ? /* @__PURE__ */ jsx9(
3442
+ "div",
3443
+ {
3444
+ role: "presentation",
3445
+ style: { display: "flex", width: virtualPaddingLeft }
3446
+ }
3447
+ ) : null,
3448
+ virtualColumns.map((vc, index, array) => {
3449
+ const previousVC = array[index - 1];
3450
+ const elements = [];
3451
+ if (previousVC && vc.index !== previousVC.index + 1) {
3452
+ elements.push(
3453
+ /* @__PURE__ */ jsx9(
3454
+ "div",
3455
+ {
3456
+ role: "presentation",
3457
+ style: {
3458
+ display: "flex",
3459
+ width: `${vc.start - previousVC.end}px`
3460
+ }
3461
+ },
3462
+ `padding-${previousVC.index}-${vc.index}`
3463
+ )
3464
+ );
3465
+ }
3466
+ elements.push(
3467
+ /* @__PURE__ */ jsx9(
3468
+ "div",
3469
+ {
3470
+ role: "gridcell",
3471
+ style: { width: vc.size },
3472
+ className: "relative flex items-center border-b border-r p-0 outline-none",
3473
+ children: /* @__PURE__ */ jsx9("div", { className: "flex h-full w-full items-center px-4", children: /* @__PURE__ */ jsx9("div", { className: "bg-ui-bg-component h-4 w-3/4 animate-pulse rounded" }) })
3474
+ },
3475
+ `skeleton-cell-${vc.index}`
3476
+ )
3477
+ );
3478
+ return elements;
3479
+ }),
3480
+ virtualPaddingRight ? /* @__PURE__ */ jsx9(
3481
+ "div",
3482
+ {
3483
+ role: "presentation",
3484
+ style: { display: "flex", width: virtualPaddingRight }
3485
+ }
3486
+ ) : null
3487
+ ]
3488
+ }
3489
+ );
3490
+ };
3357
3491
 
3358
3492
  // src/components/data-grid/components/data-grid-text-cell.tsx
3359
3493
  import { clx as clx6 } from "@medusajs/ui";
@@ -3613,6 +3747,11 @@ var Inner5 = ({
3613
3747
  import { jsx as jsx12 } from "react/jsx-runtime";
3614
3748
  var _DataGrid = ({
3615
3749
  isLoading,
3750
+ // Lazy loading props - passed through to DataGridRoot
3751
+ totalRowCount,
3752
+ onFetchMore,
3753
+ isFetchingMore,
3754
+ hasNextPage,
3616
3755
  ...props
3617
3756
  }) => {
3618
3757
  return isLoading ? /* @__PURE__ */ jsx12(
@@ -3621,7 +3760,16 @@ var _DataGrid = ({
3621
3760
  columns: props.columns,
3622
3761
  rows: props.data?.length && props.data.length > 0 ? props.data.length : 10
3623
3762
  }
3624
- ) : /* @__PURE__ */ jsx12(DataGridRoot, { ...props });
3763
+ ) : /* @__PURE__ */ jsx12(
3764
+ DataGridRoot,
3765
+ {
3766
+ ...props,
3767
+ totalRowCount,
3768
+ onFetchMore,
3769
+ isFetchingMore,
3770
+ hasNextPage
3771
+ }
3772
+ );
3625
3773
  };
3626
3774
  var DataGrid = Object.assign(_DataGrid, {
3627
3775
  BooleanCell: DataGridBooleanCell,
@@ -3646,12 +3794,18 @@ function createDataGridHelper() {
3646
3794
  cell,
3647
3795
  disableHiding = false,
3648
3796
  field,
3649
- type
3797
+ type,
3798
+ size,
3799
+ minSize,
3800
+ maxSize
3650
3801
  }) => columnHelper.display({
3651
3802
  id,
3652
3803
  header,
3653
3804
  cell,
3654
3805
  enableHiding: !disableHiding,
3806
+ size,
3807
+ minSize,
3808
+ maxSize,
3655
3809
  meta: {
3656
3810
  name,
3657
3811
  field,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  inventoryItemLevelsQueryKeys,
3
3
  inventoryItemsQueryKeys
4
- } from "./chunk-LEJUZW3P.mjs";
4
+ } from "./chunk-Z6BFNHEO.mjs";
5
5
  import {
6
6
  queryClient
7
7
  } from "./chunk-FXYH54JP.mjs";
@@ -1,22 +1,25 @@
1
1
  import {
2
2
  productTypesQueryKeys,
3
- useProductTypes
4
- } from "./chunk-HKIF5HVL.mjs";
3
+ useInfiniteProductTypes
4
+ } from "./chunk-UJ2TMPV4.mjs";
5
5
  import {
6
6
  collectionsQueryKeys,
7
- useCollections
8
- } from "./chunk-NHDFPGQ3.mjs";
7
+ useInfiniteCollections
8
+ } from "./chunk-UWY5ZV66.mjs";
9
9
  import {
10
10
  ordersQueryKeys
11
- } from "./chunk-RU4ZS47V.mjs";
11
+ } from "./chunk-4JQR6QNW.mjs";
12
12
  import {
13
13
  categoriesQueryKeys,
14
- useProductCategories
15
- } from "./chunk-7AX6R6G6.mjs";
14
+ useInfiniteCategories
15
+ } from "./chunk-OSHH5GAS.mjs";
16
16
  import {
17
17
  productsQueryKeys,
18
- useProducts
19
- } from "./chunk-LEJUZW3P.mjs";
18
+ useInfiniteProducts
19
+ } from "./chunk-Z6BFNHEO.mjs";
20
+ import {
21
+ useInfiniteList
22
+ } from "./chunk-HGRIOEAR.mjs";
20
23
  import {
21
24
  queryClient
22
25
  } from "./chunk-FXYH54JP.mjs";
@@ -41,7 +44,9 @@ var usePlugins = (options) => {
41
44
  };
42
45
 
43
46
  // src/hooks/api/product-variants.tsx
44
- import { useQuery as useQuery2 } from "@tanstack/react-query";
47
+ import {
48
+ useQuery as useQuery2
49
+ } from "@tanstack/react-query";
45
50
  var PRODUCT_VARIANT_QUERY_KEY = "product_variant";
46
51
  var productVariantQueryKeys = queryKeysFactory(
47
52
  PRODUCT_VARIANT_QUERY_KEY
@@ -54,6 +59,16 @@ var useVariants = (query, options) => {
54
59
  });
55
60
  return { ...data, ...rest };
56
61
  };
62
+ var useInfiniteVariants = (query, options) => {
63
+ return useInfiniteList({
64
+ queryKey: (params) => productVariantQueryKeys.list(params),
65
+ queryFn: async (params) => {
66
+ return await sdk.admin.productVariant.list(params);
67
+ },
68
+ query,
69
+ options
70
+ });
71
+ };
57
72
 
58
73
  // src/hooks/api/refund-reasons.tsx
59
74
  import {
@@ -212,6 +227,14 @@ var useProductTags = (query, options) => {
212
227
  });
213
228
  return { ...data, ...rest };
214
229
  };
230
+ var useInfiniteProductTags = (query, options) => {
231
+ return useInfiniteList({
232
+ queryKey: (params) => productTagsQueryKeys.list(params),
233
+ queryFn: (params) => sdk.admin.productTag.list(params),
234
+ query,
235
+ options
236
+ });
237
+ };
215
238
  var useCreateProductTag = (query, options) => {
216
239
  return useMutation3({
217
240
  mutationFn: async (data) => sdk.admin.productTag.create(data, query),
@@ -262,23 +285,31 @@ import {
262
285
  } from "@tanstack/react-query";
263
286
  var TRANSLATIONS_QUERY_KEY = "translations";
264
287
  var translationsQueryKeys = queryKeysFactory(TRANSLATIONS_QUERY_KEY);
265
- var useReferenceTranslations = (reference, referenceId, options) => {
288
+ var TRANSLATION_SETTINGS_QUERY_KEY = "translation_settings";
289
+ var translationSettingsQueryKeys = queryKeysFactory(
290
+ TRANSLATION_SETTINGS_QUERY_KEY
291
+ );
292
+ var TRANSLATION_STATISTICS_QUERY_KEY = "translation_statistics";
293
+ var translationStatisticsQueryKeys = queryKeysFactory(
294
+ TRANSLATION_STATISTICS_QUERY_KEY
295
+ );
296
+ var useReferenceTranslations = (reference, translatableFields, referenceId, options) => {
266
297
  const referenceHookMap = /* @__PURE__ */ new Map([
267
298
  [
268
299
  "product",
269
300
  () => {
270
- const translatableFields = ["title", "description"];
271
301
  const fields = translatableFields.concat(["translations.*"]).join(",");
272
- const { products, ...rest2 } = useProducts(
273
- { id: referenceId ?? [], fields },
302
+ const { data: data2, ...rest2 } = useInfiniteProducts(
303
+ { fields, id: referenceId ?? [] },
274
304
  options
275
305
  );
306
+ const products = data2?.pages.flatMap((page) => page.products) ?? [];
276
307
  return {
277
308
  ...rest2,
278
309
  data: {
279
310
  translations: products?.flatMap((product) => product.translations ?? []) ?? [],
280
311
  references: products ?? [],
281
- translatableFields
312
+ count: data2?.pages[0]?.count ?? 0
282
313
  }
283
314
  };
284
315
  }
@@ -286,18 +317,19 @@ var useReferenceTranslations = (reference, referenceId, options) => {
286
317
  [
287
318
  "product_variant",
288
319
  () => {
289
- const translatableFields = ["title"];
290
320
  const fields = translatableFields.concat(["translations.*"]).join(",");
291
- const { variants, ...rest2 } = useVariants(
321
+ const { data: data2, ...rest2 } = useInfiniteVariants(
292
322
  { id: referenceId ?? [], fields },
293
323
  options
294
324
  );
325
+ const variants = data2?.pages.flatMap((page) => page.variants) ?? [];
295
326
  return {
296
327
  ...rest2,
297
328
  data: {
298
329
  translations: variants?.flatMap((variant) => variant.translations ?? []) ?? [],
299
330
  references: variants ?? [],
300
- translatableFields
331
+ translatableFields,
332
+ count: data2?.pages[0]?.count ?? 0
301
333
  }
302
334
  };
303
335
  }
@@ -305,20 +337,19 @@ var useReferenceTranslations = (reference, referenceId, options) => {
305
337
  [
306
338
  "product_category",
307
339
  () => {
308
- const translatableFields = ["name", "description"];
309
340
  const fields = translatableFields.concat(["translations.*"]).join(",");
310
- const { product_categories, ...rest2 } = useProductCategories(
341
+ const { data: data2, ...rest2 } = useInfiniteCategories(
311
342
  { id: referenceId ?? [], fields },
312
343
  options
313
344
  );
345
+ const categories = data2?.pages.flatMap((page) => page.product_categories) ?? [];
314
346
  return {
315
347
  ...rest2,
316
348
  data: {
317
- translations: product_categories?.flatMap(
318
- (category) => category.translations ?? []
319
- ) ?? [],
320
- references: product_categories ?? [],
321
- translatableFields
349
+ translations: categories?.flatMap((category) => category.translations ?? []) ?? [],
350
+ references: categories ?? [],
351
+ translatableFields,
352
+ count: data2?.pages[0]?.count ?? 0
322
353
  }
323
354
  };
324
355
  }
@@ -326,12 +357,12 @@ var useReferenceTranslations = (reference, referenceId, options) => {
326
357
  [
327
358
  "product_collection",
328
359
  () => {
329
- const translatableFields = ["title"];
330
360
  const fields = translatableFields.concat(["translations.*"]).join(",");
331
- const { collections, ...rest2 } = useCollections(
361
+ const { data: data2, ...rest2 } = useInfiniteCollections(
332
362
  { id: referenceId ?? [], fields },
333
363
  options
334
364
  );
365
+ const collections = data2?.pages.flatMap((page) => page.collections) ?? [];
335
366
  return {
336
367
  ...rest2,
337
368
  data: {
@@ -339,7 +370,8 @@ var useReferenceTranslations = (reference, referenceId, options) => {
339
370
  (collection) => collection.translations ?? []
340
371
  ) ?? [],
341
372
  references: collections ?? [],
342
- translatableFields
373
+ translatableFields,
374
+ count: data2?.pages[0]?.count ?? 0
343
375
  }
344
376
  };
345
377
  }
@@ -347,17 +379,18 @@ var useReferenceTranslations = (reference, referenceId, options) => {
347
379
  [
348
380
  "product_type",
349
381
  () => {
350
- const translatableFields = ["value"];
351
382
  const fields = translatableFields.concat(["translations.*"]).join(",");
352
- const { product_types, ...rest2 } = useProductTypes(
383
+ const { data: data2, ...rest2 } = useInfiniteProductTypes(
353
384
  { id: referenceId ?? [], fields },
354
385
  options
355
386
  );
387
+ const product_types = data2?.pages.flatMap((page) => page.product_types) ?? [];
356
388
  return {
357
389
  ...rest2,
358
390
  data: {
359
391
  translations: product_types?.flatMap((type) => type.translations ?? []) ?? [],
360
392
  references: product_types ?? [],
393
+ count: data2?.pages[0]?.count ?? 0,
361
394
  translatableFields
362
395
  }
363
396
  };
@@ -366,18 +399,19 @@ var useReferenceTranslations = (reference, referenceId, options) => {
366
399
  [
367
400
  "product_tag",
368
401
  () => {
369
- const translatableFields = ["value"];
370
402
  const fields = translatableFields.concat(["translations.*"]).join(",");
371
- const { product_tags, ...rest2 } = useProductTags(
403
+ const { data: data2, ...rest2 } = useInfiniteProductTags(
372
404
  { id: referenceId ?? [], fields },
373
405
  options
374
406
  );
407
+ const product_tags = data2?.pages.flatMap((page) => page.product_tags) ?? [];
375
408
  return {
376
409
  ...rest2,
377
410
  data: {
378
411
  translations: product_tags?.flatMap((tag) => tag.translations ?? []) ?? [],
379
412
  references: product_tags ?? [],
380
- translatableFields
413
+ translatableFields,
414
+ count: data2?.pages[0]?.count ?? 0
381
415
  }
382
416
  };
383
417
  }
@@ -406,11 +440,30 @@ var useBatchTranslations = (reference, options) => {
406
440
  queryClient.invalidateQueries({
407
441
  queryKey: referenceInvalidationKeysMap.get(reference)
408
442
  });
443
+ queryClient.invalidateQueries({
444
+ queryKey: translationStatisticsQueryKeys.lists()
445
+ });
409
446
  options?.onSuccess?.(data, variables, context);
410
447
  },
411
448
  ...options
412
449
  });
413
450
  };
451
+ var useTranslationSettings = (query, options) => {
452
+ const { data, ...rest } = useQuery6({
453
+ queryKey: translationSettingsQueryKeys.list(query),
454
+ queryFn: () => sdk.admin.translation.settings(query),
455
+ ...options
456
+ });
457
+ return { ...data, ...rest };
458
+ };
459
+ var useTranslationStatistics = (query, options) => {
460
+ const { data, ...rest } = useQuery6({
461
+ queryKey: translationStatisticsQueryKeys.list(query),
462
+ queryFn: () => sdk.admin.translation.statistics(query),
463
+ ...options
464
+ });
465
+ return { ...data, ...rest };
466
+ };
414
467
 
415
468
  // src/hooks/api/fulfillment.tsx
416
469
  import { useMutation as useMutation5 } from "@tanstack/react-query";
@@ -539,5 +592,7 @@ export {
539
592
  useUpdateProductTag,
540
593
  useDeleteProductTag,
541
594
  useReferenceTranslations,
542
- useBatchTranslations
595
+ useBatchTranslations,
596
+ useTranslationSettings,
597
+ useTranslationStatistics
543
598
  };
@@ -0,0 +1,32 @@
1
+ // src/hooks/use-infinite-list.tsx
2
+ import {
3
+ useInfiniteQuery
4
+ } from "@tanstack/react-query";
5
+ var useInfiniteList = ({
6
+ queryKey,
7
+ queryFn,
8
+ query,
9
+ options
10
+ }) => {
11
+ const { limit = 50, offset: _, ..._query } = query ?? {};
12
+ const resolvedQueryKey = typeof queryKey === "function" ? queryKey(_query) : queryKey;
13
+ const infiniteQueryKey = resolvedQueryKey[resolvedQueryKey.length - 1] === "__infinite" ? resolvedQueryKey : [...resolvedQueryKey, "__infinite"];
14
+ return useInfiniteQuery({
15
+ // Infinite queries must not share the exact same queryKey as non-infinite queries,
16
+ // since the cached data shape differs (InfiniteData<T> vs T).
17
+ queryKey: infiniteQueryKey,
18
+ queryFn: ({ pageParam = 0 }) => {
19
+ return queryFn({ ..._query, limit, offset: pageParam });
20
+ },
21
+ initialPageParam: 0,
22
+ getNextPageParam: (lastPage) => {
23
+ const moreItemsExist = lastPage.count > lastPage.offset + lastPage.limit;
24
+ return moreItemsExist ? lastPage.offset + lastPage.limit : void 0;
25
+ },
26
+ ...options
27
+ });
28
+ };
29
+
30
+ export {
31
+ useInfiniteList
32
+ };
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-5AFMB7XQ.mjs";
4
4
  import {
5
5
  productsQueryKeys
6
- } from "./chunk-LEJUZW3P.mjs";
6
+ } from "./chunk-Z6BFNHEO.mjs";
7
7
  import {
8
8
  queryClient
9
9
  } from "./chunk-FXYH54JP.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useDeleteProductCategory
3
- } from "./chunk-7AX6R6G6.mjs";
3
+ } from "./chunk-OSHH5GAS.mjs";
4
4
 
5
5
  // src/routes/categories/common/hooks/use-delete-product-category-action.tsx
6
6
  import { toast, usePrompt } from "@medusajs/ui";
@@ -5,7 +5,7 @@ import {
5
5
  DataGrid,
6
6
  createDataGridHelper,
7
7
  createDataGridPriceColumns
8
- } from "./chunk-FEB3ZGTL.mjs";
8
+ } from "./chunk-DNUVCBN7.mjs";
9
9
  import {
10
10
  Thumbnail
11
11
  } from "./chunk-MNXC6Q4F.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  DISPLAY_OVERRIDE_ITEMS_LIMIT
3
- } from "./chunk-BBTE6VKD.mjs";
3
+ } from "./chunk-RL5EYTP6.mjs";
4
4
  import {
5
5
  TaxRateRuleReferenceType
6
- } from "./chunk-67KHYLIQ.mjs";
6
+ } from "./chunk-DK7IWUMK.mjs";
7
7
  import {
8
8
  LocalizedTablePagination,
9
9
  useDeleteTaxRateAction
@@ -29,13 +29,13 @@ import {
29
29
  } from "./chunk-OZPB6JBL.mjs";
30
30
  import {
31
31
  useProductTypes
32
- } from "./chunk-HKIF5HVL.mjs";
32
+ } from "./chunk-UJ2TMPV4.mjs";
33
33
  import {
34
34
  useShippingOptions
35
35
  } from "./chunk-HBXV7ENS.mjs";
36
36
  import {
37
37
  useProducts
38
- } from "./chunk-LEJUZW3P.mjs";
38
+ } from "./chunk-Z6BFNHEO.mjs";
39
39
 
40
40
  // src/routes/tax-regions/common/components/tax-rate-line/tax-rate-line.tsx
41
41
  import { PencilSquare, Trash } from "@medusajs/icons";
@@ -1,6 +1,9 @@
1
1
  import {
2
2
  productsQueryKeys
3
- } from "./chunk-LEJUZW3P.mjs";
3
+ } from "./chunk-Z6BFNHEO.mjs";
4
+ import {
5
+ useInfiniteList
6
+ } from "./chunk-HGRIOEAR.mjs";
4
7
  import {
5
8
  queryClient
6
9
  } from "./chunk-FXYH54JP.mjs";
@@ -34,6 +37,14 @@ var useProductCategories = (query, options) => {
34
37
  });
35
38
  return { ...data, ...rest };
36
39
  };
40
+ var useInfiniteCategories = (query, options) => {
41
+ return useInfiniteList({
42
+ queryKey: (params) => categoriesQueryKeys.list(params),
43
+ queryFn: (params) => sdk.admin.productCategory.list(params),
44
+ query,
45
+ options
46
+ });
47
+ };
37
48
  var useCreateProductCategory = (options) => {
38
49
  return useMutation({
39
50
  mutationFn: (payload) => sdk.admin.productCategory.create(payload),
@@ -94,6 +105,7 @@ export {
94
105
  categoriesQueryKeys,
95
106
  useProductCategory,
96
107
  useProductCategories,
108
+ useInfiniteCategories,
97
109
  useCreateProductCategory,
98
110
  useUpdateProductCategory,
99
111
  useDeleteProductCategory,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useDeleteShippingOptionType
3
- } from "./chunk-HKKZJTRO.mjs";
3
+ } from "./chunk-GRZSG4EP.mjs";
4
4
 
5
5
  // src/routes/shipping-option-types/common/hooks/use-delete-shipping-option-type-action.tsx
6
6
  import { useNavigate } from "react-router-dom";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useSalesChannels
3
- } from "./chunk-N3FCYZV6.mjs";
3
+ } from "./chunk-2XTBDCGE.mjs";
4
4
  import {
5
5
  useRegions
6
6
  } from "./chunk-HP2JH45P.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  TargetItem,
4
4
  TaxRateRuleReferenceSchema,
5
5
  createTaxRulePayload
6
- } from "./chunk-67KHYLIQ.mjs";
6
+ } from "./chunk-DK7IWUMK.mjs";
7
7
  import {
8
8
  PercentageInput
9
9
  } from "./chunk-KEQOAJC2.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ordersQueryKeys
3
- } from "./chunk-RU4ZS47V.mjs";
3
+ } from "./chunk-4JQR6QNW.mjs";
4
4
  import {
5
5
  queryClient
6
6
  } from "./chunk-FXYH54JP.mjs";