@pstdio/ui 0.40.0 → 0.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/dist/{MermaidComponent-81jr28u4.js → MermaidComponent-D7vhkpka.js} +3 -3
  2. package/dist/{MermaidComponent-81jr28u4.js.map → MermaidComponent-D7vhkpka.js.map} +1 -1
  3. package/dist/alert-MQ47wy7f.js +388 -0
  4. package/dist/alert-MQ47wy7f.js.map +1 -0
  5. package/dist/chat-ui.d.ts +129 -23
  6. package/dist/chat-ui.js +2596 -1591
  7. package/dist/chat-ui.js.map +1 -1
  8. package/dist/{types-DWA3enV6.d.ts → collection-view-fields-D3cysHNT.d.ts} +87 -37
  9. package/dist/collection-view-grouping-D4nZk8-3.js +90 -0
  10. package/dist/collection-view-grouping-D4nZk8-3.js.map +1 -0
  11. package/dist/collection-view-search-CpjJy76w.js +1973 -0
  12. package/dist/collection-view-search-CpjJy76w.js.map +1 -0
  13. package/dist/collection-view.d.ts +4 -0
  14. package/dist/collection-view.js +2 -0
  15. package/dist/{data-table-stats-row-CpRe_xK2.js → data-table-stats-row-64magT2g.js} +2 -2
  16. package/dist/{data-table-stats-row-CpRe_xK2.js.map → data-table-stats-row-64magT2g.js.map} +1 -1
  17. package/dist/data-table.d.ts +29 -7
  18. package/dist/data-table.js +1043 -878
  19. package/dist/data-table.js.map +1 -1
  20. package/dist/diff-bubble-DewUd_2w.js +61 -0
  21. package/dist/diff-bubble-DewUd_2w.js.map +1 -0
  22. package/dist/{diff-drawer-45rpk3aq.js → diff-drawer-IYpQ-QQK.js} +264 -242
  23. package/dist/diff-drawer-IYpQ-QQK.js.map +1 -0
  24. package/dist/diff-viewer-C-0VAt9P.js +574 -0
  25. package/dist/diff-viewer-C-0VAt9P.js.map +1 -0
  26. package/dist/diff.d.ts +11 -0
  27. package/dist/diff.js +107 -98
  28. package/dist/diff.js.map +1 -1
  29. package/dist/display-sort-control-f3rbILsV.js +588 -0
  30. package/dist/display-sort-control-f3rbILsV.js.map +1 -0
  31. package/dist/drop-indicator-HjlBSIeV.js +27 -0
  32. package/dist/drop-indicator-HjlBSIeV.js.map +1 -0
  33. package/dist/edit-mode-data-table-DnMB2jiy.js +1449 -0
  34. package/dist/edit-mode-data-table-DnMB2jiy.js.map +1 -0
  35. package/dist/host-storage-BIo5azql.js +31 -0
  36. package/dist/host-storage-BIo5azql.js.map +1 -0
  37. package/dist/host-storage-J0089Hyk.d.ts +17 -0
  38. package/dist/{slider-hwHYe98I.js → icon-options-Tt6Wzhtv.js} +86 -201
  39. package/dist/icon-options-Tt6Wzhtv.js.map +1 -0
  40. package/dist/{index-Bfddrlz8.d.ts → index-B79hwNcB.d.ts} +66 -14
  41. package/dist/index-CKsd23jv.d.ts +80 -0
  42. package/dist/{index-CbtbcvKm.d.ts → index-DlmvvQ6x.d.ts} +1 -1
  43. package/dist/index-ICoad2I_.d.ts +282 -0
  44. package/dist/index.d.ts +63 -22
  45. package/dist/index.js +1149 -1054
  46. package/dist/index.js.map +1 -1
  47. package/dist/kanban-renderer.d.ts +3 -326
  48. package/dist/kanban-renderer.js +980 -596
  49. package/dist/kanban-renderer.js.map +1 -1
  50. package/dist/list-row-Z4SHkseA.js +1195 -0
  51. package/dist/list-row-Z4SHkseA.js.map +1 -0
  52. package/dist/markdown-editor-Dd4mor7l.js +3236 -0
  53. package/dist/markdown-editor-Dd4mor7l.js.map +1 -0
  54. package/dist/{mermaid-renderer-DImi0fDp.js → mermaid-renderer-0PmNkOXI.js} +29 -29
  55. package/dist/mermaid-renderer-0PmNkOXI.js.map +1 -0
  56. package/dist/mermaid.js +1 -1
  57. package/dist/number-input-7K66wnSC.js +63 -0
  58. package/dist/number-input-7K66wnSC.js.map +1 -0
  59. package/dist/{param-editor-BQd4AOUP.js → param-editor-Dnix-fJo.js} +2 -2
  60. package/dist/{param-editor-BQd4AOUP.js.map → param-editor-Dnix-fJo.js.map} +1 -1
  61. package/dist/{param-editor-field-BJ_rLUnV.js → param-editor-field-B3vLST-B.js} +1436 -1427
  62. package/dist/param-editor-field-B3vLST-B.js.map +1 -0
  63. package/dist/param-editor.js +4 -3
  64. package/dist/prism-OG4H7Hu4.js +334 -0
  65. package/dist/prism-OG4H7Hu4.js.map +1 -0
  66. package/dist/queued-follow-up-Bj_vtMgd.js +208 -0
  67. package/dist/queued-follow-up-Bj_vtMgd.js.map +1 -0
  68. package/dist/{resource-badge-95WPVlZf.d.ts → resource-badge-nOWPqxFU.d.ts} +1 -0
  69. package/dist/rich-text-BgEnAHr2.js +1160 -0
  70. package/dist/rich-text-BgEnAHr2.js.map +1 -0
  71. package/dist/rich-text.d.ts +2 -2
  72. package/dist/rich-text.js +4 -2
  73. package/dist/style.css +1 -1
  74. package/dist/terminal.d.ts +5 -63
  75. package/dist/terminal.js +102 -122
  76. package/dist/terminal.js.map +1 -1
  77. package/dist/{theme-CbmSEbRF.js → theme-CMJdH59Z.js} +589 -265
  78. package/dist/theme-CMJdH59Z.js.map +1 -0
  79. package/dist/theme-kKuLN2jb.js +80 -0
  80. package/dist/theme-kKuLN2jb.js.map +1 -0
  81. package/dist/theme-preference-BV4cbJNB.js +115 -0
  82. package/dist/theme-preference-BV4cbJNB.js.map +1 -0
  83. package/dist/theme.js +3 -2
  84. package/dist/tree-list-jarhD31R.js +1652 -0
  85. package/dist/tree-list-jarhD31R.js.map +1 -0
  86. package/dist/use-virtualizer-uj43XjBp.js +10 -0
  87. package/dist/use-virtualizer-uj43XjBp.js.map +1 -0
  88. package/dist/{workspace-badge-Brm3Xr3m.d.ts → workspace-badge-BKtB805G.d.ts} +5 -1
  89. package/package.json +8 -4
  90. package/dist/diff-bubble-DZsarmSG.js +0 -61
  91. package/dist/diff-bubble-DZsarmSG.js.map +0 -1
  92. package/dist/diff-drawer-45rpk3aq.js.map +0 -1
  93. package/dist/diff-viewer-BP_mI6Wx.js +0 -558
  94. package/dist/diff-viewer-BP_mI6Wx.js.map +0 -1
  95. package/dist/list-row-uqD-q4gv.js +0 -1018
  96. package/dist/list-row-uqD-q4gv.js.map +0 -1
  97. package/dist/mermaid-renderer-DImi0fDp.js.map +0 -1
  98. package/dist/param-editor-field-BJ_rLUnV.js.map +0 -1
  99. package/dist/prism-BStPsJSB.js +0 -658
  100. package/dist/prism-BStPsJSB.js.map +0 -1
  101. package/dist/rich-text-VYAmEigU.js +0 -6979
  102. package/dist/rich-text-VYAmEigU.js.map +0 -1
  103. package/dist/slider-hwHYe98I.js.map +0 -1
  104. package/dist/theme-CbmSEbRF.js.map +0 -1
  105. package/dist/theme-preference-pzfuK5cH.js +0 -101
  106. package/dist/theme-preference-pzfuK5cH.js.map +0 -1
  107. package/dist/tree-list-BNZwjQZA.js +0 -1616
  108. package/dist/tree-list-BNZwjQZA.js.map +0 -1
