@mantajs/dashboard 0.1.2 → 0.1.4

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
@@ -100512,12 +100512,6 @@ var init_main_layout = __esm({
100512
100512
  useCoreRoutes = () => {
100513
100513
  const { t: t5 } = (0, import_react_i18next10.useTranslation)();
100514
100514
  return [
100515
- {
100516
- icon: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_icons10.ShoppingCart, {}),
100517
- label: t5("orders.domain"),
100518
- to: "/orders",
100519
- items: []
100520
- },
100521
100515
  {
100522
100516
  icon: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_icons10.BuildingStorefront, {}),
100523
100517
  label: "Companies",
@@ -100529,6 +100523,12 @@ var init_main_layout = __esm({
100529
100523
  }
100530
100524
  ]
100531
100525
  },
100526
+ {
100527
+ icon: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_icons10.ShoppingCart, {}),
100528
+ label: t5("orders.domain"),
100529
+ to: "/orders",
100530
+ items: []
100531
+ },
100532
100532
  {
100533
100533
  icon: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_icons10.Tag, {}),
100534
100534
  label: t5("products.domain"),
@@ -100560,17 +100560,6 @@ var init_main_layout = __esm({
100560
100560
  }
100561
100561
  ]
100562
100562
  },
100563
- {
100564
- icon: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_icons10.Users, {}),
100565
- label: t5("customers.domain"),
100566
- to: "/customers",
100567
- items: [
100568
- {
100569
- label: t5("customerGroups.domain"),
100570
- to: "/customer-groups"
100571
- }
100572
- ]
100573
- },
100574
100563
  {
100575
100564
  icon: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_icons10.ReceiptPercent, {}),
100576
100565
  label: t5("promotions.domain"),
package/dist/app.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DashboardApp
3
- } from "./chunk-4ORJNP5R.mjs";
3
+ } from "./chunk-DHY2CN5A.mjs";
4
4
  import "./chunk-2SSUH2HJ.mjs";
5
5
  import "./chunk-ONB3JEHR.mjs";
6
6
  import "./chunk-YCDDT44O.mjs";
@@ -94528,8 +94528,7 @@ import {
94528
94528
  ReceiptPercent,
94529
94529
  ShoppingCart,
94530
94530
  SquaresPlus,
94531
- Tag,
94532
- Users
94531
+ Tag
94533
94532
  } from "@medusajs/icons";
94534
94533
  import { Avatar as Avatar2, Divider, DropdownMenu as DropdownMenu3, Text as Text5, clx as clx6 } from "@medusajs/ui";
94535
94534
  import { Collapsible as RadixCollapsible2 } from "radix-ui";
