@plumile/backoffice-react 0.1.178 → 0.1.179

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.
Files changed (33) hide show
  1. package/lib/esm/auth/authRefreshNotice.css.js +1 -0
  2. package/lib/esm/auth/login/loginPage.css.js +1 -0
  3. package/lib/esm/components/backoffice/layout/backofficeSidebarActions.css.js +0 -2
  4. package/lib/esm/components/backoffice/layout/breadcrumb/backofficeTopbarBreadcrumb.css.js +0 -1
  5. package/lib/esm/components/backoffice/refs/backofficeEntityIdRef.css.js +1 -0
  6. package/lib/esm/pages/BackofficeEntityDetailFramePage.js +45 -0
  7. package/lib/esm/pages/BackofficeEntityDetailFramePage.js.map +1 -0
  8. package/lib/esm/pages/BackofficeEntityDetailLayoutPage.js +73 -59
  9. package/lib/esm/pages/BackofficeEntityDetailLayoutPage.js.map +1 -1
  10. package/lib/esm/pages/BackofficeEntityDetailPage.js.map +1 -1
  11. package/lib/esm/pages/BackofficeEntityListDataPage.js +146 -0
  12. package/lib/esm/pages/BackofficeEntityListDataPage.js.map +1 -0
  13. package/lib/esm/pages/BackofficeEntityListPage.js +119 -130
  14. package/lib/esm/pages/BackofficeEntityListPage.js.map +1 -1
  15. package/lib/esm/pages/BackofficeEntityListRouteContext.js +15 -0
  16. package/lib/esm/pages/BackofficeEntityListRouteContext.js.map +1 -0
  17. package/lib/esm/router/createBackofficeRoutes.js +164 -119
  18. package/lib/esm/router/createBackofficeRoutes.js.map +1 -1
  19. package/lib/types/pages/BackofficeEntityDetailFramePage.d.ts +11 -0
  20. package/lib/types/pages/BackofficeEntityDetailFramePage.d.ts.map +1 -0
  21. package/lib/types/pages/BackofficeEntityDetailLayoutPage.d.ts +2 -2
  22. package/lib/types/pages/BackofficeEntityDetailLayoutPage.d.ts.map +1 -1
  23. package/lib/types/pages/BackofficeEntityDetailPage.d.ts +2 -11
  24. package/lib/types/pages/BackofficeEntityDetailPage.d.ts.map +1 -1
  25. package/lib/types/pages/BackofficeEntityListDataPage.d.ts +8 -0
  26. package/lib/types/pages/BackofficeEntityListDataPage.d.ts.map +1 -0
  27. package/lib/types/pages/BackofficeEntityListPage.d.ts +5 -4
  28. package/lib/types/pages/BackofficeEntityListPage.d.ts.map +1 -1
  29. package/lib/types/pages/BackofficeEntityListRouteContext.d.ts +22 -0
  30. package/lib/types/pages/BackofficeEntityListRouteContext.d.ts.map +1 -0
  31. package/lib/types/router/createBackofficeRoutes.d.ts +2 -0
  32. package/lib/types/router/createBackofficeRoutes.d.ts.map +1 -1
  33. package/package.json +6 -6
@@ -8,18 +8,18 @@ import { BACKOFFICE_LIST_DEFAULTS as l } from "@plumile/backoffice-core/constant
8
8
  import { getResourcePage as u } from "@plumile/router/ResourcePage.js";
9
9
  import { r as d } from "@plumile/router/tools.js";
10
10
  //#region src/router/createBackofficeRoutes.tsx
