@turquoisehealth/pit-viper 2.161.2-dev.3 → 2.161.2-dev.4

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.
@@ -1,10 +1,10 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('.pv-scatter-overlay[data-v-223abe26]{position:absolute;top:0;left:0;width:100%;height:100%;pointer-events:none;z-index:2;display:grid;grid-template-columns:1fr 1fr;grid-template-rows:1fr 1fr}.pv-scatter-quadrant[data-v-223abe26]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-223abe26]{background:#8080801a;padding:8px;border-radius:4px;font-size:12px;font-weight:600;color:#666;pointer-events:all;max-width:calc(100% - 10px);max-height:calc(100% - 10px);overflow:auto}.pv-scatter-quadrant-top-left[data-v-223abe26]{grid-column:1;grid-row:1;align-items:flex-start;justify-content:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-223abe26]{grid-column:2;grid-row:1;align-items:flex-start;justify-content:flex-end;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-223abe26]{grid-column:1;grid-row:2;align-items:flex-end;justify-content:flex-start;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-223abe26]{grid-column:2;grid-row:2;align-items:flex-end;justify-content:flex-end;padding:5px}.pv-chart-loading[data-v-223abe26]{position:absolute;text-align:center;justify-content:center;align-items:center;top:0;left:0;width:100%;height:100%;opacity:1;background-color:#fff;z-index:4}.pv-chart-loading-icon[data-v-223abe26]{color:#16696d;animation:pulse-223abe26 1.5s infinite ease-in-out}@keyframes pulse-223abe26{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-popover-list[data-v-cda1af8c]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:transparent;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{padding-top:4px;padding-bottom:4px}.pv-badge-md[data-v-fc3c1104]{--inset-size: 2px 2px;min-height:20px;max-height:20px;min-width:20px;font-weight:500}.pv-badge-sm[data-v-fc3c1104]{--inset-size: 0 2px;min-height:16px;max-height:16px;min-width:16px;font-weight:500}.pv-surface-lighten-5[data-v-fc3c1104]{background-color:#e0e5e4}.pv-text-secondary[data-v-fc3c1104]{color:#4b595c}.pv-menu-action-button[data-v-6a2265bf]{opacity:0;transition:opacity .2s ease}.pv-label:hover .pv-menu-action-button[data-v-6a2265bf]{opacity:1}.pv-menu-item-disabled[data-v-b732541e]{pointer-events:none;background:#ececec}.pv-menu-item[data-v-b732541e]{cursor:pointer}.pv-menu-item-disabled[data-v-d9ecf7c1]{pointer-events:none;background:#ececec}.pv-menu-item[data-v-d9ecf7c1]{cursor:pointer}.pv-text-tertiary[data-v-4e159eee]{color:#6e8081}.pv-query-builder-input-wrapper[data-v-45a7f6e6]{display:flex;align-items:center;position:relative;width:100%;background:#f7f8f8;padding:.25rem;border-radius:.5rem;border:2px solid transparent;font-size:.75rem;min-height:2.25rem;cursor:text}.pv-query-builder-input[data-v-45a7f6e6]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-45a7f6e6]{border:none;background:transparent;outline:none;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-45a7f6e6]:focus-within{border:2px solid #36c5ba}.pv-table-row-count{position:absolute;right:12px;top:6px;opacity:1;background-color:#f7f8f8;transition:opacity .3s ease}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{padding:8px 12px 8px 0;text-align:center;color:#89989b}.suggested-label[data-v-c6a79991]:hover{color:#16696d}.suggested-title-label[data-v-c6a79991]:hover{text-decoration:underline;color:#0d5256}.ag-custom-header-cell[data-v-90d4e92d]{height:100%;align-items:center}.ag-header-actions .ag-header-cell-menu-button[data-v-90d4e92d]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-90d4e92d]{opacity:1}.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-90d4e92d]{opacity:1}.pv-table-row-number[data-v-686928ce]{padding:8px 12px 8px 0;text-align:center;color:#89989b}.pv-table-overlay{position:absolute;z-index:2;background:#fff;width:100%;height:calc(100% - 40px);top:80px;pointer-events:none}.ag-header-cell-resize{border:none!important}.ag-cell-inline-editing .ag-cell-editor{height:100%!important}.ag-rich-select-value{min-height:100%!important}.ag-row-group-leaf-indent{padding-left:7px;margin-left:0}.ag-custom-loading-cell{width:100%;height:40%;margin:15px;background-color:#ccc;border-radius:4px}.ag-group-value{width:100%}.ag-menu-option:hover{background-color:#f7f8f8}.ag-menu-option-shortcut{color:#89989b}.ag-menu-option:active{background-color:#e8f2f4}.ag-menu-option-text{font-family:Inter,sans-serif}.ag-header-cell-menu-button:hover{box-shadow:unset!important}.ag-button{border-radius:4px!important;font-size:12px!important;padding:3px 8px!important}.pv-text-tertiary[data-v-08e3ce8f]{color:#89989b}.pv-button-placeholder[data-v-08e3ce8f]{height:24px;width:24px}.pv-sort-option[data-v-08e3ce8f]{--flex-gap: 4px;cursor:grab;min-height:24px}.pv-menu-item-disabled[data-v-08e3ce8f]{pointer-events:none;color:#7d898d}.placeholder-zone[data-v-08e3ce8f]{transition:background-color .2s ease}.pv-placeholder-dropzone[data-v-08e3ce8f]{padding:8px 4px;border-style:dashed!important;border-color:#e3e7ea!important;justify-content:center;align-items:center;transition:all .2s ease}.placeholder-zone.placeholder-drag-over .pv-placeholder-dropzone[data-v-08e3ce8f]{border-color:#16696d!important;background:#f0f9f9}.sort-divider-container[data-v-08e3ce8f]{display:flex}.sort-divider[data-v-08e3ce8f]{position:relative;border-top:1px solid #e3e7ea;margin:1rem 0;flex:1}.sort-divider[data-v-08e3ce8f]:after{content:attr(data-label);display:inline-block;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:#fff;padding:0 .5em;font-size:inherit;white-space:nowrap}.pv-menu-nested[data-v-003a33e4]:after{content:"›"}.pv-tooltip a[data-v-003a33e4]{color:inherit}.pv-chart-option[data-v-003a33e4]{min-width:150px;max-width:225px}.pv-chart-overlay{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);pointer-events:none}.ag-charts-tooltip{background-color:#fffffff2}.ag-charts-floating-toolbar{display:none!important}')),document.head.appendChild(e)}}catch(t){console.error("vite-plugin-css-injected-by-js",t)}})();
2
- import { defineComponent as le, createElementBlock as F, openBlock as f, normalizeStyle as He, normalizeClass as se, ref as $, onMounted as lt, onUnmounted as La, computed as h, createVNode as Q, createCommentVNode as N, unref as O, Fragment as fe, createElementVNode as P, createBlock as j, resolveDynamicComponent as yt, isRef as Zt, toValue as Hl, nextTick as ct, useTemplateRef as bt, renderSlot as Pe, watch as oe, withDirectives as nt, createTextVNode as ze, Teleport as wl, withCtx as pe, getCurrentInstance as vn, toDisplayString as te, useSlots as Yo, onBeforeUnmount as Da, withModifiers as wn, shallowRef as Qn, getCurrentScope as Qo, onScopeDispose as Xo, shallowReadonly as Ht, mergeModels as _e, useModel as Re, vShow as En, renderList as Qe, createSlots as Vt, vModelText as Fl, readonly as Zo, mergeProps as Ze, normalizeProps as $t, guardReactiveProps as un, inject as be, resolveComponent as Jo, provide as Fe, vModelDynamic as er, vModelCheckbox as tr, toRef as jl, onBeforeMount as Tl } from "vue";
2
+ import { defineComponent as le, createElementBlock as F, openBlock as f, normalizeStyle as He, normalizeClass as se, ref as $, onMounted as lt, onUnmounted as La, computed as h, createVNode as Q, createCommentVNode as N, unref as O, Fragment as fe, createElementVNode as A, createBlock as j, resolveDynamicComponent as yt, isRef as Zt, toValue as Hl, nextTick as ct, useTemplateRef as bt, renderSlot as Ae, watch as oe, withDirectives as nt, createTextVNode as ze, Teleport as wl, withCtx as pe, getCurrentInstance as vn, toDisplayString as te, useSlots as Yo, onBeforeUnmount as Da, withModifiers as wn, shallowRef as Qn, getCurrentScope as Qo, onScopeDispose as Xo, shallowReadonly as Ht, mergeModels as _e, useModel as Re, vShow as En, renderList as Qe, createSlots as Vt, vModelText as Fl, readonly as Zo, mergeProps as Ze, normalizeProps as $t, guardReactiveProps as un, inject as be, resolveComponent as Jo, provide as Fe, vModelDynamic as er, vModelCheckbox as tr, toRef as jl, onBeforeMount as Tl } from "vue";
3
3
  import { AgCharts as nr } from "ag-charts-vue3";
4
4
  import { LicenseManager as lr } from "ag-charts-enterprise";
5
5
  import { AgGridVue as ar } from "ag-grid-vue3";
6
6
  import { themeQuartz as Va, ModuleRegistry as or, EventApiModule as rr, CellStyleModule as ir, ClientSideRowModelModule as sr, ColumnApiModule as ur, CsvExportModule as cr, CustomFilterModule as dr, GridStateModule as fr, ScrollApiModule as pr, TextFilterModule as vr, RowApiModule as mr, RowStyleModule as hr, PaginationModule as gr, QuickFilterModule as yr, TextEditorModule as br, UndoRedoEditModule as xr, CheckboxEditorModule as Cr, SelectEditorModule as Sr, LargeTextEditorModule as wr, NumberEditorModule as Fr, DateEditorModule as Tr, CustomEditorModule as kr } from "ag-grid-community";
7
- import { LicenseManager as Mr, AdvancedFilterModule as $r, CellSelectionModule as Or, ClientSideRowModelApiModule as Pr, ClipboardModule as Ar, ColumnMenuModule as Rr, ContextMenuModule as Lr, MultiFilterModule as Dr, ServerSideRowModelModule as Vr, ServerSideRowModelApiModule as Ir, SetFilterModule as Br, RenderApiModule as Er, RowGroupingModule as _r, RowSelectionModule as Nr, TooltipModule as qr, RichSelectModule as Gr, ValidationModule as zr } from "ag-grid-enterprise";
7
+ import { LicenseManager as Mr, AdvancedFilterModule as $r, CellSelectionModule as Or, ClientSideRowModelApiModule as Ar, ClipboardModule as Pr, ColumnMenuModule as Rr, ContextMenuModule as Lr, MultiFilterModule as Dr, ServerSideRowModelModule as Vr, ServerSideRowModelApiModule as Ir, SetFilterModule as Br, RenderApiModule as Er, RowGroupingModule as _r, RowSelectionModule as Nr, TooltipModule as qr, RichSelectModule as Gr, ValidationModule as zr } from "ag-grid-enterprise";
8
8
  import Hr from "papaparse";
9
9
  import { defaultDocument as jr, tryOnMounted as Kr, tryOnScopeDispose as Ur, unrefElement as Wr, useElementHover as Kl, useElementBounding as Yr, useDebounceFn as Ul, onKeyStroke as Fn, onClickOutside as Qr, useToggle as Ia, toRef as Xr, watchDebounced as mn } from "@vueuse/core";
10
10
  import Ba from "sortablejs";
