@medusajs/dashboard 3.0.0-snapshot-20251216103925 → 3.0.0-snapshot-20251216135612

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 (125) hide show
  1. package/dist/{add-campaign-promotions-PHAHMGXP.mjs → add-campaign-promotions-OYPGISTF.mjs} +4 -4
  2. package/dist/{api-key-management-detail-NRGL7HHX.mjs → api-key-management-detail-6RCDH73M.mjs} +5 -5
  3. package/dist/{api-key-management-list-LJSWRAGE.mjs → api-key-management-list-KC5GOWAU.mjs} +5 -5
  4. package/dist/{api-key-management-sales-channels-3GRNDBZ4.mjs → api-key-management-sales-channels-LUB5G6RC.mjs} +5 -5
  5. package/dist/app.js +3752 -133
  6. package/dist/app.mjs +2 -2
  7. package/dist/{campaign-detail-22Q6XWGL.mjs → campaign-detail-5Q4BYCPX.mjs} +5 -5
  8. package/dist/{campaign-list-OH566KWW.mjs → campaign-list-PEOTTWBA.mjs} +6 -6
  9. package/dist/{category-detail-RRKJPMEG.mjs → category-detail-S5IPXMHX.mjs} +4 -4
  10. package/dist/{category-list-4HZP4FRE.mjs → category-list-QBYJ4T3R.mjs} +4 -4
  11. package/dist/{category-products-EFZRTCSF.mjs → category-products-KPW6BA5J.mjs} +4 -4
  12. package/dist/{chunk-LCEKY54O.mjs → chunk-27MGH3HR.mjs} +1 -1
  13. package/dist/{chunk-KQ4LC2YV.mjs → chunk-2DULKOPN.mjs} +1 -1
  14. package/dist/{chunk-SUYYSKCB.mjs → chunk-535OVBXR.mjs} +8 -1
  15. package/dist/{chunk-32FPYJ3S.mjs → chunk-AHZLMCZF.mjs} +1 -1
  16. package/dist/{chunk-5IFK2ZTA.mjs → chunk-APGDAT7X.mjs} +2 -2
  17. package/dist/{chunk-2X25XWOW.mjs → chunk-BTYBTKWK.mjs} +1 -1
  18. package/dist/{chunk-DNUVCBN7.mjs → chunk-CCQD65EY.mjs} +160 -58
  19. package/dist/{chunk-RL5EYTP6.mjs → chunk-CVHJAKLQ.mjs} +1 -1
  20. package/dist/{chunk-DZWH2RV6.mjs → chunk-DFFLVEZ5.mjs} +1 -1
  21. package/dist/{chunk-YTN73JYH.mjs → chunk-DTZXEQXZ.mjs} +1 -1
  22. package/dist/{chunk-7R743WZ6.mjs → chunk-EHU67PIM.mjs} +1 -1
  23. package/dist/{chunk-VX2HE7O5.mjs → chunk-FBYTX6K7.mjs} +1 -1
  24. package/dist/{chunk-RMDYKRWW.mjs → chunk-KFYQTOGB.mjs} +1 -1
  25. package/dist/{chunk-GA3UMQMZ.mjs → chunk-O7JNIATG.mjs} +1 -1
  26. package/dist/{chunk-OHY2N2Q4.mjs → chunk-OL24RDYM.mjs} +3 -3
  27. package/dist/{chunk-M4Q5Q4I3.mjs → chunk-PA3T6IWL.mjs} +2 -2
  28. package/dist/{chunk-NL376WAO.mjs → chunk-QISH26J3.mjs} +1 -1
  29. package/dist/{chunk-PVW6M64S.mjs → chunk-QOCJPBRB.mjs} +1 -1
  30. package/dist/{chunk-2GWGNMAA.mjs → chunk-R4ZOO4ON.mjs} +1 -1
  31. package/dist/{chunk-43X7ZR3P.mjs → chunk-RS7DWLEP.mjs} +1 -1
  32. package/dist/{chunk-ROKB75YP.mjs → chunk-VT2JJ5C2.mjs} +1 -1
  33. package/dist/{chunk-DK7IWUMK.mjs → chunk-WYATCUOM.mjs} +3 -3
  34. package/dist/{chunk-CV65NY6Y.mjs → chunk-YFIYCS7F.mjs} +1 -1
  35. package/dist/{chunk-O7WJSSQR.mjs → chunk-YKYVCQRS.mjs} +3346 -93
  36. package/dist/{chunk-GU5PJRPM.mjs → chunk-ZQJPHZKI.mjs} +1 -1
  37. package/dist/{collection-add-products-XUMV6XR7.mjs → collection-add-products-FU2BS3D3.mjs} +4 -4
  38. package/dist/{collection-detail-ONRBKJLN.mjs → collection-detail-VJE7XHLV.mjs} +4 -4
  39. package/dist/{collection-list-XCC4SIPJ.mjs → collection-list-IGA6SCNF.mjs} +4 -4
  40. package/dist/{customer-detail-FR6J37ZC.mjs → customer-detail-MOV2T3LF.mjs} +6 -6
  41. package/dist/{customer-group-add-customers-DM4VLTNB.mjs → customer-group-add-customers-XMR2WBXX.mjs} +6 -6
  42. package/dist/{customer-group-detail-YSKSNETG.mjs → customer-group-detail-6T7OXGQD.mjs} +6 -6
  43. package/dist/{customer-group-list-XBCD4FZH.mjs → customer-group-list-AJEAF5D2.mjs} +3 -3
  44. package/dist/{customer-list-TG4D4QOT.mjs → customer-list-UI5EQDII.mjs} +6 -6
  45. package/dist/{customers-add-customer-group-Q7FMR2Y5.mjs → customers-add-customer-group-QVTVSQYM.mjs} +4 -4
  46. package/dist/{inventory-create-3XONKYMZ.mjs → inventory-create-ANYUM4P5.mjs} +1 -1
  47. package/dist/{inventory-detail-6A6GOLB6.mjs → inventory-detail-ZPSEMYI2.mjs} +4 -4
  48. package/dist/{inventory-list-2CJLAK3X.mjs → inventory-list-RXJPSVZE.mjs} +4 -4
  49. package/dist/{inventory-stock-S3ZYYCMZ.mjs → inventory-stock-FD4ZM4BB.mjs} +2 -2
  50. package/dist/{location-fulfillment-providers-WM6DT252.mjs → location-fulfillment-providers-7ZUJAGNY.mjs} +4 -4
  51. package/dist/{location-sales-channels-WLVTMU4Z.mjs → location-sales-channels-P3QJTFDT.mjs} +5 -5
  52. package/dist/{location-service-zone-create-3FWF3DG5.mjs → location-service-zone-create-J43WN6G4.mjs} +5 -5
  53. package/dist/{location-service-zone-manage-areas-YFEAZUUN.mjs → location-service-zone-manage-areas-6ZPMKMSX.mjs} +5 -5
  54. package/dist/{location-service-zone-shipping-option-create-MJPH3WKX.mjs → location-service-zone-shipping-option-create-ZJ4GIBTJ.mjs} +2 -2
  55. package/dist/{location-service-zone-shipping-option-pricing-6IRNPWJY.mjs → location-service-zone-shipping-option-pricing-CR4BVYG3.mjs} +2 -2
  56. package/dist/{order-create-claim-GUYTLVPB.mjs → order-create-claim-SCDJGM46.mjs} +4 -4
  57. package/dist/{order-create-edit-ODIN6GRW.mjs → order-create-edit-JIE3HDHP.mjs} +4 -4
  58. package/dist/{order-create-exchange-ZT5RBRKL.mjs → order-create-exchange-LQU4YN7F.mjs} +4 -4
  59. package/dist/{order-create-return-E2KILJX2.mjs → order-create-return-52GHGW5Z.mjs} +4 -4
  60. package/dist/{order-detail-HFJONELJ.mjs → order-detail-PVPGEWGY.mjs} +2 -2
  61. package/dist/{order-export-4MZUPMGD.mjs → order-export-LE363ZLB.mjs} +3 -3
  62. package/dist/{order-list-ACSFGIPD.mjs → order-list-GRLQWN4L.mjs} +7 -7
  63. package/dist/{price-list-configuration-IHPSUNZJ.mjs → price-list-configuration-6S3MLNXQ.mjs} +5 -5
  64. package/dist/{price-list-create-YHXRQSC3.mjs → price-list-create-MFRUQADC.mjs} +7 -7
  65. package/dist/{price-list-detail-FR3FQR3H.mjs → price-list-detail-Q5VG5VGW.mjs} +5 -5
  66. package/dist/{price-list-list-YSEM6IAI.mjs → price-list-list-DG5YEZ44.mjs} +4 -4
  67. package/dist/{price-list-prices-add-GJVI47OY.mjs → price-list-prices-add-SDU5YZAT.mjs} +6 -6
  68. package/dist/{price-list-prices-edit-E4Q5TQPM.mjs → price-list-prices-edit-5USQR4D4.mjs} +2 -2
  69. package/dist/{product-attributes-QD3BWV5V.mjs → product-attributes-EFIRUBRO.mjs} +2 -2
  70. package/dist/{product-create-E2GZYQX4.mjs → product-create-K6EWZHIT.mjs} +7 -7
  71. package/dist/{product-create-variant-KEBN5OR7.mjs → product-create-variant-ERKHTEJZ.mjs} +1 -1
  72. package/dist/{product-detail-QBGGKRZ2.mjs → product-detail-DKPZDEIY.mjs} +4 -4
  73. package/dist/{product-edit-YP4KOQ4T.mjs → product-edit-55YXTIGO.mjs} +2 -2
  74. package/dist/{product-export-WUZYHPS5.mjs → product-export-5AD7NELI.mjs} +3 -3
  75. package/dist/{product-image-variants-edit-Y363J5NG.mjs → product-image-variants-edit-M6QF2RLE.mjs} +4 -4
  76. package/dist/{product-list-DNTS7WUN.mjs → product-list-EUWZIFTM.mjs} +7 -7
  77. package/dist/{product-organization-H557PLLB.mjs → product-organization-N3VBRXF4.mjs} +2 -2
  78. package/dist/{product-prices-JOG6IIQ7.mjs → product-prices-4C36AG4R.mjs} +1 -1
  79. package/dist/{product-sales-channels-ANCFZZ5S.mjs → product-sales-channels-PPXUG4KT.mjs} +5 -5
  80. package/dist/{product-stock-NYUFMEVG.mjs → product-stock-VEGE6SUZ.mjs} +2 -2
  81. package/dist/{product-tag-detail-EHBB3WUB.mjs → product-tag-detail-I3MBZX7U.mjs} +10 -10
  82. package/dist/{product-tag-list-LSW5FFVN.mjs → product-tag-list-JUWSOMB7.mjs} +10 -10
  83. package/dist/{product-type-detail-3VB6AWUW.mjs → product-type-detail-RKHT5NBL.mjs} +4 -4
  84. package/dist/{product-type-list-FD3TGPNP.mjs → product-type-list-QQKAHBJ3.mjs} +6 -6
  85. package/dist/{product-variant-detail-43T33AQP.mjs → product-variant-detail-XAYG5CKE.mjs} +4 -4
  86. package/dist/{profile-detail-BMC7IZBY.mjs → profile-detail-FRZ74HAF.mjs} +1 -1
  87. package/dist/{profile-edit-YZCUGEXF.mjs → profile-edit-ZNXO6WME.mjs} +1 -1
  88. package/dist/{promotion-detail-VJB55PJK.mjs → promotion-detail-QC36KXB3.mjs} +3 -3
  89. package/dist/{promotion-list-TMWKPLMJ.mjs → promotion-list-L22GJE3P.mjs} +4 -4
  90. package/dist/{refund-reason-list-URYYYEK6.mjs → refund-reason-list-OJYYEYJE.mjs} +8 -8
  91. package/dist/{region-add-countries-7U4J5RW6.mjs → region-add-countries-2VAVXMJQ.mjs} +4 -4
  92. package/dist/{region-create-IUGX33M5.mjs → region-create-NA7Y2LN4.mjs} +4 -4
  93. package/dist/{region-detail-D3JBW34A.mjs → region-detail-3BARMXUE.mjs} +4 -4
  94. package/dist/{region-list-JAQXIBYD.mjs → region-list-V4R2REMH.mjs} +4 -4
  95. package/dist/{reservation-list-2DN3YHIJ.mjs → reservation-list-B47DXTA7.mjs} +5 -5
  96. package/dist/{return-reason-list-IFFIDA5O.mjs → return-reason-list-SCBGTOEI.mjs} +10 -10
  97. package/dist/{sales-channel-add-products-VH5T3GDA.mjs → sales-channel-add-products-F7YV4MO5.mjs} +4 -4
  98. package/dist/{sales-channel-detail-I2ZHVXMG.mjs → sales-channel-detail-MXIPZCGA.mjs} +4 -4
  99. package/dist/{sales-channel-list-3FV4S2NN.mjs → sales-channel-list-RLGL7FM3.mjs} +5 -5
  100. package/dist/{shipping-option-type-list-ZMZMXFME.mjs → shipping-option-type-list-DIOX7VG7.mjs} +5 -5
  101. package/dist/{shipping-profiles-list-H3CBZKRH.mjs → shipping-profiles-list-WRPIJBZZ.mjs} +4 -4
  102. package/dist/{store-add-currencies-ZFS3WZHG.mjs → store-add-currencies-OX2WXFMS.mjs} +4 -4
  103. package/dist/{store-add-locales-IZOZP5C6.mjs → store-add-locales-VJ4RJ7UI.mjs} +4 -4
  104. package/dist/{store-detail-4IBAEVSD.mjs → store-detail-JSNPOB2F.mjs} +4 -4
  105. package/dist/{tax-region-detail-O2T7BI3V.mjs → tax-region-detail-2AE2EFI3.mjs} +13 -13
  106. package/dist/{tax-region-province-detail-2W7RXAM5.mjs → tax-region-province-detail-4ERSEQFF.mjs} +13 -13
  107. package/dist/{tax-region-tax-override-create-7IM4ZVPH.mjs → tax-region-tax-override-create-PHCGEF7V.mjs} +11 -11
  108. package/dist/{tax-region-tax-override-edit-3ZT5IZYR.mjs → tax-region-tax-override-edit-SMRPSILC.mjs} +12 -12
  109. package/dist/{translation-list-IAKEB7MY.mjs → translation-list-S5Z6PG2R.mjs} +8 -5
  110. package/dist/translations-edit-HUNKY7CO.mjs +708 -0
  111. package/dist/{user-invite-XB635N26.mjs → user-invite-GAGIM5DO.mjs} +4 -4
  112. package/dist/{user-list-YYUOQKQY.mjs → user-list-YTZQNYSO.mjs} +4 -4
  113. package/dist/{workflow-execution-list-IZVF2XMJ.mjs → workflow-execution-list-C3EJMVSZ.mjs} +4 -4
  114. package/package.json +9 -9
  115. package/src/components/data-grid/components/data-grid-cell-container.tsx +16 -4
  116. package/src/components/data-grid/components/data-grid-readonly-cell.tsx +16 -3
  117. package/src/components/data-grid/components/data-grid-root.tsx +19 -4
  118. package/src/components/data-grid/components/data-grid-text-cell.tsx +79 -9
  119. package/src/i18n/languages.ts +7 -0
  120. package/src/i18n/translations/index.ts +4 -0
  121. package/src/i18n/translations/zhTW.json +3249 -0
  122. package/src/routes/translations/translation-list/translation-list.tsx +9 -8
  123. package/src/routes/translations/translations-edit/components/translations-edit-form/translations-edit-form.tsx +388 -90
  124. package/src/routes/translations/translations-edit/translations-edit.tsx +0 -1
  125. package/dist/translations-edit-QKLE4L5B.mjs +0 -458
