@edifice.io/collect-frontend 0.2.2-develop-pedago.3.20260518152246 → 0.2.2-develop-pedago.3.20260519082541

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 n } from "react/jsx-runtime";
2
2
  import { useEdificeClient as m, Flex as r, Button as u, IconButton as I, useBreakpoint as f, useDate as g, Badge as S } 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-3vJ4bXeM.js";
5
+ import { u as b, D as w } from "./DropdownActionTable-DAureUPR.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-OJXRYkPM.js";
8
+ import { c as H } from "./index-ByDa_VMM.js";
9
9
  const D = ({
10
10
  collection: o
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-BCjcBRED.js";
2
- import { n as v, o as C, p as e } from "./index-OJXRYkPM.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-BIRqJNqV.js";
2
+ import { n as v, o as C, p as e } from "./index-ByDa_VMM.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-DB1Sdcht.js";
6
+ import { A as Z, C as q } from "./AppHeaderCollection-DtUeJ_7Q.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-HU_px0-H.js";
9
+ import { u as ie, a as oe, s as ae } from "./submission.queries-B9TjAyhw.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-OJXRYkPM.js";
11
+ import { c as le, f as re, P as de, g as ue } from "./index-ByDa_VMM.js";
12
12
  import { u as F } from "./useGetStatusSubmission-DxHmLPxr.js";
13
- import { u as E } from "./DropdownActionTable-3vJ4bXeM.js";
14
- import { D as me } from "./DeleteCollectionModal-CYQXMpWC.js";
13
+ import { u as E } from "./DropdownActionTable-DAureUPR.js";
14
+ import { D as me } from "./DeleteCollectionModal-Bilr71vy.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) => {
@@ -3,7 +3,7 @@ import { WORKFLOW_RIGHTS as u } from "@edifice.io/collect-client-rest";
3
3
  import { useEdificeClient as f, useHasWorkflow as C, useBreakpoint as h, Flex as L, AppHeader as S, Breadcrumb as g, Grid as r, LoadingScreen as x } from "@edifice.io/react";
4
4
  import { Suspense as N } from "react";
5
5
  import { useLocation as I, Navigate as O, Outlet as A } from "react-router-dom";
6
- import { u as E, M as l, A as T, C as w } from "./index-OJXRYkPM.js";
6
+ import { u as E, M as l, A as T, C as w } from "./index-ByDa_VMM.js";
7
7
  const B = async () => null, F = () => {
8
8
  const { currentApp: a } = f(), { pathname: s } = I(), n = C(u.COLLECTION_CREATE), { header: c, showMenu: i } = E(), { lg: m } = h(), d = c !== !1, o = i !== !1, p = s === "/" || s === `/${l.LIST_COLLECTIONS}`;
9
9
  return n !== void 0 && !n && p ? /* @__PURE__ */ e(O, { to: `/${l.LIST_SUBMISSIONS}`, replace: !0 }) : /* @__PURE__ */ t(L, { direction: "column", className: "flex-grow-1", 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-OJXRYkPM.js";
4
+ import { c as F, a as M, W as O, b as R } from "./index-ByDa_VMM.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-CYQXMpWC.js";
8
+ import { D as W } from "./DeleteCollectionModal-Bilr71vy.js";
9
9
  import { SortDirection as C, 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-3vJ4bXeM.js";
14
+ import { D as V } from "./DropdownActionTable-DAureUPR.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-OJXRYkPM.js";
6
- import { u as D } from "./DropdownActionTable-3vJ4bXeM.js";
5
+ import { h as M } from "./index-ByDa_VMM.js";
6
+ import { u as D } from "./DropdownActionTable-DAureUPR.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-OJXRYkPM.js";
9
+ import { c as M } from "./index-ByDa_VMM.js";
10
10
  const T = b((e) => ({
11
11
  isDeleteModalOpen: !1,
12
12
  deleteCollectionId: null,
@@ -4,8 +4,8 @@ import { useEdificeClient as x, useBreakpoint as I, useToast as w, useHasWorkflo
4
4
  import { useState as L } from "react";
5
5
  import { useTranslation as O } from "react-i18next";
6
6
  import { useParams as P, useNavigate as k } from "react-router-dom";
7
- import { m as A, f as Q, P as R, F as W, g as j } from "./index-OJXRYkPM.js";
8
- import { s as H } from "./submission.queries-HU_px0-H.js";
7
+ import { m as A, f as Q, P as R, F as W, g as j } from "./index-ByDa_VMM.js";
8
+ import { s as H } from "./submission.queries-B9TjAyhw.js";
9
9
  const K = (s) => async ({ params: i }) => {
10
10
  const a = Number(i.collectionId);
11
11
  return await s.ensureQueryData(j(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 { q as z, r as H, o as D, p as v, s as xe, t as wt, v as _o, w as N, x as k, y as G, z as T, B as ws, D as or, E as $e, G as V, H as Gn, I as Vn, J as dt, K as A, L as q, N as xs, O as cn, Q as Ne, R as $s, T as qt, U as zt, V as Cs, X as Ss, Y as $n, Z as ks, _ as Br, $ as Kt, a0 as Ro, a1 as Es, a2 as W, a3 as Nr, a4 as Ds, a5 as Ms, a6 as ir, a7 as As, a8 as Ts, a9 as Fs, aa as zn, ab as Is, ac as Os, ad as oe, ae as Ls, af as Ps } from "./index-OJXRYkPM.js";
4
+ import { q as z, r as H, o as D, p as v, s as xe, t as wt, v as _o, w as N, x as k, y as G, z as T, B as ws, D as or, E as $e, G as V, H as Gn, I as Vn, J as dt, K as A, L as q, N as xs, O as cn, Q as Ne, R as $s, T as qt, U as zt, V as Cs, X as Ss, Y as $n, Z as ks, _ as Br, $ as Kt, a0 as Ro, a1 as Es, a2 as W, a3 as Nr, a4 as Ds, a5 as Ms, a6 as ir, a7 as As, a8 as Ts, a9 as Fs, aa as zn, ab as Is, ac as Os, ad as oe, ae as Ls, af as Ps } from "./index-ByDa_VMM.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-BCjcBRED.js";
2
- import { n as p, o as d, p as e } from "./index-OJXRYkPM.js";
1
+ import { c, T as l, P as m, a as u, D as v, Q as i } from "./HASRA6WW-BIRqJNqV.js";
2
+ import { n as p, o as d, p as e } from "./index-ByDa_VMM.js";
3
3
  var f = (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 T, useBreakpoint as v, useToast as I, useHasWorkflow as w, LoadingScreen as D, Grid as l, Flex as d, Button as u } from "@edifice.io/react";
4
4
  import { useTranslation as E } from "react-i18next";
5
5
  import { useParams as O, useNavigate as S } from "react-router-dom";
6
- import { i as k, j as m, f as A, P as L, k as j, g as P, l as Q } from "./index-OJXRYkPM.js";
7
- import { s as R } from "./submission.queries-HU_px0-H.js";
6
+ import { i as k, j as m, f as A, P as L, k as j, g as P, l as Q } from "./index-ByDa_VMM.js";
7
+ import { s as R } from "./submission.queries-B9TjAyhw.js";
8
8
  const _ = (t) => async ({ params: o }) => {
9
9
  const s = Number(o.collectionId);
10
10
  return await t.ensureQueryData(P(s)), await t.prefetchInfiniteQuery(
@@ -2,7 +2,7 @@ import { jsx as r, jsxs as t, Fragment as c } from "react/jsx-runtime";
2
2
  import { WORKFLOW_RIGHTS as f } from "@edifice.io/collect-client-rest";
3
3
  import { useEdificeClient as u, useHasWorkflow as l, LoadingScreen as m, Layout as p } from "@edifice.io/react";
4
4
  import { useLoaderData as L, Outlet as e, ScrollRestoration as n } from "react-router-dom";
5
- import { P as d } from "./index-OJXRYkPM.js";
5
+ import { P as d } from "./index-ByDa_VMM.js";
6
6
  const g = async () => null;
7
7
  function E() {
8
8
  const { init: s } = u(), i = l(f.COLLECTION_ACCESS), o = L(), a = (o == null ? void 0 : o.header) !== !1;
@@ -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-DB1Sdcht.js";
5
+ import { u as g, A as T, C as j } from "./AppHeaderCollection-DtUeJ_7Q.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-3vJ4bXeM.js";
11
- import { b as W, c as z, d as G } from "./submission.queries-HU_px0-H.js";
12
- import { f as V, P as J, g as K } from "./index-OJXRYkPM.js";
10
+ import { u as w } from "./DropdownActionTable-DAureUPR.js";
11
+ import { b as W, c as z, d as G } from "./submission.queries-B9TjAyhw.js";
12
+ import { f as V, P as J, g as K } from "./index-ByDa_VMM.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-OJXRYkPM.js";
7
+ import { c as U, d as Y, e as k } from "./index-ByDa_VMM.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";