@mantajs/dashboard 0.1.5 → 0.1.6

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
@@ -103329,7 +103329,7 @@ var init_dashboard = __esm({
103329
103329
  if (isLoading && !orders && !products && !customers) {
103330
103330
  return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(SingleColumnPageSkeleton, { sections: 3 });
103331
103331
  }
103332
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(SingleColumnPage, { children: [
103332
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)(SingleColumnPage, { widgets: { before: [], after: [] }, children: [
103333
103333
  /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_ui20.Container, { className: "p-6", children: /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "flex flex-col gap-y-1", children: [
103334
103334
  /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_ui20.Heading, { level: "h1", children: "Dashboard" }),
103335
103335
  /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(import_ui20.Text, { className: "text-ui-fg-subtle", children: "Vue d'ensemble de votre activit\xE9 commerciale." })
package/dist/app.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DashboardApp
3
- } from "./chunk-X3F7Q2VV.mjs";
3
+ } from "./chunk-EZVEBD35.mjs";
4
4
  import "./chunk-2SSUH2HJ.mjs";
5
5
  import "./chunk-ONB3JEHR.mjs";
6
6
  import "./chunk-YCDDT44O.mjs";
@@ -95960,7 +95960,7 @@ function getRouteMap({
95960
95960
  handle: {
95961
95961
  breadcrumb: () => "Dashboard"
95962
95962
  },
95963
- lazy: () => import("./dashboard-GVFLCWWT.mjs")
95963
+ lazy: () => import("./dashboard-C2M5PQNL.mjs")
95964
95964
  },
95965
95965
  {
95966
95966
  path: "/products",
@@ -95975,7 +95975,7 @@ function getRouteMap({
95975
95975
  children: [
95976
95976
  {
95977
95977
  path: "create",
95978
- lazy: () => import("./product-create-JGIECXSM.mjs")
95978
+ lazy: () => import("./product-create-STUQVGHO.mjs")
95979
95979
  },
95980
95980
  {
95981
95981
  path: "import",
@@ -95991,7 +95991,7 @@ function getRouteMap({
95991
95991
  path: ":id",
95992
95992
  errorElement: /* @__PURE__ */ jsx17(ErrorBoundary, {}),
95993
95993
  lazy: async () => {
95994
- const { Breadcrumb, loader } = await import("./product-detail-3ZPY2FUO.mjs");
95994
+ const { Breadcrumb, loader } = await import("./product-detail-FXEXDNZQ.mjs");
95995
95995
  return {
95996
95996
  Component: Outlet4,
95997
95997
  loader,
@@ -96003,11 +96003,11 @@ function getRouteMap({
96003
96003
  children: [
96004
96004
  {
96005
96005
  path: "",
96006
- lazy: () => import("./product-detail-3ZPY2FUO.mjs"),
96006
+ lazy: () => import("./product-detail-FXEXDNZQ.mjs"),
96007
96007
  children: [
96008
96008
  {
96009
96009
  path: "edit",
96010
- lazy: () => import("./product-edit-YKOA2KR4.mjs")
96010
+ lazy: () => import("./product-edit-HLYORUHR.mjs")
96011
96011
  },
96012
96012
  {
96013
96013
  path: "edit-variant",
@@ -96019,11 +96019,11 @@ function getRouteMap({
96019
96019
  },
96020
96020
  {
96021
96021
  path: "attributes",
96022
- lazy: () => import("./product-attributes-625PVFI3.mjs")
96022
+ lazy: () => import("./product-attributes-LGV7337C.mjs")
96023
96023
  },
96024
96024
  {
96025
96025
  path: "organization",
96026
- lazy: () => import("./product-organization-FYEUAXJV.mjs")
96026
+ lazy: () => import("./product-organization-O5XFMRUA.mjs")
96027
96027
  },
96028
96028
  {
96029
96029
  path: "shipping-profile",
@@ -68,7 +68,7 @@ var Dashboard = () => {
68
68
  if (isLoading && !orders && !products && !customers) {
69
69
  return /* @__PURE__ */ jsx(SingleColumnPageSkeleton, { sections: 3 });
70
70
  }
71
- return /* @__PURE__ */ jsxs(SingleColumnPage, { children: [
71
+ return /* @__PURE__ */ jsxs(SingleColumnPage, { widgets: { before: [], after: [] }, children: [
72
72
  /* @__PURE__ */ jsx(Container, { className: "p-6", children: /* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-y-1", children: [
73
73
  /* @__PURE__ */ jsx(Heading, { level: "h1", children: "Dashboard" }),
74
74
  /* @__PURE__ */ jsx(Text, { className: "text-ui-fg-subtle", children: "Vue d'ensemble de votre activit\xE9 commerciale." })
@@ -15,7 +15,7 @@ import {
15
15
  import {
16
16
  FormExtensionZone,
17
17
  useExtendableForm
18
- } from "./chunk-X3F7Q2VV.mjs";
18
+ } from "./chunk-EZVEBD35.mjs";
19
19
  import "./chunk-2SSUH2HJ.mjs";
20
20
  import "./chunk-ONB3JEHR.mjs";
21
21
  import "./chunk-YCDDT44O.mjs";
@@ -57,7 +57,7 @@ import {
57
57
  import {
58
58
  FormExtensionZone,
59
59
  useExtendableForm
60
- } from "./chunk-X3F7Q2VV.mjs";
60
+ } from "./chunk-EZVEBD35.mjs";
61
61
  import "./chunk-2SSUH2HJ.mjs";
62
62
  import "./chunk-ONB3JEHR.mjs";
63
63
  import "./chunk-YCDDT44O.mjs";
@@ -17,7 +17,7 @@ import {
17
17
  } from "./chunk-GIZFNLKK.mjs";
18
18
  import {
19
19
  getLinkedFields
20
- } from "./chunk-X3F7Q2VV.mjs";
20
+ } from "./chunk-EZVEBD35.mjs";
21
21
  import "./chunk-2SSUH2HJ.mjs";
22
22
  import "./chunk-ONB3JEHR.mjs";
23
23
  import "./chunk-YCDDT44O.mjs";
@@ -18,7 +18,7 @@ import {
18
18
  import {
19
19
  FormExtensionZone,
20
20
  useExtendableForm
21
- } from "./chunk-X3F7Q2VV.mjs";
21
+ } from "./chunk-EZVEBD35.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-X3F7Q2VV.mjs";
23
+ } from "./chunk-EZVEBD35.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.5",
3
+ "version": "0.1.6",
4
4
  "description": "B2B Admin Dashboard for Medusa - Fork of @medusajs/dashboard",
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -90,7 +90,7 @@ export const Dashboard = () => {
90
90
  }
91
91
 
92
92
  return (
93
- <SingleColumnPage>
93
+ <SingleColumnPage widgets={{ before: [], after: [] }}>
94
94
  <Container className="p-6">
95
95
  <div className="flex flex-col gap-y-1">
96
96
  <Heading level="h1">Dashboard</Heading>