@turquoisehealth/pit-viper 2.241.1-dev.0 → 2.243.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 (43) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +5 -0
  2. package/_site/assets/css/pit-viper-consumer.css +5 -0
  3. package/_site/assets/css/pit-viper-v2-scoped.css +4 -0
  4. package/_site/assets/css/pit-viper-v2.css +5 -0
  5. package/_site/assets/css/pit-viper.css +5 -0
  6. package/_src/assets/sprite-v2.svg +1 -1
  7. package/_src/assets/sprite.svg +1 -1
  8. package/package.json +1 -1
  9. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  10. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
  12. package/pv-components/dist/vue/ai/components/base/PvContext/{PvContextFeedback.vue.d.ts → PvContextFeedback/PvContextFeedback.vue.d.ts} +10 -10
  13. package/pv-components/dist/vue/ai/components/base/PvContext/PvContextSurface/PvContextSurface.vue.d.ts +45 -0
  14. package/pv-components/dist/vue/ai/components/base/PvContext/PvSpinesEntityFields/PvSpinesEntityFields.vue.d.ts +12 -0
  15. package/pv-components/dist/vue/ai/components/base/PvContext/config.d.ts +27 -0
  16. package/pv-components/dist/vue/ai/components/base/PvEmptyState/types.d.ts +17 -0
  17. package/pv-components/dist/vue/ai/components/base/PvSidebarV2/types.d.ts +2 -0
  18. package/pv-components/dist/vue/ai/components/base/index.d.ts +6 -1
  19. package/pv-components/dist/vue/base/components/base/PvContext/{PvContextFeedback.vue.d.ts → PvContextFeedback/PvContextFeedback.vue.d.ts} +10 -10
  20. package/pv-components/dist/vue/base/components/base/PvContext/PvContextSurface/PvContextSurface.vue.d.ts +45 -0
  21. package/pv-components/dist/vue/base/components/base/PvContext/PvSpinesEntityFields/PvSpinesEntityFields.vue.d.ts +12 -0
  22. package/pv-components/dist/vue/base/components/base/PvContext/config.d.ts +27 -0
  23. package/pv-components/dist/vue/base/components/base/PvEmptyState/types.d.ts +17 -0
  24. package/pv-components/dist/vue/base/components/base/PvSidebarV2/types.d.ts +2 -0
  25. package/pv-components/dist/vue/base/components/base/index.d.ts +6 -1
  26. package/pv-components/dist/vue/base/pv-components-base.mjs +1779 -1572
  27. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  28. package/pv-components/dist/vue/visualizations/components/base/PvContext/{PvContextFeedback.vue.d.ts → PvContextFeedback/PvContextFeedback.vue.d.ts} +10 -10
  29. package/pv-components/dist/vue/visualizations/components/base/PvContext/PvContextSurface/PvContextSurface.vue.d.ts +45 -0
  30. package/pv-components/dist/vue/visualizations/components/base/PvContext/PvSpinesEntityFields/PvSpinesEntityFields.vue.d.ts +12 -0
  31. package/pv-components/dist/vue/visualizations/components/base/PvContext/config.d.ts +27 -0
  32. package/pv-components/dist/vue/visualizations/components/base/PvEmptyState/types.d.ts +17 -0
  33. package/pv-components/dist/vue/visualizations/components/base/PvSidebarV2/types.d.ts +2 -0
  34. package/pv-components/dist/vue/visualizations/components/base/PvSortableList/PvSortableList.vue.d.ts +0 -13
  35. package/pv-components/dist/vue/visualizations/components/base/index.d.ts +6 -1
  36. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts +0 -19
  37. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionsPanel.vue.d.ts +0 -9
  38. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +0 -42
  39. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1520 -1618
  40. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  41. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +395 -383
  42. package/pv-components/dist/web/pv-components.iife.js +13 -13
  43. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -1,17 +1,17 @@
1
1
  import * as e from "vue";
2
- import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, defineCustomElement as f, getCurrentInstance as p, getCurrentScope as m, guardReactiveProps as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as S, onBeforeUpdate as C, onMounted as w, onScopeDispose as T, onUnmounted as E, openBlock as D, reactive as O, readonly as k, ref as A, renderList as j, renderSlot as M, resolveDynamicComponent as ee, shallowRef as N, toDisplayString as P, toValue as F, unref as I, useModel as te, useSlots as ne, vShow as re, watch as L, watchEffect as ie, withCtx as R, withDirectives as ae, withKeys as oe } from "vue";
2
+ import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, defineCustomElement as f, getCurrentInstance as p, getCurrentScope as m, guardReactiveProps as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as S, onBeforeUpdate as C, onMounted as w, onScopeDispose as T, onUnmounted as ee, openBlock as E, reactive as D, readonly as O, ref as k, renderList as A, renderSlot as j, resolveDynamicComponent as te, shallowRef as M, toDisplayString as N, toValue as P, unref as F, useModel as ne, useSlots as re, vShow as ie, watch as I, watchEffect as ae, withCtx as L, withDirectives as oe, withKeys as se } from "vue";
3
3
  //#region \0rolldown/runtime.js
