@genpact/genome.mfe.mgtwin-app 1.1.151-alpha → 1.1.152-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-79945c30.mjs → ArrowLeftCircleIcon-29b31859.mjs} +1 -1
- package/dist/{EditSkillAdminData-fb3b7362.mjs → EditSkillAdminData-f2966ec0.mjs} +14 -14
- package/dist/{EditSkillData-6bf57b47.mjs → EditSkillData-6417a1e7.mjs} +26 -26
- package/dist/{HomeView-0d3e5a45.mjs → HomeView-8f67d0dd.mjs} +788 -771
- package/dist/{Loading-ac325b44.mjs → Loading-8d803594.mjs} +1 -1
- package/dist/{PromptTesting-2091bbcb.mjs → PromptTesting-1a9cf6d4.mjs} +16 -16
- package/dist/{SkillAutomation-12a8f08d.mjs → SkillAutomation-098e6707.mjs} +13 -13
- package/dist/{SkillData-e1320bab.mjs → SkillData-423de663.mjs} +3 -3
- package/dist/{TestCase-847e9f8e.mjs → TestCase-14f5ca2e.mjs} +2 -2
- package/dist/{UnderMaintenance-002bbd43.mjs → UnderMaintenance-30ce27bb.mjs} +1 -1
- package/dist/{api-8ef8a34e.mjs → api-44b3bbec.mjs} +1 -1
- package/dist/{main-5f01d354.mjs → main-3d9bfb4f.mjs} +1026 -1026
- package/dist/mgtwin.es.min.js +1 -1
- package/dist/mgtwin.umd.min.js +6 -6
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as B, J as z, o as n, c as d, a as e, i as L, e as c, u as H,
|
|
2
|
-
import { _ as
|
|
3
|
-
import { p as q, g as Q } from "./api-
|
|
1
|
+
import { d as B, J as z, o as n, c as d, a as e, i as L, e as c, u as H, l as O, r, w as h, q as k, n as S, v as $, F as G, b as P, t as b, s as D, G as T, p as J, h as Y, j } from "./main-3d9bfb4f.mjs";
|
|
2
|
+
import { _ as F } from "./loadernew-ac153a51.mjs";
|
|
3
|
+
import { p as q, g as Q } from "./api-44b3bbec.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-29b31859.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",
|
|
@@ -31,7 +31,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
31
31
|
for: "topic",
|
|
32
32
|
class: "block text-lg font-bold text-gray-900 mb-1 italic"
|
|
33
33
|
}, [
|
|
34
|
-
/* @__PURE__ */
|
|
34
|
+
/* @__PURE__ */ j("Topic Name "),
|
|
35
35
|
/* @__PURE__ */ e("span", { class: "label" }, "*")
|
|
36
36
|
])
|
|
37
37
|
], -1)), ne = { class: "col-span-4" }, de = ["disabled"], ue = /* @__PURE__ */ i(() => /* @__PURE__ */ e("div", { class: "col-span-1 text-right" }, [
|
|
@@ -39,7 +39,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
39
39
|
for: "description",
|
|
40
40
|
class: "block text-lg font-bold text-gray-900 mb-1 italic"
|
|
41
41
|
}, [
|
|
42
|
-
/* @__PURE__ */
|
|
42
|
+
/* @__PURE__ */ j("Description "),
|
|
43
43
|
/* @__PURE__ */ e("span", { class: "label" }, "*")
|
|
44
44
|
])
|
|
45
45
|
], -1)), pe = { class: "col-span-4" }, ge = /* @__PURE__ */ i(() => /* @__PURE__ */ e("div", { class: "col-span-1 text-right" }, [
|
|
@@ -47,7 +47,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
47
47
|
for: "Knowledge Corpus",
|
|
48
48
|
class: "block text-lg font-bold text-gray-900 mb-1 italic"
|
|
49
49
|
}, [
|
|
50
|
-
/* @__PURE__ */
|
|
50
|
+
/* @__PURE__ */ j("Knowledge Corpus "),
|
|
51
51
|
/* @__PURE__ */ e("span", { class: "label" }, "*")
|
|
52
52
|
])
|
|
53
53
|
], -1)), me = { class: "col-span-4" }, _e = /* @__PURE__ */ i(() => /* @__PURE__ */ e("div", { class: "col-span-1" }, null, -1)), fe = { class: "col-span-4" }, he = { class: "grid md:grid-cols-5 grid-cols-1 justify-start items-center gap-2" }, be = { class: "col-span-1" }, xe = ["disabled"], ye = {
|
|
@@ -55,25 +55,25 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
55
55
|
class: "flex justify-center items-center text-center bg-genpact-darkest-blue text-white rounded-md w-40"
|
|
56
56
|
}, ve = /* @__PURE__ */ i(() => /* @__PURE__ */ e("img", {
|
|
57
57
|
class: "w-10 h-10 block loadercss",
|
|
58
|
-
src:
|
|
58
|
+
src: F,
|
|
59
59
|
alt: "Loader Gif"
|
|
60
60
|
}, null, -1)), we = [
|
|
61
61
|
ve
|
|
62
62
|
], ke = /* @__PURE__ */ i(() => /* @__PURE__ */ e("div", { class: "col-span-1" }, null, -1)), Se = /* @__PURE__ */ i(() => /* @__PURE__ */ e("div", { class: "col-span-1" }, null, -1)), De = { class: "col-span-1 flex md:justify-end justify-start items-end" }, Te = {
|
|
63
63
|
key: 1,
|
|
64
64
|
class: "flex justify-center items-center text-center w-52 bg-genpact-darkest-blue text-white rounded-md"
|
|
65
|
-
},
|
|
65
|
+
}, je = /* @__PURE__ */ i(() => /* @__PURE__ */ e("img", {
|
|
66
66
|
class: "w-10 h-10 block loadercss",
|
|
67
|
-
src:
|
|
67
|
+
src: F,
|
|
68
68
|
alt: "Loader Gif"
|
|
69
|
-
}, null, -1)),
|
|
70
|
-
|
|
69
|
+
}, null, -1)), Fe = [
|
|
70
|
+
je
|
|
71
71
|
], Ae = { class: "col-span-1 flex md:justify-end justify-start items-end" }, Ee = ["disabled"], Ie = {
|
|
72
72
|
key: 1,
|
|
73
73
|
class: "flex justify-center items-center text-center w-52 bg-genpact-darkest-blue text-white rounded-md"
|
|
74
74
|
}, Ce = /* @__PURE__ */ i(() => /* @__PURE__ */ e("img", {
|
|
75
75
|
class: "w-10 h-10 block loadercss",
|
|
76
|
-
src:
|
|
76
|
+
src: F,
|
|
77
77
|
alt: "Loader Gif"
|
|
78
78
|
}, null, -1)), Ne = [
|
|
79
79
|
Ce
|
|
@@ -227,7 +227,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
227
227
|
type: "button",
|
|
228
228
|
onClick: W,
|
|
229
229
|
class: "bg-genpact-darkest-blue text-center text-white w-52 px-16 py-2 rounded-md font-bold cursor-pointer"
|
|
230
|
-
}, " Reject ")) : (n(), d("div", Te,
|
|
230
|
+
}, " Reject ")) : (n(), d("div", Te, Fe))
|
|
231
231
|
]),
|
|
232
232
|
e("div", Ae, [
|
|
233
233
|
x.value ? (n(), d("button", {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { d as
|
|
1
|
+
import { d as $, J as W, o as r, c, a as e, i as q, e as a, K as G, u as z, l as P, r as i, w as y, q as k, n as S, f as g, F as A, b as H, v as O, t as x, s as j, G as J, p as Y, h as Q, j as D } from "./main-3d9bfb4f.mjs";
|
|
2
2
|
import { _ as K } from "./loadernew-ac153a51.mjs";
|
|
3
|
-
import { p as
|
|
3
|
+
import { p as B } from "./api-44b3bbec.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-29b31859.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",
|
|
9
9
|
src: X
|
|
10
|
-
}, null, -1), le = /* @__PURE__ */
|
|
10
|
+
}, null, -1), le = /* @__PURE__ */ $({
|
|
11
11
|
__name: "HeaderForEditSkillData",
|
|
12
|
-
setup(
|
|
12
|
+
setup(_) {
|
|
13
13
|
const s = W(), d = () => {
|
|
14
14
|
G(() => {
|
|
15
15
|
sessionStorage.removeItem("dataViewAccess");
|
|
16
16
|
}), s.push({ name: "SkillData" }), sessionStorage.removeItem("dataViewAccess"), sessionStorage.removeItem("role");
|
|
17
17
|
};
|
|
18
|
-
return (
|
|
18
|
+
return (m, b) => (r(), c("div", te, [
|
|
19
19
|
e("div", {
|
|
20
20
|
onClick: d,
|
|
21
21
|
class: "flex justify-start items-center text-white cursor-pointer"
|
|
@@ -27,7 +27,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
27
27
|
ae
|
|
28
28
|
]));
|
|
29
29
|
}
|
|
30
|
-
}), n = (
|
|
30
|
+
}), n = (_) => (Y("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" }, [
|
|
31
31
|
/* @__PURE__ */ e("label", {
|
|
32
32
|
for: "topic",
|
|
33
33
|
class: "block text-lg font-bold text-gray-900 mb-1 italic"
|
|
@@ -51,7 +51,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
51
51
|
/* @__PURE__ */ D("Knowledge Corpus "),
|
|
52
52
|
/* @__PURE__ */ e("span", { class: "label" }, "*")
|
|
53
53
|
])
|
|
54
|
-
], -1)),
|
|
54
|
+
], -1)), _e = { class: "col-span-4" }, me = /* @__PURE__ */ n(() => /* @__PURE__ */ e("div", { class: "col-span-1" }, null, -1)), be = { class: "col-span-4" }, he = { class: "md:flex block justify-between items-center space-y-2" }, xe = ["disabled"], fe = {
|
|
55
55
|
key: 1,
|
|
56
56
|
class: "flex justify-center items-center text-center bg-genpact-darkest-blue text-white rounded-md w-40 px-4 py-2"
|
|
57
57
|
}, ye = /* @__PURE__ */ n(() => /* @__PURE__ */ e("img", {
|
|
@@ -96,32 +96,32 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
96
96
|
class: "px-6 py-3"
|
|
97
97
|
}, "Score")
|
|
98
98
|
])
|
|
99
|
-
], -1)),
|
|
99
|
+
], -1)), je = {
|
|
100
100
|
key: 0,
|
|
101
101
|
class: "px-3 py-4 font-medium text-gray-900 text-center"
|
|
102
|
-
},
|
|
102
|
+
}, Be = {
|
|
103
103
|
key: 1,
|
|
104
104
|
class: "px-3 py-4"
|
|
105
|
-
},
|
|
105
|
+
}, $e = {
|
|
106
106
|
key: 2,
|
|
107
107
|
class: "px-3 py-4 text-center"
|
|
108
108
|
}, qe = {
|
|
109
109
|
key: 3,
|
|
110
110
|
class: "px-3 py-4 text-center"
|
|
111
|
-
}, Ge = { class: "absolute top-0 md:left-20 md:right-20 left-12 right-12 flex justify-center items-center mx-auto z-[100]" }, Ke = { class: "w-full rounded-md px-3 text-center mt-4 bg-green-500 py-2 text-white" }, Le = /* @__PURE__ */
|
|
111
|
+
}, Ge = { class: "absolute top-0 md:left-20 md:right-20 left-12 right-12 flex justify-center items-center mx-auto z-[100]" }, Ke = { class: "w-full rounded-md px-3 text-center mt-4 bg-green-500 py-2 text-white" }, Le = /* @__PURE__ */ $({
|
|
112
112
|
__name: "EditSkillData",
|
|
113
|
-
setup(
|
|
114
|
-
const s = z(), d = P(),
|
|
113
|
+
setup(_) {
|
|
114
|
+
const s = z(), d = P(), m = i(!0), b = i(!0), v = i(!1), T = i(""), L = i(""), F = i(!1), u = i(!1), I = i(), w = i(), E = i([]), R = async () => {
|
|
115
115
|
var p, o, t, f, N, C, V;
|
|
116
116
|
try {
|
|
117
117
|
const h = {
|
|
118
118
|
question: s.descriptionForSkillData
|
|
119
119
|
};
|
|
120
|
-
console.log("question", L.value),
|
|
121
|
-
const l = await
|
|
122
|
-
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),
|
|
120
|
+
console.log("question", L.value), m.value = !1;
|
|
121
|
+
const l = await B("/SearchSkillTags", h);
|
|
122
|
+
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), m.value = !0, F.value = !0, u.value = !0, console.log("showSubmitButton", u.value);
|
|
123
123
|
} catch (h) {
|
|
124
|
-
if (console.error(h),
|
|
124
|
+
if (console.error(h), m.value = !0, j.isAxiosError(h)) {
|
|
125
125
|
const l = h;
|
|
126
126
|
d.setError(((V = l.response) == null ? void 0 : V.data).message);
|
|
127
127
|
} else
|
|
@@ -137,10 +137,10 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
137
137
|
DuplicateExists: w.value > 0 ? 1 : 0
|
|
138
138
|
};
|
|
139
139
|
b.value = !1, console.log("payload-=====>", o);
|
|
140
|
-
const t = await
|
|
140
|
+
const t = await B("/InsertIntoTempSkillFile", o);
|
|
141
141
|
console.log("data", t), T.value = "Data Submitted Successfully!", b.value = !0, U();
|
|
142
142
|
} catch (o) {
|
|
143
|
-
if (console.error(o), b.value = !0,
|
|
143
|
+
if (console.error(o), b.value = !0, j.isAxiosError(o)) {
|
|
144
144
|
const t = o;
|
|
145
145
|
d.setError(((p = t.response) == null ? void 0 : p.data).message);
|
|
146
146
|
} else
|
|
@@ -188,7 +188,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
188
188
|
])
|
|
189
189
|
]),
|
|
190
190
|
ge,
|
|
191
|
-
e("div",
|
|
191
|
+
e("div", _e, [
|
|
192
192
|
y(e("input", {
|
|
193
193
|
"onUpdate:modelValue": o[3] || (o[3] = (t) => a(s).offeringTypeForSkillData = t),
|
|
194
194
|
type: "text",
|
|
@@ -200,10 +200,10 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
200
200
|
[k, a(s).offeringTypeForSkillData]
|
|
201
201
|
])
|
|
202
202
|
]),
|
|
203
|
-
|
|
203
|
+
me,
|
|
204
204
|
e("div", be, [
|
|
205
205
|
e("div", he, [
|
|
206
|
-
|
|
206
|
+
m.value ? (r(), c("button", {
|
|
207
207
|
key: 0,
|
|
208
208
|
disabled: a(s).isTopicPending === !0,
|
|
209
209
|
class: S([
|
|
@@ -237,9 +237,9 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
237
237
|
key: f,
|
|
238
238
|
class: "odd:bg-white even:bg-gray-100"
|
|
239
239
|
}, [
|
|
240
|
-
t.Topic !== a(s).topicNameForSkillData ? (r(), c("th",
|
|
241
|
-
t.Topic !== a(s).topicNameForSkillData ? (r(), c("td",
|
|
242
|
-
t.Topic !== a(s).topicNameForSkillData ? (r(), c("td",
|
|
240
|
+
t.Topic !== a(s).topicNameForSkillData ? (r(), c("th", je, x(t.Topic || "title"), 1)) : g("", !0),
|
|
241
|
+
t.Topic !== a(s).topicNameForSkillData ? (r(), c("td", Be, x(t.Description || "desc"), 1)) : g("", !0),
|
|
242
|
+
t.Topic !== a(s).topicNameForSkillData ? (r(), c("td", $e, x(t.OfferingType || "Knowledge Corpus"), 1)) : g("", !0),
|
|
243
243
|
t.Topic !== a(s).topicNameForSkillData ? (r(), c("td", qe, x(t.new_tag), 1)) : g("", !0)
|
|
244
244
|
]))), 128))
|
|
245
245
|
])
|