- Name
items- Kind
- parameter
- Type
readonly NotificationHostItem<TContent>[]- Requirement
- required
DocsAPI referenceHeadlessnotification-center
notification-center headless API
The core connector and vanilla mount are always visible. Use the framework choice to inspect native composition, props, outputs, context and hooks for the selected adapter.
@grassroot/ui-headless-core/notification-center
Core connector and vanilla API
applyNotificationIntent
functiondeclare function applyNotificationIntent<TContent>(items: readonly NotificationHostItem<TContent>[], action: NotificationAction): NotificationHostItem<TContent>[];itemsreadonly NotificationHostItem<TContent>[]actionNotificationActionreturnNotificationHostItem<TContent>[]- Name
action- Kind
- parameter
- Type
NotificationAction- Requirement
- required
- Name
return- Kind
- return value
- Type
NotificationHostItem<TContent>[]- Requirement
- n/a
connectNotificationCenter
functiondeclare function connectNotificationCenter<TContent = unknown>(service: NotificationCenterService, scope: PartScope, options?: NotificationCenterConnectOptions<TContent>): NotificationCenterApi<TContent>;serviceNotificationCenterServicescopePartScopeoptionsNotificationCenterConnectOptions<TContent>returnNotificationCenterApi<TContent>- Name
service- Kind
- parameter
- Type
NotificationCenterService- Requirement
- required
- Name
scope- Kind
- parameter
- Type
PartScope- Requirement
- required
- Name
options- Kind
- parameter
- Type
NotificationCenterConnectOptions<TContent>- Requirement
- optional
- Name
return- Kind
- return value
- Type
NotificationCenterApi<TContent>- Requirement
- n/a
countUnreadNotificationProjections
functionDuplicate of frozen `countUnreadNotifications`.
declare function countUnreadNotificationProjections(items: readonly NotificationItemProjection[]): number;itemsreadonly NotificationItemProjection[]returnnumber- Name
items- Kind
- parameter
- Type
readonly NotificationItemProjection[]- Requirement
- required
- Name
return- Kind
- return value
- Type
number- Requirement
- n/a
groupNotificationProjections
functionDuplicate of frozen `groupNotifications`.
declare function groupNotificationProjections(items: readonly NotificationItemProjection[]): readonly NotificationGroupProjection[];itemsreadonly NotificationItemProjection[]returnreadonly NotificationGroupProjection[]- Name
items- Kind
- parameter
- Type
readonly NotificationItemProjection[]- Requirement
- required
- Name
return- Kind
- return value
- Type
readonly NotificationGroupProjection[]- Requirement
- n/a
ingestNotificationMessages
functiondeclare function ingestNotificationMessages<TContent>(sidecar: NotificationMessageSidecar<TContent>, items: readonly NotificationHostItem<TContent>[]): void;sidecarNotificationMessageSidecar<TContent>itemsreadonly NotificationHostItem<TContent>[]returnvoid- Name
sidecar- Kind
- parameter
- Type
NotificationMessageSidecar<TContent>- Requirement
- required
- Name
items- Kind
- parameter
- Type
readonly NotificationHostItem<TContent>[]- Requirement
- required
- Name
return- Kind
- return value
- Type
void- Requirement
- n/a
materializeNotificationItems
functiondeclare function materializeNotificationItems<TContent>(projections: readonly NotificationItemProjection[], sidecar: NotificationMessageSidecar<TContent>): NotificationHostItem<TContent>[];projectionsreadonly NotificationItemProjection[]sidecarNotificationMessageSidecar<TContent>returnNotificationHostItem<TContent>[]- Name
projections- Kind
- parameter
- Type
readonly NotificationItemProjection[]- Requirement
- required
- Name
sidecar- Kind
- parameter
- Type
NotificationMessageSidecar<TContent>- Requirement
- required
- Name
return- Kind
- return value
- Type
NotificationHostItem<TContent>[]- Requirement
- n/a
mountNotificationCenter
functiondeclare function mountNotificationCenter(container: HTMLElement, options?: MountNotificationCenterOptions): NotificationCenterMount;containerHTMLElementoptionsMountNotificationCenterOptionsreturnNotificationCenterMount- Name
container- Kind
- parameter
- Type
HTMLElement- Requirement
- required
- Name
options- Kind
- parameter
- Type
MountNotificationCenterOptions- Requirement
- optional
- Name
return- Kind
- return value
- Type
NotificationCenterMount- Requirement
- n/a
MountNotificationCenterOptions
interfaceinterface MountNotificationCenterOptions { readonly items?: readonly NotificationHostItem<string>[]; readonly defaultItems?: readonly NotificationHostItem<string>[]; readonly title?: string; readonly onItemsChange?: (detail: NotificationCenterItemsChangeDetail<string>) => void; readonly onOpen?: (id: string) => void;}defaultItemsreadonly NotificationHostItem<string>[]itemsreadonly NotificationHostItem<string>[]onItemsChange(detail: NotificationCenterItemsChangeDetail<string>) => voidonOpen(id: string) => voidtitlestring- Name
defaultItems- Kind
- property
- Type
readonly NotificationHostItem<string>[]- Requirement
- optional
- Name
items- Kind
- property
- Type
readonly NotificationHostItem<string>[]- Requirement
- optional
- Name
onItemsChange- Kind
- property
- Type
(detail: NotificationCenterItemsChangeDetail<string>) => void- Requirement
- optional
- Name
onOpen- Kind
- property
- Type
(id: string) => void- Requirement
- optional
- Name
title- Kind
- property
- Type
string- Requirement
- optional
NotificationAction
typetype NotificationAction = { readonly type: "markAllRead";} | { readonly type: "dismiss"; readonly id: string;};export declare const notificationCenterAnatomy: { readonly scope: "notification-center"; readonly parts: readonly ["root", "header", "title", "badge", "mark-all", "list", "group", "group-name", "group-list", "row", "unread-dot", "icon", "body", "message", "time", "open", "dismiss", "empty"];};partsreadonly ["root", "header", "title", "badge", "mark-all", "list", "group", "group-name", "group-list", "row", "unread-dot", "icon", "body", "message", "time", "open", "dismiss", "empty"]scope"notification-center"- Name
parts- Kind
- property
- Type
readonly ["root", "header", "title", "badge", "mark-all", "list", "group", "group-name", "group-list", "row", "unread-dot", "icon", "body", "message", "time", "open", "dismiss", "empty"]- Requirement
- required
- Name
scope- Kind
- property
- Type
"notification-center"- Requirement
- required
NotificationCenterApi
interfaceinterface NotificationCenterApi<TContent = unknown> { rootProps(): PartProps; headerProps(): PartProps; titleProps(): PartProps; badgeProps(): PartProps; markAllProps(): PartProps; listProps(): PartProps; groupProps(name: string): PartProps; groupNameProps(name: string): PartProps; groupListProps(name: string): PartProps; rowProps(id: string): PartProps; unreadDotProps(id: string): PartProps; iconProps(id: string): PartProps; bodyProps(id: string): PartProps; messageProps(id: string): PartProps; timeProps(id: string): PartProps; openProps(id: string): PartProps; dismissProps(id: string): PartProps; emptyProps(): PartProps; readonly items: readonly NotificationItemProjection[]; readonly hostItems: readonly NotificationHostItem<TContent>[]; readonly groups: readonly NotificationGroupProjection[]; readonly unreadCount: number; readonly title: string; readonly empty: boolean;}badgeProps() => PartPropsbodyProps(id: string) => PartPropsdismissProps(id: string) => PartPropsemptybooleanemptyProps() => PartPropsgroupListProps(name: string) => PartPropsgroupNameProps(name: string) => PartPropsgroupProps(name: string) => PartPropsgroupsreadonly NotificationGroupProjection[]headerProps() => PartPropshostItemsreadonly NotificationHostItem<TContent>[]iconProps(id: string) => PartPropsitemsreadonly NotificationItemProjection[]listProps() => PartProps- Name
badgeProps- Kind
- method
- Type
() => PartProps- Requirement
- required
- Name
bodyProps- Kind
- method
- Type
(id: string) => PartProps- Requirement
- required
- Name
dismissProps- Kind
- method
- Type
(id: string) => PartProps- Requirement
- required
- Name
empty- Kind
- property
- Type
boolean- Requirement
- required
- Name
emptyProps- Kind
- method
- Type
() => PartProps- Requirement
- required
- Name
groupListProps- Kind
- method
- Type
(name: string) => PartProps- Requirement
- required
- Name
groupNameProps- Kind
- method
- Type
(name: string) => PartProps- Requirement
- required
- Name
groupProps- Kind
- method
- Type
(name: string) => PartProps- Requirement
- required
- Name
groups- Kind
- property
- Type
readonly NotificationGroupProjection[]- Requirement
- required
- Name
headerProps- Kind
- method
- Type
() => PartProps- Requirement
- required
- Name
hostItems- Kind
- property
- Type
readonly NotificationHostItem<TContent>[]- Requirement
- required
- Name
iconProps- Kind
- method
- Type
(id: string) => PartProps- Requirement
- required
- Name
items- Kind
- property
- Type
readonly NotificationItemProjection[]- Requirement
- required
- Name
listProps- Kind
- method
- Type
() => PartProps- Requirement
- required
- Name
markAllProps- Kind
- method
- Type
() => PartProps- Requirement
- required
- Name
messageProps- Kind
- method
- Type
(id: string) => PartProps- Requirement
- required
- Name
openProps- Kind
- method
- Type
(id: string) => PartProps- Requirement
- required
- Name
rootProps- Kind
- method
- Type
() => PartProps- Requirement
- required
- Name
rowProps- Kind
- method
- Type
(id: string) => PartProps- Requirement
- required
- Name
timeProps- Kind
- method
- Type
(id: string) => PartProps- Requirement
- required
- Name
title- Kind
- property
- Type
string- Requirement
- required
- Name
titleProps- Kind
- method
- Type
() => PartProps- Requirement
- required
- Name
unreadCount- Kind
- property
- Type
number- Requirement
- required
- Name
unreadDotProps- Kind
- method
- Type
(id: string) => PartProps- Requirement
- required
type NotificationCenterChangeReason = "pointer" | "keyboard" | "programmatic";type NotificationCenterCommand = CommandObject & { readonly type: "ITEMS_CHANGE_REQUEST"; readonly items: readonly NotificationItemProjection[]; readonly action: NotificationAction; readonly reason: NotificationCenterChangeReason;};actionNotificationActionitemsreadonly NotificationItemProjection[]reasonNotificationCenterChangeReasontypestring- Name
action- Kind
- property
- Type
NotificationAction- Requirement
- required
- Name
items- Kind
- property
- Type
readonly NotificationItemProjection[]- Requirement
- required
- Name
reason- Kind
- property
- Type
NotificationCenterChangeReason- Requirement
- required
- Name
type- Kind
- property
- Type
string- Requirement
- required
NotificationCenterConnectOptions
interfaceinterface NotificationCenterConnectOptions<TContent = unknown> { readonly sidecar?: NotificationMessageSidecar<TContent>; readonly onItemsChange?: (detail: NotificationCenterItemsChangeDetail<TContent>) => void; readonly onOpen?: (id: string) => void;}onItemsChange(detail: NotificationCenterItemsChangeDetail<TContent>) => voidonOpen(id: string) => voidsidecarNotificationMessageSidecar<TContent>- Name
onItemsChange- Kind
- property
- Type
(detail: NotificationCenterItemsChangeDetail<TContent>) => void- Requirement
- optional
- Name
onOpen- Kind
- property
- Type
(id: string) => void- Requirement
- optional
- Name
sidecar- Kind
- property
- Type
NotificationMessageSidecar<TContent>- Requirement
- optional
type NotificationCenterContext = { readonly mode: BindingMode; readonly items: readonly NotificationItemProjection[];};itemsreadonly NotificationItemProjection[]modeBindingMode- Name
items- Kind
- property
- Type
readonly NotificationItemProjection[]- Requirement
- required
- Name
mode- Kind
- property
- Type
BindingMode- Requirement
- required
type NotificationCenterEvent = { readonly type: "MARK_ALL_READ"; readonly reason: NotificationCenterChangeReason;} | { readonly type: "DISMISS"; readonly id: string; readonly reason: NotificationCenterChangeReason;} | { readonly type: "RESET";};type NotificationCenterInput = { /** Controlled committed projections. Defining it (including `[]`) fixes controlled mode. */ readonly items?: readonly NotificationItemProjection[]; /** Uncontrolled initial projections. @default [] */ readonly defaultItems?: readonly NotificationItemProjection[]; /** Accessible name. Presentation-only; the machine ignores it. @default "Notifications" */ readonly title?: string;};defaultItemsreadonly NotificationItemProjection[]itemsreadonly NotificationItemProjection[]titlestring- Name
defaultItems- Kind
- property
- Type
readonly NotificationItemProjection[]- Requirement
- optional
- Description
- Uncontrolled initial projections.
- Name
items- Kind
- property
- Type
readonly NotificationItemProjection[]- Requirement
- optional
- Description
- Controlled committed projections. Defining it (including `[]`) fixes controlled mode.
- Name
title- Kind
- property
- Type
string- Requirement
- optional
- Description
- Accessible name. Presentation-only; the machine ignores it.
NotificationCenterItemsChangeDetail
interfaceinterface NotificationCenterItemsChangeDetail<TContent = unknown> { readonly items: NotificationHostItem<TContent>[]; readonly action: NotificationAction; readonly reason: NotificationCenterCommand["reason"];}actionNotificationActionitemsNotificationHostItem<TContent>[]reasonNotificationCenterCommand["reason"]- Name
action- Kind
- property
- Type
NotificationAction- Requirement
- required
- Name
items- Kind
- property
- Type
NotificationHostItem<TContent>[]- Requirement
- required
- Name
reason- Kind
- property
- Type
NotificationCenterCommand["reason"]- Requirement
- required
export declare const notificationCenterMachine: NotificationCenterMachine;NotificationCenterMount
interfaceinterface NotificationCenterMount { readonly service: NotificationCenterService; readonly connector: NotificationCenterApi<string>; readonly root: HTMLElement; setHostItems(items: readonly NotificationHostItem<string>[]): void; destroy(): void;}connectorNotificationCenterApi<string>destroy() => voidrootHTMLElementserviceNotificationCenterServicesetHostItems(items: readonly NotificationHostItem<string>[]) => void- Name
connector- Kind
- property
- Type
NotificationCenterApi<string>- Requirement
- required
- Name
destroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
root- Kind
- property
- Type
HTMLElement- Requirement
- required
- Name
service- Kind
- property
- Type
NotificationCenterService- Requirement
- required
- Name
setHostItems- Kind
- method
- Type
(items: readonly NotificationHostItem<string>[]) => void- Requirement
- required
type NotificationCenterPart = (typeof notificationCenterAnatomy.parts)[number];export declare const notificationCenterSelectors: { items: (snapshot: NotificationCenterSnapshot) => readonly NotificationItemProjection[]; mode: (snapshot: NotificationCenterSnapshot) => BindingMode; unreadCount: (snapshot: NotificationCenterSnapshot) => number; groups: (snapshot: NotificationCenterSnapshot) => readonly NotificationGroupProjection[];};groups(snapshot: NotificationCenterSnapshot) => readonly NotificationGroupProjection[]items(snapshot: NotificationCenterSnapshot) => readonly NotificationItemProjection[]mode(snapshot: NotificationCenterSnapshot) => BindingModeunreadCount(snapshot: NotificationCenterSnapshot) => number- Name
groups- Kind
- property
- Type
(snapshot: NotificationCenterSnapshot) => readonly NotificationGroupProjection[]- Requirement
- required
- Name
items- Kind
- property
- Type
(snapshot: NotificationCenterSnapshot) => readonly NotificationItemProjection[]- Requirement
- required
- Name
mode- Kind
- property
- Type
(snapshot: NotificationCenterSnapshot) => BindingMode- Requirement
- required
- Name
unreadCount- Kind
- property
- Type
(snapshot: NotificationCenterSnapshot) => number- Requirement
- required
type NotificationCenterService = Service<NotificationCenterInput, NotificationCenterStateValue, NotificationCenterContext, NotificationCenterEvent, NotificationCenterCommand>;type NotificationCenterSnapshot = Snapshot<NotificationCenterStateValue, NotificationCenterContext>;type NotificationCenterStateValue = "active";type NotificationGroupProjection = { readonly name: string; readonly rows: readonly NotificationItemProjection[];};namestringrowsreadonly NotificationItemProjection[]- Name
name- Kind
- property
- Type
string- Requirement
- required
- Name
rows- Kind
- property
- Type
readonly NotificationItemProjection[]- Requirement
- required
NotificationHostItem
interfaceinterface NotificationHostItem<TContent = unknown> { readonly id: string; readonly group: string; readonly kind: NotificationKind; readonly message: TContent; readonly time: string; readonly unread?: boolean;}groupstringidstringkindNotificationKindmessageTContenttimestringunreadboolean- Name
group- Kind
- property
- Type
string- Requirement
- required
- Name
id- Kind
- property
- Type
string- Requirement
- required
- Name
kind- Kind
- property
- Type
NotificationKind- Requirement
- required
- Name
message- Kind
- property
- Type
TContent- Requirement
- required
- Name
time- Kind
- property
- Type
string- Requirement
- required
- Name
unread- Kind
- property
- Type
boolean- Requirement
- optional
type NotificationItemProjection = { readonly id: string; readonly group: string; readonly kind: NotificationKind; readonly time: string; readonly unread: boolean;};groupstringidstringkindNotificationKindtimestringunreadboolean- Name
group- Kind
- property
- Type
string- Requirement
- required
- Name
id- Kind
- property
- Type
string- Requirement
- required
- Name
kind- Kind
- property
- Type
NotificationKind- Requirement
- required
- Name
time- Kind
- property
- Type
string- Requirement
- required
- Name
unread- Kind
- property
- Type
boolean- Requirement
- required
NotificationKind
typetype NotificationKind = "deploy" | "alert" | "mention" | "pr" | "error";NotificationMessageSidecar
interfaceinterface NotificationMessageSidecar<TContent = unknown> { readonly messages: Map<string, TContent>;}messagesMap<string, TContent>- Name
messages- Kind
- property
- Type
Map<string, TContent>- Requirement
- required
notificationProjectionsEqual
functiondeclare function notificationProjectionsEqual(left: readonly NotificationItemProjection[], right: readonly NotificationItemProjection[]): boolean;leftreadonly NotificationItemProjection[]rightreadonly NotificationItemProjection[]returnboolean- Name
left- Kind
- parameter
- Type
readonly NotificationItemProjection[]- Requirement
- required
- Name
right- Kind
- parameter
- Type
readonly NotificationItemProjection[]- Requirement
- required
- Name
return- Kind
- return value
- Type
boolean- Requirement
- n/a
projectNotificationItem
functiondeclare function projectNotificationItem(item: { readonly id: string; readonly group: string; readonly kind: NotificationKind; readonly time: string; readonly unread?: boolean;}): NotificationItemProjection;item{
readonly id: string;
readonly group: string;
readonly kind: NotificationKind;
readonly time: string;
readonly unread?: boolean;
}returnNotificationItemProjection- Name
item- Kind
- parameter
- Type
{ readonly id: string; readonly group: string; readonly kind: NotificationKind; readonly time: string; readonly unread?: boolean; }- Requirement
- required
- Name
return- Kind
- return value
- Type
NotificationItemProjection- Requirement
- n/a
projectNotificationItems
functiondeclare function projectNotificationItems(items: readonly { readonly id: string; readonly group: string; readonly kind: NotificationKind; readonly time: string; readonly unread?: boolean;}[]): NotificationItemProjection[];itemsreadonly {
readonly id: string;
readonly group: string;
readonly kind: NotificationKind;
readonly time: string;
readonly unread?: boolean;
}[]returnNotificationItemProjection[]- Name
items- Kind
- parameter
- Type
readonly { readonly id: string; readonly group: string; readonly kind: NotificationKind; readonly time: string; readonly unread?: boolean; }[]- Requirement
- required
- Name
return- Kind
- return value
- Type
NotificationItemProjection[]- Requirement
- n/a
reduceNotificationProjections
functionDuplicate of frozen `reduceNotifications`, with S6 same-reference no-ops.
declare function reduceNotificationProjections(items: readonly NotificationItemProjection[], action: NotificationAction): readonly NotificationItemProjection[];itemsreadonly NotificationItemProjection[]actionNotificationActionreturnreadonly NotificationItemProjection[]- Name
items- Kind
- parameter
- Type
readonly NotificationItemProjection[]- Requirement
- required
- Name
action- Kind
- parameter
- Type
NotificationAction- Requirement
- required
- Name
return- Kind
- return value
- Type
readonly NotificationItemProjection[]- Requirement
- n/a
runNotificationCenterCommand
functiondeclare function runNotificationCenterCommand<TContent = unknown>(command: NotificationCenterCommand, _scope: PartScope, options?: NotificationCenterConnectOptions<TContent>): void;commandNotificationCenterCommand_scopePartScopeoptionsNotificationCenterConnectOptions<TContent>returnvoid- Name
command- Kind
- parameter
- Type
NotificationCenterCommand- Requirement
- required
- Name
_scope- Kind
- parameter
- Type
PartScope- Requirement
- required
- Name
options- Kind
- parameter
- Type
NotificationCenterConnectOptions<TContent>- Requirement
- optional
- Name
return- Kind
- return value
- Type
void- Requirement
- n/a
Framework adapters
Each panel keeps its adapter's public vocabulary. React compound exports, Vue composables, standalone Angular declarations, Svelte components, and Solid hooks stay native to their framework.
React imports
import { Badge, Body, Dismiss, Empty, Group, GroupList, GroupName, Header } from "@grassroot/ui-headless-react/notification-center"; // +11 more exportsVue imports
<script setup lang="ts">import { NotificationCenterBadge, NotificationCenterBody, NotificationCenterDismiss, NotificationCenterEmpty, NotificationCenterGroup, NotificationCenterGroupList, NotificationCenterGroupName, NotificationCenterHeader } from "@grassroot/ui-headless-vue/notification-center"; // +10 more exports</script>Angular imports
import { Component } from "@angular/core";import { GR_NOTIFICATION_CENTER_DECLARATIONS } from "@grassroot/ui-headless-angular/notification-center"; @Component({ standalone: true, imports: [GR_NOTIFICATION_CENTER_DECLARATIONS], template: `<!-- compose the notification-center parts here -->` })export class Example {}Svelte imports
<script lang="ts"> import { NotificationCenterBadge, NotificationCenterBody, NotificationCenterDismiss, NotificationCenterEmpty, NotificationCenterGroup, NotificationCenterGroupList, NotificationCenterGroupName, NotificationCenterHeader } from "@grassroot/ui-headless-svelte/notification-center"; // +10 more exports</script>Solid imports
import { NotificationCenterBadge, NotificationCenterBody, NotificationCenterDismiss, NotificationCenterEmpty, NotificationCenterGroup, NotificationCenterGroupList, NotificationCenterGroupName, NotificationCenterHeader } from "@grassroot/ui-headless-solid/notification-center"; // +10 more exports@grassroot/ui-headless-react/notification-center
React adapter
Badge
valueexport declare const Badge: import("react").ForwardRefExoticComponent<(ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & { asChild?: boolean; children?: ReactNode;}) & import("react").RefAttributes<HTMLSpanElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
Body
valueexport declare const Body: import("react").ForwardRefExoticComponent<NotificationCenterItemProps & import("react").RefAttributes<HTMLDivElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
Dismiss
valueexport declare const Dismiss: import("react").ForwardRefExoticComponent<NotificationCenterButtonProps & import("react").RefAttributes<HTMLButtonElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
Empty
valueexport declare const Empty: import("react").ForwardRefExoticComponent<(ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & { asChild?: boolean; children?: ReactNode;}) & import("react").RefAttributes<HTMLDivElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
Group
valueexport declare const Group: import("react").ForwardRefExoticComponent<NotificationCenterGroupProps & import("react").RefAttributes<HTMLLIElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
GroupList
valueexport declare const GroupList: import("react").ForwardRefExoticComponent<NotificationCenterGroupListProps & import("react").RefAttributes<HTMLUListElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
GroupName
valueexport declare const GroupName: import("react").ForwardRefExoticComponent<NotificationCenterKeyedDivProps & import("react").RefAttributes<HTMLDivElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
Header
valueexport declare const Header: import("react").ForwardRefExoticComponent<(ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & { asChild?: boolean; children?: ReactNode;}) & import("react").RefAttributes<HTMLDivElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
Icon
valueexport declare const Icon: import("react").ForwardRefExoticComponent<NotificationCenterItemProps & import("react").RefAttributes<HTMLSpanElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
List
valueexport declare const List: import("react").ForwardRefExoticComponent<(ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & { asChild?: boolean; children?: ReactNode;}) & import("react").RefAttributes<HTMLUListElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
MarkAll
valueexport declare const MarkAll: import("react").ForwardRefExoticComponent<(ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & { asChild?: boolean; children?: ReactNode;}) & import("react").RefAttributes<HTMLButtonElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
Message
valueexport declare const Message: import("react").ForwardRefExoticComponent<NotificationCenterItemProps & import("react").RefAttributes<HTMLDivElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
NotificationCenter
valueexport declare const NotificationCenter: { Root: import("react").ForwardRefExoticComponent<NotificationCenterRootProps & import("react").RefAttributes<HTMLDivElement>>; Header: import("react").ForwardRefExoticComponent<(import("react").ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & { asChild?: boolean; children?: import("react").ReactNode; }) & import("react").RefAttributes<HTMLDivElement>>; Title: import("react").ForwardRefExoticComponent<(import("react").ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & { asChild?: boolean; children?: import("react").ReactNode; }) & import("react").RefAttributes<HTMLSpanElement>>; Badge: import("react").ForwardRefExoticComponent<(import("react").ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & { asChild?: boolean; children?: import("react").ReactNode; }) & import("react").RefAttributes<HTMLSpanElement>>; MarkAll: import("react").ForwardRefExoticComponent<(import("react").ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & { asChild?: boolean; children?: import("react").ReactNode; }) & import("react").RefAttributes<HTMLButtonElement>>; List: import("react").ForwardRefExoticComponent<(import("react").ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & { asChild?: boolean; children?: import("react").ReactNode; }) & import("react").RefAttributes<HTMLUListElement>>; Group: import("react").ForwardRefExoticComponent<NotificationCenterGroupProps & import("react").RefAttributes<HTMLLIElement>>; GroupName: import("react").ForwardRefExoticComponent<NotificationCenterKeyedDivProps & import("react").RefAttributes<HTMLDivElement>>; GroupList: import("react").ForwardRefExoticComponent<NotificationCenterGroupListProps & import("react").RefAttributes<HTMLUListElement>>; Row: import("react").ForwardRefExoticComponent<NotificationCenterRowProps & import("react").RefAttributes<HTMLLIElement>>; UnreadDot: import("react").ForwardRefExoticComponent<NotificationCenterItemProps & import("react").RefAttributes<HTMLSpanElement>>; Icon: import("react").ForwardRefExoticComponent<NotificationCenterItemProps & import("react").RefAttributes<HTMLSpanElement>>; Body: import("react").ForwardRefExoticComponent<NotificationCenterItemProps & import("react").RefAttributes<HTMLDivElement>>; Message: import("react").ForwardRefExoticComponent<NotificationCenterItemProps & import("react").RefAttributes<HTMLDivElement>>; Time: import("react").ForwardRefExoticComponent<NotificationCenterItemProps & import("react").RefAttributes<HTMLDivElement>>; Open: import("react").ForwardRefExoticComponent<NotificationCenterButtonProps & import("react").RefAttributes<HTMLButtonElement>>; Dismiss: import("react").ForwardRefExoticComponent<NotificationCenterButtonProps & import("react").RefAttributes<HTMLButtonElement>>; Empty: import("react").ForwardRefExoticComponent<(import("react").ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & { asChild?: boolean; children?: import("react").ReactNode; }) & import("react").RefAttributes<HTMLDivElement>>;};Badgeimport("react").ForwardRefExoticComponent<(import("react").ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & {
asChild?: boolean;
children?: import("react").ReactNode;
}) & import("react").RefAttributes<HTMLSpanElement>>Bodyimport("react").ForwardRefExoticComponent<NotificationCenterItemProps & import("react").RefAttributes<HTMLDivElement>>Dismissimport("react").ForwardRefExoticComponent<NotificationCenterButtonProps & import("react").RefAttributes<HTMLButtonElement>>Emptyimport("react").ForwardRefExoticComponent<(import("react").ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & {
asChild?: boolean;
children?: import("react").ReactNode;
}) & import("react").RefAttributes<HTMLDivElement>>Groupimport("react").ForwardRefExoticComponent<NotificationCenterGroupProps & import("react").RefAttributes<HTMLLIElement>>GroupListimport("react").ForwardRefExoticComponent<NotificationCenterGroupListProps & import("react").RefAttributes<HTMLUListElement>>GroupNameimport("react").ForwardRefExoticComponent<NotificationCenterKeyedDivProps & import("react").RefAttributes<HTMLDivElement>>Headerimport("react").ForwardRefExoticComponent<(import("react").ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & {
asChild?: boolean;
children?: import("react").ReactNode;
}) & import("react").RefAttributes<HTMLDivElement>>Iconimport("react").ForwardRefExoticComponent<NotificationCenterItemProps & import("react").RefAttributes<HTMLSpanElement>>Listimport("react").ForwardRefExoticComponent<(import("react").ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & {
asChild?: boolean;
children?: import("react").ReactNode;
}) & import("react").RefAttributes<HTMLUListElement>>MarkAllimport("react").ForwardRefExoticComponent<(import("react").ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & {
asChild?: boolean;
children?: import("react").ReactNode;
}) & import("react").RefAttributes<HTMLButtonElement>>Messageimport("react").ForwardRefExoticComponent<NotificationCenterItemProps & import("react").RefAttributes<HTMLDivElement>>Openimport("react").ForwardRefExoticComponent<NotificationCenterButtonProps & import("react").RefAttributes<HTMLButtonElement>>Rootimport("react").ForwardRefExoticComponent<NotificationCenterRootProps & import("react").RefAttributes<HTMLDivElement>>- Name
Badge- Kind
- property
- Type
import("react").ForwardRefExoticComponent<(import("react").ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & { asChild?: boolean; children?: import("react").ReactNode; }) & import("react").RefAttributes<HTMLSpanElement>>- Requirement
- required
- Name
Body- Kind
- property
- Type
import("react").ForwardRefExoticComponent<NotificationCenterItemProps & import("react").RefAttributes<HTMLDivElement>>- Requirement
- required
- Name
Dismiss- Kind
- property
- Type
import("react").ForwardRefExoticComponent<NotificationCenterButtonProps & import("react").RefAttributes<HTMLButtonElement>>- Requirement
- required
- Name
Empty- Kind
- property
- Type
import("react").ForwardRefExoticComponent<(import("react").ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & { asChild?: boolean; children?: import("react").ReactNode; }) & import("react").RefAttributes<HTMLDivElement>>- Requirement
- required
- Name
Group- Kind
- property
- Type
import("react").ForwardRefExoticComponent<NotificationCenterGroupProps & import("react").RefAttributes<HTMLLIElement>>- Requirement
- required
- Name
GroupList- Kind
- property
- Type
import("react").ForwardRefExoticComponent<NotificationCenterGroupListProps & import("react").RefAttributes<HTMLUListElement>>- Requirement
- required
- Name
GroupName- Kind
- property
- Type
import("react").ForwardRefExoticComponent<NotificationCenterKeyedDivProps & import("react").RefAttributes<HTMLDivElement>>- Requirement
- required
- Name
Header- Kind
- property
- Type
import("react").ForwardRefExoticComponent<(import("react").ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & { asChild?: boolean; children?: import("react").ReactNode; }) & import("react").RefAttributes<HTMLDivElement>>- Requirement
- required
- Name
Icon- Kind
- property
- Type
import("react").ForwardRefExoticComponent<NotificationCenterItemProps & import("react").RefAttributes<HTMLSpanElement>>- Requirement
- required
- Name
List- Kind
- property
- Type
import("react").ForwardRefExoticComponent<(import("react").ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & { asChild?: boolean; children?: import("react").ReactNode; }) & import("react").RefAttributes<HTMLUListElement>>- Requirement
- required
- Name
MarkAll- Kind
- property
- Type
import("react").ForwardRefExoticComponent<(import("react").ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & { asChild?: boolean; children?: import("react").ReactNode; }) & import("react").RefAttributes<HTMLButtonElement>>- Requirement
- required
- Name
Message- Kind
- property
- Type
import("react").ForwardRefExoticComponent<NotificationCenterItemProps & import("react").RefAttributes<HTMLDivElement>>- Requirement
- required
- Name
Open- Kind
- property
- Type
import("react").ForwardRefExoticComponent<NotificationCenterButtonProps & import("react").RefAttributes<HTMLButtonElement>>- Requirement
- required
- Name
Root- Kind
- property
- Type
import("react").ForwardRefExoticComponent<NotificationCenterRootProps & import("react").RefAttributes<HTMLDivElement>>- Requirement
- required
- Name
Row- Kind
- property
- Type
import("react").ForwardRefExoticComponent<NotificationCenterRowProps & import("react").RefAttributes<HTMLLIElement>>- Requirement
- required
- Name
Time- Kind
- property
- Type
import("react").ForwardRefExoticComponent<NotificationCenterItemProps & import("react").RefAttributes<HTMLDivElement>>- Requirement
- required
- Name
Title- Kind
- property
- Type
import("react").ForwardRefExoticComponent<(import("react").ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & { asChild?: boolean; children?: import("react").ReactNode; }) & import("react").RefAttributes<HTMLSpanElement>>- Requirement
- required
- Name
UnreadDot- Kind
- property
- Type
import("react").ForwardRefExoticComponent<NotificationCenterItemProps & import("react").RefAttributes<HTMLSpanElement>>- Requirement
- required
NotificationCenterButtonProps
interfaceinterface NotificationCenterButtonProps extends Omit<ComponentPropsWithoutRef<"button">, "type"> { readonly asChild?: boolean; readonly id: string;}asChildbooleanidstring- Name
asChild- Kind
- property
- Type
boolean- Requirement
- optional
- Name
id- Kind
- property
- Type
string- Requirement
- required
export declare const NotificationCenterContext: import("react").Context<NotificationCenterContextValue | null>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
NotificationCenterContextValue
interfaceinterface NotificationCenterContextValue { readonly service: NotificationCenterService; readonly connector: NotificationCenterApi; readonly scope: PartScope;}connectorNotificationCenterApiscopePartScopeserviceNotificationCenterService- Name
connector- Kind
- property
- Type
NotificationCenterApi- Requirement
- required
- Name
scope- Kind
- property
- Type
PartScope- Requirement
- required
- Name
service- Kind
- property
- Type
NotificationCenterService- Requirement
- required
NotificationCenterGroupListProps
interfaceinterface NotificationCenterGroupListProps extends ComponentPropsWithoutRef<"ul"> { readonly asChild?: boolean; readonly name: string; readonly children?: ReactNode;}asChildbooleanchildrenReactNodenamestring- Name
asChild- Kind
- property
- Type
boolean- Requirement
- optional
- Name
children- Kind
- property
- Type
ReactNode- Requirement
- optional
- Name
name- Kind
- property
- Type
string- Requirement
- required
NotificationCenterGroupProps
interfaceinterface NotificationCenterGroupProps extends ComponentPropsWithoutRef<"li"> { readonly asChild?: boolean; readonly name: string; readonly children?: ReactNode;}asChildbooleanchildrenReactNodenamestring- Name
asChild- Kind
- property
- Type
boolean- Requirement
- optional
- Name
children- Kind
- property
- Type
ReactNode- Requirement
- optional
- Name
name- Kind
- property
- Type
string- Requirement
- required
NotificationCenterItemProps
interfaceinterface NotificationCenterItemProps extends ComponentPropsWithoutRef<"div"> { readonly asChild?: boolean; readonly id: string; readonly children?: ReactNode;}asChildbooleanchildrenReactNodeidstring- Name
asChild- Kind
- property
- Type
boolean- Requirement
- optional
- Name
children- Kind
- property
- Type
ReactNode- Requirement
- optional
- Name
id- Kind
- property
- Type
string- Requirement
- required
NotificationCenterItemsChangeDetail
interfaceinterface NotificationCenterItemsChangeDetail<TContent = unknown> { readonly items: NotificationHostItem<TContent>[]; readonly action: NotificationAction; readonly reason: NotificationCenterCommand["reason"];}actionNotificationActionitemsNotificationHostItem<TContent>[]reasonNotificationCenterCommand["reason"]- Name
action- Kind
- property
- Type
NotificationAction- Requirement
- required
- Name
items- Kind
- property
- Type
NotificationHostItem<TContent>[]- Requirement
- required
- Name
reason- Kind
- property
- Type
NotificationCenterCommand["reason"]- Requirement
- required
NotificationCenterKeyedDivProps
interfaceinterface NotificationCenterKeyedDivProps extends ComponentPropsWithoutRef<"div"> { readonly asChild?: boolean; readonly name: string; readonly children?: ReactNode;}asChildbooleanchildrenReactNodenamestring- Name
asChild- Kind
- property
- Type
boolean- Requirement
- optional
- Name
children- Kind
- property
- Type
ReactNode- Requirement
- optional
- Name
name- Kind
- property
- Type
string- Requirement
- required
NotificationCenterRootProps
interfaceinterface NotificationCenterRootProps extends Omit<ComponentPropsWithoutRef<"div">, "onChange"> { readonly asChild?: boolean; readonly items?: readonly NotificationHostItem<ReactNode>[]; readonly defaultItems?: readonly NotificationHostItem<ReactNode>[]; readonly title?: string; readonly onItemsChange?: (detail: NotificationCenterItemsChangeDetail<ReactNode>) => void; readonly onOpen?: (id: string) => void; readonly children?: ReactNode;}asChildbooleanchildrenReactNodedefaultItemsreadonly NotificationHostItem<ReactNode>[]itemsreadonly NotificationHostItem<ReactNode>[]onItemsChange(detail: NotificationCenterItemsChangeDetail<ReactNode>) => voidonOpen(id: string) => voidtitlestring- Name
asChild- Kind
- property
- Type
boolean- Requirement
- optional
- Name
children- Kind
- property
- Type
ReactNode- Requirement
- optional
- Name
defaultItems- Kind
- property
- Type
readonly NotificationHostItem<ReactNode>[]- Requirement
- optional
- Name
items- Kind
- property
- Type
readonly NotificationHostItem<ReactNode>[]- Requirement
- optional
- Name
onItemsChange- Kind
- property
- Type
(detail: NotificationCenterItemsChangeDetail<ReactNode>) => void- Requirement
- optional
- Name
onOpen- Kind
- property
- Type
(id: string) => void- Requirement
- optional
- Name
title- Kind
- property
- Type
string- Requirement
- optional
NotificationCenterRowProps
interfaceinterface NotificationCenterRowProps extends ComponentPropsWithoutRef<"li"> { readonly asChild?: boolean; readonly id: string; readonly children?: ReactNode;}asChildbooleanchildrenReactNodeidstring- Name
asChild- Kind
- property
- Type
boolean- Requirement
- optional
- Name
children- Kind
- property
- Type
ReactNode- Requirement
- optional
- Name
id- Kind
- property
- Type
string- Requirement
- required
NotificationHostItem
interfaceinterface NotificationHostItem<TContent = unknown> { readonly id: string; readonly group: string; readonly kind: NotificationKind; readonly message: TContent; readonly time: string; readonly unread?: boolean;}groupstringidstringkindNotificationKindmessageTContenttimestringunreadboolean- Name
group- Kind
- property
- Type
string- Requirement
- required
- Name
id- Kind
- property
- Type
string- Requirement
- required
- Name
kind- Kind
- property
- Type
NotificationKind- Requirement
- required
- Name
message- Kind
- property
- Type
TContent- Requirement
- required
- Name
time- Kind
- property
- Type
string- Requirement
- required
- Name
unread- Kind
- property
- Type
boolean- Requirement
- optional
Open
valueexport declare const Open: import("react").ForwardRefExoticComponent<NotificationCenterButtonProps & import("react").RefAttributes<HTMLButtonElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
Root
valueexport declare const Root: import("react").ForwardRefExoticComponent<NotificationCenterRootProps & import("react").RefAttributes<HTMLDivElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
Row
valueexport declare const Row: import("react").ForwardRefExoticComponent<NotificationCenterRowProps & import("react").RefAttributes<HTMLLIElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
Time
valueexport declare const Time: import("react").ForwardRefExoticComponent<NotificationCenterItemProps & import("react").RefAttributes<HTMLDivElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
Title
valueexport declare const Title: import("react").ForwardRefExoticComponent<(ComponentPropsWithoutRef<keyof HTMLElementTagNameMap> & { asChild?: boolean; children?: ReactNode;}) & import("react").RefAttributes<HTMLSpanElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
UnreadDot
valueexport declare const UnreadDot: import("react").ForwardRefExoticComponent<NotificationCenterItemProps & import("react").RefAttributes<HTMLSpanElement>>;propsPreturnReactNode- Name
props- Kind
- parameter
- Type
P- Requirement
- required
- Name
return- Kind
- return value
- Type
ReactNode- Requirement
- n/a
useNotificationCenter
functiondeclare function useNotificationCenter<TContent = unknown>(input: NotificationCenterInput, options?: UseNotificationCenterOptions<TContent>): UseNotificationCenterResult<TContent>;inputNotificationCenterInputoptionsUseNotificationCenterOptions<TContent>returnUseNotificationCenterResult<TContent>- Name
input- Kind
- parameter
- Type
NotificationCenterInput- Requirement
- required
- Name
options- Kind
- parameter
- Type
UseNotificationCenterOptions<TContent>- Requirement
- optional
- Name
return- Kind
- return value
- Type
UseNotificationCenterResult<TContent>- Requirement
- n/a
useNotificationCenterContext
functiondeclare function useNotificationCenterContext(partName: string): NotificationCenterContextValue;partNamestringreturnNotificationCenterContextValue- Name
partName- Kind
- parameter
- Type
string- Requirement
- required
- Name
return- Kind
- return value
- Type
NotificationCenterContextValue- Requirement
- n/a
UseNotificationCenterOptions
interfaceinterface UseNotificationCenterOptions<TContent = unknown> { readonly hostItems?: readonly NotificationHostItem<TContent>[]; readonly onItemsChange?: (detail: NotificationCenterItemsChangeDetail<TContent>) => void; readonly onOpen?: (id: string) => void;}hostItemsreadonly NotificationHostItem<TContent>[]onItemsChange(detail: NotificationCenterItemsChangeDetail<TContent>) => voidonOpen(id: string) => void- Name
hostItems- Kind
- property
- Type
readonly NotificationHostItem<TContent>[]- Requirement
- optional
- Name
onItemsChange- Kind
- property
- Type
(detail: NotificationCenterItemsChangeDetail<TContent>) => void- Requirement
- optional
- Name
onOpen- Kind
- property
- Type
(id: string) => void- Requirement
- optional
UseNotificationCenterResult
interfaceinterface UseNotificationCenterResult<TContent = unknown> { readonly service: NotificationCenterService; readonly connector: NotificationCenterApi<TContent>; readonly scope: PartScope; readonly snapshot: NotificationCenterSnapshot;}connectorNotificationCenterApi<TContent>scopePartScopeserviceNotificationCenterServicesnapshotNotificationCenterSnapshot- Name
connector- Kind
- property
- Type
NotificationCenterApi<TContent>- Requirement
- required
- Name
scope- Kind
- property
- Type
PartScope- Requirement
- required
- Name
service- Kind
- property
- Type
NotificationCenterService- Requirement
- required
- Name
snapshot- Kind
- property
- Type
NotificationCenterSnapshot- Requirement
- required
@grassroot/ui-headless-vue/notification-center
Vue adapter
NotificationCenterBadge
valueexport declare const NotificationCenterBadge: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; };}>> & Readonly<{}>, { asChild: boolean;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;NotificationCenterBody
valueexport declare const NotificationCenterBody: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>> & Readonly<{}>, { asChild: boolean;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;export declare const NotificationCenterContextKey: InjectionKey<NotificationCenterContextValue>;NotificationCenterContextValue
interfaceinterface NotificationCenterContextValue { readonly service: NotificationCenterService; readonly connector: NotificationCenterApi; readonly scope: PartScope; readonly snapshot: ShallowRef<NotificationCenterSnapshot>;}connectorNotificationCenterApiscopePartScopeserviceNotificationCenterServicesnapshotShallowRef<NotificationCenterSnapshot>- Name
connector- Kind
- property
- Type
NotificationCenterApi- Requirement
- required
- Name
scope- Kind
- property
- Type
PartScope- Requirement
- required
- Name
service- Kind
- property
- Type
NotificationCenterService- Requirement
- required
- Name
snapshot- Kind
- property
- Type
ShallowRef<NotificationCenterSnapshot>- Requirement
- required
export declare const NotificationCenterDismiss: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>> & Readonly<{}>, { asChild: boolean;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;NotificationCenterEmpty
valueexport declare const NotificationCenterEmpty: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; };}>> & Readonly<{}>, { asChild: boolean;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;NotificationCenterGroup
valueexport declare const NotificationCenterGroup: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>> & Readonly<{}>, { asChild: boolean;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;export declare const NotificationCenterGroupList: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>> & Readonly<{}>, { asChild: boolean;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;export declare const NotificationCenterGroupName: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>> & Readonly<{}>, { asChild: boolean;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;NotificationCenterHeader
valueexport declare const NotificationCenterHeader: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; };}>> & Readonly<{}>, { asChild: boolean;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;NotificationCenterIcon
valueexport declare const NotificationCenterIcon: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>> & Readonly<{}>, { asChild: boolean;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;NotificationCenterItemsChangeDetail
interfaceinterface NotificationCenterItemsChangeDetail<TContent = unknown> { readonly items: NotificationHostItem<TContent>[]; readonly action: NotificationAction; readonly reason: NotificationCenterCommand["reason"];}actionNotificationActionitemsNotificationHostItem<TContent>[]reasonNotificationCenterCommand["reason"]- Name
action- Kind
- property
- Type
NotificationAction- Requirement
- required
- Name
items- Kind
- property
- Type
NotificationHostItem<TContent>[]- Requirement
- required
- Name
reason- Kind
- property
- Type
NotificationCenterCommand["reason"]- Requirement
- required
NotificationCenterList
valueexport declare const NotificationCenterList: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; };}>> & Readonly<{}>, { asChild: boolean;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;export declare const NotificationCenterMarkAll: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; };}>> & Readonly<{}>, { asChild: boolean;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;export declare const NotificationCenterMessage: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>> & Readonly<{}>, { asChild: boolean;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;NotificationCenterOpen
valueexport declare const NotificationCenterOpen: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>> & Readonly<{}>, { asChild: boolean;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;NotificationCenterRoot
valueexport declare const NotificationCenterRoot: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; items: { type: PropType<NotificationHostItem[] | undefined>; default: undefined; }; defaultItems: { type: PropType<NotificationHostItem[] | undefined>; default: undefined; }; title: { type: PropType<string | undefined>; default: undefined; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, { itemsChange: (_detail: NotificationCenterItemsChangeDetail) => true; open: (_id: string) => true;}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; items: { type: PropType<NotificationHostItem[] | undefined>; default: undefined; }; defaultItems: { type: PropType<NotificationHostItem[] | undefined>; default: undefined; }; title: { type: PropType<string | undefined>; default: undefined; };}>> & Readonly<{ onItemsChange?: ((_detail: NotificationCenterItemsChangeDetail<unknown>) => any) | undefined; onOpen?: ((_id: string) => any) | undefined;}>, { asChild: boolean; items: NotificationHostItem<unknown>[] | undefined; defaultItems: NotificationHostItem<unknown>[] | undefined; title: string | undefined;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;NotificationCenterRow
valueexport declare const NotificationCenterRow: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>> & Readonly<{}>, { asChild: boolean;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;NotificationCenterTime
valueexport declare const NotificationCenterTime: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>> & Readonly<{}>, { asChild: boolean;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;NotificationCenterTitle
valueexport declare const NotificationCenterTitle: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; };}>> & Readonly<{}>, { asChild: boolean;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;export declare const NotificationCenterUnreadDot: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, { [key: string]: any;}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ asChild: { type: BooleanConstructor; default: boolean; }; name: { type: StringConstructor; required: boolean; }; id: { type: StringConstructor; required: boolean; };}>> & Readonly<{}>, { asChild: boolean;}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;NotificationHostItem
interfaceinterface NotificationHostItem<TContent = unknown> { readonly id: string; readonly group: string; readonly kind: NotificationKind; readonly message: TContent; readonly time: string; readonly unread?: boolean;}groupstringidstringkindNotificationKindmessageTContenttimestringunreadboolean- Name
group- Kind
- property
- Type
string- Requirement
- required
- Name
id- Kind
- property
- Type
string- Requirement
- required
- Name
kind- Kind
- property
- Type
NotificationKind- Requirement
- required
- Name
message- Kind
- property
- Type
TContent- Requirement
- required
- Name
time- Kind
- property
- Type
string- Requirement
- required
- Name
unread- Kind
- property
- Type
boolean- Requirement
- optional
useNotificationCenter
functiondeclare function useNotificationCenter<TContent = unknown>(input: NotificationCenterInput | (() => NotificationCenterInput), options?: UseNotificationCenterOptions<TContent>): UseNotificationCenterResult<TContent>;inputNotificationCenterInput | (() => NotificationCenterInput)optionsUseNotificationCenterOptions<TContent>returnUseNotificationCenterResult<TContent>- Name
input- Kind
- parameter
- Type
NotificationCenterInput | (() => NotificationCenterInput)- Requirement
- required
- Name
options- Kind
- parameter
- Type
UseNotificationCenterOptions<TContent>- Requirement
- optional
- Name
return- Kind
- return value
- Type
UseNotificationCenterResult<TContent>- Requirement
- n/a
useNotificationCenterContext
functiondeclare function useNotificationCenterContext(partName: string): NotificationCenterContextValue;partNamestringreturnNotificationCenterContextValue- Name
partName- Kind
- parameter
- Type
string- Requirement
- required
- Name
return- Kind
- return value
- Type
NotificationCenterContextValue- Requirement
- n/a
UseNotificationCenterOptions
interfaceinterface UseNotificationCenterOptions<TContent = unknown> { readonly hostItems?: readonly NotificationHostItem<TContent>[]; readonly onItemsChange?: (detail: NotificationCenterItemsChangeDetail<TContent>) => void; readonly onOpen?: (id: string) => void;}hostItemsreadonly NotificationHostItem<TContent>[]onItemsChange(detail: NotificationCenterItemsChangeDetail<TContent>) => voidonOpen(id: string) => void- Name
hostItems- Kind
- property
- Type
readonly NotificationHostItem<TContent>[]- Requirement
- optional
- Name
onItemsChange- Kind
- property
- Type
(detail: NotificationCenterItemsChangeDetail<TContent>) => void- Requirement
- optional
- Name
onOpen- Kind
- property
- Type
(id: string) => void- Requirement
- optional
UseNotificationCenterResult
interfaceinterface UseNotificationCenterResult<TContent = unknown> { readonly service: NotificationCenterService; readonly connector: NotificationCenterApi<TContent>; readonly scope: PartScope; readonly snapshot: ShallowRef<NotificationCenterSnapshot>;}connectorNotificationCenterApi<TContent>scopePartScopeserviceNotificationCenterServicesnapshotShallowRef<NotificationCenterSnapshot>- Name
connector- Kind
- property
- Type
NotificationCenterApi<TContent>- Requirement
- required
- Name
scope- Kind
- property
- Type
PartScope- Requirement
- required
- Name
service- Kind
- property
- Type
NotificationCenterService- Requirement
- required
- Name
snapshot- Kind
- property
- Type
ShallowRef<NotificationCenterSnapshot>- Requirement
- required
@grassroot/ui-headless-angular/notification-center
Angular adapter
createNotificationCenterStore
functionexport declare function createNotificationCenterStore(initialInput?: NotificationCenterInput, options?: CreateNotificationCenterStoreOptions): NotificationCenterStore;initialInputNotificationCenterInputoptionsCreateNotificationCenterStoreOptionsreturnNotificationCenterStore- Name
initialInput- Kind
- parameter
- Type
NotificationCenterInput- Requirement
- optional
- Name
options- Kind
- parameter
- Type
CreateNotificationCenterStoreOptions- Requirement
- optional
- Name
return- Kind
- return value
- Type
NotificationCenterStore- Requirement
- n/a
CreateNotificationCenterStoreOptions
interfaceexport interface CreateNotificationCenterStoreOptions { readonly onItemsChange?: (detail: NotificationCenterItemsChangeDetail) => void; readonly onOpen?: (id: string) => void; readonly onCommit?: () => void;}onCommit() => voidonItemsChange(detail: NotificationCenterItemsChangeDetail) => voidonOpen(id: string) => void- Name
onCommit- Kind
- property
- Type
() => void- Requirement
- optional
- Name
onItemsChange- Kind
- property
- Type
(detail: NotificationCenterItemsChangeDetail) => void- Requirement
- optional
- Name
onOpen- Kind
- property
- Type
(id: string) => void- Requirement
- optional
export declare const GR_NOTIFICATION_CENTER_DECLARATIONS: readonly [typeof GrNotificationCenterRoot, typeof GrNotificationCenterHeader, typeof GrNotificationCenterTitle, typeof GrNotificationCenterBadge, typeof GrNotificationCenterMarkAll, typeof GrNotificationCenterList, typeof GrNotificationCenterGroup, typeof GrNotificationCenterGroupName, typeof GrNotificationCenterGroupList, typeof GrNotificationCenterRow, typeof GrNotificationCenterUnreadDot, typeof GrNotificationCenterIcon, typeof GrNotificationCenterBody, typeof GrNotificationCenterMessage, typeof GrNotificationCenterTime, typeof GrNotificationCenterOpen, typeof GrNotificationCenterDismiss, typeof GrNotificationCenterEmpty];export declare class GrNotificationCenterBadge implements OnDestroy { private readonly store; private readonly elementRef; private readonly listeners; private readonly consumerProps; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrNotificationCenterBadge, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrNotificationCenterBadge, "[grNotificationCenterBadge]", never, {}, {}, never, never, true, never>;}consumerPropsanyelementRefanylistenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrNotificationCenterBadge, "[grNotificationCenterBadge]", never, {}, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrNotificationCenterBadge, never>storeany- Name
consumerProps- Kind
- property
- Type
any- Requirement
- required
- Name
elementRef- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrNotificationCenterBadge, "[grNotificationCenterBadge]", never, {}, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrNotificationCenterBadge, never>- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
GrNotificationCenterBody
classexport declare class GrNotificationCenterBody implements OnDestroy { readonly id: import("@angular/core").InputSignal<string>; private readonly store; private readonly elementRef; private readonly listeners; private readonly consumerProps; private registeredKey; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrNotificationCenterBody, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrNotificationCenterBody, "[grNotificationCenterBody]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;}consumerPropsanyelementRefanyidimport("@angular/core").InputSignal<string>listenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrNotificationCenterBody, "[grNotificationCenterBody]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrNotificationCenterBody, never>registeredKeyanystoreany- Name
consumerProps- Kind
- property
- Type
any- Requirement
- required
- Name
elementRef- Kind
- property
- Type
any- Requirement
- required
- Name
id- Kind
- property
- Type
import("@angular/core").InputSignal<string>- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrNotificationCenterBody, "[grNotificationCenterBody]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrNotificationCenterBody, never>- Requirement
- required
- Name
registeredKey- Kind
- property
- Type
any- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
export declare class GrNotificationCenterDismiss implements OnDestroy { readonly id: import("@angular/core").InputSignal<string>; private readonly store; private readonly elementRef; private readonly listeners; private readonly consumerProps; private registeredKey; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrNotificationCenterDismiss, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrNotificationCenterDismiss, "[grNotificationCenterDismiss]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;}consumerPropsanyelementRefanyidimport("@angular/core").InputSignal<string>listenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrNotificationCenterDismiss, "[grNotificationCenterDismiss]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrNotificationCenterDismiss, never>registeredKeyanystoreany- Name
consumerProps- Kind
- property
- Type
any- Requirement
- required
- Name
elementRef- Kind
- property
- Type
any- Requirement
- required
- Name
id- Kind
- property
- Type
import("@angular/core").InputSignal<string>- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrNotificationCenterDismiss, "[grNotificationCenterDismiss]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrNotificationCenterDismiss, never>- Requirement
- required
- Name
registeredKey- Kind
- property
- Type
any- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
export declare class GrNotificationCenterEmpty implements OnDestroy { private readonly store; private readonly elementRef; private readonly listeners; private readonly consumerProps; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrNotificationCenterEmpty, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrNotificationCenterEmpty, "[grNotificationCenterEmpty]", never, {}, {}, never, never, true, never>;}consumerPropsanyelementRefanylistenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrNotificationCenterEmpty, "[grNotificationCenterEmpty]", never, {}, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrNotificationCenterEmpty, never>storeany- Name
consumerProps- Kind
- property
- Type
any- Requirement
- required
- Name
elementRef- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrNotificationCenterEmpty, "[grNotificationCenterEmpty]", never, {}, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrNotificationCenterEmpty, never>- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
export declare class GrNotificationCenterGroup implements OnDestroy { readonly name: import("@angular/core").InputSignal<string>; private readonly store; private readonly elementRef; private readonly listeners; private readonly consumerProps; private registeredKey; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrNotificationCenterGroup, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrNotificationCenterGroup, "[grNotificationCenterGroup]", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;}consumerPropsanyelementRefanylistenersanynameimport("@angular/core").InputSignal<string>ngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrNotificationCenterGroup, "[grNotificationCenterGroup]", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrNotificationCenterGroup, never>registeredKeyanystoreany- Name
consumerProps- Kind
- property
- Type
any- Requirement
- required
- Name
elementRef- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
name- Kind
- property
- Type
import("@angular/core").InputSignal<string>- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrNotificationCenterGroup, "[grNotificationCenterGroup]", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrNotificationCenterGroup, never>- Requirement
- required
- Name
registeredKey- Kind
- property
- Type
any- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
export declare class GrNotificationCenterGroupList implements OnDestroy { readonly name: import("@angular/core").InputSignal<string>; private readonly store; private readonly elementRef; private readonly listeners; private readonly consumerProps; private registeredKey; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrNotificationCenterGroupList, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrNotificationCenterGroupList, "[grNotificationCenterGroupList]", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;}consumerPropsanyelementRefanylistenersanynameimport("@angular/core").InputSignal<string>ngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrNotificationCenterGroupList, "[grNotificationCenterGroupList]", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrNotificationCenterGroupList, never>registeredKeyanystoreany- Name
consumerProps- Kind
- property
- Type
any- Requirement
- required
- Name
elementRef- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
name- Kind
- property
- Type
import("@angular/core").InputSignal<string>- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrNotificationCenterGroupList, "[grNotificationCenterGroupList]", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrNotificationCenterGroupList, never>- Requirement
- required
- Name
registeredKey- Kind
- property
- Type
any- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
export declare class GrNotificationCenterGroupName implements OnDestroy { readonly name: import("@angular/core").InputSignal<string>; private readonly store; private readonly elementRef; private readonly listeners; private readonly consumerProps; private registeredKey; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrNotificationCenterGroupName, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrNotificationCenterGroupName, "[grNotificationCenterGroupName]", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;}consumerPropsanyelementRefanylistenersanynameimport("@angular/core").InputSignal<string>ngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrNotificationCenterGroupName, "[grNotificationCenterGroupName]", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrNotificationCenterGroupName, never>registeredKeyanystoreany- Name
consumerProps- Kind
- property
- Type
any- Requirement
- required
- Name
elementRef- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
name- Kind
- property
- Type
import("@angular/core").InputSignal<string>- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrNotificationCenterGroupName, "[grNotificationCenterGroupName]", never, { "name": { "alias": "name"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrNotificationCenterGroupName, never>- Requirement
- required
- Name
registeredKey- Kind
- property
- Type
any- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
export declare class GrNotificationCenterHeader implements OnDestroy { private readonly store; private readonly elementRef; private readonly listeners; private readonly consumerProps; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrNotificationCenterHeader, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrNotificationCenterHeader, "[grNotificationCenterHeader]", never, {}, {}, never, never, true, never>;}consumerPropsanyelementRefanylistenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrNotificationCenterHeader, "[grNotificationCenterHeader]", never, {}, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrNotificationCenterHeader, never>storeany- Name
consumerProps- Kind
- property
- Type
any- Requirement
- required
- Name
elementRef- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrNotificationCenterHeader, "[grNotificationCenterHeader]", never, {}, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrNotificationCenterHeader, never>- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
GrNotificationCenterIcon
classexport declare class GrNotificationCenterIcon implements OnDestroy { readonly id: import("@angular/core").InputSignal<string>; private readonly store; private readonly elementRef; private readonly listeners; private readonly consumerProps; private registeredKey; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrNotificationCenterIcon, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrNotificationCenterIcon, "[grNotificationCenterIcon]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;}consumerPropsanyelementRefanyidimport("@angular/core").InputSignal<string>listenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrNotificationCenterIcon, "[grNotificationCenterIcon]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrNotificationCenterIcon, never>registeredKeyanystoreany- Name
consumerProps- Kind
- property
- Type
any- Requirement
- required
- Name
elementRef- Kind
- property
- Type
any- Requirement
- required
- Name
id- Kind
- property
- Type
import("@angular/core").InputSignal<string>- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrNotificationCenterIcon, "[grNotificationCenterIcon]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrNotificationCenterIcon, never>- Requirement
- required
- Name
registeredKey- Kind
- property
- Type
any- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
GrNotificationCenterList
classexport declare class GrNotificationCenterList implements OnDestroy { private readonly store; private readonly elementRef; private readonly listeners; private readonly consumerProps; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrNotificationCenterList, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrNotificationCenterList, "[grNotificationCenterList]", never, {}, {}, never, never, true, never>;}consumerPropsanyelementRefanylistenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrNotificationCenterList, "[grNotificationCenterList]", never, {}, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrNotificationCenterList, never>storeany- Name
consumerProps- Kind
- property
- Type
any- Requirement
- required
- Name
elementRef- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrNotificationCenterList, "[grNotificationCenterList]", never, {}, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrNotificationCenterList, never>- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
export declare class GrNotificationCenterMarkAll implements OnDestroy { private readonly store; private readonly elementRef; private readonly listeners; private readonly consumerProps; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrNotificationCenterMarkAll, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrNotificationCenterMarkAll, "[grNotificationCenterMarkAll]", never, {}, {}, never, never, true, never>;}consumerPropsanyelementRefanylistenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrNotificationCenterMarkAll, "[grNotificationCenterMarkAll]", never, {}, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrNotificationCenterMarkAll, never>storeany- Name
consumerProps- Kind
- property
- Type
any- Requirement
- required
- Name
elementRef- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrNotificationCenterMarkAll, "[grNotificationCenterMarkAll]", never, {}, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrNotificationCenterMarkAll, never>- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
export declare class GrNotificationCenterMessage implements OnDestroy { readonly id: import("@angular/core").InputSignal<string>; private readonly store; private readonly elementRef; private readonly listeners; private readonly consumerProps; private registeredKey; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrNotificationCenterMessage, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrNotificationCenterMessage, "[grNotificationCenterMessage]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;}consumerPropsanyelementRefanyidimport("@angular/core").InputSignal<string>listenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrNotificationCenterMessage, "[grNotificationCenterMessage]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrNotificationCenterMessage, never>registeredKeyanystoreany- Name
consumerProps- Kind
- property
- Type
any- Requirement
- required
- Name
elementRef- Kind
- property
- Type
any- Requirement
- required
- Name
id- Kind
- property
- Type
import("@angular/core").InputSignal<string>- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrNotificationCenterMessage, "[grNotificationCenterMessage]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrNotificationCenterMessage, never>- Requirement
- required
- Name
registeredKey- Kind
- property
- Type
any- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
GrNotificationCenterOpen
classexport declare class GrNotificationCenterOpen implements OnDestroy { readonly id: import("@angular/core").InputSignal<string>; private readonly store; private readonly elementRef; private readonly listeners; private readonly consumerProps; private registeredKey; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrNotificationCenterOpen, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrNotificationCenterOpen, "[grNotificationCenterOpen]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;}consumerPropsanyelementRefanyidimport("@angular/core").InputSignal<string>listenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrNotificationCenterOpen, "[grNotificationCenterOpen]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrNotificationCenterOpen, never>registeredKeyanystoreany- Name
consumerProps- Kind
- property
- Type
any- Requirement
- required
- Name
elementRef- Kind
- property
- Type
any- Requirement
- required
- Name
id- Kind
- property
- Type
import("@angular/core").InputSignal<string>- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrNotificationCenterOpen, "[grNotificationCenterOpen]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrNotificationCenterOpen, never>- Requirement
- required
- Name
registeredKey- Kind
- property
- Type
any- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
GrNotificationCenterRoot
classexport declare class GrNotificationCenterRoot implements OnDestroy { readonly items: import("@angular/core").InputSignal<readonly NotificationHostItem<unknown>[] | undefined>; readonly defaultItems: import("@angular/core").InputSignal<readonly NotificationHostItem<unknown>[] | undefined>; readonly title: import("@angular/core").InputSignal<string | undefined>; readonly itemsChange: import("@angular/core").OutputEmitterRef<NotificationCenterItemsChangeDetail<unknown>>; readonly open: import("@angular/core").OutputEmitterRef<string>; private readonly elementRef; private readonly injector; private readonly listeners; private lastSynced; readonly store: NotificationCenterStore; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrNotificationCenterRoot, never>; static ɵcmp: i0.ɵɵComponentDeclaration<GrNotificationCenterRoot, "gr-notification-center-root", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "defaultItems": { "alias": "defaultItems"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; }, { "itemsChange": "itemsChange"; "open": "open"; }, never, ["*"], true, never>;}defaultItemsimport("@angular/core").InputSignal<readonly NotificationHostItem<unknown>[] | undefined>elementRefanyinjectoranyitemsimport("@angular/core").InputSignal<readonly NotificationHostItem<unknown>[] | undefined>itemsChangeimport("@angular/core").OutputEmitterRef<NotificationCenterItemsChangeDetail<unknown>>lastSyncedanylistenersanyngOnDestroy() => voidopenimport("@angular/core").OutputEmitterRef<string>ɵcmpi0.ɵɵComponentDeclaration<GrNotificationCenterRoot, "gr-notification-center-root", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "defaultItems": { "alias": "defaultItems"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; }, { "itemsChange": "itemsChange"; "open": "open"; }, never, ["*"], true, never>ɵfaci0.ɵɵFactoryDeclaration<GrNotificationCenterRoot, never>storeNotificationCenterStoretitleimport("@angular/core").InputSignal<string | undefined>- Name
defaultItems- Kind
- property
- Type
import("@angular/core").InputSignal<readonly NotificationHostItem<unknown>[] | undefined>- Requirement
- required
- Name
elementRef- Kind
- property
- Type
any- Requirement
- required
- Name
injector- Kind
- property
- Type
any- Requirement
- required
- Name
items- Kind
- property
- Type
import("@angular/core").InputSignal<readonly NotificationHostItem<unknown>[] | undefined>- Requirement
- required
- Name
itemsChange- Kind
- property
- Type
import("@angular/core").OutputEmitterRef<NotificationCenterItemsChangeDetail<unknown>>- Requirement
- required
- Name
lastSynced- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
open- Kind
- property
- Type
import("@angular/core").OutputEmitterRef<string>- Requirement
- required
- Name
ɵcmp- Kind
- property
- Type
i0.ɵɵComponentDeclaration<GrNotificationCenterRoot, "gr-notification-center-root", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "defaultItems": { "alias": "defaultItems"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; }, { "itemsChange": "itemsChange"; "open": "open"; }, never, ["*"], true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrNotificationCenterRoot, never>- Requirement
- required
- Name
store- Kind
- property
- Type
NotificationCenterStore- Requirement
- required
- Name
title- Kind
- property
- Type
import("@angular/core").InputSignal<string | undefined>- Requirement
- required
GrNotificationCenterRow
classexport declare class GrNotificationCenterRow implements OnDestroy { readonly id: import("@angular/core").InputSignal<string>; private readonly store; private readonly elementRef; private readonly listeners; private readonly consumerProps; private registeredKey; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrNotificationCenterRow, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrNotificationCenterRow, "[grNotificationCenterRow]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;}consumerPropsanyelementRefanyidimport("@angular/core").InputSignal<string>listenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrNotificationCenterRow, "[grNotificationCenterRow]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrNotificationCenterRow, never>registeredKeyanystoreany- Name
consumerProps- Kind
- property
- Type
any- Requirement
- required
- Name
elementRef- Kind
- property
- Type
any- Requirement
- required
- Name
id- Kind
- property
- Type
import("@angular/core").InputSignal<string>- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrNotificationCenterRow, "[grNotificationCenterRow]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrNotificationCenterRow, never>- Requirement
- required
- Name
registeredKey- Kind
- property
- Type
any- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
GrNotificationCenterTime
classexport declare class GrNotificationCenterTime implements OnDestroy { readonly id: import("@angular/core").InputSignal<string>; private readonly store; private readonly elementRef; private readonly listeners; private readonly consumerProps; private registeredKey; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrNotificationCenterTime, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrNotificationCenterTime, "[grNotificationCenterTime]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;}consumerPropsanyelementRefanyidimport("@angular/core").InputSignal<string>listenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrNotificationCenterTime, "[grNotificationCenterTime]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrNotificationCenterTime, never>registeredKeyanystoreany- Name
consumerProps- Kind
- property
- Type
any- Requirement
- required
- Name
elementRef- Kind
- property
- Type
any- Requirement
- required
- Name
id- Kind
- property
- Type
import("@angular/core").InputSignal<string>- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrNotificationCenterTime, "[grNotificationCenterTime]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrNotificationCenterTime, never>- Requirement
- required
- Name
registeredKey- Kind
- property
- Type
any- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
export declare class GrNotificationCenterTitle implements OnDestroy { private readonly store; private readonly elementRef; private readonly listeners; private readonly consumerProps; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrNotificationCenterTitle, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrNotificationCenterTitle, "[grNotificationCenterTitle]", never, {}, {}, never, never, true, never>;}consumerPropsanyelementRefanylistenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrNotificationCenterTitle, "[grNotificationCenterTitle]", never, {}, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrNotificationCenterTitle, never>storeany- Name
consumerProps- Kind
- property
- Type
any- Requirement
- required
- Name
elementRef- Kind
- property
- Type
any- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrNotificationCenterTitle, "[grNotificationCenterTitle]", never, {}, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrNotificationCenterTitle, never>- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
export declare class GrNotificationCenterUnreadDot implements OnDestroy { readonly id: import("@angular/core").InputSignal<string>; private readonly store; private readonly elementRef; private readonly listeners; private readonly consumerProps; private registeredKey; constructor(); ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration<GrNotificationCenterUnreadDot, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<GrNotificationCenterUnreadDot, "[grNotificationCenterUnreadDot]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;}consumerPropsanyelementRefanyidimport("@angular/core").InputSignal<string>listenersanyngOnDestroy() => voidɵdiri0.ɵɵDirectiveDeclaration<GrNotificationCenterUnreadDot, "[grNotificationCenterUnreadDot]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>ɵfaci0.ɵɵFactoryDeclaration<GrNotificationCenterUnreadDot, never>registeredKeyanystoreany- Name
consumerProps- Kind
- property
- Type
any- Requirement
- required
- Name
elementRef- Kind
- property
- Type
any- Requirement
- required
- Name
id- Kind
- property
- Type
import("@angular/core").InputSignal<string>- Requirement
- required
- Name
listeners- Kind
- property
- Type
any- Requirement
- required
- Name
ngOnDestroy- Kind
- method
- Type
() => void- Requirement
- required
- Name
ɵdir- Kind
- property
- Type
i0.ɵɵDirectiveDeclaration<GrNotificationCenterUnreadDot, "[grNotificationCenterUnreadDot]", never, { "id": { "alias": "id"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>- Requirement
- required
- Name
ɵfac- Kind
- property
- Type
i0.ɵɵFactoryDeclaration<GrNotificationCenterUnreadDot, never>- Requirement
- required
- Name
registeredKey- Kind
- property
- Type
any- Requirement
- required
- Name
store- Kind
- property
- Type
any- Requirement
- required
ingestNotificationMessages
functiondeclare function ingestNotificationMessages<TContent>(sidecar: NotificationMessageSidecar<TContent>, items: readonly NotificationHostItem<TContent>[]): void;sidecarNotificationMessageSidecar<TContent>itemsreadonly NotificationHostItem<TContent>[]returnvoid- Name
sidecar- Kind
- parameter
- Type
NotificationMessageSidecar<TContent>- Requirement
- required
- Name
items- Kind
- parameter
- Type
readonly NotificationHostItem<TContent>[]- Requirement
- required
- Name
return- Kind
- return value
- Type
void- Requirement
- n/a
export declare const NOTIFICATION_CENTER_STORE: InjectionToken<NotificationCenterStore>;NotificationCenterItemsChangeDetail
interfaceinterface NotificationCenterItemsChangeDetail<TContent = unknown> { readonly items: NotificationHostItem<TContent>[]; readonly action: NotificationAction; readonly reason: NotificationCenterCommand["reason"];}actionNotificationActionitemsNotificationHostItem<TContent>[]reasonNotificationCenterCommand["reason"]- Name
action- Kind
- property
- Type
NotificationAction- Requirement
- required
- Name
items- Kind
- property
- Type
NotificationHostItem<TContent>[]- Requirement
- required
- Name
reason- Kind
- property
- Type
NotificationCenterCommand["reason"]- Requirement
- required
NotificationCenterStore
interfaceexport interface NotificationCenterStore { readonly service: NotificationCenterService; readonly connector: NotificationCenterApi; readonly scope: PartScope; readonly version: WritableSignal<number>; readonly sidecar: NotificationMessageSidecar<unknown>; start(): void; stop(): void; sync(input: NotificationCenterInput): void; bindItemsChange(handler: (detail: NotificationCenterItemsChangeDetail) => void): void; bindOpen(handler: (id: string) => void): void;}bindItemsChange(handler: (detail: NotificationCenterItemsChangeDetail) => void) => voidbindOpen(handler: (id: string) => void) => voidconnectorNotificationCenterApiscopePartScopeserviceNotificationCenterServicesidecarNotificationMessageSidecar<unknown>start() => voidstop() => voidsync(input: NotificationCenterInput) => voidversionWritableSignal<number>- Name
bindItemsChange- Kind
- method
- Type
(handler: (detail: NotificationCenterItemsChangeDetail) => void) => void- Requirement
- required
- Name
bindOpen- Kind
- method
- Type
(handler: (id: string) => void) => void- Requirement
- required
- Name
connector- Kind
- property
- Type
NotificationCenterApi- Requirement
- required
- Name
scope- Kind
- property
- Type
PartScope- Requirement
- required
- Name
service- Kind
- property
- Type
NotificationCenterService- Requirement
- required
- Name
sidecar- Kind
- property
- Type
NotificationMessageSidecar<unknown>- Requirement
- required
- Name
start- Kind
- method
- Type
() => void- Requirement
- required
- Name
stop- Kind
- method
- Type
() => void- Requirement
- required
- Name
sync- Kind
- method
- Type
(input: NotificationCenterInput) => void- Requirement
- required
- Name
version- Kind
- property
- Type
WritableSignal<number>- Requirement
- required
provideNotificationCenterStore
functionexport declare function provideNotificationCenterStore(): Provider;returnProvider- Name
return- Kind
- return value
- Type
Provider- Requirement
- n/a
toNotificationCenterInput
functionexport declare function toNotificationCenterInput(items: readonly NotificationHostItem<unknown>[] | undefined, defaultItems: readonly NotificationHostItem<unknown>[] | undefined, title: string | undefined): NotificationCenterInput;itemsreadonly NotificationHostItem<unknown>[] | undefineddefaultItemsreadonly NotificationHostItem<unknown>[] | undefinedtitlestring | undefinedreturnNotificationCenterInput- Name
items- Kind
- parameter
- Type
readonly NotificationHostItem<unknown>[] | undefined- Requirement
- required
- Name
defaultItems- Kind
- parameter
- Type
readonly NotificationHostItem<unknown>[] | undefined- Requirement
- required
- Name
title- Kind
- parameter
- Type
string | undefined- Requirement
- required
- Name
return- Kind
- return value
- Type
NotificationCenterInput- Requirement
- n/a
@grassroot/ui-headless-svelte/notification-center
Svelte adapter
createNotificationCenter
functionexport declare function createNotificationCenter(inputGetter: () => NotificationCenterInput, options?: UseNotificationCenterOptions): UseNotificationCenterResult;inputGetter() => NotificationCenterInputoptionsUseNotificationCenterOptionsreturnUseNotificationCenterResult- Name
inputGetter- Kind
- parameter
- Type
() => NotificationCenterInput- Requirement
- required
- Name
options- Kind
- parameter
- Type
UseNotificationCenterOptions- Requirement
- optional
- Name
return- Kind
- return value
- Type
UseNotificationCenterResult- Requirement
- n/a
NotificationCenterBadge
valueexport declare const NotificationCenterBadge: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
NotificationCenterBody
valueexport declare const NotificationCenterBody: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
NotificationCenterContextValue
interfaceexport interface NotificationCenterContextValue { readonly service: NotificationCenterService; readonly connector: NotificationCenterApi; readonly scope: PartScope; readonly version: () => number;}connectorNotificationCenterApiscopePartScopeserviceNotificationCenterServiceversion() => number- Name
connector- Kind
- property
- Type
NotificationCenterApi- Requirement
- required
- Name
scope- Kind
- property
- Type
PartScope- Requirement
- required
- Name
service- Kind
- property
- Type
NotificationCenterService- Requirement
- required
- Name
version- Kind
- property
- Type
() => number- Requirement
- required
export declare const NotificationCenterDismiss: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
NotificationCenterEmpty
valueexport declare const NotificationCenterEmpty: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
NotificationCenterGroup
valueexport declare const NotificationCenterGroup: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
export declare const NotificationCenterGroupList: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
export declare const NotificationCenterGroupName: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
NotificationCenterHeader
valueexport declare const NotificationCenterHeader: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
NotificationCenterIcon
valueexport declare const NotificationCenterIcon: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
NotificationCenterItemsChangeDetail
interfaceinterface NotificationCenterItemsChangeDetail<TContent = unknown> { readonly items: NotificationHostItem<TContent>[]; readonly action: NotificationAction; readonly reason: NotificationCenterCommand["reason"];}actionNotificationActionitemsNotificationHostItem<TContent>[]reasonNotificationCenterCommand["reason"]- Name
action- Kind
- property
- Type
NotificationAction- Requirement
- required
- Name
items- Kind
- property
- Type
NotificationHostItem<TContent>[]- Requirement
- required
- Name
reason- Kind
- property
- Type
NotificationCenterCommand["reason"]- Requirement
- required
NotificationCenterList
valueexport declare const NotificationCenterList: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
export declare const NotificationCenterMarkAll: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
export declare const NotificationCenterMessage: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
NotificationCenterOpen
valueexport declare const NotificationCenterOpen: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
NotificationCenterRoot
valueexport declare const NotificationCenterRoot: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
NotificationCenterRow
valueexport declare const NotificationCenterRow: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
NotificationCenterTime
valueexport declare const NotificationCenterTime: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
NotificationCenterTitle
valueexport declare const NotificationCenterTitle: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
export declare const NotificationCenterUnreadDot: LegacyComponentType;argsParameters<Component<Record<string, any>>>returnReturnType<Component<Record<string, any>, Record<string, any>>>- Name
args- Kind
- parameter
- Type
Parameters<Component<Record<string, any>>>- Requirement
- optional
- Name
return- Kind
- return value
- Type
ReturnType<Component<Record<string, any>, Record<string, any>>>- Requirement
- n/a
NotificationHostItem
interfaceinterface NotificationHostItem<TContent = unknown> { readonly id: string; readonly group: string; readonly kind: NotificationKind; readonly message: TContent; readonly time: string; readonly unread?: boolean;}groupstringidstringkindNotificationKindmessageTContenttimestringunreadboolean- Name
group- Kind
- property
- Type
string- Requirement
- required
- Name
id- Kind
- property
- Type
string- Requirement
- required
- Name
kind- Kind
- property
- Type
NotificationKind- Requirement
- required
- Name
message- Kind
- property
- Type
TContent- Requirement
- required
- Name
time- Kind
- property
- Type
string- Requirement
- required
- Name
unread- Kind
- property
- Type
boolean- Requirement
- optional
useNotificationCenterContext
functionexport declare function useNotificationCenterContext(partName: string): NotificationCenterContextValue;partNamestringreturnNotificationCenterContextValue- Name
partName- Kind
- parameter
- Type
string- Requirement
- required
- Name
return- Kind
- return value
- Type
NotificationCenterContextValue- Requirement
- n/a
UseNotificationCenterOptions
interfaceexport interface UseNotificationCenterOptions<TContent = unknown> { readonly hostItems?: readonly NotificationHostItem<TContent>[]; readonly onItemsChange?: (detail: NotificationCenterItemsChangeDetail<TContent>) => void; readonly onOpen?: (id: string) => void;}hostItemsreadonly NotificationHostItem<TContent>[]onItemsChange(detail: NotificationCenterItemsChangeDetail<TContent>) => voidonOpen(id: string) => void- Name
hostItems- Kind
- property
- Type
readonly NotificationHostItem<TContent>[]- Requirement
- optional
- Name
onItemsChange- Kind
- property
- Type
(detail: NotificationCenterItemsChangeDetail<TContent>) => void- Requirement
- optional
- Name
onOpen- Kind
- property
- Type
(id: string) => void- Requirement
- optional
UseNotificationCenterResult
interfaceexport interface UseNotificationCenterResult { readonly service: NotificationCenterService; readonly connector: NotificationCenterApi; readonly scope: PartScope; readonly version: () => number;}connectorNotificationCenterApiscopePartScopeserviceNotificationCenterServiceversion() => number- Name
connector- Kind
- property
- Type
NotificationCenterApi- Requirement
- required
- Name
scope- Kind
- property
- Type
PartScope- Requirement
- required
- Name
service- Kind
- property
- Type
NotificationCenterService- Requirement
- required
- Name
version- Kind
- property
- Type
() => number- Requirement
- required
@grassroot/ui-headless-solid/notification-center
Solid adapter
NotificationCenterBadge
valueexport declare const NotificationCenterBadge: (props: JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp;}) => JSX.Element;propsJSX.HTMLAttributes<HTMLElement> & {
readonly as?: AsProp;
}returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; }- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
NotificationCenterBody
valueexport declare const NotificationCenterBody: (props: JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; readonly id: string;}) => JSX.Element;propsJSX.HTMLAttributes<HTMLElement> & {
readonly as?: AsProp;
readonly id: string;
}returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; readonly id: string; }- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
export declare const NotificationCenterContext: import("solid-js").Context<NotificationCenterContextValue | undefined>;NotificationCenterContextValue
interfaceexport interface NotificationCenterContextValue { readonly service: NotificationCenterService; readonly connector: NotificationCenterApi; readonly scope: PartScope; readonly snapshot: Accessor<NotificationCenterSnapshot>;}connectorNotificationCenterApiscopePartScopeserviceNotificationCenterServicesnapshotAccessor<NotificationCenterSnapshot>- Name
connector- Kind
- property
- Type
NotificationCenterApi- Requirement
- required
- Name
scope- Kind
- property
- Type
PartScope- Requirement
- required
- Name
service- Kind
- property
- Type
NotificationCenterService- Requirement
- required
- Name
snapshot- Kind
- property
- Type
Accessor<NotificationCenterSnapshot>- Requirement
- required
export declare const NotificationCenterDismiss: (props: JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; readonly id: string;}) => JSX.Element;propsJSX.HTMLAttributes<HTMLElement> & {
readonly as?: AsProp;
readonly id: string;
}returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; readonly id: string; }- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
NotificationCenterEmpty
valueexport declare const NotificationCenterEmpty: (props: JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp;}) => JSX.Element;propsJSX.HTMLAttributes<HTMLElement> & {
readonly as?: AsProp;
}returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; }- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
NotificationCenterGroup
functionexport declare function NotificationCenterGroup(props: JSX.HTMLAttributes<HTMLLIElement> & { readonly as?: AsProp; readonly name: string;}): JSX.Element;propsJSX.HTMLAttributes<HTMLLIElement> & {
readonly as?: AsProp;
readonly name: string;
}returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLLIElement> & { readonly as?: AsProp; readonly name: string; }- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
NotificationCenterGroupList
functionexport declare function NotificationCenterGroupList(props: JSX.HTMLAttributes<HTMLUListElement> & { readonly as?: AsProp; readonly name: string;}): JSX.Element;propsJSX.HTMLAttributes<HTMLUListElement> & {
readonly as?: AsProp;
readonly name: string;
}returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLUListElement> & { readonly as?: AsProp; readonly name: string; }- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
NotificationCenterGroupName
functionexport declare function NotificationCenterGroupName(props: JSX.HTMLAttributes<HTMLDivElement> & { readonly as?: AsProp; readonly name: string;}): JSX.Element;propsJSX.HTMLAttributes<HTMLDivElement> & {
readonly as?: AsProp;
readonly name: string;
}returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLDivElement> & { readonly as?: AsProp; readonly name: string; }- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
NotificationCenterHeader
valueexport declare const NotificationCenterHeader: (props: JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp;}) => JSX.Element;propsJSX.HTMLAttributes<HTMLElement> & {
readonly as?: AsProp;
}returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; }- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
NotificationCenterIcon
valueexport declare const NotificationCenterIcon: (props: JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; readonly id: string;}) => JSX.Element;propsJSX.HTMLAttributes<HTMLElement> & {
readonly as?: AsProp;
readonly id: string;
}returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; readonly id: string; }- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
NotificationCenterItemsChangeDetail
interfaceinterface NotificationCenterItemsChangeDetail<TContent = unknown> { readonly items: NotificationHostItem<TContent>[]; readonly action: NotificationAction; readonly reason: NotificationCenterCommand["reason"];}actionNotificationActionitemsNotificationHostItem<TContent>[]reasonNotificationCenterCommand["reason"]- Name
action- Kind
- property
- Type
NotificationAction- Requirement
- required
- Name
items- Kind
- property
- Type
NotificationHostItem<TContent>[]- Requirement
- required
- Name
reason- Kind
- property
- Type
NotificationCenterCommand["reason"]- Requirement
- required
NotificationCenterList
valueexport declare const NotificationCenterList: (props: JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp;}) => JSX.Element;propsJSX.HTMLAttributes<HTMLElement> & {
readonly as?: AsProp;
}returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; }- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
export declare const NotificationCenterMarkAll: (props: JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp;}) => JSX.Element;propsJSX.HTMLAttributes<HTMLElement> & {
readonly as?: AsProp;
}returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; }- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
export declare const NotificationCenterMessage: (props: JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; readonly id: string;}) => JSX.Element;propsJSX.HTMLAttributes<HTMLElement> & {
readonly as?: AsProp;
readonly id: string;
}returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; readonly id: string; }- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
NotificationCenterOpen
valueexport declare const NotificationCenterOpen: (props: JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; readonly id: string;}) => JSX.Element;propsJSX.HTMLAttributes<HTMLElement> & {
readonly as?: AsProp;
readonly id: string;
}returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; readonly id: string; }- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
NotificationCenterRoot
functionexport declare function NotificationCenterRoot(props: NotificationCenterRootProps): JSX.Element;propsNotificationCenterRootPropsreturnJSX.Element- Name
props- Kind
- parameter
- Type
NotificationCenterRootProps- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
NotificationCenterRootProps
interfaceexport interface NotificationCenterRootProps extends Omit<JSX.HTMLAttributes<HTMLDivElement>, "onChange"> { readonly as?: AsProp; readonly items?: readonly NotificationHostItem<JSX.Element>[]; readonly defaultItems?: readonly NotificationHostItem<JSX.Element>[]; readonly title?: string; readonly onItemsChange?: (detail: NotificationCenterItemsChangeDetail<JSX.Element>) => void; readonly onOpen?: (id: string) => void;}asAsPropdefaultItemsreadonly NotificationHostItem<JSX.Element>[]itemsreadonly NotificationHostItem<JSX.Element>[]onItemsChange(detail: NotificationCenterItemsChangeDetail<JSX.Element>) => voidonOpen(id: string) => voidtitlestring- Name
as- Kind
- property
- Type
AsProp- Requirement
- optional
- Name
defaultItems- Kind
- property
- Type
readonly NotificationHostItem<JSX.Element>[]- Requirement
- optional
- Name
items- Kind
- property
- Type
readonly NotificationHostItem<JSX.Element>[]- Requirement
- optional
- Name
onItemsChange- Kind
- property
- Type
(detail: NotificationCenterItemsChangeDetail<JSX.Element>) => void- Requirement
- optional
- Name
onOpen- Kind
- property
- Type
(id: string) => void- Requirement
- optional
- Name
title- Kind
- property
- Type
string- Requirement
- optional
NotificationCenterRow
valueexport declare const NotificationCenterRow: (props: JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; readonly id: string;}) => JSX.Element;propsJSX.HTMLAttributes<HTMLElement> & {
readonly as?: AsProp;
readonly id: string;
}returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; readonly id: string; }- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
NotificationCenterTime
valueexport declare const NotificationCenterTime: (props: JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; readonly id: string;}) => JSX.Element;propsJSX.HTMLAttributes<HTMLElement> & {
readonly as?: AsProp;
readonly id: string;
}returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; readonly id: string; }- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
NotificationCenterTitle
valueexport declare const NotificationCenterTitle: (props: JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp;}) => JSX.Element;propsJSX.HTMLAttributes<HTMLElement> & {
readonly as?: AsProp;
}returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; }- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
export declare const NotificationCenterUnreadDot: (props: JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; readonly id: string;}) => JSX.Element;propsJSX.HTMLAttributes<HTMLElement> & {
readonly as?: AsProp;
readonly id: string;
}returnJSX.Element- Name
props- Kind
- parameter
- Type
JSX.HTMLAttributes<HTMLElement> & { readonly as?: AsProp; readonly id: string; }- Requirement
- required
- Name
return- Kind
- return value
- Type
JSX.Element- Requirement
- n/a
NotificationHostItem
interfaceinterface NotificationHostItem<TContent = unknown> { readonly id: string; readonly group: string; readonly kind: NotificationKind; readonly message: TContent; readonly time: string; readonly unread?: boolean;}groupstringidstringkindNotificationKindmessageTContenttimestringunreadboolean- Name
group- Kind
- property
- Type
string- Requirement
- required
- Name
id- Kind
- property
- Type
string- Requirement
- required
- Name
kind- Kind
- property
- Type
NotificationKind- Requirement
- required
- Name
message- Kind
- property
- Type
TContent- Requirement
- required
- Name
time- Kind
- property
- Type
string- Requirement
- required
- Name
unread- Kind
- property
- Type
boolean- Requirement
- optional
useNotificationCenter
functionexport declare function useNotificationCenter<TContent = unknown>(input: Accessor<NotificationCenterInput>, options?: Accessor<UseNotificationCenterOptions<TContent>> | UseNotificationCenterOptions<TContent>): UseNotificationCenterResult<TContent>;inputAccessor<NotificationCenterInput>optionsAccessor<UseNotificationCenterOptions<TContent>> | UseNotificationCenterOptions<TContent>returnUseNotificationCenterResult<TContent>- Name
input- Kind
- parameter
- Type
Accessor<NotificationCenterInput>- Requirement
- required
- Name
options- Kind
- parameter
- Type
Accessor<UseNotificationCenterOptions<TContent>> | UseNotificationCenterOptions<TContent>- Requirement
- optional
- Name
return- Kind
- return value
- Type
UseNotificationCenterResult<TContent>- Requirement
- n/a
useNotificationCenterContext
functionexport declare function useNotificationCenterContext(partName: string): NotificationCenterContextValue;partNamestringreturnNotificationCenterContextValue- Name
partName- Kind
- parameter
- Type
string- Requirement
- required
- Name
return- Kind
- return value
- Type
NotificationCenterContextValue- Requirement
- n/a
UseNotificationCenterOptions
interfaceexport interface UseNotificationCenterOptions<TContent = unknown> { readonly hostItems?: readonly NotificationHostItem<TContent>[]; readonly onItemsChange?: (detail: NotificationCenterItemsChangeDetail<TContent>) => void; readonly onOpen?: (id: string) => void;}hostItemsreadonly NotificationHostItem<TContent>[]onItemsChange(detail: NotificationCenterItemsChangeDetail<TContent>) => voidonOpen(id: string) => void- Name
hostItems- Kind
- property
- Type
readonly NotificationHostItem<TContent>[]- Requirement
- optional
- Name
onItemsChange- Kind
- property
- Type
(detail: NotificationCenterItemsChangeDetail<TContent>) => void- Requirement
- optional
- Name
onOpen- Kind
- property
- Type
(id: string) => void- Requirement
- optional
UseNotificationCenterResult
interfaceexport interface UseNotificationCenterResult<TContent = unknown> { readonly service: NotificationCenterService; readonly connector: NotificationCenterApi<TContent>; readonly scope: PartScope; readonly snapshot: Accessor<NotificationCenterSnapshot>;}connectorNotificationCenterApi<TContent>scopePartScopeserviceNotificationCenterServicesnapshotAccessor<NotificationCenterSnapshot>- Name
connector- Kind
- property
- Type
NotificationCenterApi<TContent>- Requirement
- required
- Name
scope- Kind
- property
- Type
PartScope- Requirement
- required
- Name
service- Kind
- property
- Type
NotificationCenterService- Requirement
- required
- Name
snapshot- Kind
- property
- Type
Accessor<NotificationCenterSnapshot>- Requirement
- required