qlu-20-ui-library 1.1.6 → 1.1.7
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/components/SearchPersonTable/index.d.ts +3 -3
- package/dist/library.es.js +77 -110
- package/dist/library.umd.js +10 -10
- package/dist/types.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SearchPersonTableType } from '../../types';
|
|
3
3
|
interface SearchPersonTableProps {
|
|
4
|
-
onCheckClick: () => void;
|
|
5
|
-
onNameClick: () => void;
|
|
6
|
-
onCompanyClick: () => void;
|
|
4
|
+
onCheckClick: (id: number) => void;
|
|
5
|
+
onNameClick: (id: number) => void;
|
|
6
|
+
onCompanyClick: (id: number) => void;
|
|
7
7
|
personsData: SearchPersonTableType[];
|
|
8
8
|
}
|
|
9
9
|
declare const SearchPersonTable: React.FC<SearchPersonTableProps>;
|
package/dist/library.es.js
CHANGED
|
@@ -7528,21 +7528,21 @@ const l4 = (t) => {
|
|
|
7528
7528
|
onClick: () => console.log("this was in click 2")
|
|
7529
7529
|
}
|
|
7530
7530
|
], n3 = "https://media.licdn.com/dms/image/C5603AQHn7tbH46HwRw/profile-displayphoto-shrink_100_100/0/1651460224714?e=1688601600&v=beta&t=Rp0HL0Q-b3zSydvEhWzj67pxqvi5lIRF-ZlLloVru4o", q8 = "https://media.licdn.com/dms/image/C4D0BAQGHhAk9oJMhoA/company-logo_100_100/0/1644908739401?e=1692230400&v=beta&t=SKe0ogRHK0zvkHlu6-1Pz0z-e32MoG6LxSSALUMuiSE", Ut = [
|
|
7531
|
-
{ fullName: "Mike Luzio the Second and Mike Luzio the 3rd asdasdasdasdasd ", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7532
|
-
{ fullName: "Raja Zain1", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7533
|
-
{ fullName: "Raja Zain2", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7534
|
-
{ fullName: "Raja Zain3", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7535
|
-
{ fullName: "Raja Zain5", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7536
|
-
{ fullName: "Raja Zain6", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7537
|
-
{ fullName: "Raja Zain7", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7538
|
-
{ fullName: "Raja Zain8", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7539
|
-
{ fullName: "Raja Zain0", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7540
|
-
{ fullName: "Raja Zain7", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7541
|
-
{ fullName: "Raja Zain8", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7542
|
-
{ fullName: "Raja Zain0", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7543
|
-
{ fullName: "Raja Zain7", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7544
|
-
{ fullName: "Raja Zain8", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7545
|
-
{ fullName: "Raja Zain0", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 }
|
|
7531
|
+
{ id: 1, fullName: "Mike Luzio the Second and Mike Luzio the 3rd asdasdasdasdasd ", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7532
|
+
{ id: 2, fullName: "Raja Zain1", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7533
|
+
{ id: 3, fullName: "Raja Zain2", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7534
|
+
{ id: 4, fullName: "Raja Zain3", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7535
|
+
{ id: 5, fullName: "Raja Zain5", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7536
|
+
{ id: 6, fullName: "Raja Zain6", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7537
|
+
{ id: 7, fullName: "Raja Zain7", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7538
|
+
{ id: 8, fullName: "Raja Zain8", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7539
|
+
{ id: 9, fullName: "Raja Zain0", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7540
|
+
{ id: 10, fullName: "Raja Zain7", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7541
|
+
{ id: 11, fullName: "Raja Zain8", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7542
|
+
{ id: 12, fullName: "Raja Zain0", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7543
|
+
{ id: 13, fullName: "Raja Zain7", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7544
|
+
{ id: 14, fullName: "Raja Zain8", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 },
|
|
7545
|
+
{ id: 15, fullName: "Raja Zain0", currentTitle: "Confirm Jannati", currentCompany: "Qlu.ai", location: "Jannat", industry: "AI Recruitment", skills: "SCP , Gameing, Gym", profilePicture: n3 }
|
|
7546
7546
|
], a4 = [
|
|
7547
7547
|
{ tabName: "Summary" },
|
|
7548
7548
|
{ tabName: "Notes" },
|
|
@@ -16960,11 +16960,14 @@ This usually means you need to need to name your plugin hook by setting the 'plu
|
|
|
16960
16960
|
process.env.NODE_ENV === "production" ? f5.exports = za() : f5.exports = wa();
|
|
16961
16961
|
var H4 = f5.exports;
|
|
16962
16962
|
const Fa = ({
|
|
16963
|
-
onCheckClick: t = () => {
|
|
16963
|
+
onCheckClick: t = (v) => {
|
|
16964
|
+
console.log("Showing the id :::::::: ", v);
|
|
16964
16965
|
},
|
|
16965
|
-
onNameClick: a = () => {
|
|
16966
|
+
onNameClick: a = (v) => {
|
|
16967
|
+
console.log("Showing the id :::::::: ", v);
|
|
16966
16968
|
},
|
|
16967
|
-
onCompanyClick: c = () => {
|
|
16969
|
+
onCompanyClick: c = (v) => {
|
|
16970
|
+
console.log("Showing the id :::::::: ", v);
|
|
16968
16971
|
},
|
|
16969
16972
|
personsData: r
|
|
16970
16973
|
}) => {
|
|
@@ -16978,61 +16981,37 @@ const Fa = ({
|
|
|
16978
16981
|
{ Header: "Skills", accessor: "skills" }
|
|
16979
16982
|
],
|
|
16980
16983
|
[]
|
|
16981
|
-
), {
|
|
16982
|
-
|
|
16983
|
-
|
|
16984
|
-
|
|
16985
|
-
|
|
16986
|
-
|
|
16987
|
-
|
|
16988
|
-
|
|
16989
|
-
|
|
16990
|
-
|
|
16991
|
-
|
|
16992
|
-
|
|
16993
|
-
|
|
16994
|
-
|
|
16995
|
-
|
|
16996
|
-
|
|
16997
|
-
|
|
16998
|
-
|
|
16999
|
-
|
|
17000
|
-
|
|
17001
|
-
|
|
17002
|
-
|
|
17003
|
-
|
|
17004
|
-
|
|
17005
|
-
|
|
17006
|
-
|
|
17007
|
-
|
|
17008
|
-
|
|
17009
|
-
|
|
17010
|
-
|
|
17011
|
-
|
|
17012
|
-
iconSize: "40",
|
|
17013
|
-
borderRadius: "6"
|
|
17014
|
-
}
|
|
17015
|
-
),
|
|
17016
|
-
/* @__PURE__ */ i.jsx(
|
|
17017
|
-
q0,
|
|
17018
|
-
{
|
|
17019
|
-
text: j == null ? void 0 : j.value,
|
|
17020
|
-
onClick: a
|
|
17021
|
-
}
|
|
17022
|
-
)
|
|
17023
|
-
]
|
|
17024
|
-
}
|
|
17025
|
-
) }) : j.column.Header === "Company" ? /* @__PURE__ */ i.jsx("td", { ...j.getCellProps(), children: /* @__PURE__ */ i.jsx(
|
|
17026
|
-
q0,
|
|
17027
|
-
{
|
|
17028
|
-
text: j == null ? void 0 : j.value,
|
|
17029
|
-
onClick: c
|
|
17030
|
-
}
|
|
17031
|
-
) }) : /* @__PURE__ */ i.jsx("td", { ...j.getCellProps(), children: j.render("Cell") });
|
|
17032
|
-
}) }))) })
|
|
17033
|
-
]
|
|
17034
|
-
}
|
|
17035
|
-
);
|
|
16984
|
+
), { getTableProps: s, getTableBodyProps: M, headerGroups: H, rows: z, prepareRow: P } = H4.useTable({ columns: p, data: v });
|
|
16985
|
+
return /* @__PURE__ */ i.jsxs("table", { className: "searchPersonTable--Generic", ...s(), children: [
|
|
16986
|
+
/* @__PURE__ */ i.jsx("thead", { children: H.map((w) => /* @__PURE__ */ i.jsx("tr", { ...w.getHeaderGroupProps(), children: w.headers.map((j) => /* @__PURE__ */ i.jsx("th", { ...j.getHeaderProps(), children: j.render("Header") })) })) }),
|
|
16987
|
+
/* @__PURE__ */ i.jsx("tbody", { ...M(), children: z.map((w) => (P(w), /* @__PURE__ */ i.jsx("tr", { ...w.getRowProps(), children: w.cells.map((j) => {
|
|
16988
|
+
var K, N;
|
|
16989
|
+
return console.log(typeof j.render("Cell"), j, "printing cell number as :::: "), j.column.Header === "Name" ? /* @__PURE__ */ i.jsx("td", { ...j.getCellProps(), children: /* @__PURE__ */ i.jsxs("span", { className: "searchPersonTable--NameCell", children: [
|
|
16990
|
+
/* @__PURE__ */ i.jsx(z5, { onClick: () => t(parseInt(j.row.id)) }),
|
|
16991
|
+
/* @__PURE__ */ i.jsx(
|
|
16992
|
+
g5,
|
|
16993
|
+
{
|
|
16994
|
+
iconPath: (N = (K = j == null ? void 0 : j.row) == null ? void 0 : K.original) == null ? void 0 : N.profilePicture,
|
|
16995
|
+
iconSize: "40",
|
|
16996
|
+
borderRadius: "6"
|
|
16997
|
+
}
|
|
16998
|
+
),
|
|
16999
|
+
/* @__PURE__ */ i.jsx(
|
|
17000
|
+
q0,
|
|
17001
|
+
{
|
|
17002
|
+
text: j == null ? void 0 : j.value,
|
|
17003
|
+
onClick: () => a(parseInt(j.row.id))
|
|
17004
|
+
}
|
|
17005
|
+
)
|
|
17006
|
+
] }) }) : j.column.Header === "Company" ? /* @__PURE__ */ i.jsx("td", { ...j.getCellProps(), children: /* @__PURE__ */ i.jsx(
|
|
17007
|
+
q0,
|
|
17008
|
+
{
|
|
17009
|
+
text: j == null ? void 0 : j.value,
|
|
17010
|
+
onClick: () => c(parseInt(j.row.id))
|
|
17011
|
+
}
|
|
17012
|
+
) }) : /* @__PURE__ */ i.jsx("td", { ...j.getCellProps(), children: j.render("Cell") });
|
|
17013
|
+
}) }))) })
|
|
17014
|
+
] });
|
|
17036
17015
|
};
|
|
17037
17016
|
const ya = ({
|
|
17038
17017
|
totalCount: t = 50,
|
|
@@ -17071,43 +17050,31 @@ const ya = ({
|
|
|
17071
17050
|
]
|
|
17072
17051
|
}
|
|
17073
17052
|
);
|
|
17074
|
-
const un = () => /* @__PURE__ */ i.jsxs(
|
|
17075
|
-
"div",
|
|
17076
|
-
|
|
17077
|
-
|
|
17078
|
-
|
|
17079
|
-
|
|
17080
|
-
|
|
17081
|
-
|
|
17082
|
-
|
|
17083
|
-
|
|
17084
|
-
|
|
17085
|
-
|
|
17086
|
-
|
|
17087
|
-
|
|
17088
|
-
|
|
17089
|
-
|
|
17090
|
-
|
|
17091
|
-
|
|
17092
|
-
|
|
17093
|
-
)
|
|
17094
|
-
|
|
17095
|
-
|
|
17096
|
-
|
|
17097
|
-
|
|
17098
|
-
|
|
17099
|
-
upperCap: 25,
|
|
17100
|
-
pageButtons: [1, 2, 3],
|
|
17101
|
-
onPrevClick: () => {
|
|
17102
|
-
},
|
|
17103
|
-
onNextClick: () => {
|
|
17104
|
-
},
|
|
17105
|
-
onPageNumberClick: (t) => console.log(t)
|
|
17106
|
-
}
|
|
17107
|
-
)
|
|
17108
|
-
]
|
|
17109
|
-
}
|
|
17110
|
-
);
|
|
17053
|
+
const un = () => /* @__PURE__ */ i.jsxs("div", { className: "searchPersonTableContainer", children: [
|
|
17054
|
+
/* @__PURE__ */ i.jsx("div", { className: "searchPersonTableContainer-Table", children: /* @__PURE__ */ i.jsx(
|
|
17055
|
+
Fa,
|
|
17056
|
+
{
|
|
17057
|
+
onCheckClick: (t) => console.log("hello g wassup:::::::::::id ", t),
|
|
17058
|
+
onCompanyClick: (t) => console.log("hello g wassup:::::::::::id ", t),
|
|
17059
|
+
onNameClick: (t) => console.log("hello g wassup:::::::::::id ", t),
|
|
17060
|
+
personsData: Ut
|
|
17061
|
+
}
|
|
17062
|
+
) }),
|
|
17063
|
+
/* @__PURE__ */ i.jsx(
|
|
17064
|
+
ya,
|
|
17065
|
+
{
|
|
17066
|
+
totalCount: 50,
|
|
17067
|
+
lowerCap: 1,
|
|
17068
|
+
upperCap: 25,
|
|
17069
|
+
pageButtons: [1, 2, 3],
|
|
17070
|
+
onPrevClick: () => {
|
|
17071
|
+
},
|
|
17072
|
+
onNextClick: () => {
|
|
17073
|
+
},
|
|
17074
|
+
onPageNumberClick: (t) => console.log(t)
|
|
17075
|
+
}
|
|
17076
|
+
)
|
|
17077
|
+
] });
|
|
17111
17078
|
const hn = ({
|
|
17112
17079
|
activeSearchTab: t = "People",
|
|
17113
17080
|
onClick: a
|