@medusajs/dashboard 2.10.4-snapshot-20250928135304 → 2.10.4-snapshot-20250929140426

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 (21) hide show
  1. package/dist/app.js +8 -3
  2. package/dist/app.mjs +1 -1
  3. package/dist/{chunk-QPLPGRYF.mjs → chunk-IN7QZNUK.mjs} +1 -1
  4. package/dist/{chunk-7JJTWGHU.mjs → chunk-S34JJVBQ.mjs} +7 -0
  5. package/dist/{chunk-7DFTLGA5.mjs → chunk-Z37EGQTI.mjs} +16 -16
  6. package/dist/{order-create-refund-CJDKVBSE.mjs → order-create-refund-KS2WFMDO.mjs} +1 -3
  7. package/dist/{product-attributes-WVQRK3GQ.mjs → product-attributes-4AMXNDV5.mjs} +2 -2
  8. package/dist/{product-create-PWSPOVUS.mjs → product-create-VL262JYZ.mjs} +1 -1
  9. package/dist/{product-detail-EBPCCBI4.mjs → product-detail-OH3HVTLC.mjs} +2 -2
  10. package/dist/{product-edit-5E6D43KE.mjs → product-edit-HHGCYXEU.mjs} +2 -2
  11. package/dist/{product-organization-OCVSTKEK.mjs → product-organization-ASL6H6IJ.mjs} +2 -2
  12. package/dist/{product-shipping-profile-SG6NDHF4.mjs → product-shipping-profile-M3NXDHWJ.mjs} +2 -2
  13. package/dist/{product-tag-detail-V5CZY4R4.mjs → product-tag-detail-AZG52Y6I.mjs} +1 -1
  14. package/dist/{product-tag-list-2LFGEFGL.mjs → product-tag-list-A4MQAAPB.mjs} +1 -1
  15. package/dist/{refund-reason-list-WI7NHRDS.mjs → refund-reason-list-6XASD262.mjs} +1 -1
  16. package/dist/{return-reason-list-FW7OYUOW.mjs → return-reason-list-T7KQHIYV.mjs} +1 -1
  17. package/dist/{tax-region-tax-override-create-L4WOTSBO.mjs → tax-region-tax-override-create-2J72XENT.mjs} +1 -1
  18. package/dist/{tax-region-tax-override-edit-2JAVNE37.mjs → tax-region-tax-override-edit-XE543IVZ.mjs} +1 -1
  19. package/package.json +9 -9
  20. package/src/hooks/table/columns/use-refund-reason-table-columns.tsx +7 -0
  21. package/src/routes/orders/order-create-refund/components/create-refund-form/create-refund-form.tsx +0 -2
package/dist/app.js CHANGED
@@ -136705,9 +136705,7 @@ var init_create_refund_form = __esm({
136705
136705
  amount: {
136706
136706
  value: paymentAmount.toFixed(currency.decimal_digits),
136707
136707
  float: paymentAmount
136708
- },
136709
- note: "",
136710
- refund_reason_id: ""
136708
+ }
136711
136709
  },
136712
136710
  resolver: (0, import_zod45.zodResolver)(CreateRefundSchema)
136713
136711
  });
@@ -169734,6 +169732,13 @@ var init_use_refund_reason_table_columns = __esm({
169734
169732
  sortAscLabel: t5("filters.sorting.alphabeticallyAsc"),
169735
169733
  sortDescLabel: t5("filters.sorting.alphabeticallyDesc")
169736
169734
  }),
169735
+ columnHelper78.accessor("code", {
169736
+ header: () => t5("fields.code"),
169737
+ enableSorting: true,
169738
+ sortLabel: t5("fields.code"),
169739
+ sortAscLabel: t5("filters.sorting.alphabeticallyAsc"),
169740
+ sortDescLabel: t5("filters.sorting.alphabeticallyDesc")
169741
+ }),
169737
169742
  columnHelper78.accessor("description", {
169738
169743
  header: () => t5("fields.description"),
169739
169744
  cell: ({ getValue: getValue2 }) => /* @__PURE__ */ (0, import_jsx_runtime574.jsx)(DescriptionCell, { description: getValue2() }),
package/dist/app.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DashboardApp
3
- } from "./chunk-7DFTLGA5.mjs";
3
+ } from "./chunk-Z37EGQTI.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-7DFTLGA5.mjs";
3
+ } from "./chunk-Z37EGQTI.mjs";
4
4
 
5
5
  // src/routes/products/product-detail/constants.ts
