@genpact/genome.mfe.mgtwin-app 1.1.133-alpha → 1.1.135-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.
@@ -1,4 +1,4 @@
1
- import { o as e, c as r, a } from "./main-69d61c32.mjs";
1
+ import { o as e, c as r, a } from "./main-d8d590be.mjs";
2
2
  function c(l, o) {
3
3
  return e(), r("svg", {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -1,13 +1,13 @@
1
- import { d as G, J as z, o as n, c as d, a as e, b as L, e as c, u as H, i as O, r, w as b, k, n as S, v as $, F as q, f as P, t as h, l as D, E as T, p as J, m as Y, q as F } from "./main-69d61c32.mjs";
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, m as k, n as S, v as $, F as G, b as P, t as b, q as D, G as T, p as J, h as Y, s as F } from "./main-d8d590be.mjs";
2
2
  import { _ as j } from "./loadernew-ac153a51.mjs";
3
- import { p as B, g as Q } from "./api-93b1a4be.mjs";
3
+ import { p as q, g as Q } from "./api-cc1917eb.mjs";
4
4
  import { _ as X } from "./genome-Logo-white-ffcf2413.mjs";
5
- import { r as Z } from "./ArrowLeftCircleIcon-de9d88c3.mjs";
5
+ import { r as Z } from "./ArrowLeftCircleIcon-1b681445.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__ */ G({
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" }, be = { class: "grid md:grid-cols-5 grid-cols-1 justify-start items-center gap-2" }, he = { class: "col-span-1" }, xe = ["disabled"], ye = {
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" }, 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" }, [
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)), Be = { class: "px-3 py-4 font-medium text-gray-900 text-center" }, Ge = { 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__ */ h("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({
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 B("/SearchSkillTags", f);
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 B("/editMasterSkillFile", t);
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(q, null, [
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
- b(e("input", {
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
- b(e("textarea", {
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
- b(e("input", {
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", be, [
210
- e("div", he, [
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
- b(e("div", Re, [
247
+ h(e("div", Re, [
248
248
  e("div", Ve, [
249
249
  e("table", $e, [
250
- qe,
250
+ Ge,
251
251
  e("tbody", null, [
252
- (n(!0), d(q, null, P(C.value, (o, y) => (n(), d("tr", {
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", Be, h(o.Topic || "title"), 1),
257
- e("td", Ge, h(o.Description || "desc"), 1),
258
- e("td", Le, h(o.OfferingType || "Knowledge Corpus"), 1),
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
- b(e("div", Me, [
268
- e("div", We, h(w.value), 1)
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, b as q, e as a, K as G, u as z, i as P, r as i, w as y, k, n as S, g, F as A, f as H, v as O, t as x, l as B, E as J, p as Y, m as Q, q as D } from "./main-69d61c32.mjs";
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, m as k, n as S, f as g, F as A, b as H, v as O, t as x, q as B, G as J, p as Y, h as Q, s as D } from "./main-d8d590be.mjs";
2
2
  import { _ as K } from "./loadernew-ac153a51.mjs";
3
- import { p as $ } from "./api-93b1a4be.mjs";
3
+ import { p as $ } from "./api-cc1917eb.mjs";
4
4
  import { _ as X } from "./genome-Logo-white-ffcf2413.mjs";
5
- import { r as Z } from "./ArrowLeftCircleIcon-de9d88c3.mjs";
5
+ import { r as Z } from "./ArrowLeftCircleIcon-1b681445.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",