prometeo-design-system 3.1.4 → 3.1.6
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/{DatePicker-CehTiXGa.js → DatePicker-6eb-0Ns5.js} +1339 -1237
- package/dist/DatePicker.es.js +1 -1
- package/dist/Icons/Reassignment.d.ts +6 -0
- package/dist/Icons/Reassignment.es.js +22 -0
- package/dist/Icons/ReassignmentFill.d.ts +6 -0
- package/dist/Icons/ReassignmentFill.es.js +52 -0
- package/dist/Icons/Send.d.ts +6 -0
- package/dist/Icons/Send.es.js +24 -0
- package/dist/Icons/components/Reassignment.d.ts +4 -0
- package/dist/Icons/components/ReassignmentFill.d.ts +4 -0
- package/dist/Icons/components/Send.d.ts +4 -0
- package/dist/Icons/index.d.ts +3 -0
- package/dist/Icons/types.d.ts +6 -0
- package/dist/Icons.es.js +56 -50
- package/dist/NotificationCard.d.ts +6 -0
- package/dist/NotificationCard.es.js +50 -0
- package/dist/PyrionNavigationDrawer.d.ts +6 -0
- package/dist/PyrionNavigationDrawer.es.js +962 -0
- package/dist/RecurrentDatePicker.es.js +2 -2
- package/dist/RecurrentDatePickerRRule.es.js +1 -1
- package/dist/Select.es.js +1059 -2
- package/dist/SelectSearch.es.js +67 -66
- package/dist/TicketCard.d.ts +6 -0
- package/dist/TicketCard.es.js +130 -0
- package/dist/badge-B1IK_-i5.js +87 -0
- package/dist/components/NotificationCard/index.d.ts +3 -0
- package/dist/components/PyrionNavigationDrawer/index.d.ts +3 -0
- package/dist/components/TicketCard/index.d.ts +3 -0
- package/dist/exports/NotificationCard.d.ts +2 -0
- package/dist/exports/PyrionNavigationDrawer.d.ts +2 -0
- package/dist/exports/TicketCard.d.ts +2 -0
- package/dist/exports/usePyrionNavigation.d.ts +1 -0
- package/dist/prometeo-design-system.es.js +287 -365
- package/dist/usePyrionNavigation.d.ts +4 -0
- package/dist/usePyrionNavigation.es.js +4 -0
- package/dist/utils-X4-h3cum.js +54 -0
- package/package.json +17 -1
- package/dist/Select-BdxmkrjB.js +0 -1111
package/dist/DatePicker.es.js
CHANGED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { j as C } from "../jsx-runtime-GkKLlHH4.js";
|
|
2
|
+
import { m as o } from "../iconUtils-D0lVAgGT.js";
|
|
3
|
+
const m = o(({ size: t = 24, className: s, ...r }) => /* @__PURE__ */ C.jsx(
|
|
4
|
+
"svg",
|
|
5
|
+
{
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
width: t,
|
|
8
|
+
height: t,
|
|
9
|
+
viewBox: "0 -960 960 960",
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
...r,
|
|
12
|
+
className: s,
|
|
13
|
+
children: /* @__PURE__ */ C.jsxs("g", { transform: "translate(480,-480) scale(48,48) translate(-9.1667,-6.6667)", children: [
|
|
14
|
+
/* @__PURE__ */ C.jsx("path", { d: "M6.66667 6.66667C5.75 6.66667 4.96528 6.34028 4.3125 5.6875C3.65972 5.03472 3.33333 4.25 3.33333 3.33333C3.33333 2.41667 3.65972 1.63194 4.3125 0.979167C4.96528 0.326389 5.75 0 6.66667 0C7.58333 0 8.36806 0.326389 9.02083 0.979167C9.67361 1.63194 10 2.41667 10 3.33333C10 4.25 9.67361 5.03472 9.02083 5.6875C8.36806 6.34028 7.58333 6.66667 6.66667 6.66667ZM0 13.3333V11C0 10.5278 0.121528 10.0937 0.364583 9.69792C0.607639 9.30208 0.930556 9 1.33333 8.79167C2.19444 8.36111 3.06944 8.03819 3.95833 7.82292C4.84722 7.60764 5.75 7.5 6.66667 7.5C7.58333 7.5 8.48611 7.60764 9.375 7.82292C10.2639 8.03819 11.1389 8.36111 12 8.79167C12.4028 9 12.7257 9.30208 12.9688 9.69792C13.2118 10.0937 13.3333 10.5278 13.3333 11V13.3333H0ZM1.66667 11.6667H11.6667V11C11.6667 10.8472 11.6285 10.7083 11.5521 10.5833C11.4757 10.4583 11.375 10.3611 11.25 10.2917C10.5 9.91667 9.74306 9.63542 8.97917 9.44792C8.21528 9.26042 7.44444 9.16667 6.66667 9.16667C5.88889 9.16667 5.11806 9.26042 4.35417 9.44792C3.59028 9.63542 2.83333 9.91667 2.08333 10.2917C1.95833 10.3611 1.85764 10.4583 1.78125 10.5833C1.70486 10.7083 1.66667 10.8472 1.66667 11V11.6667ZM6.66667 5C7.125 5 7.51736 4.83681 7.84375 4.51042C8.17014 4.18403 8.33333 3.79167 8.33333 3.33333C8.33333 2.875 8.17014 2.48264 7.84375 2.15625C7.51736 1.82986 7.125 1.66667 6.66667 1.66667C6.20833 1.66667 5.81597 1.82986 5.48958 2.15625C5.16319 2.48264 5 2.875 5 3.33333C5 3.79167 5.16319 4.18403 5.48958 4.51042C5.81597 4.83681 6.20833 5 6.66667 5Z" }),
|
|
15
|
+
/* @__PURE__ */ C.jsx("path", { d: "M11.9275 7.32343V6.39478H12.6715L12.6425 6.35568C12.3011 6.01681 12.0531 5.64535 11.8985 5.24131C11.744 4.83727 11.6667 4.42998 11.6667 4.01942C11.6667 3.19179 11.9307 2.46517 12.4589 1.83955C12.9871 1.21394 13.657 0.822937 14.4686 0.666534V1.93731C13.9984 2.04809 13.6167 2.30062 13.3237 2.69488C13.0306 3.08915 12.884 3.53066 12.884 4.01942C12.884 4.27357 12.934 4.52447 13.0338 4.77211C13.1336 5.01974 13.2866 5.25435 13.4927 5.47592L13.5121 5.49547V4.78188H14.4299V7.32343H11.9275ZM15.5314 7.3332V6.06243C16.0016 5.95164 16.3832 5.69912 16.6763 5.30485C16.9694 4.91059 17.1159 4.46908 17.1159 3.98032C17.1159 3.72616 17.066 3.47527 16.9662 3.22763C16.8663 2.97999 16.7134 2.74539 16.5072 2.52382L16.4879 2.50427V3.21785H15.57V0.67631H18.0725V1.60495H17.3285L17.3575 1.64405C17.6924 1.98944 17.9388 2.36253 18.0966 2.76331C18.2544 3.16409 18.3333 3.56976 18.3333 3.98032C18.3333 4.80795 18.0692 5.53457 17.5411 6.16018C17.0129 6.78579 16.343 7.1768 15.5314 7.3332Z" })
|
|
16
|
+
] })
|
|
17
|
+
}
|
|
18
|
+
));
|
|
19
|
+
export {
|
|
20
|
+
m as Reassignment,
|
|
21
|
+
m as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { j as s } from "../jsx-runtime-GkKLlHH4.js";
|
|
2
|
+
import { m as a } from "../iconUtils-D0lVAgGT.js";
|
|
3
|
+
const c = a(
|
|
4
|
+
({ size: t = 24, className: h, ...i }) => {
|
|
5
|
+
const e = "translate(480,-480) scale(52,52) translate(-8,-8)";
|
|
6
|
+
return /* @__PURE__ */ s.jsxs(
|
|
7
|
+
"svg",
|
|
8
|
+
{
|
|
9
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
10
|
+
width: t,
|
|
11
|
+
height: t,
|
|
12
|
+
viewBox: "0 -960 960 960",
|
|
13
|
+
fill: "currentColor",
|
|
14
|
+
...i,
|
|
15
|
+
className: h,
|
|
16
|
+
children: [
|
|
17
|
+
/* @__PURE__ */ s.jsx(
|
|
18
|
+
"mask",
|
|
19
|
+
{
|
|
20
|
+
id: "mask0_4461_21356",
|
|
21
|
+
style: { maskType: "alpha" },
|
|
22
|
+
maskUnits: "userSpaceOnUse",
|
|
23
|
+
x: "0",
|
|
24
|
+
y: "-960",
|
|
25
|
+
width: "960",
|
|
26
|
+
height: "960",
|
|
27
|
+
children: /* @__PURE__ */ s.jsx("g", { transform: e, children: /* @__PURE__ */ s.jsx("rect", { width: "16", height: "16", fill: "#fff" }) })
|
|
28
|
+
}
|
|
29
|
+
),
|
|
30
|
+
/* @__PURE__ */ s.jsx(
|
|
31
|
+
"mask",
|
|
32
|
+
{
|
|
33
|
+
id: "mask1_4461_21356",
|
|
34
|
+
style: { maskType: "alpha" },
|
|
35
|
+
maskUnits: "userSpaceOnUse",
|
|
36
|
+
x: "0",
|
|
37
|
+
y: "-960",
|
|
38
|
+
width: "960",
|
|
39
|
+
height: "960",
|
|
40
|
+
children: /* @__PURE__ */ s.jsx("g", { transform: e, children: /* @__PURE__ */ s.jsx("rect", { x: "10", y: "3", width: "5.33333", height: "5.33333", fill: "#fff" }) })
|
|
41
|
+
}
|
|
42
|
+
),
|
|
43
|
+
/* @__PURE__ */ s.jsx("g", { mask: "url(#mask0_4461_21356)", children: /* @__PURE__ */ s.jsx("g", { transform: e, children: /* @__PURE__ */ s.jsx("path", { d: "M6.3 8.4c-.7 0-1.5-.3-2-.8-.5-.5-.8-1.2-.8-2 0-.7.3-1.4.8-1.9.5-.6 1.3-.8 2-.8s1.5.2 2 .8c.5.5.8 1.2.8 1.9 0 .8-.3 1.5-.8 2S7 8.4 6.3 8.4ZM.7 14v-1.9c0-.4.1-.8.3-1.2.2-.3.4-.5.7-.7.7-.3 1.5-.6 2.2-.8.7-.1 1.6-.2 2.3-.2s1.6.1 2.3.2c.7.2 1.5.5 2.2.8.3.2.5.4.7.7.2.3.3.7.3 1.2v1.9H.7Zm10-5.3V8h.6V7.9c-.3-.2-.5-.5-.6-.9-.1-.3-.2-.6-.2-.9 0-.7.2-1.3.6-1.8.5-.5 1.1-.8 1.7-1V4.2c-.3.1-.6.3-.9.6-.2.3-.3.7-.3 1.2 0 .2 0 .4.1.6s.2.4.4.5V6.6h.7v2.1h-2.1Zm3 0v-1.1c.4-.1.7-.3.9-.6s.4-.7.4-1c0-.2-.1-.4-.2-.6 0-.2-.2-.4-.3-.6V5.3h-.8V3.2h2.1v.8h-.6.1c.2.3.4.6.5.9.2.3.2.6.2 1 0 .6-.2 1.3-.6 1.8-.4.5-1.1.8-1.7.9Z" }) }) })
|
|
44
|
+
]
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
);
|
|
49
|
+
export {
|
|
50
|
+
c as ReassignmentFill,
|
|
51
|
+
c as default
|
|
52
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { j as t } from "../jsx-runtime-GkKLlHH4.js";
|
|
2
|
+
import { m as n } from "../iconUtils-D0lVAgGT.js";
|
|
3
|
+
const l = n(({ size: r = 24, className: s, ...o }) => /* @__PURE__ */ t.jsx(
|
|
4
|
+
"svg",
|
|
5
|
+
{
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
...o,
|
|
8
|
+
viewBox: "0 -960 960 960",
|
|
9
|
+
width: r,
|
|
10
|
+
height: r,
|
|
11
|
+
fill: "currentColor",
|
|
12
|
+
className: s,
|
|
13
|
+
children: /* @__PURE__ */ t.jsx("g", { transform: "translate(480,-480) scale(40,40) translate(-9.5,-8)", children: /* @__PURE__ */ t.jsx(
|
|
14
|
+
"path",
|
|
15
|
+
{
|
|
16
|
+
d: "M0 16V0L19 8L0 16ZM2 13L13.85 8L2 3V6.5L8 8L2 9.5V13Z"
|
|
17
|
+
}
|
|
18
|
+
) })
|
|
19
|
+
}
|
|
20
|
+
));
|
|
21
|
+
export {
|
|
22
|
+
l as Send,
|
|
23
|
+
l as default
|
|
24
|
+
};
|
package/dist/Icons/index.d.ts
CHANGED
|
@@ -58,5 +58,8 @@ export { EditFill } from './components/EditFill';
|
|
|
58
58
|
export { TrashFill } from './components/TrashFill';
|
|
59
59
|
export { MessageSquareFill } from './components/MessageSquareFill';
|
|
60
60
|
export { UserAddFill } from './components/UserAddFill';
|
|
61
|
+
export { Reassignment } from './components/Reassignment';
|
|
62
|
+
export { ReassignmentFill } from './components/ReassignmentFill';
|
|
63
|
+
export { Send } from './components/Send';
|
|
61
64
|
export type { IconProps } from './iconUtils';
|
|
62
65
|
export type { IconComponent } from './types';
|
package/dist/Icons/types.d.ts
CHANGED
|
@@ -58,6 +58,9 @@ import { EditFill } from './components/EditFill';
|
|
|
58
58
|
import { TrashFill } from './components/TrashFill';
|
|
59
59
|
import { MessageSquareFill } from './components/MessageSquareFill';
|
|
60
60
|
import { UserAddFill } from './components/UserAddFill';
|
|
61
|
+
import { Reassignment } from './components/Reassignment';
|
|
62
|
+
import { default as ReassignmentFill } from './components/ReassignmentFill';
|
|
63
|
+
import { default as Send } from './components/Send';
|
|
61
64
|
export type IconsMap = {
|
|
62
65
|
Ticket: typeof Ticket;
|
|
63
66
|
Home: typeof Home;
|
|
@@ -119,6 +122,9 @@ export type IconsMap = {
|
|
|
119
122
|
TrashFill: typeof TrashFill;
|
|
120
123
|
MessageSquareFill: typeof MessageSquareFill;
|
|
121
124
|
UserAddFill: typeof UserAddFill;
|
|
125
|
+
Reassignment: typeof Reassignment;
|
|
126
|
+
ReassignmentFill: typeof ReassignmentFill;
|
|
127
|
+
Send: typeof Send;
|
|
122
128
|
};
|
|
123
129
|
export type IconName = keyof IconsMap;
|
|
124
130
|
export type IconComponent = IconsMap[IconName];
|
package/dist/Icons.es.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { Ticket as e } from "./Icons/Ticket.es.js";
|
|
2
2
|
import { Home as p } from "./Icons/Home.es.js";
|
|
3
|
-
import { Boards as
|
|
4
|
-
import { Notifications as
|
|
3
|
+
import { Boards as f } from "./Icons/Boards.es.js";
|
|
4
|
+
import { Notifications as i } from "./Icons/Notifications.es.js";
|
|
5
5
|
import { Help as a } from "./Icons/Help.es.js";
|
|
6
|
-
import { Settings as
|
|
7
|
-
import { CrevronLeft as
|
|
6
|
+
import { Settings as n } from "./Icons/Settings.es.js";
|
|
7
|
+
import { CrevronLeft as C } from "./Icons/CrevronLeft.es.js";
|
|
8
8
|
import { CrevronRight as F } from "./Icons/CrevronRight.es.js";
|
|
9
9
|
import { ArrowLeft as A } from "./Icons/ArrowLeft.es.js";
|
|
10
|
-
import { Shared as
|
|
10
|
+
import { Shared as k } from "./Icons/Shared.es.js";
|
|
11
11
|
import { ChevronDown as S } from "./Icons/ChevronDown.es.js";
|
|
12
12
|
import { Collapse as w } from "./Icons/Collapse.es.js";
|
|
13
13
|
import { Calendar as U } from "./Icons/Calendar.es.js";
|
|
14
14
|
import { Close as D } from "./Icons/Close.es.js";
|
|
15
15
|
import { UserPerson as T } from "./Icons/UserPerson.es.js";
|
|
16
|
-
import { Logout as
|
|
17
|
-
import { ArrowUpDown as
|
|
18
|
-
import { Filter as
|
|
19
|
-
import { Search as
|
|
20
|
-
import { Stars as
|
|
16
|
+
import { Logout as H } from "./Icons/Logout.es.js";
|
|
17
|
+
import { ArrowUpDown as V } from "./Icons/ArrowUpDown.es.js";
|
|
18
|
+
import { Filter as q } from "./Icons/Filter.es.js";
|
|
19
|
+
import { Search as I } from "./Icons/Search.es.js";
|
|
20
|
+
import { Stars as P } from "./Icons/Stars.es.js";
|
|
21
21
|
import { MoreVert as W } from "./Icons/MoreVert.es.js";
|
|
22
22
|
import { Add as z } from "./Icons/Add.es.js";
|
|
23
23
|
import { Edit as J } from "./Icons/Edit.es.js";
|
|
@@ -27,23 +27,23 @@ import { FaLock as _ } from "./Icons/FaLock.es.js";
|
|
|
27
27
|
import { AccountCircle as oo } from "./Icons/AccountCircle.es.js";
|
|
28
28
|
import { UserAdd as eo } from "./Icons/UserAdd.es.js";
|
|
29
29
|
import { AttachFile as po } from "./Icons/AttachFile.es.js";
|
|
30
|
-
import { HistoryActivity as
|
|
31
|
-
import { MessageSquare as
|
|
30
|
+
import { HistoryActivity as fo } from "./Icons/HistoryActivity.es.js";
|
|
31
|
+
import { MessageSquare as io } from "./Icons/MessageSquare.es.js";
|
|
32
32
|
import { CloseNavBarDesktop as ao } from "./Icons/CloseNavBarDesktop.es.js";
|
|
33
|
-
import { EyeVisibility as
|
|
34
|
-
import { EyeVisibilityOff as
|
|
33
|
+
import { EyeVisibility as no } from "./Icons/EyeVisibility.es.js";
|
|
34
|
+
import { EyeVisibilityOff as co } from "./Icons/EyeVisibilityOff.es.js";
|
|
35
35
|
import { Check as ho } from "./Icons/Check.es.js";
|
|
36
|
-
import { Info as
|
|
37
|
-
import { Error as
|
|
38
|
-
import { TicketFilled as
|
|
36
|
+
import { Info as go } from "./Icons/Info.es.js";
|
|
37
|
+
import { Error as yo } from "./Icons/Error.es.js";
|
|
38
|
+
import { TicketFilled as uo } from "./Icons/TicketFilled.es.js";
|
|
39
39
|
import { UploadCloud as Eo } from "./Icons/UploadCloud.es.js";
|
|
40
40
|
import { Clock as vo } from "./Icons/Clock.es.js";
|
|
41
41
|
import { Pause as Lo } from "./Icons/Pause.es.js";
|
|
42
|
-
import { FastForward as
|
|
43
|
-
import { Trash as
|
|
44
|
-
import { Sort as
|
|
45
|
-
import { Cancel as
|
|
46
|
-
import { CheckCircle as
|
|
42
|
+
import { FastForward as Ro } from "./Icons/FastForward.es.js";
|
|
43
|
+
import { Trash as Mo } from "./Icons/Trash.es.js";
|
|
44
|
+
import { Sort as bo } from "./Icons/Sort.es.js";
|
|
45
|
+
import { Cancel as Bo } from "./Icons/Cancel.es.js";
|
|
46
|
+
import { CheckCircle as No } from "./Icons/CheckCircle.es.js";
|
|
47
47
|
import { FormatColorText as Oo } from "./Icons/FormatColorText.es.js";
|
|
48
48
|
import { CheckList as jo } from "./Icons/CheckList.es.js";
|
|
49
49
|
import { WhatsApp as Go } from "./Icons/WhatsApp.es.js";
|
|
@@ -53,70 +53,76 @@ import { Download as Zo } from "./Icons/Download.es.js";
|
|
|
53
53
|
import { Reload as $o } from "./Icons/Reload.es.js";
|
|
54
54
|
import { Image as rr } from "./Icons/Image.es.js";
|
|
55
55
|
import { DocumentFill as tr } from "./Icons/DocumentFill.es.js";
|
|
56
|
-
import { Company as
|
|
56
|
+
import { Company as mr } from "./Icons/Company.es.js";
|
|
57
57
|
import { EditFill as xr } from "./Icons/EditFill.es.js";
|
|
58
|
-
import { TrashFill as
|
|
58
|
+
import { TrashFill as lr } from "./Icons/TrashFill.es.js";
|
|
59
59
|
import { MessageSquareFill as sr } from "./Icons/MessageSquareFill.es.js";
|
|
60
|
-
import { UserAddFill as
|
|
60
|
+
import { UserAddFill as dr } from "./Icons/UserAddFill.es.js";
|
|
61
|
+
import { Reassignment as cr } from "./Icons/Reassignment.es.js";
|
|
62
|
+
import { ReassignmentFill as hr } from "./Icons/ReassignmentFill.es.js";
|
|
63
|
+
import { Send as gr } from "./Icons/Send.es.js";
|
|
61
64
|
export {
|
|
62
65
|
oo as AccountCircle,
|
|
63
66
|
z as Add,
|
|
64
67
|
A as ArrowLeft,
|
|
65
|
-
|
|
68
|
+
V as ArrowUpDown,
|
|
66
69
|
po as AttachFile,
|
|
67
|
-
|
|
70
|
+
f as Boards,
|
|
68
71
|
U as Calendar,
|
|
69
|
-
|
|
72
|
+
Bo as Cancel,
|
|
70
73
|
ho as Check,
|
|
71
|
-
|
|
74
|
+
No as CheckCircle,
|
|
72
75
|
jo as CheckList,
|
|
73
76
|
S as ChevronDown,
|
|
74
77
|
vo as Clock,
|
|
75
78
|
D as Close,
|
|
76
79
|
ao as CloseNavBarDesktop,
|
|
77
80
|
w as Collapse,
|
|
78
|
-
|
|
81
|
+
mr as Company,
|
|
79
82
|
Y as Copy,
|
|
80
|
-
|
|
83
|
+
C as CrevronLeft,
|
|
81
84
|
F as CrevronRight,
|
|
82
85
|
tr as DocumentFill,
|
|
83
86
|
Zo as Download,
|
|
84
87
|
J as Edit,
|
|
85
88
|
xr as EditFill,
|
|
86
89
|
Xo as Email,
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
+
yo as Error,
|
|
91
|
+
no as EyeVisibility,
|
|
92
|
+
co as EyeVisibilityOff,
|
|
90
93
|
_ as FaLock,
|
|
91
|
-
|
|
94
|
+
Ro as FastForward,
|
|
92
95
|
Ko as File,
|
|
93
|
-
|
|
96
|
+
q as Filter,
|
|
94
97
|
Oo as FormatColorText,
|
|
95
98
|
a as Help,
|
|
96
|
-
|
|
99
|
+
fo as HistoryActivity,
|
|
97
100
|
p as Home,
|
|
98
101
|
rr as Image,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
+
go as Info,
|
|
103
|
+
H as Logout,
|
|
104
|
+
io as MessageSquare,
|
|
102
105
|
sr as MessageSquareFill,
|
|
103
106
|
W as MoreVert,
|
|
104
|
-
|
|
107
|
+
i as Notifications,
|
|
105
108
|
Lo as Pause,
|
|
109
|
+
cr as Reassignment,
|
|
110
|
+
hr as ReassignmentFill,
|
|
106
111
|
$o as Reload,
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
+
I as Search,
|
|
113
|
+
gr as Send,
|
|
114
|
+
n as Settings,
|
|
115
|
+
k as Shared,
|
|
116
|
+
bo as Sort,
|
|
117
|
+
P as Stars,
|
|
112
118
|
e as Ticket,
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
119
|
+
uo as TicketFilled,
|
|
120
|
+
Mo as Trash,
|
|
121
|
+
lr as TrashFill,
|
|
116
122
|
Q as Upload,
|
|
117
123
|
Eo as UploadCloud,
|
|
118
124
|
eo as UserAdd,
|
|
119
|
-
|
|
125
|
+
dr as UserAddFill,
|
|
120
126
|
T as UserPerson,
|
|
121
127
|
Go as WhatsApp
|
|
122
128
|
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { j as e } from "./jsx-runtime-GkKLlHH4.js";
|
|
2
|
+
import { c as o } from "./cn-B6yFEsav.js";
|
|
3
|
+
import x from "./Avatar.es.js";
|
|
4
|
+
import p from "./Button.es.js";
|
|
5
|
+
const v = ({ user: i, body: t, date: a, actions: s, isNew: d, className: m, metadata: r }) => {
|
|
6
|
+
const f = typeof t == "function" ? t(r) : t, c = a instanceof Date ? `${a.toLocaleDateString("es-AR", { day: "2-digit", month: "2-digit", year: "numeric" })} a las ${a.toLocaleTimeString("es-AR", { hour: "2-digit", minute: "2-digit", hour12: !1 })}` : a;
|
|
7
|
+
return /* @__PURE__ */ e.jsxs("article", { className: o("flex flex-col gap-3 p-3 rounded-md bg-neutral-default-default ", m), children: [
|
|
8
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
9
|
+
/* @__PURE__ */ e.jsxs("div", { className: "flex gap-2 items-start w-full", children: [
|
|
10
|
+
/* @__PURE__ */ e.jsxs("div", { className: " relative min-w-max", children: [
|
|
11
|
+
d && /* @__PURE__ */ e.jsx("div", { className: "size-3 border border-neutral-default bg-(--pyrion-orange-500) rounded-full absolute top-0 left-0 z-20" }),
|
|
12
|
+
/* @__PURE__ */ e.jsx(
|
|
13
|
+
x,
|
|
14
|
+
{
|
|
15
|
+
imageUrl: i.profile_picture,
|
|
16
|
+
fallbackText: i.name,
|
|
17
|
+
sizeFallback: "xs",
|
|
18
|
+
sizeImage: "xs"
|
|
19
|
+
}
|
|
20
|
+
)
|
|
21
|
+
] }),
|
|
22
|
+
/* @__PURE__ */ e.jsx("div", { className: "text-neutral-default-default prometeo-fonts-body-medium", children: f })
|
|
23
|
+
] }),
|
|
24
|
+
/* @__PURE__ */ e.jsx("p", { className: "text-neutral-medium-default prometeo-fonts-body-xsmall text-right", children: c })
|
|
25
|
+
] }),
|
|
26
|
+
/* @__PURE__ */ e.jsx("div", { className: "flex gap-2 w-full", children: s?.map((l, n) => {
|
|
27
|
+
if (l.hidden)
|
|
28
|
+
return null;
|
|
29
|
+
const u = () => {
|
|
30
|
+
l.onClick(r);
|
|
31
|
+
};
|
|
32
|
+
return /* @__PURE__ */ e.jsx(
|
|
33
|
+
p,
|
|
34
|
+
{
|
|
35
|
+
className: o("flex-1 h-8", n === 0 && s.length > 1 && "order-2"),
|
|
36
|
+
animate: !1,
|
|
37
|
+
animateIcon: !1,
|
|
38
|
+
label: l.label,
|
|
39
|
+
onClick: u,
|
|
40
|
+
variant: l.variant || s.length > 1 ? n === 0 ? "fill" : "text" : "fill",
|
|
41
|
+
disabled: l.disabled,
|
|
42
|
+
size: "small"
|
|
43
|
+
}
|
|
44
|
+
);
|
|
45
|
+
}) })
|
|
46
|
+
] });
|
|
47
|
+
};
|
|
48
|
+
export {
|
|
49
|
+
v as default
|
|
50
|
+
};
|