@genpact/genome.mfe.mgtwin-app 1.1.124-alpha → 1.1.128-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-65d12d0a.mjs";
1
+ import { o as e, c as r, a } from "./main-a127fab3.mjs";
2
2
  function c(l, o) {
3
3
  return e(), r("svg", {
4
4
  xmlns: "http://www.w3.org/2000/svg",
@@ -1,10 +1,12 @@
1
- import { d as G, K as z, o as n, c as d, a as e, b as K, e as c, u as H, j as O, h as r, p as h, v as k, n as S, q as $, F as q, r as P, t as b, i as D, H as T, C as Y, D as J, g as j } from "./main-65d12d0a.mjs";
2
- import { _ as Q, p as B, g as X, a as F } from "./loadernew-d3b3e8b2.mjs";
3
- import { r as Z } from "./ArrowLeftCircleIcon-0390c2e5.mjs";
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-a127fab3.mjs";
2
+ import { _ as j } from "./loadernew-ac153a51.mjs";
3
+ import { p as B, g as Q } from "./api-9631b4fa.mjs";
4
+ import { _ as X } from "./genome-Logo-white-ffcf2413.mjs";
5
+ import { r as Z } from "./ArrowLeftCircleIcon-a119462e.mjs";
4
6
  import { _ as ee } from "./_plugin-vue_export-helper-dad06003.mjs";
5
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", {
6
8
  class: "md:w-36 w-20",
7
- src: Q
9
+ src: X
8
10
  }, null, -1), ae = /* @__PURE__ */ G({
9
11
  __name: "HeaderForEditSKillAdminDatas",
10
12
  setup(g) {
@@ -17,19 +19,19 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
17
19
  onClick: p,
18
20
  class: "flex justify-start items-center text-white cursor-pointer"
19
21
  }, [
20
- K(c(Z), { class: "md:w-9 w-5 h-5 md:h-9 mr-1" }),
22
+ L(c(Z), { class: "md:w-9 w-5 h-5 md:h-9 mr-1" }),
21
23
  se
22
24
  ]),
23
25
  oe,
24
26
  le
25
27
  ]));
26
28
  }
27
- }), 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" }, [
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" }, [
28
30
  /* @__PURE__ */ e("label", {
29
31
  for: "topic",
30
32
  class: "block text-lg font-bold text-gray-900 mb-1 italic"
31
33
  }, [
32
- /* @__PURE__ */ j("Topic Name "),
34
+ /* @__PURE__ */ F("Topic Name "),
33
35
  /* @__PURE__ */ e("span", { class: "label" }, "*")
34
36
  ])
35
37
  ], -1)), ne = { class: "col-span-4" }, de = ["disabled"], ue = /* @__PURE__ */ i(() => /* @__PURE__ */ e("div", { class: "col-span-1 text-right" }, [
@@ -37,7 +39,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
37
39
  for: "description",
38
40
  class: "block text-lg font-bold text-gray-900 mb-1 italic"
39
41
  }, [
40
- /* @__PURE__ */ j("Description "),
42
+ /* @__PURE__ */ F("Description "),
41
43
  /* @__PURE__ */ e("span", { class: "label" }, "*")
42
44
  ])
43
45
  ], -1)), pe = { class: "col-span-4" }, ge = /* @__PURE__ */ i(() => /* @__PURE__ */ e("div", { class: "col-span-1 text-right" }, [
@@ -45,33 +47,33 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
45
47
  for: "Knowledge Corpus",
46
48
  class: "block text-lg font-bold text-gray-900 mb-1 italic"
47
49
  }, [
48
- /* @__PURE__ */ j("Knowledge Corpus "),
50
+ /* @__PURE__ */ F("Knowledge Corpus "),
49
51
  /* @__PURE__ */ e("span", { class: "label" }, "*")
50
52
  ])
51
- ], -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 = {
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 = {
52
54
  key: 1,
53
55
  class: "flex justify-center items-center text-center bg-genpact-darkest-blue text-white rounded-md w-40"
54
56
  }, ve = /* @__PURE__ */ i(() => /* @__PURE__ */ e("img", {
55
57
  class: "w-10 h-10 block loadercss",
56
- src: F,
58
+ src: j,
57
59
  alt: "Loader Gif"
58
60
  }, null, -1)), we = [
59
61
  ve
60
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 = {
61
63
  key: 1,
62
64
  class: "flex justify-center items-center text-center w-52 bg-genpact-darkest-blue text-white rounded-md"
63
- }, je = /* @__PURE__ */ i(() => /* @__PURE__ */ e("img", {
65
+ }, Fe = /* @__PURE__ */ i(() => /* @__PURE__ */ e("img", {
64
66
  class: "w-10 h-10 block loadercss",
65
- src: F,
67
+ src: j,
66
68
  alt: "Loader Gif"
67
- }, null, -1)), Fe = [
68
- je
69
+ }, null, -1)), je = [
70
+ Fe
69
71
  ], Ae = { class: "col-span-1 flex md:justify-end justify-start items-end" }, Ee = ["disabled"], Ie = {
70
72
  key: 1,
71
73
  class: "flex justify-center items-center text-center w-52 bg-genpact-darkest-blue text-white rounded-md"
72
74
  }, Ce = /* @__PURE__ */ i(() => /* @__PURE__ */ e("img", {
73
75
  class: "w-10 h-10 block loadercss",
74
- src: F,
76
+ src: j,
75
77
  alt: "Loader Gif"
76
78
  }, null, -1)), Ne = [
77
79
  Ce
@@ -94,16 +96,16 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
94
96
  class: "px-6 py-3"
95
97
  }, "Score")
96
98
  ])