@@ -223,12 +223,12 @@ const di = { style: { position: "relative" } }, fi = {
223
223
  if (!m) return;
224
224
  const T = m.querySelector(".ag-charts-series-area");
225
225
  if (!T) return;
226
- const A = T.getBoundingClientRect(), w = m.getBoundingClientRect(), x = l.options.seriesArea?.padding || { top: 0, right: 0, bottom: 0, left: 0 }, D = typeof x == "number" ? x : x.top || 0, k = typeof x == "number" ? x : x.right || 0, R = typeof x == "number" ? x : x.bottom || 0, _ = typeof x == "number" ? x : x.left || 0;
226
+ const P = T.getBoundingClientRect(), w = m.getBoundingClientRect(), x = l.options.seriesArea?.padding || { top: 0, right: 0, bottom: 0, left: 0 }, D = typeof x == "number" ? x : x.top || 0, M = typeof x == "number" ? x : x.right || 0, R = typeof x == "number" ? x : x.bottom || 0, _ = typeof x == "number" ? x : x.left || 0;
227
227
  r.value = {
228
- top: `${A.top - w.top - D}px`,
229
- left: `${A.left - w.left - _}px`,
230
- width: `${A.width + _ + k}px`,
231
- height: `${A.height + D + R}px`
228
+ top: `${P.top - w.top - D}px`,
229
+ left: `${P.left - w.left - _}px`,
230
+ width: `${P.width + _ + M}px`,
231
+ height: `${P.height + D + R}px`
232
232
  };
233
233
  }, s = {
234
234
  seriesVisibilityChange: (m) => {
@@ -243,22 +243,22 @@ const di = { style: { position: "relative" } }, fi = {
243
243
  const u = h(() => (S.value?.series || []).some((T) => T.type === "map-shape")), c = h(() => {
244
244
  const m = S.value?.series || [];
245
245
  let T = !1;
246
- return m.forEach((A) => {
247
- A.type === "bar" && A.direction === "horizontal" && (T = !0);
246
+ return m.forEach((P) => {
247
+ P.type === "bar" && P.direction === "horizontal" && (T = !0);
248
248
  }), T;
249
249
  }), d = h(() => (S.value?.series || []).some((T) => T.type === "scatter")), p = (m) => {
250
- const T = m.xKey || "", A = m.xName || m.datum[T], w = m.yKey, x = m.datum[w];
251
- let D = String(A) || "";
250
+ const T = m.xKey || "", P = m.xName || m.datum[T], w = m.yKey, x = m.datum[w];
251
+ let D = String(P) || "";
252
252
  const R = (S.value?.axes || []).find((V) => V.type === "category");
253
- if (R && R.label && R.label.formatter && (D = R.label.formatter({ value: A, datum: m.datum }) || D), x == null || x === jt)
253
+ if (R && R.label && R.label.formatter && (D = R.label.formatter({ value: P, datum: m.datum }) || D), x == null || x === jt)
254
254
  return {
255
255
  heading: D,
256
256
  data: []
257
257
  };
258
258
  let _ = String(x) || "";
259
- const M = S.value?.series?.find((V) => V.yKey === w);
260
- if (M && M?.label?.formatter) {
261
- const V = M.label.formatter;
259
+ const k = S.value?.series?.find((V) => V.yKey === w);
260
+ if (k && k?.label?.formatter) {
261
+ const V = k.label.formatter;
262
262
  _ = V({ value: x, datum: m.datum }) || formattedValue;
263
263
  }
264
264
  return {
@@ -273,29 +273,29 @@ const di = { style: { position: "relative" } }, fi = {
273
273
  };
274
274
  }, y = (m, T) => {
275
275
  if (!m || !l.translateNullValues) return m;
276
- const A = /* @__PURE__ */ new Set();
276
+ const P = /* @__PURE__ */ new Set();
277
277
  m.forEach((D) => {
278
- Object.keys(D).forEach((k) => A.add(k));
278
+ Object.keys(D).forEach((M) => P.add(M));
279
279
  });
280
280
  const w = [];
281
281
  T?.forEach((D) => {
282
282
  "yKey" in D && D.yKey && w.push(D.yKey);
283
283
  });
284
284
  const x = m.map((D) => {
285
- const k = { ...D };
286
- return A.forEach((R) => {
287
- R in k ? k[R] === null && (k[R] = jt) : k[R] = jt;
288
- }), k;
285
+ const M = { ...D };
286
+ return P.forEach((R) => {
287
+ R in M ? M[R] === null && (M[R] = jt) : M[R] = jt;
288
+ }), M;
289
289
  });
290
290
  return w.length > 0 && x?.every(
291
- (D) => w.every((k) => !(k in D) || D[k] === jt || D[k] === null)
291
+ (D) => w.every((M) => !(M in D) || D[M] === jt || D[M] === null)
292
292
  ) ? [] : x;
293
293
  }, v = (m) => m && m.map((T) => {
294
- const A = { ...T };
295
- return A.tooltip || (A.tooltip = {}), A.tooltip.renderer || (A.tooltip.renderer = p), A.itemStyler || (A.itemStyler = (w) => {
294
+ const P = { ...T };
295
+ return P.tooltip || (P.tooltip = {}), P.tooltip.renderer || (P.tooltip.renderer = p), P.itemStyler || (P.itemStyler = (w) => {
296
296
  if (w.yValue === jt || w.yValue === null)
297
297
  return { fill: "transparent", stroke: "transparent" };
298
- }), A;
298
+ }), P;
299
299
  }), g = h(() => {
300
300
  if (l.seriesFormatType === "currency")
301
301
  return _a;
@@ -323,8 +323,8 @@ const di = { style: { position: "relative" } }, fi = {
323
323
  }
324
324
  }
325
325
  ]);
326
- const A = (m.series || []).filter((x) => x.type === "scatter"), w = l.customChartProps?.scatter?.centerOnCoords;
327
- return A.length > 0 && w && (w.x !== void 0 && w.x !== null && ui(m, w.x), w.y !== void 0 && w.y !== null && ci(m, w.y)), m.contextMenu || (m.contextMenu = {
326
+ const P = (m.series || []).filter((x) => x.type === "scatter"), w = l.customChartProps?.scatter?.centerOnCoords;
327
+ return P.length > 0 && w && (w.x !== void 0 && w.x !== null && ui(m, w.x), w.y !== void 0 && w.y !== null && ci(m, w.y)), m.contextMenu || (m.contextMenu = {
328
328
  enabled: !1
329
329
  }), m.listeners = {
330
330
  ...m.listeners || {},
@@ -352,23 +352,23 @@ const di = { style: { position: "relative" } }, fi = {
352
352
  class: "pv-scatter-overlay",
353
353
  style: He(r.value)
354
354
  }, [
355
- P("div", pi, [
356
- P("div", vi, [
355
+ A("div", pi, [
356
+ A("div", vi, [
357
357
  (f(), j(yt(e.customChartProps.scatter.quadrantRenderer), { quadrant: "topLeft" }))
358
358
  ])
359
359
  ]),
360
- P("div", mi, [
361
- P("div", hi, [
360
+ A("div", mi, [
361
+ A("div", hi, [
362
362
  (f(), j(yt(e.customChartProps.scatter.quadrantRenderer), { quadrant: "topRight" }))
363
363
  ])
364
364
  ]),
365
- P("div", gi, [
366
- P("div", yi, [
365
+ A("div", gi, [
366
+ A("div", yi, [
367
367
  (f(), j(yt(e.customChartProps.scatter.quadrantRenderer), { quadrant: "bottomLeft" }))
368
368
  ])
369
369
  ]),
370
- P("div", bi, [
371
- P("div", xi, [
370
+ A("div", bi, [
371
+ A("div", xi, [
372
372
  (f(), j(yt(e.customChartProps.scatter.quadrantRenderer), { quadrant: "bottomRight" }))
373
373
  ])
374
374
  ])
@@ -457,14 +457,14 @@ const Mi = ["data-align"], $i = /* @__PURE__ */ le({
457
457
  class: "pv-popover-list",
458
458
  style: He(e.cssCustomListProperties)
459
459
  }, [
460
- Pe(i.$slots, "default", {}, void 0, !0)
461
- ], 4)) : Pe(i.$slots, "default", { key: 1 }, void 0, !0)
460
+ Ae(i.$slots, "default", {}, void 0, !0)
461
+ ], 4)) : Ae(i.$slots, "default", { key: 1 }, void 0, !0)
462
462
  ], 12, Mi));
463
463
  }
464
464
  }), Nn = /* @__PURE__ */ Xe($i, [["__scopeId", "data-v-cda1af8c"]]), Oi = {
465
465
  class: "pv-relative",
466
466
  style: { width: "fit-content" }
467
- }, Pi = ["disabled"], Ai = {
467
+ }, Ai = ["disabled"], Pi = {
468
468
  key: 0,
469
469
  class: "pv-shimmer"
470
470
  }, Ri = /* @__PURE__ */ le({
@@ -509,7 +509,7 @@ const Mi = ["data-align"], $i = /* @__PURE__ */ le({
509
509
  ...l.popoverCssProperties
510
510
  } : l.popoverCssProperties);
511
511
  return (m, T) => nt((f(), F("div", Oi, [
512
- P("button", {
512
+ A("button", {
513
513
  ref_key: "triggerRef",
514
514
  ref: r,
515
515
  class: se({ "pv-select": !e.icon, "pv-icon-button": e.icon }),
@@ -517,10 +517,10 @@ const Mi = ["data-align"], $i = /* @__PURE__ */ le({
517
517
  onClick: p,
518
518
  disabled: e.disabled
519
519
  }, [
520
- Pe(m.$slots, "trigger", {}, () => [
520
+ Ae(m.$slots, "trigger", {}, () => [
521
521
  T[1] || (T[1] = ze("Open", -1))
522
522
  ], !0)
523
- ], 10, Pi),
523
+ ], 10, Ai),
524
524
  (f(), j(wl, {
525
525
  to: e.teleportLocation,
526
526
  disabled: !e.useTeleport
@@ -533,11 +533,11 @@ const Mi = ["data-align"], $i = /* @__PURE__ */ le({
533
533
  alignment: e.alignment,
534
534
  isList: e.isList,
535
535
  isSortable: e.isSortable,
536
- onListOrderUpdated: T[0] || (T[0] = (A) => m.$emit("list-order-updated", A))
536
+ onListOrderUpdated: T[0] || (T[0] = (P) => m.$emit("list-order-updated", P))
537
537
  }, {
538
538
  default: pe(() => [
539
- Pe(m.$slots, "default", {}, () => [
540
- e.isLoading ? (f(), F("span", Ai, "Loading...")) : N("", !0)
539
+ Ae(m.$slots, "default", {}, () => [
540
+ e.isLoading ? (f(), F("span", Pi, "Loading...")) : N("", !0)
541
541
  ], !0)
542
542
  ]),
543
543
  _: 3
@@ -575,7 +575,7 @@ const Di = {
575
575
  "aria-hidden": "true",
576
576
  class: se(o.value)
577
577
  }, [
578
- P("use", { "xlink:href": a.value }, null, 8, Ii)
578
+ A("use", { "xlink:href": a.value }, null, 8, Ii)
579
579
  ], 2));
580
580
  }
581
581
  }), ja = ["ghost"], Yl = {
@@ -659,8 +659,8 @@ function qi(e, t = {}) {
659
659
  }
660
660
  const T = a ? Ql(m, e) : null;
661
661
  if (T) {
662
- const A = T.assignedNodes({ flatten: !0 });
663
- c.value = A.some((w) => w.nodeType === Node.ELEMENT_NODE ? !0 : _i(w, r));
662
+ const P = T.assignedNodes({ flatten: !0 });
663
+ c.value = P.some((w) => w.nodeType === Node.ELEMENT_NODE ? !0 : _i(w, r));
664
664
  return;
665
665
  }
666
666
  c.value = Ni(m, e);
@@ -717,14 +717,14 @@ const Gi = ["data-position", "aria-labelledby", "data-style", "data-static"], zi
717
717
  "data-style": e.variant === "white" ? "white" : "dark",
718
718
  "data-static": e.disableInteractive ? !0 : void 0
719
719
  }, [
720
- Pe(n.$slots, "label"),
720
+ Ae(n.$slots, "label"),
721
721
  O(t) ? (f(), F("div", {
722
722
  key: 0,
723
723
  role: "tooltip",
724
724
  id: e.ariaLabelledBy,
725
725
  "data-testid": "pv-tooltip-content"
726
726
  }, [
727
- Pe(n.$slots, "tooltip-content")
727
+ Ae(n.$slots, "tooltip-content")
728
728
  ], 8, zi)) : N("", !0)
729
729
  ], 10, Gi));
730
730
  }
@@ -797,7 +797,7 @@ const Gi = ["data-position", "aria-labelledby", "data-style", "data-static"], zi
797
797
  name: e.icon,
798
798
  size: 12
799
799
  }, null, 8, ["name"])) : N("", !0),
800
- P("span", Ki, te(e.label), 1),
800
+ A("span", Ki, te(e.label), 1),
801
801
  e.showClear ? (f(), j(Le, {
802
802
  key: 1,
803
803
  "data-testid": "pv-tag-close-icon",
@@ -979,7 +979,7 @@ const os = async (e, t, n) => {
979
979
  fn: m
980
980
  } = i[g], {
981
981
  x: T,
982
- y: A,
982
+ y: P,
983
983
  data: w,
984
984
  reset: x
985
985
  } = await m({
@@ -996,7 +996,7 @@ const os = async (e, t, n) => {
996
996
  floating: t
997
997
  }
998
998
  });
999
- c = T ?? c, d = A ?? d, y = {
999
+ c = T ?? c, d = P ?? d, y = {
1000
1000
  ...y,
1001
1001
  [S]: {
1002
1002
  ...y[S],
@@ -1045,7 +1045,7 @@ async function rs(e, t) {
1045
1045
  y: o,
1046
1046
  width: r.floating.width,
1047
1047
  height: r.floating.height
1048
- } : r.reference, A = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(i.floating)), w = await (a.isElement == null ? void 0 : a.isElement(A)) ? await (a.getScale == null ? void 0 : a.getScale(A)) || {
1048
+ } : r.reference, P = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(i.floating)), w = await (a.isElement == null ? void 0 : a.isElement(P)) ? await (a.getScale == null ? void 0 : a.getScale(P)) || {
1049
1049
  x: 1,
1050
1050
  y: 1
1051
1051
  } : {
@@ -1054,7 +1054,7 @@ async function rs(e, t) {
1054
1054
  }, x = zn(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
1055
1055
  elements: i,
1056
1056
  rect: T,
1057
- offsetParent: A,
1057
+ offsetParent: P,
1058
1058
  strategy: s
1059
1059
  }) : T);
1060
1060
  return {
@@ -1088,9 +1088,9 @@ const is = function(e) {
1088
1088
  } = Ol(e, t);
1089
1089
  if ((n = a.arrow) != null && n.alignmentOffset)
1090
1090
  return {};
1091
- const m = Jt(o), T = Dt(i), A = Jt(i) === i, w = await (s.isRTL == null ? void 0 : s.isRTL(u.floating)), x = p || (A || !g ? [Gn(i)] : Zi(i)), D = v !== "none";
1091
+ const m = Jt(o), T = Dt(i), P = Jt(i) === i, w = await (s.isRTL == null ? void 0 : s.isRTL(u.floating)), x = p || (P || !g ? [Gn(i)] : Zi(i)), D = v !== "none";
1092
1092
  !p && D && x.push(...ns(i, g, v, w));
1093
- const k = [i, ...x], R = await rs(t, S), _ = [];
1093
+ const M = [i, ...x], R = await rs(t, S), _ = [];
1094
1094
  let E = ((l = a.flip) == null ? void 0 : l.overflows) || [];
1095
1095
  if (c && _.push(R[m]), d) {
1096
1096
  const Y = Xi(o, r, w);
@@ -1100,8 +1100,8 @@ const is = function(e) {
1100
1100
  placement: o,
1101
1101
  overflows: _
1102
1102
  }], !_.every((Y) => Y <= 0)) {
1103
- var M, V;
1104
- const Y = (((M = a.flip) == null ? void 0 : M.index) || 0) + 1, re = k[Y];
1103
+ var k, V;
1104
+ const Y = (((k = a.flip) == null ? void 0 : k.index) || 0) + 1, re = M[Y];
1105
1105
  if (re && (!(d === "alignment" ? T !== Dt(re) : !1) || // We leave the current main axis only if every placement on that axis
1106
1106
  // overflows the main axis.
1107
1107
  E.every((xe) => Dt(xe.placement) === T ? xe.overflows[0] > 0 : !0)))
@@ -1200,7 +1200,7 @@ function el() {
1200
1200
  return typeof window < "u";
1201
1201
  }
1202
1202
  function qt(e) {
1203
- return Pl(e) ? (e.nodeName || "").toLowerCase() : "#document";
1203
+ return Al(e) ? (e.nodeName || "").toLowerCase() : "#document";
1204
1204
  }
1205
1205
  function tt(e) {
1206
1206
  var t;
@@ -1208,9 +1208,9 @@ function tt(e) {
1208
1208
  }
1209
1209
  function Ct(e) {
1210
1210
  var t;
1211
- return (t = (Pl(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
1211
+ return (t = (Al(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
1212
1212
  }
1213
- function Pl(e) {
1213
+ function Al(e) {
1214
1214
  return el() ? e instanceof Node || e instanceof tt(e).Node : !1;
1215
1215
  }
1216
1216
  function dt(e) {
@@ -1247,14 +1247,14 @@ function tl(e) {
1247
1247
  });
1248
1248
  }
1249
1249
  const ms = ["transform", "translate", "scale", "rotate", "perspective"], hs = ["transform", "translate", "scale", "rotate", "perspective", "filter"], gs = ["paint", "layout", "strict", "content"];
1250
- function Al(e) {
1250
+ function Pl(e) {
1251
1251
  const t = Rl(), n = dt(e) ? ft(e) : e;
1252
1252
  return ms.some((l) => n[l] ? n[l] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || hs.some((l) => (n.willChange || "").includes(l)) || gs.some((l) => (n.contain || "").includes(l));
1253
1253
  }
1254
1254
  function ys(e) {
1255
1255
  let t = Ot(e);
1256
1256
  for (; vt(t) && !en(t); ) {
1257
- if (Al(t))
1257
+ if (Pl(t))
1258
1258
  return t;
1259
1259
  if (tl(t))
1260
1260
  return null;
@@ -1356,8 +1356,8 @@ function gn(e, t, n, l) {
1356
1356
  const p = tt(a), y = l && dt(l) ? tt(l) : l;
1357
1357
  let v = p, g = hl(v);
1358
1358
  for (; g && l && y !== v; ) {
1359
- const S = Qt(g), m = g.getBoundingClientRect(), T = ft(g), A = m.left + (g.clientLeft + parseFloat(T.paddingLeft)) * S.x, w = m.top + (g.clientTop + parseFloat(T.paddingTop)) * S.y;
1360
- s *= S.x, u *= S.y, c *= S.x, d *= S.y, s += A, u += w, v = tt(g), g = hl(v);
1359
+ const S = Qt(g), m = g.getBoundingClientRect(), T = ft(g), P = m.left + (g.clientLeft + parseFloat(T.paddingLeft)) * S.x, w = m.top + (g.clientTop + parseFloat(T.paddingTop)) * S.y;
1360
+ s *= S.x, u *= S.y, c *= S.x, d *= S.y, s += P, u += w, v = tt(g), g = hl(v);
1361
1361
  }
1362
1362
  }
1363
1363
  return zn({
@@ -1481,7 +1481,7 @@ function $s(e, t) {
1481
1481
  const a = ft(e).position === "fixed";
1482
1482
  let r = a ? Ot(e) : e;
1483
1483
  for (; dt(r) && !en(r); ) {
1484
- const i = ft(r), s = Al(r);
1484
+ const i = ft(r), s = Pl(r);
1485
1485
  !s && i.position === "fixed" && (o = null), (a ? !s && !o : !s && i.position === "static" && !!o && ks.has(o.position) || Tn(r) && !s && to(e, r)) ? l = l.filter((c) => c !== r) : o = i, r = Ot(r);
1486
1486
  }
1487
1487
  return t.set(e, l), l;
@@ -1504,7 +1504,7 @@ function Os(e) {
1504
1504
  y: s.top
1505
1505
  };
1506
1506
  }
1507
- function Ps(e) {
1507
+ function As(e) {
1508
1508
  const {
1509
1509
  width: t,
1510
1510
  height: n
@@ -1514,7 +1514,7 @@ function Ps(e) {
1514
1514
  height: n
1515
1515
  };
1516
1516
  }
1517
- function As(e, t, n) {
1517
+ function Ps(e, t, n) {
1518
1518
  const l = vt(t), o = Ct(t), a = n === "fixed", r = gn(e, !0, a, t);
1519
1519
  let i = {
1520
1520
  scrollLeft: 0,
@@ -1565,12 +1565,12 @@ function no(e, t) {
1565
1565
  let l = aa(e, t);
1566
1566
  for (; l && ps(l) && cl(l); )
1567
1567
  l = aa(l, t);
1568
- return l && en(l) && cl(l) && !Al(l) ? n : l || ys(e) || n;
1568
+ return l && en(l) && cl(l) && !Pl(l) ? n : l || ys(e) || n;
1569
1569
  }
1570
1570
  const Rs = async function(e) {
1571
1571
  const t = this.getOffsetParent || no, n = this.getDimensions, l = await n(e.floating);
1572
1572
  return {
1573
- reference: As(e.reference, await t(e.floating), e.strategy),
1573
+ reference: Ps(e.reference, await t(e.floating), e.strategy),
1574
1574
  floating: {
1575
1575
  x: 0,
1576
1576
  y: 0,
@@ -1589,7 +1589,7 @@ const Ds = {
1589
1589
  getOffsetParent: no,
1590
1590
  getElementRects: Rs,
1591
1591
  getClientRects: ws,
1592
- getDimensions: Ps,
1592
+ getDimensions: As,
1593
1593
  getScale: Qt,
1594
1594
  isElement: dt,
1595
1595
  isRTL: Ls
@@ -1612,7 +1612,7 @@ function Es(e) {
1612
1612
  function oa(e) {
1613
1613
  if (Es(e)) {
1614
1614
  const t = e.$el;
1615
- return Pl(t) && qt(t) === "#comment" ? null : t;
1615
+ return Al(t) && qt(t) === "#comment" ? null : t;
1616
1616
  }
1617
1617
  return e;
1618
1618
  }
@@ -1629,28 +1629,28 @@ function ra(e, t) {
1629
1629
  function _s(e, t, n) {
1630
1630
  n === void 0 && (n = {});
1631
1631
  const l = n.whileElementsMounted, o = h(() => {
1632
- var k;
1633
- return (k = an(n.open)) != null ? k : !0;
1632
+ var M;
1633
+ return (M = an(n.open)) != null ? M : !0;
1634
1634
  }), a = h(() => an(n.middleware)), r = h(() => {
1635
- var k;
1636
- return (k = an(n.placement)) != null ? k : "bottom";
1635
+ var M;
1636
+ return (M = an(n.placement)) != null ? M : "bottom";
1637
1637
  }), i = h(() => {
1638
- var k;
1639
- return (k = an(n.strategy)) != null ? k : "absolute";
1638
+ var M;
1639
+ return (M = an(n.strategy)) != null ? M : "absolute";
1640
1640
  }), s = h(() => {
1641
- var k;
1642
- return (k = an(n.transform)) != null ? k : !0;
1641
+ var M;
1642
+ return (M = an(n.transform)) != null ? M : !0;
1643
1643
  }), u = h(() => oa(e.value)), c = h(() => oa(t.value)), d = $(0), p = $(0), y = $(i.value), v = $(r.value), g = Qn({}), S = $(!1), m = h(() => {
1644
- const k = {
1644
+ const M = {
1645
1645
  position: y.value,
1646
1646
  left: "0",
1647
1647
  top: "0"
1648
1648
  };
1649
1649
  if (!c.value)
1650
- return k;
1650
+ return M;
1651
1651
  const R = ra(c.value, d.value), _ = ra(c.value, p.value);
1652
1652
  return s.value ? {
1653
- ...k,
1653
+ ...M,
1654
1654
  transform: "translate(" + R + "px, " + _ + "px)",
1655
1655
  ...lo(c.value) >= 1.5 && {
1656
1656
  willChange: "transform"
@@ -1662,16 +1662,16 @@ function _s(e, t, n) {
1662
1662
  };
1663
1663
  });
1664
1664
  let T;
1665
- function A() {
1665
+ function P() {
1666
1666
  if (u.value == null || c.value == null)
1667
1667
  return;
1668
- const k = o.value;
1668
+ const M = o.value;
1669
1669
  Bs(u.value, c.value, {
1670
1670
  middleware: a.value,
1671
1671
  placement: r.value,
1672
1672
  strategy: i.value
1673
1673
  }).then((R) => {
1674
- d.value = R.x, p.value = R.y, y.value = R.strategy, v.value = R.placement, g.value = R.middlewareData, S.value = k !== !1;
1674
+ d.value = R.x, p.value = R.y, y.value = R.strategy, v.value = R.placement, g.value = R.middlewareData, S.value = M !== !1;
1675
1675
  });
1676
1676
  }
1677
1677
  function w() {
@@ -1679,18 +1679,18 @@ function _s(e, t, n) {
1679
1679
  }
1680
1680
  function x() {
1681
1681
  if (w(), l === void 0) {
1682
- A();
1682
+ P();
1683
1683
  return;
1684
1684
  }
1685
1685
  if (u.value != null && c.value != null) {
1686
- T = l(u.value, c.value, A);
1686
+ T = l(u.value, c.value, P);
1687
1687
  return;
1688
1688
  }
1689
1689
  }
1690
1690
  function D() {
1691
1691
  o.value || (S.value = !1);
1692
1692
  }
1693
- return oe([a, r, i, o], A, {
1693
+ return oe([a, r, i, o], P, {
1694
1694
  flush: "sync"
1695
1695
  }), oe([u, c], x, {
1696
1696
  flush: "sync"
@@ -1704,7 +1704,7 @@ function _s(e, t, n) {
1704
1704
  middlewareData: Ht(g),
1705
1705
  isPositioned: Ht(S),
1706
1706
  floatingStyles: m,
1707
- update: A
1707
+ update: P
1708
1708
  };
1709
1709
  }
1710
1710
  const Ns = { style: { width: "fit-content" } }, Ll = /* @__PURE__ */ le({
@@ -1772,37 +1772,37 @@ const Ns = { style: { width: "fit-content" } }, Ll = /* @__PURE__ */ le({
1772
1772
  return t.ignoreClickOutsideClasses && w.push(...t.ignoreClickOutsideClasses.map((x) => `.${x}`)), w;
1773
1773
  }), m = h(() => t.showOnHover ? t.disableInteractive ? r.value : r.value || i.value : !1), T = () => {
1774
1774
  t.showOnHover || g(!n.value);
1775
- }, A = () => {
1775
+ }, P = () => {
1776
1776
  t.disableClickOutsideToClose || g(!1);
1777
1777
  };
1778
1778
  return oe(m, (w) => {
1779
1779
  t.showOnHover && g(w);
1780
1780
  }), (w, x) => nt((f(), F("div", Ns, [
1781
- P("div", {
1781
+ A("div", {
1782
1782
  ref_key: "triggerWrapper",
1783
1783
  ref: l,
1784
1784
  onClick: T
1785
1785
  }, [
1786
- Pe(w.$slots, "trigger")
1786
+ Ae(w.$slots, "trigger")
1787
1787
  ], 512),
1788
1788
  w.$slots.content ? (f(), j(wl, {
1789
1789
  key: 0,
1790
1790
  to: e.teleportLocation,
1791
1791
  disabled: !t.useTeleport
1792
1792
  }, [
1793
- nt(P("div", {
1793
+ nt(A("div", {
1794
1794
  class: "pv-floating",
1795
1795
  ref_key: "floating",
1796
1796
  ref: a,
1797
1797
  style: He(v.value)
1798
1798
  }, [
1799
- Pe(w.$slots, "content")
1799
+ Ae(w.$slots, "content")
1800
1800
  ], 4), [
1801
1801
  [En, n.value]
1802
1802
  ])
1803
1803
  ], 8, ["to", "disabled"])) : N("", !0)
1804
1804
  ])), [
1805
- [O(Xn), [A, { ignore: S.value }]]
1805
+ [O(Xn), [P, { ignore: S.value }]]
1806
1806
  ]);
1807
1807
  }
1808
1808
  }), qs = /* @__PURE__ */ le({
@@ -1899,7 +1899,7 @@ const Ks = {
1899
1899
  class: se(o.value),
1900
1900
  style: He(a.value)
1901
1901
  }, [
1902
- P("img", {
1902
+ A("img", {
1903
1903
  src: i.value,
1904
1904
  alt: "",
1905
1905
  onError: u[0] || (u[0] = (c) => n.value = !1)
@@ -1951,15 +1951,15 @@ const Ks = {
1951
1951
  style: { "--max-width": "480px" },
1952
1952
  onClose: o
1953
1953
  }, [
1954
- P("div", Ys, [
1955
- P("div", Qs, [
1956
- P("span", Xs, te(e.header), 1),
1954
+ A("div", Ys, [
1955
+ A("div", Qs, [
1956
+ A("span", Xs, te(e.header), 1),
1957
1957
  e.subheader ? (f(), F("span", Zs, te(e.subheader), 1)) : N("", !0)
1958
1958
  ]),
1959
- Pe(a.$slots, "body")
1959
+ Ae(a.$slots, "body")
1960
1960
  ]),
1961
1961
  e.hideFooter ? N("", !0) : (f(), F("div", Js, [
1962
- Pe(a.$slots, "footer")
1962
+ Ae(a.$slots, "footer")
1963
1963
  ]))
1964
1964
  ], 40, Ws));
1965
1965
  }
@@ -2003,7 +2003,7 @@ const au = ["data-style", "disabled", "title"], ou = { class: "pv-truncate" }, r
2003
2003
  name: "expand",
2004
2004
  size: 12
2005
2005
  })) : N("", !0),
2006
- P("span", ou, te(e.label), 1)
2006
+ A("span", ou, te(e.label), 1)
2007
2007
  ], 10, au));
2008
2008
  }
2009
2009
  }), iu = { class: "pv-relative" }, su = ["disabled", "placeholder"], uu = {
@@ -2033,7 +2033,7 @@ const au = ["data-style", "disabled", "title"], ou = { class: "pv-truncate" }, r
2033
2033
  (!s || u) && (u || (r.preventDefault(), l.value?.focus()));
2034
2034
  });
2035
2035
  }), t({ input: l }), (r, i) => (f(), F("div", iu, [
2036
- nt(P("input", {
2036
+ nt(A("input", {
2037
2037
  ref: "search-input",
2038
2038
  "onUpdate:modelValue": i[0] || (i[0] = (s) => o.value = s),
2039
2039
  "data-testid": "pv-search-input",
@@ -2233,7 +2233,7 @@ var Et = (...e) => Tu(et.getTheme(), ...e), Tu = (e = {}, t, n, l) => {
2233
2233
  }
2234
2234
  return "";
2235
2235
  };
2236
- function Pn(e, ...t) {
2236
+ function An(e, ...t) {
2237
2237
  if (e instanceof Array) {
2238
2238
  let n = e.reduce((l, o, a) => {
2239
2239
  var r;
@@ -2281,21 +2281,21 @@ var it = { regex: { rules: { class: { pattern: /^\.([a-zA-Z][\w-]*)$/, resolve(e
2281
2281
  return ku(e, { prefix: t?.prefix });
2282
2282
  }, getCommon({ name: e = "", theme: t = {}, params: n, set: l, defaults: o }) {
2283
2283
  var a, r, i, s, u, c, d;
2284
- let { preset: p, options: y } = t, v, g, S, m, T, A, w;
2284
+ let { preset: p, options: y } = t, v, g, S, m, T, P, w;
2285
2285
  if (Ee(p) && y.transform !== "strict") {
2286
- let { primitive: x, semantic: D, extend: k } = p, R = D || {}, { colorScheme: _ } = R, E = gt(R, ["colorScheme"]), M = k || {}, { colorScheme: V } = M, G = gt(M, ["colorScheme"]), Y = _ || {}, { dark: re } = Y, he = gt(Y, ["dark"]), ae = V || {}, { dark: xe } = ae, H = gt(ae, ["dark"]), ne = Ee(x) ? this._toVariables({ primitive: x }, y) : {}, q = Ee(E) ? this._toVariables({ semantic: E }, y) : {}, W = Ee(he) ? this._toVariables({ light: he }, y) : {}, X = Ee(re) ? this._toVariables({ dark: re }, y) : {}, Te = Ee(G) ? this._toVariables({ semantic: G }, y) : {}, Ve = Ee(H) ? this._toVariables({ light: H }, y) : {}, Ue = Ee(xe) ? this._toVariables({ dark: xe }, y) : {}, [je, Z] = [(a = ne.declarations) != null ? a : "", ne.tokens], [Se, Ie] = [(r = q.declarations) != null ? r : "", q.tokens || []], [qe, at] = [(i = W.declarations) != null ? i : "", W.tokens || []], [mt, ot] = [(s = X.declarations) != null ? s : "", X.tokens || []], [St, wt] = [(u = Te.declarations) != null ? u : "", Te.tokens || []], [rt, Be] = [(c = Ve.declarations) != null ? c : "", Ve.tokens || []], [Je, Ft] = [(d = Ue.declarations) != null ? d : "", Ue.tokens || []];
2287
- v = this.transformCSS(e, je, "light", "variable", y, l, o), g = Z;
2286
+ let { primitive: x, semantic: D, extend: M } = p, R = D || {}, { colorScheme: _ } = R, E = gt(R, ["colorScheme"]), k = M || {}, { colorScheme: V } = k, G = gt(k, ["colorScheme"]), Y = _ || {}, { dark: re } = Y, he = gt(Y, ["dark"]), ae = V || {}, { dark: xe } = ae, H = gt(ae, ["dark"]), ne = Ee(x) ? this._toVariables({ primitive: x }, y) : {}, q = Ee(E) ? this._toVariables({ semantic: E }, y) : {}, W = Ee(he) ? this._toVariables({ light: he }, y) : {}, X = Ee(re) ? this._toVariables({ dark: re }, y) : {}, Te = Ee(G) ? this._toVariables({ semantic: G }, y) : {}, Ve = Ee(H) ? this._toVariables({ light: H }, y) : {}, Ue = Ee(xe) ? this._toVariables({ dark: xe }, y) : {}, [je, J] = [(a = ne.declarations) != null ? a : "", ne.tokens], [Se, Ie] = [(r = q.declarations) != null ? r : "", q.tokens || []], [qe, at] = [(i = W.declarations) != null ? i : "", W.tokens || []], [mt, ot] = [(s = X.declarations) != null ? s : "", X.tokens || []], [St, wt] = [(u = Te.declarations) != null ? u : "", Te.tokens || []], [rt, Be] = [(c = Ve.declarations) != null ? c : "", Ve.tokens || []], [Je, Ft] = [(d = Ue.declarations) != null ? d : "", Ue.tokens || []];
2287
+ v = this.transformCSS(e, je, "light", "variable", y, l, o), g = J;
2288
2288
  let ht = this.transformCSS(e, `${Se}${qe}`, "light", "variable", y, l, o), K = this.transformCSS(e, `${mt}`, "dark", "variable", y, l, o);
2289
2289
  S = `${ht}${K}`, m = [.../* @__PURE__ */ new Set([...Ie, ...at, ...ot])];
2290
- let J = this.transformCSS(e, `${St}${rt}color-scheme:light`, "light", "variable", y, l, o), de = this.transformCSS(e, `${Je}color-scheme:dark`, "dark", "variable", y, l, o);
2291
- T = `${J}${de}`, A = [.../* @__PURE__ */ new Set([...wt, ...Be, ...Ft])], w = Mt(p.css, { dt: Et });
2290
+ let ee = this.transformCSS(e, `${St}${rt}color-scheme:light`, "light", "variable", y, l, o), de = this.transformCSS(e, `${Je}color-scheme:dark`, "dark", "variable", y, l, o);
2291
+ T = `${ee}${de}`, P = [.../* @__PURE__ */ new Set([...wt, ...Be, ...Ft])], w = Mt(p.css, { dt: Et });
2292
2292
  }
2293
- return { primitive: { css: v, tokens: g }, semantic: { css: S, tokens: m }, global: { css: T, tokens: A }, style: w };
2293
+ return { primitive: { css: v, tokens: g }, semantic: { css: S, tokens: m }, global: { css: T, tokens: P }, style: w };
2294
2294
  }, getPreset({ name: e = "", preset: t = {}, options: n, params: l, set: o, defaults: a, selector: r }) {
2295
2295
  var i, s, u;
2296
2296
  let c, d, p;
2297
2297
  if (Ee(t) && n.transform !== "strict") {
2298
- let y = e.replace("-directive", ""), v = t, { colorScheme: g, extend: S, css: m } = v, T = gt(v, ["colorScheme", "extend", "css"]), A = S || {}, { colorScheme: w } = A, x = gt(A, ["colorScheme"]), D = g || {}, { dark: k } = D, R = gt(D, ["dark"]), _ = w || {}, { dark: E } = _, M = gt(_, ["dark"]), V = Ee(T) ? this._toVariables({ [y]: st(st({}, T), x) }, n) : {}, G = Ee(R) ? this._toVariables({ [y]: st(st({}, R), M) }, n) : {}, Y = Ee(k) ? this._toVariables({ [y]: st(st({}, k), E) }, n) : {}, [re, he] = [(i = V.declarations) != null ? i : "", V.tokens || []], [ae, xe] = [(s = G.declarations) != null ? s : "", G.tokens || []], [H, ne] = [(u = Y.declarations) != null ? u : "", Y.tokens || []], q = this.transformCSS(y, `${re}${ae}`, "light", "variable", n, o, a, r), W = this.transformCSS(y, H, "dark", "variable", n, o, a, r);
2298
+ let y = e.replace("-directive", ""), v = t, { colorScheme: g, extend: S, css: m } = v, T = gt(v, ["colorScheme", "extend", "css"]), P = S || {}, { colorScheme: w } = P, x = gt(P, ["colorScheme"]), D = g || {}, { dark: M } = D, R = gt(D, ["dark"]), _ = w || {}, { dark: E } = _, k = gt(_, ["dark"]), V = Ee(T) ? this._toVariables({ [y]: st(st({}, T), x) }, n) : {}, G = Ee(R) ? this._toVariables({ [y]: st(st({}, R), k) }, n) : {}, Y = Ee(M) ? this._toVariables({ [y]: st(st({}, M), E) }, n) : {}, [re, he] = [(i = V.declarations) != null ? i : "", V.tokens || []], [ae, xe] = [(s = G.declarations) != null ? s : "", G.tokens || []], [H, ne] = [(u = Y.declarations) != null ? u : "", Y.tokens || []], q = this.transformCSS(y, `${re}${ae}`, "light", "variable", n, o, a, r), W = this.transformCSS(y, H, "dark", "variable", n, o, a, r);
2299
2299
  c = `${q}${W}`, d = [.../* @__PURE__ */ new Set([...he, ...xe, ...ne])], p = Mt(m, { dt: Et });
2300
2300
  }
2301
2301
  return { css: c, tokens: d, style: p };
@@ -2604,10 +2604,10 @@ function $u(e, t, n) {
2604
2604
  return (t = Ou(t)) in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
2605
2605
  }
2606
2606
  function Ou(e) {
2607
- var t = Pu(e, "string");
2607
+ var t = Au(e, "string");
2608
2608
  return bn(t) == "symbol" ? t : t + "";
2609
2609
  }
2610
- function Pu(e, t) {
2610
+ function Au(e, t) {
2611
2611
  if (bn(e) != "object" || !e) return e;
2612
2612
  var n = e[Symbol.toPrimitive];
2613
2613
  if (n !== void 0) {
@@ -2617,27 +2617,27 @@ function Pu(e, t) {
2617
2617
  }
2618
2618
  return (t === "string" ? String : Number)(e);
2619
2619
  }
2620
- function Au(e) {
2620
+ function Pu(e) {
2621
2621
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
2622
2622
  vn() && vn().components ? lt(e) : t ? e() : ct(e);
2623
2623
  }
2624
2624
  var Ru = 0;
2625
2625
  function Lu(e) {
2626
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = $(!1), l = $(e), o = $(null), a = fu() ? window.document : void 0, r = t.document, i = r === void 0 ? a : r, s = t.immediate, u = s === void 0 ? !0 : s, c = t.manual, d = c === void 0 ? !1 : c, p = t.name, y = p === void 0 ? "style_".concat(++Ru) : p, v = t.id, g = v === void 0 ? void 0 : v, S = t.media, m = S === void 0 ? void 0 : S, T = t.nonce, A = T === void 0 ? void 0 : T, w = t.first, x = w === void 0 ? !1 : w, D = t.onMounted, k = D === void 0 ? void 0 : D, R = t.onUpdated, _ = R === void 0 ? void 0 : R, E = t.onLoad, M = E === void 0 ? void 0 : E, V = t.props, G = V === void 0 ? {} : V, Y = function() {
2626
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = $(!1), l = $(e), o = $(null), a = fu() ? window.document : void 0, r = t.document, i = r === void 0 ? a : r, s = t.immediate, u = s === void 0 ? !0 : s, c = t.manual, d = c === void 0 ? !1 : c, p = t.name, y = p === void 0 ? "style_".concat(++Ru) : p, v = t.id, g = v === void 0 ? void 0 : v, S = t.media, m = S === void 0 ? void 0 : S, T = t.nonce, P = T === void 0 ? void 0 : T, w = t.first, x = w === void 0 ? !1 : w, D = t.onMounted, M = D === void 0 ? void 0 : D, R = t.onUpdated, _ = R === void 0 ? void 0 : R, E = t.onLoad, k = E === void 0 ? void 0 : E, V = t.props, G = V === void 0 ? {} : V, Y = function() {
2627
2627
  }, re = function(xe) {
2628
2628
  var H = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2629
2629
  if (i) {
2630
- var ne = da(da({}, G), H), q = ne.name || y, W = ne.id || g, X = ne.nonce || A;
2630
+ var ne = da(da({}, G), H), q = ne.name || y, W = ne.id || g, X = ne.nonce || P;
2631
2631
  o.value = i.querySelector('style[data-primevue-style-id="'.concat(q, '"]')) || i.getElementById(W) || i.createElement("style"), o.value.isConnected || (l.value = xe || e, gl(o.value, {
2632
2632
  type: "text/css",
2633
2633
  id: W,
2634
2634
  media: m,
2635
2635
  nonce: X
2636
2636
  }), x ? i.head.prepend(o.value) : i.head.appendChild(o.value), pu(o.value, "data-primevue-style-id", q), gl(o.value, ne), o.value.onload = function(Te) {
2637
- return M?.(Te, {
2637
+ return k?.(Te, {
2638
2638
  name: q
2639
2639
  });
2640
- }, k?.(q)), !n.value && (Y = oe(l, function(Te) {
2640
+ }, M?.(q)), !n.value && (Y = oe(l, function(Te) {
2641
2641
  o.value.textContent = Te, _?.(q);
2642
2642
  }, {
2643
2643
  immediate: !0
@@ -2646,7 +2646,7 @@ function Lu(e) {
2646
2646
  }, he = function() {
2647
2647
  !i || !n.value || (Y(), du(o.value) && i.head.removeChild(o.value), n.value = !1, o.value = null);
2648
2648
  };
2649
- return u && !d && Au(re), {
2649
+ return u && !d && Pu(re), {
2650
2650
  id: g,
2651
2651
  name: y,
2652
2652
  el: o,
@@ -2743,7 +2743,7 @@ function Nu(e, t) {
2743
2743
  }
2744
2744
  return (t === "string" ? String : Number)(e);
2745
2745
  }
2746
- function An(e, t) {
2746
+ function Pn(e, t) {
2747
2747
  return t || (t = e.slice(0)), Object.freeze(Object.defineProperties(e, { raw: { value: Object.freeze(t) } }));
2748
2748
  }
2749
2749
  var qu = function(t) {
@@ -2777,7 +2777,7 @@ var qu = function(t) {
2777
2777
  load: function(t) {
2778
2778
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(a) {
2779
2779
  return a;
2780
- }, o = l(Pn(fa || (fa = An(["", ""])), t));
2780
+ }, o = l(An(fa || (fa = Pn(["", ""])), t));
2781
2781
  return Ee(o) ? Lu(pn(o), fl({
2782
2782
  name: this.name
2783
2783
  }, n)) : {};
@@ -2790,7 +2790,7 @@ var qu = function(t) {
2790
2790
  var t = this, n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, l = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
2791
2791
  return this.load(this.style, n, function() {
2792
2792
  var o = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
2793
- return et.transformCSS(n.name || t.name, "".concat(o).concat(Pn(pa || (pa = An(["", ""])), l)));
2793
+ return et.transformCSS(n.name || t.name, "".concat(o).concat(An(pa || (pa = Pn(["", ""])), l)));
2794
2794
  });
2795
2795
  },
2796
2796
  getCommonTheme: function(t) {
@@ -2813,7 +2813,7 @@ var qu = function(t) {
2813
2813
  if (this.css) {
2814
2814
  var l = Mt(this.css, {
2815
2815
  dt: Et
2816
- }) || "", o = pn(Pn(va || (va = An(["", "", ""])), l, t)), a = Object.entries(n).reduce(function(r, i) {
2816
+ }) || "", o = pn(An(va || (va = Pn(["", "", ""])), l, t)), a = Object.entries(n).reduce(function(r, i) {
2817
2817
  var s = ha(i, 2), u = s[0], c = s[1];
2818
2818
  return r.push("".concat(u, '="').concat(c, '"')) && r;
2819
2819
  }, []).join(" ");
@@ -2828,7 +2828,7 @@ var qu = function(t) {
2828
2828
  getThemeStyleSheet: function(t) {
2829
2829
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, l = [et.getStyleSheet(this.name, t, n)];
2830
2830
  if (this.style) {
2831
- var o = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), a = Pn(ma || (ma = An(["", ""])), Mt(this.style, {
2831
+ var o = this.name === "base" ? "global-style" : "".concat(this.name, "-style"), a = An(ma || (ma = Pn(["", ""])), Mt(this.style, {
2832
2832
  dt: Et
2833
2833
  })), r = pn(et.transformCSS(o, a)), i = Object.entries(n).reduce(function(s, u) {
2834
2834
  var c = ha(u, 2), d = c[0], p = c[1];
@@ -2888,15 +2888,15 @@ function ju() {
2888
2888
  x === void 0 && (x = "");
2889
2889
  var D = x.match(l);
2890
2890
  if (!D) return null;
2891
- var k = ("" + D[0]).match(o) || ["-", 0, 0], R = k[0], _ = 60 * +k[1] + +k[2];
2891
+ var M = ("" + D[0]).match(o) || ["-", 0, 0], R = M[0], _ = 60 * +M[1] + +M[2];
2892
2892
  return _ === 0 ? 0 : R === "+" ? _ : -_;
2893
2893
  })(g), g === null)) return this;
2894
2894
  var T = Math.abs(g) <= 16 ? 60 * g : g;
2895
2895
  if (T === 0) return this.utc(S);
2896
- var A = this.clone();
2897
- if (S) return A.$offset = T, A.$u = !1, A;
2896
+ var P = this.clone();
2897
+ if (S) return P.$offset = T, P.$u = !1, P;
2898
2898
  var w = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
2899
- return (A = this.local().add(T + w, n)).$offset = T, A.$x.$localOffset = w, A;
2899
+ return (P = this.local().add(T + w, n)).$offset = T, P.$x.$localOffset = w, P;
2900
2900
  };
2901
2901
  var p = s.format;
2902
2902
  s.format = function(g) {
@@ -2919,8 +2919,8 @@ function ju() {
2919
2919
  var v = s.diff;
2920
2920
  s.diff = function(g, S, m) {
2921
2921
  if (g && this.$u === g.$u) return v.call(this, g, S, m);
2922
- var T = this.local(), A = i(g).local();
2923
- return v.call(T, A, S, m);
2922
+ var T = this.local(), P = i(g).local();
2923
+ return v.call(T, P, S, m);
2924
2924
  };
2925
2925
  };
2926
2926
  }));
@@ -2940,23 +2940,23 @@ function Yu() {
2940
2940
  v === void 0 && (v = {});
2941
2941
  var g = new Date(p), S = (function(m, T) {
2942
2942
  T === void 0 && (T = {});
2943
- var A = T.timeZoneName || "short", w = m + "|" + A, x = l[w];
2944
- return x || (x = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: m, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: A }), l[w] = x), x;
2943
+ var P = T.timeZoneName || "short", w = m + "|" + P, x = l[w];
2944
+ return x || (x = new Intl.DateTimeFormat("en-US", { hour12: !1, timeZone: m, year: "numeric", month: "2-digit", day: "2-digit", hour: "2-digit", minute: "2-digit", second: "2-digit", timeZoneName: P }), l[w] = x), x;
2945
2945
  })(y, v);
2946
2946
  return S.formatToParts(g);
2947
2947
  }, u = function(p, y) {
2948
2948
  for (var v = s(p, y), g = [], S = 0; S < v.length; S += 1) {
2949
- var m = v[S], T = m.type, A = m.value, w = n[T];
2950
- w >= 0 && (g[w] = parseInt(A, 10));
2949
+ var m = v[S], T = m.type, P = m.value, w = n[T];
2950
+ w >= 0 && (g[w] = parseInt(P, 10));
2951
2951
  }
2952
- var x = g[3], D = x === 24 ? 0 : x, k = g[0] + "-" + g[1] + "-" + g[2] + " " + D + ":" + g[4] + ":" + g[5] + ":000", R = +p;
2953
- return (r.utc(k).valueOf() - (R -= R % 1e3)) / 6e4;
2952
+ var x = g[3], D = x === 24 ? 0 : x, M = g[0] + "-" + g[1] + "-" + g[2] + " " + D + ":" + g[4] + ":" + g[5] + ":000", R = +p;
2953
+ return (r.utc(M).valueOf() - (R -= R % 1e3)) / 6e4;
2954
2954
  }, c = a.prototype;
2955
2955
  c.tz = function(p, y) {
2956
2956
  p === void 0 && (p = i);
2957
- var v, g = this.utcOffset(), S = this.toDate(), m = S.toLocaleString("en-US", { timeZone: p }), T = Math.round((S - new Date(m)) / 1e3 / 60), A = 15 * -Math.round(S.getTimezoneOffset() / 15) - T;
2958
- if (!Number(A)) v = this.utcOffset(0, y);
2959
- else if (v = r(m, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(A, !0), y) {
2957
+ var v, g = this.utcOffset(), S = this.toDate(), m = S.toLocaleString("en-US", { timeZone: p }), T = Math.round((S - new Date(m)) / 1e3 / 60), P = 15 * -Math.round(S.getTimezoneOffset() / 15) - T;
2958
+ if (!Number(P)) v = this.utcOffset(0, y);
2959
+ else if (v = r(m, { locale: this.$L }).$set("millisecond", this.$ms).utcOffset(P, !0), y) {
2960
2960
  var w = v.utcOffset();
2961
2961
  v = v.add(g - w, "minute");
2962
2962
  }
@@ -2975,12 +2975,12 @@ function Yu() {
2975
2975
  }, r.tz = function(p, y, v) {
2976
2976
  var g = v && y, S = v || y || i, m = u(+r(), S);
2977
2977
  if (typeof p != "string") return r(p).tz(S);
2978
- var T = (function(D, k, R) {
2979
- var _ = D - 60 * k * 1e3, E = u(_, R);
2980
- if (k === E) return [_, k];
2981
- var M = u(_ -= 60 * (E - k) * 1e3, R);
2982
- return E === M ? [_, E] : [D - 60 * Math.min(E, M) * 1e3, Math.max(E, M)];
2983
- })(r.utc(p, g).valueOf(), m, S), A = T[0], w = T[1], x = r(A).utcOffset(w);
2978
+ var T = (function(D, M, R) {
2979
+ var _ = D - 60 * M * 1e3, E = u(_, R);
2980
+ if (M === E) return [_, M];
2981
+ var k = u(_ -= 60 * (E - M) * 1e3, R);
2982
+ return E === k ? [_, E] : [D - 60 * Math.min(E, k) * 1e3, Math.max(E, k)];
2983
+ })(r.utc(p, g).valueOf(), m, S), P = T[0], w = T[1], x = r(P).utcOffset(w);
2984
2984
  return x.$x.$timezone = S, x;
2985
2985
  }, r.tz.guess = function() {
2986
2986
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
@@ -3114,11 +3114,11 @@ const nc = {
3114
3114
  "data-testid": "pv-drawer",
3115
3115
  style: { display: "flex", "flex-direction": "column", height: "100%" }
3116
3116
  }, [
3117
- P("div", nc, [
3118
- u.$slots.header ? Pe(u.$slots, "header", { key: 0 }) : (f(), F(fe, { key: 1 }, [
3119
- P("div", lc, [
3120
- P("div", ac, [
3121
- P("span", oc, te(e.header), 1),
3117
+ A("div", nc, [
3118
+ u.$slots.header ? Ae(u.$slots, "header", { key: 0 }) : (f(), F(fe, { key: 1 }, [
3119
+ A("div", lc, [
3120
+ A("div", ac, [
3121
+ A("span", oc, te(e.header), 1),
3122
3122
  Q($e, {
3123
3123
  "left-icon": "close",
3124
3124
  size: "md",
@@ -3138,11 +3138,11 @@ const nc = {
3138
3138
  ])) : N("", !0)
3139
3139
  ], 64))
3140
3140
  ]),
3141
- P("div", sc, [
3142
- Pe(u.$slots, "default")
3141
+ A("div", sc, [
3142
+ Ae(u.$slots, "default")
3143
3143
  ]),
3144
3144
  u.$slots.footer ? (f(), F("div", uc, [
3145
- Pe(u.$slots, "footer")
3145
+ Ae(u.$slots, "footer")
3146
3146
  ])) : N("", !0)
3147
3147
  ], 512));
3148
3148
  }
@@ -3169,8 +3169,8 @@ const nc = {
3169
3169
  setup(e) {
3170
3170
  return (t, n) => (f(), j(O(Ll), $t(un(t.$props)), Vt({
3171
3171
  trigger: pe(() => [
3172
- Pe(t.$slots, "trigger", {}, () => [
3173
- P("p", null, te(e.label), 1)
3172
+ Ae(t.$slots, "trigger", {}, () => [
3173
+ A("p", null, te(e.label), 1)
3174
3174
  ])
3175
3175
  ]),
3176
3176
  _: 2
@@ -3178,11 +3178,11 @@ const nc = {
3178
3178
  t.$slots.content || e.description ? {
3179
3179
  name: "content",
3180
3180
  fn: pe(() => [
3181
- P("div", {
3181
+ A("div", {
3182
3182
  class: se(["pv-tooltip-v2-content", { "pv-tooltip-v2-content-small": e.size === "sm" }]),
3183
3183
  role: "tooltip"
3184
3184
  }, [
3185
- Pe(t.$slots, "content", {}, () => [
3185
+ Ae(t.$slots, "content", {}, () => [
3186
3186
  ze(te(e.description), 1)
3187
3187
  ])
3188
3188
  ], 2)
@@ -3273,7 +3273,7 @@ const nc = {
3273
3273
  style: { "--flex-gap": "0.25rem" },
3274
3274
  disabled: e.disabled || e.isLoading
3275
3275
  }, [
3276
- P("div", vc, [
3276
+ A("div", vc, [
3277
3277
  e.prefixLabel ? (f(), F("p", mc, te(e.prefixLabel), 1)) : N("", !0),
3278
3278
  e.counterPosition === "left" && e.counterValue ? (f(), j(hn, {
3279
3279
  key: 1,
@@ -3437,12 +3437,12 @@ const ho = /* @__PURE__ */ Xe(gc, [["render", bc]]), xc = ["data-style"], Cc = [
3437
3437
  name: e.companyName,
3438
3438
  size: "sm"
3439
3439
  }, null, 8, ["name"])) : N("", !0),
3440
- P("div", wc, [
3441
- P("span", {
3440
+ A("div", wc, [
3441
+ A("span", {
3442
3442
  class: "pv-text-body-md pv-full-width pv-truncate",
3443
3443
  title: e.text
3444
3444
  }, [
3445
- P("span", {
3445
+ A("span", {
3446
3446
  ref_key: "mainText",
3447
3447
  ref: n
3448
3448
  }, te(e.text), 513),
@@ -3494,7 +3494,7 @@ const ho = /* @__PURE__ */ Xe(gc, [["render", bc]]), xc = ["data-style"], Cc = [
3494
3494
  } : void 0
3495
3495
  ]), 1024));
3496
3496
  }
3497
- }), Pc = /* @__PURE__ */ Xe(Oc, [["__scopeId", "data-v-6a2265bf"]]);
3497
+ }), Ac = /* @__PURE__ */ Xe(Oc, [["__scopeId", "data-v-6a2265bf"]]);
3498
3498
  function Cn(e) {
3499
3499
  return e.flatMap((t) => t.children?.length ? Cn(t.children) : [t]);
3500
3500
  }
@@ -3508,7 +3508,7 @@ function go(e, t) {
3508
3508
  return [];
3509
3509
  });
3510
3510
  }
3511
- const Ac = ["data-testid"], Rc = ["hidden", "type", "checked", "indeterminate", "disabled"], Lc = /* @__PURE__ */ le({
3511
+ const Pc = ["data-testid"], Rc = ["hidden", "type", "checked", "indeterminate", "disabled"], Lc = /* @__PURE__ */ le({
3512
3512
  __name: "PvMenuItemVariant",
3513
3513
  props: {
3514
3514
  selected: { type: Boolean },
@@ -3537,13 +3537,13 @@ const Ac = ["data-testid"], Rc = ["hidden", "type", "checked", "indeterminate",
3537
3537
  if (!o?.value) return n.selected ?? !1;
3538
3538
  if (a.value && n.children?.length) {
3539
3539
  const m = Cn(n.children);
3540
- return m.length > 0 && m.every((T) => o.value.some((A) => A.id === T.id));
3540
+ return m.length > 0 && m.every((T) => o.value.some((P) => P.id === T.id));
3541
3541
  }
3542
3542
  return o.value.some((m) => m.id === n.id);
3543
3543
  }), i = h(() => {
3544
3544
  if (!o?.value || !a.value || !n.children?.length)
3545
3545
  return n.indeterminate ?? !1;
3546
- const m = Cn(n.children), T = m.filter((A) => o.value.some((w) => w.id === A.id)).length;
3546
+ const m = Cn(n.children), T = m.filter((P) => o.value.some((w) => w.id === P.id)).length;
3547
3547
  return T > 0 && T < m.length;
3548
3548
  }), s = h(() => {
3549
3549
  const m = n.classList ? [...n.classList] : [];
@@ -3571,7 +3571,7 @@ const Ac = ["data-testid"], Rc = ["hidden", "type", "checked", "indeterminate",
3571
3571
  "data-testid": v.value,
3572
3572
  style: { cursor: "pointer" }
3573
3573
  }, [
3574
- P("input", {
3574
+ A("input", {
3575
3575
  ref_key: "inputRef",
3576
3576
  ref: l,
3577
3577
  hidden: c.value,
@@ -3588,12 +3588,12 @@ const Ac = ["data-testid"], Rc = ["hidden", "type", "checked", "indeterminate",
3588
3588
  queryText: e.queryText,
3589
3589
  highlightSearchText: e.highlightSearchText
3590
3590
  }), null, 16, ["menuOptionConfig", "queryText", "highlightSearchText"])),
3591
- e.menuOptionConfig?.action ? (f(), j(Pc, {
3591
+ e.menuOptionConfig?.action ? (f(), j(Ac, {
3592
3592
  key: 2,
3593
3593
  action: e.menuOptionConfig?.action,
3594
3594
  option: n
3595
3595
  }, null, 8, ["action", "option"])) : N("", !0)
3596
- ], 10, Ac));
3596
+ ], 10, Pc));
3597
3597
  }
3598
3598
  }), Dc = /* @__PURE__ */ Xe(Lc, [["__scopeId", "data-v-b732541e"]]), Vc = ["data-active"], Ic = 4, Bc = /* @__PURE__ */ le({
3599
3599
  inheritAttrs: !1,
@@ -3812,9 +3812,9 @@ const Ac = ["data-testid"], Rc = ["hidden", "type", "checked", "indeterminate",
3812
3812
  if (u.value === "") return n.options;
3813
3813
  const E = u.value.toLocaleLowerCase();
3814
3814
  return n.enableCascadeSelection ? go(n.options, E) : n.options.filter(
3815
- (M) => M.text.toLocaleLowerCase().includes(E) || M.searchText?.toLocaleLowerCase().includes(E)
3815
+ (k) => k.text.toLocaleLowerCase().includes(E) || k.searchText?.toLocaleLowerCase().includes(E)
3816
3816
  );
3817
- }), A = () => {
3817
+ }), P = () => {
3818
3818
  const E = n.enableCascadeSelection ? Cn(T.value) : T.value;
3819
3819
  d(E);
3820
3820
  }, w = () => {
@@ -3823,18 +3823,18 @@ const Ac = ["data-testid"], Rc = ["hidden", "type", "checked", "indeterminate",
3823
3823
  y(), S();
3824
3824
  }, D = () => {
3825
3825
  p(), S();
3826
- }, k = h(() => {
3826
+ }, M = h(() => {
3827
3827
  if (!n.groupings) return;
3828
3828
  const E = /* @__PURE__ */ new Map();
3829
- n.groupings.forEach((M) => {
3830
- E.set(M, []);
3829
+ n.groupings.forEach((k) => {
3830
+ E.set(k, []);
3831
3831
  }), E.set("other", []);
3832
- for (const M of n.options) {
3833
- const V = M.groupingLabel, G = V && E.has(V) ? V : "other";
3834
- E.get(G).push(M);
3832
+ for (const k of n.options) {
3833
+ const V = k.groupingLabel, G = V && E.has(V) ? V : "other";
3834
+ E.get(G).push(k);
3835
3835
  }
3836
- for (const [M, V] of E)
3837
- V.length === 0 && E.delete(M);
3836
+ for (const [k, V] of E)
3837
+ V.length === 0 && E.delete(k);
3838
3838
  return Array.from(E.entries());
3839
3839
  }), R = h(() => n.groupings && u.value === ""), _ = h(() => ({
3840
3840
  ...n,
@@ -3846,9 +3846,9 @@ const Ac = ["data-testid"], Rc = ["hidden", "type", "checked", "indeterminate",
3846
3846
  }));
3847
3847
  return Fn("Escape", () => {
3848
3848
  r.value && S();
3849
- }), (E, M) => (f(), j(O(Ll), Ze({
3849
+ }), (E, k) => (f(), j(O(Ll), Ze({
3850
3850
  modelValue: O(r),
3851
- "onUpdate:modelValue": M[4] || (M[4] = (V) => Zt(r) ? r.value = V : null)
3851
+ "onUpdate:modelValue": k[4] || (k[4] = (V) => Zt(r) ? r.value = V : null)
3852
3852
  }, e.popoverProperties, { offset: m.value }), {
3853
3853
  trigger: pe(() => [
3854
3854
  Q(Bl, {
@@ -3866,11 +3866,11 @@ const Ac = ["data-testid"], Rc = ["hidden", "type", "checked", "indeterminate",
3866
3866
  open: O(r),
3867
3867
  "counter-value": v.value.length,
3868
3868
  onHandleClear: w,
3869
- onHandleToggleDropdown: M[0] || (M[0] = (V) => O(i)())
3869
+ onHandleToggleDropdown: k[0] || (k[0] = (V) => O(i)())
3870
3870
  }, null, 8, ["variant", "size", "disabled", "counterPosition", "prefixLabel", "label", "icon", "companyLogo", "showClear", "showDropdown", "open", "counter-value"])
3871
3871
  ]),
3872
3872
  content: pe(() => [
3873
- P("div", {
3873
+ A("div", {
3874
3874
  class: "pv-popover",
3875
3875
  "data-test-id": "pv-popover",
3876
3876
  style: He(e.popoverCssProperties)
@@ -3879,20 +3879,20 @@ const Ac = ["data-testid"], Rc = ["hidden", "type", "checked", "indeterminate",
3879
3879
  Q(kn, {
3880
3880
  ref: "searchInputRef",
3881
3881
  "model-value": u.value,
3882
- "onUpdate:modelValue": M[1] || (M[1] = (V) => u.value = V),
3882
+ "onUpdate:modelValue": k[1] || (k[1] = (V) => u.value = V),
3883
3883
  class: "pv-stack-4",
3884
3884
  placeholder: e.searchPlaceholder
3885
3885
  }, null, 8, ["model-value", "placeholder"])
3886
3886
  ])),
3887
3887
  E.$slots.header ? (f(), F("div", qc, [
3888
- Pe(E.$slots, "header", $t(un(_.value)))
3888
+ Ae(E.$slots, "header", $t(un(_.value)))
3889
3889
  ])) : N("", !0),
3890
3890
  T.value.length > 0 ? (f(), F(fe, { key: 2 }, [
3891
- R.value ? (f(!0), F(fe, { key: 0 }, Qe(k.value, ([V, G], Y) => (f(), F("div", { key: V }, [
3892
- E.$slots[V] ? Pe(E.$slots, V, { key: 0 }) : V !== "other" ? (f(), F("span", Gc, te(V), 1)) : N("", !0),
3891
+ R.value ? (f(!0), F(fe, { key: 0 }, Qe(M.value, ([V, G], Y) => (f(), F("div", { key: V }, [
3892
+ E.$slots[V] ? Ae(E.$slots, V, { key: 0 }) : V !== "other" ? (f(), F("span", Gc, te(V), 1)) : N("", !0),
3893
3893
  Q(bl, {
3894
3894
  selectedItems: g.value,
3895
- "onUpdate:selectedItems": M[2] || (M[2] = (re) => g.value = re),
3895
+ "onUpdate:selectedItems": k[2] || (k[2] = (re) => g.value = re),
3896
3896
  options: G,
3897
3897
  config: l.value,
3898
3898
  queryText: e.highlightSearchText ? u.value : null,
@@ -3901,11 +3901,11 @@ const Ac = ["data-testid"], Rc = ["hidden", "type", "checked", "indeterminate",
3901
3901
  isLoading: e.isLoading,
3902
3902
  enableCascadeSelection: e.enableCascadeSelection
3903
3903
  }, null, 8, ["selectedItems", "options", "config", "queryText", "itemTestId", "isLoading", "enableCascadeSelection"]),
3904
- k.value && Y !== k.value.length - 1 ? (f(), F("div", zc)) : N("", !0)
3904
+ M.value && Y !== M.value.length - 1 ? (f(), F("div", zc)) : N("", !0)
3905
3905
  ]))), 128)) : (f(), j(bl, {
3906
3906
  key: 1,
3907
3907
  selectedItems: g.value,
3908
- "onUpdate:selectedItems": M[3] || (M[3] = (V) => g.value = V),
3908
+ "onUpdate:selectedItems": k[3] || (k[3] = (V) => g.value = V),
3909
3909
  options: T.value,
3910
3910
  config: l.value,
3911
3911
  queryText: e.highlightSearchText ? u.value : null,
@@ -3917,16 +3917,16 @@ const Ac = ["data-testid"], Rc = ["hidden", "type", "checked", "indeterminate",
3917
3917
  e.isLoading ? (f(), F("div", Hc, [
3918
3918
  Q(Zn, { variant: "dark" })
3919
3919
  ])) : T.value.length === 0 ? (f(), F(fe, { key: 4 }, [
3920
- E.$slots["no-results"] ? Pe(E.$slots, "no-results", $t(Ze({ key: 0 }, _.value))) : (f(), j(ho, { key: 1 }))
3920
+ E.$slots["no-results"] ? Ae(E.$slots, "no-results", $t(Ze({ key: 0 }, _.value))) : (f(), j(ho, { key: 1 }))
3921
3921
  ], 64)) : N("", !0),
3922
- P("div", jc, [
3923
- E.$slots.footer ? Pe(E.$slots, "footer", $t(Ze({ key: 0 }, _.value))) : N("", !0),
3922
+ A("div", jc, [
3923
+ E.$slots.footer ? Ae(E.$slots, "footer", $t(Ze({ key: 0 }, _.value))) : N("", !0),
3924
3924
  e.menuActionsVariant ? (f(), j(fc, {
3925
3925
  key: 1,
3926
3926
  variant: e.menuActionsVariant,
3927
3927
  disabled: e.isLoading,
3928
3928
  onHandleClearAll: w,
3929
- onHandleSelectAll: A,
3929
+ onHandleSelectAll: P,
3930
3930
  onHandleCancel: x,
3931
3931
  onHandleConfirm: D
3932
3932
  }, null, 8, ["variant", "disabled"])) : N("", !0)
@@ -3992,16 +3992,16 @@ const Ac = ["data-testid"], Rc = ["hidden", "type", "checked", "indeterminate",
3992
3992
  const S = i.value.trim().toLowerCase();
3993
3993
  if (!S) return n.options;
3994
3994
  const m = (T) => {
3995
- const A = [];
3995
+ const P = [];
3996
3996
  for (const w of T) {
3997
3997
  const x = w.text.toLowerCase().includes(S) || w.searchText?.toLowerCase().includes(S), D = m(w.children || []);
3998
- x ? A.push({
3998
+ x ? P.push({
3999
3999
  ...w,
4000
4000
  searchText: S,
4001
4001
  children: D
4002
- }) : A.push(...D);
4002
+ }) : P.push(...D);
4003
4003
  }
4004
- return A;
4004
+ return P;
4005
4005
  };
4006
4006
  return m(n.options);
4007
4007
  }), p = h({
@@ -4045,7 +4045,7 @@ const Ac = ["data-testid"], Rc = ["hidden", "type", "checked", "indeterminate",
4045
4045
  }, null, 8, ["variant", "inverse", "size", "disabled", "prefixLabel", "label", "icon", "companyLogo", "open", "counter-position", "counter-value", "counter-badge-variant", "isLoading"])
4046
4046
  ]),
4047
4047
  content: pe(() => [
4048
- P("div", {
4048
+ A("div", {
4049
4049
  class: "pv-popover",
4050
4050
  "data-test-id": "pv-popover",
4051
4051
  style: He([e.popoverCssProperties, { position: "unset" }])
@@ -4128,17 +4128,17 @@ const bo = () => {
4128
4128
  l.value.innerHTML = a.value.replace(u, '<span style="font-weight: bold;">$1</span>');
4129
4129
  }
4130
4130
  }), (u, c) => (f(), F("div", null, [
4131
- P("div", td, [
4131
+ A("div", td, [
4132
4132
  Q(Le, { name: s.value }, null, 8, ["name"]),
4133
- P("div", null, [
4134
- P("p", {
4133
+ A("div", null, [
4134
+ A("p", {
4135
4135
  ref_key: "queryOptionText",
4136
4136
  ref: l,
4137
4137
  class: "pv-text-body-md"
4138
4138
  }, te(a.value), 513),
4139
4139
  i.value ? (f(), F("p", nd, [
4140
4140
  o.value ? N("", !0) : (f(), F("span", ld, "Search in ")),
4141
- P("span", ad, te(i.value), 1)
4141
+ A("span", ad, te(i.value), 1)
4142
4142
  ])) : N("", !0)
4143
4143
  ])
4144
4144
  ])
@@ -4244,8 +4244,8 @@ const bo = () => {
4244
4244
  }, m = h(() => {
4245
4245
  if (!r.value || r.value.length === 0)
4246
4246
  return [];
4247
- let k = r.value;
4248
- return t.processor === "field-only" && (k = r.value.filter((R) => R.queryTerm?.queryField)), a.value && (k = k.filter((R) => !s(a.value, R))), k.map((R) => ({
4247
+ let M = r.value;
4248
+ return t.processor === "field-only" && (M = r.value.filter((R) => R.queryTerm?.queryField)), a.value && (M = M.filter((R) => !s(a.value, R))), M.map((R) => ({
4249
4249
  id: R.id,
4250
4250
  text: R.text,
4251
4251
  icon: R.icon,
@@ -4256,20 +4256,20 @@ const bo = () => {
4256
4256
  });
4257
4257
  oe(
4258
4258
  [m, o, () => t.optionsLoading],
4259
- ([k, R, _]) => {
4260
- R && R.length > 0 && (k.length > 0 || _) ? u.value = !0 : (!R || R.length === 0) && (u.value = !1);
4259
+ ([M, R, _]) => {
4260
+ R && R.length > 0 && (M.length > 0 || _) ? u.value = !0 : (!R || R.length === 0) && (u.value = !1);
4261
4261
  },
4262
4262
  { immediate: !0 }
4263
4263
  );
4264
4264
  const T = () => {
4265
4265
  t.enableCustomOptionsInput && S(), u.value = !1, c.value = !1, d.value = !1;
4266
- }, A = (k) => {
4266
+ }, P = (M) => {
4267
4267
  try {
4268
4268
  const R = {
4269
- id: k.id,
4270
- text: k.text,
4271
- queryTerm: k.context,
4272
- icon: k.icon
4269
+ id: M.id,
4270
+ text: M.text,
4271
+ queryTerm: M.context,
4272
+ icon: M.icon
4273
4273
  };
4274
4274
  a.value = i(a.value, R), D();
4275
4275
  } catch (R) {
@@ -4278,17 +4278,17 @@ const bo = () => {
4278
4278
  u.value = !1, c.value = !1;
4279
4279
  }
4280
4280
  };
4281
- function w(k) {
4282
- const R = k.target;
4281
+ function w(M) {
4282
+ const R = M.target;
4283
4283
  R.isContentEditable || R.closest('[contenteditable="true"]') || R.tagName === "BUTTON" || R.tagName === "SVG" || R.closest("button") || l.value?.focus();
4284
4284
  }
4285
- function x(k) {
4286
- k.type === "focus" ? (c.value = !0, u.value = !0) : k.type;
4285
+ function x(M) {
4286
+ M.type === "focus" ? (c.value = !0, u.value = !0) : M.type;
4287
4287
  }
4288
4288
  const D = () => {
4289
4289
  o.value = "";
4290
4290
  };
4291
- return (k, R) => nt((f(), F("div", {
4291
+ return (M, R) => nt((f(), F("div", {
4292
4292
  ref: "query-builder-input",
4293
4293
  class: "pv-relative pv-query-builder-input-wrapper",
4294
4294
  onFocus: x,
@@ -4298,7 +4298,7 @@ const bo = () => {
4298
4298
  key: 0,
4299
4299
  name: "search"
4300
4300
  })),
4301
- P("div", {
4301
+ A("div", {
4302
4302
  class: "pv-flex pv-full-width pv-inset-inline pv-query-builder-input",
4303
4303
  style: He([{ "--inset-size": "4px", "--flex-gap": "4px" }, e.enableWrapQueryTerms || d.value ? "flex-wrap: wrap;" : "flex-wrap: nowrap;"])
4304
4304
  }, [
@@ -4309,7 +4309,7 @@ const bo = () => {
4309
4309
  "onUpdate:wrapContent": R[1] || (R[1] = (_) => d.value = _),
4310
4310
  "query-term-display-limit": e.queryTermDisplayLimit
4311
4311
  }, null, 8, ["modelValue", "wrap-content", "query-term-display-limit"]),
4312
- nt(P("input", {
4312
+ nt(A("input", {
4313
4313
  "onUpdate:modelValue": R[2] || (R[2] = (_) => o.value = _),
4314
4314
  ref: "search-input",
4315
4315
  "data-testid": "pv-search-input",
@@ -4344,7 +4344,7 @@ const bo = () => {
4344
4344
  key: `${E}-${_.searchText}`,
4345
4345
  ref_for: !0
4346
4346
  }, _, {
4347
- onHandleSelected: (M) => A(_),
4347
+ onHandleSelected: (k) => P(_),
4348
4348
  config: n
4349
4349
  }), null, 16, ["onHandleSelected"]))), 128))
4350
4350
  ]),
@@ -4360,7 +4360,7 @@ mo.extend({
4360
4360
  });
4361
4361
  const El = Symbol("FilterStoreKey"), Kn = Symbol("FocusStoreKey"), xo = Symbol("SortStateKey"), Gt = Symbol("GridApiKey"), pd = Symbol("ColumnDisplayOrderKey"), Co = Symbol("currentlyActiveFilterKey"), So = Symbol("AvailableFilterColumnsKey"), al = Symbol("AvailableRowGroupColumnsKey"), _l = Symbol("RowGroupColumnFieldsKey"), wo = Symbol(
4362
4362
  "GroupColumnCellValueColumnKey"
4363
- ), Nl = Symbol("ExpandedRowsKey"), Fo = Symbol("FirstDataRenderedKey"), To = Symbol("RowsLoadingKey"), ko = Symbol("CurrentPageKey"), Mo = Symbol("TotalPageKey"), $o = Symbol("ActiveChartFilterOptionKey"), Oo = Symbol("RowGroupColumnsKey"), Po = Symbol("ChartTypeKey"), Ao = Symbol("SortTypesKey"), Ro = Symbol("ActiveChartKey"), Lo = Symbol("ActiveSortKey"), Do = Symbol("ActiveSeriesKey"), Vo = Symbol("AvailableSeriesKey"), Io = Symbol("ActiveSecondarySeriesKey"), Bo = Symbol("AvailableSecondarySeriesKey"), ol = Symbol("EnableAdvancedFilterKey"), vd = {
4363
+ ), Nl = Symbol("ExpandedRowsKey"), Fo = Symbol("FirstDataRenderedKey"), To = Symbol("RowsLoadingKey"), ko = Symbol("CurrentPageKey"), Mo = Symbol("TotalPageKey"), $o = Symbol("ActiveChartFilterOptionKey"), Oo = Symbol("RowGroupColumnsKey"), Ao = Symbol("ChartTypeKey"), Po = Symbol("SortTypesKey"), Ro = Symbol("ActiveChartKey"), Lo = Symbol("ActiveSortKey"), Do = Symbol("ActiveSeriesKey"), Vo = Symbol("AvailableSeriesKey"), Io = Symbol("ActiveSecondarySeriesKey"), Bo = Symbol("AvailableSecondarySeriesKey"), ol = Symbol("EnableAdvancedFilterKey"), vd = {
4364
4364
  class: "pv-flex",
4365
4365
  style: { "--flex-wrap": "nowrap" }
4366
4366
  }, md = ["id"], hd = {
@@ -4424,8 +4424,8 @@ const El = Symbol("FilterStoreKey"), Kn = Symbol("FocusStoreKey"), xo = Symbol("
4424
4424
  onListOrderUpdated: y
4425
4425
  }, {
4426
4426
  trigger: pe(() => [
4427
- P("div", vd, [
4428
- g[0] || (g[0] = P("p", { class: "pv-truncate pv-text-body-md" }, "Compare", -1)),
4427
+ A("div", vd, [
4428
+ g[0] || (g[0] = A("p", { class: "pv-truncate pv-text-body-md" }, "Compare", -1)),
4429
4429
  O(l).length > 0 ? (f(), j(O(hn), {
4430
4430
  key: 0,
4431
4431
  value: O(l).length,
@@ -4441,7 +4441,7 @@ const El = Symbol("FilterStoreKey"), Kn = Symbol("FocusStoreKey"), xo = Symbol("
4441
4441
  key: 0,
4442
4442
  id: p(S.value)
4443
4443
  }, [
4444
- P("label", {
4444
+ A("label", {
4445
4445
  class: se(["pv-flex", {
4446
4446
  "pv-border-bottom": m + 1 === O(l).length
4447
4447
  }])
@@ -4451,7 +4451,7 @@ const El = Symbol("FilterStoreKey"), Kn = Symbol("FocusStoreKey"), xo = Symbol("
4451
4451
  name: "reorder",
4452
4452
  class: "pv-text-subdued"
4453
4453
  })) : (f(), F("span", hd)),
4454
- P("input", {
4454
+ A("input", {
4455
4455
  type: "checkbox",
4456
4456
  class: "pv-checkbox",
4457
4457
  checked: a(S.value),
@@ -4461,7 +4461,7 @@ const El = Symbol("FilterStoreKey"), Kn = Symbol("FocusStoreKey"), xo = Symbol("
4461
4461
  T.target.checked
4462
4462
  )
4463
4463
  }, null, 40, gd),
4464
- P("span", yd, te(S.label), 1),
4464
+ A("span", yd, te(S.label), 1),
4465
4465
  a(S.value) ? (f(), F("sup", bd, te(m + 1), 1)) : N("", !0)
4466
4466
  ], 2)
4467
4467
  ], 8, md)) : N("", !0)
@@ -4502,7 +4502,7 @@ const Td = /* @__PURE__ */ Xe(Sd, [["render", Fd]]), ql = (e = null) => {
4502
4502
  }, rl = () => {
4503
4503
  const e = be(Kn, null);
4504
4504
  return e || ql();
4505
- }, kd = { class: "pv-table-group-cell" }, Md = { class: "pv-text-body-xxs pv-text-subdued" }, $d = { key: 0 }, Od = { style: { "line-height": "20px" } }, Pd = { class: "pv-text-title-md" }, Ad = {
4505
+ }, kd = { class: "pv-table-group-cell" }, Md = { class: "pv-text-body-xxs pv-text-subdued" }, $d = { key: 0 }, Od = { style: { "line-height": "20px" } }, Ad = { class: "pv-text-title-md" }, Pd = {
4506
4506
  key: 0,
4507
4507
  class: "pv-flex",
4508
4508
  style: { flex: "1", "--flex-justify": "flex-end" }
@@ -4520,8 +4520,8 @@ const Td = /* @__PURE__ */ Xe(Sd, [["render", Fd]]), ql = (e = null) => {
4520
4520
  if (w?.bucketMin !== void 0 && w?.bucketMax !== void 0) {
4521
4521
  const D = a.value.rowGroupColumn?.getColDef()?.valueFormatter;
4522
4522
  if (typeof D == "function") {
4523
- const k = D({ value: w.bucketMin }), R = D({ value: w.bucketMax });
4524
- return `${k} - ${R}`;
4523
+ const M = D({ value: w.bucketMin }), R = D({ value: w.bucketMax });
4524
+ return `${M} - ${R}`;
4525
4525
  }
4526
4526
  return `${w.bucketMin} - ${w.bucketMax}`;
4527
4527
  }
@@ -4541,7 +4541,7 @@ const Td = /* @__PURE__ */ Xe(Sd, [["render", Fd]]), ql = (e = null) => {
4541
4541
  }), y = (w) => {
4542
4542
  const x = w.node.expanded, D = w.node.rowIndex;
4543
4543
  D != null && (o.value[D] = x);
4544
- }, { isFocused: v, computedFocuses: g, removeFocus: S, canRemoveFocus: m } = rl(), T = h(() => v(a.value.key, a.value.field) ? "pv-flex" : ""), A = h(() => {
4544
+ }, { isFocused: v, computedFocuses: g, removeFocus: S, canRemoveFocus: m } = rl(), T = h(() => v(a.value.key, a.value.field) ? "pv-flex" : ""), P = h(() => {
4545
4545
  const w = g.value;
4546
4546
  return a.value.key && w.includes(a.value.key);
4547
4547
  });
@@ -4558,16 +4558,16 @@ const Td = /* @__PURE__ */ Xe(Sd, [["render", Fd]]), ql = (e = null) => {
4558
4558
  key: 0,
4559
4559
  class: se(T.value)
4560
4560
  }, [
4561
- P("div", kd, [
4562
- P("p", Md, [
4561
+ A("div", kd, [
4562
+ A("p", Md, [
4563
4563
  ze(te(O(a).rowGroupColumn?.getColDef().headerName) + " ", 1),
4564
4564
  e.params.displayCount && r.value && d.value > 0 ? (f(), F("span", $d, " (" + te(d.value.toLocaleString()) + ") ", 1)) : N("", !0)
4565
4565
  ]),
4566
- P("div", Od, [
4567
- P("p", Pd, te(s.value), 1)
4566
+ A("div", Od, [
4567
+ A("p", Ad, te(s.value), 1)
4568
4568
  ])
4569
4569
  ]),
4570
- A.value && O(m)() ? (f(), F("div", Ad, [
4570
+ P.value && O(m)() ? (f(), F("div", Pd, [
4571
4571
  Q(It, {
4572
4572
  variant: "dark",
4573
4573
  tooltipPosition: "center-left",
@@ -4582,14 +4582,14 @@ const Td = /* @__PURE__ */ Xe(Sd, [["render", Fd]]), ql = (e = null) => {
4582
4582
  }, null, 8, ["class"])
4583
4583
  ]),
4584
4584
  "tooltip-content": pe(() => [
4585
- P("span", null, " Remove " + te(e.params.focusText || "Focus"), 1)
4585
+ A("span", null, " Remove " + te(e.params.focusText || "Focus"), 1)
4586
4586
  ]),
4587
4587
  _: 1
4588
4588
  })
4589
4589
  ])) : N("", !0)
4590
4590
  ], 2)) : N("", !0),
4591
- P("div", null, [
4592
- P("p", null, [
4591
+ A("div", null, [
4592
+ A("p", null, [
4593
4593
  e.params.displayRowNumber && p.value ? (f(), F("span", Rd, te(p.value), 1)) : N("", !0),
4594
4594
  ze(" " + te(c.value), 1)
4595
4595
  ])
@@ -4778,9 +4778,9 @@ const Gl = (e) => {
4778
4778
  class: "pv-flex",
4779
4779
  ondblclick: o
4780
4780
  }, [
4781
- P("div", qd, [
4782
- P("p", null, te(u.value), 1),
4783
- P("p", Gd, te(l.value), 1)
4781
+ A("div", qd, [
4782
+ A("p", null, te(u.value), 1),
4783
+ A("p", Gd, te(l.value), 1)
4784
4784
  ]),
4785
4785
  Q($e, {
4786
4786
  size: "xl",
@@ -5136,21 +5136,21 @@ const Gl = (e) => {
5136
5136
  return Object.keys(_).length === 0;
5137
5137
  }), y = $({}), v = $({}), g = $({}), S = $({}), m = () => {
5138
5138
  const _ = {};
5139
- return Object.entries(v.value).forEach(([E, M]) => {
5140
- const V = M.filter((G) => !!G);
5139
+ return Object.entries(v.value).forEach(([E, k]) => {
5140
+ const V = k.filter((G) => !!G);
5141
5141
  V.length > 0 && (_[E] = {
5142
5142
  filterType: "set",
5143
5143
  values: V
5144
5144
  });
5145
5145
  }), _;
5146
- }, T = async (_, E, M, V) => {
5146
+ }, T = async (_, E, k, V) => {
5147
5147
  const G = S.value[E.field] || void 0, Y = v.value[E.field] || [];
5148
5148
  let re = V;
5149
5149
  t.value != null && (re = m());
5150
5150
  const he = {
5151
5151
  api: _,
5152
5152
  colDef: E,
5153
- column: M,
5153
+ column: k,
5154
5154
  filterModel: re,
5155
5155
  query: G,
5156
5156
  selectedValues: Y
@@ -5159,7 +5159,7 @@ const Gl = (e) => {
5159
5159
  const xe = (a.value[ae] || 0) + 1;
5160
5160
  a.value[ae] = xe;
5161
5161
  const H = Y.map((q) => {
5162
- const W = A(ae, q);
5162
+ const W = P(ae, q);
5163
5163
  return W || { value: q, label: String(q) };
5164
5164
  });
5165
5165
  let ne = await s.value?.(he);
@@ -5174,12 +5174,12 @@ const Gl = (e) => {
5174
5174
  return o.value[ae] = Date.now(), i.value[ae] = !1, q.filter((W, X) => q.indexOf(W) === X);
5175
5175
  } else
5176
5176
  return [];
5177
- }, A = (_, E) => {
5178
- const M = [
5177
+ }, P = (_, E) => {
5178
+ const k = [
5179
5179
  ...y.value[_] || [],
5180
5180
  ...g.value[_] || []
5181
5181
  ];
5182
- return M ? M.find((V) => V?.value === E) : null;
5182
+ return k ? k.find((V) => V?.value === E) : null;
5183
5183
  }, w = (_, E) => {
5184
5184
  if (!E) return {};
5185
5185
  const V = Me(_)?.queryColIds || [];
@@ -5196,35 +5196,35 @@ const Gl = (e) => {
5196
5196
  return {};
5197
5197
  }, x = (_, E) => {
5198
5198
  v.value[_] = E;
5199
- const M = [], V = e.value;
5199
+ const k = [], V = e.value;
5200
5200
  if (Sl(V)) {
5201
5201
  const re = V[_];
5202
5202
  if (re?.values) {
5203
5203
  const he = re.values || [];
5204
- M.push(...he);
5204
+ k.push(...he);
5205
5205
  }
5206
5206
  }
5207
- M.push(...E);
5207
+ k.push(...E);
5208
5208
  const G = [];
5209
5209
  return E.forEach((Y) => {
5210
- const re = A(_, Y);
5210
+ const re = P(_, Y);
5211
5211
  re && G.push(re);
5212
- }), g.value[_] = G, M.filter((Y, re) => M.indexOf(Y) === re);
5213
- }, D = (_) => v.value[_] || [], k = (_, E) => {
5212
+ }), g.value[_] = G, k.filter((Y, re) => k.indexOf(Y) === re);
5213
+ }, D = (_) => v.value[_] || [], M = (_, E) => {
5214
5214
  S.value[_] = E;
5215
5215
  }, R = (_, E) => {
5216
- const M = /* @__PURE__ */ new Set(), V = _ ? Object.keys(_) : [], G = E ? Object.keys(E) : [], Y = V.filter((ae) => G.includes(ae));
5217
- [...V, ...G].filter((ae) => !Y.includes(ae)).forEach((ae) => M.add(ae));
5216
+ const k = /* @__PURE__ */ new Set(), V = _ ? Object.keys(_) : [], G = E ? Object.keys(E) : [], Y = V.filter((ae) => G.includes(ae));
5217
+ [...V, ...G].filter((ae) => !Y.includes(ae)).forEach((ae) => k.add(ae));
5218
5218
  for (const ae of Y)
5219
- JSON.stringify(_?.[ae]) !== JSON.stringify(E?.[ae]) && M.add(ae);
5219
+ JSON.stringify(_?.[ae]) !== JSON.stringify(E?.[ae]) && k.add(ae);
5220
5220
  const he = Date.now();
5221
- for (const ae of Array.from(M))
5221
+ for (const ae of Array.from(k))
5222
5222
  l.value[ae] = he;
5223
5223
  };
5224
5224
  return mn(
5225
5225
  [e, t],
5226
- ([_, E], [M, V]) => {
5227
- JSON.stringify(_) !== JSON.stringify(M) && R(_ || {}, M || {}), JSON.stringify(E) !== JSON.stringify(V) && R(E || {}, e.value || {});
5226
+ ([_, E], [k, V]) => {
5227
+ JSON.stringify(_) !== JSON.stringify(k) && R(_ || {}, k || {}), JSON.stringify(E) !== JSON.stringify(V) && R(E || {}, e.value || {});
5228
5228
  },
5229
5229
  {
5230
5230
  deep: !0,
@@ -5246,14 +5246,14 @@ const Gl = (e) => {
5246
5246
  filterValueSelectedMetadataMap: g,
5247
5247
  filterStoreHandler: s,
5248
5248
  fetchFilterValues: T,
5249
- filterValueContext: A,
5249
+ filterValueContext: P,
5250
5250
  filterModelEmpty: d,
5251
5251
  getFilterSelectedValues: D,
5252
5252
  getSearchMatchDataFromFilterContext: w,
5253
5253
  isServerSideFilter: c,
5254
5254
  stagedFilterModel: t,
5255
5255
  setFilterSelectedValues: x,
5256
- setFilterValueSearchText: k,
5256
+ setFilterValueSearchText: M,
5257
5257
  tableSearchFilterModel: n,
5258
5258
  tableSearchFilterModelEmpty: p,
5259
5259
  tableSearchHandler: u
@@ -5275,32 +5275,32 @@ const Gl = (e) => {
5275
5275
  isServerSideFilter: v,
5276
5276
  setFilterValueSearchText: g,
5277
5277
  setFilterSelectedValues: S
5278
- } = il(), { computedFocuses: m, removeFocus: T, computedFocusType: A } = rl(), w = be(To, $(!1)), x = be(Fo, $(!1)), D = be(ol, $(!1)), k = $([]), R = $([]), _ = $(!1), E = $(""), M = h(() => t.value.field || ""), V = h(() => t.value.filter || ""), G = h(() => t.value.headerName || ""), Y = h(() => n?.value === "vertical"), re = h(() => Ta(t.value)), he = h(() => Eo(t.value)), ae = h(() => Nd(t.value)), xe = h(() => Me(t.value).filterOptionsSortDescription), H = h(() => Me(t.value).filterOptionsSortTooltip), ne = h(() => !Me(t.value).filterSearch), q = h(() => Me(t.value).emptyFilterResultsRenderer), W = h(() => Me(t.value).filterOptionsRenderer), X = h(() => Me(t.value).filterHeaderRenderer), Te = h(() => Me(t.value).filterFooterRenderer), Ve = h(() => he.value ? k.value.length >= he.value : !1), Ue = h(() => R.value.filter((K) => K != null && !k.value.includes(K))), je = h(() => R.value.length === 1 && R.value[0] === null && k.value.length === 0), Z = () => Object.entries(u.value).filter(([K]) => K !== M.value).reduce((K, [, J]) => Math.max(K, J), 0), Se = (K = !1) => {
5279
- let J = [];
5278
+ } = il(), { computedFocuses: m, removeFocus: T, computedFocusType: P } = rl(), w = be(To, $(!1)), x = be(Fo, $(!1)), D = be(ol, $(!1)), M = $([]), R = $([]), _ = $(!1), E = $(""), k = h(() => t.value.field || ""), V = h(() => t.value.filter || ""), G = h(() => t.value.headerName || ""), Y = h(() => n?.value === "vertical"), re = h(() => Ta(t.value)), he = h(() => Eo(t.value)), ae = h(() => Nd(t.value)), xe = h(() => Me(t.value).filterOptionsSortDescription), H = h(() => Me(t.value).filterOptionsSortTooltip), ne = h(() => !Me(t.value).filterSearch), q = h(() => Me(t.value).emptyFilterResultsRenderer), W = h(() => Me(t.value).filterOptionsRenderer), X = h(() => Me(t.value).filterHeaderRenderer), Te = h(() => Me(t.value).filterFooterRenderer), Ve = h(() => he.value ? M.value.length >= he.value : !1), Ue = h(() => R.value.filter((K) => K != null && !M.value.includes(K))), je = h(() => R.value.length === 1 && R.value[0] === null && M.value.length === 0), J = () => Object.entries(u.value).filter(([K]) => K !== k.value).reduce((K, [, ee]) => Math.max(K, ee), 0), Se = (K = !1) => {
5279
+ let ee = [];
5280
5280
  const de = Me(t.value), ge = de.aggregateFields && de.aggregateFields.length > 0;
5281
5281
  if (D.value && o.value) {
5282
5282
  const ye = o.value.getAdvancedFilterModel();
5283
5283
  if (ge)
5284
5284
  for (const Ne of de.aggregateFields) {
5285
5285
  const We = kt(Ne, ye);
5286
- J.push(...We);
5286
+ ee.push(...We);
5287
5287
  }
5288
5288
  else
5289
- J = kt(M.value, ye);
5289
+ ee = kt(k.value, ye);
5290
5290
  } else
5291
- J = Cl(t.value, r.value);
5292
- K ? k.value = J : k.value = Array.from(
5293
- /* @__PURE__ */ new Set([...y(M.value), ...J])
5291
+ ee = Cl(t.value, r.value);
5292
+ K ? M.value = ee : M.value = Array.from(
5293
+ /* @__PURE__ */ new Set([...y(k.value), ...ee])
5294
5294
  );
5295
- }, Ie = (K) => K.sort((J, de) => {
5296
- const ge = k.value.includes(J), ye = k.value.includes(de);
5295
+ }, Ie = (K) => K.sort((ee, de) => {
5296
+ const ge = M.value.includes(ee), ye = M.value.includes(de);
5297
5297
  return ge && !ye ? -1 : !ge && ye ? 1 : 0;
5298
- }), qe = async (K = !1, J = !1) => {
5298
+ }), qe = async (K = !1, ee = !1) => {
5299
5299
  if (!o.value) return;
5300
5300
  if (D.value) {
5301
- const We = Z() || 0, we = c.value[M.value] || 0, ve = K && d.value[M.value] !== !0 && We >= we;
5302
- if (v.value && (J || ve)) {
5303
- const Ke = o.value.getColumn(M.value);
5301
+ const We = J() || 0, we = c.value[k.value] || 0, ve = K && d.value[k.value] !== !0 && We >= we;
5302
+ if (v.value && (ee || ve)) {
5303
+ const Ke = o.value.getColumn(k.value);
5304
5304
  if (Ke) {
5305
5305
  const Ge = await a(
5306
5306
  o.value,
@@ -5315,25 +5315,25 @@ const Gl = (e) => {
5315
5315
  }
5316
5316
  const de = await Xd(o.value, t.value);
5317
5317
  if (!de) return;
5318
- const ge = Z() || 0, ye = c.value[M.value] || 0, Ne = K && d.value[M.value] !== !0 && ge >= ye;
5319
- v.value && (J || Ne) && de.refreshFilterValues(), R.value = Ie(de.getFilterValues());
5318
+ const ge = J() || 0, ye = c.value[k.value] || 0, Ne = K && d.value[k.value] !== !0 && ge >= ye;
5319
+ v.value && (ee || Ne) && de.refreshFilterValues(), R.value = Ie(de.getFilterValues());
5320
5320
  }, at = (K) => {
5321
- const J = p(M.value, K);
5321
+ const ee = p(k.value, K);
5322
5322
  let de = re.value;
5323
- if (J?.colField && Sn(t.value)) {
5324
- const ge = o.value?.getColumnDef(J?.colField);
5323
+ if (ee?.colField && Sn(t.value)) {
5324
+ const ge = o.value?.getColumnDef(ee?.colField);
5325
5325
  de = ge ? Ta(ge) : de;
5326
5326
  }
5327
5327
  return de ? de({
5328
5328
  value: K,
5329
- context: J
5330
- }) : J?.label || K;
5331
- }, mt = (K) => je.value || p(M.value, K)?.isSelectable === !1 ? !0 : ae.value ? !1 : Ve.value && !k.value.includes(K), ot = (K) => !K || !o.value ? "" : o.value.getColumnDef(K)?.headerName || K, St = h(() => {
5332
- const J = [...k.value.filter(
5329
+ context: ee
5330
+ }) : ee?.label || K;
5331
+ }, mt = (K) => je.value || p(k.value, K)?.isSelectable === !1 ? !0 : ae.value ? !1 : Ve.value && !M.value.includes(K), ot = (K) => !K || !o.value ? "" : o.value.getColumnDef(K)?.headerName || K, St = h(() => {
5332
+ const ee = [...M.value.filter(
5333
5333
  (ge) => ge != null && ge !== "" && !R.value.includes(ge)
5334
5334
  ), ...R.value];
5335
- return J.filter((ge, ye) => J.indexOf(ge) === ye).filter((ge) => ge != null && ge !== "").map((ge) => {
5336
- const ye = p(M.value, ge);
5335
+ return ee.filter((ge, ye) => ee.indexOf(ge) === ye).filter((ge) => ge != null && ge !== "").map((ge) => {
5336
+ const ye = p(k.value, ge);
5337
5337
  let Ne = xe.value ? "suggestions" : null;
5338
5338
  ye?.isPreference && (Ne = "preferences");
5339
5339
  let We = null;
@@ -5351,32 +5351,32 @@ const Gl = (e) => {
5351
5351
  };
5352
5352
  });
5353
5353
  }), wt = h({
5354
- get: () => k.value.map((K) => {
5355
- const J = p(M.value, K), de = J?.colField ? ot(J.colField) : void 0;
5354
+ get: () => M.value.map((K) => {
5355
+ const ee = p(k.value, K), de = ee?.colField ? ot(ee.colField) : void 0;
5356
5356
  return {
5357
5357
  id: K,
5358
5358
  text: at(K),
5359
5359
  subText: de,
5360
- context: J || { value: K || "" }
5360
+ context: ee || { value: K || "" }
5361
5361
  };
5362
5362
  }),
5363
5363
  set: (K) => {
5364
- k.value = K.map((J) => J.id), Be(), m.value.forEach((J) => {
5365
- !k.value.includes(J) && A.value === M.value && T(J);
5364
+ M.value = K.map((ee) => ee.id), Be(), m.value.forEach((ee) => {
5365
+ !M.value.includes(ee) && P.value === k.value && T(ee);
5366
5366
  }), l?.();
5367
5367
  }
5368
5368
  }), rt = (K) => {
5369
- const J = {};
5369
+ const ee = {};
5370
5370
  for (const de of K) {
5371
5371
  if (de === null) continue;
5372
- const ye = p(M.value, de)?.colField || M.value;
5373
- J[ye] || (J[ye] = []), J[ye].push(de);
5372
+ const ye = p(k.value, de)?.colField || k.value;
5373
+ ee[ye] || (ee[ye] = []), ee[ye].push(de);
5374
5374
  }
5375
- return J;
5376
- }, Be = async (K, J) => {
5375
+ return ee;
5376
+ }, Be = async (K, ee) => {
5377
5377
  if (!o.value) return;
5378
- if (K !== void 0 && J !== void 0) {
5379
- const we = K || M.value, ve = J;
5378
+ if (K !== void 0 && ee !== void 0) {
5379
+ const we = K || k.value, ve = ee;
5380
5380
  if (D.value) {
5381
5381
  const Ge = Xt(we, ve || []);
5382
5382
  if (Y.value) {
@@ -5402,7 +5402,7 @@ const Gl = (e) => {
5402
5402
  });
5403
5403
  return;
5404
5404
  }
5405
- const de = rt(k.value), ge = Me(t.value), ye = ge.aggregateFields && ge.aggregateFields.length > 0;
5405
+ const de = rt(M.value), ge = Me(t.value), ye = ge.aggregateFields && ge.aggregateFields.length > 0;
5406
5406
  if (D.value) {
5407
5407
  let we = Y.value ? i.value : o.value.getAdvancedFilterModel();
5408
5408
  if (ye) {
@@ -5429,42 +5429,42 @@ const Gl = (e) => {
5429
5429
  } : we = Ge;
5430
5430
  }
5431
5431
  } else {
5432
- const ve = k.value.length > 0 ? k.value : null, Ke = Xt(M.value, ve || []);
5433
- we = Yt(we, Ke, M.value);
5432
+ const ve = M.value.length > 0 ? M.value : null, Ke = Xt(k.value, ve || []);
5433
+ we = Yt(we, Ke, k.value);
5434
5434
  }
5435
5435
  Y.value ? i.value = we : o.value.setAdvancedFilterModel(we);
5436
5436
  return;
5437
5437
  }
5438
- const Ne = k.value.length > 0 ? k.value : null;
5438
+ const Ne = M.value.length > 0 ? M.value : null;
5439
5439
  if (Y.value) {
5440
5440
  const we = await Rn(o.value, t.value, Ne);
5441
5441
  i.value = {
5442
5442
  ...i.value,
5443
- [M.value]: we
5443
+ [k.value]: we
5444
5444
  };
5445
5445
  return;
5446
5446
  }
5447
5447
  const We = await Rn(o.value, t.value, Ne);
5448
- o.value.setColumnFilterModel(M.value, We).then(() => {
5448
+ o.value.setColumnFilterModel(k.value, We).then(() => {
5449
5449
  o.value && o.value.onFilterChanged();
5450
5450
  });
5451
- }, Je = (K, J) => {
5452
- K && ae.value ? k.value = [K] : K && !k.value.includes(K) && (k.value = [...k.value, K]), J && J !== M.value ? Be(J, [K]) : Be(), l?.();
5453
- }, Ft = (K, J) => {
5454
- k.value = k.value.filter((de) => de !== K), J && J !== M.value ? Be(J, null) : Be(), l?.();
5451
+ }, Je = (K, ee) => {
5452
+ K && ae.value ? M.value = [K] : K && !M.value.includes(K) && (M.value = [...M.value, K]), ee && ee !== k.value ? Be(ee, [K]) : Be(), l?.();
5453
+ }, Ft = (K, ee) => {
5454
+ M.value = M.value.filter((de) => de !== K), ee && ee !== k.value ? Be(ee, null) : Be(), l?.();
5455
5455
  }, ht = () => {
5456
5456
  E.value = "";
5457
5457
  };
5458
5458
  return oe(
5459
5459
  () => u.value,
5460
5460
  () => {
5461
- Z() > (c.value[M.value] || 0) && qe(!0);
5461
+ J() > (c.value[k.value] || 0) && qe(!0);
5462
5462
  },
5463
5463
  { deep: !0 }
5464
5464
  ), mn(
5465
- () => d.value[M.value],
5465
+ () => d.value[k.value],
5466
5466
  () => {
5467
- const K = d.value[M.value];
5467
+ const K = d.value[k.value];
5468
5468
  _.value && !K ? (qe(), _.value = !1) : K && (_.value = !0);
5469
5469
  },
5470
5470
  { deep: !0 }
@@ -5473,27 +5473,27 @@ const Gl = (e) => {
5473
5473
  () => {
5474
5474
  if (Y.value) {
5475
5475
  if (D.value) {
5476
- const K = Me(t.value), J = K.aggregateFields && K.aggregateFields.length > 0;
5476
+ const K = Me(t.value), ee = K.aggregateFields && K.aggregateFields.length > 0;
5477
5477
  let de = [];
5478
5478
  const ge = i.value;
5479
- if (J)
5479
+ if (ee)
5480
5480
  for (const ye of K.aggregateFields) {
5481
5481
  const Ne = kt(ye, ge);
5482
5482
  de.push(...Ne);
5483
5483
  }
5484
5484
  else
5485
- de = kt(M.value, ge);
5486
- k.value = de;
5485
+ de = kt(k.value, ge);
5486
+ M.value = de;
5487
5487
  return;
5488
5488
  }
5489
5489
  if (V.value === "agSetColumnFilter") {
5490
5490
  const K = i.value;
5491
- k.value = K?.[M.value]?.values || [];
5491
+ M.value = K?.[k.value]?.values || [];
5492
5492
  } else if (V.value === "agMultiColumnFilter") {
5493
- const J = i.value?.[M.value]?.filterModels?.find(
5493
+ const ee = i.value?.[k.value]?.filterModels?.find(
5494
5494
  (de) => de && de.filterType === "set"
5495
5495
  );
5496
- k.value = J?.values || [];
5496
+ M.value = ee?.values || [];
5497
5497
  } else
5498
5498
  console.error(`Staged filter model update for filter type ${V.value} is not yet supported.`);
5499
5499
  }
@@ -5512,19 +5512,19 @@ const Gl = (e) => {
5512
5512
  ye.push(...ve);
5513
5513
  }
5514
5514
  else
5515
- ye = kt(M.value, Ne);
5516
- const We = k.value.some((we) => we !== null && !ye.includes(we));
5515
+ ye = kt(k.value, Ne);
5516
+ const We = M.value.some((we) => we !== null && !ye.includes(we));
5517
5517
  Se(We);
5518
5518
  return;
5519
5519
  }
5520
- const K = Cl(t.value, r.value), J = k.value.some((de) => !K.includes(de));
5521
- Se(J);
5520
+ const K = Cl(t.value, r.value), ee = M.value.some((de) => !K.includes(de));
5521
+ Se(ee);
5522
5522
  },
5523
5523
  { deep: !0 }
5524
5524
  ), oe(
5525
5525
  () => s.value,
5526
5526
  () => {
5527
- k.value = [];
5527
+ M.value = [];
5528
5528
  }
5529
5529
  ), oe(
5530
5530
  () => x.value,
@@ -5534,28 +5534,28 @@ const Gl = (e) => {
5534
5534
  }, 2e3) : await qe(!0), Se();
5535
5535
  }
5536
5536
  ), oe(
5537
- () => k.value,
5537
+ () => M.value,
5538
5538
  (K) => {
5539
- S(M.value, K);
5539
+ S(k.value, K);
5540
5540
  }
5541
5541
  ), mn(
5542
5542
  () => E.value,
5543
5543
  async (K) => {
5544
- g(M.value, K), await qe(!0, !0);
5544
+ g(k.value, K), await qe(!0, !0);
5545
5545
  },
5546
5546
  { debounce: 300 }
5547
5547
  ), lt(() => {
5548
5548
  Se();
5549
5549
  }), {
5550
5550
  // State
5551
- selectedValues: k,
5551
+ selectedValues: M,
5552
5552
  filterValues: R,
5553
5553
  isLoading: _,
5554
5554
  filterSearchText: E,
5555
5555
  rowsLoading: w,
5556
5556
  gridApi: o,
5557
5557
  // Computed
5558
- filterField: M,
5558
+ filterField: k,
5559
5559
  filterType: V,
5560
5560
  filterDisplayName: G,
5561
5561
  isInFilterPanel: Y,
@@ -5635,16 +5635,16 @@ const Gl = (e) => {
5635
5635
  emptyFilterResultsRenderer: S,
5636
5636
  filterOptionsRenderer: m,
5637
5637
  filterHeaderRenderer: T,
5638
- filterFooterRenderer: A,
5638
+ filterFooterRenderer: P,
5639
5639
  filterOptionsSortDescription: w,
5640
5640
  filterOptionsSortTooltip: x,
5641
5641
  // Methods
5642
5642
  filterValueContext: D,
5643
- formatDisplayValue: k,
5643
+ formatDisplayValue: M,
5644
5644
  getLatestFilterValues: R,
5645
5645
  addSelectedValue: _,
5646
5646
  removeSelectedValue: E,
5647
- handleDropdownClosed: M,
5647
+ handleDropdownClosed: k,
5648
5648
  getColDisplayNameForField: V
5649
5649
  } = l1({
5650
5650
  filterColDef: jl(n, "filterColDef"),
@@ -5673,17 +5673,17 @@ const Gl = (e) => {
5673
5673
  }), H = (q) => {
5674
5674
  E(q), Y(q, u.value) && ae() && re(q);
5675
5675
  }, ne = () => {
5676
- M(), l("filter-closed");
5676
+ k(), l("filter-closed");
5677
5677
  };
5678
5678
  return (q, W) => (f(), F(fe, null, [
5679
- P("div", null, [
5679
+ A("div", null, [
5680
5680
  O(d) ? (f(), F("ul", a1, [
5681
5681
  (f(!0), F(fe, null, Qe(O(o), (X) => (f(), F("li", {
5682
5682
  key: `${O(c)}-${X}`,
5683
5683
  style: { "max-width": "100%", "line-height": "1rem" }
5684
5684
  }, [
5685
5685
  Q(vl, {
5686
- label: O(k)(X) || "",
5686
+ label: O(M)(X) || "",
5687
5687
  showClear: !O(Y)(X, O(u)) || O(ae)(),
5688
5688
  onHandleClose: (Te) => H(X)
5689
5689
  }, null, 8, ["label", "showClear", "onHandleClose"])
@@ -5722,8 +5722,8 @@ const Gl = (e) => {
5722
5722
  onDropdownClosed: ne
5723
5723
  }, Vt({
5724
5724
  preferences: pe(() => [
5725
- P("div", o1, [
5726
- W[5] || (W[5] = P("p", { class: "pv-text-subdued pv-text-body-xxs" }, "Your Preferences", -1)),
5725
+ A("div", o1, [
5726
+ W[5] || (W[5] = A("p", { class: "pv-text-subdued pv-text-body-xxs" }, "Your Preferences", -1)),
5727
5727
  Q(O(It), {
5728
5728
  variant: "dark",
5729
5729
  size: "sm"
@@ -5744,7 +5744,7 @@ const Gl = (e) => {
5744
5744
  ])
5745
5745
  ]),
5746
5746
  suggestions: pe(() => [
5747
- P("div", r1, [
5747
+ A("div", r1, [
5748
5748
  Q(O(It), {
5749
5749
  variant: "dark",
5750
5750
  disableInteractive: !0,
@@ -5753,7 +5753,7 @@ const Gl = (e) => {
5753
5753
  style: { "--max-width": "200px" }
5754
5754
  }, Vt({
5755
5755
  label: pe(() => [
5756
- P("p", {
5756
+ A("p", {
5757
5757
  class: se(["pv-text-subdued pv-text-body-xxs", O(x) ? "suggested-title-label" : ""])
5758
5758
  }, te(O(w)), 3)
5759
5759
  ]),
@@ -5785,10 +5785,10 @@ const Gl = (e) => {
5785
5785
  ]),
5786
5786
  key: "1"
5787
5787
  } : void 0,
5788
- O(A) ? {
5788
+ O(P) ? {
5789
5789
  name: "footer",
5790
5790
  fn: pe((X) => [
5791
- (f(), j(yt(O(A)), $t(un(X)), null, 16))
5791
+ (f(), j(yt(O(P)), $t(un(X)), null, 16))
5792
5792
  ]),
5793
5793
  key: "2"
5794
5794
  } : void 0
@@ -5796,7 +5796,7 @@ const Gl = (e) => {
5796
5796
  ]),
5797
5797
  O(d) ? (f(), F("div", i1, [
5798
5798
  O(p).length > 0 ? (f(), F("div", s1, [
5799
- P("ul", u1, [
5799
+ A("ul", u1, [
5800
5800
  Q(O(It), {
5801
5801
  variant: "dark",
5802
5802
  interactive: !1,
@@ -5805,8 +5805,8 @@ const Gl = (e) => {
5805
5805
  style: { "--max-width": "200px" }
5806
5806
  }, Vt({
5807
5807
  label: pe(() => [
5808
- P("li", c1, [
5809
- P("p", {
5808
+ A("li", c1, [
5809
+ A("p", {
5810
5810
  class: se(["pv-text-subdued pv-text-body-md", O(x) ? "suggested-title-label" : ""])
5811
5811
  }, " Suggested: ", 2)
5812
5812
  ])
@@ -5828,7 +5828,7 @@ const Gl = (e) => {
5828
5828
  }, [
5829
5829
  Q(O(ru), {
5830
5830
  disabled: O(a),
5831
- label: O(k)(X) || "",
5831
+ label: O(M)(X) || "",
5832
5832
  onHandleClick: (Te) => O(_)(X, O(D)(O(u), X)?.colField)
5833
5833
  }, null, 8, ["disabled", "label", "onHandleClick"])
5834
5834
  ], 2))), 128))
@@ -5837,7 +5837,7 @@ const Gl = (e) => {
5837
5837
  ])) : N("", !0)
5838
5838
  ], 64));
5839
5839
  }
5840
- }), Pa = /* @__PURE__ */ Xe(f1, [["__scopeId", "data-v-c6a79991"]]), p1 = { class: "pv-flex" }, v1 = { class: "pv-flex" }, m1 = { class: "pv-flex pv-space-between pv-stack-8" }, h1 = { class: "pv-text-title-lg" }, g1 = {
5840
+ }), Aa = /* @__PURE__ */ Xe(f1, [["__scopeId", "data-v-c6a79991"]]), p1 = { class: "pv-flex" }, v1 = { class: "pv-flex" }, m1 = { class: "pv-flex pv-space-between pv-stack-8" }, h1 = { class: "pv-text-title-lg" }, g1 = {
5841
5841
  id: "filter-vertical-drawer",
5842
5842
  class: "pv-flex-vertical pv-space-between pv-full-width pv-inset-block-16",
5843
5843
  style: { height: "100%" }
@@ -5859,63 +5859,63 @@ const Gl = (e) => {
5859
5859
  },
5860
5860
  emits: ["handle-settings-icon"],
5861
5861
  setup(e) {
5862
- const t = be(Gt, $(null)), n = be(So, $([])), l = be(Co, $(null)), o = be(ol, $(!1)), a = e, { filterModelCleared: r, stagedFilterModel: i, filterModel: s } = il(), u = $(!1), c = $(!1), d = $(""), p = h(() => n.value.flatMap((M) => Me(M)?.aggregateFields || [])), y = h(() => n.value.filter((V) => zo(V) && !p.value.includes(V.field || "")).sort((V, G) => {
5862
+ const t = be(Gt, $(null)), n = be(So, $([])), l = be(Co, $(null)), o = be(ol, $(!1)), a = e, { filterModelCleared: r, stagedFilterModel: i, filterModel: s } = il(), u = $(!1), c = $(!1), d = $(""), p = h(() => n.value.flatMap((k) => Me(k)?.aggregateFields || [])), y = h(() => n.value.filter((V) => zo(V) && !p.value.includes(V.field || "")).sort((V, G) => {
5863
5863
  const Y = Sn(V), re = Sn(G);
5864
5864
  return Y && !re ? -1 : !Y && re ? 1 : 0;
5865
5865
  })), v = h(() => y.value), g = h(() => {
5866
- const M = d.value?.trim().toLowerCase() || "";
5867
- return !M || M === "" ? v.value : n.value.filter((V) => {
5866
+ const k = d.value?.trim().toLowerCase() || "";
5867
+ return !k || k === "" ? v.value : n.value.filter((V) => {
5868
5868
  const G = V.headerName?.toLowerCase() || V.field?.toLowerCase();
5869
- return G ? G.includes(M) : !1;
5869
+ return G ? G.includes(k) : !1;
5870
5870
  });
5871
5871
  }), S = h(() => {
5872
5872
  const V = [...y.value].slice(0, a.maxHorizontalFilters);
5873
5873
  return l.value ? [...V.slice(0, a.maxHorizontalFilters - 1), l.value] : V;
5874
- }), m = (M, V) => {
5875
- if (!M || typeof M != "object") return;
5876
- const G = M;
5874
+ }), m = (k, V) => {
5875
+ if (!k || typeof k != "object") return;
5876
+ const G = k;
5877
5877
  if (G.filterType && G.filterType !== "join" && G.colId) {
5878
5878
  V.add(G.colId);
5879
5879
  return;
5880
5880
  }
5881
5881
  G.filterType === "join" && Array.isArray(G.conditions) && G.conditions.forEach((Y) => m(Y, V));
5882
5882
  }, T = h(() => {
5883
- const M = s.value;
5883
+ const k = s.value;
5884
5884
  if (o.value && t.value) {
5885
5885
  const G = /* @__PURE__ */ new Set();
5886
- return m(M, G), G.size;
5886
+ return m(k, G), G.size;
5887
5887
  }
5888
5888
  const V = s.value || {};
5889
5889
  return Object.keys(V).length;
5890
- }), A = $(!1), w = () => {
5891
- A.value = !0;
5890
+ }), P = $(!1), w = () => {
5891
+ P.value = !0;
5892
5892
  }, x = () => {
5893
- t.value && (A.value = !1, o.value ? i.value = t.value.getAdvancedFilterModel() : i.value = t.value.getFilterModel(), u.value = !0);
5894
- }, { clearAllFocuses: D } = rl(), k = () => {
5893
+ t.value && (P.value = !1, o.value ? i.value = t.value.getAdvancedFilterModel() : i.value = t.value.getFilterModel(), u.value = !0);
5894
+ }, { clearAllFocuses: D } = rl(), M = () => {
5895
5895
  t.value && (i.value = null, o.value ? t.value.setAdvancedFilterModel(null) : (t.value.setFilterModel(null), t.value.onFilterChanged()), r.value += 1, D(), c.value = !1);
5896
5896
  }, R = () => {
5897
5897
  u.value = !1, d.value = "";
5898
5898
  }, _ = () => {
5899
5899
  R();
5900
5900
  }, E = () => {
5901
- A.value && t.value && (o.value ? t.value.setAdvancedFilterModel(i.value) : (t.value.setFilterModel(i.value), t.value.onFilterChanged())), R();
5901
+ P.value && t.value && (o.value ? t.value.setAdvancedFilterModel(i.value) : (t.value.setFilterModel(i.value), t.value.onFilterChanged())), R();
5902
5902
  };
5903
- return (M, V) => (f(), F(fe, null, [
5904
- P("div", p1, [
5903
+ return (k, V) => (f(), F(fe, null, [
5904
+ A("div", p1, [
5905
5905
  (f(!0), F(fe, null, Qe(S.value, (G) => (f(), F(fe, {
5906
5906
  key: G.field
5907
5907
  }, [
5908
- O(t) ? (f(), j(Pa, {
5908
+ O(t) ? (f(), j(Aa, {
5909
5909
  key: 0,
5910
5910
  "enable-focus-view": a.enableFocusView,
5911
5911
  "display-preferences-icon": a.displayPreferencesIcon,
5912
5912
  "focusable-columns": a.focusableColumns,
5913
5913
  "focus-text": a.focusText,
5914
5914
  filterColDef: G,
5915
- onHandleSettingsIcon: V[0] || (V[0] = (Y) => M.$emit("handle-settings-icon", Y))
5915
+ onHandleSettingsIcon: V[0] || (V[0] = (Y) => k.$emit("handle-settings-icon", Y))
5916
5916
  }, null, 8, ["enable-focus-view", "display-preferences-icon", "focusable-columns", "focus-text", "filterColDef"])) : N("", !0)
5917
5917
  ], 64))), 128)),
5918
- P("div", v1, [
5918
+ A("div", v1, [
5919
5919
  a.enableVerticalPanel ? (f(), j(O($e), {
5920
5920
  key: 0,
5921
5921
  label: "All Filters",
@@ -5947,9 +5947,9 @@ const Gl = (e) => {
5947
5947
  style: { "max-width": "450px", "z-index": "10" }
5948
5948
  }, {
5949
5949
  header: pe(() => [
5950
- P("div", m1, [
5951
- P("p", h1, "All Filters (" + te(v.value.length) + ")", 1),
5952
- P("button", {
5950
+ A("div", m1, [
5951
+ A("p", h1, "All Filters (" + te(v.value.length) + ")", 1),
5952
+ A("button", {
5953
5953
  class: "pv-button-ghost",
5954
5954
  onClick: V[2] || (V[2] = (G) => _())
5955
5955
  }, [
@@ -5963,18 +5963,18 @@ const Gl = (e) => {
5963
5963
  }, null, 8, ["modelValue"])
5964
5964
  ]),
5965
5965
  footer: pe(() => [
5966
- P("div", S1, [
5967
- P("button", {
5966
+ A("div", S1, [
5967
+ A("button", {
5968
5968
  class: "pv-button-ghost",
5969
- onClick: V[5] || (V[5] = (G) => k())
5969
+ onClick: V[5] || (V[5] = (G) => M())
5970
5970
  }, "Clear All"),
5971
- P("div", w1, [
5971
+ A("div", w1, [
5972
5972
  Q(O($e), {
5973
5973
  variant: "ghost",
5974
5974
  label: "Cancel",
5975
5975
  onClick: V[6] || (V[6] = (G) => _())
5976
5976
  }),
5977
- A.value ? (f(), j(O($e), {
5977
+ P.value ? (f(), j(O($e), {
5978
5978
  key: 0,
5979
5979
  variant: "primary",
5980
5980
  label: "Apply",
@@ -5989,20 +5989,20 @@ const Gl = (e) => {
5989
5989
  ])
5990
5990
  ]),
5991
5991
  default: pe(() => [
5992
- P("div", g1, [
5993
- P("div", y1, [
5992
+ A("div", g1, [
5993
+ A("div", y1, [
5994
5994
  (f(!0), F(fe, null, Qe(g.value, (G, Y) => (f(), F("div", {
5995
5995
  key: G.field,
5996
5996
  class: se([{
5997
5997
  "pv-border-bottom": Y < g.value.length - 1
5998
5998
  }, "pv-stack-12"])
5999
5999
  }, [
6000
- P("details", b1, [
6001
- P("summary", x1, [
6002
- P("span", C1, te(G.headerName), 1)
6000
+ A("details", b1, [
6001
+ A("summary", x1, [
6002
+ A("span", C1, te(G.headerName), 1)
6003
6003
  ]),
6004
- P("div", null, [
6005
- O(t) ? (f(), j(Pa, {
6004
+ A("div", null, [
6005
+ O(t) ? (f(), j(Aa, {
6006
6006
  key: 0,
6007
6007
  "filter-style": "vertical",
6008
6008
  "enable-focus-view": a.enableFocusView,
@@ -6011,7 +6011,7 @@ const Gl = (e) => {
6011
6011
  "focusable-columns": a.focusableColumns,
6012
6012
  "focus-text": a.focusText,
6013
6013
  onFilterSelectionChanged: w,
6014
- onHandleSettingsIcon: V[4] || (V[4] = (re) => M.$emit("handle-settings-icon", re))
6014
+ onHandleSettingsIcon: V[4] || (V[4] = (re) => k.$emit("handle-settings-icon", re))
6015
6015
  }, null, 8, ["enable-focus-view", "filterColDef", "display-preferences-icon", "focusable-columns", "focus-text"])) : N("", !0)
6016
6016
  ])
6017
6017
  ])
@@ -6029,10 +6029,10 @@ const Gl = (e) => {
6029
6029
  style: { top: "50%" }
6030
6030
  }, {
6031
6031
  body: pe(() => [...V[13] || (V[13] = [
6032
- P("p", { class: "pv-text-body-lg" }, "This action will remove all currently applied filters. Would you like to continue?", -1)
6032
+ A("p", { class: "pv-text-body-lg" }, "This action will remove all currently applied filters. Would you like to continue?", -1)
6033
6033
  ])]),
6034
6034
  footer: pe(() => [
6035
- P("div", F1, [
6035
+ A("div", F1, [
6036
6036
  Q(O($e), {
6037
6037
  label: "Cancel",
6038
6038
  variant: "secondary",
@@ -6043,7 +6043,7 @@ const Gl = (e) => {
6043
6043
  label: "Clear All Filters",
6044
6044
  variant: "primary",
6045
6045
  size: "lg",
6046
- onClick: k
6046
+ onClick: M
6047
6047
  })
6048
6048
  ])
6049
6049
  ]),
@@ -6083,15 +6083,15 @@ const Gl = (e) => {
6083
6083
  Tl(() => {
6084
6084
  m(l.params);
6085
6085
  });
6086
- function A(w) {
6086
+ function P(w) {
6087
6087
  return m(w), !0;
6088
6088
  }
6089
- return t({ refresh: A }), (w, x) => (f(), F("div", {
6089
+ return t({ refresh: P }), (w, x) => (f(), F("div", {
6090
6090
  class: "ag-custom-header-cell pv-flex pv-full-width pv-space-between",
6091
6091
  style: He(y.value),
6092
6092
  onClick: T
6093
6093
  }, [
6094
- P("div", {
6094
+ A("div", {
6095
6095
  class: se(["pv-flex", { "pv-text-right": p.value }])
6096
6096
  }, [
6097
6097
  i.value ? (f(), j(Le, {
@@ -6099,14 +6099,14 @@ const Gl = (e) => {
6099
6099
  name: i.value,
6100
6100
  class: "pv-text-tertiary"
6101
6101
  }, null, 8, ["name"])) : N("", !0),
6102
- P("p", null, te(r.value), 1),
6102
+ A("p", null, te(r.value), 1),
6103
6103
  a.value && d.value !== "" ? (f(), j(Le, {
6104
6104
  key: 1,
6105
6105
  name: d.value
6106
6106
  }, null, 8, ["name"])) : N("", !0)
6107
6107
  ], 2),
6108
6108
  c.value ? (f(), F("div", k1, [
6109
- P("div", {
6109
+ A("div", {
6110
6110
  ref_key: "menuButton",
6111
6111
  ref: s,
6112
6112
  class: "ag-header-cell-menu-button",
@@ -6122,7 +6122,7 @@ const Gl = (e) => {
6122
6122
  ])) : N("", !0)
6123
6123
  ], 4));
6124
6124
  }
6125
- }), Aa = /* @__PURE__ */ Xe(M1, [["__scopeId", "data-v-90d4e92d"]]), $1 = Va.withParams({
6125
+ }), Pa = /* @__PURE__ */ Xe(M1, [["__scopeId", "data-v-90d4e92d"]]), $1 = Va.withParams({
6126
6126
  headerHeight: "30px",
6127
6127
  headerBackgroundColor: "white",
6128
6128
  headerCellHoverBackgroundColor: "#F7F8F8",
@@ -6160,7 +6160,7 @@ const Gl = (e) => {
6160
6160
  wrapperBorderRadius: "8px",
6161
6161
  menuBackgroundColor: "white",
6162
6162
  accentColor: "#36C5BA"
6163
- }), P1 = { class: "pv-popover-menu" }, A1 = {
6163
+ }), A1 = { class: "pv-popover-menu" }, P1 = {
6164
6164
  class: "pv-popover",
6165
6165
  style: { "--height": "auto" }
6166
6166
  }, R1 = ["disabled"], L1 = /* @__PURE__ */ le({
@@ -6180,21 +6180,21 @@ const Gl = (e) => {
6180
6180
  const a = new Blob([o], { type: "text/csv;charset=utf-8;" }), r = document.createElement("a");
6181
6181
  r.href = URL.createObjectURL(a), r.setAttribute("download", "datatable_export.csv"), r.click(), n.value = !1;
6182
6182
  }
6183
- return (o, a) => (f(), F("nav", P1, [
6184
- a[0] || (a[0] = P("button", {
6183
+ return (o, a) => (f(), F("nav", A1, [
6184
+ a[0] || (a[0] = A("button", {
6185
6185
  type: "button",
6186
6186
  class: "pv-button-icon"
6187
6187
  }, [
6188
- P("svg", {
6188
+ A("svg", {
6189
6189
  "aria-hidden": "true",
6190
6190
  class: "pv-icon-24"
6191
6191
  }, [
6192
- P("title", null, "ellipsis"),
6193
- P("use", { "xlink:href": "#ellipsis" })
6192
+ A("title", null, "ellipsis"),
6193
+ A("use", { "xlink:href": "#ellipsis" })
6194
6194
  ])
6195
6195
  ], -1)),
6196
- P("div", A1, [
6197
- P("button", {
6196
+ A("div", P1, [
6197
+ A("button", {
6198
6198
  class: "pv-button pv-text-body-sm pv-inset-square-8",
6199
6199
  onClick: wn(l, ["prevent"]),
6200
6200
  disabled: n.value
@@ -6288,7 +6288,7 @@ const Gl = (e) => {
6288
6288
  return o && xt(o) ? a.toLocaleString() : a;
6289
6289
  });
6290
6290
  return (o, a) => (f(), F("div", null, [
6291
- P("p", null, [
6291
+ A("p", null, [
6292
6292
  n.value ? (f(), F("span", E1, te(n.value), 1)) : N("", !0),
6293
6293
  ze(" " + te(l.value), 1)
6294
6294
  ])
@@ -6323,15 +6323,15 @@ const Gl = (e) => {
6323
6323
  filterModel: u.value
6324
6324
  };
6325
6325
  a.value = !0;
6326
- const T = (await d.value?.(S))?.filter((A) => A !== null) || [];
6327
- o.value = T.map((A) => {
6326
+ const T = (await d.value?.(S))?.filter((P) => P !== null) || [];
6327
+ o.value = T.map((P) => {
6328
6328
  let w = "search";
6329
- const x = r.value?.getColumnDef(A.queryField || "");
6329
+ const x = r.value?.getColumnDef(P.queryField || "");
6330
6330
  return x && (w = Gl(x.context?.dataType || null) || "search"), {
6331
- id: `${A.queryField}-${A.queryText}`,
6332
- text: A.queryText,
6331
+ id: `${P.queryField}-${P.queryText}`,
6332
+ text: P.queryText,
6333
6333
  icon: w,
6334
- queryTerm: A
6334
+ queryTerm: P
6335
6335
  };
6336
6336
  }), a.value = !1;
6337
6337
  };
@@ -6381,7 +6381,7 @@ const Gl = (e) => {
6381
6381
  },
6382
6382
  setup(e) {
6383
6383
  return (t, n) => (f(), F("div", G1, [
6384
- P("p", z1, te(e.params.value), 1)
6384
+ A("p", z1, te(e.params.value), 1)
6385
6385
  ]));
6386
6386
  }
6387
6387
  }), j1 = { class: "pv-stack-16" }, K1 = { class: "pv-flex pv-space-between" }, U1 = { class: "pv-flex" }, W1 = { style: { width: "30%", "max-width": "50%" } }, Y1 = {
@@ -6464,9 +6464,9 @@ const Gl = (e) => {
6464
6464
  $r,
6465
6465
  Or,
6466
6466
  ir,
6467
- Pr,
6468
- sr,
6469
6467
  Ar,
6468
+ sr,
6469
+ Pr,
6470
6470
  ur,
6471
6471
  Rr,
6472
6472
  Lr,
@@ -6509,22 +6509,22 @@ const Gl = (e) => {
6509
6509
  C.success({ rowData: [] }), D.value = !0;
6510
6510
  return;
6511
6511
  }
6512
- k.value = !0;
6512
+ M.value = !0;
6513
6513
  const I = C.success, z = C.fail, ue = C.request.groupKeys?.length || 0, b = C.request.rowGroupCols?.length || 0, L = ue === b;
6514
6514
  let B = !1;
6515
6515
  const U = ae.value;
6516
6516
  if (b > 0 && ue === 0) {
6517
- const ee = C.request.rowGroupCols[0].id;
6518
- B = Go(U, ee);
6517
+ const Z = C.request.rowGroupCols[0].id;
6518
+ B = Go(U, Z);
6519
6519
  }
6520
6520
  if (C.request.rowGroupCols = _o(C.request.rowGroupCols, C.api.getColumnDefs?.()), (C.request.groupKeys?.length || 0) > 0) {
6521
- const ee = C.parentNode?.data;
6522
- if (ee?.bucketMin != null && ee?.bucketMax != null) {
6521
+ const Z = C.parentNode?.data;
6522
+ if (Z?.bucketMin != null && Z?.bucketMax != null) {
6523
6523
  if (a.enableAdvancedFilter) {
6524
6524
  let ce = C.request.filterModel || null;
6525
6525
  C.request.rowGroupCols?.forEach((ie, Ce) => {
6526
6526
  if (ie.aggFunc === Ut && Ce < C.request.groupKeys.length) {
6527
- const ke = ie.field || ie.id, Ae = {
6527
+ const ke = ie.field || ie.id, Pe = {
6528
6528
  filterType: "join",
6529
6529
  type: "AND",
6530
6530
  conditions: [
@@ -6532,17 +6532,17 @@ const Gl = (e) => {
6532
6532
  filterType: "number",
6533
6533
  colId: ke,
6534
6534
  type: "greaterThanOrEqual",
6535
- filter: ee.bucketMin
6535
+ filter: Z.bucketMin
6536
6536
  },
6537
6537
  {
6538
6538
  filterType: "number",
6539
6539
  colId: ke,
6540
6540
  type: "lessThanOrEqual",
6541
- filter: ee.bucketMax
6541
+ filter: Z.bucketMax
6542
6542
  }
6543
6543
  ]
6544
6544
  };
6545
- ce = Yt(ce, Ae, ke);
6545
+ ce = Yt(ce, Pe, ke);
6546
6546
  }
6547
6547
  }), ce && (C.request.filterModel = ce);
6548
6548
  } else {
@@ -6557,12 +6557,12 @@ const Gl = (e) => {
6557
6557
  {
6558
6558
  filterType: "number",
6559
6559
  type: "greaterThanOrEqual",
6560
- filter: ee.bucketMin
6560
+ filter: Z.bucketMin
6561
6561
  },
6562
6562
  {
6563
6563
  filterType: "number",
6564
6564
  type: "lessThanOrEqual",
6565
- filter: ee.bucketMax
6565
+ filter: Z.bucketMax
6566
6566
  }
6567
6567
  ]
6568
6568
  };
@@ -6577,39 +6577,39 @@ const Gl = (e) => {
6577
6577
  }
6578
6578
  }
6579
6579
  if (C.request.rowGroupCols?.length === 0 ? C.request.valueCols = [] : C.request.valueCols = C.request.valueCols?.filter(
6580
- (ee) => !C.request.rowGroupCols?.some((ce) => ce.id === ee.id)
6580
+ (Z) => !C.request.rowGroupCols?.some((ce) => ce.id === Z.id)
6581
6581
  ), (L || B) && !G.tableSearchFilterModelEmpty.value)
6582
6582
  if (a.enableAdvancedFilter) {
6583
- const ee = C.request.filterModel;
6584
- ee ? C.request.filterModel = {
6583
+ const Z = C.request.filterModel;
6584
+ Z ? C.request.filterModel = {
6585
6585
  filterType: "join",
6586
6586
  type: "AND",
6587
- conditions: [ee, U]
6587
+ conditions: [Z, U]
6588
6588
  } : C.request.filterModel = U;
6589
6589
  } else {
6590
- const ee = C.request.filterModel;
6591
- C.request.filterModel = Yd(T, ee, U);
6590
+ const Z = C.request.filterModel;
6591
+ C.request.filterModel = Yd(T, Z, U);
6592
6592
  }
6593
- C.success = (ee) => {
6594
- if (k.value = !1, a.enableFocusView && Ve.value.length > 0 && Te.value && ee.rowData) {
6595
- const ce = Fa(ee.rowData, Te.value, Ve.value);
6593
+ C.success = (Z) => {
6594
+ if (M.value = !1, a.enableFocusView && Ve.value.length > 0 && Te.value && Z.rowData) {
6595
+ const ce = Fa(Z.rowData, Te.value, Ve.value);
6596
6596
  if (ce) {
6597
- ee.rowData = ce, I(ee);
6597
+ Z.rowData = ce, I(Z);
6598
6598
  return;
6599
6599
  }
6600
6600
  }
6601
- I(ee);
6601
+ I(Z);
6602
6602
  }, C.fail = () => {
6603
- k.value = !1, z();
6603
+ M.value = !1, z();
6604
6604
  }, a.serverSideRowHandler?.(C);
6605
6605
  }
6606
6606
  } : null, d = "filterValuesSetHandler" in a && a.filterValuesSetHandler ? async (C) => {
6607
6607
  let I = [];
6608
6608
  const z = { ...he.value };
6609
- !D.value && A ? I = Cl(C.colDef, z) : I = await ne(C.api, C.colDef, C.column, z), C.success([...I, ""]);
6609
+ !D.value && P ? I = Cl(C.colDef, z) : I = await ne(C.api, C.colDef, C.column, z), C.success([...I, ""]);
6610
6610
  } : null, p = (C) => {
6611
6611
  const I = C.node, z = C.column?.getColId();
6612
- return !I.group || !z ? !1 : Z.value.some((ue) => {
6612
+ return !I.group || !z ? !1 : J.value.some((ue) => {
6613
6613
  if (ue.field === z)
6614
6614
  return !0;
6615
6615
  });
@@ -6622,7 +6622,7 @@ const Gl = (e) => {
6622
6622
  suppressColumnsToolPanel: !0,
6623
6623
  minWidth: 150,
6624
6624
  flex: 1,
6625
- headerComponent: a.enableInlineFilters ? void 0 : Aa,
6625
+ headerComponent: a.enableInlineFilters ? void 0 : Pa,
6626
6626
  cellDataType: !1,
6627
6627
  tooltipComponent: H1,
6628
6628
  cellClass: (I) => Be(I.column) ? "" : xt(I.column?.getColDef()) ? "pv-text-right" : "",
@@ -6685,11 +6685,11 @@ const Gl = (e) => {
6685
6685
  c && d && zo(C) && (I = Qd(C, d));
6686
6686
  const z = C.context;
6687
6687
  return z && (I = m(I, z)), I;
6688
- }).filter((C) => C != null) || [], A = xl(
6688
+ }).filter((C) => C != null) || [], P = xl(
6689
6689
  a.initialGridState,
6690
6690
  T,
6691
6691
  a.enableAdvancedFilter
6692
- ), w = $(null), x = $([]), D = $(!1), k = $(!1), R = h(() => {
6692
+ ), w = $(null), x = $([]), D = $(!1), M = $(!1), R = h(() => {
6693
6693
  if (x.value.length > 0) {
6694
6694
  const C = x.value[0], I = T.find((b) => b.field === C), z = he.value;
6695
6695
  let ue = !z;
@@ -6697,10 +6697,10 @@ const Gl = (e) => {
6697
6697
  return I.headerName;
6698
6698
  }
6699
6699
  return null;
6700
- }), _ = h(() => G.filterModelEmpty.value && a.requireFiltersToShowData ? !1 : R.value === null), E = h(() => R.value ? `Select at least one value for "${R.value}" to view data.` : "Select a filter to view data."), M = Qn(null), V = $([]), G = il(), Y = be(Kn, null), re = Y || ql(), he = G.filterModel, ae = G.tableSearchFilterModel, xe = G.filterValueMap, H = G.filterValueSelectedMetadataMap, ne = G.fetchFilterValues, q = G.filterStoreHandler, W = G.tableSearchHandler;
6700
+ }), _ = h(() => G.filterModelEmpty.value && a.requireFiltersToShowData ? !1 : R.value === null), E = h(() => R.value ? `Select at least one value for "${R.value}" to view data.` : "Select a filter to view data."), k = Qn(null), V = $([]), G = il(), Y = be(Kn, null), re = Y || ql(), he = G.filterModel, ae = G.tableSearchFilterModel, xe = G.filterValueMap, H = G.filterValueSelectedMetadataMap, ne = G.fetchFilterValues, q = G.filterStoreHandler, W = G.tableSearchHandler;
6701
6701
  q.value = a.filterValuesSetHandler, W.value = a.tableSearchHandler, xe.value = a.initialFilterValueMap || {};
6702
- const X = $(null), Te = h(() => re?.computedFocusType.value || null), Ve = h(() => re?.computedFocuses.value || []), Ue = h(() => T.filter((C) => C.filter)), je = h(() => T.filter((C) => C.enableRowGroup)), Z = h(() => T.filter((C) => C.aggFunc)), Se = $(null), Ie = $({}), qe = $(1), at = $(0);
6703
- Fe(El, G), Fe(Kn, re), Fe(xo, V), Fe(Gt, M), Fe(pd, X), Fe(Co, w), Fe(So, Ue), Fe(al, je), Fe(_l, x), Fe(wo, Se), Fe(Nl, Ie), Fe(Fo, D), Fe(To, k), Fe(ko, qe), Fe(Mo, at);
6702
+ const X = $(null), Te = h(() => re?.computedFocusType.value || null), Ve = h(() => re?.computedFocuses.value || []), Ue = h(() => T.filter((C) => C.filter)), je = h(() => T.filter((C) => C.enableRowGroup)), J = h(() => T.filter((C) => C.aggFunc)), Se = $(null), Ie = $({}), qe = $(1), at = $(0);
6703
+ Fe(El, G), Fe(Kn, re), Fe(xo, V), Fe(Gt, k), Fe(pd, X), Fe(Co, w), Fe(So, Ue), Fe(al, je), Fe(_l, x), Fe(wo, Se), Fe(Nl, Ie), Fe(Fo, D), Fe(To, M), Fe(ko, qe), Fe(Mo, at);
6704
6704
  const mt = h(() => a.enableAdvancedFilter);
6705
6705
  Fe(ol, mt);
6706
6706
  const ot = h(() => !a.enableFocusView && !a.rowData || a.enableFocusView && !Ve.value.length && !Te.value ? a.rowData : Fa(a.rowData, Te.value, Ve.value));
@@ -6710,43 +6710,43 @@ const Gl = (e) => {
6710
6710
  s("focus-update", { filterField: Te.value, focuses: C });
6711
6711
  }
6712
6712
  ), oe(u, (C) => {
6713
- if (!M.value) return;
6713
+ if (!k.value) return;
6714
6714
  const I = T.filter((z) => z.context?.devOnly).map((z) => z.field).filter(Boolean);
6715
- I.length > 0 && M.value.setColumnsVisible(I, C);
6715
+ I.length > 0 && k.value.setColumnsVisible(I, C);
6716
6716
  });
6717
6717
  const St = (C) => {
6718
- M.value = C.api;
6718
+ k.value = C.api;
6719
6719
  const I = a.leftPinnedColumnName ?? (x.value.length ? x.value[0] : null), z = [];
6720
- a.hideAllRowGroupedColumns && x.value.forEach((ue) => z.push(ue)), I && (Se.value = C.api.getColumn(I), z.push(I)), A && Mn(A), C.api.setColumnsVisible([...z], !1), X.value = C.api.getAllGridColumns(), qe.value = C.api.paginationGetCurrentPage() + 1, at.value = C.api.paginationGetTotalPages(), s("grid-ready", C);
6720
+ a.hideAllRowGroupedColumns && x.value.forEach((ue) => z.push(ue)), I && (Se.value = C.api.getColumn(I), z.push(I)), P && Mn(P), C.api.setColumnsVisible([...z], !1), X.value = C.api.getAllGridColumns(), qe.value = C.api.paginationGetCurrentPage() + 1, at.value = C.api.paginationGetTotalPages(), s("grid-ready", C);
6721
6721
  }, wt = (C) => {
6722
- if (M.value) {
6723
- const I = J();
6722
+ if (k.value) {
6723
+ const I = ee();
6724
6724
  Oa(he.value, I) || (he.value = I, s("filter-changed", C));
6725
6725
  }
6726
6726
  }, rt = (C) => {
6727
6727
  V.value = C.api?.getState()?.sort?.sortModel || [], D.value && s("sort-changed", C);
6728
6728
  }, Be = (C) => C.getColId() && C.getColId().includes("ag-Grid-AutoColumn"), Je = $(!1), Ft = async (C) => {
6729
- if (!M.value) {
6729
+ if (!k.value) {
6730
6730
  console.error("Grid API not available");
6731
6731
  return;
6732
6732
  }
6733
6733
  if (!c)
6734
6734
  return;
6735
6735
  const I = C || { route: [], purge: !0 };
6736
- M.value.refreshServerSide(I);
6736
+ k.value.refreshServerSide(I);
6737
6737
  }, ht = () => H.value, K = async () => {
6738
- if (Je.value = !0, !M.value)
6738
+ if (Je.value = !0, !k.value)
6739
6739
  return console.error("Grid API not available"), Je.value = !1, null;
6740
6740
  try {
6741
- const C = a.serverSideCsvHandler, I = M.value?.getState(), z = {
6741
+ const C = a.serverSideCsvHandler, I = k.value?.getState(), z = {
6742
6742
  rowGroupCols: [],
6743
- valueCols: M.value?.getValueColumns().map((b) => ({
6743
+ valueCols: k.value?.getValueColumns().map((b) => ({
6744
6744
  id: b.getId(),
6745
6745
  field: b.getColDef().field,
6746
6746
  aggFunc: typeof b.getColDef().aggFunc == "string" ? b.getColDef().aggFunc : void 0,
6747
6747
  displayName: b.getColDef().headerName || b.getColDef().field || ""
6748
6748
  })) || [],
6749
- filterModel: J(),
6749
+ filterModel: ee(),
6750
6750
  sortModel: I?.sort?.sortModel || [],
6751
6751
  pivotCols: [],
6752
6752
  pivotMode: !1,
@@ -6758,7 +6758,7 @@ const Gl = (e) => {
6758
6758
  const b = {
6759
6759
  request: z,
6760
6760
  parentNode: {},
6761
- api: M.value,
6761
+ api: k.value,
6762
6762
  context: void 0,
6763
6763
  success: () => {
6764
6764
  },
@@ -6769,46 +6769,46 @@ const Gl = (e) => {
6769
6769
  }
6770
6770
  const ue = a.serverSideRowHandler;
6771
6771
  return ue ? await new Promise((b, L) => {
6772
- const B = M.value?.getState(), U = {
6772
+ const B = k.value?.getState(), U = {
6773
6773
  request: z,
6774
6774
  parentNode: {},
6775
- api: M.value,
6775
+ api: k.value,
6776
6776
  context: void 0,
6777
6777
  success: (me) => {
6778
- const ee = M.value?.getRowGroupColumns().map((Oe) => Oe.getColDef().field).filter((Oe) => !!Oe) || [], ce = M.value?.getAllDisplayedColumns().map((Oe) => Oe.getColDef().field).filter((Oe) => !!Oe) || [], ie = M.value?.getValueColumns().map((Oe) => Oe.getColDef().field).filter((Oe) => !!Oe) || [], Ce = Array.from(/* @__PURE__ */ new Set([...ee, ...ce, ...ie])), ke = me.rowData.map((Oe) => {
6779
- const At = {};
6778
+ const Z = k.value?.getRowGroupColumns().map((Oe) => Oe.getColDef().field).filter((Oe) => !!Oe) || [], ce = k.value?.getAllDisplayedColumns().map((Oe) => Oe.getColDef().field).filter((Oe) => !!Oe) || [], ie = k.value?.getValueColumns().map((Oe) => Oe.getColDef().field).filter((Oe) => !!Oe) || [], Ce = Array.from(/* @__PURE__ */ new Set([...Z, ...ce, ...ie])), ke = me.rowData.map((Oe) => {
6779
+ const Pt = {};
6780
6780
  return Ce.forEach((De) => {
6781
6781
  const On = Oe[De];
6782
- At[De] = On != null ? String(On) : null;
6783
- }), At;
6784
- }), Ae = Hr.unparse(ke);
6785
- Je.value = !1, b(Ae);
6782
+ Pt[De] = On != null ? String(On) : null;
6783
+ }), Pt;
6784
+ }), Pe = Hr.unparse(ke);
6785
+ Je.value = !1, b(Pe);
6786
6786
  },
6787
6787
  fail: () => {
6788
6788
  Je.value = !1, L("CSV export failed.");
6789
6789
  }
6790
6790
  };
6791
6791
  ue(U, !0);
6792
- }) : (console.warn("Client-side export does not return CSV string"), Je.value = !1, M.value.exportDataAsCsv(), null);
6792
+ }) : (console.warn("Client-side export does not return CSV string"), Je.value = !1, k.value.exportDataAsCsv(), null);
6793
6793
  } catch (C) {
6794
6794
  return console.error("CSV export failed", C), Je.value = !1, null;
6795
6795
  }
6796
- }, J = () => M.value ? a.enableAdvancedFilter ? M.value.getAdvancedFilterModel() : M.value.getFilterModel() : null;
6796
+ }, ee = () => k.value ? a.enableAdvancedFilter ? k.value.getAdvancedFilterModel() : k.value.getFilterModel() : null;
6797
6797
  t({
6798
6798
  getCsvData: K,
6799
6799
  refreshData: Ft,
6800
6800
  getFilterValueSelectedMetadataMap: ht,
6801
6801
  availableRowGroupColumns: je,
6802
- availableAggFuncColumns: Z,
6802
+ availableAggFuncColumns: J,
6803
6803
  rowGroupColumnFields: x,
6804
- getPvFilterModel: J,
6804
+ getPvFilterModel: ee,
6805
6805
  setPvFilterModel: (C) => {
6806
- if (!M.value)
6806
+ if (!k.value)
6807
6807
  return;
6808
6808
  const I = Sl(C);
6809
6809
  if (a.enableAdvancedFilter) {
6810
6810
  const z = I ? qo(C) : C;
6811
- M.value.setAdvancedFilterModel(z);
6811
+ k.value.setAdvancedFilterModel(z);
6812
6812
  } else {
6813
6813
  if (!I) {
6814
6814
  console.warn(
@@ -6816,7 +6816,7 @@ const Gl = (e) => {
6816
6816
  );
6817
6817
  return;
6818
6818
  }
6819
- M.value.setFilterModel(C);
6819
+ k.value.setFilterModel(C);
6820
6820
  }
6821
6821
  }
6822
6822
  });
@@ -6824,7 +6824,7 @@ const Gl = (e) => {
6824
6824
  ct(() => {
6825
6825
  const I = Se.value, z = C.api.getRowGroupColumns(), ue = z.length > 0;
6826
6826
  let b;
6827
- ue && a.leftPinnedColumnName && (b = C.api.getColumn(a.leftPinnedColumnName || "")), ue && !a.leftPinnedColumnName && (b = z[0]), b ? (Se.value = b, Ye.value.headerName = b.getColDef().headerName, Ye.value.headerComponent = a.enableInlineFilters ? void 0 : Aa, Ye.value.context = {
6827
+ ue && a.leftPinnedColumnName && (b = C.api.getColumn(a.leftPinnedColumnName || "")), ue && !a.leftPinnedColumnName && (b = z[0]), b ? (Se.value = b, Ye.value.headerName = b.getColDef().headerName, Ye.value.headerComponent = a.enableInlineFilters ? void 0 : Pa, Ye.value.context = {
6828
6828
  dataType: Se.value?.getColDef().context?.dataType || null
6829
6829
  }, C.api.setColumnsVisible([b.getColId()], !1)) : (Se.value = null, Ye.value.headerName = "", Ye.value.headerComponent = void 0, Ye.value.context = null);
6830
6830
  const L = I?.getColId();
@@ -6871,7 +6871,7 @@ const Gl = (e) => {
6871
6871
  displayCount: a.displayGroupCount,
6872
6872
  formattedValue: I.valueFormatted,
6873
6873
  rowNode: I.node,
6874
- api: M.value,
6874
+ api: k.value,
6875
6875
  focusText: a.focusText
6876
6876
  })
6877
6877
  }
@@ -6912,10 +6912,10 @@ const Gl = (e) => {
6912
6912
  "valueAggSubMenu"
6913
6913
  ], L = ue.column && Be(ue.column) ? Se.value : ue.column;
6914
6914
  return !a.enableInlineFilters && L && L.getColDef().filter && b.splice(2, 0, S), b.filter((B) => typeof B == "string" ? ue.defaultItems.includes(B) : !0);
6915
- }, A && (he.value = (a.enableAdvancedFilter ? A.filter?.advancedFilterModel : A.filter?.filterModel) || null, x.value = A.rowGroup?.groupColIds || []);
6915
+ }, P && (he.value = (a.enableAdvancedFilter ? P.filter?.advancedFilterModel : P.filter?.filterModel) || null, x.value = P.rowGroup?.groupColIds || []);
6916
6916
  });
6917
6917
  const Mn = (C) => {
6918
- const I = M.value;
6918
+ const I = k.value;
6919
6919
  if (!I) return;
6920
6920
  const z = C.filter?.filterModel || null, ue = C.rowGroup?.groupColIds || null, b = C.columnVisibility || null;
6921
6921
  z && !Oa(z, I.getFilterModel()) && I.setFilterModel(z), a.isTableGrouped && ue && !_n(ue, x.value) && I.setRowGroupColumns(ue), b?.hiddenColIds && I.setColumnsVisible(b.hiddenColIds, !1);
@@ -6932,7 +6932,7 @@ const Gl = (e) => {
6932
6932
  );
6933
6933
  const sl = (C) => {
6934
6934
  D.value = !0, s("first-data-rendered", C);
6935
- }, ul = (C) => c ? a.isServerSideGroupOpenByDefault ? a.isServerSideGroupOpenByDefault(C) : C.rowNode.level === x.value.length - 2 : !1, Pt = h(() => {
6935
+ }, ul = (C) => c ? a.isServerSideGroupOpenByDefault ? a.isServerSideGroupOpenByDefault(C) : C.rowNode.level === x.value.length - 2 : !1, At = h(() => {
6936
6936
  if (!c)
6937
6937
  return a.groupDefaultExpanded;
6938
6938
  }), ln = $(null), $n = $(null);
@@ -6957,8 +6957,8 @@ const Gl = (e) => {
6957
6957
  ])]),
6958
6958
  _: 1
6959
6959
  })) : N("", !0),
6960
- nt(P("div", j1, [
6961
- P("div", K1, [
6960
+ nt(A("div", j1, [
6961
+ A("div", K1, [
6962
6962
  (f(), j(wl, {
6963
6963
  to: e.filterTeleportLocation,
6964
6964
  disabled: !e.filterTeleportLocation
@@ -6974,7 +6974,7 @@ const Gl = (e) => {
6974
6974
  "max-horizontal-filters": a.maxHorizontalFilters
6975
6975
  }, null, 8, ["enable-focus-view", "enable-vertical-panel", "display-preferences-icon", "focusable-columns", "focus-text", "max-horizontal-filters"])) : N("", !0)
6976
6976
  ], 8, ["to", "disabled"])),
6977
- P("div", U1, [
6977
+ A("div", U1, [
6978
6978
  e.enableGroupBySelector && e.rowGroupLimit !== 0 ? (f(), j(Cd, {
6979
6979
  key: 0,
6980
6980
  rowGroupLimit: e.rowGroupLimit,
@@ -6989,7 +6989,7 @@ const Gl = (e) => {
6989
6989
  ], 512), [
6990
6990
  [En, e.enableGroupBySelector || !e.filterTeleportLocation]
6991
6991
  ]),
6992
- nt(P("div", {
6992
+ nt(A("div", {
6993
6993
  ref_key: "advancedFilterParentElement",
6994
6994
  ref: $n,
6995
6995
  class: se(["pv-stack-8 pv-text-body-sm", e.hideTable ? "pv-hide" : ""])
@@ -7000,7 +7000,7 @@ const Gl = (e) => {
7000
7000
  key: 1,
7001
7001
  class: se(["pv-stack-8 pv-flex pv-space-between", e.hideTable ? "pv-hide" : ""])
7002
7002
  }, [
7003
- P("div", W1, [
7003
+ A("div", W1, [
7004
7004
  e.enableTableSearch ? (f(), j(q1, {
7005
7005
  key: 0,
7006
7006
  placeholder: e.tableSearchPlaceholder,
@@ -7008,9 +7008,9 @@ const Gl = (e) => {
7008
7008
  "search-style": e.tableSearchStyle
7009
7009
  }, null, 8, ["placeholder", "disabled", "search-style"])) : N("", !0)
7010
7010
  ]),
7011
- Pe(C.$slots, "top-slot")
7011
+ Ae(C.$slots, "top-slot")
7012
7012
  ], 2)) : N("", !0),
7013
- P("div", {
7013
+ A("div", {
7014
7014
  class: se(["pv-relative pv-stack-8", e.hideTable ? "pv-hide" : ""]),
7015
7015
  style: { width: "100%", height: "100%" }
7016
7016
  }, [
@@ -7044,9 +7044,9 @@ const Gl = (e) => {
7044
7044
  getContextMenuItems: g.value,
7045
7045
  getMainMenuItems: v.value,
7046
7046
  getRowStyle: zt,
7047
- groupDefaultExpanded: Pt.value,
7047
+ groupDefaultExpanded: At.value,
7048
7048
  groupDisplayType: "singleColumn",
7049
- initialState: O(A) || void 0,
7049
+ initialState: O(P) || void 0,
7050
7050
  isGroupOpenByDefault: O(c) ? void 0 : a.isClientSideGroupOpenByDefault,
7051
7051
  isServerSideGroupOpenByDefault: ul,
7052
7052
  includeHiddenColumnsInAdvancedFilter: !0,
@@ -7088,7 +7088,7 @@ const Gl = (e) => {
7088
7088
  advancedFilterParent: $n.value
7089
7089
  }), null, 16, ["style", "autoGroupColumnDef", "columnDefs", "debug", "defaultColDef", "getContextMenuItems", "getMainMenuItems", "groupDefaultExpanded", "initialState", "isGroupOpenByDefault", "loading", "loadingCellRenderer", "loadingCellRendererParams", "maxConcurrentDatasourceRequests", "maintainColumnOrder", "popupParent", "processCellForClipboard", "processCellFromClipboard", "processDataFromClipboard", "rowData", "rowHeight", "rowModelType", "rowSelection", "serverSideInitialRowCount", "theme", "pagination", "paginationPageSize", "tooltip-show-delay", "tooltip-hide-delay", "cellSelection", "copyHeadersToClipboard", "suppressClipboardPaste", "suppressCutToClipboard", "undoRedoCellEditing", "undoRedoCellEditingLimit", "enableAdvancedFilter", "advancedFilterParent"]),
7090
7090
  !e.isLoading && !_.value ? (f(), F("div", Y1, [
7091
- P("p", Q1, te(E.value), 1)
7091
+ A("p", Q1, te(E.value), 1)
7092
7092
  ])) : N("", !0)
7093
7093
  ], 2),
7094
7094
  e.pagination ? (f(), j(V1, { key: 2 })) : N("", !0)
@@ -7197,8 +7197,8 @@ const Gl = (e) => {
7197
7197
  let x = Array.from(i.value.children).map((R) => R.id);
7198
7198
  const D = x.findIndex((R) => R === on);
7199
7199
  D !== -1 && (x = x.slice(0, D)), x = x.filter((R) => !R.startsWith("placeholder-"));
7200
- const k = x.map((R) => t.options.find((_) => _.id === R) || null).filter(Boolean);
7201
- n.value = k.slice(0, t.activeOptionLimit || 1 / 0);
7200
+ const M = x.map((R) => t.options.find((_) => _.id === R) || null).filter(Boolean);
7201
+ n.value = M.slice(0, t.activeOptionLimit || 1 / 0);
7202
7202
  };
7203
7203
  lt(() => {
7204
7204
  i.value && (u = new Ba(i.value, {
@@ -7212,8 +7212,8 @@ const Gl = (e) => {
7212
7212
  const D = x.related;
7213
7213
  if (D?.id === on || D?.id?.startsWith("placeholder-"))
7214
7214
  return !1;
7215
- const k = t.options.find((R) => R.id === x.dragged.id);
7216
- return k && g(k);
7215
+ const M = t.options.find((R) => R.id === x.dragged.id);
7216
+ return M && g(M);
7217
7217
  },
7218
7218
  onEnd: () => {
7219
7219
  c = null, d();
@@ -7243,7 +7243,7 @@ const Gl = (e) => {
7243
7243
  return;
7244
7244
  n.value = n.value.concat([x]);
7245
7245
  }
7246
- }, T = (x) => !g(x) && t.activeOptionLimit && n.value.length >= t.activeOptionLimit || x.disabled, A = (x) => {
7246
+ }, T = (x) => !g(x) && t.activeOptionLimit && n.value.length >= t.activeOptionLimit || x.disabled, P = (x) => {
7247
7247
  const D = {
7248
7248
  padding: "4px 8px"
7249
7249
  };
@@ -7256,54 +7256,54 @@ const Gl = (e) => {
7256
7256
  ref_key: "containerRef",
7257
7257
  ref: s
7258
7258
  }, [
7259
- P("ul", {
7259
+ A("ul", {
7260
7260
  ref_key: "sortableListRef",
7261
7261
  ref: i,
7262
7262
  role: "list"
7263
7263
  }, [
7264
- (f(!0), F(fe, null, Qe(r.value, (k) => (f(), F("li", {
7265
- key: k.id,
7266
- id: k.id,
7264
+ (f(!0), F(fe, null, Qe(r.value, (M) => (f(), F("li", {
7265
+ key: M.id,
7266
+ id: M.id,
7267
7267
  class: "pv-stack-4"
7268
7268
  }, [
7269
- k.id === on ? (f(), F("div", e4, [
7270
- P("div", {
7269
+ M.id === on ? (f(), F("div", e4, [
7270
+ A("div", {
7271
7271
  class: "sort-divider pv-text-default pv-text-body-xs pv-text-tertiary",
7272
7272
  "data-label": S.value ? `Maximum of ${t.activeOptionLimit}` : ""
7273
7273
  }, null, 8, t4)
7274
- ])) : k.id.includes(Ra) ? (f(), F("div", {
7274
+ ])) : M.id.includes(Ra) ? (f(), F("div", {
7275
7275
  key: 1,
7276
7276
  class: "placeholder-zone",
7277
7277
  onDragover: D[0] || (D[0] = (R) => p(R)),
7278
7278
  onDragleave: D[1] || (D[1] = (R) => y(R)),
7279
- onDrop: (R) => v(R, parseInt(k.id.split("-")[1]) + 1)
7279
+ onDrop: (R) => v(R, parseInt(M.id.split("-")[1]) + 1)
7280
7280
  }, [
7281
- P("div", l4, [
7282
- P("span", a4, te(t.placeholderText), 1)
7281
+ A("div", l4, [
7282
+ A("span", a4, te(t.placeholderText), 1)
7283
7283
  ])
7284
7284
  ], 40, n4)) : (f(), F("div", {
7285
7285
  key: 2,
7286
- class: se(["pv-full-width pv-bordered pv-radius-md pv-flex pv-space-between", !g(k) && S.value ? "pv-menu-item-disabled" : ""]),
7287
- style: He(A(k))
7286
+ class: se(["pv-full-width pv-bordered pv-radius-md pv-flex pv-space-between", !g(M) && S.value ? "pv-menu-item-disabled" : ""]),
7287
+ style: He(P(M))
7288
7288
  }, [
7289
- P("div", o4, [
7289
+ A("div", o4, [
7290
7290
  Q(Le, {
7291
- class: se(g(k) ? "pv-text-brand" : "pv-text-tertiary"),
7291
+ class: se(g(M) ? "pv-text-brand" : "pv-text-tertiary"),
7292
7292
  name: "reorder"
7293
7293
  }, null, 8, ["class"]),
7294
- k.icon ? (f(), j(Le, {
7294
+ M.icon ? (f(), j(Le, {
7295
7295
  key: 0,
7296
- class: se(g(k) ? "pv-text-brand" : "pv-text-tertiary"),
7297
- name: k.icon
7296
+ class: se(g(M) ? "pv-text-brand" : "pv-text-tertiary"),
7297
+ name: M.icon
7298
7298
  }, null, 8, ["class", "name"])) : N("", !0),
7299
- P("span", r4, te(k.text), 1)
7299
+ A("span", r4, te(M.text), 1)
7300
7300
  ]),
7301
- T(k) ? (f(), F("div", i4)) : (f(), j(O($e), {
7301
+ T(M) ? (f(), F("div", i4)) : (f(), j(O($e), {
7302
7302
  key: 0,
7303
- "left-icon": g(k) ? "remove-circle" : "add-circle",
7303
+ "left-icon": g(M) ? "remove-circle" : "add-circle",
7304
7304
  variant: "ghost",
7305
- style: He(w(k)),
7306
- onClick: (R) => m(k)
7305
+ style: He(w(M)),
7306
+ onClick: (R) => m(M)
7307
7307
  }, null, 8, ["left-icon", "style", "onClick"]))
7308
7308
  ], 6))
7309
7309
  ], 8, J1))), 128))
@@ -7413,7 +7413,7 @@ const v4 = {
7413
7413
  },
7414
7414
  setup(e) {
7415
7415
  return (t, n) => (f(), F("div", v4, [
7416
- P("span", {
7416
+ A("span", {
7417
7417
  class: "pv-text-body-md pv-truncate",
7418
7418
  title: e.text
7419
7419
  }, te(e.text), 9, m4),
@@ -7433,7 +7433,7 @@ const v4 = {
7433
7433
  })
7434
7434
  ]),
7435
7435
  content: pe(() => [
7436
- P("div", h4, te(e.context.description), 1)
7436
+ A("div", h4, te(e.context.description), 1)
7437
7437
  ]),
7438
7438
  _: 1
7439
7439
  })) : N("", !0)
@@ -7465,14 +7465,14 @@ const v4 = {
7465
7465
  maxHeight: "900px"
7466
7466
  },
7467
7467
  useTeleport: !0
7468
- }), r = $(!1), i = $(void 0), s = $(null), u = be(Ro, $(void 0)), c = be(Po, $([])), d = be(Lo, $(void 0)), p = be(Ao, $([])), y = be(Oo, $([])), v = be(al, $([])), g = h(() => Bn(u.value?.id || "")), S = h(() => {
7468
+ }), r = $(!1), i = $(void 0), s = $(null), u = be(Ro, $(void 0)), c = be(Ao, $([])), d = be(Lo, $(void 0)), p = be(Po, $([])), y = be(Oo, $([])), v = be(al, $([])), g = h(() => Bn(u.value?.id || "")), S = h(() => {
7469
7469
  const H = u.value?.id ?? "";
7470
7470
  return y.value.length > 1 && !H.endsWith("_stacked");
7471
- }), m = be(Do, $("")), T = be(Vo, $([])), A = be(Io, $(void 0)), w = be(Bo, $([]));
7471
+ }), m = be(Do, $("")), T = be(Vo, $([])), P = be(Io, $(void 0)), w = be(Bo, $([]));
7472
7472
  oe(
7473
7473
  S,
7474
7474
  (H) => {
7475
- H && A.value && (A.value = void 0);
7475
+ H && P.value && (P.value = void 0);
7476
7476
  },
7477
7477
  { immediate: !0 }
7478
7478
  );
@@ -7482,7 +7482,7 @@ const v4 = {
7482
7482
  label: ne.label,
7483
7483
  value: ne.value
7484
7484
  })) : H;
7485
- }), k = h(() => u.value ? (y.value.length > 1 ? ["bar_stacked", "line", "column_stacked", "area"] : ["bar", "line", "column", "area"]).includes(u.value?.id) : void 0);
7485
+ }), M = h(() => u.value ? (y.value.length > 1 ? ["bar_stacked", "line", "column_stacked", "area"] : ["bar", "line", "column", "area"]).includes(u.value?.id) : void 0);
7486
7486
  oe(c, (H) => {
7487
7487
  if (!u.value) return;
7488
7488
  const ne = u.value, q = ne?.id.endsWith("_stacked"), W = H.find((X) => X.id === ne.id);
@@ -7509,13 +7509,13 @@ const v4 = {
7509
7509
  }))), E = h(() => w.value.map((H) => ({
7510
7510
  id: H.value,
7511
7511
  text: H.label
7512
- }))), M = h(() => v.value.map((H) => ({
7512
+ }))), k = h(() => v.value.map((H) => ({
7513
7513
  id: H.field || "",
7514
7514
  text: H.headerName || H.field || "",
7515
7515
  icon: Gl(H.context?.dataType || null) || "circle-chevron-down"
7516
7516
  }))), V = $([]), G = (H) => {
7517
7517
  const ne = V.value.map((q) => q.id);
7518
- (H.length !== ne.length || !H.every((q) => ne.includes(q))) && (V.value = H.map((q) => M.value.find((W) => W.id === q)).filter(Boolean));
7518
+ (H.length !== ne.length || !H.every((q) => ne.includes(q))) && (V.value = H.map((q) => k.value.find((W) => W.id === q)).filter(Boolean));
7519
7519
  };
7520
7520
  oe(
7521
7521
  y,
@@ -7523,7 +7523,7 @@ const v4 = {
7523
7523
  G(H);
7524
7524
  },
7525
7525
  { immediate: !0 }
7526
- ), oe(M, () => {
7526
+ ), oe(k, () => {
7527
7527
  G(y.value);
7528
7528
  }), oe(
7529
7529
  V,
@@ -7540,9 +7540,9 @@ const v4 = {
7540
7540
  icon: "chart-bar-decreasing",
7541
7541
  allowDeselect: !1,
7542
7542
  availableOptions: _.value,
7543
- currentOption: _.value.find((Z) => Z.id === m.value),
7544
- updateSelectedOption: (Z) => {
7545
- m && Z !== m.value && (m.value = Z);
7543
+ currentOption: _.value.find((J) => J.id === m.value),
7544
+ updateSelectedOption: (J) => {
7545
+ m && J !== m.value && (m.value = J);
7546
7546
  }
7547
7547
  }, q = {
7548
7548
  value: "secondary-y-axis",
@@ -7554,10 +7554,10 @@ const v4 = {
7554
7554
  disabledReason: "Metric overlay is not available for this chart type.",
7555
7555
  availableOptions: E.value,
7556
7556
  currentOption: E.value.find(
7557
- (Z) => Z.id === A?.value
7557
+ (J) => J.id === P?.value
7558
7558
  ),
7559
- updateSelectedOption: (Z) => {
7560
- A && (!Z || A.value === Z ? A.value = void 0 : A.value = Z);
7559
+ updateSelectedOption: (J) => {
7560
+ P && (!J || P.value === J ? P.value = void 0 : P.value = J);
7561
7561
  }
7562
7562
  }, W = g.value, X = W.xAxis.selectMode === "sortable", Te = {
7563
7563
  isSortableList: X,
@@ -7565,14 +7565,14 @@ const v4 = {
7565
7565
  label: "X Axis",
7566
7566
  icon: "align-end-horizontal",
7567
7567
  allowDeselect: !1,
7568
- availableOptions: M.value,
7568
+ availableOptions: k.value,
7569
7569
  ...X ? {
7570
7570
  activeOptions: V,
7571
7571
  activeOptionLimit: t.rowGroupLimit
7572
7572
  } : {
7573
- currentOption: M.value.find((Z) => Z.id === y.value[0]),
7574
- updateSelectedOption: (Z) => {
7575
- y.value = Z ? [Z] : [];
7573
+ currentOption: k.value.find((J) => J.id === y.value[0]),
7574
+ updateSelectedOption: (J) => {
7575
+ y.value = J ? [J] : [];
7576
7576
  }
7577
7577
  }
7578
7578
  }, Ve = {
@@ -7581,11 +7581,11 @@ const v4 = {
7581
7581
  icon: "arrow-up-wide-narrow",
7582
7582
  allowDeselect: !0,
7583
7583
  availableOptions: p.value,
7584
- currentOption: p.value.find((Z) => Z.id === d.value?.id),
7585
- disabled: !k.value,
7584
+ currentOption: p.value.find((J) => J.id === d.value?.id),
7585
+ disabled: !M.value,
7586
7586
  disabledReason: "Sorting is not available for this chart type",
7587
- updateSelectedOption: (Z) => {
7588
- const Se = p.value.find((Ie) => Ie.id === Z);
7587
+ updateSelectedOption: (J) => {
7588
+ const Se = p.value.find((Ie) => Ie.id === J);
7589
7589
  if (!Se || !d) {
7590
7590
  d.value = void 0;
7591
7591
  return;
@@ -7598,15 +7598,15 @@ const v4 = {
7598
7598
  icon: "chart-column-stacked",
7599
7599
  allowDeselect: !1,
7600
7600
  availableOptions: c.value,
7601
- currentOption: c.value.find((Z) => Z.id === u.value?.id),
7602
- updateSelectedOption: (Z) => {
7603
- const Se = c.value.find((Ie) => Ie.id === Z);
7601
+ currentOption: c.value.find((J) => J.id === u.value?.id),
7602
+ updateSelectedOption: (J) => {
7603
+ const Se = c.value.find((Ie) => Ie.id === J);
7604
7604
  Se && u && (u.value = Se);
7605
7605
  }
7606
7606
  };
7607
7607
  _.value.length > 1 && H.push(ne), E.value.length > 0 && !W.secondaryYAxis?.hidden && H.push(q);
7608
7608
  const je = X ? 2 : 1;
7609
- return M.value.length >= je && H.push(Te), c.value.length > 1 && H.push(Ue), p.value.length > 0 && H.push(Ve), H.filter((Z) => t.chartConfigOptions ? t.chartConfigOptions.includes(Z.value) : !0);
7609
+ return k.value.length >= je && H.push(Te), c.value.length > 1 && H.push(Ue), p.value.length > 0 && H.push(Ve), H.filter((J) => t.chartConfigOptions ? t.chartConfigOptions.includes(J.value) : !0);
7610
7610
  });
7611
7611
  oe(s, (H) => {
7612
7612
  H && (a.value = H);
@@ -7619,12 +7619,12 @@ const v4 = {
7619
7619
  i.value = void 0;
7620
7620
  };
7621
7621
  return (H, ne) => (f(), F(fe, null, [
7622
- P("div", y4, [
7623
- P("div", null, [
7622
+ A("div", y4, [
7623
+ A("div", null, [
7624
7624
  nt((f(), F("div", {
7625
7625
  class: se(["pv-flex pv-space-between", e.useCombinedButton ? "pv-stack-8" : ""])
7626
7626
  }, [
7627
- P("div", b4, [
7627
+ A("div", b4, [
7628
7628
  e.useCombinedButton ? (f(), F(fe, { key: 0 }, [
7629
7629
  Q(Bl, {
7630
7630
  open: r.value,
@@ -7639,13 +7639,13 @@ const v4 = {
7639
7639
  isList: !0
7640
7640
  }, {
7641
7641
  default: pe(() => [
7642
- ne[3] || (ne[3] = P("div", { class: "pv-border-bottom pv-stack-8" }, [
7643
- P("p", {
7642
+ ne[3] || (ne[3] = A("div", { class: "pv-border-bottom pv-stack-8" }, [
7643
+ A("p", {
7644
7644
  class: "pv-text-title-sm pv-inset-square-8",
7645
7645
  style: { "padding-top": "4px", "padding-bottom": "12px" }
7646
7646
  }, " Chart Configuration ")
7647
7647
  ], -1)),
7648
- P("ul", x4, [
7648
+ A("ul", x4, [
7649
7649
  (f(!0), F(fe, null, Qe(Y.value, (q) => (f(), F("li", {
7650
7650
  id: `pv-chart-config-${q.value}`,
7651
7651
  key: q.value,
@@ -7673,7 +7673,7 @@ const v4 = {
7673
7673
  q.disabled && q.disabledReason ? {
7674
7674
  name: "tooltip-content",
7675
7675
  fn: pe(() => [
7676
- P("div", S4, te(q.disabledReason), 1)
7676
+ A("div", S4, te(q.disabledReason), 1)
7677
7677
  ]),
7678
7678
  key: "0"
7679
7679
  } : void 0
@@ -7693,7 +7693,7 @@ const v4 = {
7693
7693
  }
7694
7694
  ]]
7695
7695
  ]),
7696
- P("div", {
7696
+ A("div", {
7697
7697
  class: "pv-flex pv-space-between",
7698
7698
  style: He(e.chartFilter ? {} : { justifyContent: "flex-end" })
7699
7699
  }, [
@@ -7734,7 +7734,7 @@ const v4 = {
7734
7734
  default: pe(() => [
7735
7735
  re.value ? (f(), F(fe, { key: 0 }, [
7736
7736
  re.value.isSortableList ? (f(), F(fe, { key: 0 }, [
7737
- ne[4] || (ne[4] = P("p", {
7737
+ ne[4] || (ne[4] = A("p", {
7738
7738
  class: "pv-text-tertiary pv-text-body-sm pv-stack-4",
7739
7739
  style: { "padding-left": "2px", "padding-bottom": "6px" }
7740
7740
  }, " Viewing ", -1)),
@@ -7817,7 +7817,7 @@ const v4 = {
7817
7817
  const a = o[t];
7818
7818
  typeof a == "number" && a > l && (l = a);
7819
7819
  })), l;
7820
- }, P4 = { style: { height: "100%", width: "100%" } }, A4 = {
7820
+ }, A4 = { style: { height: "100%", width: "100%" } }, P4 = {
7821
7821
  key: 0,
7822
7822
  class: "pv-bordered pv-radius-lg pv-inset-square-12 pv-stack-16"
7823
7823
  }, R4 = { class: "pv-flex" }, L4 = { class: "pv-relative pv-margin-auto" }, D4 = { class: "pv-chart-overlay pv-flex pv-align-center" }, V4 = { key: 0 }, I4 = {
@@ -7941,7 +7941,7 @@ const v4 = {
7941
7941
  dataType: U.context?.dataType,
7942
7942
  tooltipRenderer: U.context?.customTooltipRenderer
7943
7943
  };
7944
- })), A = h(() => (r.value?.availableAggFuncColumns || []).filter((L) => {
7944
+ })), P = h(() => (r.value?.availableAggFuncColumns || []).filter((L) => {
7945
7945
  const B = Me(L);
7946
7946
  return B.chartOnSecondaryAxes === !0 && B.hideFromCharting === !0;
7947
7947
  }).map((L) => {
@@ -7960,10 +7960,10 @@ const v4 = {
7960
7960
  focusRequired: l.focusRequired
7961
7961
  });
7962
7962
  Fe(Kn, x);
7963
- const { setFilterSelectedValues: D } = w, k = $(!1), R = $(l.enableGroupingToggle ? l.isTableGrouped : !0), _ = h(() => Pt.value ? !1 : !!(l.emptyChartFilterRenderer && l.requireFiltersToShowData && w.filterModelEmpty.value)), E = h(() => x?.computedFocusType.value || null), M = h(() => x?.computedFocuses.value || []), V = (b) => {
7963
+ const { setFilterSelectedValues: D } = w, M = $(!1), R = $(l.enableGroupingToggle ? l.isTableGrouped : !0), _ = h(() => At.value ? !1 : !!(l.emptyChartFilterRenderer && l.requireFiltersToShowData && w.filterModelEmpty.value)), E = h(() => x?.computedFocusType.value || null), k = h(() => x?.computedFocuses.value || []), V = (b) => {
7964
7964
  a.value = b.api, R.value || a.value?.setRowGroupColumns([]), ye(b.api), o("grid-ready", b);
7965
7965
  }, G = (b) => {
7966
- k.value = !0, o("first-data-rendered", b);
7966
+ M.value = !0, o("first-data-rendered", b);
7967
7967
  }, Y = (b) => {
7968
7968
  const L = v.value, B = b.api.getRowGroupColumns().map((U) => U.getColId());
7969
7969
  if (R.value && JSON.stringify(L) !== JSON.stringify(B)) {
@@ -7973,11 +7973,11 @@ const v4 = {
7973
7973
  v.value = me, b.api.setRowGroupColumns(me);
7974
7974
  } else
7975
7975
  v.value = B;
7976
- U.yAxis.defaultValue && (Z.value = U.yAxis.defaultValue);
7976
+ U.yAxis.defaultValue && (J.value = U.yAxis.defaultValue);
7977
7977
  }
7978
7978
  o("column-row-group-changed", b);
7979
7979
  }, re = async (b) => {
7980
- ye(b.api), k.value && o("filter-changed", b);
7980
+ ye(b.api), M.value && o("filter-changed", b);
7981
7981
  };
7982
7982
  oe(
7983
7983
  () => v.value,
@@ -8001,16 +8001,16 @@ const v4 = {
8001
8001
  if (U.data = Ue.value?.find((Ce) => Ce[b] === U.value), U.value === jt)
8002
8002
  return "";
8003
8003
  let me = "";
8004
- const ee = xe(b);
8005
- if (l.truncateLabelValues && B && ee && xt(ee) && !isNaN(Number(U.value))) {
8004
+ const Z = xe(b);
8005
+ if (l.truncateLabelValues && B && Z && xt(Z) && !isNaN(Number(U.value))) {
8006
8006
  if (ht.value) {
8007
- const Ae = U.datum?.[g.value], At = je.value?.find((On) => On[g.value] === Ae)?.[`${Z.value}${Wt}`] || 1 / 0;
8008
- if (U.value / At < 0.05)
8007
+ const Pe = U.datum?.[g.value], Pt = je.value?.find((On) => On[g.value] === Pe)?.[`${J.value}${Wt}`] || 1 / 0;
8008
+ if (U.value / Pt < 0.05)
8009
8009
  return "";
8010
8010
  }
8011
8011
  const { newValue: Ce, newSuffix: ke } = Vd(
8012
8012
  U.value,
8013
- ut.Percent === Me(ee).dataType,
8013
+ ut.Percent === Me(Z).dataType,
8014
8014
  Ye.value
8015
8015
  );
8016
8016
  U.value = Ce, me = ke;
@@ -8044,8 +8044,8 @@ const v4 = {
8044
8044
  id: "desc",
8045
8045
  icon: "arrow-down-narrow-wide"
8046
8046
  }
8047
- ]), Ue = $([]), je = $([]), Z = $(l.yKey), Se = $(T.value[0]?.value), Ie = $(null), qe = $(Ve.value.find((b) => b.id === l.initialSort || "")), at = $("");
8048
- Fe(Gt, a), Fe($o, at), Fe(al, Te), Fe(Oo, v), Fe(Po, ne), Fe(Ao, Ve), Fe(Ro, q), Fe(Lo, qe), Fe(Do, Z), Fe(Vo, m), Fe(Io, Se), Fe(Bo, T);
8047
+ ]), Ue = $([]), je = $([]), J = $(l.yKey), Se = $(T.value[0]?.value), Ie = $(null), qe = $(Ve.value.find((b) => b.id === l.initialSort || "")), at = $("");
8048
+ Fe(Gt, a), Fe($o, at), Fe(al, Te), Fe(Oo, v), Fe(Ao, ne), Fe(Po, Ve), Fe(Ro, q), Fe(Lo, qe), Fe(Do, J), Fe(Vo, m), Fe(Io, Se), Fe(Bo, T);
8049
8049
  const mt = (b) => {
8050
8050
  const L = ne.value.find((B) => B.id === b);
8051
8051
  L ? q.value = L : q.value = ne.value[0];
@@ -8059,12 +8059,12 @@ const v4 = {
8059
8059
  ), oe(
8060
8060
  () => l.yKey,
8061
8061
  (b) => {
8062
- b !== Z.value && (Z.value = b);
8062
+ b !== J.value && (J.value = b);
8063
8063
  }
8064
8064
  ), oe(at, (b) => {
8065
8065
  if (l.chartFilter && a.value) {
8066
8066
  const L = l.chartFilter.colId;
8067
- let B = l.chartFilter.options.find((ee) => ee.value === b)?.filterValues || null;
8067
+ let B = l.chartFilter.options.find((Z) => Z.value === b)?.filterValues || null;
8068
8068
  B && B.length === 0 && (B = null), D(L, B || []);
8069
8069
  const me = No({
8070
8070
  filterType: "set",
@@ -8076,21 +8076,21 @@ const v4 = {
8076
8076
  }
8077
8077
  });
8078
8078
  const ot = h(() => {
8079
- const b = m.value.find((L) => L.value === Z.value);
8079
+ const b = m.value.find((L) => L.value === J.value);
8080
8080
  return b ? b.label : "";
8081
8081
  }), St = h(() => T.value.find((L) => L.value === Se.value)), wt = h(() => {
8082
8082
  const b = T.value.find((L) => L.value === Se.value);
8083
8083
  return b ? b.label : "";
8084
- }), rt = h(() => W.value.isHorizontal === !0), Be = h(() => v.value.length > 1), Je = h(() => q.value ? m.value.length === 0 ? [] : W.value.seriesFamily === "pie" ? J.value : K.value : []), Ft = h(() => l.showSeriesLabels), ht = h(() => q.value?.id.includes("stacked")), K = h(() => {
8084
+ }), rt = h(() => W.value.isHorizontal === !0), Be = h(() => v.value.length > 1), Je = h(() => q.value ? m.value.length === 0 ? [] : W.value.seriesFamily === "pie" ? ee.value : K.value : []), Ft = h(() => l.showSeriesLabels), ht = h(() => q.value?.id.includes("stacked")), K = h(() => {
8085
8085
  const b = ht.value, L = W.value.agChartType;
8086
8086
  let B = [];
8087
- const U = ae(Z.value, !0), me = ae(Ie.value?.fieldName, !0);
8087
+ const U = ae(J.value, !0), me = ae(Ie.value?.fieldName, !0);
8088
8088
  if (Be.value)
8089
8089
  Ie.value?.fieldValues.forEach((Ce) => {
8090
8090
  const ke = {
8091
8091
  type: L,
8092
8092
  xKey: g.value,
8093
- yKey: sn(Z.value, Ce),
8093
+ yKey: sn(J.value, Ce),
8094
8094
  yName: typeof me == "function" ? me({ value: Ce }) : Ce,
8095
8095
  stacked: b,
8096
8096
  label: {
@@ -8109,7 +8109,7 @@ const v4 = {
8109
8109
  const ie = {
8110
8110
  type: L,
8111
8111
  xKey: g.value,
8112
- yKey: Z.value,
8112
+ yKey: J.value,
8113
8113
  yName: ot.value,
8114
8114
  label: {
8115
8115
  enabled: Ft.value,
@@ -8123,32 +8123,32 @@ const v4 = {
8123
8123
  };
8124
8124
  B.push(ie);
8125
8125
  }
8126
- let ee = {};
8126
+ let Z = {};
8127
8127
  if (L === "bar") {
8128
- const ie = ee;
8129
- ie.direction = rt.value ? "horizontal" : "vertical", ee = ie;
8128
+ const ie = Z;
8129
+ ie.direction = rt.value ? "horizontal" : "vertical", Z = ie;
8130
8130
  } else if (L === "line" || L === "area") {
8131
- const ie = ee;
8132
- ie.connectMissingData = !0, ee = ie;
8131
+ const ie = Z;
8132
+ ie.connectMissingData = !0, Z = ie;
8133
8133
  }
8134
8134
  if (B = B.map((ie) => ({
8135
8135
  ...ie,
8136
- ...ee
8136
+ ...Z
8137
8137
  })), W.value.yAxis.defaultValue === Id && (B = B.map(
8138
8138
  (ie) => ({
8139
8139
  ...ie,
8140
8140
  tooltip: {
8141
8141
  renderer: (Ce) => {
8142
8142
  let ke = String(Ce.datum[Ce.xKey] ?? "");
8143
- const Ae = Ce.datum.bucketMin, Oe = Ce.datum.bucketMax;
8144
- return typeof Ae == "number" && typeof Oe == "number" && (ke = H(Ae, Oe)), { title: ke, content: `Count: ${Ce.datum[Ce.yKey]}` };
8143
+ const Pe = Ce.datum.bucketMin, Oe = Ce.datum.bucketMax;
8144
+ return typeof Pe == "number" && typeof Oe == "number" && (ke = H(Pe, Oe)), { title: ke, content: `Count: ${Ce.datum[Ce.yKey]}` };
8145
8145
  }
8146
8146
  }
8147
8147
  })
8148
8148
  )), Se.value) {
8149
8149
  let ie;
8150
8150
  b ? ie = `${Se.value}_sort_total` : ie = Se.value;
8151
- const ke = xe(g.value)?.context?.metadataDisplayFields?.[0] || g.value, Ae = {
8151
+ const ke = xe(g.value)?.context?.metadataDisplayFields?.[0] || g.value, Pe = {
8152
8152
  type: "scatter",
8153
8153
  data: Ge.value,
8154
8154
  xKey: g.value,
@@ -8159,9 +8159,9 @@ const v4 = {
8159
8159
  enabled: !1
8160
8160
  }
8161
8161
  };
8162
- St.value?.tooltipRenderer && (Ae.tooltip = {
8162
+ St.value?.tooltipRenderer && (Pe.tooltip = {
8163
8163
  renderer: St.value?.tooltipRenderer
8164
- }), B = [...B, Ae];
8164
+ }), B = [...B, Pe];
8165
8165
  }
8166
8166
  if (q.value?.id === "histogram" && ve.value && ve.value.length > 0 && typeof ve.value[0]?.bucketMin == "number" && typeof ve.value[0]?.bucketMax == "number" && l.verticalLineOverlays && l.verticalLineOverlays.length > 0 && ve.value) {
8167
8167
  const ie = ve.value.length, Ce = {
@@ -8183,12 +8183,12 @@ const v4 = {
8183
8183
  B = [...B, Ce];
8184
8184
  }
8185
8185
  return B;
8186
- }), J = h(() => m.value.length === 0 ? [] : [{
8186
+ }), ee = h(() => m.value.length === 0 ? [] : [{
8187
8187
  type: "pie",
8188
8188
  legendItemKey: g.value,
8189
- angleKey: Z.value
8189
+ angleKey: J.value
8190
8190
  }]);
8191
- oe(Z, (b, L) => {
8191
+ oe(J, (b, L) => {
8192
8192
  o("chart-state-changed", {
8193
8193
  api: a.value,
8194
8194
  newState: {
@@ -8210,8 +8210,8 @@ const v4 = {
8210
8210
  });
8211
8211
  }), oe(q, (b, L) => {
8212
8212
  const B = Bn(b?.id || ""), U = Bn(L?.id || "");
8213
- B.xAxis.filterColumns !== U.xAxis.filterColumns && (v.value = []), B.yAxis.defaultValue ? Z.value = B.yAxis.defaultValue : U.yAxis.defaultValue && !B.yAxis.defaultValue && ct(() => {
8214
- l.yKey ? Z.value = l.yKey : m.value.length > 0 && (Z.value = m.value[0].value);
8213
+ B.xAxis.filterColumns !== U.xAxis.filterColumns && (v.value = []), B.yAxis.defaultValue ? J.value = B.yAxis.defaultValue : U.yAxis.defaultValue && !B.yAxis.defaultValue && ct(() => {
8214
+ l.yKey ? J.value = l.yKey : m.value.length > 0 && (J.value = m.value[0].value);
8215
8215
  }), o("chart-state-changed", {
8216
8216
  api: a.value,
8217
8217
  newState: {
@@ -8227,7 +8227,7 @@ const v4 = {
8227
8227
  L && (v.value = [L]);
8228
8228
  }
8229
8229
  }), oe(m, (b) => {
8230
- b.length === 1 && !Z.value && (Z.value = b[0].value);
8230
+ b.length === 1 && !J.value && (J.value = b[0].value);
8231
8231
  }), oe(qe, (b, L) => {
8232
8232
  o("chart-state-changed", {
8233
8233
  api: a.value,
@@ -8289,7 +8289,7 @@ const v4 = {
8289
8289
  g.value,
8290
8290
  L,
8291
8291
  Ne.value,
8292
- A.value
8292
+ P.value
8293
8293
  );
8294
8294
  je.value = B, Ie.value = {
8295
8295
  fieldName: L,
@@ -8303,46 +8303,47 @@ const v4 = {
8303
8303
  if (de(), L === 0 || m.value.length === 0 || l.requireFiltersToShowData && w.filterModelEmpty.value)
8304
8304
  return;
8305
8305
  if (l.serverSideChartHandler) {
8306
- let ee = r?.value?.getPvFilterModel() || {};
8306
+ let Z = w.filterModel.value;
8307
8307
  const ce = a.value?.getColumnDefs() || [];
8308
- if (!k.value && l.initialGridState) {
8308
+ if (Z === null && l.initialGridState) {
8309
8309
  const De = xl(l.initialGridState, ce, l.enableAdvancedFilter);
8310
- ee = (l.enableAdvancedFilter ? De?.filter?.advancedFilterModel : De?.filter?.filterModel) || {};
8310
+ Z = (l.enableAdvancedFilter ? De?.filter?.advancedFilterModel : De?.filter?.filterModel) || {};
8311
8311
  }
8312
+ Z = Z || {};
8312
8313
  const ie = ka(
8313
8314
  v.value.map((De) => a.value?.getColumn(De)).filter((De) => De !== void 0)
8314
8315
  ), Ce = _o(ie, ce), ke = new Set(
8315
8316
  ce.filter((De) => Me(De).chartOnSecondaryAxes === !0).map((De) => De.field).filter(Boolean)
8316
- ), Ae = a.value?.getValueColumns().filter((De) => De.getColId() === Z.value || ke.has(De.getColId())), Oe = {
8317
+ ), Pe = a.value?.getValueColumns().filter((De) => De.getColId() === J.value || ke.has(De.getColId())), Oe = {
8317
8318
  rowGroupCols: Ce || [],
8318
- valueCols: ka(Ae || []),
8319
- filterModel: ee
8319
+ valueCols: ka(Pe || []),
8320
+ filterModel: Z
8320
8321
  };
8321
8322
  d.value = !0;
8322
- const At = ++p.value;
8323
+ const Pt = ++p.value;
8323
8324
  l.serverSideChartHandler(Oe).then((De) => {
8324
- At === p.value && (ge(De.data, De.stackField), d.value = !1);
8325
+ Pt === p.value && (ge(De.data, De.stackField), d.value = !1);
8325
8326
  }).catch((De) => {
8326
- At === p.value && (console.error("Chart handler error:", De), d.value = !1);
8327
+ Pt === p.value && (console.error("Chart handler error:", De), d.value = !1);
8327
8328
  });
8328
8329
  return;
8329
8330
  }
8330
8331
  if (l.serverSideRowHandler) return;
8331
8332
  const B = [], U = [];
8332
8333
  let me = /* @__PURE__ */ new Set();
8333
- if (b.forEachNodeAfterFilterAndSort((ee) => {
8334
- if (ee.group && ee.level === 0) {
8334
+ if (b.forEachNodeAfterFilterAndSort((Z) => {
8335
+ if (Z.group && Z.level === 0) {
8335
8336
  if (v.value.length > 1) {
8336
- const ie = ee.childrenAfterFilter?.filter((Ae) => Ae.level === 1 && Ae.aggData) || [], { rowData: Ce, fieldValues: ke } = we(ee, ie);
8337
+ const ie = Z.childrenAfterFilter?.filter((Pe) => Pe.level === 1 && Pe.aggData) || [], { rowData: Ce, fieldValues: ke } = we(Z, ie);
8337
8338
  me = me.union(ke), U?.push(Ce);
8338
8339
  }
8339
- const ce = We(ee);
8340
+ const ce = We(Z);
8340
8341
  B?.push(ce);
8341
8342
  }
8342
8343
  }), Ue.value = B, v.value.length > 1 && U && U.length > 0) {
8343
- const ee = v.value[1] || "";
8344
+ const Z = v.value[1] || "";
8344
8345
  je.value = U, Ie.value = {
8345
- fieldName: ee,
8346
+ fieldName: Z,
8346
8347
  fieldValues: Array.from(me)
8347
8348
  };
8348
8349
  } else
@@ -8362,37 +8363,37 @@ const v4 = {
8362
8363
  [b.field]: b.key
8363
8364
  };
8364
8365
  let me = 0;
8365
- for (const ee of m.value)
8366
+ for (const Z of m.value)
8366
8367
  L.forEach((ce) => {
8367
8368
  const ie = ce.key;
8368
8369
  B.add(ie);
8369
8370
  const Ce = ce.aggData;
8370
8371
  if (ie && Ce) {
8371
- const ke = String(ie), Ae = Ko(ke);
8372
- U[Ae] = `${b.key}-${ke}`;
8373
- const Oe = ce.aggData[ee.value]?.value ?? ce.aggData[ee.value];
8374
- U[sn(ee.value, ke)] = Oe, me = me + Oe;
8372
+ const ke = String(ie), Pe = Ko(ke);
8373
+ U[Pe] = `${b.key}-${ke}`;
8374
+ const Oe = ce.aggData[Z.value]?.value ?? ce.aggData[Z.value];
8375
+ U[sn(Z.value, ke)] = Oe, me = me + Oe;
8375
8376
  }
8376
- }), U[`${ee.value}${Wt}`] = me;
8377
+ }), U[`${Z.value}${Wt}`] = me;
8377
8378
  return {
8378
8379
  rowData: U,
8379
8380
  fieldValues: B
8380
8381
  };
8381
8382
  }, ve = h(() => {
8382
8383
  let b = Be.value ? je.value : Ue.value, L = null;
8383
- if (qe.value && (L = Be.value ? `${Z.value}${Wt}` : Z.value), L && b && qe.value) {
8384
+ if (qe.value && (L = Be.value ? `${J.value}${Wt}` : J.value), L && b && qe.value) {
8384
8385
  const B = qe.value?.id.includes("desc") ? -1 : 1;
8385
8386
  b = [...b].sort((U, me) => {
8386
- const ee = U[L] || 0, ce = me[L] || 0;
8387
- return (ee - ce) * B;
8387
+ const Z = U[L] || 0, ce = me[L] || 0;
8388
+ return (Z - ce) * B;
8388
8389
  });
8389
8390
  }
8390
8391
  if (b && b.length === 1 && (b = [
8391
8392
  { [g.value]: "" },
8392
8393
  b[0],
8393
8394
  { [g.value]: " " }
8394
- ]), l.enableFocusView && b && M.value.length > 0 && E.value) {
8395
- const B = b?.filter((me) => M.value.includes(me[g.value])), U = b?.filter((me) => !M.value.includes(me[g.value]));
8395
+ ]), l.enableFocusView && b && k.value.length > 0 && E.value) {
8396
+ const B = b?.filter((me) => k.value.includes(me[g.value])), U = b?.filter((me) => !k.value.includes(me[g.value]));
8396
8397
  b = [...B || [], { [g.value]: pl }, ...U || []];
8397
8398
  }
8398
8399
  return b;
@@ -8401,14 +8402,14 @@ const v4 = {
8401
8402
  return !Ke.has(String(B));
8402
8403
  })), Tt = h(() => ve.value?.length || 0), Ye = h(() => {
8403
8404
  const b = Be.value ? je.value : ve.value;
8404
- return O4(b, Z.value, Be.value);
8405
+ return O4(b, J.value, Be.value);
8405
8406
  }), zt = h(() => Ie.value?.fieldValues?.length || 0), nn = h(() => {
8406
8407
  const me = 0.25 * Math.exp(-0.12 * Tt.value);
8407
8408
  return Math.min(Math.max(me, 0.05), 0.75);
8408
- }), Mn = h(() => zt.value > 5 ? 0.5 : 1), sl = h(() => zt.value > 5 ? 0.25 : 0.1), ul = h(() => !ve.value || ve.value?.length === 0 ? !0 : Ye.value === -1 / 0 || Be.value === !0 && Ye.value === 0), Pt = h(() => l.enableFocusView && E.value && M.value.length === 0 && l.percentOfFocusViewYKey && Z.value && Z.value === l.percentOfFocusViewYKey), ln = h(() => {
8409
+ }), Mn = h(() => zt.value > 5 ? 0.5 : 1), sl = h(() => zt.value > 5 ? 0.25 : 0.1), ul = h(() => !ve.value || ve.value?.length === 0 ? !0 : Ye.value === -1 / 0 || Be.value === !0 && Ye.value === 0), At = h(() => l.enableFocusView && E.value && k.value.length === 0 && l.percentOfFocusViewYKey && J.value && J.value === l.percentOfFocusViewYKey), ln = h(() => {
8409
8410
  if (v.value.length === 0)
8410
8411
  return "No groups selected. Select at least one group to display data.";
8411
- if (Pt.value) {
8412
+ if (At.value) {
8412
8413
  const b = xe(E.value || ""), L = b?.headerName || b?.field || "Compare Field";
8413
8414
  return (l.focusableColumns || []).includes(g.value) ? `Focus ${L} to view Visualization` : `Cannot focus on ${L}`;
8414
8415
  } else if (ul.value)
@@ -8420,20 +8421,20 @@ const v4 = {
8420
8421
  noData: {
8421
8422
  text: ""
8422
8423
  }
8423
- }, b.data = Pt.value ? [] : ve.value, b.legend = {
8424
+ }, b.data = At.value ? [] : ve.value, b.legend = {
8424
8425
  toggleSeries: !1,
8425
8426
  preventHidingAll: !0,
8426
8427
  enabled: v.value.length > 1
8427
8428
  };
8428
- const L = Be.value ? Ie.value?.fieldValues.map((ce) => sn(Z.value, ce)) || [] : Z.value ? [Z.value] : [], B = (() => {
8429
+ const L = Be.value ? Ie.value?.fieldValues.map((ce) => sn(J.value, ce)) || [] : J.value ? [J.value] : [], B = (() => {
8429
8430
  if (!Se.value)
8430
8431
  return [];
8431
8432
  const ce = Se.value;
8432
8433
  return ht.value ? [`${ce}${Wt}`] : Be.value ? Ie.value?.fieldValues.map(
8433
8434
  (ie) => sn(ce, String(ie))
8434
8435
  ) || [] : [ce];
8435
- })(), U = W.value.xAxis.hideLabel === !0, me = q.value?.id === "histogram" && ve.value && ve.value.length > 0 && typeof ve.value[0]?.bucketMin == "number" && typeof ve.value[0]?.bucketMax == "number", ee = [];
8436
- if (ee.push({
8436
+ })(), U = W.value.xAxis.hideLabel === !0, me = q.value?.id === "histogram" && ve.value && ve.value.length > 0 && typeof ve.value[0]?.bucketMin == "number" && typeof ve.value[0]?.bucketMax == "number", Z = [];
8437
+ if (Z.push({
8437
8438
  type: "category",
8438
8439
  position: rt.value ? "left" : "bottom",
8439
8440
  crossLines: [
@@ -8459,12 +8460,12 @@ const v4 = {
8459
8460
  let Ce = ce.value;
8460
8461
  const ke = ae(g.value);
8461
8462
  typeof ke == "function" && (Ce = ke(ce));
8462
- const Ae = l.enableFocusView && M.value.includes(ce.value) ? ` (${l.focusText})` : "";
8463
- if (typeof Ce == "string" && Ce.length + Ae.length > ie) {
8464
- const Oe = ie - Ae.length - 3;
8465
- return Ce.substring(0, Oe) + "..." + Ae;
8463
+ const Pe = l.enableFocusView && k.value.includes(ce.value) ? ` (${l.focusText})` : "";
8464
+ if (typeof Ce == "string" && Ce.length + Pe.length > ie) {
8465
+ const Oe = ie - Pe.length - 3;
8466
+ return Ce.substring(0, Oe) + "..." + Pe;
8466
8467
  }
8467
- return Ce + Ae;
8468
+ return Ce + Pe;
8468
8469
  }
8469
8470
  },
8470
8471
  paddingInner: nn.value,
@@ -8472,7 +8473,7 @@ const v4 = {
8472
8473
  groupPaddingInner: sl.value
8473
8474
  }), me && l.verticalLineOverlays && l.verticalLineOverlays.length > 0) {
8474
8475
  const ce = ve.value?.length || 1;
8475
- ee.push({
8476
+ Z.push({
8476
8477
  type: "number",
8477
8478
  keys: ["__dummy_x__"],
8478
8479
  position: rt.value ? "left" : "bottom",
@@ -8501,18 +8502,18 @@ const v4 = {
8501
8502
  } : null).filter((ie) => ie !== null) || []
8502
8503
  });
8503
8504
  }
8504
- return ee.push({
8505
+ return Z.push({
8505
8506
  type: "number",
8506
8507
  keys: L,
8507
8508
  position: rt.value ? "bottom" : "left",
8508
8509
  label: {
8509
- formatter: ae(Z.value)
8510
+ formatter: ae(J.value)
8510
8511
  },
8511
8512
  title: {
8512
8513
  enabled: !0,
8513
8514
  text: ot.value
8514
8515
  }
8515
- }), Se.value && ee.push({
8516
+ }), Se.value && Z.push({
8516
8517
  type: "number",
8517
8518
  keys: B,
8518
8519
  position: rt.value ? "top" : "right",
@@ -8524,7 +8525,7 @@ const v4 = {
8524
8525
  text: wt.value,
8525
8526
  color: cn
8526
8527
  }
8527
- }), me && l.verticalLineOverlays && l.verticalLineOverlays.length > 0 && ee.push({
8528
+ }), me && l.verticalLineOverlays && l.verticalLineOverlays.length > 0 && Z.push({
8528
8529
  type: "number",
8529
8530
  keys: ["__dummy_y__"],
8530
8531
  position: "left",
@@ -8532,8 +8533,8 @@ const v4 = {
8532
8533
  tick: { enabled: !1 },
8533
8534
  line: { enabled: !1 },
8534
8535
  gridLine: { enabled: !1 }
8535
- }), b.axes = ee, b.series = Je.value, b;
8536
- }), C = h(() => d.value || l.isLoading && (!ve.value || ve.value.length === 0)), I = h(() => Pt.value || !_.value && !l.isLoading && ln.value !== ""), z = (b) => {
8536
+ }), b.axes = Z, b.series = Je.value, b;
8537
+ }), C = h(() => d.value || l.isLoading && (!ve.value || ve.value.length === 0)), I = h(() => At.value || !_.value && !l.isLoading && ln.value !== ""), z = (b) => {
8537
8538
  s.value = b, o("chart-collapsed", b);
8538
8539
  }, ue = (b) => {
8539
8540
  a.value && (a.value.setRowGroupColumns(b ? v.value : []), R.value = b);
@@ -8550,12 +8551,12 @@ const v4 = {
8550
8551
  }
8551
8552
  }), lt(async () => {
8552
8553
  await ct(), c.value = l.filterPanelAboveChart;
8553
- }), (b, L) => (f(), F("div", P4, [
8554
- P("div", {
8554
+ }), (b, L) => (f(), F("div", A4, [
8555
+ A("div", {
8555
8556
  class: "pv-stack-16",
8556
8557
  id: u
8557
8558
  }),
8558
- e.hideChart ? N("", !0) : (f(), F("div", A4, [
8559
+ e.hideChart ? N("", !0) : (f(), F("div", P4, [
8559
8560
  Q($e, {
8560
8561
  rightIcon: "chevrons-down-up",
8561
8562
  label: "Collapse",
@@ -8564,16 +8565,16 @@ const v4 = {
8564
8565
  onClick: L[0] || (L[0] = (B) => z(!s.value)),
8565
8566
  class: se(e.hideChart || s.value ? "pv-hide" : "")
8566
8567
  }, null, 8, ["class"]),
8567
- P("div", {
8568
+ A("div", {
8568
8569
  class: se(e.hideChart || !s.value ? "pv-hide" : "pv-space-between")
8569
8570
  }, [
8570
- P("div", R4, [
8571
+ A("div", R4, [
8571
8572
  Q(Le, {
8572
8573
  name: "chart-line",
8573
8574
  size: 20,
8574
8575
  class: "pv-text-subdued"
8575
8576
  }),
8576
- L[9] || (L[9] = P("p", {
8577
+ L[9] || (L[9] = A("p", {
8577
8578
  class: "pv-text-body-md pv-text-primary",
8578
8579
  style: { "font-weight": "500" }
8579
8580
  }, "Expand to see chart", -1))
@@ -8585,7 +8586,7 @@ const v4 = {
8585
8586
  onClick: L[1] || (L[1] = (B) => z(!s.value))
8586
8587
  })
8587
8588
  ], 2),
8588
- P("div", {
8589
+ A("div", {
8589
8590
  class: se(e.hideChart || s.value ? "pv-hide" : "")
8590
8591
  }, [
8591
8592
  Q(M4, {
@@ -8595,7 +8596,7 @@ const v4 = {
8595
8596
  "use-combined-button": l.enableCombinedChartConfigPanel,
8596
8597
  "chart-config-options": l.chartConfigPanelOptions
8597
8598
  }, null, 8, ["enablePanel", "chartFilter", "rowGroupLimit", "use-combined-button", "chart-config-options"]),
8598
- P("div", L4, [
8599
+ A("div", L4, [
8599
8600
  Q(za, {
8600
8601
  ref_key: "pvChartRef",
8601
8602
  ref: i,
@@ -8603,11 +8604,11 @@ const v4 = {
8603
8604
  options: $n.value,
8604
8605
  enableFocusView: e.enableFocusView
8605
8606
  }, null, 8, ["isLoading", "options", "enableFocusView"]),
8606
- P("div", D4, [
8607
+ A("div", D4, [
8607
8608
  _.value ? (f(), F("div", V4, [
8608
8609
  (f(), j(yt(e.emptyChartFilterRenderer)))
8609
8610
  ])) : I.value ? (f(), F("p", I4, [
8610
- Pt.value ? (f(), F(fe, { key: 0 }, [
8611
+ At.value ? (f(), F(fe, { key: 0 }, [
8611
8612
  L[10] || (L[10] = ze(" Select ", -1)),
8612
8613
  Q(Le, { name: "focus" })
8613
8614
  ], 64)) : N("", !0),
@@ -11785,7 +11786,7 @@ const v4 = {
11785
11786
  setup(e) {
11786
11787
  const t = e, n = (l) => t.valueFormatter ? t.valueFormatter(l) : l.toLocaleString("en-US");
11787
11788
  return (l, o) => (f(), F("div", K4, [
11788
- P("div", {
11789
+ A("div", {
11789
11790
  min: e.min,
11790
11791
  max: e.max,
11791
11792
  "aria-hidden": "true",
@@ -11804,9 +11805,9 @@ const v4 = {
11804
11805
  rgba(1, 18, 20, 1) 90%
11805
11806
  )`, border: "0", "border-radius": "1rem", height: "0.5rem" }
11806
11807
  }, null, 8, U4),
11807
- P("div", W4, [
11808
- P("p", null, te(n(e.min)), 1),
11809
- P("p", null, te(n(e.max)), 1)
11808
+ A("div", W4, [
11809
+ A("p", null, te(n(e.min)), 1),
11810
+ A("p", null, te(n(e.max)), 1)
11810
11811
  ])
11811
11812
  ]));
11812
11813
  }
@@ -11931,7 +11932,7 @@ const v4 = {
11931
11932
  }
11932
11933
  }));
11933
11934
  return (p, y) => (f(), F(fe, null, [
11934
- P("div", X4, [
11935
+ A("div", X4, [
11935
11936
  Q(Q4, {
11936
11937
  modelValue: o.value,
11937
11938
  "onUpdate:modelValue": y[0] || (y[0] = (v) => o.value = v),