@devalok/shilp-sutra-karm 0.20.2 → 0.20.3
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/_chunks/chat-panel.js +1 -1
- package/dist/_chunks/kanban-board.js +8 -8
- package/dist/_chunks/project-card.js +21 -21
- package/dist/_chunks/render-adjustment-type.js +4 -4
- package/dist/_chunks/task-detail-panel.js +160 -148
- package/dist/dashboard/index.js +1 -1
- package/dist/tasks/index.js +3 -3
- package/dist/tasks/task-detail-panel.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -230,7 +230,7 @@ const z = w.forwardRef(
|
|
|
230
230
|
]
|
|
231
231
|
}
|
|
232
232
|
),
|
|
233
|
-
/* @__PURE__ */ s("div", { className: "flex shrink-0 items-center gap-ds-02 opacity-0 transition-opacity group-hover:opacity-100", children: [
|
|
233
|
+
/* @__PURE__ */ s("div", { className: "flex shrink-0 items-center gap-ds-02 opacity-0 transition-opacity duration-fast-01 group-hover:opacity-100", children: [
|
|
234
234
|
u && /* @__PURE__ */ e(
|
|
235
235
|
"button",
|
|
236
236
|
{
|
|
@@ -801,7 +801,7 @@ const Je = P.forwardRef(({ column: t, index: s, className: n, ...r }, c) => {
|
|
|
801
801
|
variant: "ghost",
|
|
802
802
|
size: "icon-md",
|
|
803
803
|
className: N(
|
|
804
|
-
"h-ds-xs w-ds-xs flex-shrink-0 opacity-0 transition-opacity",
|
|
804
|
+
"h-ds-xs w-ds-xs flex-shrink-0 opacity-0 transition-opacity duration-fast-02",
|
|
805
805
|
"group-hover/header:opacity-100 focus:opacity-100",
|
|
806
806
|
"hover:bg-accent-2 hover:text-accent-11"
|
|
807
807
|
),
|
|
@@ -818,7 +818,7 @@ const Je = P.forwardRef(({ column: t, index: s, className: n, ...r }, c) => {
|
|
|
818
818
|
variant: "ghost",
|
|
819
819
|
size: "icon-md",
|
|
820
820
|
className: N(
|
|
821
|
-
"h-ds-xs w-ds-xs flex-shrink-0 opacity-0 transition-opacity",
|
|
821
|
+
"h-ds-xs w-ds-xs flex-shrink-0 opacity-0 transition-opacity duration-fast-02",
|
|
822
822
|
"group-hover/header:opacity-100 focus:opacity-100"
|
|
823
823
|
),
|
|
824
824
|
"aria-label": "Column options",
|
|
@@ -1136,7 +1136,7 @@ const et = {
|
|
|
1136
1136
|
HIGH: Ge,
|
|
1137
1137
|
URGENT: Ne
|
|
1138
1138
|
}, ps = ze(
|
|
1139
|
-
"group/card relative rounded-ds-lg border border-transparent bg-surface-3 pl-3 pr-ds-03 py-ds-03 transition-
|
|
1139
|
+
"group/card relative rounded-ds-lg border border-transparent bg-surface-3 pl-3 pr-ds-03 py-ds-03 transition-[box-shadow,border-color,transform] duration-fast-02 ease-productive-standard cursor-pointer",
|
|
1140
1140
|
{
|
|
1141
1141
|
variants: {
|
|
1142
1142
|
state: {
|
|
@@ -1218,7 +1218,7 @@ function st({
|
|
|
1218
1218
|
se.div,
|
|
1219
1219
|
{
|
|
1220
1220
|
className: N(
|
|
1221
|
-
"absolute -top-2 -left-2 z-10 transition-opacity",
|
|
1221
|
+
"absolute -top-2 -left-2 z-10 transition-opacity duration-fast-02",
|
|
1222
1222
|
g || x ? "opacity-100" : "opacity-0 group-hover/card:opacity-100"
|
|
1223
1223
|
),
|
|
1224
1224
|
initial: g || x ? { scale: 0.85 } : !1,
|
|
@@ -1244,7 +1244,7 @@ function st({
|
|
|
1244
1244
|
"button",
|
|
1245
1245
|
{
|
|
1246
1246
|
className: N(
|
|
1247
|
-
"flex-shrink-0 cursor-grab rounded p-ds-01 opacity-0 transition-opacity",
|
|
1247
|
+
"flex-shrink-0 cursor-grab rounded p-ds-01 opacity-0 transition-opacity duration-fast-02",
|
|
1248
1248
|
"group-hover/card:opacity-action-disabled hover:!opacity-100",
|
|
1249
1249
|
"active:cursor-grabbing",
|
|
1250
1250
|
n && "opacity-action-disabled"
|
|
@@ -1353,7 +1353,7 @@ const at = P.forwardRef(
|
|
|
1353
1353
|
);
|
|
1354
1354
|
at.displayName = "TaskCard";
|
|
1355
1355
|
const bs = ze(
|
|
1356
|
-
"group/card flex items-center gap-ds-02 py-2 pl-3 pr-ds-03 border border-transparent rounded-ds-lg bg-surface-3 transition-
|
|
1356
|
+
"group/card flex items-center gap-ds-02 py-2 pl-3 pr-ds-03 border border-transparent rounded-ds-lg bg-surface-3 transition-[box-shadow,border-color,transform,background-color] duration-fast-02 ease-productive-standard cursor-pointer hover:bg-surface-4 hover:shadow-02 hover:-translate-y-px",
|
|
1357
1357
|
{
|
|
1358
1358
|
variants: {
|
|
1359
1359
|
selected: {
|
|
@@ -1413,7 +1413,7 @@ function nt({
|
|
|
1413
1413
|
se.div,
|
|
1414
1414
|
{
|
|
1415
1415
|
className: N(
|
|
1416
|
-
"absolute -top-1.5 -left-1.5 z-10 transition-opacity",
|
|
1416
|
+
"absolute -top-1.5 -left-1.5 z-10 transition-opacity duration-fast-02",
|
|
1417
1417
|
x || p ? "opacity-100" : "opacity-0 group-hover/card:opacity-100"
|
|
1418
1418
|
),
|
|
1419
1419
|
initial: x || p ? { scale: 0.85 } : !1,
|
|
@@ -1672,7 +1672,7 @@ const ct = P.forwardRef(
|
|
|
1672
1672
|
className: N(
|
|
1673
1673
|
"flex h-full flex-shrink-0 flex-col rounded-ds-xl bg-surface-2 border border-surface-3 hover:border-surface-border transition-colors p-1",
|
|
1674
1674
|
r && "shadow-04",
|
|
1675
|
-
C && "bg-error-3",
|
|
1675
|
+
C && "bg-error-3 ring-1 ring-error-7",
|
|
1676
1676
|
u
|
|
1677
1677
|
),
|
|
1678
1678
|
...I,
|
|
@@ -6,25 +6,25 @@ import { cn as p } from "@devalok/shilp-sutra/ui/lib/utils";
|
|
|
6
6
|
import { Avatar as b, AvatarImage as x, AvatarFallback as g } from "@devalok/shilp-sutra/ui/avatar";
|
|
7
7
|
import { Badge as v } from "@devalok/shilp-sutra/ui/badge";
|
|
8
8
|
import { Progress as y } from "@devalok/shilp-sutra/ui/progress";
|
|
9
|
-
function N({ accentCss:
|
|
9
|
+
function N({ accentCss: d }) {
|
|
10
10
|
return h(() => {
|
|
11
|
-
if (!
|
|
12
|
-
const a = document.documentElement, i =
|
|
11
|
+
if (!d) return;
|
|
12
|
+
const a = document.documentElement, i = d.split(";").map((e) => e.trim()).filter(Boolean), r = [];
|
|
13
13
|
for (const e of i) {
|
|
14
|
-
const
|
|
15
|
-
if (
|
|
16
|
-
const n = e.slice(0,
|
|
14
|
+
const c = e.indexOf(":");
|
|
15
|
+
if (c === -1) continue;
|
|
16
|
+
const n = e.slice(0, c).trim(), o = e.slice(c + 1).trim();
|
|
17
17
|
n && o && (a.style.setProperty(n, o), r.push(n));
|
|
18
18
|
}
|
|
19
19
|
return () => {
|
|
20
20
|
for (const e of r)
|
|
21
21
|
a.style.removeProperty(e);
|
|
22
22
|
};
|
|
23
|
-
}, [
|
|
23
|
+
}, [d]), null;
|
|
24
24
|
}
|
|
25
25
|
N.displayName = "AccentProvider";
|
|
26
26
|
const j = f.forwardRef(
|
|
27
|
-
({ className:
|
|
27
|
+
({ className: d, orgName: a, orgLogo: i, userName: r, userAvatar: e, children: c, ...n }, o) => {
|
|
28
28
|
const l = a.split(" ").map((m) => m[0]).join("").slice(0, 2).toUpperCase(), u = r.split(" ").map((m) => m[0]).join("").slice(0, 2).toUpperCase();
|
|
29
29
|
return /* @__PURE__ */ s(
|
|
30
30
|
"header",
|
|
@@ -32,7 +32,7 @@ const j = f.forwardRef(
|
|
|
32
32
|
ref: o,
|
|
33
33
|
className: p(
|
|
34
34
|
"flex h-ds-lg items-center justify-between border-b border-surface-border bg-surface-1 px-ds-06",
|
|
35
|
-
|
|
35
|
+
d
|
|
36
36
|
),
|
|
37
37
|
...n,
|
|
38
38
|
children: [
|
|
@@ -48,7 +48,7 @@ const j = f.forwardRef(
|
|
|
48
48
|
/* @__PURE__ */ t("span", { className: "font-display text-ds-base font-semibold text-surface-fg", children: a })
|
|
49
49
|
] }),
|
|
50
50
|
/* @__PURE__ */ s("div", { className: "flex items-center gap-ds-04", children: [
|
|
51
|
-
|
|
51
|
+
c,
|
|
52
52
|
/* @__PURE__ */ s("div", { className: "flex items-center gap-ds-03", children: [
|
|
53
53
|
/* @__PURE__ */ s(b, { className: "h-ds-sm w-ds-sm", children: [
|
|
54
54
|
e && /* @__PURE__ */ t(x, { src: e, alt: r }),
|
|
@@ -63,40 +63,40 @@ const j = f.forwardRef(
|
|
|
63
63
|
}
|
|
64
64
|
);
|
|
65
65
|
j.displayName = "ClientPortalHeader";
|
|
66
|
-
const
|
|
66
|
+
const P = {
|
|
67
67
|
active: "success",
|
|
68
68
|
completed: "info",
|
|
69
69
|
paused: "warning"
|
|
70
|
-
},
|
|
70
|
+
}, w = f.forwardRef(
|
|
71
71
|
({
|
|
72
|
-
className:
|
|
72
|
+
className: d,
|
|
73
73
|
name: a,
|
|
74
74
|
description: i,
|
|
75
75
|
status: r,
|
|
76
76
|
taskCount: e = 0,
|
|
77
|
-
completedTasks:
|
|
77
|
+
completedTasks: c = 0,
|
|
78
78
|
...n
|
|
79
79
|
}, o) => {
|
|
80
|
-
const l = e > 0 ? Math.round(
|
|
80
|
+
const l = e > 0 ? Math.round(c / e * 100) : 0;
|
|
81
81
|
return /* @__PURE__ */ s(
|
|
82
82
|
"div",
|
|
83
83
|
{
|
|
84
84
|
ref: o,
|
|
85
85
|
className: p(
|
|
86
|
-
"group cursor-pointer rounded-ds-lg border border-surface-border bg-surface-2 p-ds-05b shadow-01 transition-
|
|
87
|
-
|
|
86
|
+
"group cursor-pointer rounded-ds-lg border border-surface-border bg-surface-2 p-ds-05b shadow-01 transition-all duration-200 hover:shadow-02 hover:scale-[1.01]",
|
|
87
|
+
d
|
|
88
88
|
),
|
|
89
89
|
...n,
|
|
90
90
|
children: [
|
|
91
91
|
/* @__PURE__ */ s("div", { className: "mb-ds-04 flex items-start justify-between", children: [
|
|
92
92
|
/* @__PURE__ */ t("h3", { className: "font-display text-ds-base font-semibold text-surface-fg", children: a }),
|
|
93
|
-
/* @__PURE__ */ t(v, { color:
|
|
93
|
+
/* @__PURE__ */ t(v, { color: P[r], size: "sm", children: r })
|
|
94
94
|
] }),
|
|
95
95
|
i && /* @__PURE__ */ t("p", { className: "mb-ds-05 line-clamp-2 text-ds-md text-surface-fg-muted", children: i }),
|
|
96
96
|
/* @__PURE__ */ s("div", { className: "space-y-ds-03", children: [
|
|
97
97
|
/* @__PURE__ */ s("div", { className: "flex items-center justify-between text-ds-sm text-surface-fg-subtle", children: [
|
|
98
98
|
/* @__PURE__ */ s("span", { children: [
|
|
99
|
-
|
|
99
|
+
c,
|
|
100
100
|
" / ",
|
|
101
101
|
e,
|
|
102
102
|
" tasks"
|
|
@@ -113,9 +113,9 @@ const w = {
|
|
|
113
113
|
);
|
|
114
114
|
}
|
|
115
115
|
);
|
|
116
|
-
|
|
116
|
+
w.displayName = "ProjectCard";
|
|
117
117
|
export {
|
|
118
118
|
N as A,
|
|
119
119
|
j as C,
|
|
120
|
-
P
|
|
120
|
+
w as P
|
|
121
121
|
};
|
|
@@ -483,7 +483,7 @@ const Ss = _.forwardRef(
|
|
|
483
483
|
r.selected && o === "monthly" && "text-surface-fg",
|
|
484
484
|
// ── DisabledState (visual-only disabled, different from functional disabled) ──
|
|
485
485
|
r.disabledState && "text-disabled",
|
|
486
|
-
r.disabledState && r.today && "bg-disabled text-
|
|
486
|
+
r.disabledState && r.today && "bg-disabled text-surface-fg-muted"
|
|
487
487
|
);
|
|
488
488
|
return /* @__PURE__ */ e("div", { ref: b, className: D(v, c), ...h, children: /* @__PURE__ */ a(
|
|
489
489
|
"div",
|
|
@@ -2039,7 +2039,7 @@ const Ks = _.forwardRef(
|
|
|
2039
2039
|
return /* @__PURE__ */ a(
|
|
2040
2040
|
"div",
|
|
2041
2041
|
{
|
|
2042
|
-
className: "flex w-full flex-row items-center justify-start gap-ds-03 !border-0 text-left hover:bg-surface-3",
|
|
2042
|
+
className: "flex w-full flex-row items-center justify-start gap-ds-03 !border-0 text-left transition-colors duration-fast-01 hover:bg-surface-3",
|
|
2043
2043
|
children: [
|
|
2044
2044
|
/* @__PURE__ */ a("div", { className: "flex w-1/6 min-w-[120px] items-center gap-ds-03 p-ds-04", children: [
|
|
2045
2045
|
/* @__PURE__ */ a(Qe, { className: "h-ds-xs-plus w-ds-xs-plus", children: [
|
|
@@ -2751,7 +2751,7 @@ const Gs = _.forwardRef(
|
|
|
2751
2751
|
return /* @__PURE__ */ a(
|
|
2752
2752
|
"div",
|
|
2753
2753
|
{
|
|
2754
|
-
className: "flex w-full items-center hover:bg-surface-3",
|
|
2754
|
+
className: "flex w-full items-center transition-colors duration-fast-01 hover:bg-surface-3",
|
|
2755
2755
|
children: [
|
|
2756
2756
|
/* @__PURE__ */ a("div", { className: "flex w-[16%] min-w-[120px] items-center gap-ds-03 overflow-hidden px-ds-04 py-ds-03", children: [
|
|
2757
2757
|
l[x.userId] ? /* @__PURE__ */ e(
|
|
@@ -3534,7 +3534,7 @@ const It = _.forwardRef(
|
|
|
3534
3534
|
return /* @__PURE__ */ a(
|
|
3535
3535
|
"div",
|
|
3536
3536
|
{
|
|
3537
|
-
className: "grid grid-cols-[200px_160px_80px_1fr_1fr_1fr] gap-ds-05 bg-surface-2 py-ds-03 sm:px-ds-06",
|
|
3537
|
+
className: "grid grid-cols-[200px_160px_80px_1fr_1fr_1fr] gap-ds-05 bg-surface-2 py-ds-03 sm:px-ds-06 transition-colors duration-fast-01 hover:bg-surface-3",
|
|
3538
3538
|
children: [
|
|
3539
3539
|
/* @__PURE__ */ e("div", { className: "p-ds-03 pl-ds-04 text-surface-fg-muted", children: ((h = c.user) == null ? void 0 : h.name) || "Unknown User" }),
|
|
3540
3540
|
/* @__PURE__ */ e("div", { className: "w-[160px] p-ds-03 text-surface-fg-muted", children: ie(new Date(c.createdAt)) }),
|
|
@@ -3,25 +3,26 @@ import { jsxs as o, jsx as s, Fragment as ke } from "react/jsx-runtime";
|
|
|
3
3
|
import * as n from "react";
|
|
4
4
|
import { cn as h } from "@devalok/shilp-sutra/ui/lib/utils";
|
|
5
5
|
import { Checkbox as Ss } from "@devalok/shilp-sutra/ui/checkbox";
|
|
6
|
-
import { PriorityIndicator as
|
|
6
|
+
import { PriorityIndicator as Ps } from "@devalok/shilp-sutra/composed/priority-indicator";
|
|
7
7
|
import { Badge as W } from "@devalok/shilp-sutra/ui/badge";
|
|
8
|
-
import { StatusBadge as
|
|
9
|
-
import { IconSquareCheck as js, IconSquare as Os, IconPlus as _, IconSend as _s, IconUpload as Fs, IconExternalLink as Bs, IconDownload as Vs, IconTrash as zs, IconFile as we, IconPhoto as Hs, IconFileText as Ms, IconFileCode as $s, IconFileSpreadsheet as qs, IconFileZip as Gs, IconCheck as Ee, IconMessage as Ae, IconX as K, IconCalendarEvent as Se, IconTag as
|
|
8
|
+
import { StatusBadge as Ls } from "@devalok/shilp-sutra/composed/status-badge";
|
|
9
|
+
import { IconSquareCheck as js, IconSquare as Os, IconPlus as _, IconSend as _s, IconUpload as Fs, IconExternalLink as Bs, IconDownload as Vs, IconTrash as zs, IconFile as we, IconPhoto as Hs, IconFileText as Ms, IconFileCode as $s, IconFileSpreadsheet as qs, IconFileZip as Gs, IconCheck as Ee, IconMessage as Ae, IconX as K, IconCalendarEvent as Se, IconTag as Pe, IconFlag as Le, IconEye as je, IconCircleCheck as Ys, IconGitPullRequest as te, IconPaperclip as re, IconUserMinus as Ks, IconUserPlus as Ws, IconArrowRight as Us, IconEdit as Zs, IconActivity as ae, IconListCheck as Oe, IconMessageCircle as _e, IconChevronRight as Js, IconColumns3 as Qs, IconChevronDown as Xs, IconUser as et, IconUsers as st } from "@tabler/icons-react";
|
|
10
10
|
import { IconButton as tt } from "@devalok/shilp-sutra/ui/icon-button";
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
11
|
+
import { AnimatePresence as rt, motion as at } from "framer-motion";
|
|
12
|
+
import { Sheet as nt, SheetContent as it, SheetTitle as ot } from "@devalok/shilp-sutra/ui/sheet";
|
|
13
|
+
import { VisuallyHidden as ct } from "@devalok/shilp-sutra/ui/visually-hidden";
|
|
13
14
|
import { Skeleton as A } from "@devalok/shilp-sutra/ui/skeleton";
|
|
14
|
-
import { Progress as
|
|
15
|
+
import { Progress as lt, Tabs as dt, TabsList as ut, TabsTrigger as ee } from "@devalok/shilp-sutra/ui";
|
|
15
16
|
import { Avatar as F, AvatarImage as B, AvatarFallback as V } from "@devalok/shilp-sutra/ui/avatar";
|
|
16
17
|
import { Popover as ye, PopoverTrigger as Re, PopoverContent as Ce } from "@devalok/shilp-sutra/ui/popover";
|
|
17
18
|
import { getInitials as z } from "@devalok/shilp-sutra/composed/lib/string-utils";
|
|
18
19
|
import { MemberPicker as se } from "@devalok/shilp-sutra/composed/member-picker";
|
|
19
20
|
import { EmptyState as H } from "@devalok/shilp-sutra/composed/empty-state";
|
|
20
|
-
import { RichTextViewer as
|
|
21
|
-
import { formatRelativeTime as
|
|
22
|
-
import { Dialog as
|
|
21
|
+
import { RichTextViewer as mt, RichTextEditor as ft } from "@devalok/shilp-sutra/composed/rich-text-editor";
|
|
22
|
+
import { formatRelativeTime as pt } from "@devalok/shilp-sutra/ui/lib/date-utils";
|
|
23
|
+
import { Dialog as ht, DialogTrigger as gt, DialogContent as bt, DialogHeader as xt, DialogTitle as Nt, DialogDescription as vt, DialogFooter as wt, DialogClose as De } from "@devalok/shilp-sutra/ui/dialog";
|
|
23
24
|
import { Button as Ie } from "@devalok/shilp-sutra/ui/button";
|
|
24
|
-
const
|
|
25
|
+
const yt = {
|
|
25
26
|
LOW: "Low",
|
|
26
27
|
MEDIUM: "Medium",
|
|
27
28
|
HIGH: "High",
|
|
@@ -31,7 +32,7 @@ const vt = {
|
|
|
31
32
|
MEDIUM: "bg-warning-9",
|
|
32
33
|
HIGH: "bg-error-9",
|
|
33
34
|
URGENT: "bg-error-9"
|
|
34
|
-
},
|
|
35
|
+
}, Rt = {
|
|
35
36
|
PENDING: { color: "warning", label: "Pending" },
|
|
36
37
|
APPROVED: { color: "success", label: "Approved" },
|
|
37
38
|
CHANGES_REQUESTED: { color: "brand", label: "Changes Requested" },
|
|
@@ -39,7 +40,7 @@ const vt = {
|
|
|
39
40
|
}, Be = n.forwardRef(
|
|
40
41
|
function({ completed: e, total: r, className: a, ...i }, d) {
|
|
41
42
|
return /* @__PURE__ */ o("div", { ref: d, className: h("mb-ds-05 flex items-center gap-ds-04", a), ...i, children: [
|
|
42
|
-
/* @__PURE__ */ s(
|
|
43
|
+
/* @__PURE__ */ s(lt, { value: r > 0 ? e / r * 100 : 0, className: "h-ds-02b" }),
|
|
43
44
|
/* @__PURE__ */ o("span", { className: "shrink-0 text-ds-sm font-medium text-surface-fg-subtle", children: [
|
|
44
45
|
e,
|
|
45
46
|
"/",
|
|
@@ -111,7 +112,7 @@ const ze = n.forwardRef(
|
|
|
111
112
|
),
|
|
112
113
|
p && /* @__PURE__ */ o(F, { className: "h-ico-md w-ico-md shrink-0", children: [
|
|
113
114
|
p.image && /* @__PURE__ */ s(B, { src: p.image, alt: p.name }),
|
|
114
|
-
/* @__PURE__ */ s(V, { className: "bg-surface-3 text-ds-xs font-semibold text-
|
|
115
|
+
/* @__PURE__ */ s(V, { className: "bg-surface-3 text-ds-xs font-semibold text-surface-fg", children: z(p.name) })
|
|
115
116
|
] })
|
|
116
117
|
]
|
|
117
118
|
}
|
|
@@ -196,14 +197,14 @@ const Me = n.forwardRef(
|
|
|
196
197
|
Me.displayName = "MessageList";
|
|
197
198
|
function $e(t) {
|
|
198
199
|
const e = new Date(t), a = (/* @__PURE__ */ new Date()).getTime() - e.getTime();
|
|
199
|
-
return Math.floor(a / 864e5) < 7 ?
|
|
200
|
+
return Math.floor(a / 864e5) < 7 ? pt(t) : e.toLocaleDateString("en-IN", {
|
|
200
201
|
month: "short",
|
|
201
202
|
day: "numeric",
|
|
202
203
|
hour: "numeric",
|
|
203
204
|
minute: "2-digit"
|
|
204
205
|
});
|
|
205
206
|
}
|
|
206
|
-
function
|
|
207
|
+
function Ct(t) {
|
|
207
208
|
return t.authorType === "INTERNAL" && t.internalAuthor ? t.internalAuthor : t.authorType === "CLIENT" && t.clientAuthor ? {
|
|
208
209
|
id: t.clientAuthor.id,
|
|
209
210
|
name: t.clientAuthor.name,
|
|
@@ -211,12 +212,12 @@ function yt(t) {
|
|
|
211
212
|
image: null
|
|
212
213
|
} : { id: t.authorId, name: "Unknown", image: null };
|
|
213
214
|
}
|
|
214
|
-
function
|
|
215
|
+
function Dt(t) {
|
|
215
216
|
return t.replace(/<[^>]*>/g, "");
|
|
216
217
|
}
|
|
217
218
|
const qe = n.forwardRef(
|
|
218
219
|
function({ comment: e, clientMode: r = !1, renderViewer: a, className: i, ...d }, f) {
|
|
219
|
-
const m =
|
|
220
|
+
const m = Ct(e), p = e.authorType === "CLIENT";
|
|
220
221
|
return /* @__PURE__ */ o("div", { ref: f, className: h("flex gap-ds-03", i), ...d, children: [
|
|
221
222
|
/* @__PURE__ */ o(F, { className: "h-ds-xs-plus w-ds-xs-plus shrink-0 mt-ds-01", children: [
|
|
222
223
|
m.image && /* @__PURE__ */ s(B, { src: m.image, alt: m.name }),
|
|
@@ -225,7 +226,7 @@ const qe = n.forwardRef(
|
|
|
225
226
|
{
|
|
226
227
|
className: h(
|
|
227
228
|
"text-ds-xs font-semibold",
|
|
228
|
-
p ? "bg-warning-3 text-warning-11" : "bg-surface-3 text-
|
|
229
|
+
p ? "bg-warning-3 text-warning-11" : "bg-surface-3 text-surface-fg"
|
|
229
230
|
),
|
|
230
231
|
children: z(m.name)
|
|
231
232
|
}
|
|
@@ -234,13 +235,13 @@ const qe = n.forwardRef(
|
|
|
234
235
|
/* @__PURE__ */ o("div", { className: "flex-1 min-w-0", children: [
|
|
235
236
|
/* @__PURE__ */ o("div", { className: "flex items-baseline gap-ds-03", children: [
|
|
236
237
|
/* @__PURE__ */ s("span", { className: "text-ds-md font-medium text-surface-fg", children: m.name }),
|
|
237
|
-
r ? !p && /* @__PURE__ */ s("span", { className: "rounded bg-surface-3 px-ds-02 py-px text-ds-xs font-semibold uppercase tracking-wider text-
|
|
238
|
+
r ? !p && /* @__PURE__ */ s("span", { className: "rounded bg-surface-3 px-ds-02 py-px text-ds-xs font-semibold uppercase tracking-wider text-surface-fg", children: "Team" }) : p && /* @__PURE__ */ s("span", { className: "rounded bg-warning-3 px-ds-02 py-px text-ds-xs font-semibold uppercase tracking-wider text-warning-11", children: "Client" }),
|
|
238
239
|
/* @__PURE__ */ s("span", { className: "text-ds-sm text-surface-fg-subtle", children: $e(e.createdAt) })
|
|
239
240
|
] }),
|
|
240
241
|
/* @__PURE__ */ s("div", { className: "mt-ds-02", children: a ? a({
|
|
241
242
|
content: e.content,
|
|
242
243
|
className: "[&_.ProseMirror]:!min-h-0 [&_.ProseMirror]:!p-0"
|
|
243
|
-
}) : /* @__PURE__ */ s("p", { className: "text-ds-md text-surface-fg-muted whitespace-pre-wrap", children:
|
|
244
|
+
}) : /* @__PURE__ */ s("p", { className: "text-ds-md text-surface-fg-muted whitespace-pre-wrap", children: Dt(e.content) }) })
|
|
244
245
|
] })
|
|
245
246
|
] });
|
|
246
247
|
}
|
|
@@ -387,12 +388,12 @@ const We = n.forwardRef(
|
|
|
387
388
|
}
|
|
388
389
|
);
|
|
389
390
|
We.displayName = "FileList";
|
|
390
|
-
function
|
|
391
|
+
function It(t) {
|
|
391
392
|
if (!t) return we;
|
|
392
393
|
const e = t.toLowerCase();
|
|
393
394
|
return ["jpg", "jpeg", "png", "gif", "svg", "webp", "bmp"].includes(e) ? Hs : ["pdf", "doc", "docx", "txt", "rtf"].includes(e) ? Ms : ["js", "ts", "jsx", "tsx", "py", "rb", "go", "rs", "html", "css", "json"].includes(e) ? $s : ["xls", "xlsx", "csv"].includes(e) ? qs : ["zip", "tar", "gz", "rar", "7z"].includes(e) ? Gs : we;
|
|
394
395
|
}
|
|
395
|
-
function
|
|
396
|
+
function Tt(t) {
|
|
396
397
|
return new Date(t).toLocaleDateString("en-IN", {
|
|
397
398
|
month: "short",
|
|
398
399
|
day: "numeric",
|
|
@@ -401,7 +402,7 @@ function Dt(t) {
|
|
|
401
402
|
}
|
|
402
403
|
const Ue = n.forwardRef(
|
|
403
404
|
function({ file: e, onDelete: r, readOnly: a = !1, className: i, ...d }, f) {
|
|
404
|
-
const m =
|
|
405
|
+
const m = It(e.fileType);
|
|
405
406
|
return /* @__PURE__ */ o(
|
|
406
407
|
"div",
|
|
407
408
|
{
|
|
@@ -422,7 +423,7 @@ const Ue = n.forwardRef(
|
|
|
422
423
|
/* @__PURE__ */ o("div", { className: "flex-1 min-w-0", children: [
|
|
423
424
|
/* @__PURE__ */ s("p", { className: "truncate text-ds-md font-medium text-surface-fg", children: e.title }),
|
|
424
425
|
/* @__PURE__ */ o("p", { className: "text-ds-sm text-surface-fg-subtle", children: [
|
|
425
|
-
|
|
426
|
+
Tt(e.createdAt),
|
|
426
427
|
/* @__PURE__ */ s("span", { className: "mx-ds-02b", children: "by" }),
|
|
427
428
|
e.uploadedBy.name
|
|
428
429
|
] })
|
|
@@ -450,8 +451,8 @@ const Ue = n.forwardRef(
|
|
|
450
451
|
children: /* @__PURE__ */ s(Vs, { className: "h-ico-sm w-ico-sm text-surface-fg-subtle" })
|
|
451
452
|
}
|
|
452
453
|
),
|
|
453
|
-
!a && r && /* @__PURE__ */ o(
|
|
454
|
-
/* @__PURE__ */ s(
|
|
454
|
+
!a && r && /* @__PURE__ */ o(ht, { children: [
|
|
455
|
+
/* @__PURE__ */ s(gt, { asChild: !0, children: /* @__PURE__ */ s(
|
|
455
456
|
"button",
|
|
456
457
|
{
|
|
457
458
|
type: "button",
|
|
@@ -460,16 +461,16 @@ const Ue = n.forwardRef(
|
|
|
460
461
|
children: /* @__PURE__ */ s(zs, { className: "h-ico-sm w-ico-sm text-error-11" })
|
|
461
462
|
}
|
|
462
463
|
) }),
|
|
463
|
-
/* @__PURE__ */ o(
|
|
464
|
-
/* @__PURE__ */ o(
|
|
465
|
-
/* @__PURE__ */ s(
|
|
466
|
-
/* @__PURE__ */ o(
|
|
464
|
+
/* @__PURE__ */ o(bt, { children: [
|
|
465
|
+
/* @__PURE__ */ o(xt, { children: [
|
|
466
|
+
/* @__PURE__ */ s(Nt, { children: "Delete file?" }),
|
|
467
|
+
/* @__PURE__ */ o(vt, { children: [
|
|
467
468
|
'"',
|
|
468
469
|
e.title,
|
|
469
470
|
'" will be permanently deleted. This cannot be undone.'
|
|
470
471
|
] })
|
|
471
472
|
] }),
|
|
472
|
-
/* @__PURE__ */ o(
|
|
473
|
+
/* @__PURE__ */ o(wt, { children: [
|
|
473
474
|
/* @__PURE__ */ s(De, { asChild: !0, children: /* @__PURE__ */ s(Ie, { variant: "outline", size: "sm", children: "Cancel" }) }),
|
|
474
475
|
/* @__PURE__ */ s(De, { asChild: !0, children: /* @__PURE__ */ s(
|
|
475
476
|
Ie,
|
|
@@ -491,7 +492,7 @@ const Ue = n.forwardRef(
|
|
|
491
492
|
}
|
|
492
493
|
);
|
|
493
494
|
Ue.displayName = "FileItem";
|
|
494
|
-
const
|
|
495
|
+
const kt = [
|
|
495
496
|
{ status: "APPROVED", label: "Approve", icon: Ee },
|
|
496
497
|
{ status: "CHANGES_REQUESTED", label: "Request Changes", icon: Ae },
|
|
497
498
|
{ status: "REJECTED", label: "Reject", icon: K }
|
|
@@ -512,7 +513,7 @@ const It = [
|
|
|
512
513
|
}
|
|
513
514
|
),
|
|
514
515
|
/* @__PURE__ */ o("div", { className: "flex items-center gap-ds-02b", children: [
|
|
515
|
-
|
|
516
|
+
kt.map((g) => {
|
|
516
517
|
const N = g.icon;
|
|
517
518
|
return /* @__PURE__ */ o(
|
|
518
519
|
"button",
|
|
@@ -555,7 +556,7 @@ const It = [
|
|
|
555
556
|
}
|
|
556
557
|
);
|
|
557
558
|
Ze.displayName = "ReviewResponseForm";
|
|
558
|
-
function
|
|
559
|
+
function Et(t) {
|
|
559
560
|
return new Date(t).toLocaleDateString("en-IN", {
|
|
560
561
|
month: "short",
|
|
561
562
|
day: "numeric",
|
|
@@ -565,7 +566,7 @@ function Tt(t) {
|
|
|
565
566
|
}
|
|
566
567
|
const Je = n.forwardRef(
|
|
567
568
|
function({ review: e, onUpdateStatus: r, className: a, ...i }, d) {
|
|
568
|
-
const f =
|
|
569
|
+
const f = Rt[e.status];
|
|
569
570
|
return /* @__PURE__ */ o(
|
|
570
571
|
"div",
|
|
571
572
|
{
|
|
@@ -585,7 +586,7 @@ const Je = n.forwardRef(
|
|
|
585
586
|
alt: e.reviewer.name
|
|
586
587
|
}
|
|
587
588
|
),
|
|
588
|
-
/* @__PURE__ */ s(V, { className: "bg-surface-3 text-ds-xs font-semibold text-
|
|
589
|
+
/* @__PURE__ */ s(V, { className: "bg-surface-3 text-ds-xs font-semibold text-surface-fg", children: z(e.reviewer.name) })
|
|
589
590
|
] }),
|
|
590
591
|
/* @__PURE__ */ o("div", { className: "flex-1 min-w-0", children: [
|
|
591
592
|
/* @__PURE__ */ s("span", { className: "text-ds-md font-medium text-surface-fg", children: e.reviewer.name }),
|
|
@@ -610,7 +611,7 @@ const Je = n.forwardRef(
|
|
|
610
611
|
onSubmit: r
|
|
611
612
|
}
|
|
612
613
|
) }),
|
|
613
|
-
/* @__PURE__ */ s("p", { className: "mt-ds-03 text-ds-xs text-surface-fg-subtle", children:
|
|
614
|
+
/* @__PURE__ */ s("p", { className: "mt-ds-03 text-ds-xs text-surface-fg-subtle", children: Et(e.createdAt) })
|
|
614
615
|
]
|
|
615
616
|
}
|
|
616
617
|
);
|
|
@@ -654,7 +655,7 @@ const Xe = n.forwardRef(
|
|
|
654
655
|
}
|
|
655
656
|
);
|
|
656
657
|
Xe.displayName = "ActivityTimeline";
|
|
657
|
-
const
|
|
658
|
+
const At = {
|
|
658
659
|
"task.created": {
|
|
659
660
|
icon: _,
|
|
660
661
|
color: "text-success-11",
|
|
@@ -740,7 +741,7 @@ const kt = {
|
|
|
740
741
|
}
|
|
741
742
|
},
|
|
742
743
|
"task.priority_changed": {
|
|
743
|
-
icon:
|
|
744
|
+
icon: Le,
|
|
744
745
|
color: "text-error-11",
|
|
745
746
|
dotColor: "bg-error-9",
|
|
746
747
|
getDescription: (t) => {
|
|
@@ -749,7 +750,7 @@ const kt = {
|
|
|
749
750
|
}
|
|
750
751
|
},
|
|
751
752
|
"task.labels_changed": {
|
|
752
|
-
icon:
|
|
753
|
+
icon: Pe,
|
|
753
754
|
color: "text-category-amber-11",
|
|
754
755
|
dotColor: "bg-category-amber-9",
|
|
755
756
|
getDescription: () => "updated labels"
|
|
@@ -763,19 +764,19 @@ const kt = {
|
|
|
763
764
|
return e != null && e.dueDate ? `set due date to ${e.dueDate}` : "updated the due date";
|
|
764
765
|
}
|
|
765
766
|
}
|
|
766
|
-
},
|
|
767
|
+
}, St = {
|
|
767
768
|
icon: ae,
|
|
768
769
|
color: "text-surface-fg-subtle",
|
|
769
770
|
dotColor: "bg-disabled",
|
|
770
771
|
getDescription: (t) => t.action
|
|
771
772
|
};
|
|
772
|
-
function
|
|
773
|
+
function Pt(t) {
|
|
773
774
|
const e = t.metadata;
|
|
774
775
|
return e != null && e.actorName ? e.actorName : t.actorType === "SYSTEM" ? "System" : t.actorType === "AGENT" ? "AI Agent" : "Someone";
|
|
775
776
|
}
|
|
776
777
|
const es = n.forwardRef(
|
|
777
778
|
function({ entry: e, className: r, ...a }, i) {
|
|
778
|
-
const d =
|
|
779
|
+
const d = At[e.action] || St, f = d.icon, m = Pt(e), p = d.getDescription(e);
|
|
779
780
|
return /* @__PURE__ */ o("div", { ref: i, className: h("relative flex gap-ds-04 pl-0", r), ...a, children: [
|
|
780
781
|
/* @__PURE__ */ s("div", { className: "relative z-raised flex h-[22px] w-[22px] shrink-0 items-center justify-center rounded-ds-full bg-surface-1", children: /* @__PURE__ */ s(
|
|
781
782
|
"div",
|
|
@@ -865,7 +866,7 @@ const ts = n.forwardRef(
|
|
|
865
866
|
...u
|
|
866
867
|
}, x) {
|
|
867
868
|
const g = m ?? (f ? (b) => /* @__PURE__ */ s(
|
|
868
|
-
|
|
869
|
+
ft,
|
|
869
870
|
{
|
|
870
871
|
content: b.content,
|
|
871
872
|
onChange: b.onChange,
|
|
@@ -873,7 +874,7 @@ const ts = n.forwardRef(
|
|
|
873
874
|
editable: !0,
|
|
874
875
|
className: "min-h-[80px]"
|
|
875
876
|
}
|
|
876
|
-
) : void 0), N = p ?? (f ? (b) => /* @__PURE__ */ s(
|
|
877
|
+
) : void 0), N = p ?? (f ? (b) => /* @__PURE__ */ s(mt, { content: b.content, className: b.className }) : void 0);
|
|
877
878
|
return /* @__PURE__ */ o("div", { ref: x, className: h("flex flex-col", i), ...u, children: [
|
|
878
879
|
e.length > 0 ? /* @__PURE__ */ s(Me, { children: e.map((b) => /* @__PURE__ */ s(
|
|
879
880
|
qe,
|
|
@@ -996,7 +997,7 @@ const ns = n.forwardRef(
|
|
|
996
997
|
);
|
|
997
998
|
ns.displayName = "ActivityTab";
|
|
998
999
|
const is = n.createContext(null);
|
|
999
|
-
function
|
|
1000
|
+
function P() {
|
|
1000
1001
|
const t = n.useContext(is);
|
|
1001
1002
|
if (!t)
|
|
1002
1003
|
throw new Error("useTaskActionRow must be used within a TaskActionRow.Root");
|
|
@@ -1033,7 +1034,7 @@ const ne = n.forwardRef(
|
|
|
1033
1034
|
ne.displayName = "TaskActionRowRoot";
|
|
1034
1035
|
const ie = n.forwardRef(
|
|
1035
1036
|
({ onComplete: t }, e) => {
|
|
1036
|
-
const { task: r } =
|
|
1037
|
+
const { task: r } = P(), [a, i] = n.useState(!1), d = n.useCallback(
|
|
1037
1038
|
(m) => {
|
|
1038
1039
|
m.stopPropagation();
|
|
1039
1040
|
},
|
|
@@ -1059,9 +1060,9 @@ const ie = n.forwardRef(
|
|
|
1059
1060
|
ie.displayName = "TaskActionRowCheckbox";
|
|
1060
1061
|
const oe = n.forwardRef(
|
|
1061
1062
|
(t, e) => {
|
|
1062
|
-
const { task: r } =
|
|
1063
|
+
const { task: r } = P();
|
|
1063
1064
|
return /* @__PURE__ */ s(
|
|
1064
|
-
|
|
1065
|
+
Ps,
|
|
1065
1066
|
{
|
|
1066
1067
|
ref: e,
|
|
1067
1068
|
priority: r.priority,
|
|
@@ -1073,7 +1074,7 @@ const oe = n.forwardRef(
|
|
|
1073
1074
|
oe.displayName = "TaskActionRowPriority";
|
|
1074
1075
|
const ce = n.forwardRef(
|
|
1075
1076
|
({ truncate: t, className: e }, r) => {
|
|
1076
|
-
const { task: a } =
|
|
1077
|
+
const { task: a } = P();
|
|
1077
1078
|
return /* @__PURE__ */ s(
|
|
1078
1079
|
"span",
|
|
1079
1080
|
{
|
|
@@ -1091,7 +1092,7 @@ const ce = n.forwardRef(
|
|
|
1091
1092
|
ce.displayName = "TaskActionRowTitle";
|
|
1092
1093
|
const le = n.forwardRef(
|
|
1093
1094
|
({ max: t }, e) => {
|
|
1094
|
-
const { task: r } =
|
|
1095
|
+
const { task: r } = P();
|
|
1095
1096
|
if (!r.labels || r.labels.length === 0) return null;
|
|
1096
1097
|
const a = t != null ? r.labels.slice(0, t) : r.labels, i = t != null ? r.labels.length - t : 0;
|
|
1097
1098
|
return /* @__PURE__ */ o("div", { ref: e, className: "flex items-center gap-ds-02", children: [
|
|
@@ -1106,7 +1107,7 @@ const le = n.forwardRef(
|
|
|
1106
1107
|
le.displayName = "TaskActionRowLabels";
|
|
1107
1108
|
const de = n.forwardRef(
|
|
1108
1109
|
({ onClick: t }, e) => {
|
|
1109
|
-
const { task: r } =
|
|
1110
|
+
const { task: r } = P(), a = n.useCallback(
|
|
1110
1111
|
(i) => {
|
|
1111
1112
|
t && (i.stopPropagation(), t(i));
|
|
1112
1113
|
},
|
|
@@ -1127,10 +1128,10 @@ const de = n.forwardRef(
|
|
|
1127
1128
|
}
|
|
1128
1129
|
);
|
|
1129
1130
|
de.displayName = "TaskActionRowProjectBadge";
|
|
1130
|
-
function
|
|
1131
|
+
function Lt(t) {
|
|
1131
1132
|
return (/* @__PURE__ */ new Date(t + "T00:00:00")).toLocaleDateString("en-US", { month: "short", day: "numeric" });
|
|
1132
1133
|
}
|
|
1133
|
-
function
|
|
1134
|
+
function jt(t) {
|
|
1134
1135
|
const e = /* @__PURE__ */ new Date(), r = [
|
|
1135
1136
|
e.getFullYear(),
|
|
1136
1137
|
String(e.getMonth() + 1).padStart(2, "0"),
|
|
@@ -1140,9 +1141,9 @@ function Lt(t) {
|
|
|
1140
1141
|
}
|
|
1141
1142
|
const ue = n.forwardRef(
|
|
1142
1143
|
(t, e) => {
|
|
1143
|
-
const { task: r } =
|
|
1144
|
+
const { task: r } = P();
|
|
1144
1145
|
if (!r.dueDate) return null;
|
|
1145
|
-
const a = r.isOverdue, i =
|
|
1146
|
+
const a = r.isOverdue, i = jt(r.dueDate);
|
|
1146
1147
|
return /* @__PURE__ */ s(
|
|
1147
1148
|
"span",
|
|
1148
1149
|
{
|
|
@@ -1153,13 +1154,13 @@ const ue = n.forwardRef(
|
|
|
1153
1154
|
!a && i && "text-warning-11",
|
|
1154
1155
|
!a && !i && "text-surface-fg-muted"
|
|
1155
1156
|
),
|
|
1156
|
-
children:
|
|
1157
|
+
children: Lt(r.dueDate)
|
|
1157
1158
|
}
|
|
1158
1159
|
);
|
|
1159
1160
|
}
|
|
1160
1161
|
);
|
|
1161
1162
|
ue.displayName = "TaskActionRowDueDate";
|
|
1162
|
-
const
|
|
1163
|
+
const Ot = {
|
|
1163
1164
|
active: "active",
|
|
1164
1165
|
pending: "pending",
|
|
1165
1166
|
approved: "approved",
|
|
@@ -1170,11 +1171,11 @@ const Pt = {
|
|
|
1170
1171
|
draft: "draft"
|
|
1171
1172
|
}, me = n.forwardRef(
|
|
1172
1173
|
(t, e) => {
|
|
1173
|
-
const { task: r } =
|
|
1174
|
+
const { task: r } = P();
|
|
1174
1175
|
if (!r.stage) return null;
|
|
1175
|
-
const a = r.stage.toLowerCase(), i =
|
|
1176
|
+
const a = r.stage.toLowerCase(), i = Ot[a];
|
|
1176
1177
|
return i ? /* @__PURE__ */ s(
|
|
1177
|
-
|
|
1178
|
+
Ls,
|
|
1178
1179
|
{
|
|
1179
1180
|
ref: e,
|
|
1180
1181
|
status: i,
|
|
@@ -1251,7 +1252,7 @@ const os = n.forwardRef(
|
|
|
1251
1252
|
)
|
|
1252
1253
|
);
|
|
1253
1254
|
os.displayName = "TaskActionRow";
|
|
1254
|
-
const
|
|
1255
|
+
const cr = Object.assign(os, {
|
|
1255
1256
|
Root: ne,
|
|
1256
1257
|
Checkbox: ie,
|
|
1257
1258
|
Priority: oe,
|
|
@@ -1261,7 +1262,7 @@ const nr = Object.assign(os, {
|
|
|
1261
1262
|
DueDate: ue,
|
|
1262
1263
|
StatusBadge: me,
|
|
1263
1264
|
Navigate: fe
|
|
1264
|
-
}),
|
|
1265
|
+
}), _t = ["LOW", "MEDIUM", "HIGH", "URGENT"];
|
|
1265
1266
|
function S({
|
|
1266
1267
|
icon: t,
|
|
1267
1268
|
label: e,
|
|
@@ -1285,10 +1286,10 @@ function S({
|
|
|
1285
1286
|
}
|
|
1286
1287
|
);
|
|
1287
1288
|
}
|
|
1288
|
-
function
|
|
1289
|
+
function Ft({ priority: t }) {
|
|
1289
1290
|
return /* @__PURE__ */ o("div", { className: "flex items-center gap-ds-02b", children: [
|
|
1290
1291
|
/* @__PURE__ */ s("div", { className: h("h-2 w-2 rounded-ds-full", Fe[t]) }),
|
|
1291
|
-
/* @__PURE__ */ s("span", { className: "text-ds-md text-surface-fg", children:
|
|
1292
|
+
/* @__PURE__ */ s("span", { className: "text-ds-md text-surface-fg", children: yt[t] || t })
|
|
1292
1293
|
] });
|
|
1293
1294
|
}
|
|
1294
1295
|
const cs = n.forwardRef(
|
|
@@ -1307,15 +1308,15 @@ const cs = n.forwardRef(
|
|
|
1307
1308
|
onConfirmVisibilityChange: N,
|
|
1308
1309
|
...b
|
|
1309
1310
|
}, v) {
|
|
1310
|
-
const [y, w] = n.useState(""), [D, R] = n.useState(!1),
|
|
1311
|
+
const [y, w] = n.useState(""), [D, R] = n.useState(!1), k = e.assignees.map((l) => l.user.id), E = n.useMemo(
|
|
1311
1312
|
() => a.map((l) => ({ id: l.id, name: l.name, avatar: l.image ?? void 0 })),
|
|
1312
1313
|
[a]
|
|
1313
|
-
),
|
|
1314
|
+
), L = (l) => {
|
|
1314
1315
|
i("columnId", l);
|
|
1315
1316
|
}, j = (l) => {
|
|
1316
1317
|
i("ownerId", l === e.ownerId ? null : l);
|
|
1317
1318
|
}, pe = (l) => {
|
|
1318
|
-
|
|
1319
|
+
k.includes(l) ? f(l) : d(l);
|
|
1319
1320
|
}, O = (l) => {
|
|
1320
1321
|
i("priority", l);
|
|
1321
1322
|
}, I = (l) => {
|
|
@@ -1332,7 +1333,7 @@ const cs = n.forwardRef(
|
|
|
1332
1333
|
return;
|
|
1333
1334
|
}
|
|
1334
1335
|
i("visibility", l);
|
|
1335
|
-
}, $ = x ||
|
|
1336
|
+
}, $ = x || Ft;
|
|
1336
1337
|
return /* @__PURE__ */ o("div", { ref: v, className: h("space-y-ds-01", m), ...b, children: [
|
|
1337
1338
|
/* @__PURE__ */ s(S, { icon: Qs, label: "Column", children: p && !(u != null && u.includes("columnId")) ? /* @__PURE__ */ s("span", { className: "px-ds-03 py-ds-02 text-ds-md text-surface-fg", children: e.column.name }) : /* @__PURE__ */ o(ye, { children: [
|
|
1338
1339
|
/* @__PURE__ */ s(Re, { asChild: !0, children: /* @__PURE__ */ o(
|
|
@@ -1356,7 +1357,7 @@ const cs = n.forwardRef(
|
|
|
1356
1357
|
"button",
|
|
1357
1358
|
{
|
|
1358
1359
|
type: "button",
|
|
1359
|
-
onClick: () =>
|
|
1360
|
+
onClick: () => L(l.id),
|
|
1360
1361
|
className: h(
|
|
1361
1362
|
"flex w-full items-center gap-ds-03 rounded-ds-md px-ds-03 py-ds-02b text-left text-ds-md transition-colors",
|
|
1362
1363
|
"hover:bg-surface-3",
|
|
@@ -1375,7 +1376,7 @@ const cs = n.forwardRef(
|
|
|
1375
1376
|
!p && /* @__PURE__ */ s(S, { icon: et, label: "Owner", children: /* @__PURE__ */ s(
|
|
1376
1377
|
se,
|
|
1377
1378
|
{
|
|
1378
|
-
members:
|
|
1379
|
+
members: E,
|
|
1379
1380
|
selectedIds: e.ownerId ? [e.ownerId] : [],
|
|
1380
1381
|
onSelect: j,
|
|
1381
1382
|
children: /* @__PURE__ */ s(
|
|
@@ -1386,7 +1387,7 @@ const cs = n.forwardRef(
|
|
|
1386
1387
|
children: e.owner ? /* @__PURE__ */ o(ke, { children: [
|
|
1387
1388
|
/* @__PURE__ */ o(F, { className: "h-ico-md w-ico-md", children: [
|
|
1388
1389
|
e.owner.image && /* @__PURE__ */ s(B, { src: e.owner.image, alt: e.owner.name }),
|
|
1389
|
-
/* @__PURE__ */ s(V, { className: "bg-surface-3 text-ds-xs font-semibold text-
|
|
1390
|
+
/* @__PURE__ */ s(V, { className: "bg-surface-3 text-ds-xs font-semibold text-surface-fg", children: z(e.owner.name) })
|
|
1390
1391
|
] }),
|
|
1391
1392
|
/* @__PURE__ */ s("span", { className: "text-ds-md text-surface-fg", children: e.owner.name })
|
|
1392
1393
|
] }) : /* @__PURE__ */ s("span", { className: "text-ds-md text-surface-fg-subtle", children: "No owner" })
|
|
@@ -1402,7 +1403,7 @@ const cs = n.forwardRef(
|
|
|
1402
1403
|
children: [
|
|
1403
1404
|
/* @__PURE__ */ o(F, { className: "h-ico-sm w-ico-sm", children: [
|
|
1404
1405
|
l.user.image && /* @__PURE__ */ s(B, { src: l.user.image, alt: l.user.name }),
|
|
1405
|
-
/* @__PURE__ */ s(V, { className: "bg-surface-3 text-ds-xs font-semibold text-
|
|
1406
|
+
/* @__PURE__ */ s(V, { className: "bg-surface-3 text-ds-xs font-semibold text-surface-fg", children: z(l.user.name) })
|
|
1406
1407
|
] }),
|
|
1407
1408
|
/* @__PURE__ */ s("span", { className: "text-ds-sm text-surface-fg-muted", children: l.user.name.split(" ")[0] }),
|
|
1408
1409
|
!p && /* @__PURE__ */ s(
|
|
@@ -1422,8 +1423,8 @@ const cs = n.forwardRef(
|
|
|
1422
1423
|
!p && /* @__PURE__ */ s(
|
|
1423
1424
|
se,
|
|
1424
1425
|
{
|
|
1425
|
-
members:
|
|
1426
|
-
selectedIds:
|
|
1426
|
+
members: E,
|
|
1427
|
+
selectedIds: k,
|
|
1427
1428
|
onSelect: pe,
|
|
1428
1429
|
multiple: !0,
|
|
1429
1430
|
children: /* @__PURE__ */ s(
|
|
@@ -1439,7 +1440,7 @@ const cs = n.forwardRef(
|
|
|
1439
1440
|
),
|
|
1440
1441
|
p && e.assignees.length === 0 && /* @__PURE__ */ s("span", { className: "text-ds-md text-surface-fg-subtle", children: "None" })
|
|
1441
1442
|
] }) }),
|
|
1442
|
-
/* @__PURE__ */ s(S, { icon:
|
|
1443
|
+
/* @__PURE__ */ s(S, { icon: Le, label: "Priority", children: /* @__PURE__ */ o(ye, { children: [
|
|
1443
1444
|
/* @__PURE__ */ s(Re, { asChild: !0, children: /* @__PURE__ */ s(
|
|
1444
1445
|
"button",
|
|
1445
1446
|
{
|
|
@@ -1454,7 +1455,7 @@ const cs = n.forwardRef(
|
|
|
1454
1455
|
className: "w-[160px] border-surface-border-strong bg-surface-1 p-ds-02",
|
|
1455
1456
|
align: "start",
|
|
1456
1457
|
sideOffset: 4,
|
|
1457
|
-
children:
|
|
1458
|
+
children: _t.map((l) => /* @__PURE__ */ s(
|
|
1458
1459
|
"button",
|
|
1459
1460
|
{
|
|
1460
1461
|
type: "button",
|
|
@@ -1498,7 +1499,7 @@ const cs = n.forwardRef(
|
|
|
1498
1499
|
}
|
|
1499
1500
|
)
|
|
1500
1501
|
] }) }),
|
|
1501
|
-
/* @__PURE__ */ s(S, { icon:
|
|
1502
|
+
/* @__PURE__ */ s(S, { icon: Pe, label: "Labels", children: /* @__PURE__ */ o("div", { className: "flex flex-wrap items-center gap-ds-02b", children: [
|
|
1502
1503
|
e.labels.map((l) => /* @__PURE__ */ o(
|
|
1503
1504
|
"span",
|
|
1504
1505
|
{
|
|
@@ -1580,7 +1581,7 @@ const Te = [
|
|
|
1580
1581
|
{ id: "files", label: "Files", icon: re },
|
|
1581
1582
|
{ id: "activity", label: "Activity", icon: ae }
|
|
1582
1583
|
];
|
|
1583
|
-
function
|
|
1584
|
+
function Bt() {
|
|
1584
1585
|
return /* @__PURE__ */ o("div", { className: "space-y-ds-06 p-ds-06", children: [
|
|
1585
1586
|
/* @__PURE__ */ s(A, { className: "h-ds-xs-plus w-3/4 bg-surface-3" }),
|
|
1586
1587
|
/* @__PURE__ */ s("div", { className: "space-y-ds-04", children: Array.from({ length: 6 }).map((t, e) => /* @__PURE__ */ o("div", { className: "flex items-center gap-ds-04", children: [
|
|
@@ -1595,7 +1596,7 @@ function _t() {
|
|
|
1595
1596
|
] })
|
|
1596
1597
|
] });
|
|
1597
1598
|
}
|
|
1598
|
-
const
|
|
1599
|
+
const Vt = n.forwardRef(function({
|
|
1599
1600
|
task: e,
|
|
1600
1601
|
loading: r = !1,
|
|
1601
1602
|
open: a,
|
|
@@ -1614,9 +1615,9 @@ const Ft = n.forwardRef(function({
|
|
|
1614
1615
|
onUnassign: w,
|
|
1615
1616
|
onCreateSubtask: D,
|
|
1616
1617
|
onToggleSubtask: R,
|
|
1617
|
-
onRequestReview:
|
|
1618
|
-
onUpdateReviewStatus:
|
|
1619
|
-
onPostComment:
|
|
1618
|
+
onRequestReview: k,
|
|
1619
|
+
onUpdateReviewStatus: E,
|
|
1620
|
+
onPostComment: L,
|
|
1620
1621
|
onUploadFile: j,
|
|
1621
1622
|
onUploadDeliverable: pe,
|
|
1622
1623
|
onDeleteFile: O,
|
|
@@ -1630,7 +1631,7 @@ const Ft = n.forwardRef(function({
|
|
|
1630
1631
|
...ls
|
|
1631
1632
|
}, ds) {
|
|
1632
1633
|
var xe, Ne, ve;
|
|
1633
|
-
const [
|
|
1634
|
+
const [T, he] = n.useState(u ? "conversation" : "subtasks"), [Q, q] = n.useState(!1), [ge, G] = n.useState(""), Y = n.useRef(null);
|
|
1634
1635
|
n.useEffect(() => {
|
|
1635
1636
|
e && (G(e.title), q(!1));
|
|
1636
1637
|
}, [e == null ? void 0 : e.id]), n.useEffect(() => {
|
|
@@ -1649,12 +1650,12 @@ const Ft = n.forwardRef(function({
|
|
|
1649
1650
|
}, [D]), gs = n.useCallback((c, C) => {
|
|
1650
1651
|
R == null || R(c, C);
|
|
1651
1652
|
}, [R]), bs = n.useCallback((c) => {
|
|
1652
|
-
|
|
1653
|
-
}, [
|
|
1654
|
-
|
|
1655
|
-
}, [
|
|
1656
|
-
|
|
1657
|
-
}, [
|
|
1653
|
+
k == null || k(c);
|
|
1654
|
+
}, [k]), xs = n.useCallback((c, C, As) => {
|
|
1655
|
+
E == null || E(c, C, As);
|
|
1656
|
+
}, [E]), Ns = n.useCallback((c, C) => {
|
|
1657
|
+
L == null || L(c, C);
|
|
1658
|
+
}, [L]), vs = n.useCallback((c, C) => {
|
|
1658
1659
|
j == null || j(c, C);
|
|
1659
1660
|
}, [j]), ws = n.useCallback((c) => {
|
|
1660
1661
|
O == null || O(c);
|
|
@@ -1671,8 +1672,8 @@ const Ft = n.forwardRef(function({
|
|
|
1671
1672
|
Q && Y.current && (Y.current.focus(), Y.current.select());
|
|
1672
1673
|
}, [Q]);
|
|
1673
1674
|
const Cs = (xe = d.find((c) => c.isTerminal)) == null ? void 0 : xe.id, Ds = ((Ne = d.find((c) => c.isDefault)) == null ? void 0 : Ne.id) || ((ve = d[0]) == null ? void 0 : ve.id) || "", Is = u ? Te.filter((c) => c.id === "conversation") : Te, Ts = N.filter((c) => c.position === "before"), ks = N.filter((c) => c.position !== "before"), Es = p || (e == null ? void 0 : e.comments) || [];
|
|
1674
|
-
return /* @__PURE__ */ s(
|
|
1675
|
-
|
|
1675
|
+
return /* @__PURE__ */ s(nt, { open: a, onOpenChange: i, children: /* @__PURE__ */ o(
|
|
1676
|
+
it,
|
|
1676
1677
|
{
|
|
1677
1678
|
ref: ds,
|
|
1678
1679
|
side: "right",
|
|
@@ -1685,8 +1686,8 @@ const Ft = n.forwardRef(function({
|
|
|
1685
1686
|
),
|
|
1686
1687
|
...ls,
|
|
1687
1688
|
children: [
|
|
1688
|
-
/* @__PURE__ */ s(
|
|
1689
|
-
r || !e ? /* @__PURE__ */ s(
|
|
1689
|
+
/* @__PURE__ */ s(ct, { children: /* @__PURE__ */ s(ot, { children: (e == null ? void 0 : e.title) || "Task Details" }) }),
|
|
1690
|
+
r || !e ? /* @__PURE__ */ s(Bt, {}) : /* @__PURE__ */ o(ke, { children: [
|
|
1690
1691
|
/* @__PURE__ */ o("div", { className: "shrink-0 border-b border-surface-border-strong px-ds-06 pb-ds-05 pt-ds-06", children: [
|
|
1691
1692
|
!u && Q ? /* @__PURE__ */ s(
|
|
1692
1693
|
"input",
|
|
@@ -1733,7 +1734,7 @@ const Ft = n.forwardRef(function({
|
|
|
1733
1734
|
renderDatePicker: $
|
|
1734
1735
|
}
|
|
1735
1736
|
) }),
|
|
1736
|
-
/* @__PURE__ */ s("div", { className: "sticky top-0 z-raised bg-surface-1 px-ds-06", children: /* @__PURE__ */ s(
|
|
1737
|
+
/* @__PURE__ */ s("div", { className: "sticky top-0 z-raised bg-surface-1 px-ds-06", children: /* @__PURE__ */ s(dt, { value: T, onValueChange: us, children: /* @__PURE__ */ o(ut, { variant: "line", children: [
|
|
1737
1738
|
Ts.map((c) => /* @__PURE__ */ o(ee, { value: c.id, children: [
|
|
1738
1739
|
c.icon && /* @__PURE__ */ s("span", { className: "[&>svg]:h-ico-sm [&>svg]:w-ico-sm shrink-0", children: c.icon }),
|
|
1739
1740
|
c.label
|
|
@@ -1747,73 +1748,84 @@ const Ft = n.forwardRef(function({
|
|
|
1747
1748
|
c.label
|
|
1748
1749
|
] }, c.id))
|
|
1749
1750
|
] }) }) }),
|
|
1750
|
-
/* @__PURE__ */
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
{
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
|
|
1760
|
-
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
-
|
|
1792
|
-
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1751
|
+
/* @__PURE__ */ s(rt, { mode: "wait", children: /* @__PURE__ */ o(
|
|
1752
|
+
at.div,
|
|
1753
|
+
{
|
|
1754
|
+
initial: { opacity: 0 },
|
|
1755
|
+
animate: { opacity: 1 },
|
|
1756
|
+
exit: { opacity: 0 },
|
|
1757
|
+
transition: { duration: 0.15 },
|
|
1758
|
+
className: "px-ds-06 py-ds-05",
|
|
1759
|
+
children: [
|
|
1760
|
+
T === "subtasks" && /* @__PURE__ */ s(
|
|
1761
|
+
ss,
|
|
1762
|
+
{
|
|
1763
|
+
subtasks: e.subtasks ?? [],
|
|
1764
|
+
terminalColumnId: Cs,
|
|
1765
|
+
projectId: e.projectId,
|
|
1766
|
+
parentTaskId: e.id,
|
|
1767
|
+
defaultColumnId: Ds,
|
|
1768
|
+
onCreateSubtask: u ? X : hs,
|
|
1769
|
+
onToggleSubtask: u ? ys : gs,
|
|
1770
|
+
readOnly: u
|
|
1771
|
+
}
|
|
1772
|
+
),
|
|
1773
|
+
T === "review" && !u && /* @__PURE__ */ s(
|
|
1774
|
+
as,
|
|
1775
|
+
{
|
|
1776
|
+
reviews: e.reviewRequests,
|
|
1777
|
+
members: f,
|
|
1778
|
+
onRequestReview: bs,
|
|
1779
|
+
onUpdateStatus: xs
|
|
1780
|
+
}
|
|
1781
|
+
),
|
|
1782
|
+
T === "conversation" && /* @__PURE__ */ s(
|
|
1783
|
+
ts,
|
|
1784
|
+
{
|
|
1785
|
+
comments: Es,
|
|
1786
|
+
taskVisibility: e.visibility,
|
|
1787
|
+
onPostComment: Ns,
|
|
1788
|
+
clientMode: u,
|
|
1789
|
+
renderEditor: M,
|
|
1790
|
+
renderViewer: U
|
|
1791
|
+
}
|
|
1792
|
+
),
|
|
1793
|
+
T === "files" && /* @__PURE__ */ s(
|
|
1794
|
+
rs,
|
|
1795
|
+
{
|
|
1796
|
+
files: e.files ?? [],
|
|
1797
|
+
onUpload: u ? X : vs,
|
|
1798
|
+
onDelete: u ? X : ws,
|
|
1799
|
+
isUploading: l,
|
|
1800
|
+
readOnly: u
|
|
1801
|
+
}
|
|
1802
|
+
),
|
|
1803
|
+
T === "activity" && /* @__PURE__ */ s(ns, { activities: m }),
|
|
1804
|
+
N.map(
|
|
1805
|
+
(c) => T === c.id ? /* @__PURE__ */ s(n.Fragment, { children: c.content }, c.id) : null
|
|
1806
|
+
)
|
|
1807
|
+
]
|
|
1808
|
+
},
|
|
1809
|
+
T
|
|
1810
|
+
) })
|
|
1799
1811
|
] })
|
|
1800
1812
|
] })
|
|
1801
1813
|
]
|
|
1802
1814
|
}
|
|
1803
1815
|
) });
|
|
1804
1816
|
});
|
|
1805
|
-
|
|
1817
|
+
Vt.displayName = "TaskDetailPanel";
|
|
1806
1818
|
export {
|
|
1807
1819
|
ns as A,
|
|
1808
1820
|
ts as C,
|
|
1809
1821
|
rs as F,
|
|
1810
1822
|
qe as M,
|
|
1811
|
-
|
|
1823
|
+
yt as P,
|
|
1812
1824
|
as as R,
|
|
1813
1825
|
ss as S,
|
|
1814
|
-
|
|
1826
|
+
cr as T,
|
|
1815
1827
|
Ye as V,
|
|
1816
|
-
|
|
1828
|
+
Vt as a,
|
|
1817
1829
|
cs as b,
|
|
1818
1830
|
es as c,
|
|
1819
1831
|
Xe as d,
|
package/dist/dashboard/index.js
CHANGED
|
@@ -287,7 +287,7 @@ const be = {
|
|
|
287
287
|
"div",
|
|
288
288
|
{
|
|
289
289
|
className: b(
|
|
290
|
-
"flex h-8 w-10 items-center justify-center rounded-ds-md transition-
|
|
290
|
+
"flex h-8 w-10 items-center justify-center rounded-ds-md transition-[background-color,box-shadow] duration-fast-01 ease-productive-standard hover:ring-1 hover:ring-accent-7",
|
|
291
291
|
be[f]
|
|
292
292
|
)
|
|
293
293
|
}
|
package/dist/tasks/index.js
CHANGED
|
@@ -287,7 +287,7 @@ const ve = i.forwardRef(
|
|
|
287
287
|
return u ? /* @__PURE__ */ e("div", { className: p("inline-flex items-center gap-ds-03 px-ds-03 py-ds-02", h), children: t ? /* @__PURE__ */ c(E, { children: [
|
|
288
288
|
/* @__PURE__ */ c(M, { className: "h-ico-md w-ico-md", children: [
|
|
289
289
|
t.image && /* @__PURE__ */ e(O, { src: t.image, alt: t.name }),
|
|
290
|
-
/* @__PURE__ */ e(A, { className: "bg-surface-3 text-ds-xs font-semibold text-
|
|
290
|
+
/* @__PURE__ */ e(A, { className: "bg-surface-3 text-ds-xs font-semibold text-surface-fg", children: L(t.name) })
|
|
291
291
|
] }),
|
|
292
292
|
/* @__PURE__ */ e("span", { className: "text-ds-md text-surface-fg", children: t.name })
|
|
293
293
|
] }) : /* @__PURE__ */ e("span", { className: "text-ds-md text-surface-fg-subtle", children: f }) }) : /* @__PURE__ */ e(
|
|
@@ -308,7 +308,7 @@ const ve = i.forwardRef(
|
|
|
308
308
|
children: t ? /* @__PURE__ */ c(E, { children: [
|
|
309
309
|
/* @__PURE__ */ c(M, { className: "h-ico-md w-ico-md", children: [
|
|
310
310
|
t.image && /* @__PURE__ */ e(O, { src: t.image, alt: t.name }),
|
|
311
|
-
/* @__PURE__ */ e(A, { className: "bg-surface-3 text-ds-xs font-semibold text-
|
|
311
|
+
/* @__PURE__ */ e(A, { className: "bg-surface-3 text-ds-xs font-semibold text-surface-fg", children: L(t.name) })
|
|
312
312
|
] }),
|
|
313
313
|
/* @__PURE__ */ e("span", { className: "text-ds-md text-surface-fg", children: t.name })
|
|
314
314
|
] }) : /* @__PURE__ */ e("span", { className: "text-ds-md text-surface-fg-subtle", children: f })
|
|
@@ -338,7 +338,7 @@ const Te = i.forwardRef(
|
|
|
338
338
|
children: [
|
|
339
339
|
/* @__PURE__ */ c(M, { className: "h-ico-sm w-ico-sm", children: [
|
|
340
340
|
a.image && /* @__PURE__ */ e(O, { src: a.image, alt: a.name }),
|
|
341
|
-
/* @__PURE__ */ e(A, { className: "bg-surface-3 text-ds-xs font-semibold text-
|
|
341
|
+
/* @__PURE__ */ e(A, { className: "bg-surface-3 text-ds-xs font-semibold text-surface-fg", children: L(a.name) })
|
|
342
342
|
] }),
|
|
343
343
|
/* @__PURE__ */ e("span", { className: "text-ds-sm text-surface-fg-muted", children: a.name.split(" ")[0] }),
|
|
344
344
|
!u && /* @__PURE__ */ e(
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task-detail-panel.d.ts","sourceRoot":"","sources":["../../src/tasks/task-detail-panel.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;
|
|
1
|
+
{"version":3,"file":"task-detail-panel.d.ts","sourceRoot":"","sources":["../../src/tasks/task-detail-panel.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAW9B,OAAO,EAAkB,KAAK,MAAM,EAAE,KAAK,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAC5E,OAAO,EAAe,KAAK,OAAO,EAAE,MAAM,gBAAgB,CAAA;AAC1D,OAAO,EAAa,KAAK,aAAa,EAAE,MAAM,cAAc,CAAA;AAC5D,OAAO,EAAmB,KAAK,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAClE,OAAO,EAAY,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAA;AACrD,OAAO,EAAe,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAA;AAahE,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAA;IACV,KAAK,EAAE,MAAM,CAAA;IACb,WAAW,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE;QAAE,EAAE,EAAE,MAAM,CAAC;QAAC,IAAI,EAAE,MAAM,CAAA;KAAE,CAAA;IACpC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,KAAK,EAAE,MAAM,GAAG,IAAI,CAAA;IACpB,QAAQ,EAAE,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,QAAQ,CAAA;IAC9C,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,MAAM,EAAE,MAAM,EAAE,CAAA;IAChB,UAAU,EAAE,UAAU,GAAG,UAAU,CAAA;IACnC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,CAAA;IACb,SAAS,EAAE,OAAO,CAAA;IAClB,SAAS,EAAE;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,EAAE,CAAA;IAC7B,QAAQ,EAAE,OAAO,EAAE,CAAA;IACnB,cAAc,EAAE,aAAa,EAAE,CAAA;IAC/B,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAA;IACpB,KAAK,EAAE,QAAQ,EAAE,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,SAAS,EAAE,MAAM,CAAA;IACjB,oGAAoG;IACpG,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACnC;AAED,MAAM,WAAW,QAAQ;IACvB,qBAAqB;IACrB,EAAE,EAAE,MAAM,CAAA;IACV,uBAAuB;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,mCAAmC;IACnC,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,wBAAwB;IACxB,OAAO,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,2DAA2D;IAC3D,QAAQ,CAAC,EAAE,QAAQ,GAAG,OAAO,CAAA;CAC9B;AAED,UAAU,oBAAqB,SAAQ,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC,EAAE,UAAU,CAAC;IAC3F,IAAI,EAAE,QAAQ,GAAG,IAAI,CAAA;IACrB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,EAAE,OAAO,CAAA;IACb,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,OAAO,EAAE,MAAM,EAAE,CAAA;IACjB,UAAU,CAAC,EAAE,aAAa,EAAE,CAAA;IAC5B,4DAA4D;IAC5D,gBAAgB,CAAC,EAAE,OAAO,EAAE,GAAG,IAAI,CAAA;IACnC,uDAAuD;IACvD,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,kEAAkE;IAClE,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAA;IAC/B,uEAAuE;IACvE,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC5B,6DAA6D;IAC7D,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAA;IAGtB,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,OAAO,KAAK,IAAI,CAAA;IAC1D,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACrC,eAAe,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IACzC,eAAe,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,UAAU,EAAE,OAAO,KAAK,IAAI,CAAA;IAC/D,eAAe,CAAC,EAAE,CAAC,UAAU,EAAE,MAAM,KAAK,IAAI,CAAA;IAC9C,oBAAoB,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACpF,aAAa,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,UAAU,GAAG,QAAQ,KAAK,IAAI,CAAA;IAC5E,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACnD,4EAA4E;IAC5E,mBAAmB,CAAC,EAAE,CAAC,IAAI,EAAE,IAAI,EAAE,aAAa,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IAClE,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAA;IACvC,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAA;IAEnC,oEAAoE;IACpE,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE;QACrB,OAAO,EAAE,MAAM,CAAA;QACf,QAAQ,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAA;QACnC,WAAW,EAAE,MAAM,CAAA;KACpB,KAAK,KAAK,CAAC,SAAS,CAAA;IACrB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,OAAO,EAAE,MAAM,CAAC;QAAC,SAAS,CAAC,EAAE,MAAM,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAA;IAClF,4CAA4C;IAC5C,uBAAuB,CAAC,EAAE,CAAC,KAAK,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAA;KAAE,KAAK,KAAK,CAAC,SAAS,CAAA;IAC1E,qCAAqC;IACrC,gBAAgB,CAAC,EAAE,CAAC,KAAK,EAAE;QACzB,KAAK,EAAE,IAAI,GAAG,IAAI,CAAA;QAClB,QAAQ,EAAE,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,KAAK,IAAI,CAAA;QACrC,WAAW,EAAE,MAAM,CAAA;QACnB,SAAS,CAAC,EAAE,MAAM,CAAA;KACnB,KAAK,KAAK,CAAC,SAAS,CAAA;IAErB,WAAW,CAAC,EAAE,OAAO,CAAA;CACtB;AAkDD,QAAA,MAAM,eAAe,6FAyUnB,CAAA;AAIF,OAAO,EAAE,eAAe,EAAE,CAAA;AAC1B,YAAY,EAAE,oBAAoB,EAAE,CAAA"}
|