@turquoisehealth/pit-viper 2.199.2-dev.2 → 2.201.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +1 -1
  2. package/_site/assets/css/pit-viper-consumer.css +1 -1
  3. package/_site/assets/css/pit-viper-v2-scoped.css +1 -1
  4. package/_site/assets/css/pit-viper-v2.css +1 -1
  5. package/_site/assets/css/pit-viper.css +1 -1
  6. package/package.json +1 -1
  7. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  8. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-banner-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-breadcrumbs-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-card-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-input-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-insight-card-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-widget-stats.html +1 -1
  19. package/pv-components/dist/vue/base/pv-components-base.mjs +276 -259
  20. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  21. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/chartTypeRegistry.d.ts +13 -1
  22. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/constants.d.ts +2 -0
  23. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +1 -1
  24. package/pv-components/dist/vue/visualizations/components/charts/PvDataWidget/PvDataWidget.vue.d.ts +1 -1
  25. package/pv-components/dist/vue/visualizations/components/charts/PvDataWidget/helpers.d.ts +3 -1
  26. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1605 -1487
  27. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  28. package/pv-components/dist/web/components/pv-banner/pv-banner.js +1 -1
  29. package/pv-components/dist/web/components/pv-breadcrumbs/pv-breadcrumbs.js +1 -1
  30. package/pv-components/dist/web/components/pv-card/pv-card.js +1 -1
  31. package/pv-components/dist/web/components/pv-input/pv-input.js +3 -3
  32. package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +1 -1
  33. package/pv-components/dist/web/components/pv-menu/pv-menu.js +13 -13
  34. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +20 -15
  35. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +459 -459
  36. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +822 -822
  37. package/pv-components/dist/web/components/pv-widget/pv-widget.js +1 -1
  38. package/pv-components/dist/web/pv-components.iife.js +3 -3
  39. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -1,6 +1,6 @@
1
1
  (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-badge-md[data-v-743a2e13]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-743a2e13]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-743a2e13]{background-color:#e0e5e4}.pv-text-secondary[data-v-743a2e13]{color:#4b595c}.pv-split-button[data-v-3689aaf0]{--flex-gap:0}[data-v-3689aaf0] .pv-split-button__action{border-right:none;border-top-right-radius:0;border-bottom-right-radius:0}[data-v-3689aaf0] .pv-split-button__menu-trigger{border-left:none;border-top-left-radius:0;border-bottom-left-radius:0;position:relative}[data-v-3689aaf0] .pv-split-button__menu-content>*{justify-content:flex-start;width:100%}[data-v-3689aaf0] .pv-split-button__menu-trigger:before{content:"";background-color:var(--color-border,#e3e7ea);pointer-events:none;width:1px;height:50%;min-height:12px;position:absolute;top:50%;left:0;transform:translateY(-50%)translate(-150%)}[class*=pv-status]{&[data-v-0324bf60]:before,&[data-v-0324bf60]:after{margin-inline-end:0}}.pv-popover-list[data-v-c6181252]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:#0000;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-tab-list[data-v-498bf523]{border:none}.pv-tab-list :where(li)[data-active][data-v-498bf523]:after{content:"";background-color:#176f6f;width:100%;height:2px;display:block;position:absolute;bottom:0;left:0;right:0}summary[data-v-d953baf8]{background-image:none;padding-right:2px}.pv-text-secondary[data-v-8b02ee95]{color:#4b595c}.pv-select-button-trigger-avatar[data-v-5b922a5f]{font-size:.5rem;font-weight:700}.pv-select-button-trigger-content[data-v-5b922a5f]{min-width:0}.pv-select-button-trigger-label[data-v-5b922a5f]{flex:auto;min-width:0}.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):hover:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):focus-visible:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):active:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:disabled:after{background-image:unset}.pv-action-button-reveal-on-hover{opacity:0;transition:opacity .2s}.pv-label:hover .pv-action-button-reveal-on-hover{opacity:1}.pv-menu-item-disabled[data-v-a93608b0]{pointer-events:none;color:#7d898d;border-radius:4px}.pv-menu-item{&[data-v-a93608b0]{cursor:pointer;border-radius:var(--popover-list-item-radius,4px);transition-property:background-color;transition-duration:.15s}&[data-v-a93608b0]:hover,&[data-v-a93608b0]:focus-visible{background-color:var(--popover-list-item-hover-background-color,#f5f5f5)}&[data-v-a93608b0]:active{background-color:var(--popover-list-item-pressed-background-color,#ebebeb)}}.pv-radio[data-v-a93608b0]:indeterminate{background-color:unset!important;border-color:var(--color-border,#e3e7ea)!important}.pv-menu-item-expand-chevron[data-v-a93608b0]{flex-shrink:0;margin-left:auto;padding:4px}.pv-menu-item-disabled .pv-menu-item-expand-chevron[data-v-a93608b0]{pointer-events:auto;color:inherit}.dots-button[data-v-6c36dca2]{color:#4b595c;background-color:#0000}.input-icon-position{pointer-events:none;position:absolute;top:8px;left:12px}.pv-insight-button[data-v-c1185c07]{position:absolute;top:.5rem;right:.5rem}.expandable-content[data-v-06cc192f]{border-radius:.5rem}.expandable-content .pv-line-clamp[data-v-06cc192f]{transition:max-height .3s ease-in-out}.reorder-icon[data-v-1efb9068]{width:16px;min-width:16px;height:16px;min-height:16px;position:absolute;top:0;left:0;transform:translateY(25%)}.pv-tree-drop-zone[data-v-ecab1929]{min-height:0}.tree-item-continued[data-v-ecab1929]{position:relative}.tree-item-continued[data-v-ecab1929]:before{content:"";left:calc(var(--tree-connector-left,8px) + 1px);background:var(--tree-connector-color,#d2d8dc);z-index:1;pointer-events:none;width:1px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.tree-item-continued .tree-component-nested-middle-symbol[data-v-ecab1929]:before{display:none}.tree-component-end-symbol[data-v-ecab1929]{width:16px;min-width:16px;height:16px;position:relative}.tree-component-end-symbol[data-v-ecab1929]:before,.tree-component-end-symbol[data-v-ecab1929]:after{content:"";background:var(--tree-connector-color,#d2d8dc);position:absolute}.tree-component-end-symbol[data-v-ecab1929]:before{width:1px;height:14px;top:-6px;left:8px;transform:translate(-50%)}.tree-component-end-symbol[data-v-ecab1929]:after{width:8px;height:1px;top:8px;left:8px}.tree-component-middle-symbol[data-v-ecab1929]{width:16px;min-width:16px;height:16px;position:relative}.tree-component-middle-symbol[data-v-ecab1929]:before{content:"";background:var(--tree-connector-color,#d2d8dc);width:1px;height:28px;position:absolute;top:-4px;left:50%;transform:translate(-50%)}.tree-component-nested-middle-symbol[data-v-ecab1929]{width:16px;min-width:16px;height:16px;position:relative}.tree-component-nested-middle-symbol[data-v-ecab1929]:before,.tree-component-nested-middle-symbol[data-v-ecab1929]:after{content:"";background:var(--tree-connector-color,#d2d8dc);position:absolute;left:50%}.tree-component-nested-middle-symbol[data-v-ecab1929]:before{width:1px;height:28px;top:-4px;transform:translate(-50%)}.tree-component-nested-middle-symbol[data-v-ecab1929]:after{width:8px;height:1px;top:50%;transform:translateY(-50%)}.pv-tree-drop-zone[data-v-8e33078d],.pv-tree-drop-zone[data-v-7589558e]{min-height:0}[data-v-2896bb8b] .pv-tree-item{cursor:pointer;background-color:#0000;border:1px solid #0000;padding:3px 4px}[data-v-2896bb8b] .pv-tree-item-disabled{cursor:default!important}[data-v-2896bb8b] .pv-tree-item.pv-drop-indicator-top{border-top:1px solid var(--color-border,#121313)}[data-v-2896bb8b] .pv-tree-item.pv-drop-indicator-bottom{border-bottom:1px solid var(--color-border,#121313)}[data-v-2896bb8b] .pv-drop-indicator-parent{border:1px solid var(--color-border,#36c5ba)}[data-v-2896bb8b] .pv-tree-item-selected{background-color:var(--pv-color-selected,#e4f8f6)}[data-v-2896bb8b] .pv-tree:not(.pv-tree--disable-selection) .pv-tree-item-selected:hover,[data-v-2896bb8b] .pv-tree:not(.pv-tree--disable-selection) .pv-tree-item:hover{background-color:var(--pv-color-hover,#e8f2f4);border-radius:4px}[data-v-2896bb8b] .pv-tree:not(.pv-tree--disable-selection) .pv-tree-item-selected:active,[data-v-2896bb8b] .pv-tree:not(.pv-tree--disable-selection) .pv-tree-item:active{background-color:var(--pv-color-active,#c7d8db);border-radius:4px}.pv-filter-panel-option-row[data-v-7e00be1a]{--flex-align:center;--flex-gap:.5rem;cursor:pointer;min-width:0;padding-left:calc(var(--pv-filter-panel-option-row-depth) * 1.25rem)}.pv-filter-panel-option-row-content[data-v-7e00be1a]{--flex-align:stretch;--flex-gap:0;flex:auto;min-width:0}.pv-filter-panel-option-row-disabled[data-v-7e00be1a]{cursor:not-allowed;opacity:.6}.pv-filter-panel-option-row-line[data-v-7e00be1a]{--lines:1}.pv-filter-panel-option-row-right[data-v-7e00be1a]{text-align:right;flex:none}summary[data-v-014fc511]{background-image:none;padding-right:2px}[data-v-014fc511] .pv-input-search{background-color:#fff}.suggested-title-label[data-v-014fc511]{text-underline-offset:2px;text-decoration:underline dotted}.pv-filter-panel[data-v-4a3b2634]{height:100%;max-height:100vh}.pv-filter-panel-actions[data-v-4a3b2634],.pv-filter-panel-header[data-v-4a3b2634],.pv-filter-panel-suggestion-tags[data-v-4a3b2634]{--flex-gap:.5rem}.pv-filter-panel-body[data-v-4a3b2634],.pv-filter-panel-filters-view[data-v-4a3b2634]{--flex-align:stretch;--flex-gap:0}.pv-filter-panel-body[data-v-4a3b2634]{scrollbar-color:var(--color-border,#c1c1c1) transparent;scrollbar-gutter:stable;scrollbar-width:thin;flex:auto;min-height:0;overflow-y:auto}.pv-filter-panel-body[data-v-4a3b2634]::-webkit-scrollbar{width:8px}.pv-filter-panel-body[data-v-4a3b2634]::-webkit-scrollbar-track{background:0 0}.pv-filter-panel-body[data-v-4a3b2634]::-webkit-scrollbar-thumb{background:var(--color-border,#c1c1c1);border-radius:8px}.pv-filter-panel-body[data-v-4a3b2634]::-webkit-scrollbar-thumb:hover{background:var(--color-text-subdued,#7c7c7c)}.pv-filter-panel-empty[data-v-4a3b2634],.pv-filter-panel-footer[data-v-4a3b2634],.pv-filter-panel-suggestions[data-v-4a3b2634]{padding:12px}.pv-filter-panel-filter-list[data-v-4a3b2634]{--flex-align:stretch;--flex-gap:8px;padding-top:8px}.pv-filter-panel-footer[data-v-4a3b2634]{--flex-justify:flex-end;background:var(--color-background-body,#fff);z-index:1;flex:none;margin-top:auto;position:sticky;bottom:0}.pv-filter-panel-header[data-v-4a3b2634]{--flex-align:center;padding:12px}.pv-filter-panel-mode-control[data-v-4a3b2634]{flex:auto;min-width:0}.pv-filter-panel-modal-footer[data-v-4a3b2634]{--flex-justify:flex-end}.pv-filter-panel-section-title[data-v-4a3b2634]{margin:0}.pv-filter-panel-suggestions[data-v-4a3b2634]{--flex-align:stretch}.pv-filter-panel-suggestion-tags[data-v-4a3b2634]{--flex-wrap:wrap}.pv-filter-modal-rail[data-v-f6b1c07d]{--flex-align:stretch;flex:0 0 180px;padding-inline-end:1rem;overflow-y:auto}.pv-filter-modal-pane[data-v-f6b1c07d]{flex:auto;min-width:0;min-height:0;padding-inline-start:1rem}.pv-filter-modal-options[data-v-f6b1c07d]{min-height:360px;max-height:360px;overflow-y:auto}.pv-filter-modal-pane-actions[data-v-f6b1c07d]{margin-top:auto;padding-top:.5rem}.pv-hover-action-menu[data-v-6325cd25]{position:relative}.pv-hover-action-menu__actions[data-v-6325cd25]{z-index:1;display:none;position:absolute}.pv-hover-action-menu:hover .pv-hover-action-menu__actions[data-v-6325cd25],.pv-hover-action-menu:focus-within .pv-hover-action-menu__actions[data-v-6325cd25]{display:flex}.pv-hover-action-menu--top-right .pv-hover-action-menu__actions[data-v-6325cd25]{top:var(--pv-hover-action-menu-offset-block,8px);right:var(--pv-hover-action-menu-offset-inline,8px)}.pv-hover-action-menu--top-left .pv-hover-action-menu__actions[data-v-6325cd25]{top:var(--pv-hover-action-menu-offset-block,8px);left:var(--pv-hover-action-menu-offset-inline,8px)}.pv-hover-action-menu--bottom-right .pv-hover-action-menu__actions[data-v-6325cd25]{right:var(--pv-hover-action-menu-offset-inline,8px);bottom:var(--pv-hover-action-menu-offset-block,8px)}.pv-hover-action-menu--bottom-left .pv-hover-action-menu__actions[data-v-6325cd25]{bottom:var(--pv-hover-action-menu-offset-block,8px);left:var(--pv-hover-action-menu-offset-inline,8px)}.pv-hover-action-menu__button[data-v-6325cd25] .pv-icon{margin:0}.pv-hover-action-menu__button[data-v-6325cd25],.pv-hover-action-menu__button[data-v-6325cd25] button{opacity:.7}.pv-hover-action-menu__button[data-v-6325cd25]:hover:not(:disabled),.pv-hover-action-menu__button[data-v-6325cd25] button:hover:not(:disabled){opacity:1}.pv-text-tertiary[data-v-ff951d17]{color:#6e8081}.pv-query-builder-input-wrapper[data-v-4decbec2]{cursor:text;background:#f7f8f8;border:2px solid #0000;border-radius:.5rem;align-items:center;width:100%;min-height:2.25rem;padding:.25rem;font-size:.75rem;display:flex;position:relative}.pv-query-builder-input[data-v-4decbec2]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-4decbec2]{background:0 0;border:none;outline:none;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-4decbec2]:focus-within{border:2px solid #36c5ba}
2
2
  /*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import * as e from "vue";
3
- import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, guardReactiveProps as p, inject as m, isRef as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as S, onMounted as C, onUnmounted as w, onUpdated as T, openBlock as E, provide as D, ref as O, renderList as k, renderSlot as A, resolveComponent as ee, resolveDynamicComponent as j, shallowRef as M, toDisplayString as N, unref as P, useAttrs as te, useId as F, useModel as I, useSlots as L, useTemplateRef as R, vModelCheckbox as z, vModelDynamic as ne, vModelRadio as re, vModelText as B, vShow as V, watch as H, watchEffect as U, withCtx as W, withDirectives as G, withKeys as ie, withModifiers as K } from "vue";
3
+ import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, guardReactiveProps as p, inject as m, isRef as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as S, onMounted as C, onUnmounted as w, onUpdated as T, openBlock as E, provide as D, ref as O, renderList as k, renderSlot as A, resolveComponent as ee, resolveDynamicComponent as j, shallowRef as M, toDisplayString as N, unref as P, useAttrs as F, useId as I, useModel as L, useSlots as R, useTemplateRef as z, vModelCheckbox as B, vModelDynamic as te, vModelRadio as ne, vModelText as V, vShow as H, watch as U, watchEffect as re, withCtx as W, withDirectives as G, withKeys as ie, withModifiers as K } from "vue";
4
4
  import { onClickOutside as ae, onKeyStroke as oe, useDebounceFn as q, useElementBounding as se, useElementHover as ce, useToggle as le, watchDebounced as ue } from "@vueuse/core";
5
5
  import { vOnClickOutside as de } from "@vueuse/components";
6
6
  import { useSortable as J } from "@vueuse/integrations/useSortable.mjs";
@@ -985,7 +985,7 @@ var jn = { style: { width: "fit-content" } }, Mn = /* @__PURE__ */ d({
985
985
  }),
986
986
  emits: ["update:modelValue"],
987
987
  setup(e) {
988
- let t = e, c = I(e, "modelValue"), l = O(null), u = O(null), d = O(null), f = ce(l), p = ce(d), m = {
988
+ let t = e, c = L(e, "modelValue"), l = O(null), u = O(null), d = O(null), f = ce(l), p = ce(d), m = {
989
989
  "top-center": "top",
990
990
  "bottom-center": "bottom",
991
991
  "center-left": "left",
@@ -1005,13 +1005,13 @@ var jn = { style: { width: "fit-content" } }, Mn = /* @__PURE__ */ d({
1005
1005
  strategy: t.positioningStrategy,
1006
1006
  middleware: h
1007
1007
  });
1008
- H(c, (e) => {
1008
+ U(c, (e) => {
1009
1009
  e && u.value && d.value && _();
1010
1010
  });
1011
1011
  let v = se(u), y = q(() => {
1012
1012
  c.value && _();
1013
1013
  }, 5);
1014
- H([
1014
+ U([
1015
1015
  v.top,
1016
1016
  v.left,
1017
1017
  v.width,
@@ -1038,7 +1038,7 @@ var jn = { style: { width: "fit-content" } }, Mn = /* @__PURE__ */ d({
1038
1038
  }, M = () => {
1039
1039
  t.disableClickOutsideToClose || D(!1);
1040
1040
  };
1041
- return H(ee, (e) => {
1041
+ return U(ee, (e) => {
1042
1042
  t.showOnHover && D(e);
1043
1043
  }), w(() => {
1044
1044
  T();
@@ -1055,7 +1055,7 @@ var jn = { style: { width: "fit-content" } }, Mn = /* @__PURE__ */ d({
1055
1055
  ref_key: "floating",
1056
1056
  ref: d,
1057
1057
  style: x(b.value)
1058
- }, [A(r.$slots, "content")], 4), [[V, c.value]])], 8, ["to", "disabled"])) : a("", !0)])), [[P(de), [M, { ignore: k.value }]]]);
1058
+ }, [A(r.$slots, "content")], 4), [[H, c.value]])], 8, ["to", "disabled"])) : a("", !0)])), [[P(de), [M, { ignore: k.value }]]]);
1059
1059
  }
