import { PropertyValues } from 'lit'; import { NamedNode } from 'rdflib'; import { WebComponent } from 'solid-ui'; /** * The address book's title bar: what is currently being shown, the button that * adds a contact, and -- when a single group is in view -- the button that * deletes it. * * Adding a contact is self-contained: the button opens the modal and reports * the result. Deleting a group is not, so it only raises an intent; both the * confirmation and the deletion are the pane's business. */ export default class AddressBookHeader extends WebComponent { static styles: import('lit').CSSResult; /** Name of the single group in view, or null when showing everything. */ accessor selectedGroupName: string | null; accessor book: NamedNode | null; accessor selectedGroups: Record | null; /** Whose sharing the badge reports: the group in view, or the book. */ accessor aclSubject: NamedNode | null; private accessor loggedIn; private accessor visibility; /** Stamp for the latest visibility lookup, so a slow older one cannot * overwrite the answer for the current subject. */ private visibilityLookup; /** Whether the Tools view is the one currently filling the details pane. * Sharing opens a dialog instead, so it has nothing to stay marked against. */ private accessor toolsOpen; /** Whether the search box above the people list is showing. Off until the * user asks for it. */ private accessor searchOpen; connectedCallback(): void; protected updated(changedProperties: PropertyValues): void; private refreshVisibility; protected render(): import('lit-html').TemplateResult<1>; /** * solid-ui-menu assigns each child a slot when it first sees it, and only * numbers children that do not have one yet -- so an item appearing later * restarts at zero and lands on top of the first one. Keying the menu on the * items it contains rebuilds the element instead of mutating it, so it always * numbers a complete set. */ private renderMenu; /** The pill next to the title saying whether the web can read what is on * show. Hidden while unknown -- e.g. the ACL is unreadable before login. */ private renderVisibilityBadge; /** Drop the Sharing / Tools highlight when something else takes the stage. */ clearActiveAction(): void; private onToggleSearch; private onSharing; private onTools; private request; private onDeleteGroup; private onAddContact; } //# sourceMappingURL=AddressBookHeader.d.ts.map