mario-education 2.0.170-staging → 2.0.171-staging
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/dist/SentEmailLogs-CiQ9rEj6.cjs +1 -0
- package/dist/SentEmailLogs-CnmKJ4rj.js +333 -0
- package/dist/containers/SentEmailLogs/views/SentEmailLogs.d.ts +21 -0
- package/dist/containers/SurveyDashboard/components/CreateSurveyV2/SelectStudentsStep.d.ts +0 -2
- package/dist/containers/SurveyDashboard/hooks/useSelectStudentsStep.d.ts +0 -2
- package/dist/containers/SurveyDashboard/types/createSurveyV2.types.d.ts +0 -5
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -1
- package/dist/index.modern.js +8 -7
- package/dist/mario-education.css +1 -1
- package/dist/services/emailLogService.d.ts +10 -0
- package/package.json +2 -2
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),l=require("react"),L=require("mario-core"),I=`${L.BASE_URL}/api/Email`,M=r=>L.api.get(`${I}/sent-logs`,{params:r}),T=()=>{const[r,g]=l.useState(""),[m,v]=l.useState(""),[h,N]=l.useState(""),[u,f]=l.useState(""),[x,c]=l.useState(1),[d,B]=l.useState(20),[a,P]=l.useState({totalItems:0,page:1,pageSize:20,totalPages:0,items:[]}),[o,y]=l.useState(!1),[S,C]=l.useState(null),[t,p]=l.useState(null),[k,j]=l.useState(!1),w=l.useCallback(async(s=x,i=d)=>{y(!0),C(null);try{const n={page:s,pageSize:i};r.trim()&&(n.searchEmail=r.trim()),m.trim()&&(n.status=m.trim()),h&&(n.startDate=h),u&&(n.endDate=u);const b=await M(n);b&&b.data&&P(b.data)}catch(n){console.error("Failed to load sent email logs:",n),C(n?.response?.data?.message||n?.message||"Failed to load email logs. Please try again.")}finally{y(!1)}},[x,d,r,m,h,u]);l.useEffect(()=>{w(x,d)},[x,d]);const R=s=>{s.preventDefault(),c(1),w(1,d)},A=()=>{g(""),v(""),N(""),f(""),c(1)},z=async()=>{if(t?.statusBody)try{await navigator.clipboard.writeText(t.statusBody),j(!0),setTimeout(()=>j(!1),2e3)}catch{const s=document.createElement("textarea");s.value=t.statusBody,document.body.appendChild(s),s.select(),document.execCommand("copy"),document.body.removeChild(s),j(!0),setTimeout(()=>j(!1),2e3)}},E=s=>{if(!s)return"-";try{return new Date(s).toLocaleString(void 0,{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"})}catch{return s}},F=s=>{if(!s)return"No status body available.";try{const i=JSON.parse(s);return JSON.stringify(i,null,2)}catch{return s}},D=s=>{if(!s)return e.jsx("span",{className:"badge bg-secondary badge-status",children:"Unknown"});const i=s.toLowerCase();return i==="accepted"||s==="200"||s==="202"?e.jsx("span",{className:"badge bg-success badge-status",children:s}):i==="skipped"?e.jsx("span",{className:"badge bg-warning text-dark badge-status",children:"Skipped"}):s.startsWith("4")||s.startsWith("5")||i.includes("fail")||i.includes("error")?e.jsx("span",{className:"badge bg-danger badge-status",children:s}):e.jsx("span",{className:"badge bg-info text-dark badge-status",children:s})};return e.jsxs("div",{className:"sent-email-logs-page fadeIn animated",children:[e.jsxs("div",{className:"page-header",children:[e.jsxs("h1",{className:"page-title",children:["Sent Email Logs",e.jsx("span",{className:"internal-badge",children:"Admin Diagnostic"})]}),e.jsx("p",{className:"page-subtitle",children:"Internal dispatch logs from SendGrid and MailJet fallback for debugging delivery issues."})]}),e.jsx("div",{className:"filter-card",children:e.jsxs("form",{onSubmit:R,className:"row g-3",children:[e.jsxs("div",{className:"col-md-3",children:[e.jsx("label",{className:"form-label",htmlFor:"filter-email",children:"Recipient Email"}),e.jsx("input",{id:"filter-email",type:"text",className:"form-control form-control-sm",placeholder:"e.g. user@school.com",value:r,onChange:s=>g(s.target.value)})]}),e.jsxs("div",{className:"col-md-2",children:[e.jsx("label",{className:"form-label",htmlFor:"filter-status",children:"Status"}),e.jsxs("select",{id:"filter-status",className:"form-select form-select-sm",value:m,onChange:s=>v(s.target.value),children:[e.jsx("option",{value:"",children:"All Statuses"}),e.jsx("option",{value:"Accepted",children:"Accepted (Success)"}),e.jsx("option",{value:"Skipped",children:"Skipped"}),e.jsx("option",{value:"401",children:"401 (Unauthorized)"}),e.jsx("option",{value:"400",children:"400 (Bad Request)"}),e.jsx("option",{value:"500",children:"500 (Server Error)"})]})]}),e.jsxs("div",{className:"col-md-2",children:[e.jsx("label",{className:"form-label",htmlFor:"filter-start-date",children:"Start Date"}),e.jsx("input",{id:"filter-start-date",type:"date",className:"form-control form-control-sm",value:h,onChange:s=>N(s.target.value)})]}),e.jsxs("div",{className:"col-md-2",children:[e.jsx("label",{className:"form-label",htmlFor:"filter-end-date",children:"End Date"}),e.jsx("input",{id:"filter-end-date",type:"date",className:"form-control form-control-sm",value:u,onChange:s=>f(s.target.value)})]}),e.jsxs("div",{className:"col-md-3 btn-filter-group",children:[e.jsx("button",{type:"submit",className:"btn btn-primary btn-sm px-3",disabled:o,children:"Search"}),e.jsx("button",{type:"button",className:"btn btn-outline-secondary btn-sm px-3",onClick:A,disabled:o,children:"Reset"})]})]})}),S&&e.jsx("div",{className:"alert alert-danger d-flex align-items-center mb-3",role:"alert",children:e.jsx("div",{children:S})}),e.jsx("div",{className:"table-card",children:o?e.jsxs("div",{className:"loading-state",children:[e.jsx("div",{className:"spinner-border text-primary",role:"status",children:e.jsx("span",{className:"visually-hidden",children:"Loading..."})}),e.jsx("div",{children:"Loading email logs..."})]}):a.items&&a.items.length>0?e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"table-responsive",children:e.jsxs("table",{className:"table table-hover align-middle",children:[e.jsx("thead",{children:e.jsxs("tr",{children:[e.jsx("th",{style:{width:"70px"},children:"# ID"}),e.jsx("th",{style:{width:"170px"},children:"Date & Time"}),e.jsx("th",{children:"Recipient Email"}),e.jsx("th",{children:"Subject"}),e.jsx("th",{style:{width:"110px"},children:"Provider"}),e.jsx("th",{style:{width:"100px"},children:"Status"}),e.jsx("th",{style:{width:"110px",textAlign:"center"},children:"Details"})]})}),e.jsx("tbody",{children:a.items.map(s=>e.jsxs("tr",{children:[e.jsxs("td",{className:"text-muted",children:["#",s.id]}),e.jsx("td",{className:"text-nowrap",children:E(s.createdAt)}),e.jsx("td",{className:"email-cell",children:s.emailRecipient||"-"}),e.jsx("td",{className:"subject-cell",title:s.subject||"",children:s.subject||"-"}),e.jsx("td",{children:e.jsx("span",{className:`badge badge-provider ${s.mailSendBy===1?"provider-mailjet":"provider-sendgrid"}`,children:s.providerName||(s.mailSendBy===1?"MailJet":"SendGrid")})}),e.jsx("td",{children:D(s.statusCode)}),e.jsx("td",{style:{textAlign:"center"},children:e.jsx("button",{type:"button",className:"btn btn-outline-primary btn-sm py-0 px-2",onClick:()=>p(s),children:"View"})})]},s.id))})]})}),e.jsxs("div",{className:"pagination-bar",children:[e.jsxs("div",{className:"pagination-info",children:["Showing"," ",e.jsxs("strong",{children:[a.totalItems===0?0:(a.page-1)*a.pageSize+1," -"," ",Math.min(a.page*a.pageSize,a.totalItems)]})," ","of ",e.jsx("strong",{children:a.totalItems})," logs (Page ",a.page," of ",a.totalPages||1,")"]}),e.jsxs("div",{className:"pagination-actions",children:[e.jsxs("select",{className:"form-select form-select-sm",style:{width:"100px"},value:d,onChange:s=>{const i=Number(s.target.value);B(i),c(1)},children:[e.jsx("option",{value:10,children:"10 / page"}),e.jsx("option",{value:20,children:"20 / page"}),e.jsx("option",{value:50,children:"50 / page"}),e.jsx("option",{value:100,children:"100 / page"})]}),e.jsx("button",{type:"button",className:"btn btn-outline-secondary btn-sm",disabled:a.page<=1||o,onClick:()=>c(s=>Math.max(1,s-1)),children:"« Prev"}),e.jsx("button",{type:"button",className:"btn btn-outline-secondary btn-sm",disabled:a.page>=a.totalPages||o,onClick:()=>c(s=>s+1),children:"Next »"})]})]})]}):e.jsxs("div",{className:"empty-state",children:[e.jsx("div",{className:"empty-icon",children:"📬"}),e.jsx("div",{className:"empty-text",children:"No email logs found matching the filter criteria."})]})}),t&&e.jsx("div",{className:"email-log-modal-backdrop",onClick:()=>p(null),children:e.jsxs("div",{className:"email-log-modal",onClick:s=>s.stopPropagation(),children:[e.jsxs("div",{className:"modal-header",children:[e.jsxs("h5",{className:"modal-title",children:["Sent Email Log Details #",t.id]}),e.jsx("button",{type:"button",className:"btn-close-custom","aria-label":"Close",onClick:()=>p(null),children:"×"})]}),e.jsxs("div",{className:"modal-body",children:[e.jsxs("div",{className:"info-grid",children:[e.jsxs("div",{className:"info-item",children:[e.jsx("div",{className:"info-label",children:"Recipient"}),e.jsx("div",{className:"info-value",children:t.emailRecipient||"-"})]}),e.jsxs("div",{className:"info-item",children:[e.jsx("div",{className:"info-label",children:"Status Code"}),e.jsx("div",{className:"info-value",children:D(t.statusCode)})]}),e.jsxs("div",{className:"info-item",children:[e.jsx("div",{className:"info-label",children:"Provider"}),e.jsx("div",{className:"info-value",children:e.jsx("span",{className:`badge badge-provider ${t.mailSendBy===1?"provider-mailjet":"provider-sendgrid"}`,children:t.providerName})})]}),e.jsxs("div",{className:"info-item",children:[e.jsx("div",{className:"info-label",children:"Sent At (UTC / Local)"}),e.jsx("div",{className:"info-value",children:E(t.createdAt)})]}),e.jsxs("div",{className:"info-item",style:{gridColumn:"1 / -1"},children:[e.jsx("div",{className:"info-label",children:"Subject"}),e.jsx("div",{className:"info-value",children:t.subject||"-"})]})]}),e.jsxs("div",{className:"payload-header",children:[e.jsx("h6",{className:"payload-title",children:"Status Body / Error Details"}),e.jsx("button",{type:"button",className:`btn btn-sm btn-copy ${k?"btn-success":"btn-outline-secondary"}`,onClick:z,disabled:!t.statusBody,children:k?"Copied!":"Copy to Clipboard"})]}),e.jsx("pre",{className:"status-body-content",children:F(t.statusBody)})]}),e.jsx("div",{className:"modal-footer",children:e.jsx("button",{type:"button",className:"btn btn-secondary btn-sm px-4",onClick:()=>p(null),children:"Close"})})]})})]})};exports.default=T;
|
|
@@ -0,0 +1,333 @@
|
|
|
1
|
+
import { jsxs as t, jsx as e, Fragment as I } from "react/jsx-runtime";
|
|
2
|
+
import { useState as n, useCallback as J, useEffect as M } from "react";
|
|
3
|
+
import { api as T, BASE_URL as U } from "mario-core";
|
|
4
|
+
const $ = `${U}/api/Email`, G = (r) => T.get(`${$}/sent-logs`, { params: r }), q = () => {
|
|
5
|
+
const [r, f] = n(""), [h, y] = n(""), [p, S] = n(""), [u, x] = n(""), [b, o] = n(1), [c, A] = n(20), [l, P] = n({
|
|
6
|
+
totalItems: 0,
|
|
7
|
+
page: 1,
|
|
8
|
+
pageSize: 20,
|
|
9
|
+
totalPages: 0,
|
|
10
|
+
items: []
|
|
11
|
+
}), [m, C] = n(!1), [k, w] = n(null), [i, g] = n(null), [E, v] = n(!1), D = J(async (a = b, s = c) => {
|
|
12
|
+
C(!0), w(null);
|
|
13
|
+
try {
|
|
14
|
+
const d = {
|
|
15
|
+
page: a,
|
|
16
|
+
pageSize: s
|
|
17
|
+
};
|
|
18
|
+
r.trim() && (d.searchEmail = r.trim()), h.trim() && (d.status = h.trim()), p && (d.startDate = p), u && (d.endDate = u);
|
|
19
|
+
const N = await G(d);
|
|
20
|
+
N && N.data && P(N.data);
|
|
21
|
+
} catch (d) {
|
|
22
|
+
console.error("Failed to load sent email logs:", d), w(d?.response?.data?.message || d?.message || "Failed to load email logs. Please try again.");
|
|
23
|
+
} finally {
|
|
24
|
+
C(!1);
|
|
25
|
+
}
|
|
26
|
+
}, [b, c, r, h, p, u]);
|
|
27
|
+
M(() => {
|
|
28
|
+
D(b, c);
|
|
29
|
+
}, [b, c]);
|
|
30
|
+
const j = (a) => {
|
|
31
|
+
a.preventDefault(), o(1), D(1, c);
|
|
32
|
+
}, R = () => {
|
|
33
|
+
f(""), y(""), S(""), x(""), o(1);
|
|
34
|
+
}, z = async () => {
|
|
35
|
+
if (i?.statusBody)
|
|
36
|
+
try {
|
|
37
|
+
await navigator.clipboard.writeText(i.statusBody), v(!0), setTimeout(() => v(!1), 2e3);
|
|
38
|
+
} catch {
|
|
39
|
+
const a = document.createElement("textarea");
|
|
40
|
+
a.value = i.statusBody, document.body.appendChild(a), a.select(), document.execCommand("copy"), document.body.removeChild(a), v(!0), setTimeout(() => v(!1), 2e3);
|
|
41
|
+
}
|
|
42
|
+
}, L = (a) => {
|
|
43
|
+
if (!a) return "-";
|
|
44
|
+
try {
|
|
45
|
+
return new Date(a).toLocaleString(void 0, {
|
|
46
|
+
year: "numeric",
|
|
47
|
+
month: "2-digit",
|
|
48
|
+
day: "2-digit",
|
|
49
|
+
hour: "2-digit",
|
|
50
|
+
minute: "2-digit",
|
|
51
|
+
second: "2-digit"
|
|
52
|
+
});
|
|
53
|
+
} catch {
|
|
54
|
+
return a;
|
|
55
|
+
}
|
|
56
|
+
}, F = (a) => {
|
|
57
|
+
if (!a) return "No status body available.";
|
|
58
|
+
try {
|
|
59
|
+
const s = JSON.parse(a);
|
|
60
|
+
return JSON.stringify(s, null, 2);
|
|
61
|
+
} catch {
|
|
62
|
+
return a;
|
|
63
|
+
}
|
|
64
|
+
}, B = (a) => {
|
|
65
|
+
if (!a) return /* @__PURE__ */ e("span", { className: "badge bg-secondary badge-status", children: "Unknown" });
|
|
66
|
+
const s = a.toLowerCase();
|
|
67
|
+
return s === "accepted" || a === "200" || a === "202" ? /* @__PURE__ */ e("span", { className: "badge bg-success badge-status", children: a }) : s === "skipped" ? /* @__PURE__ */ e("span", { className: "badge bg-warning text-dark badge-status", children: "Skipped" }) : a.startsWith("4") || a.startsWith("5") || s.includes("fail") || s.includes("error") ? /* @__PURE__ */ e("span", { className: "badge bg-danger badge-status", children: a }) : /* @__PURE__ */ e("span", { className: "badge bg-info text-dark badge-status", children: a });
|
|
68
|
+
};
|
|
69
|
+
return /* @__PURE__ */ t("div", { className: "sent-email-logs-page fadeIn animated", children: [
|
|
70
|
+
/* @__PURE__ */ t("div", { className: "page-header", children: [
|
|
71
|
+
/* @__PURE__ */ t("h1", { className: "page-title", children: [
|
|
72
|
+
"Sent Email Logs",
|
|
73
|
+
/* @__PURE__ */ e("span", { className: "internal-badge", children: "Admin Diagnostic" })
|
|
74
|
+
] }),
|
|
75
|
+
/* @__PURE__ */ e("p", { className: "page-subtitle", children: "Internal dispatch logs from SendGrid and MailJet fallback for debugging delivery issues." })
|
|
76
|
+
] }),
|
|
77
|
+
/* @__PURE__ */ e("div", { className: "filter-card", children: /* @__PURE__ */ t("form", { onSubmit: j, className: "row g-3", children: [
|
|
78
|
+
/* @__PURE__ */ t("div", { className: "col-md-3", children: [
|
|
79
|
+
/* @__PURE__ */ e("label", { className: "form-label", htmlFor: "filter-email", children: "Recipient Email" }),
|
|
80
|
+
/* @__PURE__ */ e(
|
|
81
|
+
"input",
|
|
82
|
+
{
|
|
83
|
+
id: "filter-email",
|
|
84
|
+
type: "text",
|
|
85
|
+
className: "form-control form-control-sm",
|
|
86
|
+
placeholder: "e.g. user@school.com",
|
|
87
|
+
value: r,
|
|
88
|
+
onChange: (a) => f(a.target.value)
|
|
89
|
+
}
|
|
90
|
+
)
|
|
91
|
+
] }),
|
|
92
|
+
/* @__PURE__ */ t("div", { className: "col-md-2", children: [
|
|
93
|
+
/* @__PURE__ */ e("label", { className: "form-label", htmlFor: "filter-status", children: "Status" }),
|
|
94
|
+
/* @__PURE__ */ t(
|
|
95
|
+
"select",
|
|
96
|
+
{
|
|
97
|
+
id: "filter-status",
|
|
98
|
+
className: "form-select form-select-sm",
|
|
99
|
+
value: h,
|
|
100
|
+
onChange: (a) => y(a.target.value),
|
|
101
|
+
children: [
|
|
102
|
+
/* @__PURE__ */ e("option", { value: "", children: "All Statuses" }),
|
|
103
|
+
/* @__PURE__ */ e("option", { value: "Accepted", children: "Accepted (Success)" }),
|
|
104
|
+
/* @__PURE__ */ e("option", { value: "Skipped", children: "Skipped" }),
|
|
105
|
+
/* @__PURE__ */ e("option", { value: "401", children: "401 (Unauthorized)" }),
|
|
106
|
+
/* @__PURE__ */ e("option", { value: "400", children: "400 (Bad Request)" }),
|
|
107
|
+
/* @__PURE__ */ e("option", { value: "500", children: "500 (Server Error)" })
|
|
108
|
+
]
|
|
109
|
+
}
|
|
110
|
+
)
|
|
111
|
+
] }),
|
|
112
|
+
/* @__PURE__ */ t("div", { className: "col-md-2", children: [
|
|
113
|
+
/* @__PURE__ */ e("label", { className: "form-label", htmlFor: "filter-start-date", children: "Start Date" }),
|
|
114
|
+
/* @__PURE__ */ e(
|
|
115
|
+
"input",
|
|
116
|
+
{
|
|
117
|
+
id: "filter-start-date",
|
|
118
|
+
type: "date",
|
|
119
|
+
className: "form-control form-control-sm",
|
|
120
|
+
value: p,
|
|
121
|
+
onChange: (a) => S(a.target.value)
|
|
122
|
+
}
|
|
123
|
+
)
|
|
124
|
+
] }),
|
|
125
|
+
/* @__PURE__ */ t("div", { className: "col-md-2", children: [
|
|
126
|
+
/* @__PURE__ */ e("label", { className: "form-label", htmlFor: "filter-end-date", children: "End Date" }),
|
|
127
|
+
/* @__PURE__ */ e(
|
|
128
|
+
"input",
|
|
129
|
+
{
|
|
130
|
+
id: "filter-end-date",
|
|
131
|
+
type: "date",
|
|
132
|
+
className: "form-control form-control-sm",
|
|
133
|
+
value: u,
|
|
134
|
+
onChange: (a) => x(a.target.value)
|
|
135
|
+
}
|
|
136
|
+
)
|
|
137
|
+
] }),
|
|
138
|
+
/* @__PURE__ */ t("div", { className: "col-md-3 btn-filter-group", children: [
|
|
139
|
+
/* @__PURE__ */ e("button", { type: "submit", className: "btn btn-primary btn-sm px-3", disabled: m, children: "Search" }),
|
|
140
|
+
/* @__PURE__ */ e(
|
|
141
|
+
"button",
|
|
142
|
+
{
|
|
143
|
+
type: "button",
|
|
144
|
+
className: "btn btn-outline-secondary btn-sm px-3",
|
|
145
|
+
onClick: R,
|
|
146
|
+
disabled: m,
|
|
147
|
+
children: "Reset"
|
|
148
|
+
}
|
|
149
|
+
)
|
|
150
|
+
] })
|
|
151
|
+
] }) }),
|
|
152
|
+
k && /* @__PURE__ */ e("div", { className: "alert alert-danger d-flex align-items-center mb-3", role: "alert", children: /* @__PURE__ */ e("div", { children: k }) }),
|
|
153
|
+
/* @__PURE__ */ e("div", { className: "table-card", children: m ? /* @__PURE__ */ t("div", { className: "loading-state", children: [
|
|
154
|
+
/* @__PURE__ */ e("div", { className: "spinner-border text-primary", role: "status", children: /* @__PURE__ */ e("span", { className: "visually-hidden", children: "Loading..." }) }),
|
|
155
|
+
/* @__PURE__ */ e("div", { children: "Loading email logs..." })
|
|
156
|
+
] }) : l.items && l.items.length > 0 ? /* @__PURE__ */ t(I, { children: [
|
|
157
|
+
/* @__PURE__ */ e("div", { className: "table-responsive", children: /* @__PURE__ */ t("table", { className: "table table-hover align-middle", children: [
|
|
158
|
+
/* @__PURE__ */ e("thead", { children: /* @__PURE__ */ t("tr", { children: [
|
|
159
|
+
/* @__PURE__ */ e("th", { style: { width: "70px" }, children: "# ID" }),
|
|
160
|
+
/* @__PURE__ */ e("th", { style: { width: "170px" }, children: "Date & Time" }),
|
|
161
|
+
/* @__PURE__ */ e("th", { children: "Recipient Email" }),
|
|
162
|
+
/* @__PURE__ */ e("th", { children: "Subject" }),
|
|
163
|
+
/* @__PURE__ */ e("th", { style: { width: "110px" }, children: "Provider" }),
|
|
164
|
+
/* @__PURE__ */ e("th", { style: { width: "100px" }, children: "Status" }),
|
|
165
|
+
/* @__PURE__ */ e("th", { style: { width: "110px", textAlign: "center" }, children: "Details" })
|
|
166
|
+
] }) }),
|
|
167
|
+
/* @__PURE__ */ e("tbody", { children: l.items.map((a) => /* @__PURE__ */ t("tr", { children: [
|
|
168
|
+
/* @__PURE__ */ t("td", { className: "text-muted", children: [
|
|
169
|
+
"#",
|
|
170
|
+
a.id
|
|
171
|
+
] }),
|
|
172
|
+
/* @__PURE__ */ e("td", { className: "text-nowrap", children: L(a.createdAt) }),
|
|
173
|
+
/* @__PURE__ */ e("td", { className: "email-cell", children: a.emailRecipient || "-" }),
|
|
174
|
+
/* @__PURE__ */ e("td", { className: "subject-cell", title: a.subject || "", children: a.subject || "-" }),
|
|
175
|
+
/* @__PURE__ */ e("td", { children: /* @__PURE__ */ e(
|
|
176
|
+
"span",
|
|
177
|
+
{
|
|
178
|
+
className: `badge badge-provider ${a.mailSendBy === 1 ? "provider-mailjet" : "provider-sendgrid"}`,
|
|
179
|
+
children: a.providerName || (a.mailSendBy === 1 ? "MailJet" : "SendGrid")
|
|
180
|
+
}
|
|
181
|
+
) }),
|
|
182
|
+
/* @__PURE__ */ e("td", { children: B(a.statusCode) }),
|
|
183
|
+
/* @__PURE__ */ e("td", { style: { textAlign: "center" }, children: /* @__PURE__ */ e(
|
|
184
|
+
"button",
|
|
185
|
+
{
|
|
186
|
+
type: "button",
|
|
187
|
+
className: "btn btn-outline-primary btn-sm py-0 px-2",
|
|
188
|
+
onClick: () => g(a),
|
|
189
|
+
children: "View"
|
|
190
|
+
}
|
|
191
|
+
) })
|
|
192
|
+
] }, a.id)) })
|
|
193
|
+
] }) }),
|
|
194
|
+
/* @__PURE__ */ t("div", { className: "pagination-bar", children: [
|
|
195
|
+
/* @__PURE__ */ t("div", { className: "pagination-info", children: [
|
|
196
|
+
"Showing",
|
|
197
|
+
" ",
|
|
198
|
+
/* @__PURE__ */ t("strong", { children: [
|
|
199
|
+
l.totalItems === 0 ? 0 : (l.page - 1) * l.pageSize + 1,
|
|
200
|
+
" -",
|
|
201
|
+
" ",
|
|
202
|
+
Math.min(l.page * l.pageSize, l.totalItems)
|
|
203
|
+
] }),
|
|
204
|
+
" ",
|
|
205
|
+
"of ",
|
|
206
|
+
/* @__PURE__ */ e("strong", { children: l.totalItems }),
|
|
207
|
+
" logs (Page ",
|
|
208
|
+
l.page,
|
|
209
|
+
" of ",
|
|
210
|
+
l.totalPages || 1,
|
|
211
|
+
")"
|
|
212
|
+
] }),
|
|
213
|
+
/* @__PURE__ */ t("div", { className: "pagination-actions", children: [
|
|
214
|
+
/* @__PURE__ */ t(
|
|
215
|
+
"select",
|
|
216
|
+
{
|
|
217
|
+
className: "form-select form-select-sm",
|
|
218
|
+
style: { width: "100px" },
|
|
219
|
+
value: c,
|
|
220
|
+
onChange: (a) => {
|
|
221
|
+
const s = Number(a.target.value);
|
|
222
|
+
A(s), o(1);
|
|
223
|
+
},
|
|
224
|
+
children: [
|
|
225
|
+
/* @__PURE__ */ e("option", { value: 10, children: "10 / page" }),
|
|
226
|
+
/* @__PURE__ */ e("option", { value: 20, children: "20 / page" }),
|
|
227
|
+
/* @__PURE__ */ e("option", { value: 50, children: "50 / page" }),
|
|
228
|
+
/* @__PURE__ */ e("option", { value: 100, children: "100 / page" })
|
|
229
|
+
]
|
|
230
|
+
}
|
|
231
|
+
),
|
|
232
|
+
/* @__PURE__ */ e(
|
|
233
|
+
"button",
|
|
234
|
+
{
|
|
235
|
+
type: "button",
|
|
236
|
+
className: "btn btn-outline-secondary btn-sm",
|
|
237
|
+
disabled: l.page <= 1 || m,
|
|
238
|
+
onClick: () => o((a) => Math.max(1, a - 1)),
|
|
239
|
+
children: "« Prev"
|
|
240
|
+
}
|
|
241
|
+
),
|
|
242
|
+
/* @__PURE__ */ e(
|
|
243
|
+
"button",
|
|
244
|
+
{
|
|
245
|
+
type: "button",
|
|
246
|
+
className: "btn btn-outline-secondary btn-sm",
|
|
247
|
+
disabled: l.page >= l.totalPages || m,
|
|
248
|
+
onClick: () => o((a) => a + 1),
|
|
249
|
+
children: "Next »"
|
|
250
|
+
}
|
|
251
|
+
)
|
|
252
|
+
] })
|
|
253
|
+
] })
|
|
254
|
+
] }) : /* @__PURE__ */ t("div", { className: "empty-state", children: [
|
|
255
|
+
/* @__PURE__ */ e("div", { className: "empty-icon", children: "📬" }),
|
|
256
|
+
/* @__PURE__ */ e("div", { className: "empty-text", children: "No email logs found matching the filter criteria." })
|
|
257
|
+
] }) }),
|
|
258
|
+
i && /* @__PURE__ */ e("div", { className: "email-log-modal-backdrop", onClick: () => g(null), children: /* @__PURE__ */ t("div", { className: "email-log-modal", onClick: (a) => a.stopPropagation(), children: [
|
|
259
|
+
/* @__PURE__ */ t("div", { className: "modal-header", children: [
|
|
260
|
+
/* @__PURE__ */ t("h5", { className: "modal-title", children: [
|
|
261
|
+
"Sent Email Log Details #",
|
|
262
|
+
i.id
|
|
263
|
+
] }),
|
|
264
|
+
/* @__PURE__ */ e(
|
|
265
|
+
"button",
|
|
266
|
+
{
|
|
267
|
+
type: "button",
|
|
268
|
+
className: "btn-close-custom",
|
|
269
|
+
"aria-label": "Close",
|
|
270
|
+
onClick: () => g(null),
|
|
271
|
+
children: "×"
|
|
272
|
+
}
|
|
273
|
+
)
|
|
274
|
+
] }),
|
|
275
|
+
/* @__PURE__ */ t("div", { className: "modal-body", children: [
|
|
276
|
+
/* @__PURE__ */ t("div", { className: "info-grid", children: [
|
|
277
|
+
/* @__PURE__ */ t("div", { className: "info-item", children: [
|
|
278
|
+
/* @__PURE__ */ e("div", { className: "info-label", children: "Recipient" }),
|
|
279
|
+
/* @__PURE__ */ e("div", { className: "info-value", children: i.emailRecipient || "-" })
|
|
280
|
+
] }),
|
|
281
|
+
/* @__PURE__ */ t("div", { className: "info-item", children: [
|
|
282
|
+
/* @__PURE__ */ e("div", { className: "info-label", children: "Status Code" }),
|
|
283
|
+
/* @__PURE__ */ e("div", { className: "info-value", children: B(i.statusCode) })
|
|
284
|
+
] }),
|
|
285
|
+
/* @__PURE__ */ t("div", { className: "info-item", children: [
|
|
286
|
+
/* @__PURE__ */ e("div", { className: "info-label", children: "Provider" }),
|
|
287
|
+
/* @__PURE__ */ e("div", { className: "info-value", children: /* @__PURE__ */ e(
|
|
288
|
+
"span",
|
|
289
|
+
{
|
|
290
|
+
className: `badge badge-provider ${i.mailSendBy === 1 ? "provider-mailjet" : "provider-sendgrid"}`,
|
|
291
|
+
children: i.providerName
|
|
292
|
+
}
|
|
293
|
+
) })
|
|
294
|
+
] }),
|
|
295
|
+
/* @__PURE__ */ t("div", { className: "info-item", children: [
|
|
296
|
+
/* @__PURE__ */ e("div", { className: "info-label", children: "Sent At (UTC / Local)" }),
|
|
297
|
+
/* @__PURE__ */ e("div", { className: "info-value", children: L(i.createdAt) })
|
|
298
|
+
] }),
|
|
299
|
+
/* @__PURE__ */ t("div", { className: "info-item", style: { gridColumn: "1 / -1" }, children: [
|
|
300
|
+
/* @__PURE__ */ e("div", { className: "info-label", children: "Subject" }),
|
|
301
|
+
/* @__PURE__ */ e("div", { className: "info-value", children: i.subject || "-" })
|
|
302
|
+
] })
|
|
303
|
+
] }),
|
|
304
|
+
/* @__PURE__ */ t("div", { className: "payload-header", children: [
|
|
305
|
+
/* @__PURE__ */ e("h6", { className: "payload-title", children: "Status Body / Error Details" }),
|
|
306
|
+
/* @__PURE__ */ e(
|
|
307
|
+
"button",
|
|
308
|
+
{
|
|
309
|
+
type: "button",
|
|
310
|
+
className: `btn btn-sm btn-copy ${E ? "btn-success" : "btn-outline-secondary"}`,
|
|
311
|
+
onClick: z,
|
|
312
|
+
disabled: !i.statusBody,
|
|
313
|
+
children: E ? "Copied!" : "Copy to Clipboard"
|
|
314
|
+
}
|
|
315
|
+
)
|
|
316
|
+
] }),
|
|
317
|
+
/* @__PURE__ */ e("pre", { className: "status-body-content", children: F(i.statusBody) })
|
|
318
|
+
] }),
|
|
319
|
+
/* @__PURE__ */ e("div", { className: "modal-footer", children: /* @__PURE__ */ e(
|
|
320
|
+
"button",
|
|
321
|
+
{
|
|
322
|
+
type: "button",
|
|
323
|
+
className: "btn btn-secondary btn-sm px-4",
|
|
324
|
+
onClick: () => g(null),
|
|
325
|
+
children: "Close"
|
|
326
|
+
}
|
|
327
|
+
) })
|
|
328
|
+
] }) })
|
|
329
|
+
] });
|
|
330
|
+
};
|
|
331
|
+
export {
|
|
332
|
+
q as default
|
|
333
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type FC } from 'react';
|
|
2
|
+
import '../styles/SentEmailLogs.scss';
|
|
3
|
+
export interface SentEmailLogDto {
|
|
4
|
+
id: number;
|
|
5
|
+
statusCode: string | null;
|
|
6
|
+
statusBody: string | null;
|
|
7
|
+
emailRecipient: string | null;
|
|
8
|
+
subject: string | null;
|
|
9
|
+
mailSendBy: number;
|
|
10
|
+
providerName: string;
|
|
11
|
+
createdAt: string;
|
|
12
|
+
}
|
|
13
|
+
export interface PagedResponseDto<T> {
|
|
14
|
+
totalItems: number;
|
|
15
|
+
page: number;
|
|
16
|
+
pageSize: number;
|
|
17
|
+
totalPages: number;
|
|
18
|
+
items: T[];
|
|
19
|
+
}
|
|
20
|
+
declare const SentEmailLogs: FC;
|
|
21
|
+
export default SentEmailLogs;
|
|
@@ -11,7 +11,6 @@ interface SelectStudentsStepProps {
|
|
|
11
11
|
label: string;
|
|
12
12
|
value: string;
|
|
13
13
|
}[];
|
|
14
|
-
teacherOptions: string[];
|
|
15
14
|
page: number;
|
|
16
15
|
rowsPerPage: number;
|
|
17
16
|
isAllSelected: boolean;
|
|
@@ -24,7 +23,6 @@ interface SelectStudentsStepProps {
|
|
|
24
23
|
onSearchChange: (query: string) => void;
|
|
25
24
|
onGradeChange: (grade: string) => void;
|
|
26
25
|
onFlagChange: (flag: string) => void;
|
|
27
|
-
onTeacherChange: (teacher: string) => void;
|
|
28
26
|
onPageChange: (event: unknown, newPage: number) => void;
|
|
29
27
|
onRowsPerPageChange: (event: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
30
28
|
onToggleSelectAll: () => void;
|
|
@@ -15,14 +15,12 @@ export declare const useSelectStudentsStep: (initialDraft?: any) => {
|
|
|
15
15
|
label: string;
|
|
16
16
|
value: string;
|
|
17
17
|
}[];
|
|
18
|
-
teacherOptions: string[];
|
|
19
18
|
isAllSelected: boolean;
|
|
20
19
|
isIndeterminate: boolean;
|
|
21
20
|
handleSortChange: (column: string) => void;
|
|
22
21
|
handleSearchChange: (searchQuery: string) => void;
|
|
23
22
|
handleGradeFilterChange: (selectedGrade: string) => void;
|
|
24
23
|
handleFlagFilterChange: (selectedFlag: string) => void;
|
|
25
|
-
handleTeacherFilterChange: (selectedTeacher: string) => void;
|
|
26
24
|
handlePageChange: (_event: unknown, newPage: number) => void;
|
|
27
25
|
handleRowsPerPageChange: (event: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>) => void;
|
|
28
26
|
handleToggleSelectAll: () => void;
|
|
@@ -60,16 +60,11 @@ export interface StudentItem {
|
|
|
60
60
|
flagSessionResultId?: number | null;
|
|
61
61
|
grade: string;
|
|
62
62
|
email: string;
|
|
63
|
-
listTeachers?: {
|
|
64
|
-
teacherId: number | string;
|
|
65
|
-
name: string;
|
|
66
|
-
}[];
|
|
67
63
|
}
|
|
68
64
|
export interface SelectStudentsFilterState {
|
|
69
65
|
searchQuery: string;
|
|
70
66
|
selectedGrade: string;
|
|
71
67
|
selectedFlag: string;
|
|
72
|
-
selectedTeacher: string;
|
|
73
68
|
page: number;
|
|
74
69
|
rowsPerPage: number;
|
|
75
70
|
sortBy: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -61,4 +61,5 @@ declare const Overview: import("react").LazyExoticComponent<import("react").FC<{
|
|
|
61
61
|
declare const DashboardWrapper: import("react").LazyExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
|
|
62
62
|
declare const FlagAlertWrapper: import("react").LazyExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
|
|
63
63
|
declare const PersonalLearningPlansWrapper: import("react").LazyExoticComponent<() => import("react/jsx-runtime").JSX.Element>;
|
|
64
|
-
|
|
64
|
+
declare const SentEmailLogs: import("react").LazyExoticComponent<import("react").FC>;
|
|
65
|
+
export { ConferenceRubricList, ConferenceRubricDetail, LearningStrategyList, SetupContainer, QuestionBankList, ReflectionContainer, QuestionDetail, SubjectList, LearningSupportCategoryList, BadgeList, GoalExampleList, TutorialScreenContainer, QuestionBankContainer, SurveyQuestionContainer, SessionTemplateDetail, CustomAlertList, AssetLog, Dashboard, AdminTraining, TemplateContainer, OneRosterContainer, SandboxContainer, TemplateBuilderPage, TemplateStartBuild, SurveyDashboardContainer, RevertUser, CustomQuestionAlert, SurveyDetailAdmin, SurveyStudentFlagListAdmin, SurveyResultAdmin, SurveyIndexAdmin, CreateSurveyAdmin, CreateSurveyAdminV2, PreviewSurveyAdmin, ExternalApi, WeeklyQuest, SettingWeeklyQuest, HomePage, MainLayoutAdmin, SyncData, SummarizeQuestion, TeacherConversations, SurveyQuestion, MarioAi, AIMario, ChatWithAI, ViewHistoryPrompt, SurveyPortal, ConversationGoal, FrequencyAndSetup, FrequencyAndSetupV2, DesignatedStaff, WellBeingDashboard, MyProfile, UserProfileManagement, OpenFieldWellbeingQuestion, EditFlagCard, ConversationTarget, CheckInSetup, Overview, DashboardWrapper, FlagAlertWrapper, PersonalLearningPlansWrapper, SentEmailLogs };
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("mario-core"),t=require("@ag-grid-enterprise/core"),e=require("react"),n=e.lazy(()=>Promise.resolve().then(()=>require("./ConferenceRubricList-CASLPVnE.cjs"))),i=e.lazy(()=>Promise.resolve().then(()=>require("./ConferenceRubricDetail-BcKMyu7H.cjs"))),s=e.lazy(()=>Promise.resolve().then(()=>require("./LearningStrategyList-c9ut_ZBs.cjs"))),a=e.lazy(()=>Promise.resolve().then(()=>require("./SetupContainer-CLOQ9w-y.cjs"))),l=e.lazy(()=>Promise.resolve().then(()=>require("./QuestionBankList-a0FN-Phc.cjs"))),u=e.lazy(()=>Promise.resolve().then(()=>require("./ReflectionContainer-T8k3ipxn.cjs"))),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("mario-core"),t=require("@ag-grid-enterprise/core"),e=require("react"),n=e.lazy(()=>Promise.resolve().then(()=>require("./ConferenceRubricList-CASLPVnE.cjs"))),i=e.lazy(()=>Promise.resolve().then(()=>require("./ConferenceRubricDetail-BcKMyu7H.cjs"))),s=e.lazy(()=>Promise.resolve().then(()=>require("./LearningStrategyList-c9ut_ZBs.cjs"))),a=e.lazy(()=>Promise.resolve().then(()=>require("./SetupContainer-CLOQ9w-y.cjs"))),l=e.lazy(()=>Promise.resolve().then(()=>require("./QuestionBankList-a0FN-Phc.cjs"))),u=e.lazy(()=>Promise.resolve().then(()=>require("./ReflectionContainer-T8k3ipxn.cjs"))),m=e.lazy(()=>Promise.resolve().then(()=>require("./QuestionDetail-D6n5bq5g.cjs"))),y=e.lazy(()=>Promise.resolve().then(()=>require("./SubjectList-DBvEGKQs.cjs"))),v=e.lazy(()=>Promise.resolve().then(()=>require("./LearningSupportCategoryList-BpCRx0CF.cjs"))),c=e.lazy(()=>Promise.resolve().then(()=>require("./BadgeList-DHs-Rsvu.cjs"))),P=e.lazy(()=>Promise.resolve().then(()=>require("./GoalExampleList-DdkEu4hA.cjs"))),h=e.lazy(()=>Promise.resolve().then(()=>require("./TutorialScreenContainer-Cc7pBhl5.cjs"))),q=e.lazy(()=>Promise.resolve().then(()=>require("./QuestionBankContainer-BwGHIERo.cjs"))),z=e.lazy(()=>Promise.resolve().then(()=>require("./SurveyQuestionContainer-CTaOAo9a.cjs"))),S=e.lazy(()=>Promise.resolve().then(()=>require("./SessionTemplateDetail-B9-wcCpc.cjs"))),d=e.lazy(()=>Promise.resolve().then(()=>require("./CustomAlertList-C9WlP5dR.cjs"))),C=e.lazy(()=>Promise.resolve().then(()=>require("./AssetLog-Bexcnjvn.cjs"))),g=e.lazy(()=>Promise.resolve().then(()=>require("./Dashboard-DsZyQay3.cjs"))),p=e.lazy(()=>Promise.resolve().then(()=>require("./AdminTraining-CFhKwWEu.cjs"))),A=e.lazy(()=>Promise.resolve().then(()=>require("./TemplateContainer-wVMb1knJ.cjs"))),L=e.lazy(()=>Promise.resolve().then(()=>require("./OneRosterContainer-Bpf_nb04.cjs"))),D=e.lazy(()=>Promise.resolve().then(()=>require("./SandboxContainer-2xT8qr0Z.cjs"))),b=e.lazy(()=>Promise.resolve().then(()=>require("./TemplateBuilderPage-RtTtRDYv.cjs"))),Q=e.lazy(()=>Promise.resolve().then(()=>require("./TemplateStartBuild-L-GJIKx5.cjs"))),T=e.lazy(()=>Promise.resolve().then(()=>require("./SurveyDashboardContainer-D1b5prgE.cjs"))),W=e.lazy(()=>Promise.resolve().then(()=>require("./RevertUser-BQszWVGK.cjs"))),f=e.lazy(()=>Promise.resolve().then(()=>require("./CustomQuestionAlert-CxG1sL2e.cjs"))),R=e.lazy(()=>Promise.resolve().then(()=>require("./SurveyDetailAdmin-CE5aHzx7.cjs"))),B=e.lazy(()=>Promise.resolve().then(()=>require("./SurveyStudentFlagListAdmin-CH7pXwap.cjs"))),F=e.lazy(()=>Promise.resolve().then(()=>require("./SurveyResultAdmin-CQTxOaya.cjs"))),M=e.lazy(()=>Promise.resolve().then(()=>require("./SurveyIndexAdmin-C38iHOla.cjs"))),k=e.lazy(()=>Promise.resolve().then(()=>require("./CreateSurveyAdmin-BO9LE1zg.cjs"))),E=e.lazy(()=>Promise.resolve().then(()=>require("./CreateSurveyAdminV2-Y955v7CT.cjs"))),I=e.lazy(()=>Promise.resolve().then(()=>require("./PreviewSurveyAdmin-BWmzrbbm.cjs"))),x=e.lazy(()=>Promise.resolve().then(()=>require("./ExternalApi-C9QAZfYm.cjs"))),O=e.lazy(()=>Promise.resolve().then(()=>require("./WeeklyQuest-CTN2Q9aF.cjs"))),w=e.lazy(()=>Promise.resolve().then(()=>require("./SettingWeeklyQuest-CDi1sio0.cjs"))),G=e.lazy(()=>Promise.resolve().then(()=>require("./HomePage-Dj_9gia6.cjs"))),V=e.lazy(()=>Promise.resolve().then(()=>require("./MainLayoutAdmin-dhE4b8ZP.cjs"))),H=e.lazy(()=>Promise.resolve().then(()=>require("./SyncData-C2Shc7Al.cjs"))),U=e.lazy(()=>Promise.resolve().then(()=>require("./SummarizeQuestion-WMSKIQWD.cjs"))),j=e.lazy(()=>Promise.resolve().then(()=>require("./SurveyQuestion-BgAz6qBD.cjs"))),K=e.lazy(()=>Promise.resolve().then(()=>require("./MarioAi-BbsGO3rP.cjs"))),N=e.lazy(()=>Promise.resolve().then(()=>require("./AIMario-DP2HBmgn.cjs"))),_=e.lazy(()=>Promise.resolve().then(()=>require("./ChatWithAI-DOQCVUXe.cjs"))),$=e.lazy(()=>Promise.resolve().then(()=>require("./ViewHistoryPrompt-DAaaXoCx.cjs"))),J=e.lazy(()=>Promise.resolve().then(()=>require("./SurveyPortal-DVR9NW0V.cjs"))),X=e.lazy(()=>Promise.resolve().then(()=>require("./ConversationGoal-DpXDZc4j.cjs"))),Y=e.lazy(()=>Promise.resolve().then(()=>require("./FrequencyAndSetup-B-6VonH7.cjs"))),Z=e.lazy(()=>Promise.resolve().then(()=>require("./FrequencyAndSetupV2-BwWtfyYv.cjs"))),ee=e.lazy(()=>Promise.resolve().then(()=>require("./DesignatedStaff-CpNWr8Dp.cjs"))),re=e.lazy(()=>Promise.resolve().then(()=>require("./WellBeingDashboard-CCgqBWXm.cjs"))),oe=e.lazy(()=>Promise.resolve().then(()=>require("./OpenFieldWellbeingQuestion-CNlJFDU1.cjs"))),te=e.lazy(()=>Promise.resolve().then(()=>require("./MyProfile-BkmMLmdD.cjs"))),ne=e.lazy(()=>Promise.resolve().then(()=>require("./UserProfileManagement-BA6xtRIh.cjs"))),ie=e.lazy(()=>Promise.resolve().then(()=>require("./EditFlagCard-DlaD35wK.cjs"))),se=e.lazy(()=>Promise.resolve().then(()=>require("./ConversationTarget-Dyyb4Caw.cjs"))),ae=e.lazy(()=>Promise.resolve().then(()=>require("./TeacherConversations-CP3lQdhu.cjs")).then(r=>r.TeacherConversations$1)),le=e.lazy(()=>Promise.resolve().then(()=>require("./index-DFrRk7yz.cjs"))),ue=e.lazy(()=>Promise.resolve().then(()=>require("./index-CEextreS.cjs"))),me=e.lazy(()=>Promise.resolve().then(()=>require("./DashboardWrapper-BqcF82EB.cjs"))),ye=e.lazy(()=>Promise.resolve().then(()=>require("./FlagAlertWrapper-D_OLRdEa.cjs"))),ve=e.lazy(()=>Promise.resolve().then(()=>require("./PersonalLearningPlansWrapper-CDAwvKfS.cjs"))),ce=e.lazy(()=>Promise.resolve().then(()=>require("./SentEmailLogs-CiQ9rEj6.cjs")));t.LicenseManager.setLicenseKey(o.LICENSE_AGGRID);exports.AIMario=N;exports.AdminTraining=p;exports.AssetLog=C;exports.BadgeList=c;exports.ChatWithAI=_;exports.CheckInSetup=le;exports.ConferenceRubricDetail=i;exports.ConferenceRubricList=n;exports.ConversationGoal=X;exports.ConversationTarget=se;exports.CreateSurveyAdmin=k;exports.CreateSurveyAdminV2=E;exports.CustomAlertList=d;exports.CustomQuestionAlert=f;exports.Dashboard=g;exports.DashboardWrapper=me;exports.DesignatedStaff=ee;exports.EditFlagCard=ie;exports.ExternalApi=x;exports.FlagAlertWrapper=ye;exports.FrequencyAndSetup=Y;exports.FrequencyAndSetupV2=Z;exports.GoalExampleList=P;exports.HomePage=G;exports.LearningStrategyList=s;exports.LearningSupportCategoryList=v;exports.MainLayoutAdmin=V;exports.MarioAi=K;exports.MyProfile=te;exports.OneRosterContainer=L;exports.OpenFieldWellbeingQuestion=oe;exports.Overview=ue;exports.PersonalLearningPlansWrapper=ve;exports.PreviewSurveyAdmin=I;exports.QuestionBankContainer=q;exports.QuestionBankList=l;exports.QuestionDetail=m;exports.ReflectionContainer=u;exports.RevertUser=W;exports.SandboxContainer=D;exports.SentEmailLogs=ce;exports.SessionTemplateDetail=S;exports.SettingWeeklyQuest=w;exports.SetupContainer=a;exports.SubjectList=y;exports.SummarizeQuestion=U;exports.SurveyDashboardContainer=T;exports.SurveyDetailAdmin=R;exports.SurveyIndexAdmin=M;exports.SurveyPortal=J;exports.SurveyQuestion=j;exports.SurveyQuestionContainer=z;exports.SurveyResultAdmin=F;exports.SurveyStudentFlagListAdmin=B;exports.SyncData=H;exports.TeacherConversations=ae;exports.TemplateBuilderPage=b;exports.TemplateContainer=A;exports.TemplateStartBuild=Q;exports.TutorialScreenContainer=h;exports.UserProfileManagement=ne;exports.ViewHistoryPrompt=$;exports.WeeklyQuest=O;exports.WellBeingDashboard=re;
|
package/dist/index.modern.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LICENSE_AGGRID as n } from "mario-core";
|
|
2
2
|
import { LicenseManager as r } from "@ag-grid-enterprise/core";
|
|
3
3
|
import { lazy as t } from "react";
|
|
4
|
-
const m = t(() => import("./ConferenceRubricList-BMS__Zhg.js")), p = t(() => import("./ConferenceRubricDetail-Dkw4IAmz.js")), c = t(() => import("./LearningStrategyList-CXDUExaq.js")), a = t(() => import("./SetupContainer-BNV9qWaW.js")), u = t(() => import("./QuestionBankList-DIL_Kyp_.js")), l = t(() => import("./ReflectionContainer-DYumB3DG.js")), S = t(() => import("./QuestionDetail-Cv_NuWfA.js")), d = t(() => import("./SubjectList-ewa6hXBk.js")), y = t(() => import("./LearningSupportCategoryList-BmFj6dul.js")), C = t(() => import("./BadgeList-DUEUMpRP.js")), g = t(() => import("./GoalExampleList-DwoJ0Zn_.js")), A = t(() => import("./TutorialScreenContainer-BIhGp5Xb.js")), v = t(() => import("./QuestionBankContainer-DBm_Ox_n.js")), L = t(() => import("./SurveyQuestionContainer-CLwodcFd.js")), D = t(() => import("./SessionTemplateDetail-Y0ShCfW-.js")), b = t(() => import("./CustomAlertList-CEBlJZHr.js")), f = t(() => import("./AssetLog-9i4_srMc.js")), Q = t(() => import("./Dashboard-BEXicHpU.js")), h = t(() => import("./AdminTraining-BS64lsyg.js")), P = t(() => import("./TemplateContainer-CPK7IVP1.js")), T = t(() => import("./OneRosterContainer-B1c1TFmD.js")), W = t(() => import("./SandboxContainer-DmPlQa8l.js")), R = t(() => import("./TemplateBuilderPage-DzJLw-Su.js")), B = t(() => import("./TemplateStartBuild-naD1Xn49.js")),
|
|
4
|
+
const m = t(() => import("./ConferenceRubricList-BMS__Zhg.js")), p = t(() => import("./ConferenceRubricDetail-Dkw4IAmz.js")), c = t(() => import("./LearningStrategyList-CXDUExaq.js")), a = t(() => import("./SetupContainer-BNV9qWaW.js")), u = t(() => import("./QuestionBankList-DIL_Kyp_.js")), l = t(() => import("./ReflectionContainer-DYumB3DG.js")), S = t(() => import("./QuestionDetail-Cv_NuWfA.js")), d = t(() => import("./SubjectList-ewa6hXBk.js")), y = t(() => import("./LearningSupportCategoryList-BmFj6dul.js")), C = t(() => import("./BadgeList-DUEUMpRP.js")), g = t(() => import("./GoalExampleList-DwoJ0Zn_.js")), A = t(() => import("./TutorialScreenContainer-BIhGp5Xb.js")), v = t(() => import("./QuestionBankContainer-DBm_Ox_n.js")), L = t(() => import("./SurveyQuestionContainer-CLwodcFd.js")), D = t(() => import("./SessionTemplateDetail-Y0ShCfW-.js")), b = t(() => import("./CustomAlertList-CEBlJZHr.js")), f = t(() => import("./AssetLog-9i4_srMc.js")), Q = t(() => import("./Dashboard-BEXicHpU.js")), h = t(() => import("./AdminTraining-BS64lsyg.js")), P = t(() => import("./TemplateContainer-CPK7IVP1.js")), T = t(() => import("./OneRosterContainer-B1c1TFmD.js")), W = t(() => import("./SandboxContainer-DmPlQa8l.js")), R = t(() => import("./TemplateBuilderPage-DzJLw-Su.js")), B = t(() => import("./TemplateStartBuild-naD1Xn49.js")), E = t(() => import("./SurveyDashboardContainer-DskPB27q.js")), F = t(() => import("./RevertUser-bHci1c1Z.js")), I = t(() => import("./CustomQuestionAlert-Cw7DnLNn.js")), M = t(() => import("./SurveyDetailAdmin-B2cS070P.js")), k = t(() => import("./SurveyStudentFlagListAdmin-BfQLZW4m.js")), x = t(() => import("./SurveyResultAdmin-B0OTvNd5.js")), G = t(() => import("./SurveyIndexAdmin-DrUR66sm.js")), w = t(() => import("./CreateSurveyAdmin-BofygWAC.js")), O = t(() => import("./CreateSurveyAdminV2-B8TcDV2x.js")), V = t(() => import("./PreviewSurveyAdmin-R2kWQO63.js")), q = t(() => import("./ExternalApi-CFsQM9Kw.js")), z = t(() => import("./WeeklyQuest-ClxZC-ik.js")), H = t(() => import("./SettingWeeklyQuest-D61948jR.js")), U = t(() => import("./HomePage-Wp52RhWh.js")), j = t(() => import("./MainLayoutAdmin-830-qZfL.js")), K = t(() => import("./SyncData-BTSEX_ZA.js")), N = t(() => import("./SummarizeQuestion-Dzgs_Y6Z.js")), _ = t(() => import("./SurveyQuestion-Cp219R02.js")), J = t(() => import("./MarioAi-ChMlmmc2.js")), X = t(() => import("./AIMario-Bk_MPYou.js")), Y = t(() => import("./ChatWithAI-Da8rIe7x.js")), Z = t(() => import("./ViewHistoryPrompt-BH7HEaKc.js")), $ = t(() => import("./SurveyPortal-vd3wwQ7-.js")), tt = t(() => import("./ConversationGoal-CPtGyH13.js")), ot = t(() => import("./FrequencyAndSetup-CR6JFxGP.js")), nt = t(() => import("./FrequencyAndSetupV2-D6MZ_Y92.js")), rt = t(() => import("./DesignatedStaff-Du2v-04k.js")), it = t(() => import("./WellBeingDashboard-DwK-v2qt.js")), et = t(() => import("./OpenFieldWellbeingQuestion-D46DLRKY.js")), st = t(() => import("./MyProfile-DSl7kYQ6.js")), mt = t(() => import("./UserProfileManagement-r63yvlnd.js")), pt = t(() => import("./EditFlagCard-BOgyQJqH.js")), ct = t(() => import("./ConversationTarget-DnIr6FA_.js")), at = t(() => import("./TeacherConversations-CP2j88b6.js").then((o) => o.b)), ut = t(() => import("./index-C44pkLLI.js")), lt = t(() => import("./index-Co2UfPkf.js")), St = t(() => import("./DashboardWrapper-CxXistlm.js")), dt = t(() => import("./FlagAlertWrapper-BXV9VXMs.js")), yt = t(() => import("./PersonalLearningPlansWrapper-Cx_orIAt.js")), Ct = t(() => import("./SentEmailLogs-CnmKJ4rj.js"));
|
|
5
5
|
r.setLicenseKey(n);
|
|
6
6
|
export {
|
|
7
7
|
X as AIMario,
|
|
@@ -17,7 +17,7 @@ export {
|
|
|
17
17
|
w as CreateSurveyAdmin,
|
|
18
18
|
O as CreateSurveyAdminV2,
|
|
19
19
|
b as CustomAlertList,
|
|
20
|
-
|
|
20
|
+
I as CustomQuestionAlert,
|
|
21
21
|
Q as Dashboard,
|
|
22
22
|
St as DashboardWrapper,
|
|
23
23
|
rt as DesignatedStaff,
|
|
@@ -42,21 +42,22 @@ export {
|
|
|
42
42
|
u as QuestionBankList,
|
|
43
43
|
S as QuestionDetail,
|
|
44
44
|
l as ReflectionContainer,
|
|
45
|
-
|
|
45
|
+
F as RevertUser,
|
|
46
46
|
W as SandboxContainer,
|
|
47
|
+
Ct as SentEmailLogs,
|
|
47
48
|
D as SessionTemplateDetail,
|
|
48
49
|
H as SettingWeeklyQuest,
|
|
49
50
|
a as SetupContainer,
|
|
50
51
|
d as SubjectList,
|
|
51
52
|
N as SummarizeQuestion,
|
|
52
|
-
|
|
53
|
-
|
|
53
|
+
E as SurveyDashboardContainer,
|
|
54
|
+
M as SurveyDetailAdmin,
|
|
54
55
|
G as SurveyIndexAdmin,
|
|
55
56
|
$ as SurveyPortal,
|
|
56
57
|
_ as SurveyQuestion,
|
|
57
58
|
L as SurveyQuestionContainer,
|
|
58
|
-
|
|
59
|
-
|
|
59
|
+
x as SurveyResultAdmin,
|
|
60
|
+
k as SurveyStudentFlagListAdmin,
|
|
60
61
|
K as SyncData,
|
|
61
62
|
at as TeacherConversations,
|
|
62
63
|
R as TemplateBuilderPage,
|