@genpact/genome.mfe.mgtwin-app 1.1.108-alpha → 1.1.110-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-55c91727.mjs → ArrowLeftCircleIcon-66ce4604.mjs} +1 -1
- package/dist/{EditSkillAdminData-fe257015.mjs → EditSkillAdminData-cf41dc1d.mjs} +19 -19
- package/dist/EditSkillData-19cb0f88.mjs +240 -0
- package/dist/{HomeView-9ee9047e.mjs → HomeView-a303fb9c.mjs} +5 -5
- package/dist/{Loading-a3ef042e.mjs → Loading-e23a7a98.mjs} +2 -2
- package/dist/{MagnifyingGlassIcon-a55ad6c0.mjs → MagnifyingGlassIcon-8c051464.mjs} +1 -1
- package/dist/{PaperAirplaneIcon-92d51347.mjs → PaperAirplaneIcon-6782c2b7.mjs} +1 -1
- package/dist/{PromptTesting-f15c3684.mjs → PromptTesting-5b94ed18.mjs} +3 -3
- package/dist/{SkillAutomation-13e31f2e.mjs → SkillAutomation-f8ddc0de.mjs} +3 -3
- package/dist/SkillData-5982cdc7.mjs +201 -0
- package/dist/{UnderMaintenance-f77870ae.mjs → UnderMaintenance-cd40b8f8.mjs} +1 -1
- package/dist/{loadernew-1af47bac.mjs → loadernew-cc25c34b.mjs} +1 -1
- package/dist/{main-2765a378.mjs → main-92d64643.mjs} +1248 -1248
- package/dist/mgtwin.es.min.js +1 -1
- package/dist/mgtwin.umd.min.js +7 -7
- package/dist/style.css +1 -1
- package/package.json +1 -1
- package/dist/EditSkillData-743935d6.mjs +0 -233
- package/dist/SkillData-d9ed7f99.mjs +0 -189
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as q, J as U, o as n, c, a as e, b as L, e as i, u as H, j as P, h as r, p as
|
|
2
|
-
import { _ as Q, p as G, g as X, a as F } from "./loadernew-
|
|
3
|
-
import { r as Z } from "./ArrowLeftCircleIcon-
|
|
1
|
+
import { d as q, J as U, o as n, c, a as e, b as L, e as i, u as H, j as P, h as r, p as _, v as k, n as S, q as $, F as B, r as J, t as y, i as D, G as T, B as K, C as Y, f as j } from "./main-92d64643.mjs";
|
|
2
|
+
import { _ as Q, p as G, g as X, a as F } from "./loadernew-cc25c34b.mjs";
|
|
3
|
+
import { r as Z } from "./ArrowLeftCircleIcon-66ce4604.mjs";
|
|
4
4
|
import { _ as ee } from "./_plugin-vue_export-helper-dad06003.mjs";
|
|
5
5
|
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), ae = /* @__PURE__ */ e("img", {
|
|
6
6
|
class: "md:w-36 w-20",
|
|
@@ -24,7 +24,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
24
24
|
ae
|
|
25
25
|
]));
|
|
26
26
|
}
|
|
27
|
-
}), d = (g) => (K("data-v-
|
|
27
|
+
}), d = (g) => (K("data-v-0b58b5e4"), g = g(), Y(), g), re = { class: "bg-genpact-blue-box w-full px-5 mb-6" }, ie = { class: "grid grid-cols-5 gap-8 p-10 items-stretch" }, ne = /* @__PURE__ */ d(() => /* @__PURE__ */ e("div", { class: "col-span-1 text-right" }, [
|
|
28
28
|
/* @__PURE__ */ e("label", {
|
|
29
29
|
for: "topic",
|
|
30
30
|
class: "block text-lg font-bold text-gray-900 mb-1 italic"
|
|
@@ -48,7 +48,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
48
48
|
/* @__PURE__ */ j("Offering Type "),
|
|
49
49
|
/* @__PURE__ */ e("span", { class: "label" }, "*")
|
|
50
50
|
])
|
|
51
|
-
], -1)), fe = { class: "col-span-4" }, me = /* @__PURE__ */ d(() => /* @__PURE__ */ e("div", { class: "col-span-1" }, null, -1)),
|
|
51
|
+
], -1)), fe = { class: "col-span-4" }, me = /* @__PURE__ */ d(() => /* @__PURE__ */ e("div", { class: "col-span-1" }, null, -1)), be = { class: "col-span-4" }, _e = { class: "grid md:grid-cols-5 grid-cols-1 justify-start items-center gap-2" }, he = { class: "col-span-1" }, xe = ["disabled"], ye = {
|
|
52
52
|
key: 1,
|
|
53
53
|
class: "flex justify-center items-center text-center bg-genpact-darkest-blue text-white rounded-md w-40"
|
|
54
54
|
}, ve = /* @__PURE__ */ d(() => /* @__PURE__ */ e("img", {
|
|
@@ -96,15 +96,15 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
96
96
|
const s = H(), p = P(), u = r(!0), f = r(!0), h = r(!0), v = r(!1), M = r(""), A = r(!1), m = r(!1), E = r(), I = r(), w = r(""), N = r([]), W = async () => {
|
|
97
97
|
var a, t, o, x, R, V;
|
|
98
98
|
try {
|
|
99
|
-
const
|
|
99
|
+
const b = {
|
|
100
100
|
question: s.descriptionForSkillData
|
|
101
101
|
};
|
|
102
102
|
console.log("question", M.value), u.value = !1;
|
|
103
|
-
const l = await G("/SearchSkillTags",
|
|
103
|
+
const l = await G("/SearchSkillTags", b);
|
|
104
104
|
I.value = (t = (a = l == null ? void 0 : l.data) == null ? void 0 : a.body) == null ? void 0 : t.length, console.log("ARRAY LENGTH", I.value), E.value = ((o = l == null ? void 0 : l.data) == null ? void 0 : o.body) || [], N.value = E.value, console.log("length", (R = (x = l == null ? void 0 : l.data) == null ? void 0 : x.body) == null ? void 0 : R.length), console.log("data", l), u.value = !0, A.value = !0, m.value = !0, console.log("showSubmitButton", m.value);
|
|
105
|
-
} catch (
|
|
106
|
-
if (console.error(
|
|
107
|
-
const l =
|
|
105
|
+
} catch (b) {
|
|
106
|
+
if (console.error(b), u.value = !0, D.isAxiosError(b)) {
|
|
107
|
+
const l = b;
|
|
108
108
|
p.setError(((V = l.response) == null ? void 0 : V.data).message);
|
|
109
109
|
} else
|
|
110
110
|
p.setError("We ran into an issue while fetching duplicate values.");
|
|
@@ -146,7 +146,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
146
146
|
v.value = !1;
|
|
147
147
|
const a = sessionStorage.getItem("role");
|
|
148
148
|
console.log("role", a), a === "user" ? T.push({ name: "SkillData" }) : a === "admin" ? T.push({ name: "SkillData" }) : T.push({ name: "SkillAutomation" }), sessionStorage.removeItem("dataViewAccess"), sessionStorage.removeItem("role");
|
|
149
|
-
},
|
|
149
|
+
}, 3e3);
|
|
150
150
|
};
|
|
151
151
|
return (a, t) => (n(), c(B, null, [
|
|
152
152
|
e("nav", re, [
|
|
@@ -155,7 +155,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
155
155
|
e("div", ie, [
|
|
156
156
|
ne,
|
|
157
157
|
e("div", ce, [
|
|
158
|
-
|
|
158
|
+
_(e("input", {
|
|
159
159
|
disabled: i(s).enableInputbox !== !0,
|
|
160
160
|
class: S([
|
|
161
161
|
i(s).enableInputbox !== !0 ? "cursor-not-allowed fill-gray-400" : "",
|
|
@@ -172,7 +172,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
172
172
|
]),
|
|
173
173
|
ue,
|
|
174
174
|
e("div", pe, [
|
|
175
|
-
|
|
175
|
+
_(e("textarea", {
|
|
176
176
|
"onUpdate:modelValue": t[1] || (t[1] = (o) => i(s).descriptionForSkillData = o),
|
|
177
177
|
onInput: t[2] || (t[2] = (o) => m.value = !1),
|
|
178
178
|
type: "text",
|
|
@@ -187,7 +187,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
187
187
|
]),
|
|
188
188
|
ge,
|
|
189
189
|
e("div", fe, [
|
|
190
|
-
|
|
190
|
+
_(e("input", {
|
|
191
191
|
"onUpdate:modelValue": t[3] || (t[3] = (o) => i(s).offeringTypeForSkillData = o),
|
|
192
192
|
type: "text",
|
|
193
193
|
id: "offeringType",
|
|
@@ -199,8 +199,8 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
199
199
|
])
|
|
200
200
|
]),
|
|
201
201
|
me,
|
|
202
|
-
e("div",
|
|
203
|
-
e("div",
|
|
202
|
+
e("div", be, [
|
|
203
|
+
e("div", _e, [
|
|
204
204
|
e("div", he, [
|
|
205
205
|
u.value ? (n(), c("button", {
|
|
206
206
|
key: 0,
|
|
@@ -238,7 +238,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
238
238
|
])
|
|
239
239
|
])
|
|
240
240
|
]),
|
|
241
|
-
|
|
241
|
+
_(e("div", Re, [
|
|
242
242
|
e("div", Ve, [
|
|
243
243
|
e("table", $e, [
|
|
244
244
|
Be,
|
|
@@ -257,7 +257,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
257
257
|
], 512), [
|
|
258
258
|
[$, A.value]
|
|
259
259
|
]),
|
|
260
|
-
|
|
260
|
+
_(e("div", Me, [
|
|
261
261
|
e("div", We, y(w.value), 1)
|
|
262
262
|
], 512), [
|
|
263
263
|
[$, v.value]
|
|
@@ -265,7 +265,7 @@ const te = { className: "flex justify-between items-center gap-4 h-14" }, se = /
|
|
|
265
265
|
], 64));
|
|
266
266
|
}
|
|
267
267
|
});
|
|
268
|
-
const Je = /* @__PURE__ */ ee(Oe, [["__scopeId", "data-v-
|
|
268
|
+
const Je = /* @__PURE__ */ ee(Oe, [["__scopeId", "data-v-0b58b5e4"]]);
|
|
269
269
|
export {
|
|
270
270
|
Je as default
|
|
271
271
|
};
|
|
@@ -0,0 +1,240 @@
|
|
|
1
|
+
import { d as j, J as U, o as i, c, a as e, b as $, e as l, K as q, u as W, j as z, h as r, p as f, v as w, n as k, g as P, q as A, F as N, r as H, t as x, i as C, G as J, B as K, C as Y, f as S } from "./main-92d64643.mjs";
|
|
2
|
+
import { _ as Q, p as B, a as G } from "./loadernew-cc25c34b.mjs";
|
|
3
|
+
import { r as X } from "./ArrowLeftCircleIcon-66ce4604.mjs";
|
|
4
|
+
import { _ as Z } from "./_plugin-vue_export-helper-dad06003.mjs";
|
|
5
|
+
const ee = { className: "flex justify-between items-center gap-4 h-14" }, te = /* @__PURE__ */ e("div", { class: "font-bold text-base md:text-xl" }, "Back", -1), se = /* @__PURE__ */ e("div", { class: "text-white font-bold md:text-xl text-base" }, "AI Guru Edit Skill Data", -1), oe = /* @__PURE__ */ e("img", {
|
|
6
|
+
class: "md:w-36 w-20",
|
|
7
|
+
src: Q
|
|
8
|
+
}, null, -1), ae = /* @__PURE__ */ j({
|
|
9
|
+
__name: "HeaderForEditSkillData",
|
|
10
|
+
setup(g) {
|
|
11
|
+
const s = U(), d = () => {
|
|
12
|
+
q(() => {
|
|
13
|
+
sessionStorage.removeItem("dataViewAccess");
|
|
14
|
+
}), s.push({ name: "SkillData" }), sessionStorage.removeItem("dataViewAccess"), sessionStorage.removeItem("role");
|
|
15
|
+
};
|
|
16
|
+
return (b, _) => (i(), c("div", ee, [
|
|
17
|
+
e("div", {
|
|
18
|
+
onClick: d,
|
|
19
|
+
class: "flex justify-start items-center text-white cursor-pointer"
|
|
20
|
+
}, [
|
|
21
|
+
$(l(X), { class: "md:w-9 w-5 h-5 md:h-9 mr-1" }),
|
|
22
|
+
te
|
|
23
|
+
]),
|
|
24
|
+
se,
|
|
25
|
+
oe
|
|
26
|
+
]));
|
|
27
|
+
}
|
|
28
|
+
}), n = (g) => (K("data-v-987796cc"), g = g(), Y(), g), le = { class: "bg-genpact-blue-box w-full px-5 mb-6" }, re = { class: "grid grid-cols-5 gap-8 p-10 items-stretch" }, ie = /* @__PURE__ */ n(() => /* @__PURE__ */ e("div", { class: "col-span-1 text-right" }, [
|
|
29
|
+
/* @__PURE__ */ e("label", {
|
|
30
|
+
for: "topic",
|
|
31
|
+
class: "block text-lg font-bold text-gray-900 mb-1 italic"
|
|
32
|
+
}, [
|
|
33
|
+
/* @__PURE__ */ S("Topic Name "),
|
|
34
|
+
/* @__PURE__ */ e("span", { class: "label" }, "*")
|
|
35
|
+
])
|
|
36
|
+
], -1)), ce = { class: "col-span-4" }, ne = ["disabled"], de = /* @__PURE__ */ n(() => /* @__PURE__ */ e("div", { class: "col-span-1 text-right" }, [
|
|
37
|
+
/* @__PURE__ */ e("label", {
|
|
38
|
+
for: "description",
|
|
39
|
+
class: "block text-lg font-bold text-gray-900 mb-1 italic"
|
|
40
|
+
}, [
|
|
41
|
+
/* @__PURE__ */ S("Description "),
|
|
42
|
+
/* @__PURE__ */ e("span", { class: "label" }, "*")
|
|
43
|
+
])
|
|
44
|
+
], -1)), ue = { class: "col-span-4" }, pe = /* @__PURE__ */ n(() => /* @__PURE__ */ e("div", { class: "col-span-1 text-right" }, [
|
|
45
|
+
/* @__PURE__ */ e("label", {
|
|
46
|
+
for: "offeringType",
|
|
47
|
+
class: "block text-lg font-bold text-gray-900 mb-1 italic"
|
|
48
|
+
}, [
|
|
49
|
+
/* @__PURE__ */ S("Offering Type "),
|
|
50
|
+
/* @__PURE__ */ e("span", { class: "label" }, "*")
|
|
51
|
+
])
|
|
52
|
+
], -1)), ge = { class: "col-span-4" }, be = /* @__PURE__ */ n(() => /* @__PURE__ */ e("div", { class: "col-span-1" }, null, -1)), _e = { class: "col-span-4" }, me = { class: "md:flex block justify-between items-center space-y-2" }, fe = ["disabled"], he = {
|
|
53
|
+
key: 1,
|
|
54
|
+
class: "flex justify-center items-center text-center bg-genpact-darkest-blue text-white rounded-md w-40 px-4 py-2"
|
|
55
|
+
}, xe = /* @__PURE__ */ n(() => /* @__PURE__ */ e("img", {
|
|
56
|
+
class: "w-6 h-6 block loadercss",
|
|
57
|
+
src: G,
|
|
58
|
+
alt: "Loader Gif"
|
|
59
|
+
}, null, -1)), ye = [
|
|
60
|
+
xe
|
|
61
|
+
], ve = ["disabled"], we = {
|
|
62
|
+
key: 3,
|
|
63
|
+
class: "flex justify-center items-center text-center bg-genpact-darkest-blue text-white rounded-md w-40 px-10 py-2"
|
|
64
|
+
}, ke = /* @__PURE__ */ n(() => /* @__PURE__ */ e("img", {
|
|
65
|
+
class: "w-6 h-6 block loadercss",
|
|
66
|
+
src: G,
|
|
67
|
+
alt: "Loader Gif"
|
|
68
|
+
}, null, -1)), Se = [
|
|
69
|
+
ke
|
|
70
|
+
], Te = /* @__PURE__ */ n(() => /* @__PURE__ */ e("div", { class: "col-span-1" }, null, -1)), De = {
|
|
71
|
+
key: 0,
|
|
72
|
+
class: "col-span-4"
|
|
73
|
+
}, Ie = /* @__PURE__ */ n(() => /* @__PURE__ */ e("div", { class: "p-2 items-center text-base font-bold bg-gray-200" }, " This topic is under review and cannot be submitted again at this moment ", -1)), Ee = [
|
|
74
|
+
Ie
|
|
75
|
+
], Fe = { class: "pl-16 pr-8 py-2" }, Ve = { class: "w-full relative overflow-x-auto rounded-lg border border-gray-200 max-h-[550px]" }, Ae = { class: "table-auto w-full text-sm text-left rtl:text-right rounded-lg" }, Ne = /* @__PURE__ */ n(() => /* @__PURE__ */ e("thead", { class: "text-sm text-center md:text-base text-gray-700 uppercase bg-gray-200 top-0 sticky z-10" }, [
|
|
76
|
+
/* @__PURE__ */ e("tr", null, [
|
|
77
|
+
/* @__PURE__ */ e("th", {
|
|
78
|
+
scope: "col",
|
|
79
|
+
class: "px-6 py-3"
|
|
80
|
+
}, "Topic name"),
|
|
81
|
+
/* @__PURE__ */ e("th", {
|
|
82
|
+
scope: "col",
|
|
83
|
+
class: "px-6 py-3"
|
|
84
|
+
}, "Description"),
|
|
85
|
+
/* @__PURE__ */ e("th", {
|
|
86
|
+
scope: "col",
|
|
87
|
+
class: "px-6 py-3"
|
|
88
|
+
}, "OfferingType")
|
|
89
|
+
])
|
|
90
|
+
], -1)), Ce = { class: "px-3 py-4 font-medium text-gray-900 text-center" }, Be = { class: "px-3 py-4" }, je = { class: "px-3 py-4 text-center" }, $e = { class: "absolute top-0 md:left-20 md:right-20 left-12 right-12 flex justify-center items-center mx-auto z-[100]" }, qe = { class: "w-full rounded-md px-3 text-center mt-4 bg-green-500 py-2 text-white" }, Ge = /* @__PURE__ */ j({
|
|
91
|
+
__name: "EditSkillData",
|
|
92
|
+
setup(g) {
|
|
93
|
+
const s = W(), d = z(), b = r(!0), _ = r(!0), y = r(!1), T = r(""), L = r(""), D = r(!1), u = r(!1), I = r(), v = r(), E = r([]), R = async () => {
|
|
94
|
+
var p, t, o, h, F, V;
|
|
95
|
+
try {
|
|
96
|
+
const m = {
|
|
97
|
+
question: s.descriptionForSkillData
|
|
98
|
+
};
|
|
99
|
+
console.log("question", L.value), b.value = !1;
|
|
100
|
+
const a = await B("/SearchSkillTags", m);
|
|
101
|
+
v.value = (t = (p = a == null ? void 0 : a.data) == null ? void 0 : p.body) == null ? void 0 : t.length, console.log("ARRAY LENGTH", v.value), I.value = ((o = a == null ? void 0 : a.data) == null ? void 0 : o.body) || [], E.value = I.value, console.log("length", (F = (h = a == null ? void 0 : a.data) == null ? void 0 : h.body) == null ? void 0 : F.length), console.log("data", a), b.value = !0, D.value = !0, u.value = !0, console.log("showSubmitButton", u.value);
|
|
102
|
+
} catch (m) {
|
|
103
|
+
if (console.error(m), b.value = !0, C.isAxiosError(m)) {
|
|
104
|
+
const a = m;
|
|
105
|
+
d.setError(((V = a.response) == null ? void 0 : V.data).message);
|
|
106
|
+
} else
|
|
107
|
+
d.setError("We ran into an issue while fetching duplicate values.");
|
|
108
|
+
}
|
|
109
|
+
}, M = async () => {
|
|
110
|
+
var p;
|
|
111
|
+
try {
|
|
112
|
+
const t = {
|
|
113
|
+
Topic: s.topicNameForSkillData,
|
|
114
|
+
Description: s.descriptionForSkillData,
|
|
115
|
+
OfferingType: s.offeringTypeForSkillData,
|
|
116
|
+
DuplicateExists: v.value > 0 ? 1 : 0
|
|
117
|
+
};
|
|
118
|
+
_.value = !1, console.log("payload-=====>", t);
|
|
119
|
+
const o = await B("/InsertIntoTempSkillFile", t);
|
|
120
|
+
console.log("data", o), T.value = "Data Submitted Successfully!", _.value = !0, O();
|
|
121
|
+
} catch (t) {
|
|
122
|
+
if (console.error(t), _.value = !0, C.isAxiosError(t)) {
|
|
123
|
+
const o = t;
|
|
124
|
+
d.setError(((p = o.response) == null ? void 0 : p.data).message);
|
|
125
|
+
} else
|
|
126
|
+
d.setError("There was an issue while inserting data");
|
|
127
|
+
}
|
|
128
|
+
}, O = () => {
|
|
129
|
+
y.value = !0, setTimeout(() => {
|
|
130
|
+
y.value = !1, q(() => {
|
|
131
|
+
sessionStorage.removeItem("dataViewAccess");
|
|
132
|
+
}), J.push({ name: "SkillData" }), sessionStorage.removeItem("dataViewAccess"), sessionStorage.removeItem("role");
|
|
133
|
+
}, 3e3), u.value = !1;
|
|
134
|
+
};
|
|
135
|
+
return (p, t) => (i(), c(N, null, [
|
|
136
|
+
e("nav", le, [
|
|
137
|
+
$(ae)
|
|
138
|
+
]),
|
|
139
|
+
e("div", re, [
|
|
140
|
+
ie,
|
|
141
|
+
e("div", ce, [
|
|
142
|
+
f(e("input", {
|
|
143
|
+
disabled: l(s).enableInputbox !== !0,
|
|
144
|
+
class: k([l(s).enableInputbox !== !0 ? "cursor-not-allowed fill-gray-400" : "", "w-full p-2.5 text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 shadow-sm focus:outline-none focus:border-genpact-blue-box focus:ring-genpact-blue-box focus:ring-1"]),
|
|
145
|
+
type: "text",
|
|
146
|
+
"onUpdate:modelValue": t[0] || (t[0] = (o) => l(s).topicNameForSkillData = o),
|
|
147
|
+
id: "topic",
|
|
148
|
+
placeholder: "Write here...",
|
|
149
|
+
required: ""
|
|
150
|
+
}, null, 10, ne), [
|
|
151
|
+
[w, l(s).topicNameForSkillData]
|
|
152
|
+
])
|
|
153
|
+
]),
|
|
154
|
+
de,
|
|
155
|
+
e("div", ue, [
|
|
156
|
+
f(e("textarea", {
|
|
157
|
+
"onUpdate:modelValue": t[1] || (t[1] = (o) => l(s).descriptionForSkillData = o),
|
|
158
|
+
onInput: t[2] || (t[2] = (o) => u.value = !1),
|
|
159
|
+
type: "text",
|
|
160
|
+
id: "description",
|
|
161
|
+
rows: "5",
|
|
162
|
+
class: "w-full p-2.5 text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 shadow-sm focus:outline-none focus:border-genpact-blue-box focus:ring-genpact-blue-box focus:ring-1",
|
|
163
|
+
placeholder: "Write here...",
|
|
164
|
+
required: ""
|
|
165
|
+
}, null, 544), [
|
|
166
|
+
[w, l(s).descriptionForSkillData]
|
|
167
|
+
])
|
|
168
|
+
]),
|
|
169
|
+
pe,
|
|
170
|
+
e("div", ge, [
|
|
171
|
+
f(e("input", {
|
|
172
|
+
"onUpdate:modelValue": t[3] || (t[3] = (o) => l(s).offeringTypeForSkillData = o),
|
|
173
|
+
type: "text",
|
|
174
|
+
id: "offeringType",
|
|
175
|
+
class: "w-full p-2.5 text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 shadow-sm focus:outline-none focus:border-genpact-blue-box focus:ring-genpact-blue-box focus:ring-1",
|
|
176
|
+
placeholder: "Write here...",
|
|
177
|
+
required: ""
|
|
178
|
+
}, null, 512), [
|
|
179
|
+
[w, l(s).offeringTypeForSkillData]
|
|
180
|
+
])
|
|
181
|
+
]),
|
|
182
|
+
be,
|
|
183
|
+
e("div", _e, [
|
|
184
|
+
e("div", me, [
|
|
185
|
+
b.value ? (i(), c("button", {
|
|
186
|
+
key: 0,
|
|
187
|
+
disabled: l(s).isTopicPending === !0,
|
|
188
|
+
class: k([
|
|
189
|
+
l(s).isTopicPending === !0 ? "cursor-not-allowed bg-gray-600" : "cursor-pointer bg-genpact-darkest-blue",
|
|
190
|
+
"text-center whitespace-nowrap text-white w-40 px-4 py-2 rounded-md font-bold"
|
|
191
|
+
]),
|
|
192
|
+
onClick: R,
|
|
193
|
+
type: "button"
|
|
194
|
+
}, " Duplicate Check ", 10, fe)) : (i(), c("div", he, ye)),
|
|
195
|
+
_.value ? (i(), c("button", {
|
|
196
|
+
key: 2,
|
|
197
|
+
disabled: u.value !== !0,
|
|
198
|
+
class: k([
|
|
199
|
+
u.value !== !0 ? "cursor-not-allowed bg-gray-600" : "cursor-pointer bg-genpact-darkest-blue",
|
|
200
|
+
"text-center text-white w-40 px-10 py-2 rounded-md font-bold"
|
|
201
|
+
]),
|
|
202
|
+
onClick: M,
|
|
203
|
+
type: "submit"
|
|
204
|
+
}, " Submit ", 10, ve)) : (i(), c("div", we, Se))
|
|
205
|
+
])
|
|
206
|
+
]),
|
|
207
|
+
Te,
|
|
208
|
+
l(s).isTopicPending ? (i(), c("div", De, Ee)) : P("", !0)
|
|
209
|
+
]),
|
|
210
|
+
f(e("div", Fe, [
|
|
211
|
+
e("div", Ve, [
|
|
212
|
+
e("table", Ae, [
|
|
213
|
+
Ne,
|
|
214
|
+
e("tbody", null, [
|
|
215
|
+
(i(!0), c(N, null, H(E.value, (o, h) => (i(), c("tr", {
|
|
216
|
+
key: h,
|
|
217
|
+
class: "odd:bg-white even:bg-gray-100"
|
|
218
|
+
}, [
|
|
219
|
+
e("th", Ce, x(o.Topic || "title"), 1),
|
|
220
|
+
e("td", Be, x(o.Description || "desc"), 1),
|
|
221
|
+
e("td", je, x(o.OfferingType || "offeringType"), 1)
|
|
222
|
+
]))), 128))
|
|
223
|
+
])
|
|
224
|
+
])
|
|
225
|
+
])
|
|
226
|
+
], 512), [
|
|
227
|
+
[A, D.value]
|
|
228
|
+
]),
|
|
229
|
+
f(e("div", $e, [
|
|
230
|
+
e("div", qe, x(T.value), 1)
|
|
231
|
+
], 512), [
|
|
232
|
+
[A, y.value]
|
|
233
|
+
])
|
|
234
|
+
], 64));
|
|
235
|
+
}
|
|
236
|
+
});
|
|
237
|
+
const Ue = /* @__PURE__ */ Z(Ge, [["__scopeId", "data-v-987796cc"]]);
|
|
238
|
+
export {
|
|
239
|
+
Ue as default
|
|
240
|
+
};
|