@pstdio/ui 0.19.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 (101) 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 +19 -20
  6. package/dist/chat-ui.js.map +1 -1
  7. package/dist/components/data-table/data-table-header.d.ts +3 -1
  8. package/dist/components/data-table/edit-mode-data-table-body.d.ts +29 -0
  9. package/dist/components/data-table/edit-mode-data-table-cell.d.ts +15 -0
  10. package/dist/components/data-table/edit-mode-data-table-editors.d.ts +19 -0
  11. package/dist/components/data-table/edit-mode-data-table-header.d.ts +23 -0
  12. package/dist/components/data-table/edit-mode-data-table-selection.d.ts +12 -0
  13. package/dist/components/data-table/edit-mode-data-table.d.ts +2 -0
  14. package/dist/components/data-table/edit-mode-story.d.ts +5 -0
  15. package/dist/components/data-table/index.d.ts +1 -1
  16. package/dist/components/data-table/pagination-footer.d.ts +8 -5
  17. package/dist/components/data-table/types.d.ts +24 -0
  18. package/dist/components/rich-text/index.d.ts +2 -0
  19. package/dist/components/rich-text/markdown-editor/markdown-editor.d.ts +7 -0
  20. package/dist/components/rich-text/markdown-editor/markdown-table.story-fixture.d.ts +3 -0
  21. package/dist/components/rich-text/markdown-editor/plugins/MarkdownSectionNavigationPlugin.d.ts +8 -0
  22. package/dist/components/rich-text/markdown-editor/plugins/MarkdownSlashCommandPlugin.d.ts +1 -0
  23. package/dist/components/rich-text/markdown-editor/plugins/markdown-history-plugin.d.ts +1 -0
  24. package/dist/components/rich-text/markdown-editor/plugins/markdown-section-navigation.d.ts +20 -0
  25. package/dist/components/rich-text/rich-message/rich-message.d.ts +2 -0
  26. package/dist/components/rich-text/shared/markdown-ast.d.ts +6 -0
  27. package/dist/components/rich-text/shared/markdown-codec.d.ts +3 -0
  28. package/dist/components/rich-text/shared/markdown-export.d.ts +2 -0
  29. package/dist/components/rich-text/shared/markdown-import.d.ts +2 -0
  30. package/dist/components/rich-text/shared/markdown-inline.d.ts +5 -0
  31. package/dist/components/rich-text/shared/markdown-table.d.ts +41 -0
  32. package/dist/components/rich-text/shared/markdown-url-context.d.ts +9 -0
  33. package/dist/components/rich-text/shared/markdown-url.d.ts +3 -0
  34. package/dist/components/rich-text/shared/nodes/DataTableNode.d.ts +13 -11
  35. package/dist/components/rich-text/shared/nodes/MarkdownImageNode.d.ts +35 -0
  36. package/dist/components/rich-text/shared/nodes/MarkdownLinkNode.d.ts +18 -0
  37. package/dist/components/rich-text/shared/nodes/RawHtmlNode.d.ts +31 -0
  38. package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/floating-toolbar-buttons.d.ts +4 -2
  39. package/dist/components/rich-text/shared/plugins/FloatingTextFormatToolbarPlugin/resolve-block-type.d.ts +1 -1
  40. package/dist/components/rich-text/shared/plugins/LinkEditorPlugin/utils/setFloatingElemPos.d.ts +1 -1
  41. package/dist/components/rich-text/shared/plugins/MermaidPlugin/MermaidNode.d.ts +1 -0
  42. package/dist/components/rich-text/shared/transformers/markdown-transformers.d.ts +2 -3
  43. package/dist/data-table.js +723 -923
  44. package/dist/data-table.js.map +1 -1
  45. package/dist/diff.js +4 -4
  46. package/dist/edit-mode-data-table-4GMiDy75.js +775 -0
  47. package/dist/edit-mode-data-table-4GMiDy75.js.map +1 -0
  48. package/dist/editor-config-Dyh8n5A2.js +2416 -0
  49. package/dist/editor-config-Dyh8n5A2.js.map +1 -0
  50. package/dist/index.js +142 -144
  51. package/dist/index.js.map +1 -1
  52. package/dist/{kanban-renderer-toolbar-Bcj_N1qr.js → kanban-renderer-toolbar-BcUZvGyY.js} +359 -361
  53. package/dist/kanban-renderer-toolbar-BcUZvGyY.js.map +1 -0
  54. package/dist/kanban-renderer.js +28 -27
  55. package/dist/kanban-renderer.js.map +1 -1
  56. package/dist/{lazy-markdown-editor-DwhqQ-NN.js → lazy-markdown-editor-CWSREEhf.js} +2 -2
  57. package/dist/{lazy-markdown-editor-DwhqQ-NN.js.map → lazy-markdown-editor-CWSREEhf.js.map} +1 -1
  58. package/dist/{list-row-BtoVJpFs.js → list-row-B8L4TGsh.js} +2 -2
  59. package/dist/{list-row-BtoVJpFs.js.map → list-row-B8L4TGsh.js.map} +1 -1
  60. package/dist/{mermaid-renderer-DZo3qj6D.js → mermaid-renderer-H3IhLqnQ.js} +3 -3
  61. package/dist/{mermaid-renderer-DZo3qj6D.js.map → mermaid-renderer-H3IhLqnQ.js.map} +1 -1
  62. package/dist/mermaid.js +1 -1
  63. package/dist/number-input-WUfejtNx.js +343 -0
  64. package/dist/number-input-WUfejtNx.js.map +1 -0
  65. package/dist/param-editor-field-C8zRDStn.js +2845 -0
  66. package/dist/param-editor-field-C8zRDStn.js.map +1 -0
  67. package/dist/{param-editor-XRjSu6MT.js → param-editor-w3xH-t8A.js} +2 -2
  68. package/dist/{param-editor-XRjSu6MT.js.map → param-editor-w3xH-t8A.js.map} +1 -1
  69. package/dist/rich-message-jZ2oPQhU.js +658 -0
  70. package/dist/rich-message-jZ2oPQhU.js.map +1 -0
  71. package/dist/rich-text.js +182 -110
  72. package/dist/rich-text.js.map +1 -1
  73. package/dist/style.css +1 -1
  74. package/dist/theme/recipes/button.d.ts +11 -0
  75. package/dist/{theme-7PDdD9OD.js → theme-J8K8KbZi.js} +12 -1
  76. package/dist/theme-J8K8KbZi.js.map +1 -0
  77. package/dist/{theme-preference-DOzHx64J.js → theme-preference-DyymrYpR.js} +2 -2
  78. package/dist/{theme-preference-DOzHx64J.js.map → theme-preference-DyymrYpR.js.map} +1 -1
  79. package/dist/theme.js +1 -1
  80. package/dist/{tree-list-B2L0cTj2.js → tree-list-CC13pOYi.js} +2 -2
  81. package/dist/{tree-list-B2L0cTj2.js.map → tree-list-CC13pOYi.js.map} +1 -1
  82. package/package.json +9 -1
  83. package/dist/browser-storage-BinyFNJX.js +0 -40
  84. package/dist/browser-storage-BinyFNJX.js.map +0 -1
  85. package/dist/checkbox-B2zYVemL.js +0 -70
  86. package/dist/checkbox-B2zYVemL.js.map +0 -1
  87. package/dist/components/data-table/editable-cells-story.d.ts +0 -9
  88. package/dist/kanban-renderer-toolbar-Bcj_N1qr.js.map +0 -1
  89. package/dist/markdown-DDd2ESoH.js +0 -743
  90. package/dist/markdown-DDd2ESoH.js.map +0 -1
  91. package/dist/markdown-editor-CYVkzt8t.js +0 -741
  92. package/dist/markdown-editor-CYVkzt8t.js.map +0 -1
  93. package/dist/param-editor-field-B9lEPq8c.js +0 -3028
  94. package/dist/param-editor-field-B9lEPq8c.js.map +0 -1
  95. package/dist/resource-badge-CuItchgL.js +0 -98
  96. package/dist/resource-badge-CuItchgL.js.map +0 -1
  97. package/dist/rich-message--eRzjWYK.js +0 -730
  98. package/dist/rich-message--eRzjWYK.js.map +0 -1
  99. package/dist/scroll-area-BMbg1WcD.js +0 -91
  100. package/dist/scroll-area-BMbg1WcD.js.map +0 -1
  101. package/dist/theme-7PDdD9OD.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,30 +1,28 @@
