@plumile/backoffice-react 0.1.182 → 0.1.183
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/lib/esm/auth/authRefreshNotice.css.js +0 -1
- package/lib/esm/auth/login/loginPage.css.js +1 -0
- package/lib/esm/components/backoffice/billing/backofficeBillingUsageChart.css.js +1 -0
- package/lib/esm/components/backoffice/filters/deferredFilterSearchInput.css.js +0 -1
- package/lib/esm/pages/BackofficeDashboardShellPage.js +29 -0
- package/lib/esm/pages/BackofficeDashboardShellPage.js.map +1 -0
- package/lib/esm/pages/BackofficeEntityDetailPage.js +164 -175
- package/lib/esm/pages/BackofficeEntityDetailPage.js.map +1 -1
- package/lib/esm/pages/BackofficeEntityDetailPageConfigPage.js +35 -0
- package/lib/esm/pages/BackofficeEntityDetailPageConfigPage.js.map +1 -0
- package/lib/esm/pages/BackofficeEntityDetailShellPage.js +99 -0
- package/lib/esm/pages/BackofficeEntityDetailShellPage.js.map +1 -0
- package/lib/esm/pages/BackofficeEntityListShellPage.js +32 -0
- package/lib/esm/pages/BackofficeEntityListShellPage.js.map +1 -0
- package/lib/esm/pages/BackofficeToolShellPage.js +32 -0
- package/lib/esm/pages/BackofficeToolShellPage.js.map +1 -0
- package/lib/esm/router/createBackofficeRoutes.js +186 -72
- package/lib/esm/router/createBackofficeRoutes.js.map +1 -1
- package/lib/types/pages/BackofficeDashboardShellPage.d.ts +9 -0
- package/lib/types/pages/BackofficeDashboardShellPage.d.ts.map +1 -0
- package/lib/types/pages/BackofficeEntityDetailPage.d.ts +2 -3
- package/lib/types/pages/BackofficeEntityDetailPage.d.ts.map +1 -1
- package/lib/types/pages/BackofficeEntityDetailPageConfigPage.d.ts +10 -0
- package/lib/types/pages/BackofficeEntityDetailPageConfigPage.d.ts.map +1 -0
- package/lib/types/pages/BackofficeEntityDetailShellPage.d.ts +10 -0
- package/lib/types/pages/BackofficeEntityDetailShellPage.d.ts.map +1 -0
- package/lib/types/pages/BackofficeEntityListShellPage.d.ts +10 -0
- package/lib/types/pages/BackofficeEntityListShellPage.d.ts.map +1 -0
- package/lib/types/pages/BackofficeToolShellPage.d.ts +10 -0
- package/lib/types/pages/BackofficeToolShellPage.d.ts.map +1 -0
- package/lib/types/router/createBackofficeRoutes.d.ts +11 -3
- package/lib/types/router/createBackofficeRoutes.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -8,12 +8,12 @@ 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("BackofficeEntityListDataPage", async () => import("../pages/BackofficeEntityListDataPage.js")),
|
|
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("BackofficeEntityListShellPage", async () => import("../pages/BackofficeEntityListShellPage.js")), v = u("BackofficeEntityListDataPage", async () => import("../pages/BackofficeEntityListDataPage.js")), y = u("BackofficeEntityDetailPage", async () => import("../pages/BackofficeEntityDetailPage.js")), b = u("BackofficeEntityDetailFramePage", async () => import("../pages/BackofficeEntityDetailFramePage.js")), x = u("BackofficeEntityDetailLayoutPage", async () => import("../pages/BackofficeEntityDetailLayoutPage.js")), S = u("BackofficeEntityDetailPageConfigPage", async () => import("../pages/BackofficeEntityDetailPageConfigPage.js")), C = u("BackofficeEntityDetailShellPage", async () => import("../pages/BackofficeEntityDetailShellPage.js")), w = u("BackofficeEntityDetailUnknownPageRedirect", async () => import("../pages/BackofficeEntityDetailUnknownPageRedirect.js")), T = u("BackofficeDashboardPage", async () => import("../pages/BackofficeDashboardPage.js")), E = u("BackofficeDashboardShellPage", async () => import("../pages/BackofficeDashboardShellPage.js")), D = u("BackofficeToolShellPage", async () => import("../pages/BackofficeToolShellPage.js")), ee = u("BackofficeHubPage", async () => import("../pages/BackofficeHubPage.js")), te = u("BackofficeLoginPage", async () => import("../pages/BackofficeLoginPage.js")), ne = u("BackofficePasswordResetRequestPage", async () => import("../pages/BackofficePasswordResetRequestPage.js")), re = u("BackofficePasswordResetCompletePage", async () => import("../pages/BackofficePasswordResetCompletePage.js")), O = u("BackofficeVerifyEmailPage", async () => import("../pages/BackofficeVerifyEmailPage.js")), k = u("BackofficeAcceptInvitationPage", async () => import("../pages/BackofficeAcceptInvitationPage.js")), A = ({ 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
|
-
},
|
|
16
|
+
}, ie = ({ 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,
|
|
@@ -27,7 +27,7 @@ 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(
|
|
30
|
+
}) : /* @__PURE__ */ o(A, { pathname: c });
|
|
31
31
|
}, M = (e) => {
|
|
32
32
|
let t = e.trim();
|
|
33
33
|
return t === "" || t === "/" ? "" : t.replace(/^\/+|\/+$/g, "");
|
|
@@ -68,11 +68,11 @@ var { loadQuery: f, usePreloadedQuery: p } = s, m = u("WrapperPage", async () =>
|
|
|
68
68
|
return e.detailPages?.find((e) => I(e.pathSegment) === n) ?? null;
|
|
69
69
|
}, V = (e, t) => B(e, t)?.id ?? t, H = d;
|
|
70
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"),
|
|
72
|
-
|
|
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"), U = P(I, "login/reset"), W = P(I, "login/reset/complete"), ae = P(I, "verify-email"), oe = P(I, "accept-invitation"), se = F(I, "login"), G = t(s, u), ce = n(G, u), le = e(G, u), K = /* @__PURE__ */ new Map();
|
|
72
|
+
le.forEach((e, t) => {
|
|
73
73
|
K.set(t, e.groupId);
|
|
74
74
|
});
|
|
75
|
-
let q = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), Y = u?.permissionsQuery,
|
|
75
|
+
let q = /* @__PURE__ */ new WeakMap(), J = /* @__PURE__ */ new WeakMap(), Y = u?.permissionsQuery, ue = async ({ context: e }) => {
|
|
76
76
|
let t = await d.session.load();
|
|
77
77
|
return {
|
|
78
78
|
permissionsQuery: Y == null ? null : f(e.relayEnvironment, Y, {}),
|
|
@@ -81,31 +81,59 @@ function U(i) {
|
|
|
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 }), Q =
|
|
84
|
+
}, de = () => p == null ? null : { dashboardId: "dashboard" }, Z = ({ prepared: e, Component: t }) => t == null ? null : /* @__PURE__ */ o(t, { prepared: e }), Q = ({ children: e, prepared: t, Component: n }) => n == null ? null : /* @__PURE__ */ o(n, {
|
|
85
|
+
prepared: t,
|
|
86
|
+
children: e
|
|
87
|
+
}), fe = H({
|
|
85
88
|
path: "",
|
|
86
|
-
resourcePage:
|
|
87
|
-
prepare:
|
|
88
|
-
render:
|
|
89
|
-
|
|
89
|
+
resourcePage: E,
|
|
90
|
+
prepare: de,
|
|
91
|
+
render: Q,
|
|
92
|
+
children: [H({
|
|
93
|
+
path: "",
|
|
94
|
+
resourcePage: T,
|
|
95
|
+
prepare: X,
|
|
96
|
+
render: Z
|
|
97
|
+
})]
|
|
98
|
+
}), pe = H({
|
|
90
99
|
path: "dashboard",
|
|
91
|
-
resourcePage:
|
|
92
|
-
prepare:
|
|
93
|
-
render:
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
+
resourcePage: E,
|
|
101
|
+
prepare: de,
|
|
102
|
+
render: Q,
|
|
103
|
+
children: [H({
|
|
104
|
+
path: "",
|
|
105
|
+
resourcePage: T,
|
|
106
|
+
prepare: X,
|
|
107
|
+
render: Z
|
|
108
|
+
})]
|
|
109
|
+
}), me = N.map((e) => {
|
|
110
|
+
let t = H({
|
|
111
|
+
path: "",
|
|
112
|
+
resourcePage: T,
|
|
113
|
+
prepare: async () => {
|
|
114
|
+
let t = await e.module.load();
|
|
115
|
+
return {
|
|
116
|
+
dashboardId: e.id,
|
|
117
|
+
label: e.label,
|
|
118
|
+
config: t
|
|
119
|
+
};
|
|
120
|
+
},
|
|
121
|
+
render: Z
|
|
122
|
+
});
|
|
123
|
+
return H({
|
|
124
|
+
path: `dashboard/${e.id}`,
|
|
125
|
+
resourcePage: E,
|
|
126
|
+
prepare: () => ({
|
|
100
127
|
dashboardId: e.id,
|
|
101
|
-
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
128
|
+
label: e.label
|
|
129
|
+
}),
|
|
130
|
+
render: Q,
|
|
131
|
+
children: [t]
|
|
132
|
+
});
|
|
133
|
+
}), he = Object.values(s).filter((e) => e.kind === "list-detail"), ge = ce.map((e) => {
|
|
106
134
|
let t = H({
|
|
107
135
|
path: L(e.hub.href, I),
|
|
108
|
-
resourcePage:
|
|
136
|
+
resourcePage: ee,
|
|
109
137
|
prepare: () => ({
|
|
110
138
|
hubId: e.hub.id,
|
|
111
139
|
hub: e.hub
|
|
@@ -113,12 +141,12 @@ function U(i) {
|
|
|
113
141
|
render: ({ prepared: e, Component: t }) => t == null ? null : /* @__PURE__ */ o(t, { prepared: e })
|
|
114
142
|
});
|
|
115
143
|
return e.groupId != null && J.set(t, e.groupId), t;
|
|
116
|
-
}),
|
|
144
|
+
}), _e = he.map((e) => {
|
|
117
145
|
let t = e.routes.list, n = L(t, I), r = [];
|
|
118
146
|
if (e.hasList) {
|
|
119
147
|
let t = H({
|
|
120
148
|
path: "",
|
|
121
|
-
resourcePage:
|
|
149
|
+
resourcePage: v,
|
|
122
150
|
prepareSearchBehavior: "path",
|
|
123
151
|
prepare: async ({ context: t, query: n }) => {
|
|
124
152
|
let { config: r } = await c.loadListEntity(e.id), { list: i, listUrlCodec: a, listDefaults: o } = r;
|
|
@@ -164,19 +192,38 @@ function U(i) {
|
|
|
164
192
|
},
|
|
165
193
|
children: [t]
|
|
166
194
|
});
|
|
167
|
-
q.set(n, e.id)
|
|
195
|
+
q.set(n, e.id);
|
|
196
|
+
let i = H({
|
|
197
|
+
path: "",
|
|
198
|
+
resourcePage: _,
|
|
199
|
+
prepareSearchBehavior: "path",
|
|
200
|
+
prepare: () => ({
|
|
201
|
+
entityId: e.id,
|
|
202
|
+
entityManifest: e
|
|
203
|
+
}),
|
|
204
|
+
render: ({ children: e, prepared: t, Component: n }) => {
|
|
205
|
+
if (n == null) return null;
|
|
206
|
+
let r = t;
|
|
207
|
+
return /* @__PURE__ */ o(n, {
|
|
208
|
+
entityManifest: r.entityManifest,
|
|
209
|
+
prepared: r,
|
|
210
|
+
children: e
|
|
211
|
+
});
|
|
212
|
+
},
|
|
213
|
+
children: [n]
|
|
214
|
+
});
|
|
215
|
+
q.set(i, e.id), r.push(i);
|
|
168
216
|
}
|
|
169
217
|
let i = (e.detailPages ?? []).map((t) => {
|
|
170
218
|
let n = H({
|
|
171
|
-
path:
|
|
172
|
-
resourcePage:
|
|
219
|
+
path: "",
|
|
220
|
+
resourcePage: y,
|
|
173
221
|
suspenseBoundary: "segment",
|
|
174
222
|
prepare: async ({ context: n, variables: r }) => {
|
|
175
223
|
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);
|
|
176
224
|
return {
|
|
177
225
|
entityId: e.id,
|
|
178
226
|
entityManifest: e,
|
|
179
|
-
entityConfig: a.config,
|
|
180
227
|
detailId: o.detailId,
|
|
181
228
|
id: i,
|
|
182
229
|
pageConfig: a.config,
|
|
@@ -185,20 +232,40 @@ function U(i) {
|
|
|
185
232
|
pagePath: t.pathSegment
|
|
186
233
|
};
|
|
187
234
|
},
|
|
188
|
-
render: ({ prepared: e, Component: t }) => {
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
235
|
+
render: ({ prepared: e, Component: t }) => t == null ? null : /* @__PURE__ */ o(t, { prepared: e })
|
|
236
|
+
});
|
|
237
|
+
q.set(n, e.id);
|
|
238
|
+
let r = H({
|
|
239
|
+
path: t.pathSegment,
|
|
240
|
+
resourcePage: S,
|
|
241
|
+
suspenseBoundary: "segment",
|
|
242
|
+
prepare: async ({ variables: n }) => {
|
|
243
|
+
let r = String(n.id ?? ""), [i, a] = await Promise.all([c.loadDetailPageEntity(e.id, t.id), c.loadDetailLayoutEntity(e.id)]);
|
|
244
|
+
return {
|
|
245
|
+
entityId: e.id,
|
|
246
|
+
entityManifest: e,
|
|
247
|
+
entityConfig: a.config,
|
|
248
|
+
id: r,
|
|
249
|
+
pageConfig: i.config,
|
|
250
|
+
pageId: t.id,
|
|
251
|
+
pagePath: t.pathSegment
|
|
252
|
+
};
|
|
253
|
+
},
|
|
254
|
+
render: ({ children: e, prepared: t, Component: n }) => {
|
|
255
|
+
if (n == null) return null;
|
|
256
|
+
let r = t;
|
|
257
|
+
return /* @__PURE__ */ o(n, {
|
|
258
|
+
config: r.entityConfig,
|
|
259
|
+
prepared: r,
|
|
260
|
+
children: e
|
|
195
261
|
});
|
|
196
|
-
}
|
|
262
|
+
},
|
|
263
|
+
children: [n]
|
|
197
264
|
});
|
|
198
|
-
return q.set(
|
|
265
|
+
return q.set(r, e.id), r;
|
|
199
266
|
}), a = H({
|
|
200
267
|
path: "",
|
|
201
|
-
resourcePage:
|
|
268
|
+
resourcePage: x,
|
|
202
269
|
suspenseBoundary: "segment",
|
|
203
270
|
prepare: async ({ context: t, variables: n }) => {
|
|
204
271
|
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);
|
|
@@ -230,17 +297,18 @@ function U(i) {
|
|
|
230
297
|
},
|
|
231
298
|
render: ({ prepared: e }) => {
|
|
232
299
|
let t = e.redirectTo ?? null;
|
|
233
|
-
return t == null ? null : /* @__PURE__ */ o(
|
|
300
|
+
return t == null ? null : /* @__PURE__ */ o(A, { pathname: t });
|
|
234
301
|
}
|
|
235
302
|
}),
|
|
236
303
|
...i,
|
|
237
304
|
H({
|
|
238
305
|
path: ":pagePath",
|
|
239
|
-
resourcePage:
|
|
306
|
+
resourcePage: w,
|
|
240
307
|
suspenseBoundary: "segment",
|
|
241
308
|
prepare: async ({ variables: t }) => {
|
|
242
309
|
let n = await c.loadDetailLayoutEntity(e.id), r = String(t.id ?? ""), i = String(t.pagePath ?? "");
|
|
243
310
|
return {
|
|
311
|
+
entityId: e.id,
|
|
244
312
|
entityManifest: e,
|
|
245
313
|
entityConfig: n.config,
|
|
246
314
|
id: r,
|
|
@@ -261,8 +329,35 @@ function U(i) {
|
|
|
261
329
|
});
|
|
262
330
|
q.set(a, e.id);
|
|
263
331
|
let s = H({
|
|
332
|
+
path: "",
|
|
333
|
+
resourcePage: C,
|
|
334
|
+
suspenseBoundary: "segment",
|
|
335
|
+
prepare: async ({ variables: t }) => {
|
|
336
|
+
let n = await c.loadDetailLayoutEntity(e.id), r = String(t.id ?? ""), i = typeof t.pagePath == "string" ? t.pagePath : null, a = i == null ? e.defaultDetailPageId ?? "overview" : V(e, i);
|
|
337
|
+
return {
|
|
338
|
+
entityId: e.id,
|
|
339
|
+
entityManifest: e,
|
|
340
|
+
entityConfig: n.config,
|
|
341
|
+
id: r,
|
|
342
|
+
pageId: a,
|
|
343
|
+
pagePath: i
|
|
344
|
+
};
|
|
345
|
+
},
|
|
346
|
+
render: ({ children: e, prepared: t, Component: n }) => {
|
|
347
|
+
if (n == null) return null;
|
|
348
|
+
let r = t;
|
|
349
|
+
return /* @__PURE__ */ o(n, {
|
|
350
|
+
config: r.entityConfig,
|
|
351
|
+
prepared: r,
|
|
352
|
+
children: e
|
|
353
|
+
});
|
|
354
|
+
},
|
|
355
|
+
children: [a]
|
|
356
|
+
});
|
|
357
|
+
q.set(s, e.id);
|
|
358
|
+
let u = H({
|
|
264
359
|
path: ":id",
|
|
265
|
-
resourcePage:
|
|
360
|
+
resourcePage: b,
|
|
266
361
|
suspenseBoundary: "segment",
|
|
267
362
|
prepare: ({ variables: t }) => {
|
|
268
363
|
let n = String(t.id ?? "");
|
|
@@ -281,17 +376,17 @@ function U(i) {
|
|
|
281
376
|
children: e
|
|
282
377
|
});
|
|
283
378
|
},
|
|
284
|
-
children: [
|
|
379
|
+
children: [s]
|
|
285
380
|
});
|
|
286
|
-
return q.set(
|
|
381
|
+
return q.set(u, e.id), r.push(u), H({
|
|
287
382
|
path: n,
|
|
288
383
|
children: r,
|
|
289
384
|
resourcePage: m,
|
|
290
385
|
suspenseBoundary: "segment"
|
|
291
386
|
});
|
|
292
|
-
}),
|
|
293
|
-
let t = H({
|
|
294
|
-
path:
|
|
387
|
+
}), ve = Object.values(s).filter((e) => e.kind === "tool").map((e) => {
|
|
388
|
+
let t = L(e.routes.list, I), n = H({
|
|
389
|
+
path: "",
|
|
295
390
|
resourcePage: i.toolsOperationPage ?? null,
|
|
296
391
|
prepare: async () => {
|
|
297
392
|
let t = await c.loadToolEntity(e.id);
|
|
@@ -311,13 +406,32 @@ function U(i) {
|
|
|
311
406
|
});
|
|
312
407
|
}
|
|
313
408
|
});
|
|
314
|
-
|
|
315
|
-
|
|
409
|
+
q.set(n, e.id);
|
|
410
|
+
let r = H({
|
|
411
|
+
path: t,
|
|
412
|
+
resourcePage: D,
|
|
413
|
+
prepare: () => ({
|
|
414
|
+
entityId: e.id,
|
|
415
|
+
entityManifest: e
|
|
416
|
+
}),
|
|
417
|
+
render: ({ children: e, prepared: t, Component: n }) => {
|
|
418
|
+
if (n == null) return null;
|
|
419
|
+
let r = t;
|
|
420
|
+
return /* @__PURE__ */ o(n, {
|
|
421
|
+
entityManifest: r.entityManifest,
|
|
422
|
+
prepared: r,
|
|
423
|
+
children: e
|
|
424
|
+
});
|
|
425
|
+
},
|
|
426
|
+
children: [n]
|
|
427
|
+
});
|
|
428
|
+
return q.set(r, e.id), r;
|
|
429
|
+
}), ye = H({
|
|
316
430
|
path: I,
|
|
317
431
|
resourcePage: h,
|
|
318
432
|
prepareSearchBehavior: "path",
|
|
319
433
|
suspenseBoundary: "segment",
|
|
320
|
-
prepare:
|
|
434
|
+
prepare: ue,
|
|
321
435
|
render: ({ children: e, prepared: t, route: n, Component: r }) => {
|
|
322
436
|
if (r == null) return null;
|
|
323
437
|
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;
|
|
@@ -328,9 +442,9 @@ function U(i) {
|
|
|
328
442
|
activeGroupId: s,
|
|
329
443
|
authStatusQuery: l,
|
|
330
444
|
authStatusPrepared: i.authStatusQuery,
|
|
331
|
-
loginRedirectPath:
|
|
445
|
+
loginRedirectPath: se,
|
|
332
446
|
children: e
|
|
333
|
-
}) : /* @__PURE__ */ o(
|
|
447
|
+
}) : /* @__PURE__ */ o(ie, {
|
|
334
448
|
Component: c,
|
|
335
449
|
preparedLayout: i,
|
|
336
450
|
permissionsQuery: u?.permissionsQuery,
|
|
@@ -339,17 +453,17 @@ function U(i) {
|
|
|
339
453
|
});
|
|
340
454
|
},
|
|
341
455
|
children: [
|
|
342
|
-
|
|
343
|
-
...
|
|
344
|
-
...
|
|
345
|
-
...
|
|
346
|
-
...
|
|
347
|
-
|
|
456
|
+
fe,
|
|
457
|
+
...ge,
|
|
458
|
+
..._e,
|
|
459
|
+
...ve,
|
|
460
|
+
...me,
|
|
461
|
+
pe
|
|
348
462
|
]
|
|
349
463
|
}), $ = [
|
|
350
464
|
H({
|
|
351
465
|
path: B,
|
|
352
|
-
resourcePage:
|
|
466
|
+
resourcePage: te,
|
|
353
467
|
prepare: async ({ context: e }) => {
|
|
354
468
|
let t = await d.login.load();
|
|
355
469
|
return { query: f(e.relayEnvironment, t.loginQuery, {}) };
|
|
@@ -357,30 +471,30 @@ function U(i) {
|
|
|
357
471
|
render: ({ prepared: e, Component: t }) => t == null ? null : /* @__PURE__ */ o(t, { prepared: e })
|
|
358
472
|
}),
|
|
359
473
|
H({
|
|
360
|
-
path:
|
|
361
|
-
resourcePage:
|
|
474
|
+
path: U,
|
|
475
|
+
resourcePage: ne,
|
|
362
476
|
prepare: async () => (await d.passwordResetRequest.load(), null),
|
|
363
477
|
render: ({ Component: e }) => e == null ? null : /* @__PURE__ */ o(e, {})
|
|
364
478
|
}),
|
|
365
479
|
H({
|
|
366
|
-
path:
|
|
367
|
-
resourcePage:
|
|
480
|
+
path: W,
|
|
481
|
+
resourcePage: re,
|
|
368
482
|
prepare: async () => (await d.passwordResetComplete.load(), null),
|
|
369
483
|
render: ({ Component: e }) => e == null ? null : /* @__PURE__ */ o(e, {})
|
|
370
484
|
}),
|
|
371
485
|
H({
|
|
372
|
-
path:
|
|
373
|
-
resourcePage:
|
|
486
|
+
path: ae,
|
|
487
|
+
resourcePage: O,
|
|
374
488
|
prepare: async () => (await d.verifyEmail.load(), null),
|
|
375
489
|
render: ({ Component: e }) => e == null ? null : /* @__PURE__ */ o(e, {})
|
|
376
490
|
})
|
|
377
491
|
];
|
|
378
492
|
return (d.hasAcceptInvitation === !0 || d.acceptInvitation != null) && $.push(H({
|
|
379
|
-
path:
|
|
380
|
-
resourcePage:
|
|
493
|
+
path: oe,
|
|
494
|
+
resourcePage: k,
|
|
381
495
|
prepare: async () => (await d.acceptInvitation?.load(), null),
|
|
382
496
|
render: ({ Component: e }) => e == null ? null : /* @__PURE__ */ o(e, {})
|
|
383
|
-
})), $.push(
|
|
497
|
+
})), $.push(ye), $;
|
|
384
498
|
}
|
|
385
499
|
var W = {
|
|
386
500
|
normalizeBaseSegment: M,
|
|
@@ -396,6 +510,6 @@ var W = {
|
|
|
396
510
|
BackofficeLayoutRouteWithAuthStatus: j
|
|
397
511
|
};
|
|
398
512
|
//#endregion
|
|
399
|
-
export {
|
|
513
|
+
export { k as BackofficeAcceptInvitationPageResource, T as BackofficeDashboardPageResource, E as BackofficeDashboardShellPageResource, b as BackofficeEntityDetailFramePageResource, x as BackofficeEntityDetailLayoutPageResource, S as BackofficeEntityDetailPageConfigPageResource, y as BackofficeEntityDetailPageResource, C as BackofficeEntityDetailShellPageResource, w as BackofficeEntityDetailUnknownPageRedirectResource, v as BackofficeEntityListDataPageResource, g as BackofficeEntityListPageResource, _ as BackofficeEntityListShellPageResource, ee as BackofficeHubPageResource, h as BackofficeLayoutPageResource, te as BackofficeLoginPageResource, re as BackofficePasswordResetCompletePageResource, ne as BackofficePasswordResetRequestPageResource, D as BackofficeToolShellPageResource, O as BackofficeVerifyEmailPageResource, m as WrapperPageResource, W as __test, U as createBackofficeRoutes, U as default };
|
|
400
514
|
|
|
401
515
|
//# sourceMappingURL=createBackofficeRoutes.js.map
|