@genpact/genome.mfe.mgtwin-app 1.1.120-alpha → 1.1.121-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-bd0e89c9.mjs → ArrowLeftCircleIcon-68673cd9.mjs} +1 -1
- package/dist/{EditSkillAdminData-aa2ddffd.mjs → EditSkillAdminData-aa4b0e4f.mjs} +22 -22
- package/dist/{EditSkillData-347f38d7.mjs → EditSkillData-156af8df.mjs} +24 -24
- package/dist/{HomeView-586e8d53.mjs → HomeView-a22633eb.mjs} +686 -694
- package/dist/{Loading-0b633ff5.mjs → Loading-dd73d905.mjs} +2 -2
- package/dist/{MagnifyingGlassIcon-b3220a9a.mjs → MagnifyingGlassIcon-62bf97f9.mjs} +1 -1
- package/dist/{PaperAirplaneIcon-a7f2af4b.mjs → PaperAirplaneIcon-9e73e193.mjs} +1 -1
- package/dist/{PromptTesting-459dc7ff.mjs → PromptTesting-3d402747.mjs} +5 -5
- package/dist/{SkillAutomation-0c76b52f.mjs → SkillAutomation-7240cb28.mjs} +14 -14
- package/dist/{SkillData-6383b900.mjs → SkillData-58d981e3.mjs} +10 -10
- package/dist/{TestCase-6e3be29b.mjs → TestCase-88dc7528.mjs} +1 -1
- package/dist/{UnderMaintenance-811b1c31.mjs → UnderMaintenance-df0b647f.mjs} +1 -1
- package/dist/{loadernew-275956b5.mjs → loadernew-8b845da4.mjs} +1 -1
- package/dist/{main-2332ad6c.mjs → main-9340b36c.mjs} +601 -600
- package/dist/mgtwin.es.min.js +1 -1
- package/dist/mgtwin.umd.min.js +7 -7
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { d as
|
|
2
|
-
import { _ as Q, p as
|
|
3
|
-
import { r as Z } from "./ArrowLeftCircleIcon-
|
|
1
|
+
import { d as G, K as z, o as n, c as d, a as e, b as K, e as c, u as H, j as O, h as r, p as h, v as k, n as S, q as $, F as q, r as P, t as b, i as D, H as T, C as Y, D as J, g as j } from "./main-9340b36c.mjs";
|
|
2
|
+
import { _ as Q, p as B, g as X, a as F } from "./loadernew-8b845da4.mjs";
|
|
3
|
+
import { r as Z } from "./ArrowLeftCircleIcon-68673cd9.mjs";
|
|
4
4
|
import { _ as ee } from "./_plugin-vue_export-helper-dad06003.mjs";
|
|
5
5
|
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", {
|
|
6
6
|
class: "md:w-36 w-20",
|
|
7
7
|
src: Q
|
|
8
|
-
}, null, -1), ae = /* @__PURE__ */
|
|
8
|
+
}, null, -1), ae = /* @__PURE__ */ G({
|
|
9
9
|
__name: "HeaderForEditSKillAdminDatas",
|
|
10
10
|
setup(g) {
|
|
11
11
|
const s = z(), p = () => {
|
|
@@ -17,14 +17,14 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
17
17
|
onClick: p,
|
|
18
18
|
class: "flex justify-start items-center text-white cursor-pointer"
|
|
19
19
|
}, [
|
|
20
|
-
|
|
20
|
+
K(c(Z), { class: "md:w-9 w-5 h-5 md:h-9 mr-1" }),
|
|
21
21
|
se
|
|
22
22
|
]),
|
|
23
23
|
oe,
|
|
24
24
|
le
|
|
25
25
|
]));
|
|
26
26
|
}
|
|
27
|
-
}), i = (g) => (
|
|
27
|
+
}), i = (g) => (Y("data-v-ecf2c818"), g = g(), J(), g), re = { class: "bg-genpact-blue-box w-full px-5 mb-6" }, ce = { class: "grid grid-cols-5 gap-8 p-10 items-stretch" }, ie = /* @__PURE__ */ i(() => /* @__PURE__ */ e("div", { class: "col-span-1 text-right" }, [
|
|
28
28
|
/* @__PURE__ */ e("label", {
|
|
29
29
|
for: "topic",
|
|
30
30
|
class: "block text-lg font-bold text-gray-900 mb-1 italic"
|
|
@@ -75,7 +75,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
75
75
|
alt: "Loader Gif"
|
|
76
76
|
}, null, -1)), Ne = [
|
|
77
77
|
Ce
|
|
78
|
-
], Re = { class: "pl-16 pr-8 py-2" }, Ve = { class: "w-full relative overflow-x-auto rounded-lg border border-gray-200 max-h-[550px]" }, $e = { class: "table-auto w-full text-sm text-left rtl:text-right rounded-lg" },
|
|
78
|
+
], Re = { class: "pl-16 pr-8 py-2" }, Ve = { class: "w-full relative overflow-x-auto rounded-lg border border-gray-200 max-h-[550px]" }, $e = { class: "table-auto w-full text-sm text-left rtl:text-right rounded-lg" }, qe = /* @__PURE__ */ i(() => /* @__PURE__ */ e("thead", { class: "text-sm text-center md:text-base text-gray-700 uppercase bg-gray-200 top-0 sticky z-10" }, [
|
|
79
79
|
/* @__PURE__ */ e("tr", null, [
|
|
80
80
|
/* @__PURE__ */ e("th", {
|
|
81
81
|
scope: "col",
|
|
@@ -94,17 +94,17 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
94
94
|
class: "px-6 py-3"
|
|
95
95
|
}, "Score")
|
|
96
96
|
])
|
|
97
|
-
], -1)),
|
|
97
|
+
], -1)), Be = { class: "px-3 py-4 font-medium text-gray-900 text-center" }, Ge = { class: "px-3 py-4" }, Ke = { class: "px-3 py-4 text-center" }, Le = /* @__PURE__ */ i(() => /* @__PURE__ */ e("td", { class: "px-3 py-4 text-center" }, /* @__PURE__ */ b("1.05"), -1)), Me = { class: "absolute top-0 md:left-20 md:right-20 left-12 right-12 flex justify-center items-center mx-auto z-[100]" }, We = { class: "w-full rounded-md px-3 text-center mt-4 bg-green-500 py-2 text-white" }, Ue = /* @__PURE__ */ G({
|
|
98
98
|
__name: "EditSkillAdminData",
|
|
99
99
|
setup(g) {
|
|
100
|
-
const s = H(), p = O(), u = r(!0), m = r(!0), x = r(!0), v = r(!1),
|
|
100
|
+
const s = H(), p = O(), u = r(!0), m = r(!0), x = r(!0), v = r(!1), L = r(""), A = r(!1), _ = r(!1), E = r(), I = r(), w = r(""), C = r([]), M = async () => {
|
|
101
101
|
var l, t, o, y, R, V;
|
|
102
102
|
try {
|
|
103
103
|
const f = {
|
|
104
104
|
question: s.descriptionForSkillData
|
|
105
105
|
};
|
|
106
|
-
console.log("question",
|
|
107
|
-
const a = await
|
|
106
|
+
console.log("question", L.value), u.value = !1;
|
|
107
|
+
const a = await B("/SearchSkillTags", f);
|
|
108
108
|
I.value = (t = (l = a == null ? void 0 : a.data) == null ? void 0 : l.body) == null ? void 0 : t.length, console.log("ARRAY LENGTH", I.value), E.value = ((o = a == null ? void 0 : a.data) == null ? void 0 : o.body) || [], C.value = E.value, console.log("length", (R = (y = a == null ? void 0 : a.data) == null ? void 0 : y.body) == null ? void 0 : R.length), console.log("data", a), u.value = !0, A.value = !0, _.value = !0, console.log("showSubmitButton", _.value);
|
|
109
109
|
} catch (f) {
|
|
110
110
|
if (console.error(f), u.value = !0, D.isAxiosError(f)) {
|
|
@@ -136,7 +136,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
136
136
|
// DuplicateExists: duplicateLength.value > 0 ? 1 : 0
|
|
137
137
|
};
|
|
138
138
|
console.log("payload-=====>", t), x.value = !1;
|
|
139
|
-
const o = await
|
|
139
|
+
const o = await B("/editMasterSkillFile", t);
|
|
140
140
|
console.log("data", o), x.value = !0, w.value = "Data Submitted Successfully!", N();
|
|
141
141
|
} catch (t) {
|
|
142
142
|
if (console.error(t), x.value = !0, D.isAxiosError(t)) {
|
|
@@ -152,9 +152,9 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
152
152
|
console.log("role", l), l === "user" ? T.push({ name: "SkillData" }) : l === "admin" ? T.push({ name: "SkillData" }) : T.push({ name: "SkillAutomation" }), sessionStorage.removeItem("dataViewAccess"), sessionStorage.removeItem("role");
|
|
153
153
|
}, 3e3);
|
|
154
154
|
};
|
|
155
|
-
return (l, t) => (n(), d(
|
|
155
|
+
return (l, t) => (n(), d(q, null, [
|
|
156
156
|
e("nav", re, [
|
|
157
|
-
|
|
157
|
+
K(ae)
|
|
158
158
|
]),
|
|
159
159
|
e("div", ce, [
|
|
160
160
|
ie,
|
|
@@ -245,16 +245,16 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
245
245
|
h(e("div", Re, [
|
|
246
246
|
e("div", Ve, [
|
|
247
247
|
e("table", $e, [
|
|
248
|
-
|
|
248
|
+
qe,
|
|
249
249
|
e("tbody", null, [
|
|
250
|
-
(n(!0), d(
|
|
250
|
+
(n(!0), d(q, null, P(C.value, (o, y) => (n(), d("tr", {
|
|
251
251
|
key: y,
|
|
252
252
|
class: "odd:bg-white even:bg-gray-100"
|
|
253
253
|
}, [
|
|
254
|
-
e("th",
|
|
255
|
-
e("td",
|
|
256
|
-
e("td",
|
|
257
|
-
|
|
254
|
+
e("th", Be, b(o.Topic || "title"), 1),
|
|
255
|
+
e("td", Ge, b(o.Description || "desc"), 1),
|
|
256
|
+
e("td", Ke, b(o.OfferingType || "Knowledge Corpus"), 1),
|
|
257
|
+
Le
|
|
258
258
|
]))), 128))
|
|
259
259
|
])
|
|
260
260
|
])
|
|
@@ -270,7 +270,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
270
270
|
], 64));
|
|
271
271
|
}
|
|
272
272
|
});
|
|
273
|
-
const
|
|
273
|
+
const Ye = /* @__PURE__ */ ee(Ue, [["__scopeId", "data-v-ecf2c818"]]);
|
|
274
274
|
export {
|
|
275
|
-
|
|
275
|
+
Ye as default
|
|
276
276
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as $,
|
|
2
|
-
import { _ as X, p as
|
|
3
|
-
import { r as Z } from "./ArrowLeftCircleIcon-
|
|
1
|
+
import { d as $, K as W, o as r, c, a as e, b as q, e as a, L, u as z, j as H, h as i, p as y, v as k, n as S, f as g, F as A, r as P, q as O, t as x, i as j, H as Y, C as J, D as Q, g as D } from "./main-9340b36c.mjs";
|
|
2
|
+
import { _ as X, p as B, a as G } from "./loadernew-8b845da4.mjs";
|
|
3
|
+
import { r as Z } from "./ArrowLeftCircleIcon-68673cd9.mjs";
|
|
4
4
|
import { _ as ee } from "./_plugin-vue_export-helper-dad06003.mjs";
|
|
5
5
|
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", {
|
|
6
6
|
class: "md:w-36 w-20",
|
|
@@ -9,7 +9,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
9
9
|
__name: "HeaderForEditSkillData",
|
|
10
10
|
setup(_) {
|
|
11
11
|
const s = W(), d = () => {
|
|
12
|
-
|
|
12
|
+
L(() => {
|
|
13
13
|
sessionStorage.removeItem("dataViewAccess");
|
|
14
14
|
}), s.push({ name: "SkillData" }), sessionStorage.removeItem("dataViewAccess"), sessionStorage.removeItem("role");
|
|
15
15
|
};
|
|
@@ -25,7 +25,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
25
25
|
ae
|
|
26
26
|
]));
|
|
27
27
|
}
|
|
28
|
-
}), n = (_) => (
|
|
28
|
+
}), n = (_) => (J("data-v-18de1cf9"), _ = _(), Q(), _), re = { class: "bg-genpact-blue-box w-full px-5 mb-6" }, ce = { class: "grid grid-cols-5 gap-8 p-10 items-stretch" }, ie = /* @__PURE__ */ n(() => /* @__PURE__ */ e("div", { class: "col-span-1 text-right" }, [
|
|
29
29
|
/* @__PURE__ */ e("label", {
|
|
30
30
|
for: "topic",
|
|
31
31
|
class: "block text-lg font-bold text-gray-900 mb-1 italic"
|
|
@@ -54,7 +54,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
54
54
|
class: "flex justify-center items-center text-center bg-genpact-darkest-blue text-white rounded-md w-40 px-4 py-2"
|
|
55
55
|
}, ye = /* @__PURE__ */ n(() => /* @__PURE__ */ e("img", {
|
|
56
56
|
class: "w-6 h-6 block loadercss",
|
|
57
|
-
src:
|
|
57
|
+
src: G,
|
|
58
58
|
alt: "Loader Gif"
|
|
59
59
|
}, null, -1)), ve = [
|
|
60
60
|
ye
|
|
@@ -63,7 +63,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
63
63
|
class: "flex justify-center items-center text-center bg-genpact-darkest-blue text-white rounded-md w-40 px-10 py-2"
|
|
64
64
|
}, Se = /* @__PURE__ */ n(() => /* @__PURE__ */ e("img", {
|
|
65
65
|
class: "w-6 h-6 block loadercss",
|
|
66
|
-
src:
|
|
66
|
+
src: G,
|
|
67
67
|
alt: "Loader Gif"
|
|
68
68
|
}, null, -1)), De = [
|
|
69
69
|
Se
|
|
@@ -94,10 +94,10 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
94
94
|
class: "px-6 py-3"
|
|
95
95
|
}, "Score")
|
|
96
96
|
])
|
|
97
|
-
], -1)),
|
|
97
|
+
], -1)), je = {
|
|
98
98
|
key: 0,
|
|
99
99
|
class: "px-3 py-4 font-medium text-gray-900 text-center"
|
|
100
|
-
},
|
|
100
|
+
}, Be = {
|
|
101
101
|
key: 1,
|
|
102
102
|
class: "px-3 py-4"
|
|
103
103
|
}, $e = {
|
|
@@ -106,20 +106,20 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
106
106
|
}, qe = {
|
|
107
107
|
key: 3,
|
|
108
108
|
class: "px-3 py-4 text-center"
|
|
109
|
-
},
|
|
109
|
+
}, Le = { class: "absolute top-0 md:left-20 md:right-20 left-12 right-12 flex justify-center items-center mx-auto z-[100]" }, Ge = { class: "w-full rounded-md px-3 text-center mt-4 bg-green-500 py-2 text-white" }, Ke = /* @__PURE__ */ $({
|
|
110
110
|
__name: "EditSkillData",
|
|
111
111
|
setup(_) {
|
|
112
|
-
const s = z(), d =
|
|
112
|
+
const s = z(), d = H(), b = i(!0), m = i(!0), v = i(!1), T = i(""), K = i(""), F = i(!1), u = i(!1), I = i(), w = i(), E = i([]), R = async () => {
|
|
113
113
|
var p, o, t, f, N, C, V;
|
|
114
114
|
try {
|
|
115
115
|
const h = {
|
|
116
116
|
question: s.descriptionForSkillData
|
|
117
117
|
};
|
|
118
|
-
console.log("question",
|
|
119
|
-
const l = await
|
|
118
|
+
console.log("question", K.value), b.value = !1;
|
|
119
|
+
const l = await B("/SearchSkillTags", h);
|
|
120
120
|
console.log("abc", (p = l == null ? void 0 : l.data) == null ? void 0 : p.body), w.value = (t = (o = l == null ? void 0 : l.data) == null ? void 0 : o.body) == null ? void 0 : t.length, console.log("ARRAY LENGTH", w.value), I.value = ((f = l == null ? void 0 : l.data) == null ? void 0 : f.body) || [], E.value = I.value, console.log("length", (C = (N = l == null ? void 0 : l.data) == null ? void 0 : N.body) == null ? void 0 : C.length), console.log("data", l), b.value = !0, F.value = !0, u.value = !0, console.log("showSubmitButton", u.value);
|
|
121
121
|
} catch (h) {
|
|
122
|
-
if (console.error(h), b.value = !0,
|
|
122
|
+
if (console.error(h), b.value = !0, j.isAxiosError(h)) {
|
|
123
123
|
const l = h;
|
|
124
124
|
d.setError(((V = l.response) == null ? void 0 : V.data).message);
|
|
125
125
|
} else
|
|
@@ -135,10 +135,10 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
135
135
|
DuplicateExists: w.value > 0 ? 1 : 0
|
|
136
136
|
};
|
|
137
137
|
m.value = !1, console.log("payload-=====>", o);
|
|
138
|
-
const t = await
|
|
138
|
+
const t = await B("/InsertIntoTempSkillFile", o);
|
|
139
139
|
console.log("data", t), T.value = "Data Submitted Successfully!", m.value = !0, U();
|
|
140
140
|
} catch (o) {
|
|
141
|
-
if (console.error(o), m.value = !0,
|
|
141
|
+
if (console.error(o), m.value = !0, j.isAxiosError(o)) {
|
|
142
142
|
const t = o;
|
|
143
143
|
d.setError(((p = t.response) == null ? void 0 : p.data).message);
|
|
144
144
|
} else
|
|
@@ -146,9 +146,9 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
146
146
|
}
|
|
147
147
|
}, U = () => {
|
|
148
148
|
v.value = !0, setTimeout(() => {
|
|
149
|
-
v.value = !1,
|
|
149
|
+
v.value = !1, L(() => {
|
|
150
150
|
sessionStorage.removeItem("dataViewAccess");
|
|
151
|
-
}),
|
|
151
|
+
}), Y.push({ name: "SkillData" }), sessionStorage.removeItem("dataViewAccess"), sessionStorage.removeItem("role");
|
|
152
152
|
}, 3e3), u.value = !1;
|
|
153
153
|
};
|
|
154
154
|
return (p, o) => (r(), c(A, null, [
|
|
@@ -231,12 +231,12 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
231
231
|
e("table", Ve, [
|
|
232
232
|
Ae,
|
|
233
233
|
e("tbody", null, [
|
|
234
|
-
(r(!0), c(A, null,
|
|
234
|
+
(r(!0), c(A, null, P(E.value, (t, f) => (r(), c("tr", {
|
|
235
235
|
key: f,
|
|
236
236
|
class: "odd:bg-white even:bg-gray-100"
|
|
237
237
|
}, [
|
|
238
|
-
t.Topic !== a(s).topicNameForSkillData ? (r(), c("th",
|
|
239
|
-
t.Topic !== a(s).topicNameForSkillData ? (r(), c("td",
|
|
238
|
+
t.Topic !== a(s).topicNameForSkillData ? (r(), c("th", je, x(t.Topic || "title"), 1)) : g("", !0),
|
|
239
|
+
t.Topic !== a(s).topicNameForSkillData ? (r(), c("td", Be, x(t.Description || "desc"), 1)) : g("", !0),
|
|
240
240
|
t.Topic !== a(s).topicNameForSkillData ? (r(), c("td", $e, x(t.OfferingType || "Knowledge Corpus"), 1)) : g("", !0),
|
|
241
241
|
t.Topic !== a(s).topicNameForSkillData ? (r(), c("td", qe, x(t.new_tag), 1)) : g("", !0)
|
|
242
242
|
]))), 128))
|
|
@@ -244,15 +244,15 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
244
244
|
])
|
|
245
245
|
])
|
|
246
246
|
])) : g("", !0),
|
|
247
|
-
y(e("div",
|
|
248
|
-
e("div",
|
|
247
|
+
y(e("div", Le, [
|
|
248
|
+
e("div", Ge, x(T.value), 1)
|
|
249
249
|
], 512), [
|
|
250
250
|
[O, v.value]
|
|
251
251
|
])
|
|
252
252
|
], 64));
|
|
253
253
|
}
|
|
254
254
|
});
|
|
255
|
-
const ze = /* @__PURE__ */ ee(
|
|
255
|
+
const ze = /* @__PURE__ */ ee(Ke, [["__scopeId", "data-v-18de1cf9"]]);
|
|
256
256
|
export {
|
|
257
257
|
ze as default
|
|
258
258
|
};
|