@genpact/genome.mfe.mgtwin-app 1.1.330-alpha → 1.1.332-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/{AssessmentAMA-512bf558.mjs → AssessmentAMA-081c8381.mjs} +17 -17
- package/dist/AssessmentSimulation-da9c3898.mjs +1043 -0
- package/dist/{EditSkillAdminData-004697fc.mjs → EditSkillAdminData-f135d7cb.mjs} +2 -2
- package/dist/{EditSkillData-4ed7649e.mjs → EditSkillData-a308d2cc.mjs} +2 -2
- package/dist/{HomeView-3a8e4360.mjs → HomeView-408fb853.mjs} +19 -15
- package/dist/{Loading-0d5e62d8.mjs → Loading-a560fb33.mjs} +1 -1
- package/dist/{LoadingSimulation-cc4a0116.mjs → LoadingSimulation-7d189740.mjs} +1 -1
- package/dist/{Modal-3972b1fd.mjs → Modal-30e89097.mjs} +1 -1
- package/dist/{PaperAirplaneIcon-fb0120cb.mjs → PaperAirplaneIcon-565a98ab.mjs} +1 -1
- package/dist/{PromptTesting-f5472453.mjs → PromptTesting-39b04406.mjs} +3 -3
- package/dist/{SkillAutomation-6f49fc7e.mjs → SkillAutomation-8a64bf6b.mjs} +3 -3
- package/dist/{SkillData-e8277b80.mjs → SkillData-0aad8a3f.mjs} +3 -3
- package/dist/{Testcase-4175d1c7.mjs → Testcase-c6133b70.mjs} +3 -3
- package/dist/{UnderMaintenance-a3ecb241.mjs → UnderMaintenance-f45e9213.mjs} +1 -1
- package/dist/VoiceTestcase-fc24c546.mjs +97 -0
- package/dist/XMarkIcon-e132e8b7.mjs +18 -0
- package/dist/{_commonjsHelpers-17845752.mjs → _commonjsHelpers-92157f1b.mjs} +8 -24
- package/dist/{api-4f02f963.mjs → api-ebf58124.mjs} +1 -1
- package/dist/{main-c5829298.mjs → main-36268a94.mjs} +485 -477
- package/dist/mgtwin.es.min.js +1 -1
- package/dist/mgtwin.umd.min.js +15 -15
- package/dist/style.css +1 -1
- package/dist/{AssessmentSimulation-8a889284.mjs → voiceServices-fc22bbcb.mjs} +5299 -6341
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as U, a as V, L as B } from "./LoadingSimulation-
|
|
2
|
-
import { _ as H, Q as M, a as z } from "./Modal-
|
|
3
|
-
import { d as y, r as u, H as R, o as c, c as d, a as s, u as
|
|
4
|
-
import { _ as
|
|
5
|
-
import { p as ee, g as se } from "./api-
|
|
1
|
+
import { _ as U, a as V, L as B } from "./LoadingSimulation-7d189740.mjs";
|
|
2
|
+
import { _ as H, Q as M, a as z } from "./Modal-30e89097.mjs";
|
|
3
|
+
import { d as y, r as u, H as R, o as c, c as d, a as s, u as $, y as L, t as S, G, p as N, g as E, C as Q, z as D, 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-36268a94.mjs";
|
|
4
|
+
import { _ as k } from "./_plugin-vue_export-helper-dad06003.mjs";
|
|
5
|
+
import { p as ee, g as se } from "./api-ebf58124.mjs";
|
|
6
6
|
import "./loadernew-ac153a51.mjs";
|
|
7
7
|
const te = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#021c42] md:pr-6 lg:pr-6" }, ae = ["href"], oe = /* @__PURE__ */ s("img", {
|
|
8
8
|
class: "h-11 w-auto cursor-pointer",
|
|
@@ -36,7 +36,7 @@ const te = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#0
|
|
|
36
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__ */ s("br", null, null, -1), he = /* @__PURE__ */ y({
|
|
37
37
|
__name: "greetingsAMA",
|
|
38
38
|
setup(n) {
|
|
39
|
-
const e =
|
|
39
|
+
const e = $(), o = ` Hi ${e.learnerName || "Learner"}! 👋`, l = L(() => o);
|
|
40
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
41
|
s("div", de, [
|
|
42
42
|
s("div", ue, [
|
|
@@ -67,14 +67,14 @@ const te = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#0
|
|
|
67
67
|
return (l, p) => (c(), d("div", fe, [
|
|
68
68
|
s("div", ge, [
|
|
69
69
|
s("span", {
|
|
70
|
-
class: "fontFormattingAMA",
|
|
70
|
+
class: "fontFormattingAMA answer-link",
|
|
71
71
|
innerHTML: o.value
|
|
72
72
|
}, null, 8, ve)
|
|
73
73
|
])
|
|
74
74
|
]));
|
|
75
75
|
}
|
|
76
76
|
});
|
|
77
|
-
const ye = /* @__PURE__ */
|
|
77
|
+
const ye = /* @__PURE__ */ k(xe, [["__scopeId", "data-v-210f5db8"]]), we = { class: "flex justify-end items-end py-3" }, Ae = { class: "max-w-[80%]" }, be = { class: "w-fit fontFormattingAMA text-[0.8125rem] md:text-[0.9375rem] text-white bg-genpact-blue-box leading-6 p-3 rounded-lg" }, ke = /* @__PURE__ */ y({
|
|
78
78
|
__name: "learnerAMA",
|
|
79
79
|
props: {
|
|
80
80
|
question: {
|
|
@@ -89,7 +89,7 @@ const ye = /* @__PURE__ */ $(xe, [["__scopeId", "data-v-f88d6450"]]), we = { cla
|
|
|
89
89
|
])
|
|
90
90
|
]));
|
|
91
91
|
}
|
|
92
|
-
}),
|
|
92
|
+
}), $e = (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__ */ $e(() => /* @__PURE__ */ s("span", { class: "dot-animation" }, [
|
|
93
93
|
/* @__PURE__ */ s("span", null, "."),
|
|
94
94
|
/* @__PURE__ */ s("span", null, "."),
|
|
95
95
|
/* @__PURE__ */ s("span", null, ".")
|
|
@@ -117,7 +117,7 @@ const ye = /* @__PURE__ */ $(xe, [["__scopeId", "data-v-f88d6450"]]), we = { cla
|
|
|
117
117
|
]));
|
|
118
118
|
}
|
|
119
119
|
});
|
|
120
|
-
const Ee = /* @__PURE__ */
|
|
120
|
+
const Ee = /* @__PURE__ */ k(Ne, [["__scopeId", "data-v-12a02acf"]]), Qe = { key: 0 }, Ce = { key: 1 }, Re = {
|
|
121
121
|
key: 0,
|
|
122
122
|
class: "flex"
|
|
123
123
|
}, Fe = /* @__PURE__ */ y({
|
|
@@ -125,7 +125,7 @@ const Ee = /* @__PURE__ */ $(Ne, [["__scopeId", "data-v-12a02acf"]]), Qe = { key
|
|
|
125
125
|
setup(n) {
|
|
126
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 =
|
|
128
|
+
const l = $(), p = u();
|
|
129
129
|
return Q(() => {
|
|
130
130
|
var t;
|
|
131
131
|
const m = document.getElementsByName("askQuestion"), r = Array.from(m);
|
|
@@ -142,7 +142,7 @@ const Ee = /* @__PURE__ */ $(Ne, [["__scopeId", "data-v-12a02acf"]]), Qe = { key
|
|
|
142
142
|
x(he),
|
|
143
143
|
(c(!0), d(O, null, Z(v(l).conversations, (t, _) => (c(), d("div", { key: _ }, [
|
|
144
144
|
t.question ? (c(), d("div", Qe, [
|
|
145
|
-
x(
|
|
145
|
+
x(ke, {
|
|
146
146
|
question: t.question,
|
|
147
147
|
c2question: t.c2question,
|
|
148
148
|
"show-feedback": t.showFeedback,
|
|
@@ -171,7 +171,7 @@ const Ee = /* @__PURE__ */ $(Ne, [["__scopeId", "data-v-12a02acf"]]), Qe = { key
|
|
|
171
171
|
], 512));
|
|
172
172
|
}
|
|
173
173
|
});
|
|
174
|
-
const Pe = /* @__PURE__ */
|
|
174
|
+
const Pe = /* @__PURE__ */ k(Fe, [["__scopeId", "data-v-e6168dd4"]]), q = (n) => (N("data-v-4d4db1ef"), 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" }, Be = { class: "relative w-full" }, He = { class: "absolute inset-y-0 right-0 flex items-center md:pr-8 pr-3" }, ze = { key: 0 }, Ge = /* @__PURE__ */ q(() => /* @__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)), De = [
|
|
175
175
|
Ge
|
|
176
176
|
], Oe = {
|
|
177
177
|
key: 1,
|
|
@@ -188,7 +188,7 @@ const Pe = /* @__PURE__ */ $(Fe, [["__scopeId", "data-v-e6168dd4"]]), q = (n) =>
|
|
|
188
188
|
], -1)), ss = /* @__PURE__ */ y({
|
|
189
189
|
__name: "NewQuestionAMA",
|
|
190
190
|
setup(n) {
|
|
191
|
-
const e =
|
|
191
|
+
const e = $(), o = F();
|
|
192
192
|
e.question = "";
|
|
193
193
|
const l = u(null), p = u(!1), m = u(M), r = u(!1);
|
|
194
194
|
Q(() => {
|
|
@@ -272,7 +272,7 @@ const Pe = /* @__PURE__ */ $(Fe, [["__scopeId", "data-v-e6168dd4"]]), q = (n) =>
|
|
|
272
272
|
]));
|
|
273
273
|
}
|
|
274
274
|
});
|
|
275
|
-
const ts = /* @__PURE__ */
|
|
275
|
+
const ts = /* @__PURE__ */ k(ss, [["__scopeId", "data-v-4d4db1ef"]]), C = (n) => (N("data-v-4632b0a7"), n = n(), E(), n), as = /* @__PURE__ */ C(() => /* @__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]" }, [
|
|
276
276
|
/* @__PURE__ */ s("div", { class: "text-2xl font-[700]" }, "Assessment Access Required"),
|
|
277
277
|
/* @__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 ")
|
|
278
278
|
], -1)), os = {
|
|
@@ -281,7 +281,7 @@ const ts = /* @__PURE__ */ $(ss, [["__scopeId", "data-v-4d4db1ef"]]), C = (n) =>
|
|
|
281
281
|
}, ns = { class: "z-20" }, rs = /* @__PURE__ */ C(() => /* @__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" }, cs = { class: "relative flex h-full w-full flex-col items-stretch overflow-hidden" }, ds = /* @__PURE__ */ C(() => /* @__PURE__ */ s("div", { class: "mt-[160px]" }, null, -1)), us = { class: "relative" }, _s = /* @__PURE__ */ y({
|
|
282
282
|
__name: "AssessmentAMA",
|
|
283
283
|
setup(n) {
|
|
284
|
-
const e = u(!0), o = u(!1), l =
|
|
284
|
+
const e = u(!0), o = u(!1), l = $(), p = F(), r = u(((_) => new URLSearchParams(window.location.search).get(_) || "")("amaId"));
|
|
285
285
|
l.amaSkillId = r.value ?? "", Q(async () => {
|
|
286
286
|
e.value = !0, await t(), e.value = !1;
|
|
287
287
|
});
|
|
@@ -343,7 +343,7 @@ const ts = /* @__PURE__ */ $(ss, [["__scopeId", "data-v-4d4db1ef"]]), C = (n) =>
|
|
|
343
343
|
]));
|
|
344
344
|
}
|
|
345
345
|
});
|
|
346
|
-
const xs = /* @__PURE__ */
|
|
346
|
+
const xs = /* @__PURE__ */ k(_s, [["__scopeId", "data-v-4632b0a7"]]);
|
|
347
347
|
export {
|
|
348
348
|
xs as default
|
|
349
349
|
};
|