@medusajs/dashboard 2.12.2-snapshot-20251208150616 → 2.12.2-snapshot-20251208153852

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 (131) hide show
  1. package/dist/{api-key-management-detail-MVHIH2SV.mjs → api-key-management-detail-JQBB7UNB.mjs} +2 -2
  2. package/dist/app.css +3 -0
  3. package/dist/app.js +10178 -10268
  4. package/dist/app.mjs +3 -3
  5. package/dist/{campaign-detail-3CZRHOCA.mjs → campaign-detail-DLPAADFC.mjs} +2 -2
  6. package/dist/{categories-metadata-F2J34XOR.mjs → categories-metadata-IN4T3BQY.mjs} +2 -2
  7. package/dist/{category-detail-BDGDHOER.mjs → category-detail-MJYZEZJX.mjs} +5 -5
  8. package/dist/{category-products-DDSNMEDD.mjs → category-products-UH7BGTSC.mjs} +5 -5
  9. package/dist/{chunk-APVDSL3C.mjs → chunk-3HRJ5XSF.mjs} +1 -1
  10. package/dist/{chunk-I3IXYIVT.mjs → chunk-4GPZRJUJ.mjs} +4 -4
  11. package/dist/{chunk-F5NZDW7L.mjs → chunk-4VNR7DND.mjs} +2 -2
  12. package/dist/{chunk-57SBEKY2.mjs → chunk-6BP5RSIK.mjs} +1 -1
  13. package/dist/{chunk-PWZRXDU2.mjs → chunk-73EHKWNI.mjs} +1 -1
  14. package/dist/{chunk-R3O5PHUJ.mjs → chunk-CPF5RDPF.mjs} +1 -1
  15. package/dist/{chunk-B3AOQW2B.mjs → chunk-EQBVGH3N.mjs} +1 -1
  16. package/dist/{chunk-CIBBX5AE.mjs → chunk-FHDQ346H.mjs} +133 -122
  17. package/dist/{chunk-Z6NHG5LQ.mjs → chunk-FIFVOKTK.mjs} +1 -1
  18. package/dist/{chunk-RU4ZS47V.mjs → chunk-GN6OCHP4.mjs} +1 -11
  19. package/dist/{chunk-F63F3FIT.mjs → chunk-JJGE3EV6.mjs} +2 -2
  20. package/dist/{chunk-CCVHVJLI.mjs → chunk-XBJCK4CT.mjs} +8 -8
  21. package/dist/{chunk-TIAJ76TK.mjs → chunk-XHDXZAOR.mjs} +1 -1
  22. package/dist/{collection-add-products-PJWYCDQ3.mjs → collection-add-products-F7GTK2YV.mjs} +5 -5
  23. package/dist/{collection-detail-UYR52HFV.mjs → collection-detail-EZ6UCFMP.mjs} +5 -5
  24. package/dist/{collection-list-FN727ZY6.mjs → collection-list-YUECGEOO.mjs} +12 -12
  25. package/dist/{collection-metadata-F2EM2O4U.mjs → collection-metadata-XYMR7UIM.mjs} +2 -2
  26. package/dist/{customer-detail-UH3Q65CJ.mjs → customer-detail-7B35STSY.mjs} +5 -5
  27. package/dist/{customer-group-detail-SJGL4IYR.mjs → customer-group-detail-TY4AFNQE.mjs} +5 -5
  28. package/dist/{customer-group-list-HKKWTD7T.mjs → customer-group-list-CELWB4WM.mjs} +2 -2
  29. package/dist/{customers-add-customer-group-TQA5B4CN.mjs → customers-add-customer-group-524NN3AG.mjs} +5 -5
  30. package/dist/{edit-rules-EDKN3AWF.mjs → edit-rules-K2UXPE62.mjs} +2 -2
  31. package/dist/en.json +0 -12
  32. package/dist/{inventory-create-EFGTPSPO.mjs → inventory-create-SYD3QXIB.mjs} +2 -2
  33. package/dist/{inventory-detail-HPHXGBKE.mjs → inventory-detail-IWCB7FND.mjs} +2 -2
  34. package/dist/{inventory-metadata-SVFWF53J.mjs → inventory-metadata-YSDEZ4B7.mjs} +2 -2
  35. package/dist/{inventory-stock-KD5LCUX3.mjs → inventory-stock-JLJEWPUM.mjs} +2 -2
  36. package/dist/{location-detail-7XJCPZXW.mjs → location-detail-LNQUKDLQ.mjs} +6 -6
  37. package/dist/{location-fulfillment-providers-N2IYLT7J.mjs → location-fulfillment-providers-566Z6CCG.mjs} +3 -3
  38. package/dist/{location-service-zone-shipping-option-create-RN4YET76.mjs → location-service-zone-shipping-option-create-VENETBCK.mjs} +2 -2
  39. package/dist/{login-ARN4TVFT.mjs → login-R5C7HZ2A.mjs} +2 -2
  40. package/dist/{order-allocate-items-2BSD5BQW.mjs → order-allocate-items-W7HUKJ6F.mjs} +1 -1
  41. package/dist/{order-create-claim-32TTNI3C.mjs → order-create-claim-M5NNIQWR.mjs} +8 -8
  42. package/dist/{order-create-edit-FKK7CWJJ.mjs → order-create-edit-A2TMNFRS.mjs} +3 -3
  43. package/dist/{order-create-exchange-NVT3N6P3.mjs → order-create-exchange-CIB7URQD.mjs} +14 -14
  44. package/dist/{order-create-fulfillment-E4U5NUNB.mjs → order-create-fulfillment-YC4GFUTQ.mjs} +2 -2
  45. package/dist/{order-create-refund-7VN7JAG6.mjs → order-create-refund-EE7SWYLL.mjs} +2 -2
  46. package/dist/{order-create-return-PGTGLMCT.mjs → order-create-return-UWF4YKOP.mjs} +6 -6
  47. package/dist/{order-create-shipment-HO5ACO76.mjs → order-create-shipment-DNVN7NYA.mjs} +2 -2
  48. package/dist/{order-detail-EKFSSFTX.mjs → order-detail-FZ7PM4K3.mjs} +10 -10
  49. package/dist/{order-edit-billing-address-7YSLWSB6.mjs → order-edit-billing-address-XH37NDI5.mjs} +2 -2
  50. package/dist/{order-edit-email-D4XO7MGG.mjs → order-edit-email-NZE32DBD.mjs} +2 -2
  51. package/dist/{order-edit-shipping-address-DR4QNO76.mjs → order-edit-shipping-address-KMLTH4SM.mjs} +2 -2
  52. package/dist/{order-list-HBTLUSS2.mjs → order-list-NT5PQ2WS.mjs} +70 -19
  53. package/dist/{order-metadata-XBJZVGRO.mjs → order-metadata-VWNNC7RO.mjs} +2 -2
  54. package/dist/{order-receive-return-XZOE5MHF.mjs → order-receive-return-O5P477EZ.mjs} +3 -3
  55. package/dist/{order-request-transfer-DYWFNRVA.mjs → order-request-transfer-XOAINCAS.mjs} +2 -2
  56. package/dist/{price-list-configuration-WHSUMV5I.mjs → price-list-configuration-N2WC2QQP.mjs} +2 -2
  57. package/dist/{price-list-create-JJCL4OTN.mjs → price-list-create-NOTXIPOJ.mjs} +11 -12
  58. package/dist/{price-list-detail-WIY2LNHC.mjs → price-list-detail-BD2QQKAR.mjs} +5 -5
  59. package/dist/{price-list-prices-add-Q7OSNE2L.mjs → price-list-prices-add-25FOFNBS.mjs} +5 -5
  60. package/dist/{product-attributes-6GUDPZNO.mjs → product-attributes-GMX6UXAL.mjs} +3 -3
  61. package/dist/{product-create-5AWC5LYJ.mjs → product-create-NN6RP76T.mjs} +3 -3
  62. package/dist/{product-create-variant-WDOBNQBA.mjs → product-create-variant-YBJ2ZVUG.mjs} +2 -2
  63. package/dist/{product-detail-MSNKG672.mjs → product-detail-C5SAQWWU.mjs} +3 -3
  64. package/dist/{product-edit-IIR2OQ3W.mjs → product-edit-MNKW3ONX.mjs} +3 -3
  65. package/dist/{product-export-SSD4GDDD.mjs → product-export-H4ZOJWIB.mjs} +12 -12
  66. package/dist/{product-image-variants-edit-HM66BOGK.mjs → product-image-variants-edit-3YEXAIKS.mjs} +2 -2
  67. package/dist/{product-import-QWNYJF3O.mjs → product-import-PPULHBTB.mjs} +2 -2
  68. package/dist/{product-list-I5O5LFEC.mjs → product-list-NPLVU37E.mjs} +5 -5
  69. package/dist/{product-metadata-KH3EQCAB.mjs → product-metadata-SS7DIDYB.mjs} +2 -2
  70. package/dist/{product-organization-PHQLEHZJ.mjs → product-organization-BEHIZPWV.mjs} +3 -3
  71. package/dist/{product-stock-ZJRZ65WB.mjs → product-stock-3A22RDIR.mjs} +2 -2
  72. package/dist/{product-tag-create-D4LTDBT5.mjs → product-tag-create-XIWCLMRJ.mjs} +2 -2
  73. package/dist/{product-tag-detail-UL32QUFD.mjs → product-tag-detail-NVV6QQMN.mjs} +14 -14
  74. package/dist/{product-tag-edit-7NSMDMUG.mjs → product-tag-edit-H7YA4HEV.mjs} +2 -2
  75. package/dist/{product-tag-list-NHHL2I5B.mjs → product-tag-list-LGVKUJLL.mjs} +14 -14
  76. package/dist/{product-tag-metadata-TZF2VNW7.mjs → product-tag-metadata-JBYEI3M4.mjs} +2 -2
  77. package/dist/{product-type-detail-VT5OWDGP.mjs → product-type-detail-S6YG37AR.mjs} +5 -5
  78. package/dist/{product-type-metadata-NFY7YHJL.mjs → product-type-metadata-LRTMJT2P.mjs} +2 -2
  79. package/dist/{product-variant-detail-3GBFW7I7.mjs → product-variant-detail-GIHXE5YG.mjs} +2 -2
  80. package/dist/{product-variant-edit-HFFCFKNS.mjs → product-variant-edit-36MBVNPO.mjs} +2 -2
  81. package/dist/{product-variant-metadata-WTAODBYU.mjs → product-variant-metadata-LH7YGFW4.mjs} +2 -2
  82. package/dist/{promotion-create-GBK4VRSX.mjs → promotion-create-XOB4S6H5.mjs} +8 -8
  83. package/dist/{promotion-detail-HX2PR765.mjs → promotion-detail-YR4MNPNS.mjs} +2 -2
  84. package/dist/{refund-reason-create-36LXE3SD.mjs → refund-reason-create-LSAPI6XB.mjs} +2 -2
  85. package/dist/{refund-reason-edit-J2PO2IY4.mjs → refund-reason-edit-R4RV6BFG.mjs} +2 -2
  86. package/dist/{refund-reason-list-RMHSTV3G.mjs → refund-reason-list-MPTKOWX7.mjs} +3 -3
  87. package/dist/{region-metadata-IHSNACNW.mjs → region-metadata-4IMJHPZO.mjs} +2 -2
  88. package/dist/{reservation-detail-MKB2IT3S.mjs → reservation-detail-HWKSPGBU.mjs} +2 -2
  89. package/dist/{reservation-metadata-CYC72SJW.mjs → reservation-metadata-IIX7FU74.mjs} +2 -2
  90. package/dist/return-reason-list-IFFIDA5O.mjs +1 -1
  91. package/dist/{sales-channel-add-products-55WNY2W2.mjs → sales-channel-add-products-VH7V4XWO.mjs} +5 -5
  92. package/dist/{sales-channel-detail-VPCBNPO2.mjs → sales-channel-detail-VMRKBYCG.mjs} +5 -5
  93. package/dist/{sales-channel-list-SBG2NFTV.mjs → sales-channel-list-U7IVFVYC.mjs} +2 -2
  94. package/dist/{sales-channel-metadata-7E5ZGMRB.mjs → sales-channel-metadata-5EO4EB6E.mjs} +2 -2
  95. package/dist/{shipping-option-type-create-PN5PYK2K.mjs → shipping-option-type-create-DJEHSOSG.mjs} +2 -2
  96. package/dist/{shipping-option-type-detail-TA7D3UVD.mjs → shipping-option-type-detail-GWULT3WO.mjs} +3 -3
  97. package/dist/{shipping-option-type-edit-KP3KMVGK.mjs → shipping-option-type-edit-FSXPDBLI.mjs} +2 -2
  98. package/dist/{shipping-option-type-list-J3XI6I76.mjs → shipping-option-type-list-DAKNQ3N6.mjs} +3 -3
  99. package/dist/{shipping-profile-metadata-SJUTJ2NY.mjs → shipping-profile-metadata-37GNDVFQ.mjs} +2 -2
  100. package/dist/{store-detail-IIFZ7UND.mjs → store-detail-TTHDKQYD.mjs} +2 -2
  101. package/dist/{store-metadata-WLNYWKI6.mjs → store-metadata-KLQUPUQ4.mjs} +2 -2
  102. package/dist/{tax-region-create-YWNJ4XH3.mjs → tax-region-create-FIGRJOC5.mjs} +2 -2
  103. package/dist/{tax-region-detail-YWJ27M7F.mjs → tax-region-detail-AXT4TMZB.mjs} +16 -16
  104. package/dist/{tax-region-edit-QYT3LP5H.mjs → tax-region-edit-UOGPNA25.mjs} +2 -2
  105. package/dist/{tax-region-province-detail-HPGYHOPY.mjs → tax-region-province-detail-4YCWNZPW.mjs} +16 -16
  106. package/dist/{tax-region-tax-override-create-SVMSORW3.mjs → tax-region-tax-override-create-FHUXLTPK.mjs} +13 -13
  107. package/dist/{tax-region-tax-override-edit-4ZHIAP2E.mjs → tax-region-tax-override-edit-GQYS6HCW.mjs} +14 -14
  108. package/dist/{user-metadata-BODYS2FN.mjs → user-metadata-RU3Z3BLD.mjs} +2 -2
  109. package/dist/{workflow-execution-detail-CQCTPUMI.mjs → workflow-execution-detail-R2FDAUMD.mjs} +2 -2
  110. package/package.json +9 -9
  111. package/src/components/utilities/error-boundary/error-boundary.tsx +36 -0
  112. package/src/dashboard-app/routes/get-route.map.tsx +0 -6
  113. package/src/hooks/api/orders.tsx +1 -18
  114. package/src/i18n/translations/$schema.json +0 -40
  115. package/src/i18n/translations/en.json +0 -12
  116. package/src/routes/orders/order-create-claim/components/claim-create-form/claim-create-form.tsx +4 -11
  117. package/src/routes/orders/order-create-exchange/components/exchange-create-form/exchange-create-form.tsx +4 -11
  118. package/src/routes/orders/order-create-return/components/return-create-form/return-create-form.tsx +4 -11
  119. package/src/routes/orders/order-list/components/order-list-table/order-list-table.tsx +2 -8
  120. package/src/routes/price-lists/price-list-create/components/price-list-create-form/price-list-products-form.tsx +0 -1
  121. package/dist/chunk-35LSPN2U.mjs +0 -66
  122. package/dist/order-export-KSLBMRMM.mjs +0 -119
  123. package/src/routes/orders/order-export/components/export-filters.tsx +0 -22
  124. package/src/routes/orders/order-export/index.ts +0 -1
  125. package/src/routes/orders/order-export/order-export.tsx +0 -66
  126. package/dist/{chunk-2QH2TBJ2.mjs → chunk-ACJ3PPQJ.mjs} +3 -3
  127. package/dist/{customer-group-add-customers-2Y2GVCDV.mjs → customer-group-add-customers-QU4Q56SS.mjs} +3 -3
  128. package/dist/{customer-list-TG4D4QOT.mjs → customer-list-ZXCGIXJC.mjs} +3 -3
  129. package/dist/{location-service-zone-shipping-option-edit-LXZ77VD7.mjs → location-service-zone-shipping-option-edit-TTVV3BSV.mjs} +3 -3
  130. package/dist/{product-type-list-7WQ5D2KV.mjs → product-type-list-QX7QC6RI.mjs} +3 -3
  131. package/dist/{region-list-JAQXIBYD.mjs → region-list-XQRIBDMF.mjs} +3 -3
