@pstdio/ui 0.18.0 → 0.20.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.
Files changed (144) hide show
  1. package/dist/{MermaidComponent-BPiVFNYK.js → MermaidComponent-AmAjWLPm.js} +3 -3
  2. package/dist/{MermaidComponent-BPiVFNYK.js.map → MermaidComponent-AmAjWLPm.js.map} +1 -1
  3. package/dist/browser-storage-DPtOQJx0.js +127 -0
  4. package/dist/browser-storage-DPtOQJx0.js.map +1 -0
  5. package/dist/chat-ui.js +938 -897
  6. package/dist/chat-ui.js.map +1 -1
  7. package/dist/components/chat-ui/components/chat-message-list-items.d.ts +17 -0
  8. package/dist/components/chat-ui/components/message-types.d.ts +1 -0
  9. package/dist/components/chat-ui/components/timeline.d.ts +2 -0
  10. package/dist/components/chat-ui/tool-rendering/default-renderers.d.ts +1 -0
  11. package/dist/components/chat-ui/tool-rendering/shared.d.ts +3 -2
  12. package/dist/components/chat-ui/tool-rendering/standard-renderers.d.ts +1 -0
  13. package/dist/components/data-table/data-table-header.d.ts +3 -1
  14. package/dist/components/data-table/data-table-skeleton.d.ts +13 -0
  15. package/dist/components/data-table/edit-mode-data-table-body.d.ts +29 -0
  16. package/dist/components/data-table/edit-mode-data-table-cell.d.ts +15 -0
  17. package/dist/components/data-table/edit-mode-data-table-editors.d.ts +19 -0
  18. package/dist/components/data-table/edit-mode-data-table-header.d.ts +23 -0
  19. package/dist/components/data-table/edit-mode-data-table-selection.d.ts +12 -0
  20. package/dist/components/data-table/edit-mode-data-table.d.ts +2 -0
  21. package/dist/components/data-table/edit-mode-story.d.ts +5 -0
  22. package/dist/components/data-table/index.d.ts +3 -1
  23. package/dist/components/data-table/pagination-footer.d.ts +8 -5
  24. package/dist/components/data-table/types.d.ts +24 -0
  25. package/dist/components/overlays/dialog-accept-shortcut.d.ts +12 -0
  26. package/dist/components/overlays/index.d.ts +1 -0
  27. package/dist/components/param-editor/index.d.ts +3 -1
  28. package/dist/components/param-editor/inputs/selection-input.d.ts +5 -0
  29. package/dist/components/param-editor/inputs/selection-menu.d.ts +6 -0
  30. package/dist/components/param-editor/param-editor-row.d.ts +17 -0
  31. package/dist/components/param-editor/param-editor.types.d.ts +18 -0
  32. package/dist/components/primitives/glyph-icon.d.ts +16 -0
  33. package/dist/components/primitives/icon-color-picker.d.ts +3 -13
  34. package/dist/components/primitives/icon-options.d.ts +301 -0
  35. package/dist/components/primitives/index.d.ts +10 -3
  36. package/dist/components/primitives/segmented-control.d.ts +20 -0
  37. package/dist/components/primitives/tag-swatch.d.ts +10 -0
  38. package/dist/components/rich-text/index.d.ts +2 -0
  39. package/dist/components/rich-text/markdown-editor/markdown-editor.d.ts +7 -0
  40. package/dist/components/rich-text/markdown-editor/markdown-table.story-fixture.d.ts +3 -0
  41. package/dist/components/rich-text/markdown-editor/plugins/MarkdownSectionNavigationPlugin.d.ts +8 -0
  42. package/dist/components/rich-text/markdown-editor/plugins/MarkdownSlashCommandPlugin.d.ts +1 -0
  43. package/dist/components/rich-text/markdown-editor/plugins/markdown-history-plugin.d.ts +1 -0
  44. package/dist/components/rich-text/markdown-editor/plugins/markdown-section-navigation.d.ts +20 -0
  45. package/dist/components/rich-text/rich-message/rich-message.d.ts +2 -0
  46. package/dist/components/rich-text/shared/markdown-ast.d.ts +6 -0
  47. package/dist/components/rich-text/shared/markdown-codec.d.ts +3 -0
  48. package/dist/components/rich-text/shared/markdown-export.d.ts +2 -0
  49. package/dist/components/rich-text/shared/markdown-import.d.ts +2 -0
  50. package/dist/components/rich-text/shared/markdown-inline.d.ts +5 -0
  51. package/dist/components/rich-text/shared/markdown-table.d.ts +41 -0
  52. package/dist/components/rich-text/shared/markdown-url-context.d.ts +9 -0
  53. package/dist/components/rich-text/shared/markdown-url.d.ts +3 -0
  54. package/dist/components/rich-text/shared/nodes/DataTableNode.d.ts +13 -11
  55. package/dist/components/rich-text/shared/nodes/MarkdownImageNode.d.ts +35 -0
  56. package/dist/components/rich-text/shared/nodes/MarkdownLinkNode.d.ts +18 -0
  57. package/dist/components/rich-text/shared/nodes/RawHtmlNode.d.ts +31 -0
  58. package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/floating-toolbar-buttons.d.ts +4 -2
  59. package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/resolve-block-type.d.ts +1 -1
  60. package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/setFloatingElemPos.d.ts +1 -1
  61. package/dist/components/rich-text/shared/plugins/MermaidPlugin/MermaidNode.d.ts +1 -0
  62. package/dist/components/rich-text/shared/transformers/markdown-transformers.d.ts +2 -3
  63. package/dist/components/tag-editor/index.d.ts +4 -0
  64. package/dist/components/tag-editor/tag-editor-heading.d.ts +11 -0
  65. package/dist/components/tag-editor/tag-editor-row.d.ts +1 -1
  66. package/dist/components/tag-editor/tag-editor-save-bar.d.ts +13 -0
  67. package/dist/components/tag-editor/tag-editor.types.d.ts +11 -11
  68. package/dist/components/tag-editor/tag-settings-panel.d.ts +3 -1
  69. package/dist/data-table.js +773 -931
  70. package/dist/data-table.js.map +1 -1
  71. package/dist/dialog-accept-shortcut-DAEBsoWW.js +7 -0
  72. package/dist/dialog-accept-shortcut-DAEBsoWW.js.map +1 -0
  73. package/dist/diff.js +4 -4
  74. package/dist/edit-mode-data-table-4GMiDy75.js +775 -0
  75. package/dist/edit-mode-data-table-4GMiDy75.js.map +1 -0
  76. package/dist/editor-config-Dyh8n5A2.js +2416 -0
  77. package/dist/editor-config-Dyh8n5A2.js.map +1 -0
  78. package/dist/font/css/prompt-studio-icons.css +36 -6
  79. package/dist/font/prompt-studio-icons.eot +0 -0
  80. package/dist/font/prompt-studio-icons.svg +1 -1
  81. package/dist/font/prompt-studio-icons.ttf +0 -0
  82. package/dist/font/prompt-studio-icons.woff +0 -0
  83. package/dist/font/prompt-studio-icons.woff2 +0 -0
  84. package/dist/index.d.ts +2 -2
  85. package/dist/index.js +1976 -1712
  86. package/dist/index.js.map +1 -1
  87. package/dist/{kanban-renderer-toolbar-Db1mIWWd.js → kanban-renderer-toolbar-BcUZvGyY.js} +384 -386
  88. package/dist/kanban-renderer-toolbar-BcUZvGyY.js.map +1 -0
  89. package/dist/kanban-renderer.js +144 -140
  90. package/dist/kanban-renderer.js.map +1 -1
  91. package/dist/{lazy-markdown-editor-DwhqQ-NN.js → lazy-markdown-editor-CWSREEhf.js} +2 -2
  92. package/dist/{lazy-markdown-editor-DwhqQ-NN.js.map → lazy-markdown-editor-CWSREEhf.js.map} +1 -1
  93. package/dist/list-row-B8L4TGsh.js +821 -0
  94. package/dist/list-row-B8L4TGsh.js.map +1 -0
  95. package/dist/{mermaid-renderer-DZo3qj6D.js → mermaid-renderer-H3IhLqnQ.js} +3 -3
  96. package/dist/{mermaid-renderer-DZo3qj6D.js.map → mermaid-renderer-H3IhLqnQ.js.map} +1 -1
  97. package/dist/mermaid.js +1 -1
  98. package/dist/number-input-WUfejtNx.js +343 -0
  99. package/dist/number-input-WUfejtNx.js.map +1 -0
  100. package/dist/param-editor-field-C8zRDStn.js +2845 -0
  101. package/dist/param-editor-field-C8zRDStn.js.map +1 -0
  102. package/dist/param-editor-w3xH-t8A.js +161 -0
  103. package/dist/param-editor-w3xH-t8A.js.map +1 -0
  104. package/dist/rich-message-jZ2oPQhU.js +658 -0
  105. package/dist/rich-message-jZ2oPQhU.js.map +1 -0
  106. package/dist/rich-text.js +182 -110
  107. package/dist/rich-text.js.map +1 -1
  108. package/dist/style.css +1 -1
  109. package/dist/theme/primitives/sizes.d.ts +59 -0
  110. package/dist/theme/recipes/button.d.ts +11 -0
  111. package/dist/theme/recipes/segmented-control.d.ts +22 -0
  112. package/dist/theme/recipes/switch.d.ts +1 -0
  113. package/dist/theme/recipes/tabs.d.ts +11 -0
  114. package/dist/{theme-poQlUgt0.js → theme-J8K8KbZi.js} +211 -120
  115. package/dist/theme-J8K8KbZi.js.map +1 -0
  116. package/dist/{theme-preference-DOzHx64J.js → theme-preference-DyymrYpR.js} +2 -2
  117. package/dist/{theme-preference-DOzHx64J.js.map → theme-preference-DyymrYpR.js.map} +1 -1
  118. package/dist/theme.js +1 -1
  119. package/dist/{tree-list-BAja2eXU.js → tree-list-CC13pOYi.js} +2 -2
  120. package/dist/{tree-list-BAja2eXU.js.map → tree-list-CC13pOYi.js.map} +1 -1
  121. package/package.json +10 -2
  122. package/dist/browser-storage-BinyFNJX.js +0 -40
  123. package/dist/browser-storage-BinyFNJX.js.map +0 -1
  124. package/dist/checkbox-B2zYVemL.js +0 -70
  125. package/dist/checkbox-B2zYVemL.js.map +0 -1
  126. package/dist/components/data-table/editable-cells-story.d.ts +0 -9
  127. package/dist/kanban-renderer-toolbar-Db1mIWWd.js.map +0 -1
  128. package/dist/list-row-BYWwcbGK.js +0 -823
  129. package/dist/list-row-BYWwcbGK.js.map +0 -1
  130. package/dist/markdown-DDd2ESoH.js +0 -743
  131. package/dist/markdown-DDd2ESoH.js.map +0 -1
  132. package/dist/markdown-editor-CYVkzt8t.js +0 -741
  133. package/dist/markdown-editor-CYVkzt8t.js.map +0 -1
  134. package/dist/param-editor-BCZOw5Gt.js +0 -140
  135. package/dist/param-editor-BCZOw5Gt.js.map +0 -1
  136. package/dist/param-editor-field-ZzZwgjZ_.js +0 -2094
  137. package/dist/param-editor-field-ZzZwgjZ_.js.map +0 -1
  138. package/dist/resource-badge-CuItchgL.js +0 -98
  139. package/dist/resource-badge-CuItchgL.js.map +0 -1
  140. package/dist/rich-message--eRzjWYK.js +0 -730
  141. package/dist/rich-message--eRzjWYK.js.map +0 -1
  142. package/dist/scroll-area-BMbg1WcD.js +0 -91
  143. package/dist/scroll-area-BMbg1WcD.js.map +0 -1
  144. package/dist/theme-poQlUgt0.js.map +0 -1
