@turquoisehealth/pit-viper 2.258.0 → 2.259.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 (138) hide show
  1. package/_site/assets/css/pit-viper-a11y-v3.css +24 -12
  2. package/_site/assets/css/pit-viper-a11y.css +24 -12
  3. package/_site/assets/css/pit-viper-consumer.css +24 -12
  4. package/_site/assets/css/pit-viper-v2-scoped.css +19 -12
  5. package/_site/assets/css/pit-viper-v2.css +24 -12
  6. package/_site/assets/css/pit-viper-v3.css +24 -12
  7. package/_site/assets/css/pit-viper.css +24 -12
  8. package/package.json +1 -1
  9. package/pv-components/dist/stats/vue/ai/stats.html +1 -1
  10. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  11. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-accordion-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-ai-button-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-avatar-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-banner-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-company-tag-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-confirmation-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-date-picker-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-empty-error-state-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-empty-state-stats.html +1 -1
  24. package/pv-components/dist/stats/web/pv-expandable-content-stats.html +1 -1
  25. package/pv-components/dist/stats/web/pv-file-input-stats.html +1 -1
  26. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  27. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  28. package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
  29. package/pv-components/dist/stats/web/pv-header-stats.html +1 -1
  30. package/pv-components/dist/stats/web/pv-horizontal-scroller-stats.html +1 -1
  31. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  32. package/pv-components/dist/stats/web/pv-icon-stats.html +1 -1
  33. package/pv-components/dist/stats/web/pv-input-stats.html +1 -1
  34. package/pv-components/dist/stats/web/pv-insight-card-stats.html +1 -1
  35. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  36. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  37. package/pv-components/dist/stats/web/pv-pagination-stats.html +1 -1
  38. package/pv-components/dist/stats/web/pv-pill-stats.html +1 -1
  39. package/pv-components/dist/stats/web/pv-prompt-input-stats.html +1 -1
  40. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  41. package/pv-components/dist/stats/web/pv-question-stats.html +1 -1
  42. package/pv-components/dist/stats/web/pv-range-stats.html +1 -1
  43. package/pv-components/dist/stats/web/pv-reasoning-stats.html +1 -1
  44. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  45. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  46. package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
  47. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
  48. package/pv-components/dist/stats/web/pv-sortable-list-stats.html +1 -1
  49. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  50. package/pv-components/dist/stats/web/pv-step-list-stats.html +1 -1
  51. package/pv-components/dist/stats/web/pv-stepper-stats.html +1 -1
  52. package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +1 -1
  53. package/pv-components/dist/stats/web/pv-table-of-contents-stats.html +1 -1
  54. package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
  55. package/pv-components/dist/stats/web/pv-tag-stats.html +1 -1
  56. package/pv-components/dist/stats/web/pv-toast-stats.html +1 -1
  57. package/pv-components/dist/stats/web/pv-toggle-button-stats.html +1 -1
  58. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  59. package/pv-components/dist/stats/web/pv-tool-stats.html +1 -1
  60. package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
  61. package/pv-components/dist/vue/ai/components/base/PvFilterModal/PvFilterModal.vue.d.ts +1 -0
  62. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +1 -0
  63. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/PvFilterPanelOptionRow.vue.d.ts +1 -0
  64. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/types.d.ts +12 -4
  65. package/pv-components/dist/vue/ai/components/base/PvPill/types.d.ts +1 -1
  66. package/pv-components/dist/vue/ai/components/base/PvTag/types.d.ts +1 -1
  67. package/pv-components/dist/vue/ai/components/base/baseProps.d.ts +1 -1
  68. package/pv-components/dist/vue/ai/pv-components-ai.mjs +1 -0
  69. package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
  70. package/pv-components/dist/vue/base/components/base/PvFilterModal/PvFilterModal.vue.d.ts +1 -0
  71. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +1 -0
  72. package/pv-components/dist/vue/base/components/base/PvFilterPanel/PvFilterPanelOptionRow.vue.d.ts +1 -0
  73. package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +12 -4
  74. package/pv-components/dist/vue/base/components/base/PvPill/types.d.ts +1 -1
  75. package/pv-components/dist/vue/base/components/base/PvTag/types.d.ts +1 -1
  76. package/pv-components/dist/vue/base/components/base/baseProps.d.ts +1 -1
  77. package/pv-components/dist/vue/base/pv-components-base.mjs +210 -163
  78. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  79. package/pv-components/dist/vue/visualizations/components/base/PvFilterModal/PvFilterModal.vue.d.ts +1 -0
  80. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanel.vue.d.ts +1 -0
  81. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/PvFilterPanelOptionRow.vue.d.ts +1 -0
  82. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +12 -4
  83. package/pv-components/dist/vue/visualizations/components/base/PvPill/types.d.ts +1 -1
  84. package/pv-components/dist/vue/visualizations/components/base/PvTag/types.d.ts +1 -1
  85. package/pv-components/dist/vue/visualizations/components/base/baseProps.d.ts +1 -1
  86. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +14 -8
  87. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  88. package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +1 -0
  89. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +1 -0
  90. package/pv-components/dist/web/components/pv-ai-button/pv-ai-button.js +1 -0
  91. package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +1 -0
  92. package/pv-components/dist/web/components/pv-banner/pv-banner.js +1 -0
  93. package/pv-components/dist/web/components/pv-button/pv-button.js +1 -0
  94. package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +1 -0
  95. package/pv-components/dist/web/components/pv-confirmation/pv-confirmation.js +1 -0
  96. package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +1 -0
  97. package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +1 -0
  98. package/pv-components/dist/web/components/pv-empty-error-state/pv-empty-error-state.js +1 -0
  99. package/pv-components/dist/web/components/pv-empty-state/pv-empty-state.js +1 -0
  100. package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +1 -0
  101. package/pv-components/dist/web/components/pv-file-input/pv-file-input.js +1 -0
  102. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +49 -26
  103. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +408 -366
  104. package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +1 -0
  105. package/pv-components/dist/web/components/pv-header/pv-header.js +1 -0
  106. package/pv-components/dist/web/components/pv-horizontal-scroller/pv-horizontal-scroller.js +1 -0
  107. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +2 -1
  108. package/pv-components/dist/web/components/pv-icon/pv-icon.js +1 -0
  109. package/pv-components/dist/web/components/pv-input/pv-input.js +1 -0
  110. package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +1 -0
  111. package/pv-components/dist/web/components/pv-menu/pv-menu.js +1 -0
  112. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1 -0
  113. package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +1 -0
  114. package/pv-components/dist/web/components/pv-pill/pv-pill.js +9 -7
  115. package/pv-components/dist/web/components/pv-prompt-input/pv-prompt-input.js +1 -0
  116. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +14 -8
  117. package/pv-components/dist/web/components/pv-question/pv-question.js +1 -0
  118. package/pv-components/dist/web/components/pv-range/pv-range.js +1 -0
  119. package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +1 -0
  120. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +1 -0
  121. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +1 -0
  122. package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +1 -0
  123. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +1 -0
  124. package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +1 -0
  125. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +1 -0
  126. package/pv-components/dist/web/components/pv-step-list/pv-step-list.js +1 -0
  127. package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +1 -0
  128. package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +1 -0
  129. package/pv-components/dist/web/components/pv-table-of-contents/pv-table-of-contents.js +1 -0
  130. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +1 -0
  131. package/pv-components/dist/web/components/pv-tag/pv-tag.js +14 -8
  132. package/pv-components/dist/web/components/pv-toast/pv-toast.js +1 -0
  133. package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +1 -0
  134. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +1 -0
  135. package/pv-components/dist/web/components/pv-tool/pv-tool.js +1 -0
  136. package/pv-components/dist/web/components/pv-tree/pv-tree.js +1 -0
  137. package/pv-components/dist/web/pv-components.iife.js +2 -2
  138. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -1,5 +1,5 @@
1
1
  import * as e from "vue";
2
- import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, defineCustomElement as f, getCurrentInstance as p, getCurrentScope as m, guardReactiveProps as h, inject as g, mergeModels as _, mergeProps as v, nextTick as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as C, onBeforeUpdate as w, onMounted as T, onScopeDispose as E, onUnmounted as D, onUpdated as O, openBlock as k, reactive as A, readonly as j, ref as M, renderList as N, renderSlot as ee, resolveDynamicComponent as P, shallowReactive as F, shallowRef as I, toDisplayString as L, toValue as R, unref as z, useAttrs as te, useId as ne, useModel as re, useSlots as B, useTemplateRef as ie, vModelCheckbox as ae, vModelText as V, vShow as oe, watch as H, watchEffect as se, withCtx as U, withDirectives as ce, withKeys as W, withModifiers as le } from "vue";
2
+ import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, defineCustomElement as f, getCurrentInstance as p, getCurrentScope as m, guardReactiveProps as h, inject as g, mergeModels as _, mergeProps as v, nextTick as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as C, onBeforeUpdate as w, onMounted as T, onScopeDispose as E, onUnmounted as ee, onUpdated as D, openBlock as O, reactive as k, readonly as A, ref as j, renderList as M, renderSlot as N, resolveDynamicComponent as P, shallowReactive as F, shallowRef as I, toDisplayString as L, toValue as R, unref as z, useAttrs as B, useId as te, useModel as ne, useSlots as V, useTemplateRef as re, vModelCheckbox as ie, vModelText as ae, vShow as oe, watch as H, watchEffect as se, withCtx as U, withDirectives as ce, withKeys as W, withModifiers as le } from "vue";
3
3
  //#region \0rolldown/runtime.js
4
4
  var ue = Object.defineProperty, de = Object.getOwnPropertyDescriptor, G = Object.getOwnPropertyNames, K = Object.prototype.hasOwnProperty, fe = (e, t) => {
5
5
  let n = {};
@@ -38,7 +38,7 @@ var ue = Object.defineProperty, de = Object.getOwnPropertyDescriptor, G = Object
38
38
  dark: "pv-spinner-dark",
39
39
  white: "pv-spinner-light"
40
40
  };
