@edifice.io/collect-frontend 0.2.2-develop-pedago.3.20260427140647 → 0.2.2-develop-pedago.3.20260427143515

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.
@@ -2,10 +2,10 @@ import { jsxs as c, jsx as o } from "react/jsx-runtime";
2
2
  import { useEdificeClient as m, Flex as r, Button as u, IconButton as I, useBreakpoint as f, useDate as S, Badge as g } from "@edifice.io/react";
3
3
  import { IconPinOn as O, IconOptions as y, IconSave as L, IconSend as v, IconArrowLeft as M, IconCalendarLight as N } from "@edifice.io/react/icons";
4
4
  import { useTranslation as p } from "react-i18next";
5
- import { u as b, D as w } from "./DropdownActionTable-HE8xkue1.js";
5
+ import { u as b, D as w } from "./DropdownActionTable-DZkC6Prp.js";
6
6
  import { ContribSubmissionStatus as x } from "@edifice.io/collect-client-rest";
7
7
  import { create as A } from "zustand";
8
- import { c as H } from "./index-DT2Ns44Q.js";
8
+ import { c as H } from "./index-BciFKTTk.js";
9
9
  const D = ({
10
10
  collection: n
11
11
  }) => {
@@ -1,5 +1,5 @@
1
- import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./HASRA6WW-DNF4eod8.js";
2
- import { m as v, n as C, o as e } from "./index-DT2Ns44Q.js";
1
+ import { c as s, T as c, P as u, a as i, b as m, C as P, Q as d } from "./HASRA6WW-84ML-gEH.js";
2
+ import { m as v, n as C, o as e } from "./index-BciFKTTk.js";
3
3
  var h = (t) => {
4
4
  const [r, o] = s({
5
5
  prefix: "TanstackQueryDevtools"
@@ -3,15 +3,15 @@ import { SubmissionStatus as f, ManagerSubmissionStatus as M, WORKFLOW_RIGHTS as
3
3
  import { useDirectory as R, Flex as u, Avatar as P, Badge as v, useEdificeClient as w, Heading as O, Table as C, Button as x, LoadingScreen as T, Modal as I, Dropdown as N, useToast as G, useBreakpoint as j, useDate as _, EmptyScreen as K, Checkbox as Y, Grid as L, useHasWorkflow as J } from "@edifice.io/react";
4
4
  import { useNavigate as $, useParams as X } from "react-router-dom";
5
5
  import { useState as A, useEffect as k } from "react";
6
- import { A as Z, C as q } from "./AppHeaderCollection-kvrVhjY4.js";
6
+ import { A as Z, C as q } from "./AppHeaderCollection-C3GsLgmQ.js";
7
7
  import { IconUsers as ee, IconRafterDown as U, IconEdit as te, IconTextPage as se, IconCalendarLight as ne } from "@edifice.io/react/icons";
8
8
  import { useTranslation as D } from "react-i18next";
9
- import { u as ie, a as oe, s as ae } from "./submission.queries-DQbHLY_g.js";
9
+ import { u as ie, a as oe, s as ae } from "./submission.queries-D_XCicCG.js";
10
10
  import { create as ce } from "zustand";
11
- import { c as le, f as re, P as de, g as ue } from "./index-DT2Ns44Q.js";
11
+ import { c as le, f as re, P as de, g as ue } from "./index-BciFKTTk.js";
12
12
  import { u as F } from "./useGetStatusSubmission-DxHmLPxr.js";
13
- import { u as E } from "./DropdownActionTable-HE8xkue1.js";
14
- import { D as me } from "./DeleteCollectionModal-CqvWe76x.js";
13
+ import { u as E } from "./DropdownActionTable-DZkC6Prp.js";
14
+ import { D as me } from "./DeleteCollectionModal-CbvIR2Tw.js";
15
15
  import { Editor as H } from "@edifice.io/react/editor";
16
16
  import { E as he } from "./emptyscreen-list-collection-CWGxO4Ss.js";
17
17
  const W = (t) => {
@@ -6,7 +6,7 @@ import { useNavigate as N, useLocation as f, Navigate as H, Outlet as $ } from "
6
6
  import { IconDepositeInbox as j, IconPlus as D, IconSubmission as v, IconCollect as x } from "@edifice.io/react/icons";
7
7
  import { useTranslation as g } from "react-i18next";
8
8
  import { create as W } from "zustand";
9
- import { c as G, u as K } from "./index-DT2Ns44Q.js";
9
+ import { c as G, u as K } from "./index-BciFKTTk.js";
10
10
  function P() {
11
11
  const { appCode: s } = T(), { t: l } = g(s), a = N(), c = h(L.COLLECTION_CREATE);
12
12
  return /* @__PURE__ */ r("div", { className: "d-flex flex-fill align-items-center justify-content-end gap-12 align-self-end", children: [
@@ -1,17 +1,17 @@
1
1
  import { jsx as e, Fragment as T, jsxs as u } from "react/jsx-runtime";
2
2
  import { useState as D, useMemo as L, useCallback as B, useEffect as E } from "react";
3
3
  import { S as A } from "./SearchBarCollect-DBKaVVDV.js";
4
- import { c as F, a as M, W as O, b as R } from "./index-DT2Ns44Q.js";
4
+ import { c as F, a as M, W as O, b as R } from "./index-BciFKTTk.js";
5
5
  import { useDate as $, Table as m, Flex as I, Badge as k, IconButton as S, useEdificeClient as v, EmptyScreen as G, LoadingScreen as j } from "@edifice.io/react";
6
6
  import { useTranslation as N } from "react-i18next";
7
7
  import { E as Q } from "./emptyscreen-list-collection-CWGxO4Ss.js";
8
- import { D as W } from "./DeleteCollectionModal-CqvWe76x.js";
8
+ import { D as W } from "./DeleteCollectionModal-CbvIR2Tw.js";
9
9
  import { SortDirection as b, CollectionSortField as y } from "@edifice.io/collect-client-rest";
10
10
  import { create as _ } from "zustand";
11
11
  import { IconOptions as H, IconRafterLeft as z, IconRafterRight as K, IconListOrder as U, IconArrowUp as Y, IconArrowDown as Z } from "@edifice.io/react/icons";
12
12
  import { t as q } from "i18next";
13
13
  import { useNavigate as J } from "react-router-dom";
14
- import { D as V } from "./DropdownActionTable-HE8xkue1.js";
14
+ import { D as V } from "./DropdownActionTable-DZkC6Prp.js";
15
15
  const X = {
16
16
  search: "",
17
17
  sortBy: y.DEADLINE,
@@ -2,8 +2,8 @@ import { jsxs as s, jsx as t } from "react/jsx-runtime";
2
2
  import { useEdificeClient as m, useToast as h, Modal as d, Button as C } from "@edifice.io/react";
3
3
  import { IconDelete as f } from "@edifice.io/react/icons";
4
4
  import { useTranslation as p } from "react-i18next";
5
- import { h as M } from "./index-DT2Ns44Q.js";
6
- import { u as D } from "./DropdownActionTable-HE8xkue1.js";
5
+ import { h as M } from "./index-BciFKTTk.js";
6
+ import { u as D } from "./DropdownActionTable-DZkC6Prp.js";
7
7
  const y = () => {
8
8
  const { appCode: r } = m(), { t: n } = p(r), e = h(), a = M(), { isDeleteModalOpen: l, onCloseDeleteModal: c, deleteCollectionId: i } = D((o) => ({
9
9
  isDeleteModalOpen: o.isDeleteModalOpen,
@@ -6,7 +6,7 @@ import { IconExternalLink as I, IconEdit as h, IconShare as O, IconDelete as w }
6
6
  import { useTranslation as D } from "react-i18next";
7
7
  import { useNavigate as C } from "react-router-dom";
8
8
  import { create as b } from "zustand";
9
- import { c as M } from "./index-DT2Ns44Q.js";
9
+ import { c as M } from "./index-BciFKTTk.js";
10
10
  const T = b((e) => ({
11
11
  isDeleteModalOpen: !1,
12
12
  deleteCollectionId: null,
@@ -4,8 +4,8 @@ import { useEdificeClient as I, useBreakpoint as w, useToast as E, useHasWorkflo
4
4
  import { useState as O } from "react";
5
5
  import { useTranslation as P } from "react-i18next";
6
6
  import { useParams as k, useNavigate as A } from "react-router-dom";
7
- import { l as Q, f as R, P as W, F as j, g as H } from "./index-DT2Ns44Q.js";
8
- import { s as S } from "./submission.queries-DQbHLY_g.js";
7
+ import { l as Q, f as R, P as W, F as j, g as H } from "./index-BciFKTTk.js";
8
+ import { s as S } from "./submission.queries-D_XCicCG.js";
9
9
  const J = (s) => async ({ params: i }) => {
10
10
  const a = Number(i.collectionId);
11
11
  return await s.ensureQueryData(H(a)), await s.prefetchInfiniteQuery(
@@ -1,7 +1,7 @@
1
1
  var bs = Object.defineProperty;
2
2
  var ps = (e, t, n) => t in e ? bs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var qe = (e, t, n) => ps(e, typeof t != "symbol" ? t + "" : t, n);
4
- import { p as z, q as H, n as D, o as v, r as xe, s as wt, t as _o, v as N, w as k, x as G, y as T, z as ws, A as or, B as $e, C as V, D as Gn, E as Vn, G as dt, H as M, I as q, J as xs, K as cn, L as Ne, N as $s, O as qt, Q as zt, R as Cs, T as Ss, U as $n, V as ks, X as Br, Y as Kt, $ as Ro, Z as Es, _ as W, a0 as Nr, a1 as Ds, a2 as As, a3 as ir, a4 as Ms, a5 as Ts, a6 as Fs, a7 as zn, a8 as Is, a9 as Os, aa as oe, ab as Ls, ac as Ps } from "./index-DT2Ns44Q.js";
4
+ import { p as z, q as H, n as D, o as v, r as xe, s as wt, t as _o, v as N, w as k, x as G, y as T, z as ws, A as or, B as $e, C as V, D as Gn, E as Vn, G as dt, H as M, I as q, J as xs, K as cn, L as Ne, N as $s, O as qt, Q as zt, R as Cs, T as Ss, U as $n, V as ks, X as Br, Y as Kt, $ as Ro, Z as Es, _ as W, a0 as Nr, a1 as Ds, a2 as As, a3 as ir, a4 as Ms, a5 as Ts, a6 as Fs, a7 as zn, a8 as Is, a9 as Os, aa as oe, ab as Ls, ac as Ps } from "./index-BciFKTTk.js";
5
5
  var qs = (e) => e != null, _s = (e) => e.filter(qs);
6
6
  function Rs(e) {
7
7
  return (...t) => {
@@ -1,5 +1,5 @@
1
- import { c, T as l, P as m, a as u, D as v, Q as i } from "./HASRA6WW-DNF4eod8.js";
2
- import { m as d, n as f, o as e } from "./index-DT2Ns44Q.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./HASRA6WW-84ML-gEH.js";
2
+ import { m as d, n as f, o as e } from "./index-BciFKTTk.js";
3
3
  var p = (a) => {
4
4
  const [r, o] = c({
5
5
  prefix: "TanstackQueryDevtools"
@@ -3,8 +3,8 @@ import { WORKFLOW_RIGHTS as N } from "@edifice.io/collect-client-rest";
3
3
  import { useEdificeClient as v, useBreakpoint as I, useToast as D, useHasWorkflow as E, LoadingScreen as O, Grid as l, Flex as d, Button as u } from "@edifice.io/react";
4
4
  import { useTranslation as S } from "react-i18next";
5
5
  import { useParams as k, useNavigate as w } from "react-router-dom";
6
- import { i as A, j as m, f as L, P as j, M, g as P, k as Q } from "./index-DT2Ns44Q.js";
7
- import { s as R } from "./submission.queries-DQbHLY_g.js";
6
+ import { i as A, j as m, f as L, P as j, M, g as P, k as Q } from "./index-BciFKTTk.js";
7
+ import { s as R } from "./submission.queries-D_XCicCG.js";
8
8
  const K = (o) => async ({ params: t }) => {
9
9
  const s = Number(t.collectionId);
10
10
  return await o.ensureQueryData(P(s)), await o.prefetchInfiniteQuery(
@@ -0,0 +1,20 @@
1
+ import { jsx as r, jsxs as t, Fragment as c } from "react/jsx-runtime";
2
+ import { WORKFLOW_RIGHTS as f } from "@edifice.io/collect-client-rest";
3
+ import { useEdificeClient as u, useHasWorkflow as l, LoadingScreen as m, Layout as p } from "@edifice.io/react";
4
+ import { useLoaderData as L, Outlet as e, ScrollRestoration as n } from "react-router-dom";
5
+ import { P as d } from "./index-BciFKTTk.js";
6
+ const g = async () => null;
7
+ function E() {
8
+ const { init: s } = u(), i = l(f.COLLECTION_ACCESS), o = L(), a = (o == null ? void 0 : o.header) !== !1;
9
+ return s ? i ? a ? /* @__PURE__ */ t(p, { children: [
10
+ /* @__PURE__ */ r(e, {}),
11
+ /* @__PURE__ */ r(n, {})
12
+ ] }) : /* @__PURE__ */ t(c, { children: [
13
+ /* @__PURE__ */ r(e, {}),
14
+ /* @__PURE__ */ r(n, {})
15
+ ] }) : /* @__PURE__ */ r(d, {}) : /* @__PURE__ */ r(m, { position: !1 });
16
+ }
17
+ export {
18
+ E as Root,
19
+ g as loader
20
+ };
@@ -2,14 +2,14 @@ import { jsxs as a, jsx as s } from "react/jsx-runtime";
2
2
  import { useEdificeClient as m, Flex as l, Heading as y, IconButton as v, Modal as u, Button as C, useToast as E, useBreakpoint as O, Grid as h, LoadingScreen as P } from "@edifice.io/react";
3
3
  import { useNavigate as x, useParams as k } from "react-router-dom";
4
4
  import { useState as B, useEffect as N } from "react";
5
- import { u as g, A as T, C as j } from "./AppHeaderCollection-kvrVhjY4.js";
5
+ import { u as g, A as T, C as j } from "./AppHeaderCollection-C3GsLgmQ.js";
6
6
  import { Editor as U } from "@edifice.io/react/editor";
7
7
  import { IconPinOn as A, IconRafterUp as H, IconRafterDown as Q, IconSend as F, IconTextPage as R } from "@edifice.io/react/icons";
8
8
  import { useTranslation as b } from "react-i18next";
9
9
  import { ContribSubmissionStatus as $ } from "@edifice.io/collect-client-rest";
10
- import { u as w } from "./DropdownActionTable-HE8xkue1.js";
11
- import { b as W, c as z, d as G } from "./submission.queries-DQbHLY_g.js";
12
- import { f as V, P as J, g as K } from "./index-DT2Ns44Q.js";
10
+ import { u as w } from "./DropdownActionTable-DZkC6Prp.js";
11
+ import { b as W, c as z, d as G } from "./submission.queries-D_XCicCG.js";
12
+ import { f as V, P as J, g as K } from "./index-BciFKTTk.js";
13
13
  const I = ({
14
14
  collection: n,
15
15
  isMobile: o = !1
@@ -4,7 +4,7 @@ import { S as j } from "./SearchBarCollect-DBKaVVDV.js";
4
4
  import { CollectionStatus as N, SubmissionStatus as v } from "@edifice.io/collect-client-rest";
5
5
  import { useTranslation as S } from "react-i18next";
6
6
  import { create as R } from "zustand";
7
- import { c as U, d as Y, e as k } from "./index-DT2Ns44Q.js";
7
+ import { c as U, d as Y, e as k } from "./index-BciFKTTk.js";
8
8
  import { IconRafterDown as z } from "@edifice.io/react/icons";
9
9
  import { useNavigate as A } from "react-router-dom";
10
10
  import { E as G } from "./emptyscreen-list-collection-CWGxO4Ss.js";
@@ -2,14 +2,14 @@ var Ht = (e) => {
2
2
  throw TypeError(e);
3
3
  };
4
4
  var Wt = (e, t, n) => t.has(e) || Ht("Cannot " + n);
5
- var p = (e, t, n) => (Wt(e, t, "read from private field"), n ? n.call(e) : t.get(e)), T = (e, t, n) => t.has(e) ? Ht("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), I = (e, t, n, r) => (Wt(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
5
+ var y = (e, t, n) => (Wt(e, t, "read from private field"), n ? n.call(e) : t.get(e)), T = (e, t, n) => t.has(e) ? Ht("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), I = (e, t, n, r) => (Wt(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
6
6
  import { jsx as d, jsxs as B, Fragment as dn } from "react/jsx-runtime";
7
7
  import * as $ from "react";
8
- import { useState as $t, useEffect as X, useMemo as Dt, useRef as ee, useReducer as yr, createContext as hn, useContext as mn, useLayoutEffect as gr, Suspense as vr } from "react";
8
+ import { useState as $t, useEffect as X, useMemo as Dt, useRef as ee, useReducer as pr, createContext as hn, useContext as mn, useLayoutEffect as gr, Suspense as vr } from "react";
9
9
  import { createRoot as br } from "react-dom/client";
10
- import { useRouteError as pn, useNavigate as ut, useLocation as wr, Form as Sr, Routes as Cr, Route as Xt, createBrowserRouter as Ar, createMemoryRouter as Ir, RouterProvider as Er } from "react-router-dom";
10
+ import { useRouteError as yn, useNavigate as ut, useLocation as wr, Form as Sr, Routes as Cr, Route as Xt, createBrowserRouter as Ar, createMemoryRouter as Ir, RouterProvider as Er } from "react-router-dom";
11
11
  import { ERROR_CODE as Or, odeServices as Ne } from "@edifice.io/client";
12
- import { EdificeClientProvider as yn, useEdificeClient as ft, Heading as Gt, Button as J, Layout as Tr, Stepper as gn, Grid as K, FormControl as Xe, Label as bt, Input as xr, DatePicker as Rr, AddAttachments as Nr, useIsAdmlcOrAdmc as vn, useUser as bn, useDebounce as Pr, Flex as tt, Combobox as kr, Alert as Mr, UserRightsList as Lr, useToast as Vr, useBreakpoint as Ur, EdificeThemeProvider as Fr, LoadingScreen as _r } from "@edifice.io/react";
12
+ import { EdificeClientProvider as pn, useEdificeClient as ft, Heading as Gt, Button as J, Layout as Tr, Stepper as gn, Grid as K, FormControl as Xe, Label as bt, Input as xr, DatePicker as Rr, AddAttachments as Nr, useIsAdmlcOrAdmc as vn, useUser as bn, useDebounce as Pr, Flex as tt, Combobox as kr, Alert as Mr, UserRightsList as Lr, useToast as Vr, useBreakpoint as Ur, EdificeThemeProvider as Fr, LoadingScreen as _r } from "@edifice.io/react";
13
13
  import { useQueryClient as Z, onlineManager as wn, QueryClient as Br, QueryCache as qr, QueryClientProvider as Sn, queryOptions as wt, useQuery as $r, useMutation as dt, useInfiniteQuery as Cn } from "@tanstack/react-query";
14
14
  import { useTranslation as ht, Trans as Dr } from "react-i18next";
15
15
  import { t as St } from "i18next";
@@ -18,7 +18,7 @@ import { IconLabel as Kr, IconFlag as jr, IconTextPage as Qr, IconBookmark as Hr
18
18
  import { useForm as Yr, Controller as Ct } from "react-hook-form";
19
19
  import { create as An } from "zustand";
20
20
  import { SharingPermission as nt, CollectionClient as Zr, MediaType as zr } from "@edifice.io/collect-client-rest";
21
- var y = {
21
+ var p = {
22
22
  context: void 0,
23
23
  registry: void 0,
24
24
  effects: void 0,
@@ -32,10 +32,10 @@ var y = {
32
32
  };
33
33
  function Zt(e) {
34
34
  const t = String(e), n = t.length - 1;
35
- return y.context.id + (n ? String.fromCharCode(96 + n) : "") + t;
35
+ return p.context.id + (n ? String.fromCharCode(96 + n) : "") + t;
36
36
  }
37
37
  function Re(e) {
38
- y.context = e;
38
+ p.context = e;
39
39
  }
40
40
  var In = !1, Jr = (e, t) => e === t, st = Symbol("solid-proxy"), En = typeof Proxy == "function", On = Symbol("solid-track"), it = {
41
41
  equals: Jr
@@ -70,21 +70,21 @@ function M(e, t) {
70
70
  return [Pn.bind(n), r];
71
71
  }
72
72
  function ts(e, t, n) {
73
- const r = pt(e, t, !0, W);
73
+ const r = yt(e, t, !0, W);
74
74
  xe(r);
75
75
  }
76
76
  function se(e, t, n) {
77
- const r = pt(e, t, !1, W);
77
+ const r = yt(e, t, !1, W);
78
78
  xe(r);
79
79
  }
80
80
  function Rn(e, t, n) {
81
81
  Tn = fs;
82
- const r = pt(e, t, !1, W);
82
+ const r = yt(e, t, !1, W);
83
83
  (!n || !n.render) && (r.user = !0), H ? H.push(r) : xe(r);
84
84
  }
85
85
  function F(e, t, n) {
86
86
  n = n ? Object.assign({}, it, n) : it;
87
- const r = pt(e, t, !0, 0);
87
+ const r = yt(e, t, !0, 0);
88
88
  return r.observers = null, r.observerSlots = null, r.comparator = n.equals || void 0, xe(r), Pn.bind(r);
89
89
  }
90
90
  function ns(e) {
@@ -97,7 +97,7 @@ function rs(e, t, n) {
97
97
  const m = /* @__PURE__ */ new Set(), [h, g] = (i.storage || M)(i.initialValue), [w, N] = M(void 0), [L, A] = M(void 0, {
98
98
  equals: !1
99
99
  }), [P, U] = M(f ? "ready" : "unresolved");
100
- y.context && (c = y.getNextContextId(), i.ssrLoadFrom === "initial" ? l = i.initialValue : y.load && y.has(c) && (l = y.load(c)));
100
+ p.context && (c = p.getNextContextId(), i.ssrLoadFrom === "initial" ? l = i.initialValue : p.load && p.has(c) && (l = p.load(c)));
101
101
  function S(b, E, k, V) {
102
102
  return o === b && (o = null, V !== void 0 && (f = !0), (b === l || E === l) && i.onHydrated && queueMicrotask(
103
103
  () => i.onHydrated(V, {
@@ -294,7 +294,7 @@ function as(e, t, n) {
294
294
  }
295
295
  (!e.updatedAt || e.updatedAt <= n) && (e.updatedAt != null && "observers" in e ? kn(e, r) : e.value = r, e.updatedAt = n);
296
296
  }
297
- function pt(e, t, n, r = W, s) {
297
+ function yt(e, t, n, r = W, s) {
298
298
  const i = {
299
299
  fn: e,
300
300
  state: r,
@@ -350,14 +350,14 @@ function fs(e) {
350
350
  const r = e[t];
351
351
  r.user ? e[n++] = r : lt(r);
352
352
  }
353
- if (y.context) {
354
- if (y.count) {
355
- y.effects || (y.effects = []), y.effects.push(...e.slice(0, n));
353
+ if (p.context) {
354
+ if (p.count) {
355
+ p.effects || (p.effects = []), p.effects.push(...e.slice(0, n));
356
356
  return;
357
357
  }
358
358
  Re();
359
359
  }
360
- for (y.effects && (y.done || !y.count) && (e = [...y.effects, ...e], n += y.effects.length, delete y.effects), t = 0; t < n; t++) lt(e[t]);
360
+ for (p.effects && (p.done || !p.count) && (e = [...p.effects, ...e], n += p.effects.length, delete p.effects), t = 0; t < n; t++) lt(e[t]);
361
361
  }
362
362
  function ct(e, t) {
363
363
  e.state = 0;
@@ -523,7 +523,7 @@ var kt = {
523
523
  function Et(e) {
524
524
  return (e = typeof e == "function" ? e() : e) ? e : {};
525
525
  }
526
- function ps() {
526
+ function ys() {
527
527
  for (let e = 0, t = this.length; e < t; ++e) {
528
528
  const n = this[e]();
529
529
  if (n !== void 0) return n;
@@ -571,7 +571,7 @@ function Un(...e) {
571
571
  r[f] = u.get ? {
572
572
  enumerable: !0,
573
573
  configurable: !0,
574
- get: ps.bind(n[f] = [u.get.bind(l)])
574
+ get: ys.bind(n[f] = [u.get.bind(l)])
575
575
  } : u.value !== void 0 ? u : void 0;
576
576
  else {
577
577
  const m = n[f];
@@ -586,7 +586,7 @@ function Un(...e) {
586
586
  }
587
587
  return s;
588
588
  }
589
- function ys(e, ...t) {
589
+ function ps(e, ...t) {
590
590
  if (En && st in e) {
591
591
  const s = new Set(t.length > 1 ? t.flat() : t[0]), i = t.map((o) => new Proxy(
592
592
  {
@@ -632,11 +632,11 @@ function ys(e, ...t) {
632
632
  function Fn(e) {
633
633
  let t, n;
634
634
  const r = (s) => {
635
- const i = y.context;
635
+ const i = p.context;
636
636
  if (i) {
637
637
  const [l, c] = M();
638
- y.count || (y.count = 0), y.count++, (n || (n = e())).then((a) => {
639
- !y.done && Re(i), y.count--, c(() => a.default), Re();
638
+ p.count || (p.count = 0), p.count++, (n || (n = e())).then((a) => {
639
+ !p.done && Re(i), p.count--, c(() => a.default), Re();
640
640
  }), t = l;
641
641
  } else if (!t) {
642
642
  const [l] = rs(() => (n || (n = e())).then((c) => c.default));
@@ -645,8 +645,8 @@ function Fn(e) {
645
645
  let o;
646
646
  return F(
647
647
  () => (o = t()) ? _(() => {
648
- if (!i || y.done) return o(s);
649
- const l = y.context;
648
+ if (!i || p.done) return o(s);
649
+ const l = p.context;
650
650
  Re(i);
651
651
  const c = o(s);
652
652
  return Re(l), c;
@@ -657,7 +657,7 @@ function Fn(e) {
657
657
  }
658
658
  var gs = 0;
659
659
  function Ao() {
660
- return y.context ? y.getNextContextId() : `cl-${gs++}`;
660
+ return p.context ? p.getNextContextId() : `cl-${gs++}`;
661
661
  }
662
662
  var _n = (e) => `Stale read from <${e}>.`;
663
663
  function Io(e) {
@@ -1055,10 +1055,10 @@ function Fs(e, t, n, r, s = {}, i = !1) {
1055
1055
  }
1056
1056
  function _s(e) {
1057
1057
  let t, n;
1058
- return !ie() || !(t = y.registry.get(n = qs())) ? e() : (y.completed && y.completed.add(t), y.registry.delete(n), t);
1058
+ return !ie() || !(t = p.registry.get(n = qs())) ? e() : (p.completed && p.completed.add(t), p.registry.delete(n), t);
1059
1059
  }
1060
1060
  function ie(e) {
1061
- return !!y.context && !y.done && (!e || e.isConnected);
1061
+ return !!p.context && !p.done && (!e || e.isConnected);
1062
1062
  }
1063
1063
  function Bs(e) {
1064
1064
  return e.toLowerCase().replace(/-([a-z])/g, (t, n) => n.toUpperCase());
@@ -1104,7 +1104,7 @@ function en(e, t, n, r, s, i, o) {
1104
1104
  return n;
1105
1105
  }
1106
1106
  function qn(e) {
1107
- if (y.registry && y.events && y.events.find(([c, a]) => a === e))
1107
+ if (p.registry && p.events && p.events.find(([c, a]) => a === e))
1108
1108
  return;
1109
1109
  let t = e.target;
1110
1110
  const n = `$$${e.type}`, r = e.target, s = e.currentTarget, i = (c) => Object.defineProperty(e, "target", {
@@ -1125,7 +1125,7 @@ function qn(e) {
1125
1125
  get() {
1126
1126
  return t || document;
1127
1127
  }
1128
- }), y.registry && !y.done && (y.done = _$HY.done = !0), e.composedPath) {
1128
+ }), p.registry && !p.done && (p.done = _$HY.done = !0), e.composedPath) {
1129
1129
  const c = e.composedPath();
1130
1130
  i(c[0]);
1131
1131
  for (let a = 0; a < c.length - 2 && (t = c[a], !!o()); a++) {
@@ -1243,7 +1243,7 @@ function le(e, t, n, r) {
1243
1243
  return [s];
1244
1244
  }
1245
1245
  function qs() {
1246
- return y.getNextContextId();
1246
+ return p.getNextContextId();
1247
1247
  }
1248
1248
  var $s = "http://www.w3.org/2000/svg";
1249
1249
  function $n(e, t = !1) {
@@ -1251,7 +1251,7 @@ function $n(e, t = !1) {
1251
1251
  }
1252
1252
  function Po(e) {
1253
1253
  const { useShadow: t } = e, n = document.createTextNode(""), r = () => e.mount || document.body, s = zt();
1254
- let i, o = !!y.context;
1254
+ let i, o = !!p.context;
1255
1255
  return Rn(
1256
1256
  () => {
1257
1257
  o && (zt().user = o = !1), i || (i = is(s, () => F(() => e.children)));
@@ -1285,13 +1285,13 @@ function Ds(e, t) {
1285
1285
  case "function":
1286
1286
  return _(() => r(t));
1287
1287
  case "string":
1288
- const s = Es.has(r), i = y.context ? _s() : $n(r, s);
1288
+ const s = Es.has(r), i = p.context ? _s() : $n(r, s);
1289
1289
  return Vs(i, t, s), i;
1290
1290
  }
1291
1291
  });
1292
1292
  }
1293
1293
  function ko(e) {
1294
- const [, t] = ys(e, ["component"]);
1294
+ const [, t] = ps(e, ["component"]);
1295
1295
  return Ds(() => e.component, t);
1296
1296
  }
1297
1297
  var Gs = class {
@@ -1444,7 +1444,7 @@ var Qn = [
1444
1444
  G((e) => e === 0 && 1 / e === -1 / 0, "number", () => "-0", Number),
1445
1445
  G(oi, "URL", (e) => e.toString(), (e) => new URL(e))
1446
1446
  ];
1447
- function yt(e, t, n, r) {
1447
+ function pt(e, t, n, r) {
1448
1448
  return {
1449
1449
  isApplicable: e,
1450
1450
  annotation: t,
@@ -1452,7 +1452,7 @@ function yt(e, t, n, r) {
1452
1452
  untransform: r
1453
1453
  };
1454
1454
  }
1455
- var Hn = yt((e, t) => Kn(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
1455
+ var Hn = pt((e, t) => Kn(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) => ["symbol", t.symbolRegistry.getIdentifier(e)], (e) => e.description, (e, t, n) => {
1456
1456
  const r = n.symbolRegistry.getValue(t[1]);
1457
1457
  if (!r)
1458
1458
  throw new Error("Trying to deserialize unknown symbol");
@@ -1467,7 +1467,7 @@ var Hn = yt((e, t) => Kn(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
1467
1467
  Float32Array,
1468
1468
  Float64Array,
1469
1469
  Uint8ClampedArray
1470
- ].reduce((e, t) => (e[t.name] = t, e), {}), Wn = yt(ii, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
1470
+ ].reduce((e, t) => (e[t.name] = t, e), {}), Wn = pt(ii, (e) => ["typed-array", e.constructor.name], (e) => [...e], (e, t) => {
1471
1471
  const n = li[t[1]];
1472
1472
  if (!n)
1473
1473
  throw new Error("Trying to deserialize unknown typed array");
@@ -1476,7 +1476,7 @@ var Hn = yt((e, t) => Kn(e) ? !!t.symbolRegistry.getIdentifier(e) : !1, (e, t) =
1476
1476
  function Xn(e, t) {
1477
1477
  return e != null && e.constructor ? !!t.classRegistry.getIdentifier(e.constructor) : !1;
1478
1478
  }
1479
- var Yn = yt(Xn, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
1479
+ var Yn = pt(Xn, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)], (e, t) => {
1480
1480
  const n = t.classRegistry.getAllowedProps(e.constructor);
1481
1481
  if (!n)
1482
1482
  return { ...e };
@@ -1489,7 +1489,7 @@ var Yn = yt(Xn, (e, t) => ["class", t.classRegistry.getIdentifier(e.constructor)
1489
1489
  if (!r)
1490
1490
  throw new Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");
1491
1491
  return Object.assign(Object.create(r.prototype), e);
1492
- }), Zn = yt((e, t) => !!t.customTransformerRegistry.findApplicable(e), (e, t) => ["custom", t.customTransformerRegistry.findApplicable(e).name], (e, t) => t.customTransformerRegistry.findApplicable(e).serialize(e), (e, t, n) => {
1492
+ }), Zn = pt((e, t) => !!t.customTransformerRegistry.findApplicable(e), (e, t) => ["custom", t.customTransformerRegistry.findApplicable(e).name], (e, t) => t.customTransformerRegistry.findApplicable(e).serialize(e), (e, t, n) => {
1493
1493
  const r = n.customTransformerRegistry.findByName(t[1]);
1494
1494
  if (!r)
1495
1495
  throw new Error("Trying to deserialize unknown custom value");
@@ -1652,7 +1652,7 @@ function mi(e, t, n) {
1652
1652
  const r = n.get(e);
1653
1653
  r ? r.push(t) : n.set(e, [t]);
1654
1654
  }
1655
- function pi(e, t) {
1655
+ function yi(e, t) {
1656
1656
  const n = {};
1657
1657
  let r;
1658
1658
  return e.forEach((s) => {
@@ -1710,7 +1710,7 @@ function tr(e) {
1710
1710
  function on(e) {
1711
1711
  return tr(e) === "Array";
1712
1712
  }
1713
- function yi(e) {
1713
+ function pi(e) {
1714
1714
  if (tr(e) !== "Object")
1715
1715
  return !1;
1716
1716
  const t = Object.getPrototypeOf(e);
@@ -1728,7 +1728,7 @@ function gi(e, t, n, r, s) {
1728
1728
  function Bt(e, t = {}) {
1729
1729
  if (on(e))
1730
1730
  return e.map((s) => Bt(s, t));
1731
- if (!yi(e))
1731
+ if (!pi(e))
1732
1732
  return e;
1733
1733
  const n = Object.getOwnPropertyNames(e), r = Object.getOwnPropertySymbols(e);
1734
1734
  return [...n, ...r].reduce((s, i) => {
@@ -1753,7 +1753,7 @@ var R = class {
1753
1753
  ...r.meta,
1754
1754
  values: n.annotations
1755
1755
  });
1756
- const s = pi(t, this.dedupe);
1756
+ const s = yi(t, this.dedupe);
1757
1757
  return s && (r.meta = {
1758
1758
  ...r.meta,
1759
1759
  referentialEqualities: s
@@ -1904,7 +1904,7 @@ var Bo = (e, t = !1) => {
1904
1904
  if (!e || document.querySelector("#_goober") || (t == null ? void 0 : t.querySelector("#_goober"))) return;
1905
1905
  const r = document.createElement("style"), s = document.createTextNode("");
1906
1906
  r.appendChild(s), r.id = "_goober", r.setAttribute("nonce", e), t ? t.appendChild(r) : document.head.appendChild(r);
1907
- }, de, Be, qe, $e, te, De, he, me, pe, ye, ge, ve, Ge, un, Ci = (un = class {
1907
+ }, de, Be, qe, $e, te, De, he, me, ye, pe, ge, ve, Ge, un, Ci = (un = class {
1908
1908
  constructor(e) {
1909
1909
  T(this, de);
1910
1910
  T(this, Be);
@@ -1914,8 +1914,8 @@ var Bo = (e, t = !1) => {
1914
1914
  T(this, De);
1915
1915
  T(this, he);
1916
1916
  T(this, me);
1917
- T(this, pe);
1918
1917
  T(this, ye);
1918
+ T(this, pe);
1919
1919
  T(this, ge);
1920
1920
  T(this, ve);
1921
1921
  T(this, Ge);
@@ -1931,41 +1931,41 @@ var Bo = (e, t = !1) => {
1931
1931
  styleNonce: a,
1932
1932
  shadowDOMTarget: f
1933
1933
  } = e;
1934
- I(this, de, M(t)), I(this, qe, n), I(this, $e, r), I(this, Be, s), I(this, De, a), I(this, he, f), I(this, me, M(i)), I(this, pe, M(o)), I(this, ye, M(l)), I(this, ge, M(c));
1934
+ I(this, de, M(t)), I(this, qe, n), I(this, $e, r), I(this, Be, s), I(this, De, a), I(this, he, f), I(this, me, M(i)), I(this, ye, M(o)), I(this, pe, M(l)), I(this, ge, M(c));
1935
1935
  }
1936
1936
  setButtonPosition(e) {
1937
- p(this, me)[1](e);
1937
+ y(this, me)[1](e);
1938
1938
  }
1939
1939
  setPosition(e) {
1940
- p(this, pe)[1](e);
1940
+ y(this, ye)[1](e);
1941
1941
  }
1942
1942
  setInitialIsOpen(e) {
1943
- p(this, ye)[1](e);
1943
+ y(this, pe)[1](e);
1944
1944
  }
1945
1945
  setErrorTypes(e) {
1946
- p(this, ge)[1](e);
1946
+ y(this, ge)[1](e);
1947
1947
  }
1948
1948
  setClient(e) {
1949
- p(this, de)[1](e);
1949
+ y(this, de)[1](e);
1950
1950
  }
1951
1951
  mount(e) {
1952
- if (p(this, te))
1952
+ if (y(this, te))
1953
1953
  throw new Error("Devtools is already mounted");
1954
1954
  const t = Bn(() => {
1955
- const n = this, [r] = p(this, me), [s] = p(this, pe), [i] = p(this, ye), [o] = p(this, ge), [l] = p(this, de);
1955
+ const n = this, [r] = y(this, me), [s] = y(this, ye), [i] = y(this, pe), [o] = y(this, ge), [l] = y(this, de);
1956
1956
  let c;
1957
- return p(this, ve) ? c = p(this, ve) : (c = Fn(() => import("./I3HPI4QX-CrHrEiVm.js")), I(this, ve, c)), sr(p(this, De), p(this, he)), Vn(c, Un({
1957
+ return y(this, ve) ? c = y(this, ve) : (c = Fn(() => import("./I3HPI4QX-Dj24voLL.js")), I(this, ve, c)), sr(y(this, De), y(this, he)), Vn(c, Un({
1958
1958
  get queryFlavor() {
1959
- return p(n, qe);
1959
+ return y(n, qe);
1960
1960
  },
1961
1961
  get version() {
1962
- return p(n, $e);
1962
+ return y(n, $e);
1963
1963
  },
1964
1964
  get onlineManager() {
1965
- return p(n, Be);
1965
+ return y(n, Be);
1966
1966
  },
1967
1967
  get shadowDOMTarget() {
1968
- return p(n, he);
1968
+ return y(n, he);
1969
1969
  }
1970
1970
  }, {
1971
1971
  get client() {
@@ -1989,11 +1989,11 @@ var Bo = (e, t = !1) => {
1989
1989
  }
1990
1990
  unmount() {
1991
1991
  var e;
1992
- if (!p(this, te))
1992
+ if (!y(this, te))
1993
1993
  throw new Error("Devtools is not mounted");
1994
- (e = p(this, Ge)) == null || e.call(this), I(this, te, !1);
1994
+ (e = y(this, Ge)) == null || e.call(this), I(this, te, !1);
1995
1995
  }
1996
- }, de = new WeakMap(), Be = new WeakMap(), qe = new WeakMap(), $e = new WeakMap(), te = new WeakMap(), De = new WeakMap(), he = new WeakMap(), me = new WeakMap(), pe = new WeakMap(), ye = new WeakMap(), ge = new WeakMap(), ve = new WeakMap(), Ge = new WeakMap(), un), be, Ke, je, Qe, ne, He, we, Se, Ce, Ae, Ie, Ee, Oe, We, fn, Ai = (fn = class {
1996
+ }, de = new WeakMap(), Be = new WeakMap(), qe = new WeakMap(), $e = new WeakMap(), te = new WeakMap(), De = new WeakMap(), he = new WeakMap(), me = new WeakMap(), ye = new WeakMap(), pe = new WeakMap(), ge = new WeakMap(), ve = new WeakMap(), Ge = new WeakMap(), un), be, Ke, je, Qe, ne, He, we, Se, Ce, Ae, Ie, Ee, Oe, We, fn, Ai = (fn = class {
1997
1997
  constructor(e) {
1998
1998
  T(this, be);
1999
1999
  T(this, Ke);
@@ -2025,41 +2025,41 @@ var Bo = (e, t = !1) => {
2025
2025
  I(this, be, M(t)), I(this, je, n), I(this, Qe, r), I(this, Ke, s), I(this, He, a), I(this, we, f), I(this, Se, M(i)), I(this, Ce, M(o)), I(this, Ae, M(l)), I(this, Ie, M(c)), I(this, Ee, M(u));
2026
2026
  }
2027
2027
  setButtonPosition(e) {
2028
- p(this, Se)[1](e);
2028
+ y(this, Se)[1](e);
2029
2029
  }
2030
2030
  setPosition(e) {
2031
- p(this, Ce)[1](e);
2031
+ y(this, Ce)[1](e);
2032
2032
  }
2033
2033
  setInitialIsOpen(e) {
2034
- p(this, Ae)[1](e);
2034
+ y(this, Ae)[1](e);
2035
2035
  }
2036
2036
  setErrorTypes(e) {
2037
- p(this, Ie)[1](e);
2037
+ y(this, Ie)[1](e);
2038
2038
  }
2039
2039
  setClient(e) {
2040
- p(this, be)[1](e);
2040
+ y(this, be)[1](e);
2041
2041
  }
2042
2042
  setOnClose(e) {
2043
- p(this, Ee)[1](() => e);
2043
+ y(this, Ee)[1](() => e);
2044
2044
  }
2045
2045
  mount(e) {
2046
- if (p(this, ne))
2046
+ if (y(this, ne))
2047
2047
  throw new Error("Devtools is already mounted");
2048
2048
  const t = Bn(() => {
2049
- const n = this, [r] = p(this, Se), [s] = p(this, Ce), [i] = p(this, Ae), [o] = p(this, Ie), [l] = p(this, be), [c] = p(this, Ee);
2049
+ const n = this, [r] = y(this, Se), [s] = y(this, Ce), [i] = y(this, Ae), [o] = y(this, Ie), [l] = y(this, be), [c] = y(this, Ee);
2050
2050
  let a;
2051
- return p(this, Oe) ? a = p(this, Oe) : (a = Fn(() => import("./CXEL7IU7-YR1p-dSz.js")), I(this, Oe, a)), sr(p(this, He), p(this, we)), Vn(a, Un({
2051
+ return y(this, Oe) ? a = y(this, Oe) : (a = Fn(() => import("./CXEL7IU7-0T3Lcb8x.js")), I(this, Oe, a)), sr(y(this, He), y(this, we)), Vn(a, Un({
2052
2052
  get queryFlavor() {
2053
- return p(n, je);
2053
+ return y(n, je);
2054
2054
  },
2055
2055
  get version() {
2056
- return p(n, Qe);
2056
+ return y(n, Qe);
2057
2057
  },
2058
2058
  get onlineManager() {
2059
- return p(n, Ke);
2059
+ return y(n, Ke);
2060
2060
  },
2061
2061
  get shadowDOMTarget() {
2062
- return p(n, we);
2062
+ return y(n, we);
2063
2063
  }
2064
2064
  }, {
2065
2065
  get client() {
@@ -2086,9 +2086,9 @@ var Bo = (e, t = !1) => {
2086
2086
  }
2087
2087
  unmount() {
2088
2088
  var e;
2089
- if (!p(this, ne))
2089
+ if (!y(this, ne))
2090
2090
  throw new Error("Devtools is not mounted");
2091
- (e = p(this, We)) == null || e.call(this), I(this, ne, !1);
2091
+ (e = y(this, We)) == null || e.call(this), I(this, ne, !1);
2092
2092
  }
2093
2093
  }, be = new WeakMap(), Ke = new WeakMap(), je = new WeakMap(), Qe = new WeakMap(), ne = new WeakMap(), He = new WeakMap(), we = new WeakMap(), Se = new WeakMap(), Ce = new WeakMap(), Ae = new WeakMap(), Ie = new WeakMap(), Ee = new WeakMap(), Oe = new WeakMap(), We = new WeakMap(), fn);
2094
2094
  function Ii(e) {
@@ -2180,7 +2180,7 @@ const qt = new Br({
2180
2180
  }
2181
2181
  }), Ko = ({ children: e }) => /* @__PURE__ */ B(Sn, { client: qt, children: [
2182
2182
  /* @__PURE__ */ d(
2183
- yn,
2183
+ pn,
2184
2184
  {
2185
2185
  params: {
2186
2186
  app: "collect"
@@ -2190,14 +2190,14 @@ const qt = new Br({
2190
2190
  ),
2191
2191
  /* @__PURE__ */ d(ir, { initialIsOpen: !1 })
2192
2192
  ] }), Oi = () => {
2193
- const e = pn(), t = ut(), { appCode: n } = ft(), { t: r } = ht(n);
2193
+ const e = yn(), t = ut(), { appCode: n } = ft(), { t: r } = ht(n);
2194
2194
  return console.error(e), /* @__PURE__ */ B("div", { className: "d-flex flex-column gap-16 align-items-center mt-64", children: [
2195
2195
  /* @__PURE__ */ d(Gt, { level: "h2", headingStyle: "h2", className: "text-secondary", children: r("oops") }),
2196
2196
  /* @__PURE__ */ d("div", { className: "text", children: r("notfound.or.unauthorized") }),
2197
2197
  /* @__PURE__ */ d(J, { color: "primary", onClick: () => t(-1), children: r("back") })
2198
2198
  ] });
2199
2199
  }, Ti = () => {
2200
- const e = pn(), t = ut();
2200
+ const e = yn(), t = ut();
2201
2201
  return console.error(e), /* @__PURE__ */ d(Tr, { children: /* @__PURE__ */ B("div", { className: "d-flex flex-column gap-16 align-items-center mt-64", children: [
2202
2202
  /* @__PURE__ */ d(Gt, { level: "h2", headingStyle: "h2", className: "text-secondary", children: St("oops") }),
2203
2203
  /* @__PURE__ */ d("div", { className: "text", children: St("e404.page") }),
@@ -2586,7 +2586,7 @@ function $i(e, t) {
2586
2586
  }
2587
2587
  const Di = () => {
2588
2588
  var S, D;
2589
- const [e, t] = yr($i, qi), { usersCollection: n } = ce(), r = bn(), s = Pr(
2589
+ const [e, t] = pr($i, qi), { usersCollection: n } = ce(), r = bn(), s = Pr(
2590
2590
  e.searchInputValue,
2591
2591
  500
2592
2592
  ), { searchVisible: i } = _i(), { isAdmlcOrAdmc: o } = vn(), l = Z(), c = (v) => {
@@ -2670,13 +2670,13 @@ const Di = () => {
2670
2670
  (vt) => l.fetchQuery(
2671
2671
  fe.fetchUsersByGroup(vt.id)
2672
2672
  )
2673
- ), pr = await Promise.all(
2673
+ ), yr = await Promise.all(
2674
2674
  mr
2675
2675
  );
2676
2676
  gt = [
2677
2677
  g(
2678
2678
  V,
2679
- pr.flatMap(
2679
+ yr.flatMap(
2680
2680
  (vt) => vt.map((Qt) => ({
2681
2681
  id: Qt.id,
2682
2682
  displayName: Qt.displayName
@@ -3110,89 +3110,102 @@ function Zi() {
3110
3110
  function zi() {
3111
3111
  return /* @__PURE__ */ d(Zi, {});
3112
3112
  }
3113
- const dr = (e) => [
3114
- {
3115
- path: "/",
3116
- async lazy() {
3117
- const { loader: t, Root: n } = await import("./Root-DfmgZRZW.js");
3118
- return { loader: t, Component: n };
3119
- },
3120
- children: [
3121
- {
3122
- async lazy() {
3123
- const { loader: t, Component: n } = await import("./CollectionsLayout-CkXyUy2P.js");
3124
- return { loader: t, Component: n };
3125
- },
3126
- children: [
3127
- {
3128
- index: !0,
3129
- async lazy() {
3130
- const { loader: t, CollectionsList: n } = await import("./CollectionsList-BfBhNzg0.js");
3131
- return {
3132
- loader: () => t(e),
3133
- Component: n
3134
- };
3135
- }
3113
+ const dr = (e, t) => {
3114
+ const { header: n = !0 } = t ?? {}, r = async () => ({ header: n });
3115
+ return [
3116
+ {
3117
+ path: "/",
3118
+ loader: r,
3119
+ async lazy() {
3120
+ const { loader: s, Root: i } = await import("./Root-Cl6D2Zqt.js");
3121
+ return {
3122
+ loader: async () => {
3123
+ const o = await r(), l = await s() ?? {};
3124
+ return { ...o, ...l };
3136
3125
  },
3137
- {
3138
- path: "list-collections",
3139
- async lazy() {
3140
- const { loader: t, CollectionsList: n } = await import("./CollectionsList-BfBhNzg0.js");
3141
- return {
3142
- loader: () => t(e),
3143
- Component: n
3144
- };
3145
- }
3126
+ Component: i
3127
+ };
3128
+ },
3129
+ children: [
3130
+ {
3131
+ async lazy() {
3132
+ const { loader: s, Component: i } = await import("./CollectionsLayout-C6URuOHE.js");
3133
+ return { loader: s, Component: i };
3146
3134
  },
3147
- {
3148
- path: "list-submissions",
3149
- async lazy() {
3150
- const { loader: t, SubmissionsList: n } = await import("./SubmissionList-Cm7DopEJ.js");
3151
- return {
3152
- loader: () => t(e),
3153
- Component: n
3154
- };
3135
+ children: [
3136
+ {
3137
+ index: !0,
3138
+ async lazy() {
3139
+ const { loader: s, CollectionsList: i } = await import("./CollectionsList-D0Jqa6W7.js");
3140
+ return {
3141
+ loader: () => s(e),
3142
+ Component: i
3143
+ };
3144
+ }
3145
+ },
3146
+ {
3147
+ path: "list-collections",
3148
+ async lazy() {
3149
+ const { loader: s, CollectionsList: i } = await import("./CollectionsList-D0Jqa6W7.js");
3150
+ return {
3151
+ loader: () => s(e),
3152
+ Component: i
3153
+ };
3154
+ }
3155
+ },
3156
+ {
3157
+ path: "list-submissions",
3158
+ async lazy() {
3159
+ const { loader: s, SubmissionsList: i } = await import("./SubmissionList-DSxlimzw.js");
3160
+ return {
3161
+ loader: () => s(e),
3162
+ Component: i
3163
+ };
3164
+ }
3155
3165
  }
3166
+ ]
3167
+ },
3168
+ {
3169
+ path: "create/*",
3170
+ element: /* @__PURE__ */ d(zi, {})
3171
+ },
3172
+ {
3173
+ path: "list-collections/id/:collectionId",
3174
+ async lazy() {
3175
+ const { loader: s, Collection: i } = await import("./Collection-LoEP1ALp.js");
3176
+ return { loader: () => s(e), Component: i };
3177
+ }
3178
+ },
3179
+ {
3180
+ path: "list-collections/id/:collectionId/submission/:submissionId",
3181
+ async lazy() {
3182
+ const { loader: s, Submission: i } = await import("./Submission-DTTdV-1f.js");
3183
+ return { loader: () => s(e), Component: i };
3184
+ }
3185
+ },
3186
+ {
3187
+ path: "id/:collectionId/members",
3188
+ async lazy() {
3189
+ const { loader: s, MembersEdit: i } = await import("./MembersEdit-BFqClGqw.js");
3190
+ return {
3191
+ loader: () => s(e),
3192
+ Component: i
3193
+ };
3194
+ }
3195
+ },
3196
+ {
3197
+ path: "id/:collectionId/form",
3198
+ async lazy() {
3199
+ const { loader: s, FormEdit: i } = await import("./FormEdit-C1GGawzk.js");
3200
+ return { loader: () => s(e), Component: i };
3156
3201
  }
3157
- ]
3158
- },
3159
- {
3160
- path: "create/*",
3161
- element: /* @__PURE__ */ d(zi, {})
3162
- },
3163
- {
3164
- path: "list-collections/id/:collectionId",
3165
- async lazy() {
3166
- const { loader: t, Collection: n } = await import("./Collection-DjhIi0xZ.js");
3167
- return { loader: () => t(e), Component: n };
3168
- }
3169
- },
3170
- {
3171
- path: "list-collections/id/:collectionId/submission/:submissionId",
3172
- async lazy() {
3173
- const { loader: t, Submission: n } = await import("./Submission-DXh-e8oM.js");
3174
- return { loader: () => t(e), Component: n };
3175
- }
3176
- },
3177
- {
3178
- path: "id/:collectionId/members",
3179
- async lazy() {
3180
- const { loader: t, MembersEdit: n } = await import("./MembersEdit-BC5Xh_DT.js");
3181
- return { loader: () => t(e), Component: n };
3182
- }
3183
- },
3184
- {
3185
- path: "id/:collectionId/form",
3186
- async lazy() {
3187
- const { loader: t, FormEdit: n } = await import("./FormEdit-BAUK0iW4.js");
3188
- return { loader: () => t(e), Component: n };
3189
3202
  }
3190
- }
3191
- ],
3192
- errorElement: /* @__PURE__ */ d(Oi, {})
3193
- },
3194
- { path: "*", element: /* @__PURE__ */ d(Ti, {}) }
3195
- ], Ji = "./", Jo = (e) => Ar(dr(e), {
3203
+ ],
3204
+ errorElement: /* @__PURE__ */ d(Oi, {})
3205
+ },
3206
+ { path: "*", element: /* @__PURE__ */ d(Ti, {}) }
3207
+ ];
3208
+ }, Ji = "./", Jo = (e, t) => Ar(dr(e, t), {
3196
3209
  basename: Ji
3197
3210
  }), hr = hn({
3198
3211
  header: !0
@@ -3214,11 +3227,11 @@ const el = () => mn(hr), tl = ({ header: e, className: t }) => {
3214
3227
  return X(() => {
3215
3228
  if (n.current)
3216
3229
  return r.current || (r.current = br(n.current)), s.current || (s.current = Ir(
3217
- o(dr(qt)),
3230
+ o(dr(qt, { header: e })),
3218
3231
  { initialEntries: ["/"] }
3219
3232
  )), r.current.render(
3220
3233
  /* @__PURE__ */ B(Sn, { client: qt, children: [
3221
- /* @__PURE__ */ d(yn, { params: { app: "collect" }, children: /* @__PURE__ */ d(Fr, { children: /* @__PURE__ */ d(eo, { header: e, children: /* @__PURE__ */ d(vr, { fallback: /* @__PURE__ */ d(_r, {}), children: /* @__PURE__ */ d(Er, { router: s.current }) }) }) }) }),
3234
+ /* @__PURE__ */ d(pn, { params: { app: "collect" }, children: /* @__PURE__ */ d(Fr, { children: /* @__PURE__ */ d(eo, { header: e, children: /* @__PURE__ */ d(vr, { fallback: /* @__PURE__ */ d(_r, {}), children: /* @__PURE__ */ d(Er, { router: s.current }) }) }) }) }),
3222
3235
  /* @__PURE__ */ d(ir, { initialIsOpen: !1 })
3223
3236
  ] })
3224
3237
  ), () => {
@@ -3271,7 +3284,7 @@ export {
3271
3284
  xo as a7,
3272
3285
  To as a8,
3273
3286
  et as a9,
3274
- ys as aa,
3287
+ ps as aa,
3275
3288
  ko as ab,
3276
3289
  ts as ac,
3277
3290
  tl as ad,
package/lib/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { ad as r, ae as o, af as s, ag as t, ah as p } from "./index-DT2Ns44Q.js";
1
+ import { ad as r, ae as o, af as s, ag as t, ah as p } from "./index-BciFKTTk.js";
2
2
  export * from "@edifice.io/collect-client-rest";
3
3
  export {
4
4
  r as CollectApp,
@@ -1,5 +1,5 @@
1
1
  import { useQuery as S, useQueryClient as a, useMutation as m, useInfiniteQuery as b } from "@tanstack/react-query";
2
- import { S as c } from "./index-DT2Ns44Q.js";
2
+ import { S as c } from "./index-BciFKTTk.js";
3
3
  import { odeServices as p } from "@edifice.io/client";
4
4
  import { SubmissionClient as y } from "@edifice.io/collect-client-rest";
5
5
  const d = "/collect/api", n = new y({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@edifice.io/collect-frontend",
3
- "version": "0.2.2-develop-pedago.3.20260427140647",
3
+ "version": "0.2.2-develop-pedago.3.20260427143515",
4
4
  "private": false,
5
5
  "license": "GPL-3.0",
6
6
  "author": "Edifice",
@@ -1,17 +0,0 @@
1
- import { jsx as o, jsxs as i } from "react/jsx-runtime";
2
- import { WORKFLOW_RIGHTS as e } from "@edifice.io/collect-client-rest";
3
- import { useEdificeClient as n, useHasWorkflow as s, LoadingScreen as c, Layout as f } from "@edifice.io/react";
4
- import { Outlet as a, ScrollRestoration as l } from "react-router-dom";
5
- import { P as m } from "./index-DT2Ns44Q.js";
6
- const R = async () => null;
7
- function S() {
8
- const { init: r } = n(), t = s(e.COLLECTION_ACCESS);
9
- return r ? t ? /* @__PURE__ */ i(f, { children: [
10
- /* @__PURE__ */ o(a, {}),
11
- /* @__PURE__ */ o(l, {})
12
- ] }) : /* @__PURE__ */ o(m, {}) : /* @__PURE__ */ o(c, { position: !1 });
13
- }
14
- export {
15
- S as Root,
16
- R as loader
17
- };