package/dist/app.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DashboardApp
3
- } from "./chunk-O7WJSSQR.mjs";
3
+ } from "./chunk-YKYVCQRS.mjs";
4
4
  import "./chunk-2SSUH2HJ.mjs";
5
5
  import "./chunk-ONB3JEHR.mjs";
6
6
  import "./chunk-YCDDT44O.mjs";
@@ -17,7 +17,7 @@ import "./chunk-ZCARHA6C.mjs";
17
17
  import "./chunk-OZPB6JBL.mjs";
18
18
  import "./chunk-OC7BQLYI.mjs";
19
19
  import "./chunk-S4DMV3ZT.mjs";
20
- import "./chunk-SUYYSKCB.mjs";
20
+ import "./chunk-535OVBXR.mjs";
21
21
  import "./chunk-OBQI23QM.mjs";
22
22
  import "./chunk-GRZSG4EP.mjs";
23
23
  import "./chunk-I4OBEAOJ.mjs";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-CBYAN3G4.mjs";
5
5
  import {
6
6
  DateRangeDisplay
7
- } from "./chunk-NL376WAO.mjs";
7
+ } from "./chunk-QISH26J3.mjs";
8
8
  import "./chunk-SC6BSTC7.mjs";
9
9
  import "./chunk-MSDRGCRR.mjs";
