@open-mercato/enterprise 0.7.1-develop.7154.1.981330c924 → 0.7.1-develop.7170.1.d95074d7ba

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.
@@ -1,9 +1,29 @@
1
+ import React from "react";
2
+ const shieldCheckIcon = React.createElement(
3
+ "svg",
4
+ {
5
+ width: 16,
6
+ height: 16,
7
+ viewBox: "0 0 24 24",
8
+ fill: "none",
9
+ stroke: "currentColor",
10
+ strokeWidth: 2,
11
+ strokeLinecap: "round",
12
+ strokeLinejoin: "round"
13
+ },
14
+ React.createElement("path", { d: "M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z" }),
15
+ React.createElement("path", { d: "M9 12l2 2 4-4" })
16
+ );
1
17
  const metadata = {
2
18
  requireAuth: true,
3
19
  requireFeatures: ["security.profile.view"],
4
- navHidden: true,
5
20
  pageTitle: "Security & MFA",
6
21
  pageTitleKey: "security.profile.pageTitle",
22
+ pageGroup: "Account",
23
+ pageGroupKey: "profile.sections.account",
24
+ pageOrder: 40,
25
+ icon: shieldCheckIcon,
26
+ pageContext: "profile",
7
27
  breadcrumb: [
8
28
  { label: "Profile", labelKey: "auth.profile.title" },
9
29
  { label: "Security & MFA", labelKey: "security.profile.pageTitle" }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/modules/security/backend/profile/security/page.meta.ts"],
4
- "sourcesContent": ["export const metadata = {\n requireAuth: true,\n requireFeatures: ['security.profile.view'],\n navHidden: true,\n pageTitle: 'Security & MFA',\n pageTitleKey: 'security.profile.pageTitle',\n breadcrumb: [\n { label: 'Profile', labelKey: 'auth.profile.title' },\n { label: 'Security & MFA', labelKey: 'security.profile.pageTitle' },\n ],\n}\n"],
5
- "mappings": "AAAO,MAAM,WAAW;AAAA,EACtB,aAAa;AAAA,EACb,iBAAiB,CAAC,uBAAuB;AAAA,EACzC,WAAW;AAAA,EACX,WAAW;AAAA,EACX,cAAc;AAAA,EACd,YAAY;AAAA,IACV,EAAE,OAAO,WAAW,UAAU,qBAAqB;AAAA,IACnD,EAAE,OAAO,kBAAkB,UAAU,6BAA6B;AAAA,EACpE;AACF;",
4
+ "sourcesContent": ["import React from 'react'\n\nconst shieldCheckIcon = React.createElement(\n 'svg',\n {\n width: 16,\n height: 16,\n viewBox: '0 0 24 24',\n fill: 'none',\n stroke: 'currentColor',\n strokeWidth: 2,\n strokeLinecap: 'round',\n strokeLinejoin: 'round',\n },\n React.createElement('path', { d: 'M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z' }),\n React.createElement('path', { d: 'M9 12l2 2 4-4' }),\n)\n\nexport const metadata = {\n requireAuth: true,\n requireFeatures: ['security.profile.view'],\n pageTitle: 'Security & MFA',\n pageTitleKey: 'security.profile.pageTitle',\n pageGroup: 'Account',\n pageGroupKey: 'profile.sections.account',\n pageOrder: 40,\n icon: shieldCheckIcon,\n pageContext: 'profile' as const,\n breadcrumb: [\n { label: 'Profile', labelKey: 'auth.profile.title' },\n { label: 'Security & MFA', labelKey: 'security.profile.pageTitle' },\n ],\n}\n"],
5
+ "mappings": "AAAA,OAAO,WAAW;AAElB,MAAM,kBAAkB,MAAM;AAAA,EAC5B;AAAA,EACA;AAAA,IACE,OAAO;AAAA,IACP,QAAQ;AAAA,IACR,SAAS;AAAA,IACT,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,aAAa;AAAA,IACb,eAAe;AAAA,IACf,gBAAgB;AAAA,EAClB;AAAA,EACA,MAAM,cAAc,QAAQ,EAAE,GAAG,8CAA8C,CAAC;AAAA,EAChF,MAAM,cAAc,QAAQ,EAAE,GAAG,gBAAgB,CAAC;AACpD;AAEO,MAAM,WAAW;AAAA,EACtB,aAAa;AAAA,EACb,iBAAiB,CAAC,uBAAuB;AAAA,EACzC,WAAW;AAAA,EACX,cAAc;AAAA,EACd,WAAW;AAAA,EACX,cAAc;AAAA,EACd,WAAW;AAAA,EACX,MAAM;AAAA,EACN,aAAa;AAAA,EACb,YAAY;AAAA,IACV,EAAE,OAAO,WAAW,UAAU,qBAAqB;AAAA,IACnD,EAAE,OAAO,kBAAkB,UAAU,6BAA6B;AAAA,EACpE;AACF;",
6
6
  "names": []
7
7
  }
@@ -13,7 +13,7 @@ const widgetModule = {
13
13
  icon: "ShieldCheck",
14
14
  href: "/backend/profile/security",
15
15
  features: ["security.profile.view"],
16
- groupId: "account"
16
+ groupId: "profile.sections.account"
17
17
  }
18
18
  ]
