@burdenoff/microfe-security 2026.624.1 → 2026.624.2

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.
@@ -5,24 +5,25 @@ import { useGetVaults as o } from "../hooks/useVaultQueries.js";
5
5
  import { getVaultRoleInfo as s } from "../constants/permissions.js";
6
6
  import { jsx as c, jsxs as l } from "react/jsx-runtime";
7
7
  import { AlertTriangle as u, Loader2 as d, Lock as f, Shield as p, Users as m } from "lucide-react";
8
+ import { ResponsiveTable as h } from "@burdenoff/fe-libs/ui";
8
9
  //#region src/security/pages/AccessReviewPage.tsx
9
- function h() {
10
- let { basePath: h = "/" } = e(), { data: g, loading: _, error: v, refetch: y } = o(void 0, { limit: 100 }), b = g?.getVaults?.items ?? [];
11
- return _ ? /* @__PURE__ */ c(t, {
10
+ function g() {
11
+ let { basePath: g = "/" } = e(), { data: _, loading: v, error: y, refetch: b } = o(void 0, { limit: 100 }), x = _?.getVaults?.items ?? [];
12
+ return v ? /* @__PURE__ */ c(t, {
12
13
  title: "Access Review",
13
14
  breadcrumbs: [{
14
15
  label: "Security",
15
- path: h
16
+ path: g
16
17
  }, { label: "Access Review" }],
17
18
  children: /* @__PURE__ */ c("div", {
18
19
  className: "flex items-center justify-center py-16",
19
20
  children: /* @__PURE__ */ c(d, { className: "size-8 animate-spin text-primary" })
20
21
  })
21
- }) : v ? /* @__PURE__ */ c(t, {
22
+ }) : y ? /* @__PURE__ */ c(t, {
22
23
  title: "Access Review",
23
24
  breadcrumbs: [{
24
25
  label: "Security",
25
- path: h
26
+ path: g
26
27
  }, { label: "Access Review" }],
27
28
  children: /* @__PURE__ */ c(i, {
28
29
  className: "p-6",
@@ -35,13 +36,13 @@ function h() {
35
36
  }),
36
37
  /* @__PURE__ */ c("p", {
37
38
  className: "text-sm text-text-secondary mt-1",
38
- children: v.message
39
+ children: y.message
39
40
  }),
40
41
  /* @__PURE__ */ c(r, {
41
42
  variant: "outline",
42
43
  size: "sm",
43
44
  className: "mt-3",
44
- onClick: () => y(),
45
+ onClick: () => b(),
45
46
  children: "Retry"
46
47
  })
47
48
  ] })]
@@ -52,15 +53,15 @@ function h() {
52
53
  description: "Review who has access to each vault and their permission levels.",
53
54
  breadcrumbs: [{
54
55
  label: "Security",
55
- path: h
56
+ path: g
56
57
  }, { label: "Access Review" }],
57
- children: b.length === 0 ? /* @__PURE__ */ c(a, {
58
+ children: x.length === 0 ? /* @__PURE__ */ c(a, {
58
59
  icon: /* @__PURE__ */ c(m, { className: "size-12 text-text-secondary/50" }),
59
60
  title: "No vaults to review",
60
61
  description: "Create vaults and share them with team members to see access details here."
61
62
  }) : /* @__PURE__ */ c("div", {
62
63
  className: "space-y-4",
63
- children: b.map((e) => {
64
+ children: x.map((e) => {
64
65
  let t = e.members ?? [], r = e.status === "LOCKED";
65
66
  return /* @__PURE__ */ l(i, {
66
67
  className: "p-5",
@@ -83,62 +84,46 @@ function h() {
83
84
  variant: r ? "warning" : "success",
84
85
  children: r ? "Locked" : "Active"
85
86
  })]
86
- }), t.length > 0 ? /* @__PURE__ */ c("div", {
87
- className: "overflow-x-auto border border-border-subtle/60 rounded-lg",
88
- children: /* @__PURE__ */ l("table", {
89
- className: "w-full text-sm",
90
- children: [/* @__PURE__ */ c("thead", { children: /* @__PURE__ */ l("tr", {
91
- className: "border-b border-border-subtle bg-bg-sunken/30",
92
- children: [
93
- /* @__PURE__ */ c("th", {
94
- className: "text-left py-2 px-3 font-semibold text-text-secondary",
95
- children: "Actor"
96
- }),
97
- /* @__PURE__ */ c("th", {
98
- className: "text-left py-2 px-3 font-semibold text-text-secondary",
99
- children: "Type"
100
- }),
101
- /* @__PURE__ */ c("th", {
102
- className: "text-left py-2 px-3 font-semibold text-text-secondary",
103
- children: "Role"
104
- }),
105
- /* @__PURE__ */ c("th", {
106
- className: "text-left py-2 px-3 font-semibold text-text-secondary",
107
- children: "Since"
108
- })
109
- ]
110
- }) }), /* @__PURE__ */ c("tbody", {
111
- className: "divide-y divide-border/40",
112
- children: t.map((e) => {
113
- let t = s(e.role.toLowerCase());
114
- return /* @__PURE__ */ l("tr", {
115
- className: "hover:bg-bg-sunken/20 transition-colors",
116
- children: [
117
- /* @__PURE__ */ c("td", {
118
- className: "py-2 px-3 font-medium text-text-primary",
119
- children: e.actorId
120
- }),
121
- /* @__PURE__ */ c("td", {
122
- className: "py-2 px-3 text-text-secondary capitalize",
123
- children: e.actorType
124
- }),
125
- /* @__PURE__ */ c("td", {
126
- className: "py-2 px-3",
127
- children: /* @__PURE__ */ c(n, {
128
- variant: "outline",
129
- className: "text-[10px] uppercase font-bold tracking-tighter",
130
- children: t.label
131
- })
132
- }),
133
- /* @__PURE__ */ c("td", {
134
- className: "py-2 px-3 text-text-secondary",
135
- children: new Date(e.createdAt).toLocaleDateString()
136
- })
137
- ]
138
- }, e.id);
87
+ }), t.length > 0 ? /* @__PURE__ */ c(h, {
88
+ className: "border border-border-subtle/60 rounded-lg",
89
+ data: t,
90
+ rowKey: (e) => e.id,
91
+ columns: [
92
+ {
93
+ key: "actor",
94
+ header: "Actor",
95
+ priority: "primary",
96
+ cell: (e) => /* @__PURE__ */ c("span", {
97
+ className: "font-medium text-text-primary",
98
+ children: e.actorId
99
+ })
100
+ },
101
+ {
102
+ key: "type",
103
+ header: "Type",
104
+ cell: (e) => /* @__PURE__ */ c("span", {
105
+ className: "text-text-secondary capitalize",
106
+ children: e.actorType
107
+ })
108
+ },
109
+ {
110
+ key: "role",
111
+ header: "Role",
112
+ cell: (e) => /* @__PURE__ */ c(n, {
113
+ variant: "outline",
114
+ className: "text-[10px] uppercase font-bold tracking-tighter",
115
+ children: s(e.role.toLowerCase()).label
116
+ })
117
+ },
118
+ {
119
+ key: "since",
120
+ header: "Since",
121
+ cell: (e) => /* @__PURE__ */ c("span", {
122
+ className: "text-text-secondary",
123
+ children: new Date(e.createdAt).toLocaleDateString()
139
124
  })
140
- })]
141
- })
125
+ }
126
+ ]
142
127
  }) : /* @__PURE__ */ c("p", {
143
128
  className: "text-sm text-text-secondary text-center py-3 bg-bg-sunken/10 rounded-lg border border-dashed border-border-subtle",
144
129
  children: "No additional members. Only the vault creator has access."
@@ -149,6 +134,6 @@ function h() {
149
134
  });
150
135
  }
151
136
  //#endregion
152
- export { h as AccessReviewPage };
137
+ export { g as AccessReviewPage };
153
138
 
154
139
  //# sourceMappingURL=AccessReviewPage.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"AccessReviewPage.js","names":[],"sources":["../../../src/security/pages/AccessReviewPage.tsx"],"sourcesContent":["import { Users, Shield, Loader2, AlertTriangle, Lock } from 'lucide-react';\nimport { PageLayout } from '../components/PageLayout';\nimport { Button, Card, Badge, EmptyState } from '../components/ui';\nimport { useGetVaults } from '../hooks/useVaultQueries';\nimport { useSecurity } from '../providers/SecurityProvider';\nimport { getVaultRoleInfo } from '../constants/permissions';\nimport type { VaultRole } from '../types';\n\nexport function AccessReviewPage() {\n const { basePath = '/' } = useSecurity();\n const { data, loading, error, refetch } = useGetVaults(undefined, { limit: 100 });\n\n const vaults = data?.getVaults?.items ?? [];\n\n if (loading) {\n return (\n <PageLayout\n title=\"Access Review\"\n breadcrumbs={[{ label: 'Security', path: basePath }, { label: 'Access Review' }]}\n >\n <div className=\"flex items-center justify-center py-16\">\n <Loader2 className=\"size-8 animate-spin text-primary\" />\n </div>\n </PageLayout>\n );\n }\n\n if (error) {\n return (\n <PageLayout\n title=\"Access Review\"\n breadcrumbs={[{ label: 'Security', path: basePath }, { label: 'Access Review' }]}\n >\n <Card className=\"p-6\">\n <div className=\"flex items-start gap-4\">\n <AlertTriangle className=\"size-6 text-status-error-text\" />\n <div>\n <h3 className=\"font-semibold text-status-error-text\">Failed to load access data</h3>\n <p className=\"text-sm text-text-secondary mt-1\">{error.message}</p>\n <Button variant=\"outline\" size=\"sm\" className=\"mt-3\" onClick={() => refetch()}>\n Retry\n </Button>\n </div>\n </div>\n </Card>\n </PageLayout>\n );\n }\n\n return (\n <PageLayout\n title=\"Access Review\"\n description=\"Review who has access to each vault and their permission levels.\"\n breadcrumbs={[{ label: 'Security', path: basePath }, { label: 'Access Review' }]}\n >\n {vaults.length === 0 ? (\n <EmptyState\n icon={<Users className=\"size-12 text-text-secondary/50\" />}\n title=\"No vaults to review\"\n description=\"Create vaults and share them with team members to see access details here.\"\n />\n ) : (\n <div className=\"space-y-4\">\n {vaults.map((vault: any) => {\n const members = (vault.members as any[]) ?? [];\n const isLocked = vault.status === 'LOCKED';\n\n return (\n <Card key={vault.id} className=\"p-5\">\n <div className=\"flex items-center justify-between mb-4\">\n <div className=\"flex items-center gap-3\">\n {isLocked ? (\n <Lock className=\"size-5 text-status-warning-text\" />\n ) : (\n <Shield className=\"size-5 text-primary\" />\n )}\n <div>\n <h3 className=\"font-semibold text-text-primary\">{vault.name}</h3>\n <p className=\"text-xs text-text-secondary\">\n {members.length} member\n {members.length !== 1 ? 's' : ''}\n </p>\n </div>\n </div>\n <Badge variant={isLocked ? 'warning' : 'success'}>\n {isLocked ? 'Locked' : 'Active'}\n </Badge>\n </div>\n\n {members.length > 0 ? (\n <div className=\"overflow-x-auto border border-border-subtle/60 rounded-lg\">\n <table className=\"w-full text-sm\">\n <thead>\n <tr className=\"border-b border-border-subtle bg-bg-sunken/30\">\n <th className=\"text-left py-2 px-3 font-semibold text-text-secondary\">\n Actor\n </th>\n <th className=\"text-left py-2 px-3 font-semibold text-text-secondary\">\n Type\n </th>\n <th className=\"text-left py-2 px-3 font-semibold text-text-secondary\">\n Role\n </th>\n <th className=\"text-left py-2 px-3 font-semibold text-text-secondary\">\n Since\n </th>\n </tr>\n </thead>\n <tbody className=\"divide-y divide-border/40\">\n {members.map((member: any) => {\n const roleInfo = getVaultRoleInfo(member.role.toLowerCase() as VaultRole);\n return (\n <tr key={member.id} className=\"hover:bg-bg-sunken/20 transition-colors\">\n <td className=\"py-2 px-3 font-medium text-text-primary\">\n {member.actorId}\n </td>\n <td className=\"py-2 px-3 text-text-secondary capitalize\">\n {member.actorType}\n </td>\n <td className=\"py-2 px-3\">\n <Badge\n variant=\"outline\"\n className=\"text-[10px] uppercase font-bold tracking-tighter\"\n >\n {roleInfo.label}\n </Badge>\n </td>\n <td className=\"py-2 px-3 text-text-secondary\">\n {new Date(member.createdAt).toLocaleDateString()}\n </td>\n </tr>\n );\n })}\n </tbody>\n </table>\n </div>\n ) : (\n <p className=\"text-sm text-text-secondary text-center py-3 bg-bg-sunken/10 rounded-lg border border-dashed border-border-subtle\">\n No additional members. Only the vault creator has access.\n </p>\n )}\n </Card>\n );\n })}\n </div>\n )}\n </PageLayout>\n );\n}\n"],"mappings":";;;;;;;;AAQA,SAAgB,IAAmB;CACjC,IAAM,EAAE,cAAW,QAAQ,GAAa,EAClC,EAAE,SAAM,YAAS,UAAO,eAAY,EAAa,KAAA,GAAW,EAAE,OAAO,KAAK,CAAC,EAE3E,IAAS,GAAM,WAAW,SAAS,EAAE;AAqC3C,QAnCI,IAEA,kBAAC,GAAD;EACE,OAAM;EACN,aAAa,CAAC;GAAE,OAAO;GAAY,MAAM;GAAU,EAAE,EAAE,OAAO,iBAAiB,CAAC;YAEhF,kBAAC,OAAD;GAAK,WAAU;aACb,kBAAC,GAAD,EAAS,WAAU,oCAAqC,CAAA;GACpD,CAAA;EACK,CAAA,GAIb,IAEA,kBAAC,GAAD;EACE,OAAM;EACN,aAAa,CAAC;GAAE,OAAO;GAAY,MAAM;GAAU,EAAE,EAAE,OAAO,iBAAiB,CAAC;YAEhF,kBAAC,GAAD;GAAM,WAAU;aACd,kBAAC,OAAD;IAAK,WAAU;cAAf,CACE,kBAAC,GAAD,EAAe,WAAU,iCAAkC,CAAA,EAC3D,kBAAC,OAAD,EAAA,UAAA;KACE,kBAAC,MAAD;MAAI,WAAU;gBAAuC;MAA+B,CAAA;KACpF,kBAAC,KAAD;MAAG,WAAU;gBAAoC,EAAM;MAAY,CAAA;KACnE,kBAAC,GAAD;MAAQ,SAAQ;MAAU,MAAK;MAAK,WAAU;MAAO,eAAe,GAAS;gBAAE;MA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BAAC,MAAD;UAAI,WAAU;oBAAwD;UAEjE,CAAA;SACF;WACC,CAAA,EACR,kBAAC,SAAD;QAAO,WAAU;kBACd,EAAQ,KAAK,MAAgB;SAC5B,IAAM,IAAW,EAAiB,EAAO,KAAK,aAAa,CAAc;AACzE,gBACE,kBAAC,MAAD;UAAoB,WAAU;oBAA9B;WACE,kBAAC,MAAD;YAAI,WAAU;sBACX,EAAO;YACL,CAAA;WACL,kBAAC,MAAD;YAAI,WAAU;sBACX,EAAO;YACL,CAAA;WACL,kBAAC,MAAD;YAAI,WAAU;sBACZ,kBAAC,GAAD;aACE,SAAQ;aACR,WAAU;uBAET,EAAS;aACJ,CAAA;YACL,CAAA;WACL,kBAAC,MAAD;YAAI,WAAU;sBACX,IAAI,KAAK,EAAO,UAAU,CAAC,oBAAoB;YAC7C,CAAA;WACF;YAlBI,EAAO,GAkBX;UAEP;QACI,CAAA,CACF;;MACJ,CAAA,GAEN,kBAAC,KAAD;MAAG,WAAU;gBAAoH;MAE7H,CAAA,CAED;OAzEI,EAAM,GAyEV;KAET;GACE,CAAA;EAEG,CAAA"}
1
+ {"version":3,"file":"AccessReviewPage.js","names":[],"sources":["../../../src/security/pages/AccessReviewPage.tsx"],"sourcesContent":["import { Users, Shield, Loader2, AlertTriangle, Lock } from 'lucide-react';\nimport {\n ResponsiveTable,\n type ResponsiveTableColumn,\n} from '@burdenoff/fe-libs/ui';\nimport { PageLayout } from '../components/PageLayout';\nimport { Button, Card, Badge, EmptyState } from '../components/ui';\nimport { useGetVaults } from '../hooks/useVaultQueries';\nimport { useSecurity } from '../providers/SecurityProvider';\nimport { getVaultRoleInfo } from '../constants/permissions';\nimport type { VaultRole } from '../types';\n\nexport function AccessReviewPage() {\n const { basePath = '/' } = useSecurity();\n const { data, loading, error, refetch } = useGetVaults(undefined, { limit: 100 });\n\n const vaults = data?.getVaults?.items ?? [];\n\n if (loading) {\n return (\n <PageLayout\n title=\"Access Review\"\n breadcrumbs={[{ label: 'Security', path: basePath }, { label: 'Access Review' }]}\n >\n <div className=\"flex items-center justify-center py-16\">\n <Loader2 className=\"size-8 animate-spin text-primary\" />\n </div>\n </PageLayout>\n );\n }\n\n if (error) {\n return (\n <PageLayout\n title=\"Access Review\"\n breadcrumbs={[{ label: 'Security', path: basePath }, { label: 'Access Review' }]}\n >\n <Card className=\"p-6\">\n <div className=\"flex items-start gap-4\">\n <AlertTriangle className=\"size-6 text-status-error-text\" />\n <div>\n <h3 className=\"font-semibold text-status-error-text\">Failed to load access data</h3>\n <p className=\"text-sm text-text-secondary mt-1\">{error.message}</p>\n <Button variant=\"outline\" size=\"sm\" className=\"mt-3\" onClick={() => refetch()}>\n Retry\n </Button>\n </div>\n </div>\n </Card>\n </PageLayout>\n );\n }\n\n return (\n <PageLayout\n title=\"Access Review\"\n description=\"Review who has access to each vault and their permission levels.\"\n breadcrumbs={[{ label: 'Security', path: basePath }, { label: 'Access Review' }]}\n >\n {vaults.length === 0 ? (\n <EmptyState\n icon={<Users className=\"size-12 text-text-secondary/50\" />}\n title=\"No vaults to review\"\n description=\"Create vaults and share them with team members to see access details here.\"\n />\n ) : (\n <div className=\"space-y-4\">\n {vaults.map((vault: any) => {\n const members = (vault.members as any[]) ?? [];\n const isLocked = vault.status === 'LOCKED';\n\n return (\n <Card key={vault.id} className=\"p-5\">\n <div className=\"flex items-center justify-between mb-4\">\n <div className=\"flex items-center gap-3\">\n {isLocked ? (\n <Lock className=\"size-5 text-status-warning-text\" />\n ) : (\n <Shield className=\"size-5 text-primary\" />\n )}\n <div>\n <h3 className=\"font-semibold text-text-primary\">{vault.name}</h3>\n <p className=\"text-xs text-text-secondary\">\n {members.length} member\n {members.length !== 1 ? 's' : ''}\n </p>\n </div>\n </div>\n <Badge variant={isLocked ? 'warning' : 'success'}>\n {isLocked ? 'Locked' : 'Active'}\n </Badge>\n </div>\n\n {members.length > 0 ? (\n <ResponsiveTable<any>\n className=\"border border-border-subtle/60 rounded-lg\"\n data={members}\n rowKey={(member) => member.id}\n columns={\n [\n {\n key: 'actor',\n header: 'Actor',\n priority: 'primary',\n cell: (member) => (\n <span className=\"font-medium text-text-primary\">{member.actorId}</span>\n ),\n },\n {\n key: 'type',\n header: 'Type',\n cell: (member) => (\n <span className=\"text-text-secondary capitalize\">\n {member.actorType}\n </span>\n ),\n },\n {\n key: 'role',\n header: 'Role',\n cell: (member) => {\n const roleInfo = getVaultRoleInfo(\n member.role.toLowerCase() as VaultRole\n );\n return (\n <Badge\n variant=\"outline\"\n className=\"text-[10px] uppercase font-bold tracking-tighter\"\n >\n {roleInfo.label}\n </Badge>\n );\n },\n },\n {\n key: 'since',\n header: 'Since',\n cell: (member) => (\n <span className=\"text-text-secondary\">\n {new Date(member.createdAt).toLocaleDateString()}\n </span>\n ),\n },\n ] satisfies ResponsiveTableColumn<any>[]\n }\n />\n ) : (\n <p className=\"text-sm text-text-secondary text-center py-3 bg-bg-sunken/10 rounded-lg border border-dashed border-border-subtle\">\n No additional members. Only the vault creator has access.\n </p>\n )}\n </Card>\n );\n })}\n </div>\n )}\n </PageLayout>\n );\n}\n"],"mappings":";;;;;;;;;AAYA,SAAgB,IAAmB;CACjC,IAAM,EAAE,cAAW,QAAQ,GAAa,EAClC,EAAE,SAAM,YAAS,UAAO,eAAY,EAAa,KAAA,GAAW,EAAE,OAAO,KAAK,CAAC,EAE3E,IAAS,GAAM,WAAW,SAAS,EAAE;AAqC3C,QAnCI,IAEA,kBAAC,GAAD;EACE,OAAM;EACN,aAAa,CAAC;GAAE,OAAO;GAAY,MAAM;GAAU,EAAE,EAAE,OAAO,iBAAiB,CAAC;YAEhF,kBAAC,OAAD;GAAK,WAAU;aACb,kBAAC,GAAD,EAAS,WAAU,oCAAqC,CAAA;GACpD,CAAA;EACK,CAAA,GAIb,IAEA,kBAAC,GAAD;EACE,OAAM;EACN,aAAa,CAAC;GAAE,OAAO;GAAY,MAAM;GAAU,EAAE,EAAE,OAAO,iBAAiB,CAAC;YAEhF,kBAAC,GAAD;GAAM,WAAU;aAC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