10
10
  import "./chunk-ADOCJB6L.mjs";
@@ -13,7 +13,7 @@ import "./chunk-LQTHYS2Z.mjs";
13
13
  import {
14
14
  _DataTable,
15
15
  useDataTable
16
- } from "./chunk-YTN73JYH.mjs";
16
+ } from "./chunk-DTZXEQXZ.mjs";
17
17
  import "./chunk-HQKGZADC.mjs";
18
18
  import "./chunk-EMIHDNB7.mjs";
19
19
  import {
@@ -22,12 +22,12 @@ import {
22
22
  import {
23
23
  usePromotionTableFilters
24
24
  } from "./chunk-LSEYENCI.mjs";
25
- import "./chunk-GU5PJRPM.mjs";
25
+ import "./chunk-ZQJPHZKI.mjs";
26
26
  import {
27
27
  TwoColumnPage
28
28
  } from "./chunk-GIZFNLKK.mjs";
29
29
  import "./chunk-C76H5USB.mjs";
30
- import "./chunk-DZWH2RV6.mjs";
30
+ import "./chunk-DFFLVEZ5.mjs";
31
31
  import "./chunk-4GQOUCX6.mjs";
32
32
  import "./chunk-PMA2D6IL.mjs";
33
33
  import {
@@ -41,7 +41,7 @@ import {
41
41
  } from "./chunk-OZPB6JBL.mjs";
42
42
  import "./chunk-OC7BQLYI.mjs";
43
43
  import "./chunk-S4DMV3ZT.mjs";
44
- import "./chunk-SUYYSKCB.mjs";
44
+ import "./chunk-535OVBXR.mjs";
45
45
  import "./chunk-GRZSG4EP.mjs";
46
46
  import "./chunk-I4OBEAOJ.mjs";
47
47
  import "./chunk-HI6URQ7H.mjs";
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  useCampaignTableColumns
3
- } from "./chunk-GA3UMQMZ.mjs";
3
+ } from "./chunk-O7JNIATG.mjs";
4
4
  import "./chunk-MSDRGCRR.mjs";
5
- import "./chunk-ROKB75YP.mjs";
5
+ import "./chunk-VT2JJ5C2.mjs";
6
6
  import "./chunk-P3UUX2T6.mjs";
7
7
  import "./chunk-LQTHYS2Z.mjs";
8
8
  import {
9
9
  _DataTable,
10
10
  useDataTable
11
- } from "./chunk-YTN73JYH.mjs";
11
+ } from "./chunk-DTZXEQXZ.mjs";
12
12
  import "./chunk-HQKGZADC.mjs";