97
- ], -1)), Be = { class: "px-3 py-4 font-medium text-gray-900 text-center" }, Ge = { class: "px-3 py-4" }, Ke = { class: "px-3 py-4 text-center" }, Le = /* @__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({
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({
98
100
  __name: "EditSkillAdminData",
99
101
  setup(g) {
100
- const s = H(), p = O(), u = r(!0), m = r(!0), x = r(!0), v = r(!1), L = r(""), A = r(!1), _ = r(!1), E = r(), I = r(), w = r(""), C = r([]), M = async () => {
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 () => {
101
103
  var l, t, o, y, R, V;
102
104
  try {
103
105
  const f = {
104
106
  question: s.descriptionForSkillData
105
107
  };
106
- console.log("question", L.value), u.value = !1;
108
+ console.log("question", K.value), u.value = !1;
107
109
  const a = await B("/SearchSkillTags", f);
108
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);
109
111
  } catch (f) {
@@ -117,7 +119,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
117
119
  var l;
118
120
  try {
119
121
  console.log("before rejecting topic"), m.value = !1;
120
- const t = encodeURIComponent(s.topicNameForSkillData), o = await X(`/rejectTempTopic?Topic=${t}`);
122
+ const t = encodeURIComponent(s.topicNameForSkillData), o = await Q(`/rejectTempTopic?Topic=${t}`);
121
123
  console.log("encoded topic", t), console.log("response", o), m.value = !0, o.status === 200 && (s.topicNameForSkillData = "", s.descriptionForSkillData = "", s.offeringTypeForSkillData = "", console.log("after rejecting topic"), w.value = "Data Rejected Successfully!", N());
122
124
  } catch (t) {
123
125
  if (console.error(t), m.value = !0, D.isAxiosError(t)) {
@@ -154,12 +156,12 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
154
156
  };
155
157
  return (l, t) => (n(), d(q, null, [
156
158
  e("nav", re, [
157
- K(ae)
159
+ L(ae)
158
160
  ]),
159
161
  e("div", ce, [
160
162
  ie,
161
163
  e("div", ne, [
162
- h(e("input", {
164
+ b(e("input", {
163
165
  disabled: c(s).enableInputbox !== !0,
164
166
  class: S([
165
167
  c(s).enableInputbox !== !0 ? "cursor-not-allowed fill-gray-400" : "",
@@ -176,7 +178,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
176
178
  ]),
177
179
  ue,
178
180
  e("div", pe, [
179
- h(e("textarea", {
181
+ b(e("textarea", {
180
182
  "onUpdate:modelValue": t[1] || (t[1] = (o) => c(s).descriptionForSkillData = o),
181
183
  onInput: t[2] || (t[2] = (o) => _.value = !1),
182
184
  type: "text",
@@ -191,7 +193,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
191
193
  ]),
192
194
  ge,
193
195
  e("div", me, [
194
- h(e("input", {
196
+ b(e("input", {
195
197
  "onUpdate:modelValue": t[3] || (t[3] = (o) => c(s).offeringTypeForSkillData = o),
196
198
  type: "text",
197
199
  id: "offeringType",
@@ -204,8 +206,8 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
204
206
  ]),
205
207
  _e,
206
208
  e("div", fe, [
207
- e("div", he, [
208
- e("div", be, [
209
+ e("div", be, [
210
+ e("div", he, [
209
211
  u.value ? (n(), d("button", {
210
212
  key: 0,
211
213
  disabled: c(s).isTopicPending === !0,
@@ -225,7 +227,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
225
227
  type: "button",
226
228
  onClick: W,
227
229
  class: "bg-genpact-darkest-blue text-center text-white w-52 px-16 py-2 rounded-md font-bold cursor-pointer"
228
- }, " Reject ")) : (n(), d("div", Te, Fe))
230
+ }, " Reject ")) : (n(), d("div", Te, je))
229
231
  ]),
230
232
  e("div", Ae, [
231
233
  x.value ? (n(), d("button", {
@@ -242,7 +244,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
242
244
  ])
243
245
  ])
244
246
  ]),
245
- h(e("div", Re, [
247
+ b(e("div", Re, [
246
248
  e("div", Ve, [
247
249
  e("table", $e, [
248
250
  qe,
@@ -251,10 +253,10 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
251
253
  key: y,
252
254
  class: "odd:bg-white even:bg-gray-100"
253
255
  }, [
254
- e("th", Be, b(o.Topic || "title"), 1),
255
- e("td", Ge, b(o.Description || "desc"), 1),
256
- e("td", Ke, b(o.OfferingType || "Knowledge Corpus"), 1),
257
- Le
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),
259
+ Ke
258
260
  ]))), 128))
259
261
  ])
260
262
  ])
@@ -262,15 +264,15 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
262
264
  ], 512), [
263
265
  [$, A.value]
264
266
  ]),
265
- h(e("div", Me, [
266
- e("div", We, b(w.value), 1)
267
+ b(e("div", Me, [
268
+ e("div", We, h(w.value), 1)
267
269
  ], 512), [
268
270
  [$, v.value]
269
271
  ])
270
272
  ], 64));
271
273
  }
272
274
  });
273
- const Ye = /* @__PURE__ */ ee(Ue, [["__scopeId", "data-v-ecf2c818"]]);
275
+ const Qe = /* @__PURE__ */ ee(Ue, [["__scopeId", "data-v-ecf2c818"]]);
274
276
  export {
275
- Ye as default
277
+ Qe as default
276
278
  };
