@edifice.io/collect-frontend 0.2.2-develop-pedago.2 → 0.2.2-develop-pedago.3
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-CdMZTmC6.js +170 -0
- package/lib/{CXEL7IU7-DVs75C4a.js → CXEL7IU7-BLUeaFt5.js} +2 -2
- package/lib/Collection-CUCjNGrr.js +472 -0
- package/lib/CollectionsLayout-DVYmui3o.js +187 -0
- package/lib/CollectionsList-Ba1LoCCN.js +310 -0
- package/lib/DeleteCollectionModal-CtmfiR2H.js +71 -0
- package/lib/DropdownActionTable-BhSk2sde.js +84 -0
- package/lib/FormEdit-DZFkw7z9.js +102 -0
- package/lib/{HASRA6WW-qb64R1U-.js → HASRA6WW-BPaxT9L-.js} +269 -269
- package/lib/{I3HPI4QX-DhV4n2OZ.js → I3HPI4QX-BuVHGkjY.js} +2 -2
- package/lib/MembersEdit-CblCChDS.js +77 -0
- package/lib/Root--z47Brfh.js +17 -0
- package/lib/SearchBarCollect-DBKaVVDV.js +23 -0
- package/lib/Submission-AzDGz_dM.js +257 -0
- package/lib/SubmissionList-Db_nRSqg.js +197 -0
- package/lib/index-HU8ua_Ev.js +3297 -0
- package/lib/index.js +7 -43
- package/lib/{submission.queries-CslqTzEP.js → submission.queries-Cr0bP5uv.js} +20 -17
- package/lib/useGetStatusSubmission-DxHmLPxr.js +57 -0
- package/package.json +1 -1
- package/lib/AppHeaderCollection-Bglbw6q9.js +0 -188
- package/lib/Collection-DYHQunUI.js +0 -463
- package/lib/CollectionsLayout-CPYEwl1X.js +0 -361
- package/lib/CollectionsList-Inb9z2nB.js +0 -315
- package/lib/DeleteCollectionModal-Dzsn2899.js +0 -112
- package/lib/DropdownActionTable-BLHrdk4t.js +0 -83
- package/lib/FormEdit-CwVhj3_4.js +0 -96
- package/lib/MathsModal-D8rTl0Sb.js +0 -42
- package/lib/MembersEdit-DDj8IWMX.js +0 -72
- package/lib/Root-DbGwe5v1.js +0 -13
- package/lib/SearchBarCollect-BAnLCwAC.js +0 -21
- package/lib/Submission-DUcQiBve.js +0 -249
- package/lib/SubmissionList-DjQ0x7eD.js +0 -695
- package/lib/heic-to-DuZ6uPPi.js +0 -72
- package/lib/index-Dt9ykSDF.js +0 -171658
- package/lib/useGetStatusSubmission-D77F1XUy.js +0 -55
package/lib/index.js
CHANGED
|
@@ -1,45 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ac as r, ad as o, ae as s, af as t, ag as p } from "./index-HU8ua_Ev.js";
|
|
2
|
+
export * from "@edifice.io/collect-client-rest";
|
|
2
3
|
export {
|
|
3
|
-
|
|
4
|
-
o as
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
b as CollectionStatus,
|
|
9
|
-
S as CollectionSubmissionDto,
|
|
10
|
-
c as ContribSubmissionStatus,
|
|
11
|
-
l as CreateAttachmentDto,
|
|
12
|
-
r as CreateCollectionDto,
|
|
13
|
-
D as CreateSharingDto,
|
|
14
|
-
C as CreateSubmissionDto,
|
|
15
|
-
u as DeleteSharingDto,
|
|
16
|
-
m as ManagerSubmissionStatus,
|
|
17
|
-
h as MediaType,
|
|
18
|
-
p as PageMetadataDto,
|
|
19
|
-
d as PaginatedListDto,
|
|
20
|
-
g as PaginationQueryDto,
|
|
21
|
-
R as Providers,
|
|
22
|
-
P as RecipientDto,
|
|
23
|
-
T as RecipientType,
|
|
24
|
-
U as SearchCollectionDto,
|
|
25
|
-
y as SearchCollectionResponseDto,
|
|
26
|
-
F as SearchCollectionStudentViewDto,
|
|
27
|
-
M as SearchCollectionToSubmitDto,
|
|
28
|
-
W as SearchSubmissionDto,
|
|
29
|
-
A as SearchSubmissionResponseDto,
|
|
30
|
-
H as SharingDto,
|
|
31
|
-
I as SharingPermission,
|
|
32
|
-
L as SortDirection,
|
|
33
|
-
O as SubmissionClient,
|
|
34
|
-
x as SubmissionDto,
|
|
35
|
-
G as SubmissionSortField,
|
|
36
|
-
K as SubmissionStatus,
|
|
37
|
-
Q as UpdateCollectionDto,
|
|
38
|
-
V as UpdateCollectionSharingDto,
|
|
39
|
-
_ as UpdateSubmissionStatusDto,
|
|
40
|
-
f as UserDto,
|
|
41
|
-
q as WORKFLOW_RIGHTS,
|
|
42
|
-
v as basename,
|
|
43
|
-
w as queryClient,
|
|
44
|
-
E as router
|
|
4
|
+
r as CollectApp,
|
|
5
|
+
o as Providers,
|
|
6
|
+
s as basename,
|
|
7
|
+
t as queryClient,
|
|
8
|
+
p as router
|
|
45
9
|
};
|
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
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-HU8ua_Ev.js";
|
|
3
|
+
import { odeServices as p } from "@edifice.io/client";
|
|
4
|
+
import { SubmissionClient as y } from "@edifice.io/collect-client-rest";
|
|
5
|
+
const d = "/collect/api", n = new y({
|
|
6
|
+
httpService: p.http(),
|
|
4
7
|
baseUrl: d
|
|
5
8
|
}), u = {
|
|
6
9
|
getSubmissions: (e, s) => n.getSubmissions(e, s),
|
|
7
10
|
getSubmission: (e, s) => n.getSubmission(e, s),
|
|
8
11
|
updateSubmission: (e, s, i) => n.updateSubmission(e, s, i),
|
|
9
12
|
updateSubmissionStatus: (e, s, i) => n.updateSubmissionStatus(e, s, i)
|
|
10
|
-
},
|
|
13
|
+
}, o = {
|
|
11
14
|
base: ["submissions"]
|
|
12
15
|
}, l = (e, s) => ({
|
|
13
|
-
queryKey: [...
|
|
16
|
+
queryKey: [...o.base, e, s],
|
|
14
17
|
queryFn: ({ pageParam: i = 1 }) => u.getSubmissions(e, {
|
|
15
18
|
...s,
|
|
16
19
|
size: c,
|
|
@@ -23,15 +26,15 @@ const d = "/collect/api", n = new S({
|
|
|
23
26
|
const { currentPage: t, totalPages: r } = i.meta || {};
|
|
24
27
|
return t < r ? t + 1 : void 0;
|
|
25
28
|
}
|
|
26
|
-
}),
|
|
29
|
+
}), O = (e, s) => b(l(e, s)), g = (e, s) => ({
|
|
27
30
|
queryKey: ["submission", s, e],
|
|
28
31
|
queryFn: () => u.getSubmission(e, s),
|
|
29
32
|
staleTime: 0
|
|
30
|
-
}),
|
|
33
|
+
}), U = (e, s) => S({
|
|
31
34
|
...g(e, s),
|
|
32
35
|
enabled: !!s
|
|
33
|
-
}),
|
|
34
|
-
const e =
|
|
36
|
+
}), _ = () => {
|
|
37
|
+
const e = a();
|
|
35
38
|
return m({
|
|
36
39
|
mutationFn: ({
|
|
37
40
|
collectionId: s,
|
|
@@ -41,15 +44,15 @@ const d = "/collect/api", n = new S({
|
|
|
41
44
|
onSuccess: () => {
|
|
42
45
|
e.invalidateQueries({
|
|
43
46
|
queryKey: [
|
|
44
|
-
...
|
|
47
|
+
...o.base,
|
|
45
48
|
"submission",
|
|
46
49
|
"collectionsToSubmit"
|
|
47
50
|
]
|
|
48
51
|
});
|
|
49
52
|
}
|
|
50
53
|
});
|
|
51
|
-
},
|
|
52
|
-
const e =
|
|
54
|
+
}, v = () => {
|
|
55
|
+
const e = a();
|
|
53
56
|
return m({
|
|
54
57
|
mutationFn: ({
|
|
55
58
|
collectionId: s,
|
|
@@ -62,7 +65,7 @@ const d = "/collect/api", n = new S({
|
|
|
62
65
|
),
|
|
63
66
|
onSuccess: (s, i) => {
|
|
64
67
|
e.invalidateQueries({
|
|
65
|
-
queryKey:
|
|
68
|
+
queryKey: o.base
|
|
66
69
|
}), i && e.invalidateQueries({
|
|
67
70
|
queryKey: [
|
|
68
71
|
"submission",
|
|
@@ -74,10 +77,10 @@ const d = "/collect/api", n = new S({
|
|
|
74
77
|
});
|
|
75
78
|
};
|
|
76
79
|
export {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
+
v as a,
|
|
81
|
+
_ as b,
|
|
82
|
+
U as c,
|
|
80
83
|
g as d,
|
|
81
84
|
l as s,
|
|
82
|
-
|
|
85
|
+
O as u
|
|
83
86
|
};
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { SubmissionStatus as n } from "@edifice.io/collect-client-rest";
|
|
2
|
+
import { useEdificeClient as a } from "@edifice.io/react";
|
|
3
|
+
import { useTranslation as r } from "react-i18next";
|
|
4
|
+
function f() {
|
|
5
|
+
const { appCode: u } = a(), { t } = r(u), s = (o) => ({
|
|
6
|
+
background: !0,
|
|
7
|
+
level: o,
|
|
8
|
+
type: "content"
|
|
9
|
+
}), c = () => ({
|
|
10
|
+
level: "success",
|
|
11
|
+
type: "notification"
|
|
12
|
+
});
|
|
13
|
+
return {
|
|
14
|
+
getSubmissionStatus: ({
|
|
15
|
+
status: o,
|
|
16
|
+
isPastDeadline: i,
|
|
17
|
+
isSubmissionCard: e = !1
|
|
18
|
+
}) => {
|
|
19
|
+
switch (o) {
|
|
20
|
+
case n.SUBMITTED:
|
|
21
|
+
return {
|
|
22
|
+
text: t("collection.submission.status.submitted"),
|
|
23
|
+
variant: s("success")
|
|
24
|
+
};
|
|
25
|
+
case n.EMPTY:
|
|
26
|
+
return {
|
|
27
|
+
text: t(
|
|
28
|
+
i ? "Non rendu" : "collection.submission.status.toSubmit"
|
|
29
|
+
),
|
|
30
|
+
variant: s(i ? "danger" : "warning")
|
|
31
|
+
};
|
|
32
|
+
case n.DRAFT:
|
|
33
|
+
return {
|
|
34
|
+
text: t(
|
|
35
|
+
i ? "collection.submission.status.submitted" : "collection.submission.status.toSubmit"
|
|
36
|
+
),
|
|
37
|
+
variant: s(i ? "success" : "warning")
|
|
38
|
+
};
|
|
39
|
+
case n.VERIFIED:
|
|
40
|
+
return {
|
|
41
|
+
text: t(
|
|
42
|
+
e ? "collection.submission.status.submitted" : "collection.submission.status.verified"
|
|
43
|
+
),
|
|
44
|
+
variant: e ? s("success") : c()
|
|
45
|
+
};
|
|
46
|
+
default:
|
|
47
|
+
return {
|
|
48
|
+
text: t("collection.submissionsList.status.toSubmit"),
|
|
49
|
+
variant: s("warning")
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
export {
|
|
56
|
+
f as u
|
|
57
|
+
};
|
package/package.json
CHANGED
|
@@ -1,188 +0,0 @@
|
|
|
1
|
-
import { j as s, u, d as p, F as c, B as r, I as x, t as g, k as v, l as j, ax as C, ay as S, n as f, q as w, az as I, s as y } from "./index-Dt9ykSDF.js";
|
|
2
|
-
import { u as b, D as L } from "./DropdownActionTable-BLHrdk4t.js";
|
|
3
|
-
const M = ({
|
|
4
|
-
title: n,
|
|
5
|
-
titleId: i,
|
|
6
|
-
...e
|
|
7
|
-
}) => /* @__PURE__ */ s.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": i, ...e, children: [
|
|
8
|
-
n ? /* @__PURE__ */ s.jsx("title", { id: i, children: n }) : null,
|
|
9
|
-
/* @__PURE__ */ s.jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M17 2a1 1 0 1 0-2 0v1H9V2a1 1 0 0 0-2 0v1H5a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h14a3 3 0 0 0 3-3V6a3 3 0 0 0-3-3h-2zm3 7V6a1 1 0 0 0-1-1h-2v1a1 1 0 1 1-2 0V5H9v1a1 1 0 0 1-2 0V5H5a1 1 0 0 0-1 1v3zM4 11h16v9a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1z", clipRule: "evenodd" })
|
|
10
|
-
] }), O = ({
|
|
11
|
-
title: n,
|
|
12
|
-
titleId: i,
|
|
13
|
-
...e
|
|
14
|
-
}) => /* @__PURE__ */ s.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": i, ...e, children: [
|
|
15
|
-
n ? /* @__PURE__ */ s.jsx("title", { id: i, children: n }) : null,
|
|
16
|
-
/* @__PURE__ */ s.jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M15.207 3.293a1 1 0 0 0-1.59 1.176l-3.17 3.17-3.798 1.425a1 1 0 0 0-.356.229l-1.5 1.5a1 1 0 0 0 0 1.414L7.586 15l-3.793 3.793a1 1 0 1 0 1.414 1.414L9 16.414l2.793 2.793a1 1 0 0 0 1.414 0l1.5-1.5a1 1 0 0 0 .23-.356l1.423-3.797 3.17-3.17a1 1 0 0 0 1.177-1.591l-.5-.5-4.5-4.5zM15 5.914l-3.293 3.293a1 1 0 0 1-.356.23L7.554 10.86l-.64.64 2.793 2.793 2.793 2.793.64-.64 1.424-3.797a1 1 0 0 1 .229-.356L18.086 9z", clipRule: "evenodd" })
|
|
17
|
-
] }), H = ({
|
|
18
|
-
title: n,
|
|
19
|
-
titleId: i,
|
|
20
|
-
...e
|
|
21
|
-
}) => /* @__PURE__ */ s.jsxs("svg", { xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", "aria-hidden": "true", "aria-labelledby": i, ...e, children: [
|
|
22
|
-
n ? /* @__PURE__ */ s.jsx("title", { id: i, children: n }) : null,
|
|
23
|
-
/* @__PURE__ */ s.jsx("path", { fill: "currentColor", fillRule: "evenodd", d: "M20.604 3.159a.91.91 0 0 1 .345 1.05l-6.364 18.182a.909.909 0 0 1-1.689.07l-3.494-7.863-7.862-3.495a.91.91 0 0 1 .069-1.688l18.158-6.356a.91.91 0 0 1 .837.1M11.175 14.11l6.742-6.742-4.29 12.258zM9.89 12.825l-5.515-2.452 12.257-4.29z", clipRule: "evenodd" })
|
|
24
|
-
] }), N = ({
|
|
25
|
-
collection: n
|
|
26
|
-
}) => {
|
|
27
|
-
const { appCode: i } = u(), { t: e } = p(i), t = b.use.onOpenInstructionModal();
|
|
28
|
-
return /* @__PURE__ */ s.jsxs(c, { gap: "16", justify: "end", children: [
|
|
29
|
-
/* @__PURE__ */ s.jsx(
|
|
30
|
-
r,
|
|
31
|
-
{
|
|
32
|
-
"data-testid": "collect-collection-actions-button-instruction",
|
|
33
|
-
variant: "outline",
|
|
34
|
-
color: "primary",
|
|
35
|
-
leftIcon: /* @__PURE__ */ s.jsx(O, {}),
|
|
36
|
-
onClick: t,
|
|
37
|
-
children: e("collection.appHeaderCollection.collection.button.instruction")
|
|
38
|
-
}
|
|
39
|
-
),
|
|
40
|
-
/* @__PURE__ */ s.jsx(L, { collectionId: n.id, isCollection: !0, children: (l) => /* @__PURE__ */ s.jsx(
|
|
41
|
-
x,
|
|
42
|
-
{
|
|
43
|
-
...l,
|
|
44
|
-
className: "icon-button-hover-no-transition bg-white",
|
|
45
|
-
type: "button",
|
|
46
|
-
"aria-label": "label",
|
|
47
|
-
"data-testid": "collect-collection-actions-button-options",
|
|
48
|
-
color: "primary",
|
|
49
|
-
variant: "outline",
|
|
50
|
-
icon: /* @__PURE__ */ s.jsx(g, {})
|
|
51
|
-
}
|
|
52
|
-
) })
|
|
53
|
-
] });
|
|
54
|
-
}, B = j((n) => ({
|
|
55
|
-
submissionId: null,
|
|
56
|
-
submissionContent: "",
|
|
57
|
-
isUpdateSubmissionModalOpen: !1,
|
|
58
|
-
submissionHasContent: !1,
|
|
59
|
-
submissionIsLoading: !1,
|
|
60
|
-
onOpenUpdateSubmissionModal: () => n({ isUpdateSubmissionModalOpen: !0 }),
|
|
61
|
-
onCloseUpdateSubmissionModal: () => n({ isUpdateSubmissionModalOpen: !1 }),
|
|
62
|
-
setSubmissionData: (i, e) => n({ submissionContent: i, submissionHasContent: e }),
|
|
63
|
-
setSubmissionIsLoading: (i) => n({ submissionIsLoading: i }),
|
|
64
|
-
hydrateSubmissionContent: (i) => n((e) => e.submissionId === i.id ? e : {
|
|
65
|
-
submissionId: i.id,
|
|
66
|
-
submissionContent: i.content || ""
|
|
67
|
-
})
|
|
68
|
-
})), A = v(
|
|
69
|
-
B
|
|
70
|
-
), z = ({
|
|
71
|
-
handleUpdateSubmission: n
|
|
72
|
-
}) => {
|
|
73
|
-
const { appCode: i } = u(), { t: e } = p(i), t = b.use.isPastDeadline(), {
|
|
74
|
-
submissionHasContent: l,
|
|
75
|
-
submissionIsLoading: d,
|
|
76
|
-
onOpenUpdateSubmissionModal: a
|
|
77
|
-
} = A((o) => ({
|
|
78
|
-
onOpenUpdateSubmissionModal: o.onOpenUpdateSubmissionModal,
|
|
79
|
-
submissionHasContent: o.submissionHasContent,
|
|
80
|
-
submissionIsLoading: o.submissionIsLoading
|
|
81
|
-
}));
|
|
82
|
-
return /* @__PURE__ */ s.jsxs(c, { gap: "16", justify: "end", children: [
|
|
83
|
-
/* @__PURE__ */ s.jsx(
|
|
84
|
-
r,
|
|
85
|
-
{
|
|
86
|
-
"data-testid": "collect-submission-app-header-actions-draft-button",
|
|
87
|
-
variant: "outline",
|
|
88
|
-
color: "primary",
|
|
89
|
-
leftIcon: /* @__PURE__ */ s.jsx(S, {}),
|
|
90
|
-
disabled: t,
|
|
91
|
-
isLoading: d,
|
|
92
|
-
onClick: () => n == null ? void 0 : n({
|
|
93
|
-
status: C.DRAFT
|
|
94
|
-
}),
|
|
95
|
-
children: e("collection.appHeaderSubmission.submission.button.draft")
|
|
96
|
-
}
|
|
97
|
-
),
|
|
98
|
-
/* @__PURE__ */ s.jsx(
|
|
99
|
-
r,
|
|
100
|
-
{
|
|
101
|
-
"data-testid": "collect-submission-app-header-actions-send-button",
|
|
102
|
-
variant: "filled",
|
|
103
|
-
color: "primary",
|
|
104
|
-
leftIcon: /* @__PURE__ */ s.jsx(H, {}),
|
|
105
|
-
disabled: t || !l,
|
|
106
|
-
onClick: () => a(),
|
|
107
|
-
children: e("collection.appHeaderSubmission.submission.button.send")
|
|
108
|
-
}
|
|
109
|
-
)
|
|
110
|
-
] });
|
|
111
|
-
};
|
|
112
|
-
var m = /* @__PURE__ */ ((n) => (n.COLLECTION = "COLLECTION", n.SUBMISSION = "SUBMISSION", n))(m || {});
|
|
113
|
-
const R = ({
|
|
114
|
-
collection: n,
|
|
115
|
-
onClickBack: i,
|
|
116
|
-
context: e,
|
|
117
|
-
handleUpdateSubmission: t
|
|
118
|
-
}) => {
|
|
119
|
-
const { appCode: l } = u(), { t: d } = p(l), { lg: a, md: o } = f(), { formatDate: h } = w();
|
|
120
|
-
return /* @__PURE__ */ s.jsxs("div", { className: `py-16 border-bottom bg-white ${o ? "px-48" : "px-16"}`, children: [
|
|
121
|
-
/* @__PURE__ */ s.jsx(c, { align: "center", gap: "8", children: /* @__PURE__ */ s.jsx(
|
|
122
|
-
r,
|
|
123
|
-
{
|
|
124
|
-
"data-testid": "collect-submission-app-header-button-back",
|
|
125
|
-
className: "text-gray-700",
|
|
126
|
-
color: "tertiary",
|
|
127
|
-
leftIcon: /* @__PURE__ */ s.jsx(I, { width: 20, height: 20 }),
|
|
128
|
-
type: "button",
|
|
129
|
-
variant: "ghost",
|
|
130
|
-
size: "sm",
|
|
131
|
-
onClick: i,
|
|
132
|
-
children: d("collection.back")
|
|
133
|
-
}
|
|
134
|
-
) }),
|
|
135
|
-
/* @__PURE__ */ s.jsxs(
|
|
136
|
-
c,
|
|
137
|
-
{
|
|
138
|
-
className: "w-100 mt-24",
|
|
139
|
-
justify: "between",
|
|
140
|
-
align: a ? "center" : "end",
|
|
141
|
-
gap: "12",
|
|
142
|
-
direction: a ? "row" : "column",
|
|
143
|
-
children: [
|
|
144
|
-
/* @__PURE__ */ s.jsxs(
|
|
145
|
-
"div",
|
|
146
|
-
{
|
|
147
|
-
className: `${o && "d-flex"} ${!a && "w-100"}`,
|
|
148
|
-
style: { maxWidth: a ? "70%" : "100%" },
|
|
149
|
-
children: [
|
|
150
|
-
/* @__PURE__ */ s.jsx(
|
|
151
|
-
"h2",
|
|
152
|
-
{
|
|
153
|
-
className: `text-truncate ${o ? "me-12" : "mb-12 text-truncate-2"}`,
|
|
154
|
-
children: n.name
|
|
155
|
-
}
|
|
156
|
-
),
|
|
157
|
-
/* @__PURE__ */ s.jsx(
|
|
158
|
-
y,
|
|
159
|
-
{
|
|
160
|
-
className: "lh-base",
|
|
161
|
-
style: { height: "3rem" },
|
|
162
|
-
variant: {
|
|
163
|
-
level: "info",
|
|
164
|
-
type: "notification"
|
|
165
|
-
},
|
|
166
|
-
children: /* @__PURE__ */ s.jsxs(c, { align: "center", gap: "8", children: [
|
|
167
|
-
/* @__PURE__ */ s.jsx(M, { height: 20, width: 20 }),
|
|
168
|
-
`${d("collection.appHeaderCollection.deadline")} ${h(n.deadline)}`
|
|
169
|
-
] })
|
|
170
|
-
}
|
|
171
|
-
)
|
|
172
|
-
]
|
|
173
|
-
}
|
|
174
|
-
),
|
|
175
|
-
e === m.COLLECTION ? /* @__PURE__ */ s.jsx(N, { collection: n }) : /* @__PURE__ */ s.jsx(z, { handleUpdateSubmission: t })
|
|
176
|
-
]
|
|
177
|
-
}
|
|
178
|
-
)
|
|
179
|
-
] });
|
|
180
|
-
};
|
|
181
|
-
export {
|
|
182
|
-
R as A,
|
|
183
|
-
m as C,
|
|
184
|
-
M as S,
|
|
185
|
-
O as a,
|
|
186
|
-
H as b,
|
|
187
|
-
A as u
|
|
188
|
-
};
|