@turquoisehealth/pit-viper 2.244.4 → 2.245.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/package.json +1 -1
  2. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  3. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  4. package/pv-components/dist/stats/web/pv-breadcrumbs-stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-empty-state-stats.html +4950 -0
  6. package/pv-components/dist/vue/ai/components/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +5 -1
  7. package/pv-components/dist/vue/ai/components/base/PvEmptyState/PvEmptyState.vue.d.ts +10 -0
  8. package/pv-components/dist/vue/ai/components/base/index.d.ts +1 -0
  9. package/pv-components/dist/vue/base/components/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +5 -1
  10. package/pv-components/dist/vue/base/components/base/PvEmptyState/PvEmptyState.vue.d.ts +10 -0
  11. package/pv-components/dist/vue/base/components/base/index.d.ts +1 -0
  12. package/pv-components/dist/vue/base/pv-components-base.mjs +820 -767
  13. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  14. package/pv-components/dist/vue/visualizations/components/base/PvBreadcrumbs/PvBreadcrumbs.vue.d.ts +5 -1
  15. package/pv-components/dist/vue/visualizations/components/base/PvEmptyState/PvEmptyState.vue.d.ts +10 -0
  16. package/pv-components/dist/vue/visualizations/components/base/index.d.ts +1 -0
  17. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue.d.ts +3 -1
  18. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/helpers.d.ts +33 -1
  19. package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +21 -0
  20. package/pv-components/dist/vue/visualizations/components/charts/themes.d.ts +2 -1
  21. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2700 -2510
  22. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  23. package/pv-components/dist/web/components/pv-breadcrumbs/pv-breadcrumbs.js +25 -21
  24. package/pv-components/dist/web/components/pv-empty-state/pv-empty-state.js +6431 -0
  25. package/pv-components/dist/web/pv-components.iife.js +13 -13
  26. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -3728,19 +3728,23 @@ var vi = () => ({
3728
3728
  class: "pv-breadcrumbs",
3729
3729
  role: "list",
3730
3730
  "data-testid": "pv-breadcrumbs"
3731
- }, Ba = ["href"], Va = /* @__PURE__ */ d({
3731
+ }, Ba = ["href"], Va = ["onClick"], Ha = /* @__PURE__ */ d({
3732
3732
  __name: "PvBreadcrumbs",
3733
3733
  props: { options: {} },
3734
+ emits: ["handle-click"],
3734
3735
  setup(e) {
3735
- return (n, r) => (D(), o("ul", za, [(D(!0), o(t, null, A(e.options, (e, n) => (D(), o("li", { key: `${n}-${e.label}` }, [e.href ? (D(), o("a", {
3736
+ return (n, r) => (D(), o("ul", za, [(D(!0), o(t, null, A(e.options, (e, t) => (D(), o("li", { key: `${t}-${e.label}` }, [e.href ? (D(), o("a", {
3736
3737
  key: 0,
3737
3738
  href: e.href
3738
- }, I(e.label), 9, Ba)) : (D(), o(t, { key: 1 }, [l(I(e.label), 1)], 64))]))), 128))]));
3739
+ }, I(e.label), 9, Ba)) : (D(), o("span", {
3740
+ key: 1,
3741
+ onClick: (t) => n.$emit("handle-click", e.label)
3742
+ }, I(e.label), 9, Va))]))), 128))]));
3739
3743
  }
3740
- }), Ha = {
3744
+ }), Ua = {
3741
3745
  "data-testid": "pv-select-menu-control-panel",
3742
3746
  class: "pv-flex pv-space-between"
3743
- }, Ua = /* @__PURE__ */ d({
3747
+ }, Wa = /* @__PURE__ */ d({
3744
3748
  __name: "PvMenuControlPanel",
3745
3749
  props: {
3746
3750
  variant: {},
@@ -3755,7 +3759,7 @@ var vi = () => ({
3755
3759
  ],
3756
3760
  setup(e) {
3757
3761
  let n = e, i = r(() => n.rumFilterName ? `Select all ${n.rumFilterName} options` : void 0), s = r(() => n.rumFilterName ? `Clear ${n.rumFilterName} selections` : void 0);
3758
- return (n, r) => (D(), o("div", Ha, [e.variant === "select-clear" ? (D(), o(t, { key: 0 }, [u($, {
3762
+ return (n, r) => (D(), o("div", Ua, [e.variant === "select-clear" ? (D(), o(t, { key: 0 }, [u($, {
3759
3763
  variant: "ghost",
3760
3764
  "data-testid": "pv-select-menu-item-select-all",
3761
3765
  "data-dd-action-name": i.value,
@@ -3782,7 +3786,7 @@ var vi = () => ({
3782
3786
  disabled: e.disabled
3783
3787
  }, null, 8, ["disabled"])], 64)) : a("", !0)]));
3784
3788
  }
3785
- }), Wa = ["data-style", "data-shape"], Ga = ["src", "alt"], Ka = /* @__PURE__ */ d({
3789
+ }), Ga = ["data-style", "data-shape"], Ka = ["src", "alt"], qa = /* @__PURE__ */ d({
3786
3790
  __name: "PvAvatar",
3787
3791
  props: {
3788
3792
  alt: {},
@@ -3820,14 +3824,14 @@ var vi = () => ({
3820
3824
  key: 2,
3821
3825
  src: e.image,
3822
3826
  alt: e.alt ?? ""
3823
- }, null, 8, Ga)) : a("", !0)], 10, Wa));
3827
+ }, null, 8, Ka)) : a("", !0)], 10, Ga));
3824
3828
  }
3825
- }), qa = ["disabled"], Ja = { class: "pv-flex pv-select-button-trigger-content" }, Ya = {
3829
+ }), Ja = ["disabled"], Ya = { class: "pv-flex pv-select-button-trigger-content" }, Xa = {
3826
3830
  key: 0,
3827
3831
  "data-testid": "pv-select-prefix-label",
3828
3832
  class: "pv-border-right pv-text-quaternary",
3829
3833
  style: { "padding-right": "4px" }
3830
- }, Xa = ["title"], Za = /* @__PURE__ */ Q(/* @__PURE__ */ d({
3834
+ }, Za = ["title"], Qa = /* @__PURE__ */ Q(/* @__PURE__ */ d({
3831
3835
  __name: "PvSelectButtonTrigger",
3832
3836
  props: {
3833
3837
  avatar: {},
@@ -3881,8 +3885,8 @@ var vi = () => ({
3881
3885
  style: { "--flex-gap": "0.25rem" },
3882
3886
  disabled: e.disabled || e.isLoading
3883
3887
  }, [
3884
- s("div", Ja, [
3885
- e.prefixLabel ? (D(), o("p", Ya, I(e.prefixLabel), 1)) : a("", !0),
3888
+ s("div", Ya, [
3889
+ e.prefixLabel ? (D(), o("p", Xa, I(e.prefixLabel), 1)) : a("", !0),
3886
3890
  e.counterPosition === "left" && e.counterValue && e.counterStyle === "primary" ? (D(), i(He, {
3887
3891
  key: 1,
3888
3892
  "data-testid": "pv-multi-select-left-counter-badge",
@@ -3902,7 +3906,7 @@ var vi = () => ({
3902
3906
  name: e.companyLogo,
3903
3907
  size: "sm"
3904
3908
  }, null, 8, ["name"])) : a("", !0),
3905
- e.avatar ? (D(), i(Ka, {
3909
+ e.avatar ? (D(), i(qa, {
3906
3910
  key: 2,
3907
3911
  class: "pv-select-button-trigger-avatar",
3908
3912
  "data-testid": "pv-multi-select-button-avatar",
@@ -3922,7 +3926,7 @@ var vi = () => ({
3922
3926
  key: 3,
3923
3927
  class: "pv-text-body-md pv-text-regular pv-truncate pv-select-button-trigger-label",
3924
3928
  title: p.value
3925
- }, I(p.value), 9, Xa)) : a("", !0)
3929
+ }, I(p.value), 9, Za)) : a("", !0)
3926
3930
  ], 64)),
3927
3931
  e.counterPosition === "right" && e.counterValue && e.counterStyle === "primary" ? (D(), i(He, {
3928
3932
  key: 4,
@@ -3957,26 +3961,26 @@ var vi = () => ({
3957
3961
  "tooltip-content": K(() => [...r[1] ||= [l(" Clear Selections ", -1)]]),
3958
3962
  _: 1
3959
3963
  })) : a("", !0)
3960
- ], 10, qa));
3964
+ ], 10, Ja));
3961
3965
  }
3962
- }), [["__scopeId", "data-v-da9865ad"]]), Qa = {}, $a = { class: "pv-text-subdued pv-text-center pv-text-body-md pv-inset-square-12" };
3963
- function eo(e, t) {
3964
- return D(), o("div", $a, "No Results Found");
3966
+ }), [["__scopeId", "data-v-da9865ad"]]), $a = {}, eo = { class: "pv-text-subdued pv-text-center pv-text-body-md pv-inset-square-12" };
3967
+ function to(e, t) {
3968
+ return D(), o("div", eo, "No Results Found");
3965
3969
  }
3966
- var to = /* @__PURE__ */ Q(Qa, [["render", eo]]);
3970
+ var no = /* @__PURE__ */ Q($a, [["render", to]]);
3967
3971
  //#endregion
3968
3972
  //#region src/components/base/PvMenu/cascadeUtils.ts
3969
- function no(e) {
3973
+ function ro(e) {
3970
3974
  return !!e.children?.length || (e.totalChildCount ?? 0) > 0;
3971
3975
  }
3972
- function ro(e) {
3973
- return e.flatMap((e) => e.children?.length ? ro(e.children) : (e.totalChildCount ?? 0) > 0 ? [] : [e]);
3976
+ function io(e) {
3977
+ return e.flatMap((e) => e.children?.length ? io(e.children) : (e.totalChildCount ?? 0) > 0 ? [] : [e]);
3974
3978
  }
3975
- function io(e, t) {
3979
+ function ao(e, t) {
3976
3980
  let n = new Set(e.map((e) => e.id)), r = t.filter((e) => !n.has(e.id));
3977
3981
  return r.length > 0 ? [...e, ...r] : e;
3978
3982
  }
3979
- function ao(e, t) {
3983
+ function oo(e, t) {
3980
3984
  let n = (e) => {
3981
3985
  let r = 0, i = 0, a = 0;
3982
3986
  for (let o of e) if (o.children?.length) {
@@ -3991,14 +3995,14 @@ function ao(e, t) {
3991
3995
  };
3992
3996
  return n(e).displayCount;
3993
3997
  }
3994
- function oo(e) {
3998
+ function so(e) {
3995
3999
  return e.filter((e) => e.state === "selected").length;
3996
4000
  }
3997
- function so(e, t, n = !0) {
4001
+ function co(e, t, n = !0) {
3998
4002
  return e.flatMap((e) => {
3999
4003
  if (e.text.toLocaleLowerCase().includes(t) || e.searchText?.toLocaleLowerCase().includes(t)) return [e];
4000
4004
  if (e.children?.length) {
4001
- let r = so(e.children, t, n);
4005
+ let r = co(e.children, t, n);
4002
4006
  if (r.length) return n ? [{
4003
4007
  ...e,
4004
4008
  children: r
@@ -4009,20 +4013,20 @@ function so(e, t, n = !0) {
4009
4013
  }
4010
4014
  //#endregion
4011
4015
  //#region src/components/base/PvMenu/items/PvMenuBaseItem.vue?vue&type=script&setup=true&lang.ts
4012
- var co = {
4016
+ var lo = {
4013
4017
  class: "pv-full-width pv-truncate pv-flex-vertical",
4014
4018
  style: {
4015
4019
  "align-items": "flex-start",
4016
4020
  "--flex-gap": "0"
4017
4021
  }
4018
- }, lo = ["title"], uo = ["title"], fo = { style: {
4022
+ }, uo = ["title"], fo = ["title"], po = { style: {
4019
4023
  "max-width": "220px",
4020
4024
  "white-space": "normal",
4021
4025
  "overflow-wrap": "break-word"
4022
- } }, po = {
4026
+ } }, mo = {
4023
4027
  key: 7,
4024
4028
  class: "pv-text-subdued pv-text-body-xs"
4025
- }, mo = /* @__PURE__ */ d({
4029
+ }, ho = /* @__PURE__ */ d({
4026
4030
  inheritAttrs: !1,
4027
4031
  __name: "PvMenuBaseItem",
4028
4032
  props: {
@@ -4084,7 +4088,7 @@ var co = {
4084
4088
  ], () => {
4085
4089
  g();
4086
4090
  }, { flush: "post" }), (n, r) => (D(), o(t, null, [
4087
- e.avatar ? (D(), i(Ka, {
4091
+ e.avatar ? (D(), i(qa, {
4088
4092
  key: 0,
4089
4093
  initials: e.avatar.initials,
4090
4094
  image: e.avatar.image,
@@ -4113,7 +4117,7 @@ var co = {
4113
4117
  name: e.companyName,
4114
4118
  size: "sm"
4115
4119
  }, null, 8, ["name"])) : a("", !0),
4116
- s("div", co, [s("span", {
4120
+ s("div", lo, [s("span", {
4117
4121
  class: "pv-text-body-md pv-full-width pv-truncate",
4118
4122
  title: e.hoverTitle ?? e.text
4119
4123
  }, [s("span", {
@@ -4123,7 +4127,7 @@ var co = {
4123
4127
  key: 0,
4124
4128
  class: y({ "pv-text-subdued": !e.disabled }),
4125
4129
  style: { "padding-left": "4px" }
4126
- }, I(e.subduedText), 3)) : a("", !0)], 8, lo), p.value ? (D(), o("span", {
4130
+ }, I(e.subduedText), 3)) : a("", !0)], 8, uo), p.value ? (D(), o("span", {
4127
4131
  key: 0,
4128
4132
  ref_key: "subText",
4129
4133
  ref: l,
@@ -4134,7 +4138,7 @@ var co = {
4134
4138
  { "pv-text-subdued": !e.disabled }
4135
4139
  ]),
4136
4140
  title: e.hoverTitle ?? p.value
4137
- }, I(p.value), 11, uo)) : a("", !0)]),
4141
+ }, I(p.value), 11, fo)) : a("", !0)]),
4138
4142
  e.secondaryLoading ? (D(), i(Ne, {
4139
4143
  key: 3,
4140
4144
  size: "xs",
@@ -4163,20 +4167,20 @@ var co = {
4163
4167
  class: "pv-text-subdued",
4164
4168
  onClick: r[0] ||= q(() => {}, ["stop", "prevent"])
4165
4169
  })]),
4166
- content: K(() => [s("div", fo, I(e.description), 1)]),
4170
+ content: K(() => [s("div", po, I(e.description), 1)]),
4167
4171
  _: 1
4168
4172
  })) : e.secondaryText && typeof e.secondaryText == "number" ? (D(), i(He, {
4169
4173
  key: 6,
4170
4174
  value: e.secondaryText,
4171
4175
  variant: e.menuOptionConfig?.counterBadgeVariant
4172
- }, null, 8, ["value", "variant"])) : e.secondaryText && typeof e.secondaryText == "string" ? (D(), o("span", po, I(e.secondaryText), 1)) : a("", !0)
4176
+ }, null, 8, ["value", "variant"])) : e.secondaryText && typeof e.secondaryText == "string" ? (D(), o("span", mo, I(e.secondaryText), 1)) : a("", !0)
4173
4177
  ], 64));
4174
4178
  }
4175
- }), ho = ["for"], go = { key: 0 }, _o = [
4179
+ }), go = ["for"], _o = { key: 0 }, vo = [
4176
4180
  "disabled",
4177
4181
  "aria-label",
4178
4182
  "id"
4179
- ], vo = /* @__PURE__ */ Q(/* @__PURE__ */ d({
4183
+ ], yo = /* @__PURE__ */ Q(/* @__PURE__ */ d({
4180
4184
  __name: "PvSwitch",
4181
4185
  props: /* @__PURE__ */ g({
4182
4186
  size: { default: "md" },
@@ -4208,16 +4212,16 @@ var co = {
4208
4212
  "pv-input-xsmall": e.size === "sm",
4209
4213
  "pv-switch-hide-check": e.hideCheckIcon
4210
4214
  }])
4211
- }, [e.label ? (D(), o("span", go, I(e.label), 1)) : a("", !0), ie(s("input", {
4215
+ }, [e.label ? (D(), o("span", _o, I(e.label), 1)) : a("", !0), ie(s("input", {
4212
4216
  "onUpdate:modelValue": i[0] ||= (e) => n.value = e,
4213
4217
  disabled: e.disabled,
4214
4218
  "aria-label": e.ariaLabel,
4215
4219
  type: "checkbox",
4216
4220
  role: "switch",
4217
4221
  id: L(t)
4218
- }, null, 8, _o), [[te, n.value]])], 10, ho));
4222
+ }, null, 8, vo), [[te, n.value]])], 10, go));
4219
4223
  }
4220
- }), [["__scopeId", "data-v-73e6d2b2"]]), yo = ["aria-label"], bo = /* @__PURE__ */ d({
4224
+ }), [["__scopeId", "data-v-73e6d2b2"]]), bo = ["aria-label"], xo = /* @__PURE__ */ d({
4221
4225
  __name: "PvMenuItemAction",
4222
4226
  props: {
4223
4227
  action: {},
@@ -4254,7 +4258,7 @@ var co = {
4254
4258
  role: "img",
4255
4259
  "aria-label": o.value,
4256
4260
  onClick: t[0] ||= q(() => {}, ["stop"])
4257
- }, [u(Z, { name: n.value }, null, 8, ["name"])], 10, yo)]),
4261
+ }, [u(Z, { name: n.value }, null, 8, ["name"])], 10, bo)]),
4258
4262
  _: 2
4259
4263
  }, [o.value ? {
4260
4264
  name: "content",
@@ -4262,7 +4266,7 @@ var co = {
4262
4266
  key: "0"
4263
4267
  } : void 0]), 1024));
4264
4268
  }
4265
- }), xo = Symbol("SelectedItemsKey"), So = Symbol("EnableCascadeSelectionKey"), Co = Symbol("MenuInteractionModeKey"), wo = Symbol("MenuAncestorIdsKey"), To = Symbol("OriginalOptionsMapKey"), Eo = Symbol("CascadeSelectedParentIdsKey"), Do = Symbol("CascadeDeselectedChildIdsKey"), Oo = Symbol("ParentSelectsAllChildrenKey"), ko = Symbol("EnableChildExpansionKey"), Ao = ["data-testid"], jo = [
4269
+ }), So = Symbol("SelectedItemsKey"), Co = Symbol("EnableCascadeSelectionKey"), wo = Symbol("MenuInteractionModeKey"), To = Symbol("MenuAncestorIdsKey"), Eo = Symbol("OriginalOptionsMapKey"), Do = Symbol("CascadeSelectedParentIdsKey"), Oo = Symbol("CascadeDeselectedChildIdsKey"), ko = Symbol("ParentSelectsAllChildrenKey"), Ao = Symbol("EnableChildExpansionKey"), jo = ["data-testid"], Mo = [
4266
4270
  "hidden",
4267
4271
  "type",
4268
4272
  "checked",
@@ -4270,10 +4274,10 @@ var co = {
4270
4274
  "tabindex",
4271
4275
  "aria-hidden",
4272
4276
  "disabled"
4273
- ], Mo = {
4277
+ ], No = {
4274
4278
  key: 4,
4275
4279
  class: "pv-menu-item-action"
4276
- }, No = ["aria-label", "aria-expanded"], Po = /* @__PURE__ */ Q(/* @__PURE__ */ d({
4280
+ }, Po = ["aria-label", "aria-expanded"], Fo = /* @__PURE__ */ Q(/* @__PURE__ */ d({
4277
4281
  inheritAttrs: !1,
4278
4282
  __name: "PvMenuItemVariant",
4279
4283
  props: {
@@ -4313,17 +4317,17 @@ var co = {
4313
4317
  },
4314
4318
  emits: ["handle-selected", "toggle-expanded"],
4315
4319
  setup(e, { emit: t }) {
4316
- let n = e, c = V("inputRef"), l = m(xo, void 0), d = m(So, k(!1)), p = m(To, void 0), h = m(Eo, void 0), g = m(Co, r(() => !1)), b = r(() => {
4317
- if (!d.value || !no(n)) return [];
4318
- let e = n.children ? ro(n.children) : [];
4320
+ let n = e, c = V("inputRef"), l = m(So, void 0), d = m(Co, k(!1)), p = m(Eo, void 0), h = m(Do, void 0), g = m(wo, r(() => !1)), b = r(() => {
4321
+ if (!d.value || !ro(n)) return [];
4322
+ let e = n.children ? io(n.children) : [];
4319
4323
  if (p?.value) {
4320
4324
  let t = p.value.get(n.id);
4321
- return io(t?.children ? ro(t.children) : [], e);
4325
+ return ao(t?.children ? io(t.children) : [], e);
4322
4326
  }
4323
4327
  return e;
4324
4328
  }), x = r(() => {
4325
4329
  if (!l?.value) return n.selected ?? !1;
4326
- if (d.value && no(n)) {
4330
+ if (d.value && ro(n)) {
4327
4331
  let e = b.value, t = e.length, r = e.filter((e) => l.value.some((t) => t.id === e.id)).length;
4328
4332
  if (h?.value?.has(n.id) && r >= t) return !0;
4329
4333
  let i = n.totalChildCount ?? t;
@@ -4331,7 +4335,7 @@ var co = {
4331
4335
  }
4332
4336
  return l.value.some((e) => e.id === n.id);
4333
4337
  }), S = r(() => {
4334
- if (!l?.value || !d.value || !no(n)) return n.indeterminate ?? !1;
4338
+ if (!l?.value || !d.value || !ro(n)) return n.indeterminate ?? !1;
4335
4339
  let e = b.value, t = e.length, r = e.filter((e) => l.value.some((t) => t.id === e.id)).length;
4336
4340
  if (h?.value?.has(n.id) && r >= t) return !1;
4337
4341
  let i = n.totalChildCount ?? t;
@@ -4385,8 +4389,8 @@ var co = {
4385
4389
  "aria-hidden": L(g) ? !0 : void 0,
4386
4390
  disabled: e.disabled,
4387
4391
  onChange: r[0] ||= (e) => L(g) ? void 0 : I(e)
4388
- }, null, 42, jo),
4389
- e.menuOptionConfig?.renderer ? (D(), i(N(e.menuOptionConfig?.renderer), _({ key: 0 }, T.value, { selected: x.value }), null, 16, ["selected"])) : (D(), i(mo, _({ key: 1 }, T.value, {
4392
+ }, null, 42, Mo),
4393
+ e.menuOptionConfig?.renderer ? (D(), i(N(e.menuOptionConfig?.renderer), _({ key: 0 }, T.value, { selected: x.value }), null, 16, ["selected"])) : (D(), i(ho, _({ key: 1 }, T.value, {
4390
4394
  menuOptionConfig: e.menuOptionConfig,
4391
4395
  queryText: e.queryText,
4392
4396
  highlightSearchText: e.highlightSearchText
@@ -4400,7 +4404,7 @@ var co = {
4400
4404
  name: "check",
4401
4405
  class: "pv-text-success"
4402
4406
  })) : a("", !0),
4403
- e.menuOptionConfig?.variant === "toggle" ? (D(), i(vo, {
4407
+ e.menuOptionConfig?.variant === "toggle" ? (D(), i(yo, {
4404
4408
  key: 3,
4405
4409
  modelValue: x.value,
4406
4410
  ariaLabel: n.text || "Toggle",
@@ -4408,7 +4412,7 @@ var co = {
4408
4412
  hideCheckIcon: "",
4409
4413
  style: { "pointer-events": "none" }
4410
4414
  }, null, 8, ["modelValue", "ariaLabel"])) : a("", !0),
4411
- E.value ? (D(), o("span", Mo, [u(bo, {
4415
+ E.value ? (D(), o("span", No, [u(xo, {
4412
4416
  action: E.value,
4413
4417
  option: n,
4414
4418
  disabled: e.disabled
@@ -4427,10 +4431,10 @@ var co = {
4427
4431
  }, [u(Z, {
4428
4432
  name: e.chevronIcon ?? "chevron-right",
4429
4433
  size: 12
4430
- }, null, 8, ["name"])], 8, No)) : a("", !0)
4431
- ], 16, Ao));
4434
+ }, null, 8, ["name"])], 8, Po)) : a("", !0)
4435
+ ], 16, jo));
4432
4436
  }
4433
- }), [["__scopeId", "data-v-9130f2b2"]]), Fo = ["data-active"], Io = { key: 0 }, Lo = 4, Ro = /* @__PURE__ */ d({
4437
+ }), [["__scopeId", "data-v-9130f2b2"]]), Io = ["data-active"], Lo = { key: 0 }, Ro = 4, zo = /* @__PURE__ */ d({
4434
4438
  inheritAttrs: !1,
4435
4439
  __name: "PvMenuItem",
4436
4440
  props: /* @__PURE__ */ g({
@@ -4469,7 +4473,7 @@ var co = {
4469
4473
  }),
4470
4474
  emits: /* @__PURE__ */ g(["handle-selected", "see-more"], ["update:selectedIds"]),
4471
4475
  setup(e, { emit: n }) {
4472
- let i = e, s = m(xo, void 0), c = z(e, "selectedIds"), l = m(ko, k(!1)), d = m(Oo, k(!1)), f = m(Co, r(() => !1)), p = ee(), h = r(() => {
4476
+ let i = e, s = m(So, void 0), c = z(e, "selectedIds"), l = m(Ao, k(!1)), d = m(ko, k(!1)), f = m(wo, r(() => !1)), p = ee(), h = r(() => {
4473
4477
  if (!f.value) return {};
4474
4478
  let e = new Set([
4475
4479
  "aria-checked",
@@ -4486,7 +4490,7 @@ var co = {
4486
4490
  "tabindex"
4487
4491
  ]);
4488
4492
  return Object.fromEntries(Object.entries(p).filter(([t]) => e.has(t)));
4489
- }), g = m(Eo, void 0), v = m(Do, void 0), b = k(i.defaultExpanded ?? !1);
4493
+ }), g = m(Do, void 0), v = m(Oo, void 0), b = k(i.defaultExpanded ?? !1);
4490
4494
  G(() => i.defaultExpanded, (e) => {
4491
4495
  e && (b.value = !0);
4492
4496
  });
@@ -4504,10 +4508,10 @@ var co = {
4504
4508
  }, O = r(() => ({ paddingLeft: `${i.level * 12 + 12}px` })), j = r(() => {
4505
4509
  let { level: e, config: t, itemClass: n, ...r } = i;
4506
4510
  return f.value && delete r.selectedIds, r;
4507
- }), N = r(() => no({
4511
+ }), N = r(() => ro({
4508
4512
  ...i,
4509
4513
  children: w.value
4510
- }) && i.level < Lo), P = r(() => N.value ? l.value ? b.value : !0 : !1), F = r(() => b.value ? "chevron-down" : "chevron-right"), I = (e) => s && Array.isArray(s.value) ? s.value.some((t) => t.id === e.id) : c.value.includes(e.id), R = n, B = r(() => C.value || i.totalChildCount == null ? !1 : i.totalChildCount > w.value.length), V = async () => {
4514
+ }) && i.level < Ro), P = r(() => N.value ? l.value ? b.value : !0 : !1), F = r(() => b.value ? "chevron-down" : "chevron-right"), I = (e) => s && Array.isArray(s.value) ? s.value.some((t) => t.id === e.id) : c.value.includes(e.id), R = n, B = r(() => C.value || i.totalChildCount == null ? !1 : i.totalChildCount > w.value.length), V = async () => {
4511
4515
  if (S.value) return;
4512
4516
  if (!i.handleSeeMore) {
4513
4517
  R("see-more", {
@@ -4557,7 +4561,7 @@ var co = {
4557
4561
  };
4558
4562
  return (n, r) => {
4559
4563
  let s = M("PvMenuItem", !0);
4560
- return D(), o(t, null, [u(Po, _({
4564
+ return D(), o(t, null, [u(Fo, _({
4561
4565
  ...j.value,
4562
4566
  ...h.value
4563
4567
  }, {
@@ -4605,7 +4609,7 @@ var co = {
4605
4609
  "queryText",
4606
4610
  "highlightSearchText",
4607
4611
  "level"
4608
- ])], 10, Fo))), 128)), B.value ? (D(), o("li", Io, [u($, {
4612
+ ])], 10, Io))), 128)), B.value ? (D(), o("li", Lo, [u($, {
4609
4613
  class: "pv-text-brand",
4610
4614
  variant: "ghost",
4611
4615
  label: "See more",
@@ -4615,12 +4619,12 @@ var co = {
4615
4619
  }, null, 8, ["loading"])])) : a("", !0)], 4)) : a("", !0)], 64);
4616
4620
  };
4617
4621
  }
4618
- }), zo = ["role"], Bo = [
4622
+ }), Bo = ["role"], Vo = [
4619
4623
  "data-active",
4620
4624
  "data-option-id",
4621
4625
  "data-testid",
4622
4626
  "role"
4623
- ], Vo = ["role"], Ho = ["data-pv-menu-ancestors"], Uo = ["id", "aria-label"], Wo = ["data-active", "data-option-id"], Go = "__pv-menu-see-more__", Ko = /* @__PURE__ */ Q(/* @__PURE__ */ d({
4627
+ ], Ho = ["role"], Uo = ["data-pv-menu-ancestors"], Wo = ["id", "aria-label"], Go = ["data-active", "data-option-id"], Ko = "__pv-menu-see-more__", qo = /* @__PURE__ */ Q(/* @__PURE__ */ d({
4624
4628
  inheritAttrs: !1,
4625
4629
  __name: "PvMenu",
4626
4630
  props: /* @__PURE__ */ g({
@@ -4663,8 +4667,8 @@ var co = {
4663
4667
  }, M = () => {
4664
4668
  let e = p.value;
4665
4669
  E(), e && v(() => Ce(e));
4666
- }, N = [...m(wo, []), h];
4667
- O(wo, N), oe(g, (e) => {
4670
+ }, N = [...m(To, []), h];
4671
+ O(To, N), oe(g, (e) => {
4668
4672
  (e.target instanceof Element ? e.target.closest("[data-pv-menu-ancestors]")?.dataset.pvMenuAncestors?.split(" ") : void 0)?.includes(h) || E();
4669
4673
  }, { ignore: [S] });
4670
4674
  let P = F(f.value);
@@ -4676,10 +4680,10 @@ var co = {
4676
4680
  };
4677
4681
  G(P, (e) => {
4678
4682
  e !== I && e !== f.value && ee(e);
4679
- }), O(xo, P), O(Co, r(() => l.childrenDisplay === "popover"));
4683
+ }), O(So, P), O(wo, r(() => l.childrenDisplay === "popover"));
4680
4684
  let B = r(() => l.childrenDisplay === "inline" && !!l.enableCascadeSelection);
4681
- O(So, B);
4682
- let V = m(To, void 0), te = m(Oo, k(!1)), H = m(Eo, void 0), U = m(Do, void 0), W = r(() => l.singleSelect || l.config?.variant === "radio"), re = r(() => l.options.find((e) => e.id === p.value && e.children?.length)), ae = (e, t, n = !1, r = !0) => {
4685
+ O(Co, B);
4686
+ let V = m(Eo, void 0), te = m(ko, k(!1)), H = m(Do, void 0), U = m(Oo, void 0), W = r(() => l.singleSelect || l.config?.variant === "radio"), re = r(() => l.options.find((e) => e.id === p.value && e.children?.length)), ae = (e, t, n = !1, r = !0) => {
4683
4687
  let i = !r || p.value !== e.id;
4684
4688
  p.value = i ? e.id : void 0, i && (C.value = t, v(() => {
4685
4689
  T(), n && xe(b.value ?? document.getElementById(h), 0);
@@ -4693,12 +4697,12 @@ var co = {
4693
4697
  return;
4694
4698
  }
4695
4699
  let r;
4696
- if (B.value && no(n)) {
4700
+ if (B.value && ro(n)) {
4697
4701
  let e;
4698
4702
  if (te.value && V?.value) {
4699
4703
  let t = V.value.get(n.id);
4700
- e = io(t?.children ? ro(t.children) : [], n.children ? ro(n.children) : []);
4701
- } else e = n.children ? ro(n.children) : [];
4704
+ e = ao(t?.children ? io(t.children) : [], n.children ? io(n.children) : []);
4705
+ } else e = n.children ? io(n.children) : [];
4702
4706
  let t = e.map((e) => e.id), i = P.value, a = (H?.value?.has(n.id) ?? !1) || t.some((e) => i.some((t) => t.id === e));
4703
4707
  if (r = a ? i.filter((e) => !t.includes(e.id)) : [...i, ...e], H?.value) {
4704
4708
  let e = new Set(H.value);
@@ -4715,7 +4719,7 @@ var co = {
4715
4719
  let t = e > -1;
4716
4720
  for (let e of H.value) {
4717
4721
  let r = V?.value?.get(e)?.children ?? l.options.find((t) => t.id === e)?.children;
4718
- if (!r || !(ro(r).some((e) => e.id === n.id) || l.options.find((t) => t.id === e)?.children?.some((e) => e.id === n.id))) continue;
4722
+ if (!r || !(io(r).some((e) => e.id === n.id) || l.options.find((t) => t.id === e)?.children?.some((e) => e.id === n.id))) continue;
4719
4723
  let i = new Map(U.value), a = new Set(i.get(e) ?? []);
4720
4724
  t ? a.add(n.id) : a.delete(n.id), a.size > 0 ? i.set(e, a) : i.delete(e), U.value = i;
4721
4725
  break;
@@ -4759,7 +4763,7 @@ var co = {
4759
4763
  return W.value || t === "radio" ? "menuitemradio" : t === "checkbox" ? "menuitemcheckbox" : "menuitem";
4760
4764
  }, pe = (e) => fe(e) === "menuitem" ? void 0 : !!de(e), X = (e) => e.children?.length && !l.highlightParentItems ? null : fe(e) !== "menuitemcheckbox" && de(e) || p.value === e.id ? !0 : null, me = (e) => fe(e) !== "menuitemcheckbox" && se.value.has(e.id) ? !0 : null, he = (e, t) => !!(!t || se.value.has(e.id) || H?.value?.has(e.id) || e.children?.length && ce(e.children)), ge = k(), _e = k(), ve = r(() => {
4761
4765
  let e = l.options.filter((e) => !l.readOnly && !e.disabled && he(e, l.isLoading)).map((e) => e.id);
4762
- return l.hasMoreOptions && !l.isSeeMoreLoading && e.push(Go), ge.value && e.includes(ge.value) ? ge.value : e[0];
4766
+ return l.hasMoreOptions && !l.isSeeMoreLoading && e.push(Ko), ge.value && e.includes(ge.value) ? ge.value : e[0];
4763
4767
  }), ye = r(() => {
4764
4768
  let e = re.value?.children?.filter((e) => !l.readOnly && !e.disabled) ?? [];
4765
4769
  return e.some((e) => e.id === _e.value) ? _e.value : e[0]?.id;
@@ -4854,7 +4858,7 @@ var co = {
4854
4858
  "data-testid": e.itemTestId,
4855
4859
  class: y(e.itemClass),
4856
4860
  role: e.childrenDisplay === "popover" ? "none" : void 0
4857
- }, [u(Ro, _({ ref_for: !0 }, le(t), {
4861
+ }, [u(zo, _({ ref_for: !0 }, le(t), {
4858
4862
  "aria-checked": e.childrenDisplay === "popover" ? pe(t) : void 0,
4859
4863
  "aria-controls": e.childrenDisplay === "popover" && t.children?.length ? L(h) : void 0,
4860
4864
  "aria-disabled": e.childrenDisplay === "popover" && (l.readOnly || t.disabled) ? "true" : void 0,
@@ -4890,7 +4894,7 @@ var co = {
4890
4894
  "tabindex",
4891
4895
  "onFocus",
4892
4896
  "onKeydown"
4893
- ])], 10, Bo)), [[ne, he(t, e.isLoading)]])), 128)), e.hasMoreOptions ? (D(), o("li", {
4897
+ ])], 10, Vo)), [[ne, he(t, e.isLoading)]])), 128)), e.hasMoreOptions ? (D(), o("li", {
4894
4898
  key: 0,
4895
4899
  role: e.childrenDisplay === "popover" ? "none" : void 0
4896
4900
  }, [u($, {
@@ -4900,9 +4904,9 @@ var co = {
4900
4904
  loading: e.isSeeMoreLoading,
4901
4905
  disabled: e.isSeeMoreLoading,
4902
4906
  role: e.childrenDisplay === "popover" ? "menuitem" : void 0,
4903
- tabindex: e.childrenDisplay === "popover" ? ve.value === Go ? 0 : -1 : void 0,
4907
+ tabindex: e.childrenDisplay === "popover" ? ve.value === Ko ? 0 : -1 : void 0,
4904
4908
  "data-testid": "pv-menu-see-more",
4905
- onFocus: c[1] ||= (e) => ge.value = Go,
4909
+ onFocus: c[1] ||= (e) => ge.value = Ko,
4906
4910
  onKeydown: c[2] ||= (t) => e.childrenDisplay === "popover" ? Ee(t) : void 0,
4907
4911
  onClick: c[3] ||= (e) => d("see-more", { parentId: void 0 })
4908
4912
  }, null, 8, [
@@ -4910,7 +4914,7 @@ var co = {
4910
4914
  "disabled",
4911
4915
  "role",
4912
4916
  "tabindex"
4913
- ])], 8, Vo)) : a("", !0)], 16, zo), e.childrenDisplay === "popover" && re.value ? (D(), i(n, {
4917
+ ])], 8, Ho)) : a("", !0)], 16, Bo), e.childrenDisplay === "popover" && re.value ? (D(), i(n, {
4914
4918
  key: 0,
4915
4919
  to: "body"
4916
4920
  }, [s("div", {
@@ -4944,7 +4948,7 @@ var co = {
4944
4948
  "data-option-id": t.id,
4945
4949
  class: y(e.itemClass),
4946
4950
  role: "none"
4947
- }, [u(Ro, _({ ref_for: !0 }, Y(t), {
4951
+ }, [u(zo, _({ ref_for: !0 }, Y(t), {
4948
4952
  "aria-checked": pe(t),
4949
4953
  "aria-disabled": l.readOnly || t.disabled ? "true" : void 0,
4950
4954
  "data-active": me(t),
@@ -4974,35 +4978,35 @@ var co = {
4974
4978
  "tabindex",
4975
4979
  "onFocus",
4976
4980
  "onKeydown"
4977
- ])], 10, Wo))), 128))], 8, Uo)], !0)]),
4981
+ ])], 10, Go))), 128))], 8, Wo)], !0)]),
4978
4982
  _: 3
4979
- })], 12, Ho)])) : a("", !0)], 64));
4983
+ })], 12, Uo)])) : a("", !0)], 64));
4980
4984
  }
