@turquoisehealth/pit-viper 2.210.0 → 2.210.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 (35) hide show
  1. package/package.json +1 -1
  2. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  3. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  4. package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  17. package/pv-components/dist/vue/base/pv-components-base.mjs +19 -18
  18. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  19. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +19 -18
  20. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  21. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +434 -433
  22. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +131 -130
  23. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +214 -213
  24. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +115 -114
  25. package/pv-components/dist/web/components/pv-menu/pv-menu.js +662 -661
  26. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +607 -606
  27. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +18 -17
  28. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +18 -17
  29. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +627 -626
  30. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +34 -33
  31. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +81 -80
  32. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +465 -464
  33. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +224 -223
  34. package/pv-components/dist/web/pv-components.iife.js +1 -1
  35. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -1,5 +1,5 @@
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, inject as g, mergeModels as _, mergeProps as v, nextTick as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as C, onBeforeUpdate as w, onMounted as T, onScopeDispose as E, onUnmounted as ee, onUpdated as D, openBlock as O, reactive as k, readonly as te, ref as A, renderList as j, renderSlot as M, resolveDynamicComponent as N, shallowRef as P, toDisplayString as F, toValue as I, unref as L, useAttrs as ne, useId as re, useModel as R, useSlots as z, useTemplateRef as B, vModelCheckbox as V, vModelText as H, vShow as ie, watch as U, watchEffect as ae, withCtx as W, withDirectives as oe, withKeys as se, withModifiers as ce } 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, inject as g, mergeModels as _, mergeProps as v, nextTick as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as C, onBeforeUpdate as w, onMounted as T, onScopeDispose as E, onUnmounted as ee, onUpdated as D, openBlock as O, reactive as k, readonly as A, ref as j, renderList as M, renderSlot as N, resolveDynamicComponent as P, shallowRef as F, toDisplayString as I, toValue as L, unref as R, useAttrs as te, useId as ne, useModel as z, useSlots as B, useTemplateRef as V, vModelCheckbox as re, vModelText as H, vShow as ie, watch as U, watchEffect as ae, withCtx as W, withDirectives as oe, withKeys as se, withModifiers as ce } from "vue";
3
3
  //#region \0rolldown/runtime.js
4
4
  var G = Object.defineProperty, le = Object.getOwnPropertyDescriptor, K = Object.getOwnPropertyNames, ue = Object.prototype.hasOwnProperty, de = (e, t) => {
5
5
  let n = {};
@@ -52,7 +52,7 @@ var G = Object.defineProperty, le = Object.getOwnPropertyDescriptor, K = Object.
52
52
  //#endregion
53
53
  //#region src/web-components/utils.ts
54
54
  function _e() {
55
- let e = A(!1), t = p()?.root || {};
55
+ let e = j(!1), t = p()?.root || {};
56
56
  return "isCE" in t && t.isCE === !0 && (e.value = !0), e;
57
57
  }
58
58
  //#endregion
@@ -72,7 +72,7 @@ var ve = [
72
72
  size: { type: null }
73
73
  },
74
74
  setup(e) {
75
- let t = e, n = _e(), i = A(null), a = r(() => ({
75
+ let t = e, n = _e(), i = j(null), a = r(() => ({
76
76
  "pv-icon": !0,
77
77
  [`pv-icon-${t.size}`]: t.size != null && ve.includes(t.size)
78
78
  })), c = r(() => n.value && i.value ? `${i.value}#${t.name}` : `#${t.name}`);
@@ -117,7 +117,7 @@ var ve = [
117
117
  return (e, t) => (O(), o("div", {
118
118
  class: b(i.value),
119
119
  "data-testid": "pv-counter-badge"
120
- }, F(n.value), 3));
120
+ }, I(n.value), 3));
121
121
  }
122
122
  }), Se = ".pv-badge-md[data-v-6a07eeec]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-6a07eeec]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-6a07eeec]{background-color:#e0e5e4}.pv-text-secondary[data-v-6a07eeec]{color:#4b595c}", Ce = (e, t) => {
123
123
  let n = e.__vccOpts || e;
@@ -183,7 +183,7 @@ var ve = [
183
183
  name: e.leftIcon,
184
184
  "data-testid": "pv-button-left-icon"
185
185
  }, null, 8, ["name"])) : a("v-if", !0),
186
- e.label ? (O(), o("span", Ee, F(e.label), 1)) : a("v-if", !0),
186
+ e.label ? (O(), o("span", Ee, I(e.label), 1)) : a("v-if", !0),
187
187
  e.rightCounterBadge ? (O(), i(we, {
188
188
  key: 3,
189
189
  value: e.rightCounterBadge,
@@ -230,7 +230,7 @@ var ve = [
230
230
  }),
231
231
  emits: ["update:modelValue"],
232
232
  setup(e) {
233
- let t = e, n = B("dialog"), r = R(e, "modelValue");
233
+ let t = e, n = V("dialog"), r = z(e, "modelValue");
234
234
  U(() => r.value, () => {
235
235
  r.value ? n.value?.showModal() : n.value?.close();
236
236
  });
@@ -245,7 +245,7 @@ var ve = [
245
245
  style: { "--max-width": "480px" },
246
246
  onClose: i,
247
247
  onClick: c
248
- }, [s("div", De, [e.hideHeader ? a("v-if", !0) : (O(), o("div", Oe, [s("span", ke, F(e.header), 1), e.subheader ? (O(), o("span", Ae, F(e.subheader), 1)) : a("v-if", !0)])), M(t.$slots, "body")]), e.hideFooter ? a("v-if", !0) : (O(), o("div", je, [M(t.$slots, "footer")]))], 544));
248
+ }, [s("div", De, [e.hideHeader ? a("v-if", !0) : (O(), o("div", Oe, [s("span", ke, I(e.header), 1), e.subheader ? (O(), o("span", Ae, I(e.subheader), 1)) : a("v-if", !0)])), N(t.$slots, "body")]), e.hideFooter ? a("v-if", !0) : (O(), o("div", je, [N(t.$slots, "footer")]))], 544));
249
249
  }
