@burdenoff/microfe-security 2026.830.1 → 2026.830.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.
- package/dist/index.js +2 -1
- package/dist/security/SecurityAdminRoot.js +9 -8
- package/dist/security/SecurityAdminRoot.js.map +1 -1
- package/dist/security/SecurityRoot.js +9 -8
- package/dist/security/SecurityRoot.js.map +1 -1
- package/dist/security/SecurityRootBase.js +35 -33
- package/dist/security/SecurityRootBase.js.map +1 -1
- package/dist/security/SecurityUserRoot.js +9 -8
- package/dist/security/SecurityUserRoot.js.map +1 -1
- package/dist/security/components/ActivityTimeline.js +83 -66
- package/dist/security/components/ActivityTimeline.js.map +1 -1
- package/dist/security/components/BulkActionBar.js +40 -41
- package/dist/security/components/BulkActionBar.js.map +1 -1
- package/dist/security/components/ConfirmDialog.js +37 -33
- package/dist/security/components/ConfirmDialog.js.map +1 -1
- package/dist/security/components/CopyButton.js +29 -28
- package/dist/security/components/CopyButton.js.map +1 -1
- package/dist/security/components/ExportDialog.js +81 -80
- package/dist/security/components/ExportDialog.js.map +1 -1
- package/dist/security/components/ImportWizard.js +122 -125
- package/dist/security/components/ImportWizard.js.map +1 -1
- package/dist/security/components/PasswordGenerator.js +71 -66
- package/dist/security/components/PasswordGenerator.js.map +1 -1
- package/dist/security/components/RotationStatusBadge.js +18 -17
- package/dist/security/components/RotationStatusBadge.js.map +1 -1
- package/dist/security/components/SecretFormFields.js +143 -134
- package/dist/security/components/SecretFormFields.js.map +1 -1
- package/dist/security/components/SecretRow.js +30 -31
- package/dist/security/components/SecretRow.js.map +1 -1
- package/dist/security/components/SecretShareDialog.js +208 -195
- package/dist/security/components/SecretShareDialog.js.map +1 -1
- package/dist/security/components/SecretValueDisplay.js +45 -44
- package/dist/security/components/SecretValueDisplay.js.map +1 -1
- package/dist/security/components/SecurityPermissionGuard.js +8 -9
- package/dist/security/components/SecurityPermissionGuard.js.map +1 -1
- package/dist/security/components/SecurityScoreCard.js +42 -37
- package/dist/security/components/SecurityScoreCard.js.map +1 -1
- package/dist/security/components/VaultCard.js +32 -33
- package/dist/security/components/VaultCard.js.map +1 -1
- package/dist/security/components/VaultFormFields.js +101 -97
- package/dist/security/components/VaultFormFields.js.map +1 -1
- package/dist/security/components/VaultShareDialog.js +40 -42
- package/dist/security/components/VaultShareDialog.js.map +1 -1
- package/dist/security/config/navigation.js +20 -20
- package/dist/security/config/navigation.js.map +1 -1
- package/dist/security/constants/providers.js +10 -5
- package/dist/security/constants/providers.js.map +1 -1
- package/dist/security/constants/secretTypes.js +16 -8
- package/dist/security/constants/secretTypes.js.map +1 -1
- package/dist/security/hooks/useTr.js +14 -0
- package/dist/security/hooks/useTr.js.map +1 -0
- package/dist/security/index.js +1 -0
- package/dist/security/pages/AccessReviewPage.js +85 -84
- package/dist/security/pages/AccessReviewPage.js.map +1 -1
- package/dist/security/pages/AuditLogPage.js +98 -97
- package/dist/security/pages/AuditLogPage.js.map +1 -1
- package/dist/security/pages/ImportExportPage.js +21 -22
- package/dist/security/pages/ImportExportPage.js.map +1 -1
- package/dist/security/pages/ProviderDetailPage.js +164 -155
- package/dist/security/pages/ProviderDetailPage.js.map +1 -1
- package/dist/security/pages/ProvidersPage.js +89 -92
- package/dist/security/pages/ProvidersPage.js.map +1 -1
- package/dist/security/pages/SecretCreatePage.js +70 -71
- package/dist/security/pages/SecretCreatePage.js.map +1 -1
- package/dist/security/pages/SecretDetailPage.js +250 -251
- package/dist/security/pages/SecretDetailPage.js.map +1 -1
- package/dist/security/pages/SecurityDashboardPage.js +53 -54
- package/dist/security/pages/SecurityDashboardPage.js.map +1 -1
- package/dist/security/pages/SharedWithMePage.js +27 -28
- package/dist/security/pages/SharedWithMePage.js.map +1 -1
- package/dist/security/pages/VaultCreatePage.js +49 -50
- package/dist/security/pages/VaultCreatePage.js.map +1 -1
- package/dist/security/pages/VaultDetailPage.js +130 -131
- package/dist/security/pages/VaultDetailPage.js.map +1 -1
- package/dist/security/pages/VaultLandingPage.js +39 -38
- package/dist/security/pages/VaultLandingPage.js.map +1 -1
- package/dist/security/pages/VaultSettingsPage.js +198 -199
- package/dist/security/pages/VaultSettingsPage.js.map +1 -1
- package/dist/security/pages/VaultShareViewer.js +78 -80
- package/dist/security/pages/VaultShareViewer.js.map +1 -1
- package/dist/security/pages/VaultsDashboardPage.js +97 -98
- package/dist/security/pages/VaultsDashboardPage.js.map +1 -1
- package/dist/security/translations/en.js +756 -0
- package/dist/security/translations/en.js.map +1 -0
- package/package.json +1 -1
- package/dist/security/utils/i18n.js +0 -9
- package/dist/security/utils/i18n.js.map +0 -1
|
@@ -1,82 +1,83 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
1
|
+
import { useTr as e } from "../hooks/useTr.js";
|
|
2
|
+
import { SECURITY_FEATURE_FLAGS as t } from "../constants/featureFlags.js";
|
|
3
|
+
import { VaultsDashboardPage as n } from "./VaultsDashboardPage.js";
|
|
4
|
+
import { Suspense as r, lazy as i, useMemo as a } from "react";
|
|
5
|
+
import { useFeatureFlag as o } from "@burdenoff/fe-libs/shared/providers/shell";
|
|
6
|
+
import { useSearchParams as s } from "react-router";
|
|
7
|
+
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
8
|
+
import { Tabs as u } from "@burdenoff/fe-libs/chrome";
|
|
8
9
|
//#region src/security/pages/VaultLandingPage.tsx
|
|
9
|
-
var
|
|
10
|
-
function
|
|
11
|
-
let [
|
|
10
|
+
var d = i(() => import("./ImportExportPage.js").then((e) => ({ default: e.ImportExportPage }))), f = i(() => import("./ProvidersPage.js").then((e) => ({ default: e.ProvidersPage }))), p = i(() => import("./AuditLogPage.js").then((e) => ({ default: e.AuditLogPage }))), m = i(() => import("./SecurityDashboardPage.js").then((e) => ({ default: e.SecurityDashboardPage }))), h = i(() => import("./AccessReviewPage.js").then((e) => ({ default: e.AccessReviewPage })));
|
|
11
|
+
function g() {
|
|
12
|
+
let [i, g] = s(), _ = o(t.PROVIDERS_EXPERIMENTAL, !1), v = e(), y = a(() => [
|
|
12
13
|
{
|
|
13
14
|
id: "vaults",
|
|
14
|
-
label: "Vaults"
|
|
15
|
+
label: v("security.vaultLanding.vaults", "Vaults")
|
|
15
16
|
},
|
|
16
17
|
{
|
|
17
18
|
id: "import",
|
|
18
|
-
label: "Import / Export"
|
|
19
|
+
label: v("security.vaultLanding.importExport", "Import / Export")
|
|
19
20
|
},
|
|
20
|
-
|
|
21
|
+
_ ? {
|
|
21
22
|
id: "providers",
|
|
22
|
-
label: "Providers"
|
|
23
|
+
label: v("security.vaultLanding.providers", "Providers")
|
|
23
24
|
} : null,
|
|
24
25
|
{
|
|
25
26
|
id: "audit",
|
|
26
|
-
label: "Audit Log"
|
|
27
|
+
label: v("security.vaultLanding.auditLog", "Audit Log")
|
|
27
28
|
},
|
|
28
29
|
{
|
|
29
30
|
id: "dashboard",
|
|
30
|
-
label: "Security Health"
|
|
31
|
+
label: v("security.vaultLanding.securityHealth", "Security Health")
|
|
31
32
|
},
|
|
32
33
|
{
|
|
33
34
|
id: "access-review",
|
|
34
|
-
label: "Access Review"
|
|
35
|
+
label: v("security.vaultLanding.accessReview", "Access Review")
|
|
35
36
|
}
|
|
36
|
-
].filter((e) => e !== null), [
|
|
37
|
-
return /* @__PURE__ */
|
|
37
|
+
].filter((e) => e !== null), [_, v]), b = i.get("tab"), x = b && y.some((e) => e.id === b) ? b : y[0].id;
|
|
38
|
+
return /* @__PURE__ */ l("div", {
|
|
38
39
|
className: "flex flex-col h-full",
|
|
39
|
-
children: [/* @__PURE__ */
|
|
40
|
+
children: [/* @__PURE__ */ c("div", {
|
|
40
41
|
className: "border-b border-border-subtle px-4 pt-3",
|
|
41
42
|
"data-tour": "vaults-landing-tabs",
|
|
42
|
-
children: /* @__PURE__ */
|
|
43
|
-
items:
|
|
44
|
-
activeTabId:
|
|
43
|
+
children: /* @__PURE__ */ c(u, {
|
|
44
|
+
items: y,
|
|
45
|
+
activeTabId: x,
|
|
45
46
|
onTabChange: (e) => {
|
|
46
|
-
let t = new URLSearchParams(
|
|
47
|
-
e ===
|
|
47
|
+
let t = new URLSearchParams(i);
|
|
48
|
+
e === y[0].id ? t.delete("tab") : t.set("tab", e), g(t, { replace: !0 });
|
|
48
49
|
},
|
|
49
50
|
variant: "underline"
|
|
50
51
|
})
|
|
51
|
-
}), /* @__PURE__ */
|
|
52
|
+
}), /* @__PURE__ */ l("div", {
|
|
52
53
|
className: "flex-1 min-h-0 overflow-auto",
|
|
53
54
|
children: [
|
|
54
|
-
|
|
55
|
-
|
|
55
|
+
x === "vaults" && /* @__PURE__ */ c(n, {}),
|
|
56
|
+
x === "import" && /* @__PURE__ */ c(r, {
|
|
56
57
|
fallback: null,
|
|
57
|
-
children: /* @__PURE__ */
|
|
58
|
+
children: /* @__PURE__ */ c(d, {})
|
|
58
59
|
}),
|
|
59
|
-
|
|
60
|
+
x === "providers" && /* @__PURE__ */ c(r, {
|
|
60
61
|
fallback: null,
|
|
61
|
-
children: /* @__PURE__ */
|
|
62
|
+
children: /* @__PURE__ */ c(f, {})
|
|
62
63
|
}),
|
|
63
|
-
|
|
64
|
+
x === "audit" && /* @__PURE__ */ c(r, {
|
|
64
65
|
fallback: null,
|
|
65
|
-
children: /* @__PURE__ */
|
|
66
|
+
children: /* @__PURE__ */ c(p, {})
|
|
66
67
|
}),
|
|
67
|
-
|
|
68
|
+
x === "dashboard" && /* @__PURE__ */ c(r, {
|
|
68
69
|
fallback: null,
|
|
69
|
-
children: /* @__PURE__ */
|
|
70
|
+
children: /* @__PURE__ */ c(m, {})
|
|
70
71
|
}),
|
|
71
|
-
|
|
72
|
+
x === "access-review" && /* @__PURE__ */ c(r, {
|
|
72
73
|
fallback: null,
|
|
73
|
-
children: /* @__PURE__ */
|
|
74
|
+
children: /* @__PURE__ */ c(h, {})
|
|
74
75
|
})
|
|
75
76
|
]
|
|
76
77
|
})]
|
|
77
78
|
});
|
|
78
79
|
}
|
|
79
80
|
//#endregion
|
|
80
|
-
export {
|
|
81
|
+
export { g as VaultLandingPage };
|
|
81
82
|
|
|
82
83
|
//# sourceMappingURL=VaultLandingPage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VaultLandingPage.js","names":[],"sources":["../../../src/security/pages/VaultLandingPage.tsx"],"sourcesContent":["import { lazy, Suspense, useMemo } from 'react';\nimport { useSearchParams } from 'react-router';\nimport { Tabs, type TabItem } from '@burdenoff/fe-libs/chrome';\nimport { useFeatureFlag } from '@burdenoff/fe-libs/shared/providers/shell';\n\nimport { SECURITY_FEATURE_FLAGS } from '../constants/featureFlags';\nimport { VaultsDashboardPage } from './VaultsDashboardPage';\n\nconst ImportExportPage = lazy(() =>\n import('./ImportExportPage').then((m) => ({ default: m.ImportExportPage }))\n);\nconst ProvidersPage = lazy(() =>\n import('./ProvidersPage').then((m) => ({ default: m.ProvidersPage }))\n);\nconst AuditLogPage = lazy(() =>\n import('./AuditLogPage').then((m) => ({ default: m.AuditLogPage }))\n);\nconst SecurityDashboardPage = lazy(() =>\n import('./SecurityDashboardPage').then((m) => ({ default: m.SecurityDashboardPage }))\n);\nconst AccessReviewPage = lazy(() =>\n import('./AccessReviewPage').then((m) => ({ default: m.AccessReviewPage }))\n);\n\n/**\n * VaultLandingPage\n *\n * Tabbed landing page for the Security (Vault) microfrontend. The first\n * tab is the vault dashboard; the remaining tabs surface import/export,\n * providers, audit, security health, and access review as peers without\n * requiring a separate nav group.\n */\nexport function VaultLandingPage() {\n const [params, setParams] = useSearchParams();\n const providersEnabled = useFeatureFlag(SECURITY_FEATURE_FLAGS.PROVIDERS_EXPERIMENTAL, false);\n\n const tabs: TabItem[] = useMemo(\n () =>\n [\n { id: 'vaults', label: 'Vaults' },\n { id: 'import', label: 'Import / Export' },\n providersEnabled
|
|
1
|
+
{"version":3,"file":"VaultLandingPage.js","names":[],"sources":["../../../src/security/pages/VaultLandingPage.tsx"],"sourcesContent":["import { lazy, Suspense, useMemo } from 'react';\nimport { useSearchParams } from 'react-router';\nimport { Tabs, type TabItem } from '@burdenoff/fe-libs/chrome';\nimport { useFeatureFlag } from '@burdenoff/fe-libs/shared/providers/shell';\n\nimport { SECURITY_FEATURE_FLAGS } from '../constants/featureFlags';\nimport { useTr } from '../hooks/useTr';\nimport { VaultsDashboardPage } from './VaultsDashboardPage';\n\nconst ImportExportPage = lazy(() =>\n import('./ImportExportPage').then((m) => ({ default: m.ImportExportPage }))\n);\nconst ProvidersPage = lazy(() =>\n import('./ProvidersPage').then((m) => ({ default: m.ProvidersPage }))\n);\nconst AuditLogPage = lazy(() =>\n import('./AuditLogPage').then((m) => ({ default: m.AuditLogPage }))\n);\nconst SecurityDashboardPage = lazy(() =>\n import('./SecurityDashboardPage').then((m) => ({ default: m.SecurityDashboardPage }))\n);\nconst AccessReviewPage = lazy(() =>\n import('./AccessReviewPage').then((m) => ({ default: m.AccessReviewPage }))\n);\n\n/**\n * VaultLandingPage\n *\n * Tabbed landing page for the Security (Vault) microfrontend. The first\n * tab is the vault dashboard; the remaining tabs surface import/export,\n * providers, audit, security health, and access review as peers without\n * requiring a separate nav group.\n */\nexport function VaultLandingPage() {\n const [params, setParams] = useSearchParams();\n const providersEnabled = useFeatureFlag(SECURITY_FEATURE_FLAGS.PROVIDERS_EXPERIMENTAL, false);\n const tr = useTr();\n\n const tabs: TabItem[] = useMemo(\n () =>\n [\n { id: 'vaults', label: tr('security.vaultLanding.vaults', 'Vaults') },\n { id: 'import', label: tr('security.vaultLanding.importExport', 'Import / Export') },\n providersEnabled\n ? { id: 'providers', label: tr('security.vaultLanding.providers', 'Providers') }\n : null,\n { id: 'audit', label: tr('security.vaultLanding.auditLog', 'Audit Log') },\n { id: 'dashboard', label: tr('security.vaultLanding.securityHealth', 'Security Health') },\n { id: 'access-review', label: tr('security.vaultLanding.accessReview', 'Access Review') },\n ].filter((t): t is TabItem => t !== null),\n [providersEnabled, tr]\n );\n\n // If a tab=providers query param is in the URL but the flag is off, fall back\n // to the default tab so users hitting a stale link don't see the broken UI.\n const requestedTab = params.get('tab');\n const activeId =\n requestedTab && tabs.some((t) => t.id === requestedTab) ? requestedTab : tabs[0].id;\n\n const handleTabChange = (id: string) => {\n const next = new URLSearchParams(params);\n if (id === tabs[0].id) {\n next.delete('tab');\n } else {\n next.set('tab', id);\n }\n setParams(next, { replace: true });\n };\n\n return (\n <div className=\"flex flex-col h-full\">\n <div className=\"border-b border-border-subtle px-4 pt-3\" data-tour=\"vaults-landing-tabs\">\n <Tabs\n items={tabs}\n activeTabId={activeId}\n onTabChange={handleTabChange}\n variant=\"underline\"\n />\n </div>\n <div className=\"flex-1 min-h-0 overflow-auto\">\n {activeId === 'vaults' && <VaultsDashboardPage />}\n {activeId === 'import' && (\n <Suspense fallback={null}>\n <ImportExportPage />\n </Suspense>\n )}\n {activeId === 'providers' && (\n <Suspense fallback={null}>\n <ProvidersPage />\n </Suspense>\n )}\n {activeId === 'audit' && (\n <Suspense fallback={null}>\n <AuditLogPage />\n </Suspense>\n )}\n {activeId === 'dashboard' && (\n <Suspense fallback={null}>\n <SecurityDashboardPage />\n </Suspense>\n )}\n {activeId === 'access-review' && (\n <Suspense fallback={null}>\n <AccessReviewPage />\n </Suspense>\n )}\n </div>\n </div>\n );\n}\n"],"mappings":";;;;;;;;;AASA,IAAM,IAAmB,QACvB,OAAO,yBAAsB,MAAM,OAAO,EAAE,SAAS,EAAE,kBAAkB,EAAE,CAC5E,EACK,IAAgB,QACpB,OAAO,sBAAmB,MAAM,OAAO,EAAE,SAAS,EAAE,eAAe,EAAE,CACtE,EACK,IAAe,QACnB,OAAO,qBAAkB,MAAM,OAAO,EAAE,SAAS,EAAE,cAAc,EAAE,CACpE,EACK,IAAwB,QAC5B,OAAO,8BAA2B,MAAM,OAAO,EAAE,SAAS,EAAE,uBAAuB,EAAE,CACtF,EACK,IAAmB,QACvB,OAAO,yBAAsB,MAAM,OAAO,EAAE,SAA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