@@ -3,21 +3,21 @@ import {
3
3
  TargetItem,
4
4
  TaxRateRuleReferenceSchema,
5
5
  createTaxRulePayload
6
- } from "./chunk-CCVHVJLI.mjs";
6
+ } from "./chunk-XBJCK4CT.mjs";
7
7
  import "./chunk-M4Q5Q4I3.mjs";
8
8
  import "./chunk-PVW6M64S.mjs";
9
9
  import "./chunk-QMRGIWOP.mjs";
10
10
  import "./chunk-CV65NY6Y.mjs";
11
- import "./chunk-ZJRFL6ZN.mjs";
12
11
  import "./chunk-I3VB6NM2.mjs";
12
+ import "./chunk-ZJRFL6ZN.mjs";
13
13
  import "./chunk-XWO5BP42.mjs";
14
14
  import {
15
15
  PercentageInput
16
16
  } from "./chunk-KEQOAJC2.mjs";
17
17
  import "./chunk-GA3UMQMZ.mjs";
18
- import "./chunk-UC26CCHZ.mjs";
19
18
  import "./chunk-7R743WZ6.mjs";
20
19
  import "./chunk-IR5DHEKS.mjs";
20
+ import "./chunk-UC26CCHZ.mjs";
21
21
  import "./chunk-MSDRGCRR.mjs";