250
250
  }), Ne = Math.min, Pe = Math.max, Fe = Math.round, Y = (e) => ({
251
251
  x: e,
@@ -1030,7 +1030,7 @@ function Nn(e, t = {}) {
1030
1030
  clearTimeout(e), i(), i = On;
1031
1031
  }, o;
1032
1032
  return (s) => {
1033
- let c = I(e), l = I(t.maxWait);
1033
+ let c = L(e), l = L(t.maxWait);
1034
1034
  return n && a(n), c <= 0 || l !== void 0 && l <= 0 ? (r &&= (a(r), void 0), Promise.resolve(s())) : new Promise((e, u) => {
1035
1035
  i = t.rejectOnCancel ? u : e, o = s, l && !r && (r = setTimeout(() => {
1036
1036
  n && a(n), r = void 0, e(o());
@@ -1075,20 +1075,20 @@ function Bn(e, t, n) {
1075
1075
  var Vn = wn ? window : void 0;
1076
1076
  wn && window.document, wn && window.navigator, wn && window.location;
1077
1077
  function Hn(e) {
1078
- let t = I(e);
1078
+ let t = L(e);
1079
1079
  return t?.$el ?? t;
1080
1080
  }
1081
1081
  function Un(...e) {
1082
1082
  let t = [], n = () => {
1083
1083
  t.forEach((e) => e()), t.length = 0;
1084
1084
  }, i = (e, t, n, r) => (e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r)), a = r(() => {
1085
- let t = Pn(I(e[0])).filter((e) => e != null);
1085
+ let t = Pn(L(e[0])).filter((e) => e != null);
1086
1086
  return t.every((e) => typeof e != "string") ? t : void 0;
1087
1087
  }), o = Bn(() => [
1088
1088
  a.value?.map((e) => Hn(e)) ?? [Vn].filter((e) => e != null),
1089
- Pn(I(a.value ? e[1] : e[0])),
1090
- Pn(L(a.value ? e[2] : e[1])),
1091
- I(a.value ? e[3] : e[2])
1089
+ Pn(L(a.value ? e[1] : e[0])),
1090
+ Pn(R(a.value ? e[2] : e[1])),
1091
+ L(a.value ? e[3] : e[2])
1092
1092
  ], ([e, r, a, o]) => {
1093
1093
  if (n(), !e?.length || !r?.length || !a?.length) return;
1094
1094
  let s = Dn(o) ? { ...o } : o;
@@ -1111,7 +1111,7 @@ function Gn(e, t, n = {}) {
1111
1111
  let e = { passive: !0 };
1112
1112
  Array.from(r.document.body.children).forEach((t) => t.addEventListener("click", On, e)), r.document.documentElement.addEventListener("click", On, e);
1113
1113
  }
1114
- let c = !0, l = (e) => I(i).some((t) => {
1114
+ let c = !0, l = (e) => L(i).some((t) => {
1115
1115
  if (typeof t == "string") return Array.from(r.document.querySelectorAll(t)).some((t) => t === e.target || e.composedPath().includes(t));
1116
1116
  {
1117
1117
  let n = Hn(t);
@@ -1119,11 +1119,11 @@ function Gn(e, t, n = {}) {
1119
1119
  }
1120
1120
  });
1121
1121
  function u(e) {
1122
- let t = I(e);
1122
+ let t = L(e);
1123
1123
  return t && t.$.subTree.shapeFlag === 16;
1124
1124
  }
1125
1125
  function d(e, t) {
1126
- let n = I(e), r = n.$.subTree && n.$.subTree.children;
1126
+ let n = L(e), r = n.$.subTree && n.$.subTree.children;
1127
1127
  return r == null || !Array.isArray(r) ? !1 : r.some((e) => e.el === t.target || t.composedPath().includes(e.el));
1128
1128
  }
1129
1129
  let f = (n) => {
@@ -1167,7 +1167,7 @@ function Gn(e, t, n = {}) {
1167
1167
  }
1168
1168
  /* @__NO_SIDE_EFFECTS__ */
1169
1169
  function Kn() {
1170
- let e = P(!1), t = p();
1170
+ let e = F(!1), t = p();
1171
1171
  return t && T(() => {
1172
1172
  e.value = !0;
1173
1173
  }, t), e;
@@ -1181,7 +1181,7 @@ function Jn(e, t, n = {}) {
1181
1181
  let { window: i = Vn, ...a } = n, o, s = /* @__PURE__ */ qn(() => i && "MutationObserver" in i), c = () => {
1182
1182
  o &&= (o.disconnect(), void 0);
1183
1183
  }, l = U(r(() => {
1184
- let t = Pn(I(e)).map(Hn).filter(Tn);
1184
+ let t = Pn(L(e)).map(Hn).filter(Tn);
1185
1185
  return new Set(t);
1186
1186
  }), (e) => {
1187
1187
  c(), s.value && e.size && (o = new MutationObserver(t), e.forEach((e) => o.observe(e, a)));
@@ -1227,14 +1227,14 @@ function Zn(...e) {
1227
1227
  e.length === 3 ? (t = e[0], n = e[1], r = e[2]) : e.length === 2 ? typeof e[1] == "object" ? (t = !0, n = e[0], r = e[1]) : (t = e[0], n = e[1]) : (t = !0, n = e[0]);
1228
1228
  let { target: i = Vn, eventName: a = "keydown", passive: o = !1, dedupe: s = !1 } = r, c = Xn(t);
1229
1229
  return Un(i, a, (e) => {
1230
- e.repeat && I(s) || c(e) && n(e);
1230
+ e.repeat && L(s) || c(e) && n(e);
1231
1231
  }, o);
1232
1232
  }
1233
1233
  function Qn(e, t, n = {}) {
1234
1234
  let { window: i = Vn, ...a } = n, o, s = /* @__PURE__ */ qn(() => i && "ResizeObserver" in i), c = () => {
1235
1235
  o &&= (o.disconnect(), void 0);
1236
1236
  }, l = U(r(() => {
1237
- let t = I(e);
1237
+ let t = L(e);
1238
1238
  return Array.isArray(t) ? t.map((e) => Hn(e)) : [Hn(t)];
1239
1239
  }), (e) => {
1240
1240
  if (c(), s.value && i) {
@@ -1253,7 +1253,7 @@ function Qn(e, t, n = {}) {
1253
1253
  };
1254
1254
  }
1255
1255
  function $n(e, t = {}) {
1256
- let { reset: n = !0, windowResize: r = !0, windowScroll: i = !0, immediate: a = !0, updateTiming: o = "sync" } = t, s = P(0), c = P(0), l = P(0), u = P(0), d = P(0), f = P(0), p = P(0), m = P(0);
1256
+ let { reset: n = !0, windowResize: r = !0, windowScroll: i = !0, immediate: a = !0, updateTiming: o = "sync" } = t, s = F(0), c = F(0), l = F(0), u = F(0), d = F(0), f = F(0), p = F(0), m = F(0);
1257
1257
  function h() {
1258
1258
  let t = Hn(e);
1259
1259
  if (!t) {
@@ -1284,7 +1284,7 @@ function $n(e, t = {}) {
1284
1284
  };
1285
1285
  }
1286
1286
  function er(e, t = {}) {
1287
- let { delayEnter: n = 0, delayLeave: i = 0, triggerOnRemoval: a = !1, window: o = Vn } = t, s = P(!1), c, l = (e) => {
1287
+ let { delayEnter: n = 0, delayLeave: i = 0, triggerOnRemoval: a = !1, window: o = Vn } = t, s = F(!1), c, l = (e) => {
1288
1288
  let t = e ? n : i;
1289
1289
  c &&= (clearTimeout(c), void 0), t ? c = setTimeout(() => s.value = e, t) : s.value = e;
1290
1290
  };
@@ -1306,18 +1306,18 @@ function rr(e, t) {
1306
1306
  return n ? t === "default" || t === "" ? n.querySelector("slot:not([name])") : n.querySelector(`slot[name="${CSS.escape(t)}"]`) : null;
1307
1307
  }
1308
1308
  function ir(e, t = {}) {
1309
- let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = _e(), l = i ?? z(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = A(d());
1309
+ let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = _e(), l = i ?? B(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = j(d());
1310
1310
  w(() => {
1311
1311
  f.value = d();
1312
1312
  });
1313
- let p = A(!1), m = null, h = null, g = () => {
1313
+ let p = j(!1), m = null, h = null, g = () => {
1314
1314
  m &&= (m.disconnect(), null), h &&= (h.removeEventListener("slotchange", _), null);
1315
1315
  }, _ = () => {
1316
1316
  if (!c.value) {
1317
1317
  p.value = !1;
1318
1318
  return;
1319
1319
  }
1320
- let t = L(n);
1320
+ let t = R(n);
1321
1321
  if (!t) {
1322
1322
  p.value = !1;
1323
1323
  return;
@@ -1331,7 +1331,7 @@ function ir(e, t = {}) {
1331
1331
  }, v = () => {
1332
1332
  if (!c.value) return;
1333
1333
  g();
1334
- let t = L(n);
1334
+ let t = R(n);
1335
1335
  if (!t) {
1336
1336
  p.value = !1;
1337
1337
  return;
@@ -1344,7 +1344,7 @@ function ir(e, t = {}) {
1344
1344
  characterData: !0
1345
1345
  }));
1346
1346
  };
1347
- return T(v), C(g), U(() => L(n), () => {
1347
+ return T(v), C(g), U(() => R(n), () => {
1348
1348
  c.value && v();
1349
1349
  }), {
1350
1350
  present: r(() => c.value ? p.value : f.value),
@@ -1355,7 +1355,7 @@ function ir(e, t = {}) {
1355
1355
  }
1356
1356
  //#endregion
1357
1357
  //#region src/components/base/PvPopoverV2/PvPopoverV2.vue?vue&type=script&setup=true&lang.ts
1358
- var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1358
+ var ar = ["popover"], or = "--pv-popover-v2-anchor", sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1359
1359
  __name: "PvPopoverV2",
1360
1360
  props: /* @__PURE__ */ _({
1361
1361
  disableAutoPlacement: {
@@ -1410,12 +1410,13 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1410
1410
  }),
1411
1411
  emits: ["update:modelValue"],
1412
1412
  setup(e) {
1413
- let t = e, c = R(e, "modelValue"), l = p(), u = typeof HTMLElement < "u" && l && "ce" in l && l.ce instanceof HTMLElement ? l.ce : void 0, { hasVueSlot: d, hasNativeSlot: f } = ir("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" && [
1413
+ let t = e, c = z(e, "modelValue"), l = p(), u = typeof HTMLElement < "u" && l && "ce" in l && l.ce instanceof HTMLElement ? l.ce : void 0, { hasVueSlot: d, hasNativeSlot: f } = ir("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" && [
1414
1414
  "anchor-name: --pv-anchor",
1415
1415
  "position-area: bottom",
1416
1416
  "position-try-fallbacks: flip-block",
1417
- "position-visibility: anchors-visible"
1418
- ].every((e) => CSS.supports(e)), g = A(!1), _ = A(null), v = A(null), b = A(null), x = A(null), C = A(""), w = er(v), E = er(x), D = A(!1), k = {
1417
+ "position-visibility: anchors-visible",
1418
+ `anchor-scope: ${or}`
1419
+ ].every((e) => CSS.supports(e)), g = j(!1), _ = j(null), v = j(null), b = j(null), x = j(null), C = er(v), w = er(x), E = j(!1), D = {
1419
1420
  "top-center": "top",
1420
1421
  "bottom-center": "bottom",
1421
1422
  "center-left": "left",
@@ -1424,7 +1425,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1424
1425
  "top-right": "top-end",
1425
1426
  "bottom-left": "bottom-start",
1426
1427
  "bottom-right": "bottom-end"
1427
- }, te = {
1428
+ }, k = {
1428
1429
  "top-center": {
1429
1430
  area: "top",
1430
1431
  margin: "margin-block-end"
@@ -1457,26 +1458,26 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1457
1458
  area: "bottom span-left",
1458
1459
  margin: "margin-block-start"
1459
1460
  }
1460
- }, j = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), N = r(() => h ? { "anchor-name": C.value } : void 0), P = r(() => {
1461
- let e = te[t.position];
1461
+ }, A = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), M = r(() => h ? { "anchor-scope": or } : void 0), P = r(() => h ? { "anchor-name": or } : void 0), F = r(() => {
1462
+ let e = k[t.position];
1462
1463
  return {
1463
- "position-anchor": C.value,
1464
+ "position-anchor": or,
1464
1465
  "position-area": e.area,
1465
1466
  "position-try-fallbacks": t.disableAutoPlacement ? void 0 : "flip-block, flip-inline, flip-block flip-inline",
1466
1467
  [e.margin]: `${t.offset ?? 0}px`
1467
1468
  };
1468
- }), F = () => {}, I = () => ({});
1469
+ }), I = () => {}, L = () => ({});
1469
1470
  if (!h) {
1470
1471
  let e = [];
1471
1472
  t.disableAutoPlacement || e.push(dn({ fallbackStrategy: "initialPlacement" })), t.offset && e.push(un(t.offset));
1472
1473
  let n = Sn(b, x, {
1473
- placement: k[t.position],
1474
+ placement: D[t.position],
1474
1475
  strategy: t.positioningStrategy,
1475
1476
  middleware: e
1476
1477
  });
1477
- F = n.update, I = () => n.floatingStyles.value;
1478
+ I = n.update, L = () => n.floatingStyles.value;
1478
1479
  let i = $n(b), a = /* @__PURE__ */ In(() => {
1479
- c.value && F();
1480
+ c.value && I();
1480
1481
  }, 5);
1481
1482
  U([
1482
1483
  i.top,
@@ -1491,31 +1492,31 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1491
1492
  ...t.ignoreClickOutsideClasses?.map((e) => `.${e}`) ?? []
1492
1493
  ]) });
1493
1494
  }
1494
- let ne = r(() => ({
1495
- ...I(),
1495
+ let te = r(() => ({
1496
+ ...L(),
1496
1497
  zIndex: t.zIndex
1497
- })), re, z, B = () => {
1498
- re && clearTimeout(re), re = void 0;
1499
- }, V = () => {
1500
- z && clearTimeout(z), z = void 0;
1498
+ })), ne, B, V = () => {
1499
+ ne && clearTimeout(ne), ne = void 0;
1500
+ }, re = () => {
1501
+ B && clearTimeout(B), B = void 0;
1501
1502
  }, H = (e) => {
1502
- B(), V(), !(e && !m.value) && (e && t.delay > 0 && (t.showOnHover || !h) ? re = setTimeout(() => {
1503
- c.value = !0, re = void 0;
1503
+ V(), re(), !(e && !m.value) && (e && t.delay > 0 && (t.showOnHover || !h) ? ne = setTimeout(() => {
1504
+ c.value = !0, ne = void 0;
1504
1505
  }, t.delay) : c.value = e);
1505
1506
  }, ae = () => {
1506
1507
  let e = x.value;
1507
1508
  !e || !g.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
1508
- }, W = r(() => t.showOnHover ? t.disableInteractive ? w.value || D.value : w.value || E.value || D.value : !1), se = () => {
1509
- t.showOnHover || H(re ? !1 : !c.value);
1509
+ }, W = r(() => t.showOnHover ? t.disableInteractive ? C.value || E.value : C.value || w.value || E.value : !1), se = () => {
1510
+ t.showOnHover || H(ne ? !1 : !c.value);
1510
1511
  }, ce = (e) => {
1511
1512
  let t = e.newState === "open";
1512
1513
  c.value !== t && (c.value = t);
1513
1514
  }, G = (e) => {
1514
- h && j.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), H(!1));
1515
+ h && A.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), H(!1));
1515
1516
  };
1516
1517
  return U(c, async (e) => {
1517
1518
  if (!h) {
1518
- e && F();
1519
+ e && I();
1519
1520
  return;
1520
1521
  }
1521
1522
  await y(), ae();
@@ -1525,37 +1526,37 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1525
1526
  H(!0);
1526
1527
  return;
1527
1528
  }
1528
- B(), t.closeDelay > 0 ? (V(), z = setTimeout(() => {
1529
- z = void 0, W.value || H(!1);
1529
+ V(), t.closeDelay > 0 ? (re(), B = setTimeout(() => {
1530
+ B = void 0, W.value || H(!1);
1530
1531
  }, t.closeDelay)) : H(!1);
1531
1532
  }
1532
1533
  }), U(m, (e) => {
1533
- e ? h && c.value && y(ae) : (B(), V(), c.value = !1);
1534
+ e ? h && c.value && y(ae) : (V(), re(), c.value = !1);
1534
1535
  }), T(() => {
1535
- b.value = v.value, h && (C.value = `--pv-popover-v2-${++or}`), g.value = !0, c.value && y(() => h ? ae() : F());
1536
+ b.value = v.value, g.value = !0, c.value && y(() => h ? ae() : I());
1536
1537
  }), ee(() => {
1537
- B(), V();
1538
+ V(), re();
1538
1539
  }), (r, l) => (O(), o("div", {
1539
1540
  ref_key: "root",
1540
1541
  ref: _,
1541
- style: { width: "fit-content" },
1542
+ style: S([{ width: "fit-content" }, M.value]),
1542
1543
  onKeydown: G
1543
1544
  }, [s("div", {
1544
1545
  ref_key: "triggerWrapper",
1545
1546
  ref: v,
1546
- style: S(N.value),
1547
+ style: S(P.value),
1547
1548
  onClick: se,
1548
- onFocusin: l[0] ||= (e) => D.value = !0,
1549
- onFocusout: l[1] ||= (e) => D.value = !1
1550
- }, [M(r.$slots, "trigger")], 36), g.value && L(h) && m.value ? (O(), o("div", {
1549
+ onFocusin: l[0] ||= (e) => E.value = !0,
1550
+ onFocusout: l[1] ||= (e) => E.value = !1
1551
+ }, [N(r.$slots, "trigger")], 36), g.value && R(h) && m.value ? (O(), o("div", {
1551
1552
  key: 0,
1552
1553
  ref_key: "floating",
1553
1554
  ref: x,
1554
1555
  class: "pv-floating pv-floating-native",
1555
- popover: j.value,
1556
- style: S(P.value),
1556
+ popover: A.value,
1557
+ style: S(F.value),
1557
1558
  onToggle: ce
1558
- }, [M(r.$slots, "content")], 44, ar)) : m.value ? (O(), i(n, {
1559
+ }, [N(r.$slots, "content")], 44, ar)) : m.value ? (O(), i(n, {
1559
1560
  key: 1,
1560
1561
  to: e.teleportLocation,
1561
1562
  disabled: !t.useTeleport
@@ -1563,10 +1564,10 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1563
1564
  ref_key: "floating",
1564
1565
  ref: x,
1565
1566
  class: "pv-floating",
1566
- style: S(ne.value)
1567
- }, [M(r.$slots, "content")], 4), [[ie, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 544));
1567
+ style: S(te.value)
1568
+ }, [N(r.$slots, "content")], 4), [[ie, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1568
1569
  }
1569
- }), [["styles", [".pv-floating-native[data-v-97886581]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-97886581]>.pv-popover,.pv-floating-native>slot[name=content][data-v-97886581]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-97886581"]]), cr = ["data-variant"], lr = /* @__PURE__ */ d({
1570
+ }), [["styles", [".pv-floating-native[data-v-08e2d92a]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-08e2d92a]>.pv-popover,.pv-floating-native>slot[name=content][data-v-08e2d92a]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-08e2d92a"]]), cr = ["data-variant"], lr = /* @__PURE__ */ d({
1570
1571
  __name: "PvTooltipV2",
1571
1572
  props: {
1572
1573
  variant: {
@@ -1608,7 +1609,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1608
1609
  setup(e) {
1609
1610
  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 } = ir("content", { host: a }), d = r(() => a ? u.value : o.value), f = r(() => !!t.description || d.value);
1610
1611
  return (t, n) => (O(), i(sr, x(h(t.$props)), c({
1611
- trigger: W(() => [M(t.$slots, "trigger", {}, () => [s("p", null, F(e.label), 1)])]),
1612
+ trigger: W(() => [N(t.$slots, "trigger", {}, () => [s("p", null, I(e.label), 1)])]),
1612
1613
  _: 2
1613
1614
  }, [f.value ? {
1614
1615
  name: "content",
@@ -1616,7 +1617,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1616
1617
  class: b(["pv-tooltip-v2-content", { "pv-tooltip-v2-content-small": e.size === "sm" }]),
1617
1618
  role: "tooltip",
1618
1619
  "data-variant": e.variant
1619
- }, [M(t.$slots, "content", {}, () => [l(F(e.description), 1)])], 10, cr)]),
1620
+ }, [N(t.$slots, "content", {}, () => [l(I(e.description), 1)])], 10, cr)]),
1620
1621
  key: "0"
1621
1622
  } : void 0]), 1040));
1622
1623
  }
@@ -1637,10 +1638,10 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1637
1638
  }),
1638
1639
  emits: ["update:modelValue"],
1639
1640
  setup(e) {
1640
- let n = R(e, "modelValue"), r = (e) => {
1641
+ let n = z(e, "modelValue"), r = (e) => {
1641
1642
  e.disabled || (n.value = e.value);
1642
1643
  };
1643
- return (a, s) => (O(), o("div", { class: b(["pv-segmented-control", { "pv-segmented-control-large": e.size === "xl" }]) }, [(O(!0), o(t, null, j(e.options, (e) => (O(), i(lr, {
1644
+ return (a, s) => (O(), o("div", { class: b(["pv-segmented-control", { "pv-segmented-control-large": e.size === "xl" }]) }, [(O(!0), o(t, null, M(e.options, (e) => (O(), i(lr, {
1644
1645
  key: e.value,
1645
1646
  variant: "dark",
1646
1647
  position: "bottom-right",
@@ -1669,7 +1670,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1669
1670
  _: 2
1670
1671
  }, [e.disabledReason ? {
1671
1672
  name: "content",
1672
- fn: W(() => [l(F(e.disabledReason), 1)]),
1673
+ fn: W(() => [l(I(e.disabledReason), 1)]),
1673
1674
  key: "0"
1674
1675
  } : void 0]), 1024))), 128))], 2));
1675
1676
  }
@@ -1716,7 +1717,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1716
1717
  name: e.icon,
1717
1718
  size: 12,
1718
1719
  class: b(e.iconClasses)
1719
- }, null, 8, ["name", "class"])) : a("v-if", !0), s("span", fr, F(e.label), 1)], 10, dr));
1720
+ }, null, 8, ["name", "class"])) : a("v-if", !0), s("span", fr, I(e.label), 1)], 10, dr));
1720
1721
  }
1721
1722
  }), mr = [
1722
1723
  "aria-label",
@@ -1734,7 +1735,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1734
1735
  }),
1735
1736
  emits: ["update:modelValue"],
1736
1737
  setup(e) {
1737
- let t = R(e, "modelValue");
1738
+ let t = z(e, "modelValue");
1738
1739
  return (n, r) => oe((O(), o("input", {
1739
1740
  "onUpdate:modelValue": r[0] ||= (e) => t.value = e,
1740
1741
  class: "pv-checkbox",
@@ -1743,7 +1744,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1743
1744
  "aria-label": e.ariaLabel,
1744
1745
  disabled: e.disabled,
1745
1746
  indeterminate: e.indeterminate
1746
- }, null, 8, mr)), [[V, t.value]]);
1747
+ }, null, 8, mr)), [[re, t.value]]);
1747
1748
  }
1748
1749
  }), gr = { class: "pv-relative" }, _r = ["disabled", "placeholder"], vr = {
1749
1750
  key: 0,
@@ -1770,7 +1771,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1770
1771
  }),
1771
1772
  emits: ["update:modelValue"],
1772
1773
  setup(e, { expose: t }) {
1773
- let n = e, i = B("search-input"), c = R(e, "modelValue"), l = r(() => ({
1774
+ let n = e, i = V("search-input"), c = z(e, "modelValue"), l = r(() => ({
1774
1775
  "pv-input-search": !0,
1775
1776
  "pv-full-width": !0,
1776
1777
  "pv-input-padded-end": !0
@@ -1788,7 +1789,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1788
1789
  disabled: e.disabled,
1789
1790
  class: b(l.value),
1790
1791
  placeholder: e.placeholder
1791
- }, null, 10, _r), [[H, c.value]]), e.displayShortcut ? (O(), o("kbd", vr, F(yr))) : a("v-if", !0)]));
1792
+ }, null, 10, _r), [[H, c.value]]), e.displayShortcut ? (O(), o("kbd", vr, I(yr))) : a("v-if", !0)]));
1792
1793
  }
1793
1794
  }), xr = {
1794
1795
  key: 0,
@@ -1928,7 +1929,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1928
1929
  }),
1929
1930
  emits: ["update:modelValue", "update:rangeValue"],
1930
1931
  setup(e) {
1931
- let t = e, n = R(e, "modelValue"), c = R(e, "rangeValue"), l = ne(), u = re(), d = `${u}-max`, f = `${u}-min`, p = A(""), m = A(""), h = A(null), g = A(null), _ = A(!1), y = A(null), x = null, w = null, T = (e) => typeof e == "number" && Number.isFinite(e), E = (e) => T(e) ? e : null, ee = (e) => {
1932
+ let t = e, n = z(e, "modelValue"), c = z(e, "rangeValue"), l = te(), u = ne(), d = `${u}-max`, f = `${u}-min`, p = j(""), m = j(""), h = j(null), g = j(null), _ = j(!1), y = j(null), x = null, w = null, T = (e) => typeof e == "number" && Number.isFinite(e), E = (e) => T(e) ? e : null, ee = (e) => {
1932
1933
  let t = e.trim();
1933
1934
  if (t === "") return null;
1934
1935
  let n = Number(t.replace(/[^0-9.\-]/g, ""));
@@ -1937,13 +1938,13 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1937
1938
  if (t.valueDecimals !== null && t.valueDecimals !== void 0) return Math.max(0, t.valueDecimals);
1938
1939
  let e = D(t.dataType);
1939
1940
  return e === null ? 2 : e;
1940
- }, te = (e) => String(e), j = (e) => {
1941
+ }, A = (e) => String(e), M = (e) => {
1941
1942
  let n = k(), r = new Intl.NumberFormat("en-US", {
1942
1943
  maximumFractionDigits: n,
1943
1944
  minimumFractionDigits: 0
1944
1945
  }).format(e);
1945
1946
  return t.dataType === "currency" ? `$${r}` : t.dataType === "percent" ? `${r}%` : r;
1946
- }, M = r(() => E(t.step)), N = r(() => M.value !== null && M.value > 0 ? M.value : 0), P = r(() => N.value > 0 ? String(N.value) : "any"), I = r(() => M.value === null ? "1" : M.value > 0 ? String(M.value) : "any"), z = r(() => t.color === "multiple" ? "var(--color-data-viz-3, #ff7a4e)" : "var(--color-border, #e3e7ea)"), B = r(() => {
1947
+ }, N = r(() => E(t.step)), P = r(() => N.value !== null && N.value > 0 ? N.value : 0), F = r(() => P.value > 0 ? String(P.value) : "any"), L = r(() => N.value === null ? "1" : N.value > 0 ? String(N.value) : "any"), B = r(() => t.color === "multiple" ? "var(--color-data-viz-3, #ff7a4e)" : "var(--color-border, #e3e7ea)"), V = r(() => {
1947
1948
  let e = E(t.min) ?? Mr, n = E(t.max) ?? Nr;
1948
1949
  return e > n ? {
1949
1950
  max: e,
@@ -1955,11 +1956,11 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1955
1956
  max: n,
1956
1957
  min: e
1957
1958
  };
1958
- }), V = r(() => E(n.value) ?? B.value.min), ie = r(() => {
1959
- let { max: e, min: t } = B.value, n = e - t, r = n === 0 ? 0 : (V.value - t) / n * 100;
1959
+ }), re = r(() => E(n.value) ?? V.value.min), ie = r(() => {
1960
+ let { max: e, min: t } = V.value, n = e - t, r = n === 0 ? 0 : (re.value - t) / n * 100;
1960
1961
  return Math.max(0, Math.min(100, r));
1961
1962
  }), ae = r(() => ({
1962
- "--range-track-color": z.value,
1963
+ "--range-track-color": B.value,
1963
1964
  "--value": `${ie.value}%`
1964
1965
  })), W = r(() => ({ left: `${ie.value}%` })), ce = (e) => {
1965
1966
  if (!Number.isFinite(e)) return 0;
@@ -1971,13 +1972,13 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1971
1972
  return t.split(".")[1]?.length ?? 0;
1972
1973
  }, G = r(() => {
1973
1974
  let e = E(t.min), n = E(t.max), r = E(c.value?.min), i = E(c.value?.max), a = e ?? Math.min(Mr, r ?? Mr, i ?? Mr), o = n ?? Math.max(Nr, r ?? Nr, i ?? Nr);
1974
- return a > o && ([a, o] = [o, a]), a === o && (o = a + (N.value > 0 ? N.value : 1)), {
1975
+ return a > o && ([a, o] = [o, a]), a === o && (o = a + (P.value > 0 ? P.value : 1)), {
1975
1976
  max: o,
1976
1977
  min: a
1977
1978
  };
1978
1979
  }), le = (e) => Math.max(G.value.min, Math.min(G.value.max, e)), K = r(() => {
1979
1980
  let e = Math.max(ce(G.value.min), ce(G.value.max));
1980
- return N.value <= 0 ? Math.max(6, e) : Math.max(e, ce(N.value));
1981
+ return P.value <= 0 ? Math.max(6, e) : Math.max(e, ce(P.value));
1981
1982
  }), ue = (e) => {
1982
1983
  let t = Math.min(20, K.value);
1983
1984
  return le(Number(e.toFixed(t)));
@@ -1985,13 +1986,13 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
1985
1986
  if (t.allowMinMaxEqual) return 0;
1986
1987
  let e = G.value.max - G.value.min;
1987
1988
  if (e <= 0) return 0;
1988
- let n = Math.max(e / 1e6, 10 ** -K.value), r = N.value > 0 ? N.value : n;
1989
+ let n = Math.max(e / 1e6, 10 ** -K.value), r = P.value > 0 ? P.value : n;
1989
1990
  return Math.min(r, e);
1990
1991
  }), fe = (e, t = "nearest") => {
1991
1992
  let n = le(e);
1992
- if (N.value <= 0) return ue(n);
1993
- let { min: r } = G.value, i = (n - r) / N.value;
1994
- return ue(le((t === "down" ? Math.floor(i) : t === "up" ? Math.ceil(i) : Math.round(i)) * N.value + r));
1993
+ if (P.value <= 0) return ue(n);
1994
+ let { min: r } = G.value, i = (n - r) / P.value;
1995
+ return ue(le((t === "down" ? Math.floor(i) : t === "up" ? Math.ceil(i) : Math.round(i)) * P.value + r));
1995
1996
  }, pe = (e, t) => {
1996
1997
  let n = Math.max(G.value.min, t - de.value);
1997
1998
  return fe(Math.min(e, n), "down");
@@ -2008,7 +2009,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
2008
2009
  let { max: t, min: n } = G.value;
2009
2010
  return t === n ? 0 : (e - n) / (t - n) * 100;
2010
2011
  }, ge = r(() => he(q.value.min)), _e = r(() => he(q.value.max)), ve = r(() => ({
2011
- "--range-track-color": z.value,
2012
+ "--range-track-color": B.value,
2012
2013
  "--value-max": `${_e.value}%`,
2013
2014
  "--value-min": `${ge.value}%`
2014
2015
  })), ye = r(() => ({ left: `${ge.value}%` })), be = r(() => ({ left: `${_e.value}%` })), xe = r(() => E(c.value?.min) !== null || E(c.value?.max) !== null), Se = () => E(t.min) !== null || G.value.min === Mr, Ce = () => E(t.max) !== null || G.value.max === Nr, we = (e, t) => {
@@ -2040,7 +2041,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
2040
2041
  }, Pe = (e) => {
2041
2042
  Oe("max"), Ee(Number(e.target.value));
2042
2043
  }, Fe = () => {
2043
- g.value !== "min" && (m.value = te(q.value.min)), g.value !== "max" && (p.value = te(q.value.max));
2044
+ g.value !== "min" && (m.value = A(q.value.min)), g.value !== "max" && (p.value = A(q.value.max));
2044
2045
  }, Y = (e) => {
2045
2046
  let t = ee(e === "min" ? m.value : p.value), n = t === null ? e === "min" ? G.value.min : G.value.max : fe(t);
2046
2047
  e === "min" ? Te(n) : Ee(n);
@@ -2088,14 +2089,14 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
2088
2089
  key: 0,
2089
2090
  class: "pv-range-tooltip",
2090
2091
  style: S(W.value)
2091
- }, F(j(V.value)), 5)) : a("v-if", !0), oe(s("input", v({ id: L(u) }, L(l), {
2092
+ }, I(M(re.value)), 5)) : a("v-if", !0), oe(s("input", v({ id: R(u) }, R(l), {
2092
2093
  "onUpdate:modelValue": c[0] ||= (e) => n.value = e,
2093
2094
  "aria-label": e.ariaLabel,
2094
2095
  class: ["pv-range", `pv-range-${t.size}`],
2095
2096
  disabled: e.disabled,
2096
- max: B.value.max,
2097
- min: B.value.min,
2098
- step: I.value,
2097
+ max: V.value.max,
2098
+ min: V.value.min,
2099
+ step: L.value,
2099
2100
  style: ae.value,
2100
2101
  type: "range",
2101
2102
  onChange: je,
@@ -2106,7 +2107,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
2106
2107
  n.value,
2107
2108
  void 0,
2108
2109
  { number: !0 }
2109
- ]])])) : (O(), o("div", v({ key: 1 }, L(l), {
2110
+ ]])])) : (O(), o("div", v({ key: 1 }, R(l), {
2110
2111
  class: "pv-flex-vertical",
2111
2112
  "data-testid": "pv-range-dual",
2112
2113
  role: "group",
@@ -2116,7 +2117,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
2116
2117
  "--flex-gap": "0"
2117
2118
  }
2118
2119
  }), [
2119
- e.showBoundLabels ? (O(), o("div", wr, [s("span", null, F(j(G.value.min)), 1), s("span", null, F(j(G.value.max)), 1)])) : a("v-if", !0),
2120
+ e.showBoundLabels ? (O(), o("div", wr, [s("span", null, I(M(G.value.min)), 1), s("span", null, I(M(G.value.max)), 1)])) : a("v-if", !0),
2120
2121
  s("div", {
2121
2122
  ref_key: "sliderRef",
2122
2123
  ref: y,
@@ -2129,12 +2130,12 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
2129
2130
  key: 0,
2130
2131
  class: "pv-range-dual-tooltip",
2131
2132
  style: S(ye.value)
2132
- }, F(j(q.value.min)), 5)) : a("v-if", !0),
2133
+ }, I(M(q.value.min)), 5)) : a("v-if", !0),
2133
2134
  e.showValueTooltips && h.value === "max" ? (O(), o("span", {
2134
2135
  key: 1,
2135
2136
  class: "pv-range-dual-tooltip",
2136
2137
  style: S(be.value)
2137
- }, F(j(q.value.max)), 5)) : a("v-if", !0),
2138
+ }, I(M(q.value.max)), 5)) : a("v-if", !0),
2138
2139
  s("input", {
2139
2140
  class: "pv-range pv-range-dual-native pv-range-dual-native-min",
2140
2141
  type: "range",
@@ -2142,7 +2143,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
2142
2143
  disabled: e.disabled,
2143
2144
  max: G.value.max,
2144
2145
  min: G.value.min,
2145
- step: P.value,
2146
+ step: F.value,
2146
2147
  value: q.value.min,
2147
2148
  onChange: De,
2148
2149
  onInput: Ne,
@@ -2156,7 +2157,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
2156
2157
  disabled: e.disabled,
2157
2158
  max: G.value.max,
2158
2159
  min: G.value.min,
2159
- step: P.value,
2160
+ step: F.value,
2160
2161
  value: q.value.max,
2161
2162
  onChange: De,
2162
2163
  onInput: Pe,
@@ -2175,14 +2176,14 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
2175
2176
  "max-width": "75px",
2176
2177
  "min-width": "0"
2177
2178
  }
2178
- }, [s("span", Or, F(e.minLabel), 1), s("input", {
2179
+ }, [s("span", Or, I(e.minLabel), 1), s("input", {
2179
2180
  id: f,
2180
2181
  class: "pv-input-text",
2181
2182
  disabled: e.disabled,
2182
2183
  style: { width: "100%" },
2183
2184
  inputmode: "decimal",
2184
2185
  placeholder: "Min",
2185
- step: P.value,
2186
+ step: F.value,
2186
2187
  type: "text",
2187
2188
  value: m.value,
2188
2189
  onBlur: c[3] ||= (e) => ze("min"),
@@ -2200,14 +2201,14 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
2200
2201
  "max-width": "75px",
2201
2202
  "min-width": "0"
2202
2203
  }
2203
- }, [s("span", Ar, F(e.maxLabel), 1), s("input", {
2204
+ }, [s("span", Ar, I(e.maxLabel), 1), s("input", {
2204
2205
  id: d,
2205
2206
  class: "pv-input-text",
2206
2207
  disabled: e.disabled,
2207
2208
  style: { width: "100%" },
2208
2209
  inputmode: "decimal",
2209
2210
  placeholder: "Max",
2210
- step: P.value,
2211
+ step: F.value,
2211
2212
  type: "text",
2212
2213
  value: p.value,
2213
2214
  onBlur: c[6] ||= (e) => ze("max"),
@@ -2304,7 +2305,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
2304
2305
  },
2305
2306
  emits: ["focus-value", "toggle-value"],
2306
2307
  setup(e, { emit: t }) {
2307
- let n = e, c = t, u = z(), d = r(() => n.resultCount !== null && n.resultCount !== void 0 && n.resultCount !== ""), f = r(() => !n.renderer && (d.value || !!u["result-count"])), p = r(() => ({ "--pv-filter-panel-option-row-depth": String(n.depth) })), m = r(() => ({
2308
+ let n = e, c = t, u = B(), d = r(() => n.resultCount !== null && n.resultCount !== void 0 && n.resultCount !== ""), f = r(() => !n.renderer && (d.value || !!u["result-count"])), p = r(() => ({ "--pv-filter-panel-option-row-depth": String(n.depth) })), m = r(() => ({
2308
2309
  disabled: n.disabled,
2309
2310
  highlightSearchText: !0,
2310
2311
  id: n.value,
@@ -2352,12 +2353,12 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
2352
2353
  "indeterminate",
2353
2354
  "modelValue"
2354
2355
  ])),
2355
- e.renderer ? (O(), i(N(e.renderer), x(v({ key: 2 }, m.value)), null, 16)) : (O(), o("span", Ir, [
2356
- s("span", Lr, F(e.label), 1),
2357
- e.subduedText ? (O(), o("span", Rr, F(e.subduedText), 1)) : a("v-if", !0),
2358
- e.subText ? (O(), o("span", zr, F(e.subText), 1)) : a("v-if", !0)
2356
+ e.renderer ? (O(), i(P(e.renderer), x(v({ key: 2 }, m.value)), null, 16)) : (O(), o("span", Ir, [
2357
+ s("span", Lr, I(e.label), 1),
2358
+ e.subduedText ? (O(), o("span", Rr, I(e.subduedText), 1)) : a("v-if", !0),
2359
+ e.subText ? (O(), o("span", zr, I(e.subText), 1)) : a("v-if", !0)
2359
2360
  ])),
2360
- f.value ? (O(), o("span", Br, [M(t.$slots, "result-count", {}, () => [l("(" + F(e.resultCount) + ")", 1)], !0)])) : a("v-if", !0),
2361
+ f.value ? (O(), o("span", Br, [N(t.$slots, "result-count", {}, () => [l("(" + I(e.resultCount) + ")", 1)], !0)])) : a("v-if", !0),
2361
2362
  e.showFocusAction ? (O(), i(J, {
2362
2363
  key: 5,
2363
2364
  ariaLabel: e.isFocused ? `Remove ${e.focusText}` : `Select as ${e.focusText}`,
@@ -2813,7 +2814,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
2813
2814
  "search-change"
2814
2815
  ],
2815
2816
  setup(e, { emit: n }) {
2816
- let c = e, d = n, f = A({}), p = re(), m = A(c.filter.searchQuery ?? ""), h = A(sa), g = r(() => c.filter.existsLabel ?? `Has ${c.filter.label}`), _ = r(() => c.filter.valueLabels?.false ?? "No"), y = r(() => c.filter.options ?? []), b = r(() => [...c.filter.knownOptions ?? [], ...y.value]), C = r(() => c.filter.type ?? "value"), w = r(() => C.value === "value"), T = r(() => w.value && c.filter.isAggregate === !0), E = r(() => c.filter.aggregateSelectionState ?? []), ee = r(() => m.value.trim().toLowerCase()), D = r(() => c.filter.selectedValues ?? []), k = r(() => new Set(D.value)), te = r(() => c.filter.valueLabels?.true ?? "Yes"), M = r(() => c.filter.filterOptionsSortDescription || "Suggested"), P = (e) => {
2817
+ let c = e, d = n, f = j({}), p = ne(), m = j(c.filter.searchQuery ?? ""), h = j(sa), g = r(() => c.filter.existsLabel ?? `Has ${c.filter.label}`), _ = r(() => c.filter.valueLabels?.false ?? "No"), y = r(() => c.filter.options ?? []), b = r(() => [...c.filter.knownOptions ?? [], ...y.value]), C = r(() => c.filter.type ?? "value"), w = r(() => C.value === "value"), T = r(() => w.value && c.filter.isAggregate === !0), E = r(() => c.filter.aggregateSelectionState ?? []), ee = r(() => m.value.trim().toLowerCase()), D = r(() => c.filter.selectedValues ?? []), k = r(() => new Set(D.value)), A = r(() => c.filter.valueLabels?.true ?? "Yes"), N = r(() => c.filter.filterOptionsSortDescription || "Suggested"), F = (e) => {
2817
2818
  let t = typeof e.metadata == "object" && e.metadata !== null ? Object.values(e.metadata) : [];
2818
2819
  return [
2819
2820
  e.value,
@@ -2823,25 +2824,25 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
2823
2824
  e.matchedValue,
2824
2825
  e.matchedField
2825
2826
  ].concat(t.flatMap((e) => e == null ? [] : [String(e)])).filter((e) => !!e).join(" ").toLowerCase();
2826
- }, I = r(() => C.value === "range" ? c.filter.rangeValue?.min !== null && c.filter.rangeValue?.min !== void 0 || c.filter.rangeValue?.max !== null && c.filter.rangeValue?.max !== void 0 ? 1 : void 0 : C.value === "boolean" ? c.filter.booleanValue !== null && c.filter.booleanValue !== void 0 ? 1 : void 0 : C.value === "exists" ? c.filter.existsValue ? 1 : void 0 : T.value ? Vi(E.value) || void 0 : D.value.length || void 0), ne = (e) => e.totalChildCount === null || e.totalChildCount === void 0 ? !1 : e.totalChildCount > (e.children?.length ?? 0), R = (e, t = 0) => e.flatMap((e) => [
2827
+ }, L = r(() => C.value === "range" ? c.filter.rangeValue?.min !== null && c.filter.rangeValue?.min !== void 0 || c.filter.rangeValue?.max !== null && c.filter.rangeValue?.max !== void 0 ? 1 : void 0 : C.value === "boolean" ? c.filter.booleanValue !== null && c.filter.booleanValue !== void 0 ? 1 : void 0 : C.value === "exists" ? c.filter.existsValue ? 1 : void 0 : T.value ? Vi(E.value) || void 0 : D.value.length || void 0), te = (e) => e.totalChildCount === null || e.totalChildCount === void 0 ? !1 : e.totalChildCount > (e.children?.length ?? 0), z = (e, t = 0) => e.flatMap((e) => [
2827
2828
  {
2828
2829
  depth: t,
2829
2830
  kind: "option",
2830
2831
  option: e
2831
2832
  },
2832
- ...e.children?.length ? R(e.children, t + 1) : [],
2833
- ...ne(e) ? [{
2833
+ ...e.children?.length ? z(e.children, t + 1) : [],
2834
+ ...te(e) ? [{
2834
2835
  depth: t + 1,
2835
2836
  kind: "child-load-more",
2836
2837
  parent: e
2837
2838
  }] : []
2838
- ]), z = r(() => {
2839
- let e = R(y.value), t = ee.value;
2840
- return t ? e.filter((e) => e.kind === "option" && P(e.option).includes(t)) : e;
2841
- }), B = r(() => T.value || c.filter.singleSelect ? [] : D.value.map((e) => f.value[e] ?? {
2839
+ ]), B = r(() => {
2840
+ let e = z(y.value), t = ee.value;
2841
+ return t ? e.filter((e) => e.kind === "option" && F(e.option).includes(t)) : e;
2842
+ }), V = r(() => T.value || c.filter.singleSelect ? [] : D.value.map((e) => f.value[e] ?? {
2842
2843
  label: e,
2843
2844
  value: e
2844
- })), V = r(() => T.value || c.filter.singleSelect ? z.value : z.value.filter((e) => e.kind === "child-load-more" || !k.value.has(e.option.value))), H = r(() => V.value.length > h.value), ie = r(() => H.value || c.filter.hasMore), ae = r(() => V.value.slice(0, h.value)), oe = r(() => T.value ? Ri({
2845
+ })), re = r(() => T.value || c.filter.singleSelect ? B.value : B.value.filter((e) => e.kind === "child-load-more" || !k.value.has(e.option.value))), H = r(() => re.value.length > h.value), ie = r(() => H.value || c.filter.hasMore), ae = r(() => re.value.slice(0, h.value)), oe = r(() => T.value ? Ri({
2845
2846
  options: b.value,
2846
2847
  state: E.value
2847
2848
  }) : /* @__PURE__ */ new Map()), se = (e) => Zr(e, c.filter.colDef), ce = (e) => Qr(e), G = (e) => T.value ? oe.value.get(e.value) ?? {
@@ -2859,13 +2860,13 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
2859
2860
  context: e,
2860
2861
  disabled: c.filter.disabled || e.isSelectable === !1 || e.menuOption?.disabled,
2861
2862
  id: e.value,
2862
- searchText: P(e),
2863
+ searchText: F(e),
2863
2864
  secondaryText: ce(e),
2864
2865
  subText: e.subText,
2865
2866
  subduedText: e.subduedText,
2866
2867
  text: se(e),
2867
2868
  totalChildCount: e.totalChildCount
2868
- }), q = r(() => y.value.map(pe)), he = r(() => B.value.map(pe)), ge = r(() => ({
2869
+ }), q = r(() => y.value.map(pe)), he = r(() => V.value.map(pe)), ge = r(() => ({
2869
2870
  colDef: c.filter.colDef,
2870
2871
  disabled: c.filter.disabled,
2871
2872
  filter: c.filter,
@@ -2963,16 +2964,16 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
2963
2964
  class: "pv-text-subdued",
2964
2965
  name: e.filter.isOpen ? "chevron-down" : "chevron-right"
2965
2966
  }, null, 8, ["name"]),
2966
- s("span", null, F(e.filter.label), 1),
2967
- I.value ? (O(), i(we, {
2967
+ s("span", null, I(e.filter.label), 1),
2968
+ L.value ? (O(), i(we, {
2968
2969
  key: 0,
2969
- value: I.value,
2970
+ value: L.value,
2970
2971
  size: "sm",
2971
2972
  variant: "secondary"
2972
2973
  }, null, 8, ["value"])) : a("v-if", !0)
2973
2974
  ]), s("div", Wi, [w.value ? (O(), o(t, { key: 0 }, [
2974
2975
  e.filter.filterGroupOptions?.length || e.filter.displayPreferencesIcon || e.filter.filterHeaderRenderer ? (O(), o("div", Gi, [
2975
- e.filter.filterGroupOptions?.length ? (O(), o("div", Ki, [(O(!0), o(t, null, j(e.filter.filterGroupOptions, (t) => (O(), i(J, {
2976
+ e.filter.filterGroupOptions?.length ? (O(), o("div", Ki, [(O(!0), o(t, null, M(e.filter.filterGroupOptions, (t) => (O(), i(J, {
2976
2977
  key: t.field,
2977
2978
  disabled: e.filter.disabled,
2978
2979
  label: t.label,
@@ -2993,7 +2994,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
2993
2994
  variant: "ghost",
2994
2995
  onClick: Oe
2995
2996
  }, null, 8, ["disabled"])])) : a("v-if", !0),
2996
- e.filter.filterHeaderRenderer ? (O(), i(N(e.filter.filterHeaderRenderer), x(v({ key: 2 }, ge.value)), null, 16)) : a("v-if", !0)
2997
+ e.filter.filterHeaderRenderer ? (O(), i(P(e.filter.filterHeaderRenderer), x(v({ key: 2 }, ge.value)), null, 16)) : a("v-if", !0)
2997
2998
  ])) : a("v-if", !0),
2998
2999
  e.filter.hideSearch ? a("v-if", !0) : (O(), i(br, {
2999
3000
  key: 1,
@@ -3007,7 +3008,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
3007
3008
  "disabled",
3008
3009
  "placeholder"
3009
3010
  ])),
3010
- B.value.length ? (O(), o("div", Ji, [(O(!0), o(t, null, j(B.value, (t) => (O(), i(Vr, {
3011
+ V.value.length ? (O(), o("div", Ji, [(O(!0), o(t, null, M(V.value, (t) => (O(), i(Vr, {
3011
3012
  key: t.value,
3012
3013
  control: e.filter.singleSelect ? "radio" : "checkbox",
3013
3014
  disabled: e.filter.disabled || t.isSelectable === !1,
@@ -3015,7 +3016,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
3015
3016
  "is-focused": fe(t),
3016
3017
  indeterminate: K(t),
3017
3018
  label: se(t),
3018
- name: L(p),
3019
+ name: R(p),
3019
3020
  "query-text": m.value,
3020
3021
  renderer: e.filter.filterOptionsRenderer,
3021
3022
  "result-count": ce(t),
@@ -3045,9 +3046,9 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
3045
3046
  "onToggleValue"
3046
3047
  ]))), 128))])) : a("v-if", !0),
3047
3048
  e.filter.isLoading ? (O(), o("div", Yi, [u(me, { size: "sm" })])) : (O(), o(t, { key: 4 }, [
3048
- !y.value.length && !B.value.length && !ie.value ? (O(), o(t, { key: 0 }, [e.filter.emptyResultsRenderer ? (O(), i(N(e.filter.emptyResultsRenderer), v({ key: 0 }, ge.value, { "empty-reason": "no-values" }), null, 16)) : (O(), o("p", Xi, "No values available."))], 64)) : !z.value.length && !B.value.length && !ie.value ? (O(), o(t, { key: 1 }, [e.filter.emptyResultsRenderer ? (O(), i(N(e.filter.emptyResultsRenderer), v({ key: 0 }, ge.value, { "empty-reason": "no-matches" }), null, 16)) : (O(), o("p", Zi, "No matching values."))], 64)) : a("v-if", !0),
3049
- V.value.length || ie.value ? (O(), o("div", Qi, [
3050
- V.value.length && !e.filter.hideOptionsSortDescription ? (O(), o("div", $i, [e.filter.filterOptionsSortTooltip ? (O(), i(lr, {
3049
+ !y.value.length && !V.value.length && !ie.value ? (O(), o(t, { key: 0 }, [e.filter.emptyResultsRenderer ? (O(), i(P(e.filter.emptyResultsRenderer), v({ key: 0 }, ge.value, { "empty-reason": "no-values" }), null, 16)) : (O(), o("p", Xi, "No values available."))], 64)) : !B.value.length && !V.value.length && !ie.value ? (O(), o(t, { key: 1 }, [e.filter.emptyResultsRenderer ? (O(), i(P(e.filter.emptyResultsRenderer), v({ key: 0 }, ge.value, { "empty-reason": "no-matches" }), null, 16)) : (O(), o("p", Zi, "No matching values."))], 64)) : a("v-if", !0),
3050
+ re.value.length || ie.value ? (O(), o("div", Qi, [
3051
+ re.value.length && !e.filter.hideOptionsSortDescription ? (O(), o("div", $i, [e.filter.filterOptionsSortTooltip ? (O(), i(lr, {
3051
3052
  key: 0,
3052
3053
  variant: "dark",
3053
3054
  disableInteractive: !0,
@@ -3056,11 +3057,11 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
3056
3057
  "use-teleport": !0,
3057
3058
  style: { "--max-width": "200px" }
3058
3059
  }, {
3059
- trigger: W(() => [s("p", ea, F(M.value), 1)]),
3060
- content: W(() => [l(F(e.filter.filterOptionsSortTooltip), 1)]),
3060
+ trigger: W(() => [s("p", ea, I(N.value), 1)]),
3061
+ content: W(() => [l(I(e.filter.filterOptionsSortTooltip), 1)]),
3061
3062
  _: 1
3062
- })) : (O(), o("p", ta, F(M.value), 1))])) : a("v-if", !0),
3063
- (O(!0), o(t, null, j(ae.value, (n) => (O(), o(t, { key: n.kind === "option" ? n.option.value : `${n.parent.value}-children-more` }, [n.kind === "option" ? (O(), i(Vr, {
3063
+ })) : (O(), o("p", ta, I(N.value), 1))])) : a("v-if", !0),
3064
+ (O(!0), o(t, null, M(ae.value, (n) => (O(), o(t, { key: n.kind === "option" ? n.option.value : `${n.parent.value}-children-more` }, [n.kind === "option" ? (O(), i(Vr, {
3064
3065
  key: 0,
3065
3066
  control: e.filter.singleSelect ? "radio" : "checkbox",
3066
3067
  depth: n.depth,
@@ -3069,7 +3070,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
3069
3070
  "is-focused": fe(n.option),
3070
3071
  indeterminate: K(n.option),
3071
3072
  label: se(n.option),
3072
- name: L(p),
3073
+ name: R(p),
3073
3074
  "query-text": m.value,
3074
3075
  renderer: e.filter.filterOptionsRenderer,
3075
3076
  "result-count": ce(n.option),
@@ -3125,7 +3126,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
3125
3126
  onClick: _e
3126
3127
  }, null, 8, ["disabled"])) : a("v-if", !0)
3127
3128
  ])) : a("v-if", !0),
3128
- e.filter.filterFooterRenderer ? (O(), i(N(e.filter.filterFooterRenderer), x(v({ key: 3 }, ge.value)), null, 16)) : a("v-if", !0)
3129
+ e.filter.filterFooterRenderer ? (O(), i(P(e.filter.filterFooterRenderer), x(v({ key: 3 }, ge.value)), null, 16)) : a("v-if", !0)
3129
3130
  ], 64))
3130
3131
  ], 64)) : C.value === "range" && e.filter.rangeMin !== null && e.filter.rangeMax !== null ? (O(), i(Pr, {
3131
3132
  key: 1,
@@ -3150,7 +3151,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
3150
3151
  "value-decimals"
3151
3152
  ])) : C.value === "range" ? (O(), o("p", na, " Range filters require minimum and maximum bounds. ")) : C.value === "boolean" ? (O(), o("div", ra, [s("div", ia, [u(J, {
3152
3153
  disabled: e.filter.disabled || e.filter.isLoading,
3153
- label: te.value,
3154
+ label: A.value,
3154
3155
  variant: e.filter.booleanValue === !0 ? "primary" : "secondary",
3155
3156
  onClick: r[1] ||= (t) => xe(e.filter.booleanValue === !0 ? null : !0)
3156
3157
  }, null, 8, [
@@ -3177,7 +3178,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
3177
3178
  disabled: e.filter.disabled || e.filter.isLoading,
3178
3179
  modelValue: e.filter.existsValue ?? !1,
3179
3180
  "onUpdate:modelValue": Se
3180
- }, null, 8, ["disabled", "modelValue"]), s("span", oa, F(g.value), 1)])) : a("v-if", !0)])], 40, Hi));
3181
+ }, null, 8, ["disabled", "modelValue"]), s("span", oa, I(g.value), 1)])) : a("v-if", !0)])], 40, Hi));
3181
3182
  }
3182
3183
  }), [["styles", ["summary[data-v-9a452be9]{background-image:none;padding-right:2px}[data-v-9a452be9] .pv-input-search{background-color:#fff}.suggested-title-label[data-v-9a452be9]{text-underline-offset:2px;text-decoration:underline dotted}"]], ["__scopeId", "data-v-9a452be9"]]), ua = ["data-style"], da = /* @__PURE__ */ d({
3183
3184
  __name: "PvTag",
@@ -3238,7 +3239,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
3238
3239
  name: e.icon,
3239
3240
  size: 12
3240
3241
  }, null, 8, ["class", "name"])) : a("v-if", !0),
3241
- s("span", { class: b(["pv-truncate", { "pv-underline-dotted": e.spine }]) }, F(e.label), 3),
3242
+ s("span", { class: b(["pv-truncate", { "pv-underline-dotted": e.spine }]) }, I(e.label), 3),
3242
3243
  e.showClear ? (O(), i(be, {
3243
3244
  key: 1,
3244
3245
  "data-testid": "pv-tag-close-icon",
@@ -3294,7 +3295,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
3294
3295
  let r = n, a = (e, t) => {
3295
3296
  r("remove-filter", t.field ?? e, t.value, t.type);
3296
3297
  };
3297
- return (n, r) => (O(), o("section", fa, [e.appliedCount ? (O(), o("div", pa, [(O(!0), o(t, null, j(e.appliedGroups, (n) => (O(), o("div", {
3298
+ return (n, r) => (O(), o("section", fa, [e.appliedCount ? (O(), o("div", pa, [(O(!0), o(t, null, M(e.appliedGroups, (n) => (O(), o("div", {
3298
3299
  key: n.key,
3299
3300
  class: "pv-flex-vertical pv-border-bottom",
3300
3301
  style: {
@@ -3302,7 +3303,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
3302
3303
  "--flex-gap": "12px",
3303
3304
  "padding-bottom": "12px"
3304
3305
  }
3305
- }, [s("span", ma, F(n.label), 1), s("div", ha, [(O(!0), o(t, null, j(n.values, (t) => (O(), i(da, {
3306
+ }, [s("span", ma, I(n.label), 1), s("div", ha, [(O(!0), o(t, null, M(n.values, (t) => (O(), i(da, {
3306
3307
  key: `${t.field ?? n.key}-${t.type ?? "value"}-${t.value}`,
3307
3308
  label: t.label,
3308
3309
  showClear: !e.readOnly,
@@ -3354,7 +3355,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
3354
3355
  }
3355
3356
  },
3356
3357
  setup(e) {
3357
- let t = e, n = A(!1), c = A(!1), l = A(null), u = A(null), d = null, f = !1, p = r(() => Math.max(0, t.scrollFraction)), m = () => {
3358
+ let t = e, n = j(!1), c = j(!1), l = j(null), u = j(null), d = null, f = !1, p = r(() => Math.max(0, t.scrollFraction)), m = () => {
3358
3359
  let e = u.value;
3359
3360
  if (!e) return;
3360
3361
  let t = Math.max(0, e.scrollWidth - e.clientWidth);
@@ -3389,7 +3390,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
3389
3390
  ref_key: "contentContainer",
3390
3391
  ref: l,
3391
3392
  class: "pv-horizontal-scroller-content"
3392
- }, [M(t.$slots, "default")], 512)], 10, ya),
3393
+ }, [N(t.$slots, "default")], 512)], 10, ya),
3393
3394
  s("div", { class: b(["pv-horizontal-scroller-control pv-horizontal-scroller-control-left", {
3394
3395
  "pv-horizontal-scroller-control-hidden": !n.value,
3395
3396
  "pv-horizontal-scroller-control-left-fade": e.showFades
@@ -3447,7 +3448,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
3447
3448
  }),
3448
3449
  emits: ["update:modelValue"],
3449
3450
  setup(e) {
3450
- let n = e, c = R(e, "modelValue"), l = r(() => {
3451
+ let n = e, c = z(e, "modelValue"), l = r(() => {
3451
3452
  let e = /* @__PURE__ */ new Set(), t = [];
3452
3453
  for (let r of n.filters) r.category && (e.add(r.category), t.includes(r.category) || t.push(r.category));
3453
3454
  let r = (n.categoryOrder ?? []).filter((t) => e.has(t)), i = new Set(r), a = t.filter((e) => !i.has(e));
@@ -3471,7 +3472,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
3471
3472
  size: "md",
3472
3473
  variant: f(null),
3473
3474
  onClick: n[0] ||= (e) => d(null)
3474
- }, null, 8, ["variant"]), (O(!0), o(t, null, j(l.value, (e) => (O(), i(J, {
3475
+ }, null, 8, ["variant"]), (O(!0), o(t, null, M(l.value, (e) => (O(), i(J, {
3475
3476
  key: e,
3476
3477
  label: e,
3477
3478
  size: "md",
@@ -3815,7 +3816,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
3815
3816
  children: So(e.children, t, n).filter((e) => !!e)
3816
3817
  } : e));
3817
3818
  }, Co = (e, t) => `${e}::${t}`, wo = () => {
3818
- let e = A(null), t = A(null), n = A(), r = A({}), i = A({}), a = A({}), o = A({}), s = A({}), c = A({}), l = A({}), u = A({}), d = A({}), f = A({}), p = A({}), m = A({}), h = A({}), g = A({}), _ = A(), v = A({}), y = (e) => {
3819
+ let e = j(null), t = j(null), n = j(), r = j({}), i = j({}), a = j({}), o = j({}), s = j({}), c = j({}), l = j({}), u = j({}), d = j({}), f = j({}), p = j({}), m = j({}), h = j({}), g = j({}), _ = j(), v = j({}), y = (e) => {
3819
3820
  _.value = e;
3820
3821
  }, b = (e) => r.value[e] ?? [], x = (e, t) => {
3821
3822
  r.value[e] = t;
@@ -3910,7 +3911,7 @@ var ar = ["popover"], or = 0, sr = /* @__PURE__ */ Ce(/* @__PURE__ */ d({
3910
3911
  "exists"
3911
3912
  ]);
3912
3913
  function Ao(e, t, n) {
3913
- let i = p(), a = A(t.value), o = wo(), s = To(), c = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Set(), u = /* @__PURE__ */ new Map(), d = r(() => !!(e.filterStore ?? s)), f = r(() => !d.value && !!e.filterOptionsHandler), m = r(() => e.filterStore ?? s ?? o), h = r(() => m.value === o), g = r(() => d.value || f.value), _ = r(() => e.filterModelType ?? m.value?.filterModelType.value), v = r(() => _.value ?? "advanced"), y = r(() => {
3914
+ let i = p(), a = j(t.value), o = wo(), s = To(), c = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Set(), u = /* @__PURE__ */ new Map(), d = r(() => !!(e.filterStore ?? s)), f = r(() => !d.value && !!e.filterOptionsHandler), m = r(() => e.filterStore ?? s ?? o), h = r(() => m.value === o), g = r(() => d.value || f.value), _ = r(() => e.filterModelType ?? m.value?.filterModelType.value), v = r(() => _.value ?? "advanced"), y = r(() => {
3914
3915
  let n = m.value;
3915
3916
  return n ? e.staged ? n.stagedFilterModel.value : n.filterModel.value : e.staged ? a.value : t.value;
3916
3917
  }), b = r(() => oo(y.value, v.value)), x = (e, t) => {
@@ -4007,28 +4008,28 @@ function Ao(e, t, n) {
4007
4008
  let n = !!((e.filterStore || s) && y.value !== null);
4008
4009
  import.meta.env?.DEV && !_.value && y.value !== null && !ee(y.value) && (E() || n) && T("missing-filter-model-type", "PvFilterPanel: filterModelType was not provided by props or filterStore; defaulting to \"advanced\".");
4009
4010
  });
4010
- let O = (e) => e.context ?? {}, k = (e) => e.colId || e.field || "", te = (e) => typeof e == "number" && Number.isFinite(e) ? e : null, j = (e) => {
4011
+ let O = (e) => e.context ?? {}, k = (e) => e.colId || e.field || "", A = (e) => typeof e == "number" && Number.isFinite(e) ? e : null, M = (e) => {
4011
4012
  let t = O(e), n = t.filterPanelType;
4012
4013
  if (n && ko.has(n)) return n;
4013
4014
  if (t.filterPanelRange) return "range";
4014
4015
  if (t.dataType === "boolean") return "boolean";
4015
4016
  if (e.filter) return "value";
4016
- }, M = (e) => j(e) ?? "value", N = (e) => O(e).filterPanelCategory ?? null, P = (e) => {
4017
+ }, N = (e) => M(e) ?? "value", P = (e) => O(e).filterPanelCategory ?? null, F = (e) => {
4017
4018
  let t = O(e).filterPanelValueLabels;
4018
4019
  return typeof t != "object" || !t || Array.isArray(t) ? null : Object.fromEntries(Object.entries(t).flatMap(([e, t]) => typeof t == "string" ? [[e, t]] : []));
4019
- }, F = (t) => {
4020
+ }, I = (t) => {
4020
4021
  let n = O(t), r = k(t);
4021
- return !r || n.filterPanelHidden === !0 || n.devOnly && !e.devMode || e.autoHideRelatedFilterFields !== !1 && n.filterPanelHidden !== !1 && ie.value.has(r) ? !1 : !!j(t);
4022
- }, I = (e) => (m.value.filterOptionsMap.value[e] ?? []).filter((e) => !!e), L = (t) => {
4022
+ return !r || n.filterPanelHidden === !0 || n.devOnly && !e.devMode || e.autoHideRelatedFilterFields !== !1 && n.filterPanelHidden !== !1 && ie.value.has(r) ? !1 : !!M(t);
4023
+ }, L = (e) => (m.value.filterOptionsMap.value[e] ?? []).filter((e) => !!e), R = (t) => {
4023
4024
  let n = m.value;
4024
4025
  return ((e.staged ? n.stagedFilterSelectedMetadataMap : n.filterSelectedMetadataMap).value[t] ?? []).filter((e) => !!e);
4025
- }, ne = (e) => m.value.filterHasMoreMap.value[e] ?? !1, re = (e) => m.value.filterLoadingMap.value[e] ?? !1, R = (e) => m.value.filterLoadingMoreMap.value[e] ?? !1, z = (e) => m.value.filterSearchQueries.value[e] ?? "", B = (t) => e.filterSuggestions.flatMap((e) => e.field !== t || e.filter.type !== "value" ? [] : [e.option ?? {
4026
+ }, te = (e) => m.value.filterHasMoreMap.value[e] ?? !1, ne = (e) => m.value.filterLoadingMap.value[e] ?? !1, z = (e) => m.value.filterLoadingMoreMap.value[e] ?? !1, B = (e) => m.value.filterSearchQueries.value[e] ?? "", V = (t) => e.filterSuggestions.flatMap((e) => e.field !== t || e.filter.type !== "value" ? [] : [e.option ?? {
4026
4027
  label: e.label,
4027
4028
  value: e.filter.value
4028
- }]), V = (e) => [
4029
- ...B(e),
4030
- ...I(e),
4031
- ...L(e)
4029
+ }]), re = (e) => [
4030
+ ...V(e),
4031
+ ...L(e),
4032
+ ...R(e)
4032
4033
  ], H = (e) => {
4033
4034
  if (typeof e != "object" || !e || !("field" in e)) return [];
4034
4035
  let t = e, n = typeof t.field == "string" ? t.field : null, r = Array.isArray(t.children) ? t.children.flatMap(H) : [];
@@ -4090,9 +4091,9 @@ function Ao(e, t, n) {
4090
4091
  isActive: b.value.get(e)?.booleanValue === !0,
4091
4092
  label: K(e)?.headerName ?? e
4092
4093
  }));
4093
- }, q = (e) => ge.value.find((t) => t.key === e) ?? ge.value.find((t) => W(t.colDef).includes(e)), he = (e, t, n) => si(q(e)?.knownOptions ?? []).find((r) => r.value === n || ci(r, t, n, e)), ge = r(() => e.colDefs.filter(F).map((t) => {
4094
- let n = k(t), r = O(t), i = M(t), a = pe(I(n), t), o = pe(V(n), t), s = {
4095
- category: N(t),
4094
+ }, q = (e) => ge.value.find((t) => t.key === e) ?? ge.value.find((t) => W(t.colDef).includes(e)), he = (e, t, n) => si(q(e)?.knownOptions ?? []).find((r) => r.value === n || ci(r, t, n, e)), ge = r(() => e.colDefs.filter(I).map((t) => {
4095
+ let n = k(t), r = O(t), i = N(t), a = pe(L(n), t), o = pe(re(n), t), s = {
4096
+ category: P(t),
4096
4097
  colDef: t,
4097
4098
  controlled: r.filterPanelControlled === !0,
4098
4099
  dataType: r.dataType ?? null,
@@ -4112,24 +4113,24 @@ function Ao(e, t, n) {
4112
4113
  hideSearch: r.filterPanelHideSearch,
4113
4114
  focusedValues: e.focusedValues[n] ?? [],
4114
4115
  focusedValuesByField: le(t),
4115
- hasMore: ne(n),
4116
+ hasMore: te(n),
4116
4117
  isAggregate: oe(t),
4117
4118
  isFocusable: e.enableFocusView && (!e.focusableFields.length || W(t).some((t) => e.focusableFields.includes(t))),
4118
- isLoading: re(n),
4119
- isLoadingMore: R(n),
4119
+ isLoading: ne(n),
4120
+ isLoadingMore: z(n),
4120
4121
  isOpen: !1,
4121
4122
  key: n,
4122
4123
  knownOptions: o,
4123
4124
  label: t.headerName || n,
4124
- rangeMax: te(r.filterPanelRange?.max),
4125
- rangeMin: te(r.filterPanelRange?.min),
4126
- rangeStep: te(r.filterPanelRange?.step),
4125
+ rangeMax: A(r.filterPanelRange?.max),
4126
+ rangeMin: A(r.filterPanelRange?.min),
4127
+ rangeStep: A(r.filterPanelRange?.step),
4127
4128
  searchPlaceholder: de(t),
4128
- searchQuery: z(n) ?? "",
4129
+ searchQuery: B(n) ?? "",
4129
4130
  singleSelect: r.filterPanelSingleSelect === !0,
4130
4131
  type: i,
4131
4132
  valueDecimals: r.valueDecimals ?? null,
4132
- valueLabels: P(t)
4133
+ valueLabels: F(t)
4133
4134
  };
4134
4135
  if (i === "range") return {
4135
4136
  ...s,
@@ -4618,9 +4619,9 @@ var jo = ["aria-label"], Mo = { class: "pv-filter-panel-header pv-flex pv-border
4618
4619
  "suggestion-click"
4619
4620
  ], ["update:filterModel", "update:isCollapsed"]),
4620
4621
  setup(e, { emit: n }) {
4621
- let c = e, l = R(e, "filterModel"), d = R(e, "isCollapsed"), f = n, { resolvedFilters: p, appliedGroups: m, appliedCount: h, showClearAll: g, visibleSuggestions: _, activateFilter: v, applyStagedFilters: y, cancelStagedFilters: b, clearAllFilters: x, getSuggestionKey: C, handleControlChange: w, handleLoadMore: T, handleSearchChange: E, handleSuggestionClick: ee, removeAppliedFilter: D } = Ao(c, l, f), k = A("filters"), te = A({}), N = A(null), P = A(!1), I = A(!1), ne = (e) => e.colDef.context?.filterCollapsedByDefault === !0, re = r(() => N.value === null ? p.value : p.value.filter((e) => e.category === N.value)), z = r(() => re.value.filter((e) => !ne(e))), B = r(() => re.value.filter(ne)), V = r(() => P.value ? [...z.value, ...B.value] : z.value), H = r(() => `${P.value ? "Hide" : "Show"} ${c.collapsedFilterDisplayLabel}`), U = r(() => k.value === "filters" && B.value.length > 0), ae = r(() => U.value || !c.readOnly && (g.value || c.staged)), se = r(() => V.value.map((e) => ({
4622
+ let c = e, l = z(e, "filterModel"), d = z(e, "isCollapsed"), f = n, { resolvedFilters: p, appliedGroups: m, appliedCount: h, showClearAll: g, visibleSuggestions: _, activateFilter: v, applyStagedFilters: y, cancelStagedFilters: b, clearAllFilters: x, getSuggestionKey: C, handleControlChange: w, handleLoadMore: T, handleSearchChange: E, handleSuggestionClick: ee, removeAppliedFilter: D } = Ao(c, l, f), k = j("filters"), A = j({}), P = j(null), F = j(!1), L = j(!1), te = (e) => e.colDef.context?.filterCollapsedByDefault === !0, ne = r(() => P.value === null ? p.value : p.value.filter((e) => e.category === P.value)), B = r(() => ne.value.filter((e) => !te(e))), V = r(() => ne.value.filter(te)), re = r(() => F.value ? [...B.value, ...V.value] : B.value), H = r(() => `${F.value ? "Hide" : "Show"} ${c.collapsedFilterDisplayLabel}`), U = r(() => k.value === "filters" && V.value.length > 0), ae = r(() => U.value || !c.readOnly && (g.value || c.staged)), se = r(() => re.value.map((e) => ({
4622
4623
  ...e,
4623
- isOpen: te.value[e.key] ?? e.isOpen ?? !1
4624
+ isOpen: A.value[e.key] ?? e.isOpen ?? !1
4624
4625
  }))), ce = r(() => [{
4625
4626
  label: "Filters",
4626
4627
  value: "filters"
@@ -4636,13 +4637,13 @@ var jo = ["aria-label"], Mo = { class: "pv-filter-panel-header pv-flex pv-border
4636
4637
  })), le = (e) => {
4637
4638
  (e === "filters" || e === "applied") && (k.value = e);
4638
4639
  }, K = (e, t) => {
4639
- te.value[e.key] = t, f("open-change", e.key, t, e.colDef), t && v(e);
4640
+ A.value[e.key] = t, f("open-change", e.key, t, e.colDef), t && v(e);
4640
4641
  }, ue = () => {
4641
- I.value = !1;
4642
+ L.value = !1;
4642
4643
  }, de = () => {
4643
- x(), I.value = !1;
4644
+ x(), L.value = !1;
4644
4645
  }, fe = () => {
4645
- I.value = !0;
4646
+ L.value = !0;
4646
4647
  };
4647
4648
  return (n, r) => (O(), o(t, null, [d.value ? a("v-if", !0) : (O(), o("div", {
4648
4649
  key: 0,
@@ -4667,38 +4668,38 @@ var jo = ["aria-label"], Mo = { class: "pv-filter-panel-header pv-flex pv-border
4667
4668
  onClick: r[0] ||= (e) => d.value = !0
4668
4669
  }))]),
4669
4670
  s("div", No, [oe(s("div", Po, [
4670
- !e.readOnly && L(_).length ? (O(), o("section", Fo, [r[6] ||= s("p", { class: "pv-filter-panel-section-title pv-text-title-sm pv-text-subdued" }, "Suggestions", -1), s("div", Io, [(O(!0), o(t, null, j(L(_), (e) => (O(), i(pr, {
4671
- key: L(C)(e),
4671
+ !e.readOnly && R(_).length ? (O(), o("section", Fo, [r[6] ||= s("p", { class: "pv-filter-panel-section-title pv-text-title-sm pv-text-subdued" }, "Suggestions", -1), s("div", Io, [(O(!0), o(t, null, M(R(_), (e) => (O(), i(pr, {
4672
+ key: R(C)(e),
4672
4673
  icon: e.icon,
4673
4674
  "icon-classes": e.iconClasses,
4674
4675
  label: e.label,
4675
- onHandleClick: () => L(ee)(e)
4676
+ onHandleClick: () => R(ee)(e)
4676
4677
  }, null, 8, [
4677
4678
  "icon",
4678
4679
  "icon-classes",
4679
4680
  "label",
4680
4681
  "onHandleClick"
4681
4682
  ]))), 128))])])) : a("v-if", !0),
4682
- M(n.$slots, "suggestions", {}, void 0, !0),
4683
+ N(n.$slots, "suggestions", {}, void 0, !0),
4683
4684
  u(wa, {
4684
- modelValue: N.value,
4685
- "onUpdate:modelValue": r[1] ||= (e) => N.value = e,
4685
+ modelValue: P.value,
4686
+ "onUpdate:modelValue": r[1] ||= (e) => P.value = e,
4686
4687
  "category-order": e.categoryOrder,
4687
- filters: L(p)
4688
+ filters: R(p)
4688
4689
  }, null, 8, [
4689
4690
  "modelValue",
4690
4691
  "category-order",
4691
4692
  "filters"
4692
4693
  ]),
4693
- L(p).length ? re.value.length ? (O(), o("div", zo, [(O(!0), o(t, null, j(se.value, (e) => (O(), i(la, {
4694
+ R(p).length ? ne.value.length ? (O(), o("div", zo, [(O(!0), o(t, null, M(se.value, (e) => (O(), i(la, {
4694
4695
  key: e.key,
4695
4696
  filter: e,
4696
- onFilterChange: (t) => L(w)(e.key, t),
4697
+ onFilterChange: (t) => R(w)(e.key, t),
4697
4698
  onFocusChange: r[2] ||= (e, t, n) => f("focus-change", e, t, n),
4698
4699
  onHandleSettingsIcon: r[3] ||= (e, t) => f("handle-settings-icon", e, t),
4699
- onLoadMore: (t, n) => L(T)(e, t, n),
4700
+ onLoadMore: (t, n) => R(T)(e, t, n),
4700
4701
  onOpenChange: (t) => K(e, t),
4701
- onSearchChange: (t) => L(E)(e, t)
4702
+ onSearchChange: (t) => R(E)(e, t)
4702
4703
  }, null, 8, [
4703
4704
  "filter",
4704
4705
  "onFilterChange",
@@ -4707,10 +4708,10 @@ var jo = ["aria-label"], Mo = { class: "pv-filter-panel-header pv-flex pv-border
4707
4708
  "onSearchChange"
4708
4709
  ]))), 128))])) : (O(), o("div", Ro, " No filters in this category. ")) : (O(), o("div", Lo, " No filters available. "))
4709
4710
  ], 512), [[ie, k.value === "filters"]]), oe(u(_a, {
4710
- "applied-count": L(h),
4711
- "applied-groups": L(m),
4711
+ "applied-count": R(h),
4712
+ "applied-groups": R(m),
4712
4713
  "read-only": e.readOnly,
4713
- onRemoveFilter: L(D)
4714
+ onRemoveFilter: R(D)
4714
4715
  }, null, 8, [
4715
4716
  "applied-count",
4716
4717
  "applied-groups",
@@ -4722,8 +4723,8 @@ var jo = ["aria-label"], Mo = { class: "pv-filter-panel-header pv-flex pv-border
4722
4723
  class: "pv-text-brand",
4723
4724
  label: H.value,
4724
4725
  variant: "ghost",
4725
- onClick: r[4] ||= (e) => P.value = !P.value
4726
- }, null, 8, ["label"])) : a("v-if", !0)]), s("div", Ho, [L(g) && !e.readOnly ? (O(), i(J, {
4726
+ onClick: r[4] ||= (e) => F.value = !F.value
4727
+ }, null, 8, ["label"])) : a("v-if", !0)]), s("div", Ho, [R(g) && !e.readOnly ? (O(), i(J, {
4727
4728
  key: 0,
4728
4729
  class: "pv-text-brand",
4729
4730
  label: e.clearAllLabel,
@@ -4732,19 +4733,19 @@ var jo = ["aria-label"], Mo = { class: "pv-filter-panel-header pv-flex pv-border
4732
4733
  }, null, 8, ["label"])) : a("v-if", !0), e.staged && !e.readOnly ? (O(), o(t, { key: 1 }, [u(J, {
4733
4734
  label: e.cancelLabel,
4734
4735
  variant: "ghost",
4735
- onClick: L(b)
4736
+ onClick: R(b)
4736
4737
  }, null, 8, ["label", "onClick"]), u(J, {
4737
4738
  label: e.applyLabel,
4738
4739
  variant: "primary",
4739
- onClick: L(y)
4740
+ onClick: R(y)
4740
4741
  }, null, 8, ["label", "onClick"])], 64)) : a("v-if", !0)])])) : a("v-if", !0)
4741
4742
  ], 12, jo)), u(Me, {
4742
- modelValue: I.value,
4743
- "onUpdate:modelValue": r[5] ||= (e) => I.value = e,
4743
+ modelValue: L.value,
4744
+ "onUpdate:modelValue": r[5] ||= (e) => L.value = e,
4744
4745
  header: e.clearAllHeader,
4745
4746
  style: { "--max-width": "440px" }
4746
4747
  }, {
4747
- body: W(() => [s("p", Uo, F(e.clearAllBody), 1)]),
4748
+ body: W(() => [s("p", Uo, I(e.clearAllBody), 1)]),
4748
4749
  footer: W(() => [s("div", Wo, [u(J, {
4749
4750
  label: e.cancelLabel,
4750
4751
  variant: "ghost",
@@ -5090,14 +5091,14 @@ var Gs = {
5090
5091
  getCommon({ name: e = "", theme: t = {}, params: n, set: r, defaults: i }) {
5091
5092
  let { preset: a, options: o } = t, s, c, l, u, d, f, p;
5092
5093
  if (Z(a) && o.transform !== "strict") {
5093
- let { primitive: t, semantic: n, extend: m } = a, h = n || {}, { colorScheme: g } = h, _ = Es(h, ["colorScheme"]), v = m || {}, { colorScheme: y } = v, b = Es(v, ["colorScheme"]), x = g || {}, { dark: S } = x, C = Es(x, ["dark"]), w = y || {}, { dark: T } = w, E = Es(w, ["dark"]), ee = Z(t) ? this._toVariables({ primitive: t }, o) : {}, D = Z(_) ? this._toVariables({ semantic: _ }, o) : {}, O = Z(C) ? this._toVariables({ light: C }, o) : {}, k = Z(S) ? this._toVariables({ dark: S }, o) : {}, te = Z(b) ? this._toVariables({ semantic: b }, o) : {}, A = Z(E) ? this._toVariables({ light: E }, o) : {}, j = Z(T) ? this._toVariables({ dark: T }, o) : {}, [M, N] = [ee.declarations ?? "", ee.tokens], [P, F] = [D.declarations ?? "", D.tokens || []], [I, L] = [O.declarations ?? "", O.tokens || []], [ne, re] = [k.declarations ?? "", k.tokens || []], [R, z] = [te.declarations ?? "", te.tokens || []], [B, V] = [A.declarations ?? "", A.tokens || []], [H, ie] = [j.declarations ?? "", j.tokens || []];
5094
- s = this.transformCSS(e, M, "light", "variable", o, r, i), c = N, l = `${this.transformCSS(e, `${P}${I}`, "light", "variable", o, r, i)}${this.transformCSS(e, `${ne}`, "dark", "variable", o, r, i)}`, u = [...new Set([
5095
- ...F,
5096
- ...L,
5097
- ...re
5098
- ])], d = `${this.transformCSS(e, `${R}${B}color-scheme:light`, "light", "variable", o, r, i)}${this.transformCSS(e, `${H}color-scheme:dark`, "dark", "variable", o, r, i)}`, f = [...new Set([
5099
- ...z,
5100
- ...V,
5094
+ let { primitive: t, semantic: n, extend: m } = a, h = n || {}, { colorScheme: g } = h, _ = Es(h, ["colorScheme"]), v = m || {}, { colorScheme: y } = v, b = Es(v, ["colorScheme"]), x = g || {}, { dark: S } = x, C = Es(x, ["dark"]), w = y || {}, { dark: T } = w, E = Es(w, ["dark"]), ee = Z(t) ? this._toVariables({ primitive: t }, o) : {}, D = Z(_) ? this._toVariables({ semantic: _ }, o) : {}, O = Z(C) ? this._toVariables({ light: C }, o) : {}, k = Z(S) ? this._toVariables({ dark: S }, o) : {}, A = Z(b) ? this._toVariables({ semantic: b }, o) : {}, j = Z(E) ? this._toVariables({ light: E }, o) : {}, M = Z(T) ? this._toVariables({ dark: T }, o) : {}, [N, P] = [ee.declarations ?? "", ee.tokens], [F, I] = [D.declarations ?? "", D.tokens || []], [L, R] = [O.declarations ?? "", O.tokens || []], [te, ne] = [k.declarations ?? "", k.tokens || []], [z, B] = [A.declarations ?? "", A.tokens || []], [V, re] = [j.declarations ?? "", j.tokens || []], [H, ie] = [M.declarations ?? "", M.tokens || []];
5095
+ s = this.transformCSS(e, N, "light", "variable", o, r, i), c = P, l = `${this.transformCSS(e, `${F}${L}`, "light", "variable", o, r, i)}${this.transformCSS(e, `${te}`, "dark", "variable", o, r, i)}`, u = [...new Set([
5096
+ ...I,
5097
+ ...R,
5098
+ ...ne
5099
+ ])], d = `${this.transformCSS(e, `${z}${V}color-scheme:light`, "light", "variable", o, r, i)}${this.transformCSS(e, `${H}color-scheme:dark`, "dark", "variable", o, r, i)}`, f = [...new Set([
5100
+ ...B,
5101
+ ...re,
5101
5102
  ...ie
5102
5103
  ])], p = rs(a.css, { dt: Vs });
5103
5104
  }
@@ -5124,11 +5125,11 @@ var Gs = {
5124
5125
  "colorScheme",
5125
5126
  "extend",
5126
5127
  "css"
5127
- ]), h = f || {}, { colorScheme: g } = h, _ = Es(h, ["colorScheme"]), v = d || {}, { dark: y } = v, b = Es(v, ["dark"]), x = g || {}, { dark: S } = x, C = Es(x, ["dark"]), w = Z(m) ? this._toVariables({ [r]: ws(ws({}, m), _) }, n) : {}, T = Z(b) ? this._toVariables({ [r]: ws(ws({}, b), C) }, n) : {}, E = Z(y) ? this._toVariables({ [r]: ws(ws({}, y), S) }, n) : {}, [ee, D] = [w.declarations ?? "", w.tokens || []], [O, k] = [T.declarations ?? "", T.tokens || []], [te, A] = [E.declarations ?? "", E.tokens || []];
5128
- s = `${this.transformCSS(r, `${ee}${O}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, te, "dark", "variable", n, i, a, o)}`, c = [...new Set([
5128
+ ]), h = f || {}, { colorScheme: g } = h, _ = Es(h, ["colorScheme"]), v = d || {}, { dark: y } = v, b = Es(v, ["dark"]), x = g || {}, { dark: S } = x, C = Es(x, ["dark"]), w = Z(m) ? this._toVariables({ [r]: ws(ws({}, m), _) }, n) : {}, T = Z(b) ? this._toVariables({ [r]: ws(ws({}, b), C) }, n) : {}, E = Z(y) ? this._toVariables({ [r]: ws(ws({}, y), S) }, n) : {}, [ee, D] = [w.declarations ?? "", w.tokens || []], [O, k] = [T.declarations ?? "", T.tokens || []], [A, j] = [E.declarations ?? "", E.tokens || []];
5129
+ s = `${this.transformCSS(r, `${ee}${O}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, A, "dark", "variable", n, i, a, o)}`, c = [...new Set([
5129
5130
  ...D,
5130
5131
  ...k,
5131
- ...A
5132
+ ...j
5132
5133
  ])], l = rs(p, { dt: Vs });
5133
5134
  }
5134
5135
  return {
@@ -5487,7 +5488,7 @@ function $s(e) {
5487
5488
  }
5488
5489
  var ec = 0;
5489
5490
  function tc(e) {
5490
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = A(!1), r = A(e), i = A(null), a = hs() ? 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_${++ec}` : 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, ee = E === void 0 ? void 0 : E, D = t.props, O = D === void 0 ? {} : D, k = function() {}, j = function(t) {
5491
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = j(!1), r = j(e), i = j(null), a = hs() ? 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_${++ec}` : 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, ee = E === void 0 ? void 0 : E, D = t.props, O = D === void 0 ? {} : D, k = function() {}, M = function(t) {
5491
5492
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5492
5493
  if (s) {
5493
5494
  var o = Ys(Ys({}, O), a), c = o.name || p, l = o.id || h, u = o.nonce || y;
@@ -5503,7 +5504,7 @@ function tc(e) {
5503
5504
  }, { immediate: !0 }), n.value = !0);
5504
5505
  }
5505
5506
  };
5506
- return l && !d && $s(j), {
5507
+ return l && !d && $s(M), {
5507
5508
  id: h,
5508
5509
  name: p,
5509
5510
  el: i,
@@ -5511,8 +5512,8 @@ function tc(e) {
5511
5512
  unload: function() {
5512
5513
  !s || !n.value || (k(), fs(i.value) && s.head.removeChild(i.value), n.value = !1, i.value = null);
5513
5514
  },
5514
- load: j,
5515
- isLoaded: te(n)
5515
+ load: M,
5516
+ isLoaded: A(n)
5516
5517
  };
5517
5518
  }
5518
5519
  //#endregion
@@ -6000,7 +6001,7 @@ function jc() {
6000
6001
  }), Ac = [];
6001
6002
  }
6002
6003
  function Mc(e, t) {
6003
- var n = A(!1), r = function() {
6004
+ var n = j(!1), r = function() {
6004
6005
  if (t.config?.theme !== "none" && !$.isStyleNameLoaded("common")) {
6005
6006
  var e, n = yc.getCommonTheme?.call(yc) || {}, 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 };
6006
6007
  yc.load(r?.css, Cc({ name: "primitive-variables" }, s)), yc.load(i?.css, Cc({ name: "semantic-variables" }, s)), yc.load(a?.css, Cc({ name: "global-variables" }, s)), yc.loadStyle(Cc({ name: "global-style" }, s), o), $.setLoadedStyleName("common");