@edifice.io/collect-frontend 0.2.2-develop-pedago.3.20260528144206 → 0.2.2-develop-pedago.3.20260601085629
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/{AppHeaderCollection-Bh4XGNEr.js → AppHeaderCollection-awI42LPL.js} +2 -2
- package/lib/{CXEL7IU7-NnBxmD3E.js → CXEL7IU7-6ovQWz0t.js} +2 -2
- package/lib/{Collection-BvSLge9d.js → Collection-BON6kSch.js} +5 -5
- package/lib/{CollectionsLayout-C-ndH3jh.js → CollectionsLayout-Cp71Tc4C.js} +1 -1
- package/lib/{CollectionsList-CLqkRDLH.js → CollectionsList-DSn4eZQQ.js} +3 -3
- package/lib/{DeleteCollectionModal-CVc6QeXk.js → DeleteCollectionModal-CLhZ938W.js} +2 -2
- package/lib/{DropdownActionTable-CEiELes3.js → DropdownActionTable-qV7NgrCu.js} +1 -1
- package/lib/{FormEdit-CfYHOZdD.js → FormEdit-D_DBnuBu.js} +2 -2
- package/lib/{HASRA6WW-D3n_hxVo.js → HASRA6WW-gwsZScxb.js} +1 -1
- package/lib/{I3HPI4QX-CUQjYbOB.js → I3HPI4QX-CgE9Zl6y.js} +2 -2
- package/lib/{MembersEdit-DqPgBvrn.js → MembersEdit-CYAcEdVl.js} +8 -8
- package/lib/MineSubmission-C3ArwfeF.js +17 -0
- package/lib/{Root-DM-bvQhq.js → Root-CbaNT6Vh.js} +1 -1
- package/lib/{Submission-D-XQLZTJ.js → Submission-CEyLQGrf.js} +4 -4
- package/lib/{SubmissionList-DthOUIqd.js → SubmissionList-Bmd9Wu8a.js} +7 -7
- package/lib/{index-DomYCCTP.js → index-Dmgx1btS.js} +29 -21
- package/lib/index.js +1 -1
- package/lib/pages/MineSubmission.d.ts +6 -0
- package/lib/{submission.queries-qPbODIvy.js → submission.queries-2eGl6UA_.js} +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
5
|
+
import { u as b, D as w } from "./DropdownActionTable-qV7NgrCu.js";
|
|
6
6
|
import { ContribSubmissionStatus as x } from "@edifice.io/collect-client-rest";
|
|
7
7
|
import { create as A } from "zustand";
|
|
8
|
-
import { K as H } from "./index-
|
|
8
|
+
import { K as H } from "./index-Dmgx1btS.js";
|
|
9
9
|
const D = ({
|
|
10
10
|
collection: o
|
|
11
11
|
}) => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as s, T as c, a as u, b as i, P as m, C as P, Q as d } from "./HASRA6WW-
|
|
2
|
-
import { U as v, G as C, y as e } from "./index-
|
|
1
|
+
import { c as s, T as c, a as u, b as i, P as m, C as P, Q as d } from "./HASRA6WW-gwsZScxb.js";
|
|
2
|
+
import { U as v, G as C, y as e } from "./index-Dmgx1btS.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 K, EmptyScreen as _, 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-
|
|
6
|
+
import { A as Z, C as q } from "./AppHeaderCollection-awI42LPL.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 { b as ie, d as oe, a as ae } from "./submission.queries-
|
|
9
|
+
import { b as ie, d as oe, a as ae } from "./submission.queries-2eGl6UA_.js";
|
|
10
10
|
import { create as ce } from "zustand";
|
|
11
|
-
import { K as le, ak as re, P as de, u as ue } from "./index-
|
|
11
|
+
import { K as le, ak as re, P as de, u as ue } from "./index-Dmgx1btS.js";
|
|
12
12
|
import { u as F } from "./useGetStatusSubmission-DxHmLPxr.js";
|
|
13
|
-
import { u as E } from "./DropdownActionTable-
|
|
14
|
-
import { D as me } from "./DeleteCollectionModal-
|
|
13
|
+
import { u as E } from "./DropdownActionTable-qV7NgrCu.js";
|
|
14
|
+
import { D as me } from "./DeleteCollectionModal-CLhZ938W.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 { aj as E, M as a, A as T, e as w } from "./index-
|
|
6
|
+
import { aj as E, M as a, A as T, e as w } from "./index-Dmgx1btS.js";
|
|
7
7
|
const j = async () => null, B = () => {
|
|
8
8
|
const { currentApp: l } = 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 === `/${a.LIST_COLLECTIONS}`;
|
|
9
9
|
return n !== void 0 && !n && p ? /* @__PURE__ */ e(O, { to: `/${a.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 { K as F, al as M, W as O, v as R } from "./index-
|
|
4
|
+
import { K as F, al as M, W as O, v as R } from "./index-Dmgx1btS.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-
|
|
8
|
+
import { D as W } from "./DeleteCollectionModal-CLhZ938W.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 K, IconRafterRight as z, 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-
|
|
14
|
+
import { D as V } from "./DropdownActionTable-qV7NgrCu.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 f, Modal as d, Button as C } from "@edifice.io/react";
|
|
3
3
|
import { IconDelete as h } from "@edifice.io/react/icons";
|
|
4
4
|
import { useTranslation as p } from "react-i18next";
|
|
5
|
-
import {
|
|
6
|
-
import { u as D } from "./DropdownActionTable-
|
|
5
|
+
import { aq as M } from "./index-Dmgx1btS.js";
|
|
6
|
+
import { u as D } from "./DropdownActionTable-qV7NgrCu.js";
|
|
7
7
|
const y = () => {
|
|
8
8
|
const { appCode: r } = m(), { t: n } = p(r), e = f(), 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 O, IconShare as h, 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 { K as M } from "./index-
|
|
9
|
+
import { K as M } from "./index-Dmgx1btS.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 O } from "react";
|
|
5
5
|
import { useTranslation as k } from "react-i18next";
|
|
6
6
|
import { useParams as F, useNavigate as P } from "react-router-dom";
|
|
7
|
-
import {
|
|
8
|
-
import { a as S } from "./submission.queries-
|
|
7
|
+
import { au as T, ak as Q, P as R, f as W, u as j } from "./index-Dmgx1btS.js";
|
|
8
|
+
import { a as S } from "./submission.queries-2eGl6UA_.js";
|
|
9
9
|
const K = (n) => async ({ params: i }) => {
|
|
10
10
|
const s = Number(i.collectionId);
|
|
11
11
|
return await n.ensureQueryData(j(s)), await n.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 { L as z, E as H, G as D, y as v, B as xe, a5 as wt, k as _o, m as N, a0 as k, H as U, s as T, t as ws, O as or,
|
|
4
|
+
import { L as z, E as H, G as D, y as v, B as xe, a5 as wt, k as _o, m as N, a0 as k, H as U, s as T, t as ws, O as or, an as $e, a4 as V, aa as Un, a2 as Vn, a3 as dt, a9 as A, ae as q, Z as xs, ah as cn, N as Ne, q as $s, Y as qt, T as zt, V as Cs, X as Ss, R as $n, F as ks, x as Br, af as Kt, $ as Ro, ac as Es, a1 as W, J as Nr, a8 as Ds, I as Ms, ag as ir, at as As, o as Ts, ad as Fs, g as zn, n as Is, Q as Os, ab as oe, D as Ls, z as Ps } from "./index-Dmgx1btS.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, a as m, b as u, D as v, Q as i } from "./HASRA6WW-
|
|
2
|
-
import { U as d, G as f, y as e } from "./index-
|
|
1
|
+
import { c, T as l, a as m, b as u, D as v, Q as i } from "./HASRA6WW-gwsZScxb.js";
|
|
2
|
+
import { U as d, G as f, y as e } from "./index-Dmgx1btS.js";
|
|
3
3
|
var p = (a) => {
|
|
4
4
|
const [r, t] = c({
|
|
5
5
|
prefix: "TanstackQueryDevtools"
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { jsx as e, jsxs as c } from "react/jsx-runtime";
|
|
2
2
|
import { WORKFLOW_RIGHTS as x } from "@edifice.io/collect-client-rest";
|
|
3
|
-
import { useEdificeClient as N, useBreakpoint as T, useToast as
|
|
3
|
+
import { useEdificeClient as N, useBreakpoint as T, useToast as w, useHasWorkflow as I, 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 {
|
|
7
|
-
import { a as U } from "./submission.queries-
|
|
6
|
+
import { av as k, aw as m, ak as A, P as L, h as P, u as Q, r as R } from "./index-Dmgx1btS.js";
|
|
7
|
+
import { a as U } from "./submission.queries-2eGl6UA_.js";
|
|
8
8
|
const _ = (t) => async ({ params: o }) => {
|
|
9
9
|
const s = Number(o.collectionId);
|
|
10
10
|
return await t.ensureQueryData(Q(s)), await t.prefetchInfiniteQuery(
|
|
11
11
|
U(s)
|
|
12
12
|
), null;
|
|
13
13
|
}, K = () => {
|
|
14
|
-
const { appCode: t } = N(), { t: o } = E(t), { lg: s } = T(), p = O(), r =
|
|
14
|
+
const { appCode: t } = N(), { t: o } = E(t), { lg: s } = T(), p = O(), r = w(), n = S(), g = I(x.COLLECTION_CREATE), h = k(), f = m.use.usersToAdd(), b = m.use.usersToDelete(), { data: i, isLoading: a } = A(
|
|
15
15
|
Number(p.collectionId)
|
|
16
16
|
);
|
|
17
17
|
if (a)
|
|
@@ -36,7 +36,7 @@ const _ = (t) => async ({ params: o }) => {
|
|
|
36
36
|
};
|
|
37
37
|
return /* @__PURE__ */ c("div", { className: "w-100", children: [
|
|
38
38
|
/* @__PURE__ */ e(l, { className: "flex-grow-1 gap-64 px-md-8 px-lg-48 position-relative", children: /* @__PURE__ */ e(l.Col, { sm: "4", md: "8", xl: "12", className: `${s && "ms-64"}`, children: /* @__PURE__ */ e(
|
|
39
|
-
|
|
39
|
+
d,
|
|
40
40
|
{
|
|
41
41
|
direction: "column",
|
|
42
42
|
gap: "16",
|
|
@@ -44,9 +44,9 @@ const _ = (t) => async ({ params: o }) => {
|
|
|
44
44
|
children: /* @__PURE__ */ e(P, { collection: i })
|
|
45
45
|
}
|
|
46
46
|
) }) }),
|
|
47
|
-
/* @__PURE__ */ c(
|
|
47
|
+
/* @__PURE__ */ c(d, { justify: "end", className: "mt-auto px-48 pb-64 gap-16", children: [
|
|
48
48
|
/* @__PURE__ */ e(
|
|
49
|
-
|
|
49
|
+
u,
|
|
50
50
|
{
|
|
51
51
|
variant: "outline",
|
|
52
52
|
color: "primary",
|
|
@@ -57,7 +57,7 @@ const _ = (t) => async ({ params: o }) => {
|
|
|
57
57
|
}
|
|
58
58
|
),
|
|
59
59
|
/* @__PURE__ */ e(
|
|
60
|
-
|
|
60
|
+
u,
|
|
61
61
|
{
|
|
62
62
|
variant: "filled",
|
|
63
63
|
color: "primary",
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
+
import { useParams as u, Navigate as l } from "react-router-dom";
|
|
3
|
+
import { LoadingScreen as a } from "@edifice.io/react";
|
|
4
|
+
import { am as d } from "./index-Dmgx1btS.js";
|
|
5
|
+
function g() {
|
|
6
|
+
var n, e;
|
|
7
|
+
const { collectionId: i } = u(), s = Number(i), { data: o, isLoading: m } = d(
|
|
8
|
+
isNaN(s) ? [] : [s]
|
|
9
|
+
);
|
|
10
|
+
if (m)
|
|
11
|
+
return /* @__PURE__ */ r(a, {});
|
|
12
|
+
const t = (e = (n = o == null ? void 0 : o.items) == null ? void 0 : n[0]) == null ? void 0 : e.submissionId, c = t ? `/list-collections/id/${i}/submission/${t}` : `/list-collections/id/${i}`;
|
|
13
|
+
return /* @__PURE__ */ r(l, { to: c, replace: !0 });
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
g as MineSubmission
|
|
17
|
+
};
|
|
@@ -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-
|
|
5
|
+
import { P as d } from "./index-Dmgx1btS.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 r, Heading as y, IconButton as v, Modal as u, Button as f, useToast as E, useBreakpoint as O, Grid as g, 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 h, A as T, C as j } from "./AppHeaderCollection-
|
|
5
|
+
import { u as h, A as T, C as j } from "./AppHeaderCollection-awI42LPL.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 p } from "react-i18next";
|
|
9
9
|
import { ContribSubmissionStatus as $ } from "@edifice.io/collect-client-rest";
|
|
10
|
-
import { u as D } from "./DropdownActionTable-
|
|
11
|
-
import { c as W, u as z, s as G } from "./submission.queries-
|
|
12
|
-
import { ak as V, P as J, u as K } from "./index-
|
|
10
|
+
import { u as D } from "./DropdownActionTable-qV7NgrCu.js";
|
|
11
|
+
import { c as W, u as z, s as G } from "./submission.queries-2eGl6UA_.js";
|
|
12
|
+
import { ak as V, P as J, u as K } from "./index-Dmgx1btS.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 x } from "react-i18next";
|
|
6
6
|
import { create as R } from "zustand";
|
|
7
|
-
import { K as U,
|
|
7
|
+
import { K as U, ar as Y, w as k } from "./index-Dmgx1btS.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";
|
|
@@ -44,7 +44,7 @@ const Q = {
|
|
|
44
44
|
value: o ?? "all"
|
|
45
45
|
}
|
|
46
46
|
) });
|
|
47
|
-
},
|
|
47
|
+
}, K = ({
|
|
48
48
|
collectionToSubmit: e,
|
|
49
49
|
onClick: s
|
|
50
50
|
}) => {
|
|
@@ -120,7 +120,7 @@ const Q = {
|
|
|
120
120
|
) })
|
|
121
121
|
] }) })
|
|
122
122
|
] });
|
|
123
|
-
},
|
|
123
|
+
}, W = () => {
|
|
124
124
|
var h, y;
|
|
125
125
|
const { filter: e, search: s } = S(), o = e || void 0, a = s || void 0, { data: i, isLoading: m, fetchNextPage: l } = Y({
|
|
126
126
|
filter: o,
|
|
@@ -133,17 +133,17 @@ const Q = {
|
|
|
133
133
|
hasData: d,
|
|
134
134
|
fetchNextPage: l
|
|
135
135
|
};
|
|
136
|
-
},
|
|
136
|
+
}, _ = () => {
|
|
137
137
|
const { appCode: e } = b(), { t: s } = x(e), o = A(), {
|
|
138
138
|
collectionsToSubmit: a,
|
|
139
139
|
isLoading: i,
|
|
140
140
|
hasMoreResources: m,
|
|
141
141
|
hasData: l,
|
|
142
142
|
fetchNextPage: c
|
|
143
|
-
} =
|
|
143
|
+
} = W();
|
|
144
144
|
return i ? /* @__PURE__ */ t(M, {}) : l ? /* @__PURE__ */ r(f, { className: "w-100 p-24", "data-testid": "collect-list-submissions-grid", children: [
|
|
145
145
|
a.map((n, u) => /* @__PURE__ */ t(f.Col, { sm: "4", md: "4", lg: "4", xl: "4", children: /* @__PURE__ */ t(
|
|
146
|
-
|
|
146
|
+
K,
|
|
147
147
|
{
|
|
148
148
|
"data-testid": "collect-list-submissions-card",
|
|
149
149
|
collectionToSubmit: n,
|
|
@@ -195,7 +195,7 @@ const Q = {
|
|
|
195
195
|
]
|
|
196
196
|
}
|
|
197
197
|
),
|
|
198
|
-
/* @__PURE__ */ t(
|
|
198
|
+
/* @__PURE__ */ t(_, {})
|
|
199
199
|
] });
|
|
200
200
|
};
|
|
201
201
|
export {
|
|
@@ -1983,7 +1983,7 @@ var Cl = (e, t = !1) => {
|
|
|
1983
1983
|
const t = ir(() => {
|
|
1984
1984
|
const n = this, [r] = y(this, we), [s] = y(this, Ie), [o] = y(this, Ae), [i] = y(this, Te), [l] = y(this, Se);
|
|
1985
1985
|
let c;
|
|
1986
|
-
return y(this, Oe) ? c = y(this, Oe) : (c = sr(() => import("./I3HPI4QX-
|
|
1986
|
+
return y(this, Oe) ? c = y(this, Oe) : (c = sr(() => import("./I3HPI4QX-CgE9Zl6y.js")), O(this, Oe, c)), Tr(y(this, Ze), y(this, Ce)), nr(c, rr({
|
|
1987
1987
|
get queryFlavor() {
|
|
1988
1988
|
return y(n, Xe);
|
|
1989
1989
|
},
|
|
@@ -2077,7 +2077,7 @@ var Cl = (e, t = !1) => {
|
|
|
2077
2077
|
const t = ir(() => {
|
|
2078
2078
|
const n = this, [r] = y(this, xe), [s] = y(this, Re), [o] = y(this, Pe), [i] = y(this, Me), [l] = y(this, Ee), [c] = y(this, ke);
|
|
2079
2079
|
let a;
|
|
2080
|
-
return y(this, Le) ? a = y(this, Le) : (a = sr(() => import("./CXEL7IU7-
|
|
2080
|
+
return y(this, Le) ? a = y(this, Le) : (a = sr(() => import("./CXEL7IU7-6ovQWz0t.js")), O(this, Le, a)), Tr(y(this, rt), y(this, Ne)), nr(a, rr({
|
|
2081
2081
|
get queryFlavor() {
|
|
2082
2082
|
return y(n, tt);
|
|
2083
2083
|
},
|
|
@@ -3210,7 +3210,7 @@ const qr = (e, t) => {
|
|
|
3210
3210
|
path: "/",
|
|
3211
3211
|
loader: r,
|
|
3212
3212
|
async lazy() {
|
|
3213
|
-
const { loader: s, Root: o } = await import("./Root-
|
|
3213
|
+
const { loader: s, Root: o } = await import("./Root-CbaNT6Vh.js");
|
|
3214
3214
|
return {
|
|
3215
3215
|
loader: async () => {
|
|
3216
3216
|
const i = await r(), l = await s() ?? {};
|
|
@@ -3222,14 +3222,14 @@ const qr = (e, t) => {
|
|
|
3222
3222
|
children: [
|
|
3223
3223
|
{
|
|
3224
3224
|
async lazy() {
|
|
3225
|
-
const { loader: s, Component: o } = await import("./CollectionsLayout-
|
|
3225
|
+
const { loader: s, Component: o } = await import("./CollectionsLayout-Cp71Tc4C.js");
|
|
3226
3226
|
return { loader: s, Component: o };
|
|
3227
3227
|
},
|
|
3228
3228
|
children: [
|
|
3229
3229
|
{
|
|
3230
3230
|
index: !0,
|
|
3231
3231
|
async lazy() {
|
|
3232
|
-
const { loader: s, CollectionsList: o } = await import("./CollectionsList-
|
|
3232
|
+
const { loader: s, CollectionsList: o } = await import("./CollectionsList-DSn4eZQQ.js");
|
|
3233
3233
|
return {
|
|
3234
3234
|
loader: () => s(e),
|
|
3235
3235
|
Component: o
|
|
@@ -3239,7 +3239,7 @@ const qr = (e, t) => {
|
|
|
3239
3239
|
{
|
|
3240
3240
|
path: "list-collections",
|
|
3241
3241
|
async lazy() {
|
|
3242
|
-
const { loader: s, CollectionsList: o } = await import("./CollectionsList-
|
|
3242
|
+
const { loader: s, CollectionsList: o } = await import("./CollectionsList-DSn4eZQQ.js");
|
|
3243
3243
|
return {
|
|
3244
3244
|
loader: () => s(e),
|
|
3245
3245
|
Component: o
|
|
@@ -3249,7 +3249,7 @@ const qr = (e, t) => {
|
|
|
3249
3249
|
{
|
|
3250
3250
|
path: "list-submissions",
|
|
3251
3251
|
async lazy() {
|
|
3252
|
-
const { loader: s, SubmissionsList: o } = await import("./SubmissionList-
|
|
3252
|
+
const { loader: s, SubmissionsList: o } = await import("./SubmissionList-Bmd9Wu8a.js");
|
|
3253
3253
|
return {
|
|
3254
3254
|
loader: () => s(e),
|
|
3255
3255
|
Component: o
|
|
@@ -3265,21 +3265,28 @@ const qr = (e, t) => {
|
|
|
3265
3265
|
{
|
|
3266
3266
|
path: "list-collections/id/:collectionId",
|
|
3267
3267
|
async lazy() {
|
|
3268
|
-
const { loader: s, Collection: o } = await import("./Collection-
|
|
3268
|
+
const { loader: s, Collection: o } = await import("./Collection-BON6kSch.js");
|
|
3269
3269
|
return { loader: () => s(e), Component: o };
|
|
3270
3270
|
}
|
|
3271
3271
|
},
|
|
3272
|
+
{
|
|
3273
|
+
path: "list-collections/id/:collectionId/submission/mine",
|
|
3274
|
+
async lazy() {
|
|
3275
|
+
const { MineSubmission: s } = await import("./MineSubmission-C3ArwfeF.js");
|
|
3276
|
+
return { Component: s };
|
|
3277
|
+
}
|
|
3278
|
+
},
|
|
3272
3279
|
{
|
|
3273
3280
|
path: "list-collections/id/:collectionId/submission/:submissionId",
|
|
3274
3281
|
async lazy() {
|
|
3275
|
-
const { loader: s, Submission: o } = await import("./Submission-
|
|
3282
|
+
const { loader: s, Submission: o } = await import("./Submission-CEyLQGrf.js");
|
|
3276
3283
|
return { loader: () => s(e), Component: o };
|
|
3277
3284
|
}
|
|
3278
3285
|
},
|
|
3279
3286
|
{
|
|
3280
3287
|
path: "id/:collectionId/members",
|
|
3281
3288
|
async lazy() {
|
|
3282
|
-
const { loader: s, MembersEdit: o } = await import("./MembersEdit-
|
|
3289
|
+
const { loader: s, MembersEdit: o } = await import("./MembersEdit-CYAcEdVl.js");
|
|
3283
3290
|
return {
|
|
3284
3291
|
loader: () => s(e),
|
|
3285
3292
|
Component: o
|
|
@@ -3289,7 +3296,7 @@ const qr = (e, t) => {
|
|
|
3289
3296
|
{
|
|
3290
3297
|
path: "id/:collectionId/form",
|
|
3291
3298
|
async lazy() {
|
|
3292
|
-
const { loader: s, FormEdit: o } = await import("./FormEdit-
|
|
3299
|
+
const { loader: s, FormEdit: o } = await import("./FormEdit-D_DBnuBu.js");
|
|
3293
3300
|
return { loader: () => s(e), Component: o };
|
|
3294
3301
|
}
|
|
3295
3302
|
}
|
|
@@ -3717,16 +3724,17 @@ export {
|
|
|
3717
3724
|
Rl as aj,
|
|
3718
3725
|
Si as ak,
|
|
3719
3726
|
bi as al,
|
|
3720
|
-
|
|
3721
|
-
|
|
3722
|
-
|
|
3723
|
-
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
|
|
3727
|
-
|
|
3728
|
-
|
|
3729
|
-
|
|
3727
|
+
wi as am,
|
|
3728
|
+
sl as an,
|
|
3729
|
+
Fl as ao,
|
|
3730
|
+
_l as ap,
|
|
3731
|
+
Ai as aq,
|
|
3732
|
+
vi as ar,
|
|
3733
|
+
Fi as as,
|
|
3734
|
+
nl as at,
|
|
3735
|
+
Ii as au,
|
|
3736
|
+
Ti as av,
|
|
3737
|
+
me as aw,
|
|
3730
3738
|
vs as b,
|
|
3731
3739
|
Ml as c,
|
|
3732
3740
|
Ll as d,
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as o, a as s, b as t, C as r, c as n, d as p, e as i, i as l, j as C, l as c, p as A, _ as u, a6 as d, a7 as x, ai as m,
|
|
1
|
+
import { A as o, a as s, b as t, C as r, c as n, d as p, e as i, i as l, j as C, l as c, p as A, _ as u, a6 as d, a7 as x, ai as m, ao as H, ap as M, as as v } from "./index-Dmgx1btS.js";
|
|
2
2
|
export * from "@edifice.io/collect-client-rest";
|
|
3
3
|
export {
|
|
4
4
|
o as AppActionHeader,
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Resolves the current user's submission for a collection and redirects to it.
|
|
3
|
+
* Used by contributor notifications (collect sharing/update) to display each
|
|
4
|
+
* recipient's own submission — same URL for all, works in batch.
|
|
5
|
+
*/
|
|
6
|
+
export declare function MineSubmission(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -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-
|
|
2
|
+
import { S as c } from "./index-Dmgx1btS.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({
|