@genpact/genome.mfe.mgtwin-app 1.1.308-alpha → 1.1.310-alpha
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/{ArrowLeftCircleIcon-993ac03f.mjs → ArrowLeftCircleIcon-e14acd82.mjs} +1 -1
- package/dist/AssessmentAMA-a10fe60e.mjs +498 -0
- package/dist/{AssessmentSimulation-a2ed91b2.mjs → AssessmentSimulation-9d8a6de4.mjs} +5 -5
- package/dist/{EditSkillAdminData-a27bcfaa.mjs → EditSkillAdminData-88949575.mjs} +3 -3
- package/dist/{EditSkillData-5f338b53.mjs → EditSkillData-f39928b4.mjs} +3 -3
- package/dist/{HomeView-72aa4511.mjs → HomeView-c240686d.mjs} +5 -5
- package/dist/{Loading-3de5336b.mjs → Loading-06476186.mjs} +1 -1
- package/dist/{LoadingSimulation-29658196.mjs → LoadingSimulation-22be5efd.mjs} +1 -1
- package/dist/{Modal-16cb2a7b.mjs → Modal-7dacf952.mjs} +1 -1
- package/dist/{PaperAirplaneIcon-eec60dcc.mjs → PaperAirplaneIcon-57c42772.mjs} +1 -1
- package/dist/{PromptTesting-b4401def.mjs → PromptTesting-0f8284b1.mjs} +3 -3
- package/dist/{SkillAutomation-a914a3d9.mjs → SkillAutomation-8cb49df9.mjs} +3 -3
- package/dist/{SkillData-11d63828.mjs → SkillData-4ec779fc.mjs} +3 -3
- package/dist/{Testcase-3ab139a1.mjs → Testcase-b5a1f305.mjs} +3 -3
- package/dist/{UnderMaintenance-112eb20d.mjs → UnderMaintenance-fac37030.mjs} +1 -1
- package/dist/{_commonjsHelpers-60049552.mjs → _commonjsHelpers-78d57187.mjs} +1 -1
- package/dist/{api-080ff48b.mjs → api-5d072975.mjs} +1 -1
- package/dist/{main-b726e9f4.mjs → main-c076478b.mjs} +1193 -1193
- package/dist/mgtwin.es.min.js +1 -1
- package/dist/mgtwin.umd.min.js +15 -15
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/AssessmentAMA-c1648b25.mjs +0 -1098
|
@@ -0,0 +1,498 @@
|
|
|
1
|
+
import { _ as Q, a as j, L as B } from "./LoadingSimulation-22be5efd.mjs";
|
|
2
|
+
import { _ as G, Q as M, a as V } from "./Modal-7dacf952.mjs";
|
|
3
|
+
import { d as b, r as _, H as C, o as r, c as d, a as s, u as w, y as q, t as L, G as U, p as E, g as N, C as T, z as D, h as k, F as H, e as z, f as S, b as x, k as R, w as O, m as W, L as Z, q as I, s as K, l as Y } from "./main-c076478b.mjs";
|
|
4
|
+
import { _ as y } from "./_plugin-vue_export-helper-dad06003.mjs";
|
|
5
|
+
import { g as J } from "./api-5d072975.mjs";
|
|
6
|
+
import "./loadernew-ac153a51.mjs";
|
|
7
|
+
const X = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#021c42] md:pr-6 lg:pr-6" }, ee = ["href"], se = /* @__PURE__ */ s("img", {
|
|
8
|
+
class: "h-11 w-auto cursor-pointer",
|
|
9
|
+
src: Q,
|
|
10
|
+
alt: "Genome Logo"
|
|
11
|
+
}, null, -1), ae = [
|
|
12
|
+
se
|
|
13
|
+
], te = ["href"], le = /* @__PURE__ */ s("img", {
|
|
14
|
+
class: "h-9 w-28 cursor-pointer md:w-36",
|
|
15
|
+
src: G,
|
|
16
|
+
alt: "Aiguru Logo"
|
|
17
|
+
}, null, -1), ie = [
|
|
18
|
+
le
|
|
19
|
+
], oe = /* @__PURE__ */ b({
|
|
20
|
+
__name: "headerAMA",
|
|
21
|
+
setup(t) {
|
|
22
|
+
const e = _(""), l = _("");
|
|
23
|
+
return C === "prod" ? e.value = "https://genome.genpact.com" : e.value = "https://genome-dev.genpact.com", C === "prod" ? l.value = "https://genome.genpact.com/#aiguru" : l.value = "https://genome-dev.genpact.com/#aiguru", (o, u) => (r(), d("nav", X, [
|
|
24
|
+
s("a", {
|
|
25
|
+
class: "px-2 md:px-0 lg:px-0",
|
|
26
|
+
href: e.value,
|
|
27
|
+
target: "_blank"
|
|
28
|
+
}, ae, 8, ee),
|
|
29
|
+
s("a", {
|
|
30
|
+
class: "px-2 md:px-0 lg:px-0",
|
|
31
|
+
href: l.value,
|
|
32
|
+
target: "_blank"
|
|
33
|
+
}, ie, 8, te)
|
|
34
|
+
]));
|
|
35
|
+
}
|
|
36
|
+
}), ne = { class: "flex items-end justify-start" }, re = { class: "fontFormattingAMA w-full bg-gray-100 rounded-lg" }, ce = { class: "w-full rounded-md px-3 py-2 text-lg font-bold text-black text-[18px] md:text-[22px]" }, de = /* @__PURE__ */ s("div", { class: "w-full px-3 py-2 text-base text-black text-[12px] md:text-[16px] font-[550]" }, " Need help with a concept, information on Genpact offerings, productivity tips or Gen AI ideas - Ask me anything ", -1), _e = /* @__PURE__ */ s("br", null, null, -1), ue = /* @__PURE__ */ b({
|
|
37
|
+
__name: "greetingsAMA",
|
|
38
|
+
setup(t) {
|
|
39
|
+
const e = w(), l = ` Hi ${e.learnerName || "Expert"}, and welcome to ${e.amaSkillName || "SkillName"} !`, o = q(() => l);
|
|
40
|
+
return q(() => e.welcomeMessage), (u, f) => (r(), d("section", null, [
|
|
41
|
+
s("div", ne, [
|
|
42
|
+
s("div", re, [
|
|
43
|
+
s("div", ce, L(o.value), 1),
|
|
44
|
+
de
|
|
45
|
+
])
|
|
46
|
+
]),
|
|
47
|
+
_e
|
|
48
|
+
]));
|
|
49
|
+
}
|
|
50
|
+
}), me = { class: "fontFormattingAMA flex items-end justify-start py-2" }, fe = { class: "line-break w-full bg-gray-100 p-3 text-sm text-black md:text-[15px] rounded-lg" }, pe = ["innerHTML"], ge = /* @__PURE__ */ b({
|
|
51
|
+
__name: "responseAMA",
|
|
52
|
+
props: {
|
|
53
|
+
answer: {
|
|
54
|
+
type: String,
|
|
55
|
+
required: !0
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
setup(t) {
|
|
59
|
+
const e = t, l = q(() => {
|
|
60
|
+
const o = e.answer.replace(/[*#]/g, "").replace(
|
|
61
|
+
/Assessment Rating & Feedback/g,
|
|
62
|
+
'<div style="font-size: 26px; font-weight: bold; text-decoration: underline;">Rating & Feedback</div>'
|
|
63
|
+
), u = /\[([^\]]+)\]\((https?:\/\/[^\s]+)\)/g;
|
|
64
|
+
return o.replace(u, (f, i, a) => `<a href="${a}" target="_blank" rel="noopener noreferrer" style="color: blue; text-decoration: underline;">${i}</a>`);
|
|
65
|
+
});
|
|
66
|
+
return (o, u) => (r(), d("div", me, [
|
|
67
|
+
s("div", fe, [
|
|
68
|
+
s("span", {
|
|
69
|
+
class: "fontFormattingAMA",
|
|
70
|
+
innerHTML: l.value
|
|
71
|
+
}, null, 8, pe)
|
|
72
|
+
])
|
|
73
|
+
]));
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
const he = /* @__PURE__ */ y(ge, [["__scopeId", "data-v-38edcca6"]]), ke = { class: "flex justify-end items-end py-3" }, be = { class: "max-w-[80%]" }, ve = { class: "w-fit md:text-[15px] fontFormattingAMA text-sm text-white bg-genpact-blue-box leading-6 p-3 rounded-lg" }, xe = /* @__PURE__ */ b({
|
|
77
|
+
__name: "learnerAMA",
|
|
78
|
+
props: {
|
|
79
|
+
question: {
|
|
80
|
+
type: String,
|
|
81
|
+
required: !0
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
setup(t) {
|
|
85
|
+
return (e, l) => (r(), d("div", ke, [
|
|
86
|
+
s("div", be, [
|
|
87
|
+
s("div", ve, L(t.question), 1)
|
|
88
|
+
])
|
|
89
|
+
]));
|
|
90
|
+
}
|
|
91
|
+
}), ye = (t) => (E("data-v-12a02acf"), t = t(), N(), t), we = { class: "flex w-full flex-col items-start justify-start bg-white" }, Ae = { class: "bot-typing-animation gap-1" }, $e = { class: "block w-full text-lg italic text-gray-800" }, Me = /* @__PURE__ */ ye(() => /* @__PURE__ */ s("span", { class: "dot-animation" }, [
|
|
92
|
+
/* @__PURE__ */ s("span", null, "."),
|
|
93
|
+
/* @__PURE__ */ s("span", null, "."),
|
|
94
|
+
/* @__PURE__ */ s("span", null, ".")
|
|
95
|
+
], -1)), Se = /* @__PURE__ */ U('<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), Ce = /* @__PURE__ */ b({
|
|
96
|
+
__name: "LoadingResponseAMA",
|
|
97
|
+
setup(t) {
|
|
98
|
+
const e = _("Generating response"), l = _([
|
|
99
|
+
"This may take a few seconds",
|
|
100
|
+
"Fetching the best response for you",
|
|
101
|
+
"Thinking... give me a moment",
|
|
102
|
+
"One moment while I gather the information",
|
|
103
|
+
"Hang in tight, we are almost there",
|
|
104
|
+
"Almost there... just a bit longer",
|
|
105
|
+
"Compiling a response for you"
|
|
106
|
+
]);
|
|
107
|
+
return setTimeout(() => {
|
|
108
|
+
const o = Math.floor(Math.random() * l.value.length);
|
|
109
|
+
e.value = l.value[o];
|
|
110
|
+
}, 15e3), (o, u) => (r(), d("div", we, [
|
|
111
|
+
s("div", Ae, [
|
|
112
|
+
s("div", $e, L(e.value), 1),
|
|
113
|
+
Me
|
|
114
|
+
]),
|
|
115
|
+
Se
|
|
116
|
+
]));
|
|
117
|
+
}
|
|
118
|
+
});
|
|
119
|
+
const qe = /* @__PURE__ */ y(Ce, [["__scopeId", "data-v-12a02acf"]]), Ie = { key: 0 }, Le = { key: 1 }, Ee = {
|
|
120
|
+
key: 0,
|
|
121
|
+
class: "flex"
|
|
122
|
+
}, Ne = /* @__PURE__ */ b({
|
|
123
|
+
__name: "conversationAMA",
|
|
124
|
+
setup(t) {
|
|
125
|
+
let e = _(""), l = _("");
|
|
126
|
+
e.value = '<a style="color:#00AECF;"', l.value = '<ul style="list-style: disc !important; margin-left: 3.5rem !important; padding: 0;"';
|
|
127
|
+
const o = w(), u = _();
|
|
128
|
+
return T(() => {
|
|
129
|
+
var a;
|
|
130
|
+
const f = document.getElementsByName("askQuestion"), i = Array.from(f);
|
|
131
|
+
f.length && ((a = i == null ? void 0 : i.pop()) == null || a.scrollIntoView({ behavior: "smooth", block: "center" }));
|
|
132
|
+
}), D(() => {
|
|
133
|
+
var a;
|
|
134
|
+
const f = document.getElementsByName("askQuestion"), i = Array.from(f);
|
|
135
|
+
f.length && ((a = i == null ? void 0 : i.pop()) == null || a.scrollIntoView({ behavior: "smooth", block: "center" }));
|
|
136
|
+
}), (f, i) => (r(), d("div", {
|
|
137
|
+
ref_key: "nestedElement",
|
|
138
|
+
ref: u,
|
|
139
|
+
class: "smooth-scroll overflow-auto md:px-6 px-2"
|
|
140
|
+
}, [
|
|
141
|
+
k(ue),
|
|
142
|
+
(r(!0), d(H, null, z(x(o).conversations, (a, m) => (r(), d("div", { key: m }, [
|
|
143
|
+
a.question ? (r(), d("div", Ie, [
|
|
144
|
+
k(xe, {
|
|
145
|
+
question: a.question,
|
|
146
|
+
c2question: a.c2question,
|
|
147
|
+
"show-feedback": a.showFeedback,
|
|
148
|
+
id: `qId${m}`,
|
|
149
|
+
name: "askQuestion",
|
|
150
|
+
"que-id": m
|
|
151
|
+
}, null, 8, ["question", "c2question", "show-feedback", "id", "que-id"])
|
|
152
|
+
])) : S("", !0),
|
|
153
|
+
a.answer ? (r(), d("div", Le, [
|
|
154
|
+
k(he, {
|
|
155
|
+
question: a == null ? void 0 : a.question,
|
|
156
|
+
c2question: a == null ? void 0 : a.c2question,
|
|
157
|
+
"show-sources": a == null ? void 0 : a.showSources,
|
|
158
|
+
questionId: a.id,
|
|
159
|
+
answer: a.answer.replaceAll("<a", x(e)).replaceAll("<ul", x(l)),
|
|
160
|
+
"show-feedback": a.showFeedback,
|
|
161
|
+
"related-ques": a.relatedQues,
|
|
162
|
+
"options-array": a.optionsArray,
|
|
163
|
+
"ans-id": m
|
|
164
|
+
}, null, 8, ["question", "c2question", "show-sources", "questionId", "answer", "show-feedback", "related-ques", "options-array", "ans-id"])
|
|
165
|
+
])) : S("", !0)
|
|
166
|
+
]))), 128)),
|
|
167
|
+
x(o).dotLoader ? (r(), d("div", Ee, [
|
|
168
|
+
k(qe)
|
|
169
|
+
])) : S("", !0)
|
|
170
|
+
], 512));
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
const Te = /* @__PURE__ */ y(Ne, [["__scopeId", "data-v-e6168dd4"]]), A = (t) => (E("data-v-74770342"), t = t(), N(), t), Pe = { class: "z-3 absolute bottom-0 mt-4 w-full bg-white px-2 md:px-6" }, Re = { class: "py-2" }, Fe = { class: "flex" }, Qe = { class: "z-1 relative w-full" }, je = { class: "relative w-full" }, Be = { class: "absolute inset-y-0 right-0 flex items-center md:pr-8 pr-3" }, Ge = { key: 0 }, Ve = /* @__PURE__ */ A(() => /* @__PURE__ */ s("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)), Ue = [
|
|
174
|
+
Ve
|
|
175
|
+
], De = {
|
|
176
|
+
key: 1,
|
|
177
|
+
class: "tooltip"
|
|
178
|
+
}, He = /* @__PURE__ */ A(() => /* @__PURE__ */ s("span", { class: "tooltiptext fontFormattingAMA" }, "Waiting for response", -1)), ze = /* @__PURE__ */ A(() => /* @__PURE__ */ s("img", {
|
|
179
|
+
class: "w-7 h-7",
|
|
180
|
+
src: j,
|
|
181
|
+
alt: "watingIcon"
|
|
182
|
+
}, null, -1)), Oe = [
|
|
183
|
+
He,
|
|
184
|
+
ze
|
|
185
|
+
], We = { class: "flex justify-start" }, Ze = /* @__PURE__ */ A(() => /* @__PURE__ */ s("div", { class: "pt-1 text-start font-sans" }, [
|
|
186
|
+
/* @__PURE__ */ s("div", { class: "text-xs font-bold text-gray-500 md:text-sm" }, " Note: AI-generated response may not be fully accurate; check with experts for critical information. ")
|
|
187
|
+
], -1)), Ke = /* @__PURE__ */ b({
|
|
188
|
+
__name: "NewQuestionAMA",
|
|
189
|
+
setup(t) {
|
|
190
|
+
const e = w(), l = R();
|
|
191
|
+
e.question = "";
|
|
192
|
+
const o = _(null), u = _(!1), f = _(M), i = _(!1), a = "https://aigurubackend-dev.genpact.com/api/LangchainAgenticCompletion";
|
|
193
|
+
T(() => {
|
|
194
|
+
o.value.focus();
|
|
195
|
+
});
|
|
196
|
+
const m = (h) => {
|
|
197
|
+
const c = h.length;
|
|
198
|
+
f.value = M - c, u.value = c >= M;
|
|
199
|
+
}, v = async () => {
|
|
200
|
+
var h, c, p;
|
|
201
|
+
try {
|
|
202
|
+
if (e.question.trim().length < 1) {
|
|
203
|
+
l.setError("Please enter answer!");
|
|
204
|
+
return;
|
|
205
|
+
}
|
|
206
|
+
i.value = !0, e.dotLoader = !0;
|
|
207
|
+
const n = {
|
|
208
|
+
question: e == null ? void 0 : e.question
|
|
209
|
+
};
|
|
210
|
+
e.conversations.push(n);
|
|
211
|
+
const g = _("");
|
|
212
|
+
g.value = e == null ? void 0 : e.question, e.question = "";
|
|
213
|
+
const F = {
|
|
214
|
+
AMA: !0,
|
|
215
|
+
skill_name: e.amaSkillName,
|
|
216
|
+
question: g.value,
|
|
217
|
+
past_messages: e.past_messages
|
|
218
|
+
}, $ = await I({
|
|
219
|
+
method: "POST",
|
|
220
|
+
headers: {
|
|
221
|
+
"Content-Type": "application/json"
|
|
222
|
+
},
|
|
223
|
+
url: a,
|
|
224
|
+
data: F
|
|
225
|
+
});
|
|
226
|
+
e.addConversation($ == null ? void 0 : $.data, "new"), i.value = !1, e.dotLoader = !1;
|
|
227
|
+
} catch (n) {
|
|
228
|
+
if (console.error(n), e.dotLoader = !1, i.value = !1, I.isAxiosError(n)) {
|
|
229
|
+
const g = n;
|
|
230
|
+
console.log("Error found!"), console.error((h = g.response) == null ? void 0 : h.data), l.setError((p = (c = g.response) == null ? void 0 : c.data) == null ? void 0 : p.message);
|
|
231
|
+
} else
|
|
232
|
+
l.setError("There was an issue, please contact helpmate");
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
return (h, c) => (r(), d("div", Pe, [
|
|
236
|
+
s("div", Re, [
|
|
237
|
+
s("div", Fe, [
|
|
238
|
+
s("div", Qe, [
|
|
239
|
+
s("div", je, [
|
|
240
|
+
s("div", Be, [
|
|
241
|
+
i.value ? (r(), d("div", De, Oe)) : (r(), d("div", Ge, [
|
|
242
|
+
(r(), d("svg", {
|
|
243
|
+
onClick: c[0] || (c[0] = (p) => v()),
|
|
244
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
245
|
+
fill: "currentColor",
|
|
246
|
+
class: "bi bi-send ml-2 h-7 w-7 rotate-45 rounded",
|
|
247
|
+
viewBox: "0 0 16 16"
|
|
248
|
+
}, Ue))
|
|
249
|
+
]))
|
|
250
|
+
]),
|
|
251
|
+
s("div", We, [
|
|
252
|
+
O(s("input", {
|
|
253
|
+
onKeyup: [
|
|
254
|
+
c[1] || (c[1] = Z((p) => i.value ? "" : v(), ["enter"])),
|
|
255
|
+
c[3] || (c[3] = (p) => m(x(e).question))
|
|
256
|
+
],
|
|
257
|
+
"onUpdate:modelValue": c[2] || (c[2] = (p) => x(e).question = p),
|
|
258
|
+
class: "fontFormattingAMA rounded-lg flex w-full border border-genpact-darkest-teal py-[18px] pl-[30px] pr-[70px]",
|
|
259
|
+
placeholder: "Write your answer here...",
|
|
260
|
+
type: "text",
|
|
261
|
+
ref_key: "AiSearch",
|
|
262
|
+
ref: o
|
|
263
|
+
}, null, 544), [
|
|
264
|
+
[W, x(e).question]
|
|
265
|
+
])
|
|
266
|
+
])
|
|
267
|
+
]),
|
|
268
|
+
Ze
|
|
269
|
+
])
|
|
270
|
+
])
|
|
271
|
+
])
|
|
272
|
+
]));
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
const Ye = /* @__PURE__ */ y(Ke, [["__scopeId", "data-v-74770342"]]), Je = (t) => {
|
|
276
|
+
var e;
|
|
277
|
+
return (e = Xe.find((l) => l.skill_id === t)) == null ? void 0 : e.skill_name;
|
|
278
|
+
}, Xe = [
|
|
279
|
+
{
|
|
280
|
+
skill_alias: "Client Relationships",
|
|
281
|
+
skill_name: "Client Relationships",
|
|
282
|
+
skill_id: "ac3c53d7-c355-429b-b196-799a1084f1e3"
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
skill_alias: "Trust and Safety",
|
|
286
|
+
skill_name: "Trust and Safety",
|
|
287
|
+
skill_id: "6a46531f-eead-4811-a22c-ba4c6649e52b",
|
|
288
|
+
skill_master_id: "a1486895-8395-4dba-a891-809ae02a59f0"
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
skill_alias: "Retail",
|
|
292
|
+
skill_name: "Retail",
|
|
293
|
+
skill_id: "72c55104-2d20-4477-a185-fc76e5855a44"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
skill_alias: "Executive Presence",
|
|
297
|
+
skill_name: "Executive Presence",
|
|
298
|
+
skill_id: "3bf308ca-b85c-4f64-94d2-45870aaafa13"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
skill_alias: "Hi-Tech",
|
|
302
|
+
skill_name: "Hi-Tech",
|
|
303
|
+
skill_id: "85a1058e-7ba2-4214-a708-7566ba51825f"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
skill_alias: "Impact Commercial Models",
|
|
307
|
+
skill_name: "Impact Commercial Models",
|
|
308
|
+
skill_id: "7035d0aa-e6c8-11ec-8fea-0242ac120002"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
skill_alias: "Agile",
|
|
312
|
+
skill_name: "Agile",
|
|
313
|
+
skill_id: "6cd7fdaa-e0ab-4190-9a83-ba523f4b5f9f",
|
|
314
|
+
skill_master_id: "6aba81fb-88c1-49e1-97af-2743be385abf"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
skill_alias: "Collaboration Tools and Methods",
|
|
318
|
+
skill_name: "Collaboration Tools and Methods",
|
|
319
|
+
skill_id: "261b3031-ba90-4f12-ba60-25025fc6408e"
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
skill_alias: "People Leadership",
|
|
323
|
+
skill_name: "People Leadership",
|
|
324
|
+
skill_id: "e3376031-1b14-48b1-b61b-deb68e0c4bb2",
|
|
325
|
+
skill_master_id: "8500c2a5-dafb-4aa9-acc2-038334147857"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
skill_alias: "Banking and Capital Markets",
|
|
329
|
+
skill_name: "Banking and Capital Markets",
|
|
330
|
+
skill_id: "93f65205-4c5b-4767-b778-906a5f3429d0"
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
skill_alias: "Information Security",
|
|
334
|
+
skill_name: "Information Security",
|
|
335
|
+
skill_id: "a7484d97-5796-4711-bce4-a0786c75f8b5"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
skill_alias: "Supply Chain Management",
|
|
339
|
+
skill_name: "Supply Chain Management",
|
|
340
|
+
skill_id: "f1031499-7ce5-4ebc-97f3-00cb5710f3a6"
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
skill_alias: "Solution Design",
|
|
344
|
+
skill_name: "Solution Design",
|
|
345
|
+
skill_id: "b6619ae7-1671-4f49-b1a6-9f3ffe64de16"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
skill_alias: "Agentic AI",
|
|
349
|
+
skill_name: "Agentic AI",
|
|
350
|
+
skill_id: "646ed97a-b7af-49c2-9c0e-be16e7ff47a1"
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
skill_alias: "Data Literacy",
|
|
354
|
+
skill_name: "Data Literacy",
|
|
355
|
+
skill_id: "7c4ccbbf-a2e7-4f5b-bb81-304478de6d45"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
skill_alias: "Generative AI",
|
|
359
|
+
skill_name: "Generative AI",
|
|
360
|
+
skill_id: "f7d42458-5668-447f-806e-f1b7b1025a45",
|
|
361
|
+
skill_master_id: "f7d42458-5668-447f-806e-f1b7b1025a45"
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
skill_alias: "Consulting",
|
|
365
|
+
skill_name: "Consulting",
|
|
366
|
+
skill_id: "c693820f-e14d-4080-9531-2c9b1d274dcf"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
skill_alias: "Storytelling",
|
|
370
|
+
skill_name: "Storytelling",
|
|
371
|
+
skill_id: "5d1fb5e7-c13c-43e4-9620-00a5e2eed483"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
skill_alias: "Critical Thinking",
|
|
375
|
+
skill_name: "Critical Thinking",
|
|
376
|
+
skill_id: "bebdf5d2-249f-4bb4-b81d-896c8646fc45"
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
skill_alias: "Sourcing and Procurement",
|
|
380
|
+
skill_name: "Sourcing and Procurement",
|
|
381
|
+
skill_id: "84781074-69ac-476a-9d1d-47228a2301f8"
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
skill_alias: "Consumer Packaged Goods",
|
|
385
|
+
skill_name: "Consumer Packaged Goods",
|
|
386
|
+
skill_id: "fc4bc60a-3038-4db7-9c32-efcfd00adaa8"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
skill_alias: "Customer Care",
|
|
390
|
+
skill_name: "Customer Care",
|
|
391
|
+
skill_id: "1c8a37b6-1e2c-46b0-b8e3-019feb72ad0a",
|
|
392
|
+
skill_master_id: "bed04b67-be6b-405f-96b0-80f0e61f6a86"
|
|
393
|
+
},
|
|
394
|
+
{
|
|
395
|
+
skill_alias: "MS Office",
|
|
396
|
+
skill_name: "MS Office",
|
|
397
|
+
skill_id: "ea4ac01d-efec-44fc-9720-a24a1d1a5d05",
|
|
398
|
+
skill_master_id: "8354fc8d-545f-4d21-b1cb-8908abfd62c4"
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
skill_alias: "Commercial Lending and Leasing",
|
|
402
|
+
skill_name: "Commercial Lending and Leasing",
|
|
403
|
+
skill_id: "678fa9ff-39fe-4c9d-af2d-d9e92318f126"
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
skill_alias: "Integrated Program Management",
|
|
407
|
+
skill_name: "Integrated Program Management",
|
|
408
|
+
skill_id: "150d0021-1d76-4447-a08b-dc195c9b114a",
|
|
409
|
+
skill_master_id: "88a0cb70-87d2-448d-86ba-3a412c60bce2"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
skill_alias: "Lean and Six Sigma",
|
|
413
|
+
skill_name: "Lean and Six Sigma",
|
|
414
|
+
skill_id: "90d48eb4-5fea-4bd7-85b9-3170f6bd2b53",
|
|
415
|
+
skill_master_id: "db5b7b61-0633-4a06-9066-3c6f356dc5c2"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
skill_alias: "Cloud",
|
|
419
|
+
skill_name: "Cloud",
|
|
420
|
+
skill_id: "9e018249-fba4-41b8-be19-364ddf78b61d"
|
|
421
|
+
}
|
|
422
|
+
], P = (t) => (E("data-v-466e517f"), t = t(), N(), t), es = /* @__PURE__ */ P(() => /* @__PURE__ */ s("div", { class: "max-h-screen overflow-auto md:p-6 p-3 flex flex-col items-center justify-center gap-4 text-[#161916]" }, [
|
|
423
|
+
/* @__PURE__ */ s("div", { class: "text-2xl font-[700]" }, "Assessment Access Required"),
|
|
424
|
+
/* @__PURE__ */ s("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 ")
|
|
425
|
+
], -1)), ss = {
|
|
426
|
+
key: 1,
|
|
427
|
+
className: "h-screen flex flex-col items-stretch"
|
|
428
|
+
}, as = { class: "z-20" }, ts = /* @__PURE__ */ P(() => /* @__PURE__ */ s("div", { class: "mt-6" }, null, -1)), ls = { class: "flex h-full items-stretch overflow-hidden" }, is = { class: "mx-auto w-11/12 bg-white" }, os = { class: "relative flex h-full w-full flex-col items-stretch overflow-hidden" }, ns = /* @__PURE__ */ P(() => /* @__PURE__ */ s("div", { class: "mt-[160px]" }, null, -1)), rs = { class: "relative" }, cs = /* @__PURE__ */ b({
|
|
429
|
+
__name: "AssessmentAMA",
|
|
430
|
+
setup(t) {
|
|
431
|
+
const e = _(!0), l = _(!1), o = w(), u = R();
|
|
432
|
+
_("");
|
|
433
|
+
const i = _(((m) => new URLSearchParams(window.location.search).get(m) || "")("amaId"));
|
|
434
|
+
o.amaSkillId = i.value ?? "", T(async () => {
|
|
435
|
+
e.value = !0, await a(), e.value = !1;
|
|
436
|
+
});
|
|
437
|
+
const a = async () => {
|
|
438
|
+
var m, v, h, c, p;
|
|
439
|
+
try {
|
|
440
|
+
if (i.value === null)
|
|
441
|
+
throw {
|
|
442
|
+
response: {
|
|
443
|
+
status: 424,
|
|
444
|
+
data: {
|
|
445
|
+
message: "Invalid URL"
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
};
|
|
449
|
+
console.log("before calling get learner");
|
|
450
|
+
const n = await J(
|
|
451
|
+
`/getLearnerData?forSimulation=true&skillForSimulation=${i.value}`
|
|
452
|
+
);
|
|
453
|
+
o.initialize(n.data), o.amaSkillName = Je(o.amaSkillId) || "", e.value = !1;
|
|
454
|
+
} catch (n) {
|
|
455
|
+
if (console.error(n), e.value = !1, I.isAxiosError(n) && ((m = n.response) != null && m.status) || n && typeof n == "object" && "response" in n && n.response && typeof n.response == "object" && "status" in n.response && n.response.status) {
|
|
456
|
+
const g = n;
|
|
457
|
+
if (console.log("Error found!"), console.error((v = g.response) == null ? void 0 : v.data), ((h = g.response) == null ? void 0 : h.status) === 424 || ((c = g.response) == null ? void 0 : c.status) === 425) {
|
|
458
|
+
l.value = !0;
|
|
459
|
+
return;
|
|
460
|
+
}
|
|
461
|
+
u.setError(((p = g.response) == null ? void 0 : p.data).message);
|
|
462
|
+
} else
|
|
463
|
+
u.setError("There was an issue, please contact helpmate");
|
|
464
|
+
}
|
|
465
|
+
};
|
|
466
|
+
return (m, v) => (r(), d("section", null, [
|
|
467
|
+
k(V, { "is-visible": l.value }, {
|
|
468
|
+
default: K(() => [
|
|
469
|
+
es
|
|
470
|
+
]),
|
|
471
|
+
_: 1
|
|
472
|
+
}, 8, ["is-visible"]),
|
|
473
|
+
s("div", null, [
|
|
474
|
+
e.value ? (r(), Y(B, { key: 0 })) : (r(), d("main", ss, [
|
|
475
|
+
s("div", as, [
|
|
476
|
+
k(oe)
|
|
477
|
+
]),
|
|
478
|
+
ts,
|
|
479
|
+
s("div", ls, [
|
|
480
|
+
s("div", is, [
|
|
481
|
+
s("div", os, [
|
|
482
|
+
k(Te),
|
|
483
|
+
ns
|
|
484
|
+
]),
|
|
485
|
+
s("div", rs, [
|
|
486
|
+
k(Ye)
|
|
487
|
+
])
|
|
488
|
+
])
|
|
489
|
+
])
|
|
490
|
+
]))
|
|
491
|
+
])
|
|
492
|
+
]));
|
|
493
|
+
}
|
|
494
|
+
});
|
|
495
|
+
const gs = /* @__PURE__ */ y(cs, [["__scopeId", "data-v-466e517f"]]);
|
|
496
|
+
export {
|
|
497
|
+
gs as default
|
|
498
|
+
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as Cl, a as ap, L as yl } from "./LoadingSimulation-
|
|
2
|
-
import { _ as Pl, a as cp, Q as jt, M as Ta } from "./Modal-
|
|
3
|
-
import { d as Ae, r as T, H as Pt, o as D, c as k, a as P, k as wt, u as De, C as Wt, q as Ee, y as qo, h as Ce, s as up, t as Ge, b as O, f as ye, i as ge, I as Ji, F as Fo, e as Uo, w as Zo, J as Rl, p as Vn, g as $n, G as Zi, z as El, K as wl, n as Lt, m as pp, L as dp, l as Al } from "./main-
|
|
4
|
-
import { g as Bn, p as Rt } from "./api-
|
|
5
|
-
import { c as q, a as Il, r as _l } from "./_commonjsHelpers-
|
|
1
|
+
import { _ as Cl, a as ap, L as yl } from "./LoadingSimulation-22be5efd.mjs";
|
|
2
|
+
import { _ as Pl, a as cp, Q as jt, M as Ta } from "./Modal-7dacf952.mjs";
|
|
3
|
+
import { d as Ae, r as T, H as Pt, o as D, c as k, a as P, k as wt, u as De, C as Wt, q as Ee, y as qo, h as Ce, s as up, t as Ge, b as O, f as ye, i as ge, I as Ji, F as Fo, e as Uo, w as Zo, J as Rl, p as Vn, g as $n, G as Zi, z as El, K as wl, n as Lt, m as pp, L as dp, l as Al } from "./main-c076478b.mjs";
|
|
4
|
+
import { g as Bn, p as Rt } from "./api-5d072975.mjs";
|
|
5
|
+
import { c as q, a as Il, r as _l } from "./_commonjsHelpers-78d57187.mjs";
|
|
6
6
|
import { _ as Vt } from "./_plugin-vue_export-helper-dad06003.mjs";
|
|
7
7
|
import "./loadernew-ac153a51.mjs";
|
|
8
8
|
const Tl = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#021c42] md:pr-6 lg:pr-6" }, bl = ["href"], Ml = /* @__PURE__ */ P("img", {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as G, M as z, o as n, c as d, a as e, h as L, b as c, u as H, k as O, r, w as h, m as k, n as S, v as $, F as q, e as P, t as b, q as D, D as T, p as Y, g as J, i as F } from "./main-
|
|
1
|
+
import { d as G, M as z, o as n, c as d, a as e, h as L, b as c, u as H, k as O, r, w as h, m as k, n as S, v as $, F as q, e as P, t as b, q as D, D as T, p as Y, g as J, i as F } from "./main-c076478b.mjs";
|
|
2
2
|
import { _ as j } from "./loadernew-ac153a51.mjs";
|
|
3
|
-
import { p as B, g as Q } from "./api-
|
|
3
|
+
import { p as B, g as Q } from "./api-5d072975.mjs";
|
|
4
4
|
import { _ as X } from "./genome-Logo-white-ffcf2413.mjs";
|
|
5
|
-
import { r as Z } from "./ArrowLeftCircleIcon-
|
|
5
|
+
import { r as Z } from "./ArrowLeftCircleIcon-e14acd82.mjs";
|
|
6
6
|
import { _ as ee } from "./_plugin-vue_export-helper-dad06003.mjs";
|
|
7
7
|
const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /* @__PURE__ */ e("div", { class: "font-bold text-base md:text-xl" }, "Back", -1), oe = /* @__PURE__ */ e("div", { class: "text-white font-bold md:text-xl text-base" }, "AI Guru Edit Skill Admin Data", -1), le = /* @__PURE__ */ e("img", {
|
|
8
8
|
class: "md:w-36 w-20",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as j, M as W, o as r, c, a as e, h as q, b as a, K as G, u as z, k as P, r as i, w as y, m as k, n as S, f as g, 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 { d as j, M as W, o as r, c, a as e, h as q, b as a, K as G, u as z, k as P, r as i, w as y, m as k, n as S, f as g, 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-c076478b.mjs";
|
|
2
2
|
import { _ as K } from "./loadernew-ac153a51.mjs";
|
|
3
|
-
import { p as $ } from "./api-
|
|
3
|
+
import { p as $ } from "./api-5d072975.mjs";
|
|
4
4
|
import { _ as X } from "./genome-Logo-white-ffcf2413.mjs";
|
|
5
|
-
import { r as Z } from "./ArrowLeftCircleIcon-
|
|
5
|
+
import { r as Z } from "./ArrowLeftCircleIcon-e14acd82.mjs";
|
|
6
6
|
import { _ as ee } from "./_plugin-vue_export-helper-dad06003.mjs";
|
|
7
7
|
const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /* @__PURE__ */ e("div", { class: "font-bold text-base md:text-xl" }, "Back", -1), oe = /* @__PURE__ */ e("div", { class: "text-white font-bold md:text-xl text-base" }, "AI Guru Edit Skill Data", -1), ae = /* @__PURE__ */ e("img", {
|
|
8
8
|
class: "md:w-36 w-20",
|