@@ -1,16 +1,18 @@
1
- import { N as Z, M as Ie, g as Ue, o as ge, r as Ye, c as Me, a as Ke, f as Le, b as _e, u as Je, d as pe, e as Qe, h as Ze, i as et, K as tt } from "./kanban-renderer-toolbar-Db1mIWWd.js";
2
- import { D as En, F as Pn, j as An, k as On, l as $n, m as Bn, n as zn, p as Mn, q as Kn, s as Ln, t as _n, v as Vn, w as Wn, x as Hn, y as jn } from "./kanban-renderer-toolbar-Db1mIWWd.js";
1
+ import { N as Z, M as Ie, g as Ue, o as ge, r as Ye, c as Ke, a as Me, b as Le, d as _e, e as Je, u as pe, f as Qe, h as Ze, i as et, K as tt } from "./kanban-renderer-toolbar-BcUZvGyY.js";
2
+ import { D as On, F as $n, j as Bn, k as zn, l as Kn, m as Mn, n as Ln, p as _n, q as Vn, s as Wn, t as Hn, v as jn, w as Fn, x as Nn, y as Xn } from "./kanban-renderer-toolbar-BcUZvGyY.js";
3
3
  import { jsx as d, jsxs as B, Fragment as nt } from "react/jsx-runtime";
4
- import { c as K } from "react/compiler-runtime";
4
+ import { c as M } from "react/compiler-runtime";
5
5
  import { Text as _, Badge as fe, IconButton as Ee, Icon as N, Menu as F, Spacer as rt, HStack as X, Portal as ot, Wrap as we, Stack as q, Box as re, VStack as lt, Textarea as at, Button as me, Input as it, Dialog as ne, CloseButton as st } from "@chakra-ui/react";
6
6
  import { useState as W, useRef as Ve, useEffect as Se } from "react";
7
7
  import { E as dt } from "./empty-state-Bo4HVrgr.js";
8
- import { L as ke, R as We } from "./list-row-BYWwcbGK.js";
9
- import { T as ct, S as Pe } from "./scroll-area-BMbg1WcD.js";
8
+ import { L as ke, R as We } from "./list-row-B8L4TGsh.js";
9
+ import { T as ct, S as Pe } from "./browser-storage-DPtOQJx0.js";
10
10
  import { Plus as ut, MoreHorizontal as pt, SquareCheck as gt, Square as ft, Check as mt, ChevronDown as bt, ChevronRight as ht, Paperclip as yt } from "lucide-react";