@@ -95510,12 +95509,6 @@ var Header = () => {
95510
95509
  var useCoreRoutes = () => {
95511
95510
  const { t: t2 } = useTranslation9();
95512
95511
  return [
95513
- {
95514
- icon: /* @__PURE__ */ jsx13(ShoppingCart, {}),
95515
- label: t2("orders.domain"),
95516
- to: "/orders",
95517
- items: []
95518
- },
95519
95512
  {
95520
95513
  icon: /* @__PURE__ */ jsx13(BuildingStorefront, {}),
95521
95514
  label: "Companies",
@@ -95527,6 +95520,12 @@ var useCoreRoutes = () => {
95527
95520
  }
95528
95521
  ]
95529
95522
  },
95523
+ {
95524
+ icon: /* @__PURE__ */ jsx13(ShoppingCart, {}),
95525
+ label: t2("orders.domain"),
95526
+ to: "/orders",
95527
+ items: []
95528
+ },
95530
95529
  {
95531
95530
  icon: /* @__PURE__ */ jsx13(Tag, {}),
95532
95531
  label: t2("products.domain"),
@@ -95558,17 +95557,6 @@ var useCoreRoutes = () => {
95558
95557
  }
95559
95558
  ]
95560
95559
  },
95561
- {
95562
- icon: /* @__PURE__ */ jsx13(Users, {}),
95563
- label: t2("customers.domain"),
95564
- to: "/customers",
95565
- items: [
95566
- {
95567
- label: t2("customerGroups.domain"),
95568
- to: "/customer-groups"
95569
- }
95570
- ]
95571
- },
95572
95560
  {
95573
95561
  icon: /* @__PURE__ */ jsx13(ReceiptPercent, {}),
95574
95562
  label: t2("promotions.domain"),
@@ -95979,7 +95967,7 @@ function getRouteMap({
95979
95967
  children: [
95980
95968
  {
95981
95969
  path: "create",
95982
- lazy: () => import("./product-create-BFV7NSQO.mjs")
95970
+ lazy: () => import("./product-create-ACL6ZK22.mjs")
95983
95971
  },
95984
95972
  {
95985
95973
  path: "import",
@@ -95995,7 +95983,7 @@ function getRouteMap({
95995
95983
  path: ":id",
95996
95984
  errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
95997
95985
  lazy: async () => {
95998
- const { Breadcrumb, loader } = await import("./product-detail-TJCADPVY.mjs");
95986
+ const { Breadcrumb, loader } = await import("./product-detail-OUFJ6C4U.mjs");
95999
95987
  return {
96000
95988
  Component: Outlet4,
96001
95989
  loader,
@@ -96007,11 +95995,11 @@ function getRouteMap({
96007
95995
  children: [
96008
95996
  {
96009
95997
  path: "",
96010
- lazy: () => import("./product-detail-TJCADPVY.mjs"),
95998
+ lazy: () => import("./product-detail-OUFJ6C4U.mjs"),
96011
95999
  children: [
96012
96000
  {
96013
96001
  path: "edit",
96014
- lazy: () => import("./product-edit-B7BGAO43.mjs")
96002
+ lazy: () => import("./product-edit-PYUNMG3S.mjs")
96015
96003
  },
96016
96004
  {
96017
96005
  path: "edit-variant",
@@ -96023,11 +96011,11 @@ function getRouteMap({
96023
96011
  },
96024
96012
  {
96025
96013
  path: "attributes",
96026
- lazy: () => import("./product-attributes-WKZCBOVW.mjs")
96014
+ lazy: () => import("./product-attributes-M3NVPKGA.mjs")
96027
96015
  },
96028
96016
  {
96029
96017
  path: "organization",
96030
- lazy: () => import("./product-organization-HZNGDALF.mjs")
96018
+ lazy: () => import("./product-organization-L2IOMZS4.mjs")
96031
96019
  },
96032
96020
  {
96033
96021
  path: "shipping-profile",
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  FormExtensionZone,
17
17
  useExtendableForm
18
- } from "./chunk-4ORJNP5R.mjs";
18
+ } from "./chunk-DHY2CN5A.mjs";
19
19
  import "./chunk-2SSUH2HJ.mjs";
20
20
  import "./chunk-ONB3JEHR.mjs";
21
21
  import "./chunk-YCDDT44O.mjs";
@@ -63,7 +63,7 @@ import {
63
63
  import {
64
64
  FormExtensionZone,
65
65
  useExtendableForm
66
- } from "./chunk-4ORJNP5R.mjs";
66
+ } from "./chunk-DHY2CN5A.mjs";
67
67
  import "./chunk-2SSUH2HJ.mjs";
68
68
  import "./chunk-ONB3JEHR.mjs";
69
69
  import "./chunk-YCDDT44O.mjs";
@@ -27,7 +27,7 @@ import {
27
27
  import "./chunk-DFFLVEZ5.mjs";
28
28
  import {
29
29
  getLinkedFields
30
- } from "./chunk-4ORJNP5R.mjs";
30
+ } from "./chunk-DHY2CN5A.mjs";
31
31
  import "./chunk-2SSUH2HJ.mjs";
32
32
  import "./chunk-ONB3JEHR.mjs";
33
33
  import "./chunk-YCDDT44O.mjs";
@@ -18,7 +18,7 @@ import {
18
18
  import {
19
19
  FormExtensionZone,
20
20
  useExtendableForm
21
- } from "./chunk-4ORJNP5R.mjs";
21
+ } from "./chunk-DHY2CN5A.mjs";
22
22
  import "./chunk-2SSUH2HJ.mjs";
23
23
  import "./chunk-ONB3JEHR.mjs";
24
24
  import "./chunk-YCDDT44O.mjs";
@@ -20,7 +20,7 @@ import {
20
20
  import {
21
21
  FormExtensionZone,
22
22
  useExtendableForm
23
- } from "./chunk-4ORJNP5R.mjs";
23
+ } from "./chunk-DHY2CN5A.mjs";
24
24
  import "./chunk-2SSUH2HJ.mjs";
25
25
  import "./chunk-ONB3JEHR.mjs";
26
26
  import "./chunk-YCDDT44O.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mantajs/dashboard",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "B2B Admin Dashboard for Medusa - Fork of @medusajs/dashboard",
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -12,7 +12,6 @@ import {
12
12
  ShoppingCart,
13
13
  SquaresPlus,
14
14
  Tag,
15
- Users,
16
15
  } from "@medusajs/icons"
17
16
  import { Avatar, Divider, DropdownMenu, Text, clx } from "@medusajs/ui"
18
17
  import { Collapsible as RadixCollapsible } from "radix-ui"
@@ -181,12 +180,6 @@ const useCoreRoutes = (): Omit<INavItem, "pathname">[] => {
181
180
  const { t } = useTranslation()
182
181
 
183
182
  return [
184
- {
185
- icon: <ShoppingCart />,
186
- label: t("orders.domain"),
187
- to: "/orders",
188
- items: [],
189
- },
190
183
  {
191
184
  icon: <BuildingStorefront />,
192
185
  label: "Companies",
@@ -198,6 +191,12 @@ const useCoreRoutes = (): Omit<INavItem, "pathname">[] => {
198
191
  },
199
192
  ],
200
193
  },
194
+ {
195
+ icon: <ShoppingCart />,
196
+ label: t("orders.domain"),
197
+ to: "/orders",
198
+ items: [],
199
+ },
201
200
  {
202
201
  icon: <Tag />,
203
202
  label: t("products.domain"),
@@ -229,17 +228,6 @@ const useCoreRoutes = (): Omit<INavItem, "pathname">[] => {
229
228
  },
230
229
  ],
231
230
  },
232
- {
233
- icon: <Users />,
234
- label: t("customers.domain"),
235
- to: "/customers",
236
- items: [
237
- {
238
- label: t("customerGroups.domain"),
239
- to: "/customer-groups",
240
- },
241
- ],
242
- },
243
231
  {
244
232
  icon: <ReceiptPercent />,
245
233
  label: t("promotions.domain"),