@medusajs/dashboard 2.10.4-snapshot-20251006181454 → 2.10.4-snapshot-20251007075945
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/app.js +2 -4
- package/dist/app.mjs +1 -1
- package/dist/{chunk-3Z76SMIN.mjs → chunk-EES6O4ND.mjs} +1 -1
- package/dist/{chunk-HMIZU3ZP.mjs → chunk-RVHD6PIL.mjs} +8 -8
- package/dist/{order-detail-7MEXVQ2H.mjs → order-detail-XZKV6VOY.mjs} +2 -4
- package/dist/{product-attributes-ETPOJ5TC.mjs → product-attributes-TLXB4J7A.mjs} +2 -2
- package/dist/{product-create-NXXYNACI.mjs → product-create-7HOLP36D.mjs} +1 -1
- package/dist/{product-detail-NIQK4ZYY.mjs → product-detail-76PYSS7T.mjs} +2 -2
- package/dist/{product-edit-PUDSCOK4.mjs → product-edit-2QP6R36U.mjs} +2 -2
- package/dist/{product-organization-JU3WHMPG.mjs → product-organization-6FNRPZOP.mjs} +2 -2
- package/dist/{product-shipping-profile-4JFLMVEW.mjs → product-shipping-profile-LVR2XRIN.mjs} +2 -2
- package/package.json +9 -9
- package/src/routes/orders/order-detail/components/order-summary-section/order-summary-section.tsx +2 -4
package/dist/app.js
CHANGED
@@ -127294,20 +127294,18 @@ var init_order_summary_section = __esm({
|
|
127294
127294
|
const taxCodeMap = {};
|
127295
127295
|
order.items.forEach((item) => {
|
127296
127296
|
item.tax_lines?.forEach((line) => {
|
127297
|
-
const currTotal = line.subtotal || 0;
|
127298
127297
|
const prevTotal = taxCodeMap[line.code]?.total || 0;
|
127299
127298
|
taxCodeMap[line.code] = {
|
127300
|
-
total: prevTotal +
|
127299
|
+
total: prevTotal + line.subtotal,
|
127301
127300
|
rate: line.rate
|
127302
127301
|
};
|
127303
127302
|
});
|
127304
127303
|
});
|
127305
127304
|
order.shipping_methods.forEach((sm) => {
|
127306
127305
|
sm.tax_lines?.forEach((line) => {
|
127307
|
-
const currTotal = line.subtotal || 0;
|
127308
127306
|
const prevTotal = taxCodeMap[line.code]?.total || 0;
|
127309
127307
|
taxCodeMap[line.code] = {
|
127310
|
-
total: prevTotal +
|
127308
|
+
total: prevTotal + line.subtotal,
|
127311
127309
|
rate: line.rate
|
127312
127310
|
};
|
127313
127311
|
});
|
package/dist/app.mjs
CHANGED
@@ -3248,7 +3248,7 @@ function getRouteMap({
|
|
3248
3248
|
children: [
|
3249
3249
|
{
|
3250
3250
|
path: "create",
|
3251
|
-
lazy: () => import("./product-create-
|
3251
|
+
lazy: () => import("./product-create-7HOLP36D.mjs")
|
3252
3252
|
},
|
3253
3253
|
{
|
3254
3254
|
path: "import",
|
@@ -3264,7 +3264,7 @@ function getRouteMap({
|
|
3264
3264
|
path: ":id",
|
3265
3265
|
errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
|
3266
3266
|
lazy: async () => {
|
3267
|
-
const { Breadcrumb, loader } = await import("./product-detail-
|
3267
|
+
const { Breadcrumb, loader } = await import("./product-detail-76PYSS7T.mjs");
|
3268
3268
|
return {
|
3269
3269
|
Component: Outlet4,
|
3270
3270
|
loader,
|
@@ -3276,11 +3276,11 @@ function getRouteMap({
|
|
3276
3276
|
children: [
|
3277
3277
|
{
|
3278
3278
|
path: "",
|
3279
|
-
lazy: () => import("./product-detail-
|
3279
|
+
lazy: () => import("./product-detail-76PYSS7T.mjs"),
|
3280
3280
|
children: [
|
3281
3281
|
{
|
3282
3282
|
path: "edit",
|
3283
|
-
lazy: () => import("./product-edit-
|
3283
|
+
lazy: () => import("./product-edit-2QP6R36U.mjs")
|
3284
3284
|
},
|
3285
3285
|
{
|
3286
3286
|
path: "edit-variant",
|
@@ -3292,15 +3292,15 @@ function getRouteMap({
|
|
3292
3292
|
},
|
3293
3293
|
{
|
3294
3294
|
path: "attributes",
|
3295
|
-
lazy: () => import("./product-attributes-
|
3295
|
+
lazy: () => import("./product-attributes-TLXB4J7A.mjs")
|
3296
3296
|
},
|
3297
3297
|
{
|
3298
3298
|
path: "organization",
|
3299
|
-
lazy: () => import("./product-organization-
|
3299
|
+
lazy: () => import("./product-organization-6FNRPZOP.mjs")
|
3300
3300
|
},
|
3301
3301
|
{
|
3302
3302
|
path: "shipping-profile",
|
3303
|
-
lazy: () => import("./product-shipping-profile-
|
3303
|
+
lazy: () => import("./product-shipping-profile-LVR2XRIN.mjs")
|
3304
3304
|
},
|
3305
3305
|
{
|
3306
3306
|
path: "media",
|
@@ -3435,7 +3435,7 @@ function getRouteMap({
|
|
3435
3435
|
{
|
3436
3436
|
path: ":id",
|
3437
3437
|
lazy: async () => {
|
3438
|
-
const { Component, Breadcrumb, loader } = await import("./order-detail-
|
3438
|
+
const { Component, Breadcrumb, loader } = await import("./order-detail-XZKV6VOY.mjs");
|
3439
3439
|
return {
|
3440
3440
|
Component,
|
3441
3441
|
loader,
|
@@ -2900,20 +2900,18 @@ var CostBreakdown = ({
|
|
2900
2900
|
const taxCodeMap = {};
|
2901
2901
|
order.items.forEach((item) => {
|
2902
2902
|
item.tax_lines?.forEach((line) => {
|
2903
|
-
const currTotal = line.subtotal || 0;
|
2904
2903
|
const prevTotal = taxCodeMap[line.code]?.total || 0;
|
2905
2904
|
taxCodeMap[line.code] = {
|
2906
|
-
total: prevTotal +
|
2905
|
+
total: prevTotal + line.subtotal,
|
2907
2906
|
rate: line.rate
|
2908
2907
|
};
|
2909
2908
|
});
|
2910
2909
|
});
|
2911
2910
|
order.shipping_methods.forEach((sm) => {
|
2912
2911
|
sm.tax_lines?.forEach((line) => {
|
2913
|
-
const currTotal = line.subtotal || 0;
|
2914
2912
|
const prevTotal = taxCodeMap[line.code]?.total || 0;
|
2915
2913
|
taxCodeMap[line.code] = {
|
2916
|
-
total: prevTotal +
|
2914
|
+
total: prevTotal + line.subtotal,
|
2917
2915
|
rate: line.rate
|
2918
2916
|
};
|
2919
2917
|
});
|
@@ -11,11 +11,11 @@ import {
|
|
11
11
|
} from "./chunk-4TC5YS65.mjs";
|
12
12
|
import {
|
13
13
|
PRODUCT_DETAIL_FIELDS
|
14
|
-
} from "./chunk-
|
14
|
+
} from "./chunk-EES6O4ND.mjs";
|
15
15
|
import {
|
16
16
|
FormExtensionZone,
|
17
17
|
useExtendableForm
|
18
|
-
} from "./chunk-
|
18
|
+
} from "./chunk-RVHD6PIL.mjs";
|
19
19
|
import "./chunk-NQIC7ZFS.mjs";
|
20
20
|
import "./chunk-ONB3JEHR.mjs";
|
21
21
|
import "./chunk-VLOA5XAC.mjs";
|
@@ -30,8 +30,8 @@ import {
|
|
30
30
|
import "./chunk-PFKKVLZX.mjs";
|
31
31
|
import {
|
32
32
|
PRODUCT_DETAIL_FIELDS
|
33
|
-
} from "./chunk-
|
34
|
-
import "./chunk-
|
33
|
+
} from "./chunk-EES6O4ND.mjs";
|
34
|
+
import "./chunk-RVHD6PIL.mjs";
|
35
35
|
import "./chunk-NQIC7ZFS.mjs";
|
36
36
|
import "./chunk-ONB3JEHR.mjs";
|
37
37
|
import "./chunk-VLOA5XAC.mjs";
|
@@ -15,11 +15,11 @@ import {
|
|
15
15
|
} from "./chunk-4TC5YS65.mjs";
|
16
16
|
import {
|
17
17
|
PRODUCT_DETAIL_FIELDS
|
18
|
-
} from "./chunk-
|
18
|
+
} from "./chunk-EES6O4ND.mjs";
|
19
19
|
import {
|
20
20
|
FormExtensionZone,
|
21
21
|
useExtendableForm
|
22
|
-
} from "./chunk-
|
22
|
+
} from "./chunk-RVHD6PIL.mjs";
|
23
23
|
import "./chunk-NQIC7ZFS.mjs";
|
24
24
|
import "./chunk-ONB3JEHR.mjs";
|
25
25
|
import "./chunk-VLOA5XAC.mjs";
|
@@ -17,11 +17,11 @@ import {
|
|
17
17
|
} from "./chunk-4TC5YS65.mjs";
|
18
18
|
import {
|
19
19
|
PRODUCT_DETAIL_FIELDS
|
20
|
-
} from "./chunk-
|
20
|
+
} from "./chunk-EES6O4ND.mjs";
|
21
21
|
import {
|
22
22
|
FormExtensionZone,
|
23
23
|
useExtendableForm
|
24
|
-
} from "./chunk-
|
24
|
+
} from "./chunk-RVHD6PIL.mjs";
|
25
25
|
import "./chunk-NQIC7ZFS.mjs";
|
26
26
|
import "./chunk-ONB3JEHR.mjs";
|
27
27
|
import "./chunk-VLOA5XAC.mjs";
|
package/dist/{product-shipping-profile-4JFLMVEW.mjs → product-shipping-profile-LVR2XRIN.mjs}
RENAMED
@@ -14,8 +14,8 @@ import {
|
|
14
14
|
} from "./chunk-4TC5YS65.mjs";
|
15
15
|
import {
|
16
16
|
PRODUCT_DETAIL_FIELDS
|
17
|
-
} from "./chunk-
|
18
|
-
import "./chunk-
|
17
|
+
} from "./chunk-EES6O4ND.mjs";
|
18
|
+
import "./chunk-RVHD6PIL.mjs";
|
19
19
|
import "./chunk-NQIC7ZFS.mjs";
|
20
20
|
import "./chunk-ONB3JEHR.mjs";
|
21
21
|
import "./chunk-VLOA5XAC.mjs";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/dashboard",
|
3
|
-
"version": "2.10.4-snapshot-
|
3
|
+
"version": "2.10.4-snapshot-20251007075945",
|
4
4
|
"scripts": {
|
5
5
|
"generate:static": "node ./scripts/generate-currencies.js && prettier --write ./src/lib/currencies.ts",
|
6
6
|
"dev": "vite",
|
@@ -45,10 +45,10 @@
|
|
45
45
|
"@dnd-kit/utilities": "^3.2.2",
|
46
46
|
"@hookform/error-message": "^2.0.1",
|
47
47
|
"@hookform/resolvers": "3.4.2",
|
48
|
-
"@medusajs/admin-shared": "2.10.4-snapshot-
|
49
|
-
"@medusajs/icons": "2.10.4-snapshot-
|
50
|
-
"@medusajs/js-sdk": "2.10.4-snapshot-
|
51
|
-
"@medusajs/ui": "4.0.24-snapshot-
|
48
|
+
"@medusajs/admin-shared": "2.10.4-snapshot-20251007075945",
|
49
|
+
"@medusajs/icons": "2.10.4-snapshot-20251007075945",
|
50
|
+
"@medusajs/js-sdk": "2.10.4-snapshot-20251007075945",
|
51
|
+
"@medusajs/ui": "4.0.24-snapshot-20251007075945",
|
52
52
|
"@radix-ui/react-dialog": "1.1.4",
|
53
53
|
"@radix-ui/react-dismissable-layer": "1.1.4",
|
54
54
|
"@tanstack/react-query": "5.64.2",
|
@@ -78,10 +78,10 @@
|
|
78
78
|
"zod": "3.25.76"
|
79
79
|
},
|
80
80
|
"devDependencies": {
|
81
|
-
"@medusajs/admin-shared": "2.10.4-snapshot-
|
82
|
-
"@medusajs/admin-vite-plugin": "2.10.4-snapshot-
|
83
|
-
"@medusajs/types": "2.10.4-snapshot-
|
84
|
-
"@medusajs/ui-preset": "2.10.4-snapshot-
|
81
|
+
"@medusajs/admin-shared": "2.10.4-snapshot-20251007075945",
|
82
|
+
"@medusajs/admin-vite-plugin": "2.10.4-snapshot-20251007075945",
|
83
|
+
"@medusajs/types": "2.10.4-snapshot-20251007075945",
|
84
|
+
"@medusajs/ui-preset": "2.10.4-snapshot-20251007075945",
|
85
85
|
"@types/node": "^20.11.15",
|
86
86
|
"@types/react": "^18.2.79",
|
87
87
|
"@types/react-dom": "^18.2.25",
|
package/src/routes/orders/order-detail/components/order-summary-section/order-summary-section.tsx
CHANGED
@@ -575,10 +575,9 @@ const CostBreakdown = ({
|
|
575
575
|
|
576
576
|
order.items.forEach((item) => {
|
577
577
|
item.tax_lines?.forEach((line) => {
|
578
|
-
const currTotal = line.subtotal || 0
|
579
578
|
const prevTotal = taxCodeMap[line.code]?.total || 0
|
580
579
|
taxCodeMap[line.code] = {
|
581
|
-
total: prevTotal +
|
580
|
+
total: prevTotal + line.subtotal,
|
582
581
|
rate: line.rate,
|
583
582
|
}
|
584
583
|
})
|
@@ -586,10 +585,9 @@ const CostBreakdown = ({
|
|
586
585
|
|
587
586
|
order.shipping_methods.forEach((sm) => {
|
588
587
|
sm.tax_lines?.forEach((line) => {
|
589
|
-
const currTotal = line.subtotal || 0
|
590
588
|
const prevTotal = taxCodeMap[line.code]?.total || 0
|
591
589
|
taxCodeMap[line.code] = {
|
592
|
-
total: prevTotal +
|
590
|
+
total: prevTotal + line.subtotal,
|
593
591
|
rate: line.rate,
|
594
592
|
}
|
595
593
|
})
|