22
22
  import "./chunk-WG7UTTKY.mjs";
23
23
  import "./chunk-ROKB75YP.mjs";
@@ -34,25 +34,25 @@ import "./chunk-YTN73JYH.mjs";
34
34
  import "./chunk-HQKGZADC.mjs";
35
35
  import "./chunk-EMIHDNB7.mjs";
36
36
  import "./chunk-DK4WIVY6.mjs";
37
+ import "./chunk-MFALVTRQ.mjs";
38
+ import "./chunk-RIV7FKGN.mjs";
39
+ import "./chunk-TDK3JDOB.mjs";
37
40
  import "./chunk-3C6WQ7NH.mjs";
38
41
  import "./chunk-CBSCX7RE.mjs";
42
+ import "./chunk-FHSC5X62.mjs";
43
+ import "./chunk-XR4GEMGR.mjs";
39
44
  import "./chunk-LT4MVCA7.mjs";
45
+ import "./chunk-WRSGHGAT.mjs";
40
46
  import "./chunk-6OU4CHZI.mjs";
41
47
  import "./chunk-AH4DORIW.mjs";
42
48
  import "./chunk-W7625H47.mjs";
49
+ import "./chunk-MOSRJHJ3.mjs";
43
50
  import "./chunk-DLZWPHHO.mjs";
