@gntik-ai/templates 0.12.0 → 0.14.0

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.d.ts CHANGED
@@ -21,19 +21,21 @@ interface TemplateMeta {
21
21
  }
22
22
  //#endregion
23
23
  //#region src/shared/ConsoleShell.d.ts
24
- interface ConsoleShellProps extends Omit<AppSidebarHeaderProps, 'collapsed' | 'className' | 'workspaces'>, Pick<AppSidebarFooterProps, 'usage' | 'helpHref' | 'helpLabel' | 'userMenuItems' | 'userMenuChildren' | 'onSignOut'>, Pick<SidebarLayoutProps, 'sidebarLabel' | 'collapseMode'> {
24
+ interface ConsoleShellProps extends Omit<AppSidebarHeaderProps, 'collapsed' | 'className' | 'workspaces'>, Pick<AppSidebarFooterProps, 'usage' | 'helpHref' | 'helpLabel' | 'userMenuItems' | 'userMenuShowTheme' | 'userMenuChildren' | 'onSignOut'>, Pick<SidebarLayoutProps, 'sidebarLabel' | 'collapseMode'> {
25
25
  /** Page content (usually a <Page>). */
26
26
  children: ReactNode;
27
27
  /** Sidebar navigation; defaults to the NavigationProvider's groups, else the AppSidebar sample groups. */
28
28
  nav?: NavGroup[];
29
+ /** Accessible name of the primary navigation in the sidebar and mobile drawer; defaults to Main. */
30
+ navLabel?: string;
29
31
  /** Href of the current page, marks the active nav item; defaults to the NavigationProvider's active menu item. */
30
32
  currentHref?: string;
31
33
  /** Topbar trail; defaults to the NavigationProvider's active page. `null` hides it. */
32
34
  breadcrumbs?: BreadcrumbItem[] | null;
33
35
  workspaces?: Workspace[] | null;
34
36
  user?: UserMenuUser | null;
35
- /** Extra AppTopbar props (environment, notifications, theme control…). */
36
- topbar?: Omit<AppTopbarProps, 'breadcrumbs' | 'user'>;
37
+ /** Extra AppTopbar props. A defined user overrides the shared user; `null` hides only the topbar menu. */
38
+ topbar?: Omit<AppTopbarProps, 'breadcrumbs'>;
37
39
  /** localStorage key for the collapsed sidebar; `undefined` disables persistence. */
38
40
  storageKey?: string;
39
41
  }
@@ -45,7 +47,7 @@ interface ConsoleShellProps extends Omit<AppSidebarHeaderProps, 'collapsed' | 'c
45
47
  * `breadcrumbs` comes from the route tree; explicit props always win, and without a provider the
46
48
  * defaults are unchanged.
47
49
  */
48
- export declare function ConsoleShell({ children, nav: navProp, currentHref: currentHrefProp, breadcrumbs: breadcrumbsProp, workspaces, currentWorkspaceId, onWorkspaceChange, onCreateWorkspace, user, usage, helpHref, helpLabel, userMenuItems, userMenuChildren, brand, onSignOut, topbar, storageKey, sidebarLabel, collapseMode, ...contextProps }: ConsoleShellProps): import("react").JSX.Element;
50
+ export declare function ConsoleShell({ children, nav: navProp, navLabel, currentHref: currentHrefProp, breadcrumbs: breadcrumbsProp, workspaces, currentWorkspaceId, onWorkspaceChange, onCreateWorkspace, user, usage, helpHref, helpLabel, userMenuItems, userMenuShowTheme, userMenuChildren, brand, onSignOut, topbar, storageKey, sidebarLabel, collapseMode, ...contextProps }: ConsoleShellProps): import("react").JSX.Element;
49
51
  //#endregion
50
52
  //#region src/accept-invitation/data.d.ts
51
53
  /** Sample invitation: who invited whom, to which workspace and with what role. */
@@ -400,7 +402,7 @@ declare function CreateWorkspacePage({ steps, initialValues, regions, plans, rol
400
402
  declare const meta$8: TemplateMeta;
401
403
  //#endregion
402
404
  //#region src/workflow-builder/Page.d.ts
403
- interface FlowBuilderPageProps<Kind extends string = FlowNodeKind> extends Pick<FlowBuilderProps<Kind>, 'nodeTypes' | 'onConnectEdge' | 'onConnect' | 'isValidConnection' | 'onConnectionRejected' | 'validationIssues' | 'mode' | 'nodeStatus' | 'onNodeSelect' | 'graph' | 'onGraphChange'> {
405
+ interface FlowBuilderPageProps<Kind extends string = FlowNodeKind> extends Pick<FlowBuilderProps<Kind>, 'nodeTypes' | 'onConnectEdge' | 'onConnect' | 'isValidConnection' | 'onConnectionRejected' | 'validationIssues' | 'mode' | 'nodeStatus' | 'onNodeSelect' | 'graph' | 'onGraphChange' | 'history'> {
404
406
  /** Optional companion code panel; run mode forces readOnly. */
405
407
  codePanel?: CodePanelProps;
406
408
  title: string;
@@ -1174,6 +1176,8 @@ interface SettingsSecurityProps extends SettingsFrameOptions {
1174
1176
  /** Whether two-factor authentication is on. */
1175
1177
  mfaEnabled: boolean;
1176
1178
  mfaSetupKey: string;
1179
+ /** `otpauth://` URI of the enrolment; the setup dialog shows its QR code above the key. Without it, no QR code is shown. */
1180
+ mfaOtpauthUri?: string;
1177
1181
  /** Checks an enrolment code; defaults to the demo code 123456. */
1178
1182
  onVerifyMfa: (code: string) => boolean | Promise<boolean>;
1179
1183
  onMfaChange: (enabled: boolean) => void;
@@ -1183,7 +1187,7 @@ interface SettingsSecurityProps extends SettingsFrameOptions {
1183
1187
  onRevokeOtherSessions: (sessions: DeviceSession[]) => void;
1184
1188
  }
1185
1189
  /** Security settings: password FormSection, MFA SettingsRow with an OtpInput setup dialog, SessionsDevices. */
1186
- declare function SettingsSecurityPage({ sessions, mfaEnabled, mfaSetupKey: setupKey, onVerifyMfa, onMfaChange, onPasswordChange, onRevokeSession, onRevokeOtherSessions, ...frame }: Partial<SettingsSecurityProps>): import("react").JSX.Element;
1190
+ declare function SettingsSecurityPage({ sessions, mfaEnabled, mfaSetupKey: setupKey, mfaOtpauthUri: otpauthUri, onVerifyMfa, onMfaChange, onPasswordChange, onRevokeSession, onRevokeOtherSessions, ...frame }: Partial<SettingsSecurityProps>): import("react").JSX.Element;
1187
1191
  //#endregion
1188
1192
  //#region src/settings-security/template.meta.d.ts
1189
1193
  declare const meta$45: TemplateMeta;
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  import { ChartLocaleProvider, Heatmap, MiniBar, RadarChart, chartFmt } from "@gntik-ai/charts";
3
3
  import { ActivityFeed, AppSidebarFooter, AppSidebarHeader, AppSidebarNav, AppTopbar, AuthHeader, BulkActionBar, ChartCard, CodePanel, CommentThread, ConfirmDestructive, CreateApiKeyDialog, DEPLOYMENT_COLUMNS, DEPLOYMENT_DETAILS, DEPLOYMENT_EVENTS, DEPLOYMENT_ROWS, DangerZone, DataTable, DateRangeFilter, DescriptionListCard, ErrorPanel, EvaluationScorecard, Faq, FeatureGrid, FileUploadPanel, FilterBar, FirstRunEmpty, FlowBuilder, ForgotPasswordForm, FormSection, Hero, InlineCallout, InviteMembersDialog, InvoiceTable, KPI_ITEMS, KpiRow, ListSkeleton, LogViewer, MembersTable, MfaChallenge, ModelKeysList, NoResultsEmpty, NotificationMatrix, PROJECT_ACTIVITY, PageHeader, PageToolbar, PaymentMethodCard, PendingInvitations, PlanCard, PricingTable, ProfileHeader, PromptEditor, QuotaMeters, RESOURCE_CARDS, ResetPasswordForm, ResourceCardGrid, SectionHeader, SessionsDevices, SettingsRow, SignInForm, SignUpForm, SiteFooter, SsoButtons, StatusTimeline, StickyActionBar, SystemBanner, TokenCostCard, TraceWaterfall, TrendDelta, ValidationSummary, apiKeyExpiries, apiKeyScopes, appSidebarNavGroups, appSidebarUser, appSidebarUser as appSidebarUser$1, appSidebarWorkspaces, appTopbarNotifications, builderEdges, builderNodes, cleanFlowGraph, firstRunSteps, formatSpanDuration, generateDemoSecret, memberRoles, noAccessSample, notificationChannels, notificationDefaults, notificationEvents, sampleDeviceSessions, sampleInvitations, sampleInvoices, sampleMembers, samplePaymentMethod, samplePlan, samplePricingTiers, sampleProfile, sampleQuotas, ssoProviders, ssoProviders as ssoProviders$1 } from "@gntik-ai/blocks";
4
- import { Alert, AuthLayout, Avatar, AvatarGroup, Badge, Blockquote, Breadcrumbs, Button, CanvasLayout, Card, CardBody, CardDescription, CardHeader, CardTitle, Checkbox, CheckboxGroup, ClickableCard, CodeBlock, ContextMenu, ContextMenuContent, ContextMenuTrigger, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DocsLayout, Drawer, DrawerBody, DrawerContent, DrawerDescription, DrawerHeader, DrawerTitle, EmptyState, Field, FieldDescription, FieldError, FieldLabel, Grid, GridItem, HStack, Heading, IconButton, Input, InspectorLayout, InspectorToggle, JsonViewer, KanbanBoard, Kbd, KbdCombo, Link, ListInput, LiveAnnouncer, Logo, MegaMenu, MenuItem, MenuSeparator, Meter, MobileNav, NavList, OtpInput, OverflowList, Page, PasswordInput, PowerSearch, Progress, SearchField, Section, Select, SelectContent, SelectItem, SelectTrigger, SelectableCard, SelectableCardGroup, Separator, SettingsLayout, SidebarLayout, SimpleSelect, Skeleton, Spinner, SplitLayout, Stack, StackedLayout, StatusDot, StatusLayout, StatusTag, Switch, Table, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsList, TabsPanel, TabsTab, Text, Textarea, ThemeSwitcher, Thumbnail, ThumbnailList, Timer, Timestamp, Toggle, ToggleGroup, TokenInput, TooltipProvider, TransferList, TreeList, VisuallyHidden, WizardLayout, cn, copyToClipboard, emptyPowerSearchQuery, formatPowerSearch, matchPowerSearch, matchText, megaMenuNavItems, moveKanbanCard, parsePowerSearch, urlParam, useAnnounce, useHasLiveAnnouncer, useHotkeys, useI18n, useInspectorLayout, useNavigation, useOs, useTheme, useUrlState } from "@gntik-ai/ui";
4
+ import { Alert, AuthLayout, Avatar, AvatarGroup, Badge, Blockquote, Breadcrumbs, Button, CanvasLayout, Card, CardBody, CardDescription, CardHeader, CardTitle, Checkbox, CheckboxGroup, ClickableCard, CodeBlock, ContextMenu, ContextMenuContent, ContextMenuTrigger, Dialog, DialogBody, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, DocsLayout, Drawer, DrawerBody, DrawerContent, DrawerDescription, DrawerHeader, DrawerTitle, EmptyState, Field, FieldDescription, FieldError, FieldLabel, Grid, GridItem, HStack, Heading, IconButton, Input, InspectorLayout, InspectorToggle, JsonViewer, KanbanBoard, Kbd, KbdCombo, Link, ListInput, LiveAnnouncer, Logo, MegaMenu, MenuItem, MenuSeparator, Meter, MobileNav, NavList, OtpInput, OverflowList, Page, PasswordInput, PowerSearch, Progress, QrCode, SearchField, Section, Select, SelectContent, SelectItem, SelectTrigger, SelectableCard, SelectableCardGroup, Separator, SettingsLayout, SidebarLayout, SimpleSelect, Skeleton, Spinner, SplitLayout, Stack, StackedLayout, StatusDot, StatusLayout, StatusTag, Switch, Table, TableBody, TableCaption, TableCell, TableHead, TableHeader, TableRow, Tabs, TabsList, TabsPanel, TabsTab, Text, Textarea, ThemeSwitcher, Thumbnail, ThumbnailList, Timer, Timestamp, Toggle, ToggleGroup, TokenInput, TooltipProvider, TransferList, TreeList, VisuallyHidden, WizardLayout, cn, copyToClipboard, emptyPowerSearchQuery, formatPowerSearch, matchPowerSearch, matchText, megaMenuNavItems, moveKanbanCard, parsePowerSearch, urlParam, useAnnounce, useHasLiveAnnouncer, useHotkeys, useI18n, useInspectorLayout, useNavigation, useOs, useTheme, useUrlState } from "@gntik-ai/ui";
5
5
  import { Fragment, jsx, jsxs } from "react/jsx-runtime";
6
6
  import { Fragment as Fragment$1, createElement, useEffect, useEffectEvent, useId, useLayoutEffect, useMemo, useRef, useState } from "react";
7
7
  import { AttachmentList, ChatAnnouncer, ChatComposer, ChatLayout, ChatMessage, CitationList, ConversationList, Markdown, ReasoningBlock, SuggestionChips, ToolCallCard, useChat } from "@gntik-ai/chat";
@@ -17,9 +17,10 @@ import { flushSync } from "react-dom";
17
17
  * `breadcrumbs` comes from the route tree; explicit props always win, and without a provider the
18
18
  * defaults are unchanged.
19
19
  */
20
- function ConsoleShell({ children, nav: navProp, currentHref: currentHrefProp, breadcrumbs: breadcrumbsProp, workspaces, currentWorkspaceId, onWorkspaceChange, onCreateWorkspace, user, usage, helpHref, helpLabel, userMenuItems, userMenuChildren, brand, onSignOut, topbar, storageKey, sidebarLabel, collapseMode, ...contextProps }) {
20
+ function ConsoleShell({ children, nav: navProp, navLabel, currentHref: currentHrefProp, breadcrumbs: breadcrumbsProp, workspaces, currentWorkspaceId, onWorkspaceChange, onCreateWorkspace, user, usage, helpHref, helpLabel, userMenuItems, userMenuShowTheme, userMenuChildren, brand, onSignOut, topbar, storageKey, sidebarLabel, collapseMode, ...contextProps }) {
21
21
  const { locale } = useI18n();
22
22
  const navigation = useNavigation();
23
+ const topbarUser = topbar?.user !== void 0 ? topbar.user : user;
23
24
  const nav = navProp ?? navigation?.groups;
24
25
  const currentHref = currentHrefProp ?? (navigation ? navigation.activePage?.menuHref ?? "" : void 0);
25
26
  const breadcrumbs = breadcrumbsProp === void 0 && navigation ? navigation.activePage?.breadcrumbs ?? null : breadcrumbsProp;
@@ -41,6 +42,7 @@ function ConsoleShell({ children, nav: navProp, currentHref: currentHrefProp, br
41
42
  }),
42
43
  sidebar: ({ collapsed }) => /* @__PURE__ */ jsx(AppSidebarNav, {
43
44
  groups: nav,
45
+ label: navLabel,
44
46
  currentHref,
45
47
  collapsed
46
48
  }),
@@ -51,20 +53,21 @@ function ConsoleShell({ children, nav: navProp, currentHref: currentHrefProp, br
51
53
  helpHref,
52
54
  helpLabel,
53
55
  userMenuItems,
56
+ userMenuShowTheme,
54
57
  userMenuChildren,
55
58
  onSignOut
56
59
  }),
57
60
  topbar: brand == null ? /* @__PURE__ */ jsx(AppTopbar, {
58
61
  breadcrumbs,
59
- user,
60
- ...topbar
62
+ ...topbar,
63
+ user: topbarUser
61
64
  }) : /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsx("div", {
62
65
  className: "min-w-0 shrink-0 lg:hidden",
63
66
  children: brand
64
67
  }), /* @__PURE__ */ jsx(AppTopbar, {
65
68
  breadcrumbs,
66
- user,
67
- ...topbar
69
+ ...topbar,
70
+ user: topbarUser
68
71
  })] }),
69
72
  children
70
73
  })
@@ -1956,7 +1959,7 @@ const flowBuilderBreadcrumbs = [{
1956
1959
  * '@gntik-ai/flow/styles.css' once for the React Flow canvas.
1957
1960
  */
1958
1961
  function FlowBuilderPage(props) {
1959
- const { title = flowBuilderContent.title, status = flowBuilderContent.status, nodes = builderNodes, edges = builderEdges, palette, onRun, consoleEntries, defaultConsoleEntries, onConsoleChange, onConsoleClear, onSave, onPublish, nodeTypes, onConnectEdge, onConnect, isValidConnection, onConnectionRejected, validationIssues, mode, nodeStatus, onNodeSelect, graph, onGraphChange, codePanel, breadcrumbs = flowBuilderBreadcrumbs, height = 640, fullScreen = true } = props;
1962
+ const { title = flowBuilderContent.title, status = flowBuilderContent.status, nodes = builderNodes, edges = builderEdges, palette, onRun, consoleEntries, defaultConsoleEntries, onConsoleChange, onConsoleClear, onSave, onPublish, nodeTypes, onConnectEdge, onConnect, isValidConnection, onConnectionRejected, validationIssues, mode, nodeStatus, onNodeSelect, graph, onGraphChange, history, codePanel, breadcrumbs = flowBuilderBreadcrumbs, height = 640, fullScreen = true } = props;
1960
1963
  const [saving, setSaving] = useState(false);
1961
1964
  const [initialGraph] = useState(() => ({
1962
1965
  nodes,
@@ -2043,7 +2046,8 @@ function FlowBuilderPage(props) {
2043
2046
  validationIssues,
2044
2047
  mode,
2045
2048
  nodeStatus,
2046
- onNodeSelect
2049
+ onNodeSelect,
2050
+ history
2047
2051
  }), codePanel && /* @__PURE__ */ jsx(CodePanel, {
2048
2052
  ...codePanel,
2049
2053
  headingLevel: codePanel.headingLevel ?? 2,
@@ -5699,12 +5703,12 @@ const meta$44 = {
5699
5703
  const sessions = sampleDeviceSessions;
5700
5704
  /** Demo verification code accepted by the MFA setup dialog. */
5701
5705
  const DEMO_MFA_CODE = "123456";
5702
- /** Shown in the setup dialog for manual entry (the QR code comes from your auth provider). */
5706
+ /** Shown in the setup dialog for manual entry, next to the QR code of `mfaOtpauthUri`. */
5703
5707
  const mfaSetupKey = "JBSW Y3DP EHPK 3PXP";
5704
5708
  //#endregion
5705
5709
  //#region src/settings-security/MfaSetupDialog.tsx
5706
- /** Authenticator enrolment: manual setup key and a 6-digit OtpInput, verified on completion. */
5707
- function MfaSetupDialog({ open, onOpenChange, setupKey, onVerify }) {
5710
+ /** Authenticator enrolment: optional QR code, manual setup key and a 6-digit OtpInput, verified on completion. */
5711
+ function MfaSetupDialog({ open, onOpenChange, setupKey, otpauthUri, onVerify }) {
5708
5712
  const { t } = useI18n();
5709
5713
  const [code, setCode] = useState("");
5710
5714
  const [invalid, setInvalid] = useState(false);
@@ -5736,32 +5740,39 @@ function MfaSetupDialog({ open, onOpenChange, setupKey, onVerify }) {
5736
5740
  /* @__PURE__ */ jsxs(DialogHeader, { children: [/* @__PURE__ */ jsx(DialogTitle, { children: "Set up two-factor authentication" }), /* @__PURE__ */ jsx(DialogDescription, { children: "Add this account to your authenticator app, then enter the code it shows." })] }),
5737
5741
  /* @__PURE__ */ jsxs(DialogBody, {
5738
5742
  className: "flex flex-col gap-5",
5739
- children: [/* @__PURE__ */ jsxs("p", {
5740
- className: "text-[12.5px] text-muted-foreground",
5741
- children: ["Setup key: ", /* @__PURE__ */ jsx("span", {
5742
- className: "font-mono text-foreground",
5743
- children: setupKey
5744
- })]
5745
- }), /* @__PURE__ */ jsxs(Field, {
5746
- invalid,
5747
- children: [
5748
- /* @__PURE__ */ jsx(FieldLabel, { children: "Verification code" }),
5749
- /* @__PURE__ */ jsx(OtpInput, {
5750
- groupSize: 3,
5751
- value: code,
5752
- onValueChange: (v) => {
5753
- setCode(v);
5754
- setInvalid(false);
5755
- },
5756
- onComplete: (v) => void verify(v)
5757
- }),
5758
- /* @__PURE__ */ jsx(FieldDescription, { children: "Enter the 6-digit code from your authenticator app." }),
5759
- /* @__PURE__ */ jsx(FieldError, {
5760
- match: invalid,
5761
- children: "That code is not valid. Try again."
5762
- })
5763
- ]
5764
- })]
5743
+ children: [
5744
+ otpauthUri && /* @__PURE__ */ jsx(QrCode, {
5745
+ value: otpauthUri,
5746
+ className: "self-center"
5747
+ }),
5748
+ /* @__PURE__ */ jsxs("p", {
5749
+ className: "text-[12.5px] text-muted-foreground",
5750
+ children: ["Setup key: ", /* @__PURE__ */ jsx("span", {
5751
+ className: "font-mono text-foreground",
5752
+ children: setupKey
5753
+ })]
5754
+ }),
5755
+ /* @__PURE__ */ jsxs(Field, {
5756
+ invalid,
5757
+ children: [
5758
+ /* @__PURE__ */ jsx(FieldLabel, { children: "Verification code" }),
5759
+ /* @__PURE__ */ jsx(OtpInput, {
5760
+ groupSize: 3,
5761
+ value: code,
5762
+ onValueChange: (v) => {
5763
+ setCode(v);
5764
+ setInvalid(false);
5765
+ },
5766
+ onComplete: (v) => void verify(v)
5767
+ }),
5768
+ /* @__PURE__ */ jsx(FieldDescription, { children: "Enter the 6-digit code from your authenticator app." }),
5769
+ /* @__PURE__ */ jsx(FieldError, {
5770
+ match: invalid,
5771
+ children: "That code is not valid. Try again."
5772
+ })
5773
+ ]
5774
+ })
5775
+ ]
5765
5776
  }),
5766
5777
  /* @__PURE__ */ jsxs(DialogFooter, { children: [/* @__PURE__ */ jsx(DialogClose, {
5767
5778
  render: /* @__PURE__ */ jsx(Button, { variant: "ghost" }),
@@ -5779,7 +5790,7 @@ function MfaSetupDialog({ open, onOpenChange, setupKey, onVerify }) {
5779
5790
  //#endregion
5780
5791
  //#region src/settings-security/Page.tsx
5781
5792
  /** Security settings: password FormSection, MFA SettingsRow with an OtpInput setup dialog, SessionsDevices. */
5782
- function SettingsSecurityPage({ sessions: sessions$1 = sessions, mfaEnabled = false, mfaSetupKey: setupKey = mfaSetupKey, onVerifyMfa = (code) => code === DEMO_MFA_CODE, onMfaChange, onPasswordChange, onRevokeSession, onRevokeOtherSessions, ...frame }) {
5793
+ function SettingsSecurityPage({ sessions: sessions$1 = sessions, mfaEnabled = false, mfaSetupKey: setupKey = mfaSetupKey, mfaOtpauthUri: otpauthUri, onVerifyMfa = (code) => code === DEMO_MFA_CODE, onMfaChange, onPasswordChange, onRevokeSession, onRevokeOtherSessions, ...frame }) {
5783
5794
  const [current, setCurrent] = useState("");
5784
5795
  const [next, setNext] = useState("");
5785
5796
  const [confirm, setConfirm] = useState("");
@@ -5942,6 +5953,7 @@ function SettingsSecurityPage({ sessions: sessions$1 = sessions, mfaEnabled = fa
5942
5953
  open: setupOpen,
5943
5954
  onOpenChange: setSetupOpen,
5944
5955
  setupKey,
5956
+ otpauthUri,
5945
5957
  onVerify: verify
5946
5958
  })
5947
5959
  ]
@@ -6177,7 +6189,7 @@ const meta$47 = {
6177
6189
  family: "Shells",
6178
6190
  priority: "P1",
6179
6191
  status: "stable",
6180
- description: "Console starter: app sidebar, topbar and an empty Page. Optional tenant selection, workspace context, a named busy region, account-menu content and a brand slot are shared through ConsoleShell.",
6192
+ description: "Console starter: app sidebar, topbar and an empty Page. ConsoleShell shares optional tenant selection (tenantPlaceholder), empty workspace menus (workspaceEmptyText), navigation naming (navLabel), a named busy region, account-menu content and a brand slot. userMenuShowTheme=false hides the footer Theme item; a defined topbar.user overrides only the topbar account, with null hiding it.",
6181
6193
  layout: "SidebarLayout",
6182
6194
  blocks: [
6183
6195
  "app-sidebar",