@genpact/genome.mfe.mgtwin-app 1.1.133-alpha → 1.1.134-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-de9d88c3.mjs → ArrowLeftCircleIcon-b7dcd42e.mjs} +1 -1
- package/dist/{EditSkillAdminData-42639735.mjs → EditSkillAdminData-94619f94.mjs} +23 -23
- package/dist/{EditSkillData-a1dc1747.mjs → EditSkillData-0ad72d58.mjs} +3 -3
- package/dist/HomeView-eac31c24.mjs +2105 -0
- package/dist/{Loading-97c77ae9.mjs → Loading-d3b1a487.mjs} +3 -3
- package/dist/{MagnifyingGlassIcon-b52862b6.mjs → MagnifyingGlassIcon-646ae629.mjs} +1 -1
- package/dist/{PromptTesting-e2327c83.mjs → PromptTesting-d1789d2d.mjs} +16 -16
- package/dist/{SkillAutomation-1105bbf6.mjs → SkillAutomation-713d6ddd.mjs} +12 -12
- package/dist/{SkillData-b25a44ca.mjs → SkillData-7cecd548.mjs} +20 -20
- package/dist/{TestCase-98fdeb77.mjs → TestCase-3ce325eb.mjs} +6 -6
- package/dist/{UnderMaintenance-1e1dca22.mjs → UnderMaintenance-3ae324c9.mjs} +1 -1
- package/dist/{api-93b1a4be.mjs → api-48e497a1.mjs} +1 -1
- package/dist/{main-69d61c32.mjs → main-3b69c4ae.mjs} +33 -33
- 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
- package/dist/HomeView-d87f5c2e.mjs +0 -1963
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { d as
|
|
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, k 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, m as F } from "./main-3b69c4ae.mjs";
|
|
2
2
|
import { _ as j } from "./loadernew-ac153a51.mjs";
|
|
3
|
-
import { p as
|
|
3
|
+
import { p as q, g as Q } from "./api-48e497a1.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-b7dcd42e.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",
|
|
9
9
|
src: X
|
|
10
|
-
}, null, -1), ae = /* @__PURE__ */
|
|
10
|
+
}, null, -1), ae = /* @__PURE__ */ B({
|
|
11
11
|
__name: "HeaderForEditSKillAdminDatas",
|
|
12
12
|
setup(g) {
|
|
13
13
|
const s = z(), p = () => {
|
|
@@ -50,7 +50,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
50
50
|
/* @__PURE__ */ F("Knowledge Corpus "),
|
|
51
51
|
/* @__PURE__ */ e("span", { class: "label" }, "*")
|
|
52
52
|
])
|
|
53
|
-
], -1)), me = { class: "col-span-4" }, _e = /* @__PURE__ */ i(() => /* @__PURE__ */ e("div", { class: "col-span-1" }, null, -1)), fe = { class: "col-span-4" },
|
|
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 = {
|
|
54
54
|
key: 1,
|
|
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", {
|
|
@@ -77,7 +77,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
77
77
|
alt: "Loader Gif"
|
|
78
78
|
}, null, -1)), Ne = [
|
|
79
79
|
Ce
|
|
80
|
-
], 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" },
|
|
80
|
+
], 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" }, Ge = /* @__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" }, [
|
|
81
81
|
/* @__PURE__ */ e("tr", null, [
|
|
82
82
|
/* @__PURE__ */ e("th", {
|
|
83
83
|
scope: "col",
|
|
@@ -96,7 +96,7 @@ 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)), qe = { class: "px-3 py-4 font-medium text-gray-900 text-center" }, Be = { class: "px-3 py-4" }, Le = { class: "px-3 py-4 text-center" }, Ke = /* @__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__ */ B({
|
|
100
100
|
__name: "EditSkillAdminData",
|
|
101
101
|
setup(g) {
|
|
102
102
|
const s = H(), p = O(), u = r(!0), m = r(!0), x = r(!0), v = r(!1), K = r(""), A = r(!1), _ = r(!1), E = r(), I = r(), w = r(""), C = r([]), M = async () => {
|
|
@@ -106,7 +106,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
106
106
|
question: s.descriptionForSkillData
|
|
107
107
|
};
|
|
108
108
|
console.log("question", K.value), u.value = !1;
|
|
109
|
-
const a = await
|
|
109
|
+
const a = await q("/SearchSkillTags", f);
|
|
110
110
|
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);
|
|
111
111
|
} catch (f) {
|
|
112
112
|
if (console.error(f), u.value = !0, D.isAxiosError(f)) {
|
|
@@ -138,7 +138,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
138
138
|
// DuplicateExists: duplicateLength.value > 0 ? 1 : 0
|
|
139
139
|
};
|
|
140
140
|
console.log("payload-=====>", t), x.value = !1;
|
|
141
|
-
const o = await
|
|
141
|
+
const o = await q("/editMasterSkillFile", t);
|
|
142
142
|
console.log("data", o), x.value = !0, w.value = "Data Submitted Successfully!", N();
|
|
143
143
|
} catch (t) {
|
|
144
144
|
if (console.error(t), x.value = !0, D.isAxiosError(t)) {
|
|
@@ -154,14 +154,14 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
154
154
|
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");
|
|
155
155
|
}, 3e3);
|
|
156
156
|
};
|
|
157
|
-
return (l, t) => (n(), d(
|
|
157
|
+
return (l, t) => (n(), d(G, null, [
|
|
158
158
|
e("nav", re, [
|
|
159
159
|
L(ae)
|
|
160
160
|
]),
|
|
161
161
|
e("div", ce, [
|
|
162
162
|
ie,
|
|
163
163
|
e("div", ne, [
|
|
164
|
-
|
|
164
|
+
h(e("input", {
|
|
165
165
|
disabled: c(s).enableInputbox !== !0,
|
|
166
166
|
class: S([
|
|
167
167
|
c(s).enableInputbox !== !0 ? "cursor-not-allowed fill-gray-400" : "",
|
|
@@ -178,7 +178,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
178
178
|
]),
|
|
179
179
|
ue,
|
|
180
180
|
e("div", pe, [
|
|
181
|
-
|
|
181
|
+
h(e("textarea", {
|
|
182
182
|
"onUpdate:modelValue": t[1] || (t[1] = (o) => c(s).descriptionForSkillData = o),
|
|
183
183
|
onInput: t[2] || (t[2] = (o) => _.value = !1),
|
|
184
184
|
type: "text",
|
|
@@ -193,7 +193,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
193
193
|
]),
|
|
194
194
|
ge,
|
|
195
195
|
e("div", me, [
|
|
196
|
-
|
|
196
|
+
h(e("input", {
|
|
197
197
|
"onUpdate:modelValue": t[3] || (t[3] = (o) => c(s).offeringTypeForSkillData = o),
|
|
198
198
|
type: "text",
|
|
199
199
|
id: "offeringType",
|
|
@@ -206,8 +206,8 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
206
206
|
]),
|
|
207
207
|
_e,
|
|
208
208
|
e("div", fe, [
|
|
209
|
-
e("div",
|
|
210
|
-
e("div",
|
|
209
|
+
e("div", he, [
|
|
210
|
+
e("div", be, [
|
|
211
211
|
u.value ? (n(), d("button", {
|
|
212
212
|
key: 0,
|
|
213
213
|
disabled: c(s).isTopicPending === !0,
|
|
@@ -244,18 +244,18 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
244
244
|
])
|
|
245
245
|
])
|
|
246
246
|
]),
|
|
247
|
-
|
|
247
|
+
h(e("div", Re, [
|
|
248
248
|
e("div", Ve, [
|
|
249
249
|
e("table", $e, [
|
|
250
|
-
|
|
250
|
+
Ge,
|
|
251
251
|
e("tbody", null, [
|
|
252
|
-
(n(!0), d(
|
|
252
|
+
(n(!0), d(G, null, P(C.value, (o, y) => (n(), d("tr", {
|
|
253
253
|
key: y,
|
|
254
254
|
class: "odd:bg-white even:bg-gray-100"
|
|
255
255
|
}, [
|
|
256
|
-
e("th",
|
|
257
|
-
e("td",
|
|
258
|
-
e("td", Le,
|
|
256
|
+
e("th", qe, b(o.Topic || "title"), 1),
|
|
257
|
+
e("td", Be, b(o.Description || "desc"), 1),
|
|
258
|
+
e("td", Le, b(o.OfferingType || "Knowledge Corpus"), 1),
|
|
259
259
|
Ke
|
|
260
260
|
]))), 128))
|
|
261
261
|
])
|
|
@@ -264,8 +264,8 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
264
264
|
], 512), [
|
|
265
265
|
[$, A.value]
|
|
266
266
|
]),
|
|
267
|
-
|
|
268
|
-
e("div", We,
|
|
267
|
+
h(e("div", Me, [
|
|
268
|
+
e("div", We, b(w.value), 1)
|
|
269
269
|
], 512), [
|
|
270
270
|
[$, v.value]
|
|
271
271
|
])
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { d as j, J as W, o as r, c, a as e,
|
|
1
|
+
import { d as j, J as W, o as r, c, a as e, i as q, e as a, K as G, u as z, k 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 B, G as J, p as Y, h as Q, m as D } from "./main-3b69c4ae.mjs";
|
|
2
2
|
import { _ as K } from "./loadernew-ac153a51.mjs";
|
|
3
|
-
import { p as $ } from "./api-
|
|
3
|
+
import { p as $ } from "./api-48e497a1.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-b7dcd42e.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",
|