13
13
  import "./chunk-EMIHDNB7.mjs";
14
14
  import {
15
15
  useCampaignTableQuery
16
16
  } from "./chunk-OMC5JCQH.mjs";
17
- import "./chunk-GU5PJRPM.mjs";
17
+ import "./chunk-ZQJPHZKI.mjs";
18
18
  import {
19
19
  SingleColumnPage
20
20
  } from "./chunk-GIZFNLKK.mjs";
21
21
  import "./chunk-C76H5USB.mjs";
22
- import "./chunk-DZWH2RV6.mjs";
22
+ import "./chunk-DFFLVEZ5.mjs";
23
23
  import {
24
24
  useExtension
25
25
  } from "./chunk-C5P5PL3E.mjs";
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-OZPB6JBL.mjs";
30
30
  import "./chunk-OC7BQLYI.mjs";
31
31
  import "./chunk-S4DMV3ZT.mjs";
32
- import "./chunk-SUYYSKCB.mjs";
32
+ import "./chunk-535OVBXR.mjs";
33
33
  import {
34
34
  useCampaigns,
35
35
  useDeleteCampaign
@@ -21,7 +21,7 @@ import "./chunk-LQTHYS2Z.mjs";
21
21
  import {
22
22
  _DataTable,
23
23
  useDataTable
24
- } from "./chunk-YTN73JYH.mjs";
24
+ } from "./chunk-DTZXEQXZ.mjs";
25
25
  import "./chunk-HQKGZADC.mjs";
26
26
  import "./chunk-EMIHDNB7.mjs";
