@realtek/core-theme 0.0.375 → 0.0.377
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-lib/{FacebookCourseMappingsSection-7b-UVe60.cjs → FacebookCourseMappingsSection-CaD4kZq3.cjs} +3 -3
- package/dist-lib/FacebookCourseMappingsSection-CaD4kZq3.cjs.map +1 -0
- package/dist-lib/{FacebookCourseMappingsSection-rwzWu8Z5.js → FacebookCourseMappingsSection-Dqn0D7cH.js} +11 -11
- package/dist-lib/FacebookCourseMappingsSection-Dqn0D7cH.js.map +1 -0
- package/dist-lib/index.cjs +17 -17
- package/dist-lib/index.cjs.map +1 -1
- package/dist-lib/index.js +608 -561
- package/dist-lib/index.js.map +1 -1
- package/package.json +1 -1
- package/dist-lib/FacebookCourseMappingsSection-7b-UVe60.cjs.map +0 -1
- package/dist-lib/FacebookCourseMappingsSection-rwzWu8Z5.js.map +0 -1
|
@@ -2109,8 +2109,8 @@ var { Text: pn, Paragraph: mn } = ce, hn = {
|
|
|
2109
2109
|
no_active_counsellor: "Waiting for a counsellor who is online and under the open-lead limit",
|
|
2110
2110
|
distribution_not_configured: "Form has no counsellor list",
|
|
2111
2111
|
distribution_disabled: "Form distribution is switched off"
|
|
2112
|
-
}, _n = (e) => e ? K(e).format("h:mm A") :
|
|
2113
|
-
if (!e) return "
|
|
2112
|
+
}, _n = (e, t = "Not recorded") => e ? K(e).format("h:mm A") : t, vn = (e, t = "Not recorded") => e ? K(e).format("D MMM, h:mm A") : t, yn = (e) => {
|
|
2113
|
+
if (!e) return "Not recorded";
|
|
2114
2114
|
let t = Math.max(0, K().diff(K(e), "minute"));
|
|
2115
2115
|
return t < 60 ? `${t} min` : `${Math.floor(t / 60)} h ${t % 60} min`;
|
|
2116
2116
|
};
|
|
@@ -2174,13 +2174,13 @@ function Sn({ canEdit: e = !1 }) {
|
|
|
2174
2174
|
{
|
|
2175
2175
|
title: "First login",
|
|
2176
2176
|
dataIndex: "firstLoginAt",
|
|
2177
|
-
render: _n,
|
|
2177
|
+
render: (e) => _n(e, "Not logged in today"),
|
|
2178
2178
|
sorter: (e, t) => String(e.firstLoginAt ?? "").localeCompare(String(t.firstLoginAt ?? ""))
|
|
2179
2179
|
},
|
|
2180
2180
|
{
|
|
2181
2181
|
title: "Last seen / logout",
|
|
2182
2182
|
key: "seen",
|
|
2183
|
-
render: (e, t) => t.loggedOutAt && (!t.lastSeenAt || t.loggedOutAt > t.lastSeenAt) ? `Logged out ${_n(t.loggedOutAt)}` : _n(t.lastSeenAt)
|
|
2183
|
+
render: (e, t) => t.loggedOutAt && (!t.lastSeenAt || t.loggedOutAt > t.lastSeenAt) ? `Logged out ${_n(t.loggedOutAt)}` : _n(t.lastSeenAt, "Not seen today")
|
|
2184
2184
|
},
|
|
2185
2185
|
{
|
|
2186
2186
|
title: "Status",
|
|
@@ -2254,7 +2254,7 @@ function Sn({ canEdit: e = !1 }) {
|
|
|
2254
2254
|
dataIndex: "totalAssignedSinceStart",
|
|
2255
2255
|
align: "right",
|
|
2256
2256
|
sorter: (e, t) => (e.totalAssignedSinceStart ?? 0) - (t.totalAssignedSinceStart ?? 0),
|
|
2257
|
-
render: (e) => e == null ? "
|
|
2257
|
+
render: (e) => e == null ? "Not counted yet" : /* @__PURE__ */ W("span", {
|
|
2258
2258
|
className: "ld-num",
|
|
2259
2259
|
children: e
|
|
2260
2260
|
})
|
|
@@ -2281,7 +2281,7 @@ function Sn({ canEdit: e = !1 }) {
|
|
|
2281
2281
|
render: (e, t) => t.status === "eligible" && e > 0 ? /* @__PURE__ */ G(pn, {
|
|
2282
2282
|
type: "warning",
|
|
2283
2283
|
children: [e, " behind"]
|
|
2284
|
-
}) : t.status === "eligible" ? "On target" : "
|
|
2284
|
+
}) : t.status === "eligible" ? "On target" : "Not in today's share"
|
|
2285
2285
|
},
|
|
2286
2286
|
...e && d ? [{
|
|
2287
2287
|
title: "",
|
|
@@ -2600,7 +2600,7 @@ function wn({ rows: e = [] }) {
|
|
|
2600
2600
|
title: "Waiting",
|
|
2601
2601
|
dataIndex: "createdAt",
|
|
2602
2602
|
key: "waited",
|
|
2603
|
-
render: (e, t) => t.status === "dead" ? "
|
|
2603
|
+
render: (e, t) => t.status === "dead" ? "Stopped" : yn(e)
|
|
2604
2604
|
},
|
|
2605
2605
|
{
|
|
2606
2606
|
title: "Status",
|
|
@@ -2619,12 +2619,12 @@ function wn({ rows: e = [] }) {
|
|
|
2619
2619
|
{
|
|
2620
2620
|
title: "Next try",
|
|
2621
2621
|
dataIndex: "nextAttemptAt",
|
|
2622
|
-
render: (e, t) => t.status === "dead" ? "
|
|
2622
|
+
render: (e, t) => t.status === "dead" ? "No more tries" : vn(e, "Not scheduled")
|
|
2623
2623
|
},
|
|
2624
2624
|
{
|
|
2625
2625
|
title: "Detail",
|
|
2626
2626
|
key: "detail",
|
|
2627
|
-
render: (e, t) => t.lastErrorCode || (gn[t.lastResult] ? "" : t.lastResult) || "
|
|
2627
|
+
render: (e, t) => t.lastErrorCode || (gn[t.lastResult] ? "" : t.lastResult) || "No detail"
|
|
2628
2628
|
}
|
|
2629
2629
|
];
|
|
2630
2630
|
return /* @__PURE__ */ G("div", {
|
|
@@ -3013,7 +3013,7 @@ function An() {
|
|
|
3013
3013
|
render: (e) => Array.isArray(e) && e.length ? /* @__PURE__ */ W(M, {
|
|
3014
3014
|
title: e.map((e) => `${e.name || `#${e.legacyUserId}`}: ${hn[e.reason]?.label ?? e.reason}`).join("\n"),
|
|
3015
3015
|
children: /* @__PURE__ */ G(A, { children: [e.length, " skipped"] })
|
|
3016
|
-
}) : "
|
|
3016
|
+
}) : "None skipped"
|
|
3017
3017
|
}
|
|
3018
3018
|
];
|
|
3019
3019
|
return /* @__PURE__ */ G("div", {
|
|
@@ -4032,4 +4032,4 @@ function Kn() {
|
|
|
4032
4032
|
//#endregion
|
|
4033
4033
|
export { rn as a, xe as c, nn as i, q as l, Nn as n, an as o, on as r, Xe as s, Kn as t };
|
|
4034
4034
|
|
|
4035
|
-
//# sourceMappingURL=FacebookCourseMappingsSection-
|
|
4035
|
+
//# sourceMappingURL=FacebookCourseMappingsSection-Dqn0D7cH.js.map
|