@vokril/ui-solid 0.8.2 → 0.9.1

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 (135) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/README.md +5 -5
  3. package/dist/IconPicker-9tjEtmqt.cjs +1 -0
  4. package/dist/IconPicker-CXbFmJ3y.js +179 -0
  5. package/dist/_internal/app/icons/iconSetRegistry.d.cts +2 -2
  6. package/dist/_internal/app/icons/iconSetRegistry.d.ts +2 -2
  7. package/dist/{createResizableSidebar-B22SKv9b.js → createResizableSidebar-2TgiFZp1.js} +11 -12
  8. package/dist/createResizableSidebar-pDoO-7q9.cjs +1 -0
  9. package/dist/forms/index.cjs +1 -1
  10. package/dist/forms/index.js +1 -1
  11. package/dist/index.cjs +1 -1
  12. package/dist/index.d.cts +0 -1
  13. package/dist/index.d.ts +0 -1
  14. package/dist/index.js +314 -317
  15. package/dist/layout/PageHeaderIcon.d.cts +1 -1
  16. package/dist/layout/PageHeaderIcon.d.ts +1 -1
  17. package/dist/layout/index.cjs +1 -1
  18. package/dist/layout/index.js +1 -1
  19. package/dist/navigation/pageHeaderContract.d.cts +1 -1
  20. package/dist/navigation/pageHeaderContract.d.ts +1 -1
  21. package/dist/server/CommandPalette-39UA8MVn.cjs +1 -0
  22. package/dist/server/{CommandPalette-4RCiBlmz.js → CommandPalette-DIlbFrNy.js} +76 -78
  23. package/dist/server/{DateRangePicker-TW0Dy4u6.js → DateRangePicker-QV6U1adB.js} +1 -1
  24. package/dist/server/{GuidedTour-DvMqeZIU.cjs → GuidedTour-CMLjHh-y.cjs} +9 -9
  25. package/dist/server/{GuidedTour-Bc7SqDXY.js → GuidedTour-bV_r4vSt.js} +29 -30
  26. package/dist/server/IconPicker-B4wK1LxJ.js +162 -0
  27. package/dist/server/IconPicker-DoWUHbst.cjs +1 -0
  28. package/dist/server/Modal-BJqeQWr2.js +415 -0
  29. package/dist/server/Modal-Bt5zABLw.cjs +1 -0
  30. package/dist/server/Popover-BSHOd_RH.cjs +1 -0
  31. package/dist/server/{Popover-BRU2E-ek.js → Popover-DOl2Wob7.js} +103 -88
  32. package/dist/server/{StatusBarNotificationBell-Bk9ETGFK.js → StatusBarNotificationBell-5QIZhWif.js} +26 -27
  33. package/dist/server/{StatusBarNotificationBell-t7B7rSrd.cjs → StatusBarNotificationBell-BA53G1Rm.cjs} +3 -3
  34. package/dist/server/{Stepper-CJIoTXSv.js → Stepper-DPIaVHC2.js} +20 -21
  35. package/dist/server/Stepper-lTAo7tM9.cjs +1 -0
  36. package/dist/server/ToggleButton-BSOdOzjN.cjs +1 -0
  37. package/dist/server/{ToggleButton-BAhucFQT.js → ToggleButton-Cd8Dmcuj.js} +61 -62
  38. package/dist/server/VpArrowUp-9_PfEqFt.js +46 -0
  39. package/dist/server/VpArrowUp-D9ZUNPyn.cjs +1 -0
  40. package/dist/server/{VpChevronLeft-YI8H4bUq.js → VpChevronLeft-Dop81HaK.js} +2 -2
  41. package/dist/server/{VpTerminal-Bouc2jnT.js → VpTerminal-Bpw-d9wD.js} +12 -12
  42. package/dist/server/{VpTrash-B9HkM5Nj.js → VpTrash-DVBfts9_.js} +8 -8
  43. package/dist/server/{VpUpload-D3hgzJbk.js → VpUpload-_n-qdj9q.js} +5 -5
  44. package/dist/server/{createResizableSidebar-IcXBM-BE.js → createResizableSidebar-94M9e5Oc.js} +9 -10
  45. package/dist/server/createResizableSidebar-BriIvZzI.cjs +1 -0
  46. package/dist/server/forms/index.cjs +1 -1
  47. package/dist/server/forms/index.js +3 -3
  48. package/dist/server/{VpWorkspaceTrusted-DiZC21WF.js → index-BqIOYH6R.js} +1140 -1063
  49. package/dist/server/index-DwEHhkL-.cjs +1 -0
  50. package/dist/server/index.cjs +1 -1
  51. package/dist/server/index.js +769 -1146
  52. package/dist/server/layout/index.cjs +1 -1
  53. package/dist/server/layout/index.js +2 -2
  54. package/dist/server/navigation/index.cjs +1 -1
  55. package/dist/server/navigation/index.js +1 -1
  56. package/dist/server/notifications/index.cjs +1 -1
  57. package/dist/server/notifications/index.js +2 -2
  58. package/dist/server/overlay/index.cjs +1 -1
  59. package/dist/server/overlay/index.js +4 -4
  60. package/dist/solid/_internal/app/icons/iconSetRegistry.js +1 -1
  61. package/dist/solid/desktop/menu/MenuPanel.jsx +2 -2
  62. package/dist/solid/feedback/Chip.jsx +1 -1
  63. package/dist/solid/feedback/InlineError.jsx +1 -1
  64. package/dist/solid/forms/Combobox.jsx +1 -1
  65. package/dist/solid/forms/CopyButton.jsx +1 -1
  66. package/dist/solid/forms/DatePicker.jsx +1 -1
  67. package/dist/solid/forms/Dropzone.jsx +1 -1
  68. package/dist/solid/forms/FormField.jsx +1 -1
  69. package/dist/solid/forms/MultiSearchableSelect.jsx +1 -1
  70. package/dist/solid/forms/NumberInput.jsx +1 -1
  71. package/dist/solid/forms/PasswordInput.jsx +1 -1
  72. package/dist/solid/forms/SearchInput.jsx +1 -1
  73. package/dist/solid/forms/SearchableSelect.jsx +1 -1
  74. package/dist/solid/forms/SplitButton.jsx +1 -1
  75. package/dist/solid/forms/TagInput.jsx +1 -1
  76. package/dist/solid/forms/date-range-picker/CalendarGrid.jsx +1 -1
  77. package/dist/solid/forms/date-range-picker/DateRangePicker.jsx +1 -1
  78. package/dist/solid/grid/AttributeGrid.jsx +1 -1
  79. package/dist/solid/grid/ToolbarSearchField.jsx +1 -1
  80. package/dist/solid/index.js +0 -1
  81. package/dist/solid/layout/PageHeader.jsx +1 -1
  82. package/dist/solid/navigation/Accordion.jsx +1 -1
  83. package/dist/solid/navigation/Breadcrumb.jsx +1 -1
  84. package/dist/solid/navigation/Stepper.jsx +1 -1
  85. package/dist/solid/navigation/Tabs.jsx +1 -1
  86. package/dist/solid/notifications/NotificationItem.jsx +1 -1
  87. package/dist/solid/notifications/NotificationPanel.jsx +1 -1
  88. package/dist/solid/notifications/NotificationsCenter.jsx +2 -2
  89. package/dist/solid/notifications/StatusBarNotificationBell.jsx +1 -1
  90. package/dist/solid/overlay/Disclosure.jsx +1 -1
  91. package/dist/solid/overlay/Drawer.jsx +1 -1
  92. package/dist/solid/overlay/DropdownMenu.jsx +1 -1
  93. package/dist/solid/overlay/FloatingWindow.jsx +1 -1
  94. package/dist/solid/overlay/Modal.jsx +1 -1
  95. package/dist/solid/overlay/command-palette/CommandPalette.jsx +1 -1
  96. package/dist/solid/overlay/context-menu/DesktopContextMenu.jsx +1 -1
  97. package/dist/solid/overlay/menu/MenuParts.jsx +1 -1
  98. package/dist/solid/overlay/popover/PopoverPanel.jsx +1 -1
  99. package/dist/solid/tree/TreeRow.jsx +1 -1
  100. package/dist/solid/tree/TreeSurface.jsx +1 -1
  101. package/dist/solid/widgets/SettingsField.jsx +1 -1
  102. package/dist/style.css +1 -1
  103. package/dist/ui.css +1 -1
  104. package/package.json +3 -26
  105. package/dist/IconPicker-D2dZK0n3.cjs +0 -1
  106. package/dist/IconPicker-Fd2IE2Dm.js +0 -154
  107. package/dist/createResizableSidebar-C3I0HSwo.cjs +0 -1
  108. package/dist/iconSetRegistry-CMUqn1IQ.cjs +0 -1
  109. package/dist/iconSetRegistry-r8c82MmK.js +0 -28
  110. package/dist/icons/index.cjs +0 -1
  111. package/dist/icons/index.d.cts +0 -2
  112. package/dist/icons/index.d.ts +0 -2
  113. package/dist/icons/index.js +0 -6
  114. package/dist/icons/types.d.cts +0 -1
  115. package/dist/icons/types.d.ts +0 -1
  116. package/dist/server/CommandPalette-Dd8AW-WZ.cjs +0 -1
  117. package/dist/server/IconPicker-Bat7VYeo.cjs +0 -1
  118. package/dist/server/IconPicker-Dw4tbosO.js +0 -141
  119. package/dist/server/Modal-Jf89av-C.js +0 -373
  120. package/dist/server/Modal-W2cb3Xrx.cjs +0 -1
  121. package/dist/server/Popover-C2VwtQyu.cjs +0 -1
  122. package/dist/server/Stepper-RFkjF_fm.cjs +0 -1
  123. package/dist/server/ToggleButton-D9IXRIdl.cjs +0 -1
  124. package/dist/server/VpChevronDown-BMhGcdqG.cjs +0 -1
  125. package/dist/server/VpChevronDown-Ce6ZneQr.js +0 -18
  126. package/dist/server/VpExternalLink-C19K-ISd.cjs +0 -1
  127. package/dist/server/VpExternalLink-OGnThGLH.js +0 -46
  128. package/dist/server/VpWorkspaceTrusted-CPcushZ9.cjs +0 -1
  129. package/dist/server/createResizableSidebar-BymQA2Fs.cjs +0 -1
  130. package/dist/server/iconSetRegistry-u0H4_7nI.cjs +0 -1
  131. package/dist/server/iconSetRegistry-yPeAzzz7.js +0 -24
  132. package/dist/server/icons/index.cjs +0 -1
  133. package/dist/server/icons/index.js +0 -380
  134. package/dist/solid/icons/index.jsx +0 -2
  135. package/dist/solid/icons/types.js +0 -1