27
27
  import {
@@ -30,12 +30,12 @@ import {
30
30
  import {
31
31
  useProductTableQuery
32
32
  } from "./chunk-R65S6ZZV.mjs";
33
- import "./chunk-GU5PJRPM.mjs";
33
+ import "./chunk-ZQJPHZKI.mjs";
34
34
  import {
35
35
  TwoColumnPage
36
36
  } from "./chunk-GIZFNLKK.mjs";
37
37
  import "./chunk-C76H5USB.mjs";
38
- import "./chunk-DZWH2RV6.mjs";
38
+ import "./chunk-DFFLVEZ5.mjs";
39
39
  import "./chunk-MNXC6Q4F.mjs";
40
40
  import {
41
41
  useFeatureFlag
@@ -52,7 +52,7 @@ import {
52
52
  } from "./chunk-OZPB6JBL.mjs";
53
53
  import "./chunk-OC7BQLYI.mjs";
54
54
  import "./chunk-S4DMV3ZT.mjs";
55
- import "./chunk-SUYYSKCB.mjs";
55
+ import "./chunk-535OVBXR.mjs";
56
56
  import "./chunk-GRZSG4EP.mjs";
57
57
  import "./chunk-I4OBEAOJ.mjs";
58
58
  import "./chunk-HI6URQ7H.mjs";
@@ -18,17 +18,17 @@ import "./chunk-LQTHYS2Z.mjs";
18
18
  import {
19
19
  _DataTable,
20
20
  useDataTable
21
- } from "./chunk-YTN73JYH.mjs";
21
+ } from "./chunk-DTZXEQXZ.mjs";
22
22
  import "./chunk-HQKGZADC.mjs";
23
23
  import "./chunk-EMIHDNB7.mjs";
24
- import "./chunk-GU5PJRPM.mjs";
24
+ import "./chunk-ZQJPHZKI.mjs";
25
25
  import {
26
26
  SingleColumnPage
27
27
  } from "./chunk-GIZFNLKK.mjs";
28
28
  import {
29
29
  useQueryParams
30
30
  } from "./chunk-C76H5USB.mjs";
31
- import "./chunk-DZWH2RV6.mjs";
31
+ import "./chunk-DFFLVEZ5.mjs";
32
32
  import {
33
33
  useFeatureFlag
34
34
  } from "./chunk-G4BWCU5P.mjs";
@@ -41,7 +41,7 @@ import {
41
41
  } from "./chunk-OZPB6JBL.mjs";
42
42
  import "./chunk-OC7BQLYI.mjs";
43
43
  import "./chunk-S4DMV3ZT.mjs";
44
- import "./chunk-SUYYSKCB.mjs";
44
+ import "./chunk-535OVBXR.mjs";
45
45
  import {
46
46
  useProductCategories
47
47
  } from "./chunk-OSHH5GAS.mjs";
@@ -9,7 +9,7 @@ import "./chunk-LQTHYS2Z.mjs";
9
9
  import {
10
10
  _DataTable,
11
11
  useDataTable
12
- } from "./chunk-YTN73JYH.mjs";
12
+ } from "./chunk-DTZXEQXZ.mjs";
13
13
  import "./chunk-HQKGZADC.mjs";
14
14
  import "./chunk-EMIHDNB7.mjs";
15
15
  import {
@@ -18,9 +18,9 @@ import {
18
18
  import {
19
19
  useProductTableQuery
20
20
  } from "./chunk-R65S6ZZV.mjs";
21
- import "./chunk-GU5PJRPM.mjs";
21
+ import "./chunk-ZQJPHZKI.mjs";
22
22
  import "./chunk-C76H5USB.mjs";
23
- import "./chunk-DZWH2RV6.mjs";
23
+ import "./chunk-DFFLVEZ5.mjs";
24
24
  import "./chunk-IUCDCPJU.mjs";
25
25
  import {
26
26
  KeyboundForm
@@ -33,7 +33,7 @@ import {
33
33
  import "./chunk-MNXC6Q4F.mjs";
34
34
  import "./chunk-LPEUYMRK.mjs";
35
35
  import "./chunk-S4DMV3ZT.mjs";
36
- import "./chunk-SUYYSKCB.mjs";
36
+ import "./chunk-535OVBXR.mjs";
37
37
  import "./chunk-OBQI23QM.mjs";
38
38
  import "./chunk-GRZSG4EP.mjs";
39
39
  import "./chunk-I4OBEAOJ.mjs";
@@ -9,7 +9,7 @@ import {
9
9
  import {
10
10
  _DataTable,
11
11
  useDataTable
12
- } from "./chunk-YTN73JYH.mjs";
12
+ } from "./chunk-DTZXEQXZ.mjs";
13
13
  import {
14
14
  ChipGroup
15
15
  } from "./chunk-X5VECN6S.mjs";
@@ -5,7 +5,7 @@ import {
5
5
  DataGrid,
6
6
  createDataGridHelper,
7
7
  createDataGridPriceColumns
8
- } from "./chunk-DNUVCBN7.mjs";
8
+ } from "./chunk-CCQD65EY.mjs";
9
9
  import {
10
10
  Thumbnail
11
11
  } from "./chunk-MNXC6Q4F.mjs";
@@ -29,7 +29,8 @@ import {
29
29
  tr,
30
30
  uk,
31
31
  vi,
32
- zhCN
32
+ zhCN,
33
+ zhTW
33
34
  } from "date-fns/locale";
34
35
  var languages = [
35
36
  {
@@ -211,6 +212,12 @@ var languages = [
211
212
  display_name: "Nederlands",
212
213
  ltr: true,
213
214
  date_locale: nl
215
+ },
216
+ {
217
+ code: "zhTW",
218
+ display_name: "\u7E41\u9AD4\u4E2D\u6587(\u81FA\u7063)",
219
+ ltr: true,
220
+ date_locale: zhTW
214
221
  }
215
222
  ];
216
223
 
@@ -12,7 +12,7 @@ import {
12
12
  useCombinedRefs,
13
13
  useDataGridCell,
14
14
  useDataGridCellError
15
- } from "./chunk-DNUVCBN7.mjs";
15
+ } from "./chunk-CCQD65EY.mjs";
16
16
  import {
17
17
  currencies
18
18
  } from "./chunk-DK4WIVY6.mjs";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  useDataTableDateColumns
3
- } from "./chunk-2X25XWOW.mjs";
3
+ } from "./chunk-BTYBTKWK.mjs";
4
4
  import {
5
5
  useDataTableDateFilters
6
- } from "./chunk-2GWGNMAA.mjs";
6
+ } from "./chunk-R4ZOO4ON.mjs";
7
7
  import {
8
8
  useQueryParams
9
9
  } from "./chunk-C76H5USB.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useDate
3
- } from "./chunk-DZWH2RV6.mjs";
3
+ } from "./chunk-DFFLVEZ5.mjs";
4
4
 
5
5
  // src/components/data-table/helpers/general/use-data-table-date-columns.tsx
