@pstdio/ui 0.41.0 → 0.42.0
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/{MermaidComponent-BCiI63_G.js → MermaidComponent-D7vhkpka.js} +2 -2
- package/dist/{MermaidComponent-BCiI63_G.js.map → MermaidComponent-D7vhkpka.js.map} +1 -1
- package/dist/alert-MQ47wy7f.js +388 -0
- package/dist/alert-MQ47wy7f.js.map +1 -0
- package/dist/chat-ui.d.ts +36 -5
- package/dist/chat-ui.js +1777 -1422
- package/dist/chat-ui.js.map +1 -1
- package/dist/collection-view-fields-D3cysHNT.d.ts +232 -0
- package/dist/collection-view-grouping-D4nZk8-3.js +90 -0
- package/dist/collection-view-grouping-D4nZk8-3.js.map +1 -0
- package/dist/collection-view-search-CpjJy76w.js +1973 -0
- package/dist/collection-view-search-CpjJy76w.js.map +1 -0
- package/dist/collection-view.d.ts +4 -0
- package/dist/collection-view.js +2 -0
- package/dist/{data-table-stats-row-EiTEONdY.js → data-table-stats-row-64magT2g.js} +2 -2
- package/dist/{data-table-stats-row-EiTEONdY.js.map → data-table-stats-row-64magT2g.js.map} +1 -1
- package/dist/data-table.d.ts +3 -1
- package/dist/data-table.js +279 -277
- package/dist/data-table.js.map +1 -1
- package/dist/{diff-drawer-BwZBOObe.js → diff-drawer-IYpQ-QQK.js} +192 -191
- package/dist/diff-drawer-IYpQ-QQK.js.map +1 -0
- package/dist/{diff-viewer-kOOd7C7h.js → diff-viewer-C-0VAt9P.js} +4 -4
- package/dist/{diff-viewer-kOOd7C7h.js.map → diff-viewer-C-0VAt9P.js.map} +1 -1
- package/dist/diff.js +2 -2
- package/dist/{display-sort-control-DPxc0e5z.js → display-sort-control-f3rbILsV.js} +87 -86
- package/dist/{display-sort-control-DPxc0e5z.js.map → display-sort-control-f3rbILsV.js.map} +1 -1
- package/dist/drop-indicator-HjlBSIeV.js +27 -0
- package/dist/drop-indicator-HjlBSIeV.js.map +1 -0
- package/dist/edit-mode-data-table-DnMB2jiy.js +1449 -0
- package/dist/edit-mode-data-table-DnMB2jiy.js.map +1 -0
- package/dist/host-storage-BIo5azql.js +31 -0
- package/dist/host-storage-BIo5azql.js.map +1 -0
- package/dist/host-storage-J0089Hyk.d.ts +17 -0
- package/dist/icon-options-Tt6Wzhtv.js +308 -0
- package/dist/icon-options-Tt6Wzhtv.js.map +1 -0
- package/dist/{index-C9mywhyX.d.ts → index-B79hwNcB.d.ts} +17 -1
- package/dist/index-CKsd23jv.d.ts +80 -0
- package/dist/{index-D3UJyWWh.d.ts → index-ICoad2I_.d.ts} +4 -223
- package/dist/index.d.ts +22 -6
- package/dist/index.js +1174 -1112
- package/dist/index.js.map +1 -1
- package/dist/kanban-renderer.d.ts +2 -1
- package/dist/kanban-renderer.js +531 -528
- package/dist/kanban-renderer.js.map +1 -1
- package/dist/list-row-Z4SHkseA.js +1195 -0
- package/dist/list-row-Z4SHkseA.js.map +1 -0
- package/dist/markdown-editor-Dd4mor7l.js +3236 -0
- package/dist/markdown-editor-Dd4mor7l.js.map +1 -0
- package/dist/number-input-7K66wnSC.js +63 -0
- package/dist/number-input-7K66wnSC.js.map +1 -0
- package/dist/param-editor-Dnix-fJo.js +225 -0
- package/dist/param-editor-Dnix-fJo.js.map +1 -0
- package/dist/param-editor-field-B3vLST-B.js +2394 -0
- package/dist/param-editor-field-B3vLST-B.js.map +1 -0
- package/dist/param-editor.js +4 -2
- package/dist/prism-OG4H7Hu4.js +334 -0
- package/dist/prism-OG4H7Hu4.js.map +1 -0
- package/dist/queued-follow-up-Bj_vtMgd.js +208 -0
- package/dist/queued-follow-up-Bj_vtMgd.js.map +1 -0
- package/dist/rich-text-BgEnAHr2.js +1160 -0
- package/dist/rich-text-BgEnAHr2.js.map +1 -0
- package/dist/rich-text.d.ts +1 -1
- package/dist/rich-text.js +4 -2
- package/dist/terminal.js +1 -1
- package/dist/{theme-at0rtSnX.js → theme-CMJdH59Z.js} +224 -90
- package/dist/theme-CMJdH59Z.js.map +1 -0
- package/dist/theme.js +1 -1
- package/dist/tree-list-jarhD31R.js +1652 -0
- package/dist/tree-list-jarhD31R.js.map +1 -0
- package/dist/use-virtualizer-uj43XjBp.js +10 -0
- package/dist/use-virtualizer-uj43XjBp.js.map +1 -0
- package/dist/{host-storage-DP0RLj4i.d.ts → workspace-badge-BKtB805G.d.ts} +6 -16
- package/package.json +6 -2
- package/dist/chat-question-bubble-w2vMbFsS.js +0 -68
- package/dist/chat-question-bubble-w2vMbFsS.js.map +0 -1
- package/dist/diff-drawer-BwZBOObe.js.map +0 -1
- package/dist/list-row-DM0DiIrN.js +0 -1167
- package/dist/list-row-DM0DiIrN.js.map +0 -1
- package/dist/prism-JVIsQMoJ.js +0 -1029
- package/dist/prism-JVIsQMoJ.js.map +0 -1
- package/dist/rich-text-DM24VNQZ.js +0 -10447
- package/dist/rich-text-DM24VNQZ.js.map +0 -1
- package/dist/theme-at0rtSnX.js.map +0 -1
- package/dist/tree-list-Cqgl8mnN.js +0 -1621
- package/dist/tree-list-Cqgl8mnN.js.map +0 -1
package/dist/kanban-renderer.js
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { n,
|
|
3
|
-
import {
|
|
4
|
-
import { o, t as
|
|
5
|
-
import { t as
|
|
6
|
-
import {
|
|
7
|
-
import { a as
|
|
8
|
-
import {
|
|
9
|
-
import { c as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
1
|
+
import { n as e, t } from "./scroll-area-Cr1lNXAr.js";
|
|
2
|
+
import { t as n, u as r } from "./list-row-Z4SHkseA.js";
|
|
3
|
+
import { s as i } from "./prism-OG4H7Hu4.js";
|
|
4
|
+
import { o as a, t as o } from "./workspace-badge-DrvH8WKV.js";
|
|
5
|
+
import { t as s } from "./empty-state-3mVV_pV-.js";
|
|
6
|
+
import { t as c } from "./icon-options-Tt6Wzhtv.js";
|
|
7
|
+
import { D as l, E as u, O as d, S as f, T as p, _ as m, a as h, c as g, g as _, h as v, i as y, m as b, n as x, o as S, r as C, s as w, w as T, x as E, y as D } from "./collection-view-search-CpjJy76w.js";
|
|
8
|
+
import { a as O, i as k, r as A } from "./collection-view-grouping-D4nZk8-3.js";
|
|
9
|
+
import { c as j, i as M, m as N, r as P, t as F } from "./param-editor-field-B3vLST-B.js";
|
|
10
|
+
import { a as I, c as L, d as R, f as ee, l as z, n as B, o as V, p as H, r as U, s as te, t as ne, u as re } from "./display-sort-control-f3rbILsV.js";
|
|
11
|
+
import { Badge as ie, Box as W, Button as G, CloseButton as ae, Dialog as oe, HStack as K, Icon as q, IconButton as se, Input as ce, Menu as J, Portal as le, Spacer as ue, Stack as de, Text as Y, Textarea as fe, VStack as pe, Wrap as me } from "@chakra-ui/react";
|
|
12
|
+
import { c as X } from "react/compiler-runtime";
|
|
13
|
+
import { Fragment as he, jsx as Z, jsxs as Q } from "react/jsx-runtime";
|
|
14
|
+
import { useDeferredValue as ge, useEffect as _e, useReducer as ve, useRef as ye, useState as $ } from "react";
|
|
12
15
|
import { Check as be, ChevronDown as xe, ChevronRight as Se, ListFilter as Ce, MoreHorizontal as we, Paperclip as Te, Plus as Ee, Square as De, SquareCheck as Oe } from "lucide-react";
|
|
13
16
|
//#region src/components/kanban-renderer/kanban-renderer-action.ts
|
|
14
17
|
var ke = async (e, t, n) => {
|
|
@@ -19,22 +22,22 @@ var ke = async (e, t, n) => {
|
|
|
19
22
|
n(t, e);
|
|
20
23
|
}
|
|
21
24
|
}, Ae = (e, t) => {
|
|
22
|
-
let { attributes: n, columnGrouping: r, rowGrouping: i, knownColumnKeys: a, structureRows: o = e } = t, s =
|
|
23
|
-
return (s ?
|
|
25
|
+
let { attributes: n, columnGrouping: r, rowGrouping: i, knownColumnKeys: a, structureRows: o = e } = t, s = u(n, r), c = u(n, i), l = s ? A(o, s) : [];
|
|
26
|
+
return (s ? A(e, s, a ?? l.map((e) => e.key)) : [{
|
|
24
27
|
key: "all",
|
|
25
28
|
label: "All",
|
|
26
29
|
rows: e
|
|
27
30
|
}]).map((e) => {
|
|
28
|
-
let t = s ? l.find((t) => t.key === e.key)?.rows ?? [] : o, n = c ?
|
|
31
|
+
let t = s ? l.find((t) => t.key === e.key)?.rows ?? [] : o, n = c ? A(t, c).map((e) => e.key) : [];
|
|
29
32
|
return {
|
|
30
33
|
...e,
|
|
31
|
-
subgroups: c ?
|
|
34
|
+
subgroups: c ? A(e.rows, c, n) : []
|
|
32
35
|
};
|
|
33
36
|
});
|
|
34
37
|
}, je = (e, t, n) => {
|
|
35
|
-
let r = {}, i =
|
|
38
|
+
let r = {}, i = u(n, t);
|
|
36
39
|
if (!i) return r;
|
|
37
|
-
for (let t of e) for (let e of
|
|
40
|
+
for (let t of e) for (let e of _(t, i)) r[e] = (r[e] ?? 0) + 1;
|
|
38
41
|
return r;
|
|
39
42
|
}, Me = (e) => {
|
|
40
43
|
let t = e.attributes.id;
|
|
@@ -45,37 +48,37 @@ var ke = async (e, t, n) => {
|
|
|
45
48
|
...l(e),
|
|
46
49
|
...s.flatMap((t) => {
|
|
47
50
|
let n = b(i, t);
|
|
48
|
-
return n ?
|
|
51
|
+
return n ? v(e, n) : [];
|
|
49
52
|
})
|
|
50
|
-
], d =
|
|
53
|
+
], d = g(t, n, r), f = x(d, o, u), m = Ae(d, {
|
|
51
54
|
attributes: i,
|
|
52
55
|
columnGrouping: a.columnGrouping,
|
|
53
|
-
rowGrouping:
|
|
56
|
+
rowGrouping: p
|
|
54
57
|
});
|
|
55
58
|
return {
|
|
56
59
|
filteredRows: d,
|
|
57
60
|
visibleRows: f,
|
|
58
|
-
columnTotals: new Map(
|
|
61
|
+
columnTotals: new Map(m.map((e) => [e.key, e.rows.length]))
|
|
59
62
|
};
|
|
60
63
|
}, Pe = (e) => {
|
|
61
|
-
let { grouped: t, settings: n, sorts: r, fields: i, attributes: a, search: o, columnTotals: s } = e, { getBoardColumnConfig: c, getRowContextMenuActions:
|
|
64
|
+
let { grouped: t, settings: n, sorts: r, fields: i, attributes: a, search: o, columnTotals: s } = e, { getBoardColumnConfig: c, getRowContextMenuActions: l, onAttributeChange: d, onActionError: f, onRowClick: p } = e, m = n.displayProperties.filter((e) => e !== "id"), h = n.displayProperties.includes("id"), g = u(a, n.columnGrouping), _ = (e) => k(e, r, i).map((e) => ({
|
|
62
65
|
id: e.id,
|
|
63
|
-
contextMenuActions:
|
|
66
|
+
contextMenuActions: l?.(e),
|
|
64
67
|
cardProps: {
|
|
65
|
-
eyebrow:
|
|
68
|
+
eyebrow: h ? Me(e) : void 0,
|
|
66
69
|
title: e.title,
|
|
67
70
|
highlight: o,
|
|
68
|
-
badges:
|
|
69
|
-
customSlots:
|
|
71
|
+
badges: L(e, a, m),
|
|
72
|
+
customSlots: z(e, a, m),
|
|
70
73
|
onBadgeChange: d ? (t, n) => ke("Update attribute", () => d(e.id, t, n), f) : void 0,
|
|
71
74
|
onClick: () => p?.(e)
|
|
72
75
|
}
|
|
73
76
|
}));
|
|
74
77
|
return t.map((e) => {
|
|
75
|
-
let t = c?.(e.key) ?? {}, n =
|
|
78
|
+
let t = c?.(e.key) ?? {}, n = g ? E(g.type, e.key) : void 0, r = e.subgroups.length > 0 ? e.subgroups.map((e) => ({
|
|
76
79
|
key: e.key,
|
|
77
80
|
label: e.label,
|
|
78
|
-
items:
|
|
81
|
+
items: _(e.rows)
|
|
79
82
|
})) : void 0;
|
|
80
83
|
return {
|
|
81
84
|
id: e.key,
|
|
@@ -86,7 +89,7 @@ var ke = async (e, t, n) => {
|
|
|
86
89
|
canDragOut: t.canDragOut ?? !1,
|
|
87
90
|
canCreate: t.canCreate ?? !1,
|
|
88
91
|
actions: t.actions ?? [],
|
|
89
|
-
items:
|
|
92
|
+
items: _(e.rows),
|
|
90
93
|
groups: r,
|
|
91
94
|
totalCount: s?.get(e.key)
|
|
92
95
|
};
|
|
@@ -98,30 +101,30 @@ var ke = async (e, t, n) => {
|
|
|
98
101
|
let { settings: t, sorts: n, rowId: r, targetGroupKey: i, beforeItemId: a, onAttributeChange: o, onReorder: s } = e;
|
|
99
102
|
t.rowGrouping !== "none" && o && (await o(r, t.rowGrouping, i), n.length === 0 && await s?.(r, a));
|
|
100
103
|
}, Le = (e) => {
|
|
101
|
-
let t =
|
|
102
|
-
t[0] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */
|
|
103
|
-
let o = `${n} filter ${n === 1 ? "rule hides" : "rules hide"} all ${r} ${r === 1 ? "item" : "items"}.`,
|
|
104
|
-
t[1] === i ?
|
|
104
|
+
let t = X(6), { ruleCount: n, hiddenCount: r, onEditFilter: i } = e, a;
|
|
105
|
+
t[0] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ Z(q, { as: Ce }), t[0] = a) : a = t[0];
|
|
106
|
+
let o = `${n} filter ${n === 1 ? "rule hides" : "rules hide"} all ${r} ${r === 1 ? "item" : "items"}.`, c;
|
|
107
|
+
t[1] === i ? c = t[2] : (c = i ? /* @__PURE__ */ Q(G, {
|
|
105
108
|
size: "2xs",
|
|
106
109
|
variant: "outline",
|
|
107
110
|
onClick: i,
|
|
108
|
-
children: [/* @__PURE__ */
|
|
109
|
-
}) : null, t[1] = i, t[2] =
|
|
111
|
+
children: [/* @__PURE__ */ Z(Ce, {}), " Edit filter"]
|
|
112
|
+
}) : null, t[1] = i, t[2] = c);
|
|
110
113
|
let l;
|
|
111
|
-
return t[3] !== o || t[4] !==
|
|
114
|
+
return t[3] !== o || t[4] !== c ? (l = /* @__PURE__ */ Z(s, {
|
|
112
115
|
role: "status",
|
|
113
116
|
size: "sm",
|
|
114
117
|
flexShrink: "0",
|
|
115
118
|
icon: a,
|
|
116
119
|
title: "Nothing matches this view",
|
|
117
120
|
description: o,
|
|
118
|
-
children:
|
|
119
|
-
}), t[3] = o, t[4] =
|
|
120
|
-
}, Re = (
|
|
121
|
-
let r =
|
|
122
|
-
r[0] === i.icon ? l = r[1] : (l =
|
|
121
|
+
children: c
|
|
122
|
+
}), t[3] = o, t[4] = c, t[5] = l) : l = t[5], l;
|
|
123
|
+
}, Re = (t) => {
|
|
124
|
+
let r = X(26), { column: i, onCreateStart: a, onColumnAction: o } = t, s = i.color ?? "gray", l;
|
|
125
|
+
r[0] === i.icon ? l = r[1] : (l = c(i.icon), r[0] = i.icon, r[1] = l);
|
|
123
126
|
let u;
|
|
124
|
-
r[2] === l ? u = r[3] : (u = /* @__PURE__ */
|
|
127
|
+
r[2] === l ? u = r[3] : (u = /* @__PURE__ */ Z(q, {
|
|
125
128
|
"data-testid": "column-status-icon",
|
|
126
129
|
as: l,
|
|
127
130
|
boxSize: "0.875rem",
|
|
@@ -129,69 +132,69 @@ var ke = async (e, t, n) => {
|
|
|
129
132
|
flexShrink: 0
|
|
130
133
|
}), r[2] = l, r[3] = u);
|
|
131
134
|
let d;
|
|
132
|
-
r[4] === i.label ? d = r[5] : (d = /* @__PURE__ */
|
|
135
|
+
r[4] === i.label ? d = r[5] : (d = /* @__PURE__ */ Z(Y, {
|
|
133
136
|
textStyle: "label/S/medium",
|
|
134
137
|
children: i.label
|
|
135
138
|
}), r[4] = i.label, r[5] = d);
|
|
136
139
|
let f = i.totalCount ? `${i.items.length} of ${i.totalCount}` : i.items.length, p;
|
|
137
|
-
r[6] === f ? p = r[7] : (p = /* @__PURE__ */
|
|
140
|
+
r[6] === f ? p = r[7] : (p = /* @__PURE__ */ Z(ie, {
|
|
138
141
|
variant: "number",
|
|
139
142
|
size: "xs",
|
|
140
143
|
colorPalette: "gray",
|
|
141
144
|
children: f
|
|
142
145
|
}), r[6] = f, r[7] = p);
|
|
143
146
|
let m;
|
|
144
|
-
r[8] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */
|
|
147
|
+
r[8] === Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ Z(ue, {}), r[8] = m) : m = r[8];
|
|
145
148
|
let h;
|
|
146
|
-
r[9] !== i.canCreate || r[10] !== i.createLabel || r[11] !== i.id || r[12] !==
|
|
149
|
+
r[9] !== i.canCreate || r[10] !== i.createLabel || r[11] !== i.id || r[12] !== a ? (h = i.canCreate && a && /* @__PURE__ */ Z(e, {
|
|
147
150
|
content: i.createLabel ?? "Create new row",
|
|
148
|
-
children: /* @__PURE__ */
|
|
151
|
+
children: /* @__PURE__ */ Z(se, {
|
|
149
152
|
size: "2xs",
|
|
150
153
|
variant: "outline",
|
|
151
|
-
onClick: () =>
|
|
154
|
+
onClick: () => a(i.id),
|
|
152
155
|
"aria-label": i.createLabel ?? "Create row",
|
|
153
|
-
children: /* @__PURE__ */
|
|
156
|
+
children: /* @__PURE__ */ Z(q, {
|
|
154
157
|
as: Ee,
|
|
155
158
|
boxSize: "12px"
|
|
156
159
|
})
|
|
157
160
|
})
|
|
158
|
-
}), r[9] = i.canCreate, r[10] = i.createLabel, r[11] = i.id, r[12] =
|
|
161
|
+
}), r[9] = i.canCreate, r[10] = i.createLabel, r[11] = i.id, r[12] = a, r[13] = h) : h = r[13];
|
|
159
162
|
let g;
|
|
160
|
-
r[14] !== i.actions || r[15] !== i.id || r[16] !== i.label || r[17] !==
|
|
163
|
+
r[14] !== i.actions || r[15] !== i.id || r[16] !== i.label || r[17] !== o ? (g = i.actions.length > 0 && /* @__PURE__ */ Q(J.Root, { children: [/* @__PURE__ */ Z(J.Trigger, {
|
|
161
164
|
asChild: !0,
|
|
162
|
-
children: /* @__PURE__ */
|
|
165
|
+
children: /* @__PURE__ */ Z(se, {
|
|
163
166
|
size: "2xs",
|
|
164
167
|
variant: "ghost",
|
|
165
168
|
"aria-label": `Column actions for ${i.label}`,
|
|
166
|
-
children: /* @__PURE__ */
|
|
169
|
+
children: /* @__PURE__ */ Z(q, {
|
|
167
170
|
as: we,
|
|
168
171
|
boxSize: "12px"
|
|
169
172
|
})
|
|
170
173
|
})
|
|
171
|
-
}), /* @__PURE__ */
|
|
174
|
+
}), /* @__PURE__ */ Z(J.Positioner, { children: /* @__PURE__ */ Z(J.Content, {
|
|
172
175
|
minW: "180px",
|
|
173
176
|
bg: "bg",
|
|
174
|
-
children: i.actions.map((e) => /* @__PURE__ */
|
|
177
|
+
children: i.actions.map((e) => /* @__PURE__ */ Z(J.Item, {
|
|
175
178
|
value: e.id,
|
|
176
179
|
asChild: !0,
|
|
177
|
-
children: /* @__PURE__ */
|
|
180
|
+
children: /* @__PURE__ */ Z(n, {
|
|
178
181
|
asChild: !0,
|
|
179
182
|
variant: "full-width",
|
|
180
183
|
label: e.label,
|
|
181
|
-
icon: /* @__PURE__ */
|
|
184
|
+
icon: /* @__PURE__ */ Z(q, {
|
|
182
185
|
as: e.icon,
|
|
183
186
|
boxSize: "16px"
|
|
184
187
|
}),
|
|
185
|
-
onActivate: () =>
|
|
188
|
+
onActivate: () => o?.(i.id, e.id)
|
|
186
189
|
})
|
|
187
190
|
}, e.id))
|
|
188
|
-
}) })] }), r[14] = i.actions, r[15] = i.id, r[16] = i.label, r[17] =
|
|
191
|
+
}) })] }), r[14] = i.actions, r[15] = i.id, r[16] = i.label, r[17] = o, r[18] = g) : g = r[18];
|
|
189
192
|
let _;
|
|
190
|
-
return r[19] !==
|
|
193
|
+
return r[19] !== s || r[20] !== u || r[21] !== d || r[22] !== p || r[23] !== h || r[24] !== g ? (_ = /* @__PURE__ */ Q(K, {
|
|
191
194
|
minH: "1.5rem",
|
|
192
195
|
gap: "2xs",
|
|
193
196
|
alignItems: "center",
|
|
194
|
-
colorPalette:
|
|
197
|
+
colorPalette: s,
|
|
195
198
|
children: [
|
|
196
199
|
u,
|
|
197
200
|
d,
|
|
@@ -200,53 +203,53 @@ var ke = async (e, t, n) => {
|
|
|
200
203
|
h,
|
|
201
204
|
g
|
|
202
205
|
]
|
|
203
|
-
}), r[19] =
|
|
204
|
-
}, ze = (e) => e.stopPropagation(), Be = (e) => Array.isArray(e.value) ? e.value : e.value ? [e.value] : [], Ve = (e, t) => e.includes(t) ? e.filter((e) => e !== t) : [...e, t], He = (e) => e.color ? `${e.color}.fg` : "fg.muted", Ue = (e) => e.isMultiValue ? e.isSelected ? /* @__PURE__ */
|
|
205
|
-
let
|
|
206
|
-
if (
|
|
206
|
+
}), r[19] = s, r[20] = u, r[21] = d, r[22] = p, r[23] = h, r[24] = g, r[25] = _) : _ = r[25], _;
|
|
207
|
+
}, ze = (e) => e.stopPropagation(), Be = (e) => Array.isArray(e.value) ? e.value : e.value ? [e.value] : [], Ve = (e, t) => e.includes(t) ? e.filter((e) => e !== t) : [...e, t], He = (e) => e.color ? `${e.color}.fg` : "fg.muted", Ue = (e) => e.isMultiValue ? e.isSelected ? /* @__PURE__ */ Z(Oe, { size: 14 }) : /* @__PURE__ */ Z(De, { size: 14 }) : e.isSelected ? /* @__PURE__ */ Z(be, { size: 14 }) : null, We = (e) => {
|
|
208
|
+
let t = X(49), { badge: r, onChange: i } = e, a, o, s, l, u, d, f, p, m, h, g, _, v, y;
|
|
209
|
+
if (t[0] !== r || t[1] !== i) {
|
|
207
210
|
y = Symbol.for("react.early_return_sentinel");
|
|
208
211
|
bb0: {
|
|
209
212
|
let e = r.options ?? [], b = !!(i && r.isEditable && e.length > 0), x = Array.isArray(r.value), S = Be(r), C;
|
|
210
|
-
|
|
213
|
+
t[16] === Symbol.for("react.memo_cache_sentinel") ? (C = {
|
|
211
214
|
onClick: ze,
|
|
212
215
|
onPointerDown: ze,
|
|
213
216
|
onKeyDown: ze
|
|
214
|
-
},
|
|
217
|
+
}, t[16] = C) : C = t[16];
|
|
215
218
|
let w = C, T = (e) => {
|
|
216
219
|
let t;
|
|
217
220
|
t = x ? Ve(S, e) : S.includes(e) ? "" : e, i?.(r.attributeId, t);
|
|
218
221
|
}, E;
|
|
219
|
-
|
|
220
|
-
as:
|
|
222
|
+
t[17] === r ? E = t[18] : (E = r.icon ? /* @__PURE__ */ Z(q, {
|
|
223
|
+
as: c(r.icon),
|
|
221
224
|
boxSize: "3.5",
|
|
222
225
|
color: He(r)
|
|
223
|
-
}) : null,
|
|
226
|
+
}) : null, t[17] = r, t[18] = E);
|
|
224
227
|
let D;
|
|
225
|
-
|
|
228
|
+
t[19] === b ? D = t[20] : (D = b ? /* @__PURE__ */ Z(q, {
|
|
226
229
|
as: xe,
|
|
227
230
|
boxSize: "3",
|
|
228
231
|
color: "fg.muted"
|
|
229
|
-
}) : null,
|
|
232
|
+
}) : null, t[19] = b, t[20] = D);
|
|
230
233
|
let O;
|
|
231
|
-
|
|
234
|
+
t[21] !== r.label || t[22] !== E || t[23] !== D ? (O = /* @__PURE__ */ Q(he, { children: [
|
|
232
235
|
E,
|
|
233
236
|
r.label,
|
|
234
237
|
D
|
|
235
|
-
] }),
|
|
238
|
+
] }), t[21] = r.label, t[22] = E, t[23] = D, t[24] = O) : O = t[24];
|
|
236
239
|
let k = O;
|
|
237
240
|
if (!b) {
|
|
238
241
|
let e;
|
|
239
|
-
|
|
242
|
+
t[25] === k ? e = t[26] : (e = /* @__PURE__ */ Z(ie, {
|
|
240
243
|
variant: "ticket",
|
|
241
244
|
gap: "2xs",
|
|
242
245
|
textStyle: "label/XS/medium",
|
|
243
246
|
children: k
|
|
244
|
-
}),
|
|
247
|
+
}), t[25] = k, t[26] = e), y = e;
|
|
245
248
|
break bb0;
|
|
246
249
|
}
|
|
247
|
-
l =
|
|
250
|
+
l = J.Root, _ = !x, t[27] === k ? v = t[28] : (v = /* @__PURE__ */ Z(J.Trigger, {
|
|
248
251
|
asChild: !0,
|
|
249
|
-
children: /* @__PURE__ */
|
|
252
|
+
children: /* @__PURE__ */ Z(ie, {
|
|
250
253
|
as: "span",
|
|
251
254
|
role: "button",
|
|
252
255
|
tabIndex: 0,
|
|
@@ -259,27 +262,27 @@ var ke = async (e, t, n) => {
|
|
|
259
262
|
onKeyDown: ze,
|
|
260
263
|
children: k
|
|
261
264
|
})
|
|
262
|
-
}),
|
|
263
|
-
let
|
|
264
|
-
return /* @__PURE__ */
|
|
265
|
+
}), t[27] = k, t[28] = v), s = le, o = J.Positioner, a = J.Content, u = "180px", d = "0", f = "0", p = ze, m = ze, h = ze, g = e.map((e) => {
|
|
266
|
+
let t = S.includes(e.value);
|
|
267
|
+
return /* @__PURE__ */ Z(J.Item, {
|
|
265
268
|
value: e.value,
|
|
266
269
|
asChild: !0,
|
|
267
|
-
children: /* @__PURE__ */
|
|
270
|
+
children: /* @__PURE__ */ Z(n, {
|
|
268
271
|
asChild: !0,
|
|
269
272
|
role: x ? "menuitemcheckbox" : "menuitemradio",
|
|
270
|
-
"aria-checked":
|
|
273
|
+
"aria-checked": t,
|
|
271
274
|
variant: "full-width",
|
|
272
275
|
id: e.value,
|
|
273
276
|
label: e.label,
|
|
274
|
-
icon: /* @__PURE__ */
|
|
275
|
-
as:
|
|
277
|
+
icon: /* @__PURE__ */ Z(q, {
|
|
278
|
+
as: c(e.icon),
|
|
276
279
|
boxSize: "16px"
|
|
277
280
|
}),
|
|
278
281
|
iconColor: `${e.color ?? "gray"}.500`,
|
|
279
|
-
isSelected:
|
|
282
|
+
isSelected: t,
|
|
280
283
|
endContent: Ue({
|
|
281
284
|
isMultiValue: x,
|
|
282
|
-
isSelected:
|
|
285
|
+
isSelected: t
|
|
283
286
|
}),
|
|
284
287
|
onActivate: () => T(e.value),
|
|
285
288
|
...w
|
|
@@ -287,11 +290,11 @@ var ke = async (e, t, n) => {
|
|
|
287
290
|
}, e.value);
|
|
288
291
|
});
|
|
289
292
|
}
|
|
290
|
-
|
|
291
|
-
} else
|
|
293
|
+
t[0] = r, t[1] = i, t[2] = a, t[3] = o, t[4] = s, t[5] = l, t[6] = u, t[7] = d, t[8] = f, t[9] = p, t[10] = m, t[11] = h, t[12] = g, t[13] = _, t[14] = v, t[15] = y;
|
|
294
|
+
} else a = t[2], o = t[3], s = t[4], l = t[5], u = t[6], d = t[7], f = t[8], p = t[9], m = t[10], h = t[11], g = t[12], _ = t[13], v = t[14], y = t[15];
|
|
292
295
|
if (y !== Symbol.for("react.early_return_sentinel")) return y;
|
|
293
296
|
let b;
|
|
294
|
-
|
|
297
|
+
t[29] !== a || t[30] !== u || t[31] !== d || t[32] !== f || t[33] !== p || t[34] !== m || t[35] !== h || t[36] !== g ? (b = /* @__PURE__ */ Z(a, {
|
|
295
298
|
minW: u,
|
|
296
299
|
p: d,
|
|
297
300
|
gap: f,
|
|
@@ -299,65 +302,65 @@ var ke = async (e, t, n) => {
|
|
|
299
302
|
onPointerDown: m,
|
|
300
303
|
onKeyDown: h,
|
|
301
304
|
children: g
|
|
302
|
-
}),
|
|
305
|
+
}), t[29] = a, t[30] = u, t[31] = d, t[32] = f, t[33] = p, t[34] = m, t[35] = h, t[36] = g, t[37] = b) : b = t[37];
|
|
303
306
|
let x;
|
|
304
|
-
|
|
307
|
+
t[38] !== o || t[39] !== b ? (x = /* @__PURE__ */ Z(o, { children: b }), t[38] = o, t[39] = b, t[40] = x) : x = t[40];
|
|
305
308
|
let S;
|
|
306
|
-
|
|
309
|
+
t[41] !== s || t[42] !== x ? (S = /* @__PURE__ */ Z(s, { children: x }), t[41] = s, t[42] = x, t[43] = S) : S = t[43];
|
|
307
310
|
let C;
|
|
308
|
-
return
|
|
311
|
+
return t[44] !== l || t[45] !== S || t[46] !== _ || t[47] !== v ? (C = /* @__PURE__ */ Q(l, {
|
|
309
312
|
closeOnSelect: _,
|
|
310
313
|
children: [v, S]
|
|
311
|
-
}),
|
|
314
|
+
}), t[44] = l, t[45] = S, t[46] = _, t[47] = v, t[48] = C) : C = t[48], C;
|
|
312
315
|
}, Ge = (e) => {
|
|
313
|
-
let t =
|
|
316
|
+
let t = X(32), { eyebrow: n, title: r, highlight: i, badges: a, customSlots: s, workspaceBadge: c, isSelected: l, draggable: u, onBadgeChange: d, onDragStart: f, onDragEnd: p, onClick: m } = e, h = i === void 0 ? "" : i, g;
|
|
314
317
|
t[0] === a ? g = t[1] : (g = a === void 0 ? [] : a, t[0] = a, t[1] = g);
|
|
315
318
|
let _ = g, v;
|
|
316
|
-
t[2] ===
|
|
319
|
+
t[2] === s ? v = t[3] : (v = s === void 0 ? [] : s, t[2] = s, t[3] = v);
|
|
317
320
|
let y = v, b = l !== void 0 && l, x = _.length > 0 || y.length > 0, S = u ? "grab" : m ? "pointer" : "default", C;
|
|
318
321
|
t[4] === m ? C = t[5] : (C = (e) => {
|
|
319
322
|
e.defaultPrevented || e.target instanceof Node && e.currentTarget.contains(e.target) && m?.();
|
|
320
323
|
}, t[4] = m, t[5] = C);
|
|
321
324
|
let w = C, T = b ? "border.accent" : "border", E = b ? "border.accent" : "border.accent-light", D;
|
|
322
325
|
t[6] === E ? D = t[7] : (D = { borderColor: E }, t[6] = E, t[7] = D);
|
|
323
|
-
let
|
|
324
|
-
t[8] !== n || t[9] !== h || t[10] !== c ? (
|
|
326
|
+
let k = m ? w : void 0, A = b ? "true" : void 0, j;
|
|
327
|
+
t[8] !== n || t[9] !== h || t[10] !== c ? (j = n || c ? /* @__PURE__ */ Q(K, {
|
|
325
328
|
minW: "0",
|
|
326
329
|
gap: "2xs",
|
|
327
|
-
children: [n ? /* @__PURE__ */
|
|
330
|
+
children: [n ? /* @__PURE__ */ Z(Y, {
|
|
328
331
|
textStyle: "label/XS",
|
|
329
332
|
color: "fg.muted",
|
|
330
333
|
fontFamily: "mono",
|
|
331
334
|
truncate: !0,
|
|
332
|
-
children: /* @__PURE__ */
|
|
335
|
+
children: /* @__PURE__ */ Z(O, {
|
|
333
336
|
text: n,
|
|
334
337
|
query: h
|
|
335
338
|
})
|
|
336
|
-
}) : null, /* @__PURE__ */
|
|
339
|
+
}) : null, /* @__PURE__ */ Z(K, {
|
|
337
340
|
marginLeft: "auto",
|
|
338
|
-
children: c ? /* @__PURE__ */
|
|
341
|
+
children: c ? /* @__PURE__ */ Z(o, { ...c }) : null
|
|
339
342
|
})]
|
|
340
|
-
}) : null, t[8] = n, t[9] = h, t[10] = c, t[11] =
|
|
341
|
-
let
|
|
342
|
-
t[12] !== h || t[13] !== r ? (
|
|
343
|
+
}) : null, t[8] = n, t[9] = h, t[10] = c, t[11] = j) : j = t[11];
|
|
344
|
+
let M;
|
|
345
|
+
t[12] !== h || t[13] !== r ? (M = /* @__PURE__ */ Z(Y, {
|
|
343
346
|
textStyle: "paragraph/S/regular",
|
|
344
347
|
minW: "0",
|
|
345
348
|
overflowWrap: "anywhere",
|
|
346
|
-
children: /* @__PURE__ */
|
|
349
|
+
children: /* @__PURE__ */ Z(O, {
|
|
347
350
|
text: r,
|
|
348
351
|
query: h
|
|
349
352
|
})
|
|
350
|
-
}), t[12] = h, t[13] = r, t[14] =
|
|
351
|
-
let
|
|
352
|
-
t[15] !== _ || t[16] !== y || t[17] !== x || t[18] !== d ? (
|
|
353
|
+
}), t[12] = h, t[13] = r, t[14] = M) : M = t[14];
|
|
354
|
+
let N;
|
|
355
|
+
t[15] !== _ || t[16] !== y || t[17] !== x || t[18] !== d ? (N = x && /* @__PURE__ */ Q(me, {
|
|
353
356
|
gap: "2xs",
|
|
354
|
-
children: [_.map((e) => /* @__PURE__ */
|
|
357
|
+
children: [_.map((e) => /* @__PURE__ */ Z(We, {
|
|
355
358
|
badge: e,
|
|
356
359
|
onChange: d
|
|
357
360
|
}, e.attributeId)), y]
|
|
358
|
-
}), t[15] = _, t[16] = y, t[17] = x, t[18] = d, t[19] =
|
|
359
|
-
let
|
|
360
|
-
return t[20] !== S || t[21] !== u || t[22] !== p || t[23] !== f || t[24] !==
|
|
361
|
+
}), t[15] = _, t[16] = y, t[17] = x, t[18] = d, t[19] = N) : N = t[19];
|
|
362
|
+
let P;
|
|
363
|
+
return t[20] !== S || t[21] !== u || t[22] !== p || t[23] !== f || t[24] !== k || t[25] !== A || t[26] !== j || t[27] !== M || t[28] !== N || t[29] !== T || t[30] !== D ? (P = /* @__PURE__ */ Q(de, {
|
|
361
364
|
gap: "xs",
|
|
362
365
|
padding: "compact",
|
|
363
366
|
borderRadius: "compact",
|
|
@@ -371,27 +374,27 @@ var ke = async (e, t, n) => {
|
|
|
371
374
|
draggable: u,
|
|
372
375
|
onDragStart: f,
|
|
373
376
|
onDragEnd: p,
|
|
374
|
-
onClick:
|
|
375
|
-
"data-selected":
|
|
377
|
+
onClick: k,
|
|
378
|
+
"data-selected": A,
|
|
376
379
|
"data-testid": "renderer-card",
|
|
377
380
|
"data-board-pan-ignore": !0,
|
|
378
381
|
children: [
|
|
379
|
-
A,
|
|
380
382
|
j,
|
|
381
|
-
M
|
|
383
|
+
M,
|
|
384
|
+
N
|
|
382
385
|
]
|
|
383
|
-
}), t[20] = S, t[21] = u, t[22] = p, t[23] = f, t[24] =
|
|
386
|
+
}), t[20] = S, t[21] = u, t[22] = p, t[23] = f, t[24] = k, t[25] = A, t[26] = j, t[27] = M, t[28] = N, t[29] = T, t[30] = D, t[31] = P) : P = t[31], P;
|
|
384
387
|
}, Ke = (e) => {
|
|
385
|
-
let t =
|
|
388
|
+
let t = X(30), { columnId: n, group: i, selectedItemId: a, canDragIn: o, canDragOut: s, isDropTarget: c, onDragStart: l, onDragEnd: u, onGroupDragOver: d, onGroupDragLeave: f, onGroupDrop: p } = e, [m, h] = $(!0), g = c ? "bg.subtle" : "transparent", _ = o ? d : void 0, v = o ? f : void 0, y = o ? p : void 0, b;
|
|
386
389
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (b = { bg: "bg.hover" }, t[0] = b) : b = t[0];
|
|
387
390
|
let x;
|
|
388
391
|
t[1] === Symbol.for("react.memo_cache_sentinel") ? (x = () => h(qe), t[1] = x) : x = t[1];
|
|
389
392
|
let S = m ? "rotate(90deg)" : "rotate(0deg)", C;
|
|
390
|
-
t[2] === S ? C = t[3] : (C = /* @__PURE__ */
|
|
393
|
+
t[2] === S ? C = t[3] : (C = /* @__PURE__ */ Z(W, {
|
|
391
394
|
display: "flex",
|
|
392
395
|
alignItems: "center",
|
|
393
396
|
flexShrink: 0,
|
|
394
|
-
children: /* @__PURE__ */
|
|
397
|
+
children: /* @__PURE__ */ Z(q, {
|
|
395
398
|
as: Se,
|
|
396
399
|
boxSize: "14px",
|
|
397
400
|
color: "fg.muted",
|
|
@@ -400,20 +403,20 @@ var ke = async (e, t, n) => {
|
|
|
400
403
|
})
|
|
401
404
|
}), t[2] = S, t[3] = C);
|
|
402
405
|
let w;
|
|
403
|
-
t[4] ===
|
|
406
|
+
t[4] === i.label ? w = t[5] : (w = /* @__PURE__ */ Z(Y, {
|
|
404
407
|
textStyle: "label/S/medium",
|
|
405
408
|
color: "fg.muted",
|
|
406
|
-
children:
|
|
407
|
-
}), t[4] =
|
|
409
|
+
children: i.label
|
|
410
|
+
}), t[4] = i.label, t[5] = w);
|
|
408
411
|
let T;
|
|
409
|
-
t[6] ===
|
|
412
|
+
t[6] === i.items.length ? T = t[7] : (T = /* @__PURE__ */ Z(ie, {
|
|
410
413
|
variant: "number",
|
|
411
414
|
colorPalette: "gray",
|
|
412
415
|
size: "sm",
|
|
413
|
-
children:
|
|
414
|
-
}), t[6] =
|
|
416
|
+
children: i.items.length
|
|
417
|
+
}), t[6] = i.items.length, t[7] = T);
|
|
415
418
|
let E;
|
|
416
|
-
t[8] !== C || t[9] !== w || t[10] !== T ? (E = /* @__PURE__ */
|
|
419
|
+
t[8] !== C || t[9] !== w || t[10] !== T ? (E = /* @__PURE__ */ Q(K, {
|
|
417
420
|
"data-board-pan-ignore": !0,
|
|
418
421
|
px: "xs",
|
|
419
422
|
py: "2xs",
|
|
@@ -429,19 +432,19 @@ var ke = async (e, t, n) => {
|
|
|
429
432
|
]
|
|
430
433
|
}), t[8] = C, t[9] = w, t[10] = T, t[11] = E) : E = t[11];
|
|
431
434
|
let D;
|
|
432
|
-
t[12] !== o || t[13] !== s || t[14] !== m || t[15] !==
|
|
435
|
+
t[12] !== o || t[13] !== s || t[14] !== m || t[15] !== i.items || t[16] !== u || t[17] !== l || t[18] !== p || t[19] !== a ? (D = m && /* @__PURE__ */ Z(de, {
|
|
433
436
|
gap: "xs",
|
|
434
437
|
pt: "xs",
|
|
435
|
-
children:
|
|
438
|
+
children: i.items.map((e) => /* @__PURE__ */ Z(r, {
|
|
436
439
|
actions: e.contextMenuActions ?? [],
|
|
437
|
-
children: /* @__PURE__ */
|
|
440
|
+
children: /* @__PURE__ */ Z(W, {
|
|
438
441
|
onDragOver: o ? Je : void 0,
|
|
439
442
|
onDrop: o ? (t) => {
|
|
440
443
|
t.preventDefault(), t.stopPropagation();
|
|
441
444
|
let n = t.dataTransfer.getData("text/plain");
|
|
442
445
|
n && n !== e.id && p(t, e.id);
|
|
443
446
|
} : void 0,
|
|
444
|
-
children: /* @__PURE__ */
|
|
447
|
+
children: /* @__PURE__ */ Z(Ge, {
|
|
445
448
|
...e.cardProps,
|
|
446
449
|
isSelected: e.id === a,
|
|
447
450
|
draggable: s,
|
|
@@ -450,11 +453,11 @@ var ke = async (e, t, n) => {
|
|
|
450
453
|
})
|
|
451
454
|
})
|
|
452
455
|
}, e.id))
|
|
453
|
-
}), t[12] = o, t[13] = s, t[14] = m, t[15] =
|
|
456
|
+
}), t[12] = o, t[13] = s, t[14] = m, t[15] = i.items, t[16] = u, t[17] = l, t[18] = p, t[19] = a, t[20] = D) : D = t[20];
|
|
454
457
|
let O;
|
|
455
|
-
return t[21] !== n || t[22] !==
|
|
458
|
+
return t[21] !== n || t[22] !== i.key || t[23] !== g || t[24] !== _ || t[25] !== E || t[26] !== D || t[27] !== v || t[28] !== y ? (O = /* @__PURE__ */ Q(de, {
|
|
456
459
|
"data-column-id": n,
|
|
457
|
-
"data-group-key":
|
|
460
|
+
"data-group-key": i.key,
|
|
458
461
|
gap: "0",
|
|
459
462
|
borderRadius: "sm",
|
|
460
463
|
background: g,
|
|
@@ -463,7 +466,7 @@ var ke = async (e, t, n) => {
|
|
|
463
466
|
onDragLeave: v,
|
|
464
467
|
onDrop: y,
|
|
465
468
|
children: [E, D]
|
|
466
|
-
}), t[21] = n, t[22] =
|
|
469
|
+
}), t[21] = n, t[22] = i.key, t[23] = g, t[24] = _, t[25] = E, t[26] = D, t[27] = v, t[28] = y, t[29] = O) : O = t[29], O;
|
|
467
470
|
};
|
|
468
471
|
function qe(e) {
|
|
469
472
|
return !e;
|
|
@@ -474,8 +477,8 @@ function Je(e) {
|
|
|
474
477
|
//#endregion
|
|
475
478
|
//#region src/components/kanban-renderer/use-board-drag-scroll.ts
|
|
476
479
|
var Ye = () => {
|
|
477
|
-
let e =
|
|
478
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (r = () => () => n.current?.(), i = [], e[0] = r, e[1] = i) : (r = e[0], i = e[1]),
|
|
480
|
+
let e = X(3), t = ye(null), n = ye(null), r, i;
|
|
481
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (r = () => () => n.current?.(), i = [], e[0] = r, e[1] = i) : (r = e[0], i = e[1]), _e(r, i);
|
|
479
482
|
let a;
|
|
480
483
|
return e[2] === Symbol.for("react.memo_cache_sentinel") ? (a = {
|
|
481
484
|
viewportRef: t,
|
|
@@ -507,7 +510,7 @@ var Ye = () => {
|
|
|
507
510
|
}
|
|
508
511
|
}, e[2] = a) : a = e[2], a;
|
|
509
512
|
}, Xe = "button, a, input, textarea, select, [role=\"button\"], [role=\"menu\"], [contenteditable]:not([contenteditable=\"false\"]), [data-board-pan-ignore], [data-scope=\"scroll-area\"][data-part=\"scrollbar\"]", Ze = () => {
|
|
510
|
-
let e =
|
|
513
|
+
let e = X(6), t = ye(null), [n, r] = $(!1), i;
|
|
511
514
|
e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = (e) => {
|
|
512
515
|
t.current?.pointerId === e.pointerId && (t.current = null, r(!1), e.currentTarget.hasPointerCapture(e.pointerId) && e.currentTarget.releasePointerCapture(e.pointerId));
|
|
513
516
|
}, e[0] = i) : i = e[0];
|
|
@@ -541,40 +544,40 @@ var Ye = () => {
|
|
|
541
544
|
onLostPointerCapture: a
|
|
542
545
|
}, e[3] = o, e[4] = s, e[5] = u) : u = e[5], u;
|
|
543
546
|
}, Qe = (e) => {
|
|
544
|
-
let
|
|
545
|
-
|
|
547
|
+
let n = X(33), { columns: i, selectedItemId: a, onMoveItem: o, onMoveToGroup: s, onCreateStart: c, onColumnAction: l } = e, u = a === void 0 ? null : a, [d, f] = $(null), [p, m] = $(null), h = Ze(), g = Ye(), _;
|
|
548
|
+
n[0] === g ? _ = n[1] : (_ = (e) => (t) => {
|
|
546
549
|
t.dataTransfer.setData("text/plain", e), t.dataTransfer.effectAllowed = "move", g.startDrag(t);
|
|
547
|
-
},
|
|
550
|
+
}, n[0] = g, n[1] = _);
|
|
548
551
|
let v = _, y;
|
|
549
|
-
|
|
552
|
+
n[2] === Symbol.for("react.memo_cache_sentinel") ? (y = () => {
|
|
550
553
|
f(null), m(null);
|
|
551
|
-
},
|
|
554
|
+
}, n[2] = y) : y = n[2];
|
|
552
555
|
let b = y, x;
|
|
553
|
-
|
|
556
|
+
n[3] === Symbol.for("react.memo_cache_sentinel") ? (x = (e) => (t) => {
|
|
554
557
|
t.preventDefault(), t.dataTransfer.dropEffect = "move", f(e);
|
|
555
|
-
},
|
|
558
|
+
}, n[3] = x) : x = n[3];
|
|
556
559
|
let S = x, C;
|
|
557
|
-
|
|
560
|
+
n[4] === Symbol.for("react.memo_cache_sentinel") ? (C = (e) => {
|
|
558
561
|
e.currentTarget.contains(e.relatedTarget) || f(null);
|
|
559
|
-
},
|
|
562
|
+
}, n[4] = C) : C = n[4];
|
|
560
563
|
let w = C, T;
|
|
561
|
-
|
|
564
|
+
n[5] === o ? T = n[6] : (T = (e) => (t) => {
|
|
562
565
|
t.preventDefault(), f(null);
|
|
563
566
|
let n = t.dataTransfer.getData("text/plain");
|
|
564
567
|
n && o?.(n, e);
|
|
565
|
-
},
|
|
568
|
+
}, n[5] = o, n[6] = T);
|
|
566
569
|
let E = T, D = g.viewportRef, O;
|
|
567
|
-
|
|
570
|
+
n[7] === Symbol.for("react.memo_cache_sentinel") ? (O = {
|
|
568
571
|
display: "flex",
|
|
569
572
|
alignItems: "stretch",
|
|
570
573
|
gap: "xs",
|
|
571
574
|
padding: "xs",
|
|
572
575
|
minH: "100%"
|
|
573
|
-
},
|
|
576
|
+
}, n[7] = O) : O = n[7];
|
|
574
577
|
let k;
|
|
575
|
-
if (
|
|
578
|
+
if (n[8] !== d || n[9] !== p || n[10] !== i || n[11] !== v || n[12] !== E || n[13] !== l || n[14] !== c || n[15] !== o || n[16] !== s || n[17] !== u) {
|
|
576
579
|
let e;
|
|
577
|
-
|
|
580
|
+
n[19] !== d || n[20] !== p || n[21] !== v || n[22] !== E || n[23] !== l || n[24] !== c || n[25] !== o || n[26] !== s || n[27] !== u ? (e = (e) => /* @__PURE__ */ Q(de, {
|
|
578
581
|
"data-testid": `board-column-${e.id}`,
|
|
579
582
|
gap: "xs",
|
|
580
583
|
padding: "compact",
|
|
@@ -591,26 +594,26 @@ var Ye = () => {
|
|
|
591
594
|
onDragOver: e.canDragIn ? S(e.id) : void 0,
|
|
592
595
|
onDragLeave: e.canDragIn ? w : void 0,
|
|
593
596
|
onDrop: e.canDragIn ? E(e.id) : void 0,
|
|
594
|
-
children: [/* @__PURE__ */
|
|
597
|
+
children: [/* @__PURE__ */ Z(Re, {
|
|
595
598
|
column: e,
|
|
596
599
|
onCreateStart: c,
|
|
597
600
|
onColumnAction: l
|
|
598
|
-
}), /* @__PURE__ */
|
|
601
|
+
}), /* @__PURE__ */ Q(t, {
|
|
599
602
|
flex: "1",
|
|
600
603
|
minH: "0",
|
|
601
604
|
size: "xs",
|
|
602
605
|
verticalScrollbarProps: { margin: "0" },
|
|
603
606
|
contentProps: { spaceY: "xs" },
|
|
604
|
-
children: [e.items.length === 0 && e.totalCount ? /* @__PURE__ */
|
|
607
|
+
children: [e.items.length === 0 && e.totalCount ? /* @__PURE__ */ Q(de, {
|
|
605
608
|
alignItems: "center",
|
|
606
609
|
gap: "2xs",
|
|
607
610
|
paddingY: "xl",
|
|
608
611
|
textAlign: "center",
|
|
609
|
-
children: [/* @__PURE__ */
|
|
612
|
+
children: [/* @__PURE__ */ Z(Y, {
|
|
610
613
|
textStyle: "label/S/regular",
|
|
611
614
|
color: "fg.muted",
|
|
612
615
|
children: "No matching cards"
|
|
613
|
-
}), /* @__PURE__ */
|
|
616
|
+
}), /* @__PURE__ */ Q(Y, {
|
|
614
617
|
textStyle: "label/XS",
|
|
615
618
|
color: "fg.subtle",
|
|
616
619
|
children: [
|
|
@@ -622,7 +625,7 @@ var Ye = () => {
|
|
|
622
625
|
})]
|
|
623
626
|
}) : null, e.groups && e.groups.length > 0 ? e.groups.map((t) => {
|
|
624
627
|
let n = `${e.id}::${t.key}`;
|
|
625
|
-
return /* @__PURE__ */
|
|
628
|
+
return /* @__PURE__ */ Z(Ke, {
|
|
626
629
|
columnId: e.id,
|
|
627
630
|
group: t,
|
|
628
631
|
selectedItemId: u,
|
|
@@ -652,9 +655,9 @@ var Ye = () => {
|
|
|
652
655
|
}
|
|
653
656
|
}
|
|
654
657
|
}, t.key);
|
|
655
|
-
}) : e.items.map((t) => /* @__PURE__ */
|
|
658
|
+
}) : e.items.map((t) => /* @__PURE__ */ Z(r, {
|
|
656
659
|
actions: t.contextMenuActions ?? [],
|
|
657
|
-
children: /* @__PURE__ */
|
|
660
|
+
children: /* @__PURE__ */ Z(W, {
|
|
658
661
|
onDragOver: e.canDragIn ? (t) => {
|
|
659
662
|
t.preventDefault(), t.stopPropagation(), t.dataTransfer.dropEffect = "move", f(e.id);
|
|
660
663
|
} : void 0,
|
|
@@ -663,7 +666,7 @@ var Ye = () => {
|
|
|
663
666
|
let r = n.dataTransfer.getData("text/plain");
|
|
664
667
|
r && r !== t.id && o?.(r, e.id, { beforeItemId: t.id });
|
|
665
668
|
} : void 0,
|
|
666
|
-
children: /* @__PURE__ */
|
|
669
|
+
children: /* @__PURE__ */ Z(Ge, {
|
|
667
670
|
...t.cardProps,
|
|
668
671
|
isSelected: t.id === u,
|
|
669
672
|
draggable: e.canDragOut,
|
|
@@ -673,10 +676,10 @@ var Ye = () => {
|
|
|
673
676
|
})
|
|
674
677
|
}, t.id))]
|
|
675
678
|
})]
|
|
676
|
-
}, e.id),
|
|
677
|
-
} else k =
|
|
679
|
+
}, e.id), n[19] = d, n[20] = p, n[21] = v, n[22] = E, n[23] = l, n[24] = c, n[25] = o, n[26] = s, n[27] = u, n[28] = e) : e = n[28], k = i.map(e), n[8] = d, n[9] = p, n[10] = i, n[11] = v, n[12] = E, n[13] = l, n[14] = c, n[15] = o, n[16] = s, n[17] = u, n[18] = k;
|
|
680
|
+
} else k = n[18];
|
|
678
681
|
let A;
|
|
679
|
-
return
|
|
682
|
+
return n[29] !== g.viewportRef || n[30] !== h || n[31] !== k ? (A = /* @__PURE__ */ Z(t, {
|
|
680
683
|
height: "100%",
|
|
681
684
|
size: "xs",
|
|
682
685
|
showHorizontalScrollbar: !0,
|
|
@@ -685,7 +688,7 @@ var Ye = () => {
|
|
|
685
688
|
viewportProps: h,
|
|
686
689
|
contentProps: O,
|
|
687
690
|
children: k
|
|
688
|
-
}),
|
|
691
|
+
}), n[29] = g.viewportRef, n[30] = h, n[31] = k, n[32] = A) : A = n[32], A;
|
|
689
692
|
}, $e = (e, t, n = 0) => {
|
|
690
693
|
let r = [];
|
|
691
694
|
for (let i of e) {
|
|
@@ -713,24 +716,24 @@ var Ye = () => {
|
|
|
713
716
|
...e,
|
|
714
717
|
[t]: n
|
|
715
718
|
}), rt = (e) => {
|
|
716
|
-
let t =
|
|
719
|
+
let t = X(16), { item: n } = e;
|
|
717
720
|
if (n.isGroup) {
|
|
718
721
|
let e;
|
|
719
|
-
t[0] === n.title ? e = t[1] : (e = /* @__PURE__ */
|
|
722
|
+
t[0] === n.title ? e = t[1] : (e = /* @__PURE__ */ Z(Y, {
|
|
720
723
|
textStyle: "label/S/medium",
|
|
721
724
|
minW: "0",
|
|
722
725
|
truncate: !0,
|
|
723
726
|
children: n.title
|
|
724
727
|
}), t[0] = n.title, t[1] = e);
|
|
725
728
|
let r;
|
|
726
|
-
t[2] === n.countBadge ? r = t[3] : (r = /* @__PURE__ */
|
|
729
|
+
t[2] === n.countBadge ? r = t[3] : (r = /* @__PURE__ */ Z(Y, {
|
|
727
730
|
textStyle: "label/XS",
|
|
728
731
|
color: "fg.muted",
|
|
729
732
|
flexShrink: 0,
|
|
730
733
|
children: n.countBadge
|
|
731
734
|
}), t[2] = n.countBadge, t[3] = r);
|
|
732
735
|
let i;
|
|
733
|
-
return t[4] !== e || t[5] !== r ? (i = /* @__PURE__ */
|
|
736
|
+
return t[4] !== e || t[5] !== r ? (i = /* @__PURE__ */ Q(K, {
|
|
734
737
|
gap: "xs",
|
|
735
738
|
minW: "0",
|
|
736
739
|
maxW: "full",
|
|
@@ -739,29 +742,29 @@ var Ye = () => {
|
|
|
739
742
|
}), t[4] = e, t[5] = r, t[6] = i) : i = t[6], i;
|
|
740
743
|
}
|
|
741
744
|
let r;
|
|
742
|
-
t[7] !== n.eyebrow || t[8] !== n.highlight ? (r = n.eyebrow ? /* @__PURE__ */
|
|
745
|
+
t[7] !== n.eyebrow || t[8] !== n.highlight ? (r = n.eyebrow ? /* @__PURE__ */ Z(Y, {
|
|
743
746
|
"data-testid": "list-row-eyebrow",
|
|
744
747
|
flexShrink: 0,
|
|
745
748
|
textStyle: "mono/XS",
|
|
746
749
|
color: "fg.muted",
|
|
747
750
|
truncate: !0,
|
|
748
|
-
children: /* @__PURE__ */
|
|
751
|
+
children: /* @__PURE__ */ Z(O, {
|
|
749
752
|
text: n.eyebrow,
|
|
750
753
|
query: n.highlight ?? ""
|
|
751
754
|
})
|
|
752
755
|
}) : null, t[7] = n.eyebrow, t[8] = n.highlight, t[9] = r) : r = t[9];
|
|
753
756
|
let i = n.highlight ?? "", a;
|
|
754
|
-
t[10] !== n.title || t[11] !== i ? (a = /* @__PURE__ */
|
|
757
|
+
t[10] !== n.title || t[11] !== i ? (a = /* @__PURE__ */ Z(Y, {
|
|
755
758
|
textStyle: "paragraph/S/regular",
|
|
756
759
|
minW: "0",
|
|
757
760
|
truncate: !0,
|
|
758
|
-
children: /* @__PURE__ */
|
|
761
|
+
children: /* @__PURE__ */ Z(O, {
|
|
759
762
|
text: n.title,
|
|
760
763
|
query: i
|
|
761
764
|
})
|
|
762
765
|
}), t[10] = n.title, t[11] = i, t[12] = a) : a = t[12];
|
|
763
766
|
let o;
|
|
764
|
-
return t[13] !== r || t[14] !== a ? (o = /* @__PURE__ */
|
|
767
|
+
return t[13] !== r || t[14] !== a ? (o = /* @__PURE__ */ Q(K, {
|
|
765
768
|
gap: "compact",
|
|
766
769
|
minW: "0",
|
|
767
770
|
maxW: "full",
|
|
@@ -769,16 +772,16 @@ var Ye = () => {
|
|
|
769
772
|
children: [r, a]
|
|
770
773
|
}), t[13] = r, t[14] = a, t[15] = o) : o = t[15], o;
|
|
771
774
|
}, it = (e) => {
|
|
772
|
-
let t =
|
|
773
|
-
t[0] !== n.badges || t[1] !== n.onBadgeChange ? (r = n.badges?.map((e) => /* @__PURE__ */
|
|
775
|
+
let t = X(6), { item: n } = e, r;
|
|
776
|
+
t[0] !== n.badges || t[1] !== n.onBadgeChange ? (r = n.badges?.map((e) => /* @__PURE__ */ Z(We, {
|
|
774
777
|
badge: e,
|
|
775
778
|
onChange: n.onBadgeChange
|
|
776
779
|
}, e.attributeId)), t[0] = n.badges, t[1] = n.onBadgeChange, t[2] = r) : r = t[2];
|
|
777
780
|
let i;
|
|
778
|
-
return t[3] !== n.customSlots || t[4] !== r ? (i = /* @__PURE__ */
|
|
781
|
+
return t[3] !== n.customSlots || t[4] !== r ? (i = /* @__PURE__ */ Z(K, {
|
|
779
782
|
gap: "xs",
|
|
780
783
|
flexShrink: 0,
|
|
781
|
-
children: /* @__PURE__ */
|
|
784
|
+
children: /* @__PURE__ */ Q(me, {
|
|
782
785
|
gap: "2xs",
|
|
783
786
|
flexShrink: 0,
|
|
784
787
|
children: [r, n.customSlots]
|
|
@@ -786,15 +789,15 @@ var Ye = () => {
|
|
|
786
789
|
}), t[3] = n.customSlots, t[4] = r, t[5] = i) : i = t[5], i;
|
|
787
790
|
}, at = (e) => (e.badges?.length ?? 0) > 0 || (e.customSlots?.length ?? 0) > 0, ot = (e, t) => ({
|
|
788
791
|
id: e.id,
|
|
789
|
-
label: /* @__PURE__ */
|
|
790
|
-
icon: e.statusIcon ? /* @__PURE__ */
|
|
792
|
+
label: /* @__PURE__ */ Z(rt, { item: e }),
|
|
793
|
+
icon: e.statusIcon ? /* @__PURE__ */ Z(q, {
|
|
791
794
|
"data-testid": e.isGroup ? "list-status-icon" : "row-status-icon",
|
|
792
795
|
as: e.statusIcon,
|
|
793
796
|
boxSize: "1rem",
|
|
794
797
|
colorPalette: e.statusColorPalette ?? e.countColorPalette ?? "gray",
|
|
795
798
|
color: e.statusColor ?? (e.isGroup || e.statusColorPalette ? "colorPalette.solid" : "fg.muted")
|
|
796
799
|
}) : void 0,
|
|
797
|
-
endContent: at(e) ? /* @__PURE__ */
|
|
800
|
+
endContent: at(e) ? /* @__PURE__ */ Z(it, { item: e }) : null,
|
|
798
801
|
isContainer: t,
|
|
799
802
|
contextMenuItems: e.contextMenuActions?.map((e) => ({
|
|
800
803
|
id: e.key,
|
|
@@ -806,7 +809,7 @@ var Ye = () => {
|
|
|
806
809
|
onAction: e.onClick
|
|
807
810
|
}))
|
|
808
811
|
}), st = (e) => {
|
|
809
|
-
let t =
|
|
812
|
+
let t = X(24), { items: n, selectedItemId: r, expandedGroups: i, onItemClick: a, onExpandedGroupChange: o } = e, s = r === void 0 ? null : r, c;
|
|
810
813
|
t[0] === Symbol.for("react.memo_cache_sentinel") ? (c = {}, t[0] = c) : c = t[0];
|
|
811
814
|
let [l, u] = $(c), [d, f] = $(null), [p, m] = $(null), h = i ?? l, g, _;
|
|
812
815
|
if (t[1] !== d || t[2] !== p || t[3] !== h || t[4] !== i || t[5] !== n || t[6] !== o || t[7] !== a || t[8] !== s) {
|
|
@@ -815,9 +818,9 @@ var Ye = () => {
|
|
|
815
818
|
o?.(e, t), i === void 0 && u((n) => nt(n, e, t));
|
|
816
819
|
}, t[11] = i, t[12] = o, t[13] = r) : r = t[13];
|
|
817
820
|
let c = r;
|
|
818
|
-
g =
|
|
821
|
+
g = W;
|
|
819
822
|
let l;
|
|
820
|
-
t[14] !== d || t[15] !== p || t[16] !== h || t[17] !== c || t[18] !== a || t[19] !== s ? (l = (e) => /* @__PURE__ */
|
|
823
|
+
t[14] !== d || t[15] !== p || t[16] !== h || t[17] !== c || t[18] !== a || t[19] !== s ? (l = (e) => /* @__PURE__ */ Z(ct, {
|
|
821
824
|
row: e,
|
|
822
825
|
isExpanded: tt(h, e.id),
|
|
823
826
|
selectedItemId: s,
|
|
@@ -830,12 +833,12 @@ var Ye = () => {
|
|
|
830
833
|
}, e.id), t[14] = d, t[15] = p, t[16] = h, t[17] = c, t[18] = a, t[19] = s, t[20] = l) : l = t[20], _ = e.map(l), t[1] = d, t[2] = p, t[3] = h, t[4] = i, t[5] = n, t[6] = o, t[7] = a, t[8] = s, t[9] = g, t[10] = _;
|
|
831
834
|
} else g = t[9], _ = t[10];
|
|
832
835
|
let v;
|
|
833
|
-
return t[21] !== g || t[22] !== _ ? (v = /* @__PURE__ */
|
|
836
|
+
return t[21] !== g || t[22] !== _ ? (v = /* @__PURE__ */ Z(g, { children: _ }), t[21] = g, t[22] = _, t[23] = v) : v = t[23], v;
|
|
834
837
|
}, ct = (e) => {
|
|
835
|
-
let t =
|
|
838
|
+
let t = X(56), { row: r, isExpanded: i, selectedItemId: a, activeDropTargetId: o, draggedItemId: s, onDraggedItemChange: c, onDropTargetChange: l, onItemClick: u, onExpandedChange: d } = e, { item: f, isGroup: p, canExpand: m } = r, h = f.id === a, g = !!f.onDropRow && f.id !== s, _ = g && f.id === o, v;
|
|
836
839
|
t[0] !== m || t[1] !== f ? (v = ot(f, m), t[0] = m, t[1] = f, t[2] = v) : v = t[2];
|
|
837
840
|
let y = v, b;
|
|
838
|
-
t[3] !==
|
|
841
|
+
t[3] !== i || t[4] !== d || t[5] !== r.id ? (b = () => d(r.id, !i), t[3] = i, t[4] = d, t[5] = r.id, t[6] = b) : b = t[6];
|
|
839
842
|
let x = b, S;
|
|
840
843
|
t[7] !== m || t[8] !== p || t[9] !== f || t[10] !== u || t[11] !== x ? (S = () => {
|
|
841
844
|
if (m) {
|
|
@@ -867,124 +870,124 @@ var Ye = () => {
|
|
|
867
870
|
t[29] !== c || t[30] !== l ? (M = () => {
|
|
868
871
|
l(null), c(null);
|
|
869
872
|
}, t[29] = c, t[30] = l, t[31] = M) : M = t[31];
|
|
870
|
-
let N = M,
|
|
871
|
-
t[32] !== m || t[33] !== _ ? (
|
|
872
|
-
let
|
|
873
|
-
t[35] !== m || t[36] !== C || t[37] !==
|
|
873
|
+
let N = M, P = _ ? "true" : void 0, F = _ ? "bg.subtle" : "transparent", I = f.draggable, L;
|
|
874
|
+
t[32] !== m || t[33] !== _ ? (L = et(_, m), t[32] = m, t[33] = _, t[34] = L) : L = t[34];
|
|
875
|
+
let R = f.onDropRow ? k : void 0, ee = p ? void 0 : f.title, z = p ? "compact" : "collection", B;
|
|
876
|
+
t[35] !== m || t[36] !== C || t[37] !== i || t[38] !== h || t[39] !== r.depth || t[40] !== y || t[41] !== ee || t[42] !== z || t[43] !== x ? (B = /* @__PURE__ */ Z(n, {
|
|
874
877
|
...y,
|
|
875
|
-
"aria-label":
|
|
876
|
-
variant:
|
|
877
|
-
depth:
|
|
878
|
+
"aria-label": ee,
|
|
879
|
+
variant: z,
|
|
880
|
+
depth: r.depth,
|
|
878
881
|
isSelected: h,
|
|
879
|
-
isExpanded:
|
|
882
|
+
isExpanded: i,
|
|
880
883
|
showExpandToggle: m,
|
|
881
884
|
showContextMenuTrigger: !1,
|
|
882
885
|
onActivate: C,
|
|
883
886
|
onToggleExpand: x
|
|
884
|
-
}), t[35] = m, t[36] = C, t[37] =
|
|
885
|
-
let
|
|
886
|
-
return t[45] !== N || t[46] !== D || t[47] !== T || t[48] !== j || t[49] !== f.draggable || t[50] !==
|
|
887
|
-
"data-drop-target":
|
|
887
|
+
}), t[35] = m, t[36] = C, t[37] = i, t[38] = h, t[39] = r.depth, t[40] = y, t[41] = ee, t[42] = z, t[43] = x, t[44] = B) : B = t[44];
|
|
888
|
+
let V;
|
|
889
|
+
return t[45] !== N || t[46] !== D || t[47] !== T || t[48] !== j || t[49] !== f.draggable || t[50] !== L || t[51] !== R || t[52] !== B || t[53] !== P || t[54] !== F ? (V = /* @__PURE__ */ Z(W, {
|
|
890
|
+
"data-drop-target": P,
|
|
888
891
|
position: "relative",
|
|
889
892
|
borderBottomWidth: "1px",
|
|
890
893
|
borderBottomColor: "border.subtle",
|
|
891
|
-
bg:
|
|
892
|
-
draggable:
|
|
894
|
+
bg: F,
|
|
895
|
+
draggable: I,
|
|
893
896
|
transition: "background 120ms ease",
|
|
894
|
-
...
|
|
897
|
+
...L,
|
|
895
898
|
onDragStart: T,
|
|
896
899
|
onDragOver: D,
|
|
897
|
-
onDragLeave:
|
|
900
|
+
onDragLeave: R,
|
|
898
901
|
onDragEnd: N,
|
|
899
902
|
onDrop: j,
|
|
900
|
-
children:
|
|
901
|
-
}), t[45] = N, t[46] = D, t[47] = T, t[48] = j, t[49] = f.draggable, t[50] =
|
|
903
|
+
children: B
|
|
904
|
+
}), t[45] = N, t[46] = D, t[47] = T, t[48] = j, t[49] = f.draggable, t[50] = L, t[51] = R, t[52] = B, t[53] = P, t[54] = F, t[55] = V) : V = t[55], V;
|
|
902
905
|
}, lt = (e) => {
|
|
903
|
-
let t =
|
|
906
|
+
let t = X(7), { emptyState: n, title: r, description: i, height: a } = e;
|
|
904
907
|
if (n !== void 0) {
|
|
905
908
|
let e;
|
|
906
|
-
return t[0] !== n || t[1] !== a ? (e = a ? /* @__PURE__ */
|
|
909
|
+
return t[0] !== n || t[1] !== a ? (e = a ? /* @__PURE__ */ Z(W, {
|
|
907
910
|
height: a,
|
|
908
911
|
children: n
|
|
909
912
|
}) : n, t[0] = n, t[1] = a, t[2] = e) : e = t[2], e;
|
|
910
913
|
}
|
|
911
914
|
let o;
|
|
912
|
-
return t[3] !== i || t[4] !== a || t[5] !== r ? (o = /* @__PURE__ */
|
|
915
|
+
return t[3] !== i || t[4] !== a || t[5] !== r ? (o = /* @__PURE__ */ Z(s, {
|
|
913
916
|
title: r,
|
|
914
917
|
description: i,
|
|
915
918
|
height: a
|
|
916
919
|
}), t[3] = i, t[4] = a, t[5] = r, t[6] = o) : o = t[6], o;
|
|
917
920
|
}, ut = (e) => {
|
|
918
|
-
let
|
|
919
|
-
if (
|
|
921
|
+
let n = X(42), { contentPlaceholder: r, sourceCount: i, filteredCount: a, visibleCount: o, search: s, ruleCount: c, onClearSearch: l, onEditFilter: u, viewMode: d, boardColumns: f, listItems: p, listExpandedGroups: m, selectedRowId: h, emptyState: g, emptyTitle: _, emptyDescription: v, onBoardMoveItem: y, onBoardMoveToGroup: b, onCreateRow: x, onColumnAction: S, onListExpandedGroupChange: C, listKey: w } = e;
|
|
922
|
+
if (r !== void 0) return r;
|
|
920
923
|
if (i > 0 && o === 0 && s.trim()) {
|
|
921
924
|
let e;
|
|
922
|
-
return
|
|
925
|
+
return n[0] !== l || n[1] !== s ? (e = /* @__PURE__ */ Z(B, {
|
|
923
926
|
search: s,
|
|
924
927
|
onClearSearch: l
|
|
925
|
-
}),
|
|
928
|
+
}), n[0] = l, n[1] = s, n[2] = e) : e = n[2], e;
|
|
926
929
|
}
|
|
927
930
|
let T = i > 0 && a === 0, E = d === "board" ? f.length > 0 : p.length > 0, D;
|
|
928
|
-
|
|
931
|
+
n[3] !== T || n[4] !== E || n[5] !== u || n[6] !== c || n[7] !== i ? (D = T && !E ? /* @__PURE__ */ Z(Le, {
|
|
929
932
|
ruleCount: c,
|
|
930
933
|
hiddenCount: i,
|
|
931
934
|
onEditFilter: u
|
|
932
|
-
}) : null,
|
|
935
|
+
}) : null, n[3] = T, n[4] = E, n[5] = u, n[6] = c, n[7] = i, n[8] = D) : D = n[8];
|
|
933
936
|
let O = D;
|
|
934
937
|
if (d === "board") {
|
|
935
938
|
let e;
|
|
936
|
-
|
|
939
|
+
n[9] !== f || n[10] !== y || n[11] !== b || n[12] !== S || n[13] !== x || n[14] !== h ? (e = f.length > 0 ? /* @__PURE__ */ Z(Qe, {
|
|
937
940
|
columns: f,
|
|
938
941
|
selectedItemId: h,
|
|
939
942
|
onMoveItem: y,
|
|
940
943
|
onMoveToGroup: b,
|
|
941
944
|
onCreateStart: x,
|
|
942
945
|
onColumnAction: S
|
|
943
|
-
}) : null,
|
|
944
|
-
let
|
|
945
|
-
|
|
946
|
+
}) : null, n[9] = f, n[10] = y, n[11] = b, n[12] = S, n[13] = x, n[14] = h, n[15] = e) : e = n[15];
|
|
947
|
+
let t;
|
|
948
|
+
n[16] !== f.length || n[17] !== v || n[18] !== g || n[19] !== _ || n[20] !== T ? (t = f.length === 0 && !T ? /* @__PURE__ */ Z(lt, {
|
|
946
949
|
emptyState: g,
|
|
947
950
|
title: _,
|
|
948
951
|
description: v,
|
|
949
952
|
height: "100%"
|
|
950
|
-
}) : null,
|
|
953
|
+
}) : null, n[16] = f.length, n[17] = v, n[18] = g, n[19] = _, n[20] = T, n[21] = t) : t = n[21];
|
|
951
954
|
let r;
|
|
952
|
-
|
|
955
|
+
n[22] !== e || n[23] !== t ? (r = /* @__PURE__ */ Q(W, {
|
|
953
956
|
flex: "1",
|
|
954
957
|
minH: "0",
|
|
955
|
-
children: [e,
|
|
956
|
-
}),
|
|
958
|
+
children: [e, t]
|
|
959
|
+
}), n[22] = e, n[23] = t, n[24] = r) : r = n[24];
|
|
957
960
|
let i;
|
|
958
|
-
return
|
|
961
|
+
return n[25] !== O || n[26] !== r ? (i = /* @__PURE__ */ Q(he, { children: [O, r] }), n[25] = O, n[26] = r, n[27] = i) : i = n[27], i;
|
|
959
962
|
}
|
|
960
963
|
if (p.length > 0) {
|
|
961
964
|
let e;
|
|
962
|
-
|
|
963
|
-
let
|
|
964
|
-
|
|
965
|
+
n[28] === Symbol.for("react.memo_cache_sentinel") ? (e = { "aria-label": "Collection list" }, n[28] = e) : e = n[28];
|
|
966
|
+
let r;
|
|
967
|
+
n[29] !== m || n[30] !== p || n[31] !== w || n[32] !== C || n[33] !== h ? (r = /* @__PURE__ */ Z(t, {
|
|
965
968
|
flex: "1",
|
|
966
969
|
minH: "0",
|
|
967
970
|
viewportProps: e,
|
|
968
|
-
children: /* @__PURE__ */
|
|
971
|
+
children: /* @__PURE__ */ Z(st, {
|
|
969
972
|
items: p,
|
|
970
973
|
selectedItemId: h,
|
|
971
974
|
expandedGroups: m,
|
|
972
975
|
onExpandedGroupChange: C
|
|
973
976
|
}, w)
|
|
974
|
-
}),
|
|
977
|
+
}), n[29] = m, n[30] = p, n[31] = w, n[32] = C, n[33] = h, n[34] = r) : r = n[34];
|
|
975
978
|
let i;
|
|
976
|
-
return
|
|
979
|
+
return n[35] !== O || n[36] !== r ? (i = /* @__PURE__ */ Q(he, { children: [O, r] }), n[35] = O, n[36] = r, n[37] = i) : i = n[37], i;
|
|
977
980
|
}
|
|
978
981
|
if (T) return O;
|
|
979
982
|
let k;
|
|
980
|
-
return
|
|
983
|
+
return n[38] !== v || n[39] !== g || n[40] !== _ ? (k = /* @__PURE__ */ Z(lt, {
|
|
981
984
|
emptyState: g,
|
|
982
985
|
title: _,
|
|
983
986
|
description: v
|
|
984
|
-
}),
|
|
987
|
+
}), n[38] = v, n[39] = g, n[40] = _, n[41] = k) : k = n[41], k;
|
|
985
988
|
}, dt = (e) => {
|
|
986
|
-
let t =
|
|
987
|
-
return t[0] === n ? r = t[1] : (r = /* @__PURE__ */
|
|
989
|
+
let t = X(2), { children: n } = e, r;
|
|
990
|
+
return t[0] === n ? r = t[1] : (r = /* @__PURE__ */ Z(Y, {
|
|
988
991
|
minH: "0.75rem",
|
|
989
992
|
textStyle: "label/XS",
|
|
990
993
|
color: "fg.muted",
|
|
@@ -994,18 +997,18 @@ var Ye = () => {
|
|
|
994
997
|
children: n
|
|
995
998
|
}), t[0] = n, t[1] = r), r;
|
|
996
999
|
}, ft = (e) => {
|
|
997
|
-
let t =
|
|
998
|
-
t[0] === n.title ? u = t[1] : (u = /* @__PURE__ */
|
|
1000
|
+
let t = X(17), { group: n, params: r, fieldProps: i, variant: a, width: o } = e, s = o === void 0 ? "auto" : o, c = n.title, l = a === "small" ? "2xs" : "xs", u;
|
|
1001
|
+
t[0] === n.title ? u = t[1] : (u = /* @__PURE__ */ Z(dt, { children: n.title }), t[0] = n.title, t[1] = u);
|
|
999
1002
|
let d = a === "small" ? "2xs" : "xs", f;
|
|
1000
1003
|
if (t[2] !== i || t[3] !== r) {
|
|
1001
1004
|
let e;
|
|
1002
|
-
t[5] === i ? e = t[6] : (e = (e) => /* @__PURE__ */
|
|
1005
|
+
t[5] === i ? e = t[6] : (e = (e) => /* @__PURE__ */ Z(F, {
|
|
1003
1006
|
param: e,
|
|
1004
1007
|
...i
|
|
1005
1008
|
}, e.id), t[5] = i, t[6] = e), f = r.map(e), t[2] = i, t[3] = r, t[4] = f;
|
|
1006
1009
|
} else f = t[4];
|
|
1007
1010
|
let p;
|
|
1008
|
-
t[7] !== d || t[8] !== f || t[9] !== s ? (p = /* @__PURE__ */
|
|
1011
|
+
t[7] !== d || t[8] !== f || t[9] !== s ? (p = /* @__PURE__ */ Z(K, {
|
|
1009
1012
|
gap: d,
|
|
1010
1013
|
flexWrap: "wrap",
|
|
1011
1014
|
alignItems: "start",
|
|
@@ -1014,7 +1017,7 @@ var Ye = () => {
|
|
|
1014
1017
|
children: f
|
|
1015
1018
|
}), t[7] = d, t[8] = f, t[9] = s, t[10] = p) : p = t[10];
|
|
1016
1019
|
let m;
|
|
1017
|
-
return t[11] !== n.title || t[12] !== l || t[13] !== u || t[14] !== p || t[15] !== s ? (m = /* @__PURE__ */
|
|
1020
|
+
return t[11] !== n.title || t[12] !== l || t[13] !== u || t[14] !== p || t[15] !== s ? (m = /* @__PURE__ */ Q(pe, {
|
|
1018
1021
|
as: "section",
|
|
1019
1022
|
"aria-label": c,
|
|
1020
1023
|
gap: l,
|
|
@@ -1024,9 +1027,9 @@ var Ye = () => {
|
|
|
1024
1027
|
children: [u, p]
|
|
1025
1028
|
}), t[11] = n.title, t[12] = l, t[13] = u, t[14] = p, t[15] = s, t[16] = m) : m = t[16], m;
|
|
1026
1029
|
}, pt = (e) => {
|
|
1027
|
-
let t =
|
|
1030
|
+
let t = X(35), { params: n, groups: r, defaultValues: i, onChange: a, onOpenResource: o, readOnly: s, variant: c } = e, l, u, d, f, p, m, h, g;
|
|
1028
1031
|
if (t[0] !== i || t[1] !== a || t[2] !== o || t[3] !== s || t[4] !== n || t[5] !== r || t[6] !== c) {
|
|
1029
|
-
let e = n === void 0 ? [] : n, _ = r === void 0 ? [] : r, v = c === void 0 ? "default" : c, y = e.filter(
|
|
1032
|
+
let e = n === void 0 ? [] : n, _ = r === void 0 ? [] : r, v = c === void 0 ? "default" : c, y = e.filter(P), b = _.map(mt), x = v === "small" ? "xs" : "sm", S;
|
|
1030
1033
|
t[15] !== i || t[16] !== a || t[17] !== o || t[18] !== s || t[19] !== x ? (S = {
|
|
1031
1034
|
defaultValues: i,
|
|
1032
1035
|
onChange: a,
|
|
@@ -1035,18 +1038,18 @@ var Ye = () => {
|
|
|
1035
1038
|
presentation: "horizontal",
|
|
1036
1039
|
size: x
|
|
1037
1040
|
}, t[15] = i, t[16] = a, t[17] = o, t[18] = s, t[19] = x, t[20] = S) : S = t[20];
|
|
1038
|
-
let C = S, w = y.filter(ht), T = y.filter(
|
|
1039
|
-
l =
|
|
1040
|
-
gap:
|
|
1041
|
+
let C = S, w = y.filter(ht), T = y.filter(M), E = b.map(_t).filter(vt), D = b.map(yt).filter(bt), O = v === "small" ? "xs" : "sm", k = w.length > 0 || E.length > 0;
|
|
1042
|
+
l = de, u = "1", d = "full", f = O, p = "0", m = k ? /* @__PURE__ */ Q(K, {
|
|
1043
|
+
gap: O,
|
|
1041
1044
|
flexWrap: "wrap",
|
|
1042
1045
|
alignItems: "start",
|
|
1043
1046
|
minW: "0",
|
|
1044
|
-
children: [w.map((e) => /* @__PURE__ */
|
|
1047
|
+
children: [w.map((e) => /* @__PURE__ */ Z(F, {
|
|
1045
1048
|
param: e,
|
|
1046
1049
|
...C
|
|
1047
|
-
}, e.id)),
|
|
1050
|
+
}, e.id)), E.map((e) => {
|
|
1048
1051
|
let { group: t, params: n } = e;
|
|
1049
|
-
return /* @__PURE__ */
|
|
1052
|
+
return /* @__PURE__ */ Z(ft, {
|
|
1050
1053
|
group: t,
|
|
1051
1054
|
params: n,
|
|
1052
1055
|
fieldProps: C,
|
|
@@ -1054,29 +1057,29 @@ var Ye = () => {
|
|
|
1054
1057
|
}, t.id);
|
|
1055
1058
|
})]
|
|
1056
1059
|
}) : null;
|
|
1057
|
-
let
|
|
1058
|
-
t[21] === C ?
|
|
1060
|
+
let A;
|
|
1061
|
+
t[21] === C ? A = t[22] : (A = (e) => /* @__PURE__ */ Z(W, {
|
|
1059
1062
|
width: "full",
|
|
1060
1063
|
minW: "0",
|
|
1061
|
-
children: /* @__PURE__ */
|
|
1064
|
+
children: /* @__PURE__ */ Z(F, {
|
|
1062
1065
|
param: e,
|
|
1063
1066
|
...C
|
|
1064
1067
|
})
|
|
1065
|
-
}, e.id), t[21] = C, t[22] =
|
|
1066
|
-
let
|
|
1067
|
-
t[23] !== C || t[24] !== v ? (
|
|
1068
|
+
}, e.id), t[21] = C, t[22] = A), h = T.map(A);
|
|
1069
|
+
let j;
|
|
1070
|
+
t[23] !== C || t[24] !== v ? (j = (e) => {
|
|
1068
1071
|
let { group: t, params: n } = e;
|
|
1069
|
-
return /* @__PURE__ */
|
|
1072
|
+
return /* @__PURE__ */ Z(ft, {
|
|
1070
1073
|
group: t,
|
|
1071
1074
|
params: n,
|
|
1072
1075
|
fieldProps: C,
|
|
1073
1076
|
variant: v,
|
|
1074
1077
|
width: "full"
|
|
1075
1078
|
}, `${t.id}-rich`);
|
|
1076
|
-
}, t[23] = C, t[24] = v, t[25] =
|
|
1079
|
+
}, t[23] = C, t[24] = v, t[25] = j) : j = t[25], g = D.map(j), t[0] = i, t[1] = a, t[2] = o, t[3] = s, t[4] = n, t[5] = r, t[6] = c, t[7] = l, t[8] = u, t[9] = d, t[10] = f, t[11] = p, t[12] = m, t[13] = h, t[14] = g;
|
|
1077
1080
|
} else l = t[7], u = t[8], d = t[9], f = t[10], p = t[11], m = t[12], h = t[13], g = t[14];
|
|
1078
1081
|
let _;
|
|
1079
|
-
return t[26] !== l || t[27] !== u || t[28] !== d || t[29] !== f || t[30] !== p || t[31] !== m || t[32] !== h || t[33] !== g ? (_ = /* @__PURE__ */
|
|
1082
|
+
return t[26] !== l || t[27] !== u || t[28] !== d || t[29] !== f || t[30] !== p || t[31] !== m || t[32] !== h || t[33] !== g ? (_ = /* @__PURE__ */ Q(l, {
|
|
1080
1083
|
flex: u,
|
|
1081
1084
|
maxW: d,
|
|
1082
1085
|
gap: f,
|
|
@@ -1091,14 +1094,14 @@ var Ye = () => {
|
|
|
1091
1094
|
function mt(e) {
|
|
1092
1095
|
return {
|
|
1093
1096
|
...e,
|
|
1094
|
-
params: e.params.filter(
|
|
1097
|
+
params: e.params.filter(P)
|
|
1095
1098
|
};
|
|
1096
1099
|
}
|
|
1097
1100
|
function ht(e) {
|
|
1098
|
-
return !
|
|
1101
|
+
return !M(e);
|
|
1099
1102
|
}
|
|
1100
1103
|
function gt(e) {
|
|
1101
|
-
return !
|
|
1104
|
+
return !M(e);
|
|
1102
1105
|
}
|
|
1103
1106
|
function _t(e) {
|
|
1104
1107
|
return {
|
|
@@ -1113,7 +1116,7 @@ function vt(e) {
|
|
|
1113
1116
|
function yt(e) {
|
|
1114
1117
|
return {
|
|
1115
1118
|
group: e,
|
|
1116
|
-
params: e.params.filter(
|
|
1119
|
+
params: e.params.filter(M)
|
|
1117
1120
|
};
|
|
1118
1121
|
}
|
|
1119
1122
|
function bt(e) {
|
|
@@ -1123,58 +1126,58 @@ function bt(e) {
|
|
|
1123
1126
|
//#endregion
|
|
1124
1127
|
//#region src/components/kanban-renderer/kanban-renderer-create-field.tsx
|
|
1125
1128
|
var xt = (e) => {
|
|
1126
|
-
let t =
|
|
1129
|
+
let t = X(7), { disabled: n, field: r, onChange: i } = e, a = typeof r.defaultValue == "string" ? r.defaultValue : "", o = !n, s;
|
|
1127
1130
|
t[0] === i ? s = t[1] : (s = (e) => i(e), t[0] = i, t[1] = s);
|
|
1128
1131
|
let c;
|
|
1129
|
-
return t[2] !== r.placeholder || t[3] !== a || t[4] !== o || t[5] !== s ? (c = /* @__PURE__ */
|
|
1132
|
+
return t[2] !== r.placeholder || t[3] !== a || t[4] !== o || t[5] !== s ? (c = /* @__PURE__ */ Z(N, {
|
|
1130
1133
|
defaultState: a,
|
|
1131
1134
|
isEditable: o,
|
|
1132
1135
|
placeholder: r.placeholder,
|
|
1133
1136
|
autoFocus: !0,
|
|
1134
1137
|
onChange: s
|
|
1135
1138
|
}), t[2] = r.placeholder, t[3] = a, t[4] = o, t[5] = s, t[6] = c) : c = t[6], c;
|
|
1136
|
-
}, St = (
|
|
1137
|
-
let
|
|
1138
|
-
|
|
1139
|
-
let u = l, d =
|
|
1140
|
-
|
|
1139
|
+
}, St = (e) => {
|
|
1140
|
+
let t = X(24), { disabled: n, field: r, removeLabel: a, value: o, onChange: s } = e, c = ye(null), l;
|
|
1141
|
+
t[0] === o ? l = t[1] : (l = Array.isArray(o) ? o : [], t[0] = o, t[1] = l);
|
|
1142
|
+
let u = l, d = r.multiple !== !1, f;
|
|
1143
|
+
t[2] !== r.multiple || t[3] !== u || t[4] !== s ? (f = (e) => {
|
|
1141
1144
|
let t = Array.from(e.target.files ?? []);
|
|
1142
|
-
s(
|
|
1143
|
-
},
|
|
1145
|
+
s(r.multiple === !1 ? t.slice(0, 1) : [...u, ...t]), e.target.value = "";
|
|
1146
|
+
}, t[2] = r.multiple, t[3] = u, t[4] = s, t[5] = f) : f = t[5];
|
|
1144
1147
|
let p;
|
|
1145
|
-
|
|
1148
|
+
t[6] !== r.accept || t[7] !== d || t[8] !== f ? (p = /* @__PURE__ */ Z("input", {
|
|
1146
1149
|
ref: c,
|
|
1147
1150
|
hidden: !0,
|
|
1148
1151
|
type: "file",
|
|
1149
|
-
accept:
|
|
1152
|
+
accept: r.accept,
|
|
1150
1153
|
multiple: d,
|
|
1151
1154
|
onChange: f
|
|
1152
|
-
}),
|
|
1155
|
+
}), t[6] = r.accept, t[7] = d, t[8] = f, t[9] = p) : p = t[9];
|
|
1153
1156
|
let m, h;
|
|
1154
|
-
|
|
1157
|
+
t[10] === Symbol.for("react.memo_cache_sentinel") ? (m = () => c.current?.click(), h = /* @__PURE__ */ Z(q, {
|
|
1155
1158
|
as: Te,
|
|
1156
1159
|
boxSize: "4"
|
|
1157
|
-
}),
|
|
1160
|
+
}), t[10] = m, t[11] = h) : (m = t[10], h = t[11]);
|
|
1158
1161
|
let g;
|
|
1159
|
-
|
|
1162
|
+
t[12] !== n || t[13] !== r.label ? (g = /* @__PURE__ */ Q(G, {
|
|
1160
1163
|
size: "xs",
|
|
1161
1164
|
variant: "ghost",
|
|
1162
|
-
disabled:
|
|
1165
|
+
disabled: n,
|
|
1163
1166
|
onClick: m,
|
|
1164
|
-
children: [h,
|
|
1165
|
-
}),
|
|
1167
|
+
children: [h, r.label]
|
|
1168
|
+
}), t[12] = n, t[13] = r.label, t[14] = g) : g = t[14];
|
|
1166
1169
|
let _;
|
|
1167
|
-
|
|
1170
|
+
t[15] !== n || t[16] !== u || t[17] !== s || t[18] !== a ? (_ = u.length > 0 ? /* @__PURE__ */ Z(me, {
|
|
1168
1171
|
gap: "2xs",
|
|
1169
|
-
children: u.map((
|
|
1170
|
-
file:
|
|
1171
|
-
disabled:
|
|
1172
|
+
children: u.map((e, t) => /* @__PURE__ */ Z(i, {
|
|
1173
|
+
file: e,
|
|
1174
|
+
disabled: n,
|
|
1172
1175
|
removeLabel: a,
|
|
1173
|
-
onRemove: () => s(u.filter((e,
|
|
1174
|
-
}, `${
|
|
1175
|
-
}) : null,
|
|
1176
|
+
onRemove: () => s(u.filter((e, n) => n !== t))
|
|
1177
|
+
}, `${e.name}-${t.toString()}`))
|
|
1178
|
+
}) : null, t[15] = n, t[16] = u, t[17] = s, t[18] = a, t[19] = _) : _ = t[19];
|
|
1176
1179
|
let v;
|
|
1177
|
-
return
|
|
1180
|
+
return t[20] !== p || t[21] !== g || t[22] !== _ ? (v = /* @__PURE__ */ Q(de, {
|
|
1178
1181
|
gap: "2xs",
|
|
1179
1182
|
align: "start",
|
|
1180
1183
|
children: [
|
|
@@ -1182,14 +1185,14 @@ var xt = (e) => {
|
|
|
1182
1185
|
g,
|
|
1183
1186
|
_
|
|
1184
1187
|
]
|
|
1185
|
-
}),
|
|
1188
|
+
}), t[20] = p, t[21] = g, t[22] = _, t[23] = v) : v = t[23], v;
|
|
1186
1189
|
}, Ct = (e) => {
|
|
1187
|
-
let t =
|
|
1190
|
+
let t = X(45), { disabled: n, field: r, value: i, onChange: a } = e;
|
|
1188
1191
|
if (r.type === "longtext") {
|
|
1189
1192
|
let e = typeof i == "string" ? i : "", o;
|
|
1190
1193
|
t[0] === a ? o = t[1] : (o = (e) => a(e.target.value), t[0] = a, t[1] = o);
|
|
1191
1194
|
let s;
|
|
1192
|
-
return t[2] !== n || t[3] !== r.label || t[4] !== r.placeholder || t[5] !== e || t[6] !== o ? (s = /* @__PURE__ */
|
|
1195
|
+
return t[2] !== n || t[3] !== r.label || t[4] !== r.placeholder || t[5] !== e || t[6] !== o ? (s = /* @__PURE__ */ Z(fe, {
|
|
1193
1196
|
"aria-label": r.label,
|
|
1194
1197
|
minH: "120px",
|
|
1195
1198
|
size: "sm",
|
|
@@ -1209,7 +1212,7 @@ var xt = (e) => {
|
|
|
1209
1212
|
let d = r.type === "multi-select", f = r.placeholder ?? r.label, p = !r.required, m;
|
|
1210
1213
|
t[15] === a ? m = t[16] : (m = (e, t) => a(t), t[15] = a, t[16] = m);
|
|
1211
1214
|
let h;
|
|
1212
|
-
return t[17] !== n || t[18] !== r.id || t[19] !== r.label || t[20] !== s || t[21] !== c || t[22] !== u || t[23] !== d || t[24] !== f || t[25] !== p || t[26] !== m ? (h = /* @__PURE__ */
|
|
1215
|
+
return t[17] !== n || t[18] !== r.id || t[19] !== r.label || t[20] !== s || t[21] !== c || t[22] !== u || t[23] !== d || t[24] !== f || t[25] !== p || t[26] !== m ? (h = /* @__PURE__ */ Z(j, {
|
|
1213
1216
|
hideLabel: !0,
|
|
1214
1217
|
id: e,
|
|
1215
1218
|
name: o,
|
|
@@ -1227,7 +1230,7 @@ var xt = (e) => {
|
|
|
1227
1230
|
let e;
|
|
1228
1231
|
t[28] !== a || t[29] !== i ? (e = () => a(i !== !0), t[28] = a, t[29] = i, t[30] = e) : e = t[30];
|
|
1229
1232
|
let o;
|
|
1230
|
-
return t[31] !== n || t[32] !== r.label || t[33] !== e ? (o = /* @__PURE__ */
|
|
1233
|
+
return t[31] !== n || t[32] !== r.label || t[33] !== e ? (o = /* @__PURE__ */ Z(G, {
|
|
1231
1234
|
size: "sm",
|
|
1232
1235
|
variant: "outline",
|
|
1233
1236
|
disabled: n,
|
|
@@ -1238,7 +1241,7 @@ var xt = (e) => {
|
|
|
1238
1241
|
let o = r.type === "number" ? "number" : "text", s = typeof i == "string" || typeof i == "number" ? i : "", c;
|
|
1239
1242
|
t[35] !== r.type || t[36] !== a ? (c = (e) => a(r.type === "number" && e.target.value ? Number(e.target.value) : e.target.value), t[35] = r.type, t[36] = a, t[37] = c) : c = t[37];
|
|
1240
1243
|
let l;
|
|
1241
|
-
return t[38] !== n || t[39] !== r.label || t[40] !== r.placeholder || t[41] !== o || t[42] !== s || t[43] !== c ? (l = /* @__PURE__ */
|
|
1244
|
+
return t[38] !== n || t[39] !== r.label || t[40] !== r.placeholder || t[41] !== o || t[42] !== s || t[43] !== c ? (l = /* @__PURE__ */ Z(ce, {
|
|
1242
1245
|
"aria-label": r.label,
|
|
1243
1246
|
size: "sm",
|
|
1244
1247
|
type: o,
|
|
@@ -1248,10 +1251,10 @@ var xt = (e) => {
|
|
|
1248
1251
|
onChange: c
|
|
1249
1252
|
}), t[38] = n, t[39] = r.label, t[40] = r.placeholder, t[41] = o, t[42] = s, t[43] = c, t[44] = l) : l = t[44], l;
|
|
1250
1253
|
}, wt = (e) => {
|
|
1251
|
-
let t =
|
|
1254
|
+
let t = X(20), { disabled: n, field: r, removeLabel: i, value: a, onChange: o } = e;
|
|
1252
1255
|
if (r.type === "files") {
|
|
1253
1256
|
let e;
|
|
1254
|
-
return t[0] !== n || t[1] !== r || t[2] !== o || t[3] !== i || t[4] !== a ? (e = /* @__PURE__ */
|
|
1257
|
+
return t[0] !== n || t[1] !== r || t[2] !== o || t[3] !== i || t[4] !== a ? (e = /* @__PURE__ */ Z(St, {
|
|
1255
1258
|
disabled: n,
|
|
1256
1259
|
field: r,
|
|
1257
1260
|
removeLabel: i,
|
|
@@ -1261,27 +1264,27 @@ var xt = (e) => {
|
|
|
1261
1264
|
}
|
|
1262
1265
|
if (r.type === "markdown") {
|
|
1263
1266
|
let e;
|
|
1264
|
-
return t[6] !== n || t[7] !== r || t[8] !== o ? (e = /* @__PURE__ */
|
|
1267
|
+
return t[6] !== n || t[7] !== r || t[8] !== o ? (e = /* @__PURE__ */ Z(xt, {
|
|
1265
1268
|
disabled: n,
|
|
1266
1269
|
field: r,
|
|
1267
1270
|
onChange: o
|
|
1268
1271
|
}), t[6] = n, t[7] = r, t[8] = o, t[9] = e) : e = t[9], e;
|
|
1269
1272
|
}
|
|
1270
1273
|
let s = `${r.label}${r.required ? " *" : ""}`, c;
|
|
1271
|
-
t[10] === s ? c = t[11] : (c = /* @__PURE__ */
|
|
1274
|
+
t[10] === s ? c = t[11] : (c = /* @__PURE__ */ Z(Y, {
|
|
1272
1275
|
textStyle: "label/S/medium",
|
|
1273
1276
|
children: s
|
|
1274
1277
|
}), t[10] = s, t[11] = c);
|
|
1275
1278
|
let l;
|
|
1276
|
-
t[12] === r.description ? l = t[13] : (l = r.description ? /* @__PURE__ */
|
|
1279
|
+
t[12] === r.description ? l = t[13] : (l = r.description ? /* @__PURE__ */ Z(Y, {
|
|
1277
1280
|
textStyle: "paragraph/XS/regular",
|
|
1278
1281
|
color: "fg.muted",
|
|
1279
1282
|
children: r.description
|
|
1280
1283
|
}) : null, t[12] = r.description, t[13] = l);
|
|
1281
1284
|
let u;
|
|
1282
|
-
t[14] === e ? u = t[15] : (u = /* @__PURE__ */
|
|
1285
|
+
t[14] === e ? u = t[15] : (u = /* @__PURE__ */ Z(Ct, { ...e }), t[14] = e, t[15] = u);
|
|
1283
1286
|
let d;
|
|
1284
|
-
return t[16] !== c || t[17] !== l || t[18] !== u ? (d = /* @__PURE__ */
|
|
1287
|
+
return t[16] !== c || t[17] !== l || t[18] !== u ? (d = /* @__PURE__ */ Q(de, {
|
|
1285
1288
|
gap: "2xs",
|
|
1286
1289
|
children: [
|
|
1287
1290
|
c,
|
|
@@ -1319,7 +1322,7 @@ var Et = (e) => e.type === "files" || e.type === "multi-select" ? [] : e.type !=
|
|
|
1319
1322
|
placeholder: e.label,
|
|
1320
1323
|
clearable: !t,
|
|
1321
1324
|
disabled: t,
|
|
1322
|
-
options:
|
|
1325
|
+
options: f(e.type).map((e) => ({
|
|
1323
1326
|
id: e.value,
|
|
1324
1327
|
name: e.label,
|
|
1325
1328
|
icon: e.icon ?? void 0,
|
|
@@ -1338,22 +1341,22 @@ var Et = (e) => e.type === "files" || e.type === "multi-select" ? [] : e.type !=
|
|
|
1338
1341
|
singleLine: !0
|
|
1339
1342
|
};
|
|
1340
1343
|
}, Mt = (e) => {
|
|
1341
|
-
let { open: t, columnId: n, columnAttributeId: r, attributes: i, config:
|
|
1342
|
-
|
|
1344
|
+
let { open: t, columnId: n, columnAttributeId: r, attributes: i, config: o, onClose: s, onSubmit: c } = e, [l, u] = $({}), [d, f] = $({}), [p, m] = $(!1), [h, g] = $(""), [_, v] = $(0), y = ye(!1), b = kt(i);
|
|
1345
|
+
_e(() => {
|
|
1343
1346
|
if (!t) {
|
|
1344
1347
|
y.current = !1;
|
|
1345
1348
|
return;
|
|
1346
1349
|
}
|
|
1347
|
-
y.current || (y.current = !0, u(Dt(
|
|
1350
|
+
y.current || (y.current = !0, u(Dt(o.fields)), f(At(kt(i), r, n)), g(""), v((e) => e + 1));
|
|
1348
1351
|
}, [
|
|
1349
1352
|
i,
|
|
1350
1353
|
r,
|
|
1351
1354
|
n,
|
|
1352
|
-
|
|
1355
|
+
o.fields,
|
|
1353
1356
|
t
|
|
1354
|
-
]),
|
|
1357
|
+
]), _e(() => {
|
|
1355
1358
|
if (!t) return;
|
|
1356
|
-
let e = Dt(
|
|
1359
|
+
let e = Dt(o.fields), n = new Set(o.fields.map((e) => e.id));
|
|
1357
1360
|
u((t) => {
|
|
1358
1361
|
let r = Object.entries(t).filter(([e]) => n.has(e)), i = Object.entries(e).filter(([e]) => !(e in t));
|
|
1359
1362
|
return i.length === 0 && r.length === Object.keys(t).length ? t : {
|
|
@@ -1361,7 +1364,7 @@ var Et = (e) => e.type === "files" || e.type === "multi-select" ? [] : e.type !=
|
|
|
1361
1364
|
...Object.fromEntries(r)
|
|
1362
1365
|
};
|
|
1363
1366
|
});
|
|
1364
|
-
}, [
|
|
1367
|
+
}, [o.fields, t]), _e(() => {
|
|
1365
1368
|
if (!t) return;
|
|
1366
1369
|
let e = kt(i), a = At(e, r, n), o = new Set(e.map((e) => e.id));
|
|
1367
1370
|
f((e) => {
|
|
@@ -1379,11 +1382,11 @@ var Et = (e) => e.type === "files" || e.type === "multi-select" ? [] : e.type !=
|
|
|
1379
1382
|
]);
|
|
1380
1383
|
let x = () => {
|
|
1381
1384
|
p || s();
|
|
1382
|
-
}, S =
|
|
1385
|
+
}, S = o.fields.every((e) => Ot(e, l[e.id])), C = async () => {
|
|
1383
1386
|
if (S && !p) {
|
|
1384
1387
|
m(!0), g("");
|
|
1385
1388
|
try {
|
|
1386
|
-
let e = new Set(
|
|
1389
|
+
let e = new Set(o.fields.filter((e) => e.type === "files").map((e) => e.id)), t = [...e].flatMap((e) => Array.isArray(l[e]) ? l[e] : []), i = Object.fromEntries(Object.entries(l).filter(([t]) => !e.has(t)));
|
|
1387
1390
|
await c({
|
|
1388
1391
|
columnId: n,
|
|
1389
1392
|
columnAttributeId: r,
|
|
@@ -1392,34 +1395,34 @@ var Et = (e) => e.type === "files" || e.type === "multi-select" ? [] : e.type !=
|
|
|
1392
1395
|
files: t
|
|
1393
1396
|
}), s();
|
|
1394
1397
|
} catch (e) {
|
|
1395
|
-
g(e instanceof Error ? e.message :
|
|
1398
|
+
g(e instanceof Error ? e.message : o.labels.submitError);
|
|
1396
1399
|
} finally {
|
|
1397
1400
|
m(!1);
|
|
1398
1401
|
}
|
|
1399
1402
|
}
|
|
1400
1403
|
};
|
|
1401
|
-
return /* @__PURE__ */
|
|
1404
|
+
return /* @__PURE__ */ Q(oe.Root, {
|
|
1402
1405
|
open: t,
|
|
1403
1406
|
size: "lg",
|
|
1404
1407
|
scrollBehavior: "inside",
|
|
1405
1408
|
onOpenChange: (e) => !e.open && x(),
|
|
1406
|
-
children: [/* @__PURE__ */
|
|
1409
|
+
children: [/* @__PURE__ */ Z(oe.Backdrop, {}), /* @__PURE__ */ Z(oe.Positioner, { children: /* @__PURE__ */ Q(oe.Content, {
|
|
1407
1410
|
maxH: "calc(100% - 48px)",
|
|
1408
|
-
onKeyDownCapture: (e) =>
|
|
1411
|
+
onKeyDownCapture: (e) => a(e, () => void C(), S && !p),
|
|
1409
1412
|
children: [
|
|
1410
|
-
/* @__PURE__ */
|
|
1413
|
+
/* @__PURE__ */ Q(oe.Header, { children: [/* @__PURE__ */ Z(oe.Title, { children: o.title }), /* @__PURE__ */ Z(oe.CloseTrigger, {
|
|
1411
1414
|
asChild: !0,
|
|
1412
|
-
children: /* @__PURE__ */
|
|
1415
|
+
children: /* @__PURE__ */ Z(ae, {
|
|
1413
1416
|
size: "sm",
|
|
1414
1417
|
disabled: p
|
|
1415
1418
|
})
|
|
1416
1419
|
})] }),
|
|
1417
|
-
/* @__PURE__ */
|
|
1420
|
+
/* @__PURE__ */ Z(oe.Body, { children: /* @__PURE__ */ Q(de, {
|
|
1418
1421
|
gap: "md",
|
|
1419
1422
|
children: [
|
|
1420
|
-
|
|
1423
|
+
o.fields.map((e) => /* @__PURE__ */ Z(wt, {
|
|
1421
1424
|
field: e,
|
|
1422
|
-
removeLabel:
|
|
1425
|
+
removeLabel: o.labels.removeFile,
|
|
1423
1426
|
value: l[e.id],
|
|
1424
1427
|
disabled: p,
|
|
1425
1428
|
onChange: (t) => u((n) => ({
|
|
@@ -1427,12 +1430,12 @@ var Et = (e) => e.type === "files" || e.type === "multi-select" ? [] : e.type !=
|
|
|
1427
1430
|
[e.id]: t
|
|
1428
1431
|
}))
|
|
1429
1432
|
}, `${e.id}:${_.toString()}`)),
|
|
1430
|
-
b.length > 0 ? /* @__PURE__ */
|
|
1433
|
+
b.length > 0 ? /* @__PURE__ */ Q(de, {
|
|
1431
1434
|
gap: "2xs",
|
|
1432
|
-
children: [/* @__PURE__ */
|
|
1435
|
+
children: [/* @__PURE__ */ Z(Y, {
|
|
1433
1436
|
textStyle: "label/S/medium",
|
|
1434
|
-
children:
|
|
1435
|
-
}), /* @__PURE__ */
|
|
1437
|
+
children: o.labels.properties
|
|
1438
|
+
}), /* @__PURE__ */ Z(pt, {
|
|
1436
1439
|
variant: "small",
|
|
1437
1440
|
params: b.map((e) => jt(e, e.id === r)),
|
|
1438
1441
|
defaultValues: d,
|
|
@@ -1443,30 +1446,30 @@ var Et = (e) => e.type === "files" || e.type === "multi-select" ? [] : e.type !=
|
|
|
1443
1446
|
}))
|
|
1444
1447
|
})]
|
|
1445
1448
|
}) : null,
|
|
1446
|
-
h ? /* @__PURE__ */
|
|
1449
|
+
h ? /* @__PURE__ */ Z(Y, {
|
|
1447
1450
|
textStyle: "paragraph/S/regular",
|
|
1448
1451
|
color: "fg.error",
|
|
1449
1452
|
children: h
|
|
1450
1453
|
}) : null
|
|
1451
1454
|
]
|
|
1452
1455
|
}) }),
|
|
1453
|
-
/* @__PURE__ */
|
|
1456
|
+
/* @__PURE__ */ Z(oe.Footer, {
|
|
1454
1457
|
justifyContent: "end",
|
|
1455
|
-
children: /* @__PURE__ */
|
|
1458
|
+
children: /* @__PURE__ */ Q(K, {
|
|
1456
1459
|
gap: "2",
|
|
1457
|
-
children: [/* @__PURE__ */
|
|
1460
|
+
children: [/* @__PURE__ */ Z(G, {
|
|
1458
1461
|
size: "sm",
|
|
1459
1462
|
variant: "ghost",
|
|
1460
1463
|
disabled: p,
|
|
1461
1464
|
onClick: x,
|
|
1462
|
-
children:
|
|
1463
|
-
}), /* @__PURE__ */
|
|
1465
|
+
children: o.labels.cancel
|
|
1466
|
+
}), /* @__PURE__ */ Z(G, {
|
|
1464
1467
|
size: "sm",
|
|
1465
1468
|
variant: "primary",
|
|
1466
1469
|
disabled: !S,
|
|
1467
1470
|
loading: p,
|
|
1468
1471
|
onClick: () => void C(),
|
|
1469
|
-
children:
|
|
1472
|
+
children: o.submitLabel
|
|
1470
1473
|
})]
|
|
1471
1474
|
})
|
|
1472
1475
|
})
|
|
@@ -1474,83 +1477,83 @@ var Et = (e) => e.type === "files" || e.type === "multi-select" ? [] : e.type !=
|
|
|
1474
1477
|
}) })]
|
|
1475
1478
|
});
|
|
1476
1479
|
}, Nt = (e) => {
|
|
1477
|
-
let { settings:
|
|
1478
|
-
let
|
|
1480
|
+
let { settings: t, sorts: n, search: r, visibleRows: i, grouped: a, attributes: o, onRowClick: s, onActionError: l, onAttributeChange: d, onReorder: f, getRowContextMenuActions: p } = e, m = n.length === 0, h = D(o), g = (e) => k(e, n, h), _ = t.displayProperties.filter((e) => e !== "id"), v = (e, t) => {
|
|
1481
|
+
let n = u(o, e), r = n ? E(n.type, t) : void 0;
|
|
1479
1482
|
return {
|
|
1480
|
-
statusColorPalette:
|
|
1481
|
-
statusIcon:
|
|
1483
|
+
statusColorPalette: r?.color,
|
|
1484
|
+
statusIcon: c(r?.icon)
|
|
1482
1485
|
};
|
|
1483
|
-
},
|
|
1486
|
+
}, y = (e) => {
|
|
1484
1487
|
let t = e.attributes.status;
|
|
1485
|
-
return typeof t == "string" ?
|
|
1486
|
-
},
|
|
1487
|
-
let
|
|
1488
|
+
return typeof t == "string" ? v("status", t) : {};
|
|
1489
|
+
}, b = (e, n) => {
|
|
1490
|
+
let i = typeof e.attributes.id == "string" ? e.attributes.id : void 0;
|
|
1488
1491
|
return {
|
|
1489
1492
|
id: e.id,
|
|
1490
|
-
eyebrow:
|
|
1493
|
+
eyebrow: i && i !== e.title ? i : void 0,
|
|
1491
1494
|
title: e.title,
|
|
1492
|
-
highlight:
|
|
1493
|
-
...
|
|
1494
|
-
badges:
|
|
1495
|
-
customSlots:
|
|
1495
|
+
highlight: r,
|
|
1496
|
+
...y(e),
|
|
1497
|
+
badges: L(e, o, _),
|
|
1498
|
+
customSlots: z(e, o, _),
|
|
1496
1499
|
contextMenuActions: p?.(e),
|
|
1497
|
-
onClick: () =>
|
|
1498
|
-
onBadgeChange: d ? (t, n) => ke("Update attribute", () => d(e.id, t, n),
|
|
1500
|
+
onClick: () => s?.(e),
|
|
1501
|
+
onBadgeChange: d ? (t, n) => ke("Update attribute", () => d(e.id, t, n), l) : void 0,
|
|
1499
1502
|
draggable: !!(d || f),
|
|
1500
1503
|
onDropRow: m && (d || f) ? (r) => ke("Move row", async () => {
|
|
1501
|
-
let i =
|
|
1502
|
-
i &&
|
|
1503
|
-
},
|
|
1504
|
+
let i = H(t.columnGrouping, n);
|
|
1505
|
+
i && t.columnGrouping !== "none" && d && await d(r, t.columnGrouping, i), t.rowGrouping !== "none" && n?.rowKey && d && await d(r, t.rowGrouping, n.rowKey), await f?.(r, e.id);
|
|
1506
|
+
}, l) : void 0
|
|
1504
1507
|
};
|
|
1505
|
-
},
|
|
1506
|
-
let r =
|
|
1508
|
+
}, x = (e, n) => {
|
|
1509
|
+
let r = n ? t.rowGrouping : t.columnGrouping;
|
|
1507
1510
|
return {
|
|
1508
|
-
id:
|
|
1511
|
+
id: n ? `group::${n.columnKey}::${e.key}` : `group::${e.key}`,
|
|
1509
1512
|
title: e.label,
|
|
1510
1513
|
isGroup: !0,
|
|
1511
1514
|
countBadge: e.rows.length,
|
|
1512
|
-
...
|
|
1513
|
-
onDropRow: d &&
|
|
1514
|
-
let i =
|
|
1515
|
-
await d(r,
|
|
1516
|
-
},
|
|
1517
|
-
children:
|
|
1518
|
-
columnKey:
|
|
1519
|
-
rowKey:
|
|
1515
|
+
...v(r, e.key),
|
|
1516
|
+
onDropRow: d && t.columnGrouping !== "none" ? (r) => ke("Move row", async () => {
|
|
1517
|
+
let i = n?.columnKey ?? e.key;
|
|
1518
|
+
await d(r, t.columnGrouping, i), t.rowGrouping !== "none" && n && await d(r, t.rowGrouping, e.key);
|
|
1519
|
+
}, l) : void 0,
|
|
1520
|
+
children: g(e.rows).map((t) => b(t, {
|
|
1521
|
+
columnKey: n?.columnKey ?? e.key,
|
|
1522
|
+
rowKey: n ? e.key : void 0
|
|
1520
1523
|
}))
|
|
1521
1524
|
};
|
|
1522
1525
|
};
|
|
1523
|
-
return
|
|
1526
|
+
return t.columnGrouping === "none" ? g(i).map((e) => b(e)) : a.map((e) => e.subgroups.length > 0 ? {
|
|
1524
1527
|
id: `group::${e.key}`,
|
|
1525
1528
|
title: e.label,
|
|
1526
1529
|
isGroup: !0,
|
|
1527
1530
|
countBadge: e.rows.length,
|
|
1528
|
-
...
|
|
1529
|
-
onDropRow: d ? (
|
|
1530
|
-
children: e.subgroups.map((t) =>
|
|
1531
|
-
} :
|
|
1531
|
+
...v(t.columnGrouping, e.key),
|
|
1532
|
+
onDropRow: d ? (n) => ke("Move row", () => d(n, t.columnGrouping, e.key), l) : void 0,
|
|
1533
|
+
children: e.subgroups.map((t) => x(t, { columnKey: e.key }))
|
|
1534
|
+
} : x(e));
|
|
1532
1535
|
}, Pt = (e) => ({
|
|
1533
1536
|
settings: {
|
|
1534
|
-
...
|
|
1537
|
+
...T,
|
|
1535
1538
|
...e?.settings
|
|
1536
1539
|
},
|
|
1537
1540
|
filter: e?.filter,
|
|
1538
1541
|
sorts: e?.sorts
|
|
1539
1542
|
}), Ft = (e, t, n) => {
|
|
1540
|
-
let r =
|
|
1541
|
-
return r[0] === n ? i = r[1] : (i = Pt(n), r[0] = n, r[1] = i),
|
|
1543
|
+
let r = X(2), i;
|
|
1544
|
+
return r[0] === n ? i = r[1] : (i = Pt(n), r[0] = n, r[1] = i), h(e, i, t);
|
|
1542
1545
|
}, It = (e) => {
|
|
1543
1546
|
let t = [];
|
|
1544
|
-
for (let n of e) (n.type.kind === "enum" || n.type.kind === "enum-multi") &&
|
|
1547
|
+
for (let n of e) (n.type.kind === "enum" || n.type.kind === "enum-multi") && d(n.type.options) && t.push(n.type.options);
|
|
1545
1548
|
return t;
|
|
1546
|
-
}, Lt = (e) => e.map((e) => e.type.kind !== "enum" && e.type.kind !== "enum-multi" || !
|
|
1549
|
+
}, Lt = (e) => e.map((e) => e.type.kind !== "enum" && e.type.kind !== "enum-multi" || !d(e.type.options) ? e : {
|
|
1547
1550
|
...e,
|
|
1548
1551
|
type: {
|
|
1549
1552
|
...e.type,
|
|
1550
1553
|
options: e.type.options.getSnapshot()
|
|
1551
1554
|
}
|
|
1552
1555
|
}), Rt = (e) => {
|
|
1553
|
-
let t =
|
|
1556
|
+
let t = X(7), [, n] = ve(zt, 0), r;
|
|
1554
1557
|
t[0] !== e || t[1] !== n ? (r = () => {
|
|
1555
1558
|
let t = It(e);
|
|
1556
1559
|
if (t.length === 0) return;
|
|
@@ -1560,7 +1563,7 @@ var Et = (e) => e.type === "files" || e.type === "multi-select" ? [] : e.type !=
|
|
|
1560
1563
|
};
|
|
1561
1564
|
}, t[0] = e, t[1] = n, t[2] = r) : r = t[2];
|
|
1562
1565
|
let i;
|
|
1563
|
-
t[3] === e ? i = t[4] : (i = [e], t[3] = e, t[4] = i),
|
|
1566
|
+
t[3] === e ? i = t[4] : (i = [e], t[3] = e, t[4] = i), _e(r, i);
|
|
1564
1567
|
let a;
|
|
1565
1568
|
return t[5] === e ? a = t[6] : (a = Lt(e), t[5] = e, t[6] = a), a;
|
|
1566
1569
|
};
|
|
@@ -1570,73 +1573,73 @@ function zt(e) {
|
|
|
1570
1573
|
//#endregion
|
|
1571
1574
|
//#region src/components/kanban-renderer/kanban-renderer-toolbar.tsx
|
|
1572
1575
|
var Bt = (e, t) => e.includes(t) ? e.filter((e) => e !== t) : [...e, t], Vt = (e) => {
|
|
1573
|
-
let t =
|
|
1574
|
-
t[0] !== o || t[1] !== a || t[2] !== s ? (
|
|
1576
|
+
let t = X(57), { rows: n, storageKey: r, attributes: i, defaultSettings: a, defaultFilter: o, defaultSorts: s } = e, { search: c, onSearchChange: l, searchResultLabel: u, leading: d, actions: f } = e, p;
|
|
1577
|
+
t[0] !== o || t[1] !== a || t[2] !== s ? (p = Pt({
|
|
1575
1578
|
settings: a,
|
|
1576
1579
|
filter: o,
|
|
1577
1580
|
sorts: s
|
|
1578
|
-
}), t[0] = o, t[1] = a, t[2] = s, t[3] =
|
|
1579
|
-
let
|
|
1580
|
-
t[4] !==
|
|
1581
|
+
}), t[0] = o, t[1] = a, t[2] = s, t[3] = p) : p = t[3];
|
|
1582
|
+
let m = p, h = Rt(i), g;
|
|
1583
|
+
t[4] !== h || t[5] !== m || t[6] !== e ? (g = {
|
|
1581
1584
|
...e,
|
|
1582
|
-
initialState:
|
|
1583
|
-
fields:
|
|
1584
|
-
}, t[4] =
|
|
1585
|
-
let
|
|
1586
|
-
t[8] !==
|
|
1585
|
+
initialState: m,
|
|
1586
|
+
fields: h
|
|
1587
|
+
}, t[4] = h, t[5] = m, t[6] = e, t[7] = g) : g = t[7];
|
|
1588
|
+
let _ = y(g), { settings: v, setSettings: b, sorts: x, setSorts: S } = Ft(r, Ht, m), w;
|
|
1589
|
+
t[8] !== h || t[9] !== n ? (w = V(h, n), t[8] = h, t[9] = n, t[10] = w) : w = t[10];
|
|
1587
1590
|
let T = w, E;
|
|
1588
|
-
t[11] !==
|
|
1589
|
-
let t = je(n, e.id,
|
|
1591
|
+
t[11] !== h || t[12] !== T || t[13] !== n ? (E = (e) => {
|
|
1592
|
+
let t = je(n, e.id, h);
|
|
1590
1593
|
return (T.find((t) => t.id === e.id)?.options ?? []).map((e) => ({
|
|
1591
1594
|
...e,
|
|
1592
1595
|
count: t[e.value] ?? 0
|
|
1593
1596
|
}));
|
|
1594
|
-
}, t[11] =
|
|
1595
|
-
let
|
|
1596
|
-
t[15] ===
|
|
1597
|
-
let M;
|
|
1598
|
-
t[17] === g ? M = t[18] : (M = x(g), t[17] = g, t[18] = M);
|
|
1597
|
+
}, t[11] = h, t[12] = T, t[13] = n, t[14] = E) : E = t[14];
|
|
1598
|
+
let O = E, k = e.itemLabel, A = _.views, j = e.viewsSource, M;
|
|
1599
|
+
t[15] === h ? M = t[16] : (M = D(h), t[15] = h, t[16] = M);
|
|
1599
1600
|
let N;
|
|
1600
|
-
t[
|
|
1601
|
-
fields: M,
|
|
1602
|
-
sorts: S,
|
|
1603
|
-
onSortsChange: C
|
|
1604
|
-
}), t[19] = C, t[20] = S, t[21] = M, t[22] = N) : N = t[22];
|
|
1601
|
+
t[17] === h ? N = t[18] : (N = D(h), t[17] = h, t[18] = N);
|
|
1605
1602
|
let P;
|
|
1606
|
-
t[
|
|
1607
|
-
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
let
|
|
1612
|
-
t[
|
|
1613
|
-
let
|
|
1614
|
-
t[
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1603
|
+
t[19] !== S || t[20] !== x || t[21] !== N ? (P = /* @__PURE__ */ Z(ne, {
|
|
1604
|
+
fields: N,
|
|
1605
|
+
sorts: x,
|
|
1606
|
+
onSortsChange: S
|
|
1607
|
+
}), t[19] = S, t[20] = x, t[21] = N, t[22] = P) : P = t[22];
|
|
1608
|
+
let F;
|
|
1609
|
+
t[23] === h ? F = t[24] : (F = te(h), t[23] = h, t[24] = F);
|
|
1610
|
+
let L;
|
|
1611
|
+
t[25] === h ? L = t[26] : (L = I(h), t[25] = h, t[26] = L);
|
|
1612
|
+
let R, ee, z;
|
|
1613
|
+
t[27] === b ? (R = t[28], ee = t[29], z = t[30]) : (R = (e) => b({ viewMode: e }), ee = (e) => b({ columnGrouping: e }), z = (e) => b({ rowGrouping: e }), t[27] = b, t[28] = R, t[29] = ee, t[30] = z);
|
|
1614
|
+
let B;
|
|
1615
|
+
t[31] !== b || t[32] !== v.displayProperties ? (B = (e) => b({ displayProperties: Bt(v.displayProperties, e) }), t[31] = b, t[32] = v.displayProperties, t[33] = B) : B = t[33];
|
|
1616
|
+
let H;
|
|
1617
|
+
t[34] !== v || t[35] !== F || t[36] !== L || t[37] !== R || t[38] !== ee || t[39] !== z || t[40] !== B || t[41] !== P ? (H = /* @__PURE__ */ Z(U, {
|
|
1618
|
+
settings: v,
|
|
1619
|
+
sortControl: P,
|
|
1620
|
+
groupingOptions: F,
|
|
1621
|
+
displayPropertyOptions: L,
|
|
1622
|
+
onViewModeChange: R,
|
|
1623
|
+
onColumnGroupingChange: ee,
|
|
1624
|
+
onRowGroupingChange: z,
|
|
1625
|
+
onDisplayPropertyToggle: B
|
|
1626
|
+
}), t[34] = v, t[35] = F, t[36] = L, t[37] = R, t[38] = ee, t[39] = z, t[40] = B, t[41] = P, t[42] = H) : H = t[42];
|
|
1627
|
+
let re;
|
|
1628
|
+
return t[43] !== f || t[44] !== m || t[45] !== d || t[46] !== l || t[47] !== O || t[48] !== e.itemLabel || t[49] !== e.viewsSource || t[50] !== c || t[51] !== u || t[52] !== r || t[53] !== H || t[54] !== M || t[55] !== _.views ? (re = /* @__PURE__ */ Z(C, {
|
|
1629
|
+
itemLabel: k,
|
|
1627
1630
|
storageKey: r,
|
|
1628
|
-
initialState:
|
|
1629
|
-
views:
|
|
1630
|
-
viewsSource:
|
|
1631
|
-
fields:
|
|
1632
|
-
optionsFor:
|
|
1631
|
+
initialState: m,
|
|
1632
|
+
views: A,
|
|
1633
|
+
viewsSource: j,
|
|
1634
|
+
fields: M,
|
|
1635
|
+
optionsFor: O,
|
|
1633
1636
|
search: c,
|
|
1634
1637
|
onSearchChange: l,
|
|
1635
1638
|
searchResultLabel: u,
|
|
1636
|
-
leading:
|
|
1637
|
-
actions:
|
|
1638
|
-
displayControl:
|
|
1639
|
-
}), t[43] =
|
|
1639
|
+
leading: d,
|
|
1640
|
+
actions: f,
|
|
1641
|
+
displayControl: H
|
|
1642
|
+
}), t[43] = f, t[44] = m, t[45] = d, t[46] = l, t[47] = O, t[48] = e.itemLabel, t[49] = e.viewsSource, t[50] = c, t[51] = u, t[52] = r, t[53] = H, t[54] = M, t[55] = _.views, t[56] = re) : re = t[56], re;
|
|
1640
1643
|
};
|
|
1641
1644
|
function Ht(e) {
|
|
1642
1645
|
return e;
|
|
@@ -1644,142 +1647,142 @@ function Ht(e) {
|
|
|
1644
1647
|
//#endregion
|
|
1645
1648
|
//#region src/components/kanban-renderer/kanban-renderer.tsx
|
|
1646
1649
|
var Ut = (e) => {
|
|
1647
|
-
let t =
|
|
1650
|
+
let t = X(74), { rows: n, storageKey: r, attributes: i, selectedRowId: a, emptyState: o, emptyTitle: s, emptyDescription: c, contentPlaceholder: l, defaultSettings: u, defaultFilter: d, defaultSorts: f, viewsSource: p, defaultViews: m, defaultActiveViewId: h, onRowClick: g, onActionError: _, onAttributeChange: v, onReorder: b, createRow: x, onCreateRow: S, onColumnAction: C, getBoardColumnConfig: T, getRowContextMenuActions: E, hideToolbar: O, toolbarActions: k, toolbarLeading: A } = e, j = a === void 0 ? null : a, M = s === void 0 ? "No rows found" : s, N = c === void 0 ? "Try changing filters or display settings." : c, P = O !== void 0 && O, F = Pt({
|
|
1648
1651
|
settings: u,
|
|
1649
1652
|
filter: d,
|
|
1650
|
-
sorts:
|
|
1651
|
-
}),
|
|
1652
|
-
|
|
1653
|
+
sorts: f
|
|
1654
|
+
}), I = Rt(i), L = D(I);
|
|
1655
|
+
y({
|
|
1653
1656
|
...e,
|
|
1654
|
-
initialState:
|
|
1655
|
-
fields:
|
|
1657
|
+
initialState: F,
|
|
1658
|
+
fields: L
|
|
1656
1659
|
});
|
|
1657
|
-
let [
|
|
1660
|
+
let [R, z] = $(null), [B, V] = $(""), H = ge(B), U = Ft(r, Wt, F), te = Ft(r, Gt, F), ne = Ft(r, Kt, F), re = Ft(r, qt, F), ie = Ft(r, Jt, F), W = Ft(r, Yt, F), { filteredRows: G, visibleRows: ae, columnTotals: oe } = Ne({
|
|
1658
1661
|
rows: n,
|
|
1659
|
-
filter:
|
|
1660
|
-
fields:
|
|
1661
|
-
attributes:
|
|
1662
|
-
settings:
|
|
1663
|
-
search:
|
|
1664
|
-
}),
|
|
1665
|
-
t[0] ===
|
|
1666
|
-
let
|
|
1667
|
-
attributes:
|
|
1668
|
-
columnGrouping:
|
|
1669
|
-
rowGrouping:
|
|
1670
|
-
knownColumnKeys:
|
|
1662
|
+
filter: te,
|
|
1663
|
+
fields: L,
|
|
1664
|
+
attributes: I,
|
|
1665
|
+
settings: U,
|
|
1666
|
+
search: H
|
|
1667
|
+
}), K;
|
|
1668
|
+
t[0] === H ? K = t[1] : (K = H.trim(), t[0] = H, t[1] = K);
|
|
1669
|
+
let q = K !== "", se = Ae(ae, {
|
|
1670
|
+
attributes: I,
|
|
1671
|
+
columnGrouping: U.columnGrouping,
|
|
1672
|
+
rowGrouping: U.rowGrouping,
|
|
1673
|
+
knownColumnKeys: ee(U.columnGrouping, I, te, n),
|
|
1671
1674
|
structureRows: n
|
|
1672
|
-
}),
|
|
1673
|
-
settings:
|
|
1674
|
-
sorts:
|
|
1675
|
-
search:
|
|
1676
|
-
visibleRows:
|
|
1677
|
-
grouped:
|
|
1678
|
-
attributes:
|
|
1679
|
-
onRowClick:
|
|
1680
|
-
onActionError:
|
|
1681
|
-
onAttributeChange:
|
|
1675
|
+
}), ce = Nt({
|
|
1676
|
+
settings: U,
|
|
1677
|
+
sorts: ne,
|
|
1678
|
+
search: H,
|
|
1679
|
+
visibleRows: ae,
|
|
1680
|
+
grouped: se,
|
|
1681
|
+
attributes: I,
|
|
1682
|
+
onRowClick: g,
|
|
1683
|
+
onActionError: _,
|
|
1684
|
+
onAttributeChange: v,
|
|
1682
1685
|
onReorder: b,
|
|
1683
1686
|
getRowContextMenuActions: E
|
|
1684
|
-
}),
|
|
1685
|
-
grouped:
|
|
1686
|
-
settings:
|
|
1687
|
-
sorts:
|
|
1688
|
-
fields:
|
|
1689
|
-
attributes:
|
|
1690
|
-
search:
|
|
1691
|
-
columnTotals:
|
|
1687
|
+
}), J = Pe({
|
|
1688
|
+
grouped: se,
|
|
1689
|
+
settings: U,
|
|
1690
|
+
sorts: ne,
|
|
1691
|
+
fields: L,
|
|
1692
|
+
attributes: I,
|
|
1693
|
+
search: H,
|
|
1694
|
+
columnTotals: q ? oe : void 0,
|
|
1692
1695
|
getBoardColumnConfig: T,
|
|
1693
1696
|
getRowContextMenuActions: E,
|
|
1694
|
-
onAttributeChange:
|
|
1695
|
-
onActionError:
|
|
1696
|
-
onRowClick:
|
|
1697
|
-
}),
|
|
1698
|
-
t[2] !==
|
|
1697
|
+
onAttributeChange: v,
|
|
1698
|
+
onActionError: _,
|
|
1699
|
+
onRowClick: g
|
|
1700
|
+
}), le;
|
|
1701
|
+
t[2] !== _ || t[3] !== v || t[4] !== b || t[5] !== U || t[6] !== ne ? (le = async (e, t, n) => {
|
|
1699
1702
|
await ke("Move row", () => Fe({
|
|
1700
|
-
settings:
|
|
1701
|
-
sorts:
|
|
1703
|
+
settings: U,
|
|
1704
|
+
sorts: ne,
|
|
1702
1705
|
rowId: e,
|
|
1703
1706
|
targetColumnId: t,
|
|
1704
1707
|
targetGroupKey: n?.targetGroupKey,
|
|
1705
1708
|
beforeItemId: n?.beforeItemId,
|
|
1706
|
-
onAttributeChange:
|
|
1709
|
+
onAttributeChange: v,
|
|
1707
1710
|
onReorder: b
|
|
1708
|
-
}),
|
|
1709
|
-
}, t[2] =
|
|
1710
|
-
let
|
|
1711
|
-
t[8] !==
|
|
1711
|
+
}), _);
|
|
1712
|
+
}, t[2] = _, t[3] = v, t[4] = b, t[5] = U, t[6] = ne, t[7] = le) : le = t[7];
|
|
1713
|
+
let ue = le, Y;
|
|
1714
|
+
t[8] !== _ || t[9] !== v || t[10] !== b || t[11] !== U || t[12] !== ne ? (Y = async (e, t, n) => {
|
|
1712
1715
|
await ke("Move row", () => Ie({
|
|
1713
|
-
settings:
|
|
1714
|
-
sorts:
|
|
1716
|
+
settings: U,
|
|
1717
|
+
sorts: ne,
|
|
1715
1718
|
rowId: e,
|
|
1716
1719
|
targetGroupKey: t,
|
|
1717
1720
|
beforeItemId: n?.beforeItemId,
|
|
1718
|
-
onAttributeChange:
|
|
1721
|
+
onAttributeChange: v,
|
|
1719
1722
|
onReorder: b
|
|
1720
|
-
}),
|
|
1721
|
-
}, t[8] =
|
|
1722
|
-
let
|
|
1723
|
-
t[14] !==
|
|
1723
|
+
}), _);
|
|
1724
|
+
}, t[8] = _, t[9] = v, t[10] = b, t[11] = U, t[12] = ne, t[13] = Y) : Y = t[13];
|
|
1725
|
+
let fe = Y, pe;
|
|
1726
|
+
t[14] !== I || t[15] !== h || t[16] !== d || t[17] !== u || t[18] !== f || t[19] !== m || t[20] !== G.length || t[21] !== P || t[22] !== e.itemLabel || t[23] !== n || t[24] !== B || t[25] !== q || t[26] !== V || t[27] !== r || t[28] !== k || t[29] !== A || t[30] !== p || t[31] !== ae.length ? (pe = P ? null : /* @__PURE__ */ Z(Vt, {
|
|
1724
1727
|
itemLabel: e.itemLabel,
|
|
1725
1728
|
rows: n,
|
|
1726
1729
|
storageKey: r,
|
|
1727
|
-
attributes:
|
|
1730
|
+
attributes: I,
|
|
1728
1731
|
defaultSettings: u,
|
|
1729
1732
|
defaultFilter: d,
|
|
1730
|
-
defaultSorts:
|
|
1731
|
-
search:
|
|
1732
|
-
onSearchChange:
|
|
1733
|
-
searchResultLabel:
|
|
1734
|
-
viewsSource:
|
|
1735
|
-
defaultViews:
|
|
1736
|
-
defaultActiveViewId:
|
|
1737
|
-
leading:
|
|
1738
|
-
actions:
|
|
1739
|
-
}), t[14] =
|
|
1740
|
-
let
|
|
1741
|
-
t[33] ===
|
|
1742
|
-
let
|
|
1743
|
-
t[35] ===
|
|
1733
|
+
defaultSorts: f,
|
|
1734
|
+
search: B,
|
|
1735
|
+
onSearchChange: V,
|
|
1736
|
+
searchResultLabel: q ? `${ae.length} of ${G.length}` : void 0,
|
|
1737
|
+
viewsSource: p,
|
|
1738
|
+
defaultViews: m,
|
|
1739
|
+
defaultActiveViewId: h,
|
|
1740
|
+
leading: A,
|
|
1741
|
+
actions: k
|
|
1742
|
+
}), t[14] = I, t[15] = h, t[16] = d, t[17] = u, t[18] = f, t[19] = m, t[20] = G.length, t[21] = P, t[22] = e.itemLabel, t[23] = n, t[24] = B, t[25] = q, t[26] = V, t[27] = r, t[28] = k, t[29] = A, t[30] = p, t[31] = ae.length, t[32] = pe) : pe = t[32];
|
|
1743
|
+
let me = n.length, he = G.length, _e = ae.length, ve;
|
|
1744
|
+
t[33] === te ? ve = t[34] : (ve = w(te), t[33] = te, t[34] = ve);
|
|
1745
|
+
let ye;
|
|
1746
|
+
t[35] === V ? ye = t[36] : (ye = () => V(""), t[35] = V, t[36] = ye);
|
|
1744
1747
|
let be;
|
|
1745
|
-
t[37] !==
|
|
1746
|
-
let xe =
|
|
1747
|
-
t[40] !==
|
|
1748
|
+
t[37] !== P || t[38] !== W ? (be = P ? void 0 : () => W("filter"), t[37] = P, t[38] = W, t[39] = be) : be = t[39];
|
|
1749
|
+
let xe = x && S ? z : void 0, Se = `${U.columnGrouping}:${U.rowGrouping}`, Ce;
|
|
1750
|
+
t[40] !== J || t[41] !== l || t[42] !== H || t[43] !== N || t[44] !== o || t[45] !== M || t[46] !== re || t[47] !== G.length || t[48] !== ue || t[49] !== fe || t[50] !== ce || t[51] !== C || t[52] !== n.length || t[53] !== j || t[54] !== ie || t[55] !== U.viewMode || t[56] !== ve || t[57] !== ye || t[58] !== be || t[59] !== xe || t[60] !== Se || t[61] !== ae.length ? (Ce = /* @__PURE__ */ Z(ut, {
|
|
1748
1751
|
contentPlaceholder: l,
|
|
1749
|
-
sourceCount:
|
|
1750
|
-
filteredCount:
|
|
1751
|
-
visibleCount:
|
|
1752
|
-
search:
|
|
1753
|
-
ruleCount:
|
|
1754
|
-
onClearSearch:
|
|
1752
|
+
sourceCount: me,
|
|
1753
|
+
filteredCount: he,
|
|
1754
|
+
visibleCount: _e,
|
|
1755
|
+
search: H,
|
|
1756
|
+
ruleCount: ve,
|
|
1757
|
+
onClearSearch: ye,
|
|
1755
1758
|
onEditFilter: be,
|
|
1756
|
-
viewMode:
|
|
1757
|
-
boardColumns:
|
|
1758
|
-
listItems:
|
|
1759
|
-
listExpandedGroups:
|
|
1760
|
-
selectedRowId:
|
|
1759
|
+
viewMode: U.viewMode,
|
|
1760
|
+
boardColumns: J,
|
|
1761
|
+
listItems: ce,
|
|
1762
|
+
listExpandedGroups: re,
|
|
1763
|
+
selectedRowId: j,
|
|
1761
1764
|
emptyState: o,
|
|
1762
|
-
emptyTitle:
|
|
1763
|
-
emptyDescription:
|
|
1764
|
-
onBoardMoveItem:
|
|
1765
|
-
onBoardMoveToGroup:
|
|
1765
|
+
emptyTitle: M,
|
|
1766
|
+
emptyDescription: N,
|
|
1767
|
+
onBoardMoveItem: ue,
|
|
1768
|
+
onBoardMoveToGroup: fe,
|
|
1766
1769
|
onCreateRow: xe,
|
|
1767
|
-
onColumnAction:
|
|
1768
|
-
onListExpandedGroupChange:
|
|
1770
|
+
onColumnAction: C,
|
|
1771
|
+
onListExpandedGroupChange: ie,
|
|
1769
1772
|
listKey: Se
|
|
1770
|
-
}), t[40] =
|
|
1773
|
+
}), t[40] = J, t[41] = l, t[42] = H, t[43] = N, t[44] = o, t[45] = M, t[46] = re, t[47] = G.length, t[48] = ue, t[49] = fe, t[50] = ce, t[51] = C, t[52] = n.length, t[53] = j, t[54] = ie, t[55] = U.viewMode, t[56] = ve, t[57] = ye, t[58] = be, t[59] = xe, t[60] = Se, t[61] = ae.length, t[62] = Ce) : Ce = t[62];
|
|
1771
1774
|
let we;
|
|
1772
|
-
t[63] !==
|
|
1775
|
+
t[63] !== I || t[64] !== R || t[65] !== x || t[66] !== S || t[67] !== z || t[68] !== U.columnGrouping ? (we = x && S && R ? /* @__PURE__ */ Z(Mt, {
|
|
1773
1776
|
open: !0,
|
|
1774
|
-
columnId:
|
|
1775
|
-
columnAttributeId:
|
|
1776
|
-
attributes:
|
|
1777
|
-
config:
|
|
1778
|
-
onClose: () =>
|
|
1779
|
-
onSubmit:
|
|
1780
|
-
}) : null, t[63] =
|
|
1777
|
+
columnId: R,
|
|
1778
|
+
columnAttributeId: U.columnGrouping === "none" ? void 0 : U.columnGrouping,
|
|
1779
|
+
attributes: I,
|
|
1780
|
+
config: x,
|
|
1781
|
+
onClose: () => z(null),
|
|
1782
|
+
onSubmit: S
|
|
1783
|
+
}) : null, t[63] = I, t[64] = R, t[65] = x, t[66] = S, t[67] = z, t[68] = U.columnGrouping, t[69] = we) : we = t[69];
|
|
1781
1784
|
let Te;
|
|
1782
|
-
return t[70] !== Ce || t[71] !== we || t[72] !==
|
|
1785
|
+
return t[70] !== Ce || t[71] !== we || t[72] !== pe ? (Te = /* @__PURE__ */ Q(de, {
|
|
1783
1786
|
"data-testid": "kanban-renderer",
|
|
1784
1787
|
height: "100%",
|
|
1785
1788
|
minH: "0",
|
|
@@ -1787,11 +1790,11 @@ var Ut = (e) => {
|
|
|
1787
1790
|
background: "bg",
|
|
1788
1791
|
overflow: "hidden",
|
|
1789
1792
|
children: [
|
|
1790
|
-
|
|
1793
|
+
pe,
|
|
1791
1794
|
Ce,
|
|
1792
1795
|
we
|
|
1793
1796
|
]
|
|
1794
|
-
}), t[70] = Ce, t[71] = we, t[72] =
|
|
1797
|
+
}), t[70] = Ce, t[71] = we, t[72] = pe, t[73] = Te) : Te = t[73], Te;
|
|
1795
1798
|
};
|
|
1796
1799
|
function Wt(e) {
|
|
1797
1800
|
return e.settings;
|
|
@@ -1812,6 +1815,6 @@ function Yt(e) {
|
|
|
1812
1815
|
return e.setOpenMenu;
|
|
1813
1816
|
}
|
|
1814
1817
|
//#endregion
|
|
1815
|
-
export {
|
|
1818
|
+
export { T as DEFAULT_KANBAN_RENDERER_SETTINGS, U as DisplayMenu, S as EMPTY_VIEW_FILTER, Ut as KanbanRenderer, Qe as KanbanRendererBoard, Ge as KanbanRendererCard, Mt as KanbanRendererCreateDialog, st as KanbanRendererList, Vt as KanbanRendererToolbar, p as NO_GROUPING, I as buildDisplayPropertyOptions, V as buildFilterCategories, te as buildGroupingOptions, L as collectDisplayBadges, u as findAttribute, _ as getAttributeStringValues, m as getAttributeValue, f as getEnumOptions, l as isAttributesSource, d as isEnumOptionsSource, re as renderAttributeBadge, R as renderBadgeListDisplay, Lt as resolveAttributeOptions, Ft as useKanbanRendererStore, Rt as useResolvedAttributes };
|
|
1816
1819
|
|
|
1817
1820
|
//# sourceMappingURL=kanban-renderer.js.map
|