1060
1060
  }), Nn = ["data-variant"], Pn = /* @__PURE__ */ d({
1061
1061
  __name: "PvTooltipV2",
@@ -1193,7 +1193,7 @@ function Hn(e, t) {
1193
1193
  return n ? t === "default" || t === "" ? n.querySelector("slot:not([name])") : n.querySelector(`slot[name="${CSS.escape(t)}"]`) : null;
1194
1194
  }
1195
1195
  function Un(e, t = {}) {
1196
- let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = Me(), l = i ?? L(), u = r(() => c.value || !l ? !1 : !!l[e === "default" || e === "" ? "default" : e]), d = O(!1), f = null, p = null, m = () => {
1196
+ let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = Me(), l = i ?? R(), u = r(() => c.value || !l ? !1 : !!l[e === "default" || e === "" ? "default" : e]), d = O(!1), f = null, p = null, m = () => {
1197
1197
  f &&= (f.disconnect(), null), p &&= (p.removeEventListener("slotchange", h), null);
1198
1198
  }, h = () => {
1199
1199
  if (!c.value) {
@@ -1227,7 +1227,7 @@ function Un(e, t = {}) {
1227
1227
  characterData: !0
1228
1228
  }));
1229
1229
  };
1230
- return C(g), S(m), H(() => P(n), () => {
1230
+ return C(g), S(m), U(() => P(n), () => {
1231
1231
  c.value && g();
1232
1232
  }), {
1233
1233
  present: r(() => c.value ? d.value : u.value),
@@ -1295,7 +1295,19 @@ var Wn = [
1295
1295
  ariaLabel: {}
1296
1296
  },
1297
1297
  setup(e) {
1298
- let t = e, n = r(() => t.size === "md" ? "sm" : "md");
1298
+ let t = e, n = r(() => t.size === "md" ? "sm" : "md"), a = r(() => ({
1299
+ variant: t.variant,
1300
+ disabled: t.disabled,
1301
+ size: t.size,
1302
+ loading: t.loading,
1303
+ label: t.label,
1304
+ leftIcon: t.leftIcon,
1305
+ rightIcon: t.rightIcon,
1306
+ inverse: t.inverse,
1307
+ leftCounterBadge: t.leftCounterBadge,
1308
+ rightCounterBadge: t.rightCounterBadge,
1309
+ ariaLabel: t.ariaLabel
1310
+ }));
1299
1311
  return (t, r) => (E(), i(Kn, {
1300
1312
  variant: e.tooltipVariant,
1301
1313
  "tooltip-position": e.tooltipPosition,
@@ -1303,7 +1315,7 @@ var Wn = [
1303
1315
  size: n.value
1304
1316
  }, {
1305
1317
  "tooltip-content": W(() => [s("p", qn, N(e.tooltipText), 1)]),
1306
- label: W(() => [u(Q, b(p(t.$props)), null, 16)]),
1318
+ label: W(() => [u(Q, b(p(a.value)), null, 16)]),
1307
1319
  _: 1
1308
1320
  }, 8, [
1309
1321
  "variant",
@@ -1532,7 +1544,7 @@ var Wn = [
1532
1544
  },
1533
1545
  emits: ["list-order-updated"],
1534
1546
  setup(e, { expose: t, emit: n }) {
1535
- let r = O(null), i = R("popoverList"), a = e, s = n;
1547
+ let r = O(null), i = z("popoverList"), a = e, s = n;
1536
1548
  return a.isSortable && a.isList && J(i, [], {
1537
1549
  animation: 150,
1538
1550
  onUpdate: () => {
@@ -1601,7 +1613,7 @@ var Wn = [
1601
1613
  }, C = () => {
1602
1614
  p.value = !1;
1603
1615
  };
1604
- t({ closeDropdown: C }), H(p, (e) => {
1616
+ t({ closeDropdown: C }), U(p, (e) => {
1605
1617
  e ? v(() => {
1606
1618
  b(), f("dropdown-open");
1607
1619
  }) : f("dropdown-closed");
@@ -1673,7 +1685,7 @@ var Wn = [
1673
1685
  }),
1674
1686
  emits: ["update:modelValue"],
1675
1687
  setup(e) {
1676
- let n = I(e, "modelValue"), r = (e) => {
1688
+ let n = L(e, "modelValue"), r = (e) => {
1677
1689
  e.disabled || (n.value = e.value);
1678
1690
  };
1679
1691
  return (a, s) => (E(), o("div", { class: y(["pv-segmented-control", { "pv-segmented-control-large": e.size === "xl" }]) }, [(E(!0), o(t, null, k(e.options, (e) => (E(), i(Pn, {
@@ -1749,7 +1761,7 @@ var Wn = [
1749
1761
  "pv-icon": n.value,
1750
1762
  [`pv-company-${t.size}`]: t.size && !n.value
1751
1763
  })), c = r(() => ({ width: i.value })), l = r(() => `${t.name.toLowerCase().replace(/[^a-z\s]/g, "").trim().replace(/\s+/g, "_")}.svg`), u = r(() => t.srcPathOverride ? t.srcPathOverride : `${t.basePath}/${l.value}`);
1752
- return H(u, () => {
1764
+ return U(u, () => {
1753
1765
  n.value = !0;
1754
1766
  }), (e, t) => (E(), o("div", hr, [n.value ? (E(), o("div", {
1755
1767
  key: 0,
@@ -1798,8 +1810,8 @@ var Wn = [
1798
1810
  }),
1799
1811
  emits: ["update:modelValue"],
1800
1812
  setup(e) {
1801
- let t = e, n = R("dialog"), r = I(e, "modelValue");
1802
- H(() => r.value, () => {
1813
+ let t = e, n = z("dialog"), r = L(e, "modelValue");
1814
+ U(() => r.value, () => {
1803
1815
  r.value ? n.value?.showModal() : n.value?.close();
1804
1816
  });
1805
1817
  let i = () => {
@@ -1846,7 +1858,7 @@ var Wn = [
1846
1858
  name: e.icon
1847
1859
  }, null, 8, ["name"])) : a("", !0),
1848
1860
  s("div", null, [s("p", {
1849
- class: y([" pv-text-title-md pv-line-clamp", { "pv-stack-4": e.description }]),
1861
+ class: y(["pv-text-title-md pv-line-clamp", { "pv-stack-4": e.description }]),
1850
1862
  style: {
1851
1863
  "--lines": "2",
1852
1864
  "font-weight": "500"
@@ -2018,7 +2030,7 @@ var Wn = [
2018
2030
  }),
2019
2031
  emits: /* @__PURE__ */ g(["summary-mouseenter", "summary-mouseleave"], ["update:modelValue"]),
2020
2032
  setup(e) {
2021
- let n = e, c = I(e, "modelValue");
2033
+ let n = e, c = L(e, "modelValue");
2022
2034
  n.defaultOpen !== void 0 && (c.value = n.defaultOpen);
2023
2035
  let l = (e) => {
2024
2036
  c.value = e.target.open;
@@ -2075,7 +2087,7 @@ var Wn = [
2075
2087
  }),
2076
2088
  emits: ["update:modelValue"],
2077
2089
  setup(e, { expose: t }) {
2078
- let n = e, i = R("search-input"), c = I(e, "modelValue"), l = r(() => ({
2090
+ let n = e, i = z("search-input"), c = L(e, "modelValue"), l = r(() => ({
2079
2091
  "pv-input-search": !0,
2080
2092
  "pv-full-width": !0,
2081
2093
  "pv-input-padded-end": !0
@@ -2093,7 +2105,7 @@ var Wn = [
2093
2105
  disabled: e.disabled,
2094
2106
  class: y(l.value),
2095
2107
  placeholder: e.placeholder
2096
- }, null, 10, Vr), [[B, c.value]]), e.displayShortcut ? (E(), o("kbd", Hr, N(Ur))) : a("", !0)]));
2108
+ }, null, 10, Vr), [[V, c.value]]), e.displayShortcut ? (E(), o("kbd", Hr, N(Ur))) : a("", !0)]));
2097
2109
  }
2098
2110
  }), Gr = /* @__PURE__ */ d({
2099
2111
  __name: "PvDatePicker",
@@ -2126,7 +2138,7 @@ var Wn = [
2126
2138
  }),
2127
2139
  emits: ["update:modelValue"],
2128
2140
  setup(e) {
2129
- let t = I(e, "modelValue"), n = e;
2141
+ let t = L(e, "modelValue"), n = e;
2130
2142
  return (r, a) => (E(), i(P(fe), _({
2131
2143
  modelValue: t.value,
2132
2144
  "onUpdate:modelValue": a[0] ||= (e) => t.value = e
@@ -2224,7 +2236,7 @@ var Kr = () => ({
2224
2236
  }),
2225
2237
  emits: /* @__PURE__ */ g(["click-outside"], ["update:searchInput", "update:modelValue"]),
2226
2238
  setup(e, { emit: n }) {
2227
- let r = e, i = n, c = R("sidePanel"), l = I(e, "searchInput"), d = I(e, "modelValue");
2239
+ let r = e, i = n, c = z("sidePanel"), l = L(e, "searchInput"), d = L(e, "modelValue");
2228
2240
  C(() => {
2229
2241
  d.value && c?.value?.setAttribute("open", "true"), r.closeOnClickOutside && f();
2230
2242
  });
@@ -2235,7 +2247,7 @@ var Kr = () => ({
2235
2247
  }, p = () => {
2236
2248
  c?.value?.removeAttribute("open"), d.value = !1;
2237
2249
  };
2238
- return H(() => d.value, () => {
2250
+ return U(() => d.value, () => {
2239
2251
  d.value ? c?.value?.setAttribute("open", "true") : c?.value?.removeAttribute("open");
2240
2252
  }), oe("Escape", () => {
2241
2253
  c.value && d.value && p();
@@ -2277,7 +2289,7 @@ var Kr = () => ({
2277
2289
  }),
2278
2290
  emits: ["update:modelValue"],
2279
2291
  setup(e) {
2280
- let n = I(e, "modelValue"), r = (e) => {
2292
+ let n = L(e, "modelValue"), r = (e) => {
2281
2293
  n.value = e;
2282
2294
  }, c = (e) => e.label === n.value ? !0 : null;
2283
2295
  return (n, u) => (E(), o("ul", {
@@ -2315,7 +2327,7 @@ var Kr = () => ({
2315
2327
  __name: "PvBreadcrumbs",
2316
2328
  props: { options: {} },
2317
2329
  setup(e) {
2318
- return (n, r) => (E(), o("ul", oi, [(E(!0), o(t, null, k(e.options, (e) => (E(), o("li", { key: e.label }, [e.href ? (E(), o("a", {
2330
+ return (n, r) => (E(), o("ul", oi, [(E(!0), o(t, null, k(e.options, (e, n) => (E(), o("li", { key: `${n}-${e.label}` }, [e.href ? (E(), o("a", {
2319
2331
  key: 0,
2320
2332
  href: e.href
2321
2333
  }, N(e.label), 9, si)) : (E(), o(t, { key: 1 }, [l(N(e.label), 1)], 64))]))), 128))]));
@@ -2631,7 +2643,7 @@ var ki = {
2631
2643
  };
2632
2644
  return C(() => {
2633
2645
  p();
2634
- }), H(() => n.queryText, () => {
2646
+ }), U(() => n.queryText, () => {
2635
2647
  p();
2636
2648
  }), (n, r) => (E(), o(t, null, [
2637
2649
  e.avatar ? (E(), i(pi, {
@@ -2714,7 +2726,7 @@ var ki = {
2714
2726
  }),
2715
2727
  emits: ["update:modelValue"],
2716
2728
  setup(e) {
2717
- let t = e.id ?? F(), n = I(e, "modelValue");
2729
+ let t = e.id ?? I(), n = L(e, "modelValue");
2718
2730
  return (r, i) => (E(), o("label", {
2719
2731
  for: P(t),
2720
2732
  class: y(["pv-label pv-switch pv-label-hover", {
@@ -2729,7 +2741,7 @@ var ki = {
2729
2741
  type: "checkbox",
2730
2742
  role: "switch",
2731
2743
  id: P(t)
2732
- }, null, 8, Ii), [[z, n.value]])], 10, Pi));
2744
+ }, null, 8, Ii), [[B, n.value]])], 10, Pi));
2733
2745
  }
2734
2746
  }), [["__scopeId", "data-v-73e6d2b2"]]), Ri = /* @__PURE__ */ d({
2735
2747
  __name: "PvMenuItemAction",
@@ -2793,7 +2805,7 @@ var ki = {
2793
2805
  },
2794
2806
  emits: ["handle-selected", "toggle-expanded"],
2795
2807
  setup(e, { emit: t }) {
2796
- let n = e, c = R("inputRef"), l = m(zi, void 0), d = m(Bi, O(!1)), p = m(Vi, void 0), h = m(Hi, void 0), g = r(() => {
2808
+ let n = e, c = z("inputRef"), l = m(zi, void 0), d = m(Bi, O(!1)), p = m(Vi, void 0), h = m(Hi, void 0), g = r(() => {
2797
2809
  if (!d.value || !Ci(n)) return [];
2798
2810
  let e = n.children ? wi(n.children) : [];
2799
2811
  if (p?.value) {
@@ -2931,8 +2943,8 @@ var ki = {
2931
2943
  }),
2932
2944
  emits: /* @__PURE__ */ g(["handle-selected", "see-more"], ["update:selectedIds"]),
2933
2945
  setup(e, { emit: n }) {
2934
- let i = e, s = m(zi, void 0), c = I(e, "selectedIds"), l = m(Gi, O(!1)), d = m(Wi, O(!1)), f = m(Hi, void 0), p = m(Ui, void 0), h = O(i.defaultExpanded ?? !1), g = O(!1), v = O(!1), b = O(i.children ?? []), S = O(/* @__PURE__ */ new Set());
2935
- H(() => i.children, (e) => {
2946
+ let i = e, s = m(zi, void 0), c = L(e, "selectedIds"), l = m(Gi, O(!1)), d = m(Wi, O(!1)), f = m(Hi, void 0), p = m(Ui, void 0), h = O(i.defaultExpanded ?? !1), g = O(!1), v = O(!1), b = O(i.children ?? []), S = O(/* @__PURE__ */ new Set());
2947
+ U(() => i.children, (e) => {
2936
2948
  if (!e) {
2937
2949
  b.value = [];
2938
2950
  return;
@@ -2948,10 +2960,10 @@ var ki = {
2948
2960
  }), D = r(() => Ci({
2949
2961
  ...i,
2950
2962
  children: b.value
2951
- }) && i.level < Qi), A = r(() => D.value ? l.value ? h.value : !0 : !1), j = r(() => h.value ? "chevron-down" : "chevron-right"), M = (e) => s && Array.isArray(s.value) ? s.value.some((t) => t.id === e.id) : c.value.includes(e.id), N = n, te = r(() => v.value || i.totalChildCount == null ? !1 : i.totalChildCount > b.value.length), F = async () => {
2963
+ }) && i.level < Qi), A = r(() => D.value ? l.value ? h.value || !!i.disabled : !0 : !1), j = r(() => h.value ? "chevron-down" : "chevron-right"), M = (e) => s && Array.isArray(s.value) ? s.value.some((t) => t.id === e.id) : c.value.includes(e.id), N = (e) => M(e) ? !0 : f?.value?.has(i.id) ? !(p?.value?.get(i.id))?.has(e.id) : !1, F = n, I = r(() => v.value || i.totalChildCount == null ? !1 : i.totalChildCount > b.value.length), R = async () => {
2952
2964
  if (g.value) return;
2953
2965
  if (!i.handleSeeMore) {
2954
- N("see-more", {
2966
+ F("see-more", {
2955
2967
  parentId: i.id,
2956
2968
  offset: b.value.length
2957
2969
  });
@@ -2983,7 +2995,7 @@ var ki = {
2983
2995
  } finally {
2984
2996
  g.value = !1;
2985
2997
  }
2986
- }, L = (e) => {
2998
+ }, z = (e) => {
2987
2999
  if (l.value && D.value && e.option.id === i.id && !d.value) {
2988
3000
  C();
2989
3001
  return;
@@ -2992,9 +3004,9 @@ var ki = {
2992
3004
  let t = c.value.indexOf(e.option.id);
2993
3005
  t > -1 ? c.value = [...c.value.slice(0, t), ...c.value.slice(t + 1)] : c.value = [...c.value, e.option.id];
2994
3006
  }
2995
- N("handle-selected", e);
2996
- }, R = (e) => {
2997
- N("handle-selected", e);
3007
+ F("handle-selected", e);
3008
+ }, B = (e) => {
3009
+ F("handle-selected", e);
2998
3010
  };
2999
3011
  return (n, r) => {
3000
3012
  let s = ee("PvMenuItem", !0);
@@ -3006,7 +3018,7 @@ var ki = {
3006
3018
  showChevron: P(l) && D.value,
3007
3019
  chevronIcon: j.value,
3008
3020
  expanded: h.value,
3009
- onHandleSelected: L,
3021
+ onHandleSelected: z,
3010
3022
  onToggleExpanded: C,
3011
3023
  selected: M(i)
3012
3024
  }), null, 16, [
@@ -3022,7 +3034,7 @@ var ki = {
3022
3034
  key: 0,
3023
3035
  role: "list",
3024
3036
  style: x(w.value)
3025
- }, [(E(!0), o(t, null, k(b.value, (t) => (E(), o("li", {
3037
+ }, [(E(!0), o(t, null, k(b.value, (t) => G((E(), o("li", {
3026
3038
  key: t.id,
3027
3039
  "data-active": M(t) ? "true" : null,
3028
3040
  class: y(e.itemClass)
@@ -3034,8 +3046,8 @@ var ki = {
3034
3046
  queryText: e.queryText,
3035
3047
  highlightSearchText: e.highlightSearchText,
3036
3048
  level: e.level + 1,
3037
- onHandleSelected: R,
3038
- onSeeMore: r[1] ||= (e) => N("see-more", e)
3049
+ onHandleSelected: B,
3050
+ onSeeMore: r[1] ||= (e) => F("see-more", e)
3039
3051
  }), null, 16, [
3040
3052
  "disabled",
3041
3053
  "selectedIds",
@@ -3043,13 +3055,13 @@ var ki = {
3043
3055
  "queryText",
3044
3056
  "highlightSearchText",
3045
3057
  "level"
3046
- ])], 10, Xi))), 128)), te.value ? (E(), o("li", Zi, [u(Q, {
3058
+ ])], 10, Xi)), [[H, !i.disabled || N(t)]])), 128)), I.value ? (E(), o("li", Zi, [u(Q, {
3047
3059
  class: "pv-text-brand",
3048
3060
  variant: "ghost",
3049
3061
  label: "See more",
3050
3062
  loading: g.value,
3051
3063
  "data-testid": "pv-menu-item-see-more",
3052
- onClick: F
3064
+ onClick: R
3053
3065
  }, null, 8, ["loading"])])) : a("", !0)], 4)) : a("", !0)], 64);
3054
3066
  };
3055
3067
  }
@@ -3076,10 +3088,10 @@ var ki = {
3076
3088
  }),
3077
3089
  emits: /* @__PURE__ */ g(["handle-selected", "see-more"], ["update:selectedItems"]),
3078
3090
  setup(e, { emit: n }) {
3079
- let i = e, s = n, c = I(e, "selectedItems"), l = M(c.value);
3080
- H(c, (e) => {
3091
+ let i = e, s = n, c = L(e, "selectedItems"), l = M(c.value);
3092
+ U(c, (e) => {
3081
3093
  l.value = e;
3082
- }), H(l, (e) => {
3094
+ }), U(l, (e) => {
3083
3095
  e !== c.value && (c.value = e);
3084
3096
  }), D(zi, l), D(Bi, r(() => !!i.enableCascadeSelection));
3085
3097
  let d = m(Vi, void 0), f = m(Wi, O(!1)), p = m(Hi, void 0), h = m(Ui, void 0), g = r(() => i.singleSelect || i.config?.variant === "radio"), v = (e) => {
@@ -3136,7 +3148,7 @@ var ki = {
3136
3148
  "config",
3137
3149
  "itemClass",
3138
3150
  "queryText"
3139
- ])], 10, ta)), [[V, C(t, e.isLoading)]])), 128)), e.hasMoreOptions ? (E(), o("li", na, [u(Q, {
3151
+ ])], 10, ta)), [[H, C(t, e.isLoading || i.readOnly)]])), 128)), e.hasMoreOptions && !i.readOnly ? (E(), o("li", na, [u(Q, {
3140
3152
  class: "pv-text-brand",
3141
3153
  variant: "ghost",
3142
3154
  label: "See more",
@@ -3289,26 +3301,26 @@ var ki = {
3289
3301
  state: "deselected"
3290
3302
  }))), t.push(r);
3291
3303
  }
3292
- for (let n of U.value) e.has(n.id) || t.push({
3304
+ for (let n of re.value) e.has(n.id) || t.push({
3293
3305
  id: n.id,
3294
3306
  state: "selected"
3295
3307
  });
3296
3308
  return t;
3297
3309
  }, C = r(() => c.hasMoreOptions == null ? c.totalOptionCount == null ? !1 : c.totalOptionCount > c.options.length : c.hasMoreOptions), w = r(() => {
3298
3310
  let e = c.additionalCounter ?? 0;
3299
- if (c.enableCascadeSelection && c.countSelectedParents && L.value?.length) return Di(L.value) + e;
3300
- if (!c.countSelectedParents || !c.enableCascadeSelection) return U.value.length + e;
3301
- let t = new Set(U.value.map((e) => e.id));
3311
+ if (c.enableCascadeSelection && c.countSelectedParents && R.value?.length) return Di(R.value) + e;
3312
+ if (!c.countSelectedParents || !c.enableCascadeSelection) return re.value.length + e;
3313
+ let t = new Set(re.value.map((e) => e.id));
3302
3314
  return Ei(c.options, t) + e;
3303
- }), T = r(() => U.value.length > 0 ? !0 : c.enableCascadeSelection && L.value?.length ? L.value.some((e) => e.state === "selected") : !1), O = (e) => {
3315
+ }), T = r(() => re.value.length > 0 ? !0 : c.enableCascadeSelection && R.value?.length ? R.value.some((e) => e.state === "selected") : !1), O = (e) => {
3304
3316
  g("see-more", e ?? {});
3305
- }, ee = R("searchInputRef"), [j, te] = le(c.defaultOpen), F = I(e, "modelValue"), L = I(e, "selectionState"), z = I(e, "searchInput"), ne = r(() => c.menuActionsVariant === "cancel-confirm"), re = (e) => {
3306
- U.value = e, ne.value || (F.value = e, L.value = S());
3307
- }, B = () => {
3308
- ne.value && (F.value = U.value, L.value = S());
3317
+ }, ee = z("searchInputRef"), [j, F] = le(c.defaultOpen), I = L(e, "modelValue"), R = L(e, "selectionState"), B = L(e, "searchInput"), te = r(() => c.menuActionsVariant === "cancel-confirm"), ne = (e) => {
3318
+ re.value = e, te.value || (I.value = e, R.value = S());
3309
3319
  }, V = () => {
3310
- ne.value && (U.value = F.value);
3311
- }, U = M(F.value), G = (e) => d.value.get(e), ie = (e) => {
3320
+ te.value && (I.value = re.value, R.value = S());
3321
+ }, H = () => {
3322
+ te.value && (re.value = I.value);
3323
+ }, re = M(I.value), G = (e) => d.value.get(e), ie = (e) => {
3312
3324
  if (!c.enableCascadeSelection || !e) return;
3313
3325
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map(), r = [], i = /* @__PURE__ */ new Set(), a = (e, t) => {
3314
3326
  i.has(t) || (i.add(t), r.push(e ?? {
@@ -3326,37 +3338,37 @@ var ki = {
3326
3338
  }
3327
3339
  a(G(r.id), r.id);
3328
3340
  }
3329
- f.value = t, m.value = n, U.value = r;
3341
+ f.value = t, m.value = n, re.value = r;
3330
3342
  }, K = r({
3331
- get: () => U.value,
3343
+ get: () => re.value,
3332
3344
  set: (e) => {
3333
- c.readOnly || re(e);
3345
+ c.readOnly || ne(e);
3334
3346
  }
3335
3347
  }), ae = () => {
3336
- z.value = "", j.value = !1;
3348
+ B.value = "", j.value = !1;
3337
3349
  }, q = r(() => {
3338
3350
  let e = c.size === "lg" ? 24 : 30;
3339
3351
  return c.overlayTrigger ? -e : void 0;
3340
3352
  });
3341
- H(() => F.value, (e) => {
3342
- if (c.enableCascadeSelection && L.value?.length && e.length === 0) {
3343
- ie(L.value);
3353
+ U(() => I.value, (e) => {
3354
+ if (c.enableCascadeSelection && R.value?.length && e.length === 0) {
3355
+ ie(R.value);
3344
3356
  return;
3345
3357
  }
3346
- U.value = e;
3347
- }), H(() => [L.value, c.options], () => {
3348
- ie(L.value);
3358
+ re.value = e;
3359
+ }), U(() => [R.value, c.options], () => {
3360
+ ie(R.value);
3349
3361
  }, {
3350
3362
  deep: !0,
3351
3363
  immediate: !0
3352
- }), H(j, (e) => {
3353
- e ? (V(), v(() => {
3364
+ }), U(j, (e) => {
3365
+ e ? (H(), v(() => {
3354
3366
  c.overlayTrigger && !c.disableSearchInput && ee.value?.input?.focus(), g("dropdown-open");
3355
- })) : (V(), g("dropdown-closed"));
3367
+ })) : (H(), g("dropdown-closed"));
3356
3368
  });
3357
3369
  let se = r(() => {
3358
- if (z.value === "") return c.options;
3359
- let e = z.value.toLocaleLowerCase();
3370
+ if (B.value === "") return c.options;
3371
+ let e = B.value.toLocaleLowerCase();
3360
3372
  return c.enableCascadeSelection ? Oi(c.options, e, !c.hideParentOnChildQueryMatch) : c.options.filter((t) => t.text.toLocaleLowerCase().includes(e) || t.searchText?.toLocaleLowerCase().includes(e));
3361
3373
  }), ce = () => {
3362
3374
  if (c.enableCascadeSelection) {
@@ -3365,13 +3377,13 @@ var ki = {
3365
3377
  };
3366
3378
  t(se.value), f.value = e, m.value = /* @__PURE__ */ new Map();
3367
3379
  }
3368
- re(c.enableCascadeSelection ? wi(se.value) : se.value);
3380
+ ne(c.enableCascadeSelection ? wi(se.value) : se.value);
3369
3381
  }, ue = () => {
3370
- f.value = /* @__PURE__ */ new Set(), m.value = /* @__PURE__ */ new Map(), re([]);
3382
+ f.value = /* @__PURE__ */ new Set(), m.value = /* @__PURE__ */ new Map(), ne([]);
3371
3383
  }, de = () => {
3372
- V(), ae();
3384
+ H(), ae();
3373
3385
  }, J = () => {
3374
- B(), ae();
3386
+ V(), ae();
3375
3387
  }, fe = r(() => {
3376
3388
  if (!c.groupings) return;
3377
3389
  let e = /* @__PURE__ */ new Map();
@@ -3384,14 +3396,14 @@ var ki = {
3384
3396
  }
3385
3397
  for (let [t, n] of e) n.length === 0 && e.delete(t);
3386
3398
  return Array.from(e.entries());
3387
- }), Y = r(() => c.groupings && z.value === ""), pe = r(() => ({
3399
+ }), Y = r(() => c.groupings && B.value === ""), pe = r(() => ({
3388
3400
  ...c,
3389
- selectedItems: F.value,
3390
- searchInput: z.value,
3401
+ selectedItems: I.value,
3402
+ searchInput: B.value,
3391
3403
  slotContext: c.slotContext,
3392
3404
  isOpen: j.value,
3393
3405
  isLoading: c.isLoading
3394
- })), me = R("popoverContentRef"), he = r(() => {
3406
+ })), me = z("popoverContentRef"), he = r(() => {
3395
3407
  let e = me.value?.getRootNode();
3396
3408
  return e instanceof ShadowRoot ? e.host : null;
3397
3409
  }), { present: ge } = Un("header", { host: he }), { present: _e } = Un("no-results", { host: he }), { present: ve } = Un("footer", { host: he });
@@ -3416,9 +3428,9 @@ var ki = {
3416
3428
  open: P(j),
3417
3429
  "counter-value": w.value,
3418
3430
  "counter-style": e.counterStyle,
3419
- "selected-items": U.value,
3431
+ "selected-items": re.value,
3420
3432
  onHandleClear: ue,
3421
- onHandleToggleDropdown: r[0] ||= (e) => P(te)()
3433
+ onHandleToggleDropdown: r[0] ||= (e) => P(F)()
3422
3434
  }, null, 8, [
3423
3435
  "variant",
3424
3436
  "size",
@@ -3447,11 +3459,16 @@ var ki = {
3447
3459
  }, [
3448
3460
  e.disableSearchInput ? a("", !0) : (E(), o("div", ia, [u(Wr, {
3449
3461
  ref: "searchInputRef",
3450
- "model-value": z.value,
3451
- "onUpdate:modelValue": r[1] ||= (e) => z.value = e,
3462
+ "model-value": B.value,
3463
+ "onUpdate:modelValue": r[1] ||= (e) => B.value = e,
3452
3464
  class: "pv-stack-4",
3453
- placeholder: e.searchPlaceholder
3454
- }, null, 8, ["model-value", "placeholder"])])),
3465
+ placeholder: e.searchPlaceholder,
3466
+ disabled: e.readOnly
3467
+ }, null, 8, [
3468
+ "model-value",
3469
+ "placeholder",
3470
+ "disabled"
3471
+ ])])),
3455
3472
  n.$slots.header || P(ge) ? (E(), o("div", aa, [A(n.$slots, "header", b(p(pe.value)))])) : a("", !0),
3456
3473
  se.value.length > 0 ? (E(), o(t, { key: 2 }, [Y.value ? (E(!0), o(t, { key: 0 }, k(fe.value, ([t, i], s) => (E(), o("div", { key: t }, [
3457
3474
  n.$slots[t] ? A(n.$slots, t, { key: 0 }) : t === "other" ? a("", !0) : (E(), o("span", oa, N(t), 1)),
@@ -3460,7 +3477,7 @@ var ki = {
3460
3477
  "onUpdate:selectedItems": r[2] ||= (e) => K.value = e,
3461
3478
  options: i,
3462
3479
  config: l.value,
3463
- queryText: e.highlightSearchText ? z.value : null,
3480
+ queryText: e.highlightSearchText ? B.value : null,
3464
3481
  itemTestId: `pv-multiselect-${t}-item`,
3465
3482
  itemClass: "pv-stack-4",
3466
3483
  isLoading: e.isLoading,
@@ -3488,7 +3505,7 @@ var ki = {
3488
3505
  "onUpdate:selectedItems": r[3] ||= (e) => K.value = e,
3489
3506
  options: se.value,
3490
3507
  config: l.value,
3491
- queryText: e.highlightSearchText ? z.value : null,
3508
+ queryText: e.highlightSearchText ? B.value : null,
3492
3509
  itemTestId: `pv-multiselect-${e.label}-item`,
3493
3510
  itemClass: "pv-stack-4",
3494
3511
  enableCascadeSelection: e.enableCascadeSelection,
@@ -3572,8 +3589,8 @@ var ki = {
3572
3589
  action: n.optionsAction,
3573
3590
  variant: n.optionsVariant,
3574
3591
  counterBadgeVariant: n.counterBadgeVariant
3575
- })), l = t, [d] = le(n.defaultOpen), f = I(e, "modelValue"), p = I(e, "searchInput");
3576
- H(d, (e) => {
3592
+ })), l = t, [d] = le(n.defaultOpen), f = L(e, "modelValue"), p = L(e, "searchInput");
3593
+ U(d, (e) => {
3577
3594
  l(e ? "dropdown-open" : "dropdown-closed");
3578
3595
  });
3579
3596
  let m = r(() => f.value && f.value.text ? f.value.text : n.label), g = r(() => {
@@ -3730,7 +3747,7 @@ var ki = {
3730
3747
  }),
3731
3748
  emits: ["update:modelValue"],
3732
3749
  setup(e) {
3733
- let { getPaginations: n } = ma({ variant: e.variant }), r = I(e, "modelValue");
3750
+ let { getPaginations: n } = ma({ variant: e.variant }), r = L(e, "modelValue");
3734
3751
  return (i, a) => (E(), o("ol", {
3735
3752
  role: "list",
3736
3753
  class: "pv-pagination",
@@ -3833,7 +3850,7 @@ var ki = {
3833
3850
  }),
3834
3851
  emits: ["update:modelValue"],
3835
3852
  setup(e) {
3836
- let t = R("inputRef"), n = {
3853
+ let t = z("inputRef"), n = {
3837
3854
  h1: "ghost-input-h1",
3838
3855
  h2: "ghost-input-h2",
3839
3856
  h3: "ghost-input-h3",
@@ -3851,12 +3868,12 @@ var ki = {
3851
3868
  "text-md": "text-medium",
3852
3869
  "text-lg": "text-large",
3853
3870
  caption: "caption"
3854
- }, c = e, l = I(e, "modelValue"), u = O(0), d = () => {
3871
+ }, c = e, l = L(e, "modelValue"), u = O(0), d = () => {
3855
3872
  t.value?.focus();
3856
3873
  };
3857
3874
  C(() => {
3858
3875
  l.value && l.value.length > 0 ? f(l.value) : c.placeholder ? f(c.placeholder) : u.value = 240;
3859
- }), H(() => l.value, () => {
3876
+ }), U(() => l.value, () => {
3860
3877
  l.value && l.value.length > 0 ? f(l.value) : c.placeholder ? f(c.placeholder) : u.value = 240;
3861
3878
  });
3862
3879
  let f = (e) => {
@@ -3882,7 +3899,7 @@ var ki = {
3882
3899
  placeholder: e.placeholder,
3883
3900
  disabled: e.disabled,
3884
3901
  name: n[e.variant]
3885
- }), null, 16, ka), [[B, l.value]]),
3902
+ }), null, 16, ka), [[V, l.value]]),
3886
3903
  e.showEditIcon ? (E(), i(Q, {
3887
3904
  key: 0,
3888
3905
  "left-icon": "edit",
@@ -4006,7 +4023,7 @@ var ki = {
4006
4023
  }),
4007
4024
  emits: ["update:modelValue"],
4008
4025
  setup(e) {
4009
- let t = e, n = I(e, "modelValue"), c = {
4026
+ let t = e, n = L(e, "modelValue"), c = {
4010
4027
  secondary: "tertiary",
4011
4028
  tertiary: "tertiary",
4012
4029
  ghost: "ghost"
@@ -4032,7 +4049,7 @@ var ki = {
4032
4049
  value: e.value,
4033
4050
  name: e.name,
4034
4051
  disabled: e.disabled
4035
- }, null, 8, Wa), [[ne, n.value]]),
4052
+ }, null, 8, Wa), [[te, n.value]]),
4036
4053
  e.leftIcon ? (E(), i(X, {
4037
4054
  key: 0,
4038
4055
  name: e.leftIcon
@@ -4068,7 +4085,7 @@ var ki = {
4068
4085
  }),
4069
4086
  emits: ["update:modelValue"],
4070
4087
  setup(e) {
4071
- let n = e, r = I(e, "modelValue"), c = O(`toggle-group-${Math.random().toString(36).substr(2, 9)}`), l = (e) => {
4088
+ let n = e, r = L(e, "modelValue"), c = O(`toggle-group-${Math.random().toString(36).substr(2, 9)}`), l = (e) => {
4072
4089
  if (!e.disabled) {
4073
4090
  if (r.value?.value === e.value) {
4074
4091
  n.allowDeselect && (r.value = null);
@@ -4116,7 +4133,7 @@ var ki = {
4116
4133
  }),
4117
4134
  emits: ["update:modelValue"],
4118
4135
  setup(e) {
4119
- let t = I(e, "modelValue");
4136
+ let t = L(e, "modelValue");
4120
4137
  return (n, r) => G((E(), o("input", {
4121
4138
  ref: "checkbox-ref",
4122
4139
  "onUpdate:modelValue": r[0] ||= (e) => t.value = e,
@@ -4126,7 +4143,7 @@ var ki = {
4126
4143
  "aria-label": e.ariaLabel,
4127
4144
  disabled: e.disabled,
4128
4145
  indeterminate: e.indeterminate
4129
- }, null, 8, Za)), [[z, t.value]]);
4146
+ }, null, 8, Za)), [[B, t.value]]);
4130
4147
  }
4131
4148
  }), $a = ["aria-label", "aria-labelledby"], eo = ["id"], to = [
4132
4149
  "name",
@@ -4154,7 +4171,7 @@ var ki = {
4154
4171
  }),
4155
4172
  emits: ["update:modelValue"],
4156
4173
  setup(e) {
4157
- let n = e, i = I(e, "modelValue"), c = F(), u = F(), d = r(() => n.name ?? c), f = r(() => n.orientation === "vertical" ? { "--flex-align": "flex-start" } : {});
4174
+ let n = e, i = L(e, "modelValue"), c = I(), u = I(), d = r(() => n.name ?? c), f = r(() => n.orientation === "vertical" ? { "--flex-align": "flex-start" } : {});
4158
4175
  return (n, r) => (E(), o("div", {
4159
4176
  role: "radiogroup",
4160
4177
  "aria-label": e.label ? void 0 : e.ariaLabel,
@@ -4176,7 +4193,7 @@ var ki = {
4176
4193
  name: d.value,
4177
4194
  value: t.value,
4178
4195
  disabled: e.disabled || t.disabled
4179
- }, null, 8, to), [[re, i.value]]), l(" " + N(t.label), 1)]))), 128))], 6)], 8, $a));
4196
+ }, null, 8, to), [[ne, i.value]]), l(" " + N(t.label), 1)]))), 128))], 6)], 8, $a));
4180
4197
  }
4181
4198
  }), ro = /* @__PURE__ */ d({
4182
4199
  __name: "PvSprite",
@@ -4223,7 +4240,7 @@ var ki = {
4223
4240
  key: 0,
4224
4241
  class: "pv-surface-accent pv-inset-square pv-text-body-md pv-radius pv-bordered",
4225
4242
  style: { "--inset-size": "6px 10px" }
4226
- }, so = { class: "pv-relative" }, co = [
4243
+ }, so = { class: "pv-relative pv-flex-item" }, co = [
4227
4244
  "disabled",
4228
4245
  "type",
4229
4246
  "placeholder",
@@ -4250,7 +4267,7 @@ var ki = {
4250
4267
  }),
4251
4268
  emits: ["update:modelValue"],
4252
4269
  setup(e) {
4253
- let n = e, c = I(e, "modelValue"), l = r(() => n.inputIcon ? { "--inset-size": "8px 12px 6px 36px" } : {});
4270
+ let n = e, c = L(e, "modelValue"), l = r(() => n.inputIcon ? { "--inset-size": "8px 12px 6px 36px" } : {});
4254
4271
  return (n, r) => (E(), o(t, null, [
4255
4272
  n.$slots.label || e.showLabel ? (E(), o("label", {
4256
4273
  key: 0,
@@ -4258,7 +4275,7 @@ var ki = {
4258
4275
  class: "pv-label pv-stack-8",
4259
4276
  for: e.id
4260
4277
  }, [A(n.$slots, "label")], 8, ao)) : a("", !0),
4261
- s("div", { class: y(["pv-flex", { "pv-stack-8": e.lowerLabel }]) }, [e.prefixLabel ? (E(), o("div", oo, N(e.prefixLabel), 1)) : a("", !0), s("div", so, [e.inputIcon ? (E(), i(X, {
4278
+ s("div", { class: y(["pv-flex pv-flex-item", { "pv-stack-8": e.lowerLabel }]) }, [e.prefixLabel ? (E(), o("div", oo, N(e.prefixLabel), 1)) : a("", !0), s("div", so, [e.inputIcon ? (E(), i(X, {
4262
4279
  key: 0,
4263
4280
  class: "pv-absolute input-icon-position",
4264
4281
  name: e.inputIcon
@@ -4269,14 +4286,14 @@ var ki = {
4269
4286
  "pv-inset-square": e.inputIcon,
4270
4287
  "pv-surface-accent": e.variant === "grey"
4271
4288
  }],
4272
- style: l.value,
4289
+ style: [l.value, { width: "100%" }],
4273
4290
  disabled: e.disabled,
4274
4291
  type: e.type,
4275
4292
  placeholder: e.placeholder,
4276
4293
  id: e.id,
4277
4294
  "data-invalid": e.error ? !0 : void 0,
4278
4295
  step: e.step
4279
- }), null, 16, co), [[ne, c.value]])])], 2),
4296
+ }), null, 16, co), [[te, c.value]])])], 2),
4280
4297
  e.lowerLabel ? (E(), o("p", {
4281
4298
  key: 1,
4282
4299
  "data-testid": "pv-input-lower-label",
@@ -4320,7 +4337,7 @@ var ki = {
4320
4337
  }
4321
4338
  },
4322
4339
  setup(e) {
4323
- let t = e, n = r(() => t.href ? "a" : t.interactive ? "button" : "div"), a = r(() => t.href || t.interactive ? "button" : "div");
4340
+ let t = e, n = r(() => t.href ? "a" : t.interactive ? "button" : "div"), a = r(() => !t.href && t.interactive ? "button" : void 0);
4324
4341
  return (t, r) => (E(), i(j(n.value), {
4325
4342
  href: e.href,
4326
4343
  type: a.value,
@@ -4519,7 +4536,7 @@ var ki = {
4519
4536
  }),
4520
4537
  emits: ["update:modelValue"],
4521
4538
  setup(e) {
4522
- let t = I(e, "modelValue");
4539
+ let t = L(e, "modelValue");
4523
4540
  return (n, r) => (E(), o("div", Oo, [
4524
4541
  n.$slots.label ? (E(), o("label", {
4525
4542
  key: 0,
@@ -4534,7 +4551,7 @@ var ki = {
4534
4551
  placeholder: e.placeholder,
4535
4552
  id: e.id,
4536
4553
  "data-invalid": e.error ? !0 : void 0
4537
- }), null, 16, Ao), [[B, t.value]]),
4554
+ }), null, 16, Ao), [[V, t.value]]),
4538
4555
  e.lowerLabel ? (E(), o("p", {
4539
4556
  key: 1,
4540
4557
  style: { "margin-left": "12px" },
@@ -4790,7 +4807,7 @@ var ki = {
4790
4807
  onMouseleave: n[2] ||= (e) => P(_)(),
4791
4808
  onContextmenu: n[3] ||= K((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
4792
4809
  }, {
4793
- default: W(() => [G(u(Fo, null, null, 512), [[V, P(h) === e.option.node_id && P(v)(e.isDraggable, e.settings, e.option)]]), s("div", Ko, [!A.value && k.value ? (E(), o("div", qo)) : k.value ? (E(), o("div", Jo)) : a("", !0), e.settings[e.option.field]?.renderer ? (E(), i(j(e.settings[e.option.field]?.renderer), {
4810
+ default: W(() => [G(u(Fo, null, null, 512), [[H, P(h) === e.option.node_id && P(v)(e.isDraggable, e.settings, e.option)]]), s("div", Ko, [!A.value && k.value ? (E(), o("div", qo)) : k.value ? (E(), o("div", Jo)) : a("", !0), e.settings[e.option.field]?.renderer ? (E(), i(j(e.settings[e.option.field]?.renderer), {
4794
4811
  key: 2,
4795
4812
  option: e.option,
4796
4813
  settings: e.settings,
@@ -4909,7 +4926,7 @@ var ki = {
4909
4926
  onMouseleave: n[2] ||= (e) => P(d)(),
4910
4927
  onContextmenu: n[3] ||= K((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
4911
4928
  }, {
4912
- default: W(() => [G(u(Fo, null, null, 512), [[V, P(c) === e.option.node_id && P(p)(e.isDraggable, e.settings, e.option)]]), e.settings[e.option.field]?.renderer ? (E(), i(j(e.settings[e.option.field]?.renderer), {
4929
+ default: W(() => [G(u(Fo, null, null, 512), [[H, P(c) === e.option.node_id && P(p)(e.isDraggable, e.settings, e.option)]]), e.settings[e.option.field]?.renderer ? (E(), i(j(e.settings[e.option.field]?.renderer), {
4913
4930
  key: 0,
4914
4931
  option: e.option,
4915
4932
  settings: e.settings,
@@ -5006,7 +5023,7 @@ var ki = {
5006
5023
  emits: ["handle-tree-select", "update:children"],
5007
5024
  setup(e, { emit: t }) {
5008
5025
  let n = e, a = t, c = O(n.treeOpen ?? n.settings[n.option.field]?.defaultExpanded ?? !1);
5009
- H(() => n.treeOpen, (e) => {
5026
+ U(() => n.treeOpen, (e) => {
5010
5027
  e !== void 0 && (c.value = e);
5011
5028
  });
5012
5029
  let { getDragGroupConfig: l, getDragAndDropDisabled: d, canItemBeDragged: f, handleMoveCallback: p, childrenDraggable: m, canAcceptDrop: h } = Wo(), { hoveredId: g, handleMouseEnter: _, handleMouseLeave: v } = Ro(), { isDragging: b, draggingGroupName: S, onDragStart: C, onDragEnd: w } = Uo(), { dragAndDropIndicatorClasses: T } = Go(), D = () => {
@@ -5022,7 +5039,7 @@ var ki = {
5022
5039
  newChildren: e
5023
5040
  });
5024
5041
  }
5025
- }), te = r(() => !!(n.option.children?.length && n.settings[n.option.field]?.accordion)), F = r(() => n.isParentPathOpen ?? !0 ? te.value && n.level === 0 ? c.value : !0 : !1);
5042
+ }), F = r(() => !!(n.option.children?.length && n.settings[n.option.field]?.accordion)), I = r(() => n.isParentPathOpen ?? !0 ? F.value && n.level === 0 ? c.value : !0 : !1);
5026
5043
  return (t, n) => {
5027
5044
  let r = ee("PvTreeItem", !0);
5028
5045
  return e.option.children && e.option.children.length > 0 && e.settings && e.settings[e.option.field]?.accordion ? (E(), i(zr, {
@@ -5039,7 +5056,7 @@ var ki = {
5039
5056
  enableTriggerFullWidth: "",
5040
5057
  summaryStyles: {
5041
5058
  ...k(e.level),
5042
- ...e.settings[e.option.field]?.rendererParams?.onProvideCssStyles?.(e.option, { isVisible: F.value }) ?? {},
5059
+ ...e.settings[e.option.field]?.rendererParams?.onProvideCssStyles?.(e.option, { isVisible: I.value }) ?? {},
5043
5060
  "justify-content": "flex-start"
5044
5061
  },
5045
5062
  summaryClasses: {
@@ -5052,7 +5069,7 @@ var ki = {
5052
5069
  onSummaryMouseleave: n[5] ||= (e) => P(v)(),
5053
5070
  onContextmenu: n[6] ||= K((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
5054
5071
  }, {
5055
- trigger: W(() => [G(u(Fo, null, null, 512), [[V, P(g) === e.option.node_id && P(f)(e.isDraggable, e.settings, e.option) && e.level > 0]]), e.settings[e.option.field]?.renderer ? (E(), i(j(e.settings[e.option.field]?.renderer), {
5072
+ trigger: W(() => [G(u(Fo, null, null, 512), [[H, P(g) === e.option.node_id && P(f)(e.isDraggable, e.settings, e.option) && e.level > 0]]), e.settings[e.option.field]?.renderer ? (E(), i(j(e.settings[e.option.field]?.renderer), {
5056
5073
  key: 0,
5057
5074
  option: e.option,
5058
5075
  settings: e.settings,
@@ -5150,14 +5167,14 @@ var ki = {
5150
5167
  icon: e.settings[e.option.field]?.icon,
5151
5168
  style: x({
5152
5169
  ...k(e.level),
5153
- ...e.settings[e.option.field]?.rendererParams?.onProvideCssStyles?.(e.option, { isVisible: F.value }) ?? {}
5170
+ ...e.settings[e.option.field]?.rendererParams?.onProvideCssStyles?.(e.option, { isVisible: I.value }) ?? {}
5154
5171
  }),
5155
5172
  onHandleSelected: n[9] ||= (e) => t.$emit("handle-tree-select", e),
5156
5173
  onMouseenter: n[10] ||= (t) => P(_)(e.option.node_id),
5157
5174
  onMouseleave: n[11] ||= (e) => P(v)(),
5158
5175
  onContextmenu: n[12] ||= K((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
5159
5176
  }, {
5160
- default: W(() => [G(u(Fo, null, null, 512), [[V, P(g) === e.option.node_id && P(f)(e.isDraggable, e.settings, e.option) && e.level > 0]]), e.settings[e.option.field]?.renderer ? (E(), i(j(e.settings[e.option.field]?.renderer), {
5177
+ default: W(() => [G(u(Fo, null, null, 512), [[H, P(g) === e.option.node_id && P(f)(e.isDraggable, e.settings, e.option) && e.level > 0]]), e.settings[e.option.field]?.renderer ? (E(), i(j(e.settings[e.option.field]?.renderer), {
5161
5178
  key: 0,
5162
5179
  option: e.option,
5163
5180
  settings: e.settings,
@@ -5299,7 +5316,7 @@ var ki = {
5299
5316
  ],
5300
5317
  setup(e) {
5301
5318
  m(zo, null) || Ho();
5302
- let n = e, i = I(e, "selectedOptions"), a = I(e, "options"), c = I(e, "treeOpen"), { handleUpdateChildren: l } = is(a), d = (e, t) => {
5319
+ let n = e, i = L(e, "selectedOptions"), a = L(e, "options"), c = L(e, "treeOpen"), { handleUpdateChildren: l } = is(a), d = (e, t) => {
5303
5320
  t.metaKey ? i.value?.some((t) => t.node_id === e.node_id) ? i.value = i.value?.filter((t) => t.node_id !== e.node_id) : i.value = [...i.value || [], e] : i.value?.some((t) => t.node_id === e.node_id) ? i.value = [] : i.value = [e];
5304
5321
  }, f = r(() => Object.keys(n.settings).reduce((e, t) => (e[t] = {
5305
5322
  ...n.defaultSettings,
@@ -5491,7 +5508,7 @@ var ki = {
5491
5508
  }),
5492
5509
  emits: ["update:modelValue", "update:rangeValue"],
5493
5510
  setup(e) {
5494
- let t = e, n = I(e, "modelValue"), c = I(e, "rangeValue"), l = te(), u = F(), d = `${u}-max`, f = `${u}-min`, p = O(""), m = O(""), h = O(null), g = O(null), v = O(!1), b = O(null), C = null, w = null, T = (e) => typeof e == "number" && Number.isFinite(e), D = (e) => T(e) ? e : null, k = (e) => {
5511
+ let t = e, n = L(e, "modelValue"), c = L(e, "rangeValue"), l = F(), u = I(), d = `${u}-max`, f = `${u}-min`, p = O(""), m = O(""), h = O(null), g = O(null), v = O(!1), b = O(null), C = null, w = null, T = (e) => typeof e == "number" && Number.isFinite(e), D = (e) => T(e) ? e : null, k = (e) => {
5495
5512
  let t = e.trim();
5496
5513
  if (t === "") return null;
5497
5514
  let n = Number(t.replace(/[^0-9.\-]/g, ""));
@@ -5506,7 +5523,7 @@ var ki = {
5506
5523
  minimumFractionDigits: 0
5507
5524
  }).format(e);
5508
5525
  return t.dataType === "currency" ? `$${r}` : t.dataType === "percent" ? `${r}%` : r;
5509
- }, L = r(() => D(t.step)), R = r(() => L.value !== null && L.value > 0 ? L.value : 0), z = r(() => R.value > 0 ? String(R.value) : "any"), ne = r(() => L.value === null ? "1" : L.value > 0 ? String(L.value) : "any"), re = r(() => t.color === "multiple" ? "var(--color-data-viz-3, #ff7a4e)" : "var(--color-border, #e3e7ea)"), V = r(() => {
5526
+ }, R = r(() => D(t.step)), z = r(() => R.value !== null && R.value > 0 ? R.value : 0), B = r(() => z.value > 0 ? String(z.value) : "any"), te = r(() => R.value === null ? "1" : R.value > 0 ? String(R.value) : "any"), ne = r(() => t.color === "multiple" ? "var(--color-data-viz-3, #ff7a4e)" : "var(--color-border, #e3e7ea)"), H = r(() => {
5510
5527
  let e = D(t.min) ?? Cs, n = D(t.max) ?? ws;
5511
5528
  return e > n ? {
5512
5529
  max: e,
@@ -5518,11 +5535,11 @@ var ki = {
5518
5535
  max: n,
5519
5536
  min: e
5520
5537
  };
5521
- }), U = r(() => D(n.value) ?? V.value.min), W = r(() => {
5522
- let { max: e, min: t } = V.value, n = e - t, r = n === 0 ? 0 : (U.value - t) / n * 100;
5538
+ }), re = r(() => D(n.value) ?? H.value.min), W = r(() => {
5539
+ let { max: e, min: t } = H.value, n = e - t, r = n === 0 ? 0 : (re.value - t) / n * 100;
5523
5540
  return Math.max(0, Math.min(100, r));
5524
5541
  }), K = r(() => ({
5525
- "--range-track-color": re.value,
5542
+ "--range-track-color": ne.value,
5526
5543
  "--value": `${W.value}%`
5527
5544
  })), ae = r(() => ({ left: `${W.value}%` })), oe = (e) => {
5528
5545
  if (!Number.isFinite(e)) return 0;
@@ -5534,13 +5551,13 @@ var ki = {
5534
5551
  return t.split(".")[1]?.length ?? 0;
5535
5552
  }, q = r(() => {
5536
5553
  let e = D(t.min), n = D(t.max), r = D(c.value?.min), i = D(c.value?.max), a = e ?? Math.min(Cs, r ?? Cs, i ?? Cs), o = n ?? Math.max(ws, r ?? ws, i ?? ws);
5537
- return a > o && ([a, o] = [o, a]), a === o && (o = a + (R.value > 0 ? R.value : 1)), {
5554
+ return a > o && ([a, o] = [o, a]), a === o && (o = a + (z.value > 0 ? z.value : 1)), {
5538
5555
  max: o,
5539
5556
  min: a
5540
5557
  };
5541
5558
  }), se = (e) => Math.max(q.value.min, Math.min(q.value.max, e)), ce = r(() => {
5542
5559
  let e = Math.max(oe(q.value.min), oe(q.value.max));
5543
- return R.value <= 0 ? Math.max(6, e) : Math.max(e, oe(R.value));
5560
+ return z.value <= 0 ? Math.max(6, e) : Math.max(e, oe(z.value));
5544
5561
  }), le = (e) => {
5545
5562
  let t = Math.min(20, ce.value);
5546
5563
  return se(Number(e.toFixed(t)));
@@ -5548,13 +5565,13 @@ var ki = {
5548
5565
  if (t.allowMinMaxEqual) return 0;
5549
5566
  let e = q.value.max - q.value.min;
5550
5567
  if (e <= 0) return 0;
5551
- let n = Math.max(e / 1e6, 10 ** -ce.value), r = R.value > 0 ? R.value : n;
5568
+ let n = Math.max(e / 1e6, 10 ** -ce.value), r = z.value > 0 ? z.value : n;
5552
5569
  return Math.min(r, e);
5553
5570
  }), de = (e, t = "nearest") => {
5554
5571
  let n = se(e);
5555
- if (R.value <= 0) return le(n);
5556
- let { min: r } = q.value, i = (n - r) / R.value;
5557
- return le(se((t === "down" ? Math.floor(i) : t === "up" ? Math.ceil(i) : Math.round(i)) * R.value + r));
5572
+ if (z.value <= 0) return le(n);
5573
+ let { min: r } = q.value, i = (n - r) / z.value;
5574
+ return le(se((t === "down" ? Math.floor(i) : t === "up" ? Math.ceil(i) : Math.round(i)) * z.value + r));
5558
5575
  }, J = (e, t) => {
5559
5576
  let n = Math.max(q.value.min, t - ue.value);
5560
5577
  return de(Math.min(e, n), "down");
@@ -5571,7 +5588,7 @@ var ki = {
5571
5588
  let { max: t, min: n } = q.value;
5572
5589
  return t === n ? 0 : (e - n) / (t - n) * 100;
5573
5590
  }, me = r(() => pe(Y.value.min)), he = r(() => pe(Y.value.max)), ge = r(() => ({
5574
- "--range-track-color": re.value,
5591
+ "--range-track-color": ne.value,
5575
5592
  "--value-max": `${he.value}%`,
5576
5593
  "--value-min": `${me.value}%`
5577
5594
  })), _e = r(() => ({ left: `${me.value}%` })), ve = r(() => ({ left: `${he.value}%` })), ye = r(() => D(c.value?.min) !== null || D(c.value?.max) !== null), be = () => D(t.min) !== null || q.value.min === Cs, xe = () => D(t.max) !== null || q.value.max === ws, Se = (e, t) => {
@@ -5645,27 +5662,27 @@ var ki = {
5645
5662
  window.removeEventListener("pointermove", r), window.removeEventListener("pointerup", i);
5646
5663
  }, e.preventDefault();
5647
5664
  };
5648
- return H([Y, q], Ne, { immediate: !0 }), S(() => {
5665
+ return U([Y, q], Ne, { immediate: !0 }), S(() => {
5649
5666
  Be(), Oe();
5650
5667
  }), (r, c) => e.mode === "single" ? (E(), o("div", fs, [e.showValueTooltips && v.value ? (E(), o("span", {
5651
5668
  key: 0,
5652
5669
  class: "pv-range-tooltip",
5653
5670
  style: x(ae.value)
5654
- }, N(M(U.value)), 5)) : a("", !0), G(s("input", _({ id: P(u) }, P(l), {
5671
+ }, N(M(re.value)), 5)) : a("", !0), G(s("input", _({ id: P(u) }, P(l), {
5655
5672
  "onUpdate:modelValue": c[0] ||= (e) => n.value = e,
5656
5673
  "aria-label": e.ariaLabel,
5657
5674
  class: ["pv-range", `pv-range-${t.size}`],
5658
5675
  disabled: e.disabled,
5659
- max: V.value.max,
5660
- min: V.value.min,
5661
- step: ne.value,
5676
+ max: H.value.max,
5677
+ min: H.value.min,
5678
+ step: te.value,
5662
5679
  style: K.value,
5663
5680
  type: "range",
5664
5681
  onChange: ke,
5665
5682
  onPointerdown: Ae,
5666
5683
  onPointerup: ke
5667
5684
  }), null, 16, ps), [[
5668
- B,
5685
+ V,
5669
5686
  n.value,
5670
5687
  void 0,
5671
5688
  { number: !0 }
@@ -5705,7 +5722,7 @@ var ki = {
5705
5722
  disabled: e.disabled,
5706
5723
  max: q.value.max,
5707
5724
  min: q.value.min,
5708
- step: z.value,
5725
+ step: B.value,
5709
5726
  value: Y.value.min,
5710
5727
  onChange: Te,
5711
5728
  onInput: je,
@@ -5719,7 +5736,7 @@ var ki = {
5719
5736
  disabled: e.disabled,
5720
5737
  max: q.value.max,
5721
5738
  min: q.value.min,
5722
- step: z.value,
5739
+ step: B.value,
5723
5740
  value: Y.value.max,
5724
5741
  onChange: Te,
5725
5742
  onInput: Me,
@@ -5745,7 +5762,7 @@ var ki = {
5745
5762
  style: { width: "100%" },
5746
5763
  inputmode: "decimal",
5747
5764
  placeholder: "Min",
5748
- step: z.value,
5765
+ step: B.value,
5749
5766
  type: "text",
5750
5767
  value: m.value,
5751
5768
  onBlur: c[3] ||= (e) => Z("min"),
@@ -5770,7 +5787,7 @@ var ki = {
5770
5787
  style: { width: "100%" },
5771
5788
  inputmode: "decimal",
5772
5789
  placeholder: "Max",
5773
- step: z.value,
5790
+ step: B.value,
5774
5791
  type: "text",
5775
5792
  value: p.value,
5776
5793
  onBlur: c[6] ||= (e) => Z("max"),
@@ -5844,7 +5861,7 @@ var ki = {
5844
5861
  },
5845
5862
  emits: ["focus-value", "toggle-value"],
5846
5863
  setup(e, { emit: t }) {
5847
- let n = e, c = t, d = L(), f = r(() => n.resultCount !== null && n.resultCount !== void 0 && n.resultCount !== ""), p = r(() => !n.renderer && (f.value || !!d["result-count"])), m = r(() => ({ "--pv-filter-panel-option-row-depth": String(n.depth) })), h = r(() => ({
5864
+ let n = e, c = t, d = R(), f = r(() => n.resultCount !== null && n.resultCount !== void 0 && n.resultCount !== ""), p = r(() => !n.renderer && (f.value || !!d["result-count"])), m = r(() => ({ "--pv-filter-panel-option-row-depth": String(n.depth) })), h = r(() => ({
5848
5865
  disabled: n.disabled,
5849
5866
  highlightSearchText: !0,
5850
5867
  id: n.value,
@@ -6341,7 +6358,7 @@ var ki = {
6341
6358
  "search-change"
6342
6359
  ],
6343
6360
  setup(e, { emit: n }) {
6344
- let c = e, d = n, f = O({}), p = O(c.filter.searchQuery ?? ""), m = O(Zc), h = r(() => c.filter.existsLabel ?? `Has ${c.filter.label}`), g = r(() => c.filter.valueLabels?.false ?? "No"), v = r(() => c.filter.options ?? []), y = r(() => [...c.filter.knownOptions ?? [], ...v.value]), S = r(() => c.filter.type ?? "value"), C = r(() => S.value === "value"), w = r(() => C.value && c.filter.isAggregate === !0), T = r(() => c.filter.aggregateSelectionState ?? []), D = r(() => p.value.trim().toLowerCase()), A = r(() => c.filter.selectedValues ?? []), ee = r(() => new Set(A.value)), M = r(() => c.filter.valueLabels?.true ?? "Yes"), P = r(() => c.filter.filterOptionsSortDescription || "Suggested"), te = (e) => {
6361
+ let c = e, d = n, f = O({}), p = O(c.filter.searchQuery ?? ""), m = O(Zc), h = r(() => c.filter.existsLabel ?? `Has ${c.filter.label}`), g = r(() => c.filter.valueLabels?.false ?? "No"), v = r(() => c.filter.options ?? []), y = r(() => [...c.filter.knownOptions ?? [], ...v.value]), S = r(() => c.filter.type ?? "value"), C = r(() => S.value === "value"), w = r(() => C.value && c.filter.isAggregate === !0), T = r(() => c.filter.aggregateSelectionState ?? []), D = r(() => p.value.trim().toLowerCase()), A = r(() => c.filter.selectedValues ?? []), ee = r(() => new Set(A.value)), M = r(() => c.filter.valueLabels?.true ?? "Yes"), P = r(() => c.filter.filterOptionsSortDescription || "Suggested"), F = (e) => {
6345
6362
  let t = typeof e.metadata == "object" && e.metadata !== null ? Object.values(e.metadata) : [];
6346
6363
  return [
6347
6364
  e.value,
@@ -6351,28 +6368,28 @@ var ki = {
6351
6368
  e.matchedValue,
6352
6369
  e.matchedField
6353
6370
  ].concat(t.flatMap((e) => e == null ? [] : [String(e)])).filter((e) => !!e).join(" ").toLowerCase();
6354
- }, F = r(() => S.value === "range" ? c.filter.rangeValue?.min !== null && c.filter.rangeValue?.min !== void 0 || c.filter.rangeValue?.max !== null && c.filter.rangeValue?.max !== void 0 ? 1 : void 0 : S.value === "boolean" ? c.filter.booleanValue !== null && c.filter.booleanValue !== void 0 ? 1 : void 0 : S.value === "exists" ? c.filter.existsValue ? 1 : void 0 : w.value ? jc(T.value) || void 0 : A.value.length || void 0), I = (e) => e.totalChildCount === null || e.totalChildCount === void 0 ? !1 : e.totalChildCount > (e.children?.length ?? 0), L = (e, t = 0) => e.flatMap((e) => [
6371
+ }, I = r(() => S.value === "range" ? c.filter.rangeValue?.min !== null && c.filter.rangeValue?.min !== void 0 || c.filter.rangeValue?.max !== null && c.filter.rangeValue?.max !== void 0 ? 1 : void 0 : S.value === "boolean" ? c.filter.booleanValue !== null && c.filter.booleanValue !== void 0 ? 1 : void 0 : S.value === "exists" ? c.filter.existsValue ? 1 : void 0 : w.value ? jc(T.value) || void 0 : A.value.length || void 0), L = (e) => e.totalChildCount === null || e.totalChildCount === void 0 ? !1 : e.totalChildCount > (e.children?.length ?? 0), R = (e, t = 0) => e.flatMap((e) => [
6355
6372
  {
6356
6373
  depth: t,
6357
6374
  kind: "option",
6358
6375
  option: e
6359
6376
  },
6360
- ...e.children?.length ? L(e.children, t + 1) : [],
6361
- ...I(e) ? [{
6377
+ ...e.children?.length ? R(e.children, t + 1) : [],
6378
+ ...L(e) ? [{
6362
6379
  depth: t + 1,
6363
6380
  kind: "child-load-more",
6364
6381
  parent: e
6365
6382
  }] : []
6366
- ]), R = r(() => {
6367
- let e = L(v.value), t = D.value;
6368
- return t ? e.filter((e) => e.kind === "option" && te(e.option).includes(t)) : e;
6369
- }), z = r(() => w.value ? [] : A.value.map((e) => f.value[e] ?? {
6383
+ ]), z = r(() => {
6384
+ let e = R(v.value), t = D.value;
6385
+ return t ? e.filter((e) => e.kind === "option" && F(e.option).includes(t)) : e;
6386
+ }), B = r(() => w.value ? [] : A.value.map((e) => f.value[e] ?? {
6370
6387
  label: e,
6371
6388
  value: e
6372
- })), ne = r(() => w.value ? R.value : R.value.filter((e) => e.kind === "child-load-more" || !ee.value.has(e.option.value))), re = r(() => ne.value.length > m.value), B = r(() => re.value || c.filter.hasMore), V = r(() => ne.value.slice(0, m.value)), U = r(() => w.value ? Oc({
6389
+ })), te = r(() => w.value ? z.value : z.value.filter((e) => e.kind === "child-load-more" || !ee.value.has(e.option.value))), ne = r(() => te.value.length > m.value), V = r(() => ne.value || c.filter.hasMore), H = r(() => te.value.slice(0, m.value)), re = r(() => w.value ? Oc({
6373
6390
  options: y.value,
6374
6391
  state: T.value
6375
- }) : /* @__PURE__ */ new Map()), G = (e) => Vs(e, c.filter.colDef), ie = (e) => Hs(e), K = (e) => w.value ? U.value.get(e.value) ?? {
6392
+ }) : /* @__PURE__ */ new Map()), G = (e) => Vs(e, c.filter.colDef), ie = (e) => Hs(e), K = (e) => w.value ? re.value.get(e.value) ?? {
6376
6393
  indeterminate: !1,
6377
6394
  selected: !1
6378
6395
  } : {
@@ -6387,13 +6404,13 @@ var ki = {
6387
6404
  context: e,
6388
6405
  disabled: c.filter.disabled || e.isSelectable === !1 || e.menuOption?.disabled,
6389
6406
  id: e.value,
6390
- searchText: te(e),
6407
+ searchText: F(e),
6391
6408
  secondaryText: ie(e),
6392
6409
  subText: e.subText,
6393
6410
  subduedText: e.subduedText,
6394
6411
  text: G(e),
6395
6412
  totalChildCount: e.totalChildCount
6396
- }), de = r(() => v.value.map(le)), J = r(() => z.value.map(le)), fe = r(() => ({
6413
+ }), de = r(() => v.value.map(le)), J = r(() => B.value.map(le)), fe = r(() => ({
6397
6414
  colDef: c.filter.colDef,
6398
6415
  disabled: c.filter.disabled,
6399
6416
  filter: c.filter,
@@ -6407,7 +6424,7 @@ var ki = {
6407
6424
  rowsLoading: c.filter.isLoading
6408
6425
  }
6409
6426
  })), Y = () => {
6410
- re.value ? m.value += Zc : c.filter.hasMore && d("load-more", p.value.trim());
6427
+ ne.value ? m.value += Zc : c.filter.hasMore && d("load-more", p.value.trim());
6411
6428
  }, pe = (e) => {
6412
6429
  d("load-more", p.value.trim(), e.value);
6413
6430
  }, me = (e) => {
@@ -6458,7 +6475,7 @@ var ki = {
6458
6475
  }, xe = () => {
6459
6476
  d("handle-settings-icon", c.filter.key, c.filter.colDef);
6460
6477
  };
6461
- H([p, () => c.filter.key], () => {
6478
+ U([p, () => c.filter.key], () => {
6462
6479
  m.value = Zc;
6463
6480
  });
6464
6481
  let Se = () => {
@@ -6466,11 +6483,11 @@ var ki = {
6466
6483
  for (let t of e) n.delete(t.value), n.set(t.value, t);
6467
6484
  f.value = Object.fromEntries([...n.entries()].slice(Math.max(0, n.size - Qc)));
6468
6485
  };
6469
- return H(y, () => {
6486
+ return U(y, () => {
6470
6487
  c.filter.isOpen && Se();
6471
- }, { immediate: !0 }), H(() => c.filter.isOpen, (e) => {
6488
+ }, { immediate: !0 }), U(() => c.filter.isOpen, (e) => {
6472
6489
  e ? Se() : f.value = {};
6473
- }), H(() => c.filter.searchQuery, (e) => {
6490
+ }), U(() => c.filter.searchQuery, (e) => {
6474
6491
  let t = e ?? "";
6475
6492
  t !== p.value && (p.value = t);
6476
6493
  }), ue(p, (e) => {
@@ -6492,9 +6509,9 @@ var ki = {
6492
6509
  name: e.filter.isOpen ? "chevron-down" : "chevron-right"
6493
6510
  }, null, 8, ["name"]),
6494
6511
  s("span", null, N(e.filter.label), 1),
6495
- F.value ? (E(), i(Le, {
6512
+ I.value ? (E(), i(Le, {
6496
6513
  key: 0,
6497
- value: F.value,
6514
+ value: I.value,
6498
6515
  size: "sm",
6499
6516
  variant: "secondary"
6500
6517
  }, null, 8, ["value"])) : a("", !0)
@@ -6534,7 +6551,7 @@ var ki = {
6534
6551
  "disabled",
6535
6552
  "placeholder"
6536
6553
  ]),
6537
- z.value.length ? (E(), o("div", Rc, [(E(!0), o(t, null, k(z.value, (t) => (E(), i(js, {
6554
+ B.value.length ? (E(), o("div", Rc, [(E(!0), o(t, null, k(B.value, (t) => (E(), i(js, {
6538
6555
  key: t.value,
6539
6556
  disabled: e.filter.disabled || t.isSelectable === !1,
6540
6557
  "focus-text": e.filter.focusText,
@@ -6568,9 +6585,9 @@ var ki = {
6568
6585
  "onToggleValue"
6569
6586
  ]))), 128))])) : a("", !0),
6570
6587
  e.filter.isLoading ? (E(), o("div", zc, [u(Oe, { size: "sm" })])) : (E(), o(t, { key: 3 }, [
6571
- !v.value.length && !z.value.length && !B.value ? (E(), o(t, { key: 0 }, [e.filter.emptyResultsRenderer ? (E(), i(j(e.filter.emptyResultsRenderer), _({ key: 0 }, fe.value, { "empty-reason": "no-values" }), null, 16)) : (E(), o("p", Bc, "No values available."))], 64)) : !R.value.length && !z.value.length && !B.value ? (E(), o(t, { key: 1 }, [e.filter.emptyResultsRenderer ? (E(), i(j(e.filter.emptyResultsRenderer), _({ key: 0 }, fe.value, { "empty-reason": "no-matches" }), null, 16)) : (E(), o("p", Vc, "No matching values."))], 64)) : a("", !0),
6572
- ne.value.length || B.value ? (E(), o("div", Hc, [
6573
- ne.value.length ? (E(), o("div", Uc, [e.filter.filterOptionsSortTooltip ? (E(), i(Pn, {
6588
+ !v.value.length && !B.value.length && !V.value ? (E(), o(t, { key: 0 }, [e.filter.emptyResultsRenderer ? (E(), i(j(e.filter.emptyResultsRenderer), _({ key: 0 }, fe.value, { "empty-reason": "no-values" }), null, 16)) : (E(), o("p", Bc, "No values available."))], 64)) : !z.value.length && !B.value.length && !V.value ? (E(), o(t, { key: 1 }, [e.filter.emptyResultsRenderer ? (E(), i(j(e.filter.emptyResultsRenderer), _({ key: 0 }, fe.value, { "empty-reason": "no-matches" }), null, 16)) : (E(), o("p", Vc, "No matching values."))], 64)) : a("", !0),
6589
+ te.value.length || V.value ? (E(), o("div", Hc, [
6590
+ te.value.length ? (E(), o("div", Uc, [e.filter.filterOptionsSortTooltip ? (E(), i(Pn, {
6574
6591
  key: 0,
6575
6592
  variant: "dark",
6576
6593
  disableInteractive: !0,
@@ -6583,7 +6600,7 @@ var ki = {
6583
6600
  content: W(() => [l(N(e.filter.filterOptionsSortTooltip), 1)]),
6584
6601
  _: 1
6585
6602
  })) : (E(), o("p", Gc, N(P.value), 1))])) : a("", !0),
6586
- (E(!0), o(t, null, k(V.value, (n) => (E(), o(t, { key: n.kind === "option" ? n.option.value : `${n.parent.value}-children-more` }, [n.kind === "option" ? (E(), i(js, {
6603
+ (E(!0), o(t, null, k(H.value, (n) => (E(), o(t, { key: n.kind === "option" ? n.option.value : `${n.parent.value}-children-more` }, [n.kind === "option" ? (E(), i(js, {
6587
6604
  key: 0,
6588
6605
  depth: n.depth,
6589
6606
  disabled: e.filter.disabled || n.option.isSelectable === !1,
@@ -6634,7 +6651,7 @@ var ki = {
6634
6651
  "style",
6635
6652
  "onClick"
6636
6653
  ]))], 64))), 128)),
6637
- B.value ? (E(), i(Q, {
6654
+ V.value ? (E(), i(Q, {
6638
6655
  key: 1,
6639
6656
  class: "pv-text-brand",
6640
6657
  disabled: e.filter.disabled || e.filter.isLoadingMore,
@@ -6865,7 +6882,7 @@ var ki = {
6865
6882
  }),
6866
6883
  emits: ["update:modelValue"],
6867
6884
  setup(e) {
6868
- let n = e, c = I(e, "modelValue"), l = r(() => {
6885
+ let n = e, c = L(e, "modelValue"), l = r(() => {
6869
6886
  let e = /* @__PURE__ */ new Set(), t = [];
6870
6887
  for (let r of n.filters) r.category && (e.add(r.category), t.includes(r.category) || t.push(r.category));
6871
6888
  let r = (n.categoryOrder ?? []).filter((t) => e.has(t)), i = new Set(r), a = t.filter((e) => !i.has(e));
@@ -6873,7 +6890,7 @@ var ki = {
6873
6890
  }), d = (e) => {
6874
6891
  c.value = e;
6875
6892
  }, f = (e) => c.value === e ? "primary" : "secondary";
6876
- return H(l, (e) => {
6893
+ return U(l, (e) => {
6877
6894
  c.value !== null && !e.includes(c.value) && (c.value = null);
6878
6895
  }, { immediate: !0 }), (e, n) => l.value.length ? (E(), o("div", ul, [u(ll, {
6879
6896
  ariaLabel: "Filter categories",
@@ -7348,9 +7365,9 @@ function yu(e, t, n) {
7348
7365
  }
7349
7366
  b(t, n);
7350
7367
  };
7351
- H(() => e.filterOptionsHandler, (e) => {
7368
+ U(() => e.filterOptionsHandler, (e) => {
7352
7369
  a.setFilterOptionsHandler(e);
7353
- }, { immediate: !0 }), H([
7370
+ }, { immediate: !0 }), U([
7354
7371
  () => e.filterOptions,
7355
7372
  m,
7356
7373
  () => e.filterOptionsHandler
@@ -7359,7 +7376,7 @@ function yu(e, t, n) {
7359
7376
  }, {
7360
7377
  deep: !0,
7361
7378
  immediate: !0
7362
- }), H([
7379
+ }), U([
7363
7380
  () => e.filterHasMoreMap,
7364
7381
  m,
7365
7382
  () => e.filterOptionsHandler
@@ -7368,7 +7385,7 @@ function yu(e, t, n) {
7368
7385
  }, {
7369
7386
  deep: !0,
7370
7387
  immediate: !0
7371
- }), H([
7388
+ }), U([
7372
7389
  () => e.filterLoadingMap,
7373
7390
  m,
7374
7391
  () => e.filterOptionsHandler
@@ -7377,7 +7394,7 @@ function yu(e, t, n) {
7377
7394
  }, {
7378
7395
  deep: !0,
7379
7396
  immediate: !0
7380
- }), H([
7397
+ }), U([
7381
7398
  () => e.filterLoadingMoreMap,
7382
7399
  m,
7383
7400
  () => e.filterOptionsHandler
@@ -7386,7 +7403,7 @@ function yu(e, t, n) {
7386
7403
  }, {
7387
7404
  deep: !0,
7388
7405
  immediate: !0
7389
- }), H([
7406
+ }), U([
7390
7407
  () => e.filterSearchQueries,
7391
7408
  m,
7392
7409
  () => e.filterOptionsHandler
@@ -7395,7 +7412,7 @@ function yu(e, t, n) {
7395
7412
  }, {
7396
7413
  deep: !0,
7397
7414
  immediate: !0
7398
- }), H([
7415
+ }), U([
7399
7416
  t,
7400
7417
  m,
7401
7418
  () => e.staged
@@ -7404,7 +7421,7 @@ function yu(e, t, n) {
7404
7421
  }, {
7405
7422
  deep: !0,
7406
7423
  immediate: !0
7407
- }), H([() => e.staged, p], ([e]) => {
7424
+ }), U([() => e.staged, p], ([e]) => {
7408
7425
  if (e) {
7409
7426
  i.value = t.value;
7410
7427
  let e = p.value;
@@ -7420,7 +7437,7 @@ function yu(e, t, n) {
7420
7437
  let t = T(e);
7421
7438
  _.value === "advanced" && !t && w("regular-model-in-advanced-mode", "PvFilterPanel: produced a regular FilterModel while filterModelType is \"advanced\"."), _.value === "regular" && t && w("advanced-model-in-regular-mode", "PvFilterPanel: produced an AdvancedFilterModel while filterModelType is \"regular\".");
7422
7439
  };
7423
- U(() => {
7440
+ re(() => {
7424
7441
  C("filterModel", !!((e.filterStore || o) && t.value !== null)), C("filterOptions", Object.keys(e.filterOptions).length > 0), C("filterLoadingMap", Object.keys(e.filterLoadingMap).length > 0), C("filterLoadingMoreMap", Object.keys(e.filterLoadingMoreMap).length > 0), C("filterHasMoreMap", Object.keys(e.filterHasMoreMap).length > 0), C("filterSearchQueries", Object.keys(e.filterSearchQueries).length > 0), C("filterOptionsHandler", !!(e.filterStore && e.filterOptionsHandler)), (e.filterStore || o) && v.value;
7425
7442
  });
7426
7443
  let D = (e) => e.context ?? {}, k = (e) => e.colId || e.field || "", A = (e) => typeof e == "number" && Number.isFinite(e) ? e : null, ee = (e) => {
@@ -7434,32 +7451,32 @@ function yu(e, t, n) {
7434
7451
  return typeof t != "object" || !t || Array.isArray(t) ? null : Object.fromEntries(Object.entries(t).flatMap(([e, t]) => typeof t == "string" ? [[e, t]] : []));
7435
7452
  }, P = (t) => {
7436
7453
  let n = D(t), r = k(t);
7437
- return !r || n.filterPanelHidden === !0 || n.devOnly && !e.devMode || e.autoHideRelatedFilterFields !== !1 && n.filterPanelHidden !== !1 && V.value.has(r) ? !1 : !!ee(t);
7438
- }, te = (e) => (p.value.filterOptionsMap.value[e] ?? []).filter((e) => !!e), F = (t) => {
7454
+ return !r || n.filterPanelHidden === !0 || n.devOnly && !e.devMode || e.autoHideRelatedFilterFields !== !1 && n.filterPanelHidden !== !1 && H.value.has(r) ? !1 : !!ee(t);
7455
+ }, F = (e) => (p.value.filterOptionsMap.value[e] ?? []).filter((e) => !!e), I = (t) => {
7439
7456
  let n = p.value;
7440
7457
  return ((e.staged ? n.stagedFilterSelectedMetadataMap : n.filterSelectedMetadataMap).value[t] ?? []).filter((e) => !!e);
7441
- }, I = (e) => p.value.filterHasMoreMap.value[e] ?? !1, L = (e) => p.value.filterLoadingMap.value[e] ?? !1, R = (e) => p.value.filterLoadingMoreMap.value[e] ?? !1, z = (e) => p.value.filterSearchQueries.value[e] ?? "", ne = (t) => e.filterSuggestions.flatMap((e) => e.field !== t || e.filter.type !== "value" ? [] : [e.option ?? {
7458
+ }, L = (e) => p.value.filterHasMoreMap.value[e] ?? !1, R = (e) => p.value.filterLoadingMap.value[e] ?? !1, z = (e) => p.value.filterLoadingMoreMap.value[e] ?? !1, B = (e) => p.value.filterSearchQueries.value[e] ?? "", te = (t) => e.filterSuggestions.flatMap((e) => e.field !== t || e.filter.type !== "value" ? [] : [e.option ?? {
7442
7459
  label: e.label,
7443
7460
  value: e.filter.value
7444
- }]), re = (e) => [
7445
- ...ne(e),
7461
+ }]), ne = (e) => [
7446
7462
  ...te(e),
7447
- ...F(e)
7448
- ], B = (e) => {
7463
+ ...F(e),
7464
+ ...I(e)
7465
+ ], V = (e) => {
7449
7466
  if (typeof e != "object" || !e || !("field" in e)) return [];
7450
- let t = e, n = typeof t.field == "string" ? t.field : null, r = Array.isArray(t.children) ? t.children.flatMap(B) : [];
7467
+ let t = e, n = typeof t.field == "string" ? t.field : null, r = Array.isArray(t.children) ? t.children.flatMap(V) : [];
7451
7468
  return n ? [n, ...r] : r;
7452
- }, V = r(() => {
7469
+ }, H = r(() => {
7453
7470
  let t = /* @__PURE__ */ new Set();
7454
7471
  for (let n of e.colDefs) {
7455
7472
  let e = D(n);
7456
7473
  for (let n of Array.isArray(e.aggregateFields) ? e.aggregateFields : []) n && t.add(n);
7457
- for (let n of B(e.aggregateFieldHierarchy)) n && t.add(n);
7474
+ for (let n of V(e.aggregateFieldHierarchy)) n && t.add(n);
7458
7475
  for (let n of e.filterGroup?.fields ?? []) n && t.add(n);
7459
7476
  }
7460
7477
  return t;
7461
7478
  }), W = (e) => {
7462
- let t = k(e), n = D(e), r = Array.isArray(n.aggregateFields) ? n.aggregateFields.filter(Boolean) : [], i = B(n.aggregateFieldHierarchy);
7479
+ let t = k(e), n = D(e), r = Array.isArray(n.aggregateFields) ? n.aggregateFields.filter(Boolean) : [], i = V(n.aggregateFieldHierarchy);
7463
7480
  return Array.from(new Set([
7464
7481
  t,
7465
7482
  ...r,
@@ -7507,7 +7524,7 @@ function yu(e, t, n) {
7507
7524
  label: q(e)?.headerName ?? e
7508
7525
  }));
7509
7526
  }, J = (e) => Y.value.find((t) => t.key === e) ?? Y.value.find((t) => W(t.colDef).includes(e)), fe = (e, t, n) => Zs(J(e)?.knownOptions ?? []).find((r) => r.value === n || Qs(r, t, n, e)), Y = r(() => e.colDefs.filter(P).map((t) => {
7510
- let n = k(t), r = D(t), i = j(t), a = ue(te(n), t), o = ue(re(n), t), s = {
7527
+ let n = k(t), r = D(t), i = j(t), a = ue(F(n), t), o = ue(ne(n), t), s = {
7511
7528
  category: M(t),
7512
7529
  colDef: t,
7513
7530
  dataType: r.dataType ?? null,
@@ -7525,11 +7542,11 @@ function yu(e, t, n) {
7525
7542
  focusText: e.focusText,
7526
7543
  focusedValues: e.focusedValues[n] ?? [],
7527
7544
  focusedValuesByField: oe(t),
7528
- hasMore: I(n),
7545
+ hasMore: L(n),
7529
7546
  isAggregate: G(t),
7530
7547
  isFocusable: e.enableFocusView && (!e.focusableFields.length || W(t).some((t) => e.focusableFields.includes(t))),
7531
- isLoading: L(n),
7532
- isLoadingMore: R(n),
7548
+ isLoading: R(n),
7549
+ isLoadingMore: z(n),
7533
7550
  isOpen: !1,
7534
7551
  key: n,
7535
7552
  knownOptions: o,
@@ -7538,7 +7555,7 @@ function yu(e, t, n) {
7538
7555
  rangeMin: A(r.filterPanelRange?.min),
7539
7556
  rangeStep: A(r.filterPanelRange?.step),
7540
7557
  searchPlaceholder: ce(t),
7541
- searchQuery: z(n) ?? "",
7558
+ searchQuery: B(n) ?? "",
7542
7559
  type: i,
7543
7560
  valueDecimals: r.valueDecimals ?? null,
7544
7561
  valueLabels: N(t)
@@ -7963,31 +7980,31 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
7963
7980
  "suggestion-click"
7964
7981
  ], ["update:filterModel", "update:isCollapsed"]),
7965
7982
  setup(e, { emit: n }) {
7966
- let c = e, l = I(e, "filterModel"), d = I(e, "isCollapsed"), f = n, { resolvedFilters: p, appliedGroups: m, appliedCount: h, showClearAll: g, visibleSuggestions: _, activateFilter: v, applyStagedFilters: y, cancelStagedFilters: b, clearAllFilters: S, getSuggestionKey: C, handleControlChange: w, handleLoadMore: T, handleSearchChange: D, handleSuggestionClick: ee, removeAppliedFilter: j } = yu(c, l, f), M = O("filters"), te = O({}), F = O(null), L = O(!1), R = r(() => F.value === null ? p.value : p.value.filter((e) => e.category === F.value)), z = r(() => R.value.map((e) => ({
7983
+ let c = e, l = L(e, "filterModel"), d = L(e, "isCollapsed"), f = n, { resolvedFilters: p, appliedGroups: m, appliedCount: h, showClearAll: g, visibleSuggestions: _, activateFilter: v, applyStagedFilters: y, cancelStagedFilters: b, clearAllFilters: S, getSuggestionKey: C, handleControlChange: w, handleLoadMore: T, handleSearchChange: D, handleSuggestionClick: ee, removeAppliedFilter: j } = yu(c, l, f), M = O("filters"), F = O({}), I = O(null), R = O(!1), z = r(() => I.value === null ? p.value : p.value.filter((e) => e.category === I.value)), B = r(() => z.value.map((e) => ({
7967
7984
  ...e,
7968
- isOpen: te.value[e.key] ?? e.isOpen ?? !1
7969
- }))), ne = r(() => [{
7985
+ isOpen: F.value[e.key] ?? e.isOpen ?? !1
7986
+ }))), te = r(() => [{
7970
7987
  label: "Filters",
7971
7988
  value: "filters"
7972
7989
  }, {
7973
7990
  label: `Applied (${h.value})`,
7974
7991
  value: "applied"
7975
- }]), re = r(() => ({
7992
+ }]), ne = r(() => ({
7976
7993
  "--flex-align": "stretch",
7977
7994
  "--flex-gap": "0",
7978
7995
  flex: `0 0 ${c.width}`,
7979
7996
  minHeight: "0",
7980
7997
  width: c.width
7981
- })), B = (e) => {
7998
+ })), V = (e) => {
7982
7999
  (e === "filters" || e === "applied") && (M.value = e);
7983
- }, H = (e, t) => {
7984
- te.value[e.key] = t, f("open-change", e.key, t, e.colDef), t && v(e);
7985
- }, U = () => {
7986
- L.value = !1;
8000
+ }, U = (e, t) => {
8001
+ F.value[e.key] = t, f("open-change", e.key, t, e.colDef), t && v(e);
8002
+ }, re = () => {
8003
+ R.value = !1;
7987
8004
  }, ie = () => {
7988
- S(), L.value = !1;
8005
+ S(), R.value = !1;
7989
8006
  }, K = () => {
7990
- L.value = !0;
8007
+ R.value = !0;
7991
8008
  };
7992
8009
  return (n, r) => (E(), o(t, null, [d.value ? a("", !0) : (E(), o("div", {
7993
8010
  key: 0,
@@ -7995,14 +8012,14 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
7995
8012
  class: "pv-filter-panel pv-flex-vertical pv-surface pv-border-right",
7996
8013
  "data-testid": "pv-filter-panel",
7997
8014
  "aria-label": e.ariaLabel,
7998
- style: x(re.value)
8015
+ style: x(ne.value)
7999
8016
  }, [
8000
8017
  s("div", xu, [u(ur, {
8001
8018
  modelValue: M.value,
8002
- options: ne.value,
8019
+ options: te.value,
8003
8020
  class: "pv-filter-panel-mode-control",
8004
8021
  size: "xl",
8005
- "onUpdate:modelValue": B
8022
+ "onUpdate:modelValue": V
8006
8023
  }, null, 8, ["modelValue", "options"]), e.hideCollapseButton ? a("", !0) : (E(), i(Q, {
8007
8024
  key: 0,
8008
8025
  ariaLabel: "Collapse filters",
@@ -8026,8 +8043,8 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8026
8043
  ]))), 128))])])) : a("", !0),
8027
8044
  A(n.$slots, "suggestions", {}, void 0, !0),
8028
8045
  u(fl, {
8029
- modelValue: F.value,
8030
- "onUpdate:modelValue": r[1] ||= (e) => F.value = e,
8046
+ modelValue: I.value,
8047
+ "onUpdate:modelValue": r[1] ||= (e) => I.value = e,
8031
8048
  "category-order": e.categoryOrder,
8032
8049
  filters: P(p)
8033
8050
  }, null, 8, [
@@ -8035,14 +8052,14 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8035
8052
  "category-order",
8036
8053
  "filters"
8037
8054
  ]),
8038
- P(p).length ? R.value.length ? (E(), o("div", Ou, [(E(!0), o(t, null, k(z.value, (e) => (E(), i($c, {
8055
+ P(p).length ? z.value.length ? (E(), o("div", Ou, [(E(!0), o(t, null, k(B.value, (e) => (E(), i($c, {
8039
8056
  key: e.key,
8040
8057
  filter: e,
8041
8058
  onFilterChange: (t) => P(w)(e.key, t),
8042
8059
  onFocusChange: r[2] ||= (e, t, n) => f("focus-change", e, t, n),
8043
8060
  onHandleSettingsIcon: r[3] ||= (e, t) => f("handle-settings-icon", e, t),
8044
8061
  onLoadMore: (t, n) => P(T)(e, t, n),
8045
- onOpenChange: (t) => H(e, t),
8062
+ onOpenChange: (t) => U(e, t),
8046
8063
  onSearchChange: (t) => P(D)(e, t)
8047
8064
  }, null, 8, [
8048
8065
  "filter",
@@ -8051,7 +8068,7 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8051
8068
  "onOpenChange",
8052
8069
  "onSearchChange"
8053
8070
  ]))), 128))])) : (E(), o("div", Du, " No filters in this category. ")) : (E(), o("div", Eu, " No filters available. "))
8054
- ], 512), [[V, M.value === "filters"]]), G(u(al, {
8071
+ ], 512), [[H, M.value === "filters"]]), G(u(al, {
8055
8072
  "applied-count": P(h),
8056
8073
  "applied-groups": P(m),
8057
8074
  "read-only": e.readOnly,
@@ -8061,7 +8078,7 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8061
8078
  "applied-groups",
8062
8079
  "read-only",
8063
8080
  "onRemoveFilter"
8064
- ]), [[V, M.value === "applied"]])]),
8081
+ ]), [[H, M.value === "applied"]])]),
8065
8082
  (P(g) || e.staged) && !e.readOnly ? (E(), o("div", ku, [P(g) ? (E(), i(Q, {
8066
8083
  key: 0,
8067
8084
  class: "pv-text-brand",
@@ -8078,8 +8095,8 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8078
8095
  onClick: P(y)
8079
8096
  }, null, 8, ["label", "onClick"])])) : a("", !0)])) : a("", !0)
8080
8097
  ], 12, bu)), u(Cr, {
8081
- modelValue: L.value,
8082
- "onUpdate:modelValue": r[4] ||= (e) => L.value = e,
8098
+ modelValue: R.value,
8099
+ "onUpdate:modelValue": r[4] ||= (e) => R.value = e,
8083
8100
  header: e.clearAllHeader,
8084
8101
  style: { "--max-width": "440px" }
8085
8102
  }, {
@@ -8087,7 +8104,7 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8087
8104
  footer: W(() => [s("div", Mu, [u(Q, {
8088
8105
  label: e.cancelLabel,
8089
8106
  variant: "ghost",
8090
- onClick: U
8107
+ onClick: re
8091
8108
  }, null, 8, ["label"]), u(Q, {
8092
8109
  label: e.clearAllLabel,
8093
8110
  variant: "primary",
@@ -8125,7 +8142,7 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8125
8142
  }),
8126
8143
  emits: ["update:modelValue"],
8127
8144
  setup(e) {
8128
- let t = e, n = I(e, "modelValue"), i = r(() => t.id ? t.id : `${t.label}-${Math.random()}`);
8145
+ let t = e, n = L(e, "modelValue"), i = r(() => t.id ? t.id : `${t.label}-${Math.random()}`);
8129
8146
  return (t, r) => (E(), o("label", {
8130
8147
  class: "pv-toggle-ghost",
8131
8148
  for: i.value
@@ -8138,7 +8155,7 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8138
8155
  value: e.value,
8139
8156
  name: e.name,
8140
8157
  disabled: e.disabled
8141
- }, null, 8, Fu), [[ne, n.value]]),
8158
+ }, null, 8, Fu), [[te, n.value]]),
8142
8159
  e.label ? (E(), o("span", Iu, N(e.label), 1)) : a("", !0),
8143
8160
  s("span", Lu, N(e.rightCounterBadge), 1)
8144
8161
  ], 8, Pu));
@@ -8260,7 +8277,7 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8260
8277
  "suggestion-click"
8261
8278
  ], ["update:filterModel", "update:visible"]),
8262
8279
  setup(e, { emit: n }) {
8263
- let c = e, l = I(e, "filterModel"), d = I(e, "visible"), f = n, { resolvedFilters: p, activateFilter: m, applyStagedFilters: h, cancelStagedFilters: g, handleControlChange: _ } = yu(c, l, f), v = O(null), y = O(""), b = r(() => p.value.filter((e) => e.type === "value")), S = r(() => {
8280
+ let c = e, l = L(e, "filterModel"), d = L(e, "visible"), f = n, { resolvedFilters: p, activateFilter: m, applyStagedFilters: h, cancelStagedFilters: g, handleControlChange: _ } = yu(c, l, f), v = O(null), y = O(""), b = r(() => p.value.filter((e) => e.type === "value")), S = r(() => {
8264
8281
  let e = b.value;
8265
8282
  return e.find((e) => e.key === v.value) ?? e[0] ?? null;
8266
8283
  }), C = r(() => S.value?.isAggregate === !0), w = r(() => S.value?.aggregateSelectionState ?? []), T = r(() => new Set(S.value?.selectedValues ?? [])), D = r(() => y.value.trim().toLowerCase()), ee = (e) => {
@@ -8285,16 +8302,16 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8285
8302
  }), N = r(() => C.value ? [] : (S.value?.selectedValues ?? []).map((e) => j.value[e] ?? {
8286
8303
  label: e,
8287
8304
  value: e
8288
- })), te = r(() => C.value ? M.value : M.value.filter((e) => !T.value.has(e.value))), F = r(() => C.value && S.value ? Oc({
8305
+ })), F = r(() => C.value ? M.value : M.value.filter((e) => !T.value.has(e.value))), I = r(() => C.value && S.value ? Oc({
8289
8306
  options: S.value.knownOptions ?? [],
8290
8307
  state: w.value
8291
- }) : /* @__PURE__ */ new Map()), L = (e) => e.isAggregate ? jc(e.aggregateSelectionState ?? []) || void 0 : e.selectedValues?.length || void 0, R = (e) => C.value ? F.value.get(e.value) ?? {
8308
+ }) : /* @__PURE__ */ new Map()), R = (e) => e.isAggregate ? jc(e.aggregateSelectionState ?? []) || void 0 : e.selectedValues?.length || void 0, z = (e) => C.value ? I.value.get(e.value) ?? {
8292
8309
  indeterminate: !1,
8293
8310
  selected: !1
8294
8311
  } : {
8295
8312
  indeterminate: !1,
8296
8313
  selected: T.value.has(e.value)
8297
- }, z = (e) => S.value ? Vs(e, S.value.colDef) : e.label || e.value, ne = (e) => Ys(e) ?? e.value, re = (e) => Xs(e, S.value?.key ?? ""), B = (e, t) => {
8314
+ }, B = (e) => S.value ? Vs(e, S.value.colDef) : e.label || e.value, te = (e) => Ys(e) ?? e.value, ne = (e) => Xs(e, S.value?.key ?? ""), V = (e, t) => {
8298
8315
  let n = S.value;
8299
8316
  if (n) {
8300
8317
  if (n.isAggregate) {
@@ -8311,19 +8328,19 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8311
8328
  }
8312
8329
  _(n.key, {
8313
8330
  checked: t,
8314
- field: re(e),
8331
+ field: ne(e),
8315
8332
  type: "value",
8316
- value: ne(e)
8333
+ value: te(e)
8317
8334
  });
8318
8335
  }
8319
- }, V = () => {
8320
- for (let e of M.value) R(e).selected || B(e, !0);
8321
- }, U = () => {
8336
+ }, H = () => {
8337
+ for (let e of M.value) z(e).selected || V(e, !0);
8338
+ }, re = () => {
8322
8339
  if (C.value) {
8323
- for (let e of Zs(S.value?.knownOptions ?? [])) R(e).selected && B(e, !1);
8340
+ for (let e of Zs(S.value?.knownOptions ?? [])) z(e).selected && V(e, !1);
8324
8341
  return;
8325
8342
  }
8326
- for (let e of N.value) B(e, !1);
8343
+ for (let e of N.value) V(e, !1);
8327
8344
  }, G = () => {
8328
8345
  S.value && f("load-more", S.value.key, S.value.colDef, y.value.trim());
8329
8346
  }, ie = r({
@@ -8332,9 +8349,9 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8332
8349
  v.value = e;
8333
8350
  }
8334
8351
  });
8335
- return H(() => S.value?.key, (e) => {
8352
+ return U(() => S.value?.key, (e) => {
8336
8353
  y.value = S.value?.searchQuery ?? "", e && d.value && S.value && m(S.value);
8337
- }), H(d, (e) => {
8354
+ }), U(d, (e) => {
8338
8355
  e && S.value && m(S.value);
8339
8356
  }), ue(y, (e) => {
8340
8357
  let t = S.value;
@@ -8367,7 +8384,7 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8367
8384
  class: "pv-full-width pv-space-between",
8368
8385
  deselect: !1,
8369
8386
  label: e.label,
8370
- "right-counter-badge": L(e),
8387
+ "right-counter-badge": R(e),
8371
8388
  value: e.key
8372
8389
  }, null, 8, [
8373
8390
  "modelValue",
@@ -8392,15 +8409,15 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8392
8409
  class: "pv-inset-square-8 pv-surface-highlight pv-radius"
8393
8410
  }, [u(js, {
8394
8411
  disabled: S.value.disabled || e.isSelectable === !1,
8395
- indeterminate: R(e).indeterminate,
8396
- label: z(e),
8412
+ indeterminate: z(e).indeterminate,
8413
+ label: B(e),
8397
8414
  "query-text": y.value,
8398
8415
  "result-count": P(Hs)(e),
8399
8416
  selected: !0,
8400
8417
  "sub-text": e.subText,
8401
8418
  "subdued-text": e.subduedText,
8402
8419
  value: e.value,
8403
- onToggleValue: (t, n) => B(e, n)
8420
+ onToggleValue: (t, n) => V(e, n)
8404
8421
  }, null, 8, [
8405
8422
  "disabled",
8406
8423
  "indeterminate",
@@ -8411,20 +8428,20 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8411
8428
  "subdued-text",
8412
8429
  "value",
8413
8430
  "onToggleValue"
8414
- ])]))), 128)), (E(!0), o(t, null, k(te.value, (e) => (E(), o("div", {
8431
+ ])]))), 128)), (E(!0), o(t, null, k(F.value, (e) => (E(), o("div", {
8415
8432
  key: `option-${e.value}`,
8416
8433
  class: "pv-inset-square-8 pv-radius"
8417
8434
  }, [u(js, {
8418
8435
  disabled: S.value.disabled || e.isSelectable === !1,
8419
- indeterminate: R(e).indeterminate,
8420
- label: z(e),
8436
+ indeterminate: z(e).indeterminate,
8437
+ label: B(e),
8421
8438
  "query-text": y.value,
8422
8439
  "result-count": P(Hs)(e),
8423
- selected: R(e).selected,
8440
+ selected: z(e).selected,
8424
8441
  "sub-text": e.subText,
8425
8442
  "subdued-text": e.subduedText,
8426
8443
  value: e.value,
8427
- onToggleValue: (t, n) => B(e, n)
8444
+ onToggleValue: (t, n) => V(e, n)
8428
8445
  }, null, 8, [
8429
8446
  "disabled",
8430
8447
  "indeterminate",
@@ -8437,7 +8454,7 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8437
8454
  "value",
8438
8455
  "onToggleValue"
8439
8456
  ])]))), 128))]),
8440
- !N.value.length && !te.value.length ? (E(), o("p", Gu, " No matching values. ")) : a("", !0),
8457
+ !N.value.length && !F.value.length ? (E(), o("p", Gu, " No matching values. ")) : a("", !0),
8441
8458
  S.value.hasMore ? (E(), i(Q, {
8442
8459
  key: 1,
8443
8460
  class: "pv-text-brand",
@@ -8452,12 +8469,12 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8452
8469
  disabled: S.value.disabled,
8453
8470
  label: e.selectAllLabel,
8454
8471
  variant: "ghost",
8455
- onClick: V
8472
+ onClick: H
8456
8473
  }, null, 8, ["disabled", "label"]), u(Q, {
8457
8474
  disabled: S.value.disabled,
8458
8475
  label: e.clearSelectionLabel,
8459
8476
  variant: "ghost",
8460
- onClick: U
8477
+ onClick: re
8461
8478
  }, null, 8, ["disabled", "label"])])) : a("", !0)
8462
8479
  ])]), e.staged ? (E(), o("div", qu, [u(Q, {
8463
8480
  label: e.cancelLabel,
@@ -8618,7 +8635,7 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8618
8635
  }),
8619
8636
  emits: ["update:modelValue", "update:wrap-content"],
8620
8637
  setup(e) {
8621
- let n = e, s = I(e, "modelValue"), c = I(e, "wrap-content"), { removeQueryOption: l } = $u(), u = r(() => {
8638
+ let n = e, s = L(e, "modelValue"), c = L(e, "wrap-content"), { removeQueryOption: l } = $u(), u = r(() => {
8622
8639
  let e = s.value?.queryTerms || [];
8623
8640
  return c.value ? e : e.slice(0, n.queryTermDisplayLimit);
8624
8641
  }), d = r(() => (s.value?.queryTerms.length || 0) - u.value.length), f = (e) => e.queryField && !e.exactMatch ? `${e.queryDisplayField || e.queryField}: '${e.queryText}'` : e.queryText || "", p = (e) => e.exactMatch ? "primary" : "tertiary", m = (e) => {
@@ -8708,7 +8725,7 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8708
8725
  "update:options"
8709
8726
  ],
8710
8727
  setup(e) {
8711
- let n = e, c = { renderer: od }, l = R("search-input"), d = I(e, "searchText"), f = I(e, "query"), p = I(e, "options"), { addQueryOption: m, containsQueryOption: h } = $u(), g = O(!1), v = O(!1), b = O(!1), S = r(() => f.value === null ? n.placeholder : ""), C = O(null), w = r(() => C.value !== null && C.value !== "" && !v.value), T = () => {
8728
+ let n = e, c = { renderer: od }, l = z("search-input"), d = L(e, "searchText"), f = L(e, "query"), p = L(e, "options"), { addQueryOption: m, containsQueryOption: h } = $u(), g = O(!1), v = O(!1), b = O(!1), S = r(() => f.value === null ? n.placeholder : ""), C = O(null), w = r(() => C.value !== null && C.value !== "" && !v.value), T = () => {
8712
8729
  f.value = null, d.value = "", C.value = null, b.value = !1;
8713
8730
  };
8714
8731
  n.enableCustomOptionsInput && oe("Enter", () => {
@@ -8719,7 +8736,7 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8719
8736
  id: d.value.trim(),
8720
8737
  text: d.value,
8721
8738
  queryTerm: { queryText: d.value }
8722
- }), F());
8739
+ }), I());
8723
8740
  }, A = r(() => {
8724
8741
  if (!p.value || p.value.length === 0) return [];
8725
8742
  let e = p.value;
@@ -8732,7 +8749,7 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8732
8749
  context: e.queryTerm
8733
8750
  }));
8734
8751
  });
8735
- H([
8752
+ U([
8736
8753
  A,
8737
8754
  d,
8738
8755
  () => n.optionsLoading
@@ -8749,7 +8766,7 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8749
8766
  queryTerm: e.context,
8750
8767
  icon: e.icon
8751
8768
  };
8752
- f.value = m(f.value, t), F();
8769
+ f.value = m(f.value, t), I();
8753
8770
  } catch (e) {
8754
8771
  console.error("Error adding query option:", e);
8755
8772
  } finally {
@@ -8760,16 +8777,16 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8760
8777
  let t = e.target;
8761
8778
  t.isContentEditable || t.closest("[contenteditable=\"true\"]") || t.tagName === "BUTTON" || t.tagName === "SVG" || t.closest("button") || l.value?.focus();
8762
8779
  }
8763
- function te(e) {
8780
+ function F(e) {
8764
8781
  e.type === "focus" ? (v.value = !0, g.value = !0) : e.type;
8765
8782
  }
8766
- let F = () => {
8783
+ let I = () => {
8767
8784
  d.value = "";
8768
8785
  };
8769
8786
  return (n, r) => G((E(), o("div", {
8770
8787
  ref: "query-builder-input",
8771
8788
  class: "pv-relative pv-query-builder-input-wrapper",
8772
- onFocus: te,
8789
+ onFocus: F,
8773
8790
  onClick: M
8774
8791
  }, [
8775
8792
  e.hideSearchIcon ? a("", !0) : (E(), i(X, {
@@ -8800,9 +8817,9 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8800
8817
  disabled: e.disabled,
8801
8818
  placeholder: S.value,
8802
8819
  "data-invalid": w.value ? "true" : void 0,
8803
- onFocus: te,
8804
- onBlur: te
8805
- }, null, 40, cd), [[B, d.value]])], 4),
8820
+ onFocus: F,
8821
+ onBlur: F
8822
+ }, null, 40, cd), [[V, d.value]])], 4),
8806
8823
  f.value && !e.hideClearButton ? (E(), i(Q, {
8807
8824
  key: 1,
8808
8825
  variant: "ghost",
@@ -8845,8 +8862,8 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8845
8862
  }),
8846
8863
  emits: /* @__PURE__ */ g(["change"], ["update:modelValue"]),
8847
8864
  setup(e, { emit: t }) {
8848
- let n = I(e, "modelValue"), r = t, c = O(!1), l = null, u = f(), d = () => u?.proxy?.$el ?? null;
8849
- H(n, () => {
8865
+ let n = L(e, "modelValue"), r = t, c = O(!1), l = null, u = f(), d = () => u?.proxy?.$el ?? null;
8866
+ U(n, () => {
8850
8867
  c.value = !1;
8851
8868
  });
8852
8869
  let p = () => {
@@ -8890,7 +8907,7 @@ var bu = ["aria-label"], xu = { class: "pv-filter-panel-header pv-flex pv-border
8890
8907
  }),
8891
8908
  emits: /* @__PURE__ */ g(["handle-select"], ["update:modelValue"]),
8892
8909
  setup(e, { emit: n }) {
8893
- let r = I(e, "modelValue"), c = n, u = (e, t) => {
8910
+ let r = L(e, "modelValue"), c = n, u = (e, t) => {
8894
8911
  t.href || e.preventDefault(), r.value = t.id, c("handle-select", t);
8895
8912
  };
8896
8913
  return (n, c) => (E(), o("ul", _d, [(E(!0), o(t, null, k(e.items, (e) => (E(), o("li", {