1
1
  import { Avatar as at, Box as V, Text as W, Stack as j, HStack as re, chakra as Ie, Textarea as rn, Spacer as Ft, IconButton as We, Icon as se, Timeline as we, Dialog as X, CloseButton as Ht, Input as Mt, InputGroup as Vt, Kbd as ln, Collapsible as Xe, Flex as ge, Badge as Ne, Button as de, Skeleton as mt, Portal as Je, Breadcrumb as fe, AbsoluteCenter as sn, Center as an, Popover as qe, Grid as pt, defineSlotRecipe as cn, createSlotRecipeContext as dn, createToaster as un, Toaster as fn, Toast as Le, Spinner as Gt, Editable as Be, Menu as Ve } from "@chakra-ui/react";
2
- import { ChakraProvider as $l } from "@chakra-ui/react";
2
+ import { ChakraProvider as _l } from "@chakra-ui/react";
3
3
  import { jsx as s, jsxs as x, Fragment as Fe } from "react/jsx-runtime";
4
4
  import { c as P } from "react/compiler-runtime";
5
5
  import * as gt from "react";
6
6
  import { Children as hn, useState as ue, useEffect as he, useRef as je, Fragment as bt, forwardRef as jt, Component as mn, createContext as pn, useContext as gn } from "react";
7
7
  import { Paperclip as bn, ArrowUp as xn, Check as et, ArrowRight as Sn, ArrowLeft as vn, Option as xt, Command as Ye, ChevronRight as yn, Bell as Cn, X as wn, Search as Ut, SquareArrowOutUpRight as In, Minus as Tn, FileText as Pn, FolderOpen as An, Folder as Qt, Home as Rn, ChevronUp as En, ChevronDown as kn, GripVertical as _n, Trash2 as $n, Plus as On } from "lucide-react";
8
- import { T as Ue, S as tt } from "./scroll-area-BMbg1WcD.js";
8
+ import { T as Ue, S as tt, c as He } from "./browser-storage-DPtOQJx0.js";
9
9
  import { useVirtualizer as Dn } from "@tanstack/react-virtual";
10
- import { L as nt, H as Ln, R as Xt } from "./list-row-BtoVJpFs.js";
11
- import { c as Dl, b as Ll } from "./list-row-BtoVJpFs.js";
12
- import { T as zn } from "./tree-list-B2L0cTj2.js";
13
- import { R as Nl } from "./tree-list-B2L0cTj2.js";
10
+ import { L as nt, H as Ln, R as Xt } from "./list-row-B8L4TGsh.js";
11
+ import { c as Ol, b as Dl } from "./list-row-B8L4TGsh.js";
12
+ import { T as zn } from "./tree-list-CC13pOYi.js";
13
+ import { R as zl } from "./tree-list-CC13pOYi.js";
14
14
  import { A as ft } from "./radio-cLMEBBZk.js";
