@genpact/genome.mfe.mgtwin-app 1.1.448-alpha → 1.1.450-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/{AMABot-ca58e3b6.mjs → AMABot-0b31ae66.mjs} +25 -25
- package/dist/{AssessmentSimulation-a33f66b9.mjs → AssessmentSimulation-11f2b2ef.mjs} +7121 -6982
- package/dist/{EditSkillAdminData-cbd4b088.mjs → EditSkillAdminData-20a96d9e.mjs} +2 -2
- package/dist/{EditSkillData-26d7b997.mjs → EditSkillData-581d0372.mjs} +8 -8
- package/dist/{HomeView-bc13ae1d.mjs → HomeView-e260523e.mjs} +4 -4
- package/dist/{Loading-35166781.mjs → Loading-e18fe477.mjs} +1 -1
- package/dist/{PaperAirplaneIcon-cf77667c.mjs → PaperAirplaneIcon-602ac12c.mjs} +1 -1
- package/dist/{PromptTesting-822e23f1.mjs → PromptTesting-d12a56bc.mjs} +3 -3
- package/dist/{SkillAutomation-8455caf6.mjs → SkillAutomation-ca83931d.mjs} +3 -3
- package/dist/{SkillData-6ea21ee2.mjs → SkillData-76e53096.mjs} +3 -3
- package/dist/{Testcase-f8c888a7.mjs → Testcase-834d27e2.mjs} +3 -3
- package/dist/{UnderMaintenance-1acc27b1.mjs → UnderMaintenance-c22db03e.mjs} +1 -1
- package/dist/{VoiceTestcase-06efcbac.mjs → VoiceTestcase-ede40b1a.mjs} +3 -3
- package/dist/{XMarkIcon-26461414.mjs → XMarkIcon-e70f32e1.mjs} +1 -1
- package/dist/{api-2c1f92f1.mjs → api-ad7f1c17.mjs} +1 -1
- package/dist/{index.es-68436ff0.mjs → index.es-b6bda122.mjs} +6 -6
- package/dist/{main-e1370bc0.mjs → main-6537cd02.mjs} +28 -27
- package/dist/mgtwin.es.min.js +1 -1
- package/dist/mgtwin.umd.min.js +83 -83
- package/dist/native/aiguru-native.css +1 -1
- package/dist/native/aiguru-native.umd.min.js +84 -84
- package/dist/{simulationPopup.vue_vue_type_script_setup_true_lang-3fb59cb9.mjs → simulationPopup.vue_vue_type_script_setup_true_lang-869e1088.mjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{voiceServices-fdb3756e.mjs → voiceServices-ceb463ba.mjs} +2 -2
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { r as Z, _ as ee, b as te, a as se, d as oe, c as ne, L as ae } from "./simulationPopup.vue_vue_type_script_setup_true_lang-
|
|
1
|
+
import { r as Z, _ as ee, b as te, a as se, d as oe, c as ne, L as ae } from "./simulationPopup.vue_vue_type_script_setup_true_lang-869e1088.mjs";
|
|
2
2
|
import { _ as re, Q as j } from "./constants-e0c83ac4.mjs";
|
|
3
|
-
import { o as u, c as f, a as t, d as A, z as E, r as b, G as ie, I as le, b as c, B, p as M, g as q, t as C, h as v, s as T, T as P, u as N, H as G, C as ce, i as F, f as $, F as de, e as ue,
|
|
3
|
+
import { o as u, c as f, a as t, d as A, z as E, r as b, G as ie, I as le, b as c, B, p as M, g as q, t as C, h as v, s as T, T as P, u as N, H as G, C as ce, i as F, f as $, F as de, e as ue, O as V, J as W, k as z, E as D, q as pe, w as _e, m as me, Q as he, n as fe, S as O, x as K, V as ge, l as R } from "./main-6537cd02.mjs";
|
|
4
4
|
import { _ as k } from "./_plugin-vue_export-helper-dad06003.mjs";
|
|
5
|
-
import { u as Y, i as J } from "./api-
|
|
5
|
+
import { u as Y, i as J } from "./api-ad7f1c17.mjs";
|
|
6
6
|
import "./loadernew-ac153a51.mjs";
|
|
7
7
|
function xe(s, e) {
|
|
8
8
|
return u(), f("svg", {
|
|
@@ -140,7 +140,7 @@ const we = { class: "flex h-14 w-full flex-1 items-center justify-between bg-bla
|
|
|
140
140
|
]));
|
|
141
141
|
}
|
|
142
142
|
});
|
|
143
|
-
const je = /* @__PURE__ */ k(Ne, [["__scopeId", "data-v-c2a7fb37"]]), Qe = { class: "fontFormattingAMA flex justify-end py-2" }, Re = { class: "max-w-[80%]" }, Te = { class: "rounded-2xl rounded-br-sm bg-[#FFAB28] px-4 py-3" }, Ge = { class: "fontFormattingAMA whitespace-pre-line break-words text-sm leading-5 text-[#181C23]" },
|
|
143
|
+
const je = /* @__PURE__ */ k(Ne, [["__scopeId", "data-v-c2a7fb37"]]), Qe = { class: "fontFormattingAMA flex justify-end py-2" }, Re = { class: "max-w-[80%]" }, Te = { class: "rounded-2xl rounded-br-sm bg-[#FFAB28] px-4 py-3" }, Ge = { class: "fontFormattingAMA whitespace-pre-line break-words text-sm leading-5 text-[#181C23]" }, Ve = /* @__PURE__ */ t("div", { class: "mt-1 text-right text-xs text-gray-400" }, "You", -1), ze = /* @__PURE__ */ A({
|
|
144
144
|
__name: "learnerAMA",
|
|
145
145
|
props: {
|
|
146
146
|
question: {
|
|
@@ -154,7 +154,7 @@ const je = /* @__PURE__ */ k(Ne, [["__scopeId", "data-v-c2a7fb37"]]), Qe = { cla
|
|
|
154
154
|
t("div", Te, [
|
|
155
155
|
t("div", Ge, C(s.question), 1)
|
|
156
156
|
]),
|
|
157
|
-
|
|
157
|
+
Ve
|
|
158
158
|
])
|
|
159
159
|
]));
|
|
160
160
|
}
|
|
@@ -169,11 +169,11 @@ const je = /* @__PURE__ */ k(Ne, [["__scopeId", "data-v-c2a7fb37"]]), Qe = { cla
|
|
|
169
169
|
/* @__PURE__ */ t("span", { class: "h-1.5 w-1.5 rounded-full bg-[#FFAB28]" }),
|
|
170
170
|
/* @__PURE__ */ t("span", { class: "h-1.5 w-1.5 rounded-full bg-[#FFAB28]" }),
|
|
171
171
|
/* @__PURE__ */ t("span", { class: "h-1.5 w-1.5 rounded-full bg-[#FFAB28]" })
|
|
172
|
-
], -1)),
|
|
172
|
+
], -1)), Oe = /* @__PURE__ */ H(() => /* @__PURE__ */ t("div", { class: "mt-4 space-y-2.5" }, [
|
|
173
173
|
/* @__PURE__ */ t("div", { class: "shimmer h-2.5 w-full rounded" }),
|
|
174
174
|
/* @__PURE__ */ t("div", { class: "shimmer h-2.5 w-11/12 rounded" }),
|
|
175
175
|
/* @__PURE__ */ t("div", { class: "shimmer h-2.5 w-4/6 rounded" })
|
|
176
|
-
], -1)),
|
|
176
|
+
], -1)), Ke = /* @__PURE__ */ H(() => /* @__PURE__ */ t("div", { class: "mt-1 text-xs text-gray-400" }, "AI Guru", -1)), Ye = /* @__PURE__ */ A({
|
|
177
177
|
__name: "LoadingResponseAMA",
|
|
178
178
|
setup(s) {
|
|
179
179
|
const e = E(), r = [
|
|
@@ -206,9 +206,9 @@ const je = /* @__PURE__ */ k(Ne, [["__scopeId", "data-v-c2a7fb37"]]), Qe = { cla
|
|
|
206
206
|
_: 1
|
|
207
207
|
})
|
|
208
208
|
]),
|
|
209
|
-
|
|
209
|
+
Oe
|
|
210
210
|
]),
|
|
211
|
-
|
|
211
|
+
Ke
|
|
212
212
|
])
|
|
213
213
|
]));
|
|
214
214
|
}
|
|
@@ -251,7 +251,7 @@ const Je = /* @__PURE__ */ k(Ye, [["__scopeId", "data-v-a8911c8a"]]), X = (s) =>
|
|
|
251
251
|
])) : $("", !0),
|
|
252
252
|
(u(!0), f(de, null, ue(c(i).conversations, (n, l) => (u(), f("div", { key: l }, [
|
|
253
253
|
n.question ? (u(), f("div", nt, [
|
|
254
|
-
v(
|
|
254
|
+
v(ze, {
|
|
255
255
|
question: n.question,
|
|
256
256
|
c2question: n.c2question,
|
|
257
257
|
"show-feedback": n.showFeedback,
|
|
@@ -322,7 +322,7 @@ function xt(s, e, r, i, p, d = (a) => !1) {
|
|
|
322
322
|
const n = () => {
|
|
323
323
|
o += 1, a.value = !1, e.dotLoader = !1;
|
|
324
324
|
};
|
|
325
|
-
|
|
325
|
+
V(() => Q(s), n), W(() => {
|
|
326
326
|
h = !1, n();
|
|
327
327
|
});
|
|
328
328
|
const l = (m, _) => h && m === o && _ === Q(s);
|
|
@@ -374,7 +374,7 @@ const U = (s) => (M("data-v-81aaf2f7"), s = s(), q(), s), vt = { class: "w-full
|
|
|
374
374
|
}, "·", -1)), It = { class: "font-semibold text-[#181C23]" }, St = /* @__PURE__ */ A({
|
|
375
375
|
__name: "NewQuestionAMA",
|
|
376
376
|
setup(s) {
|
|
377
|
-
const e = N(), r =
|
|
377
|
+
const e = N(), r = z();
|
|
378
378
|
e.question = "";
|
|
379
379
|
const i = b(null), p = b(!1), d = b(j), a = D(), o = Y(), { isWaitingResponse: h, sendQuestion: n } = xt(
|
|
380
380
|
a,
|
|
@@ -388,10 +388,10 @@ const U = (s) => (M("data-v-81aaf2f7"), s = s(), q(), s), vt = { class: "w-full
|
|
|
388
388
|
i.value.focus();
|
|
389
389
|
});
|
|
390
390
|
const l = B(() => e.question.trim().length > 0);
|
|
391
|
-
|
|
391
|
+
V(
|
|
392
392
|
() => e.question,
|
|
393
393
|
async () => {
|
|
394
|
-
await
|
|
394
|
+
await O();
|
|
395
395
|
const m = i.value;
|
|
396
396
|
m && (m.style.height = "auto", m.style.height = `${m.scrollHeight}px`);
|
|
397
397
|
}
|
|
@@ -414,7 +414,7 @@ const U = (s) => (M("data-v-81aaf2f7"), s = s(), q(), s), vt = { class: "w-full
|
|
|
414
414
|
rows: "1",
|
|
415
415
|
class: "fontFormattingAMA block max-h-40 w-full !cursor-text resize-none overflow-y-auto rounded-2xl border border-[#FFAB28]/40 bg-white py-3 pl-14 pr-16 text-sm leading-6 text-[#181C23] shadow-[0_4px_16px_rgba(7,50,98,0.08)] transition placeholder:text-gray-400 hover:border-[#FFAB28]/70 focus:border-[#FFAB28] focus:outline-none focus:ring-4 focus:ring-[#FFAB28]/20 md:py-4 md:pl-16 md:pr-20 md:text-base",
|
|
416
416
|
placeholder: `Ask me about ${c(e).amaSkillName || "Skill Name"}`,
|
|
417
|
-
onKeydown: _[1] || (_[1] = he(
|
|
417
|
+
onKeydown: _[1] || (_[1] = he(K((w) => c(h) ? "" : c(n)(), ["exact", "prevent"]), ["enter"])),
|
|
418
418
|
onInput: _[2] || (_[2] = (w) => x(c(e).question))
|
|
419
419
|
}, null, 40, At), [
|
|
420
420
|
[me, c(e).question]
|
|
@@ -456,12 +456,12 @@ const Bt = /* @__PURE__ */ k(St, [["__scopeId", "data-v-81aaf2f7"]]), Et = (s) =
|
|
|
456
456
|
}, Rt = /* @__PURE__ */ A({
|
|
457
457
|
__name: "errorPopupAMA",
|
|
458
458
|
setup(s) {
|
|
459
|
-
const e =
|
|
459
|
+
const e = z(), r = b(""), i = b(null), p = () => {
|
|
460
460
|
r.value = "";
|
|
461
461
|
};
|
|
462
462
|
e.$subscribe(
|
|
463
463
|
(a, o) => {
|
|
464
|
-
o.error && (r.value = o.error,
|
|
464
|
+
o.error && (r.value = o.error, O(() => {
|
|
465
465
|
var h;
|
|
466
466
|
return (h = i.value) == null ? void 0 : h.focus();
|
|
467
467
|
}));
|
|
@@ -483,7 +483,7 @@ const Bt = /* @__PURE__ */ k(St, [["__scopeId", "data-v-81aaf2f7"]]), Et = (s) =
|
|
|
483
483
|
"aria-modal": "true",
|
|
484
484
|
"aria-labelledby": "ama-error-text",
|
|
485
485
|
class: "ama-popup-card fontFormattingAMA w-full max-w-[360px] rounded-[14px] border border-[#F3E6CF] bg-[#FFFCF7] px-[22px] pb-5 pt-6 text-center shadow-[0_18px_40px_rgba(24,28,35,0.18)]",
|
|
486
|
-
onClick: o[0] || (o[0] =
|
|
486
|
+
onClick: o[0] || (o[0] = K(() => {
|
|
487
487
|
}, ["stop"]))
|
|
488
488
|
}, [
|
|
489
489
|
t("span", Nt, [
|
|
@@ -506,7 +506,7 @@ const Bt = /* @__PURE__ */ k(St, [["__scopeId", "data-v-81aaf2f7"]]), Et = (s) =
|
|
|
506
506
|
}
|
|
507
507
|
});
|
|
508
508
|
const Tt = /* @__PURE__ */ k(Rt, [["__scopeId", "data-v-fb943644"]]), Gt = (s) => String(s.query.amaId ?? "");
|
|
509
|
-
function
|
|
509
|
+
function Vt(s, e, r, i, p = (d) => !1) {
|
|
510
510
|
const d = b(!0), a = b(!1);
|
|
511
511
|
let o = 0;
|
|
512
512
|
const h = (l) => {
|
|
@@ -534,19 +534,19 @@ function zt(s, e, r, i, p = (d) => !1) {
|
|
|
534
534
|
!m && x === o && (d.value = !1);
|
|
535
535
|
}
|
|
536
536
|
};
|
|
537
|
-
return
|
|
537
|
+
return V(() => Gt(s), (l) => {
|
|
538
538
|
n(l);
|
|
539
539
|
}, { immediate: !0 }), W(() => {
|
|
540
540
|
o += 1;
|
|
541
541
|
}), { loaderValue: d, notAllowedModalVisible: a };
|
|
542
542
|
}
|
|
543
|
-
const
|
|
543
|
+
const zt = {
|
|
544
544
|
key: 1,
|
|
545
545
|
class: "flex h-screen flex-col overflow-hidden"
|
|
546
|
-
}, Ht = { class: "z-20 shrink-0" }, Ut = { class: "min-h-0 flex-1 overflow-hidden pb-1" }, Pt = { class: "flex h-full flex-col bg-gray-100 px-2 sm:px-6 md:px-10 lg:px-20" }, Wt = { class: "fontFormattingAMA flex min-h-0 flex-1 flex-col border-x border-b border-black bg-white pt-3 md:pt-4" }, Dt = { class: "shrink-0" },
|
|
546
|
+
}, Ht = { class: "z-20 shrink-0" }, Ut = { class: "min-h-0 flex-1 overflow-hidden pb-1" }, Pt = { class: "flex h-full flex-col bg-gray-100 px-2 sm:px-6 md:px-10 lg:px-20" }, Wt = { class: "fontFormattingAMA flex min-h-0 flex-1 flex-col border-x border-b border-black bg-white pt-3 md:pt-4" }, Dt = { class: "shrink-0" }, Ot = /* @__PURE__ */ A({
|
|
547
547
|
__name: "AMABot",
|
|
548
548
|
setup(s) {
|
|
549
|
-
const e = N(), r =
|
|
549
|
+
const e = N(), r = z(), i = D(), p = Y(), { loaderValue: d, notAllowedModalVisible: a } = Vt(
|
|
550
550
|
i,
|
|
551
551
|
e,
|
|
552
552
|
r,
|
|
@@ -569,7 +569,7 @@ const Vt = {
|
|
|
569
569
|
c(d) ? (u(), R(ae, {
|
|
570
570
|
key: 0,
|
|
571
571
|
message: "Loading AI Guru"
|
|
572
|
-
})) : (u(), f("main",
|
|
572
|
+
})) : (u(), f("main", zt, [
|
|
573
573
|
t("div", Ht, [
|
|
574
574
|
v(qe)
|
|
575
575
|
]),
|
|
@@ -589,7 +589,7 @@ const Vt = {
|
|
|
589
589
|
]));
|
|
590
590
|
}
|
|
591
591
|
});
|
|
592
|
-
const ts = /* @__PURE__ */ k(
|
|
592
|
+
const ts = /* @__PURE__ */ k(Ot, [["__scopeId", "data-v-d2dc4f82"]]);
|
|
593
593
|
export {
|
|
594
594
|
ts as default
|
|
595
595
|
};
|