4981
- }), [["__scopeId", "data-v-f14f755f"]]), qo = ["data-dd-action-name"], Jo = {
4985
+ }), [["__scopeId", "data-v-f14f755f"]]), Jo = ["data-dd-action-name"], Yo = {
4982
4986
  key: 1,
4983
4987
  class: "pv-inset-square-8"
4984
- }, Yo = {
4988
+ }, Xo = {
4985
4989
  key: 1,
4986
4990
  class: "pv-text-body-sm pv-inset-inline",
4987
4991
  style: {
4988
4992
  color: "var(--color-text-quaternary, #89989b)",
4989
4993
  "--inset-size": "8px"
4990
4994
  }
4991
- }, Xo = {
4995
+ }, Zo = {
4992
4996
  key: 2,
4993
4997
  class: "pv-border-top",
4994
4998
  style: { margin: "8px 0" }
4995
- }, Zo = {
4999
+ }, Qo = {
4996
5000
  key: 3,
4997
5001
  class: "pv-flex pv-inset-square-8 pv-text-body-sm pv-text-subdued",
4998
5002
  style: { "justify-content": "center" }
4999
- }, Qo = { key: 0 }, $o = {
5003
+ }, $o = { key: 0 }, es = {
5000
5004
  class: "pv-sticky pv-surface pv-border-top pv-inset-square-8",
5001
5005
  style: {
5002
5006
  "--flex-justify": "space-between",
5003
5007
  "--bottom": "0"
5004
5008
  }
5005
- }, es = /* @__PURE__ */ d({
5009
+ }, ts = /* @__PURE__ */ d({
5006
5010
  __name: "PvMultiSelectButton",
5007
5011
  props: /* @__PURE__ */ g({
5008
5012
  companyLogo: {},
@@ -5105,10 +5109,10 @@ var co = {
5105
5109
  };
5106
5110
  return t(c.options), e;
5107
5111
  }), f = F(/* @__PURE__ */ new Set()), m = F(/* @__PURE__ */ new Map());
5108
- O(To, d), O(Eo, f), O(Do, m), O(Oo, r(() => c.parentSelectsAllChildren)), O(ko, r(() => !!c.enableChildExpansion));
5112
+ O(Eo, d), O(Do, f), O(Oo, m), O(ko, r(() => c.parentSelectsAllChildren)), O(Ao, r(() => !!c.enableChildExpansion));
5109
5113
  let g = n, y = r(() => {
5110
5114
  let e = /* @__PURE__ */ new Map();
5111
- for (let [t, n] of d.value) no(n) && e.set(t, n.children ? ro(n.children) : []);
5115
+ for (let [t, n] of d.value) ro(n) && e.set(t, n.children ? io(n.children) : []);
5112
5116
  return e;
5113
5117
  }), S = () => {
5114
5118
  let e = /* @__PURE__ */ new Set();
@@ -5134,10 +5138,10 @@ var co = {
5134
5138
  return t;
5135
5139
  }, C = r(() => c.hasMoreOptions == null ? c.totalOptionCount == null ? !1 : c.totalOptionCount > c.options.length : c.hasMoreOptions), w = r(() => {
5136
5140
  let e = c.additionalCounter ?? 0;
5137
- if (c.enableCascadeSelection && c.countSelectedParents && ee.value?.length) return oo(ee.value) + e;
5141
+ if (c.enableCascadeSelection && c.countSelectedParents && ee.value?.length) return so(ee.value) + e;
5138
5142
  if (!c.countSelectedParents || !c.enableCascadeSelection) return W.value.length + e;
5139
5143
  let t = new Set(W.value.map((e) => e.id));
5140
- return ao(c.options, t) + e;
5144
+ return oo(c.options, t) + e;
5141
5145
  }), T = r(() => W.value.length > 0 ? !0 : c.enableCascadeSelection && ee.value?.length ? ee.value.some((e) => e.state === "selected") : !1), E = (e) => {
5142
5146
  g("see-more", e ?? {});
5143
5147
  }, k = V("searchInputRef"), [M, N] = de(c.defaultOpen), P = z(e, "modelValue"), ee = z(e, "selectionState"), R = z(e, "searchInput"), B = r(() => c.menuActionsVariant === "cancel-confirm"), te = (e) => {
@@ -5195,15 +5199,15 @@ var co = {
5195
5199
  let oe = r(() => {
5196
5200
  if (R.value === "") return c.options;
5197
5201
  let e = R.value.toLocaleLowerCase();
5198
- return c.enableCascadeSelection ? so(c.options, e, !c.hideParentOnChildQueryMatch) : c.options.filter((t) => t.text.toLocaleLowerCase().includes(e) || t.searchText?.toLocaleLowerCase().includes(e));
5202
+ return c.enableCascadeSelection ? co(c.options, e, !c.hideParentOnChildQueryMatch) : c.options.filter((t) => t.text.toLocaleLowerCase().includes(e) || t.searchText?.toLocaleLowerCase().includes(e));
5199
5203
  }), se = () => {
5200
5204
  if (c.enableCascadeSelection) {
5201
5205
  let e = /* @__PURE__ */ new Set(), t = (n) => {
5202
- for (let r of n) no(r) && (e.add(r.id), r.children?.length && t(r.children));
5206
+ for (let r of n) ro(r) && (e.add(r.id), r.children?.length && t(r.children));
5203
5207
  };
5204
5208
  t(oe.value), f.value = e, m.value = /* @__PURE__ */ new Map();
5205
5209
  }
5206
- let e = c.enableCascadeSelection ? ro(oe.value) : oe.value;
5210
+ let e = c.enableCascadeSelection ? io(oe.value) : oe.value;
5207
5211
  g("select-all", e.length), te(e);
5208
5212
  }, ce = () => {
5209
5213
  g("clear-all", W.value.length), f.value = /* @__PURE__ */ new Set(), m.value = /* @__PURE__ */ new Map(), te([]);
@@ -5240,7 +5244,7 @@ var co = {
5240
5244
  modelValue: L(M),
5241
5245
  "onUpdate:modelValue": r[4] ||= (e) => h(M) ? M.value = e : null
5242
5246
  }, e.popoverProperties, { offset: q.value }), {
5243
- trigger: K(() => [u(Za, {
5247
+ trigger: K(() => [u(Qa, {
5244
5248
  ref: "select-button-trigger-ref",
5245
5249
  variant: e.variant,
5246
5250
  size: e.size,
@@ -5296,11 +5300,11 @@ var co = {
5296
5300
  "onUpdate:modelValue": r[1] ||= (e) => R.value = e,
5297
5301
  class: "pv-stack-4",
5298
5302
  placeholder: e.searchPlaceholder
5299
- }, null, 8, ["model-value", "placeholder"])], 8, qo)),
5300
- n.$slots.header || L(_e) ? (D(), o("div", Jo, [j(n.$slots, "header", b(p(pe.value)))])) : a("", !0),
5303
+ }, null, 8, ["model-value", "placeholder"])], 8, Jo)),
5304
+ n.$slots.header || L(_e) ? (D(), o("div", Yo, [j(n.$slots, "header", b(p(pe.value)))])) : a("", !0),
5301
5305
  oe.value.length > 0 ? (D(), o(t, { key: 2 }, [fe.value ? (D(!0), o(t, { key: 0 }, A(ue.value, ([t, i], s) => (D(), o("div", { key: t }, [
5302
- n.$slots[t] ? j(n.$slots, t, { key: 0 }) : t === "other" ? a("", !0) : (D(), o("span", Yo, I(t), 1)),
5303
- u(Ko, {
5306
+ n.$slots[t] ? j(n.$slots, t, { key: 0 }) : t === "other" ? a("", !0) : (D(), o("span", Xo, I(t), 1)),
5307
+ u(qo, {
5304
5308
  selectedItems: ie.value,
5305
5309
  "onUpdate:selectedItems": r[2] ||= (e) => ie.value = e,
5306
5310
  options: i,
@@ -5326,8 +5330,8 @@ var co = {
5326
5330
  "enableCascadeSelection",
5327
5331
  "hasMoreOptions"
5328
5332
  ]),
5329
- ue.value && s !== ue.value.length - 1 ? (D(), o("div", Xo)) : a("", !0)
5330
- ]))), 128)) : (D(), i(Ko, {
5333
+ ue.value && s !== ue.value.length - 1 ? (D(), o("div", Zo)) : a("", !0)
5334
+ ]))), 128)) : (D(), i(qo, {
5331
5335
  key: 1,
5332
5336
  selectedItems: ie.value,
5333
5337
  "onUpdate:selectedItems": r[3] ||= (e) => ie.value = e,
@@ -5352,8 +5356,8 @@ var co = {
5352
5356
  "isSeeMoreLoading",
5353
5357
  "hasMoreOptions"
5354
5358
  ]))], 64)) : a("", !0),
5355
- e.isLoading ? (D(), o("div", Zo, [u(Ne, { variant: "dark" }), e.loadingText ? (D(), o("span", Qo, I(e.loadingText), 1)) : a("", !0)])) : oe.value.length === 0 ? (D(), o(t, { key: 4 }, [L(ve) ? j(n.$slots, "no-results", b(_({ key: 0 }, pe.value))) : (D(), i(to, { key: 1 }))], 64)) : a("", !0),
5356
- s("div", $o, [L(ye) ? j(n.$slots, "footer", b(_({ key: 0 }, pe.value))) : a("", !0), e.menuActionsVariant ? (D(), i(Ua, {
5359
+ e.isLoading ? (D(), o("div", Qo, [u(Ne, { variant: "dark" }), e.loadingText ? (D(), o("span", $o, I(e.loadingText), 1)) : a("", !0)])) : oe.value.length === 0 ? (D(), o(t, { key: 4 }, [L(ve) ? j(n.$slots, "no-results", b(_({ key: 0 }, pe.value))) : (D(), i(no, { key: 1 }))], 64)) : a("", !0),
5360
+ s("div", es, [L(ye) ? j(n.$slots, "footer", b(_({ key: 0 }, pe.value))) : a("", !0), e.menuActionsVariant ? (D(), i(Wa, {
5357
5361
  key: 1,
5358
5362
  variant: e.menuActionsVariant,
5359
5363
  disabled: e.isLoading,
@@ -5371,10 +5375,10 @@ var co = {
5371
5375
  _: 3
5372
5376
  }, 16, ["modelValue", "offset"]));
5373
5377
  }
5374
- }), ts = { class: "pv-popover-scroll" }, ns = {
5378
+ }), ns = { class: "pv-popover-scroll" }, rs = {
5375
5379
  key: 0,
5376
5380
  class: "pv-inset-square-8 pv-border-bottom"
5377
- }, rs = /* @__PURE__ */ d({
5381
+ }, is = /* @__PURE__ */ d({
5378
5382
  __name: "PvSelectButton",
5379
5383
  props: /* @__PURE__ */ g({
5380
5384
  defaultOpen: { type: Boolean },
@@ -5474,7 +5478,7 @@ var co = {
5474
5478
  modelValue: L(f),
5475
5479
  "onUpdate:modelValue": n[2] ||= (e) => h(f) ? f.value = e : null
5476
5480
  }, c.value), {
5477
- trigger: K(() => [u(Za, {
5481
+ trigger: K(() => [u(Qa, {
5478
5482
  class: "pv-full-width",
5479
5483
  ref: "select-button-trigger-ref",
5480
5484
  variant: e.variant,
@@ -5522,14 +5526,14 @@ var co = {
5522
5526
  class: "pv-popover pv-popover-scrollable",
5523
5527
  "data-test-id": "pv-popover",
5524
5528
  style: x([e.popoverCssProperties, { position: "unset" }])
5525
- }, [s("div", ts, [
5526
- e.disableSearchInput ? a("", !0) : (D(), o("div", ns, [u(ui, {
5529
+ }, [s("div", ns, [
5530
+ e.disableSearchInput ? a("", !0) : (D(), o("div", rs, [u(ui, {
5527
5531
  "model-value": m.value,
5528
5532
  "onUpdate:modelValue": n[0] ||= (e) => m.value = e,
5529
5533
  class: "pv-stack-4",
5530
5534
  placeholder: e.searchPlaceholder
5531
5535
  }, null, 8, ["model-value", "placeholder"])])),
5532
- S.value.length > 0 ? (D(), i(Ko, {
5536
+ S.value.length > 0 ? (D(), i(qo, {
5533
5537
  key: 1,
5534
5538
  selectedItems: C.value,
5535
5539
  "onUpdate:selectedItems": n[1] ||= (e) => C.value = e,
@@ -5547,24 +5551,24 @@ var co = {
5547
5551
  "queryText",
5548
5552
  "disableDeselect",
5549
5553
  "childrenDisplay"
5550
- ])) : (D(), i(to, { key: 2 })),
5554
+ ])) : (D(), i(no, { key: 2 })),
5551
5555
  j(t.$slots, "footer")
5552
5556
  ])], 4)]),
5553
5557
  _: 3
5554
5558
  }, 16, ["modelValue"]));
5555
5559
  }
5556
- }), is = {
5560
+ }), as = {
5557
5561
  short: 5,
5558
5562
  long: 7
5559
- }, as = ({ variant: e = "long" } = {}) => ({ getPaginations: ({ currentPage: t, pages: n }) => {
5560
- if (n <= is[e]) return Array.from({ length: n }, (e, t) => ({
5563
+ }, os = ({ variant: e = "long" } = {}) => ({ getPaginations: ({ currentPage: t, pages: n }) => {
5564
+ if (n <= as[e]) return Array.from({ length: n }, (e, t) => ({
5561
5565
  page: t + 1,
5562
5566
  label: (t + 1).toString()
5563
5567
  }));
5564
5568
  let r = [{
5565
5569
  page: 1,
5566
5570
  label: "1"
5567
- }], i = is[e] - 3, a = Math.floor(i / 2), o = t - a, s = t + a, c = o > 2, l = s < n - 1;
5571
+ }], i = as[e] - 3, a = Math.floor(i / 2), o = t - a, s = t + a, c = o > 2, l = s < n - 1;
5568
5572
  if (o <= 2 && (o = 2, s = o + i - 1), s >= n - 1 && (s = n - 1, o = s - i + 1), c && r.push({
5569
5573
  page: 0,
5570
5574
  label: "..."
@@ -5583,11 +5587,11 @@ var co = {
5583
5587
  page: n,
5584
5588
  label: n.toString()
5585
5589
  }), r;
5586
- } }), os = ["data-style"], ss = ["data-testid", "aria-current"], cs = {
5590
+ } }), ss = ["data-style"], cs = ["data-testid", "aria-current"], ls = {
5587
5591
  key: 0,
5588
5592
  class: "dots-button",
5589
5593
  disabled: ""
5590
- }, ls = ["onClick"], us = /* @__PURE__ */ Q(/* @__PURE__ */ d({
5594
+ }, us = ["onClick"], ds = /* @__PURE__ */ Q(/* @__PURE__ */ d({
5591
5595
  __name: "PvPagination",
5592
5596
  props: /* @__PURE__ */ g({
5593
5597
  size: { default: "lg" },
@@ -5600,7 +5604,7 @@ var co = {
5600
5604
  }),
5601
5605
  emits: ["update:modelValue"],
5602
5606
  setup(e) {
5603
- let { getPaginations: n } = as({ variant: e.variant }), r = z(e, "modelValue");
5607
+ let { getPaginations: n } = os({ variant: e.variant }), r = z(e, "modelValue");
5604
5608
  return (i, a) => (D(), o("ol", {
5605
5609
  role: "list",
5606
5610
  class: "pv-pagination",
@@ -5622,10 +5626,10 @@ var co = {
5622
5626
  key: e.page,
5623
5627
  "data-testid": `pagination-button-${e.page}`,
5624
5628
  "aria-current": e.page === r.value ? "page" : void 0
5625
- }, [e.label === "..." ? (D(), o("button", cs, I(e.label), 1)) : (D(), o("button", {
5629
+ }, [e.label === "..." ? (D(), o("button", ls, I(e.label), 1)) : (D(), o("button", {
5626
5630
  key: 1,
5627
5631
  onClick: (t) => i.$emit("update:modelValue", e.page)
5628
- }, I(e.label), 9, ls))], 8, ss))), 128)),
5632
+ }, I(e.label), 9, us))], 8, cs))), 128)),
5629
5633
  s("li", null, [u($, {
5630
5634
  "data-testid": "pagination-right-arrow-icon",
5631
5635
  disabled: r.value === e.maxPages,
@@ -5634,14 +5638,14 @@ var co = {
5634
5638
  variant: "ghost",
5635
5639
  onClick: a[1] ||= (e) => i.$emit("update:modelValue", r.value + 1)
5636
5640
  }, null, 8, ["disabled"])])
5637
- ], 8, os));
5641
+ ], 8, ss));
5638
5642
  }
5639
- }), [["__scopeId", "data-v-cfa4cb54"]]), ds = ["for"], fs = [
5643
+ }), [["__scopeId", "data-v-cfa4cb54"]]), fs = ["for"], ps = [
5640
5644
  "checked",
5641
5645
  "type",
5642
5646
  "value",
5643
5647
  "id"
5644
- ], ps = /* @__PURE__ */ d({
5648
+ ], ms = /* @__PURE__ */ d({
5645
5649
  __name: "PvSelectableCard",
5646
5650
  props: {
5647
5651
  variant: { default: "default" },
@@ -5663,33 +5667,33 @@ var co = {
5663
5667
  type: e.deselect ? "checkbox" : "radio",
5664
5668
  value: e.value,
5665
5669
  id: t.value
5666
- }, null, 8, fs), j(n.$slots, "default")], 10, ds));
5670
+ }, null, 8, ps), j(n.$slots, "default")], 10, fs));
5667
5671
  }
5668
- }), ms = { class: "pv-layout-two-sidebar" }, hs = ["data-hidden"], gs = { "data-layout": "main-section" }, _s = ["data-hidden"], vs = /* @__PURE__ */ d({
5672
+ }), hs = { class: "pv-layout-two-sidebar" }, gs = ["data-hidden"], _s = { "data-layout": "main-section" }, vs = ["data-hidden"], ys = /* @__PURE__ */ d({
5669
5673
  __name: "PvSidePanel",
5670
5674
  props: {
5671
5675
  showLeftSidebar: { type: Boolean },
5672
5676
  showRightSidebar: { type: Boolean }
5673
5677
  },
5674
5678
  setup(e) {
5675
- return (t, n) => (D(), o("div", ms, [
5679
+ return (t, n) => (D(), o("div", hs, [
5676
5680
  s("div", {
5677
5681
  "data-hidden": e.showLeftSidebar === !1 ? !0 : void 0,
5678
5682
  "data-testid": "pv-side-panel-left",
5679
5683
  "data-layout": "left-sidebar"
5680
- }, [j(t.$slots, "left-sidebar")], 8, hs),
5681
- s("div", gs, [j(t.$slots, "main")]),
5684
+ }, [j(t.$slots, "left-sidebar")], 8, gs),
5685
+ s("div", _s, [j(t.$slots, "main")]),
5682
5686
  s("div", {
5683
5687
  "data-hidden": e.showRightSidebar === !1 ? !0 : void 0,
5684
5688
  "data-testid": "pv-side-panel-right",
5685
5689
  "data-layout": "right-sidebar"
5686
- }, [j(t.$slots, "right-sidebar")], 8, _s)
5690
+ }, [j(t.$slots, "right-sidebar")], 8, vs)
5687
5691
  ]));
5688
5692
  }
5689
- }), ys = {
5693
+ }), bs = {
5690
5694
  key: 0,
5691
5695
  class: "pv-heading-2"
5692
- }, bs = ["id"], xs = { class: "pv-flex" }, Ss = ["id"], Cs = /* @__PURE__ */ d({
5696
+ }, xs = ["id"], Ss = { class: "pv-flex" }, Cs = ["id"], ws = /* @__PURE__ */ d({
5693
5697
  __name: "PvHeader",
5694
5698
  props: {
5695
5699
  as: { default: "div" },
@@ -5717,14 +5721,14 @@ var co = {
5717
5721
  "background-color": "#fdfdfc"
5718
5722
  }
5719
5723
  }, {
5720
- default: K(() => [e.title ? (D(), o("span", ys, I(e.title), 1)) : (D(), o("div", {
5724
+ default: K(() => [e.title ? (D(), o("span", bs, I(e.title), 1)) : (D(), o("div", {
5721
5725
  key: 1,
5722
5726
  id: e.headerTitleId,
5723
5727
  class: "pv-flex"
5724
- }, [j(r.$slots, "left")], 8, bs)), s("div", xs, [s("div", {
5728
+ }, [j(r.$slots, "left")], 8, xs)), s("div", Ss, [s("div", {
5725
5729
  id: e.headerActionsId,
5726
5730
  class: "pv-flex"
5727
- }, [j(r.$slots, "right")], 8, Ss), e.showAskTqButton ? (D(), o("div", {
5731
+ }, [j(r.$slots, "right")], 8, Cs), e.showAskTqButton ? (D(), o("div", {
5728
5732
  key: 0,
5729
5733
  class: y({ "pv-border-left": L(n) }),
5730
5734
  style: { "padding-inline-start": "0.5rem" }
@@ -5737,7 +5741,7 @@ var co = {
5737
5741
  _: 3
5738
5742
  }, 8, ["class"]));
5739
5743
  }
5740
- }), ws = ["data-more"], Ts = ["src", "alt"], Es = /* @__PURE__ */ d({
5744
+ }), Ts = ["data-more"], Es = ["src", "alt"], Ds = /* @__PURE__ */ d({
5741
5745
  __name: "PvAvatarGroup",
5742
5746
  props: {
5743
5747
  items: {},
@@ -5766,18 +5770,18 @@ var co = {
5766
5770
  key: 1,
5767
5771
  src: e.image,
5768
5772
  alt: e.alt ?? ""
5769
- }, null, 8, Ts)) : (D(), o("div", {
5773
+ }, null, 8, Es)) : (D(), o("div", {
5770
5774
  key: 2,
5771
5775
  class: y(c.value)
5772
- }, null, 2))]))), 128))], 10, ws));
5776
+ }, null, 2))]))), 128))], 10, Ts));
5773
5777
  }
5774
- }), Ds = { class: "pv-flex" }, Os = [
5778
+ }), Os = { class: "pv-flex" }, ks = [
5775
5779
  "name",
5776
5780
  "value",
5777
5781
  "checked",
5778
5782
  "disabled",
5779
5783
  "onChange"
5780
- ], ks = { key: 1 }, As = /* @__PURE__ */ d({
5784
+ ], As = { key: 1 }, js = /* @__PURE__ */ d({
5781
5785
  __name: "PvToggleGroup",
5782
5786
  props: /* @__PURE__ */ g({
5783
5787
  disabled: { type: Boolean },
@@ -5799,7 +5803,7 @@ var co = {
5799
5803
  r.value = e;
5800
5804
  }
5801
5805
  };
5802
- return (n, u) => (D(), o("div", Ds, [(D(!0), o(t, null, A(e.options, (t) => (D(), i(ir, {
5806
+ return (n, u) => (D(), o("div", Os, [(D(!0), o(t, null, A(e.options, (t) => (D(), i(ir, {
5803
5807
  key: t.value,
5804
5808
  description: e.hideLabels ? t.label : ""
5805
5809
  }, {
@@ -5812,21 +5816,21 @@ var co = {
5812
5816
  class: "pv-radio",
5813
5817
  disabled: e.disabled || t.disabled,
5814
5818
  onChange: (e) => l(t)
5815
- }, null, 40, Os),
5819
+ }, null, 40, ks),
5816
5820
  t.icon ? (D(), i(Z, {
5817
5821
  key: 0,
5818
5822
  name: t.icon
5819
5823
  }, null, 8, ["name"])) : a("", !0),
5820
- e.hideLabels ? a("", !0) : (D(), o("span", ks, I(t.label), 1))
5824
+ e.hideLabels ? a("", !0) : (D(), o("span", As, I(t.label), 1))
5821
5825
  ], 2)]),
5822
5826
  _: 2
5823
5827
  }, 1032, ["description"]))), 128))]));
5824
5828
  }
5825
- }), js = [
5829
+ }), Ms = [
5826
5830
  "aria-label",
5827
5831
  "disabled",
5828
5832
  "indeterminate"
5829
- ], Ms = /* @__PURE__ */ d({
5833
+ ], Ns = /* @__PURE__ */ d({
5830
5834
  __name: "PvCheckbox",
5831
5835
  props: /* @__PURE__ */ g({
5832
5836
  ariaLabel: {},
@@ -5847,13 +5851,13 @@ var co = {
5847
5851
  "aria-label": e.ariaLabel,
5848
5852
  disabled: e.disabled,
5849
5853
  indeterminate: e.indeterminate
5850
- }, null, 8, js)), [[te, t.value]]);
5854
+ }, null, 8, Ms)), [[te, t.value]]);
5851
5855
  }
5852
- }), Ns = ["aria-label", "aria-labelledby"], Ps = ["id"], Fs = [
5856
+ }), Ps = ["aria-label", "aria-labelledby"], Fs = ["id"], Is = [
5853
5857
  "name",
5854
5858
  "value",
5855
5859
  "disabled"
5856
- ], Is = /* @__PURE__ */ d({
5860
+ ], Ls = /* @__PURE__ */ d({
5857
5861
  __name: "PvRadioGroup",
5858
5862
  props: /* @__PURE__ */ g({
5859
5863
  ariaLabel: {},
@@ -5884,7 +5888,7 @@ var co = {
5884
5888
  key: 0,
5885
5889
  id: L(u),
5886
5890
  class: "pv-label pv-stack-8"
5887
- }, I(e.label), 9, Ps)) : a("", !0), s("div", {
5891
+ }, I(e.label), 9, Fs)) : a("", !0), s("div", {
5888
5892
  class: y(e.orientation === "horizontal" ? "pv-flex" : "pv-flex-vertical"),
5889
5893
  style: x(f.value)
5890
5894
  }, [(D(!0), o(t, null, A(e.options, (t) => (D(), o("label", {
@@ -5897,9 +5901,9 @@ var co = {
5897
5901
  name: d.value,
5898
5902
  value: t.value,
5899
5903
  disabled: e.disabled || t.disabled
5900
- }, null, 8, Fs), [[U, i.value]]), l(" " + I(t.label), 1)]))), 128))], 6)], 8, Ns));
5904
+ }, null, 8, Is), [[U, i.value]]), l(" " + I(t.label), 1)]))), 128))], 6)], 8, Ps));
5901
5905
  }
5902
- }), Ls = /* @__PURE__ */ d({
5906
+ }), Rs = /* @__PURE__ */ d({
5903
5907
  __name: "PvSprite",
5904
5908
  props: {
5905
5909
  src: {},
@@ -5920,7 +5924,7 @@ var co = {
5920
5924
  id: "pv-sprite-content"
5921
5925
  }, null, -1)]));
5922
5926
  }
5923
- }), Rs = /* @__PURE__ */ d({
5927
+ }), zs = /* @__PURE__ */ d({
5924
5928
  __name: "PvSkeleton",
5925
5929
  props: {
5926
5930
  size: { default: "md" },
@@ -5947,18 +5951,18 @@ var co = {
5947
5951
  "width"
5948
5952
  ]));
5949
5953
  }
5950
- }), zs = ["for"], Bs = {
5954
+ }), Bs = ["for"], Vs = {
5951
5955
  key: 0,
5952
5956
  class: "pv-surface-accent pv-inset-square pv-text-body-md pv-radius pv-bordered",
5953
5957
  style: { "--inset-size": "6px 10px" }
5954
- }, Vs = { class: "pv-relative pv-flex-item" }, Hs = [
5958
+ }, Hs = { class: "pv-relative pv-flex-item" }, Us = [
5955
5959
  "disabled",
5956
5960
  "type",
5957
5961
  "placeholder",
5958
5962
  "id",
5959
5963
  "data-invalid",
5960
5964
  "step"
5961
- ], Us = /* @__PURE__ */ d({
5965
+ ], Ws = /* @__PURE__ */ d({
5962
5966
  __name: "PvInput",
5963
5967
  props: /* @__PURE__ */ g({
5964
5968
  showLabel: { type: Boolean },
@@ -5985,8 +5989,8 @@ var co = {
5985
5989
  "data-testid": "pv-input-label",
5986
5990
  class: "pv-label pv-stack-8",
5987
5991
  for: e.id
5988
- }, [j(n.$slots, "label")], 8, zs)) : a("", !0),
5989
- s("div", { class: y(["pv-flex pv-flex-item", { "pv-stack-8": e.lowerLabel }]) }, [e.prefixLabel ? (D(), o("div", Bs, I(e.prefixLabel), 1)) : a("", !0), s("div", Vs, [e.inputIcon ? (D(), i(Z, {
5992
+ }, [j(n.$slots, "label")], 8, Bs)) : a("", !0),
5993
+ s("div", { class: y(["pv-flex pv-flex-item", { "pv-stack-8": e.lowerLabel }]) }, [e.prefixLabel ? (D(), o("div", Vs, I(e.prefixLabel), 1)) : a("", !0), s("div", Hs, [e.inputIcon ? (D(), i(Z, {
5990
5994
  key: 0,
5991
5995
  class: "pv-absolute input-icon-position",
5992
5996
  name: e.inputIcon
@@ -6004,7 +6008,7 @@ var co = {
6004
6008
  id: e.id,
6005
6009
  "data-invalid": e.error ? !0 : void 0,
6006
6010
  step: e.step
6007
- }), null, 16, Hs), [[H, c.value]])])], 2),
6011
+ }), null, 16, Us), [[H, c.value]])])], 2),
6008
6012
  e.lowerLabel ? (D(), o("p", {
6009
6013
  key: 1,
6010
6014
  "data-testid": "pv-input-lower-label",
@@ -6016,15 +6020,15 @@ var co = {
6016
6020
  }, I(e.lowerLabel), 3)) : a("", !0)
6017
6021
  ], 64));
6018
6022
  }
6019
- }), Ws = { class: "pv-stack-8" }, Gs = { class: "pv-input-file" }, Ks = [
6023
+ }), Gs = { class: "pv-stack-8" }, Ks = { class: "pv-input-file" }, qs = [
6020
6024
  "id",
6021
6025
  "accept",
6022
6026
  "disabled",
6023
6027
  "multiple"
6024
- ], qs = ["for"], Js = {
6028
+ ], Js = ["for"], Ys = {
6025
6029
  key: 0,
6026
6030
  class: "pv-stack-8"
6027
- }, Ys = { class: "pv-flex-item pv-truncate pv-text-body-sm" }, Xs = /* @__PURE__ */ d({
6031
+ }, Xs = { class: "pv-flex-item pv-truncate pv-text-body-sm" }, Zs = /* @__PURE__ */ d({
6028
6032
  __name: "PvFileInput",
6029
6033
  props: /* @__PURE__ */ g({
6030
6034
  helperText: {},
@@ -6052,7 +6056,7 @@ var co = {
6052
6056
  }, m = (e) => {
6053
6057
  d.value = d.value.filter((t) => t !== e);
6054
6058
  }, h = r(() => !c.showSelectedFile || d.value.length === 0 ? c.helperText : d.value.length === 1 ? d.value[0].name : `${d.value.length} files selected`);
6055
- return (n, r) => (D(), o("div", Ws, [s("div", Gs, [
6059
+ return (n, r) => (D(), o("div", Gs, [s("div", Ks, [
6056
6060
  s("input", {
6057
6061
  id: L(f),
6058
6062
  type: "file",
@@ -6061,11 +6065,11 @@ var co = {
6061
6065
  disabled: e.disabled,
6062
6066
  multiple: e.multiple,
6063
6067
  onChange: p
6064
- }, null, 40, Ks),
6068
+ }, null, 40, qs),
6065
6069
  s("label", {
6066
6070
  for: L(f),
6067
6071
  class: "pv-label"
6068
- }, [s("span", { class: y([`pv-button-${e.confirmButtonVariant}`, "pv-button-large"]) }, "Choose File", 2)], 8, qs),
6072
+ }, [s("span", { class: y([`pv-button-${e.confirmButtonVariant}`, "pv-button-large"]) }, "Choose File", 2)], 8, Js),
6069
6073
  s("p", { class: y(["pv-text-body-sm", e.showSelectedFile && d.value.length ? "pv-flex-item pv-truncate" : "pv-text-subdued"]) }, I(h.value), 3),
6070
6074
  e.showSelectedFile && d.value.length === 1 ? (D(), i($, {
6071
6075
  key: 0,
@@ -6075,10 +6079,10 @@ var co = {
6075
6079
  "aria-label": "Remove file",
6076
6080
  onClick: r[0] ||= (e) => m(d.value[0])
6077
6081
  }, null, 8, ["variant"])) : a("", !0)
6078
- ]), e.showSelectedFile && d.value.length > 1 ? (D(), o("ul", Js, [(D(!0), o(t, null, A(d.value, (t) => (D(), o("li", {
6082
+ ]), e.showSelectedFile && d.value.length > 1 ? (D(), o("ul", Ys, [(D(!0), o(t, null, A(d.value, (t) => (D(), o("li", {
6079
6083
  key: t.name,
6080
6084
  class: "pv-full-width pv-bordered pv-radius-md pv-flex pv-space-between pv-inset-square"
6081
- }, [s("p", Ys, I(t.name), 1), u($, {
6085
+ }, [s("p", Xs, I(t.name), 1), u($, {
6082
6086
  "left-icon": "trash",
6083
6087
  variant: e.destructiveButtonVariant,
6084
6088
  size: "md",
@@ -6086,7 +6090,7 @@ var co = {
6086
6090
  onClick: (e) => m(t)
6087
6091
  }, null, 8, ["variant", "onClick"])]))), 128))])) : a("", !0)]));
6088
6092
  }
6089
- }), Zs = ["data-rating"], Qs = ["value"], $s = /* @__PURE__ */ d({
6093
+ }), Qs = ["data-rating"], $s = ["value"], ec = /* @__PURE__ */ d({
6090
6094
  __name: "PvRating",
6091
6095
  props: {
6092
6096
  variant: { default: "dot" },
@@ -6105,18 +6109,18 @@ var co = {
6105
6109
  min: "0",
6106
6110
  max: "5",
6107
6111
  value: e.value
6108
- }, "4.0 stars", 8, Qs)], 12, Zs));
6112
+ }, "4.0 stars", 8, $s)], 12, Qs));
6109
6113
  }
6110
- }), ec = {
6114
+ }), tc = {
6111
6115
  key: 0,
6112
6116
  class: "pv-flex pv-full-width"
6113
- }, tc = { class: "pv-flex-item pv-truncate" }, nc = { class: "pv-card-hover-action__action pv-flex" }, rc = {
6117
+ }, nc = { class: "pv-flex-item pv-truncate" }, rc = { class: "pv-card-hover-action__action pv-flex" }, ic = {
6114
6118
  key: 1,
6115
6119
  class: "pv-flex pv-full-width"
6116
- }, ic = { class: "pv-flex-item pv-truncate" }, ac = { class: "pv-card-hover-action__action pv-flex" }, oc = {
6120
+ }, ac = { class: "pv-flex-item pv-truncate" }, oc = { class: "pv-card-hover-action__action pv-flex" }, sc = {
6117
6121
  key: 2,
6118
6122
  class: "pv-flex pv-full-width"
6119
- }, sc = { class: "pv-flex-item pv-truncate" }, cc = { class: "pv-card-hover-action__action pv-flex" }, lc = /* @__PURE__ */ d({
6123
+ }, cc = { class: "pv-flex-item pv-truncate" }, lc = { class: "pv-card-hover-action__action pv-flex" }, uc = /* @__PURE__ */ d({
6120
6124
  __name: "PvCard",
6121
6125
  props: {
6122
6126
  href: {},
@@ -6152,9 +6156,9 @@ var co = {
6152
6156
  "data-testid": "pv-card"
6153
6157
  }, {
6154
6158
  default: K(() => [c.value ? (D(), o(t, { key: 0 }, [
6155
- e.headerAction ? (D(), o("div", ec, [s("div", tc, [j(n.$slots, "header")]), s("div", nc, [j(n.$slots, "header-action")])])) : a("", !0),
6156
- e.descriptionAction ? (D(), o("div", rc, [s("div", ic, [j(n.$slots, "description")]), s("div", ac, [j(n.$slots, "description-action")])])) : a("", !0),
6157
- e.footerAction ? (D(), o("div", oc, [s("div", sc, [j(n.$slots, "footer")]), s("div", cc, [j(n.$slots, "footer-action")])])) : a("", !0)
6159
+ e.headerAction ? (D(), o("div", tc, [s("div", nc, [j(n.$slots, "header")]), s("div", rc, [j(n.$slots, "header-action")])])) : a("", !0),
6160
+ e.descriptionAction ? (D(), o("div", ic, [s("div", ac, [j(n.$slots, "description")]), s("div", oc, [j(n.$slots, "description-action")])])) : a("", !0),
6161
+ e.footerAction ? (D(), o("div", sc, [s("div", cc, [j(n.$slots, "footer")]), s("div", lc, [j(n.$slots, "footer-action")])])) : a("", !0)
6158
6162
  ], 64)) : j(n.$slots, "default", { key: 1 })]),
6159
6163
  _: 3
6160
6164
  }, 8, [
@@ -6164,34 +6168,34 @@ var co = {
6164
6168
  "style"
6165
6169
  ]));
6166
6170
  }
6167
- }), uc = /* @__PURE__ */ d({
6171
+ }), dc = /* @__PURE__ */ d({
6168
6172
  __name: "PvWidget",
6169
6173
  setup(e) {
6170
- return (e, t) => (D(), i(lc, { class: "pv-inset-square-16" }, {
6174
+ return (e, t) => (D(), i(uc, { class: "pv-inset-square-16" }, {
6171
6175
  default: K(() => [j(e.$slots, "default")]),
6172
6176
  _: 3
6173
6177
  }));
6174
6178
  }
6175
- }), dc = {
6179
+ }), fc = {
6176
6180
  class: "pv-flex-vertical",
6177
6181
  style: {
6178
6182
  "--flex-align": "flex-start",
6179
6183
  "--flex-gap": "0.25rem"
6180
6184
  }
6181
- }, fc = {
6185
+ }, pc = {
6182
6186
  key: 0,
6183
6187
  class: "pv-flex",
6184
6188
  style: { "--flex-gap": "0.25rem" }
6185
- }, pc = { class: "pv-text-body-sm" }, mc = {
6189
+ }, mc = { class: "pv-text-body-sm" }, hc = {
6186
6190
  key: 1,
6187
6191
  class: "pv-text-body-sm pv-text-tertiary"
6188
- }, hc = {
6192
+ }, gc = {
6189
6193
  key: 2,
6190
6194
  class: "pv-heading-2"
6191
- }, gc = {
6195
+ }, _c = {
6192
6196
  key: 3,
6193
6197
  class: "pv-text-body-md pv-text-secondary pv-text-subdued"
6194
- }, _c = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6198
+ }, vc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6195
6199
  __name: "PvInsightCard",
6196
6200
  props: {
6197
6201
  icon: { default: "ai" },
@@ -6211,22 +6215,22 @@ var co = {
6211
6215
  emits: ["click", "icon-click"],
6212
6216
  setup(e) {
6213
6217
  let t = e, n = r(() => t.icon || t.insight);
6214
- return (t, r) => (D(), i(lc, {
6218
+ return (t, r) => (D(), i(uc, {
6215
6219
  variant: "secondary",
6216
6220
  interactive: e.interactive,
6217
6221
  onClick: r[1] ||= (e) => t.$emit("click"),
6218
6222
  class: "pv-relative"
6219
6223
  }, {
6220
- default: K(() => [s("div", dc, [
6221
- n.value ? (D(), o("div", fc, [e.icon ? (D(), i(Z, {
6224
+ default: K(() => [s("div", fc, [
6225
+ n.value ? (D(), o("div", pc, [e.icon ? (D(), i(Z, {
6222
6226
  key: 0,
6223
6227
  style: { color: "#218c88" },
6224
6228
  name: e.icon,
6225
6229
  size: 12
6226
- }, null, 8, ["name"])) : a("", !0), s("span", pc, I(e.insight), 1)])) : a("", !0),
6227
- e.upperLabel ? (D(), o("span", mc, I(e.upperLabel), 1)) : a("", !0),
6228
- e.title ? (D(), o("span", hc, I(e.title), 1)) : a("", !0),
6229
- e.description ? (D(), o("span", gc, I(e.description), 1)) : a("", !0)
6230
+ }, null, 8, ["name"])) : a("", !0), s("span", mc, I(e.insight), 1)])) : a("", !0),
6231
+ e.upperLabel ? (D(), o("span", hc, I(e.upperLabel), 1)) : a("", !0),
6232
+ e.title ? (D(), o("span", gc, I(e.title), 1)) : a("", !0),
6233
+ e.description ? (D(), o("span", _c, I(e.description), 1)) : a("", !0)
6230
6234
  ]), e.showButton ? (D(), i($, {
6231
6235
  key: 0,
6232
6236
  "left-icon": "new-tab",
@@ -6239,7 +6243,7 @@ var co = {
6239
6243
  _: 1
6240
6244
  }, 8, ["interactive"]));
6241
6245
  }
6242
- }), [["__scopeId", "data-v-c1185c07"]]), vc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6246
+ }), [["__scopeId", "data-v-c1185c07"]]), yc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6243
6247
  __name: "PvExpandableContent",
6244
6248
  props: {
6245
6249
  lines: { default: 4 },
@@ -6293,29 +6297,29 @@ var co = {
6293
6297
  "left-icon": l.value ? "chevron-up" : "chevron-down"
6294
6298
  }, null, 8, ["label", "left-icon"])) : a("", !0)], 6));
6295
6299
  }
6296
- }), [["__scopeId", "data-v-fc5fc7e0"]]), yc = ["data-style"], bc = /* @__PURE__ */ d({
6300
+ }), [["__scopeId", "data-v-fc5fc7e0"]]), bc = ["data-style"], xc = /* @__PURE__ */ d({
6297
6301
  __name: "PvActionBar",
6298
6302
  props: { variant: { default: "white" } },
6299
6303
  setup(e) {
6300
6304
  return (t, n) => (D(), o("div", {
6301
6305
  class: "pv-action-bar-container",
6302
6306
  "data-style": e.variant === "white" ? "white" : void 0
6303
- }, [j(t.$slots, "default")], 8, yc));
6307
+ }, [j(t.$slots, "default")], 8, bc));
6304
6308
  }
6305
- }), xc = {
6309
+ }), Sc = {
6306
6310
  class: "pv-flex pv-truncate",
6307
6311
  style: {
6308
6312
  "min-width": "0",
6309
6313
  "min-height": "20px"
6310
6314
  }
6311
- }, Sc = ["title"], Cc = /* @__PURE__ */ d({
6315
+ }, Cc = ["title"], wc = /* @__PURE__ */ d({
6312
6316
  __name: "PvSimpleItemTree",
6313
6317
  props: {
6314
6318
  label: {},
6315
6319
  icon: {}
6316
6320
  },
6317
6321
  setup(e) {
6318
- return (t, n) => (D(), o("div", xc, [e.icon ? (D(), i(Z, {
6322
+ return (t, n) => (D(), o("div", Sc, [e.icon ? (D(), i(Z, {
6319
6323
  key: 0,
6320
6324
  name: e.icon
6321
6325
  }, null, 8, ["name"])) : a("", !0), s("span", {
@@ -6325,9 +6329,9 @@ var co = {
6325
6329
  "min-width": "0"
6326
6330
  },
6327
6331
  title: e.label
6328
- }, I(e.label), 9, Sc)]));
6332
+ }, I(e.label), 9, Cc)]));
6329
6333
  }
6330
- }), wc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6334
+ }), Tc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6331
6335
  __name: "PvTreeReorderIcon",
6332
6336
  setup(e) {
6333
6337
  return (e, t) => (D(), i(Z, {
@@ -6335,7 +6339,7 @@ var co = {
6335
6339
  class: "reorder-icon pv-text-tertiary"
6336
6340
  }));
6337
6341
  }
6338
- }), [["__scopeId", "data-v-1efb9068"]]), Tc = /* @__PURE__ */ d({
6342
+ }), [["__scopeId", "data-v-1efb9068"]]), Ec = /* @__PURE__ */ d({
6339
6343
  __name: "PvButtonTreeItem",
6340
6344
  props: {
6341
6345
  selected: { type: Boolean },
@@ -6370,7 +6374,7 @@ var co = {
6370
6374
  _: 3
6371
6375
  }, 8, ["class"]));
6372
6376
  }