44
51
  import "./chunk-LSEYENCI.mjs";
45
- import "./chunk-MFALVTRQ.mjs";
46
- import "./chunk-RIV7FKGN.mjs";
47
- import "./chunk-TDK3JDOB.mjs";
48
- import "./chunk-FHSC5X62.mjs";
49
- import "./chunk-XR4GEMGR.mjs";
50
- import "./chunk-WRSGHGAT.mjs";
51
- import "./chunk-MOSRJHJ3.mjs";
52
52
  import "./chunk-OMC5JCQH.mjs";
53
53
  import "./chunk-IW4TACOD.mjs";
54
- import "./chunk-PWZRXDU2.mjs";
55
54
  import "./chunk-R65S6ZZV.mjs";
55
+ import "./chunk-73EHKWNI.mjs";
56
56
  import "./chunk-GU5PJRPM.mjs";
57
57
  import "./chunk-C76H5USB.mjs";
58
58
  import "./chunk-DZWH2RV6.mjs";
@@ -80,7 +80,7 @@ import "./chunk-SUYYSKCB.mjs";
80
80
  import {
81
81
  Form
82
82
  } from "./chunk-OBQI23QM.mjs";
83
- import "./chunk-57SBEKY2.mjs";
83
+ import "./chunk-6BP5RSIK.mjs";
84
84
  import "./chunk-I4OBEAOJ.mjs";
85
85
  import {
86
86
  useCreateTaxRate
@@ -102,7 +102,7 @@ import "./chunk-NHDFPGQ3.mjs";
102
102
  import "./chunk-A63RZVX6.mjs";
103
103
  import "./chunk-HBXV7ENS.mjs";
104
104
  import "./chunk-CDORR33H.mjs";
105
- import "./chunk-RU4ZS47V.mjs";
105
+ import "./chunk-GN6OCHP4.mjs";
106
106
  import "./chunk-N4O5FAUC.mjs";
107
107
  import "./chunk-7AX6R6G6.mjs";
108
108
  import "./chunk-N3FCYZV6.mjs";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  DISPLAY_OVERRIDE_ITEMS_LIMIT,
3
3
  TaxRegionTaxOverrideEditForm
4
- } from "./chunk-APVDSL3C.mjs";
5
- import "./chunk-CCVHVJLI.mjs";
4
+ } from "./chunk-3HRJ5XSF.mjs";
5
+ import "./chunk-XBJCK4CT.mjs";
6
6
  import "./chunk-M4Q5Q4I3.mjs";
7
7
  import "./chunk-PVW6M64S.mjs";
8
8
  import "./chunk-QMRGIWOP.mjs";
9
9
  import "./chunk-CV65NY6Y.mjs";
10
- import "./chunk-ZJRFL6ZN.mjs";
11
10
  import "./chunk-I3VB6NM2.mjs";
11
+ import "./chunk-ZJRFL6ZN.mjs";
12
12
  import "./chunk-XWO5BP42.mjs";