19
19
  };
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../src/modules/security/widgets/injection/profile-sidebar-security-item/widget.ts"],
4
- "sourcesContent": ["import type { InjectionMenuItemWidget } from '@open-mercato/shared/modules/widgets/injection'\n\nconst widgetModule: InjectionMenuItemWidget = {\n metadata: {\n id: 'security.injection.profile-sidebar-security-item',\n title: 'Security profile sidebar item',\n priority: 500,\n enabled: true,\n },\n menuItems: [\n {\n id: 'security-profile-security-mfa',\n labelKey: 'security.menu.profile.securityMfa',\n label: 'Security & MFA',\n icon: 'ShieldCheck',\n href: '/backend/profile/security',\n features: ['security.profile.view'],\n groupId: 'account',\n },\n ],\n}\n\nexport default widgetModule\n"],
4
+ "sourcesContent": ["import type { InjectionMenuItemWidget } from '@open-mercato/shared/modules/widgets/injection'\n\nconst widgetModule: InjectionMenuItemWidget = {\n metadata: {\n id: 'security.injection.profile-sidebar-security-item',\n title: 'Security profile sidebar item',\n priority: 500,\n enabled: true,\n },\n menuItems: [\n {\n id: 'security-profile-security-mfa',\n labelKey: 'security.menu.profile.securityMfa',\n label: 'Security & MFA',\n icon: 'ShieldCheck',\n href: '/backend/profile/security',\n features: ['security.profile.view'],\n groupId: 'profile.sections.account',\n },\n ],\n}\n\nexport default widgetModule\n"],
5
5
  "mappings": "AAEA,MAAM,eAAwC;AAAA,EAC5C,UAAU;AAAA,IACR,IAAI;AAAA,IACJ,OAAO;AAAA,IACP,UAAU;AAAA,IACV,SAAS;AAAA,EACX;AAAA,EACA,WAAW;AAAA,IACT;AAAA,MACE,IAAI;AAAA,MACJ,UAAU;AAAA,MACV,OAAO;AAAA,MACP,MAAM;AAAA,MACN,MAAM;AAAA,MACN,UAAU,CAAC,uBAAuB;AAAA,MAClC,SAAS;AAAA,IACX;AAAA,EACF;AACF;AAEA,IAAO,iBAAQ;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-mercato/enterprise",
3
- "version": "0.7.1-develop.7154.1.981330c924",
3
+ "version": "0.7.1-develop.7170.1.d95074d7ba",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -65,8 +65,8 @@
65
65
  }
66
66
  },
67
67
  "dependencies": {
68
- "@open-mercato/core": "0.7.1-develop.7154.1.981330c924",
69
- "@open-mercato/ui": "0.7.1-develop.7154.1.981330c924",
68
+ "@open-mercato/core": "0.7.1-develop.7170.1.d95074d7ba",
69
+ "@open-mercato/ui": "0.7.1-develop.7170.1.d95074d7ba",
70
70
  "@simplewebauthn/browser": "^13.3.0",
71
71
  "@simplewebauthn/server": "^13.3.2",
72
72
  "@simplewebauthn/types": "^12.0.0",
@@ -76,12 +76,12 @@
76
76
  "qrcode": "^1.5.4"
77
77
  },
78
78
  "peerDependencies": {
79
- "@open-mercato/shared": "0.7.1-develop.7154.1.981330c924",
79
+ "@open-mercato/shared": "0.7.1-develop.7170.1.d95074d7ba",
80
80
  "react": "^19.0.0",
81
81
  "react-dom": "^19.0.0"
82
82
  },
83
83
  "devDependencies": {
84
- "@open-mercato/shared": "0.7.1-develop.7154.1.981330c924",
84
+ "@open-mercato/shared": "0.7.1-develop.7170.1.d95074d7ba",
85
85
  "@types/jest": "^30.0.0",
86
86
  "@types/react": "^19.2.17",
87
87
  "@types/react-dom": "^19.2.3",
@@ -1,9 +1,31 @@
1
+ import React from 'react'
2
+
3
+ const shieldCheckIcon = React.createElement(
4
+ 'svg',
5
+ {
6
+ width: 16,
7
+ height: 16,
8
+ viewBox: '0 0 24 24',
9
+ fill: 'none',
10
+ stroke: 'currentColor',
11
+ strokeWidth: 2,
12
+ strokeLinecap: 'round',
13
+ strokeLinejoin: 'round',
14
+ },
15
+ React.createElement('path', { d: 'M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z' }),
16
+ React.createElement('path', { d: 'M9 12l2 2 4-4' }),
17
+ )
18
+
1
19
  export const metadata = {
2
20
  requireAuth: true,
3
21
  requireFeatures: ['security.profile.view'],
4
- navHidden: true,
5
22
  pageTitle: 'Security & MFA',
6
23
  pageTitleKey: 'security.profile.pageTitle',
24
+ pageGroup: 'Account',
25
+ pageGroupKey: 'profile.sections.account',
26
+ pageOrder: 40,
27
+ icon: shieldCheckIcon,
28
+ pageContext: 'profile' as const,
7
29
  breadcrumb: [
8
30
  { label: 'Profile', labelKey: 'auth.profile.title' },
9
31
  { label: 'Security & MFA', labelKey: 'security.profile.pageTitle' },
@@ -15,7 +15,7 @@ const widgetModule: InjectionMenuItemWidget = {
15
15
  icon: 'ShieldCheck',
16
16
  href: '/backend/profile/security',
17
17
  features: ['security.profile.view'],
18
- groupId: 'account',
18
+ groupId: 'profile.sections.account',
19
19
  },
20
20
  ],
21
21
  }