6373
- }), Ec = /* @__PURE__ */ d({
6377
+ }), Dc = /* @__PURE__ */ d({
6374
6378
  __name: "PvCheckboxTreeItem",
6375
6379
  props: {
6376
6380
  selected: { type: Boolean },
@@ -6399,38 +6403,38 @@ var co = {
6399
6403
  "pv-tree-item-selected": e.selected,
6400
6404
  "pv-tree-item-disabled": e.disableSelection
6401
6405
  }
6402
- ]) }, [e.disableSelection ? a("", !0) : (D(), i(Ms, {
6406
+ ]) }, [e.disableSelection ? a("", !0) : (D(), i(Ns, {
6403
6407
  key: 0,
6404
6408
  checked: e.selected,
6405
6409
  onClick: s
6406
6410
  }, null, 8, ["checked"])), j(t.$slots, "default")], 2));
6407
6411
  }
6408
- }), Dc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6412
+ }), Oc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6409
6413
  __name: "PvTreeConnector",
6410
6414
  props: { isLast: { type: Boolean } },
6411
6415
  setup(e) {
6412
6416
  return (t, n) => (D(), o("div", { class: y(e.isLast ? "pv-tree-connector-end" : "pv-tree-connector-middle") }, null, 2));
6413
6417
  }
6414
- }), [["__scopeId", "data-v-2a7afaff"]]), Oc = () => ({
6418
+ }), [["__scopeId", "data-v-2a7afaff"]]), kc = () => ({
6415
6419
  indentPadding: (e, t = 0) => `${(e + t) * 24}px`,
6416
6420
  connectorOffset: (e) => `${e * 24 + 8}px`,
6417
6421
  showsConnector: (e, t) => !!(t && e[t]?.showNestedTree),
6418
6422
  showsChildConnectors: (e, t) => !!e[t]?.showNestedTree,
6419
6423
  childLevel: ({ level: e, showNestedTree: t, childrenShowNestedTree: n, additionalNestingLevel: r = 0 }) => e + (n && !t ? 0 : 1) + r
6420
- }), kc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6424
+ }), Ac = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6421
6425
  __name: "PvTreeConnectorGroup",
6422
6426
  props: {
6423
6427
  active: { type: Boolean },
6424
6428
  level: {}
6425
6429
  },
6426
6430
  setup(e) {
6427
- let t = e, { connectorOffset: n } = Oc(), i = r(() => t.active ? { "--tree-connector-left": n(t.level) } : {});
6431
+ let t = e, { connectorOffset: n } = kc(), i = r(() => t.active ? { "--tree-connector-left": n(t.level) } : {});
6428
6432
  return (t, n) => (D(), o("div", {
6429
6433
  class: y({ "pv-tree-connector-line": e.active }),
6430
6434
  style: x(i.value)
6431
6435
  }, [j(t.$slots, "default", {}, void 0, !0)], 6));
6432
6436
  }
