jcicl 1.0.79 → 1.1.1
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/.chunks/chevron-down.js +11 -0
- package/.chunks/user.js +41 -0
- package/Button/Button.d.ts +2 -3
- package/Button/Button.js +20 -20
- package/ChevronOval/ChevronOval.d.ts +8 -0
- package/ChevronOval/ChevronOval.js +22 -0
- package/ChevronOval/index.d.ts +3 -0
- package/ChevronOval/index.js +5 -0
- package/ClientMatchCard/ClientMatchCard.d.ts +21 -0
- package/ClientMatchCard/ClientMatchCard.js +121 -0
- package/ClientMatchCard/index.d.ts +3 -0
- package/ClientMatchCard/index.js +5 -0
- package/ContactCard/ContactCard.js +18 -52
- package/DefaultTemplate/DefaultTemplate.js +81 -72
- package/DetailPageComponents/DetailPageComponents.d.ts +21 -2
- package/DetailPageComponents/DetailPageComponents.js +80 -44
- package/ExpandableSection/ExpandableSection.d.ts +19 -0
- package/ExpandableSection/ExpandableSection.js +23 -0
- package/ExpandableSection/index.d.ts +3 -0
- package/ExpandableSection/index.js +5 -0
- package/FormFields/FormFields.js +19 -13
- package/Pill/Pill.d.ts +13 -0
- package/Pill/Pill.js +36 -38
- package/Table/Table.js +81 -87
- package/assets/style.css +1 -1
- package/assets/tailwind.css +1 -1
- package/camelToKebab.d.ts +12 -0
- package/camelToKebab.js +4 -0
- package/format.d.ts +48 -0
- package/format.js +31 -0
- package/index.d.ts +17 -0
- package/index.js +103 -64
- package/package.json +1 -1
- package/theme.d.ts +0 -2
- package/theme.js +0 -2
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { c as o } from "./createLucideIcon.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.525.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const n = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], e = o("chevron-down", n);
|
|
9
|
+
export {
|
|
10
|
+
e as C
|
|
11
|
+
};
|
package/.chunks/user.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { c as a } from "./createLucideIcon.js";
|
|
2
|
+
/**
|
|
3
|
+
* @license lucide-react v0.525.0 - ISC
|
|
4
|
+
*
|
|
5
|
+
* This source code is licensed under the ISC license.
|
|
6
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
7
|
+
*/
|
|
8
|
+
const e = [
|
|
9
|
+
["path", { d: "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7", key: "132q7q" }],
|
|
10
|
+
["rect", { x: "2", y: "4", width: "20", height: "16", rx: "2", key: "izxlao" }]
|
|
11
|
+
], n = a("mail", e);
|
|
12
|
+
/**
|
|
13
|
+
* @license lucide-react v0.525.0 - ISC
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the ISC license.
|
|
16
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/
|
|
18
|
+
const o = [
|
|
19
|
+
[
|
|
20
|
+
"path",
|
|
21
|
+
{
|
|
22
|
+
d: "M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",
|
|
23
|
+
key: "9njp5v"
|
|
24
|
+
}
|
|
25
|
+
]
|
|
26
|
+
], s = a("phone", o);
|
|
27
|
+
/**
|
|
28
|
+
* @license lucide-react v0.525.0 - ISC
|
|
29
|
+
*
|
|
30
|
+
* This source code is licensed under the ISC license.
|
|
31
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
32
|
+
*/
|
|
33
|
+
const c = [
|
|
34
|
+
["path", { d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2", key: "975kel" }],
|
|
35
|
+
["circle", { cx: "12", cy: "7", r: "4", key: "17ys0d" }]
|
|
36
|
+
], i = a("user", c);
|
|
37
|
+
export {
|
|
38
|
+
n as M,
|
|
39
|
+
s as P,
|
|
40
|
+
i as U
|
|
41
|
+
};
|
package/Button/Button.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
1
2
|
import { ButtonProps as MuiButtonProps } from '@mui/material/Button/Button';
|
|
2
3
|
export interface ButtonProps extends Omit<MuiButtonProps, 'variant' | 'size' | 'color'> {
|
|
3
|
-
variant?: 1 | 2 | 'unstyled' | 'copy' | 'icon' | '
|
|
4
|
+
variant?: 1 | 2 | 'unstyled' | 'copy' | 'icon' | 'filter' | 'custom' | 'pill' | 'form';
|
|
4
5
|
size?: number;
|
|
5
6
|
color?: string;
|
|
6
7
|
highlightColor?: string;
|
|
@@ -11,8 +12,6 @@ export interface ButtonProps extends Omit<MuiButtonProps, 'variant' | 'size' | '
|
|
|
11
12
|
customShadow1?: string;
|
|
12
13
|
customShadow2?: string;
|
|
13
14
|
textToCopy?: string;
|
|
14
|
-
/** Width for bibi variants (e.g. "200px"). Defaults to "114px". */
|
|
15
|
-
width?: string;
|
|
16
15
|
}
|
|
17
16
|
export declare const Button: React.FC<ButtonProps & {
|
|
18
17
|
children: React.ReactNode;
|
package/Button/Button.js
CHANGED
|
@@ -18,7 +18,7 @@ const C = [
|
|
|
18
18
|
"customTextColor",
|
|
19
19
|
"customShadow1",
|
|
20
20
|
"customShadow2"
|
|
21
|
-
],
|
|
21
|
+
], l = x(k, { shouldForwardProp: (t) => !C.includes(t) })`
|
|
22
22
|
text-transform: none;
|
|
23
23
|
&:disabled {
|
|
24
24
|
opacity: 0.5;
|
|
@@ -28,8 +28,10 @@ const C = [
|
|
|
28
28
|
align-items: center;
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
span {
|
|
31
|
+
&.MuiButton-root > span {
|
|
32
|
+
display: inline-flex;
|
|
32
33
|
align-items: center !important;
|
|
34
|
+
gap: 0.5rem;
|
|
33
35
|
}
|
|
34
36
|
`, F = "!bg-[#009200] !h-10 !border-2 !border-transparent !text-white transition-all duration-[313ms] ease-in !rounded-[32px] !font-normal !py-3 !px-8 !text-base shadow-[0px_0px_2px_1px_rgba(100,100,100,0.63)] hover:!bg-[#005c00] hover:shadow-[0px_0px_2px_1px_rgba(0,0,0,0.63)] focus-visible:!bg-[#005c00] focus-visible:shadow-[0px_0px_2px_1px_rgba(0,0,0,0.63)] disabled:!bg-[#005c00]", h = "!bg-[#fab62d] !h-10 !border-2 !border-transparent !text-[#131313] transition-all duration-[313ms] ease-in !rounded-[32px] !font-normal !py-3 !px-8 !text-base shadow-[0px_0px_2px_1px_rgba(100,100,100,0.63)] hover:!bg-[#e0a022] focus-visible:!bg-[#e0a022] disabled:!bg-[#e0a022]", I = "!h-10 !border-2 !border-transparent transition-all duration-[313ms] ease-in !rounded-[32px] !font-normal !py-3 !px-8 !text-base !bg-[var(--btn-bg)] hover:!bg-[var(--btn-hover)] focus-visible:!bg-[var(--btn-hover)] disabled:!bg-[var(--btn-hover)] !text-[var(--btn-text)] !shadow-[var(--btn-shadow)] hover:!shadow-[var(--btn-shadow-hover)] focus-visible:!shadow-[var(--btn-shadow-hover)]", z = x(p, {
|
|
35
37
|
shouldForwardProp: (t) => typeof t == "string" && _(t)
|
|
@@ -95,21 +97,19 @@ const C = [
|
|
|
95
97
|
}
|
|
96
98
|
`
|
|
97
99
|
})
|
|
98
|
-
),
|
|
100
|
+
), X = ({
|
|
99
101
|
variant: t = 1,
|
|
100
102
|
size: o = 50,
|
|
101
103
|
color: s,
|
|
102
104
|
highlightColor: i,
|
|
103
105
|
hoverColor: d,
|
|
104
106
|
backgroundColor: m,
|
|
105
|
-
textColor:
|
|
107
|
+
textColor: c,
|
|
106
108
|
customShadow1: w,
|
|
107
|
-
customShadow2:
|
|
109
|
+
customShadow2: y,
|
|
108
110
|
children: r,
|
|
109
|
-
textToCopy:
|
|
111
|
+
textToCopy: v,
|
|
110
112
|
active: B,
|
|
111
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars -- public API prop reserved for bibi variants; destructured to keep it out of muiProps spread
|
|
112
|
-
width: H,
|
|
113
113
|
...n
|
|
114
114
|
}) => {
|
|
115
115
|
const u = j();
|
|
@@ -119,15 +119,15 @@ const C = [
|
|
|
119
119
|
style: {
|
|
120
120
|
"--btn-bg": m || a.colors.green,
|
|
121
121
|
"--btn-hover": d || a.colors.darkGreen,
|
|
122
|
-
"--btn-text":
|
|
122
|
+
"--btn-text": c || a.colors.white,
|
|
123
123
|
"--btn-shadow": w || a.boxShadows.gray63,
|
|
124
|
-
"--btn-shadow-hover":
|
|
124
|
+
"--btn-shadow-hover": y || a.boxShadows.black63,
|
|
125
125
|
display: "contents"
|
|
126
126
|
},
|
|
127
|
-
children: /* @__PURE__ */ e(
|
|
127
|
+
children: /* @__PURE__ */ e(l, { className: b("jcCustomButton", I), ...n, children: r })
|
|
128
128
|
}
|
|
129
|
-
) : t === "unstyled" ? /* @__PURE__ */ e(p, { className: "block", ...n, children: r }) : t === "copy" ? /* @__PURE__ */ e(G, { textToCopy:
|
|
130
|
-
|
|
129
|
+
) : t === "unstyled" ? /* @__PURE__ */ e(p, { className: "block", ...n, children: r }) : t === "copy" ? /* @__PURE__ */ e(G, { textToCopy: v, muiProps: n, children: r }) : t === 2 ? /* @__PURE__ */ e(l, { className: h, ...n, children: /* @__PURE__ */ e("span", { children: r }) }) : t === "icon" ? (s = s || a.colors.green, i = i || a.colors.dandelion, d = d || a.colors.green, /* @__PURE__ */ e(z, { className: "jcIconButton", ...{ size: o, color: s, highlightColor: i, hoverColor: d }, ...n, children: r })) : t === "filter" ? /* @__PURE__ */ e(
|
|
130
|
+
l,
|
|
131
131
|
{
|
|
132
132
|
className: b(
|
|
133
133
|
"jcFilterButton",
|
|
@@ -137,22 +137,22 @@ const C = [
|
|
|
137
137
|
...n,
|
|
138
138
|
children: r
|
|
139
139
|
}
|
|
140
|
-
) : t === "form" ? /* @__PURE__ */ e(
|
|
140
|
+
) : t === "form" ? /* @__PURE__ */ e(l, { className: b("jcFormButton", h, "!w-[447px] !self-center"), ...n, children: /* @__PURE__ */ e("span", { children: r }) }) : t === "pill" ? /* @__PURE__ */ e(
|
|
141
141
|
A,
|
|
142
142
|
{
|
|
143
143
|
backgroundColor: m || u.themeIconBackgroundB,
|
|
144
|
-
borderColor:
|
|
144
|
+
borderColor: c || u.themeIconBackgroundA,
|
|
145
145
|
...n,
|
|
146
146
|
children: /* @__PURE__ */ e("span", { children: r })
|
|
147
147
|
}
|
|
148
|
-
) : /* @__PURE__ */ e(
|
|
148
|
+
) : /* @__PURE__ */ e(l, { className: F, ...n, children: /* @__PURE__ */ e("span", { children: r }) });
|
|
149
149
|
}, G = ({ textToCopy: t, muiProps: o, children: s }) => {
|
|
150
150
|
const [i, d] = $(!1);
|
|
151
151
|
return /* @__PURE__ */ f("div", { className: "flex", onClick: async () => {
|
|
152
152
|
try {
|
|
153
153
|
await navigator.clipboard.writeText(t || String(s)), d(!0), setTimeout(() => d(!1), 1100);
|
|
154
|
-
} catch (
|
|
155
|
-
S.error("Failed to copy text: ",
|
|
154
|
+
} catch (c) {
|
|
155
|
+
S.error("Failed to copy text: ", c);
|
|
156
156
|
}
|
|
157
157
|
}, children: [
|
|
158
158
|
/* @__PURE__ */ e(N, { title: "Copy to clipboard", children: /* @__PURE__ */ e(
|
|
@@ -170,6 +170,6 @@ const C = [
|
|
|
170
170
|
] });
|
|
171
171
|
};
|
|
172
172
|
export {
|
|
173
|
-
|
|
174
|
-
|
|
173
|
+
X as Button,
|
|
174
|
+
X as default
|
|
175
175
|
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ButtonHTMLAttributes } from 'react';
|
|
2
|
+
export interface ChevronOvalProps extends Omit<ButtonHTMLAttributes<HTMLButtonElement>, 'color'> {
|
|
3
|
+
$bg: string;
|
|
4
|
+
$color: string;
|
|
5
|
+
$bgHover: string;
|
|
6
|
+
}
|
|
7
|
+
export declare const ChevronOval: React.FC<ChevronOvalProps>;
|
|
8
|
+
export default ChevronOval;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { jsx as v } from "react/jsx-runtime";
|
|
2
|
+
import { cn as i } from "../cn.js";
|
|
3
|
+
const a = "inline-flex items-center justify-center h-[3.25rem] min-w-[4.75rem] px-5 border-0 rounded-full cursor-pointer outline-none transition-all duration-150 ease-out bg-[var(--chevron-bg)] text-[var(--chevron-color)] hover:bg-[var(--chevron-bg-hover)] hover:scale-[1.04] active:scale-[0.96] focus-visible:outline-2 focus-visible:outline-[var(--chevron-color)] focus-visible:outline-offset-2", b = ({
|
|
4
|
+
$bg: e,
|
|
5
|
+
$color: o,
|
|
6
|
+
$bgHover: r,
|
|
7
|
+
className: n,
|
|
8
|
+
style: t,
|
|
9
|
+
type: s = "button",
|
|
10
|
+
...c
|
|
11
|
+
}) => {
|
|
12
|
+
const l = {
|
|
13
|
+
"--chevron-bg": e,
|
|
14
|
+
"--chevron-color": o,
|
|
15
|
+
"--chevron-bg-hover": r
|
|
16
|
+
};
|
|
17
|
+
return /* @__PURE__ */ v("button", { type: s, className: i(a, n), style: { ...t, ...l }, ...c });
|
|
18
|
+
};
|
|
19
|
+
export {
|
|
20
|
+
b as ChevronOval,
|
|
21
|
+
b as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export type ClientMatchField = 'firstName' | 'lastName' | 'email' | 'phone' | 'ssn';
|
|
3
|
+
export interface ClientMatchCardClient {
|
|
4
|
+
id: number;
|
|
5
|
+
firstName: string;
|
|
6
|
+
lastName: string;
|
|
7
|
+
email: string;
|
|
8
|
+
phone: string | null;
|
|
9
|
+
/** Accepts either string or number to match both legacy int SSN columns and the newer string-based shape in SocialServices. */
|
|
10
|
+
ssn?: string | number | null;
|
|
11
|
+
}
|
|
12
|
+
export interface ClientMatchCardProps {
|
|
13
|
+
client: ClientMatchCardClient;
|
|
14
|
+
matchedFields: ClientMatchField[];
|
|
15
|
+
onClick: () => void;
|
|
16
|
+
className?: string;
|
|
17
|
+
/** Optional content shown when the card is expanded. Pass JSX with extra client fields. */
|
|
18
|
+
expandedContent?: React.ReactNode;
|
|
19
|
+
}
|
|
20
|
+
export declare const ClientMatchCard: React.FC<ClientMatchCardProps>;
|
|
21
|
+
export default ClientMatchCard;
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { jsxs as t, jsx as a } from "react/jsx-runtime";
|
|
2
|
+
import { useState as f } from "react";
|
|
3
|
+
import { Pill as g } from "../Pill/Pill.js";
|
|
4
|
+
import { ChevronOval as N } from "../ChevronOval/ChevronOval.js";
|
|
5
|
+
import { DetailItemContainer as u } from "../DetailPageComponents/DetailPageComponents.js";
|
|
6
|
+
import { ExpandableSection as k } from "../ExpandableSection/ExpandableSection.js";
|
|
7
|
+
import { formatPhone as v, formatSsnLast4 as b } from "../format.js";
|
|
8
|
+
import { useThemeColors as j } from "../ThemeContext.js";
|
|
9
|
+
import { C as w } from "../.chunks/chevron-down.js";
|
|
10
|
+
import { U as E, M as C, P as S } from "../.chunks/user.js";
|
|
11
|
+
import { c as D } from "../.chunks/createLucideIcon.js";
|
|
12
|
+
/**
|
|
13
|
+
* @license lucide-react v0.525.0 - ISC
|
|
14
|
+
*
|
|
15
|
+
* This source code is licensed under the ISC license.
|
|
16
|
+
* See the LICENSE file in the root directory of this source tree.
|
|
17
|
+
*/
|
|
18
|
+
const P = [
|
|
19
|
+
["line", { x1: "4", x2: "20", y1: "9", y2: "9", key: "4lhtct" }],
|
|
20
|
+
["line", { x1: "4", x2: "20", y1: "15", y2: "15", key: "vyu0kd" }],
|
|
21
|
+
["line", { x1: "10", x2: "8", y1: "3", y2: "21", key: "1ggp8o" }],
|
|
22
|
+
["line", { x1: "16", x2: "14", y1: "3", y2: "21", key: "weycgp" }]
|
|
23
|
+
], I = D("hash", P), l = {
|
|
24
|
+
firstName: "First name",
|
|
25
|
+
lastName: "Last name",
|
|
26
|
+
email: "Email",
|
|
27
|
+
phone: "Phone",
|
|
28
|
+
ssn: "SSN"
|
|
29
|
+
}, U = ({
|
|
30
|
+
client: s,
|
|
31
|
+
matchedFields: o,
|
|
32
|
+
onClick: c,
|
|
33
|
+
className: h = "",
|
|
34
|
+
expandedContent: i
|
|
35
|
+
}) => {
|
|
36
|
+
const [r, d] = f(!1), n = j(), p = new Set(o), x = (e) => {
|
|
37
|
+
(e.key === "Enter" || e.key === " ") && (e.preventDefault(), c());
|
|
38
|
+
}, y = (e) => {
|
|
39
|
+
e.stopPropagation(), d((m) => !m);
|
|
40
|
+
};
|
|
41
|
+
return /* @__PURE__ */ t(
|
|
42
|
+
u,
|
|
43
|
+
{
|
|
44
|
+
role: "button",
|
|
45
|
+
tabIndex: 0,
|
|
46
|
+
onClick: c,
|
|
47
|
+
onKeyDown: x,
|
|
48
|
+
className: `cursor-pointer mb-0 ${h}`,
|
|
49
|
+
hoverShadow: `3px 3px 5px 3px ${n.themeColor}`,
|
|
50
|
+
children: [
|
|
51
|
+
/* @__PURE__ */ t("div", { className: "flex items-center justify-between gap-3", children: [
|
|
52
|
+
/* @__PURE__ */ t("h3", { className: "m-0 text-[2.6rem] font-semibold leading-[1.2] text-jc-midnight", children: [
|
|
53
|
+
s.firstName,
|
|
54
|
+
" ",
|
|
55
|
+
s.lastName
|
|
56
|
+
] }),
|
|
57
|
+
/* @__PURE__ */ t("div", { className: "flex items-center gap-3", children: [
|
|
58
|
+
/* @__PURE__ */ t("span", { className: "text-[1.05rem] font-medium text-jc-gray-3", children: [
|
|
59
|
+
o.length,
|
|
60
|
+
" ",
|
|
61
|
+
o.length === 1 ? "match" : "matches"
|
|
62
|
+
] }),
|
|
63
|
+
i && /* @__PURE__ */ a(
|
|
64
|
+
N,
|
|
65
|
+
{
|
|
66
|
+
type: "button",
|
|
67
|
+
onClick: y,
|
|
68
|
+
onKeyDown: (e) => {
|
|
69
|
+
(e.key === "Enter" || e.key === " ") && e.stopPropagation();
|
|
70
|
+
},
|
|
71
|
+
"aria-expanded": r,
|
|
72
|
+
"aria-label": r ? "Collapse client details" : "Expand client details",
|
|
73
|
+
$bg: n.themeIconBackgroundB,
|
|
74
|
+
$color: n.themeIconColorB,
|
|
75
|
+
$bgHover: n.themeMediumA,
|
|
76
|
+
children: /* @__PURE__ */ a(
|
|
77
|
+
w,
|
|
78
|
+
{
|
|
79
|
+
size: 26,
|
|
80
|
+
className: `transition-transform duration-200 ease-out ${r ? "rotate-180" : "rotate-0"}`
|
|
81
|
+
}
|
|
82
|
+
)
|
|
83
|
+
}
|
|
84
|
+
)
|
|
85
|
+
] })
|
|
86
|
+
] }),
|
|
87
|
+
/* @__PURE__ */ a("div", { className: "flex flex-wrap gap-1.5", children: Object.keys(l).map((e) => {
|
|
88
|
+
const m = p.has(e);
|
|
89
|
+
return /* @__PURE__ */ a(g, { type: m ? "primary" : "secondary", children: l[e] }, e);
|
|
90
|
+
}) }),
|
|
91
|
+
/* @__PURE__ */ t("div", { className: "mt-1 grid grid-cols-1 gap-2 text-[1.2rem] text-jc-charcoal sm:grid-cols-2", children: [
|
|
92
|
+
/* @__PURE__ */ t("div", { className: "flex items-center gap-2", children: [
|
|
93
|
+
/* @__PURE__ */ a(E, { size: 22, className: "shrink-0 text-jc-gray-3" }),
|
|
94
|
+
/* @__PURE__ */ t("span", { className: "truncate", children: [
|
|
95
|
+
s.firstName,
|
|
96
|
+
" ",
|
|
97
|
+
s.lastName
|
|
98
|
+
] })
|
|
99
|
+
] }),
|
|
100
|
+
/* @__PURE__ */ t("div", { className: "flex items-center gap-2", children: [
|
|
101
|
+
/* @__PURE__ */ a(C, { size: 22, className: "shrink-0 text-jc-gray-3" }),
|
|
102
|
+
/* @__PURE__ */ a("span", { className: "truncate", children: s.email })
|
|
103
|
+
] }),
|
|
104
|
+
/* @__PURE__ */ t("div", { className: "flex items-center gap-2", children: [
|
|
105
|
+
/* @__PURE__ */ a(S, { size: 22, className: "shrink-0 text-jc-gray-3" }),
|
|
106
|
+
/* @__PURE__ */ a("span", { className: "truncate", children: v(s.phone) ?? "—" })
|
|
107
|
+
] }),
|
|
108
|
+
s.ssn != null && /* @__PURE__ */ t("div", { className: "flex items-center gap-2", children: [
|
|
109
|
+
/* @__PURE__ */ a(I, { size: 22, className: "shrink-0 text-jc-gray-3" }),
|
|
110
|
+
/* @__PURE__ */ a("span", { className: "truncate", children: b(s.ssn) })
|
|
111
|
+
] })
|
|
112
|
+
] }),
|
|
113
|
+
i && /* @__PURE__ */ a(k, { expanded: r, children: i })
|
|
114
|
+
]
|
|
115
|
+
}
|
|
116
|
+
);
|
|
117
|
+
};
|
|
118
|
+
export {
|
|
119
|
+
U as ClientMatchCard,
|
|
120
|
+
U as default
|
|
121
|
+
};
|
|
@@ -1,43 +1,9 @@
|
|
|
1
|
-
import { jsxs as t, jsx as
|
|
2
|
-
import { n as
|
|
1
|
+
import { jsxs as t, jsx as i } from "react/jsx-runtime";
|
|
2
|
+
import { n as r } from "../.chunks/emotion-styled.browser.esm.js";
|
|
3
3
|
import { c as n } from "../.chunks/emotion-react.browser.esm.js";
|
|
4
4
|
import { DetailItemContainer as l } from "../DetailPageComponents/DetailPageComponents.js";
|
|
5
|
-
import { c as
|
|
6
|
-
|
|
7
|
-
* @license lucide-react v0.525.0 - ISC
|
|
8
|
-
*
|
|
9
|
-
* This source code is licensed under the ISC license.
|
|
10
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
11
|
-
*/
|
|
12
|
-
const d = [
|
|
13
|
-
["path", { d: "m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7", key: "132q7q" }],
|
|
14
|
-
["rect", { x: "2", y: "4", width: "20", height: "16", rx: "2", key: "izxlao" }]
|
|
15
|
-
], h = o("mail", d);
|
|
16
|
-
/**
|
|
17
|
-
* @license lucide-react v0.525.0 - ISC
|
|
18
|
-
*
|
|
19
|
-
* This source code is licensed under the ISC license.
|
|
20
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
21
|
-
*/
|
|
22
|
-
const m = [
|
|
23
|
-
[
|
|
24
|
-
"path",
|
|
25
|
-
{
|
|
26
|
-
d: "M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",
|
|
27
|
-
key: "9njp5v"
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
], x = o("phone", m);
|
|
31
|
-
/**
|
|
32
|
-
* @license lucide-react v0.525.0 - ISC
|
|
33
|
-
*
|
|
34
|
-
* This source code is licensed under the ISC license.
|
|
35
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
36
|
-
*/
|
|
37
|
-
const g = [
|
|
38
|
-
["path", { d: "M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2", key: "975kel" }],
|
|
39
|
-
["circle", { cx: "12", cy: "7", r: "4", key: "17ys0d" }]
|
|
40
|
-
], f = o("user", g), y = i("h3")(() => ({
|
|
5
|
+
import { U as m, M as c, P as d } from "../.chunks/user.js";
|
|
6
|
+
const x = r("h3")(() => ({
|
|
41
7
|
...n`
|
|
42
8
|
font-size: 21px;
|
|
43
9
|
font-weight: 600;
|
|
@@ -48,11 +14,11 @@ const g = [
|
|
|
48
14
|
margin-right: 9px;
|
|
49
15
|
}
|
|
50
16
|
`
|
|
51
|
-
})),
|
|
17
|
+
})), g = r("p")(() => ({
|
|
52
18
|
...n`
|
|
53
19
|
margin: 0;
|
|
54
20
|
`
|
|
55
|
-
})),
|
|
21
|
+
})), h = r("div")(() => ({
|
|
56
22
|
...n`
|
|
57
23
|
display: flex;
|
|
58
24
|
gap: 13px;
|
|
@@ -70,28 +36,28 @@ const g = [
|
|
|
70
36
|
font-size: 14px;
|
|
71
37
|
}
|
|
72
38
|
`
|
|
73
|
-
})),
|
|
74
|
-
/* @__PURE__ */ t(
|
|
75
|
-
/* @__PURE__ */
|
|
39
|
+
})), j = ({ fullName: e, email: o, phoneNumber: a, title: p, description: s }) => /* @__PURE__ */ t(l, { children: [
|
|
40
|
+
/* @__PURE__ */ t(x, { children: [
|
|
41
|
+
/* @__PURE__ */ i(m, {}),
|
|
76
42
|
" ",
|
|
77
|
-
|
|
43
|
+
e,
|
|
78
44
|
" • ",
|
|
79
|
-
|
|
45
|
+
p
|
|
80
46
|
] }),
|
|
81
|
-
/* @__PURE__ */
|
|
82
|
-
/* @__PURE__ */ t(
|
|
47
|
+
/* @__PURE__ */ i(g, { children: s }),
|
|
48
|
+
/* @__PURE__ */ t(h, { children: [
|
|
83
49
|
/* @__PURE__ */ t("p", { children: [
|
|
84
|
-
/* @__PURE__ */
|
|
50
|
+
/* @__PURE__ */ i(c, {}),
|
|
85
51
|
" ",
|
|
86
|
-
|
|
52
|
+
o
|
|
87
53
|
] }),
|
|
88
54
|
/* @__PURE__ */ t("p", { children: [
|
|
89
|
-
/* @__PURE__ */
|
|
55
|
+
/* @__PURE__ */ i(d, {}),
|
|
90
56
|
" ",
|
|
91
|
-
|
|
57
|
+
a
|
|
92
58
|
] })
|
|
93
59
|
] })
|
|
94
60
|
] });
|
|
95
61
|
export {
|
|
96
|
-
|
|
62
|
+
j as default
|
|
97
63
|
};
|