@@ -1,14 +1,28 @@
1
- import { createComponent as H, Portal as k, ssr as C, ssrAttribute as W, escape as E, ssrStyle as F, memo as N } from "solid-js/web";
1
+ import { ssr as _, createComponent as H, Portal as C, ssrAttribute as W, escape as E, ssrStyle as F, memo as D } from "solid-js/web";
2
+ import { c as N } from "./base-BLohC_tW.js";
2
3
  import { createSignal as O, createEffect as R, onCleanup as T, Show as M } from "solid-js";
3
- import { o as _ } from "./ownerWindow-9mx_LD47.js";
4
- import { u as D } from "./overlayStack-DvGdPMdq.js";
5
- import { O as $ } from "./OverlayScrollArea-221dfKyz.js";
6
- import { i as z } from "./keys-B2nlkpqc.js";
7
- function G(t, o) {
4
+ import { o as I } from "./ownerWindow-9mx_LD47.js";
5
+ import { u as $ } from "./overlayStack-DvGdPMdq.js";
6
+ import { O as z } from "./OverlayScrollArea-221dfKyz.js";
7
+ import { i as G } from "./keys-B2nlkpqc.js";
8
+ var U = '<path d="m7 9.5 5 5 5-5"></path>';
9
+ const gt = /* @__PURE__ */ N({
10
+ name: "VpChevronDown",
11
+ a: {
12
+ fill: "none",
13
+ stroke: "currentColor",
14
+ "stroke-linecap": "round",
15
+ "stroke-linejoin": "round",
16
+ "stroke-width": "2",
17
+ viewBox: "0 0 24 24"
18
+ },
19
+ c: () => _(U)
20
+ });
21
+ function q(t, o) {
8
22
  let r = !1, e = null;
9
23
  const c = () => {
10
24
  if (r) return;
11
- const n = _(t);
25
+ const n = I(t);
12
26
  if (n === null || !t.isConnected) return;
13
27
  const u = n.requestAnimationFrame(() => {
14
28
  r || o();
@@ -19,7 +33,7 @@ function G(t, o) {
19
33
  r = !0, e == null || e();
20
34
  };
21
35
  }
22
- var U = /* @__PURE__ */ ((t) => (t[t.LEFT = 0] = "LEFT", t[t.RIGHT = 1] = "RIGHT", t))(U || {}), q = /* @__PURE__ */ ((t) => (t[t.BELOW = 0] = "BELOW", t[t.ABOVE = 1] = "ABOVE", t))(q || {}), K = /* @__PURE__ */ ((t) => (t[t.VERTICAL = 0] = "VERTICAL", t[t.HORIZONTAL = 1] = "HORIZONTAL", t))(K || {});
36
+ var K = /* @__PURE__ */ ((t) => (t[t.LEFT = 0] = "LEFT", t[t.RIGHT = 1] = "RIGHT", t))(K || {}), S = /* @__PURE__ */ ((t) => (t[t.BELOW = 0] = "BELOW", t[t.ABOVE = 1] = "ABOVE", t))(S || {}), j = /* @__PURE__ */ ((t) => (t[t.VERTICAL = 0] = "VERTICAL", t[t.HORIZONTAL = 1] = "HORIZONTAL", t))(j || {});
23
37
  function P(t, o) {
24
38
  const r = Math.max(t.start, o.start);
25
39
  return Math.min(t.end, o.end) - r > 0;
@@ -34,19 +48,19 @@ function L(t, o, r) {
34
48
  result: "overlap"
35
49
  } : o <= c ? { position: c - o, result: "ok" } : o <= t - e && c < o / 2 ? { position: e, result: "flipped" } : { position: 0, result: "overlap" };
36
50
  }
37
- function ft(t, o, r, e) {
51
+ function ut(t, o, r, e) {
38
52
  let c = (e == null ? void 0 : e.anchorAlignment) ?? 0, n = (e == null ? void 0 : e.anchorPosition) ?? 0;
39
- const u = (e == null ? void 0 : e.anchorAxisAlignment) ?? 0, p = (e == null ? void 0 : e.gap) ?? 0, w = (e == null ? void 0 : e.margin) ?? 0, l = w > 0 ? {
40
- top: t.top + w,
41
- left: t.left + w,
42
- width: Math.max(0, t.width - 2 * w),
43
- height: Math.max(0, t.height - 2 * w)
53
+ const u = (e == null ? void 0 : e.anchorAxisAlignment) ?? 0, w = (e == null ? void 0 : e.gap) ?? 0, p = (e == null ? void 0 : e.margin) ?? 0, l = p > 0 ? {
54
+ top: t.top + p,
55
+ left: t.left + p,
56
+ width: Math.max(0, t.width - 2 * p),
57
+ height: Math.max(0, t.height - 2 * p)
44
58
  } : t;
45
59
  let s, i;
46
60
  if (u === 0) {
47
61
  const d = {
48
- offset: r.top - l.top - p,
49
- size: r.height + 2 * p,
62
+ offset: r.top - l.top - w,
63
+ size: r.height + 2 * w,
50
64
  position: n === 0 ? 0 : 1
51
65
  /* After */
52
66
  }, v = {
@@ -75,8 +89,8 @@ function ft(t, o, r, e) {
75
89
  i = a.position + l.left, a.result === "flipped" && (c = c === 0 ? 1 : 0);
76
90
  } else {
77
91
  const d = {
78
- offset: r.left - l.left - p,
79
- size: r.width + 2 * p,
92
+ offset: r.left - l.left - w,
93
+ size: r.width + 2 * w,
80
94
  position: c === 0 ? 0 : 1
81
95
  /* After */
82
96
  }, v = {
@@ -107,15 +121,15 @@ function ft(t, o, r, e) {
107
121
  const m = t.width - (i + o.width), f = t.height - (s + o.height);
108
122
  return { top: s, left: i, bottom: f, right: m, anchorAlignment: c, anchorPosition: n };
109
123
  }
110
- const b = 8, dt = 4, S = 8, Y = 4;
111
- function Z(t, o, r, e = 8) {
124
+ const b = 8, pt = 4, Y = 8, Z = 4;
125
+ function Q(t, o, r, e = 8) {
112
126
  return t + o > r - e ? Math.max(e, r - e - o) : t;
113
127
  }
114
- function mt(t) {
115
- const o = t.margin ?? 8, r = t.gap ?? 4, e = t.anchorRect, c = "bottom" in e && typeof e.bottom == "number" ? e.bottom : e.top + e.height, n = t.viewportHeight - c - o, u = e.top - o, p = t.desiredHeight ?? t.measuredHeight ?? 240, w = n < Math.min(p, 200) && u > n, l = t.minMaxHeight ?? 120, s = Math.max(
128
+ function wt(t) {
129
+ const o = t.margin ?? 8, r = t.gap ?? 4, e = t.anchorRect, c = "bottom" in e && typeof e.bottom == "number" ? e.bottom : e.top + e.height, n = t.viewportHeight - c - o, u = e.top - o, w = t.desiredHeight ?? t.measuredHeight ?? 240, p = n < Math.min(w, 200) && u > n, l = t.minMaxHeight ?? 120, s = Math.max(
116
130
  l,
117
- w ? u - r : n - r
118
- ), i = w ? Math.max(o, e.top - r - Math.min(p, s)) : c + r, m = t.measuredWidth ?? 0, f = Math.max(e.width, m), d = Z(
131
+ p ? u - r : n - r
132
+ ), i = p ? Math.max(o, e.top - r - Math.min(w, s)) : c + r, m = t.measuredWidth ?? 0, f = Math.max(e.width, m), d = Q(
119
133
  e.left,
120
134
  f,
121
135
  t.viewportWidth,
@@ -126,24 +140,24 @@ function mt(t) {
126
140
  left: d,
127
141
  width: e.width,
128
142
  maxHeight: s,
129
- side: w ? "top" : "bottom",
130
- preferAbove: w
143
+ side: p ? "top" : "bottom",
144
+ preferAbove: p
131
145
  };
132
146
  }
133
147
  function A(t, o, r) {
134
148
  return Math.max(o, Math.min(t, r));
135
149
  }
136
- function j(t) {
150
+ function X(t) {
137
151
  return t.endsWith("-end");
138
152
  }
139
- function Q(t) {
153
+ function J(t) {
140
154
  const { placement: o, anchor: r, panelHeight: e, viewportHeight: c, gap: n } = t;
141
155
  if (o.startsWith("top")) return "top";
142
156
  if (o.startsWith("bottom")) return "bottom";
143
- const u = c - r.bottom - b, p = r.top - b;
144
- return (e > 0 ? e : 200) + n <= u || u >= p ? "bottom" : "top";
157
+ const u = c - r.bottom - b, w = r.top - b;
158
+ return (e > 0 ? e : 200) + n <= u || u >= w ? "bottom" : "top";
145
159
  }
146
- function X(t) {
160
+ function tt(t) {
147
161
  const {
148
162
  anchor: o,
149
163
  panelWidth: r,
@@ -151,11 +165,11 @@ function X(t) {
151
165
  viewportWidth: c,
152
166
  viewportHeight: n,
153
167
  gap: u
154
- } = t, p = j(t.placement) ? o.right - r : o.left, w = A(
155
- p,
168
+ } = t, w = X(t.placement) ? o.right - r : o.left, p = A(
169
+ w,
156
170
  b,
157
171
  c - r - b
158
- ), l = Q(t);
172
+ ), l = J(t);
159
173
  if (l === "top") {
160
174
  const d = Math.max(
161
175
  0,
@@ -168,7 +182,7 @@ function X(t) {
168
182
  b,
169
183
  Math.max(b, o.top - u)
170
184
  );
171
- return { left: w, top: h, anchorWidth: o.width, side: l, maxHeight: v };
185
+ return { left: p, top: h, anchorWidth: o.width, side: l, maxHeight: v };
172
186
  }
173
187
  const s = o.bottom + u, i = A(
174
188
  s,
@@ -181,10 +195,10 @@ function X(t) {
181
195
  n - 2 * b,
182
196
  m
183
197
  );
184
- return { left: w, top: i, anchorWidth: o.width, side: l, maxHeight: f };
198
+ return { left: p, top: i, anchorWidth: o.width, side: l, maxHeight: f };
185
199
  }
186
- function gt(t) {
187
- const o = t.margin ?? S, r = t.gap ?? Y;
200
+ function vt(t) {
201
+ const o = t.margin ?? Y, r = t.gap ?? Z;
188
202
  let e;
189
203
  if ("x" in t.anchor) {
190
204
  const a = "width" in t.anchor && typeof t.anchor.width == "number" ? t.anchor.width : 0, h = "height" in t.anchor && typeof t.anchor.height == "number" ? t.anchor.height : 0;
@@ -195,10 +209,10 @@ function gt(t) {
195
209
  height: h
196
210
  };
197
211
  } else {
198
- const a = t.anchor.left, h = t.anchor.top, y = "right" in t.anchor && typeof t.anchor.right == "number" ? t.anchor.right : void 0, x = "bottom" in t.anchor && typeof t.anchor.bottom == "number" ? t.anchor.bottom : void 0, I = t.anchor.width ?? (y !== void 0 ? y - a : 0), V = t.anchor.height ?? (x !== void 0 ? x - h : 0);
199
- e = { left: a, top: h, width: I, height: V };
212
+ const a = t.anchor.left, h = t.anchor.top, y = "right" in t.anchor && typeof t.anchor.right == "number" ? t.anchor.right : void 0, x = "bottom" in t.anchor && typeof t.anchor.bottom == "number" ? t.anchor.bottom : void 0, k = t.anchor.width ?? (y !== void 0 ? y - a : 0), V = t.anchor.height ?? (x !== void 0 ? x - h : 0);
213
+ e = { left: a, top: h, width: k, height: V };
200
214
  }
201
- const c = "left" in t.viewport ? t.viewport.left : 0, n = "top" in t.viewport ? t.viewport.top : 0, u = t.viewport.width, p = t.viewport.height, w = c + u, l = n + p, s = t.placement ?? "bottom-start";
215
+ const c = "left" in t.viewport ? t.viewport.left : 0, n = "top" in t.viewport ? t.viewport.top : 0, u = t.viewport.width, w = t.viewport.height, p = c + u, l = n + w, s = t.placement ?? "bottom-start";
202
216
  let i, m;
203
217
  if (s.startsWith("auto")) {
204
218
  m = s === "auto-end" ? "end" : s === "auto-start" ? "start" : "center";
@@ -211,10 +225,10 @@ function gt(t) {
211
225
  const a = e.top - n - o, h = l - (e.top + e.height) - o;
212
226
  t.overlay.height + r > a && h > a && (i = "bottom");
213
227
  } else if (i === "right") {
214
- const a = w - (e.left + e.width) - o, h = e.left - c - o;
228
+ const a = p - (e.left + e.width) - o, h = e.left - c - o;
215
229
  t.overlay.width + r > a && h > a && (i = "left");
216
230
  } else if (i === "left") {
217
- const a = e.left - c - o, h = w - (e.left + e.width) - o;
231
+ const a = e.left - c - o, h = p - (e.left + e.width) - o;
218
232
  t.overlay.width + r > a && h > a && (i = "right");
219
233
  }
220
234
  let f = 0, d = 0;
@@ -222,7 +236,7 @@ function gt(t) {
222
236
  const v = A(
223
237
  d,
224
238
  c + o,
225
- w - t.overlay.width - o
239
+ p - t.overlay.width - o
226
240
  ), g = A(
227
241
  f,
228
242
  n + o,
@@ -237,20 +251,20 @@ function gt(t) {
237
251
  alignment: m
238
252
  };
239
253
  }
240
- const J = [
254
+ const et = [
241
255
  '[role="menuitem"]',
242
256
  '[role="menuitemcheckbox"]',
243
257
  '[role="menuitemradio"]'
244
- ].map((t) => `${t}:not([disabled]):not([aria-disabled="true"])`).join(", "), tt = '[role="option"]:not([aria-disabled="true"])', et = /* @__PURE__ */ new Set([
258
+ ].map((t) => `${t}:not([disabled]):not([aria-disabled="true"])`).join(", "), ot = '[role="option"]:not([aria-disabled="true"])', rt = /* @__PURE__ */ new Set([
245
259
  "ArrowDown",
246
260
  "ArrowUp",
247
261
  "Home",
248
262
  "End"
249
263
  ]);
250
- function ut(t) {
251
- return et.has(t);
264
+ function bt(t) {
265
+ return rt.has(t);
252
266
  }
253
- function wt(t, o, r) {
267
+ function yt(t, o, r) {
254
268
  if (t === 0) return -1;
255
269
  switch (r) {
256
270
  case "ArrowDown":
@@ -265,33 +279,33 @@ function wt(t, o, r) {
265
279
  return o;
266
280
  }
267
281
  }
268
- const ot = "vk_popover_dzAQl vk_surface_3ZOnl", rt = "vk_scrollArea_cBiT4", B = {
269
- popover: ot,
270
- scrollArea: rt
282
+ const nt = "vk_popover_dzAQl vk_surface_3ZOnl", st = "vk_scrollArea_cBiT4", B = {
283
+ popover: nt,
284
+ scrollArea: st
271
285
  };
272
- var nt = ["<div", ' class="', '" style="', '">', "</div>"];
273
- function pt(t) {
286
+ var it = ["<div", ' class="', '" style="', '">', "</div>"];
287
+ function xt(t) {
274
288
  const [o, r] = O(null), [e, c] = O(null);
275
289
  let n;
276
- const u = () => typeof t.open == "function" ? t.open() : t.open, p = () => {
290
+ const u = () => typeof t.open == "function" ? t.open() : t.open, w = () => {
277
291
  const s = t.anchor();
278
- return (s ? _(s) : null) ?? t.ownerWindow ?? null;
279
- }, w = D(() => u() && o() !== null, "popover", {
292
+ return (s ? I(s) : null) ?? t.ownerWindow ?? null;
293
+ }, p = $(() => u() && o() !== null, "popover", {
280
294
  type: "popover",
281
295
  element: () => e(),
282
296
  document: () => {
283
297
  var s;
284
- return (s = p()) == null ? void 0 : s.document;
298
+ return (s = w()) == null ? void 0 : s.document;
285
299
  }
286
300
  }), l = () => {
287
- const s = t.anchor(), i = p();
301
+ const s = t.anchor(), i = w();
288
302
  if (!s || i === null) return;
289
303
  const m = s.getBoundingClientRect(), f = n == null ? void 0 : n.querySelector('[data-overlay-scroll-viewport], [class*="viewport"]'), d = f ? f.scrollHeight + Math.max(0, n.offsetHeight - f.offsetHeight) : 0, v = f ? f.scrollWidth + Math.max(0, n.offsetWidth - f.offsetWidth) : 0, {
290
304
  left: g,
291
305
  top: a,
292
306
  anchorWidth: h,
293
307
  maxHeight: y
294
- } = X({
308
+ } = tt({
295
309
  anchor: {
296
310
  left: m.left,
297
311
  right: m.right,
@@ -318,14 +332,14 @@ function pt(t) {
318
332
  r(null), c(null), n = void 0;
319
333
  return;
320
334
  }
321
- const s = p(), i = t.anchor();
335
+ const s = w(), i = t.anchor();
322
336
  if (s === null || !i) return;
323
337
  l();
324
- const m = G(i, () => {
338
+ const m = q(i, () => {
325
339
  l();
326
340
  const g = t.role;
327
341
  if (g === "menu" || g === "listbox") {
328
- const a = g === "menu" ? J : tt, h = n;
342
+ const a = g === "menu" ? et : ot, h = n;
329
343
  if (h) {
330
344
  const y = h.querySelector(a);
331
345
  (y ?? h).focus({
@@ -338,15 +352,15 @@ function pt(t) {
338
352
  }), f = (g) => {
339
353
  var h;
340
354
  const a = g.target;
341
- !a || !w.isTopmostForPointer() || n != null && n.contains(a) || (h = t.anchor()) != null && h.contains(a) || a instanceof Element && a.closest('[role="listbox"], [role="menu"]') || t.onClose();
355
+ !a || !p.isTopmostForPointer() || n != null && n.contains(a) || (h = t.anchor()) != null && h.contains(a) || a instanceof Element && a.closest('[role="listbox"], [role="menu"]') || t.onClose();
342
356
  }, d = (g) => {
343
- !z(g, "Escape") || !w.isTopmost() || (g.stopPropagation(), g.stopImmediatePropagation(), t.onClose());
357
+ !G(g, "Escape") || !p.isTopmost() || (g.stopPropagation(), g.stopImmediatePropagation(), t.onClose());
344
358
  }, v = () => l();
345
359
  s.addEventListener("mousedown", f, !0), s.addEventListener("keydown", d, !0), s.addEventListener("resize", v), s.addEventListener("scroll", v, !0), T(() => {
346
360
  m(), s.removeEventListener("mousedown", f, !0), s.removeEventListener("keydown", d, !0), s.removeEventListener("resize", v), s.removeEventListener("scroll", v, !0);
347
361
  });
348
362
  }), R(() => {
349
- const s = e(), i = p();
363
+ const s = e(), i = w();
350
364
  if (!s || !u() || i === null) return;
351
365
  const m = i.ResizeObserver;
352
366
  if (!m) return;
@@ -360,18 +374,18 @@ function pt(t) {
360
374
  // render time it may still belong to the window-less template document.
361
375
  H(M, {
362
376
  get when() {
363
- return N(() => !!(u() && o()))() ? p() : null;
377
+ return D(() => !!(u() && o()))() ? w() : null;
364
378
  },
365
379
  children: (s) => H(M, {
366
380
  get when() {
367
381
  return o();
368
382
  },
369
- children: (i) => H(k, {
383
+ children: (i) => H(C, {
370
384
  get mount() {
371
385
  return s().document.body;
372
386
  },
373
387
  get children() {
374
- return C(nt, W("role", E(t.role ?? "dialog", !0), !1) + W("aria-label", E(t.ariaLabel, !0), !1) + W("tabindex", t.role === "menu" || t.role === "listbox" ? -1 : E(void 0, !0), !1), `${E(B.popover, !0)} ${E(t.class ?? "", !0)}`, F({
388
+ return _(it, W("role", E(t.role ?? "dialog", !0), !1) + W("aria-label", E(t.ariaLabel, !0), !1) + W("tabindex", t.role === "menu" || t.role === "listbox" ? -1 : E(void 0, !0), !1), `${E(B.popover, !0)} ${E(t.class ?? "", !0)}`, F({
375
389
  left: `${i().x}px`,
376
390
  top: `${i().y}px`,
377
391
  "max-height": `${i().maxHeight}px`,
@@ -386,7 +400,7 @@ function pt(t) {
386
400
  return t.children;
387
401
  },
388
402
  get children() {
389
- return H($, {
403
+ return H(z, {
390
404
  get rootClass() {
391
405
  return B.scrollArea;
392
406
  },
@@ -402,23 +416,24 @@ function pt(t) {
402
416
  });
403
417
  }
404
418
  export {
405
- U as A,
406
- tt as L,
407
- J as M,
408
- Y as O,
409
- dt as P,
410
- K as a,
411
- q as b,
412
- S as c,
419
+ K as A,
420
+ ot as L,
421
+ et as M,
422
+ Z as O,
423
+ pt as P,
424
+ gt as V,
425
+ j as a,
426
+ S as b,
427
+ Y as c,
413
428
  b as d,
414
- pt as e,
415
- Z as f,
416
- gt as g,
417
- mt as h,
418
- X as i,
419
- ut as j,
420
- wt as k,
421
- ft as l,
422
- Q as m,
423
- G as r
429
+ xt as e,
430
+ Q as f,
431
+ vt as g,
432
+ wt as h,
433
+ tt as i,
434
+ bt as j,
435
+ yt as k,
436
+ ut as l,
437
+ J as m,
438
+ q as r
424
439
  };
@@ -7,26 +7,25 @@ import { B as ie, c as tn } from "./mainRealmDom-Dk0xb5Gj.js";
7
7
  import { Show as E, useContext as nn, createSignal as x, onMount as ne, onCleanup as Y, createMemo as H, For as te } from "solid-js";
8
8
  import { I as on, P as We } from "./Input-DaEN2JJd.js";
9
9
  import { T as rn, o as Qe } from "./visibleBrowserRegistry-Dw2Y4y_I.js";
10
- import { G as sn, P as be, D as an, g as cn, h as ln } from "./GuidedTour-Bc7SqDXY.js";
10
+ import { G as sn, P as be, D as an, g as cn, h as ln } from "./GuidedTour-bV_r4vSt.js";
11
11
  import { t as n } from "./i18n-CYq-dVvv.js";
12
12
  import { e as un, g as dn, s as me, w as Pe, a as gn, b as fn, l as pn, r as mn, j as hn, f as he } from "./pageTourState-CIr8ockR.js";
13
13
  import { u as ye } from "./useSettingsSubscription-cu943hND.js";
14
14
  import { u as qe } from "./DesktopContextMenuContext-DJ3PnqAv.js";
15
15
  import { B as D } from "./Button-BhqhjFpY.js";
16
16
  import { C as vn, s as de } from "./format-CW_FVfq2.js";
17
- import { D as bn } from "./DateRangePicker-TW0Dy4u6.js";
17
+ import { D as bn } from "./DateRangePicker-QV6U1adB.js";
18
18
  import { O as je } from "./OverlayScrollArea-221dfKyz.js";
19
19
  import { u as Sn } from "./HostWindowContext-KL4U1qUv.js";
20
- import { f as yn, e as Tn, g as Se, d as kn, V as Cn, c as _n, b as In, a as Te } from "./VpTrash-B9HkM5Nj.js";
20
+ import { V as yn, a as Tn, b as Se, c as kn, d as Cn, e as _n, f as In, g as Te } from "./VpTrash-DVBfts9_.js";
21
21
  import { V as wn } from "./VpDots-Dr095HAL.js";
22
22
  import { V as An } from "./VpCheck-XZpSme0g.js";
23
23
  import { V as Dn } from "./VpCopy-DMwQfYfp.js";
24
24
  import { V as En } from "./VpMinus-Z3sgLAcV.js";
25
- import { e as xn } from "./Popover-BRU2E-ek.js";
26
- import { i as Nn } from "./isOneOf-Dtomuazg.js";
27
- import { E as On } from "./EmptyState-Csydyy_7.js";
28
- import { V as Ye, e as Me, a as Pn, b as Mn, g as Rn } from "./VpTerminal-Bouc2jnT.js";
29
- import { V as Bn } from "./VpChevronDown-Ce6ZneQr.js";
25
+ import { V as xn, e as Nn } from "./Popover-DOl2Wob7.js";
26
+ import { i as On } from "./isOneOf-Dtomuazg.js";
27
+ import { E as Pn } from "./EmptyState-Csydyy_7.js";
28
+ import { V as Ye, a as Me, b as Mn, c as Rn, d as Bn } from "./VpTerminal-Bpw-d9wD.js";
30
29
  import { V as $n } from "./VpClose-1RAQ20H9.js";
31
30
  import { V as Fn } from "./VpAlertTriangle-BX9COr3k.js";
32
31
  const zn = "vk_bar_iSxMW", Vn = "vk_barCompact_SCRfr", Ln = "vk_search_P2Oii", Hn = "vk_dateBtn_v3RN1", oe = {
@@ -91,7 +90,7 @@ const Ke = [
91
90
  "dev"
92
91
  ];
93
92
  function Wn(e) {
94
- return Nn(Ke, e);
93
+ return On(Ke, e);
95
94
  }
96
95
  function Qn(e, r) {
97
96
  const s = e.trim();
@@ -191,7 +190,7 @@ function j(e) {
191
190
  }
192
191
  return Be.get("general") ?? ke[0];
193
192
  }
194
- function hr() {
193
+ function mr() {
195
194
  return ke;
196
195
  }
197
196
  function Yn(e, r) {
@@ -285,11 +284,11 @@ function di(e) {
285
284
  return JSON.stringify(e, null, 2);
286
285
  }
287
286
  let $e = !1;
288
- function vr() {
287
+ function hr() {
289
288
  $e || typeof window > "u" || ($e = !0, At());
290
289
  }
291
290
  let X = null;
292
- function br() {
291
+ function vr() {
293
292
  if (X) return X;
294
293
  if (typeof window > "u") return () => {
295
294
  };
@@ -348,7 +347,7 @@ function ze(e) {
348
347
  function fi(e) {
349
348
  return e.vendorError === void 0 || !Rt() ? null : Bt(e.vendorError);
350
349
  }
351
- function Sr() {
350
+ function br() {
352
351
  let e = { ...Ne }, r = {
353
352
  dismissed: !1,
354
353
  remindSuppressed: !1,
@@ -752,7 +751,7 @@ function Ve(e) {
752
751
  }
753
752
  }
754
753
  const se = ["error", "warning", "info", "success"], ao = 189, co = 27;
755
- function yr(e) {
754
+ function Sr(e) {
756
755
  const r = Sn(), [s, a] = x(null), [d, m] = x(0), [b, c] = x(""), [_, l] = x(null), [T, I] = x(/* @__PURE__ */ new Set()), [B, f] = x(!1), [h, v] = x(/* @__PURE__ */ new Set()), [k, w] = x(/* @__PURE__ */ new Set()), [y, M] = x(/* @__PURE__ */ new Set()), [$, P] = x(!1), [F, K] = x(0);
757
756
  let U = null;
758
757
  const R = qe(), ge = H(() => Qn(b(), $())), N = H(() => qn(e.notificationTimeline(), {
@@ -1559,10 +1558,10 @@ const lo = "vk_center_5Vlx7", uo = "vk_header_vo883", go = "vk_title_JpYEU", fo
1559
1558
  };
1560
1559
  var Io = ["<h3", ">", "", "</h3>"], wo = ["<div", ">", "", "", "", "</div>"], Ao = ["<section", " data-notification-center>", "", "</section>"], Do = ["<div", " data-notification-card-actions>", "</div>"], Eo = ["<article", "><span", ' aria-hidden="true">', "</span><div", "><p", ">", "</p><div", "><span", ">", "</span><time", ">", "</time></div>", "</div><div", ">", "", "</div></article>"];
1561
1560
  const xo = {
1562
- info: Rn,
1561
+ info: Bn,
1563
1562
  warning: Fn,
1564
- error: Mn,
1565
- success: Pn
1563
+ error: Rn,
1564
+ success: Mn
1566
1565
  };
1567
1566
  function No(e) {
1568
1567
  return new Intl.DateTimeFormat(de(), {
@@ -1758,7 +1757,7 @@ function Po(e) {
1758
1757
  return n("Hide notifications");
1759
1758
  },
1760
1759
  get children() {
1761
- return o(Bn, {
1760
+ return o(xn, {
1762
1761
  get class() {
1763
1762
  return A.actionIcon;
1764
1763
  }
@@ -1771,7 +1770,7 @@ function Po(e) {
1771
1770
  return b().length > 0;
1772
1771
  },
1773
1772
  get fallback() {
1774
- return o(On, {
1773
+ return o(Pn, {
1775
1774
  size: "sm",
1776
1775
  get title() {
1777
1776
  return n("No new notifications");
@@ -1869,7 +1868,7 @@ const Mo = "vk_bell_tx9ag vk_buttonReset_3WpyU", Ro = "vk_bellIcon_w6Lmy", Bo =
1869
1868
  centerPopover: $o
1870
1869
  };
1871
1870
  var Fo = ["<span", ">", "</span>"];
1872
- function Tr() {
1871
+ function yr() {
1873
1872
  const [e, r] = x(!1), [s, a] = x(0), [d, m] = x(z.get().doNotDisturb);
1874
1873
  let b;
1875
1874
  ne(() => {
@@ -1932,7 +1931,7 @@ function Tr() {
1932
1931
  }
1933
1932
  })];
1934
1933
  }
1935
- }), o(xn, {
1934
+ }), o(Nn, {
1936
1935
  get open() {
1937
1936
  return e();
1938
1937
  },
@@ -1957,19 +1956,19 @@ function Tr() {
1957
1956
  export {
1958
1957
  Gn as L,
1959
1958
  ke as N,
1960
- Tr as S,
1959
+ yr as S,
1961
1960
  Ke as a,
1962
- yr as b,
1961
+ Sr as b,
1963
1962
  Po as c,
1964
1963
  Qn as d,
1965
- Sr as e,
1964
+ br as e,
1966
1965
  ui as f,
1967
1966
  di as g,
1968
1967
  qn as h,
1969
1968
  Yn as i,
1970
1969
  Wn as j,
1971
- br as k,
1972
- hr as l,
1970
+ vr as k,
1971
+ mr as l,
1973
1972
  j as r,
1974
- vr as s
1973
+ hr as s
1975
1974
  };