import './polyfills.server.mjs'; import { BehaviorSubject, ɵɵdefineInjectable } from "./chunk-LDYM667O.mjs"; // src/app/services/notification.service.ts var NotificationService = class _NotificationService { constructor() { this.defaultNotification = { type: null, message: "" }; this.notificationSubject = new BehaviorSubject(this.defaultNotification); } getNotificationSubject() { return this.notificationSubject.asObservable(); } showSuccess(message) { this.notificationSubject.next({ type: "success", message }); } showError(message) { this.notificationSubject.next({ type: "error", message }); } showNotification(message) { this.notificationSubject.next({ type: "notification", message }); } static { this.\u0275fac = function NotificationService_Factory(t) { return new (t || _NotificationService)(); }; } static { this.\u0275prov = /* @__PURE__ */ \u0275\u0275defineInjectable({ token: _NotificationService, factory: _NotificationService.\u0275fac, providedIn: "root" }); } }; export { NotificationService };