{"version":3,"file":"odx-angular-components-notification.mjs","sources":["../../../../libs/angular/components/notification/src/lib/notification.i18n.ts","../../../../libs/angular/components/notification/src/lib/helpers/get-notifications-by-tag.ts","../../../../libs/angular/components/notification/src/lib/helpers/sort-notifications.ts","../../../../libs/angular/components/notification/src/lib/helpers/to-notification-collection.ts","../../../../libs/angular/components/notification/src/lib/notification.config.ts","../../../../libs/angular/components/notification/src/lib/notification.logger.ts","../../../../libs/angular/components/notification/src/lib/notification.tokens.ts","../../../../libs/angular/components/notification/src/lib/notification.service.ts","../../../../libs/angular/components/notification/src/lib/services/notification-center.service.ts","../../../../libs/angular/components/notification/src/lib/models/notification-feature.ts","../../../../libs/angular/components/notification/src/lib/features/with-load-notifications.ts","../../../../libs/angular/components/notification/src/lib/features/with-save-notifications.ts","../../../../libs/angular/components/notification/src/lib/features/with-peristent-notifications.ts","../../../../libs/angular/components/notification/src/lib/features/with-browser-notifications.ts","../../../../libs/angular/components/notification/src/lib/features/with-notification-transformer.ts","../../../../libs/angular/components/notification/src/lib/components/notification-item/notification-item.component.ts","../../../../libs/angular/components/notification/src/lib/components/notification-item/notification-item.component.html","../../../../libs/angular/components/notification/src/lib/components/notification-center/notification-center.component.ts","../../../../libs/angular/components/notification/src/lib/components/notification-center/notification-center.component.html","../../../../libs/angular/components/notification/src/lib/directives/notification-center.directive.ts","../../../../libs/angular/components/notification/src/odx-angular-components-notification.ts"],"sourcesContent":["import { TranslationObject } from '@odx/angular/internal/translate';\n\nexport default {\n  en: {\n    title: 'Notifications',\n    dismissAll: 'Dismiss all',\n  },\n  de: {\n    title: 'Benachrichtigungen',\n    dismissAll: 'Alle entfernen',\n  },\n} as TranslationObject;\n","import { NotificationQuery } from '../models';\n\n/** @internal */\nexport function getNotificationsByTags(...tags: Array<string | null | undefined>): NotificationQuery {\n  const cachedTags = new Set(tags.filter(Boolean));\n\n  return ({ options }) => {\n    return cachedTags.size < 1 || options.tags.every((tag) => cachedTags.has(tag));\n  };\n}\n","import { isFunction } from '@odx/angular/utils';\nimport { MonoTypeOperatorFunction, tap } from 'rxjs';\nimport { NotificationRef, NotificationSortFn } from '../models';\n\n/** @internal */\nexport function sortNotifications(sortFn?: NotificationSortFn): MonoTypeOperatorFunction<NotificationRef[]> {\n  return (source$) =>\n    source$.pipe(\n      tap((values) => {\n        if (!isFunction(sortFn)) return;\n        values.sort(sortFn);\n      }),\n    );\n}\n","import { OperatorFunction, map } from 'rxjs';\nimport { NotificationCollection, NotificationRef } from '../models';\n\n/** @internal */\nexport function toNotificationCollection(): OperatorFunction<NotificationRef[], NotificationCollection> {\n  return (source$) =>\n    source$.pipe(\n      map((notificationRefs) => ({\n        values: notificationRefs,\n        count: notificationRefs.length,\n        isEmpty: notificationRefs.length === 0,\n      })),\n    );\n}\n","import { EnvironmentProviders, makeEnvironmentProviders } from '@angular/core';\nimport { createConfigTokens, orderBy } from '@odx/angular/utils';\nimport { NotificationAction, NotificationFeature, NotificationOptions, NotificationRef, NotificationSortFn } from './models';\n\n/**\n * Represents the configuration options for notifications within the application.\n * This interface allows customization of various aspects of notification behavior.\n *\n * @property {string} defaultIdPrefix - Prefix used for generating unique notification IDs.\n * @property {NotificationOptions} options - Default global options for all notifications.\n * @property {NotificationSortFn} sortFn - Function to sort notifications, aiding in prioritization or ordering.\n * @property {Record<string, string>} [tagToIconMap] - Maps notification tags to specific icons for visual differentiation.\n * @property {Record<string, NotificationAction>} [actionMap] - Maps action types to their respective handler functions, enabling custom actions.\n */\nexport interface NotificationConfig {\n  defaultIdPrefix: string;\n  options: NotificationOptions;\n  sortFn: NotificationSortFn;\n  tagToIconMap?: Record<string, string>;\n  actionMap?: Record<string, NotificationAction>;\n}\n\n/**\n * Generates and exports configuration tokens for notifications, utilizing Angular's dependency injection.\n * This function provides a structured approach to configuring and providing notification settings across\n * an application.\n *\n * @example\n * ```ts\n * // In module providers:\n * providers: [\n *   provideNotificationConfig({\n *      defaultIdPrefix: 'your-prefix-notifications', // will be used as id prefix for notification items\n *      options: NotificationOptions, // { icon: 'core::globe', tags: [], dismissable: true } by default\n *      sortFn: (a: NotificationRef, b: NotificationRef) => b.createdAt.localeCompare(a.createdAt), // default sort function\n *      tagToIconMap: { message: 'core::mail' }, // custom icon for message tag (default is core::globe)\n *      actionMap: { view: (notification) => { console.log(notification); } } // custom action handler\n *  })\n * ]\n *\n * // In component or service:\n * constructor(@Inject(NotificationConfig) private notificationConfig: NotificationConfig) {...}\n * ```\n */\nexport const { NotificationConfig, NotificationDefaultConfig, injectNotificationConfig, provideNotificationConfig } = createConfigTokens(\n  'Notification',\n  '@odx/angular/components/notification',\n  {\n    options: { icon: 'core::globe', tags: [], dismissable: true },\n    sortFn: orderBy<NotificationRef>('createdAt', 'DESC'),\n    defaultIdPrefix: 'odx-notifications',\n  } as NotificationConfig,\n);\n\n/**\n * Constructs and provides Angular environment providers for notifications based on provided configurations and features.\n * Ideal for setting up notifications at the application's top level, ensuring global availability and configurability.\n *\n * @param {Partial<NotificationConfig>} [config] - Optional configuration overrides.\n * @param {...NotificationFeature[]} features - Features to enhance the notification system.\n * @returns {EnvironmentProviders} Configured providers ready for integration into Angular's environment.\n *\n * @example\n * ```ts\n * // In module providers:\n * providers: [\n *   provideNotifications({\n *      config, // NotificationConfig\n *   },\n *   {\n *      withBrowserNotifications({...}), // NotificationFeature\n *   },\n *  )\n * ]\n * ```\n */\nexport function provideNotifications(config?: Partial<NotificationConfig>, ...features: NotificationFeature[]): EnvironmentProviders {\n  return makeEnvironmentProviders([provideNotificationConfig(config ?? {}), features]);\n}\n","import { Logger } from '@odx/angular/internal';\n\n/** @internal */\nexport default new Logger('@odx/angular/components/notification');\n","import { InjectionToken } from '@angular/core';\nimport { Queue } from '@odx/angular/utils';\nimport { NotificationRef } from './models';\n\n/**\n * Represents the injection token for the notification queue.\n */\nexport const ODX_NOTIFICATION_QUEUE = new InjectionToken<Queue<NotificationRef>>('@odx/angular/component/notifications::Queue', {\n  providedIn: 'root',\n  factory: () => new Queue(),\n});\n","import { Injectable, Injector, inject, runInInjectionContext } from '@angular/core';\nimport { deepmerge } from '@odx/angular/internal';\nimport { LocalizationService } from '@odx/angular/localization';\nimport { getUniqueId, isFunction } from '@odx/angular/utils';\nimport { Observable, filter, map, shareReplay } from 'rxjs';\nimport { sortNotifications, toNotificationCollection } from './helpers';\nimport { Notification, NotificationCollection, NotificationOptions, NotificationQuery, NotificationRef, NotificationSortFn } from './models';\nimport { injectNotificationConfig } from './notification.config';\nimport logger from './notification.logger';\nimport { ODX_NOTIFICATION_QUEUE } from './notification.tokens';\n\n/**\n * The `NotificationService` class provides methods for managing notifications.\n * It allows you to create, load, dismiss, mark as seen, and execute actions on notifications.\n * You can also fetch notifications based on specific queries and sort them using custom sort functions.\n */\n@Injectable({ providedIn: 'root' })\nexport class NotificationService {\n  private readonly config = injectNotificationConfig();\n  private readonly localizationService = inject(LocalizationService);\n  private readonly queue = inject(ODX_NOTIFICATION_QUEUE);\n  private readonly injector = inject(Injector);\n\n  /**\n   * An observable stream of all notifications in the queue, sorted by the configured sort function.\n   *\n   * @emits {NotificationCollection} A collection of notifications.\n   */\n  public readonly notifications$ = this.queue.value$.pipe(\n    sortNotifications(this.config.sortFn),\n    toNotificationCollection(),\n    shareReplay({ bufferSize: 1, refCount: true }),\n  );\n\n  /**\n   * An observable stream of all unseen notifications in the queue.\n   * Unseen notifications are those that have not been marked as seen.\n   *\n   * @emits {NotificationCollection} A collection of unseen notifications.\n   */\n  public readonly unseenNotifications$ = this.notifications$.pipe(\n    map((collection) => collection.values.filter(({ hasBeenSeen }) => !hasBeenSeen)),\n    toNotificationCollection(),\n    shareReplay({ bufferSize: 1, refCount: true }),\n  );\n\n  /**\n   * An observable stream of all seen notifications in the queue.\n   * Seen notifications are those that have been marked as seen.\n   *\n   * @emits {NotificationCollection} A collection of seen notifications.\n   */\n  public readonly onNotificationAdd$ = this.queue.onAdd$;\n\n  /**\n   * An observable stream of notifications that have been removed from the queue.\n   *\n   * @emits {NotificationCollection} A collection of removed notifications.\n   */\n  public readonly onNotificationRemove$ = this.queue.onRemove$;\n\n  /**\n   * An observable stream of notifications that have been updated in the queue.\n   *\n   * @emits {NotificationCollection} A collection of updated notifications.\n   */\n  public readonly onNotificationUpdate$ = this.queue.onUpdate$;\n\n  /**\n   * An observable stream of notifications that have been marked as seen.\n   *\n   * @emits {NotificationCollection} A collection of seen notifications.\n   */\n  public readonly onNotificationSeen$ = this.queue.onUpdate$.pipe(filter(({ hasBeenSeen }) => hasBeenSeen));\n\n  /**\n   * Fetches notifications filtered by a specified query and optionally sorted by a custom sort function.\n   *\n   * @param {NotificationQuery} query - A function or object to filter notifications.\n   * @param {NotificationSortFn} [sortFn] - An optional sorting function to order the filtered notifications.\n   * @returns {Observable<NotificationCollection>} An observable stream of the filtered (and optionally sorted) notification collection.\n   * @example\n   * ```ts\n   * // Fetch notifications with a specific tag, sorted by creation date\n   * const sortedNotifications$ = notificationService.getNotificationsBy$(\n   *   notification => notification.tags.includes('important'),\n   *   (a, b) => b.createdAt - a.createdAt\n   * );\n   * ```\n   */\n  public getNotificationsBy$(query: NotificationQuery, sortFn?: NotificationSortFn): Observable<NotificationCollection> {\n    return this.queue.value$.pipe(\n      map((notifications) => notifications.filter(query)),\n      sortNotifications(sortFn),\n      toNotificationCollection(),\n      shareReplay({ bufferSize: 1, refCount: true }),\n    );\n  }\n\n  /**\n   * Loads a list of notifications into the service.\n   *\n   * @param {NotificationRef[]} refs - An array of notification references to be loaded.\n   * @example\n   * ```ts\n   * // Load multiple notifications at once\n   * notificationService.load([\n   *   { id: '1', item: { title: 'Notification 1' }, options: {dismissable: true, icon: 'plus', tags: ['important']}, hasBeenSeen: false, createdAt: Date.now() },\n   *   { id: '2', item: { title: 'Notification 2' }, options: {dismissable: true, icon: 'plus', tags: ['important']}, hasBeenSeen: false, createdAt: Date.now() }\n   * ]);\n   * ```\n   */\n  public load(refs: NotificationRef[]): void {\n    this.queue.addMany(refs);\n  }\n\n  /**\n   * Creates a new notification and adds it to the notification queue.\n   *\n   * @param {Notification} item - The notification to create.\n   * @param {Partial<NotificationOptions>} [options] - Optional settings for the notification.\n   * @example\n   * ```ts\n   * // Create a new notification with custom options\n   * notificationService.create(\n   *   { title: 'New Notification' },\n   *   { dismissable: true, icon: 'plus', tags: ['important'] }\n   * );\n   * ```\n   */\n  public create(item: Notification, options?: Partial<NotificationOptions>): void {\n    this.queue.add({\n      id: item.id ?? getUniqueId(this.config.defaultIdPrefix),\n      createdAt: Date.now(),\n      item,\n      options: this.resolveOptions(options),\n      hasBeenSeen: false,\n    });\n  }\n\n  /**\n   * Marks a specific notification as seen.\n   *\n   * @param {NotificationRef} notificationRef - The reference to the notification to mark as seen.\n   * @example\n   * ```ts\n   * // Mark a notification as seen by its reference\n   * notificationService.markAsSeen(notificationRef);\n   * ```\n   */\n  public markAsSeen(notificationRef: NotificationRef): void {\n    if (notificationRef.hasBeenSeen) return;\n    this.queue.add({ ...notificationRef, hasBeenSeen: true });\n  }\n\n  /**\n   * Marks all notifications that match a specific query as seen.\n   *\n   * @param {NotificationQuery} query - The query to match notifications to mark as seen.\n   * @example\n   * ```ts\n   * // Mark all notifications with a specific tag as seen\n   * notificationService.markAsSeenBy(notification => notification.tags.includes('important'));\n   * ```\n   */\n  public markAsSeenBy(query: NotificationQuery): void {\n    for (const notificationRef of this.queue.toArray().filter(query)) {\n      this.markAsSeen(notificationRef);\n    }\n  }\n\n  /**\n   * Dismisses a specific notification.\n   *\n   * @param {NotificationRef} notificationRef - The reference to the notification to dismiss.\n   * @example\n   * ```ts\n   * // Dismiss a notification by its reference\n   * notificationService.dismiss(notificationRef);\n   * ```\n   */\n  public dismiss(notificationRef: NotificationRef): void {\n    if (!notificationRef.options.dismissable) return;\n    this.queue.remove(notificationRef);\n  }\n\n  /**\n   * Dismisses all notifications that match a specific query.\n   *\n   * @param {NotificationQuery} query - The query to match notifications to dismiss.\n   * @example\n   * ```ts\n   * // Dismiss all notifications with a specific tag\n   * notificationService.dismissBy(notification => notification.tags.includes('expired'));\n   * ```\n   */\n  public dismissBy(query: NotificationQuery): void {\n    for (const item of this.queue.toArray().filter(query)) {\n      this.dismiss(item);\n    }\n  }\n\n  /**\n   * Dismisses all notifications.\n   *\n   * @example\n   * ```ts\n   * // Dismiss all notifications\n   * notificationService.dismissAll();\n   * ```\n   */\n  public dismissAll(): void {\n    this.queue.clear();\n  }\n\n  /**\n   * Executes the action associated with a specific notification.\n   *\n   * @param {NotificationRef} notificationRef - The reference to the notification whose action to execute.\n   * @example\n   * ```ts\n   * // Execute action for a notification\n   * notificationService.executeAction(notificationRef);\n   * ```\n   */\n  public executeAction(notificationRef: NotificationRef): void {\n    if (!notificationRef.options.action) return;\n    const actionFn = this.config.actionMap?.[notificationRef.options.action];\n    if (!isFunction(actionFn)) {\n      logger.warn(`Cannot find action ${notificationRef.options.action} for notification reference: ${notificationRef}`);\n      return;\n    }\n    runInInjectionContext(this.injector, () => actionFn(notificationRef));\n  }\n\n  private resolveOptions(options?: Partial<NotificationOptions>): NotificationOptions {\n    return deepmerge(this.config.options, options ?? {}, {\n      icon: options?.icon ?? this.config.tagToIconMap?.[options?.tags?.[0] ?? ''] ?? this.config.options.icon,\n      language: options?.language ?? this.localizationService.getActiveLanguage(),\n    }) as NotificationOptions;\n  }\n}\n","import { Injectable, computed, inject, signal } from '@angular/core';\nimport { toObservable } from '@angular/core/rxjs-interop';\nimport { DynamicTextContent } from '@odx/angular/cdk/dynamic-view';\nimport { Observable, combineLatest, filter, isObservable, map, of, shareReplay, switchMap } from 'rxjs';\nimport { getNotificationsByTags, toNotificationCollection } from '../helpers';\nimport { NotificationRef, NotificationSortFn } from '../models';\nimport { NotificationService } from '../notification.service';\n\n/**\n * A service for managing the notification center. This service provides functionalities\n * to filter, sort, and manage actions on notifications.\n *\n * @internal\n */\n@Injectable()\nexport class NotificationCenterService {\n  private readonly currentTag = signal<string | null>(null);\n  private readonly currentSortFn = signal<NotificationSortFn>(undefined);\n  private readonly notificationService = inject(NotificationService);\n  private readonly notificationQuery = computed(() => getNotificationsByTags(this.currentTag()));\n  private readonly title = signal<DynamicTextContent | null>(null);\n\n  /** @internal */\n  public readonly title$ = toObservable(this.title).pipe(\n    switchMap((title) => (isObservable(title) ? title : of(title))),\n    shareReplay({ bufferSize: 1, refCount: true }),\n  );\n\n  /** @internal */\n  public readonly notifications$ = combineLatest([toObservable(this.notificationQuery), toObservable(this.currentSortFn)]).pipe(\n    switchMap(([query, sortFn]) => this.notificationService.getNotificationsBy$(query, sortFn)),\n  );\n\n  /** @internal */\n  public readonly unseenNotifications$ = this.notifications$.pipe(\n    map((collection) => collection.values.filter(({ hasBeenSeen }) => !hasBeenSeen)),\n    toNotificationCollection(),\n  );\n\n  /** @internal */\n  public onNotificationAdd$ = this.queryEvent(this.notificationService.onNotificationAdd$);\n\n  /** @internal */\n  public onNotificationUpdate$ = this.queryEvent(this.notificationService.onNotificationUpdate$);\n\n  /** @internal */\n  public onNotificationRemove$ = this.queryEvent(this.notificationService.onNotificationRemove$);\n\n  /** @internal */\n  public onNotificationSeen$ = this.queryEvent(this.notificationService.onNotificationSeen$);\n\n  /**\n   * Sets the title for the notification center. The title can be static text or an observable for dynamic content.\n   *\n   * @param {DynamicTextContent | null} [value] - The title content for the notification center.\n   */\n  public setTitle(value?: DynamicTextContent | null): void {\n    this.title.set(value ?? null);\n  }\n\n  /**\n   * Sets the current tag to filter notifications. Only notifications with this tag will be included.\n   *\n   * @param {string | null} [value] - The tag to filter notifications by.\n   */\n  public setTag(value?: string | null): void {\n    this.currentTag.set(value ?? null);\n  }\n\n  /**\n   * Sets the sort function used to order the notifications.\n   *\n   * @param {NotificationSortFn} [value] - The sort function to apply to the notifications.\n   */\n  public setSortFn(value?: NotificationSortFn): void {\n    this.currentSortFn.set(value);\n  }\n\n  /**\n   * Marks a given notification as seen. This does not remove the notification but updates its seen status.\n   *\n   * @param {NotificationRef} notificationRef - The reference to the notification to be marked as seen.\n   */\n  public markAsSeen(notificationRef: NotificationRef): void {\n    this.notificationService.markAsSeen(notificationRef);\n  }\n\n  /**\n   * Marks all current filtered notifications as seen.\n   */\n  public markAllAsSeen(): void {\n    this.notificationService.markAsSeenBy(this.notificationQuery());\n  }\n\n  /**\n   * Dismisses a specific notification.\n   *\n   * @param {NotificationRef} notificationRef - The reference to the notification to dismiss.\n   */\n  public dismiss(notificationRef: NotificationRef): void {\n    this.notificationService.dismiss(notificationRef);\n  }\n\n  /**\n   * Dismisses all notifications that match the current filter criteria.\n   */\n  public dismissAll(): void {\n    this.notificationService.dismissBy(this.notificationQuery());\n  }\n\n  /**\n   * Executes the action associated with a specific notification and marks it as seen.\n   *\n   * @param {NotificationRef} notificationRef - The reference to the notification whose action to execute.\n   */\n  public executeAction(notificationRef: NotificationRef): void {\n    this.markAsSeen(notificationRef);\n    this.notificationService.executeAction(notificationRef);\n  }\n\n  private queryEvent(source$: Observable<NotificationRef>): Observable<NotificationRef> {\n    return combineLatest([source$, toObservable(this.notificationQuery)]).pipe(\n      filter(([notificationRef, query]) => query(notificationRef)),\n      map(([notificationRef]) => notificationRef),\n    );\n  }\n}\n","import { EnvironmentProviders, Provider } from '@angular/core';\n\nexport type NotificationFeature = EnvironmentProviders & { ɵodxBrand: '@odx/angular/components/notification::NotificationFeature' };\n\n/**\n * Creates a `NotificationFeature` instance from a given provider or a set of environment providers.\n * This function is a utility to encapsulate providers into a feature for the notification system, enhancing its configurability.\n *\n * @param {(Provider | NotificationFeature)[] | EnvironmentProviders} provider - A single provider, an array of providers, or an environment providers object.\n * @returns {NotificationFeature} A new `NotificationFeature` encapsulating the provided values.\n *\n * @example\n * ```ts\n * // Creating a notification feature:\n * const feature = makeNotificationFeature([\n *   { provide: SomeService, useClass: SomeServiceImpl }\n * ]);\n * ```\n */\nexport function makeNotificationFeature(provider: (Provider | NotificationFeature)[] | EnvironmentProviders): NotificationFeature {\n  return provider as never as NotificationFeature;\n}\n","import { ENVIRONMENT_INITIALIZER, inject } from '@angular/core';\nimport { Observable, from, isObservable, of } from 'rxjs';\nimport { NotificationFeature, NotificationRef, makeNotificationFeature } from '../models';\nimport { NotificationService } from '../notification.service';\n\n/**\n * Type definition for a function that loads notifications.\n * Can return notifications directly as an array, as a Promise, or as an Observable.\n *\n * @typedef {Function} LoadNotificationsFn\n * @returns {Observable<NotificationRef[]> | Promise<NotificationRef[]> | NotificationRef[]} The loaded notifications.\n */\nexport type LoadNotificationsFn = () => Observable<NotificationRef[]> | Promise<NotificationRef[]> | NotificationRef[];\n\n/**\n * Loads notifications using the provided `loadFn`. This function abstracts over the differences\n * between synchronous notifications, promises, and observables, providing a uniform Observable output.\n *\n * @param {LoadNotificationsFn} [loadFn] - An optional function to load notifications.\n * @returns {Observable<NotificationRef[]>} An Observable stream of notification references.\n */\nfunction loadNotifications(loadFn?: LoadNotificationsFn): Observable<NotificationRef[]> {\n  const notifications = loadFn?.();\n  if (isObservable(notifications)) {\n    return notifications;\n  }\n  if (notifications instanceof Promise) {\n    return from(notifications);\n  }\n  return of(notifications ?? []);\n}\n\n/**\n * Integrates notification loading into the application environment. This function uses the Angular\n * `ENVIRONMENT_INITIALIZER` to ensure that notifications are loaded as part of the application's\n * initialization process.\n *\n * @param {LoadNotificationsFn} loadFn - The function to load notifications.\n * @returns {NotificationFeature} A notification feature configured to load notifications at startup.\n */\nexport function withLoadNotifications(loadFn: LoadNotificationsFn): NotificationFeature {\n  return makeNotificationFeature([\n    {\n      provide: ENVIRONMENT_INITIALIZER,\n      useFactory: () => {\n        const notificationService = inject(NotificationService);\n        const notifications$ = loadNotifications(loadFn);\n\n        return () => {\n          notifications$.subscribe((notificationRefs) => notificationService.load(notificationRefs));\n        };\n      },\n      multi: true,\n    },\n  ]);\n}\n","import { ENVIRONMENT_INITIALIZER, Injector, inject, runInInjectionContext } from '@angular/core';\nimport { Observable, firstValueFrom, isObservable } from 'rxjs';\nimport { NotificationFeature, NotificationRef, makeNotificationFeature } from '../models';\nimport { NotificationService } from '../notification.service';\n\nexport type SaveNotificationsFn = (notificationRefs: NotificationRef[]) => Observable<void> | Promise<void> | void;\n\n/**\n * Asynchronously saves notifications using the provided save function. It handles Observable and Promise results seamlessly.\n *\n * @param {NotificationRef[]} notifications - The notifications to be saved.\n * @param {SaveNotificationsFn} [saveFn] - Optional custom save function.\n * @returns {Promise<void>} A promise that resolves when the save operation is complete.\n */\nasync function saveNotifications(notifications: NotificationRef[], saveFn?: SaveNotificationsFn): Promise<void> {\n  const save = saveFn?.(notifications);\n  if (isObservable(save)) {\n    await firstValueFrom(save);\n  } else if (save instanceof Promise) {\n    await save;\n  }\n}\n\n/**\n * Configures the application to automatically save notifications using a specified save function.\n * This setup integrates with Angular's environment initialization process to ensure notifications are saved as needed.\n *\n * @param {SaveNotificationsFn} saveFn - The function to save notifications.\n * @returns {NotificationFeature} A notification feature configured to automatically save notifications.\n */\nexport function withSaveNotifications(saveFn: SaveNotificationsFn): NotificationFeature {\n  return makeNotificationFeature([\n    {\n      provide: ENVIRONMENT_INITIALIZER,\n      useFactory: () => {\n        const injector = Injector.create({ parent: inject(Injector), providers: [] });\n        const notificationService = inject(NotificationService);\n        const saveFnWithContext: SaveNotificationsFn = (notifications) => runInInjectionContext(injector, () => saveFn(notifications));\n\n        return () => {\n          notificationService.notifications$.subscribe(({ values }) => saveNotifications(values, saveFnWithContext));\n        };\n      },\n      multi: true,\n    },\n  ]);\n}\n","import { DynamicTextContent } from '@odx/angular/cdk/dynamic-view';\nimport { deepmerge } from '@odx/angular/internal';\nimport { isFunction, isString } from '@odx/angular/utils';\nimport { firstValueFrom } from 'rxjs';\nimport { NotificationFeature, NotificationRef, makeNotificationFeature } from '../models';\nimport { LoadNotificationsFn, withLoadNotifications } from './with-load-notifications';\nimport { SaveNotificationsFn, withSaveNotifications } from './with-save-notifications';\n\nexport interface NotificationSerializer {\n  serialize(value: NotificationRef[]): Promise<string>;\n  deserialize(value: string): Promise<NotificationRef[]>;\n}\n\n/**\n * Implementation of NotificationSerializer for persistent storage.\n *\n * @implements {NotificationSerializer}\n */\nexport class PersistentNotificationSerializer implements NotificationSerializer {\n  /**\n   * Serializes an array of NotificationRef objects into a string.\n   *\n   * @param {NotificationRef[]} value - The notification references to serialize.\n   * @returns {Promise<string>} A promise that resolves to the serialized string representation of notification references.\n   */\n  public async serialize(value: NotificationRef[]): Promise<string> {\n    const serializedNotifications = await Promise.all(\n      value.map(async (ref) =>\n        deepmerge(ref, {\n          item: {\n            title: await this.serializeDynamicTextContent(ref.item.title),\n            description: await this.serializeDynamicTextContent(ref.item.description),\n          },\n        }),\n      ),\n    );\n\n    return JSON.stringify(serializedNotifications);\n  }\n\n  /**\n   * Deserializes a string into an array of NotificationRef objects.\n   *\n   * @param {string} value - The string representation of notification references to deserialize.\n   * @returns {Promise<NotificationRef[]>} A promise that resolves to the deserialized notification references.\n   */\n  public async deserialize(value: string): Promise<NotificationRef[]> {\n    return JSON.parse(value);\n  }\n\n  private async serializeDynamicTextContent(content?: DynamicTextContent): Promise<string> {\n    if (!content) return '';\n    if (isString(content)) return content;\n\n    return firstValueFrom(content).catch(() => '');\n  }\n}\n\nexport interface WithPersistentNotificationsStorageOptions {\n  storageKey: string;\n  storage: Storage;\n  serializer: NotificationSerializer;\n  idTransformer?: (notificationRef: NotificationRef) => string;\n}\n\nexport interface WithPersistentNotificationsOptions {\n  initFn: LoadNotificationsFn;\n  saveFn: SaveNotificationsFn;\n  storageOptions: WithPersistentNotificationsStorageOptions;\n}\n\n/**\n * Initializes and returns a function for loading persistent notifications.\n *\n * @param {WithPersistentNotificationsStorageOptions} options - The storage options including serializer and storage key.\n * @returns {LoadNotificationsFn} A function to load notifications from storage.\n */\nexport function initPersistentNotifications({\n  storage,\n  storageKey,\n  serializer,\n  idTransformer,\n}: WithPersistentNotificationsStorageOptions): LoadNotificationsFn {\n  return async () => {\n    const storedValue = storage.getItem(storageKey);\n    if (!storedValue) return [];\n    const notificationRefs = await serializer.deserialize(storedValue);\n\n    if (isFunction(idTransformer)) {\n      for (const notificationRef of notificationRefs) {\n        notificationRef.item.id = notificationRef.id = idTransformer(notificationRef);\n      }\n    }\n\n    return notificationRefs;\n  };\n}\n\n/**\n * Returns a function for persisting notifications.\n *\n * @param {WithPersistentNotificationsStorageOptions} options - The storage options including serializer and storage key.\n * @returns {SaveNotificationsFn} A function to save notifications to storage.\n */\nexport function persistNotifications({ storage, storageKey, serializer }: WithPersistentNotificationsStorageOptions): SaveNotificationsFn {\n  return async (notificationRefs: NotificationRef[]) => {\n    storage.setItem(storageKey, await serializer.serialize(notificationRefs));\n  };\n}\n\n/**\n * Configures the application to use persistent notifications, automatically loading from and saving to the configured storage.\n *\n * @param {Partial<WithPersistentNotificationsOptions>} [options] - Optional configuration for persistent notifications.\n * @returns {NotificationFeature} A notification feature configured for persistence.\n */\nexport function withPersistentNotifications(options?: Partial<WithPersistentNotificationsOptions>): NotificationFeature {\n  const storageOptions: WithPersistentNotificationsStorageOptions = {\n    storageKey: options?.storageOptions?.storageKey ?? '@odx/angular/components/notification::Storage',\n    storage: options?.storageOptions?.storage ?? localStorage,\n    serializer: options?.storageOptions?.serializer ?? new PersistentNotificationSerializer(),\n  };\n  const initFn = options?.initFn ?? initPersistentNotifications(storageOptions);\n  const saveFn = options?.saveFn ?? persistNotifications(storageOptions);\n\n  return makeNotificationFeature([withLoadNotifications(initFn), withSaveNotifications(saveFn)]);\n}\n","import { ENVIRONMENT_INITIALIZER, inject } from '@angular/core';\nimport { NotificationFeature, NotificationRef, makeNotificationFeature } from '../models';\nimport { NotificationService } from '../notification.service';\nimport { NotificationSerializer, PersistentNotificationSerializer } from './with-peristent-notifications';\n\nexport type BrowserNotificationExtras = Omit<NotificationOptions, 'body' | 'timestamp'>;\nexport type BrowserNotification = Notification;\nexport type BrowserNotificationFactory = (notificationRef: NotificationRef) => BrowserNotification;\nexport type SendBrowserNotificationFn = (notificationRef: NotificationRef) => unknown;\n\nexport interface WithBrowserNotificationsOptions {\n  sendFn?: SendBrowserNotificationFn;\n  extras?: BrowserNotificationExtras;\n  isEnabled?: boolean;\n}\n\n/**\n * Requests permission to display browser notifications and returns a boolean indicating whether permission was granted.\n *\n * @returns {Promise<boolean>} A promise that resolves to `true` if permission is granted, otherwise `false`.\n */\nasync function requestBrowserNotificationPermissions(): Promise<boolean> {\n  if (!('Notification' in window)) return false;\n  if (Notification.permission === 'granted') return true;\n  if (Notification.permission === 'denied') return false;\n  const permission = await Notification.requestPermission();\n\n  return permission === 'granted';\n}\n\n/**\n * Creates a function responsible for sending out browser notifications with the given options.\n *\n * @param {NotificationSerializer} serializer - The serializer to use for notification data.\n * @param {BrowserNotificationExtras} [options] - Additional options for the browser notification.\n * @returns {SendBrowserNotificationFn} A function to send browser notifications.\n */\nfunction sendBrowserNotification(serializer: NotificationSerializer, options?: BrowserNotificationExtras): SendBrowserNotificationFn {\n  return async (notificationRef) => {\n    if (!('Notification' in window)) return;\n    const [notificationObj] = await serializer.deserialize(await serializer.serialize([notificationRef]));\n    if (!notificationObj || notificationObj.hasBeenSeen) return;\n    const { item } = notificationObj;\n    new Notification(item.title as string, {\n      tag: notificationRef.options.tags?.[0],\n      lang: notificationRef.options.language,\n      ...options,\n      body: item.description as string,\n    });\n  };\n}\n\n/**\n * Configures the application to send browser notifications, using Angular's `ENVIRONMENT_INITIALIZER` for setup.\n *\n * @param {WithBrowserNotificationsOptions} [options] - Optional configuration for browser notifications.\n * @returns {NotificationFeature} A notification feature for integration into the application environment.\n */\nexport function withBrowserNotifications(options?: WithBrowserNotificationsOptions): NotificationFeature {\n  return makeNotificationFeature([\n    {\n      provide: ENVIRONMENT_INITIALIZER,\n      useFactory: () => {\n        const isEnabled = options?.isEnabled ?? true;\n        if (!isEnabled) return () => void 0;\n        const notificationService = inject(NotificationService);\n        const serializer = new PersistentNotificationSerializer();\n        const sendBrowserNotificationFn = options?.sendFn ?? sendBrowserNotification(serializer, options?.extras);\n\n        return async () => {\n          if (!isEnabled) return;\n          const permissionsGranted = await requestBrowserNotificationPermissions();\n          if (!permissionsGranted) return;\n          notificationService.onNotificationAdd$.subscribe(sendBrowserNotificationFn);\n        };\n      },\n      multi: true,\n    },\n  ]);\n}\n","import { InjectionToken, inject } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { NotificationFeature, NotificationRef, makeNotificationFeature } from '../models';\n\nexport type NotificationTransformFn = (ref: NotificationRef) => Observable<NotificationRef>;\n\n/**\n * An InjectionToken for the NotificationTransformFn. This token can be used to inject\n * a custom notification transformation function into the Angular DI system.\n * @type {InjectionToken<NotificationTransformFn>}\n */\nexport const ODX_NOTIFICATION_TRANSFORMER = new InjectionToken<NotificationTransformFn>('@odx/angular/components/notification::NotificationTransformer');\n\n/**\n * Attempts to inject a NotificationTransformFn from the Angular DI system.\n * If no provider is found, it returns null.\n *\n * @returns {NotificationTransformFn | null} The injected NotificationTransformFn, or null if not provided.\n */\nexport function injectNotificationTransform(): NotificationTransformFn | null {\n  return inject(ODX_NOTIFICATION_TRANSFORMER, { optional: true });\n}\n\n/**\n * Configures a notification transformation function to be used within the application.\n * This function provides a mechanism to globally apply transformations to notifications\n * before they are processed or displayed.\n *\n * @param {NotificationTransformFn} transformFn - The function to transform notifications.\n * @returns {NotificationFeature} A NotificationFeature configured with the provided transformation function.\n */\nexport function withNotificationTransform(transformFn: NotificationTransformFn): NotificationFeature {\n  return makeNotificationFeature([\n    {\n      provide: ODX_NOTIFICATION_TRANSFORMER,\n      useValue: transformFn,\n    },\n  ]);\n}\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, ViewEncapsulation } from '@angular/core';\nimport { DynamicViewDirective } from '@odx/angular/cdk/dynamic-view';\nimport { ActionGroupComponent } from '@odx/angular/components/action-group';\nimport { AvatarComponent } from '@odx/angular/components/avatar';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { injectElement } from '@odx/angular/utils';\nimport { Observable, of } from 'rxjs';\nimport { injectNotificationTransform } from '../../features';\nimport { NotificationRef } from '../../models';\n\n/**\n * A component for displaying notifications.\n * Supports customization through dynamic transformation of notification data.\n * Utilizes the OnPush change detection strategy for better performance in large applications.\n */\n@CSSComponent('notification-item')\n@Component({\n  selector: 'odx-notification-item',\n  standalone: true,\n  imports: [AvatarComponent, ActionGroupComponent, ButtonComponent, CommonModule, DynamicViewDirective, IconComponent],\n  templateUrl: './notification-item.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n})\nexport class NotificationItemComponent {\n  private readonly transformNotification = injectNotificationTransform();\n  private _notificationRef!: NotificationRef;\n\n  protected transformedNotification!: Observable<NotificationRef>;\n\n  public readonly element = injectElement();\n\n  /**\n   * Input property to set the notification. On setting, it transforms the notification for display.\n   * This transformation can be a custom logic provided through dependency injection.\n   *\n   * @param {NotificationRef} value - The notification object to be displayed.\n   */\n  @Input({ required: true })\n  public set notification(value: NotificationRef) {\n    this._notificationRef = value;\n    this.transformedNotification = this.transformNotification?.(value) ?? of(value);\n  }\n\n  /**\n   * Getter for the notification property.\n   *\n   * @returns {NotificationRef} - The current notification reference stored in the component.\n   */\n  public get notification() {\n    return this._notificationRef;\n  }\n\n  /**\n   * An event emitter for dismissing the notification.\n   * It emits the notification reference that was dismissed.\n   *\n   * @emits {NotificationRef} - The notification reference that was dismissed.\n   */\n  @Output()\n  public dismiss = new EventEmitter<NotificationRef>();\n}\n","@if (transformedNotification | async; as ref) {\n  <odx-avatar class=\"odx-notification-item__avatar odx-no-margin\">\n    <odx-icon [name]=\"ref.options.icon\" />\n  </odx-avatar>\n  <div class=\"odx-notification-item__title\">\n    <ng-template [odxDynamicView]=\"ref.item.title\" />\n  </div>\n  @if (ref.item.description; as description) {\n    <div class=\"odx-notification-item__description\">\n      <ng-template [odxDynamicView]=\"ref.item.description\" />\n    </div>\n  }\n}\n<odx-action-group class=\"odx-notification-item__actions odx-no-margin\">\n  @if (notification.options.dismissable) {\n    <button odxButton class=\"odx-no-margin\" (click)=\"$event.stopPropagation(); dismiss.next(notification)\">\n      <odx-icon name=\"core::close\" />\n    </button>\n  }\n</odx-action-group>\n","import { CommonModule } from '@angular/common';\nimport { ChangeDetectionStrategy, Component, OnDestroy, ViewEncapsulation, inject } from '@angular/core';\nimport { InteractiveDirective } from '@odx/angular/cdk/a11y';\nimport { DynamicViewDirective } from '@odx/angular/cdk/dynamic-view';\nimport { ActionGroupComponent } from '@odx/angular/components/action-group';\nimport { BadgeDirective } from '@odx/angular/components/badge';\nimport { ButtonComponent } from '@odx/angular/components/button';\nimport { DropdownModule } from '@odx/angular/components/dropdown';\nimport { IconComponent } from '@odx/angular/components/icon';\nimport { ListModule } from '@odx/angular/components/list';\nimport { CSSComponent } from '@odx/angular/internal';\nimport { TranslatePipe, provideTranslations } from '@odx/angular/internal/translate';\nimport { injectElement } from '@odx/angular/utils';\nimport { NotificationRef } from '../../models';\nimport notificationI18n from '../../notification.i18n';\nimport { NotificationCenterService } from '../../services';\nimport { NotificationItemComponent } from '../notification-item/notification-item.component';\n\n/**\n * A component for displaying and managing a list of notifications. It integrates various sub-components and directives to provide a rich user interface for notification interaction. Supports animations for notification transitions and leverages Angular's change detection strategies for performance.\n */\n@CSSComponent('notification-center')\n@Component({\n  selector: 'odx-notification-center',\n  standalone: true,\n  imports: [\n    CommonModule,\n    ActionGroupComponent,\n    BadgeDirective,\n    ButtonComponent,\n    DynamicViewDirective,\n    IconComponent,\n    DropdownModule,\n    TranslatePipe,\n    NotificationItemComponent,\n    InteractiveDirective,\n    ListModule,\n  ],\n  templateUrl: './notification-center.component.html',\n  encapsulation: ViewEncapsulation.None,\n  changeDetection: ChangeDetectionStrategy.OnPush,\n  providers: [provideTranslations(notificationI18n)],\n})\nexport class NotificationCenterComponent implements OnDestroy {\n  protected readonly notificationCenterService = inject(NotificationCenterService);\n\n  public readonly element = injectElement();\n\n  public ngOnDestroy(): void {\n    this.notificationCenterService.markAllAsSeen();\n  }\n\n  protected isMuted({ options, hasBeenSeen }: NotificationRef): boolean {\n    return hasBeenSeen && !options.action;\n  }\n}\n","@if (notificationCenterService.notifications$ | async; as notifications) {\n  <h3 class=\"odx-notification-center__header\">\n    <ng-template [odxDynamicView]=\"(notificationCenterService.title$ | async) ?? ('title' | odxTranslate | async)\" />\n  </h3>\n  <odx-list class=\"odx-notification-center__content\">\n    @for (notification of notifications.values; track notification.id) {\n      <odx-list-item\n        animate.leave=\"odx-animate-collapse\"\n        [muted]=\"isMuted(notification)\"\n        [selected]=\"!notification.hasBeenSeen\"\n        (click)=\"notificationCenterService.executeAction(notification)\"\n      >\n        <odx-notification-item [notification]=\"notification\" (dismiss)=\"notificationCenterService.dismiss(notification)\" />\n      </odx-list-item>\n    }\n  </odx-list>\n  <div class=\"odx-notification-center__footer\">\n    <button odxButton [disabled]=\"false\" (click)=\"notificationCenterService.dismissAll()\">\n      {{ 'dismissAll' | odxTranslate | async }}\n    </button>\n  </div>\n}\n","import { AfterViewInit, DestroyRef, Directive, Input, OnInit, Output, inject } from '@angular/core';\nimport { takeUntilDestroyed } from '@angular/core/rxjs-interop';\nimport { DisabledController } from '@odx/angular';\nimport { DynamicTextContent } from '@odx/angular/cdk/dynamic-view';\nimport { BadgeDirective } from '@odx/angular/components/badge';\nimport { DropdownDirective } from '@odx/angular/components/dropdown';\nimport { Position } from '@odx/angular/utils';\nimport { Observable, map, merge, startWith, switchMap, tap } from 'rxjs';\nimport { NotificationCenterComponent } from '../components';\nimport { NotificationSortFn } from '../models';\nimport { NotificationCenterService } from '../services';\n\n/**\n * A directive that provides an interface for managing notifications.\n * It allows configuring a notification center with dynamic content, sorting, and badge display functionalities.\n * The directive has hosted directives `BadgeDirective` and `DropdownDirective` for badge and dropdown functionality.\n *\n * @see {BadgeDirective}\n * @see {DropdownDirective}\n */\n@Directive({\n  standalone: true,\n  selector: '[odxNotificationCenter]',\n  hostDirectives: [{ directive: BadgeDirective, inputs: ['odxBadgeVariant:odxNotificationCenterBadgeVariant'] }, DropdownDirective],\n  providers: [NotificationCenterService],\n})\nexport class NotificationCenterDirective implements OnInit, AfterViewInit {\n  private readonly badgeDirective = inject(BadgeDirective, { self: true });\n  private readonly destroyRef = inject(DestroyRef);\n  private readonly disabledController = DisabledController.inject();\n  private readonly dropdownDirective = inject(DropdownDirective, { self: true });\n  private readonly notificationCenterService = inject(NotificationCenterService, { self: true });\n  private readonly dropdownStateChange$ = merge(this.dropdownDirective.beforeOpen, this.dropdownDirective.beforeClose).pipe(startWith(void 0));\n  private readonly badgeValue$ = this.notificationCenterService.unseenNotifications$.pipe(\n    switchMap(({ count }) => this.dropdownStateChange$.pipe(map(() => this.formatBadgeValue(count)))),\n  );\n\n  /**\n   * Sets the tag for filtering notifications. Only notifications with this tag will be shown in the notification center.\n   *\n   * @param {string | null} value - The tag value to filter notifications. If null, all notifications are shown.\n   */\n  @Input('odxNotificationCenter')\n  public set tag(value: string | null) {\n    this.notificationCenterService.setTag(value);\n  }\n\n  /**\n   * Sets the title of the notification center. The title can be dynamic and change based on the application state.\n   *\n   * @param {DynamicTextContent | null} value - The title content, which can be a string or an Observable returning a string. Allows for dynamic titles.\n   */\n  @Input('odxNotificationCenterTitle')\n  public set title(value: DynamicTextContent | null) {\n    this.notificationCenterService.setTitle(value);\n  }\n\n  /**\n   * Sets the sorting function used to order notifications within the notification center.\n   *\n   * @param {NotificationSortFn} value - A function that compares two notifications and returns the sort order.\n   *\n   * @example\n   * ```ts\n   *  sortFfn = (a: NotificationRef, b: NotificationRef) => {\n   *     if (a.createdAt < b.createdAt) return -1;\n   *     if (a.createdAt > b.createdAt) return 1;\n   *     return 0;\n   *  };\n   * ```\n   */\n  @Input('odxNotificationCenterSortFn')\n  public set sortFn(value: NotificationSortFn) {\n    this.notificationCenterService.setSortFn(value);\n  }\n\n  /**\n   * An event that is emitted when a new notification is added.\n   * Listeners can use this event to react to new notifications being added to the notification center.\n   *\n   * @emits {NotificationRef} notificationAdd - The notification that was added to the notification center.\n   */\n  // eslint-disable-next-line @angular-eslint/no-output-rename\n  @Output('odxNotificationCenterAdd')\n  public notificationAdd = this.notificationCenterService.onNotificationAdd$;\n\n  /**\n   * An event that is emitted when a notification is updated.\n   * This can be used to react to changes in notifications, such as their read status or content updates.\n   *\n   * @emits {NotificationRef} notificationUpdate - The notification that was updated in the notification center.\n   */\n  // eslint-disable-next-line @angular-eslint/no-output-rename\n  @Output('odxNotificationCenterUpdate')\n  public notificationUpdate = this.notificationCenterService.onNotificationUpdate$;\n\n  /**\n   * An event that is emitted when a notification is removed from the notification center.\n   * Use this event to handle the removal of notifications, such as cleaning up resources or updating UI elements.\n   *\n   * @emits {NotificationRef} notificationRemove - The notification that was removed from the notification center.\n   */\n  // eslint-disable-next-line @angular-eslint/no-output-rename\n  @Output('odxNotificationCenterRemove')\n  public notificationRemove = this.notificationCenterService.onNotificationRemove$;\n\n  /**\n   * An event that is emitted when a notification is marked as seen.\n   * This event can be used to perform actions when the user acknowledges a notification.\n   *\n   * @emits {NotificationRef} notificationSeen - The notification that was marked as seen in the notification center.\n   */\n  // eslint-disable-next-line @angular-eslint/no-output-rename\n  @Output('odxNotificationCenterSeen')\n  public notificationSeen = this.notificationCenterService.onNotificationSeen$;\n\n  public ngOnInit() {\n    this.badgeDirective.position = Position.BOTTOM;\n    this.badgeDirective.offset = 6;\n\n    this.dropdownDirective.content = NotificationCenterComponent;\n    this.dropdownDirective.options = {\n      containerClass: 'odx-notification-center-overlay',\n      position: Position.BOTTOM_END,\n      enableFallback: false,\n    };\n  }\n\n  public ngAfterViewInit() {\n    merge(this.handleBadgeUpdates(), this.handleDropdownUpdates()).pipe(takeUntilDestroyed(this.destroyRef)).subscribe();\n  }\n\n  private formatBadgeValue(value: number): string | null {\n    return this.dropdownDirective.isOpen || value === 0 ? null : value.toFixed(0);\n  }\n\n  private handleBadgeUpdates(): Observable<unknown> {\n    return this.badgeValue$.pipe(\n      tap((value: DynamicTextContent | null) => {\n        this.badgeDirective.value = value as DynamicTextContent;\n        this.badgeDirective.ngOnChanges();\n      }),\n    );\n  }\n\n  private handleDropdownUpdates(): Observable<unknown> {\n    return this.notificationCenterService.notifications$.pipe(\n      tap(({ isEmpty }) => {\n        this.disabledController?.setDisabledState(isEmpty);\n        if (!isEmpty) return;\n        this.dropdownDirective.close();\n      }),\n    );\n  }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":["i3","i1","i2"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAEA,uBAAe;AACb,IAAA,EAAE,EAAE;AACF,QAAA,KAAK,EAAE,eAAe;AACtB,QAAA,UAAU,EAAE,aAAa;AAC1B,KAAA;AACD,IAAA,EAAE,EAAE;AACF,QAAA,KAAK,EAAE,oBAAoB;AAC3B,QAAA,UAAU,EAAE,gBAAgB;AAC7B,KAAA;CACmB;;ACTtB;AACM,SAAU,sBAAsB,CAAC,GAAG,IAAsC,EAAA;AAC9E,IAAA,MAAM,UAAU,GAAG,IAAI,GAAG,CAAC,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AAEhD,IAAA,OAAO,CAAC,EAAE,OAAO,EAAE,KAAI;QACrB,OAAO,UAAU,CAAC,IAAI,GAAG,CAAC,IAAI,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,KAAK,UAAU,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AAChF,IAAA,CAAC;AACH;;ACLA;AACM,SAAU,iBAAiB,CAAC,MAA2B,EAAA;AAC3D,IAAA,OAAO,CAAC,OAAO,KACb,OAAO,CAAC,IAAI,CACV,GAAG,CAAC,CAAC,MAAM,KAAI;AACb,QAAA,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC;YAAE;AACzB,QAAA,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC;IACrB,CAAC,CAAC,CACH;AACL;;ACVA;SACgB,wBAAwB,GAAA;AACtC,IAAA,OAAO,CAAC,OAAO,KACb,OAAO,CAAC,IAAI,CACV,GAAG,CAAC,CAAC,gBAAgB,MAAM;AACzB,QAAA,MAAM,EAAE,gBAAgB;QACxB,KAAK,EAAE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