@burdenoff/microfe-notification 2026.1129.1 → 2026.1129.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/NotificationRoutes.js +73 -72
- package/dist/NotificationRoutes.js.map +1 -1
- package/dist/generated/global-operations.d.ts +4 -0
- package/dist/generated/global-operations.js +4 -0
- package/dist/generated/global-operations.js.map +1 -1
- package/dist/hooks/useNotificationTemplates.d.ts +3 -0
- package/dist/hooks/useSendNotification.d.ts +1 -1
- package/dist/hooks/useSendNotification.js.map +1 -1
- package/dist/translations/en.d.ts +179 -0
- package/dist/v2/InboxPage.js +113 -97
- package/dist/v2/InboxPage.js.map +1 -1
- package/dist/v2/NotificationDetailPanel.d.ts +9 -4
- package/dist/v2/NotificationDetailPanel.js +66 -51
- package/dist/v2/NotificationDetailPanel.js.map +1 -1
- package/dist/v2/admin/ChoiceSelect.d.ts +9 -0
- package/dist/v2/admin/ChoiceSelect.js +24 -0
- package/dist/v2/admin/ChoiceSelect.js.map +1 -0
- package/dist/v2/admin/DeliveryLogPage.d.ts +1 -0
- package/dist/v2/admin/DeliveryLogPage.js +207 -0
- package/dist/v2/admin/DeliveryLogPage.js.map +1 -0
- package/dist/v2/admin/InsertDetail.d.ts +6 -0
- package/dist/v2/admin/InsertDetail.js +77 -0
- package/dist/v2/admin/InsertDetail.js.map +1 -0
- package/dist/v2/admin/TemplateEditor.d.ts +6 -0
- package/dist/v2/admin/TemplateEditor.js +92 -0
- package/dist/v2/admin/TemplateEditor.js.map +1 -0
- package/dist/v2/admin/TemplateFields.d.ts +9 -0
- package/dist/v2/admin/TemplateFields.js +130 -0
- package/dist/v2/admin/TemplateFields.js.map +1 -0
- package/dist/v2/admin/TemplatePage.d.ts +1 -0
- package/dist/v2/admin/TemplatePage.js +62 -0
- package/dist/v2/admin/TemplatePage.js.map +1 -0
- package/dist/v2/admin/TemplatePreview.d.ts +8 -0
- package/dist/v2/admin/TemplatePreview.js +112 -0
- package/dist/v2/admin/TemplatePreview.js.map +1 -0
- package/dist/v2/admin/TemplatesPage.d.ts +1 -0
- package/dist/v2/admin/TemplatesPage.js +173 -0
- package/dist/v2/admin/TemplatesPage.js.map +1 -0
- package/dist/v2/admin/TopicDialog.d.ts +11 -0
- package/dist/v2/admin/TopicDialog.js +113 -0
- package/dist/v2/admin/TopicDialog.js.map +1 -0
- package/dist/v2/admin/TopicsPage.d.ts +1 -0
- package/dist/v2/admin/TopicsPage.js +152 -0
- package/dist/v2/admin/TopicsPage.js.map +1 -0
- package/dist/v2/admin/templateText.d.ts +35 -0
- package/dist/v2/admin/templateText.js +114 -0
- package/dist/v2/admin/templateText.js.map +1 -0
- package/dist/v2/admin/useTemplateDraft.d.ts +32 -0
- package/dist/v2/admin/useTemplateDraft.js +117 -0
- package/dist/v2/admin/useTemplateDraft.js.map +1 -0
- package/dist/v2/admin/words.d.ts +15 -0
- package/dist/v2/admin/words.js +67 -0
- package/dist/v2/admin/words.js.map +1 -0
- package/dist/v2/send/MessageTab.d.ts +4 -0
- package/dist/v2/send/MessageTab.js +152 -0
- package/dist/v2/send/MessageTab.js.map +1 -0
- package/dist/v2/send/PeopleTab.d.ts +4 -0
- package/dist/v2/send/PeopleTab.js +156 -0
- package/dist/v2/send/PeopleTab.js.map +1 -0
- package/dist/v2/send/SendNotificationDialog.d.ts +4 -0
- package/dist/v2/send/SendNotificationDialog.js +98 -0
- package/dist/v2/send/SendNotificationDialog.js.map +1 -0
- package/dist/v2/send/SendRedirect.d.ts +1 -0
- package/dist/v2/send/SendRedirect.js +20 -0
- package/dist/v2/send/SendRedirect.js.map +1 -0
- package/dist/v2/send/WhenTab.d.ts +4 -0
- package/dist/v2/send/WhenTab.js +64 -0
- package/dist/v2/send/WhenTab.js.map +1 -0
- package/dist/v2/send/sendModel.d.ts +47 -0
- package/dist/v2/send/sendModel.js +90 -0
- package/dist/v2/send/sendModel.js.map +1 -0
- package/dist/v2/send/useSendDraft.d.ts +24 -0
- package/dist/v2/send/useSendDraft.js +120 -0
- package/dist/v2/send/useSendDraft.js.map +1 -0
- package/package.json +1 -1
|
@@ -5,76 +5,77 @@ import { AdminPageV2 as r } from "./navigation-v2/AdminPageV2.js";
|
|
|
5
5
|
import { DeliveryLogV2 as i, NotificationsV2Landing as a } from "./navigation-v2/NotificationsV2Landing.js";
|
|
6
6
|
import { CompactMarkOr as o, SectionLoaderOr as s } from "./components/loadingSystem.js";
|
|
7
7
|
import { ArchivedRedirect as c } from "./v2/ArchivedRedirect.js";
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
8
|
+
import { SendRedirect as l } from "./v2/send/SendRedirect.js";
|
|
9
|
+
import { Suspense as u, lazy as d } from "react";
|
|
10
|
+
import { Navigate as f, Route as p, Routes as m } from "react-router";
|
|
11
|
+
import { jsx as h, jsxs as g } from "react/jsx-runtime";
|
|
12
|
+
import { useAccountPagesV2 as _ } from "@burdenoff/fe-libs/ui/account-pages-v2";
|
|
12
13
|
// src/NotificationRoutes.tsx
|
|
13
|
-
var
|
|
14
|
-
function
|
|
15
|
-
return /* @__PURE__ */
|
|
14
|
+
var v = d(() => import("./v2/InboxPage.js").then((e) => ({ default: e.InboxPage }))), y = d(() => import("./v2/PreferencesPage.js").then((e) => ({ default: e.PreferencesPage }))), b = d(() => import("./v2/admin/TemplatesPage.js").then((e) => ({ default: e.TemplatesPage }))), x = d(() => import("./v2/admin/TemplatePage.js").then((e) => ({ default: e.TemplatePage }))), S = d(() => import("./v2/admin/TopicsPage.js").then((e) => ({ default: e.TopicsPage }))), C = d(() => import("./v2/admin/DeliveryLogPage.js").then((e) => ({ default: e.DeliveryLogPage }))), w = d(() => import("./pages/NotificationHistoryPage.js").then((e) => ({ default: e.NotificationHistoryPage }))), T = d(() => import("./pages/NotificationTemplatesPage.js").then((e) => ({ default: e.NotificationTemplatesPage }))), E = d(() => import("./pages/TemplateEditorPage.js").then((e) => ({ default: e.TemplateEditorPage }))), D = d(() => import("./pages/CreateNotificationPage.js").then((e) => ({ default: e.CreateNotificationPage }))), O = d(() => import("./pages/NotificationTopicsPage.js").then((e) => ({ default: e.NotificationTopicsPage }))), k = d(() => import("./pages/NotificationPreferencesPage.js").then((e) => ({ default: e.NotificationPreferencesPage })));
|
|
15
|
+
function A() {
|
|
16
|
+
return /* @__PURE__ */ h(s, {
|
|
16
17
|
route: !0,
|
|
17
18
|
minHeight: "16rem",
|
|
18
|
-
today: /* @__PURE__ */
|
|
19
|
+
today: /* @__PURE__ */ h("div", {
|
|
19
20
|
className: "flex h-64 items-center justify-center",
|
|
20
|
-
children: /* @__PURE__ */
|
|
21
|
+
children: /* @__PURE__ */ h(o, {
|
|
21
22
|
className: "h-8 w-8",
|
|
22
|
-
today: /* @__PURE__ */
|
|
23
|
+
today: /* @__PURE__ */ h("div", { className: "h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent" })
|
|
23
24
|
})
|
|
24
25
|
})
|
|
25
26
|
});
|
|
26
27
|
}
|
|
27
|
-
function
|
|
28
|
-
let { basePath: r = "/", navigationV2: i } = e(), a =
|
|
29
|
-
return i ? /* @__PURE__ */
|
|
28
|
+
function j() {
|
|
29
|
+
let { basePath: r = "/", navigationV2: i } = e(), a = _(), o = `${r.endsWith("/") ? r.slice(0, -1) : r}/center`;
|
|
30
|
+
return i ? /* @__PURE__ */ h(M, {
|
|
30
31
|
centerPath: o,
|
|
31
32
|
v2: a
|
|
32
|
-
}) : /* @__PURE__ */
|
|
33
|
-
fallback: /* @__PURE__ */
|
|
34
|
-
children: /* @__PURE__ */
|
|
35
|
-
/* @__PURE__ */
|
|
33
|
+
}) : /* @__PURE__ */ h(u, {
|
|
34
|
+
fallback: /* @__PURE__ */ h(A, {}),
|
|
35
|
+
children: /* @__PURE__ */ g(m, { children: [
|
|
36
|
+
/* @__PURE__ */ h(p, {
|
|
36
37
|
index: !0,
|
|
37
|
-
element:
|
|
38
|
+
element: h(a ? v : n, {})
|
|
38
39
|
}),
|
|
39
|
-
/* @__PURE__ */
|
|
40
|
+
/* @__PURE__ */ h(p, {
|
|
40
41
|
path: "list",
|
|
41
|
-
element:
|
|
42
|
+
element: h(a ? v : t, {})
|
|
42
43
|
}),
|
|
43
|
-
/* @__PURE__ */
|
|
44
|
+
/* @__PURE__ */ h(p, {
|
|
44
45
|
path: "center",
|
|
45
|
-
element:
|
|
46
|
+
element: h(a ? v : t, {})
|
|
46
47
|
}),
|
|
47
|
-
/* @__PURE__ */
|
|
48
|
+
/* @__PURE__ */ h(p, {
|
|
48
49
|
path: "history",
|
|
49
|
-
element:
|
|
50
|
+
element: h(a ? c : w, {})
|
|
50
51
|
}),
|
|
51
|
-
/* @__PURE__ */
|
|
52
|
+
/* @__PURE__ */ h(p, {
|
|
52
53
|
path: "templates",
|
|
53
|
-
element:
|
|
54
|
+
element: h(a ? b : T, {})
|
|
54
55
|
}),
|
|
55
|
-
/* @__PURE__ */
|
|
56
|
+
/* @__PURE__ */ h(p, {
|
|
56
57
|
path: "templates/new",
|
|
57
|
-
element:
|
|
58
|
+
element: h(a ? x : E, {})
|
|
58
59
|
}),
|
|
59
|
-
/* @__PURE__ */
|
|
60
|
+
/* @__PURE__ */ h(p, {
|
|
60
61
|
path: "templates/:templateId",
|
|
61
|
-
element:
|
|
62
|
+
element: h(a ? x : E, {})
|
|
62
63
|
}),
|
|
63
|
-
/* @__PURE__ */
|
|
64
|
+
/* @__PURE__ */ h(p, {
|
|
64
65
|
path: "create",
|
|
65
|
-
element:
|
|
66
|
+
element: h(a ? l : D, {})
|
|
66
67
|
}),
|
|
67
|
-
/* @__PURE__ */
|
|
68
|
+
/* @__PURE__ */ h(p, {
|
|
68
69
|
path: "topics",
|
|
69
|
-
element:
|
|
70
|
+
element: h(a ? S : O, {})
|
|
70
71
|
}),
|
|
71
|
-
/* @__PURE__ */
|
|
72
|
+
/* @__PURE__ */ h(p, {
|
|
72
73
|
path: "preferences",
|
|
73
|
-
element:
|
|
74
|
+
element: h(a ? y : k, {})
|
|
74
75
|
}),
|
|
75
|
-
/* @__PURE__ */
|
|
76
|
+
/* @__PURE__ */ h(p, {
|
|
76
77
|
path: "*",
|
|
77
|
-
element: /* @__PURE__ */
|
|
78
|
+
element: /* @__PURE__ */ h(f, {
|
|
78
79
|
to: o,
|
|
79
80
|
replace: !0
|
|
80
81
|
})
|
|
@@ -82,73 +83,73 @@ function E() {
|
|
|
82
83
|
] })
|
|
83
84
|
});
|
|
84
85
|
}
|
|
85
|
-
function
|
|
86
|
-
return /* @__PURE__ */
|
|
87
|
-
fallback: /* @__PURE__ */
|
|
88
|
-
children: /* @__PURE__ */
|
|
89
|
-
/* @__PURE__ */
|
|
86
|
+
function M({ centerPath: e, v2: n }) {
|
|
87
|
+
return /* @__PURE__ */ h(u, {
|
|
88
|
+
fallback: /* @__PURE__ */ h(A, {}),
|
|
89
|
+
children: /* @__PURE__ */ g(m, { children: [
|
|
90
|
+
/* @__PURE__ */ h(p, {
|
|
90
91
|
index: !0,
|
|
91
|
-
element:
|
|
92
|
+
element: h(n ? v : a, {})
|
|
92
93
|
}),
|
|
93
|
-
/* @__PURE__ */
|
|
94
|
+
/* @__PURE__ */ h(p, {
|
|
94
95
|
path: "list",
|
|
95
|
-
element:
|
|
96
|
+
element: h(n ? v : t, {})
|
|
96
97
|
}),
|
|
97
|
-
/* @__PURE__ */
|
|
98
|
+
/* @__PURE__ */ h(p, {
|
|
98
99
|
path: "center",
|
|
99
|
-
element:
|
|
100
|
+
element: h(n ? v : t, {})
|
|
100
101
|
}),
|
|
101
|
-
/* @__PURE__ */
|
|
102
|
+
/* @__PURE__ */ h(p, {
|
|
102
103
|
path: "history",
|
|
103
|
-
element:
|
|
104
|
+
element: h(n ? c : w, {})
|
|
104
105
|
}),
|
|
105
|
-
/* @__PURE__ */
|
|
106
|
+
/* @__PURE__ */ h(p, {
|
|
106
107
|
path: "preferences",
|
|
107
|
-
element:
|
|
108
|
+
element: h(n ? y : k, {})
|
|
108
109
|
}),
|
|
109
|
-
/* @__PURE__ */
|
|
110
|
+
/* @__PURE__ */ h(p, {
|
|
110
111
|
path: "templates",
|
|
111
|
-
element: /* @__PURE__ */
|
|
112
|
+
element: n ? /* @__PURE__ */ h(b, {}) : /* @__PURE__ */ h(r, {
|
|
112
113
|
tool: "templates",
|
|
113
|
-
children: /* @__PURE__ */
|
|
114
|
+
children: /* @__PURE__ */ h(T, {})
|
|
114
115
|
})
|
|
115
116
|
}),
|
|
116
|
-
/* @__PURE__ */
|
|
117
|
+
/* @__PURE__ */ h(p, {
|
|
117
118
|
path: "templates/new",
|
|
118
|
-
element: /* @__PURE__ */
|
|
119
|
+
element: n ? /* @__PURE__ */ h(x, {}) : /* @__PURE__ */ h(r, {
|
|
119
120
|
tool: "templates",
|
|
120
|
-
children: /* @__PURE__ */
|
|
121
|
+
children: /* @__PURE__ */ h(E, {})
|
|
121
122
|
})
|
|
122
123
|
}),
|
|
123
|
-
/* @__PURE__ */
|
|
124
|
+
/* @__PURE__ */ h(p, {
|
|
124
125
|
path: "templates/:templateId",
|
|
125
|
-
element: /* @__PURE__ */
|
|
126
|
+
element: n ? /* @__PURE__ */ h(x, {}) : /* @__PURE__ */ h(r, {
|
|
126
127
|
tool: "templates",
|
|
127
|
-
children: /* @__PURE__ */
|
|
128
|
+
children: /* @__PURE__ */ h(E, {})
|
|
128
129
|
})
|
|
129
130
|
}),
|
|
130
|
-
/* @__PURE__ */
|
|
131
|
+
/* @__PURE__ */ h(p, {
|
|
131
132
|
path: "create",
|
|
132
|
-
element: /* @__PURE__ */
|
|
133
|
+
element: n ? /* @__PURE__ */ h(l, {}) : /* @__PURE__ */ h(r, {
|
|
133
134
|
tool: "send",
|
|
134
135
|
back: !1,
|
|
135
|
-
children: /* @__PURE__ */
|
|
136
|
+
children: /* @__PURE__ */ h(D, {})
|
|
136
137
|
})
|
|
137
138
|
}),
|
|
138
|
-
/* @__PURE__ */
|
|
139
|
+
/* @__PURE__ */ h(p, {
|
|
139
140
|
path: "topics",
|
|
140
|
-
element: /* @__PURE__ */
|
|
141
|
+
element: n ? /* @__PURE__ */ h(S, {}) : /* @__PURE__ */ h(r, {
|
|
141
142
|
tool: "topics",
|
|
142
|
-
children: /* @__PURE__ */
|
|
143
|
+
children: /* @__PURE__ */ h(O, {})
|
|
143
144
|
})
|
|
144
145
|
}),
|
|
145
|
-
/* @__PURE__ */
|
|
146
|
+
/* @__PURE__ */ h(p, {
|
|
146
147
|
path: "delivery-log",
|
|
147
|
-
element:
|
|
148
|
+
element: h(n ? C : i, {})
|
|
148
149
|
}),
|
|
149
|
-
/* @__PURE__ */
|
|
150
|
+
/* @__PURE__ */ h(p, {
|
|
150
151
|
path: "*",
|
|
151
|
-
element: /* @__PURE__ */
|
|
152
|
+
element: /* @__PURE__ */ h(f, {
|
|
152
153
|
to: e,
|
|
153
154
|
replace: !0
|
|
154
155
|
})
|
|
@@ -156,6 +157,6 @@ function D({ centerPath: e, v2: n }) {
|
|
|
156
157
|
] })
|
|
157
158
|
});
|
|
158
159
|
}
|
|
159
|
-
export {
|
|
160
|
+
export { M as NavigationV2Routes, j as NotificationRoutes };
|
|
160
161
|
|
|
161
162
|
//# sourceMappingURL=NotificationRoutes.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotificationRoutes.js","names":["InboxPageV2","lazy","m","PreferencesPageV2","NotificationHistoryPage","NotificationTemplatesPage","TemplateEditorPage","CreateNotificationPage","NotificationTopicsPage","NotificationPreferencesPage","PageLoader","SectionLoaderOr","CompactMarkOr","NotificationRoutes","useNotification","v2","useAccountPagesV2","centerPath","basePath","navigationV2","NavigationV2Routes","Suspense","Routes","Route","jsx","NotificationLandingPage","NotificationCenterPage","ArchivedRedirect","Navigate","NotificationsV2Landing","AdminPageV2","DeliveryLogV2"],"sources":["../src/NotificationRoutes.tsx"],"sourcesContent":["import { lazy, Suspense } from 'react';\nimport { Navigate, Route, Routes } from 'react-router';\nimport { useNotification } from './providers/NotificationProvider';\n\n// Eager load - Primary landing page\nimport { NotificationCenterPage } from './pages/NotificationCenterPage';\nimport { NotificationLandingPage } from './pages/NotificationLandingPage';\nimport { AdminPageV2 } from './navigation-v2/AdminPageV2';\nimport { DeliveryLogV2, NotificationsV2Landing } from './navigation-v2/NotificationsV2Landing';\nimport { CompactMarkOr, SectionLoaderOr } from './components/loadingSystem';\nimport { useAccountPagesV2 } from '@burdenoff/fe-libs/ui/account-pages-v2';\nimport { ArchivedRedirect } from './v2/ArchivedRedirect';\n\n// Account & platform v2 (BOFF-16785, C1): FluidGrids' redesigned inbox and notification settings.\nconst InboxPageV2 = lazy(() => import('./v2/InboxPage').then((m) => ({ default: m.InboxPage })));\nconst PreferencesPageV2 = lazy(() =>\n import('./v2/PreferencesPage').then((m) => ({ default: m.PreferencesPage }))\n);\n\n// Lazy load - Secondary pages\nconst NotificationHistoryPage = lazy(() =>\n import('./pages/NotificationHistoryPage').then((m) => ({\n default: m.NotificationHistoryPage,\n }))\n);\nconst NotificationTemplatesPage = lazy(() =>\n import('./pages/NotificationTemplatesPage').then((m) => ({\n default: m.NotificationTemplatesPage,\n }))\n);\nconst TemplateEditorPage = lazy(() =>\n import('./pages/TemplateEditorPage').then((m) => ({ default: m.TemplateEditorPage }))\n);\nconst CreateNotificationPage = lazy(() =>\n import('./pages/CreateNotificationPage').then((m) => ({ default: m.CreateNotificationPage }))\n);\nconst NotificationTopicsPage = lazy(() =>\n import('./pages/NotificationTopicsPage').then((m) => ({ default: m.NotificationTopicsPage }))\n);\nconst NotificationPreferencesPage = lazy(() =>\n import('./pages/NotificationPreferencesPage').then((m) => ({\n default: m.NotificationPreferencesPage,\n }))\n);\n\n// Loading fallback component\nfunction PageLoader() {\n return (\n <SectionLoaderOr\n route\n minHeight=\"16rem\"\n today={\n <div className=\"flex h-64 items-center justify-center\">\n <CompactMarkOr\n className=\"h-8 w-8\"\n today={\n <div className=\"h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent\" />\n }\n />\n </div>\n }\n />\n );\n}\n\n/**\n * Internal router for the Notification microfrontend.\n * This component handles routing within the microfrontend using React Router v7.\n *\n * Routes:\n * - / → Notification landing page\n * - /list → Notification center (canonical list alias used by shell nav homePath)\n * - /center → Notification center (in-app notifications)\n * - /history → Notification history and archive\n * - /templates → Notification templates list (admin)\n * - /templates/new → Create new template (admin)\n * - /templates/:templateId → Edit template (admin)\n * - /create → Create and send notification (admin)\n * - /topics → Manage topics (admin)\n * - /preferences → User topic preferences\n * - unmatched → Absolute redirect to /{basePath}/center (avoids relative redirect loops)\n */\nexport function NotificationRoutes() {\n const { basePath = '/', navigationV2 } = useNotification();\n // FluidGrids' Account & platform pages (BOFF-16785): every other host keeps the elements below.\n const v2 = useAccountPagesV2();\n const centerPath = `${basePath.endsWith('/') ? basePath.slice(0, -1) : basePath}/center`;\n\n if (navigationV2) return <NavigationV2Routes centerPath={centerPath} v2={v2} />;\n\n return (\n <Suspense fallback={<PageLoader />}>\n <Routes>\n {/* Tabbed landing - default route */}\n <Route index element={v2 ? <InboxPageV2 /> : <NotificationLandingPage />} />\n\n {/* Canonical list alias used by product-shell nav homePath */}\n <Route path=\"list\" element={v2 ? <InboxPageV2 /> : <NotificationCenterPage />} />\n\n {/* User-facing routes (all users) */}\n <Route path=\"center\" element={v2 ? <InboxPageV2 /> : <NotificationCenterPage />} />\n <Route path=\"history\" element={v2 ? <ArchivedRedirect /> : <NotificationHistoryPage />} />\n\n {/* Admin routes - Templates */}\n <Route path=\"templates\" element={<NotificationTemplatesPage />} />\n <Route path=\"templates/new\" element={<TemplateEditorPage />} />\n <Route path=\"templates/:templateId\" element={<TemplateEditorPage />} />\n\n {/* Admin routes - Create/Send Notification */}\n <Route path=\"create\" element={<CreateNotificationPage />} />\n <Route path=\"topics\" element={<NotificationTopicsPage />} />\n <Route\n path=\"preferences\"\n element={v2 ? <PreferencesPageV2 /> : <NotificationPreferencesPage />}\n />\n\n {/* Catch-all route - absolute redirect so an unmatched path like /list\n cannot recursively append /center (e.g. /list/center/center/...) */}\n <Route path=\"*\" element={<Navigate to={centerPath} replace />} />\n </Routes>\n </Suspense>\n );\n}\n\n/**\n * FluidGrids' Navigation v2 routes (BOFF-11872). Every URL of the classic\n * routes keeps working: `/` opens straight on the inbox (old `?tab=` values\n * still open their page), and the admin pages get a route-level permission\n * gate and a way back to the inbox.\n */\nexport function NavigationV2Routes({ centerPath, v2 }: { centerPath: string; v2: boolean }) {\n return (\n <Suspense fallback={<PageLoader />}>\n <Routes>\n <Route index element={v2 ? <InboxPageV2 /> : <NotificationsV2Landing />} />\n <Route path=\"list\" element={v2 ? <InboxPageV2 /> : <NotificationCenterPage />} />\n <Route path=\"center\" element={v2 ? <InboxPageV2 /> : <NotificationCenterPage />} />\n <Route path=\"history\" element={v2 ? <ArchivedRedirect /> : <NotificationHistoryPage />} />\n <Route\n path=\"preferences\"\n element={v2 ? <PreferencesPageV2 /> : <NotificationPreferencesPage />}\n />\n <Route\n path=\"templates\"\n element={\n <AdminPageV2 tool=\"templates\">\n <NotificationTemplatesPage />\n </AdminPageV2>\n }\n />\n <Route\n path=\"templates/new\"\n element={\n <AdminPageV2 tool=\"templates\">\n <TemplateEditorPage />\n </AdminPageV2>\n }\n />\n <Route\n path=\"templates/:templateId\"\n element={\n <AdminPageV2 tool=\"templates\">\n <TemplateEditorPage />\n </AdminPageV2>\n }\n />\n <Route\n path=\"create\"\n element={\n <AdminPageV2 tool=\"send\" back={false}>\n <CreateNotificationPage />\n </AdminPageV2>\n }\n />\n <Route\n path=\"topics\"\n element={\n <AdminPageV2 tool=\"topics\">\n <NotificationTopicsPage />\n </AdminPageV2>\n }\n />\n <Route path=\"delivery-log\" element={<DeliveryLogV2 />} />\n <Route path=\"*\" element={<Navigate to={centerPath} replace />} />\n </Routes>\n </Suspense>\n );\n}\n"],"mappings":";;;;;;;;;;;;AAcA,IAAMA,IAAcC,QAAW,OAAO,oBAAiB,CAAC,MAAM,OAAO,EAAE,SAASC,EAAE,UAAU,EAAE,CAAC,GACzFC,IAAoBF,QACxB,OAAO,0B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,SAAA;IAAS,CAAA;GAAI,CAAA;EAC1D,EAAA,CAAA;CACA,CAAA;AAEd"}
|
|
1
|
+
{"version":3,"file":"NotificationRoutes.js","names":["InboxPageV2","lazy","m","PreferencesPageV2","TemplatesPageV2","TemplatePageV2","TopicsPageV2","DeliveryLogPageV2","NotificationHistoryPage","NotificationTemplatesPage","TemplateEditorPage","CreateNotificationPage","NotificationTopicsPage","NotificationPreferencesPage","PageLoader","SectionLoaderOr","CompactMarkOr","NotificationRoutes","useNotification","v2","useAccountPagesV2","centerPath","basePath","navigationV2","NavigationV2Routes","Suspense","Routes","Route","jsx","NotificationLandingPage","NotificationCenterPage","ArchivedRedirect","SendRedirect","Navigate","NotificationsV2Landing","AdminPageV2","DeliveryLogV2"],"sources":["../src/NotificationRoutes.tsx"],"sourcesContent":["import { lazy, Suspense } from 'react';\nimport { Navigate, Route, Routes } from 'react-router';\nimport { useNotification } from './providers/NotificationProvider';\n\n// Eager load - Primary landing page\nimport { NotificationCenterPage } from './pages/NotificationCenterPage';\nimport { NotificationLandingPage } from './pages/NotificationLandingPage';\nimport { AdminPageV2 } from './navigation-v2/AdminPageV2';\nimport { DeliveryLogV2, NotificationsV2Landing } from './navigation-v2/NotificationsV2Landing';\nimport { CompactMarkOr, SectionLoaderOr } from './components/loadingSystem';\nimport { useAccountPagesV2 } from '@burdenoff/fe-libs/ui/account-pages-v2';\nimport { ArchivedRedirect } from './v2/ArchivedRedirect';\nimport { SendRedirect } from './v2/send/SendRedirect';\n\n// Account & platform v2 (BOFF-16785, C1): FluidGrids' redesigned inbox and notification settings.\nconst InboxPageV2 = lazy(() => import('./v2/InboxPage').then((m) => ({ default: m.InboxPage })));\nconst PreferencesPageV2 = lazy(() =>\n import('./v2/PreferencesPage').then((m) => ({ default: m.PreferencesPage }))\n);\n// Account & platform v2 (BOFF-16785, C2): templates, a template, topics and the delivery log.\nconst TemplatesPageV2 = lazy(() =>\n import('./v2/admin/TemplatesPage').then((m) => ({ default: m.TemplatesPage }))\n);\nconst TemplatePageV2 = lazy(() =>\n import('./v2/admin/TemplatePage').then((m) => ({ default: m.TemplatePage }))\n);\nconst TopicsPageV2 = lazy(() =>\n import('./v2/admin/TopicsPage').then((m) => ({ default: m.TopicsPage }))\n);\nconst DeliveryLogPageV2 = lazy(() =>\n import('./v2/admin/DeliveryLogPage').then((m) => ({ default: m.DeliveryLogPage }))\n);\n\n// Lazy load - Secondary pages\nconst NotificationHistoryPage = lazy(() =>\n import('./pages/NotificationHistoryPage').then((m) => ({\n default: m.NotificationHistoryPage,\n }))\n);\nconst NotificationTemplatesPage = lazy(() =>\n import('./pages/NotificationTemplatesPage').then((m) => ({\n default: m.NotificationTemplatesPage,\n }))\n);\nconst TemplateEditorPage = lazy(() =>\n import('./pages/TemplateEditorPage').then((m) => ({ default: m.TemplateEditorPage }))\n);\nconst CreateNotificationPage = lazy(() =>\n import('./pages/CreateNotificationPage').then((m) => ({ default: m.CreateNotificationPage }))\n);\nconst NotificationTopicsPage = lazy(() =>\n import('./pages/NotificationTopicsPage').then((m) => ({ default: m.NotificationTopicsPage }))\n);\nconst NotificationPreferencesPage = lazy(() =>\n import('./pages/NotificationPreferencesPage').then((m) => ({\n default: m.NotificationPreferencesPage,\n }))\n);\n\n// Loading fallback component\nfunction PageLoader() {\n return (\n <SectionLoaderOr\n route\n minHeight=\"16rem\"\n today={\n <div className=\"flex h-64 items-center justify-center\">\n <CompactMarkOr\n className=\"h-8 w-8\"\n today={\n <div className=\"h-8 w-8 animate-spin rounded-full border-4 border-primary border-t-transparent\" />\n }\n />\n </div>\n }\n />\n );\n}\n\n/**\n * Internal router for the Notification microfrontend.\n * This component handles routing within the microfrontend using React Router v7.\n *\n * Routes:\n * - / → Notification landing page\n * - /list → Notification center (canonical list alias used by shell nav homePath)\n * - /center → Notification center (in-app notifications)\n * - /history → Notification history and archive\n * - /templates → Notification templates list (admin)\n * - /templates/new → Create new template (admin)\n * - /templates/:templateId → Edit template (admin)\n * - /create → Create and send notification (admin)\n * - /topics → Manage topics (admin)\n * - /preferences → User topic preferences\n * - unmatched → Absolute redirect to /{basePath}/center (avoids relative redirect loops)\n */\nexport function NotificationRoutes() {\n const { basePath = '/', navigationV2 } = useNotification();\n // FluidGrids' Account & platform pages (BOFF-16785): every other host keeps the elements below.\n const v2 = useAccountPagesV2();\n const centerPath = `${basePath.endsWith('/') ? basePath.slice(0, -1) : basePath}/center`;\n\n if (navigationV2) return <NavigationV2Routes centerPath={centerPath} v2={v2} />;\n\n return (\n <Suspense fallback={<PageLoader />}>\n <Routes>\n {/* Tabbed landing - default route */}\n <Route index element={v2 ? <InboxPageV2 /> : <NotificationLandingPage />} />\n\n {/* Canonical list alias used by product-shell nav homePath */}\n <Route path=\"list\" element={v2 ? <InboxPageV2 /> : <NotificationCenterPage />} />\n\n {/* User-facing routes (all users) */}\n <Route path=\"center\" element={v2 ? <InboxPageV2 /> : <NotificationCenterPage />} />\n <Route path=\"history\" element={v2 ? <ArchivedRedirect /> : <NotificationHistoryPage />} />\n\n {/* Admin routes - Templates */}\n <Route\n path=\"templates\"\n element={v2 ? <TemplatesPageV2 /> : <NotificationTemplatesPage />}\n />\n <Route path=\"templates/new\" element={v2 ? <TemplatePageV2 /> : <TemplateEditorPage />} />\n <Route\n path=\"templates/:templateId\"\n element={v2 ? <TemplatePageV2 /> : <TemplateEditorPage />}\n />\n\n {/* Admin routes - Create/Send Notification */}\n <Route path=\"create\" element={v2 ? <SendRedirect /> : <CreateNotificationPage />} />\n <Route path=\"topics\" element={v2 ? <TopicsPageV2 /> : <NotificationTopicsPage />} />\n <Route\n path=\"preferences\"\n element={v2 ? <PreferencesPageV2 /> : <NotificationPreferencesPage />}\n />\n\n {/* Catch-all route - absolute redirect so an unmatched path like /list\n cannot recursively append /center (e.g. /list/center/center/...) */}\n <Route path=\"*\" element={<Navigate to={centerPath} replace />} />\n </Routes>\n </Suspense>\n );\n}\n\n/**\n * FluidGrids' Navigation v2 routes (BOFF-11872). Every URL of the classic\n * routes keeps working: `/` opens straight on the inbox (old `?tab=` values\n * still open their page), and the admin pages get a route-level permission\n * gate and a way back to the inbox.\n */\nexport function NavigationV2Routes({ centerPath, v2 }: { centerPath: string; v2: boolean }) {\n return (\n <Suspense fallback={<PageLoader />}>\n <Routes>\n <Route index element={v2 ? <InboxPageV2 /> : <NotificationsV2Landing />} />\n <Route path=\"list\" element={v2 ? <InboxPageV2 /> : <NotificationCenterPage />} />\n <Route path=\"center\" element={v2 ? <InboxPageV2 /> : <NotificationCenterPage />} />\n <Route path=\"history\" element={v2 ? <ArchivedRedirect /> : <NotificationHistoryPage />} />\n <Route\n path=\"preferences\"\n element={v2 ? <PreferencesPageV2 /> : <NotificationPreferencesPage />}\n />\n <Route\n path=\"templates\"\n element={\n v2 ? (\n <TemplatesPageV2 />\n ) : (\n <AdminPageV2 tool=\"templates\">\n <NotificationTemplatesPage />\n </AdminPageV2>\n )\n }\n />\n <Route\n path=\"templates/new\"\n element={\n v2 ? (\n <TemplatePageV2 />\n ) : (\n <AdminPageV2 tool=\"templates\">\n <TemplateEditorPage />\n </AdminPageV2>\n )\n }\n />\n <Route\n path=\"templates/:templateId\"\n element={\n v2 ? (\n <TemplatePageV2 />\n ) : (\n <AdminPageV2 tool=\"templates\">\n <TemplateEditorPage />\n </AdminPageV2>\n )\n }\n />\n <Route\n path=\"create\"\n element={\n v2 ? (\n <SendRedirect />\n ) : (\n <AdminPageV2 tool=\"send\" back={false}>\n <CreateNotificationPage />\n </AdminPageV2>\n )\n }\n />\n <Route\n path=\"topics\"\n element={\n v2 ? (\n <TopicsPageV2 />\n ) : (\n <AdminPageV2 tool=\"topics\">\n <NotificationTopicsPage />\n </AdminPageV2>\n )\n }\n />\n <Route path=\"delivery-log\" element={v2 ? <DeliveryLogPageV2 /> : <DeliveryLogV2 />} />\n <Route path=\"*\" element={<Navigate to={centerPath} replace />} />\n </Routes>\n </Suspense>\n );\n}\n"],"mappings":";;;;;;;;;;;;;AAeA,IAAMA,IAAcC,QAAW,OAAO,oBAA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AA,kBAACzB,GAAD,CAAqB,CAAA;IACV,CAAA;GAGlB,CAAA;GACD,kBAACiB,GAAD;IACE,MAAK;IACL,SACER,IACE,kBAACd,GAAD,CAAiB,CAAA,IAEjB,kBAAC8B,GAAD;KAAa,MAAK;KAChB,UAAA,kBAACzB,GAAD,CAAqB,CAAA;IACV,CAAA;GAGlB,CAAA;GACD,kBAACiB,GAAD;IACE,MAAK;IACL,SACER,IACE,kBAACa,GAAD,CAAe,CAAA,IAEf,kBAACG,GAAD;KAAa,MAAK;KAAO,MAAM;KAC7B,UAAA,kBAACxB,GAAD,CAAyB,CAAA;IACd,CAAA;GAGlB,CAAA;GACD,kBAACgB,GAAD;IACE,MAAK;IACL,SACER,IACE,kBAACb,GAAD,CAAe,CAAA,IAEf,kBAAC6B,GAAD;KAAa,MAAK;KAChB,UAAA,kBAACvB,GAAD,CAAyB,CAAA;IACd,CAAA;GAGlB,CAAA;GACD,kBAACe,GAAD;IAAO,MAAK;IAAe,SAAcC,EAALT,IAAMZ,IAAwB6B,GAAzB,CAAoB,CAAoB;GAAI,CAAA;GACrF,kBAACT,GAAD;IAAO,MAAK;IAAI,SAAS,kBAACM,GAAD;KAAU,IAAIZ;KAAY,SAAA;IAAS,CAAA;GAAI,CAAA;EAC1D,EAAA,CAAA;CACA,CAAA;AAEd"}
|
|
@@ -490,6 +490,7 @@ export type CreateNotificationTemplateMutation = {
|
|
|
490
490
|
name: string;
|
|
491
491
|
description: string | null;
|
|
492
492
|
type: Types.NotificationType;
|
|
493
|
+
channel: Types.NotificationChannel;
|
|
493
494
|
locale: string;
|
|
494
495
|
subject: string | null;
|
|
495
496
|
bodyTemplate: string;
|
|
@@ -718,6 +719,7 @@ export type UpdateNotificationTemplateMutation = {
|
|
|
718
719
|
name: string;
|
|
719
720
|
description: string | null;
|
|
720
721
|
type: Types.NotificationType;
|
|
722
|
+
channel: Types.NotificationChannel;
|
|
721
723
|
locale: string;
|
|
722
724
|
subject: string | null;
|
|
723
725
|
bodyTemplate: string;
|
|
@@ -934,6 +936,7 @@ export type GetNotificationTemplateQuery = {
|
|
|
934
936
|
name: string;
|
|
935
937
|
description: string | null;
|
|
936
938
|
type: Types.NotificationType;
|
|
939
|
+
channel: Types.NotificationChannel;
|
|
937
940
|
locale: string;
|
|
938
941
|
subject: string | null;
|
|
939
942
|
bodyTemplate: string;
|
|
@@ -962,6 +965,7 @@ export type GetNotificationTemplatesQuery = {
|
|
|
962
965
|
name: string;
|
|
963
966
|
description: string | null;
|
|
964
967
|
type: Types.NotificationType;
|
|
968
|
+
channel: Types.NotificationChannel;
|
|
965
969
|
locale: string;
|
|
966
970
|
subject: string | null;
|
|
967
971
|
bodyTemplate: string;
|
|
@@ -154,6 +154,7 @@ ${t}`, f = e`
|
|
|
154
154
|
name
|
|
155
155
|
description
|
|
156
156
|
type
|
|
157
|
+
channel
|
|
157
158
|
locale
|
|
158
159
|
subject
|
|
159
160
|
bodyTemplate
|
|
@@ -328,6 +329,7 @@ ${t}`, O = e`
|
|
|
328
329
|
name
|
|
329
330
|
description
|
|
330
331
|
type
|
|
332
|
+
channel
|
|
331
333
|
locale
|
|
332
334
|
subject
|
|
333
335
|
bodyTemplate
|
|
@@ -437,6 +439,7 @@ var P = e`
|
|
|
437
439
|
name
|
|
438
440
|
description
|
|
439
441
|
type
|
|
442
|
+
channel
|
|
440
443
|
locale
|
|
441
444
|
subject
|
|
442
445
|
bodyTemplate
|
|
@@ -459,6 +462,7 @@ var P = e`
|
|
|
459
462
|
name
|
|
460
463
|
description
|
|
461
464
|
type
|
|
465
|
+
channel
|
|
462
466
|
locale
|
|
463
467
|
subject
|
|
464
468
|
bodyTemplate
|