@genpact/genome.mfe.mgtwin-app 1.1.188-alpha → 1.1.190-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-be4fb3d0.mjs";
1
+ import { o as e, c as r, a } from "./main-5459d50a.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 B, J as z, o as n, c as d, a as e, i as L, b as c, u as H, l as O, r, w as h, q as k, n as S, v as $, F as G, e as P, t as b, s as D, G as T, p as J, h as Y, j } from "./main-be4fb3d0.mjs";
1
+ import { d as G, I as z, o as n, c as d, a as e, i as L, b as c, u as H, l as O, r, w as h, q as k, n as S, v as $, F as q, e as P, t as b, s as D, E as T, p as Y, h as J, j } from "./main-5459d50a.mjs";
2
2
  import { _ as F } from "./loadernew-ac153a51.mjs";
3
- import { p as q, g as Q } from "./api-49fa474e.mjs";
3
+ import { p as B, g as Q } from "./api-245d9a8f.mjs";
4
4
  import { _ as X } from "./genome-Logo-white-ffcf2413.mjs";
5
- import { r as Z } from "./ArrowLeftCircleIcon-8ee91437.mjs";
5
+ import { r as Z } from "./ArrowLeftCircleIcon-ea2f9e32.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__ */ B({
10
+ }, null, -1), ae = /* @__PURE__ */ G({
11
11
  __name: "HeaderForEditSKillAdminDatas",
12
12
  setup(g) {
13
13
  const s = z(), p = () => {
@@ -26,7 +26,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
26
26
  le
27
27
  ]));
28
28
  }
29
- }), i = (g) => (J("data-v-ecf2c818"), g = g(), Y(), 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" }, [
29
+ }), 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" }, [
30
30
  /* @__PURE__ */ e("label", {
31
31
  for: "topic",
32
32
  class: "block text-lg font-bold text-gray-900 mb-1 italic"
@@ -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" }, 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" }, [
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" }, [
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)), 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({
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__ */ 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({
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 q("/SearchSkillTags", f);
109
+ const a = await B("/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 q("/editMasterSkillFile", t);
141
+ const o = await B("/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,7 +154,7 @@ 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(G, null, [
157
+ return (l, t) => (n(), d(q, null, [
158
158
  e("nav", re, [
159
159
  L(ae)
160
160
  ]),
@@ -247,14 +247,14 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
247
247
  h(e("div", Re, [
248
248
  e("div", Ve, [
249
249
  e("table", $e, [
250
- Ge,
250
+ qe,
251
251
  e("tbody", null, [
252
- (n(!0), d(G, null, P(C.value, (o, y) => (n(), d("tr", {
252
+ (n(!0), d(q, 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", qe, b(o.Topic || "title"), 1),
257
- e("td", Be, b(o.Description || "desc"), 1),
256
+ e("th", Be, b(o.Topic || "title"), 1),
257
+ e("td", Ge, b(o.Description || "desc"), 1),
258
258
  e("td", Le, b(o.OfferingType || "Knowledge Corpus"), 1),
259
259
  Ke
260
260
  ]))), 128))
@@ -1,8 +1,8 @@
1
- import { d as $, J as W, o as r, c, a as e, i as q, b 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, e 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-be4fb3d0.mjs";
2
- import { _ as K } from "./loadernew-ac153a51.mjs";
3
- import { p as B } from "./api-49fa474e.mjs";
1
+ import { d as $, I as W, o as r, c, a as e, i as q, b as a, J 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, e as H, v as O, t as x, s as j, E as J, p as Y, h as Q, j as D } from "./main-5459d50a.mjs";
2
+ import { _ as L } from "./loadernew-ac153a51.mjs";
3
+ import { p as B } from "./api-245d9a8f.mjs";
4
4
  import { _ as X } from "./genome-Logo-white-ffcf2413.mjs";
5
- import { r as Z } from "./ArrowLeftCircleIcon-8ee91437.mjs";
5
+ import { r as Z } from "./ArrowLeftCircleIcon-ea2f9e32.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",
@@ -56,7 +56,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
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", {
58
58
  class: "w-6 h-6 block loadercss",
59
- src: K,
59
+ src: L,
60
60
  alt: "Loader Gif"
61
61
  }, null, -1)), ve = [
62
62
  ye
@@ -65,7 +65,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
65
65
  class: "flex justify-center items-center text-center bg-genpact-darkest-blue text-white rounded-md w-40 px-10 py-2"
66
66
  }, Se = /* @__PURE__ */ n(() => /* @__PURE__ */ e("img", {
67
67
  class: "w-6 h-6 block loadercss",
68
- src: K,
68
+ src: L,
69
69
  alt: "Loader Gif"
70
70
  }, null, -1)), De = [
71
71
  Se
@@ -108,16 +108,16 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
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]" }, Le = { class: "w-full rounded-md px-3 text-center mt-4 bg-green-500 py-2 text-white" }, Re = /* @__PURE__ */ $({
112
112
  __name: "EditSkillData",
113
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 () => {
114
+ const s = z(), d = P(), m = i(!0), b = i(!0), v = i(!1), T = i(""), R = i(""), F = i(!1), u = i(!1), I = i(), w = i(), E = i([]), K = 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), m.value = !1;
120
+ console.log("question", R.value), m.value = !1;
121
121
  const l = await B("/SearchSkillTags", h);
122
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) {
@@ -210,7 +210,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
210
210
  a(s).isTopicPending === !0 ? "cursor-not-allowed bg-gray-600" : "cursor-pointer bg-genpact-darkest-blue",
211
211
  "text-center whitespace-nowrap text-white w-40 px-4 py-2 rounded-md font-bold"
212
212
  ]),
213
- onClick: R,
213
+ onClick: K,
214
214
  type: "button"
215
215
  }, " Duplicate Check ", 10, xe)) : (r(), c("div", fe, ve)),
216
216
  b.value ? (r(), c("button", {
@@ -247,14 +247,14 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
247
247
  ])
248
248
  ])) : g("", !0),
249
249
  y(e("div", Ge, [
250
- e("div", Ke, x(T.value), 1)
250
+ e("div", Le, x(T.value), 1)
251
251
  ], 512), [
252
252
  [O, v.value]
253
253
  ])
254
254
  ], 64));
255
255
  }
256
256
  });
257
- const He = /* @__PURE__ */ ee(Le, [["__scopeId", "data-v-18de1cf9"]]);
257
+ const He = /* @__PURE__ */ ee(Re, [["__scopeId", "data-v-18de1cf9"]]);
258
258
  export {
259
259
  He as default
260
260
  };