41
- return (r, i) => (k(), o("div", {
41
+ return (r, i) => (O(), o("div", {
42
42
  "data-testid": "pv-spinner",
43
43
  class: b(n[e.variant]),
44
44
  style: S({ "--size": t[e.size] })
@@ -52,7 +52,7 @@ var ue = Object.defineProperty, de = Object.getOwnPropertyDescriptor, G = Object
52
52
  //#endregion
53
53
  //#region src/web-components/utils.ts
54
54
  function _e() {
55
- let e = M(!1), t = p()?.root || {};
55
+ let e = j(!1), t = p()?.root || {};
56
56
  return "isCE" in t && t.isCE === !0 && (e.value = !0), e;
57
57
  }
58
58
  //#endregion
@@ -61,6 +61,7 @@ var ve = [
61
61
  void 0,
62
62
  10,
63
63
  12,
64
+ 16,
64
65
  20,
65
66
  24,
66
67
  32,
@@ -72,11 +73,11 @@ var ve = [
72
73
  size: { type: null }
73
74
  },
74
75
  setup(e) {
75
- let t = e, n = _e(), i = M(null), a = r(() => ({
76
+ let t = e, n = _e(), i = j(null), a = r(() => ({
76
77
  "pv-icon": !0,
77
78
  [`pv-icon-${t.size}`]: t.size != null && ve.includes(t.size)
78
79
  })), c = r(() => n.value && i.value ? `${i.value}#${t.name}` : `#${t.name}`);
79
- return globalThis.__PV_GLOBAL_SPRITE_PATH__ && (i.value = globalThis.__PV_GLOBAL_SPRITE_PATH__), (e, t) => (k(), o("svg", {
80
+ return globalThis.__PV_GLOBAL_SPRITE_PATH__ && (i.value = globalThis.__PV_GLOBAL_SPRITE_PATH__), (e, t) => (O(), o("svg", {
80
81
  "data-testid": "pv-icon",
81
82
  "aria-hidden": "true",
82
83
  class: b(a.value)
@@ -116,7 +117,7 @@ var ve = [
116
117
  "pv-surface": t.variant == "ghost",
117
118
  "pv-rounded": t.rounded
118
119
  }));
119
- return (e, t) => (k(), o("div", {
120
+ return (e, t) => (O(), o("div", {
120
121
  class: b(i.value),
121
122
  "data-testid": "pv-counter-badge"
122
123
  }, L(n.value), 3));
@@ -165,33 +166,33 @@ var ve = [
165
166
  let t = ge(n.size);
166
167
  return t && e.push(t), e;
167
168
  });
168
- return (n, r) => (k(), o("button", {
169
+ return (n, r) => (O(), o("button", {
169
170
  type: "button",
170
171
  class: b(c.value),
171
172
  disabled: e.disabled,
172
173
  "aria-label": s.value,
173
174
  "data-testid": "pv-button"
174
- }, [e.loading ? (k(), i(he, {
175
+ }, [e.loading ? (O(), i(he, {
175
176
  key: 0,
176
177
  size: "sm"
177
- })) : (k(), o(t, { key: 1 }, [
178
- e.leftCounterBadge ? (k(), i(we, {
178
+ })) : (O(), o(t, { key: 1 }, [
179
+ e.leftCounterBadge ? (O(), i(we, {
179
180
  key: 0,
180
181
  value: e.leftCounterBadge,
181
182
  variant: "tertiary"
182
183
  }, null, 8, ["value"])) : a("v-if", !0),
183
- e.leftIcon ? (k(), i(be, {
184
+ e.leftIcon ? (O(), i(be, {
184
185
  key: 1,
185
186
  name: e.leftIcon,
186
187
  "data-testid": "pv-button-left-icon"
187
188
  }, null, 8, ["name"])) : a("v-if", !0),
188
- e.label ? (k(), o("span", Ee, L(e.label), 1)) : a("v-if", !0),
189
- e.rightCounterBadge ? (k(), i(we, {
189
+ e.label ? (O(), o("span", Ee, L(e.label), 1)) : a("v-if", !0),
190
+ e.rightCounterBadge ? (O(), i(we, {
190
191
  key: 3,
191
192
  value: e.rightCounterBadge,
192
193
  variant: "tertiary"
193
194
  }, null, 8, ["value"])) : a("v-if", !0),
194
- e.rightIcon ? (k(), i(be, {
195
+ e.rightIcon ? (O(), i(be, {
195
196
  key: 4,
196
197
  name: e.rightIcon,
197
198
  "data-testid": "pv-button-right-icon"
@@ -236,7 +237,7 @@ var ve = [
236
237
  }),
237
238
  emits: ["update:modelValue"],
238
239
  setup(e) {
239
- let t = e, n = r(() => t.position === "center" ? "position: fixed; inset-block: 0; height: fit-content; margin-block: auto" : void 0), i = ie("dialog"), c = re(e, "modelValue");
240
+ let t = e, n = r(() => t.position === "center" ? "position: fixed; inset-block: 0; height: fit-content; margin-block: auto" : void 0), i = re("dialog"), c = ne(e, "modelValue");
240
241
  H(() => c.value, () => {
241
242
  c.value ? i.value?.showModal() : i.value?.close();
242
243
  });
@@ -245,13 +246,13 @@ var ve = [
245
246
  }, u = (e) => {
246
247
  !t.disableCloseOnClickOutside && e.target === i.value && l();
247
248
  };
248
- return (t, r) => (k(), o("dialog", {
249
+ return (t, r) => (O(), o("dialog", {
249
250
  class: "pv-modal-sm",
250
251
  ref: "dialog",
251
252
  style: S(n.value),
252
253
  onClose: l,
253
254
  onClick: u
254
- }, [s("div", De, [e.hideHeader ? a("v-if", !0) : (k(), o("div", Oe, [s("span", X, L(e.header), 1), e.subheader ? (k(), o("span", ke, L(e.subheader), 1)) : a("v-if", !0)])), ee(t.$slots, "body")]), e.hideFooter ? a("v-if", !0) : (k(), o("div", Ae, [ee(t.$slots, "footer")]))], 36));
255
+ }, [s("div", De, [e.hideHeader ? a("v-if", !0) : (O(), o("div", Oe, [s("span", X, L(e.header), 1), e.subheader ? (O(), o("span", ke, L(e.subheader), 1)) : a("v-if", !0)])), N(t.$slots, "body")]), e.hideFooter ? a("v-if", !0) : (O(), o("div", Ae, [N(t.$slots, "footer")]))], 36));
255
256
  }
256
257
  });
257
258
  //#endregion
@@ -574,7 +575,7 @@ var lt = { class: "pv-relative" }, ut = ["disabled", "placeholder"], dt = {
574
575
  }),
575
576
  emits: ["update:modelValue"],
576
577
  setup(e, { expose: t }) {
577
- let n = e, i = ie("search-input"), c = re(e, "modelValue"), l = r(() => ({
578
+ let n = e, i = re("search-input"), c = ne(e, "modelValue"), l = r(() => ({
578
579
  "pv-input-search": !0,
579
580
  "pv-full-width": !0,
580
581
  "pv-input-padded-end": !0,
@@ -585,7 +586,7 @@ var lt = { class: "pv-relative" }, ut = ["disabled", "placeholder"], dt = {
585
586
  let t = e.target, n = t instanceof HTMLInputElement || t instanceof HTMLTextAreaElement || (t?.isContentEditable ?? !1), r = document.activeElement === i.value;
586
587
  (!n || r) && (r || (e.preventDefault(), i.value?.focus()));
587
588
  });
588
- }), t({ input: i }), (t, n) => (k(), o("div", lt, [ce(s("input", {
589
+ }), t({ input: i }), (t, n) => (O(), o("div", lt, [ce(s("input", {
589
590
  ref: "search-input",
590
591
  "onUpdate:modelValue": n[0] ||= (e) => c.value = e,
591
592
  "data-testid": "pv-search-input",
@@ -593,7 +594,7 @@ var lt = { class: "pv-relative" }, ut = ["disabled", "placeholder"], dt = {
593
594
  disabled: e.disabled,
594
595
  class: b(l.value),
595
596
  placeholder: e.placeholder
596
- }, null, 10, ut), [[V, c.value]]), e.displayShortcut ? (k(), o("kbd", dt, L(ft))) : a("v-if", !0)]));
597
+ }, null, 10, ut), [[ae, c.value]]), e.displayShortcut ? (O(), o("kbd", dt, L(ft))) : a("v-if", !0)]));
597
598
  }
598
599
  }), [["styles", [".pv-input-search[data-v-9e0c84d9]{display:block}"]], ["__scopeId", "data-v-9e0c84d9"]]), mt = Math.min, ht = Math.max, gt = Math.round, _t = (e) => ({
599
600
  x: e,
@@ -1380,11 +1381,11 @@ function ur(e, t, { useShadowSlot: n = !0, countWhitespaceTextInDefaultSlot: r =
1380
1381
  return a ? cr(a, t, r) : or(e, t, r);
1381
1382
  }
1382
1383
  function dr(e, t = {}) {
1383
- let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = _e(), l = i ?? B(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = M(d());
1384
+ let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = _e(), l = i ?? V(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = j(d());
1384
1385
  w(() => {
1385
1386
  f.value = d();
1386
1387
  });
1387
- let p = M(!1), m = null, h = null, g = () => {
1388
+ let p = j(!1), m = null, h = null, g = () => {
1388
1389
  m &&= (m.disconnect(), null), h &&= (h.removeEventListener("slotchange", _), null);
1389
1390
  }, _ = () => {
1390
1391
  if (!c.value) {
@@ -1430,7 +1431,7 @@ function dr(e, t = {}) {
1430
1431
  var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
1431
1432
  let n = t.root.value;
1432
1433
  return n ? !!(e.root.value?.contains(n) || e.floating?.value?.contains(n) || e.hoverArea?.value?.contains(n)) : !1;
1433
- }, mr = (e) => (D(() => fr.delete(e)), (t) => {
1434
+ }, mr = (e) => (ee(() => fr.delete(e)), (t) => {
1434
1435
  if (!t) {
1435
1436
  fr.delete(e);
1436
1437
  return;
@@ -1509,13 +1510,13 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
1509
1510
  }),
1510
1511
  emits: ["update:modelValue"],
1511
1512
  setup(e) {
1512
- let t = e, c = re(e, "modelValue"), l = p(), u = typeof HTMLElement < "u" && l && "ce" in l && l.ce instanceof HTMLElement ? l.ce : void 0, { hasVueSlot: d, hasNativeSlot: f } = dr("content", { host: u }), m = r(() => u ? f.value : d.value), h = typeof HTMLElement < "u" && typeof HTMLElement.prototype.showPopover == "function" && typeof CSS < "u" && typeof CSS.supports == "function" && [
1513
+ let t = e, c = ne(e, "modelValue"), l = p(), u = typeof HTMLElement < "u" && l && "ce" in l && l.ce instanceof HTMLElement ? l.ce : void 0, { hasVueSlot: d, hasNativeSlot: f } = dr("content", { host: u }), m = r(() => u ? f.value : d.value), h = typeof HTMLElement < "u" && typeof HTMLElement.prototype.showPopover == "function" && typeof CSS < "u" && typeof CSS.supports == "function" && [
1513
1514
  "anchor-name: --pv-anchor",
1514
1515
  "position-area: bottom",
1515
1516
  "position-try-fallbacks: flip-block",
1516
1517
  "position-visibility: anchors-visible",
1517
1518
  `anchor-scope: ${gr}`
1518
- ].every((e) => CSS.supports(e)), g = M(!1), _ = M(null), v = M(null), b = M(null), x = M(null), C = r(() => t.hoverTarget && v.value?.closest(t.hoverTarget) || v.value), w = ct(C), E = ct(x), O = M(!1), A = M(!1), j = M(!1), N = mr({
1519
+ ].every((e) => CSS.supports(e)), g = j(!1), _ = j(null), v = j(null), b = j(null), x = j(null), C = r(() => t.hoverTarget && v.value?.closest(t.hoverTarget) || v.value), w = ct(C), E = ct(x), D = j(!1), k = j(!1), A = j(!1), M = mr({
1519
1520
  root: _,
1520
1521
  floating: x,
1521
1522
  hoverArea: r(() => t.hoverTarget ? C.value : null),
@@ -1576,7 +1577,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
1576
1577
  width: "fit-content",
1577
1578
  ...h ? { "anchor-scope": gr } : void 0,
1578
1579
  ...t.cssCustomProperties
1579
- })), R = r(() => h ? { "anchor-name": gr } : void 0), te = r(() => {
1580
+ })), R = r(() => h ? { "anchor-name": gr } : void 0), B = r(() => {
1580
1581
  let e = F[t.position];
1581
1582
  return {
1582
1583
  "position-anchor": gr,
@@ -1584,7 +1585,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
1584
1585
  "position-try-fallbacks": t.disableAutoPlacement ? void 0 : "flip-block, flip-inline, flip-block flip-inline",
1585
1586
  [e.margin]: `${t.offset ?? 0}px`
1586
1587
  };
1587
- }), ne = () => {}, B = () => ({});
1588
+ }), te = () => {}, V = () => ({});
1588
1589
  if (!h) {
1589
1590
  let e = [];
1590
1591
  t.disableAutoPlacement || e.push(qn({ fallbackStrategy: "initialPlacement" })), t.offset && e.push(Kn(t.offset));
@@ -1593,9 +1594,9 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
1593
1594
  strategy: t.positioningStrategy,
1594
1595
  middleware: e
1595
1596
  });
1596
- ne = n.update, B = () => n.floatingStyles.value;
1597
+ te = n.update, V = () => n.floatingStyles.value;
1597
1598
  let i = st(b), a = /* @__PURE__ */ Ge(() => {
1598
- c.value && ne();
1599
+ c.value && te();
1599
1600
  }, 5);
1600
1601
  H([
1601
1602
  i.top,
@@ -1610,47 +1611,47 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
1610
1611
  ...t.ignoreClickOutsideClasses?.map((e) => `.${e}`) ?? []
1611
1612
  ]) });
1612
1613
  }
1613
- let ie = r(() => ({
1614
- ...B(),
1614
+ let re = r(() => ({
1615
+ ...V(),
1615
1616
  zIndex: t.zIndex
1616
- })), ae, V, se = () => {
1617
- ae && clearTimeout(ae), ae = void 0;
1617
+ })), ie, ae, se = () => {
1618
+ ie && clearTimeout(ie), ie = void 0;
1618
1619
  }, U = () => {
1619
- V && clearTimeout(V), V = void 0;
1620
+ ae && clearTimeout(ae), ae = void 0;
1620
1621
  }, W = (e) => {
1621
- se(), U(), !(e && (t.disabled || !m.value)) && (e && t.delay > 0 && (t.showOnHover || !h) ? ae = setTimeout(() => {
1622
- c.value = !0, ae = void 0;
1622
+ se(), U(), !(e && (t.disabled || !m.value)) && (e && t.delay > 0 && (t.showOnHover || !h) ? ie = setTimeout(() => {
1623
+ c.value = !0, ie = void 0;
1623
1624
  }, t.delay) : c.value = e);
1624
1625
  }, le = () => {
1625
1626
  se(), U(), c.value = !1;
1626
1627
  }, ue = () => {
1627
1628
  let e = x.value;
1628
1629
  !e || !g.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
1629
- }, de = r(() => !!c.value && (E.value || A.value)), G = r(() => !t.showOnHover || j.value ? !1 : t.disableInteractive ? w.value || O.value : w.value || O.value || de.value);
1630
+ }, de = r(() => !!c.value && (E.value || k.value)), G = r(() => !t.showOnHover || A.value ? !1 : t.disableInteractive ? w.value || D.value : w.value || D.value || de.value);
1630
1631
  H([
1631
1632
  w,
1632
- O,
1633
- A
1633
+ D,
1634
+ k
1634
1635
  ], ([e, t, n]) => {
1635
- !e && !t && !n && (j.value = !1);
1636
+ !e && !t && !n && (A.value = !1);
1636
1637
  });
1637
1638
  let K = ({ target: e }) => {
1638
- O.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1639
+ D.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1639
1640
  }, fe = ({ target: e }) => {
1640
- A.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1641
+ k.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
1641
1642
  }, pe = () => {
1642
- A.value = !1;
1643
+ k.value = !1;
1643
1644
  }, me = () => {
1644
1645
  if (t.showOnHover) {
1645
1646
  if (t.disableClickOutsideToClose) return;
1646
- if (!c.value && !ae && t.enableClickToggle) {
1647
- j.value = !1, W(!0);
1647
+ if (!c.value && !ie && t.enableClickToggle) {
1648
+ A.value = !1, W(!0);
1648
1649
  return;
1649
1650
  }
1650
- j.value = !0, le();
1651
+ A.value = !0, le();
1651
1652
  return;
1652
1653
  }
1653
- W(ae ? !1 : !c.value);
1654
+ W(ie ? !1 : !c.value);
1654
1655
  }, he = (e) => {
1655
1656
  let t = e.newState === "open";
1656
1657
  c.value !== t && (c.value = t);
@@ -1658,8 +1659,8 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
1658
1659
  h && I.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), W(!1));
1659
1660
  };
1660
1661
  return H(c, async (e) => {
1661
- if (t.showOnHover && t.enableGroupSync && N(!!e), !h) {
1662
- e && ne();
1662
+ if (t.showOnHover && t.enableGroupSync && M(!!e), !h) {
1663
+ e && te();
1663
1664
  return;
1664
1665
  }
1665
1666
  await y(), ue();
@@ -1669,23 +1670,23 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
1669
1670
  W(!0);
1670
1671
  return;
1671
1672
  }
1672
- se(), t.closeDelay > 0 ? (U(), V = setTimeout(() => {
1673
- V = void 0, G.value || W(!1);
1673
+ se(), t.closeDelay > 0 ? (U(), ae = setTimeout(() => {
1674
+ ae = void 0, G.value || W(!1);
1674
1675
  }, t.closeDelay)) : W(!1);
1675
1676
  }
1676
1677
  }), H(m, (e) => {
1677
1678
  e ? h && c.value && y(ue) : le();
1678
1679
  }), T(() => {
1679
- b.value = v.value, g.value = !0, c.value && y(() => h ? ue() : ne());
1680
- }), D(() => {
1680
+ b.value = v.value, g.value = !0, c.value && y(() => h ? ue() : te());
1681
+ }), ee(() => {
1681
1682
  se(), U();
1682
1683
  }), H(() => t.disabled, (e) => {
1683
1684
  if (!e) {
1684
1685
  G.value && W(!0);
1685
1686
  return;
1686
1687
  }
1687
- O.value &&= !1, A.value &&= !1, W(!1);
1688
- }), (r, l) => (k(), o("div", {
1688
+ D.value &&= !1, k.value &&= !1, W(!1);
1689
+ }), (r, l) => (O(), o("div", {
1689
1690
  ref_key: "root",
1690
1691
  ref: _,
1691
1692
  style: S(L.value),
@@ -1696,18 +1697,18 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
1696
1697
  style: S(R.value),
1697
1698
  onClick: me,
1698
1699
  onFocusin: K,
1699
- onFocusout: l[0] ||= (e) => O.value = !1
1700
- }, [ee(r.$slots, "trigger")], 36), g.value && z(h) && m.value ? (k(), o("div", {
1700
+ onFocusout: l[0] ||= (e) => D.value = !1
1701
+ }, [N(r.$slots, "trigger")], 36), g.value && z(h) && m.value ? (O(), o("div", {
1701
1702
  key: 0,
1702
1703
  ref_key: "floating",
1703
1704
  ref: x,
1704
1705
  class: "pv-floating pv-floating-native",
1705
1706
  popover: I.value,
1706
- style: S(te.value),
1707
+ style: S(B.value),
1707
1708
  onToggle: he,
1708
1709
  onFocusin: fe,
1709
1710
  onFocusout: pe
1710
- }, [e.disabled ? a("v-if", !0) : ee(r.$slots, "content", { key: 0 })], 44, hr)) : m.value ? (k(), i(n, {
1711
+ }, [e.disabled ? a("v-if", !0) : N(r.$slots, "content", { key: 0 })], 44, hr)) : m.value ? (O(), i(n, {
1711
1712
  key: 1,
1712
1713
  to: e.teleportLocation,
1713
1714
  disabled: !t.useTeleport || e.disabled
@@ -1715,10 +1716,10 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
1715
1716
  ref_key: "floating",
1716
1717
  ref: x,
1717
1718
  class: "pv-floating",
1718
- style: S(ie.value),
1719
+ style: S(re.value),
1719
1720
  onFocusin: fe,
1720
1721
  onFocusout: pe
1721
- }, [ee(r.$slots, "content")], 36), [[oe, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1722
+ }, [N(r.$slots, "content")], 36), [[oe, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1722
1723
  }
1723
1724
  }), vr = ["data-variant"], yr = /* @__PURE__ */ d({
1724
1725
  __name: "PvTooltipV2",
@@ -1766,8 +1767,8 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
1766
1767
  },
1767
1768
  setup(e) {
1768
1769
  let t = e, n = p(), a = typeof HTMLElement < "u" && n && "ce" in n && n.ce instanceof HTMLElement ? n.ce : void 0, { hasVueSlot: o, hasNativeSlot: u } = dr("content", { host: a }), d = r(() => a ? u.value : o.value), f = r(() => !!t.description || d.value);
1769
- return (t, n) => (k(), i(_r, x(h(t.$props)), c({
1770
- trigger: U(() => [ee(t.$slots, "trigger", {}, () => [s("p", null, L(e.label), 1)])]),
1770
+ return (t, n) => (O(), i(_r, x(h(t.$props)), c({
1771
+ trigger: U(() => [N(t.$slots, "trigger", {}, () => [s("p", null, L(e.label), 1)])]),
1771
1772
  _: 2
1772
1773
  }, [f.value ? {
1773
1774
  name: "content",
@@ -1775,7 +1776,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
1775
1776
  class: b(["pv-tooltip-v2-content", { "pv-tooltip-v2-content-small": e.size === "sm" }]),
1776
1777
  role: "tooltip",
1777
1778
  "data-variant": e.variant
1778
- }, [ee(t.$slots, "content", {}, () => [l(L(e.description), 1)])], 10, vr)]),
1779
+ }, [N(t.$slots, "content", {}, () => [l(L(e.description), 1)])], 10, vr)]),
1779
1780
  key: "0"
1780
1781
  } : void 0]), 1040));
1781
1782
  }
@@ -1796,10 +1797,10 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
1796
1797
  }),
1797
1798
  emits: ["update:modelValue"],
1798
1799
  setup(e) {
1799
- let n = re(e, "modelValue"), r = (e) => {
1800
+ let n = ne(e, "modelValue"), r = (e) => {
1800
1801
  e.disabled || (n.value = e.value);
1801
1802
  };
1802
- return (a, s) => (k(), o("div", { class: b(["pv-segmented-control", { "pv-segmented-control-large": e.size === "xl" }]) }, [(k(!0), o(t, null, N(e.options, (e) => (k(), i(yr, {
1803
+ return (a, s) => (O(), o("div", { class: b(["pv-segmented-control", { "pv-segmented-control-large": e.size === "xl" }]) }, [(O(!0), o(t, null, M(e.options, (e) => (O(), i(yr, {
1803
1804
  key: e.value,
1804
1805
  variant: "dark",
1805
1806
  position: "bottom-right",
@@ -1861,7 +1862,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
1861
1862
  default: return "";
1862
1863
  }
1863
1864
  });
1864
- return (t, r) => (k(), o("button", {
1865
+ return (t, r) => (O(), o("button", {
1865
1866
  class: b(["pv-suggestion-tag pv-border-dashed pv-tag-secondary", n.value]),
1866
1867
  onClick: r[0] ||= (n) => t.$emit("handle-click", e.label),
1867
1868
  "data-testid": "pv-suggestion-tag",
@@ -1869,7 +1870,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
1869
1870
  "data-style": e.rounded ? "rounded" : void 0,
1870
1871
  disabled: e.disabled,
1871
1872
  title: e.label
1872
- }, [e.icon ? (k(), i(be, {
1873
+ }, [e.icon ? (O(), i(be, {
1873
1874
  key: 0,
1874
1875
  "data-testid": "pv-suggestion-tag-icon",
1875
1876
  name: e.icon,
@@ -1893,8 +1894,8 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
1893
1894
  }),
1894
1895
  emits: ["update:modelValue"],
1895
1896
  setup(e) {
1896
- let t = re(e, "modelValue");
1897
- return (n, r) => ce((k(), o("input", {
1897
+ let t = ne(e, "modelValue");
1898
+ return (n, r) => ce((O(), o("input", {
1898
1899
  "onUpdate:modelValue": r[0] ||= (e) => t.value = e,
1899
1900
  class: "pv-checkbox",
1900
1901
  type: "checkbox",
@@ -1902,7 +1903,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
1902
1903
  "aria-label": e.ariaLabel,
1903
1904
  disabled: e.disabled,
1904
1905
  indeterminate: e.indeterminate
1905
- }, null, 8, wr)), [[ae, t.value]]);
1906
+ }, null, 8, wr)), [[ie, t.value]]);
1906
1907
  }
1907
1908
  }), Er = {
1908
1909
  key: 0,
@@ -2058,22 +2059,22 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2058
2059
  }),
2059
2060
  emits: ["update:modelValue", "update:rangeValue"],
2060
2061
  setup(e) {
2061
- let t = e, n = re(e, "modelValue"), c = re(e, "rangeValue"), l = te(), u = ne(), d = `${u}-max`, f = `${u}-min`, p = M(""), m = M(""), h = M(null), g = M(null), _ = M(!1), y = M(null), x = null, w = null, T = (e) => typeof e == "number" && Number.isFinite(e), E = (e) => T(e) ? e : null, D = (e) => {
2062
+ let t = e, n = ne(e, "modelValue"), c = ne(e, "rangeValue"), l = B(), u = te(), d = `${u}-max`, f = `${u}-min`, p = j(""), m = j(""), h = j(null), g = j(null), _ = j(!1), y = j(null), x = null, w = null, T = (e) => typeof e == "number" && Number.isFinite(e), E = (e) => T(e) ? e : null, ee = (e) => {
2062
2063
  let t = e.trim();
2063
2064
  if (t === "") return null;
2064
2065
  let n = Number(t.replace(/[^0-9.\-]/g, ""));
2065
2066
  return Number.isFinite(n) ? n : null;
2066
- }, O = (e) => e === "currency" || e === "integer" || e === "percent" ? 0 : null, A = () => {
2067
+ }, D = (e) => e === "currency" || e === "integer" || e === "percent" ? 0 : null, k = () => {
2067
2068
  if (t.valueDecimals !== null && t.valueDecimals !== void 0) return Math.max(0, t.valueDecimals);
2068
- let e = O(t.dataType);
2069
+ let e = D(t.dataType);
2069
2070
  return e === null ? 2 : e;
2070
- }, j = r(() => new Intl.NumberFormat("en-US", {
2071
- maximumFractionDigits: A(),
2071
+ }, A = r(() => new Intl.NumberFormat("en-US", {
2072
+ maximumFractionDigits: k(),
2072
2073
  minimumFractionDigits: 0
2073
- })), N = (e) => j.value.format(e), ee = (e) => N(e), P = (e) => {
2074
- let n = N(e);
2074
+ })), M = (e) => A.value.format(e), N = (e) => M(e), P = (e) => {
2075
+ let n = M(e);
2075
2076
  return t.dataType === "currency" ? `$${n}` : t.dataType === "percent" ? `${n}%` : n;
2076
- }, F = r(() => t.scale === "log"), I = r(() => E(t.step)), R = r(() => E(t.sliderStep)), B = r(() => I.value !== null && I.value > 0 ? I.value : 0), ie = r(() => R.value !== null && R.value > 0 ? Math.max(R.value, B.value) : B.value), ae = r(() => B.value > 0 ? String(B.value) : "any"), V = r(() => F.value ? "1" : ie.value > 0 ? String(ie.value) : "any"), oe = r(() => I.value === null ? 1 : I.value > 0 ? I.value : 0), se = r(() => R.value !== null && R.value > 0 ? Math.max(R.value, oe.value) : oe.value), U = r(() => F.value ? "1" : se.value > 0 ? String(se.value) : "any"), ce = r(() => t.color === "multiple" ? "var(--color-data-viz-3, #ff7a4e)" : "var(--color-border, #e3e7ea)"), le = (e) => e.min > 0 ? 0 : 1 - e.min, ue = (e, t) => {
2077
+ }, F = r(() => t.scale === "log"), I = r(() => E(t.step)), R = r(() => E(t.sliderStep)), V = r(() => I.value !== null && I.value > 0 ? I.value : 0), re = r(() => R.value !== null && R.value > 0 ? Math.max(R.value, V.value) : V.value), ie = r(() => V.value > 0 ? String(V.value) : "any"), ae = r(() => F.value ? "1" : re.value > 0 ? String(re.value) : "any"), oe = r(() => I.value === null ? 1 : I.value > 0 ? I.value : 0), se = r(() => R.value !== null && R.value > 0 ? Math.max(R.value, oe.value) : oe.value), U = r(() => F.value ? "1" : se.value > 0 ? String(se.value) : "any"), ce = r(() => t.color === "multiple" ? "var(--color-data-viz-3, #ff7a4e)" : "var(--color-border, #e3e7ea)"), le = (e) => e.min > 0 ? 0 : 1 - e.min, ue = (e, t) => {
2077
2078
  if (t.max === t.min) return 0;
2078
2079
  if (!F.value) return (e - t.min) / (t.max - t.min);
2079
2080
  let n = le(t), r = Math.log(t.min + n), i = Math.log(t.max + n);
@@ -2110,31 +2111,31 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2110
2111
  return t.split(".")[1]?.length ?? 0;
2111
2112
  }, J = r(() => {
2112
2113
  let e = E(t.min), n = E(t.max), r = E(c.value?.min), i = E(c.value?.max), a = e ?? Math.min(Lr, r ?? Lr, i ?? Lr), o = n ?? Math.max(Rr, r ?? Rr, i ?? Rr);
2113
- return a > o && ([a, o] = [o, a]), a === o && (o = a + (B.value > 0 ? B.value : 1)), {
2114
+ return a > o && ([a, o] = [o, a]), a === o && (o = a + (V.value > 0 ? V.value : 1)), {
2114
2115
  max: o,
2115
2116
  min: a
2116
2117
  };
2117
2118
  }), ge = (e) => Math.max(J.value.min, Math.min(J.value.max, e)), _e = r(() => {
2118
2119
  let e = Math.max(q(J.value.min), q(J.value.max));
2119
- return B.value <= 0 ? Math.max(6, e) : Math.max(e, q(B.value));
2120
+ return V.value <= 0 ? Math.max(6, e) : Math.max(e, q(V.value));
2120
2121
  }), ve = (e) => {
2121
2122
  let t = Math.min(20, _e.value);
2122
2123
  return ge(Number(e.toFixed(t)));
2123
2124
  }, ye = (e, t) => {
2124
- let n = 10 ** -Math.min(A(), 1), r = Math.abs(e), i = r < 1 ? 0 : 10 ** Math.floor(Math.log10(r)) / 100;
2125
+ let n = 10 ** -Math.min(k(), 1), r = Math.abs(e), i = r < 1 ? 0 : 10 ** Math.floor(Math.log10(r)) / 100;
2125
2126
  return Math.max(i, n, t);
2126
2127
  }, xe = (e, t) => F.value ? ye(e, t) : t, Se = r(() => {
2127
2128
  if (t.allowMinMaxEqual) return 0;
2128
2129
  let e = J.value.max - J.value.min;
2129
2130
  if (e <= 0) return 0;
2130
- let n = Math.max(e / 1e6, 10 ** -_e.value), r = B.value > 0 ? B.value : n;
2131
+ let n = Math.max(e / 1e6, 10 ** -_e.value), r = V.value > 0 ? V.value : n;
2131
2132
  return Math.min(r, e);
2132
2133
  }), Ce = (e, t, n = "nearest") => {
2133
2134
  let r = ge(e);
2134
2135
  if (t <= 0) return ve(r);
2135
2136
  let i = F.value ? 0 : J.value.min, a = (r - i) / t;
2136
2137
  return ve((n === "down" ? Math.floor(a) : n === "up" ? Math.ceil(a) : Math.round(a)) * t + i);
2137
- }, we = (e, t = "nearest") => Ce(e, xe(e, B.value), t), Te = (e, t = "nearest") => we(Ce(e, xe(e, ie.value), t), t), Ee = (e) => Ce(e, B.value), De = (e, t, n = !0) => {
2138
+ }, we = (e, t = "nearest") => Ce(e, xe(e, V.value), t), Te = (e, t = "nearest") => we(Ce(e, xe(e, re.value), t), t), Ee = (e) => Ce(e, V.value), De = (e, t, n = !0) => {
2138
2139
  let r = Math.max(J.value.min, t - Se.value), i = Math.min(e, r);
2139
2140
  return n ? we(i, "down") : ve(i);
2140
2141
  }, Oe = (e, t, n = !0) => {
@@ -2150,7 +2151,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2150
2151
  "--range-track-color": ce.value,
2151
2152
  "--value-max": `${Ae.value}%`,
2152
2153
  "--value-min": `${ke.value}%`
2153
- })), Me = r(() => ({ left: `${ke.value}%` })), Ne = r(() => ({ left: `${Ae.value}%` })), Pe = r(() => E(c.value?.min) !== null || E(c.value?.max) !== null), Fe = (e, t) => F.value ? Math.round(ue(e, t) * zr) : e, Ie = (e, t) => F.value ? de(e / zr, t) : e, Le = r(() => F.value ? 0 : J.value.min), Re = r(() => F.value ? zr : J.value.max), ze = r(() => Fe(X.value.min, J.value)), Be = r(() => Fe(X.value.max, J.value)), Ve = r(() => F.value ? 0 : K.value.min), He = r(() => F.value ? zr : K.value.max), Ue = r(() => Fe(fe.value, K.value)), We = r(() => Math.max(ee(J.value.min).length, ee(J.value.max).length, 3)), Ge = r(() => {
2154
+ })), Me = r(() => ({ left: `${ke.value}%` })), Ne = r(() => ({ left: `${Ae.value}%` })), Pe = r(() => E(c.value?.min) !== null || E(c.value?.max) !== null), Fe = (e, t) => F.value ? Math.round(ue(e, t) * zr) : e, Ie = (e, t) => F.value ? de(e / zr, t) : e, Le = r(() => F.value ? 0 : J.value.min), Re = r(() => F.value ? zr : J.value.max), ze = r(() => Fe(X.value.min, J.value)), Be = r(() => Fe(X.value.max, J.value)), Ve = r(() => F.value ? 0 : K.value.min), He = r(() => F.value ? zr : K.value.max), Ue = r(() => Fe(fe.value, K.value)), We = r(() => Math.max(N(J.value.min).length, N(J.value.max).length, 3)), Ge = r(() => {
2154
2155
  let e = t.inputIcon ? "3.25rem" : "2rem";
2155
2156
  return {
2156
2157
  "--flex-align": "stretch",
@@ -2205,11 +2206,11 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2205
2206
  if (!a && !o) return;
2206
2207
  e.preventDefault();
2207
2208
  let s = a ? 1 : -1, c = e.key === "PageUp" || e.key === "PageDown" ? 10 : 1, l = Te(de(ue(i, r) + s * Vr * c, r), a ? "up" : "down");
2208
- l === i && (l = i + s * xe(i, ie.value)), Qe(n), Z(n, l, !1);
2209
+ l === i && (l = i + s * xe(i, re.value)), Qe(n), Z(n, l, !1);
2209
2210
  }, ut = () => {
2210
- g.value !== "min" && (m.value = ee(X.value.min)), g.value !== "max" && (p.value = ee(X.value.max));
2211
+ g.value !== "min" && (m.value = N(X.value.min)), g.value !== "max" && (p.value = N(X.value.max));
2211
2212
  }, dt = (e) => {
2212
- let t = D(e === "min" ? m.value : p.value);
2213
+ let t = ee(e === "min" ? m.value : p.value);
2213
2214
  Z(e, t === null ? e === "min" ? J.value.min : J.value.max : Ee(t), !1);
2214
2215
  }, ft = (e) => {
2215
2216
  m.value = e.target.value, dt("min");
@@ -2249,7 +2250,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2249
2250
  };
2250
2251
  return H([X, J], ut, { immediate: !0 }), C(() => {
2251
2252
  yt(), et();
2252
- }), (n, r) => e.mode === "single" ? (k(), o("div", Er, [e.showValueTooltips && _.value ? (k(), o("span", {
2253
+ }), (n, r) => e.mode === "single" ? (O(), o("div", Er, [e.showValueTooltips && _.value ? (O(), o("span", {
2253
2254
  key: 0,
2254
2255
  class: "pv-range-tooltip",
2255
2256
  style: S(he.value)
@@ -2268,7 +2269,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2268
2269
  onInput: ot,
2269
2270
  onPointerdown: at,
2270
2271
  onPointerup: tt
2271
- }), null, 16, Dr)])) : (k(), o("div", v({ key: 1 }, z(l), {
2272
+ }), null, 16, Dr)])) : (O(), o("div", v({ key: 1 }, z(l), {
2272
2273
  class: "pv-flex-vertical",
2273
2274
  "data-testid": "pv-range-dual",
2274
2275
  role: "group",
@@ -2278,7 +2279,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2278
2279
  "--flex-gap": "0"
2279
2280
  }
2280
2281
  }), [
2281
- e.showBoundLabels ? (k(), o("div", kr, [s("span", null, L(P(J.value.min)), 1), s("span", null, L(P(J.value.max)), 1)])) : a("v-if", !0),
2282
+ e.showBoundLabels ? (O(), o("div", kr, [s("span", null, L(P(J.value.min)), 1), s("span", null, L(P(J.value.max)), 1)])) : a("v-if", !0),
2282
2283
  s("div", {
2283
2284
  ref_key: "sliderRef",
2284
2285
  ref: y,
@@ -2287,12 +2288,12 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2287
2288
  onPointerdown: xt
2288
2289
  }, [
2289
2290
  r[10] ||= s("div", { class: "pv-range-dual-fill" }, null, -1),
2290
- e.showValueTooltips && h.value === "min" ? (k(), o("span", {
2291
+ e.showValueTooltips && h.value === "min" ? (O(), o("span", {
2291
2292
  key: 0,
2292
2293
  class: "pv-range-dual-tooltip",
2293
2294
  style: S(Me.value)
2294
2295
  }, L(P(X.value.min)), 5)) : a("v-if", !0),
2295
- e.showValueTooltips && h.value === "max" ? (k(), o("span", {
2296
+ e.showValueTooltips && h.value === "max" ? (O(), o("span", {
2296
2297
  key: 1,
2297
2298
  class: "pv-range-dual-tooltip",
2298
2299
  style: S(Ne.value)
@@ -2305,7 +2306,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2305
2306
  disabled: e.disabled,
2306
2307
  max: Re.value,
2307
2308
  min: Le.value,
2308
- step: V.value,
2309
+ step: ae.value,
2309
2310
  value: ze.value,
2310
2311
  onBlur: Ze,
2311
2312
  onChange: Ze,
@@ -2322,7 +2323,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2322
2323
  disabled: e.disabled,
2323
2324
  max: Re.value,
2324
2325
  min: Le.value,
2325
- step: V.value,
2326
+ step: ae.value,
2326
2327
  value: Be.value,
2327
2328
  onBlur: Ze,
2328
2329
  onChange: Ze,
@@ -2332,12 +2333,12 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2332
2333
  onPointerup: Ze
2333
2334
  }, null, 40, jr)
2334
2335
  ], 38),
2335
- e.showInputs ? (k(), o("div", Mr, [
2336
+ e.showInputs ? (O(), o("div", Mr, [
2336
2337
  s("label", {
2337
2338
  class: "pv-flex-vertical pv-range-input-label",
2338
2339
  for: f,
2339
2340
  style: S(Ge.value)
2340
- }, [s("span", Nr, L(e.minLabel), 1), s("span", { class: b(["pv-range-input-field", { "pv-range-input-field-with-icon": e.inputIcon }]) }, [e.inputIcon ? (k(), i(be, {
2341
+ }, [s("span", Nr, L(e.minLabel), 1), s("span", { class: b(["pv-range-input-field", { "pv-range-input-field-with-icon": e.inputIcon }]) }, [e.inputIcon ? (O(), i(be, {
2341
2342
  key: 0,
2342
2343
  class: "pv-range-input-icon",
2343
2344
  name: e.inputIcon
@@ -2347,7 +2348,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2347
2348
  disabled: e.disabled,
2348
2349
  inputmode: "decimal",
2349
2350
  placeholder: "Min",
2350
- step: ae.value,
2351
+ step: ie.value,
2351
2352
  type: "text",
2352
2353
  value: m.value,
2353
2354
  onBlur: r[4] ||= (e) => ht("min"),
@@ -2359,7 +2360,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2359
2360
  class: "pv-flex-vertical pv-range-input-label",
2360
2361
  for: d,
2361
2362
  style: S(Ge.value)
2362
- }, [s("span", Fr, L(e.maxLabel), 1), s("span", { class: b(["pv-range-input-field", { "pv-range-input-field-with-icon": e.inputIcon }]) }, [e.inputIcon ? (k(), i(be, {
2363
+ }, [s("span", Fr, L(e.maxLabel), 1), s("span", { class: b(["pv-range-input-field", { "pv-range-input-field-with-icon": e.inputIcon }]) }, [e.inputIcon ? (O(), i(be, {
2363
2364
  key: 0,
2364
2365
  class: "pv-range-input-icon",
2365
2366
  name: e.inputIcon
@@ -2369,7 +2370,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2369
2370
  disabled: e.disabled,
2370
2371
  inputmode: "decimal",
2371
2372
  placeholder: "Max",
2372
- step: ae.value,
2373
+ step: ie.value,
2373
2374
  type: "text",
2374
2375
  value: p.value,
2375
2376
  onBlur: r[7] ||= (e) => ht("max"),
@@ -2377,7 +2378,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2377
2378
  onInput: pt,
2378
2379
  onKeydown: r[9] ||= W((e) => gt(e, "max"), ["enter"])
2379
2380
  }, null, 40, Ir)], 2)], 4),
2380
- e.showClear && Pe.value ? (k(), i(Y, {
2381
+ e.showClear && Pe.value ? (O(), i(Y, {
2381
2382
  key: 0,
2382
2383
  class: "pv-text-brand",
2383
2384
  disabled: e.disabled,
@@ -2385,7 +2386,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2385
2386
  variant: "ghost",
2386
2387
  onClick: $e
2387
2388
  }, null, 8, ["disabled"])) : a("v-if", !0)
2388
- ])) : e.showClear && Pe.value ? (k(), i(Y, {
2389
+ ])) : e.showClear && Pe.value ? (O(), i(Y, {
2389
2390
  key: 2,
2390
2391
  class: "pv-text-brand",
2391
2392
  disabled: e.disabled,
@@ -2428,14 +2429,19 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2428
2429
  type: Boolean,
2429
2430
  default: !1
2430
2431
  },
2431
- indeterminate: {
2432
+ focusActionDisabled: {
2432
2433
  type: Boolean,
2433
2434
  default: !1
2434
2435
  },
2436
+ focusActionLabel: { type: String },
2435
2437
  focusText: {
2436
2438
  default: "Focus",
2437
2439
  type: String
2438
2440
  },
2441
+ indeterminate: {
2442
+ type: Boolean,
2443
+ default: !1
2444
+ },
2439
2445
  isFocused: {
2440
2446
  type: Boolean,
2441
2447
  default: !1
@@ -2466,7 +2472,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2466
2472
  },
2467
2473
  emits: ["focus-value", "toggle-value"],
2468
2474
  setup(e, { emit: t }) {
2469
- let n = e, c = t, u = B(), d = r(() => n.resultCount !== null && n.resultCount !== void 0 && n.resultCount !== ""), f = r(() => !n.renderer && (d.value || !!u["result-count"])), p = r(() => ({ "--pv-filter-panel-option-row-depth": String(n.depth) })), m = r(() => ({
2475
+ let n = e, c = t, d = V(), f = r(() => n.resultCount !== null && n.resultCount !== void 0 && n.resultCount !== ""), p = r(() => n.focusActionLabel ?? (n.isFocused ? `Remove ${n.focusText}` : `Select as ${n.focusText}`)), m = r(() => !n.renderer && (f.value || !!d["result-count"])), h = r(() => ({ "--pv-filter-panel-option-row-depth": String(n.depth) })), g = r(() => ({
2470
2476
  disabled: n.disabled,
2471
2477
  highlightSearchText: !0,
2472
2478
  id: n.value,
@@ -2480,19 +2486,19 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2480
2486
  subduedText: n.subduedText,
2481
2487
  text: n.label,
2482
2488
  value: n.value
2483
- })), h = (e) => {
2489
+ })), _ = (e) => {
2484
2490
  n.disabled || c("toggle-value", n.value, e === !0);
2485
- }, g = (e) => {
2486
- h(e.target.checked);
2487
- }, _ = () => {
2488
- n.disabled || c("focus-value", n.value);
2491
+ }, y = (e) => {
2492
+ _(e.target.checked);
2493
+ }, C = () => {
2494
+ n.disabled || n.focusActionDisabled || c("focus-value", n.value);
2489
2495
  };
2490
- return (t, n) => (k(), o("label", {
2496
+ return (t, n) => (O(), o("label", {
2491
2497
  class: b(["pv-filter-panel-option-row pv-flex", { "pv-filter-panel-option-row-disabled": e.disabled }]),
2492
2498
  "data-testid": "pv-filter-panel-option-row",
2493
- style: S(p.value)
2499
+ style: S(h.value)
2494
2500
  }, [
2495
- e.control === "radio" ? (k(), o("input", {
2501
+ e.control === "radio" ? (O(), o("input", {
2496
2502
  key: 0,
2497
2503
  class: "pv-radio",
2498
2504
  type: "radio",
@@ -2500,42 +2506,52 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2500
2506
  checked: e.selected,
2501
2507
  disabled: e.disabled,
2502
2508
  name: e.name,
2503
- onChange: g
2504
- }, null, 40, Ur)) : (k(), i(Tr, {
2509
+ onChange: y
2510
+ }, null, 40, Ur)) : (O(), i(Tr, {
2505
2511
  key: 1,
2506
2512
  ariaLabel: e.ariaLabel || e.label,
2507
2513
  disabled: e.disabled,
2508
2514
  indeterminate: e.indeterminate,
2509
2515
  modelValue: e.selected,
2510
- "onUpdate:modelValue": h
2516
+ "onUpdate:modelValue": _
2511
2517
  }, null, 8, [
2512
2518
  "ariaLabel",
2513
2519
  "disabled",
2514
2520
  "indeterminate",
2515
2521
  "modelValue"
2516
2522
  ])),
2517
- e.renderer ? (k(), i(P(e.renderer), x(v({ key: 2 }, m.value)), null, 16)) : (k(), o("span", Wr, [
2523
+ e.renderer ? (O(), i(P(e.renderer), x(v({ key: 2 }, g.value)), null, 16)) : (O(), o("span", Wr, [
2518
2524
  s("span", Gr, L(e.label), 1),
2519
- e.subduedText ? (k(), o("span", Kr, L(e.subduedText), 1)) : a("v-if", !0),
2520
- e.subText ? (k(), o("span", qr, L(e.subText), 1)) : a("v-if", !0)
2525
+ e.subduedText ? (O(), o("span", Kr, L(e.subduedText), 1)) : a("v-if", !0),
2526
+ e.subText ? (O(), o("span", qr, L(e.subText), 1)) : a("v-if", !0)
2521
2527
  ])),
2522
- f.value ? (k(), o("span", Jr, [ee(t.$slots, "result-count", {}, () => [l("(" + L(e.resultCount) + ")", 1)], !0)])) : a("v-if", !0),
2523
- e.showFocusAction ? (k(), i(Y, {
2528
+ m.value ? (O(), o("span", Jr, [N(t.$slots, "result-count", {}, () => [l("(" + L(e.resultCount) + ")", 1)], !0)])) : a("v-if", !0),
2529
+ e.showFocusAction ? (O(), o("div", {
2524
2530
  key: 5,
2525
- ariaLabel: e.isFocused ? `Remove ${e.focusText}` : `Select as ${e.focusText}`,
2526
- disabled: e.disabled,
2527
- leftIcon: "focus",
2528
- size: "md",
2529
- variant: e.isFocused ? "primary" : "ghost",
2530
- onClick: le(_, ["stop", "prevent"])
2531
- }, null, 8, [
2532
- "ariaLabel",
2533
- "disabled",
2534
- "variant"
2535
- ])) : a("v-if", !0)
2531
+ class: b(["pv-filter-panel-option-row-focus-action", { "pv-filter-panel-option-row-focus-action-always-visible": e.isFocused }]),
2532
+ "data-testid": "pv-filter-panel-option-row-focus-action"
2533
+ }, [u(yr, {
2534
+ description: p.value,
2535
+ position: "top-right",
2536
+ size: "sm"
2537
+ }, {
2538
+ trigger: U(() => [u(Y, {
2539
+ ariaLabel: p.value,
2540
+ disabled: e.disabled || e.focusActionDisabled,
2541
+ leftIcon: "focus",
2542
+ size: "md",
2543
+ variant: e.isFocused ? "primary" : "ghost",
2544
+ onClick: le(C, ["stop", "prevent"])
2545
+ }, null, 8, [
2546
+ "ariaLabel",
2547
+ "disabled",
2548
+ "variant"
2549
+ ])]),
2550
+ _: 1
2551
+ }, 8, ["description"])], 2)) : a("v-if", !0)
2536
2552
  ], 6));
2537
2553
  }
2538
- }), [["styles", [".pv-filter-panel-option-row[data-v-d5f24abf]{--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-d5f24abf]{--flex-align:stretch;--flex-gap:0;flex:auto;min-width:0}.pv-filter-panel-option-row-disabled[data-v-d5f24abf]{cursor:not-allowed;opacity:.6}.pv-filter-panel-option-row-line[data-v-d5f24abf]{--lines:1}.pv-filter-panel-option-row-right[data-v-d5f24abf]{text-align:right;flex:none}"]], ["__scopeId", "data-v-d5f24abf"]]), Xr = [
2554
+ }), [["styles", [".pv-filter-panel-option-row[data-v-b85834dc]{--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-b85834dc]{--flex-align:stretch;--flex-gap:0;flex:auto;min-width:0}.pv-filter-panel-option-row-disabled[data-v-b85834dc]{cursor:not-allowed;opacity:.6}.pv-filter-panel-option-row-line[data-v-b85834dc]{--lines:1}.pv-filter-panel-option-row-right[data-v-b85834dc]{text-align:right;flex:none}.pv-filter-panel-option-row-focus-action[data-v-b85834dc]{opacity:0;pointer-events:none}.pv-filter-panel-option-row:hover .pv-filter-panel-option-row-focus-action[data-v-b85834dc],.pv-filter-panel-option-row:focus-within .pv-filter-panel-option-row-focus-action[data-v-b85834dc],.pv-filter-panel-option-row-focus-action-always-visible[data-v-b85834dc]{opacity:1;pointer-events:auto}"]], ["__scopeId", "data-v-b85834dc"]]), Xr = [
2539
2555
  "totalCount",
2540
2556
  "total_count",
2541
2557
  "resultCount",
@@ -2986,22 +3002,22 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
2986
3002
  "search-change"
2987
3003
  ],
2988
3004
  setup(e, { emit: n }) {
2989
- let c = e, d = n, f = M(null), p = M({}), m = M(0), h = ne(), g = M(c.filter.searchQuery ?? ""), _ = M(va), y = r(() => c.filter.existsLabel ?? `Has ${c.filter.label}`), b = r(() => c.filter.valueLabels?.false ?? "No"), C = r(() => c.filter.options ?? []), w = r(() => [...c.filter.knownOptions ?? [], ...C.value]), T = r(() => c.filter.type ?? "value"), E = r(() => T.value === "value"), D = r(() => E.value && c.filter.isAggregate === !0), O = r(() => c.filter.aggregateSelectionState ?? []), A = r(() => g.value.trim().toLowerCase()), j = r(() => c.filter.selectedValues ?? []), ee = r(() => new Set(j.value)), F = r(() => c.filter.valueLabels?.true ?? "Yes"), I = r(() => c.filter.filterOptionsSortDescription || "Suggested"), R = r(() => c.filter.disabled === !0 || c.disableWhileLoading && c.filter.isLoading === !0), te = r(() => {
3005
+ let c = e, d = n, f = j(null), p = j({}), m = j(0), h = te(), g = j(c.filter.searchQuery ?? ""), _ = j(va), y = r(() => c.filter.existsLabel ?? `Has ${c.filter.label}`), b = r(() => c.filter.valueLabels?.false ?? "No"), C = r(() => c.filter.options ?? []), w = r(() => c.filter.focusText ?? "Focus"), T = r(() => [...c.filter.knownOptions ?? [], ...C.value]), E = r(() => c.filter.type ?? "value"), ee = r(() => E.value === "value"), D = r(() => ee.value && c.filter.isAggregate === !0), k = r(() => c.filter.aggregateSelectionState ?? []), A = r(() => g.value.trim().toLowerCase()), N = r(() => c.filter.selectedValues ?? []), F = r(() => new Set(N.value)), I = r(() => c.filter.valueLabels?.true ?? "Yes"), R = r(() => c.filter.filterOptionsSortDescription || "Suggested"), B = r(() => c.filter.disabled === !0 || c.disableWhileLoading && c.filter.isLoading === !0), ne = r(() => {
2990
3006
  let e = c.filter.valueLabels, t = typeof e?.true == "string", n = typeof e?.false == "string";
2991
3007
  return t && !n ? [{
2992
- label: F.value,
3008
+ label: I.value,
2993
3009
  value: !0
2994
3010
  }] : n && !t ? [{
2995
3011
  label: b.value,
2996
3012
  value: !1
2997
3013
  }] : [{
2998
- label: F.value,
3014
+ label: I.value,
2999
3015
  value: !0
3000
3016
  }, {
3001
3017
  label: b.value,
3002
3018
  value: !1
3003
3019
  }];
3004
- }), re = (e) => {
3020
+ }), V = (e) => {
3005
3021
  let t = typeof e.metadata == "object" && e.metadata !== null ? Object.values(e.metadata) : [];
3006
3022
  return [
3007
3023
  e.value,
@@ -3011,7 +3027,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3011
3027
  e.matchedValue,
3012
3028
  e.matchedField
3013
3029
  ].concat(t.flatMap((e) => e == null ? [] : [String(e)])).filter((e) => !!e).join(" ").toLowerCase();
3014
- }, B = r(() => T.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 : T.value === "boolean" ? c.filter.booleanValue !== null && c.filter.booleanValue !== void 0 ? 1 : void 0 : T.value === "exists" ? c.filter.existsValue ? 1 : void 0 : D.value ? Yi(O.value) || void 0 : j.value.length || void 0), ie = (e) => e.totalChildCount === null || e.totalChildCount === void 0 ? !1 : e.totalChildCount > (e.children?.length ?? 0), ae = (e, t = 0) => e.flatMap((e) => [
3030
+ }, re = r(() => E.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 : E.value === "boolean" ? c.filter.booleanValue !== null && c.filter.booleanValue !== void 0 ? 1 : void 0 : E.value === "exists" ? c.filter.existsValue ? 1 : void 0 : D.value ? Yi(k.value) || void 0 : N.value.length || void 0), ie = (e) => e.totalChildCount === null || e.totalChildCount === void 0 ? !1 : e.totalChildCount > (e.children?.length ?? 0), ae = (e, t = 0) => e.flatMap((e) => [
3015
3031
  {
3016
3032
  depth: t,
3017
3033
  kind: "option",
@@ -3023,146 +3039,152 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3023
3039
  kind: "child-load-more",
3024
3040
  parent: e
3025
3041
  }] : []
3026
- ]), V = r(() => {
3042
+ ]), oe = r(() => {
3027
3043
  let e = ae(C.value), t = A.value;
3028
- return c.filter.clientFiltering === !1 || !t ? e : e.filter((e) => e.kind === "option" && re(e.option).includes(t));
3029
- }), oe = r(() => D.value || c.filter.singleSelect ? [] : j.value.map((e) => p.value[e] ?? {
3044
+ return c.filter.clientFiltering === !1 || !t ? e : e.filter((e) => e.kind === "option" && V(e.option).includes(t));
3045
+ }), ce = r(() => D.value || c.filter.singleSelect ? [] : N.value.map((e) => p.value[e] ?? {
3030
3046
  label: e,
3031
3047
  value: e
3032
- })), ce = M([]), W = r(() => new Set(ce.value)), le = r(() => ce.value.map((e) => p.value[e] ?? {
3048
+ })), W = j([]), le = r(() => new Set(W.value)), ue = r(() => W.value.map((e) => p.value[e] ?? {
3033
3049
  label: e,
3034
3050
  value: e
3035
- })), ue = r(() => C.value.length > 0 || le.value.length > 0), de = r(() => E.value && c.filter.isOpen && c.filter.isLoading === !0 && ue.value), G = () => {
3036
- ce.value = D.value || c.filter.singleSelect ? [] : [...j.value];
3051
+ })), de = r(() => C.value.length > 0 || ue.value.length > 0), G = r(() => ee.value && c.filter.isOpen && c.filter.isLoading === !0 && de.value), K = () => {
3052
+ W.value = D.value || c.filter.singleSelect ? [] : [...N.value];
3037
3053
  };
3038
- G();
3039
- let K = r(() => D.value || c.filter.singleSelect ? V.value : V.value.filter((e) => e.kind === "child-load-more" || !W.value.has(e.option.value))), fe = r(() => K.value.length > _.value), pe = r(() => fe.value || c.filter.hasMore), me = r(() => K.value.slice(0, _.value)), q = r(() => D.value ? Ki({
3040
- options: w.value,
3041
- state: O.value
3042
- }) : /* @__PURE__ */ new Map()), J = (e) => ai(e, c.filter.colDef), ge = (e) => oi(e), _e = (e) => D.value ? q.value.get(e.value) ?? {
3054
+ K();
3055
+ let fe = r(() => D.value || c.filter.singleSelect ? oe.value : oe.value.filter((e) => e.kind === "child-load-more" || !le.value.has(e.option.value))), pe = r(() => fe.value.length > _.value), me = r(() => pe.value || c.filter.hasMore), q = r(() => fe.value.slice(0, _.value)), J = r(() => D.value ? Ki({
3056
+ options: T.value,
3057
+ state: k.value
3058
+ }) : /* @__PURE__ */ new Map()), ge = (e) => ai(e, c.filter.colDef), _e = (e) => oi(e), ve = (e) => D.value ? J.value.get(e.value) ?? {
3043
3059
  indeterminate: !1,
3044
3060
  selected: !1
3045
3061
  } : {
3046
3062
  indeterminate: !1,
3047
- selected: ee.value.has(e.value)
3048
- }, ve = (e) => _e(e).selected, ye = (e) => _e(e).indeterminate, xe = (e) => pi(e) ?? e.value, Se = (e) => mi(e, c.filter.key), Ce = (e) => {
3049
- let t = Se(e), n = xe(e);
3063
+ selected: F.value.has(e.value)
3064
+ }, ye = (e) => ve(e).selected, xe = (e) => ve(e).indeterminate, Se = (e) => pi(e) ?? e.value, Ce = (e) => mi(e, c.filter.key), Te = (e) => {
3065
+ let t = Ce(e), n = Se(e);
3050
3066
  return c.filter.focusedValuesByField?.[t]?.includes(n) || t === c.filter.key && c.filter.focusedValues?.includes(e.value) || !1;
3051
- }, Te = (e) => ({
3067
+ }, Ee = (e) => {
3068
+ let t = c.filter.focusableFields ?? [];
3069
+ return !t.length || t.includes(Ce(e));
3070
+ }, De = (e) => !Ee(e) || Te(e) && c.filter.canRemoveFocus === !1, Oe = (e) => {
3071
+ let t = Ce(e);
3072
+ return Ee(e) ? Te(e) && c.filter.canRemoveFocus === !1 ? `${w.value} (required)` : Te(e) ? `Remove ${w.value}` : `Select as ${w.value}` : `Group by ${c.filter.focusFieldLabels?.[t] ?? t} to enable ${w.value}`;
3073
+ }, X = (e) => ({
3052
3074
  ...e.menuOption ?? {},
3053
- children: e.children?.map(Te),
3075
+ children: e.children?.map(X),
3054
3076
  context: e,
3055
- disabled: R.value || e.isSelectable === !1 || e.menuOption?.disabled,
3077
+ disabled: B.value || e.isSelectable === !1 || e.menuOption?.disabled,
3056
3078
  id: e.value,
3057
- searchText: re(e),
3058
- secondaryText: ge(e),
3079
+ searchText: V(e),
3080
+ secondaryText: _e(e),
3059
3081
  subText: e.subText,
3060
3082
  subduedText: e.subduedText,
3061
- text: J(e),
3083
+ text: ge(e),
3062
3084
  totalChildCount: e.totalChildCount
3063
- }), Ee = r(() => C.value.map(Te)), De = r(() => oe.value.map(Te)), Oe = r(() => ({
3085
+ }), ke = r(() => C.value.map(X)), Ae = r(() => ce.value.map(X)), je = r(() => ({
3064
3086
  colDef: c.filter.colDef,
3065
- disabled: R.value,
3087
+ disabled: B.value,
3066
3088
  filter: c.filter,
3067
3089
  isLoading: c.filter.isLoading,
3068
3090
  isOpen: c.filter.isOpen,
3069
- options: Ee.value,
3091
+ options: ke.value,
3070
3092
  searchInput: g.value,
3071
- selectedItems: De.value,
3093
+ selectedItems: Ae.value,
3072
3094
  slotContext: {
3073
3095
  colDef: c.filter.colDef,
3074
3096
  rowsLoading: c.filter.isLoading
3075
3097
  }
3076
- })), X = () => {
3077
- R.value || (fe.value ? _.value += va : c.filter.hasMore && d("load-more", g.value.trim()));
3078
- }, ke = (e) => {
3079
- R.value || d("load-more", g.value.trim(), e.value);
3080
- }, Ae = (e) => {
3098
+ })), Me = () => {
3099
+ B.value || (pe.value ? _.value += va : c.filter.hasMore && d("load-more", g.value.trim()));
3100
+ }, Ne = (e) => {
3101
+ B.value || d("load-more", g.value.trim(), e.value);
3102
+ }, Pe = (e) => {
3081
3103
  let t = e.target;
3082
3104
  d("open-change", t.open);
3083
- }, je = (e) => {
3084
- R.value || d("filter-change", {
3105
+ }, Fe = (e) => {
3106
+ B.value || d("filter-change", {
3085
3107
  type: "boolean",
3086
3108
  value: e
3087
3109
  });
3088
- }, Me = (e) => {
3089
- R.value || d("filter-change", {
3110
+ }, Ie = (e) => {
3111
+ B.value || d("filter-change", {
3090
3112
  type: "exists",
3091
3113
  value: e === !0
3092
3114
  });
3093
- }, Ne = (e) => {
3094
- R.value || d("filter-change", {
3115
+ }, Le = (e) => {
3116
+ B.value || d("filter-change", {
3095
3117
  type: "range",
3096
3118
  value: e
3097
3119
  });
3098
- }, Pe = (e, t) => {
3099
- if (!R.value) {
3120
+ }, Re = (e, t) => {
3121
+ if (!B.value) {
3100
3122
  if (D.value) {
3101
3123
  d("filter-change", {
3102
3124
  type: "aggregate-selection",
3103
3125
  value: Wi({
3104
3126
  checked: t,
3105
3127
  option: e,
3106
- options: w.value,
3107
- state: O.value
3128
+ options: T.value,
3129
+ state: k.value
3108
3130
  })
3109
3131
  });
3110
3132
  return;
3111
3133
  }
3112
3134
  d("filter-change", {
3113
3135
  checked: t,
3114
- field: Se(e),
3136
+ field: Ce(e),
3115
3137
  type: "value",
3116
- value: xe(e)
3138
+ value: Se(e)
3117
3139
  });
3118
3140
  }
3119
- }, Fe = (e) => {
3120
- R.value || d("focus-change", Se(e), xe(e), e);
3121
- }, Ie = (e, t) => {
3122
- R.value || d("filter-change", {
3141
+ }, ze = (e) => {
3142
+ B.value || De(e) || d("focus-change", Ce(e), Se(e), e);
3143
+ }, Be = (e, t) => {
3144
+ B.value || d("filter-change", {
3123
3145
  field: e,
3124
3146
  type: "boolean",
3125
3147
  value: t ? null : !0
3126
3148
  });
3127
- }, Le = () => {
3128
- R.value || d("handle-settings-icon", c.filter.key, c.filter.colDef);
3149
+ }, Ve = () => {
3150
+ B.value || d("handle-settings-icon", c.filter.key, c.filter.colDef);
3129
3151
  };
3130
3152
  H([g, () => c.filter.key], () => {
3131
3153
  _.value = va;
3132
3154
  });
3133
- let Re = () => {
3134
- let e = hi(w.value), t = { ...p.value }, n = new Map(Object.entries(t));
3155
+ let He = () => {
3156
+ let e = hi(T.value), t = { ...p.value }, n = new Map(Object.entries(t));
3135
3157
  for (let t of e) n.delete(t.value), n.set(t.value, t);
3136
3158
  p.value = Object.fromEntries([...n.entries()].slice(Math.max(0, n.size - ya)));
3137
3159
  };
3138
- H(w, () => {
3139
- c.filter.isOpen && Re();
3160
+ H(T, () => {
3161
+ c.filter.isOpen && He();
3140
3162
  }, { immediate: !0 });
3141
- let ze = () => {
3163
+ let Ue = () => {
3142
3164
  !c.filter.isOpen || !f.value || (m.value = Math.max(m.value, f.value.offsetHeight));
3143
3165
  };
3144
3166
  return H(() => c.filter.isLoading === !0, (e) => {
3145
- e ? ze() : m.value = 0;
3167
+ e ? Ue() : m.value = 0;
3146
3168
  }), H(C, () => {
3147
- c.filter.isLoading && ze();
3169
+ c.filter.isLoading && Ue();
3148
3170
  }), H(() => c.filter.isOpen, (e) => {
3149
- e ? (Re(), G()) : (p.value = {}, m.value = 0);
3171
+ e ? (He(), K()) : (p.value = {}, m.value = 0);
3150
3172
  }), se(() => {
3151
3173
  if (!c.filter.isOpen || D.value || c.filter.singleSelect) return;
3152
- let e = new Set(me.value.flatMap((e) => e.kind === "option" ? [e.option.value] : [])), t = j.value.filter((t) => !W.value.has(t) && !e.has(t));
3153
- t.length && (ce.value = [...ce.value, ...t]);
3174
+ let e = new Set(q.value.flatMap((e) => e.kind === "option" ? [e.option.value] : [])), t = N.value.filter((t) => !le.value.has(t) && !e.has(t));
3175
+ t.length && (W.value = [...W.value, ...t]);
3154
3176
  }), Je(g, (e) => {
3155
- if (!E.value || c.filter.disabled === !0) return;
3177
+ if (!ee.value || c.filter.disabled === !0) return;
3156
3178
  let t = e.trim();
3157
3179
  t !== (c.filter.searchQuery ?? "").trim() && d("search-change", t);
3158
3180
  }, {
3159
3181
  debounce: 300,
3160
3182
  maxWait: 1e3
3161
- }), (n, r) => (k(), o("details", {
3183
+ }), (n, r) => (O(), o("details", {
3162
3184
  class: "pv-accordion",
3163
3185
  "data-testid": "pv-filter-panel-accordion",
3164
3186
  open: e.filter.isOpen,
3165
- onToggle: Ae
3187
+ onToggle: Pe
3166
3188
  }, [s("summary", Zi, [
3167
3189
  u(be, {
3168
3190
  "aria-hidden": "true",
@@ -3170,13 +3192,13 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3170
3192
  name: e.filter.isOpen ? "chevron-down" : "chevron-right"
3171
3193
  }, null, 8, ["name"]),
3172
3194
  s("span", null, L(e.filter.label), 1),
3173
- B.value ? (k(), i(we, {
3195
+ re.value ? (O(), i(we, {
3174
3196
  key: 0,
3175
- value: B.value,
3197
+ value: re.value,
3176
3198
  size: "sm",
3177
3199
  variant: "secondary"
3178
3200
  }, null, 8, ["value"])) : a("v-if", !0),
3179
- de.value ? (k(), o("span", Qi, [u(he, { size: "sm" }), s("span", $i, L(e.filter.loadingText || `Updating ${e.filter.label} options`), 1)])) : a("v-if", !0)
3201
+ G.value ? (O(), o("span", Qi, [u(he, { size: "sm" }), s("span", $i, L(e.filter.loadingText || `Updating ${e.filter.label} options`), 1)])) : a("v-if", !0)
3180
3202
  ]), s("div", {
3181
3203
  ref_key: "filterContent",
3182
3204
  ref: f,
@@ -3186,32 +3208,32 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3186
3208
  "--flex-align": "stretch",
3187
3209
  minHeight: m.value ? `${m.value}px` : void 0
3188
3210
  })
3189
- }, [E.value ? (k(), o(t, { key: 0 }, [
3190
- e.filter.filterGroupOptions?.length || e.filter.displayPreferencesIcon || e.filter.filterHeaderRenderer ? (k(), o("div", ta, [
3191
- e.filter.filterGroupOptions?.length ? (k(), o("div", na, [(k(!0), o(t, null, N(e.filter.filterGroupOptions, (e) => (k(), i(Y, {
3211
+ }, [ee.value ? (O(), o(t, { key: 0 }, [
3212
+ e.filter.filterGroupOptions?.length || e.filter.displayPreferencesIcon || e.filter.filterHeaderRenderer ? (O(), o("div", ta, [
3213
+ e.filter.filterGroupOptions?.length ? (O(), o("div", na, [(O(!0), o(t, null, M(e.filter.filterGroupOptions, (e) => (O(), i(Y, {
3192
3214
  key: e.field,
3193
- disabled: R.value,
3215
+ disabled: B.value,
3194
3216
  label: e.label,
3195
3217
  size: "md",
3196
3218
  variant: e.isActive ? "primary" : "secondary",
3197
- onClick: (t) => Ie(e.field, e.isActive)
3219
+ onClick: (t) => Be(e.field, e.isActive)
3198
3220
  }, null, 8, [
3199
3221
  "disabled",
3200
3222
  "label",
3201
3223
  "variant",
3202
3224
  "onClick"
3203
3225
  ]))), 128))])) : a("v-if", !0),
3204
- e.filter.displayPreferencesIcon ? (k(), o("div", ra, [u(Y, {
3226
+ e.filter.displayPreferencesIcon ? (O(), o("div", ra, [u(Y, {
3205
3227
  ariaLabel: "Open preferences",
3206
- disabled: R.value,
3228
+ disabled: B.value,
3207
3229
  leftIcon: "sliders-horizontal",
3208
3230
  size: "md",
3209
3231
  variant: "ghost",
3210
- onClick: Le
3232
+ onClick: Ve
3211
3233
  }, null, 8, ["disabled"])])) : a("v-if", !0),
3212
- e.filter.filterHeaderRenderer ? (k(), i(P(e.filter.filterHeaderRenderer), x(v({ key: 2 }, Oe.value)), null, 16)) : a("v-if", !0)
3234
+ e.filter.filterHeaderRenderer ? (O(), i(P(e.filter.filterHeaderRenderer), x(v({ key: 2 }, je.value)), null, 16)) : a("v-if", !0)
3213
3235
  ])) : a("v-if", !0),
3214
- e.filter.hideSearch ? a("v-if", !0) : (k(), i(pt, {
3236
+ e.filter.hideSearch ? a("v-if", !0) : (O(), i(pt, {
3215
3237
  key: 1,
3216
3238
  modelValue: g.value,
3217
3239
  "onUpdate:modelValue": r[0] ||= (e) => g.value = e,
@@ -3223,28 +3245,32 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3223
3245
  "disabled",
3224
3246
  "placeholder"
3225
3247
  ])),
3226
- le.value.length ? (k(), o("div", ia, [(k(!0), o(t, null, N(le.value, (t) => (k(), i(Yr, {
3248
+ ue.value.length ? (O(), o("div", ia, [(O(!0), o(t, null, M(ue.value, (t) => (O(), i(Yr, {
3227
3249
  key: t.value,
3228
3250
  control: e.filter.singleSelect ? "radio" : "checkbox",
3229
- disabled: R.value || t.isSelectable === !1,
3251
+ disabled: B.value || t.isSelectable === !1,
3252
+ "focus-action-disabled": De(t),
3253
+ "focus-action-label": Oe(t),
3230
3254
  "focus-text": e.filter.focusText,
3231
- "is-focused": Ce(t),
3232
- indeterminate: ye(t),
3233
- label: J(t),
3255
+ "is-focused": Te(t),
3256
+ indeterminate: xe(t),
3257
+ label: ge(t),
3234
3258
  name: z(h),
3235
3259
  "query-text": g.value,
3236
3260
  renderer: e.filter.filterOptionsRenderer,
3237
- "result-count": ge(t),
3238
- selected: ve(t),
3261
+ "result-count": _e(t),
3262
+ selected: ye(t),
3239
3263
  "show-focus-action": e.filter.isFocusable,
3240
3264
  "sub-text": t.subText,
3241
3265
  "subdued-text": t.subduedText,
3242
3266
  value: t.value,
3243
- onFocusValue: () => Fe(t),
3244
- onToggleValue: (e, n) => Pe(t, n)
3267
+ onFocusValue: () => ze(t),
3268
+ onToggleValue: (e, n) => Re(t, n)
3245
3269
  }, null, 8, [
3246
3270
  "control",
3247
3271
  "disabled",
3272
+ "focus-action-disabled",
3273
+ "focus-action-label",
3248
3274
  "focus-text",
3249
3275
  "is-focused",
3250
3276
  "indeterminate",
@@ -3261,10 +3287,10 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3261
3287
  "onFocusValue",
3262
3288
  "onToggleValue"
3263
3289
  ]))), 128))])) : a("v-if", !0),
3264
- e.filter.isLoading && !ue.value ? (k(), o("div", aa, [u(he, { size: "sm" }), e.filter.loadingText ? (k(), o("span", oa, L(e.filter.loadingText), 1)) : a("v-if", !0)])) : (k(), o(t, { key: 4 }, [
3265
- !A.value && !C.value.length && !le.value.length && !pe.value ? (k(), o(t, { key: 0 }, [e.filter.emptyResultsRenderer ? (k(), i(P(e.filter.emptyResultsRenderer), v({ key: 0 }, Oe.value, { "empty-reason": "no-values" }), null, 16)) : (k(), o("p", sa, "No values available."))], 64)) : !V.value.length && !le.value.length && !pe.value ? (k(), o(t, { key: 1 }, [e.filter.emptyResultsRenderer ? (k(), i(P(e.filter.emptyResultsRenderer), v({ key: 0 }, Oe.value, { "empty-reason": "no-matches" }), null, 16)) : (k(), o("p", ca, "No matching values."))], 64)) : a("v-if", !0),
3266
- K.value.length || pe.value ? (k(), o("div", la, [
3267
- K.value.length && !e.filter.hideOptionsSortDescription ? (k(), o("div", ua, [e.filter.filterOptionsSortTooltip ? (k(), i(yr, {
3290
+ e.filter.isLoading && !de.value ? (O(), o("div", aa, [u(he, { size: "sm" }), e.filter.loadingText ? (O(), o("span", oa, L(e.filter.loadingText), 1)) : a("v-if", !0)])) : (O(), o(t, { key: 4 }, [
3291
+ !A.value && !C.value.length && !ue.value.length && !me.value ? (O(), o(t, { key: 0 }, [e.filter.emptyResultsRenderer ? (O(), i(P(e.filter.emptyResultsRenderer), v({ key: 0 }, je.value, { "empty-reason": "no-values" }), null, 16)) : (O(), o("p", sa, "No values available."))], 64)) : !oe.value.length && !ue.value.length && !me.value ? (O(), o(t, { key: 1 }, [e.filter.emptyResultsRenderer ? (O(), i(P(e.filter.emptyResultsRenderer), v({ key: 0 }, je.value, { "empty-reason": "no-matches" }), null, 16)) : (O(), o("p", ca, "No matching values."))], 64)) : a("v-if", !0),
3292
+ fe.value.length || me.value ? (O(), o("div", la, [
3293
+ fe.value.length && !e.filter.hideOptionsSortDescription ? (O(), o("div", ua, [e.filter.filterOptionsSortTooltip ? (O(), i(yr, {
3268
3294
  key: 0,
3269
3295
  variant: "dark",
3270
3296
  disableInteractive: !0,
@@ -3273,34 +3299,38 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3273
3299
  "use-teleport": !0,
3274
3300
  style: { "--max-width": "200px" }
3275
3301
  }, {
3276
- trigger: U(() => [s("p", da, L(I.value), 1)]),
3302
+ trigger: U(() => [s("p", da, L(R.value), 1)]),
3277
3303
  content: U(() => [l(L(e.filter.filterOptionsSortTooltip), 1)]),
3278
3304
  _: 1
3279
- })) : (k(), o("p", fa, L(I.value), 1))])) : a("v-if", !0),
3280
- (k(!0), o(t, null, N(me.value, (n) => (k(), o(t, { key: n.kind === "option" ? n.option.value : `${n.parent.value}-children-more` }, [n.kind === "option" ? (k(), i(Yr, {
3305
+ })) : (O(), o("p", fa, L(R.value), 1))])) : a("v-if", !0),
3306
+ (O(!0), o(t, null, M(q.value, (n) => (O(), o(t, { key: n.kind === "option" ? n.option.value : `${n.parent.value}-children-more` }, [n.kind === "option" ? (O(), i(Yr, {
3281
3307
  key: 0,
3282
3308
  control: e.filter.singleSelect ? "radio" : "checkbox",
3283
3309
  depth: n.depth,
3284
- disabled: R.value || n.option.isSelectable === !1,
3310
+ disabled: B.value || n.option.isSelectable === !1,
3311
+ "focus-action-disabled": De(n.option),
3312
+ "focus-action-label": Oe(n.option),
3285
3313
  "focus-text": e.filter.focusText,
3286
- "is-focused": Ce(n.option),
3287
- indeterminate: ye(n.option),
3288
- label: J(n.option),
3314
+ "is-focused": Te(n.option),
3315
+ indeterminate: xe(n.option),
3316
+ label: ge(n.option),
3289
3317
  name: z(h),
3290
3318
  "query-text": g.value,
3291
3319
  renderer: e.filter.filterOptionsRenderer,
3292
- "result-count": ge(n.option),
3293
- selected: ve(n.option),
3320
+ "result-count": _e(n.option),
3321
+ selected: ye(n.option),
3294
3322
  "show-focus-action": e.filter.isFocusable,
3295
3323
  "sub-text": n.option.subText,
3296
3324
  "subdued-text": n.option.subduedText,
3297
3325
  value: n.option.value,
3298
- onFocusValue: () => Fe(n.option),
3299
- onToggleValue: (e, t) => Pe(n.option, t)
3326
+ onFocusValue: () => ze(n.option),
3327
+ onToggleValue: (e, t) => Re(n.option, t)
3300
3328
  }, null, 8, [
3301
3329
  "control",
3302
3330
  "depth",
3303
3331
  "disabled",
3332
+ "focus-action-disabled",
3333
+ "focus-action-label",
3304
3334
  "focus-text",
3305
3335
  "is-focused",
3306
3336
  "indeterminate",
@@ -3316,40 +3346,40 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3316
3346
  "value",
3317
3347
  "onFocusValue",
3318
3348
  "onToggleValue"
3319
- ])) : (k(), i(Y, {
3349
+ ])) : (O(), i(Y, {
3320
3350
  key: 1,
3321
3351
  class: "pv-text-brand",
3322
- disabled: R.value || e.filter.isLoadingMore,
3352
+ disabled: B.value || e.filter.isLoadingMore,
3323
3353
  label: "See more",
3324
3354
  style: S({
3325
3355
  marginLeft: `${n.depth * 1.25}rem`,
3326
3356
  width: "fit-content"
3327
3357
  }),
3328
3358
  variant: "ghost",
3329
- onClick: (e) => ke(n.parent)
3359
+ onClick: (e) => Ne(n.parent)
3330
3360
  }, null, 8, [
3331
3361
  "disabled",
3332
3362
  "style",
3333
3363
  "onClick"
3334
3364
  ]))], 64))), 128)),
3335
- pe.value ? (k(), i(Y, {
3365
+ me.value ? (O(), i(Y, {
3336
3366
  key: 1,
3337
3367
  class: "pv-text-brand",
3338
- disabled: R.value || e.filter.isLoadingMore,
3368
+ disabled: B.value || e.filter.isLoadingMore,
3339
3369
  label: "See more",
3340
3370
  style: { width: "fit-content" },
3341
3371
  variant: "ghost",
3342
- onClick: X
3372
+ onClick: Me
3343
3373
  }, null, 8, ["disabled"])) : a("v-if", !0)
3344
3374
  ])) : a("v-if", !0),
3345
- e.filter.filterFooterRenderer ? (k(), i(P(e.filter.filterFooterRenderer), x(v({ key: 3 }, Oe.value)), null, 16)) : a("v-if", !0)
3375
+ e.filter.filterFooterRenderer ? (O(), i(P(e.filter.filterFooterRenderer), x(v({ key: 3 }, je.value)), null, 16)) : a("v-if", !0)
3346
3376
  ], 64))
3347
- ], 64)) : T.value === "range" && e.filter.rangeMin !== null && e.filter.rangeMax !== null ? (k(), i(Hr, {
3377
+ ], 64)) : E.value === "range" && e.filter.rangeMin !== null && e.filter.rangeMax !== null ? (O(), i(Hr, {
3348
3378
  key: 1,
3349
3379
  mode: "dual",
3350
3380
  rangeValue: e.filter.rangeValue,
3351
3381
  "data-type": e.filter.dataType,
3352
- disabled: R.value,
3382
+ disabled: B.value,
3353
3383
  "input-icon": e.filter.rangeInputIcon,
3354
3384
  label: e.filter.label,
3355
3385
  max: e.filter.rangeMax,
@@ -3358,7 +3388,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3358
3388
  "slider-step": e.filter.rangeSliderStep,
3359
3389
  step: e.filter.rangeStep,
3360
3390
  "value-decimals": e.filter.valueDecimals,
3361
- "onUpdate:rangeValue": Ne
3391
+ "onUpdate:rangeValue": Le
3362
3392
  }, null, 8, [
3363
3393
  "rangeValue",
3364
3394
  "data-type",
@@ -3371,31 +3401,31 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3371
3401
  "slider-step",
3372
3402
  "step",
3373
3403
  "value-decimals"
3374
- ])) : T.value === "range" ? (k(), o("p", pa, " Range filters require minimum and maximum bounds. ")) : T.value === "boolean" ? (k(), o("div", ma, [s("div", ha, [(k(!0), o(t, null, N(te.value, (t) => (k(), i(Y, {
3404
+ ])) : E.value === "range" ? (O(), o("p", pa, " Range filters require minimum and maximum bounds. ")) : E.value === "boolean" ? (O(), o("div", ma, [s("div", ha, [(O(!0), o(t, null, M(ne.value, (t) => (O(), i(Y, {
3375
3405
  key: String(t.value),
3376
- disabled: R.value,
3406
+ disabled: B.value,
3377
3407
  label: t.label,
3378
3408
  variant: e.filter.booleanValue === t.value ? "primary" : "secondary",
3379
- onClick: (n) => je(e.filter.booleanValue === t.value ? null : t.value)
3409
+ onClick: (n) => Fe(e.filter.booleanValue === t.value ? null : t.value)
3380
3410
  }, null, 8, [
3381
3411
  "disabled",
3382
3412
  "label",
3383
3413
  "variant",
3384
3414
  "onClick"
3385
- ]))), 128))]), e.filter.booleanValue !== null && e.filter.booleanValue !== void 0 ? (k(), i(Y, {
3415
+ ]))), 128))]), e.filter.booleanValue !== null && e.filter.booleanValue !== void 0 ? (O(), i(Y, {
3386
3416
  key: 0,
3387
3417
  class: "pv-text-brand",
3388
- disabled: R.value,
3418
+ disabled: B.value,
3389
3419
  label: "Clear",
3390
3420
  variant: "ghost",
3391
- onClick: r[1] ||= (e) => je(null)
3392
- }, null, 8, ["disabled"])) : a("v-if", !0)])) : T.value === "exists" ? (k(), o("label", ga, [u(Tr, {
3393
- disabled: R.value,
3421
+ onClick: r[1] ||= (e) => Fe(null)
3422
+ }, null, 8, ["disabled"])) : a("v-if", !0)])) : E.value === "exists" ? (O(), o("label", ga, [u(Tr, {
3423
+ disabled: B.value,
3394
3424
  modelValue: e.filter.existsValue ?? !1,
3395
- "onUpdate:modelValue": Me
3425
+ "onUpdate:modelValue": Ie
3396
3426
  }, null, 8, ["disabled", "modelValue"]), s("span", _a, L(y.value), 1)])) : a("v-if", !0)], 12, ea)], 40, Xi));
3397
3427
  }
3398
- }), [["styles", ["summary[data-v-1bc7f614]{background-image:none;padding-right:2px}[data-v-1bc7f614] .pv-input-search{background-color:#fff}.suggested-title-label[data-v-1bc7f614]{text-underline-offset:2px;text-decoration:underline dotted}.pv-filter-panel-refresh-status[data-v-1bc7f614]{margin-left:auto;display:inline-flex}"]], ["__scopeId", "data-v-1bc7f614"]]), xa = ["data-style"], Sa = /* @__PURE__ */ d({
3428
+ }), [["styles", ["summary[data-v-347ad16b]{background-image:none;padding-right:2px}[data-v-347ad16b] .pv-input-search{background-color:#fff}.suggested-title-label[data-v-347ad16b]{text-underline-offset:2px;text-decoration:underline dotted}.pv-filter-panel-refresh-status[data-v-347ad16b]{margin-left:auto;display:inline-flex}"]], ["__scopeId", "data-v-347ad16b"]]), xa = ["data-style"], Sa = /* @__PURE__ */ d({
3399
3429
  __name: "PvTag",
3400
3430
  props: {
3401
3431
  size: {
@@ -3419,10 +3449,11 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3419
3449
  let t = e, n = r(() => {
3420
3450
  switch (t.size) {
3421
3451
  case "lg": return "pv-tag-lg";
3452
+ case "xl": return "pv-tag-xl";
3422
3453
  case "sm": return "pv-tag-sm";
3423
3454
  default: return "";
3424
3455
  }
3425
- }), c = r(() => {
3456
+ }), c = r(() => t.size === "xl" ? 16 : 12), l = r(() => {
3426
3457
  switch (t.variant) {
3427
3458
  case "primary": return "pv-tag-primary";
3428
3459
  case "secondary": return "pv-tag-secondary";
@@ -3430,40 +3461,44 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3430
3461
  case "transparent": return "pv-tag-tertiary";
3431
3462
  default: return "";
3432
3463
  }
3433
- }), l = r(() => {
3464
+ }), u = r(() => {
3434
3465
  let e = {
3435
3466
  "max-width": "100%",
3436
3467
  "--flex-gap": "4px"
3437
3468
  };
3438
3469
  return t.variant === "transparent" && (e["--tag-background-color"] = "transparent"), e;
3439
3470
  });
3440
- return (t, r) => (k(), o("button", {
3471
+ return (t, r) => (O(), o("button", {
3441
3472
  class: b([
3442
- c.value,
3473
+ l.value,
3443
3474
  n.value,
3444
3475
  "pv-flex"
3445
3476
  ]),
3446
3477
  onClick: r[1] ||= (n) => t.$emit("handle-click", e.label),
3447
- style: S(l.value),
3478
+ style: S(u.value),
3448
3479
  "data-testid": "pv-tag",
3449
3480
  "data-style": e.rounded ? "rounded" : void 0
3450
3481
  }, [
3451
- e.icon ? (k(), i(be, {
3482
+ e.icon ? (O(), i(be, {
3452
3483
  key: 0,
3453
3484
  "data-testid": "pv-tag-icon",
3454
3485
  class: b(e.iconClasses),
3455
3486
  name: e.icon,
3456
- size: 12
3457
- }, null, 8, ["class", "name"])) : a("v-if", !0),
3487
+ size: c.value
3488
+ }, null, 8, [
3489
+ "class",
3490
+ "name",
3491
+ "size"
3492
+ ])) : a("v-if", !0),
3458
3493
  s("span", { class: b(["pv-truncate", { "pv-underline-dotted": e.spine }]) }, L(e.label), 3),
3459
- e.showClear ? (k(), i(be, {
3494
+ e.showClear ? (O(), i(be, {
3460
3495
  key: 1,
3461
3496
  "data-testid": "pv-tag-close-icon",
3462
- size: 12,
3497
+ size: c.value,
3463
3498
  name: "close",
3464
3499
  "data-dd-action-name": e.rumRemoveActionName,
3465
3500
  onClick: r[0] ||= le((n) => t.$emit("handle-close", e.label), ["stop"])
3466
- }, null, 8, ["data-dd-action-name"])) : a("v-if", !0)
3501
+ }, null, 8, ["size", "data-dd-action-name"])) : a("v-if", !0)
3467
3502
  ], 14, xa));
3468
3503
  }
3469
3504
  }), Ca = {
@@ -3521,7 +3556,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3521
3556
  let a = e, c = n, l = r(() => a.externalFilters.filter((e) => e.values.length > 0)), u = r(() => a.appliedCount > 0 || l.value.length > 0), d = (e) => !a.readOnly && e.removable !== !1, f = (e, t) => {
3522
3557
  c("remove-filter", t.field ?? e, t.value, t.type);
3523
3558
  };
3524
- return (n, r) => (k(), o("section", Ca, [u.value ? (k(), o("div", wa, [(k(!0), o(t, null, N(l.value, (e) => (k(), o("div", {
3559
+ return (n, r) => (O(), o("section", Ca, [u.value ? (O(), o("div", wa, [(O(!0), o(t, null, M(l.value, (e) => (O(), o("div", {
3525
3560
  key: `external-${e.key}`,
3526
3561
  class: "pv-flex-vertical pv-border-bottom",
3527
3562
  "data-testid": "pv-filter-panel-external-filter-group",
@@ -3530,7 +3565,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3530
3565
  "--flex-gap": "12px",
3531
3566
  "padding-bottom": "12px"
3532
3567
  }
3533
- }, [s("span", Ta, L(e.label), 1), s("div", Ea, [(k(!0), o(t, null, N(e.values, (t) => (k(), i(Sa, {
3568
+ }, [s("span", Ta, L(e.label), 1), s("div", Ea, [(O(!0), o(t, null, M(e.values, (t) => (O(), i(Sa, {
3534
3569
  key: `${e.key}-${t.value}`,
3535
3570
  label: t.label,
3536
3571
  showClear: d(e),
@@ -3539,7 +3574,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3539
3574
  "label",
3540
3575
  "showClear",
3541
3576
  "onHandleClose"
3542
- ]))), 128))])]))), 128)), (k(!0), o(t, null, N(e.appliedGroups, (n) => (k(), o("div", {
3577
+ ]))), 128))])]))), 128)), (O(!0), o(t, null, M(e.appliedGroups, (n) => (O(), o("div", {
3543
3578
  key: n.key,
3544
3579
  class: "pv-flex-vertical pv-border-bottom",
3545
3580
  style: {
@@ -3547,7 +3582,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3547
3582
  "--flex-gap": "12px",
3548
3583
  "padding-bottom": "12px"
3549
3584
  }
3550
- }, [s("span", Da, L(n.label), 1), s("div", Oa, [(k(!0), o(t, null, N(n.values, (t) => (k(), i(Sa, {
3585
+ }, [s("span", Da, L(n.label), 1), s("div", Oa, [(O(!0), o(t, null, M(n.values, (t) => (O(), i(Sa, {
3551
3586
  key: `${t.field ?? n.key}-${t.type ?? "value"}-${t.value}`,
3552
3587
  label: t.label,
3553
3588
  showClear: !e.readOnly,
@@ -3556,7 +3591,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3556
3591
  "label",
3557
3592
  "showClear",
3558
3593
  "onHandleClose"
3559
- ]))), 128))])]))), 128))])) : (k(), o("p", ka, "No filters applied yet."))]));
3594
+ ]))), 128))])]))), 128))])) : (O(), o("p", ka, "No filters applied yet."))]));
3560
3595
  }
3561
3596
  }), ja = { class: "pv-horizontal-scroller" }, Ma = ["aria-label"], Na = 1, Pa = /* @__PURE__ */ d({
3562
3597
  __name: "PvHorizontalScroller",
@@ -3599,7 +3634,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3599
3634
  }
3600
3635
  },
3601
3636
  setup(e) {
3602
- let t = e, n = M(!1), c = M(!1), l = M(null), u = M(null), d = null, f = !1, p = r(() => Math.max(0, t.scrollFraction)), m = () => {
3637
+ let t = e, n = j(!1), c = j(!1), l = j(null), u = j(null), d = null, f = !1, p = r(() => Math.max(0, t.scrollFraction)), m = () => {
3603
3638
  let e = u.value;
3604
3639
  if (!e) return;
3605
3640
  let t = Math.max(0, e.scrollWidth - e.clientWidth);
@@ -3619,11 +3654,11 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3619
3654
  };
3620
3655
  return T(() => {
3621
3656
  u.value?.addEventListener("scroll", m, { passive: !0 }), typeof ResizeObserver < "u" ? (d = new ResizeObserver(() => m()), h()) : (f = !0, window.addEventListener("resize", m)), g();
3622
- }), O(() => {
3657
+ }), D(() => {
3623
3658
  h(), g();
3624
3659
  }), C(() => {
3625
3660
  u.value?.removeEventListener("scroll", m), d?.disconnect(), f && window.removeEventListener("resize", m);
3626
- }), (t, r) => (k(), o("div", ja, [
3661
+ }), (t, r) => (O(), o("div", ja, [
3627
3662
  s("div", {
3628
3663
  ref_key: "scrollContainer",
3629
3664
  ref: u,
@@ -3634,11 +3669,11 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3634
3669
  ref_key: "contentContainer",
3635
3670
  ref: l,
3636
3671
  class: "pv-horizontal-scroller-content"
3637
- }, [ee(t.$slots, "default")], 512)], 10, Ma),
3672
+ }, [N(t.$slots, "default")], 512)], 10, Ma),
3638
3673
  s("div", { class: b(["pv-horizontal-scroller-control pv-horizontal-scroller-control-left", {
3639
3674
  "pv-horizontal-scroller-control-hidden": !n.value,
3640
3675
  "pv-horizontal-scroller-control-left-fade": e.showFades
3641
- }]) }, [n.value ? (k(), i(Y, {
3676
+ }]) }, [n.value ? (O(), i(Y, {
3642
3677
  key: 0,
3643
3678
  ariaLabel: e.leftAriaLabel,
3644
3679
  leftIcon: "chevron-left",
@@ -3653,7 +3688,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3653
3688
  s("div", { class: b(["pv-horizontal-scroller-control pv-horizontal-scroller-control-right", {
3654
3689
  "pv-horizontal-scroller-control-hidden": !c.value,
3655
3690
  "pv-horizontal-scroller-control-right-fade": e.showFades
3656
- }]) }, [c.value ? (k(), i(Y, {
3691
+ }]) }, [c.value ? (O(), i(Y, {
3657
3692
  key: 0,
3658
3693
  ariaLabel: e.rightAriaLabel,
3659
3694
  leftIcon: "chevron-right",
@@ -3696,7 +3731,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3696
3731
  }),
3697
3732
  emits: ["update:modelValue"],
3698
3733
  setup(e) {
3699
- let n = e, c = re(e, "modelValue"), l = r(() => {
3734
+ let n = e, c = ne(e, "modelValue"), l = r(() => {
3700
3735
  let e = /* @__PURE__ */ new Set(), t = [];
3701
3736
  for (let r of n.filters) r.category && (e.add(r.category), t.includes(r.category) || t.push(r.category));
3702
3737
  let r = (n.categoryOrder ?? []).filter((t) => e.has(t)), i = new Set(r), a = t.filter((e) => !i.has(e));
@@ -3706,7 +3741,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3706
3741
  }, f = (e) => c.value === e ? "secondary" : "ghost";
3707
3742
  return H(l, (e) => {
3708
3743
  c.value !== null && !e.includes(c.value) && (c.value = null);
3709
- }, { immediate: !0 }), (n, r) => l.value.length ? (k(), o("div", Fa, [u(Pa, {
3744
+ }, { immediate: !0 }), (n, r) => l.value.length ? (O(), o("div", Fa, [u(Pa, {
3710
3745
  ariaLabel: "Filter categories",
3711
3746
  buttonSize: "lg",
3712
3747
  buttonVariant: "ghost",
@@ -3719,7 +3754,7 @@ var fr = /* @__PURE__ */ new Set(), pr = (e, t) => {
3719
3754
  label: e.allCategoriesLabel,
3720
3755
  variant: f(null),
3721
3756
  onClick: r[0] ||= (e) => d(null)
3722
- }, null, 8, ["label", "variant"]), (k(!0), o(t, null, N(l.value, (e) => (k(), i(Y, {
3757
+ }, null, 8, ["label", "variant"]), (O(!0), o(t, null, M(l.value, (e) => (O(), i(Y, {
3723
3758
  key: e,
3724
3759
  label: e,
3725
3760
  variant: f(e),
@@ -4187,7 +4222,7 @@ var yo = (e, t, n) => {
4187
4222
  children: hs(e.children, t, n).filter((e) => !!e)
4188
4223
  } : e));
4189
4224
  }, gs = (e, t) => `${e}::${t}`, _s = () => {
4190
- let e = M(null), t = M(null), n = M(), r = M({}), i = M({}), a = M({}), o = M({}), s = M({}), c = M({}), l = M({}), u = M({}), d = M({}), f = M({}), p = M({}), m = M({}), h = M({}), g = M({}), _ = M({}), v = M(), y = M({}), b = (e) => {
4225
+ let e = j(null), t = j(null), n = j(), r = j({}), i = j({}), a = j({}), o = j({}), s = j({}), c = j({}), l = j({}), u = j({}), d = j({}), f = j({}), p = j({}), m = j({}), h = j({}), g = j({}), _ = j({}), v = j(), y = j({}), b = (e) => {
4191
4226
  v.value = e;
4192
4227
  }, x = (e) => r.value[e] ?? [], S = (e, t) => {
4193
4228
  r.value[e] = t;
@@ -4198,16 +4233,16 @@ var yo = (e, t, n) => {
4198
4233
  o.value = ds(i.value), s.value = ds(a.value);
4199
4234
  }, E = () => {
4200
4235
  o.value = {}, s.value = {};
4201
- }, D = () => {
4236
+ }, ee = () => {
4202
4237
  i.value = ds(o.value), a.value = ds(s.value), E();
4203
- }, O = (e, t) => {
4238
+ }, D = (e, t) => {
4204
4239
  c.value[e] = t;
4205
- }, k = (e, t) => {
4240
+ }, O = (e, t) => {
4206
4241
  l.value[e] = t;
4207
- }, A = (e, t) => `${t ? "append" : "initial"}::${e}`, j = (e, t) => {
4208
- let n = t ? d : u, r = A(e, t);
4242
+ }, k = (e, t) => `${t ? "append" : "initial"}::${e}`, A = (e, t) => {
4243
+ let n = t ? d : u, r = k(e, t);
4209
4244
  return y.value[r] = (y.value[r] ?? 0) + 1, n.value[e] = !0, r;
4210
- }, N = (e, t, n) => {
4245
+ }, M = (e, t, n) => {
4211
4246
  let r = t ? d : u, i = Math.max(0, (y.value[n] ?? 1) - 1);
4212
4247
  if (i > 0) {
4213
4248
  y.value[n] = i;
@@ -4217,13 +4252,13 @@ var yo = (e, t, n) => {
4217
4252
  };
4218
4253
  return {
4219
4254
  clearStagedFilterSelections: E,
4220
- commitStagedFilterSelections: D,
4255
+ commitStagedFilterSelections: ee,
4221
4256
  fetchFilterOptions: async (n) => {
4222
4257
  let o = v.value;
4223
4258
  if (!o) return [];
4224
4259
  let s = n.query ?? c.value[n.field] ?? void 0;
4225
4260
  c.value[n.field] = s;
4226
- let u = n.parentId ? ps(r.value[n.field], n.parentId) : void 0, d = n.offset ?? (n.parentId ? u?.children?.length ?? 0 : n.reason === "load-more" ? (r.value[n.field] ?? []).filter(Boolean).length : 0), y = n.reason === "load-more" || n.reason === "child-load-more", b = j(n.field, y), x = n.parentId ? gs(n.field, n.parentId) : n.field, S = (g.value[x] ?? 0) + 1;
4261
+ let u = n.parentId ? ps(r.value[n.field], n.parentId) : void 0, d = n.offset ?? (n.parentId ? u?.children?.length ?? 0 : n.reason === "load-more" ? (r.value[n.field] ?? []).filter(Boolean).length : 0), y = n.reason === "load-more" || n.reason === "child-load-more", b = A(n.field, y), x = n.parentId ? gs(n.field, n.parentId) : n.field, S = (g.value[x] ?? 0) + 1;
4227
4262
  g.value[x] = S;
4228
4263
  try {
4229
4264
  let c = await o({
@@ -4249,7 +4284,7 @@ var yo = (e, t, n) => {
4249
4284
  }
4250
4285
  return r.value[n.field] = b, _.value[n.field] = !1, b.filter((e) => !!e).map((e) => e.value);
4251
4286
  } finally {
4252
- N(n.field, y, b);
4287
+ M(n.field, y, b);
4253
4288
  }
4254
4289
  },
4255
4290
  filterChildHasMoreMap: m,
@@ -4271,10 +4306,10 @@ var yo = (e, t, n) => {
4271
4306
  getFilterOptions: x,
4272
4307
  getFilterSelectedValues: C,
4273
4308
  initStagedFilterSelections: T,
4274
- setFilterFacetSelections: k,
4309
+ setFilterFacetSelections: O,
4275
4310
  setFilterOptions: S,
4276
4311
  setFilterOptionsHandler: b,
4277
- setFilterSearchQuery: O,
4312
+ setFilterSearchQuery: D,
4278
4313
  setFilterSelectedValues: w,
4279
4314
  stagedFilterModel: t,
4280
4315
  stagedFilterSelectedMetadataMap: s,
@@ -4287,7 +4322,7 @@ var yo = (e, t, n) => {
4287
4322
  "exists"
4288
4323
  ]);
4289
4324
  function Cs(e, t, n) {
4290
- let i = p(), a = M(t.value), o = _s(), s = vs(), c = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Set(), u = F(/* @__PURE__ */ new Map()), d = r(() => !!(e.filterStore ?? s)), f = r(() => !d.value && !!e.filterOptionsHandler), m = r(() => e.filterStore ?? s ?? o), h = r(() => m.value === o), g = r(() => d.value || f.value), _ = r(() => e.filterModelType ?? m.value?.filterModelType.value), v = r(() => _.value ?? "advanced"), y = r(() => {
4325
+ let i = p(), a = j(t.value), o = _s(), s = vs(), c = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Set(), u = F(/* @__PURE__ */ new Map()), d = r(() => !!(e.filterStore ?? s)), f = r(() => !d.value && !!e.filterOptionsHandler), m = r(() => e.filterStore ?? s ?? o), h = r(() => m.value === o), g = r(() => d.value || f.value), _ = r(() => e.filterModelType ?? m.value?.filterModelType.value), v = r(() => _.value ?? "advanced"), y = r(() => {
4291
4326
  let n = m.value;
4292
4327
  return n ? e.staged ? n.stagedFilterModel.value : n.filterModel.value : e.staged ? a.value : t.value;
4293
4328
  }), b = r(() => es(y.value, v.value)), x = (e, t) => {
@@ -4374,53 +4409,53 @@ function Cs(e, t, n) {
4374
4409
  }, E = () => {
4375
4410
  let e = i?.vnode.props ?? {};
4376
4411
  return Object.prototype.hasOwnProperty.call(e, "filterModel") || Object.prototype.hasOwnProperty.call(e, "filter-model");
4377
- }, D = (e) => !!(e && typeof e == "object" && "filterType" in e), O = (e) => {
4412
+ }, ee = (e) => !!(e && typeof e == "object" && "filterType" in e), D = (e) => {
4378
4413
  if (!e) return;
4379
- let t = D(e);
4414
+ let t = ee(e);
4380
4415
  v.value === "advanced" && !t && T("regular-model-in-advanced-mode", "PvFilterPanel: produced a regular FilterModel while filterModelType is \"advanced\"."), v.value === "regular" && t && T("advanced-model-in-regular-mode", "PvFilterPanel: produced an AdvancedFilterModel while filterModelType is \"regular\".");
4381
4416
  };
4382
4417
  se(() => {
4383
4418
  w("filterModel", !!((e.filterStore || s) && t.value !== null)), w("filterOptions", Object.keys(e.filterOptions).length > 0), w("filterLoadingMap", Object.keys(e.filterLoadingMap).length > 0), w("filterLoadingMoreMap", Object.keys(e.filterLoadingMoreMap).length > 0), w("filterHasMoreMap", Object.keys(e.filterHasMoreMap).length > 0), w("filterSearchQueries", Object.keys(e.filterSearchQueries).length > 0), w("filterOptionsHandler", !!(e.filterStore && e.filterOptionsHandler));
4384
4419
  let n = !!((e.filterStore || s) && y.value !== null);
4385
- import.meta.env?.DEV && !_.value && y.value !== null && !D(y.value) && (E() || n) && T("missing-filter-model-type", "PvFilterPanel: filterModelType was not provided by props or filterStore; defaulting to \"advanced\".");
4420
+ import.meta.env?.DEV && !_.value && y.value !== null && !ee(y.value) && (E() || n) && T("missing-filter-model-type", "PvFilterPanel: filterModelType was not provided by props or filterStore; defaulting to \"advanced\".");
4386
4421
  });
4387
- let k = (e) => e.context ?? {}, A = (e) => e.colId || e.field || "", j = (e) => typeof e == "number" && Number.isFinite(e) ? e : null, N = (e) => {
4388
- let t = k(e), n = t.filterPanelType;
4422
+ let O = (e) => e.context ?? {}, k = (e) => e.colId || e.field || "", A = (e) => typeof e == "number" && Number.isFinite(e) ? e : null, M = (e) => {
4423
+ let t = O(e), n = t.filterPanelType;
4389
4424
  if (n && Ss.has(n)) return n;
4390
4425
  if (t.filterPanelRange) return "range";
4391
4426
  if (t.dataType === "boolean") return "boolean";
4392
4427
  if (e.filter) return "value";
4393
- }, ee = (e) => N(e) ?? "value", P = (e) => k(e).filterPanelCategory ?? null, I = (e) => {
4394
- let t = k(e).filterPanelValueLabels;
4428
+ }, N = (e) => M(e) ?? "value", P = (e) => O(e).filterPanelCategory ?? null, I = (e) => {
4429
+ let t = O(e).filterPanelValueLabels;
4395
4430
  return typeof t != "object" || !t || Array.isArray(t) ? null : Object.fromEntries(Object.entries(t).flatMap(([e, t]) => typeof t == "string" ? [[e, t]] : []));
4396
4431
  }, L = (t) => {
4397
- let n = k(t), r = A(t);
4398
- return !r || n.filterPanelHidden === !0 || n.devOnly && !e.devMode || e.autoHideRelatedFilterFields !== !1 && n.filterPanelHidden !== !1 && oe.value.has(r) ? !1 : !!N(t);
4432
+ let n = O(t), r = k(t);
4433
+ return !r || n.filterPanelHidden === !0 || n.devOnly && !e.devMode || e.autoHideRelatedFilterFields !== !1 && n.filterPanelHidden !== !1 && oe.value.has(r) ? !1 : !!M(t);
4399
4434
  }, R = (e) => (m.value.filterOptionsMap.value[e] ?? []).filter((e) => !!e), z = (t) => {
4400
4435
  let n = m.value;
4401
4436
  return ((e.staged ? n.stagedFilterSelectedMetadataMap : n.filterSelectedMetadataMap).value[t] ?? []).filter((e) => !!e);
4402
- }, te = (e) => m.value.filterHasMoreMap.value[e] ?? !1, ne = (e) => m.value.filterLoadingMap.value[e] ?? !1, re = (e) => m.value.filterLoadingMoreMap.value[e] ?? !1, B = (e) => m.value.filterSearchQueries.value[e] ?? "", ie = (t) => e.filterSuggestions.flatMap((e) => e.field !== t || e.filter.type !== "value" ? [] : [e.option ?? {
4437
+ }, B = (e) => m.value.filterHasMoreMap.value[e] ?? !1, te = (e) => m.value.filterLoadingMap.value[e] ?? !1, ne = (e) => m.value.filterLoadingMoreMap.value[e] ?? !1, V = (e) => m.value.filterSearchQueries.value[e] ?? "", re = (t) => e.filterSuggestions.flatMap((e) => e.field !== t || e.filter.type !== "value" ? [] : [e.option ?? {
4403
4438
  label: e.label,
4404
4439
  value: e.filter.value
4405
- }]), ae = (e) => [
4406
- ...ie(e),
4440
+ }]), ie = (e) => [
4441
+ ...re(e),
4407
4442
  ...R(e),
4408
4443
  ...z(e)
4409
- ], V = (e) => {
4444
+ ], ae = (e) => {
4410
4445
  if (typeof e != "object" || !e || !("field" in e)) return [];
4411
- let t = e, n = typeof t.field == "string" ? t.field : null, r = Array.isArray(t.children) ? t.children.flatMap(V) : [];
4446
+ let t = e, n = typeof t.field == "string" ? t.field : null, r = Array.isArray(t.children) ? t.children.flatMap(ae) : [];
4412
4447
  return n ? [n, ...r] : r;
4413
4448
  }, oe = r(() => {
4414
4449
  let t = /* @__PURE__ */ new Set();
4415
4450
  for (let n of e.colDefs) {
4416
- let e = k(n);
4451
+ let e = O(n);
4417
4452
  for (let n of Array.isArray(e.aggregateFields) ? e.aggregateFields : []) n && t.add(n);
4418
- for (let n of V(e.aggregateFieldHierarchy)) n && t.add(n);
4453
+ for (let n of ae(e.aggregateFieldHierarchy)) n && t.add(n);
4419
4454
  for (let n of e.filterGroup?.fields ?? []) n && t.add(n);
4420
4455
  }
4421
4456
  return t;
4422
4457
  }), U = (e) => {
4423
- let t = A(e), n = k(e), r = Array.isArray(n.aggregateFields) ? n.aggregateFields.filter(Boolean) : [], i = V(n.aggregateFieldHierarchy);
4458
+ let t = k(e), n = O(e), r = Array.isArray(n.aggregateFields) ? n.aggregateFields.filter(Boolean) : [], i = ae(n.aggregateFieldHierarchy);
4424
4459
  return Array.from(new Set([
4425
4460
  t,
4426
4461
  ...r,
@@ -4446,29 +4481,30 @@ function Cs(e, t, n) {
4446
4481
  a !== null && t.get(n)?.includes(a) && r.add(i.value);
4447
4482
  }
4448
4483
  return Array.from(r);
4449
- }, de = (t) => Object.fromEntries(U(t).map((t) => [t, e.focusedValues[t] ?? []])), G = (t) => e.colDefs.find((e) => A(e) === t || e.field === t || e.colId === t), K = (e) => G(e)?.headerName ?? e, fe = (e) => {
4450
- let t = k(e);
4451
- return typeof t.filterPanelSearchPlaceholder == "string" ? t.filterPanelSearchPlaceholder : yo(A(e), t.queryColIds, K);
4484
+ }, de = (t) => Object.fromEntries(U(t).map((t) => [t, e.focusedValues[t] ?? []])), G = (t) => e.colDefs.find((e) => k(e) === t || e.field === t || e.colId === t), K = (e) => G(e)?.headerName ?? e, fe = (e) => {
4485
+ let t = O(e);
4486
+ return typeof t.filterPanelSearchPlaceholder == "string" ? t.filterPanelSearchPlaceholder : yo(k(e), t.queryColIds, K);
4452
4487
  }, pe = (e, t) => xo({
4453
4488
  fallbackSubText: e.subText,
4454
4489
  getDisplayName: K,
4455
4490
  matchedField: e.matchedField,
4456
4491
  matchedValue: e.matchedValue,
4457
4492
  primaryText: e.label,
4458
- showPrefix: k(t).showSearchMatchSubTextPrefix !== !1
4493
+ showPrefix: O(t).showSearchMatchSubTextPrefix !== !1
4459
4494
  }), me = (e, t) => e.map((e) => ({
4460
4495
  ...e,
4461
4496
  children: e.children?.length ? me(e.children, t) : e.children,
4462
4497
  subText: pe(e, t)
4463
4498
  })), he = (e) => {
4464
- let t = k(e).filterGroup;
4499
+ let t = O(e).filterGroup;
4465
4500
  if (t?.fields.length) return t.fields.map((e) => ({
4466
4501
  field: e,
4467
4502
  isActive: b.value.get(e)?.booleanValue === !0,
4468
4503
  label: G(e)?.headerName ?? e
4469
4504
  }));
4470
4505
  }, q = (e) => ge.value.find((t) => t.key === e) ?? ge.value.find((t) => U(t.colDef).includes(e)), J = (e, t, n) => hi(q(e)?.knownOptions ?? []).find((r) => r.value === n || gi(r, t, n, e)), ge = r(() => e.colDefs.filter(L).map((t) => {
4471
- let n = A(t), r = k(t), i = ee(t), a = me(R(n), t), o = me(ae(n), t), s = {
4506
+ let n = k(t), r = O(t), i = N(t), a = me(R(n), t), o = me(ie(n), t), s = {
4507
+ canRemoveFocus: e.canRemoveFocus,
4472
4508
  category: P(t),
4473
4509
  clientFiltering: r.filterOptionsClientFiltering !== !1,
4474
4510
  colDef: t,
@@ -4487,29 +4523,31 @@ function Cs(e, t, n) {
4487
4523
  filterSectionDefs: r.filterSectionDefs,
4488
4524
  filterOptionsSortDescription: r.filterOptionsSortDescription,
4489
4525
  filterOptionsSortTooltip: r.filterOptionsSortTooltip,
4526
+ focusFieldLabels: Object.fromEntries(U(t).map((e) => [e, K(e)])),
4527
+ focusableFields: e.focusableFields,
4490
4528
  focusText: e.focusText,
4491
4529
  hideOptionsSortDescription: r.filterPanelHideOptionsSortDescription,
4492
4530
  hideSearch: r.filterPanelHideSearch,
4493
4531
  focusedValues: e.focusedValues[n] ?? [],
4494
4532
  focusedValuesByField: de(t),
4495
- hasMore: te(n),
4533
+ hasMore: B(n),
4496
4534
  isAggregate: ce(t),
4497
4535
  isFocusable: e.enableFocusView && (!e.focusableFields.length || U(t).some((t) => e.focusableFields.includes(t))),
4498
- isLoading: ne(n),
4499
- isLoadingMore: re(n),
4536
+ isLoading: te(n),
4537
+ isLoadingMore: ne(n),
4500
4538
  isOpen: !1,
4501
4539
  key: n,
4502
4540
  knownOptions: o,
4503
4541
  label: t.headerName || n,
4504
4542
  loadingText: r.filterOptionsLoadingText,
4505
4543
  rangeInputIcon: r.filterPanelRange?.inputIcon ?? null,
4506
- rangeMax: j(r.filterPanelRange?.max),
4507
- rangeMin: j(r.filterPanelRange?.min),
4544
+ rangeMax: A(r.filterPanelRange?.max),
4545
+ rangeMin: A(r.filterPanelRange?.min),
4508
4546
  rangeScale: r.filterPanelRange?.scale,
4509
- rangeSliderStep: j(r.filterPanelRange?.sliderStep),
4510
- rangeStep: j(r.filterPanelRange?.step),
4547
+ rangeSliderStep: A(r.filterPanelRange?.sliderStep),
4548
+ rangeStep: A(r.filterPanelRange?.step),
4511
4549
  searchPlaceholder: fe(t),
4512
- searchQuery: B(n) ?? "",
4550
+ searchQuery: V(n) ?? "",
4513
4551
  singleSelect: r.filterPanelSingleSelect === !0,
4514
4552
  type: i,
4515
4553
  valueDecimals: r.valueDecimals ?? null,
@@ -4607,7 +4645,7 @@ function Cs(e, t, n) {
4607
4645
  }
4608
4646
  for (let r of ge.value) r.type === "value" && (e && (n.has(r.key) || U(r.colDef).some((e) => n.has(e))) || (t.filterStaleMap.value[r.key] = !0));
4609
4647
  }, Y = (r, i, o, c) => {
4610
- O(r);
4648
+ D(r);
4611
4649
  let l = y.value, u = m.value;
4612
4650
  u ? (S(u, r), r === null && (e.staged ? (u.stagedFilterSelectedValueMap.value = {}, u.stagedFilterSelectedMetadataMap.value = {}) : (u.filterSelectedValueMap.value = {}, u.filterSelectedMetadataMap.value = {}))) : e.staged && (a.value = r), !e.filterStore && !s && !e.staged && (t.value = r), Ee(o), n("filter-change", {
4613
4651
  colDef: (o ? q(o) : void 0)?.colDef,
@@ -4895,6 +4933,10 @@ var ws = ["aria-label"], Ts = { class: "pv-filter-panel-header pv-flex pv-border
4895
4933
  type: Boolean,
4896
4934
  default: void 0
4897
4935
  },
4936
+ canRemoveFocus: {
4937
+ type: Boolean,
4938
+ default: !0
4939
+ },
4898
4940
  cancelLabel: {
4899
4941
  default: "Cancel",
4900
4942
  type: String
@@ -5036,15 +5078,15 @@ var ws = ["aria-label"], Ts = { class: "pv-filter-panel-header pv-flex pv-border
5036
5078
  "suggestion-click"
5037
5079
  ], ["update:filterModel", "update:isCollapsed"]),
5038
5080
  setup(e, { emit: n }) {
5039
- let c = e, l = re(e, "filterModel"), d = re(e, "isCollapsed"), f = n, { resolvedFilters: p, appliedGroups: m, appliedCount: h, showClearAll: g, visibleSuggestions: _, activateFilter: v, applyStagedFilters: y, cancelStagedFilters: b, clearAllFilters: x, getSuggestionKey: C, handleControlChange: w, handleLoadMore: T, handleSearchChange: E, handleSuggestionClick: D, removeAppliedFilter: O } = Cs(c, l, f), A = M("filters"), j = M({}), P = M(null), F = M(!1), I = M(!1), R = M(""), te = r(() => c.enableFilterSearch ? R.value.trim().toLowerCase() : ""), ne = r(() => te.value.length > 0), B = (e) => e.label.toLowerCase().includes(te.value);
5040
- H(ne, (e) => {
5081
+ let c = e, l = ne(e, "filterModel"), d = ne(e, "isCollapsed"), f = n, { resolvedFilters: p, appliedGroups: m, appliedCount: h, showClearAll: g, visibleSuggestions: _, activateFilter: v, applyStagedFilters: y, cancelStagedFilters: b, clearAllFilters: x, getSuggestionKey: C, handleControlChange: w, handleLoadMore: T, handleSearchChange: E, handleSuggestionClick: ee, removeAppliedFilter: D } = Cs(c, l, f), k = j("filters"), A = j({}), P = j(null), F = j(!1), I = j(!1), R = j(""), B = r(() => c.enableFilterSearch ? R.value.trim().toLowerCase() : ""), te = r(() => B.value.length > 0), V = (e) => e.label.toLowerCase().includes(B.value);
5082
+ H(te, (e) => {
5041
5083
  e && (P.value = null);
5042
5084
  }), H(P, (e) => {
5043
5085
  e !== null && (R.value = "");
5044
5086
  });
5045
- let ie = (e) => e.colDef.context?.filterCollapsedByDefault === !0, ae = r(() => ne.value ? p.value.filter(B) : P.value === null ? p.value : p.value.filter((e) => e.category === P.value)), V = r(() => ae.value.filter((e) => !ie(e))), se = r(() => ae.value.filter(ie)), W = r(() => P.value !== null), le = r(() => W.value || ne.value || F.value ? [...V.value, ...se.value] : V.value), ue = r(() => ne.value ? "No filters match your search." : "No filters in this category."), de = r(() => `${F.value ? "Hide" : "Show"} ${c.collapsedFilterDisplayLabel}`), G = r(() => A.value === "filters" && !W.value && !ne.value && se.value.length > 0), K = r(() => c.externalFilters.filter((e) => e.values.length > 0)), fe = r(() => K.value.filter((e) => e.removable !== !1)), pe = r(() => K.value.reduce((e, t) => e + t.values.length, 0)), me = r(() => fe.value.reduce((e, t) => e + t.values.length, 0)), he = r(() => h.value + pe.value), q = r(() => g.value || me.value > 0), J = r(() => !c.readOnly && (q.value || c.staged)), ge = r(() => le.value.map((e) => ({
5087
+ let re = (e) => e.colDef.context?.filterCollapsedByDefault === !0, ie = r(() => te.value ? p.value.filter(V) : P.value === null ? p.value : p.value.filter((e) => e.category === P.value)), ae = r(() => ie.value.filter((e) => !re(e))), se = r(() => ie.value.filter(re)), W = r(() => P.value !== null), le = r(() => W.value || te.value || F.value ? [...ae.value, ...se.value] : ae.value), ue = r(() => te.value ? "No filters match your search." : "No filters in this category."), de = r(() => `${F.value ? "Hide" : "Show"} ${c.collapsedFilterDisplayLabel}`), G = r(() => k.value === "filters" && !W.value && !te.value && se.value.length > 0), K = r(() => c.externalFilters.filter((e) => e.values.length > 0)), fe = r(() => K.value.filter((e) => e.removable !== !1)), pe = r(() => K.value.reduce((e, t) => e + t.values.length, 0)), me = r(() => fe.value.reduce((e, t) => e + t.values.length, 0)), he = r(() => h.value + pe.value), q = r(() => g.value || me.value > 0), J = r(() => !c.readOnly && (q.value || c.staged)), ge = r(() => le.value.map((e) => ({
5046
5088
  ...e,
5047
- isOpen: j.value[e.key] ?? e.isOpen ?? !1
5089
+ isOpen: A.value[e.key] ?? e.isOpen ?? !1
5048
5090
  }))), _e = r(() => [{
5049
5091
  label: "Filters",
5050
5092
  value: "filters"
@@ -5058,9 +5100,9 @@ var ws = ["aria-label"], Ts = { class: "pv-filter-panel-header pv-flex pv-border
5058
5100
  minHeight: "0",
5059
5101
  width: c.width
5060
5102
  })), ye = (e) => {
5061
- (e === "filters" || e === "applied") && (A.value = e);
5103
+ (e === "filters" || e === "applied") && (k.value = e);
5062
5104
  }, be = (e, t) => {
5063
- j.value[e.key] = t, f("open-change", e.key, t, e.colDef), t && v(e);
5105
+ A.value[e.key] = t, f("open-change", e.key, t, e.colDef), t && v(e);
5064
5106
  }, xe = () => {
5065
5107
  I.value = !1;
5066
5108
  }, Se = () => {
@@ -5070,7 +5112,7 @@ var ws = ["aria-label"], Ts = { class: "pv-filter-panel-header pv-flex pv-border
5070
5112
  }, Ce = () => {
5071
5113
  I.value = !0;
5072
5114
  };
5073
- return (n, r) => (k(), o(t, null, [d.value ? a("v-if", !0) : (k(), o("div", {
5115
+ return (n, r) => (O(), o(t, null, [d.value ? a("v-if", !0) : (O(), o("div", {
5074
5116
  key: 0,
5075
5117
  role: "complementary",
5076
5118
  class: "pv-filter-panel pv-flex-vertical pv-surface pv-border-right",
@@ -5079,12 +5121,12 @@ var ws = ["aria-label"], Ts = { class: "pv-filter-panel-header pv-flex pv-border
5079
5121
  style: S(ve.value)
5080
5122
  }, [
5081
5123
  s("div", Ts, [u(br, {
5082
- modelValue: A.value,
5124
+ modelValue: k.value,
5083
5125
  options: _e.value,
5084
5126
  class: "pv-filter-panel-mode-control",
5085
5127
  size: "xl",
5086
5128
  "onUpdate:modelValue": ye
5087
- }, null, 8, ["modelValue", "options"]), e.hideCollapseButton ? a("v-if", !0) : (k(), i(Y, {
5129
+ }, null, 8, ["modelValue", "options"]), e.hideCollapseButton ? a("v-if", !0) : (O(), i(Y, {
5088
5130
  key: 0,
5089
5131
  ariaLabel: "Collapse filters",
5090
5132
  leftIcon: "chevrons-left",
@@ -5093,19 +5135,19 @@ var ws = ["aria-label"], Ts = { class: "pv-filter-panel-header pv-flex pv-border
5093
5135
  onClick: r[0] ||= (e) => d.value = !0
5094
5136
  }))]),
5095
5137
  s("div", Es, [ce(s("div", Ds, [
5096
- !e.readOnly && z(_).length ? (k(), o("section", Os, [r[8] ||= s("p", { class: "pv-filter-panel-section-title pv-text-title-sm pv-text-subdued" }, "Suggestions", -1), s("div", ks, [(k(!0), o(t, null, N(z(_), (e) => (k(), i(Cr, {
5138
+ !e.readOnly && z(_).length ? (O(), o("section", Os, [r[8] ||= s("p", { class: "pv-filter-panel-section-title pv-text-title-sm pv-text-subdued" }, "Suggestions", -1), s("div", ks, [(O(!0), o(t, null, M(z(_), (e) => (O(), i(Cr, {
5097
5139
  key: z(C)(e),
5098
5140
  icon: e.icon,
5099
5141
  "icon-classes": e.iconClasses,
5100
5142
  label: e.label,
5101
- onHandleClick: () => z(D)(e)
5143
+ onHandleClick: () => z(ee)(e)
5102
5144
  }, null, 8, [
5103
5145
  "icon",
5104
5146
  "icon-classes",
5105
5147
  "label",
5106
5148
  "onHandleClick"
5107
5149
  ]))), 128))])])) : a("v-if", !0),
5108
- ee(n.$slots, "suggestions"),
5150
+ N(n.$slots, "suggestions"),
5109
5151
  u(La, {
5110
5152
  modelValue: P.value,
5111
5153
  "onUpdate:modelValue": r[1] ||= (e) => P.value = e,
@@ -5118,12 +5160,12 @@ var ws = ["aria-label"], Ts = { class: "pv-filter-panel-header pv-flex pv-border
5118
5160
  "category-order",
5119
5161
  "filters"
5120
5162
  ]),
5121
- e.enableFilterSearch && z(p).length ? (k(), o("div", As, [u(pt, {
5163
+ e.enableFilterSearch && z(p).length ? (O(), o("div", As, [u(pt, {
5122
5164
  modelValue: R.value,
5123
5165
  "onUpdate:modelValue": r[2] ||= (e) => R.value = e,
5124
5166
  placeholder: e.filterSearchPlaceholder
5125
5167
  }, null, 8, ["modelValue", "placeholder"])])) : a("v-if", !0),
5126
- z(p).length ? ae.value.length ? (k(), o("div", Ns, [(k(!0), o(t, null, N(ge.value, (t) => (k(), i(ba, {
5168
+ z(p).length ? ie.value.length ? (O(), o("div", Ns, [(O(!0), o(t, null, M(ge.value, (t) => (O(), i(ba, {
5127
5169
  key: t.key,
5128
5170
  "disable-while-loading": e.disableWhileLoading,
5129
5171
  filter: t,
@@ -5140,34 +5182,34 @@ var ws = ["aria-label"], Ts = { class: "pv-filter-panel-header pv-flex pv-border
5140
5182
  "onLoadMore",
5141
5183
  "onOpenChange",
5142
5184
  "onSearchChange"
5143
- ]))), 128)), G.value ? (k(), i(Y, {
5185
+ ]))), 128)), G.value ? (O(), i(Y, {
5144
5186
  key: 0,
5145
5187
  class: "pv-filter-panel-collapsed-filters-toggle pv-text-brand",
5146
5188
  label: de.value,
5147
5189
  variant: "ghost",
5148
5190
  onClick: r[5] ||= (e) => F.value = !F.value
5149
- }, null, 8, ["label"])) : a("v-if", !0)])) : (k(), o("div", Ms, L(ue.value), 1)) : (k(), o("div", js, " No filters available. "))
5150
- ], 512), [[oe, A.value === "filters"]]), ce(u(Aa, {
5191
+ }, null, 8, ["label"])) : a("v-if", !0)])) : (O(), o("div", Ms, L(ue.value), 1)) : (O(), o("div", js, " No filters available. "))
5192
+ ], 512), [[oe, k.value === "filters"]]), ce(u(Aa, {
5151
5193
  "applied-count": z(h),
5152
5194
  "applied-groups": z(m),
5153
5195
  "external-filters": K.value,
5154
5196
  "read-only": e.readOnly,
5155
5197
  onRemoveExternalFilter: r[6] ||= (e, t) => f("remove-external-filter", e, t),
5156
- onRemoveFilter: z(O)
5198
+ onRemoveFilter: z(D)
5157
5199
  }, null, 8, [
5158
5200
  "applied-count",
5159
5201
  "applied-groups",
5160
5202
  "external-filters",
5161
5203
  "read-only",
5162
5204
  "onRemoveFilter"
5163
- ]), [[oe, A.value === "applied"]])]),
5164
- J.value ? (k(), o("div", Ps, [s("div", Fs, [q.value && !e.readOnly ? (k(), i(Y, {
5205
+ ]), [[oe, k.value === "applied"]])]),
5206
+ J.value ? (O(), o("div", Ps, [s("div", Fs, [q.value && !e.readOnly ? (O(), i(Y, {
5165
5207
  key: 0,
5166
5208
  class: "pv-text-brand",
5167
5209
  label: e.clearAllLabel,
5168
5210
  variant: "ghost",
5169
5211
  onClick: Ce
5170
- }, null, 8, ["label"])) : a("v-if", !0), e.staged && !e.readOnly ? (k(), o(t, { key: 1 }, [u(Y, {
5212
+ }, null, 8, ["label"])) : a("v-if", !0), e.staged && !e.readOnly ? (O(), o(t, { key: 1 }, [u(Y, {
5171
5213
  label: e.cancelLabel,
5172
5214
  variant: "ghost",
5173
5215
  onClick: z(b)
@@ -5528,15 +5570,15 @@ var zc = {
5528
5570
  getCommon({ name: e = "", theme: t = {}, params: n, set: r, defaults: i }) {
5529
5571
  let { preset: a, options: o } = t, s, c, l, u, d, f, p;
5530
5572
  if ($(a) && o.transform !== "strict") {
5531
- let { primitive: t, semantic: n, extend: m } = a, h = n || {}, { colorScheme: g } = h, _ = bc(h, ["colorScheme"]), v = m || {}, { colorScheme: y } = v, b = bc(v, ["colorScheme"]), x = g || {}, { dark: S } = x, C = bc(x, ["dark"]), w = y || {}, { dark: T } = w, E = bc(w, ["dark"]), D = $(t) ? this._toVariables({ primitive: t }, o) : {}, O = $(_) ? this._toVariables({ semantic: _ }, o) : {}, k = $(C) ? this._toVariables({ light: C }, o) : {}, A = $(S) ? this._toVariables({ dark: S }, o) : {}, j = $(b) ? this._toVariables({ semantic: b }, o) : {}, M = $(E) ? this._toVariables({ light: E }, o) : {}, N = $(T) ? this._toVariables({ dark: T }, o) : {}, [ee, P] = [D.declarations ?? "", D.tokens], [F, I] = [O.declarations ?? "", O.tokens || []], [L, R] = [k.declarations ?? "", k.tokens || []], [z, te] = [A.declarations ?? "", A.tokens || []], [ne, re] = [j.declarations ?? "", j.tokens || []], [B, ie] = [M.declarations ?? "", M.tokens || []], [ae, V] = [N.declarations ?? "", N.tokens || []];
5532
- s = this.transformCSS(e, ee, "light", "variable", o, r, i), c = P, l = `${this.transformCSS(e, `${F}${L}`, "light", "variable", o, r, i)}${this.transformCSS(e, `${z}`, "dark", "variable", o, r, i)}`, u = [...new Set([
5573
+ let { primitive: t, semantic: n, extend: m } = a, h = n || {}, { colorScheme: g } = h, _ = bc(h, ["colorScheme"]), v = m || {}, { colorScheme: y } = v, b = bc(v, ["colorScheme"]), x = g || {}, { dark: S } = x, C = bc(x, ["dark"]), w = y || {}, { dark: T } = w, E = bc(w, ["dark"]), ee = $(t) ? this._toVariables({ primitive: t }, o) : {}, D = $(_) ? this._toVariables({ semantic: _ }, o) : {}, O = $(C) ? this._toVariables({ light: C }, o) : {}, k = $(S) ? this._toVariables({ dark: S }, o) : {}, A = $(b) ? this._toVariables({ semantic: b }, o) : {}, j = $(E) ? this._toVariables({ light: E }, o) : {}, M = $(T) ? this._toVariables({ dark: T }, o) : {}, [N, P] = [ee.declarations ?? "", ee.tokens], [F, I] = [D.declarations ?? "", D.tokens || []], [L, R] = [O.declarations ?? "", O.tokens || []], [z, B] = [k.declarations ?? "", k.tokens || []], [te, ne] = [A.declarations ?? "", A.tokens || []], [V, re] = [j.declarations ?? "", j.tokens || []], [ie, ae] = [M.declarations ?? "", M.tokens || []];
5574
+ s = this.transformCSS(e, N, "light", "variable", o, r, i), c = P, l = `${this.transformCSS(e, `${F}${L}`, "light", "variable", o, r, i)}${this.transformCSS(e, `${z}`, "dark", "variable", o, r, i)}`, u = [...new Set([
5533
5575
  ...I,
5534
5576
  ...R,
5535
- ...te
5536
- ])], d = `${this.transformCSS(e, `${ne}${B}color-scheme:light`, "light", "variable", o, r, i)}${this.transformCSS(e, `${ae}color-scheme:dark`, "dark", "variable", o, r, i)}`, f = [...new Set([
5577
+ ...B
5578
+ ])], d = `${this.transformCSS(e, `${te}${V}color-scheme:light`, "light", "variable", o, r, i)}${this.transformCSS(e, `${ie}color-scheme:dark`, "dark", "variable", o, r, i)}`, f = [...new Set([
5579
+ ...ne,
5537
5580
  ...re,
5538
- ...ie,
5539
- ...V
5581
+ ...ae
5540
5582
  ])], p = Xs(a.css, { dt: Fc });
5541
5583
  }
5542
5584
  return {
@@ -5562,11 +5604,11 @@ var zc = {
5562
5604
  "colorScheme",
5563
5605
  "extend",
5564
5606
  "css"
5565
- ]), h = f || {}, { colorScheme: g } = h, _ = bc(h, ["colorScheme"]), v = d || {}, { dark: y } = v, b = bc(v, ["dark"]), x = g || {}, { dark: S } = x, C = bc(x, ["dark"]), w = $(m) ? this._toVariables({ [r]: vc(vc({}, m), _) }, n) : {}, T = $(b) ? this._toVariables({ [r]: vc(vc({}, b), C) }, n) : {}, E = $(y) ? this._toVariables({ [r]: vc(vc({}, y), S) }, n) : {}, [D, O] = [w.declarations ?? "", w.tokens || []], [k, A] = [T.declarations ?? "", T.tokens || []], [j, M] = [E.declarations ?? "", E.tokens || []];
5566
- s = `${this.transformCSS(r, `${D}${k}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, j, "dark", "variable", n, i, a, o)}`, c = [...new Set([
5567
- ...O,
5568
- ...A,
5569
- ...M
5607
+ ]), h = f || {}, { colorScheme: g } = h, _ = bc(h, ["colorScheme"]), v = d || {}, { dark: y } = v, b = bc(v, ["dark"]), x = g || {}, { dark: S } = x, C = bc(x, ["dark"]), w = $(m) ? this._toVariables({ [r]: vc(vc({}, m), _) }, n) : {}, T = $(b) ? this._toVariables({ [r]: vc(vc({}, b), C) }, n) : {}, E = $(y) ? this._toVariables({ [r]: vc(vc({}, y), S) }, n) : {}, [ee, D] = [w.declarations ?? "", w.tokens || []], [O, k] = [T.declarations ?? "", T.tokens || []], [A, j] = [E.declarations ?? "", E.tokens || []];
5608
+ s = `${this.transformCSS(r, `${ee}${O}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, A, "dark", "variable", n, i, a, o)}`, c = [...new Set([
5609
+ ...D,
5610
+ ...k,
5611
+ ...j
5570
5612
  ])], l = Xs(p, { dt: Fc });
5571
5613
  }
5572
5614
  return {
@@ -5925,32 +5967,32 @@ function Jc(e) {
5925
5967
  }
5926
5968
  var Yc = 0;
5927
5969
  function Xc(e) {
5928
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = M(!1), r = M(e), i = M(null), a = lc() ? window.document : void 0, o = t.document, s = o === void 0 ? a : o, c = t.immediate, l = c === void 0 ? !0 : c, u = t.manual, d = u === void 0 ? !1 : u, f = t.name, p = f === void 0 ? `style_${++Yc}` : f, m = t.id, h = m === void 0 ? void 0 : m, g = t.media, _ = g === void 0 ? void 0 : g, v = t.nonce, y = v === void 0 ? void 0 : v, b = t.first, x = b === void 0 ? !1 : b, S = t.onMounted, C = S === void 0 ? void 0 : S, w = t.onUpdated, T = w === void 0 ? void 0 : w, E = t.onLoad, D = E === void 0 ? void 0 : E, O = t.props, k = O === void 0 ? {} : O, A = function() {}, N = function(t) {
5970
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = j(!1), r = j(e), i = j(null), a = lc() ? window.document : void 0, o = t.document, s = o === void 0 ? a : o, c = t.immediate, l = c === void 0 ? !0 : c, u = t.manual, d = u === void 0 ? !1 : u, f = t.name, p = f === void 0 ? `style_${++Yc}` : f, m = t.id, h = m === void 0 ? void 0 : m, g = t.media, _ = g === void 0 ? void 0 : g, v = t.nonce, y = v === void 0 ? void 0 : v, b = t.first, x = b === void 0 ? !1 : b, S = t.onMounted, C = S === void 0 ? void 0 : S, w = t.onUpdated, T = w === void 0 ? void 0 : w, E = t.onLoad, ee = E === void 0 ? void 0 : E, D = t.props, O = D === void 0 ? {} : D, k = function() {}, M = function(t) {
5929
5971
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
5930
5972
  if (s) {
5931
- var o = Wc(Wc({}, k), a), c = o.name || p, l = o.id || h, u = o.nonce || y;
5973
+ var o = Wc(Wc({}, O), a), c = o.name || p, l = o.id || h, u = o.nonce || y;
5932
5974
  i.value = s.querySelector(`style[data-primevue-style-id="${c}"]`) || s.getElementById(l) || s.createElement("style"), i.value.isConnected || (r.value = t || e, cc(i.value, {
5933
5975
  type: "text/css",
5934
5976
  id: l,
5935
5977
  media: _,
5936
5978
  nonce: u
5937
5979
  }), x ? s.head.prepend(i.value) : s.head.appendChild(i.value), uc(i.value, "data-primevue-style-id", c), cc(i.value, o), i.value.onload = function(e) {
5938
- return D?.(e, { name: c });
5939
- }, C?.(c)), !n.value && (A = H(r, function(e) {
5980
+ return ee?.(e, { name: c });
5981
+ }, C?.(c)), !n.value && (k = H(r, function(e) {
5940
5982
  i.value.textContent = e, T?.(c);
5941
5983
  }, { immediate: !0 }), n.value = !0);
5942
5984
  }
5943
5985
  };
5944
- return l && !d && Jc(N), {
5986
+ return l && !d && Jc(M), {
5945
5987
  id: h,
5946
5988
  name: p,
5947
5989
  el: i,
5948
5990
  css: r,
5949
5991
  unload: function() {
5950
- !s || !n.value || (A(), oc(i.value) && s.head.removeChild(i.value), n.value = !1, i.value = null);
5992
+ !s || !n.value || (k(), oc(i.value) && s.head.removeChild(i.value), n.value = !1, i.value = null);
5951
5993
  },
5952
- load: N,
5953
- isLoaded: j(n)
5994
+ load: M,
5995
+ isLoaded: A(n)
5954
5996
  };
5955
5997
  }
5956
5998
  //#endregion
@@ -6428,7 +6470,7 @@ var Sl = {
6428
6470
  csp: { nonce: void 0 }
6429
6471
  }, Cl = Symbol();
6430
6472
  function wl(e, t) {
6431
- var n = { config: A(t) };
6473
+ var n = { config: k(t) };
6432
6474
  return e.config.globalProperties.$primevue = n, e.provide(Cl, n), El(), Dl(e, n), n;
6433
6475
  }
6434
6476
  var Tl = [];
@@ -6438,7 +6480,7 @@ function El() {
6438
6480
  }), Tl = [];
6439
6481
  }
6440
6482
  function Dl(e, t) {
6441
- var n = M(!1), r = function() {
6483
+ var n = j(!1), r = function() {
6442
6484
  if (t.config?.theme !== "none" && !Bc.isStyleNameLoaded("common")) {
6443
6485
  var e, n = ml.getCommonTheme?.call(ml) || {}, r = n.primitive, i = n.semantic, a = n.global, o = n.style, s = { nonce: (e = t.config) == null || (e = e.csp) == null ? void 0 : e.nonce };
6444
6486
  ml.load(r?.css, vl({ name: "primitive-variables" }, s)), ml.load(i?.css, vl({ name: "semantic-variables" }, s)), ml.load(a?.css, vl({ name: "global-variables" }, s)), ml.loadStyle(vl({ name: "global-style" }, s), o), Bc.setLoadedStyleName("common");