@genpact/genome.mfe.mgtwin-app 1.1.271-alpha → 1.1.273-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-37a8e7ed.mjs → ArrowLeftCircleIcon-6b165742.mjs} +1 -1
- package/dist/{AssessmentAMA-f79703b8.mjs → AssessmentAMA-a2559376.mjs} +4 -4
- package/dist/{AssessmentSimulation-a80ad5eb.mjs → AssessmentSimulation-88d92a4e.mjs} +57 -68
- package/dist/{EditSkillAdminData-c7201190.mjs → EditSkillAdminData-2942aec7.mjs} +3 -3
- package/dist/{EditSkillData-fa5be227.mjs → EditSkillData-74f1c23c.mjs} +3 -3
- package/dist/{HomeView-52a08476.mjs → HomeView-5836d65c.mjs} +5 -5
- package/dist/{Loading-6f5f66f2.mjs → Loading-55f3289d.mjs} +1 -1
- package/dist/{LoadingSimulation-77fde7a1.mjs → LoadingSimulation-9408d842.mjs} +1 -1
- package/dist/{Modal-4f1cc9ad.mjs → Modal-96f3e3e0.mjs} +1 -1
- package/dist/{PromptTesting-9ef4d1b6.mjs → PromptTesting-6dc9ffdd.mjs} +2 -2
- package/dist/{SkillAutomation-fac73d82.mjs → SkillAutomation-17a0cd8c.mjs} +3 -3
- package/dist/{SkillData-8d28c19e.mjs → SkillData-f6123eaf.mjs} +3 -3
- package/dist/{UnderMaintenance-6a214ced.mjs → UnderMaintenance-673b333b.mjs} +1 -1
- package/dist/{_commonjsHelpers-04e2b4bd.mjs → _commonjsHelpers-dffbfd10.mjs} +1 -1
- package/dist/{api-22aff79f.mjs → api-fa07fefb.mjs} +1 -1
- package/dist/{main-78310d92.mjs → main-cba86ddd.mjs} +1301 -1301
- package/dist/mgtwin.es.min.js +1 -1
- package/dist/mgtwin.umd.min.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as qe, a as Ie, L as Se } from "./LoadingSimulation-
|
|
2
|
-
import { _ as Te, Q as G, a as Ee } from "./Modal-
|
|
3
|
-
import { d as M, r as d, H as j, o as p, c as f, a, u as U, y as K, t as D, G as Le, p as W, g as Y, C as Z, z as Fe, K as Ce, h as k, F as Re, e as Ne, f as H, b as S, k as $e, w as Be, m as ze, L as Ve, q as E, s as je, l as De } from "./main-
|
|
1
|
+
import { _ as qe, a as Ie, L as Se } from "./LoadingSimulation-9408d842.mjs";
|
|
2
|
+
import { _ as Te, Q as G, a as Ee } from "./Modal-96f3e3e0.mjs";
|
|
3
|
+
import { d as M, r as d, H as j, o as p, c as f, a, u as U, y as K, t as D, G as Le, p as W, g as Y, C as Z, z as Fe, K as Ce, h as k, F as Re, e as Ne, f as H, b as S, k as $e, w as Be, m as ze, L as Ve, q as E, s as je, l as De } from "./main-cba86ddd.mjs";
|
|
4
4
|
import { _ as C } from "./_plugin-vue_export-helper-dad06003.mjs";
|
|
5
|
-
import { p as be, g as O } from "./api-
|
|
5
|
+
import { p as be, g as O } from "./api-fa07fefb.mjs";
|
|
6
6
|
import "./loadernew-ac153a51.mjs";
|
|
7
7
|
const Ue = { class: "flex h-14 w-full flex-1 items-center justify-between bg-[#021c42] md:pr-6 lg:pr-6" }, Pe = ["href"], Qe = /* @__PURE__ */ a("img", {
|
|
8
8
|
class: "h-11 w-auto cursor-pointer",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { _ as Cl, a as op, L as yl } from "./LoadingSimulation-
|
|
2
|
-
import { _ as Pl, a as ap, Q as kt, M as _a } from "./Modal-
|
|
3
|
-
import { d as Ee, r as b, H as Nt, o as O, c as N, a as P, k as yt, u as Me, C as Ut, q as ye, y as qo, h as me, s as cp, t as Ke, b as k, f as Pe, i as jn, I as Ki, F as Bo, e as Fo, w as Qo, J as Rl, p as Vn, g as $n, G as Xi, z as El, K as wl, n as zt, m as up, L as pp, l as Al } from "./main-
|
|
4
|
-
import { g as qn, p as St } from "./api-
|
|
5
|
-
import { c as
|
|
1
|
+
import { _ as Cl, a as op, L as yl } from "./LoadingSimulation-9408d842.mjs";
|
|
2
|
+
import { _ as Pl, a as ap, Q as kt, M as _a } from "./Modal-96f3e3e0.mjs";
|
|
3
|
+
import { d as Ee, r as b, H as Nt, o as O, c as N, a as P, k as yt, u as Me, C as Ut, q as ye, y as qo, h as me, s as cp, t as Ke, b as k, f as Pe, i as jn, I as Ki, F as Bo, e as Fo, w as Qo, J as Rl, p as Vn, g as $n, G as Xi, z as El, K as wl, n as zt, m as up, L as pp, l as Al } from "./main-cba86ddd.mjs";
|
|
4
|
+
import { g as qn, p as St } from "./api-fa07fefb.mjs";
|
|
5
|
+
import { c as B, a as Il, r as _l } from "./_commonjsHelpers-dffbfd10.mjs";
|
|
6
6
|
import { _ as Ht } 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", {
|
|
@@ -1601,13 +1601,13 @@ function zv() {
|
|
|
1601
1601
|
var ja;
|
|
1602
1602
|
function M() {
|
|
1603
1603
|
return ja || (ja = 1, function(t) {
|
|
1604
|
-
var e =
|
|
1604
|
+
var e = B && B.__createBinding || (Object.create ? function(u, a, o, n) {
|
|
1605
1605
|
n === void 0 && (n = o), Object.defineProperty(u, n, { enumerable: !0, get: function() {
|
|
1606
1606
|
return a[o];
|
|
1607
1607
|
} });
|
|
1608
1608
|
} : function(u, a, o, n) {
|
|
1609
1609
|
n === void 0 && (n = o), u[n] = a[o];
|
|
1610
|
-
}), r =
|
|
1610
|
+
}), r = B && B.__exportStar || function(u, a) {
|
|
1611
1611
|
for (var o in u)
|
|
1612
1612
|
o !== "default" && !Object.prototype.hasOwnProperty.call(a, o) && e(a, u, o);
|
|
1613
1613
|
};
|
|
@@ -1768,17 +1768,17 @@ class He {
|
|
|
1768
1768
|
}
|
|
1769
1769
|
}
|
|
1770
1770
|
z.Contracts = He;
|
|
1771
|
-
var Hv =
|
|
1771
|
+
var Hv = B && B.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
1772
1772
|
i === void 0 && (i = r), Object.defineProperty(t, i, { enumerable: !0, get: function() {
|
|
1773
1773
|
return e[r];
|
|
1774
1774
|
} });
|
|
1775
1775
|
} : function(t, e, r, i) {
|
|
1776
1776
|
i === void 0 && (i = r), t[i] = e[r];
|
|
1777
|
-
}), Wv =
|
|
1777
|
+
}), Wv = B && B.__setModuleDefault || (Object.create ? function(t, e) {
|
|
1778
1778
|
Object.defineProperty(t, "default", { enumerable: !0, value: e });
|
|
1779
1779
|
} : function(t, e) {
|
|
1780
1780
|
t.default = e;
|
|
1781
|
-
}), Vv =
|
|
1781
|
+
}), Vv = B && B.__importStar || function(t) {
|
|
1782
1782
|
if (t && t.__esModule)
|
|
1783
1783
|
return t;
|
|
1784
1784
|
var e = {};
|
|
@@ -2327,17 +2327,17 @@ class Xv {
|
|
|
2327
2327
|
}
|
|
2328
2328
|
}
|
|
2329
2329
|
Ps.PcmRecorder = Xv;
|
|
2330
|
-
var Rs = {}, Zn = {}, Zv =
|
|
2330
|
+
var Rs = {}, Zn = {}, Zv = B && B.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
2331
2331
|
i === void 0 && (i = r), Object.defineProperty(t, i, { enumerable: !0, get: function() {
|
|
2332
2332
|
return e[r];
|
|
2333
2333
|
} });
|
|
2334
2334
|
} : function(t, e, r, i) {
|
|
2335
2335
|
i === void 0 && (i = r), t[i] = e[r];
|
|
2336
|
-
}), Yv =
|
|
2336
|
+
}), Yv = B && B.__setModuleDefault || (Object.create ? function(t, e) {
|
|
2337
2337
|
Object.defineProperty(t, "default", { enumerable: !0, value: e });
|
|
2338
2338
|
} : function(t, e) {
|
|
2339
2339
|
t.default = e;
|
|
2340
|
-
}), zp =
|
|
2340
|
+
}), zp = B && B.__importStar || function(t) {
|
|
2341
2341
|
if (t && t.__esModule)
|
|
2342
2342
|
return t;
|
|
2343
2343
|
var e = {};
|
|
@@ -2345,7 +2345,7 @@ var Rs = {}, Zn = {}, Zv = F && F.__createBinding || (Object.create ? function(t
|
|
|
2345
2345
|
for (var r in t)
|
|
2346
2346
|
r !== "default" && Object.prototype.hasOwnProperty.call(t, r) && Zv(e, t, r);
|
|
2347
2347
|
return Yv(e, t), e;
|
|
2348
|
-
}, ea =
|
|
2348
|
+
}, ea = B && B.__importDefault || function(t) {
|
|
2349
2349
|
return t && t.__esModule ? t : { default: t };
|
|
2350
2350
|
};
|
|
2351
2351
|
Object.defineProperty(Zn, "__esModule", { value: !0 });
|
|
@@ -2649,17 +2649,17 @@ class pf {
|
|
|
2649
2649
|
this.chunk = e, this.serial = r, this.byteOffset = i;
|
|
2650
2650
|
}
|
|
2651
2651
|
}
|
|
2652
|
-
var nr = {}, _o = {}, Oe = {}, Yn = {}, df =
|
|
2652
|
+
var nr = {}, _o = {}, Oe = {}, Yn = {}, df = B && B.__createBinding || (Object.create ? function(t, e, r, i) {
|
|
2653
2653
|
i === void 0 && (i = r), Object.defineProperty(t, i, { enumerable: !0, get: function() {
|
|
2654
2654
|
return e[r];
|
|
2655
2655
|
} });
|
|
2656
2656
|
} : function(t, e, r, i) {
|
|
2657
2657
|
i === void 0 && (i = r), t[i] = e[r];
|
|
2658
|
-
}), lf =
|
|
2658
|
+
}), lf = B && B.__setModuleDefault || (Object.create ? function(t, e) {
|
|
2659
2659
|
Object.defineProperty(t, "default", { enumerable: !0, value: e });
|
|
2660
2660
|
} : function(t, e) {
|
|
2661
2661
|
t.default = e;
|
|
2662
|
-
}), hf =
|
|
2662
|
+
}), hf = B && B.__importStar || function(t) {
|
|
2663
2663
|
if (t && t.__esModule)
|
|
2664
2664
|
return t;
|
|
2665
2665
|
var e = {};
|
|
@@ -11457,9 +11457,9 @@ function E() {
|
|
|
11457
11457
|
Object.defineProperty(t, "Recognizer", { enumerable: !0, get: function() {
|
|
11458
11458
|
return V.Recognizer;
|
|
11459
11459
|
} });
|
|
11460
|
-
var
|
|
11460
|
+
var F = Nf();
|
|
11461
11461
|
Object.defineProperty(t, "SpeechRecognizer", { enumerable: !0, get: function() {
|
|
11462
|
-
return
|
|
11462
|
+
return F.SpeechRecognizer;
|
|
11463
11463
|
} });
|
|
11464
11464
|
var xe = zf();
|
|
11465
11465
|
Object.defineProperty(t, "IntentRecognizer", { enumerable: !0, get: function() {
|
|
@@ -11859,7 +11859,7 @@ const Xg = (t, e, r, i, u) => async (a, o, n = {}) => {
|
|
|
11859
11859
|
};
|
|
11860
11860
|
var Zg = Qg(Xg);
|
|
11861
11861
|
(function(t) {
|
|
11862
|
-
var e =
|
|
11862
|
+
var e = B && B.__importDefault || function(o) {
|
|
11863
11863
|
return o && o.__esModule ? o : { default: o };
|
|
11864
11864
|
};
|
|
11865
11865
|
Object.defineProperty(t, "__esModule", { value: !0 }), t.RestMessageAdapter = t.RestRequestType = void 0;
|
|
@@ -11980,13 +11980,13 @@ $e.privDefaultParams = {
|
|
|
11980
11980
|
var du;
|
|
11981
11981
|
function Z() {
|
|
11982
11982
|
return du || (du = 1, function(t) {
|
|
11983
|
-
var e =
|
|
11983
|
+
var e = B && B.__createBinding || (Object.create ? function(i, u, a, o) {
|
|
11984
11984
|
o === void 0 && (o = a), Object.defineProperty(i, o, { enumerable: !0, get: function() {
|
|
11985
11985
|
return u[a];
|
|
11986
11986
|
} });
|
|
11987
11987
|
} : function(i, u, a, o) {
|
|
11988
11988
|
o === void 0 && (o = a), i[o] = u[a];
|
|
11989
|
-
}), r =
|
|
11989
|
+
}), r = B && B.__exportStar || function(i, u) {
|
|
11990
11990
|
for (var a in i)
|
|
11991
11991
|
a !== "default" && !Object.prototype.hasOwnProperty.call(u, a) && e(u, i, a);
|
|
11992
11992
|
};
|
|
@@ -14828,8 +14828,8 @@ function Nm() {
|
|
|
14828
14828
|
if (await this.privRequestSession.onServiceTurnEndResponse(!1), (!this.privRecognizerConfig.isContinuousRecognition || this.privRequestSession.isSpeechEnded || !this.privRequestSession.isRecognizing) && this.privRecognizer.sessionStopped && this.privRecognizer.sessionStopped(this.privRecognizer, V), this.privSuccessCallback && this.privLastResult) {
|
|
14829
14829
|
try {
|
|
14830
14830
|
this.privSuccessCallback(this.privLastResult), this.privLastResult = null;
|
|
14831
|
-
} catch (
|
|
14832
|
-
this.privErrorCallback && this.privErrorCallback(
|
|
14831
|
+
} catch (F) {
|
|
14832
|
+
this.privErrorCallback && this.privErrorCallback(F);
|
|
14833
14833
|
}
|
|
14834
14834
|
this.privSuccessCallback = void 0, this.privErrorCallback = void 0;
|
|
14835
14835
|
}
|
|
@@ -15655,14 +15655,14 @@ function Gm() {
|
|
|
15655
15655
|
const m = n.CommandResponsePayload.fromJSON(l.textBody);
|
|
15656
15656
|
switch (m.command.toLowerCase()) {
|
|
15657
15657
|
case "participantlist":
|
|
15658
|
-
const A = n.ParticipantsListPayloadResponse.fromJSON(l.textBody), I = A.participants.map((
|
|
15659
|
-
avatar:
|
|
15660
|
-
displayName:
|
|
15661
|
-
id:
|
|
15662
|
-
isHost:
|
|
15663
|
-
isMuted:
|
|
15664
|
-
isUsingTts:
|
|
15665
|
-
preferredLanguage:
|
|
15658
|
+
const A = n.ParticipantsListPayloadResponse.fromJSON(l.textBody), I = A.participants.map((F) => ({
|
|
15659
|
+
avatar: F.avatar,
|
|
15660
|
+
displayName: F.nickname,
|
|
15661
|
+
id: F.participantId,
|
|
15662
|
+
isHost: F.ishost,
|
|
15663
|
+
isMuted: F.ismuted,
|
|
15664
|
+
isUsingTts: F.usetts,
|
|
15665
|
+
preferredLanguage: F.locale
|
|
15666
15666
|
}));
|
|
15667
15667
|
this.privConversationServiceConnector.participantsListReceived && this.privConversationServiceConnector.participantsListReceived(this.privConversationServiceConnector, new a.ParticipantsListEventArgs(A.roomid, A.token, A.translateTo, A.profanityFilter, A.roomProfanityFilter, A.roomLocked, A.muteAll, I, h));
|
|
15668
15668
|
break;
|
|
@@ -15715,11 +15715,11 @@ function Gm() {
|
|
|
15715
15715
|
break;
|
|
15716
15716
|
case "token":
|
|
15717
15717
|
const V = new r.CognitiveTokenAuthentication(() => {
|
|
15718
|
-
const
|
|
15719
|
-
return Promise.resolve(
|
|
15718
|
+
const F = m.token;
|
|
15719
|
+
return Promise.resolve(F);
|
|
15720
15720
|
}, () => {
|
|
15721
|
-
const
|
|
15722
|
-
return Promise.resolve(
|
|
15721
|
+
const F = m.token;
|
|
15722
|
+
return Promise.resolve(F);
|
|
15723
15723
|
});
|
|
15724
15724
|
this.authentication = V, this.privConversationServiceConnector.onToken(V);
|
|
15725
15725
|
break;
|
|
@@ -17160,13 +17160,13 @@ var Jd = {};
|
|
|
17160
17160
|
var tp;
|
|
17161
17161
|
function _() {
|
|
17162
17162
|
return tp || (tp = 1, function(t) {
|
|
17163
|
-
var e =
|
|
17163
|
+
var e = B && B.__createBinding || (Object.create ? function(a, o, n, s) {
|
|
17164
17164
|
s === void 0 && (s = n), Object.defineProperty(a, s, { enumerable: !0, get: function() {
|
|
17165
17165
|
return o[n];
|
|
17166
17166
|
} });
|
|
17167
17167
|
} : function(a, o, n, s) {
|
|
17168
17168
|
s === void 0 && (s = n), a[s] = o[n];
|
|
17169
|
-
}), r =
|
|
17169
|
+
}), r = B && B.__exportStar || function(a, o) {
|
|
17170
17170
|
for (var n in a)
|
|
17171
17171
|
n !== "default" && !Object.prototype.hasOwnProperty.call(o, n) && e(o, a, n);
|
|
17172
17172
|
};
|
|
@@ -17182,13 +17182,13 @@ function _() {
|
|
|
17182
17182
|
}(go)), go;
|
|
17183
17183
|
}
|
|
17184
17184
|
(function(t) {
|
|
17185
|
-
var e =
|
|
17185
|
+
var e = B && B.__createBinding || (Object.create ? function(u, a, o, n) {
|
|
17186
17186
|
n === void 0 && (n = o), Object.defineProperty(u, n, { enumerable: !0, get: function() {
|
|
17187
17187
|
return a[o];
|
|
17188
17188
|
} });
|
|
17189
17189
|
} : function(u, a, o, n) {
|
|
17190
17190
|
n === void 0 && (n = o), u[n] = a[o];
|
|
17191
|
-
}), r =
|
|
17191
|
+
}), r = B && B.__exportStar || function(u, a) {
|
|
17192
17192
|
for (var o in u)
|
|
17193
17193
|
o !== "default" && !Object.prototype.hasOwnProperty.call(a, o) && e(a, u, o);
|
|
17194
17194
|
};
|
|
@@ -18236,7 +18236,7 @@ const Cy = /* @__PURE__ */ Ht(Sy, [["__scopeId", "data-v-e951c0ed"]]), ho = (t)
|
|
|
18236
18236
|
]));
|
|
18237
18237
|
}
|
|
18238
18238
|
});
|
|
18239
|
-
const xy = /* @__PURE__ */ Ht(Ly, [["__scopeId", "data-v-bbd70acc"]]), si = (t) => (Vn("data-v-
|
|
18239
|
+
const xy = /* @__PURE__ */ Ht(Ly, [["__scopeId", "data-v-bbd70acc"]]), si = (t) => (Vn("data-v-2271db0e"), t = t(), $n(), t), qy = { class: "max-h-screen overflow-auto md:p-6 p-3 text-[#161916]" }, By = {
|
|
18240
18240
|
key: 0,
|
|
18241
18241
|
class: "flex flex-col items-center justify-center gap-4"
|
|
18242
18242
|
}, Fy = /* @__PURE__ */ si(() => /* @__PURE__ */ P("div", { class: "text-2xl font-[700]" }, "Assessment Access Required", -1)), Uy = /* @__PURE__ */ si(() => /* @__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)), Hy = [
|
|
@@ -18268,45 +18268,34 @@ const xy = /* @__PURE__ */ Ht(Ly, [["__scopeId", "data-v-bbd70acc"]]), si = (t)
|
|
|
18268
18268
|
n.value = g.searchParams.get("mode") ?? "", u.simulationSkill = m ?? "";
|
|
18269
18269
|
const f = ["703331197", "703380812", "703331909", "703363051", "703319578"];
|
|
18270
18270
|
Ut(async () => {
|
|
18271
|
-
console.log("uuid. value", m), e.value = !0, await S(), await y()
|
|
18271
|
+
console.log("uuid. value", m), e.value = !0, await S(), await y();
|
|
18272
18272
|
});
|
|
18273
18273
|
const S = async () => {
|
|
18274
18274
|
var R, A, I, w, x, H, G;
|
|
18275
18275
|
try {
|
|
18276
|
-
|
|
18277
|
-
|
|
18278
|
-
response: {
|
|
18279
|
-
status: 424,
|
|
18280
|
-
data: {
|
|
18281
|
-
message: "Invalid URL"
|
|
18282
|
-
}
|
|
18283
|
-
}
|
|
18284
|
-
};
|
|
18285
|
-
e.value = !0;
|
|
18286
|
-
const V = new URLSearchParams(window.location.search);
|
|
18287
|
-
u.simulationSkill = V.get("skillId") || u.simulationSkill, console.log("before calling get learner");
|
|
18288
|
-
const B = await qn(
|
|
18276
|
+
console.log("before calling get learner");
|
|
18277
|
+
const V = await qn(
|
|
18289
18278
|
`/getLearnerData?forSimulation=true&skillForSimulation=${u.simulationSkill}`
|
|
18290
18279
|
);
|
|
18291
|
-
u.initialize(
|
|
18280
|
+
u.initialize(V.data), u.assessmentQuestion || (console.log("getAssessmentDetails========================>"), await C()), e.value = !1, u.simulationSkill === "937e84ef-e95d-4327-9afe-e7be2bf420eb" ? u.skillNameForSimulation = "GenpactNext" : u.simulationSkill === "32b7d6d8-f7a8-40a0-ab84-8784f25897ea" || u.simulationSkill === "32b7d6d8-f7a8-40a0-ab84-8784f25897ef" ? u.skillNameForSimulation = "Agentic AI" : u.simulationSkill === "7bd03cb6-79ad-4e2a-8a8b-88dc16147369" && (u.skillNameForSimulation = "Data");
|
|
18292
18281
|
} catch (V) {
|
|
18293
18282
|
if (console.error(V), e.value = !1, ye.isAxiosError(V) && ((R = V.response) != null && R.status) || V && typeof V == "object" && "response" in V && V.response && typeof V.response == "object" && "status" in V.response && V.response.status) {
|
|
18294
|
-
const
|
|
18295
|
-
if (console.log("Error found!"), console.error((A =
|
|
18296
|
-
c.value = (H =
|
|
18283
|
+
const F = V;
|
|
18284
|
+
if (console.log("Error found!"), console.error((A = F.response) == null ? void 0 : A.data), ((I = F.response) == null ? void 0 : I.status) === 424 || ((w = F.response) == null ? void 0 : w.status) === 425 || ((x = F.response) == null ? void 0 : x.status) === 400) {
|
|
18285
|
+
c.value = (H = F.response) == null ? void 0 : H.status, console.log("errorCode value", c.value), i.value = !0;
|
|
18297
18286
|
return;
|
|
18298
18287
|
}
|
|
18299
|
-
a.setError(((G =
|
|
18288
|
+
a.setError(((G = F.response) == null ? void 0 : G.data).message);
|
|
18300
18289
|
} else
|
|
18301
18290
|
a.setError("There was an issue, please contact helpmate");
|
|
18302
18291
|
}
|
|
18303
18292
|
}, C = async () => {
|
|
18304
|
-
var R, A, I, w, x, H, G, V,
|
|
18293
|
+
var R, A, I, w, x, H, G, V, F, xe, oi, ai, ci, ui, pi, di, li, hi, vi, fi, gi, mi, Si, Ci, yi, Pi, Ri, Ei, wi, Ai, Ii, _i, Ti, bi, Mi, Oi, Jt, Gt, Di, ki, Ni, zi, ji, Li, xi, qi, Et, Y;
|
|
18305
18294
|
console.log("Start getAssessmentDetails");
|
|
18306
18295
|
try {
|
|
18307
18296
|
Nt === "prod" ? d = `https://api-v2.genpact.com/api/my-profile/assessment-master/getAssessmentDetailsById?id=${u.simulationSkill}` : d = `https://api-v2-dev.genpact.com/api/my-profile/assessment-master/getAssessmentDetailsById?id=${u.simulationSkill}`;
|
|
18308
18297
|
const T = await qn(d);
|
|
18309
|
-
o.value = (A = (R = T == null ? void 0 : T.data) == null ? void 0 : R.data) == null ? void 0 : A.name, u.skillNameForSimulation = o.value, u.generatedPrompt = (w = (I = T == null ? void 0 : T.data) == null ? void 0 : I.data) == null ? void 0 : w.generatedPrompt, u.assessmentType = (H = (x = T == null ? void 0 : T.data) == null ? void 0 : x.data) == null ? void 0 : H.assessmentType, s.value = (V = (G = T == null ? void 0 : T.data) == null ? void 0 : G.data) == null ? void 0 : V.status, v.value = (xe = (
|
|
18298
|
+
o.value = (A = (R = T == null ? void 0 : T.data) == null ? void 0 : R.data) == null ? void 0 : A.name, u.skillNameForSimulation = o.value, u.generatedPrompt = (w = (I = T == null ? void 0 : T.data) == null ? void 0 : I.data) == null ? void 0 : w.generatedPrompt, u.assessmentType = (H = (x = T == null ? void 0 : T.data) == null ? void 0 : x.data) == null ? void 0 : H.assessmentType, s.value = (V = (G = T == null ? void 0 : T.data) == null ? void 0 : G.data) == null ? void 0 : V.status, v.value = (xe = (F = T == null ? void 0 : T.data) == null ? void 0 : F.data) == null ? void 0 : xe.editMode, u.empSeniority = (ai = (oi = T == null ? void 0 : T.data) == null ? void 0 : oi.data) == null ? void 0 : ai.empSeniority, u.functionRole = (ui = (ci = T == null ? void 0 : T.data) == null ? void 0 : ci.data) == null ? void 0 : ui.functionRole, l = (di = (pi = T == null ? void 0 : T.data) == null ? void 0 : pi.data) == null ? void 0 : di.accessBand, h = (hi = (li = T == null ? void 0 : T.data) == null ? void 0 : li.data) == null ? void 0 : hi.accessOhrList;
|
|
18310
18299
|
const qe = (fi = (vi = T == null ? void 0 : T.data) == null ? void 0 : vi.data) == null ? void 0 : fi.createdBy;
|
|
18311
18300
|
if (u.mcqType = (mi = (gi = T == null ? void 0 : T.data) == null ? void 0 : gi.data) == null ? void 0 : mi.mcqTypes, u.storeFinalFeedback = (Ci = (Si = T == null ? void 0 : T.data) == null ? void 0 : Si.data) == null ? void 0 : Ci.storeFinalFeedback, u.storeFinalScore = (Pi = (yi = T == null ? void 0 : T.data) == null ? void 0 : yi.data) == null ? void 0 : Pi.storeFinalScore, s.value === "inactive")
|
|
18312
18301
|
r.value = !0;
|
|
@@ -18360,7 +18349,7 @@ const xy = /* @__PURE__ */ Ht(Ly, [["__scopeId", "data-v-bbd70acc"]]), si = (t)
|
|
|
18360
18349
|
}, y = async () => {
|
|
18361
18350
|
var R, A, I, w, x, H, G, V;
|
|
18362
18351
|
try {
|
|
18363
|
-
const
|
|
18352
|
+
const F = await ye({
|
|
18364
18353
|
url: "https://api-v2-dev.genpact.com/api/delphi/v2/myprofile",
|
|
18365
18354
|
headers: {
|
|
18366
18355
|
authorization: `Bearer ${p}`,
|
|
@@ -18368,10 +18357,10 @@ const xy = /* @__PURE__ */ Ht(Ly, [["__scopeId", "data-v-bbd70acc"]]), si = (t)
|
|
|
18368
18357
|
},
|
|
18369
18358
|
method: "get"
|
|
18370
18359
|
});
|
|
18371
|
-
u.genomeFunctionValue = (I = (A = (R =
|
|
18372
|
-
} catch (
|
|
18373
|
-
if (console.error(
|
|
18374
|
-
const xe =
|
|
18360
|
+
u.genomeFunctionValue = (I = (A = (R = F == null ? void 0 : F.data) == null ? void 0 : R.role_function) == null ? void 0 : A.function) == null ? void 0 : I.name, u.genomeRoleValue = (H = (x = (w = F == null ? void 0 : F.data) == null ? void 0 : w.role_function) == null ? void 0 : x.role) == null ? void 0 : H.name, console.log("profile data", u.genomeFunctionValue, u.genomeRoleValue);
|
|
18361
|
+
} catch (F) {
|
|
18362
|
+
if (console.error(F), e.value = !1, ye.isAxiosError(F)) {
|
|
18363
|
+
const xe = F;
|
|
18375
18364
|
console.log("Error found!"), console.error((G = xe.response) == null ? void 0 : G.data), a.setError(((V = xe.response) == null ? void 0 : V.data).message);
|
|
18376
18365
|
} else
|
|
18377
18366
|
a.setError("There was an issue, please contact helpmate");
|
|
@@ -18413,7 +18402,7 @@ const xy = /* @__PURE__ */ Ht(Ly, [["__scopeId", "data-v-bbd70acc"]]), si = (t)
|
|
|
18413
18402
|
]));
|
|
18414
18403
|
}
|
|
18415
18404
|
});
|
|
18416
|
-
const MR = /* @__PURE__ */ Ht(rP, [["__scopeId", "data-v-
|
|
18405
|
+
const MR = /* @__PURE__ */ Ht(rP, [["__scopeId", "data-v-2271db0e"]]);
|
|
18417
18406
|
export {
|
|
18418
18407
|
MR as default
|
|
18419
18408
|
};
|
|
@@ -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-cba86ddd.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-fa07fefb.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-6b165742.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-cba86ddd.mjs";
|
|
2
2
|
import { _ as K } from "./loadernew-ac153a51.mjs";
|
|
3
|
-
import { p as $ } from "./api-
|
|
3
|
+
import { p as $ } from "./api-fa07fefb.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-6b165742.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",
|