@@ -1,89 +1,10 @@
1
- import { Badge as e, IconButton as t, Image as n, Popover as r, Slider as i, Text as a, chakra as o } from "@chakra-ui/react";
2
- import { c as s } from "react/compiler-runtime";
3
- import { jsx as c, jsxs as l } from "react/jsx-runtime";
4
- import * as u from "react";
5
- import { useEffect as d, useState as ee } from "react";
6
- import { Archive as f, Ban as p, Bell as m, BookOpen as h, Bookmark as g, Bot as _, Bug as v, Circle as y, Code as b, Component as x, Cpu as S, Eye as C, Feather as w, FileText as T, Flag as E, Flame as D, Folder as te, GitBranch as ne, GitCommitHorizontal as re, Hash as ie, Heart as O, History as k, Inbox as A, Kanban as j, Layers as M, Lightbulb as N, Link as P, ListChecks as F, MessageSquare as I, Play as L, Puzzle as R, Rocket as z, Scale as B, Settings as V, Shield as H, Sparkles as U, SquareKanban as W, Star as G, Tag as K, Target as q, Terminal as ae, Ticket as J, Timer as oe, Users as se, Workflow as ce, Wrench as le, X as ue, Zap as de } from "lucide-react";
7
- //#region src/components/overlays/attachment-chip.tsx
8
- var fe = (e) => e.type.startsWith("image/"), pe = (e) => e < 1024 ? `${e.toString()} B` : e < 1048576 ? `${Math.round(e / 1024).toString()} KB` : `${(e / 1048576).toFixed(1)} MB`, me = (i) => {
9
- let u = s(22), { file: f, removeLabel: p, disabled: m, onRemove: h } = i, [g, _] = ee(null), v, y;
10
- u[0] === f ? (v = u[1], y = u[2]) : (v = () => {
11
- if (!fe(f)) return;
12
- let e = URL.createObjectURL(f);
13
- return _(e), () => URL.revokeObjectURL(e);
14
- }, y = [f], u[0] = f, u[1] = v, u[2] = y), d(v, y);
15
- let b;
16
- u[3] === f.name ? b = u[4] : (b = /* @__PURE__ */ c(a, {
17
- as: "span",
18
- textStyle: "label/XS/medium",
19
- lineClamp: 1,
20
- maxW: "180px",
21
- children: f.name
22
- }), u[3] = f.name, u[4] = b);
23
- let x = b, S;
24
- u[5] !== f.name || u[6] !== x || u[7] !== g ? (S = g ? /* @__PURE__ */ l(r.Root, {
25
- positioning: { placement: "top" },
26
- children: [/* @__PURE__ */ c(r.Trigger, {
27
- asChild: !0,
28
- children: /* @__PURE__ */ c(o.button, {
29
- type: "button",
30
- cursor: "pointer",
31
- minW: "0",
32
- display: "inline-flex",
33
- children: x
34
- })
35
- }), /* @__PURE__ */ c(r.Positioner, { children: /* @__PURE__ */ c(r.Content, {
36
- w: "auto",
37
- p: "2xs",
38
- bg: "bg",
39
- children: /* @__PURE__ */ c(n, {
40
- src: g,
41
- alt: f.name,
42
- maxW: "240px",
43
- maxH: "240px",
44
- borderRadius: "sm"
45
- })
46
- }) })]
47
- }) : x, u[5] = f.name, u[6] = x, u[7] = g, u[8] = S) : S = u[8];
48
- let C;
49
- u[9] === f.size ? C = u[10] : (C = pe(f.size), u[9] = f.size, u[10] = C);
50
- let w;
51
- u[11] === C ? w = u[12] : (w = /* @__PURE__ */ c(a, {
52
- as: "span",
53
- textStyle: "label/XS/regular",
54
- color: "fg.subtle",
55
- children: C
56
- }), u[11] = C, u[12] = w);
57
- let T;
58
- u[13] === Symbol.for("react.memo_cache_sentinel") ? (T = /* @__PURE__ */ c(ue, { size: 12 }), u[13] = T) : T = u[13];
59
- let E;
60
- u[14] !== m || u[15] !== h || u[16] !== p ? (E = /* @__PURE__ */ c(t, {
61
- size: "2xs",
62
- variant: "ghost",
63
- "aria-label": p,
64
- disabled: m,
65
- onClick: h,
66
- children: T
67
- }), u[14] = m, u[15] = h, u[16] = p, u[17] = E) : E = u[17];
68
- let D;
69
- return u[18] !== S || u[19] !== w || u[20] !== E ? (D = /* @__PURE__ */ l(e, {
70
- variant: "chip",
71
- gap: "2xs",
72
- pr: "2xs",
73
- children: [
74
- S,
75
- w,
76
- E
77
- ]
78
- }), u[18] = S, u[19] = w, u[20] = E, u[21] = D) : D = u[21], D;
79
- }, he = (t) => {
80
- let n = s(2), r;
81
- return n[0] === t ? r = n[1] : (r = /* @__PURE__ */ c(e, {
82
- size: "sm",
83
- variant: "chip",
84
- ...t
85
- }), n[0] = t, n[1] = r), r;
86
- }, ge = new Map(Array.from("@font-face {\n font-family: \"prompt-studio-icons\";\n src: url(\"$fonts/prompt-studio-icons.eot?959122fb\");\n src:\n url(\"$fonts/prompt-studio-icons.eot?959122fb#iefix\") format(\"embedded-opentype\"),\n url(\"$fonts/prompt-studio-icons.woff2?959122fb\") format(\"woff2\"),\n url(\"$fonts/prompt-studio-icons.woff?959122fb\") format(\"woff\"),\n url(\"$fonts/prompt-studio-icons.ttf?959122fb\") format(\"truetype\"),\n url(\"$fonts/prompt-studio-icons.svg?959122fb#prompt-studio-icons\") format(\"svg\");\n font-weight: normal;\n font-style: normal;\n font-display: block;\n}\n\n[class^=\"icon-\"]::before,\n[class*=\" icon-\"]::before {\n font-family: \"prompt-studio-icons\", sans-serif;\n font-style: normal;\n font-weight: normal;\n speak: never;\n display: inline-block;\n text-decoration: inherit;\n width: 1em;\n margin-right: 0.2em;\n text-align: center;\n font-variant: normal;\n text-transform: none;\n line-height: 1em;\n margin-left: 0.2em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.icon-cloud-add::before {\n content: \"\\e800\";\n}\n.icon-credit-usage-50::before {\n content: \"\\e801\";\n}\n.icon-history::before {\n content: \"\\e802\";\n}\n.icon-data-string::before {\n content: \"\\e803\";\n}\n.icon-data-object::before {\n content: \"\\e804\";\n}\n.icon-data-integer::before {\n content: \"\\e805\";\n}\n.icon-data-double::before {\n content: \"\\e806\";\n}\n.icon-add::before {\n content: \"\\e807\";\n}\n.icon-add-circle::before {\n content: \"\\e808\";\n}\n.icon-data-boolean::before {\n content: \"\\e809\";\n}\n.icon-add-square::before {\n content: \"\\e80a\";\n}\n.icon-data-array::before {\n content: \"\\e80b\";\n}\n.icon-status-backlog::before {\n content: \"\\e80c\";\n}\n.icon-metrics::before {\n content: \"\\e80d\";\n}\n.icon-pie-donut::before {\n content: \"\\e80e\";\n}\n.icon-area-plot::before {\n content: \"\\e80f\";\n}\n.icon-treemap::before {\n content: \"\\e810\";\n}\n.icon-align-bottom::before {\n content: \"\\e811\";\n}\n.icon-align-horizontally::before {\n content: \"\\e812\";\n}\n.icon-align-left::before {\n content: \"\\e813\";\n}\n.icon-align-right::before {\n content: \"\\e814\";\n}\n.icon-align-vertically::before {\n content: \"\\e815\";\n}\n.icon-radar-column-chart::before {\n content: \"\\e816\";\n}\n.icon-pie-full::before {\n content: \"\\e817\";\n}\n.icon-archive-1::before {\n content: \"\\e818\";\n}\n.icon-archive-2::before {\n content: \"\\e819\";\n}\n.icon-archive-add::before {\n content: \"\\e81a\";\n}\n.icon-ct::before {\n content: \"\\e81b\";\n}\n.icon-archive-minus::before {\n content: \"\\e81c\";\n}\n.icon-archive-slash::before {\n content: \"\\e81d\";\n}\n.icon-archive-tick::before {\n content: \"\\e81e\";\n}\n.icon-min::before {\n content: \"\\e81f\";\n}\n.icon-ctd::before {\n content: \"\\e820\";\n}\n.icon-std::before {\n content: \"\\e821\";\n}\n.icon-var::before {\n content: \"\\e822\";\n}\n.icon-max::before {\n content: \"\\e823\";\n}\n.icon-sum::before {\n content: \"\\e824\";\n}\n.icon-status-todo::before {\n content: \"\\e825\";\n}\n.icon-status-progress::before {\n content: \"\\e826\";\n}\n.icon-status-review::before {\n content: \"\\e827\";\n}\n.icon-status-done::before {\n content: \"\\e828\";\n}\n.icon-status-canceled::before {\n content: \"\\e829\";\n}\n.icon-level-low::before {\n content: \"\\e82a\";\n}\n.icon-arrow-down::before {\n content: \"\\e82b\";\n}\n.icon-arrow-down-1::before {\n content: \"\\e82c\";\n}\n.icon-level-mid::before {\n content: \"\\e82d\";\n}\n.icon-arrow-left::before {\n content: \"\\e82e\";\n}\n.icon-level-high::before {\n content: \"\\e82f\";\n}\n.icon-arrow-left-2::before {\n content: \"\\e830\";\n}\n.icon-level-xhigh::before {\n content: \"\\e831\";\n}\n.icon-arrow-right::before {\n content: \"\\e832\";\n}\n.icon-arrow-right-1::before {\n content: \"\\e833\";\n}\n.icon-arrow-right-3::before {\n content: \"\\e835\";\n}\n.icon-arrow-right-4::before {\n content: \"\\e836\";\n}\n.icon-arrow-square-down::before {\n content: \"\\e838\";\n}\n.icon-arrow-square-left::before {\n content: \"\\e839\";\n}\n.icon-arrow-square-up::before {\n content: \"\\e83a\";\n}\n.icon-arrow-up-2::before {\n content: \"\\e83f\";\n}\n.icon-arrow-up-3::before {\n content: \"\\e840\";\n}\n.icon-book::before {\n content: \"\\e868\";\n}\n.icon-book-1::before {\n content: \"\\e869\";\n}\n.icon-box::before {\n content: \"\\e86e\";\n}\n.icon-pointing-arrow::before {\n content: \"\\e87d\";\n}\n.icon-data-structure::before {\n content: \"\\e87e\";\n}\n.icon-brush-4::before {\n content: \"\\e87f\";\n}\n.icon-folder::before {\n content: \"\\e880\";\n}\n.icon-import-2::before {\n content: \"\\e881\";\n}\n.icon-refresh::before {\n content: \"\\e882\";\n}\n.icon-message-text-1::before {\n content: \"\\e883\";\n}\n.icon-messages-2::before {\n content: \"\\e884\";\n}\n.icon-global::before {\n content: \"\\e885\";\n}\n.icon-briefcase::before {\n content: \"\\e886\";\n}\n.icon-row-vertical::before {\n content: \"\\e887\";\n}\n.icon-format-square::before {\n content: \"\\e888\";\n}\n.icon-document-copy::before {\n content: \"\\e889\";\n}\n.icon-document-forward::before {\n content: \"\\e88a\";\n}\n.icon-tick-circle-1::before {\n content: \"\\e88b\";\n}\n.icon-data-timestamp::before {\n content: \"\\e88c\";\n}\n.icon-more-2::before {\n content: \"\\e88d\";\n}\n.icon-notification::before {\n content: \"\\e88e\";\n}\n.icon-search-normal-1::before {\n content: \"\\e890\";\n}\n.icon-home-1::before {\n content: \"\\e891\";\n}\n.icon-brush-1::before {\n content: \"\\e892\";\n}\n.icon-paperclip-2::before {\n content: \"\\e893\";\n}\n.icon-grid-4::before {\n content: \"\\e894\";\n}\n.icon-mouse-circle::before {\n content: \"\\e895\";\n}\n.icon-message-question::before {\n content: \"\\e896\";\n}\n.icon-saving::before {\n content: \"\\e898\";\n}\n.icon-chevron-double::before {\n content: \"\\e899\";\n}\n.icon-close::before {\n content: \"\\e89a\";\n}\n.icon-more-info::before {\n content: \"\\e89b\";\n}\n.icon-arrow-up::before {\n content: \"\\e89c\";\n}\n.icon-reorder::before {\n content: \"\\e89d\";\n}\n.icon-refresh-1::before {\n content: \"\\e89e\";\n}\n.icon-text-variable::before {\n content: \"\\e89f\";\n}\n.icon-header-horizontal::before {\n content: \"\\e8a0\";\n}\n.icon-edit-1::before {\n content: \"\\e8a1\";\n}\n.icon-credit-usage-0::before {\n content: \"\\e8a2\";\n}\n.icon-credit-usage-25::before {\n content: \"\\e8a3\";\n}\n.icon-credit-usage-75::before {\n content: \"\\e8a4\";\n}\n.icon-card::before {\n content: \"\\e8a5\";\n}\n.icon-credit-usage-100::before {\n content: \"\\e8a6\";\n}\n.icon-coding-language::before {\n content: \"\\e8ab\";\n}\n.icon-table::before {\n content: \"\\e8ad\";\n}\n.icon-check::before {\n content: \"\\e8ae\";\n}\n.icon-logo-google::before {\n content: \"\\e8af\";\n}\n.icon-data-date::before {\n content: \"\\e8b0\";\n}\n.icon-llms::before {\n content: \"\\e8b1\";\n}\n.icon-logo-openai::before {\n content: \"\\e8b2\";\n}\n.icon-logo-anthropic::before {\n content: \"\\e8b3\";\n}\n.icon-logo-meta::before {\n content: \"\\e8b4\";\n}\n.icon-data-variant::before {\n content: \"\\e8b5\";\n}\n.icon-chart-1::before {\n content: \"\\e8b6\";\n}\n.icon-schema::before {\n content: \"\\e8b7\";\n}\n.icon-ascending::before {\n content: \"\\e8b8\";\n}\n.icon-bar-chart-100stacked::before {\n content: \"\\e8ba\";\n}\n.icon-results::before {\n content: \"\\e8bc\";\n}\n.icon-bar-chart::before {\n content: \"\\e8be\";\n}\n.icon-descending::before {\n content: \"\\e8bf\";\n}\n.icon-bar-chart-vertical::before {\n content: \"\\e8c0\";\n}\n.icon-step-before-points::before {\n content: \"\\e8c4\";\n}\n.icon-step-after-points::before {\n content: \"\\e8c6\";\n}\n.icon-line-rounded::before {\n content: \"\\e8c9\";\n}\n.icon-line-sharp::before {\n content: \"\\e8cb\";\n}\n.icon-bar-chart-simple::before {\n content: \"\\e8cc\";\n}\n.icon-pie-chart::before {\n content: \"\\e8cd\";\n}\n.icon-bar-chart-stacked::before {\n content: \"\\e8ce\";\n}\n.icon-map::before {\n content: \"\\e8cf\";\n}\n.icon-radar-bar-chart::before {\n content: \"\\e8d0\";\n}\n.icon-radar-chart::before {\n content: \"\\e8d1\";\n}\n.icon-metric::before {\n content: \"\\e8d2\";\n}\n.icon-area-plot-1::before {\n content: \"\\e8d3\";\n}\n.icon-avg::before {\n content: \"\\e8d4\";\n}\n.icon-area-plot-stacked100::before {\n content: \"\\e8d5\";\n}\n.icon-scatter-bubbles::before {\n content: \"\\e8d6\";\n}\n.icon-code::before {\n content: \"\\e8d7\";\n}\n.icon-code-1::before {\n content: \"\\e8d8\";\n}\n.icon-code-circle::before {\n content: \"\\e8d9\";\n}\n.icon-scatter-plot::before {\n content: \"\\e8db\";\n}\n.icon-scatter-dots::before {\n content: \"\\e8dc\";\n}\n.icon-med::before {\n content: \"\\e8dd\";\n}\n.icon-command-square::before {\n content: \"\\e8e1\";\n}\n.icon-component::before {\n content: \"\\e8e2\";\n}\n.icon-copy::before {\n content: \"\\e8e9\";\n}\n.icon-danger::before {\n content: \"\\e8f5\";\n}\n.icon-visualization::before {\n content: \"\\e8fc\";\n}\n.icon-document-1::before {\n content: \"\\e911\";\n}\n.icon-document-code::before {\n content: \"\\e913\";\n}\n.icon-document-download::before {\n content: \"\\e916\";\n}\n.icon-document-text-1::before {\n content: \"\\e91f\";\n}\n.icon-document-upload::before {\n content: \"\\e920\";\n}\n.icon-edit::before {\n content: \"\\e927\";\n}\n.icon-edit-2::before {\n content: \"\\e928\";\n}\n.icon-eraser-1::before {\n content: \"\\e939\";\n}\n.icon-export-1::before {\n content: \"\\e93b\";\n}\n.icon-export-3::before {\n content: \"\\e93d\";\n}\n.icon-eye::before {\n content: \"\\e93f\";\n}\n.icon-eye-slash::before {\n content: \"\\e940\";\n}\n.icon-flash-1::before {\n content: \"\\e950\";\n}\n.icon-folder-2::before {\n content: \"\\e955\";\n}\n.icon-glass::before {\n content: \"\\e97c\";\n}\n.icon-home-2::before {\n content: \"\\e9aa\";\n}\n.icon-import-1::before {\n content: \"\\e9b5\";\n}\n.icon-info-circle::before {\n content: \"\\e9b7\";\n}\n.icon-key::before {\n content: \"\\e9bc\";\n}\n.icon-data::before {\n content: \"\\e9c7\";\n}\n.icon-link-2::before {\n content: \"\\e9d1\";\n}\n.icon-location::before {\n content: \"\\e9d5\";\n}\n.icon-location-slash::before {\n content: \"\\e9d9\";\n}\n.icon-login-1::before {\n content: \"\\e9e0\";\n}\n.icon-logout-1::before {\n content: \"\\e9e2\";\n}\n.icon-magicpen::before {\n content: \"\\e9e4\";\n}\n.icon-maximize-2::before {\n content: \"\\e9f0\";\n}\n.icon-maximize-4::before {\n content: \"\\e9f2\";\n}\n.icon-maximize-21::before {\n content: \"\\e9f3\";\n}\n.icon-menu-1::before {\n content: \"\\e9f8\";\n}\n.icon-message::before {\n content: \"\\e9fa\";\n}\n.icon-messages::before {\n content: \"\\ea06\";\n}\n.icon-microphone-2::before {\n content: \"\\ea11\";\n}\n.icon-minus-cirlce::before {\n content: \"\\ea18\";\n}\n.icon-moon::before {\n content: \"\\ea2e\";\n}\n.icon-more::before {\n content: \"\\ea2f\";\n}\n.icon-note::before {\n content: \"\\ea44\";\n}\n.icon-paperclip::before {\n content: \"\\ea56\";\n}\n.icon-play::before {\n content: \"\\ea6a\";\n}\n.icon-presention-chart::before {\n content: \"\\ea6f\";\n}\n.icon-redo::before {\n content: \"\\ea9c\";\n}\n.icon-rotate-left::before {\n content: \"\\eaa8\";\n}\n.icon-rotate-right::before {\n content: \"\\eaaa\";\n}\n.icon-search-zoom-in-1::before {\n content: \"\\eac8\";\n}\n.icon-search-zoom-out::before {\n content: \"\\eac9\";\n}\n.icon-send-1::before {\n content: \"\\ead1\";\n}\n.icon-setting-2::before {\n content: \"\\ead6\";\n}\n.icon-setting-4::before {\n content: \"\\ead8\";\n}\n.icon-setting-5::before {\n content: \"\\ead9\";\n}\n.icon-shuffle::before {\n content: \"\\eae9\";\n}\n.icon-sidebar-bottom::before {\n content: \"\\eaea\";\n}\n.icon-sidebar-left::before {\n content: \"\\eaeb\";\n}\n.icon-sidebar-right::before {\n content: \"\\eaec\";\n}\n.icon-sidebar-top::before {\n content: \"\\eaed\";\n}\n.icon-slash::before {\n content: \"\\eaf3\";\n}\n.icon-smallcaps::before {\n content: \"\\eaf9\";\n}\n.icon-sms::before {\n content: \"\\eafd\";\n}\n.icon-star::before {\n content: \"\\eb07\";\n}\n.icon-stop::before {\n content: \"\\eb0e\";\n}\n.icon-sun-1::before {\n content: \"\\eb15\";\n}\n.icon-tag-cross::before {\n content: \"\\eb19\";\n}\n.icon-task::before {\n content: \"\\eb1c\";\n}\n.icon-task-square::before {\n content: \"\\eb1d\";\n}\n.icon-teacher::before {\n content: \"\\eb1e\";\n}\n.icon-text::before {\n content: \"\\eb1f\";\n}\n.icon-textalign-center::before {\n content: \"\\eb20\";\n}\n.icon-textalign-justifycenter::before {\n content: \"\\eb21\";\n}\n.icon-textalign-left::before {\n content: \"\\eb24\";\n}\n.icon-textalign-right::before {\n content: \"\\eb25\";\n}\n.icon-text-block::before {\n content: \"\\eb26\";\n}\n.icon-text-bold::before {\n content: \"\\eb27\";\n}\n.icon-text-italic::before {\n content: \"\\eb28\";\n}\n.icon-text-underline::before {\n content: \"\\eb29\";\n}\n.icon-tick-circle::before {\n content: \"\\eb2a\";\n}\n.icon-timer-1::before {\n content: \"\\eb32\";\n}\n.icon-trash::before {\n content: \"\\eb3c\";\n}\n.icon-undo::before {\n content: \"\\eb47\";\n}\n.icon-user::before {\n content: \"\\eb4a\";\n}\n.icon-video-vertical::before {\n content: \"\\eb61\";\n}\n.icon-wallet-2::before {\n content: \"\\eb6d\";\n}\n.icon-wifi::before {\n content: \"\\eb7b\";\n}\n.icon-stockholm::before {\n content: \"\\eb81\";\n}\n.icon-perplexity-ai::before {\n content: \"\\eb82\";\n}\n".matchAll(/\.icon-([\w-]+)::before\s*\{\s*content:\s*"(\\[0-9a-f]+)"/g), ([, e, t]) => [e, t])), _e = 89.5, Y = "0.209em", ve = o("span"), ye = (e, t) => ({
1
+ import { chakra as e } from "@chakra-ui/react";
2
+ import { c as t } from "react/compiler-runtime";
3
+ import { jsx as n } from "react/jsx-runtime";
4
+ import { Archive as r, Ban as i, Bell as a, BookOpen as ee, Bookmark as te, Bot as ne, Bug as re, Circle as ie, Code as o, Component as s, Cpu as c, Eye as l, Feather as u, FileText as d, Flag as f, Flame as p, Folder as m, GitBranch as h, GitCommitHorizontal as g, Hash as _, Heart as v, History as y, Inbox as b, Kanban as x, Layers as S, Lightbulb as C, Link as w, ListChecks as T, MessageSquare as E, Pause as D, Pencil as O, Play as k, Puzzle as ae, Rocket as A, Scale as j, Settings as M, Shield as N, Sparkles as P, SquareKanban as F, Star as I, Tag as L, Target as R, Terminal as z, Ticket as B, Timer as V, Trash2 as H, Users as U, Workflow as W, Wrench as G, Zap as K } from "lucide-react";
5
+ //#endregion
6
+ //#region src/components/primitives/glyph-icon.tsx
7
+ var q = new Map(Array.from("@font-face {\n font-family: \"prompt-studio-icons\";\n src: url(\"$fonts/prompt-studio-icons.eot?959122fb\");\n src:\n url(\"$fonts/prompt-studio-icons.eot?959122fb#iefix\") format(\"embedded-opentype\"),\n url(\"$fonts/prompt-studio-icons.woff2?959122fb\") format(\"woff2\"),\n url(\"$fonts/prompt-studio-icons.woff?959122fb\") format(\"woff\"),\n url(\"$fonts/prompt-studio-icons.ttf?959122fb\") format(\"truetype\"),\n url(\"$fonts/prompt-studio-icons.svg?959122fb#prompt-studio-icons\") format(\"svg\");\n font-weight: normal;\n font-style: normal;\n font-display: block;\n}\n\n[class^=\"icon-\"]::before,\n[class*=\" icon-\"]::before {\n font-family: \"prompt-studio-icons\", sans-serif;\n font-style: normal;\n font-weight: normal;\n speak: never;\n display: inline-block;\n text-decoration: inherit;\n width: 1em;\n margin-right: 0.2em;\n text-align: center;\n font-variant: normal;\n text-transform: none;\n line-height: 1em;\n margin-left: 0.2em;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n.icon-cloud-add::before {\n content: \"\\e800\";\n}\n.icon-credit-usage-50::before {\n content: \"\\e801\";\n}\n.icon-history::before {\n content: \"\\e802\";\n}\n.icon-data-string::before {\n content: \"\\e803\";\n}\n.icon-data-object::before {\n content: \"\\e804\";\n}\n.icon-data-integer::before {\n content: \"\\e805\";\n}\n.icon-data-double::before {\n content: \"\\e806\";\n}\n.icon-add::before {\n content: \"\\e807\";\n}\n.icon-add-circle::before {\n content: \"\\e808\";\n}\n.icon-data-boolean::before {\n content: \"\\e809\";\n}\n.icon-add-square::before {\n content: \"\\e80a\";\n}\n.icon-data-array::before {\n content: \"\\e80b\";\n}\n.icon-status-backlog::before {\n content: \"\\e80c\";\n}\n.icon-metrics::before {\n content: \"\\e80d\";\n}\n.icon-pie-donut::before {\n content: \"\\e80e\";\n}\n.icon-area-plot::before {\n content: \"\\e80f\";\n}\n.icon-treemap::before {\n content: \"\\e810\";\n}\n.icon-align-bottom::before {\n content: \"\\e811\";\n}\n.icon-align-horizontally::before {\n content: \"\\e812\";\n}\n.icon-align-left::before {\n content: \"\\e813\";\n}\n.icon-align-right::before {\n content: \"\\e814\";\n}\n.icon-align-vertically::before {\n content: \"\\e815\";\n}\n.icon-radar-column-chart::before {\n content: \"\\e816\";\n}\n.icon-pie-full::before {\n content: \"\\e817\";\n}\n.icon-archive-1::before {\n content: \"\\e818\";\n}\n.icon-archive-2::before {\n content: \"\\e819\";\n}\n.icon-archive-add::before {\n content: \"\\e81a\";\n}\n.icon-ct::before {\n content: \"\\e81b\";\n}\n.icon-archive-minus::before {\n content: \"\\e81c\";\n}\n.icon-archive-slash::before {\n content: \"\\e81d\";\n}\n.icon-archive-tick::before {\n content: \"\\e81e\";\n}\n.icon-min::before {\n content: \"\\e81f\";\n}\n.icon-ctd::before {\n content: \"\\e820\";\n}\n.icon-std::before {\n content: \"\\e821\";\n}\n.icon-var::before {\n content: \"\\e822\";\n}\n.icon-max::before {\n content: \"\\e823\";\n}\n.icon-sum::before {\n content: \"\\e824\";\n}\n.icon-status-todo::before {\n content: \"\\e825\";\n}\n.icon-status-progress::before {\n content: \"\\e826\";\n}\n.icon-status-review::before {\n content: \"\\e827\";\n}\n.icon-status-done::before {\n content: \"\\e828\";\n}\n.icon-status-canceled::before {\n content: \"\\e829\";\n}\n.icon-level-low::before {\n content: \"\\e82a\";\n}\n.icon-arrow-down::before {\n content: \"\\e82b\";\n}\n.icon-arrow-down-1::before {\n content: \"\\e82c\";\n}\n.icon-level-mid::before {\n content: \"\\e82d\";\n}\n.icon-arrow-left::before {\n content: \"\\e82e\";\n}\n.icon-level-high::before {\n content: \"\\e82f\";\n}\n.icon-arrow-left-2::before {\n content: \"\\e830\";\n}\n.icon-level-xhigh::before {\n content: \"\\e831\";\n}\n.icon-arrow-right::before {\n content: \"\\e832\";\n}\n.icon-arrow-right-1::before {\n content: \"\\e833\";\n}\n.icon-arrow-right-3::before {\n content: \"\\e835\";\n}\n.icon-arrow-right-4::before {\n content: \"\\e836\";\n}\n.icon-arrow-square-down::before {\n content: \"\\e838\";\n}\n.icon-arrow-square-left::before {\n content: \"\\e839\";\n}\n.icon-arrow-square-up::before {\n content: \"\\e83a\";\n}\n.icon-arrow-up-2::before {\n content: \"\\e83f\";\n}\n.icon-arrow-up-3::before {\n content: \"\\e840\";\n}\n.icon-book::before {\n content: \"\\e868\";\n}\n.icon-book-1::before {\n content: \"\\e869\";\n}\n.icon-box::before {\n content: \"\\e86e\";\n}\n.icon-pointing-arrow::before {\n content: \"\\e87d\";\n}\n.icon-data-structure::before {\n content: \"\\e87e\";\n}\n.icon-brush-4::before {\n content: \"\\e87f\";\n}\n.icon-folder::before {\n content: \"\\e880\";\n}\n.icon-import-2::before {\n content: \"\\e881\";\n}\n.icon-refresh::before {\n content: \"\\e882\";\n}\n.icon-message-text-1::before {\n content: \"\\e883\";\n}\n.icon-messages-2::before {\n content: \"\\e884\";\n}\n.icon-global::before {\n content: \"\\e885\";\n}\n.icon-briefcase::before {\n content: \"\\e886\";\n}\n.icon-row-vertical::before {\n content: \"\\e887\";\n}\n.icon-format-square::before {\n content: \"\\e888\";\n}\n.icon-document-copy::before {\n content: \"\\e889\";\n}\n.icon-document-forward::before {\n content: \"\\e88a\";\n}\n.icon-tick-circle-1::before {\n content: \"\\e88b\";\n}\n.icon-data-timestamp::before {\n content: \"\\e88c\";\n}\n.icon-more-2::before {\n content: \"\\e88d\";\n}\n.icon-notification::before {\n content: \"\\e88e\";\n}\n.icon-search-normal-1::before {\n content: \"\\e890\";\n}\n.icon-home-1::before {\n content: \"\\e891\";\n}\n.icon-brush-1::before {\n content: \"\\e892\";\n}\n.icon-paperclip-2::before {\n content: \"\\e893\";\n}\n.icon-grid-4::before {\n content: \"\\e894\";\n}\n.icon-mouse-circle::before {\n content: \"\\e895\";\n}\n.icon-message-question::before {\n content: \"\\e896\";\n}\n.icon-saving::before {\n content: \"\\e898\";\n}\n.icon-chevron-double::before {\n content: \"\\e899\";\n}\n.icon-close::before {\n content: \"\\e89a\";\n}\n.icon-more-info::before {\n content: \"\\e89b\";\n}\n.icon-arrow-up::before {\n content: \"\\e89c\";\n}\n.icon-reorder::before {\n content: \"\\e89d\";\n}\n.icon-refresh-1::before {\n content: \"\\e89e\";\n}\n.icon-text-variable::before {\n content: \"\\e89f\";\n}\n.icon-header-horizontal::before {\n content: \"\\e8a0\";\n}\n.icon-edit-1::before {\n content: \"\\e8a1\";\n}\n.icon-credit-usage-0::before {\n content: \"\\e8a2\";\n}\n.icon-credit-usage-25::before {\n content: \"\\e8a3\";\n}\n.icon-credit-usage-75::before {\n content: \"\\e8a4\";\n}\n.icon-card::before {\n content: \"\\e8a5\";\n}\n.icon-credit-usage-100::before {\n content: \"\\e8a6\";\n}\n.icon-coding-language::before {\n content: \"\\e8ab\";\n}\n.icon-table::before {\n content: \"\\e8ad\";\n}\n.icon-check::before {\n content: \"\\e8ae\";\n}\n.icon-logo-google::before {\n content: \"\\e8af\";\n}\n.icon-data-date::before {\n content: \"\\e8b0\";\n}\n.icon-llms::before {\n content: \"\\e8b1\";\n}\n.icon-logo-openai::before {\n content: \"\\e8b2\";\n}\n.icon-logo-anthropic::before {\n content: \"\\e8b3\";\n}\n.icon-logo-meta::before {\n content: \"\\e8b4\";\n}\n.icon-data-variant::before {\n content: \"\\e8b5\";\n}\n.icon-chart-1::before {\n content: \"\\e8b6\";\n}\n.icon-schema::before {\n content: \"\\e8b7\";\n}\n.icon-ascending::before {\n content: \"\\e8b8\";\n}\n.icon-bar-chart-100stacked::before {\n content: \"\\e8ba\";\n}\n.icon-results::before {\n content: \"\\e8bc\";\n}\n.icon-bar-chart::before {\n content: \"\\e8be\";\n}\n.icon-descending::before {\n content: \"\\e8bf\";\n}\n.icon-bar-chart-vertical::before {\n content: \"\\e8c0\";\n}\n.icon-step-before-points::before {\n content: \"\\e8c4\";\n}\n.icon-step-after-points::before {\n content: \"\\e8c6\";\n}\n.icon-line-rounded::before {\n content: \"\\e8c9\";\n}\n.icon-line-sharp::before {\n content: \"\\e8cb\";\n}\n.icon-bar-chart-simple::before {\n content: \"\\e8cc\";\n}\n.icon-pie-chart::before {\n content: \"\\e8cd\";\n}\n.icon-bar-chart-stacked::before {\n content: \"\\e8ce\";\n}\n.icon-map::before {\n content: \"\\e8cf\";\n}\n.icon-radar-bar-chart::before {\n content: \"\\e8d0\";\n}\n.icon-radar-chart::before {\n content: \"\\e8d1\";\n}\n.icon-metric::before {\n content: \"\\e8d2\";\n}\n.icon-area-plot-1::before {\n content: \"\\e8d3\";\n}\n.icon-avg::before {\n content: \"\\e8d4\";\n}\n.icon-area-plot-stacked100::before {\n content: \"\\e8d5\";\n}\n.icon-scatter-bubbles::before {\n content: \"\\e8d6\";\n}\n.icon-code::before {\n content: \"\\e8d7\";\n}\n.icon-code-1::before {\n content: \"\\e8d8\";\n}\n.icon-code-circle::before {\n content: \"\\e8d9\";\n}\n.icon-scatter-plot::before {\n content: \"\\e8db\";\n}\n.icon-scatter-dots::before {\n content: \"\\e8dc\";\n}\n.icon-med::before {\n content: \"\\e8dd\";\n}\n.icon-command-square::before {\n content: \"\\e8e1\";\n}\n.icon-component::before {\n content: \"\\e8e2\";\n}\n.icon-copy::before {\n content: \"\\e8e9\";\n}\n.icon-danger::before {\n content: \"\\e8f5\";\n}\n.icon-visualization::before {\n content: \"\\e8fc\";\n}\n.icon-document-1::before {\n content: \"\\e911\";\n}\n.icon-document-code::before {\n content: \"\\e913\";\n}\n.icon-document-download::before {\n content: \"\\e916\";\n}\n.icon-document-text-1::before {\n content: \"\\e91f\";\n}\n.icon-document-upload::before {\n content: \"\\e920\";\n}\n.icon-edit::before {\n content: \"\\e927\";\n}\n.icon-edit-2::before {\n content: \"\\e928\";\n}\n.icon-eraser-1::before {\n content: \"\\e939\";\n}\n.icon-export-1::before {\n content: \"\\e93b\";\n}\n.icon-export-3::before {\n content: \"\\e93d\";\n}\n.icon-eye::before {\n content: \"\\e93f\";\n}\n.icon-eye-slash::before {\n content: \"\\e940\";\n}\n.icon-flash-1::before {\n content: \"\\e950\";\n}\n.icon-folder-2::before {\n content: \"\\e955\";\n}\n.icon-glass::before {\n content: \"\\e97c\";\n}\n.icon-home-2::before {\n content: \"\\e9aa\";\n}\n.icon-import-1::before {\n content: \"\\e9b5\";\n}\n.icon-info-circle::before {\n content: \"\\e9b7\";\n}\n.icon-key::before {\n content: \"\\e9bc\";\n}\n.icon-data::before {\n content: \"\\e9c7\";\n}\n.icon-link-2::before {\n content: \"\\e9d1\";\n}\n.icon-location::before {\n content: \"\\e9d5\";\n}\n.icon-location-slash::before {\n content: \"\\e9d9\";\n}\n.icon-login-1::before {\n content: \"\\e9e0\";\n}\n.icon-logout-1::before {\n content: \"\\e9e2\";\n}\n.icon-magicpen::before {\n content: \"\\e9e4\";\n}\n.icon-maximize-2::before {\n content: \"\\e9f0\";\n}\n.icon-maximize-4::before {\n content: \"\\e9f2\";\n}\n.icon-maximize-21::before {\n content: \"\\e9f3\";\n}\n.icon-menu-1::before {\n content: \"\\e9f8\";\n}\n.icon-message::before {\n content: \"\\e9fa\";\n}\n.icon-messages::before {\n content: \"\\ea06\";\n}\n.icon-microphone-2::before {\n content: \"\\ea11\";\n}\n.icon-minus-cirlce::before {\n content: \"\\ea18\";\n}\n.icon-moon::before {\n content: \"\\ea2e\";\n}\n.icon-more::before {\n content: \"\\ea2f\";\n}\n.icon-note::before {\n content: \"\\ea44\";\n}\n.icon-paperclip::before {\n content: \"\\ea56\";\n}\n.icon-play::before {\n content: \"\\ea6a\";\n}\n.icon-presention-chart::before {\n content: \"\\ea6f\";\n}\n.icon-redo::before {\n content: \"\\ea9c\";\n}\n.icon-rotate-left::before {\n content: \"\\eaa8\";\n}\n.icon-rotate-right::before {\n content: \"\\eaaa\";\n}\n.icon-search-zoom-in-1::before {\n content: \"\\eac8\";\n}\n.icon-search-zoom-out::before {\n content: \"\\eac9\";\n}\n.icon-send-1::before {\n content: \"\\ead1\";\n}\n.icon-setting-2::before {\n content: \"\\ead6\";\n}\n.icon-setting-4::before {\n content: \"\\ead8\";\n}\n.icon-setting-5::before {\n content: \"\\ead9\";\n}\n.icon-shuffle::before {\n content: \"\\eae9\";\n}\n.icon-sidebar-bottom::before {\n content: \"\\eaea\";\n}\n.icon-sidebar-left::before {\n content: \"\\eaeb\";\n}\n.icon-sidebar-right::before {\n content: \"\\eaec\";\n}\n.icon-sidebar-top::before {\n content: \"\\eaed\";\n}\n.icon-slash::before {\n content: \"\\eaf3\";\n}\n.icon-smallcaps::before {\n content: \"\\eaf9\";\n}\n.icon-sms::before {\n content: \"\\eafd\";\n}\n.icon-star::before {\n content: \"\\eb07\";\n}\n.icon-stop::before {\n content: \"\\eb0e\";\n}\n.icon-sun-1::before {\n content: \"\\eb15\";\n}\n.icon-tag-cross::before {\n content: \"\\eb19\";\n}\n.icon-task::before {\n content: \"\\eb1c\";\n}\n.icon-task-square::before {\n content: \"\\eb1d\";\n}\n.icon-teacher::before {\n content: \"\\eb1e\";\n}\n.icon-text::before {\n content: \"\\eb1f\";\n}\n.icon-textalign-center::before {\n content: \"\\eb20\";\n}\n.icon-textalign-justifycenter::before {\n content: \"\\eb21\";\n}\n.icon-textalign-left::before {\n content: \"\\eb24\";\n}\n.icon-textalign-right::before {\n content: \"\\eb25\";\n}\n.icon-text-block::before {\n content: \"\\eb26\";\n}\n.icon-text-bold::before {\n content: \"\\eb27\";\n}\n.icon-text-italic::before {\n content: \"\\eb28\";\n}\n.icon-text-underline::before {\n content: \"\\eb29\";\n}\n.icon-tick-circle::before {\n content: \"\\eb2a\";\n}\n.icon-timer-1::before {\n content: \"\\eb32\";\n}\n.icon-trash::before {\n content: \"\\eb3c\";\n}\n.icon-undo::before {\n content: \"\\eb47\";\n}\n.icon-user::before {\n content: \"\\eb4a\";\n}\n.icon-video-vertical::before {\n content: \"\\eb61\";\n}\n.icon-wallet-2::before {\n content: \"\\eb6d\";\n}\n.icon-wifi::before {\n content: \"\\eb7b\";\n}\n.icon-stockholm::before {\n content: \"\\eb81\";\n}\n.icon-perplexity-ai::before {\n content: \"\\eb82\";\n}\n".matchAll(/\.icon-([\w-]+)::before\s*\{\s*content:\s*"(\\[0-9a-f]+)"/g), ([, e, t]) => [e, t])), J = 89.5, oe = "0.209em", se = e("span"), ce = (e, t) => ({
87
8
  position: "relative",
88
9
  display: "inline-block",
89
10
  verticalAlign: "middle",
@@ -101,19 +22,19 @@ var fe = (e) => e.type.startsWith("image/"), pe = (e) => e < 1024 ? `${e.toStrin
101
22
  fontWeight: "normal",
102
23
  lineHeight: "100cqmin",
103
24
  textAlign: "center",
104
- transform: `translateY(${Y})`
25
+ transform: `translateY(${oe})`
105
26
  }
106
- }), X = (e, t = {}) => {
107
- let n = ye(`"${ge.get(e) ?? ""}"`, `${(_e * (t.scale ?? 1)).toFixed(1)}cqmin`), r = (e) => {
108
- let t = s(2), r;
109
- return t[0] === e ? r = t[1] : (r = /* @__PURE__ */ c(ve, {
27
+ }), Y = (e, r = {}) => {
28
+ let i = ce(`"${q.get(e) ?? ""}"`, `${(J * (r.scale ?? 1)).toFixed(1)}cqmin`), a = (e) => {
29
+ let r = t(2), a;
30
+ return r[0] === e ? a = r[1] : (a = /* @__PURE__ */ n(se, {
110
31
  "aria-hidden": !0,
111
32
  ...e,
112
- css: n
113
- }), t[0] = e, t[1] = r), r;
33
+ css: i
34
+ }), r[0] = e, r[1] = a), a;
114
35
  };
115
- return r.displayName = `GlyphIcon(${e})`, r;
116
- }, be = [
36
+ return a.displayName = `GlyphIcon(${e})`, a;
37
+ }, le = [
117
38
  "gray",
118
39
  "red",
119
40
  "orange",
@@ -124,300 +45,264 @@ var fe = (e) => e.type.startsWith("image/"), pe = (e) => e < 1024 ? `${e.toStrin
124
45
  "cyan",
125
46
  "purple",
126
47
  "pink"
127
- ], Z = (e, t) => ({
48
+ ], X = (e, t) => ({
128
49
  value: e,
129
50
  label: t,
130
- icon: X(e)
131
- }), Q = (e, t) => ({
51
+ icon: Y(e)
52
+ }), Z = (e, t) => ({
132
53
  value: e,
133
54
  label: t,
134
- icon: X(e, { scale: .82 })
135
- }), $ = [
55
+ icon: Y(e, { scale: .82 })
56
+ }), Q = [
136
57
  {
137
58
  value: null,
138
59
  label: "none",
139
- icon: p
60
+ icon: i
140
61
  },
141
62
  {
142
63
  value: "flag",
143
64
  label: "flag",
144
- icon: E
65
+ icon: f
145
66
  },
146
67
  {
147
68
  value: "bug",
148
69
  label: "bug",
149
- icon: v
70
+ icon: re
150
71
  },
151
72
  {
152
73
  value: "sparkles",
153
74
  label: "sparkles",
154
- icon: U
75
+ icon: P
155
76
  },
156
77
  {
157
78
  value: "book-open",
158
79
  label: "book open",
159
- icon: h
80
+ icon: ee
160
81
  },
161
82
  {
162
83
  value: "wrench",
163
84
  label: "wrench",
164
- icon: le
85
+ icon: G
165
86
  },
166
87
  {
167
88
  value: "zap",
168
89
  label: "zap",
169
- icon: de
90
+ icon: K
170
91
  },
171
92
  {
172
93
  value: "feather",
173
94
  label: "feather",
174
- icon: w
95
+ icon: u
175
96
  },
176
97
  {
177
98
  value: "scale",
178
99
  label: "scale",
179
- icon: B
100
+ icon: j
180
101
  },
181
102
  {
182
103
  value: "layers",
183
104
  label: "layers",
184
- icon: M
105
+ icon: S
185
106
  },
186
107
  {
187
108
  value: "star",
188
109
  label: "star",
189
- icon: G
110
+ icon: I
190
111
  },
191
112
  {
192
113
  value: "flame",
193
114
  label: "flame",
194
- icon: D
115
+ icon: p
195
116
  },
196
117
  {
197
118
  value: "lightbulb",
198
119
  label: "lightbulb",
199
- icon: N
120
+ icon: C
200
121
  },
201
122
  {
202
123
  value: "shield",
203
124
  label: "shield",
204
- icon: H
125
+ icon: N
205
126
  },
206
127
  {
207
128
  value: "eye",
208
129
  label: "eye",
209
- icon: C
130
+ icon: l
210
131
  },
211
132
  {
212
133
  value: "clock",
213
134
  label: "clock",
214
- icon: oe
135
+ icon: V
215
136
  },
216
137
  {
217
138
  value: "tag",
218
139
  label: "tag",
219
- icon: K
140
+ icon: L
220
141
  },
221
142
  {
222
143
  value: "code",
223
144
  label: "code",
224
- icon: b
145
+ icon: o
225
146
  },
226
147
  {
227
148
  value: "rocket",
228
149
  label: "rocket",
229
- icon: z
150
+ icon: A
230
151
  },
231
152
  {
232
153
  value: "heart",
233
154
  label: "heart",
234
- icon: O
155
+ icon: v
235
156
  },
236
157
  {
237
158
  value: "bookmark",
238
159
  label: "bookmark",
239
- icon: g
160
+ icon: te
240
161
  },
241
162
  {
242
163
  value: "target",
243
164
  label: "target",
244
- icon: q
165
+ icon: R
245
166
  },
246
167
  {
247
168
  value: "bell",
248
169
  label: "bell",
249
- icon: m
170
+ icon: a
250
171
  },
251
172
  {
252
173
  value: "hash",
253
174
  label: "hash",
254
- icon: ie
175
+ icon: _
255
176
  },
256
- Z("status-backlog", "status backlog"),
257
- Z("status-todo", "status todo"),
258
- Z("status-progress", "status in progress"),
259
- Z("status-review", "status in review"),
260
- Z("status-done", "status done"),
261
- Z("status-canceled", "status canceled"),
177
+ X("status-backlog", "status backlog"),
178
+ X("status-todo", "status todo"),
179
+ X("status-progress", "status in progress"),
180
+ X("status-review", "status in review"),
181
+ X("status-done", "status done"),
182
+ X("status-canceled", "status canceled"),
262
183
  {
263
184
  value: "ticket",
264
185
  label: "ticket",
265
- icon: J
186
+ icon: B
266
187
  },
267
188
  {
268
189
  value: "git-branch",
269
190
  label: "git branch",
270
- icon: ne
191
+ icon: h
271
192
  },
272
- Q("level-low", "level low"),
273
- Q("level-mid", "level medium"),
274
- Q("level-high", "level high"),
275
- Q("level-xhigh", "level very high"),
193
+ Z("level-low", "level low"),
194
+ Z("level-mid", "level medium"),
195
+ Z("level-high", "level high"),
196
+ Z("level-xhigh", "level very high"),
276
197
  {
277
198
  value: "bot",
278
199
  label: "bot",
279
- icon: _
200
+ icon: ne
280
201
  },
281
202
  {
282
203
  value: "puzzle",
283
204
  label: "puzzle",
284
- icon: R
205
+ icon: ae
285
206
  },
286
207
  {
287
208
  value: "workflow",
288
209
  label: "workflow",
289
- icon: ce
210
+ icon: W
290
211
  },
291
212
  {
292
213
  value: "kanban",
293
214
  label: "kanban",
294
- icon: j
215
+ icon: x
295
216
  },
296
217
  {
297
218
  value: "message-square",
298
219
  label: "message square",
299
- icon: I
220
+ icon: E
300
221
  },
301
222
  {
302
223
  value: "folder",
303
224
  label: "folder",
304
- icon: te
225
+ icon: m
305
226
  },
306
227
  {
307
228
  value: "file-text",
308
229
  label: "file text",
309
- icon: T
230
+ icon: d
310
231
  },
311
232
  {
312
233
  value: "history",
313
234
  label: "history",
314
- icon: k
235
+ icon: y
315
236
  },
316
237
  {
317
238
  value: "play",
318
239
  label: "play",
319
- icon: L
240
+ icon: k
320
241
  },
321
242
  {
322
243
  value: "terminal",
323
244
  label: "terminal",
324
- icon: ae
245
+ icon: z
325
246
  },
326
247
  {
327
248
  value: "cpu",
328
249
  label: "CPU",
329
- icon: S
250
+ icon: c
330
251
  },
331
252
  {
332
253
  value: "users",
333
254
  label: "users",
334
- icon: se
255
+ icon: U
335
256
  },
336
257
  {
337
258
  value: "component",
338
259
  label: "ticket",
339
- icon: x
260
+ icon: s
340
261
  },
341
262
  {
342
263
  value: "square-kanban",
343
264
  label: "board",
344
- icon: W
265
+ icon: F
345
266
  },
346
267
  {
347
268
  value: "git-commit-horizontal",
348
269
  label: "workspace",
349
- icon: re
270
+ icon: g
350
271
  },
351
272
  {
352
273
  value: "inbox",
353
274
  label: "notifications",
354
- icon: A
275
+ icon: b
355
276
  },
356
277
  {
357
278
  value: "list-checks",
358
279
  label: "checklist",
359
- icon: F
280
+ icon: T
360
281
  },
361
282
  {
362
283
  value: "archive",
363
284
  label: "archive",
364
- icon: f
285
+ icon: r
365
286
  },
366
287
  {
367
288
  value: "link",
368
289
  label: "link",
369
- icon: P
290
+ icon: w
370
291
  },
371
292
  {
372
293
  value: "settings",
373
294
  label: "settings",
374
- icon: V
295
+ icon: M
375
296
  }
376
- ], xe = (e, t = $) => {
297
+ ], $ = {
298
+ pause: D,
299
+ pencil: O,
300
+ "trash-2": H
301
+ }, ue = (e, t = Q) => {
377
302
  let n = (e ?? "circle").replace(/([a-z0-9])([A-Z])/g, "$1-$2").replace(/([a-zA-Z])([0-9])/g, "$1-$2").toLowerCase();
378
- return t.find((e) => e.value === n)?.icon ?? y;
379
- }, Se = u.forwardRef(function(e, t) {
380
- let n = s(9), r, a;
381
- n[0] === e ? (r = n[1], a = n[2]) : ({children: r, ...a} = e, n[0] = e, n[1] = r, n[2] = a);
382
- let o;
383
- n[3] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ c(i.Track, {
384
- height: "2px",
385
- borderRadius: "0",
386
- bg: "bg.muted",
387
- children: /* @__PURE__ */ c(i.Range, { bg: "fg" })
388
- }), n[3] = o) : o = n[3];
389
- let u;
390
- n[4] === Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ l(i.Control, { children: [o, /* @__PURE__ */ c(i.Thumbs, {
391
- boxSize: "0.5rem",
392
- bg: "fg",
393
- borderWidth: "1px",
394
- borderColor: "bg",
395
- borderRadius: "none",
396
- boxShadow: "none",
397
- transition: "width 0.12s ease, height 0.12s ease, border-color 0.2s ease-in-out",
398
- _hover: {
399
- boxSize: "0.75rem",
400
- borderColor: "border.accent-light"
401
- },
402
- _active: {
403
- boxSize: "0.875rem",
404
- borderColor: "border.accent-light"
405
- },
406
- _focusVisible: {
407
- borderColor: "border.accent-light",
408
- outline: "none",
409
- boxShadow: "none"
410
- }
411
- })] }), n[4] = u) : u = n[4];
412
- let d;
413
- return n[5] !== r || n[6] !== t || n[7] !== a ? (d = /* @__PURE__ */ l(i.Root, {
414
- ref: t,
415
- variant: "solid",
416
- ...a,
417
- children: [u, r]
418
- }), n[5] = r, n[6] = t, n[7] = a, n[8] = d) : d = n[8], d;
419
- });
303
+ return t.find((e) => e.value === n)?.icon ?? $[n] ?? ie;
304
+ };
420
305
  //#endregion
421
- export { X as a, $ as i, xe as n, he as o, be as r, me as s, Se as t };
306
+ export { Y as i, le as n, Q as r, ue as t };
422
307
 
423
- //# sourceMappingURL=slider-hwHYe98I.js.map
308
+ //# sourceMappingURL=icon-options-Tt6Wzhtv.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icon-options-Tt6Wzhtv.js","names":["chakra","ComponentType","HTMLAttributes","generatedGlyphStyles","GLYPH_RULE","glyphContent","Map","Array","from","matchAll","name","content","GLYPH_OPTICAL_SIZE","GLYPH_BASELINE_OFFSET","GlyphRoot","glyphStyles","fontSize","position","display","verticalAlign","flexShrink","boxSize","lineHeight","containerType","inset","fontFamily","fontStyle","fontWeight","textAlign","transform","GlyphIconProps","Omit","HTMLSpanElement","GlyphIconOptions","scale","createGlyphIcon","glyph","options","styles","get","toFixed","GlyphIcon","props","$","_c","t0","displayName","generatedGlyphStyles","_c","Archive","Ban","Bell","Bookmark","BookOpen","Bot","Bug","Circle","Code","Component","Cpu","Eye","Feather","FileText","Flag","Flame","Folder","GitBranch","GitCommitHorizontal","Hash","Heart","History","Inbox","Kanban","Layers","Lightbulb","Link","ListChecks","MessageSquare","Pause","Pencil","Play","Puzzle","Rocket","Scale","Settings","Shield","Sparkles","SquareKanban","Star","Tag","Target","Terminal","Ticket","Timer","Trash2","Users","Workflow","Wrench","Zap","ComponentType","createGlyphIcon","IconColorPickerIconOption","value","label","icon","optionColors","const","glyph","name","levelGlyph","scale","optionIcons","actionIcons","Record","pause","pencil","getIconComponent","iconOptions","normalizedName","replace","toLowerCase","entry","find","Tag","Code","Link","Code$1","Link$1","Tag$1","glyphContent","name","content","GLYPH_OPTICAL_SIZE","GLYPH_BASELINE_OFFSET","GlyphRoot","chakra","glyphStyles","createGlyphIcon","styles","glyph","options","GlyphIcon","$","c","t0","props","optionColors","levelGlyph","optionIcons","Ban","Flag","Bug","Sparkles","BookOpen","Wrench","Zap","Feather","Scale","Layers","Star","Flame","Lightbulb","Shield","Eye","Timer","Rocket","Heart","Bookmark","Target","Bell","Hash","Ticket","GitBranch","Bot","Puzzle","Workflow","Kanban","MessageSquare","Folder","FileText","History","Play","Terminal","Cpu","Users","Component","SquareKanban","GitCommitHorizontal","Inbox","ListChecks","Archive","Settings","actionIcons","Pause","Pencil","Trash2","getIconComponent","normalizedName","iconOptions","icon","Circle"],"sources":["../src/components/primitives/glyph-icon.tsx","../src/components/primitives/icon-options.tsx"],"sourcesContent":["import { chakra } from \"@chakra-ui/react\";\nimport type { ComponentType, HTMLAttributes } from \"react\";\n// Package-relative on purpose: every host that resolves `@pstdio/ui` from source\n// would otherwise need its own `$fonts` alias.\nimport generatedGlyphStyles from \"../../../public/font/css/prompt-studio-icons.css?raw\";\nimport \"./glyph-icon.css\";\n\n// The generated stylesheet is the source of truth for glyph codepoints; reading\n// them here keeps `@pstdio/ui` from bundling its legacy @font-face formats.\nconst GLYPH_RULE = /\\.icon-([\\w-]+)::before\\s*\\{\\s*content:\\s*\"(\\\\[0-9a-f]+)\"/g;\n\nconst glyphContent = new Map(\n Array.from(generatedGlyphStyles.matchAll(GLYPH_RULE), ([, name, content]) => [name, content]),\n);\n\n// Glyphs are painted through a ::before pseudo element sized by font-size, so the\n// wrapper turns its own box into a size container. That lets the glyph track\n// whatever box the caller gives it (`boxSize` on a Chakra `Icon`, say) exactly\n// like a lucide SVG would.\n//\n// Everything is applied through the `css` prop rather than a `chakra()` base:\n// factory base styles sit in a lower cascade layer than the `chakra-icon` recipe\n// and the global reset, which silently blockified the wrapper and, with it, threw\n// away the `vertical-align` that keeps an icon on the text's centre line.\n//\n// The ::before is taken out of flow and stretched over the wrapper so its geometry\n// never depends on the wrapper's own layout mode. Within that box the font builder\n// normalises every glyph's ink to a 1024-unit box sitting 47 units above the\n// baseline of a 1000-unit em (ascent 850 / descent -150), so the ink renders larger\n// than the em and half its overhang above centre: 89.5% of the container lands it\n// on lucide's 22-of-24 optical size, and 0.209em — measured against the glyph's own\n// font size, so it follows any optical scale — drops it onto the centre line.\nconst GLYPH_OPTICAL_SIZE = 89.5;\nconst GLYPH_BASELINE_OFFSET = \"0.209em\";\n\nconst GlyphRoot = chakra(\"span\");\n\nconst glyphStyles = (content: string, fontSize: string) => ({\n position: \"relative\",\n display: \"inline-block\",\n verticalAlign: \"middle\",\n flexShrink: 0,\n boxSize: \"1em\",\n lineHeight: 1,\n containerType: \"size\",\n \"&::before\": {\n content,\n fontSize,\n position: \"absolute\",\n inset: 0,\n fontFamily: '\"prompt-studio-icons\", sans-serif',\n fontStyle: \"normal\",\n fontWeight: \"normal\",\n lineHeight: \"100cqmin\",\n textAlign: \"center\",\n transform: `translateY(${GLYPH_BASELINE_OFFSET})`,\n },\n});\n\ntype GlyphIconProps = Omit<HTMLAttributes<HTMLSpanElement>, \"children\">;\n\nexport interface GlyphIconOptions {\n /**\n * Optical size relative to a round glyph. Every glyph is normalised to the same\n * ink box, so square marks such as the level bars need trimming to carry the\n * same visual weight as the status rings.\n */\n scale?: number;\n}\n\n/**\n * Builds a component for one `prompt-studio-icons` glyph so lucide icons and\n * font glyphs share a single component type in the icon registry.\n */\nexport const createGlyphIcon = (glyph: string, options: GlyphIconOptions = {}): ComponentType<GlyphIconProps> => {\n const styles = glyphStyles(\n `\"${glyphContent.get(glyph) ?? \"\"}\"`,\n `${(GLYPH_OPTICAL_SIZE * (options.scale ?? 1)).toFixed(1)}cqmin`,\n );\n\n const GlyphIcon = (props: GlyphIconProps) => <GlyphRoot aria-hidden {...props} css={styles} />;\n\n GlyphIcon.displayName = `GlyphIcon(${glyph})`;\n return GlyphIcon;\n};\n","import {\n Archive,\n Ban,\n Bell,\n Bookmark,\n BookOpen,\n Bot,\n Bug,\n Circle,\n Code,\n Component,\n Cpu,\n Eye,\n Feather,\n FileText,\n Flag,\n Flame,\n Folder,\n GitBranch,\n GitCommitHorizontal,\n Hash,\n Heart,\n History,\n Inbox,\n Kanban,\n Layers,\n Lightbulb,\n Link,\n ListChecks,\n MessageSquare,\n Pause,\n Pencil,\n Play,\n Puzzle,\n Rocket,\n Scale,\n Settings,\n Shield,\n Sparkles,\n SquareKanban,\n Star,\n Tag,\n Target,\n Terminal,\n Ticket,\n Timer,\n Trash2,\n Users,\n Workflow,\n Wrench,\n Zap,\n} from \"lucide-react\";\nimport type { ComponentType } from \"react\";\nimport { createGlyphIcon } from \"./glyph-icon\";\n\nexport interface IconColorPickerIconOption {\n value: string | null;\n label: string;\n icon: ComponentType;\n}\n\nexport const optionColors = [\n \"gray\",\n \"red\",\n \"orange\",\n \"yellow\",\n \"green\",\n \"teal\",\n \"blue\",\n \"cyan\",\n \"purple\",\n \"pink\",\n] as const;\n\nconst glyph = (name: string, label: string) => ({ value: name, label, icon: createGlyphIcon(name) });\n\n// Level bars fill their ink box as a solid square, so they read heavier than the\n// round status glyphs at the same size; lucide's own bar marks sit at 18-of-24.\nconst levelGlyph = (name: string, label: string) => ({\n value: name,\n label,\n icon: createGlyphIcon(name, { scale: 0.82 }),\n});\n\n// Ordered exactly like the `cmp/TagAppearancePopover` grid in the design system:\n// a leading \"none\" cell, generic icons, then status rings, levels and concepts.\n// Status rings and level bars have no lucide equivalent and ship as glyphs in\n// the `prompt-studio-icons` font.\nexport const optionIcons = [\n { value: null, label: \"none\", icon: Ban },\n { value: \"flag\", label: \"flag\", icon: Flag },\n { value: \"bug\", label: \"bug\", icon: Bug },\n { value: \"sparkles\", label: \"sparkles\", icon: Sparkles },\n { value: \"book-open\", label: \"book open\", icon: BookOpen },\n { value: \"wrench\", label: \"wrench\", icon: Wrench },\n { value: \"zap\", label: \"zap\", icon: Zap },\n { value: \"feather\", label: \"feather\", icon: Feather },\n { value: \"scale\", label: \"scale\", icon: Scale },\n { value: \"layers\", label: \"layers\", icon: Layers },\n { value: \"star\", label: \"star\", icon: Star },\n { value: \"flame\", label: \"flame\", icon: Flame },\n { value: \"lightbulb\", label: \"lightbulb\", icon: Lightbulb },\n { value: \"shield\", label: \"shield\", icon: Shield },\n { value: \"eye\", label: \"eye\", icon: Eye },\n // The design draws the clock cell with lucide's timer.\n { value: \"clock\", label: \"clock\", icon: Timer },\n { value: \"tag\", label: \"tag\", icon: Tag },\n { value: \"code\", label: \"code\", icon: Code },\n { value: \"rocket\", label: \"rocket\", icon: Rocket },\n { value: \"heart\", label: \"heart\", icon: Heart },\n { value: \"bookmark\", label: \"bookmark\", icon: Bookmark },\n { value: \"target\", label: \"target\", icon: Target },\n { value: \"bell\", label: \"bell\", icon: Bell },\n { value: \"hash\", label: \"hash\", icon: Hash },\n glyph(\"status-backlog\", \"status backlog\"),\n glyph(\"status-todo\", \"status todo\"),\n glyph(\"status-progress\", \"status in progress\"),\n glyph(\"status-review\", \"status in review\"),\n glyph(\"status-done\", \"status done\"),\n glyph(\"status-canceled\", \"status canceled\"),\n { value: \"ticket\", label: \"ticket\", icon: Ticket },\n { value: \"git-branch\", label: \"git branch\", icon: GitBranch },\n levelGlyph(\"level-low\", \"level low\"),\n levelGlyph(\"level-mid\", \"level medium\"),\n levelGlyph(\"level-high\", \"level high\"),\n levelGlyph(\"level-xhigh\", \"level very high\"),\n { value: \"bot\", label: \"bot\", icon: Bot },\n { value: \"puzzle\", label: \"puzzle\", icon: Puzzle },\n { value: \"workflow\", label: \"workflow\", icon: Workflow },\n { value: \"kanban\", label: \"kanban\", icon: Kanban },\n { value: \"message-square\", label: \"message square\", icon: MessageSquare },\n { value: \"folder\", label: \"folder\", icon: Folder },\n { value: \"file-text\", label: \"file text\", icon: FileText },\n { value: \"history\", label: \"history\", icon: History },\n { value: \"play\", label: \"play\", icon: Play },\n { value: \"terminal\", label: \"terminal\", icon: Terminal },\n { value: \"cpu\", label: \"CPU\", icon: Cpu },\n { value: \"users\", label: \"users\", icon: Users },\n // Prompt Studio concepts: the icons its own tickets, boards, workspaces and\n // notifications are drawn with.\n { value: \"component\", label: \"ticket\", icon: Component },\n { value: \"square-kanban\", label: \"board\", icon: SquareKanban },\n { value: \"git-commit-horizontal\", label: \"workspace\", icon: GitCommitHorizontal },\n { value: \"inbox\", label: \"notifications\", icon: Inbox },\n { value: \"list-checks\", label: \"checklist\", icon: ListChecks },\n { value: \"archive\", label: \"archive\", icon: Archive },\n { value: \"link\", label: \"link\", icon: Link },\n { value: \"settings\", label: \"settings\", icon: Settings },\n] satisfies IconColorPickerIconOption[];\n\nconst actionIcons: Record<string, ComponentType> = { pause: Pause, pencil: Pencil, \"trash-2\": Trash2 };\n\nexport const getIconComponent = (\n name: string | null | undefined,\n iconOptions: readonly IconColorPickerIconOption[] = optionIcons,\n): ComponentType => {\n const normalizedName = (name ?? \"circle\")\n .replace(/([a-z0-9])([A-Z])/g, \"$1-$2\")\n .replace(/([a-zA-Z])([0-9])/g, \"$1-$2\")\n .toLowerCase();\n const entry = iconOptions.find((icon) => icon.value === normalizedName);\n return entry?.icon ?? actionIcons[normalizedName] ?? Circle;\n};\n"],"mappings":"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"}