15
- import { R as Wl, a as Fl } from "./radio-cLMEBBZk.js";
16
- import { g as Nn, o as Bn, d as Wn } from "./param-editor-field-B9lEPq8c.js";
17
- import { e as Ml, f as Vl, h as Gl, A as jl, B as Ul, C as Ql, j as Xl, D as ql, F as Yl, H as Kl, M as Zl, k as Jl, l as es, P as ts, m as ns, n as os, m as rs, p as is, q as ls, R as ss, r as as, s as cs, S as ds, t as us, b as fs, T as hs, V as ms, W as ps, u as gs, v as bs, a as xs, w as Ss, x as vs, y as ys } from "./param-editor-field-B9lEPq8c.js";
18
- import { h as ws } from "./dialog-accept-shortcut-DAEBsoWW.js";
19
- import { P as Ts, a as Ps, b as As } from "./param-editor-XRjSu6MT.js";
20
- import { C as Es } from "./checkbox-B2zYVemL.js";
15
+ import { R as Bl, a as Wl } from "./radio-cLMEBBZk.js";
16
+ import { g as Nn, o as Bn, c as Wn } from "./param-editor-field-C8zRDStn.js";
17
+ import { d as Hl, e as Ml, f as Vl, A as Gl, B as jl, C as Ul, h as Ql, D as Xl, F as ql, H as Yl, M as Kl, N as Zl, j as Jl, P as es, k as ts, l as ns, k as os, m as rs, n as is, R as ls, p as ss, q as as, S as cs, b as ds, T as us, V as fs, r as hs, s as ms, a as ps } from "./param-editor-field-C8zRDStn.js";
18
+ import { h as bs } from "./dialog-accept-shortcut-DAEBsoWW.js";
19
+ import { P as Ss, a as vs, b as ys } from "./param-editor-w3xH-t8A.js";
20
+ import { g as Fn } from "./number-input-WUfejtNx.js";
21
+ import { C as ws, R as Is, S as Ts, W as Ps, r as As, b as Rs, s as Es } from "./number-input-WUfejtNx.js";
21
22
  import { E as _s } from "./empty-state-Bo4HVrgr.js";
22
- import { g as Fn } from "./resource-badge-CuItchgL.js";
23
- import { R as Os } from "./resource-badge-CuItchgL.js";
24
23
  import { useStore as ot } from "zustand";
25
24
  import { persist as rt, createJSONStorage as it } from "zustand/middleware";
26
25
  import { createStore as lt } from "zustand/vanilla";
27
- import { c as He } from "./browser-storage-BinyFNJX.js";
28
26
  import { useSensors as Hn, useSensor as Mn, PointerSensor as Vn, DndContext as Gn, closestCenter as jn } from "@dnd-kit/core";
29
27
  import { useSortable as Un, SortableContext as Qn, verticalListSortingStrategy as Xn, arrayMove as qn } from "@dnd-kit/sortable";
30
28
  import { CSS as Yn } from "@dnd-kit/utilities";
@@ -36,9 +34,9 @@ import "@fontsource/playfair-display/700.css";
36
34
  import "@fontsource/onest/400.css";
37
35
  import "@fontsource/onest/500.css";
38
36
  import "@fontsource/onest/700.css";
