@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 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 + currTotal,
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 + currTotal,
127308
+ total: prevTotal + line.subtotal,
127311
127309
  rate: line.rate
127312
127310
  };
127313
127311
  });
package/dist/app.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DashboardApp
3
- } from "./chunk-HMIZU3ZP.mjs";
3
+ } from "./chunk-RVHD6PIL.mjs";
4
4
  import "./chunk-NQIC7ZFS.mjs";
5
5
  import "./chunk-ONB3JEHR.mjs";
6
6
  import "./chunk-VLOA5XAC.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getLinkedFields
3
- } from "./chunk-HMIZU3ZP.mjs";
3
+ } from "./chunk-RVHD6PIL.mjs";
4
4
 
5
5
  // src/routes/products/product-detail/constants.ts
6
6
  var PRODUCT_DETAIL_FIELDS = getLinkedFields(
@@ -3248,7 +3248,7 @@ function getRouteMap({
3248
3248
  children: [
3249
3249
  {
3250
3250
  path: "create",
3251
- lazy: () => import("./product-create-NXXYNACI.mjs")
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-NIQK4ZYY.mjs");
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-NIQK4ZYY.mjs"),
3279
+ lazy: () => import("./product-detail-76PYSS7T.mjs"),
3280
3280
  children: [
3281
3281
  {
3282
3282
  path: "edit",
3283
- lazy: () => import("./product-edit-PUDSCOK4.mjs")
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-ETPOJ5TC.mjs")
3295
+ lazy: () => import("./product-attributes-TLXB4J7A.mjs")
3296
3296
  },
3297
3297
  {
3298
3298
  path: "organization",
3299
- lazy: () => import("./product-organization-JU3WHMPG.mjs")
3299
+ lazy: () => import("./product-organization-6FNRPZOP.mjs")
3300
3300
  },
3301
3301
  {
3302
3302
  path: "shipping-profile",
3303
- lazy: () => import("./product-shipping-profile-4JFLMVEW.mjs")
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-7MEXVQ2H.mjs");
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 + currTotal,
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 + currTotal,
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-3Z76SMIN.mjs";
14
+ } from "./chunk-EES6O4ND.mjs";
15
15
  import {
16
16
  FormExtensionZone,
17
17
  useExtendableForm
18
- } from "./chunk-HMIZU3ZP.mjs";
18
+ } from "./chunk-RVHD6PIL.mjs";
19
19
  import "./chunk-NQIC7ZFS.mjs";
20
20
  import "./chunk-ONB3JEHR.mjs";
21
21
  import "./chunk-VLOA5XAC.mjs";
@@ -61,7 +61,7 @@ import {
61
61
  import {
62
62
  FormExtensionZone,
63
63
  useExtendableForm
64
- } from "./chunk-HMIZU3ZP.mjs";
64
+ } from "./chunk-RVHD6PIL.mjs";
65
65
  import "./chunk-NQIC7ZFS.mjs";
66
66
  import "./chunk-ONB3JEHR.mjs";
67
67
  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-3Z76SMIN.mjs";
34
- import "./chunk-HMIZU3ZP.mjs";
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-3Z76SMIN.mjs";
18
+ } from "./chunk-EES6O4ND.mjs";
19
19
  import {
20
20
  FormExtensionZone,
21
21
  useExtendableForm
22
- } from "./chunk-HMIZU3ZP.mjs";
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-3Z76SMIN.mjs";
20
+ } from "./chunk-EES6O4ND.mjs";
21
21
  import {
22
22
  FormExtensionZone,
23
23
  useExtendableForm
24
- } from "./chunk-HMIZU3ZP.mjs";
24
+ } from "./chunk-RVHD6PIL.mjs";
25
25
  import "./chunk-NQIC7ZFS.mjs";
26
26
  import "./chunk-ONB3JEHR.mjs";
27
27
  import "./chunk-VLOA5XAC.mjs";
@@ -14,8 +14,8 @@ import {
14
14
  } from "./chunk-4TC5YS65.mjs";
15
15
  import {
16
16
  PRODUCT_DETAIL_FIELDS
17
- } from "./chunk-3Z76SMIN.mjs";
18
- import "./chunk-HMIZU3ZP.mjs";
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-20251006181454",
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-20251006181454",
49
- "@medusajs/icons": "2.10.4-snapshot-20251006181454",
50
- "@medusajs/js-sdk": "2.10.4-snapshot-20251006181454",
51
- "@medusajs/ui": "4.0.24-snapshot-20251006181454",
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-20251006181454",
82
- "@medusajs/admin-vite-plugin": "2.10.4-snapshot-20251006181454",
83
- "@medusajs/types": "2.10.4-snapshot-20251006181454",
84
- "@medusajs/ui-preset": "2.10.4-snapshot-20251006181454",
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",
@@ -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 + currTotal,
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 + currTotal,
590
+ total: prevTotal + line.subtotal,
593
591
  rate: line.rate,
594
592
  }
595
593
  })