@hybr1d-tech/charizard 0.6.73 → 0.6.74
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,6 +1,7 @@
|
|
|
1
1
|
interface TableUserCellProps {
|
|
2
2
|
user: any;
|
|
3
3
|
onClick: any;
|
|
4
|
+
showCopy?: boolean;
|
|
4
5
|
}
|
|
5
|
-
export declare function TableUserCell({ user, onClick }: TableUserCellProps): JSX.Element | null;
|
|
6
|
+
export declare function TableUserCell({ user, onClick, showCopy }: TableUserCellProps): JSX.Element | null;
|
|
6
7
|
export {};
|
package/dist/hybr1d-ui.js
CHANGED
|
@@ -1044,7 +1044,7 @@ function Yi({ filter: e, tableFilter: t, selectedFilters: a }) {
|
|
|
1044
1044
|
r.open && a !== 0 && /* @__PURE__ */ n.jsx("div", { ...r.getPositionerProps(), children: /* @__PURE__ */ n.jsx("div", { ...r.getContentProps(), className: me.filterTooltip, children: l.map((i) => /* @__PURE__ */ n.jsx("div", { className: me.filterValue, children: i.name }, i.value)) }) })
|
|
1045
1045
|
] });
|
|
1046
1046
|
}
|
|
1047
|
-
const Ji = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.53%203.47a.75.75%200%200%200-1.06%200l-4%204a.75.75%200%200%200%200%201.06l4%204a.75.75%200%201%200%201.06-1.06L8.81%208.75H11c.88%200%202.217.27%203.312%201.059%201.057.76%201.938%202.035%201.938%204.191%200%202.156-.881%203.43-1.938%204.191-1.095.789-2.432%201.059-3.312%201.059a.75.75%200%200%200%200%201.5c1.12%200%202.783-.33%204.188-1.341%201.443-1.04%202.562-2.765%202.562-5.409%200-2.644-1.119-4.37-2.562-5.409C13.783%207.58%2012.12%207.25%2011%207.25H8.81l2.72-2.72a.75.75%200%200%200%200-1.06Z'%20fill='currentColor'/%3e%3c/svg%3e", Ua = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11%204.75a6.25%206.25%200%201%200%200%2012.5%206.25%206.25%200%200%200%200-12.5M3.25%2011a7.75%207.75%200%201%201%2013.735%204.924l3.545%203.546a.75.75%200%201%201-1.06%201.06l-3.546-3.545A7.75%207.75%200%200%201%203.25%2011'%20fill='%23070F2C'/%3e%3c/svg%3e", at = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.47%206.47a.75.75%200%200%201%201.06%200L12%2010.94l4.47-4.47a.75.75%200%201%201%201.06%201.06L13.06%2012l4.47%204.47a.75.75%200%201%201-1.06%201.06L12%2013.06l-4.47%204.47a.75.75%200%200%201-1.06-1.06L10.94%2012%206.47%207.53a.75.75%200%200%201%200-1.06'%20fill='%23070F2C'/%3e%3c/svg%3e", Ui = "
|
|
1047
|
+
const Ji = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.53%203.47a.75.75%200%200%200-1.06%200l-4%204a.75.75%200%200%200%200%201.06l4%204a.75.75%200%201%200%201.06-1.06L8.81%208.75H11c.88%200%202.217.27%203.312%201.059%201.057.76%201.938%202.035%201.938%204.191%200%202.156-.881%203.43-1.938%204.191-1.095.789-2.432%201.059-3.312%201.059a.75.75%200%200%200%200%201.5c1.12%200%202.783-.33%204.188-1.341%201.443-1.04%202.562-2.765%202.562-5.409%200-2.644-1.119-4.37-2.562-5.409C13.783%207.58%2012.12%207.25%2011%207.25H8.81l2.72-2.72a.75.75%200%200%200%200-1.06Z'%20fill='currentColor'/%3e%3c/svg%3e", Ua = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11%204.75a6.25%206.25%200%201%200%200%2012.5%206.25%206.25%200%200%200%200-12.5M3.25%2011a7.75%207.75%200%201%201%2013.735%204.924l3.545%203.546a.75.75%200%201%201-1.06%201.06l-3.546-3.545A7.75%207.75%200%200%201%203.25%2011'%20fill='%23070F2C'/%3e%3c/svg%3e", at = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M6.47%206.47a.75.75%200%200%201%201.06%200L12%2010.94l4.47-4.47a.75.75%200%201%201%201.06%201.06L13.06%2012l4.47%204.47a.75.75%200%201%201-1.06%201.06L12%2013.06l-4.47%204.47a.75.75%200%200%201-1.06-1.06L10.94%2012%206.47%207.53a.75.75%200%200%201%200-1.06'%20fill='%23070F2C'/%3e%3c/svg%3e", Ui = "_box_1cmss_1", Qi = "_search_1cmss_5", qi = "_searchDisabled_1cmss_21", Ki = "_searchIcon_1cmss_38", el = "_clearIcon_1cmss_39", Vt = {
|
|
1048
1048
|
box: Ui,
|
|
1049
1049
|
search: Qi,
|
|
1050
1050
|
searchDisabled: qi,
|
|
@@ -10292,7 +10292,7 @@ function Nb({ paginationConfig: e }) {
|
|
|
10292
10292
|
l.setPage(e.page + 1);
|
|
10293
10293
|
}, []), g.useEffect(() => {
|
|
10294
10294
|
l.setCount((o == null ? void 0 : o.total_items) || 0);
|
|
10295
|
-
}, [o == null ? void 0 : o.total_items]);
|
|
10295
|
+
}, [o == null ? void 0 : o.total_items, a]);
|
|
10296
10296
|
const c = o != null && o.page_no ? o.page_no : 0, i = c * ((o == null ? void 0 : o.items_on_page) || 0) + 1, u = Math.min(
|
|
10297
10297
|
c * ((o == null ? void 0 : o.items_on_page) || 0) + a,
|
|
10298
10298
|
(o == null ? void 0 : o.total_items) || 0
|
|
@@ -10724,21 +10724,21 @@ const $0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
10724
10724
|
info: Yb,
|
|
10725
10725
|
emoji: Jb
|
|
10726
10726
|
};
|
|
10727
|
-
function C9({ user: e, onClick: t }) {
|
|
10727
|
+
function C9({ user: e, onClick: t, showCopy: a = !0 }) {
|
|
10728
10728
|
return /* @__PURE__ */ n.jsxs("div", { className: Pt.box, children: [
|
|
10729
10729
|
/* @__PURE__ */ n.jsx("img", { src: e.profile_img_url, alt: "User Profile", className: Pt.userImage }),
|
|
10730
10730
|
/* @__PURE__ */ n.jsxs("div", { className: Pt.userDetails, children: [
|
|
10731
10731
|
/* @__PURE__ */ n.jsx("div", { className: Pt.usernameContainer, onClick: t, children: /* @__PURE__ */ n.jsx(z0, { data: X5(e), customStyle: { maxWidth: "190px" } }) }),
|
|
10732
10732
|
/* @__PURE__ */ n.jsxs("div", { className: Pt.emailBox, children: [
|
|
10733
10733
|
/* @__PURE__ */ n.jsx("div", { className: I(Pt.userEmail, "zap-subcontent-medium"), children: e.work_email }),
|
|
10734
|
-
e.work_email && /* @__PURE__ */ n.jsx(
|
|
10734
|
+
e.work_email && a && /* @__PURE__ */ n.jsx(
|
|
10735
10735
|
R,
|
|
10736
10736
|
{
|
|
10737
10737
|
path: $0,
|
|
10738
10738
|
svgClassName: Pt.icon,
|
|
10739
10739
|
customSpanStyles: { cursor: "pointer", flexShrink: 0 },
|
|
10740
|
-
handleClick: (
|
|
10741
|
-
|
|
10740
|
+
handleClick: (o) => {
|
|
10741
|
+
o.stopPropagation(), D0(e.work_email);
|
|
10742
10742
|
}
|
|
10743
10743
|
}
|
|
10744
10744
|
)
|