13
13
  import "./chunk-KEQOAJC2.mjs";
14
14
  import "./chunk-GA3UMQMZ.mjs";
15
- import "./chunk-UC26CCHZ.mjs";
16
15
  import "./chunk-7R743WZ6.mjs";
17
16
  import "./chunk-IR5DHEKS.mjs";
17
+ import "./chunk-UC26CCHZ.mjs";
18
18
  import "./chunk-MSDRGCRR.mjs";
19
19
  import "./chunk-WG7UTTKY.mjs";
20
20
  import "./chunk-ROKB75YP.mjs";
@@ -31,25 +31,25 @@ import "./chunk-YTN73JYH.mjs";
31
31
  import "./chunk-HQKGZADC.mjs";
32
32
  import "./chunk-EMIHDNB7.mjs";
33
33
  import "./chunk-DK4WIVY6.mjs";
34
+ import "./chunk-MFALVTRQ.mjs";
35
+ import "./chunk-RIV7FKGN.mjs";
36
+ import "./chunk-TDK3JDOB.mjs";
34
37
  import "./chunk-3C6WQ7NH.mjs";
35
38
  import "./chunk-CBSCX7RE.mjs";
39
+ import "./chunk-FHSC5X62.mjs";
40
+ import "./chunk-XR4GEMGR.mjs";
36
41
  import "./chunk-LT4MVCA7.mjs";
42
+ import "./chunk-WRSGHGAT.mjs";
37
43
  import "./chunk-6OU4CHZI.mjs";
38
44
  import "./chunk-AH4DORIW.mjs";
39
45
  import "./chunk-W7625H47.mjs";
46
+ import "./chunk-MOSRJHJ3.mjs";
40
47
  import "./chunk-DLZWPHHO.mjs";
41
48
  import "./chunk-LSEYENCI.mjs";
42
- import "./chunk-MFALVTRQ.mjs";
43
- import "./chunk-RIV7FKGN.mjs";
44
- import "./chunk-TDK3JDOB.mjs";
45
- import "./chunk-FHSC5X62.mjs";
46
- import "./chunk-XR4GEMGR.mjs";
47
- import "./chunk-WRSGHGAT.mjs";
48
- import "./chunk-MOSRJHJ3.mjs";
49
49
  import "./chunk-OMC5JCQH.mjs";
50
50
  import "./chunk-IW4TACOD.mjs";
51
- import "./chunk-PWZRXDU2.mjs";
52
51
  import "./chunk-R65S6ZZV.mjs";
52
+ import "./chunk-73EHKWNI.mjs";
53
53
  import "./chunk-GU5PJRPM.mjs";
54
54
  import "./chunk-C76H5USB.mjs";
55
55
  import "./chunk-DZWH2RV6.mjs";
@@ -66,7 +66,7 @@ import "./chunk-OC7BQLYI.mjs";
66
66
  import "./chunk-S4DMV3ZT.mjs";
67
67
  import "./chunk-SUYYSKCB.mjs";
68
68
  import "./chunk-OBQI23QM.mjs";
69
- import "./chunk-57SBEKY2.mjs";
69
+ import "./chunk-6BP5RSIK.mjs";
70
70
  import "./chunk-I4OBEAOJ.mjs";