6
6
  var PRODUCT_DETAIL_FIELDS = getLinkedFields(
@@ -56,6 +56,13 @@ var useRefundReasonTableColumns = () => {
56
56
  sortAscLabel: t("filters.sorting.alphabeticallyAsc"),
57
57
  sortDescLabel: t("filters.sorting.alphabeticallyDesc")
58
58
  }),
59
+ columnHelper2.accessor("code", {
60
+ header: () => t("fields.code"),
61
+ enableSorting: true,
62
+ sortLabel: t("fields.code"),
63
+ sortAscLabel: t("filters.sorting.alphabeticallyAsc"),
64
+ sortDescLabel: t("filters.sorting.alphabeticallyDesc")
65
+ }),
59
66
  columnHelper2.accessor("description", {
60
67
  header: () => t("fields.description"),
61
68
  cell: ({ getValue }) => /* @__PURE__ */ jsx2(DescriptionCell, { description: getValue() }),
@@ -3248,7 +3248,7 @@ function getRouteMap({
3248
3248
  children: [
3249
3249
  {
3250
3250
  path: "create",
3251
- lazy: () => import("./product-create-PWSPOVUS.mjs")
3251
+ lazy: () => import("./product-create-VL262JYZ.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-EBPCCBI4.mjs");
3267
+ const { Breadcrumb, loader } = await import("./product-detail-OH3HVTLC.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-EBPCCBI4.mjs"),
3279
+ lazy: () => import("./product-detail-OH3HVTLC.mjs"),
3280
3280
  children: [
3281
3281
  {
3282
3282
  path: "edit",
3283
- lazy: () => import("./product-edit-5E6D43KE.mjs")
3283
+ lazy: () => import("./product-edit-HHGCYXEU.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-WVQRK3GQ.mjs")
3295
+ lazy: () => import("./product-attributes-4AMXNDV5.mjs")
3296
3296
  },
3297
3297
  {
3298
3298
  path: "organization",
3299
- lazy: () => import("./product-organization-OCVSTKEK.mjs")
3299
+ lazy: () => import("./product-organization-ASL6H6IJ.mjs")
3300
3300
  },
3301
3301
  {
3302
3302
  path: "shipping-profile",
3303
- lazy: () => import("./product-shipping-profile-SG6NDHF4.mjs")
3303
+ lazy: () => import("./product-shipping-profile-M3NXDHWJ.mjs")
3304
3304
  },
3305
3305
  {
3306
3306
  path: "media",
@@ -3479,7 +3479,7 @@ function getRouteMap({
3479
3479
  },
3480
3480
  {
3481
3481
  path: "refund",
3482
- lazy: () => import("./order-create-refund-CJDKVBSE.mjs")
3482
+ lazy: () => import("./order-create-refund-KS2WFMDO.mjs")
3483
3483
  },
3484
3484
  {
3485
3485
  path: "transfer",
@@ -4264,7 +4264,7 @@ function getRouteMap({
4264
4264
  children: [
4265
4265
  {
4266
4266
  path: "",
4267
- lazy: () => import("./product-tag-list-2LFGEFGL.mjs"),
4267
+ lazy: () => import("./product-tag-list-A4MQAAPB.mjs"),
4268
4268
  children: [
4269
4269
  {
4270
4270
  path: "create",
@@ -4275,7 +4275,7 @@ function getRouteMap({
4275
4275
  {
4276
4276
  path: ":id",
4277
4277
  lazy: async () => {
4278
- const { Component, Breadcrumb, loader } = await import("./product-tag-detail-V5CZY4R4.mjs");
4278
+ const { Component, Breadcrumb, loader } = await import("./product-tag-detail-AZG52Y6I.mjs");
4279
4279
  return {
4280
4280
  Component,
4281
4281
  loader,
@@ -4503,11 +4503,11 @@ function getRouteMap({
4503
4503
  },
4504
4504
  {
4505
4505
  path: "overrides/create",
4506
- lazy: () => import("./tax-region-tax-override-create-L4WOTSBO.mjs")
4506
+ lazy: () => import("./tax-region-tax-override-create-2J72XENT.mjs")
4507
4507
  },
4508
4508
  {
4509
4509
  path: "overrides/:tax_rate_id/edit",
4510
- lazy: () => import("./tax-region-tax-override-edit-2JAVNE37.mjs")
4510
+ lazy: () => import("./tax-region-tax-override-edit-XE543IVZ.mjs")
4511
4511
  },
4512
4512
  {
4513
4513
  path: "tax-rates/create",
@@ -4542,11 +4542,11 @@ function getRouteMap({
4542
4542
  },
4543
4543
  {
4544
4544
  path: "overrides/create",
4545
- lazy: () => import("./tax-region-tax-override-create-L4WOTSBO.mjs")
4545
+ lazy: () => import("./tax-region-tax-override-create-2J72XENT.mjs")
4546
4546
  },
4547
4547
  {
4548
4548
  path: "overrides/:tax_rate_id/edit",
4549
- lazy: () => import("./tax-region-tax-override-edit-2JAVNE37.mjs")
4549
+ lazy: () => import("./tax-region-tax-override-edit-XE543IVZ.mjs")
4550
4550
  }
4551
4551
  ]
4552
4552
  }
@@ -4563,7 +4563,7 @@ function getRouteMap({
4563
4563
  children: [
4564
4564
  {
4565
4565
  path: "",
4566
- lazy: () => import("./return-reason-list-FW7OYUOW.mjs"),
4566
+ lazy: () => import("./return-reason-list-T7KQHIYV.mjs"),
4567
4567
  children: [
4568
4568
  {
4569
4569
  path: "create",
@@ -4591,7 +4591,7 @@ function getRouteMap({
4591
4591
  children: [
4592
4592
  {
4593
4593
  path: "",
4594
- lazy: () => import("./refund-reason-list-WI7NHRDS.mjs"),
4594
+ lazy: () => import("./refund-reason-list-6XASD262.mjs"),
4595
4595
  children: [
4596
4596
  {
4597
4597
  path: "create",
@@ -461,9 +461,7 @@ var CreateRefundForm = ({ order }) => {
461
461
  amount: {
462
462
  value: paymentAmount.toFixed(currency.decimal_digits),
463
463
  float: paymentAmount
464
- },
465
- note: "",
466
- refund_reason_id: ""
464
+ }
467
465
  },
468
466
  resolver: zodResolver2(CreateRefundSchema)
469
467
  });
@@ -11,11 +11,11 @@ import {
11
11
  } from "./chunk-4TC5YS65.mjs";
12
12
  import {
13
13
  PRODUCT_DETAIL_FIELDS
14
- } from "./chunk-QPLPGRYF.mjs";
14
+ } from "./chunk-IN7QZNUK.mjs";
15
15
  import {
16
16
  FormExtensionZone,
17
17
  useExtendableForm
18
- } from "./chunk-7DFTLGA5.mjs";
18
+ } from "./chunk-Z37EGQTI.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-7DFTLGA5.mjs";
64
+ } from "./chunk-Z37EGQTI.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-QPLPGRYF.mjs";
34
- import "./chunk-7DFTLGA5.mjs";
33
+ } from "./chunk-IN7QZNUK.mjs";
34
+ import "./chunk-Z37EGQTI.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-QPLPGRYF.mjs";
18
+ } from "./chunk-IN7QZNUK.mjs";
19
19
  import {
20
20
  FormExtensionZone,
21
21
  useExtendableForm
22
- } from "./chunk-7DFTLGA5.mjs";
22
+ } from "./chunk-Z37EGQTI.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-QPLPGRYF.mjs";
20
+ } from "./chunk-IN7QZNUK.mjs";
21
21
  import {
22
22
  FormExtensionZone,
23
23
  useExtendableForm
24
- } from "./chunk-7DFTLGA5.mjs";
24
+ } from "./chunk-Z37EGQTI.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-QPLPGRYF.mjs";
18
- import "./chunk-7DFTLGA5.mjs";
17
+ } from "./chunk-IN7QZNUK.mjs";
18
+ import "./chunk-Z37EGQTI.mjs";
19
19
  import "./chunk-NQIC7ZFS.mjs";
20
20
  import "./chunk-ONB3JEHR.mjs";
21
21
  import "./chunk-VLOA5XAC.mjs";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  useDeleteProductTagAction
3
3
  } from "./chunk-CXTAH75K.mjs";
4
- import "./chunk-7JJTWGHU.mjs";
4
+ import "./chunk-S34JJVBQ.mjs";
5
5
  import "./chunk-GLVCH422.mjs";
6
6
  import "./chunk-QMRGIWOP.mjs";
7
7
  import "./chunk-2WZUO66T.mjs";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-CXTAH75K.mjs";
4
4
  import {
5
5
  useProductTagTableColumns
6
- } from "./chunk-7JJTWGHU.mjs";
6
+ } from "./chunk-S34JJVBQ.mjs";
7
7
  import "./chunk-GLVCH422.mjs";
8
8
  import "./chunk-QMRGIWOP.mjs";
9
9
  import "./chunk-2WZUO66T.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useRefundReasonTableColumns
3
- } from "./chunk-7JJTWGHU.mjs";
3
+ } from "./chunk-S34JJVBQ.mjs";
4
4
  import "./chunk-GLVCH422.mjs";
5
5
  import "./chunk-QMRGIWOP.mjs";
6
6
  import "./chunk-2WZUO66T.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useReturnReasonTableColumns
3
- } from "./chunk-7JJTWGHU.mjs";
3
+ } from "./chunk-S34JJVBQ.mjs";
4
4
  import "./chunk-GLVCH422.mjs";
5
5
  import "./chunk-QMRGIWOP.mjs";
6
6
  import "./chunk-2WZUO66T.mjs";
@@ -5,7 +5,7 @@ import {
5
5
  createTaxRulePayload
6
6
  } from "./chunk-XR7I5HGZ.mjs";
7
7
  import "./chunk-ENNEJRBR.mjs";
8
- import "./chunk-7JJTWGHU.mjs";
8
+ import "./chunk-S34JJVBQ.mjs";
9
9
  import "./chunk-GLVCH422.mjs";
10
10
  import "./chunk-QMRGIWOP.mjs";
11
11
  import "./chunk-2WZUO66T.mjs";
@@ -5,7 +5,7 @@ import {
5
5
  createTaxRulePayload
6
6
  } from "./chunk-XR7I5HGZ.mjs";
7
7
  import "./chunk-ENNEJRBR.mjs";
8
- import "./chunk-7JJTWGHU.mjs";
8
+ import "./chunk-S34JJVBQ.mjs";
9
9
  import "./chunk-GLVCH422.mjs";
10
10
  import "./chunk-QMRGIWOP.mjs";
11
11
  import "./chunk-2WZUO66T.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@medusajs/dashboard",
3
- "version": "2.10.4-snapshot-20250928135304",
3
+ "version": "2.10.4-snapshot-20250929140426",
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-20250928135304",
49
- "@medusajs/icons": "2.10.4-snapshot-20250928135304",
50
- "@medusajs/js-sdk": "2.10.4-snapshot-20250928135304",
51
- "@medusajs/ui": "4.0.24-snapshot-20250928135304",
48
+ "@medusajs/admin-shared": "2.10.4-snapshot-20250929140426",
49
+ "@medusajs/icons": "2.10.4-snapshot-20250929140426",
50
+ "@medusajs/js-sdk": "2.10.4-snapshot-20250929140426",
51
+ "@medusajs/ui": "4.0.24-snapshot-20250929140426",
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-20250928135304",
82
- "@medusajs/admin-vite-plugin": "2.10.4-snapshot-20250928135304",
83
- "@medusajs/types": "2.10.4-snapshot-20250928135304",
84
- "@medusajs/ui-preset": "2.10.4-snapshot-20250928135304",
81
+ "@medusajs/admin-shared": "2.10.4-snapshot-20250929140426",
82
+ "@medusajs/admin-vite-plugin": "2.10.4-snapshot-20250929140426",
83
+ "@medusajs/types": "2.10.4-snapshot-20250929140426",
84
+ "@medusajs/ui-preset": "2.10.4-snapshot-20250929140426",
85
85
  "@types/node": "^20.11.15",
86
86
  "@types/react": "^18.2.79",
87
87
  "@types/react-dom": "^18.2.25",
@@ -18,6 +18,13 @@ export const useRefundReasonTableColumns = () => {
18
18
  sortAscLabel: t("filters.sorting.alphabeticallyAsc"),
19
19
  sortDescLabel: t("filters.sorting.alphabeticallyDesc"),
20
20
  }),
21
+ columnHelper.accessor("code", {
22
+ header: () => t("fields.code"),
23
+ enableSorting: true,
24
+ sortLabel: t("fields.code"),
25
+ sortAscLabel: t("filters.sorting.alphabeticallyAsc"),
26
+ sortDescLabel: t("filters.sorting.alphabeticallyDesc"),
27
+ }),
21
28
  columnHelper.accessor("description", {
22
29
  header: () => t("fields.description"),
23
30
  cell: ({ getValue }) => <DescriptionCell description={getValue()} />,
@@ -63,8 +63,6 @@ export const CreateRefundForm = ({ order }: CreateRefundFormProps) => {
63
63
  value: paymentAmount.toFixed(currency.decimal_digits),
64
64
  float: paymentAmount,
65
65
  },
66
- note: "",
67
- refund_reason_id: "",
68
66
  },
69
67
  resolver: zodResolver(CreateRefundSchema),
70
68
  })