@medusajs/dashboard 2.11.0-snapshot-20250828185926 → 2.11.0-snapshot-20250829134337
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 +18 -2
- package/dist/app.mjs +1 -1
- package/dist/{chunk-BZIE4MY6.mjs → chunk-3VDOFEA6.mjs} +1 -1
- package/dist/{chunk-MFN6KGYE.mjs → chunk-TM44KN7J.mjs} +8 -8
- package/dist/{order-detail-M27ZGXL3.mjs → order-detail-KSLCQEHJ.mjs} +18 -2
- package/dist/{product-attributes-FNQQW6CA.mjs → product-attributes-3ILIUH55.mjs} +2 -2
- package/dist/{product-create-GCG6XFQ4.mjs → product-create-3BFYAUDO.mjs} +1 -1
- package/dist/{product-detail-YQGIWWU4.mjs → product-detail-Y72S2FF3.mjs} +2 -2
- package/dist/{product-edit-BDWF7CKD.mjs → product-edit-SFN7PUQI.mjs} +2 -2
- package/dist/{product-organization-U3LA5VZE.mjs → product-organization-ATBB7J43.mjs} +2 -2
- package/dist/{product-shipping-profile-7V5PNI7H.mjs → product-shipping-profile-VCUZOITH.mjs} +2 -2
- package/package.json +9 -9
- package/src/routes/orders/order-detail/components/order-summary-section/order-summary-section.tsx +13 -5
package/dist/app.js
CHANGED
@@ -124530,7 +124530,15 @@ var init_order_summary_section = __esm({
|
|
124530
124530
|
] }),
|
124531
124531
|
/* @__PURE__ */ (0, import_jsx_runtime222.jsxs)("div", { className: "text-ui-fg-base flex items-center justify-between", children: [
|
124532
124532
|
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(import_ui156.Text, { className: "text-ui-fg-subtle", size: "small", leading: "compact", children: t5("fields.total") }),
|
124533
|
-
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
|
124533
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
|
124534
|
+
import_ui156.Text,
|
124535
|
+
{
|
124536
|
+
className: "text-ui-fg-subtle text-bold",
|
124537
|
+
size: "small",
|
124538
|
+
leading: "compact",
|
124539
|
+
children: getLocaleAmount(order.original_total, order.currency_code)
|
124540
|
+
}
|
124541
|
+
)
|
124534
124542
|
] })
|
124535
124543
|
] });
|
124536
124544
|
};
|
@@ -124718,7 +124726,15 @@ var init_order_summary_section = __esm({
|
|
124718
124726
|
] }),
|
124719
124727
|
/* @__PURE__ */ (0, import_jsx_runtime222.jsxs)("div", { className: "text-ui-fg-base flex items-center justify-between", children: [
|
124720
124728
|
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(import_ui156.Text, { className: "text-ui-fg-subtle", size: "small", leading: "compact", children: t5("orders.summary.totalAfterDiscount") }),
|
124721
|
-
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
|
124729
|
+
/* @__PURE__ */ (0, import_jsx_runtime222.jsx)(
|
124730
|
+
import_ui156.Text,
|
124731
|
+
{
|
124732
|
+
className: "text-ui-fg-subtle text-bold",
|
124733
|
+
size: "small",
|
124734
|
+
leading: "compact",
|
124735
|
+
children: getLocaleAmount(order.total, order.currency_code)
|
124736
|
+
}
|
124737
|
+
)
|
124722
124738
|
] })
|
124723
124739
|
] });
|
124724
124740
|
};
|
package/dist/app.mjs
CHANGED
@@ -3335,7 +3335,7 @@ function getRouteMap({
|
|
3335
3335
|
children: [
|
3336
3336
|
{
|
3337
3337
|
path: "create",
|
3338
|
-
lazy: () => import("./product-create-
|
3338
|
+
lazy: () => import("./product-create-3BFYAUDO.mjs")
|
3339
3339
|
},
|
3340
3340
|
{
|
3341
3341
|
path: "import",
|
@@ -3351,7 +3351,7 @@ function getRouteMap({
|
|
3351
3351
|
path: ":id",
|
3352
3352
|
errorElement: /* @__PURE__ */ jsx18(ErrorBoundary, {}),
|
3353
3353
|
lazy: async () => {
|
3354
|
-
const { Breadcrumb, loader } = await import("./product-detail-
|
3354
|
+
const { Breadcrumb, loader } = await import("./product-detail-Y72S2FF3.mjs");
|
3355
3355
|
return {
|
3356
3356
|
Component: Outlet4,
|
3357
3357
|
loader,
|
@@ -3363,11 +3363,11 @@ function getRouteMap({
|
|
3363
3363
|
children: [
|
3364
3364
|
{
|
3365
3365
|
path: "",
|
3366
|
-
lazy: () => import("./product-detail-
|
3366
|
+
lazy: () => import("./product-detail-Y72S2FF3.mjs"),
|
3367
3367
|
children: [
|
3368
3368
|
{
|
3369
3369
|
path: "edit",
|
3370
|
-
lazy: () => import("./product-edit-
|
3370
|
+
lazy: () => import("./product-edit-SFN7PUQI.mjs")
|
3371
3371
|
},
|
3372
3372
|
{
|
3373
3373
|
path: "edit-variant",
|
@@ -3379,15 +3379,15 @@ function getRouteMap({
|
|
3379
3379
|
},
|
3380
3380
|
{
|
3381
3381
|
path: "attributes",
|
3382
|
-
lazy: () => import("./product-attributes-
|
3382
|
+
lazy: () => import("./product-attributes-3ILIUH55.mjs")
|
3383
3383
|
},
|
3384
3384
|
{
|
3385
3385
|
path: "organization",
|
3386
|
-
lazy: () => import("./product-organization-
|
3386
|
+
lazy: () => import("./product-organization-ATBB7J43.mjs")
|
3387
3387
|
},
|
3388
3388
|
{
|
3389
3389
|
path: "shipping-profile",
|
3390
|
-
lazy: () => import("./product-shipping-profile-
|
3390
|
+
lazy: () => import("./product-shipping-profile-VCUZOITH.mjs")
|
3391
3391
|
},
|
3392
3392
|
{
|
3393
3393
|
path: "media",
|
@@ -3522,7 +3522,7 @@ function getRouteMap({
|
|
3522
3522
|
{
|
3523
3523
|
path: ":id",
|
3524
3524
|
lazy: async () => {
|
3525
|
-
const { Component, Breadcrumb, loader } = await import("./order-detail-
|
3525
|
+
const { Component, Breadcrumb, loader } = await import("./order-detail-KSLCQEHJ.mjs");
|
3526
3526
|
return {
|
3527
3527
|
Component,
|
3528
3528
|
loader,
|
@@ -2981,7 +2981,15 @@ var CostBreakdown = ({
|
|
2981
2981
|
] }),
|
2982
2982
|
/* @__PURE__ */ jsxs19("div", { className: "text-ui-fg-base flex items-center justify-between", children: [
|
2983
2983
|
/* @__PURE__ */ jsx18(Text12, { className: "text-ui-fg-subtle", size: "small", leading: "compact", children: t("fields.total") }),
|
2984
|
-
/* @__PURE__ */ jsx18(
|
2984
|
+
/* @__PURE__ */ jsx18(
|
2985
|
+
Text12,
|
2986
|
+
{
|
2987
|
+
className: "text-ui-fg-subtle text-bold",
|
2988
|
+
size: "small",
|
2989
|
+
leading: "compact",
|
2990
|
+
children: getLocaleAmount(order.original_total, order.currency_code)
|
2991
|
+
}
|
2992
|
+
)
|
2985
2993
|
] })
|
2986
2994
|
] });
|
2987
2995
|
};
|
@@ -3169,7 +3177,15 @@ var DiscountAndTotalBreakdown = ({
|
|
3169
3177
|
] }),
|
3170
3178
|
/* @__PURE__ */ jsxs19("div", { className: "text-ui-fg-base flex items-center justify-between", children: [
|
3171
3179
|
/* @__PURE__ */ jsx18(Text12, { className: "text-ui-fg-subtle", size: "small", leading: "compact", children: t("orders.summary.totalAfterDiscount") }),
|
3172
|
-
/* @__PURE__ */ jsx18(
|
3180
|
+
/* @__PURE__ */ jsx18(
|
3181
|
+
Text12,
|
3182
|
+
{
|
3183
|
+
className: "text-ui-fg-subtle text-bold",
|
3184
|
+
size: "small",
|
3185
|
+
leading: "compact",
|
3186
|
+
children: getLocaleAmount(order.total, order.currency_code)
|
3187
|
+
}
|
3188
|
+
)
|
3173
3189
|
] })
|
3174
3190
|
] });
|
3175
3191
|
};
|
@@ -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-3VDOFEA6.mjs";
|
15
15
|
import {
|
16
16
|
FormExtensionZone,
|
17
17
|
useExtendableForm
|
18
|
-
} from "./chunk-
|
18
|
+
} from "./chunk-TM44KN7J.mjs";
|
19
19
|
import "./chunk-NQIC7ZFS.mjs";
|
20
20
|
import "./chunk-ONB3JEHR.mjs";
|
21
21
|
import "./chunk-4GQOUCX6.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-3VDOFEA6.mjs";
|
34
|
+
import "./chunk-TM44KN7J.mjs";
|
35
35
|
import "./chunk-NQIC7ZFS.mjs";
|
36
36
|
import "./chunk-ONB3JEHR.mjs";
|
37
37
|
import "./chunk-4GQOUCX6.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-3VDOFEA6.mjs";
|
19
19
|
import {
|
20
20
|
FormExtensionZone,
|
21
21
|
useExtendableForm
|
22
|
-
} from "./chunk-
|
22
|
+
} from "./chunk-TM44KN7J.mjs";
|
23
23
|
import "./chunk-NQIC7ZFS.mjs";
|
24
24
|
import "./chunk-ONB3JEHR.mjs";
|
25
25
|
import "./chunk-4GQOUCX6.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-3VDOFEA6.mjs";
|
21
21
|
import {
|
22
22
|
FormExtensionZone,
|
23
23
|
useExtendableForm
|
24
|
-
} from "./chunk-
|
24
|
+
} from "./chunk-TM44KN7J.mjs";
|
25
25
|
import "./chunk-NQIC7ZFS.mjs";
|
26
26
|
import "./chunk-ONB3JEHR.mjs";
|
27
27
|
import "./chunk-4GQOUCX6.mjs";
|
package/dist/{product-shipping-profile-7V5PNI7H.mjs → product-shipping-profile-VCUZOITH.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-3VDOFEA6.mjs";
|
18
|
+
import "./chunk-TM44KN7J.mjs";
|
19
19
|
import "./chunk-NQIC7ZFS.mjs";
|
20
20
|
import "./chunk-ONB3JEHR.mjs";
|
21
21
|
import "./chunk-4GQOUCX6.mjs";
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@medusajs/dashboard",
|
3
|
-
"version": "2.11.0-snapshot-
|
3
|
+
"version": "2.11.0-snapshot-20250829134337",
|
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.11.0-snapshot-
|
49
|
-
"@medusajs/icons": "2.11.0-snapshot-
|
50
|
-
"@medusajs/js-sdk": "2.11.0-snapshot-
|
51
|
-
"@medusajs/ui": "4.0.
|
48
|
+
"@medusajs/admin-shared": "2.11.0-snapshot-20250829134337",
|
49
|
+
"@medusajs/icons": "2.11.0-snapshot-20250829134337",
|
50
|
+
"@medusajs/js-sdk": "2.11.0-snapshot-20250829134337",
|
51
|
+
"@medusajs/ui": "4.0.22-snapshot-20250829134337",
|
52
52
|
"@tanstack/react-query": "5.64.2",
|
53
53
|
"@tanstack/react-table": "8.20.5",
|
54
54
|
"@tanstack/react-virtual": "^3.8.3",
|
@@ -76,10 +76,10 @@
|
|
76
76
|
"zod": "3.25.76"
|
77
77
|
},
|
78
78
|
"devDependencies": {
|
79
|
-
"@medusajs/admin-shared": "2.11.0-snapshot-
|
80
|
-
"@medusajs/admin-vite-plugin": "2.11.0-snapshot-
|
81
|
-
"@medusajs/types": "2.11.0-snapshot-
|
82
|
-
"@medusajs/ui-preset": "2.11.0-snapshot-
|
79
|
+
"@medusajs/admin-shared": "2.11.0-snapshot-20250829134337",
|
80
|
+
"@medusajs/admin-vite-plugin": "2.11.0-snapshot-20250829134337",
|
81
|
+
"@medusajs/types": "2.11.0-snapshot-20250829134337",
|
82
|
+
"@medusajs/ui-preset": "2.11.0-snapshot-20250829134337",
|
83
83
|
"@types/node": "^20.11.15",
|
84
84
|
"@types/react": "^18.2.79",
|
85
85
|
"@types/react-dom": "^18.2.25",
|
package/src/routes/orders/order-detail/components/order-summary-section/order-summary-section.tsx
CHANGED
@@ -698,8 +698,12 @@ const CostBreakdown = ({
|
|
698
698
|
<Text className="text-ui-fg-subtle" size="small" leading="compact">
|
699
699
|
{t("fields.total")}
|
700
700
|
</Text>
|
701
|
-
<Text
|
702
|
-
|
701
|
+
<Text
|
702
|
+
className="text-ui-fg-subtle text-bold"
|
703
|
+
size="small"
|
704
|
+
leading="compact"
|
705
|
+
>
|
706
|
+
{getLocaleAmount(order.original_total, order.currency_code)}
|
703
707
|
</Text>
|
704
708
|
</div>
|
705
709
|
</div>
|
@@ -912,8 +916,12 @@ const DiscountAndTotalBreakdown = ({
|
|
912
916
|
<Text className="text-ui-fg-subtle" size="small" leading="compact">
|
913
917
|
{t("orders.summary.totalAfterDiscount")}
|
914
918
|
</Text>
|
915
|
-
<Text
|
916
|
-
|
919
|
+
<Text
|
920
|
+
className="text-ui-fg-subtle text-bold"
|
921
|
+
size="small"
|
922
|
+
leading="compact"
|
923
|
+
>
|
924
|
+
{getLocaleAmount(order.total, order.currency_code)}
|
917
925
|
</Text>
|
918
926
|
</div>
|
919
927
|
</div>
|
@@ -1242,7 +1250,7 @@ const Total = ({ order }: { order: AdminOrder }) => {
|
|
1242
1250
|
{t("orders.returns.outstandingAmount")}
|
1243
1251
|
</Text>
|
1244
1252
|
<Text
|
1245
|
-
className="text-ui-fg-subtle text-bold"
|
1253
|
+
className="text-ui-fg-subtle text-bold" // ici
|
1246
1254
|
size="small"
|
1247
1255
|
leading="compact"
|
1248
1256
|
>
|