11
- import { g as be, W as vt, i as He, a as he, P as xt, S as Ct, A as St } from "./param-editor-field-ZzZwgjZ_.js";
12
- import { L as Dt } from "./lazy-markdown-editor-DwhqQ-NN.js";
13
- const It = async (r) => {
11
+ import { g as be, i as He, a as he, P as vt, S as xt, A as Ct } from "./param-editor-field-C8zRDStn.js";
12
+ import { W as St } from "./number-input-WUfejtNx.js";
13
+ import { h as Dt } from "./dialog-accept-shortcut-DAEBsoWW.js";
14
+ import { L as It } from "./lazy-markdown-editor-CWSREEhf.js";
15
+ const wt = async (r) => {
14
16
  const {
15
17
  settings: e,
16
18
  rowId: t,
@@ -21,7 +23,7 @@ const It = async (r) => {
21
23
  onReorder: p
22
24
  } = r;
23
25
  e.columnGrouping !== Z && s && await s(t, e.columnGrouping, n), e.rowGrouping !== Z && a && s && await s(t, e.rowGrouping, a), e.ordering.attributeId === Ie && await p?.(t, i);
24
- }, wt = async (r) => {
26
+ }, kt = async (r) => {
25
27
  const {
26
28
  settings: e,
27
29
  rowId: t,
@@ -31,8 +33,8 @@ const It = async (r) => {
31
33
  onReorder: s
32
34
  } = r;
33
35
  e.rowGrouping === Z || !i || (await i(t, e.rowGrouping, n), e.ordering.attributeId === Ie && await s?.(t, a));
34
- }, kt = (r) => {
35
- const e = K(26), {
36
+ }, Gt = (r) => {
37
+ const e = M(26), {
36
38
  column: t,
37
39
  onCreateStart: n,
38
40
  onColumnAction: a
@@ -63,7 +65,7 @@ const It = async (r) => {
63
65
  o,
64
66
  u
65
67
  ] }), e[19] = i, e[20] = p, e[21] = c, e[22] = f, e[23] = o, e[24] = u, e[25] = b) : b = e[25], b;
66
- }, Q = (r) => r.stopPropagation(), Gt = (r) => Array.isArray(r.value) ? r.value : r.value ? [r.value] : [], Rt = (r, e) => r.includes(e) ? r.filter((t) => t !== e) : [...r, e], Ae = {
68
+ }, Q = (r) => r.stopPropagation(), Rt = (r) => Array.isArray(r.value) ? r.value : r.value ? [r.value] : [], Tt = (r, e) => r.includes(e) ? r.filter((t) => t !== e) : [...r, e], Ae = {
67
69
  bg: {
68
70
  _light: "bg.muted",
69
71
  _dark: "bg.subtle"
@@ -75,8 +77,8 @@ const It = async (r) => {
75
77
  _dark: "bg.hover"
76
78
  }
77
79
  }
78
- }, Tt = (r) => r.color ? `${r.color}.fg` : "fg.muted", Et = (r) => r.isMultiValue ? r.isSelected ? /* @__PURE__ */ d(gt, { size: 14 }) : /* @__PURE__ */ d(ft, { size: 14 }) : r.isSelected ? /* @__PURE__ */ d(mt, { size: 14 }) : null, je = (r) => {
79
- const e = K(49), {
80
+ }, Et = (r) => r.color ? `${r.color}.fg` : "fg.muted", Pt = (r) => r.isMultiValue ? r.isSelected ? /* @__PURE__ */ d(gt, { size: 14 }) : /* @__PURE__ */ d(ft, { size: 14 }) : r.isSelected ? /* @__PURE__ */ d(mt, { size: 14 }) : null, je = (r) => {
81
+ const e = M(49), {
80
82
  badge: t,
81
83
  onChange: n
82
84
  } = r;
@@ -84,7 +86,7 @@ const It = async (r) => {
84
86
  if (e[0] !== t || e[1] !== n) {
85
87
  x = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
86
88
  e: {
87
- const E = t.options ?? [], v = !!(n && t.isEditable && E.length > 0), k = Array.isArray(t.value), I = Gt(t);
89
+ const E = t.options ?? [], v = !!(n && t.isEditable && E.length > 0), k = Array.isArray(t.value), I = Rt(t);
88
90
  let y;
89
91
  e[16] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = {
90
92
  onClick: Q,
@@ -93,10 +95,10 @@ const It = async (r) => {
93
95
  }, e[16] = y) : y = e[16];
94
96
  const S = y, R = (A) => {
95
97
  let z;
96
- k ? z = Rt(I, A) : z = I.includes(A) ? "" : A, n?.(t.attributeId, z);
98
+ k ? z = Tt(I, A) : z = I.includes(A) ? "" : A, n?.(t.attributeId, z);
97
99
  };
98
100
  let G;
99
- e[17] !== t ? (G = t.icon ? /* @__PURE__ */ d(N, { as: be(t.icon), boxSize: "3.5", color: Tt(t) }) : null, e[17] = t, e[18] = G) : G = e[18];
101
+ e[17] !== t ? (G = t.icon ? /* @__PURE__ */ d(N, { as: be(t.icon), boxSize: "3.5", color: Et(t) }) : null, e[17] = t, e[18] = G) : G = e[18];
100
102
  let $;
101
103
  e[19] !== v ? ($ = v ? /* @__PURE__ */ d(N, { as: bt, boxSize: "3", color: "fg.muted" }) : null, e[19] = v, e[20] = $) : $ = e[20];
102
104
  let O;
@@ -113,7 +115,7 @@ const It = async (r) => {
113
115
  }
114
116
  p = F.Root, l = !k, e[27] !== T ? (m = /* @__PURE__ */ d(F.Trigger, { asChild: !0, children: /* @__PURE__ */ d(fe, { as: "span", role: "button", tabIndex: 0, variant: "subtle", gap: "2xs", textStyle: "label/XS/medium", cursor: "pointer", ...Ae, onClick: Q, onPointerDown: Q, onKeyDown: Q, children: T }) }), e[27] = T, e[28] = m) : m = e[28], s = ot, i = F.Positioner, a = F.Content, c = "180px", f = "0", g = "0", o = Q, u = Q, b = Q, h = E.map((A) => {
115
117
  const z = I.includes(A.value);
116
- return /* @__PURE__ */ d(F.Item, { value: A.value, asChild: !0, children: /* @__PURE__ */ d(ke, { asChild: !0, role: k ? "menuitemcheckbox" : "menuitemradio", "aria-checked": z, variant: "full-width", id: A.value, label: A.label, icon: /* @__PURE__ */ d(N, { as: be(A.icon), boxSize: "16px" }), iconColor: `${A.color ?? "gray"}.500`, isSelected: z, endContent: Et({
118
+ return /* @__PURE__ */ d(F.Item, { value: A.value, asChild: !0, children: /* @__PURE__ */ d(ke, { asChild: !0, role: k ? "menuitemcheckbox" : "menuitemradio", "aria-checked": z, variant: "full-width", id: A.value, label: A.label, icon: /* @__PURE__ */ d(N, { as: be(A.icon), boxSize: "16px" }), iconColor: `${A.color ?? "gray"}.500`, isSelected: z, endContent: Pt({
117
119
  isMultiValue: k,
118
120
  isSelected: z
119
121
  }), onActivate: () => R(A.value), ...S }) }, A.value);
@@ -136,7 +138,7 @@ const It = async (r) => {
136
138
  D
137
139
  ] }), e[44] = p, e[45] = D, e[46] = l, e[47] = m, e[48] = P) : P = e[48], P;
138
140
  }, Fe = (r) => {
139
- const e = K(30), {
141
+ const e = M(30), {
140
142
  eyebrow: t,
141
143
  title: n,
142
144
  badges: a,
@@ -168,7 +170,7 @@ const It = async (r) => {
168
170
  let S;
169
171
  e[8] !== t || e[9] !== s ? (S = t || s ? /* @__PURE__ */ B(X, { minW: "0", gap: "2xs", children: [
170
172
  t ? /* @__PURE__ */ d(_, { textStyle: "label/XS", color: "fg.muted", fontFamily: "mono", truncate: !0, children: t }) : null,
171
- /* @__PURE__ */ d(X, { marginLeft: "auto", children: s ? /* @__PURE__ */ d(vt, { ...s }) : null })
173
+ /* @__PURE__ */ d(X, { marginLeft: "auto", children: s ? /* @__PURE__ */ d(St, { ...s }) : null })
172
174
  ] }) : null, e[8] = t, e[9] = s, e[10] = S) : S = e[10];
173
175
  let R;
174
176
  e[11] !== n ? (R = /* @__PURE__ */ d(_, { textStyle: "paragraph/S/regular", minW: "0", overflowWrap: "anywhere", children: n }), e[11] = n, e[12] = R) : R = e[12];
@@ -183,8 +185,8 @@ const It = async (r) => {
183
185
  R,
184
186
  G
185
187
  ] }), e[18] = w, e[19] = c, e[20] = o, e[21] = g, e[22] = y, e[23] = S, e[24] = R, e[25] = G, e[26] = E, e[27] = k, e[28] = I, e[29] = $) : $ = e[29], $;
186
- }, Pt = (r) => {
187
- const e = K(30), {
188
+ }, At = (r) => {
189
+ const e = M(30), {
188
190
  columnId: t,
189
191
  group: n,
190
192
  selectedItemId: a,
@@ -202,7 +204,7 @@ const It = async (r) => {
202
204
  bg: "bg.hover"
203
205
  }, e[0] = w) : w = e[0];
204
206
  let D;
205
- e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = () => h(At), e[1] = D) : D = e[1];
207
+ e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = () => h(Ot), e[1] = D) : D = e[1];
206
208
  const P = b ? "rotate(90deg)" : "rotate(0deg)";
207
209
  let E;
208
210
  e[2] !== P ? (E = /* @__PURE__ */ d(re, { display: "flex", alignItems: "center", flexShrink: 0, children: /* @__PURE__ */ d(N, { as: ht, boxSize: "14px", color: "fg.muted", transform: P, transition: "transform 0.15s ease" }) }), e[2] = P, e[3] = E) : E = e[3];
@@ -217,7 +219,7 @@ const It = async (r) => {
217
219
  k
218
220
  ] }), e[8] = E, e[9] = v, e[10] = k, e[11] = I) : I = e[11];
219
221
  let y;
220
- e[12] !== i || e[13] !== s || e[14] !== b || e[15] !== n.items || e[16] !== f || e[17] !== c || e[18] !== u || e[19] !== a ? (y = b && /* @__PURE__ */ d(q, { gap: "xs", pt: "xs", children: n.items.map((R) => /* @__PURE__ */ d(We, { actions: R.contextMenuActions ?? [], children: /* @__PURE__ */ d(re, { onDragOver: i ? Ot : void 0, onDrop: i ? (G) => {
222
+ e[12] !== i || e[13] !== s || e[14] !== b || e[15] !== n.items || e[16] !== f || e[17] !== c || e[18] !== u || e[19] !== a ? (y = b && /* @__PURE__ */ d(q, { gap: "xs", pt: "xs", children: n.items.map((R) => /* @__PURE__ */ d(We, { actions: R.contextMenuActions ?? [], children: /* @__PURE__ */ d(re, { onDragOver: i ? $t : void 0, onDrop: i ? (G) => {
221
223
  G.preventDefault(), G.stopPropagation();
222
224
  const $ = G.dataTransfer.getData("text/plain");
223
225
  !$ || $ === R.id || u(G, R.id);
@@ -228,21 +230,21 @@ const It = async (r) => {
228
230
  y
229
231
  ] }), e[21] = t, e[22] = n.key, e[23] = l, e[24] = m, e[25] = I, e[26] = y, e[27] = x, e[28] = C, e[29] = S) : S = e[29], S;
230
232
  };
231
- function At(r) {
233
+ function Ot(r) {
232
234
  return !r;
233
235
  }
234
- function Ot(r) {
236
+ function $t(r) {
235
237
  r.preventDefault(), r.stopPropagation(), r.dataTransfer.dropEffect = "move";
236
238
  }
237
- const $t = (r) => {
238
- const e = K(27), {
239
+ const Bt = (r) => {
240
+ const e = M(27), {
239
241
  columns: t,
240
242
  selectedItemId: n,
241
243
  onMoveItem: a,
242
244
  onMoveToGroup: i,
243
245
  onCreateStart: s,
244
246
  onColumnAction: p
245
- } = r, c = n === void 0 ? null : n, [f, g] = W(null), [o, u] = W(null), b = Bt;
247
+ } = r, c = n === void 0 ? null : n, [f, g] = W(null), [o, u] = W(null), b = zt;
246
248
  let h;
247
249
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = () => {
248
250
  g(null), u(null);
@@ -277,14 +279,14 @@ const $t = (r) => {
277
279
  if (e[6] !== f || e[7] !== o || e[8] !== t || e[9] !== P || e[10] !== p || e[11] !== s || e[12] !== a || e[13] !== i || e[14] !== c) {
278
280
  let I;
279
281
  e[16] !== f || e[17] !== o || e[18] !== P || e[19] !== p || e[20] !== s || e[21] !== a || e[22] !== i || e[23] !== c ? (I = (y) => /* @__PURE__ */ B(q, { "data-testid": `board-column-${y.id}`, gap: "xs", padding: "compact", borderWidth: "1px", borderColor: "border", borderRadius: "sm", background: f === y.id ? "bg.active" : "bg.subtle", transition: "background 150ms ease", height: "100%", minH: "240px", overflow: "hidden", minW: "260px", flex: "1 0 260px", onDragOver: y.canDragIn ? x(y.id) : void 0, onDragLeave: y.canDragIn ? w : void 0, onDrop: y.canDragIn ? P(y.id) : void 0, children: [
280
- /* @__PURE__ */ d(kt, { column: y, onCreateStart: s, onColumnAction: p }),
282
+ /* @__PURE__ */ d(Gt, { column: y, onCreateStart: s, onColumnAction: p }),
281
283
  /* @__PURE__ */ d(Pe, { flex: "1", minH: "0", size: "xs", verticalScrollbarProps: {
282
284
  margin: "0"
283
285
  }, contentProps: {
284
286
  spaceY: "xs"
285
287
  }, children: y.groups && y.groups.length > 0 ? y.groups.map((S) => {
286
288
  const R = `${y.id}::${S.key}`;
287
- return /* @__PURE__ */ d(Pt, { columnId: y.id, group: S, selectedItemId: c, canDragIn: y.canDragIn, canDragOut: y.canDragOut, isDropTarget: o === R, onDragStart: b, onDragEnd: l, onGroupDragOver: (G) => {
289
+ return /* @__PURE__ */ d(At, { columnId: y.id, group: S, selectedItemId: c, canDragIn: y.canDragIn, canDragOut: y.canDragOut, isDropTarget: o === R, onDragStart: b, onDragEnd: l, onGroupDragOver: (G) => {
288
290
  G.preventDefault(), G.stopPropagation(), G.dataTransfer.dropEffect = "move", u(R), g(null);
289
291
  }, onGroupDragLeave: (G) => {
290
292
  G.currentTarget.contains(G.relatedTarget) || u(null);
@@ -319,7 +321,7 @@ const $t = (r) => {
319
321
  let k;
320
322
  return e[25] !== v ? (k = /* @__PURE__ */ d(Pe, { height: "100%", size: "xs", showHorizontalScrollbar: !0, showVerticalScrollbar: !1, contentProps: E, children: v }), e[25] = v, e[26] = k) : k = e[26], k;
321
323
  };
322
- function Bt(r) {
324
+ function zt(r) {
323
325
  return (e) => {
324
326
  e.dataTransfer.setData("text/plain", r), e.dataTransfer.effectAllowed = "move";
325
327
  };
@@ -337,7 +339,7 @@ const Ne = (r, e, t = 0) => {
337
339
  }), i && Xe(e, a.id) && n.push(...Ne(a.children ?? [], e, t + 1));
338
340
  }
339
341
  return n;
340
- }, zt = (r, e) => {
342
+ }, Kt = (r, e) => {
341
343
  if (r)
342
344
  return {
343
345
  _before: {
@@ -353,20 +355,20 @@ const Ne = (r, e, t = 0) => {
353
355
  }, Xe = (r, e) => r[e] !== !1, Mt = (r, e, t) => ({
354
356
  ...r,
355
357
  [e]: t
356
- }), Kt = (r, e) => e ? /* @__PURE__ */ B(X, { gap: "xs", minW: "0", maxW: "full", flex: "1", children: [
358
+ }), Lt = (r, e) => e ? /* @__PURE__ */ B(X, { gap: "xs", minW: "0", maxW: "full", flex: "1", children: [
357
359
  /* @__PURE__ */ d(_, { textStyle: "label/S/medium", minW: "0", truncate: !0, children: r.title }),
358
360
  /* @__PURE__ */ d(_, { textStyle: "label/XS", color: "fg.muted", flexShrink: 0, children: r.countBadge })
359
361
  ] }) : /* @__PURE__ */ B(X, { gap: "compact", minW: "0", maxW: "full", flex: "1", children: [
360
362
  r.eyebrow ? /* @__PURE__ */ d(_, { "data-testid": "list-row-eyebrow", flexShrink: 0, textStyle: "mono/XS", color: "fg.muted", truncate: !0, children: r.eyebrow }) : null,
361
363
  /* @__PURE__ */ d(_, { textStyle: "paragraph/S/regular", minW: "0", truncate: !0, children: r.title })
362
- ] }), Lt = (r) => (r.badges?.length ?? 0) > 0 || (r.customSlots?.length ?? 0) > 0 ? /* @__PURE__ */ d(X, { gap: "xs", flexShrink: 0, children: /* @__PURE__ */ B(we, { gap: "2xs", flexShrink: 0, children: [
364
+ ] }), _t = (r) => (r.badges?.length ?? 0) > 0 || (r.customSlots?.length ?? 0) > 0 ? /* @__PURE__ */ d(X, { gap: "xs", flexShrink: 0, children: /* @__PURE__ */ B(we, { gap: "2xs", flexShrink: 0, children: [
363
365
  r.badges?.map((t) => /* @__PURE__ */ d(je, { badge: t, onChange: r.onBadgeChange }, t.attributeId)),
364
366
  r.customSlots
365
- ] }) }) : null, _t = (r, e) => ({
367
+ ] }) }) : null, Vt = (r, e) => ({
366
368
  id: r.id,
367
- label: Kt(r, r.isGroup === !0),
369
+ label: Lt(r, r.isGroup === !0),
368
370
  icon: r.statusIcon ? /* @__PURE__ */ d(N, { "data-testid": r.isGroup ? "list-status-icon" : "row-status-icon", as: r.statusIcon, boxSize: "1rem", colorPalette: r.statusColorPalette ?? r.countColorPalette ?? "gray", color: r.statusColor ?? (r.isGroup || r.statusColorPalette ? "colorPalette.solid" : "fg.muted") }) : void 0,
369
- endContent: Lt(r),
371
+ endContent: _t(r),
370
372
  isContainer: e,
371
373
  contextMenuItems: r.contextMenuActions?.map((t) => ({
372
374
  id: t.key,
@@ -377,8 +379,8 @@ const Ne = (r, e, t = 0) => {
377
379
  endContent: t.endContent,
378
380
  onAction: t.onClick
379
381
  }))
380
- }), Vt = (r) => {
381
- const e = K(24), {
382
+ }), Wt = (r) => {
383
+ const e = M(24), {
382
384
  items: t,
383
385
  selectedItemId: n,
384
386
  expandedGroups: a,
@@ -398,13 +400,13 @@ const Ne = (r, e, t = 0) => {
398
400
  const P = D;
399
401
  m = re;
400
402
  let E;
401
- e[14] !== o || e[15] !== b || e[16] !== l || e[17] !== P || e[18] !== i || e[19] !== p ? (E = (v) => /* @__PURE__ */ d(Wt, { row: v, isExpanded: Xe(l, v.id), selectedItemId: p, activeDropTargetId: o, draggedItemId: b, onDraggedItemChange: h, onDropTargetChange: u, onItemClick: i, onExpandedChange: P }, v.id), e[14] = o, e[15] = b, e[16] = l, e[17] = P, e[18] = i, e[19] = p, e[20] = E) : E = e[20], x = w.map(E), e[1] = o, e[2] = b, e[3] = l, e[4] = a, e[5] = t, e[6] = s, e[7] = i, e[8] = p, e[9] = m, e[10] = x;
403
+ e[14] !== o || e[15] !== b || e[16] !== l || e[17] !== P || e[18] !== i || e[19] !== p ? (E = (v) => /* @__PURE__ */ d(Ht, { row: v, isExpanded: Xe(l, v.id), selectedItemId: p, activeDropTargetId: o, draggedItemId: b, onDraggedItemChange: h, onDropTargetChange: u, onItemClick: i, onExpandedChange: P }, v.id), e[14] = o, e[15] = b, e[16] = l, e[17] = P, e[18] = i, e[19] = p, e[20] = E) : E = e[20], x = w.map(E), e[1] = o, e[2] = b, e[3] = l, e[4] = a, e[5] = t, e[6] = s, e[7] = i, e[8] = p, e[9] = m, e[10] = x;
402
404
  } else
403
405
  m = e[9], x = e[10];
404
406
  let C;
405
407
  return e[21] !== m || e[22] !== x ? (C = /* @__PURE__ */ d(m, { children: x }), e[21] = m, e[22] = x, e[23] = C) : C = e[23], C;
406
- }, Wt = (r) => {
407
- const e = K(56), {
408
+ }, Ht = (r) => {
409
+ const e = M(56), {
408
410
  row: t,
409
411
  isExpanded: n,
410
412
  selectedItemId: a,
@@ -420,7 +422,7 @@ const Ne = (r, e, t = 0) => {
420
422
  canExpand: b
421
423
  } = t, h = o.id === a, l = !!o.onDropRow && o.id !== s, m = l && o.id === i;
422
424
  let x;
423
- e[0] !== b || e[1] !== o ? (x = _t(o, b), e[0] = b, e[1] = o, e[2] = x) : x = e[2];
425
+ e[0] !== b || e[1] !== o ? (x = Vt(o, b), e[0] = b, e[1] = o, e[2] = x) : x = e[2];
424
426
  const C = x;
425
427
  let w;
426
428
  e[3] !== n || e[4] !== g || e[5] !== t.id ? (w = () => g(t.id, !n), e[3] = n, e[4] = g, e[5] = t.id, e[6] = w) : w = e[6];
@@ -435,26 +437,26 @@ const Ne = (r, e, t = 0) => {
435
437
  }, e[7] = b, e[8] = u, e[9] = o, e[10] = f, e[11] = D, e[12] = P) : P = e[12];
436
438
  const E = P;
437
439
  let v;
438
- e[13] !== o.draggable || e[14] !== o.id || e[15] !== p || e[16] !== c ? (v = (M) => {
439
- o.draggable && (M.stopPropagation(), M.dataTransfer.setData("text/plain", o.id), M.dataTransfer.effectAllowed = "move", p(o.id), c(null));
440
+ e[13] !== o.draggable || e[14] !== o.id || e[15] !== p || e[16] !== c ? (v = (K) => {
441
+ o.draggable && (K.stopPropagation(), K.dataTransfer.setData("text/plain", o.id), K.dataTransfer.effectAllowed = "move", p(o.id), c(null));
440
442
  }, e[13] = o.draggable, e[14] = o.id, e[15] = p, e[16] = c, e[17] = v) : v = e[17];
441
443
  const k = v;
442
444
  let I;
443
- e[18] !== l || e[19] !== o.id || e[20] !== c ? (I = (M) => {
444
- l && (M.preventDefault(), M.stopPropagation(), M.dataTransfer.dropEffect = "move", c(o.id));
445
+ e[18] !== l || e[19] !== o.id || e[20] !== c ? (I = (K) => {
446
+ l && (K.preventDefault(), K.stopPropagation(), K.dataTransfer.dropEffect = "move", c(o.id));
445
447
  }, e[18] = l, e[19] = o.id, e[20] = c, e[21] = I) : I = e[21];
446
448
  const y = I;
447
449
  let S;
448
- e[22] !== c ? (S = (M) => {
449
- M.currentTarget.contains(M.relatedTarget) || c(null);
450
+ e[22] !== c ? (S = (K) => {
451
+ K.currentTarget.contains(K.relatedTarget) || c(null);
450
452
  }, e[22] = c, e[23] = S) : S = e[23];
451
453
  const R = S;
452
454
  let G;
453
- e[24] !== l || e[25] !== o || e[26] !== p || e[27] !== c ? (G = (M) => {
455
+ e[24] !== l || e[25] !== o || e[26] !== p || e[27] !== c ? (G = (K) => {
454
456
  if (!l || !o.onDropRow)
455
457
  return;
456
- M.preventDefault(), M.stopPropagation(), c(null), p(null);
457
- const j = M.dataTransfer.getData("text/plain");
458
+ K.preventDefault(), K.stopPropagation(), c(null), p(null);
459
+ const j = K.dataTransfer.getData("text/plain");
458
460
  !j || j === o.id || o.onDropRow(j);
459
461
  }, e[24] = l, e[25] = o, e[26] = p, e[27] = c, e[28] = G) : G = e[28];
460
462
  const $ = G;
@@ -464,14 +466,14 @@ const Ne = (r, e, t = 0) => {
464
466
  }, e[29] = p, e[30] = c, e[31] = O) : O = e[31];
465
467
  const T = O, A = m ? "true" : void 0, z = m ? "bg.subtle" : "transparent", U = o.draggable;
466
468
  let V;
467
- e[32] !== b || e[33] !== m ? (V = zt(m, b), e[32] = b, e[33] = m, e[34] = V) : V = e[34];
469
+ e[32] !== b || e[33] !== m ? (V = Kt(m, b), e[32] = b, e[33] = m, e[34] = V) : V = e[34];
468
470
  const ee = o.onDropRow ? R : void 0, oe = u ? void 0 : o.title, te = u ? "compact" : "collection";
469
471
  let H;
470
472
  e[35] !== b || e[36] !== E || e[37] !== n || e[38] !== h || e[39] !== t.depth || e[40] !== C || e[41] !== oe || e[42] !== te || e[43] !== D ? (H = /* @__PURE__ */ d(ke, { ...C, "aria-label": oe, variant: te, depth: t.depth, isSelected: h, isExpanded: n, showExpandToggle: b, showContextMenuTrigger: !1, onActivate: E, onToggleExpand: D }), e[35] = b, e[36] = E, e[37] = n, e[38] = h, e[39] = t.depth, e[40] = C, e[41] = oe, e[42] = te, e[43] = D, e[44] = H) : H = e[44];
471
473
  let Y;
472
474
  return e[45] !== T || e[46] !== y || e[47] !== k || e[48] !== $ || e[49] !== o.draggable || e[50] !== V || e[51] !== ee || e[52] !== H || e[53] !== A || e[54] !== z ? (Y = /* @__PURE__ */ d(re, { "data-drop-target": A, position: "relative", borderBottomWidth: "1px", borderBottomColor: "border.subtle", bg: z, draggable: U, transition: "background 120ms ease", ...V, onDragStart: k, onDragOver: y, onDragLeave: ee, onDragEnd: T, onDrop: $, children: H }), e[45] = T, e[46] = y, e[47] = k, e[48] = $, e[49] = o.draggable, e[50] = V, e[51] = ee, e[52] = H, e[53] = A, e[54] = z, e[55] = Y) : Y = e[55], Y;
473
475
  }, Oe = (r) => {
474
- const e = K(7), {
476
+ const e = M(7), {
475
477
  emptyState: t,
476
478
  title: n,
477
479
  description: a,
@@ -483,8 +485,8 @@ const Ne = (r, e, t = 0) => {
483
485
  }
484
486
  let s;
485
487
  return e[3] !== a || e[4] !== i || e[5] !== n ? (s = /* @__PURE__ */ d(dt, { title: n, description: a, height: i }), e[3] = a, e[4] = i, e[5] = n, e[6] = s) : s = e[6], s;
486
- }, Ht = (r) => {
487
- const e = K(20), {
488
+ }, jt = (r) => {
489
+ const e = M(20), {
488
490
  viewMode: t,
489
491
  boardColumns: n,
490
492
  listItems: a,
@@ -502,22 +504,22 @@ const Ne = (r, e, t = 0) => {
502
504
  } = r;
503
505
  if (t === "board") {
504
506
  let x;
505
- return e[0] !== n || e[1] !== f || e[2] !== p || e[3] !== c || e[4] !== g || e[5] !== o || e[6] !== b || e[7] !== u || e[8] !== s ? (x = /* @__PURE__ */ d(re, { flex: "1", minH: "0", children: n.length > 0 ? /* @__PURE__ */ d($t, { columns: n, selectedItemId: s, onMoveItem: g, onMoveToGroup: o, onCreateStart: u, onColumnAction: b }) : /* @__PURE__ */ d(Oe, { emptyState: p, title: c, description: f, height: "100%" }) }), e[0] = n, e[1] = f, e[2] = p, e[3] = c, e[4] = g, e[5] = o, e[6] = b, e[7] = u, e[8] = s, e[9] = x) : x = e[9], x;
507
+ return e[0] !== n || e[1] !== f || e[2] !== p || e[3] !== c || e[4] !== g || e[5] !== o || e[6] !== b || e[7] !== u || e[8] !== s ? (x = /* @__PURE__ */ d(re, { flex: "1", minH: "0", children: n.length > 0 ? /* @__PURE__ */ d(Bt, { columns: n, selectedItemId: s, onMoveItem: g, onMoveToGroup: o, onCreateStart: u, onColumnAction: b }) : /* @__PURE__ */ d(Oe, { emptyState: p, title: c, description: f, height: "100%" }) }), e[0] = n, e[1] = f, e[2] = p, e[3] = c, e[4] = g, e[5] = o, e[6] = b, e[7] = u, e[8] = s, e[9] = x) : x = e[9], x;
506
508
  }
507
509
  if (a.length > 0) {
508
510
  let x;
509
- return e[10] !== i || e[11] !== a || e[12] !== l || e[13] !== h || e[14] !== s ? (x = /* @__PURE__ */ d(Vt, { items: a, selectedItemId: s, expandedGroups: i, onExpandedGroupChange: h }, l), e[10] = i, e[11] = a, e[12] = l, e[13] = h, e[14] = s, e[15] = x) : x = e[15], x;
511
+ return e[10] !== i || e[11] !== a || e[12] !== l || e[13] !== h || e[14] !== s ? (x = /* @__PURE__ */ d(Wt, { items: a, selectedItemId: s, expandedGroups: i, onExpandedGroupChange: h }, l), e[10] = i, e[11] = a, e[12] = l, e[13] = h, e[14] = s, e[15] = x) : x = e[15], x;
510
512
  }
511
513
  let m;
512
514
  return e[16] !== f || e[17] !== p || e[18] !== c ? (m = /* @__PURE__ */ d(Oe, { emptyState: p, title: c, description: f }), e[16] = f, e[17] = p, e[18] = c, e[19] = m) : m = e[19], m;
513
- }, jt = (r) => {
514
- const e = K(2), {
515
+ }, Ft = (r) => {
516
+ const e = M(2), {
515
517
  children: t
516
518
  } = r;
517
519
  let n;
518
520
  return e[0] !== t ? (n = /* @__PURE__ */ d(_, { minH: "0.75rem", textStyle: "label/XS", color: "fg.muted", lineHeight: "1", letterSpacing: "0.08em", textTransform: "uppercase", children: t }), e[0] = t, e[1] = n) : n = e[1], n;
519
521
  }, $e = (r) => {
520
- const e = K(15), {
522
+ const e = M(15), {
521
523
  group: t,
522
524
  params: n,
523
525
  renderParam: a,
@@ -525,7 +527,7 @@ const Ne = (r, e, t = 0) => {
525
527
  width: s
526
528
  } = r, p = s === void 0 ? "auto" : s, c = t.title, f = i === "small" ? "2xs" : "xs";
527
529
  let g;
528
- e[0] !== t.title ? (g = /* @__PURE__ */ d(jt, { children: t.title }), e[0] = t.title, e[1] = g) : g = e[1];
530
+ e[0] !== t.title ? (g = /* @__PURE__ */ d(Ft, { children: t.title }), e[0] = t.title, e[1] = g) : g = e[1];
529
531
  const o = i === "small" ? "2xs" : "xs";
530
532
  let u;
531
533
  e[2] !== n || e[3] !== a ? (u = n.map(a), e[2] = n, e[3] = a, e[4] = u) : u = e[4];
@@ -536,8 +538,8 @@ const Ne = (r, e, t = 0) => {
536
538
  g,
537
539
  b
538
540
  ] }), e[9] = t.title, e[10] = f, e[11] = g, e[12] = b, e[13] = p, e[14] = h) : h = e[14], h;
539
- }, Ft = (r) => {
540
- const e = K(35), {
541
+ }, Nt = (r) => {
542
+ const e = M(35), {
541
543
  params: t,
542
544
  groups: n,
543
545
  defaultValues: a,
@@ -548,10 +550,10 @@ const Ne = (r, e, t = 0) => {
548
550
  } = r;
549
551
  let f, g, o, u, b, h, l, m;
550
552
  if (e[0] !== a || e[1] !== i || e[2] !== s || e[3] !== p || e[4] !== t || e[5] !== n || e[6] !== c) {
551
- const C = t === void 0 ? [] : t, w = n === void 0 ? [] : n, D = c === void 0 ? "default" : c, P = C.filter(He), E = w.map(Nt);
553
+ const C = t === void 0 ? [] : t, w = n === void 0 ? [] : n, D = c === void 0 ? "default" : c, P = C.filter(He), E = w.map(Xt);
552
554
  let v;
553
- e[15] !== a || e[16] !== i || e[17] !== s || e[18] !== p || e[19] !== D ? (v = (A) => /* @__PURE__ */ d(xt, { param: A, defaultValues: a, onChange: i, onOpenResource: s, readOnly: p, presentation: "horizontal", size: D === "small" ? "xs" : "sm" }, A.id), e[15] = a, e[16] = i, e[17] = s, e[18] = p, e[19] = D, e[20] = v) : v = e[20];
554
- const k = v, I = P.filter(Xt), y = P.filter(he), S = E.map(Ut).filter(Yt), R = E.map(Jt).filter(Qt), G = D === "small" ? "xs" : "sm", $ = I.length > 0 || S.length > 0;
555
+ e[15] !== a || e[16] !== i || e[17] !== s || e[18] !== p || e[19] !== D ? (v = (A) => /* @__PURE__ */ d(vt, { param: A, defaultValues: a, onChange: i, onOpenResource: s, readOnly: p, presentation: "horizontal", size: D === "small" ? "xs" : "sm" }, A.id), e[15] = a, e[16] = i, e[17] = s, e[18] = p, e[19] = D, e[20] = v) : v = e[20];
556
+ const k = v, I = P.filter(qt), y = P.filter(he), S = E.map(Yt).filter(Jt), R = E.map(Qt).filter(Zt), G = D === "small" ? "xs" : "sm", $ = I.length > 0 || S.length > 0;
555
557
  f = q, g = "1", o = "full", u = G, b = "0", h = $ ? /* @__PURE__ */ B(X, { gap: G, flexWrap: "wrap", alignItems: "start", minW: "0", children: [
556
558
  I.map(k),
557
559
  S.map((A) => {
@@ -581,44 +583,44 @@ const Ne = (r, e, t = 0) => {
581
583
  m
582
584
  ] }), e[26] = f, e[27] = g, e[28] = o, e[29] = u, e[30] = b, e[31] = h, e[32] = l, e[33] = m, e[34] = x) : x = e[34], x;
583
585
  };
584
- function Nt(r) {
586
+ function Xt(r) {
585
587
  return {
586
588
  ...r,
587
589
  params: r.params.filter(He)
588
590
  };
589
591
  }
590
- function Xt(r) {
591
- return !he(r);
592
- }
593
592
  function qt(r) {
594
593
  return !he(r);
595
594
  }
596
595
  function Ut(r) {
596
+ return !he(r);
597
+ }
598
+ function Yt(r) {
597
599
  return {
598
600
  group: r,
599
- params: r.params.filter(qt)
601
+ params: r.params.filter(Ut)
600
602
  };
601
603
  }
602
- function Yt(r) {
604
+ function Jt(r) {
603
605
  const {
604
606
  params: e
605
607
  } = r;
606
608
  return e.length > 0;
607
609
  }
608
- function Jt(r) {
610
+ function Qt(r) {
609
611
  return {
610
612
  group: r,
611
613
  params: r.params.filter(he)
612
614
  };
613
615
  }
614
- function Qt(r) {
616
+ function Zt(r) {
615
617
  const {
616
618
  params: e
617
619
  } = r;
618
620
  return e.length > 0;
619
621
  }
620
- const Zt = (r) => {
621
- const e = K(7), {
622
+ const en = (r) => {
623
+ const e = M(7), {
622
624
  disabled: t,
623
625
  field: n,
624
626
  onChange: a
@@ -626,9 +628,9 @@ const Zt = (r) => {
626
628
  let p;
627
629
  e[0] !== a ? (p = (f) => a(f), e[0] = a, e[1] = p) : p = e[1];
628
630
  let c;
629
- return e[2] !== n.placeholder || e[3] !== i || e[4] !== s || e[5] !== p ? (c = /* @__PURE__ */ d(Dt, { defaultState: i, isEditable: s, placeholder: n.placeholder, autoFocus: !0, onChange: p }), e[2] = n.placeholder, e[3] = i, e[4] = s, e[5] = p, e[6] = c) : c = e[6], c;
630
- }, en = (r) => {
631
- const e = K(24), {
631
+ return e[2] !== n.placeholder || e[3] !== i || e[4] !== s || e[5] !== p ? (c = /* @__PURE__ */ d(It, { defaultState: i, isEditable: s, placeholder: n.placeholder, autoFocus: !0, onChange: p }), e[2] = n.placeholder, e[3] = i, e[4] = s, e[5] = p, e[6] = c) : c = e[6], c;
632
+ }, tn = (r) => {
633
+ const e = M(24), {
632
634
  disabled: t,
633
635
  field: n,
634
636
  removeLabel: a,
@@ -653,15 +655,15 @@ const Zt = (r) => {
653
655
  n.label
654
656
  ] }), e[12] = t, e[13] = n.label, e[14] = l) : l = e[14];
655
657
  let m;
656
- e[15] !== t || e[16] !== f || e[17] !== s || e[18] !== a ? (m = f.length > 0 ? /* @__PURE__ */ d(we, { gap: "2xs", children: f.map((C, w) => /* @__PURE__ */ d(St, { file: C, disabled: t, removeLabel: a, onRemove: () => s(f.filter((D, P) => P !== w)) }, `${C.name}-${w.toString()}`)) }) : null, e[15] = t, e[16] = f, e[17] = s, e[18] = a, e[19] = m) : m = e[19];
658
+ e[15] !== t || e[16] !== f || e[17] !== s || e[18] !== a ? (m = f.length > 0 ? /* @__PURE__ */ d(we, { gap: "2xs", children: f.map((C, w) => /* @__PURE__ */ d(Ct, { file: C, disabled: t, removeLabel: a, onRemove: () => s(f.filter((D, P) => P !== w)) }, `${C.name}-${w.toString()}`)) }) : null, e[15] = t, e[16] = f, e[17] = s, e[18] = a, e[19] = m) : m = e[19];
657
659
  let x;
658
660
  return e[20] !== u || e[21] !== l || e[22] !== m ? (x = /* @__PURE__ */ B(q, { gap: "2xs", align: "start", children: [
659
661
  u,
660
662
  l,
661
663
  m
662
664
  ] }), e[20] = u, e[21] = l, e[22] = m, e[23] = x) : x = e[23], x;
663
- }, tn = (r) => {
664
- const e = K(45), {
665
+ }, nn = (r) => {
666
+ const e = M(45), {
665
667
  disabled: t,
666
668
  field: n,
667
669
  value: a,
@@ -681,12 +683,12 @@ const Zt = (r) => {
681
683
  let h;
682
684
  e[11] !== n.options ? (h = n.options ?? [], e[11] = n.options, e[12] = h) : h = e[12];
683
685
  let l;
684
- e[13] !== h ? (l = h.map(rn), e[13] = h, e[14] = l) : l = e[14];
686
+ e[13] !== h ? (l = h.map(on), e[13] = h, e[14] = l) : l = e[14];
685
687
  const m = n.type === "multi-select", x = n.placeholder ?? n.label, C = !n.required;
686
688
  let w;
687
689
  e[15] !== i ? (w = (P, E) => i(E), e[15] = i, e[16] = w) : w = e[16];
688
690
  let D;
689
- return e[17] !== t || e[18] !== n.id || e[19] !== n.label || e[20] !== u || e[21] !== b || e[22] !== l || e[23] !== m || e[24] !== x || e[25] !== C || e[26] !== w ? (D = /* @__PURE__ */ d(Ct, { hideLabel: !0, id: g, name: o, description: u, defaultValue: b, options: l, multiSelect: m, placeholder: x, clearable: C, readOnly: t, onChange: w }), e[17] = t, e[18] = n.id, e[19] = n.label, e[20] = u, e[21] = b, e[22] = l, e[23] = m, e[24] = x, e[25] = C, e[26] = w, e[27] = D) : D = e[27], D;
691
+ return e[17] !== t || e[18] !== n.id || e[19] !== n.label || e[20] !== u || e[21] !== b || e[22] !== l || e[23] !== m || e[24] !== x || e[25] !== C || e[26] !== w ? (D = /* @__PURE__ */ d(xt, { hideLabel: !0, id: g, name: o, description: u, defaultValue: b, options: l, multiSelect: m, placeholder: x, clearable: C, readOnly: t, onChange: w }), e[17] = t, e[18] = n.id, e[19] = n.label, e[20] = u, e[21] = b, e[22] = l, e[23] = m, e[24] = x, e[25] = C, e[26] = w, e[27] = D) : D = e[27], D;
690
692
  }
691
693
  if (n.type === "boolean") {
692
694
  let g;
@@ -699,8 +701,8 @@ const Zt = (r) => {
699
701
  e[35] !== n.type || e[36] !== i ? (c = (g) => i(n.type === "number" && g.target.value ? Number(g.target.value) : g.target.value), e[35] = n.type, e[36] = i, e[37] = c) : c = e[37];
700
702
  let f;
701
703
  return e[38] !== t || e[39] !== n.label || e[40] !== n.placeholder || e[41] !== s || e[42] !== p || e[43] !== c ? (f = /* @__PURE__ */ d(it, { "aria-label": n.label, size: "sm", type: s, placeholder: n.placeholder, value: p, disabled: t, onChange: c }), e[38] = t, e[39] = n.label, e[40] = n.placeholder, e[41] = s, e[42] = p, e[43] = c, e[44] = f) : f = e[44], f;
702
- }, nn = (r) => {
703
- const e = K(20), {
704
+ }, rn = (r) => {
705
+ const e = M(20), {
704
706
  disabled: t,
705
707
  field: n,
706
708
  removeLabel: a,
@@ -709,11 +711,11 @@ const Zt = (r) => {
709
711
  } = r;
710
712
  if (n.type === "files") {
711
713
  let u;
712
- return e[0] !== t || e[1] !== n || e[2] !== s || e[3] !== a || e[4] !== i ? (u = /* @__PURE__ */ d(en, { disabled: t, field: n, removeLabel: a, value: i, onChange: s }), e[0] = t, e[1] = n, e[2] = s, e[3] = a, e[4] = i, e[5] = u) : u = e[5], u;
714
+ return e[0] !== t || e[1] !== n || e[2] !== s || e[3] !== a || e[4] !== i ? (u = /* @__PURE__ */ d(tn, { disabled: t, field: n, removeLabel: a, value: i, onChange: s }), e[0] = t, e[1] = n, e[2] = s, e[3] = a, e[4] = i, e[5] = u) : u = e[5], u;
713
715
  }
714
716
  if (n.type === "markdown") {
715
717
  let u;
716
- return e[6] !== t || e[7] !== n || e[8] !== s ? (u = /* @__PURE__ */ d(Zt, { disabled: t, field: n, onChange: s }), e[6] = t, e[7] = n, e[8] = s, e[9] = u) : u = e[9], u;
718
+ return e[6] !== t || e[7] !== n || e[8] !== s ? (u = /* @__PURE__ */ d(en, { disabled: t, field: n, onChange: s }), e[6] = t, e[7] = n, e[8] = s, e[9] = u) : u = e[9], u;
717
719
  }
718
720
  const p = `${n.label}${n.required ? " *" : ""}`;
719
721
  let c;
@@ -721,7 +723,7 @@ const Zt = (r) => {
721
723
  let f;
722
724
  e[12] !== n.description ? (f = n.description ? /* @__PURE__ */ d(_, { textStyle: "paragraph/XS/regular", color: "fg.muted", children: n.description }) : null, e[12] = n.description, e[13] = f) : f = e[13];
723
725
  let g;
724
- e[14] !== r ? (g = /* @__PURE__ */ d(tn, { ...r }), e[14] = r, e[15] = g) : g = e[15];
726
+ e[14] !== r ? (g = /* @__PURE__ */ d(nn, { ...r }), e[14] = r, e[15] = g) : g = e[15];
725
727
  let o;
726
728
  return e[16] !== c || e[17] !== f || e[18] !== g ? (o = /* @__PURE__ */ B(q, { gap: "2xs", children: [
727
729
  c,
@@ -729,7 +731,7 @@ const Zt = (r) => {
729
731
  g
730
732
  ] }), e[16] = c, e[17] = f, e[18] = g, e[19] = o) : o = e[19], o;
731
733
  };
732
- function rn(r) {
734
+ function on(r) {
733
735
  return {
734
736
  id: r.value,
735
737
  name: r.label,
@@ -737,7 +739,7 @@ function rn(r) {
737
739
  color: r.color
738
740
  };
739
741
  }
740
- const on = (r) => r.type === "files" || r.type === "multi-select" ? [] : r.type === "boolean" ? !1 : "", Be = (r) => Object.fromEntries(r.map((e) => [e.id, e.defaultValue ?? on(e)])), ln = (r, e) => r.required ? Array.isArray(e) ? e.length > 0 : typeof e == "string" ? e.trim().length > 0 : e != null : !0, De = (r) => r.filter((e) => e.editable), ze = (r, e, t) => Object.fromEntries(r.map((n) => [n.id, n.id === e ? t : n.type.kind === "enum-multi" ? [] : ""])), an = (r, e) => {
742
+ const ln = (r) => r.type === "files" || r.type === "multi-select" ? [] : r.type === "boolean" ? !1 : "", Be = (r) => Object.fromEntries(r.map((e) => [e.id, e.defaultValue ?? ln(e)])), an = (r, e) => r.required ? Array.isArray(e) ? e.length > 0 : typeof e == "string" ? e.trim().length > 0 : e != null : !0, De = (r) => r.filter((e) => e.editable), ze = (r, e, t) => Object.fromEntries(r.map((n) => [n.id, n.id === e ? t : n.type.kind === "enum-multi" ? [] : ""])), sn = (r, e) => {
741
743
  const t = {
742
744
  id: r.id,
743
745
  name: r.label,
@@ -774,7 +776,7 @@ const on = (r) => r.type === "files" || r.type === "multi-select" ? [] : r.type
774
776
  defaultValue: "",
775
777
  singleLine: !0
776
778
  };
777
- }, sn = (r) => {
779
+ }, dn = (r) => {
778
780
  const {
779
781
  open: e,
780
782
  columnId: t,
@@ -813,7 +815,7 @@ const on = (r) => r.type === "files" || r.type === "multi-select" ? [] : r.type
813
815
  }, [a, e, t, n]);
814
816
  const D = () => {
815
817
  u || s();
816
- }, P = i.fields.every((v) => ln(v, c[v.id])), E = async () => {
818
+ }, P = i.fields.every((v) => an(v, c[v.id])), E = async () => {
817
819
  if (!(!P || u)) {
818
820
  b(!0), l("");
819
821
  try {
@@ -834,19 +836,21 @@ const on = (r) => r.type === "files" || r.type === "multi-select" ? [] : r.type
834
836
  };
835
837
  return /* @__PURE__ */ B(ne.Root, { open: e, size: "lg", scrollBehavior: "inside", onOpenChange: (v) => !v.open && D(), children: [
836
838
  /* @__PURE__ */ d(ne.Backdrop, {}),
837
- /* @__PURE__ */ d(ne.Positioner, { children: /* @__PURE__ */ B(ne.Content, { maxH: "calc(100% - 48px)", children: [
839
+ /* @__PURE__ */ d(ne.Positioner, { children: /* @__PURE__ */ B(ne.Content, { maxH: "calc(100% - 48px)", onKeyDownCapture: (v) => Dt(v, () => {
840
+ E();
841
+ }, P && !u), children: [
838
842
  /* @__PURE__ */ B(ne.Header, { children: [
839
843
  /* @__PURE__ */ d(_, { textStyle: "heading/M/semibold", children: i.title }),
840
844
  /* @__PURE__ */ d(ne.CloseTrigger, { asChild: !0, children: /* @__PURE__ */ d(st, { size: "sm", disabled: u }) })
841
845
  ] }),
842
846
  /* @__PURE__ */ d(ne.Body, { children: /* @__PURE__ */ B(q, { gap: "md", children: [
843
- i.fields.map((v) => /* @__PURE__ */ d(nn, { field: v, removeLabel: i.labels.removeFile, value: c[v.id], disabled: u, onChange: (k) => f((I) => ({
847
+ i.fields.map((v) => /* @__PURE__ */ d(rn, { field: v, removeLabel: i.labels.removeFile, value: c[v.id], disabled: u, onChange: (k) => f((I) => ({
844
848
  ...I,
845
849
  [v.id]: k
846
850
  })) }, `${v.id}:${m.toString()}`)),
847
851
  w.length > 0 ? /* @__PURE__ */ B(q, { gap: "2xs", children: [
848
852
  /* @__PURE__ */ d(_, { textStyle: "label/S/medium", children: i.labels.properties }),
849
- /* @__PURE__ */ d(Ft, { variant: "small", params: w.map((v) => an(v, v.id === n)), defaultValues: g, readOnly: u, onChange: (v, k) => o((I) => ({
853
+ /* @__PURE__ */ d(Nt, { variant: "small", params: w.map((v) => sn(v, v.id === n)), defaultValues: g, readOnly: u, onChange: (v, k) => o((I) => ({
850
854
  ...I,
851
855
  [v]: k
852
856
  })) })
@@ -861,7 +865,7 @@ const on = (r) => r.type === "files" || r.type === "multi-select" ? [] : r.type
861
865
  ] }) })
862
866
  ] }) })
863
867
  ] });
864
- }, dn = (r) => {
868
+ }, cn = (r) => {
865
869
  const {
866
870
  settings: e,
867
871
  visibleRows: t,
@@ -887,8 +891,8 @@ const on = (r) => r.type === "files" || r.type === "multi-select" ? [] : r.type
887
891
  eyebrow: x && x !== l.title ? x : void 0,
888
892
  title: l.title,
889
893
  ...u(l),
890
- badges: Ke(l, a, g),
891
- customSlots: Me(l, a, g),
894
+ badges: Me(l, a, g),
895
+ customSlots: Ke(l, a, g),
892
896
  contextMenuActions: c?.(l),
893
897
  onClick: () => i?.(l),
894
898
  onBadgeChange: s ? (C, w) => s(l.id, C, w) : void 0,
@@ -927,11 +931,11 @@ const on = (r) => r.type === "files" || r.type === "multi-select" ? [] : r.type
927
931
  columnKey: l.key
928
932
  }))
929
933
  } : h(l));
930
- }, cn = (r) => {
934
+ }, un = (r) => {
931
935
  const e = r.attributes.id;
932
936
  return typeof e == "string" && e ? e : r.id;
933
- }, Gn = (r) => {
934
- const e = K(59), {
937
+ }, En = (r) => {
938
+ const e = M(59), {
935
939
  rows: t,
936
940
  storageKey: n,
937
941
  attributes: a,
@@ -961,7 +965,7 @@ const on = (r) => r.type === "files" || r.type === "multi-select" ? [] : r.type
961
965
  views: o,
962
966
  activeViewId: u
963
967
  }, e[0] = u, e[1] = g, e[2] = f, e[3] = o, e[4] = $) : $ = e[4];
964
- const O = $, T = pe(n, un, O), A = pe(n, pn, O), z = pe(n, gn, O), U = pe(n, fn, O);
968
+ const O = $, T = pe(n, pn, O), A = pe(n, gn, O), z = pe(n, fn, O), U = pe(n, mn, O);
965
969
  let V, ee;
966
970
  if (e[5] !== S || e[6] !== A || e[7] !== w || e[8] !== D || e[9] !== h || e[10] !== l || e[11] !== b || e[12] !== t || e[13] !== T) {
967
971
  const se = Qe(t, A, S), de = Ze(T.columnGrouping, S, A), le = et(se, {
@@ -970,7 +974,7 @@ const on = (r) => r.type === "files" || r.type === "multi-select" ? [] : r.type
970
974
  rowGrouping: T.rowGrouping,
971
975
  knownColumnKeys: de
972
976
  });
973
- V = dn({
977
+ V = cn({
974
978
  settings: T,
975
979
  visibleRows: se,
976
980
  grouped: le,
@@ -980,14 +984,14 @@ const on = (r) => r.type === "files" || r.type === "multi-select" ? [] : r.type
980
984
  onReorder: l,
981
985
  getRowContextMenuActions: D
982
986
  });
983
- const Ge = T.displayProperties.filter(mn), Re = (J) => J.map((L) => ({
987
+ const Ge = T.displayProperties.filter(bn), Re = (J) => J.map((L) => ({
984
988
  id: L.id,
985
989
  contextMenuActions: D?.(L),
986
990
  cardProps: {
987
- eyebrow: T.displayProperties.includes("id") ? cn(L) : void 0,
991
+ eyebrow: T.displayProperties.includes("id") ? un(L) : void 0,
988
992
  title: L.title,
989
- badges: Ke(L, S, Ge),
990
- customSlots: Me(L, S, Ge),
993
+ badges: Me(L, S, Ge),
994
+ customSlots: Ke(L, S, Ge),
991
995
  onBadgeChange: h ? (xe, ue) => h(L.id, xe, ue) : void 0,
992
996
  onClick: () => b?.(L)
993
997
  }
@@ -1016,7 +1020,7 @@ const on = (r) => r.type === "files" || r.type === "multi-select" ? [] : r.type
1016
1020
  const oe = ee;
1017
1021
  let te;
1018
1022
  e[16] !== h || e[17] !== l || e[18] !== T ? (te = async (se, de, le) => {
1019
- await It({
1023
+ await wt({
1020
1024
  settings: T,
1021
1025
  rowId: se,
1022
1026
  targetColumnId: de,
@@ -1029,7 +1033,7 @@ const on = (r) => r.type === "files" || r.type === "multi-select" ? [] : r.type
1029
1033
  const H = te;
1030
1034
  let Y;
1031
1035
  e[20] !== h || e[21] !== l || e[22] !== T ? (Y = async (se, de, le) => {
1032
- await wt({
1036
+ await kt({
1033
1037
  settings: T,
1034
1038
  rowId: se,
1035
1039
  targetGroupKey: de,
@@ -1038,14 +1042,14 @@ const on = (r) => r.type === "files" || r.type === "multi-select" ? [] : r.type
1038
1042
  onReorder: l
1039
1043
  });
1040
1044
  }, e[20] = h, e[21] = l, e[22] = T, e[23] = Y) : Y = e[23];
1041
- const M = Y;
1045
+ const K = Y;
1042
1046
  let j;
1043
1047
  e[24] !== S || e[25] !== u || e[26] !== g || e[27] !== f || e[28] !== o || e[29] !== y || e[30] !== t || e[31] !== n || e[32] !== E ? (j = y ? null : /* @__PURE__ */ d(tt, { rows: t, storageKey: n, attributes: S, defaultSettings: f, defaultFilters: g, defaultViews: o, defaultActiveViewId: u, leading: E }), e[24] = S, e[25] = u, e[26] = g, e[27] = f, e[28] = o, e[29] = y, e[30] = t, e[31] = n, e[32] = E, e[33] = j) : j = e[33];
1044
1048
  const ye = m && x ? G : void 0, ve = `${T.columnGrouping}:${T.rowGrouping}`;
1045
1049
  let ae;
1046
- e[34] !== oe || e[35] !== I || e[36] !== s || e[37] !== k || e[38] !== z || e[39] !== H || e[40] !== M || e[41] !== V || e[42] !== C || e[43] !== v || e[44] !== U || e[45] !== T.viewMode || e[46] !== ve || e[47] !== ye ? (ae = /* @__PURE__ */ d(Ht, { viewMode: T.viewMode, boardColumns: oe, listItems: V, listExpandedGroups: z, selectedRowId: v, emptyState: s, emptyTitle: k, emptyDescription: I, onBoardMoveItem: H, onBoardMoveToGroup: M, onCreateRow: ye, onColumnAction: C, onListExpandedGroupChange: U, listKey: ve }), e[34] = oe, e[35] = I, e[36] = s, e[37] = k, e[38] = z, e[39] = H, e[40] = M, e[41] = V, e[42] = C, e[43] = v, e[44] = U, e[45] = T.viewMode, e[46] = ve, e[47] = ye, e[48] = ae) : ae = e[48];
1050
+ e[34] !== oe || e[35] !== I || e[36] !== s || e[37] !== k || e[38] !== z || e[39] !== H || e[40] !== K || e[41] !== V || e[42] !== C || e[43] !== v || e[44] !== U || e[45] !== T.viewMode || e[46] !== ve || e[47] !== ye ? (ae = /* @__PURE__ */ d(jt, { viewMode: T.viewMode, boardColumns: oe, listItems: V, listExpandedGroups: z, selectedRowId: v, emptyState: s, emptyTitle: k, emptyDescription: I, onBoardMoveItem: H, onBoardMoveToGroup: K, onCreateRow: ye, onColumnAction: C, onListExpandedGroupChange: U, listKey: ve }), e[34] = oe, e[35] = I, e[36] = s, e[37] = k, e[38] = z, e[39] = H, e[40] = K, e[41] = V, e[42] = C, e[43] = v, e[44] = U, e[45] = T.viewMode, e[46] = ve, e[47] = ye, e[48] = ae) : ae = e[48];
1047
1051
  let ie;
1048
- e[49] !== S || e[50] !== R || e[51] !== m || e[52] !== x || e[53] !== T.columnGrouping ? (ie = m && x && R ? /* @__PURE__ */ d(sn, { open: !0, columnId: R, columnAttributeId: T.columnGrouping === Z ? void 0 : T.columnGrouping, attributes: S, config: m, onClose: () => G(null), onSubmit: x }) : null, e[49] = S, e[50] = R, e[51] = m, e[52] = x, e[53] = T.columnGrouping, e[54] = ie) : ie = e[54];
1052
+ e[49] !== S || e[50] !== R || e[51] !== m || e[52] !== x || e[53] !== T.columnGrouping ? (ie = m && x && R ? /* @__PURE__ */ d(dn, { open: !0, columnId: R, columnAttributeId: T.columnGrouping === Z ? void 0 : T.columnGrouping, attributes: S, config: m, onClose: () => G(null), onSubmit: x }) : null, e[49] = S, e[50] = R, e[51] = m, e[52] = x, e[53] = T.columnGrouping, e[54] = ie) : ie = e[54];
1049
1053
  let ce;
1050
1054
  return e[55] !== ae || e[56] !== ie || e[57] !== j ? (ce = /* @__PURE__ */ B(q, { "data-testid": "kanban-renderer", height: "100%", minH: "0", gap: "0", background: "bg", overflow: "hidden", children: [
1051
1055
  j,
@@ -1053,48 +1057,48 @@ const on = (r) => r.type === "files" || r.type === "multi-select" ? [] : r.type
1053
1057
  ie
1054
1058
  ] }), e[55] = ae, e[56] = ie, e[57] = j, e[58] = ce) : ce = e[58], ce;
1055
1059
  };
1056
- function un(r) {
1060
+ function pn(r) {
1057
1061
  return r.settings;
1058
1062
  }
1059
- function pn(r) {
1063
+ function gn(r) {
1060
1064
  return r.filters;
1061
1065
  }
1062
- function gn(r) {
1066
+ function fn(r) {
1063
1067
  return r.expandedGroups;
1064
1068
  }
1065
- function fn(r) {
1069
+ function mn(r) {
1066
1070
  return r.setExpandedGroup;
1067
1071
  }
1068
- function mn(r) {
1072
+ function bn(r) {
1069
1073
  return r !== "id";
1070
1074
  }
1071
1075
  export {
1072
- En as DisplayMenu,
1073
- Pn as FilterMenu,
1074
- Gn as KanbanRenderer,
1075
- $t as KanbanRendererBoard,
1076
+ On as DisplayMenu,
1077
+ $n as FilterMenu,
1078
+ En as KanbanRenderer,
1079
+ Bt as KanbanRendererBoard,
1076
1080
  Fe as KanbanRendererCard,
1077
- sn as KanbanRendererCreateDialog,
1078
- Vt as KanbanRendererList,
1081
+ dn as KanbanRendererCreateDialog,
1082
+ Wt as KanbanRendererList,
1079
1083
  tt as KanbanRendererToolbar,
1080
1084
  Ie as MANUAL_ORDERING,
1081
1085
  Z as NO_GROUPING,
1082
- An as buildDisplayPropertyOptions,
1083
- On as buildFilterCategories,
1084
- $n as buildGroupingOptions,
1085
- Bn as buildOrderingOptions,
1086
- Ke as collectDisplayBadges,
1086
+ Bn as buildDisplayPropertyOptions,
1087
+ zn as buildFilterCategories,
1088
+ Kn as buildGroupingOptions,
1089
+ Mn as buildOrderingOptions,
1090
+ Me as collectDisplayBadges,
1087
1091
  Le as findAttribute,
1088
- zn as getAttributeStringValues,
1089
- Mn as getAttributeValue,
1092
+ Ln as getAttributeStringValues,
1093
+ _n as getAttributeValue,
1090
1094
  Ue as getEnumOptions,
1091
- Kn as isActiveKanbanRendererViewDirty,
1092
- Ln as isAttributesSource,
1093
- _n as isEnumOptionsSource,
1094
- Vn as renderAttributeBadge,
1095
- Wn as resolveAttributeOptions,
1096
- Hn as sanitizeFilters,
1097
- jn as sanitizeSettings,
1095
+ Vn as isActiveKanbanRendererViewDirty,
1096
+ Wn as isAttributesSource,
1097
+ Hn as isEnumOptionsSource,
1098
+ jn as renderAttributeBadge,
1099
+ Fn as resolveAttributeOptions,
1100
+ Nn as sanitizeFilters,
1101
+ Xn as sanitizeSettings,
1098
1102
  pe as useKanbanRendererStore,
1099
1103
  Je as useResolvedAttributes
1100
1104
  };