39
- import { c as Ls, a as zs, t as Ns } from "./theme-7PDdD9OD.js";
40
- import { T as Ws, a as Fs, d as Hs, b as Ms, c as Vs, e as Gs, g as js, i as Us, u as Qs } from "./theme-preference-DOzHx64J.js";
41
- import { i as qs } from "./lazy-markdown-editor-DwhqQ-NN.js";
37
+ import { c as Os, a as Ds, t as Ls } from "./theme-J8K8KbZi.js";
38
+ import { T as Ns, a as Bs, d as Ws, b as Fs, c as Hs, e as Ms, g as Vs, i as Gs, u as js } from "./theme-preference-DyymrYpR.js";
39
+ import { i as Qs } from "./lazy-markdown-editor-CWSREEhf.js";
42
40
  const st = (o) => {
43
41
  const e = P(14), {
44
42
  actor: t,
@@ -273,7 +271,7 @@ const st = (o) => {
273
271
  }, e[3] = r) : r = e[3];
274
272
  let i;
275
273
  return e[4] !== t || e[5] !== n ? (i = /* @__PURE__ */ s(we.Root, { size: "sm", variant: "plain", width: "full", css: r, ...n, children: t }), e[4] = t, e[5] = n, e[6] = i) : i = e[6], i;
276
- }, Yi = {
274
+ }, qi = {
277
275
  Root: oo,
278
276
  Header: ro,
279
277
  Feed: io,
@@ -283,7 +281,7 @@ const st = (o) => {
283
281
  Reply: Zn,
284
282
  Composer: eo,
285
283
  Avatar: st
286
- }, Ki = 48, so = (o) => {
284
+ }, Yi = 48, so = (o) => {
287
285
  const e = typeof o.label == "string" ? o.label : "", t = typeof o.secondaryLabel == "string" ? o.secondaryLabel : "";
288
286
  return `${e} ${o.searchText ?? ""} ${t}`;
289
287
  }, Yt = (o, e) => o.trimStart().startsWith(e), ao = (o, e = [], t) => e.find((r) => r.inputPrefix && Yt(o, r.inputPrefix))?.id ?? t ?? e.find((r) => !r.inputPrefix)?.id ?? e[0]?.id, co = (o, e = [], t) => {
@@ -441,7 +439,7 @@ const st = (o) => {
441
439
  } else
442
440
  O = e[15];
443
441
  return O;
444
- }, vt = (o, e, t) => typeof o == "function" ? o(e) : o ?? t, Zi = (o) => {
442
+ }, vt = (o, e, t) => typeof o == "function" ? o(e) : o ?? t, Ki = (o) => {
445
443
  const e = P(71), {
446
444
  open: t,
447
445
  entries: n,
@@ -655,7 +653,7 @@ const wo = {
655
653
  return To[t] ?? n[t] ?? {
656
654
  label: o
657
655
  };
658
- }, yt = (o) => o.split("+").map((e) => e.trim()).filter(Boolean), Ro = (o) => (Array.isArray(o) ? o.map(yt) : [yt(o)]).map((t) => t.map((n) => Ao(n))), Ji = (o) => {
656
+ }, yt = (o) => o.split("+").map((e) => e.trim()).filter(Boolean), Ro = (o) => (Array.isArray(o) ? o.map(yt) : [yt(o)]).map((t) => t.map((n) => Ao(n))), Zi = (o) => {
659
657
  const e = P(4), {
660
658
  binding: t
661
659
  } = o;
@@ -677,7 +675,7 @@ const wo = {
677
675
  function Eo(o) {
678
676
  return o.label;
679
677
  }
680
- function el(o) {
678
+ function Ji(o) {
681
679
  const e = P(14);
682
680
  let t, n, r, i, l, a;
683
681
  e[0] !== o ? ({
@@ -692,7 +690,7 @@ function el(o) {
692
690
  let h;
693
691
  return e[7] !== f || e[8] !== t || e[9] !== c || e[10] !== u || e[11] !== d || e[12] !== n ? (h = /* @__PURE__ */ s(re, { ...n, h: c, justify: "space-between", align: "center", borderBottomWidth: f, borderColor: "border.subtle", px: u, py: d, children: t }), e[7] = f, e[8] = t, e[9] = c, e[10] = u, e[11] = d, e[12] = n, e[13] = h) : h = e[13], h;
694
692
  }
695
- const tl = (o) => {
693
+ const el = (o) => {
696
694
  const e = P(17), {
697
695
  children: t,
698
696
  title: n,
@@ -732,7 +730,7 @@ const tl = (o) => {
732
730
  function ko(o) {
733
731
  return o.stopPropagation();
734
732
  }
735
- const _o = "2.5rem", Ct = "2xs", nl = "sm", Zt = (o) => o === "urgent" ? "red" : o === "high" ? "orange" : o === "low" ? "gray" : "blue", $o = (o) => o !== "normal", Oo = (o) => [o.title, o.body, o.kind, o.priority, o.status, o.sourceLabel, o.targetLabel, o.searchText, ...(o.actions ?? []).map((e) => e.label)].filter(Boolean).join(" ").toLowerCase(), Do = (o, e) => {
733
+ const _o = "2.5rem", Ct = "2xs", tl = "sm", Zt = (o) => o === "urgent" ? "red" : o === "high" ? "orange" : o === "low" ? "gray" : "blue", $o = (o) => o !== "normal", Oo = (o) => [o.title, o.body, o.kind, o.priority, o.status, o.sourceLabel, o.targetLabel, o.searchText, ...(o.actions ?? []).map((e) => e.label)].filter(Boolean).join(" ").toLowerCase(), Do = (o, e) => {
736
734
  const t = e.trim().toLowerCase();
737
735
  return t ? o.filter((n) => Oo(n).includes(t)) : o;
738
736
  }, Jt = (o) => {
@@ -803,7 +801,7 @@ const _o = "2.5rem", Ct = "2xs", nl = "sm", Zt = (o) => o === "urgent" ? "red" :
803
801
  const o = P(1);
804
802
  let e;
805
803
  return o[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ s(j, { gap: "2", p: "sm", children: [0, 1, 2, 3].map(Ho) }), o[0] = e) : e = o[0], e;
806
- }, ol = (o) => {
804
+ }, nl = (o) => {
807
805
  const e = P(37), {
808
806
  autoFocus: t,
809
807
  emptyLabel: n,
@@ -880,7 +878,7 @@ function Ho(o) {
880
878
  function Mo(o) {
881
879
  return Math.max(o - 1, 0);
882
880
  }
883
- const rl = (o) => {
881
+ const ol = (o) => {
884
882
  const e = P(6);
885
883
  let t, n;
886
884
  e[0] !== o ? ({
@@ -889,7 +887,7 @@ const rl = (o) => {
889
887
  } = o, e[0] = o, e[1] = t, e[2] = n) : (t = e[1], n = e[2]);
890
888
  let r;
891
889
  return e[3] !== t || e[4] !== n ? (r = /* @__PURE__ */ s(ge, { as: "aside", direction: "column", h: "full", minH: "0", minW: "0", w: "full", overflow: "hidden", bg: "bg", ...n, children: t }), e[3] = t, e[4] = n, e[5] = r) : r = e[5], r;
892
- }, Vo = "20rem", il = (o) => {
890
+ }, Vo = "20rem", rl = (o) => {
893
891
  const e = P(15);
894
892
  let t, n, r, i, l, a;
895
893
  e[0] !== o ? ({
@@ -908,7 +906,7 @@ const rl = (o) => {
908
906
  n,
909
907
  h
910
908
  ] }), e[9] = n, e[10] = d, e[11] = f, e[12] = i, e[13] = h, e[14] = p) : p = e[14], p;
911
- }, ll = jt(function(e, t) {
909
+ }, il = jt(function(e, t) {
912
910
  const n = P(19);
913
911
  let r, i, l, a, c;
914
912
  n[0] !== e ? ({
@@ -932,7 +930,7 @@ const rl = (o) => {
932
930
  n[13] !== m || n[14] !== c ? (g = c ? /* @__PURE__ */ s(Ue, { content: c, children: m }) : m, n[13] = m, n[14] = c, n[15] = g) : g = n[15];
933
931
  let v;
934
932
  return n[16] !== i || n[17] !== g ? (v = /* @__PURE__ */ s(Ie.div, { position: "fixed", bottom: "6", right: "6", zIndex: "docked", ...i, children: g }), n[16] = i, n[17] = g, n[18] = v) : v = n[18], v;
935
- }), sl = jt(function(e, t) {
933
+ }), ll = jt(function(e, t) {
936
934
  const n = P(28), {
937
935
  isOpen: r,
938
936
  title: i,
@@ -1055,7 +1053,7 @@ const rl = (o) => {
1055
1053
  return;
1056
1054
  const t = e.indexOf(document.activeElement), n = o.key === "Home" ? 0 : o.key === "End" ? e.length - 1 : o.key === "ArrowUp" ? t <= 0 ? e.length - 1 : t - 1 : t < 0 || t === e.length - 1 ? 0 : t + 1;
1057
1055
  o.preventDefault(), e[n]?.focus();
1058
- }, al = (o) => {
1056
+ }, sl = (o) => {
1059
1057
  const e = P(68), {
1060
1058
  open: t,
1061
1059
  title: n,
@@ -1236,7 +1234,7 @@ const rl = (o) => {
1236
1234
  }
1237
1235
  let n;
1238
1236
  return e[1] !== t ? (n = /* @__PURE__ */ s(fe.Separator, { flexShrink: 0, children: t }), e[1] = t, e[2] = n) : n = e[2], n;
1239
- }, cl = gt.forwardRef(function(e, t) {
1237
+ }, al = gt.forwardRef(function(e, t) {
1240
1238
  const n = P(21);
1241
1239
  let r, i, l, a, c;
1242
1240
  n[0] !== e ? ({
@@ -1273,12 +1271,12 @@ const rl = (o) => {
1273
1271
  }, e[0] = t) : t = e[0];
1274
1272
  let n;
1275
1273
  return e[1] !== o ? (n = /* @__PURE__ */ s(V, { ...o, css: t }), e[1] = o, e[2] = n) : n = e[2], n;
1276
- }, dl = (o) => {
1274
+ }, cl = (o) => {
1277
1275
  const e = P(2);
1278
1276
  let t;
1279
1277
  return e[0] !== o ? (t = /* @__PURE__ */ s(V, { p: "2", children: /* @__PURE__ */ s(W, { color: "fg.muted", fontWeight: "medium", textStyle: "sm", whiteSpace: "nowrap", ...o }) }), e[0] = o, e[1] = t) : t = e[1], t;
1280
1278
  };
1281
- class ul extends mn {
1279
+ class dl extends mn {
1282
1280
  state = {
1283
1281
  error: null
1284
1282
  };
@@ -1457,7 +1455,7 @@ const tr = (o) => {
1457
1455
  } = o, e[0] = o, e[1] = t, e[2] = n) : (t = e[1], n = e[2]);
1458
1456
  let r;
1459
1457
  return e[3] !== t || e[4] !== n ? (r = /* @__PURE__ */ s(V, { p: "md", ...n, children: t }), e[3] = t, e[4] = n, e[5] = r) : r = e[5], r;
1460
- }, fl = (o) => {
1458
+ }, ul = (o) => {
1461
1459
  const e = P(30), {
1462
1460
  icon: t,
1463
1461
  name: n,
@@ -1582,7 +1580,7 @@ const tr = (o) => {
1582
1580
  withContext: fr
1583
1581
  } = dn({
1584
1582
  recipe: dr
1585
- }), hr = ur("div", "root"), mr = fr("button", "item"), hl = (o) => {
1583
+ }), hr = ur("div", "root"), mr = fr("button", "item"), fl = (o) => {
1586
1584
  const e = P(20);
1587
1585
  let t, n, r, i, l, a;
1588
1586
  e[0] !== o ? ({
@@ -1608,7 +1606,7 @@ const tr = (o) => {
1608
1606
  placement: "top",
1609
1607
  pauseOnPageIdle: !0,
1610
1608
  duration: 1e4
1611
- }), ml = () => {
1609
+ }), hl = () => {
1612
1610
  const o = P(1);
1613
1611
  let e;
1614
1612
  return o[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ s(Je, { children: /* @__PURE__ */ s(fn, { toaster: pr, insetInline: {
@@ -1630,7 +1628,7 @@ function gr(o) {
1630
1628
  /* @__PURE__ */ s(Le.CloseTrigger, {})
1631
1629
  ] });
1632
1630
  }
1633
- const pl = (o) => {
1631
+ const ml = (o) => {
1634
1632
  const e = P(6);
1635
1633
  let t, n;
1636
1634
  e[0] !== o ? ({
@@ -1731,7 +1729,7 @@ const pl = (o) => {
1731
1729
  if (!Number.isNaN(t)) return t;
1732
1730
  }
1733
1731
  return e;
1734
- }, gl = (o) => {
1732
+ }, pl = (o) => {
1735
1733
  const e = P(43), {
1736
1734
  storageKey: t,
1737
1735
  sections: n,
@@ -1874,7 +1872,7 @@ const Rt = {
1874
1872
  storageKey: o
1875
1873
  });
1876
1874
  return Et.set(o, t), t;
1877
- }, bl = (o, e) => {
1875
+ }, gl = (o, e) => {
1878
1876
  const t = P(2);
1879
1877
  let n;
1880
1878
  return t[0] !== o ? (n = Hr(o), t[0] = o, t[1] = n) : n = t[1], ot(n, e);
@@ -1899,7 +1897,7 @@ const Rt = {
1899
1897
  n.push(r);
1900
1898
  }
1901
1899
  return t ? n : o;
1902
- }, xl = (o, e) => ht(o, e), Sl = (o, e, t) => {
1900
+ }, bl = (o, e) => ht(o, e), xl = (o, e, t) => {
1903
1901
  let n = !1;
1904
1902
  const r = [];
1905
1903
  for (const i of o) {
@@ -1935,7 +1933,7 @@ const Rt = {
1935
1933
  onClick: () => t.onToggleNode(o.id, r),
1936
1934
  endContent: en(i, n)
1937
1935
  };
1938
- }, vl = (o, e, t, n, r) => {
1936
+ }, Sl = (o, e, t, n, r) => {
1939
1937
  const i = [], l = (c) => {
1940
1938
  c.length !== 0 && (i.length > 0 && (c[0] = {
1941
1939
  ...c[0],
@@ -1956,7 +1954,7 @@ const Rt = {
1956
1954
  separatorBefore: !0,
1957
1955
  onClick: n.onResetAll
1958
1956
  }), i;
1959
- }, yl = (o, e, t) => {
1957
+ }, vl = (o, e, t) => {
1960
1958
  let n = !1;
1961
1959
  const r = [];
1962
1960
  for (const i of o) {
@@ -1975,7 +1973,7 @@ const Rt = {
1975
1973
  r.push(i);
1976
1974
  }
1977
1975
  return n ? r : o;
1978
- }, Cl = (o, e, t, n, r, i) => {
1976
+ }, yl = (o, e, t, n, r, i) => {
1979
1977
  const l = [];
1980
1978
  let a = 0;
1981
1979
  for (const c of o) {
@@ -2285,7 +2283,7 @@ const Rt = {
2285
2283
  if (r.isNew) return !0;
2286
2284
  const i = ei(o, r);
2287
2285
  return i ? n(i, r) || r.sortOrder !== i.sortOrder : !0;
2288
- }), _t = (o) => o instanceof Error ? o.message : o ? String(o) : null, wl = (o) => {
2286
+ }), _t = (o) => o instanceof Error ? o.message : o ? String(o) : null, Cl = (o) => {
2289
2287
  const {
2290
2288
  errorTitle: e,
2291
2289
  loadingText: t = "Loading...",
@@ -2379,7 +2377,7 @@ const Rt = {
2379
2377
  storageKey: o
2380
2378
  });
2381
2379
  return Dt.set(o, t), t;
2382
- }, Il = (o, e) => {
2380
+ }, wl = (o, e) => {
2383
2381
  const t = P(2);
2384
2382
  let n;
2385
2383
  return t[0] !== o ? (n = li(o), t[0] = o, t[1] = n) : n = t[1], ot(n, e);
@@ -2401,7 +2399,7 @@ const Rt = {
2401
2399
  }
2402
2400
  }
2403
2401
  return i ? r : o;
2404
- }, Tl = (o, e, t) => {
2402
+ }, Il = (o, e, t) => {
2405
2403
  let n = !1;
2406
2404
  const r = Lt(o, e);
2407
2405
  r !== o && (n = !0);
@@ -2479,7 +2477,7 @@ const Rt = {
2479
2477
  storageKey: o
2480
2478
  });
2481
2479
  return Bt.set(o, t), t;
2482
- }, Pl = (o, e) => {
2480
+ }, Tl = (o, e) => {
2483
2481
  const t = P(2);
2484
2482
  let n;
2485
2483
  return t[0] !== o ? (n = hi(o), t[0] = o, t[1] = n) : n = t[1], ot(n, e);
@@ -2534,7 +2532,7 @@ const Rt = {
2534
2532
  if (typeof window > "u") return ut(o);
2535
2533
  const e = He().getItem(nn);
2536
2534
  return tn(e, o) ? e : ut(o);
2537
- }, Al = (o) => {
2535
+ }, Pl = (o) => {
2538
2536
  const e = P(18), {
2539
2537
  children: t,
2540
2538
  themePreferences: n
@@ -2567,12 +2565,12 @@ const Rt = {
2567
2565
  }, e[11] = f, e[12] = l, e[13] = r, e[14] = h) : h = e[14];
2568
2566
  let p;
2569
2567
  return e[15] !== t || e[16] !== h ? (p = /* @__PURE__ */ s(on, { value: h, children: t }), e[15] = t, e[16] = h, e[17] = p) : p = e[17], p;
2570
- }, Rl = () => {
2568
+ }, Al = () => {
2571
2569
  const o = gn(on);
2572
2570
  if (!o)
2573
2571
  throw new Error("useFileIconThemePreference must be used within a FileIconThemePreferenceProvider");
2574
2572
  return o;
2575
- }, El = (o, e = {}) => {
2573
+ }, Rl = (o, e = {}) => {
2576
2574
  const {
2577
2575
  isDirectory: t = !1,
2578
2576
  theme: n,
@@ -2593,9 +2591,9 @@ const Rt = {
2593
2591
  return /* @__PURE__ */ s(l, { size: r });
2594
2592
  };
2595
2593
  export {
2596
- Ml as ANCHOR_GRID_VALUES,
2597
- Vl as ActionInput,
2598
- Yi as Activity,
2594
+ Hl as ANCHOR_GRID_VALUES,
2595
+ Ml as ActionInput,
2596
+ qi as Activity,
2599
2597
  st as ActivityAvatar,
2600
2598
  Jn as ActivityComment,
2601
2599
  eo as ActivityComposer,
@@ -2606,129 +2604,129 @@ export {
2606
2604
  oo as ActivityRoot,
2607
2605
  lo as ActivityTimeline,
2608
2606
  ft as AlertMessage,
2609
- Gl as AnchorGridInput,
2610
- rl as AttachedMenu,
2611
- il as AttachedPanel,
2612
- jl as AttachmentChip,
2613
- Ul as BooleanInput,
2614
- cl as Breadcrumb,
2615
- ll as BubbleButton,
2616
- sl as BubblePanel,
2617
- $l as ChakraProvider,
2618
- Es as Checkbox,
2619
- Ql as Chip,
2620
- Xl as ColorInput,
2607
+ Vl as AnchorGridInput,
2608
+ ol as AttachedMenu,
2609
+ rl as AttachedPanel,
2610
+ Gl as AttachmentChip,
2611
+ jl as BooleanInput,
2612
+ al as Breadcrumb,
2613
+ il as BubbleButton,
2614
+ ll as BubblePanel,
2615
+ _l as ChakraProvider,
2616
+ ws as Checkbox,
2617
+ Ul as Chip,
2618
+ Ql as ColorInput,
2621
2619
  er as ContentPlaceholder,
2622
- dl as ContentPlaceholderLabel,
2623
- Ki as DEFAULT_PALETTE_ASSET_LIMIT,
2624
- ql as DateInput,
2620
+ cl as ContentPlaceholderLabel,
2621
+ Yi as DEFAULT_PALETTE_ASSET_LIMIT,
2622
+ Xl as DateInput,
2625
2623
  Go as DeleteConfirmationModal,
2626
2624
  _s as EmptyState,
2627
- ul as ErrorBoundary,
2628
- Al as FileIconThemePreferenceProvider,
2629
- Yl as FileUploadInput,
2625
+ dl as ErrorBoundary,
2626
+ Pl as FileIconThemePreferenceProvider,
2627
+ ql as FileUploadInput,
2630
2628
  Ln as Header,
2631
- el as HorizontalMenuStack,
2632
- Kl as HorizontalTextInput,
2629
+ Ji as HorizontalMenuStack,
2630
+ Yl as HorizontalTextInput,
2633
2631
  sr as IconColorPicker,
2634
- fl as IntegrationCard,
2635
- tl as ItemSection,
2632
+ ul as IntegrationCard,
2633
+ el as ItemSection,
2636
2634
  nt as ListRow,
2637
- Zl as MarkdownInput,
2638
- ol as NotificationCenter,
2639
- Jl as NumberInput,
2635
+ Kl as MarkdownInput,
2636
+ nl as NotificationCenter,
2637
+ Zl as NumberInput,
2640
2638
  Ct as PANEL_HEADER_CONTROL_SIZE,
2641
2639
  _o as PANEL_HEADER_HEIGHT,
2642
- nl as PANEL_HEADER_TAB_SIZE,
2643
- Zi as Palette,
2644
- Ji as PaletteShortcut,
2645
- Ts as ParamEditor,
2646
- es as ParamEditorControlItem,
2647
- pl as ParamEditorControlList,
2648
- ts as ParamEditorField,
2649
- ns as ParamEditorFieldLabel,
2650
- os as ParamEditorInlineGroup,
2651
- rs as ParamEditorLabel,
2652
- is as ParamEditorReadOnlyField,
2653
- ls as ParamEditorReadOnlyValue,
2654
- Ps as ParamEditorRow,
2655
- As as ParamEditorSection,
2656
- Wl as Radio,
2657
- Fl as RadioGroup,
2658
- ss as RangeInput,
2659
- al as RepoPickerDialog,
2660
- Nl as ResizableSplitLayout,
2661
- Dl as ResourceActionMenu,
2662
- Os as ResourceBadge,
2640
+ tl as PANEL_HEADER_TAB_SIZE,
2641
+ Ki as Palette,
2642
+ Zi as PaletteShortcut,
2643
+ Ss as ParamEditor,
2644
+ Jl as ParamEditorControlItem,
2645
+ ml as ParamEditorControlList,
2646
+ es as ParamEditorField,
2647
+ ts as ParamEditorFieldLabel,
2648
+ ns as ParamEditorInlineGroup,
2649
+ os as ParamEditorLabel,
2650
+ rs as ParamEditorReadOnlyField,
2651
+ is as ParamEditorReadOnlyValue,
2652
+ vs as ParamEditorRow,
2653
+ ys as ParamEditorSection,
2654
+ Bl as Radio,
2655
+ Wl as RadioGroup,
2656
+ ls as RangeInput,
2657
+ sl as RepoPickerDialog,
2658
+ zl as ResizableSplitLayout,
2659
+ Ol as ResourceActionMenu,
2660
+ Is as ResourceBadge,
2663
2661
  Xt as ResourceContextMenu,
2664
- as as ResourceInput,
2662
+ ss as ResourceInput,
2665
2663
  tt as ScrollArea,
2666
2664
  Kt as SearchModalContent,
2667
- Ll as SearchableMenu,
2668
- hl as SegmentedControl,
2669
- cs as SegmentedInput,
2670
- ds as SelectionInput,
2671
- us as SessionIndicator,
2672
- gl as Sidenav,
2665
+ Dl as SearchableMenu,
2666
+ fl as SegmentedControl,
2667
+ as as SegmentedInput,
2668
+ cs as SelectionInput,
2669
+ Ts as SessionIndicator,
2670
+ pl as Sidenav,
2673
2671
  ar as SimpleCard,
2674
2672
  cr as SimpleCardBody,
2675
- fs as Switch,
2673
+ ds as Switch,
2676
2674
  Kr as TagEditor,
2677
2675
  jr as TagEditorHeading,
2678
2676
  Zr as TagEditorSaveBar,
2679
- wl as TagSettingsPanel,
2677
+ Cl as TagSettingsPanel,
2680
2678
  or as TagSwatch,
2681
- hs as TextInput,
2682
- Ws as ThemePreferenceProvider,
2683
- ml as Toaster,
2679
+ us as TextInput,
2680
+ Ns as ThemePreferenceProvider,
2681
+ hl as Toaster,
2684
2682
  Ue as Tooltip,
2685
2683
  zn as TreeList,
2686
- ms as VectorInput,
2687
- ps as WorkspaceBadge,
2684
+ fs as VectorInput,
2685
+ Ps as WorkspaceBadge,
2688
2686
  yi as applyFileIconThemePreference,
2689
- Fs as applyThemePreference,
2690
- Tl as applyTreeListOrder,
2691
- Cl as buildTabVisibilityMenuActions,
2692
- vl as buildTreeVisibilityMenuActions,
2693
- gs as createGlyphIcon,
2694
- Ls as createMonacoThemeFromVsCodeTheme,
2695
- zs as createThemePreferenceFromVsCodeTheme,
2687
+ Bs as applyThemePreference,
2688
+ Il as applyTreeListOrder,
2689
+ yl as buildTabVisibilityMenuActions,
2690
+ Sl as buildTreeVisibilityMenuActions,
2691
+ hs as createGlyphIcon,
2692
+ Os as createMonacoThemeFromVsCodeTheme,
2693
+ Ds as createThemePreferenceFromVsCodeTheme,
2696
2694
  mi as defaultFileIconThemePreferences,
2697
- Hs as defaultThemePreferences,
2695
+ Ws as defaultThemePreferences,
2698
2696
  fo as filterPaletteEntries,
2699
- xl as filterVisibleNodes,
2700
- Sl as filterVisibleSections,
2701
- yl as filterVisibleTabs,
2697
+ bl as filterVisibleNodes,
2698
+ xl as filterVisibleSections,
2699
+ vl as filterVisibleTabs,
2702
2700
  Fn as getFileTypeIcon,
2703
2701
  Nn as getIconComponent,
2704
- Ms as getInitialThemePreference,
2702
+ Fs as getInitialThemePreference,
2705
2703
  Hr as getTabVisibilityStore,
2706
- Vs as getThemePreferenceClassName,
2707
- Gs as getThemePreferenceClassNames,
2708
- js as getThemePreferenceMode,
2704
+ Hs as getThemePreferenceClassName,
2705
+ Ms as getThemePreferenceClassNames,
2706
+ Vs as getThemePreferenceMode,
2709
2707
  li as getTreeListOrderStore,
2710
2708
  hi as getTreeListVisibilityStore,
2711
- ws as handleDialogAcceptShortcut,
2712
- qs as installPrismGlobal,
2713
- bs as isAnchorGridValue,
2709
+ bs as handleDialogAcceptShortcut,
2710
+ Qs as installPrismGlobal,
2711
+ ms as isAnchorGridValue,
2714
2712
  tn as isFileIconThemePreference,
2715
- xs as isParamEditorRichControl,
2716
- Us as isThemePreference,
2713
+ ps as isParamEditorRichControl,
2714
+ Gs as isThemePreference,
2717
2715
  Wn as optionColors,
2718
2716
  Bn as optionIcons,
2719
- Ns as psTheme,
2720
- El as resolveFileIconElement,
2717
+ Ls as psTheme,
2718
+ Rl as resolveFileIconElement,
2721
2719
  Si as resolveFileIconGlyph,
2722
- Ss as resolveSessionIndicatorColor,
2723
- vs as resolveSessionIndicatorIcon,
2720
+ As as resolveSessionIndicatorColor,
2721
+ Rs as resolveSessionIndicatorIcon,
2724
2722
  Me as resolveVisibility,
2725
- ys as sessionCompletionStatuses,
2723
+ Es as sessionCompletionStatuses,
2726
2724
  pr as toaster,
2727
- Rl as useFileIconThemePreference,
2725
+ Al as useFileIconThemePreference,
2728
2726
  ze as useSidenavStore,
2729
- bl as useTabVisibilityStore,
2730
- Qs as useThemePreference,
2731
- Il as useTreeListOrderStore,
2732
- Pl as useTreeListVisibilityStore
2727
+ gl as useTabVisibilityStore,
2728
+ js as useThemePreference,
2729
+ wl as useTreeListOrderStore,
2730
+ Tl as useTreeListVisibilityStore
2733
2731
  };
2734
2732
  //# sourceMappingURL=index.js.map