11
- var { loadQuery: f, usePreloadedQuery: p } = s, m = u("WrapperPage", async () => ({ default: (await import("@plumile/ui/pages/WrapperPage.js")).WrapperPage })), h = u("BackofficeLayoutPage", async () => import("../pages/BackofficeLayoutPage.js")), g = u("BackofficeEntityListPage", async () => import("../pages/BackofficeEntityListPage.js")), _ = u("BackofficeEntityDetailPage", async () => import("../pages/BackofficeEntityDetailPage.js")), v = u("BackofficeEntityDetailLayoutPage", async () => import("../pages/BackofficeEntityDetailLayoutPage.js")), y = u("BackofficeEntityDetailUnknownPageRedirect", async () => import("../pages/BackofficeEntityDetailUnknownPageRedirect.js")), b = u("BackofficeDashboardPage", async () => import("../pages/BackofficeDashboardPage.js")), x = u("BackofficeHubPage", async () => import("../pages/BackofficeHubPage.js")), S = u("BackofficeLoginPage", async () => import("../pages/BackofficeLoginPage.js")), C = u("BackofficePasswordResetRequestPage", async () => import("../pages/BackofficePasswordResetRequestPage.js")), w = u("BackofficePasswordResetCompletePage", async () => import("../pages/BackofficePasswordResetCompletePage.js")), T = u("BackofficeVerifyEmailPage", async () => import("../pages/BackofficeVerifyEmailPage.js")), E = u("BackofficeAcceptInvitationPage", async () => import("../pages/BackofficeAcceptInvitationPage.js")), D = ({ pathname: e }) => {
11
+ var { loadQuery: f, usePreloadedQuery: p } = s, m = u("WrapperPage", async () => ({ default: (await import("@plumile/ui/pages/WrapperPage.js")).WrapperPage })), h = u("BackofficeLayoutPage", async () => import("../pages/BackofficeLayoutPage.js")), g = u("BackofficeEntityListPage", async () => import("../pages/BackofficeEntityListPage.js")), _ = u("BackofficeEntityListDataPage", async () => import("../pages/BackofficeEntityListDataPage.js")), v = u("BackofficeEntityDetailPage", async () => import("../pages/BackofficeEntityDetailPage.js")), y = u("BackofficeEntityDetailFramePage", async () => import("../pages/BackofficeEntityDetailFramePage.js")), b = u("BackofficeEntityDetailLayoutPage", async () => import("../pages/BackofficeEntityDetailLayoutPage.js")), x = u("BackofficeEntityDetailUnknownPageRedirect", async () => import("../pages/BackofficeEntityDetailUnknownPageRedirect.js")), S = u("BackofficeDashboardPage", async () => import("../pages/BackofficeDashboardPage.js")), C = u("BackofficeHubPage", async () => import("../pages/BackofficeHubPage.js")), w = u("BackofficeLoginPage", async () => import("../pages/BackofficeLoginPage.js")), T = u("BackofficePasswordResetRequestPage", async () => import("../pages/BackofficePasswordResetRequestPage.js")), E = u("BackofficePasswordResetCompletePage", async () => import("../pages/BackofficePasswordResetCompletePage.js")), D = u("BackofficeVerifyEmailPage", async () => import("../pages/BackofficeVerifyEmailPage.js")), O = u("BackofficeAcceptInvitationPage", async () => import("../pages/BackofficeAcceptInvitationPage.js")), k = ({ pathname: e }) => {
12
12
  let t = i(c);
13
13
  return a(() => {
14
14
  t?.history.set({ pathname: e });
15
15
  }, [e, t]), null;
16
- }, ee = ({ children: e, Component: t, preparedLayout: n, permissionsQuery: r, activeGroupId: i }) => /* @__PURE__ */ o(t, {
16
+ }, A = ({ children: e, Component: t, preparedLayout: n, permissionsQuery: r, activeGroupId: i }) => /* @__PURE__ */ o(t, {
17
17
  permissionsQuery: r,
18
18
  prepared: n?.permissionsQuery ?? null,
19
19
  authStatus: null,
20
20
  activeGroupId: i,
21
21
  children: e
22
- }), O = ({ children: e, Component: t, preparedLayout: n, permissionsQuery: r, activeGroupId: i, authStatusQuery: a, authStatusPrepared: s, loginRedirectPath: c }) => {
22
+ }), j = ({ children: e, Component: t, preparedLayout: n, permissionsQuery: r, activeGroupId: i, authStatusQuery: a, authStatusPrepared: s, loginRedirectPath: c }) => {
23
23
  let l = p(a, s);
24
24
  return l?.isLoggedIn === !0 ? /* @__PURE__ */ o(t, {
25
25
  permissionsQuery: r,
@@ -27,20 +27,20 @@ var { loadQuery: f, usePreloadedQuery: p } = s, m = u("WrapperPage", async () =>
27
27
  authStatus: l,
28
28
  activeGroupId: i,
29
29
  children: e
30
- }) : /* @__PURE__ */ o(D, { pathname: c });
31
- }, k = (e) => {
30
+ }) : /* @__PURE__ */ o(k, { pathname: c });
31
+ }, M = (e) => {
32
32
  let t = e.trim();
33
33
  return t === "" || t === "/" ? "" : t.replace(/^\/+|\/+$/g, "");
34
- }, A = (e) => {
34
+ }, N = (e) => {
35
35
  let t = e.trim();
36
36
  return t === "" ? "/" : `/${t}`.replace(/\/+/g, "/");
37
- }, j = (e, t) => {
37
+ }, P = (e, t) => {
38
38
  let n = t.replace(/^\/+|\/+$/g, "");
39
39
  return e === "" ? n : n === "" ? e : `${e}/${n}`;
40
- }, M = (e, t) => A(j(e, t)), N = (e) => e.trim().replace(/^\/+|\/+$/g, ""), P = (e, t) => {
41
- let n = A(e), r = t === "" ? "" : `/${t}`;
40
+ }, F = (e, t) => N(P(e, t)), I = (e) => e.trim().replace(/^\/+|\/+$/g, ""), L = (e, t) => {
41
+ let n = N(e), r = t === "" ? "" : `/${t}`;
42
42
  return r !== "" && n.startsWith(r) ? n.slice(r.length).replace(/^\/+/, "") : n.replace(/^\/+/, "");
43
- }, F = (e, t) => {
43
+ }, R = (e, t) => {
44
44
  if (e?.routes == null) return null;
45
45
  for (let n = e.routes.length - 1; n >= 0; --n) {
46
46
  let r = e.routes[n];
@@ -50,7 +50,7 @@ var { loadQuery: f, usePreloadedQuery: p } = s, m = u("WrapperPage", async () =>
50
50
  }
51
51
  }
52
52
  return null;
53
- }, I = (e) => {
53
+ }, z = (e) => {
54
54
  let t = new URLSearchParams();
55
55
  return Object.entries(e).forEach(([e, n]) => {
56
56
  if (n != null) {
@@ -63,37 +63,37 @@ var { loadQuery: f, usePreloadedQuery: p } = s, m = u("WrapperPage", async () =>
63
63
  t.set(e, String(n));
64
64
  }
65
65
  }), t;
66
- }, L = (e, t) => {
67
- let n = N(t);
68
- return e.detailPages?.find((e) => N(e.pathSegment) === n) ?? null;
69
- }, R = (e, t) => L(e, t)?.id ?? t, z = d;
70
- function B(i) {
71
- let { basePath: a, entityManifest: s, entityRegistry: c, sidebar: u, auth: d, dashboard: p } = i, A = r(i.dashboards), N = k(a), L = j(N, "login"), R = j(N, "login/reset"), B = j(N, "login/reset/complete"), V = j(N, "verify-email"), te = j(N, "accept-invitation"), ne = M(N, "login"), H = t(s, u), U = n(H, u), W = e(H, u), G = /* @__PURE__ */ new Map();
72
- W.forEach((e, t) => {
73
- G.set(t, e.groupId);
66
+ }, B = (e, t) => {
67
+ let n = I(t);
68
+ return e.detailPages?.find((e) => I(e.pathSegment) === n) ?? null;
69
+ }, V = (e, t) => B(e, t)?.id ?? t, H = d;
70
+ function U(i) {
71
+ let { basePath: a, entityManifest: s, entityRegistry: c, sidebar: u, auth: d, dashboard: p } = i, N = r(i.dashboards), I = M(a), B = P(I, "login"), V = P(I, "login/reset"), U = P(I, "login/reset/complete"), W = P(I, "verify-email"), ee = P(I, "accept-invitation"), te = F(I, "login"), G = t(s, u), ne = n(G, u), re = e(G, u), K = /* @__PURE__ */ new Map();
72
+ re.forEach((e, t) => {
73
+ K.set(t, e.groupId);
74
74
  });
75
- let K = /* @__PURE__ */ new WeakMap(), q = /* @__PURE__ */ new WeakMap(), J = u?.permissionsQuery, Y = async ({ context: e }) => {
75
+ let q = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), Y = u?.permissionsQuery, ie = async ({ context: e }) => {
76
76
  let t = await d.session.load();
77
77
  return {
78
- permissionsQuery: J == null ? null : f(e.relayEnvironment, J, {}),
78
+ permissionsQuery: Y == null ? null : f(e.relayEnvironment, Y, {}),
79
79
  authStatusQuery: t.authStatusQuery == null ? null : f(e.relayEnvironment, t.authStatusQuery, {}, { fetchPolicy: "network-only" })
80
80
  };
81
81
  }, X = async () => p == null ? null : {
82
82
  dashboardId: "dashboard",
83
83
  config: await p.load()
84
- }, Z = ({ prepared: e, Component: t }) => t == null ? null : /* @__PURE__ */ o(t, { prepared: e }), re = z({
84
+ }, Z = ({ prepared: e, Component: t }) => t == null ? null : /* @__PURE__ */ o(t, { prepared: e }), Q = H({
85
85
  path: "",
86
- resourcePage: b,
86
+ resourcePage: S,
87
87
  prepare: X,
88
88
  render: Z
89
- }), ie = z({
89
+ }), ae = H({
90
90
  path: "dashboard",
91
- resourcePage: b,
91
+ resourcePage: S,
92
92
  prepare: X,
93
93
  render: Z
94
- }), ae = A.map((e) => z({
94
+ }), oe = N.map((e) => H({
95
95
  path: `dashboard/${e.id}`,
96
- resourcePage: b,
96
+ resourcePage: S,
97
97
  prepare: async () => {
98
98
  let t = await e.module.load();
99
99
  return {
@@ -102,28 +102,27 @@ function B(i) {
102
102
  };
103
103
  },
104
104
  render: Z
105
- })), Q = Object.values(s).filter((e) => e.kind === "list-detail"), oe = U.map((e) => {
106
- let t = z({
107
- path: P(e.hub.href, N),
108
- resourcePage: x,
105
+ })), se = Object.values(s).filter((e) => e.kind === "list-detail"), ce = ne.map((e) => {
106
+ let t = H({
107
+ path: L(e.hub.href, I),
108
+ resourcePage: C,
109
109
  prepare: () => ({
110
110
  hubId: e.hub.id,
111
111
  hub: e.hub
112
112
  }),
113
113
  render: ({ prepared: e, Component: t }) => t == null ? null : /* @__PURE__ */ o(t, { prepared: e })
114
114
  });
115
- return e.groupId != null && q.set(t, e.groupId), t;
116
- }), se = Q.map((e) => {
117
- let t = e.routes.list, n = P(t, N), r = [];
115
+ return e.groupId != null && J.set(t, e.groupId), t;
116
+ }), le = se.map((e) => {
117
+ let t = e.routes.list, n = L(t, I), r = [];
118
118
  if (e.hasList) {
119
- let t = z({
119
+ let t = H({
120
120
  path: "",
121
- resourcePage: g,
122
- prepareSearchBehavior: "path",
121
+ resourcePage: _,
123
122
  prepare: async ({ context: t, query: n }) => {
124
123
  let { config: r } = await c.loadListEntity(e.id), { list: i, listUrlCodec: a, listDefaults: o } = r;
125
124
  if (a == null || o == null) throw Error(`Backoffice entity ${e.id} does not expose a list configuration.`);
126
- let s = I(n), u = a.parse(s), { pageSize: d } = l, p = {
125
+ let s = z(n), u = a.parse(s), { pageSize: d } = l, p = {
127
126
  where: u.where,
128
127
  sort: u.sort ?? o.sort,
129
128
  count: d,
@@ -136,6 +135,54 @@ function B(i) {
136
135
  query: h
137
136
  };
138
137
  },
138
+ render: ({ prepared: e, Component: t }) => t == null ? null : /* @__PURE__ */ o(t, { prepared: e })
139
+ });
140
+ q.set(t, e.id);
141
+ let n = H({
142
+ path: "",
143
+ resourcePage: g,
144
+ prepareSearchBehavior: "path",
145
+ prepare: async () => {
146
+ let { config: t } = await c.loadListEntity(e.id), { listUrlCodec: n, listDefaults: r } = t;
147
+ if (n == null || r == null) throw Error(`Backoffice entity ${e.id} does not expose a list configuration.`);
148
+ return {
149
+ entityId: e.id,
150
+ entityManifest: e,
151
+ entityConfig: t
152
+ };
153
+ },
154
+ render: ({ children: e, prepared: t, Component: n }) => {
155
+ if (n == null) return null;
156
+ let r = t;
157
+ return /* @__PURE__ */ o(n, {
158
+ entityManifest: r.entityManifest,
159
+ config: r.entityConfig,
160
+ prepared: r,
161
+ children: e
162
+ });
163
+ },
164
+ children: [t]
165
+ });
166
+ q.set(n, e.id), r.push(n);
167
+ }
168
+ let i = (e.detailPages ?? []).map((t) => {
169
+ let n = H({
170
+ path: t.pathSegment,
171
+ resourcePage: v,
172
+ prepare: async ({ context: n, variables: r }) => {
173
+ let i = String(r.id ?? ""), a = await c.loadDetailPageEntity(e.id, t.id), o = a.config.page.buildVariables == null ? { variables: { id: i } } : a.config.page.buildVariables({ id: i }), s = f(n.relayEnvironment, a.config.page.query, o.variables);
174
+ return {
175
+ entityId: e.id,
176
+ entityManifest: e,
177
+ entityConfig: a.config,
178
+ detailId: o.detailId,
179
+ id: i,
180
+ pageConfig: a.config,
181
+ pageQuery: s,
182
+ pageId: t.id,
183
+ pagePath: t.pathSegment
184
+ };
185
+ },
139
186
  render: ({ prepared: e, Component: t }) => {
140
187
  if (t == null) return null;
141
188
  let n = e;
@@ -146,11 +193,10 @@ function B(i) {
146
193
  });
147
194
  }
148
195
  });
149
- K.set(t, e.id), r.push(t);
150
- }
151
- let i = z({
152
- path: ":id",
153
- resourcePage: v,
196
+ return q.set(n, e.id), n;
197
+ }), a = H({
198
+ path: "",
199
+ resourcePage: b,
154
200
  prepare: async ({ context: t, variables: n }) => {
155
201
  let { config: r } = await c.loadDetailLayoutEntity(e.id), i = String(n.id ?? ""), a = r.layoutPage.buildVariables == null ? { variables: { id: i } } : r.layoutPage.buildVariables({ id: i }), o = f(t.relayEnvironment, r.layoutPage.query, a.variables);
156
202
  return {
@@ -172,7 +218,7 @@ function B(i) {
172
218
  });
173
219
  },
174
220
  children: [
175
- z({
221
+ H({
176
222
  path: "",
177
223
  resourcePage: m,
178
224
  prepare: ({ variables: t }) => {
@@ -181,39 +227,13 @@ function B(i) {
181
227
  },
182
228
  render: ({ prepared: e }) => {
183
229
  let t = e.redirectTo ?? null;
184
- return t == null ? null : /* @__PURE__ */ o(D, { pathname: t });
230
+ return t == null ? null : /* @__PURE__ */ o(k, { pathname: t });
185
231
  }
186
232
  }),
187
- ...(e.detailPages ?? []).map((t) => z({
188
- path: t.pathSegment,
189
- resourcePage: _,
190
- prepare: async ({ context: n, variables: r }) => {
191
- let i = String(r.id ?? ""), a = await c.loadDetailPageEntity(e.id, t.id), o = a.config.page.buildVariables == null ? { variables: { id: i } } : a.config.page.buildVariables({ id: i }), s = f(n.relayEnvironment, a.config.page.query, o.variables);
192
- return {
193
- entityId: e.id,
194
- entityManifest: e,
195
- entityConfig: a.config,
196
- detailId: o.detailId,
197
- id: i,
198
- pageConfig: a.config,
199
- pageQuery: s,
200
- pageId: t.id,
201
- pagePath: t.pathSegment
202
- };
203
- },
204
- render: ({ prepared: e, Component: t }) => {
205
- if (t == null) return null;
206
- let n = e;
207
- return /* @__PURE__ */ o(t, {
208
- entityManifest: n.entityManifest,
209
- config: n.entityConfig,
210
- prepared: n
211
- });
212
- }
213
- })),
214
- z({
233
+ ...i,
234
+ H({
215
235
  path: ":pagePath",
216
- resourcePage: y,
236
+ resourcePage: x,
217
237
  prepare: async ({ variables: t }) => {
218
238
  let n = await c.loadDetailLayoutEntity(e.id), r = String(t.id ?? ""), i = String(t.pagePath ?? "");
219
239
  return {
@@ -235,14 +255,39 @@ function B(i) {
235
255
  })
236
256
  ]
237
257
  });
238
- return K.set(i, e.id), r.push(i), z({
258
+ q.set(a, e.id);
259
+ let s = H({
260
+ path: ":id",
261
+ resourcePage: y,
262
+ prepare: async ({ variables: t }) => {
263
+ let n = await c.loadDetailLayoutEntity(e.id), r = String(t.id ?? "");
264
+ return {
265
+ entityId: e.id,
266
+ entityManifest: e,
267
+ entityConfig: n.config,
268
+ id: r
269
+ };
270
+ },
271
+ render: ({ children: e, prepared: t, Component: n }) => {
272
+ if (n == null) return null;
273
+ let r = t;
274
+ return /* @__PURE__ */ o(n, {
275
+ entityManifest: r.entityManifest,
276
+ config: r.entityConfig,
277
+ prepared: r,
278
+ children: e
279
+ });
280
+ },
281
+ children: [a]
282
+ });
283
+ return q.set(s, e.id), r.push(s), H({
239
284
  path: n,
240
285
  children: r,
241
286
  resourcePage: m
242
287
  });
243
- }), ce = Object.values(s).filter((e) => e.kind === "tool").map((e) => {
244
- let t = z({
245
- path: P(e.routes.list, N),
288
+ }), ue = Object.values(s).filter((e) => e.kind === "tool").map((e) => {
289
+ let t = H({
290
+ path: L(e.routes.list, I),
246
291
  resourcePage: i.toolsOperationPage ?? null,
247
292
  prepare: async () => {
248
293
  let t = await c.loadToolEntity(e.id);
@@ -262,25 +307,25 @@ function B(i) {
262
307
  });
263
308
  }
264
309
  });
265
- return K.set(t, e.id), t;
266
- }), le = z({
267
- path: N,
310
+ return q.set(t, e.id), t;
311
+ }), de = H({
312
+ path: I,
268
313
  resourcePage: h,
269
314
  prepareSearchBehavior: "path",
270
- prepare: Y,
315
+ prepare: ie,
271
316
  render: ({ children: e, prepared: t, route: n, Component: r }) => {
272
317
  if (r == null) return null;
273
- let i = t, a = F(n, K), s = a == null ? F(n, q) : G.get(a) ?? null, c = r, l = d.session.get()?.authStatusQuery ?? null;
274
- return l != null && i?.authStatusQuery != null ? /* @__PURE__ */ o(O, {
318
+ let i = t, a = R(n, q), s = a == null ? R(n, J) : K.get(a) ?? null, c = r, l = d.session.get()?.authStatusQuery ?? null;
319
+ return l != null && i?.authStatusQuery != null ? /* @__PURE__ */ o(j, {
275
320
  Component: c,
276
321
  preparedLayout: i,
277
322
  permissionsQuery: u?.permissionsQuery,
278
323
  activeGroupId: s,
279
324
  authStatusQuery: l,
280
325
  authStatusPrepared: i.authStatusQuery,
281
- loginRedirectPath: ne,
326
+ loginRedirectPath: te,
282
327
  children: e
283
- }) : /* @__PURE__ */ o(ee, {
328
+ }) : /* @__PURE__ */ o(A, {
284
329
  Component: c,
285
330
  preparedLayout: i,
286
331
  permissionsQuery: u?.permissionsQuery,
@@ -289,63 +334,63 @@ function B(i) {
289
334
  });
290
335
  },
291
336
  children: [
292
- re,
293
- ...oe,
294
- ...se,
337
+ Q,
295
338
  ...ce,
296
- ...ae,
297
- ie
339
+ ...le,
340
+ ...ue,
341
+ ...oe,
342
+ ae
298
343
  ]
299
344
  }), $ = [
300
- z({
301
- path: L,
302
- resourcePage: S,
345
+ H({
346
+ path: B,
347
+ resourcePage: w,
303
348
  prepare: async ({ context: e }) => {
304
349
  let t = await d.login.load();
305
350
  return { query: f(e.relayEnvironment, t.loginQuery, {}) };
306
351
  },
307
352
  render: ({ prepared: e, Component: t }) => t == null ? null : /* @__PURE__ */ o(t, { prepared: e })
308
353
  }),
309
- z({
310
- path: R,
311
- resourcePage: C,
354
+ H({
355
+ path: V,
356
+ resourcePage: T,
312
357
  prepare: async () => (await d.passwordResetRequest.load(), null),
313
358
  render: ({ Component: e }) => e == null ? null : /* @__PURE__ */ o(e, {})
314
359
  }),
315
- z({
316
- path: B,
317
- resourcePage: w,
360
+ H({
361
+ path: U,
362
+ resourcePage: E,
318
363
  prepare: async () => (await d.passwordResetComplete.load(), null),
319
364
  render: ({ Component: e }) => e == null ? null : /* @__PURE__ */ o(e, {})
320
365
  }),
321
- z({
322
- path: V,
323
- resourcePage: T,
366
+ H({
367
+ path: W,
368
+ resourcePage: D,
324
369
  prepare: async () => (await d.verifyEmail.load(), null),
325
370
  render: ({ Component: e }) => e == null ? null : /* @__PURE__ */ o(e, {})
326
371
  })
327
372
  ];
328
- return (d.hasAcceptInvitation === !0 || d.acceptInvitation != null) && $.push(z({
329
- path: te,
330
- resourcePage: E,
373
+ return (d.hasAcceptInvitation === !0 || d.acceptInvitation != null) && $.push(H({
374
+ path: ee,
375
+ resourcePage: O,
331
376
  prepare: async () => (await d.acceptInvitation?.load(), null),
332
377
  render: ({ Component: e }) => e == null ? null : /* @__PURE__ */ o(e, {})
333
- })), $.push(le), $;
378
+ })), $.push(de), $;
334
379
  }
335
- var V = {
336
- normalizeBaseSegment: k,
337
- normalizePath: A,
338
- buildScopedPath: j,
339
- buildScopedAbsolutePath: M,
340
- buildRelativePath: P,
341
- resolveActiveEntityIdFromRoute: F,
342
- resolveDetailPageIdForPath: R,
343
- resolveDetailPageManifestByPath: L,
344
- toSearchParams: I,
380
+ var W = {
381
+ normalizeBaseSegment: M,
382
+ normalizePath: N,
383
+ buildScopedPath: P,
384
+ buildScopedAbsolutePath: F,
385
+ buildRelativePath: L,
386
+ resolveActiveEntityIdFromRoute: R,
387
+ resolveDetailPageIdForPath: V,
388
+ resolveDetailPageManifestByPath: B,
389
+ toSearchParams: z,
345
390
  validateBackofficeDashboardRegistrations: r,
346
- BackofficeLayoutRouteWithAuthStatus: O
391
+ BackofficeLayoutRouteWithAuthStatus: j
347
392
  };
348
393
  //#endregion
349
- export { E as BackofficeAcceptInvitationPageResource, b as BackofficeDashboardPageResource, v as BackofficeEntityDetailLayoutPageResource, _ as BackofficeEntityDetailPageResource, y as BackofficeEntityDetailUnknownPageRedirectResource, g as BackofficeEntityListPageResource, x as BackofficeHubPageResource, h as BackofficeLayoutPageResource, S as BackofficeLoginPageResource, w as BackofficePasswordResetCompletePageResource, C as BackofficePasswordResetRequestPageResource, T as BackofficeVerifyEmailPageResource, m as WrapperPageResource, V as __test, B as createBackofficeRoutes, B as default };
394
+ export { O as BackofficeAcceptInvitationPageResource, S as BackofficeDashboardPageResource, y as BackofficeEntityDetailFramePageResource, b as BackofficeEntityDetailLayoutPageResource, v as BackofficeEntityDetailPageResource, x as BackofficeEntityDetailUnknownPageRedirectResource, _ as BackofficeEntityListDataPageResource, g as BackofficeEntityListPageResource, C as BackofficeHubPageResource, h as BackofficeLayoutPageResource, w as BackofficeLoginPageResource, E as BackofficePasswordResetCompletePageResource, T as BackofficePasswordResetRequestPageResource, D as BackofficeVerifyEmailPageResource, m as WrapperPageResource, W as __test, U as createBackofficeRoutes, U as default };
350
395
 
351
396
  //# sourceMappingURL=createBackofficeRoutes.js.map