@pstdio/ui 0.21.0 → 0.22.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-BVMyKttu.js → MermaidComponent-D92GMhht.js} +3 -3
- package/dist/{MermaidComponent-BVMyKttu.js.map → MermaidComponent-D92GMhht.js.map} +1 -1
- package/dist/chat-ui.d.ts +2 -0
- package/dist/chat-ui.js +2 -2
- package/dist/components/data-table/build-columns.d.ts +1 -0
- package/dist/components/data-table/data-table-column-menu.d.ts +2 -0
- package/dist/components/data-table/data-table-row-display.d.ts +11 -0
- package/dist/components/data-table/data-table-table-parts.d.ts +1 -0
- package/dist/components/data-table/edit-mode-data-table-body.d.ts +1 -0
- package/dist/components/data-table/edit-mode-data-table-cell.d.ts +1 -0
- package/dist/components/data-table/edit-mode-data-table-header.d.ts +1 -0
- package/dist/components/diff-viewer/code-editor.d.ts +8 -2
- package/dist/components/kanban-renderer/collection-badge.d.ts +7 -0
- package/dist/components/kanban-renderer/index.d.ts +1 -1
- package/dist/components/kanban-renderer/kanban-renderer-helpers.d.ts +2 -1
- package/dist/components/kanban-renderer/types.d.ts +20 -1
- package/dist/components/list-row/list-row-content.d.ts +1 -0
- package/dist/components/param-editor/param-editor-presentation.d.ts +1 -1
- package/dist/components/param-editor/param-editor.types.d.ts +5 -193
- package/dist/components/rich-text/shared/markdown-ast.d.ts +1 -0
- package/dist/components/rich-text/shared/markdown-source-document.d.ts +7 -0
- package/dist/components/rich-text/shared/markdown-source-links.d.ts +11 -0
- package/dist/components/rich-text/shared/markdown-source-map.d.ts +10 -0
- package/dist/components/rich-text/utils/inferResourceType.d.ts +1 -1
- package/dist/components/tag-editor/tag-editor-row.d.ts +1 -1
- package/dist/components/tag-editor/tag-editor.types.d.ts +12 -0
- package/dist/components/tag-editor/tag-settings-panel.d.ts +1 -1
- package/dist/components/tree-list/tree-list-drag-provider.d.ts +13 -0
- package/dist/components/tree-list/tree-list-order.store.d.ts +4 -1
- package/dist/components/tree-list/tree-list-reorder.d.ts +14 -3
- package/dist/components/tree-list/tree-list-sortable.d.ts +2 -0
- package/dist/components/tree-list/tree-list-visibility-filter.d.ts +2 -2
- package/dist/components/tree-list/tree-list.d.ts +3 -0
- package/dist/components/tree-list/tree-list.types.d.ts +4 -0
- package/dist/data-table.d.ts +2 -0
- package/dist/data-table.js +806 -793
- package/dist/data-table.js.map +1 -1
- package/dist/diff.d.ts +2 -0
- package/dist/diff.js +529 -533
- package/dist/diff.js.map +1 -1
- package/dist/edit-mode-data-table-DGgRuSW3.js +846 -0
- package/dist/edit-mode-data-table-DGgRuSW3.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1516 -1413
- package/dist/index.js.map +1 -1
- package/dist/{kanban-renderer-toolbar-CpegGbwq.js → kanban-renderer-toolbar-Bl8xXdwU.js} +527 -469
- package/dist/kanban-renderer-toolbar-Bl8xXdwU.js.map +1 -0
- package/dist/kanban-renderer.d.ts +2 -0
- package/dist/kanban-renderer.js +21 -21
- package/dist/kanban-renderer.js.map +1 -1
- package/dist/lazy-markdown-editor-CCOchoJX.js +235 -0
- package/dist/lazy-markdown-editor-CCOchoJX.js.map +1 -0
- package/dist/list-row-DCgdza1i.js +812 -0
- package/dist/list-row-DCgdza1i.js.map +1 -0
- package/dist/markdown-CASvn1Z2.js +1643 -0
- package/dist/markdown-CASvn1Z2.js.map +1 -0
- package/dist/markdown-editor-C4GCyebp.js +1019 -0
- package/dist/markdown-editor-C4GCyebp.js.map +1 -0
- package/dist/{mermaid-renderer-H3IhLqnQ.js → mermaid-renderer-CVnuKs-A.js} +2 -2
- package/dist/{mermaid-renderer-H3IhLqnQ.js.map → mermaid-renderer-CVnuKs-A.js.map} +1 -1
- package/dist/mermaid.d.ts +2 -0
- package/dist/mermaid.js +1 -1
- package/dist/monaco-browser-CgvlArN7.js +21 -0
- package/dist/monaco-browser-CgvlArN7.js.map +1 -0
- package/dist/{param-editor-B8Ff9Nm8.js → param-editor-CkDq623X.js} +2 -2
- package/dist/{param-editor-B8Ff9Nm8.js.map → param-editor-CkDq623X.js.map} +1 -1
- package/dist/param-editor-field-DRgbnL7-.js +2809 -0
- package/dist/param-editor-field-DRgbnL7-.js.map +1 -0
- package/dist/rich-message-DARuDVOX.js +628 -0
- package/dist/{rich-message-DdFYRzTo.js.map → rich-message-DARuDVOX.js.map} +1 -1
- package/dist/rich-text.d.ts +2 -0
- package/dist/rich-text.js +48 -47
- package/dist/rich-text.js.map +1 -1
- package/dist/style.css +1 -1
- package/dist/terminal.d.ts +2 -0
- package/dist/theme/primitives/sizes.d.ts +9 -0
- package/dist/{theme-BH4fSst9.js → theme-B-l5_a6F.js} +69 -50
- package/dist/theme-B-l5_a6F.js.map +1 -0
- package/dist/theme-preference-Bpobguh4.js +114 -0
- package/dist/theme-preference-Bpobguh4.js.map +1 -0
- package/dist/theme.d.ts +2 -0
- package/dist/theme.js +1 -1
- package/dist/tree-list-AlO5ZmxQ.js +1262 -0
- package/dist/tree-list-AlO5ZmxQ.js.map +1 -0
- package/dist/utils/theme-preference.d.ts +4 -1
- package/dist/workspace-badge-BR_GgsAG.js +175 -0
- package/dist/workspace-badge-BR_GgsAG.js.map +1 -0
- package/package.json +5 -42
- package/dist/dialog-accept-shortcut-DAEBsoWW.js +0 -7
- package/dist/dialog-accept-shortcut-DAEBsoWW.js.map +0 -1
- package/dist/edit-mode-data-table-D6NeiDJx.js +0 -775
- package/dist/edit-mode-data-table-D6NeiDJx.js.map +0 -1
- package/dist/editor-config-D9OksZ93.js +0 -2416
- package/dist/editor-config-D9OksZ93.js.map +0 -1
- package/dist/kanban-renderer-toolbar-CpegGbwq.js.map +0 -1
- package/dist/lazy-markdown-editor-B7uP2ALS.js +0 -26
- package/dist/lazy-markdown-editor-B7uP2ALS.js.map +0 -1
- package/dist/list-row-9oxy-F0v.js +0 -796
- package/dist/list-row-9oxy-F0v.js.map +0 -1
- package/dist/monaco-browser-CO0NxK_Z.js +0 -19
- package/dist/monaco-browser-CO0NxK_Z.js.map +0 -1
- package/dist/number-input-WUfejtNx.js +0 -343
- package/dist/number-input-WUfejtNx.js.map +0 -1
- package/dist/param-editor-field-Cu4pto_a.js +0 -2845
- package/dist/param-editor-field-Cu4pto_a.js.map +0 -1
- package/dist/rich-message-DdFYRzTo.js +0 -658
- package/dist/theme-BH4fSst9.js.map +0 -1
- package/dist/theme-preference-DyymrYpR.js +0 -123
- package/dist/theme-preference-DyymrYpR.js.map +0 -1
- package/dist/tree-list-uV4UFj0x.js +0 -1116
- package/dist/tree-list-uV4UFj0x.js.map +0 -1
|
@@ -1,15 +1,70 @@
|
|
|
1
|
-
import { jsx as a, jsxs as
|
|
2
|
-
import { c as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
|
|
1
|
+
import { jsx as a, jsxs as y, Fragment as De } from "react/jsx-runtime";
|
|
2
|
+
import { c as J } from "react/compiler-runtime";
|
|
3
|
+
import { Badge as je, Icon as Q, Text as q, Popover as le, IconButton as Ke, Portal as mt, HStack as H, Menu as re, Button as Z, Stack as We, Input as pt, Tabs as Le, Box as Ne, chakra as _t, Dialog as oe } from "@chakra-ui/react";
|
|
4
|
+
import * as Gt from "lucide-react";
|
|
5
|
+
import { Settings2 as Dt, SortAsc as Pt, SortDesc as Ft, Check as $t, ChevronDown as Et, List as Tt, SquareKanban as Lt, Filter as Nt, Search as Bt, RotateCcw as zt, X as Mt, Pencil as jt, Copy as Wt, Trash2 as Kt, Plus as Xt } from "lucide-react";
|
|
6
|
+
import { createElement as Ut, useRef as Ge, useState as xe, useEffect as Xe, Fragment as Ht, useReducer as qt } from "react";
|
|
7
|
+
import { c as Jt, T as Ue, S as Ye } from "./browser-storage-DPtOQJx0.js";
|
|
8
|
+
import { C as Yt } from "./lazy-markdown-editor-CCOchoJX.js";
|
|
9
|
+
import { L as Qe, R as Qt } from "./list-row-DCgdza1i.js";
|
|
10
|
+
import { useStore as Zt } from "zustand";
|
|
11
|
+
import { persist as en, createJSONStorage as tn } from "zustand/middleware";
|
|
12
|
+
import { createStore as nn } from "zustand/vanilla";
|
|
13
|
+
const rn = (t) => t.split(/[^a-zA-Z0-9]+/).filter(Boolean).map((e) => `${e.charAt(0).toUpperCase()}${e.slice(1)}`).join(""), on = (t) => {
|
|
14
|
+
if (!t) return;
|
|
15
|
+
const e = rn(t);
|
|
16
|
+
for (const n of [t, e, `${e}Icon`]) {
|
|
17
|
+
const i = Gt[n];
|
|
18
|
+
if (i && (typeof i == "function" || typeof i == "object"))
|
|
19
|
+
return i;
|
|
20
|
+
}
|
|
21
|
+
}, ln = (t) => {
|
|
22
|
+
const e = J(17), {
|
|
23
|
+
label: n,
|
|
24
|
+
icon: i,
|
|
25
|
+
onClick: o
|
|
26
|
+
} = t;
|
|
27
|
+
let r;
|
|
28
|
+
e[0] !== i ? (r = on(i), e[0] = i, e[1] = r) : r = e[1];
|
|
29
|
+
const l = r;
|
|
30
|
+
let s;
|
|
31
|
+
e[2] !== l ? (s = l ? /* @__PURE__ */ a(Q, { as: l, boxSize: "3.5", flexShrink: 0, "aria-hidden": "true" }) : null, e[2] = l, e[3] = s) : s = e[3];
|
|
32
|
+
let c;
|
|
33
|
+
e[4] !== n ? (c = /* @__PURE__ */ a(q, { as: "span", textStyle: "label/XS/medium", color: "fg.muted", minW: "0", maxW: "10rem", truncate: !0, children: n }), e[4] = n, e[5] = c) : c = e[5];
|
|
34
|
+
let u;
|
|
35
|
+
e[6] !== s || e[7] !== c ? (u = /* @__PURE__ */ y(De, { children: [
|
|
36
|
+
s,
|
|
37
|
+
c
|
|
38
|
+
] }), e[6] = s, e[7] = c, e[8] = u) : u = e[8];
|
|
39
|
+
const d = u;
|
|
40
|
+
let f;
|
|
41
|
+
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = {
|
|
42
|
+
display: "inline-flex",
|
|
43
|
+
gap: "2xs",
|
|
44
|
+
alignItems: "center",
|
|
45
|
+
minW: "0",
|
|
46
|
+
maxW: "100%",
|
|
47
|
+
variant: "subtle",
|
|
48
|
+
bg: {
|
|
49
|
+
_light: "bg.muted",
|
|
50
|
+
_dark: "bg.subtle"
|
|
51
|
+
},
|
|
52
|
+
color: "fg.muted",
|
|
53
|
+
textStyle: "label/XS/medium",
|
|
54
|
+
"data-testid": "collection-badge"
|
|
55
|
+
}, e[9] = f) : f = e[9];
|
|
56
|
+
const p = f;
|
|
57
|
+
if (o) {
|
|
58
|
+
let m;
|
|
59
|
+
e[10] !== o ? (m = (v) => {
|
|
60
|
+
v.stopPropagation(), o();
|
|
61
|
+
}, e[10] = o, e[11] = m) : m = e[11];
|
|
62
|
+
let b;
|
|
63
|
+
return e[12] !== d || e[13] !== m ? (b = /* @__PURE__ */ a(je, { asChild: !0, ...p, cursor: "pointer", children: /* @__PURE__ */ a("button", { type: "button", onClick: m, children: d }) }), e[12] = d, e[13] = m, e[14] = b) : b = e[14], b;
|
|
64
|
+
}
|
|
65
|
+
let g;
|
|
66
|
+
return e[15] !== d ? (g = /* @__PURE__ */ a(je, { as: "span", ...p, cursor: "default", children: d }), e[15] = d, e[16] = g) : g = e[16], g;
|
|
67
|
+
}, W = "none", se = "manual", He = (t) => !Array.isArray(t), Fi = (t) => !Array.isArray(t), sn = {
|
|
13
68
|
viewMode: "board",
|
|
14
69
|
columnGrouping: W,
|
|
15
70
|
rowGrouping: W,
|
|
@@ -21,17 +76,17 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
21
76
|
}, ae = (t, e) => {
|
|
22
77
|
if (!(!e || e === W || e === se))
|
|
23
78
|
return t.find((n) => n.id === e);
|
|
24
|
-
},
|
|
79
|
+
}, an = (t) => {
|
|
25
80
|
const e = /* @__PURE__ */ new Set();
|
|
26
81
|
return t.filter((n) => e.has(n.value) ? !1 : (e.add(n.value), !0));
|
|
27
82
|
}, ee = (t) => {
|
|
28
83
|
if (t.kind !== "enum" && t.kind !== "enum-multi") return [];
|
|
29
|
-
const e =
|
|
30
|
-
return
|
|
31
|
-
}, ke = (t) => t.replaceAll("_", " ").split(" ").filter((e) => e.length > 0).map((e) => e[0].toUpperCase() + e.slice(1)).join(" "),
|
|
84
|
+
const e = He(t.options) ? t.options.getSnapshot() : t.options;
|
|
85
|
+
return an(e);
|
|
86
|
+
}, ke = (t) => t.replaceAll("_", " ").split(" ").filter((e) => e.length > 0).map((e) => e[0].toUpperCase() + e.slice(1)).join(" "), qe = (t, e) => {
|
|
32
87
|
if (!(t.kind !== "enum" && t.kind !== "enum-multi"))
|
|
33
88
|
return ee(t).find((n) => n.value === e);
|
|
34
|
-
}, Oe = (t, e) =>
|
|
89
|
+
}, Oe = (t, e) => qe(t, e)?.label ?? ke(e), cn = (t, e) => t.length === 0 ? null : t.length <= 2 ? t.map((n) => Oe(e, n)).join(", ") : `${Oe(e, t[0])}, ${Oe(e, t[1])} +${t.length - 2}`, un = (t, e, n) => {
|
|
35
90
|
if (e.kind !== "enum") return null;
|
|
36
91
|
const i = typeof n == "string" ? n : null, o = t.editable === !0;
|
|
37
92
|
if (!i)
|
|
@@ -43,7 +98,7 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
43
98
|
options: ee(e),
|
|
44
99
|
isEditable: !0
|
|
45
100
|
} : null;
|
|
46
|
-
const r =
|
|
101
|
+
const r = qe(e, i);
|
|
47
102
|
return {
|
|
48
103
|
attributeId: t.id,
|
|
49
104
|
attributeLabel: t.label,
|
|
@@ -56,9 +111,9 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
56
111
|
isEditable: !0
|
|
57
112
|
} : {}
|
|
58
113
|
};
|
|
59
|
-
},
|
|
114
|
+
}, dn = (t, e, n) => {
|
|
60
115
|
if (e.kind !== "enum-multi") return null;
|
|
61
|
-
const i = Array.isArray(n) ? n.filter((s) => typeof s == "string") : [], o =
|
|
116
|
+
const i = Array.isArray(n) ? n.filter((s) => typeof s == "string") : [], o = cn(i, e), r = t.editable === !0;
|
|
62
117
|
if (!o)
|
|
63
118
|
return r ? {
|
|
64
119
|
attributeId: t.id,
|
|
@@ -68,7 +123,7 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
68
123
|
options: ee(e),
|
|
69
124
|
isEditable: !0
|
|
70
125
|
} : null;
|
|
71
|
-
const l = i[0] ?
|
|
126
|
+
const l = i[0] ? qe(e, i[0]) : void 0;
|
|
72
127
|
return {
|
|
73
128
|
attributeId: t.id,
|
|
74
129
|
attributeLabel: t.label,
|
|
@@ -87,113 +142,115 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
87
142
|
}, de = (t, e) => {
|
|
88
143
|
const n = ue(t, e);
|
|
89
144
|
return e.type.kind === "enum-multi" ? n : n == null ? [] : typeof n == "string" ? n === "" ? [] : [n] : typeof n == "number" ? [String(n)] : [];
|
|
90
|
-
},
|
|
145
|
+
}, fn = (t) => {
|
|
91
146
|
if (typeof t != "string" || t === "") return null;
|
|
92
147
|
const e = new Date(t);
|
|
93
148
|
return Number.isNaN(e.getTime()) ? null : e.toLocaleDateString();
|
|
94
|
-
},
|
|
95
|
-
if (!
|
|
96
|
-
const n =
|
|
149
|
+
}, gn = (t) => typeof t == "number" && Number.isFinite(t) ? String(t) : typeof t == "string" && t !== "" && !Number.isNaN(Number(t)) ? t : null, bt = (t) => t == null ? null : typeof t == "string" ? t === "" ? null : t : String(t), mn = (t) => bt(t), pn = (t) => t != null && t !== !1, ht = (t) => typeof t == "object" && t !== null && !Array.isArray(t), Be = (t) => typeof t == "string" && t.trim() ? t.trim() : void 0, bn = (t) => ht(t) && typeof t.type == "string" && typeof t.id == "string", hn = (t) => Array.isArray(t) ? t.flatMap((e) => {
|
|
150
|
+
if (!ht(e)) return [];
|
|
151
|
+
const n = Be(e.id);
|
|
97
152
|
if (!n) return [];
|
|
98
|
-
const i =
|
|
153
|
+
const i = Be(e.label) ?? n, o = Be(e.icon), r = bn(e.resource) ? e.resource : void 0;
|
|
99
154
|
return [{
|
|
100
155
|
id: n,
|
|
101
|
-
|
|
102
|
-
...
|
|
103
|
-
|
|
156
|
+
label: i,
|
|
157
|
+
...o ? {
|
|
158
|
+
icon: o
|
|
104
159
|
} : {},
|
|
105
|
-
|
|
160
|
+
...r ? {
|
|
161
|
+
resource: r
|
|
162
|
+
} : {}
|
|
106
163
|
}];
|
|
107
|
-
}) : [],
|
|
108
|
-
if (t.display?.kind !== "
|
|
109
|
-
const
|
|
110
|
-
if (
|
|
111
|
-
const
|
|
112
|
-
return
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
}) : null;
|
|
118
|
-
},
|
|
164
|
+
}) : [], yn = (t, e, n, i) => {
|
|
165
|
+
if (t.display?.kind !== "badge-list") return null;
|
|
166
|
+
const o = hn(n.attributes[t.display.itemsAttributeId]);
|
|
167
|
+
if (o.length === 0) return null;
|
|
168
|
+
const r = typeof e == "string" ? e : void 0, l = o.find((c) => c.id === r) ?? o[0];
|
|
169
|
+
return l ? [l, ...o.filter((c) => c.id !== l.id)].map((c) => Ut(ln, {
|
|
170
|
+
key: c.id,
|
|
171
|
+
label: c.label,
|
|
172
|
+
icon: c.icon,
|
|
173
|
+
onClick: c.resource && i ? () => i(c.resource) : void 0
|
|
174
|
+
})) : null;
|
|
175
|
+
}, vn = (t, e) => {
|
|
119
176
|
const n = t.type, i = ue(e, t);
|
|
120
177
|
if (t.render || t.display) return null;
|
|
121
|
-
if (n.kind === "enum") return
|
|
122
|
-
if (n.kind === "enum-multi") return
|
|
178
|
+
if (n.kind === "enum") return un(t, n, i);
|
|
179
|
+
if (n.kind === "enum-multi") return dn(t, n, i);
|
|
123
180
|
if (n.kind === "date") {
|
|
124
|
-
const r =
|
|
181
|
+
const r = fn(i);
|
|
125
182
|
return r ? {
|
|
126
183
|
attributeId: t.id,
|
|
127
184
|
label: r
|
|
128
185
|
} : null;
|
|
129
186
|
}
|
|
130
187
|
if (n.kind === "number") {
|
|
131
|
-
const r =
|
|
188
|
+
const r = gn(i);
|
|
132
189
|
return r ? {
|
|
133
190
|
attributeId: t.id,
|
|
134
191
|
label: r
|
|
135
192
|
} : null;
|
|
136
193
|
}
|
|
137
194
|
if (n.kind === "user") {
|
|
138
|
-
const r =
|
|
195
|
+
const r = mn(i);
|
|
139
196
|
return r ? {
|
|
140
197
|
attributeId: t.id,
|
|
141
198
|
label: r,
|
|
142
199
|
color: "blue"
|
|
143
200
|
} : null;
|
|
144
201
|
}
|
|
145
|
-
const o =
|
|
202
|
+
const o = bt(i);
|
|
146
203
|
return o ? {
|
|
147
204
|
attributeId: t.id,
|
|
148
205
|
label: o
|
|
149
206
|
} : null;
|
|
150
|
-
},
|
|
207
|
+
}, $i = (t, e, n) => {
|
|
151
208
|
const i = [];
|
|
152
209
|
for (const o of n) {
|
|
153
210
|
const r = ae(e, o);
|
|
154
211
|
if (!r || r.displayable === !1) continue;
|
|
155
|
-
const l =
|
|
212
|
+
const l = vn(r, t);
|
|
156
213
|
l && i.push(l);
|
|
157
214
|
}
|
|
158
215
|
return i;
|
|
159
|
-
},
|
|
216
|
+
}, Ei = (t, e, n) => {
|
|
160
217
|
const i = [];
|
|
161
218
|
for (const o of n) {
|
|
162
219
|
const r = ae(e, o);
|
|
163
220
|
if (!r || r.displayable === !1) continue;
|
|
164
|
-
const l = ue(t, r), s = r.render ? r.render(l, t) :
|
|
165
|
-
|
|
221
|
+
const l = ue(t, r), s = r.render ? r.render(l, t) : yn(r, l, t);
|
|
222
|
+
pn(s) && i.push(s);
|
|
166
223
|
}
|
|
167
224
|
return i;
|
|
168
|
-
},
|
|
225
|
+
}, Ze = (t, e) => {
|
|
169
226
|
const n = /* @__PURE__ */ new Set();
|
|
170
227
|
for (const i of t)
|
|
171
228
|
for (const o of de(i, e)) n.add(o);
|
|
172
229
|
return n;
|
|
173
|
-
},
|
|
230
|
+
}, wn = (t, e) => {
|
|
174
231
|
const n = [];
|
|
175
232
|
for (const i of t) {
|
|
176
233
|
if (!i.filterable) continue;
|
|
177
234
|
if (i.type.kind === "enum" || i.type.kind === "enum-multi") {
|
|
178
|
-
const r = ee(i.type), l =
|
|
235
|
+
const r = ee(i.type), l = Ze(e, i), s = new Set(r.map((u) => u.value)), c = [...l].filter((u) => !s.has(u)).sort((u, d) => u.localeCompare(d, void 0, {
|
|
179
236
|
numeric: !0
|
|
180
|
-
})).map((
|
|
181
|
-
value:
|
|
182
|
-
label: ke(
|
|
237
|
+
})).map((u) => ({
|
|
238
|
+
value: u,
|
|
239
|
+
label: ke(u)
|
|
183
240
|
}));
|
|
184
241
|
n.push({
|
|
185
242
|
id: i.id,
|
|
186
243
|
label: i.label,
|
|
187
244
|
selectionMode: "multiple",
|
|
188
|
-
options: [...r.map((
|
|
189
|
-
value:
|
|
190
|
-
label:
|
|
191
|
-
color:
|
|
192
|
-
})), ...
|
|
245
|
+
options: [...r.map((u) => ({
|
|
246
|
+
value: u.value,
|
|
247
|
+
label: u.label,
|
|
248
|
+
color: u.color
|
|
249
|
+
})), ...c]
|
|
193
250
|
});
|
|
194
251
|
continue;
|
|
195
252
|
}
|
|
196
|
-
const o = [...
|
|
253
|
+
const o = [...Ze(e, i)].sort((r, l) => r.localeCompare(l, void 0, {
|
|
197
254
|
numeric: !0
|
|
198
255
|
})).map((r) => ({
|
|
199
256
|
value: r,
|
|
@@ -207,7 +264,7 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
207
264
|
});
|
|
208
265
|
}
|
|
209
266
|
return n;
|
|
210
|
-
},
|
|
267
|
+
}, Sn = (t) => {
|
|
211
268
|
const e = [{
|
|
212
269
|
value: W,
|
|
213
270
|
label: "None"
|
|
@@ -218,7 +275,7 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
218
275
|
label: n.label
|
|
219
276
|
});
|
|
220
277
|
return e;
|
|
221
|
-
},
|
|
278
|
+
}, xn = (t) => {
|
|
222
279
|
const e = [{
|
|
223
280
|
value: se,
|
|
224
281
|
label: "Manual"
|
|
@@ -233,7 +290,7 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
233
290
|
label: n.label
|
|
234
291
|
});
|
|
235
292
|
return e;
|
|
236
|
-
},
|
|
293
|
+
}, Cn = (t) => {
|
|
237
294
|
const e = [];
|
|
238
295
|
for (const n of t)
|
|
239
296
|
n.displayable && e.push({
|
|
@@ -241,19 +298,19 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
241
298
|
label: n.label
|
|
242
299
|
});
|
|
243
300
|
return e;
|
|
244
|
-
},
|
|
301
|
+
}, Vn = (t, e) => e === W ? t.filter((n) => n.value === W) : t.filter((n) => n.value === W || n.value !== e), Ti = (t, e) => t === W ? "all" : e?.columnKey, Li = (t, e, n) => {
|
|
245
302
|
if (t === W) return;
|
|
246
303
|
const i = ae(e, t), o = n?.[t];
|
|
247
|
-
if (i && o && o.length > 0) return
|
|
304
|
+
if (i && o && o.length > 0) return Je(i, o);
|
|
248
305
|
if (i && i.type.kind === "enum")
|
|
249
306
|
return ee(i.type).map((r) => r.value);
|
|
250
|
-
},
|
|
307
|
+
}, Je = (t, e) => e, et = (t, e) => {
|
|
251
308
|
const n = {
|
|
252
309
|
...t
|
|
253
310
|
};
|
|
254
311
|
return delete n[e], n;
|
|
255
|
-
},
|
|
256
|
-
const n = new Set(e.map((
|
|
312
|
+
}, Ni = (t, e) => {
|
|
313
|
+
const n = new Set(e.map((u) => u.id)), i = (u) => u === W || n.has(u), o = (u) => u === se || u === "title" || n.has(u), r = i(t.columnGrouping) ? t.columnGrouping : W, l = i(t.rowGrouping) ? t.rowGrouping : W, s = o(t.ordering.attributeId) ? t.ordering.attributeId : se, c = t.displayProperties.filter(i);
|
|
257
314
|
return {
|
|
258
315
|
viewMode: t.viewMode,
|
|
259
316
|
columnGrouping: r,
|
|
@@ -262,57 +319,57 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
262
319
|
attributeId: s,
|
|
263
320
|
direction: t.ordering.direction
|
|
264
321
|
},
|
|
265
|
-
displayProperties:
|
|
322
|
+
displayProperties: c
|
|
266
323
|
};
|
|
267
|
-
},
|
|
324
|
+
}, Bi = (t, e) => {
|
|
268
325
|
const n = new Map(e.map((o) => [o.id, o])), i = {};
|
|
269
326
|
for (const [o, r] of Object.entries(t)) {
|
|
270
327
|
const l = n.get(o);
|
|
271
|
-
l && (!r || r.length === 0 || (i[o] =
|
|
328
|
+
l && (!r || r.length === 0 || (i[o] = Je(l, r)));
|
|
272
329
|
}
|
|
273
330
|
return i;
|
|
274
|
-
},
|
|
331
|
+
}, yt = (t) => ({
|
|
275
332
|
...t,
|
|
276
333
|
ordering: {
|
|
277
334
|
...t.ordering
|
|
278
335
|
},
|
|
279
336
|
displayProperties: [...t.displayProperties]
|
|
280
|
-
}),
|
|
337
|
+
}), vt = (t) => Object.fromEntries(Object.entries(t).map(([e, n]) => [e, [...n]])), _e = (t, e, n, i = !1) => ({
|
|
281
338
|
id: t,
|
|
282
339
|
title: e,
|
|
283
|
-
settings:
|
|
284
|
-
filters:
|
|
340
|
+
settings: yt(n.settings),
|
|
341
|
+
filters: vt(n.filters),
|
|
285
342
|
...i ? {
|
|
286
343
|
isDefault: !0
|
|
287
344
|
} : {}
|
|
288
345
|
}), Ce = (t) => ({
|
|
289
|
-
settings:
|
|
290
|
-
filters:
|
|
291
|
-
}),
|
|
346
|
+
settings: yt(t.settings),
|
|
347
|
+
filters: vt(t.filters)
|
|
348
|
+
}), tt = (t) => ({
|
|
292
349
|
viewMode: t.viewMode,
|
|
293
350
|
columnGrouping: t.columnGrouping,
|
|
294
351
|
rowGrouping: t.rowGrouping,
|
|
295
352
|
ordering: t.ordering,
|
|
296
353
|
displayProperties: [...t.displayProperties].sort()
|
|
297
|
-
}),
|
|
298
|
-
settings:
|
|
354
|
+
}), nt = (t) => Object.fromEntries(Object.entries(t).filter(([, e]) => e.length > 0).sort(([e], [n]) => e.localeCompare(n)).map(([e, n]) => [e, [...n].sort()])), kn = (t, e) => t ? JSON.stringify(tt(t.settings)) !== JSON.stringify(tt(e.settings)) || JSON.stringify(nt(t.filters)) !== JSON.stringify(nt(e.filters)) : !1, In = "pstdio/ui/kanban-renderer", An = (t) => `${In}/${t}`, ze = {
|
|
355
|
+
settings: sn,
|
|
299
356
|
filters: {},
|
|
300
357
|
expandedGroups: {}
|
|
301
|
-
},
|
|
358
|
+
}, it = (t) => {
|
|
302
359
|
const e = {
|
|
303
|
-
...
|
|
360
|
+
...ze.settings,
|
|
304
361
|
...t?.settings ?? {}
|
|
305
|
-
}, n = t?.filters ??
|
|
362
|
+
}, n = t?.filters ?? ze.filters, i = t?.views ?? [], o = i.length > 0 ? i : [_e("default", "All", {
|
|
306
363
|
settings: e,
|
|
307
364
|
filters: n
|
|
308
365
|
}, !0)], l = o.find((s) => s.id === t?.activeViewId) ?? o.find((s) => s.isDefault) ?? o[0];
|
|
309
366
|
return {
|
|
310
367
|
...Ce(l),
|
|
311
|
-
expandedGroups: t?.expandedGroups ??
|
|
368
|
+
expandedGroups: t?.expandedGroups ?? ze.expandedGroups,
|
|
312
369
|
views: o,
|
|
313
370
|
activeViewId: l.id
|
|
314
371
|
};
|
|
315
|
-
},
|
|
372
|
+
}, Rn = (t, e) => t.includes(e) ? t.filter((n) => n !== e) : [...t, e], Ve = (t) => t.startsWith("tag:") ? t.slice(4) : t, On = (t) => {
|
|
316
373
|
const e = t.ordering, n = typeof e?.attributeId == "string" ? e.attributeId : typeof e?.field == "string" ? Ve(e.field) : se, i = e?.direction === "desc" ? "desc" : "asc", o = typeof t.columnGrouping == "string" ? Ve(t.columnGrouping) : W, r = typeof t.rowGrouping == "string" ? Ve(t.rowGrouping) : W, l = Array.isArray(t.displayProperties) ? t.displayProperties.filter((s) => typeof s == "string").map(Ve) : [];
|
|
317
374
|
return {
|
|
318
375
|
viewMode: t.viewMode === "list" ? "list" : "board",
|
|
@@ -324,7 +381,7 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
324
381
|
},
|
|
325
382
|
displayProperties: l
|
|
326
383
|
};
|
|
327
|
-
},
|
|
384
|
+
}, _n = (t) => {
|
|
328
385
|
const e = {};
|
|
329
386
|
for (const [n, i] of Object.entries(t)) {
|
|
330
387
|
if (!Array.isArray(i)) continue;
|
|
@@ -332,12 +389,12 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
332
389
|
o.length !== 0 && (e[Ve(n)] = o);
|
|
333
390
|
}
|
|
334
391
|
return e;
|
|
335
|
-
},
|
|
392
|
+
}, Gn = (t) => {
|
|
336
393
|
const {
|
|
337
394
|
storageKey: e,
|
|
338
395
|
initialState: n
|
|
339
|
-
} = t, i =
|
|
340
|
-
return
|
|
396
|
+
} = t, i = it(n);
|
|
397
|
+
return nn()(en((o) => ({
|
|
341
398
|
...i,
|
|
342
399
|
setViewMode: (r) => o((l) => ({
|
|
343
400
|
...l,
|
|
@@ -395,7 +452,7 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
395
452
|
}
|
|
396
453
|
})),
|
|
397
454
|
toggleDisplayProperty: (r) => o((l) => {
|
|
398
|
-
const s = l.settings.displayProperties.includes(r) ? l.settings.displayProperties.filter((
|
|
455
|
+
const s = l.settings.displayProperties.includes(r) ? l.settings.displayProperties.filter((c) => c !== r) : [...l.settings.displayProperties, r];
|
|
399
456
|
return {
|
|
400
457
|
...l,
|
|
401
458
|
settings: {
|
|
@@ -412,9 +469,9 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
412
469
|
}
|
|
413
470
|
})),
|
|
414
471
|
toggleFilterValue: (r, l) => o((s) => {
|
|
415
|
-
const
|
|
472
|
+
const c = s.filters[r] ?? [], u = Rn(c, l), d = u.length === 0 ? et(s.filters, r) : {
|
|
416
473
|
...s.filters,
|
|
417
|
-
[r]:
|
|
474
|
+
[r]: u
|
|
418
475
|
};
|
|
419
476
|
return {
|
|
420
477
|
...s,
|
|
@@ -423,7 +480,7 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
423
480
|
}),
|
|
424
481
|
clearFilter: (r) => o((l) => ({
|
|
425
482
|
...l,
|
|
426
|
-
filters:
|
|
483
|
+
filters: et(l.filters, r)
|
|
427
484
|
})),
|
|
428
485
|
clearAllFilters: () => o((r) => ({
|
|
429
486
|
...r,
|
|
@@ -437,7 +494,7 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
437
494
|
}
|
|
438
495
|
})),
|
|
439
496
|
activateView: (r) => o((l) => {
|
|
440
|
-
const s = l.views.find((
|
|
497
|
+
const s = l.views.find((c) => c.id === r);
|
|
441
498
|
return s ? {
|
|
442
499
|
...l,
|
|
443
500
|
...Ce(s),
|
|
@@ -466,36 +523,36 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
466
523
|
}),
|
|
467
524
|
renameView: (r, l) => o((s) => ({
|
|
468
525
|
...s,
|
|
469
|
-
views: s.views.map((
|
|
470
|
-
...
|
|
526
|
+
views: s.views.map((c) => c.id === r ? {
|
|
527
|
+
...c,
|
|
471
528
|
title: l
|
|
472
|
-
} :
|
|
529
|
+
} : c)
|
|
473
530
|
})),
|
|
474
531
|
duplicateView: (r, l) => o((s) => {
|
|
475
|
-
const
|
|
476
|
-
if (!
|
|
477
|
-
const
|
|
532
|
+
const c = s.views.find((d) => d.id === r);
|
|
533
|
+
if (!c) return s;
|
|
534
|
+
const u = _e(l.id, l.title, c);
|
|
478
535
|
return {
|
|
479
536
|
...s,
|
|
480
|
-
...Ce(
|
|
481
|
-
views: [...s.views,
|
|
482
|
-
activeViewId:
|
|
537
|
+
...Ce(u),
|
|
538
|
+
views: [...s.views, u],
|
|
539
|
+
activeViewId: u.id,
|
|
483
540
|
expandedGroups: {}
|
|
484
541
|
};
|
|
485
542
|
}),
|
|
486
543
|
deleteView: (r) => o((l) => {
|
|
487
544
|
if (l.views.length === 1) return l;
|
|
488
|
-
const s = l.views.filter((
|
|
545
|
+
const s = l.views.filter((u) => u.id !== r);
|
|
489
546
|
if (s.length === l.views.length || l.activeViewId !== r) return {
|
|
490
547
|
...l,
|
|
491
548
|
views: s
|
|
492
549
|
};
|
|
493
|
-
const
|
|
550
|
+
const c = s.find((u) => u.isDefault) ?? s[0];
|
|
494
551
|
return {
|
|
495
552
|
...l,
|
|
496
|
-
...Ce(
|
|
553
|
+
...Ce(c),
|
|
497
554
|
views: s,
|
|
498
|
-
activeViewId:
|
|
555
|
+
activeViewId: c.id,
|
|
499
556
|
expandedGroups: {}
|
|
500
557
|
};
|
|
501
558
|
}),
|
|
@@ -508,7 +565,7 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
508
565
|
})),
|
|
509
566
|
reset: () => o(i)
|
|
510
567
|
}), {
|
|
511
|
-
name:
|
|
568
|
+
name: An(e),
|
|
512
569
|
version: 3,
|
|
513
570
|
migrate: (o, r) => {
|
|
514
571
|
if (!o || typeof o != "object") return o;
|
|
@@ -518,13 +575,13 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
518
575
|
...l,
|
|
519
576
|
expandedGroups: {}
|
|
520
577
|
};
|
|
521
|
-
const s =
|
|
522
|
-
return
|
|
578
|
+
const s = On(l.settings ?? {}), c = _n(l.filters ?? {});
|
|
579
|
+
return it({
|
|
523
580
|
settings: s,
|
|
524
|
-
filters:
|
|
581
|
+
filters: c
|
|
525
582
|
});
|
|
526
583
|
},
|
|
527
|
-
storage:
|
|
584
|
+
storage: tn(Jt),
|
|
528
585
|
partialize: (o) => ({
|
|
529
586
|
settings: o.settings,
|
|
530
587
|
filters: o.filters,
|
|
@@ -532,341 +589,341 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
532
589
|
activeViewId: o.activeViewId
|
|
533
590
|
})
|
|
534
591
|
}));
|
|
535
|
-
},
|
|
536
|
-
const n =
|
|
592
|
+
}, rt = /* @__PURE__ */ new Map(), Dn = (t, e) => {
|
|
593
|
+
const n = rt.get(t);
|
|
537
594
|
if (n) return n;
|
|
538
|
-
const i =
|
|
595
|
+
const i = Gn({
|
|
539
596
|
storageKey: t,
|
|
540
597
|
initialState: e
|
|
541
598
|
});
|
|
542
|
-
return
|
|
599
|
+
return rt.set(t, i), i;
|
|
543
600
|
}, D = (t, e, n) => {
|
|
544
|
-
const i =
|
|
601
|
+
const i = J(3);
|
|
545
602
|
let o;
|
|
546
|
-
return i[0] !== n || i[1] !== t ? (o =
|
|
547
|
-
},
|
|
548
|
-
const e =
|
|
603
|
+
return i[0] !== n || i[1] !== t ? (o = Dn(t, n), i[0] = n, i[1] = t, i[2] = o) : o = i[2], Zt(o, e);
|
|
604
|
+
}, Pn = (t) => kn(t.views.find((e) => e.id === t.activeViewId), t), ot = (t) => {
|
|
605
|
+
const e = J(2);
|
|
549
606
|
let n;
|
|
550
|
-
return e[0] !== t.children ? (n = /* @__PURE__ */ a(
|
|
607
|
+
return e[0] !== t.children ? (n = /* @__PURE__ */ a(q, { paddingX: "xs", paddingTop: "xs", paddingBottom: "2xs", textStyle: "label/XS/medium", color: "fg.muted", children: t.children }), e[0] = t.children, e[1] = n) : n = e[1], n;
|
|
551
608
|
}, Me = (t) => {
|
|
552
|
-
const e =
|
|
609
|
+
const e = J(26);
|
|
553
610
|
let n;
|
|
554
|
-
e[0] !== t.label || e[1] !== t.options || e[2] !== t.value ? (n = t.options.find((
|
|
611
|
+
e[0] !== t.label || e[1] !== t.options || e[2] !== t.value ? (n = t.options.find((m) => m.value === t.value)?.label ?? t.label, e[0] = t.label, e[1] = t.options, e[2] = t.value, e[3] = n) : n = e[3];
|
|
555
612
|
const i = n, o = t.options[0]?.value === "none";
|
|
556
613
|
let r;
|
|
557
|
-
e[4] !== t.label ? (r = /* @__PURE__ */ a(
|
|
614
|
+
e[4] !== t.label ? (r = /* @__PURE__ */ a(q, { textStyle: "label/S/regular", children: t.label }), e[4] = t.label, e[5] = r) : r = e[5];
|
|
558
615
|
let l;
|
|
559
|
-
e[6] !== i ? (l = /* @__PURE__ */ a(
|
|
616
|
+
e[6] !== i ? (l = /* @__PURE__ */ a(q, { textStyle: "label/S/regular", truncate: !0, children: i }), e[6] = i, e[7] = l) : l = e[7];
|
|
560
617
|
let s;
|
|
561
|
-
e[8] !== t.valueSuffix || e[9] !== l ? (s = /* @__PURE__ */
|
|
618
|
+
e[8] !== t.valueSuffix || e[9] !== l ? (s = /* @__PURE__ */ y(H, { marginLeft: "auto", minW: "0", gap: "2xs", color: "fg.muted", children: [
|
|
562
619
|
l,
|
|
563
620
|
t.valueSuffix
|
|
564
621
|
] }), e[8] = t.valueSuffix, e[9] = l, e[10] = s) : s = e[10];
|
|
565
|
-
let u;
|
|
566
|
-
e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ a(Ft, { size: 12 }), e[11] = u) : u = e[11];
|
|
567
622
|
let c;
|
|
568
|
-
e[
|
|
623
|
+
e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ a(Et, { size: 12 }), e[11] = c) : c = e[11];
|
|
624
|
+
let u;
|
|
625
|
+
e[12] !== r || e[13] !== s ? (u = /* @__PURE__ */ a(re.Trigger, { asChild: !0, children: /* @__PURE__ */ y(Z, { size: "xs", variant: "ghost", width: "full", justifyContent: "flex-start", gap: "xs", children: [
|
|
569
626
|
r,
|
|
570
627
|
s,
|
|
571
|
-
|
|
572
|
-
] }) }), e[12] = r, e[13] = s, e[14] =
|
|
628
|
+
c
|
|
629
|
+
] }) }), e[12] = r, e[13] = s, e[14] = u) : u = e[14];
|
|
573
630
|
let d;
|
|
574
|
-
e[15] !== o || e[16] !== t ? (d = t.options.map((
|
|
575
|
-
o &&
|
|
576
|
-
/* @__PURE__ */ a(re.Item, { value:
|
|
577
|
-
/* @__PURE__ */ a(
|
|
578
|
-
|
|
631
|
+
e[15] !== o || e[16] !== t ? (d = t.options.map((m, b) => /* @__PURE__ */ y(Ht, { children: [
|
|
632
|
+
o && b === 1 ? /* @__PURE__ */ a(re.Separator, {}) : null,
|
|
633
|
+
/* @__PURE__ */ a(re.Item, { value: m.value, onClick: () => t.onSelect(m.value), children: /* @__PURE__ */ y(H, { width: "full", gap: "xs", children: [
|
|
634
|
+
/* @__PURE__ */ a(q, { textStyle: "label/S/regular", children: m.label }),
|
|
635
|
+
m.value === t.value ? /* @__PURE__ */ a(Q, { as: $t, marginLeft: "auto", boxSize: "0.875rem" }) : null
|
|
579
636
|
] }) })
|
|
580
|
-
] },
|
|
637
|
+
] }, m.value)), e[15] = o, e[16] = t, e[17] = d) : d = e[17];
|
|
581
638
|
let f;
|
|
582
|
-
e[18] !== t.onSuffixAction ? (f = t.onSuffixAction ? /* @__PURE__ */
|
|
639
|
+
e[18] !== t.onSuffixAction ? (f = t.onSuffixAction ? /* @__PURE__ */ y(De, { children: [
|
|
583
640
|
/* @__PURE__ */ a(re.Separator, {}),
|
|
584
641
|
/* @__PURE__ */ a(re.Item, { value: "toggle-direction", onClick: t.onSuffixAction, children: "Reverse order" })
|
|
585
642
|
] }) : null, e[18] = t.onSuffixAction, e[19] = f) : f = e[19];
|
|
586
|
-
let
|
|
587
|
-
e[20] !== d || e[21] !== f ? (
|
|
643
|
+
let p;
|
|
644
|
+
e[20] !== d || e[21] !== f ? (p = /* @__PURE__ */ a(re.Positioner, { children: /* @__PURE__ */ y(re.Content, { children: [
|
|
588
645
|
d,
|
|
589
646
|
f
|
|
590
|
-
] }) }), e[20] = d, e[21] = f, e[22] =
|
|
647
|
+
] }) }), e[20] = d, e[21] = f, e[22] = p) : p = e[22];
|
|
591
648
|
let g;
|
|
592
|
-
return e[23] !==
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
] }), e[23] =
|
|
596
|
-
},
|
|
597
|
-
const e =
|
|
649
|
+
return e[23] !== u || e[24] !== p ? (g = /* @__PURE__ */ y(re.Root, { children: [
|
|
650
|
+
u,
|
|
651
|
+
p
|
|
652
|
+
] }), e[23] = u, e[24] = p, e[25] = g) : g = e[25], g;
|
|
653
|
+
}, Fn = (t) => {
|
|
654
|
+
const e = J(65), {
|
|
598
655
|
settings: n,
|
|
599
656
|
groupingOptions: i,
|
|
600
657
|
orderingOptions: o,
|
|
601
658
|
displayPropertyOptions: r,
|
|
602
659
|
onViewModeChange: l,
|
|
603
660
|
onColumnGroupingChange: s,
|
|
604
|
-
onRowGroupingChange:
|
|
605
|
-
onOrderingAttributeIdChange:
|
|
661
|
+
onRowGroupingChange: c,
|
|
662
|
+
onOrderingAttributeIdChange: u,
|
|
606
663
|
onSortDirectionToggle: d,
|
|
607
664
|
onDisplayPropertyToggle: f
|
|
608
|
-
} = t,
|
|
665
|
+
} = t, p = Ge(null), g = Ge(null), [m, b] = xe(!1);
|
|
609
666
|
let v, S;
|
|
610
|
-
e[0] !==
|
|
611
|
-
if (!
|
|
667
|
+
e[0] !== m ? (v = () => {
|
|
668
|
+
if (!m)
|
|
612
669
|
return;
|
|
613
670
|
const U = (ne) => {
|
|
614
671
|
const ce = ne.target;
|
|
615
|
-
ce instanceof Node && (g.current?.contains(ce) ||
|
|
672
|
+
ce instanceof Node && (g.current?.contains(ce) || p.current?.contains(ce) || b(!1));
|
|
616
673
|
};
|
|
617
674
|
return document.addEventListener("pointerdown", U), () => document.removeEventListener("pointerdown", U);
|
|
618
|
-
}, S = [
|
|
619
|
-
let
|
|
620
|
-
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
675
|
+
}, S = [m], e[0] = m, e[1] = v, e[2] = S) : (v = e[1], S = e[2]), Xe(v, S);
|
|
676
|
+
let I, A;
|
|
677
|
+
e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (I = {
|
|
621
678
|
placement: "bottom-end",
|
|
622
679
|
offset: {
|
|
623
680
|
mainAxis: 8
|
|
624
681
|
},
|
|
625
|
-
getAnchorElement: () =>
|
|
626
|
-
},
|
|
682
|
+
getAnchorElement: () => p.current
|
|
683
|
+
}, A = (U) => b(U.open), e[3] = I, e[4] = A) : (I = e[3], A = e[4]);
|
|
627
684
|
let _;
|
|
628
|
-
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ a(
|
|
685
|
+
e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ a(Ue, { content: "Display", children: /* @__PURE__ */ a(le.Trigger, { asChild: !0, children: /* @__PURE__ */ a(Ke, { ref: p, "aria-label": "Display settings", variant: "ghost", size: "2xs", children: /* @__PURE__ */ a(Q, { as: Dt }) }) }) }), e[5] = _) : _ = e[5];
|
|
629
686
|
let w;
|
|
630
|
-
e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ a(
|
|
687
|
+
e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ a(ot, { children: "DISPLAY" }), e[6] = w) : w = e[6];
|
|
631
688
|
const P = n.viewMode === "list";
|
|
632
689
|
let x;
|
|
633
690
|
e[7] !== l ? (x = () => l("list"), e[7] = l, e[8] = x) : x = e[8];
|
|
634
|
-
let
|
|
635
|
-
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
691
|
+
let M;
|
|
692
|
+
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (M = /* @__PURE__ */ a(Tt, {}), e[9] = M) : M = e[9];
|
|
636
693
|
let K;
|
|
637
|
-
e[10] !== P || e[11] !== x ? (K = /* @__PURE__ */
|
|
638
|
-
|
|
694
|
+
e[10] !== P || e[11] !== x ? (K = /* @__PURE__ */ y(Z, { flex: "1", size: "2xs", variant: "ghost", "aria-pressed": P, onClick: x, children: [
|
|
695
|
+
M,
|
|
639
696
|
"List"
|
|
640
697
|
] }), e[10] = P, e[11] = x, e[12] = K) : K = e[12];
|
|
641
|
-
const
|
|
698
|
+
const T = n.viewMode === "board";
|
|
642
699
|
let O;
|
|
643
700
|
e[13] !== l ? (O = () => l("board"), e[13] = l, e[14] = O) : O = e[14];
|
|
644
701
|
let L;
|
|
645
|
-
e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (L = /* @__PURE__ */ a(
|
|
702
|
+
e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (L = /* @__PURE__ */ a(Lt, {}), e[15] = L) : L = e[15];
|
|
646
703
|
let G;
|
|
647
|
-
e[16] !==
|
|
704
|
+
e[16] !== T || e[17] !== O ? (G = /* @__PURE__ */ y(Z, { flex: "1", size: "2xs", variant: "ghost", "aria-pressed": T, onClick: O, children: [
|
|
648
705
|
L,
|
|
649
706
|
"Board"
|
|
650
|
-
] }), e[16] =
|
|
707
|
+
] }), e[16] = T, e[17] = O, e[18] = G) : G = e[18];
|
|
651
708
|
let R;
|
|
652
|
-
e[19] !== G || e[20] !== K ? (R = /* @__PURE__ */
|
|
709
|
+
e[19] !== G || e[20] !== K ? (R = /* @__PURE__ */ y(H, { borderRadius: "sm", bg: "bg.subtle", padding: "2xs", gap: "2xs", children: [
|
|
653
710
|
K,
|
|
654
711
|
G
|
|
655
712
|
] }), e[19] = G, e[20] = K, e[21] = R) : R = e[21];
|
|
656
713
|
let F;
|
|
657
|
-
e[22] !== s || e[23] !==
|
|
658
|
-
s(U), (U === "none" || U === n.rowGrouping) &&
|
|
659
|
-
}, e[22] = s, e[23] =
|
|
660
|
-
let
|
|
661
|
-
e[26] !== i || e[27] !== n.columnGrouping || e[28] !== F ? (
|
|
714
|
+
e[22] !== s || e[23] !== c || e[24] !== n.rowGrouping ? (F = (U) => {
|
|
715
|
+
s(U), (U === "none" || U === n.rowGrouping) && c("none");
|
|
716
|
+
}, e[22] = s, e[23] = c, e[24] = n.rowGrouping, e[25] = F) : F = e[25];
|
|
717
|
+
let $;
|
|
718
|
+
e[26] !== i || e[27] !== n.columnGrouping || e[28] !== F ? ($ = /* @__PURE__ */ a(Me, { label: "Grouping", value: n.columnGrouping, options: i, onSelect: F }), e[26] = i, e[27] = n.columnGrouping, e[28] = F, e[29] = $) : $ = e[29];
|
|
662
719
|
let C;
|
|
663
|
-
e[30] !== n.ordering.attributeId || e[31] !== n.ordering.direction ? (C = n.ordering.attributeId === "manual" ? void 0 : /* @__PURE__ */ a(Q, { as: n.ordering.direction === "asc" ?
|
|
720
|
+
e[30] !== n.ordering.attributeId || e[31] !== n.ordering.direction ? (C = n.ordering.attributeId === "manual" ? void 0 : /* @__PURE__ */ a(Q, { as: n.ordering.direction === "asc" ? Pt : Ft, "aria-label": `${n.ordering.direction === "asc" ? "Ascending" : "Descending"} order`, "aria-hidden": !1, role: "img", boxSize: "0.875rem", flexShrink: 0 }), e[30] = n.ordering.attributeId, e[31] = n.ordering.direction, e[32] = C) : C = e[32];
|
|
664
721
|
const j = n.ordering.attributeId === "manual" ? void 0 : d;
|
|
665
722
|
let N;
|
|
666
|
-
e[33] !==
|
|
723
|
+
e[33] !== u || e[34] !== o || e[35] !== n.ordering.attributeId || e[36] !== C || e[37] !== j ? (N = /* @__PURE__ */ a(Me, { label: "Ordering", value: n.ordering.attributeId, options: o, valueSuffix: C, onSelect: u, onSuffixAction: j }), e[33] = u, e[34] = o, e[35] = n.ordering.attributeId, e[36] = C, e[37] = j, e[38] = N) : N = e[38];
|
|
667
724
|
const X = n.rowGrouping;
|
|
668
725
|
let B;
|
|
669
|
-
e[39] !== i || e[40] !== n.columnGrouping ? (B =
|
|
726
|
+
e[39] !== i || e[40] !== n.columnGrouping ? (B = Vn(i, n.columnGrouping), e[39] = i, e[40] = n.columnGrouping, e[41] = B) : B = e[41];
|
|
670
727
|
let E;
|
|
671
|
-
e[42] !==
|
|
672
|
-
let
|
|
673
|
-
e[46] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
674
|
-
let
|
|
728
|
+
e[42] !== c || e[43] !== n.rowGrouping || e[44] !== B ? (E = /* @__PURE__ */ a(Me, { label: "Sub-grouping", value: X, options: B, onSelect: c }), e[42] = c, e[43] = n.rowGrouping, e[44] = B, e[45] = E) : E = e[45];
|
|
729
|
+
let z;
|
|
730
|
+
e[46] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ a(ot, { children: "PROPERTIES" }), e[46] = z) : z = e[46];
|
|
731
|
+
let h;
|
|
675
732
|
if (e[47] !== r || e[48] !== f || e[49] !== n.displayProperties) {
|
|
676
733
|
let U;
|
|
677
734
|
e[51] !== f || e[52] !== n.displayProperties ? (U = (ne) => {
|
|
678
735
|
const ce = n.displayProperties.includes(ne.value);
|
|
679
736
|
return /* @__PURE__ */ a(Z, { size: "2xs", variant: "ghost", "aria-pressed": ce, onClick: () => f(ne.value), children: ne.label }, ne.value);
|
|
680
|
-
}, e[51] = f, e[52] = n.displayProperties, e[53] = U) : U = e[53],
|
|
737
|
+
}, e[51] = f, e[52] = n.displayProperties, e[53] = U) : U = e[53], h = r.map(U), e[47] = r, e[48] = f, e[49] = n.displayProperties, e[50] = h;
|
|
681
738
|
} else
|
|
682
|
-
|
|
739
|
+
h = e[50];
|
|
683
740
|
let V;
|
|
684
|
-
e[54] !==
|
|
685
|
-
let
|
|
686
|
-
e[56] !== R || e[57] !==
|
|
741
|
+
e[54] !== h ? (V = /* @__PURE__ */ a(H, { paddingX: "xs", paddingBottom: "xs", flexWrap: "wrap", gap: "2xs", children: h }), e[54] = h, e[55] = V) : V = e[55];
|
|
742
|
+
let Y;
|
|
743
|
+
e[56] !== R || e[57] !== $ || e[58] !== N || e[59] !== E || e[60] !== V ? (Y = /* @__PURE__ */ a(mt, { children: /* @__PURE__ */ a(le.Positioner, { children: /* @__PURE__ */ y(le.Content, { ref: g, width: "18.75rem", padding: "xs", gap: "1px", children: [
|
|
687
744
|
w,
|
|
688
745
|
R,
|
|
689
|
-
|
|
746
|
+
$,
|
|
690
747
|
N,
|
|
691
748
|
E,
|
|
692
|
-
|
|
749
|
+
z,
|
|
693
750
|
V
|
|
694
|
-
] }) }) }), e[56] = R, e[57] =
|
|
751
|
+
] }) }) }), e[56] = R, e[57] = $, e[58] = N, e[59] = E, e[60] = V, e[61] = Y) : Y = e[61];
|
|
695
752
|
let te;
|
|
696
|
-
return e[62] !==
|
|
753
|
+
return e[62] !== m || e[63] !== Y ? (te = /* @__PURE__ */ y(le.Root, { open: m, closeOnInteractOutside: !1, positioning: I, onOpenChange: A, children: [
|
|
697
754
|
_,
|
|
698
|
-
|
|
699
|
-
] }), e[62] =
|
|
700
|
-
},
|
|
755
|
+
Y
|
|
756
|
+
] }), e[62] = m, e[63] = Y, e[64] = te) : te = e[64], te;
|
|
757
|
+
}, lt = {
|
|
701
758
|
p: "2xs",
|
|
702
759
|
display: "flex",
|
|
703
760
|
flexDirection: "column",
|
|
704
761
|
gap: "1px"
|
|
705
|
-
},
|
|
762
|
+
}, st = (t, e) => t[e]?.filter(Boolean) ?? [], $n = (t) => Object.values(t).some((e) => e.length > 0), En = (t, e) => {
|
|
706
763
|
const n = e.map((i) => t.options.find((o) => o.value === i)?.label ?? i);
|
|
707
764
|
return n.length <= 2 ? n.join(", ") : `${n.slice(0, 2).join(", ")} +${(n.length - 2).toString()}`;
|
|
708
|
-
},
|
|
709
|
-
const e =
|
|
765
|
+
}, Tn = (t) => {
|
|
766
|
+
const e = J(8), {
|
|
710
767
|
category: n,
|
|
711
768
|
values: i
|
|
712
769
|
} = t;
|
|
713
770
|
let o;
|
|
714
|
-
e[0] !== n.label ? (o = /* @__PURE__ */ a(
|
|
771
|
+
e[0] !== n.label ? (o = /* @__PURE__ */ a(q, { textStyle: "label/S/regular", truncate: !0, children: n.label }), e[0] = n.label, e[1] = o) : o = e[1];
|
|
715
772
|
let r;
|
|
716
|
-
e[2] !== n || e[3] !== i ? (r = i.length > 0 ? /* @__PURE__ */ a(
|
|
773
|
+
e[2] !== n || e[3] !== i ? (r = i.length > 0 ? /* @__PURE__ */ a(q, { textStyle: "label/XS", color: "fg.menu-item.secondary", truncate: !0, children: En(n, i) }) : null, e[2] = n, e[3] = i, e[4] = r) : r = e[4];
|
|
717
774
|
let l;
|
|
718
|
-
return e[5] !== o || e[6] !== r ? (l = /* @__PURE__ */
|
|
775
|
+
return e[5] !== o || e[6] !== r ? (l = /* @__PURE__ */ y(H, { minW: "0", width: "full", gap: "2xs", children: [
|
|
719
776
|
o,
|
|
720
777
|
r
|
|
721
778
|
] }), e[5] = o, e[6] = r, e[7] = l) : l = e[7], l;
|
|
722
|
-
},
|
|
723
|
-
const e =
|
|
779
|
+
}, Ln = (t) => {
|
|
780
|
+
const e = J(8);
|
|
724
781
|
let n;
|
|
725
782
|
e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (n = {
|
|
726
783
|
tabIndex: -1,
|
|
727
784
|
"aria-hidden": !0
|
|
728
785
|
}, e[0] = n) : n = e[0];
|
|
729
786
|
let i;
|
|
730
|
-
e[1] !== t.checked ? (i = /* @__PURE__ */ a(
|
|
787
|
+
e[1] !== t.checked ? (i = /* @__PURE__ */ a(Yt, { checked: t.checked, readOnly: !0, "aria-readonly": "true", inputProps: n, pointerEvents: "none", size: "sm" }), e[1] = t.checked, e[2] = i) : i = e[2];
|
|
731
788
|
let o;
|
|
732
|
-
e[3] !== t.label ? (o = /* @__PURE__ */ a(
|
|
789
|
+
e[3] !== t.label ? (o = /* @__PURE__ */ a(q, { textStyle: "label/S/regular", truncate: !0, children: t.label }), e[3] = t.label, e[4] = o) : o = e[4];
|
|
733
790
|
let r;
|
|
734
|
-
return e[5] !== i || e[6] !== o ? (r = /* @__PURE__ */
|
|
791
|
+
return e[5] !== i || e[6] !== o ? (r = /* @__PURE__ */ y(H, { minW: "0", gap: "xs", children: [
|
|
735
792
|
i,
|
|
736
793
|
o
|
|
737
794
|
] }), e[5] = i, e[6] = o, e[7] = r) : r = e[7], r;
|
|
738
|
-
},
|
|
739
|
-
const e =
|
|
795
|
+
}, Nn = (t) => {
|
|
796
|
+
const e = J(63), {
|
|
740
797
|
categories: n,
|
|
741
798
|
filters: i,
|
|
742
799
|
countsByCategory: o,
|
|
743
800
|
onToggleFilterValue: r,
|
|
744
801
|
onClearFilter: l,
|
|
745
802
|
onClearAll: s
|
|
746
|
-
} = t,
|
|
803
|
+
} = t, c = Ge(null), u = Ge(null), [d, f] = xe(!1), [p, g] = xe(""), [m, b] = xe(n[0]?.id ?? "");
|
|
747
804
|
let v;
|
|
748
|
-
e[0] !==
|
|
805
|
+
e[0] !== m || e[1] !== n ? (v = n.find((k) => k.id === m) ?? n[0], e[0] = m, e[1] = n, e[2] = v) : v = e[2];
|
|
749
806
|
const S = v;
|
|
750
|
-
let
|
|
751
|
-
e[3] !== i ? (
|
|
752
|
-
const
|
|
807
|
+
let I;
|
|
808
|
+
e[3] !== i ? (I = $n(i), e[3] = i, e[4] = I) : I = e[4];
|
|
809
|
+
const A = I, _ = p.trim().toLocaleLowerCase(), w = n.filter((k) => k.label.toLocaleLowerCase().includes(_));
|
|
753
810
|
let P, x;
|
|
754
811
|
e[5] !== d ? (P = () => {
|
|
755
812
|
if (!d)
|
|
756
813
|
return;
|
|
757
814
|
const k = (ie) => {
|
|
758
|
-
const
|
|
759
|
-
|
|
815
|
+
const Te = ie.target;
|
|
816
|
+
Te instanceof Node && (u.current?.contains(Te) || c.current?.contains(Te) || f(!1));
|
|
760
817
|
};
|
|
761
818
|
return document.addEventListener("pointerdown", k), () => document.removeEventListener("pointerdown", k);
|
|
762
|
-
}, x = [d], e[5] = d, e[6] = P, e[7] = x) : (P = e[6], x = e[7]),
|
|
763
|
-
const
|
|
764
|
-
let
|
|
765
|
-
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
819
|
+
}, x = [d], e[5] = d, e[6] = P, e[7] = x) : (P = e[6], x = e[7]), Xe(P, x);
|
|
820
|
+
const M = le, K = !1;
|
|
821
|
+
let T, O;
|
|
822
|
+
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (T = {
|
|
766
823
|
placement: "bottom-end",
|
|
767
824
|
offset: {
|
|
768
825
|
mainAxis: 8
|
|
769
826
|
},
|
|
770
|
-
getAnchorElement: () =>
|
|
827
|
+
getAnchorElement: () => c.current
|
|
771
828
|
}, O = (k) => {
|
|
772
829
|
f(k.open), k.open || g("");
|
|
773
|
-
}, e[8] =
|
|
774
|
-
const L =
|
|
830
|
+
}, e[8] = T, e[9] = O) : (T = e[8], O = e[9]);
|
|
831
|
+
const L = A ? "subtle" : "ghost";
|
|
775
832
|
let G;
|
|
776
|
-
e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = /* @__PURE__ */ a(Q, { as:
|
|
833
|
+
e[10] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = /* @__PURE__ */ a(Q, { as: Nt }), e[10] = G) : G = e[10];
|
|
777
834
|
let R;
|
|
778
|
-
e[11] !==
|
|
779
|
-
const F =
|
|
780
|
-
let
|
|
781
|
-
e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
782
|
-
let
|
|
783
|
-
e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
835
|
+
e[11] !== A || e[12] !== L ? (R = /* @__PURE__ */ a(Ue, { content: "Filter", children: /* @__PURE__ */ a(le.Trigger, { asChild: !0, children: /* @__PURE__ */ a(Ke, { ref: c, "aria-label": "Filter rows", "aria-pressed": A, variant: L, size: "2xs", children: G }) }) }), e[11] = A, e[12] = L, e[13] = R) : R = e[13];
|
|
836
|
+
const F = mt, $ = le, C = le, j = "min(440px, calc(100vw - 32px))", N = "min(320px, calc(100vh - 32px))", X = "0", B = "0", E = "hidden";
|
|
837
|
+
let z;
|
|
838
|
+
e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ a(Q, { as: Bt, boxSize: "0.875rem", color: "fg.muted" }), e[14] = z) : z = e[14];
|
|
839
|
+
let h;
|
|
840
|
+
e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = (k) => g(k.target.value), e[15] = h) : h = e[15];
|
|
784
841
|
let V;
|
|
785
|
-
e[16] !==
|
|
786
|
-
|
|
787
|
-
/* @__PURE__ */ a(
|
|
788
|
-
] }), e[16] =
|
|
789
|
-
const
|
|
790
|
-
let
|
|
791
|
-
e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
842
|
+
e[16] !== p ? (V = /* @__PURE__ */ y(H, { height: "2.25rem", gap: "xs", paddingX: "sm", borderBottomWidth: "1px", borderColor: "border.subtle", children: [
|
|
843
|
+
z,
|
|
844
|
+
/* @__PURE__ */ a(pt, { "aria-label": "Filter properties", value: p, placeholder: "Filter by…", variant: "flushed", border: "0", height: "full", padding: "0", onChange: h })
|
|
845
|
+
] }), e[16] = p, e[17] = V) : V = e[17];
|
|
846
|
+
const Y = H, te = "stretch", U = "0", ne = "1", ce = "0", Pe = We, St = "filter-property-column", xt = "11.75rem", Ct = 0, Vt = "1px", kt = "border.subtle", It = "0", At = "0";
|
|
847
|
+
let Ie;
|
|
848
|
+
e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Ie = /* @__PURE__ */ a(q, { textStyle: "label/XS/medium", color: "fg.muted", children: "PROPERTY" }), e[18] = Ie) : Ie = e[18];
|
|
792
849
|
let fe;
|
|
793
|
-
e[19] !== s ? (fe = /* @__PURE__ */
|
|
794
|
-
|
|
850
|
+
e[19] !== s ? (fe = /* @__PURE__ */ y(H, { height: "2rem", paddingX: "sm", children: [
|
|
851
|
+
Ie,
|
|
795
852
|
/* @__PURE__ */ a(Z, { marginLeft: "auto", size: "2xs", variant: "ghost", onClick: s, children: "Clear all" })
|
|
796
853
|
] }), e[19] = s, e[20] = fe) : fe = e[20];
|
|
797
|
-
const
|
|
854
|
+
const Fe = Ye, Rt = "1", Ot = "0";
|
|
798
855
|
let ge;
|
|
799
856
|
e[21] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ge = {
|
|
800
857
|
overscrollBehavior: "contain"
|
|
801
858
|
}, e[21] = ge) : ge = e[21];
|
|
802
|
-
const
|
|
803
|
-
let
|
|
804
|
-
e[22] !== S?.id || e[23] !== i ? (
|
|
805
|
-
const ie =
|
|
806
|
-
return /* @__PURE__ */ a(
|
|
807
|
-
}, e[22] = S?.id, e[23] = i, e[24] =
|
|
808
|
-
const
|
|
859
|
+
const $e = lt;
|
|
860
|
+
let Ae;
|
|
861
|
+
e[22] !== S?.id || e[23] !== i ? (Ae = (k) => {
|
|
862
|
+
const ie = st(i, k.id);
|
|
863
|
+
return /* @__PURE__ */ a(Qe, { id: k.id, role: "button", variant: "compact", isSelected: S?.id === k.id, label: /* @__PURE__ */ a(Tn, { category: k, values: ie }), endContent: ie.length > 0 ? /* @__PURE__ */ a(je, { variant: "number", colorPalette: "gray", children: ie.length }) : void 0, onActivate: () => b(k.id) }, k.id);
|
|
864
|
+
}, e[22] = S?.id, e[23] = i, e[24] = Ae) : Ae = e[24];
|
|
865
|
+
const Ee = w.map(Ae);
|
|
809
866
|
let me;
|
|
810
|
-
e[25] !==
|
|
867
|
+
e[25] !== Fe || e[26] !== ge || e[27] !== $e || e[28] !== Ee ? (me = /* @__PURE__ */ a(Fe, { flex: Rt, minH: Ot, viewportProps: ge, contentProps: $e, children: Ee }), e[25] = Fe, e[26] = ge, e[27] = $e, e[28] = Ee, e[29] = me) : me = e[29];
|
|
811
868
|
let pe;
|
|
812
|
-
e[30] !==
|
|
869
|
+
e[30] !== Pe || e[31] !== fe || e[32] !== me ? (pe = /* @__PURE__ */ y(Pe, { "data-testid": St, width: xt, flexShrink: Ct, borderRightWidth: Vt, borderColor: kt, gap: It, minH: At, children: [
|
|
813
870
|
fe,
|
|
814
871
|
me
|
|
815
|
-
] }), e[30] =
|
|
872
|
+
] }), e[30] = Pe, e[31] = fe, e[32] = me, e[33] = pe) : pe = e[33];
|
|
816
873
|
let be;
|
|
817
|
-
e[34] !== S || e[35] !== o || e[36] !== i || e[37] !== l || e[38] !== r ? (be = S ? /* @__PURE__ */
|
|
818
|
-
/* @__PURE__ */
|
|
819
|
-
/* @__PURE__ */ a(
|
|
874
|
+
e[34] !== S || e[35] !== o || e[36] !== i || e[37] !== l || e[38] !== r ? (be = S ? /* @__PURE__ */ y(De, { children: [
|
|
875
|
+
/* @__PURE__ */ y(H, { height: "2rem", paddingX: "sm", children: [
|
|
876
|
+
/* @__PURE__ */ a(q, { textStyle: "label/S/medium", truncate: !0, children: S.label }),
|
|
820
877
|
/* @__PURE__ */ a(Z, { marginLeft: "auto", size: "2xs", variant: "ghost", onClick: () => l(S.id), children: "Clear" })
|
|
821
878
|
] }),
|
|
822
|
-
/* @__PURE__ */ a(
|
|
879
|
+
/* @__PURE__ */ a(Ye, { flex: "1", minH: "0", viewportProps: {
|
|
823
880
|
overscrollBehavior: "contain"
|
|
824
|
-
}, contentProps:
|
|
825
|
-
const ie =
|
|
826
|
-
return /* @__PURE__ */ a(
|
|
881
|
+
}, contentProps: lt, children: S.options.map((k) => {
|
|
882
|
+
const ie = st(i, S.id).includes(k.value);
|
|
883
|
+
return /* @__PURE__ */ a(Qe, { id: k.value, role: "checkbox", "aria-label": k.label, "aria-checked": ie, variant: "compact", label: /* @__PURE__ */ a(Ln, { checked: ie, label: k.label }), endContent: /* @__PURE__ */ a(q, { textStyle: "label/XS", color: "fg.muted", children: o[S.id]?.[k.value] ?? 0 }), onActivate: () => r(S.id, k.value) }, k.value);
|
|
827
884
|
}) })
|
|
828
885
|
] }) : null, e[34] = S, e[35] = o, e[36] = i, e[37] = l, e[38] = r, e[39] = be) : be = e[39];
|
|
829
886
|
let he;
|
|
830
|
-
e[40] !== be ? (he = /* @__PURE__ */ a(
|
|
887
|
+
e[40] !== be ? (he = /* @__PURE__ */ a(We, { flex: "1", minW: "0", minH: "0", gap: "0", children: be }), e[40] = be, e[41] = he) : he = e[41];
|
|
831
888
|
let ye;
|
|
832
|
-
e[42] !==
|
|
889
|
+
e[42] !== Y || e[43] !== pe || e[44] !== he ? (ye = /* @__PURE__ */ y(Y, { alignItems: te, gap: U, flex: ne, minH: ce, children: [
|
|
833
890
|
pe,
|
|
834
891
|
he
|
|
835
|
-
] }), e[42] =
|
|
892
|
+
] }), e[42] = Y, e[43] = pe, e[44] = he, e[45] = ye) : ye = e[45];
|
|
836
893
|
let ve;
|
|
837
|
-
e[46] !== C.Content || e[47] !== V || e[48] !== ye ? (ve = /* @__PURE__ */
|
|
894
|
+
e[46] !== C.Content || e[47] !== V || e[48] !== ye ? (ve = /* @__PURE__ */ y(C.Content, { ref: u, width: j, height: N, padding: X, gap: B, overflow: E, children: [
|
|
838
895
|
V,
|
|
839
896
|
ye
|
|
840
897
|
] }), e[46] = C.Content, e[47] = V, e[48] = ye, e[49] = ve) : ve = e[49];
|
|
841
898
|
let we;
|
|
842
|
-
e[50] !==
|
|
899
|
+
e[50] !== $.Positioner || e[51] !== ve ? (we = /* @__PURE__ */ a($.Positioner, { children: ve }), e[50] = $.Positioner, e[51] = ve, e[52] = we) : we = e[52];
|
|
843
900
|
let Se;
|
|
844
901
|
e[53] !== F || e[54] !== we ? (Se = /* @__PURE__ */ a(F, { children: we }), e[53] = F, e[54] = we, e[55] = Se) : Se = e[55];
|
|
845
902
|
let Re;
|
|
846
|
-
return e[56] !== d || e[57] !== R || e[58] !==
|
|
903
|
+
return e[56] !== d || e[57] !== R || e[58] !== M.Root || e[59] !== Se || e[60] !== T || e[61] !== O ? (Re = /* @__PURE__ */ y(M.Root, { open: d, closeOnInteractOutside: K, positioning: T, onOpenChange: O, children: [
|
|
847
904
|
R,
|
|
848
905
|
Se
|
|
849
|
-
] }), e[56] = d, e[57] = R, e[58] =
|
|
850
|
-
},
|
|
906
|
+
] }), e[56] = d, e[57] = R, e[58] = M.Root, e[59] = Se, e[60] = T, e[61] = O, e[62] = Re) : Re = e[62], Re;
|
|
907
|
+
}, Bn = "Unassigned", at = (t) => `No ${t.label.toLowerCase()}`, ct = (t, e) => e ? e.type.kind === "enum" || e.type.kind === "enum-multi" ? Oe(e.type, t) : t : t === W ? "All" : t, ut = (t, e) => {
|
|
851
908
|
if (t !== void 0)
|
|
852
909
|
return e.type.kind !== "enum" && e.type.kind !== "enum-multi" || ee(e.type).some((n) => n.value === t) ? t : void 0;
|
|
853
|
-
},
|
|
910
|
+
}, dt = (t, e, n) => {
|
|
854
911
|
if (n === W || !e) return "all";
|
|
855
912
|
if (e.type.kind === "enum-multi") {
|
|
856
913
|
const [o] = de(t, e);
|
|
857
|
-
return
|
|
914
|
+
return ut(o, e) ?? at(e);
|
|
858
915
|
}
|
|
859
916
|
const [i] = de(t, e);
|
|
860
|
-
return
|
|
861
|
-
},
|
|
917
|
+
return ut(i, e) ?? at(e);
|
|
918
|
+
}, zn = (t, e) => t.localeCompare(e, void 0, {
|
|
862
919
|
numeric: !0
|
|
863
|
-
}),
|
|
920
|
+
}), ft = (t, e, n) => {
|
|
864
921
|
if (n && (n.type.kind === "enum" || n.type.kind === "enum-multi")) {
|
|
865
|
-
const i =
|
|
922
|
+
const i = wt(t, e, n.type);
|
|
866
923
|
if (i !== 0) return i;
|
|
867
924
|
}
|
|
868
|
-
return
|
|
869
|
-
},
|
|
925
|
+
return zn(t, e);
|
|
926
|
+
}, gt = (t, e) => e === "asc" ? t : t * -1, wt = (t, e, n) => {
|
|
870
927
|
if (n.kind !== "enum" && n.kind !== "enum-multi") return 0;
|
|
871
928
|
const i = ee(n), o = (r) => {
|
|
872
929
|
if (r === void 0) return i.length;
|
|
@@ -874,94 +931,94 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
874
931
|
return l === -1 ? i.length + 1 : l;
|
|
875
932
|
};
|
|
876
933
|
return o(t) - o(e);
|
|
877
|
-
},
|
|
934
|
+
}, Mn = (t, e, n) => {
|
|
878
935
|
if (n.compare) return n.compare(ue(t, n), ue(e, n));
|
|
879
936
|
const i = ue(t, n), o = ue(e, n);
|
|
880
937
|
if (n.type.kind === "date") {
|
|
881
|
-
const s = typeof i == "string" ? new Date(i).getTime() : 0,
|
|
882
|
-
return s -
|
|
938
|
+
const s = typeof i == "string" ? new Date(i).getTime() : 0, c = typeof o == "string" ? new Date(o).getTime() : 0;
|
|
939
|
+
return s - c;
|
|
883
940
|
}
|
|
884
941
|
if (n.type.kind === "number") {
|
|
885
|
-
const s = typeof i == "number" ? i : Number(i ?? 0),
|
|
886
|
-
return s -
|
|
942
|
+
const s = typeof i == "number" ? i : Number(i ?? 0), c = typeof o == "number" ? o : Number(o ?? 0);
|
|
943
|
+
return s - c;
|
|
887
944
|
}
|
|
888
945
|
if (n.type.kind === "enum" || n.type.kind === "enum-multi") {
|
|
889
|
-
const [s] = de(t, n), [
|
|
890
|
-
return
|
|
946
|
+
const [s] = de(t, n), [c] = de(e, n);
|
|
947
|
+
return wt(s, c, n.type);
|
|
891
948
|
}
|
|
892
949
|
const r = typeof i == "string" ? i : String(i ?? ""), l = typeof o == "string" ? o : String(o ?? "");
|
|
893
950
|
return r.localeCompare(l, void 0, {
|
|
894
951
|
numeric: !0
|
|
895
952
|
});
|
|
896
|
-
},
|
|
953
|
+
}, zi = (t, e, n) => {
|
|
897
954
|
if (e.attributeId === se) return t;
|
|
898
955
|
if (e.attributeId === "title")
|
|
899
|
-
return [...t].sort((o, r) =>
|
|
956
|
+
return [...t].sort((o, r) => gt(o.title.localeCompare(r.title), e.direction));
|
|
900
957
|
const i = ae(n, e.attributeId);
|
|
901
|
-
return i ? [...t].sort((o, r) =>
|
|
902
|
-
},
|
|
958
|
+
return i ? [...t].sort((o, r) => gt(Mn(o, r, i), e.direction)) : t;
|
|
959
|
+
}, Mi = (t, e) => {
|
|
903
960
|
const {
|
|
904
961
|
attributes: n,
|
|
905
962
|
columnGrouping: i,
|
|
906
963
|
rowGrouping: o,
|
|
907
964
|
knownColumnKeys: r
|
|
908
|
-
} = e, l = ae(n, i), s = ae(n, o),
|
|
965
|
+
} = e, l = ae(n, i), s = ae(n, o), c = /* @__PURE__ */ new Map();
|
|
909
966
|
if (r)
|
|
910
|
-
for (const d of r)
|
|
967
|
+
for (const d of r) c.set(d, []);
|
|
911
968
|
for (const d of t) {
|
|
912
|
-
const f =
|
|
913
|
-
|
|
969
|
+
const f = dt(d, l, i);
|
|
970
|
+
c.set(f, [...c.get(f) ?? [], d]);
|
|
914
971
|
}
|
|
915
|
-
return [...
|
|
916
|
-
const
|
|
972
|
+
return [...c.entries()].sort(([d], [f]) => ft(d, f, l)).map(([d, f]) => {
|
|
973
|
+
const p = ct(d, l);
|
|
917
974
|
if (o === W)
|
|
918
975
|
return {
|
|
919
976
|
key: d,
|
|
920
|
-
label:
|
|
977
|
+
label: p,
|
|
921
978
|
rows: f,
|
|
922
979
|
subgroups: []
|
|
923
980
|
};
|
|
924
981
|
const g = /* @__PURE__ */ new Map();
|
|
925
|
-
for (const
|
|
926
|
-
const v =
|
|
927
|
-
g.set(v, [...g.get(v) ?? [],
|
|
982
|
+
for (const b of f) {
|
|
983
|
+
const v = dt(b, s, o);
|
|
984
|
+
g.set(v, [...g.get(v) ?? [], b]);
|
|
928
985
|
}
|
|
929
|
-
const
|
|
930
|
-
key:
|
|
931
|
-
label:
|
|
986
|
+
const m = [...g.entries()].sort(([b], [v]) => ft(b, v, s)).map(([b, v]) => ({
|
|
987
|
+
key: b,
|
|
988
|
+
label: ct(b, s) || ke(b || Bn),
|
|
932
989
|
rows: v
|
|
933
990
|
}));
|
|
934
991
|
return {
|
|
935
992
|
key: d,
|
|
936
|
-
label:
|
|
993
|
+
label: p,
|
|
937
994
|
rows: f,
|
|
938
|
-
subgroups:
|
|
995
|
+
subgroups: m
|
|
939
996
|
};
|
|
940
997
|
});
|
|
941
|
-
},
|
|
942
|
-
const i = de(t, e), o =
|
|
998
|
+
}, jn = (t, e, n) => {
|
|
999
|
+
const i = de(t, e), o = Je(e, n);
|
|
943
1000
|
return i.some((r) => o.includes(r));
|
|
944
|
-
},
|
|
1001
|
+
}, ji = (t, e, n) => {
|
|
945
1002
|
const i = Object.entries(e).filter((o) => Array.isArray(o[1]) && o[1].length > 0);
|
|
946
1003
|
return i.length === 0 ? t : t.filter((o) => i.every(([r, l]) => {
|
|
947
1004
|
const s = ae(n, r);
|
|
948
|
-
return s ?
|
|
1005
|
+
return s ? jn(o, s, l) : !0;
|
|
949
1006
|
}));
|
|
950
|
-
},
|
|
1007
|
+
}, Wn = (t, e, n) => {
|
|
951
1008
|
const i = {}, o = ae(n, e);
|
|
952
1009
|
if (!o) return i;
|
|
953
1010
|
for (const r of t)
|
|
954
1011
|
for (const l of de(r, o))
|
|
955
1012
|
i[l] = (i[l] ?? 0) + 1;
|
|
956
1013
|
return i;
|
|
957
|
-
},
|
|
1014
|
+
}, Kn = (t) => {
|
|
958
1015
|
let e = t.length + 1;
|
|
959
1016
|
for (; t.some((n) => n.id === `view-${e.toString()}`); ) e += 1;
|
|
960
1017
|
return {
|
|
961
1018
|
id: `view-${e.toString()}`,
|
|
962
1019
|
title: `View ${e.toString()}`
|
|
963
1020
|
};
|
|
964
|
-
},
|
|
1021
|
+
}, Xn = (t, e) => {
|
|
965
1022
|
const n = `${t.id}-copy`;
|
|
966
1023
|
let i = 1, o = n;
|
|
967
1024
|
for (; e.some((r) => r.id === o); )
|
|
@@ -970,145 +1027,145 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
970
1027
|
id: o,
|
|
971
1028
|
title: `${t.title} copy`
|
|
972
1029
|
};
|
|
973
|
-
},
|
|
974
|
-
const e =
|
|
1030
|
+
}, Un = (t, e) => e.map((n) => t?.options.find((i) => i.value === n)?.label ?? n).join(", "), Hn = (t) => {
|
|
1031
|
+
const e = J(17), {
|
|
975
1032
|
category: n,
|
|
976
1033
|
values: i,
|
|
977
1034
|
onRemove: o
|
|
978
1035
|
} = t, r = n?.label ?? "Filter", l = i.length > 1 ? "is any of" : "is";
|
|
979
1036
|
let s;
|
|
980
|
-
e[0] !== r || e[1] !== l ? (s = /* @__PURE__ */
|
|
1037
|
+
e[0] !== r || e[1] !== l ? (s = /* @__PURE__ */ y(q, { textStyle: "label/XS", color: "fg.muted", children: [
|
|
981
1038
|
r,
|
|
982
1039
|
" ",
|
|
983
1040
|
l
|
|
984
1041
|
] }), e[0] = r, e[1] = l, e[2] = s) : s = e[2];
|
|
985
|
-
let u;
|
|
986
|
-
e[3] !== n || e[4] !== i ? (u = Wn(n, i), e[3] = n, e[4] = i, e[5] = u) : u = e[5];
|
|
987
1042
|
let c;
|
|
988
|
-
e[
|
|
1043
|
+
e[3] !== n || e[4] !== i ? (c = Un(n, i), e[3] = n, e[4] = i, e[5] = c) : c = e[5];
|
|
1044
|
+
let u;
|
|
1045
|
+
e[6] !== c ? (u = /* @__PURE__ */ a(q, { textStyle: "label/XS/medium", maxW: "12rem", truncate: !0, children: c }), e[6] = c, e[7] = u) : u = e[7];
|
|
989
1046
|
const d = `Remove ${r} filter`;
|
|
990
1047
|
let f;
|
|
991
1048
|
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = {
|
|
992
1049
|
color: "fg",
|
|
993
1050
|
bg: "bg.hover"
|
|
994
1051
|
}, e[8] = f) : f = e[8];
|
|
995
|
-
let m;
|
|
996
|
-
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ a(Q, { as: Bt, boxSize: "0.75rem" }), e[9] = m) : m = e[9];
|
|
997
|
-
let g;
|
|
998
|
-
e[10] !== o || e[11] !== d ? (g = /* @__PURE__ */ a(Ot.button, { type: "button", "aria-label": d, display: "flex", alignItems: "center", justifyContent: "center", width: "1rem", height: "1rem", color: "fg.muted", borderRadius: "xs", _hover: f, onClick: o, children: m }), e[10] = o, e[11] = d, e[12] = g) : g = e[12];
|
|
999
1052
|
let p;
|
|
1000
|
-
|
|
1053
|
+
e[9] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ a(Q, { as: Mt, boxSize: "0.75rem" }), e[9] = p) : p = e[9];
|
|
1054
|
+
let g;
|
|
1055
|
+
e[10] !== o || e[11] !== d ? (g = /* @__PURE__ */ a(_t.button, { type: "button", "aria-label": d, display: "flex", alignItems: "center", justifyContent: "center", width: "1rem", height: "1rem", color: "fg.muted", borderRadius: "xs", _hover: f, onClick: o, children: p }), e[10] = o, e[11] = d, e[12] = g) : g = e[12];
|
|
1056
|
+
let m;
|
|
1057
|
+
return e[13] !== s || e[14] !== u || e[15] !== g ? (m = /* @__PURE__ */ y(H, { height: "filter-pill", gap: "2xs", paddingLeft: "xs", paddingRight: "2xs", borderWidth: "1px", borderColor: "border.subtle", borderRadius: "xs", bg: "bg.muted", flexShrink: 0, children: [
|
|
1001
1058
|
s,
|
|
1002
|
-
|
|
1059
|
+
u,
|
|
1003
1060
|
g
|
|
1004
|
-
] }), e[13] = s, e[14] =
|
|
1005
|
-
},
|
|
1006
|
-
const e =
|
|
1061
|
+
] }), e[13] = s, e[14] = u, e[15] = g, e[16] = m) : m = e[16], m;
|
|
1062
|
+
}, qn = (t) => {
|
|
1063
|
+
const e = J(28), {
|
|
1007
1064
|
open: n,
|
|
1008
1065
|
title: i,
|
|
1009
1066
|
onOpenChange: o,
|
|
1010
1067
|
onRename: r
|
|
1011
1068
|
} = t, [l, s] = xe(i);
|
|
1012
|
-
let
|
|
1013
|
-
e[0] !== o || e[1] !== r || e[2] !== l ? (
|
|
1069
|
+
let c;
|
|
1070
|
+
e[0] !== o || e[1] !== r || e[2] !== l ? (c = (P) => {
|
|
1014
1071
|
P.preventDefault();
|
|
1015
1072
|
const x = l.trim();
|
|
1016
1073
|
x && (r(x), o(!1));
|
|
1017
|
-
}, e[0] = o, e[1] = r, e[2] = l, e[3] =
|
|
1018
|
-
const
|
|
1074
|
+
}, e[0] = o, e[1] = r, e[2] = l, e[3] = c) : c = e[3];
|
|
1075
|
+
const u = c;
|
|
1019
1076
|
let d;
|
|
1020
1077
|
e[4] !== o ? (d = (P) => o(P.open), e[4] = o, e[5] = d) : d = e[5];
|
|
1021
1078
|
let f;
|
|
1022
1079
|
e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = /* @__PURE__ */ a(oe.Backdrop, {}), e[6] = f) : f = e[6];
|
|
1023
|
-
let
|
|
1024
|
-
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (
|
|
1080
|
+
let p;
|
|
1081
|
+
e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ a(oe.Header, { children: /* @__PURE__ */ a(oe.Title, { children: "Rename view" }) }), e[7] = p) : p = e[7];
|
|
1025
1082
|
let g;
|
|
1026
1083
|
e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = (P) => s(P.target.value), e[8] = g) : g = e[8];
|
|
1027
|
-
let
|
|
1028
|
-
e[9] !== l ? (
|
|
1029
|
-
let
|
|
1030
|
-
e[11] !== o ? (
|
|
1084
|
+
let m;
|
|
1085
|
+
e[9] !== l ? (m = /* @__PURE__ */ a(oe.Body, { children: /* @__PURE__ */ a(pt, { autoFocus: !0, "aria-label": "View name", value: l, onChange: g }) }), e[9] = l, e[10] = m) : m = e[10];
|
|
1086
|
+
let b;
|
|
1087
|
+
e[11] !== o ? (b = /* @__PURE__ */ a(Z, { variant: "ghost", onClick: () => o(!1), children: "Cancel" }), e[11] = o, e[12] = b) : b = e[12];
|
|
1031
1088
|
let v;
|
|
1032
1089
|
e[13] !== l ? (v = l.trim(), e[13] = l, e[14] = v) : v = e[14];
|
|
1033
1090
|
const S = !v;
|
|
1034
|
-
let A;
|
|
1035
|
-
e[15] !== S ? (A = /* @__PURE__ */ a(Z, { type: "submit", variant: "primary", disabled: S, children: "Rename" }), e[15] = S, e[16] = A) : A = e[16];
|
|
1036
1091
|
let I;
|
|
1037
|
-
e[
|
|
1038
|
-
|
|
1039
|
-
|
|
1040
|
-
|
|
1092
|
+
e[15] !== S ? (I = /* @__PURE__ */ a(Z, { type: "submit", variant: "primary", disabled: S, children: "Rename" }), e[15] = S, e[16] = I) : I = e[16];
|
|
1093
|
+
let A;
|
|
1094
|
+
e[17] !== b || e[18] !== I ? (A = /* @__PURE__ */ y(oe.Footer, { children: [
|
|
1095
|
+
b,
|
|
1096
|
+
I
|
|
1097
|
+
] }), e[17] = b, e[18] = I, e[19] = A) : A = e[19];
|
|
1041
1098
|
let _;
|
|
1042
|
-
e[20] !==
|
|
1043
|
-
m,
|
|
1099
|
+
e[20] !== u || e[21] !== A || e[22] !== m ? (_ = /* @__PURE__ */ a(oe.Positioner, { children: /* @__PURE__ */ a(oe.Content, { asChild: !0, children: /* @__PURE__ */ y("form", { onSubmit: u, children: [
|
|
1044
1100
|
p,
|
|
1045
|
-
|
|
1046
|
-
|
|
1101
|
+
m,
|
|
1102
|
+
A
|
|
1103
|
+
] }) }) }), e[20] = u, e[21] = A, e[22] = m, e[23] = _) : _ = e[23];
|
|
1047
1104
|
let w;
|
|
1048
|
-
return e[24] !== n || e[25] !== d || e[26] !== _ ? (w = /* @__PURE__ */
|
|
1105
|
+
return e[24] !== n || e[25] !== d || e[26] !== _ ? (w = /* @__PURE__ */ y(oe.Root, { open: n, onOpenChange: d, children: [
|
|
1049
1106
|
f,
|
|
1050
1107
|
_
|
|
1051
1108
|
] }), e[24] = n, e[25] = d, e[26] = _, e[27] = w) : w = e[27], w;
|
|
1052
|
-
},
|
|
1053
|
-
const e =
|
|
1109
|
+
}, Jn = (t) => {
|
|
1110
|
+
const e = J(53), {
|
|
1054
1111
|
storageKey: n,
|
|
1055
1112
|
categories: i,
|
|
1056
1113
|
filters: o,
|
|
1057
1114
|
leading: r,
|
|
1058
1115
|
filterControl: l,
|
|
1059
1116
|
displayControl: s,
|
|
1060
|
-
align:
|
|
1061
|
-
} = t,
|
|
1117
|
+
align: c
|
|
1118
|
+
} = t, u = c === void 0 ? "split" : c, d = D(n, Yn), f = D(n, Qn), p = D(n, Pn), g = D(n, Zn), m = D(n, ei), b = D(n, ti), v = D(n, ni), S = D(n, ii), I = D(n, ri), A = D(n, oi), _ = D(n, li), [w, P] = xe();
|
|
1062
1119
|
let x;
|
|
1063
|
-
e[0] !== o ? (x = Object.entries(o).filter(
|
|
1064
|
-
const
|
|
1065
|
-
let
|
|
1066
|
-
e[2] !== _ || e[3] !==
|
|
1120
|
+
e[0] !== o ? (x = Object.entries(o).filter(si), e[0] = o, e[1] = x) : x = e[1];
|
|
1121
|
+
const M = x, K = p || M.length > 0;
|
|
1122
|
+
let T;
|
|
1123
|
+
e[2] !== _ || e[3] !== A || e[4] !== d ? (T = (h) => [{
|
|
1067
1124
|
key: "rename",
|
|
1068
1125
|
label: "Rename",
|
|
1069
|
-
icon: /* @__PURE__ */ a(Q, { as:
|
|
1070
|
-
onClick: () => P(
|
|
1126
|
+
icon: /* @__PURE__ */ a(Q, { as: jt, boxSize: "0.875rem" }),
|
|
1127
|
+
onClick: () => P(h)
|
|
1071
1128
|
}, {
|
|
1072
1129
|
key: "duplicate",
|
|
1073
1130
|
label: "Duplicate",
|
|
1074
|
-
icon: /* @__PURE__ */ a(Q, { as:
|
|
1075
|
-
onClick: () =>
|
|
1131
|
+
icon: /* @__PURE__ */ a(Q, { as: Wt, boxSize: "0.875rem" }),
|
|
1132
|
+
onClick: () => A(h.id, Xn(h, d))
|
|
1076
1133
|
}, {
|
|
1077
1134
|
key: "delete",
|
|
1078
1135
|
label: "Delete view",
|
|
1079
|
-
icon: /* @__PURE__ */ a(Q, { as:
|
|
1136
|
+
icon: /* @__PURE__ */ a(Q, { as: Kt, boxSize: "0.875rem" }),
|
|
1080
1137
|
isDisabled: d.length === 1,
|
|
1081
1138
|
separatorBefore: !0,
|
|
1082
|
-
onClick: () => _(
|
|
1083
|
-
}], e[2] = _, e[3] =
|
|
1084
|
-
const O =
|
|
1139
|
+
onClick: () => _(h.id)
|
|
1140
|
+
}], e[2] = _, e[3] = A, e[4] = d, e[5] = T) : T = e[5];
|
|
1141
|
+
const O = T;
|
|
1085
1142
|
let L;
|
|
1086
|
-
e[6] !== g ? (L = (
|
|
1143
|
+
e[6] !== g ? (L = (h) => g(h.value), e[6] = g, e[7] = L) : L = e[7];
|
|
1087
1144
|
let G;
|
|
1088
|
-
if (e[8] !== O || e[9] !== f || e[10] !==
|
|
1089
|
-
let
|
|
1090
|
-
e[13] !== O || e[14] !== f || e[15] !==
|
|
1145
|
+
if (e[8] !== O || e[9] !== f || e[10] !== p || e[11] !== d) {
|
|
1146
|
+
let h;
|
|
1147
|
+
e[13] !== O || e[14] !== f || e[15] !== p ? (h = (V) => /* @__PURE__ */ a(Qt, { actions: O(V), positioning: {
|
|
1091
1148
|
placement: "bottom-start"
|
|
1092
|
-
}, children: /* @__PURE__ */
|
|
1149
|
+
}, children: /* @__PURE__ */ y(Le.Trigger, { value: V.id, children: [
|
|
1093
1150
|
V.title,
|
|
1094
|
-
|
|
1095
|
-
] }) }, V.id), e[13] = O, e[14] = f, e[15] =
|
|
1151
|
+
p && V.id === f ? /* @__PURE__ */ a(Ne, { "aria-label": "Unsaved view changes", width: "0.375rem", height: "0.375rem", borderRadius: "full", bg: "fg.warning" }) : null
|
|
1152
|
+
] }) }, V.id), e[13] = O, e[14] = f, e[15] = p, e[16] = h) : h = e[16], G = d.map(h), e[8] = O, e[9] = f, e[10] = p, e[11] = d, e[12] = G;
|
|
1096
1153
|
} else
|
|
1097
1154
|
G = e[12];
|
|
1098
1155
|
let R;
|
|
1099
|
-
e[17] !== G ? (R = /* @__PURE__ */ a(
|
|
1156
|
+
e[17] !== G ? (R = /* @__PURE__ */ a(Le.List, { overflowX: "auto", overflowY: "hidden", children: G }), e[17] = G, e[18] = R) : R = e[18];
|
|
1100
1157
|
let F;
|
|
1101
|
-
e[19] !== f || e[20] !== L || e[21] !== R ? (F = /* @__PURE__ */ a(
|
|
1102
|
-
let
|
|
1103
|
-
e[23] !==
|
|
1158
|
+
e[19] !== f || e[20] !== L || e[21] !== R ? (F = /* @__PURE__ */ a(Le.Root, { value: f, size: "sm", variant: "subtle", minW: "0", overflow: "hidden", onValueChange: L, children: R }), e[19] = f, e[20] = L, e[21] = R, e[22] = F) : F = e[22];
|
|
1159
|
+
let $;
|
|
1160
|
+
e[23] !== m || e[24] !== d ? ($ = () => m(Kn(d)), e[23] = m, e[24] = d, e[25] = $) : $ = e[25];
|
|
1104
1161
|
let C;
|
|
1105
|
-
e[26] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ a(Q, { as:
|
|
1162
|
+
e[26] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ a(Q, { as: Xt }), e[26] = C) : C = e[26];
|
|
1106
1163
|
let j;
|
|
1107
|
-
e[27] !==
|
|
1164
|
+
e[27] !== $ ? (j = /* @__PURE__ */ a(Ue, { content: "Add view", children: /* @__PURE__ */ a(Ke, { "aria-label": "Add view", size: "2xs", variant: "ghost", onClick: $, children: C }) }), e[27] = $, e[28] = j) : j = e[28];
|
|
1108
1165
|
let N;
|
|
1109
|
-
e[29] !==
|
|
1166
|
+
e[29] !== u ? (N = u === "split" ? /* @__PURE__ */ a(Ne, { flex: "1" }) : null, e[29] = u, e[30] = N) : N = e[30];
|
|
1110
1167
|
let X;
|
|
1111
|
-
e[31] !== s || e[32] !== l || e[33] !== r || e[34] !== N || e[35] !== F || e[36] !== j ? (X = /* @__PURE__ */
|
|
1168
|
+
e[31] !== s || e[32] !== l || e[33] !== r || e[34] !== N || e[35] !== F || e[36] !== j ? (X = /* @__PURE__ */ y(H, { height: "view-bar", minW: "0", gap: "2xs", paddingX: "xs", children: [
|
|
1112
1169
|
r,
|
|
1113
1170
|
F,
|
|
1114
1171
|
j,
|
|
@@ -1117,200 +1174,201 @@ const W = "none", se = "manual", Ue = (t) => !Array.isArray(t), Gi = (t) => !Arr
|
|
|
1117
1174
|
s
|
|
1118
1175
|
] }), e[31] = s, e[32] = l, e[33] = r, e[34] = N, e[35] = F, e[36] = j, e[37] = X) : X = e[37];
|
|
1119
1176
|
let B;
|
|
1120
|
-
e[38] !==
|
|
1121
|
-
/* @__PURE__ */ a(H, { minW: "0", gap: "2xs", overflowX: "auto", children:
|
|
1122
|
-
const [V,
|
|
1123
|
-
return /* @__PURE__ */ a(
|
|
1177
|
+
e[38] !== M || e[39] !== i || e[40] !== S || e[41] !== p || e[42] !== v || e[43] !== b || e[44] !== K ? (B = K ? /* @__PURE__ */ y(H, { height: "view-subheader", minW: "0", gap: "2xs", paddingX: "xs", borderTopWidth: "1px", borderColor: "border.subtle", children: [
|
|
1178
|
+
/* @__PURE__ */ a(H, { minW: "0", gap: "2xs", overflowX: "auto", children: M.map((h) => {
|
|
1179
|
+
const [V, Y] = h;
|
|
1180
|
+
return /* @__PURE__ */ a(Hn, { category: i.find((te) => te.id === V), values: Y, onRemove: () => S(V) }, V);
|
|
1124
1181
|
}) }),
|
|
1125
|
-
/* @__PURE__ */ a(
|
|
1126
|
-
|
|
1127
|
-
/* @__PURE__ */
|
|
1128
|
-
/* @__PURE__ */ a(
|
|
1182
|
+
/* @__PURE__ */ a(Ne, { flex: "1" }),
|
|
1183
|
+
p ? /* @__PURE__ */ y(De, { children: [
|
|
1184
|
+
/* @__PURE__ */ y(Z, { size: "2xs", variant: "outline", onClick: v, children: [
|
|
1185
|
+
/* @__PURE__ */ a(zt, {}),
|
|
1129
1186
|
"Reset"
|
|
1130
1187
|
] }),
|
|
1131
|
-
/* @__PURE__ */ a(Z, { size: "2xs", variant: "primary", onClick:
|
|
1188
|
+
/* @__PURE__ */ a(Z, { size: "2xs", variant: "primary", onClick: b, children: "Save view" })
|
|
1132
1189
|
] }) : null
|
|
1133
|
-
] }) : null, e[38] =
|
|
1190
|
+
] }) : null, e[38] = M, e[39] = i, e[40] = S, e[41] = p, e[42] = v, e[43] = b, e[44] = K, e[45] = B) : B = e[45];
|
|
1134
1191
|
let E;
|
|
1135
|
-
e[46] !== w || e[47] !==
|
|
1136
|
-
let
|
|
1137
|
-
return e[49] !== X || e[50] !== B || e[51] !== E ? (
|
|
1192
|
+
e[46] !== w || e[47] !== I ? (E = w ? /* @__PURE__ */ a(qn, { open: !0, title: w.title, onOpenChange: (h) => !h && P(void 0), onRename: (h) => I(w.id, h) }, w.id) : null, e[46] = w, e[47] = I, e[48] = E) : E = e[48];
|
|
1193
|
+
let z;
|
|
1194
|
+
return e[49] !== X || e[50] !== B || e[51] !== E ? (z = /* @__PURE__ */ y(We, { "data-testid": "kanban-renderer-header", gap: "0", flexShrink: 0, borderBottomWidth: "1px", borderColor: "border.subtle", children: [
|
|
1138
1195
|
X,
|
|
1139
1196
|
B,
|
|
1140
1197
|
E
|
|
1141
|
-
] }), e[49] = X, e[50] = B, e[51] = E, e[52] =
|
|
1198
|
+
] }), e[49] = X, e[50] = B, e[51] = E, e[52] = z) : z = e[52], z;
|
|
1142
1199
|
};
|
|
1143
|
-
function
|
|
1200
|
+
function Yn(t) {
|
|
1144
1201
|
return t.views;
|
|
1145
1202
|
}
|
|
1146
|
-
function
|
|
1203
|
+
function Qn(t) {
|
|
1147
1204
|
return t.activeViewId;
|
|
1148
1205
|
}
|
|
1149
|
-
function
|
|
1206
|
+
function Zn(t) {
|
|
1150
1207
|
return t.activateView;
|
|
1151
1208
|
}
|
|
1152
|
-
function
|
|
1209
|
+
function ei(t) {
|
|
1153
1210
|
return t.createView;
|
|
1154
1211
|
}
|
|
1155
|
-
function
|
|
1212
|
+
function ti(t) {
|
|
1156
1213
|
return t.saveActiveView;
|
|
1157
1214
|
}
|
|
1158
|
-
function
|
|
1215
|
+
function ni(t) {
|
|
1159
1216
|
return t.resetActiveView;
|
|
1160
1217
|
}
|
|
1161
|
-
function
|
|
1218
|
+
function ii(t) {
|
|
1162
1219
|
return t.clearFilter;
|
|
1163
1220
|
}
|
|
1164
|
-
function
|
|
1221
|
+
function ri(t) {
|
|
1165
1222
|
return t.renameView;
|
|
1166
1223
|
}
|
|
1167
|
-
function
|
|
1224
|
+
function oi(t) {
|
|
1168
1225
|
return t.duplicateView;
|
|
1169
1226
|
}
|
|
1170
|
-
function
|
|
1227
|
+
function li(t) {
|
|
1171
1228
|
return t.deleteView;
|
|
1172
1229
|
}
|
|
1173
|
-
function
|
|
1230
|
+
function si(t) {
|
|
1174
1231
|
const [, e] = t;
|
|
1175
1232
|
return e.length > 0;
|
|
1176
1233
|
}
|
|
1177
|
-
const
|
|
1234
|
+
const ai = (t) => {
|
|
1178
1235
|
const e = [];
|
|
1179
1236
|
for (const n of t)
|
|
1180
|
-
n.type.kind !== "enum" && n.type.kind !== "enum-multi" ||
|
|
1237
|
+
n.type.kind !== "enum" && n.type.kind !== "enum-multi" || He(n.type.options) && e.push(n.type.options);
|
|
1181
1238
|
return e;
|
|
1182
|
-
},
|
|
1239
|
+
}, ci = (t) => t.map((e) => e.type.kind !== "enum" && e.type.kind !== "enum-multi" || !He(e.type.options) ? e : {
|
|
1183
1240
|
...e,
|
|
1184
1241
|
type: {
|
|
1185
1242
|
...e.type,
|
|
1186
1243
|
options: e.type.options.getSnapshot()
|
|
1187
1244
|
}
|
|
1188
|
-
}),
|
|
1189
|
-
const e =
|
|
1245
|
+
}), ui = (t) => {
|
|
1246
|
+
const e = J(7), [, n] = qt(di, 0);
|
|
1190
1247
|
let i;
|
|
1191
1248
|
e[0] !== t || e[1] !== n ? (i = () => {
|
|
1192
|
-
const l =
|
|
1249
|
+
const l = ai(t);
|
|
1193
1250
|
if (l.length === 0)
|
|
1194
1251
|
return;
|
|
1195
|
-
const s = () => n(),
|
|
1252
|
+
const s = () => n(), c = l.map((u) => u.subscribe(s));
|
|
1196
1253
|
return () => {
|
|
1197
|
-
for (const
|
|
1198
|
-
|
|
1254
|
+
for (const u of c)
|
|
1255
|
+
u();
|
|
1199
1256
|
};
|
|
1200
1257
|
}, e[0] = t, e[1] = n, e[2] = i) : i = e[2];
|
|
1201
1258
|
let o;
|
|
1202
|
-
e[3] !== t ? (o = [t], e[3] = t, e[4] = o) : o = e[4],
|
|
1259
|
+
e[3] !== t ? (o = [t], e[3] = t, e[4] = o) : o = e[4], Xe(i, o);
|
|
1203
1260
|
let r;
|
|
1204
|
-
return e[5] !== t ? (r =
|
|
1261
|
+
return e[5] !== t ? (r = ci(t), e[5] = t, e[6] = r) : r = e[6], r;
|
|
1205
1262
|
};
|
|
1206
|
-
function
|
|
1263
|
+
function di(t) {
|
|
1207
1264
|
return t + 1;
|
|
1208
1265
|
}
|
|
1209
|
-
const
|
|
1210
|
-
const e =
|
|
1266
|
+
const Wi = (t) => {
|
|
1267
|
+
const e = J(42), {
|
|
1211
1268
|
rows: n,
|
|
1212
1269
|
storageKey: i,
|
|
1213
1270
|
attributes: o,
|
|
1214
1271
|
defaultSettings: r,
|
|
1215
1272
|
defaultFilters: l,
|
|
1216
1273
|
defaultViews: s,
|
|
1217
|
-
defaultActiveViewId:
|
|
1218
|
-
leading:
|
|
1274
|
+
defaultActiveViewId: c,
|
|
1275
|
+
leading: u,
|
|
1219
1276
|
displayControl: d,
|
|
1220
1277
|
align: f
|
|
1221
|
-
} = t,
|
|
1222
|
-
let
|
|
1223
|
-
e[0] !== g ? (
|
|
1224
|
-
const
|
|
1278
|
+
} = t, p = f === void 0 ? "split" : f, g = ui(o);
|
|
1279
|
+
let m;
|
|
1280
|
+
e[0] !== g ? (m = Sn(g), e[0] = g, e[1] = m) : m = e[1];
|
|
1281
|
+
const b = m;
|
|
1225
1282
|
let v;
|
|
1226
|
-
e[2] !== g ? (v =
|
|
1283
|
+
e[2] !== g ? (v = xn(g), e[2] = g, e[3] = v) : v = e[3];
|
|
1227
1284
|
const S = v;
|
|
1228
|
-
let
|
|
1229
|
-
e[4] !== g ? (
|
|
1230
|
-
const
|
|
1285
|
+
let I;
|
|
1286
|
+
e[4] !== g ? (I = Cn(g), e[4] = g, e[5] = I) : I = e[5];
|
|
1287
|
+
const A = I;
|
|
1231
1288
|
let _;
|
|
1232
|
-
e[6] !==
|
|
1289
|
+
e[6] !== c || e[7] !== l || e[8] !== r || e[9] !== s ? (_ = {
|
|
1233
1290
|
settings: r,
|
|
1234
1291
|
filters: l,
|
|
1235
1292
|
views: s,
|
|
1236
|
-
activeViewId:
|
|
1237
|
-
}, e[6] =
|
|
1238
|
-
const w = _, P = D(i,
|
|
1293
|
+
activeViewId: c
|
|
1294
|
+
}, e[6] = c, e[7] = l, e[8] = r, e[9] = s, e[10] = _) : _ = e[10];
|
|
1295
|
+
const w = _, P = D(i, fi, w), x = D(i, gi, w), M = D(i, mi, w), K = D(i, pi, w), T = D(i, bi, w), O = D(i, hi, w), L = D(i, yi, w), G = D(i, vi, w), R = D(i, wi, w), F = D(i, Si, w), $ = D(i, xi, w);
|
|
1239
1296
|
let C, j;
|
|
1240
|
-
e[11] !== g || e[12] !== n ? (C =
|
|
1297
|
+
e[11] !== g || e[12] !== n ? (C = wn(g, n), j = Object.fromEntries(C.map((V) => [V.id, Wn(n, V.id, g)])), e[11] = g, e[12] = n, e[13] = C, e[14] = j) : (C = e[13], j = e[14]);
|
|
1241
1298
|
const N = j;
|
|
1242
1299
|
let X;
|
|
1243
|
-
e[15] !== C || e[16] !==
|
|
1300
|
+
e[15] !== C || e[16] !== $ || e[17] !== F || e[18] !== N || e[19] !== x || e[20] !== R ? (X = /* @__PURE__ */ a(Nn, { categories: C, filters: x, countsByCategory: N, onToggleFilterValue: R, onClearFilter: F, onClearAll: $ }), e[15] = C, e[16] = $, e[17] = F, e[18] = N, e[19] = x, e[20] = R, e[21] = X) : X = e[21];
|
|
1244
1301
|
const B = X;
|
|
1245
1302
|
let E;
|
|
1246
|
-
e[22] !== d || e[23] !==
|
|
1247
|
-
const
|
|
1248
|
-
let
|
|
1249
|
-
return e[34] !==
|
|
1303
|
+
e[22] !== d || e[23] !== A || e[24] !== b || e[25] !== S || e[26] !== K || e[27] !== O || e[28] !== T || e[29] !== M || e[30] !== P || e[31] !== G || e[32] !== L ? (E = d === void 0 ? /* @__PURE__ */ a(Fn, { settings: P, groupingOptions: b, orderingOptions: S, displayPropertyOptions: A, onViewModeChange: M, onColumnGroupingChange: K, onRowGroupingChange: T, onOrderingAttributeIdChange: O, onSortDirectionToggle: L, onDisplayPropertyToggle: G }) : d, e[22] = d, e[23] = A, e[24] = b, e[25] = S, e[26] = K, e[27] = O, e[28] = T, e[29] = M, e[30] = P, e[31] = G, e[32] = L, e[33] = E) : E = e[33];
|
|
1304
|
+
const z = E;
|
|
1305
|
+
let h;
|
|
1306
|
+
return e[34] !== p || e[35] !== C || e[36] !== B || e[37] !== x || e[38] !== u || e[39] !== z || e[40] !== i ? (h = /* @__PURE__ */ a(Jn, { storageKey: i, categories: C, filters: x, leading: u, filterControl: B, displayControl: z, align: p }), e[34] = p, e[35] = C, e[36] = B, e[37] = x, e[38] = u, e[39] = z, e[40] = i, e[41] = h) : h = e[41], h;
|
|
1250
1307
|
};
|
|
1251
|
-
function
|
|
1308
|
+
function fi(t) {
|
|
1252
1309
|
return t.settings;
|
|
1253
1310
|
}
|
|
1254
|
-
function
|
|
1311
|
+
function gi(t) {
|
|
1255
1312
|
return t.filters;
|
|
1256
1313
|
}
|
|
1257
|
-
function
|
|
1314
|
+
function mi(t) {
|
|
1258
1315
|
return t.setViewMode;
|
|
1259
1316
|
}
|
|
1260
|
-
function
|
|
1317
|
+
function pi(t) {
|
|
1261
1318
|
return t.setColumnGrouping;
|
|
1262
1319
|
}
|
|
1263
|
-
function
|
|
1320
|
+
function bi(t) {
|
|
1264
1321
|
return t.setRowGrouping;
|
|
1265
1322
|
}
|
|
1266
|
-
function
|
|
1323
|
+
function hi(t) {
|
|
1267
1324
|
return t.setOrderingAttributeId;
|
|
1268
1325
|
}
|
|
1269
|
-
function
|
|
1326
|
+
function yi(t) {
|
|
1270
1327
|
return t.toggleSortDirection;
|
|
1271
1328
|
}
|
|
1272
|
-
function
|
|
1329
|
+
function vi(t) {
|
|
1273
1330
|
return t.toggleDisplayProperty;
|
|
1274
1331
|
}
|
|
1275
|
-
function
|
|
1332
|
+
function wi(t) {
|
|
1276
1333
|
return t.toggleFilterValue;
|
|
1277
1334
|
}
|
|
1278
|
-
function
|
|
1335
|
+
function Si(t) {
|
|
1279
1336
|
return t.clearFilter;
|
|
1280
1337
|
}
|
|
1281
|
-
function
|
|
1338
|
+
function xi(t) {
|
|
1282
1339
|
return t.clearAllFilters;
|
|
1283
1340
|
}
|
|
1284
1341
|
export {
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
|
|
1342
|
+
Fn as D,
|
|
1343
|
+
Nn as F,
|
|
1344
|
+
Wi as K,
|
|
1288
1345
|
se as M,
|
|
1289
1346
|
W as N,
|
|
1290
|
-
|
|
1347
|
+
$i as a,
|
|
1291
1348
|
ae as b,
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1349
|
+
Ei as c,
|
|
1350
|
+
qe as d,
|
|
1351
|
+
ui as e,
|
|
1352
|
+
ji as f,
|
|
1296
1353
|
ee as g,
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
|
-
|
|
1301
|
-
|
|
1302
|
-
|
|
1354
|
+
Li as h,
|
|
1355
|
+
Mi as i,
|
|
1356
|
+
Cn as j,
|
|
1357
|
+
wn as k,
|
|
1358
|
+
Sn as l,
|
|
1359
|
+
xn as m,
|
|
1303
1360
|
de as n,
|
|
1304
|
-
|
|
1361
|
+
zi as o,
|
|
1305
1362
|
ue as p,
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1363
|
+
Pn as q,
|
|
1364
|
+
Ti as r,
|
|
1365
|
+
Fi as s,
|
|
1366
|
+
He as t,
|
|
1310
1367
|
D as u,
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1368
|
+
vn as v,
|
|
1369
|
+
yn as w,
|
|
1370
|
+
ci as x,
|
|
1371
|
+
Bi as y,
|
|
1372
|
+
Ni as z
|
|
1315
1373
|
};
|
|
1316
|
-
//# sourceMappingURL=kanban-renderer-toolbar-
|
|
1374
|
+
//# sourceMappingURL=kanban-renderer-toolbar-Bl8xXdwU.js.map
|