@genpact/genome.mfe.mgtwin-app 1.1.151-alpha → 1.1.153-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-5f01d354.mjs";
1
+ import { o as e, c as r, a } from "./main-09e62bfe.mjs";
2
2
  function c(l, o) {
3
3
  return e(), r("svg", {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -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, 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-5f01d354.mjs";
2
- import { _ as j } from "./loadernew-ac153a51.mjs";
3
- import { p as q, g as Q } from "./api-8ef8a34e.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, 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-09e62bfe.mjs";
2
+ import { _ as F } from "./loadernew-ac153a51.mjs";
3
+ import { p as q, g as Q } from "./api-8ccb595e.mjs";
4
4
  import { _ as X } from "./genome-Logo-white-ffcf2413.mjs";
5
- import { r as Z } from "./ArrowLeftCircleIcon-79945c30.mjs";
5
+ import { r as Z } from "./ArrowLeftCircleIcon-0944cabd.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__ */ F("Topic Name "),
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__ */ F("Description "),
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__ */ F("Knowledge Corpus "),
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: j,
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
- }, Fe = /* @__PURE__ */ i(() => /* @__PURE__ */ e("img", {
65
+ }, je = /* @__PURE__ */ i(() => /* @__PURE__ */ e("img", {
66
66
  class: "w-10 h-10 block loadercss",
67
- src: j,
67
+ src: F,
68
68
  alt: "Loader Gif"
69
- }, null, -1)), je = [
70
- Fe
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: j,
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, je))
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 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-5f01d354.mjs";
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-09e62bfe.mjs";
2
2
  import { _ as K } from "./loadernew-ac153a51.mjs";
3
- import { p as $ } from "./api-8ef8a34e.mjs";
3
+ import { p as B } from "./api-8ccb595e.mjs";
4
4
  import { _ as X } from "./genome-Logo-white-ffcf2413.mjs";
5
- import { r as Z } from "./ArrowLeftCircleIcon-79945c30.mjs";
5
+ import { r as Z } from "./ArrowLeftCircleIcon-0944cabd.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__ */ j({
10
+ }, null, -1), le = /* @__PURE__ */ $({
11
11
  __name: "HeaderForEditSkillData",
12
- setup(m) {
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 (_, b) => (r(), c("div", te, [
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 = (m) => (Y("data-v-18de1cf9"), m = m(), Q(), m), 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" }, [
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)), me = { class: "col-span-4" }, _e = /* @__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 = {
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)), Be = {
99
+ ], -1)), je = {
100
100
  key: 0,
101
101
  class: "px-3 py-4 font-medium text-gray-900 text-center"
102
- }, $e = {
102
+ }, Be = {
103
103
  key: 1,
104
104
  class: "px-3 py-4"
105
- }, je = {
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__ */ j({
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(m) {
114
- const s = z(), d = P(), _ = 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 () => {
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), _.value = !1;
121
- const l = await $("/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), _.value = !0, F.value = !0, u.value = !0, console.log("showSubmitButton", u.value);
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), _.value = !0, B.isAxiosError(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 $("/InsertIntoTempSkillFile", o);
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, B.isAxiosError(o)) {
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", me, [
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
- _e,
203
+ me,
204
204
  e("div", be, [
205
205
  e("div", he, [
206
- _.value ? (r(), c("button", {
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", Be, x(t.Topic || "title"), 1)) : g("", !0),
241
- t.Topic !== a(s).topicNameForSkillData ? (r(), c("td", $e, x(t.Description || "desc"), 1)) : g("", !0),
242
- t.Topic !== a(s).topicNameForSkillData ? (r(), c("td", je, x(t.OfferingType || "Knowledge Corpus"), 1)) : g("", !0),
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
  ])