@@ -1,19 +1,21 @@
1
- import { d as $, K as W, o as r, c, a as e, b as q, e as a, L, u as z, j as H, h as i, p as y, v as k, n as S, f as g, F as A, r as P, q as O, t as x, i as j, H as Y, C as J, D as Q, g as D } from "./main-65d12d0a.mjs";
2
- import { _ as X, p as B, a as G } from "./loadernew-d3b3e8b2.mjs";
3
- import { r as Z } from "./ArrowLeftCircleIcon-0390c2e5.mjs";
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-a127fab3.mjs";
2
+ import { _ as K } from "./loadernew-ac153a51.mjs";
3
+ import { p as $ } from "./api-9631b4fa.mjs";
4
+ import { _ as X } from "./genome-Logo-white-ffcf2413.mjs";
5
+ import { r as Z } from "./ArrowLeftCircleIcon-a119462e.mjs";
4
6
  import { _ as ee } from "./_plugin-vue_export-helper-dad06003.mjs";
5
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", {
6
8
  class: "md:w-36 w-20",
7
9
  src: X
8
- }, null, -1), le = /* @__PURE__ */ $({
10
+ }, null, -1), le = /* @__PURE__ */ j({
9
11
  __name: "HeaderForEditSkillData",
10
- setup(_) {
12
+ setup(m) {
11
13
  const s = W(), d = () => {
12
- L(() => {
14
+ G(() => {
13
15
  sessionStorage.removeItem("dataViewAccess");
14
16
  }), s.push({ name: "SkillData" }), sessionStorage.removeItem("dataViewAccess"), sessionStorage.removeItem("role");
15
17
  };
16
- return (b, m) => (r(), c("div", te, [
18
+ return (_, b) => (r(), c("div", te, [
17
19
  e("div", {
18
20
  onClick: d,
19
21
  class: "flex justify-start items-center text-white cursor-pointer"
@@ -25,7 +27,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
25
27
  ae
26
28
  ]));
27
29
  }
28
- }), n = (_) => (J("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" }, [
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" }, [
29
31
  /* @__PURE__ */ e("label", {
30
32
  for: "topic",
31
33
  class: "block text-lg font-bold text-gray-900 mb-1 italic"
@@ -49,12 +51,12 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
49
51
  /* @__PURE__ */ D("Knowledge Corpus "),
50
52
  /* @__PURE__ */ e("span", { class: "label" }, "*")
51
53
  ])
52
- ], -1)), _e = { class: "col-span-4" }, be = /* @__PURE__ */ n(() => /* @__PURE__ */ e("div", { class: "col-span-1" }, null, -1)), me = { class: "col-span-4" }, he = { class: "md:flex block justify-between items-center space-y-2" }, xe = ["disabled"], fe = {
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 = {
53
55
  key: 1,
54
56
  class: "flex justify-center items-center text-center bg-genpact-darkest-blue text-white rounded-md w-40 px-4 py-2"
55
57
  }, ye = /* @__PURE__ */ n(() => /* @__PURE__ */ e("img", {
56
58
  class: "w-6 h-6 block loadercss",
57
- src: G,
59
+ src: K,
58
60
  alt: "Loader Gif"
59
61
  }, null, -1)), ve = [
60
62
  ye
@@ -63,7 +65,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
63
65
  class: "flex justify-center items-center text-center bg-genpact-darkest-blue text-white rounded-md w-40 px-10 py-2"
64
66
  }, Se = /* @__PURE__ */ n(() => /* @__PURE__ */ e("img", {
65
67
  class: "w-6 h-6 block loadercss",
66
- src: G,
68
+ src: K,
67
69
  alt: "Loader Gif"
68
70
  }, null, -1)), De = [
69
71
  Se
@@ -94,32 +96,32 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
94
96
  class: "px-6 py-3"
95
97
  }, "Score")
96
98
  ])
97
- ], -1)), je = {
99
+ ], -1)), Be = {
98
100
  key: 0,
99
101
  class: "px-3 py-4 font-medium text-gray-900 text-center"
100
- }, Be = {
102
+ }, $e = {
101
103
  key: 1,
102
104
  class: "px-3 py-4"
103
- }, $e = {
105
+ }, je = {
104
106
  key: 2,
105
107
  class: "px-3 py-4 text-center"
106
108
  }, qe = {
107
109
  key: 3,
108
110
  class: "px-3 py-4 text-center"
109
- }, Le = { class: "absolute top-0 md:left-20 md:right-20 left-12 right-12 flex justify-center items-center mx-auto z-[100]" }, Ge = { class: "w-full rounded-md px-3 text-center mt-4 bg-green-500 py-2 text-white" }, Ke = /* @__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__ */ j({
110
112
  __name: "EditSkillData",
111
- setup(_) {
112
- const s = z(), d = H(), b = i(!0), m = i(!0), v = i(!1), T = i(""), K = i(""), F = i(!1), u = i(!1), I = i(), w = i(), E = i([]), R = async () => {
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
115
  var p, o, t, f, N, C, V;
114
116
  try {
115
117
  const h = {
116
118
  question: s.descriptionForSkillData
117
119
  };
118
- console.log("question", K.value), b.value = !1;
119
- const l = await B("/SearchSkillTags", h);
120
- 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), b.value = !0, F.value = !0, u.value = !0, console.log("showSubmitButton", u.value);
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);
121
123
  } catch (h) {
122
- if (console.error(h), b.value = !0, j.isAxiosError(h)) {
124
+ if (console.error(h), _.value = !0, B.isAxiosError(h)) {
123
125
  const l = h;
124
126
  d.setError(((V = l.response) == null ? void 0 : V.data).message);
125
127
  } else
@@ -134,11 +136,11 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
134
136
  OfferingType: s.offeringTypeForSkillData,
135
137
  DuplicateExists: w.value > 0 ? 1 : 0
136
138
  };
137
- m.value = !1, console.log("payload-=====>", o);
138
- const t = await B("/InsertIntoTempSkillFile", o);
139
- console.log("data", t), T.value = "Data Submitted Successfully!", m.value = !0, U();
139
+ b.value = !1, console.log("payload-=====>", o);
140
+ const t = await $("/InsertIntoTempSkillFile", o);
141
+ console.log("data", t), T.value = "Data Submitted Successfully!", b.value = !0, U();
140
142
  } catch (o) {
141
- if (console.error(o), m.value = !0, j.isAxiosError(o)) {
143
+ if (console.error(o), b.value = !0, B.isAxiosError(o)) {
142
144
  const t = o;
143
145
  d.setError(((p = t.response) == null ? void 0 : p.data).message);
144
146
  } else
@@ -146,9 +148,9 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
146
148
  }
147
149
  }, U = () => {
148
150
  v.value = !0, setTimeout(() => {
149
- v.value = !1, L(() => {
151
+ v.value = !1, G(() => {
150
152
  sessionStorage.removeItem("dataViewAccess");
151
- }), Y.push({ name: "SkillData" }), sessionStorage.removeItem("dataViewAccess"), sessionStorage.removeItem("role");
153
+ }), J.push({ name: "SkillData" }), sessionStorage.removeItem("dataViewAccess"), sessionStorage.removeItem("role");
152
154
  }, 3e3), u.value = !1;
153
155
  };
154
156
  return (p, o) => (r(), c(A, null, [
@@ -186,7 +188,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
186
188
  ])
187
189
  ]),
188
190
  ge,
189
- e("div", _e, [
191
+ e("div", me, [
190
192
  y(e("input", {
191
193
  "onUpdate:modelValue": o[3] || (o[3] = (t) => a(s).offeringTypeForSkillData = t),
192
194
  type: "text",
@@ -198,10 +200,10 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
198
200
  [k, a(s).offeringTypeForSkillData]
199
201
  ])
200
202
  ]),
201
- be,
202
- e("div", me, [
203
+ _e,
204
+ e("div", be, [
203
205
  e("div", he, [
204
- b.value ? (r(), c("button", {
206
+ _.value ? (r(), c("button", {
205
207
  key: 0,
206
208
  disabled: a(s).isTopicPending === !0,
207
209
  class: S([
@@ -211,7 +213,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
211
213
  onClick: R,
212
214
  type: "button"
213
215
  }, " Duplicate Check ", 10, xe)) : (r(), c("div", fe, ve)),
214
- m.value ? (r(), c("button", {
216
+ b.value ? (r(), c("button", {
215
217
  key: 2,
216
218
  disabled: u.value !== !0,
217
219
  class: S([
@@ -231,28 +233,28 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
231
233
  e("table", Ve, [
232
234
  Ae,
233
235
  e("tbody", null, [
234
- (r(!0), c(A, null, P(E.value, (t, f) => (r(), c("tr", {
236
+ (r(!0), c(A, null, H(E.value, (t, f) => (r(), c("tr", {
235
237
  key: f,
236
238
  class: "odd:bg-white even:bg-gray-100"
237
239
  }, [
238
- t.Topic !== a(s).topicNameForSkillData ? (r(), c("th", je, x(t.Topic || "title"), 1)) : g("", !0),
239
- t.Topic !== a(s).topicNameForSkillData ? (r(), c("td", Be, x(t.Description || "desc"), 1)) : g("", !0),
240
- t.Topic !== a(s).topicNameForSkillData ? (r(), c("td", $e, x(t.OfferingType || "Knowledge Corpus"), 1)) : g("", !0),
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),
241
243
  t.Topic !== a(s).topicNameForSkillData ? (r(), c("td", qe, x(t.new_tag), 1)) : g("", !0)
242
244
  ]))), 128))
243
245
  ])
244
246
  ])
245
247
  ])
246
248
  ])) : g("", !0),
247
- y(e("div", Le, [
248
- e("div", Ge, x(T.value), 1)
249
+ y(e("div", Ge, [
250
+ e("div", Ke, x(T.value), 1)
249
251
  ], 512), [
250
252
  [O, v.value]
251
253
  ])
252
254
  ], 64));
253
255
  }
254
256
  });
255
- const ze = /* @__PURE__ */ ee(Ke, [["__scopeId", "data-v-18de1cf9"]]);
257
+ const He = /* @__PURE__ */ ee(Le, [["__scopeId", "data-v-18de1cf9"]]);
256
258
  export {
257
- ze as default
259
+ He as default
258
260
  };