@iamfiro/design 0.3.0 → 0.3.2
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/agents/avatar/AGENTS.md +29 -1
- package/agents/tooltip/AGENTS.md +1 -1
- package/lib/components/Accordion/Accordion2.js +76 -76
- package/lib/components/ActionBar/ActionBar2.js +43 -43
- package/lib/components/Alert/Alert2.js +46 -46
- package/lib/components/AppShell/AppShell2.js +58 -58
- package/lib/components/AreaChart/AreaChart.js +39 -40
- package/lib/components/BarChart/BarChart2.js +169 -169
- package/lib/components/BarList/BarList2.js +99 -99
- package/lib/components/Breadcrumb/Breadcrumb2.js +65 -66
- package/lib/components/Calendar/Calendar2.js +172 -171
- package/lib/components/Calendar/DatePicker2.js +101 -102
- package/lib/components/Calendar/date.js +71 -71
- package/lib/components/Card/Card2.js +55 -56
- package/lib/components/CardFrame/CardFrame2.js +52 -52
- package/lib/components/Chart/ChartParts.js +90 -90
- package/lib/components/Chart/chart2.js +52 -52
- package/lib/components/Chart/useChartInteraction.js +44 -44
- package/lib/components/ChatBubble/ChatBubble2.js +112 -112
- package/lib/components/ChatBubble/formatChatTime.js +44 -42
- package/lib/components/ChatComposer/ChatComposer2.js +94 -94
- package/lib/components/CodeBlock/CodeBlock2.js +66 -66
- package/lib/components/CodeBlock/highlight.js +67 -70
- package/lib/components/ColorPicker/ColorPicker2.js +404 -405
- package/lib/components/ColorPicker/color.js +81 -81
- package/lib/components/ColorPicker/presets.js +44 -43
- package/lib/components/Combobox/Combobox2.js +128 -128
- package/lib/components/CommandMenu/CommandMenu.js +137 -137
- package/lib/components/Comment/Comment2.js +55 -80
- package/lib/components/ContextMenu/ContextMenu2.js +93 -94
- package/lib/components/DataGrid/DataGrid2.js +1181 -1180
- package/lib/components/DataGrid/GridPopover.js +112 -112
- package/lib/components/DataGrid/anchor.js +23 -25
- package/lib/components/DataGrid/model.js +274 -275
- package/lib/components/DataGrid/panels.js +423 -423
- package/lib/components/DataGrid/typeMeta.js +21 -22
- package/lib/components/DataGrid/types.js +38 -37
- package/lib/components/DescriptionList/DescriptionList2.js +107 -107
- package/lib/components/Dialog/AlertDialog.js +53 -53
- package/lib/components/Dialog/Dialog2.js +71 -70
- package/lib/components/Dialog/modal.js +59 -58
- package/lib/components/Drawer/Drawer2.js +123 -124
- package/lib/components/DropdownMenu/DropdownMenu2.js +198 -200
- package/lib/components/DropdownMenu/menuCore.js +46 -47
- package/lib/components/Dropzone/Dropzone2.js +77 -77
- package/lib/components/EmptyState/EmptyState2.js +57 -56
- package/lib/components/FileChip/FileChip2.js +71 -71
- package/lib/components/FileUpload/FileUpload.js +119 -119
- package/lib/components/FilterChips/FilterChips2.js +61 -61
- package/lib/components/FunnelChart/FunnelChart2.js +141 -141
- package/lib/components/FunnelChart/funnel.js +51 -51
- package/lib/components/Highlight/Highlight2.js +54 -54
- package/lib/components/HoverCard/HoverCard.js +108 -83
- package/lib/components/InlineDiff/InlineDiff2.js +126 -126
- package/lib/components/InlineDiff/diff.js +82 -82
- package/lib/components/InlineDiff/useDiffReview.js +62 -60
- package/lib/components/Kanban/Kanban2.js +382 -382
- package/lib/components/Kanban/KanbanCard.js +92 -92
- package/lib/components/Kanban/move.js +45 -49
- package/lib/components/LineChart/LineChart2.js +207 -207
- package/lib/components/List/List2.js +71 -71
- package/lib/components/Listbox/Listbox2.js +115 -115
- package/lib/components/Marker/Marker2.js +67 -60
- package/lib/components/Menubar/Menubar2.js +130 -133
- package/lib/components/MultiSelect/MultiSelect2.js +104 -104
- package/lib/components/NavigationMenu/NavigationMenu2.js +261 -262
- package/lib/components/NoticeStack/NoticeStack2.js +105 -105
- package/lib/components/NumberStepper/NumberStepper2.js +67 -67
- package/lib/components/OtpInput/OtpInput2.js +66 -67
- package/lib/components/Pagination/Pagination2.js +90 -90
- package/lib/components/Pagination/paginationRange.js +24 -24
- package/lib/components/PhoneInput/PhoneInput.js +74 -74
- package/lib/components/PieChart/PieChart2.js +119 -119
- package/lib/components/PieChart/arc.js +63 -42
- package/lib/components/PieChart/useArcTween.js +56 -54
- package/lib/components/Popover/Popover2.js +61 -61
- package/lib/components/ProgressTracker/ProgressTracker2.js +127 -127
- package/lib/components/Rating/Rating2.js +81 -81
- package/lib/components/Resizable/Resizable2.js +112 -110
- package/lib/components/Resizable/layout.js +50 -50
- package/lib/components/ScaledPreview/ScaledPreview2.js +49 -50
- package/lib/components/ScatterChart/ScatterChart2.js +226 -227
- package/lib/components/ScatterChart/scatter.js +59 -57
- package/lib/components/ScrollArea/ScrollArea2.js +112 -112
- package/lib/components/Select/Select2.js +79 -79
- package/lib/components/Sidebar/Sidebar2.js +79 -79
- package/lib/components/Skeleton/Skeleton2.js +68 -68
- package/lib/components/Slider/Slider2.js +78 -77
- package/lib/components/SocialLoginButton/SocialLoginButton.js +65 -66
- package/lib/components/SparkChart/SparkChart2.js +146 -145
- package/lib/components/SparkChart/spark.js +41 -67
- package/lib/components/Sparkbar/Sparkbar2.js +61 -60
- package/lib/components/SplitView/SplitView2.js +53 -53
- package/lib/components/Stat/Stat2.js +94 -94
- package/lib/components/StepList/StepList2.js +70 -70
- package/lib/components/Table/Table2.js +63 -63
- package/lib/components/Tabs/Tabs2.js +70 -70
- package/lib/components/TagInput/TagInput2.js +236 -239
- package/lib/components/TimePicker/TimePicker2.js +231 -232
- package/lib/components/TimePicker/time.js +63 -65
- package/lib/components/Timeline/Timeline2.js +167 -167
- package/lib/components/Timeline/scale.js +55 -55
- package/lib/components/Toast/Toaster.js +151 -152
- package/lib/components/Toast/store.js +90 -87
- package/lib/components/ToggleGroup/ToggleGroup2.js +91 -91
- package/lib/components/Toolbar/Toolbar2.js +145 -145
- package/lib/components/Tracker/Tracker2.js +76 -76
- package/lib/components/TreeDiagram/TreeDiagram2.js +112 -111
- package/lib/components/TreeView/TreeView2.js +124 -124
- package/lib/hooks/timing.js +30 -29
- package/lib/hooks/useControllableState.js +37 -36
- package/lib/hooks/useCountdown.js +56 -59
- package/lib/hooks/useDigitInput.js +52 -78
- package/lib/hooks/useDismiss.js +58 -57
- package/lib/hooks/useElapsed.js +54 -54
- package/lib/hooks/useFloating.js +26 -26
- package/lib/hooks/useFocusTrap.js +42 -42
- package/lib/hooks/usePresence.js +49 -48
- package/lib/hooks/usePressToOpen.js +42 -41
- package/lib/hooks/useScrollLock.js +45 -44
- package/lib/hooks/useSelection.js +45 -39
- package/lib/index.js +71 -71
- package/lib/primitives/AspectRatio2.js +60 -60
- package/lib/primitives/BrandIcon.js +161 -161
- package/lib/primitives/ColorDot2.js +42 -45
- package/lib/primitives/CopyButton2.js +57 -56
- package/lib/primitives/CountBadge2.js +55 -51
- package/lib/primitives/Countdown2.js +41 -46
- package/lib/primitives/Delta2.js +36 -36
- package/lib/primitives/Elapsed.js +49 -49
- package/lib/primitives/FileIcon2.js +96 -96
- package/lib/primitives/Flag2.js +135 -135
- package/lib/primitives/IconStack2.js +38 -60
- package/lib/primitives/IconTile2.js +28 -29
- package/lib/primitives/Kbd2.js +50 -50
- package/lib/primitives/Layout2.js +71 -71
- package/lib/primitives/Link2.js +32 -31
- package/lib/primitives/MaskedText2.js +49 -74
- package/lib/primitives/Progress2.js +65 -66
- package/lib/primitives/RelativeTime.js +58 -57
- package/lib/primitives/SearchInput2.js +65 -65
- package/lib/primitives/SelectorButton2.js +74 -73
- package/lib/primitives/Spinner2.js +50 -50
- package/lib/primitives/StatusIcon2.js +68 -68
- package/lib/primitives/Swatch2.js +59 -55
- package/lib/primitives/Tooltip2.js +81 -81
- package/lib/primitives/Typography2.js +53 -53
- package/lib/primitives/formatCountdown.js +21 -22
- package/lib/primitives/formatElapsed.js +43 -42
- package/lib/primitives/formatRelativeTime.js +50 -50
- package/lib/primitives/hotkey.js +82 -82
- package/lib/primitives/index.js +193 -174
- package/lib/primitives/maskValue.js +28 -28
- package/lib/style.css +1 -1
- package/lib/types/primitives/index.d.ts +6 -2
- package/package.json +1 -1
|
@@ -1,113 +1,144 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
const e =
|
|
2
|
+
const e = p;
|
|
3
3
|
(function(e, t) {
|
|
4
|
-
let
|
|
4
|
+
let n = p, r = e();
|
|
5
5
|
for (;;) try {
|
|
6
|
-
if (
|
|
7
|
-
|
|
6
|
+
if (parseInt(n(395)) / 1 * (-parseInt(n(409)) / 2) + parseInt(n(398)) / 3 + -parseInt(n(396)) / 4 + -parseInt(n(407)) / 5 * (parseInt(n(397)) / 6) + -parseInt(n(405)) / 7 + parseInt(n(403)) / 8 + parseInt(n(406)) / 9 == t) break;
|
|
7
|
+
r.push(r.shift());
|
|
8
8
|
} catch {
|
|
9
|
-
|
|
9
|
+
r.push(r.shift());
|
|
10
10
|
}
|
|
11
|
-
})(
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
11
|
+
})(t, 299008);
|
|
12
|
+
function t() {
|
|
13
|
+
let e = [
|
|
14
|
+
"C3bHBG",
|
|
15
|
+
"mtq0mda0mg9iuunNva",
|
|
16
|
+
"zgvMyxvSDa",
|
|
17
|
+
"mJiWmJGZCfz4qwXL",
|
|
18
|
+
"mZm3mtmZn09fu0vIsG",
|
|
19
|
+
"nJe2mZbrtxfOBuO",
|
|
20
|
+
"DgvYDgLHCNK",
|
|
21
|
+
"nMfMrvPhvW",
|
|
22
|
+
"yMv0D2vLBG",
|
|
23
|
+
"Dg9Uzq",
|
|
24
|
+
"zg9Uzq",
|
|
25
|
+
"BwvKAxvT",
|
|
26
|
+
"BwfW",
|
|
27
|
+
"CMfPC2vK",
|
|
28
|
+
"Dg90ywW",
|
|
29
|
+
"yM9KEs1ZBq",
|
|
30
|
+
"nJC5mZfgA2zdBKS",
|
|
31
|
+
"odyZnJiWwvbMwM12",
|
|
32
|
+
"mtuWvuT3qNbL",
|
|
33
|
+
"mtuXmte4muv0uwDrBW",
|
|
34
|
+
"C2vJB25Kyxj5",
|
|
35
|
+
"y2fWDgLVBG",
|
|
36
|
+
"BgvUz3rO"
|
|
37
|
+
];
|
|
38
|
+
return t = function() {
|
|
39
|
+
return e;
|
|
40
|
+
}, t();
|
|
41
|
+
}
|
|
42
|
+
import { Text as n } from "../../primitives/Typography2.js";
|
|
43
|
+
import { Inline as r, Stack as i } from "../../primitives/Layout2.js";
|
|
44
|
+
import { AvatarGroup as a, Badge as o } from "../../primitives/index.js";
|
|
45
|
+
import { Card as s, CardBody as c } from "../Card/Card2.js";
|
|
46
|
+
import { CalendarDays as l, ListChecks as u, MessageSquare as d, Paperclip as f } from "lucide-react";
|
|
47
|
+
function p(e, n) {
|
|
48
|
+
e -= 388;
|
|
49
|
+
let r = t(), i = r[e];
|
|
50
|
+
p.BiSxuU === void 0 && (p.bAGfdG = function(e) {
|
|
17
51
|
let t = "", n = "";
|
|
18
52
|
for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
|
|
19
53
|
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
20
54
|
return decodeURIComponent(n);
|
|
21
|
-
},
|
|
55
|
+
}, p.fUkirv = {}, p.BiSxuU = !0);
|
|
22
56
|
let a = r[0];
|
|
23
|
-
|
|
24
|
-
let o =
|
|
25
|
-
return o === void 0 ? (i =
|
|
57
|
+
p.pdWQCs !== a && (p.fUkirv = {}, p.pdWQCs = a);
|
|
58
|
+
let o = p.fUkirv[e];
|
|
59
|
+
return o === void 0 ? (i = p.bAGfdG(i), p.fUkirv[e] = i) : i = o, i;
|
|
26
60
|
}
|
|
27
|
-
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
function h({ icon: n, tone: i = e(253), children: a }) {
|
|
33
|
-
return p(t, {
|
|
34
|
-
variant: "caption",
|
|
61
|
+
import { jsx as m, jsxs as h } from "react/jsx-runtime";
|
|
62
|
+
function g({ icon: t, tone: i = e(408), children: a }) {
|
|
63
|
+
let o = e;
|
|
64
|
+
return m(n, {
|
|
65
|
+
variant: o(400),
|
|
35
66
|
tone: i,
|
|
36
67
|
numeric: !0,
|
|
37
|
-
children:
|
|
38
|
-
as:
|
|
68
|
+
children: h(r, {
|
|
69
|
+
as: o(402),
|
|
39
70
|
gap: 1,
|
|
40
71
|
wrap: !1,
|
|
41
|
-
children: [
|
|
72
|
+
children: [t, a]
|
|
42
73
|
})
|
|
43
74
|
});
|
|
44
75
|
}
|
|
45
|
-
function
|
|
46
|
-
let E = e, D = y != null || x != null || !!S || !!C || w != null || !!v?.[E(
|
|
47
|
-
return
|
|
48
|
-
variant: E(T ?
|
|
76
|
+
function _({ title: t, description: p, labels: _, assignees: v, due: y, dueTone: b = e(404), checklist: x, comments: S, attachments: C, meta: w, dragging: T }) {
|
|
77
|
+
let E = e, D = y != null || x != null || !!S || !!C || w != null || !!v?.[E(401)], O = x != null && x[E(393)] > 0 && x.done >= x[E(393)];
|
|
78
|
+
return m(s, {
|
|
79
|
+
variant: E(T ? 392 : 404),
|
|
49
80
|
padding: "sm",
|
|
50
|
-
children:
|
|
81
|
+
children: m(c, { children: h(i, {
|
|
51
82
|
gap: 2,
|
|
52
83
|
children: [
|
|
53
|
-
!!_?.
|
|
84
|
+
!!_?.length && m(r, {
|
|
54
85
|
gap: 1,
|
|
55
|
-
children: _[E(
|
|
86
|
+
children: _[E(391)]((e, t) => m(o, {
|
|
56
87
|
size: "sm",
|
|
57
|
-
tone: e[E(
|
|
58
|
-
children: e
|
|
88
|
+
tone: e[E(388)],
|
|
89
|
+
children: e.label
|
|
59
90
|
}, t))
|
|
60
91
|
}),
|
|
61
|
-
|
|
92
|
+
h(i, {
|
|
62
93
|
gap: 1,
|
|
63
|
-
children: [
|
|
64
|
-
variant:
|
|
65
|
-
weight: E(
|
|
94
|
+
children: [m(n, {
|
|
95
|
+
variant: "label-md",
|
|
96
|
+
weight: E(390),
|
|
66
97
|
lineClamp: 3,
|
|
67
|
-
children:
|
|
68
|
-
}),
|
|
69
|
-
variant: E(
|
|
70
|
-
tone:
|
|
98
|
+
children: t
|
|
99
|
+
}), p != null && m(n, {
|
|
100
|
+
variant: E(394),
|
|
101
|
+
tone: E(399),
|
|
71
102
|
lineClamp: 2,
|
|
72
|
-
children:
|
|
103
|
+
children: p
|
|
73
104
|
})]
|
|
74
105
|
}),
|
|
75
|
-
D &&
|
|
106
|
+
D && h(r, {
|
|
76
107
|
gap: 3,
|
|
77
|
-
justify: E(
|
|
108
|
+
justify: E(410),
|
|
78
109
|
wrap: !1,
|
|
79
|
-
children: [
|
|
110
|
+
children: [h(r, {
|
|
80
111
|
gap: 3,
|
|
81
112
|
children: [
|
|
82
|
-
y != null &&
|
|
83
|
-
icon:
|
|
113
|
+
y != null && m(g, {
|
|
114
|
+
icon: m(l, {
|
|
84
115
|
size: 13,
|
|
85
116
|
"aria-hidden": !0
|
|
86
117
|
}),
|
|
87
|
-
tone: b === E(
|
|
118
|
+
tone: b === E(404) ? E(408) : b,
|
|
88
119
|
children: y
|
|
89
120
|
}),
|
|
90
|
-
x != null &&
|
|
91
|
-
icon:
|
|
121
|
+
x != null && h(g, {
|
|
122
|
+
icon: m(u, {
|
|
92
123
|
size: 13,
|
|
93
124
|
"aria-hidden": !0
|
|
94
125
|
}),
|
|
95
|
-
tone: O ? "success" : E(
|
|
126
|
+
tone: O ? "success" : E(408),
|
|
96
127
|
children: [
|
|
97
|
-
x[E(
|
|
128
|
+
x[E(389)],
|
|
98
129
|
"/",
|
|
99
|
-
x[E(
|
|
130
|
+
x[E(393)]
|
|
100
131
|
]
|
|
101
132
|
}),
|
|
102
|
-
!!S &&
|
|
103
|
-
icon:
|
|
133
|
+
!!S && m(g, {
|
|
134
|
+
icon: m(d, {
|
|
104
135
|
size: 13,
|
|
105
136
|
"aria-label": "댓글"
|
|
106
137
|
}),
|
|
107
138
|
children: S
|
|
108
139
|
}),
|
|
109
|
-
!!C &&
|
|
110
|
-
icon:
|
|
140
|
+
!!C && m(g, {
|
|
141
|
+
icon: m(f, {
|
|
111
142
|
size: 13,
|
|
112
143
|
"aria-label": "첨부"
|
|
113
144
|
}),
|
|
@@ -115,7 +146,7 @@ function g({ title: n, description: g, labels: _, assignees: v, due: y, dueTone:
|
|
|
115
146
|
}),
|
|
116
147
|
w
|
|
117
148
|
]
|
|
118
|
-
}), !!v?.[E(
|
|
149
|
+
}), !!v?.[E(401)] && m(a, {
|
|
119
150
|
names: v,
|
|
120
151
|
size: 22,
|
|
121
152
|
max: 3
|
|
@@ -125,35 +156,4 @@ function g({ title: n, description: g, labels: _, assignees: v, due: y, dueTone:
|
|
|
125
156
|
}) })
|
|
126
157
|
});
|
|
127
158
|
}
|
|
128
|
-
|
|
129
|
-
let e = [
|
|
130
|
-
"BgfIzwW",
|
|
131
|
-
"Dg90ywW",
|
|
132
|
-
"ntG2ote0nMXxsLfOzW",
|
|
133
|
-
"ndjAu011DNO",
|
|
134
|
-
"BwvKAxvT",
|
|
135
|
-
"mtyXntzvrNDNzee",
|
|
136
|
-
"BgvUz3rO",
|
|
137
|
-
"zg9Uzq",
|
|
138
|
-
"Dg9Uzq",
|
|
139
|
-
"odu4odK2qxrIAfnH",
|
|
140
|
-
"DgvYDgLHCNK",
|
|
141
|
-
"mZzwugHewMG",
|
|
142
|
-
"ode3nZe2r1nVEfvb",
|
|
143
|
-
"CMfPC2vK",
|
|
144
|
-
"yMv0D2vLBG",
|
|
145
|
-
"yM9KEs1ZBq",
|
|
146
|
-
"BgfIzwWTBwq",
|
|
147
|
-
"mtC5odLgvMjyyvy",
|
|
148
|
-
"zgvMyxvSDa",
|
|
149
|
-
"mJKXmJe2ogvpBKrKwa",
|
|
150
|
-
"ndqWmJKWmhfdB1bfqG",
|
|
151
|
-
"C3bHBG",
|
|
152
|
-
"ode1vKn1A09b",
|
|
153
|
-
"BwfW"
|
|
154
|
-
];
|
|
155
|
-
return _ = function() {
|
|
156
|
-
return e;
|
|
157
|
-
}, _();
|
|
158
|
-
}
|
|
159
|
-
export { g as KanbanCard };
|
|
159
|
+
export { _ as KanbanCard };
|
|
@@ -1,69 +1,65 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
function
|
|
3
|
-
n
|
|
4
|
-
let i = t(), a = i[n];
|
|
5
|
-
e.IfAQsl === void 0 && (e.GEDwtm = function(e) {
|
|
6
|
-
let t = "", n = "";
|
|
7
|
-
for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
|
|
8
|
-
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
9
|
-
return decodeURIComponent(n);
|
|
10
|
-
}, e.ddwhFI = {}, e.IfAQsl = !0);
|
|
11
|
-
let o = i[0];
|
|
12
|
-
e.Trvrwv !== o && (e.ddwhFI = {}, e.Trvrwv = o);
|
|
13
|
-
let s = e.ddwhFI[n];
|
|
14
|
-
return s === void 0 ? (a = e.GEDwtm(a), e.ddwhFI[n] = a) : a = s, a;
|
|
15
|
-
}
|
|
16
|
-
(function(t, n) {
|
|
17
|
-
let r = e, i = t();
|
|
2
|
+
(function(e, t) {
|
|
3
|
+
let n = r, i = e();
|
|
18
4
|
for (;;) try {
|
|
19
|
-
if (
|
|
5
|
+
if (parseInt(n(295)) / 1 * (-parseInt(n(294)) / 2) + parseInt(n(297)) / 3 + -parseInt(n(292)) / 4 + -parseInt(n(289)) / 5 + parseInt(n(296)) / 6 + parseInt(n(290)) / 7 + parseInt(n(288)) / 8 == t) break;
|
|
20
6
|
i.push(i.shift());
|
|
21
7
|
} catch {
|
|
22
8
|
i.push(i.shift());
|
|
23
9
|
}
|
|
24
|
-
})(t,
|
|
10
|
+
})(t, 444523);
|
|
11
|
+
function e(e, t, n) {
|
|
12
|
+
let i = r, a, o = {};
|
|
13
|
+
for (let [n, r] of Object.entries(e)) o[n] = r[i(299)]((e) => e.id !== t || (a = e, !1));
|
|
14
|
+
if (!a) return e;
|
|
15
|
+
let s = [...o[n.columnId] ?? []];
|
|
16
|
+
return s[i(291)](Math[i(287)](0, Math.min(n[i(298)], s.length)), 0, a), o[n[i(293)]] = s, o;
|
|
17
|
+
}
|
|
25
18
|
function t() {
|
|
26
19
|
let e = [
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"ndK4s0XZBwn4",
|
|
33
|
-
"mJa3otyYne5wwwnwEq",
|
|
34
|
-
"mtG1txjPDefV",
|
|
35
|
-
"mZa3ntGWwKfQAvfx",
|
|
36
|
-
"mJDIrhvfq1y",
|
|
37
|
-
"mJyXmNzgu2jnAG",
|
|
38
|
-
"nZq4ntC4mfDSC2jVva",
|
|
20
|
+
"mty4otC0nLnkBw9Oqq",
|
|
21
|
+
"mvzLBuL1EG",
|
|
22
|
+
"mJi0odjMrgHOv0y",
|
|
23
|
+
"nteXndmXDuXju1Dc",
|
|
24
|
+
"Aw5KzxG",
|
|
39
25
|
"zMLSDgvY",
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
26
|
+
"Bwf4",
|
|
27
|
+
"mti4mJmWmdbyEMjXEvC",
|
|
28
|
+
"ndm5odu1mgrxtuXeBq",
|
|
29
|
+
"mJG3mJK2ohPWyvjpza",
|
|
30
|
+
"C3bSAwnL",
|
|
31
|
+
"nZm2nJHqEM5qteO",
|
|
32
|
+
"y29SDw1Uswq"
|
|
43
33
|
];
|
|
44
34
|
return t = function() {
|
|
45
35
|
return e;
|
|
46
36
|
}, t();
|
|
47
37
|
}
|
|
48
|
-
function n(
|
|
49
|
-
let
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
return s.splice(Math[i(482)](0, Math.min(r.index, s[i(476)])), 0, a), o[r.columnId] = s, o;
|
|
54
|
-
}
|
|
55
|
-
function r(t, n) {
|
|
56
|
-
let r = e;
|
|
57
|
-
for (let [e, i] of Object[r(480)](t)) {
|
|
58
|
-
let t = i[r(478)]((e) => e.id === n);
|
|
59
|
-
if (t >= 0) return {
|
|
60
|
-
item: i[t],
|
|
38
|
+
function n(e, t) {
|
|
39
|
+
for (let [n, r] of Object.entries(e)) {
|
|
40
|
+
let e = r.findIndex((e) => e.id === t);
|
|
41
|
+
if (e >= 0) return {
|
|
42
|
+
item: r[e],
|
|
61
43
|
position: {
|
|
62
|
-
columnId:
|
|
63
|
-
index:
|
|
44
|
+
columnId: n,
|
|
45
|
+
index: e
|
|
64
46
|
}
|
|
65
47
|
};
|
|
66
48
|
}
|
|
67
49
|
return null;
|
|
68
50
|
}
|
|
69
|
-
|
|
51
|
+
function r(e, n) {
|
|
52
|
+
e -= 287;
|
|
53
|
+
let i = t(), a = i[e];
|
|
54
|
+
r.rlnpmh === void 0 && (r.useFzB = function(e) {
|
|
55
|
+
let t = "", n = "";
|
|
56
|
+
for (let n = 0, r, i, a = 0; i = e.charAt(a++); ~i && (r = n % 4 ? r * 64 + i : i, n++ % 4) && (t += String.fromCharCode(255 & r >> (-2 * n & 6)))) i = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=".indexOf(i);
|
|
57
|
+
for (let e = 0, r = t.length; e < r; e++) n += "%" + ("00" + t.charCodeAt(e).toString(16)).slice(-2);
|
|
58
|
+
return decodeURIComponent(n);
|
|
59
|
+
}, r.xHjaSq = {}, r.rlnpmh = !0);
|
|
60
|
+
let o = i[0];
|
|
61
|
+
r.DxAMUw !== o && (r.xHjaSq = {}, r.DxAMUw = o);
|
|
62
|
+
let s = r.xHjaSq[e];
|
|
63
|
+
return s === void 0 ? (a = r.useFzB(a), r.xHjaSq[e] = a) : a = s, a;
|
|
64
|
+
}
|
|
65
|
+
export { n as locateKanbanItem, e as moveKanbanItem };
|