@turquoisehealth/pit-viper 2.209.2 → 2.210.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/package.json +1 -1
  2. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  3. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  4. package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  17. package/pv-components/dist/vue/base/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -0
  18. package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +8 -0
  19. package/pv-components/dist/vue/base/pv-components-base.mjs +49 -34
  20. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  21. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/PvPopoverV2.vue.d.ts +1 -0
  22. package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +8 -0
  23. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +49 -34
  24. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  25. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +66 -48
  26. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +164 -147
  27. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +687 -669
  28. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +689 -671
  29. package/pv-components/dist/web/components/pv-menu/pv-menu.js +678 -660
  30. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +216 -198
  31. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +411 -394
  32. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +51 -33
  33. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +64 -46
  34. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +66 -48
  35. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +576 -559
  36. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +497 -479
  37. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +321 -303
  38. package/pv-components/dist/web/pv-components.iife.js +16 -16
  39. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -2659,7 +2659,7 @@ function za(e, t = {}) {
2659
2659
  }
2660
2660
  //#endregion
2661
2661
  //#region src/components/base/PvPopoverV2/PvPopoverV2.vue?vue&type=script&setup=true&lang.ts
2662
- var Ba = ["popover"], Va = 0, Ha = /* @__PURE__ */ br(/* @__PURE__ */ f({
2662
+ var Ba = ["popover"], Va = "--pv-popover-v2-anchor", Ha = /* @__PURE__ */ br(/* @__PURE__ */ f({
2663
2663
  __name: "PvPopoverV2",
2664
2664
  props: /* @__PURE__ */ y({
2665
2665
  disableAutoPlacement: {
@@ -2694,6 +2694,10 @@ var Ba = ["popover"], Va = 0, Ha = /* @__PURE__ */ br(/* @__PURE__ */ f({
2694
2694
  default: 25,
2695
2695
  type: Number
2696
2696
  },
2697
+ closeDelay: {
2698
+ default: 200,
2699
+ type: Number
2700
+ },
2697
2701
  zIndex: {
2698
2702
  default: 10,
2699
2703
  type: Number
@@ -2714,8 +2718,9 @@ var Ba = ["popover"], Va = 0, Ha = /* @__PURE__ */ br(/* @__PURE__ */ f({
2714
2718
  "anchor-name: --pv-anchor",
2715
2719
  "position-area: bottom",
2716
2720
  "position-try-fallbacks: flip-block",
2717
- "position-visibility: anchors-visible"
2718
- ].every((e) => CSS.supports(e)), g = j(!1), _ = j(null), v = j(null), y = j(null), b = j(null), S = j(""), C = nt(v), T = nt(b), E = j(!1), O = {
2721
+ "position-visibility: anchors-visible",
2722
+ `anchor-scope: ${Va}`
2723
+ ].every((e) => CSS.supports(e)), g = j(!1), _ = j(null), v = j(null), y = j(null), b = j(null), S = nt(v), C = nt(b), T = j(!1), E = {
2719
2724
  "top-center": "top",
2720
2725
  "bottom-center": "bottom",
2721
2726
  "center-left": "left",
@@ -2724,7 +2729,7 @@ var Ba = ["popover"], Va = 0, Ha = /* @__PURE__ */ br(/* @__PURE__ */ f({
2724
2729
  "top-right": "top-end",
2725
2730
  "bottom-left": "bottom-start",
2726
2731
  "bottom-right": "bottom-end"
2727
- }, A = {
2732
+ }, O = {
2728
2733
  "top-center": {
2729
2734
  area: "top",
2730
2735
  margin: "margin-block-end"
@@ -2757,10 +2762,10 @@ var Ba = ["popover"], Va = 0, Ha = /* @__PURE__ */ br(/* @__PURE__ */ f({
2757
2762
  area: "bottom span-left",
2758
2763
  margin: "margin-block-start"
2759
2764
  }
2760
- }, te = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), ne = r(() => h ? { "anchor-name": S.value } : void 0), ie = r(() => {
2761
- let e = A[t.position];
2765
+ }, A = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), te = r(() => h ? { "anchor-scope": Va } : void 0), ne = r(() => h ? { "anchor-name": Va } : void 0), ie = r(() => {
2766
+ let e = O[t.position];
2762
2767
  return {
2763
- "position-anchor": S.value,
2768
+ "position-anchor": Va,
2764
2769
  "position-area": e.area,
2765
2770
  "position-try-fallbacks": t.disableAutoPlacement ? void 0 : "flip-block, flip-inline, flip-block flip-inline",
2766
2771
  [e.margin]: `${t.offset ?? 0}px`
@@ -2770,7 +2775,7 @@ var Ba = ["popover"], Va = 0, Ha = /* @__PURE__ */ br(/* @__PURE__ */ f({
2770
2775
  let e = [];
2771
2776
  t.disableAutoPlacement || e.push(wa({ fallbackStrategy: "initialPlacement" })), t.offset && e.push(Ca(t.offset));
2772
2777
  let n = Fa(y, b, {
2773
- placement: O[t.position],
2778
+ placement: E[t.position],
2774
2779
  strategy: t.positioningStrategy,
2775
2780
  middleware: e
2776
2781
  });
@@ -2784,7 +2789,7 @@ var Ba = ["popover"], Va = 0, Ha = /* @__PURE__ */ br(/* @__PURE__ */ f({
2784
2789
  i.width,
2785
2790
  i.height
2786
2791
  ], a), qe(_, () => {
2787
- t.disableClickOutsideToClose || ce(!1);
2792
+ t.disableClickOutsideToClose || de(!1);
2788
2793
  }, { ignore: r(() => [
2789
2794
  b.value,
2790
2795
  ".p-datepicker-panel",
@@ -2794,55 +2799,67 @@ var Ba = ["popover"], Va = 0, Ha = /* @__PURE__ */ br(/* @__PURE__ */ f({
2794
2799
  let N = r(() => ({
2795
2800
  ...M(),
2796
2801
  zIndex: t.zIndex
2797
- })), oe, P = () => {
2802
+ })), oe, P, ce = () => {
2798
2803
  oe && clearTimeout(oe), oe = void 0;
2799
- }, ce = (e) => {
2800
- P(), !(e && !p.value) && (e && t.delay > 0 && (t.showOnHover || !h) ? oe = setTimeout(() => {
2804
+ }, ue = () => {
2805
+ P && clearTimeout(P), P = void 0;
2806
+ }, de = (e) => {
2807
+ ce(), ue(), !(e && !p.value) && (e && t.delay > 0 && (t.showOnHover || !h) ? oe = setTimeout(() => {
2801
2808
  c.value = !0, oe = void 0;
2802
2809
  }, t.delay) : c.value = e);
2803
- }, ue = () => {
2810
+ }, fe = () => {
2804
2811
  let e = b.value;
2805
2812
  !e || !g.value || !p.value || (c.value ? e.showPopover() : e.hidePopover());
2806
- }, de = r(() => t.showOnHover ? t.disableInteractive ? C.value || E.value : C.value || T.value || E.value : !1), fe = () => {
2807
- t.showOnHover || ce(oe ? !1 : !c.value);
2808
- }, pe = (e) => {
2813
+ }, pe = r(() => t.showOnHover ? t.disableInteractive ? S.value || T.value : S.value || C.value || T.value : !1), he = () => {
2814
+ t.showOnHover || de(oe ? !1 : !c.value);
2815
+ }, ge = (e) => {
2809
2816
  let t = e.newState === "open";
2810
2817
  c.value !== t && (c.value = t);
2811
- }, he = (e) => {
2812
- h && te.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), ce(!1));
2818
+ }, ve = (e) => {
2819
+ h && A.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), de(!1));
2813
2820
  };
2814
2821
  return F(c, async (e) => {
2815
2822
  if (!h) {
2816
2823
  e && ae();
2817
2824
  return;
2818
2825
  }
2819
- await x(), ue();
2820
- }), F(de, (e) => {
2821
- t.showOnHover && ce(e);
2826
+ await x(), fe();
2827
+ }), F(pe, (e) => {
2828
+ if (t.showOnHover) {
2829
+ if (e) {
2830
+ de(!0);
2831
+ return;
2832
+ }
2833
+ ce(), t.closeDelay > 0 ? (ue(), P = setTimeout(() => {
2834
+ P = void 0, pe.value || de(!1);
2835
+ }, t.closeDelay)) : de(!1);
2836
+ }
2822
2837
  }), F(p, (e) => {
2823
- e ? h && c.value && x(ue) : (P(), c.value = !1);
2838
+ e ? h && c.value && x(fe) : (ce(), ue(), c.value = !1);
2824
2839
  }), D(() => {
2825
- y.value = v.value, h && (S.value = `--pv-popover-v2-${++Va}`), g.value = !0, c.value && x(() => h ? ue() : ae());
2826
- }), ee(P), (r, l) => (k(), o("div", {
2840
+ y.value = v.value, g.value = !0, c.value && x(() => h ? fe() : ae());
2841
+ }), ee(() => {
2842
+ ce(), ue();
2843
+ }), (r, l) => (k(), o("div", {
2827
2844
  ref_key: "root",
2828
2845
  ref: _,
2829
- style: { width: "fit-content" },
2830
- onKeydown: he
2846
+ style: w([{ width: "fit-content" }, te.value]),
2847
+ onKeydown: ve
2831
2848
  }, [s("div", {
2832
2849
  ref_key: "triggerWrapper",
2833
2850
  ref: v,
2834
2851
  style: w(ne.value),
2835
- onClick: fe,
2836
- onFocusin: l[0] ||= (e) => E.value = !0,
2837
- onFocusout: l[1] ||= (e) => E.value = !1
2852
+ onClick: he,
2853
+ onFocusin: l[0] ||= (e) => T.value = !0,
2854
+ onFocusout: l[1] ||= (e) => T.value = !1
2838
2855
  }, [re(r.$slots, "trigger")], 36), g.value && se(h) && p.value ? (k(), o("div", {
2839
2856
  key: 0,
2840
2857
  ref_key: "floating",
2841
2858
  ref: b,
2842
2859
  class: "pv-floating pv-floating-native",
2843
- popover: te.value,
2860
+ popover: A.value,
2844
2861
  style: w(ie.value),
2845
- onToggle: pe
2862
+ onToggle: ge
2846
2863
  }, [re(r.$slots, "content")], 44, Ba)) : p.value ? (k(), i(n, {
2847
2864
  key: 1,
2848
2865
  to: e.teleportLocation,
@@ -2852,9 +2869,9 @@ var Ba = ["popover"], Va = 0, Ha = /* @__PURE__ */ br(/* @__PURE__ */ f({
2852
2869
  ref: b,
2853
2870
  class: "pv-floating",
2854
2871
  style: w(N.value)
2855
- }, [re(r.$slots, "content")], 4), [[me, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 544));
2872
+ }, [re(r.$slots, "content")], 4), [[me, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
2856
2873
  }
2857
- }), [["styles", [".pv-floating-native[data-v-146d33b3]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-146d33b3]>.pv-popover,.pv-floating-native>slot[name=content][data-v-146d33b3]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-146d33b3"]]), Ua = ["data-variant"], Wa = /* @__PURE__ */ f({
2874
+ }), [["styles", [".pv-floating-native[data-v-08e2d92a]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-08e2d92a]>.pv-popover,.pv-floating-native>slot[name=content][data-v-08e2d92a]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-08e2d92a"]]), Ua = ["data-variant"], Wa = /* @__PURE__ */ f({
2858
2875
  __name: "PvTooltipV2",
2859
2876
  props: {
2860
2877
  variant: {
@@ -2887,6 +2904,7 @@ var Ba = ["popover"], Va = 0, Ha = /* @__PURE__ */ br(/* @__PURE__ */ f({
2887
2904
  default: 0,
2888
2905
  type: Number
2889
2906
  },
2907
+ closeDelay: { type: Number },
2890
2908
  zIndex: { type: Number },
2891
2909
  teleportLocation: { type: String },
2892
2910
  offset: { type: Number },
@@ -1,5 +1,5 @@
1
1
  import * as e from "vue";
2
- import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, defineCustomElement as f, getCurrentInstance as p, getCurrentScope as m, guardReactiveProps as h, mergeModels as g, nextTick as _, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as x, onBeforeUpdate as S, onMounted as C, onScopeDispose as w, onUnmounted as T, openBlock as E, reactive as ee, readonly as te, ref as D, renderList as O, renderSlot as k, shallowRef as A, toDisplayString as j, toValue as M, unref as ne, useModel as re, useSlots as ie, vShow as ae, watch as N, watchEffect as oe, withCtx as P, withDirectives as se } from "vue";
2
+ import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, defineCustomElement as f, getCurrentInstance as p, getCurrentScope as m, guardReactiveProps as h, mergeModels as g, nextTick as _, normalizeClass as v, normalizeProps as y, normalizeStyle as b, onBeforeUnmount as x, onBeforeUpdate as S, onMounted as C, onScopeDispose as w, onUnmounted as T, openBlock as E, reactive as ee, readonly as D, ref as O, renderList as te, renderSlot as k, shallowRef as A, toDisplayString as j, toValue as M, unref as ne, useModel as re, useSlots as ie, vShow as ae, watch as N, watchEffect as oe, withCtx as P, withDirectives as se } from "vue";
3
3
  //#region \0rolldown/runtime.js
4
4
  var ce = Object.defineProperty, le = Object.getOwnPropertyDescriptor, ue = Object.getOwnPropertyNames, de = Object.prototype.hasOwnProperty, fe = (e, t) => {
5
5
  let n = {};
@@ -52,7 +52,7 @@ var ce = Object.defineProperty, le = Object.getOwnPropertyDescriptor, ue = Objec
52
52
  //#endregion
53
53
  //#region src/web-components/utils.ts
54
54
  function ye() {
55
- let e = D(!1), t = p()?.root || {};
55
+ let e = O(!1), t = p()?.root || {};
56
56
  return "isCE" in t && t.isCE === !0 && (e.value = !0), e;
57
57
  }
58
58
  //#endregion
@@ -72,7 +72,7 @@ var be = [
72
72
  size: { type: null }
73
73
  },
74
74
  setup(e) {
75
- let t = e, n = ye(), i = D(null), a = r(() => ({
75
+ let t = e, n = ye(), i = O(null), a = r(() => ({
76
76
  "pv-icon": !0,
77
77
  [`pv-icon-${t.size}`]: t.size != null && be.includes(t.size)
78
78
  })), c = r(() => n.value && i.value ? `${i.value}#${t.name}` : `#${t.name}`);
@@ -1232,11 +1232,11 @@ function Vn(e, t) {
1232
1232
  return n ? t === "default" || t === "" ? n.querySelector("slot:not([name])") : n.querySelector(`slot[name="${CSS.escape(t)}"]`) : null;
1233
1233
  }
1234
1234
  function Hn(e, t = {}) {
1235
- let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = ye(), l = i ?? ie(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = D(d());
1235
+ let { host: n, vueSlots: i, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = ye(), l = i ?? ie(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = O(d());
1236
1236
  S(() => {
1237
1237
  f.value = d();
1238
1238
  });
1239
- let p = D(!1), m = null, h = null, g = () => {
1239
+ let p = O(!1), m = null, h = null, g = () => {
1240
1240
  m &&= (m.disconnect(), null), h &&= (h.removeEventListener("slotchange", _), null);
1241
1241
  }, _ = () => {
1242
1242
  if (!c.value) {
@@ -1281,7 +1281,7 @@ function Hn(e, t = {}) {
1281
1281
  }
1282
1282
  //#endregion
1283
1283
  //#region src/components/base/PvPopoverV2/PvPopoverV2.vue?vue&type=script&setup=true&lang.ts
1284
- var Un = ["popover"], Wn = 0, Gn = /* @__PURE__ */ Te(/* @__PURE__ */ d({
1284
+ var Un = ["popover"], Wn = "--pv-popover-v2-anchor", Gn = /* @__PURE__ */ Te(/* @__PURE__ */ d({
1285
1285
  __name: "PvPopoverV2",
1286
1286
  props: /* @__PURE__ */ g({
1287
1287
  disableAutoPlacement: {
@@ -1316,6 +1316,10 @@ var Un = ["popover"], Wn = 0, Gn = /* @__PURE__ */ Te(/* @__PURE__ */ d({
1316
1316
  default: 25,
1317
1317
  type: Number
1318
1318
  },
1319
+ closeDelay: {
1320
+ default: 200,
1321
+ type: Number
1322
+ },
1319
1323
  zIndex: {
1320
1324
  default: 10,
1321
1325
  type: Number
@@ -1336,8 +1340,9 @@ var Un = ["popover"], Wn = 0, Gn = /* @__PURE__ */ Te(/* @__PURE__ */ d({
1336
1340
  "anchor-name: --pv-anchor",
1337
1341
  "position-area: bottom",
1338
1342
  "position-try-fallbacks: flip-block",
1339
- "position-visibility: anchors-visible"
1340
- ].every((e) => CSS.supports(e)), g = D(!1), v = D(null), y = D(null), x = D(null), S = D(null), w = D(""), ee = Rn(y), te = Rn(S), O = D(!1), A = {
1343
+ "position-visibility: anchors-visible",
1344
+ `anchor-scope: ${Wn}`
1345
+ ].every((e) => CSS.supports(e)), g = O(!1), v = O(null), y = O(null), x = O(null), S = O(null), w = Rn(y), ee = Rn(S), D = O(!1), te = {
1341
1346
  "top-center": "top",
1342
1347
  "bottom-center": "bottom",
1343
1348
  "center-left": "left",
@@ -1346,7 +1351,7 @@ var Un = ["popover"], Wn = 0, Gn = /* @__PURE__ */ Te(/* @__PURE__ */ d({
1346
1351
  "top-right": "top-end",
1347
1352
  "bottom-left": "bottom-start",
1348
1353
  "bottom-right": "bottom-end"
1349
- }, j = {
1354
+ }, A = {
1350
1355
  "top-center": {
1351
1356
  area: "top",
1352
1357
  margin: "margin-block-end"
@@ -1379,10 +1384,10 @@ var Un = ["popover"], Wn = 0, Gn = /* @__PURE__ */ Te(/* @__PURE__ */ d({
1379
1384
  area: "bottom span-left",
1380
1385
  margin: "margin-block-start"
1381
1386
  }
1382
- }, M = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), ie = r(() => h ? { "anchor-name": w.value } : void 0), oe = r(() => {
1383
- let e = j[t.position];
1387
+ }, j = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), M = r(() => h ? { "anchor-scope": Wn } : void 0), ie = r(() => h ? { "anchor-name": Wn } : void 0), oe = r(() => {
1388
+ let e = A[t.position];
1384
1389
  return {
1385
- "position-anchor": w.value,
1390
+ "position-anchor": Wn,
1386
1391
  "position-area": e.area,
1387
1392
  "position-try-fallbacks": t.disableAutoPlacement ? void 0 : "flip-block, flip-inline, flip-block flip-inline",
1388
1393
  [e.margin]: `${t.offset ?? 0}px`
@@ -1392,7 +1397,7 @@ var Un = ["popover"], Wn = 0, Gn = /* @__PURE__ */ Te(/* @__PURE__ */ d({
1392
1397
  let e = [];
1393
1398
  t.disableAutoPlacement || e.push(tn({ fallbackStrategy: "initialPlacement" })), t.offset && e.push(en(t.offset));
1394
1399
  let n = pn(x, S, {
1395
- placement: A[t.position],
1400
+ placement: te[t.position],
1396
1401
  strategy: t.positioningStrategy,
1397
1402
  middleware: e
1398
1403
  });
@@ -1406,7 +1411,7 @@ var Un = ["popover"], Wn = 0, Gn = /* @__PURE__ */ Te(/* @__PURE__ */ d({
1406
1411
  i.width,
1407
1412
  i.height
1408
1413
  ], a), jn(v, () => {
1409
- t.disableClickOutsideToClose || fe(!1);
1414
+ t.disableClickOutsideToClose || me(!1);
1410
1415
  }, { ignore: r(() => [
1411
1416
  S.value,
1412
1417
  ".p-datepicker-panel",
@@ -1416,55 +1421,67 @@ var Un = ["popover"], Wn = 0, Gn = /* @__PURE__ */ Te(/* @__PURE__ */ d({
1416
1421
  let le = r(() => ({
1417
1422
  ...ce(),
1418
1423
  zIndex: t.zIndex
1419
- })), ue, de = () => {
1424
+ })), ue, de, fe = () => {
1420
1425
  ue && clearTimeout(ue), ue = void 0;
1421
- }, fe = (e) => {
1422
- de(), !(e && !m.value) && (e && t.delay > 0 && (t.showOnHover || !h) ? ue = setTimeout(() => {
1426
+ }, pe = () => {
1427
+ de && clearTimeout(de), de = void 0;
1428
+ }, me = (e) => {
1429
+ fe(), pe(), !(e && !m.value) && (e && t.delay > 0 && (t.showOnHover || !h) ? ue = setTimeout(() => {
1423
1430
  c.value = !0, ue = void 0;
1424
1431
  }, t.delay) : c.value = e);
1425
- }, pe = () => {
1432
+ }, he = () => {
1426
1433
  let e = S.value;
1427
1434
  !e || !g.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
1428
- }, me = r(() => t.showOnHover ? t.disableInteractive ? ee.value || O.value : ee.value || te.value || O.value : !1), he = () => {
1429
- t.showOnHover || fe(ue ? !1 : !c.value);
1430
- }, ge = (e) => {
1435
+ }, ge = r(() => t.showOnHover ? t.disableInteractive ? w.value || D.value : w.value || ee.value || D.value : !1), _e = () => {
1436
+ t.showOnHover || me(ue ? !1 : !c.value);
1437
+ }, ve = (e) => {
1431
1438
  let t = e.newState === "open";
1432
1439
  c.value !== t && (c.value = t);
1433
- }, _e = (e) => {
1434
- h && M.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), fe(!1));
1440
+ }, ye = (e) => {
1441
+ h && j.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), me(!1));
1435
1442
  };
1436
1443
  return N(c, async (e) => {
1437
1444
  if (!h) {
1438
1445
  e && P();
1439
1446
  return;
1440
1447
  }
1441
- await _(), pe();
1442
- }), N(me, (e) => {
1443
- t.showOnHover && fe(e);
1448
+ await _(), he();
1449
+ }), N(ge, (e) => {
1450
+ if (t.showOnHover) {
1451
+ if (e) {
1452
+ me(!0);
1453
+ return;
1454
+ }
1455
+ fe(), t.closeDelay > 0 ? (pe(), de = setTimeout(() => {
1456
+ de = void 0, ge.value || me(!1);
1457
+ }, t.closeDelay)) : me(!1);
1458
+ }
1444
1459
  }), N(m, (e) => {
1445
- e ? h && c.value && _(pe) : (de(), c.value = !1);
1460
+ e ? h && c.value && _(he) : (fe(), pe(), c.value = !1);
1446
1461
  }), C(() => {
1447
- x.value = y.value, h && (w.value = `--pv-popover-v2-${++Wn}`), g.value = !0, c.value && _(() => h ? pe() : P());
1448
- }), T(de), (r, l) => (E(), o("div", {
1462
+ x.value = y.value, g.value = !0, c.value && _(() => h ? he() : P());
1463
+ }), T(() => {
1464
+ fe(), pe();
1465
+ }), (r, l) => (E(), o("div", {
1449
1466
  ref_key: "root",
1450
1467
  ref: v,
1451
- style: { width: "fit-content" },
1452
- onKeydown: _e
1468
+ style: b([{ width: "fit-content" }, M.value]),
1469
+ onKeydown: ye
1453
1470
  }, [s("div", {
1454
1471
  ref_key: "triggerWrapper",
1455
1472
  ref: y,
1456
1473
  style: b(ie.value),
1457
- onClick: he,
1458
- onFocusin: l[0] ||= (e) => O.value = !0,
1459
- onFocusout: l[1] ||= (e) => O.value = !1
1474
+ onClick: _e,
1475
+ onFocusin: l[0] ||= (e) => D.value = !0,
1476
+ onFocusout: l[1] ||= (e) => D.value = !1
1460
1477
  }, [k(r.$slots, "trigger")], 36), g.value && ne(h) && m.value ? (E(), o("div", {
1461
1478
  key: 0,
1462
1479
  ref_key: "floating",
1463
1480
  ref: S,
1464
1481
  class: "pv-floating pv-floating-native",
1465
- popover: M.value,
1482
+ popover: j.value,
1466
1483
  style: b(oe.value),
1467
- onToggle: ge
1484
+ onToggle: ve
1468
1485
  }, [k(r.$slots, "content")], 44, Un)) : m.value ? (E(), i(n, {
1469
1486
  key: 1,
1470
1487
  to: e.teleportLocation,
@@ -1474,9 +1491,9 @@ var Un = ["popover"], Wn = 0, Gn = /* @__PURE__ */ Te(/* @__PURE__ */ d({
1474
1491
  ref: S,
1475
1492
  class: "pv-floating",
1476
1493
  style: b(le.value)
1477
- }, [k(r.$slots, "content")], 4), [[ae, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 544));
1494
+ }, [k(r.$slots, "content")], 4), [[ae, c.value]])], 8, ["to", "disabled"])) : a("v-if", !0)], 36));
1478
1495
  }
1479
- }), [["styles", [".pv-floating-native[data-v-146d33b3]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-146d33b3]>.pv-popover,.pv-floating-native>slot[name=content][data-v-146d33b3]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-146d33b3"]]), Kn = ["data-variant"], qn = /* @__PURE__ */ d({
1496
+ }), [["styles", [".pv-floating-native[data-v-08e2d92a]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-08e2d92a]>.pv-popover,.pv-floating-native>slot[name=content][data-v-08e2d92a]::slotted(.pv-popover){position:static!important}"]], ["__scopeId", "data-v-08e2d92a"]]), Kn = ["data-variant"], qn = /* @__PURE__ */ d({
1480
1497
  __name: "PvTooltipV2",
1481
1498
  props: {
1482
1499
  variant: {
@@ -1509,6 +1526,7 @@ var Un = ["popover"], Wn = 0, Gn = /* @__PURE__ */ Te(/* @__PURE__ */ d({
1509
1526
  default: 0,
1510
1527
  type: Number
1511
1528
  },
1529
+ closeDelay: { type: Number },
1512
1530
  zIndex: { type: Number },
1513
1531
  teleportLocation: { type: String },
1514
1532
  offset: { type: Number },
@@ -1549,7 +1567,7 @@ var Un = ["popover"], Wn = 0, Gn = /* @__PURE__ */ Te(/* @__PURE__ */ d({
1549
1567
  let n = re(e, "modelValue"), r = (e) => {
1550
1568
  e.disabled || (n.value = e.value);
1551
1569
  };
1552
- return (a, s) => (E(), o("div", { class: v(["pv-segmented-control", { "pv-segmented-control-large": e.size === "xl" }]) }, [(E(!0), o(t, null, O(e.options, (e) => (E(), i(qn, {
1570
+ return (a, s) => (E(), o("div", { class: v(["pv-segmented-control", { "pv-segmented-control-large": e.size === "xl" }]) }, [(E(!0), o(t, null, te(e.options, (e) => (E(), i(qn, {
1553
1571
  key: e.value,
1554
1572
  variant: "dark",
1555
1573
  position: "bottom-right",
@@ -1915,7 +1933,7 @@ var Z = {
1915
1933
  getCommon({ name: e = "", theme: t = {}, params: n, set: r, defaults: i }) {
1916
1934
  let { preset: a, options: o } = t, s, c, l, u, d, f, p;
1917
1935
  if (G(a) && o.transform !== "strict") {
1918
- let { primitive: t, semantic: n, extend: m } = a, h = n || {}, { colorScheme: g } = h, _ = Y(h, ["colorScheme"]), v = m || {}, { colorScheme: y } = v, b = Y(v, ["colorScheme"]), x = g || {}, { dark: S } = x, C = Y(x, ["dark"]), w = y || {}, { dark: T } = w, E = Y(w, ["dark"]), ee = G(t) ? this._toVariables({ primitive: t }, o) : {}, te = G(_) ? this._toVariables({ semantic: _ }, o) : {}, D = G(C) ? this._toVariables({ light: C }, o) : {}, O = G(S) ? this._toVariables({ dark: S }, o) : {}, k = G(b) ? this._toVariables({ semantic: b }, o) : {}, A = G(E) ? this._toVariables({ light: E }, o) : {}, j = G(T) ? this._toVariables({ dark: T }, o) : {}, [M, ne] = [ee.declarations ?? "", ee.tokens], [re, ie] = [te.declarations ?? "", te.tokens || []], [ae, N] = [D.declarations ?? "", D.tokens || []], [oe, P] = [O.declarations ?? "", O.tokens || []], [se, ce] = [k.declarations ?? "", k.tokens || []], [le, ue] = [A.declarations ?? "", A.tokens || []], [de, fe] = [j.declarations ?? "", j.tokens || []];
1936
+ let { primitive: t, semantic: n, extend: m } = a, h = n || {}, { colorScheme: g } = h, _ = Y(h, ["colorScheme"]), v = m || {}, { colorScheme: y } = v, b = Y(v, ["colorScheme"]), x = g || {}, { dark: S } = x, C = Y(x, ["dark"]), w = y || {}, { dark: T } = w, E = Y(w, ["dark"]), ee = G(t) ? this._toVariables({ primitive: t }, o) : {}, D = G(_) ? this._toVariables({ semantic: _ }, o) : {}, O = G(C) ? this._toVariables({ light: C }, o) : {}, te = G(S) ? this._toVariables({ dark: S }, o) : {}, k = G(b) ? this._toVariables({ semantic: b }, o) : {}, A = G(E) ? this._toVariables({ light: E }, o) : {}, j = G(T) ? this._toVariables({ dark: T }, o) : {}, [M, ne] = [ee.declarations ?? "", ee.tokens], [re, ie] = [D.declarations ?? "", D.tokens || []], [ae, N] = [O.declarations ?? "", O.tokens || []], [oe, P] = [te.declarations ?? "", te.tokens || []], [se, ce] = [k.declarations ?? "", k.tokens || []], [le, ue] = [A.declarations ?? "", A.tokens || []], [de, fe] = [j.declarations ?? "", j.tokens || []];
1919
1937
  s = this.transformCSS(e, M, "light", "variable", o, r, i), c = ne, l = `${this.transformCSS(e, `${re}${ae}`, "light", "variable", o, r, i)}${this.transformCSS(e, `${oe}`, "dark", "variable", o, r, i)}`, u = [...new Set([
1920
1938
  ...ie,
1921
1939
  ...N,
@@ -1949,10 +1967,10 @@ var Z = {
1949
1967
  "colorScheme",
1950
1968
  "extend",
1951
1969
  "css"
1952
- ]), h = f || {}, { colorScheme: g } = h, _ = Y(h, ["colorScheme"]), v = d || {}, { dark: y } = v, b = Y(v, ["dark"]), x = g || {}, { dark: S } = x, C = Y(x, ["dark"]), w = G(m) ? this._toVariables({ [r]: J(J({}, m), _) }, n) : {}, T = G(b) ? this._toVariables({ [r]: J(J({}, b), C) }, n) : {}, E = G(y) ? this._toVariables({ [r]: J(J({}, y), S) }, n) : {}, [ee, te] = [w.declarations ?? "", w.tokens || []], [D, O] = [T.declarations ?? "", T.tokens || []], [k, A] = [E.declarations ?? "", E.tokens || []];
1953
- s = `${this.transformCSS(r, `${ee}${D}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, k, "dark", "variable", n, i, a, o)}`, c = [...new Set([
1970
+ ]), h = f || {}, { colorScheme: g } = h, _ = Y(h, ["colorScheme"]), v = d || {}, { dark: y } = v, b = Y(v, ["dark"]), x = g || {}, { dark: S } = x, C = Y(x, ["dark"]), w = G(m) ? this._toVariables({ [r]: J(J({}, m), _) }, n) : {}, T = G(b) ? this._toVariables({ [r]: J(J({}, b), C) }, n) : {}, E = G(y) ? this._toVariables({ [r]: J(J({}, y), S) }, n) : {}, [ee, D] = [w.declarations ?? "", w.tokens || []], [O, te] = [T.declarations ?? "", T.tokens || []], [k, A] = [E.declarations ?? "", E.tokens || []];
1971
+ s = `${this.transformCSS(r, `${ee}${O}`, "light", "variable", n, i, a, o)}${this.transformCSS(r, k, "dark", "variable", n, i, a, o)}`, c = [...new Set([
1972
+ ...D,
1954
1973
  ...te,
1955
- ...O,
1956
1974
  ...A
1957
1975
  ])], l = K(p, { dt: Br });
1958
1976
  }
@@ -2312,7 +2330,7 @@ function Zr(e) {
2312
2330
  }
2313
2331
  var Qr = 0;
2314
2332
  function $r(e) {
2315
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = D(!1), r = D(e), i = D(null), a = _r() ? window.document : void 0, o = t.document, s = o === void 0 ? a : o, c = t.immediate, l = c === void 0 ? !0 : c, u = t.manual, d = u === void 0 ? !1 : u, f = t.name, p = f === void 0 ? `style_${++Qr}` : f, m = t.id, h = m === void 0 ? void 0 : m, g = t.media, _ = g === void 0 ? void 0 : g, v = t.nonce, y = v === void 0 ? void 0 : v, b = t.first, x = b === void 0 ? !1 : b, S = t.onMounted, C = S === void 0 ? void 0 : S, w = t.onUpdated, T = w === void 0 ? void 0 : w, E = t.onLoad, ee = E === void 0 ? void 0 : E, O = t.props, k = O === void 0 ? {} : O, A = function() {}, j = function(t) {
2333
+ var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = O(!1), r = O(e), i = O(null), a = _r() ? window.document : void 0, o = t.document, s = o === void 0 ? a : o, c = t.immediate, l = c === void 0 ? !0 : c, u = t.manual, d = u === void 0 ? !1 : u, f = t.name, p = f === void 0 ? `style_${++Qr}` : f, m = t.id, h = m === void 0 ? void 0 : m, g = t.media, _ = g === void 0 ? void 0 : g, v = t.nonce, y = v === void 0 ? void 0 : v, b = t.first, x = b === void 0 ? !1 : b, S = t.onMounted, C = S === void 0 ? void 0 : S, w = t.onUpdated, T = w === void 0 ? void 0 : w, E = t.onLoad, ee = E === void 0 ? void 0 : E, te = t.props, k = te === void 0 ? {} : te, A = function() {}, j = function(t) {
2316
2334
  var a = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2317
2335
  if (s) {
2318
2336
  var o = qr(qr({}, k), a), c = o.name || p, l = o.id || h, u = o.nonce || y;
@@ -2337,7 +2355,7 @@ function $r(e) {
2337
2355
  !s || !n.value || (A(), mr(i.value) && s.head.removeChild(i.value), n.value = !1, i.value = null);
2338
2356
  },
2339
2357
  load: j,
2340
- isLoaded: te(n)
2358
+ isLoaded: D(n)
2341
2359
  };
2342
2360
  }
2343
2361
  //#endregion
@@ -2825,7 +2843,7 @@ function Oi() {
2825
2843
  }), Di = [];
2826
2844
  }
2827
2845
  function ki(e, t) {
2828
- var n = D(!1), r = function() {
2846
+ var n = O(!1), r = function() {
2829
2847
  if (t.config?.theme !== "none" && !Q.isStyleNameLoaded("common")) {
2830
2848
  var e, n = $.getCommonTheme?.call($) || {}, r = n.primitive, i = n.semantic, a = n.global, o = n.style, s = { nonce: (e = t.config) == null || (e = e.csp) == null ? void 0 : e.nonce };
2831
2849
  $.load(r?.css, bi({ name: "primitive-variables" }, s)), $.load(i?.css, bi({ name: "semantic-variables" }, s)), $.load(a?.css, bi({ name: "global-variables" }, s)), $.loadStyle(bi({ name: "global-style" }, s), o), Q.setLoadedStyleName("common");