6
6
  import {
@@ -2015,51 +2015,71 @@ var DataGridCellContainer = ({
2015
2015
  children,
2016
2016
  errors,
2017
2017
  rowErrors,
2018
- outerComponent
2018
+ outerComponent,
2019
+ isMultiLine
2019
2020
  }) => {
2020
2021
  const error = get2(errors, field);
2021
2022
  const hasError = !!error;
2022
- return /* @__PURE__ */ jsxs3("div", { className: "group/container relative size-full", children: [
2023
- /* @__PURE__ */ jsxs3(
2024
- "div",
2025
- {
2026
- className: clx(
2027
- "bg-ui-bg-base group/cell relative flex size-full items-center gap-x-2 px-4 py-2.5 outline-none",
2023
+ return /* @__PURE__ */ jsxs3(
2024
+ "div",
2025
+ {
2026
+ className: clx("group/container relative w-full", {
2027
+ "h-full": !isMultiLine
2028
+ }),
2029
+ children: [
2030
+ /* @__PURE__ */ jsxs3(
2031
+ "div",
2028
2032
  {
2029
- "bg-ui-tag-red-bg text-ui-tag-red-text": hasError && !isAnchor && !isSelected && !isDragSelected,
2030
- "ring-ui-bg-interactive ring-2 ring-inset": isAnchor,
2031
- "bg-ui-bg-highlight [&:has([data-field]:focus)]:bg-ui-bg-base": isSelected || isAnchor,
2032
- "bg-ui-bg-subtle": isDragSelected && !isAnchor
2033
+ className: clx(
2034
+ "bg-ui-bg-base group/cell relative flex w-full gap-x-2 px-4 py-2.5 outline-none",
2035
+ {
2036
+ "h-full items-center": !isMultiLine,
2037
+ "items-start": isMultiLine,
2038
+ "bg-ui-tag-red-bg text-ui-tag-red-text": hasError && !isAnchor && !isSelected && !isDragSelected,
2039
+ "ring-ui-bg-interactive ring-2 ring-inset": isAnchor,
2040
+ "bg-ui-bg-highlight [&:has([data-field]:focus)]:bg-ui-bg-base": isSelected || isAnchor,
2041
+ "bg-ui-bg-subtle": isDragSelected && !isAnchor
2042
+ }
2043
+ ),
2044
+ tabIndex: -1,
2045
+ ...innerProps,
2046
+ children: [
2047
+ /* @__PURE__ */ jsx3(
2048
+ ErrorMessage,
2049
+ {
2050
+ name: field,
2051
+ errors,
2052
+ render: ({ message }) => {
2053
+ return /* @__PURE__ */ jsx3("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx3(Tooltip2, { content: message, delayDuration: 0, children: /* @__PURE__ */ jsx3(ExclamationCircle, { className: "text-ui-tag-red-icon z-[3]" }) }) });
2054
+ }
2055
+ }
2056
+ ),
2057
+ /* @__PURE__ */ jsx3(
2058
+ "div",
2059
+ {
2060
+ className: clx("relative z-[1] flex w-full", {
2061
+ "h-full items-center justify-center": !isMultiLine,
2062
+ "items-start": isMultiLine
2063
+ }),
2064
+ children: /* @__PURE__ */ jsx3(RenderChildren, { isAnchor, placeholder, children })
2065
+ }
2066
+ ),
2067
+ /* @__PURE__ */ jsx3(DataGridRowErrorIndicator, { rowErrors }),
2068
+ showOverlay && /* @__PURE__ */ jsx3(
2069
+ "div",
2070
+ {
2071
+ ...overlayProps,
2072
+ "data-cell-overlay": "true",
2073
+ className: "absolute inset-0 z-[2]"
2074
+ }
2075
+ )
2076
+ ]
2033
2077
  }
2034
2078
  ),
2035
- tabIndex: -1,
2036
- ...innerProps,
2037
- children: [
2038
- /* @__PURE__ */ jsx3(
2039
- ErrorMessage,
2040
- {
2041
- name: field,
2042
- errors,
2043
- render: ({ message }) => {
2044
- return /* @__PURE__ */ jsx3("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ jsx3(Tooltip2, { content: message, delayDuration: 0, children: /* @__PURE__ */ jsx3(ExclamationCircle, { className: "text-ui-tag-red-icon z-[3]" }) }) });
2045
- }
2046
- }
2047
- ),
2048
- /* @__PURE__ */ jsx3("div", { className: "relative z-[1] flex size-full items-center justify-center", children: /* @__PURE__ */ jsx3(RenderChildren, { isAnchor, placeholder, children }) }),
2049
- /* @__PURE__ */ jsx3(DataGridRowErrorIndicator, { rowErrors }),
2050
- showOverlay && /* @__PURE__ */ jsx3(
2051
- "div",
2052
- {
2053
- ...overlayProps,
2054
- "data-cell-overlay": "true",
2055
- className: "absolute inset-0 z-[2]"
2056
- }
2057
- )
2058
- ]
2059
- }
2060
- ),
2061
- outerComponent
2062
- ] });
2079
+ outerComponent
2080
+ ]
2081
+ }
2082
+ );
2063
2083
  };
2064
2084
  var RenderChildren = ({
2065
2085
  isAnchor,
@@ -2305,19 +2325,33 @@ import { jsx as jsx7, jsxs as jsxs5 } from "react/jsx-runtime";
2305
2325
  var DataGridReadonlyCell = ({
2306
2326
  context,
2307
2327
  color = "muted",
2308
- children
2328
+ children,
2329
+ isMultiLine = false
2309
2330
  }) => {
2310
2331
  const { rowErrors } = useDataGridCellError({ context });
2311
2332
  return /* @__PURE__ */ jsxs5(
2312
2333
  "div",
2313
2334
  {
2314
2335
  className: clx3(
2315
- "txt-compact-small text-ui-fg-subtle flex size-full cursor-not-allowed items-center justify-between overflow-hidden px-4 py-2.5 outline-none",
2336
+ "txt-compact-small text-ui-fg-subtle flex w-full cursor-not-allowed justify-between overflow-hidden px-4 py-2.5 outline-none",
2316
2337
  color === "muted" && "bg-ui-bg-subtle",
2317
- color === "normal" && "bg-ui-bg-base"
2338
+ color === "normal" && "bg-ui-bg-base",
2339
+ {
2340
+ "h-full items-center": !isMultiLine,
2341
+ "items-start": isMultiLine
2342
+ }
2318
2343
  ),
2319
2344
  children: [
2320
- /* @__PURE__ */ jsx7("div", { className: "flex-1 truncate", children }),
2345
+ /* @__PURE__ */ jsx7(
2346
+ "div",
2347
+ {
2348
+ className: clx3("flex-1", {
2349
+ truncate: !isMultiLine,
2350
+ "whitespace-pre-wrap break-words": isMultiLine
2351
+ }),
2352
+ children
2353
+ }
2354
+ ),
2321
2355
  /* @__PURE__ */ jsx7(DataGridRowErrorIndicator, { rowErrors })
2322
2356
  ]
2323
2357
  }
@@ -2336,7 +2370,9 @@ import {
2336
2370
  getCoreRowModel,
2337
2371
  useReactTable
2338
2372
  } from "@tanstack/react-table";
2339
- import { useVirtualizer } from "@tanstack/react-virtual";
2373
+ import {
2374
+ useVirtualizer
2375
+ } from "@tanstack/react-virtual";
2340
2376
  import {
2341
2377
  useCallback as useCallback14,
2342
2378
  useEffect as useEffect5,
@@ -2694,6 +2730,8 @@ var DataGridRoot = ({
2694
2730
  count: effectiveRowCount,
2695
2731
  estimateSize: () => ROW_HEIGHT,
2696
2732
  getScrollElement: () => containerRef.current,
2733
+ // Measure actual row heights for dynamic sizing (disabled in Firefox due to measurement issues). Taken from Tanstack
2734
+ measureElement: typeof window !== "undefined" && navigator.userAgent.indexOf("Firefox") === -1 ? (element) => element?.getBoundingClientRect().height : void 0,
2697
2735
  overscan: 5,
2698
2736
  rangeExtractor: (range) => {
2699
2737
  const toRender = new Set(
@@ -3172,6 +3210,7 @@ var DataGridRoot = ({
3172
3210
  row,
3173
3211
  rowIndex,
3174
3212
  virtualRow,
3213
+ rowVirtualizer,
3175
3214
  flatColumns,
3176
3215
  virtualColumns,
3177
3216
  anchor,
@@ -3320,10 +3359,10 @@ var DataGridCell = ({
3320
3359
  "data-row-index": rowIndex,
3321
3360
  "data-column-index": columnIndex,
3322
3361
  className: clx5(
3323
- "relative flex items-center border-b border-r p-0 outline-none"
3362
+ "relative flex items-stretch border-b border-r p-0 outline-none"
3324
3363
  ),
3325
3364
  tabIndex: -1,
3326
- children: /* @__PURE__ */ jsxs7("div", { className: "relative h-full w-full", children: [
3365
+ children: /* @__PURE__ */ jsxs7("div", { className: "relative w-full", children: [
3327
3366
  flexRender(cell.column.columnDef.cell, {
3328
3367
  ...cell.getContext(),
3329
3368
  columnIndex,
@@ -3349,6 +3388,7 @@ var DataGridRow = ({
3349
3388
  row,
3350
3389
  rowIndex,
3351
3390
  virtualRow,
3391
+ rowVirtualizer,
3352
3392
  virtualPaddingLeft,
3353
3393
  virtualPaddingRight,
3354
3394
  virtualColumns,
@@ -3363,10 +3403,12 @@ var DataGridRow = ({
3363
3403
  {
3364
3404
  role: "row",
3365
3405
  "aria-rowindex": virtualRow.index,
3406
+ "data-index": virtualRow.index,
3407
+ ref: (node) => rowVirtualizer.measureElement(node),
3366
3408
  style: {
3367
3409
  transform: `translateY(${virtualRow.start}px)`
3368
3410
  },
3369
- className: "bg-ui-bg-subtle txt-compact-small absolute flex h-10 w-full",
3411
+ className: "bg-ui-bg-subtle txt-compact-small absolute flex min-h-10 w-full",
3370
3412
  children: [
3371
3413
  virtualPaddingLeft ? /* @__PURE__ */ jsx9(
3372
3414
  "div",
@@ -3491,11 +3533,12 @@ var DataGridRowSkeleton = ({
3491
3533
 
3492
3534
  // src/components/data-grid/components/data-grid-text-cell.tsx
3493
3535
  import { clx as clx6 } from "@medusajs/ui";
3494
- import { useEffect as useEffect6, useState as useState9 } from "react";
3536
+ import { useCallback as useCallback15, useEffect as useEffect6, useRef as useRef4, useState as useState9 } from "react";
3495
3537
  import { Controller as Controller4 } from "react-hook-form";
3496
3538
  import { jsx as jsx10 } from "react/jsx-runtime";
3497
3539
  var DataGridTextCell = ({
3498
- context
3540
+ context,
3541
+ isMultiLine = false
3499
3542
  }) => {
3500
3543
  const { field, control, renderProps } = useDataGridCell({
3501
3544
  context
@@ -3508,32 +3551,91 @@ var DataGridTextCell = ({
3508
3551
  control,
3509
3552
  name: field,
3510
3553
  render: ({ field: field2 }) => {
3511
- return /* @__PURE__ */ jsx10(DataGridCellContainer, { ...container, ...errorProps, children: /* @__PURE__ */ jsx10(Inner4, { field: field2, inputProps: input }) });
3554
+ return /* @__PURE__ */ jsx10(
3555
+ DataGridCellContainer,
3556
+ {
3557
+ ...container,
3558
+ ...errorProps,
3559
+ isMultiLine,
3560
+ children: /* @__PURE__ */ jsx10(Inner4, { field: field2, inputProps: input, isMultiLine })
3561
+ }
3562
+ );
3512
3563
  }
3513
3564
  }
3514
3565
  );
3515
3566
  };
3516
3567
  var Inner4 = ({
3517
3568
  field,
3518
- inputProps
3569
+ inputProps,
3570
+ isMultiLine
3519
3571
  }) => {
3520
3572
  const { onChange: _, onBlur, ref, value, ...rest } = field;
3521
3573
  const { ref: inputRef, onBlur: onInputBlur, onChange, ...input } = inputProps;
3522
3574
  const [localValue, setLocalValue] = useState9(value);
3575
+ const textareaRef = useRef4(null);
3523
3576
  useEffect6(() => {
3524
3577
  setLocalValue(value);
3525
3578
  }, [value]);
3526
3579
  const combinedRefs = useCombinedRefs(inputRef, ref);
3580
+ const textareaCombinedRefs = useCombinedRefs(inputRef, ref, textareaRef);
3581
+ const adjustTextareaHeight = useCallback15(() => {
3582
+ const textarea = textareaRef.current;
3583
+ if (textarea) {
3584
+ textarea.style.height = "0px";
3585
+ const newHeight = Math.max(textarea.scrollHeight, 24);
3586
+ textarea.style.height = `${newHeight}px`;
3587
+ }
3588
+ }, []);
3589
+ useEffect6(() => {
3590
+ if (isMultiLine) {
3591
+ adjustTextareaHeight();
3592
+ }
3593
+ }, [localValue, isMultiLine, adjustTextareaHeight]);
3594
+ useEffect6(() => {
3595
+ if (isMultiLine) {
3596
+ adjustTextareaHeight();
3597
+ const timeoutId = setTimeout(adjustTextareaHeight, 50);
3598
+ return () => clearTimeout(timeoutId);
3599
+ }
3600
+ }, [isMultiLine, adjustTextareaHeight]);
3601
+ if (isMultiLine) {
3602
+ return /* @__PURE__ */ jsx10(
3603
+ "textarea",
3604
+ {
3605
+ className: clx6(
3606
+ "txt-compact-small text-ui-fg-subtle flex w-full cursor-pointer bg-transparent outline-none",
3607
+ "focus:cursor-text",
3608
+ "resize-none overflow-hidden py-2"
3609
+ ),
3610
+ autoComplete: "off",
3611
+ tabIndex: -1,
3612
+ value: localValue ?? "",
3613
+ onChange: (e) => {
3614
+ setLocalValue(e.target.value);
3615
+ adjustTextareaHeight();
3616
+ },
3617
+ ref: textareaCombinedRefs,
3618
+ onBlur: () => {
3619
+ onBlur();
3620
+ onInputBlur();
3621
+ onChange(localValue, value);
3622
+ },
3623
+ ...input,
3624
+ ...rest
3625
+ }
3626
+ );
3627
+ }
3527
3628
  return /* @__PURE__ */ jsx10(
3528
3629
  "input",
3529
3630
  {
3530
3631
  className: clx6(
3531
- "txt-compact-small text-ui-fg-subtle flex size-full cursor-pointer items-center justify-center bg-transparent outline-none",
3532
- "focus:cursor-text"
3632
+ "txt-compact-small text-ui-fg-subtle flex size-full cursor-pointer bg-transparent outline-none",
3633
+ "focus:cursor-text",
3634
+ "items-center justify-center"
3533
3635
  ),
3534
3636
  autoComplete: "off",
3535
3637
  tabIndex: -1,
3536
- value: localValue,
3638
+ value: localValue ?? "",
3537
3639
  onChange: (e) => setLocalValue(e.target.value),
3538
3640
  ref: combinedRefs,
3539
3641
  onBlur: () => {
@@ -3550,7 +3652,7 @@ var Inner4 = ({
3550
3652
  // src/components/data-grid/components/data-grid-textarea-modal-cell.tsx
3551
3653
  import { clx as clx7, Textarea } from "@medusajs/ui";
3552
3654
  import { Popover as RadixPopover } from "radix-ui";
3553
- import { useCallback as useCallback15, useEffect as useEffect7, useRef as useRef4, useState as useState10 } from "react";
3655
+ import { useCallback as useCallback16, useEffect as useEffect7, useRef as useRef5, useState as useState10 } from "react";
3554
3656
  import { Controller as Controller5 } from "react-hook-form";
3555
3657
  import { jsx as jsx11, jsxs as jsxs8 } from "react/jsx-runtime";
3556
3658
  var DataGridExpandableTextCell = ({
@@ -3596,7 +3698,7 @@ var Inner5 = ({
3596
3698
  const [localValue, setLocalValue] = useState10(value || "");
3597
3699
  const [isPopoverOpen, setIsPopoverOpen] = useState10(false);
3598
3700
  const [popoverValue, setPopoverValue] = useState10(value || "");
3599
- const popoverContentRef = useRef4(null);
3701
+ const popoverContentRef = useRef5(null);
3600
3702
  useEffect7(() => {
3601
3703
  setLocalValue(value || "");
3602
3704
  }, [value]);
@@ -3636,7 +3738,7 @@ var Inner5 = ({
3636
3738
  };
3637
3739
  }, [isPopoverOpen]);
3638
3740
  const combinedRefs = useCombinedRefs(inputRef, ref);
3639
- const handleOverlayMouseDown = useCallback15(
3741
+ const handleOverlayMouseDown = useCallback16(
3640
3742
  (e) => {
3641
3743
  if (e.detail === 2) {
3642
3744
  e.preventDefault();
@@ -3663,7 +3765,7 @@ var Inner5 = ({
3663
3765
  onBlur();
3664
3766
  onInputBlur();
3665
3767
  };
3666
- const handlePopoverKeyDown = useCallback15((e) => {
3768
+ const handlePopoverKeyDown = useCallback16((e) => {
3667
3769
  if (e.key !== "Escape") {
3668
3770
  e.stopPropagation();
3669
3771
  }
@@ -3,7 +3,7 @@ import {
3
3
  TargetItem,
4
4
  TaxRateRuleReferenceSchema,
5
5
  createTaxRulePayload
6
- } from "./chunk-DK7IWUMK.mjs";
6
+ } from "./chunk-WYATCUOM.mjs";
7
7
  import {
8
8
  PercentageInput
9
9
  } from "./chunk-KEQOAJC2.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  languages
3
- } from "./chunk-SUYYSKCB.mjs";
3
+ } from "./chunk-535OVBXR.mjs";
4
4
 
5
5
  // src/hooks/use-date.tsx
6
6
  import { format, formatDistance, sub } from "date-fns";
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DataTableFilter,
10
10
  useSelectedParams
11
- } from "./chunk-GU5PJRPM.mjs";
11
+ } from "./chunk-ZQJPHZKI.mjs";
12
12
  import {
13
13
  TableSkeleton
14
14
  } from "./chunk-LPEUYMRK.mjs";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  DateCell,
9
9
  DateHeader
10
- } from "./chunk-ROKB75YP.mjs";
10
+ } from "./chunk-VT2JJ5C2.mjs";
11
11
  import {
12
12
  getOrderFulfillmentStatus,
13
13
  getOrderPaymentStatus
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-WG7UTTKY.mjs";
5
5
  import {
6
6
  DateCell
7
- } from "./chunk-ROKB75YP.mjs";
7
+ } from "./chunk-VT2JJ5C2.mjs";
8
8
  import {
9
9
  getOrderFulfillmentStatus,
10
10
  getOrderPaymentStatus