4
- var se = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, le = Object.getOwnPropertyNames, ue = Object.prototype.hasOwnProperty, de = (e, t) => {
4
+ var ce = Object.defineProperty, le = Object.getOwnPropertyDescriptor, R = Object.getOwnPropertyNames, ue = Object.prototype.hasOwnProperty, de = (e, t) => {
5
5
  let n = {};
6
- for (var r in e) se(n, r, {
6
+ for (var r in e) ce(n, r, {
7
7
  get: e[r],
8
8
  enumerable: !0
9
9
  });
10
- return t || se(n, Symbol.toStringTag, { value: "Module" }), n;
10
+ return t || ce(n, Symbol.toStringTag, { value: "Module" }), n;
11
11
  }, fe = (e, t, n, r) => {
12
- if (t && typeof t == "object" || typeof t == "function") for (var i = le(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !ue.call(e, s) && s !== n && se(e, s, {
12
+ if (t && typeof t == "object" || typeof t == "function") for (var i = R(t), a = 0, o = i.length, s; a < o; a++) s = i[a], !ue.call(e, s) && s !== n && ce(e, s, {
13
13
  get: ((e) => t[e]).bind(null, s),
14
- enumerable: !(r = ce(t, s)) || r.enumerable
14
+ enumerable: !(r = le(t, s)) || r.enumerable
15
15
  });
16
16
  return e;
17
17
  }, z = (e, t, n) => (fe(e, t, "default"), n && fe(n, t, "default"));
@@ -20,13 +20,13 @@ var se = Object.defineProperty, ce = Object.getOwnPropertyDescriptor, le = Objec
20
20
  function pe(e) {
21
21
  return m() ? (T(e), !0) : !1;
22
22
  }
23
- var me = typeof window < "u" && typeof document < "u";
23
+ var B = typeof window < "u" && typeof document < "u";
24
24
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
25
- var he = (e) => e != null, ge = Object.prototype.toString, _e = (e) => ge.call(e) === "[object Object]", B = () => {}, ve = /* @__PURE__ */ ye();
26
- function ye() {
27
- return me && (window == null ? void 0 : window.navigator)?.userAgent && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || (window == null ? void 0 : window.navigator)?.maxTouchPoints > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
25
+ var me = (e) => e != null, he = Object.prototype.toString, ge = (e) => he.call(e) === "[object Object]", V = () => {}, _e = /* @__PURE__ */ ve();
26
+ function ve() {
27
+ return B && (window == null ? void 0 : window.navigator)?.userAgent && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || (window == null ? void 0 : window.navigator)?.maxTouchPoints > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
28
28
  }
29
- function be(e, t) {
29
+ function ye(e, t) {
30
30
  function n(...n) {
31
31
  return new Promise((r, i) => {
32
32
  Promise.resolve(e(() => t.apply(this, n), {
@@ -38,12 +38,12 @@ function be(e, t) {
38
38
  }
39
39
  return n;
40
40
  }
41
- function xe(e, t = {}) {
42
- let n, r, i = B, a = (e) => {
43
- clearTimeout(e), i(), i = B;
41
+ function H(e, t = {}) {
42
+ let n, r, i = V, a = (e) => {
43
+ clearTimeout(e), i(), i = V;
44
44
  }, o;
45
45
  return (s) => {
46
- let c = F(e), l = F(t.maxWait);
46
+ let c = P(e), l = P(t.maxWait);
47
47
  return n && a(n), c <= 0 || l !== void 0 && l <= 0 ? (r &&= (a(r), void 0), Promise.resolve(s())) : new Promise((e, u) => {
48
48
  i = t.rejectOnCancel ? u : e, o = s, l && !r && (r = setTimeout(() => {
49
49
  n && a(n), r = void 0, e(o());
@@ -53,83 +53,83 @@ function xe(e, t = {}) {
53
53
  });
54
54
  };
55
55
  }
56
- function V(e) {
56
+ function U(e) {
57
57
  return Array.isArray(e) ? e : [e];
58
58
  }
59
- function Se(e) {
59
+ function be(e) {
60
60
  return e || p();
61
61
  }
62
62
  /* @__NO_SIDE_EFFECTS__ */
63
- function Ce(e, t = 200, n = {}) {
64
- return be(xe(t, n), e);
63
+ function xe(e, t = 200, n = {}) {
64
+ return ye(H(t, n), e);
65
65
  }
66
- function we(e, t = !0, n) {
67
- Se(n) ? w(e, n) : t ? e() : v(e);
66
+ function Se(e, t = !0, n) {
67
+ be(n) ? w(e, n) : t ? e() : v(e);
68
68
  }
69
- function Te(e, t, n) {
70
- return L(e, t, {
69
+ function Ce(e, t, n) {
70
+ return I(e, t, {
71
71
  ...n,
72
72
  immediate: !0
73
73
  });
74
74
  }
75
75
  //#endregion
76
76
  //#region ../node_modules/.pnpm/@vueuse+core@13.9.0_vue@3.5.32_typescript@5.9.3_/node_modules/@vueuse/core/index.mjs
77
- var Ee = me ? window : void 0;
78
- me && window.document, me && window.navigator, me && window.location;
79
- function H(e) {
80
- let t = F(e);
77
+ var we = B ? window : void 0;
78
+ B && window.document, B && window.navigator, B && window.location;
79
+ function W(e) {
80
+ let t = P(e);
81
81
  return t?.$el ?? t;
82
82
  }
83
- function De(...e) {
83
+ function Te(...e) {
84
84
  let t = [], n = () => {
85
85
  t.forEach((e) => e()), t.length = 0;
86
86
  }, i = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), a = r(() => {
87
- let t = V(F(e[0])).filter((e) => e != null);
87
+ let t = U(P(e[0])).filter((e) => e != null);
88
88
  return t.every((e) => typeof e != "string") ? t : void 0;
89
- }), o = Te(() => [
90
- a.value?.map((e) => H(e)) ?? [Ee].filter((e) => e != null),
91
- V(F(a.value ? e[1] : e[0])),
92
- V(I(a.value ? e[2] : e[1])),
93
- F(a.value ? e[3] : e[2])
89
+ }), o = Ce(() => [
90
+ a.value?.map((e) => W(e)) ?? [we].filter((e) => e != null),
91
+ U(P(a.value ? e[1] : e[0])),
92
+ U(F(a.value ? e[2] : e[1])),
93
+ P(a.value ? e[3] : e[2])
94
94
  ], ([e, r, a, o]) => {
95
95
  if (n(), !e?.length || !r?.length || !a?.length) return;
96
- let s = _e(o) ? { ...o } : o;
96
+ let s = ge(o) ? { ...o } : o;
97
97
  t.push(...e.flatMap((e) => r.flatMap((t) => a.map((n) => i(e, t, n, s)))));
98
98
  }, { flush: "post" });
99
99
  return pe(n), () => {
100
100
  o(), n();
101
101
  };
102
102
  }
103
- var Oe = !1;
104
- function ke(e, t, n = {}) {
105
- let { window: r = Ee, ignore: i = [], capture: a = !0, detectIframe: o = !1, controls: s = !1 } = n;
103
+ var Ee = !1;
104
+ function De(e, t, n = {}) {
105
+ let { window: r = we, ignore: i = [], capture: a = !0, detectIframe: o = !1, controls: s = !1 } = n;
106
106
  if (!r) return s ? {
107
- stop: B,
108
- cancel: B,
109
- trigger: B
110
- } : B;
111
- if (ve && !Oe) {
112
- Oe = !0;
107
+ stop: V,
108
+ cancel: V,
109
+ trigger: V
110
+ } : V;
111
+ if (_e && !Ee) {
112
+ Ee = !0;
113
113
  let e = { passive: !0 };
114
- Array.from(r.document.body.children).forEach((t) => t.addEventListener("click", B, e)), r.document.documentElement.addEventListener("click", B, e);
114
+ Array.from(r.document.body.children).forEach((t) => t.addEventListener("click", V, e)), r.document.documentElement.addEventListener("click", V, e);
115
115
  }
116
- let c = !0, l = (e) => F(i).some((t) => {
116
+ let c = !0, l = (e) => P(i).some((t) => {
117
117
  if (typeof t == "string") return Array.from(r.document.querySelectorAll(t)).some((t) => t === e.target || e.composedPath().includes(t));
118
118
  {
119
- let n = H(t);
119
+ let n = W(t);
120
120
  return n && (e.target === n || e.composedPath().includes(n));
121
121
  }
122
122
  });
123
123
  function u(e) {
124
- let t = F(e);
124
+ let t = P(e);
125
125
  return t && t.$.subTree.shapeFlag === 16;
126
126
  }
127
127
  function d(e, t) {
128
- let n = F(e), r = n.$.subTree && n.$.subTree.children;
128
+ let n = P(e), r = n.$.subTree && n.$.subTree.children;
129
129
  return r == null || !Array.isArray(r) ? !1 : r.some((e) => e.el === t.target || t.composedPath().includes(e.el));
130
130
  }
131
131
  let f = (n) => {
132
- let r = H(e);
132
+ let r = W(e);
133
133
  if (n.target != null && !(!(r instanceof Element) && u(e) && d(e, n)) && !(!r || r === n.target || n.composedPath().includes(r))) {
134
134
  if ("detail" in n && n.detail === 0 && (c = !l(n)), !c) {
135
135
  c = !0;
@@ -138,7 +138,7 @@ function ke(e, t, n = {}) {
138
138
  t(n);
139
139
  }
140
140
  }, p = !1, m = [
141
- De(r, "click", (e) => {
141
+ Te(r, "click", (e) => {
142
142
  p || (p = !0, setTimeout(() => {
143
143
  p = !1;
144
144
  }, 0), f(e));
@@ -146,13 +146,13 @@ function ke(e, t, n = {}) {
146
146
  passive: !0,
147
147
  capture: a
148
148
  }),
149
- De(r, "pointerdown", (t) => {
150
- let n = H(e);
149
+ Te(r, "pointerdown", (t) => {
150
+ let n = W(e);
151
151
  c = !l(t) && !!(n && !t.composedPath().includes(n));
152
152
  }, { passive: !0 }),
153
- o && De(r, "blur", (n) => {
153
+ o && Te(r, "blur", (n) => {
154
154
  setTimeout(() => {
155
- let i = H(e);
155
+ let i = W(e);
156
156
  r.document.activeElement?.tagName === "IFRAME" && !i?.contains(r.document.activeElement) && t(n);
157
157
  }, 0);
158
158
  }, { passive: !0 })
@@ -168,22 +168,22 @@ function ke(e, t, n = {}) {
168
168
  } : h;
169
169
  }
170
170
  /* @__NO_SIDE_EFFECTS__ */
171
- function Ae() {
172
- let e = N(!1), t = p();
171
+ function Oe() {
172
+ let e = M(!1), t = p();
173
173
  return t && w(() => {
174
174
  e.value = !0;
175
175
  }, t), e;
176
176
  }
177
177
  /* @__NO_SIDE_EFFECTS__ */
178
- function je(e) {
179
- let t = /* @__PURE__ */ Ae();
178
+ function ke(e) {
179
+ let t = /* @__PURE__ */ Oe();
180
180
  return r(() => (t.value, !!e()));
181
181
  }
182
- function Me(e, t, n = {}) {
183
- let { window: i = Ee, ...a } = n, o, s = /* @__PURE__ */ je(() => i && "MutationObserver" in i), c = () => {
182
+ function Ae(e, t, n = {}) {
183
+ let { window: i = we, ...a } = n, o, s = /* @__PURE__ */ ke(() => i && "MutationObserver" in i), c = () => {
184
184
  o &&= (o.disconnect(), void 0);
185
- }, l = L(r(() => {
186
- let t = V(F(e)).map(H).filter(he);
185
+ }, l = I(r(() => {
186
+ let t = U(P(e)).map(W).filter(me);
187
187
  return new Set(t);
188
188
  }), (e) => {
189
189
  c(), s.value && e.size && (o = new MutationObserver(t), e.forEach((e) => o.observe(e, a)));
@@ -199,15 +199,15 @@ function Me(e, t, n = {}) {
199
199
  takeRecords: u
200
200
  };
201
201
  }
202
- function Ne(e, t, n = {}) {
203
- let { window: r = Ee, document: i = r?.document, flush: a = "sync" } = n;
204
- if (!r || !i) return B;
202
+ function je(e, t, n = {}) {
203
+ let { window: r = we, document: i = r?.document, flush: a = "sync" } = n;
204
+ if (!r || !i) return V;
205
205
  let o, s = (e) => {
206
206
  o?.(), o = e;
207
- }, c = ie(() => {
208
- let n = H(e);
207
+ }, c = ae(() => {
208
+ let n = W(e);
209
209
  if (n) {
210
- let { stop: e } = Me(i, (e) => {
210
+ let { stop: e } = Ae(i, (e) => {
211
211
  e.map((e) => [...e.removedNodes]).flat().some((e) => e === n || e.contains(n)) && t(e);
212
212
  }, {
213
213
  window: r,
@@ -221,12 +221,12 @@ function Ne(e, t, n = {}) {
221
221
  };
222
222
  return pe(l), l;
223
223
  }
224
- function Pe(e, t, n = {}) {
225
- let { window: i = Ee, ...a } = n, o, s = /* @__PURE__ */ je(() => i && "ResizeObserver" in i), c = () => {
224
+ function Me(e, t, n = {}) {
225
+ let { window: i = we, ...a } = n, o, s = /* @__PURE__ */ ke(() => i && "ResizeObserver" in i), c = () => {
226
226
  o &&= (o.disconnect(), void 0);
227
- }, l = L(r(() => {
228
- let t = F(e);
229
- return Array.isArray(t) ? t.map((e) => H(e)) : [H(t)];
227
+ }, l = I(r(() => {
228
+ let t = P(e);
229
+ return Array.isArray(t) ? t.map((e) => W(e)) : [W(t)];
230
230
  }), (e) => {
231
231
  if (c(), s.value && i) {
232
232
  o = new ResizeObserver(t);
@@ -243,10 +243,10 @@ function Pe(e, t, n = {}) {
243
243
  stop: u
244
244
  };
245
245
  }
246
- function Fe(e, t = {}) {
247
- let { reset: n = !0, windowResize: r = !0, windowScroll: i = !0, immediate: a = !0, updateTiming: o = "sync" } = t, s = N(0), c = N(0), l = N(0), u = N(0), d = N(0), f = N(0), p = N(0), m = N(0);
246
+ function Ne(e, t = {}) {
247
+ let { reset: n = !0, windowResize: r = !0, windowScroll: i = !0, immediate: a = !0, updateTiming: o = "sync" } = t, s = M(0), c = M(0), l = M(0), u = M(0), d = M(0), f = M(0), p = M(0), m = M(0);
248
248
  function h() {
249
- let t = H(e);
249
+ let t = W(e);
250
250
  if (!t) {
251
251
  n && (s.value = 0, c.value = 0, l.value = 0, u.value = 0, d.value = 0, f.value = 0, p.value = 0, m.value = 0);
252
252
  return;
@@ -257,10 +257,10 @@ function Fe(e, t = {}) {
257
257
  function g() {
258
258
  o === "sync" ? h() : o === "next-frame" && requestAnimationFrame(() => h());
259
259
  }
260
- return Pe(e, g), L(() => H(e), (e) => !e && g()), Me(e, g, { attributeFilter: ["style", "class"] }), i && De("scroll", g, {
260
+ return Me(e, g), I(() => W(e), (e) => !e && g()), Ae(e, g, { attributeFilter: ["style", "class"] }), i && Te("scroll", g, {
261
261
  capture: !0,
262
262
  passive: !0
263
- }), r && De("resize", g, { passive: !0 }), we(() => {
263
+ }), r && Te("resize", g, { passive: !0 }), Se(() => {
264
264
  a && g();
265
265
  }), {
266
266
  height: s,
@@ -274,16 +274,16 @@ function Fe(e, t = {}) {
274
274
  update: g
275
275
  };
276
276
  }
277
- function Ie(e, t = {}) {
278
- let { delayEnter: n = 0, delayLeave: i = 0, triggerOnRemoval: a = !1, window: o = Ee } = t, s = N(!1), c, l = (e) => {
277
+ function Pe(e, t = {}) {
278
+ let { delayEnter: n = 0, delayLeave: i = 0, triggerOnRemoval: a = !1, window: o = we } = t, s = M(!1), c, l = (e) => {
279
279
  let t = e ? n : i;
280
280
  c &&= (clearTimeout(c), void 0), t ? c = setTimeout(() => s.value = e, t) : s.value = e;
281
281
  };
282
- return o ? (De(e, "mouseenter", () => l(!0), { passive: !0 }), De(e, "mouseleave", () => l(!1), { passive: !0 }), a && Ne(r(() => H(e)), () => l(!1)), s) : s;
282
+ return o ? (Te(e, "mouseenter", () => l(!0), { passive: !0 }), Te(e, "mouseleave", () => l(!1), { passive: !0 }), a && je(r(() => W(e)), () => l(!1)), s) : s;
283
283
  }
284
284
  //#endregion
285
285
  //#region src/components/base/PvCounterBadge/PvCounterBadge.vue?vue&type=script&setup=true&lang.ts
286
- var Le = /* @__PURE__ */ d({
286
+ var Fe = /* @__PURE__ */ d({
287
287
  __name: "PvCounterBadge",
288
288
  props: {
289
289
  maxValue: {
@@ -315,25 +315,25 @@ var Le = /* @__PURE__ */ d({
315
315
  "pv-text-tertiary": t.variant == "ghost" || t.variant == "tertiary",
316
316
  "pv-surface": t.variant == "ghost"
317
317
  }));
318
- return (e, t) => (D(), o("div", {
318
+ return (e, t) => (E(), o("div", {
319
319
  class: y(i.value),
320
320
  "data-testid": "pv-counter-badge"
321
- }, P(n.value), 3));
321
+ }, N(n.value), 3));
322
322
  }
323
- }), Re = ".pv-badge-md[data-v-013a5d76]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-013a5d76]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}", ze = (e, t) => {
323
+ }), Ie = ".pv-badge-md[data-v-013a5d76]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-013a5d76]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}", Le = (e, t) => {
324
324
  let n = e.__vccOpts || e;
325
325
  for (let [e, r] of t) n[e] = r;
326
326
  return n;
327
- }, Be = /* @__PURE__ */ ze(Le, [["styles", [Re]], ["__scopeId", "data-v-013a5d76"]]);
327
+ }, Re = /* @__PURE__ */ Le(Fe, [["styles", [Ie]], ["__scopeId", "data-v-013a5d76"]]);
328
328
  //#endregion
329
329
  //#region src/web-components/utils.ts
330
- function Ve() {
331
- let e = A(!1), t = p()?.root || {};
330
+ function ze() {
331
+ let e = k(!1), t = p()?.root || {};
332
332
  return "isCE" in t && t.isCE === !0 && (e.value = !0), e;
333
333
  }
334
334
  //#endregion
335
335
  //#region src/components/base/baseProps.ts
336
- var He = [
336
+ var Be = [
337
337
  void 0,
338
338
  10,
339
339
  12,
@@ -341,24 +341,24 @@ var He = [
341
341
  24,
342
342
  32,
343
343
  64
344
- ], Ue = ["xlink:href"], U = /* @__PURE__ */ d({
344
+ ], Ve = ["xlink:href"], He = /* @__PURE__ */ d({
345
345
  __name: "PvIcon",
346
346
  props: {
347
347
  name: { type: String },
348
348
  size: { type: null }
349
349
  },
350
350
  setup(e) {
351
- let t = e, n = Ve(), i = A(null), a = r(() => ({
351
+ let t = e, n = ze(), i = k(null), a = r(() => ({
352
352
  "pv-icon": !0,
353
- [`pv-icon-${t.size}`]: t.size != null && He.includes(t.size)
353
+ [`pv-icon-${t.size}`]: t.size != null && Be.includes(t.size)
354
354
  })), c = r(() => n.value && i.value ? `${i.value}#${t.name}` : `#${t.name}`);
355
- return globalThis.__PV_GLOBAL_SPRITE_PATH__ && (i.value = globalThis.__PV_GLOBAL_SPRITE_PATH__), (e, t) => (D(), o("svg", {
355
+ return globalThis.__PV_GLOBAL_SPRITE_PATH__ && (i.value = globalThis.__PV_GLOBAL_SPRITE_PATH__), (e, t) => (E(), o("svg", {
356
356
  "data-testid": "pv-icon",
357
357
  "aria-hidden": "true",
358
358
  class: y(a.value)
359
- }, [s("use", { "xlink:href": c.value }, null, 8, Ue)], 2));
359
+ }, [s("use", { "xlink:href": c.value }, null, 8, Ve)], 2));
360
360
  }
361
- }), We = ["open"], Ge = /* @__PURE__ */ ze(/* @__PURE__ */ d({
361
+ }), Ue = ["open"], We = /* @__PURE__ */ Le(/* @__PURE__ */ d({
362
362
  __name: "PvAccordion",
363
363
  props: /* @__PURE__ */ g({
364
364
  chevronPosition: {
@@ -390,12 +390,12 @@ var He = [
390
390
  }),
391
391
  emits: /* @__PURE__ */ g(["summary-mouseenter", "summary-mouseleave"], ["update:modelValue"]),
392
392
  setup(e) {
393
- let n = e, c = te(e, "modelValue");
393
+ let n = e, c = ne(e, "modelValue");
394
394
  n.defaultOpen !== void 0 && (c.value = n.defaultOpen);
395
395
  let l = (e) => {
396
396
  c.value = e.target.open;
397
397
  }, u = { width: n.enableTriggerFullWidth ? "100%" : "fit-content" }, d = r(() => n.chevronVariant === "horizontal" ? n.chevronPosition === "left" ? c.value ? "chevron-down" : "chevron-right" : c.value ? "chevron-down" : "chevron-left" : c.value ? "chevron-up" : "chevron-down");
398
- return (n, r) => (D(), o("details", {
398
+ return (n, r) => (E(), o("details", {
399
399
  "data-testid": "pv-accordion",
400
400
  class: "pv-accordion",
401
401
  open: c.value,
@@ -409,23 +409,23 @@ var He = [
409
409
  onMouseenter: r[0] ||= (e) => n.$emit("summary-mouseenter"),
410
410
  onMouseleave: r[1] ||= (e) => n.$emit("summary-mouseleave")
411
411
  }), [
412
- e.chevronPosition === "left" ? (D(), i(U, {
412
+ e.chevronPosition === "left" ? (E(), i(He, {
413
413
  key: 0,
414
414
  name: d.value
415
415
  }, null, 8, ["name"])) : a("v-if", !0),
416
- e.enableTriggerSlot ? M(n.$slots, "trigger", { key: 1 }, void 0, !0) : (D(), o(t, { key: 2 }, [s("span", null, P(e.header), 1), e.counter ? (D(), i(Be, {
416
+ e.enableTriggerSlot ? j(n.$slots, "trigger", { key: 1 }, void 0, !0) : (E(), o(t, { key: 2 }, [s("span", null, N(e.header), 1), e.counter ? (E(), i(Re, {
417
417
  key: 0,
418
418
  value: e.counter,
419
419
  variant: "secondary",
420
420
  size: "sm"
421
421
  }, null, 8, ["value"])) : a("v-if", !0)], 64)),
422
- e.chevronPosition === "right" ? (D(), i(U, {
422
+ e.chevronPosition === "right" ? (E(), i(He, {
423
423
  key: 3,
424
424
  name: d.value
425
425
  }, null, 8, ["name"])) : a("v-if", !0)
426
- ], 16), s("div", { style: x(e.contentStyles) }, [M(n.$slots, "default", {}, void 0, !0)], 4)], 40, We));
426
+ ], 16), s("div", { style: x(e.contentStyles) }, [j(n.$slots, "default", {}, void 0, !0)], 4)], 40, Ue));
427
427
  }
428
- }), [["styles", ["summary[data-v-a64056ef]{background-image:none;padding-right:2px}"]], ["__scopeId", "data-v-a64056ef"]]), Ke = /* @__PURE__ */ d({
428
+ }), [["styles", ["summary[data-v-a64056ef]{background-image:none;padding-right:2px}"]], ["__scopeId", "data-v-a64056ef"]]), Ge = /* @__PURE__ */ d({
429
429
  __name: "PvSpinner",
430
430
  props: {
431
431
  size: {
@@ -449,20 +449,20 @@ var He = [
449
449
  dark: "pv-spinner-dark",
450
450
  white: "pv-spinner-light"
451
451
  };
452
- return (r, i) => (D(), o("div", {
452
+ return (r, i) => (E(), o("div", {
453
453
  "data-testid": "pv-spinner",
454
454
  class: y(n[e.variant]),
455
455
  style: x({ "--size": t[e.size] })
456
456
  }, null, 6));
457
457
  }
458
- }), qe = ["ghost"], Je = {
458
+ }), Ke = ["ghost"], qe = {
459
459
  md: "pv-button-small",
460
460
  lg: void 0,
461
461
  xl: "pv-button-large"
462
- }, Ye = (e) => e == null || !Je.hasOwnProperty(e) ? null : Je[e] || null, Xe = ["disabled", "aria-label"], Ze = {
462
+ }, Je = (e) => e == null || !qe.hasOwnProperty(e) ? null : qe[e] || null, Ye = ["disabled", "aria-label"], Xe = {
463
463
  key: 2,
464
464
  "data-testid": "pv-button-label"
465
- }, Qe = /* @__PURE__ */ d({
465
+ }, Ze = /* @__PURE__ */ d({
466
466
  __name: "PvButton",
467
467
  props: {
468
468
  variant: {
@@ -495,44 +495,44 @@ var He = [
495
495
  setup(e) {
496
496
  let n = e, s = r(() => !n.label || n.loading ? n.label || n.ariaLabel : void 0), c = r(() => {
497
497
  let e = [];
498
- n.inverse && qe.includes(n.variant) ? e.push(`pv-button-${n.variant}-inverse`) : e.push(`pv-button-${n.variant}`);
499
- let t = Ye(n.size);
498
+ n.inverse && Ke.includes(n.variant) ? e.push(`pv-button-${n.variant}-inverse`) : e.push(`pv-button-${n.variant}`);
499
+ let t = Je(n.size);
500
500
  return t && e.push(t), e;
501
501
  });
502
- return (n, r) => (D(), o("button", {
502
+ return (n, r) => (E(), o("button", {
503
503
  type: "button",
504
504
  class: y(c.value),
505
505
  disabled: e.disabled,
506
506
  "aria-label": s.value,
507
507
  "data-testid": "pv-button"
508
- }, [e.loading ? (D(), i(Ke, {
508
+ }, [e.loading ? (E(), i(Ge, {
509
509
  key: 0,
510
510
  size: "sm"
511
- })) : (D(), o(t, { key: 1 }, [
512
- e.leftCounterBadge ? (D(), i(Be, {
511
+ })) : (E(), o(t, { key: 1 }, [
512
+ e.leftCounterBadge ? (E(), i(Re, {
513
513
  key: 0,
514
514
  value: e.leftCounterBadge,
515
515
  variant: "tertiary"
516
516
  }, null, 8, ["value"])) : a("v-if", !0),
517
- e.leftIcon ? (D(), i(U, {
517
+ e.leftIcon ? (E(), i(He, {
518
518
  key: 1,
519
519
  name: e.leftIcon,
520
520
  "data-testid": "pv-button-left-icon"
521
521
  }, null, 8, ["name"])) : a("v-if", !0),
522
- e.label ? (D(), o("span", Ze, P(e.label), 1)) : a("v-if", !0),
523
- e.rightCounterBadge ? (D(), i(Be, {
522
+ e.label ? (E(), o("span", Xe, N(e.label), 1)) : a("v-if", !0),
523
+ e.rightCounterBadge ? (E(), i(Re, {
524
524
  key: 3,
525
525
  value: e.rightCounterBadge,
526
526
  variant: "tertiary"
527
527
  }, null, 8, ["value"])) : a("v-if", !0),
528
- e.rightIcon ? (D(), i(U, {
528
+ e.rightIcon ? (E(), i(He, {
529
529
  key: 4,
530
530
  name: e.rightIcon,
531
531
  "data-testid": "pv-button-right-icon"
532
532
  }, null, 8, ["name"])) : a("v-if", !0)
533
- ], 64))], 10, Xe));
533
+ ], 64))], 10, Ye));
534
534
  }
535
- }), $e = Math.min, et = Math.max, tt = Math.round, W = (e) => ({
535
+ }), Qe = Math.min, $e = Math.max, et = Math.round, tt = (e) => ({
536
536
  x: e,
537
537
  y: e
538
538
  }), nt = {
@@ -926,7 +926,7 @@ function Qt(e) {
926
926
  //#endregion
927
927
  //#region ../node_modules/.pnpm/@floating-ui+dom@1.7.6/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs
928
928
  function $t(e) {
929
- let t = q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Ft(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = tt(n) !== a || tt(r) !== o;
929
+ let t = q(e), n = parseFloat(t.width) || 0, r = parseFloat(t.height) || 0, i = Ft(e), a = i ? e.offsetWidth : n, o = i ? e.offsetHeight : r, s = et(n) !== a || et(r) !== o;
930
930
  return s && (n = a, r = o), {
931
931
  width: n,
932
932
  height: r,
@@ -938,14 +938,14 @@ function en(e) {
938
938
  }
939
939
  function tn(e) {
940
940
  let t = en(e);
941
- if (!Ft(t)) return W(1);
942
- let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = $t(t), o = (a ? tt(n.width) : n.width) / r, s = (a ? tt(n.height) : n.height) / i;
941
+ if (!Ft(t)) return tt(1);
942
+ let n = t.getBoundingClientRect(), { width: r, height: i, $: a } = $t(t), o = (a ? et(n.width) : n.width) / r, s = (a ? et(n.height) : n.height) / i;
943
943
  return (!o || !Number.isFinite(o)) && (o = 1), (!s || !Number.isFinite(s)) && (s = 1), {
944
944
  x: o,
945
945
  y: s
946
946
  };
947
947
  }
948
- var nn = /* @__PURE__ */ W(0);
948
+ var nn = /* @__PURE__ */ tt(0);
949
949
  function rn(e) {
950
950
  let t = G(e);
951
951
  return !Kt() || !t.visualViewport ? nn : {
@@ -958,9 +958,9 @@ function an(e, t, n) {
958
958
  }
959
959
  function on(e, t, n, r) {
960
960
  t === void 0 && (t = !1), n === void 0 && (n = !1);
961
- let i = e.getBoundingClientRect(), a = en(e), o = W(1);
961
+ let i = e.getBoundingClientRect(), a = en(e), o = tt(1);
962
962
  t && (r ? K(r) && (o = tn(r)) : o = tn(e));
963
- let s = an(a, n, r) ? rn(a) : W(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
963
+ let s = an(a, n, r) ? rn(a) : tt(0), c = (i.left + s.x) / o.x, l = (i.top + s.y) / o.y, u = i.width / o.x, d = i.height / o.y;
964
964
  if (a) {
965
965
  let e = G(a), t = r && K(r) ? G(r) : r, n = e, i = Qt(n);
966
966
  for (; i && r && t !== n;) {
@@ -992,12 +992,12 @@ function ln(e) {
992
992
  let c = {
993
993
  scrollLeft: 0,
994
994
  scrollTop: 0
995
- }, l = W(1), u = W(0), d = Ft(r);
995
+ }, l = tt(1), u = tt(0), d = Ft(r);
996
996
  if ((d || !d && !a) && ((Mt(r) !== "body" || Lt(o)) && (c = Jt(r)), d)) {
997
997
  let e = on(r);
998
998
  l = tn(r), u.x = e.x + r.clientLeft, u.y = e.y + r.clientTop;
999
999
  }
1000
- let f = o && !d && !a ? cn(o, c) : W(0);
1000
+ let f = o && !d && !a ? cn(o, c) : tt(0);
1001
1001
  return {
1002
1002
  width: n.width * l.x,
1003
1003
  height: n.height * l.y,
@@ -1009,8 +1009,8 @@ function un(e) {
1009
1009
  return Array.from(e.getClientRects());
1010
1010
  }
1011
1011
  function dn(e) {
1012
- let t = Nt(e), n = Jt(e), r = e.ownerDocument.body, i = et(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = et(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + sn(e), s = -n.scrollTop;
1013
- return q(r).direction === "rtl" && (o += et(t.clientWidth, r.clientWidth) - i), {
1012
+ let t = Nt(e), n = Jt(e), r = e.ownerDocument.body, i = $e(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = $e(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight), o = -n.scrollLeft + sn(e), s = -n.scrollTop;
1013
+ return q(r).direction === "rtl" && (o += $e(t.clientWidth, r.clientWidth) - i), {
1014
1014
  width: i,
1015
1015
  height: a,
1016
1016
  x: o,
@@ -1038,7 +1038,7 @@ function pn(e, t) {
1038
1038
  };
1039
1039
  }
1040
1040
  function mn(e, t) {
1041
- let n = on(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Ft(e) ? tn(e) : W(1);
1041
+ let n = on(e, !0, t === "fixed"), r = n.top + e.clientTop, i = n.left + e.clientLeft, a = Ft(e) ? tn(e) : tt(1);
1042
1042
  return {
1043
1043
  width: e.clientWidth * a.x,
1044
1044
  height: e.clientHeight * a.y,
@@ -1080,7 +1080,7 @@ function vn(e) {
1080
1080
  let { element: t, boundary: n, rootBoundary: r, strategy: i } = e, a = [...n === "clippingAncestors" ? zt(t) ? [] : _n(t, this._c) : [].concat(n), r], o = hn(t, a[0], i), s = o.top, c = o.right, l = o.bottom, u = o.left;
1081
1081
  for (let e = 1; e < a.length; e++) {
1082
1082
  let n = hn(t, a[e], i);
1083
- s = et(n.top, s), c = $e(n.right, c), l = $e(n.bottom, l), u = et(n.left, u);
1083
+ s = $e(n.top, s), c = Qe(n.right, c), l = Qe(n.bottom, l), u = $e(n.left, u);
1084
1084
  }
1085
1085
  return {
1086
1086
  width: c - u,
@@ -1100,7 +1100,7 @@ function bn(e, t, n) {
1100
1100
  let r = Ft(t), i = Nt(t), a = n === "fixed", o = on(e, !0, a, t), s = {
1101
1101
  scrollLeft: 0,
1102
1102
  scrollTop: 0
1103
- }, c = W(0);
1103
+ }, c = tt(0);
1104
1104
  function l() {
1105
1105
  c.x = sn(i);
1106
1106
  }
@@ -1109,7 +1109,7 @@ function bn(e, t, n) {
1109
1109
  c.x = e.x + t.clientLeft, c.y = e.y + t.clientTop;
1110
1110
  } else i && l();
1111
1111
  a && !r && i && l();
1112
- let u = i && !r && !a ? cn(i, s) : W(0);
1112
+ let u = i && !r && !a ? cn(i, s) : tt(0);
1113
1113
  return {
1114
1114
  x: o.left + s.scrollLeft - c.x - u.x,
1115
1115
  y: o.top + s.scrollTop - c.y - u.y,
@@ -1317,18 +1317,18 @@ function Gn(e, t, { useShadowSlot: n = !0, countWhitespaceTextInDefaultSlot: r =
1317
1317
  return a ? Un(a, t, r) : Vn(e, t, r);
1318
1318
  }
1319
1319
  function Kn(e, t = {}) {
1320
- let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = Ve(), l = i ?? ne(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = A(d());
1320
+ let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = ze(), l = i ?? re(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = k(d());
1321
1321
  C(() => {
1322
1322
  f.value = d();
1323
1323
  });
1324
- let p = A(!1), m = null, h = null, g = () => {
1324
+ let p = k(!1), m = null, h = null, g = () => {
1325
1325
  m &&= (m.disconnect(), null), h &&= (h.removeEventListener("slotchange", _), null);
1326
1326
  }, _ = () => {
1327
1327
  if (!c.value) {
1328
1328
  p.value = !1;
1329
1329
  return;
1330
1330
  }
1331
- let t = I(n);
1331
+ let t = F(n);
1332
1332
  if (!t) {
1333
1333
  p.value = !1;
1334
1334
  return;
@@ -1340,7 +1340,7 @@ function Kn(e, t = {}) {
1340
1340
  }, v = () => {
1341
1341
  if (!c.value) return;
1342
1342
  g();
1343
- let t = I(n);
1343
+ let t = F(n);
1344
1344
  if (!t) {
1345
1345
  p.value = !1;
1346
1346
  return;
@@ -1353,7 +1353,7 @@ function Kn(e, t = {}) {
1353
1353
  characterData: !0
1354
1354
  }));
1355
1355
  };
1356
- return w(v), S(g), L(() => I(n), () => {
1356
+ return w(v), S(g), I(() => F(n), () => {
1357
1357
  c.value && v();
1358
1358
  }), {
1359
1359
  present: r(() => c.value ? p.value : f.value),
@@ -1364,7 +1364,7 @@ function Kn(e, t = {}) {
1364
1364
  }
1365
1365
  //#endregion
1366
1366
  //#region src/components/base/PvPopoverV2/useHoverPopoverGroup.ts
1367
- var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => !!t.root.value && !!e.root.value?.contains(t.root.value), Yn = (e) => (E(() => qn.delete(e)), (t) => {
1367
+ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => !!t.root.value && !!e.root.value?.contains(t.root.value), Yn = (e) => (ee(() => qn.delete(e)), (t) => {
1368
1368
  if (!t) {
1369
1369
  qn.delete(e);
1370
1370
  return;
@@ -1442,16 +1442,16 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => !!t.root.value && !!e.root.va
1442
1442
  }),
1443
1443
  emits: ["update:modelValue"],
1444
1444
  setup(e) {
1445
- let t = e, c = te(e, "modelValue"), l = p(), u = typeof HTMLElement < "u" && l && "ce" in l && l.ce instanceof HTMLElement ? l.ce : void 0, { hasVueSlot: d, hasNativeSlot: f } = Kn("content", { host: u }), m = r(() => u ? f.value : d.value), h = typeof HTMLElement < "u" && typeof HTMLElement.prototype.showPopover == "function" && typeof CSS < "u" && typeof CSS.supports == "function" && [
1445
+ let t = e, c = ne(e, "modelValue"), l = p(), u = typeof HTMLElement < "u" && l && "ce" in l && l.ce instanceof HTMLElement ? l.ce : void 0, { hasVueSlot: d, hasNativeSlot: f } = Kn("content", { host: u }), m = r(() => u ? f.value : d.value), h = typeof HTMLElement < "u" && typeof HTMLElement.prototype.showPopover == "function" && typeof CSS < "u" && typeof CSS.supports == "function" && [
1446
1446
  "anchor-name: --pv-anchor",
1447
1447
  "position-area: bottom",
1448
1448
  "position-try-fallbacks: flip-block",
1449
1449
  "position-visibility: anchors-visible",
1450
1450
  `anchor-scope: ${Zn}`
1451
- ].every((e) => CSS.supports(e)), g = A(!1), _ = A(null), y = A(null), b = A(null), S = A(null), C = Ie(y), T = Ie(S), O = A(!1), k = A(!1), j = A(!1), ee = Yn({
1451
+ ].every((e) => CSS.supports(e)), g = k(!1), _ = k(null), y = k(null), b = k(null), S = k(null), C = Pe(y), T = Pe(S), D = k(!1), O = k(!1), A = k(!1), te = Yn({
1452
1452
  root: _,
1453
1453
  close: () => t.disableClickOutsideToClose ? !1 : (pe(), !0)
1454
- }), N = {
1454
+ }), M = {
1455
1455
  "top-center": "top",
1456
1456
  "bottom-center": "bottom",
1457
1457
  "center-left": "left",
@@ -1462,7 +1462,7 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => !!t.root.value && !!e.root.va
1462
1462
  "top-right": "top-end",
1463
1463
  "bottom-left": "bottom-start",
1464
1464
  "bottom-right": "bottom-end"
1465
- }, P = {
1465
+ }, N = {
1466
1466
  "top-center": {
1467
1467
  area: "top",
1468
1468
  margin: "margin-block-end"
@@ -1503,37 +1503,37 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => !!t.root.value && !!e.root.va
1503
1503
  area: "bottom span-left",
1504
1504
  margin: "margin-block-start"
1505
1505
  }
1506
- }, F = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), ne = r(() => ({
1506
+ }, P = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), re = r(() => ({
1507
1507
  width: "fit-content",
1508
1508
  ...h ? { "anchor-scope": Zn } : void 0,
1509
1509
  ...t.cssCustomProperties
1510
- })), ie = r(() => h ? { "anchor-name": Zn } : void 0), R = r(() => {
1511
- let e = P[t.position];
1510
+ })), ae = r(() => h ? { "anchor-name": Zn } : void 0), L = r(() => {
1511
+ let e = N[t.position];
1512
1512
  return {
1513
1513
  "position-anchor": Zn,
1514
1514
  "position-area": e.area,
1515
1515
  "position-try-fallbacks": t.disableAutoPlacement ? void 0 : "flip-block, flip-inline, flip-block flip-inline",
1516
1516
  [e.margin]: `${t.offset ?? 0}px`
1517
1517
  };
1518
- }), oe = () => {}, se = () => ({});
1518
+ }), se = () => {}, ce = () => ({});
1519
1519
  if (!h) {
1520
1520
  let e = [];
1521
1521
  t.disableAutoPlacement || e.push(On({ fallbackStrategy: "initialPlacement" })), t.offset && e.push(Dn(t.offset));
1522
1522
  let n = zn(b, S, {
1523
- placement: N[t.position],
1523
+ placement: M[t.position],
1524
1524
  strategy: t.positioningStrategy,
1525
1525
  middleware: e
1526
1526
  });
1527
- oe = n.update, se = () => n.floatingStyles.value;
1528
- let i = Fe(b), a = /* @__PURE__ */ Ce(() => {
1529
- c.value && oe();
1527
+ se = n.update, ce = () => n.floatingStyles.value;
1528
+ let i = Ne(b), a = /* @__PURE__ */ xe(() => {
1529
+ c.value && se();
1530
1530
  }, 5);
1531
- L([
1531
+ I([
1532
1532
  i.top,
1533
1533
  i.left,
1534
1534
  i.width,
1535
1535
  i.height
1536
- ], a), ke(_, () => {
1536
+ ], a), De(_, () => {
1537
1537
  t.disableClickOutsideToClose || z(!1);
1538
1538
  }, { ignore: r(() => [
1539
1539
  S.value,
@@ -1541,115 +1541,115 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => !!t.root.value && !!e.root.va
1541
1541
  ...t.ignoreClickOutsideClasses?.map((e) => `.${e}`) ?? []
1542
1542
  ]) });
1543
1543
  }
1544
- let ce = r(() => ({
1545
- ...se(),
1544
+ let le = r(() => ({
1545
+ ...ce(),
1546
1546
  zIndex: t.zIndex
1547
- })), le, ue, de = () => {
1548
- le && clearTimeout(le), le = void 0;
1547
+ })), R, ue, de = () => {
1548
+ R && clearTimeout(R), R = void 0;
1549
1549
  }, fe = () => {
1550
1550
  ue && clearTimeout(ue), ue = void 0;
1551
1551
  }, z = (e) => {
1552
- de(), fe(), !(e && (t.disabled || !m.value)) && (e && t.delay > 0 && (t.showOnHover || !h) ? le = setTimeout(() => {
1553
- c.value = !0, le = void 0;
1552
+ de(), fe(), !(e && (t.disabled || !m.value)) && (e && t.delay > 0 && (t.showOnHover || !h) ? R = setTimeout(() => {
1553
+ c.value = !0, R = void 0;
1554
1554
  }, t.delay) : c.value = e);
1555
1555
  }, pe = () => {
1556
1556
  de(), fe(), c.value = !1;
1557
- }, me = () => {
1557
+ }, B = () => {
1558
1558
  let e = S.value;
1559
1559
  !e || !g.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
1560
- }, he = r(() => !!c.value && (T.value || k.value)), ge = r(() => !t.showOnHover || j.value ? !1 : t.disableInteractive ? C.value || O.value : C.value || O.value || he.value);
1561
- L([
1560
+ }, me = r(() => !!c.value && (T.value || O.value)), he = r(() => !t.showOnHover || A.value ? !1 : t.disableInteractive ? C.value || D.value : C.value || D.value || me.value);
1561
+ I([
1562
1562
  C,
1563
- O,
1564
- k
1563
+ D,
1564
+ O
1565
1565
  ], ([e, t, n]) => {
1566
- !e && !t && !n && (j.value = !1);
1566
+ !e && !t && !n && (A.value = !1);
1567
1567
  });
1568
- let _e = ({ target: e }) => {
1568
+ let ge = ({ target: e }) => {
1569
+ D.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1570
+ }, V = ({ target: e }) => {
1569
1571
  O.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1570
- }, B = ({ target: e }) => {
1571
- k.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1572
+ }, _e = () => {
1573
+ O.value = !1;
1572
1574
  }, ve = () => {
1573
- k.value = !1;
1574
- }, ye = () => {
1575
1575
  if (t.showOnHover) {
1576
1576
  if (t.disableClickOutsideToClose) return;
1577
- if (!c.value && !le && t.enableClickToggle) {
1578
- j.value = !1, z(!0);
1577
+ if (!c.value && !R && t.enableClickToggle) {
1578
+ A.value = !1, z(!0);
1579
1579
  return;
1580
1580
  }
1581
- j.value = !0, pe();
1581
+ A.value = !0, pe();
1582
1582
  return;
1583
1583
  }
1584
- z(le ? !1 : !c.value);
1585
- }, be = (e) => {
1584
+ z(R ? !1 : !c.value);
1585
+ }, ye = (e) => {
1586
1586
  let t = e.newState === "open";
1587
1587
  c.value !== t && (c.value = t);
1588
- }, xe = (e) => {
1589
- h && F.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), z(!1));
1588
+ }, H = (e) => {
1589
+ h && P.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), z(!1));
1590
1590
  };
1591
- return L(c, async (e) => {
1592
- if (t.showOnHover && t.enableGroupSync && ee(!!e), !h) {
1593
- e && oe();
1591
+ return I(c, async (e) => {
1592
+ if (t.showOnHover && t.enableGroupSync && te(!!e), !h) {
1593
+ e && se();
1594
1594
  return;
1595
1595
  }
1596
- await v(), me();
1597
- }), L(ge, (e) => {
1596
+ await v(), B();
1597
+ }), I(he, (e) => {
1598
1598
  if (t.showOnHover) {
1599
1599
  if (e) {
1600
1600
  z(!0);
1601
1601
  return;
1602
1602
  }
1603
1603
  de(), t.closeDelay > 0 ? (fe(), ue = setTimeout(() => {
1604
- ue = void 0, ge.value || z(!1);
1604
+ ue = void 0, he.value || z(!1);
1605
1605
  }, t.closeDelay)) : z(!1);
1606
1606
  }
1607
- }), L(m, (e) => {
1608
- e ? h && c.value && v(me) : pe();
1607
+ }), I(m, (e) => {
1608
+ e ? h && c.value && v(B) : pe();
1609
1609
  }), w(() => {
1610
- b.value = y.value, g.value = !0, c.value && v(() => h ? me() : oe());
1611
- }), E(() => {
1610
+ b.value = y.value, g.value = !0, c.value && v(() => h ? B() : se());
1611
+ }), ee(() => {
1612
1612
  de(), fe();
1613
- }), L(() => t.disabled, (e) => {
1613
+ }), I(() => t.disabled, (e) => {
1614
1614
  if (!e) {
1615
- ge.value && z(!0);
1615
+ he.value && z(!0);
1616
1616
  return;
1617
1617
  }
1618
- O.value &&= !1, k.value &&= !1, z(!1);
1619
- }), (r, l) => (D(), o("div", {
1618
+ D.value &&= !1, O.value &&= !1, z(!1);
1619
+ }), (r, l) => (E(), o("div", {
1620
1620
  ref_key: "root",
1621
1621
  ref: _,
1622
- style: x(ne.value),
1623
- onKeydown: xe
1622
+ style: x(re.value),
1623
+ onKeydown: H
1624
1624
  }, [s("div", {
1625
1625
  ref_key: "triggerWrapper",
1626
1626
  ref: y,
1627
- style: x(ie.value),
1628
- onClick: ye,
1629
- onFocusin: _e,
1630
- onFocusout: l[0] ||= (e) => O.value = !1
1631
- }, [M(r.$slots, "trigger")], 36), g.value && I(h) && m.value ? (D(), o("div", {
1627
+ style: x(ae.value),
1628
+ onClick: ve,
1629
+ onFocusin: ge,
1630
+ onFocusout: l[0] ||= (e) => D.value = !1
1631
+ }, [j(r.$slots, "trigger")], 36), g.value && F(h) && m.value ? (E(), o("div", {
1632
1632
  key: 0,
1633
1633
  ref_key: "floating",
1634
1634
  ref: S,
1635
1635
  class: "pv-floating pv-floating-native",
1636
- popover: F.value,
1637
- style: x(R.value),
1638
- onToggle: be,
1639
- onFocusin: B,
1640
- onFocusout: ve
1641
- }, [e.disabled ? a("v-if", !0) : M(r.$slots, "content", { key: 0 })], 44, Xn)) : m.value ? (D(), i(n, {
1636
+ popover: P.value,
1637
+ style: x(L.value),
1638
+ onToggle: ye,
1639
+ onFocusin: V,
1640
+ onFocusout: _e
1641
+ }, [e.disabled ? a("v-if", !0) : j(r.$slots, "content", { key: 0 })], 44, Xn)) : m.value ? (E(), i(n, {
1642
1642
  key: 1,
1643
1643
  to: e.teleportLocation,
1644
1644
  disabled: !t.useTeleport || e.disabled
1645
- }, [ae(s("div", {
1645
+ }, [oe(s("div", {
1646
1646
  ref_key: "floating",
1647
1647
  ref: S,
1648
1648
  class: "pv-floating",
1649
- style: x(ce.value),
1650
- onFocusin: B,
1651
- onFocusout: ve
1652
- }, [M(r.$slots, "content")], 36), [[re, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1649
+ style: x(le.value),
1650
+ onFocusin: V,
1651
+ onFocusout: _e
1652
+ }, [j(r.$slots, "content")], 36), [[ie, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1653
1653
  }
1654
1654
  }), $n = ["data-variant"], er = /* @__PURE__ */ d({
1655
1655
  __name: "PvTooltipV2",
@@ -1696,16 +1696,16 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => !!t.root.value && !!e.root.va
1696
1696
  },
1697
1697
  setup(e) {
1698
1698
  let t = e, n = p(), a = typeof HTMLElement < "u" && n && "ce" in n && n.ce instanceof HTMLElement ? n.ce : void 0, { hasVueSlot: o, hasNativeSlot: u } = Kn("content", { host: a }), d = r(() => a ? u.value : o.value), f = r(() => !!t.description || d.value);
1699
- return (t, n) => (D(), i(Qn, b(h(t.$props)), c({
1700
- trigger: R(() => [M(t.$slots, "trigger", {}, () => [s("p", null, P(e.label), 1)])]),
1699
+ return (t, n) => (E(), i(Qn, b(h(t.$props)), c({
1700
+ trigger: L(() => [j(t.$slots, "trigger", {}, () => [s("p", null, N(e.label), 1)])]),
1701
1701
  _: 2
1702
1702
  }, [f.value ? {
1703
1703
  name: "content",
1704
- fn: R(() => [s("div", {
1704
+ fn: L(() => [s("div", {
1705
1705
  class: y(["pv-tooltip-v2-content", { "pv-tooltip-v2-content-small": e.size === "sm" }]),
1706
1706
  role: "tooltip",
1707
1707
  "data-variant": e.variant
1708
- }, [M(t.$slots, "content", {}, () => [l(P(e.description), 1)])], 10, $n)]),
1708
+ }, [j(t.$slots, "content", {}, () => [l(N(e.description), 1)])], 10, $n)]),
1709
1709
  key: "0"
1710
1710
  } : void 0]), 1040));
1711
1711
  }
@@ -1815,6 +1815,7 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => !!t.root.value && !!e.root.va
1815
1815
  }, ti = { class: "content-panel" }, ni = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", ri = /* @__PURE__ */ d({
1816
1816
  __name: "PvSidebarV2",
1817
1817
  props: /* @__PURE__ */ g({
1818
+ disableOrgProfileHover: { type: Boolean },
1818
1819
  disableToggle: { type: Boolean },
1819
1820
  navItems: { type: Array },
1820
1821
  organizations: { type: Array },
@@ -1829,14 +1830,14 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => !!t.root.value && !!e.root.va
1829
1830
  }),
1830
1831
  emits: /* @__PURE__ */ g(["change"], ["update:modelValue"]),
1831
1832
  setup(e, { emit: n }) {
1832
- let c = e, d = p(), f = typeof HTMLElement < "u" && d && "ce" in d && d.ce instanceof HTMLElement ? d.ce : void 0, { present: m } = Kn("sidebar-additional-content", { host: f }), { present: h } = Kn("sidebar-additional-header", { host: f }), { present: g } = Kn("sidebar-help-content", { host: f }), { present: b } = Kn("sidebar-profile-content", { host: f }), C = ne(), T = A(null), E = A(null), O = A({}), k = A(), N = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ new Map(), re = A(0), ie = Fe(E), ae = r(() => ({
1833
- "--pv-sidebar-hover-panel-height": `${ie.height.value}px`,
1834
- "--pv-sidebar-hover-panel-left": `${ie.right.value}px`,
1835
- "--pv-sidebar-hover-panel-top": `${ie.top.value}px`
1836
- })), se, ce = (e) => e.hoverPanelSlot ? f ? (re.value, Gn(f, e.hoverPanelSlot)) : !!C[e.hoverPanelSlot] : !1, le = (e, t, n) => {
1833
+ let c = e, d = p(), f = typeof HTMLElement < "u" && d && "ce" in d && d.ce instanceof HTMLElement ? d.ce : void 0, { present: m } = Kn("sidebar-additional-content", { host: f }), { present: h } = Kn("sidebar-additional-header", { host: f }), { present: g } = Kn("sidebar-help-content", { host: f }), { present: b } = Kn("sidebar-profile-content", { host: f }), C = re(), T = k(null), ee = k(null), D = k({}), O = k(), M = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), ie = k(0), ae = Ne(ee), oe = r(() => ({
1834
+ "--pv-sidebar-hover-panel-height": `${ae.height.value}px`,
1835
+ "--pv-sidebar-hover-panel-left": `${ae.right.value}px`,
1836
+ "--pv-sidebar-hover-panel-top": `${ae.top.value}px`
1837
+ })), ce, le = (e) => e.hoverPanelSlot ? f ? (ie.value, Gn(f, e.hoverPanelSlot)) : !!C[e.hoverPanelSlot] : !1, R = (e, t, n) => {
1837
1838
  n instanceof HTMLElement ? e.set(t, n) : e.delete(t);
1838
1839
  }, ue = (e) => {
1839
- let t = N.get(e), n = t?.querySelector(ni);
1840
+ let t = M.get(e), n = t?.querySelector(ni);
1840
1841
  if (n) return n;
1841
1842
  for (let e of t?.querySelectorAll("slot") ?? []) for (let t of e.assignedElements({ flatten: !0 })) {
1842
1843
  if (t.matches(ni)) return t;
@@ -1846,10 +1847,10 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => !!t.root.value && !!e.root.va
1846
1847
  }, de = (e, t) => {
1847
1848
  if (e.shiftKey) return;
1848
1849
  let n = ue(t);
1849
- n && (e.preventDefault(), O.value[t] = !0, v(() => n.focus()));
1850
+ n && (e.preventDefault(), D.value[t] = !0, v(() => n.focus()));
1850
1851
  }, fe = (e) => {
1851
- k.value = e, O.value[e] = !1, v(() => {
1852
- F.get(e)?.focus({ preventScroll: !0 }), v(() => k.value = void 0);
1852
+ O.value = e, D.value[e] = !1, v(() => {
1853
+ P.get(e)?.focus({ preventScroll: !0 }), v(() => O.value = void 0);
1853
1854
  });
1854
1855
  }, z = (e, t) => {
1855
1856
  e.composedPath().some((e) => e instanceof Element && e.hasAttribute("data-sidebar-nav-panel-close")) && fe(t);
@@ -1857,49 +1858,49 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => !!t.root.value && !!e.root.va
1857
1858
  e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), fe(t));
1858
1859
  };
1859
1860
  w(() => {
1860
- f && (se = new MutationObserver((e) => {
1861
- e.some((e) => e.target === f || e.type === "attributes" && e.target.parentNode === f) && (re.value += 1);
1862
- }), se.observe(f, {
1861
+ f && (ce = new MutationObserver((e) => {
1862
+ e.some((e) => e.target === f || e.type === "attributes" && e.target.parentNode === f) && (ie.value += 1);
1863
+ }), ce.observe(f, {
1863
1864
  attributes: !0,
1864
1865
  attributeFilter: ["slot"],
1865
1866
  childList: !0,
1866
1867
  subtree: !0
1867
1868
  }));
1868
- }), S(() => se?.disconnect());
1869
- let me = (e) => {
1869
+ }), S(() => ce?.disconnect());
1870
+ let B = (e) => {
1870
1871
  for (let t of e) {
1871
1872
  if (t.active) return t;
1872
- let e = t.entities && me(t.entities);
1873
+ let e = t.entities && B(t.entities);
1873
1874
  if (e) return e;
1874
1875
  }
1875
- }, he = r(() => (c.organizations && me(c.organizations)) ?? c.organizations?.[0]), ge = (e) => !!(e.active || e.children?.some((e) => e.active)), _e = A((() => {
1876
+ }, me = r(() => (c.organizations && B(c.organizations)) ?? c.organizations?.[0]), he = (e) => !!(e.active || e.children?.some((e) => e.active)), ge = k((() => {
1876
1877
  let e = {};
1877
1878
  return c.navItems?.forEach((t) => {
1878
- ge(t) && (e[t.value] = !0);
1879
+ he(t) && (e[t.value] = !0);
1879
1880
  }), e;
1880
1881
  })());
1881
- L(() => c.navItems, (e) => {
1882
+ I(() => c.navItems, (e) => {
1882
1883
  e?.forEach((e) => {
1883
- ge(e) && (_e.value[e.value] = !0);
1884
+ he(e) && (ge.value[e.value] = !0);
1884
1885
  });
1885
1886
  });
1886
- let B = te(e, "modelValue"), ve = A(!1), ye = n, be = A(!1), xe = A(!1), V = A(!1), Se = () => {
1887
- be.value = !1, O.value = {}, xe.value = !1, V.value = !1;
1887
+ let V = ne(e, "modelValue"), _e = k(!1), ve = n, ye = k(!1), H = k(!1), U = k(!1), be = () => {
1888
+ ye.value = !1, D.value = {}, H.value = !1, U.value = !1;
1888
1889
  };
1889
- L(be, (e) => {
1890
- e && (O.value = {}, xe.value = !1, V.value = !1);
1891
- }), L(xe, (e) => {
1892
- e && (be.value = !1, O.value = {}, V.value = !1);
1893
- }), L(V, (e) => {
1894
- e && (be.value = !1, O.value = {}, xe.value = !1);
1895
- }), L(B, () => {
1896
- Se(), ve.value = !0;
1890
+ I(ye, (e) => {
1891
+ e && (D.value = {}, H.value = !1, U.value = !1);
1892
+ }), I(H, (e) => {
1893
+ e && (ye.value = !1, D.value = {}, U.value = !1);
1894
+ }), I(U, (e) => {
1895
+ e && (ye.value = !1, D.value = {}, H.value = !1);
1896
+ }), I(V, () => {
1897
+ be(), _e.value = !0;
1897
1898
  });
1898
- let Ce = () => {
1899
- B.value = !B.value, ye("change", { collapsed: B.value });
1900
- }, we = (e) => {
1901
- e.target === e.currentTarget && e.propertyName === "grid-template-columns" && (ve.value = !1);
1902
- }, Te = (e) => e.some((e) => e.active), Ee = (e, t) => {
1899
+ let xe = () => {
1900
+ V.value = !V.value, ve("change", { collapsed: V.value });
1901
+ }, Se = (e) => {
1902
+ e.target === e.currentTarget && e.propertyName === "grid-template-columns" && (_e.value = !1);
1903
+ }, Ce = (e) => e.some((e) => e.active), we = (e, t) => {
1903
1904
  if (t.url) {
1904
1905
  if (e.ctrlKey || e.metaKey || e.shiftKey || e.button === 1) {
1905
1906
  window.open(t.url, "_blank", "noopener");
@@ -1908,62 +1909,78 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => !!t.root.value && !!e.root.va
1908
1909
  window.location.href = t.url;
1909
1910
  }
1910
1911
  };
1911
- return (n, r) => (D(), o("div", {
1912
+ return (n, r) => (E(), o("div", {
1912
1913
  class: y(["sidebar-layout sidebar-layout-new", [e.variant && `sidebar-layout-${e.variant}`, {
1913
- "is-collapsed": B.value,
1914
- "is-expanded": !B.value,
1915
- "is-transitioning": ve.value
1914
+ "is-collapsed": V.value,
1915
+ "is-expanded": !V.value,
1916
+ "is-transitioning": _e.value
1916
1917
  }]]),
1917
- style: x(ae.value),
1918
- onTransitionend: we
1918
+ style: x(oe.value),
1919
+ onTransitionend: Se
1919
1920
  }, [
1920
1921
  s("div", {
1921
1922
  ref_key: "sidebarPanel",
1922
- ref: E,
1923
+ ref: ee,
1923
1924
  class: "sidebar-panel"
1924
- }, [s("div", null, [I(h) ? (D(), o("div", tr, [M(n.$slots, "sidebar-additional-header")])) : a("v-if", !0), s("div", { class: y(["sidebar-header", [{ "pv-border-bottom": B.value }]]) }, [s("div", nr, [e.organizations && e.organizations.length ? (D(), o("div", rr, [u(Qn, {
1925
- modelValue: xe.value,
1926
- "onUpdate:modelValue": r[0] ||= (e) => xe.value = e,
1927
- position: B.value ? "right-top" : "bottom-left",
1928
- "show-on-hover": B.value && !ve.value,
1929
- "enable-group-sync": "",
1930
- "enable-click-toggle": "",
1925
+ }, [s("div", null, [F(h) ? (E(), o("div", tr, [j(n.$slots, "sidebar-additional-header")])) : a("v-if", !0), s("div", { class: y(["sidebar-header", [{ "pv-border-bottom": V.value }]]) }, [s("div", nr, [e.organizations && e.organizations.length ? (E(), o("div", rr, [u(Qn, {
1926
+ modelValue: H.value,
1927
+ "onUpdate:modelValue": r[0] ||= (e) => H.value = e,
1928
+ position: V.value ? "right-top" : "bottom-left",
1931
1929
  "use-teleport": !!T.value,
1932
1930
  "teleport-location": T.value ?? "body",
1933
1931
  "css-custom-properties": { width: "100%" }
1934
1932
  }, {
1935
- trigger: R(() => [s("button", {
1936
- type: "button",
1937
- class: "pv-nav-list-item pv-full-width pv-space-between",
1938
- "data-testid": "pv-sidebar-org-switcher",
1939
- "aria-label": `Switch organization: ${he.value?.label}`,
1940
- "aria-expanded": xe.value
1941
- }, [s("div", ar, [s("span", or, [he.value?.avatarUrl ? (D(), o("img", {
1942
- key: 0,
1943
- src: he.value.avatarUrl,
1944
- alt: "Organization Avatar"
1945
- }, null, 8, sr)) : (D(), o("span", cr, P(he.value?.label?.slice(0, 1)), 1))]), s("span", {
1946
- class: "pv-text-title-lg pv-truncate",
1947
- "data-sidebar-expanded-content": "",
1948
- title: he.value?.label
1949
- }, P(he.value?.label), 9, lr)]), u(U, {
1950
- name: "chevron-down",
1951
- class: "pv-icon-16",
1952
- "data-sidebar-expanded-content": ""
1953
- })], 8, ir)]),
1954
- content: R(() => [s("div", ur, [s("ul", dr, [(D(!0), o(t, null, j(e.organizations, (e) => (D(), o(t, { key: e.value }, [s("li", { "data-active": e.active || void 0 }, [s("a", {
1933
+ trigger: L(() => [u(er, {
1934
+ description: me.value?.label,
1935
+ disabled: !V.value || _e.value || H.value,
1936
+ variant: "white",
1937
+ position: "center-right",
1938
+ delay: 250,
1939
+ offset: 4,
1940
+ "enable-group-sync": "",
1941
+ "use-teleport": !!T.value,
1942
+ "teleport-location": T.value ?? "body",
1943
+ "css-custom-properties": { width: "100%" }
1944
+ }, {
1945
+ trigger: L(() => [s("button", {
1946
+ type: "button",
1947
+ class: "pv-nav-list-item pv-full-width pv-space-between",
1948
+ "data-testid": "pv-sidebar-org-switcher",
1949
+ "aria-label": `Switch organization: ${me.value?.label}`,
1950
+ "aria-expanded": H.value
1951
+ }, [s("div", ar, [s("span", or, [me.value?.avatarUrl ? (E(), o("img", {
1952
+ key: 0,
1953
+ src: me.value.avatarUrl,
1954
+ alt: "Organization Avatar"
1955
+ }, null, 8, sr)) : (E(), o("span", cr, N(me.value?.label?.slice(0, 1)), 1))]), s("span", {
1956
+ class: "pv-text-title-lg pv-truncate",
1957
+ "data-sidebar-expanded-content": "",
1958
+ title: me.value?.label
1959
+ }, N(me.value?.label), 9, lr)]), u(He, {
1960
+ name: "chevron-down",
1961
+ class: "pv-icon-16",
1962
+ "data-sidebar-expanded-content": ""
1963
+ })], 8, ir)]),
1964
+ _: 1
1965
+ }, 8, [
1966
+ "description",
1967
+ "disabled",
1968
+ "use-teleport",
1969
+ "teleport-location"
1970
+ ])]),
1971
+ content: L(() => [s("div", ur, [s("ul", dr, [(E(!0), o(t, null, A(e.organizations, (e) => (E(), o(t, { key: e.value }, [s("li", { "data-active": e.active || void 0 }, [s("a", {
1955
1972
  class: "pv-flex",
1956
1973
  href: e.url,
1957
1974
  "data-testid": "pv-sidebar-org-option",
1958
1975
  "data-org-value": e.value
1959
- }, [s("div", mr, [e.avatarUrl ? (D(), o("img", {
1976
+ }, [s("div", mr, [e.avatarUrl ? (E(), o("img", {
1960
1977
  key: 0,
1961
1978
  src: e.avatarUrl,
1962
1979
  alt: "Organization Avatar"
1963
- }, null, 8, hr)) : (D(), o("span", gr, P(e.label.slice(0, 1)), 1))]), s("span", {
1980
+ }, null, 8, hr)) : (E(), o("span", gr, N(e.label.slice(0, 1)), 1))]), s("span", {
1964
1981
  class: "pv-truncate pv-flex-item",
1965
1982
  title: e.label
1966
- }, P(e.label), 9, _r)], 8, pr)], 8, fr), (D(!0), o(t, null, j(e.entities, (e) => (D(), o("li", {
1983
+ }, N(e.label), 9, _r)], 8, pr)], 8, fr), (E(!0), o(t, null, A(e.entities, (e) => (E(), o("li", {
1967
1984
  key: e.value,
1968
1985
  style: { "padding-left": "0.5rem" },
1969
1986
  "data-active": e.active || void 0
@@ -1973,65 +1990,64 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => !!t.root.value && !!e.root.va
1973
1990
  style: { "max-width": "100%" },
1974
1991
  "data-testid": "pv-sidebar-org-entity",
1975
1992
  "data-org-value": e.value
1976
- }, [u(U, { name: "corner-down-right" }), s("span", {
1993
+ }, [u(He, { name: "corner-down-right" }), s("span", {
1977
1994
  class: "pv-truncate",
1978
1995
  title: e.label
1979
- }, P(e.label), 9, br)], 8, yr)], 8, vr))), 128))], 64))), 128))])])]),
1996
+ }, N(e.label), 9, br)], 8, yr)], 8, vr))), 128))], 64))), 128))])])]),
1980
1997
  _: 1
1981
1998
  }, 8, [
1982
1999
  "modelValue",
1983
2000
  "position",
1984
- "show-on-hover",
1985
2001
  "use-teleport",
1986
2002
  "teleport-location"
1987
- ])])) : a("v-if", !0)]), e.disableToggle ? a("v-if", !0) : (D(), i(er, {
2003
+ ])])) : a("v-if", !0)]), e.disableToggle ? a("v-if", !0) : (E(), i(er, {
1988
2004
  key: 0,
1989
2005
  variant: "white",
1990
2006
  position: "center-right",
1991
2007
  delay: 1e3
1992
2008
  }, {
1993
- trigger: R(() => [u(Qe, {
2009
+ trigger: L(() => [u(Ze, {
1994
2010
  class: "sidebar-toggle",
1995
- "left-icon": B.value ? "panel-left-open" : "panel-left-close",
1996
- "aria-label": B.value ? "Open sidebar" : "Close sidebar",
2011
+ "left-icon": V.value ? "panel-left-open" : "panel-left-close",
2012
+ "aria-label": V.value ? "Open sidebar" : "Close sidebar",
1997
2013
  variant: "ghost",
1998
- onClick: Ce
2014
+ onClick: xe
1999
2015
  }, null, 8, ["left-icon", "aria-label"])]),
2000
- content: R(() => [l(P(B.value ? "Expand navigation" : "Collapse navigation"), 1)]),
2016
+ content: L(() => [l(N(V.value ? "Expand navigation" : "Collapse navigation"), 1)]),
2001
2017
  _: 1
2002
2018
  }))], 2)]), s("div", xr, [
2003
- I(m) ? (D(), o("div", Sr, [M(n.$slots, "sidebar-additional-content")])) : a("v-if", !0),
2004
- e.navItems && e.navItems.length ? (D(), o("ul", Cr, [(D(!0), o(t, null, j(e.navItems, (e) => (D(), o("li", { key: e.value }, [a(" Slotted full-height panel - available while collapsed or expanded "), ce(e) ? (D(), i(Qn, {
2019
+ F(m) ? (E(), o("div", Sr, [j(n.$slots, "sidebar-additional-content")])) : a("v-if", !0),
2020
+ e.navItems && e.navItems.length ? (E(), o("ul", Cr, [(E(!0), o(t, null, A(e.navItems, (e) => (E(), o("li", { key: e.value }, [a(" Slotted full-height panel - available while collapsed or expanded "), le(e) ? (E(), i(Qn, {
2005
2021
  key: 0,
2006
- modelValue: O.value[e.value],
2007
- "onUpdate:modelValue": (t) => O.value[e.value] = t,
2022
+ modelValue: D.value[e.value],
2023
+ "onUpdate:modelValue": (t) => D.value[e.value] = t,
2008
2024
  "show-on-hover": "",
2009
2025
  "enable-group-sync": "",
2010
2026
  "enable-click-toggle": "",
2011
2027
  "use-teleport": !!T.value,
2012
2028
  "teleport-location": T.value ?? "body",
2013
2029
  position: "right-top",
2014
- disabled: k.value === e.value,
2030
+ disabled: O.value === e.value,
2015
2031
  "css-custom-properties": { width: "100%" }
2016
2032
  }, {
2017
- trigger: R(() => [(D(), i(ee(e.url ? "a" : "button"), _({
2033
+ trigger: L(() => [(E(), i(te(e.url ? "a" : "button"), _({
2018
2034
  ref_for: !0,
2019
- ref: (t) => le(I(F), e.value, t),
2035
+ ref: (t) => R(F(P), e.value, t),
2020
2036
  class: "pv-nav-list-item",
2021
2037
  href: e.url,
2022
2038
  type: e.url ? void 0 : "button"
2023
2039
  }, { ref_for: !0 }, e.linkAttrs, {
2024
2040
  "aria-current": e.active ? "page" : void 0,
2025
- "aria-expanded": !!O.value[e.value],
2026
- "aria-label": B.value ? e.label : void 0,
2027
- title: B.value ? void 0 : e.label,
2028
- onKeydown: oe((t) => de(t, e.value), ["tab"])
2041
+ "aria-expanded": !!D.value[e.value],
2042
+ "aria-label": V.value ? e.label : void 0,
2043
+ title: V.value ? void 0 : e.label,
2044
+ onKeydown: se((t) => de(t, e.value), ["tab"])
2029
2045
  }), {
2030
- default: R(() => [e.icon ? (D(), i(U, {
2046
+ default: L(() => [e.icon ? (E(), i(He, {
2031
2047
  key: 0,
2032
2048
  name: e.icon,
2033
2049
  class: "pv-nav-icon"
2034
- }, null, 8, ["name"])) : a("v-if", !0), s("span", wr, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, P(e.label), 3), e.badge ? (D(), o("span", Tr, P(e.badge.toUpperCase()), 1)) : a("v-if", !0)])]),
2050
+ }, null, 8, ["name"])) : a("v-if", !0), s("span", wr, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, N(e.label), 3), e.badge ? (E(), o("span", Tr, N(e.badge.toUpperCase()), 1)) : a("v-if", !0)])]),
2035
2051
  _: 2
2036
2052
  }, 1040, [
2037
2053
  "href",
@@ -2042,13 +2058,13 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => !!t.root.value && !!e.root.va
2042
2058
  "title",
2043
2059
  "onKeydown"
2044
2060
  ]))]),
2045
- content: R(() => [s("div", {
2061
+ content: L(() => [s("div", {
2046
2062
  ref_for: !0,
2047
- ref: (t) => le(I(N), e.value, t),
2063
+ ref: (t) => R(F(M), e.value, t),
2048
2064
  class: "pv-sidebar-hover-panel",
2049
2065
  onClick: (t) => z(t, e.value),
2050
2066
  onKeydown: (t) => pe(t, e.value)
2051
- }, [M(n.$slots, e.hoverPanelSlot)], 40, Er)]),
2067
+ }, [j(n.$slots, e.hoverPanelSlot)], 40, Er)]),
2052
2068
  _: 2
2053
2069
  }, 1032, [
2054
2070
  "modelValue",
@@ -2056,67 +2072,67 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => !!t.root.value && !!e.root.va
2056
2072
  "use-teleport",
2057
2073
  "teleport-location",
2058
2074
  "disabled"
2059
- ])) : !e.children || e.children.length === 0 ? (D(), o(t, { key: 1 }, [a(" Leaf item - direct link with a collapsed interactive flyout "), u(Qn, {
2075
+ ])) : !e.children || e.children.length === 0 ? (E(), o(t, { key: 1 }, [a(" Leaf item - direct link with a collapsed interactive flyout "), u(Qn, {
2060
2076
  "show-on-hover": "",
2061
2077
  "enable-group-sync": "",
2062
2078
  "enable-click-toggle": "",
2063
2079
  "use-teleport": !!T.value,
2064
2080
  "teleport-location": T.value ?? "body",
2065
2081
  position: "right-top",
2066
- disabled: !B.value,
2082
+ disabled: !V.value,
2067
2083
  "css-custom-properties": { width: "100%" }
2068
2084
  }, {
2069
- trigger: R(() => [s("a", _({
2085
+ trigger: L(() => [s("a", _({
2070
2086
  class: "pv-nav-list-item",
2071
2087
  href: e.url
2072
2088
  }, { ref_for: !0 }, e.linkAttrs, {
2073
2089
  "aria-current": e.active ? "page" : void 0,
2074
- title: B.value ? void 0 : e.label
2075
- }), [e.icon ? (D(), i(U, {
2090
+ title: V.value ? void 0 : e.label
2091
+ }), [e.icon ? (E(), i(He, {
2076
2092
  key: 0,
2077
2093
  name: e.icon,
2078
2094
  class: "pv-nav-icon"
2079
- }, null, 8, ["name"])) : a("v-if", !0), s("span", Or, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, P(e.label), 3), e.badge ? (D(), o("span", kr, P(e.badge.toUpperCase()), 1)) : a("v-if", !0)])], 16, Dr)]),
2080
- content: R(() => [s("div", Ar, [s("ul", jr, [s("li", { "data-active": e.active || void 0 }, [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, P(e.label), 3), e.badge ? (D(), o("span", Pr, P(e.badge.toUpperCase()), 1)) : a("v-if", !0)], 16, Nr)], 8, Mr)])])]),
2095
+ }, null, 8, ["name"])) : a("v-if", !0), s("span", Or, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, N(e.label), 3), e.badge ? (E(), o("span", kr, N(e.badge.toUpperCase()), 1)) : a("v-if", !0)])], 16, Dr)]),
2096
+ content: L(() => [s("div", Ar, [s("ul", jr, [s("li", { "data-active": e.active || void 0 }, [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, N(e.label), 3), e.badge ? (E(), o("span", Pr, N(e.badge.toUpperCase()), 1)) : a("v-if", !0)], 16, Nr)], 8, Mr)])])]),
2081
2097
  _: 2
2082
2098
  }, 1032, [
2083
2099
  "use-teleport",
2084
2100
  "teleport-location",
2085
2101
  "disabled"
2086
- ])], 2112)) : (D(), o(t, { key: 2 }, [a(" Child items - accordion with a collapsed hover flyout "), u(Qn, {
2102
+ ])], 2112)) : (E(), o(t, { key: 2 }, [a(" Child items - accordion with a collapsed hover flyout "), u(Qn, {
2087
2103
  "show-on-hover": "",
2088
2104
  "enable-group-sync": "",
2089
2105
  "enable-click-toggle": "",
2090
2106
  "use-teleport": !!T.value,
2091
2107
  "teleport-location": T.value ?? "body",
2092
2108
  position: "right-top",
2093
- disabled: !B.value,
2109
+ disabled: !V.value,
2094
2110
  "css-custom-properties": { width: "100%" }
2095
2111
  }, {
2096
- trigger: R(() => [u(Ge, {
2097
- modelValue: _e.value[e.value],
2098
- "onUpdate:modelValue": (t) => _e.value[e.value] = t,
2099
- "default-open": ge(e),
2100
- "summary-attrs": { "aria-current": Te(e.children) && B.value ? "page" : void 0 },
2112
+ trigger: L(() => [u(We, {
2113
+ modelValue: ge.value[e.value],
2114
+ "onUpdate:modelValue": (t) => ge.value[e.value] = t,
2115
+ "default-open": he(e),
2116
+ "summary-attrs": { "aria-current": Ce(e.children) && V.value ? "page" : void 0 },
2101
2117
  "enable-trigger-slot": "",
2102
2118
  "enable-trigger-full-width": ""
2103
2119
  }, {
2104
- trigger: R(() => [s("div", {
2120
+ trigger: L(() => [s("div", {
2105
2121
  class: "pv-flex",
2106
- onClick: (t) => e.children.length === 1 && Ee(t, e.children[0]),
2107
- onAuxclick: (t) => e.children.length === 1 && Ee(t, e.children[0])
2108
- }, [e.icon ? (D(), i(U, {
2122
+ onClick: (t) => e.children.length === 1 && we(t, e.children[0]),
2123
+ onAuxclick: (t) => e.children.length === 1 && we(t, e.children[0])
2124
+ }, [e.icon ? (E(), i(He, {
2109
2125
  key: 0,
2110
2126
  name: e.icon,
2111
2127
  class: "pv-nav-icon"
2112
- }, null, 8, ["name"])) : a("v-if", !0), s("span", Ir, P(e.label), 1)], 40, Fr)]),
2113
- default: R(() => [s("div", Lr, [(D(!0), o(t, null, j(e.children, (e) => (D(), o("a", _({
2128
+ }, null, 8, ["name"])) : a("v-if", !0), s("span", Ir, N(e.label), 1)], 40, Fr)]),
2129
+ default: L(() => [s("div", Lr, [(E(!0), o(t, null, A(e.children, (e) => (E(), o("a", _({
2114
2130
  key: e.value,
2115
2131
  href: e.url
2116
2132
  }, { ref_for: !0 }, e.linkAttrs, {
2117
2133
  "aria-current": e.active ? "page" : void 0,
2118
2134
  title: e.label
2119
- }), [s("span", zr, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, P(e.label), 3), e.badge ? (D(), o("span", Br, P(e.badge.toUpperCase()), 1)) : a("v-if", !0)])], 16, Rr))), 128))])]),
2135
+ }), [s("span", zr, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, N(e.label), 3), e.badge ? (E(), o("span", Br, N(e.badge.toUpperCase()), 1)) : a("v-if", !0)])], 16, Rr))), 128))])]),
2120
2136
  _: 2
2121
2137
  }, 1032, [
2122
2138
  "modelValue",
@@ -2124,22 +2140,22 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => !!t.root.value && !!e.root.va
2124
2140
  "default-open",
2125
2141
  "summary-attrs"
2126
2142
  ])]),
2127
- content: R(() => [s("div", Vr, [s("ul", Hr, [(D(!0), o(t, null, j(e.children, (e) => (D(), o("li", {
2143
+ content: L(() => [s("div", Vr, [s("ul", Hr, [(E(!0), o(t, null, A(e.children, (e) => (E(), o("li", {
2128
2144
  key: e.value,
2129
2145
  "data-active": e.active || void 0
2130
- }, [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, P(e.label), 3), e.badge ? (D(), o("span", Gr, P(e.badge.toUpperCase()), 1)) : a("v-if", !0)], 16, Wr)], 8, Ur))), 128))])])]),
2146
+ }, [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, N(e.label), 3), e.badge ? (E(), o("span", Gr, N(e.badge.toUpperCase()), 1)) : a("v-if", !0)], 16, Wr)], 8, Ur))), 128))])])]),
2131
2147
  _: 2
2132
2148
  }, 1032, [
2133
2149
  "use-teleport",
2134
2150
  "teleport-location",
2135
2151
  "disabled"
2136
2152
  ])], 2112))]))), 128))])) : a("v-if", !0),
2137
- s("div", Kr, [I(g) ? (D(), i(Qn, {
2153
+ s("div", Kr, [F(g) ? (E(), i(Qn, {
2138
2154
  key: 0,
2139
- modelValue: be.value,
2140
- "onUpdate:modelValue": r[1] ||= (e) => be.value = e,
2141
- position: B.value ? "right-bottom" : "top-left",
2142
- "show-on-hover": B.value,
2155
+ modelValue: ye.value,
2156
+ "onUpdate:modelValue": r[1] ||= (e) => ye.value = e,
2157
+ position: V.value ? "right-bottom" : "top-left",
2158
+ "show-on-hover": V.value,
2143
2159
  "enable-group-sync": "",
2144
2160
  "enable-click-toggle": "",
2145
2161
  "use-teleport": !!T.value,
@@ -2147,17 +2163,17 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => !!t.root.value && !!e.root.va
2147
2163
  offset: 4,
2148
2164
  "css-custom-properties": { width: "100%" }
2149
2165
  }, {
2150
- trigger: R(() => [s("button", {
2166
+ trigger: L(() => [s("button", {
2151
2167
  type: "button",
2152
2168
  class: "pv-nav-list-item",
2153
2169
  "aria-label": "Help",
2154
- "aria-expanded": be.value,
2170
+ "aria-expanded": ye.value,
2155
2171
  title: "Help"
2156
- }, [u(U, {
2172
+ }, [u(He, {
2157
2173
  name: "help-circle",
2158
2174
  class: "pv-icon-20 pv-nav-icon"
2159
2175
  }), r[3] ||= s("span", { "data-sidebar-expanded-content": "" }, "Help", -1)], 8, qr)]),
2160
- content: R(() => [s("div", Jr, [M(n.$slots, "sidebar-help-content")])]),
2176
+ content: L(() => [s("div", Jr, [j(n.$slots, "sidebar-help-content")])]),
2161
2177
  _: 3
2162
2178
  }, 8, [
2163
2179
  "modelValue",
@@ -2165,42 +2181,38 @@ var qn = /* @__PURE__ */ new Set(), Jn = (e, t) => !!t.root.value && !!e.root.va
2165
2181
  "show-on-hover",
2166
2182
  "use-teleport",
2167
2183
  "teleport-location"
2168
- ])) : a("v-if", !0), I(b) && e.profile ? (D(), i(Qn, {
2184
+ ])) : a("v-if", !0), F(b) && e.profile ? (E(), i(Qn, {
2169
2185
  key: 1,
2170
- modelValue: V.value,
2171
- "onUpdate:modelValue": r[2] ||= (e) => V.value = e,
2172
- position: B.value ? "right-bottom" : "top-left",
2173
- "show-on-hover": B.value,
2174
- "enable-group-sync": "",
2175
- "enable-click-toggle": "",
2186
+ modelValue: U.value,
2187
+ "onUpdate:modelValue": r[2] ||= (e) => U.value = e,
2188
+ position: V.value ? "right-bottom" : "top-left",
2176
2189
  "use-teleport": !!T.value,
2177
2190
  "teleport-location": T.value ?? "body",
2178
2191
  offset: 4,
2179
2192
  "css-custom-properties": { width: "100%" }
2180
2193
  }, {
2181
- trigger: R(() => [s("button", {
2194
+ trigger: L(() => [s("button", {
2182
2195
  type: "button",
2183
2196
  class: "pv-nav-list-item",
2184
2197
  "data-testid": "pv-sidebar-profile-trigger",
2185
2198
  "aria-label": e.profile.name,
2186
- "aria-expanded": V.value,
2199
+ "aria-expanded": U.value,
2187
2200
  title: e.profile.name
2188
- }, [s("span", Xr, [e.profile.avatarUrl ? (D(), o("img", {
2201
+ }, [s("span", Xr, [e.profile.avatarUrl ? (E(), o("img", {
2189
2202
  key: 0,
2190
2203
  src: e.profile.avatarUrl,
2191
2204
  alt: ""
2192
- }, null, 8, Zr)) : (D(), o("span", Qr, P(e.profile.name.slice(0, 1)), 1))]), s("span", $r, P(e.profile.name), 1)], 8, Yr)]),
2193
- content: R(() => [s("div", ei, [M(n.$slots, "sidebar-profile-content")])]),
2205
+ }, null, 8, Zr)) : (E(), o("span", Qr, N(e.profile.name.slice(0, 1)), 1))]), s("span", $r, N(e.profile.name), 1)], 8, Yr)]),
2206
+ content: L(() => [s("div", ei, [j(n.$slots, "sidebar-profile-content")])]),
2194
2207
  _: 3
2195
2208
  }, 8, [
2196
2209
  "modelValue",
2197
2210
  "position",
2198
- "show-on-hover",
2199
2211
  "use-teleport",
2200
2212
  "teleport-location"
2201
2213
  ])) : a("v-if", !0)])
2202
2214
  ])], 512),
2203
- s("div", ti, [M(n.$slots, "default")]),
2215
+ s("div", ti, [j(n.$slots, "default")]),
2204
2216
  s("div", {
2205
2217
  ref_key: "popoverTeleportTarget",
2206
2218
  ref: T,
@@ -2541,15 +2553,15 @@ var Q = {
2541
2553
  getCommon({ name: e = "", theme: t = {}, params: n, set: r, defaults: i }) {
2542
2554
  let { preset: a, options: o } = t, s, c, l, u, d, f, p;
2543
2555
  if (Y(a) && o.transform !== "strict") {
2544
- let { primitive: t, semantic: n, extend: m } = a, h = n || {}, { colorScheme: g } = h, _ = Li(h, ["colorScheme"]), v = m || {}, { colorScheme: y } = v, b = Li(v, ["colorScheme"]), x = g || {}, { dark: S } = x, C = Li(x, ["dark"]), w = y || {}, { dark: T } = w, E = Li(w, ["dark"]), D = Y(t) ? this._toVariables({ primitive: t }, o) : {}, O = Y(_) ? this._toVariables({ semantic: _ }, o) : {}, k = Y(C) ? this._toVariables({ light: C }, o) : {}, A = Y(S) ? this._toVariables({ dark: S }, o) : {}, j = Y(b) ? this._toVariables({ semantic: b }, o) : {}, M = Y(E) ? this._toVariables({ light: E }, o) : {}, ee = Y(T) ? this._toVariables({ dark: T }, o) : {}, [N, P] = [D.declarations ?? "", D.tokens], [F, I] = [O.declarations ?? "", O.tokens || []], [te, ne] = [k.declarations ?? "", k.tokens || []], [re, L] = [A.declarations ?? "", A.tokens || []], [ie, R] = [j.declarations ?? "", j.tokens || []], [ae, oe] = [M.declarations ?? "", M.tokens || []], [se, ce] = [ee.declarations ?? "", ee.tokens || []];
2545
- s = this.transformCSS(e, N, "light", "variable", o, r, i), c = P, l = `${this.transformCSS(e, `${F}${te}`, "light", "variable", o, r, i)}${this.transformCSS(e, `${re}`, "dark", "variable", o, r, i)}`, u = [...new Set([
2546
- ...I,
2547
- ...ne,
2548
- ...L
2549
- ])], d = `${this.transformCSS(e, `${ie}${ae}color-scheme:light`, "light", "variable", o, r, i)}${this.transformCSS(e, `${se}color-scheme:dark`, "dark", "variable", o, r, i)}`, f = [...new Set([
2550
- ...R,
2551
- ...oe,
2552
- ...ce
2556
+ let { primitive: t, semantic: n, extend: m } = a, h = n || {}, { colorScheme: g } = h, _ = Li(h, ["colorScheme"]), v = m || {}, { colorScheme: y } = v, b = Li(v, ["colorScheme"]), x = g || {}, { dark: S } = x, C = Li(x, ["dark"]), w = y || {}, { dark: T } = w, ee = Li(w, ["dark"]), E = Y(t) ? this._toVariables({ primitive: t }, o) : {}, D = Y(_) ? this._toVariables({ semantic: _ }, o) : {}, O = Y(C) ? this._toVariables({ light: C }, o) : {}, k = Y(S) ? this._toVariables({ dark: S }, o) : {}, A = Y(b) ? this._toVariables({ semantic: b }, o) : {}, j = Y(ee) ? this._toVariables({ light: ee }, o) : {}, te = Y(T) ? this._toVariables({ dark: T }, o) : {}, [M, N] = [E.declarations ?? "", E.tokens], [P, F] = [D.declarations ?? "", D.tokens || []], [ne, re] = [O.declarations ?? "", O.tokens || []], [ie, I] = [k.declarations ?? "", k.tokens || []], [ae, L] = [A.declarations ?? "", A.tokens || []], [oe, se] = [j.declarations ?? "", j.tokens || []], [ce, le] = [te.declarations ?? "", te.tokens || []];
2557
+ s = this.transformCSS(e, M, "light", "variable", o, r, i), c = N, l = `${this.transformCSS(e, `${P}${ne}`, "light", "variable", o, r, i)}${this.transformCSS(e, `${ie}`, "dark", "variable", o, r, i)}`, u = [...new Set([
2558
+ ...F,
2559
+ ...re,
2560
+ ...I
2561
+ ])], d = `${this.transformCSS(e, `${ae}${oe}color-scheme:light`, "light", "variable", o, r, i)}${this.transformCSS(e, `${ce}color-scheme:dark`, "dark", "variable", o, r, i)}`, f = [...new Set([
2562
+ ...L,
2563
+ ...se,
2564
+ ...le
2553
2565
  ])], p = hi(a.css, { dt: Qi });
2554
2566
  }
2555
2567
  return {
@@ -2575,11 +2587,11 @@ var Q = {
2575
2587
  "colorScheme",
2576
2588
  "extend",
2577
2589
  "css"
2578
- ]), h = f || {}, { colorScheme: g } = h, _ = Li(h, ["colorScheme"]), v = d || {}, { dark: y } = v, b = Li(v, ["dark"]), x = g || {}, { dark: S } = x, C = Li(x, ["dark"]), w = Y(m) ? this._toVariables({ [r]: Z(Z({}, m), _) }, n) : {}, T = Y(b) ? this._toVariables({ [r]: Z(Z({}, b), C) }, n) : {}, E = Y(y) ? this._toVariables({ [r]: Z(Z({}, y), S) }, n) : {}, [D, O] = [w.declarations ?? "", w.tokens || []], [k, A] = [T.declarations ?? "", T.tokens || []], [j, M] = [E.declarations ?? "", E.tokens || []];
2579
- s = `${this.transformCSS(r, `${D}${k}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, j, "dark", "variable", n, i, a, o)}`, c = [...new Set([
2580
- ...O,
2581
- ...A,
2582
- ...M
2590
+ ]), h = f || {}, { colorScheme: g } = h, _ = Li(h, ["colorScheme"]), v = d || {}, { dark: y } = v, b = Li(v, ["dark"]), x = g || {}, { dark: S } = x, C = Li(x, ["dark"]), w = Y(m) ? this._toVariables({ [r]: Z(Z({}, m), _) }, n) : {}, T = Y(b) ? this._toVariables({ [r]: Z(Z({}, b), C) }, n) : {}, ee = Y(y) ? this._toVariables({ [r]: Z(Z({}, y), S) }, n) : {}, [E, D] = [w.declarations ?? "", w.tokens || []], [O, k] = [T.declarations ?? "", T.tokens || []], [A, j] = [ee.declarations ?? "", ee.tokens || []];
2591
+ s = `${this.transformCSS(r, `${E}${O}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, A, "dark", "variable", n, i, a, o)}`, c = [...new Set([
2592
+ ...D,
2593
+ ...k,
2594
+ ...j
2583
2595
  ])], l = hi(p, { dt: Qi });
2584
2596
  }
2585
2597
  return {
@@ -2938,32 +2950,32 @@ function la(e) {
2938
2950
  }
2939
2951
  var ua = 0;
2940
2952
  function da(e) {
2941
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = A(!1), r = A(e), i = A(null), a = Di() ? window.document : void 0, o = t.document, s = o === void 0 ? a : o, c = t.immediate, l = c === void 0 ? !0 : c, u = t.manual, d = u === void 0 ? !1 : u, f = t.name, p = f === void 0 ? `style_${++ua}` : f, m = t.id, h = m === void 0 ? void 0 : m, g = t.media, _ = g === void 0 ? void 0 : g, v = t.nonce, y = v === void 0 ? void 0 : v, b = t.first, x = b === void 0 ? !1 : b, S = t.onMounted, C = S === void 0 ? void 0 : S, w = t.onUpdated, T = w === void 0 ? void 0 : w, E = t.onLoad, D = E === void 0 ? void 0 : E, O = t.props, j = O === void 0 ? {} : O, M = function() {}, ee = function(t) {
2953
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = k(!1), r = k(e), i = k(null), a = Di() ? window.document : void 0, o = t.document, s = o === void 0 ? a : o, c = t.immediate, l = c === void 0 ? !0 : c, u = t.manual, d = u === void 0 ? !1 : u, f = t.name, p = f === void 0 ? `style_${++ua}` : f, m = t.id, h = m === void 0 ? void 0 : m, g = t.media, _ = g === void 0 ? void 0 : g, v = t.nonce, y = v === void 0 ? void 0 : v, b = t.first, x = b === void 0 ? !1 : b, S = t.onMounted, C = S === void 0 ? void 0 : S, w = t.onUpdated, T = w === void 0 ? void 0 : w, ee = t.onLoad, E = ee === void 0 ? void 0 : ee, D = t.props, A = D === void 0 ? {} : D, j = function() {}, te = function(t) {
2942
2954
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2943
2955
  if (s) {
2944
- var o = aa(aa({}, j), a), c = o.name || p, l = o.id || h, u = o.nonce || y;
2956
+ var o = aa(aa({}, A), a), c = o.name || p, l = o.id || h, u = o.nonce || y;
2945
2957
  i.value = s.querySelector(`style[data-primevue-style-id="${c}"]`) || s.getElementById(l) || s.createElement("style"), i.value.isConnected || (r.value = t || e, Ei(i.value, {
2946
2958
  type: "text/css",
2947
2959
  id: l,
2948
2960
  media: _,
2949
2961
  nonce: u
2950
2962
  }), x ? s.head.prepend(i.value) : s.head.appendChild(i.value), Oi(i.value, "data-primevue-style-id", c), Ei(i.value, o), i.value.onload = function(e) {
2951
- return D?.(e, { name: c });
2952
- }, C?.(c)), !n.value && (M = L(r, function(e) {
2963
+ return E?.(e, { name: c });
2964
+ }, C?.(c)), !n.value && (j = I(r, function(e) {
2953
2965
  i.value.textContent = e, T?.(c);
2954
2966
  }, { immediate: !0 }), n.value = !0);
2955
2967
  }
2956
2968
  };
2957
- return l && !d && la(ee), {
2969
+ return l && !d && la(te), {
2958
2970
  id: h,
2959
2971
  name: p,
2960
2972
  el: i,
2961
2973
  css: r,
2962
2974
  unload: function() {
2963
- !s || !n.value || (M(), wi(i.value) && s.head.removeChild(i.value), n.value = !1, i.value = null);
2975
+ !s || !n.value || (j(), wi(i.value) && s.head.removeChild(i.value), n.value = !1, i.value = null);
2964
2976
  },
2965
- load: ee,
2966
- isLoaded: k(n)
2977
+ load: te,
2978
+ isLoaded: O(n)
2967
2979
  };
2968
2980
  }
2969
2981
  //#endregion
@@ -3441,7 +3453,7 @@ var La = {
3441
3453
  csp: { nonce: void 0 }
3442
3454
  }, Ra = Symbol();
3443
3455
  function za(e, t) {
3444
- var n = { config: O(t) };
3456
+ var n = { config: D(t) };
3445
3457
  return e.config.globalProperties.$primevue = n, e.provide(Ra, n), Va(), Ha(e, n), n;
3446
3458
  }
3447
3459
  var Ba = [];
@@ -3451,7 +3463,7 @@ function Va() {
3451
3463
  }), Ba = [];
3452
3464
  }
3453
3465
  function Ha(e, t) {
3454
- var n = A(!1), r = function() {
3466
+ var n = k(!1), r = function() {
3455
3467
  if (t.config?.theme !== "none" && !$.isStyleNameLoaded("common")) {
3456
3468
  var e, n = ka.getCommonTheme?.call(ka) || {}, r = n.primitive, i = n.semantic, a = n.global, o = n.style, s = { nonce: (e = t.config) == null || (e = e.csp) == null ? void 0 : e.nonce };
3457
3469
  ka.load(r?.css, Na({ name: "primitive-variables" }, s)), ka.load(i?.css, Na({ name: "semantic-variables" }, s)), ka.load(a?.css, Na({ name: "global-variables" }, s)), ka.loadStyle(Na({ name: "global-style" }, s), o), $.setLoadedStyleName("common");
@@ -3460,7 +3472,7 @@ function Ha(e, t) {
3460
3472
  Ri.on("theme:change", function(t) {
3461
3473
  n.value ||= (e.config.globalProperties.$primevue.config.theme = t, !0);
3462
3474
  });
3463
- var i = L(t.config, function(e, t) {
3475
+ var i = I(t.config, function(e, t) {
3464
3476
  Aa.emit("config:change", {
3465
3477
  newValue: e,
3466
3478
  oldValue: t
@@ -3468,7 +3480,7 @@ function Ha(e, t) {
3468
3480
  }, {
3469
3481
  immediate: !0,
3470
3482
  deep: !0
3471
- }), a = L(function() {
3483
+ }), a = I(function() {
3472
3484
  return t.config.ripple;
3473
3485
  }, function(e, t) {
3474
3486
  Aa.emit("config:ripple:change", {
@@ -3478,7 +3490,7 @@ function Ha(e, t) {
3478
3490
  }, {
3479
3491
  immediate: !0,
3480
3492
  deep: !0
3481
- }), o = L(function() {
3493
+ }), o = I(function() {
3482
3494
  return t.config.theme;
3483
3495
  }, function(e, i) {
3484
3496
  n.value || $.setTheme(e), t.config.unstyled || r(), n.value = !1, Aa.emit("config:theme:change", {
@@ -3488,7 +3500,7 @@ function Ha(e, t) {
3488
3500
  }, {
3489
3501
  immediate: !0,
3490
3502
  deep: !1
3491
- }), s = L(function() {
3503
+ }), s = I(function() {
3492
3504
  return t.config.unstyled;
3493
3505
  }, function(e, n) {
3494
3506
  !e && t.config.theme && r(), Aa.emit("config:unstyled:change", {