@mantajs/core 0.1.4 → 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.
@@ -5318,17 +5318,8 @@ const CompaniesPage = () => {
5318
5318
  };
5319
5319
  const config = adminSdk.defineRouteConfig({
5320
5320
  label: "Companies",
5321
- icon: icons.BuildingStorefront
5322
- });
5323
- const EmployeesPage = () => {
5324
- return /* @__PURE__ */ jsxRuntime.jsx(ui.Container, { className: "divide-y p-0", children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "px-6 py-4", children: [
5325
- /* @__PURE__ */ jsxRuntime.jsx(ui.Heading, { level: "h1", children: "Employees" }),
5326
- /* @__PURE__ */ jsxRuntime.jsx(ui.Text, { className: "text-ui-fg-subtle", children: "Manage employees and their company assignments." })
5327
- ] }) });
5328
- };
5329
- adminSdk.defineRouteConfig({
5330
- label: "Employees",
5331
- nested: "/companies"
5321
+ icon: icons.BuildingStorefront,
5322
+ rank: 4
5332
5323
  });
5333
5324
  const widgetModule = { widgets: [] };
5334
5325
  const routeModule = {
@@ -5336,10 +5327,6 @@ const routeModule = {
5336
5327
  {
5337
5328
  Component: CompaniesPage,
5338
5329
  path: "/companies"
5339
- },
5340
- {
5341
- Component: EmployeesPage,
5342
- path: "/employees"
5343
5330
  }
5344
5331
  ]
5345
5332
  };
@@ -5350,7 +5337,7 @@ const menuItemModule = {
5350
5337
  icon: config.icon,
5351
5338
  path: "/companies",
5352
5339
  nested: void 0,
5353
- rank: void 0,
5340
+ rank: 4,
5354
5341
  translationNs: void 0
5355
5342
  }
5356
5343
  ]
@@ -5314,17 +5314,8 @@ const CompaniesPage = () => {
5314
5314
  };
5315
5315
  const config = defineRouteConfig({
5316
5316
  label: "Companies",
5317
- icon: BuildingStorefront
5318
- });
5319
- const EmployeesPage = () => {
5320
- return /* @__PURE__ */ jsx(Container, { className: "divide-y p-0", children: /* @__PURE__ */ jsxs("div", { className: "px-6 py-4", children: [
5321
- /* @__PURE__ */ jsx(Heading, { level: "h1", children: "Employees" }),
5322
- /* @__PURE__ */ jsx(Text, { className: "text-ui-fg-subtle", children: "Manage employees and their company assignments." })
5323
- ] }) });
5324
- };
5325
- defineRouteConfig({
5326
- label: "Employees",
5327
- nested: "/companies"
5317
+ icon: BuildingStorefront,
5318
+ rank: 4
5328
5319
  });
5329
5320
  const widgetModule = { widgets: [] };
5330
5321
  const routeModule = {
@@ -5332,10 +5323,6 @@ const routeModule = {
5332
5323
  {
5333
5324
  Component: CompaniesPage,
5334
5325
  path: "/companies"
5335
- },
5336
- {
5337
- Component: EmployeesPage,
5338
- path: "/employees"
5339
5326
  }
5340
5327
  ]
5341
5328
  };
@@ -5346,7 +5333,7 @@ const menuItemModule = {
5346
5333
  icon: config.icon,
5347
5334
  path: "/companies",
5348
5335
  nested: void 0,
5349
- rank: void 0,
5336
+ rank: 4,
5350
5337
  translationNs: void 0
5351
5338
  }
5352
5339
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mantajs/core",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "B2B plugin for Medusa with Company and Employee management",
5
5
  "author": "MANTAJS",
6
6
  "license": "MIT",