71
71
  import {
72
72
  useTaxRate
@@ -90,7 +90,7 @@ import {
90
90
  useShippingOptions
91
91
  } from "./chunk-HBXV7ENS.mjs";
92
92
  import "./chunk-CDORR33H.mjs";
93
- import "./chunk-RU4ZS47V.mjs";
93
+ import "./chunk-GN6OCHP4.mjs";
94
94
  import "./chunk-N4O5FAUC.mjs";
95
95
  import "./chunk-7AX6R6G6.mjs";
96
96
  import "./chunk-N3FCYZV6.mjs";
@@ -11,7 +11,7 @@ import "./chunk-LPEUYMRK.mjs";
11
11
  import "./chunk-OC7BQLYI.mjs";
12
12
  import "./chunk-S4DMV3ZT.mjs";
13
13
  import "./chunk-OBQI23QM.mjs";
14
- import "./chunk-57SBEKY2.mjs";
14
+ import "./chunk-6BP5RSIK.mjs";
15
15
  import "./chunk-I4OBEAOJ.mjs";
16
16
  import "./chunk-HI6URQ7H.mjs";
17
17
  import "./chunk-6CLQKVAU.mjs";
@@ -32,7 +32,7 @@ import "./chunk-NHDFPGQ3.mjs";
32
32
  import "./chunk-A63RZVX6.mjs";
33
33
  import "./chunk-HBXV7ENS.mjs";
34
34
  import "./chunk-CDORR33H.mjs";
35
- import "./chunk-RU4ZS47V.mjs";
35
+ import "./chunk-GN6OCHP4.mjs";
36
36
  import "./chunk-N4O5FAUC.mjs";
37
37
  import "./chunk-7AX6R6G6.mjs";
38
38
  import "./chunk-N3FCYZV6.mjs";
@@ -20,7 +20,7 @@ import {
20
20
  import {
21
21
  useDocumentDirection
22
22
  } from "./chunk-S4DMV3ZT.mjs";
23
- import "./chunk-57SBEKY2.mjs";
23
+ import "./chunk-6BP5RSIK.mjs";
24
24
  import "./chunk-I4OBEAOJ.mjs";
25
25
  import "./chunk-HI6URQ7H.mjs";
26
26
  import "./chunk-6CLQKVAU.mjs";
@@ -41,7 +41,7 @@ import "./chunk-NHDFPGQ3.mjs";
41
41
  import "./chunk-A63RZVX6.mjs";
42
42
  import "./chunk-HBXV7ENS.mjs";
43
43
  import "./chunk-CDORR33H.mjs";
44
- import "./chunk-RU4ZS47V.mjs";
44
+ import "./chunk-GN6OCHP4.mjs";
45
45
  import "./chunk-N4O5FAUC.mjs";
46
46
  import "./chunk-7AX6R6G6.mjs";
47
47
  import "./chunk-N3FCYZV6.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/dashboard",
3
- "version": "2.12.2-snapshot-20251208150616",
3
+ "version": "2.12.2-snapshot-20251208153852",
4
4
  "scripts": {
5
5
  "generate:static": "node ./scripts/generate-currencies.js && prettier --write ./src/lib/currencies.ts",
6
6
  "dev": "../../../node_modules/.bin/vite",
@@ -46,10 +46,10 @@
46
46
  "@dnd-kit/utilities": "^3.2.2",
47
47
  "@hookform/error-message": "^2.0.1",
48
48
  "@hookform/resolvers": "3.4.2",
49
- "@medusajs/admin-shared": "2.12.2-snapshot-20251208150616",
50
- "@medusajs/icons": "2.12.2-snapshot-20251208150616",
51
- "@medusajs/js-sdk": "2.12.2-snapshot-20251208150616",
52
- "@medusajs/ui": "4.0.30-snapshot-20251208150616",
49
+ "@medusajs/admin-shared": "2.12.2-snapshot-20251208153852",
50
+ "@medusajs/icons": "2.12.2-snapshot-20251208153852",
51
+ "@medusajs/js-sdk": "2.12.2-snapshot-20251208153852",
52
+ "@medusajs/ui": "4.0.30-snapshot-20251208153852",
53
53
  "@radix-ui/react-dialog": "1.1.4",
54
54
  "@radix-ui/react-dismissable-layer": "1.1.4",
55
55
  "@tanstack/react-query": "5.64.2",
@@ -80,10 +80,10 @@
80
80
  "zod": "3.25.76"
81
81
  },
82
82
  "devDependencies": {
83
- "@medusajs/admin-shared": "2.12.2-snapshot-20251208150616",
84
- "@medusajs/admin-vite-plugin": "2.12.2-snapshot-20251208150616",
85
- "@medusajs/types": "2.12.2-snapshot-20251208150616",
86
- "@medusajs/ui-preset": "2.12.2-snapshot-20251208150616"
83
+ "@medusajs/admin-shared": "2.12.2-snapshot-20251208153852",
84
+ "@medusajs/admin-vite-plugin": "2.12.2-snapshot-20251208153852",
85
+ "@medusajs/types": "2.12.2-snapshot-20251208153852",
86
+ "@medusajs/ui-preset": "2.12.2-snapshot-20251208153852"
87
87
  },
88
88
  "packageManager": "yarn@3.2.1"
89
89
  }
@@ -1,5 +1,6 @@
1
1
  import { ExclamationCircle } from "@medusajs/icons"
2
2
  import { Text } from "@medusajs/ui"
3
+ import { useEffect } from "react"
3
4
  import { useTranslation } from "react-i18next"
4
5
  import { Navigate, useLocation, useRouteError } from "react-router-dom"
5
6
 
@@ -12,6 +13,41 @@ export const ErrorBoundary = () => {
12
13
 
13
14
  let code: number | null = null
14
15
 
16
+ /**
17
+ * Send error to parent frame when running in an iframe, e.g. for Bloom sandboxes.
18
+ */
19
+ useEffect(() => {
20
+ if (window !== window.parent && error) {
21
+ let filename: string | undefined
22
+ let lineno: number | undefined
23
+ let colno: number | undefined
24
+
25
+ if (error instanceof Error && error.stack) {
26
+ // Parse the first location from the stack trace
27
+ const match = error.stack.match(
28
+ /at\s+(?:\S+\s+\()?(https?:\/\/[^)]+):(\d+):(\d+)/
29
+ )
30
+ if (match) {
31
+ filename = match[1]
32
+ lineno = parseInt(match[2], 10)
33
+ colno = parseInt(match[3], 10)
34
+ }
35
+ }
36
+
37
+ const errorPayload = {
38
+ type: "ADMIN_RUNTIME_ERROR",
39
+ error: {
40
+ message: error instanceof Error ? error.message : String(error),
41
+ filename,
42
+ lineno,
43
+ colno,
44
+ stack: error instanceof Error ? error.stack : undefined,
45
+ },
46
+ }
47
+ window.parent.postMessage(errorPayload, "*")
48
+ }
49
+ }, [error])
50
+
15
51
  if (isFetchError(error)) {
16
52
  if (error.status === 401) {
17
53
  return <Navigate to="/login" state={{ from: location }} replace />
@@ -300,12 +300,6 @@ export function getRouteMap({
300
300
  {
301
301
  path: "",
302
302
  lazy: () => import("../../routes/orders/order-list"),
303
- children: [
304
- {
305
- path: "export",
306
- lazy: () => import("../../routes/orders/order-export"),
307
- },
308
- ],
309
303
  },
310
304
  {
311
305
  path: ":id",
@@ -10,8 +10,8 @@ import {
10
10
  import { sdk } from "../../lib/client"
11
11
  import { queryClient } from "../../lib/query-client"
12
12
  import { queryKeysFactory, TQueryKey } from "../../lib/query-key-factory"
13
- import { inventoryItemsQueryKeys } from "./inventory"
14
13
  import { reservationItemsQueryKeys } from "./reservations"
14
+ import { inventoryItemsQueryKeys } from "./inventory"
15
15
 
16
16
  const ORDERS_QUERY_KEY = "orders" as const
17
17
  const _orderKeys = queryKeysFactory(ORDERS_QUERY_KEY) as TQueryKey<"orders"> & {
@@ -438,20 +438,3 @@ export const useUpdateOrderChange = (
438
438
  ...options,
439
439
  })
440
440
  }
441
-
442
- export const useExportOrders = (
443
- query?: HttpTypes.AdminOrderFilters,
444
- options?: UseMutationOptions<
445
- { transaction_id: string },
446
- FetchError,
447
- HttpTypes.AdminOrderFilters
448
- >
449
- ) => {
450
- return useMutation({
451
- mutationFn: () => sdk.admin.order.export(query),
452
- onSuccess: (data, variables, context) => {
453
- options?.onSuccess?.(data, variables, context)
454
- },
455
- ...options,
456
- })
457
- }
@@ -4049,45 +4049,6 @@
4049
4049
  "required": ["noRecordsMessage"],
4050
4050
  "additionalProperties": false
4051
4051
  },
4052
- "export": {
4053
- "type": "object",
4054
- "properties": {
4055
- "header": {
4056
- "type": "string"
4057
- },
4058
- "description": {
4059
- "type": "string"
4060
- },
4061
- "success": {
4062
- "type": "object",
4063
- "properties": {
4064
- "title": {
4065
- "type": "string"
4066
- },
4067
- "description": {
4068
- "type": "string"
4069
- }
4070
- },
4071
- "required": ["title", "description"],
4072
- "additionalProperties": false
4073
- },
4074
- "filters": {
4075
- "type": "object",
4076
- "properties": {
4077
- "title": {
4078
- "type": "string"
4079
- },
4080
- "description": {
4081
- "type": "string"
4082
- }
4083
- },
4084
- "required": ["title", "description"],
4085
- "additionalProperties": false
4086
- }
4087
- },
4088
- "required": ["header", "description", "success", "filters"],
4089
- "additionalProperties": false
4090
- },
4091
4052
  "status": {
4092
4053
  "type": "object",
4093
4054
  "properties": {
@@ -5779,7 +5740,6 @@
5779
5740
  "orderCanceled",
5780
5741
  "onDateFromSalesChannel",
5781
5742
  "list",
5782
- "export",
5783
5743
  "status",
5784
5744
  "summary",
5785
5745
  "transfer",
@@ -1080,18 +1080,6 @@
1080
1080
  "list": {
1081
1081
  "noRecordsMessage": "Your orders will show up here."
1082
1082
  },
1083
- "export": {
1084
- "header": "Export Order List",
1085
- "description": "Export the order list to a CSV file.",
1086
- "success": {
1087
- "title": "Export started",
1088
- "description": "You will be notified when the export is ready."
1089
- },
1090
- "filters": {
1091
- "title": "Filters",
1092
- "description": "The following filters will be applied to the export."
1093
- }
1094
- },
1095
1083
  "status": {
1096
1084
  "not_paid": "Not paid",
1097
1085
  "pending": "Pending",
@@ -568,16 +568,6 @@ export const ClaimCreateForm = ({
568
568
  }
569
569
  }, [])
570
570
 
571
- /**
572
- * For estimated difference show pending difference and subtract the total of inbound items (assume all items will be returned correctly)
573
- * We don't include inbound total in the pending difference because it will be considered returned when the receive flow is completed
574
- */
575
- const estimatedDifference =
576
- preview.summary.pending_difference -
577
- inboundPreviewItems.reduce((acc, item) => {
578
- return acc + item.total
579
- }, 0)
580
-
581
571
  const inboundShippingTotal = useMemo(() => {
582
572
  const method = preview.shipping_methods.find(
583
573
  (sm) =>
@@ -1020,7 +1010,10 @@ export const ClaimCreateForm = ({
1020
1010
  {t("orders.claims.refundAmount")}
1021
1011
  </span>
1022
1012
  <span className="txt-small font-medium">
1023
- {getStylizedAmount(estimatedDifference, order.currency_code)}
1013
+ {getStylizedAmount(
1014
+ preview.summary.pending_difference,
1015
+ order.currency_code
1016
+ )}
1024
1017
  </span>
1025
1018
  </div>
1026
1019
  </div>
@@ -272,16 +272,6 @@ export const ExchangeCreateForm = ({
272
272
  }
273
273
  }, [])
274
274
 
275
- /**
276
- * For estimated difference show pending difference and subtract the total of inbound items (assume all items will be returned correctly)
277
- * We don't include inbound total in the pending difference because it will be considered returned when the receive flow is completed
278
- */
279
- const estimatedDifference =
280
- preview.summary.pending_difference -
281
- inboundPreviewItems.reduce((acc, item) => {
282
- return acc + item.total
283
- }, 0)
284
-
285
275
  const inboundShippingTotal = useMemo(() => {
286
276
  const method = preview.shipping_methods.find(
287
277
  (sm) =>
@@ -526,7 +516,10 @@ export const ExchangeCreateForm = ({
526
516
  {t("orders.exchanges.refundAmount")}
527
517
  </span>
528
518
  <span className="txt-small font-medium">
529
- {getStylizedAmount(estimatedDifference, order.currency_code)}
519
+ {getStylizedAmount(
520
+ preview.summary.pending_difference,
521
+ order.currency_code
522
+ )}
530
523
  </span>
531
524
  </div>
532
525
  </div>
@@ -402,16 +402,6 @@ export const ReturnCreateForm = ({
402
402
  return method?.total || 0
403
403
  }, [preview.shipping_methods])
404
404
 
405
- /**
406
- * For estimated difference show pending difference and subtract the total of inbound items (assume all items will be returned correctly)
407
- * We don't include inbound total in the pending difference because it will be considered returned when the receive flow is completed
408
- */
409
- const estimatedDifference =
410
- preview.summary.pending_difference -
411
- previewItems.reduce((acc, item) => {
412
- return acc + item.total
413
- }, 0)
414
-
415
405
  return (
416
406
  <RouteFocusModal.Form
417
407
  form={form}
@@ -717,7 +707,10 @@ export const ReturnCreateForm = ({
717
707
  {t("orders.returns.estDifference")}
718
708
  </span>
719
709
  <span className="txt-small font-medium">
720
- {getStylizedAmount(estimatedDifference, order.currency_code)}
710
+ {getStylizedAmount(
711
+ preview.summary.pending_difference,
712
+ order.currency_code
713
+ )}
721
714
  </span>
722
715
  </div>
723
716
  </div>
@@ -1,16 +1,15 @@
1
- import { Button, Container, Heading } from "@medusajs/ui"
1
+ import { Container, Heading } from "@medusajs/ui"
2
2
  import { keepPreviousData } from "@tanstack/react-query"
3
3
  import { useTranslation } from "react-i18next"
4
- import { Link, Outlet, useLocation } from "react-router-dom"
5
4
 
6
5
  import { _DataTable } from "../../../../../components/table/data-table/data-table"
7
6
  import { useOrders } from "../../../../../hooks/api/orders"
8
7
  import { useOrderTableColumns } from "../../../../../hooks/table/columns/use-order-table-columns"
8
+ import { useOrderTableFilters } from "./use-order-table-filters"
9
9
  import { useOrderTableQuery } from "../../../../../hooks/table/query/use-order-table-query"
10
10
  import { useDataTable } from "../../../../../hooks/use-data-table"
11
11
  import { useFeatureFlag } from "../../../../../providers/feature-flag-provider"
12
12
  import { ConfigurableOrderListTable } from "./configurable-order-list-table"
13
- import { useOrderTableFilters } from "./use-order-table-filters"
14
13
 
15
14
  import { DEFAULT_FIELDS } from "../../const"
16
15
 
@@ -18,7 +17,6 @@ const PAGE_SIZE = 20
18
17
 
19
18
  export const OrderListTable = () => {
20
19
  const { t } = useTranslation()
21
- const location = useLocation()
22
20
  const isViewConfigEnabled = useFeatureFlag("view_configurations")
23
21
 
24
22
  // If feature flag is enabled, use the new configurable table
@@ -59,9 +57,6 @@ export const OrderListTable = () => {
59
57
  <Container className="divide-y p-0">
60
58
  <div className="flex items-center justify-between px-6 py-4">
61
59
  <Heading>{t("orders.domain")}</Heading>
62
- <Button size="small" variant="secondary" asChild>
63
- <Link to={`export${location.search}`}>{t("actions.export")}</Link>
64
- </Button>
65
60
  </div>
66
61
  <_DataTable
67
62
  columns={columns}
@@ -83,7 +78,6 @@ export const OrderListTable = () => {
83
78
  message: t("orders.list.noRecordsMessage"),
84
79
  }}
85
80
  />
86
- <Outlet />
87
81
  </Container>
88
82
  )
89
83
  }
@@ -109,7 +109,6 @@ export const PriceListProductsForm = ({ form }: PriceListProductsFormProps) => {
109
109
  updater,
110
110
  },
111
111
  pageSize: PAGE_SIZE,
112
- prefix: PREFIX,
113
112
  })
114
113
 
115
114
  if (isError) {
@@ -1,66 +0,0 @@
1
- import {
2
- useSalesChannels
3
- } from "./chunk-N3FCYZV6.mjs";
4
- import {
5
- useRegions
6
- } from "./chunk-HP2JH45P.mjs";
7
-
8
- // src/routes/orders/order-list/components/order-list-table/use-order-table-filters.tsx
9
- import { useMemo } from "react";
10
- import { useTranslation } from "react-i18next";
11
- var useOrderTableFilters = () => {
12
- const { t } = useTranslation();
13
- const { regions } = useRegions({
14
- limit: 1e3,
15
- fields: "id,name"
16
- });
17
- const { sales_channels } = useSalesChannels({
18
- limit: 1e3,
19
- fields: "id,name"
20
- });
21
- return useMemo(() => {
22
- const filters = [
23
- {
24
- key: "created_at",
25
- label: t("fields.createdAt"),
26
- type: "date"
27
- },
28
- {
29
- key: "updated_at",
30
- label: t("fields.updatedAt"),
31
- type: "date"
32
- }
33
- ];
34
- if (regions?.length) {
35
- filters.push({
36
- key: "region_id",
37
- label: t("fields.region"),
38
- type: "select",
39
- multiple: true,
40
- searchable: true,
41
- options: regions.map((r) => ({
42
- label: r.name,
43
- value: r.id
44
- }))
45
- });
46
- }
47
- if (sales_channels?.length) {
48
- filters.push({
49
- key: "sales_channel_id",
50
- label: t("fields.salesChannel"),
51
- type: "select",
52
- multiple: true,
53
- searchable: true,
54
- options: sales_channels.map((s) => ({
55
- label: s.name,
56
- value: s.id
57
- }))
58
- });
59
- }
60
- return filters;
61
- }, [regions, sales_channels, t]);
62
- };
63
-
64
- export {
65
- useOrderTableFilters
66
- };