@genpact/genome.mfe.mgtwin-app 1.1.83 → 1.1.84
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/{AssessmentAMA-9be0b589.mjs → AssessmentAMA-dd10463f.mjs} +102 -104
- package/dist/{AssessmentSimulation-71f74f34.mjs → AssessmentSimulation-a0398c44.mjs} +7 -7
- package/dist/{EditSkillAdminData-aaff197b.mjs → EditSkillAdminData-c61b83ea.mjs} +2 -2
- package/dist/{EditSkillData-a1d5adeb.mjs → EditSkillData-00e04f78.mjs} +2 -2
- package/dist/{HomeView-d63e76b2.mjs → HomeView-8e18a10d.mjs} +125 -127
- package/dist/{Loading-ee5a4eac.mjs → Loading-58237f73.mjs} +1 -1
- package/dist/{LoadingSimulation-76664f39.mjs → LoadingSimulation-dc1d5ce6.mjs} +1 -1
- package/dist/{Modal-2cffa816.mjs → Modal-b557be7f.mjs} +4 -5
- package/dist/{PromptTesting-4358a351.mjs → PromptTesting-c44f2fc1.mjs} +2 -2
- package/dist/{SkillAutomation-c8d99e52.mjs → SkillAutomation-0557f9a1.mjs} +3 -3
- package/dist/{SkillData-63d18edb.mjs → SkillData-3892c263.mjs} +3 -3
- package/dist/{UnderMaintenance-ac81f0e3.mjs → UnderMaintenance-ae7a905c.mjs} +1 -1
- package/dist/{_commonjsHelpers-b27c934e.mjs → _commonjsHelpers-b85cce83.mjs} +1 -1
- package/dist/{api-80b5293d.mjs → api-229c58d2.mjs} +1 -1
- package/dist/{main-edcc4839.mjs → main-9ac3b986.mjs} +1361 -1361
- package/dist/mgtwin.es.min.js +1 -1
- package/dist/mgtwin.umd.min.js +12 -12
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { _ as U, a as V, L as
|
|
2
|
-
import { _ as
|
|
3
|
-
import { d as y, r as
|
|
1
|
+
import { _ as U, a as V, L as H } from "./LoadingSimulation-dc1d5ce6.mjs";
|
|
2
|
+
import { _ as B, Q as M, a as z } from "./Modal-b557be7f.mjs";
|
|
3
|
+
import { d as y, r as u, H as R, o as c, c as d, a as t, u as k, y as L, t as S, G as D, p as N, g as E, C as Q, z as G, h as x, F as O, e as Z, f as I, b as v, k as F, w as K, m as W, L as Y, q as P, s as J, l as X } from "./main-9ac3b986.mjs";
|
|
4
4
|
import { _ as $ } from "./_plugin-vue_export-helper-dad06003.mjs";
|
|
5
|
-
import { p as ee, g as
|
|
5
|
+
import { p as ee, g as te } from "./api-229c58d2.mjs";
|
|
6
6
|
import "./loadernew-ac153a51.mjs";
|
|
7
|
-
const
|
|
7
|
+
const se = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#021c42] md:pr-6 lg:pr-6" }, ae = ["href"], oe = /* @__PURE__ */ t("img", {
|
|
8
8
|
class: "h-11 w-auto cursor-pointer",
|
|
9
9
|
src: U,
|
|
10
10
|
alt: "Genome Logo"
|
|
11
11
|
}, null, -1), ne = [
|
|
12
12
|
oe
|
|
13
|
-
], re = ["href"], le = /* @__PURE__ */
|
|
13
|
+
], re = ["href"], le = /* @__PURE__ */ t("img", {
|
|
14
14
|
class: "h-9 w-28 cursor-pointer md:w-36",
|
|
15
|
-
src:
|
|
15
|
+
src: B,
|
|
16
16
|
alt: "Aiguru Logo"
|
|
17
17
|
}, null, -1), ie = [
|
|
18
18
|
le
|
|
19
19
|
], ce = /* @__PURE__ */ y({
|
|
20
20
|
__name: "headerAMA",
|
|
21
21
|
setup(n) {
|
|
22
|
-
const e =
|
|
23
|
-
return R === "prod" ? e.value = "https://genome.genpact.com" : e.value = "https://genome-dev.genpact.com", R === "prod" ? o.value = "https://genome.genpact.com/#aiguru" : o.value = "https://genome-dev.genpact.com/#aiguru", (l, p) => (c(),
|
|
24
|
-
|
|
22
|
+
const e = u(""), o = u("");
|
|
23
|
+
return R === "prod" ? e.value = "https://genome.genpact.com" : e.value = "https://genome-dev.genpact.com", R === "prod" ? o.value = "https://genome.genpact.com/#aiguru" : o.value = "https://genome-dev.genpact.com/#aiguru", (l, p) => (c(), d("nav", se, [
|
|
24
|
+
t("a", {
|
|
25
25
|
class: "px-2 md:px-0 lg:px-0",
|
|
26
26
|
href: e.value,
|
|
27
27
|
target: "_blank"
|
|
28
28
|
}, ne, 8, ae),
|
|
29
|
-
|
|
29
|
+
t("a", {
|
|
30
30
|
class: "px-2 md:px-0 lg:px-0",
|
|
31
31
|
href: o.value,
|
|
32
32
|
target: "_blank"
|
|
33
33
|
}, ie, 8, re)
|
|
34
34
|
]));
|
|
35
35
|
}
|
|
36
|
-
}), de = { class: "flex items-end justify-start" }, ue = { class: "fontFormattingAMA w-full bg-gray-100 rounded-lg" }, _e = { class: "w-full rounded-md px-3 py-2 text-lg text-black md:text-xl" }, pe = ["innerHTML"], me = /* @__PURE__ */
|
|
36
|
+
}), de = { class: "flex items-end justify-start" }, ue = { class: "fontFormattingAMA w-full bg-gray-100 rounded-lg" }, _e = { class: "w-full rounded-md px-3 py-2 text-lg text-black md:text-xl" }, pe = ["innerHTML"], me = /* @__PURE__ */ t("br", null, null, -1), he = /* @__PURE__ */ y({
|
|
37
37
|
__name: "greetingsAMA",
|
|
38
38
|
setup(n) {
|
|
39
39
|
const e = k(), o = ` Hi ${e.learnerName || "Learner"}! 👋`, l = L(() => o);
|
|
40
|
-
return L(() => `I'm here and ready to help! What would you like to know about <span class='font-[600]'>${e.amaSkillName || "Skill"}</span>? <br/> Ask me to explain concepts, provide examples, or clarify anything that seems confusing.`), (p, m) => (c(),
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
40
|
+
return L(() => `I'm here and ready to help! What would you like to know about <span class='font-[600]'>${e.amaSkillName || "Skill"}</span>? <br/> Ask me to explain concepts, provide examples, or clarify anything that seems confusing.`), (p, m) => (c(), d("section", null, [
|
|
41
|
+
t("div", de, [
|
|
42
|
+
t("div", ue, [
|
|
43
|
+
t("div", _e, [
|
|
44
|
+
t("div", { innerHTML: l.value }, null, 8, pe)
|
|
45
45
|
])
|
|
46
46
|
])
|
|
47
47
|
]),
|
|
@@ -62,11 +62,11 @@ const te = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#0
|
|
|
62
62
|
/Assessment Rating & Feedback/g,
|
|
63
63
|
'<div style="font-size: 26px; font-weight: bold; text-decoration: underline;">Rating & Feedback</div>'
|
|
64
64
|
), p = /\[([^\]]+)\]\((https?:\/\/[^\s]+)\)/g;
|
|
65
|
-
return l.replace(p, (m, r,
|
|
65
|
+
return l.replace(p, (m, r, s) => `<a href="${s}" target="_blank" rel="noopener noreferrer" style="color: blue; text-decoration: underline;">${r}</a>`);
|
|
66
66
|
});
|
|
67
|
-
return (l, p) => (c(),
|
|
68
|
-
|
|
69
|
-
|
|
67
|
+
return (l, p) => (c(), d("div", fe, [
|
|
68
|
+
t("div", ge, [
|
|
69
|
+
t("span", {
|
|
70
70
|
class: "fontFormattingAMA",
|
|
71
71
|
innerHTML: o.value
|
|
72
72
|
}, null, 8, ve)
|
|
@@ -83,20 +83,20 @@ const ye = /* @__PURE__ */ $(xe, [["__scopeId", "data-v-f88d6450"]]), we = { cla
|
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
setup(n) {
|
|
86
|
-
return (e, o) => (c(),
|
|
87
|
-
|
|
88
|
-
|
|
86
|
+
return (e, o) => (c(), d("div", we, [
|
|
87
|
+
t("div", Ae, [
|
|
88
|
+
t("div", be, S(n.question), 1)
|
|
89
89
|
])
|
|
90
90
|
]));
|
|
91
91
|
}
|
|
92
|
-
}), ke = (n) => (N("data-v-12a02acf"), n = n(), E(), n), qe = { class: "flex w-full flex-col items-start justify-start bg-white" }, Me = { class: "bot-typing-animation gap-1" }, Ie = { class: "block w-full text-lg italic text-gray-800" }, Le = /* @__PURE__ */ ke(() => /* @__PURE__ */
|
|
93
|
-
/* @__PURE__ */
|
|
94
|
-
/* @__PURE__ */
|
|
95
|
-
/* @__PURE__ */
|
|
96
|
-
], -1)), Se = /* @__PURE__ */
|
|
92
|
+
}), ke = (n) => (N("data-v-12a02acf"), n = n(), E(), n), qe = { class: "flex w-full flex-col items-start justify-start bg-white" }, Me = { class: "bot-typing-animation gap-1" }, Ie = { class: "block w-full text-lg italic text-gray-800" }, Le = /* @__PURE__ */ ke(() => /* @__PURE__ */ t("span", { class: "dot-animation" }, [
|
|
93
|
+
/* @__PURE__ */ t("span", null, "."),
|
|
94
|
+
/* @__PURE__ */ t("span", null, "."),
|
|
95
|
+
/* @__PURE__ */ t("span", null, ".")
|
|
96
|
+
], -1)), Se = /* @__PURE__ */ D('<div class="block w-full max-w-full items-stretch" data-v-12a02acf><div class="flex animate-pulse items-start justify-start space-x-4" data-v-12a02acf><div class="flex-1 space-y-6 py-1" data-v-12a02acf><div class="h-2 w-full rounded bg-gray-300" data-v-12a02acf></div><div class="space-y-3" data-v-12a02acf><div class="grid grid-cols-3 gap-4" data-v-12a02acf><div class="col-span-2 h-2 rounded bg-gray-300" data-v-12a02acf></div><div class="col-span-1 h-2 rounded bg-gray-300" data-v-12a02acf></div></div><div class="h-2 rounded bg-gray-300" data-v-12a02acf></div></div></div></div></div>', 1), Ne = /* @__PURE__ */ y({
|
|
97
97
|
__name: "LoadingResponseAMA",
|
|
98
98
|
setup(n) {
|
|
99
|
-
const e =
|
|
99
|
+
const e = u("Generating response"), o = u([
|
|
100
100
|
"This may take a few seconds",
|
|
101
101
|
"Fetching the best response for you",
|
|
102
102
|
"Thinking... give me a moment",
|
|
@@ -108,9 +108,9 @@ const ye = /* @__PURE__ */ $(xe, [["__scopeId", "data-v-f88d6450"]]), we = { cla
|
|
|
108
108
|
return setTimeout(() => {
|
|
109
109
|
const l = Math.floor(Math.random() * o.value.length);
|
|
110
110
|
e.value = o.value[l];
|
|
111
|
-
}, 15e3), (l, p) => (c(),
|
|
112
|
-
|
|
113
|
-
|
|
111
|
+
}, 15e3), (l, p) => (c(), d("div", qe, [
|
|
112
|
+
t("div", Me, [
|
|
113
|
+
t("div", Ie, S(e.value), 1),
|
|
114
114
|
Le
|
|
115
115
|
]),
|
|
116
116
|
Se
|
|
@@ -123,78 +123,78 @@ const Ee = /* @__PURE__ */ $(Ne, [["__scopeId", "data-v-12a02acf"]]), Qe = { key
|
|
|
123
123
|
}, Fe = /* @__PURE__ */ y({
|
|
124
124
|
__name: "conversationAMA",
|
|
125
125
|
setup(n) {
|
|
126
|
-
let e =
|
|
126
|
+
let e = u(""), o = u("");
|
|
127
127
|
e.value = '<a style="color:#00AECF;"', o.value = '<ul style="list-style: disc !important; margin-left: 3.5rem !important; padding: 0;"';
|
|
128
|
-
const l = k(), p =
|
|
128
|
+
const l = k(), p = u();
|
|
129
129
|
return Q(() => {
|
|
130
|
-
var
|
|
130
|
+
var s;
|
|
131
131
|
const m = document.getElementsByName("askQuestion"), r = Array.from(m);
|
|
132
|
-
m.length && ((
|
|
133
|
-
}),
|
|
134
|
-
var
|
|
132
|
+
m.length && ((s = r == null ? void 0 : r.pop()) == null || s.scrollIntoView({ behavior: "smooth", block: "center" }));
|
|
133
|
+
}), G(() => {
|
|
134
|
+
var s;
|
|
135
135
|
const m = document.getElementsByName("askQuestion"), r = Array.from(m);
|
|
136
|
-
m.length && ((
|
|
137
|
-
}), (m, r) => (c(),
|
|
136
|
+
m.length && ((s = r == null ? void 0 : r.pop()) == null || s.scrollIntoView({ behavior: "smooth", block: "center" }));
|
|
137
|
+
}), (m, r) => (c(), d("div", {
|
|
138
138
|
ref_key: "nestedElement",
|
|
139
139
|
ref: p,
|
|
140
140
|
class: "smooth-scroll overflow-auto md:px-6 px-2"
|
|
141
141
|
}, [
|
|
142
142
|
x(he),
|
|
143
|
-
(c(!0),
|
|
144
|
-
|
|
143
|
+
(c(!0), d(O, null, Z(v(l).conversations, (s, _) => (c(), d("div", { key: _ }, [
|
|
144
|
+
s.question ? (c(), d("div", Qe, [
|
|
145
145
|
x($e, {
|
|
146
|
-
question:
|
|
147
|
-
c2question:
|
|
148
|
-
"show-feedback":
|
|
146
|
+
question: s.question,
|
|
147
|
+
c2question: s.c2question,
|
|
148
|
+
"show-feedback": s.showFeedback,
|
|
149
149
|
id: `qId${_}`,
|
|
150
150
|
name: "askQuestion",
|
|
151
151
|
"que-id": _
|
|
152
152
|
}, null, 8, ["question", "c2question", "show-feedback", "id", "que-id"])
|
|
153
153
|
])) : I("", !0),
|
|
154
|
-
|
|
154
|
+
s.answer ? (c(), d("div", Ce, [
|
|
155
155
|
x(ye, {
|
|
156
|
-
question:
|
|
157
|
-
c2question:
|
|
158
|
-
"show-sources":
|
|
159
|
-
questionId:
|
|
160
|
-
answer:
|
|
161
|
-
"show-feedback":
|
|
162
|
-
"related-ques":
|
|
163
|
-
"options-array":
|
|
156
|
+
question: s == null ? void 0 : s.question,
|
|
157
|
+
c2question: s == null ? void 0 : s.c2question,
|
|
158
|
+
"show-sources": s == null ? void 0 : s.showSources,
|
|
159
|
+
questionId: s.id,
|
|
160
|
+
answer: s.answer.replaceAll("<a", v(e)).replaceAll("<ul", v(o)),
|
|
161
|
+
"show-feedback": s.showFeedback,
|
|
162
|
+
"related-ques": s.relatedQues,
|
|
163
|
+
"options-array": s.optionsArray,
|
|
164
164
|
"ans-id": _
|
|
165
165
|
}, null, 8, ["question", "c2question", "show-sources", "questionId", "answer", "show-feedback", "related-ques", "options-array", "ans-id"])
|
|
166
166
|
])) : I("", !0)
|
|
167
167
|
]))), 128)),
|
|
168
|
-
v(l).dotLoader ? (c(),
|
|
168
|
+
v(l).dotLoader ? (c(), d("div", Re, [
|
|
169
169
|
x(Ee)
|
|
170
170
|
])) : I("", !0)
|
|
171
171
|
], 512));
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
|
-
const Pe = /* @__PURE__ */ $(Fe, [["__scopeId", "data-v-e6168dd4"]]), q = (n) => (N("data-v-
|
|
175
|
-
|
|
174
|
+
const Pe = /* @__PURE__ */ $(Fe, [["__scopeId", "data-v-e6168dd4"]]), q = (n) => (N("data-v-31fa8687"), n = n(), E(), n), Te = { class: "z-3 absolute bottom-0 mt-4 w-full bg-white px-2 md:px-6" }, je = { class: "py-2" }, Ue = { class: "flex" }, Ve = { class: "z-1 relative w-full" }, He = { class: "relative w-full" }, Be = { class: "absolute inset-y-0 right-0 flex items-center md:pr-8 pr-3" }, ze = { key: 0 }, De = /* @__PURE__ */ q(() => /* @__PURE__ */ t("path", { d: "M15.854.146a.5.5 0 0 1 .11.54l-5.819 14.547a.75.75 0 0 1-1.329.124l-3.178-4.995L.643 7.184a.75.75 0 0 1 .124-1.33L15.314.037a.5.5 0 0 1 .54.11ZM6.636 10.07l2.761 4.338L14.13 2.576 6.636 10.07Zm6.787-8.201L1.591 6.602l4.339 2.76 7.494-7.493Z" }, null, -1)), Ge = [
|
|
175
|
+
De
|
|
176
176
|
], Oe = {
|
|
177
177
|
key: 1,
|
|
178
178
|
class: "tooltip"
|
|
179
|
-
}, Ze = /* @__PURE__ */ q(() => /* @__PURE__ */
|
|
179
|
+
}, Ze = /* @__PURE__ */ q(() => /* @__PURE__ */ t("span", { class: "tooltiptext" }, "Processing", -1)), Ke = /* @__PURE__ */ q(() => /* @__PURE__ */ t("img", {
|
|
180
180
|
class: "w-7 h-7",
|
|
181
181
|
src: V,
|
|
182
182
|
alt: "watingIcon"
|
|
183
183
|
}, null, -1)), We = [
|
|
184
184
|
Ze,
|
|
185
185
|
Ke
|
|
186
|
-
], Ye = { class: "flex justify-start" }, Je = ["placeholder"], Xe = { class: "flex justify-start items-start text-[#161916] px-1" },
|
|
187
|
-
/* @__PURE__ */
|
|
188
|
-
], -1)),
|
|
186
|
+
], Ye = { class: "flex justify-start" }, Je = ["placeholder"], Xe = { class: "flex justify-start items-start text-[#161916] px-1" }, et = /* @__PURE__ */ q(() => /* @__PURE__ */ t("div", { class: "pt-1 text-start font-sans" }, [
|
|
187
|
+
/* @__PURE__ */ t("div", { class: "text-xs font-bold text-gray-500 md:text-sm px-1" }, " Note: AI-generated response may not be fully accurate; check with experts for critical information. ")
|
|
188
|
+
], -1)), tt = /* @__PURE__ */ y({
|
|
189
189
|
__name: "NewQuestionAMA",
|
|
190
190
|
setup(n) {
|
|
191
191
|
const e = k(), o = F();
|
|
192
192
|
e.question = "";
|
|
193
|
-
const l =
|
|
193
|
+
const l = u(null), p = u(!1), m = u(M), r = u(!1);
|
|
194
194
|
Q(() => {
|
|
195
195
|
l.value.focus();
|
|
196
196
|
});
|
|
197
|
-
const _ =
|
|
197
|
+
const _ = u(((h) => new URLSearchParams(window.location.search).get(h) || "")("amaId"));
|
|
198
198
|
console.log("amaId", _.value);
|
|
199
199
|
const w = (h) => {
|
|
200
200
|
const i = h.length;
|
|
@@ -215,13 +215,13 @@ const Pe = /* @__PURE__ */ $(Fe, [["__scopeId", "data-v-e6168dd4"]]), q = (n) =>
|
|
|
215
215
|
question: e == null ? void 0 : e.question
|
|
216
216
|
};
|
|
217
217
|
e.conversations.push(a);
|
|
218
|
-
const g =
|
|
218
|
+
const g = u("");
|
|
219
219
|
g.value = e == null ? void 0 : e.question, e.question = "";
|
|
220
220
|
const T = {
|
|
221
221
|
skillId: _.value,
|
|
222
222
|
question: g.value,
|
|
223
223
|
past_messages: e.past_messages
|
|
224
|
-
}, j = await ee("/
|
|
224
|
+
}, j = await ee("/fetchS3Data", T);
|
|
225
225
|
e.addConversation((h = j.data) == null ? void 0 : h.body, "new"), r.value = !1, e.dotLoader = !1;
|
|
226
226
|
} catch (a) {
|
|
227
227
|
if (console.error(a), e.dotLoader = !1, r.value = !1, P.isAxiosError(a)) {
|
|
@@ -231,24 +231,24 @@ const Pe = /* @__PURE__ */ $(Fe, [["__scopeId", "data-v-e6168dd4"]]), q = (n) =>
|
|
|
231
231
|
o.setError("There was an issue, please contact helpmate");
|
|
232
232
|
}
|
|
233
233
|
};
|
|
234
|
-
return (h, i) => (c(),
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
r.value ? (c(),
|
|
241
|
-
(c(),
|
|
234
|
+
return (h, i) => (c(), d("div", Te, [
|
|
235
|
+
t("div", je, [
|
|
236
|
+
t("div", Ue, [
|
|
237
|
+
t("div", Ve, [
|
|
238
|
+
t("div", He, [
|
|
239
|
+
t("div", Be, [
|
|
240
|
+
r.value ? (c(), d("div", Oe, We)) : (c(), d("div", ze, [
|
|
241
|
+
(c(), d("svg", {
|
|
242
242
|
onClick: i[0] || (i[0] = (f) => A()),
|
|
243
243
|
xmlns: "http://www.w3.org/2000/svg",
|
|
244
244
|
fill: "currentColor",
|
|
245
245
|
class: "bi bi-send ml-2 h-7 w-7 rotate-45 rounded",
|
|
246
246
|
viewBox: "0 0 16 16"
|
|
247
|
-
},
|
|
247
|
+
}, Ge))
|
|
248
248
|
]))
|
|
249
249
|
]),
|
|
250
|
-
|
|
251
|
-
K(
|
|
250
|
+
t("div", Ye, [
|
|
251
|
+
K(t("input", {
|
|
252
252
|
onKeyup: [
|
|
253
253
|
i[1] || (i[1] = Y((f) => r.value ? "" : A(), ["enter"])),
|
|
254
254
|
i[3] || (i[3] = (f) => w(v(e).question))
|
|
@@ -264,30 +264,28 @@ const Pe = /* @__PURE__ */ $(Fe, [["__scopeId", "data-v-e6168dd4"]]), q = (n) =>
|
|
|
264
264
|
])
|
|
265
265
|
])
|
|
266
266
|
]),
|
|
267
|
-
|
|
268
|
-
|
|
267
|
+
t("div", Xe, S(v(e).amaQuestionsLeft) + " questions remaining for the day ", 1),
|
|
268
|
+
et
|
|
269
269
|
])
|
|
270
270
|
])
|
|
271
271
|
])
|
|
272
272
|
]));
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
|
-
const
|
|
276
|
-
/* @__PURE__ */
|
|
277
|
-
/* @__PURE__ */
|
|
278
|
-
], -1)),
|
|
275
|
+
const st = /* @__PURE__ */ $(tt, [["__scopeId", "data-v-31fa8687"]]), C = (n) => (N("data-v-4632b0a7"), n = n(), E(), n), at = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "max-h-screen overflow-auto md:p-6 p-3 flex flex-col items-center justify-center gap-4 text-[#161916]" }, [
|
|
276
|
+
/* @__PURE__ */ t("div", { class: "text-2xl font-[700]" }, "Assessment Access Required"),
|
|
277
|
+
/* @__PURE__ */ t("h3", { className: "text-lg font-medium my-6 text-center text-gray-500" }, " You don't have access to this assessment. Please contact to administrator ")
|
|
278
|
+
], -1)), ot = {
|
|
279
279
|
key: 1,
|
|
280
280
|
className: "h-screen flex flex-col items-stretch"
|
|
281
|
-
},
|
|
281
|
+
}, nt = { class: "z-20" }, rt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "mt-6" }, null, -1)), lt = { class: "flex h-full items-stretch overflow-hidden" }, it = { class: "mx-auto w-11/12 bg-white" }, ct = { class: "relative flex h-full w-full flex-col items-stretch overflow-hidden" }, dt = /* @__PURE__ */ C(() => /* @__PURE__ */ t("div", { class: "mt-[160px]" }, null, -1)), ut = { class: "relative" }, _t = /* @__PURE__ */ y({
|
|
282
282
|
__name: "AssessmentAMA",
|
|
283
283
|
setup(n) {
|
|
284
|
-
const e =
|
|
285
|
-
d("");
|
|
286
|
-
const r = d(((_) => new URLSearchParams(window.location.search).get(_) || "")("amaId"));
|
|
284
|
+
const e = u(!0), o = u(!1), l = k(), p = F(), r = u(((_) => new URLSearchParams(window.location.search).get(_) || "")("amaId"));
|
|
287
285
|
l.amaSkillId = r.value ?? "", Q(async () => {
|
|
288
|
-
e.value = !0, await
|
|
286
|
+
e.value = !0, await s(), e.value = !1;
|
|
289
287
|
});
|
|
290
|
-
const
|
|
288
|
+
const s = async () => {
|
|
291
289
|
var _, w, A, h, i, f, b;
|
|
292
290
|
try {
|
|
293
291
|
if (r.value === null)
|
|
@@ -300,7 +298,7 @@ const ts = /* @__PURE__ */ $(ss, [["__scopeId", "data-v-4d4db1ef"]]), C = (n) =>
|
|
|
300
298
|
}
|
|
301
299
|
};
|
|
302
300
|
console.log("before calling get learner");
|
|
303
|
-
const a = await
|
|
301
|
+
const a = await te(
|
|
304
302
|
`/getLearnerData?amaSkillId=${r.value}`
|
|
305
303
|
);
|
|
306
304
|
l.initialize(a.data), l.amaQuestionsLeft = (_ = a == null ? void 0 : a.data) == null ? void 0 : _.questionsLeftAIGC, l.amaSkillName = (w = a == null ? void 0 : a.data) == null ? void 0 : w.skillName, e.value = !1;
|
|
@@ -316,27 +314,27 @@ const ts = /* @__PURE__ */ $(ss, [["__scopeId", "data-v-4d4db1ef"]]), C = (n) =>
|
|
|
316
314
|
p.setError("There was an issue, please contact helpmate");
|
|
317
315
|
}
|
|
318
316
|
};
|
|
319
|
-
return (_, w) => (c(),
|
|
317
|
+
return (_, w) => (c(), d("section", null, [
|
|
320
318
|
x(z, { "is-visible": o.value }, {
|
|
321
319
|
default: J(() => [
|
|
322
|
-
|
|
320
|
+
at
|
|
323
321
|
]),
|
|
324
322
|
_: 1
|
|
325
323
|
}, 8, ["is-visible"]),
|
|
326
|
-
|
|
327
|
-
e.value ? (c(), X(
|
|
328
|
-
|
|
324
|
+
t("div", null, [
|
|
325
|
+
e.value ? (c(), X(H, { key: 0 })) : (c(), d("main", ot, [
|
|
326
|
+
t("div", nt, [
|
|
329
327
|
x(ce)
|
|
330
328
|
]),
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
329
|
+
rt,
|
|
330
|
+
t("div", lt, [
|
|
331
|
+
t("div", it, [
|
|
332
|
+
t("div", ct, [
|
|
335
333
|
x(Pe),
|
|
336
|
-
|
|
334
|
+
dt
|
|
337
335
|
]),
|
|
338
|
-
|
|
339
|
-
x(
|
|
336
|
+
t("div", ut, [
|
|
337
|
+
x(st)
|
|
340
338
|
])
|
|
341
339
|
])
|
|
342
340
|
])
|
|
@@ -345,7 +343,7 @@ const ts = /* @__PURE__ */ $(ss, [["__scopeId", "data-v-4d4db1ef"]]), C = (n) =>
|
|
|
345
343
|
]));
|
|
346
344
|
}
|
|
347
345
|
});
|
|
348
|
-
const
|
|
346
|
+
const xt = /* @__PURE__ */ $(_t, [["__scopeId", "data-v-4632b0a7"]]);
|
|
349
347
|
export {
|
|
350
|
-
|
|
348
|
+
xt as default
|
|
351
349
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { _ as Sl, a as up, L as Cl } from "./LoadingSimulation-
|
|
2
|
-
import { _ as yl, a as pp, Q as jt, M as ba } from "./Modal-
|
|
3
|
-
import { d as _e, r as _, H as Lt, o as D, c as k, a as P, u as Ne, k as wt, y as Uo, h as ye, s as dp, t as Xe, b as O, f as Pe, i as ge, I as Qi, F as Ho, e as Wo, w as Yo, J as Pl, p as Kn, g as Jn, G as es, C as Vt, z as Rl, K as El, q as Ie, n as xt, m as lp, L as hp, l as wl } from "./main-
|
|
1
|
+
import { _ as Sl, a as up, L as Cl } from "./LoadingSimulation-dc1d5ce6.mjs";
|
|
2
|
+
import { _ as yl, a as pp, Q as jt, M as ba } from "./Modal-b557be7f.mjs";
|
|
3
|
+
import { d as _e, r as _, H as Lt, o as D, c as k, a as P, u as Ne, k as wt, y as Uo, h as ye, s as dp, t as Xe, b as O, f as Pe, i as ge, I as Qi, F as Ho, e as Wo, w as Yo, J as Pl, p as Kn, g as Jn, G as es, C as Vt, z as Rl, K as El, q as Ie, n as xt, m as lp, L as hp, l as wl } from "./main-9ac3b986.mjs";
|
|
4
4
|
import { _ as $t } from "./_plugin-vue_export-helper-dad06003.mjs";
|
|
5
|
-
import { g as qn, p as Hn } from "./api-
|
|
6
|
-
import { c as q, a as Al, r as Il } from "./_commonjsHelpers-
|
|
5
|
+
import { g as qn, p as Hn } from "./api-229c58d2.mjs";
|
|
6
|
+
import { c as q, a as Al, r as Il } from "./_commonjsHelpers-b85cce83.mjs";
|
|
7
7
|
import "./loadernew-ac153a51.mjs";
|
|
8
8
|
const _l = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#021c42] md:pr-6 lg:pr-6" }, Tl = ["href"], bl = /* @__PURE__ */ P("img", {
|
|
9
9
|
class: "h-11 w-auto cursor-pointer",
|
|
@@ -18259,7 +18259,7 @@ const Sy = /* @__PURE__ */ $t(my, [["__scopeId", "data-v-dd2e329e"]]), go = (t)
|
|
|
18259
18259
|
]));
|
|
18260
18260
|
}
|
|
18261
18261
|
});
|
|
18262
|
-
const Ly = /* @__PURE__ */ $t(jy, [["__scopeId", "data-v-6c0980b5"]]), ai = (t) => (Kn("data-v-
|
|
18262
|
+
const Ly = /* @__PURE__ */ $t(jy, [["__scopeId", "data-v-6c0980b5"]]), ai = (t) => (Kn("data-v-e37be657"), t = t(), Jn(), t), xy = { class: "max-h-screen overflow-auto md:p-6 p-3 text-[#161916]" }, By = {
|
|
18263
18263
|
key: 0,
|
|
18264
18264
|
class: "flex flex-col items-center justify-center gap-4"
|
|
18265
18265
|
}, qy = /* @__PURE__ */ ai(() => /* @__PURE__ */ P("div", { class: "text-2xl font-[700]" }, "Assessment Access Required", -1)), Fy = /* @__PURE__ */ ai(() => /* @__PURE__ */ P("h3", { className: "text-lg font-medium my-6 text-center text-gray-500" }, " You don't have access to this assessment. Please contact to administrator ", -1)), Uy = [
|
|
@@ -18430,7 +18430,7 @@ const Ly = /* @__PURE__ */ $t(jy, [["__scopeId", "data-v-6c0980b5"]]), ai = (t)
|
|
|
18430
18430
|
]));
|
|
18431
18431
|
}
|
|
18432
18432
|
});
|
|
18433
|
-
const MR = /* @__PURE__ */ $t(tP, [["__scopeId", "data-v-
|
|
18433
|
+
const MR = /* @__PURE__ */ $t(tP, [["__scopeId", "data-v-e37be657"]]);
|
|
18434
18434
|
export {
|
|
18435
18435
|
MR as default
|
|
18436
18436
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as U, u as z, k as O, r, o as n, c as d, a as e, w as b, m as k, b as i, n as S, v as L, F as V, e as P, t as f, q as D, D as T, p as $, g as H, i as F } from "./main-
|
|
1
|
+
import { d as U, u as z, k as O, r, o as n, c as d, a as e, w as b, m as k, b as i, n as S, v as L, F as V, e as P, t as f, q as D, D as T, p as $, g as H, i as F } from "./main-9ac3b986.mjs";
|
|
2
2
|
import { _ as j } from "./loadernew-ac153a51.mjs";
|
|
3
|
-
import { p as B, g as Y } from "./api-
|
|
3
|
+
import { p as B, g as Y } from "./api-229c58d2.mjs";
|
|
4
4
|
import { _ as J } from "./_plugin-vue_export-helper-dad06003.mjs";
|
|
5
5
|
const c = (_) => ($("data-v-3bb57317"), _ = _(), H(), _), Q = { class: "grid grid-cols-5 gap-8 p-10 items-stretch" }, X = /* @__PURE__ */ c(() => /* @__PURE__ */ e("div", { class: "col-span-1 text-right" }, [
|
|
6
6
|
/* @__PURE__ */ e("label", {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { o as r, c, a as e, d as j, M as U, h as q, b as a, K as M, u as W, k as P, r as i, w as y, m as k, n as S, f as _, F as A, e as H, v as O, t as x, q as B, D as Y, p as J, g as Q, i as D } from "./main-
|
|
1
|
+
import { o as r, c, a as e, d as j, M as U, h as q, b as a, K as M, u as W, k as P, r as i, w as y, m as k, n as S, f as _, F as A, e as H, v as O, t as x, q as B, D as Y, p as J, g as Q, i as D } from "./main-9ac3b986.mjs";
|
|
2
2
|
import { _ as z } from "./loadernew-ac153a51.mjs";
|
|
3
|
-
import { p as $ } from "./api-
|
|
3
|
+
import { p as $ } from "./api-229c58d2.mjs";
|
|
4
4
|
import { _ as X } from "./genome-Logo-white-ffcf2413.mjs";
|
|
5
5
|
import { _ as Z } from "./_plugin-vue_export-helper-dad06003.mjs";
|
|
6
6
|
function ee(d, t) {
|