6433
- }), [["__scopeId", "data-v-fb9813d5"]]), Ac = () => {
6437
+ }), [["__scopeId", "data-v-fb9813d5"]]), jc = () => {
6434
6438
  let e = k(null);
6435
6439
  return {
6436
6440
  hoveredId: e,
@@ -6441,15 +6445,15 @@ var co = {
6441
6445
  e.value = null;
6442
6446
  }
6443
6447
  };
6444
- }, jc = Symbol("DraggingStateKey"), Mc = Symbol("DraggingGroupNameKey"), Nc = Symbol("DropIndicatorKey"), Pc = () => {
6448
+ }, Mc = Symbol("DraggingStateKey"), Nc = Symbol("DraggingGroupNameKey"), Pc = Symbol("DropIndicatorKey"), Fc = () => {
6445
6449
  let e = k(!1), t = k(null), n = k(null);
6446
- return O(jc, e), O(Mc, t), O(Nc, n), {
6450
+ return O(Mc, e), O(Nc, t), O(Pc, n), {
6447
6451
  isDragging: e,
6448
6452
  draggingGroupName: t,
6449
6453
  dropIndicator: n
6450
6454
  };
6451
- }, Fc = () => {
6452
- let e = m(jc, k(!1)), t = m(Mc, k(null)), n = m(Nc, k(null)), r = (n) => {
6455
+ }, Ic = () => {
6456
+ let e = m(Mc, k(!1)), t = m(Nc, k(null)), n = m(Pc, k(null)), r = (n) => {
6453
6457
  e.value = !0, t.value = n ?? null;
6454
6458
  }, i = () => {
6455
6459
  e.value = !1, t.value = null, o();
@@ -6471,8 +6475,8 @@ var co = {
6471
6475
  onDragStart: r,
6472
6476
  onDragEnd: i
6473
6477
  };
6474
- }, Ic = () => {
6475
- let { setDropIndicator: e, clearDropIndicator: t } = Fc();
6478
+ }, Lc = () => {
6479
+ let { setDropIndicator: e, clearDropIndicator: t } = Ic();
6476
6480
  return {
6477
6481
  getDragGroupConfig: (e, t) => {
6478
6482
  let n = e[t.field]?.dragAndDropConfig;
@@ -6507,8 +6511,8 @@ var co = {
6507
6511
  return i === !1 ? !1 : i === !0 || !n ? !0 : Array.isArray(i) ? i.includes(n) : (r?.name ?? "pv-tree") === n;
6508
6512
  }
6509
6513
  };
6510
- }, Lc = () => {
6511
- let { dropIndicator: e } = Fc();
6514
+ }, Rc = () => {
6515
+ let { dropIndicator: e } = Ic();
6512
6516
  return { dragAndDropIndicatorClasses: (t) => {
6513
6517
  let n = e.value, r = n?.siblingTargetId !== void 0 && n?.siblingTargetId !== null && n?.siblingTargetId === t.node_id;
6514
6518
  return {
@@ -6517,7 +6521,7 @@ var co = {
6517
6521
  "pv-drop-indicator-parent": n?.parentId === t.node_id
6518
6522
  };
6519
6523
  } };
6520
- }, Rc = { class: "pv-flex pv-full-width" }, zc = ["data-parent-id"], Bc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6524
+ }, zc = { class: "pv-flex pv-full-width" }, Bc = ["data-parent-id"], Vc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6521
6525
  __name: "PvSimpleNestedTreeItem",
6522
6526
  props: {
6523
6527
  option: {},
@@ -6533,9 +6537,9 @@ var co = {
6533
6537
  },
6534
6538
  emits: ["handle-tree-select", "update:children"],
6535
6539
  setup(e, { emit: t }) {
6536
- let n = e, o = t, { isDragging: c, draggingGroupName: l, onDragStart: d, onDragEnd: f } = Fc(), { dragAndDropIndicatorClasses: p } = Lc(), { hoveredId: m, handleMouseEnter: h, handleMouseLeave: g } = Ac(), { canItemBeDragged: _, getDragAndDropDisabled: v, handleMoveCallback: b, getDragGroupConfig: S, canAcceptDrop: C } = Ic(), { indentPadding: w, showsConnector: T, showsChildConnectors: E, childLevel: O } = Oc(), k = () => {
6540
+ let n = e, o = t, { isDragging: c, draggingGroupName: l, onDragStart: d, onDragEnd: f } = Ic(), { dragAndDropIndicatorClasses: p } = Rc(), { hoveredId: m, handleMouseEnter: h, handleMouseLeave: g } = jc(), { canItemBeDragged: _, getDragAndDropDisabled: v, handleMoveCallback: b, getDragGroupConfig: S, canAcceptDrop: C } = Lc(), { indentPadding: w, showsConnector: T, showsChildConnectors: E, childLevel: O } = kc(), k = () => {
6537
6541
  d(S(n.settings, n.option).name);
6538
- }, A = (e) => n.selectedOptions && n.selectedOptions.some((t) => t.node_id === e), j = r(() => n.settings[n.option.field]?.checkbox ? Ec : Tc), P = r(() => T(n.settings, n.parentField)), F = r(() => n.index === n.totalSiblings - 1), I = r(() => P.value && !F.value), ee = r(() => O({
6542
+ }, A = (e) => n.selectedOptions && n.selectedOptions.some((t) => t.node_id === e), j = r(() => n.settings[n.option.field]?.checkbox ? Dc : Ec), P = r(() => T(n.settings, n.parentField)), F = r(() => n.index === n.totalSiblings - 1), I = r(() => P.value && !F.value), ee = r(() => O({
6539
6543
  level: n.level,
6540
6544
  showNestedTree: P.value,
6541
6545
  childrenShowNestedTree: E(n.settings, n.option.field)
@@ -6550,7 +6554,7 @@ var co = {
6550
6554
  }), z = r(() => n.isParentPathOpen ?? !0);
6551
6555
  return (t, n) => {
6552
6556
  let r = M("PvSimpleNestedTreeItem", !0);
6553
- return D(), i(kc, {
6557
+ return D(), i(Ac, {
6554
6558
  active: I.value,
6555
6559
  level: e.level
6556
6560
  }, {
@@ -6570,7 +6574,7 @@ var co = {
6570
6574
  onMouseleave: n[2] ||= (e) => L(g)(),
6571
6575
  onContextmenu: n[3] ||= q((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
6572
6576
  }, {
6573
- default: K(() => [ie(u(wc, null, null, 512), [[ne, L(m) === e.option.node_id && L(_)(e.isDraggable, e.settings, e.option)]]), s("div", Rc, [P.value ? (D(), i(Dc, {
6577
+ default: K(() => [ie(u(Tc, null, null, 512), [[ne, L(m) === e.option.node_id && L(_)(e.isDraggable, e.settings, e.option)]]), s("div", zc, [P.value ? (D(), i(Oc, {
6574
6578
  key: 0,
6575
6579
  "is-last": F.value
6576
6580
  }, null, 8, ["is-last"])) : a("", !0), e.settings[e.option.field]?.renderer ? (D(), i(N(e.settings[e.option.field]?.renderer), {
@@ -6584,7 +6588,7 @@ var co = {
6584
6588
  "settings",
6585
6589
  "is-draggable",
6586
6590
  "params"
6587
- ])) : (D(), i(Cc, {
6591
+ ])) : (D(), i(wc, {
6588
6592
  key: 2,
6589
6593
  label: e.option.label,
6590
6594
  icon: e.settings[e.option.field]?.icon
@@ -6646,12 +6650,12 @@ var co = {
6646
6650
  "class",
6647
6651
  "onEnd",
6648
6652
  "onAdd"
6649
- ])], 8, zc)]),
6653
+ ])], 8, Bc)]),
6650
6654
  _: 1
6651
6655
  }, 8, ["active", "level"]);
6652
6656
  };
6653
6657
  }
6654
- }), [["__scopeId", "data-v-f706f606"]]), Vc = ["data-parent-id"], Hc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6658
+ }), [["__scopeId", "data-v-f706f606"]]), Hc = ["data-parent-id"], Uc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6655
6659
  __name: "PvSimpleNestedTree",
6656
6660
  props: {
6657
6661
  option: {},
@@ -6667,14 +6671,14 @@ var co = {
6667
6671
  },
6668
6672
  emits: ["handle-tree-select", "update:children"],
6669
6673
  setup(e, { emit: t }) {
6670
- let n = e, o = t, { hoveredId: c, handleMouseEnter: l, handleMouseLeave: d } = Ac(), { getDragAndDropDisabled: f, canItemBeDragged: p, handleMoveCallback: m, getDragGroupConfig: h, canAcceptDrop: g } = Ic(), { isDragging: _, draggingGroupName: v, onDragStart: b, onDragEnd: S } = Fc(), { dragAndDropIndicatorClasses: C } = Lc(), { indentPadding: w, showsConnector: T, showsChildConnectors: E, childLevel: O } = Oc(), k = () => {
6674
+ let n = e, o = t, { hoveredId: c, handleMouseEnter: l, handleMouseLeave: d } = jc(), { getDragAndDropDisabled: f, canItemBeDragged: p, handleMoveCallback: m, getDragGroupConfig: h, canAcceptDrop: g } = Lc(), { isDragging: _, draggingGroupName: v, onDragStart: b, onDragEnd: S } = Ic(), { dragAndDropIndicatorClasses: C } = Rc(), { indentPadding: w, showsConnector: T, showsChildConnectors: E, childLevel: O } = kc(), k = () => {
6671
6675
  b(h(n.settings, n.option).name);
6672
6676
  }, A = r(() => n.settings[n.option.field]?.additionalNestingLevel ?? 0), j = r(() => T(n.settings, n.parentField)), M = r(() => O({
6673
6677
  level: n.level,
6674
6678
  showNestedTree: j.value,
6675
6679
  childrenShowNestedTree: E(n.settings, n.option.field),
6676
6680
  additionalNestingLevel: A.value
6677
- })), P = (e) => n.selectedOptions && n.selectedOptions.some((t) => t.node_id === e), F = (e) => n.settings[e.field]?.checkbox ? Ec : Tc, I = r({
6681
+ })), P = (e) => n.selectedOptions && n.selectedOptions.some((t) => t.node_id === e), F = (e) => n.settings[e.field]?.checkbox ? Dc : Ec, I = r({
6678
6682
  get: () => [...n.option.children || []],
6679
6683
  set: (e) => {
6680
6684
  o("update:children", {
@@ -6683,7 +6687,7 @@ var co = {
6683
6687
  });
6684
6688
  }
6685
6689
  }), ee = r(() => n.isParentPathOpen ?? !0), R = r(() => n.index === void 0 || n.totalSiblings === void 0 ? !0 : n.index === n.totalSiblings - 1), z = r(() => j.value && !R.value);
6686
- return (t, n) => (D(), i(kc, {
6690
+ return (t, n) => (D(), i(Ac, {
6687
6691
  class: "pv-flow",
6688
6692
  style: { "--flow-size": "0px" },
6689
6693
  active: z.value,
@@ -6706,8 +6710,8 @@ var co = {
6706
6710
  onContextmenu: n[3] ||= q((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
6707
6711
  }, {
6708
6712
  default: K(() => [
6709
- ie(u(wc, null, null, 512), [[ne, L(c) === e.option.node_id && L(p)(e.isDraggable, e.settings, e.option)]]),
6710
- j.value ? (D(), i(Dc, {
6713
+ ie(u(Tc, null, null, 512), [[ne, L(c) === e.option.node_id && L(p)(e.isDraggable, e.settings, e.option)]]),
6714
+ j.value ? (D(), i(Oc, {
6711
6715
  key: 0,
6712
6716
  "is-last": R.value
6713
6717
  }, null, 8, ["is-last"])) : a("", !0),
@@ -6722,7 +6726,7 @@ var co = {
6722
6726
  "settings",
6723
6727
  "selected",
6724
6728
  "params"
6725
- ])) : (D(), i(Cc, {
6729
+ ])) : (D(), i(wc, {
6726
6730
  key: 2,
6727
6731
  label: e.option.label,
6728
6732
  icon: e.settings[e.option.field]?.icon
@@ -6750,7 +6754,7 @@ var co = {
6750
6754
  onEnd: L(S),
6751
6755
  onAdd: L(S)
6752
6756
  }, {
6753
- item: K(({ element: r, index: i }) => [u(Bc, {
6757
+ item: K(({ element: r, index: i }) => [u(Vc, {
6754
6758
  "is-parent-path-open": e.isParentPathOpen,
6755
6759
  option: r,
6756
6760
  settings: e.settings,
@@ -6785,11 +6789,11 @@ var co = {
6785
6789
  "class",
6786
6790
  "onEnd",
6787
6791
  "onAdd"
6788
- ])], 8, Vc)]),
6792
+ ])], 8, Hc)]),
6789
6793
  _: 1
6790
6794
  }, 8, ["active", "level"]));
6791
6795
  }
6792
- }), [["__scopeId", "data-v-26eb4678"]]), Uc = ["data-parent-id"], Wc = { key: 2 }, Gc = ["data-parent-id"], Kc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6796
+ }), [["__scopeId", "data-v-26eb4678"]]), Wc = ["data-parent-id"], Gc = { key: 2 }, Kc = ["data-parent-id"], qc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6793
6797
  __name: "PvTreeItem",
6794
6798
  props: {
6795
6799
  option: {},
@@ -6820,12 +6824,12 @@ var co = {
6820
6824
  }), G(l, (e) => {
6821
6825
  e && (d.value = !0);
6822
6826
  });
6823
- let { getDragGroupConfig: f, getDragAndDropDisabled: p, canItemBeDragged: m, handleMoveCallback: h, childrenDraggable: g, canAcceptDrop: _ } = Ic(), { hoveredId: v, handleMouseEnter: b, handleMouseLeave: S } = Ac(), { isDragging: C, draggingGroupName: w, onDragStart: T, onDragEnd: E } = Fc(), { dragAndDropIndicatorClasses: O } = Lc(), { indentPadding: A, showsConnector: j } = Oc(), P = () => {
6827
+ let { getDragGroupConfig: f, getDragAndDropDisabled: p, canItemBeDragged: m, handleMoveCallback: h, childrenDraggable: g, canAcceptDrop: _ } = Lc(), { hoveredId: v, handleMouseEnter: b, handleMouseLeave: S } = jc(), { isDragging: C, draggingGroupName: w, onDragStart: T, onDragEnd: E } = Ic(), { dragAndDropIndicatorClasses: O } = Rc(), { indentPadding: A, showsConnector: j } = kc(), P = () => {
6824
6828
  T(f(n.settings, n.option).name);
6825
6829
  }, F = (e) => ({
6826
6830
  paddingLeft: A(e, n.settings[n.option.field]?.additionalNestingLevel ?? 0),
6827
6831
  "--border-color": "#121313"
6828
- }), I = (e) => n.selectedOptions && n.selectedOptions.some((t) => t.node_id === e), ee = r(() => n.settings[n.option.field]?.checkbox ? Ec : Tc), R = r({
6832
+ }), I = (e) => n.selectedOptions && n.selectedOptions.some((t) => t.node_id === e), ee = r(() => n.settings[n.option.field]?.checkbox ? Dc : Ec), R = r({
6829
6833
  get: () => [...n.option.children || []],
6830
6834
  set: (e) => {
6831
6835
  c("update:children", {
@@ -6836,7 +6840,7 @@ var co = {
6836
6840
  }), z = r(() => !!(n.option.children?.length && n.settings[n.option.field]?.accordion)), B = r(() => j(n.settings, n.parentField)), V = r(() => n.index === void 0 || n.totalSiblings === void 0 ? !0 : n.index === n.totalSiblings - 1), te = r(() => B.value && !V.value), H = r(() => n.isParentPathOpen ?? !0 ? z.value && n.level === 0 ? d.value : !0 : !1);
6837
6841
  return (t, n) => {
6838
6842
  let r = M("PvTreeItem", !0);
6839
- return D(), i(kc, {
6843
+ return D(), i(Ac, {
6840
6844
  active: te.value,
6841
6845
  level: e.level
6842
6846
  }, {
@@ -6868,8 +6872,8 @@ var co = {
6868
6872
  onContextmenu: n[6] ||= q((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
6869
6873
  }, {
6870
6874
  trigger: K(() => [
6871
- ie(u(wc, null, null, 512), [[ne, L(v) === e.option.node_id && L(m)(e.isDraggable, e.settings, e.option) && e.level > 0]]),
6872
- B.value ? (D(), i(Dc, {
6875
+ ie(u(Tc, null, null, 512), [[ne, L(v) === e.option.node_id && L(m)(e.isDraggable, e.settings, e.option) && e.level > 0]]),
6876
+ B.value ? (D(), i(Oc, {
6873
6877
  key: 0,
6874
6878
  "is-last": V.value
6875
6879
  }, null, 8, ["is-last"])) : a("", !0),
@@ -6884,7 +6888,7 @@ var co = {
6884
6888
  "settings",
6885
6889
  "selected",
6886
6890
  "params"
6887
- ])) : (D(), i(Cc, {
6891
+ ])) : (D(), i(wc, {
6888
6892
  key: 2,
6889
6893
  label: e.option.label,
6890
6894
  icon: e.settings[e.option.field]?.icon
@@ -6942,7 +6946,7 @@ var co = {
6942
6946
  "class",
6943
6947
  "onEnd",
6944
6948
  "onAdd"
6945
- ])], 8, Uc)]),
6949
+ ])], 8, Wc)]),
6946
6950
  _: 1
6947
6951
  }, 8, [
6948
6952
  "modelValue",
@@ -6950,7 +6954,7 @@ var co = {
6950
6954
  "summaryStyles",
6951
6955
  "summaryClasses",
6952
6956
  "defaultOpen"
6953
- ])) : e.option.children && e.option.children.length > 0 && e.settings && !e.settings[e.option.field]?.accordion ? (D(), i(Hc, {
6957
+ ])) : e.option.children && e.option.children.length > 0 && e.settings && !e.settings[e.option.field]?.accordion ? (D(), i(Uc, {
6954
6958
  key: 1,
6955
6959
  "is-parent-path-open": e.isParentPathOpen,
6956
6960
  "selected-options": e.selectedOptions,
@@ -6977,7 +6981,7 @@ var co = {
6977
6981
  "is-draggable",
6978
6982
  "disable-selection",
6979
6983
  "is-last-root-item"
6980
- ])) : (D(), o("div", Wc, [(D(), i(N(ee.value), {
6984
+ ])) : (D(), o("div", Gc, [(D(), i(N(ee.value), {
6981
6985
  class: y({ ...L(O)(e.option) }),
6982
6986
  option: e.option,
6983
6987
  selected: I(e.option.node_id),
@@ -6994,8 +6998,8 @@ var co = {
6994
6998
  onContextmenu: n[12] ||= q((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
6995
6999
  }, {
6996
7000
  default: K(() => [
6997
- ie(u(wc, null, null, 512), [[ne, L(v) === e.option.node_id && L(m)(e.isDraggable, e.settings, e.option) && e.level > 0]]),
6998
- B.value ? (D(), i(Dc, {
7001
+ ie(u(Tc, null, null, 512), [[ne, L(v) === e.option.node_id && L(m)(e.isDraggable, e.settings, e.option) && e.level > 0]]),
7002
+ B.value ? (D(), i(Oc, {
6999
7003
  key: 0,
7000
7004
  "is-last": V.value
7001
7005
  }, null, 8, ["is-last"])) : a("", !0),
@@ -7008,7 +7012,7 @@ var co = {
7008
7012
  "option",
7009
7013
  "settings",
7010
7014
  "params"
7011
- ])) : (D(), i(Cc, {
7015
+ ])) : (D(), i(wc, {
7012
7016
  key: 2,
7013
7017
  label: e.option.label,
7014
7018
  icon: e.settings[e.option.field]?.icon
@@ -7073,12 +7077,12 @@ var co = {
7073
7077
  "class",
7074
7078
  "onEnd",
7075
7079
  "onAdd"
7076
- ])], 8, Gc)]))]),
7080
+ ])], 8, Kc)]))]),
7077
7081
  _: 1
7078
7082
  }, 8, ["active", "level"]);
7079
7083
  };
7080
7084
  }
7081
- }), [["__scopeId", "data-v-9583f387"]]), qc = (e) => {
7085
+ }), [["__scopeId", "data-v-9583f387"]]), Jc = (e) => {
7082
7086
  let t = [], n = !1;
7083
7087
  function r(e) {
7084
7088
  let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = [];
@@ -7121,7 +7125,7 @@ var co = {
7121
7125
  newChildren: r
7122
7126
  }), n || (n = !0, v(i));
7123
7127
  } };
7124
- }, Jc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
7128
+ }, Yc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
7125
7129
  __name: "PvTree",
7126
7130
  props: /* @__PURE__ */ g({
7127
7131
  settings: {},
@@ -7152,14 +7156,14 @@ var co = {
7152
7156
  "update:treeOpen"
7153
7157
  ],
7154
7158
  setup(e) {
7155
- m(jc, null) || Pc();
7156
- let n = e, i = z(e, "selectedOptions"), a = z(e, "options"), c = z(e, "treeOpen"), { handleUpdateChildren: l } = qc(a), d = (e, t) => {
7159
+ m(Mc, null) || Fc();
7160
+ let n = e, i = z(e, "selectedOptions"), a = z(e, "options"), c = z(e, "treeOpen"), { handleUpdateChildren: l } = Jc(a), d = (e, t) => {
7157
7161
  t.metaKey ? i.value?.some((t) => t.node_id === e.node_id) ? i.value = i.value?.filter((t) => t.node_id !== e.node_id) : i.value = [...i.value || [], e] : i.value?.some((t) => t.node_id === e.node_id) ? i.value = [] : i.value = [e];
7158
7162
  }, f = r(() => Object.keys(n.settings).reduce((e, t) => (e[t] = {
7159
7163
  ...n.defaultSettings,
7160
7164
  ...n.settings[t]
7161
7165
  }, e), {}));
7162
- return (n, r) => (D(), o("div", null, [s("div", { class: y(["pv-tree", { "pv-tree--disable-selection": e.disableSelection }]) }, [(D(!0), o(t, null, A(a.value, (t, n) => (D(), o("div", { key: t.node_id }, [u(Kc, {
7166
+ return (n, r) => (D(), o("div", null, [s("div", { class: y(["pv-tree", { "pv-tree--disable-selection": e.disableSelection }]) }, [(D(!0), o(t, null, A(a.value, (t, n) => (D(), o("div", { key: t.node_id }, [u(qc, {
7163
7167
  "is-last-root-item": n === a.value.length - 1,
7164
7168
  "is-parent-path-open": !0,
7165
7169
  "tree-open": c.value,
@@ -7184,19 +7188,19 @@ var co = {
7184
7188
  "onUpdate:children"
7185
7189
  ])]))), 128))], 2)]));
7186
7190
  }
7187
- }), [["__scopeId", "data-v-0b4ec4c6"]]), Yc = /* @__PURE__ */ d({
7191
+ }), [["__scopeId", "data-v-0b4ec4c6"]]), Xc = /* @__PURE__ */ d({
7188
7192
  __name: "PvTreeGroup",
7189
7193
  setup(e) {
7190
- return Pc(), (e, t) => j(e.$slots, "default");
7194
+ return Fc(), (e, t) => j(e.$slots, "default");
7191
7195
  }
7192
- }), Xc = { class: "pv-full-width" }, Zc = {
7196
+ }), Zc = { class: "pv-full-width" }, Qc = {
7193
7197
  key: 0,
7194
7198
  class: "pv-flex pv-stack-4",
7195
7199
  style: { "--flex-justify": "space-between" }
7196
- }, Qc = {
7200
+ }, $c = {
7197
7201
  key: 1,
7198
7202
  class: "pv-text-subdued pv-text-title-sm"
7199
- }, $c = ["data-disabled"], el = /* @__PURE__ */ d({
7203
+ }, el = ["data-disabled"], tl = /* @__PURE__ */ d({
7200
7204
  __name: "PvProgressBar",
7201
7205
  props: {
7202
7206
  disabled: {
@@ -7213,16 +7217,16 @@ var co = {
7213
7217
  },
7214
7218
  setup(e) {
7215
7219
  let t = e, n = r(() => Math.min(100, Math.max(0, t.progress))), i = r(() => `${n.value}% Complete`);
7216
- return (r, c) => (D(), o("div", Xc, [e.showLabel || e.secondaryLabel ? (D(), o("div", Zc, [e.showLabel ? (D(), o("p", {
7220
+ return (r, c) => (D(), o("div", Zc, [e.showLabel || e.secondaryLabel ? (D(), o("div", Qc, [e.showLabel ? (D(), o("p", {
7217
7221
  key: 0,
7218
7222
  class: y(e.labelVariant === "secondary" ? "pv-text-subdued pv-text-title-sm" : "pv-text-brand pv-text-title-sm")
7219
- }, I(i.value), 3)) : a("", !0), e.secondaryLabel ? (D(), o("span", Qc, I(e.secondaryLabel), 1)) : a("", !0)])) : a("", !0), s("div", {
7223
+ }, I(i.value), 3)) : a("", !0), e.secondaryLabel ? (D(), o("span", $c, I(e.secondaryLabel), 1)) : a("", !0)])) : a("", !0), s("div", {
7220
7224
  class: "pv-progress-bar",
7221
7225
  "data-disabled": t.disabled ? !0 : void 0,
7222
7226
  style: x({ "--progress": `${n.value}%` })
7223
- }, null, 12, $c)]));
7227
+ }, null, 12, el)]));
7224
7228
  }
7225
- }), tl = /* @__PURE__ */ d({
7229
+ }), nl = /* @__PURE__ */ d({
7226
7230
  __name: "PvDistributionBar",
7227
7231
  props: {
7228
7232
  size: { default: "lg" },
@@ -7266,10 +7270,10 @@ var co = {
7266
7270
  style: x(c(e, t))
7267
7271
  }, null, 6))), 128))], 4));
7268
7272
  }
7269
- }), nl = {
7273
+ }), rl = {
7270
7274
  key: 0,
7271
7275
  class: "pv-range-single-slider"
7272
- }, rl = [
7276
+ }, il = [
7273
7277
  "id",
7274
7278
  "aria-label",
7275
7279
  "aria-valuetext",
@@ -7278,11 +7282,11 @@ var co = {
7278
7282
  "min",
7279
7283
  "step",
7280
7284
  "value"
7281
- ], il = ["aria-label"], al = {
7285
+ ], al = ["aria-label"], ol = {
7282
7286
  key: 0,
7283
7287
  class: "pv-space-between pv-text-body-xs pv-text-subdued",
7284
7288
  style: { "line-height": "1" }
7285
- }, ol = [
7289
+ }, sl = [
7286
7290
  "aria-label",
7287
7291
  "aria-valuetext",
7288
7292
  "disabled",
@@ -7290,7 +7294,7 @@ var co = {
7290
7294
  "min",
7291
7295
  "step",
7292
7296
  "value"
7293
- ], sl = [
7297
+ ], cl = [
7294
7298
  "aria-label",
7295
7299
  "aria-valuetext",
7296
7300
  "disabled",
@@ -7298,7 +7302,7 @@ var co = {
7298
7302
  "min",
7299
7303
  "step",
7300
7304
  "value"
7301
- ], cl = {
7305
+ ], ll = {
7302
7306
  key: 1,
7303
7307
  class: "pv-flex",
7304
7308
  style: {
@@ -7306,15 +7310,15 @@ var co = {
7306
7310
  "--flex-gap": "0.75rem",
7307
7311
  "--flex-wrap": "wrap"
7308
7312
  }
7309
- }, ll = { class: "pv-text-body-sm" }, ul = [
7313
+ }, ul = { class: "pv-text-body-sm" }, dl = [
7310
7314
  "disabled",
7311
7315
  "step",
7312
7316
  "value"
7313
- ], dl = { class: "pv-text-body-sm" }, fl = [
7317
+ ], fl = { class: "pv-text-body-sm" }, pl = [
7314
7318
  "disabled",
7315
7319
  "step",
7316
7320
  "value"
7317
- ], pl = 0, ml = 100, hl = 1e4, gl = "4.6875rem", _l = .01, vl = /* @__PURE__ */ d({
7321
+ ], ml = 0, hl = 100, gl = 1e4, _l = "4.6875rem", vl = .01, yl = /* @__PURE__ */ d({
7318
7322
  inheritAttrs: !1,
7319
7323
  __name: "PvRange",
7320
7324
  props: /* @__PURE__ */ g({
@@ -7406,7 +7410,7 @@ var co = {
7406
7410
  let r = oe(t), i = Math.log(t.min + r), a = Math.log(t.max + r);
7407
7411
  return Math.exp(i + n * (a - i)) - r;
7408
7412
  }, ce = (e, t) => Math.max(0, Math.min(100, J(e, t) * 100)), le = r(() => {
7409
- let e = E(t.min) ?? pl, n = E(t.max) ?? ml;
7413
+ let e = E(t.min) ?? ml, n = E(t.max) ?? hl;
7410
7414
  return e > n ? {
7411
7415
  max: e,
7412
7416
  min: n
@@ -7429,7 +7433,7 @@ var co = {
7429
7433
  }
7430
7434
  return t.split(".")[1]?.length ?? 0;
7431
7435
  }, X = r(() => {
7432
- let e = E(t.min), n = E(t.max), r = E(c.value?.min), i = E(c.value?.max), a = e ?? Math.min(pl, r ?? pl, i ?? pl), o = n ?? Math.max(ml, r ?? ml, i ?? ml);
7436
+ let e = E(t.min), n = E(t.max), r = E(c.value?.min), i = E(c.value?.max), a = e ?? Math.min(ml, r ?? ml, i ?? ml), o = n ?? Math.max(hl, r ?? hl, i ?? hl);
7433
7437
  return a > o && ([a, o] = [o, a]), a === o && (o = a + (H.value > 0 ? H.value : 1)), {
7434
7438
  max: o,
7435
7439
  min: a
@@ -7470,14 +7474,14 @@ var co = {
7470
7474
  "--range-track-color": q.value,
7471
7475
  "--value-max": `${Oe.value}%`,
7472
7476
  "--value-min": `${De.value}%`
7473
- })), Ae = r(() => ({ left: `${De.value}%` })), je = r(() => ({ left: `${Oe.value}%` })), Me = r(() => E(c.value?.min) !== null || E(c.value?.max) !== null), Ne = (e, t) => B.value ? Math.round(J(e, t) * hl) : e, Pe = (e, t) => B.value ? se(e / hl, t) : e, Fe = r(() => B.value ? 0 : X.value.min), Ie = r(() => B.value ? hl : X.value.max), Le = r(() => Ne(Ee.value.min, X.value)), Re = r(() => Ne(Ee.value.max, X.value)), ze = r(() => B.value ? 0 : le.value.min), Be = r(() => B.value ? hl : le.value.max), Ve = r(() => Ne(Y.value, le.value)), Q = r(() => Math.max(P(X.value.min).length, P(X.value.max).length, 3)), He = r(() => {
7477
+ })), Ae = r(() => ({ left: `${De.value}%` })), je = r(() => ({ left: `${Oe.value}%` })), Me = r(() => E(c.value?.min) !== null || E(c.value?.max) !== null), Ne = (e, t) => B.value ? Math.round(J(e, t) * gl) : e, Pe = (e, t) => B.value ? se(e / gl, t) : e, Fe = r(() => B.value ? 0 : X.value.min), Ie = r(() => B.value ? gl : X.value.max), Le = r(() => Ne(Ee.value.min, X.value)), Re = r(() => Ne(Ee.value.max, X.value)), ze = r(() => B.value ? 0 : le.value.min), Be = r(() => B.value ? gl : le.value.max), Ve = r(() => Ne(Y.value, le.value)), Q = r(() => Math.max(P(X.value.min).length, P(X.value.max).length, 3)), He = r(() => {
7474
7478
  let e = t.inputIcon ? "3.25rem" : "2rem";
7475
7479
  return {
7476
7480
  "--flex-align": "stretch",
7477
7481
  "--flex-gap": "0",
7478
- "--pv-range-input-width": `max(${gl}, calc(${Q.value}ch + ${e}))`
7482
+ "--pv-range-input-width": `max(${_l}, calc(${Q.value}ch + ${e}))`
7479
7483
  };
7480
- }), Ue = () => E(t.min) !== null || X.value.min === pl, We = () => E(t.max) !== null || X.value.max === ml, Ge = (e, t) => {
7484
+ }), Ue = () => E(t.min) !== null || X.value.min === ml, We = () => E(t.max) !== null || X.value.max === hl, Ge = (e, t) => {
7481
7485
  c.value = {
7482
7486
  max: t >= X.value.max && We() ? null : t,
7483
7487
  min: e <= X.value.min && Ue() ? null : e
@@ -7524,7 +7528,7 @@ var co = {
7524
7528
  let a = e.key === "ArrowRight" || e.key === "ArrowUp" || e.key === "PageUp", o = e.key === "ArrowLeft" || e.key === "ArrowDown" || e.key === "PageDown";
7525
7529
  if (!a && !o) return;
7526
7530
  e.preventDefault();
7527
- let s = a ? 1 : -1, c = e.key === "PageUp" || e.key === "PageDown" ? 10 : 1, l = Se(se(J(i, r) + s * _l * c, r), a ? "up" : "down");
7531
+ let s = a ? 1 : -1, c = e.key === "PageUp" || e.key === "PageDown" ? 10 : 1, l = Se(se(J(i, r) + s * vl * c, r), a ? "up" : "down");
7528
7532
  l === i && (l = i + s * ve(i, U.value)), Xe(n), Je(n, l, !1);
7529
7533
  }, ct = () => {
7530
7534
  g.value !== "min" && (m.value = P(Ee.value.min)), g.value !== "max" && (p.value = P(Ee.value.max));
@@ -7569,7 +7573,7 @@ var co = {
7569
7573
  };
7570
7574
  return G([Ee, X], ct, { immediate: !0 }), S(() => {
7571
7575
  _t(), Qe();
7572
- }), (n, r) => e.mode === "single" ? (D(), o("div", nl, [e.showValueTooltips && v.value ? (D(), o("span", {
7576
+ }), (n, r) => e.mode === "single" ? (D(), o("div", rl, [e.showValueTooltips && v.value ? (D(), o("span", {
7573
7577
  key: 0,
7574
7578
  class: "pv-range-tooltip",
7575
7579
  style: x(fe.value)
@@ -7588,7 +7592,7 @@ var co = {
7588
7592
  onInput: it,
7589
7593
  onPointerdown: rt,
7590
7594
  onPointerup: $e
7591
- }), null, 16, rl)])) : (D(), o("div", _({ key: 1 }, L(l), {
7595
+ }), null, 16, il)])) : (D(), o("div", _({ key: 1 }, L(l), {
7592
7596
  class: "pv-flex-vertical",
7593
7597
  "data-testid": "pv-range-dual",
7594
7598
  role: "group",
@@ -7598,7 +7602,7 @@ var co = {
7598
7602
  "--flex-gap": "0"
7599
7603
  }
7600
7604
  }), [
7601
- e.showBoundLabels ? (D(), o("div", al, [s("span", null, I(F(X.value.min)), 1), s("span", null, I(F(X.value.max)), 1)])) : a("", !0),
7605
+ e.showBoundLabels ? (D(), o("div", ol, [s("span", null, I(F(X.value.min)), 1), s("span", null, I(F(X.value.max)), 1)])) : a("", !0),
7602
7606
  s("div", {
7603
7607
  ref_key: "sliderRef",
7604
7608
  ref: b,
@@ -7633,7 +7637,7 @@ var co = {
7633
7637
  onKeydown: r[0] ||= (e) => st(e, "min"),
7634
7638
  onPointerdown: r[1] ||= (e) => Xe("min"),
7635
7639
  onPointerup: Ye
7636
- }, null, 40, ol),
7640
+ }, null, 40, sl),
7637
7641
  s("input", {
7638
7642
  class: "pv-range pv-range-dual-native pv-range-dual-native-max",
7639
7643
  type: "range",
@@ -7650,14 +7654,14 @@ var co = {
7650
7654
  onKeydown: r[2] ||= (e) => st(e, "max"),
7651
7655
  onPointerdown: r[3] ||= (e) => Xe("max"),
7652
7656
  onPointerup: Ye
7653
- }, null, 40, sl)
7657
+ }, null, 40, cl)
7654
7658
  ], 38),
7655
- e.showInputs ? (D(), o("div", cl, [
7659
+ e.showInputs ? (D(), o("div", ll, [
7656
7660
  s("label", {
7657
7661
  class: "pv-flex-vertical pv-range-input-label",
7658
7662
  for: f,
7659
7663
  style: x(He.value)
7660
- }, [s("span", ll, I(e.minLabel), 1), s("span", { class: y(["pv-range-input-field", { "pv-range-input-field-with-icon": e.inputIcon }]) }, [e.inputIcon ? (D(), i(Z, {
7664
+ }, [s("span", ul, I(e.minLabel), 1), s("span", { class: y(["pv-range-input-field", { "pv-range-input-field-with-icon": e.inputIcon }]) }, [e.inputIcon ? (D(), i(Z, {
7661
7665
  key: 0,
7662
7666
  class: "pv-range-input-icon",
7663
7667
  name: e.inputIcon
@@ -7674,12 +7678,12 @@ var co = {
7674
7678
  onFocus: r[5] ||= (e) => ft("min"),
7675
7679
  onInput: ut,
7676
7680
  onKeydown: r[6] ||= ae((e) => mt(e, "min"), ["enter"])
7677
- }, null, 40, ul)], 2)], 4),
7681
+ }, null, 40, dl)], 2)], 4),
7678
7682
  s("label", {
7679
7683
  class: "pv-flex-vertical pv-range-input-label",
7680
7684
  for: d,
7681
7685
  style: x(He.value)
7682
- }, [s("span", dl, I(e.maxLabel), 1), s("span", { class: y(["pv-range-input-field", { "pv-range-input-field-with-icon": e.inputIcon }]) }, [e.inputIcon ? (D(), i(Z, {
7686
+ }, [s("span", fl, I(e.maxLabel), 1), s("span", { class: y(["pv-range-input-field", { "pv-range-input-field-with-icon": e.inputIcon }]) }, [e.inputIcon ? (D(), i(Z, {
7683
7687
  key: 0,
7684
7688
  class: "pv-range-input-icon",
7685
7689
  name: e.inputIcon
@@ -7696,7 +7700,7 @@ var co = {
7696
7700
  onFocus: r[8] ||= (e) => ft("max"),
7697
7701
  onInput: dt,
7698
7702
  onKeydown: r[9] ||= ae((e) => mt(e, "max"), ["enter"])
7699
- }, null, 40, fl)], 2)], 4),
7703
+ }, null, 40, pl)], 2)], 4),
7700
7704
  e.showClear && Me.value ? (D(), i($, {
7701
7705
  key: 0,
7702
7706
  class: "pv-text-brand",
@@ -7713,26 +7717,26 @@ var co = {
7713
7717
  variant: "ghost",
7714
7718
  onClick: Ze
7715
7719
  }, null, 8, ["disabled"])) : a("", !0)
7716
- ], 16, il));
7720
+ ], 16, al));
7717
7721
  }
7718
- }), yl = [
7722
+ }), bl = [
7719
7723
  "aria-label",
7720
7724
  "checked",
7721
7725
  "disabled",
7722
7726
  "name"
7723
- ], bl = {
7727
+ ], xl = {
7724
7728
  key: 3,
7725
7729
  class: "pv-filter-panel-option-row-content pv-flex-vertical"
7726
- }, xl = { class: "pv-filter-panel-option-row-line pv-line-clamp pv-text-body-sm" }, Sl = {
7730
+ }, Sl = { class: "pv-filter-panel-option-row-line pv-line-clamp pv-text-body-sm" }, Cl = {
7727
7731
  key: 0,
7728
7732
  class: "pv-filter-panel-option-row-line pv-line-clamp pv-text-body-xs pv-text-subdued"
7729
- }, Cl = {
7733
+ }, wl = {
7730
7734
  key: 1,
7731
7735
  class: "pv-filter-panel-option-row-line pv-line-clamp pv-text-body-xs pv-text-subdued"
7732
- }, wl = {
7736
+ }, Tl = {
7733
7737
  key: 4,
7734
7738
  class: "pv-filter-panel-option-row-right pv-text-body-xs pv-text-subdued"
7735
- }, Tl = /* @__PURE__ */ Q(/* @__PURE__ */ d({
7739
+ }, El = /* @__PURE__ */ Q(/* @__PURE__ */ d({
7736
7740
  __name: "PvFilterPanelOptionRow",
7737
7741
  props: {
7738
7742
  ariaLabel: {},
@@ -7805,7 +7809,7 @@ var co = {
7805
7809
  disabled: e.disabled,
7806
7810
  name: e.name,
7807
7811
  onChange: g
7808
- }, null, 40, yl)) : (D(), i(Ms, {
7812
+ }, null, 40, bl)) : (D(), i(Ns, {
7809
7813
  key: 1,
7810
7814
  ariaLabel: e.ariaLabel || e.label,
7811
7815
  disabled: e.disabled,
@@ -7818,12 +7822,12 @@ var co = {
7818
7822
  "indeterminate",
7819
7823
  "modelValue"
7820
7824
  ])),
7821
- e.renderer ? (D(), i(N(e.renderer), b(_({ key: 2 }, m.value)), null, 16)) : (D(), o("span", bl, [
7822
- s("span", xl, I(e.label), 1),
7823
- e.subduedText ? (D(), o("span", Sl, I(e.subduedText), 1)) : a("", !0),
7824
- e.subText ? (D(), o("span", Cl, I(e.subText), 1)) : a("", !0)
7825
+ e.renderer ? (D(), i(N(e.renderer), b(_({ key: 2 }, m.value)), null, 16)) : (D(), o("span", xl, [
7826
+ s("span", Sl, I(e.label), 1),
7827
+ e.subduedText ? (D(), o("span", Cl, I(e.subduedText), 1)) : a("", !0),
7828
+ e.subText ? (D(), o("span", wl, I(e.subText), 1)) : a("", !0)
7825
7829
  ])),
7826
- f.value ? (D(), o("span", wl, [j(t.$slots, "result-count", {}, () => [l("(" + I(e.resultCount) + ")", 1)], !0)])) : a("", !0),
7830
+ f.value ? (D(), o("span", Tl, [j(t.$slots, "result-count", {}, () => [l("(" + I(e.resultCount) + ")", 1)], !0)])) : a("", !0),
7827
7831
  e.showFocusAction ? (D(), i($, {
7828
7832
  key: 5,
7829
7833
  ariaLabel: e.isFocused ? `Remove ${e.focusText}` : `Select as ${e.focusText}`,
@@ -7839,26 +7843,26 @@ var co = {
7839
7843
  ])) : a("", !0)
7840
7844
  ], 6));
7841
7845
  }
7842
- }), [["__scopeId", "data-v-d5f24abf"]]), El = [
7846
+ }), [["__scopeId", "data-v-d5f24abf"]]), Dl = [
7843
7847
  "totalCount",
7844
7848
  "total_count",
7845
7849
  "resultCount",
7846
7850
  "result_count",
7847
7851
  "row_count",
7848
7852
  "count"
7849
- ], Dl = new Intl.NumberFormat("en-US", {
7853
+ ], Ol = new Intl.NumberFormat("en-US", {
7850
7854
  maximumFractionDigits: 1,
7851
7855
  notation: "compact"
7852
- }), Ol = (e) => typeof e == "object" && !!e, kl = (e) => {
7853
- if (typeof e == "number" && Number.isFinite(e)) return Dl.format(e);
7856
+ }), kl = (e) => typeof e == "object" && !!e, Al = (e) => {
7857
+ if (typeof e == "number" && Number.isFinite(e)) return Ol.format(e);
7854
7858
  if (typeof e == "string") {
7855
7859
  let t = e.trim();
7856
7860
  if (!t) return;
7857
7861
  let n = Number(t);
7858
- return Number.isFinite(n) ? Dl.format(n) : e;
7862
+ return Number.isFinite(n) ? Ol.format(n) : e;
7859
7863
  }
7860
- }, Al = (e, t) => t ?? (e === "currency" || e === "integer" || e === "percent" ? 0 : 2), jl = (e, t = {}) => {
7861
- let n = Al(t.dataType, t.valueDecimals);
7864
+ }, jl = (e, t) => t ?? (e === "currency" || e === "integer" || e === "percent" ? 0 : 2), Ml = (e, t = {}) => {
7865
+ let n = jl(t.dataType, t.valueDecimals);
7862
7866
  if (t.dataType === "currency") return new Intl.NumberFormat("en-US", {
7863
7867
  currency: "USD",
7864
7868
  maximumFractionDigits: n,
@@ -7870,11 +7874,11 @@ var co = {
7870
7874
  minimumFractionDigits: n
7871
7875
  }).format(e);
7872
7876
  return t.dataType === "percent" ? `${r}%` : r;
7873
- }, Ml = (e, t, n = {}) => e !== null && t !== null ? `${jl(e, n)}–${jl(t, n)}` : e === null ? t === null ? "" : `≤ ${jl(t, n)}` : `${jl(e, n)}+`, Nl = (e, t) => {
7877
+ }, Nl = (e, t, n = {}) => e !== null && t !== null ? `${Ml(e, n)}–${Ml(t, n)}` : e === null ? t === null ? "" : `≤ ${Ml(t, n)}` : `${Ml(e, n)}+`, Pl = (e, t) => {
7874
7878
  let n = typeof t?.context?.filterValueFormatter == "function" ? t.context.filterValueFormatter : typeof t?.valueFormatter == "function" ? t.valueFormatter : null;
7875
7879
  if (!n) return null;
7876
7880
  try {
7877
- let t = e.rawValue !== null && e.rawValue !== void 0 ? e.rawValue : Ol(e.metadata) && e.metadata.rawValue !== null && e.metadata.rawValue !== void 0 ? e.metadata.rawValue : e.value;
7881
+ let t = e.rawValue !== null && e.rawValue !== void 0 ? e.rawValue : kl(e.metadata) && e.metadata.rawValue !== null && e.metadata.rawValue !== void 0 ? e.metadata.rawValue : e.value;
7878
7882
  return n({
7879
7883
  context: e.metadata,
7880
7884
  value: t
@@ -7882,24 +7886,24 @@ var co = {
7882
7886
  } catch {
7883
7887
  return null;
7884
7888
  }
7885
- }, Pl = (e, t) => {
7889
+ }, Fl = (e, t) => {
7886
7890
  let n = e.metadata;
7887
- if (!Ol(n)) return null;
7891
+ if (!kl(n)) return null;
7888
7892
  for (let e of t?.context?.metadataDisplayFields ?? []) {
7889
7893
  let t = n[e];
7890
7894
  if (t != null && String(t).trim()) return String(t);
7891
7895
  }
7892
7896
  return null;
7893
- }, Fl = (e, t) => e.label || Pl(e, t) || Nl(e, t) || e.value, Il = (e) => {
7894
- let t = kl(e?.resultCount);
7897
+ }, Il = (e, t) => e.label || Fl(e, t) || Pl(e, t) || e.value, Ll = (e) => {
7898
+ let t = Al(e?.resultCount);
7895
7899
  if (t !== void 0) return t;
7896
7900
  let n = e?.metadata;
7897
- if (Ol(n)) for (let e of El) {
7898
- let t = kl(n[e]);
7901
+ if (kl(n)) for (let e of Dl) {
7902
+ let t = Al(n[e]);
7899
7903
  if (t !== void 0) return t;
7900
7904
  }
7901
- return kl(e?.totalChildCount);
7902
- }, Ll = "__pv_filter_panel_scoped_value__", Rl = (e) => typeof e == "object" && !!e, zl = (e) => {
7905
+ return Al(e?.totalChildCount);
7906
+ }, Rl = "__pv_filter_panel_scoped_value__", zl = (e) => typeof e == "object" && !!e, Bl = (e) => {
7903
7907
  try {
7904
7908
  let t = JSON.parse(decodeURIComponent(e));
7905
7909
  return Array.isArray(t) ? t.flatMap((e) => {
@@ -7913,7 +7917,7 @@ var co = {
7913
7917
  } catch {
7914
7918
  return [];
7915
7919
  }
7916
- }, Bl = (e) => {
7920
+ }, Vl = (e) => {
7917
7921
  if (!e.startsWith("__")) return null;
7918
7922
  let t = e.slice(2).split("__");
7919
7923
  if (t.length < 2 || !t[0] || !t[1]) return null;
@@ -7926,76 +7930,76 @@ var co = {
7926
7930
  pairs: n,
7927
7931
  value: n[0].value
7928
7932
  };
7929
- }, Vl = (e) => {
7933
+ }, Hl = (e) => {
7930
7934
  if (e == null) return null;
7931
- if (!e.startsWith(Ll)) return Bl(e) ?? {
7935
+ if (!e.startsWith(Rl)) return Vl(e) ?? {
7932
7936
  pairs: [],
7933
7937
  value: e
7934
7938
  };
7935
- let t = zl(e.slice(32));
7939
+ let t = Bl(e.slice(32));
7936
7940
  return {
7937
7941
  field: t[0]?.field,
7938
7942
  pairs: t,
7939
7943
  value: t[0]?.value ?? e
7940
7944
  };
7941
- }, Hl = (e, t) => `${Ll}${encodeURIComponent(JSON.stringify([[e, t]]))}`, Ul = (e) => e ? e.rawValue !== null && e.rawValue !== void 0 ? String(e.rawValue) : Rl(e.metadata) && e.metadata.rawValue !== null && e.metadata.rawValue !== void 0 ? String(e.metadata.rawValue) : e.matchedValue !== null && e.matchedValue !== void 0 ? String(e.matchedValue) : Vl(e.value)?.value ?? e.value : null, Wl = (e, t) => e?.field ? e.field : e?.colField ? e.colField : Vl(e?.value)?.field ?? t, Gl = (e) => e.flatMap((e) => [e, ...e.children?.length ? Gl(e.children) : []]), Kl = (e, t, n, r) => Wl(e, r) === t && Ul(e) === n, ql = (e) => {
7945
+ }, Ul = (e, t) => `${Rl}${encodeURIComponent(JSON.stringify([[e, t]]))}`, Wl = (e) => e ? e.rawValue !== null && e.rawValue !== void 0 ? String(e.rawValue) : zl(e.metadata) && e.metadata.rawValue !== null && e.metadata.rawValue !== void 0 ? String(e.metadata.rawValue) : e.matchedValue !== null && e.matchedValue !== void 0 ? String(e.matchedValue) : Hl(e.value)?.value ?? e.value : null, Gl = (e, t) => e?.field ? e.field : e?.colField ? e.colField : Hl(e?.value)?.field ?? t, Kl = (e) => e.flatMap((e) => [e, ...e.children?.length ? Kl(e.children) : []]), ql = (e, t, n, r) => Gl(e, r) === t && Wl(e) === n, Jl = (e) => {
7942
7946
  let t = e;
7943
7947
  return t?.filterType === "join" && Array.isArray(t.conditions);
7944
- }, Jl = (e) => {
7948
+ }, Yl = (e) => {
7945
7949
  let t = e;
7946
- return ql(e) ? {
7950
+ return Jl(e) ? {
7947
7951
  ...t,
7948
- conditions: (t.conditions ?? []).map(Jl)
7952
+ conditions: (t.conditions ?? []).map(Yl)
7949
7953
  } : { ...t };
7950
- }, Yl = (e, t) => {
7954
+ }, Xl = (e, t) => {
7951
7955
  if (!e) return null;
7952
7956
  let n = t instanceof Set ? t : new Set(t);
7953
- if (!n.size) return Jl(e);
7954
- if (!ql(e)) {
7957
+ if (!n.size) return Yl(e);
7958
+ if (!Jl(e)) {
7955
7959
  let t = e;
7956
- return typeof t.colId == "string" && n.has(t.colId) ? null : Jl(e);
7960
+ return typeof t.colId == "string" && n.has(t.colId) ? null : Yl(e);
7957
7961
  }
7958
- let r = e, i = (r.conditions ?? []).map((e) => Yl(e, n)).filter((e) => !!e);
7962
+ let r = e, i = (r.conditions ?? []).map((e) => Xl(e, n)).filter((e) => !!e);
7959
7963
  return i.length ? i.length === 1 ? i[0] : {
7960
7964
  ...r,
7961
7965
  conditions: i
7962
7966
  } : null;
7963
- }, Xl = (e) => e ? [e.field, ...(e.children ?? []).flatMap(Xl)] : [], Zl = (e) => e ? e.children?.length ? e.children.flatMap(Zl) : [e.field] : [], Ql = (e) => {
7967
+ }, Zl = (e) => e ? [e.field, ...(e.children ?? []).flatMap(Zl)] : [], Ql = (e) => e ? e.children?.length ? e.children.flatMap(Ql) : [e.field] : [], $l = (e) => {
7964
7968
  let t = e?.context ?? {};
7965
- return t.aggregateFieldHierarchy ? Xl(t.aggregateFieldHierarchy) : t.aggregateFields ?? [];
7966
- }, $l = (e) => {
7969
+ return t.aggregateFieldHierarchy ? Zl(t.aggregateFieldHierarchy) : t.aggregateFields ?? [];
7970
+ }, eu = (e) => {
7967
7971
  let t = e?.context ?? {};
7968
7972
  return t.aggregateFieldHierarchy ? t.aggregateFieldHierarchy.field : t.aggregateFields?.[t.aggregateFields.length - 1];
7969
- }, eu = (e) => Ql(e).length > 0, tu = (e, t) => {
7973
+ }, tu = (e) => $l(e).length > 0, nu = (e, t) => {
7970
7974
  for (let n of e ?? []) {
7971
7975
  if (!n) continue;
7972
7976
  if (n.value === t) return n;
7973
- let e = tu(n.children, t);
7977
+ let e = nu(n.children, t);
7974
7978
  if (e) return e;
7975
7979
  }
7976
- }, nu = (e, t, n = []) => {
7980
+ }, ru = (e, t, n = []) => {
7977
7981
  for (let r of e ?? []) {
7978
7982
  if (!r) continue;
7979
7983
  let e = [...n, r];
7980
7984
  if (r.value === t) return e;
7981
- let i = nu(r.children, t, e);
7985
+ let i = ru(r.children, t, e);
7982
7986
  if (i) return i;
7983
7987
  }
7984
- }, ru = (e, t) => {
7985
- let n = tu(t, e), r = n ? Wl(n, "") : void 0, i = n ? Ul(n) : null;
7988
+ }, iu = (e, t) => {
7989
+ let n = nu(t, e), r = n ? Gl(n, "") : void 0, i = n ? Wl(n) : null;
7986
7990
  if (r && i !== null) return {
7987
7991
  field: r,
7988
7992
  value: i
7989
7993
  };
7990
- let a = Vl(e);
7994
+ let a = Hl(e);
7991
7995
  return {
7992
7996
  field: a?.field,
7993
7997
  value: a?.value ?? e
7994
7998
  };
7995
- }, iu = (e, t, n) => {
7999
+ }, au = (e, t, n) => {
7996
8000
  let r = (e) => {
7997
8001
  if (!e) return;
7998
- let i = Wl(e, ""), a = Ul(e);
8002
+ let i = Gl(e, ""), a = Wl(e);
7999
8003
  if (i === t && a === n) return e.value;
8000
8004
  for (let t of e.children ?? []) {
8001
8005
  let e = r(t);
@@ -8007,9 +8011,9 @@ var co = {
8007
8011
  if (e) return e;
8008
8012
  }
8009
8013
  return `__${t}__${n}`;
8010
- }, au = (e) => (e ?? []).flatMap((e) => [...e.state === "deselected" ? [e] : [], ...au(e.children)]), ou = (e, t) => {
8014
+ }, ou = (e) => (e ?? []).flatMap((e) => [...e.state === "deselected" ? [e] : [], ...ou(e.children)]), su = (e, t) => {
8011
8015
  if (e.state !== "selected") return null;
8012
- let { field: n, value: r } = ru(e.id, t);
8016
+ let { field: n, value: r } = iu(e.id, t);
8013
8017
  if (!n) return null;
8014
8018
  let i = [{
8015
8019
  colId: n,
@@ -8017,8 +8021,8 @@ var co = {
8017
8021
  filterType: "text",
8018
8022
  type: "equals"
8019
8023
  }];
8020
- for (let n of au(e.children)) {
8021
- let e = ru(n.id, t);
8024
+ for (let n of ou(e.children)) {
8025
+ let e = iu(n.id, t);
8022
8026
  e.field && i.push({
8023
8027
  colId: e.field,
8024
8028
  filter: e.value,
@@ -8031,10 +8035,10 @@ var co = {
8031
8035
  filterType: "join",
8032
8036
  type: "AND"
8033
8037
  };
8034
- }, su = (e) => {
8035
- let t = Ql(e.colDef), n = Yl(e.baseModel, t);
8038
+ }, cu = (e) => {
8039
+ let t = $l(e.colDef), n = Xl(e.baseModel, t);
8036
8040
  if (!t.length) return n;
8037
- let r = e.state.map((t) => ou(t, e.options)).filter((e) => !!e);
8041
+ let r = e.state.map((t) => su(t, e.options)).filter((e) => !!e);
8038
8042
  if (!r.length) return n;
8039
8043
  let i = r.length === 1 ? r[0] : {
8040
8044
  conditions: r,
@@ -8046,17 +8050,17 @@ var co = {
8046
8050
  filterType: "join",
8047
8051
  type: "AND"
8048
8052
  } : i;
8049
- }, cu = (e, t, n) => {
8053
+ }, lu = (e, t, n) => {
8050
8054
  if (!e) return [];
8051
8055
  let r = e;
8052
- if (ql(e)) {
8056
+ if (Jl(e)) {
8053
8057
  let e = r.conditions ?? [];
8054
8058
  if (r.type === "AND") {
8055
8059
  let r = e.find((e) => {
8056
8060
  let r = e;
8057
8061
  return r.filterType !== "join" && typeof r.colId == "string" && t.has(r.colId) && r.type === "equals" && !n.has(r.colId);
8058
8062
  });
8059
- return e.flatMap((e) => cu(e, t, n).map((e) => ({
8063
+ return e.flatMap((e) => lu(e, t, n).map((e) => ({
8060
8064
  ...e,
8061
8065
  parentEquals: e.parentEquals || (r?.colId ? {
8062
8066
  colId: r.colId,
@@ -8064,20 +8068,20 @@ var co = {
8064
8068
  } : void 0)
8065
8069
  })));
8066
8070
  }
8067
- return e.flatMap((e) => cu(e, t, n));
8071
+ return e.flatMap((e) => lu(e, t, n));
8068
8072
  }
8069
8073
  return r.colId && t.has(r.colId) ? [{
8070
8074
  colId: r.colId,
8071
8075
  filter: r.filter == null ? void 0 : String(r.filter),
8072
8076
  type: r.type
8073
8077
  }] : [];
8074
- }, lu = (e) => {
8075
- let t = Ql(e.colDef);
8078
+ }, uu = (e) => {
8079
+ let t = $l(e.colDef);
8076
8080
  if (!t.length) return [];
8077
- let n = new Set(Zl(e.colDef.context?.aggregateFieldHierarchy)), r = $l(e.colDef), i = cu(e.model, new Set(t), n), a = /* @__PURE__ */ new Map();
8081
+ let n = new Set(Ql(e.colDef.context?.aggregateFieldHierarchy)), r = eu(e.colDef), i = lu(e.model, new Set(t), n), a = /* @__PURE__ */ new Map();
8078
8082
  for (let t of i) {
8079
8083
  if (!t.filter) continue;
8080
- let n = iu(e.options, t.colId, String(t.filter));
8084
+ let n = au(e.options, t.colId, String(t.filter));
8081
8085
  if (t.type === "equals") {
8082
8086
  let e = a.get(n);
8083
8087
  a.set(n, {
@@ -8088,7 +8092,7 @@ var co = {
8088
8092
  continue;
8089
8093
  }
8090
8094
  if (t.type === "notEqual" && t.parentEquals?.filter && r) {
8091
- let r = iu(e.options, t.parentEquals.colId, String(t.parentEquals.filter)), i = a.get(r) ?? {
8095
+ let r = au(e.options, t.parentEquals.colId, String(t.parentEquals.filter)), i = a.get(r) ?? {
8092
8096
  children: [],
8093
8097
  id: r,
8094
8098
  state: "selected"
@@ -8100,155 +8104,155 @@ var co = {
8100
8104
  }
8101
8105
  }
8102
8106
  return [...a.values()];
8103
- }, uu = (e) => {
8104
- let t = /* @__PURE__ */ new Map(), n = Ql(e.colDef);
8107
+ }, du = (e) => {
8108
+ let t = /* @__PURE__ */ new Map(), n = $l(e.colDef);
8105
8109
  if (!n.length) return t;
8106
- let r = cu(e.model, new Set(n), new Set(Zl(e.colDef.context?.aggregateFieldHierarchy)));
8110
+ let r = lu(e.model, new Set(n), new Set(Ql(e.colDef.context?.aggregateFieldHierarchy)));
8107
8111
  for (let e of r) {
8108
8112
  if (e.type !== "equals" || !e.filter) continue;
8109
8113
  let n = t.get(e.colId) ?? [];
8110
8114
  n.includes(e.filter) || n.push(e.filter), t.set(e.colId, n);
8111
8115
  }
8112
8116
  return t;
8113
- }, du = (e) => e.map((e) => ({
8117
+ }, fu = (e) => e.map((e) => ({
8114
8118
  ...e,
8115
8119
  children: e.children?.map((e) => ({
8116
8120
  ...e,
8117
- children: e.children ? du(e.children) : void 0
8121
+ children: e.children ? fu(e.children) : void 0
8118
8122
  }))
8119
- })), fu = (e, t) => e.flatMap((e) => {
8123
+ })), pu = (e, t) => e.flatMap((e) => {
8120
8124
  if (e.id === t) return [];
8121
- let n = e.children ? fu(e.children, t) : void 0;
8125
+ let n = e.children ? pu(e.children, t) : void 0;
8122
8126
  return [{
8123
8127
  ...e,
8124
8128
  children: n?.length ? n : void 0
8125
8129
  }];
8126
- }), pu = (e, t) => {
8130
+ }), mu = (e, t) => {
8127
8131
  for (let n of e) {
8128
8132
  if (n.id === t) return n;
8129
- let e = n.children ? pu(n.children, t) : void 0;
8133
+ let e = n.children ? mu(n.children, t) : void 0;
8130
8134
  if (e) return e;
8131
8135
  }
8132
- }, mu = (e) => !!e.children?.length || (e.totalChildCount ?? 0) > 0, hu = (e, t) => [...fu(e, t.id), t], gu = (e) => (e.children ?? []).flatMap((e) => [e.value, ...gu(e)]), _u = (e, t) => gu(t).reduce((e, t) => fu(e, t), e), vu = (e, t) => [t.value, ...gu(t)].reduce((e, t) => fu(e, t), e), yu = (e, t, n) => {
8133
- let r = (nu(n, t.value) ?? []).slice(0, -1).reverse();
8136
+ }, hu = (e) => !!e.children?.length || (e.totalChildCount ?? 0) > 0, gu = (e, t) => [...pu(e, t.id), t], _u = (e) => (e.children ?? []).flatMap((e) => [e.value, ..._u(e)]), vu = (e, t) => _u(t).reduce((e, t) => pu(e, t), e), yu = (e, t) => [t.value, ..._u(t)].reduce((e, t) => pu(e, t), e), bu = (e, t, n) => {
8137
+ let r = (ru(n, t.value) ?? []).slice(0, -1).reverse();
8134
8138
  for (let t of r) {
8135
- let n = pu(e, t.value);
8139
+ let n = mu(e, t.value);
8136
8140
  if (n?.state === "selected") return n;
8137
8141
  }
8138
- }, bu = (e) => {
8139
- let t = du(e.state), n = yu(t, e.option, e.options);
8142
+ }, xu = (e) => {
8143
+ let t = fu(e.state), n = bu(t, e.option, e.options);
8140
8144
  if (n) {
8141
8145
  let r = n.children ?? [];
8142
- return n.children = e.checked ? vu(r, e.option) : [...vu(r, e.option), {
8146
+ return n.children = e.checked ? yu(r, e.option) : [...yu(r, e.option), {
8143
8147
  id: e.option.value,
8144
8148
  state: "deselected"
8145
8149
  }], n.children.length || delete n.children, t;
8146
8150
  }
8147
- return mu(e.option) ? e.checked ? hu(_u(t, e.option), {
8151
+ return hu(e.option) ? e.checked ? gu(vu(t, e.option), {
8148
8152
  id: e.option.value,
8149
8153
  state: "selected"
8150
- }) : fu(t, e.option.value) : e.checked ? hu(t, {
8154
+ }) : pu(t, e.option.value) : e.checked ? gu(t, {
8151
8155
  id: e.option.value,
8152
8156
  state: "selected"
8153
- }) : fu(t, e.option.value);
8154
- }, xu = (e) => {
8157
+ }) : pu(t, e.option.value);
8158
+ }, Su = (e) => {
8155
8159
  let t = /* @__PURE__ */ new Map(), n = (e) => {
8156
8160
  for (let r of e ?? []) t.set(r.id, r), n(r.children);
8157
8161
  };
8158
8162
  return n(e), t;
8159
- }, Su = (e) => {
8160
- let t = xu(e.state), n = /* @__PURE__ */ new Map(), r = (e, i) => {
8163
+ }, Cu = (e) => {
8164
+ let t = Su(e.state), n = /* @__PURE__ */ new Map(), r = (e, i) => {
8161
8165
  let a = t.get(e.value), o = a?.state === "selected" || i && a?.state !== "deselected", s = (e.children ?? []).map((e) => r(e, o)), c = s.some((e) => e.selected || e.indeterminate), l = s.some((e) => !e.selected || e.indeterminate), u = {
8162
- indeterminate: au(a?.children).length > 0 || !o && c || o && l,
8166
+ indeterminate: ou(a?.children).length > 0 || !o && c || o && l,
8163
8167
  selected: o
8164
8168
  };
8165
8169
  return n.set(e.value, u), u;
8166
8170
  };
8167
8171
  for (let t of e.options ?? []) t && r(t, !1);
8168
8172
  return n;
8169
- }, Cu = (e) => Su(e).get(e.option.value) ?? Su({
8173
+ }, wu = (e) => Cu(e).get(e.option.value) ?? Cu({
8170
8174
  options: [e.option],
8171
8175
  state: e.state
8172
8176
  }).get(e.option.value) ?? {
8173
8177
  indeterminate: !1,
8174
8178
  selected: !1
8175
- }, wu = (e) => e.state.flatMap((t) => {
8179
+ }, Tu = (e) => e.state.flatMap((t) => {
8176
8180
  if (t.state !== "selected") return [];
8177
- let n = tu(e.options, t.id);
8181
+ let n = nu(e.options, t.id);
8178
8182
  if (n) return [n];
8179
- let { field: r, value: i } = ru(t.id, e.options);
8183
+ let { field: r, value: i } = iu(t.id, e.options);
8180
8184
  return [{
8181
8185
  colField: r,
8182
8186
  label: i,
8183
8187
  metadata: { rawValue: i },
8184
- value: r ? Hl(r, i) : t.id
8188
+ value: r ? Ul(r, i) : t.id
8185
8189
  }];
8186
- }), Tu = (e) => e.filter((e) => e.state === "selected").length, Eu = ["open"], Du = {
8190
+ }), Eu = (e) => e.filter((e) => e.state === "selected").length, Du = ["open"], Ou = {
8187
8191
  class: "pv-flex pv-text-body-md",
8188
8192
  style: {
8189
8193
  "--flex-align": "center",
8190
8194
  "--flex-gap": "0.5rem"
8191
8195
  }
8192
- }, Ou = {
8196
+ }, ku = {
8193
8197
  key: 1,
8194
8198
  class: "pv-filter-panel-refresh-status",
8195
8199
  "data-testid": "pv-filter-panel-refresh-status",
8196
8200
  role: "status"
8197
- }, ku = { class: "pv-visually-hidden" }, Au = ["aria-busy"], ju = {
8201
+ }, Au = { class: "pv-visually-hidden" }, ju = ["aria-busy"], Mu = {
8198
8202
  key: 0,
8199
8203
  class: "pv-flex-vertical",
8200
8204
  style: {
8201
8205
  "--flex-align": "stretch",
8202
8206
  "--flex-gap": "0.5rem"
8203
8207
  }
8204
- }, Mu = {
8208
+ }, Nu = {
8205
8209
  key: 0,
8206
8210
  class: "pv-flex",
8207
8211
  style: {
8208
8212
  "--flex-gap": "0.5rem",
8209
8213
  "--flex-wrap": "wrap"
8210
8214
  }
8211
- }, Nu = {
8215
+ }, Pu = {
8212
8216
  key: 1,
8213
8217
  class: "pv-flex",
8214
8218
  style: { "--flex-justify": "flex-end" }
8215
- }, Pu = {
8219
+ }, Fu = {
8216
8220
  key: 2,
8217
8221
  class: "pv-flex-vertical",
8218
8222
  style: {
8219
8223
  "--flex-align": "stretch",
8220
8224
  "--flex-gap": "0.5rem"
8221
8225
  }
8222
- }, Fu = {
8226
+ }, Iu = {
8223
8227
  key: 3,
8224
8228
  class: "pv-flex pv-text-body-xs pv-text-subdued"
8225
- }, Iu = { key: 0 }, Lu = {
8229
+ }, Lu = { key: 0 }, Ru = {
8226
8230
  key: 1,
8227
8231
  class: "pv-text-body-xs pv-text-subdued",
8228
8232
  style: { margin: "0" }
8229
- }, Ru = {
8233
+ }, zu = {
8230
8234
  key: 1,
8231
8235
  class: "pv-text-body-xs pv-text-subdued",
8232
8236
  style: { margin: "0" }
8233
- }, zu = {
8237
+ }, Bu = {
8234
8238
  key: 2,
8235
8239
  class: "pv-flex-vertical",
8236
8240
  style: {
8237
8241
  "--flex-align": "stretch",
8238
8242
  "--flex-gap": "0.5rem"
8239
8243
  }
8240
- }, Bu = { key: 0 }, Vu = {
8244
+ }, Vu = { key: 0 }, Hu = {
8241
8245
  class: "pv-text-title-sm pv-text-subdued suggested-title-label",
8242
8246
  style: { margin: "0" }
8243
- }, Hu = {
8247
+ }, Uu = {
8244
8248
  key: 1,
8245
8249
  class: "pv-text-title-sm pv-text-subdued",
8246
8250
  style: { margin: "0" }
8247
- }, Uu = {
8251
+ }, Wu = {
8248
8252
  key: 2,
8249
8253
  class: "pv-text-body-xs pv-text-subdued",
8250
8254
  style: { margin: "0" }
8251
- }, Wu = {
8255
+ }, Gu = {
8252
8256
  key: 3,
8253
8257
  class: "pv-flex-vertical",
8254
8258
  "data-testid": "pv-filter-panel-boolean-control",
@@ -8256,14 +8260,14 @@ var co = {
8256
8260
  "--flex-align": "stretch",
8257
8261
  "--flex-gap": "0.5rem"
8258
8262
  }
8259
- }, Gu = {
8263
+ }, Ku = {
8260
8264
  class: "pv-flex",
8261
8265
  style: {
8262
8266
  "--flex-align": "center",
8263
8267
  "--flex-gap": "0.5rem",
8264
8268
  "--flex-wrap": "wrap"
8265
8269
  }
8266
- }, Ku = {
8270
+ }, qu = {
8267
8271
  key: 4,
8268
8272
  class: "pv-flex",
8269
8273
  "data-testid": "pv-filter-panel-exists-control",
@@ -8272,7 +8276,7 @@ var co = {
8272
8276
  "--flex-gap": "0.5rem",
8273
8277
  cursor: "pointer"
8274
8278
  }
8275
- }, qu = { class: "pv-text-body-sm" }, Ju = 5, Yu = 500, Xu = /* @__PURE__ */ Q(/* @__PURE__ */ d({
8279
+ }, Ju = { class: "pv-text-body-sm" }, Yu = 5, Xu = 500, Zu = /* @__PURE__ */ Q(/* @__PURE__ */ d({
8276
8280
  __name: "PvFilterPanelAccordion",
8277
8281
  props: {
8278
8282
  disableWhileLoading: {
@@ -8290,7 +8294,7 @@ var co = {
8290
8294
  "search-change"
8291
8295
  ],
8292
8296
  setup(e, { emit: n }) {
8293
- let c = e, d = n, f = k(null), p = k({}), m = k(0), h = R(), g = k(c.filter.searchQuery ?? ""), v = k(Ju), y = r(() => c.filter.existsLabel ?? `Has ${c.filter.label}`), S = 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"), O = r(() => E.value && c.filter.isAggregate === !0), j = r(() => c.filter.aggregateSelectionState ?? []), M = r(() => g.value.trim().toLowerCase()), P = r(() => c.filter.selectedValues ?? []), F = r(() => new Set(P.value)), ee = r(() => c.filter.valueLabels?.true ?? "Yes"), z = r(() => c.filter.filterOptionsSortDescription || "Suggested"), B = r(() => c.filter.disabled === !0 || c.disableWhileLoading && c.filter.isLoading === !0), V = r(() => {
8297
+ let c = e, d = n, f = k(null), p = k({}), m = k(0), h = R(), g = k(c.filter.searchQuery ?? ""), v = k(Yu), y = r(() => c.filter.existsLabel ?? `Has ${c.filter.label}`), S = 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"), O = r(() => E.value && c.filter.isAggregate === !0), j = r(() => c.filter.aggregateSelectionState ?? []), M = r(() => g.value.trim().toLowerCase()), P = r(() => c.filter.selectedValues ?? []), F = r(() => new Set(P.value)), ee = r(() => c.filter.valueLabels?.true ?? "Yes"), z = r(() => c.filter.filterOptionsSortDescription || "Suggested"), B = r(() => c.filter.disabled === !0 || c.disableWhileLoading && c.filter.isLoading === !0), V = r(() => {
8294
8298
  let e = c.filter.valueLabels, t = typeof e?.true == "string", n = typeof e?.false == "string";
8295
8299
  return t && !n ? [{
8296
8300
  label: ee.value,
@@ -8315,7 +8319,7 @@ var co = {
8315
8319
  e.matchedValue,
8316
8320
  e.matchedField
8317
8321
  ].concat(t.flatMap((e) => e == null ? [] : [String(e)])).filter((e) => !!e).join(" ").toLowerCase();
8318
- }, H = 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 : O.value ? Tu(j.value) || void 0 : P.value.length || void 0), U = (e) => e.totalChildCount === null || e.totalChildCount === void 0 ? !1 : e.totalChildCount > (e.children?.length ?? 0), W = (e, t = 0) => e.flatMap((e) => [
8322
+ }, H = 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 : O.value ? Eu(j.value) || void 0 : P.value.length || void 0), U = (e) => e.totalChildCount === null || e.totalChildCount === void 0 ? !1 : e.totalChildCount > (e.children?.length ?? 0), W = (e, t = 0) => e.flatMap((e) => [
8319
8323
  {
8320
8324
  depth: t,
8321
8325
  kind: "option",
@@ -8340,16 +8344,16 @@ var co = {
8340
8344
  ae.value = O.value || c.filter.singleSelect ? [] : [...P.value];
8341
8345
  };
8342
8346
  ce();
8343
- let le = r(() => O.value || c.filter.singleSelect ? ne.value : ne.value.filter((e) => e.kind === "child-load-more" || !q.value.has(e.option.value))), Y = r(() => le.value.length > v.value), ue = r(() => Y.value || c.filter.hasMore), de = r(() => le.value.slice(0, v.value)), pe = r(() => O.value ? Su({
8347
+ let le = r(() => O.value || c.filter.singleSelect ? ne.value : ne.value.filter((e) => e.kind === "child-load-more" || !q.value.has(e.option.value))), Y = r(() => le.value.length > v.value), ue = r(() => Y.value || c.filter.hasMore), de = r(() => le.value.slice(0, v.value)), pe = r(() => O.value ? Cu({
8344
8348
  options: w.value,
8345
8349
  state: j.value
8346
- }) : /* @__PURE__ */ new Map()), X = (e) => Fl(e, c.filter.colDef), me = (e) => Il(e), he = (e) => O.value ? pe.value.get(e.value) ?? {
8350
+ }) : /* @__PURE__ */ new Map()), X = (e) => Il(e, c.filter.colDef), me = (e) => Ll(e), he = (e) => O.value ? pe.value.get(e.value) ?? {
8347
8351
  indeterminate: !1,
8348
8352
  selected: !1
8349
8353
  } : {
8350
8354
  indeterminate: !1,
8351
8355
  selected: F.value.has(e.value)
8352
- }, ge = (e) => he(e).selected, _e = (e) => he(e).indeterminate, ve = (e) => Ul(e) ?? e.value, ye = (e) => Wl(e, c.filter.key), be = (e) => {
8356
+ }, ge = (e) => he(e).selected, _e = (e) => he(e).indeterminate, ve = (e) => Wl(e) ?? e.value, ye = (e) => Gl(e, c.filter.key), be = (e) => {
8353
8357
  let t = ye(e), n = ve(e);
8354
8358
  return c.filter.focusedValuesByField?.[t]?.includes(n) || t === c.filter.key && c.filter.focusedValues?.includes(e.value) || !1;
8355
8359
  }, xe = (e) => ({
@@ -8378,7 +8382,7 @@ var co = {
8378
8382
  rowsLoading: c.filter.isLoading
8379
8383
  }
8380
8384
  })), Te = () => {
8381
- B.value || (Y.value ? v.value += Ju : c.filter.hasMore && d("load-more", g.value.trim()));
8385
+ B.value || (Y.value ? v.value += Yu : c.filter.hasMore && d("load-more", g.value.trim()));
8382
8386
  }, Ee = (e) => {
8383
8387
  B.value || d("load-more", g.value.trim(), e.value);
8384
8388
  }, De = (e) => {
@@ -8404,7 +8408,7 @@ var co = {
8404
8408
  if (O.value) {
8405
8409
  d("filter-change", {
8406
8410
  type: "aggregate-selection",
8407
- value: bu({
8411
+ value: xu({
8408
8412
  checked: t,
8409
8413
  option: e,
8410
8414
  options: w.value,
@@ -8432,12 +8436,12 @@ var co = {
8432
8436
  B.value || d("handle-settings-icon", c.filter.key, c.filter.colDef);
8433
8437
  };
8434
8438
  G([g, () => c.filter.key], () => {
8435
- v.value = Ju;
8439
+ v.value = Yu;
8436
8440
  });
8437
8441
  let Ie = () => {
8438
- let e = Gl(w.value), t = { ...p.value }, n = new Map(Object.entries(t));
8442
+ let e = Kl(w.value), t = { ...p.value }, n = new Map(Object.entries(t));
8439
8443
  for (let t of e) n.delete(t.value), n.set(t.value, t);
8440
- p.value = Object.fromEntries([...n.entries()].slice(Math.max(0, n.size - Yu)));
8444
+ p.value = Object.fromEntries([...n.entries()].slice(Math.max(0, n.size - Xu)));
8441
8445
  };
8442
8446
  return G(w, () => {
8443
8447
  c.filter.isOpen && Ie();
@@ -8464,7 +8468,7 @@ var co = {
8464
8468
  "data-testid": "pv-filter-panel-accordion",
8465
8469
  open: e.filter.isOpen,
8466
8470
  onToggle: De
8467
- }, [s("summary", Du, [
8471
+ }, [s("summary", Ou, [
8468
8472
  u(Z, {
8469
8473
  "aria-hidden": "true",
8470
8474
  class: "pv-text-subdued",
@@ -8477,7 +8481,7 @@ var co = {
8477
8481
  size: "sm",
8478
8482
  variant: "secondary"
8479
8483
  }, null, 8, ["value"])) : a("", !0),
8480
- se.value ? (D(), o("span", Ou, [u(Ne, { size: "sm" }), s("span", ku, I(e.filter.loadingText || `Updating ${e.filter.label} options`), 1)])) : a("", !0)
8484
+ se.value ? (D(), o("span", ku, [u(Ne, { size: "sm" }), s("span", Au, I(e.filter.loadingText || `Updating ${e.filter.label} options`), 1)])) : a("", !0)
8481
8485
  ]), s("div", {
8482
8486
  ref_key: "filterContent",
8483
8487
  ref: f,
@@ -8488,8 +8492,8 @@ var co = {
8488
8492
  minHeight: m.value ? `${m.value}px` : void 0
8489
8493
  })
8490
8494
  }, [E.value ? (D(), o(t, { key: 0 }, [
8491
- e.filter.filterGroupOptions?.length || e.filter.displayPreferencesIcon || e.filter.filterHeaderRenderer ? (D(), o("div", ju, [
8492
- e.filter.filterGroupOptions?.length ? (D(), o("div", Mu, [(D(!0), o(t, null, A(e.filter.filterGroupOptions, (e) => (D(), i($, {
8495
+ e.filter.filterGroupOptions?.length || e.filter.displayPreferencesIcon || e.filter.filterHeaderRenderer ? (D(), o("div", Mu, [
8496
+ e.filter.filterGroupOptions?.length ? (D(), o("div", Nu, [(D(!0), o(t, null, A(e.filter.filterGroupOptions, (e) => (D(), i($, {
8493
8497
  key: e.field,
8494
8498
  disabled: B.value,
8495
8499
  label: e.label,
@@ -8502,7 +8506,7 @@ var co = {
8502
8506
  "variant",
8503
8507
  "onClick"
8504
8508
  ]))), 128))])) : a("", !0),
8505
- e.filter.displayPreferencesIcon ? (D(), o("div", Nu, [u($, {
8509
+ e.filter.displayPreferencesIcon ? (D(), o("div", Pu, [u($, {
8506
8510
  ariaLabel: "Open preferences",
8507
8511
  disabled: B.value,
8508
8512
  leftIcon: "sliders-horizontal",
@@ -8524,7 +8528,7 @@ var co = {
8524
8528
  "disabled",
8525
8529
  "placeholder"
8526
8530
  ])),
8527
- oe.value.length ? (D(), o("div", Pu, [(D(!0), o(t, null, A(oe.value, (t) => (D(), i(Tl, {
8531
+ oe.value.length ? (D(), o("div", Fu, [(D(!0), o(t, null, A(oe.value, (t) => (D(), i(El, {
8528
8532
  key: t.value,
8529
8533
  control: e.filter.singleSelect ? "radio" : "checkbox",
8530
8534
  disabled: B.value || t.isSelectable === !1,
@@ -8562,10 +8566,10 @@ var co = {
8562
8566
  "onFocusValue",
8563
8567
  "onToggleValue"
8564
8568
  ]))), 128))])) : a("", !0),
8565
- e.filter.isLoading && !J.value ? (D(), o("div", Fu, [u(Ne, { size: "sm" }), e.filter.loadingText ? (D(), o("span", Iu, I(e.filter.loadingText), 1)) : a("", !0)])) : (D(), o(t, { key: 4 }, [
8566
- !C.value.length && !oe.value.length && !ue.value ? (D(), o(t, { key: 0 }, [e.filter.emptyResultsRenderer ? (D(), i(N(e.filter.emptyResultsRenderer), _({ key: 0 }, we.value, { "empty-reason": "no-values" }), null, 16)) : (D(), o("p", Lu, "No values available."))], 64)) : !ne.value.length && !oe.value.length && !ue.value ? (D(), o(t, { key: 1 }, [e.filter.emptyResultsRenderer ? (D(), i(N(e.filter.emptyResultsRenderer), _({ key: 0 }, we.value, { "empty-reason": "no-matches" }), null, 16)) : (D(), o("p", Ru, "No matching values."))], 64)) : a("", !0),
8567
- le.value.length || ue.value ? (D(), o("div", zu, [
8568
- le.value.length && !e.filter.hideOptionsSortDescription ? (D(), o("div", Bu, [e.filter.filterOptionsSortTooltip ? (D(), i(ir, {
8569
+ e.filter.isLoading && !J.value ? (D(), o("div", Iu, [u(Ne, { size: "sm" }), e.filter.loadingText ? (D(), o("span", Lu, I(e.filter.loadingText), 1)) : a("", !0)])) : (D(), o(t, { key: 4 }, [
8570
+ !C.value.length && !oe.value.length && !ue.value ? (D(), o(t, { key: 0 }, [e.filter.emptyResultsRenderer ? (D(), i(N(e.filter.emptyResultsRenderer), _({ key: 0 }, we.value, { "empty-reason": "no-values" }), null, 16)) : (D(), o("p", Ru, "No values available."))], 64)) : !ne.value.length && !oe.value.length && !ue.value ? (D(), o(t, { key: 1 }, [e.filter.emptyResultsRenderer ? (D(), i(N(e.filter.emptyResultsRenderer), _({ key: 0 }, we.value, { "empty-reason": "no-matches" }), null, 16)) : (D(), o("p", zu, "No matching values."))], 64)) : a("", !0),
8571
+ le.value.length || ue.value ? (D(), o("div", Bu, [
8572
+ le.value.length && !e.filter.hideOptionsSortDescription ? (D(), o("div", Vu, [e.filter.filterOptionsSortTooltip ? (D(), i(ir, {
8569
8573
  key: 0,
8570
8574
  variant: "dark",
8571
8575
  disableInteractive: !0,
@@ -8574,11 +8578,11 @@ var co = {
8574
8578
  "use-teleport": !0,
8575
8579
  style: { "--max-width": "200px" }
8576
8580
  }, {
8577
- trigger: K(() => [s("p", Vu, I(z.value), 1)]),
8581
+ trigger: K(() => [s("p", Hu, I(z.value), 1)]),
8578
8582
  content: K(() => [l(I(e.filter.filterOptionsSortTooltip), 1)]),
8579
8583
  _: 1
8580
- })) : (D(), o("p", Hu, I(z.value), 1))])) : a("", !0),
8581
- (D(!0), o(t, null, A(de.value, (n) => (D(), o(t, { key: n.kind === "option" ? n.option.value : `${n.parent.value}-children-more` }, [n.kind === "option" ? (D(), i(Tl, {
8584
+ })) : (D(), o("p", Uu, I(z.value), 1))])) : a("", !0),
8585
+ (D(!0), o(t, null, A(de.value, (n) => (D(), o(t, { key: n.kind === "option" ? n.option.value : `${n.parent.value}-children-more` }, [n.kind === "option" ? (D(), i(El, {
8582
8586
  key: 0,
8583
8587
  control: e.filter.singleSelect ? "radio" : "checkbox",
8584
8588
  depth: n.depth,
@@ -8645,7 +8649,7 @@ var co = {
8645
8649
  ])) : a("", !0),
8646
8650
  e.filter.filterFooterRenderer ? (D(), i(N(e.filter.filterFooterRenderer), b(_({ key: 3 }, we.value)), null, 16)) : a("", !0)
8647
8651
  ], 64))
8648
- ], 64)) : T.value === "range" && e.filter.rangeMin !== null && e.filter.rangeMax !== null ? (D(), i(vl, {
8652
+ ], 64)) : T.value === "range" && e.filter.rangeMin !== null && e.filter.rangeMax !== null ? (D(), i(yl, {
8649
8653
  key: 1,
8650
8654
  mode: "dual",
8651
8655
  rangeValue: e.filter.rangeValue,
@@ -8672,7 +8676,7 @@ var co = {
8672
8676
  "slider-step",
8673
8677
  "step",
8674
8678
  "value-decimals"
8675
- ])) : T.value === "range" ? (D(), o("p", Uu, " Range filters require minimum and maximum bounds. ")) : T.value === "boolean" ? (D(), o("div", Wu, [s("div", Gu, [(D(!0), o(t, null, A(V.value, (t) => (D(), i($, {
8679
+ ])) : T.value === "range" ? (D(), o("p", Wu, " Range filters require minimum and maximum bounds. ")) : T.value === "boolean" ? (D(), o("div", Gu, [s("div", Ku, [(D(!0), o(t, null, A(V.value, (t) => (D(), i($, {
8676
8680
  key: String(t.value),
8677
8681
  disabled: B.value,
8678
8682
  label: t.label,
@@ -8690,43 +8694,43 @@ var co = {
8690
8694
  label: "Clear",
8691
8695
  variant: "ghost",
8692
8696
  onClick: r[1] ||= (e) => Oe(null)
8693
- }, null, 8, ["disabled"])) : a("", !0)])) : T.value === "exists" ? (D(), o("label", Ku, [u(Ms, {
8697
+ }, null, 8, ["disabled"])) : a("", !0)])) : T.value === "exists" ? (D(), o("label", qu, [u(Ns, {
8694
8698
  disabled: B.value,
8695
8699
  modelValue: e.filter.existsValue ?? !1,
8696
8700
  "onUpdate:modelValue": ke
8697
- }, null, 8, ["disabled", "modelValue"]), s("span", qu, I(y.value), 1)])) : a("", !0)], 12, Au)], 40, Eu));
8701
+ }, null, 8, ["disabled", "modelValue"]), s("span", Ju, I(y.value), 1)])) : a("", !0)], 12, ju)], 40, Du));
8698
8702
  }
8699
- }), [["__scopeId", "data-v-073616dc"]]), Zu = {
8703
+ }), [["__scopeId", "data-v-073616dc"]]), Qu = {
8700
8704
  class: "pv-flex-vertical pv-inset-square-8",
8701
8705
  "data-testid": "pv-filter-panel-applied-section",
8702
8706
  style: {
8703
8707
  "--flex-align": "stretch",
8704
8708
  "--flex-gap": "1rem"
8705
8709
  }
8706
- }, Qu = {
8710
+ }, $u = {
8707
8711
  key: 0,
8708
8712
  class: "pv-flex-vertical",
8709
8713
  style: {
8710
8714
  "--flex-align": "stretch",
8711
8715
  "--flex-gap": "1rem"
8712
8716
  }
8713
- }, $u = { class: "pv-text-title-md" }, ed = {
8717
+ }, ed = { class: "pv-text-title-md" }, td = {
8714
8718
  class: "pv-flex",
8715
8719
  style: {
8716
8720
  "--flex-gap": "0.375rem",
8717
8721
  "--flex-wrap": "wrap"
8718
8722
  }
8719
- }, td = { class: "pv-text-title-md" }, nd = {
8723
+ }, nd = { class: "pv-text-title-md" }, rd = {
8720
8724
  class: "pv-flex",
8721
8725
  style: {
8722
8726
  "--flex-gap": "0.375rem",
8723
8727
  "--flex-wrap": "wrap"
8724
8728
  }
8725
- }, rd = {
8729
+ }, id = {
8726
8730
  key: 1,
8727
8731
  class: "pv-text-body-sm pv-text-subdued",
8728
8732
  style: { margin: "0" }
8729
- }, id = /* @__PURE__ */ d({
8733
+ }, ad = /* @__PURE__ */ d({
8730
8734
  __name: "PvFilterPanelAppliedFiltersSection",
8731
8735
  props: {
8732
8736
  appliedCount: { default: 0 },
@@ -8742,7 +8746,7 @@ var co = {
8742
8746
  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) => {
8743
8747
  c("remove-filter", t.field ?? e, t.value, t.type);
8744
8748
  };
8745
- return (n, r) => (D(), o("section", Zu, [u.value ? (D(), o("div", Qu, [(D(!0), o(t, null, A(l.value, (e) => (D(), o("div", {
8749
+ return (n, r) => (D(), o("section", Qu, [u.value ? (D(), o("div", $u, [(D(!0), o(t, null, A(l.value, (e) => (D(), o("div", {
8746
8750
  key: `external-${e.key}`,
8747
8751
  class: "pv-flex-vertical pv-border-bottom",
8748
8752
  "data-testid": "pv-filter-panel-external-filter-group",
@@ -8751,7 +8755,7 @@ var co = {
8751
8755
  "--flex-gap": "12px",
8752
8756
  "padding-bottom": "12px"
8753
8757
  }
8754
- }, [s("span", $u, I(e.label), 1), s("div", ed, [(D(!0), o(t, null, A(e.values, (t) => (D(), i(br, {
8758
+ }, [s("span", ed, I(e.label), 1), s("div", td, [(D(!0), o(t, null, A(e.values, (t) => (D(), i(br, {
8755
8759
  key: `${e.key}-${t.value}`,
8756
8760
  label: t.label,
8757
8761
  showClear: d(e),
@@ -8768,7 +8772,7 @@ var co = {
8768
8772
  "--flex-gap": "12px",
8769
8773
  "padding-bottom": "12px"
8770
8774
  }
8771
- }, [s("span", td, I(n.label), 1), s("div", nd, [(D(!0), o(t, null, A(n.values, (t) => (D(), i(br, {
8775
+ }, [s("span", nd, I(n.label), 1), s("div", rd, [(D(!0), o(t, null, A(n.values, (t) => (D(), i(br, {
8772
8776
  key: `${t.field ?? n.key}-${t.type ?? "value"}-${t.value}`,
8773
8777
  label: t.label,
8774
8778
  showClear: !e.readOnly,
@@ -8777,9 +8781,9 @@ var co = {
8777
8781
  "label",
8778
8782
  "showClear",
8779
8783
  "onHandleClose"
8780
- ]))), 128))])]))), 128))])) : (D(), o("p", rd, "No filters applied yet."))]));
8784
+ ]))), 128))])]))), 128))])) : (D(), o("p", id, "No filters applied yet."))]));
8781
8785
  }
8782
- }), ad = { class: "pv-horizontal-scroller" }, od = ["aria-label"], sd = 1, cd = /* @__PURE__ */ d({
8786
+ }), od = { class: "pv-horizontal-scroller" }, sd = ["aria-label"], cd = 1, ld = /* @__PURE__ */ d({
8783
8787
  __name: "PvHorizontalScroller",
8784
8788
  props: {
8785
8789
  ariaLabel: { default: "Scrollable content" },
@@ -8803,7 +8807,7 @@ var co = {
8803
8807
  let e = u.value;
8804
8808
  if (!e) return;
8805
8809
  let t = Math.max(0, e.scrollWidth - e.clientWidth);
8806
- n.value = e.scrollLeft > sd, c.value = e.scrollLeft < t - sd;
8810
+ n.value = e.scrollLeft > cd, c.value = e.scrollLeft < t - cd;
8807
8811
  }, h = () => {
8808
8812
  d && (d.disconnect(), u.value && d.observe(u.value), l.value && d.observe(l.value));
8809
8813
  }, g = () => {
@@ -8823,7 +8827,7 @@ var co = {
8823
8827
  h(), g();
8824
8828
  }), S(() => {
8825
8829
  u.value?.removeEventListener("scroll", m), d?.disconnect(), f && window.removeEventListener("resize", m);
8826
- }), (t, r) => (D(), o("div", ad, [
8830
+ }), (t, r) => (D(), o("div", od, [
8827
8831
  s("div", {
8828
8832
  ref_key: "scrollContainer",
8829
8833
  ref: u,
@@ -8834,7 +8838,7 @@ var co = {
8834
8838
  ref_key: "contentContainer",
8835
8839
  ref: l,
8836
8840
  class: "pv-horizontal-scroller-content"
8837
- }, [j(t.$slots, "default")], 512)], 10, od),
8841
+ }, [j(t.$slots, "default")], 512)], 10, sd),
8838
8842
  s("div", { class: y(["pv-horizontal-scroller-control pv-horizontal-scroller-control-left", {
8839
8843
  "pv-horizontal-scroller-control-hidden": !n.value,
8840
8844
  "pv-horizontal-scroller-control-left-fade": e.showFades
@@ -8867,18 +8871,18 @@ var co = {
8867
8871
  ])) : a("", !0)], 2)
8868
8872
  ]));
8869
8873
  }
8870
- }), ld = {
8874
+ }), ud = {
8871
8875
  key: 0,
8872
8876
  class: "pv-border-bottom",
8873
8877
  "data-testid": "pv-filter-panel-category-row"
8874
- }, ud = {
8878
+ }, dd = {
8875
8879
  class: "pv-flex",
8876
8880
  style: {
8877
8881
  "--flex-align": "center",
8878
8882
  "--flex-gap": "8px",
8879
8883
  padding: "8px 12px"
8880
8884
  }
8881
- }, dd = /* @__PURE__ */ d({
8885
+ }, fd = /* @__PURE__ */ d({
8882
8886
  __name: "PvFilterPanelCategoryButtonRow",
8883
8887
  props: /* @__PURE__ */ g({
8884
8888
  allCategoriesLabel: { default: "All" },
@@ -8900,7 +8904,7 @@ var co = {
8900
8904
  }, f = (e) => c.value === e ? "secondary" : "ghost";
8901
8905
  return G(l, (e) => {
8902
8906
  c.value !== null && !e.includes(c.value) && (c.value = null);
8903
- }, { immediate: !0 }), (n, r) => l.value.length ? (D(), o("div", ld, [u(cd, {
8907
+ }, { immediate: !0 }), (n, r) => l.value.length ? (D(), o("div", ud, [u(ld, {
8904
8908
  ariaLabel: "Filter categories",
8905
8909
  buttonSize: "lg",
8906
8910
  buttonVariant: "ghost",
@@ -8909,7 +8913,7 @@ var co = {
8909
8913
  rightAriaLabel: "Scroll filter categories right",
8910
8914
  showFades: ""
8911
8915
  }, {
8912
- default: K(() => [s("div", ud, [u($, {
8916
+ default: K(() => [s("div", dd, [u($, {
8913
8917
  label: e.allCategoriesLabel,
8914
8918
  variant: f(null),
8915
8919
  onClick: r[0] ||= (e) => d(null)
@@ -8926,17 +8930,17 @@ var co = {
8926
8930
  _: 1
8927
8931
  })])) : a("", !0);
8928
8932
  }
8929
- }), fd = (e, t, n) => {
8933
+ }), pd = (e, t, n) => {
8930
8934
  let r = [e, ...t ?? []].filter((e) => !!e);
8931
8935
  if (r.length <= 1) return "Search";
8932
8936
  let i = /* @__PURE__ */ new Set(), a = r.flatMap((e) => i.has(e) ? [] : (i.add(e), [n(e) || e]));
8933
8937
  return a.length ? `Search ${a.join(", ")}` : "Search";
8934
- }, pd = (e) => String(e ?? "").trim().replace(/\s+/g, " ").toLocaleLowerCase(), md = ({ fallbackSubText: e, getDisplayName: t, matchedField: n, matchedValue: r, primaryText: i, showPrefix: a = !0 }) => {
8935
- if (!r || pd(i) === pd(r)) return e;
8938
+ }, md = (e) => String(e ?? "").trim().replace(/\s+/g, " ").toLocaleLowerCase(), hd = ({ fallbackSubText: e, getDisplayName: t, matchedField: n, matchedValue: r, primaryText: i, showPrefix: a = !0 }) => {
8939
+ if (!r || md(i) === md(r)) return e;
8936
8940
  if (!a || !n) return r;
8937
8941
  let o = t(n);
8938
8942
  return o ? `${o}: ${r}` : r;
8939
- }, hd = () => ({
8943
+ }, gd = () => ({
8940
8944
  booleanValue: null,
8941
8945
  existsValue: !1,
8942
8946
  rangeValue: {
@@ -8944,15 +8948,15 @@ var co = {
8944
8948
  min: null
8945
8949
  },
8946
8950
  values: []
8947
- }), gd = (e) => typeof e == "object" && !!e && !Array.isArray(e), _d = (e) => gd(e) && typeof e.colId == "string" && typeof e.filterType == "string" && typeof e.type == "string", vd = (e) => gd(e) && e.filterType === "join" && Array.isArray(e.conditions), yd = (e) => e, bd = (e) => vd(e) ? {
8948
- conditions: e.conditions.map(bd),
8951
+ }), _d = (e) => typeof e == "object" && !!e && !Array.isArray(e), vd = (e) => _d(e) && typeof e.colId == "string" && typeof e.filterType == "string" && typeof e.type == "string", yd = (e) => _d(e) && e.filterType === "join" && Array.isArray(e.conditions), bd = (e) => e, xd = (e) => yd(e) ? {
8952
+ conditions: e.conditions.map(xd),
8949
8953
  filterType: "join",
8950
8954
  type: e.type
8951
- } : { ...e }, xd = (e) => {
8952
- if (!gd(e)) return null;
8953
- if (vd(e)) {
8955
+ } : { ...e }, Sd = (e) => {
8956
+ if (!_d(e)) return null;
8957
+ if (yd(e)) {
8954
8958
  let t = e.conditions.flatMap((e) => {
8955
- let t = xd(e);
8959
+ let t = Sd(e);
8956
8960
  return t ? [t] : [];
8957
8961
  });
8958
8962
  return t.length ? {
@@ -8961,43 +8965,43 @@ var co = {
8961
8965
  type: e.type === "OR" ? "OR" : "AND"
8962
8966
  } : null;
8963
8967
  }
8964
- return _d(e) ? { ...e } : null;
8965
- }, Sd = (e) => typeof e == "number" && Number.isFinite(e) ? e : null, Cd = (e) => gd(e) && !vd(e) && !_d(e), wd = (e) => e?.filterType === "multi" && Array.isArray(e.filterModels), Td = {
8968
+ return vd(e) ? { ...e } : null;
8969
+ }, Cd = (e) => typeof e == "number" && Number.isFinite(e) ? e : null, wd = (e) => _d(e) && !yd(e) && !vd(e), Td = (e) => e?.filterType === "multi" && Array.isArray(e.filterModels), Ed = {
8966
8970
  number: "agNumberColumnFilter",
8967
8971
  set: "agSetColumnFilter",
8968
8972
  text: "agTextColumnFilter"
8969
- }, Ed = (e) => {
8973
+ }, Dd = (e) => {
8970
8974
  if (e?.filter !== "agMultiColumnFilter") return [];
8971
8975
  let t = e.filterParams;
8972
8976
  return Array.isArray(t?.filters) ? t.filters : [];
8973
- }, Dd = (e, t) => {
8974
- let n = Ed(e), r = t.filterType ? Td[t.filterType] : void 0;
8975
- return r ? n.findIndex((e) => gd(e) && e.filter === r) : -1;
8976
8977
  }, Od = (e, t) => {
8977
- let n = Ed(e);
8978
+ let n = Dd(e), r = t.filterType ? Ed[t.filterType] : void 0;
8979
+ return r ? n.findIndex((e) => _d(e) && e.filter === r) : -1;
8980
+ }, kd = (e, t) => {
8981
+ let n = Dd(e);
8978
8982
  if (!n.length) return null;
8979
- let r = Array(n.length).fill(null), i = Dd(e, t);
8983
+ let r = Array(n.length).fill(null), i = Od(e, t);
8980
8984
  return i < 0 ? null : (r[i] = t, {
8981
8985
  filterModels: r,
8982
8986
  filterType: "multi"
8983
8987
  });
8984
- }, kd = (e, t) => {
8985
- if (!Cd(e)) return null;
8988
+ }, Ad = (e, t) => {
8989
+ if (!wd(e)) return null;
8986
8990
  let n = e[t];
8987
- return gd(n) ? n : null;
8988
- }, Ad = (e) => e ? wd(e) ? e.filterModels.filter((e) => gd(e)) : [e] : [], jd = (e) => Cd(e) ? { ...e } : {}, Md = (e) => wd(e) ? {
8991
+ return _d(n) ? n : null;
8992
+ }, jd = (e) => e ? Td(e) ? e.filterModels.filter((e) => _d(e)) : [e] : [], Md = (e) => wd(e) ? { ...e } : {}, Nd = (e) => Td(e) ? {
8989
8993
  ...e,
8990
8994
  filterModels: e.filterModels.map((e) => e && { ...e })
8991
- } : { ...e }, Nd = (e, t) => {
8992
- let n = jd(e);
8995
+ } : { ...e }, Pd = (e, t) => {
8996
+ let n = Md(e);
8993
8997
  return delete n[t], Object.keys(n).length ? n : null;
8994
- }, Pd = /* @__PURE__ */ new Set(), Fd = (e, t) => {
8998
+ }, Fd = /* @__PURE__ */ new Set(), Id = (e, t) => {
8995
8999
  let n = `${e}:${t ?? "unknown"}`;
8996
- Pd.has(n) || (console.warn(`PvFilterPanel: overwriting an occupied regular multi-filter slot for "${e}" because the target slot was occupied or no empty slot was available.`), Pd.add(n));
8997
- }, Id = (e, t, n, r, i) => {
8998
- let a = kd(e, t);
8999
- if (wd(a) && r) {
9000
- let o = jd(e), s = Md(a), c = [...s.filterModels ?? []], l = c.flatMap((e, t) => e && r(e) ? [t] : []);
9000
+ Fd.has(n) || (console.warn(`PvFilterPanel: overwriting an occupied regular multi-filter slot for "${e}" because the target slot was occupied or no empty slot was available.`), Fd.add(n));
9001
+ }, Ld = (e, t, n, r, i) => {
9002
+ let a = Ad(e, t);
9003
+ if (Td(a) && r) {
9004
+ let o = Md(e), s = Nd(a), c = [...s.filterModels ?? []], l = c.flatMap((e, t) => e && r(e) ? [t] : []);
9001
9005
  if (!n) {
9002
9006
  for (let e of l) c[e] = null;
9003
9007
  return c.some(Boolean) ? o[t] = {
@@ -9010,15 +9014,15 @@ var co = {
9010
9014
  c[e] = n;
9011
9015
  for (let e of t) c[e] = null;
9012
9016
  } else {
9013
- let e = Dd(i, n), r = c.findIndex((e) => !e), a = Ed(i).length > 0;
9017
+ let e = Od(i, n), r = c.findIndex((e) => !e), a = Dd(i).length > 0;
9014
9018
  if (e >= 0) {
9015
9019
  for (; c.length <= e;) c.push(null);
9016
- c[e] && Fd(t, n.filterType), c[e] = n;
9020
+ c[e] && Id(t, n.filterType), c[e] = n;
9017
9021
  } else if (r >= 0) c[r] = n;
9018
9022
  else if (!a) c.push(n);
9019
9023
  else {
9020
9024
  let e = Math.max(0, c.length - 1);
9021
- Fd(t, n.filterType), c[e] = n;
9025
+ Id(t, n.filterType), c[e] = n;
9022
9026
  }
9023
9027
  }
9024
9028
  return o[t] = {
@@ -9026,54 +9030,54 @@ var co = {
9026
9030
  filterModels: c
9027
9031
  }, o;
9028
9032
  }
9029
- if (!n) return Nd(e, t);
9030
- let o = jd(e);
9031
- return o[t] = Od(i, n) ?? n, o;
9032
- }, Ld = (e, t) => {
9033
+ if (!n) return Pd(e, t);
9034
+ let o = Md(e);
9035
+ return o[t] = kd(i, n) ?? n, o;
9036
+ }, Rd = (e, t) => {
9033
9037
  if (e) {
9034
- if (vd(e)) {
9035
- e.conditions.forEach((e) => Ld(e, t));
9038
+ if (yd(e)) {
9039
+ e.conditions.forEach((e) => Rd(e, t));
9036
9040
  return;
9037
9041
  }
9038
9042
  t(e);
9039
9043
  }
9040
- }, Rd = (e, t) => vd(e) ? e.conditions.length > 0 && e.conditions.every((e) => Rd(e, t)) : e.colId === t, zd = (e) => {
9041
- if (!vd(e)) return e.colId;
9044
+ }, zd = (e, t) => yd(e) ? e.conditions.length > 0 && e.conditions.every((e) => zd(e, t)) : e.colId === t, Bd = (e) => {
9045
+ if (!yd(e)) return e.colId;
9042
9046
  let t = /* @__PURE__ */ new Set();
9043
- return Ld(e, (e) => t.add(e.colId)), t.size === 1 ? [...t][0] : null;
9044
- }, Bd = (e, t) => {
9045
- if (!e || Rd(e, t)) return null;
9046
- if (!vd(e) || e.type !== "AND") return bd(e);
9047
- let n = e.conditions.flatMap((e) => Rd(e, t) ? [] : [bd(e)]);
9047
+ return Rd(e, (e) => t.add(e.colId)), t.size === 1 ? [...t][0] : null;
9048
+ }, Vd = (e, t) => {
9049
+ if (!e || zd(e, t)) return null;
9050
+ if (!yd(e) || e.type !== "AND") return xd(e);
9051
+ let n = e.conditions.flatMap((e) => zd(e, t) ? [] : [xd(e)]);
9048
9052
  return n.length ? n.length === 1 ? n[0] : {
9049
9053
  conditions: n,
9050
9054
  filterType: e.filterType,
9051
9055
  type: e.type
9052
9056
  } : null;
9053
- }, Vd = (e, t, n) => {
9054
- let r = Bd(xd(e), t);
9055
- return n ? r ? vd(r) && r.type === "AND" ? yd({
9057
+ }, Hd = (e, t, n) => {
9058
+ let r = Vd(Sd(e), t);
9059
+ return n ? r ? yd(r) && r.type === "AND" ? bd({
9056
9060
  ...r,
9057
9061
  conditions: [...r.conditions, n]
9058
- }) : yd({
9062
+ }) : bd({
9059
9063
  conditions: [r, n],
9060
9064
  filterType: "join",
9061
9065
  type: "AND"
9062
- }) : yd(n) : yd(r);
9063
- }, Hd = (e, t) => {
9066
+ }) : bd(n) : bd(r);
9067
+ }, Ud = (e, t) => {
9064
9068
  e.includes(t) || e.push(t);
9065
- }, Ud = (e) => {
9069
+ }, Wd = (e) => {
9066
9070
  if (e.filterType !== "text" || e.type !== "equals" || e.filter === void 0) return !1;
9067
9071
  let t = String(e.filter);
9068
9072
  return t === "true" || t === "false";
9069
- }, Wd = (e) => e.filterType === "boolean" || Ud(e), Gd = (e, t) => {
9073
+ }, Gd = (e) => e.filterType === "boolean" || Wd(e), Kd = (e, t) => {
9070
9074
  if (e.filterType === "set" && Array.isArray(e.values)) {
9071
- e.values.forEach((e) => Hd(t.values, String(e)));
9075
+ e.values.forEach((e) => Ud(t.values, String(e)));
9072
9076
  return;
9073
9077
  }
9074
9078
  if (e.filterType === "text" && e.type === "equals" && e.filter !== void 0) {
9075
9079
  let n = String(e.filter);
9076
- n === "true" ? t.booleanValue = !0 : n === "false" && (t.booleanValue = !1), Hd(t.values, n);
9080
+ n === "true" ? t.booleanValue = !0 : n === "false" && (t.booleanValue = !1), Ud(t.values, n);
9077
9081
  return;
9078
9082
  }
9079
9083
  if (e.filterType === "boolean") {
@@ -9097,7 +9101,7 @@ var co = {
9097
9101
  ...t.rangeValue,
9098
9102
  max: e.filter
9099
9103
  }));
9100
- }, Kd = (e, t) => {
9104
+ }, qd = (e, t) => {
9101
9105
  if (e.type === "notBlank") {
9102
9106
  t.existsValue = !0;
9103
9107
  return;
@@ -9107,12 +9111,12 @@ var co = {
9107
9111
  return;
9108
9112
  }
9109
9113
  if (e.filterType === "set" && Array.isArray(e.values)) {
9110
- e.values.forEach((e) => Hd(t.values, String(e)));
9114
+ e.values.forEach((e) => Ud(t.values, String(e)));
9111
9115
  return;
9112
9116
  }
9113
9117
  if (e.filterType === "text" && e.type === "equals" && e.filter !== void 0) {
9114
9118
  let n = String(e.filter);
9115
- n === "true" ? t.booleanValue = !0 : n === "false" && (t.booleanValue = !1), Hd(t.values, n);
9119
+ n === "true" ? t.booleanValue = !0 : n === "false" && (t.booleanValue = !1), Ud(t.values, n);
9116
9120
  return;
9117
9121
  }
9118
9122
  e.filterType !== "number" || typeof e.filter != "number" || (e.type === "equals" && (t.rangeValue = {
@@ -9125,29 +9129,29 @@ var co = {
9125
9129
  ...t.rangeValue,
9126
9130
  max: e.filter
9127
9131
  }));
9128
- }, qd = (e, t = "advanced") => {
9132
+ }, Jd = (e, t = "advanced") => {
9129
9133
  let n = /* @__PURE__ */ new Map();
9130
9134
  if (t === "regular") {
9131
- if (!Cd(e)) return n;
9135
+ if (!wd(e)) return n;
9132
9136
  for (let [t, r] of Object.entries(e)) {
9133
- let e = hd();
9134
- Ad(r).forEach((t) => Gd(t, e)), (e.values.length || e.booleanValue !== null || e.existsValue || e.rangeValue.min !== null || e.rangeValue.max !== null) && n.set(t, e);
9137
+ let e = gd();
9138
+ jd(r).forEach((t) => Kd(t, e)), (e.values.length || e.booleanValue !== null || e.existsValue || e.rangeValue.min !== null || e.rangeValue.max !== null) && n.set(t, e);
9135
9139
  }
9136
9140
  return n;
9137
9141
  }
9138
- let r = xd(e);
9142
+ let r = Sd(e);
9139
9143
  if (!r) return n;
9140
- let i = vd(r) && r.type === "AND" ? r.conditions : [r];
9144
+ let i = yd(r) && r.type === "AND" ? r.conditions : [r];
9141
9145
  for (let e of i) {
9142
- let t = zd(e);
9146
+ let t = Bd(e);
9143
9147
  if (!t) continue;
9144
- let r = n.get(t) ?? hd();
9145
- Ld(e, (e) => {
9146
- e.colId === t && Kd(e, r);
9148
+ let r = n.get(t) ?? gd();
9149
+ Rd(e, (e) => {
9150
+ e.colId === t && qd(e, r);
9147
9151
  }), (r.values.length || r.booleanValue !== null || r.existsValue || r.rangeValue.min !== null || r.rangeValue.max !== null) && n.set(t, r);
9148
9152
  }
9149
9153
  return n;
9150
- }, Jd = (e, t = "advanced") => t === "regular" ? Cd(e) && Object.keys(e).length > 0 : xd(e) !== null, Yd = (e) => e === "currency" || e === "formula" || e === "integer" || e === "number" || e === "percent" ? "number" : e === "date" ? "date" : "text", Xd = (e, t, n = "advanced") => n === "regular" ? Nd(e, t) : yd(Bd(xd(e), t)), Zd = (e, t, n, r = "advanced", i = "boolean", a) => n === null ? r === "regular" ? Id(e, t, null, Wd, a) : Xd(e, t, r) : r === "regular" ? Id(e, t, i === "text" ? {
9154
+ }, Yd = (e, t = "advanced") => t === "regular" ? wd(e) && Object.keys(e).length > 0 : Sd(e) !== null, Xd = (e) => e === "currency" || e === "formula" || e === "integer" || e === "number" || e === "percent" ? "number" : e === "date" ? "date" : "text", Zd = (e, t, n = "advanced") => n === "regular" ? Pd(e, t) : bd(Vd(Sd(e), t)), Qd = (e, t, n, r = "advanced", i = "boolean", a) => n === null ? r === "regular" ? Ld(e, t, null, Gd, a) : Zd(e, t, r) : r === "regular" ? Ld(e, t, i === "text" ? {
9151
9155
  filter: String(n),
9152
9156
  filterType: "text",
9153
9157
  type: "equals"
@@ -9155,30 +9159,30 @@ var co = {
9155
9159
  filter: n,
9156
9160
  filterType: "boolean",
9157
9161
  type: n ? "true" : "false"
9158
- }, Wd, a) : i === "text" ? Vd(e, t, {
9162
+ }, Gd, a) : i === "text" ? Hd(e, t, {
9159
9163
  colId: t,
9160
9164
  filter: String(n),
9161
9165
  filterType: "text",
9162
9166
  type: "equals"
9163
- }) : Vd(e, t, {
9167
+ }) : Hd(e, t, {
9164
9168
  colId: t,
9165
9169
  filterType: "boolean",
9166
9170
  type: n ? "true" : "false"
9167
- }), Qd = (e, t, n, r = "text", i = "advanced", a) => n ? i === "regular" ? Id(e, t, {
9171
+ }), $d = (e, t, n, r = "text", i = "advanced", a) => n ? i === "regular" ? Ld(e, t, {
9168
9172
  filterType: r,
9169
9173
  type: "notBlank"
9170
- }, (e) => e.filterType === r && e.type === "notBlank", a) : Vd(e, t, {
9174
+ }, (e) => e.filterType === r && e.type === "notBlank", a) : Hd(e, t, {
9171
9175
  colId: t,
9172
9176
  filterType: r,
9173
9177
  type: "notBlank"
9174
- }) : i === "regular" ? Id(e, t, null, (e) => e.filterType === r && e.type === "notBlank", a) : Xd(e, t, i), $d = (e, t, n, r, i = "advanced", a) => {
9175
- let o = Sd(n), s = Sd(r);
9176
- if (i === "regular") return o === null && s === null ? Id(e, t, null, (e) => e.filterType === "number", a) : o !== null && s !== null ? Id(e, t, {
9178
+ }) : i === "regular" ? Ld(e, t, null, (e) => e.filterType === r && e.type === "notBlank", a) : Zd(e, t, i), ef = (e, t, n, r, i = "advanced", a) => {
9179
+ let o = Cd(n), s = Cd(r);
9180
+ if (i === "regular") return o === null && s === null ? Ld(e, t, null, (e) => e.filterType === "number", a) : o !== null && s !== null ? Ld(e, t, {
9177
9181
  filter: o,
9178
9182
  filterTo: s,
9179
9183
  filterType: "number",
9180
9184
  type: "inRange"
9181
- }, (e) => e.filterType === "number", a) : Id(e, t, {
9185
+ }, (e) => e.filterType === "number", a) : Ld(e, t, {
9182
9186
  filter: o ?? s,
9183
9187
  filterType: "number",
9184
9188
  type: o === null ? "lessThanOrEqual" : "greaterThanOrEqual"
@@ -9194,29 +9198,29 @@ var co = {
9194
9198
  filter: s,
9195
9199
  filterType: "number",
9196
9200
  type: "lessThanOrEqual"
9197
- }), c.length ? Vd(e, t, c.length === 1 ? c[0] : {
9201
+ }), c.length ? Hd(e, t, c.length === 1 ? c[0] : {
9198
9202
  conditions: c,
9199
9203
  filterType: "join",
9200
9204
  type: "AND"
9201
- }) : Xd(e, t);
9202
- }, ef = (e, t, n, r = "advanced", i) => {
9205
+ }) : Zd(e, t);
9206
+ }, tf = (e, t, n, r = "advanced", i) => {
9203
9207
  let a = Array.from(new Set(n));
9204
- if (r === "regular") return a.length ? Id(e, t, {
9208
+ if (r === "regular") return a.length ? Ld(e, t, {
9205
9209
  filterType: "set",
9206
9210
  values: a
9207
- }, (e) => e.filterType === "set", i) : Id(e, t, null, (e) => e.filterType === "set", i);
9211
+ }, (e) => e.filterType === "set", i) : Ld(e, t, null, (e) => e.filterType === "set", i);
9208
9212
  let o = a.map((e) => ({
9209
9213
  colId: t,
9210
9214
  filter: e,
9211
9215
  filterType: "text",
9212
9216
  type: "equals"
9213
9217
  }));
9214
- return o.length ? Vd(e, t, o.length === 1 ? o[0] : {
9218
+ return o.length ? Hd(e, t, o.length === 1 ? o[0] : {
9215
9219
  conditions: o,
9216
9220
  filterType: "join",
9217
9221
  type: "OR"
9218
- }) : Xd(e, t);
9219
- }, tf = Symbol("PvFilterStore"), nf = (e) => e ? Array.isArray(e) ? { values: e } : e : { values: [] }, rf = (e, t) => t ?? e, af = (e) => Object.fromEntries(Object.entries(e).map(([e, t]) => [e, [...t]])), of = (e) => {
9222
+ }) : Zd(e, t);
9223
+ }, nf = Symbol("PvFilterStore"), rf = (e) => e ? Array.isArray(e) ? { values: e } : e : { values: [] }, af = (e, t) => t ?? e, of = (e) => Object.fromEntries(Object.entries(e).map(([e, t]) => [e, [...t]])), sf = (e) => {
9220
9224
  let t = /* @__PURE__ */ new Map();
9221
9225
  for (let n of e) {
9222
9226
  if (!n) continue;
@@ -9228,34 +9232,34 @@ var co = {
9228
9232
  t.set(n.value, {
9229
9233
  ...e,
9230
9234
  ...n,
9231
- children: of([...e.children ?? [], ...n.children ?? []]),
9232
- totalChildCount: rf(e.totalChildCount, n.totalChildCount)
9235
+ children: sf([...e.children ?? [], ...n.children ?? []]),
9236
+ totalChildCount: af(e.totalChildCount, n.totalChildCount)
9233
9237
  });
9234
9238
  }
9235
9239
  return [...t.values()];
9236
- }, sf = (e, t) => {
9240
+ }, cf = (e, t) => {
9237
9241
  for (let n of e ?? []) {
9238
9242
  if (!n) continue;
9239
9243
  if (n.value === t) return n;
9240
- let e = sf(n.children, t);
9244
+ let e = cf(n.children, t);
9241
9245
  if (e) return e;
9242
9246
  }
9243
- }, cf = (e, t, n) => {
9247
+ }, lf = (e, t, n) => {
9244
9248
  if (!e || t === null) return !1;
9245
9249
  if (e.value === t) return !0;
9246
- let r = Ul(e);
9247
- return r !== null && r === t || Kl(e, e.colField ?? n, t, n) ? !0 : e.children?.some((e) => cf(e, t, n)) ?? !1;
9248
- }, lf = (e, t, n) => {
9249
- let r = sf(n, t) ?? null, i = r?.children ?? n.filter(Boolean);
9250
+ let r = Wl(e);
9251
+ return r !== null && r === t || ql(e, e.colField ?? n, t, n) ? !0 : e.children?.some((e) => lf(e, t, n)) ?? !1;
9252
+ }, uf = (e, t, n) => {
9253
+ let r = cf(n, t) ?? null, i = r?.children ?? n.filter(Boolean);
9250
9254
  return e.map((e) => e && (e.value === t ? {
9251
9255
  ...e,
9252
- children: of([...e.children ?? [], ...i]),
9253
- totalChildCount: rf(e.totalChildCount, r?.totalChildCount)
9256
+ children: sf([...e.children ?? [], ...i]),
9257
+ totalChildCount: af(e.totalChildCount, r?.totalChildCount)
9254
9258
  } : e.children?.length ? {
9255
9259
  ...e,
9256
- children: lf(e.children, t, n).filter((e) => !!e)
9260
+ children: uf(e.children, t, n).filter((e) => !!e)
9257
9261
  } : e));
9258
- }, uf = (e, t) => `${e}::${t}`, df = () => {
9262
+ }, df = (e, t) => `${e}::${t}`, ff = () => {
9259
9263
  let e = k(null), t = k(null), n = k(), r = k({}), i = k({}), a = k({}), o = k({}), s = k({}), c = k({}), l = k({}), u = k({}), d = k({}), f = k({}), p = k({}), m = k({}), h = k({}), g = k({}), _ = k({}), v = k(), y = k({}), b = (e) => {
9260
9264
  v.value = e;
9261
9265
  }, x = (e) => r.value[e] ?? [], S = (e, t) => {
@@ -9264,11 +9268,11 @@ var co = {
9264
9268
  let r = n ? o : i;
9265
9269
  r.value[e] = t;
9266
9270
  }, T = () => {
9267
- o.value = af(i.value), s.value = af(a.value);
9271
+ o.value = of(i.value), s.value = of(a.value);
9268
9272
  }, E = () => {
9269
9273
  o.value = {}, s.value = {};
9270
9274
  }, D = () => {
9271
- i.value = af(o.value), a.value = af(s.value), E();
9275
+ i.value = of(o.value), a.value = of(s.value), E();
9272
9276
  }, O = (e, t) => {
9273
9277
  c.value[e] = t;
9274
9278
  }, A = (e, t) => {
@@ -9292,7 +9296,7 @@ var co = {
9292
9296
  if (!o) return [];
9293
9297
  let s = n.query ?? c.value[n.field] ?? void 0;
9294
9298
  c.value[n.field] = s;
9295
- let u = n.parentId ? sf(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 = M(n.field, y), x = n.parentId ? uf(n.field, n.parentId) : n.field, S = (g.value[x] ?? 0) + 1;
9299
+ let u = n.parentId ? cf(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 = M(n.field, y), x = n.parentId ? df(n.field, n.parentId) : n.field, S = (g.value[x] ?? 0) + 1;
9296
9300
  g.value[x] = S;
9297
9301
  try {
9298
9302
  let c = await o({
@@ -9304,17 +9308,17 @@ var co = {
9304
9308
  selectedValues: n.selectedValues ?? i.value[n.field] ?? []
9305
9309
  });
9306
9310
  if (g.value[x] !== S) return [];
9307
- let u = nf(c);
9311
+ let u = rf(c);
9308
9312
  if (n.parentId) {
9309
- let e = uf(n.field, n.parentId);
9313
+ let e = df(n.field, n.parentId);
9310
9314
  m.value[e] = u.hasMore, h.value[e] = u.totalCount;
9311
9315
  } else f.value[n.field] = u.hasMore, p.value[n.field] = u.totalCount;
9312
9316
  let v = a.value[n.field] ?? [], b;
9313
- b = n.parentId ? lf(r.value[n.field] ?? [], n.parentId, u.values) : y ? of([...r.value[n.field] ?? [], ...u.values]) : u.values;
9317
+ b = n.parentId ? uf(r.value[n.field] ?? [], n.parentId, u.values) : y ? sf([...r.value[n.field] ?? [], ...u.values]) : u.values;
9314
9318
  for (let e of v) {
9315
9319
  if (!e) continue;
9316
- let t = Ul(e) ?? e.value;
9317
- b.some((e) => cf(e, t, n.field)) || b.push(e);
9320
+ let t = Wl(e) ?? e.value;
9321
+ b.some((e) => lf(e, t, n.field)) || b.push(e);
9318
9322
  }
9319
9323
  return r.value[n.field] = b, _.value[n.field] = !1, b.filter((e) => !!e).map((e) => e.value);
9320
9324
  } finally {
@@ -9349,20 +9353,20 @@ var co = {
9349
9353
  stagedFilterSelectedMetadataMap: s,
9350
9354
  stagedFilterSelectedValueMap: o
9351
9355
  };
9352
- }, ff = (e) => {
9353
- O(tf, e);
9354
- }, pf = () => m(tf, null), mf = () => pf() ?? df(), hf = "__range__", gf = "__boolean__", _f = "__exists__", vf = new Set([
9356
+ }, pf = (e) => {
9357
+ O(nf, e);
9358
+ }, mf = () => m(nf, null), hf = () => mf() ?? ff(), gf = "__range__", _f = "__boolean__", vf = "__exists__", yf = new Set([
9355
9359
  "value",
9356
9360
  "range",
9357
9361
  "boolean",
9358
9362
  "exists"
9359
9363
  ]);
9360
- function yf(e, t, n) {
9364
+ function bf(e, t, n) {
9361
9365
  f();
9362
- let i = k(t.value), a = df(), o = pf(), s = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set(), l = P(/* @__PURE__ */ new Map()), u = r(() => !!(e.filterStore ?? o)), d = r(() => !u.value && !!e.filterOptionsHandler), p = r(() => e.filterStore ?? o ?? a), m = r(() => p.value === a), h = r(() => u.value || d.value), g = r(() => e.filterModelType ?? p.value?.filterModelType.value), _ = r(() => g.value ?? "advanced"), v = r(() => {
9366
+ let i = k(t.value), a = ff(), o = mf(), s = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set(), l = P(/* @__PURE__ */ new Map()), u = r(() => !!(e.filterStore ?? o)), d = r(() => !u.value && !!e.filterOptionsHandler), p = r(() => e.filterStore ?? o ?? a), m = r(() => p.value === a), h = r(() => u.value || d.value), g = r(() => e.filterModelType ?? p.value?.filterModelType.value), _ = r(() => g.value ?? "advanced"), v = r(() => {
9363
9367
  let n = p.value;
9364
9368
  return n ? e.staged ? n.stagedFilterModel.value : n.filterModel.value : e.staged ? i.value : t.value;
9365
- }), y = r(() => qd(v.value, _.value)), b = (e, t) => {
9369
+ }), y = r(() => Jd(v.value, _.value)), b = (e, t) => {
9366
9370
  let n = e.applyFilterModel;
9367
9371
  if (typeof n == "function") {
9368
9372
  n(t);
@@ -9453,7 +9457,7 @@ function yf(e, t, n) {
9453
9457
  });
9454
9458
  let D = (e) => e.context ?? {}, O = (e) => e.colId || e.field || "", A = (e) => typeof e == "number" && Number.isFinite(e) ? e : null, j = (e) => {
9455
9459
  let t = D(e), n = t.filterPanelType;
9456
- if (n && vf.has(n)) return n;
9460
+ if (n && yf.has(n)) return n;
9457
9461
  if (t.filterPanelRange) return "range";
9458
9462
  if (t.dataType === "boolean") return "boolean";
9459
9463
  if (e.filter) return "value";
@@ -9493,30 +9497,30 @@ function yf(e, t, n) {
9493
9497
  ...r,
9494
9498
  ...i
9495
9499
  ].filter(Boolean)));
9496
- }, K = (e) => _.value === "advanced" && eu(e), ie = (e, t) => K(e) ? uu({
9500
+ }, K = (e) => _.value === "advanced" && tu(e), ie = (e, t) => K(e) ? du({
9497
9501
  colDef: e,
9498
9502
  model: v.value,
9499
9503
  options: t
9500
9504
  }) : new Map(ne(e).map((e) => [e, y.value.get(e)?.values ?? []])), ae = (e, t, n, r) => {
9501
9505
  let i = /* @__PURE__ */ new Set();
9502
- for (let t of Gl(r)) for (let [r, a] of n) for (let n of a) Kl(t, r, n, e) && i.add(`${r}:${n}`);
9506
+ for (let t of Kl(r)) for (let [r, a] of n) for (let n of a) ql(t, r, n, e) && i.add(`${r}:${n}`);
9503
9507
  return [...n.entries()].flatMap(([t, n]) => n.flatMap((n) => i.has(`${t}:${n}`) ? [] : [{
9504
9508
  colField: t === e ? void 0 : t,
9505
9509
  label: n,
9506
9510
  metadata: { rawValue: n },
9507
- value: t === e ? n : Hl(t, n)
9511
+ value: t === e ? n : Ul(t, n)
9508
9512
  }]));
9509
9513
  }, q = (e, t, n) => {
9510
9514
  let r = /* @__PURE__ */ new Set();
9511
- for (let i of Gl(n)) {
9512
- let n = Wl(i, e), a = Ul(i);
9515
+ for (let i of Kl(n)) {
9516
+ let n = Gl(i, e), a = Wl(i);
9513
9517
  a !== null && t.get(n)?.includes(a) && r.add(i.value);
9514
9518
  }
9515
9519
  return Array.from(r);
9516
9520
  }, oe = (t) => Object.fromEntries(ne(t).map((t) => [t, e.focusedValues[t] ?? []])), J = (t) => e.colDefs.find((e) => O(e) === t || e.field === t || e.colId === t), se = (e) => J(e)?.headerName ?? e, ce = (e) => {
9517
9521
  let t = D(e);
9518
- return typeof t.filterPanelSearchPlaceholder == "string" ? t.filterPanelSearchPlaceholder : fd(O(e), t.queryColIds, se);
9519
- }, le = (e, t) => md({
9522
+ return typeof t.filterPanelSearchPlaceholder == "string" ? t.filterPanelSearchPlaceholder : pd(O(e), t.queryColIds, se);
9523
+ }, le = (e, t) => hd({
9520
9524
  fallbackSubText: e.subText,
9521
9525
  getDisplayName: se,
9522
9526
  matchedField: e.matchedField,
@@ -9534,7 +9538,7 @@ function yf(e, t, n) {
9534
9538
  isActive: y.value.get(e)?.booleanValue === !0,
9535
9539
  label: J(e)?.headerName ?? e
9536
9540
  }));
9537
- }, de = (e) => pe.value.find((t) => t.key === e) ?? pe.value.find((t) => ne(t.colDef).includes(e)), fe = (e, t, n) => Gl(de(e)?.knownOptions ?? []).find((r) => r.value === n || Kl(r, t, n, e)), pe = r(() => e.colDefs.filter(I).map((t) => {
9541
+ }, de = (e) => pe.value.find((t) => t.key === e) ?? pe.value.find((t) => ne(t.colDef).includes(e)), fe = (e, t, n) => Kl(de(e)?.knownOptions ?? []).find((r) => r.value === n || ql(r, t, n, e)), pe = r(() => e.colDefs.filter(I).map((t) => {
9538
9542
  let n = O(t), r = D(t), i = M(t), a = Y(L(n), t), o = Y(H(n), t), s = {
9539
9543
  category: N(t),
9540
9544
  colDef: t,
@@ -9596,7 +9600,7 @@ function yf(e, t, n) {
9596
9600
  ...s,
9597
9601
  existsValue: y.value.get(n)?.existsValue ?? !1
9598
9602
  };
9599
- let c = o, u = e.controlledValues[n] ?? [], d = s.controlled ? new Map([[n, u]]) : ie(t, c), f = ae(n, t, d, c), p = [...c, ...f], m = K(t) ? lu({
9603
+ let c = o, u = e.controlledValues[n] ?? [], d = s.controlled ? new Map([[n, u]]) : ie(t, c), f = ae(n, t, d, c), p = [...c, ...f], m = K(t) ? uu({
9600
9604
  colDef: t,
9601
9605
  model: v.value,
9602
9606
  options: p
@@ -9616,19 +9620,19 @@ function yf(e, t, n) {
9616
9620
  label: e.label,
9617
9621
  values: t
9618
9622
  }] : [];
9619
- })), me = r(() => X.value.reduce((e, t) => e + t.values.length, 0)), he = r(() => Jd(v.value, _.value)), ge = r(() => he.value || me.value > 0), _e = (e) => {
9623
+ })), me = r(() => X.value.reduce((e, t) => e + t.values.length, 0)), he = r(() => Yd(v.value, _.value)), ge = r(() => he.value || me.value > 0), _e = (e) => {
9620
9624
  let t = de(e.field);
9621
9625
  if (!t || t.type !== e.filter.type) return !0;
9622
9626
  if (e.filter.type === "value") {
9623
9627
  if (t.isAggregate && e.option) {
9624
- let { selected: n } = Cu({
9628
+ let { selected: n } = wu({
9625
9629
  option: e.option,
9626
9630
  options: t.knownOptions ?? [],
9627
9631
  state: t.aggregateSelectionState ?? []
9628
9632
  });
9629
9633
  return e.filter.checked ? n : !n;
9630
9634
  }
9631
- let n = new Set(t.selectedValues ?? []), r = e.option?.value ?? e.filter.value, i = e.option ? Ul(e.option) : e.filter.value, a = n.has(r) || i !== null && n.has(i);
9635
+ let n = new Set(t.selectedValues ?? []), r = e.option?.value ?? e.filter.value, i = e.option ? Wl(e.option) : e.filter.value, a = n.has(r) || i !== null && n.has(i);
9632
9636
  return e.filter.checked ? a : !a;
9633
9637
  }
9634
9638
  return e.filter.type === "range" ? t.rangeValue?.min === e.filter.value.min && t.rangeValue?.max === e.filter.value.max : e.filter.type === "boolean" ? t.booleanValue === e.filter.value : (t.existsValue ?? !1) === e.filter.value;
@@ -9642,14 +9646,14 @@ function yf(e, t, n) {
9642
9646
  a.setFilterSelectedValues(n, r, e.staged);
9643
9647
  let o = e.staged ? a.stagedFilterSelectedMetadataMap : a.filterSelectedMetadataMap, s = o.value[t] ?? [], c = new Set(r), l = s.filter((e) => {
9644
9648
  if (!e) return !1;
9645
- let r = Wl(e, t), i = Ul(e) ?? e.value;
9649
+ let r = Gl(e, t), i = Wl(e) ?? e.value;
9646
9650
  return r !== n || c.has(i);
9647
9651
  });
9648
9652
  if (i) {
9649
- let e = Ul(i) ?? i.value, n = Wl(i, t);
9653
+ let e = Wl(i) ?? i.value, n = Gl(i, t);
9650
9654
  l.some((r) => {
9651
- let i = Ul(r) ?? r.value;
9652
- return Wl(r, t) === n && i === e;
9655
+ let i = Wl(r) ?? r.value;
9656
+ return Gl(r, t) === n && i === e;
9653
9657
  }) || l.push(i);
9654
9658
  }
9655
9659
  o.value[t] = l;
@@ -9659,7 +9663,7 @@ function yf(e, t, n) {
9659
9663
  let i = n.flatMap((e) => e.state === "selected" ? [e.id] : []);
9660
9664
  r.setFilterSelectedValues(t.key, i, e.staged);
9661
9665
  let a = e.staged ? r.stagedFilterSelectedMetadataMap : r.filterSelectedMetadataMap;
9662
- a.value[t.key] = wu({
9666
+ a.value[t.key] = Tu({
9663
9667
  options: t.knownOptions ?? [],
9664
9668
  state: n
9665
9669
  });
@@ -9688,48 +9692,48 @@ function yf(e, t, n) {
9688
9692
  return t === null ? [] : [{
9689
9693
  label: e.valueLabels?.[String(t)] ?? (t ? "Yes" : "No"),
9690
9694
  type: "boolean",
9691
- value: gf
9695
+ value: _f
9692
9696
  }];
9693
9697
  }, Ee = (e) => e.existsValue ? [{
9694
9698
  label: e.existsLabel ?? `Has ${e.label}`,
9695
9699
  type: "exists",
9696
- value: _f
9700
+ value: vf
9697
9701
  }] : [], De = (e) => {
9698
9702
  let t = e.rangeValue ?? {
9699
9703
  max: null,
9700
9704
  min: null
9701
9705
  };
9702
9706
  return t.min === null && t.max === null ? [] : [{
9703
- label: Ml(t.min, t.max, {
9707
+ label: Nl(t.min, t.max, {
9704
9708
  dataType: e.dataType,
9705
9709
  valueDecimals: e.valueDecimals
9706
9710
  }),
9707
9711
  type: "range",
9708
- value: hf
9712
+ value: gf
9709
9713
  }];
9710
9714
  }, Oe = (e, t, n) => {
9711
9715
  let r = n.get(t) ?? null;
9712
9716
  return {
9713
- field: r ? Wl(r, e.key) : void 0,
9714
- label: r ? Fl(r, e.colDef) : t,
9715
- resultCount: Il(r),
9717
+ field: r ? Gl(r, e.key) : void 0,
9718
+ label: r ? Il(r, e.colDef) : t,
9719
+ resultCount: Ll(r),
9716
9720
  subText: r?.subText,
9717
9721
  subduedText: r?.subduedText,
9718
9722
  type: "value",
9719
- value: r ? Ul(r) ?? r.value : t
9723
+ value: r ? Wl(r) ?? r.value : t
9720
9724
  };
9721
9725
  }, ke = (e) => (e.filterGroupOptions ?? []).flatMap((e) => e.isActive ? [{
9722
9726
  field: e.field,
9723
9727
  label: e.label,
9724
9728
  type: "boolean",
9725
- value: gf
9726
- }] : []), Ae = (e) => wu({
9729
+ value: _f
9730
+ }] : []), Ae = (e) => Tu({
9727
9731
  options: e.knownOptions ?? [],
9728
9732
  state: e.aggregateSelectionState ?? []
9729
9733
  }).map((t) => ({
9730
9734
  field: e.key,
9731
- label: Fl(t, e.colDef),
9732
- resultCount: Il(t),
9735
+ label: Il(t, e.colDef),
9736
+ resultCount: Ll(t),
9733
9737
  subText: t.subText,
9734
9738
  subduedText: t.subduedText,
9735
9739
  type: "value",
@@ -9740,7 +9744,7 @@ function yf(e, t, n) {
9740
9744
  if (e.type === "boolean") return Te(e);
9741
9745
  if (e.type === "exists") return Ee(e);
9742
9746
  if (e.isAggregate) return [...Ae(e), ...ke(e)];
9743
- let t = new Map(Gl(e.knownOptions ?? []).map((e) => [e.value, e]));
9747
+ let t = new Map(Kl(e.knownOptions ?? []).map((e) => [e.value, e]));
9744
9748
  return [...(e.selectedValues ?? []).map((n) => Oe(e, n, t)), ...ke(e)];
9745
9749
  }, Me = () => {
9746
9750
  Ve(), we(null, "clear-all");
@@ -9752,9 +9756,9 @@ function yf(e, t, n) {
9752
9756
  Ve();
9753
9757
  let e = p.value;
9754
9758
  e && (e.stagedFilterModel.value = e.filterModel.value, e.initStagedFilterSelections()), i.value = t.value, n("cancel");
9755
- }, Fe = (e) => Yd(de(e)?.dataType), Ie = (e, t, n = "value-toggle") => {
9759
+ }, Fe = (e) => Xd(de(e)?.dataType), Ie = (e, t, n = "value-toggle") => {
9756
9760
  let r = de(e);
9757
- r?.isAggregate && (xe(r, t), we(su({
9761
+ r?.isAggregate && (xe(r, t), we(cu({
9758
9762
  baseModel: v.value,
9759
9763
  colDef: r.colDef,
9760
9764
  options: r.knownOptions ?? [],
@@ -9769,7 +9773,7 @@ function yf(e, t, n) {
9769
9773
  if (t.type === "value") {
9770
9774
  let r = de(e), i = fe(e, n, t.value);
9771
9775
  if (r?.isAggregate && i) {
9772
- Ie(e, bu({
9776
+ Ie(e, xu({
9773
9777
  checked: t.checked,
9774
9778
  option: i,
9775
9779
  options: r.knownOptions ?? [],
@@ -9785,10 +9789,10 @@ function yf(e, t, n) {
9785
9789
  return;
9786
9790
  }
9787
9791
  if (t.type === "boolean") {
9788
- we(Zd(v.value, n, t.value, _.value, t.field ? "text" : "boolean", r), "boolean-change", n, "boolean");
9792
+ we(Qd(v.value, n, t.value, _.value, t.field ? "text" : "boolean", r), "boolean-change", n, "boolean");
9789
9793
  return;
9790
9794
  }
9791
- we(Qd(v.value, n, t.value, Fe(n), _.value, r), "exists-change", n, "exists");
9795
+ we($d(v.value, n, t.value, Fe(n), _.value, r), "exists-change", n, "exists");
9792
9796
  }, Re = (e, t, n, r) => {
9793
9797
  let i = p.value;
9794
9798
  return !i || e.type !== "value" ? !1 : n !== "open" || r ? !0 : i.filterLoadingMap.value[e.key] ? !1 : i.filterStaleMap.value[e.key] || !(i.filterOptionsMap.value[e.key] ?? []).length ? !0 : (i.filterSearchQueries.value[e.key] ?? "") !== t;
@@ -9808,7 +9812,7 @@ function yf(e, t, n) {
9808
9812
  }, Be = (e, t, r) => {
9809
9813
  n("load-more", e.key, e.colDef, t, r), ze(e, t, r ? "child-load-more" : "load-more", r);
9810
9814
  }, Z = (e, t, n) => {
9811
- we($d(v.value, e, t.min, t.max, _.value, n), "range-change", e, "range");
9815
+ we(ef(v.value, e, t.min, t.max, _.value, n), "range-change", e, "range");
9812
9816
  }, Ve = () => {
9813
9817
  for (let { timer: e } of l.values()) window.clearTimeout(e);
9814
9818
  l.clear();
@@ -9848,7 +9852,7 @@ function yf(e, t, n) {
9848
9852
  n("controlled-change", t, l, s.colDef);
9849
9853
  return;
9850
9854
  }
9851
- be(t, r, l, a ? o : void 0), we(ef(v.value, r, l, _.value, J(r) ?? s?.colDef), "value-toggle", r, "value");
9855
+ be(t, r, l, a ? o : void 0), we(tf(v.value, r, l, _.value, J(r) ?? s?.colDef), "value-toggle", r, "value");
9852
9856
  };
9853
9857
  return {
9854
9858
  resolvedFilters: pe,
@@ -9873,8 +9877,8 @@ function yf(e, t, n) {
9873
9877
  handleSearchChange: Ue,
9874
9878
  handleSuggestionClick: (e) => {
9875
9879
  if (e.filter.type === "value" && e.option) {
9876
- let t = de(e.field), n = Wl(e.option, e.field), r = Ul(e.option) ?? e.filter.value;
9877
- t?.isAggregate ? Ie(e.field, bu({
9880
+ let t = de(e.field), n = Gl(e.option, e.field), r = Wl(e.option) ?? e.filter.value;
9881
+ t?.isAggregate ? Ie(e.field, xu({
9878
9882
  checked: e.filter.checked,
9879
9883
  option: e.option,
9880
9884
  options: t.knownOptions ?? [],
@@ -9885,21 +9889,21 @@ function yf(e, t, n) {
9885
9889
  },
9886
9890
  removeAppliedFilter: (e, t, n) => {
9887
9891
  let r = n ?? de(e)?.type ?? "value";
9888
- if (r === "range" || !n && t === hf) {
9889
- we($d(v.value, e, null, null, _.value, J(e) ?? de(e)?.colDef), "remove-filter", e, "range");
9892
+ if (r === "range" || !n && t === gf) {
9893
+ we(ef(v.value, e, null, null, _.value, J(e) ?? de(e)?.colDef), "remove-filter", e, "range");
9890
9894
  return;
9891
9895
  }
9892
- if (r === "boolean" || !n && t === gf) {
9893
- we(Zd(v.value, e, null, _.value, "boolean", J(e) ?? de(e)?.colDef), "remove-filter", e, "boolean");
9896
+ if (r === "boolean" || !n && t === _f) {
9897
+ we(Qd(v.value, e, null, _.value, "boolean", J(e) ?? de(e)?.colDef), "remove-filter", e, "boolean");
9894
9898
  return;
9895
9899
  }
9896
- if (r === "exists" || !n && t === _f) {
9897
- we(Qd(v.value, e, !1, "text", _.value, J(e) ?? de(e)?.colDef), "remove-filter", e, "exists");
9900
+ if (r === "exists" || !n && t === vf) {
9901
+ we($d(v.value, e, !1, "text", _.value, J(e) ?? de(e)?.colDef), "remove-filter", e, "exists");
9898
9902
  return;
9899
9903
  }
9900
9904
  let i = de(e);
9901
9905
  if (r === "value" && i?.isAggregate) {
9902
- let e = tu(i.knownOptions ?? [], t), n = i.aggregateSelectionState ?? [], r = e ? bu({
9906
+ let e = nu(i.knownOptions ?? [], t), n = i.aggregateSelectionState ?? [], r = e ? xu({
9903
9907
  checked: !1,
9904
9908
  option: e,
9905
9909
  options: i.knownOptions ?? [],
@@ -9909,7 +9913,7 @@ function yf(e, t, n) {
9909
9913
  return;
9910
9914
  }
9911
9915
  let a = (y.value.get(e)?.values ?? []).filter((e) => e !== t);
9912
- be(de(e)?.key ?? e, e, a), we(ef(v.value, e, a, _.value, J(e) ?? de(e)?.colDef), "remove-filter", e, "value");
9916
+ be(de(e)?.key ?? e, e, a), we(tf(v.value, e, a, _.value, J(e) ?? de(e)?.colDef), "remove-filter", e, "value");
9913
9917
  },
9914
9918
  setFacetSelections: Ge,
9915
9919
  usesHandlerFacets: $
@@ -9917,32 +9921,32 @@ function yf(e, t, n) {
9917
9921
  }
9918
9922
  //#endregion
9919
9923
  //#region src/components/base/PvFilterPanel/PvFilterPanel.vue?vue&type=script&setup=true&lang.ts
9920
- var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border-bottom" }, Sf = { class: "pv-filter-panel-body pv-flex-vertical" }, Cf = {
9924
+ var xf = ["aria-label"], Sf = { class: "pv-filter-panel-header pv-flex pv-border-bottom" }, Cf = { class: "pv-filter-panel-body pv-flex-vertical" }, wf = {
9921
9925
  class: "pv-filter-panel-filters-view pv-flex-vertical",
9922
9926
  "data-testid": "pv-filter-panel-filters-view"
9923
- }, wf = {
9927
+ }, Tf = {
9924
9928
  key: 0,
9925
9929
  "aria-label": "Filter suggestions",
9926
9930
  class: "pv-filter-panel-suggestions pv-flex-vertical pv-border-bottom",
9927
9931
  "data-testid": "pv-filter-panel-suggestions"
9928
- }, Tf = { class: "pv-filter-panel-suggestion-tags pv-flex" }, Ef = {
9932
+ }, Ef = { class: "pv-filter-panel-suggestion-tags pv-flex" }, Df = {
9929
9933
  key: 1,
9930
9934
  class: "pv-filter-panel-search pv-border-bottom",
9931
9935
  "data-testid": "pv-filter-panel-search"
9932
- }, Df = {
9936
+ }, Of = {
9933
9937
  key: 2,
9934
9938
  class: "pv-filter-panel-empty pv-text-body-sm pv-text-subdued"
9935
- }, Of = {
9939
+ }, kf = {
9936
9940
  key: 3,
9937
9941
  class: "pv-filter-panel-empty pv-text-body-sm pv-text-subdued"
9938
- }, kf = {
9942
+ }, Af = {
9939
9943
  key: 4,
9940
9944
  class: "pv-filter-panel-filter-list pv-flex-vertical pv-inset-inline",
9941
9945
  style: { "--inset-size": "8px" }
9942
- }, Af = {
9946
+ }, jf = {
9943
9947
  key: 0,
9944
9948
  class: "pv-filter-panel-footer pv-flex pv-border-top"
9945
- }, jf = { class: "pv-filter-panel-actions pv-flex" }, Mf = { class: "pv-text-body-sm" }, Nf = { class: "pv-filter-panel-modal-footer pv-flex" }, Pf = /* @__PURE__ */ Q(/* @__PURE__ */ d({
9949
+ }, Mf = { class: "pv-filter-panel-actions pv-flex" }, Nf = { class: "pv-text-body-sm" }, Pf = { class: "pv-filter-panel-modal-footer pv-flex" }, Ff = /* @__PURE__ */ Q(/* @__PURE__ */ d({
9946
9950
  __name: "PvFilterPanel",
9947
9951
  props: /* @__PURE__ */ g({
9948
9952
  allCategoriesLabel: { default: "All" },
@@ -10033,7 +10037,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10033
10037
  "suggestion-click"
10034
10038
  ], ["update:filterModel", "update:isCollapsed"]),
10035
10039
  setup(e, { emit: n }) {
10036
- let c = e, l = z(e, "filterModel"), d = z(e, "isCollapsed"), f = n, { resolvedFilters: p, appliedGroups: m, appliedCount: h, showClearAll: g, visibleSuggestions: _, activateFilter: v, applyStagedFilters: y, cancelStagedFilters: b, clearAllFilters: S, getSuggestionKey: C, handleControlChange: w, handleLoadMore: T, handleSearchChange: E, handleSuggestionClick: O, removeAppliedFilter: M } = yf(c, l, f), N = k("filters"), P = k({}), F = k(null), ee = k(!1), R = k(!1), B = k(""), V = r(() => c.enableFilterSearch ? B.value.trim().toLowerCase() : ""), te = r(() => V.value.length > 0), H = (e) => e.label.toLowerCase().includes(V.value);
10040
+ let c = e, l = z(e, "filterModel"), d = z(e, "isCollapsed"), f = n, { resolvedFilters: p, appliedGroups: m, appliedCount: h, showClearAll: g, visibleSuggestions: _, activateFilter: v, applyStagedFilters: y, cancelStagedFilters: b, clearAllFilters: S, getSuggestionKey: C, handleControlChange: w, handleLoadMore: T, handleSearchChange: E, handleSuggestionClick: O, removeAppliedFilter: M } = bf(c, l, f), N = k("filters"), P = k({}), F = k(null), ee = k(!1), R = k(!1), B = k(""), V = r(() => c.enableFilterSearch ? B.value.trim().toLowerCase() : ""), te = r(() => V.value.length > 0), H = (e) => e.label.toLowerCase().includes(V.value);
10037
10041
  G(te, (e) => {
10038
10042
  e && (F.value = null);
10039
10043
  }), G(F, (e) => {
@@ -10075,7 +10079,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10075
10079
  "aria-label": e.ariaLabel,
10076
10080
  style: x(ge.value)
10077
10081
  }, [
10078
- s("div", xf, [u(Ar, {
10082
+ s("div", Sf, [u(Ar, {
10079
10083
  modelValue: N.value,
10080
10084
  options: he.value,
10081
10085
  class: "pv-filter-panel-mode-control",
@@ -10089,8 +10093,8 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10089
10093
  variant: "secondary",
10090
10094
  onClick: r[0] ||= (e) => d.value = !0
10091
10095
  }))]),
10092
- s("div", Sf, [ie(s("div", Cf, [
10093
- !e.readOnly && L(_).length ? (D(), o("section", wf, [r[8] ||= s("p", { class: "pv-filter-panel-section-title pv-text-title-sm pv-text-subdued" }, "Suggestions", -1), s("div", Tf, [(D(!0), o(t, null, A(L(_), (e) => (D(), i(ri, {
10096
+ s("div", Cf, [ie(s("div", wf, [
10097
+ !e.readOnly && L(_).length ? (D(), o("section", Tf, [r[8] ||= s("p", { class: "pv-filter-panel-section-title pv-text-title-sm pv-text-subdued" }, "Suggestions", -1), s("div", Ef, [(D(!0), o(t, null, A(L(_), (e) => (D(), i(ri, {
10094
10098
  key: L(C)(e),
10095
10099
  icon: e.icon,
10096
10100
  "icon-classes": e.iconClasses,
@@ -10103,7 +10107,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10103
10107
  "onHandleClick"
10104
10108
  ]))), 128))])])) : a("", !0),
10105
10109
  j(n.$slots, "suggestions", {}, void 0, !0),
10106
- u(dd, {
10110
+ u(fd, {
10107
10111
  modelValue: F.value,
10108
10112
  "onUpdate:modelValue": r[1] ||= (e) => F.value = e,
10109
10113
  "all-categories-label": e.allCategoriesLabel,
@@ -10115,12 +10119,12 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10115
10119
  "category-order",
10116
10120
  "filters"
10117
10121
  ]),
10118
- e.enableFilterSearch && L(p).length ? (D(), o("div", Ef, [u(ui, {
10122
+ e.enableFilterSearch && L(p).length ? (D(), o("div", Df, [u(ui, {
10119
10123
  modelValue: B.value,
10120
10124
  "onUpdate:modelValue": r[2] ||= (e) => B.value = e,
10121
10125
  placeholder: e.filterSearchPlaceholder
10122
10126
  }, null, 8, ["modelValue", "placeholder"])])) : a("", !0),
10123
- L(p).length ? W.value.length ? (D(), o("div", kf, [(D(!0), o(t, null, A(me.value, (t) => (D(), i(Xu, {
10127
+ L(p).length ? W.value.length ? (D(), o("div", Af, [(D(!0), o(t, null, A(me.value, (t) => (D(), i(Zu, {
10124
10128
  key: t.key,
10125
10129
  "disable-while-loading": e.disableWhileLoading,
10126
10130
  filter: t,
@@ -10143,8 +10147,8 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10143
10147
  label: se.value,
10144
10148
  variant: "ghost",
10145
10149
  onClick: r[5] ||= (e) => ee.value = !ee.value
10146
- }, null, 8, ["label"])) : a("", !0)])) : (D(), o("div", Of, I(J.value), 1)) : (D(), o("div", Df, " No filters available. "))
10147
- ], 512), [[ne, N.value === "filters"]]), ie(u(id, {
10150
+ }, null, 8, ["label"])) : a("", !0)])) : (D(), o("div", kf, I(J.value), 1)) : (D(), o("div", Of, " No filters available. "))
10151
+ ], 512), [[ne, N.value === "filters"]]), ie(u(ad, {
10148
10152
  "applied-count": L(h),
10149
10153
  "applied-groups": L(m),
10150
10154
  "external-filters": le.value,
@@ -10158,7 +10162,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10158
10162
  "read-only",
10159
10163
  "onRemoveFilter"
10160
10164
  ]), [[ne, N.value === "applied"]])]),
10161
- X.value ? (D(), o("div", Af, [s("div", jf, [pe.value && !e.readOnly ? (D(), i($, {
10165
+ X.value ? (D(), o("div", jf, [s("div", Mf, [pe.value && !e.readOnly ? (D(), i($, {
10162
10166
  key: 0,
10163
10167
  class: "pv-text-brand",
10164
10168
  label: e.clearAllLabel,
@@ -10173,14 +10177,14 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10173
10177
  variant: "primary",
10174
10178
  onClick: L(y)
10175
10179
  }, null, 8, ["label", "onClick"])], 64)) : a("", !0)])])) : a("", !0)
10176
- ], 12, bf)), u(Ur, {
10180
+ ], 12, xf)), u(Ur, {
10177
10181
  modelValue: R.value,
10178
10182
  "onUpdate:modelValue": r[7] ||= (e) => R.value = e,
10179
10183
  header: e.clearAllHeader,
10180
10184
  style: { "--max-width": "440px" }
10181
10185
  }, {
10182
- body: K(() => [s("p", Mf, I(e.clearAllBody), 1)]),
10183
- footer: K(() => [s("div", Nf, [u($, {
10186
+ body: K(() => [s("p", Nf, I(e.clearAllBody), 1)]),
10187
+ footer: K(() => [s("div", Pf, [u($, {
10184
10188
  label: e.cancelLabel,
10185
10189
  variant: "ghost",
10186
10190
  onClick: ye
@@ -10192,16 +10196,16 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10192
10196
  _: 1
10193
10197
  }, 8, ["modelValue", "header"])], 64));
10194
10198
  }
10195
- }), [["__scopeId", "data-v-59a9b1c6"]]), Ff = ["for"], If = [
10199
+ }), [["__scopeId", "data-v-59a9b1c6"]]), If = ["for"], Lf = [
10196
10200
  "id",
10197
10201
  "type",
10198
10202
  "value",
10199
10203
  "name",
10200
10204
  "disabled"
10201
- ], Lf = { key: 0 }, Rf = {
10205
+ ], Rf = { key: 0 }, zf = {
10202
10206
  class: "pv-inset-square",
10203
10207
  style: { "--inset-size": "0px 2px" }
10204
- }, zf = /* @__PURE__ */ d({
10208
+ }, Bf = /* @__PURE__ */ d({
10205
10209
  __name: "PvFilterModalSelectItem",
10206
10210
  props: /* @__PURE__ */ g({
10207
10211
  rounded: { type: Boolean },
@@ -10234,55 +10238,55 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10234
10238
  value: e.value,
10235
10239
  name: e.name,
10236
10240
  disabled: e.disabled
10237
- }, null, 8, If), [[H, n.value]]),
10238
- e.label ? (D(), o("span", Lf, I(e.label), 1)) : a("", !0),
10239
- s("span", Rf, I(e.rightCounterBadge), 1)
10240
- ], 8, Ff));
10241
+ }, null, 8, Lf), [[H, n.value]]),
10242
+ e.label ? (D(), o("span", Rf, I(e.label), 1)) : a("", !0),
10243
+ s("span", zf, I(e.rightCounterBadge), 1)
10244
+ ], 8, If));
10241
10245
  }
10242
- }), Bf = ["aria-label"], Vf = {
10246
+ }), Vf = ["aria-label"], Hf = {
10243
10247
  class: "pv-filter-modal pv-flex",
10244
10248
  style: {
10245
10249
  "--flex-align": "stretch",
10246
10250
  "--flex-gap": "0"
10247
10251
  }
10248
- }, Hf = {
10252
+ }, Uf = {
10249
10253
  class: "pv-filter-modal-rail pv-flex-vertical pv-border-right",
10250
10254
  "aria-label": "Filter categories",
10251
10255
  style: { "--flex-gap": "0.25rem" }
10252
- }, Uf = {
10256
+ }, Wf = {
10253
10257
  class: "pv-filter-modal-pane pv-flex-vertical",
10254
10258
  style: {
10255
10259
  "--flex-align": "stretch",
10256
10260
  "--flex-gap": "0.75rem"
10257
10261
  }
10258
- }, Wf = {
10262
+ }, Gf = {
10259
10263
  key: 0,
10260
10264
  class: "pv-flex",
10261
10265
  style: {
10262
10266
  "--flex-gap": "0.5rem",
10263
10267
  "flex-wrap": "wrap"
10264
10268
  }
10265
- }, Gf = {
10269
+ }, Kf = {
10266
10270
  key: 1,
10267
10271
  class: "pv-inset-square-8"
10268
- }, Kf = {
10272
+ }, qf = {
10269
10273
  class: "pv-filter-modal-options pv-flex-vertical",
10270
10274
  style: {
10271
10275
  "--flex-align": "stretch",
10272
10276
  "--flex-gap": "0.75rem"
10273
10277
  }
10274
- }, qf = {
10278
+ }, Jf = {
10275
10279
  key: 1,
10276
10280
  class: "pv-text-body-sm pv-text-subdued pv-stack-8",
10277
10281
  style: { "font-weight": "500" }
10278
- }, Jf = {
10282
+ }, Yf = {
10279
10283
  key: 0,
10280
10284
  class: "pv-text-body-xs pv-text-subdued",
10281
10285
  style: { margin: "0" }
10282
- }, Yf = {
10286
+ }, Xf = {
10283
10287
  key: 3,
10284
10288
  class: "pv-filter-modal-pane-actions pv-space-between pv-border-top"
10285
- }, Xf = {
10289
+ }, Zf = {
10286
10290
  key: 0,
10287
10291
  class: "pv-flex pv-border-top",
10288
10292
  style: {
@@ -10291,7 +10295,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10291
10295
  "margin-top": "0.75rem",
10292
10296
  "padding-top": "0.75rem"
10293
10297
  }
10294
- }, Zf = /* @__PURE__ */ Q(/* @__PURE__ */ d({
10298
+ }, Qf = /* @__PURE__ */ Q(/* @__PURE__ */ d({
10295
10299
  __name: "PvFilterModal",
10296
10300
  props: /* @__PURE__ */ g({
10297
10301
  header: { default: "Filters" },
@@ -10377,7 +10381,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10377
10381
  "suggestion-click"
10378
10382
  ], ["update:filterModel", "update:visible"]),
10379
10383
  setup(e, { emit: n }) {
10380
- let c = e, l = z(e, "filterModel"), d = z(e, "visible"), f = n, { resolvedFilters: p, activateFilter: m, applyStagedFilters: h, cancelStagedFilters: g, handleControlChange: _, handleFacetChange: v, setFacetSelections: b, usesHandlerFacets: C } = yf(c, l, f), w = k(null), T = R(), E = k(""), O = r(() => p.value.filter((e) => e.type === "value")), M = r(() => {
10384
+ let c = e, l = z(e, "filterModel"), d = z(e, "visible"), f = n, { resolvedFilters: p, activateFilter: m, applyStagedFilters: h, cancelStagedFilters: g, handleControlChange: _, handleFacetChange: v, setFacetSelections: b, usesHandlerFacets: C } = bf(c, l, f), w = k(null), T = R(), E = k(""), O = r(() => p.value.filter((e) => e.type === "value")), M = r(() => {
10381
10385
  let e = O.value;
10382
10386
  return e.find((e) => e.key === w.value) ?? e[0] ?? null;
10383
10387
  }), P = r(() => M.value?.isAggregate === !0), F = r(() => M.value?.aggregateSelectionState ?? []), ee = r(() => new Set(M.value?.selectedValues ?? [])), B = r(() => E.value.trim().toLowerCase()), V = (e) => {
@@ -10394,7 +10398,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10394
10398
  let e = M.value;
10395
10399
  if (!e) return {};
10396
10400
  let t = {};
10397
- for (let n of Gl([...e.knownOptions ?? [], ...e.options ?? []])) t[n.value] = n;
10401
+ for (let n of Kl([...e.knownOptions ?? [], ...e.options ?? []])) t[n.value] = n;
10398
10402
  return t;
10399
10403
  }), H = r(() => M.value?.colDef.context?.filterPanel ?? {}), U = k(Object.fromEntries(O.value.flatMap((e) => {
10400
10404
  let t = e.colDef.context?.filterPanel, n = Object.fromEntries(Object.entries(t ?? {}).flatMap(([e, t]) => t.initial?.length ? [[e, t.initial]] : []));
@@ -10460,22 +10464,22 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10460
10464
  options: [...i.filter((e) => le.value.has(e.value)), ...i.filter((e) => !le.value.has(e.value))]
10461
10465
  };
10462
10466
  });
10463
- }), pe = r(() => P.value && M.value ? Su({
10467
+ }), pe = r(() => P.value && M.value ? Cu({
10464
10468
  options: M.value.knownOptions ?? [],
10465
10469
  state: F.value
10466
- }) : /* @__PURE__ */ new Map()), X = (e) => e.isAggregate ? Tu(e.aggregateSelectionState ?? []) || void 0 : e.selectedValues?.length || void 0, me = (e) => P.value ? pe.value.get(e.value) ?? {
10470
+ }) : /* @__PURE__ */ new Map()), X = (e) => e.isAggregate ? Eu(e.aggregateSelectionState ?? []) || void 0 : e.selectedValues?.length || void 0, me = (e) => P.value ? pe.value.get(e.value) ?? {
10467
10471
  indeterminate: !1,
10468
10472
  selected: !1
10469
10473
  } : {
10470
10474
  indeterminate: !1,
10471
10475
  selected: ee.value.has(e.value)
10472
- }, he = (e) => M.value ? Fl(e, M.value.colDef) : e.label || e.value, ge = (e) => Ul(e) ?? e.value, _e = (e) => Wl(e, M.value?.key ?? ""), ve = (e, t) => {
10476
+ }, he = (e) => M.value ? Il(e, M.value.colDef) : e.label || e.value, ge = (e) => Wl(e) ?? e.value, _e = (e) => Gl(e, M.value?.key ?? ""), ve = (e, t) => {
10473
10477
  let n = M.value;
10474
10478
  if (n) {
10475
10479
  if (n.isAggregate) {
10476
10480
  _(n.key, {
10477
10481
  type: "aggregate-selection",
10478
- value: bu({
10482
+ value: xu({
10479
10483
  checked: t,
10480
10484
  option: e,
10481
10485
  options: n.knownOptions ?? [],
@@ -10495,7 +10499,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10495
10499
  for (let e of J.value) me(e).selected || ve(e, !0);
10496
10500
  }, be = () => {
10497
10501
  if (P.value) {
10498
- for (let e of Gl(M.value?.knownOptions ?? [])) me(e).selected && ve(e, !1);
10502
+ for (let e of Kl(M.value?.knownOptions ?? [])) me(e).selected && ve(e, !1);
10499
10503
  return;
10500
10504
  }
10501
10505
  for (let e of se.value) ve(e, !1);
@@ -10542,7 +10546,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10542
10546
  width: e.maxWidth,
10543
10547
  maxWidth: e.maxWidth
10544
10548
  })
10545
- }, [s("div", Vf, [s("nav", Hf, [(D(!0), o(t, null, A(O.value, (e) => (D(), i(zf, {
10549
+ }, [s("div", Hf, [s("nav", Uf, [(D(!0), o(t, null, A(O.value, (e) => (D(), i(Bf, {
10546
10550
  key: e.key,
10547
10551
  modelValue: Se.value,
10548
10552
  "onUpdate:modelValue": r[0] ||= (e) => Se.value = e,
@@ -10556,7 +10560,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10556
10560
  "label",
10557
10561
  "right-counter-badge",
10558
10562
  "value"
10559
- ]))), 128))]), s("div", Uf, [
10563
+ ]))), 128))]), s("div", Wf, [
10560
10564
  u(ui, {
10561
10565
  modelValue: E.value,
10562
10566
  "onUpdate:modelValue": r[1] ||= (e) => E.value = e,
@@ -10568,7 +10572,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10568
10572
  "disabled",
10569
10573
  "placeholder"
10570
10574
  ]),
10571
- Object.keys(H.value).length ? (D(), o("div", Wf, [(D(!0), o(t, null, A(H.value, (e, t) => (D(), i(es, {
10575
+ Object.keys(H.value).length ? (D(), o("div", Gf, [(D(!0), o(t, null, A(H.value, (e, t) => (D(), i(ts, {
10572
10576
  key: `facet-${t}`,
10573
10577
  disabled: M.value?.disabled,
10574
10578
  label: e.headerName || L(Ce)(t),
@@ -10583,8 +10587,8 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10583
10587
  "options",
10584
10588
  "onUpdate:modelValue"
10585
10589
  ]))), 128))])) : a("", !0),
10586
- M.value?.isLoading ? (D(), o("div", Gf, [u(Ne, { size: "sm" })])) : M.value ? (D(), o(t, { key: 2 }, [
10587
- s("div", Kf, [(D(!0), o(t, null, A(de.value, (e) => (D(), o("div", {
10590
+ M.value?.isLoading ? (D(), o("div", Kf, [u(Ne, { size: "sm" })])) : M.value ? (D(), o(t, { key: 2 }, [
10591
+ s("div", qf, [(D(!0), o(t, null, A(de.value, (e) => (D(), o("div", {
10588
10592
  key: `section-${e.key}`,
10589
10593
  class: "pv-flex-vertical",
10590
10594
  style: {
@@ -10605,17 +10609,17 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10605
10609
  "field",
10606
10610
  "options",
10607
10611
  "section"
10608
- ])) : e.label ? (D(), o("p", qf, I(e.label), 1)) : a("", !0), (D(!0), o(t, null, A(e.options, (e) => (D(), o("div", {
10612
+ ])) : e.label ? (D(), o("p", Jf, I(e.label), 1)) : a("", !0), (D(!0), o(t, null, A(e.options, (e) => (D(), o("div", {
10609
10613
  key: `option-${e.value}`,
10610
10614
  class: y(["pv-inset-square-8 pv-radius", { "pv-surface-highlight": me(e).selected }])
10611
- }, [u(Tl, {
10615
+ }, [u(El, {
10612
10616
  control: M.value.singleSelect ? "radio" : "checkbox",
10613
10617
  disabled: M.value.disabled || e.isSelectable === !1,
10614
10618
  indeterminate: me(e).indeterminate,
10615
10619
  label: he(e),
10616
10620
  name: L(T),
10617
10621
  "query-text": E.value,
10618
- "result-count": L(Il)(e),
10622
+ "result-count": L(Ll)(e),
10619
10623
  selected: me(e).selected,
10620
10624
  "sub-text": e.subText,
10621
10625
  "subdued-text": e.subduedText,
@@ -10635,7 +10639,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10635
10639
  "value",
10636
10640
  "onToggleValue"
10637
10641
  ])], 2))), 128))]))), 128))]),
10638
- J.value.length ? a("", !0) : (D(), o("p", Jf, " No matching values. ")),
10642
+ J.value.length ? a("", !0) : (D(), o("p", Yf, " No matching values. ")),
10639
10643
  M.value.hasMore ? (D(), i($, {
10640
10644
  key: 1,
10641
10645
  class: "pv-text-brand",
@@ -10646,7 +10650,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10646
10650
  onClick: xe
10647
10651
  }, null, 8, ["disabled"])) : a("", !0)
10648
10652
  ], 64)) : a("", !0),
10649
- M.value && !e.readOnly ? (D(), o("div", Yf, [M.value.singleSelect ? a("", !0) : (D(), i($, {
10653
+ M.value && !e.readOnly ? (D(), o("div", Xf, [M.value.singleSelect ? a("", !0) : (D(), i($, {
10650
10654
  key: 0,
10651
10655
  disabled: M.value.disabled,
10652
10656
  label: e.selectAllLabel,
@@ -10658,7 +10662,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10658
10662
  variant: "ghost",
10659
10663
  onClick: be
10660
10664
  }, null, 8, ["disabled", "label"])])) : a("", !0)
10661
- ])]), e.staged ? (D(), o("div", Xf, [u($, {
10665
+ ])]), e.staged ? (D(), o("div", Zf, [u($, {
10662
10666
  label: e.cancelLabel,
10663
10667
  variant: "ghost",
10664
10668
  onClick: L(g)
@@ -10666,14 +10670,14 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10666
10670
  label: e.applyLabel,
10667
10671
  variant: "primary",
10668
10672
  onClick: L(h)
10669
- }, null, 8, ["label", "onClick"])])) : a("", !0)], 12, Bf)]),
10673
+ }, null, 8, ["label", "onClick"])])) : a("", !0)], 12, Vf)]),
10670
10674
  _: 3
10671
10675
  }, 8, ["modelValue"]));
10672
10676
  }
10673
- }), [["__scopeId", "data-v-e3f66d03"]]), Qf = ["tabindex"], $f = {
10677
+ }), [["__scopeId", "data-v-e3f66d03"]]), $f = ["tabindex"], ep = {
10674
10678
  key: 0,
10675
10679
  class: "pv-hover-action-menu__actions"
10676
- }, ep = { class: "pv-hover-action-menu__action-group" }, tp = /* @__PURE__ */ Q(/* @__PURE__ */ d({
10680
+ }, tp = { class: "pv-hover-action-menu__action-group" }, np = /* @__PURE__ */ Q(/* @__PURE__ */ d({
10677
10681
  __name: "PvHoverActionMenu",
10678
10682
  props: {
10679
10683
  disabled: {
@@ -10696,12 +10700,12 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10696
10700
  class: y(["pv-hover-action-menu", d.value]),
10697
10701
  tabindex: e.options.length ? 0 : void 0,
10698
10702
  "data-testid": "pv-hover-action-menu"
10699
- }, [j(n.$slots, "default", {}, void 0, !0), e.options.length ? (D(), o("div", $f, [u(bc, {
10703
+ }, [j(n.$slots, "default", {}, void 0, !0), e.options.length ? (D(), o("div", ep, [u(xc, {
10700
10704
  variant: e.variant,
10701
10705
  "data-testid": "pv-hover-action-menu-actions",
10702
10706
  onClick: r[0] ||= q(() => {}, ["stop"])
10703
10707
  }, {
10704
- default: K(() => [s("div", ep, [(D(!0), o(t, null, A(e.options, (t) => (D(), i(ir, {
10708
+ default: K(() => [s("div", tp, [(D(!0), o(t, null, A(e.options, (t) => (D(), i(ir, {
10705
10709
  key: t.id,
10706
10710
  variant: "dark",
10707
10711
  position: "top-center",
@@ -10729,9 +10733,9 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10729
10733
  _: 2
10730
10734
  }, 1032, ["description"]))), 128))])]),
10731
10735
  _: 1
10732
- }, 8, ["variant"])])) : a("", !0)], 10, Qf));
10736
+ }, 8, ["variant"])])) : a("", !0)], 10, $f));
10733
10737
  }
10734
- }), [["__scopeId", "data-v-6325cd25"]]), np = () => {
10738
+ }), [["__scopeId", "data-v-6325cd25"]]), rp = () => {
10735
10739
  let e = (e, n) => {
10736
10740
  let i = e || { queryTerms: [] }, a = n.queryTerm || {};
10737
10741
  return t(n) && !r(e, n) && i.queryTerms.push(a), i;
@@ -10744,7 +10748,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10744
10748
  queryTerms: e.queryTerms.filter((e) => !n(e, t.queryTerm || {}))
10745
10749
  } : null
10746
10750
  };
10747
- }, rp = /* @__PURE__ */ d({
10751
+ }, ip = /* @__PURE__ */ d({
10748
10752
  __name: "QueryFormatter",
10749
10753
  props: /* @__PURE__ */ g({ queryTermDisplayLimit: { default: 3 } }, {
10750
10754
  modelValue: { required: !0 },
@@ -10758,7 +10762,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10758
10762
  }),
10759
10763
  emits: ["update:modelValue", "update:wrap-content"],
10760
10764
  setup(e) {
10761
- let n = e, s = z(e, "modelValue"), c = z(e, "wrap-content"), { removeQueryOption: l } = np(), u = r(() => {
10765
+ let n = e, s = z(e, "modelValue"), c = z(e, "wrap-content"), { removeQueryOption: l } = rp(), u = r(() => {
10762
10766
  let e = s.value?.queryTerms || [];
10763
10767
  return c.value ? e : e.slice(0, n.queryTermDisplayLimit);
10764
10768
  }), d = r(() => (s.value?.queryTerms.length || 0) - u.value.length), f = (e) => {
@@ -10794,27 +10798,27 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10794
10798
  onHandleClick: n[0] ||= (e) => c.value = !0
10795
10799
  }, null, 8, ["label"])) : a("", !0)], 64));
10796
10800
  }
10797
- }), ip = [
10801
+ }), ap = [
10798
10802
  "aria-expanded",
10799
10803
  "aria-activedescendant",
10800
10804
  "disabled",
10801
10805
  "placeholder",
10802
10806
  "data-invalid"
10803
- ], ap = {
10807
+ ], op = {
10804
10808
  key: 2,
10805
10809
  class: "pv-text-red pv-text-body-xs"
10806
- }, op = ["id"], sp = [
10810
+ }, sp = ["id"], cp = [
10807
10811
  "id",
10808
10812
  "aria-selected",
10809
10813
  "aria-describedby",
10810
10814
  "onMouseenter"
10811
- ], cp = {
10815
+ ], lp = {
10812
10816
  key: 1,
10813
10817
  role: "presentation"
10814
- }, lp = {
10818
+ }, up = {
10815
10819
  key: 1,
10816
10820
  class: "pv-text-center"
10817
- }, up = /* @__PURE__ */ Q(/* @__PURE__ */ d({
10821
+ }, dp = /* @__PURE__ */ Q(/* @__PURE__ */ d({
10818
10822
  __name: "PvQueryBuilderInput",
10819
10823
  props: /* @__PURE__ */ g({
10820
10824
  placeholder: { default: "Search" },
@@ -10867,7 +10871,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10867
10871
  width: "100%",
10868
10872
  maxWidth: "100%",
10869
10873
  "--popover-list-item-hover-background-color": "var(--surface-card-hover, #ece8e2)"
10870
- }, f = V("search-input"), p = z(e, "searchText"), m = z(e, "query"), h = z(e, "options"), { addQueryOption: g, containsQueryOption: b, removeQueryOption: S } = np(), C = k(!1), w = k(!1), T = k(!1), E = B(), O = r(() => !!(E.header || E.footer || E.empty)), M = R(), N = `${M}-options`, P = (e) => `${M}-option-${e}`, F = (e) => `${M}-group-${e}`, ee = r(() => oe.value.length > 0 || n.optionsLoading || O.value), te = r(() => m.value === null ? n.placeholder : ""), H = k(null), U = r(() => H.value !== null && H.value !== "" && !w.value), re = () => {
10874
+ }, f = V("search-input"), p = z(e, "searchText"), m = z(e, "query"), h = z(e, "options"), { addQueryOption: g, containsQueryOption: b, removeQueryOption: S } = rp(), C = k(!1), w = k(!1), T = k(!1), E = B(), O = r(() => !!(E.header || E.footer || E.empty)), M = R(), N = `${M}-options`, P = (e) => `${M}-option-${e}`, F = (e) => `${M}-group-${e}`, ee = r(() => oe.value.length > 0 || n.optionsLoading || O.value), te = r(() => m.value === null ? n.placeholder : ""), H = k(null), U = r(() => H.value !== null && H.value !== "" && !w.value), re = () => {
10871
10875
  m.value = null, p.value = "", H.value = null, T.value = !1;
10872
10876
  };
10873
10877
  J("Enter", (e) => {
@@ -10991,7 +10995,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
10991
10995
  "--inset-size": "4px",
10992
10996
  "--flex-gap": "4px"
10993
10997
  }, e.enableWrapQueryTerms || T.value ? "flex-wrap: wrap;" : "flex-wrap: nowrap; justify-content: flex-end;"])
10994
- }, [u(rp, {
10998
+ }, [u(ip, {
10995
10999
  modelValue: m.value,
10996
11000
  "onUpdate:modelValue": r[0] ||= (e) => m.value = e,
10997
11001
  "wrap-content": T.value,
@@ -11017,7 +11021,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11017
11021
  style: x(p.value ? "min-width: 8rem;" : void 0),
11018
11022
  onFocus: ve,
11019
11023
  onBlur: ve
11020
- }, null, 44, ip), [[W, p.value]])], 4),
11024
+ }, null, 44, ap), [[W, p.value]])], 4),
11021
11025
  m.value && !e.hideClearButton ? (D(), i($, {
11022
11026
  key: 1,
11023
11027
  variant: "ghost",
@@ -11025,7 +11029,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11025
11029
  size: "md",
11026
11030
  onClick: re
11027
11031
  })) : a("", !0),
11028
- U.value ? (D(), o("p", ap, I(H.value), 1)) : a("", !0),
11032
+ U.value ? (D(), o("p", op, I(H.value), 1)) : a("", !0),
11029
11033
  ee.value ? ie((D(), i(wr, {
11030
11034
  key: 3,
11031
11035
  class: "pv-scrollbar-visible",
@@ -11035,12 +11039,12 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11035
11039
  listId: N,
11036
11040
  listRole: "listbox"
11037
11041
  }, c({
11038
- default: K(() => [e.optionsLoading ? (D(), o("div", lp, [u(Ne, { variant: "dark" })])) : (D(), o(t, { key: 0 }, [oe.value.length > 0 ? (D(!0), o(t, { key: 0 }, A(se.value, ([e, n], r) => (D(), o(t, { key: e }, [e ? (D(), o("li", {
11042
+ default: K(() => [e.optionsLoading ? (D(), o("div", up, [u(Ne, { variant: "dark" })])) : (D(), o(t, { key: 0 }, [oe.value.length > 0 ? (D(!0), o(t, { key: 0 }, A(se.value, ([e, n], r) => (D(), o(t, { key: e }, [e ? (D(), o("li", {
11039
11043
  key: 0,
11040
11044
  id: F(r),
11041
11045
  role: "presentation",
11042
11046
  class: "pv-query-builder-group-label pv-text-body-xs pv-text-subdued"
11043
- }, I(e), 9, op)) : a("", !0), (D(!0), o(t, null, A(n, (t) => (D(), o("li", {
11047
+ }, I(e), 9, sp)) : a("", !0), (D(!0), o(t, null, A(n, (t) => (D(), o("li", {
11044
11048
  key: `${e}-${t.id}`,
11045
11049
  id: P(le.value.get(t) ?? -1),
11046
11050
  role: "option",
@@ -11048,11 +11052,11 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11048
11052
  "aria-describedby": e ? F(r) : void 0,
11049
11053
  class: y({ "pv-query-builder-option-active": t === ue.value }),
11050
11054
  onMouseenter: (e) => me(t)
11051
- }, [u(Ro, _({ ref_for: !0 }, t, {
11055
+ }, [u(zo, _({ ref_for: !0 }, t, {
11052
11056
  config: l,
11053
11057
  queryText: p.value,
11054
11058
  onHandleSelected: (e) => ge(t)
11055
- }), null, 16, ["queryText", "onHandleSelected"])], 42, sp))), 128))], 64))), 128)) : n.$slots.empty ? (D(), o("li", cp, [j(n.$slots, "empty", {}, void 0, !0)])) : a("", !0)], 64))]),
11059
+ }), null, 16, ["queryText", "onHandleSelected"])], 42, cp))), 128))], 64))), 128)) : n.$slots.empty ? (D(), o("li", lp, [j(n.$slots, "empty", {}, void 0, !0)])) : a("", !0)], 64))]),
11056
11060
  _: 2
11057
11061
  }, [n.$slots.header ? {
11058
11062
  name: "header",
@@ -11065,7 +11069,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11065
11069
  } : void 0]), 1536)), [[ne, C.value]]) : a("", !0)
11066
11070
  ], 34)), [[L(X), he]]);
11067
11071
  }
11068
- }), [["__scopeId", "data-v-62aa7767"]]), dp = { class: "sidebar-header-content" }, fp = { class: "content-panel" }, pp = 300, mp = /* @__PURE__ */ d({
11072
+ }), [["__scopeId", "data-v-62aa7767"]]), fp = { class: "sidebar-header-content" }, pp = { class: "content-panel" }, mp = 300, hp = /* @__PURE__ */ d({
11069
11073
  __name: "PvSidebar",
11070
11074
  props: /* @__PURE__ */ g({
11071
11075
  disableToggle: { type: Boolean },
@@ -11092,7 +11096,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11092
11096
  }, h = () => {
11093
11097
  n.newVersion || r.value && (u && clearTimeout(u), u = setTimeout(() => {
11094
11098
  l.value = !0;
11095
- }, pp));
11099
+ }, mp));
11096
11100
  }, g = () => {
11097
11101
  n.newVersion || (u &&= (clearTimeout(u), null), m(), l.value = !1);
11098
11102
  }, _ = () => {
@@ -11111,119 +11115,119 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11111
11115
  onMouseenter: h,
11112
11116
  onMouseleave: g,
11113
11117
  onFocusin: h
11114
- }, [s("div", { class: y(["sidebar-header", [{ "pv-border-bottom": r.value }]]) }, [s("div", dp, [j(t.$slots, "sidebar-header")]), e.disableToggle ? a("", !0) : (D(), i($, {
11118
+ }, [s("div", { class: y(["sidebar-header", [{ "pv-border-bottom": r.value }]]) }, [s("div", fp, [j(t.$slots, "sidebar-header")]), e.disableToggle ? a("", !0) : (D(), i($, {
11115
11119
  key: 0,
11116
11120
  class: "sidebar-toggle",
11117
11121
  "left-icon": r.value ? "panel-left-open" : "panel-left-close",
11118
11122
  "aria-label": r.value ? "Open sidebar" : "Close sidebar",
11119
11123
  variant: "ghost",
11120
11124
  onClick: _
11121
- }, null, 8, ["left-icon", "aria-label"]))], 2), j(t.$slots, "sidebar")], 32), s("div", fp, [j(t.$slots, "default")])], 2));
11125
+ }, null, 8, ["left-icon", "aria-label"]))], 2), j(t.$slots, "sidebar")], 32), s("div", pp, [j(t.$slots, "default")])], 2));
11122
11126
  }
11123
- }), hp = {
11127
+ }), gp = {
11124
11128
  key: 0,
11125
11129
  class: "sidebar-additional-header"
11126
- }, gp = { class: "sidebar-header-content pv-full-width" }, _p = {
11130
+ }, _p = { class: "sidebar-header-content pv-full-width" }, vp = {
11127
11131
  key: 0,
11128
11132
  class: "pv-sidebar-nav-header"
11129
- }, vp = ["aria-label", "aria-expanded"], yp = {
11133
+ }, yp = ["aria-label", "aria-expanded"], bp = {
11130
11134
  class: "pv-flex",
11131
11135
  style: { "min-width": "0" }
11132
- }, bp = {
11136
+ }, xp = {
11133
11137
  class: "pv-avatar-xs",
11134
11138
  style: {
11135
11139
  "border-radius": "4px",
11136
11140
  "flex-shrink": "0"
11137
11141
  }
11138
- }, xp = ["src"], Sp = { key: 1 }, Cp = ["title"], wp = {
11142
+ }, Sp = ["src"], Cp = { key: 1 }, wp = ["title"], Tp = {
11139
11143
  class: "pv-popover",
11140
11144
  style: {
11141
11145
  width: "fit-content",
11142
11146
  "max-width": "280px",
11143
11147
  "margin-top": "4px"
11144
11148
  }
11145
- }, Tp = {
11149
+ }, Ep = {
11146
11150
  role: "list",
11147
11151
  class: "pv-popover-list pv-flow",
11148
11152
  style: { "--flow-size": "0.25rem" },
11149
11153
  "data-testid": "pv-sidebar-org-list"
11150
- }, Ep = ["data-active"], Dp = ["href", "data-org-value"], Op = {
11154
+ }, Dp = ["data-active"], Op = ["href", "data-org-value"], kp = {
11151
11155
  class: "pv-avatar-xs",
11152
11156
  style: { "border-radius": "4px" }
11153
- }, kp = ["src"], Ap = { key: 1 }, jp = ["title"], Mp = ["data-active"], Np = ["href", "data-org-value"], Pp = ["title"], Fp = { class: "pv-sidebar-nav" }, Ip = { key: 0 }, Lp = {
11157
+ }, Ap = ["src"], jp = { key: 1 }, Mp = ["title"], Np = ["data-active"], Pp = ["href", "data-org-value"], Fp = ["title"], Ip = { class: "pv-sidebar-nav" }, Lp = { key: 0 }, Rp = {
11154
11158
  key: 1,
11155
11159
  role: "list",
11156
11160
  class: "pv-full-width pv-flow",
11157
11161
  style: { "--flow-size": "0.25rem" }
11158
- }, Rp = {
11162
+ }, zp = {
11159
11163
  class: "pv-flex pv-space-between pv-full-width",
11160
11164
  "data-sidebar-expanded-content": "",
11161
11165
  style: { "flex-wrap": "wrap" }
11162
- }, zp = {
11166
+ }, Bp = {
11163
11167
  key: 0,
11164
11168
  class: "pv-tag-purple pv-tag-sm"
11165
- }, Bp = ["onClick", "onKeydown"], Vp = [
11169
+ }, Vp = ["onClick", "onKeydown"], Hp = [
11166
11170
  "href",
11167
11171
  "aria-current",
11168
11172
  "title"
11169
- ], Hp = {
11173
+ ], Up = {
11170
11174
  class: "pv-flex pv-space-between pv-full-width",
11171
11175
  "data-sidebar-expanded-content": "",
11172
11176
  style: { "flex-wrap": "wrap" }
11173
- }, Up = {
11177
+ }, Wp = {
11174
11178
  key: 0,
11175
11179
  class: "pv-tag-purple pv-tag-sm"
11176
- }, Wp = {
11180
+ }, Gp = {
11177
11181
  class: "pv-popover",
11178
11182
  style: { "--position": "static" }
11179
- }, Gp = {
11183
+ }, Kp = {
11180
11184
  role: "list",
11181
11185
  class: "pv-popover-list"
11182
- }, Kp = ["data-active"], qp = ["href"], Jp = {
11186
+ }, qp = ["data-active"], Jp = ["href"], Yp = {
11183
11187
  key: 0,
11184
11188
  class: "pv-tag-purple pv-tag-sm"
11185
- }, Yp = ["onClick", "onAuxclick"], Xp = { "data-sidebar-expanded-content": "" }, Zp = { class: "pv-sidebar-nav-nested" }, Qp = [
11189
+ }, Xp = ["onClick", "onAuxclick"], Zp = { "data-sidebar-expanded-content": "" }, Qp = { class: "pv-sidebar-nav-nested" }, $p = [
11186
11190
  "href",
11187
11191
  "aria-current",
11188
11192
  "title"
11189
- ], $p = {
11193
+ ], em = {
11190
11194
  class: "pv-flex pv-space-between pv-full-width",
11191
11195
  style: { "flex-wrap": "wrap" }
11192
- }, em = {
11196
+ }, tm = {
11193
11197
  key: 0,
11194
11198
  class: "pv-tag-purple pv-tag-sm"
11195
- }, tm = {
11199
+ }, nm = {
11196
11200
  class: "pv-popover",
11197
11201
  style: {
11198
11202
  "--position": "static",
11199
11203
  "--height": "350px"
11200
11204
  }
11201
- }, nm = {
11205
+ }, rm = {
11202
11206
  role: "list",
11203
11207
  class: "pv-popover-list"
11204
- }, rm = ["data-active"], im = ["href"], am = {
11208
+ }, im = ["data-active"], am = ["href"], om = {
11205
11209
  key: 0,
11206
11210
  class: "pv-tag-purple pv-tag-sm"
11207
- }, om = {
11211
+ }, sm = {
11208
11212
  class: "pv-sidebar-nav-footer pv-sticky",
11209
11213
  style: { "--bottom": "0" }
11210
- }, sm = ["aria-expanded"], cm = { class: "pv-popover pv-text-default pv-text-body-md" }, lm = [
11214
+ }, cm = ["aria-expanded"], lm = { class: "pv-popover pv-text-default pv-text-body-md" }, um = [
11211
11215
  "aria-label",
11212
11216
  "aria-expanded",
11213
11217
  "title"
11214
- ], um = {
11218
+ ], dm = {
11215
11219
  class: "pv-avatar-xs",
11216
11220
  style: {
11217
11221
  "border-radius": "50%",
11218
11222
  "flex-shrink": "0"
11219
11223
  }
11220
- }, dm = ["src"], fm = { key: 1 }, pm = {
11224
+ }, fm = ["src"], pm = { key: 1 }, mm = {
11221
11225
  class: "pv-truncate",
11222
11226
  "data-sidebar-expanded-content": ""
11223
- }, mm = {
11227
+ }, hm = {
11224
11228
  class: "pv-popover pv-text-default pv-text-body-md",
11225
11229
  style: { "--height": "750px" }
11226
- }, hm = { class: "content-panel" }, gm = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", _m = /* @__PURE__ */ d({
11230
+ }, gm = { class: "content-panel" }, _m = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", vm = /* @__PURE__ */ d({
11227
11231
  __name: "PvSidebarV2",
11228
11232
  props: /* @__PURE__ */ g({
11229
11233
  disableOrgProfileHover: { type: Boolean },
@@ -11248,11 +11252,11 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11248
11252
  })), te, H = (e) => e.hoverPanelSlot ? p ? (ee.value, Yn(p, e.hoverPanelSlot)) : !!C[e.hoverPanelSlot] : !1, U = (e, t, n) => {
11249
11253
  n instanceof HTMLElement ? e.set(t, n) : e.delete(t);
11250
11254
  }, W = (e) => {
11251
- let t = P.get(e), n = t?.querySelector(gm);
11255
+ let t = P.get(e), n = t?.querySelector(_m);
11252
11256
  if (n) return n;
11253
11257
  for (let e of t?.querySelectorAll("slot") ?? []) for (let t of e.assignedElements({ flatten: !0 })) {
11254
- if (t.matches(gm)) return t;
11255
- let e = t.querySelector(gm);
11258
+ if (t.matches(_m)) return t;
11259
+ let e = t.querySelector(_m);
11256
11260
  if (e) return e;
11257
11261
  }
11258
11262
  }, ne = (e, t) => {
@@ -11333,7 +11337,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11333
11337
  ref_key: "sidebarPanel",
11334
11338
  ref: E,
11335
11339
  class: "sidebar-panel"
11336
- }, [s("div", null, [L(h) ? (D(), o("div", hp, [j(n.$slots, "sidebar-additional-header")])) : a("", !0), s("div", { class: y(["sidebar-header", [{ "pv-border-bottom": Y.value }]]) }, [s("div", gp, [e.organizations && e.organizations.length ? (D(), o("div", _p, [u(nr, {
11340
+ }, [s("div", null, [L(h) ? (D(), o("div", gp, [j(n.$slots, "sidebar-additional-header")])) : a("", !0), s("div", { class: y(["sidebar-header", [{ "pv-border-bottom": Y.value }]]) }, [s("div", _p, [e.organizations && e.organizations.length ? (D(), o("div", vp, [u(nr, {
11337
11341
  modelValue: pe.value,
11338
11342
  "onUpdate:modelValue": r[0] ||= (e) => pe.value = e,
11339
11343
  position: Y.value ? "right-top" : "bottom-left",
@@ -11359,19 +11363,19 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11359
11363
  "data-testid": "pv-sidebar-org-switcher",
11360
11364
  "aria-label": `Switch organization: ${J.value?.label}`,
11361
11365
  "aria-expanded": pe.value
11362
- }, [s("div", yp, [s("span", bp, [J.value?.avatarUrl ? (D(), o("img", {
11366
+ }, [s("div", bp, [s("span", xp, [J.value?.avatarUrl ? (D(), o("img", {
11363
11367
  key: 0,
11364
11368
  src: J.value.avatarUrl,
11365
11369
  alt: "Organization Avatar"
11366
- }, null, 8, xp)) : (D(), o("span", Sp, I(J.value?.label?.slice(0, 1)), 1))]), s("span", {
11370
+ }, null, 8, Sp)) : (D(), o("span", Cp, I(J.value?.label?.slice(0, 1)), 1))]), s("span", {
11367
11371
  class: "pv-text-title-lg pv-truncate",
11368
11372
  "data-sidebar-expanded-content": "",
11369
11373
  title: J.value?.label
11370
- }, I(J.value?.label), 9, Cp)]), u(Z, {
11374
+ }, I(J.value?.label), 9, wp)]), u(Z, {
11371
11375
  name: "chevron-down",
11372
11376
  class: "pv-icon-16",
11373
11377
  "data-sidebar-expanded-content": ""
11374
- })], 8, vp)]),
11378
+ })], 8, yp)]),
11375
11379
  _: 1
11376
11380
  }, 8, [
11377
11381
  "description",
@@ -11379,19 +11383,19 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11379
11383
  "use-teleport",
11380
11384
  "teleport-location"
11381
11385
  ])]),
11382
- content: K(() => [s("div", wp, [s("ul", Tp, [(D(!0), o(t, null, A(e.organizations, (e) => (D(), o(t, { key: e.value }, [s("li", { "data-active": e.active || void 0 }, [s("a", {
11386
+ content: K(() => [s("div", Tp, [s("ul", Ep, [(D(!0), o(t, null, A(e.organizations, (e) => (D(), o(t, { key: e.value }, [s("li", { "data-active": e.active || void 0 }, [s("a", {
11383
11387
  class: "pv-flex",
11384
11388
  href: e.url,
11385
11389
  "data-testid": "pv-sidebar-org-option",
11386
11390
  "data-org-value": e.value
11387
- }, [s("div", Op, [e.avatarUrl ? (D(), o("img", {
11391
+ }, [s("div", kp, [e.avatarUrl ? (D(), o("img", {
11388
11392
  key: 0,
11389
11393
  src: e.avatarUrl,
11390
11394
  alt: "Organization Avatar"
11391
- }, null, 8, kp)) : (D(), o("span", Ap, I(e.label.slice(0, 1)), 1))]), s("span", {
11395
+ }, null, 8, Ap)) : (D(), o("span", jp, I(e.label.slice(0, 1)), 1))]), s("span", {
11392
11396
  class: "pv-truncate pv-flex-item",
11393
11397
  title: e.label
11394
- }, I(e.label), 9, jp)], 8, Dp)], 8, Ep), (D(!0), o(t, null, A(e.entities, (e) => (D(), o("li", {
11398
+ }, I(e.label), 9, Mp)], 8, Op)], 8, Dp), (D(!0), o(t, null, A(e.entities, (e) => (D(), o("li", {
11395
11399
  key: e.value,
11396
11400
  style: { "padding-left": "0.5rem" },
11397
11401
  "data-active": e.active || void 0
@@ -11404,7 +11408,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11404
11408
  }, [u(Z, { name: "corner-down-right" }), s("span", {
11405
11409
  class: "pv-truncate",
11406
11410
  title: e.label
11407
- }, I(e.label), 9, Pp)], 8, Np)], 8, Mp))), 128))], 64))), 128))])])]),
11411
+ }, I(e.label), 9, Fp)], 8, Pp)], 8, Np))), 128))], 64))), 128))])])]),
11408
11412
  _: 1
11409
11413
  }, 8, [
11410
11414
  "modelValue",
@@ -11426,9 +11430,9 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11426
11430
  }, null, 8, ["left-icon", "aria-label"])]),
11427
11431
  content: K(() => [l(I(Y.value ? "Expand navigation" : "Collapse navigation"), 1)]),
11428
11432
  _: 1
11429
- }))], 2)]), s("div", Fp, [
11430
- L(m) ? (D(), o("div", Ip, [j(n.$slots, "sidebar-additional-content")])) : a("", !0),
11431
- e.navItems && e.navItems.length ? (D(), o("ul", Lp, [(D(!0), o(t, null, A(e.navItems, (e) => (D(), o("li", { key: e.value }, [H(e) ? (D(), i(nr, {
11433
+ }))], 2)]), s("div", Ip, [
11434
+ L(m) ? (D(), o("div", Lp, [j(n.$slots, "sidebar-additional-content")])) : a("", !0),
11435
+ e.navItems && e.navItems.length ? (D(), o("ul", Rp, [(D(!0), o(t, null, A(e.navItems, (e) => (D(), o("li", { key: e.value }, [H(e) ? (D(), i(nr, {
11432
11436
  key: 0,
11433
11437
  modelValue: O.value[e.value],
11434
11438
  "onUpdate:modelValue": (t) => O.value[e.value] = t,
@@ -11458,7 +11462,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11458
11462
  key: 0,
11459
11463
  name: e.icon,
11460
11464
  class: "pv-nav-icon"
11461
- }, null, 8, ["name"])) : a("", !0), s("span", Rp, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span", zp, I(e.badge.toUpperCase()), 1)) : a("", !0)])]),
11465
+ }, null, 8, ["name"])) : a("", !0), s("span", zp, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span", Bp, I(e.badge.toUpperCase()), 1)) : a("", !0)])]),
11462
11466
  _: 2
11463
11467
  }, 1040, [
11464
11468
  "href",
@@ -11475,7 +11479,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11475
11479
  class: "pv-sidebar-hover-panel",
11476
11480
  onClick: (t) => ie(t, e.value),
11477
11481
  onKeydown: (t) => q(t, e.value)
11478
- }, [j(n.$slots, e.hoverPanelSlot)], 40, Bp)]),
11482
+ }, [j(n.$slots, e.hoverPanelSlot)], 40, Vp)]),
11479
11483
  _: 2
11480
11484
  }, 1032, [
11481
11485
  "modelValue",
@@ -11504,8 +11508,8 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11504
11508
  key: 0,
11505
11509
  name: e.icon,
11506
11510
  class: "pv-nav-icon"
11507
- }, null, 8, ["name"])) : a("", !0), s("span", Hp, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span", Up, I(e.badge.toUpperCase()), 1)) : a("", !0)])], 16, Vp)]),
11508
- content: K(() => [s("div", Wp, [s("ul", Gp, [s("li", { "data-active": e.active || void 0 }, [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span", Jp, I(e.badge.toUpperCase()), 1)) : a("", !0)], 16, qp)], 8, Kp)])])]),
11511
+ }, null, 8, ["name"])) : a("", !0), s("span", Up, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span", Wp, I(e.badge.toUpperCase()), 1)) : a("", !0)])], 16, Hp)]),
11512
+ content: K(() => [s("div", Gp, [s("ul", Kp, [s("li", { "data-active": e.active || void 0 }, [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span", Yp, I(e.badge.toUpperCase()), 1)) : a("", !0)], 16, Jp)], 8, qp)])])]),
11509
11513
  _: 2
11510
11514
  }, 1032, [
11511
11515
  "use-teleport",
@@ -11538,14 +11542,14 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11538
11542
  key: 0,
11539
11543
  name: e.icon,
11540
11544
  class: "pv-nav-icon"
11541
- }, null, 8, ["name"])) : a("", !0), s("span", Xp, I(e.label), 1)], 40, Yp)]),
11542
- default: K(() => [s("div", Zp, [(D(!0), o(t, null, A(e.children, (e) => (D(), o("a", _({
11545
+ }, null, 8, ["name"])) : a("", !0), s("span", Zp, I(e.label), 1)], 40, Xp)]),
11546
+ default: K(() => [s("div", Qp, [(D(!0), o(t, null, A(e.children, (e) => (D(), o("a", _({
11543
11547
  key: e.value,
11544
11548
  href: e.url
11545
11549
  }, { ref_for: !0 }, e.linkAttrs, {
11546
11550
  "aria-current": e.active ? "page" : void 0,
11547
11551
  title: e.label
11548
- }), [s("span", $p, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span", em, I(e.badge.toUpperCase()), 1)) : a("", !0)])], 16, Qp))), 128))])]),
11552
+ }), [s("span", em, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span", tm, I(e.badge.toUpperCase()), 1)) : a("", !0)])], 16, $p))), 128))])]),
11549
11553
  _: 2
11550
11554
  }, 1032, [
11551
11555
  "modelValue",
@@ -11553,17 +11557,17 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11553
11557
  "default-open",
11554
11558
  "summary-attrs"
11555
11559
  ])]),
11556
- content: K(() => [s("div", tm, [s("ul", nm, [(D(!0), o(t, null, A(e.children, (e) => (D(), o("li", {
11560
+ content: K(() => [s("div", nm, [s("ul", rm, [(D(!0), o(t, null, A(e.children, (e) => (D(), o("li", {
11557
11561
  key: e.value,
11558
11562
  "data-active": e.active || void 0
11559
- }, [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span", am, I(e.badge.toUpperCase()), 1)) : a("", !0)], 16, im)], 8, rm))), 128))])])]),
11563
+ }, [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span", om, I(e.badge.toUpperCase()), 1)) : a("", !0)], 16, am)], 8, im))), 128))])])]),
11560
11564
  _: 2
11561
11565
  }, 1032, [
11562
11566
  "use-teleport",
11563
11567
  "teleport-location",
11564
11568
  "disabled"
11565
11569
  ]))]))), 128))])) : a("", !0),
11566
- s("div", om, [L(g) ? (D(), i(nr, {
11570
+ s("div", sm, [L(g) ? (D(), i(nr, {
11567
11571
  key: 0,
11568
11572
  modelValue: fe.value,
11569
11573
  "onUpdate:modelValue": r[1] ||= (e) => fe.value = e,
@@ -11585,8 +11589,8 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11585
11589
  }, [u(Z, {
11586
11590
  name: "help-circle",
11587
11591
  class: "pv-icon-20 pv-nav-icon"
11588
- }), r[3] ||= s("span", { "data-sidebar-expanded-content": "" }, "Help", -1)], 8, sm)]),
11589
- content: K(() => [s("div", cm, [j(n.$slots, "sidebar-help-content")])]),
11592
+ }), r[3] ||= s("span", { "data-sidebar-expanded-content": "" }, "Help", -1)], 8, cm)]),
11593
+ content: K(() => [s("div", lm, [j(n.$slots, "sidebar-help-content")])]),
11590
11594
  _: 3
11591
11595
  }, 8, [
11592
11596
  "modelValue",
@@ -11611,12 +11615,12 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11611
11615
  "aria-label": e.profile.name,
11612
11616
  "aria-expanded": X.value,
11613
11617
  title: e.profile.name
11614
- }, [s("span", um, [e.profile.avatarUrl ? (D(), o("img", {
11618
+ }, [s("span", dm, [e.profile.avatarUrl ? (D(), o("img", {
11615
11619
  key: 0,
11616
11620
  src: e.profile.avatarUrl,
11617
11621
  alt: ""
11618
- }, null, 8, dm)) : (D(), o("span", fm, I(e.profile.name.slice(0, 1)), 1))]), s("span", pm, I(e.profile.name), 1)], 8, lm)]),
11619
- content: K(() => [s("div", mm, [j(n.$slots, "sidebar-profile-content")])]),
11622
+ }, null, 8, fm)) : (D(), o("span", pm, I(e.profile.name.slice(0, 1)), 1))]), s("span", mm, I(e.profile.name), 1)], 8, um)]),
11623
+ content: K(() => [s("div", hm, [j(n.$slots, "sidebar-profile-content")])]),
11620
11624
  _: 3
11621
11625
  }, 8, [
11622
11626
  "modelValue",
@@ -11625,7 +11629,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11625
11629
  "teleport-location"
11626
11630
  ])) : a("", !0)])
11627
11631
  ])], 512),
11628
- s("div", hm, [j(n.$slots, "default")]),
11632
+ s("div", gm, [j(n.$slots, "default")]),
11629
11633
  s("div", {
11630
11634
  ref_key: "popoverTeleportTarget",
11631
11635
  ref: T,
@@ -11633,11 +11637,11 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11633
11637
  }, null, 512)
11634
11638
  ], 38));
11635
11639
  }
11636
- }), vm = {
11640
+ }), ym = {
11637
11641
  class: "pv-toc",
11638
11642
  role: "list",
11639
11643
  style: { "min-width": "160px" }
11640
- }, ym = ["aria-current"], bm = ["href", "onClick"], xm = /* @__PURE__ */ d({
11644
+ }, bm = ["aria-current"], xm = ["href", "onClick"], Sm = /* @__PURE__ */ d({
11641
11645
  __name: "PvTableOfContents",
11642
11646
  props: /* @__PURE__ */ g({ items: {} }, {
11643
11647
  modelValue: { required: !1 },
@@ -11648,7 +11652,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11648
11652
  let r = z(e, "modelValue"), c = n, u = (e, t) => {
11649
11653
  t.href || e.preventDefault(), r.value = t.id, c("handle-select", t);
11650
11654
  };
11651
- return (n, c) => (D(), o("ul", vm, [(D(!0), o(t, null, A(e.items, (e) => (D(), o("li", {
11655
+ return (n, c) => (D(), o("ul", ym, [(D(!0), o(t, null, A(e.items, (e) => (D(), o("li", {
11652
11656
  key: e.id,
11653
11657
  "aria-current": r.value === e.id ? "true" : void 0
11654
11658
  }, [s("a", {
@@ -11657,9 +11661,9 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11657
11661
  }, [e.icon ? (D(), i(Z, {
11658
11662
  key: 0,
11659
11663
  name: e.icon
11660
- }, null, 8, ["name"])) : a("", !0), l(" " + I(e.label), 1)], 8, bm)], 8, ym))), 128))]));
11664
+ }, null, 8, ["name"])) : a("", !0), l(" " + I(e.label), 1)], 8, xm)], 8, bm))), 128))]));
11661
11665
  }
11662
- }), Sm = ["data-clickable", "onClick"], Cm = ["data-clickable", "onClick"], wm = ["data-clickable", "onClick"], Tm = /* @__PURE__ */ d({
11666
+ }), Cm = ["data-clickable", "onClick"], wm = ["data-clickable", "onClick"], Tm = ["data-clickable", "onClick"], Em = /* @__PURE__ */ d({
11663
11667
  __name: "PvStepper",
11664
11668
  props: {
11665
11669
  variant: { default: "dots" },
@@ -11741,12 +11745,12 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11741
11745
  variant: r === e.active ? "primary" : "tertiary",
11742
11746
  value: r + 1,
11743
11747
  rounded: ""
11744
- }, null, 8, ["variant", "value"])) : a("", !0), s("span", null, I(t.label), 1)], 14, Sm))), 128)) : e.variant === "dots" ? (D(!0), o(t, { key: 1 }, A(e.count, (t, r) => (D(), o("div", {
11748
+ }, null, 8, ["variant", "value"])) : a("", !0), s("span", null, I(t.label), 1)], 14, Cm))), 128)) : e.variant === "dots" ? (D(!0), o(t, { key: 1 }, A(e.count, (t, r) => (D(), o("div", {
11745
11749
  key: r,
11746
11750
  "data-clickable": e.clickable,
11747
11751
  class: y(r === e.active ? "pv-stepper-active" : "pv-stepper-inactive"),
11748
11752
  onClick: (t) => e.clickable && n.$emit("update:active", r)
11749
- }, null, 10, Cm))), 128)) : (D(!0), o(t, { key: 2 }, A(e.items, (t, r) => (D(), o("div", {
11753
+ }, null, 10, wm))), 128)) : (D(!0), o(t, { key: 2 }, A(e.items, (t, r) => (D(), o("div", {
11750
11754
  key: r,
11751
11755
  class: y(["pv-flex pv-full-width", [{ "pv-flex-item": r === c.value - 1 }]]),
11752
11756
  style: { "--flex-gap": "0.25rem" }
@@ -11761,12 +11765,61 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11761
11765
  }, [u(Z, {
11762
11766
  name: p[t.variant ?? "current"],
11763
11767
  class: y(f[t.variant ?? "current"].icon)
11764
- }, null, 8, ["name", "class"]), s("span", { class: y(["pv-text-body-md", f[t.variant ?? "current"].text]) }, I(t.label), 3)], 12, wm), r < c.value - 1 ? (D(), o("div", {
11768
+ }, null, 8, ["name", "class"]), s("span", { class: y(["pv-text-body-md", f[t.variant ?? "current"].text]) }, I(t.label), 3)], 12, Tm), r < c.value - 1 ? (D(), o("div", {
11765
11769
  key: 0,
11766
11770
  class: y(["pv-stepper-progress-divider", m[t.variant ?? "current"]])
11767
11771
  }, null, 2)) : a("", !0)], 2))), 128))], 4));
11768
11772
  }
11769
- }), Em = { theme: {
11773
+ }), Dm = {
11774
+ class: "pv-flex-vertical pv-flow",
11775
+ style: {
11776
+ "--flow-size": "1.5rem",
11777
+ "--flex-gap": "0"
11778
+ }
11779
+ }, Om = ["src", "alt"], km = { class: "pv-flex-vertical" }, Am = {
11780
+ key: 0,
11781
+ class: "pv-heading-2"
11782
+ }, jm = {
11783
+ key: 1,
11784
+ class: "pv-text-body-md pv-text-subdued"
11785
+ }, Mm = {
11786
+ key: 1,
11787
+ class: "pv-flex-vertical"
11788
+ }, Nm = /* @__PURE__ */ d({
11789
+ __name: "PvEmptyState",
11790
+ props: {
11791
+ alt: {},
11792
+ description: {},
11793
+ header: {},
11794
+ primaryLabel: {},
11795
+ secondaryLabel: {},
11796
+ src: {}
11797
+ },
11798
+ emits: ["handle-primary-click", "handle-secondary-click"],
11799
+ setup(e) {
11800
+ return (t, n) => (D(), o("div", Dm, [
11801
+ e.src ? (D(), o("img", {
11802
+ key: 0,
11803
+ src: e.src,
11804
+ alt: e.alt ?? ""
11805
+ }, null, 8, Om)) : a("", !0),
11806
+ s("div", km, [e.header ? (D(), o("h2", Am, I(e.header), 1)) : a("", !0), e.description ? (D(), o("span", jm, I(e.description), 1)) : a("", !0)]),
11807
+ e.primaryLabel || e.secondaryLabel ? (D(), o("div", Mm, [e.primaryLabel ? (D(), i($, {
11808
+ key: 0,
11809
+ variant: "primary",
11810
+ size: "xl",
11811
+ label: e.primaryLabel,
11812
+ onClick: n[0] ||= (e) => t.$emit("handle-primary-click")
11813
+ }, null, 8, ["label"])) : a("", !0), e.secondaryLabel ? (D(), i($, {
11814
+ key: 1,
11815
+ variant: "ghost",
11816
+ size: "xl",
11817
+ label: e.secondaryLabel,
11818
+ onClick: n[1] ||= (e) => t.$emit("handle-secondary-click")
11819
+ }, null, 8, ["label"])) : a("", !0)])) : a("", !0)
11820
+ ]));
11821
+ }
11822
+ }), Pm = { theme: {
11770
11823
  preset: Te,
11771
11824
  options: {
11772
11825
  darkModeSelector: "none",
@@ -11775,15 +11828,15 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11775
11828
  order: "pit-viper-v2, primevue"
11776
11829
  }
11777
11830
  }
11778
- } }, Dm = (e) => {
11779
- e.use(we, Em);
11780
- }, Om = Symbol.for("pv.rum-context"), km = () => {
11781
- let e = m(Om, void 0);
11831
+ } }, Fm = (e) => {
11832
+ e.use(we, Pm);
11833
+ }, Im = Symbol.for("pv.rum-context"), Lm = () => {
11834
+ let e = m(Im, void 0);
11782
11835
  return () => {
11783
11836
  let t = e?.value;
11784
11837
  return typeof t == "string" ? { consumer: t } : t ?? {};
11785
11838
  };
11786
- }, Am = (e, t = {}, n = {}) => {
11839
+ }, Rm = (e, t = {}, n = {}) => {
11787
11840
  try {
11788
11841
  if (n.enabled === !1 || typeof window > "u" || !window.DD_RUM?.addAction) return;
11789
11842
  let r = n.consumer == null ? t : {
@@ -11792,7 +11845,7 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11792
11845
  };
11793
11846
  window.DD_RUM.addAction(e, r);
11794
11847
  } catch {}
11795
- }, jm = (e) => {
11848
+ }, zm = (e) => {
11796
11849
  queueMicrotask(() => {
11797
11850
  try {
11798
11851
  e();
@@ -11800,6 +11853,6 @@ var bf = ["aria-label"], xf = { class: "pv-filter-panel-header pv-flex pv-border
11800
11853
  });
11801
11854
  };
11802
11855
  //#endregion
11803
- export { ki as ContextCardEnum, ai as PvAccordion, bc as PvActionBar, or as PvActionButton, lr as PvAiButton, Ka as PvAvatar, Es as PvAvatarGroup, Yr as PvBanner, Va as PvBreadcrumbs, $ as PvButton, mr as PvButtonWithTooltip, lc as PvCard, Ms as PvCheckbox, Fi as PvCompanyLabel, Lr as PvCompanyLogo, ei as PvCompanyTag, ia as PvContextFeedback, Ca as PvContextSurface, Ni as PvContextSurfaceKey, He as PvCounterBadge, _i as PvDatePicker, yi as PvDateTime, tl as PvDistributionBar, Oi as PvDrawer, Dr as PvDropdown, $r as PvEmptyErrorState, vc as PvExpandableContent, Xs as PvFileInput, Zf as PvFilterModal, Pf as PvFilterPanel, Ma as PvGhostInput, Cs as PvHeader, cd as PvHorizontalScroller, tp as PvHoverActionMenu, Z as PvIcon, Us as PvInput, _c as PvInsightCard, Ko as PvMenu, Ro as PvMenuItem, Ur as PvModal, es as PvMultiSelectButton, us as PvPagination, xr as PvPill, wr as PvPopover, kr as PvPopoverMenu, nr as PvPopoverV2, el as PvProgressBar, up as PvQueryBuilderInput, Is as PvRadioGroup, vl as PvRange, $s as PvRating, vr as PvReleaseBadge, ui as PvSearchInput, Ar as PvSegmentedControl, rs as PvSelectButton, ps as PvSelectableCard, vs as PvSidePanel, mp as PvSidebar, _m as PvSidebarV2, Rs as PvSkeleton, ua as PvSpinesContextCard, ma as PvSpinesContextDrawer, ka as PvSpinesEntityFields, Ne as PvSpinner, _r as PvSplitButton, Ls as PvSprite, Tm as PvStepper, ri as PvSuggestionTag, vo as PvSwitch, Pr as PvTabList, xm as PvTableOfContents, Ra as PvTabs, br as PvTag, Gi as PvTextArea, Zi as PvToast, Yi as PvToggleButton, As as PvToggleGroup, fr as PvTooltip, ir as PvTooltipV2, Jc as PvTree, Yc as PvTreeGroup, uc as PvWidget, Om as RumContextKey, Am as addRumAction, df as createPvFilterStore, jm as deferRumTask, ff as providePvFilterStore, vi as useDateTime, pf as useOptionalPvFilterStore, Dm as usePvComponents, mf as usePvFilterStore, km as useRumContext };
11856
+ export { ki as ContextCardEnum, ai as PvAccordion, xc as PvActionBar, or as PvActionButton, lr as PvAiButton, qa as PvAvatar, Ds as PvAvatarGroup, Yr as PvBanner, Ha as PvBreadcrumbs, $ as PvButton, mr as PvButtonWithTooltip, uc as PvCard, Ns as PvCheckbox, Fi as PvCompanyLabel, Lr as PvCompanyLogo, ei as PvCompanyTag, ia as PvContextFeedback, Ca as PvContextSurface, Ni as PvContextSurfaceKey, He as PvCounterBadge, _i as PvDatePicker, yi as PvDateTime, nl as PvDistributionBar, Oi as PvDrawer, Dr as PvDropdown, $r as PvEmptyErrorState, Nm as PvEmptyState, yc as PvExpandableContent, Zs as PvFileInput, Qf as PvFilterModal, Ff as PvFilterPanel, Ma as PvGhostInput, ws as PvHeader, ld as PvHorizontalScroller, np as PvHoverActionMenu, Z as PvIcon, Ws as PvInput, vc as PvInsightCard, qo as PvMenu, zo as PvMenuItem, Ur as PvModal, ts as PvMultiSelectButton, ds as PvPagination, xr as PvPill, wr as PvPopover, kr as PvPopoverMenu, nr as PvPopoverV2, tl as PvProgressBar, dp as PvQueryBuilderInput, Ls as PvRadioGroup, yl as PvRange, ec as PvRating, vr as PvReleaseBadge, ui as PvSearchInput, Ar as PvSegmentedControl, is as PvSelectButton, ms as PvSelectableCard, ys as PvSidePanel, hp as PvSidebar, vm as PvSidebarV2, zs as PvSkeleton, ua as PvSpinesContextCard, ma as PvSpinesContextDrawer, ka as PvSpinesEntityFields, Ne as PvSpinner, _r as PvSplitButton, Rs as PvSprite, Em as PvStepper, ri as PvSuggestionTag, yo as PvSwitch, Pr as PvTabList, Sm as PvTableOfContents, Ra as PvTabs, br as PvTag, Gi as PvTextArea, Zi as PvToast, Yi as PvToggleButton, js as PvToggleGroup, fr as PvTooltip, ir as PvTooltipV2, Yc as PvTree, Xc as PvTreeGroup, dc as PvWidget, Im as RumContextKey, Rm as addRumAction, ff as createPvFilterStore, zm as deferRumTask, pf as providePvFilterStore, vi as useDateTime, mf as useOptionalPvFilterStore, Fm as usePvComponents, hf as usePvFilterStore, Lm as useRumContext };
11804
11857
 
11805
11858
  //# sourceMappingURL=pv-components-base.mjs.map